yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Shotstic:
Battery stuck at 4%

Hey, so after trying and failing a few times I've managed to root my N5. Flashed EX and SuperSU a few times without success so I started searching for answers and read somewhere that I needed to flash a boot.img Anyway, I'm rooted right now and also flashed a new kernel however, I have one problem. The battery indicator is always full and it shows it's at 3.xx% all the time(3.72-3.8 etc.) Will flashing the boot.img from the factory images solve this or should I flash another one. Also, the factory image download seems to be taking a few hours because of horrible speeds so if anyone can link me a boot.img I'd much appreciate it. Thanks in advance
[Nexus 5 General] AndroidMark:
This is my first time using TWRP. I just want root on my stock 6.0.1 Nexus 5. After I install the ElementalX kernal does it matter if I flash SuperSu 2.52 or 2.67? Will having one supersu version over the other make any difference?
[Nexus 5 General] audit13:
For mm, use the latest supersu.
[Nexus 5 General] AndroidMark:
Ok and just to confirm, I need a custom kernel flashed for the SuperSu root to work using TWRP?
[Nexus 5 General] jd1639:
No, you don't need a custom kernel.
[Nexus 5 General] AndroidMark:
So I only have to flash SuperSu with TWRP and it'll work?

I may be reading the wrong info then I was under the impression that on stock MM you need a custom kernel to root
[Nexus 5 General] audit13:
Flash the latest supersu and it should give you root.
[Nexus 5 General] erazorvl:
6.0.1, Trying to install latest TWRP (3.0), flash it, restart bootloader, select recovery and it just loads the OS.

What am I doing wrong?
[Nexus 5 General] CAL7:
Same problem as [MENTION=322635]erazorvi[/MENTION]. I have two N5's that were on 29K that I have installed 29Q. No problem. One I then flashed (from the bootloader) TWRP 3.0 and entered the recovery and there it was. The second phone.... no go.

The second N5 - alike in all respects to the first - won't boot into TWRP 3. I can flash TWRP 2.8.7 and load the TWRP 3 image from there, but it still won't boot into it. Always just loads the OS (MMB29Q).
[Nexus 5 General] audit13:
Don't restart the bootloader, go directly to recovery after flashing TWRP.
[Nexus 5 General] CAL7:
Thank you. Should I flash from the old TWRP 2.8.7.1 or from a PC?
[Nexus 5 General] audit13:
I recommend flashing 2.8.7.1 via fastboot from a PC.
[Nexus 5 General] CAL7:
Are you saying NOT to flash 3.0 in preference to 2.8.7.1? Or do you mean to flash whichever TWRP version I want, but to do it from fastboot (as opposed to from within the pre-existing version of TWRP)?

And then, reference your advice in post #2260, after TWRP is installed, boot directly to recovery. Via the phone volume keys to select recovery? Or from fastboot? Or doesn't matter?

Thanks for your time on this relaxing Sunday.
[Nexus 5 General] audit13:
I used 2.8.7.1 as it has always worked for me.

