[Rooted] Error updating android - Nexus 5 Q&A, Help & Troubleshooting

I wanted to switch back to stock Rom, I flashed it with fastboot (I downloaded 4.4.4)
I installed Root and XPosed, but I uninstalled XPosed again, Android wanted to update to 4.4.2 (settings said i have 4.4), but I got an error, Installed twrp and tried it manully, i got an error (i think it was error excecuting binary...)

This guide should fix you up,
http://forum.xda-developers.com/showthread.php?t=2513701

Returning to stock isnt the Problem! I have the stock installed

dav20011 said:
Returning to stock isnt the Problem! I have the stock installed
Click to expand...
Click to collapse
Yes it is. You returned to stock then modified it so it is no longer stock. You cannot update unless you're still stock, but you're not. So flash latest stock.
Sent from my Nexus 5 using Tapatalk

I used CWM recovery to install it and then i got a more specific error (/system/framework/core.odex contains..., so it is xposed)Should I reflash the system.img, and does this wipe data?

dav20011 said:
I used CWM recovery to install it and then i got a more specific error (/system/framework/core.odex contains..., so it is xposed)Should I reflash the system.img, and does this wipe data?
Click to expand...
Click to collapse
If you use the flash all method in the link above it will wipe your data. If you fastboot flash system.img only then nothing gets wiped
All guides and info threads are available in my signature
Sent from my Nexus 5 using Tapatalk

OK thx i know how it works, I already flashed stock

If you knew how it works, why did you ask me how it works?
Sent from my Nexus 5 using Tapatalk

I didnt ask how to install stock

dav20011 said:
I didnt ask how to install stock
Click to expand...
Click to collapse
OK whatever. You asked if it wiped data, which insinuates that you don't quite know enough.
Anyway, whatever, you know where the guides and info threads are now. Every question you've asked is covered there so please read them before posting threads
Thanks.
Sent from my Nexus 5 using Tapatalk

I read many Website and I only read that flashing all images will wipe everything, I already thought that it will only wipe /system, but I wanted to be sure, losing data isnt funny

Nope. Its not funny. But at the same time, all covered I'm the sticky threads.
Sent from my Nexus 5 using Tapatalk

Related

Android 4.4.1 On Rooted Stock Nexus 5

So I've downloaded all my apps and mods for my stock rooted Nexus 5(running android 4.4), how could I get and android 4.4.1 without unrooting?
Sent from my Nexus 5 using XDA Premium 4 mobile app
If you're using the stock kernel and haven't changed anything at all in /system, you can just flash the update in recovery. I'm stock rooted with TWRP, and it flashed just fine for me.
Could you give me a link to the update please!?
Sent from my Nexus 5 using XDA Premium 4 mobile app
roelmmata said:
Could you give me a link to the update please!?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's on the first page of general.
Did not work for me. Running stock with twrp. It mentioned something about unexpected info in build/prop file. Is it because I'm running art?
Sent from my Nexus 5 using Tapatalk
fytr4lyf223 said:
Did not work for me. Running stock with twrp. It mentioned something about unexpected info in build/prop file. Is it because I'm running art?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You must have modified your build.prop. Revert it back to stock and it should work.
posted this in another thread but wasn't getting much action, this one seems busier
Just flashed the official 4.4.1 zip file using TWRP onto my phone and rebooted...
Now i'm getting constant errors with every google application.
non-stop popups saying "unfortunately google play store has stopped"
My APN's all deleted themselves as well and now I can't even add any back in, I fill all the information in and I hit save and it doesn't save anything. No service now..
couldn't do a factory reset, button wouldn't respond
anyone else have any problems like this. I've tried wiping my dalvik and cache but that failed. had to wipe data first, then cache worked, then dalvik finally wiped...
I'll set my phone back up and see if it works now, just going through first boot procedures
Mines worked perfectly, no problems and camera loads and captures faster
Sent from my GN5 [D821]
djkorben said:
posted this in another thread but wasn't getting much action, this one seems busier
Just flashed the official 4.4.1 zip file using TWRP onto my phone and rebooted...
Now i'm getting constant errors with every google application.
non-stop popups saying "unfortunately google play store has stopped"
My APN's all deleted themselves as well and now I can't even add any back in, I fill all the information in and I hit save and it doesn't save anything. No service now..
couldn't do a factory reset, button wouldn't respond
anyone else have any problems like this. I've tried wiping my dalvik and cache but that failed. had to wipe data first, then cache worked, then dalvik finally wiped...
I'll set my phone back up and see if it works now, just going through first boot procedures
Click to expand...
Click to collapse
I actually had the same things you mentioned in my stock n5, I wasn't even rooted (just unlocked) and it suddenly did all the things you said. I did all the same you did haha but I had to reflash factory images and it worked again, but I have no idea of what happened.
Sent from my Nexus 5 using Tapatalk
_MetalHead_ said:
You must have modified your build.prop. Revert it back to stock and it should work.
Click to expand...
Click to collapse
I did, but still got the error. But then I pasted in my backup build.prop from ROM toolbox and it worked! Then while in TWRP I reflashed TWRP (TWRPception!). However, when I went to reboot it did not prompt me to root the device. So I'm running 4.4.1 stock kernel with TWRP, but no root. TWRP never prompts to root. Does anyone know of a .zip I can flash to root the N5 via TWRP?
fytr4lyf223 said:
Does anyone know of a .zip I can flash to root the N5 via TWRP?
Click to expand...
Click to collapse
Have a look in the sticky threads, at the top of general. It should be obvious which one
fytr4lyf223 said:
I did, but still got the error. But then I pasted in my backup build.prop from ROM toolbox and it worked! Then while in TWRP I reflashed TWRP (TWRPception!). However, when I went to reboot it did not prompt me to root the device. So I'm running 4.4.1 stock kernel with TWRP, but no root. TWRP never prompts to root. Does anyone know of a .zip I can flash to root the N5 via TWRP?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1538053
I was able to root using CF auto root :cyclops:
Did you maybe delete data for Google Framework in order to get the OTA quicker?
Dan Morrill (an Android engineer) said that that is REALLY not recommended because it can have all sorts of problems with all google apps. Doing that erases your device fingerprint used for push notifications, device identification etc. The playstore was definitely affected by this as well.
Source: http://www.reddit.com/r/Android/com...ear_data_for_google_service_framework/cdiymrp

