[Q] Best way to root? - Nexus 5 Q&A, Help & Troubleshooting

So guys, what way should I use to root in your opinions, there are a couple that I know of, cm auto root, using adb, and recently TowelRoot (not sure if it works with 4.4.3)....but please share your opinions, and I probably need recovery too so share about that as well...

nabil alami said:
So guys, what way should I use to root in your opinions, there are a couple that I know of, cm auto root, using adb, and recently TowelRoot (not sure if it works with 4.4.3)....but please share your opinions, and I probably need recovery too so share about that as well...
Click to expand...
Click to collapse
You cannot root with adb. fastboot is the best way to root It gives you the necessary tools and understanding required to not only root, but also fix your phone if you fubar.
Look for stickies in General

if you have drivers installed properly then extract this
https://www.dropbox.com/s/6cfqp9uvgzclbk4/Platform_Tools_Nexus.7z
download a recovery ( .img) and put inside that folder
open terminal there (shift+right mouse button>>>select open command prompt here)
reboot the nexus into fastboot mode, connect and type this
fastboot devices
(to see if nexus is connected)
and flash the recovery through fastboot
fastboot flash recovery recovery.img
reboot into recovery
and flash supersu from chainfire
http://download.chainfire.eu/supersu

EnricoD said:
flash a recovery through fastboot
fastboot flash recovery recovery.img
reboot recovery
and flash supersu from chainfire
Click to expand...
Click to collapse
Also, if your recovery image was Philz, you can just root directly from the Philz recovery menu

same as what gentlemen above said..
I keep SU.zip in a folder on my phone. I flash it everytime I flash a new ROM
BTW Koush's SU is opensource, you can get it here:
http://download.clockworkmod.com/superuser/superuser.zip

rootSU said:
You cannot root with adb. fastboot is the best way to root It gives you the necessary tools and understanding required to not only root, but also fix your phone if you fubar.
Look for stickies in General
Click to expand...
Click to collapse
Ya I meant fastboot, and I have a basic understanding of it since I used it before..

gagan007 said:
same as what gentlemen above said..
I keep SU.zip in a folder on my phone. I flash it everytime I flash a new ROM
BTW Koush's SU is opensource, you can get it here:
http://download.clockworkmod.com/superuser/superuser.zip
Click to expand...
Click to collapse
rootSU said:
Also, if your recovery image was Philz, you can just root directly from the Philz recovery menu
Click to expand...
Click to collapse
Wow this is pretty different than what im used to (never oned a nexus), first of dosnt custom Roms come prerooted? and seconsdly twrp or cm...I always used to flash cm before there was twrp, but what is better for nexus?

nabil alami said:
Wow this is pretty different than what im used to (never oned a nexus), first of dosnt custom Roms come prerooted? and seconsdly twrp or cm...I always used to flash cm before there was twrp, but what is better for nexus?
Click to expand...
Click to collapse
Yes if you're imeediately going to flash a ROM, no need to root your current rom. Just unlock the bootloader, flash recovery then from recovery flash a rom
Official CWM itself is pretty antiquated. The choice is between Philz advanced CWM (See signature) or TWRP and it is users preference really.

rootSU said:
Yes if you're imeediately going to flash a ROM, no need to root your current rom. Just unlock the bootloader, flash recovery then from recovery flash a rom
Official CWM itself is pretty antiquated. The choice is between Philz advanced CWM (See signature) or TWRP and it is users preference really.
Click to expand...
Click to collapse
No, I will start with just rooting since xposed modules are great, then move to Roms

rootSU said:
Yes if you're imeediately going to flash a ROM, no need to root your current rom. Just unlock the bootloader, flash recovery then from recovery flash a rom
Official CWM itself is pretty antiquated. The choice is between Philz advanced CWM (See signature) or TWRP and it is users preference really.
Click to expand...
Click to collapse
Btw I agree to some of what you said in other posts about rooting with adn without PC. Its great to be able to root easily but this in my opinion would make everyone root and stuff while I think rooting and Roms should be for android enthusiasts and what else.

