Unlocked boot. Need to root using phone - Nexus 5 Q&A, Help & Troubleshooting

Please help.I've unlocked the boot loader and need to know how to root using phone terminal only
Sent from my Nexus 5 using xda app-developers app

howard bamber said:
Please help.I've unlocked the boot loader and need to know how to root using phone terminal only
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
It cannot be done. You must use fastboot commands to flash a custom recovery first, then you can root from there

Well you unlocked the bootloader so why not fallow the next step wile you were plugged in?
Sent from my Nexus 5 using Tapatalk

He switched it off and screamed about viruses!
Sent from my Nexus 5 using xda app-developers app

howard bamber said:
He switched it off and screamed about viruses!
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
OK. Wait till he leaves the house and then do it.

rootSU said:
OK. Wait till he leaves the house and then do it.
Click to expand...
Click to collapse
Lmao

I'll have to break in. Think I'll just go and Do it. Offered him 20 USD to do it!
Sent from my Nexus 5 using xda app-developers app

howard bamber said:
I'll have to break in. Think I'll just go and Do it. Offered him 20 USD to do it!
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Why not just have him killed?

I'm not that familiar with dd commands but couldn't he use in a terminal
dd if=recovery.img of= recovery partition
You'd have to make sure you know the recovery partition precisely, there's a thread here some where, Google nexus 5 partitions xda
Ps, make sure you know the exact command because dd commands can be dangerous
Pss, looks like it should be
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0pxx
Where xx= recovery partition

jd1639 said:
I'm not that familiar with dd commands but couldn't he use in a terminal
dd if=recovery.img of= recovery partition
You'd have to make sure you know the recovery partition precisely, there's a thread here some where, Google nexus 5 partitions xda
Ps, make sure you know the exact command because dd commands can be dangerous
Pss, looks like it should be
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0pxx
Where xx= recovery partition
Click to expand...
Click to collapse
Cant see how that would work from within android without root.

rootSU said:
Cant see how that would work from within android without root.
Click to expand...
Click to collapse
You're right, he doesn't have root. I got too excited and stopped thinking

I know it was possible to fully root $amsung s2 on the phone. I did it
Sent from my Nexus 5 using xda app-developers app

howard bamber said:
I know it was possible to fully root $amsung s2 on the phone. I did it
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I think you still needed Odin to put a recovery on, unless Mobil Odin worked on your s2. I had a skyrocket where Mobil Odin didn't work. There is nothing like Mobil Odin for the nexus 5.

It was a backdoor method exynos abuse apk you could root without Odin.
Sent from my Nexus 5 using Tapatalk

howard bamber said:
I know it was possible to fully root $amsung s2 on the phone. I did it
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
The galaxy s2 had a different version of android than the nexus 5 with different (known) security vulnerabilities that could be exploited to achieve root.
The Nexus 5 / KitKat has no known vulnerabilities that can be exploited. You must believe us when we tell you, there is no way to root the phone without a computer using fastboot!
Sent from my Nexus 5 using Tapatalk
---------- Post added at 08:31 PM ---------- Previous post was at 08:29 PM ----------
jd1639 said:
I think you still needed Odin to put a recovery on, unless Mobil Odin worked on your s2. I had a skyrocket where Mobil Odin didn't work. There is nothing like Mobil Odin for the nexus 5.
Click to expand...
Click to collapse
If you're unlocked and rooted, you can use flashify to flash recovery from the phone. Like mobile Odin though, it still needs root
Sent from my Nexus 5 using Tapatalk

Related

[Q] GooManager