Flash twrp in fastboot, then use the volume key to move to recovery, then use power to enter recovery.
[Nexus 5 General] erazorvl:
[MENTION=2621438]CAL7[/MENTION] please post if that did help you
[Nexus 5 General] CAL7:
I have 2.8.7.1 installed and working well. I don't have a compelling reason to upgrade to 3.0, other than an addiction to the latest, even if not the greatest, so I'm going to sit tight for the moment with one N5 running TWRP 2.8.7.1 and one N5 running TWRP 3.0. (2.8.7.1 is on the wife's main phone, so my access is limited.)
[Nexus 5 General] erazorvl:
Thanks to [MENTION=4673498]audit13[/MENTION], went into recovery right after flashing TWRP, was able to load no problem. Slapped beta SuperSU 2.67 on top of that, so in the end:

6.0.1

TWRP 3.0

SuperSU beta 2.67

Everything works.
[Nexus 5 General] MattSid:
I come directly from this thread, because my Nexus 5 suffers from bootloop.

I have been trying to do a full wipe-factory reset under Android Recovery, he doens't work. (Got this Error)

So I have been trying to unlock the Bootloader with the Guide in this thread (in order to flash a factory image)

I have done every single step of the guide in this thread, until the command "fastboot reboot". After this, instead of rebooting and showing a progress bar, the Nexus 5 stays stuck again in the bootloop with the Google Logo.

I can't do the wipe, I can't unlock the bootloader and therefore I can't flash any image, what I could do now? :eek:
[Nexus 5 General] audit13:
When you run the command "fastboot oem unlock", do you use the buttons on the phone to unlock the bootloader? When the phone reboots, does the bootloader remain unlocked?
[Nexus 5 General] MattSid:
As I run the "fastboot oem unlock" command I use the volume up button to select on the phone "Yes Unlock bootloader (may void warranty)", then I confirm with power on button. Now turns back to the "Start" Android Bootloader page, an shows in red "LOCK STATE - unlocked". At this point I use the command "fastboot reboot", the device reboot itselfst, but stays stuck on the google logo :silly:

I have been waiting for more then 10 minutes, but it stays stuck.

In order to come back to the Android Recovery I need to press Power Button and Volume down, and the lock state turns again to "LOCK STATE - locked" :eek:
[Nexus 5 General] audit13:
If the phone's bootloader relocks itself on reboot, the memory chip is defective and cannot be fixed. The motherboard needs to be replaced.
[Nexus 5 General] MattSid:
Oh s**t... how I can be sure that it's the chip defective?

If it's really so, I got a bit of luck, because the phone still on his last month warranty and it's full stock. Should I contact direct Google (Germany) or give back the phone direct to the reseller?
[Nexus 5 General] audit13:
Contact Google and the reseller right away.

These are signs that the memory is damaged:

the bootloader relocks itself when rebooting into fastboot immediately after unlocking;

the cache and data partitions cannot be mounted or formatted;

a factory wipe is completed in one or two seconds;

stuck on the "Google" logo; and

stuck on the boot animation.
[Nexus 5 General] MattSid:
Thank audit! I will believe you and I will contact the reseller, even because I lost my patience and I don't won't to fight anymore with this problem anymore.
[Nexus 5 General] audit13:
You could also test the emmc using this program: http://xdaforums.com/google-nexus-5/general/fix-unbrick-nexus-5-stucked-qualcomm-hs-t3043301
[Nexus 5 General] MattSid:
I have been trying just out of curiosity this tool, but the "Qualcomm HS-USB QDLoader 9008" is not show on the Device Manager list...another Problem that I won't spend time on. Thanks anyway, I will simply give the Nexus 5 back to the reseller.
[Nexus 5 General] audit13:
I have two motherboards sitting in my drawer with an emmc problem: one has bootloader that relocks itself and the other one can't mount or format the data, cache and system partitions.
[Nexus 5 General] MattSid:
Then they seems like problems that frequently occours. I found interesting that my bootloop appeared after my I filled up my Nexus 5 memory storage, here with another Nexus device they had that same cause and effect: http://appleinsider.com/articles/13...lets-dying-early-possibly-due-to-cheap-memory
[Nexus 5 General] Priya_Mohan:
Hi,

I'm also facing the same issue. When I try to flash ROM.zip, phone is rebooting and once the reboot operation starts, the device becoming Unavailable. Operation getting cancelled with timeout error. Please guide me to fix my phone :(
[Nexus 5 General] audit13:
Does the phone bootloader stay unlocked? Is it stuck at the boot logo? Are you wiping data and cache in recovery before boot rom for the first time?
[Nexus 5 General] hearkenoath:
This works if the N5 is updated to Android 6.0.1?
[Nexus 5 General] audit13:
The instructions should work with mm.
[Nexus 5 General] gipsi87:
Hi guys!

I am trying to update to the last version (april patch update) but for some reason this time it doesn't work. I keep going to Custom Recovery on a loop.

I downloaded the last factory image, extracted radio.img, system.img and boot.img and flash them by fastboot (fastboot flash radio radio.img ...). Then I booted into twrp 3.0.2 and flashed elemental X and Super SU 2.65 and rebooted. I didn't understand how to flash twrp recovery image. Where can I find it?

Many thanks in advance,

Gipsi
[Nexus 5 General] jd1639:
Google nexus 5 teamwin. Download the latest image file. In fastboot use fastboot flash recovery twrp.img. Use the full name of the twrp recovery image you downloaded
[Nexus 5 General] gipsi87:
Worked great! Many thanks jd1639.:good:
[Nexus 5 General] Gbooye:
Can i use this method to root Lollipop 6.0.1 ???
[Nexus 5 General] jd1639:
Yes
[Nexus 5 General] swaroopce:
Windows 10 Detection Error

Hi guys. So I have Windows 10 64 bit and I could connect my nexus 5. It detects, I can transfer the files, and do all sorts of stuff an android does via PC except the fastboot process.

So I followed all the steps as mentioned by OP but the device is not recognized in the fastboot stage. When I type in the command, "Fastboot devices" the device doesnt show there ! Please see SS attached.

P.S My windows is Genuine and tried updating Drivers too. But Windows keep saying that MTP device driver is upto date. :eek:
[Nexus 5 General] DiamondJohn:
My fastboot.exe has the following MD5. Is yours the same?

C:\Java\x86\Android\android-sdk\platform-tools\fastboot.exe
8c91726dd622cea9c477fc48ab94c195
WIndows Size: 312 KB (319,488 bytes)
[Nexus 5 General] swaroopce:
Looks good to me and the same !!
[Nexus 5 General] DiamondJohn:
Are you actually in the correct boot mode? ie bootloader (green android on his back with his stomach panel open) You cant do fastboot on a standard/ROM/OS boot or in recovery.
[Nexus 5 General] Prattham:
I was using multirom recovery and i uninstalled it using the app itself, there is an option to uninstall it

So now my ques is how do i install my normal twrp again?

Also i have mac and i tried a tutorial quite old though to fastboot flash but i get a error saying this directory does not exist

Any help?
[Nexus 5 General] swaroopce:
Yeah I was in the correct boot mode. The culprit was my laptop USB was not working properly. Fixed the drivers and now running CM13.. Been a couple of days :angel:
[Nexus 5 General] XxMTOxX:
Hey Guys, i have a Nexus 5 android 6.0.1 build number MOB30M, will this guide help me to successfully root my Nexus 5 ?
[Nexus 5 General] audit13:
Yes, this guide will help you root 6.01 by installing twrp and flashing the latest supersu.
[Nexus 5 General] CAL7:
I'm not a total newbie - been rooting since my Nexus One six years ago - but I admit that I am mostly a follow-the-recipe type of guy. I have two Nexus 5's that I had rooted once upon a time, but now both have lost it. I habitually flash the latest N5 monthlies. TWRP 3.0.2 is installed and working. SuperSu is on the sdcard.

To my understanding, all I need to do is flash SuperSu from TWRP and I'm done. Not working. Would someone please give me a tip on what (probably obvious thing) I'm missing? Thangs.
[Nexus 5 General] jd1639:
What version of supersu are you using? Use supersu 2.74. Google it if you don't have it.
[Nexus 5 General] maRci002:
I have recently downloaded AndroidSDKSlim.zip but it wasn't the same as before because the downloaded zip contains an .exe intaller which tryes to download some viruses. Hash(md5) doesn't even match.

The Dev-hosts says it is 1.07 MB but the downloaded one is 5.38 MB.

I don't know what has happened with the link: here
[Nexus 5 General] jd1639:
The dev-host site is a little sketchy. Use the blue coloured button to download, not the green one. If you're looking for just the latest fastboot and adb Google 15 second adb xda.
[Nexus 5 General] maRci002:
Thank you blue button works fine (adb version: 1.0.31) :D

I skipped the "15 seconds ADB Installer" because last time it broke my nexus driver (now I have read the notes and it says: If you have older Google USB Driver installed, please uninstall it from Control Panel before installing new -> I think Windows plug and play already installed it and I hadn't recognized it.)

This time I skipped driver installation and it works even system-wide (adb version: 1.0.32) this makes me happy :)

Temporarily, I have used minimal adb tool but this tool uses an installer for these simple binaries.
[Nexus 5 General] opeller:
Stuck on Rooting part.

Managed to unlock bootloader.

Managed to install CWM recovery (link here doesn't work, TWRP download stuck on 99%)

(used non-touch version from here: http://xdaforums.com/google-nexus-5/development/recovery-clockworkmod-recovery-nexus-5-t2511952)

CWM asked if I want to root when clicked on reboot. I said no.

when I tried to go back to CWM, to do the Rooting step, got lying down android with red triangle.

flashed the recovery again. that helped.

Tried using rooting part of the guide.

cmd says "no file or folder exist"

tried extracting the zip, didn't help.

tried changing the file's name, didn't help.

Copied the zip myself to the phone via windows explorer.

Flashed the zip from inside the phone using CWM. CWM says flashed successfully.

Root checker and Titanium backup says

not root access

.

Please help

and thank you for the great guide :)
[Nexus 5 General] jd1639:
Don't use cwm, it's very old. What version of twrp are you using? Google teamwin nexus 5 and use the latest version.
[Nexus 5 General] audit13:
Flash the latest version of TWRP from here: https://dl.twrp.me/hammerhead/

Flash supersu.zip from here for marshmallow: http://www.supersuroot.com/
[Nexus 5 General] opeller:
Thank you, both, that helped.

I now have TWRP and root access.

I have 2 questions, if you don't mind helping further -

1. OTA Updates - still safe? won't cause any trouble or delte root access\TWRP ir something else?

2. When first opened TWRP it asked if I wanted to do something. Can't remmber what it was. I clicked no. Said if I didn't do it OTA could delete TWRP. Can't find this when I go in to TWRP now, and I looked in all the menus.

Can you tell me what that was? Should I have said yes?
[Nexus 5 General] wangdaning:
OTA will fail anyway with a modified system.
[Nexus 5 General] lusidd:
I'm getting Error: 70 when trying to flash ANY gapps package. Also, strange enough, I have yet to see an md5 check come back ok on my recovery screen when flashing ANYTHING....never....not once, ever. Every, single, time, there is no md5 found. I can confirm the checksum on my pc before flashing, but the phone itself never sees it.

Honestly, i'm not sure i'm rooted correctly. Here are the steps i've taken:

Followed this guide to a T - no gapps/no google service whatsoever. Most importantly, the first Rom I flashed after this guide thought I had a gsm phone, and couldn't recognize my cell service.

Flashed another rom/gapps/etc - same thing, this time I got cell service though, but no google service at all.

Flashed newest teamwin recovery, Supersu, then rom (cm13 this time), and open gapps - failed gapps error:70, no md5 ANYWHERE

...here I am. Honestly I don't think it's rooted, but don't know how to check that. Would someone please take this guide down if it's complete crap? Or am I the problem here due to some stupid mistake?

Thanks for everyone's expertise.

B

---------- Post added at 08:15 PM ---------- Previous post was at 08:09 PM ----------

One more thing - would there be a way to undo superSu, and back all the way out? I have a suspicion that SuperSU is my issue.
[Nexus 5 General] lusidd:
Update:tried re-flashing newest twrp, skipped SuperSU. Flashed Pure Nexus with appropriate gapps w/OUT supersu - gapps succeeded. Now booting to see what happens. Seems SuperSU was issue. Is it possible i'm not rooting correctly? I'm lost at this point.

Thanks for any help.
[Nexus 5 General] audit13:
Maybe the version of supersu was too old?

Also, some custom Roms come prerooted so supersu is not necessary.
[Nexus 5 General] Warworm1984:
i have previously unlocked my phone and cannot restore to factory settings. i have attempted to follow this guide however when i reach step 1 i am told that i am waiting for devices. PLEASE HELP
[Nexus 5 General] lusidd:
I addressed that in the end by not installing supersu. However, why would it have not worked at all? I downloaded the newest version I could find - still no go. I'm good now, just can't figure out what went wrong. Thanks for the help.
[Nexus 5 General] nex5top5:
I did all the steps required prior to starting to unlock the bootloader but when I enter "fastboot devices" into command prompt nothing comes up. I already tried deleting the old Nexus drivers.
[Nexus 5 General] jd1639:
Google 15 second adb xda. It's a much easier way to get adb and fastboot on your pc. It also has drivers. Try that.
[Nexus 5 General] nex5top5:
Thanks, it worked. :)
[Nexus 5 General] nex5top5:
Does rooting make your phone more vulnerable in browsing or only when you download things? For example, can I get a virus if I get an adpage while browsing?

And it may seem like a dumb question but does the SuperSU permanent unroot actually delete everything/unroot? And how would I get rid of a custom recovery so I can make my phone basically factory new?
[Nexus 5 General] piticoeur:
HI all,

I have a big problem. My phone stuck on android logo. I would like to flash a factory image but i can't because my bootloader is locked and i can't access to developper mode to enable debbuging mode.

Do you have any idea to help me?

Thanks in advance.
[Nexus 5 General] audit13:
No need to enable USB debugging, just boot into fast boot mode and run the unlock command from your computer.
[Nexus 5 General] piticoeur:
Did it, but the phone reboot after to normal and of course bootloop^^ and status stay "locked" when i come back on fastboot mode
[Nexus 5 General] audit13:
If the bootloader is relocking itself on reboot, the Emmc chip is damaged and will necessitate a motherboard swap.
[Nexus 5 General] TeddySika:
sorry if i ask dumb question, i'd never root any android device before, and now i have intention to do it because of the benefit that i read on my research.

my question is, if i do unlock bootloader, install custom recovery, and root the device. All my data in the phone will be wipe (my phone will be like a brand new phone), so i have to set up my phone all over again (like the apps, setting, etc) ?
[Nexus 5 General] Primokorn:
Yep but you can backup your data before unlocking the bootloader :)
[Nexus 5 General] tayyeb:
Hi,

