Root Nexus 5x running Android N (Mac Users) - Nexus 5X Q&A, Help & Troubleshooting

Sorry if this question seems to be noob, but even after looking several different tutorials, I still have some doubt regarding the right procedure to take in order to root my Nexus 5x running Android Nougat.
When I bought my Nexus 5x, it was already rooted with TWRP on it. Before I have been running some Custom ROMs on it, so I know how to flash ROMs on it.
I decided to flash the Android N Zip file posted here in XDA, but did not flash Supersu with it. After the installation process, TWRP is no longer there and the phone lost root access. From Nexus 5x Bootloader menu, it shows that OEM is still unlocked as before.
Since I am a MAC user, can you guys give some advice of how to install TWRP from this point?
Thanks in advance!

It's the same as on a pc but the command line is a little different. I'm not a Mac user but I believe the command is
./fastboot flash recovery twrp.img
Use twrp 3.0.2-1
Sent from my Nexus 9 using XDA-Developers mobile app

It worked, thanks so much for your tip.

Related

Unlocking & Root N7 (2013) on Kit Kat?

Hey everyone, Im new here, just got the Nexus 7 2013 Asus.
I updated to Kit Kat right away, I tried using that root toolkit thing or whatever... it got my tablet unlocked but it would stay stuck on a message that it was trying to boot some .img file when I clicked root...
Long story short, I restored 2 times and I guess that doesnt work with Kit Kat yet... and I relocked my tablet. Anyway know how I can correctly unlock and root my new Nexus 7 on Kit Kat?
After an unlock you can manually flash the recovery IMG then just flash the super su zip for root.
Adb fastboot recoveryimage.IMG
Then the super su zip can be flashed once in a custom recovery.
If needed I can do a team viewer with you and get you all set up.
prshosting.org
ta_help said:
Hey everyone, Im new here, just got the Nexus 7 2013 Asus.
I updated to Kit Kat right away, I tried using that root toolkit thing or whatever... it got my tablet unlocked but it would stay stuck on a message that it was trying to boot some .img file when I clicked root...
Long story short, I restored 2 times and I guess that doesnt work with Kit Kat yet... and I relocked my tablet. Anyway know how I can correctly unlock and root my new Nexus 7 on Kit Kat?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2536420
Make sure you download the correct custom recovery for your device (prerequisite 3).
Sent from my Nexus 6 using Tapatalk 4
Unlocked & Rooted N7 on 4.3.1 will it stay so after update to 4.4 ?
prsterero said:
After an unlock you can manually flash the recovery IMG then just flash the super su zip for root.
Adb fastboot recoveryimage.IMG
Then the super su zip can be flashed once in a custom recovery.
If needed I can do a team viewer with you and get you all set up.
prshosting.org
Click to expand...
Click to collapse
Dear Experts,
I'm still new at this game, so bear with me please.
I have a LTE N7 on 4.3.1 (JLS361) that is unlocked & rooted.
Now I get tho OTA Update to 4.4 (KRT16S) downloaded & ready to install.
Aside from all those bad things that don't work anymore in 4.4 (eg. FLASH), what will happen ?
Will my N7 revert to a locked & unrooted device ? or will it stay unlocked & rooted ?
Or will it stay unlocked, but unrooted, and I only need to flash the SuperSU ZIP again ?
Thanks for enlightening me.
JMF
fiechterjm said:
Dear Experts,
I'm still new at this game, so bear with me please.
I have a LTE N7 on 4.3.1 (JLS361) that is unlocked & rooted.
Now I get tho OTA Update to 4.4 (KRT16S) downloaded & ready to install.
Aside from all those bad things that don't work anymore in 4.4 (eg. FLASH), what will happen ?
Will my N7 revert to a locked & unrooted device ? or will it stay unlocked & rooted ?
Or will it stay unlocked, but unrooted, and I only need to flash the SuperSU ZIP again ?
Thanks for enlightening me.
JMF
Click to expand...
Click to collapse
It will stay unlocked, but unrooted, and you only need to flash the supersu zip again.
Sent from my Nexus 6 using Tapatalk 4
xdhall said:
It will stay unlocked, but unrooted, and you only need to flash the supersu zip again.
Sent from my Nexus 6 using Tapatalk 4
Click to expand...
Click to collapse
Mine is also unlocked and rooted and want to upgrade to KK.
When you said flash, you meant I had to install TWRP first then flash SU again?
I am curious because when I first rooted my N7, I used the Nexus 7 Toolkit and did not install TWRP. Can't I just use the toolkit again to re-root?
lanwarrior said:
Mine is also unlocked and rooted and want to upgrade to KK.
When you said flash, you meant I had to install TWRP first then flash SU again?
I am curious because when I first rooted my N7, I used the Nexus 7 Toolkit and did not install TWRP. Can't I just use the toolkit again to re-root?
Click to expand...
Click to collapse
If you had a TWRP installed and downloaded the superuser binaries when you rooted initially, all you need to do is flash them again by pressing the "install" button in recovery. Based on the way he asked it, I believe that was the context of the question.
If you don't, you should install a custom recovery:
Wi-Fi only: http://techerrata.com/browse/twrp2/flo
LTE: http://techerrata.com/browse/twrp2/deb
Then download the superuser binaries to your N7:
http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
And flash them by pressing the "install" button in recovery.
Your toolkit might work, but why not just do it yourself?
Full instructions (skip unlocking the bootloader):
http://forum.xda-developers.com/showthread.php?t=2536420
Sent from my Nexus 6 using Tapatalk 4
xdhall said:
If you had a TWRP installed and downloaded the superuser binaries when you rooted initially, all you need to do is flash them again by pressing the "install" button in recovery. Based on the way he asked it, I believe that was the context of the question.
If you don't, you should install a custom recovery.
Click to expand...
Click to collapse
I assume there's no other way to re-root other than installing TWRP?
lanwarrior said:
I assume there's no other way to re-root other than installing TWRP?
Click to expand...
Click to collapse
You can install another custom recovery, e.g., clockworkmod.
Some toolkits reflash stock recovery after rooting, but that could only useful if you have something like a Samsung or HTC. Absolutely no point on a nexus device.
Sent from my Nexus 6 using Tapatalk 4
xdhall said:
You can install another custom recovery, e.g., clockworkmod.
Some toolkits reflash stock recovery after rooting, but that could only useful if you have something like a Samsung or HTC. Absolutely no point on a nexus device.
Sent from my Nexus 6 using Tapatalk 4
Click to expand...
Click to collapse
Thanks again for the help, xdhall. Sorry if I sound like a newbie, but I had the Note 8.0, I rooted and I could never get it back to stock. The original stock image for the US Note 8.0 was not available so I was stuck.
Didn't want the same thing happened with the N7, but you brought up a good point... this IS a Nexus device!
Thanks
xdhall said:
It will stay unlocked, but unrooted, and you only need to flash the supersu zip again.
Sent from my Nexus 6 using Tapatalk 4
Click to expand...
Click to collapse
Thanks xdhall.
That makes it much easier to get back to ROOT then.
Just having to reboot in Recovery Mode and install the latest superSU.zip will be a breeze.
I'll probably wait a few weeks/months to upgrade to 4.4 though, as the comments on the 4.4 release are not that good, and I have several very important (for me) sites that still use Adobe Flash.
Anyway, I'm glad I haven't to start from scratch (backup, unlock, restore, flash recovery, flash superSU), as this is extremely time-consuming and tedious.
Again Thanks & have a nice WE.

