ADB Root no longer works - Motorola Droid and Milestone General

I recently put the final release of Froyo on my Droid, I wanted to remove the apps that come with it so I loaded up Command prompt and the SDK tools. Apon trying to start adb in superuser mode, I got this message:
C:\Users\Chandler Paul\Documents\android-sdk_r06-windows\android-sdk-windows\tools>adb root
* daemon not running. starting it now *
* daemon started successfully *
adbd cannot run as root in production builds
Click to expand...
Click to collapse
Does anyone know what the problem might be? I run Froyo 2.2 FRF84B on P3Droid's 250-1250 MHz kernal (rooted).

Same thing happened to me too. One thing I've been meaning to try, but haven't had time to, was to download the 2.2 SDK from the 'android' app in the 'tools' directory. I'll give it a shot when I'm at my PC and post the results in a bit.
Sent from my Droid using XDA App

209pcs said:
Same thing happened to me too. One thing I've been meaning to try, but haven't had time to, was to download the 2.2 SDK from the 'android' app in the 'tools' directory. I'll give it a shot when I'm at my PC and post the results in a bit.
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Doesn't make a difference, I already tried

stephen730 said:
same here. It was like that when I first rooted BEFORE i flashed to 2.2 froyo. But I was able to do 'adb shell' and su into it.
Click to expand...
Click to collapse
Yeah, but then I can't use adb remount :\

Related

Access thru computer (mac os)

What is the simplest way to send commands to my phone (HTC Hero CDMA Sprint) through my computer (Mac OS)?
I haven't explored Android SDK yet. I rooted my phone through Terminal and bash_profile file. I'm interested in:
- how to push .apk's to the device
- how to install a recovery image if my phone can't reboot and there is not a recovery image present
Thanks!
Android sdk is the easiest
-------------------------------------
Sent via the XDA Tapatalk App
What I do is use terminal and cd to the Android sdk/tools folder. After that use the ./adb commands, which there are several tutorials for and own your phone. Hope this is clear, doing it on my phone
-------------------------------------
Sent via the XDA Tapatalk App
What I do is use terminal and cd to the Android sdk/tools folder. After that use the ./adb commands, which there are several tutorials for and own your phone. Hope this is clear, doing it on my phone
Click to expand...
Click to collapse
Sweet. Thanks. I've searched the Android SDK site and it seems that I need other software or plunging such as Eclipse and Java. I'm not ruling these out eventually but know I'm not ready to get in this deep yet to start developing apps or customizing roms. Also, after a Google search all the queries came back with options for rooting your device which I've already done. If there's a good easy tutorial, would you mind posting a link?
-------------------------------------
Sent via the XDA Tapatalk App
When I get home from work I'll find something for you.
-------------------------------------
Sent via the XDA Tapatalk App
joshuaharp said:
Sweet. Thanks. I've searched the Android SDK site and it seems that I need other software or plunging such as Eclipse and Java. I'm not ruling these out eventually but know I'm not ready to get in this deep yet to start developing apps or customizing roms. Also, after a Google search all the queries came back with options for rooting your device which I've already done. If there's a good easy tutorial, would you mind posting a link?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Just download the 2.1 SDK, cd to Android/SDK/tools, and use ./adb, I think it can tell you some commands too.
I made an app to put my phone in recovery using ./adb so I wouldn't need to go through the trouble everytime, I just go to spotlight, type "recovery", and it puts it into recovery.
I might make an app/interface for Mac OS later for ADB commands (recovery, push files, etc)
derekwilkinson said:
Just download the 2.1 SDK, cd to Android/SDK/tools, and use ./adb, I think it can tell you some commands too.
I made an app to put my phone in recovery using ./adb so I wouldn't need to go through the trouble everytime, I just go to spotlight, type "recovery", and it puts it into recovery.
I might make an app/interface for Mac OS later for ADB commands (recovery, push files, etc)
Click to expand...
Click to collapse
That would be awesome dude...
joshuaharp said:
That would be awesome dude...
Click to expand...
Click to collapse
Don't hold your breath though, I have been working a lot, but I might make it in the next few weeks.
The only main problem is that I'm having trouble getting variables to run in the shell script. I think it might be possible with Automator (or AppleScript), but I will keep trying
Well, even though it may not be useful anymore, here are the links, as promised
Rooting guide for mac (What I used and a great way to get familiar with adb on the mac ) http://forum.xda-developers.com/showthread.php?t=581686
And here's an adb tutorial that was put together at the request of toast on the EVO 4G forum. http://forum.xda-developers.com/showthread.php?t=694250

