Question to update - Nexus 5 Q&A, Help & Troubleshooting

http://forum.xda-developers.com/showthread.php?t=2523217
I have rooted stock phone with xposed and cwm installed otherwise fully stock....... So do I just follow section c and then b???
Thanks just checking if I'm right or totally wrong
Sent from my Nexus 5 using XDA Premium 4 mobile app

assuming you made no other system mods, yes, thats the order you would do it in.

Zepius said:
assuming you made no other system mods, yes, thats the order you would do it in.
Click to expand...
Click to collapse
Thanks. I still have questions.....do I lose root and when I install the ota.zip do I have to clear data etc. Cause I want to keep my data
Sent from my Nexus 5 using XDA Premium 4 mobile app

dec1153 said:
Thanks. I still have questions.....do I lose root and when I install the ota.zip do I have to clear data etc. Cause I want to keep my data
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you will lose root, but not your data.
just reflash the custom recovery in fastboot, then supersu from the custom recovery.

Zepius said:
you will lose root, but not your data.
just reflash the custom recovery in fastboot, then supersu from the custom recovery.
Click to expand...
Click to collapse
Errr....... I have cwm so why do I need fastboot and is there anyway to get root back?
Sent from my Nexus 5 using XDA Premium 4 mobile app

Because the OTA may include a recovery and replace cwm
Sent from my Nexus 5 using Tapatalk

rootSU said:
Because the OTA may include a recovery and replace cwm
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
pretty much this. sometimes the OTA will replace the recovery.

Zepius said:
pretty much this. sometimes the OTA will replace the recovery.
Click to expand...
Click to collapse
Yep, anyway we look at this, fastboot is involved so embrace it and learn it because it's a must-know
Sent from my Nexus 5 using Tapatalk

rootSU said:
Yep, anyway we look at this, fastboot is involved so embrace it and learn it because it's a must-know
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK so I install using the CWM then when it installs I lose that beacase of the ota. So Install cwm back then root using fastboot?
Sent from my Nexus 5 using XDA Premium 4 mobile app

dec1153 said:
OK so I install using the CWM then when it installs I lose that beacase of the ota. So Install cwm back then root using fastboot?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yep, sort of. You install cwm via fastboot but then you root via cwm by flashing a zip that has the root files in it.
The best bet is to get fastboot set up now before doing anything. I know it may seem daunting but once it'a set up, it's done and once you've used it, you'll realise you were worrying about nothing
Sent from my Nexus 5 using Tapatalk

rootSU said:
Yep, sort of. You install cwm via fastboot but then you root via cwm by flashing a zip that has the root files in it.
The best bet is to get fastboot set up now before doing anything. I know it may seem daunting but once it'a set up, it's done and once you've used it, you'll realise you were worrying about nothing
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK thanks. Just one tiny question that I need explaining. How do I install CWM through fastboot. Do I download the zip of cwm and boot into fastboot once I'm on 4.4.3 using the button sequence power - then install?
Do I need to install cwm if I don't want root? And in cwm do I just flash on top without clearing data and cache
Sent from my Nexus 5 using XDA Premium 4 mobile app

dec1153 said:
OK thanks. Just one tiny question that I need explaining. How do I install CWM through fastboot. Do I download the zip of cwm and boot into fastboot once I'm on 4.4.3 using the button sequence power - then install?
Do I need to install cwm if I don't want root? And in cwm do I just flash on top without clearing data and cache
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk

rootSU said:
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So I extract the cwm.zip and find the recovery IMG. Boot into fastboot (thorough my phone or computer?!?!!?!?????) And install then its finished......
Sent from my Nexus 5 using XDA Premium 4 mobile app

