[Q] How to Root Nexus S 4.0.3 from OTA - Nexus S Q&A, Help & Troubleshooting

I was wondering if someone has found a method to root the latest Nexus S update from the OTA version instead of needing to flash a new rom. I don't feel like resyncing my 3000+ contacts and join the facebook and twitter contacts.
It would really help if i could get root permissions and su working properly by flashing a file or something. Thanks to all that help in advance

High level method
Fastboot OEM unlock
Fastboot flash recovery clockworkmod
Install such.zip from recovery
Sendt fra min Galaxy Nexus med Tapatalk

diesel2k said:
High level method
Fastboot OEM unlock
Fastboot flash recovery clockworkmod
Install such.zip from recovery
Sendt fra min Galaxy Nexus med Tapatalk
Click to expand...
Click to collapse
I tried that... unless you know a specific version of SU to flash because the one I have isn't working

download this http://forum.xda-developers.com/attachment.php?attachmentid=821265&d=1324235293
and flash it

TrueYears said:
If you are rooted skip step 1
STEP 1: http://forum.xda-developers.com/show....php?t=1138755 Root it and unlock it
* I strongly suggest you understand what this will do. So check out this guide
http://theunlockr.com/2010/12/17/how...msung-nexus-s/
Once you have done this, make a folder in your phone called ROMS ( or anything doesnt matter) download the rom that you will be using, this zip and the SU zip. It will make it easier on you
Sub step 1.5: WIPE CACHE AND WIPE DATA
STEP 3: Flash the 4.0.3 Rom http://forum.xda-developers.com/show....php?t=1398302
Once you've done this, it will delete the recovery that you got and it will install the stock recovery
STEP 4: Flash this http://forum.xda-developers.com/show....php?t=1396959
this will make Superuser work allowing you to download ROM Manager and letting you flash recovery from there. Make sure to allow it
Click to expand...
Click to collapse
Tried it... it isn't a full stable root. meaning it doesn't give the root permissions prompt from SU once you are using 4.0.3

Azuske said:
Tried it... it isn't a full stable root. meaning it doesn't give the root permissions prompt from SU once you are using 4.0.3
Click to expand...
Click to collapse
Interesting
I purchased a Nexus S the other day and did exactly this
maybe if you had flashed the SU zip in that link it SU would have worked
oh well sucks you wont be able to try awesome ICS =/

TrueYears said:
Interesting
I purchased a Nexus S the other day and did exactly this
maybe if you had flashed the SU zip in that link it SU would have worked
oh well sucks you wont be able to try awesome ICS =/
Click to expand...
Click to collapse
Lol I'm using ICS already man i'm just having SU issues and i don't want to have to reflash anything because I have 3000+ contacts I need to have joined with twitter and facebook and its a pain to re sync and join

Azuske said:
Lol I'm using ICS already man i'm just having SU issues and i don't want to have to reflash anything because I have 3000+ contacts I need to have joined with twitter and facebook and its a pain to re sync and join
Click to expand...
Click to collapse
Nevermind I fixed it lmfao I someone sent me a newer SU to flash and it did the trick. Thanks for all your help

Azuske said:
Lol I'm using ICS already man i'm just having SU issues and i don't want to have to reflash anything because I have 3000+ contacts I need to have joined with twitter and facebook and its a pain to re sync and join
Click to expand...
Click to collapse
oh okay I mean I would just flash the new SU which was released yesterday that fixed
like did you even bothered to read what was on the link?
http://forum.xda-developers.com/showthread.php?t=1396959
---------- Post added at 08:22 AM ---------- Previous post was at 08:20 AM ----------
Azuske said:
Nevermind I fixed it lmfao I someone sent me a newer SU to flash and it did the trick. Thanks for all your help
Click to expand...
Click to collapse
You seriously couldnt follow just step 4 of my guide? lol................ oh boy

hi bro, i want it also, just because i do need u permissions for some apps , anyone success it ? if u share we will be graceful!

joose1983 said:
hi bro, i want it also, just because i do need u permissions for some apps , anyone success it ? if u share we will be graceful!
Click to expand...
Click to collapse
if you are already on 4.0.3 and want SU permission to work right
just download this and flash it in the recovery........... its like you people don't read anything and just want people to give it to you
http://forum.xda-developers.com/attachment.php?attachmentid=821265&d=1324235293

TrueYears said:
oh okay I mean I would just flash the new SU which was released yesterday that fixed
like did you even bothered to read what was on the link?
http://forum.xda-developers.com/showthread.php?t=1396959
---------- Post added at 08:22 AM ---------- Previous post was at 08:20 AM ----------
You seriously couldnt follow just step 4 of my guide? lol................ oh boy
Click to expand...
Click to collapse
Click your link... it didn't work... atleast not for me...
Edit: the 2nd link was the same file (atleast by name) that was sent to me

Azuske said:
Click your link... it didn't work
Click to expand...
Click to collapse
oh yeah weird I'll go fix that

