Bought my Z Play used and have been really enjoying it! Phone came with TWRP + Root. After the November update came out, I flashed everything except baseband and modem, since I didn't want to lose my imei and couldn't find factory images for my device. I'd really like to flash back to 100% stock so I can relock my bootloader, use Android pay, and accept the upcoming nougat update once it arrives.
Looked through all of the factory images I could find on XDA and did a lot of googling, no luck.
Same situation as you are. I can't find that specific ROM.
Lenovo have not released signed images that you can flash and lock your bootloader with. Your device will always have the software flag : modified in the bootloader. Your best option for Android pay is for Alberto97 to include the SafetyNet kernel flag in LOS 14.1
Really_Rekt said:
Lenovo have not released signed images that you can flash and lock your bootloader with. Your device will always have the software flag : modified in the bootloader. Your best option for Android pay is for Alberto97 to include the SafetyNet kernel flag in LOS 14.1
Click to expand...
Click to collapse
Really, I care more about being able to take the upcoming nougat OTA, but this is good info, thank you!
xxBrun0xx said:
Really, I care more about being able to take the upcoming nougat OTA, but this is good info, thank you!
Click to expand...
Click to collapse
If I'm not mistaken, you should still be able to take upcoming OTA's even with an unlocked bootloader.
As long as you have stock recovery + un-root, you should be good in theory.
luciddreamin92 said:
If I'm not mistaken, you should still be able to take upcoming OTA's even with an unlocked bootloader.
As long as you have stock recovery + un-root, you should be good in theory.
Click to expand...
Click to collapse
True, but my baseband currently doesn't match anything else. To get to the November update, I flashed everything except modem from the latest USA factory ROM. Guess I can just do the same thing once someone posts images for nougat.
xxBrun0xx said:
True, but my baseband currently doesn't match anything else. To get to the November update, I flashed everything except modem from the latest USA factory ROM. Guess I can just do the same thing once someone posts images for nougat.
Click to expand...
Click to collapse
Hey guys, to prevent the loss of your precious data (apks, settings and etc), and "enable" ota on your devices, go to Twrp, wipe System, cache and dalvik cache.
After this, flash the firmware of your device via fastboot with the commands above:
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 oem oem.img
After that, your phone should be able to install ota's.
Cheers!
W3ND31 said:
Hey guys, to prevent the loss of your precious data (apks, settings and etc), and "enable" ota on your devices, go to Twrp, wipe System, cache and dalvik cache.
After this, flash the firmware of your device via fastboot with the commands above:
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 oem oem.img
After that, your phone should be able to install ota's.
Cheers!
Click to expand...
Click to collapse
Only if there is a factory image available for your device. Otherwise the OTA is going to brick your phone (OTA updates bootloader and modem, wrong modem will break radios, not sure if bootloader is region specific? If so, taking out of region OTA would hard brick you.)
xxBrun0xx said:
Only if there is a factory image available for your device. Otherwise the OTA is going to brick your phone (OTA updates bootloader and modem, wrong modem will break radios, not sure if bootloader is region specific? If so, taking out of region OTA would hard brick you.)
Click to expand...
Click to collapse
Nice addon!
Thx!
Update to this: spoke with a Level 2 Motorola Representative over the weekend. He did not seem to know anything about fastboot or TWRP or bootloader unlock vs sim unlock. I was pretty disappointed, Moto support has been excellent in past experience. He looked up the device by IMEI and told me it was unlocked US version, but had no idea what I was asking after almost an hour of explanation. The Level 1 tech I spoke to spoke pretty broken english. It's possible the baseband for RETUS is ROW_CUST, but I'm not brave enough to try flashing modem and boot.img.
If you're in the same boat, I'd recommend waiting until someone with a RETUS can confirm their baseband.
xxBrun0xx said:
Update to this: spoke with a Level 2 Motorola Representative over the weekend. He did not seem to know anything about fastboot or TWRP or bootloader unlock vs sim unlock. I was pretty disappointed, Moto support has been excellent in past experience. He looked up the device by IMEI and told me it was unlocked US version, but had no idea what I was asking after almost an hour of explanation. The Level 1 tech I spoke to spoke pretty broken english. It's possible the baseband for RETUS is ROW_CUST, but I'm not brave enough to try flashing modem and boot.img.
If you're in the same boat, I'd recommend waiting until someone with a RETUS can confirm their baseband.
Click to expand...
Click to collapse
I would avoid at all cost flashing any modem, bootloader or baseband related bin file. You can freely flash the sparse chunks and boot.img to your heart's content.
Sent from my XT1635-02 using XDA-Developers Legacy app
xxBrun0xx said:
Update to this: spoke with a Level 2 Motorola Representative over the weekend. He did not seem to know anything about fastboot or TWRP or bootloader unlock vs sim unlock. I was pretty disappointed, Moto support has been excellent in past experience. He looked up the device by IMEI and told me it was unlocked US version, but had no idea what I was asking after almost an hour of explanation. The Level 1 tech I spoke to spoke pretty broken english. It's possible the baseband for RETUS is ROW_CUST, but I'm not brave enough to try flashing modem and boot.img.
If you're in the same boat, I'd recommend waiting until someone with a RETUS can confirm their baseband.
Click to expand...
Click to collapse
I'm on RETUS. Baseband is Addison_RETUS_Cust. No ROW.
dandrumheller said:
I'm on RETUS. Baseband is Addison_RETUS_Cust. No ROW.
Click to expand...
Click to collapse
The plot thickens
Related
So, I got the May OTA yesterday before I unlocked my bootloader this morning to begin the process of possibly switching to a custom ROM (or just rooting, not sure yet). I unlocked it and everything is fine, but I read that the new bootloader included in the OTA breaks root and that I should flash the April one, so I did and works fine but I noticed that fastboot says that it flashed the bootloader to slot a, as if there are multiple bootloader slots.
Is there multiple bootloader slots? Should I be concerned that if I flash a ROM and it switched to slot B that I will have no bootloader, or would the April one be there from the OTA I did when I got the phone? Also, is there a way to flash into the second slot manually with fastboot, if it exists?
admiralspeedy said:
So, I got the May OTA yesterday before I unlocked my bootloader this morning to begin the process of possibly switching to a custom ROM (or just rooting, not sure yet). I unlocked it and everything is fine, but I read that the new bootloader included in the OTA breaks root and that I should flash the April one, so I did and works fine but I noticed that fastboot says that it flashed the bootloader to slot a, as if there are multiple bootloader slots.
Is there multiple bootloader slots? Should I be concerned that if I flash a ROM and it switched to slot B that I will have no bootloader, or would the April one be there from the OTA I did when I got the phone? Also, is there a way to flash into the second slot manually with fastboot, if it exists?
Click to expand...
Click to collapse
Hello, there is a bootloader on both slots... This is the purpose of seamless update. And, in case one slot fails, it will boot the other one...
Check this: https://www.xda-developers.com/exclusive-dual-boot-may-be-possible-on-pixel-phones/
You can flash the same factory image to both slots...
Flash your current slot with flash-all method. After the phone reboot, reboot once again to bootloader and issue:
fastboot --set-active=b (if your current active slot is a)
fastboot --set-active=a (if your current slot is b)
fastboot reboot-bootloader
Flash-all on the second slot, done...
I don't really see the point though, if you don't have issues.
Flashing custom ROM on a Pixel is a little bit different than older Nexus devices.
Check this thread: https://forum.xda-developers.com/pixel-xl/how-to/guide-how-to-unlock-root-flash-pixel-xl-t3507886
I wrote a little guide for someone today who wanted to install Pure Nexus, SuperSU and TWRP: https://forum.xda-developers.com/showpost.php?p=72128419&postcount=2
You can use it as a base...
Good luck...
5.1 said:
Hello, there is a bootloader on both slots... This is the purpose of seamless update. And, in case one slot fails, it will boot the other one...
Check this: https://www.xda-developers.com/exclusive-dual-boot-may-be-possible-on-pixel-phones/
You can flash the same factory image to both slots...
Flash your current slot with flash-all method. After the phone reboot, reboot once again to bootloader and issue:
fastboot --set-active=b (if your current active slot is a)
fastboot --set-active=a (if your current slot is b)
fastboot reboot-bootloader
Flash-all on the second slot, done...
I don't really see the point though, if you don't have issues.
Flashing custom ROM on a Pixel is a little bit different than older Nexus devices.
Check this thread: https://forum.xda-developers.com/pixel-xl/how-to/guide-how-to-unlock-root-flash-pixel-xl-t3507886
I wrote a little guide for someone today who wanted to install Pure Nexus, SuperSU and TWRP: https://forum.xda-developers.com/showpost.php?p=72128419&postcount=2
You can use it as a base...
Good luck...
Click to expand...
Click to collapse
Ok, thanks for the info.
admiralspeedy said:
Ok, thanks for the info.
Click to expand...
Click to collapse
Just a question....wouldn't it be smart to have the same image on both slots in case one slot fails for some reason or another? And isn't there a way to flash to both slots simultaneously? @ admiralspeedy
canemaxx said:
Just a question....wouldn't it be smart to have the same image on both slots in case one slot fails for some reason or another? And isn't there a way to flash to both slots simultaneously? @ admiralspeedy
Click to expand...
Click to collapse
Hello,
I doubt you can flash simultaneously both...
Wait for confirmation, but I have seen people flashing boot img on slot a and b.
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Guess this command can be used to flash bootloader as well...
fastboot flash bootloader_a bootloader.img
fastboot flash bootloader_b bootloader.img
I haven't tested it myself. You're on your own here...
Cheers...
This Article Will Guide You to how to relock the bootloader of your moto g5 plus (Indian Variant) It should work on other Variants to but tested only on the indian variant.
Things You Need:-
1.Minimal ADB
2.Moto Stock Rom Link:- (https://firmware.center/firmware/Mo...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip)
Download the last file that has brasil in file name
Steps To Relock The Bootloader:-
1.Install Minimal ADB
2.Download And Extract Moto Stock Rom to any folder
3.Open The folder where you extracted the stock rom and copy all file to Minimal ADB folder.
4.Now Connect Your Device In Fastboot Mode
5.Open Minimal ADB And Type each command one by one
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.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 boot boot.img
fastboot oem lock
Then it will restart your Device. And You Will Get Locked Bootloader.
After locking bootloader, flash full Rom to get ota
https://pastebin.com/ZWTaWuyr
This are the commands to flash full rom.
Thanks To Telegram Group for the commands link.
Nirbhay2 said:
This Article Will Guide You to how to relock the bootloader of your moto g5 plus (Indian Variant) It should work on other Variants to but tested only on the indian variant.
Things You Need:-
1.Minimal ADB
2.Moto Stock Rom (Available In The Moto G5 Plus forum)
3.Nothing Else
Steps To Relock The Bootloader:-
1.Install Minimal ADB
2.Download And Extract Moto Stock Rom to any folder
3.Open The folder where you extracted the stock rom and copy all file to Minimal ADB folder.
4.Now Connect Your Device In Fastboot Mode
5.Open Minimal ADB And Type each command one by one
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.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 boot boot.img
fastboot oem lock
Then it will restart your Device. And You Will Get Locked Bootloader.
*Don't Skip Any Command.
Click to expand...
Click to collapse
The process worked I could reblock the bootloader of my G5 Plus XT1680
Knight sparda said:
The process worked I could reblock the bootloader of my G5 Plus XT1680
Click to expand...
Click to collapse
Nice. Means it working for other Variant also
I don't think you will receive OTA updates even after locking the bootloader again.
Sent from my Moto G (5) Plus using Tapatalk
You have forget for flashing Recovery too.
matrixzone said:
I don't think you will receive OTA updates even after locking the bootloader again.
Click to expand...
Click to collapse
After locking bootloader, if u flash the whole rom again then u will be able to get OTA updates as normal. 100% Tested by me
Schrotty35 said:
You have forget for flashing Recovery too.
Click to expand...
Click to collapse
Flash full Rom after locking the bootloader.
After? You mean bevor.
Schrotty35 said:
After? You mean bevor.
Click to expand...
Click to collapse
Yes. After locking the bootloader you can flash full rom.
Nirbhay2 said:
Yes. After locking the bootloader you can flash full rom.
Click to expand...
Click to collapse
Can you elaborate?
Do we need to do something else after executing these commands to get otas
Rajul said:
Can you elaborate?
Do we need to do something else after executing these commands to get otas
Click to expand...
Click to collapse
You have to flash full rom to get ota.
Commands are here:- Taken From Telegram Group.
https://pastebin.com/ZWTaWuyr
Nirbhay2 said:
You have to flash full rom to get ota.
Commands are here:- Taken From Telegram Group.
https://pastebin.com/ZWTaWuyr
Click to expand...
Click to collapse
Now that my bootloader is locked,cqn these commands be executed?
Rajul said:
Now that my bootloader is locked,cqn these commands be executed?
Click to expand...
Click to collapse
Yes
I ran in the rom Brazil latam Mexico did not work, and also tested other roms and to no avail, always asks for the signed system image.
reuber said:
I ran in the rom Brazil latam Mexico did not work, and also tested other roms and to no avail, always asks for the signed system image.
Click to expand...
Click to collapse
You have done something wrong. This method is working 100%. Explain the error. Which build you are trying to flash...?
I am using the stock XT1681-XT1683_POTTER_BRASIL_latam_MEXICO (NPNS25.137-15) and following all the commands and in the end returns the message (still requires signed boot.img) will it be due to my device being Brazilian?
I get same error on my EU Version.
everything works perfectly in indian variant
1.download the brazillian variant of stock rom
2.follow these steps
3.flash whole stock rom using commands posted.
4.you will get ota as soon as you start device
Schrotty35 said:
I get same error on my EU Version.
Click to expand...
Click to collapse
In fact this is not a bug, but a bootloader requirement to flash a signed system image, I think!
---------- Post added at 08:27 PM ---------- Previous post was at 07:40 PM ----------
Rajul said:
everything works perfectly in indian variant
1.download the brazillian variant of stock rom
2.follow these steps
3.flash whole stock rom using commands posted.
4.you will get ota as soon as you start device
Click to expand...
Click to collapse
Should only work then in the Indian variant
reuber said:
In fact this is not a bug, but a bootloader requirement to flash a signed system image, I think!
---------- Post added at 08:27 PM ---------- Previous post was at 07:40 PM ----------
Should only work then in the Indian variant
Click to expand...
Click to collapse
The full rom is already signed.
Hello,
i am currently running Dedrak Essential 1.3.0 which is a kind of 7.0 Stock ROM. But i want to get the orginal Moto-Stock. How to get that? I know there ist a Service Image of 6.0 and i had to do some fastboot/mfastboot actions. But i am not really sure if would this work or brick my device.
Can anyone give me an advice?
thanks
Peter
Just use RSD lite and flash original FW for youe device.
Here you can get 7.1.1 fully stock ROM (retin or retus - I don`t sure)
I flash it to my XT1635-03 and it works just perfect.
P.S. If you have issues with RSD flashing - just use fastboot with the next commands:
Code:
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 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 modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase customize
fastboot erase clogo
fastboot reboot
acutally i need reteu. Well i will look for it.
Thanks so far
Keep in mind if you already upgraded your bootloader from the official July Patch and patch you'll hard brick your Moto Z play if you upgrade and downgrade. I'd advise you to flash the ROM and not the actual firmware.
i dont have that july patch. Dedrak was still on January.... so its 7.0 and it this was also the las official update i got changed to dedrak.
So it should work.
Dchoi229 said:
Keep in mind if you already upgraded your bootloader from the official July Patch and patch you'll hard brick your Moto Z play if you upgrade and downgrade. I'd advise you to flash the ROM and not the actual firmware.
Click to expand...
Click to collapse
Please explain a little bit more how is it possible. As far as I understand it should be as following
When I get phone from store it will look like:
Code:
F1: STOCK FIRMWARE V.1
F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
When I get OTA update it will look something like:
Code:
F1: STOCK FIRMWARE V.1
O2: OTA UPDATE V.2
F1O2F1O2O2O2O2F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1O2O2O2O2F1F1O2O2O2O2F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
Then I downgrade via fastboot and it should look like:
Code:
F1: STOCK FIRMWARE V.1
F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
Why hardbrick?
Zixione said:
Please explain a little bit more how is it possible. As far as I understand it should be as following
When I get phone from store it will look like:
Code:
F1: STOCK FIRMWARE V.1
F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
When I get OTA update it will look something like:
Code:
F1: STOCK FIRMWARE V.1
O2: OTA UPDATE V.2
F1O2F1O2O2O2O2F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1O2O2O2O2F1F1O2O2O2O2F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
Then I downgrade via fastboot and it should look like:
Code:
F1: STOCK FIRMWARE V.1
F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
Why hardbrick?
Click to expand...
Click to collapse
I honestly can't give you a solid answer. If you look at other threads you can find out why. It definitely has something to do with the bootloader.
Dchoi229 said:
I honestly can't give you a solid answer. If you look at other threads you can find out why. It definitely has something to do with the bootloader.
Click to expand...
Click to collapse
Every other thread (that I found) just states as axiom - "downgrading will hardbrick" without clarification - why. But wouldn't
Code:
fastboot flash bootloader bootloader.img
solve all that "bootloader related stuff"?
Zixione said:
Every other thread (that I found) just states as axiom - "downgrading will hardbrick" without clarification - why. But wouldn't
Code:
fastboot flash bootloader bootloader.img
solve all that "bootloader related stuff"?
Click to expand...
Click to collapse
https://forum.xda-developers.com/moto-z-play/how-to/guide-unbrick-moto-z-play-t3618492
Dchoi229 said:
https://forum.xda-developers.com/moto-z-play/how-to/guide-unbrick-moto-z-play-t3618492
Click to expand...
Click to collapse
Already seen this. The only useful bits of info about downgrading\bricking cause is, again, just statement, that "some updates/flash packages do not allow downgrading", but again without much clarification how exactly some data, sent to flash memory, will block itself from being written:
The thing with failing updates/flash packages is that they usually fail because they do not allow downgrading - even if they allow downgrading of some sort (e.g. OS), they may limit downgrading the second stage bootloader, the signed GPT (partitioning table) etc.
Click to expand...
Click to collapse
Many thanx, anyway !:good: I just need deeper explanation, will search onward myself.
Zixione said:
Already seen this. The only useful bits of info about downgrading\bricking cause is, again, just statement, that "some updates/flash packages do not allow downgrading", but again without much clarification how exactly some data, sent to flash memory, will block itself from being written:
Many thanx, anyway !:good: I just need deeper explanation, will search onward myself.
Click to expand...
Click to collapse
yea.. sorry I'm not much of a developer. You can definitely look inside that thread and see that there are deeper explanations. I believe after a certain update (april security patch i believe) the bootloader is upgraded and when downgrading to a official firmware (MM 6.0.1) the updated bootloader will not work correctly and hard brick the Moto z play. I dont play with the bootloader anymore after hearing of this. Your best option is just to flash stock roms. Best of luck to you my friend. :good:
I am in a similar position wanted to go back to stock deodexed N but I can't because it is rooted with super su and I want to root with magisk which is not possible. Or I think as much anyway.
Zixione said:
Please explain a little bit more how is it possible. As far as I understand it should be as following
When I get phone from store it will look like:
<snip>
Why hardbrick?
Click to expand...
Click to collapse
As I understand it, the hardbrick comes not when you downgrade, but when you use OTA updates to upgrade your device. The likely reason for this appears to be that the OTA only verifies your system version and whether the system, OEM and other partitions are of the same patch level. It does not necessarily check whether your bootloader and GPT are matching your system before patching. Also, downgrading may not downgrade your bootloader (and sometimes doesn't, where it's blocked by a 'security downgrade' warning), leaving you with a mismatched system. Looking through the OTA scripts for the Moto G4 updates, for example, the checks are mainly: is this the correct build to flash over, and are the system partitions unmodified? If yes to both, then it proceeds to flash and then copies over the bootloader files for that OTA. I've not seen an OTA check to verify your bootloader is of the correct patch level (if someone knows better, feel free to correct me).
To use your illustration:
Code:
F1: STOCK FIRMWARE [B]V.2[/B]
O2: OTA UPDATE V.3
F1O3F1O3O3O3O3F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1O3O3O3O3F1F1O3O3O3O3F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
This is after the OTA update to V3, taken after the OTA to V2. We assume that boot is the bootloader (the secondary bootloader, including the TrustZone and other bootloader partitions), and system includes the kernel and other system components.
If you downgrade to V1 from V3:
Code:
F1: STOCK FIRMWARE V.1
F1O3F1O3O3O3O3F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
You'll notice your bootloader has not downgraded (which can occur in fastboot), since the bootloader blocks you from downgrading your bootloader, especially in the newer stock firmwares. You'll also notice that your system is V1 though. Thus, though your system is V1, your bootloader is V3.
If you take an OTA update to V2, therefore, the OTA appears to look at your system, think your device is all V1 (including your bootloader), and proceed to patch to V2. Of course, as your bootloader is V3, then there is a high likelihood of the V2 OTA corrupting your V3 bootloader, leading to a hard brick.
We've seen this with the Moto Z Play (from the 7.1.1 to 7.0), Moto G4/Plus (downgrading from the June 2017 patch), and other Moto devices. Though this behaviour isn't restricted to Moto devices, it seems to more prevalent after the April/May/June 2017 stock patch updates (possibly to stop you reopening the Motorola bootloader vulnerability?). Thus, as others have suggested, do not downgrade if you can, or be careful and do not flash OTA updates. Try to flash the same stock ROM as what was on your device previously.
Hope that explains things a little more clearly.
Whenever I try use any command on fastboot, i get this message
Code:
(bootloader) slot-count : not found
(bootloader) slot-suffixes : not found
(bootloader) slot-suffixes : not found
RoboticBuddy said:
Whenever I try use any command on fastboot, i get this message
Code:
(bootloader) slot-count : not found
(bootloader) slot-suffixes : not found
(bootloader) slot-suffixes : not found
Click to expand...
Click to collapse
I think those messages are normal, as the Moto Z Play doesn't appear to have the A/B partition system found on the Pixel. Thus, those messages are more informational as there's no separate slot to flash to.
echo92 said:
I think those messages are normal, as the Moto Z Play doesn't appear to have the A/B partition system found on the Pixel. Thus, those messages are more informational as there's no separate slot to flash to.
Click to expand...
Click to collapse
Now I'm getting that I cannot write to /data.
echo92 said:
As I understand it, the hardbrick comes not when you downgrade, but when you use OTA updates to upgrade your device.
[snip]
Hope that explains things a little more clearly.
Click to expand...
Click to collapse
Your explanation adds up missing bits and makes everything much more clear to me. Thank you very much!
im not much of a programmer or anything but I can tell you this. my MZP was down for a month due to this. I was on 7.0 custom rom I think either on the april or January patch, wanted the ota for 7.1, sooooooo I figured I would just downgrade to 6 and accept the ota....... Well that was not wise. If I recall upgrading changed the bootloader which is not able to be downgraded so there was a mismatch and the phone could not boot itself to anything. I would advise double and triple checking the threads. before you hard brick. Luckily for that particular problem there is now a method to recover it. just wanted to give you as much info as possible
Zixione said:
Please explain a little bit more how is it possible. As far as I understand it should be as following
When I get phone from store it will look like:
Code:
F1: STOCK FIRMWARE V.1
F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
When I get OTA update it will look something like:
Code:
F1: STOCK FIRMWARE V.1
O2: OTA UPDATE V.2
F1O2F1O2O2O2O2F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1O2O2O2O2F1F1O2O2O2O2F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
Then I downgrade via fastboot and it should look like:
Code:
F1: STOCK FIRMWARE V.1
F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
┗━━━ BOOT ━━━┛┗━━━━ RECOVERY ━━━━┛┗━━━━━━━━━━━ SYSTEM ━━━━━━━━━━━┛
Why hardbrick?
Click to expand...
Click to collapse
Where did you get these hex values so I can check my own?
These values are just part of schematic illustration (as a version numbers are) and doesn't meant to have any meaningful sense.
Hi Guys,
since few days I try to install a custom rom on my eu xt1635-02.
I opended the bootloader offical way and installed the latest twrp. 3.2.0.1,all went fine,but factory reset deletes not all data and when I try to install a custom rom ( tried several) I always got an error 7 from twrp? So not possible to install something.
I come from latest offical Nougat 7.1.1 rom with february patch.
There are so many theads I was reading,but I think I need help. Also I can't find a definetly method how to root without risk of brik.
Sorry für my bad english, my german is better.
Nobody got the same problem? Maybe phone is damaged?
messiahxavier said:
Hi Guys,
since few days I try to install a custom rom on my eu xt1635-02.
I opended the bootloader offical way and installed the latest twrp. 3.2.0.1,all went fine,but factory reset deletes not all data and when I try to install a custom rom ( tried several) I always got an error 7 from twrp? So not possible to install something.
I come from latest offical Nougat 7.1.1 rom with february patch.
There are so many theads I was reading,but I think I need help. Also I can't find a definetly method how to root without risk of brik.
Sorry für my bad english, my german is better.
Click to expand...
Click to collapse
messiahxavier said:
Hi Guys,
since few days I try to install a custom rom on my eu xt1635-02.
I opended the bootloader offical way and installed the latest twrp. 3.2.0.1,all went fine,but factory reset deletes not all data and when I try to install a custom rom ( tried several) I always got an error 7 from twrp? So not possible to install something.
I come from latest offical Nougat 7.1.1 rom with february patch.
There are so many theads I was reading,but I think I need help. Also I can't find a definetly method how to root without risk of brik.
Sorry für my bad english, my german is better.
Click to expand...
Click to collapse
1. It's always hard to help without logs. Error codes are too unspecific
2. Check the mount settings, under the partition list there is an option for mounting /system as read only. It has to be disabled for installing custom ROMs.
Found something intresting,when I flash twrp without any problem and boot to system...then again tomorrow recovery via hardbuttons over bootloader there comes stock recovery????what ist that? Not able to go to twrp,only after new flash in fastboot.
Then you didn't flash it but just boot it
Hi bro.
I did face same problem here.
Follow the below steps:
Take download a nougat firmware, currently the "NPNS26.118-22-1"
Enter fastboot mode and type these comands:
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 oem oem.img
You can do on any rom. For example: You are on AEx nougat, enter fastboot mode and type the comands above.
I hope that helped you.
tiago1966 said:
Hi bro.
I did face same problem here.
Follow the below steps:
Take download a nougat firmware, currently the "NPNS26.118-22-1"
Enter fastboot mode and type these comands:
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 oem oem.img
You can do on any rom. For example: You are on AEx nougat, enter fastboot mode and type the comands above.
I hope that helped you.
Click to expand...
Click to collapse
Current firmware is 118-22-2-17! Older builds could lead to downgrade issues!
T-mobile unlocked my 7T, but is it as simple as using the tool to flash international firmware on it? Do I need to do anything else? Can it than be treated like international and rooted?
trix4rix said:
T-mobile unlocked my 7T, but is it as simple as using the tool to flash international firmware on it? Do I need to do anything else? Can it than be treated like international and rooted?
Click to expand...
Click to collapse
This has been asked at least 3 times a week. Please do a quick search before posting.
Sent from my [device_name] using XDA-Developers Legacy app
OuncE718 said:
This has been asked at least 3 times a week. Please do a quick search before posting.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Where? Don't see this question at all.
trix4rix said:
Where? Don't see this question at all.
Click to expand...
Click to collapse
Check this link. There was other post about the same question and I guess the mod removed them because it's asked so often.
https://forum.xda-developers.com/showthread.php?t=3994931
Sent from my [device_name] using XDA-Developers Legacy app
OuncE718 said:
Check this link. There was other post about the same question and I guess the mod removed them because it's asked so often.
https://forum.xda-developers.com/showthread.php?t=3994931
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
No, I really don't think you're right here, the only question asked was "can I unlock my 7t from T-mobile"
My question is "it's unlocked, can I use the tools for the non-T-mobile version."
While both questions mention "unlocking" and "T-mobile" they are different questions.
trix4rix said:
T-mobile unlocked my 7T, but is it as simple as using the tool to flash international firmware on it? Do I need to do anything else? Can it than be treated like international and rooted?
Click to expand...
Click to collapse
You need to unlock your bootloader with OnePlus. Takes 1 week after submitting.
That's still not answering the question. Ok, apparently takes 1 week to unlock the boot loader. Is it as simple as using the tool to flash international firmware? Does he need to do anything else?
Wow horrible reading comprehension around here.
pbassjunk said:
That's still not answering the question. Ok, apparently takes 1 week to unlock the boot loader. Is it as simple as using the tool to flash international firmware? Does he need to do anything else?
Wow horrible reading comprehension around here.
Click to expand...
Click to collapse
After unlocking sim and bootloader, you're going to download the latest global ota from OnePlus site or here on xda (I don't think latest is up on op site yet). Then unzip ota. Then dump the payload.bin file. It'll give you boot.img, vendor.img, system.img, etc.
Now flash every file by fastboot flash file.img on both slots
Example:
Fastboot flash dtbo_a dtbo.img
Fastboot flash dtbo_b dtbo.img
Do this with every file in bootloader mode except for system, vendor, product, and tz.img.
Now fastboot reboot fastboot
You'll be in a fastbootd mode now with language selection. Do not select anything.
Now enter fastboot commands for the remaining files in slots a and b
Example:
Fastboot flash system_a system.img
Fastboot flash system_b system.img
Fastboot flash product_a product.img
Etc.. with system, product, and vendor imgs. Do not flash tz.img at all.
Now fastboot -w to wipe data
Fastboot reboot. Done.
Well not actually.. after you boot, go to settings>system>system update. Do a local update (top right drop-down) and update with the latest ota zip you already have. Now update with that and you'll reboot and be good.
If you don't flash the ota zip through system update, you won't have data..
dpryor88 said:
After unlocking sim and bootloader, you're going to download the latest global ota from OnePlus site or here on xda (I don't think latest is up on op site yet). Then unzip ota. Then dump the payload.bin file. It'll give you boot.img, vendor.img, system.img, etc.
Now flash every file by fastboot flash file.img on both slots
Example:
Fastboot flash dtbo_a dtbo.img
Fastboot flash dtbo_b dtbo.img
Do this with every file in bootloader mode except for system, vendor, product, and tz.img.
Now fastboot reboot fastboot
You'll be in a fastbootd mode now with language selection. Do not select anything.
Now enter fastboot commands for the remaining files in slots a and b
Example:
Fastboot flash system_a system.img
Fastboot flash system_b system.img
Fastboot flash product_a product.img
Etc.. with system, product, and vendor imgs. Do not flash tz.img at all.
Now fastboot -w to wipe data
Fastboot reboot. Done.
Well not actually.. after you boot, go to settings>system>system update. Do a local update (top right drop-down) and update with the latest ota zip you already have. Now update with that and you'll reboot and be good.
If you don't flash the ota zip through system update, you won't have data..
Click to expand...
Click to collapse
need help dumping the payload.bin from the international 10.0.6. I finally got my unlock_code.bin. is there a link to the international global 10.0.6 with the payload.bin extracted?
KMHartford said:
need help dumping the payload.bin from the international 10.0.6. I finally got my unlock_code.bin. is there a link to the international global 10.0.6 with the payload.bin extracted?
Click to expand...
Click to collapse
Search Google for payload extractors. There's a bunch of free ones for PC/Mac you can find. I use a Mac so I have a python script I found that I use in terminal to extract all the images from the bin file.
KMHartford said:
need help dumping the payload.bin from the international 10.0.6. I finally got my unlock_code.bin. is there a link to the international global 10.0.6 with the payload.bin extracted?
Click to expand...
Click to collapse
after unlocked with unlock_code.bin from oneplus
Converted. Installed oneplus usb drivers. downloaded Indian 10.0.6 rom, extract. Run the the flash-all.bat with the phone in fastboot. Let the flash-all completely finish. After reboot download global 10.0.6 rom. Copy to the root. Go to system update, local update install global 10.0.6 rom. After its finished conversion complete 10.0.6 international rom on T-Mobile HD1907.