OTA Benefits? Unrevoked4Eva?

"EXCUSE ME" If Someone Else Has Something Similar Posted, But I Got Tired Of Reading A Thousand Posts Just To "ALMOST" Get My Question Answered!!
Anyway I Know The Last "OTA" Sent Out From Sprint or HTC (Whoever- Sent It Out) *BROKE* My Ability To Access The "Clockwork Recovery" Menu-Screen!
Since Then I Turned Security From "On to Off" With "Unrevoked-4ever" But I've Read That Even After Flashing "Unrevoked-4ever" It's Possible For Them To Send Me Another "OTA" & Re-break My Root Access!!
Does Anyone Know If What I Read Is "TRUE or Bull-Sh#%".... Am I Really "Unrevoked-4ever"???
1 More Thing What's The Benefits Of A OTA???
Sent from my HERO200 using XDA App
DISABLE OTA UPDATES!!!!
To disable OTA updates that will patch this exploit, (after rooting and booted after creating a nandroid backup) run the following commands from Command Prompt.
Code:
cd C:\android-sdk-windows\tools
Code:
adb remount
Code:
adb shell
Code:
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak
After doing this, the OTA updates WILL still download, BUT they will not pass signature checks to flash because of the code you just entered.
Did you do this when you rooted your phone? ^^
Pulled this from [Guide] How to Root Sprint 2.1 CDMA Hero
Twolazyg said:
DISABLE OTA UPDATES!!!!
To disable OTA updates that will patch this exploit, (after rooting and booted after creating a nandroid backup) run the following commands from Command Prompt.
Code:
cd C:\android-sdk-windows\tools
Code:
adb remount
Code:
adb shell
Code:
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.bak
After doing this, the OTA updates WILL still download, BUT they will not pass signature checks to flash because of the code you just entered.
Did you do this when you rooted your phone? ^^
Pulled this from [Guide] How to Root Sprint 2.1 CDMA Hero
Click to expand...
Click to collapse
No... To Tell You The Truth I Rooted With "Universal Androot" Because I Was Somewhat *NEW* To The Whole "ADB/SDK/ROOT" Thing, But Since I've Probably Learned 20X More Then I Did! But As Far As "ADB" Goes I'm Still Kind Of Scared To Try Out!! Although I Have A Wireless ADB App Installed On My Phone, Does That Work, Or I Should Say Will That Work For The Command You Suggested? Also Thanx For Your Help!!
Sent from my HERO200 using XDA App
PMGRANDS said:
No... To Tell You The Truth I Rooted With "Universal Androot" Because I Was Somewhat *NEW* To The Whole "ADB/SDK/ROOT" Thing, But Since I've Probably Learned 20X More Then I Did! But As Far As "ADB" Goes I'm Still Kind Of Scared To Try Out!! Although I Have A Wireless ADB App Installed On My Phone, Does That Work, Or I Should Say Will That Work For The Command You Suggested? Also Thanx For Your Help!!
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
I've never used an app to root my phone, I followed a guide and did it right the first time. Here is the guide thread. What is the wireless ADB app you're using? Try terminal emulator with the commands, or take 15 min and un-root your phone, then re-root using this guide, that may solve the other issue you're having with the wigets and icons being odd. Let me know how this works for you.
PMGRANDS said:
No... To Tell You The Truth I Rooted With "Universal Androot" Because I Was Somewhat *NEW* To The Whole "ADB/SDK/ROOT" Thing, But Since I've Probably Learned 20X More Then I Did! But As Far As "ADB" Goes I'm Still Kind Of Scared To Try Out!! Although I Have A Wireless ADB App Installed On My Phone, Does That Work, Or I Should Say Will That Work For The Command You Suggested? Also Thanx For Your Help!!
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
If you search android Dev section I've posted how to install adb in like 15 min also in the same thread its another guide as well either way you can have adb in 15 or 20 min tops real simple and the commands he posted will work fine I'm mobile @ work so I can't link but good luck
Root-Hack-Mod-Always™
Twolazyg said:
I've never used an app to root my phone, I followed a guide and did it right the first time. Here is the guide thread. What is the wireless ADB app you're using? Try terminal emulator with the commands, or take 15 min and un-root your phone, then re-root using this guide, that may solve the other issue you're having with the wigets and icons being odd. Let me know how this works for you.
Click to expand...
Click to collapse
Okay, I Think I Just Might Do That... Also As Far As The App I Have, It's Called "ADB Wireless", But I Also Have "Terminal Emulator"!! Which One Would You Use?? "Terminal Emulator" Guess That's Why You Posted It Obviously??.... Lol!! 1 More Thing What's The Benefits Of The OTA's?? Seems Like They Only Eff-Up Root Access!! And Thanx Once Again 4 Your Help!!
Sent from my HERO200 using XDA App
laie1472 said:
If you search android Dev section I've posted how to install adb in like 15 min also in the same thread its another guide as well either way you can have adb in 15 or 20 min tops real simple and the commands he posted will work fine I'm mobile @ work so I can't link but good luck
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
Thank You!!
Sent from my HERO200 using XDA App

