[GUIDE] Update stock rooted/modified rom to last 6.0 Marshmallow w/o losing your data - Nexus 5 General

Requirements:
you need to have a pc with adb working
a stock firmware on your device (any)
unlocked bootloader
a working backup just in case
Pro:
you will not lose your data / application
Cons:
you will lose all system modification (root, busybox, custom kernel...)
you'll take all the risk of operation (I've tested on my device)
Guide:
some file names changes depending on version so please complete the {version_here} placeholder with the file you download
* prepend "sudo" on command line if you are on a Linux machine
download last version for your device here (if you want to root download the zip file in the section below to speed up the operations)
extract
extract image-{device_here}-{version_here}.zip in the same folder (no subdir)
command line* (or reboot device with vol down pressed):
Code:
adb reboot bootloader
command line*:
Code:
cd {your_path_here}
command line*:
Code:
fastboot flash bootloader bootloader-{device_here}-{version_here}.img
command line*:
Code:
fastboot reboot-bootloader
command line*:
Code:
fastboot flash radio radio-{device_here}-{version_here}.img
command line*:
Code:
fastboot flash system system.img
command line*:
Code:
fastboot flash boot boot.img
ONLY IF YOU FOUND A VENDOR.IMG IN THE ZIP command line*:
Code:
fastboot flash vendor vendor.img
command line*:
Code:
fastboot flash cache cache.img
command line*:
Code:
fastboot reboot
Now you have the lastest stock image and all your data.
Change recovery (TWRP) and root:
Note that we haven't flash the stock recovery, but during every boot of an unmodified system there's a script that do that (supersu usually deactive this behavior during install).
If you had TWRP installed and the SuperSU zip on your device, at the end of the above procedure you can boot directly from bootloader to recovery and go directly to last step:
download: TWRP image (twrp-{version_here}-{device_here}.img) for your device
download: chainfire SuperSU 2.71 on your device
command line*:
Code:
fastboot flash recovery twrp-{version_here}-{device_here}.img
alternatively you can keep the original recovery and use TWRP one time with
Code:
fastboot boot twrp-{version_here}-{device_here}.img
boot in recovery and flash supersu zip

working fine for me, all correct, thanks

Just tried with flash_all.bat. I'm getting the message "Can not generate image". How can I solve this, please?

Thank you, works like a charm!

Same here, cant flash system

There's not flash-all.bat in my steps (that delete you data!), can't give help about it sorry

i've gone your way, but i tried also the flash-all.bat with the -w switch, didnt work.

Tnx mate. Helped a lot

Cant flash the system.img manually. All the other img are working. I get this error message :
Code:
target reported max download size of 1073741824 bytes
error: cannot load 'system.img'
The old system.img from lrx22c works also.
Someone know whats going on?

Sp0KI said:
Cant flash the system.img manually. All the other img are working. I get this error message :
Code:
target reported max download size of 1073741824 bytes
error: cannot load 'system.img'
The old system.img from lrx22c works also.
Someone know whats going on?
Click to expand...
Click to collapse
I think that all who has flashed the developer preview got an broken filesystem or the partitions missmatch.
Before i used the preview the -w update flag worked well to rebuild the partitions, now it didnt work anymore, tried all factory images don to 4.4

c3k said:
Requirements:
you need to have a pc with adb working
a stock firmware on your device (any)
a working backup just in case
Click to expand...
Click to collapse
so if i have twrp, before i have to return stock 5.0.1??
or i flash directly 5.1 over twrp?
tnx

chikess said:
I think that all who has flashed the developer preview got an broken filesystem or the partitions missmatch.
Before i used the preview the -w update flag worked well to rebuild the partitions, now it didnt work anymore, tried all factory images don to 4.4
Click to expand...
Click to collapse
I didn't flash the preview.

Sp0KI said:
I didn't flash the preview.
Click to expand...
Click to collapse
Hmm ok, but u got the same problems. So, in this way we had to wait for a flashable zip or maybe ota.

@c3k why do you mention to flash twrp while in steps above stock recovery is not included to flash... ? Doesn't that mean that custom recovery (twrp) is still on device?

Doesn't this require an unlocked bootloader, and not necessarily root, or am I confused?

Sp0KI said:
Cant flash the system.img manually. All the other img are working. I get this error message :
Code:
target reported max download size of 1073741824 bytes
error: cannot load 'system.img'
The old system.img from lrx22c works also.
Someone know whats going on?
Click to expand...
Click to collapse
Are you using the latest version for the fastboot.exe file?

