what happen if we mistake while modifying "aboot.img" - General Questions and Answers

Hello
I am trying to unlock the bootloader of my phone(lyf lame 1 ls4503) and its bootloader has been permanently locked and cant be unlocked by any method
After some research, i got to know that if we can modify the aboot file to our need then we can unlock the bootloader and be able to remove frp
but i also heard that if we mess with aboot file it may have changed to permanent brick and cant be fix even though if we flash the ROM using download mode
is it right? that the download mode won't work if we mess with aboot
if no, just help me with the aboot patching with some procedure
i am having LYF flame 1 ls4503
having qualcomm snapdragon 210 ms8909

kvbkiran said:
Hello
I am trying to unlock the bootloader of my phone(lyf lame 1 ls4503) and its bootloader has been permanently locked and cant be unlocked by any method
After some research, i got to know that if we can modify the aboot file to our need then we can unlock the bootloader and be able to remove frp
but i also heard that if we mess with aboot file it may have changed to permanent brick and cant be fix even though if we flash the ROM using download mode
is it right? that the download mode won't work if we mess with aboot
if no, just help me with the aboot patching with some procedure
i am having LYF flame 1 ls4503
having qualcomm snapdragon 210 ms8909
Click to expand...
Click to collapse
that's right and ive seen such a case happening with somebody i know, his phone died

cant it be fixed by flashing the phone in download mode

kvbkiran said:
cant it be fixed by flashing the phone in download mode
Click to expand...
Click to collapse
No, you would be lucky if you could flash it in edl, but I don't think you would

thanks
if you didnt told that i may have done it

Related

[Q] Does boot.img can brick bootloader

if we flash boot.img can we brick the bootloader. or bootloader need another type of img file. if bootloader image need another img file what if i flash everything like system/boot/and other but le bootloader and brick my phone does this mean it is a sot brick and i can boot into bootloader and flash stock.
last thing if bootloader need another img file so why do we even risk to flash bootloader why we need to modify it. and if we brick bootloader can we fix it or sony may be able to fix it.
android-vinay said:
if we flash boot.img can we brick the bootloader. or bootloader need another type of img file. if bootloader image need another img file what if i flash everything like system/boot/and other but le bootloader and brick my phone does this mean it is a sot brick and i can boot into bootloader and flash stock.
last thing if bootloader need another img file so why do we even risk to flash bootloader why we need to modify it. and if we brick bootloader can we fix it or sony may be able to fix it.
Click to expand...
Click to collapse
Boot.img cant brick bootloader.
There is no img file for bootloader.
hell_lock said:
Boot.img cant brick bootloader.
There is no img file for bootloader.
Click to expand...
Click to collapse
i,ve seen some forms were people brick there bootloader. how do they brick bootloader. so is that mean in any cause we can,t permently damage our phone with flashing.(insted of hardware damages that kernel can cause)

bricked frp locked

hi guys i screwed up big time
was flashing b581 using flashfire and stuck at error
11 recovery image
2 load failed
boot loader unlocked but FRP isn't so ... is there any hope 4 me ?
A.lemane said:
hi guys i screwed up big time
was flashing b581 using flashfire and stuck at error
11 recovery image
2 load failed
boot loader unlocked but FRP isn't so ... is there any hope 4 me ?
Click to expand...
Click to collapse
Hi,
have you tried using DC Phoenix software? It lets you force flash any update image from the bootloader even if FRP lock is in place, but it will cost you 15 euros for unlimited flashes for 3 days.
ramashas said:
Hi,
have you tried using DC Phoenix software? It lets you force flash any update image from the bootloader even if FRP lock is in place, but it will cost you 15 euros for unlimited flashes for 3 days.
Click to expand...
Click to collapse
thanks man i almost given up on anyone replying
so thats my only solution ?
I bricked my Mate 8 and fixed it with DC Phoenix as @A.lemane mentioned. Here are some details https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial.
What about dload method? Does it work at all?
To unlock FRP with B581 I had to lock bootloader then boot device and enable OEM unlock in developer tools, then unlock bootloader. You will have unlocked bootloader and unlocked frp at the same time.
I had unlocked bootloader and FRP locked but the option OEM unlock was off and disabled (non-changable) due to unlocked bootloader. My understanding is that you can enable OEM unlock only when bootloader is locked. That was in my case, maybe that can help you.

What happens if I disable OEM-Unlock in developer settings?