{SUPPORT CANCELED}[APP][Multi-Platform] EFS Backup & Restore

This Tool is for Backing up the /efs folder!
Disclaimer!
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TOOL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
Other Infos
Click to expand...
Click to collapse
In the EFS Folder your IMEI and other very important Files are stored!
It's a MUST to back it up!
A corrupt ROM or Script could change this Folder, like we have seen at Nexus Sense or TWRP !
and I don't want to say something bad about the Nexus Sense Dev! He is a very good Dev and I only want to bring a example for this Tool!
be sure you use a Unsecure Boot Image !
ICS 4.0.3 Unsecure Boot.img
HOW TO
Click to expand...
Click to collapse
Make sure you have USB Debugging ON!
To back it up run efs_backup.bat / efs_backup.sh
to restore it run efs_restore.bat /efs_restore.sh
Downloads
Click to expand...
Click to collapse
Actual Versions
EFS Tool 2.1 [bug fix, use this version!] for Linux/Mac
EFS Tool 2.0 for Windows
Pre- Versions
2.0 Version
EFS Tool 2.0 for Windows
EFS Tool 2.0 for Linux/Mac
1.0 Version
EFS Tool for Windows
EFS Tool for Linux/Mac
Changelog
Click to expand...
Click to collapse
2.1 10/8/2011
- Linux Version fixed!
2.0 4/8/2011
- Script optimzed
- "wait for device" included
- BUG fixes (hopefully)
1.0 24/6/2011
- Release!
Credits
Click to expand...
Click to collapse
Cyanogemod for the Disclaimer
PERFECT !!!!
I will think this.. and you have done !
Didn't need to throw Nexus Sense under the bus again, we all already knew it... This is part of the moving on that everyone has talked about... Would like to see an edit for you to remove that part...
hey, you have an error in your backup script file:
" adb pull /efs/ " should be "adb pull /efs/ . "
you require an destination argument for adb.
Didn't need to throw Nexus Sense under the bus again, we all already knew it... This is part of the moving on that everyone has talked about... Would like to see an edit for you to remove that part...
Click to expand...
Click to collapse
That is only a example, i don't want to attack him! I always supported him and told all the other the same: "That this is not his fault and so on"
hey, you have an error in your backup script file:
" adb pull /efs/ " should be "adb pull /efs/ . "
you require an destination argument for sdb.
Click to expand...
Click to collapse
its not "adb pull /efs/" its "adb pull /efs"
so it will pull the whole folder! so i have tested it! its working okay!
Borky_16 said:
That is only a example, i don't want to attack him! I always supported him and told all the other the same: "That this is not his fault and so on"
its not "adb pull /efs/" its "adb pull /efs"
so it will pull the whole folder! so i have tested it! its working okay!
Click to expand...
Click to collapse
ok i found what is causing the error. i am running an other adb version like it is in your file. my version requieres an dst argument: adb pull <remote> <local> yours not. but you have not ./adb written in the file, so it uses my adb binary and then the error on cures. so you should think about placing ./ before your adb or provide or you place the "." behind it, that it works on all adb versions.
brm thomas
trismegistos said:
ok i found what is causing the error. i am running an other adb version like it is in your file. my version requieres an dst argument: adb pull <remote> <local> yours not. but you have not ./adb written in the file, so it uses my adb binary and then the error on cures. so you should think about placing ./ before your adb or provide or you place the "." behind it, that it works on all adb versions.
brm thomas
Click to expand...
Click to collapse
Oh thanks used it on my computer and it used the pathed one so i thought it can handle it
will upload it in a few minutes again
EDIT: Linux Version is fixed thanks to trismegistos
Sorry for the stupid question, but i must only run "efs_backup" and will I have the backup? (Nexus S must be in bootloader mode...correct?)
Nux1990 said:
Sorry for the stupid question, but i must only run "efs_backup" and will I have the backup? (Nexus S must be in bootloader mode...correct?)
Click to expand...
Click to collapse
Nexus S must have USB Debugging on and you have to run backup_efs and you will done!
Does it work on SGS too (should work, right?)?
Sent from my GT-I9000 using XDA Premium App
Lunchbox115 said:
Does it work on SGS too (should work, right?)?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Yes, of course D
PS. Penner
Borky_16 said:
Nexus S must have USB Debugging on and you have to run backup_efs and you will done!
Click to expand...
Click to collapse
Thanks a lot!!
Borky_16 said:
Yes, of course D
PS. Penner
Click to expand...
Click to collapse
Thanks!
PS: selber Penner.
What exactly does this do? I have already copied /efs to my PC some time ago. Does this do anything additional?
matt2053 said:
What exactly does this do? I have already copied /efs to my PC some time ago. Does this do anything additional?
Click to expand...
Click to collapse
No is just a Handy Script that copy it to your PC and with the other Script it restores it! and you can use it on PC without ADB installed, cause it is included!
I think the ADB thing is Major positive point!
working on a efs backup app! will update as soon as possible!
Sent from my Nexus S using XDA Premium App
Awesome!
Sent from my Nexus S 4G using Tapatalk
Worked fine in Linux. Thanks!
I'm going to back it up because you said its a good idea and your programs work perfect, is this for people who flash cyanogen and miui?thanks for all your noob Prof tools,making this whole development experience great
Sent from my Nexus S using XDA Premium App
thanks for this borky,i ran it and it said one of the adb files were missing so i put the one that it said was missing into the folder and then ran it.i seen daemon started as if it started to work but it just went away really quick.how can i check to see if it backed up my efs?running windows 7 pro,any help would be very much appreciated

