[Q] Remove Custom Zips/Mods - Nexus 5 Q&A, Help & Troubleshooting

I have LG Nexus 5 Phone rooted recently. With Custom Recovery I have installed some Zips (Called Mods). One of the Zips is Corrupt and my phone is not responding at all. I want to remove the Custom Zip/Mod only as I don't wan to wipe off whole system.
Is there any way to remove that particular Mod using TWRP Manager or any other way without loosing my data/stuff on my phone.

Restore the backup you made before flashing it
Sent from my Nexus 5 using XDA Premium 4 mobile app

pepdavies said:
Restore the backup you made before flashing it
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I am not able to find any backup. I think I have not created it. Does this application creates backup automatically?
If in worst to worst case there is no backup, what are all other options I do have here.

Hi,
pepdavies said:
Restore the backup you made before flashing it
Click to expand...
Click to collapse
This, yes... but I doubt he made a backup if he ask how to "remove" the mods...
@anshumangoyal, maybe the there is an "undo" zip file, a revert to stock zip file? What mod have you flashed?
Dirty flash your rom, no wipe, and you won't lose anything...
And no automatic backup, you need to do it yourself in recovery, first thing to do when you flash some stuff.

pepdavies said:
Restore the backup you made before flashing it
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hammer_Of_The_Gods said:
Hi,
This, yes... but I doubt he made a backup if he ask how to "remove" the mods...
@anshumangoyal, maybe the there is an "undo" zip file, a revert to stock zip file? What mod have you flashed?
Dirty flash your rom, no wipe, and you won't lose anything...
And not, no automatic backup, you need to do it yourself in recovery, first thing to do when you flash some stuff.
Click to expand...
Click to collapse
But, how to do this dirty flash. I cannot see any such option in TWRP. Do i need to install some another tool etc??

anshumangoyal said:
But, how to do this dirty flash. I cannot see any such option in TWRP. Do i need to install some another tool etc??
Click to expand...
Click to collapse
Boot in recovery, go to your rom zip file, flash and reboot...
Without more relevant info I can only say that...
Stock rom? Custom rom? Link to the mod you flashed?

Hammer_Of_The_Gods said:
Boot in recovery, go to your rom zip file, flash and reboot...
Without more relevant info I can only say that...
Stock rom? Custom rom? Link to the mod you flashed?
Click to expand...
Click to collapse
It's Stock ROM I have Rooted to, I am not using ay custom ROM. So whare to download this Stock ROM. And also once this Stock ROM is flashed do I need to root the phone again.
I may be asking very silly questions, but this is what I was able to know in last 1-2 months and "still Learning"

Ok, it seems you don't want to post a link to the mod you flashed, or at least say the name, I asked 2 times and maybe we could do a revert zip file for you if we know what you have flashed (it depends of what kind of mod) then...
Take a look here to return to stock: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701.
Or flash a stock rom via recovery? Maybe easier for you...
EDIT: stock roms, flashable zip file: http://forum.xda-developers.com/showpost.php?p=52732041&postcount=4 (two first links), see above to flash...

Hammer_Of_The_Gods said:
Ok, it seems you don't want to post a link to the mod you flashed, or at least say the name, I asked 2 times and maybe we could do a revert zip file for you if we know what you have flashed (it depends of what kind of mod) then...
Take a look here to return to stock: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701.
Or flash a stock rom via recovery? Maybe easier for you...
EDIT: stock roms, flashable zip file: http://forum.xda-developers.com/showpost.php?p=52732041&postcount=4.
Click to expand...
Click to collapse
Oops I am sorry, I was not aware of terminology here. If I see in System Setting I have Build Number: KOT49H and Kernel Version: 3.4.0-gadb2201
Is this information you are looking for. I had unrooted latest android software, which I rooted using wugFresh tool kit software on windows 8.
Model: Nexus 5, LGD820, D821
Android 4.4.2 KOT49H
I hope this will help out.

