Disregard
I used a payload extraction tool to open up the OTA file and then flashed each partition via fastboot manually (saw it in a oneplus thread) phone is currently at the boot screen which is much further than it was any time before this, going to give it a little more time before trying anything further as I did a factory reset before upgrading so it could just be first booting.
thoughtlesskyle said:
I messed up while trying to install the android 10 update, I have backups of my stock boot images but not my system paritionwas on MP2) my system partition is now wiped
I can only get to the bootloader but accessing anything else just results in a bootloop so I can't install the OTA updates, I do however still have a working fastboot.
does anyone have a backup of their paritions that I can flash via fastboot?
I also can't seem to boot twrp from fastboot anymore either
any help is appreciated
Click to expand...
Click to collapse
First you didn't state your device model or version.
Android 10 update will lock your bootloader, and till now the unlocking code is no where to be found, and so it can't be rooted unless it is unlocked.
So what you could do is swapping your current partition slot to the one with Android 9 if you want to have root, flash your phone, or booting TWRP.
Code:
fastboot set_active other
Then reboot your phone to bootloader, and you will see that it is unlocked, and do 'Factory Reset' if needed.
Warning do not try to flash anything while the bootloader is locked.
If you have BS 2 Pro global and want to flash MP2 back, check my thread.
Goodluck
KM7 said:
First you didn't state your device model or version.
Android 10 update will lock your bootloader, and till now the unlocking code is no where to be found, and so it can't be rooted unless it is unlocked.
So what you could do is swapping your current partition slot to the one with Android 9 if you want to have root, flash your phone, or booting TWRP.
Code:
fastboot set_active other
Then reboot your phone to bootloader, and you will see that it is unlocked, and do 'Factory Reset' if needed.
Warning do not try to flash anything while the bootloader is locked.
If you have BS 2 Pro global and want to flash MP2 back, check my thread.
Goodluck
Click to expand...
Click to collapse
Okay further update, I am using a SKW-H01, I flashed all the partitions from the 10 update manually and hung at a bootloop rebooted to recovery after waiting a little while and factory reset now I am fully booted. I didn't read enough or else I would have been smarter about trying an android 10 build to recover the phone because of it locking the bootloader. Either way we are all good to go. Thanks for your help. I was just stupid and went into it unprepared. I have messed around with a lot of devices over the years but never one that had a payload.bin instead of a factory image.
WE'RE ALL GOOD NOW THOUGH!
thoughtlesskyle said:
Okay further update, I am using a SKW-H01, I flashed all the partitions from the 10 update manually and hung at a bootloop rebooted to recovery after waiting a little while and factory reset now I am fully booted. I didn't read enough or else I would have been smarter about trying an android 10 build to recover the phone because of it locking the bootloader. Either way we are all good to go. Thanks for your help. I was just stupid and went into it unprepared. I have messed around with a lot of devices over the years but never one that had a payload.bin instead of a factory image.
WE'RE ALL GOOD NOW THOUGH!
Click to expand...
Click to collapse
Good to know that you managed to boot it. Hope things are working well for you.
thoughtlesskyle said:
Okay further update, I am using a SKW-H01, I flashed all the partitions from the 10 update manually and hung at a bootloop rebooted to recovery after waiting a little while and factory reset now I am fully booted. I didn't read enough or else I would have been smarter about trying an android 10 build to recover the phone because of it locking the bootloader. Either way we are all good to go. Thanks for your help. I was just stupid and went into it unprepared. I have messed around with a lot of devices over the years but never one that had a payload.bin instead of a factory image.
WE'RE ALL GOOD NOW THOUGH!
Click to expand...
Click to collapse
22 sections.
Yes, all the partitions had to be flashed to run it.
Code:
fastboot flash xbl_config_a rom/xbl_config.img
fastboot flash xbl_a rom/xbl.img
fastboot flash vendor_a rom/vendor.img
fastboot flash vbmeta_a rom/vbmeta.img
fastboot flash uefisecapp_a rom/uefisecapp.img
fastboot flash tz_a rom/tz.img
fastboot flash system_a rom/system.img
fastboot flash qupfw_a rom/qupfw.img
fastboot flash modem_a rom/modem.img
fastboot flash keymaster_a rom/keymaster.img
fastboot flash imagefv_a rom/imagefv.img
fastboot flash hyp_a rom/hyp.img
fastboot flash dtbo_a rom/dtbo.img
fastboot flash dsp_a rom/dsp.img
fastboot flash devcfg_a rom/devcfg.img
fastboot flash custom_a rom/custom.img
fastboot flash cmnlib64_a rom/cmnlib64.img
fastboot flash cmnlib_a rom/cmnlib.img
fastboot flash boot_a rom/boot.img
fastboot flash bluetooth_a rom/bluetooth.img
fastboot flash aop_a rom/aop.img
fastboot flash abl_a rom/abl.img
All writing* [OK].
But having root on board this operation passes with the format userdata error.
In the flash writing* [FAILED].
Only by deleting hidden folders and files via the /data/directory... in internal storage, writing* [OK].
Related
EDIT: Noob to flashing stock images here. Need help on how to get the image to install on the device. This is my first ever Nexus device
So there's a new 5.0.1 system image out. I'm rooted, and I remember reading somewhere that the official OTA process won't work if you have modifications to the System partition.
So, I just want to check what I should do. Thanks.
Fastboot flash the images. Then reroot.
Awesome. I'm new to fastboot, and this is my first Nexus device. What is the procedure for flashing an official System image with fastboot?
TenderloinShadow said:
Awesome. I'm new to fastboot, and this is my first Nexus device. What is the procedure for flashing an official System image with fastboot?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=56921581&postcount=33
That post left out flashing recovery. The download should have 6 files. I flashed recovery at the end (but I don't think it matters how you flash the files, I could be wrong though).
See link above, then you might as well just flash twrp recovery instead of factory recovery, then flash this SuperSU zip through recovery and you'll be rooted and updated.
Order of flash doesn't matter, and I wouldn't flash boot loader unless necessary.
di11igaf said:
See link above, then you might as well just flash twrp recovery instead of factory recovery, then flash this SuperSU zip through recovery and you'll be rooted and updated.
Order of flash doesn't matter, and I wouldn't flash boot loader unless necessary.
Click to expand...
Click to collapse
I had TWRP installed before loading up these images. I decided to not flash recovery.img thinking I would be okay; but when I tried to reboot into twrp, I soft bricked. So I would still install the recovery.img first and then twrp. Everything is working properly now.
ericplatham said:
I had TWRP installed before loading up these images. I decided to not flash recovery.img thinking I would be okay; but when I tried to reboot into twrp, I soft bricked. So I would still install the recovery.img first and then twrp. Everything is working properly now.
Click to expand...
Click to collapse
You're right, now that I think about it, I believe I had to do that as well last time I flashed a factory image.
I am unlocked, rooted and have custom recovery.... what is the procedure? Is fastboot the only way?
GatorsUF said:
I am unlocked, rooted and have custom recovery.... what is the procedure? Is fastboot the only way?
Click to expand...
Click to collapse
maybe I'll write up a guide, but download the factory image, extract it. In there is a zip file, extract it too. Then Google 15 second adb install xda. That'll set up fastboot on your pc. Then boot into the bootloader and in a command window opened in the folder where the bootloader image is located run the commands:
fastboot flash bootloader bootloader.img. Note, use the full name of the bootloader.img
fastboot reboot-bootloader
fastboot -w
Open the folder where the boot, system, cache, system, and vendor images are located. Open a command window in that folder and run the commands:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash vendor vendor.img
fastboot flash system system.img
Then you're done
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Then you're done
Click to expand...
Click to collapse
He will still have to reroot and flash custom recovery... but you got 95% of the process :laugh:
So we have to go through this for updates rather than flashing a modified firmware, eh? damn
rank78 said:
So we have to go through this for updates rather than flashing a modified firmware, eh? damn
Click to expand...
Click to collapse
Since its a small update you could probably get by just flashing the system and boot images. But I haven't tried it
Sent from my Nexus 5 using XDA Free mobile app
I'd flash everything as described to be safe, I just prefer simply flashing a zip and moving on.
Will updating thru adb wipe my device?
GatorsUF said:
Will updating thru adb wipe my device?
Click to expand...
Click to collapse
You're using thru fastboot, not adb. They're different. But to answer your question the command fastboot -w does wipe your device. You could try it without that command but it may cause problems. Back your device up to Google first. Google had gotten really good at restoring the device after a flash.
You could also try just flashing the system and boot images, run those fastboot commands only and not the other ones. It should update to 5.0.1 without a problem.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You're using thru fastboot, not adb. They're different. But to answer your question the command fastboot -w does wipe your device. You could try it without that command but it may cause problems. Back your device up to Google first. Google had gotten really good at restoring the device after a flash.
You could also try just flashing the system and boot images, run those fastboot commands only and not the other ones. It should update to 5.0.1 without a problem.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I have actually flashed a few times thru fastboot in the past so I'm not totally lost on the idea. I've always used tibu in the past, will Google restore my data too?
TenderloinShadow said:
EDIT: Noob to flashing stock images here. Need help on how to get the image to install on the device. This is my first ever Nexus device
So there's a new 5.0.1 system image out. I'm rooted, and I remember reading somewhere that the official OTA process won't work if you have modifications to the System partition.
So, I just want to check what I should do. Thanks.
Click to expand...
Click to collapse
Drag and Drop or Copy/Paste Images to {}
STEP #1
fastboot flash bootloader {bootloader.img}
fastboot reboot-bootloader
Step #2
fastboot erase recovery
fastboot format system
fastboot erase boot
fastboot format vendor
fastboot format cache
fastboot erase userdata {optional}
Step#3
fastboot flash recovery {recovery.img}
fastboot flash system {system.img}
fastboot flash boot {boot.img}
fastboot flash vendor {vendor.img}
fastboot flash cache {cache.img}
fastboot reboot-bootloader
Step #4
fastboot erase recovery
fastboot flash recovery {TWRP.img}
Step #5
got to TWRP recovery flash latest super su
reboot done enjoy
thanks @prdog1
fhem said:
Drag and Drop or Copy/Paste Images to {}
STEP #1
fastboot flash bootloader {bootloader.img}
fastboot reboot-bootloader
Step #2
fastboot erase recovery
fastboot format system
fastboot erase boot
fastboot format vendor
fastboot format cache
fastboot erase userdata {optional}
Step#3
fastboot flash recovery {recovery.img}
fastboot flash system {system.img}
fastboot flash boot {boot.img}
fastboot flash vendor {vendor.img}
fastboot flash cache {cache.img}
fastboot reboot-bootloader
Step #4
fastboot erase recovery
fastboot flash recovery {TWRP.img}
Step #5
got to TWRP recovery flash latest super su
reboot done enjoy
thanks @prdog1
Click to expand...
Click to collapse
Why erase recovery twice?
Just dont flash stock recovery
fhem said:
STEP #1
fastboot flash bootloader {bootloader.img}
Click to expand...
Click to collapse
Help, I'm getting the folllowing error message: error: cannot determine image filename for bootloader-flounder-3.43.0.0114.img
and now I'm stuck. I've not done this in ages but couldn't wait and now I don't know what to do.
Double_U said:
Help, I'm getting the folllowing error message: error: cannot determine image filename for bootloader-flounder-3.43.0.0114.img
and now I'm stuck. I've not done this in ages but couldn't wait and now I don't know what to do.
Click to expand...
Click to collapse
Hi, Double_U...
Are you sure you've typed the EXACT command..?
Code:
fastboot flash bootloader bootloader-flounder-3.43.0.0114.img
Reboot the bootloader, enter fastboot, and try again.
Rgrds,
Ged.
I tried to flash a downgrade image to my moto e 2nd gen. Now Im stuck in bootloader and a warning message for unlocked bootloder. Ive tried to flash logo.bin, and other images aswell with no luck. It keeps asking me to install a valid signed images, I don't know where to find these images. Please help!
You need to do exactly what it's asking you to do - flash valid signed images. Which model do you have (XT152x)? Which region are you in? Which version were you downgrading from?
Just so you know, downgrading the stock ROM is very highly discouraged as it can cause bricking in certain circumstances. In particular, never try to downgrade the stock ROM when the bootloader is locked. You can try flashing back the upgraded images and seeing if your phone accepts them. Be aware that the signed images must match your model number and region.
squid2 said:
You need to do exactly what it's asking you to do - flash valid signed images. Which model do you have (XT152x)? Which region are you in? Which version were you downgrading from?
Just so you know, downgrading the stock ROM is very highly discouraged as it can cause bricking in certain circumstances. In particular, never try to downgrade the stock ROM when the bootloader is locked. You can try flashing back the upgraded images and seeing if your phone accepts them. Be aware that the signed images must match your model number and region.
Click to expand...
Click to collapse
Thanks for reply.
I don't have these images, where to get them? My model is xt1524reteuall, I'm in europe/sweden and I downgraded from stock Lollipop 5.0.2
I did unlock the bootloader via motorolas site.
pemhak said:
Thanks for reply.
I don't have these images, where to get them? My model is xt1524reteuall, I'm in europe/sweden and I downgraded from stock Lollipop 5.0.2
I did unlock the bootloader via motorolas site.
Click to expand...
Click to collapse
Hmm, so you went from a newer 5.0.2 build to an old 5.0.2 build? What were you downgrading to?
Go to this folder: https://mega.nz/#F!rMIhDLgR!oq5Cz_XbgZLEEysmqoYtcA
Navigate to Surnia ->5.0.2
Look for the file XT1524_RETEUALL_MOTOE2... (it's near the middle of the list)
Download and try flashing everything it in using fastboot.
squid2 said:
You need to do exactly what it's asking you to do - flash valid signed images. Which model do you have (XT152x)? Which region are you in? Which version were you downgrading from?
Just so you know, downgrading the stock ROM is very highly discouraged as it can cause bricking in certain circumstances. In particular, never try to downgrade the stock ROM when the bootloader is locked. You can try flashing back the upgraded images and seeing if your phone accepts them. Be aware that the signed images must match your model number and region.
Click to expand...
Click to collapse
Thanks for reply.
I don't have these images, where to get them? My model is xt1524reteuall, I'm in europe/sweden and I downgraded from stock Lollipop 5.0.2
I did unlock the bootloader via motorolas site.
I got my device back!! I did succeed to flash it with this rom "surnia_stock_5.0.2.zip" with TWRP. I did not have the patience to wait at the Motorola logo when booting, I have to wait 2-3 min and 2-3 min for services to start. for the device to boot. But now it doesn't register any sim card when at desktop?!?
squid2 said:
Hmm, so you went from a newer 5.0.2 build to an old 5.0.2 build? What were you downgrading to?
Go to this folder:
Navigate to Surnia ->5.0.2
Look for the file XT1524_RETEUALL_MOTOE2... (it's near the middle of the list)
Download and try flashing everything it in using fastboot.
Click to expand...
Click to collapse
I was downgrading to kitkat 4.4.4 due to poor battery in lollipop 5.0.2. I'm downloading a xt1524reteuall rom right now but ir is going slowly.
pemhak said:
I was downgrading to kitkat 4.4.4 due to poor battery in lollipop 5.0.2. I'm downloading a xt1524reteuall rom right now but ir is going slowly.
Click to expand...
Click to collapse
Oh, you must have flashed something really wrong then. There are no 4.4.4 ROMs for this device. You would have flashed something totally incompatible and highly risky if you flashed 4.4.4 from somewhere. That may have wrecked your modem software too. Download and flash the proper XT1524-specific software with the correct modem. If you are unhappy with the performance of the stock ROM, you can flash scritch007's CM12.1.
squid2 said:
Oh, you must have flashed something really wrong then. There are no 4.4.4 ROMs for this device. You would have flashed something totally incompatible and highly risky if you flashed 4.4.4 from somewhere. That may have wrecked your modem software too. Download and flash the proper XT1524-specific software with the correct modem. If you are unhappy with the performance of the stock ROM, you can flash scritch007's CM12.1.
Click to expand...
Click to collapse
Ok, thanks. I will wait for download to complete and flash that image.
pemhak said:
Ok, thanks. I will wait for download to complete and flash that image.
Click to expand...
Click to collapse
Hi! Did you solve your problem? I'm kind of stuck on same problem and with no working solution yet.
EDIT: I tried the @squid2 with no success. Maybe I will send the phone to waranty....
Noeljunior said:
Hi! Did you solve your problem? I'm kind of stuck on same problem and with no working solution yet.
EDIT: I tried the @squid2 with no success. Maybe I will send the phone to waranty....
Click to expand...
Click to collapse
I did solve the problem with these steps.
1. Find and download the files for your region.
2. Unzip files to a folder with fastboot and adb.
3. Create stock.bat with these commands and run stock.bat within the same folder as above files.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot oem config carrier vzw
fastboot oem fb_mode_clear
fastboot reboot
(4. I needed to reunlock my Moto E 2nd Gen at Motorolas site, because i did relock it.)
5. Get into bootloader menu and flash this TWRP image (i can email it to you) within the same folder and flash it with fastboot.
6. Restart phone. Wait 2-3 minutes so it boots into android.
7. Hope I made it clear enough to follow the instructions, if you got questions please reply and I try to answer them. Sorry for my poor english.
pemhak said:
I did solve the problem with these steps.
1. Find and download the files for your region.
2. Unzip files to a folder with fastboot and adb.
3. Create stock.bat with these commands and run stock.bat within the same folder as above files.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot oem config carrier vzw
fastboot oem fb_mode_clear
fastboot reboot
(4. I needed to reunlock my Moto E 2nd Gen at Motorolas site, because i did relock it.)
5. Get into bootloader menu and flash this TWRP image (i can email it to you) within the same folder and flash it with fastboot.
6. Restart phone. Wait 2-3 minutes so it boots into android.
7. Hope I made it clear enough to follow the instructions, if you got questions please reply and I try to answer them. Sorry for my poor english.
Click to expand...
Click to collapse
And I'm back with my Moto E! Thank you! I wasn't doing some of those commands and with all those commands it works! Thank you!
So I relocked my bootloader after upgrading to marshmallow and forgot that I did that..... I tried to flash a stock boot img so I could utilize the ota, and it sort of bricked my tablet. Being a total dumbass I didn't realize that was the problem. Having had a similar issue before on my galaxy s4 where I follow a similar solution. I already have twrp installed, and it was asking for encryption for which there was none. So I wiped data and formatted to get past the encryption. On my s4 I was then able to reinstall the stock firmware and software. However when I tried to push the bootloader to my nexus I got this weird error.. can someone pleeeeeeease spare me and help me out. This tablet is my lifeline for college...
Don't get me in trouble for posting this image please lol, I just don't have enough posts. http ://i67.tinypic.com/v80vwl.jpg[/B][/B]
I figured it out, I was just being dumb. I just needed to use the fastboot commands and not try to use twrp
tdct12 said:
So I relocked my bootloader after upgrading to marshmallow and forgot that I did that..... I tried to flash a stock boot img so I could utilize the ota, and it sort of bricked my tablet. Being a total dumbass I didn't realize that was the problem. Having had a similar issue before on my galaxy s4 where I follow a similar solution. I already have twrp installed, and it was asking for encryption for which there was none. So I wiped data and formatted to get past the encryption. On my s4 I was then able to reinstall the stock firmware and software. However when I tried to push the bootloader to my nexus I got this weird error.. can someone pleeeeeeease spare me and help me out. This tablet is my lifeline for college...
Don't get me in trouble for posting this image please lol, I just don't have enough posts. http ://i67.tinypic.com/v80vwl.jpg[/B][/B]
I figured it out, I was just being dumb. I just needed to use the fastboot commands and not try to use twrp
Click to expand...
Click to collapse
If your able to access the bootloader menu or the fastboot menu, you could flash the stock and would fix the brick,soft brick or boot-loop.
Head to Google developer nexus image. Download the factory image of your devices on your devices. Extract all the files and copy paste the fastboot and adb files. Head to your devices and open the fastboot menu.
Type the following commends to restore your devices if the flashall did not work.
Fastboot oem unlock
Fastboot flash bootloader bootloader....
Fastboot reboot-bootloader
Fastboot erase boot
Fastboot flash boot boot.img
Fastboot erase recovery
Fastboot flash recovery recovery.img
Fastboot erase system
Fastboot flash system system.img (this could take up to 15 minutes, don't do anything to stop the process you can make your devices and a worst state)
Fastboot erase cache
Fastboot flash cache cache.img
Fastboot erase vendor
Fastboot flash vendor vendor.img
Fastboot reboot
This should fix your devices. I did not and it save each time I broke my device or anything similar.
If you want after all that. You can enter the following commends to relock your devices but don't make the same mistake you did before. If you want to avoid that same mistake just don't enter the commends.
What the guy above me said, also pro tip, some times not all the files will extract just keep extracting till all the image files are there.
Your bootloader must be unlocked.
You can't lock the bootloader, to do this you will need a signed firmware from Motorola (and no one found yet). Instead you can use Magisk to hide the unlocked bootloader, bypass SafetyNet and be able to use Google Pay, for example.
You will not get OTA updates from Motorola even if you somehow lock the bootloader because your phone is registered forever to the "retcn" software update channel, instead of "retail" or "retbr".
Recommended: set your Platform Tools (adb and fastboot) system wide using this guide
https://forum.xda-developers.com/android/software/guide-how-to-set-fastboot-adb-to-wide-t3591240
Tested for updating from Oreo stock without wipe.
Steps for clean flashing or update
- Place the suitable script attached on the extracted ROM folder and flash (these scripts are only for XT1710-08 variant to prevent lost modem signal)
- After all the commands succeeded, wait for a full reboot (because of encryption)
- Flash TWRP
- Flash Magisk normally through TWRP
- Be happy
Firmware (you can use this on other XT1710 variants)
Version: PPS29.133-30 (Android 9.0 Pie)
https://mirrors.lolinet.com/firmwar...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Other versions:
https://mirrors.lolinet.com/firmware/moto/albus/official/RETAIL/
TWRP
https://forum.xda-developers.com/z2-play/development/-t3715660
Magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Motorola drivers https://motorola-global-en-aus.custhelp.com/app/answers/prod_detail/a_id/86934/p/154,153
Google SDK Platform Tools https://developer.android.com/studio/releases/platform-tools
Commands for flashing and wipe
PS: the difference from the official `flashfile.xml` commands is that it doesn't contains `fastboot erase modemst1` and `fastboot erase modemst2`
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Commands for flashing without wipe (update)
PS: the only difference from the previous one is that it doesn't contains `fastboot erase userdata`
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot
Thanks to
@eqbirvin
@Junior Passos
@HTCDevil
Hello. If I use your script is unzipped the rom with update to August 2018 is the same? They are currently on custom rom Firehound! I would like to go back to the Motorola Blur retail. Do I have to give all the commands from fastboot?
cuciu70 said:
Hello. If I use your script is unzipped the rom with update to August 2018 is the same? They are currently on custom rom Firehound! I would like to go back to the Motorola Blur retail. Do I have to give all the commands from fastboot?
Click to expand...
Click to collapse
Yes! To go back to Motorola stock ROM you must follow this tutorial to make a clean flash, using the flash-wipe script.
my post was wrong, Moderators please delete my post.
Did'nt know i can't delete my own post.
felipecassiors said:
Yes! To go back to Motorola stock ROM you must follow this tutorial to make a clean flash, using the flash-wipe script.
Click to expand...
Click to collapse
the password does not work.
I tried to open the file with 7zip and zip extractor pro. I enter the password!
wrong password.
cuciu70 said:
the password does not work.
I tried to open the file with 7zip and zip extractor pro. I enter the password!
wrong password.
Click to expand...
Click to collapse
Firmware:
https://drive.google.com/open?id=1rcgUvLG5c7l9jH8AzuTg3WPJnORQ6VlY
The password is
Code:
MotorolaFirmwaresLB
I use WinRAR, but 7-Zip should work. Try again please, here is working.
Would it be easy to update the system with the latest patch? I have magisk installed with system from April patch. If so what how would be the procedure?
Followed all the steps and got it working. Thanks so much, the original software on this version of the phone is terrible!
One thing, like a few others, my fingerprint sensor isn't working. Is it as simple as a wipe after install?
pjcons said:
Followed all the steps and got it working. Thanks so much, the original software on this version of the phone is terrible!
One thing, like a few others, my fingerprint sensor isn't working. Is it as simple as a wipe after install?
Click to expand...
Click to collapse
Take a look at this post friend:
https://forum.xda-developers.com/z2...reo-retail-via-fastboot-t3786153/post76486376
Try to flash again but evading this 4 commands.
felipecassiors said:
Take a look at this post friend:
https://forum.xda-developers.com/z2...reo-retail-via-fastboot-t3786153/post76486376
Try to flash again but evading this 4 commands.
Click to expand...
Click to collapse
Yes I took those out when flashed and still no fp sensor. Thanks for sending on though. I read everything b4 flash but still no fp sensor.
But I didn't wipe 1st so might flash again and wipe 1st?
Everything else working 100% :good:
pjcons said:
Yes I took those out when flashed and still no fp sensor. Thanks for sending on though. I read everything b4 flash but still no fp sensor.
But I didn't wipe 1st so might flash again and wipe 1st?
Everything else working 100% :good:
Click to expand...
Click to collapse
If you can, please try wiping in first. If still doesn't work, the procedure to solve this is:
- Flash the original ROM (that ugly ZUI one) to get it working again
- Flash the ROM on this thread, wiping, evading that 4 commands
I can help you to find the ZUI ROM if you need.
felipecassiors said:
If you can, please try wiping in first. If still doesn't work, the procedure to solve this is:
- Flash the original ROM (that ugly ZUI one) to get it working again
- Flash the ROM on this thread, wiping, evading that 4 commands
I can help you to find the ZUI ROM if you need.
Click to expand...
Click to collapse
Cheers mate. If u can send me a link to the very ugly Zui rom just in case would be great.
pjcons said:
Cheers mate. If u can send me a link to the very ugly Zui rom just in case would be great.
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=1322778262903986742
Just make sure your device is XT1710-08
Tested on a XT1710-06 full wipe and it works great, because i wanted to do and update and i goot bootloop.
Just in case someone find this, im from México, I flashed this fastboot rom and installed Magisk to get root, used the Canary build to make it work with my fav games that are Fate go and Pokemon go (spoof) and it works like a charm, thanks.
felipecassiors said:
https://androidfilehost.com/?fid=1322778262903986742
Just make sure your device is XT1710-08
Click to expand...
Click to collapse
Yep, it's an XT1710-08 for sure! Thanks again...
pjcons said:
Yep, it's an XT1710-08 for sure! Thanks again...
Click to expand...
Click to collapse
Friend, use the tutorial of this thread, but instead of that script, use this attached to flash the ZUI stock ROM.
8bitcode said:
Tested on a XT1710-06 full wipe and it works great, because i wanted to do and update and i goot bootloop.
Just in case someone find this, im from México, I flashed this fastboot rom and installed Magisk to get root, used the Canary build to make it work with my fav games that are Fate go and Pokemon go (spoof) and it works like a charm, thanks.
Click to expand...
Click to collapse
Friend, for models other than XT1710-08 (outside China), you can use this script attached. It is more recommended.
Thank you for the feedback!
felipecassiors said:
Friend, for models other than XT1710-08 (outside China), you can use this script attached. It is more recommended.
Thank you for the feedback!
Click to expand...
Click to collapse
Hey I got back to ZUI - the Chinese ROM came up. Fingerprint working. So rebooted into BL and flashed the firmware as per OP. Again, no FP sensor.
I'm gonna try again and wipe after install ZUI, BEFORE flash and wipe Oreo.
[2nd try no better??]
It flashes ok but FP sensor just won't work. Everything else working. When you say "Flash the ROM on this thread, wiping, evading that 4 commands" I use the flash and wipe script and remove the 4 commands (the erase modem seem to have been removed already from the script). Any ideas, I'm so close! Have flashed back and forth a few times tonight. It's fun though! Cheers!
pjcons said:
Hey I got back to ZUI - the Chinese ROM came up. Fingerprint working. So rebooted into BL and flashed the firmware as per OP. Again, no FP sensor.
I'm gonna try again and wipe after install ZUI, BEFORE flash and wipe Oreo.
[2nd try no better??]
It flashes ok but FP sensor just won't work. Everything else working. When you say "Flash the ROM on this thread, wiping, evading that 4 commands" I use the flash and wipe script and remove the 4 commands (the erase modem seem to have been removed already from the script). Any ideas, I'm so close! Have flashed back and forth a few times tonight. It's fun though! Cheers!
Click to expand...
Click to collapse
Mine XT1710-08 fingerprint sensor works without removing the 4 commands, I just remove the 2 erase modem (already removed in the flash scripts). Anyway, try to install the ROM of this thread (https://forum.xda-developers.com/z2-play/how-to/fastboot-rom-oreo-retail-via-fastboot-t3786153) and see if it work for you. Please post here if you have news about it.
Rooting
I did all the steps and completely reinstalled android 8.0 on my moto z2 play, I then got twrp and tried flashing magisk 17.1, I got stuck in a bootloop but managed to flash the whole thing again, which solved the problem. To make sure this doesn't happen again, could you please state the steps for rooting. I cant remember if it was because I did not input the code into the terminal. When I input the code am I supposed to get a response or message, because it just stays bank?
Thank you
i know there are other threads on this topic. But after going through them I cant find the fix.
I unlocked bootloader and tried to root. Its seems to have worked, but the touchscreen no longer works.
I used lmsa to download the stock rom. installed magisk and ran the boot.img to get the patched boot. Then flashed the patched boot and when i rebooted the device...no touchscreen.
I tried to reflash the original boot.img but that didnt help.
I tried to use LMSA to rescue. but when i connect the phone it says "unable to match firmware. Some key information cannot be read from device."
The original adb fastboot was old. So I did update to the r30 version and tried flashing everything again. but it still boots up and no touchscreen.
Im obviously at a loss here. so any help would be appreciated. Just to even get it back to stock would be fine.
Or do I try to install twrp and throw a custom rom on? would that work. Again, at a loss...
TIA
UPDATE: ive gotten everything sorted. no more bootloop. touchscreen working. connecting to lmsa. and rooted. Thank you for all the responses.
I think what happened is that when i started all this i was not using the latest adb. That seemed to not be an issue for unlocking bootloader, but a major issue for rooting. When i tried to root,i got the no touchscreen. So I followed directions and went to manually flash the stock firmware. I didnt know how to do this and couldnt find instructions for the g power. but did find instructions for the g8 power and assumed it would be the same...its almost the same, but not, so i got the bootloop.
These are the instructions:
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
I added fastboot flash super super.img_sparsechunk.15, because the g8 power only has 14 sparsechunks and thats why i kept getting the bootloop. very stupid mistake that was driving me nuts! Once i added that 15th line the phone booted up and touchscreen worked again.
Then i installed magisk manager. Took the boot.img file from my stock rom and put it on my phone. back in magisk i clicked on install a patch file, chose the boot.img and created a magisk_patched.img which i put back into the adb folder i previously used to flash the firmware.
Then went back to fastboot and flashed the magisk_patched.img and the phone is now working and rooted...THANK GOD
cnoevl21 said:
i know there are other threads on this topic. But after going through them I cant find the fix.
I unlocked bootloader and tried to root. Its seems to have worked, but the touchscreen no longer works.
I used lmsa to download the stock rom. installed magisk and ran the boot.img to get the patched boot. Then flashed the patched boot and when i rebooted the device...no touchscreen.
I tried to reflash the original boot.img but that didnt help.
I tried to use LMSA to rescue. but when i connect the phone it says "unable to match firmware. Some key information cannot be read from device."
The original adb fastboot was old. So I did update to the r30 version and tried flashing everything again. but it still boots up and no touchscreen.
Im obviously at a loss here. so any help would be appreciated. Just to even get it back to stock would be fine.
Or do I try to install twrp and throw a custom rom on? would that work. Again, at a loss...
TIA
Click to expand...
Click to collapse
Flash stock ROM manually, it will fix the problem
riyan65 said:
Flash stock ROM manually, it will fix the problem
Click to expand...
Click to collapse
The US stock ROM does not have a 'flash all' option. So i have no idea how to flash it. ugh
cnoevl21 said:
The US stock ROM does not have a 'flash all' option. So i have no idea how to flash it. ugh
Click to expand...
Click to collapse
I just ran into the same problem and asked you about it in the other thread. Right after, I tried the boot from XT2041-4_SOFIA_RETUS_10_QPMS30.80-51-5_subsidy-DEFAULT_regulatory-DEFAULT_CFC and got my touchscreen back.
https ://mirrors.lolinet.com/firmware/moto/sofia/official/RETUS/
I found out more of what's going on and posted in the other thread:
I just did the same exact thing. LMSA gave me SOFIA_RETAIL_QPMS30.80_51_8. Lost touchscreen with the patched boot. Used the stock 30.80_51_8 boot and didn't fix it. Also tried the older QPMS30.80-51-3, no dice.
Oh and LMSA can't rescue... key information cannot be read from device.
I'd appreciate any help. Thanks.
UPDATE - found the boot from XT2041-4_SOFIA_RETUS_10_QPMS30.80-51-5_subsidy-DEFAULT_regulatory-DEFAULT_CFC got the screen working again.
UPDATE 2 - patching -5 still left me no touchscreen. Went back to stock -5 and didn't work. Tried -8 and works again... I'm confused.
UPDATE 3 - when phone booted up, it notified me -8 was just installed... Patched -8 boot again and everything appears to be working fine. Moral of story - LMSA downloads the correct firmware if you give the phone enough time to finish auto-updating before rooting. SMH
haanjamin said:
I found out more of what's going on and posted in the other thread:
I just did the same exact thing. LMSA gave me SOFIA_RETAIL_QPMS30.80_51_8. Lost touchscreen with the patched boot. Used the stock 30.80_51_8 boot and didn't fix it. Also tried the older QPMS30.80-51-3, no dice.
Oh and LMSA can't rescue... key information cannot be read from device.
I'd appreciate any help. Thanks.
UPDATE - found the boot from XT2041-4_SOFIA_RETUS_10_QPMS30.80-51-5_subsidy-DEFAULT_regulatory-DEFAULT_CFC got the screen working again.
UPDATE 2 - patching -5 still left me no touchscreen. Went back to stock -5 and didn't work. Tried -8 and works again... I'm confused.
UPDATE 3 - when phone booted up, it notified me -8 was just installed... Patched -8 boot again and everything appears to be working fine. Moral of story - LMSA downloads the correct firmware if you give the phone enough time to finish auto-updating before rooting. SMH
Click to expand...
Click to collapse
good info to know. but now ive gone i screwed my phone up even worse. cuz now im stuck in boot loop. i was trying 105-5, but ill try 51-5, then -8. maybe one of them is the right stupid firmware for my phone
Do not panic.
Follow this guide to flash correct ROM, and patch boot from the ROM to get root
https://forum.xda-developers.com/moto-g-power/how-to/moto-g-power-flashing-guide-t4159301
mingkee said:
Do not panic.
Follow this guide to flash correct ROM, and patch boot from the ROM to get root
https://forum.xda-developers.com/moto-g-power/how-to/moto-g-power-flashing-guide-t4159301
Click to expand...
Click to collapse
ive tried this. i either dont have (and dont know) which is the correct rom. or some other issue. i can get into fastboot mode, no problem. but when i type fastboot reboot fastboot i get that long list of commands, as if im typing in a bad command. and it does not go into fastbootd. i can, however, get into fastbootd through recovery. but every time i try to flash something there, it fails (no file or directory).
And i cant use LMSA cuz when i try to connect, it says the phone has incorrect firmware.