Returning to Kitkat after trying L

Hey all, I tried searching for a solution to no avail. I tried the L dev preview and found it too buggy to keep. I would like to return to kitkat. Is there a step by step guide for this somewhere in this forum? Thanks for the help in advance.
jigz23 said:
Hey all, I tried searching for a solution to no avail. I tried the L dev preview and found it too buggy to keep. I would like to return to kitkat. Is there a step by step guide for this somewhere in this forum? Thanks for the help in advance.
Click to expand...
Click to collapse
Well, I used MultiROM to try out L, now someone else on here had moved to L without MultiROM, and when they wanted to go back like you, they found that fastboot they had would not recognize the bootloader of L, whether this was an issue of the L bootloader being too new for the released fastboot or if it was user error, I do not know, the person never followed up.
That being said, one thing, DO NOT fastboot erase the bootloader, just don't, you'll hardbrick your device.
So let's say that fastboot will work fine on the L bootloader and it was user error.
Assuming you have nothing on there you want, you can use Google's factory images and just let it do its thing. Install fastboot stuff, run a .bat file. Easy peasy.
You can also try Wug's Toolkit.
But if you like trying things out like that, you might want to look into MultiROM.
You could in theory install MultiROM on Android L, install a kernel with kexec patch (can now be done within MultiROM app), then install 4.4.4 as secondary using tasssadars flashable 4.4.3, grab the OTA (or flash 4.4.4 system.img), then swap ROMs (Done in MultiROMS custom TWRP).
mdamaged said:
Well, I used MultiROM to try out L, now someone else on here had moved to L without MultiROM, and when they wanted to go back like you, they found that fastboot they had would not recognize the bootloader of L, whether this was an issue of the L bootloader being too new for the released fastboot or if it was user error, I do not know, the person never followed up.
That being said, one thing, DO NOT fastboot erase the bootloader, just don't, you'll hardbrick your device.
So let's say that fastboot will work fine on the L bootloader and it was user error.
Assuming you have nothing on there you want, you can use Google's factory images and just let it do its thing. Install fastboot stuff, run a .bat file. Easy peasy.
You can also try Wug's Toolkit.
But if you like trying things out like that, you might want to look into MultiROM.
You could in theory install MultiROM on Android L, install a kernel with kexec patch (can now be done within MultiROM app), then install 4.4.4 as secondary using tasssadars flashable 4.4.3, grab the OTA (or flash 4.4.4 system.img), then swap ROMs (Done in MultiROMS custom TWRP).
Click to expand...
Click to collapse
Thanks a bunch. After doing some more research I came across this website: http://www.cultofandroid.com/65592/downgrade-android-kitkat-android-l-nexus-5-7/ and it worked like a charm! Thanks again!
Flash a custom recovery like twrp in a android SDK command window and then just flash a KitKat image.
Here's one http://www.scottsroms.com/downloads.php?do=cat&id=94
Sent from my Nexus 7 using XDA Premium 4 mobile app

