[WARNING] Do NOT Downgrade Your Bootloader or Partition Table - You Risk Bricking!!!

Search This thread

defcondev

Senior Member
Jul 19, 2013
199
199
TX
The bootloader (motoboot.img) is software.

Okay, I think you're missing my point.

I don't disagree with the topic of your thread; downgrading the bootloader is pointless and dangerous.

My point is the fact that Motorola has the factory images, including the bootloader & partition table, with flashing instructions on returning to stock is misleading and confusing to some users, as shown earlier in this thread.
 
  • Like
Reactions: alvareo

JulesJam

Senior Member
Aug 9, 2014
2,468
773
My point is the fact that Motorola has the factory images, including the bootloader & partition table, with flashing instructions on returning to stock is misleading and confusing to some users, as shown earlier in this thread.
I totally agree - which is the whole reason I started this thread!!

I have a feeling there are going to be a ton of "Help I Bricked My Phone!" threads when the 5.1 OTA comes out. I am trying to prevent that. If you read the Q&A section and try to help people like I do, you would see that the vast majority of them brick either downgrading or taking an OTA after upgrading then downgrading again. Some brick simply trying to unlock, which of course should not happen but it does.

Anyone who took a 5.1 soak OTA absolutely should never downgrade and then take another OTA. Those who took the 5.1 soak, then downgraded to 4.4.4, then took the 5.0 OTA hard bricked. It is possible you could take the 5.1 OTA soak then downgrade to 5.0 then retake the official 5.1 OTA, idk, but for sure I wouldn't risk it. I would use MDM to upgrade or wait for the firmware to be released and flash it myself.
 
Last edited:
  • Like
Reactions: defcondev

adm1jtg

Senior Member
Jul 26, 2010
2,841
886
Georgia
Google Pixel 3a XL
Google Pixel 6
Amazing, this works. I have searched for a solution for months!

It seems that I have to reissue the command every time I start twrp. Is there a way to make this stick?

I cant take the credit I was/am working with dees_troy the main dev on twrp. As far as making it stick I am working with dees and crew to make a version that defaults to permissive so we wont have to do this manually. It will likely be a modded 2850 version as 2860 seems to break OTG backups which are critical to me. Also have them working on a 2860 with working otg but that is much more complicated so will take longer
 

revengineer

Senior Member
Oct 4, 2009
182
72
I cant take the credit I was/am working with dees_troy the main dev on twrp. As far as making it stick I am working with dees and crew to make a version that defaults to permissive so we wont have to do this manually. It will likely be a modded 2850 version as 2860 seems to break OTG backups which are critical to me. Also have them working on a 2860 with working otg but that is much more complicated so will take longer

Thanks for the info. Glad you are working this. Tried to contact the developer a while ago and did not have any luck getting a response.
 

defcondev

Senior Member
Jul 19, 2013
199
199
TX
I cant take the credit I was/am working with dees_troy the main dev on twrp. As far as making it stick I am working with dees and crew to make a version that defaults to permissive so we wont have to do this manually. It will likely be a modded 2850 version as 2860 seems to break OTG backups which are critical to me. Also have them working on a 2860 with working otg but that is much more complicated so will take longer

I'm using 2860 and otg backups are working fine, I don't have to execute any commands, etc.
 

adm1jtg

Senior Member
Jul 26, 2010
2,841
886
Georgia
Google Pixel 3a XL
Google Pixel 6
Amazing, this works. I have searched for a solution for months!

It seems that I have to reissue the command every time I start twrp. Is there a way to make this stick?

Re-download twrp 2850. Dees_Troy and I tested a "fixed" build just now and he is replacing the original 2850 with the new "fixed" version. Try re-downloading later today sometime. To make sure you have the new "fixed" build when in twrp go to advanced and terminal and issue the following command:
getenforce
it should return permissive if you are running the "fixed" version if you get enforcing that's the original build.
 
  • Like
Reactions: revengineer

defcondev

Senior Member
Jul 19, 2013
199
199
TX
It seems the issues are specific to people running kitkat software but with a lollipop bootloader (60.11)

And for me otg didn't work even on pure stock 5.0

Sent from my XT1095 using Tapatalk 2

I recreated my scenario;

When I received my xt1095 it shipped with 5.0, and I unlocked, flash TWRP 2860 & rooted...otg backups worked fine.

The problems occurred when I downgraded to 4.4.4 using Motorola's provided KXE package, flashing only the boot, system & baseband images.

To resolve the problem, flash the KXE stock recovery image with fastboot, reboot the bootloader and flash TWRP 2860 again.