Alright decided to go with cf auto root, pretty simple to go with and no need to flash recovery..

It is very easy but sometime try doing it manually it will be handy to learn the basic fastboot commands in case you softbrick your device which if your a flashaholic like me it will happen I've owned this phone three months I've softbrocked it 5 times
Sent from my Nexus 5 using Tapatalk

spinninbsod said:
It is very easy but sometime try doing it manually it will be handy to learn the basic fastboot commands in case you softbrick your device which if your a flashaholic like me it will happen I've owned this phone three months I've softbrocked it 5 times
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I know what you mean....having my S1 bricked it at least 4 times, but anyways isnt it for the nexus 5 that if u softbrick it all u have to do is flash stock from google?

and done....

Yes but sometimes when you brick it it won't turn on it is a very picky/stubborn device
Sent from my Nexus 5 using Tapatalk

spinninbsod said:
Yes but sometimes when you brick it it won't turn on it is a very picky/stubborn device
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
wow i wouldnt think so but im sure not as picky as the S4....is there a tutorial for what to do when this happens?

Just plug it in to the charger and hold both volume buttons and it should go into bootloader mode
Sent from my Nexus 5 using Tapatalk

spinninbsod said:
Just plug it in to the charger and hold both volume buttons and it should go into bootloader mode
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
yup...just read about it....I would say thats pretty simple..

nabil alami said:
So guys, what way should I use to root in your opinions, there are a couple that I know of, cm auto root, using adb, and recently TowelRoot (not sure if it works with 4.4.3)....but please share your opinions, and I probably need recovery too so share about that as well...
Click to expand...
Click to collapse
although thus devices is uber easy to root you can use towelroot to root it even easier as well and then put a custom recovery on via flashify app
Sent from my Nexus 5 using Tapatalk

Ouch, kits & kitguys, what a mess.
Sent from my Nexus 5 using xda app-developers app

Related

[Recovery][Unofficial]TWRP 2.7.0.0 & Clockwork Recovery Touch 6.0.4.4 W/loki (D800)

