Camera Flashlight stooped working after upgrade, help pls! - Android Q&A, Help & Troubleshooting

Hello all,
I have flashed a no-name tablet and all working fine except for LED flash.
Ran Z-Devices app and it shows that the LED is not present. I am assuming that it is not installing.
Tried a torch app but no light found. (Uninstalled quickly.)
Flashed a different ROM:
Flashlight works but no WiFi - So not hardware related
I've had a poke around and hope this helps
\system\etc\camera.cfg
Line 69: used_flash_mode = 0
Line 70: key_support_flash_mode = on,torch,off
Line 71: key_default_flash_mode = on
Line 145: used_flash_mode = 0
Line 146: key_support_flash_mode = on,torch,off
Line 147: key_default_flash_mode = on
Sysconfig.lhs:
vip_dev0_flash_en = port: power1<1><0>
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
and
vip_dev1_flash_en =
vip_dev1_flash_mode =
I'm a relative newb but am quite happy to manually edit any files that need to be modified.
Could someone give me some suggestion as to where to look to solve this? Or what other file information you require?

Related

[BUG REPORTING] DizzyDen's IMEIme IMEI Generator

BUG REPORTING:
This program was initially ineteded to generate a unique IMEI based on your device S/N and update Dev's install zip files... it has become so much more, and as such there are many functions involved in this process.
Due to the complexity the program has taken on... far beyond what I initially intended... to report bugs please try to use the following as a template:
Function attempting: i.e. Updating ROM... In Place Upgrade... Update framework saved on computer... etc.
Error Messages: any error message you receive... or the last message you saw prior to the issue.
End result: i.e. TelephonyManager updated, ROM not... TelephonyManager updated framework.jar not... etc....
Environment: ROM in same folder as !IMEIme.exe... ROM on same drive as IMEIme.exe... ROM on different drive... etc. (same for framework if updating framework instead)
!IMEIme.ini settings: you can put your entire ini file if you'd like.
If you could take notes of EXACTLY what buttons you click on which prompt it would be EXTREMELY helpful...
As I said, this program has taken on functions I initially had not imagined including... the more features added, the more complex testing and tracking bugs becomes... I don't want to include a bunch of messages just for the sake of letting you know where in the code you are... would not be beneficial to you... more buttons to click for no reason, etc.
The more detailed you can be, the quicker I can see what is happening... otherwise I have to try to duplicate what I think you are doing when you get the error.
Everyone should click "Thanks" on bug report posts... they have been instrumental in getting the program where it is so far.
RESERVED...
Adverse effects after running
First off, thanks for a wonderful application! Your app did in fact correctly give my Kindle a IDEI number, but it seems to have adverse effects.
Function attempting: Tried both in place Rom and update device and now attempting to use app with sound
Error Messages: Unfortunately DSP Manager has stopped (repeatably on any app)
End result: No sound and music apps crash. Some apps work but many do not. (I can provide logcat if needed)
Environment: Kindle Fire running cm9 using Hashcodes 3.0 Kernal latest (11) update.
!IMEIme.ini settings:
Use_In_Place = 0
Use_Previous_Patch = 0
Use_Serial_Number = 0
Use_MAC_Address = 0
Use_Manual_Input = 1
Encrypt_IMEI = 0
Use_IMEI(15) = 0
Use_ADB = 1
Use_ADB(usb) = 1
Use_ADB(WiFi) = 0
Clean_Up = 1
Include_Patch = 1
Device_Manufacturer = TI
Manufacturer_Device = Blaze
Device_Model = Full Android on Blaze or SDP
Build_Fingerprint = google/passion/passion:2.3.6/GRK39F/189904:user/release-keys
LCD_Density =
WiFi_IP_Address =
IMEI = 00127948612384612
Although I have tried multiple settings and configurations. I am sort of a noob so sorry if this is a silly problem.
Having looked into this... I can tell you there's nothing that the IMEI Generator does that would cause the issues you are seeing. I would recommend flashing a non-IMEI'd ROM for testing... then either do in place IMEI generation or running the IMEI Generator against the same ROM you flash.
For what you are doing... there are 2 files that are being modified, and neither should cause FC issues...
/sysem/build.prop for the manufacture, device, and build fingerprint
/system/framework/framework.jar is being extracted and edited to patch the IMEI in the GetDeviceID() function in android/telephony/TelephonyManager.smali and recompiled.
Clearing cache and dalvik cache may be something to try.
Thanks! Clearing both caches AFTER the install made it work great. I had been clearing all of the memory beforehand but it did not work. My apps now work great!
Motorola Razr GSM (SPDREM_U_01.6.7.2-180_SPU-19-TA-11.6_SIGNEuropeAustraliaEMEA_USASPDRICSRTGB_HWp2b_Service1FF) ICS.
I deodexed framework.jar because application seems to not work on odex files (as stock is), anyway new deodexed framework have not /com/android/internal/telephony/gsm/GSMPhone.smali file?! (or dir!!) infact !IMEIme 2.2.0.2 tell me about this issue (no GSMPhone.smali found). framework patched do not present diffecence between original one. exactly the same. no /android/telephony/TelephonyManager.smali mod applied.
I tryied to patch framework by "update device" + adb usb, with no device connected i choosed my framework.jar in my pc.
[Settings]
Use_In_Place = 1
Use_Previous_Patch = 0
Use_Serial_Number = 1
Use_MAC_Address = 0
Use_Manual_Input = 1
Encrypt_IMEI = 0
New_Type = 1
Use_IMEI(15) = 0
Use_ADB = 1
Use_ADB(usb) = 1
Use_ADB(WiFi) = 0
Clean_Up = 1
Include_Patch = 0
Device_Manufacturer =
Manufacturer_Device =
Device_Model =
Build_Fingerprint =
LCD_Density =
WiFi_IP_Address =
IMEI = 02546451548481584
stock framework.odex, jar and my deodexed framework attached.
Yes... due to another user trying to use the generator on a device with a framework.odex file instead of framework.jar I am looking into the most effective method of handling that situation. As of now... the generator will not work for you to patch imei functionality into the framework on these devices.
i deodexed also framework.jar but no way to patch it, GSMPhone.smali is missing totally even in backsmalied odex too!!!!
I decided to apply the patch manually, but without this file and TelephonyManager.smali not regoular i was thinking about hard mod by motorola?! do you know something about?
Pls man, give me an hand, show me the way, backsmali it you too http://forum.xda-developers.com/attachment.php?attachmentid=1634550&d=1357865096
I'm looking into the method to implement the imei into this.
do you mean into TelephonyManager.smali? I'm looking on it too. Seems so strange this framework...
Actually... looking through to find the best call to implement the patch into... TelephonyManager was the original method... but there may be better places to patch it.
Code:
invoke-direct {p0}, Landroid/telephony/TelephonyManager;->getSubscriberInfo()Lcom/android/internal/telephony/IPhoneSubInfo;
move-result-object v2
invoke-interface {v2}, Lcom/android/internal/telephony/IPhoneSubInfo;->getDeviceId()Ljava/lang/String;
All does make sense now:
http://grepcode.com/file/repository...nternal/telephony/IPhoneSubInfo.java?av=f#174
BUT, where is com.android.internal.telephony.iphonesubinfo!?!?! seems not present... all "internal" dir is missing here, backsmali fault or my fault?!
hiiii
hi,
any news of this? =)
This is the best software for this!
I'm working on the best solution... I understand the desire for this... but I want to ensure the method I choose is the best overall... and to ensure I can properly detect which method to implement during the operation.
If you could zip your entire /system/framework folder and add your /system/build.prop file it would help me test some things I've been putting together for odexed systems.
attaching files
DizzyDen said:
If you could zip your entire /system/framework folder and add your /system/build.prop file it would help me test some things I've been putting together for odexed systems.
Click to expand...
Click to collapse
Hi, Im attaching my files.
You can download here: w w w . 4 s h a r e d . c o m / z i p / j Q n n 9 8 _ B / s y s t e m . h t m l
Thanks for the help
Error ...
Hi Dizzy
I tried to use your update, but have a error ... My device is Motorola Razr XT910 with 4.0.4
after I choose the "framework.jar" he return this error:
Line 3710 (File: ".....\IMEI\!IMEIme.exe");
Error: Variable used without being declared.
After this the program close without any click to exit ..
Im, attaching a print screen
Tnx a lot man
waldirsp11 said:
Hi Dizzy
I tried to use your update, but have a error ... My device is Motorola Razr XT910 with 4.0.4
after I choose the "framework.jar" he return this error:
Line 3710 (File: ".....\IMEI\!IMEIme.exe");
Error: Variable used without being declared.
After this the program close without any click to exit ..
Im, attaching a print screen
Tnx a lot man
Click to expand...
Click to collapse
fixed... I guess nobody has been using the "Use Previous Fix" option for a while. New version uploaded... thank you for the bug report. The screen shots really helped track it down.
another error...
Hi DizzyDen,
I want to add an IMEI to my "SUPERPAD 6", but after the window: "IMEI is..." is displayed, then popup an autoit error window:
Line 3710 (File "..."): Error: Variable used without being declared.
Can you help?
Ponozka said:
Hi DizzyDen,
I want to add an IMEI to my "SUPERPAD 6", but after the window: "IMEI is..." is displayed, then popup an autoit error window:
Line 3710 (File "..."): Error: Variable used without being declared.
Can you help?
Click to expand...
Click to collapse
Before I start looking into this... note that the IMEI generator does not support de-odexing odexed systems yet... I would suggest using it on the ROM then flashing it to the device and let the device odex it again.