rootSU said:
So a couple of things to clarify.
Ultimately, cwm is an .img file (a bit like a cd image). If you have a flashable zip of a recovery, it will contain a recovery.img.
Other flashable zips that contain .img files are kernels (boot.img) and radio (radio.img) but most other flashable zips such as ROMs and mods do not use image files.
Fastboot is a command line tool that is used to flash image files outside of flashable zips. So if you have a flashable zip of cement you want to use, you must extract the recovery.img
Fastboot works in 2 halves. Half of it is built into the bootloader of your nexus so to use fastboot you must boot into the bootloader and connect via USB.
The other half is the command line tool which is a fastboot.exe that you put on you computer and access via cmd (command prompt).
To use fastboot once it's configured, it's quite easy, you just type "fastboot flash" followed by the partition you want to flash too and the name of the file you want to flash. Usually you will only flash system.img, boot.img, radio.img or recovery.img and each flash to the same named partition.
Example
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash boot boot.img
One thing to remember though, is you either put these images in the same folder as fastboot.exe OR you type the full location when flashing for example
fastboot flash recovery c:\users\dec115e\desktop\recovery.img
Have a look in the 2 threads mentioned in my signature as they both should cover setting up fastboot.
Let us know if you have more questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sorry ignore previous comment. If I don't want to root after I get 4.4.3 do I still have to do this?
Sent from my Nexus 5 using XDA Premium 4 mobile app

dec1153 said:
Sorry ignore previous comment. If I don't want to root after I get 4.4.3 do I still have to do this?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Nope.
Sent from my Nexus 5 using Tapatalk

rootSU said:
Nope.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I watched a YouTube video explaining everything about fastboot so I understand now fully
Sent from my Nexus 5 using XDA Premium 4 mobile app

Excellent.
Sent from my Nexus 5 using Tapatalk

But once I install 4.4.3 will i still have my data? I might hold off rooting for the time being. I have the freedom app allowing me to have in app purchases so in 4,4,3 will these purchases still be there?
Sent from my Nexus 5 using XDA Premium 4 mobile app

dec1153 said:
But once I install 4.4.3 will i still have my data? I might hold off rooting for the time being. I have the freedom app allowing me to have in app purchases so in 4,4,3 will these purchases still be there?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It depends how you do it but if you're using an OTA file or flashing the system.img and boot.img you won't lose data.
Only flashing a userdata.img which overwrites the data partition will loose your data
Sent from my Nexus 5 using Tapatalk

rootSU said:
It depends how you do it but if you're using an OTA file or flashing the system.img and boot.img you won't lose data.
Only flashing a userdata.img which overwrites the data partition will loose your data
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I'm using the cwm to flash the ota.zip cause I decided I am no longer going to root. Can I not flash on cwm???????
Sent from my Nexus 5 using XDA Premium 4 mobile app

Related

What is TWRP Recovery?

