Hi there:
So, I've decided to unroot and relock my Xoom 4G, in anticipation of the official JB release. When I lock the bootloader (fastboot oem lock), the device locks, reboots, then comes up with the "Failed image SOS 0x0002" error. If I then unlock the bootloader, it boots into Honeycomb just fine.
Now, I'm assuming that I need my bootloader locked to do the upgrade, because there is a small update I'm notified on (HLK75F), and when I try to install it, the devices reboots, and I get the yellow bang and can go no further until a hard reset.
So, I can't boot with locked bootloader; can't do updates with an unlocked bootloader.
Can anyone advise?
Thanks!
shmengie said:
Hi there:
So, I've decided to unroot and relock my Xoom 4G, in anticipation of the official JB release. When I lock the bootloader (fastboot oem lock), the device locks, reboots, then comes up with the "Failed image SOS 0x0002" error. If I then unlock the bootloader, it boots into Honeycomb just fine.
Now, I'm assuming that I need my bootloader locked to do the upgrade, because there is a small update I'm notified on (HLK75F), and when I try to install it, the devices reboots, and I get the yellow bang and can go no further until a hard reset.
So, I can't boot with locked bootloader; can't do updates with an unlocked bootloader.
Can anyone advise?
Thanks!
Click to expand...
Click to collapse
You can do updates with an unlocked bootloader as long as it is stock. The lock doesn't have anything to do with that.
However: The fact that it can't boot when locked suggests that your not back to 100% stock. Re-download images for your Xoom from http://developer.motorola.com/products/software/ and re-flash them.
airesch said:
The fact that it can't boot when locked suggests that your not back to 100% stock.
Click to expand...
Click to collapse
Incorrect. If you've been running with your bootloader unlocked, then decide to lock it, 99% of the time it won't boot, even if you're running 100% stock. For example, if you're on stock 4.0.4 with an unlocked bootloader, then decide to re-lock it, it won't boot. If your bootloader is unlocked, the only way your Xoom will boot after locking it is to install one of the firmware packages listed for your device at http://developer.motorola.com/xoomsoftware, as you correctly pointed out. Once you flash those images with fastboot, you can then lock your bootloader and it will boot. Once it boots, just keep applying the system updates as it prompts you and eventually you'll end up on the latest version available for your device.
oldblue910 said:
Incorrect. If you've been running with your bootloader unlocked, then decide to lock it, 99% of the time it won't boot, even if you're running 100% stock. For example, if you're on stock 4.0.4 with an unlocked bootloader, then decide to re-lock it, it won't boot. If your bootloader is unlocked, the only way your Xoom will boot after locking it is to install one of the firmware packages listed for your device at http://developer.motorola.com/xoomsoftware, as you correctly pointed out. Once you flash those images with fastboot, you can then lock your bootloader and it will boot. Once it boots, just keep applying the system updates as it prompts you and eventually you'll end up on the latest version available for your device.
Click to expand...
Click to collapse
The cause of that 99% is because rooting the Xoom also changes the boot image (to set certain parameters,) and unless you have the clean boot image (of the right version that your updates are at,) it's not 100% stock. Even then, sometimes the rooting process (or if you have also installed busybox and not uninstalled it,) can update timestamps on folders in the system image which will foul up the checksums. I have restored a nandroid of my stock installs, re-flashed the boot and recovery to the right versions, and had it relock successfully several times. The trick is to have those images so all the checksums line up.
Lesson here: If it won't boot when locked, then it wasn't exatcly 100%.
Thanks, guys. I will try redownloading the img files and go through the fastboot commands again.
airesch said:
Lesson here: If it won't boot when locked, then it wasn't exatcly 100%.
Click to expand...
Click to collapse
False. Run unrooted pure stock 4.0.4 on an unlocked bootloader. After that, lock your bootloader and watch what happens.
Also, rooting only modifies your boot image if you use one of those pointless universal root methods. If you simply unlock, flash a mod recovery, and flash the Superuser ZIP from androidsu.com, it leaves the boot image untouched. An insecure boot image is only needed if you want root access in ADB, which 99% of rooted users couldn't care less about.
Sent from my Nexus S using Tapatalk 2
Related
Whilst upgrading to Oxygen OS, I ran into an issue (wiped all partitions however ADB Sideload did not work so I got stuck with no OS). In an attempt to completely wipe the phone, I tried to lock and relock the bootloader, forgetting that the phone required to be booted up in order to unlock the bootloader. So now, I am stuck with no OS and with a locked bootloader (so I am unable to flash the factory image). I am also unable to unlock the bootloader as I cannot boot the phone. I still have access to TWRP, however upon pushing a rom onto the memory, it failed to flash. I am assuming this is due to the locked bootloader, however I am not sure.
If anyone has any ideas on how I can fix the phone, I would greatly appreciate it.
Thanks!
This is what you need:
http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912
You flash that from TWRP and it'll unlock your bootloader again.
Transmitted via Bacon
Hey guys, i have a problem, my Bootloader is locked and i can't access my recovery, and there is no rom installed, what should i do now? i can't access Developer options to Allow OEM unlock because there is no OS.
am i screwed? or there is something i can do?
Iago Duarte said:
Hey guys, i have a problem, my Bootloader is locked and i can't access my recovery, and there is no rom installed, what should i do now? i can't access Developer options to Allow OEM unlock because there is no OS.
am i screwed? or there is something i can do?
Click to expand...
Click to collapse
Did you ever enable developer options and allow USB debugging? If so, and you can connect to ADB on a PC, you can flash stock firmware back onto the phone.
or try this:
As I didn't have USB debugging enabled I couldn't connect to the phone via ADB, but if you put it into recovery mode you can use Fastboot. Hold down the power key to turn the device off and turn it on while holding down Vol Down to load up recovery mode.
Click to expand...
Click to collapse
However, with locked bootloader there is no room for error in flashing firmware via ADB or you will brick the phone. You have to flash the correct firmware exactly for your phone, with the same level of bootloader you already have or newer. You can't flash Mexico over Brazil or Lollipop over Marshmallow. Has to be exactly what was made for your phone, either what you already had or newer (if it exists).
What OS was installed before?
But WHY is there no ROM installed? What did you do?
The OS installed before was the most recent Stock MM Brazil, i installed the stock rom, it worked, then i wanted to go back to stock recovery, it it worked too, then i wanted to locked my bootloader, i locked, after that i couldn't enter recovery, neither boot to OS.
Iago Duarte said:
The OS installed before was the most recent Stock MM Brazil, i installed the stock rom, it worked, then i wanted to go back to stock recovery, it it worked too, then i wanted to locked my bootloader, i locked, after that i couldn't enter recovery, neither boot to OS.
Click to expand...
Click to collapse
You wanted to re-lock your bootloader? Unlocked bootloader = God mode.
Did you ever have TWRP? You said you wanted to go back to "stock recovery" (not sure why, it's mostly useless compared to TWRP custom recovery.)
I'm not sure why re-locking the bootloader would wipe the OS...
But you can boot to the bootloader screen using the volume and power button and re-flash the stock firmware, using ADB. Here's the link to the newest Brazil Marshmallow for XT1225:
http://ftpeil.eil.com.br/vip/motoro...S24.107-70.2-7_cid12_subsidy-DEFAULT_CFC.xml/
This guy below got out of a jam because he had an unlocked bootloader, which is very forgiving. Locked bootloader is harder.
https://forum.xda-developers.com/moto-maxx/help/maxx-xt1225-br-hard-brick-help-please-t3661803
Yeah, i don't know what happened either, why the **** did my OS got Wiped?
Can i flash the stock rom with the bootloader locked via ADB? how?
Iago Duarte said:
Yeah, i don't know what happened either, why the **** did my OS got Wiped?
Can i flash the stock rom with the bootloader locked via ADB? how?
Click to expand...
Click to collapse
You have to boot to the bootloader screen manually, using the volume + power button trick.
Once on the bootloader screen, when you plug you phone into a PC with ADB installed, it should recognize it.
Then, flash the full stock firmware, from the link above. It's Brazil Marshmallow firmware with December 2016 Security Update. I don't know of any newer right now. You have Brazil XT1225, so that Brazil firmware is compatible with your phone.
But with locked bootloader you have to flash exact same version or newer made for your phone, and you have to enter the commands correctly or you may brick your phone. (When I flashed from Puerto Rico Kitkat to India Lollipop, I messed up. But since my bootloader was unlocked, I just reflashed again, when I realized my mistake.)
If you are not sure of the steps, google Motorola firmware ADB. Here's a couple of excellent tutorials:
How to Manually Official Firmware on any Motorola Device
https://forum.xda-developers.com/dr...force-how-to-manually-flash-official-t3282077
I use this one above. IGNORE where it says you need an unlocked bootloader, because he's talking about cross-region flashing which you are NOT doing. You are flashing your own region firmware.
This one below is by rootjunky and he while he also discusses RSDLite, later in the article he says ADB/fastboot are best as RSDLite can stall.
Motorola Firmware Restore Plus Unbrick
http://www.rootjunky.com/motorola-firmware-restore/
If you get your phone running again, I suggest you unlock the bootloader. There are ways to hide an unlocked bootloader (like Magisk), if that's why you locked it back... But an unlocked bootloader + root makes it YOUR phone and much easier to recover from disasters.
Thanks a lot Chazz, it worked, thanks for the help, really appreciate it, thanks for all the useful tips too.
Can we re-lock the boot loader on Pixel devices if the device is rooted and modded with custom boot and recovery partitions? I heard that it will brick the device when you try to re-lock the boot loader.
Also what if recovery partition ever gets corrupted and a user never had enabled OEM unlocking for the boot loader in the developer option as set as default, and the boot loader is locked as is, user can'f flash the factory images and /or full OTA from ADB.
I'm no expert but from what I've read 'Never relock the bootloader unless you are 10000% sure it's full stuck' and if I remember correctly there is no recovery partition on A/B slot builds which is why a brick is a non recoverable scenario (check that out just in case I'm wrong)
I've unlocked my bootloader and it ain't getting relocked after reading through heaps of bricked pixel threads, best to be safe than bricked.
Yep @junglism93 is right, only re-lock bootloader if you are 100% stock and unrooted to avoid bricks. Also Pixel doesn't have a recovery partition, everything happens in the boot partition, that means that in case of problems if you don't want to reflash the whole factory image (which needs unlocked bootloader), you can just reflash boot.img on slot-a and slot-b (which needs unlocked bootloader anyway).
I unlocked my bootloader straight after the unboxing and I can tell it's like a life saviour, if any problem occurs you can always solve it with an unlocked bootloader.
TENN3R said:
Yep @junglism93 is right, only re-lock bootloader if you are 100% stock and unrooted to avoid bricks. Also Pixel doesn't have a recovery partition, everything happens in the boot partition, that means that in case of problems if you don't want to reflash the whole factory image (which needs unlocked bootloader), you can just reflash boot.img on slot-a and slot-b (which needs unlocked bootloader anyway).
I unlocked my bootloader straight after the unboxing and I can tell it's like a life saviour, if any problem occurs you can always solve it with an unlocked bootloader.
Click to expand...
Click to collapse
That seems like a crazy partition scheme on the device. I can't stand that dreaded unlock screen at the startup. plus you never know for sure if that OEM unlock switch in the developer menu will stay enabled all the time and not accidentally get disabled after modding your device so you're just having a very vulnerable device if it is modded...eh?
I wonder if there is a pure Android device which does not have such restrictions and/or actually comes pre-rooted?
I was experiencing some minor glitches the past couple of weeks after taking the Android 10 OTA, so I decided to a factory reset and flash the Android 10 image. I had to unlock the bootloader to do that of course.
Now I'm realizing I need to re-lock the bootloader so that it's not in this insecure state. However I'm reading that re-locking the bootloader wipes the device (which returns it to Pie?) I'm also reading it can brick the phone if custom data is written.
When exactly do I re-lock the bootloader to preserve my clean install of Android 10?
terrapin01 said:
I was experiencing some minor glitches the past couple of weeks after taking the Android 10 OTA, so I decided to a factory reset and flash the Android 10 image. I had to unlock the bootloader to do that of course.
Now I'm realizing I need to re-lock the bootloader so that it's not in this insecure state. However I'm reading that re-locking the bootloader wipes the device (which returns it to Pie?) I'm also reading it can brick the phone if custom data is written.
When exactly do I re-lock the bootloader to preserve my clean install of Android 10?
Click to expand...
Click to collapse
If you're completely stock you can lock the bootloader. Before you do i would make sure you can boot into the stock recovery as sometimes flashing an ota in the stock recovery is the only way to recover your device if the bootloader is locked. Locking will wipe your device, but it won't change the operating system you're currently on. So if you're on andriod 10 it'll still be 10 after a wipe.
This is the case, I have a problem with the Flash ROM, now the phone can go into fastboot, but there is no Recovery, and the phone's bootloader is locked.
You're going to have to give a bit more detail if you want help from this community.
For example:
What phone variant do you have?
What did you have on your phone when it was running properly? i.e stock android, locked bootloader, rooted etc.
What 'Flash ROM" do you mean a factory image or custom ROM?
What had been trying to do to your phone i.e upgrade from Android 9 to 10 by sideloading an image?
Had you previously unlocked the bootloader?
I'm not saying that I will ultimately be able to resolve your issues but the more info you give the more likely someone here will.
Now,my pixel 3 can not work,the bootload is locked.when I select recovery by fastboot,The phone noticed me can not find vaild operating system,the device will not start.
I used to unlock the bootloader, it is because I locked the bootloader that this situation has occurred.
Can you unlock the bootloader again in fastboot?
wangdaning said:
Can you unlock the bootloader again in fastboot?
Click to expand...
Click to collapse
When I lock my devices bootload,then this devices auto wipe data, so I think oem unlock is not open.And I can not unlock bootload.