yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] Mranggapo:
hello all im newbie here

i want to ask, is flashing custom rom wiping my internal (photos music etc) like when unlocking bootloader ? i know apps will be deleted, but is my photos affected too ? TIA :D
[Nexus 5 General] muzaffarkhan95:
While flashing rom you dont need to wipe your Internal storage, u just need to do a factory reset which will not affect your photos!

If u wipe your internal storage then your pictures will be deleted!
[Nexus 5 General] Mranggapo:
is kernel comes from a rom ? i want to flash PACrom but im at stock rooted with elementalx kernel

must i revert to stock kernel ?
[Nexus 5 General] muzaffarkhan95:
Yea u get another kernel when you flash a rom, the rom's kernel..!! If u want to revert u can flash that kernel after flashing your rom!
[Nexus 5 General] Tcheker67:
Problem to download SuperSU

Thank you very much for this thread, very helpful.

I have a problem to download SuperSU from the link you posted on the first post (chainfire)... Is there another solution to download SuperSU.zip ?
[Nexus 5 General] shivambajaj:
Thanks bro :)
[Nexus 5 General] Primokorn:
This? http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip

It works as usual.
[Nexus 5 General] mgf8384:
Hoping someone can help. I've unlocked bootloader easily, however, im having a problem flashing recovery. Each time i get failed remote error image is not a boot image....it starts to write and then fails. ive tried with cwm and twrp. i am placing the file in my adb folder, and renaming it to recovery.img so really i dont know whats wrong. never had this issue ever before. i checked to see if it was flashed, and nothing was there, showing a dead robot with an exclamation. cannot figure it out!
[Nexus 5 General] failly:
What command did you exactly use?

Also, make sure the md5-sums match up.
[Nexus 5 General] ratflinger:
Why is this thread not a sticky?
[Nexus 5 General] :
It's in this sticky. ?

http://xdaforums.com/showthread.php?t=2784527
[Nexus 5 General] ratflinger:
OK you win
[Nexus 5 General] abejoker:
If I root with towelroot, can I still install Google updates?
[Nexus 5 General] jd1639:
If you're just rooted and don't change or delete any system apps, yes
[Nexus 5 General] joecool666:
yes just as jd1639 says
[Nexus 5 General] tech7:
I just got my nexus 5 the other day and I'm on tmobile and all I want is too root to do the working hotspot no flashing what's the best way and safe way
[Nexus 5 General] rkkaranrk:
Towelroot is the answer.
[Nexus 5 General] tech7:
Thanks

---------- Post added at 12:56 AM ---------- Previous post was at 12:40 AM ----------

It work awesome I did get an error on installing busybox something like that but reboot and work fine
[Nexus 5 General] manj0t:
Help needed

I've unlocked my nexus 4's boot loader recently to flash custom roms and recoveries... but after flashing any other rom that the stock 4.2.2 image from google....the phone always stucks on bootloop.. Yes, I've tried wiping cache and all but didn't helped in any way...

the boot animation comes and keeps on running.... I
[Nexus 5 General] :
Though similar procedures for most stuff on both devices.....the N4 section is thata way....

http://xdaforums.com/nexus-4

?
[Nexus 5 General] manj0t:
Ohh sorry
[Nexus 5 General] Orwar:
Hello guys I'm a newbie and i have a question that hopefully someone can answer fpr me.

Once i do this whole procedure up to and including the rooting part (without installing a custom ROM) will I still receive stock updates for android?
[Nexus 5 General] jd1639:
As long as you don't change or delete any system files, yes
[Nexus 5 General] ironia.:
tnx for the guides, and about installing busybox?? when is really needed??

tnx
[Nexus 5 General] Primokorn:
When you want to use Unix tools. Some custom roms and 3rd party apps have a built-in version of Busybox. I don't have a specific app for Busybox for instance.
[Nexus 5 General] Orwar:
Thank you for the reply!
[Nexus 5 General] OvrTehBottm:
My problem:

Unable to boot into recovery after flashing custom Recovery

I don't see an error beyond the Android with the red exclamation point. My only problem is fastboot does not produce a device# when entering "fastboot devices". In fact it reports nothing, not even an error. The cable is the original OEM and plugged into (various - to test) USB 2.0 port(s).

"Adb version" produces Android Debug Bridge version 1.0.31

I can push via adb, flash via fastboot (already reverted to stock ROM but oddly phone remains unlocked); however, I am unable to flash a custom recovery.

Any help would be greatly appreciated.
[Nexus 5 General] Elluel:
Are you sure you're using:

fastboot flash recovery whateverrecovery.img

Also, flashing factory images does not reset the bootloader status or tamper flag unless you used LG Flashtool.
[Nexus 5 General] OvrTehBottm:
Yes, I used the command line as you stated.

fastboot flash recovery recovery.img

I renamed the original file named recovery-clockwork-6.0.4.5-hammerhead.img). I did not add .img to create recovery.img.img.

Also thank you for the correction re: unlock/lock status.
[Nexus 5 General] Elluel:
Well, the "Android with the red exclamation point" is the stock recovery. Are you sure you're not just flashing the stock recovery over again?
[Nexus 5 General] OvrTehBottm:
I'm positive, everything from the Android SDK to the Recovery and SuperSU where freshly downloaded/installed this morning. There were no older files utilized. Which then begs to ask another question.

Did the fact that fastboot not report my device (fastboot devices) cause an issue? If so, any thoughts as to how to fix this issue? As previously mentioned both abd and fastboot could push and flash without any error's.
[Nexus 5 General] jd1639:
What happens if you lock the bootloader, then reboot? Does it stay locked? Our is it still unlocked?
[Nexus 5 General] Elluel:
Not sure why it wouldn't report your device with fastboot devices but you could still use fastboot flash.

Try what [MENTION=4858937]jd1639[/MENTION] said:

If its still unlocked after locking and rebooting, then it could be dead/damaged/faulty eMMC.
[Nexus 5 General] OvrTehBottm:
As an update (thank you both for trying to help me through this) I was able to re lock the phone using "fastboot oem lock"

Should I go through the whole process from scratch again? Or are there any other tests or procedures I should run prior to another attempt?
[Nexus 5 General] Elluel:
You might as well give it a shot.
[Nexus 5 General] OvrTehBottm:
Update:

I was able to unlock the phone once again. Then upon trying to access Recovery I got the Red Exclamation Android (Note: I had flashed the Stock ROM from Google). At which point, since recovery was hosed, I went back to the Bootloader and reflashed CW 6.0.4.5 (recovery-clockwork-6.0.4.5-hammerhead.img). At this time I have access to the aforementioned Recovery.

I do plan on checking out a custom ROM or two, but first I want to make sure this Recovery sticks and remains working.

Thank you Lethargy and jd1639 for the assistance.
[Nexus 5 General] Ryanrioz:
erm.... have u flashed any custom recovery and before that, installed USB Naked Driver?
[Nexus 5 General] OvrTehBottm:
I had done just that, quite a while ago in fact, unfortunately the recovery stopped working (it would lockup on the main recovery start screen). I got scared, so reverted to a Stock ROM out of a Kit. Since that time, specifically yesterday, I chose to re-attempt the recovery change. Which as mentioned worked and appears to still be working.

On a side note: I am using the command lines to do all my ROM and Recovery toying now. No more Kits, no disrespect to the Kit developers. After all, they saved me the first time I tried to futz with my Nexus 5. I simply prefer to do my futzing manually.