I already unlocked the bootloader, happens anything if I turn off oem unlock in developer settings or will the bootloader relock?
Maik_ said:
I already unlocked the bootloader, happens anything if I turn off oem unlock in developer settings or will the bootloader relock?
Click to expand...
Click to collapse
Turned it off once by accident but turned on again.. Nothing changed
I don't think anything changes unless u relock it via fastboot, which at that point as long as u can boot back into the OS, u can always unlock it again, relocking bootloader will format ur data and u will no long be rooted or have twrp installed
locking your bootloader with root etc installed can cause major problems so before doing that you should flash a stock firmware otherwise you will be locked out
Why would you want to do this? There is no benefit to it if you plan to stay rooted.
Need to find something to do. You bored
iElvis said:
Why would you want to do this? There is no benefit to it if you plan to stay rooted.
Click to expand...
Click to collapse
I want to disable developer options, but if I do that OEM-Unlock automatically turns off and I don't want to reboot because I dont want that I lock myself out.
Your cat will get knock up..........again!
Maik_ said:
I want to disable developer options, but if I do that OEM-Unlock automatically turns off and I don't want to reboot because I dont want that I lock myself out.
Click to expand...
Click to collapse
Just turning off Developer Options won't relock your bootloader. You can only do that manually in fastboot. But you'll also lose USB debugging, which means adb won't work anymore in case something goes wrong. (But leaving USB debugging on all the time isn't the best idea anyway.)
Hello everyone
I think I did that mistake
I have twrp installed on my phone Samsung SM-G532F . my phone was working just fine but I have locked the oem for no reason .
now when I turn off the device and tried to turn it on it shows { Custom binary blocked by FRP. (boot. img) }
and when I open recovery mode it shows { Custom binary blocked by FRP. (recovery. img) }
the download mode is working and shows that the FRP lock is on .
I tried to flash the stock recovery with odin but since the FRP is locked it failed .
the adb is not working because the device cannot boot , even the battery symbol when I plug my phone with a charger is not displayed and shows the error { Custom binary blocked by FRP. (boot. img) }
any ideas will help a lot .
omer123137 said:
Hello everyone
I think I did that mistake
I have twrp installed on my phone Samsung SM-G532F . my phone was working just fine but I have locked the oem for no reason .
now when I turn off the device and tried to turn it on it shows { Custom binary blocked by FRP. (boot. img) }
and when I open recovery mode it shows { Custom binary blocked by FRP. (recovery. img) }
the download mode is working and shows that the FRP lock is on .
I tried to flash the stock recovery with odin but since the FRP is locked it failed .
the adb is not working because the device cannot boot , even the battery symbol when I plug my phone with a charger is not displayed and shows the error { Custom binary blocked by FRP. (boot. img) }
any ideas will help a lot .
Click to expand...
Click to collapse
You cannot boot with a custom recovery and a locked bootloader. As to how to fix this, you need to ask in the Samsung forums. This is for OnePlus 6.
If you have a oneplus look in the forum for msmdownloadtool and follow the steps, you can revive your phone.
If your phone its a samsung, search in samsung forums for a tool to unbrick your phone.
iElvis said:
You cannot boot with a custom recovery and a locked bootloader. As to how to fix this, you need to ask in the Samsung forums. This is for OnePlus 6.
Click to expand...
Click to collapse
I was finally able to solve this issue with flashing the official firmware with odin . now I will never touch the oem unlock button ever again :laugh: . but thank you for your reply .
---------- Post added at 07:27 PM ---------- Previous post was at 07:22 PM ----------
Toni Moon said:
If you have a oneplus look in the forum for msmdownloadtool and follow the steps, you can revive your phone.
If your phone its a samsung, search in samsung forums for a tool to unbrick your phone.
Click to expand...
Click to collapse
I downloaded and flashed the official firmware with odin and it worked . thanks for the reply
I did this once on my OnePlus X, disabled oem unlocking in developer options. phone and recovery worked fine. I did a backup. Flashed a new rom to test it. The rom had AOSP recovery in the zip, overwriting twrp (opx has separate recovery partition). I flashed gapps affter the rom and the setup wizard was crashing so I could not boot in the home screen. Tried TWRP, its gone. Tried to boot to twrp via fastboot, oem locked. Had to do hard brick reset. Backup and data, gone.
TLDR, you should leave it on, unless you are on stock firmware.
After flash a rom you must flash twrp recovery again, restart in recovery and flash gapps and magisk
First of all you have to flash combination file associated with your device model through ap slot of odin.
Then your phone will turn on and you can access settings through which you can turn on oem unlock.
Then you can install your desired rom into your device
Sinankhan.official said:
First of all you have to flash combination file associated with your device model through ap slot of odin.
Then your phone will turn on and you can access settings through which you can turn on oem unlock.
Then you can install your desired rom into your device
Click to expand...
Click to collapse
This isn't a Samsung device.
Maik_ said:
I already unlocked the bootloader, happens anything if I turn off oem unlock in developer settings or will the bootloader relock?
Click to expand...
Click to collapse
I also accidentally turned off oem in rooted phone , Does my bootloader locked or I can safely reboot
I restored the stock firmware using Odin, but now I see that the bootloader is still unlocked.
When try to lock it again the system says: "If OEM unlock is turned off, your phone will be reset to factory default settings after restart. This will erase all of your data... " etc.
My question is: will the firmware be still in place? I don't mind everything being wiped, because most of it will be restored anyway when I login to Google and Samsung again.
SamarSS123 said:
I also accidentally turned off oem in rooted phone , Does my bootloader locked or I can safely reboot
Click to expand...
Click to collapse
No