Rooting on the latest update

Hello every one.
Thanks for all the wonderful info here. With the help of one of the tutorial I had rooted my find 7A on my Mac using terminal. And a couple of days back had installed the color OS 2.0.2i beta version through TWRP. Today as it prompted for an update I installed it and later saw that the it had replaced the TWRP image with the stock image. So tried pushing the previous TWRP I had installed through terminal again but it now says failed to install as the phone is not unlocked. So I believe the latest update by OPPO has blocked the rooting. So can some one please help with this?
Sent from my X9006 using XDA Free mobile app
Search for OEM unlock fastboot
Yes, and to answer your question: you indeed need to boot into fastboot mode and then type in 'fastboot oem unlock'. This will wipe your phone entirely (correct me if I'm wrong) so make a backup somewhere! As you should always do when tinkering. This thread has more info on how to go about the actual rooting thereafter, it's a bit tedious http://www.oppoforums.com/index.php?threads/17703/
Also, on 2.0.2i don't flash OTA's because they will break your root and you will have to go about the process again.
Hope this helps
Sent from my X9006 using XDA Free mobile app

To root the nexus 5x or to not root

Hey, I opened my new nexus 5x a couple days ago and it's been running great. However, I came from an htc one m7 that was rooted and had greenify auto hibernation thing. So, I sorta feel like rooting just for the greenify auto hibernation feature.
The reason why I don't feel like rooting this is because I spend too much time on upgrading (to new versions of a rom, and having to redownload everything over). Do you guys think it's worth rooting? How do you deal with updates of a rom?
If I root, I would just stick to one rom (the most stable one and wait for updates on that I guess, since updates to a rom don't require clean install of rom)
Like you I came from rooted M7 (running ARHD) . I did not even unlock the bootloader on my 5X.. and am quite satisfied.
Either way, you should unlock your bootloader. It is far easier to resolve any issues with your bootloader unlocked.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
Either way, you should unlock your bootloader. It is far easier to resolve any issues with your bootloader unlocked.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Not to mention, unlocking requires a complete wipe... Might as well get that out of the way
Sent from my Nexus 5X using Tapatalk
so wait, unlock bootloader, as in I should root my phone?
Unlocking bootloader just unlocks it, it doesn't do anything other.
You can decide then if you want to root or not, but it would be wise to unlock it anyway if you ever change your mind because your phone is completely wiped when you unlock it, so it better be the first thing you do with your phone...
You can use the guide here to unlock it
https://developers.google.com/android/nexus/images?hl=en
If you do decide to root, to upgrade to a new version you just flash it manually without wiping your data, so you don't need to reinstall anything. And after that just re-root, and that's it...
As mentioned above as long as you stick with one rom you dont need to wipe internal storage with each update (usually data, system and cache) if that and reinstall su as current versions of superuser dont modify the the system partition.
Root gives more freedom with your phone easy backups with titanium and potentially better battery life or a rom more suited to your needs.
Sent from my Nexus 5X using Tapatalk
The_Automator said:
As mentioned above as long as you stick with one rom you dont need to wipe internal storage with each update (usually data, system and cache) if that and reinstall su as current versions of superuser dont modify the the system partition.
Root gives more freedom with your phone easy backups with titanium and potentially better battery life or a rom more suited to your needs.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Oh ok. I went to check out the Nexus 5x Android development thread and saw the stock rom of the new 6.0.1 update. But then, i saw someone on the comments asking if they had to flash the radios or something on post #5: http://forum.xda-developers.com/nexus-5x/development/rom-nexus-5x-stock-rom-t3267096
and the guy said, "Yeah, you need the bootloader, radio, vendor images. It's probably easier to just flash 6.0.1 from here https://developers.google.com/androi...mages#bullhead"
so everytime a new version comes out of stock, i need to flash the bootloader, radio, and vendor images?
What if I'm not on stock rom and on a custom rom, then everything will be included in the rom zip file i assume (i just flash the rom, and that's it)?
theBhav007 said:
Oh ok. I went to check out the Nexus 5x Android development thread and saw the stock rom of the new 6.0.1 update. But then, i saw someone on the comments asking if they had to flash the radios or something on post #5: http://forum.xda-developers.com/nexus-5x/development/rom-nexus-5x-stock-rom-t3267096
and the guy said, "Yeah, you need the bootloader, radio, vendor images. It's probably easier to just flash 6.0.1 from here https://developers.google.com/androi...mages#bullhead"
so everytime a new version comes out of stock, i need to flash the bootloader, radio, and vendor images?
What if I'm not on stock rom and on a custom rom, then everything will be included in the rom zip file i assume (i just flash the rom, and that's it)?
Click to expand...
Click to collapse
Custom roms usually dont include radio vendor or bootloader these are flashed from fastboot as opposed to recovery. Custom roms from what I understand mostly modify the system partition. Each thread for the roma tends to have great support. Im currently on uber rom
Sent from my Nexus 5X using Tapatalk
The_Automator said:
Custom roms usually dont include radio vendor or bootloader these are flashed from fastboot as opposed to recovery. Custom roms from what I understand mostly modify the system partition. Each thread for the roma tends to have great support. Im currently on uber rom
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
you can use Nexus root toolkit. all with one click, only what I don't like is the message that appears "we can't control if your device is corrupt".
Is there anybody who know how to prevent that message?
Rooting with this is a piece of cake.
I unroot my new nexus 5 because of the message.