Will this method still work with the latest builds MOB30P Android 6.0.1?
[Nexus 5 General] Primokorn:
Don't quote OP...

Yes, it should even work with MOB30Y.
[Nexus 5 General] tayyeb:
Thanks. I'll try the root.

My mistake about quoting. I just used the quick reply button and the whole post got quoted.
[Nexus 5 General] TeddySika:
Back up manualy, and store it manualy?

There is no other way to sync downloaded apps?
[Nexus 5 General] Primokorn:
Do you know adb commands or Helium app?

You may want to give a try to Google backup features... I never tried it.
[Nexus 5 General] TeddySika:
i tried helium backup, its good, but it can't backup all the apps. there is some apps disallowed by the developers.
[Nexus 5 General] Primokorn:
That's why you should learn how to use adb (you have a Nexus mate ;)).
[Nexus 5 General] TeddySika:
One more question if you dont mind, for beginner like me, i think im going with option A (flashing SuperSu, so im still using my stock Rom)

cos its hard to find the right custom Rom for my devices.

do you agree?

---------- Post added at 02:38 PM ---------- Previous post was at 02:37 PM ----------

One more question if you dont mind, for beginner like me, i think im going with option A (flashing SuperSu, so im still using my stock Rom)

cos its hard to find the right custom Rom for my devices.