Please share emmc_appsboot.mbn file of unlocked bootloader

Someone who has unlocked mi 5s plus bootloader please share the 'emmc_appsboot.mbn' and 'aboot.mbn'
file.we can replace these files from edl mode and unlock the bootloader,After I last repaired the phone, I can't unlock the bootloader, and I can't flash twrp. I heard that flash unlocked aboot partition by 9008 can unlock the bootloader. Please help me,thanks
I don't think the file will unlock anything since it's flashed with factory default everytime you flash zip update & the phone's still unlocked.
Plus: how to extract the one in the phone? TWRP can't do that...
Crescendo Xenomorph said:
I don't think the file will unlock anything since it's flashed with factory default everytime you flash zip update & the phone's still unlocked.
Plus: how to extract the one in the phone? TWRP can't do that...
Click to expand...
Click to collapse
dd if=/dev/block/bootdevice/by-name/aboot of=/sdcard/aboot.img
after execute this command,aboot.img may show up in sdcard.
here you go

Best way to factory reset other than MSM tool?

Hey what's up.
Having issues and want to start from scratch but the MSM download tool isn't working for me due to driver issues I can't seem to resolve.
I'm unlocked and rooted with a custom kernel but otherwise totally stock.
Would I be able to just fastboot flash the stock boot.img and relock the bootloader for a total data wipe? Would that be enough to start fresh?
Go into magisk. Click uninstall. Click restore images. Your images should have been backup by the app. Reboot and reset from reset option in phone. No need to relock.
Thanks. Is that as good as the MSM tool as data wipes go? Want to get as fresh as I possibly can without MSM...
shadowofdeth said:
Thanks. Is that as good as the MSM tool as data wipes go? Want to get as fresh as I possibly can without MSM...
Click to expand...
Click to collapse
Boot to fastboot,
Code:
fastboot -w
what is the best way to relock the bootloader from Rooted( Magisk) and unlocked bootloader ? I did fastboot lock last time, I guess it locked successfully but refused to boot. Had to use msm to unbrick. Could you suggest best practice for Locking the bootloader again from rooted stock ?
rohanhole said:
what is the best way to relock the bootloader from Rooted( Magisk) and unlocked bootloader ? I did fastboot lock last time, I guess it locked successfully but refused to boot. Had to use msm to unbrick. Could you suggest best practice for Locking the bootloader again from rooted stock ?
Click to expand...
Click to collapse
Don't lock bootloader after rooting
Keinta15 said:
Don't lock bootloader after rooting
Click to expand...
Click to collapse
Then ? Should I unroot and then lock ?
Don't try to lock the bootloader
rohanhole said:
Then ? Should I unroot and then lock ?
Click to expand...
Click to collapse
You can't lock the bootloader while rooted. Your patched boot fails startup checks. The only phone i remember that you could root and relock was the oneplus one. There was a software hack to do a soft bootloader lock/unlock without wiping the data.
To expand on that, if you modified any locked partitions and try to relock the bootloader, you'll essentially soft brick. The only thing you can modify is I believe is userdata. If you are unsure, why take the chance, especially since your MSM isn't working.
Just do a factory reset from recovery lol or use fastboot

Categories

Resources