I'm only familiar with ClockwordMod. I see on some ROM pages that you don't need to use the boot.img if you have TWRP recovery. What is it and where do I get it? Thanks.
It is team win recovery project . I believe you can be able to get online if you do a search . It is based on aosp recovery and has standard recovery options plus a few of their own options . Hope this helps and answers your questions. Just search team win recovery project and you can download from their site I believe.
Sent from my HTC Sensation 4G using xda premium
Legaleye3000 said:
I'm only familiar with ClockwordMod. I see on some ROM pages that you don't need to use the boot.img if you have TWRP recovery. What is it and where do I get it? Thanks.
Click to expand...
Click to collapse
It's in the dev section, you should at least look there 1st or search
http://forum.xda-developers.com/showthread.php?t=1677670
What I really like about TWRP is that you could mount the sdcard; something you can't do with CWM.
Also some people reported that if your battery dies on you while on CWM, your phone might not charge at all and you will have a dead phone.
Sent from my HTC One S
Pheroh said:
What I really like about TWRP is that you could mount the sdcard; something you can't do with CWM.
Also some people reported that if your battery dies on you while on CWM, your phone might not charge at all and you will have a dead phone.
Sent from my HTC One S
Click to expand...
Click to collapse
Kinda true so how do I overwrite cwm and replace with twrp
Sent from my HTC One S using xda premium
k1llacanon said:
Kinda true so how do I overwrite cwm and replace with twrp
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
You can either
1- download the recovery.img and use fastboot to flash.
2- Easier just to use Goo Manager, Hit the menu button (or 3 dots) and choose
"Flash OpenRecovery"
baseballfanz said:
You can either
1- download the recovery.img and use fastboot to flash.
2- Easier just to use Goo Manager, Hit the menu button (or 3 dots) and choose
"Flash OpenRecovery"
Click to expand...
Click to collapse
Thanks I'm now on twrp so what's this thing that I don't need to install fastboot commands on computer ? Like boot.IMG ? And how would I do it straight of the phone would I have to put the IMG file on the sd card ?
Sent from my HTC One S using xda premium
k1llacanon said:
Thanks I'm now on twrp so what's this thing that I don't need to install fastboot commands on computer ? Like boot.IMG ? And how would I do it straight of the phone would I have to put the IMG file on the sd card ?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
CWM for some reason can not write to certain partitions, boot.img is one.
The boot.img is in the ROM and TWRP will flash it.
In case you want to use CWM, just extract the boot.img from the ROM file you download. Put it where fastboot can see it (usually where fastboot.exe is).
Run command
Code:
fastboot flash boot boot.img
After that is done boot into recovery and flash ROM
baseballfanz said:
CWM for some reason can not write to certain partitions, boot.img is one.
The boot.img is in the ROM and TWRP will flash it.
In case you want to use CWM, just extract the boot.img from the ROM file you download. Put it where fastboot can see it (usually where fastboot.exe is).
Run command
Code:
fastboot flash boot boot.img
After that is done boot into recovery and flash ROM
Click to expand...
Click to collapse
Yeah I know how to flash boot.img on the computer just wasn't sure how twrp did it still prefer cwm ui tho
Sent from my HTC One S using xda premium

Question about Cyanogenmod 11