foosion said:
Doesn't this require an unlocked bootloader, and not necessarily root, or am I confused?
Click to expand...
Click to collapse
This requires an unlocked bootloader. But, there are users like us who have rooted the stock ROM.
This guide is meant for the users who has unlocked bootloader with rooted stock ROM.
This guide will also work for phones with unlocked bootloaders with STOCK ROM(rooted or un-rooted).
efrant said:
Are you using the latest version for the fastboot.exe file?
Click to expand...
Click to collapse
I had faced the same issue while flashing LRX22C. It got fixed by rebooting the phone and switching the cable to a different USB port. Might work for him too.
PS: I have flashed the images from Linux.

In my case I guess all the issues are from a previous attempt to flash OptiPop ROM. The flashing process it's a little tricky to understand (with that F2FS file system). I remember that after flashed OptiPop and the phone didn't boot, I tried to restore to stock ROM and it was a lot of errors until it worked fine again.

efrant said:
Are you using the latest version for the fastboot.exe file?
Click to expand...
Click to collapse
I'm using the newest Minimal ADB.
The strange thing is, that i can flash the LRX22C system.img and all other new lmy47d files but not the lmy47d system.img.
I guess i'll wait for the OTA update and hope it works then.
Tried rebooting and switching port and usb cabel..

You actually don't need to manually install supersu or root. Flash the 5.1 images and then (after the first full boot) flash twrp.
Once you boot into twrp and exit out of it, you will be promoted with a message that your phone is not rooted, and you're asked if you want to install supersu. It's built into twrp.

Related

[IMG] LXE22.46-11 Pure Edition Stock Boot, Recovery and System.img [Lollipop 5.0]