After that you should have no problems with otg backups whether on Kitkat or Lollipop.


https://dl.twrp.me/victara/


EDIT: Of course, this is assuming you have an XT1095 Pure Edition, I can't speak for other models.
 
Last edited:

JulesJam

Senior Member
Aug 9, 2014
2,468
773
To resolve the problem, flash the KXE stock recovery image with fastboot, reboot the bootloader and flash TWRP 2860 again.

After that you should have no problems with otg backups whether on Kitkat or Lollipop.


https://dl.twrp.me/victara/
Maybe you should start a separate thread about TWRP issues since this thread is really about downgrading your bootloader/partition table. I am sure others would like to know about the fix.
 

adm1jtg

Senior Member
Jul 26, 2010
2,841
886
Georgia
Google Pixel 3a XL
Google Pixel 6
I recreated my scenario;

When I received my xt1095 it shipped with 5.0, and I unlocked, flash TWRP 2860 & rooted...otg backups worked fine.

The problems occurred when I downgraded to 4.4.4 using Motorola's provided KXE package, flashing only the boot, system & baseband images.

To resolve the problem, flash the KXE stock recovery image with fastboot, reboot the bootloader and flash TWRP 2860 again.

After that you should have no problems with otg backups whether on Kitkat or Lollipop.


https://dl.twrp.me/victara/


EDIT: Of course, this is assuming you have an XT1095 Pure Edition, I can't speak for other models.

Not sure if this solves the error 13 or not but I can confirm using your process exactly OTG is still broken on 2860 and still works in 2850 so separate issue I would guess but since I need OTG for my backups and restores I will keep using the modded 2850 for now. Can you confirm on your setup if OTG works or not from within twrp. On mine the drive light doesn't even come on, I cannot mount it it just vibrates and I cannot backup to it. All the correct options are there but it cant access the drive at all..
 

defcondev

Senior Member
Jul 19, 2013
199
199
TX
Not sure if this solves the error 13 or not but I can confirm using your process exactly OTG is still broken on 2860 and still works in 2850 so separate issue I would guess but since I need OTG for my backups and restores I will keep using the modded 2850 for now. Can you confirm on your setup if OTG works or not from within twrp. On mine the drive light doesn't even come on, I cannot mount it it just vibrates and I cannot backup to it. All the correct options are there but it cant access the drive at all..
@adm1jtg I have started a new thread for TWRP issues;

http://xdaforums.com/showthread.php?t=3115417
 

JulesJam

Senior Member
Aug 9, 2014
2,468
773
There has to be a reason some of us can downgrade and take the OTA without issues.
Maybe part of the problem is people trying it with a modified software status ?
The issue is with taking the 5.1 soak, downgrading to 4.4.4 then taking the 5.0 OTA. The OTAs are supposed to fail if your system and recovery are not stock. I am sure the issue is taking the 5.0 update with the 5.1 bootloader and partition table - the OTA updater script does not adequately protect you from a hard brick when you have a higher version BL and PT than the system/recovery version you are running.

You simply cannot downgrade the bootloader despite what some people are saying here - it doesn't happen. Neither fastboot nor mfastboot will downgrade your bootloader. If people were on 5.0 system and then went back to 4.4.4 system and they are still on the 4.4.4 bootloader, then it is because they never successfully flashed the 5.0 bootloader. If they had successfully flashed the 5.0 bootloader, their bootloader would not flash back to the 4.4.4 bootloader using either fastboot or mfastboot.

What is going on with the OTAs that I have seen is that once you upgrade to 5.1 via the soak OTA, you flash back to 4.4.4, which will flash your system/kernel/ramdisk/modems/baseband/recovery back to 4.4.4 but not your bootloader or partition table. Then when they take the 5.0 OTA, which is a patch, the OTA updater script is trying to patch the 5.1 bootloader and partition table as if they were the 4.4.4. This should never happen - it is totally a Motorola mistake. The 5.0 updater script should detect that the person is on a different version bootloader and partition table than 4.4.4 and it should fail rather than hard brick the phone. But it doesn't.

It is infuriating that these people are hard bricking due to Motorola's bad coding and they are being denied warranty service due to having rooted. Root has nothing to do with it - the OTA updater scripts should be coded to fail if the person is on the wrong bootloader and partition table.

The one thing I notice is my software status always says official.
Your qe however will show you have rooted in the past if you have ever rooted before.
 
Last edited:

defcondev