Nope, it's not what I asked but...
I gave you a link to some full stock roms (rooted) to flash in recovery: http://forum.xda-developers.com/showpost.php?p=52732041&postcount=4 (use the first one for example).
Put it on your phone via computer, reboot in recovery go to the zip file you've just put, flash the zip file and reboot, the modified files from the mods you flashed will be replaced by the original stock files.
Use this link to "learn" how to use some commands (manually) and return to stock when you encounter a plroblem: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701. Here you need to flash the system.img (I guess, since I don't know what you flashed), or "all"...
Maybe harder for you since you used a Toolkit the first time but with time and reading...
If it seems even too hard for you, then in your Toolkit is there an option to return to stock, reflash the system.img?
When I ask you what mod you flashed, I mean it's a theme? A kernel? A sound mod? A camera mod? Because if we know what you flashed, maybe we can do a revert zip file for you by replacing the files by the stock ones in the zip).
What is the exact name of the zip file, the last you flashed and gives you problem?
Read all closely and take your time...

Hammer_Of_The_Gods said:
Nope, it's not what I asked but...
I gave you a link to some full stock roms (rooted) to flash in recovery: http://forum.xda-developers.com/showpost.php?p=52732041&postcount=4 (use the first one for example).
Put it on your phone via computer, reboot in recovery go to the zip file you've just put, flash the zip file and reboot, the modified files from the mods you flashed will be replaced by the original stock files.
Use this link to "learn" how to use some commands (manually) and return to stock when you encounter a plroblem: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701. Here you need to flash the system.img (I guess, since I don't know what you flashed), or "all"...
Maybe harder for you since you used a Toolkit the first time but with time and reading...
If it seems even too hard for you, then in your Toolkit is there an option to return to stock, reflash the system.img?
When I ask you what mod you flashed, I mean it's a theme? A kernel? A sound mod? A camera mod? Because if we know what you flashed, maybe we can do a revert zip file for you by replacing the files by the stock ones.
What is the exact name of the zip file, the last you flashed and gives you problem?
Read all closely and take your time...
Click to expand...
Click to collapse
Thanks,
Now I understood. These were two Zips I installed were: cargo_N5_RebootMenu_KOT49H_odex.zip and cargo_only_Batt___rechts_odex_N5.zip
These were 2 mods I had.

anshumangoyal said:
Thanks,
Now I understood. These were two Zips I installed were: cargo_N5_RebootMenu_KOT49H_odex.zip and cargo_only_Batt___rechts_odex_N5.zip
These were 2 mods I had.
Click to expand...
Click to collapse
Ok, good.
The first: http://forum.xda-developers.com/google-nexus-5/themes-apps/mod-advanced-4-reboot-menu-odex-t2521809, you have a revert zip file (just below the mod you flashed): Back to stock: cargo_N5_Back_to_stock_RebootMenu_KOT49H_odex.zip.
The second: http://forum.xda-developers.com/goo...ps/mod-center-clock-battery-mod-odex-t2526039, same thing you have a revert zip file in attachment: Back_to_Stock_odex_N5.zip.
Download them and flash them to restore the original files, you really need to read closely before flashing stuff

Hammer_Of_The_Gods said:
Ok, good.
The first: http://forum.xda-developers.com/google-nexus-5/themes-apps/mod-advanced-4-reboot-menu-odex-t2521809, you have a revert zip file (just below the mod you flashed): Back to stock: cargo_N5_Back_to_stock_RebootMenu_KOT49H_odex.zip.
The second: http://forum.xda-developers.com/goo...ps/mod-center-clock-battery-mod-odex-t2526039, same thing you have a revert zip file in attachment: Back_to_Stock_odex_N5.zip.
Download them and flash them to restore the original files, you really need to read closely before flashing stuff
Click to expand...
Click to collapse
This is Super Find. I am sorry, I was not aware of this. Next time I will check this for sure and make sure I also take a backup before doing these nasty things. Many thanks again for your help.

Related

Flashking back to stock

I have rooted, unlocked, and flashed CM10, and then flashed the stock ROM. I had trouble downloading the ROM from samsung-updates.com, and found a page with a different link to a file of a different name, but a similiar size. The file name is:
HOME_I535VRALF2_I535VZWALF2_618049_REV09_user_low_ship.tar.md5
I'm curious, has anyone else used this file? Is that the correct file to use? When flashing back to stock rom with that file, do you also get the locked bootloader, the original recovery, and lose root? It seems like it does, but wanted to confirm. Do I still need to flash the bootloader as provided in this post:
http://forum.xda-developers.com/showthread.php?t=1769411
docdockstader said:
I have rooted, unlocked, and flashed CM10, and then flashed the stock ROM. I had trouble downloading the ROM from samsung-updates.com, and found a page with a different link to a file of a different name, but a similiar size. The file name is:
HOME_I535VRALF2_I535VZWALF2_618049_REV09_user_low_ship.tar.md5
I'm curious, has anyone else used this file? Is that the correct file to use? When flashing back to stock rom with that file, do you also get the locked bootloader, the original recovery, and lose root? It seems like it does, but wanted to confirm. Do I still need to flash the bootloader as provided in this post:
http://forum.xda-developers.com/showthread.php?t=1769411
Click to expand...
Click to collapse
Click link and sig and follow section 6...questions are answered there.
droidstyle said:
Click link and sig and follow section 6...questions are answered there.
Click to expand...
Click to collapse
I tried the link in section 6 and it completes after only 5 meg. Question on the kernel, if I didn't flash a new kernel when flashing CM10, did I screw up, and do I still need to flash the stock kernel?
docdockstader said:
I tried the link in section 6 and it completes after only 5 meg. Question on the kernel, if I didn't flash a new kernel when flashing CM10, did I screw up, and do I still need to flash the stock kernel?
Click to expand...
Click to collapse
Cm installs a kernel
piiman said:
Cm installs a kernel
Click to expand...
Click to collapse
OK, and the stock flash doesn't? Cool, thanks. How about ROM manager restore, does that backup and restore the proper kernel?
docdockstader said:
OK, and the stock flash doesn't? Cool, thanks. How about ROM manager restore, does that backup and restore the proper kernel?
Click to expand...
Click to collapse
No but section 6 of the guide does...link fixed btw!

How to upgrade to new latest Asus firmware through custom recovery

Check the device firmware type by going to Setting - about tablet - built number
Download the right firmware pack for your device.
http://www.asus.com/Tablet/Transformer_Pad/ASUS_Transformer_Pad_Infinity_TF700T/#download
Now extract the zip file and you will have another zip file.
Rename that zip file as "EP201_768_SDUPDATE" and place it to an external sd card if you do not have a custom recovery. If you are rooted and unlocked plus you have a custom recovery you don't need to rename it you can place it in internal sd is well.
Now turn off your device. Hold power button including the volume down button and enter custom recovery. For stock recovery it should detect it automatically and will install. once in custom recovery clear your cache and install the file with the name above or whatever name you have. once installation is complete. reboot the system be patient and you have the latest update.
You can obtain root easily using this method.
Just download the DebugfsRoot_Generic_v2.3.zip file from here
http://forum.xda-developers.com/show....php?t=1706588
extract the content and run RootDebugfs, then follow the on screen instruction and you will have root.
Make sure you have USB debugging on.
To get custom recovery. Download goomanager from playstore and you can install TWRP recovery from the option list. which is Option - install OpenRecoveryScript.
I am not responsible if you mess up your device. do these at your own risk. Nonetheless these steps work perfectly for me.
Renaming is not needed.
lafester said:
Renaming is not needed.
Click to expand...
Click to collapse
Exactly thats for people without custom recovery
Isn't this already covered here? http://forum.xda-developers.com/showthread.php?t=1833212
Sent from my EVO using xda premium
rizanx said:
Exactly thats for people without custom recovery
Click to expand...
Click to collapse
does the update push the stock recovery as well?
and root is lost right?
Yes and yes.
Sent from my HTC One X using xda premium
odeccacccp said:
does the update push the stock recovery as well?
and root is lost right?
Click to expand...
Click to collapse
Yes you will lose root.
But you can obtain root easily using this method.
Just download the DebugfsRoot_Generic_v2.3.zip file from here
http://forum.xda-developers.com/showthread.php?t=1706588
extract the content and run RootDebugfs, then follow the on screen instruction and you will have root.
oh and make sure you have USB debugging on.
sorry for the mix up. yes you do lose recovery. Download goomanager from playstore and you can install TWRP recovery from the option list.
rizanx said:
Through custom recovery stock recovery is not pushed! you will still have custom recovery. You will only lose root.
Click to expand...
Click to collapse
Wrong, flashing an official rom will make you loose the custom recover too, you will have a clean stock rom once you do that. AND also this thread has nothing to share with the development forum.
Pretoriano80 said:
Wrong, flashing an official rom will make you loose the custom recover too, you will have a clean stock rom once you do that. AND also this thread has nothing to share with the development forum.
Click to expand...
Click to collapse
+1 You WILL lose custom recovery with this method. This has all been covered before...
Sent from my EVO using xda premium
Pretoriano80 said:
Wrong, flashing an official rom will make you loose the custom recover too, you will have a clean stock rom once you do that. AND also this thread has nothing to share with the development forum.
Click to expand...
Click to collapse
Thanks for clear up.
MysticMgcn said:
Isn't this already covered here? http://forum.xda-developers.com/showthread.php?t=1833212
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Where in there? Can;t find it?
1) If I am on a custom ROM can I flash the new update or I have to go back to STOCK first?
2) What's the big deal with loosing CWR and Root, it takes like 2 min to put it back, I mean there is another way to not loose it?
Thanks
I also have a question! Will this allow for OTA updates even if our bootloader is unlocked? And will we be able to flash the JB update from ASUS manually if not? Anyone know?
GRIM1337 said:
I also have a question! Will this allow for OTA updates even if our bootloader is unlocked? And will we be able to flash the JB update from ASUS manually if not? Anyone know?
Click to expand...
Click to collapse
No. when you unlocked it clearly stated no more ota updates for you.
Yes. of course you can flash manually just like any other rom.
odeccacccp said:
Where in there? Can;t find it?
1) If I am on a custom ROM can I flash the new update or I have to go back to STOCK first?
2) What's the big deal with loosing CWR and Root, it takes like 2 min to put it back, I mean there is another way to not loose it?
Thanks
Click to expand...
Click to collapse
You don't need to have stock rom. As long as you have the stock kernel your ok. You will of course lose custom recovery but its easy to download again as i have mentioned in my first post.
There is a lengthy way to do this. But why do that when it takes you literally 2 minute to root it with DebugfsRoot .
Hope it went well for you.