Oh and on another note: I found out why fastboot wouldn't report the device#. Idiot over here wasn't in the Bootloader -sigh-. So both my Nexus 5 and 10 report their respective device#'s while in the Bootloader and using 'fastboot devices'
[Nexus 5 General] :
You usually flash roms from your custom recovery. ?
[Nexus 5 General] OvrTehBottm:
Oh I know, I simply use adb command line to push the ROM up to /sdcard/<relevant directory here>. I just installed CM 11 on my Nexus 10 this morning using that method.

adb push <ROM filename>.zip to /sdcard/

adb reboot recovery

install from zip > navigate to directory containing the ROM

Obviously that's shorthand, but the general gist is correct.
[Nexus 5 General] FryedPigBacon:
So is it possible to unlock the bootloader using the those methods if the phone was already rooted ( unfortunately killing a kitten)
[Nexus 5 General] jd1639:
Of course it is. Doesn't matter if your rooted. But, I'd get bootunlocker from the play store and unlock with that. That way you won't wipe your device
[Nexus 5 General] FryedPigBacon:
device needs to be wiped regardless so I figured I would take the opportunity to earn to do it manually.

How do i make sure that i get the correct TWRP file, just use the newest img ?
[Nexus 5 General] jd1639:
Yes, 2.8.0.1 is the latest img file. Just flash that. And thanks for saving a kitten:)
[Nexus 5 General] FryedPigBacon:
thanks for the prompt answers, one more question. The stupiest of them all, when you root using the SuperSU zip file method, that is separate from installing a superSu Superuser app after rooting correct. It doesn't install a superuser protection app such as SuperSU at the same time.
[Nexus 5 General] jd1639:
Yes, it's separate from the app. Once you're booted into the os you can download the app from the play store. You don't need to but I'd recommend out.
[Nexus 5 General] PiyushS:
Hi,

Fisrst of all, I would like to thank you for this wonderful thread. Didn't faced any problems while rooting.

I have a rooted nexus 5 running CM11 ROM. Now, as Android L has been released and in a week or two it will available to nexus users officially. I wanted your guidance in getting the same. As per my understanding, I have to follow the procedures mentioned in this thread- http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

My only question is, If i flash the Stock ROM but still keep my phone rooted and TWRP as recovery tool, Will i get the official update to Android L?

If not then what is the way i can achieve that?

I wanna keep my phone rooted, don't wanna loose any data. Got Titanium backup plus running so desiring to use the same to recover my App data and everything else.

I am a newbie, So Please don't mind if i sound stupid! :p

Thanks :)
[Nexus 5 General] rapastor:
You can find all the information to update in this thread.

http://xdaforums.com/showthread.php?t=2523217
[Nexus 5 General] iamsuper123:
So, I am running Paranoid ROM. How to install factory images on Nexus 5? Available HERE

Do I need to unroot or anything?
[Nexus 5 General] rkkaranrk:
No u dont need to u root Ur phone. Simple flash tge factory image.
[Nexus 5 General] iamsuper123:
How to flash the factory image? sorry just need some advise so that I don't mess up anything.

THIS thread says, factory image and unrooting phone - so you are saying I don't need to unroot and lock the bootloader back for installing Android 5.0 image on Nexus 5?
[Nexus 5 General] rkkaranrk:
check this thread all u need is in the first post.

http://xdaforums.com/showthread.php?t=2513701
[Nexus 5 General] Rajenderreddy:
how can i update my gionee m2 4.4.2 to andriod L

Can you please tell me how can i update my gionee m2 4.4.2 to Andriod L
[Nexus 5 General] doctor_droid:
Dont purchase a gionee next time..simple...

Wrong thread btw
[Nexus 5 General] :
This is the Nexus 5 section. Also, L isn't officially out yet for any device. You'll need to check with your phone maker about when, or if you will get updated to L. Or maybe Devs will port it to your device.

I'd read up in this thread here,

http://xdaforums.com/showthread.php?t=2759784
[Nexus 5 General] bouncingsoul:
Hi,

Question, i flashed the 4.4.4 factory image and now i dont have any recovery mode anymore. The bootloader is still unlocked, but when i try to install twrp with the fastboot command, i get "cannot determine image filename for 'recovery.img'".

