yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] Natherul:
Thanks, I will root my Nexus the second I get it now that I am armed with this knowledge..... around the 20:th or something.... well thats what you get for living in Sweden :D
[Nexus 5 Q&A, Help & Troubleshooting] canuduh:
This was one of the more intuitive posts I have read thus far to learn about rooting for a noob. Meow!
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Meh, I guess a meow will work too. :D
[Nexus 5 Q&A, Help & Troubleshooting] chk27:
Thanks for the guide abaaaabbbb63,

I've read it but I've still got a question.

Why the bootloader unlocking is necessary to gain root access to the phone? I mean, I saw that chainfire's cf-auto root for nexus 5 uses a custom boot.img to copy the files to the system partition, thus the unlocked bootloader need, but is this a general thing or there may be other ways that do not use a custom-one shot-boot.img to copy the files?

Thanks
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Unlocking the bootloader gives you permission to access any partition, and modify or overwrite it. No unlocking bootloader-no access.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Gah. Can't believe I didn't get chance to create this thread ;)
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Hehe :D got here first
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Mine's due to be delivered any day now.
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Challenge: Make a dGB equivalent for the N5!
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Ha ha. Not really needed. I want to see PAC myself :)

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Q&A, Help & Troubleshooting] DigginGraves:
Meow!!

