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...
Just had a problem after using root toolkit to attempt root on nexus 6 with marshmellow. (6.0 ), build MRA58R. After this attempt, got the message that" device is corrupted" and would not boot into system. Luckily bootloader was still unlocked and was able to flash stock image. Phone boots fine now with Boatloader unlcocked, and TWRP is gone, with no root. How do I root from here and install TWRP again without going through what happened before.
In the beginners guide to root, Chanifire's link hasn't been working and I want to be sure I do this right to avoid what happened with the toolkit. Also, my phone is setup with apps and data, and I dont't want to loose my setup.
Thanks for your help.
ccf60 said:
Just had a problem after using root toolkit to attempt root on nexus 6 with marshmellow. (6.0 ), build MRA58R. After this attempt, got the message that" device is corrupted" and would not boot into system. Luckily bootloader was still unlocked and was able to flash stock image. Phone boots fine now with Boatloader unlcocked, and TWRP is gone, with no root. How do I root from here and install TWRP again without going through what happened before.
In the beginners guide to root, Chanifire's link hasn't been working and I want to be sure I do this right to avoid what happened with the toolkit. Also, my phone is setup with apps and data, and I dont't want to loose my setup.
Thanks for your help.
Click to expand...
Click to collapse
rooting marshmallow..
1. unlock the bootloader(yours is there already)
2. fastboot flash twrp recovery.
3. flash the latest supersu in twrp recovery
4. flash a custom marshmallow kernel, any. this ones new for marshmallow, and is needed.
5. boot up.
simms22 said:
rooting marshmallow..
1. unlock the bootloader(yours is there already)
2. fastboot flash twrp recovery.
3. flash the latest supersu in twrp recovery
4. flash a custom marshmallow kernel, any. this ones new for marshmallow, and is needed.
5. boot up.
Click to expand...
Click to collapse
Thank you.
ccf60 said:
Just had a problem after using root toolkit to attempt root on nexus 6 with marshmellow. (6.0 ), build MRA58R. After this attempt, got the message that" device is corrupted" and would not boot into system. Luckily bootloader was still unlocked and was able to flash stock image. Phone boots fine now with Boatloader unlcocked, and TWRP is gone, with no root. How do I root from here and install TWRP again without going through what happened before.
In the beginners guide to root, Chanifire's link hasn't been working and I want to be sure I do this right to avoid what happened with the toolkit. Also, my phone is setup with apps and data, and I dont't want to loose my setup.
Thanks for your help.
Click to expand...
Click to collapse
how did you manage to flash stock again after corrupt. mine wont recognize adb while corrupt. please give step by step
nvm. i got it finally
You don't flash with adb, but with fastboot.
The steps are:
1. Turn on phone with pressing vol down and power.
Sent from my Nexus 6 running cyosp using Tapatalk
I just picked up a Nexus 6 to give Project Fi a shot. I figure I might as well root it before setting up all my apps and whatnot. I'm using the Nexus Root Toolkit 2.1.9 and am having some issues. I have all the drivers installed and set up correctly but I can only seem to get ADB to recognize the phone if I change the USB option to Transfer Photos (PTP). During the root process the phone temporarily boots to TWRP and it's at this point where NRT loses ADB recognition and won't finish rooting. Is there something else that I'm overlooking?
You own a Nexus, take 5 minutes to learn ADB and fastboot commands and you don't need a toolkit. To root it, all you should have to do is flash SuperSU in TWRP. But if you used some stupid toolkit to install TWRP, who knows if it worked right or is the most up to date version.
Get the latest version of TWRP (twrp-3.0.3-0-shamu.img) from here and flash it by using "fastboot flash recovery twrp-3.0.3-0-shamu.img" then reboot into TWRP, drag the SuperSU SR3 zip onto your phones storage (you can either do this from in TWRP or from normal Android), flash it and reboot. Boom, you have root.
I'm definitely no stranger to ADB and Fastboot as I've owned other Nexus devices in the past put it's been a few years. I already had NRT installed so I just went that route out of laziness lol. Thanks for the links to the latest SU and TWRP. I'll flash 'em the old fashioned way.
I ran into the same issue with NRT, but to get it to root, I just gave TWRP a password when it asked to mount (it won't do anything anyway..fail to mount), then when asked whether to "Keep System Read only", I clicked the "Never show this screen during boot again" checkbox, then swiped to allow the modification to the system partition, which will then bypass that query when it goes back to TWRP to complete the root script. I hope this helps someone in the future.
By the way, I flashed N6F26R before the root.
So I followed a guide off of YouTube on how to root this phone. The steps were simply put use fastboot to enable oem unlocking. Use adb to push twrp. Use twrp to flash supersu walla you have rooted stock rom. I attempted this and got stuck after flashing supersu. The rom would not boot. I let it sit for 15 mins. Held the power button let it try again. Again it didn't boot. So I fiddled with it trying to figure out how to get stock rooted and wasnt able to. I could flash a stock image in twrp and it would boot. But as soon as I flashed supersu it would no longer boot. I read somewhere I needed a different supersu so I tried that one. Just asking simply how can I achieve stocked rooted. I also don't understand the encryption thing this phone has. Apparently you have to delete a partition to get rid of it but at boot it will just encrypt again. Any information on that would be greatly appreciated. Sorry for any spelling or grammar mistakes. Writing this out over my lunch break.
jakeneal22 said:
So I followed a guide off of YouTube on how to root this phone. The steps were simply put use fastboot to enable oem unlocking. Use adb to push twrp. Use twrp to flash supersu walla you have rooted stock rom. I attempted this and got stuck after flashing supersu. The rom would not boot. I let it sit for 15 mins. Held the power button let it try again. Again it didn't boot. So I fiddled with it trying to figure out how to get stock rooted and wasnt able to. I could flash a stock image in twrp and it would boot. But as soon as I flashed supersu it would no longer boot. I read somewhere I needed a different supersu so I tried that one. Just asking simply how can I achieve stocked rooted. I also don't understand the encryption thing this phone has. Apparently you have to delete a partition to get rid of it but at boot it will just encrypt again. Any information on that would be greatly appreciated. Sorry for any spelling or grammar mistakes. Writing this out over my lunch break.
Click to expand...
Click to collapse
I always use this toolkit: https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
So far it worked flawlesly and saved me trouble.
jakeneal22 said:
So I followed a guide off of YouTube on how to root this phone. The steps were simply put use fastboot to enable oem unlocking. Use adb to push twrp. Use twrp to flash supersu walla you have rooted stock rom. I attempted this and got stuck after flashing supersu. The rom would not boot. I let it sit for 15 mins. Held the power button let it try again. Again it didn't boot. So I fiddled with it trying to figure out how to get stock rooted and wasnt able to. I could flash a stock image in twrp and it would boot. But as soon as I flashed supersu it would no longer boot. I read somewhere I needed a different supersu so I tried that one. Just asking simply how can I achieve stocked rooted. I also don't understand the encryption thing this phone has. Apparently you have to delete a partition to get rid of it but at boot it will just encrypt again. Any information on that would be greatly appreciated. Sorry for any spelling or grammar mistakes. Writing this out over my lunch break.
Click to expand...
Click to collapse
What version of supersu you installed, and on what version of system you were ?
I was on the latest official version of both as of yesterday. I will try the toolkit when I get home. With this toolkit are you able to root the new 7.1? I tried that out and liked it when attempting to get back to stock. Ultimately the goal is the newest software one plus has to offer with root, snapchat working, and a custom kernel set for better battery life.
You probably flashed an older version of SuperSU, which will cause endless boot animation. The SuperSU included in the toolkit should be the latest stable version. Alternatively, you could root with Magisk, which I have personally found to be easier to install (not as many branched versions) and use. Magisk is not the same as SuperSU, but they both result in the same outcome - systemless root. It's also easier to hide root from other apps (such as Snapchat) using Magisk through the Magisk Manager app. You can find out more about it here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Toolkit worked perfectly for me. I flashed the latest beta directly from one plus and installed snapchat and logged in. Used the toolkit to root and install franco kernel. Moderator please close this thread.
Are there any issues using adb backup to babkup all apps and restore after unlocking the bootloader? Or is there any better way to backup apps?