Senior Member
Jul 19, 2013
199
199
TX
You simply cannot downgrade the bootloader despite what some people are saying here - it doesn't happen. Neither fastboot nor mfastboot will downgrade your bootloader.

Unless something has changed, you can downgrade your bootloader using fastboot.

I've done it on my original Moto Atrix and LG Optimus G E970.

I have no reason to downgrade the BL on my Moto X, but saying that downgrading your bootloader with fastboot is impossible is false.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    BEFORE YOU COMMENT ON THIS THREAD - PLEASE READ THIS POST AND UNDERSTAND WHAT THE DIFFERENCE IS BETWEEN THE BOOTLOADER, PARTITION TABLE, SYSTEM AND KERNEL/RAMDISK!!!!

    This post is not about downgrading from lollipop to kit kat in general. It is SPECIFICALLY about and it is ONLY about downgrading the BOOTLOADER (motoboot.img) and the PARTITION TABLE (gpt.bin). The system (system.img) and kernel/ramdisk (boot.img) are NOT the subject of this thread. If you don't understand the difference b/t the bootloader, partition table, system and kernel/ramdisk, then please refrain from posting on this thread and simply read until you understand the difference.

    Please do not comment if you do not even know the version of the bootloader you are running b/c you have nothing substantive to contribute then. If you know the version of the bootloader you are running now and know what it was before you upgraded and after you downgraded, great, please let us all know your experience. But if you don't, AGAIN, you have nothing of value to contribute to this thread.

    The Moto X 2014 is not a Nexus device - you CANNOT safely downgrade your bootloader (motoboot.img) or partition table (gpt.bin). You risk bricking if you do, especially if you downgrade the bootloader!!!

    You need to understand what you are flashing. If you don't understand what you are flashing, read and ask questions before you flash until you do understand what you are flashing. You also need to know what version of the bootloader you currently have before you flash.

    Also, you should not attempt to have a bootloader-partition table mismatch in terms of versions. Both your bootloader and your partition table should be the same version - i.e., if your bootloader is the 5.0 bootloader, your partition table should be the 5.0 partition table.

    Edited - it looks like mfastboto and maybe even regular fastboot have checks in them to prevent a bootloader or partition table downgrade. However, the OTA updater scripts may or may not have sufficient checks in them to prevent bricking if you have previously upgraded then downgraded the system/kernel/radios and then attempted to take an OTA. For instance, people have reported bricking after flashing to 5.1 then downgrading system/kernel/radios to 4.4.4 then taking the 5.0 OTA = brick.
    3
    Amazing, this works. I have searched for a solution for months!

    It seems that I have to reissue the command every time I start twrp. Is there a way to make this stick?

    I cant take the credit I was/am working with dees_troy the main dev on twrp. As far as making it stick I am working with dees and crew to make a version that defaults to permissive so we wont have to do this manually. It will likely be a modded 2850 version as 2860 seems to break OTG backups which are critical to me. Also have them working on a 2860 with working otg but that is much more complicated so will take longer
    2
    To resolve the problem, flash the KXE stock recovery image with fastboot, reboot the bootloader and flash TWRP 2860 again.

    After that you should have no problems with otg backups whether on Kitkat or Lollipop.


    https://dl.twrp.me/victara/
    Maybe you should start a separate thread about TWRP issues since this thread is really about downgrading your bootloader/partition table. I am sure others would like to know about the fix.
    2
    I have a Pure Edition (XT1095) that shipped with 5.0;

    I downgraded to 4.4.4 using the 21.21.42 package provided by Motorola;

    I only flashed the boot & system images using mfastbootV2.

    ROM booted & ran just fine, but TWRP 2.8.6.0 lost the ability to write to the internal storage (errno=13).

    Yes, I re-flashed 2.8.6.0, as well as versions 2.8.0.0-2.8.5.0 as well as CWM, to no avail.

    I also triple-checked all permissions and symlinks.

    Custom recovery functionality did not come back until I flashed both the KXE partition table & motoboot.

    It didn't downgrade my bootloader as I'm still on 0x611.

    Take that as you will, but I would advise against recommending that people flout Motorola's official instructions for downgrading.

    twrp issue can be resolved by loading 2850 and from terminal in twrp issuing the following command
    setenforce 0
    error 13 is resolved then
    1
    I've seen alot of stuff about that in the threads. Are you saying that you can't downgrade back to 5.0 or 4.4? Cause I have successfully flashed back to stock KitKat from the 5.1 soak several times. Even flashing partition and motoboot. It just downgraded the tz.

    Sent from my XT1095