[Q - Solved] Live with Walkman compass issues.

Hi.
I'm having some issues with the compass on my phone (Live with Walkman)
When I use Google Maps, Sky Map or Smart Tools Compass. The compass doesn't point towards the north and it seems that I have "2 magnetic wests" as when I point my phone to the east it reads west.
However, when I use other compass apps like GPS Status, Super Compass, and Compass (from Catch.com developer in Market) it works flawlessly, even the compass test on the service menu works ok.
I know how to calibrate by doing the 8 shape with the phone, and I don't have any source of magnetic field near me. I tested another device (Galaxy tab) with the aforementioned conflictive apps and they work all right.
Does anybody have this same issue? Do you think is software or hardware?
Edit: I'm using Stock Kernel and .58 FW
Ok, I solved my problem by changing some values in /system/etc/sensors.conf
Originally the file was:
Code:
#Setup AKM897x axis
ak897xorientation_axis_map = 0,1,2
ak897xorientation_axis_sign = 1,1,-1
ak897xmagnetic_axis_map = 1,0,2
ak897xmagnetic_axis_sign = -1,1,1
...
Using zDevice test I noticed that the X and Y axes were transposed, after trial and error I came to a solution:
Code:
#Setup AKM897x axis
ak897xorientation_axis_map = 0,1,2
ak897xorientation_axis_sign = 1,1,-1
ak897xmagnetic_axis_map = 0,1,2
ak897xmagnetic_axis_sign = -1,-1,1
...
The reason some apps did work is because the sensors.conf is not used by those apps, instead they bypass it somehow. If you check Compass Test on the service menu (Or GPS Status compass), you'll see that it isn't affected by the .conf edition.
Be sure to make a backup of sensors.conf and reboot your phone to apply changes, if you use this fix.
Thanks I was using 1,-1,1 so it was not working in portrait mode and was somewhat jerky.
Now with -1,-1,1 it works perfect and smooth.
Not work for me. I used this method with "CyanogenTimeScape v1" but no luck.
Hello, looking for help.
Application "Compass" and "AndroSensor" show that axes "X" and "Z" are inverted.
To change the phone's location added (subtracted) opposite values.
The axes are not swapped, but their values ​​counted backwards.
Tilting the phone left axis values ​​are "Z" and negative tilt to the right are positive.
On the left the phone lying rotation axis value "X" up at the right rotation is reduced.
Behave opposite.
/system/etc/sensors.conf - does not exist
Phone ZTE Vodafone 945 / CM 7.2.0 / kernel 2.6.35.7-perf + / SDK 10
ROM: forum.andronova.net/showthread.php?45898-Vodafone-945-2-3-7-G%FDngerbread-Rom-100-T%FCrk%E7e
(Sorry for bad English. I do not speak English. I only use Google translator.)
what program do I have to use to change that file with?
what program did you used to change that file? - thanks for your solution btw, I have the exact same problem with my wt19
joaco.romero said:
Ok, I solved my problem by changing some values in /system/etc/sensors.conf
Originally the file was:
Code:
#Setup AKM897x axis
ak897xorientation_axis_map = 0,1,2
ak897xorientation_axis_sign = 1,1,-1
ak897xmagnetic_axis_map = 1,0,2
ak897xmagnetic_axis_sign = -1,1,1
...
Using zDevice test I noticed that the X and Y axes were transposed, after trial and error I came to a solution:
Code:
#Setup AKM897x axis
ak897xorientation_axis_map = 0,1,2
ak897xorientation_axis_sign = 1,1,-1
ak897xmagnetic_axis_map = 0,1,2
ak897xmagnetic_axis_sign = -1,-1,1
...
The reason some apps did work is because the sensors.conf is not used by those apps, instead they bypass it somehow. If you check Compass Test on the service menu (Or GPS Status compass), you'll see that it isn't affected by the .conf edition.
Be sure to make a backup of sensors.conf and reboot your phone to apply changes, if you use this fix.
Click to expand...
Click to collapse
There is no program. You need to root the device and update file yourself.
Please search forum to know how to root wt19i.
my problem fits the description... so.... nevermind

