Currently rooted on 4.5.141, but pretty frightened of attempting to unlock the bootloader without reverting to an earlier firmware. Is there a proven method for unlocking the bootloader without downgrading?
Truaim said:
So I got my 2.3.6 finally rooted, but now I'm having trouble pushing Cwm onto the device. I tried erasing the current recovery using moto-fastboot erase recovery and overwriting the current recovery via moto-fasboot recovery recovery.img with fail's both times. My last attempt was install Rom Manager and trying to auto install the recovery from there. It said it successfull installed, but when I attempt to boot into recovery I just get:
Failed to boot 2
Starting RSD mode
(hanging)
Any suggestions?
Click to expand...
Click to collapse
You rooted, but did you unlock your bootloader? If you have a locked bootloader, CWM will softbrick your phone IIRC.
stewartsoda said:
You rooted, but did you unlock your bootloader? If you have a locked bootloader, CWM will softbrick your phone IIRC.
Click to expand...
Click to collapse
I used these commands to gain root, but now that I look at it I'm not seeing anything that would unlock the bootloader for partitioning:
C:/moto-fastboot-win32
moto-fastboot.exe flash preinstall preinstall.img
“/bin/mount -o remount,rw /system”
“cp /preinstall/su /system/bin/”
“chmod 6755 /system/bin/su”
“PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk”
Click to expand...
Click to collapse
What should I do to unlock the bootloader?
By the way I'm on 4.5.141 / 2.3.6
Truaim said:
I used these commands to gain root, but now that I look at it I'm not seeing anything that would unlock the bootloader for partitioning:
What should I do to unlock the bootloader?
By the way I'm on 4.5.141 / 2.3.6
Click to expand...
Click to collapse
Check this thread…some guy unlocked his boot loader on 2.3.6. He's also made guide. Hope you find it useful.
[Q] how to unlock boot loader and install roms (2.3.6)
YOU CAN FLASH THESE, UNLOCKED OR LOCKED, IF YOU NEVER FLASHED ANY OFFICIAL 2.3.5 OR NEWER OTA OR SBF.
THIS KEEPS YOUR BOOTLOADER UNLOCKABLE!
If you want to know more, read here.
I am not responsible for any damage, you are not forced to flash these.
Don´t flash anything from here, if you do not know well, what are you doing.
Most of these sbf files are based on 198_7 sbf.
Radios:
198_7 radio sbf ----- 198_7 libmoto_ril.so (or older) needed, flashable with recovery
254_12 radio sbf ----- 254_12 libmoto_ril.so (or newer) needed, flashable with recovery
Be sure to have the right libmoto_ril.so first, then sbf.
Flashing radio through RSD Lite resets the radio and can solve "Modem did not power up" issue and switched baseband in phone info.
Others:
Unlocked bootloader sbf
Locked bootloader sbf - failed to boot 1? - unlock again - you cannot lock
Unlocked bootloader with microboot and TWRP 2.2 recovery sbf - easy unlocking, with custom recovery installation
- repaired, sorry, I did a mistake with adding not dumped TWRP
Locked bootloader with microboot and signed recovery sbf - mainly for reverting previous sbf - failed to boot 1? - unlock again - you cannot lock
- do not ever format system for relocking ability, use deleting when installing roms
Full:
You will find them all here.
Unlock zip for bootstrap recovery:
http://d-h.st/aVy - just flash with bootstrap recovery and reboot (maybe power off or battery pull will be needed
Lock zip for bootstrap recovery:
http://d-h.st/LWb - this is the locked one from 198_7
There can be anything in sbf for unlocked devices.
I am not taking any credits for unlocked bootloader!
One important thing about modules.
In every rom, there are modules for wifi (dhd.ko), wimax (bcmsdio.ko) and VPN (some vpn*.ko) and some other .ko (maybe not important, but they are there).
These modules work only with the kernel they were built with (don't know why).
Example: You want to be locked and you flashed 198_7 sbf = you flashed 198_7 boot.img ("kernel"), then you flash some locked rom without kernel = you reflashed the modules, but still have 198_7 kernel = wifi and wimax is not working, so you need to get these two puzzle pieces together again.
You have two choices -
1- flash 2.3.4 sv1 moto-signed boot.img corresponding with the rom modules
2- flash modules corresponding with the kernel you have (198_7 in this case)
Very similar important thing applies to radio and libmoto_ril.so.
198_7 radio = 198_7 libmoto_ril.so
254_12 radio = 254_12 libmoto_ril.so
But here it's not so strict -
-198_7 radio = USC_19 libmoto_ril.so without problems
I am locked using MOF rom. To flash the 254_12 radio, I would-
1. flash 2.3.x_libmoto_ril.so_254_12.zip with Bootstrap Recovery
2. flash 2.3.4sv1_254_12_radio.sbf with RSD Lite
EDITED- didn't realize there were two links for radio download, one for sbf, one for zip
You don't need to search for libmoto_ril.so, there is link.
First flash the libmoto_ril.so, or you can get modem panic reboots.
Then flash the radio with rsd lite.
peetr_ said:
You don't need to search for libmoto_ril.so, there is link.
First flash the libmoto_ril.so, or you can get modem panic reboots.
Then flash the radio with rsd lite.
Click to expand...
Click to collapse
Thanks, didn't see both links, could you please slightly edit the links so they aren't directly next to each other so no one else makes my silly mistake.
Thanks again!
If I am unlocked running MOF's 2.3.5ish ROM and I flash this locked bootloader, will 4G service be restored?
It depends, which boot.img and recovery you are running.
I suppose your boot.img is from stock 198_7 sbf.
You need to flash "locked with microboot and recovery" and 4g should be working.
peetr_ said:
It depends, which boot.img and recovery you are running.
I suppose your boot.img is from stock 198_7 sbf.
You need to flash "locked with microboot and recovery" and 4g should be working.
Click to expand...
Click to collapse
Awesome, thanks! Is this also true if my boot.img is from stock 198_6 sbf?
Yes, should be fine, if wifi is working for you now.
peetr_ said:
Yes, should be fine, if wifi is working for you now.
Click to expand...
Click to collapse
Ok, thanks! :good:
If someone is rooted and running stock, can they unlock their bootloader just by flashing your "unlocked bootloader" through bootstrap and avoiding the traditional pudding derpunlock method?
Yes, it's only unlocked bootloader, which is enough for unlocking. Properly flashes without fail and automatically reboots.
If we relock after unlocking do we get 4G back or is it lost forever?
Yes, you get 4g back if you relock
creeater said:
Yes, you get 4g back if you relock
Click to expand...
Click to collapse
That's good to know. I may play around with it unlocked and relock if I sell it. Thanks for the heads up!
peetr_ said:
Yes, it's only unlocked bootloader, which is enough for unlocking. Properly flashes without fail and automatically reboots.
Click to expand...
Click to collapse
Ok, let me make sure I fully understand your latest goodness. To unlock a stock ROM, one just needs to root and bootstrap your "unlocked bootloader with microboot" then to relock just flash your "locked bootloader with microboot". Correct? When are the bootloaders without microboot needed?
Ok. Let's guess, that you are on stock, you can flash unlocked bootloader with recovery sbf, using rsd lite, you can enter the recovery right after flashing, install some rom without boot.img and lock again by flashing locked bootloader with stock recovery sbf.
peetr_ said:
Ok. Let's guess, that you are on stock, you can flash unlocked bootloader with recovery sbf, using rsd lite, you can enter the recovery right after flashing, install some rom without boot.img and lock again by flashing locked bootloader with stock recovery sbf.
Click to expand...
Click to collapse
I think I understand now. It is necessary to "flash" your bootloaders (locked or unlocked) with RSD Lite and not with Boostrap/CWM/TWRP recoveries and the recoveries are just needed for custom ROM installation, right?
These are sbf files, they are always flashed by rsd lite.
Except libmoto_ril.so, it's zip.
peetr_ said:
These are sbf files, they are always flashed by rsd lite.
Except libmoto_ril.so, it's zip.
Click to expand...
Click to collapse
Yes, I see now. Because these sbfs are zipped, that's what was throwing me off. :laugh:
I thought you figured out a way to make them recovery flashable.
Yes, I did, but that's another story. You can lock your phone with recovery. But there is always problem with wimax and wifi modules for the right kernel. Let's say, there are at least 4 of them now - 198_6, 198_7, 254_12, 254_13 boot.imgs.
Not sbfs flashable with recovery, but bootloader, to be clear.
peetr_ said:
Ok. Let's guess, that you are on stock, you can flash unlocked bootloader with recovery sbf, using rsd lite, you can enter the recovery right after flashing, install some rom without boot.img and lock again by flashing locked bootloader with stock recovery sbf.
Click to expand...
Click to collapse
When flashing your "Unlocked bootloader with microboot and TWRP 2.2 recovery sbf", is it no longer necessary to enter fast boot mode and unlocking with the UNIQUE ID? Flashing your sbf does it all for you?
I was flashing latest ota update with TWRP, now last thing i have to do is to flash firmware.zip
wich contains
boot.img
hboot_1.40.0000_signedbyaa.img
rcdata.img
recovery.img
Will i lose any data???
Im trying to get updated 1.17.401.3 with custom recovery, stock rom and root.
Can anyone confirm>??
thanks
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
badtlc said:
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
Click to expand...
Click to collapse
Thanks for your post!
Edit: i mean i have custom recovery TWRP no stock.
But what you said, i will lose data, pictures etc??
and what about my way, will i lose data too?
I flashed the firmware.zip and lost my whole sdcard so i'd back up before doing anything!
edit: you'll need to relock the bootloader to flash it too, which might be what actually wiped everything.
I am on a (completely stock) AT&T HTC One (4.4.2) and I was thinking about trying out some custom ROMs. Can I just use the HTC dev tool to unlock the boot loader? How would I root after that?
I am still new to it so that's about as far as I've gotten in the process. Especially since most of the tutorials I've seen are older and do not exactly mention 4.4.2.
P.S. ~ Kingo root seems to have a very simple HTC boot loader unlock tool as well as an easy method to root. I used the root method on my GS4 a while back and it went pretty well. Are there any downsides to using these?
Kwwolves2012 said:
I am on a (completely stock) AT&T HTC One (4.4.2) and I was thinking about trying out some custom ROMs. Can I just use the HTC dev tool to unlock the boot loader? How would I root after that?
I am still new to it so that's about as far as I've gotten in the process. Especially since most of the tutorials I've seen are older and do not exactly mention 4.4.2.
P.S. ~ Kingo root seems to have a very simple HTC boot loader unlock tool as well as an easy method to root. I used the root method on my GS4 a while back and it went pretty well. Are there any downsides to using these?
Click to expand...
Click to collapse
Getting started with rooting and putting Roms on your phone is no time to get Lazy !
The steps are very simple but learning it the correct way comes in handy down the road.
unlock the bootloader at htcdev.com
use the drivers and adb/fastboot I'm posting below
after you bootloader is unlocked
you use fastboot to flash custom recovery on the phone
TWRP 2.6.3.3 is recommend - Download TWRP
The commands to flash it are
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery and on Exit it ask to Root the phone
choose Yes - swipe to root
when the phone boots up go in the app drawer and open SuperSU
it will ask to update choose yes and TWRP method of install
Your phone is now unlocked / rooted / with custom recovery
Now is the time to make a backup in TWRP and copy it to your PC for safe keeping. Your now all set to flash custom roms
links
SuperSU
HTC Drivers
clsA said:
Getting started with rooting and putting Roms on your phone is no time to get Lazy !
The steps are very simple but learning it the correct way comes in handy down the road.
unlock the bootloader at htcdev.com
use the drivers and adb/fastboot I'm posting below
after you bootloader is unlocked
you use fastboot to flash custom recovery on the phone
TWRP 2.6.3.3 is recommend - Download TWRP
The commands to flash it are
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
Now enter recovery and on Exit it ask to Root the phone
choose Yes - swipe to root
when the phone boots up go in the app drawer and open SuperSU
it will ask to update choose yes and TWRP method of install
Your phone is now unlocked / rooted / with custom recovery
Now is the time to make a backup in TWRP and copy it to your PC for safe keeping. Your now all set to flash custom roms
links
SuperSU
HTC Drivers
Click to expand...
Click to collapse
Alright, thank you very much. I will look into this.
Hello, welcome all forum users. I tried to unlock bootloader in my atrix 4g International. I used guide on cyanogenmod website. When i flashed first sbf file something were wrong and i have failed to boot 1 command on phone. Follow other guide i flashed radio.img to phone and reboot. First time phone run in rsd mode but after restart android recovery corrupted. Next I should flash android recovery to bring back rsd mode but i have still locked bootloader so i can't flash cwm or twrp recovery. Trouble is that I can't find anyone stock recovery and i stucked in place. Can anyone help me?
malakai079324 said:
Hello, welcome all forum users. I tried to unlock bootloader in my atrix 4g International. I used guide on cyanogenmod website. When i flashed first sbf file something were wrong and i have failed to boot 1 command on phone. Follow other guide i flashed radio.img to phone and reboot. First time phone run in rsd mode but after restart android recovery corrupted. Next I should flash android recovery to bring back rsd mode but i have still locked bootloader so i can't flash cwm or twrp recovery. Trouble is that I can't find anyone stock recovery and i stucked in place. Can anyone help me?
Click to expand...
Click to collapse
So based off of what you have said:
-Your bootloader is still locked (you haven't said 100% for sure that you are unlocked)
-You may or may not be rooted as well (again, you haven't said if you are or are not)
-You want to run stock recovery, which is the recovery that Moto ships with the device, which is entirely useless for custom ROM flashing
This is the guide you need to root and unlock http://forum.xda-developers.com/showthread.php?t=1302423
palmbeach05 said:
So based off of what you have said:
-Your bootloader is still locked (you haven't said 100% for sure that you are unlocked)
-You may or may not be rooted as well (again, you haven't said if you are or are not)
-You want to run stock recovery, which is the recovery that Moto ships with the device, which is entirely useless for custom ROM flashing
This is the guide you need to root and unlock http://forum.xda-developers.com/showthread.php?t=1302423
Click to expand...
Click to collapse
1. Yes, bootloader is still locked.
2. Yes, I haven't root acces.
3. Yes, i wanted to flash recovery to bring back stock rom.
I haven't mentioned when I power on my phone i have acces only for fastboot mode, nothing else. Something were wrong when I try to flash by rsd mode file intl-fix-try1.sbf so i can't unloock bootloader way is on your's guide.
malakai079324 said:
1. Yes, bootloader is still locked.
2. Yes, I haven't root acces.
3. Yes, i wanted to flash recovery to bring back stock rom.
I haven't mentioned when I power on my phone i have acces only for fastboot mode, nothing else. Something were wrong when I try to flash by rsd mode file intl-fix-try1.sbf so i can't unloock bootloader way is on your's guide.
Click to expand...
Click to collapse
Keep going with the guide. Go to the fastboot oem unlock step and go from there
Sent from my RAZR-ATRIX HD using XDA Free mobile app
palmbeach05 said:
Keep going with the guide. Go to the fastboot oem unlock step and go from there
Sent from my RAZR-ATRIX HD using XDA Free mobile app
Click to expand...
Click to collapse
Hey, it's works, now i just flashed cwm. and everything looks fine. Thank you for your help.