Related
Hi, after the update to froyo (in my case JP6) i found out the appbrain fast web installer wasn't working anymore. After some reading, it seems that the android_id (which this app uses) is set to a fixed number during the froyo update. This means the app cannot find a unique android_id to send the 'install instruction' to.
Source: http://forum.xda-developers.com/showthread.php?p=8604909#post86049
1. Make sure and backup your /dbdata/databases /com.android.providers.settings /settings.db file
Then in ADB or connectbot type the following
su
cd /dbdata/databases/com.android.providers.settings sqlite3 settings.db
sqlite> insert into secure (’name’, ‘value’ ) values (’android_id’,'device_id_goes_here’);
sqlite> .exit
Reboot
note 'device_id_goes_here’is your 16 digit HEX device ID
Click to expand...
Click to collapse
This fix seems to do the job, but i can't get it to work. Probably because i made a mistake with the usage of su and shell etc.
So i tried to fix it another way and this is how i did it (similar to the other fix):
1) With RootExplorer (or similar) navigate to: /dbdata/databases/com.android.providers.settings/
2) Make a backup of the file (by copying it)
3) Change the permissions of the file (using RootExplorer) ,so that it can be moved/sent to your pc using Dropbox,Gmail,Bluetooth etc. In this example i have moved it to my c:/ folder on windows.
4) When the file is on your pc. Run windows command (cmd) and navigate (using cd) to your /android/tools folder.
5) Execute: 'sqlite3 c:/settings.db
6) Now type in (after sqlite>): insert into secure (’name’, ‘value’ ) values (’android_id’,'device_id_goes_here’);
Note: 'device_id_goes_here' is a random (so you can choose whatever you want) 16 digit number.
7) Type: .exit and close the cmd box.
8) copy the settings.db file back to your phone and move it back to /dbdata/databases/com.android.providers.settings/
Choose yes when overwrite prompt pops up.
9) Reboot your device
10) Register your device using the 'Fast web installer' app on your phone.
11) DONE! You're ok again to install apps OTA using the appbrain market!
Click to expand...
Click to collapse
Note, if you don't know how to do step 4-7, read some articles about how to set up and use adb (since that also contains the sqlite3 tool)
I hope this helps for people having problems with this.
Hanness said:
Hi, after the update to froyo (in my case JP6) i found out the appbrain fast web installer wasn't working anymore. After some reading, it seems that the android_id (which this app uses) is set to a fixed number during the froyo update. This means the app cannot find a unique android_id to send the 'install instruction' to.
Source: http://forum.xda-developers.com/showthread.php?p=8604909#post86049
This fix seems to do the job, but i can't get it to work. Probably because i made a mistake with the usage of su and shell etc.
So i tried to fix it another way and this is how i did it (similar to the other fix):
Note, if you don't know how to do step 4-7, read some articles about how to set up and use adb (since that also contains the sqlite3 tool)
I hope this helps for people having problems with this.
Click to expand...
Click to collapse
Looks good. One question, how do you find out what your original device ID is? I have a UK unbranded GT-I9000... what's the ANDROID ID for that?
Ah, you just make one up. I used SQLite Editor to just edit the file, made up my own number and rebooted. Works fine now. A bit simpler than your suggestion above.
tokyogtr said:
Ah, you just make one up. I used SQLite Editor to just edit the file, made up my own number and rebooted. Works fine now. A bit simpler than your suggestion above.
Click to expand...
Click to collapse
That should indeed be easier
In the post I refer to in the captivate forum, there is mentioned an app to find out your android_id. But to know your original id, you would first have to reflash to an older firmware where the id is not touched. But it is true, you can just make up your own 16digit number. Only some games with online highscores fixed to the id instead of an account could benefit to know your old id, I think.
Worked for me!
Sent from my GT-I9000 using Tapatalk
hum
shud be easier to just download "Android ID Changer" from market after installing sqlite3. does the same trick.. but more user-friendly for people not so comfortable to use adb shell.
trasig said:
shud be easier to just download "Android ID Changer" from market after installing sqlite3. does the same trick.. but more user-friendly for people not so comfortable to use adb shell.
Click to expand...
Click to collapse
Hmm maybe Iḿ retarded, but how do I install sqlite3 to my phone?
No clue what he meant with installing sqlite3, I just downloaded the said Android ID Changer, made up and applied an ID and now Fast Web Installer works just fine.
I don't know if it is just coincidence or due to this, but before that I had tons of "download unsuccessfull" errors with the Market. Downloads failed nine out of ten times. Now, with changed ID, it works flawlessly again! My phone runs on JP6 Voodoo Doctor Edition 2.1.
Thanks for this advice!
I just installed the ID changer, entered a new code and rebooted, but the ID had not changed..
first time i tried it i got an "error editing databases".... do you have to change permissions to the folder/directory for the settings.db?
ukdtweak said:
I just installed the ID changer, entered a new code and rebooted, but the ID had not changed..
first time i tried it i got an "error editing databases".... do you have to change permissions to the folder/directory for the settings.db?
Click to expand...
Click to collapse
same problem here....
The only thing remotely related I could think of is that I had my system folder mounted as R/W with SGS Toolbox. But does that affect dbdata?
Check SGS Toolbox on mine and system was already mounted as RW...
I have tried changing the permissions with Root Explorer, to dbdata etc. but after rebooting, they are back as they were?
Beats me... but I can now confirm that the "download unsuccessfull" errors are back in place. It was just a coincidence after all, and shows that the blame is on Google, not any specific ROM or mod.
Fast Web Installer still worked though, even made it past the "unsuccessfull" barrier.
Wonderful fix!
Hanness, have you considered reporting this to Samsung? I think having the proper Android ID set and retained during firmware updates is quite important.
miki4242 said:
Wonderful fix!
Hanness, have you considered reporting this to Samsung? I think having the proper Android ID set and retained during firmware updates is quite important.
Click to expand...
Click to collapse
According to this, this may be due to ro.serialno not being set in build.prop
trasig said:
shud be easier to just download "Android ID Changer" from market after installing sqlite3. does the same trick.. but more user-friendly for people not so comfortable to use adb shell.
Click to expand...
Click to collapse
Android ID Changer did the trick for me . (I have not done anything with sqlite3.)
I used http://www.dbsoftlab.com/database-editors/database-browser/overview.html to edit settings.db as explained.
Works like a charm. Downloads & Updates are flying in!
Edit: After few downloads it stucks again, I deleted Market data. Works again. Bugs everywhere ...
Hanness said:
Hi, after the update to froyo (in my case JP6) i found out the appbrain fast web installer wasn't working anymore. After some reading, it seems that the android_id (which this app uses) is set to a fixed number during the froyo update. This means the app cannot find a unique android_id to send the 'install instruction' to.
Source: http://forum.xda-developers.com/showthread.php?p=8604909#post86049
This fix seems to do the job, but i can't get it to work. Probably because i made a mistake with the usage of su and shell etc.
So i tried to fix it another way and this is how i did it (similar to the other fix):
Note, if you don't know how to do step 4-7, read some articles about how to set up and use adb (since that also contains the sqlite3 tool)
I hope this helps for people having problems with this.
Click to expand...
Click to collapse
Thank you very much...I followed your instructions exactly and managed to fix it. Android ID changer didn't work for me.
sadly appbrain is blocked in China for whatever reason I don't know... so that won't work for me hehe
stassano said:
sadly appbrain is blocked in China for whatever reason I don't know... so that won't work for me hehe
Click to expand...
Click to collapse
oh well, the great firewall of china at work again.
removed
removed
removed
Great! i would try now. do you have plan for version 2.2 as well? thanks a lot!
You are the man, thank you very much for your wonderful work
Pushed to HyperDroid CM7, tested outgoing call - working OK.
What about sources?
Thanks man!
Works great on Typhoon3.0.0 of today.
Copied it with Root Explorer.
Also anyone trying to copy using Root Explorer, remember to change "Permissions" of the file according to the original file you are replacing.
arifqur said:
Thanks man!
Works great on Typhoon3.0.0 of today.
Copied it with Root Explorer.
Also anyone trying to copy using Root Explorer, remember to change "Permissions" of the file according to the original file you are replacing.
Click to expand...
Click to collapse
I'm using the same rom..also copied it via root explorer. Now I'm stucking on bootscreen..
Didn't changed permissions...will try again with setting the right permissions.
Please could you provide the same changes also for Froyo 2.2.x?
Because it is good to have step-by-step all the issues solved for the HD2 device.
iamgpc said:
Warning!!
It only works for Gingerbread 2.3.3 with FM support (all CM7 build or my build).
Please backup your original libaudio.so in /system/lib first to prevent the booting loop if the patch file cannot work in your image.
Here is my "libaudio.so" patch, this may fix two issue.
1. the robot voice in first call issue without Disable Audible touch tones in Sound settings
2. the first call volume is too loud
Download:
http://www.multiupload.com/AI9LQHYZZL
How to install it?
A.
Code:
adb remount
adb push libaudio.so /system/lib
adb reboot
B.Using ROOT Explorer or my Super Manager for Android Market to copy the libaudio.so into /system/lib, and reboot your HD2
Please feedback to me if you face into some strange side effects
Click to expand...
Click to collapse
Fixed
Rom: NexusHD2-Gingerbread V2.5 [Android2.3.3][Kernel: tytung_r8.3]
1st call with dial tones enabled = Robovoice
Installed new libaudio.so, now...
1st call with dial tones enabled = NO Robovoice
No side effects so far.
Thanks iamgpc!!!
j4n87 said:
I'm using the same rom..also copied it via root explorer. Now I'm stucking on bootscreen..
Didn't changed permissions...will try again with setting the right permissions.
Click to expand...
Click to collapse
Restored rom with cwm...copied libaudio.so with root explorer, changed permissions and voilà, it works.
Should be mentioned in the OP.
Yep, I didnt change permissions, now I'm stuck on my bootscreen
I was stuck too
reflashed the image
changed the permissiona and it worked !!!!
It should be stated in manual at first page regarding setting the permissions....
here you go with flashable zip file, works on Hyperdroid CM7 over clk.....
any froyo fix ....plssss :,,(
the_scotsman said:
Yep, I didnt change permissions, now I'm stuck on my bootscreen
Click to expand...
Click to collapse
How can I change permissions?
Now I'm stucking on bootscreen and don't know how I can solve.
thansks
I think you should reflash the image.
Then you need program called Root Explorer, copy this update to system\lib
and after that you change permissions (you should look first on original file what permissions are...)
or just use update via AD recovery.... (look at post #13)
taxista said:
How can I change permissions?
Now I'm stucking on bootscreen and don't know how I can solve.
thansks
Click to expand...
Click to collapse
stuck at boot with HyperDroid-GBX-v11
the_scotsman said:
Yep, I didnt change permissions, now I'm stuck on my bootscreen
Click to expand...
Click to collapse
anytime u push something to system, adjust the permissions
DimICE said:
What about sources?
Click to expand...
Click to collapse
Source would be great since on some roms this lib dont work..
Thank you gpc, this fix will be included in the next version of my ROM.
Question:
I have used AAHK to downgrade my DHD and root it, but apparently I don't have write access on the system partition. I have succesfully installed AOSPX BR6 and 7 and am now running Nik 's Project X. Tried installing AdAway last night, but when it attempts to change the 'hosts' file (/system/etc/hosts), it fails. I have granted permissions with Superuser when asked for it and I can see it attempt twice before it fails on 'applying hosts file' ('copying of hosts file failed!').
When I try and create a folder or file in the root using ES Explorer, it also fails ('sorry, operartion failed').
HBOOT states 'S-OFF RL'.
What am I doing wrong?
Thx
Largamelion said:
Question:
I have used AAHK to downgrade my DHD and root it, but apparently I don't have write access on the system partition. I have succesfully installed AOSPX BR6 and 7 and am now running Nik 's Project X. Tried installing AdAway last night, but when it attempts to change the 'hosts' file (/system/etc/hosts), it fails. I have granted permissions with Superuser when asked for it and I can see it attempt twice before it fails on 'applying hosts file' ('copying of hosts file failed!').
When I try and create a folder or file in the root using ES Explorer, it also fails ('sorry, operartion failed').
HBOOT states 'S-OFF RL'.
What am I doing wrong?
Thx
Click to expand...
Click to collapse
Adaway seems to act funny with ICS roms sometimes it works other times it wont. Try wiping data on it in menu>manage apps. If that dont help try Adfree from the play store.
That rom has a r/w problem. Have you done the fix to solve it? It's stated in the OP. Use the backup fix. After that, when trying to update it may fail the firsr time, run it again.
Sent from a dream.
Wiping cache did not work. Adfree seems to work fine but doesn't block all ads.
I will look for the fix tomorrow and give it a go.
Thx
Found it, it was in the second OP under patches & mods, must 've missed it. Thx for pointing me in the right direction. Will try tomorrow.
Pfff ... can't even quote another post without 10 post of my own (and I hate image verification ... so hard to decipher).
Flashing busybox zip didn't work, but the backup/restore of the ROM did fix it. SU is updated now and AdAway works perfectly, seems to block all ads.
Thx again.
Hi. Can you help me to root my phone? I have error: device not rooted with EasyRootTool v11.
Here is a screenshot: http : // i . imgur . com / HwXjyOZ . png
My Device Info: http: // i . imgur . com / 6qsbPG0 . png
USB Debugging is On so it's not of it. Please help me, I hate KitKat and all of it bugs like camera use, battery usage etc. so I backed to 4.3 with flashtool but now I want to root it to be able to hide my buttons and use aps in fullscreen mode. Also I'm searching a way to make sound output louder. I heard that it is also able to be done after root. Can you explain me everything about that and help me for root I will be really grateful if you do it because I watched a lot tutorials for root etc but always problems.
atisas2 said:
Hi. Can you help me to root my phone? I have error: device not rooted with EasyRootTool v11.
Here is a screenshot: http : // i . imgur . com / HwXjyOZ . png
My Device Info: http: // i . imgur . com / 6qsbPG0 . png
USB Debugging is On so it's not of it. Please help me, I hate KitKat and all of it bugs like camera use, battery usage etc. so I backed to 4.3 with flashtool but now I want to root it to be able to hide my buttons and use aps in fullscreen mode. Also I'm searching a way to make sound output louder. I heard that it is also able to be done after root. Can you explain me everything about that and help me for root I will be really grateful if you do it because I watched a lot tutorials for root etc but always problems.
Click to expand...
Click to collapse
I think you need to run cmd.exe as a administrator (right click run as administrator) or maybe you don't have Java installed or maybe you don't have the device drivers installed. It's hard to tell.
You'll also need to flash recovery.
But right now we'll focus on rooting.
EDIT: Also go into Settings -> Security -> and tick unknown sources (just for good measure)
What do you mean with "flash recovery". How to do it? And the unknown service was ticked when I tried to root. Now I will try to run as administrator and will tell if the root is again unsuccessful.
Read this - http://forum.xda-developers.com/showpost.php?p=54297393&postcount=5
atisas2 said:
What do you mean with "flash recovery". How to do it? And the unknown service was ticked when I tried to root. Now I will try to run as administrator and will tell if the root is again unsuccessful.
Click to expand...
Click to collapse
http://forum.xda-developers.com/xperia-z1/development/newroot-z1-t2807092
You can try NewRoot if EasyRootTool not working for u.....
TheEndHK said:
http://forum.xda-developers.com/xperia-z1/development/newroot-z1-t2807092
You can try NewRoot if EasyRootTool not working for u.....
Click to expand...
Click to collapse
Your kernel: 3.4.0-perf-ga439037-01014-gdd051d5 is not supported!
@XperienceD looks like really hard for me!
@theprince1991 ran as administrator but again didn't work ;/ Same error!
atisas2 said:
Your kernel: 3.4.0-perf-ga439037-01014-gdd051d5 is not supported!
@XperienceD looks like really hard for me!
@theprince1991 ran as administrator but again didn't work ;/ Same error!
Click to expand...
Click to collapse
JellyBean is not supported in NewRoot tool.!
NewRoot works great. This is an easiest way to root phones with locked bootloader on kitkat!!
atisas2 said:
Your kernel: 3.4.0-perf-ga439037-01014-gdd051d5 is not supported!
@XperienceD looks like really hard for me!
@theprince1991 ran as administrator but again didn't work ;/ Same error!
Click to expand...
Click to collapse
Successfuly rooted with v9. Now can you help me with increase the output volume?
Ok. I completely rooted and increased my volume of the speaker and of the headphones output! I will say how I made everything to be easy to next people who want to do root and increasing volume of their Z1 Compact. First I downloaded "EasyRootTool_v9". I connected my z1c in USB debugging mod. Also ticked unknown sources. Then I connected the phone with the PC and ran easyroottool as administrator. If v9 doesn't root your phone try different versions! Then I downloaded volume files from this link "http : //forum . xda-developers . com / showthread.php?t=2476498" . I chose JB4.3 XZ1C: Volume boost jb. You may be with different sony phone or version of android so download needed one for your phone and android. When you download it, extract the 2 files which are in system/etc/snd_soc_msm/ somewhere on your PC. After you extract them upload them to your phone. For example in downloads folder. Then you have to download a program from Google Play named ES File Explorer, run it and click the top-left icon. Scroll down and open "Tools" bar. There you have to enable Root Explorer and click on it then click Mount R/W and put "/", "/system" to RW. In default they are on RO. After that again from the top-left icon go to Local and click Download. There you will find the 2 uploaded files from the pc (They are named snd_soc_msm_Taiko and snd_soc_msm_Taiko_1x. Mark them both and copy them. Then you click on the window right next to the top-left icon until it is not Device. Then find and open system/etc/snd_soc_msm and paste these both files. Restart your phone and everything is done. Now you have louder speaker and output volume. I can already rave with my headphones, x-mini etc. Really happy that I don't have a reason to prefer iPhone for music. Already have loud android smartphone. Hope you will understand me. Sorry for bad English.
One last question. Is it dangerous for the speaker to be so loud? Is there a way to edit the file and decrease the volume a little bit?
In case you're interested in only increasing the headphone's volume level (and not the speaker): http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-headphone-volume-boost-stock-k-k-4-t2833705
TheEndHK said:
http://forum.xda-developers.com/xperia-z1/development/newroot-z1-t2807092
You can try NewRoot if EasyRootTool not working for u.....
Click to expand...
Click to collapse
Tried the newroot route and it actually works perfectly with my 4.4.4 updated Z1c. Before that I've tried running the latest towelroot.apk(Aug/2014) directly on the phone with no luck, EasyRootTool v.11 via Windows also failed on me until now.
Give newroot a go!
jcw6902 said:
Tried the newroot route and it actually works perfectly with my 4.4.4 updated Z1c. Before that I've tried running the latest towelroot.apk(Aug/2014) directly on the phone with no luck, EasyRootTool v.11 via Windows also failed on me until now.
Give newroot a go!
Click to expand...
Click to collapse
I've no problem with EasyRootTool v11 but indeed I tried to fail a time with NewRoot on 4.4.4 so it sometimes depended by luck.
EasyRootTool v11 sometimes you will need run the script 2 to 3 times to make sure it actually rooted.
TheEndHK said:
I've no problem with EasyRootTool v11 but indeed I tried to fail a time with NewRoot on 4.4.4 so it sometimes depended by luck.
EasyRootTool v11 sometimes you will need run the script 2 to 3 times to make sure it actually rooted.
Click to expand...
Click to collapse
The issue I was having with ERT v11 is the included adb binary couldn't found my device (I have USB driver installed, debug mode enabled, etc). But with NR (on fedora 20), once I killed and restarted adb server with sudo, everything works.
I guess this is YMMV
[GUIDE] Disable "logd" process - NO MORE BATTERY DRAIN [ALL ROMs] [ROOT req]
Hi all,
I have the G4 (H815) for over 6 months and always (both Lollipop and Marshmallow) I have been suffering from a tremendous battery drain.
After a lot of research I discovered that the reason (the main reason) of my battery drain is due to "logd" process that normally burned over 15% (or more) for each charge cycle (checked with Better Battery Stats).
Obviously I tried everything, full wipe, change ROM but that process was always there to suck battery them.
I do not know why the process is so high but I know that deactivating it the problem is automatically solved
So finally I found a way to eliminate the underlying problem permanently by disabling the logd process from TWRP.
if you also have this problem, follow this simple guide and you will solve the problem permanently.
After disabling "logd" process the only evidence it is that logcat no longer works but for many I do not think it's a problem.
Anyway you can always go back and put everything back as it was.
[Before Start]
I suggest you to make a FULL BACKUP before you follow this guide.
I am not responsible if your brick your phone.
[Prerequisites]
Root
TWRP
[Step by step Guide]
Reboot phone into Recovery (TWRP) and click "Mount"
Check System and then press "back"
Click "Advanced"
Click "File Manager"
Choose the "system" folder
Choose "bin" folder
Choose "logd" file and press "Select"
Click "Rename files"
Add ".bak" and then press "Go"
Swype right to confirm
Press Home button
Restart => System
Now, "logd" process is permanently disabled and should not appear between processes (verified with Better Battery Stats).
To put everything back as it was before, just rename back "logd.bak" file to "logd" by following the same procedure above.
See the attached screen for a visual guide.
I also attach my battery stats AFTER disabling the "logd" process.
Before deactivating I did not reach the 2 hours of SOT. Now they are 4 or more with 20hrs of standby
All without Amplify or other battery savers
Let me know if this works for you.
EDIT:
Some users reported that renaming \system\bin\logd to \system\bin\logd.bak using a root explorer and then reboot .. works too.
Ty.
If you find this guide useful ... press "Thank you". :good:
Here other screenshots:
great job
Is this problem also existing in V20D ???
Sent from my LG-H815 using Tapatalk
Hani88 said:
great job
Is this problem also existing in V20D ???
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
Yes,
10X ... and 20X ...
Tried also with Genesys 3.X.
Test is running, thank you.
HorstiG said:
Test is running, thank you.
Click to expand...
Click to collapse
This works the same with a file explorer. But you should reboot.
HorstiG said:
This works the same with a file explorer. But you should reboot.
View attachment 3635426
Click to expand...
Click to collapse
thank
where is the file ?
EDIT : i have found ...good ! thank again
HorstiG said:
This works the same with a file explorer. But you should reboot.
View attachment 3635426
Click to expand...
Click to collapse
In my case after restart, logd.bak was renamed back to logd.
Renamed instead from TWRP it stay.
Please check periodically that file was not renamed back.
aferende said:
In my case after restart, logd.bak was renamed back to logd.
Renamed instead from TWRP it stay.
Please check periodically that file was not renamed back.
Click to expand...
Click to collapse
OK
After 5 reboots.
Loulou-13 said:
thank
where is the file ?
EDIT : i have found ...good ! thank again
Click to expand...
Click to collapse
root/system/bin/logd
I was too slow
aferende said:
In my case after restart, logd.bak was renamed back to logd.
Renamed instead from TWRP it stay.
Please check periodically that file was not renamed back.
Click to expand...
Click to collapse
we can move it and keep it on another place ? no ?
Loulou-13 said:
we can move it and keep it on another place ? no ?
Click to expand...
Click to collapse
Yes it's the same. I keep there just to remember source folder.
aferende said:
Yes it's the same. I keep there just to remember source folder.
Click to expand...
Click to collapse
.....and the system don't rewrite it on this bin file by a remove after a reboot ?
Loulou-13 said:
.....and the system don't rewrite it on this bin file by a remove after a reboot ?
Click to expand...
Click to collapse
In my case and using TWRP ... No
Unfortunately, I realized that my system runs much non-circular. I test further.
The file renaming with Explorer works the same.
Nice job
Enviado desde mi LG-H815 mediante Tapatalk
HorstiG said:
Unfortunately, I realized that my system runs much non-circular. I test further.
The file renaming with Explorer works the same.
Click to expand...
Click to collapse
What do you mean for "non-circular" ?
aferende said:
What do you mean for "non-circular" ?
Click to expand...
Click to collapse
It runs rough.
I have the Loggong reactivated and my system is running as well as ever. Several times tested.
I suspect that the battery saving on cost of slower system goes.
yes... :good:
it seem good by removing this file . with "es explorer" , i put it on sd0 (on "es explorer backup" for example for to keep it in case of ...)
i reboot the phone and don't see it again on this system/bin file...
HorstiG said:
It runs rough
Click to expand...
Click to collapse
Ok ty for reporting.
All users please report if you notice something like this