Hello guys
I need your help, i'm working on a mod and a friend said me to modify the file: settings.db located in data/data/com.android.providers.settings/databases/settings.db
I only have to change "1" to "0" in the "secure" tab
for this I used Sql Lite browser for windows 7.
So i did it and saved the database, and then with root explorer replaced with the original settings.db but ....
I entered in a boot loop, why ?
I know for sure the "0" is a secure value, because used in a stock old rom
Why bootloop so? Have I to changed permissions to file?
Can please help me to do it without a new bootloop?
Thanks
hello
please i need to know if to change the permissions like that of original file prevent me to enter in a boot loop.
Noone have never edited settings.db file and replaced it?
If i am in wrong section, please, move the thread in the correct one.
I've done it before to modify wifi timeout. Here's the instructions I used:
http://forum.xda-developers.com/showthread.php?t=774507
polobunny said:
I've done it before to modify wifi timeout. Here's the instructions I used:
http://forum.xda-developers.com/showthread.php?t=774507
Click to expand...
Click to collapse
Did you change file permissions?
maRRRco89 said:
hello
please i need to know if to change the permissions like that of original file prevent me to enter in a boot loop.
Noone have never edited settings.db file and replaced it?
If i am in wrong section, please, move the thread in the correct one.
Click to expand...
Click to collapse
I bet you replaced the settings.db file with the edited version using ADB? If so you likely stamped the file with shell as the owner... This might have been the problem if the original file had different permissions / owner.
polobunny said:
I've done it before to modify wifi timeout. Here's the instructions I used:
http://forum.xda-developers.com/showthread.php?t=774507
Click to expand...
Click to collapse
THX
I have to crack the password for 9650108725
Related
Hi guys, please help me
Home button, lock screen not working , and pressing the power button does not pops the menu . I know this is something to do with the keystr
but my keystr is there in imei folder.
I read the threads and found some solutions
1) I tried using the terminal emulator method. Doesn't work
2) Tried using the root explorer method (deleted the keystr, added new file and making sure the file is ON )
Help
3) I read in some forum about using Hex editor can anyone tell me how do I do this?
Please help. Thanks
P.s. I actually fixed the problem but it came back again after a few days.
extremeken said:
Hi guys, please help me
Home button, lock screen not working , and pressing the power button does not pops the menu . I know this is something to do with the keystr
but my keystr is there in imei folder.
I read the threads and found some solutions
1) I tried using the terminal emulator method. Doesn't work
2) Tried using the root explorer method (deleted the keystr, added new file and making sure the file is ON )
Help
3) I read in some forum about using Hex editor can anyone tell me how do I do this?
Please help. Thanks
P.s. I actually fixed the problem but it came back again after a few days.
Click to expand...
Click to collapse
If the file already exists and contains ON, also make sure the permissions on the file are at least 644, or rw-,r--,r--.
ctomgee said:
If the file already exists and contains ON, also make sure the permissions on the file are at least 644, or rw-,r--,r--.
Click to expand...
Click to collapse
how do i check this? thanks
extremeken said:
how do i check this? thanks
Click to expand...
Click to collapse
Root explorer, long click the file, permissions.
when i flash new ROM my sgs2 after that my phone lock wont work.
please help me to fix this problem!
which rom r u using?
Go to Tablet setting if u r using Cyanogenmod and uncheck "Disable Lockscreen".
Hope this helps.
You may be missing your /efs/imei/keystr file. Do you have root? You'll need root to check if it's missing, and also to fix it if it is, indeed missing.
ctomgee said:
You may be missing your /efs/imei/keystr file. Do you have root? You'll need root to check if it's missing, and also to fix it if it is, indeed missing.
Click to expand...
Click to collapse
yes i don't have /efs/imei/keystr file. so what can i do
Create new file w/o any extension, type "on" (w/o "") in it, save, copy to /efs/imei/, set rw-r--r-- perms, reboot.
Hi guys, before I start I'll say that I have searched all over the internet and here on the forums and I couldn't find my particular issue. Well the thing is that I edited the line in my build.prop "ro.build.version.codename=REL" to "ro.build.version.codename=L" so I could get the material design on the Google Now Launcher pulled from a Android L build here's the thread I got that app: http://forum.xda-developers.com/android/apps-games/app-android-lollipop-apps-launcher-apps-t2912905
I did that and now my device will boot up normally then I will reboot by itself then show the boot animation then repeat the same process again and again until I force the phone to recovery or fastboot.
By the way my device is the LG Optimus G (E970) running GEE 3 ROM 1.2 and TRWP 2.6.3.0 and I have a backup of the original build.prop on my PC. I don't want to lose my data and apps since I forgot to make a backup (silly me).
I would like to know if there is a way to push the build.prop file on my PC to my phone so I could just replace it, or create a flashable zip.
Please help me, and thanks in advance.
Nevermind. I managed to push the original build.prop file to /system set the correct permissions and now my phone is working again.
Admin feel free to delete or close this thread.
question
AntonyOrtega said:
Nevermind. I managed to push the original build.prop file to /system set the correct permissions and now my phone is working again.
Admin feel free to delete or close this thread.
Click to expand...
Click to collapse
how were you able to do it when you couldnt get past booting.
hello fellow xda junkies!
HERE IS A SIMPLE WAY TO GET DATA TETHERING THROUGH BUILD.PROP EDIT
NOTE:MESSING WITH BUILD.PROP COULD MESS YOUR PHONE UP BE CAREFUL
Step 1.) download a text editor.i suggest 920 text editor.
Step 2.) you will also need an root explorer so download that also.
Step 3).open up your root explorer and navigate to system/build.prop. and copy that file to another directory. i.e example sdcard/download.then rename
original build.prop file to build.prop.bak
Step 4).open up your text editor and navigate to the directory where you copied the build.prop file
Step 5.)look for this line [they are both close to the end of the build.prop file] "net.tethering.nonprovisioning=true" [once you find it change the true
to false] so it reads "net.tethering.nonprovisioning=false" NOTEDO NOT TYPE THE QUOTATION MARKS!!!
Step 6.) " look for line "persist.data.tethering_oc=1" change the variable 1 to 0 so it reads "persist.data.tethering_oc=0
Step 7.) move the build.prop file that you copied and edited from location you placed it in to its rightful spot in system/.change permissions to rw--r--r
reboot phone and your good to go!works on my vs985 LIKE A CHAMP.
deathsquad737 said:
hello fellow xda junkies!
HERE IS A SIMPLE WAY TO GET DATA TETHERING THROUGH BUILD.PROP EDIT
NOTE:MESSING WITH BUILD.PROP COULD MESS YOUR PHONE UP BE CAREFUL
Step 1.) download a text editor.i suggest 920 text editor.
Step 2.) you will also need an root explorer so download that also.
Step 3).open up your root explorer and navigate to system/build.prop. and copy that file to another directory. i.e example sdcard/download.then rename
original build.prop file to build.prop.bak
Step 4).open up your text editor and navigate to the directory where you copied the build.prop file
Step 5.)look for this line [they are both close to the end of the build.prop file] "net.tethering.nonprovisioning=true" [once you find it change the true
to false] so it reads "net.tethering.nonprovisioning=false" NOTEDO NOT TYPE THE QUOTATION MARKS!!!
Step 6.) " look for line "persist.data.tethering_oc=1" change the variable 1 to 0 so it reads "persist.data.tethering_oc=0
Step 7.) move the build.prop file that you copied and edited from location you placed it in to its rightful spot in system/.change permissions to rw--r--r
reboot phone and your good to go!works on my vs985 LIKE A CHAMP.
Click to expand...
Click to collapse
You know there is already a flash for this and an apk.
Yes i do know this but some like to do it on there own.but hey nice to meet ya!
deathsquad737 said:
Yes i do know this but some like to do it on there own.but hey nice to meet ya!
Click to expand...
Click to collapse
Just checking.
I'm a tinkerer also which is how I figured out the thermal throttling.
Nice to met you.
tech_head said:
Just checking.
I'm a tinkerer also which is how I figured out the thermal throttling.
Nice to met you.
Click to expand...
Click to collapse
Thermal daemon mitigation?is that what you are referring too?
A.L.B/E.B.B
deathsquad737 said:
Thermal daemon mitigation?is that what you are referring too?
A.L.B/E.B.B
Click to expand...
Click to collapse
Actually not.
Instead of trying to stop the thermal mitigation from working I did just the opposite, I changed the parameters on how it operates.
The file /system/etc/thermal-engine-8974.conf.
This file controls what happens to cpu speed at various temperatures.
That is what you tweak and it just works.
I also used ROM Toolbox to change the governor.
tech_head said:
Actually not.
Instead of trying to stop the thermal mitigation from working I did just the opposite, I changed the parameters on how it operates.
The file /system/etc/thermal-engine-8974.conf.
This file controls what happens to cpu speed at various temperatures.
That is what you tweak and it just works.
I also used ROM Toolbox to change the governor.
Click to expand...
Click to collapse
Wow that's heavy I don't know if I have a high enough pay grade to do that lol
A.L.B/E.B.B
deathsquad737 said:
Wow that's heavy I don't know if I have a high enough pay grade to do that lol
A.L.B/E.B.B
Click to expand...
Click to collapse
I can always get you a copy of the file.
tech_head said:
I can always get you a copy of the file.
Click to expand...
Click to collapse
Yes please I pm you
A.L.B/E.B.B
Thank you but...
First of all, thanks for the post. Although I appreciate the helpful post, my phone is now stuck in boot loop . I hate to be the one to open up an old thread but I'm freaking out at the moment due to brick fever :crying: My current setup was a rooted LG G3 VS98512b. My goal was simple, I didn't want to do anything crazy, I just wanted to enable wifi tether now I'm afraid I've lost everything... Is there a way I can get back into the storage of my phone and delete the modified build.prop, remove the ".bak" from the original and be back to the good life? Any assistance is greatly appreciated, this seemed like such a simple modification that led to such a big headache.
It sounds like you might have used an editor on your build.prop that could not handle the file size, resulting in your editted build.prop being truncated. Otherwise, maybe your permissions were left wrong. Either of these will cause your phone to bootloop.
Sent from my VS985 4G using Tapatalk
trent999 said:
It sounds like you might have used an editor on your build.prop that could not handle the file size, resulting in your editted build.prop being truncated. Otherwise, maybe your permissions were left wrong. Either of these will cause your phone to bootloop.
Sent from my VS985 4G using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply. I used the editor recommended in the tutorial, 920 text editor. I followed the instructions word for word, I don't know what the problem is. Maybe its because I have the newest update and this mod was for 10b???As far as the permissions, the phone asked automatically if I wanted to change the permissions. The original build.prop is still there... is there a way I can delete the modified build.prop and replace it with the original? I really wish I would not have followed this tut, it didn't seem like a popular method. There has to be a way to delete the modified build.prop right?
soundmasterx said:
Thanks for the reply. I used the editor recommended in the tutorial, 920 text editor. I followed the instructions word for word, I don't know what the problem is. Maybe its because I have the newest update and this mod was for 10b???As far as the permissions, the phone asked automatically if I wanted to change the permissions. The original build.prop is still there... is there a way I can delete the modified build.prop and replace it with the original? I really wish I would not have followed this tut, it didn't seem like a popular method. There has to be a way to delete the modified build.prop right?
Click to expand...
Click to collapse
Yes you can reflash the firmware or if you don;t want to restore to stock you can use ADB to fix the files and restore your .bak
Digital_MD said:
Yes you can reflash the firmware or if you don;t want to restore to stock you can use ADB to fix the files and restore your .bak
Click to expand...
Click to collapse
Again, thank you for the response. Do you recommend a specific method or tutorial for trying restore the original build.prop? I did search however, because this scenario is so specific I'm not sure there is an exact solution to my problem.
Again, just in case someone else can chime in, I followed the instructions on the first post of this thread (see first post for detailed info). I copied the original build.prop then changed the name of the original build.prop, edited the copy, moved it to the original directory and restarted the phone. Now my phone doesn't make it to the Verizon screen (I think it is stuck in boot loop), the screen stays black and the small led on the left corner flashes blue and green. If I can just get access to the storage I can replace the modified build.prop with the original that is still in the same directory just renamed. It seems like such an easy task but, I just don't know how to go about it I'm a somewhat of an old school tinker, I'm just now getting back into the swing of Android... Thanks in advance!!
Bump
Bump please
This is crazy... I changed 2 values in build.prop for tethering and my phone wont boot now... I didnt install a ROM, change DPI, or make any major changes WTF???
Do you have a custom recovery (twrp)?
Can you connect to your phone with adb?
If you have twrp, search the board for the startup hardware key sequence to reach twrp, else from adb do a reboot recovery.
In twrp, you can select to mount system, then go to advanced - file manager. You can delete the bad build.prop, rename the good one, then set the permissions on the good one. If your good copy of build.prop is on a PC, put it on a flash drive, and use twrp's file manager to get it into your phone.
If you have a saved copy of build.prop on your PC, you can also use adb's push command. (You may also want to look at the adb shell command. The sequence might be to open a shell, delete the bad build. prop, get the right build.prop into the right directory, then chmod the right build.prop so it has the proper permissions.)
An1 Android 4.1.1 (really 4.0.4 ICS) mt6575
A "smart" person posted on youtube that to fix wifi I can delete wpa_supplicant.conf on misc and after reboot system recreate it. Now I'm without this file. Could someone give me the correct file pls? Or say how to recreate it? Thx
GAxeX said:
An1 Android 4.1.1 (really 4.0.4 ICS) mt6575
A "smart" person posted on youtube that to fix wifi I can delete wpa_supplicant.conf on misc and after reboot system recreate it. Now I'm without this file. Could someone give me the correct file pls? Or say how to recreate it? Thx
Click to expand...
Click to collapse
Please link the YouTube video and the location of your "missing" file. Also, welcome to the Android world, make a backup of every file when someone tells you to change it, please! Imagine all the threads that wouldn't have existed because of that! Never the less, at the top of the Q&A section there is a floating post that states:
This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.
Click to expand...
Click to collapse
Please give as much information as possible, thank you.
RAZERZDAHACKER said:
Please link the YouTube video and the location of your "missing" file. Also, welcome to the Android world, make a backup of every file when someone tells you to change it, please! Imagine all the threads that wouldn't have existed because of that! Never the less, at the top of the Q&A section there is a floating post that states:
Please give as much information as possible, thank you.
Click to expand...
Click to collapse
The youtube video is called : How to Fix Wifi on Android Devices using Root Explorer
The deleted file file was in /data/misc/wifi
Now I give u informations about system etc. ... ( I attached wpa_supplicant.conf in /etc/wifi)
Here is the one from /data/misc/wifi in my phone (http://www.mediafire.com/download/pfffjcxt428m811/wpa_supplicant(2).conf)
And here is the /etc/wifi (http://www.mediafire.com/download/1svvdqehmtp8wm0/wpa_supplicantt.conf) Notice that I put 2 t's at the end because otherwise it would overwrite the file with the on above this so basically when copying the file to /etc/wifi remove the t.
Report results
RAZERZDAHACKER said:
Here is the one from /data/misc/wifi in my phone (http://www.mediafire.com/download/pfffjcxt428m811/wpa_supplicant(2).conf)
And here is the /etc/wifi (http://www.mediafire.com/download/1svvdqehmtp8wm0/wpa_supplicantt.conf) Notice that I put 2 t's at the end because otherwise it would overwrite the file with the on above this so basically when copying the file to /etc/wifi remove the t.
Report results
Click to expand...
Click to collapse
I replaced both files but WiFi won't activate yet. I also tried to mount r/w and change permissions to 775
GAxeX said:
I replaced both files but WiFi won't activate yet. I also tried to mount r/w and change permissions to 775
Click to expand...
Click to collapse
What about chmod 777?
RAZERZDAHACKER said:
What about chmod 777?
Click to expand...
Click to collapse
Also with 777
GAxeX said:
Also with 777
Click to expand...
Click to collapse
Gosh, and there is no one you know on the internet or in real life that can supply you with those files? I think it is different across devices so that might be a reason it didn't work.
I did it alone starting from original etc file! Anyway thanks for the help ?
Thanks for making this thread, I flashed a new ROM where wifi isn't working and since I uploaded the files here I will try them out. Thanks again for asking to upload the files