Guys, it really isn't difficult or compled. You just have to follow the instructions carefully and do it one stage at a time.
Here is what I have just run through myself after losing root following the OTA update to ICS 4.0.3.
Before anything else you'll need the Android SDK installed so you have access to the adb and fastboot commands on your PC/Mac/Linux. If you haven't done that then you aren't going anywhere further. I already had this installed.
First, gather the two files that you'll need to install on your Nexus S, these are:
Superuser from here --> http://forum.xda-developers.com/showthread.php?t=1396959
and
Recovery from here --> http://wiki.cyanogenmod.com/wiki/Ne...de#Installing_the_ClockworkMod_Recovery_Image
Copy the file on to the Nexus S in a suitable directory or root, it doesn't matter, you'll be using it later.
Then, and only then, you should follow the instructions on the Wiki page to install the recovery.zip to your Nexus S
Boot the Nexus S into recovery and choose install zip from sdcard.
Select the Superuser.zip file (it may be a longer filename) and press go, it will install Superuser
Reboot back into Android and load up a suitable file manager (I use root explorer).
Navigate to /etc and rename the file installrecovery.sh to something else (I just appended .old to the filename)
Reboot back into bootloader and repeat the flash recovery recovery.img
Thats it, your'e done. Rooted and with Recovery permanent on the Nexus S.
Caveat: If any of the above doesn't mean very much to you then STOP right now. Get someone you know to help you or you'll likely end up with a brick.

TrueYears said:
if you are already on 4.0.3 and want SU permission to work right
just download this and flash it in the recovery........... its like you people don't read anything and just want people to give it to you
http://forum.xda-developers.com/attachment.php?attachmentid=821265&d=1324235293
Click to expand...
Click to collapse
Well I tried this but something happened that I was not prepared for. I have the OTA 4.0.3 update installed and I actually flashed it with the stock recovery that already came with my Nexus S. Surprisenly, now, I can't boot to recovery. I press the power button and the phone reboots, then quickly a "dead" droid appears with a red attention sign on his belly and the phone goes black and I need to get the battery off. It does not boot into recovery, it does not respond, its simply black. What the hell should I do? Please help I'm new to the NS, just bought it this week
EDIT: Everything else is working fine. Just cant access my recovery

