Nexus 5 with CM 13 ultimate nightly System where the wifi keeps reconnecting?!! - Android Q&A, Help & Troubleshooting

After I rooted the device then I found that my phone keeps reconnecting whatever the screen is Locked or unlocked.
I found it could be something wrong with Wifi Powersave mode but i cant tell where I could find the code.
Or something related code that caused my problem
So I tried to change the values from the file
/etc/wifi/
when I change too much value that include the scanning rate(I set it as zero,never to scan automatically)
now,it is rare to see the problem happen but it sometime stills.
I need really guidence with professional knowledge of Coding on android.
Need u to tell me hope to change the Code inside the files that controls Wi-Fi.
and pls,avoid telling me that Enable the old-version DHCP in the Dev. settings.
or something seems simple method,that of all I tried and didn't work.
Come to give me the professional,thank you all,the ones who gonna help me!

Related

How to get data on a cloned Touch Pro

I have a sprint touch pro , and i cloned anther touch pro ., just for fun ., the cloned one gets voice txt all ok., however, i cant get connection to internet .
I copied all the info that i could by doing ##778# , profile , modem setting nam ...etc still cant get provision to work, connect , still no experts here.??
is there a way , a program can copy these sensetive settings and can copy to anther TP., can it be done with CDMa work shop ..or other programs , and if so how please.
If you are speaking of a cloned esn then good luck getting it to work as no one or very few have done that. Otherwise you could try I believe a program called PST, save the settings and put them on your other "Cloned" phone. Good luck!
Thank you much for making the effort and replyed., i used or had this program long time back with my motorola Q.but not sure if i look up this program know how to go about using it.??
I was able to get internet on my cloned TP1, but its a bit slow , do not know why .,indeed there is a glitsh , since i cant update profile or prl ...etc the provisioning ...etc, but for know i can even hook up the TP to the PC and get online, but slower still than the original TP1.
ill look into that program PST , maybe i can improve on what i have so far .
sincerely
I believe sprint uses Akey for data identification/authentication, which could be your issue.
pst could not find., only motorola pst i think i was able to find., the Akey window has nothing or if some not much ., the only thing i could not duplicate some pass words , they are wriiten in some alphabets i cant type., they look like some forgien alphabets ..numbers ...etc ., not sure if anyone knows what iam talking about ., but if so, how would i go about copying them from one phone to anther.
try copying the authentication passwords with a 3rd party notepad app. (like phm notepad) the passwords are in unicode and the native notepad does not support.
ok if i may an update
thank you for making the effort you all ., so anyhow i tried to do it i didnt know how.
i installed the PHM note pad ., but didnt know how to copy paste the password from security setting.
for example ##778# then go to security , and try to copy the password under
HDR AN AUTH Password******************
anyone knows of a trick or can instruct me how to do it.??
sincerely
you just need to block his password and copy it, then the security you click on the column filling the password and press Ctrl +V on your keyboard
Iam sorry i didnt understand your instructions.??, i need to block his password.??
If you may be kind please redo the instructions step by step .
thank you
block=highlight=select
ok i got it, well it didnt make a difference that i copied the passwords , not sure why ., it works but way slower than original ., and the passwords didnt make a difference.

Rom Development for Alps E120L and Other Mediatek Devices

I wanted to start this post to see if anyone was familiar with the Alps E120L specifically, or at least has any knowledge of rom making for any china phone with MT65xx processor.
I would like to be able to fix a few quirks with the phone I have and see if I can develop a rom.
The help I need, which I feel is encountered the most often and not always answered on the forum are:
1. My china phone is rooted, but the bootloader is locked. How do I unlock it?
2. I can pull the framework-res.apk off my phone, decompile and edit it using any of the apk tools, but I get errors recompiling it every single time. what is the problem here? By the way, I was able to successfully pull the same framework file off of my samsung galaxy tab, edit it, and recompile it with no problems so it is not a problem with me!
3. How do I get the gps on my phone to work without A-GPS? What files are responsible for the GPS to function?
The reason I need to know this is because my GPS doesnt work and I dont know if its because I dont have A-GPS enabled because I dont have a data service. Personally I think either GPS files are missing or they are not programmed correctly. I have edited the gps.config file and no success.
4. How do I get mms settings setup for t-mobile without data plan? I could send picture messages via edge with an old phone but now my new android ics phone does not allow it to be sent. I have tried pulling settings from t-mobile, but to no avail. Again, i dont nor did I ever have a data plan. I dont know if my phone just doesnt support edge or requires an internet connection or t-mobile is blocking the service? My APN settings do not allow for me to select edge as an option, either LTE or eHRPD as a Bearer?
If anyone is willing to help I thank you in advance. Im sure other people have similar questions. I will keep searching the forums for more information as well.

[GPS] Fix for LTO AGPS