Hello guys,
I've been looking around for CM11 for my HTC One X+.
Now I've found the original CM11 on their website for HOX+, but there is one little question I got about this.
http://download.cyanogenmod.org/?device=enrc2b
That's the link where I've found it by the way.
There is no boot.img download, how safe is it to just install the ROM? In my opinion it isn't.
So let me know what you guys think.
Sent from my HOX+
NiZii. said:
Hello guys,
I've been looking around for CM11 for my HTC One X+.
Now I've found the original CM11 on their website for HOX+, but there is one little question I got about this.
http://download.cyanogenmod.org/?device=enrc2b
That's the link where I've found it by the way.
There is no boot.img download, how safe is it to just install the ROM? In my opinion it isn't.
So let me know what you guys think.
Sent from my HOX+
Click to expand...
Click to collapse
Its on the official website, and It should work. Make a backup though.
The boot.img download isn't there because the boot.img is probably inside the .zip.
So open the zip and you'll have your boot.img.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Its on the official website, and It should work. Make a backup though.
The boot.img download isn't there because the boot.img is probably inside the .zip.
So open the zip and you'll have your boot.img.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yeah, already found it.
Thanks though.
One small question, if I'm going to put the .zip file on my SD card I can just leave the boot.img in the .zip right?
Sent from my HOX+
NiZii. said:
Yeah, already found it.
Thanks though.
One small question, if I'm going to put the .zip file on my SD card I can just leave the boot.img in the .zip right?
Sent from my HOX+
Click to expand...
Click to collapse
Well is your device s-off or s-on?
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Well is your device s-off or s-on?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
S-On, after hours of searching how to put S-Off I gave that up. Since I can't find it for my HTC One X+.
Sent from my HOX+
NiZii. said:
S-On, after hours of searching how to put S-Off I gave that up. Since I can't find it for my HTC One X+.
Sent from my HOX+
Click to expand...
Click to collapse
Oh okay, you will need to flash the boot.img alone then as flashing the ROM zip won't just work. So boot into bootloader, and flash the new boot.img you had extracted from the .zip
Once yo uhave flashed the .img boot into recovery mode and perform a gull wipe, including cache. Once done simply flash the zip and reboot.
First reboot takes a bit so be patient. I also recommend you getting a band backup in case.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Oh okay, you will need to flash the boot.img alone then as flashing the ROM zip won't just work. So boot into bootloader, and flash the new boot.img you had extracted from the .zip
Once yo uhave flashed the .img boot into recovery mode and perform a gull wipe, including cache. Once done simply flash the zip and reboot.
First reboot takes a bit so be patient. I also recommend you getting a band backup in case.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Ye I know it takes a lot of time since I've been flashing a ROM once before, but I can just leave the file in the .zip when flashing it in recovery?
Sent from my HOX+
NiZii. said:
Ye I know it takes a lot of time since I've been flashing a ROM once before, but I can just leave the file in the .zip when flashing it in recovery?
Sent from my HOX+
Click to expand...
Click to collapse
Yeah I suppose you can. Nothing will happen.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Yeah I suppose you can. Nothing will happen.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Okay thanks.
Sent from my HOX+
NiZii. said:
Okay thanks.
Sent from my HOX+
Click to expand...
Click to collapse
No worries.
All the best.
Sent from my Nexus 5 using Tapatalk
If you're coming from a Sense ROM you can't just flash the zip without flashing the boot.img. It wouldn't even boot. And sometimes it boots but without mobile signal or WiFi signal.
So just place the zip on your sdcard, take the boot.img out of the zip on your computer.. Then boot into bootloader and connect it to the computer using USB then type
"fastboot flash boot boot.img"
Then "fastboot erase cache"
(you must have fastboot installed and configured on your computer)
Then boot into recovery and flash the zip file and gapps. Oh don't forget a wipe is mandatory if you're coming from sense ROM. But if you're coming from an AOSP ROM it's recommended but you can go without wiping. I flashed cyanogen over paranoid android without wiping data and had no issues at all. But I wiped the system partition.
And you cannot S-OFF an HTC One X+.. If it's S-ON then it stays that way. Only a few amount of people have S-OFF on their HOX+.
Oh and I don't think TWRP recovery is compatible with CM11 on HOX+.. So I recommend you flash philz recovery. Flash it by using the fastboot command "fastboot flash recovery recovery.img"
(recovery.img should be replaced with the name of the recovery you downloaded)
It doesn't take a lot of time. I change ROMs almost every week.
Please press the thanks button if I helped!
Sent from my One X+ using XDA Premium 4 mobile app
backb0ne5p1d0r said:
If you're coming from a Sense ROM you can't just flash the zip without flashing the boot.img. It wouldn't even boot. And sometimes it boots but without mobile signal or WiFi signal.
So just place the zip on your sdcard, take the boot.img out of the zip on your computer.. Then boot into bootloader and connect it to the computer using USB then type
"fastboot flash boot boot.img"
Then "fastboot erase cache"
(you must have fastboot installed and configured on your computer)
Then boot into recovery and flash the zip file and gapps. Oh don't forget a wipe is mandatory if you're coming from sense ROM. But if you're coming from an AOSP ROM it's recommended but you can go without wiping. I flashed cyanogen over paranoid android without wiping data and had no issues at all. But I wiped the system partition.
And you cannot S-OFF an HTC One X+.. If it's S-ON then it stays that way. Only a few amount of people have S-OFF on their HOX+.
Oh and I don't think TWRP recovery is compatible with CM11 on HOX+.. So I recommend you flash philz recovery. Flash it by using the fastboot command "fastboot flash recovery recovery.img"
(recovery.img should be replaced with the name of the recovery you downloaded)
It doesn't take a lot of time. I change ROMs almost every week.
Please press the thanks button if I helped!
Sent from my One X+ using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey i have htc one m7_ul and when ever i tried to flash cyanogenmod i ended up with so error like some binary problem do you know the fix for it???
Aisfkhan said:
Hey i have htc one m7_ul and when ever i tried to flash cyanogenmod i ended up with so error like some binary problem do you know the fix for it???
Click to expand...
Click to collapse
Whats the error exactly ? and where did you get the error ?
backb0ne5p1d0r said:
Whats the error exactly ? and where did you get the error ?
Click to expand...
Click to collapse
Its in twrp 2.6.3.3 and about some extracting binary failed error but now solved i flashed the boot.img file from cm11.zip file then flashed from philz recovery and everything goes fine