Here is the fully stock Boot.img, Recovery.img and System.img. There are no modifications to any of these. This is all we have until Motorola releases full factory images for Lollipop 5.0.
For the XT1095 Pure Edition ONLY
BUILD: LXE22.46-11 (22.21.11)
http://apollyon-dev.com/motox/XT1095_Lollipop5_22.21.11_BOOT_RECOVERY_SYS.zip
md5: 43888F4EAB74600E6D6DF41FF202C9BA
here's a mirror
https://mega.co.nz/#!a9hymLCD!ek2VVQNPGmUpNHFl6WIQe8znsFtUBjbsvTu0-TyORnM
Previous builds
BUILD: LXE22.39-6 (22.11.6)
http://apollyon-dev.com/motox/XT1095_Lollipop5_22.11.6_BOOT_RECOVERY_SYS.zip
md5: 6A527AFB1DEED2248AE2D3B4ACCF04ED
here's a mirror
https://mega.co.nz/#!H0wn2LoT!hHqhasTUnLjxMxACvODWcRIrtm3jTGjg1MEqxZfP5lo
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, catches on fire or it starts WWIII. Use at your own risk.
how do you flash these, I tried both fastboot and mfastboot but both fail, they crash even
also build prop says this is 4.4.4 not 5
godutch said:
how do you flash these, I tried both fastboot and mfastboot but both fail, they crash even
also build prop says this is 4.4.4 not 5
Click to expand...
Click to collapse
you are doing it wrong...
mrvirginia said:
you are doing it wrong...
Click to expand...
Click to collapse
ok, how can we do it?
thx
overon37 said:
ok, how can we do it?
thx
Click to expand...
Click to collapse
by using mfastboot. this is for advanced users...
yes, i got it, but, can i flash it over XT1092 with Kitkat?
^^I have a conversion guide, that'd help you for sure
mrvirginia said:
you are doing it wrong...
Click to expand...
Click to collapse
so how i am supposed to flash this then?
After some experimentation I cleaned up these instructions a little bit and confirmed this method works for me for rooted (.6):
Here's what I did, real easy:
- Download mfastboot v2 from graffixnyc's thread.
- unzip boot, recovery, system imgs that you downloaded from the OP into the mfastboot folder where the mfastboot.exe is located. Open a cmd prompt on that folder.
- Put phone in fastboot, plug it in:
Code:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
For the new radio, download it from graffixnyc's site, put in mfastboot folder and flash :
Code:
mfastboot flash modem radio.img
After you get a successful boot, put the phone back in fastboot and download CF-Auto-root from graffixnyc's post in "General". Put the CF-Auto-Root.... img (inside the zip in the /image folder) in the mfastboot folder with everything else and flash according to his instrucions :
Code:
mfastboot boot CF-Auto-Root-victara-victaratmo-xt1095.img
That's it. Nothing hard about it. Any questions let me know.
Big thanks to both mrvirginia and graffixnyc for their work on this. And of course Chainfire.
*Note- you have to be upgrading from KK for this to work. If you run into issues already on a version of 5.0 and attempt this method to "fresh install", you will get stuck at boot ani. Downgrade and then try this method again. :good:
Can someone provide the bootanimation file in system/bin?
Links dead?
Devans32 said:
Links dead?
Click to expand...
Click to collapse
Nope. they both seem to work here.
updated
for the official 22.21.11 Build.
mirror up shortly
Ok now I am getting a parse invalid file error when I try to flash the system image.
Edit; fixed. Found right files and up and running.
Sent from my Nexus 6 using XDA Free mobile app
Chronzy said:
Code:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
Click to expand...
Click to collapse
I get the error:
Code:
Invalid sparse file format at header magi
when trying to flash system.img
I've verified MD5 of file, but I'm redownloading it. Do I need to manually split it into chunks or something?
Kallb123 said:
I get the error:
Code:
Invalid sparse file format at header magi
when trying to flash system.img
I've verified MD5 of file, but I'm redownloading it. Do I need to manually split it into chunks or something?
Click to expand...
Click to collapse
Are you using mfastboot v2?
The files in this OP worked great for me on .6, but .11's so widespread I'm not sure why one wouldn't downgrade to KK and accept the OTA? Then use chainfire's root?
Chronzy said:
Are you using mfastboot v2?
The files in this OP worked great for me on .6, but .11's so widespread I'm not sure why one wouldn't downgrade to KK and accept the OTA? Then use chainfire's root?
Click to expand...
Click to collapse
Yes, got the new mfastboot, but I've tried with old as well as mfastboot v1. I was trying to flash .11 but I got this error, so I came here to use these files but also got this error :/
EDIT: Flashed KK and upgraded .11 from there. Can't get a signal though, even after flashing my modem back..
EDIT2: erase modemst1 and modemst2 and then flashing my fsg and modem worked
Chronzy said:
After some experimentation I cleaned up these instructions a little bit and confirmed this method works for me for rooted (.6):
Here's what I did, real easy:
- Download mfastboot v2 from graffixnyc's thread.
- unzip boot, recovery, system imgs that you downloaded from the OP into the mfastboot folder where the mfastboot.exe is located. Open a cmd prompt on that folder.
- Put phone in fastboot, plug it in:
Code:
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img
For the new radio, download it from graffixnyc's site, put in mfastboot folder and flash :
Code:
mfastboot flash modem radio.img
After you get a successful boot, put the phone back in fastboot and download CF-Auto-root from graffixnyc's post in "General". Put the CF-Auto-Root.... img (inside the zip in the /image folder) in the mfastboot folder with everything else and flash according to his instrucions :
Code:
mfastboot boot CF-Auto-Root-victara-victaratmo-xt1095.img
That's it. Nothing hard about it. Any questions let me know.
Big thanks to both mrvirginia and graffixnyc for their work on this. And of course Chainfire.
*Note- you have to be upgrading from KK for this to work. If you run into issues already on a version of 5.0 and attempt this method to "fresh install", you will get stuck at boot ani. Downgrade and then try this method again. :good:
Click to expand...
Click to collapse
You did this from -6 rooted? With stock recovery or TWRP?
zgroten said:
You did this from -6 rooted? With stock recovery or TWRP?
Click to expand...
Click to collapse
That was the method I used to upgrade from KK to .6. I don't understand your recovery question. All this is done in bootloader.
I think you guys would benefit from SolarTrans' guide in the "general" section... http://forum.xda-developers.com/moto-x-2014/general/guide-update-xt1095-pure-edition-to-t2937074
Anyone else have issues
I'm on 22.39-6 and I am having issues when the phone. Anyone else have the issue where the home and menu buttons randomly disappear? Or text messages don't appear? The only fix was to reboot the phone. I also have unresponsive issues randomly when the phone is plugged to AC power and charging. Just wondering if I'm the only one with these issues. I'm going to flash the new build, but just wondering.

Flashing 5.0.1