Updating to 4.4.2 ?

Hey guys, I've read a lot on updating after being rooted, but just need to confirm before I do mess up anything.
All I have done is Rooted Stock (I have TWRP on the phone), and have flashed volume mod, and also battery percent mod. (Other then that I am running Nova Launcher, Titanium Backup)
Guessing I need to flash the back to stock for volume and battery percent (Correct if I am wrong).
And then how exactly do I go about updating to 4.4.2 and preferably retaining root?
Sorry I know noob question, just making sure as I've always unrooted, and never had any mods when I have done updates in the past.
1) you have to flash back to stock system image since you modded your phone
2) once you either get the OTA or sideload it, you just flash cwm/twrp in fastboot and then flash the supersu.zip
thats all
so in other words go back and unroot completely, go completely back to stock, and redo everything from the beginning?
Just flash the 4.4.2 stock rooted rom in the dev section
sent from my HAMMERHEAD neXus
Or you can flash the Updated Super SU zip right?
Sent from my Nexus 5 using Tapatalk
AndroidRaven said:
so in other words go back and unroot completely, go completely back to stock, and redo everything from the beginning?
Click to expand...
Click to collapse
You are flashing back the stock ROM. If you want to keep data intact, flash only the boot.img, system.img
niv3d said:
Or you can flash the Updated Super SU zip right?
Click to expand...
Click to collapse
that won't help you get back to stock.
I guess I need a tutorial on what you guys are talking about because I still am not understanding..
Would flashing the rooted 4.4.2 work? And if so what do I need to do before I flash this?
How exactly do I go about only flashing only the boot.img and system.img?
Will I loose anything through this process?
Sent from my Nexus 5 using XDA Premium 4 mobile app
AndroidRaven said:
I guess I need a tutorial on what you guys are talking about because I still am not understanding..
Would flashing the rooted 4.4.2 work? And if so what do I need to do before I flash this?
How exactly do I go about only flashing only the boot.img and system.img?
Will I loose anything through this process?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Follow this guide --> http://forum.xda-developers.com/showthread.php?t=2523217
Best guide out there, with big thanks to El Daddy
AndroidRaven said:
I guess I need a tutorial on what you guys are talking about because I still am not understanding..
Would flashing the rooted 4.4.2 work? And if so what do I need to do before I flash this?
How exactly do I go about only flashing only the boot.img and system.img?
Will I loose anything through this process?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
One safe way to get the OTA, taking into account that you modded your phone, is:
i) flash system.img then flash stock recovery,
ii) once the OTA update is on your phone and you have accepted it (it installed itself) you are back to stock.
iii)flash your custom recovery and re-install your SuperSu to get back your root.
Good luck

