Hey guys,
I am trying to prepare my Nexus 9 to receive root (when that happens) and I was wondering if unlocking the bootloader will suffice for the time being? That means it will wipe it once, and I can start using my Nexus 9 without worrying of wiping it in the future.
Then it means as soon as TWRP comes out with a version that supports Nexus 9 I just need to flash that (no need to wipe device) and then flash SuperSU (no wiping either)
Am I missing something here?
You're right but...
Hey ombadboy
I think this will work. Don't forget to enable the oem unlock in the developer settings before. Otherwise your try to unlock will fail. Maybe you shouldn't flash the first versions of twrp, because this will be the first one for Lollipop und encrypted storage. Just boot the image once and flash superSU. So you will still get OTA updates.
After unlocking you should be able to root without losing your data twice.
After a few time and if there are no more OTAs in the near future you can flash a stable TWRP image.
funatkill said:
Hey ombadboy
I think this will work. Don't forget to enable the oem unlock in the developer settings before. Otherwise your try to unlock will fail. Maybe you shouldn't flash the first versions of twrp, because this will be the first one for Lollipop und encrypted storage. Just boot the image once and flash superSU. So you will still get OTA updates.
After unlocking you should be able to root without losing your data twice.
After a few time and if there are no more OTAs in the near future you can flash a stable TWRP image.
Click to expand...
Click to collapse
See the guide here. http://www.theandroidsoul.com/unlock-bootloader-nexus-9/
Thanks for the replied guys. Yes, that's exactly what I did; now I have an unlocked bootloader.
So if I understood this well, can I get root without flashing a custom recovery? If so, what's the purpose of flashing one?
ombadboy said:
Thanks for the replied guys. Yes, that's exactly what I did; now I have an unlocked bootloader.
So if I understood this well, can I get root without flashing a custom recovery? If so, what's the purpose of flashing one?
Click to expand...
Click to collapse
The purpose of having a custom recovery is to flash custom roms.
Here's some info for root
http://forum.xda-developers.com/nexus-9/orig-development/root-t2929118/post56516599
Hogyoku said:
The purpose of having a custom recovery is to flash custom roms.
Here's some info for root
http://forum.xda-developers.com/nexus-9/orig-development/root-t2929118/post56516599
Click to expand...
Click to collapse
Recovery allows you to flash anything to device without doing manually with root explorer, adb or fastboot. Can do most anything you can do with recovery with these 3 tools.
Related
Hey everyone, I've been using my hox+ rooted for some time now, never flashed a ROM and was wondering if I update to the new att software will I lose root?
Yes. Just make sure you have a custom recovery and flash the root installer zip. Or if you have TWRP, after a the flash, it will ask to install root.
Hey thanks for the response, I'm running twrp 2.4 the thing is I don't know whether to to let the phone update through its regular way of updating or do I flash this http://forum.xda-developers.com/showthread.php?t=2235248, the problem with flashing this is I don't
Know how to flash boot IMG. Sorry I'm a noob any help would be greatly appreciated.
Use this command in fastboot.
fastboot flash boot /location/of/boot.img
If your bootloader is unlock and your phone has a custom Recovery, the official AT&T update won't install on your phone. If you want the update, or you wait for a custom ROM with the update to be available, or you relock bootloader, and flash the latest RUU to recover the original state of your phone. Then you can still unlock with the same token and install a custom recovery to root your device.
Thanks much fellas, you've been a great help!
Hi All
I have a nexus 9 with an unlocked bootloader, root (from CF auto-root), and TWRP installed, currently on 5.0.1 LRX22C. I have read this means that I will not be able to complete an OTA due to lack of stock recovery and changes within the system files that the OTA will check.
So my question is how much of stock do I have to return to be able to do the OTA to 5.0.2 and 5.1 later today. I am hoping that I won't have to do a factory reset and wipe all the files and apps, but if so nevermind.
Do I have to relock the bootloader?
Do I have to flash back to stock completely or can I just flash a stock recovery?
If I wait will a flashable zip be created by someone, that would allow me to keep unlocked and rooted?
If this has been asked before, I am sorry, I have searched but couldn't find any clear answers that were related to lollypop.
I am used to samsung phones and the nexus ADB sideloading ect. is taking me a while to get used to, so any link to a guide would be very appreciated.
Thanks for any help,
OTA appears to checksum the entire partitions, so even remount RW could have an effect (with no intentional accesses, depending how the filesystem works). However, this doesn't make a lot of sense since any update is going to struggle to replicate the same raw filesystem data reliable - maybe this is why we are seeing 5.0.2 OTAs fail on 'stock' devices.
fallen2004 said:
Hi All
I have a nexus 9 with an unlocked bootloader, root (from CF auto-root), and TWRP installed, currently on 5.0.1 LRX22C. I have read this means that I will not be able to complete an OTA due to lack of stock recovery and changes within the system files that the OTA will check.
So my question is how much of stock do I have to return to be able to do the OTA to 5.0.2 and 5.1 later today. I am hoping that I won't have to do a factory reset and wipe all the files and apps, but if so nevermind.
Do I have to relock the bootloader?
Do I have to flash back to stock completely or can I just flash a stock recovery?
If I wait will a flashable zip be created by someone, that would allow me to keep unlocked and rooted?
If this has been asked before, I am sorry, I have searched but couldn't find any clear answers that were related to lollypop.
I am used to samsung phones and the nexus ADB sideloading ect. is taking me a while to get used to, so any link to a guide would be very appreciated.
Thanks for any help,
Click to expand...
Click to collapse
Do not relock your bootloader. It is not necessary.
Since you are rooted with a custom recovery, if you want to take the OTA, you will have to fastboot flash the stock 5.0.1 system.img, recovery.img, boot.img, and vendor.img.
IMHO, it's just as easy to fastboot flash the 5.0.2 factory images and forget about the OTA.
cam30era said:
Do not relock your bootloader. It is not necessary.
Since you are rooted with a custom recovery, if you want to take the OTA, you will have to fastboot flash the stock 5.0.1 system.img, recovery.img, boot.img, and vendor.img.
IMHO, it's just as easy to fastboot flash the 5.0.2 factory images and forget about the OTA.
Click to expand...
Click to collapse
Okay well I think I will wait until the 5.1 factory image is released, backup my phone, then fastboot flash it.
I guess I will then have to reroot and add TWRP again?
fallen2004 said:
Okay well I think I will wait until the 5.1 factory image is released, backup my phone, then fastboot flash it.
I guess I will then have to reroot and add TWRP again?
Click to expand...
Click to collapse
Do it in the other order. Fastboot flash TWRP, then flash SuperSU from inside TWRP. Very easy.
Hey all!
I just got my Note 3 (Snapdragon/Kenzo) from DX and it came with global US rom. I checked and its bootloader is already unlocked. I want to update to Miui 8 global dev but I'm worried with this unlock, is there a way to know if it was officialy or unnoficialy unlocked? I want to flash the oficial recovery rom but heard that it can brick the phone if it was unnoficialy unlocked.
link: http://www.dx.com/p/432294
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Please, help. =)
Hazihell said:
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Click to expand...
Click to collapse
That is a vendor rom.
More than likely it is unofficially unlocked, because your only allow to unlock 1 device per month for each account.
Since your bootloader is unlocked, flash an official rom (which might lock the bootloader again).
Don't flash the latest 6.0.1 rom yet as you might not be able unlock with that.
Then unlock officially.
Check the reddit xiaomi wiki for guides.
Got it! Thanks, for your answer. I realy dont mind unlocking, I just want a miui 8 dev(it has a built in root, right?). I just was afraid of what method of flashing I should use with this unnoficialy unlocked bootloader. I'm going to search this wiki for it.
And better do a Alka TWRP backup now, before anything! Then, if you get your bootloader locked, you can always restore the backup to your current status - ROM and unlocked bootloader. I have two Kenzos in the same situation, and that's the way I do it.
Nice! Will do. Can't I just use that recovery to install an updated rom? There is an annoying bug on this version, I can't open my contact or dialer app, they close befero they appear on screen, tried erasing data but no help.
Boot from TWRP without installing it, make the backup (all partitions), then make sure you get the backup on your PC. After that you can install TWRP and make whatever you wish.
And don't forget, if you need to restore, do it without restoring the firmware partition, or else you'll get an error.
Thansk! But I think I will stick with the global dev. Can I flash it via Fastboot (MiFlash)? This unnoficial unlock wont cause any trouble, right ?
This is not an unofficial unlock. Is isn't either official
My phones came with some vendor MIUI's - 7.4.9.0(LHOCNDD), respectively 7.4.18.0(LHOMIDD), but I never flashed another MIUI, just custom ROMs. For what I know, if you flash via fastboot it will wipe the entire partition structure, including boot and recovery, and the bootloader will get locked. In that case you can not restore the backup you make now. You'll have to apply for official unlocking, or go unofficial.
Hazihell said:
Hey all!
I just got my Note 3 (Snapdragon/Kenzo) from DX and it came with global US rom. I checked and its bootloader is already unlocked. I want to update to Miui 8 global dev but I'm worried with this unlock, is there a way to know if it was officialy or unnoficialy unlocked? I want to flash the oficial recovery rom but heard that it can brick the phone if it was unnoficialy unlocked.
link: http://www.dx.com/p/432294
It came with Miui 7.3 Stable (7.3.2.0.0 LHOCNDD)
Please, help. =)
Click to expand...
Click to collapse
that means.. you recieved an unboxed device, may be refurbished, repacked and resealed and sold $25 costlier than the original. :silly:
Not necessarily. I have two, buyed from a local big online store, both came with unlocked bootloader. Both boxes were sealed, with no sign of foreign hands
I have 7.3.2.0.0 LHOCNDD rom and unlocked bootloader. Can I just type on fastboot:
fastboot flash recovery recoveryAlkaUpdate.img
to get twrp(alka)?
Thats work!
paul_damian said:
This is not an unofficial unlock. Is isn't either official
My phones came with some vendor MIUI's - 7.4.9.0(LHOCNDD), respectively 7.4.18.0(LHOMIDD), but I never flashed another MIUI, just custom ROMs. For what I know, if you flash via fastboot it will wipe the entire partition structure, including boot and recovery, and the bootloader will get locked. In that case you can not restore the backup you make now. You'll have to apply for official unlocking, or go unofficial.
Click to expand...
Click to collapse
I have the same MIUI vendor as you, 7.4.9.0(LHOCNDD), what method did you use to install TWRP? I only want to install AOSP/CM based ROM on this device. I want to flash it ASAP cause this MIUI ROM have a Trojan downloader, which luckily can be disabled.
I used Cofface on first phone, Alka on the second. Before flashing, first boot from TWRP image, make backup of all partitions to the SD card, copy the backup on computer, and only after that flash the TWRP image. After that... flash ROMs
paul_damian said:
I used Cofface on first phone, Alka on the second. Before flashing, first boot from TWRP image, make backup of all partitions to the SD card, copy the backup on computer, and only after that flash the TWRP image. After that... flash ROMs
Click to expand...
Click to collapse
I followed a tutorial that uses ZXC TWRP while on MIUI. Then I flashed ALKA, I'm on Nexus Experience now.
My little beast is just 20 days old i was sony user back then.. in sony there when i want to root i use kingroot and its do my work without bootloops and anything like that... And when i want to unlock bootloader it just i want to backup my drm keys and restore then and relock bootloader when i want to my warranty..
Now i have redmi
I'm soo confused
What i need
1. I need root to delete blots that i don't use...
2.i want to try custom roms
3.i don't want to void my warranty.
4.i want to update to marshmallow miui how i can do
I hope your guys will help me
Grajatyadav said:
My little beast is just 20 days old i was sony user back then.. in sony there when i want to root i use kingroot and its do my work without bootloops and anything like that... And when i want to unlock bootloader it just i want to backup my drm keys and restore then and relock bootloader when i want to my warranty..
Now i have redmi
I'm soo confused
What i need
1. I need root to delete blots that i don't use...
2.i want to try custom roms
3.i don't want to void my warranty.
4.i want to update to marshmallow miui how i can do
I hope your guys will help me
Click to expand...
Click to collapse
In Xiaomi you there isn't any TA partition so you don't have to worry about DRM keys. You can simply unlock bootloader and fastboot flash TWRP recovery and SuperSU binary via recovery to get root access.
I recommend you to unlock bootloader and flash zcx recovery and create a full nandroid backup before mounting system partition. This way you have a complete backup of the current state and you can return to it at any time.
You can install any custom ROM via recovery.
Unlocking bootloader won't void the warranty.
If you want to use marshmallow you can either flash beta MIUI ROM with/without unlocking bootloader or unlock the bootloader and flash a MM based ROM via recovery.
You can return to factory state at any time by either flashing MIUI fastboot ROM via EDL mode on locked/unlocked bootloader or by flashing fastboot ROM via fastboot mode on unlocked bootloader.
BlueJeans said:
In Xiaomi you there isn't any TA partition so you don't have to worry about DRM keys. You can simply unlock bootloader and fastboot flash TWRP recovery and SuperSU binary via recovery to get root access.
I recommend you to unlock bootloader and flash zcx recovery and create a full nandroid backup before mounting system partition. This way you have a complete backup of the current state and you can return to it at any time.
You can install any custom ROM via recovery.
Unlocking bootloader won't void the warranty.
If you want to use marshmallow you can either flash beta MIUI ROM with/without unlocking bootloader or unlock the bootloader and flash a MM based ROM via recovery.
You can return to factory state at any time by either flashing MIUI fastboot ROM via EDL mode on locked/unlocked bootloader or by flashing fastboot ROM via fastboot mode on unlocked bootloader.
Click to expand...
Click to collapse
Thanks.. for replying.. now some confusion are sortedout...
One thing more.. i juts want to delete some bloatware can i just root my phone with kingroot and delete them from system and enjoy miui stble latest version as I'm new i want to use miui more and Don't need recovery and all as of now. I hope help..
I just need to root for blot remove and usibg greenyfy and some more apps and i just need do simple step
Grajatyadav said:
Thanks.. for replying.. now some confusion are sortedout...
One thing more.. i juts want to delete some bloatware can i just root my phone with kingroot and delete them from system and enjoy miui stble latest version as I'm new i want to use miui more and Don't need recovery and all as of now. I hope help..
I just need to root for blot remove and usibg greenyfy and some more apps and i just need do simple step
Click to expand...
Click to collapse
I won't recommend you to use kingroot to root the device due to following reasons:
1) I don't trust these shady chinese closed source apps that relies on software vulnerability.
2) If you've rooted by any method without unlocking bootloader you won't be able to flash "incremental" OTA updates as it verifies system partition before flashing. However, you should be able to flash MIUI full recovery ROM that'll overwrite the whole image without verifying for the changes. Unlike OTA it's usually about 1.2GB in size. There's another method to flash OTA without system image verification which involves removal of a few lines from updater-script but I haven't tested it yet on stock recovery.
BlueJeans said:
I won't recommend you to use kingroot to root the device due to following reasons:
1) I don't trust these shady chinese closed source apps that relies on software vulnerability.
2) If you've rooted by any method without unlocking bootloader you won't be able to flash "incremental" OTA updates as it verifies system partition before flashing. However, you should be able to flash MIUI full recovery ROM that'll overwrite the whole image without verifying for the changes. Unlike OTA it's usually about 1.2GB in size. There's another method to flash OTA without system image verification which involves removal of a few lines from updater-script but I haven't tested it yet on stock recovery.
Click to expand...
Click to collapse
So now i will first officialy unlock bootloader then twrp and super su then i will make a full backup now more questions
If i flash CyanogenMod and in case i want to back to miui then how i will do that and also how i can install miui marshmallow beta and will you suggest me???
Thank you soo much budy u are helping me soo much
Grajatyadav said:
So now i will first officialy unlock bootloader then twrp and super su then i will make a full backup now more questions
If i flash CyanogenMod and in case i want to back to miui then how i will do that and also how i can install miui marshmallow beta and will you suggest me???
Thank you soo much budy u are helping me soo much
Click to expand...
Click to collapse
1) If you want to revert back to MIUI from CyanogenMod, restore nandroid backup. But make sure to backup every partition in TWRP recovery first before any modification. And don't allow system modification on the first boot to recovery. Firstly, create a full backup and then you can flash whatever ROM you like. In case you want to switch back, restore the full backup except "firmware" partition. I suggest you to use zcx recovery. You can find more about it in the xda thread.
2) If you don't have a TWRP backup, you can revert to stock ROM by flashing MIUI fastboot ROM via pc in fastboot mode. You can do the same in EDL mode but it'll wipe everything including internal storage.
3) If you want to install MIUI beta ROM based on MM, you can do that both on a locked and unlocked bootloader. Go to en.miui.com and download the latest beta ROM, put it on your internal storage and use the updater app to install it.
4) If you do the step (3) and want to revert back to MIUI stable based on LP, then you'll face sim detection issue which can be fixed by flashing modem (NON-HLOS.bin) of the same stable ROM via fastboot on unlocked bootloader. This is a bug from Xiaomi side.
5) You can use MIUI beta ROM, actually it's more stable than MIUI stable ROM and most people prefer it over stable.
Hope that helps
BlueJeans said:
1) If you want to revert back to MIUI from CyanogenMod, restore nandroid backup. But make sure to backup every partition in TWRP recovery first before any modification. And don't allow system modification on the first boot to recovery. Firstly, create a full backup and then you can flash whatever ROM you like. In case you want to switch back, restore the full backup except "firmware" partition. I suggest you to use zcx recovery. You can find more about it in the xda thread.
2) If you don't have a TWRP backup, you can revert to stock ROM by flashing MIUI fastboot ROM via pc in fastboot mode. You can do the same in EDL mode but it'll wipe everything including internal storage.
3) If you want to install MIUI beta ROM based on MM, you can do that both on a locked and unlocked bootloader. Go to en.miui.com and download the latest beta ROM, put it on your internal storage and use the updater app to install it.
4) If you do the step (3) and want to revert back to MIUI stable based on LP, then you'll face sim detection issue which can be fixed by flashing modem (NON-HLOS.bin) of the same stable ROM via fastboot on unlocked bootloader. This is a bug from Xiaomi side.
5) You can use MIUI beta ROM, actually it's more stable than MIUI stable ROM and most people prefer it over stable.
Hope that helps
Click to expand...
Click to collapse
Thnk you soo much bro
Correct me if I'm wrong, but I've learned that TWRP has not been released for this device yet. I need to use Magisk to modify the boot image, then flash it using fastboot. So I would have rooted, without unlocking bootloader, without installing TWRP.
I have two questions. My first question is, is it safer to unlock the bootloader now for anticipation of a future TWRP release?
Scenario 1: Keep bootloader locked, maybe root. But when TWRP is released, in order to flash a custom recovery, I'll need to unlock bootloader, which will wipe all my data, which I don't want.
Scenario 2: Unlock bootloader now, maybe root. When TWRP is released, I can install it without needing to factory reset.
Question 2: Should I root now or wait until TWRP is released? I am used to using systemless magisk. In TWRP, I used to choose the option for mounting system r/o and flash magisk systemlessly. However without TWRP the option is to patch the boot image. I'm confused as to whether or not this still constitutes a systemless root. Is there any difference between
A) rooting using patched boot image with fastboot
B) flashing magisk systemlessly in TWRP
You cant have root with locked bootloader. And to answer your last questions in both scenarios you do the same but in different way
You'll need to unlock the bootloader in order to root, regardless whether a custom recovery is working or not.
Question 2:
Systemless magisk means it doesn't touch your system.
(And ift literally can't, since in Android 10 it's permanent read only)
There is only one way to root with magisk, and that is by patching the boot image. With TWRP you do it on the fly, but since we don't have TWRP we extract the boot and patch in manually. Same thing, just 2 different ways.
(So of course, it's still systemless)
Sent from my OnePlus7TPro using XDA Labs
EugenStanis said:
You cant have root with locked bootloader. And to answer your last questions in both scenarios you do the same but in different way
Click to expand...
Click to collapse
Lossyx said:
You'll need to unlock the bootloader in order to root, regardless whether a custom recovery is working or not.
Question 2:
Systemless magisk means it doesn't touch your system.
(And ift literally can't, since in Android 10 it's permanent read only)
There is only one way to root with magisk, and that is by patching the boot image. With TWRP you do it on the fly, but since we don't have TWRP we extract the boot and patch in manually. Same thing, just 2 different ways.
(So of course, it's still systemless)
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
Thanks for the clarification guys.