I downloaded the flashable zip from https://www.androidfilehost.com/?fid=95851846488293411
I use WugToolKit with TWRP, Unlocked and Decrypted. Stock ROM
I'm confused as to how I should flash this, I've read I should just click flash zip in the toolkit and let it finish and done. Also that I could download the file to my phone and use TWRP to flash straight to the phone. Some say backup and some say don't. Also some threads say I need to flash back to factory image, tho this flashable zip should be a factory image of 5.0.1.
Any help will be appreciated. Thank you.
Sent from my Nexus 6
SoCoCapricorn said:
I downloaded the flashable zip from https://www.androidfilehost.com/?fid=95851846488293411
I use WugToolKit with TWRP, Unlocked and Decrypted. Stock ROM
I'm confused as to how I should flash this, I've read I should just click flash zip in the toolkit and let it finish and done. Also that I could download the file to my phone and use TWRP to flash straight to the phone. Some say backup and some say don't. Also some threads say I need to flash back to factory image, tho this flashable zip should be a factory image of 5.0.1.
Any help will be appreciated. Thank you.
Sent from my Nexus 6
Click to expand...
Click to collapse
Apparently the new update OTA or zip will update blocks instead of files so from my understanding, even the slightest change from stock will cause this ZIP to fail when flashing. I'm rooted, decrypted, and changed mixer_paths.xml and as expected the flash failed in TWRP and adb sideload so I'm backing up via Titanium and flashing the 5.0.1 stock. I'll decrypt/root/restore after the flash.
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
So if I am stock but rooted I cannot sideload the OTA?
I keep getting status 7 error when trying to sideload with ADB using the update OTA.
It actual unzips and installs about 50% and then I get the Status 7 Error
mzimand said:
So if I am stock but rooted I cannot sideload the OTA?
I keep getting status 7 error when trying to sideload with ADB using the update OTA.
It actual unzips and installs about 50% and then I get the Status 7 Error
Click to expand...
Click to collapse
Rooting causes a change to the system partition, so no, you can't sideload the OTA anymore. (not since Lollipop)
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
Worked like a CHAMP!!
:highfive:
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
Are you using nexus toolkit by wug?
Sent from my Nexus 6
SoCoCapricorn said:
Are you using nexus toolkit by wug?
Sent from my Nexus 6
Click to expand...
Click to collapse
No, just used the steps I listed.
SoCoCapricorn said:
Are you using nexus toolkit by wug?
Sent from my Nexus 6
Click to expand...
Click to collapse
No, he used fastboot. Be wary of toolkits. They can do damage that a novice wont be able to fix.
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
Jeezus! perfect!
Thats similar to what I did.
Only thing to do if you are already decrypted is to download this boot file, rename it to boot.img and flash it instead of the one included in the google zip package.
http://forum.xda-developers.com/showpost.php?p=57406510&postcount=360
I had to manually flash each file separately. For some reason when the flash.bat file was running it kept reporting that the system.img file was too big. Not had that before.
dunjamon said:
I had to manually flash each file separately. For some reason when the flash.bat file was running it kept reporting that the system.img file was too big. Not had that before.
Click to expand...
Click to collapse
yeah - since 5.0, the flash-all.bat isn't working for a lot of users.
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
What about the cache.img? do we not flash the cache?
mzimand said:
What about the cache.img? do we not flash the cache?
Click to expand...
Click to collapse
From what I understand, if you flash cache.img, you will go back to stock and lose all of your settings.
Awesome man, worked perfect, you sir rock!
Great!!!!
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
It works like a champ! THX man :good:
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
Excellent, works perfectly as described. Thanks
The only thing that I'd add, to avoid any confusion, is that the factory image can be downloaded from:
https://developers.google.com/android/nexus/images
Thanks again, stevetrooper :good:
stevetrooper said:
Here are the steps I took to flash the factory image and not lose my settings:
Flash bootloader and radio:
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
fastboot flash radio radio-shamu-d4.0-9625-02.55.04.img
After flashing the bootloader/radio, you need to reboot the bootloader as shown below, don't skip this step!
fastboot reboot-bootloader
I then unzipped this file: image-shamu-lrx22c.zip
Now you can move on to the rest of the files
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
Finally, just reboot your device, and Android should start up.
fastboot reboot
After the phone restarted I then used CF-Auto-Root to re-root my phone. I did not lose any of my settings or installed apps. HTH...
Click to expand...
Click to collapse
Curious as to why so many steps?
All i did was flash the radio and system images. Went to 5.0.1 just fine, all settings/data retained.
Didn't flash bootloader, kept unlocked during process, only had to re-root.
Having an issue while flashing system.img file. I flashed radio, and flashed system.img then flashed cf-auto-root. On first start up I was having issues with my radio. LTE was not connecting to T Mobile. So I Nandroid back to stock. Then of course I noticed this didnt change my radio back to stock. Starting everything over, I reflashed radio, reboot bootloader, Flash system.img, reboot bootloader, then fash autoroot. Restart device. Radio was flashed and I had root, but stuck on 5.0 Tried to reflash system.img and I am getting error. "access denied" when flashing. I have read this is an issue with mounting the drive, I have even tried to do this in fast boot but I am coming up with nothing. Any help on this will be greatly appreciated.
theblizzard2010 said:
Curious as to why so many steps?
All i did was flash the radio and system images. Went to 5.0.1 just fine, all settings/data retained.
Didn't flash bootloader, kept unlocked during process, only had to re-root.
Click to expand...
Click to collapse