7155 views, but sadly, only 9 cat posts :(
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
It's a slippery slope. Living with 2 cats myself, if I started - there'd be no stopping it.

Anyway, cat images are a gateway image to elephant images - and then we're doomed.
[Nexus 5 Q&A, Help & Troubleshooting] Ex1a:
Thanks for the guide ^^

There were a lot of interesting things.

It's a pity I dind't see this post before xdd
[Nexus 5 Q&A, Help & Troubleshooting] :
Love the FAQ! If only I had been able to read this when I first started rooting devices. Still not sure whether I'm going to root the Nexus 5. I do love the multi-window features certain ROMs offer. However, I don't want my device to become faulty, like the battery drainage getting "even worse". Also I do like receiving new updates as soon as they're available.

Still a very nice FAQ, though.
[Nexus 5 Q&A, Help & Troubleshooting] Ex1a:
If you refear to OTA updates I think you can install them though you are root but you'll have to do it manually.

Correct me if I'm wrong.

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] gee2012:
Here is the OTA Helpdesk for the N4 http://xdaforums.com/showthread.php?t=2145848, a similar thread will come soon to the N5 i`am sure. My guess is this will work allready for the N5 as the principal stays the same.
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
There is one, linked in the third post :)
[Nexus 5 Q&A, Help & Troubleshooting] gee2012:
Sorry bro , didn`t see that lol.
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Added to the first post. I will add some things about ART too.

I hope you don't mind if I used your words. Very nice written!

Thanks a lot!
[Nexus 5 Q&A, Help & Troubleshooting] someone0:
Nope, I don't mind.
[Nexus 5 Q&A, Help & Troubleshooting] nap007:
hi, nice tutorial, however I have questions

1. what is the difference between CWM and TWRP? and how to install them? does it require device to be rooted first?

2. I'm making an assumption here, hopefully I'm right; in general everything we do whether 'installing' CWM or flashing ROMs are done from the phone itself? no need to use pc besides downloading the files and moving them into the device, is this correct?

3. can we multiple boot droids?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
1) different "brands" of recovery. It requires bootloader to be unlocked. Read the sticky in "general"

2) roms are flashed from recovery on the phone. Flashing recovery requires a pc. Again, read the sticky in general

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Q&A, Help & Troubleshooting] nap007:
okay, obviously there is need to keep all the tutorial in a single place, isn't it... so I need to connect the device to pc while unlocking bootloader and installing custom recovery... but after that I no longer need to connect the device to pc when installing roms right?

also I still have confusion about cwm and twrp, it seems that based on the tutorial, cwm has the more detailed functions? it wouldn't hurt to er... give us newbs more detailed explanation for their advantage and disadvantage, right...?

sorry for my noobish questions, I never done low level customization with androids before although I had such experiences with winmo long time ago.

uh btw, my 3rd question from before, let me rephrase, can we install multiple roms inside an android devices like multiple os inside a pc?
[Nexus 5 Q&A, Help & Troubleshooting] gee2012:
1. Custom roms are flashed with a custom recovery, a factory image with adb in fastboot.

2. Its best to try out both CWM ad TWRP to find out what suits you best.

3. Yes you can install, backup and restore and switch easily between multiple roms in recovery (backups). No dual-boot atm.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
If you read the cwm and twrp threads, you should get an idea. They both pretty much do the same but its down to personal preference.

If you're unfamiliar with recoveries, try cwm for a while and get familiar. Once you're familiar - then try twrp. Essentially, you have to try everything yourself. I can't tell you which you like best

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Q&A, Help & Troubleshooting] PhilipTD:
Thanks

Thanks for the post.
[Nexus 5 Q&A, Help & Troubleshooting] ImDaiLow:
Can someone show me the thread for OTA update of rooted device?
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
3rd OP post, OTA Help-desk thread.
[Nexus 5 Q&A, Help & Troubleshooting] gee2012:
Here you go http://xdaforums.com/showthread.php?t=2475327 or here http://xdaforums.com/showthread.php?t=2523217. Try searching next time, you will be amazed of what you will find ;)
[Nexus 5 Q&A, Help & Troubleshooting] GSLEON3:
[MENTION=4346614]abaaaabbbb63[/MENTION] I think you should probably include this informative video to the "Before you root" section:

[YOUTUBE]wwleOote5M0[/YOUTUBE]
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
It's funny and all, but some of us really do sit around all day waiting for people to break their phones :D
[Nexus 5 Q&A, Help & Troubleshooting] BrannonJB:
Thank you!

Awesome work on this! I'm still a noob but rarely post and honestly I don't usually have a need to because I can usually find help in the forums by SEARCHING and READING...I know it's unconventional but it works for me. :silly:
[Nexus 5 Q&A, Help & Troubleshooting] someone0:
you forgot to add, "so they can laugh at it and POUR salt to injury". Or maybe that is just my inner evil speaking.
[Nexus 5 Q&A, Help & Troubleshooting] ericsunshine:
Good thing to see this in the N5 section too.
[Nexus 5 Q&A, Help & Troubleshooting] Artexman:
[/URL][/IMG]

Thanks for this post and all those that helped with comments along the way.....now lets get to flashing!!!
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Haha, now that's a gorgeous cat! :p
[Nexus 5 Q&A, Help & Troubleshooting] Arikuzo:
Thx, I have learnt very much from this thread, I hope I will het my Nexus 5 soon
[Nexus 5 Q&A, Help & Troubleshooting] pravinzs77:
Very informative post. Great effort!!
[Nexus 5 Q&A, Help & Troubleshooting] jball:
We don't use short text in here.and learned is the correct spelling as I'm sure you know big "dog"

Edit: I apologize to you Arikuzo

Different uses for the same word for distant places.please feel free to bash me
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
If we're going to get picky, although there are some schools-of-thought where "learnt" is the past tense and "learned" is the past participle and that they are not synonymous, in fact they can be. They are both alternative spellings and will vary depending on which "version" of English you use. "Learned" is more common in American English, however "learnt" is more common in British English. To correct someone for using the British English spelling of a word, whether English is their first language or not, is not really the done thing.

http://www.oxforddictionaries.com/words/learnt-vs-learned

English is not everyone's first language so even if the poster was incorrect, it is unfair to pick on them for incorrect spelling of the word. A polite correction would be more appropriate but that is not even the case here. English spellings do vary around the world and you need to be aware of this before picking on someone (or even just correcting someone) for using a particular word. As far as I am concerned "color" and "sumarize" are incorrect spellings of "colour" and "sumarise" however, I would not dream of correcting an American on this. This is a multi-cultural forum, with people from all walks of life in many different countries where often English is not the first (or even second) language of some of our peers.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
No bashing required ;)
[Nexus 5 Q&A, Help & Troubleshooting] Bax5:
As a first time rooter on stock, there's no way to backup app data or sms without first wiping to get root, right?
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Nope. Your app data will be wiped. There are some non-root backup apps on the play store. Try them.
[Nexus 5 Q&A, Help & Troubleshooting] jdugan83:
Rookie Rooter - Thanks for the walkthrough!

New rooter joining the community. Thanks for the walkthrough! Hopefully my Kitty comes through in the attachment.
[Nexus 5 Q&A, Help & Troubleshooting] shakta:
Hey guys and Thanks for a wonderfull thread!

A basic question but it is related to Galaxy.. hope it is ok to post here since the question is on "Android partition system".

From what I know - in Galaxy s1, when flashing a rom, it touces the System partition only. So the Photos and Music etc are not getting erased.

Does it change in new devices? I have been told that in new devices like GS4, system partition and Media is in the same place and when flashing a rom - also photos getting erased....

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] SonicAngel:
Thanks! This was very informative for someone who just switched from an iPhone to a Nexus 5 :)

I'd gladly post a cat but I'm a noob and XDA gods have prevented me of doing so!

Cheers mate ;)
[Nexus 5 Q&A, Help & Troubleshooting] FShiwani:
Awesome Thread!

So un-rooting brings the warranty back?

[Heres your text cat]
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Yup. Well, unrooting the proper way...
[Nexus 5 Q&A, Help & Troubleshooting] j831:
Very informative thread! I read through it all, but can't link images yet, so no cat.

I'm still having a little trouble understanding Dalvik cache though. Is there a simpler way of explaining it? I'm mostly just wondering in what scenario I would need to clear Dalvik cache.

I also have questions about backing up/restoring stuff. If I create a backup using TWRP, all apps and app data will be backed up right? The only thing not backed up would be photos, videos, etc.? Or am I wrong?

Also, let's say I make a Nandroid right after I root, stock everything with nothing new installed. Then I install a bunch of apps and use Titanium Backup to backup my apps and stuff. If I restore the Nandroid, will my backup from Titanium Backup be lost, or will it still be there?
[Nexus 5 Q&A, Help & Troubleshooting] defrt:
Perfect, even I, learned something :) thanks

House Hesenli
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
If you flash or replace any apk in /system or /data, wipe dalvik cache. All apps have dalvik cache associated with them, so if you have a modified one (part of the ROM or an app) then you should wipe. Any theme, wipe it as it modifies apks. The only case an app is changed or updated and a dalvik wipe is not required, is if you updated using the play store.

Correct.

Nandroid backups do not backup or restore /sdcard - which is where titanium stores it's backups, so nothing will be lost.
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
The storage does not get deleted. Custom recoveries are specially programmed to skip the storage when doing a factory reset.
[Nexus 5 Q&A, Help & Troubleshooting] shakta:
Thanks. I am asking about flashing stock roms and about the changing of the Partitions in old devices compare to new ones.

Thanks :)
[Nexus 5 Q&A, Help & Troubleshooting] ngr.hd:
BTW, a very nice article. Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] kkyyb:
Really helpful! Thanks! A favor follows,

How do you know that how many partitions Nexus 5 have? What's the command to list them? Could you write a guide on how to master adb&fastboot command on Nexus 5?

It would benefit noobs like me if somebody could write a guide on that subject.
[Nexus 5 Q&A, Help & Troubleshooting] andre512:
Thanks

Thanks!!! nice post
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
They were taken from the stock kernel´s ramdisk. I took them from here:

http://xdaforums.com/showpost.php?p=47037186&postcount=11

They were needed for a recovery to be ported.

No problem :D Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] KoblizekX2:
Amazing work :) thank you..
[Nexus 5 Q&A, Help & Troubleshooting] vigneshk1706:
Thank You

This guide is one of the best ones available for both beginners and professionals. Thanks a lot , cleared a lot doubts for me. Cheers to you :) .
[Nexus 5 Q&A, Help & Troubleshooting] cmace23:
On my new freshly rooted Nexus 5 every time I reboot the phone my wallpaper changes? Any ideas?
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Changes to what? To a specific image? Or just randomly changes?

Thre might be an app that's changing you wallpaper. Are you using any wallpaper apps?
[Nexus 5 Q&A, Help & Troubleshooting] cmace23:
The wallpaper changes to another image from the wallpaper folder in my gallery. I actually just realized the images that get randomly set are all download wallpapers from zedge. I don't see any setting on the app for setting new wallpapers at boot or anything like that. Thanks for the reply aslo.

I've also experienced my hole home screen resetting ( all folder and widgets revert back to stock). Related?
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
The "auto update wallpaper" option might have something with it.
[Nexus 5 Q&A, Help & Troubleshooting] cmace23:
If you are referring to that option in The zedge app I have that set to never. I was hoping you was right and I just asked a silly question this is very annoying Haha.
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
Updates

I want to download Xposed onto my Nexus 5 so I am considering of rooting it. I searched through the forum and I just want to verify it before i root my device

1) I can just root it and not flash any custom roms/kernels and stuff right?

2) If i do root it without flashing custom roms/kernels, do i have to manually flash the updates by myself? or it will update OTA automatically?:confused::confused:

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Yes, you can root it without changing the ROM, nor the kernel. Follow Chromium's guide:

http://xdaforums.com/showthread.php?t=2507905

Regarding OTAs, the fact that you will modifiy your stock ROM will probably deny you the ability of OTA updating. Although I'm not sure about Xposed though. Better read or ask here:

http://xdaforums.com/showthread.php?t=2523217
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
Thank you so much!

Umm one more question will my phone have a chance to be bricked if i just root it and not flash any thing?
[Nexus 5 Q&A, Help & Troubleshooting] kendallc123:
As long as you read carefully and don't do anything to your phone that you don't understand, you most likely will never brick a device. It is actually quite hard to do haha
[Nexus 5 Q&A, Help & Troubleshooting] BEDBOI2:
Sorry for the long post, I really hope to get most answer as possible, and even if someone reply to only one question I'll be glad! :D

I've already read a few guides, but still I have questions so dumb that no one thought about explaining them before! XD

I've read that rooting will wipe everything, but what exactly is "everything"?!

It will wipe my sim card (numbers, sms...)?

It will delete pre-installed software by google?

It will reset telephone's settings (or app's) to their default?

The first root wipes everything, but the others don't touch ANYTHING at all?

After every update must I root it again?

After rooting the only way to have updates is to install them manually from the pc? Will they reset anything?

The root for the new update it's always the same or it must be created purposely, and one must wait for it to be relased?

From http://xdaforums.com/showpost.php?p=48353886&postcount=415 I read "I had OTA survival ticked off in SU settings before i accepted the update, and my root survived the update from 4.4.1 to 4.4.2" could someone explain me exactly what he did?

I would like the phone to be most stock as possible, but I want to root it for installing "pro" app that require it, I'm not interested in custom bootloader/rom/recovery. But then without the latter, will I be able to backup ALL of it, like -say- a system image of Windows, saving data/settings/bootloader/etc? It is even possible such backup and how?

Can a not stock telephone at least receive notification of new updates?

Thank you.
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
By everything, its all of ur app data and third party apps. Google stock apps won't disappear. Also, the pictures and videos, music, etc they will also be delete also. So I strongly recommend saving them in the cloud or onto our computer. Its like a factory reset in another way to put it :P . For the rest, I am really not sure about it. Let those professionals answer them :)
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Like [MENTION=5360272]Vercion3[/MENTION] said, it will delete your internal storage. Your sim card will be safe.

There's an option in the SuperSU app that makes it survive an OTA update. He ticked that option before updating.

You will receive update notifications as long as you are on the Stock kernel and Stock /system (stock ROM).

You will want a custom recovery. It does not interfere with the ROM itself, and it's very useful. It can backup your whole phone.
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
[MENTION=4346614]abaaaabbbb63[/MENTION] after I rooted, I cant restore my backup from helium from before rooting it. I have it on my phone but the app says there is none. Anyway to fix it?
[Nexus 5 Q&A, Help & Troubleshooting] abaaaabbbb63:
Found this in a thread:

Check the rest of the thread out:

http://xdaforums.com/showthread.php?t=2324232
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
I will try it once I get home. Thanks

Edit: tried some didn't work. I gave up :P good thing there werent anything important got wiped off
[Nexus 5 Q&A, Help & Troubleshooting] BEDBOI2:
Thank you for your reply, I still hope someone will clarify these though:

"There's an option in the SuperSU app that makes it survive an OTA update. He ticked that option before updating" Then I suppose everyone should thick that?! If it's safe...

If I'm in "Scenario #2" from http://xdaforums.com/showthread.php?t=2523217 the only way to have updates is to flash the OTA?

Will this reset anything like telephone's settings (or app's) to their default?

If so, is there a way to update retaining everything?

Shouldn't be also written in that post to clear dalvik after any update?

"You will want a custom recovery. It can backup your whole phone" This is very crucial, so can you be more clear about it? The custom recovery can and is the only way to backup settings/bootloader/data/etc?

If anyone can help me I'd greatly appreciate it, thanks.
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
The survival mode in super su seems to work. But most of us use a custom recovery and once that's in place it's so easy to root that we don't use the survival mode.

The ota will not reset all your apps and phone info. And no, you don't need to clear dalvik

Making a backup on the custom recovery is like taking a "snap shot" of your phone. You can restore everything to just like it was at that point in time. You should make a backup before you make any major changes, i.e. changing kernels, roms, build.prop edits, etc

Hope this helps
[Nexus 5 Q&A, Help & Troubleshooting] BEDBOI2:
Thank you, but it seems there is one more thing to bother you all (:D):

I've read only the first root wipes the phone, and since probably I will root it again after every update, I want to know if maybe this is because the procedure for the first time it's different from the followings.

Because I've read from lifehacker "If you root your phone without flashing a custom ROM, then you will likely still get OTA updates from your carrier, and they will break your root. We highly recommend against downloading these updates, since you may not be able to re-root your phone for awhile after updating", is this wrong?

Again, thank you all.
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
I don't think so. Some ppl still were able to get ota update and they easily rerooted their phone
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Only unlocking the bootloader wipes your phone, rooting does not. So once your unlocked you don't have to worry about wiping it

The quote from life hacker is correct that you'll lose root, but all you have to do is re-flash the custom recovery then re-root your phone. It's very easy to do.
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
Apparently what I experience is after root, I feel like the battery life got worse. It depleted faster than before root. Phone is barely awake and 3G is on :P
[Nexus 5 Q&A, Help & Troubleshooting] jd1639:
Just rooting your phone doesn't have any impact on your battery life.
[Nexus 5 Q&A, Help & Troubleshooting] tylerdurden83:
Two questions:

1) if the imei is unknown, the /efs most likely got deleted or corrupted, so how does flashing a factory image help?

2) you say that the wipe as the result of unlocking the bootloader can be avoided, but I never read anything about this anywhere...

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
I don't think data remaining after unlocking boot loader is possible :/
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
I know this is kind of off topic but this question have been bothering me.

I created a backup with Titanium Backup on my phone and i wanted to copy the files over to my computer.

However, when i open the Titanium Backup folder when connected to my pc, it's empty there is nothing in it.

But if i look at the folder using ES file explorer on my phone, there is content inside.

ANyone knows how to fix it?
[Nexus 5 Q&A, Help & Troubleshooting] PhilipTD:
Try this: https://play.google.com/store/apps/details?id=com.bero.sdrescan

Sent from my Nexus 7

---------- Post added at 05:28 AM ---------- Previous post was at 05:24 AM ----------

Sent from my Nexus 7
[Nexus 5 Q&A, Help & Troubleshooting] Vercion3:
App keeps on force closing
[Nexus 5 Q&A, Help & Troubleshooting] PhilipTD:
You tried rebooting the pc, right?

Sent from my Nexus 5