do you agree?
[Nexus 5 General] Primokorn:
I don't but to each his own :)

Thanks to our awesome devs, we have a lot of different custom roms. With custom roms, we have additional features and we don't care about OTAs.

We can choose between dozens of custom roms so it's harder to find the one that fits our needs. First, you have to know what you want: as close to stock as possible or a lot of features? CMTE or Layers or no themes?

I'm currently using CM13 jgcaap builds because I want CM13 with optimizations. Sometimes I want more features so I flash Dirty Unicorns, Resurrection Remix,...

Do you want to be in touch with the devs? If so, don't flash a ported rom like Temasek for example.

Download several suitable roms > nandroid backup > flash them one by one. You should be able to select a handle of roms that fit YOUR needs.
[Nexus 5 General] cleverior.ipul:
i have tried to root my nexus 5 using cwm or twrp 3.0.2. but after reboot, my phone just stuck on bootanimation. please advice..
[Nexus 5 General] TeddySika:
is it enough to just follow this OP http://xdaforums.com/google-nexus-5/development/rom-cyanogenmod-13-jgcaap-builds-t3322439

without OTAs, how you manage to update the apps ?
[Nexus 5 General] Primokorn:
CWM or TWRP ? What did you flash?

There's no instructions to install this ROM. Basically:

1. Nandroid backup (latest TWRP version)

2. Wipe (advanced wipe) > system + data + cache + art cache

3. Install rom + gapps (optional) + custom kernel (optional)

4. Reboot

System apps are updated through the custom ROM. Flash rom updates, that's it.

User apps are updated from the Play Store, F-Droid, Github, XDA Labs...
[Nexus 5 General] TeddySika:
finaly my nexus 5 is rooted, thanks to you.

but i cant find the right GAPPS, could you give me link of GAPPS that compatible with the rom (cm13 by jgcaap).
[Nexus 5 General] Primokorn:
I don't use Gapps but you can use the ones mentioned in OP (Slim Gapps) or Open Gapps or Banks dynamic.

We are OT now. Please use this thread if you need further information ;)
[Nexus 5 General] cleverior.ipul:
superSU
[Nexus 5 General] Primokorn:
If you make an effort I will make one too...
[Nexus 5 General] sameer22:
Hey! I'm currently on stock 6.0.1 on my Nexus 5 and a total noob about this stuff. Will this process still work fine for me? Or do different android versions/updates alter the process?
[Nexus 5 General] jd1639:
It'll work fine. That's nothing different
[Nexus 5 General] sameer22:
I'm a bit confused about the transition from the last two bullet points of section 2 to 3(b)
[Nexus 5 General] TeddySika:
After flashing custom recovery, u have to restart bootloader. And then select recovery mode. Now u will be in recovery mode (twrp/cwm), choose install and select custom rom that u copied to the phone storage.
[Nexus 5 General] sameer22:
That's after I wipe the cache and dalvik?

