[Q] Root in the past - Warranty - Nexus 5 Q&A, Help & Troubleshooting

Hi guys,
I have a question for u. If I have rooted my N5 in the past and now I went back to stock, is it possible to check it?
And is it a reason to cancel my warranty?

If you returned to stock properly, no it cannot be traced.
Google won't reject warranty by apparently LG might
Sent from my Nexus 5 using Tapatalk

Did you reset the tamper flag? That's the only way Google/LG would know you modded.

How
BirchBarlow said:
Did you reset the tamper flag? That's the only way Google/LG would know you modded.
Click to expand...
Click to collapse
Is it a way to reset temper flag without working screen? I watched this video - How to Unbrick or Unroot the Nexus 5 (incl. Tamper Flag Reset) on YT and I can't flash cwm-Nexus.BootUnlocker.zip because I don't have working screen and TWRP isn't help for me. Is there any other way to install cwm-Nexus.BootUnlocker.zip without TWRP?

AdamDubas said:
Is it a way to reset temper flag without working screen? I watched this video - How to Unbrick or Unroot the Nexus 5 (incl. Tamper Flag Reset) on YT and I can't flash cwm-Nexus.BootUnlocker.zip because I don't have working screen and TWRP isn't help for me. Is there any other way to install cwm-Nexus.BootUnlocker.zip without TWRP?
Click to expand...
Click to collapse
If you're rooted and you have a video out, you can use BootUnlocker from play

rootSU said:
If you're rooted and you have a video out, you can use BootUnlocker from play
Click to expand...
Click to collapse
I am not rooted, but I can get root via NRT. But I don't want to unlock my bootloader, only to reset temper flag.

AdamDubas said:
I am not rooted, but I can get root via NRT. But I don't want to unlock my bootloader, only to reset temper flag.
Click to expand...
Click to collapse
You cant. ...and you should never use toolkits

rootSU said:
You cant. ...and you should never use toolkits
Click to expand...
Click to collapse
OK, I know now, but I didn't in the past.
Will it work if I simply flash cwm-Nexus.BootUnlock.zip via fastboot using "fastboot flash cwm-Nexus.BootUnlock.zip"?

AdamDubas said:
OK, I know now, but I didn't in the past.
Will it work if I simply flash cwm-Nexus.BootUnlock.zip via fastboot using "fastboot flash cwm-Nexus.BootUnlock.zip"?
Click to expand...
Click to collapse
No. You cannot fastboot flash zips. You can either have root and use an application to do it, or you can have a custom recovery and flash a zip. These are the only 2 ways and both involve you needing video/ screen to do it. If it is not done, there is nothing you can do.

rootSU said:
No. You cannot fastboot flash zips. You can either have root and use an application to do it, or you can have a custom recovery and flash a zip. These are the only 2 ways and both involve you needing video/ screen to do it. If it is not done, there is nothing you can do.
Click to expand...
Click to collapse
Thanks guys. You're awesome!
I hope LG won't check Temper flag. Rest of my phone is stock.

One more question. If I've flashed all stock files, my recovery is stock too? There was recovery.img file, but I want to be sure. And if not - Does the custom recovery void warranty?

Yes it does.

Related

Reset Tamper Flag