Where can I find an easy guide to root the pixel C?

This is my first pure Google device. I've owned several Samsung devices and I'm familiar with using Odin to flash the device with recovery and then whatever you want from there.
I keep seeing references to fastboot. I'm really not familiar with how you flash or root your Google device using this.
Is there an all-inclusive guide on how to flash this device? I understand you have to unlock the bootloader first.
Thanks.
Sent from my Pixel C using XDA-Developers mobile app
DrKaotica said:
This is my first pure Google device. I've owned several Samsung devices and I'm familiar with using Odin to flash the device with recovery and then whatever you want from there.
I keep seeing references to fastboot. I'm really not familiar with how you flash or root your Google device using this.
Is there an all-inclusive guide on how to flash this device? I understand you have to unlock the bootloader first.
Thanks.
Sent from my Pixel C using XDA-Developers mobile app
Click to expand...
Click to collapse
I've not rooted my Pixel C, but this http://www.wugfresh.com/nrt/ works seamlessly on my Nexus 7 2013. Page suggests that it supports Pixel C.
Yes, you have to unlock the bootloader-- I found a posting here on doing it-- it's pretty straight forward.
After that all you basically need to do is boot into TWRP to install supersu. I had the bootloop issues actually flashing TWRP for whatever reason however I found another posting here noting that you don't actually HAVE to *flash* TWRP, you just need to boot into it.
First get a version of SuperSU-- I *may* have used UPDATE-SuperSU-v2.76-20160630161323.zip that I got from here somewhere-- not sure now exactly-- probably just get the latest one.
Push that to the pixel via something like "adb push UPDATE-SuperSU-v2.76-20160630161323.zip /sdcard/" from your Mac, Linux or Windows box.
So I've got a stock bootloader now ( I had to revert the whole thing to make it usable again) and to boot into TWRP I first put the pixel into fastboot mode (boot up and hold down power and volume down, then select fastboot), then go:
fastboot boot recovery.img
..where recovery.img is one of the files like TWRP-3.0.2-0.recovery.img or twrp-3.0.0-0-dragon-ryu-02112016-1.img
After you are booted into TWRP you then select (I believe, from memory) "INSTALL" and select the supersu zip file you put on the device earlier. After it installs that reboot and you are root.
DrKaotica said:
This is my first pure Google device. I've owned several Samsung devices and I'm familiar with using Odin to flash the device with recovery and then whatever you want from there.
I keep seeing references to fastboot. I'm really not familiar with how you flash or root your Google device using this.
Is there an all-inclusive guide on how to flash this device? I understand you have to unlock the bootloader first.
Thanks.
Click to expand...
Click to collapse

Categories

Resources