Related
Hi everyone,
I'm really baffled by this error im getting now. Just re-did the root on my X10a and everything is working great. SU is advising me when things request root access and it sets to UID 0. FINE. But when i go into terminal and hit whoami i get unknown command. Last time i had this i did ttxdragon (i think is his name) method and it fixed it but now nothing gets it to work. When i hit su i get the # and am able to mount the os in adb and in terminal, also to delete system apps using #6 in the root guide but the whoami command comes up as unknown command. This is driving me nuts because everything seems ot be configured properly and i have proper root access from what i can see. Please someone help if you know what i might be doing wrong.
Also i just re-rooted using the new 5 Step method for X10a.
Your help is much appreciated.
Edit: Also wanted to mention i got the busybox app from the market also and it installed fine as uid0.
Regards.
theMaDHakkeR said:
Hi everyone,
I'm really baffled by this error im getting now. Just re-did the root on my X10a and everything is working great. SU is advising me when things request root access and it sets to UID 0. FINE. But when i go into terminal and hit whoami i get unknown command. Last time i had this i did ttxdragon (i think is his name) method and it fixed it but now nothing gets it to work. When i hit su i get the # and am able to mount the os in adb and in terminal, also to delete system apps using #6 in the root guide but the whoami command comes up as unknown command. This is driving me nuts because everything seems ot be configured properly and i have proper root access from what i can see. Please someone help if you know what i might be doing wrong.
Also i just re-rooted using the new 5 Step method for X10a.
Your help is much appreciated.
Edit: Also wanted to mention i got the busybox app from the market also and it installed fine as uid0.
Regards.
Click to expand...
Click to collapse
Easy, instead of running simply:
# whoami
Run:
# busybox whoami
Done!
By the way, you can simply type
# id
too
Haha! Thank you your a saint! I'm still learning everyday
Thanks again.
Sent from my X10a using XDA App
biktor_gj said:
Easy, instead of running simply:
# whoami
Run:
# busybox whoami
Done!
By the way, you can simply type
# id
too
Click to expand...
Click to collapse
Simple, amazing solution. Thanks !
I have a "non-retail" firmware. Try at your own risk.
Some steps were copied from edgan's post.
- On computer, download pulse.tar from step 9 of this post:
http://forum.xda-developers.com/showthread.php?t=1199098
- Extract the file to "c:\pulse" folder
- Connect your phone to computer
- In command line, type:
- adb root
- adb push c:\pulse /var/tmp/pulse
- adb shell
- remount
- chmod 777 /var/tmp/pulse
- chmod 777 /var/tmp/pulse/install-su.sh
- chmod 777 /var/tmp/pulse/pa_race
- chmod 777 /var/tmp/pulse/sh
- chmod 777 /var/tmp/pulse/su
- /var/tmp/pulse/pa_race
- /var/tmp/pulse/install-su.sh
- rm -rf /var/tmp/pulse*
So basically you need drivers and adb to do this? Very cool. Hope we see some confirmation it works, would save me a few minutes rooting
Sent from my MB855 using XDA App
adbd cannot run as root in production builds
Ok. Good to know. Got excited for a sec...
Yay 4 Juggs said:
adbd cannot run as root in production builds
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
this is like taking the stuttering away from Porky Pig....
Yay 4 Juggs said:
adbd cannot run as root in production builds
Click to expand...
Click to collapse
What does this mean? Does this mean that after the maintenance build is released than it might be possible to root without a docking station? Can you elaborate more on your comment.
ericdabbs said:
What does this mean? Does this mean that after the maintenance build is released than it might be possible to root without a docking station? Can you elaborate more on your comment.
Click to expand...
Click to collapse
production builds are the what you get in the store...they are locked in a way that require encryption keys in order to say...unlock a bootloader. A maintenance build is just that a fixer-upper type build used to either repair what has failed or make it worse...that is why you will always see more than 1 MR. and as it stands there is NO WAY TO ROOT production build via this method.
If you want the real thing, a dockless root, come over to my thread.
http://forum.xda-developers.com/showthread.php?t=1216131
Here's a new method that was exploited for the Droid 3. I tried it and it works for the Photon as well.
Instructions:
Log in to the device using “adb shell” and type the following commands:
Code:
mv /data/local/12m /data/local/12m.bak
ln -s /data /data/local/12m
Next, physically reboot the device by pressing the power button. When it wakes up, log in using “adb shell” again, and type the following:
Code:
rm /data/local/12m
mv /data/local/12m.bak /data/local/12m
mv /data/local.prop /data/local.prop.bak
echo "ro.sys.atvc_allow_netmon_usb=0" > /data/local.prop
echo "ro.sys.atvc_allow_netmon_ih=0" >> /data/local.prop
echo "ro.sys.atvc_allow_res_core=0" >> /data/local.prop
echo "ro.sys.atvc_allow_res_panic=0" >> /data/local.prop
echo "ro.sys.atvc_allow_all_adb=1" >> /data/local.prop
echo "ro.sys.atvc_allow_all_core=0" >> /data/local.prop
echo "ro.sys.atvc_allow_efem=0" >> /data/local.prop
echo "ro.sys.atvc_allow_bp_log=0" >> /data/local.prop
echo "ro.sys.atvc_allow_ap_mot_log=0" >> /data/local.prop
echo "ro.sys.atvc_allow_gki_log=0" >> /data/local.prop
Reboot the device one final time, and on logging in with “adb shell”, you should be presented with a root prompt. Enjoy!
Now that we have shell root, we can complete the rooting by issuing the following commands:
Code:
adb remount
adb push busybox /system/xbin/busybox
adb push su /system/xbin/su
adb push Superuser.apk /system/app/Superuser.apk
adb shell chmod 4755 /system/xbin/su
adb shell chmod 755 /system/xbin/busybox
adb shell chown system.system /data
Original article here: Droid 3 Shell Root
There's a one-click method but it was giving me errors on my machine...
One-click files here: One-click Root Files
Thanks!
dangit i was in teh irc testing this with a hybrid of my ocr was hoping to spring it on people
all set, got new ocr working, cleaning up code and will release confirmed to work
Good to hear!
The original One-click root they posted for this was giving me all sorts of adb errors on Windows...
BTW, you wouldn't happen to have busybox 1.19.0 would you?
shabbypenguin said:
all set, got new ocr working, cleaning up code and will release confirmed to work
Click to expand...
Click to collapse
i do, but im lazy the version in there is more then enough to get people started and going for just root
I'm give this a shot when I get home in. the morning.
Sent from my MB855 using xda premium
Haha! Roger that. I 'm too lazy to compile it too...
Anyway, back on topic...
shabbypenguin said:
i do, but im lazy the version in there is more then enough to get people started and going for just root
Click to expand...
Click to collapse
newalker91 said:
This seems like it will offer more functionality as a root instead of using nvidia exploits. Tempted to flash back to CM5 and re-root using this to see the difference.
Click to expand...
Click to collapse
What do you mean by this? Why would it matter how we aquire root? Is there benefits to rooting another way?
Sent from my MB855 using xda premium
I guess what he's trying to say is that via this new root method, no files have to be transferred onto the phone that could potentially cause problems in the future.
It's a matter of what you're comfortable doing to your device...
Djspinister said:
What do you mean by this? Why would it matter how we aquire root? Is there benefits to rooting another way?
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
Beach_Head said:
I guess what he's trying to say is that via this new root method, no files have to be transferred onto the phone that could potentially cause problems in the future.
It's a matter of what you're comfortable doing to your device...
Click to expand...
Click to collapse
I see, that makes sense, thanks!
-DJ
this would be great if it works on the photon.
can anyone else confirm this working?
dtr145r said:
this would be great if it works on the photon.
can anyone else confirm this working?
Click to expand...
Click to collapse
Go to shabbys auto root thread
Sent from my MB855 using XDA App
How is this method versus the autoroot method?
And do you need a "dock" for this *** or do we enter everything manually from the phone's keyboard instead?
Would like to hear how this holds up - thank you
amlodipine said:
How is this method versus the autoroot method?
And do you need a "dock" for this *** or do we enter everything manually from the phone's keyboard instead?
Would like to hear how this holds up - thank you
Click to expand...
Click to collapse
No dock needed, just enable USB debugging and use adb.
Does this method bork 4G like some other methods do?
ronnienyc said:
Does this method bork 4G like some other methods do?
Click to expand...
Click to collapse
your confusing root and unlock. root never borked 4g.
OK, but you need to unlock before rooting? or root before the unlock?
Either way I am not interested in any of this if my 4G stops working.
Thanks.
no, you can just enable usb debugging, install the drivers if you havent already. run my script.. tada
Confirmed working on PHOTON
I did the one click method in the first post and it worked perfectely.
Used one click and I appear to be rooted now. Thanks.
I have your ICS root ready, how about we call it TPSparkyRoot. I based my research on code written by Dan Rosenberg (similar to what jchase did with NachoRoot in the fact that chown/chmod follows symlinks even when set during startup), here is a link to that research http://vulnfactory.org/blog/2011/08/25/rooting-the-droid-3/
**UPDATE**
Android's source has been patched so that future OEMs can not leave this hole open by accident.
https://android-review.googlesource.com/#/c/36035/
**UPDATE**
This method has been shown to work on the HTC One X see forum
http://forum.xda-developers.com/showthread.php?t=1644167
Theoretically this should work on Honeycomb versions of the Prime as well, since the Honeycomb update is where I found the flaw that is being exploited. I have confirmed this works on my Prime.
**UPDATE**
This exploit does not currently work for the latest ICS update released (v9.4.2.11 on 1/18/2012). You can use OTA Rootkeeper to backup your root prior to updating using OTA, which I have confirmed to work on my device, (this may not work if you push the update manually).
https://market.android.com/details?id=org.projectvoodoo.otarootkeeper
For the devs out there, it does not to honor the ro.kernel.qemu=1 setting within the local.prop because it is already set to blank by that point by the build.prop
You must have your Prime set up to use adb and your adb location contained in your path variable (windows) or unzip the files from my zip into that directory before running.
**UPDATED**
If you are have issues getting adb working, make sure asus sync is not running, if it is then kill it.
adb shell mv /data/local/tmp /data/local/tmp.bak
adb shell ln -s /data /data/local/tmp
adb reboot
adb shell rm /data/local.prop > nul
adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop"
adb reboot
adb shell id
//IF ID IS 0/root THEN CONTINUE, ELSE START OVER>
adb remount
adb push su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 06755 /system/xbin/su
//UNDO EVERYTHING EXCEPT su
adb shell rm /data/local.prop
adb shell rm /data/local/tmp
adb shell mv /data/local/tmp.bak /data/local/tmp
adb reboot
**UPDATE** As jchase stated "If your device "bootloops" don't stress, just follow through with the commands as it "loops" ro.kernel.qemu can do funky stuff." I did notice this in my rooting but just assumed it was normal as this is my first use of adb.
**UPDATE2**
If you get a permissions error on the call
adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop"
then you may try
adb shell rm /data/local.prop
And then try the echo command again. This may be due to having rooted prior without cleaning up properly. Thanks to Franky_402 for this piece of info.
I have updated the batch file to include this step, it should still be fine for those who are not having the issue as well.
I have attached a zip file containing the su and a bat file for a more automated process (just pauses when during reboots, don’t hit go until it’s done rebooting). Or, you can run the commands manually and get the su file from the origin http://downloads.androidsu.com/superuser/su-bin-3.0.3.2-efghi-signed.zip
Finally, install Superuser to make it all work https://market.android.com/details?id=com.noshufou.android.su
**UPDATE** UNROOT
There are multiple was to unroot now that you have root access already (all you need to do is remove the su file; so you could potential skip all the steps before the remount and just add the local.prop manually using a file manager and then reboot).
The one most similar way to how you rooted would be to follow all of the steps above, but replace these 3 lines
adb push su /system/xbin/su
adb shell chown 0.0 /system/xbin/su
adb shell chmod 06755 /system/xbin/su
with this line
adb shell rm /system/xbin/su
This will remove the actual root, but it would leave behind any apps that you have given root access to or any files that those apps changed themselves (i.e. RootKeeper backs up the su file and the backup would need to be removed). If you had anything like this you would need to clean up that first before unrooting because it is a dead giveaway that it was rooted.
Viperboy should be releasing his tool shortly that utilizes this method, if you would like a one click process that installs apps along with it (superuser, busybox). I’m guessing it installed them to the root apps directory so these also would need to be removed when unrooting as well (i.e. if you root using his new tool you should unroot using it as well).
**UPDATED** Remove PayPal link in favor of link over there <-
Yes, as it says, I went from the same base exploit that was shown by Dan and was the base for jchase as well.
The commands more than likely are but the exploit must be different or Jcases rot would still be working... Thanks OP!!!
EDIT: He didn't "ask" for donations just gave a link since he doesn't have the donate button <<over there
Not mine at all, props to this guy! Send him some bones.
Yes, thanks, I did not realize that there was a donate button as I am still learning this forum.
This root is confirmed!
If your device "bootloops" don't stress, just follow through with the commands as it "loops" ro.kernel.qemu can do funky stuff.
Good ****.
sparkym3 said:
Yes, thanks, I did not realize that there was a donate button as I am still learning this forum.
Click to expand...
Click to collapse
Yeah it's in the User Control Panel on the top of the forum
"Reported" your thread to a mod, so he can move it to the dev section
And welcome to XDA Don't let the trolls take your love for android
jcase said:
This root is confirmed!
If your device "bootloops" don't stress, just follow through with the commands as it "loops" ro.kernel.qemu can do funky stuff.
Good ****.
Click to expand...
Click to collapse
OP, maybe put that in the OP, so users don't panic
Moved to development.
Holly smoke, it works....
jcase said:
Not mine at all, props to this guy! Send him some bones.
Click to expand...
Click to collapse
As the main man says. Give credit when due. It's not his. and give the guy props and if you wish to donate donate.
This is why this android community is crap. because everyone trolls. If it was jcases he'd release it. not someone else. and im sure as hell he wouldnt be saying these things 'like give the guy some bones'
rhcp0112345 said:
As the main man says. Give credit when due. It's not his. and give the guy props and if you wish to donate donate.
This is why this android community is crap. because everyone trolls. If it was jcases he'd release it. not someone else. and im sure as hell he wouldnt be saying these things 'like give the guy some bones'
Click to expand...
Click to collapse
Biggem isnt really a troll, he's obv just got out of the wrong side of the bed ... i'm sure he'll take that back.
Danny-B- said:
Biggem isnt really a troll, he's obv just got out of the wrong side of the bed ... i'm sure he'll take that back.
Click to expand...
Click to collapse
Also nothing wrong with asking for donations.
YOU ROCK. donations to you and jcase after payday
You would all post this WHILE I'm at work, have my prime with me, but not my charger! lol. I'll DEFINITELY check it out when I get home.
disturb3d1 said:
You would all post this WHILE I'm at work, have my prime with me, but not my charger! lol. I'll DEFINITELY check it out when I get home.
Click to expand...
Click to collapse
Dude mine should be here in 9 hrs
I might do an unboxing vid using my photon
Wait a minute, chainfire is paying attention to the thread, that only means good things. Please tell me your gonna dev some for this device
Sent from my SGH-T959 using XDA App
not going good for me I'm on ubuntu with working adb. copied su to home directory and running all commands from there. when i get to, adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop", i get, /system/bin/sh: cannot create /data/local.prop: Permission denied. So i never get the right id to continue. Anyways please help. thankx
Any chance in the future this can be converted to an apk to install on Prime or a One-click method, per se?
[ROOT][ICS] Root Razr ICS 4.0.3 and 4.0.4 [NEW]
[UPDATED] Jun 14 2012
Tested on my Razr xt910 no errors...
This method run in CDMA and GSM Razr...
This method run in all versions ICS 4.0.4 for Razr
This method run in all versions ICS BRAZIL and ICS Leaks
This method run in all versions ICS CHINA / 4.0.3 and 4.0.4
Credit to Rick#2 for this great post and Exploit
Credit to miloj for this new technique
Only Run the script and wait end process
Remenber this method has been fully tested on my Razr and i succeeded
[REQUIREMENTS]
Check if your USB computer connection is "Mass Storage".
It shouldn't be. Change it to "media device".
Check if your configuration of android is set to "debug mode".
[AUTOMATIC]
1. Download exploits or scripts
2. Unpack files on any folder
3. Install motorola drivers
4. Connect your Razr with USB cable
5. Check if your configuration of android is set to "debug mode".
6. Check your Usb connection and change to "media device"
7. Run the exploit in the bottom of the page
[ROOT] Your Razr
[SCRIPT] Fully tested and only run in prompt and wait process
http://www.mediafire.com/download.php?p1dks81hu3dtiw7
http://www.4shared.com/rar/iqgref86/ROOT.html
[POST ORIGINAL]
http://forum.xda-developers.com/showthread.php?t=1707431
I'm here to help people around the world
is not what you do that makes you extraordinary
but it is the way that we give that says who we are
it can not be measured with thanks or views
Jesus is the Lord
About this Root method - Thank You XDA for this page
http://www.xda-developers.com/androi...razr/#comments
About this Root method - Thank You Droid Life for this page
http://www.droid-life.com/2012/06/14...icial-release/
hacker812c said:
[ROOT][ICS] Root Razr ICS 4.0.3 and 4.0.4 [NEW] [UPDATED] Jun 14 2012
Tested on my Razr xt910 no errors...
This method run in CDMA and GSM Razr...
This method run in all versions ICS 4.0.4 for Razr
This method run in all versions ICS BRAZIL and ICS Leaks
This method run in all versions ICS CHINA / 4.0.3 and 4.0.4
Only Run the script and wait end process
Remenber this method has been fully tested on my Razr and i succeeded
[SCRIPT] Fully tested and only run in prompt and wait process
http://www.mediafire.com/download.php?p1dks81hu3dtiw7
http://www.4shared.com/rar/iqgref86/ROOT.html
[POST ORIGINAL]
http://forum.xda-developers.com/showthread.php?t=1707431
Click to expand...
Click to collapse
Fantastic ... sinceraly ... excelent...thanks...
It doesnt seem to be working on my racr maxx says it is unable to see super user etc
mgault said:
It doesnt seem to be working on my racr maxx says it is unable to see super user etc
Click to expand...
Click to collapse
simply the best... thanks
in first test i rooted... thanks thanks thanks...
kelcastro said:
simply the best... thanks
in first test i rooted... thanks thanks thanks...
Click to expand...
Click to collapse
thanks
Check this out http://forum.xda-developers.com/showthread.php?t=1710871
it works, and it's here...
no complaints. THANKS
Do I need to switch my Rogers rom for the Brazil one, or can this be done with the one I already have?
Skeleton73 said:
Do I need to switch my Rogers rom for the Brazil one, or can this be done with the one I already have?
Click to expand...
Click to collapse
any version run perfect
Thanks
farhanito said:
it works, and it's here...
no complaints. THANKS
Click to expand...
Click to collapse
Thanks for reply
Thanks for participate this post...
hacker812c said:
Thanks for reply
Thanks for participate this post...
Click to expand...
Click to collapse
my root is perfect.
kelcastro said:
my root is perfect.
Click to expand...
Click to collapse
thank you for reply this post...
farhanito said:
it works, and it's here...
no complaints. THANKS
Click to expand...
Click to collapse
its two methods... manually and script...
hacker812c said:
its two methods... manually and script...
Click to expand...
Click to collapse
as i said.. no complaint
your script works fine on EN.EU leak
just remember to install superuser app from the playstore
thanks again
farhanito said:
as i said.. no complaint
your script works fine on EN.EU leak
just remember to install superuser app from the playstore
thanks again
Click to expand...
Click to collapse
Farhanito thanks my big friend...
[UnROOT] You need? Manually Method
@UnRoot For Droid Razr ICS
@echo off
adb start-server
adb remount
adb shell chmod 0777 /system/xbin/su
adb shell chmod 0777 /system/bin/su
adb shell chmod 0777 /system/app/Superuser.apk
adb shell chmod 0777 /system/xbin/busybox
adb shell rm -r /system/app/Superuser.apk
adb shell rm -r /system/xbin/su
adb shell rm -r /system/bin/su
adb shell rm -r /system/xbin/busybox
adb reboot
exit
I'm here to help people around the world
is not what you do that makes you extraordinary
but it is the way that we give that says who we are
it can not be measured with thanks or views
Jesus is the Lord
About this Root method - Thank You XDA for this page
http://www.xda-developers.com/android/root-achieved-for-ics-on-gsm-and-cdma-moto-razr/#comments
About this Root method - Thank You Droid Life for this page
http://www.droid-life.com/2012/06/14/razr-ice-cream-sandwich-builds-rooted-before-official-release/