Corrupted userdata partition

Basically, my userdata partition keeps getting corrupted every couple of flashes. I have to factory flash to get everything working again. It just started happening recently(A few hours ago). What is going on? Thanks!
While flashing the stock images make sure you have also Erased cache partition and formatted it using stock recovery.. I was exactly in the same spot as you were few weeks ago and a cache partition format solved it completely!
Koopa777 said:
Basically, my userdata partition keeps getting corrupted every couple of flashes. I have to factory flash to get everything working again. It just started happening recently(A few hours ago). What is going on? Thanks!
Click to expand...
Click to collapse
I had the same problem as you. I used this guide and now it works great. Just follow the steps. Good luck.
prabs99 said:
I had the same problem as you. I used this guide and now it works great. Just follow the steps. Good luck.
Click to expand...
Click to collapse
I can actually confirm that it is an issue with ParanoidAndroid. It always corrupts the data partition following boot. I repeated it with continued success.
Sent from my Nexus 5 using Tapatalk
Koopa777 said:
I can actually confirm that it is an issue with ParanoidAndroid. It always corrupts the data partition following boot. I repeated it with continued success.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
You're the only one saying such things. If there was a problem with the ROM we would have heard it from others and the team would see the same issues.
The ROM ships with stock Google kernel. The ROM doesn't do anything in itself that could corrupt your userdata
Sent from my Nexus 5
Pirateghost said:
You're the only one saying such things. If there was a problem with the ROM we would have heard it from others and the team would see the same issues.
The ROM ships with stock Google kernel. The ROM doesn't do anything in itself that could corrupt your userdata
Sent from my Nexus 5
Click to expand...
Click to collapse
I've come to the conclusion, after 4(!) factory images, that the ROM DEFINITELY corrupts the recovery. I have a 100% success(failure?) rate when flashing PA. Clean md5, after first boot the ROM functions properly, but recovery fails to mount the userdata partition, every time. Flash a new recovery, or adb shell and attempt to repair don't work. I understand that it doesn't make sense, but it's obviously something that's happening with the ROM. After 4 factory images, the only other factors are the recovery(PhilZ, TWRP, AND CWM all fail) being borked from the start, or the ROM. It's obviously not the recovery(all 3 have clean md5s, are transferred with adb push, and function perfectly otherwise).....
Again, in the ROM I can r/w to the /data, so the partition is fine, but the ROM borks the recovery.
But there is nothing in the ROM that would cause that. Are you restoring anything from previous versions? Are you installing an app that does this?
Sent from my Nexus 5
Pirateghost said:
But there is nothing in the ROM that would cause that. Are you restoring anything from previous versions? Are you installing an app that does this?
Sent from my Nexus 5
Click to expand...
Click to collapse
No and no. I don't even install Gapps. The ROM alone still triggers it. I just boot into system then boot to recovery.
Sent from my Nexus 5 using Tapatalk
Koopa777 said:
No and no. I don't even install Gapps. The ROM alone still triggers it. I just boot into system then boot to recovery.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This sounds like you have a hardware issue. Did it do this on stock image with custom recovery?
Sent from my Nexus 5
Pirateghost said:
This sounds like you have a hardware issue. Did it do this on stock image with custom recovery?
Sent from my Nexus 5
Click to expand...
Click to collapse
No. I can flash different ROMs, kernels, etc. Just not PA. The only thing of note was that my stock backup bootlooped when restoring with TWRP, but other than that no.
Sent from my Nexus 5 using Tapatalk
Nevermind, I just flashed liquidsmooth+Elementalx with PhilZ and it happened again. So what exactly is going on?
Are you not able to repair the corrupted partition as explained in the linked thread?
Sent from my Nexus 5
Pirateghost said:
Are you not able to repair the corrupted partition as explained in the linked thread?
Sent from my Nexus 5
Click to expand...
Click to collapse
Nope. Adb shell in Philz says repair failed. I found this
http://forum.xda-developers.com/google-nexus-5/help/unable-to-mount-data-issue-t2723993
http://forum.xda-developers.com/google-nexus-5/help/recovery-mount-data-t2639945
But neither helps. Recovery still can not mount /data.
I would RMA it.
Sent from my Nexus 5
I would try LG Flashtool it worked for me.
maxal said:
I would try LG Flashtool it worked for me.
Click to expand...
Click to collapse
Seriously? I have the LGFT installed(G2 owner) too. Hm......So basically get the tot and dll, and flash? COM41 and all that jazz?
Koopa777 said:
Seriously? I have the LGFT installed(G2 owner) too. Hm......So basically get the tot and dll, and flash? COM41 and all that jazz?
Click to expand...
Click to collapse
Yup, here is the link http://forum.xda-developers.com/goo...orial-how-to-flash-factory-images-lg-t2713833
I just called Google. RMA is inbound. It just kind of sucks, this phone was solid. No light bleed, no dead pixels, etc. Except for a loose power button.
Anyway I think it is definately a hardware issue, as my phone has been getting crazy hot lately. I know it's supposed to get hot, but this phone was scorching...Might have fried something.