[Recovery][Unofficial]TWRP 2.7.0.0 & Clockwork Recovery Touch 6.0.4.4 W/loki (D800)
Clockwork recovery touch with Loki for AT&T LG G2 (D800) Only.
TWRP recovery touch with Loki for AT&T LG G2 (D800) Only.
The only difference between official recoveries and this version is that Loki is built in to recovery.
THIS IS ONLY FOR 10d FIRMWARE. IF YOU ARE ON 10o THEN DO NOT USE!!!
You may want to flash 10d firmware. It can be found HERE with instructions. If you plan on using ROMs it is best to flash 10d firmware first.
Install Methods
Flashable Zip - Must have TWRP or whatever custom recovery already installed.
Boot into recovery and flash Recovery Zip file.
Manual Method - With no custom recovery already installed.
Must have Root first. Check HERE for root
Download the zip file to which recovery you want
Extract zip file to C:\
Open command prompt in root of C drive
You will need adb installed and properly setup in your environment variables. If not place the recovery.img wherever your adb file is located.
Type the following commands:
Code:
adb push recovery.img /data/local/tmp/recovery.img
adb shell
su
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
exit
adb reboot recovery
Now you should be in recovery.
Downloads
TWRP 2.7.0.0 with Loki
File Name openrecovery-twrp-2.7.0.0-d800-loki.zip
MD5 f640c221e4a6c575b375094f765d63ba
Clockwork Recovery Touch 6.0.4.4 with Loki
File Name recovery-clockwork-touch-6.0.4.4-d800-loki.zip
MD5 d50fbe2e026463e5df698f0b8b0a4d91
Download HERE
Mirror - Goo.im
Enjoy!
Web Presence:
Twitter
Google+
Credits
TWRP team for great recovery
Koush for original clockwork recovery
djrbliss for Loki
manojsuper said:
Does everything worked.
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Everything I have tested so far.
Can I flash using flashify?
Sent from my LG-D802 using XDA Premium 4 mobile app
holeshot77 said:
Can I flash using flashify?
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I have not tested that way but I am sure you can. If you just need the img file than extract from zip file.
If you try then let us know how it worked out
Using flashify works like a charm. Just extract img file and flash using flashify. As a third alternative.
Sent from my LG-D802 using XDA Premium 4 mobile app
I haven't used cwm since the days of the vibrant but ,my question is does this recovery speed up flashing a rom? It takes me less then a minute to flash a rom on the nexus 4 so I was just curious. Thanks.
Sent from my Nexus 7 2013 using XDA Premium 4 mobile app
ManOnTheMoon said:
I haven't used cwm since the days of the vibrant but ,my question is does this recovery speed up flashing a rom? It takes me less then a minute to flash a rom on the nexus 4 so I was just curious. Thanks.
Sent from my Nexus 7 2013 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you been flashing OEM modified ROMs on G2 the speed may have been due to the size of the ROMs.
AndroidUser00110001 said:
If you been flashing OEM modified ROMs on G2 the speed may have been due to the size of the ROMs.
Click to expand...
Click to collapse
Sorry I meant to include CM/AOSP based roms. The days of flashing 250mb+ roms are over :good:
I also havent used CWM in a long time now, are there any real differences between this and TWRP besides layout? Any special features unique to CWM?
EniGmA1987 said:
I also havent used CWM in a long time now, are there any real differences between this and TWRP besides layout? Any special features unique to CWM?
Click to expand...
Click to collapse
They all do the same so people will use what they prefer...
Will I lose my twrp backups if I flash this clockwork recovery?
If not, then would I be able to restore twrp backups with cwm? May be a silly question but I never tried this and worried about losing backups.
You will not lose them until you delete them but I am not sure if you can restore twrp backups with clockwork.
SysAdmNj said:
Will I lose my twrp backups if I flash this clockwork recovery?
If not, then would I be able to restore twrp backups with cwm? May be a silly question but I never tried this and worried about losing backups.
Click to expand...
Click to collapse
Sent from my LG-D800 using XDA Premium 4 mobile app
Thanks for this! Always good to see people doing stuff on this phone : )
Flashing was a breeze. Thanks.
Does this mount usb-otg? When I try "Mount USB Storage" nothing happens. I am pretty sure TWRP also does not yet support usb-otg. My hopes were CWM did.
Thanks
Adb side load is an alternative for Mount usb. Install Zip --> Install from adb sideload. Unfortunately this didn't work for me either. If it works for any of you guys please let me know the steps you followed. Sideload doesn't work in TWRP also.
In case of a soft brick either Mount usb or adb side load should help. Otherwise you have to go back to stock using Lg tools and start all over again.
varunkumars said:
Adb side load is an alternative for Mount usb. Install Zip --> Install from adb sideload. Unfortunately this didn't work for me either. If it works for any of you guys please let me know the steps you followed. Sideload doesn't work in TWRP also.
In case of a soft brick either Mount usb or adb side load should help. Otherwise you have to go back to stock using Lg tools and start all over again.
Click to expand...
Click to collapse
Thanks for the reply. I will be a happy camper when we get real usb-otg support from both recoveries
Format Cache is not working
Hey guys,
I flashed this and seem to have a problem with formatting the cache- it just stops so I cannot wipe becuase it stops at formatting cache. Anybody else experienced this before? I flashed again with same results.
thanks,
AC
aaronc_98 said:
Hey guys,
I flashed this and seem to have a problem with formatting the cache- it just stops so I cannot wipe becuase it stops at formatting cache. Anybody else experienced this before? I flashed again with same results.
thanks,
AC
Click to expand...
Click to collapse
Just let it finish, it takes a long time. I thought the same and then it finished up.
Worked like a charm. Thanks!
Sent from my LG-D800 using Tapatalk
Is wiping always going to take this long?
Sent from my LG-D800 using Tapatalk