galaxy ace secret codes and test codes

FIRMWARE VERSION INFORMATION
*#*#1234#*#* - PDA and Phone
*#*#1111#*#* - FTA SW Version
*#*#2222#*#* - FTA HW Version
*#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number
*#*#4636#*#*-This code is used to get various information about your phone and battery. It shows following 4 menus on screen:
Phone information
Battery information
Battery history
Usage statistics
*#*#7780#*#*-Factory data reset.It REMOVES:
Google account settings
System and application data and settings
Downloaded applications
It DOES NOT REMOVE:
system software and bundled applications
SD card files
*2767*3855#-WARNING:Factory Reset.This code is used for factory format. It'll remove all files and settings including the internal memory storage. It'll also reinstall the phone firmware.
*#*#273283*255*663282*#*#*-This code opens a File copy screen where you can backup your media files e.g. Images, Sound, Video and Voice memo.
*#*#8255#*#*-This code can be used to launch GTalk Service Monitor.
WLAN, GPS and Bluetooth Test Codes:
*#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#* - WLAN test (Use "Menu" button to start various tests)
*#*#232338#*#* - Shows WiFi MAC address
*#*#1472365#*#* - GPS test
*#*#1575#*#* - Another GPS test
*#*#232331#*#* - Bluetooth test
*#*#232337#*# - Shows Bluetooth device address
VARIOUS FACTORY TESTS
*#*#0283#*#* - Packet Loopback
*#*#0*#*#* - LCD test
*#*#0673#*#* OR *#*#0289#*#* - Melody test
*#*#0842#*#* - Device test (Vibration test and BackLight test)
*#*#2663#*#* - Touch screen version
*#*#2664#*#* - Touch screen test
*#*#0588#*#* - Proximity sensor test
*#*#3264#*#* - RAM version
UPDATE 18/06/2012
ALL SAMSUNG UNLOCK CODE....
---------------------------
*2767*688# = Unlocking Code
*#8999*8378# = All in one Code
*#4777*8665# = GPSR Tool
*#8999*523# = LCD Brightness
*#8999*3825523# = External Display
*#8999*377# = Errors
#*5737425# = JAVA Something{I choose 2 and it chrashed}][/b]
*#2255# = Call List
#*536961# = Java Status Code
#*536962# = Java Status Code
#*536963# = Java Status Code
#*53696# = Java Status Code
#*1200# = AFC DAC Val
#*1300# = IMEI
#*1400# = IMSI
#*2562# = ??? White for 15 secs than restarts.
#*2565# = Check Blocking
#*3353# = Check Code
#*3837# = ??? White for 15 secs than restarts.
#*3849# = ??? White for 15 secs than restarts.
#*3851# = ??? White for 15 secs than restarts.
#*3876# = ??? White for 15 secs than restarts.
#*7222# = Operation Typ (Class C GSM)
#*7224# = I Got !! ERROR !!
#*7252# = Operation Typ (Class B GPRS)
#*7271# = Multi Slot (Class 1 GPRS)
#*7274# = Multi Slot (Class 4 GPRS)
#*7276# = Dunno
#*7337# = EEPROM Reset (Unlock and Resets Wap Settings)
#*2787# = CRTP ON/OFF
#*3737# = L1 Dbg data
#*5133# = L1 Dbg data
#*7288# = GPRS Attached
#*7287# = GPRS Detached
#*7666# = SrCell Data
#*7693# = Sleep Act/DeAct (Enable or Disable the Black screen after doing nothing for a while)
#*7284# = Class : B,C or GPRS
#*2256# = Calibration Info
#*2286# = Battery Data
#*2527# = GPRS Switching (set to: class 4, class 8, class 9 or class 10)
#*2679# = Copycat feature (Activate or Deactivate)
#*3940# = External loop test 9600 bps
#*4263# = Handsfree mode (Activate or Deactivate)
#*4700# = Half Rate (Activate or Deactivate)
#*7352# = BVMC Reg value
#*8462# = Sleeptime
#*2558# = Time ON
#*3370# = EFR (Activate or Deactivate)
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep
#*7462# = SIM phase
#*7983# = Voltage/Frequenci (Activate or Deactivate)
#*7986# = Voltage (Activate or Deactivate)
#*8466# = Old time
#*2255# = Call ???
#*5187# = L1C2G trace (Activate or Deactivate)
#*5376# = ??? White for 15 secs than restarts.
#*6837# = Official Software Version
#*7524# = KCGPRS
#*7562# = LOCI GPRS
#*7638# = RLC allways open ended TBF (Activate or Deactivate)
#*7632# = Sleep mode Debug
#*7673# = Sleep mode RESET
#*2337# = Permanent Registration Beep
#*2474# = ???
#*2834# = Audio Path
#*3270# = DCS support (Activate or Deactivate)
#*3282# = Data (Activate or Deactivate)
#*3476# = EGSM (Activate or Deactivate)
#*3676# = Flash volume formated
#*4760# = GSM (Activate or Deactivate)
#*5171# = L1P1
#*5172# = L1P2
#*5173# = L1P3
#*7326# = Accessory (I got Vibrator)
#*7683# = Sleep variable (8)
#*7762# = SMS Brearer CS (Activate or Deactivate)
#*8465# = Time in L1
#*9795# = wtls key
#*2252# = Current CAL
#*2836# = AVDDSS Management (Activate or Deactivate)
#*3877# = Dump of SPY trace
#*7728# = RSAV done# (Everything went to standart but nothing was deleted)
#*2677# = ARM State (None or Full Rate)
*#8999*636# = Have no clue what it is, i see 20 lines
*#9999# = Software version
*#8999*8376263# = HW ver, SW ver and Build Date
*#8888# = HW version
*#8377466# = Same HW/SW version thing
*#7465625# = Check the locks
*7465625*638*Code# = Enables Network lock
#7465625*638*Code# = Disables Network lock
*7465625*782*Code# = Enables Subset lock
#7465625*782*Code# = Disables Subset lock
*7465625*77*Code# = Enables SP lock
#7465625*77*Code# = Disables SP lock
*7465625*27*Code# = Enables CP lock
#7465625*27*Code# = Disables CP lock
*7465625*746*Code# = Enables SIM lock
#7465625*746*Code# = Disables SIM lock
*7465625*228# = Activa lock ON
#7465625*228# = Activa lock OFF
*7465625*28638# = Auto Network lock ON
#7465625*28638# = Auto Network lock OFF
*7465625*28782# = Auto subset lock ON
#7465625*28782# = Auto subset lock OFF
*7465625*2877# = Auto SP lock ON
#7465625*2877# = Auto SP lock OFF
*7465625*2827# = Auto CP lock ON
#7465625*2827# = Auto CP lock OFF
*7465625*28746# = Auto SIM lock ON
#7465625*28746# = Auto SIM lock OFF
*2767*3855# = E2P Full Reset
*2767*2878# = E2P Custom Reset
*2767*927# = E2P Wap Reset
*2767*226372# = E2P Camera Reset
#*6420# = MIC Off
#*6421# = MIC On
#*6422# = MIC Data
#*6428# = MIC Measurement
#*3230# = Trace enable and DCD disable
#*3231# = Trace disable and DCD enable
#*3232# = Current Mode
#7263867# = RAM Dump (On or Off)
*2767*49927# = Germany WAP Settings
*2767*44927# = UK WAP Settings
*2767*31927# = Netherlands WAP Settings
*2767*420927# = Czech WAP Settings
*2767*43927# = Austria WAP Settings
*2767*39927# = Italy WAP Settings
*2767*33927# = France WAP Settings
*2767*351927# = Portugal WAP Settings
*2767*34927# = Spain WAP Settings
*2767*46927# = Sweden WAP Settings
*2767*380927# = Ukraine WAP Settings
*2767*7927# = Russia WAP Settings
*2767*30927# = GREECE WAP Settings
*2767*73738927# = WAP Settings Reset
*2767*49667# = Germany MMS Settings
*2767*44667# = UK MMS Settings
*2767*31667# = Netherlands MMS Settings
*2767*420667# = Czech MMS Settings
*2767*43667# = Austria MMS Settings
*2767*39667# = Italy MMS Settings
*2767*33667# = France MMS Settings
*2767*351667# = Portugal MMS Settings
*2767*34667# = Spain MMS Settings
*2767*46667# = Sweden MMS Settings
*2767*380667# = Ukraine MMS Settings
*2767*7667#. = Russia MMS Settings
*2767*30667# = GREECE MMS Settings
*335# = Delete all MMS Messages
*663867# = Dump Mm file
#*536961# = WAPSAR enable / HTTP disable
#*536962# = WAPSAR disable / HTTP enable
#*536963# = Serial eable / Others disable
#*53696# = Java Download Mode
#*5663351# = Wap Model ID [Your Model]
#*5663352# = Wap Model ID [SEC-SGHXXXX/1.0]
#*566335# = Wap Model ID [SEC-SGHXXXX/1.0]
*2767*66335# = Check on which model it is
*2767*7100# = SEC-SGHS100/1.0
*2767*8200# = SEC-SGHV200/1.0
*2767*7300# = SEC-SGHS300/1.0
*2767*7650# = Nokia7650/1.0
*2767*2877368# = Reset WAP Model ID to standart
I hope you enjoy it
DO ANYTHING AT YOUR OWN RISK!
IF YOU DO NOT KNOW WHAT YOU ARE DOING PLS DO NOT DO IT!
I never knew there were so many codes!
Thanks!
Sent from my GT-S5830 using Tapatalk 2
i will update it as soon as i find some more working
i have a file full of codes but i have to tes them before post
in 1 or 2 days it will be updated
thankyou brother
do you know how to change regional with a screet code?
sorry for my bad english
what do you mean by regional?
you need sim unlock code?or something else?
stealthware said:
thankyou brother
do you know how to change regional with a screet code?
sorry for my bad english
Click to expand...
Click to collapse
*272*yourimeinumber#
You cam find your imei with this code.
*#06#
Sent from my GT-S5830 using Tapatalk 2
Awesome
Thanks
kumicho said:
what do you mean by regional?
you need sim unlock code?or something else?
Click to expand...
Click to collapse
not sim unlock code, but the regional restore for readability if there is an update on Kies
for example the base regional ddkq8 is indan firmware, i want to regional indonesian is xse. without replacing the firmware can be used a screet code
sorry for bad english
---------- Post added at 03:24 PM ---------- Previous post was at 03:21 PM ----------
galaxyace152 said:
*272*yourimeinumber#
You cam find your imei with this code.
*#06#
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
thankyou brother for info
like it
great
thanks for that thorough list of codes, this might come in handy sometime!
Thanks for the huge collection.
Sent from my GT-S5830 using Tapatalk 2
factory data reset
It is an awesome list you gave us. Thanx
I just want to know...if i type *#*#7780#*#* it will leave my cell phone as when i took it out of the box??
or is it the one with *2767*3855#? and will it restore apps i erased with root superuser??
thanks
Great...but
These codes posted are definitely a great collection, wonderful I would say. But beware, some websites may utilise these code to hack your phone. Like for example, the website may just dial one of the reset codes and reset the entire phone. This is definitely not a very great experience. There is a solution thou, by installing a third party dialer to prevent these codes from executing.
stevenkyk said:
These codes posted are definitely a great collection, wonderful I would say. But beware, some websites may utilise these code to hack your phone. Like for example, the website may just dial one of the reset codes and reset the entire phone. This is definitely not a very great experience. There is a solution thou, by installing a third party dialer to prevent these codes from executing.
Click to expand...
Click to collapse
Elaborate on how we can protect ourselves from said threat.
Sent from my GT-S5830 using xda app-developers app