How to upgrade to 4.4.3 !?

OK so I'm rooted with xposed framework on stock ROM. I flashed CWM as my custom recovery. How do I go about flashing 4.4.3? Do I just install the .zip from CWM
PS. I still want my data!
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
OK so I'm rooted with xposed framework on stock ROM. I flashed CWM as my custom recovery. How do I go about flashing 4.4.3? Do I just install the .zip from CWM
PS. I still want my data!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Download the stock 4.4.3 from google. Extract the .tgz file. Go to the extracted folder and extract the .zip file.
Flash the radio, system and boot images with fastboot and you are okay.
Tapatalk-kal küldve az én Nexus 5-el
bitdomo said:
Download the stock 4.4.3 from google. Extract the .tgz file. Go to the extracted folder and extract the .zip file.
Flash the radio, system and boot images with fastboot and you are okay.
Tapatalk-kal küldve az én Nexus 5-el
Click to expand...
Click to collapse
Sorry I'm very confused..... what do u mean radio and system images
Sent from my Nexus 5 using XDA Premium 4 mobile app
Ohhhh the radio,and system and boot images are inside the extracted .zip file!!! I get ya but I don't have fastboot (I don't know what it is)
Thanks so much in adcane
Sent from my Nexus 5 using XDA Premium 4 mobile app
http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
dec1153 said:
Sorry I'm very confused..... what do u mean radio and system images
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Haha . If you extract the files I told then you will see the image files.
Bootloader and radio after extracting the .tgz file and system.img cache.img userdata.img and boot.img and recovery.img after extracting the .zip file in the .tgz file. Their extension is .img
You have to flash with fastboot the system.img, boot.img and the image file which has "radio" in its name.
Tapatalk-kal küldve az én Nexus 5-el
bitdomo said:
Haha . If you extract the files I told then you will see the image files.
Bootloader and radio after extracting the .tgz file and system.img cache.img userdata.img and boot.img and recovery.img after extracting the .zip file in the .tgz file. Their extension is .img
You have to flash with fastboot the system.img, boot.img and the image file which has "radio" in its name.
Tapatalk-kal küldve az én Nexus 5-el
Click to expand...
Click to collapse
Thank I understand but I don't know what fastboot is!!??
Thank you
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
I get ya but I don't have fastboot (I don't know what it is)
Click to expand...
Click to collapse
Time to get learning.
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
dec1153 said:
Ohhhh the radio,and system and boot images are inside the extracted .zip file!!! I get ya but I don't have fastboot (I don't know what it is)
Thanks so much in adcane
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't know if you're brave or reckless rooting without knowing what fastboot is
jsgraphicart said:
Time to get learning.
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Click to expand...
Click to collapse
This!!!!
If you don't read this and understand, you could brick your phone. Read, learn. Read.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 05:31 PM ---------- Previous post was at 05:30 PM ----------
pepdavies said:
I don't know if you're brave or reckless rooting without knowing what fastboot is
Click to expand...
Click to collapse
Reckless
Sent from my Nexus 5 using Tapatalk
Yes is fastboot basically a custom recovery to flash those?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes is fastboot basically a custom recovery to flash those?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No. It's part of the bootloader. Read the link
Sent from my Nexus 5 using Tapatalk
rootSU said:
No. It's part of the bootloader. Read the link
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes so I boot into fastboot. I connect to computer and execute to flash the imgs. But how do I execute. Should the extracted zips be on the computer or phone. I have CWM so I don't understand why I can't flash it from there using my phone
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Ohhhh the radio,and system and boot images are inside the extracted .zip file!!! I get ya but I don't have fastboot (I don't know what it is)
Thanks so much in adcane
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2588979
Install that and say yes to everything except install drivers. If you need drivers use this http://developer.android.com/sdk/win-usb.html to the right there is the download buttom.
If you finished with that part get these images from the stock google firmware:
System.img, boot.img, and the img file which has radio in its name. Copy these files to c:\flash
After the copy rename the radio image to just radio.img. Make sure after the renaming it is not radio.img.img. Then open cmd type and type: cd c:\flash
Then enter your phone fastboot and type these commands:
fastboot flash radio radio.img
fastboot flash boot boot.img
fastboot flash system system.img
Then you are done
Tapatalk-kal küldve az én Nexus 5-el
dec1153 said:
Yes is fastboot basically a custom recovery to flash those?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sine you have no knowledge of Fastboot, I suggest backing up all your stuff to your computer (Titanium Backups, SD Card content, whatever you can) and following the instructions in the link exactly. Then when you are done, transfer all your stuff back to your device. It really doesnt take that long. I suggest doing this rather than only installing certain things that you may not do right.
dec1153 said:
Yes so I boot into fastboot. I connect to computer and execute to flash the imgs. But how do I execute. Should the extracted zips be on the computer or phone. I have CWM so I don't understand why I can't flash it from there using my phone
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cwm is for custom flash able zips. You're flashing official google images which are not flashable zips. Google wouldnt officially release something that relied on a custom recovery.
The .img files must be on your computer. Read the link. Read it until you understand. If you don't understand, ask specific questions but just keep reading it until it makes sense
Sent from my Nexus 5 using Tapatalk
jsgraphicart said:
Sine you have no knowledge of Fastboot, I suggest backing up all your stuff to your computer (Titanium Backups, SD Card content, whatever you can) and following the instructions in the link exactly. Then when you are done, transfer all your stuff back to your device. It really doesnt take that long. I suggest doing this rather than only installing certain things that you may not do right.
Click to expand...
Click to collapse
Yes once backing up when I install 4.4.3 won't I have lost root so therefore I cannot restore using titanium backup
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes once backing up when I install 4.4.3 won't I have lost root so therefore I cannot restore using titanium backup
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Then you just use fastboot again to flash a custom recovery, then flash the superuser zip in the recovery like normal. Then you will be back in business.
dec1153 said:
Yes once backing up when I install 4.4.3 won't I have lost root so therefore I cannot restore using titanium backup
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes but you can flash a root.zip from cwm.
Sent from my Nexus 5 using Tapatalk
dec1153 said:
Yes once backing up when I install 4.4.3 won't I have lost root so therefore I cannot restore using titanium backup
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You can alway root by flashing the supersu zip in the recovery from here http://download.chainfire.eu/446/SuperSU/UPDATE-SuperSU-v1.99r3.zip
Tapatalk-kal küldve az én Nexus 5-el