[Q] Restore Nexus 5 to stock

Dear friends,
Today I bought a used nexus 5 for a little money. The only problem with it is that it wont boot anything because the seller wiped all data (inc. OS) which he thought was a factory reset. He was really stressed this happened and sold me the phone for even less. The only thing he did in the past was install a recovery mode.
My question:
How can I restore the phone to stock ROM? Currently there is no ROM installed. Everything is wiped.
What I already did:
- Download the 4.4.3 (KTU84M) version.
Use fastboot and flash factory image.
Refer sticky for guide.
Sent from my Nexus 5 using Tapatalk
its almost like you didnt eeven search for a guide....
lpganesh said:
Use fastboot and flash factory image.
Refer sticky for guide.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey,
Thanks for the answer. I did these steps. Fastbooted hammerhead-ktu84m and everything works. According to devs.google I should relock bootloader. Is it neccesary?
Full guides in general. See my signature
Sent from my Nexus 5 using Tapatalk

Help updated 4.4.2

I'm on stock rooted 4.4.2 running Franco kernel. Question is how do I update with out bringing phone to factory settings
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
you make a backup in recovery, then dirty flash, dont wipe a single thing, 444 over it. if alls well after, then perfect. if you have issues, you have that backup in recovery to restore
simms22 said:
you make a backup in recovery, then dirty flash, dont wipe a single thing, 444 over it. if alls well after, then perfect. if you have issues, you have that backup in recovery to restore
Click to expand...
Click to collapse
I downloaded then tried to flash the zip file in twrp .. It says it failed not sure what to do next and is 4.4.4 the latest firmware?
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
ROADKING17 said:
I downloaded then tried to flash the zip file in twrp .. It says it failed not sure what to do next and is 4.4.4 the latest firmware?
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
Click to expand...
Click to collapse
Unfortunately my clairvoyant skills aren't working today
perhaps you could elaborate on the following 2 things
1) what zip are you flashing?
2) what error are you getting?
Sent from my Nexus 5 using Tapatalk
The pop up I get every 3 days for me to update my device to 4.4.3 I believe.. It's located in twrp under cache... When I try flashing it says error in red lettering ... Also I tried Uninstalling Xposed but seems not to change anything
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
ROADKING17 said:
The pop up I get every 3 days for me to update my device to 4.4.3 I believe.. It's located in twrp under cache... When I try flashing it says error in red lettering ... Also I tried Uninstalling Xposed but seems not to change anything
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
Click to expand...
Click to collapse
Don't use OTA updates. Just manually flash a rooted stock ROM via TWRP.
Click the link in my signature and go to the "resources" section. You'll find a full rooted, PURE STOCK 4.4.4 rom there.
Copy it to your /sdcard, take a FULL nandroid backup then flash the ROM.
rootSU said:
Don't use OTA updates. Just manually flash a rooted stock ROM via TWRP.
Click the link in my signature and go to the "resources" section. You'll find a full rooted, PURE STOCK 4.4.4 rom there.
Copy it to your /sdcard, take a FULL nandroid backup then flash the ROM.
Click to expand...
Click to collapse
Will I lose anything on my device and will I be able to dirty flash
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
ROADKING17 said:
Will I lose anything on my device and will I be able to dirty flash
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
Click to expand...
Click to collapse
did you read any of the threads? the answer is in there.
ROADKING17 said:
Will I lose anything on my device and will I be able to dirty flash
SENT FROM MY SM-N900T/NEXUS 5 USING TAPATALK
Click to expand...
Click to collapse
if the dirty flash is successful, you wont lose a thing, except time. if you have to go back and wipe, you will lose your data. so, make a backup in recovery first, before the dirty flash.

Categories

Resources