[Q] Help with rom installation?

Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
Android Development is not for questions or Problems
Please post in the correct Forums
Moving to General
Torin_93 said:
Hey everyone!
I am new to everything about android and just rooted my phone a couple weeks ago. I want to install the decrapified rom burin not 100% sure how to do it. I need CWM to do this right? Can I get back to my original rom if I don't like it or something goes wrong? I also hear some users talking about backing up the device. How do we do this? I know that there are lots of questions and I know some person (maybe two lol) could point me in the right direction. Thank you!
Torin
Click to expand...
Click to collapse
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
S.Meezy said:
1 yes, you need cwm to put decrapified
2 once u install cwm, make sure ur battery is full (at least 50%, but i'll just say full) and make a backup using cwm of ur current system
3 see: 2
Sent from my VS910 4G using Tapatalk
Click to expand...
Click to collapse
Awesome thanks. Now I cant get the adb shell to work. ive done it on my dads phone before so im kinda familiar with it but the sdk still seems to be updating or whatever. Should it work when its finished?
Like when I type "adb devices" it says nothing can be found.
What operating system is ur computer on? Make sure you have installed the LG drivers if Windows.. also, doesn't hurt to be up to date w the sdk...
Sent from my VS910 4G using Tapatalk
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
1. install and update adb sdk.
2. Plug your phone in and install the drivers so it is recognized by windows as the revolution.
3. once 1 and 2 are done set your phone to internet only and turn on debugging.
4. now try adb
Torin_93 said:
Running windows 7 sdk updated drivers installed.
Im typing
cd C:\android-sdk\tools\
adb devices
nothing pops up. It says it isnt recognized?
Click to expand...
Click to collapse
also it is cd c:\android-sdk\platform-tools\
Haxcid said:
also it is cd c:\android-sdk\platform-tools\
Click to expand...
Click to collapse
I just figured out it was\platform-tools\
Like wtf they moved it? lol
I also forgot about internet mode. Im going to give it a go and if I bump into any problems I will let you know
Once I try to get su access (after checking adb access) it says not recognized. Why?
Torin_93 said:
Once I try to get su access (after checking adb access) it says not recognized. Why?
Click to expand...
Click to collapse
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
S.Meezy said:
we're still getting cwm on...? and u already put recovery-cwm-pr1.img on ur sd?
Click to expand...
Click to collapse
Yes its there
But the su command wont work
You have skype? I could screen share.
Torin_93 said:
Yes its there
But the su command wont work
You have skype? I could screen share.
Click to expand...
Click to collapse
Make sure your screen is on when you type su so you can accept super user permission on your phone.
Sent from my VS910 4G using XDA Premium App
After I type adb devices I get the list then its:
C:\android-sdk\platform-tools>su
Right?
Cause it says not recognized
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
mtmichaelson said:
No type, adb shell, then at the next line enter su
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Great thanks!!! Im in
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Torin_93 said:
cat /dev/zero > /dev/block/mmcblk0p14
write: no space left on device
cat /sdcard/recovery-cwm-pr1.img > /dev/block/mmcblk0p14
no such file or directory.
Im so confused. Now what.
Thanks for everyones help so far You guys are amazing!
Click to expand...
Click to collapse
If you are copying it in Windows, copy it to the drive marked "internal." If not, then this is telling you that file isn't on your sdcard. You need to move it there.
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Torin_93 said:
Its in the internal. Should it go in a folder? What about the fact that it says no space left on device?
I have plenty of space?
Click to expand...
Click to collapse
It shouldn't need to go in a folder. The error message about space is normal (expected).

What is ADB shell?

What is it ? ADB Shell . is it CMD command on Windows or what ?
muslimbaha said:
What is it ? ADB Shell . is it CMD command on Windows or what ?
Click to expand...
Click to collapse
https://developer.android.com/tools/help/adb.html
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Sorry, but i know what it is now, how do i run it though? im trying to follow the htc desire hd guide to root my phone, which everything is done up until the point i have to test that i have root in debug mode. Not sure how to do this? run abd.exe? it just showed me a cmd window which runs and then dissapears.
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
bitdomo said:
If you got your phone rooted or want to test it run adb.exe shell the type su and hit enter. If the prompt change from $ to # you have root access
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
What is likely to be the problem if it says SU permission denied?
If you are on stock, that means that you have no root access. If you have cm10 or cm10.1 you have to enable adb root access somewhere in the settings. I am sorry but I can not tell you at the moment where to enable it because I am on stock right now.
Sent from my LG-P990 using xda app-developers app
kt-Froggy said:
It's Android Debug Bridge. Basically, it's a command line interface from your PC to your phone. Think of a terminal emulator that you run on the phone itself. ADB is pretty much the same, but from a PC. It is part of Android SDK. You can also find it included in many installation packages posted here on XDA, e.g. CWM recovery. There is an executable and a couple of DLLs.
P.S.: TrymHansen beat me to it...
Click to expand...
Click to collapse
Thanks Bro for this information

Categories

Resources