[Q] how to reflesh stock kernel?

Ok so i flashed francos kernel trough FKU updater app and i want to go back to stock just to compare the battery life and some stuff again and to decide what to use.
How can i flash stock kernel back, do i flash all factory images or is there .zip file to flash trough recovery, or there is another way to do this? thanks for your replays.
Hi,
Stock kernel here (recovery zip file): http://forum.xda-developers.com/showthread.php?p=47269605.
You can also take a look here to fastboot the boot.img (kernel): http://forum.xda-developers.com/showthread.php?t=2513701.
Alexandar92zr said:
Ok so i flashed francos kernel trough FKU updater app and i want to go back to stock just to compare the battery life and some stuff again and to decide what to use.
How can i flash stock kernel back, do i flash all factory images or is there .zip file to flash trough recovery, or there is another way to do this? thanks for your replays.
Click to expand...
Click to collapse
boot.img is the kernel. If you have the factory images you can just fastboot flash that,
Hammer_Of_The_Gods said:
Hi,
Stock kernel here (recovery zip file): http://forum.xda-developers.com/showthread.php?p=47269605.
You can also take a look here to fastboot the boot.img (kernel): http://forum.xda-developers.com/showthread.php?t=2513701.
Click to expand...
Click to collapse
ok so i just download the zip and flash trough twrp right?
rootSU said:
boot.img is the kernel. If you have the factory images you can just fastboot flash that,
Click to expand...
Click to collapse
oh ok did not know that im quite new to this, but now i know thanks for information.
Alexandar92zr said:
ok so i just download the zip and flash trough twrp right?
Click to expand...
Click to collapse
That's right, download the right zip (4.4 or 4.4.1/4.4.2) put it "in your sdcard", reboot in recovery, flash and reboot, that's all
Hammer_Of_The_Gods said:
That's right, download the right zip (4.4 or 4.4.1/4.4.2) put it "in your sdcard", reboot in recovery, flash and reboot, that's all
Click to expand...
Click to collapse
thanks man i clicked on that thanks button
Alexandar92zr said:
thanks man i clicked on that thanks button
Click to expand...
Click to collapse
No worries, thanks
Last thing since you came from Franco kernel (the following procedure is specific):
The Gingerbread Man said:
Return to stock romz
Franco's kernel changes these system files below, so to change them back you can remove the .bak extension, or fastboot system.IMG and boot.IMG from a Google factory image which is probably easier and faster.
1 - Rename /system/lib/hw/power.msm8974.so.bak to /system/lib/hw/power.msm8974.so
2 - Rename /system/bin/thermal-engine-hh-bak to /system/bin/thermal-engine-hh
3 - Reboot to the boot loader and flash stock Kernel by downloading the Nexus images and then fastboot flash boot boot.img
...
Click to expand...
Click to collapse
So before flashing the stock kernel in recovery do the step 1 and 2 (even after if you forgot, it should be good).
Alexandar92zr said:
thanks man i clicked on that thanks button
Click to expand...
Click to collapse
May i suggest you start reading up before you get into serious rouble. Read the first 4 threads in the General section.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Hammer_Of_The_Gods said:
No worries, thanks
Last thing since you came from Franco kernel (the following procedure is specific):
So before flashing the stock kernel in recovery do the step 1 and 2 (even after if you forgot, it should be good).
Click to expand...
Click to collapse
ok lets see if i understood right.
im comeing from the stock rom just with francos kernel and now to go back to the stock i need to do step 1 and 2, how do i rename that files i connect my phone to pc or i need to download some file menager that can see that files? and about step 3 do i need to flash boot.img via fast boot or i can do it trough twrp as well?
sorry about the many questions but i do not want do do something wrong
Alexandar92zr said:
ok lets see if i understood right.
im comeing from the stock rom just with francos kernel and now to go back to the stock i need to do step 1 and 2, how do i rename that files i connect my phone to pc or i need to download some file menager that can see that files? and about step 3 do i need to flash boot.img via fast boot or i can do it trough twrp as well?
sorry about the many questions but i do not wont do do something wrong
Click to expand...
Click to collapse
With a file explorer, directly from your phone, (Root Explorer, Es File Explorer, etc...) follow the path to the files in point 1 and 2, rename the files and save. Then reboot in recovery and flash the stock kernel if you want to flash it via recovery (equal to step 3).
If you are not used with this kind of stuff (modify system files by yourself), flash the system.img and boot.img by following the link I provided above (http://forum.xda-developers.com/showthread.php?t=2513701).
Hammer_Of_The_Gods said:
With a file explorer, directly from your phone, (Root Explorer, Es File Explorer, etc...) follow the path to the files in point 1 and 2, rename the files and save. Then reboot in recovery and flash the stock kernel if you want to flash it via recovery (equal to step 3).
If you are not used with this kind of stuff (modify system files by yourself), flash the system.img and boot.img by following the link I provided above (http://forum.xda-developers.com/showthread.php?t=2513701).
Click to expand...
Click to collapse
i founded the files that i need to rename via es file explorer and now i understand it all and im not confused anymore about how to get stock kernel back.
im not used to this stuff yet because i rooted my phone yesterday and im quite new to this because last device i rooted and flashed lots of custom roms and stuff is to HD2 so i know the basic stuff but not much
and one of the topic question. why does my colors look a little diferent when i flashed the francos kernel? i know that there is something about color profiles etc. but i do not know where to start and look into that
Alexandar92zr said:
i founded the files that i need to rename via es file explorer and now i understand it all and im not confused anymore about how to get stock kernel back.
im not used to this stuff yet because i rooted my phone yesterday and im quite new to this because last device i rooted and flashed lots of custom roms and stuff is to HD2 so i know the basic stuff but not much
and one of the topic question. why does my colors look a little diferent when i flashed the francos kernel? i know that there is something about color profiles etc. but i do not know where to start and look into that
Click to expand...
Click to collapse
Okay, so all is fine to go back to stock, take your time and read all closely
About the colors, take a look here: http://forum.xda-developers.com/showpost.php?p=49561443 (links for profiles are down, for example: http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/ from vomer).
Hammer_Of_The_Gods said:
Okay, so all is fine to go back to stock, take your time and read all closely
About the colors, take a look here: http://forum.xda-developers.com/showpost.php?p=49561443 (links for profiles are down, for example: http://192.227.135.147/N5_ColorProfiles/Latest_Profiles/ from vomer).
Click to expand...
Click to collapse
thanks i will look into this.
I made a stock kernel backup on Franco app and used it to restore back to stock kernel after using Franco was this process ok
Sent from my Nexus 5 using xda app-developers app

[Q] reverting from custom kernel to stock?

sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..
Sorry I am still new and learning. Thanks for any help!
Download the relevant kernel to your device from here.
Reboot to recovery
Install the zip you just downloaded
This stuff tends to be a lot simpler than you'd expect, tbh.
dallas220 said:
sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..
Sorry I am still new and learning. Thanks for any help!
Click to expand...
Click to collapse
Download the factory images from Google : https://developers.google.com/android/nexus/images#hammerheadkot49h
Extract the boot.img and flash it via fastboot.. (fastboot flash boot boot.img)
Make sure your on stock rom before you flash it..
Sent from my Nexus 5 using Tapatalk
dallas220 said:
sorry if this doesn't quite belong here but I was curious to go back just to stock kernel, not completely stock itself. Could anyone link me to a good step by step for me to do this? Do i use adbfastboot the boot.img only? Im just a a little confused..
Sorry I am still new and learning. Thanks for any help!
Click to expand...
Click to collapse
Fastboot, you flash with fastboot and yes the kernel image is boot.img. You should probably also reflash your ROM (system.img if you're on the stock ROM) as many custom kernels also modify the system partition.
BirchBarlow said:
Fastboot, you flash with fastboot and yes the kernel image is boot.img. You should probably also reflash your ROM (system.img if you're on the stock ROM) as many custom kernels also modify the system partition.
Click to expand...
Click to collapse
Thanks for all the replies guys!
I am indeed on stock rom. To flash the system.img is pretty much the same as the boot.img yes?
dallas220 said:
Thanks for all the replies guys!
I am indeed on stock rom. To flash the system.img is pretty much the same as the boot.img yes?
Click to expand...
Click to collapse
Hi,
Same way: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701.
Hammer_Of_The_Gods said:
Hi,
Same way: http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701.
Click to expand...
Click to collapse
Thank you brother
And just to add to my noobness.. Returning to stock kernel and or rom doesn't wipe any files on the phone correct? Ie picture data etc....?
dallas220 said:
Thank you brother
And just to add to my noobness.. Returning to stock kernel and or rom doesn't wipe any files on the phone correct? Ie picture data etc....?
Click to expand...
Click to collapse
As long as you don't flash the userdata.img, you are fine!
If you are using the flashall script then remove the -w flag and you're good to go!
Sent from my Nexus 5 using Tapatalk
vin4yak said:
As long as you don't flash the userdata.img, you are fine!
If you are using the flashall script then remove the -w flag and you're good to go!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I plan on flashing sys and boot!
And so sorry but what do you mean the flashall srcipt?
Would that be basically flashing everything to stock?
Sorry for such dumb questions
dallas220 said:
I plan on flashing sys and boot!
And so sorry but what do you mean the flashall srcipt?
Would that be basically flashing everything to stock?
Click to expand...
Click to collapse
So no worries since you don't flash all (you use the "Method2" from the link I posted above), about the "flash-all.sh" file, when you open the factory image file, you have this script, more info here about the "-w" to delete: http://forum.xda-developers.com/showpost.php?p=51949577&postcount=4.
Hammer_Of_The_Gods said:
So no worries since you don't flash all (you use the "Method2" from the link I posted above), about the "flash-all.sh" file, when you open the factory image file, you have this script, more info here about the "-w" to delete: http://forum.xda-developers.com/showpost.php?p=51949577&postcount=4.
Click to expand...
Click to collapse
thanks for you help my brother. Just another question.. If I have a nandroidbackup on the computer that I made before I installed my custom kernel, could you somehow use that to get back to the stock kernel? Is that something...or I am just asking the most ridiculous questions?
It seems the more I read, the less I am confident with adb, flashing, backups etc.... :S
dallas220 said:
thanks for you help my brother. Just another question.. If I have a nandroidbackup on the computer that I made before I installed my custom kernel, could you somehow use that to get back to the stock kernel? Is that something...or I am just asking the most ridiculous questions?
It seems the more I read, the less I am confident with adb, flashing, backups etc.... :S
Click to expand...
Click to collapse
If want the stock kernel download the factory images from google and flash the boot.img via fastboot. That's the easiest way.
If you still want to use nandroid backup then copy the nandroid backup to the correct location... Head over to Philz Touch recovery and use the custom restore option by which you can select only the "boot" and "system" partition. But I haven't tried doing it so can't say whether it will work or not. However, technically it should work. I have no idea how to do this using TWRP though as I haven't used it much.

[Q] So now that Lollipop is out...?

Hi everyone. I saw that Google released the factory image for the Nexus 5. I read on a lot of posts that the XDA members usually release a zip file that you just flash on your Nexus 5 through the recovery and it will install the bootanimation and the rom for you. I have no idea where that is. I want the final version of Lollipop and I want to flash it, not wait for the OTA update. Is there already a zip file like this or do I have to wait for some more time? Thank you.
Thread below you lol
Most of the flashing is described by google themselves: https://developers.google.com/android/nexus/images
But do read more about it elsewhere and don't forget to backup everything before you flash, if your bootloader is locked then unlocking it in order to flash the image will wipe your phone.
Sent from my Nexus 5 using XDA Premium 4 mobile app
There's an OTA Zip over there on AndroidPolice.
You can also flash the Factory Image like most of us did.
It'll be like a brand new Nexus.
maxell505 said:
Hi everyone. I saw that Google released the factory image for the Nexus 5. I read on a lot of posts that the XDA members usually release a zip file that you just flash on your Nexus 5 through the recovery and it will install the bootanimation and the rom for you. I have no idea where that is. I want the final version of Lollipop and I want to flash it, not wait for the OTA update. Is there already a zip file like this or do I have to wait for some more time? Thank you.
Click to expand...
Click to collapse
you can go look in the android development section of the nexus 5, there you will find recovery flashable stock and aosp roms. here a flash in recovery stock lollipop rom http://forum.xda-developers.com/goo...-android-4-4-3-ktu84m-rooted-busybox-t2557523
Curiousn00b said:
There's an OTA Zip over there on AndroidPolice.
You can also flash the Factory Image like most of us did.
It'll be like a brand new Nexus.
Click to expand...
Click to collapse
simms22 said:
you can go look in the android development section of the nexus 5, there you will find recovery flashable stock and aosp roms. here a flash in recovery stock lollipop rom http://forum.xda-developers.com/goo...-android-4-4-3-ktu84m-rooted-busybox-t2557523
Click to expand...
Click to collapse
Ok so I have CWM recovery and I have the stock 4.4.4 rom with xposed framework installed. So can I just put the factory image on my nexus 5 and than go on CWM recovery and flash it?
maxell505 said:
Ok so I have CWM recovery and I have the stock 4.4.4 rom with xposed framework installed. So can I just put the factory image on my nexus 5 and than go on CWM recovery and flash it?
Click to expand...
Click to collapse
What I did:
Backed up my files.
Used WUGFrsh to restore the factory image.
Curiousn00b said:
What I did:
Backed up my files.
Used WUGFrsh to restore the factory image.
Click to expand...
Click to collapse
Ok but WUGFrsh is a rooting toolkit and it is only for people who need to root their device. I am looking to just flash the system image onto my device.
maxell505 said:
Ok but WUGFrsh is a rooting toolkit and it is only for people who need to root their device. I am looking to just flash the system image onto my device.
Click to expand...
Click to collapse
So just use fastboot....?
#stayparanoid
maxell505 said:
Ok but WUGFrsh is a rooting toolkit and it is only for people who need to root their device. I am looking to just flash the system image onto my device.
Click to expand...
Click to collapse
Have you seen any of the other options?
Wugfresh Nexus Root Toolkit, contains options to restore completely to stock, flashing recoveries, boot images, you name it.
It's like an organized version for people who don't do fastboot command typings through CMD.
You could always flash the factory image yourself by Google Instructions, or download the OTA file on Android Police. The choice is yours. :/
Curiousn00b said:
What I did:
Backed up my files.
Used WUGFrsh to restore the factory image.
Click to expand...
Click to collapse
Curiousn00b said:
Have you seen any of the other options?
Wugfresh Nexus Root Toolkit, contains options to restore completely to stock, flashing recoveries, boot images, you name it.
It's like an organized version for people who don't do fastboot command typings through CMD.
You could always flash the factory image yourself by Google Instructions, or download the OTA file on Android Police. The choice is yours. :/
Click to expand...
Click to collapse
Ok so using WugFrsh, I have to restore back to complete stock and get the stock recovery also and than I have to flash the system image?
maxell505 said:
Ok so using WugFrsh, I have to restore back to complete stock and get the stock recovery also and than I have to flash the system image?
Click to expand...
Click to collapse
Not exactly.
Download the factory image, and if you want to use Wugfresh, you go to restore to stock, select your own downloaded factory image, insert the MD5 from the Google Page, and it'll guide you through the rest. It's safer to wipe before doing this, but either way, it does it by itself.
Curiousn00b said:
Not exactly.
Download the factory image, and if you want to use Wugfresh, you go to restore to stock, select your own downloaded factory image, insert the MD5 from the Google Page, and it'll guide you through the rest. It's safer to wipe before doing this, but either way, it does it by itself.
Click to expand...
Click to collapse
Ok so I am going to make this clear so I can understand better and not mess up( because I tend to do that A LOT)
*Before I do anything I have to factory reset my device.*
1. Download the factory image from here: https://developers.google.com/android/nexus/images
2. Open WugFresh and click on the "Flash Stock + Unroot" option.
3. I do not understand the MD5 part.
4. WugFresh will guide me through the rest.
P.S: I do want to be rooted when on Lollipop so I can just root again after I install Lollipop right?
maxell505 said:
Ok so I am going to make this clear so I can understand better and not mess up( because I tend to do that A LOT)
*Before I do anything I have to factory reset my device.*
1. Download the factory image from here: https://developers.google.com/android/nexus/images
2. Open WugFresh and click on the "Flash Stock + Unroot" option.
3. I do not understand the MD5 part.
4. WugFresh will guide me through the rest.
P.S: I do want to be rooted when on Lollipop so I can just root again after I install Lollipop right?
Click to expand...
Click to collapse
The MD5 part, next to the " Download " button on the Google page. You see MD5:yadayadayada. In Wugfresh, it'll need the MD5 to confirm the zip.
You can root by installing a custom recovery, flashing SuperSU and a modified kernel.
Curiousn00b said:
Not exactly.
Download the factory image, and if you want to use Wugfresh, you go to restore to stock, select your own downloaded factory image, insert the MD5 from the Google Page, and it'll guide you through the rest. It's safer to wipe before doing this, but either way, it does it by itself.
Click to expand...
Click to collapse
Curiousn00b said:
The MD5 part, next to the " Download " button on the Google page. You see MD5:yadayadayada. In Wugfresh, it'll need the MD5 to confirm the zip.
You can root by installing a custom recovery, flashing SuperSU and a modified kernel.
Click to expand...
Click to collapse
Ok thank you. I just have to factory reset my phone, flash stock and unroot, and insert the MD5. Once I get Lollipop installed, than I root.
maxell505 said:
Ok thank you. I just have to factory reset my phone, flash stock and unroot, and insert the MD5. Once I get Lollipop installed, than I root.
Click to expand...
Click to collapse
It said it is recommended to use force flash mode. Should I say yes to this?
maxell505 said:
It said it is recommended to use force flash mode. Should I say yes to this?
Click to expand...
Click to collapse
I did anyway and it worked! I am setting up Lollipop as I type this. Right now it is activating my cellular service. Hopefully everything works fine!

Categories

Resources