Problem
Start an app that uses GPS (such as Maps), and then use a root file explorer to look in /data/gps/ , you will see the file gldata.sto, but you will not see lto.dat. This contains long term orbit data used to speed up a GPS fix from a cold start. If you see this file, then the fix posted here is not needed.
Cause
If you enable logging and look in the log file, you will see a line like this: LBS: Error resolving address from bcmls2.glpals.com. I have no idea why it can't resolve the DNS, but this prevents the file from being downloaded. This address is stored in the /system/etc/gps_brcm_conf.xml file. You will see the following: LbsServer="BCMLS2.glpals.com"
Fix
Simply change this to the resolved IP address and it should resolve the problem. I have attached a zip that you can install from recovery so you don't need to make the modification manually.
I have tested this on P769. Please give feedback on whether this works for you, and whether this helps for other L9 models.
Thanks, testing today with endomondo running...
After test, working fine for me on P760 with cm11.
Thanks so much

Wifi Codes - Change Country Codes - Enable Wireless Channels

Hi all, I copy - pasted the title from an older thread :
https://forum.xda-developers.com/showthread.php?t=1982149
because I have exactly the same problem, but all the solutions I have found so far look outdated and don't work for Android Nougat (Samsung Galaxy S7 SM-G930F rooted with Odin as explained here). I need to access channel 149 (the wifi camera of my quadcopter)
So this is what I have tried :
1. WifiCodes.apk, described here. Gets root permits but when run, freezes and does nothing
2. Edit /data/data/com.android.providers.settings/databases/settings.db to change my country code, as explained here. The directory doesn't exists, and cannot find the settings.db file anyplace
3. Same but on /data/data/com.android.providers.telephony/databases/carriers; not sure where i saw this, but anyway doesn't exist neither
4. RegionChanger app. Gets root permit but does nothing
Of course Nougat has not advanced Wifi configuration to tinker with country codes nor 2.4 vs. 5.0 GHz networks.
Any other suggestion?
Thanks a lot!
i have nougat but on Galaxy note 5
i have tried those methods and i didn't found setting.db but i found that there is another files (like they changed setting db file with another way) the file called settings_global.xml and settings_secure.xml u can check this too u can find them in
data/system/users/0
u will find something like
(setting id="97" name="wifi_country_code" value="us" package="android" />)
<setting id="100" name="wifi_sns_visited_country_iso" value="us" package="android" />
the point is i changed them it change back to the default setting it was b4
donno how to force it to not get change by it self
Can change code but still KO
Hi, thanks a lot. I have changed the country code but still cannot see the camera's network. After googling a bit more, looks like the camera is not compatible with Android!!! (whatever this means). That is, doesn't show up in any Android device, but does on iPhones. Mysteries of Chinese engineering... So I gave up and acquire a different camera.
Btw, I don't have the problem you mention of reverting configuration.
Thanks again!

Samsung GS3 I9300 IMEI corrupted/lost/null restoration.