[ROM] Stock Rooted 5.0.2

Since pepole have no knolege of what they are doing and kind of blame me for it i will not provide the images anymore.
Please lock this thread.
First, woohoo!
Flashing now, thanks bud!
EDIT: Hey Bunny, maybe I'm missing something. Where are those bootloader images available?
@bunny0007 is this pre-rooted, or stock ?
All the bootloader files are in the ota file.
Yes this is stock system partition with root.
bunny0007 said:
All the bootloader files are in the ota file.
Yes this is stock system partition with root.
Click to expand...
Click to collapse
So then this point is moot then?
"...Since the 5.0.2 update contains new bootloader and stuff, you might have to flash those if neccesary...." it happens automatically when you do the single system flash?
---------- Post added at 06:24 PM ---------- Previous post was at 06:18 PM ----------
Is there a mirror link? Dev-Host seems to have been jacked by some crazy redirect malware...or maybe its just me...
Moe5508 said:
So then this point is moot then?
"...Since the 5.0.2 update contains new bootloader and stuff, you might have to flash those if neccesary...." it happens automatically when you do the single system flash?
---------- Post added at 06:24 PM ---------- Previous post was at 06:18 PM ----------
Is there a mirror link? Dev-Host seems to have been jacked by some crazy redirect malware...or maybe its just me...
Click to expand...
Click to collapse
I flashed the ota file before i made the system dump.
Im not sure if the new bootloader an stuff are required for this update, but the ota are not a new rom, just patched files, no new boot image or recovery image.
Am stuck in fastboot mode and can't get into ADB mode anymore to be able to do a sideload...any idea how to flash that OTA zip file in fastboot? Anyone got the boot and recovery images extracted?
Moe5508 said:
Am stuck in fastboot mode and can't get into ADB mode anymore to be able to do a sideload...any idea how to flash that OTA zip file in fastboot? Anyone got the boot and recovery images extracted?
Click to expand...
Click to collapse
The only way to flash the ota file are from stock non rooted 5.0.1 via sideload from recovery.
You might fastboot flash stock 5.0.1 system, boot and recovery, then you shuld be able to flash the ota from recovery.
bunny0007 said:
Here is a stock lollipop 5.0.2 system image that can be flashed in fastboot.
Flash with
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system-rooted.img
Stock 5.0.2 boot partition dump download (sorry for the partiton size): http://www68.zippyshare.com/v/4v4NAT5J/file.html
Stock 5.0.2 recovery partition dump download (sorry for the partiton size): http://www3.zippyshare.com/v/hpeV5W22/file.html
Stock 5.0.2 System rooted: http://d-h.st/IGov
Smaller 5.0.2 boot.img and recovery.img might fe found here http://forum.xda-developers.com/g-watch-r/development/stock-boot-recovery-g-watch-r-t2956964
Since the 5.0.2 update contains new bootloader and stuff, you might have to flash those if nessesary.
Extract the files and use the flash cmd file from windows cmd, or flash the files manually with fastboot.
bootloader.aboot.img
bootloader.imgdata.img
bootloader.rpm.img
bootloader.sbl1.img
bootloader.sdi.img
bootloader.tz.img
Download Bootloader Stuff : http://d-h.st/bDXl
Click to expand...
Click to collapse
Thanks for the bootloader stuff.But in flash.cmd.It should "fastboot flash sbl1 bootloader.sbl1.img"rather than "sb11".you can change it.then everyone can flash the newest sbl1
akaHardison said:
Thanks for the bootloader stuff.But in flash.cmd.It should "fastboot flash sbl1 bootloader.sbl1.img"rather than "sb11".you can change it.then everyone can flash the newest sbl1
Click to expand...
Click to collapse
I just caught that, too. sb11 should read "sbl1" (SBL1) in the commands list when flashing the "bootloader stuff", otherwise you'll get an error that sb11 partition does not exist.
fronc said:
I just caught that, too. sb11 should read "sbl1" (SBL1) in the commands list when flashing the "bootloader stuff", otherwise you'll get an error that sb11 partition does not exist.
Click to expand...
Click to collapse
yep have changed the error in new zip
@bunny0007 can you please post a step by step guide for how to flash this?
I am on rooted 5.0.1 and do not understand the order, or not even which imgs are necessary to flash?
you reboot to bootloader mode, flash boot/system/recovery and also dl his bootloader stuff and flash all of those (he included a .cmd with all the fastboot commands)
bunny0007 said:
Here is a stock lollipop 5.0.2 system image that can be flashed in fastboot.
Flash with
fastboot flash system system-rooted.img
Stock 5.0.2 System rooted: http://d-h.st/IGov
Click to expand...
Click to collapse
When I go to the devHost to download this system, I hit the "download" button and it takes me to spam where it asks me to download a 1-MB file that is called system-rooted.img.zip.exe.
Is the link bad, or am I just being a noob? I'm expecting a 256 MB img file with the stock 5.02 system rooted, not a 1 MB executable file with a deceptive name.
Any assistance appreciated.
Cheers,
B.D.
BostonDan said:
When I go to the devHost to download this system, I hit the "download" button and it takes me to spam where it asks me to download a 1-MB file that is called system-rooted.img.zip.exe.
Is the link bad, or am I just being a noob? I'm expecting a 256 MB img file with the stock 5.02 system rooted, not a 1 MB executable file with a deceptive name.
Any assistance appreciated.
Cheers,
B.D.
Click to expand...
Click to collapse
Just uncheck the "Download with Dev-Host Download Manager" box.
Spleeno said:
you reboot to bootloader mode, flash boot/system/recovery and also dl his bootloader stuff and flash all of those (he included a .cmd with all the fastboot commands)
Click to expand...
Click to collapse
hey, so boot then system and then recovery, followed by the bootloader stuff, in this order, right?
b0gd4n said:
hey, so boot then system and then recovery, followed by the bootloader stuff, in this order, right?
Click to expand...
Click to collapse
Boot into fastboot, then make sure you can use fastboot from windows in cmd shell.
Then use this to flash
1. Unzip and flash bootloader stuff with cmd file.
2. Flash system with "fastboot flash system filename.img"
3. Flash boot with "fastboot flash boot boot.img"
4. Flash Stock 5.0.2 recovery with "fastboot flash recovery recovery.img"
5. Reboot the watch
Is there coming a stock rooted 5.1.1?
TimV_ said:
Is there coming a stock rooted 5.1.1?
Click to expand...
Click to collapse
Yep here http://forum.xda-developers.com/g-watch-r/development/rom-stock-rooted-5-1-1-t3124921
How do you come around to get the watch listed in adb (adb devices command). I installed several drivers for my lg g watch r, tried both in win10 test and non test mode, but the watch is not recognized. DEvice manager lists it as "unknown usb device descriptor request failed".
I appreciate any type of suggestion. Thanks in advance!

