Hello,
I recently got a Sony Xperia SP which has never been rooted before. It has the original Sony ROM with build number 12.1.A.1.201. I would like to root this phone. I tried every tool I could find on this forum, amongst other the Doomlord toolkit and towelroot. However, none of these tools was able to give me root access according to root checker apps. It seems that with my current ROM, the exploits that these tools use have been patched. Flashing TWRP as recovery does not work: the command "fastboot flash recovery twrp.img" fails with a message "Partition not found".
Could you guys recommend a strategy to root this phone without bricking it? I was thinking to flash an older ROM, root it, and then update to the new ROM. However, I don't know where to find older ROMs for my phone. Also, how do I backup my current ROM if I cannot install TWRP first? Thanks for helping me out here!
Simon
Root with towel root and you need to unlock boot loader for recovery and custom roms
ervinakoc x said:
Root with towel root and you need to unlock boot loader for recovery and custom roms
Click to expand...
Click to collapse
I'd like to, but as said before:
simon415 said:
I tried every tool I could find on this forum, amongst other the Doomlord toolkit and towelroot. However, none of these tools was able to give me root access according to root checker apps. It seems that with my current ROM, the exploits that these tools use have been patched. Flashing TWRP as recovery does not work: the command "fastboot flash recovery twrp.img" fails with a message "Partition not found".
Click to expand...
Click to collapse
https://towelroot.com/tr.apk Download from this
Related
I just traded up from an iPhone 3G to a Europe model Nexus One and am considering rooting for unrestricted access to the App Market (I am using in China), but I wanted to make sure that I've got all my facts straight about the rooting process. My bootloader is unlocked and I have flashed upgrade packages manually before, but everything else appears to be stock.
So first, root access actually only involves installing the Superboot update over the stock ROM, if there is a superboot for that ROM version, right?
This then lets you install apps that require root access (such as Market Enabler or MarketAccess), so if I just wanted unrestricted market access, then this is all that I would have to do, right?
However, getting root also lets me install a custom recovery, which gives me some nifty functions from the recovery boot, such as backing up my phone (does it do anything else? Why does Amon_RA's recovery have Busybox if it already comes with superboot?). It also allows me to install a custom ROM.
So far so good? Am I missing anything?
Are there any other methods to root? I have heard that you can install the SDK and go through ADB to manually do root, but I have not found any detailed information about this method. I have FRF91 OTA, and since there is no superboot for that yet, could I potentially got the ADB route?
Didn't miss anything.
You can go several ways: since your bootloader is unlocked, to save yourself the pain with ADB loop method, which is completely unneeded, you can just use the regular method, skipping the "unlock bootloader" part, which leaves you with "flash custom recovery" part (totally independent) and then just flash whatever ROM you like, pre-rooted. You don't need to flash a rooting file over your ROM, you just can change your ROM to pre-rooted one.
So you are saying that I can flash a custom recovery, then load a custom rom that is pre-rooted?
How do I flash a custom recovery if I am not rooted? I thought that in order to get the recovery you needed to root via superboot?
And I must have a custom recovery in order to have a pre-rooted rom, otherwise the phone will reject the package, right?
So the only thing that prevents root on the Android is the rom and recovery partition's own integrity check for whatever you are flashing? In other words, people can lose root by flashing a stock rom, and you can get root by flashing a pre-rooted rom. I seem to remember seeing some pre-rooted packages saying that you must have previously had root in order for it to work. Is that not correct, then?
Thanks.
hgcrpd said:
I just traded up from an iPhone 3G to a Europe model Nexus One and am considering rooting for unrestricted access to the App Market (I am using in China), but I wanted to make sure that I've got all my facts straight about the rooting process. My bootloader is unlocked and I have flashed upgrade packages manually before, but everything else appears to be stock.
So first, root access actually only involves installing the Superboot update over the stock ROM, if there is a superboot for that ROM version, right?
Click to expand...
Click to collapse
Not exactly - root access simply indicates having the su and superuser.apk binaries installed, and the suid bit set on su. But you are close enough. If you are running FroYo, Cyanogen and Lox have published flashable rooters.
You will already need a custom recovery to flash either of these - but since your bootloader is unlocked, a custom recovery does not pose any problem - see below...
hgcrpd said:
This then lets you install apps that require root access (such as Market Enabler or MarketAccess), so if I just wanted unrestricted market access, then this is all that I would have to do, right?
Click to expand...
Click to collapse
Yes.
hgcrpd said:
However, getting root also lets me install a custom recovery, which gives me some nifty functions from the recovery boot, such as backing up my phone (does it do anything else? Why does Amon_RA's recovery have Busybox if it already comes with superboot?). It also allows me to install a custom ROM.
Click to expand...
Click to collapse
Couple of points here:
1. No, you don't need root to install a custom recovery - you need an unlocked bootloader. In fact, you have reversed them - you usually need a custom recovery to get root! Since you have that bootloader already unlocked, you can go ahead and install Amon's recovery (or another one) and get what you need to get.
2. Recovery does not use the same shell and variables as /system. Busybox is usually installed in recovery to allow you to run things via ADB or scripts when in recovery mode without manually calling them off of system (something that would be a problem if you were formatting and rewriting system, for example).
hgcrpd said:
Are there any other methods to root? I have heard that you can install the SDK and go through ADB to manually do root, but I have not found any detailed information about this method. I have FRF91 OTA, and since there is no superboot for that yet, could I potentially got the ADB route?
Click to expand...
Click to collapse
You need to have the SDK installed (which includes adb) to unlock the bootloader in any case, right? Or did someone unlock the bootloader for you? In any case, I would just install the SDK - it's free, fast and gives you access to fastboot and adb. You need fastboot to install a custom recovery, and adb is useful for lots of things.
And there are plenty flashable root zips for FRF91. You need to first install a custom recovery!
http://forum.xda-developers.com/showthread.php?t=715799
http://forum.xda-developers.com/showthread.php?t=686627
So, if I were you:
1. Install the Android SDK on your computer to get ADB, fastboot and the necessary drivers.
2. Download and flash a custom recovery using fastboot.
3. Reboot into recovery.
4. Copy Lox or Cyan's rooter to your SD card using adb push.
5. On the phone, in recovery, do a nandroid backup!
6. Flash the zip from step 4.
7. Reboot your phone and confirm that you have root - the easiest way is to start up a terminal session and type "su". The Superuser authorization program should pop up and ask you to approve the application's request for root access. Grant it. If the prompt turns from "$" to "#", you have root.
1. No, you don't need root to install a custom recovery - you need an unlocked bootloader. In fact, you have reversed them - you usually need a custom recovery to get root! Since you have that bootloader already unlocked, you can go ahead and install Amon's recovery (or another one) and get what you need to get.
Click to expand...
Click to collapse
I see. So the post on modaco is not quite correct when it says that root is a pre-req for Amon_RA's recovery. I'm guessing that's only a pre-req if you flash via a terminal session on the phone? (By the way, is there an official terminal app? The only one I could find was Terminal Emulator.)
You need to have the SDK installed (which includes adb) to unlock the bootloader in any case, right? Or did someone unlock the bootloader for you?
Click to expand...
Click to collapse
Bootloader was unlocked when I bought it. The phone is a grey-market item that I purchased here in China, and every grey-market phone that comes in gets modified by the importers in order to add Chinese language support and such. I think that's all they did, since I've been able to do updates and get OTA without a problem.
Thanks! I will give the SDK route a try, if I get time before the superboot for FRF91 comes out.
hi there every one i updated my nexus one to 2.3.6 (GRK39F) from stock 2.3.4 (GRJ22) sorry but i did not read the post for to upgrade and keep root before upgrading to 2.3.6 and now i am suffering and thought it is not a good idea to post a question there so posting here
my problem is when i upgraded 2.3.6 i was rooted and had clockworkmod recovery image and i had a backup from rom manager as well but before upgrade i wiped the partition and cache and after upgrade i dont have SUPER USER permission nor the clockworkmod recovery tried to flash su.zip from sd card but no luck please can anyone help me get my root back pleaseeeee i need help ....
You'll have to passimg back to an earlier version of Froyo, root, restore your backup, and then flash the update and su zip...
danger-rat said:
You'll have to passimg back to an earlier version of Froyo, root, restore your backup, and then flash the update and su zip...
Click to expand...
Click to collapse
Thankyou very much danger-rat really appriciate your help but today was a bit lucky day for me
I tried to flash a recovery image through ADB and then it went well and then flashed the su.zip from sdcard that gave me superuser permission again thanks again for your help
@0mpranav
No need to flash the system partition, no need to use ADB, just flash Superboot:
Code:
https://bexton.net/2011/09/24/root-access-for-nexus-one-on-android-2-3-6-grk39f-superboot/
If your bootloader is unlocked all you have to do is reboot into fastboot mode. Flash a custom recovery such as RA or CWM, reboot directly into revovery and flash su.zip or whatever flash zip you used to root your device before. Reboot and you are rooted once again.
The following thread has a step by step how to do it. It's fast and easy.
http://forum.xda-developers.com/showthread.php?t=1019759
jboxer said:
If your bootloader is unlocked all you have to do is reboot into fastboot mode. Flash a custom recovery such as RA or CWM, reboot directly into revovery and flash su.zip or whatever flash zip you used to root your device before. Reboot and you are rooted once again.
The following thread has a step by step how to do it. It's fast and easy.
http://forum.xda-developers.com/showthread.php?t=1019759
Click to expand...
Click to collapse
Yup. This is the way every one should be doing it. It's sort of the whole point of the Nexus One. It has an unlockable bootloader.
GldRush98 said:
Yup. This is the way every one should be doing it. It's sort of the whole point of the Nexus One. It has an unlockable bootloader.
Click to expand...
Click to collapse
I have purchased two second hand Nexus Ones. The first thing I did after receiving them and charging the battery was to reboot into fastboot mode and issue "fastboot oem unlock" command. Since they were purchased second hadn I didn't thing I had a warranty anyway so unlocking the bootloader seemed to be a non brainer.
GldRush98 said:
Yup. This is the way every one should be doing it. It's sort of the whole point of the Nexus One. It has an unlockable bootloader.
Click to expand...
Click to collapse
Will any version of su.zip, and fastbook.zip work? What about recovery-RA-passion-v2.2.1.img? or should we be using a different version?
If we should be using different versions of those, could you link to where we could get them?
I've had my Nexus one half-rooted since 2.3 came out, and I haven't been able to root it back.
why mess with 2.3.6 just use oxygen 2.3.7...
kuljit55 said:
why mess with 2.3.6 just use oxygen 2.3.7...
Click to expand...
Click to collapse
I'm sorry I have no idea what that is. I don't even know if its helpful at all. Again, I don't even have root, or a custom recovery. Presently, I have an unlocked bootloader, ADB on my PC, and a half-rooted nexus one from before 2.3.
I have absolutely no idea how to do anything presently, and when someone tells me that trying to root on 2.3.6 is futile and to just use a custom update, it doesn't make any more sense to me.
Care to elaborate past one line that doesn't help at all? Hell when using shell commands through adb, it keeps on saying "permission denied" any time I type in su.
You have an unlocked bootloader, so flash a custom recovery via fastboot, and use the custom recovery to flash the su zip...
danger-rat said:
You have an unlocked bootloader, so flash a custom recovery via fastboot, and use the custom recovery to flash the su zip...
Click to expand...
Click to collapse
Thanks Danger-rat. Although I know you said nothing different that what was already said in this thread, I figured that since you didn't give me specific info about whether or not there were multiple versions of su.zip or fastboot.zip, I figured I should take that as a "No.", so I went for it. All re-rooted now.
I appreciate the help.
EDIT: So if you are as new to this stuff as I am, anyone else who's reading-
You can DL su.zip from http://www.google.com/url?sa=t&sour...ZxOuf9Kw_URvtvh9Q&sig2=Hj72LDNoiBq2Zoa4QquZWQ
and fastboot.zip from http://www.mediafire.com/?ttdkgamud3j
and amon Ra 2.2.1 from http://files.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-passion-v2.2.1.img
then follow the directions here: http://forum.xda-developers.com/showthread.php?t=1019759
** Note: again, these are for people who have unlocked bootloaders. For that info, you'll have to go elsewhere, but it should be readily available, such as this stuff is. I'm just linking it again because I know how frustrating it can be for people like me who aren't too well versed in rooting/unlocking yet.
Downgrade 2.3.6 to 2.2.2 - Nexus One
Problem:
I would like to downgrade my Nexus One to 2.2.2, because I've had non-stop problems with Gingerbread.
So I've gone through the Bootloader -> Recovery -> apply sdcard:update.zip steps, and it fails. This begs the question, how do I go from 2.3.6 to 2.2.2?
Fix:
Generally, phone manufacturers will not allow you to downgrade for various reasons. The stock recovery does indeed validate the update image, so that it's of a greater (or same) version than the installed system. With the Nexus One being a developer phone, you can unlock the bootloader and replace the recovery image with the one that doesn't perform this check, and will allow installation of any image. The caveat is that unlocking the bootloader voids your warranty with the carrier (and sometimes the manufacturer too,) and wipes all user data off the device.
Unlocking the N1 is dead easy. Just install Android SDK and the USB drivers (located in "google-usb_driver" directory.) Then restart the phone in bootloader mode by shutting it off and powering on while holding down the trackball, hook it up to the computer via USB, and in command prompt issue the following command: C:\<path to Android SDK>\tools\fastboot oem unlock. You will be presented with a confirmation screen with further instructions. Upon successful unlock, you can flash a custom recovery that will allow you to install any custom ROM, including downgrade to 2.2.x stock version of Android OS.
To flash ClockworkMod recovery, download the latest version for Nexus One from here, reboot into bootloader mode (power on while holding the trackball down,) and in command prompt issue command C:\<path to ANdroid SDK>\tools\fastboot flash recovery C:\<path to downloaded img>\recovery-clockwork-3.0.0.5-passion.img
Reboot to bootloader mode again, and then use the Volume keys to highlight the "Recovery" option and press Power button. You are now in ClockworkMod recovery, and can flash any custom ROMs via the "Install zip from sdcard" option.
Here is a "stock" 2.2.2 ROM (with root) off XDA-developers forum.
http://forum.xda-developers.com/showthread.php?t=927935
source:http://android.stackexchange.com/questions/13933/downgrade-2-3-6-to-2-2-2-nexus-one
Try It & Report Back...
Hi Guys,
I seem to have a few issues with my phone or the rooting methods.
Rooting Method 1
- unlock bootloader
- Install cwm or twrp
- root using "RAZR i Root 2 (Jellybean 4.1.2)"
Problem is once these steps have been completed my phone is rooted however, I cannot install al custom roms. I get an error 7 message on cwm and a bootloop on twrp.
FYI - if I dont root I aslo get an error 7 message hence the thinking that its a rooting issue.
If I then unroot and intall JB 4.1.2 and follow the next method:
Rooting Method 2
- root using TwerMyMoto
- unlcok bootloader
- install cwm or twrp
- root using "RAZR i Root 2 (Jellybean 4.1.2)"
I get the same errors for both recoveries.
Does anyone have any idea how I can root and install a custom rom.
PS could it also be the un-rooting that is not allowing me to re-root the rom correctly?
Thanks for any advice/help
Have you tried wiping everything (system,dalvik,data,recovery,...) then flashing another version of the recovery you have ( CWM or TWRP ) and then flashing a rom?
Sent from my XT890 using XDA Premium 4 mobile app
grampsharry said:
Hi Guys,
I seem to have a few issues with my phone or the rooting methods.
Rooting Method 1
- unlock bootloader
- Install cwm or twrp
- root using "RAZR i Root 2 (Jellybean 4.1.2)"
Problem is once these steps have been completed my phone is rooted however, I cannot install al custom roms. I get an error 7 message on cwm and a bootloop on twrp.
FYI - if I dont root I aslo get an error 7 message hence the thinking that its a rooting issue.
If I then unroot and intall JB 4.1.2 and follow the next method:
Rooting Method 2
- root using TwerMyMoto
- unlcok bootloader
- install cwm or twrp
- root using "RAZR i Root 2 (Jellybean 4.1.2)"
I get the same errors for both recoveries.
Does anyone have any idea how I can root and install a custom rom.
PS could it also be the un-rooting that is not allowing me to re-root the rom correctly?
Thanks for any advice/help
Click to expand...
Click to collapse
The first methode should do the trick easy. But u got a status 7 error from the recovery. It means that some asserts dont match. Search in google for: cwm error 7. The first link will explain your problem and give u a solution.
The second methode is unnecessary. The only thing u chanced was rooting the stock rom before doing the same thing again. Recovery has nothing to do with root acces. And root has nothing to do with recovery. But recovery can give it to the rom if u give the right packages as root can give u a recovery when unlocked and when giving the right commands and packages.
What u need to do now:
- Install a recovery
- Use the fix for the "cwm error 7" to fix your downloaded rom package
- Install the package
Always make a backup!
Hazou
Hazou said:
The first methode should do the trick easy. But u got a status 7 error from the recovery. It means that some asserts dont match. Search in google for: cwm error 7. The first link will explain your problem and give u a solution.
The second methode is unnecessary. The only thing u chanced was rooting the stock rom before doing the same thing again. Recovery has nothing to do with root acces. And root has nothing to do with recovery. But recovery can give it to the rom if u give the right packages as root can give u a recovery when unlocked and when giving the right commands and packages.
What u need to do now:
- Install a recovery
- Use the fix for the "cwm error 7" to fix your downloaded rom package
- Install the package
Always make a backup!
Hazou
Click to expand...
Click to collapse
Thanks but I have tried this method without luck.
I have also noticed that if I un-lock bootloader using EU not UK, I no longer get the error 7 but all roms install fully but I cannot boot as they bootloop. I think there is an issue with the way I re-lock the bootloader using a method by HSD-Pilot. Can I re-lock using RSD-Lite without bricking my phone???
Having an issue with the unified rooting tool (http://forum.xda-developers.com/nexus-6/orig-development/toolkit-skipsoft-unified-android-t2967053). Paid for the pro version because i enjoy supporting quality work.
Went to do the all-in-one unlock/recovery/root, however it's not rooting for me. The final step of rooting gets stuck in TWRP and nothing happens. The program says 'Recovery mode not detected' and just hangs asking me to try again, ask for help, or abort.
I have ADB and everything on and working as unified can connect to my phone, just can't get root going.
The phone is now unlocked with TWRP, but I can't achieve root. I flashed 5.0.1 via the app. Anyone have any clues?
edit: did it manually (before reading simms22's post). was hoping for lazy-automated as i paid money for the app and all.
If you have twrp installed just flash SuperSU. The newest version of SuperSU (2.37 or something I think) can be flashed like old days.
lol, learn to root a nexus the right way. its easier than using a toolkit..
1. fastboot oem unlock
2. fastboot flash yourself a recovery
3. flash the latest supersu with that new recovery
4. reboot and profit
root
I recently updated to lollipop 5.0.2 today I decided to try and root the m7 but I am having some issues
I have followed all the instructions correctly but I cannot seem to achieve root access
I have unlocked boot loader from HTC dev site and tried rooting via cwm and twrp installed via fastboot
Hboot is 1.61
Everything seems to go fine and gives no Errors but yet won't achieve root
With twrp I can never get it to ask me to gain root either
I'm sure it is something simple I am missing but I am stump at the moment
I am also s on not sure if that matters because I ublocked boot loader on HTC dev
Anyone?
This is driving me mad
reeves1985 said:
Anyone?
This is driving me mad
Click to expand...
Click to collapse
Flash TWRP 2.8.5.0 http://techerrata.com/file/twrp2/m7/openrecovery-twrp-2.8.5.0-m7.img
(TWRP not CWM)
then flash this zip from within TWRP recovery http://download.chainfire.eu/696/SuperSU
complete root setup once the phone has booted back to android by opening SuperSU
Ill give that a go now and see what happens
I have that version of twrp and I have tried that supersu before
Everything completes with no errors but it will not gain root
Ill try again now though
I can't belie've it
IT WORKED!!!!!! I now give root access
Thank you so much its been driving me insane.
I think I may have tried v1 of that super su file which did the same as v2 but wouldn't gain root