Ok. So here's the deal:
My SGS3 I9300 exynos phone did the famous IMEI 0049 and SN null trick.
I cannot say what precipitated it but is simply stopped registering on the network, so no calling or data. All other functions operational.
After much searching and reading, I settled on flashing the stock 4.3 back. This succeeded only in doing absolutely nothing to alleviate this issue. I wiped the entire phone. Maybe I missed a critical section wipe, but since the stock ROM overwrites all? the CSC/BL/MODEM functions I thought it would set the default for EFS (which I believe is where these critical data live). I'm not a programmer so I cannot say diddly about the architecture and interrelationship of OS files, but I am technical and I know how SW and HW does what it does.
This phone is my own and I have all the rights to it.
I had loaded RRemix ROM a loong while ago and it was functioning fine. Probably a corruption of the EFS due to battery contact being loose. This is in my mind the most likely cause as the system may be accessing the EFS files, say making a call, or accessing data, and the power drops out and voila! Corruption. But again this is theoretical.
Needless to say I tried the usual hocus-pocus out there with no avail.
Getting to understand the system better it seems obvious that these critical identification numbers are hard-coded into the chips on the phone. Which explains the ability to 'fix' them with JTAG and other cable/box solutions and SW. However, I cannot see how the SW loses the ability to read the IMEI/SN that is hard-coded (fused?) into the main-board.
All my research pointed to the EFS files having something to do with this.
Way back when I loaded the custom ROM I did not come across the 'backup your EFS' as a necessary step, so I had nothing to go back on.
And loading the stock 4.3 ROM back on and not having that fix the issue, led me to believe something else was up.
Somewhere in the guts of this phone something is screwing up the layer between reading the registers where the numbers sit and the software layer that reports the numbers.
So, much searching led to the nv_data.bin file being a key component in all this fiasco.
Now, before I say any more, I believe that describing the next steps could be a big no-no here.
Now, understand, all I want to do is get MY personal device working again. I have the SN and IMEI numbers on the physical device.
Sure, I could have stolen it and am attempting to change these to avoid prosecution. Anyone can say anything online.
Therefore, before I can proceed, I need advice from moderators and VPP to either say 'Yes you may post this info' or 'No. Go away'.
Am I allowed to do the following:
1) Describe how I restored my IMEI (Not changed, overwritten, or subverted to my limited knowledge)
2) In the case of 1 not allowed, post the link to where I found the info to achieve this.
3) Submit the 'fix' to a moderator or developer to check whether this is indeed and restoration or a change.
If it's a restoration of existing functionality, I cannot see how this could be a problem. If its changing something, then it's a whole other sack of ferrets.
My reasons for posting are that xdadevelopers has given me years of joy with my SG devices. (Yes, I have the whole range exclusively) Many ROMS, customs, fixes, hints and saves deserves something back, and the difficulty in achieving this particular fix, warrants it.
But I don't want to break any rules, this being my first post.
So, please let me know what I can do to help others stuck in this position...
You can find it if you have the correct search parameters. Perhaps I can say that instead?
Thanks.
And thanks to all who have helped over the years.
T
[Edit] Just to clarify, the solution requires no special HW or 'boxes'. You do need root, however, and a hex editor. I had a reply explaining the use of Octoplus, which requires credits and registration. You will need none of those.
I can't speak English but I will try.
1- flash stock firmware.
2- root your device s3 .
3-in the web download " octuplus crack box"
4-in youtube see how install " octuplus crack"
5- before install stop your antivirus PC
6- open octuplus and connecte your phone with PC
7- chose your device i9300 .
8 click repair imie
9 click read info and do what OCTU said to do.
10- click repair or write the true imie in your device ( remove battery to see)and click repair.
11- restart phone .
12- see: call work fine
13- in phone go to mobile network\ access point names\ apn's
14- write your network.
TrinityTrip54 said:
Ok. So here's the deal:
Repair is ok Change or Modding is now:good::good::good:
Click to expand...
Click to collapse
How to restore corrupted or null 0049 IMEI on SGS3.
Right.
Thanks to the moderators for agreeing to let me share the solution. :good:
Thanks to the reddit poster who found this solution. I don't know how the hell you figured this out, but big-ups to you. For privacy I will not mention names or addresses.
You do need a rooted phone and I cannot assist anyone without root as I have not tried it.
Whether this only works to restore a corrupt IMEI or change it, I cannot say, but it managed to restore my existing one.
Preparation: Get your IMEI number from under your battery compartment. Say your IMEI no. is: 123456789101213, write/type it in the following fashion: 1 23 45 67 89 10 12 13
Now some funky transposition: Excluding the first number, transpose the subsequent pairs of numbers so that you have: 1 32 54 76 98 01 21 31. Can you see it? Swap 23 to get 32. 45 to get 54 and so on.
Now add 08 to the beginning and add A after the 1 so that the completed number is: 08 1A 32 54 76 98 01 21 31
Now you will need:
Rooted Galaxy S3 (This may work for all android devices that have an EFS folder. If anyone can confirm that would help others.)
Hex editor (PC based or Android app) - PC is faster and easier. I used hex workshop trial version but I'm sure any editor will do. I used the default install configuration.
USB Data cable (if using PC editor mentioned above)
You should probably back up the EFS folder entirely, just to be sure.
Using your favorite root explorer browse to root/EFS folder and copy the nv_data.bin file to an accessible area in sdcard. I use a /sdcard/Downloads folder.
Either open the file with your hex editor app or transfer the file to PC where you can open it with your hex editor program.
Open the file and jump to address 00550.
Now, get your modified IMEI number from the prep steps above and enter the values in the ASCII TEXT window to the right, NOT the HEX values window to the left. This may be different for other editors but hex workshop works like this.
Double check your address and entered data. When satisfied, save the file and transfer back to the phone if copied to PC.
Now, place the phone in Airplane mode, turning off the cell radios.
Go to the EFS folder and rename the original nv_data.bin file to something else. I used nv_databak.bin.
Copy the modified nv-data file into the EFS folder.
Turn off Airplane mode and do a full reboot.
Your IMEI number should be restored and cellular functions should work.
My previously garbled serial number was also restored.
I hope this works for you. I have no knowledge of any other method as I did not delve further into trying other numbers or such. I can't assist any more other than further clarifying the steps above if you don't understand something.
If anyone can decipher what is going on here, I would love to hear about it. I suspect something between the HW and SW layers is getting garbled or corrupted and this kick starts the process to get the correct data again.
Maybe.
May also contain nuts.
Hastalavista.
T
THANKS FOR POSTING THIS HERE!
I have this Samsung Galaxy S3 that I bricked 4 years ago and never wanted to sell it or even try to give it away. I searched for months for a frekin solution to this problem. Yesterday night i decided i wanted to try and install custom roms on it and so i wanted to give another shot at this stupid issue i had with the lost IMEI before doing so...and BAM! Today it's fixed!
I'm so thankfull I wanted to post here so that you know that you helped at least one person with this
Thanks a bunch!
@TrinityTrip54
Hi,
can you confirm that this is a permantent solution and remains when flashing new (custom) ROMs? Or is it just for the current installed ROM?
And I am having an issue with "jump to address 00550" in Hex Workshop. There is no address like this, just 540 and the next one is already 558. When inserting 00550 in the goto search field of Hex Workshop it jumps to 210. Any idea?
thanks anyway.
bert

Categories

Resources