Azuske said:
I was wondering if someone has found a method to root the latest Nexus S update from the OTA version instead of needing to flash a new rom. I don't feel like resyncing my 3000+ contacts and join the facebook and twitter contacts.
It would really help if i could get root permissions and su working properly by flashing a file or something. Thanks to all that help in advance
Click to expand...
Click to collapse
I can tell you what worked for me: http://forum.xda-developers.com/showthread.php?t=1479831
I'm running stock ICS on i9023, now rooted but with bootloader still locked.
Credits go to saurik who found the exploit (https://github.com/saurik/mempodroid)

Hands0n said:
Guys, it really isn't difficult or compled. You just have to follow the instructions carefully and do it one stage at a time.
Here is what I have just run through myself after losing root following the OTA update to ICS 4.0.3.
Before anything else you'll need the Android SDK installed so you have access to the adb and fastboot commands on your PC/Mac/Linux. If you haven't done that then you aren't going anywhere further. I already had this installed.
First, gather the two files that you'll need to install on your Nexus S, these are:
Superuser from here --> http://forum.xda-developers.com/showthread.php?t=1396959
and
Recovery from here --> http://wiki.cyanogenmod.com/wiki/Ne...de#Installing_the_ClockworkMod_Recovery_Image
Copy the file on to the Nexus S in a suitable directory or root, it doesn't matter, you'll be using it later.
Then, and only then, you should follow the instructions on the Wiki page to install the recovery.zip to your Nexus S
Boot the Nexus S into recovery and choose install zip from sdcard.
Select the Superuser.zip file (it may be a longer filename) and press go, it will install Superuser
Reboot back into Android and load up a suitable file manager (I use root explorer).
Navigate to /etc and rename the file installrecovery.sh to something else (I just appended .old to the filename)
Reboot back into bootloader and repeat the flash recovery recovery.img
Thats it, your'e done. Rooted and with Recovery permanent on the Nexus S.
Caveat: If any of the above doesn't mean very much to you then STOP right now. Get someone you know to help you or you'll likely end up with a brick.
Click to expand...
Click to collapse
I was searching on this post for a clear how-to, and this guy made it! Thanks alot!

Related

ClockworkMod Recovery 3.0.0.5

This is the latest ClockworkMod Recovery!! Instructions to install below
Downloads At bottom of page.
I am not responsible if you brick or damage your phone... blah blah blah... NANDROID FIRST cuz u never know wut might happen XD.
Method I
Flash recovery using: ADB
NOTE: This method will work while you are booting into the current recovery on the phone.
Download ClockworkMod Recovery 3.0.0.5
Copy the recovery.img to root of the SD card.
Boot the phone into recovery.
Open command prompt.
Change directory to the AndroidSDK directory & type the following commands:
adb shell
mount sdcard
flash_image recovery /sdcard/"name of recovery".img
reboot recovery
Your phone should now reboot into the ClockworkMod Recovery (orange text for 3.0+).
Method II
Flash recovery using: RomManager
Download ClockworkMod Recovery 3.0.0.5
On the SD card, go to: /clockworkmod/download/mirror.sea.tdrevolution.net/cm/recoveries.
Rename the old image there named recovery-clockwork-2.5.0.7-heroc.img to recovery-clockwork-2.5.0.7-xxx.img.
Move recovery-clockwork-3.0.0.5-heroc.img to that folder and rename it to recovery-clockwork-2.5.0.7-heroc.img.
Open RomManager and press Flash ClockworkMod Recovery and reboot the phone to recovery, you should see the orange text.
Method III
Method III
Flash recovery using: H-Boot/S-Off Only
Download HERCIMG.zip
md5: 6dcd265a51cc7090824d7f9f889b370b
Move HERCIMG.zip to root of the SD card.
Power off the phone.
Hold the Volume Down and Power buttons until the phone boots into the bootloader.
Wait for bootloader to scan and find HERCIMG.zip.
Press action to install.
The phone should now reboot into the ClockworkMod Recovery (orange text for 3.0+).
http://www.mediafire.com/?2gwhom1m06tbboy - ClockworkMod Recovery 3.0.0.5
http://www.mediafire.com/?u86sj1w22db8kbt - HERCIMG.zip
thanks to romrepo.info/wiki
It would be great if someone could leave some screenshots for me.. i dont have the emulator on this computer srry.
deke2010 said:
It would be great if someone could leave some screenshots for me.. i dont have the emulator on this computer srry.
Click to expand...
Click to collapse
Check in the dev section for my thread on how to install adb. You'll have it up and running in like 15 to 20 min tops
Root-Hack-Mod-Always™
laie1472 said:
Check in the dev section for my thread on how to install adb. You'll have it up and running in like 15 to 20 min tops
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
Im using my dads computer and i cant install anything on it soo..
deke2010 said:
Im using my dads computer and i cant install anything on it soo..
Click to expand...
Click to collapse
You can do all of what the op posted on your phone. Just follow his instructions and you should be fine
Root-Hack-Mod-Always™
laie1472 said:
You can do all of what the op posted on your phone. Just follow his instructions and you should be fine
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
i already have it on my phone but i cant get screenshots without the emulator on the pc which i cant install cuz its my dads computer.
When I download the recovery from my phone it downloads as a txt file. Do I rename it to recovery.img and push it that way.
Sent from my DROIDX using XDA App
EDIT nevermind I did the S Off method worked perfectly.
METHOD1911 said:
When I download the recovery from my phone it downloads as a txt file. Do I rename it to recovery.img and push it that way.
Sent from my DROIDX using XDA App
EDIT nevermind I did the S Off method worked perfectly.
Click to expand...
Click to collapse
Glad you got it working. To answer the question about .txt on the phone, others have reported that using a different browser works for downloading the .img file correctly. I think they used Dolphin browser from the market.
I tried method 2 and method 3 above without success. Trying to go from 2.5.0.1 to 3.0.0.5. Attempts to boot into recovery and then reboots again and boots normally. Suggestions?
Try the ADB method?
stayclean said:
Try the ADB method?
Click to expand...
Click to collapse
I will try that now. Quotes necessary around the filename?
No, do not use quotes.
kynov said:
I tried method 2 and method 3 above without success. Trying to go from 2.5.0.1 to 3.0.0.5. Attempts to boot into recovery and then reboots again and boots normally. Suggestions?
Click to expand...
Click to collapse
don't flash the 3.0.0.5, you don't need it for GB. the reason I think people have been having so much trouble is that the recovery is overclocked, so some phones can't handle it. same thing goes for the GB rom, if it loops and hangs etc., just flash a capped 691 kernel after the rom and gapps, it *should* work.
OK NOW - TO ALL FUTURE POSTS - PLEASE DON'T, LOL.
AOSP MADE THIS RECOVERY AND IS CONSTANTLY UPDATING IT
3.0.0.5 CAN BE FOUND IN THE 2.3 GINGERBREAD THREAD
INSTALL METHODS CAN BE FOUND ON THE THREAD "READ ME" WIKI,
DIFFERENT VERSIONS CAN BE FOUND ON ROMREPO.INFO
il Duce said:
don't flash the 3.0.0.5, you don't need it for GB. the reason I think people have been having so much trouble is that the recovery is overclocked, so some phones can't handle it. same thing goes for the GB rom, if it loops and hangs etc., just flash a capped 691 kernel after the rom and gapps, it *should* work.
OK NOW - TO ALL FUTURE POSTS - PLEASE DON'T, LOL.
AOSP MADE THIS RECOVERY AND IS CONSTANTLY UPDATING IT
3.0.0.5 CAN BE FOUND IN THE 2.3 GINGERBREAD THREAD
INSTALL METHODS CAN BE FOUND ON THE THREAD "READ ME" WIKI,
DIFFERENT VERSIONS CAN BE FOUND ON ROMREPO.INFO
Click to expand...
Click to collapse
AOSP didn't make CWM.....
stayclean said:
Try the ADB method?
Click to expand...
Click to collapse
EDIT: Managed to get 2.5.0.1 back on there. Gonna leave it as-is.
What's the clock speed on this?
theimpaler747 said:
AOSP didn't make CWM.....
Click to expand...
Click to collapse
ok Koush did, I know, but the version we are using is tweaked by him.
would you correct me if I said he made his rom, because technincally google MADE it, but he did in fact tweak it,build it,compile it, for the hero.
@aiwetir - 768
Method III worked fine for me. Just follow instructions carefully, and don't forget to do "su" first (lets terminal use root privileges).
I'm curious why RomManager doesn't update the version number. I know I'm using 3.0.0.5 because of the new orange text, but RomManager still shows 2.5.0.1
Anyone?
theimpaler747 said:
AOSP didn't make CWM.....
Click to expand...
Click to collapse
Pretty sure he tweaked cwm3.0.0.5 to make it work for our phones ... I'm sure duce didn't mean he made it made it just wrong wordage lol come on Impaler. You know aosp be a tweaker to make our phones the **** lol
Sent from my HTC Hero CDMA using XDA App
il Duce said:
ok Koush did, I know, but the version we are using is tweaked by him.
@aiwetir - 768
Click to expand...
Click to collapse
Beat me to it haha ... Impaler just hating caus3 his epic isn't as awesome as our hero's hahaha jk
Sent from my HTC Hero CDMA using XDA App

How Long Will a Root for ICS OFFICIAL Take

So here's the deal. I'm running CM9Alpha13. And while I love having my phone rooted and playing around with it, I was really only interested in getting ICS for my phone. No I know I'll miss Francisco.Franco's kernels and I'll miss Koush's awesome ROMs but I just really want a stable ICS.
So my question is how long before I can root my ICS if I do the official downgrade to GB and Upgrade to ICS?
Any guestimate would be great!
Thanks in advance.
Jon
I am sure it wont take long...just give the devs a day or so to play with things and get everything worked out.
Sent from my Nexus S using Tapatalk
I'm wondering about this too... I need a stable one but I need it to be rooted too...
http://www.megaupload.com/?d=S67I9Q0L
EDIT: flashable with CWM.
+ read this: http://forum.xda-developers.com/showpost.php?p=20395808&postcount=25
Chamb' said:
http://www.megaupload.com/?d=S67I9Q0L
Click to expand...
Click to collapse
This is a su-update.zip file flashable with CWM
it did the trick for me, just simply flashed it and now have working root
Anyone else confirmed this working?
EDIT: Oh, and mirrors please?
Read this: http://forum.xda-developers.com/showpost.php?p=20395808&postcount=25
Chamb' said:
http://www.megaupload.com/?d=S67I9Q0L
EDIT: flashable with CWM.
+ read this: http://forum.xda-developers.com/showpost.php?p=20395808&postcount=25
Click to expand...
Click to collapse
rooted~
but superuser fc...
FLyTula said:
So my question is how long before I can root my ICS if I do the official downgrade to GB and Upgrade to ICS?
Click to expand...
Click to collapse
While we're at it, is there a downgrading/upgrading guide somewhere?
fromthestars said:
This is a su-update.zip file flashable with CWM
it did the trick for me, just simply flashed it and now have working root
Click to expand...
Click to collapse
Confirmed that this worked on Google issued phone (same as T-Mobile version). The following is the order I used to come from CM9 Alpha 11:
1. Backup using Titanium, reboot to recovery.
2. Use CWM to flash stock 2.3.6.
3. Use CWM to flash stock ICS 4.0.3.
4. Wipe all user data.
5. Install the linked superuser through CWM (I had previous tried older and newer versions, which did not work).
6. Reboot phone, go through setup, download Titanium, and restore. Phone is definitely rooted (otherwise Titanium is unusable). I did not try to update the su binaries and will avoid doing so.
any way to root with something like superoneclick?
I'd like to avoid flashing custom stuff on it. just need root.
xd4d3v said:
any way to root with something like superoneclick?
I'd like to avoid flashing custom stuff on it. just need root.
Click to expand...
Click to collapse
Then fastboot boot recovery and flash the latest su zip. Even if you flashed the custom recovery it would be overwritten when you boot up the os.

[Q]rooting problem

Hello,
I have tried to root my sensation device, I used a guide to do that(forum didn't allow me to link cause I'm a new user), and everything looks fine, my phone says s-off and everything looks alright, however I tried to use titanuim backup, said it requires busybox, installed busybox, says "the su binary was not found on your phone", installed superuser, and tried to update the su binary, and it fails at "checking current install path" and I hit a wall. where have I gone wrong?
also I accidentally hit the SIM lock option on bootloader screen, I don't know what that does, so is this bad? and if so how I fix it.
If you have guessed that I'm a noob, you're right, I just got my first android phone a month ago.
come on people, give me something
reading more on the subject, i'm trying to redo installing recovery described in step 2 here as I said yes when the revolutionary utility asked me to..but the link is dead, so if anyone has another link..
also is it ok to do that? running another recovery..
dARTillery said:
reading more on the subject, i'm trying to redo installing recovery described in step 2 here as I said yes when the revolutionary utility asked me to..but the link is dead, so if anyone has another link..
also is it ok to do that? running another recovery..
Click to expand...
Click to collapse
Perform step2 and step3 in revolutionar s-off guide.
thanks for the answer.
Is that the same guide that I referred to? if so the links are dead and I can't post there yet. if not can you provide a link to the guide you mean.
dARTillery said:
thanks for the answer.
Is that the same guide that I referred to? if so the links are dead and I can't post there yet. if not can you provide a link to the guide you mean.
Click to expand...
Click to collapse
Yes that page . An older version of recovery is attched on that page. It can be downloaded here.
Now,
1. Copy the PG58IMG file into the Root folder of your SD card (The main Folder of your Memory Card)
2. Turn off your phone FUlly and reboot into the Bootloader/HBOOT screen
3. Press Volume up to Accept when it asks" Do you want to start the update"
4. Press Power Off
5. Delete PG58IMG from your memory card
6. Reboot
Alternatively ,
If you have fastboot and adb setup on your pc then download the recovery from here.
Then flash it by the following command in fastboot
"fastboot flash recovery your-recovery-file.img"
After flashing recovery download the flashable su binary from here.
Put it the root of your sdcard.
Flash it via recovery.
Now you are root.
Note: **** If you get installation aborted while flashing su binary , do toggle signature 3 or 4 times . Then try again ****
oh thank you very much, you've been a great help, I'm now rooted, now onto trying to install a new ROM, god help me
try using the guide on the cyanogenmod website! It's the one i used and the one that seemed the most helpful
I've searched there for a while but couldn't find one, could you provide a link if its not too much trouble?
dARTillery said:
oh thank you very much, you've been a great help, I'm now rooted, now onto trying to install a new ROM, god help me
Click to expand...
Click to collapse
Great it worked. Hit some thanks button.

[Q] [Solved] Noob Root Questions - Seeking Guidance

Hello all,
I know everyone hates people who post without searching the forums first, but I did and I am still very lost on what all I need to do to root my device and get going flashing ROMs with the new 2.20 Root Method.
I have used this thread to get me started (http://forum.xda-developers.com/showthread.php?t=1684382&highlight=root+guide) and I have already downloaded Android SDK from google + Platform-tools + Google USB Driver but I don't want to get going on root because in the instructions from 2.20 Root it states:
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
I have searched the above linked thread and cannot determine how to generate a custom recovery partition (unless I did when I used the command "adb -backup all" in the platform-tools folder of the Android SDK..Furthermore, I do not know what "Superuser and su" is referencing.
If anyone could point me in the right direction, I dont mind doing the reading myself but I have gotten bogged down in the details. Basically, I want to save all of you the trouble of another noob who has bricked their phone because they didn't do their homework. Thanks all for your help!
TheEmpyre said:
Hello all,
I know everyone hates people who post without searching the forums first, but I did and I am still very lost on what all I need to do to root my device and get going flashing ROMs with the new 2.20 Root Method.
I have used this thread to get me started (http://forum.xda-developers.com/showthread.php?t=1684382&highlight=root+guide) and I have already downloaded Android SDK from google + Platform-tools + Google USB Driver but I don't want to get going on root because in the instructions from 2.20 Root it states:
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
I have searched the above linked thread and cannot determine how to generate a custom recovery partition (unless I did when I used the command "adb -backup all" in the platform-tools folder of the Android SDK..Furthermore, I do not know what "Superuser and su" is referencing.
If anyone could point me in the right direction, I dont mind doing the reading myself but I have gotten bogged down in the details. Basically, I want to save all of you the trouble of another noob who has bricked their phone because they didn't do their homework. Thanks all for your help!
Click to expand...
Click to collapse
I second this request. I feel like there are loads of helpful threads but after searching for a long time I don't see anything that leads someone new to Android rooting from stock 2.2 to having something like CM10 on their device. All of the write-ups I've found assume more experience than I have. Is there a general guide somewhere that I'm missing? Maybe something that explains rooting, backing up, flashing, etc. from start to finish where we can replace "this is where you root your device" with the new rooting method? I'm assuming it's out there but I can't seem to find it anywhere.
TheEmpyre said:
I have searched the above linked thread and cannot determine how to generate a custom recovery partition
Click to expand...
Click to collapse
You don't need to "generate" anything, not sure where you got that terminology from. Just install Goomanager from the Play Store and use that to install TWRP recovery.
---------- Post added at 09:20 AM ---------- Previous post was at 09:12 AM ----------
TheEmpyre said:
Furthermore, I do not know what "Superuser and su" is referencing.
Click to expand...
Click to collapse
In plain terms a superuser = a root user. But when discussed here, it usually references the app that manages what other apps have root access.
Superuser is required to perform root functions.
You can obtain the app various ways, all discussed here: http://forum.xda-developers.com/showthread.php?t=1954361
TheEmpyre said:
Hello all,
I know everyone hates people who post without searching the forums first, but I did and I am still very lost on what all I need to do to root my device and get going flashing ROMs with the new 2.20 Root Method.
I have used this thread to get me started (http://forum.xda-developers.com/showthread.php?t=1684382&highlight=root+guide) and I have already downloaded Android SDK from google + Platform-tools + Google USB Driver but I don't want to get going on root because in the instructions from 2.20 Root it states:
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
I have searched the above linked thread and cannot determine how to generate a custom recovery partition (unless I did when I used the command "adb -backup all" in the platform-tools folder of the Android SDK..Furthermore, I do not know what "Superuser and su" is referencing.
If anyone could point me in the right direction, I dont mind doing the reading myself but I have gotten bogged down in the details. Basically, I want to save all of you the trouble of another noob who has bricked their phone because they didn't do their homework. Thanks all for your help!
Click to expand...
Click to collapse
ctennenh said:
I second this request. I feel like there are loads of helpful threads but after searching for a long time I don't see anything that leads someone new to Android rooting from stock 2.2 to having something like CM10 on their device. All of the write-ups I've found assume more experience than I have. Is there a general guide somewhere that I'm missing? Maybe something that explains rooting, backing up, flashing, etc. from start to finish where we can replace "this is where you root your device" with the new rooting method? I'm assuming it's out there but I can't seem to find it anywhere.
Click to expand...
Click to collapse
They are many simple tutorials for rooting but do not know why you guys having hard time. Ok here is
1) You got Android SDK from google + Platform-tools + Google USB Driver -
2) Only for windows - Download htc sync ( It will install necessary htc drivers) - Link
3) Just to check if htc drivers installed properly , open "C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists).
4) In command window type " adb devices" and see output - If you get output then htc drivers installed properly.
You can skip step 3 and step 4 - These steps are only for verification
5) Goto [ROOT] HTC One X AT&T 2.20 Firmware - X-Factor root exploit and follow the instructions there.
6) Once you successfully root your device using above exploit then goto - [How To] Flash Custom recovery and ROMS after 2.20 root complete the steps to flash custom recovery and if you want to flash ROMS
7) To unlock BOOT LOADER use this link - [INDEX] AT&T/ROGERS One X Resources Compilation Roll-Up , follow the instructions under " BOOTLOADER UNLOCK, SUPER CID, AND S-OFF"
You can also goto this link - [ROOT][2.20] One XL Bootloader unlock & Root guide By XsMagical - Very nice tutorial, if you find above links difficult to follow
Note* : During exploit or flashing recovery they talk about using fastboot commands, In order to execute them you need goto C:\android-sdk\platform-tools" ( Or folder where adb and fastboot exists) then "Press shift + right click and select "Open command window here" ( open command prompt and cd "folder where adb and fastboot exists) and then execute the commands ..
Advice - Do not flash any roms apart from xda
Thank you, abhipati. I haven't seen any simple tutorials that are complete. Everything seems to assume the user knows how to do something mentioned in another thread, which in turn seems to assume something else. Your post seems like a very clear start-to-finish explanation. Maybe it should be made into a stickie in Q&A. I can surely handle step 1 but maybe that could be explained (or at least a link added to an appropriate thread).
If all this is out there somewhere already then I certainly didn't know where to find it. I appreciate your help.
ctennenh said:
Thank you, abhipati. I haven't seen any simple tutorials that are complete. Everything seems to assume the user knows how to do something mentioned in another thread, which in turn seems to assume something else. Your post seems like a very clear start-to-finish explanation. Maybe it should be made into a stickie in Q&A. I can surely handle step 1 but maybe that could be explained (or at least a link added to an appropriate thread).
If all this is out there somewhere already then I certainly didn't know where to find it. I appreciate your help.
Click to expand...
Click to collapse
No problem.
Regarding step 1)
1) Download Android SDK from here {For Windows}
2) Download java you need it - here
Thank you all for helping gather some resources for me that I know are up to date etc. - Thankfully I do know a few unix commands so that I can navigate the command prompt aspects...I'm sure these threads get annoying so thank you very much for getting a new-to-root user up and running. I'll try this all later this evening and throw an update to let you all know how it goes -- hopefully no "bricked my phone" thread in the future
Excellent I have successfully unlocked my bootloader and achieved perm-root! Now on to flashing roms and I have some questions:
1) I have read GuyIncognito's instructions here (http://forum.xda-developers.com/showthread.php?t=1952076) on Flashing ROMs and how to go about doing that and i fully understand the process but I want to confirm (Yes I Have TWRP recovery installed and running) I only need to extract the boot.img out of the winRAR file of the ROM that I downloaded? (CM10 seems to be popular so I'm starting with that as my first ROM) There are so many other files in the package and I'm wondering why do you only need the boot.img file to be present with your adb and fastboot files from the google dev SDK -- the boot.img is only 5 MB and I can hardly believe that it constitutes the whole OS?
2) How do I go about installing gapps after I have flashed my ROM? I have downloaded Gapps so I have the file...do I place it in my SD Card and then enter recovery to install it? or Do have to use adb to flash it
Edit: I also have Superuser app on my stock ROM right now
Any further help is much appreciated, thank you very much.
Boot.img is technically just the kernel, it's the heart of the OS you are installing. Once extracted, rezip rom. Flash boot.img first using fastboot command prompt. Then flash the Rom itself that you rezipped through twrp
You can easily just flash gapps through twrp.
Sent from my HTC One XL using xda premium
InflatedTitan said:
Boot.img is technically just the kernel, it's the heart of the OS you are installing. Once extracted, rezip rom. Flash boot.img first using fastboot command prompt. Then flash the Rom itself that you rezipped through twrp
You can easily just flash gapps through twrp.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Thanks for the reply, the community on XDA kicks a$$, doing some additional reading just plz tell me if I understand this correctly...
1) Copy CM10 zip and Gapps zip into phone storage
2) Follow GuyIncognito's instructions on flashing boot.img
3) Boot into recovery AFTER Flashing boot.img
4) Select "Install" in TWRP
5) Install CM10 zip First
6) Install Gapps zip next
7) Reboot
8) profit?
TheEmpyre said:
Excellent I have successfully unlocked my bootloader and achieved perm-root! Now on to flashing roms and I have some questions:
1) I have read GuyIncognito's instructions here (http://forum.xda-developers.com/showthread.php?t=1952076) on Flashing ROMs and how to go about doing that and i fully understand the process but I want to confirm (Yes I Have TWRP recovery installed and running) I only need to extract the boot.img out of the winRAR file of the ROM that I downloaded? (CM10 seems to be popular so I'm starting with that as my first ROM) There are so many other files in the package and I'm wondering why do you only need the boot.img file to be present with your adb and fastboot files from the google dev SDK -- the boot.img is only 5 MB and I can hardly believe that it constitutes the whole OS?
2) How do I go about installing gapps after I have flashed my ROM? I have downloaded Gapps so I have the file...do I place it in my SD Card and then enter recovery to install it? or Do have to use adb to flash it
Edit: I also have Superuser app on my stock ROM right now
Any further help is much appreciated, thank you very much.
Click to expand...
Click to collapse
follow his instructions and you'll be fine
flash the boot.img in flashboot, reboot in recovery, flash your nameofrom.zip, flash your gapps pkg just like the rom (on your sd card), enjoy...
---------- Post added at 08:48 PM ---------- Previous post was at 08:45 PM ----------
TheEmpyre said:
Thanks for the reply, the community on XDA kicks a$$, doing some additional reading just plz tell me if I understand this correctly...
1) Copy CM10 zip and Gapps zip into phone storage
2) Follow GuyIncognito's instructions on flashing boot.img
3) Boot into recovery AFTER Flashing boot.img
4) Select "Install" in TWRP
5) Install CM10 zip First
6) Install Gapps zip next
7) Reboot
8) profit?
Click to expand...
Click to collapse
yes that;s correct you may wanna backup your sd card 1st as well and do a full wipe before flashing the rom.
Just in case your not familiar with fastboot, the command is fastboot flash boot boot.img
Sent from my HTC One XL using xda premium
Crappyvate said:
follow his instructions and you'll be fine
flash the boot.img in flashboot, reboot in recovery, flash your nameofrom.zip, flash your gapps pkg just like the rom (on your sd card), enjoy...
Click to expand...
Click to collapse
By Flash do you mean using TWRP recovery "install" feature and selecting the CM10.zip I have in my SD Card, and gapps? Just making sure I dont have to do it via command prompt cuz then I may have to do some additional reading
Edit: Just saw you all beat me to it, thanks all, will get back to you after I am running a ROM *crossfingers*
TheEmpyre said:
By Flash do you mean using TWRP recovery "install" feature and selecting the CM10.zip I have in my SD Card, and gapps? Just making sure I dont have to do it via command prompt cuz then I may have to do some additional reading
Click to expand...
Click to collapse
yes install. you dont need to do it from command prompt, additional reading is always good
even though it was put together a while back this http://forum.xda-developers.com/showthread.php?t=1678308 is a very good guide and covers a lot of things of course you should absolutely start here in redpoint indispensable guide to all the resources available to one xl http://forum.xda-developers.com/showthread.php?t=1671237
happy flashing
Alright Looks like I successfully flashed CM10! I flashed gapps with it at the same time but I have run into a problem -- It keeps telling me that all these gapps processes have failed and I have no access to a keyboard! Do I have to reflash gapps?
Hmm ok I think I messed up here....
My phone was essentially non-functional with CM10 -- Nothing worked and it took me a while to navigate to enable USB Debugging on the given mod. One I enabled USB Debugging in CM10 I ran the following:
adb reboot recovery
Once I was in recovery, I Restored a backup of my device that I made BEFORE I obtained permanent root via the toolkit as it was recommended during this time to make a recovery.
Recovery worked successfully, now after reboot it hangs on the HTC screen and then goes black, then reboots again, and again, and again...
I haven't been able to use the volume down + power button to even get back into the bootloader.....hopefully I am not screwed here...Any suggestions?
TheEmpyre said:
Hmm ok I think I messed up here....
My phone was essentially non-functional with CM10 -- Nothing worked and it took me a while to navigate to enable USB Debugging on the given mod. One I enabled USB Debugging in CM10 I ran the following:
adb reboot recovery
Once I was in recovery, I Restored a backup of my device that I made BEFORE I obtained permanent root via the toolkit as it was recommended during this time to make a recovery.
Recovery worked successfully, now after reboot it hangs on the HTC screen and then goes black, then reboots again, and again, and again...
I haven't been able to use the volume down + power button to even get back into the bootloader.....hopefully I am not screwed here...Any suggestions?
Click to expand...
Click to collapse
I think u need to flash that backups boot IMG
omario8484 said:
I think u need to flash that backups boot IMG
Click to expand...
Click to collapse
Yes that would make sense, but the problem is A) How do I access that backup's .img file? B) How can I enter bootloader again? It won't let me using Power+Vol Down, no matter how long I hold it for --- unless I need to hold it longer?
You have to hold it till the buttons flash and goes black... Hold for about 2-3 more seconds and release the power button, but keep the volume down held until you get to a white hboot screen. (it'll have three skating droids)
Sent from my HTC One XL using xda premium
InflatedTitan said:
You have to hold it till the buttons flash and goes black... Hold for about 2-3 more seconds and release the power button, but keep the volume down held until you get to a white hboot screen. (it'll have three skating droids)
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
Ok got it, did a factory reset then re-flashed CM10 boot.img...Flashed CM10 BY ITSELF this time, without doing gapps at the same time, rebooted into recovery after CM10 rolled up, then flashed gapps alone, everything is working smoothly! Now, time to restore my apps
Panicked momentarily, but now I'm back at it.
THANK YOU EVERYONE! Huge ups to all of you for helping a noob find his way

[Q] Rooting on a Mac

Hey,
I just did the 2.20 root method posted about a week ago, and I got to the white screen without a problem. I did the htc-dev stuff, and that worked too. I pressed Yes and unlocked my bootloader (or so I thought). I flashed TWRP recovery. However, I couldn't do anything else. My phone runs normally, but I checked and it is not rooted. I realize that the new 2.20 method is a temporary root, and I checked in its thread, and was pointed to this thread: http://forum.xda-developers.com/showthread.php?t=1952426. That isn't for Mac, and I wasn't able to find any way to root a 2.20 HOX, install SU, install a ROM, etc.
I installed a rom and all that on my old phone, a Motorola Atrix, without too many problems, so I'm not completely illiterate. Any help on this would be much appreciated. Thanks!
ilovesports said:
Hey,
I just did the 2.20 root method posted about a week ago, and I got to the white screen without a problem. I did the htc-dev stuff, and that worked too. I pressed Yes and unlocked my bootloader (or so I thought). I flashed TWRP recovery. However, I couldn't do anything else. My phone runs normally, but I checked and it is not rooted. I realize that the new 2.20 method is a temporary root, and I checked in its thread, and was pointed to this thread: http://forum.xda-developers.com/showthread.php?t=1952426. That isn't for Mac, and I wasn't able to find any way to root a 2.20 HOX, install SU, install a ROM, etc.
I installed a rom and all that on my old phone, a Motorola Atrix, without too many problems, so I'm not completely illiterate. Any help on this would be much appreciated. Thanks!
Click to expand...
Click to collapse
ok. first thing 1st: Did you ever install SU after flashing the recovery (twrp) ?
Crappyvate said:
ok. first thing 1st: Did you ever install SU after flashing the recovery (twrp) ?
Click to expand...
Click to collapse
no, because i don't know how to do it. should i flash it using fastboot (while the phone is in white screen)? if so, what file do I flash? I got a SU zip, but I'm not sure what to do with it. But I can confirm that I've installed twrp correctly, because I can go to twrp from the white screen by using the volume up/volume down buttons and the power button and going to Recovery.
Thanks for your help
ilovesports said:
no, because i don't know how to do it. should i flash it using fastboot (while the phone is in white screen)? if so, what file do I flash? I got a SU zip, but I'm not sure what to do with it. But I can confirm that I've installed twrp correctly, because I can go to twrp from the white screen by using the volume up/volume down buttons and the power button and going to Recovery.
Thanks for your help
Click to expand...
Click to collapse
reboot in recovery/twrp. install your su.zip (don't know where you got your su.zip and what it contains whether it has both the su binaries and Superuser apk ). Reboot. if you don't have Superuser apk download it from the market (chainfire version). Voila.
Crappyvate said:
reboot in recovery/twrp. install your su.zip (don't know where you got your su.zip and what it contains whether it has both the su binaries and Superuser apk ). Reboot. if you don't have Superuser apk download it from the market (chainfire version). Voila.
Click to expand...
Click to collapse
Okay, a couple more questions. Where should I get the su zip? I googled it and found a directory of a bunch of different versions of SU, but it hadnt been updated since like July. Also, what command do I use to install the su.zip?
./fastboot.OSX flash recovery su.zip doesn't work. I'm just now realizing that I should download it to phone memory and install in recovery from there.
Sent from my HTC One X using xda app-developers app
ilovesports said:
Okay, a couple more questions. Where should I get the su zip? I googled it and found a directory of a bunch of different versions of SU, but it hadnt been updated since like July. Also, what command do I use to install the su.zip?
./fastboot.OSX flash recovery su.zip doesn't work. I'm just now realizing that I should download it to phone memory and install in recovery from there.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
You flash the su.zip from inside twrp
http://downloads.androidsu.com/superuser/su-bin-3.1.1-arm-signed.zip
ilovesports said:
Okay, a couple more questions. Where should I get the su zip? I googled it and found a directory of a bunch of different versions of SU, but it hadnt been updated since like July. Also, what command do I use to install the su.zip?
./fastboot.OSX flash recovery su.zip doesn't work. I'm just now realizing that I should download it to phone memory and install in recovery from there.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
1. you told me you had an su.zip !! anyway: http://downloads.androidsu.com/superuser/su-bin-3.1.1-arm-signed.zip
2. I said reboot in twrp/recovery (do not flash su.zip in fastboot) and hit the install menu, select the su.zip and swipe to flash
3. go back to main menu and hit reboot and then system
4. download SuperSu.apk from chainfire in the Market
5. open it, it'll probably ask you if you want to update the binaries, go ahead and do so.
You should be good to go.
Crappyvate said:
1. you told me you had an su.zip !! anyway:
2. I said reboot in twrp/recovery (do not flash su.zip in fastboot) and hit the install menu, select the su.zip and swipe to flash
3. go back to main menu and hit reboot and then system
4. download SuperSu.apk from chainfire in the Market
5. open it, it'll probably ask you if you want to update the binaries, go ahead and do so.
You should be good to go.
Click to expand...
Click to collapse
Yeah, I had it, but I wasn't sure if I had the right one. I did and its all straight now. I was able to install su via twrp and everything worked. I now have root access. One last question (and I realize I've asked a lot of you guys, and I do really appreciate all your help), do I need to take any special steps or precautions when installing custom roms? On my atrix I just saved them to memory and then installed via cwm
Sent from my HTC One X using xda app-developers app
ilovesports said:
Yeah, I had it, but I wasn't sure if I had the right one. I did and its all straight now. I was able to install su via twrp and everything worked. I now have root access. One last question (and I realize I've asked a lot of you guys, and I do really appreciate all your help), do I need to take any special steps or precautions when installing custom roms? On my atrix I just saved them to memory and then installed via cwm
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Yes. dont fu**ing flash icecoldjelly.. or any international ROM
and always ALWAYS flash the boot.img from the rom you want to flash, then flash the rom
ilovesports said:
Yeah, I had it, but I wasn't sure if I had the right one. I did and its all straight now. I was able to install su via twrp and everything worked. I now have root access. One last question (and I realize I've asked a lot of you guys, and I do really appreciate all your help), do I need to take any special steps or precautions when installing custom roms? On my atrix I just saved them to memory and then installed via cwm
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
there is even an app for that now http://forum.xda-developers.com/showthread.php?t=1963896
Crappyvate said:
there is even an app for that now http://forum.xda-developers.com/showthread.php?t=1963896
Click to expand...
Click to collapse
Thanks, I used that. I installed a ROM. It took a long time (especially in splash screen/boot animation) so i thought i bricked my phone. i didn't. it works great. thanks!
ilovesports said:
Thanks, I used that. I installed a ROM. It took a long time (especially in splash screen/boot animation) so i thought i bricked my phone. i didn't. it works great. thanks!
Click to expand...
Click to collapse
no problem and for thanks there is a button, use it

Categories

Resources