That's not a problem for now. I just want to be sure, i'm now stock, unrooted, i will get Android L with OTA updates, wright?

And it's no problem that i don't have a recovery image installed?

:crying:
[Nexus 5 General] :
Right now you are on stock recovery, stock rom. So yes, as is... You should get the Ota.

As far as flashing the custom recovery. It sounds like you changed the filename? First, that's unnecessary. Second... In Windows, go to view properties... Turn on "show all file extensions", or uncheck hide file extensions.. Whichever, I forget. I think what you've done is renamed recovery file to recovery . IMG. IMG ?
[Nexus 5 General] Kofi o:
Installing lollipop on rooted N5

Hi Chromium,

Thanks for this excellent post.

I've managed to successfully root my n5, with a view of flashing the mahdi rom.

Before doing all this I would like to try out android L(once it's released)

Is it actually possible to install android L OTA?

If so, will that undo my rooting?

Thanks

Kofi
[Nexus 5 General] zimmbadroid:
Hi,

Afaik, you will get official OTA update only on stock ROM and you will lose root rights after update.

Regards

Sent from my Nexus 5
[Nexus 5 General] Primokorn:
OTA uses incremental updates so you must have the latest stock build before receiving the new one. More details in the OTA help desk thread.

BTW why do u care about OTA? OTAs are the leading cause of frustration among Android users. :p
[Nexus 5 General] Kofi o:
I'm approaching my one year android anniversary (used to be apple) so I've not really experienced that frustration.

It's not too late for me to experience that OTA nightmare ?

Anyhow thanks for the info.
[Nexus 5 General] :
Nexus devices have flashable files very soon after OTA's.... IMHO, always best to flash the new versions clean. ?
[Nexus 5 General] Kofi o:
Sorry, I missed this one.

Thanks for the tip:)
[Nexus 5 General] Kofi o:
Nandroid backup on rooted nexus 5

Hello All,

I was hoping someone can help or point me in the right direction.

So I've followed all the instructions and I now have a rooted stock n5 with the bootloader unlocked and CWM recovery installed.

I've created a nandroid backup using CWM recovery but unfortunately I'm not able to view this backup via any file Explorer app.

According to recovery the backups are stored in /sdcard/clockworkmod/backup

but according to my file Explorer apps that path does not exist. All i see is /sdcard/clockworkmod.

I've attached an image of the verbose during backup creation if it helps.

Additionally, I've noticed that the timestamp on the backup is incorrect (please see attached image)

Ultimately, my main goal is to successfully create a backup which I can port to my PC, so any guidance would be much appreciated.

Thanks

Kofi
[Nexus 5 General] Primokorn:
Forget CWM and install TWRP. All your issues will be gone :)

You can use adb pull to copy the backup folder to your PC: http://xdaforums.com/google-nexus-5/general/noob-read-adb-fastboot-how-hep-t2807273

EDIT: CWM backups are located into /data/media/clockworkmod/backups (which is 'wrong' since JB 4.2)
[Nexus 5 General] Kofi o:
Thanks for the tip. :good:

For the TWRP installation, can I just continue from step 2 of the above instructions.

Or do I need to follow some particular pattern.

Sorry for being anal but I'm just paranoid about messing up my phone.