I RMA'd my device and need to reset the tamper flag. I followed the instructions here in the forums, but it is not working. I've tried 2 different methods.
1) Download the flashable zip file and use fast boot to boot into TWRP. The problem with this is that once i boot into TWRP, it does not recognize any files in the sdcard/downloads folder.
2) Download boot unlocker from the playstore. I need an unlocked and rooted device so this seems pointless as I will need to unlock and relock my boot loader to use this.
Someone please help.
ILowry282 said:
I RMA'd my device and need to reset the tamper flag. I followed the instructions here in the forums, but it is not working. I've tried 2 different methods.
1) Download the flashable zip file and use fast boot to boot into TWRP. The problem with this is that once i boot into TWRP, it does not recognize any files in the sdcard/downloads folder.
2) Download boot unlocker from the playstore. I need an unlocked and rooted device so this seems pointless as I will need to unlock and relock my boot loader to use this.
Someone please help.
Click to expand...
Click to collapse
in short do u want to unroot ur phone completely ?!! watch this video completely and follow it
http://youtube.com/watch?v=-L2fMZl027E
Sent from my Nexus 5 using Tapatalk
ILowry282 said:
I RMA'd my device and need to reset the tamper flag. I followed the instructions here in the forums, but it is not working. I've tried 2 different methods.
1) Download the flashable zip file and use fast boot to boot into TWRP. The problem with this is that once i boot into TWRP, it does not recognize any files in the sdcard/downloads folder.
2) Download boot unlocker from the playstore. I need an unlocked and rooted device so this seems pointless as I will need to unlock and relock my boot loader to use this.
Someone please help.
Click to expand...
Click to collapse
Re-root the device with TWRP. Then download bootunlocker and reset the tamper flag. Then flash the factory image, relock the bootloader, and you'll be good to go.
rahil3108 said:
in short do u want to unroot ur phone completely ?!! watch this video completely and follow it
http://youtube.com/watch?v=-L2fMZl027E
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I followed that video and it did not work. First off, I can't find that zip file anywhere. The link on the xda forums doesn't give me the correct file. Second, I have a mac. For me to boot into TWRP using fast boot, it required the boot loader to be unlocked. If I unlock the boot loader to boot into TWRP via fast boot, TWRP doesn't recognize any files in the downloads folder.
ILowry282 said:
I followed that video and it did not work. First off, I can't find that zip file anywhere. The link on the xda forums doesn't give me the correct file. Second, I have a mac. For me to boot into TWRP using fast boot, it required the boot loader to be unlocked. If I unlock the boot loader to boot into TWRP via fast boot, TWRP doesn't recognize any files in the downloads folder.
Click to expand...
Click to collapse
Bro,
1. Flash the factory image in fastboot
2. Download the latest TWRP recovery and rename it to twrp.img and put it in the fastboot folder and download this zip http://forum.xda-developers.com/attachment.php?attachmentid=2467503&d=1387666907 and put it on the phone`s sdcard.
3. Go into bootloader mode and flash the downloaded zip in recovery, just type in cmd: `fastboot boot twrp.img` and you`ll boot into twrp recovery.
4. Done, you`re device is locked and the tampered flag is reset.
Oeps saw you have a Mac so look here:
Full tutorial: http://www.youtube.com/watch?v=PX4R6IhcoTM.
---------- Post added at 08:15 AM ---------- Previous post was at 08:06 AM ----------
[/COLOR]
BirchBarlow said:
Re-root the device with TWRP. Then download bootunlocker and reset the tamper flag. Then flash the factory image, relock the bootloader, and you'll be good to go.
Click to expand...
Click to collapse
Wrong order bro, and why would you have to reroot to flash twtp as long as the bootloader is unlocked. Once the bootloader is locked you can`t flash the image anymore
gee2012 said:
Wrong order bro, and why would you have to reroot to flash twtp as long as the bootloader is unlocked. Once the bootloader is locked you can`t flash the image anymore
Click to expand...
Click to collapse
Because you need root to run BootUnlocker in order to reset the tamper flag. Resetting the tamper flag is the first thing you should do, relocking the bootloader is the last.
BirchBarlow said:
Because you need root to run BootUnlocker in order to reset the tamper flag. Resetting the tamper flag is the first thing you should do, relocking the bootloader is the last.
Click to expand...
Click to collapse
You don't need root for that bro and relocking and resetting the flag goes in one go with the bootunlocker script at the end.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
gee2012 said:
You don't need root for that bro ☺
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
You do to use the BootUnlocker android app.
rootSU said:
You do to use the BootUnlocker android app.
Click to expand...
Click to collapse
No, i was talking about this script http://forum.xda-developers.com/attachment.php?attachmentid=2467503&d=1387666907 from here http://forum.xda-developers.com/showthread.php?t=2239421 to reset the tampered flag and relock the BL.
gee2012 said:
You don't need root for that bro and relocking and resetting the flag goes in one go with the bootunlocker script at the end.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
The OP stated he couldn't get the script to work or didn't know how. My advice was that he use the app instead.
BirchBarlow said:
The OP stated he couldn't get the script to work or didn't know how. My advice was that he use the app instead.
Click to expand...
Click to collapse
Oke, initialy i thought he had a windows PC and saw later he had a Mac. Does the Bootlocker app also reset the tampered flag? Haven`t used it myself yet.
gee2012 said:
Oke, initialy i thought he had a windows PC and saw later he had a Mac. Does the Bootlocker app also reset the tampered flag? Haven`t used it myself yet.
Click to expand...
Click to collapse
Yep it does. With BootUnlocker, you don't even need the script, and you can lock/unlock the bootloader any time without wiping your data and you can also reset the tamper flag.
BirchBarlow said:
Yep it does. With BootUnlocker, you don't even need the script, and you can lock/unlock the bootloader any time without wiping your data and you can also reset the tamper flag.
Click to expand...
Click to collapse
Yeah it's great too. I keep my bootloader locked and tamper flag reset. This way, no one can access my data except through recovery. What I hope for next is locking recovery
</offtopic>