Is it possible to use goomanager to install TWRP after the device is rooted with cf root?
Sent from my Nexus 5 using xda app-developers app
Yep. That's the easiest way to do it.
Sent from my SGH-M919
nitrogen618 said:
Is it possible to use goomanager to install TWRP after the device is rooted with cf root?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yes, though having a Nexus device, it'd be good for you to learn fastboot/adb. Comes in handy.
Cool. Thanks guys. I guess is this correct?
1. Cf root
2. Goomanager for twrp
Twrp will stick right? I saw some people needing to flash like 6 times before twrp sticks.
Sent from my Nexus 5 using xda app-developers app
nitrogen618 said:
Cool. Thanks guys. I guess is this correct?
1. Cf root
2. Goomanager for twrp
Twrp will stick right? I saw some people needing to flash like 6 times before twrp sticks.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
As aznk3vi17 says, go the adb fastboot way. You'll be better off in the long run than using a bunch of easy tools. Sooner or later you're going to get yourself into trouble where they'll come in handy.
nitrogen618 said:
Cool. Thanks guys. I guess is this correct?
1. Cf root
2. Goomanager for twrp
Twrp will stick right? I saw some people needing to flash like 6 times before twrp sticks.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yeah but when you download twrp the page go to 403 error.
Thanks guys. I guess I will do it via GooManager.
nitrogen618 said:
Thanks guys. I guess I will do it via GooManager.
Click to expand...
Click to collapse
No you won't. The download page doesn't work.
I'll probably do it later then.
IIRC it's been like that for a week or more. Just do the ADB flash. Or use Flashify. That's just as easy as Goo.
Download the Flashify app, download the TWRP recovery img file to your phone and install with flashify from your phone.
nitrogen618 said:
I'll probably do it later then.
Click to expand...
Click to collapse
Or just fastboot flash the recovery on. It takes 20 seconds tops.
Sent from my Nexus 5
http://techerrata.com/browse/twrp2/hammerhead
I can just download the latest one and flash it with flashify right?
Sent from my Nexus 5 using xda app-developers app
nitrogen618 said:
http://techerrata.com/browse/twrp2/hammerhead
I can just download the latest one and flash it with flashify right?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Correct. As long as you have the img file and not zip.
You'll just go in to your downloads and tap it, install with flashify and you're done. Restart the device in fastboot mode and scroll to recovery to make sure it took.
Is it possible to brick devices this way?
Sent from my Nexus 5 using xda app-developers app
nitrogen618 said:
Is it possible to brick devices this way?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Just don't use goo manager to flash roms. It's way too easy to find a rom that is not for your device and flash it. I'll use goo to put on the recovery and then remove it from my phone
nitrogen618 said:
Is it possible to brick devices this way?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
It's possible but not likely. If anything it just won't over write the stock recovery.
when trying to install TWRP with goomanager says 403 error when downloading, why?
---------- Post added at 12:50 PM ---------- Previous post was at 12:46 PM ----------
I'm new in Android and i don't know how install fwrp with other method
Enviado desde mi Nexus 5 mediante Tapatalk
Use flashify. That's what I did.
Sent from my Nexus 5 using xda app-developers app
I don't know do that, how i can do that?I'm very new with Android
For some reason I can't get flashify to work. When I press on the IMG I want to flash it doesn't do anything.
But I also know how to use adb so it's not a huge issue.
Sent from my Nexus 5 using Tapatalk

Adb push

I know how to use adb and I'm not too inexperienced with it. Is there a way that I could push files to the system partition without having root on the device? I'm on stock ROM and I do not want to unlock the boot loader or root it, I just need to push a file to the system partition.
Sent from my Nexus 5 using XDA Premium 4 mobile app
I am pretty sure you can only push files to the SD card without root. Rooting/ unlocking doesn't hurt. Try helium for a backup.
I know it doesn't hurt, I just came back to the stock ROM after using my own compiled ROM. I just didn't want to mod it except that one file, thanks though
Sent from my Nexus 5 using XDA Premium 4 mobile app
You should be able to do it in custom recovery
Sent from my Nexus 5
Am I able to boot into one without flashing it while my bootloader is locked? I do not want to unlock my bootloader
Sent from my Nexus 5 using XDA Premium 4 mobile app
Not without unlocking your bootloader.
Sent from my Nexus 5 using Tapatalk
Okay, if I decide to unlock, I can use adb to backup my data partition before the unlock and then restore it after I unlock right?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Hmmm. Not sure if you can access /data without root via adb. Helium backs everything up so maybe it can. Try it. Im never unrooted enough to know
Sent from my Nexus 5 using Tapatalk
Sparx639 said:
Okay, if I decide to unlock, I can use adb to backup my data partition before the unlock and then restore it after I unlock right?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Here's a good guide to use when performing an adb backup. No you do not need root.
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
Sent from my Nexus 7 using Tapatalk
El Daddy said:
Here's a good guide to use when performing an adb backup. No you do not need root.
http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Thanks! I was actually reading this not long ago, I plan do do it soon
Sent from my Nexus 5 using XDA Premium 4 mobile app