Going to 5.0.1 while rooted and custom recovery

Can I just grab the system, boot, and radio images and flash them in fastboot?
Will this retain root and update to 5.0.1?
Sent from my Nexus 5 using XDA Free mobile app
Yes, flash then re-root.
rootSU said:
Yes, flash then re-root.
Click to expand...
Click to collapse
It will take root away I guess?
Sent from my Nexus 5 using XDA Free mobile app
joho5 said:
It will take root away I guess?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Re-root
rootSU said:
Re-root
Click to expand...
Click to collapse
Will i lose custom recovery flashing the system?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
joho5 said:
Will i lose custom recovery flashing the system?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
recovery will be borked. Just flag the twrp image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
recovery will be borked. Just flag the twrp image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Don't think so.
AFAIK, /system/install-recovery.sh and /system/recovery-from-boot.p only exist when OS has gone through an OTA.
If you use a factory image, either to update or reflash /system, those 2 files won't be there - we get to keep our currently installed recovery anyways.
I even go further - when flashing a factory image.. I just skip stick twrp.img in the zip, overwriting recovery.img. Then I use flash-all.sh.
Tip: if you edit the flash-all script and remove the `-w` argument from the `fastboot update filename.zip`, it won't flash user data.img.
This what I did. Download Google factory 5.0.1 image. Unzip. Edit flash-all.bat and remove the "-w" flag for the one command it's found for. Run the edited .bat file. It'll lose root, twrp, but it'll retain data so just flash the recovery over again after the initial flash finishes, then go into twrp to flash SuperSU again and custom kernel if wanted
Sent From Lollipopified Bacon Goodness!
Make sure you flash SU B4 boot or you will loose root.
howard bamber said:
Make sure you flash SU B4 boot or you will loose root.
Click to expand...
Click to collapse
You can just flash it later.
Can you validate/comment on my process?
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
BigKenW said:
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
Click to expand...
Click to collapse
Give it a try. I'm not sure that the twrp image is going to work. But the worst case is you'll still have the stock recovery after you boot. You'll lose root in any case and will have to flash supersu in the custom recovery
Sent from my Nexus 9 using XDA Free mobile app
BigKenW said:
Looking at this thread, I should be able to perform an update with the factory image without having to return to stock. Can those with a little more experience validate the steps I have below or recommend slight modifications? I was hoping to just flash a rooted/flashable Factory 5.0.1 image, but I don't think anyone has created one yet (if I just missed the ROM, please point me in the right direction).
Steps to Update to 5.0.1 while keeping Files/Root/TWRP
1 - Download Factory Image
2 - Modify flash-all.bat and remove the -w option
3 - Add twrp.img to the Factory image
4 - Fastboot Flash flash-all.bat
6 - Boot system
7 - Possibly have to re-flash SU from TWRP (this isn't a big deal either way)
As always, thanks for all the help here!
Click to expand...
Click to collapse
Just to make sure you understand what you're saying.
At step 3..
The twrp img file you download from their website needs to be renamed recovery.img and placed inside the update-rest-of-filename.zip, overwriting the one that's there already (yep, the stock recovery).
You got everything else right.
a maguro wrote this.
Or just type "fastboot flash recovery twrp.img" once you do the rest but skip step 3 cuz that is done with the command I wrote at the end of the process before you boot up.
1. Edit flash-all.bat to remove -w option
2. Run it to flash everything.
3. "Fastboot flash recovery twrp.img" (rename the twrp file you download to match twrp.img cuz it'll be a long name when you download it
4. In fastboot scroll to recovery, boot into it, it will boot into twrp
5. Flash SuperSU latest version from twrp (so make sure u have this on ur sdcard somewhere like in the downloads folder for example before u begin process
6. Clear dalvik and cache and reboot into lollipop. First boot may take a few min like 5 to 10
Sent From Lollipopified Bacon Goodness!
Didn't try it
I appreciate the tips. Just before I was about to attempt this, I saw Vomer posted a flashable image. I decided to go that route. Looks good so far.
BigKenW said:
I appreciate the tips. Just before I was about to attempt this, I saw Vomer posted a flashable image. I decided to go that route. Looks good so far.
Click to expand...
Click to collapse
And we were all in suspense to see how it worked out
Sent from my Nexus 9 using XDA Free mobile app

5.1 stock flashable ROM (.zip)

Hi, might be a bit early with 5.1 just coming out but I was wandering if there is a ROM near to complete stock. I am not sure what ROM I am using. Please tell me ( see attached screenshot). I would like to keep my data in the process so please advise me
Thanks
Sent from my Nexus 5 using XDA Premium 4 mobile app
5.0.1 Stock
If you want to upgrade to 5.1, why not just flash the factory image? That's what it's there for.
https://developers.google.com/android/nexus/images
not enough size
i successfully download the 5.1 file, then i try to update with adb it done everything but the problem is at the end it shows not enough space to write user data, how to resolve this!!!
naresz7698 said:
i successfully download the 5.1 file, then i try to update with adb it done everything but the problem is at the end it shows not enough space to write user data, how to resolve this!!!
Click to expand...
Click to collapse
Adb? You have to use fastboot to flash stock firmwate from google. Can you describe what are you doing with details?
naresz7698 said:
i successfully download the 5.1 file, then i try to update with adb it done everything but the problem is at the end it shows not enough space to write user data, how to resolve this!!!
Click to expand...
Click to collapse
Same for me? and I'm using adb reboot bootloader, fastboot oem unlock, flash-all script.
Same here, cannot allocate xxx Bytes
chikess said:
Same here, cannot allocate xxx Bytes
Click to expand...
Click to collapse
pomaxelsson said:
Same for me? and I'm using adb reboot bootloader, fastboot oem unlock, flash-all script.
Click to expand...
Click to collapse
If you get that cannoct allocate xxx bytes, then you have to flash all the images manually. Extract the zip file which is in the same folder as flash-all.bat
Copy all the extracted images next to flash-all.bat
In cmd navigate to that folder where you have tha flash-all.bat and type the commands:
fastboot flash bootloader bootloa (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash radio ra (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
bitdomo said:
If you get that cannoct allocate xxx bytes, then you have to flash all the images manually. Extract the zip file which is in the same folder as flash-all.bat
Copy all the extracted images next to flash-all.bat
In cmd navigate to that folder where you have tha flash-all.bat and type the commands:
fastboot flash bootloader bootloa (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash radio ra (press tab to autofill the filename)
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Click to expand...
Click to collapse
Aaaah, this is what I get? Wtf?
pomaxelsson said:
Aaaah, this is what I get? Wtf?
Click to expand...
Click to collapse
It says that your PC have run out of free memory. Try that what I wrote previously.
bitdomo said:
It says that your PC have run out of free memory. Try that what I wrote previously.
Click to expand...
Click to collapse
How is that even possible???
pomaxelsson said:
How is that even possible???
Click to expand...
Click to collapse
I wish I knew.
After I've done the steps through CMD should the device reboot itself or what should happen? Mine just stands in fastboot mode?
Nevermind, I've got it sorted. Thanx for the tips/steps anyway!
_MetalHead_ said:
If you want to upgrade to 5.1, why not just flash the factory image? That's what it's there for.
https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
Some people would like to upgrade to 5.1 without losing their custom recovery like twrp. I found the main 5.1 zip and the radio zip, but can't find the bootloader zip.
wolfen69 said:
Some people would like to upgrade to 5.1 without losing their custom recovery like twrp. I found the main 5.1 zip and the radio zip, but can't find the bootloader zip.
Click to expand...
Click to collapse
You don't have to lose recovery, just don't use the flash-all and don't flash the stock recovery. And even so, how hard is it to flash TWRP back on if you do lose it? It takes literally 10 seconds to do.
wolfen69 said:
Some people would like to upgrade to 5.1 without losing their custom recovery like twrp. I found the main 5.1 zip and the radio zip, but can't find the bootloader zip.
Click to expand...
Click to collapse
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Good time to learn
Sent from my Nexus 5 using XDA Free mobile app
dec1153 said:
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I guess I'll just use the nexus root and tool kit to install 5.1 and reinstall twrp. I'm surprised a proper flashable zip file isn't available yet.
wolfen69 said:
I guess I'll just use the nexus root and tool kit to install 5.1 and reinstall twrp. I'm surprised a proper flashable zip file isn't available yet.
Click to expand...
Click to collapse
Me too! But I'll hang on for a week...hopefully by then there will be a zip
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yea I would rather flash via recovery because I actually know how to do it from there!!!! No idea about fastboot etc. Any luck on a flashable zip?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah, you really should learn how to use fastboot. It's nowhere near as difficult as some people seem to think it is, and if you are ever in a bind, fastboot is likely what you'll need to use to get out of it. It's Android 101 really- I think everyone who roots and mods their phone should learn fastboot before they do anything at all.

Categories

Resources