Also what if I go for 3(a) and then later 3(b)?
[Nexus 5 General] jd1639:
3 a just roots the device with the stock os. If you want to flash a custom Rom later, that's ok. You won't have any problem. And if you want to flash a custom Rom, 3b, and then later flash supersu that's ok too. Always use the latest supersu which right now is 2.76.
[Nexus 5 General] TeddySika:
yes if choose option B you have to wipe everything to flash new custom ROM (i suggest to make nandroid backup)

if you go to option A : just flash the superSu and ur phone is Rooted (you still using the stock ROM).
[Nexus 5 General] sameer22:
I'm really confused what the SuperSU does. Also doing all this with the help of Windows 10 won't be an issue? Coz I've read people having some issue with 8.1 :)
[Nexus 5 General] jd1639:
Supersu is software by chainfire that allows the device to access the root level of the file system. People have had random issues with all versions of Windows. I use win 10 without any issues. An easier way to get adb and fastboot on your pc is to Google 15 second adb install xda. It's much easier than SDK. It also provides the required drivers.

Also, don't use cwm. It hasn't been adequately supported for awhile. Use twrp.
[Nexus 5 General] overclock360:
Will these procedure work for my nexus 5 6.0.1 build MOB3OY??
[Nexus 5 General] audit13:
Yes, this will work on 3oy but you'll have to use the latest release of supersu.