About dynamic slider

Solved
Hello,
I used a sample code is reading images from R.java file. I want to change it as display from web. But it has an error. Because i sent parameter is drawable but it must be Integer. How do i it?
Current Code
PHP:
image_prev = (ImageView)findViewById(R.id.image_prev);
image_centre = (ImageView)findViewById(R.id.image_centre);
image_next = (ImageView)findViewById(R.id.image_next);
image_res_ids = new ArrayList<Integer>();
image_res_ids.add(R.drawable.zero);
image_res_ids.add(R.drawable.one);
image_res_ids.add(R.drawable.two);
image_res_ids.add(R.drawable.three);
image_res_ids.add(R.drawable.four);
i want to change with
PHP:
image_prev = (ImageView)findViewById(R.id.image_prev);
image_centre = (ImageView)findViewById(R.id.image_centre);
image_next = (ImageView)findViewById(R.id.image_next);
image_res_ids = new ArrayList<Integer>();
Drawable image = loadImageFromURL("http://dedededede.com/image.png"));
image_res_ids.add(image);
example is here
I'm trying this.
image_res_ids.add(System.identityHashCode(image));
but it doesn't work too.

[Need Help] USSD code not running in any ROM xt912

Hi.
I am using xt912 gsm prepaid sim India.
I am facing problem with ussd code for checking my balance and other think.
Like *111# not working.
I tried CM12.1 and AOKP
But same problem.
Can any one fix this ?
Or give me any other rom 4.4 or 4.1
Thanks .
Use ES File Manager or any other file manager that supports root and navigate to /system and open your build.prop, scroll to the last line and leave about two spaces(that is hit enter twice) and paste this..
Code:
# General GSM Settings
telephony.lteOnGsmDevice = 1
telephony.lteOnCdmaDevice = 0
telephony.rilV7NeedCDMALTEPhone = false
persist.ril.mux.noofchannels = 10
persist.ril.modem.mode = 2
persist.ril.features = 0x102
persist.radio.vzw.cdma.mdn = deleted
persist.radio.ap.phonetype = 1
persist.radio.lte.mm.disable = 1
ro.telephony.default_network = 3
ro.telephony.gsm-routes-us-smsc = 0
ro.telephony.ril.v3 = writeaidonly, signalstrength
ro.cdma.data_retry_config = default_randomization=2000, 0, 0, 120000, 180000, 540000, 960000
ro.gsm.data_retry_config = max_retries=infinite, default_randomization=2000, 0, 0, 80000, 125000, 485000, 905000
ro.cdma.subscribe_on_ruim_ready = false
# Motorola GSM Settings
ro.mot.eri = 0
ro.mot.phonemode.vzwglobalphone = 0
ro.mot.phonemode.vzw4gphone = 0
ro.mot.lte_on_cdma = 0
ro.mot.ds.fastdormancy.disable = true
Now save it, close the build.prop and reboot your device.
Thanks, it's work for me. I'm using Droid Razr in Bangladesh. I'd also tried lots of Customs Rom including CM 12.1 but none works about ussd problem.

Categories

Resources