[Q] KitKat Root?

Has anyone successfully rooted Kitkat yet? I've looked around and haven't come across any threads about it yet.
SynUnlimited said:
Has anyone successfully rooted Kitkat yet? I've looked around and haven't come across any threads about it yet.
Click to expand...
Click to collapse
Considering only like 3 people have it, I'd say no.
Bl00dRunzC0ld said:
Considering only like 3 people have it, I'd say no.
Click to expand...
Click to collapse
Guess I'm one of the lucky few then.
SynUnlimited said:
Guess I'm one of the lucky few then.
Click to expand...
Click to collapse
And we all hate you
I find this funny.
First of all you come here seeking for help from the community, but in the same time you are absolutely not involved in the same community from which you're seeking help - while others actually try to do something for all of us.
I find this thread offensatory as a user that is trying to help and contribute to the community
Sent from my XT1032 using xda app-developers app
darkeingel said:
I find this funny.
First of all you come here seeking for help from the community, but in the same time you are absolutely not involved in the same community from which you're seeking help - almost 6 years in here and you are still leeching only - while others actually try to do something for all of us.
I find this thread offensatory as a user that is trying to help and contribute to the community
Sent from my XT1032 using xda app-developers app
Click to expand...
Click to collapse
Who are you talking to?
OP, obviously
Sent from my XT1032 using xda app-developers app
darkeingel said:
OP, obviously
Sent from my XT1032 using xda app-developers app
Click to expand...
Click to collapse
Well considering you said something about leeching for 6 years, and OP's join date is Jan 2013, it threw me off.
So, when the OP got Kitkat, he can dump the system (without root), provide it to us and we tell him, if he can root - win/win.
But hell, yeah, I know... "Community"
You can
gain root flashing SuperSU - http://forum.xda-developers.com/showthread.php?t=1538053
To root can't you just unlock bootloader.
Download superSU to /storage
http://download.chainfire.eu/372/SuperSU/UPDATE-SuperSU-v1.86.zip
Then download CWM and boot recovery (don't even need to flash it) using the following (apologies if syntax not 100%, I'm not at my laptop to check)
fastboot boot recovery cwmrecovery.img
Then just flash superSU via CWM.
You don't really need any special rooting 'tool'. Its just basic stuff.
scott_doyland said:
To root can't you just unlock bootloader.
Download superSU to /storage
http://download.chainfire.eu/372/SuperSU/UPDATE-SuperSU-v1.86.zip
Then download CWM and boot recovery (don't even need to flash it) using the following (apologies if syntax not 100%, I'm not at my laptop to check)
fastboot boot recovery cwmrecovery.img
Then just flash superSU via CWM.
You don't really need any special rooting 'tool'. Its just basic stuff.
Click to expand...
Click to collapse
I know that for booting simply recovery it s not need unlock bootloader. Only for boot recovery obviously, not flashing it permanently.
scott_doyland said:
To root can't you just unlock bootloader.
Download superSU to /storage
http://download.chainfire.eu/372/SuperSU/UPDATE-SuperSU-v1.86.zip
Then download CWM and boot recovery (don't even need to flash it) using the following (apologies if syntax not 100%, I'm not at my laptop to check)
fastboot boot recovery cwmrecovery.img
Then just flash superSU via CWM.
You don't really need any special rooting 'tool'. Its just basic stuff.
Click to expand...
Click to collapse
Tried both flashing CWM and just straight booting it and it just restarts the phone and doesn't boot into recovery. Also tried TWRP same results.
SynUnlimited said:
Tried both flashing CWM and just straight booting it and it just restarts the phone and doesn't boot into recovery. Also tried TWRP same results.
Click to expand...
Click to collapse
dont work any method, uploadig kitkat ota for global gsm model xt1032 : Cruzando los dedos-:

[Q] Update OTA crashed my root

Yesterday I managed to press install on the newest update, 4.4.4 on my Nexus 5. It was rooted and still is, but by installing this OTA it somehow made it crash. Now that I try to get into recovery mode I just get the android which is dead with an ! on it. It was rooted with Xposed and TWRP.
What do I do? Im on a Mac
OTA removed root replaces recovery. I'm amazed it managed to replace recovery whilst Xposed was installed. Anyway, seems like it did.
You must fastboot flash a custom recovery
Sent from my Nexus 5 using Tapatalk
rootSU said:
OTA removed root replaces recovery. I'm amazed it managed to replace recovery whilst Xposed was installed. Anyway, seems like it did.
You must fastboot flash a custom recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I feel embarrassed to ask, but how do I do that on my Mac? When I rooted it I did it on my PC at home, now Im traveling with my Mac for work..
Thanks!
killhaug said:
I feel embarrassed to ask, but how do I do that on my Mac? When I rooted it I did it on my PC at home, now Im traveling with my Mac for work..
Thanks!
Click to expand...
Click to collapse
The same really. Install fastboot and use the "fastboot flash recovery /pathto/your/recovery.img" command
Sent from my Nexus 5 using Tapatalk
rootSU said:
The same really. Install fastboot and use the "fastboot flash recovery /pathto/your/recovery.img" command
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did this and now Im stuck in a TWRP loop, wont get into the system. I dont know what to do now, any inputs?
EDIT: Solved it. Thanks!

[Q] Recovery without bootloader unlock

Hi there, my friend has a Nexus 5 (like me) , and he wanted root so bad , and I tought him to root through Towelroot , however , he didn't unlock his bootloader, he got rooted and he got Xposed module on and running , but now he wants to have S2W which is achievable through flashing a kernel, but he doesn't have a recovery and he's bootloader locked , how can he achieve that SAFELY ?
1) flash a recovery using an app called flashify
Or
2) unlock the bootloader using an app called bootunlocker
Sent from my Nexus 5 using Tapatalk
seaskyways said:
Hi there, my friend has a Nexus 5 (like me) , and he wanted root so bad , and I tought him to root through Towelroot , however , he didn't unlock his bootloader, he got rooted and he got Xposed module on and running , but now he wants to have S2W which is achievable through flashing a kernel, but he doesn't have a recovery and he's bootloader locked , how can he achieve that SAFELY ?
Click to expand...
Click to collapse
as long as he already has root, he can flash a new recovery without unlocking the bootloader. first, grab the recovery you want to flash and put it in the storage of your phone(in a .img form). next, grab the flashify app from the play store. now open the flashify app, chose to flash a recovery, find your recovery in your storage, now chose your recovery and flash it. thats all. now boot into recovery to make sure it flashed.
simms22 said:
as long as he already has root, he can flash a new recovery without unlocking the bootloader. first, grab the recovery you want to flash and put it in the storage of your phone(in a .img form). next, grab the flashify app from the play store. now open the flashify app, chose to flash a recovery, find your recovery in your storage, now chose your recovery and flash it. thats all. now boot into recovery to make sure it flashed.
Click to expand...
Click to collapse
You can download recoveries directly through flashify
Sent from my Nexus 5 using Tapatalk
rootSU said:
You can download recoveries directly through flashify
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
really?
didnt know that, ive always grabbed them from their official sites. not like it makes a difference, im still on an older twrp, like version 2.6.3.4 :angel:
Makes no difference for me either. Latest philz always comes from my computer
Sent from my Nexus 5 using Tapatalk
if this procedure is being done on a stock rom (OTA updated), don't forget about /system/recovery-from-boot.p and /system/install-recovery.sh. Either rename or delete them.

Boot recovery.img from phone