Twrp updated

I read on a website that its been updated,
What's the easiest way to update? Worth updating ?
I rooted my phone using wugfesh kit and flash droidkang v19 ROM ,
Google recovery zip collection xda
Edit, http://forum.xda-developers.com/showthread.php?p=50042079
Sent from my Nexus 5
jd1639 said:
Google recovery zip collection xda
Edit, http://forum.xda-developers.com/showthread.php?p=50042079
Sent from my Nexus 5
Click to expand...
Click to collapse
Just flash and that's it?no wiping or deleting any other files? Thanks for the link
Sent from my Nexus 5 using xda app-developers app
g2uzer said:
Just flash and that's it?no wiping or deleting any other files? Thanks for the link
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Just flash it, no wipes required
Sent from my Nexus 5
g2uzer said:
Just flash and that's it?no wiping or deleting any other files? Thanks for the link
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Use the offical TWRP app.. fast and painless.. goomanager doesnt seem to be working right now
gd6noob said:
Use the offical TWRP app.. fast and painless.. goomanager doesnt seem to be working right now
Click to expand...
Click to collapse
Great app but this isn't an official one.
The XDA thread has been closed and there's no update on Google Play for 2 months.
I don't know if jmz still has other projects... Flashify is also a great app to directly flash the img files without a PC.
I heard that
Code:
fastboot flash recovery TWRP.img
works pretty well...
El Daddy said:
I heard that
Code:
fastboot flash recovery TWRP.img
works pretty well...
Click to expand...
Click to collapse
This!
Sent from my Nexus 5 using xda app-developers app
No need to use Fastboot if you already have a recovery to flash with.
Sent from my Nexus 5 using Tapatalk
jball said:
No need to use Fastboot if you already have a recovery to flash with.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
It doesn't hurt to know all the options and procedures. Actually OP would have already known this if he hadn't used a toolkit to root in the first place
-1 for toolkits
But yes, options are:
Fastboot flash img
recovery install zip
Flashify flash img
Thanks to all for the help suggestions , but yeah I used a tool kit which means I don't know how to do it manually that's why I asked for the easiest way to update .
Sent from my Nexus 5 using xda app-developers app
g2uzer said:
Thanks to all for the help suggestions , but yeah I used a tool kit which means I don't know how to do it manually that's why I asked for the easiest way to update .
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
It would be good to learn how to do it manually. It's really pretty easy. And you'll know your phone better and know how to do things yourself.
Sent from my Nexus 5

Towelroot