[Q] Unable to upgrade rooted Nexus 6 to 5.1.1

I have a rooted Nexus 6. When I look into the Settings>Aobout Phone I can see that the Build version is LMY47D. When I'm trying to udpate to LMY47Z I'm getting a notification in recovery that my current system version is 5.0.2. Did anybody had a simillar problem? Is there any way to fix this except for flashing factory image?
Thanks for any help!
Martin
rambo8wtv said:
I have a rooted Nexus 6. When I look into the Settings>Aobout Phone I can see that the Build version is LMY47D. When I'm trying to udpate to LMY47Z I'm getting a notification in recovery that my current system version is 5.0.2. Did anybody had a simillar problem? Is there any way to fix this except for flashing factory image?
Thanks for any help!
Martin
Click to expand...
Click to collapse
no matter how many times you try, you will never ever be able to update your rooted n6 via ota. if any system files changed from stock, an ota will download but will always error out. you can update several ways.. a. you can flash a 5.1.1 ROM via twrp. or b. you can fastboot flash 5.1.1.
2 things.
1. You must be 100% stock, no root, no custom recovery to OTA
2. The 5.0.2 message if you look probably.mentions deestroy..this is.because TWRP is using 5.0.2 sources - butnits irrelevant anyway give point 1
I know I can't do OTA. I have tried to install the file in TRWP and got the same error message. When I try to sideload with adb I'm getting device not connected error. Does this mean that I have to install the factory image?
rambo8wtv said:
I know I can't do OTA. I have tried to install the file in TRWP and got the same error message. When I try to sideload with adb I'm getting device not connected error. Does this mean that I have to install the factory image?
Click to expand...
Click to collapse
twrp can not flash the ota or system img. you flash the system img via fastboot(not adb) and while you're in your bootloader.
rambo8wtv said:
I know I can't do OTA. I have tried to install the file in TRWP and got the same error message. When I try to sideload with adb I'm getting device not connected error. Does this mean that I have to install the factory image?
Click to expand...
Click to collapse
You cannot use the OTA file no matter what vehicle you use.
danarama said:
You cannot use the OTA file no matter what vehicle you use.
Click to expand...
Click to collapse
I did this for 5.1.1 -people seem to be using 5.1.1 (For Sprint, USC ONLY) (LMY47Z)
take factory image - Unzip everything and keep the following images: bootloader, radio, boot, recovery and system.
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot format cache
fastboot reboot
fully stock 5.1.1 without losing your data
starfish_001 said:
I did this for 5.1.1 -people seem to be using 5.1.1 (For Sprint, USC ONLY) (LMY47Z)
take factory image - Unzip everything and keep the following images: bootloader, radio, boot, recovery and system.
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot format cache
fastboot reboot
fully stock 5.1.1 without losing your data
Click to expand...
Click to collapse
He'll probably want to not flash recovery. And if he has a custom kernel, may not want to flash boot either.
Thanks for all the answers! Some sites clearly don't know anything about this as there's a lot of recommendation to use adb for all this. I'll have a go tomorrow! Thanks again.
rambo8wtv said:
Thanks for all the answers! Some sites clearly don't know anything about this as there's a lot of recommendation to use adb for all this. I'll have a go tomorrow! Thanks again.
Click to expand...
Click to collapse
here too, many people try it with adb then claim it doesn't work. but its fastboot that you need, and while you are in the bootloader. adb will never work in the bootloader, only fastboot.