BTW - The CWM backup is not in the location you mentioned. (Not a prob though as I'm going down the TWRP route)

Thanks

K
[Nexus 5 General] Primokorn:
You just need an unlocked bootloader. Then follow 2. Installing a Custom Recovery.
[Nexus 5 General] Kofi o:
Thanks again. ?
[Nexus 5 General] vakkah:
perhaps you should try the nexus root toolkit by WugFresh..

I find it to be the easiest tool to accomplish all of the fastboot, bootloader unlock/lock, root, custom recovery, backup, apk installs etc..

it even allows the easiest backup to a location on your pc..

best of all, shoud you want to restore your device to stock complete with bootloader lock and unroot, this can be done easily..

the toolkit is available on xda forums at..

https://www.google.com/url?q=http:/...ds-cse&usg=AFQjCNEgtEnK20IcN6WKujx6GpIirxkNPw

hope this helps..
[Nexus 5 General] Primokorn:
The best thing is that you don't know what to do when an error occurs :fingers-crossed:
[Nexus 5 General] Regensburg:
I searched briefly the topic for answer but found nothing.

What could be wrong if the phone stopped responding after command "fastboot oem unlock"?

I mean it finished erasing process and shown the red "unlocked" status but it didn't react on "fastboot reboot" command at all, also the volume keys couldn't list the recovery menu. I had to press and hold power button to switch it off. On power on it wiped the phone and booted OK, but I still have a bad feeling that something could be wrong with the phone.

One more question - could some hardware settings get lost after unlock, like display profile? The screen has unpleasant red tint now (although I got the phone a day ago, may be I didn't noticed the tint before unlock, I know it's a common problem).
[Nexus 5 General] seandorsman:
Thanks for the clear explanation! Really user friendly!
[Nexus 5 General] mikedef:
Can't validate version

I installed the the SDK Tools only Zip for Windows 32 and 64 bit. I am running windows 7 64 bit. I extracted the files and ran the SDK executable, then installed the Tool Kit, platform tools, library and drivers. However, at the end of the installation process I get a message that reads

"The Android SDK and AVD Manager that you are currently using has been updated. It is recommended that you now close the manager window and re-open. If you use Eclipse please run Help>check for updates to see if the Android plug-in needs to be updated."

I closed the window and re-opened it, but nothing happened. After when I ran the command prompt to ensure proper installation I get "the system cannot find the path specified."

I noticed that when I extracted the files, the folder changes names to android-sdk_r23.0.2-windows. I changed the name of the folder back to andriod-sdk-windows and still got the same "system cannot find path" message.

Is there a more up to date zip I need to download? Any advice greatly appreciated.
[Nexus 5 General] jd1639:
Skip the sdk setup, it's much more that you need. Google 15 second adb install xda. That'll install all you need for fastboot, adb, and the drivers
[Nexus 5 General] mikedef:
That will allow me to root and install a Franco kernal?
[Nexus 5 General] jd1639:
Yes, just follow the rest of the steps in the guide to root and install a custom recovery
[Nexus 5 General] mikedef:
Are all the commands the same, with the path changed to ADP in stead of android-sdk-windows/platform-tools. I am new to this so I'm just trying to figure the coding out.
[Nexus 5 General] jd1639:
All the commands are the same and you shouldn't have to worry about the paths, the set up takes care of that. Just open a command window up in the same folder as what you're to trying to flash is located. Use shift, right mouse click in that folder
[Nexus 5 General] j0zu3:
This guide still work on android 5.0 Lollipop LRX21O?
[Nexus 5 General] jd1639:
Yes it does
[Nexus 5 General] yaron86:
root doesn't work for my on lollipop

i flash the UPDATE-SuperSU-v2.16.zip and installed titanium backup and it says i am not rooted

when i open superSU app it says "there are no SU Binary installed and super su cannot install it. this is a problem"

what should i do ?
[Nexus 5 General] ashar65:
hello,

would you still receive the OTA updates if you have flashed a factory image?
[Nexus 5 General] X-Jonte-X:
I have update to lollipop via ota side load. Before I had to flash the stock recovery, so I'm now nearly stock, but I still have the superuser app installed under system apps.

How can I uninstall the superuser app from clockworkmod? Also the su file is also there and my banking app said I'm still rooted, but I didn't.

Can I simply flash the system. IMG over?

Will I loose my user data?

---------- Post added at 11:41 AM ---------- Previous post was at 11:38 AM ----------

Sure if you are now complete stock,it should work now.
[Nexus 5 General] Quickfire:
I'm also facing this problem. Mine is a clean wipe and install, flashed 5.0 factory image, flashed TWRP, and used TWRP to flash the v2.16 SuperSU zip. No root access. How do I fix this?
[Nexus 5 General] jd1639:
You need a modified kernel to get root
[Nexus 5 General] smhtc:
Yup, this works now. Root didn't work on stock lollipop kernel. Just flashed Franko kernel and automatically root access was activated (since I had already flashed supersu zip while on stock kernel).
[Nexus 5 General] xXxNeXuSxXx:
I rooted my n5 lollipop.... But some rooted apps fail to get root access...like es file manager (root exp)...xmodgames...etc

In es it says failed test...and xmod shows device is not rooted...

In root checker it say rooted :(

Any solution?
[Nexus 5 General] afineday2die:
i have this problem too

edit : problem solved. i installed cf auto root and supersu updated 2.20
[Nexus 5 General] SteeLx:
will this same method work on new Nexus 5 Android 5.0 (12th Nov 2014) ??
[General Topics] nexusbandit:
I was just notified by sprint that the 4.3 update is available as of yesterday for the sprint galaxy nexus sph-l700,the update includes new new radios for both the cdma and lte modems and updates to binary files,sprint said this is only an update to the 4.2.1 factory rom and not a full rom,he also said that the hardware video accelerator is the only known problem at this time,the update takes you from ga02 to gj04.if anyone tries this update please let me know how it works!
[General Topics] diestarbucks:
There are a couple of threads for this already over in the Galaxy Nexus forum. You can get some more info here:

Samsung Galaxy Nexus > Galaxy Nexus General

Going to go ahead and close this one.
[Nexus 7 (2013) Android Development] DevSwift1:
KitKat for Flo and Deb

KitKat Features

Download:

Flo: http://d-h.st/2GL

Deb: http://d-h.st/WTy

Not Tested!!

Root:

http://download.chainfire.eu/351/

Gapps:

http://www.paranoidandroid.co/roms/gapps/ thanks to Paranoid Team​
[Nexus 7 (2013) Android Development] jaybizza:
Wow..First for once
[Nexus 7 (2013) Android Development] Imppy:
Are these using the bineries?
[Nexus 7 (2013) Android Development] DevSwift1:
Yep from 4.3
[Nexus 7 (2013) Android Development] Imppy:
There's way too many forums with the same aosp stuff using 4.3 binery..May I ask what is different with your ROM?
[Nexus 7 (2013) Android Development] DevSwift1:
You have other binaries???

the difference is that rom will be available also for Deb

Edit

Deb version in first post! Enjoy
[Nexus 7 (2013) Android Development] zaydaboss:
Working camera?
[Nexus 7 (2013) Android Development] Rouz.:
@OP, Thanks for the Deb version, much appreciated! not many people develop for deb.
[Nexus 7 (2013) Android Development] ThaiDai:
So simply building a ROM from the sources is now "Original Android Development"?

Like some other 4.4 threads I do not really see "development" here as expected.

Maybe these threads should be moved to the usual development forum?
[Nexus 7 (2013) Android Development] dobbs3x:
Might be because its early stage, they are getting the threads setup for development, for example, ParanoidAndroid has a thread with AOSP 4.4 started and getting ready for their version.
[Nexus 7 (2013) Android Development] aznrice2k4:
Awesome. I was gonna test illusion some more...but this woke me up. Everything is working like buttahhh.
[Nexus 7 (2013) Android Development] yvliew:
flashed the rom. running well. unfortunately 4.4 still doesn't fix the touch screen.. so just what's wrong with the screen? is it hardware or software? I would seriously consider ipad mini retina...
[Nexus 7 (2013) Android Development] krotwijk:
camera

Not available in deb version
[Nexus 7 (2013) Android Development] aooga:
Dev host is having problems. Mirror please?