[Q] Reset tamper, flash stock, oem lock

I'm returning my Nexus 5 for replacement and I was going to do the following:
- boot into Android and run BootUnlocker to reset Tamper flag
- Go to bootloader, use fastboot to flash factory images
- fastboot oem lock
Would this put the phone in factory state, without triggering tamper flag? I'm worried about step 2... would flashing factory images trip the tamper flag?
You could read the guide in general (sticky thread) which answers all these questions
Sent from my Nexus 5 using Tapatalk
rootSU said:
You could read the guide in general (sticky thread) which answers all these questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks, however the guide seems to use a separate flash step to reset tamper, I was specifically interested in using the app instead if possible.
Android.Addiction said:
Thanks, however the guide seems to use a separate flash step to reset tamper, I was specifically interested in using the app instead if possible.
Click to expand...
Click to collapse
Your steps look good to me. There are a couple ways to flash the stock firmware, make sure your userdata gets wiped. You could also go into stock recovery when you're finished and factory reset.
Aerowinder said:
Your steps look good to me. There are a couple ways to flash the stock firmware, make sure your userdata gets wiped. You could also go into stock recovery when you're finished and factory reset.
Click to expand...
Click to collapse
So far I've just been running the steps inside ./flash-all.sh manually:
Code:
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-hammerhead-kot49h.zip
I can add this extra step before the above commands if needed:
fastboot erase userdata
Thanks man!
Android.Addiction said:
I'm returning my Nexus 5 for replacement and I was going to do the following:
- boot into Android and run BootUnlocker to reset Tamper flag
- Go to bootloader, use fastboot to flash factory images
- fastboot oem lock
Would this put the phone in factory state, without triggering tamper flag? I'm worried about step 2... would flashing factory images trip the tamper flag?
Click to expand...
Click to collapse
for the record: don't do this! it DANGEROUS to oem-lock without a working stock recovery corresponding to your bootloader version! its not mentioned often, but fastboot oem unlock uses the stock recovery to do the wipe plus unlock. this means: no stock recovery, no unlock!
yes, you can manually unlock THIS DEVICE because we know how to, IF YOU CAN BOOT AND BE ROOT. if you cant get root from android or recovery (say, recovery doesnt boot and android is not rooted) then you CANT UNLOCK EVER AGAIN.
Lanchon said:
for the record: don't do this! it DANGEROUS to oem-lock without a working stock recovery corresponding to your bootloader version! its not mentioned often, but fastboot oem unlock uses the stock recovery to do the wipe plus unlock. this means: no stock recovery, no unlock!
yes, you can manually unlock THIS DEVICE because we know how to, IF YOU CAN BOOT AND BE ROOT. if you cant get root from android or recovery (say, recovery doesnt boot and android is not rooted) then you CANT UNLOCK EVER AGAIN.
Click to expand...
Click to collapse
It's not the same as the OPO, but I'd agree that it's best to get to stock first then relock using the script as opposed to an app
EddyOS said:
It's not the same as the OPO, but I'd agree that it's best to get to stock first then relock using the script as opposed to an app
Click to expand...
Click to collapse
The steps the last guy quoted did flash factory images before locking.
rootSU said:
The steps the last guy quoted did flash factory images before locking.
Click to expand...
Click to collapse
Yeah, but the guy I was quoting was on about the issues present in the OPO where there are issues with the bootloader getting stuck locked if not using a stock recovery
rootSU said:
The steps the last guy quoted did flash factory images before locking.
Click to expand...
Click to collapse
lol yes he did, sorry! i thought he run the toggle-lock/reset-tamper script. my bad.
EddyOS said:
Yeah, but the guy I was quoting was on about the issues present in the OPO where there are issues with the bootloader getting stuck locked if not using a stock recovery
Click to expand...
Click to collapse
Sorry, to clarify -
Poster 1 - Outlines correct steps
Poster 2 - Don't do this this it's dangerous
You - yeah but its not dangerous. You're thinking of opo
Me - Actually the steps highlighted originally are correct and would work even on Opo!
rootSU said:
Sorry, to clarify -
Poster 1 - Outlines correct steps
Poster 2 - Don't do this this it's dangerous
You - yeah but its not dangerous. You're thinking of opo
Me - Actually the steps highlighted originally are correct and would work even on Opo!
Click to expand...
Click to collapse
In a nutshell, although the guide in my signature covers all bases with the OPO as I wrote it when I had one!
EddyOS said:
It's not the same as the OPO, but I'd agree that it's best to get to stock first then relock using the script as opposed to an app
Click to expand...
Click to collapse
what makes you think its not the same? any source to that info? i have a nexus 5 with me here, and i remember that fastboot oem unlock ran something that looked liked a recovery. do you mean to tell me that the bootloader has its own independent recovery image built into part of its partition to boot to and do the unlocking? because otherwise i dont see how it would do it. please explain.
Android.Addiction said:
I'm returning my Nexus 5 for replacement and I was going to do the following:
- boot into Android and run BootUnlocker to reset Tamper flag
- Go to bootloader, use fastboot to flash factory images
- fastboot oem lock
Would this put the phone in factory state, without triggering tamper flag? I'm worried about step 2... would flashing factory images trip the tamper flag?
Click to expand...
Click to collapse
Just reflash a factory image in fastboot with the`flash-all`command in cmd and relock the bootloader afterwards and its completely stock. Nexus 5 doesn`t have a tamper flag afaik anyway.
Lanchon said:
what makes you think its not the same? any source to that info? i have a nexus 5 with me here, and i remember that fastboot oem unlock ran something that looked liked a recovery. do you mean to tell me that the bootloader has its own independent recovery image built into part of its partition to boot to and do the unlocking? because otherwise i dont see how it would do it. please explain.
Click to expand...
Click to collapse
What I mean is there's an issue with the OPO where you relock the bootloader without the stock recovery and you then can't unlock it again. It's not been documented that the same fault happens in the Nexus range, but if the OP follows the guides available on here it'll all be OK
gee2012 said:
Just reflash a factory image in fastboot with the`flash-all`command in cmd and relock the bootloader afterwards and its completely stock. Nexus 5 doesn`t have a tamper flag afaik anyway.
Click to expand...
Click to collapse
all N5 have tamper flag. it was introduced mid life of the N4 via a bootloader upgrade. i had an N4 at the time and thought that move was sh*tty.
gee2012 said:
Just reflash a factory image in fastboot with the`flash-all`command in cmd and relock the bootloader afterwards and its completely stock. Nexus 5 doesn`t have a tamper flag afaik anyway.
Click to expand...
Click to collapse
Yes it does
EddyOS said:
Yes it does
Click to expand...
Click to collapse
Where can you see it? Not in the bootloader menu as i see. So its reset tampered flag (BootUnlocker), flash the factory image and afterwards lock the bootloader in fastbooot?
EddyOS said:
What I mean is there's an issue with the OPO where you relock the bootloader without the stock recovery and you then can't unlock it again. It's not been documented that the same fault happens in the Nexus range, but if the OP follows the guides available on here it'll all be OK
Click to expand...
Click to collapse
yes, we've established the steps are ok and it was my misreading.
but regarding my warning about locking with non working stock recovery: its not been documented, but im sure it happens all the same! the bootloader uses a recovery (presumably the one recovery we know and not an image embedded in the bootloader itself) to wipe data. and it would be a mistake to unlock before wiping. so the bootloader does the wipe-then-unlock by delegating everything to the recovery. no recovery, no unlock.
gee2012 said:
Where can you see it? Not in the bootloader menu as i see. So its reset tampered flag (BootUnlocker), flash the factory image and afterwards lock the bootloader in fastbooot?
Click to expand...
Click to collapse
When connected in fastboot, type
fastboot oem device-info
And it'll show device tampered true or false
To get it all back to stock, flash the factory image completely then boot TWRP (don't flash it) and run the bootunlocker script found in the Nexus 5 unroot thread

BootUnlocker for Nexus Devices worth it?

Hi guys, I found this program "I'm root" my question is, I'd like to close the boot-loader jut for security reasons, but now I've set up everything as I wanted so I don't want to delete everything again.
Can I use this program it seem to be really good.
"BootUnlocker for Nexus Devices"
https://play.google.com/store/apps/details?id=net.segv11.bootunlocker
Waiting for answers.
Yes. I use this to lock and unlock my bootloader once rooted. It doesn't wipe anything.
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yes. I use this to lock and unlock my bootloader once rooted. It doesn't wipe anything.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
WOW perfect then I'll do it. Like this if I lose my phone no one will be able to steal anything. (Steal I say xD, they can't do that much. but you know what I mean.)
If you have a custom recovery they can. So make sure you have a stock recovery
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yes. I use this to lock and unlock my bootloader once rooted. It doesn't wipe anything.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can I lock the bootloader using this app with a custom recovery installed so that when I need to install updates to the rom or flash something I wouldn't need to flash/boot Philz again after unlocking?
Or do I need to flash the stock recovery before locking with this app??
vin4yak said:
Can I lock the bootloader using this app with a custom recovery installed so that when I need to install updates to the rom or flash something I wouldn't need to flash/boot Philz again after unlocking?
Or do I need to flash the stock recovery before locking with this app??
Click to expand...
Click to collapse
As long as you're rooted it'll work with a custom recovery or stock. Edit, just be careful if you do a lot of messing around on your phone. You may be locked when you wish you weren't
Sent from my Nexus 5
jd1639 said:
As long as you're rooted it'll work with a custom recovery or stock. Edit, just be careful if you do a lot of messing around on your phone. You may be locked when you wish you weren't
Sent from my Nexus 5
Click to expand...
Click to collapse
Yes, I get that.. If I end up in a bootloop I would need to use fastboot which will erase all my data.. That's what you're warning me about, right?
To tell you the truth, I'm actually worried about this eMMC failure thing as I have a 1 year LG warranty (not google's). I have seen a few threads where they weren't able to relock their bootloaders before sending it in as the eMMC's write function was screwed up. If I send my device in with a unlocked bootloader, warranty will go down the drain for sure. LG is very strict regarding this matter.
May be I'm thinking too much but my friend had faced similar issues with his HTC One and he had to shell out half the price of the phone to get the mobo replaced even though he had warranty
vin4yak said:
Yes, I get that.. If I end up in a bootloop I would need to use fastboot which will erase all my data.. That's what you're warning me about, right?
To tell you the truth, I'm actually worried about this eMMC failure thing as I have a 1 year LG warranty (not google's). I have seen a few threads where they weren't able to relock their bootloaders before sending it in as the eMMC's write function was screwed up. If I send my device in with a unlocked bootloader, warranty will go down the drain for sure. LG is very strict regarding this matter.
May be I'm thinking too much but my friend had faced similar issues with his HTC One and he had to shell out half the price of the phone to get the mobo replaced even though he had warranty
Click to expand...
Click to collapse
I'm guessing that if your emmc failed you wouldn't be able to lock using this app. Boot it is an easy way to keep it locked until you need to unlock. It is a good app and it's been on my phone for months. But I usually keep it unlocked
Sent from my Nexus 5
rootSU said:
If you have a custom recovery they can. So make sure you have a stock recovery
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So if I have a custom recovery I can!!!! and then you said make sure you have a stock recovery...
What I have to have, stock or custom?
When you say custom you mean, -hammerhead or clockwork- right?
Thanks.
you can have a custom recovery and use that app to lock and unlock your bootloader, just as you can have a custom recovery and lock/unlock your bootloader with the fastboot command.. fastboot oem lock(fastboot oem unlock).
jd1639 said:
I'm guessing that if your emmc failed you wouldn't be able to lock using this app. Boot it is an easy way to keep it locked until you need to unlock. It is a good app and it's been on my phone for months. But I usually keep it unlocked
Sent from my Nexus 5
Click to expand...
Click to collapse
That's why I was thinking to after flashing what I want to, I would lock the bootloader with the app so suppose one fine day my eMMC gets fried, I wouldn't be in trouble as it will be locked.
If I want to flash anything, unlock with the app, flash via recovery, reboot and then lock the bootloader again! Does sound good, right??
LOL, now I'm surely thinking too much
ivan333 said:
So if I have a custom recovery I can!!!! and then you said make sure you have a stock recovery...
What I have to have, stock or custom?
When you say custom you mean, -hammerhead or clockwork- right?
Thanks.
Click to expand...
Click to collapse
Rootsu was referring to the ability to hack onto your phone not the bootunlocker app. Bootunlocker will work if you're rooted and it doesn't matter if you have stock or a custom recovery
Sent from my Nexus 5
vin4yak said:
That's why I was thinking to after flashing what I want to, I would lock the bootloader with the app so suppose one fine day my eMMC gets fried, I wouldn't be in trouble as it will be locked.
If I want to flash anything, unlock with the app, flash via recovery, reboot and then lock the bootloader again! Does sound good, right??
LOL, now I'm sure thinking too much
Click to expand...
Click to collapse
then you dont need the app. after you unlock your bootloader and root it, just boot into your bootloader after and lock it.
simms22 said:
then you dont need the app. after you unlock your bootloader and root it, just boot into your bootloader after and lock it.
Click to expand...
Click to collapse
But then, when I need to flash a nightly or any mod, I would need to unlock the bootloader via fastboot to access the custom recovery which will wipe everyhting, right? If I have the app, I can simply unlock it without wiping.
Or should I just use fastboot boot on a locked bootloader to flash any mod/nightly??
vin4yak said:
That's why I was thinking to after flashing what I want to, I would lock the bootloader with the app so suppose one fine day my eMMC gets fried, I wouldn't be in trouble as it will be locked.
If I want to flash anything, unlock with the app, flash via recovery, reboot and then lock the bootloader again! Does sound good, right??
LOL, now I'm surely thinking too much
Click to expand...
Click to collapse
Yep, that would work
Sent from my Nexus 5
simms22 said:
then you dont need the app. after you unlock your bootloader and root it, just boot into your bootloader after and lock it.
Click to expand...
Click to collapse
But that will swap (WIPE sorry) all your phone... that's what I don't want. (Sorry maybe I misunderstood something but later I'll read it again and carefully.)
vin4yak said:
But then, when I need to flash a nightly or any mod, I would need to unlock the bootloader via fastboot to access the custom recovery which will wipe everyhting, right? If I have the app, I can simply unlock it without wiping.
Or should I just use fastboot boot on a locked bootloader to flash any mod/nightly??
Click to expand...
Click to collapse
no, wont wipe everything. just that first time.
simms22 said:
no, wont wipe everything. just that first time.
Click to expand...
Click to collapse
Are you sure? If you oem lock and then oem unlock I think it wipes it each time.
Sent from my Nexus 5
simms22 said:
no, wont wipe everything. just that first time.
Click to expand...
Click to collapse
Wooaaahh?! Thanks for the clarification... Just curious though, why does it not wipe everything when I unlock it the 2nd time? is it because the tamper flag is set to "true"? How does the bootloader determine that it's being unlocked the second time?
Thanks a lot!
vin4yak said:
Wooaaahh?! Thanks for the clarification... Just curious though, why does it not wipe everything when I unlock it the 2nd time? is it because the tamper flag is set to "true"? How does the bootloader determine that it's being unlocked the second time?
Thanks a lot!
Click to expand...
Click to collapse
As an fyi, I locked with bootunlocker once and then messed up by device where I had to use fastboot commands. It does wipe if you have to fastboot unlock the device again
Sent from my Nexus 5

[Q] Error message while installing android lollipop on Nexus 5

Im trying to install Android Lollipop on my Nexus 5, but once it downloads I try to install it and it gets about halfway through the install before an error message appears and my phone restarts. My phone is unlocked and has been rooted before, but it isn't at the moment. Any help would be great, Thanks!
eatcyanide said:
Im trying to install Android Lollipop on my Nexus 5, but once it downloads I try to install it and it gets about halfway through the install before an error message appears and my phone restarts. My phone is unlocked and has been rooted before, but it isn't at the moment. Any help would be great, Thanks!
Click to expand...
Click to collapse
Do you have a custom recovery or flashed a kernel? You must be 100% stock
Sent from my Nexus 5 using XDA Free mobile app
I'm on stock android. The only thing I have changed is rooting it and unlocking it
Sent from my Nexus 5
eatcyanide said:
I'm on stock android. The only thing I have changed is rooting it and unlocking it
Sent from my Nexus 5
Click to expand...
Click to collapse
I am stuck in the same situation. Tried it twice with no luck.
I too rooted my phone with towelroot and unrooted it with superSu.
Did you find any solution? Please do share. Thanks.
eatcyanide said:
Im trying to install Android Lollipop on my Nexus 5, but once it downloads I try to install it and it gets about halfway through the install before an error message appears and my phone restarts. My phone is unlocked and has been rooted before, but it isn't at the moment. Any help would be great, Thanks!
Click to expand...
Click to collapse
rahul9five said:
I am stuck in the same situation. Tried it twice with no luck.
I too rooted my phone with towelroot and unrooted it with superSu.
Did you find any solution? Please do share. Thanks.
Click to expand...
Click to collapse
You either have a modified system file or a file left over from being rooted. The easiest and fastest solution would be to fastboot flash the system image. You could of course flash the factory image.
wantabe said:
You either have a modified system file or a file left over from being rooted. The easiest and fastest solution would be to fastboot flash the system image. You could of course flash the factory image.
Click to expand...
Click to collapse
Well now i remember changing the mixer_path.xml ... Will i have to unlock my bootloader to flash the factory image as i had rooted my phone with towelroot so i didnt have to do it earlier..
Also is it possible to replace the mixer path file with the original one from the internet
rahul9five said:
Well now i remember changing the mixer_path.xml ... Will i have to unlock my bootloader to flash the factory image as i had rooted my phone with towelroot so i didnt have to do it earlier..
Also is it possible to replace the mixer path file with the original one from the internet
Click to expand...
Click to collapse
That sucks! ; ) I've always used the sdk so I don't know a whole lot about towelroot. Your bootloader will have to be unlocked to flash the factory image. If you can reroot you could then use the app BootUnlocker.
I just looked and I don't have the stock mixer_paths.xml anymore or I would link to it.
wantabe said:
That sucks! ; ) I've always used the sdk so I don't know a whole lot about towelroot. Your bootloader will have to be unlocked to flash the factory image. If you can reroot you could then use the app BootUnlocker.
I just looked and I don't have the stock mixer_paths.xml anymore or I would link to it.
Click to expand...
Click to collapse
Thankyou for your efforts and advise. I guess i will just rerrot with towelroot, unclock the bootloader with the app you suggestee and flash factory image..
Btw. Will flashing the factory image unroot my phone and lock the bootloader or is there some procedure that needs to be done to do that?
rahul9five said:
Thankyou for your efforts and advise. I guess i will just rerrot with towelroot, unclock the bootloader with the app you suggestee and flash factory image..
Btw. Will flashing the factory image unroot my phone and lock the bootloader or is there some procedure that needs to be done to do that?
Click to expand...
Click to collapse
Flashing the factory image or a system image will always unroot your device. Lock the bootloader using the sdk. The command is fastboot oem lock.
Is there a reason why OP needs locked bootloader? Just leave it unlocked, unless you have a really strong reason to. It will spare you hassles in the future.
That said, after unlocking bootloader, you can (at least, we could in the past) flash the update file through twrp (you just need to fastboot boot twrp.img and then flash the update), that will tell you exactly what file(s) doesn't match. Those are the ones you need to replace back to stock.
Edit: read also http://forum.xda-developers.com/showthread.php?t=2949987. Maybe new selinux stuff is playing funny?
beekay201 said:
Is there a reason why OP needs locked bootloader? Just leave it unlocked, unless you have a really strong reason to. It will spare you hassles in the future.
That said, after unlocking bootloader, you can (at least, we could in the past) flash the update file through twrp (you just need to fastboot boot twrp.img and then flash the update), that will tell you exactly what file(s) doesn't match. Those are the ones you need to replace back to stock.
Edit: read also http://forum.xda-developers.com/showthread.php?t=2949987. Maybe new selinux stuff is playing funny?
Click to expand...
Click to collapse
Yea, you can't flash the ota through a custom recovery anymore
Sent from my Nexus 9 using XDA Free mobile app
beekay201 said:
Is there a reason why OP needs locked bootloader? Just leave it unlocked, unless you have a really strong reason to. It will spare you hassles in the future.
That said, after unlocking bootloader, you can (at least, we could in the past) flash the update file through twrp (you just need to fastboot boot twrp.img and then flash the update), that will tell you exactly what file(s) doesn't match. Those are the ones you need to replace back to stock.
Edit: read also http://forum.xda-developers.com/showthread.php?t=2949987. Maybe new selinux stuff is playing funny?
Click to expand...
Click to collapse
Thankyou.. I am more of a soft modder. Like playing with rooted apps and xposed mainly. I dont see myself flashing a custom rom. Love the stock on my nexus 5. So i dont see the need to leave the bootloader unlocked.
rahul9five said:
Thankyou.. I am more of a soft modder. Like playing with rooted apps and xposed mainly. I dont see myself flashing a custom rom. Love the stock on my nexus 5. So i dont see the need to leave the bootloader unlocked.
Click to expand...
Click to collapse
Err... I didn't suggest that you flash a custom ROM. Read what I said.

[Q] Root nexus 5 with Lollipop without losing file

Hi,
I found around the web that is possible root the Nexus 5 without losing file over KitKat, there is a way also with lollipop??
Thanks!
Rooting doesn't cause you to lose data. Unlocking your boot loader does...
I know, but there is a way to avoid the lose of data??
krock49 said:
I know, but there is a way to avoid the lose of data??
Click to expand...
Click to collapse
Not if you have a locked bootloader, no. Use helium backup and copy your sdcard to computer
What rooting method you guys recommend,Chainfire or wugfresh?
mojopower said:
What rooting method you guys recommend,Chainfire or wugfresh?
Click to expand...
Click to collapse
I never recommend toolkits, so out of those two, chainfire. (Wugfresh is a toolkit)
However that said, I would recommend unlocking bootloader, fastboot flashing recovery then flashing supersu from recovery. That way you know what you're doing.
rootSU said:
I never recommend toolkits, so out of those two, chainfire. (Wugfresh is a toolkit)
However that said, I would recommend unlocking bootloader, fastboot flashing recovery then flashing supersu from recovery. That way you know what you're doing.
Click to expand...
Click to collapse
This. Just back up your entire phone (including the sdcard folder) so you are sure you won't lose anything.
I did as I have suggested, all right !! Xposed sin that still does not support Lollipop ..
krock49 said:
I did as I have suggested, all right !! Xposed sin that still does not support Lollipop ..
Click to expand...
Click to collapse
It doesn't support ART
Same reason for Freedom?

Categories

Resources