Is it possible to boot a recovery image from the phone without flashing? If not is it ok to reflash backups of stock recovery? Tnx
and313 said:
Is it possible to boot a recovery image from the phone without flashing? If not is it ok to reflash backups of stock recovery? Tnx
Click to expand...
Click to collapse
It is possible via android sdk. You can use command: fastboot boot twrp.img
where twrp.img is the name of the recovery that you downloaded and not twrp.img
Alexandar92zr said:
It is possible via android sdk. You can use command: fastboot boot twrp.img
where twrp.img is the name of the recovery that you downloaded and not twrp.img
Click to expand...
Click to collapse
Yes i know but i would like to do it from the phone... There are tons of flash recovery apps but no boot recovery apps
ROM manager used to do it years ago until people got into trouble with it and it was removed.
If you intend on flashing things AMD backing up, flash a recovery. If you're not willing to flash a recovery, don't modify your phone
Sent from my Nexus 5 using Tapatalk
and313 said:
Yes i know but i would like to do it from the phone... There are tons of flash recovery apps but no boot recovery apps
Click to expand...
Click to collapse
Try flashify
AndreIrawan97 said:
Try flashify
Click to expand...
Click to collapse
That flashes recovery. Clue is in the name.
Sent from my Nexus 5 using Tapatalk
rootSU said:
ROM manager used to do it years ago until people got into trouble with it and it was removed.
If you intend on flashing things AMD backing up, flash a recovery. If you're not willing to flash a recovery, don't modify your phone
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The problem with flashing is that you loose the ota update ability. That's why i would like to keep the stock recovery and just boot into cwm when i need it... But i guess i can restore the stock recovery via flashify before the ota is being installed so thats a solution... I just dont like flashing this stuff via apps
and313 said:
The problem with flashing is that you loose the ota update ability. That's why i would like to keep the stock recovery and just boot into cwm when i need it... But i guess i can restore the stock recovery via flashify before the ota is being installed so thats a solution... I just dont like flashing this stuff via apps
Click to expand...
Click to collapse
1) you do not lose OTA update ability with custom recovery. Read "OTA help-desk" available via my signature
2] what's the big deal about OTA? Its the worst way of updating available to everyone. Why bother? If you rely on OTA, remain unrooted, unmodified. Rooting is not for you.
Sent from my Nexus 5 using Tapatalk
Ugh lol OK, so worried about the ota? No worries, flash whatever recovery you want twrp,cwm,philz whatever floats your boat. Then when your ota comes out use Rashr to reflash stock recovery so you can update(you have to be on stock obviously).
I've done this numerous times, works every time.
Sent from my Nexus 5 using XDA Free mobile app
todorcim said:
Ugh lol OK, so worried about the ota? No worries, flash whatever recovery you want twrp,cwm,philz whatever floats your boat. Then when your ota comes out use Rashr to reflash stock recovery so you can update(you have to be on stock obviously).
I've done this numerous times, works every time.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
One of the problems with OTA is the slow delivery and partial nature.
If I wasn't rooted, i'd always update using factory images. But since I am, the best way is for flash a pre-rooted stock ROM via recovery. They're usually available within an hour of the factory image becoming available
Sent from my Nexus 5 using Tapatalk
rootSU said:
One of the problems with OTA is the slow delivery and partial nature.
If I wasn't rooted, i'd always update using factory images. But since I am, the best way is for flash a pre-rooted stock ROM via recovery. They're usually available within an hour of the factory image becoming available
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Agreed 100%, I normally stay rooted,this most recent preview though I'm staying stock. After running L for the last couple months its hard to go back to KitKat(I've tried several times). I have no intention of flashing another rom atm, I'll worry about root after the 3rd.
As for buddy worrying about the ota, really you have two choices.
#1 root and flash a recovery then wait for someone to post a root stock ROM
#2 wait for the ota
The only real benefit I see in waiting for the ota is you will probably get to keep all your apps on your phone. Me personally? I'd just fastboot the preview and wait till the 3rd.
Materialized From The DarkSide

Categories

Resources