Anyone else see this? It's touted for the nexus 5 in addition to other devices. Anyone know why? Will it root with a locked bootloader ?
Sent from my Nexus 5 using XDA Free mobile app
We only need to unlock the bootloader to flash recovery. If an exploit has been found in kitkat, it is possible to root without unlocking the bootloader.
This could mean a full, end-to-end rooting process without the need to use a pc
Sent from my Nexus 5 using Tapatalk
rootSU said:
We only need to unlock the bootloader to flash recovery. If an exploit has been found in kitkat, it is possible to root without unlocking the bootloader.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can you flash a recovery from Android, say through Flashify, if you have root, but the bootloader is locked?
Aerowinder said:
Can you flash a recovery from Android, say through Flashify, if you have root, but the bootloader is locked?
Click to expand...
Click to collapse
Yeah.. My bootloader is locked and can flash recovery via flashify.
Although that's assuming bootunlocker truly locks the same as fastboot does because that's how I locked my bl.
Sent from my Nexus 5 using Tapatalk
rootSU said:
We only need to unlock the bootloader to flash recovery. If an exploit has been found in kitkat, it is possible to root without unlocking the bootloader.
This could mean a full, end-to-end rooting process without the need to use a pc
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This thing is so damn easy to root I'm surprised he'd even mention the n5.
Sent from my Nexus 5 using XDA Free mobile app
Aerowinder said:
Can you flash a recovery from Android, say through Flashify, if you have root, but the bootloader is locked?
Click to expand...
Click to collapse
yes. if you have root you can. worst case, there are apps to lock/unlock your bootloader if you do have root. can unlock, flash recovery via flashify, then relock.
---------- Post added at 03:28 PM ---------- Previous post was at 02:54 PM ----------
just tried it on my unrooted verizon s4.. it doesnt seem to work?
I just did this on my N5 4.4.3 and it worked! My N5 was 100% stock before this.
Sent from my Nexus 5 using XDA Premium 4 mobile app
justmart said:
I just did this on my N5 4.4.3 and it worked! My N5 was 100% stock before this.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Was your bootloader locked or unlocked?
Sent from my Nexus 5 using XDA Free mobile app
justmart said:
I just did this on my N5 4.4.3 and it worked! My N5 was 100% stock before this.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Good news. Or maybe it's not!
Sent from my Nexus 5 using Tapatalk
rootSU said:
Good news. Or maybe it's not!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Why not?
Bootloader is locked.
Sent from my Nexus 5 using XDA Premium 4 mobile app
justmart said:
Why not?
Bootloader is locked.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Good news now!
Sent from my Nexus 5 using XDA Free mobile app
justmart said:
Why not?
Bootloader is lock.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Because I think an app that can root without a pc (and fastboot) will promote a lack of the need to learn the basics, giving us members here a hard time supporting people who don't know the basics
Sent from my Nexus 5 using Tapatalk
rootSU said:
Because I think an app that can root without a pc (and fastboot) will promote a lack of the need to learn the basics, giving us members here a hard time supporting people who don't know the basics
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Understood, but this tool is handy for me that decided to root my phone after had everything setup and I was lazy to backup everything > unlocked, root etc and restore.
Sent from my Nexus 5 using XDA Premium 4 mobile app
justmart said:
Understood, but this tool is handy for me that decided to root my phone after had everything setup and I was lazy to backup everything > unlocked, root etc and restore.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oh yeah absolutely it's very handy. Just will it cause the forum problems later on is the question
Sent from my Nexus 5 using Tapatalk
rootSU said:
Because I think an app that can root without a pc (and fastboot) will promote a lack of the need to learn the basics, giving us members here a hard time supporting people who don't know the basics
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
almost makes root toolkits seem more appealing. almost, not quite
simms22 said:
almost makes root toolkits seem more appealing. almost, not quite
Click to expand...
Click to collapse
Haha. I wouldn't go that far
I just fear we'll get a new class of people. The "commute and root" crowd who accidentally wipe their ROM on the train to work ?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Haha. I wouldn't go that far
I just fear we'll get a new class of people. The "commute and root" crowd who accidentally wipe their ROM on the train to work ?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
They're already here, sadly
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
They're already here, sadly
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yeah but someone who wipes /system on a train has at least possibly previously used fastboot or has a backup stored off their phone.
I see a lot of twrp users wiping /system and /sdcard.. If these people do the whole process on the way to work,, there's 0 chance of any backup anywhere.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yeah but someone who wipes /system on a train has at least possibly previously used fastboot or has a backup stored off their phone.
I see a lot of twrp users wiping /system and /sdcard.. If these people do the whole process on the way to work,, there's 0 chance of any backup anywhere.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Totally agree. Then it's up to us to teach them fastboot and flash a factory image. Yea, it kind of sucks, I'll a agree. But what can we do?
@rootSU you don't know how much I agree with you, a s.... storm is happening in the s4 forum because of towelroot.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Totally agree. Then it's up to us to teach them fastboot and flash a factory image. Yea, it kind of sucks, I'll a agree. But what can we do?
@rootSU you don't know how much I agree with you, a s.... storm is happening in the s4 forum because of towelroot.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Here's my stance.
I will not mention it as an option. If anyone asks if they can root without a pc I will not answer.. If anyone else mentions this app to them or someone asks about it specifically, I will advise on a best practice. I will also give warnings
Thats all I can do.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 11:06 PM ---------- Previous post was at 11:03 PM ----------
We could make a guide but I haven't time to do that right now. But if we could create our own guide with our warnings about not flashing anything until Nandroid and always being extra sure not to wipe stuff whilst away etc,, maybe there is a chance?
I don't know. It's a Concern
Sent from my Nexus 5 using Tapatalk