Troubles reinstalling TWRP [Failed to load/authenticate boot image: Load Error]

I dirty flashed a new version of xiaomi.eu stable build, and it caused TWRP to uninstall itself.
Whenever I hold power on and volume up it just goes to fastboot.
Now I tried reinstalling TWRP like I've done many times before, but it keeps throwing an error. The error I get is when trying to boot without flashing the img. When I do this, I get the error:
Code:
fastboot boot TWRP.img"
downloading 'boot.img'...
OKAY [ 1.609s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.675s
Anyone gotten any ideas on what could be going on here? I'm scared to try anything as my phone currently works, but I need TWRP back to update my phone to a different versions and to install the clock mod again.
Thanks!
Got it to load once, but now back to square one. Throwing same error.
Now when running the command fastboot reboot recovery it's saying
Code:
fastboot: usage: unknown reboot target recovery
And writing 'fastboot boot twrp.img' turns the phone off / makes the screen go black. Fully bricked now as the OS wont load either.
Try on a computer with a USB 2.0 port, or a different usb cable, had the same issue once
Ended up having to reinstall dev rom. Device relocked, so have to wait 15 days again. @BusterBg_18 Thanks, will do when I unlock the device
EDIT: When using Mi Flash tool, make sure to check 'clean all' and not 'clean all and lock' in the bottom right. That's what set me back 2 weeks.
I have the same error. How can I fix this pls?
MrkoZino said:
I have the same error. How can I fix this pls?
Click to expand...
Click to collapse
Flash the latest official rom then start all over again. Follow the post above you about miflash.
Hello, I've had the same problem, then flashed latest dev rom via MiFlash and it booted, but now after I flash any custom ROM in TWRP i have this issue again and need to reflash chinese ROM. How can I flash any custom rom?
i'm stuck in the same issue. stuck in fastboot and it would not load recovery. any fix?
Hi, i fixed the "Failed to load/authenticate boot image: Load Error" by simply restarting the Device.
It seems to appear randomly when flashing partitions and then block all further Transfers.
If the Device loops in Fastboot, the only Solution to me was re flashing the Stock Firmware.
greendra8 said:
And writing 'fastboot boot twrp.img' turns the phone off / makes the screen go black. Fully bricked now as the OS wont load either.
Click to expand...
Click to collapse
I have the same Issue, but reflashing Stock Firmware or making OTA Updates dident helped for me. Ive already tried TWRP and OrangeFox without success. The Screen always turns black and Fastboot stays active in an limited Mode, any Ideas? My host Computer only has 3.0+ Ports only, but ive used an 2.0 Extender so it should be fine?
DJPlaya said:
Hi, i fixed the "Failed to load/authenticate boot image: Load Error" by simply restarting the Device.
It seems to appear randomly when flashing partitions and then block all further Transfers.
If the Device loops in Fastboot, the only Solution to me was re flashing the Stock Firmware.
I have the same Issue, but reflashing Stock Firmware or making OTA Updates dident helped for me. Ive already tried TWRP and OrangeFox without success. The Screen always turns black and Fastboot stays active in an limited Mode, any Ideas? My host Computer only has 3.0+ Ports only, but ive used an 2.0 Extender so it should be fine?
Click to expand...
Click to collapse
long time ago now. but i remember at one point having to flash the stock firmware using the mi unlock tool. i also remember trying every single version of twrp and rom until one finally worked. sorry i can't help much but i believe that's how i eventually fixed it.
hi, I've experienced with the same thing.
this methode help me out from it.
try to reflashing some file image from the rom where youre want to install in hh with adb.
copy this files below from rom image to adb folder
1. system.img (command in adb >> fastboot flash system system.img)
2. boot.img (command in adb like #1, change the name of img file) do till #6
3. vendor.img
4. dtbo.img
5. cust.img
6. misc.img
7. now flashing twrp/recovery.img (choose twrp compatible with rom you want to install) with adb
8. the "fastboot boot recovery.img" with adb
9. flashing the rom by twrp
Marihot said:
hi, I've experienced with the same thing.
this methode help me out from it.
try to reflashing some file image from the rom where youre want to install in hh with adb.
copy this files below from rom image to adb folder
1. system.img (command in adb >> fastboot flash system system.img)
2. boot.img (command in adb like #1, change the name of img file) do till #6
3. vendor.img
4. dtbo.img
5. cust.img
6. misc.img
7. now flashing twrp/recovery.img (choose twrp compatible with rom you want to install) with adb
8. the "fastboot boot recovery.img" with adb
9. flashing the rom by twrp
Click to expand...
Click to collapse
Where do you get these .img files?
iconoclasthero said:
Where do you get these .img files?
Click to expand...
Click to collapse
all img files come from the official rom china stable V12.0.2.0.QEBCNXM (.tgz), download and extract the tgz file then find img files from images folder
Marihot said:
all img files come from the official rom china stable V12.0.2.0.QEBCNXM (.tgz), download and extract the tgz file then find img files from images folder
Click to expand...
Click to collapse
Please tell the details for this method
greendra8 said:
Ended up having to reinstall dev rom. Device relocked, so have to wait 15 days again. @BusterBg_18 Thanks, will do when I unlock the device
EDIT: When using Mi Flash tool, make sure to check 'clean all' and not 'clean all and lock' in the bottom right. That's what set me back 2 weeks.
Click to expand...
Click to collapse
BROOOOOOOOOO HAHAHAHAHAHA I LITERALLY JUST READ YOUR COMMENT AND 10 SECONDS LATER I FLASH THE ROM WITH "CLEAN ALL AND LOCK" Im a f-king dumb bro
Marihot said:
你好,我也经历过同样的事情。
这个方法帮助我摆脱它。
尝试使用 adb 从要在 hh 中安装的 rom 中重新刷新一些文件映像。
将下面的文件从 rom 映像复制到 adb 文件夹
1.system.img(adb >> fastboot flash system system.img中的命令)
2. boot.img(adb 中的命令,如#1,更改 img 文件的名称)直到 #6
3. 供应商.img
4.dtbo.img
5. 自定义.img
6. 杂项.img
7. 现在用adb刷twrp/recovery.img(选择twrp与你要安装的rom兼容)
8. adb 的“fastboot boot recovery.img”
9. twrp刷入rom
Click to expand...
Click to collapse
Thank you, brother
try fastboot set_active a
or fastboot set_active b

Categories

Resources