[Q] Root Flash then Revert Without a PC?

Just wanted to know if its possible to root (towel root) flash custom recovery and custom roms and then if I decide to later revert totally back to stock unrooted nexus without a PC. Ive attempted to read up on this but I'm a little confused that ill need to use SDK and ADB which i can't have access to at the moment or have the skills to use.
I've seen apps on google play to unlock boot loader once towel rooted but I'm just unsure if i can revert totally back to an unrooted nexus 5 with original recovery, without a pc as I'm using an iMac and having really unreliability with it :/
Id greatly appreciate any help :good:
cameracartwright said:
Just wanted to know if its possible to root (towel root) flash custom recovery and custom roms and then if I decide to later revert totally back to stock unrooted nexus without a PC. Ive attempted to read up on this but I'm a little confused that ill need to use SDK and ADB which i can't have access to at the moment or have the skills to use.
I've seen apps on google play to unlock boot loader once towel rooted but I'm just unsure if i can revert totally back to an unrooted nexus 5 with original recovery, without a pc as I'm using an iMac and having really unreliability with it :/
Id greatly appreciate any help :good:
Click to expand...
Click to collapse
You may need a computer to return to stock but otherwise you shouldn't need a pc
Sent from my VS980 4G using XDA Free mobile app
Could I not back up the stock ROM using twrp and then after using custom ROMs flash it back (stock) and flash stock recovery and in root and relock boot loader using super su and boot loader apk?
Sent from my Nexus 5 using XDA Free mobile app
cameracartwright said:
Could I not back up the stock ROM using twrp and then after using custom ROMs flash it back (stock) and flash stock recovery and in root and relock boot loader using super su and boot loader apk?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes. If u can find all the right files to do that
Sent from my VS980 4G using XDA Free mobile app
NBreunig3 said:
Yes. If u can find all the right files to do that
Sent from my VS980 4G using XDA Free mobile app
Click to expand...
Click to collapse
think there on xda somewhere?
cameracartwright said:
think there on xda somewhere?
Click to expand...
Click to collapse
Yes. What phone and carrier are you using?
Sent from my VS980 4G using XDA Free mobile app
Nexus 5 on EE
Sent from my Nexus 5 using XDA Free mobile app
cameracartwright said:
Nexus 5 on EE
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
EE?
Sent from my VS980 4G using XDA Free mobile app
---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------
cameracartwright said:
Nexus 5 on EE
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
The nexus devices are the easiest devices to get back to stock because Google supplies the stock images
Sent from my VS980 4G using XDA Free mobile app
Yes EE it was the first 4g carrier in UK used to be T-Mobile and orange
Sent from my Nexus 5 using XDA Free mobile app
But I can only flash the images from Google using adb right?
Sent from my Nexus 5 using XDA Free mobile app
cameracartwright said:
But I can only flash the images from Google using adb right?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Not sure. I am not familiar with nexus devices
Sent from my VS980 4G using XDA Free mobile app
This is a nexus thread?
Sent from my Nexus 5 using XDA Free mobile app
There are a couple different options.
I'm not sure if flashify requires a unlocked bootloader. Root, flash custom recovery with flashify, make a backup. When you are done either restore backup or if stock already use flashify to flash stock recovery, delete root apps, unroot via supersu.
Boot unlocker I have heard will work to lock and unlock boot loader but I'm not sure about resetting the tamper flag.
Using fastboot and adb is always going to be the surest and safest way to root etc. Unless you are going to be submitting your phone for RMA there should be no reason to unroot. You can always flash a stock rooted ROM and just leave it.
http://forum.xda-developers.com/showthread.php?p=47025283
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5 using Tapatalk
Steps are;
-Download boot unlocker fr on play
-Download flashify from play (just in case)
-Download vomers stock ROM (number 6 in resources section in the link in my signature)
-Download stock recovery (number 7 in resources section in the link in my signature)
Firstly, flash the recovery zip via your current recovery and reboot
Then, reset The tamper flag and lock the boot loader
Finally, open SuperSU and use the full indoor option to remove Root
Good as new.
Sent from my Nexus 5 using Tapatalk

Categories

Resources