How to Root Xperia m4 aqua easily - Sony Xperia M4 Aqua

All the xda forums I read to Root my phone are very complicated and include unlocking of bootloader.. I found roottoolkit for rooting without unlocking bootloader, but it does not support for 26.1.b.2.147 build number..please suggest me easiest way to Root as I want to overclock my device for best performance.. Thank you

as for now there is no easier way than unlocking your bootloader,i use this,it easy for mehttp://forum.xda-developers.com/m4-aqua/general/tut-blu-twrp-root-xperia-m4-aqua-t3238962

amirul.35 said:
as for now there is no easier way than unlocking your bootloader,i use this,it easy for mehttp://forum.xda-developers.com/m4-aqua/general/tut-blu-twrp-root-xperia-m4-aqua-t3238962
Click to expand...
Click to collapse
Thank you bro..and is it risky?? I have heard that we dont get ota updates after this process..is it true???

saitejadsst said:
Thank you bro..and is it risky?? I have heard that we dont get ota updates after this process..is it true???
Click to expand...
Click to collapse
Unlocking bootloader is not risky if you follow the instructions, . Ota updates will stop but that will not be a problem because you can install new ftf with the flashtool.

U can get updates throught OTA. Just backup DRM keys before first unlocking bootloader and if u you are finished u can restore DRM after locking bootloader and everythings will work fine again.

depressed_ said:
U can get updates throught OTA. Just backup DRM keys before first unlocking bootloader and if u you are finished u can restore DRM after locking bootloader and everythings will work fine again.
Click to expand...
Click to collapse
You need root in order to backup your DRM keys.
You could flash the .128 from XperiFirm with Flashtool and the root with rootkitXperia.

I did it, boy. DRM is for me everything. I never unlock bootloader without backup DRM keys.

I tried to flash it(26.1.b1.85)....but my phone is not entering download mode unfortunately..

saitejadsst said:
I tried to flash it(26.1.b1.85)....but my phone is not entering download mode unfortunately..
Click to expand...
Click to collapse
are you on the latest firmware for Dual Sim M4, then try this it worked for me.
enable debug mode, enable install from unknown source, Connect you phone to Flash tool.
Click the flash button select "FASTBOOT Mode", click "Reboot to fastboot (Via ADB).
the phone should enter fastboot, then disconnect the phone from usb (do not power on)
on flash tool, click close for fastboot screen.
now click flash again, select flash mode, select the firmware required (26.1.b1.85), click flash, wait for the preparing firmware
and when it asks to connect the phone, hold Volume Down and connect the USB cable do not let go of the Volume Down Button
when asked do you want to use the default.fsc file click Yes and release the volume down button.

RohitBopnna said:
are you on the latest firmware for Dual Sim M4, then try this it worked for me.
enable debug mode, enable install from unknown source, Connect you phone to Flash tool.
Click the flash button select "FASTBOOT Mode", click "Reboot to fastboot (Via ADB).
the phone should enter fastboot, then disconnect the phone from usb (do not power on)
on flash tool, click close for fastboot screen.
now click flash again, select flash mode, select the firmware required (26.1.b1.85), click flash, wait for the preparing firmware
and when it asks to connect the phone, hold Volume Down and connect the USB cable do not let go of the Volume Down Button
when asked do you want to use the default.fsc file click Yes and release the volume down button.
Click to expand...
Click to collapse
Thank you dude...ill try..

Can i root my m4 without unlocked bootloader with roottoolkit? Is it possible and how?

Related

Flash to CM7: Stuck at sending boot.img

Hello everyone.
I am just trying to flash my Xperia Mini Pro to CM7.
But when I am trying to send the "boot.img" it seems to get stuck.
this is my sonsole output:
Code:
E:\Programme\AndroidSDK\platform-tools>.\fastboot.exe -i 0x0fce flash boot boot.img
sending 'boot' (5272 KB)...
this already stayed for about 30min.
is it normal that it takes so long?
if not, what do I have to do to fix it?
Thanks,
McFarlane
It's just take around 2sec to flash.
Try flashing boot.img using flashtool
Sent from my SK17i using xda app-developers app
sandy7 said:
It's just take around 2sec to flash.
Try flashing boot.img using flashtool
Sent from my SK17i using xda app-developers app
Click to expand...
Click to collapse
how do I do this?
Did u unlock bootloader?
an0nym0us_ said:
Did u unlock bootloader?
Click to expand...
Click to collapse
I followed the instructions of the wiki. Can I verify somehow that it is unlocked?
(I've just installed this flashtool. But how to flash with it? )
My guess is u havent unlock the bootloader yet.
Heres a good tool to do it the official way, which might void your warranty if u choose to do so.
http://forum.xda-developers.com/showthread.php?t=1560613
an0nym0us_ said:
My guess is u havent unlock the bootloader yet.
Heres a good tool to do it the official way, which might void your warranty if u choose to do so.
http://forum.xda-developers.com/showthread.php?t=1560613
Click to expand...
Click to collapse
I've used the program and it said, that the BL was already unlocked.
Open dialpad and type
*#*#7378423#*#*
Service info>configuration>rooting status.
What does it say there?
an0nym0us_ said:
Open dialpad and type
*#*#7378423#*#*
Service info>configuration>rooting status.
What does it say there?
Click to expand...
Click to collapse
It says: "Bootloader unlocked: Yes"
Then u already have unlock bootloader. Try to reflash the kernel again.
Btw did u enter fastboot mode when u try to flash earlier?
Led should be blue in fastboot mode.
an0nym0us_ said:
Then u already have unlock bootloader. Try to reflash the kernel again.
Btw did u enter fastboot mode when u try to flash earlier?
Led should be blue in fastboot mode.
Click to expand...
Click to collapse
Yes, the LED was Blue When i connected it to my pc.
what do you mean by "reflash the kernel"?
i tried flashing the boot.img at least ten times and it got stuck every time.
Try with the bootloader unlock tool. It can flash kernel too.
just try flash it with an0nym0us_ said before
http://forum.xda-developers.com/showthread.php?t=1560613
make sure u choose fastboot (point ur boot.img) n click flash (leave other option unchecked)
usb debugging on device is checked right?
antr34 said:
just try flash it with an0nym0us_ said before
http://forum.xda-developers.com/showthread.php?t=1560613
make sure u choose fastboot (point ur boot.img) n click flash (leave other option unchecked)
usb debugging on device is checked right?
Click to expand...
Click to collapse
I did it as you described but after clicking on "Flash" the tool didn't show any reaction.
it just froze and stayed like this until now
USB Debugging is on.
McFarlane said:
I did it as you described but after clicking on "Flash" the tool didn't show any reaction.
it just froze and stayed like this until now
USB Debugging is on.
Click to expand...
Click to collapse
reflash your stock rom with Xperia Flashtool and try again. You can also try a different usb cable or computer also is the fastboot driver installed ? take a look under device manager.
GianniDPC said:
reflash your stock rom with Xperia Flashtool and try again. You can also try a different usb cable or computer also is the fastboot driver installed ? take a look under device manager.
Click to expand...
Click to collapse
I installed the fastboot driver during the flashtool installation.
The Device Manager shows it as Android ADB Device.
Also, to flash the Xperia in Flashtools, it excpects from me to hold down the back button while plugging in the cable.
Which is not possible because it is a touch button. So noothing happens -.-
Its volume down button for flash mode, not back button :/
an0nym0us_ said:
Its volume down button for flash mode, not back button :/
Click to expand...
Click to collapse
Volume down button works for flash mode. But it fails with errors:
08/041/2012 23:41:42 - ERROR - ERR_SEVERITY="MAJOR";ERR_CLASS="SECURITY_CLASS";ERR_DYNAMIC="SIN header verification failed"
I never excpected this update to be so difficult...
I've updated my old G1 to CM once and it took me 1h with reformatting the SD card using a HEX editor -.-
What is this miniCM7?
According to the description it is available for X8, X10 and X10 mini pro. So it won't work on my device either?
an0nym0us_ said:
Its volume down button for flash mode, not back button :/
Click to expand...
Click to collapse
haha, i thought he already knew it since he can enter fastboot mode volume up (blue led), but i guess he didnt know how to enter flash mode
---------- Post added at 04:57 AM ---------- Previous post was at 04:46 AM ----------
McFarlane said:
What is this miniCM7?
According to the description it is available for X8, X10 and X10 mini pro. So it won't work on my device either?
Click to expand...
Click to collapse
what do you mean?
did u download CM7 from this http://forum.xda-developers.com/showthread.php?t=1226715
or u download CM7 for x8?
flashtool support all 2011 device
check release note for detail
http://androxyde.github.com/Flashtool/
I tried to follow the how to of the Cyanogenmod Wiki for my phone.
But flashing using their instructions doesn't work and anything the flashtool can do is not working either.
Its either failing or gets stuck without any response.
I am now downloading and trying the CM7 you have linked in your post.
Maybe this one will work...
Thats what I did now:
I downloaded the file you linked and extracted the boot.img
Then I connected my phone in Fastboot mode and tried to flash the kernel using the Flashtool - Fastboot Toolbox via the button "Select kernel to Flash".
Log output shows now: "09/016/2012 00:16:51 - INFO - Flashing selected kernel"
After that, nothing happens.
What do I do now?

[Q] [q] please helppppp!!!

My z ultra is not responding because i messed up flashing custom rom.
i want to flash my tft file using flash tool but im stocked on flashmode!!
volume down button is not responding, please help me how to boot up to flash mode without pressing
volume down button. any alternative way to go through flash mode??????
rudynasco said:
My z ultra is not responding because i messed up flashing custom rom.
i want to flash my tft file using flash tool but im stocked on flash boot mode!!
volume down button is not responding, please help me how to boot up to flash mode without pressing
volume down button. any alternative way to go through flash mode??????
Click to expand...
Click to collapse
What do you do wrong as we might beable to fix it another way
blueether said:
What do you do wrong as we might beable to fix it another way
Click to expand...
Click to collapse
I flash gpe rom without boot.img, i flash using nu recovery then flash the gpe rom.
then the phone is dead!
i want to restock my phone using flashtool but my volume down button is broken, fastboot mode cant detect
when i press down volume button.
but i can go to flash mode
rudynasco said:
I flash gpe rom without boot.img, i flash using nu recovery then flash the gpe rom.
then the phone is dead!
i want to restock my phone using flashtool but my volume down button is broken, fastboot mode cant detect
when i press down volume button.
but i can go to flash mode
Click to expand...
Click to collapse
Did you unlock the bootloader?
Have you backed up the TA partition?
blueether said:
Did you unlock the bootloader?
Have you backed up the TA partition?
Click to expand...
Click to collapse
the boatloader is unlocked when i bought the phone from the store
rudynasco said:
the boatloader is unlocked when i bought the phone from the store
Click to expand...
Click to collapse
Bootloader needs to be unlocked to run a custom kernel, just the fact the phone is [sim] unlocked is not enough.
I was going to suggest to flash the doomkernel from the GPe thread, if you had unlocked the bootloader and backed up the TA
blueether said:
Bootloader needs to be unlocked to run a custom kernel, just the fact the phone is [sim] unlocked is not enough.
I was going to suggest to flash the doomkernel from the GPe thread, if you had unlocked the bootloader and backed up the TA
Click to expand...
Click to collapse
the bootloader is unlocked as i checked, but in this case can u help me what shall i do next?
flash the doomkernel using flash tool?
tnx
rudynasco said:
the bootloader is unlocked as i checked, but in this case can u help me what shall i do next?
flash the doomkernel using flash tool?
tnx
Click to expand...
Click to collapse
Flash this http://forum.xda-developers.com/showthread.php?t=2769608 with fastboot
From the command line:
Code:
fastboot flash boot <kernel_name>
blueether said:
Flash this http://forum.xda-developers.com/showthread.php?t=2769608 with fastboot
From the command line:
Code:
fastboot flash boot <kernel_name>
Click to expand...
Click to collapse
i just want to clear that my phone is c6833 and not stock GPE,
i downloaded a gpe rom for c6833 model and messed it up.
i will proceed??
Tnx
rudynasco said:
i just want to clear that my phone is c6833 and not stock GPE,
i downloaded a gpe rom for c6833 model and messed it up.
i will proceed??
Tnx
Click to expand...
Click to collapse
Yes the GPe kernel should boot the rom on a c6833. I'm not sure why the rom wont boot on the stock kernel.
blueether said:
Yes the GPe kernel should boot the rom on a c6833. I'm not sure why the rom wont boot on the stock kernel.
Click to expand...
Click to collapse
Sorry for being noob, i have downloaded the kernel so i will flash this using flashtool right?
can u guide me for the next step pls.
Thnx alot
Set USB Debugging On from Settings - Developer Options.
Connect the phone to the PC.
Click 1 - Click the Lightning icon.
Select 2 - Select the Fastboot Mode.
Click 3 - Click Ok.
Click 4 - Select Reboot Into Fastboot Via Adb and wait for the phone to go into fastboot mode. (Blue led).
Click 5 - Select Reboot Into Fastboot Via Fastboot and wait for the phone to go into fastboot mode. (Blue led).
Click 6 and 7 - Select the boot.img or kernel.elf or kernel.sin.
Click 8 - Reboot phone. After reboot, the phone will be in recovery mode.
I cant go to fastboot via adb and the kernel file i downloaded cant be detected.
pls help
now i finally knew why my phone is dead. i installed custom rom withour unlocking bootloader.
I want to go back to stock firmware but my volume down rocker is broken so i cannot turn my device into flashmode,
please help me what to do cos i am noob:crying::crying::crying::crying:
Hit the power button and vol up together and wait until the device vibrates 3 times. Doing it you will force it to shutdown completely. Now go ahead and get into flash mode.
rudynasco said:
now i finally knew why my phone is dead. i installed custom rom withour unlocking bootloader.
I want to go back to stock firmware but my volume down rocker is broken so i cannot turn my device into flashmode,
please help me what to do cos i am noob:crying::crying::crying::crying:
Click to expand...
Click to collapse
I cant think of a way to get a non booted ZU into flashmode
I do have one thought on how to fix this - flash a system partition dump in fastboot, It will take me a little time to make this for you
Edit:
I have to charge the c6802 up as it is flat then flash a FTF and extract the files and test, all while the wife if using the PC (she has 5 days left untill she has finished a double degree, and a separate research project on the go - I may not get the PC for a few hours)
It looks like fastboot won't open a full 2.3 GB system dump, so there goes that idea
Do you have any warranty on the device? if so the steps below will void you warranty - if you haven't already. It will also wipe all data and the DRM keys
Have you flashed any kernel/boot.img? if so then do the last steps (5, 6 & 7) as well to get on a kernel compatible with the GPe ROM
You will need the fastboot drivers installed (should be installed with flashtool) and you will need adb/fastboot (should be in the flashtool folder)
Get your unlock code from Sony's dev site, you will need the IMEI # in the tag in the sim bay
Open a command line in the flashtool folder that has adb and fastboot .exe files
Enter this command:
Code:
fastboot oem unlock <unlock_code_from_sony>
Download either scrubber's kernel or DooMLoRD's GPe kernel
Flash boot.img with (if not called boot.img change command below to match):
Code:
fastboot flash boot boot.img
---------- Post added at 05:38 PM ---------- Previous post was at 05:17 PM ----------
Above is edited
blueether said:
It looks like fastboot won't open a full 2.3 GB system dump, so there goes that idea
Do you have any warranty on the device? if so the steps below will void you warranty - if you haven't already. It will also wipe all data and the DRM keys
Have you flashed any kernel/boot.img? if so then do the last steps (5, 6 & 7) as well to get on a kernel compatible with the GPe ROM
You will need the fastboot drivers installed (should be installed with flashtool) and you will need adb/fastboot (should be in the flashtool folder)
Get your unlock code from Sony's dev site, you will need the IMEI # in the tag in the sim bay
Open a command line in the flashtool folder that has adb and fastboot .exe files
Enter this command:
Code:
fastboot oem unlock <unlock_code_from_sony>
Download either scrubber's kernel or DooMLoRD's GPe kernel
Flash boot.img with (if not called boot.img change command below to match):
Code:
fastboot flash boot boot.img
---------- Post added at 05:38 PM ---------- Previous post was at 05:17 PM ----------
Above is edited
Click to expand...
Click to collapse
Thank you guys for your help and i am really sorry for flooding and spamming the entire zu thread.
This is my first time to root (sony way) and own a sony mobile, i was a samsung user before and ive never experienced this kind of horrible situation in flashing roms. I just bought my phone 7 months a go and i was so worried. If my Volume (-) rocker wasnt broken i wouldnt experience this nightmare, but i was hoping maybe someone knows how to turn the phone into flashmode without pressing the volume(-), unfortunately nobody knows.
I brought my mobile to sony service center and i hope they can fix it as i told them my software broke down and i need them to flash to stock firmware.
Edit:
i just saw my first post and it say fastboot mode! LOL sorry again.
i have no problem with the fastboot mode. I was stucked at FLASHMODE!
volume (-) is broken!

Reset factory stuck at 0%

Hello,
I can't enable the oem unlock from developer options, i understand that i have to do a factory reset. When i do it, it stuck at 0%, i let it all the day. If someone can help me please
kaoutar19 said:
Hello,
I can't enable the oem unlock from developer options, i understand that i have to do a factory reset. When i do it, it stuck at 0%, i let it all the day. If someone can help me please
Click to expand...
Click to collapse
Please, someone can help me ? i am bloqued
kaoutar19 said:
Please, someone can help me ? i am bloqued
Click to expand...
Click to collapse
Hallo there
Just a few questions first, are you trying to reset factory settings through the phone settings app or are you trying trough eRecovery?
Cheers,
AS
ars_chelsea said:
Hallo there
Just a few questions first, are you trying to reset factory settings through the phone settings app or are you trying trough eRecovery?
Cheers,
AS
Click to expand...
Click to collapse
Thank you. I tried to reset through the setting and through eRecovery, for both, the reset stuck at 0%. Bootloader is unlocked, FRP is locked. I can't toggle the button to enable OEM unlocking.
Are you using phone with working sim, or without? Why I ask about sim? If not working sim card, then a lot phones will not give OEM unlock option, once it was for me with Sony phone, after I inserted sim needet to wait weak and only then OEM unlock option was accessable.
What are your phone full model ? Like, ane-lx1c432b166
Arnys said:
Are you using phone with working sim, or without? Why I ask about sim? If not working sim card, then a lot phones will not give OEM unlock option, once it was for me with Sony phone, after I inserted sim needet to wait weak and only then OEM unlock option was accessable.
What are your phone full model ? Like, ane-lx1c432b166
Click to expand...
Click to collapse
No, when i inser the sim card, i can't activate the sim through the parameteres (Erreur activation), that's why i wanted to reset it and install new firmware.
kaoutar19 said:
No, when i inser the sim card, i can't activate the sim through the parameteres (Erreur activation), that's why i wanted to reset it and install new firmware.
Click to expand...
Click to collapse
ok, didnt give full ph0ne model, dont need, can go and find all you need yourself : from this : https://forum.xda-developers.com/hu...om-official-emui-8-0-huawei-p20-lite-t3773999
7. dload package
In this site you can search for firmware by Huawei P20 Lite or directly by your device oem name (ANNE-L01, ANNE-L03, ANNE-L21, ANNE-L22, ANNE-L23, etc...
http://androidhost.ru/search.html
Download the firmware that match with your device and unzip.
Under folder Software you will found the folder dload, copy this folder to sdcard.
Under folder ReleaseDoc you will find a Software Upgrade Guideline.docx, read it.
User data will be wiped.
Update is done with stock recovery
If your Bootloader is currently unlocked at the end it will be changed to lock state.
i gues you have your bootloader code, you can even use older package, adn reset your phone using this dload method!!
Arnys said:
ok, didnt give full ph0ne model, dont need, can go and find all you need yourself : from this : https://forum.xda-developers.com/hu...om-official-emui-8-0-huawei-p20-lite-t3773999
7. dload package
In this site you can search for firmware by Huawei P20 Lite or directly by your device oem name (ANNE-L01, ANNE-L03, ANNE-L21, ANNE-L22, ANNE-L23, etc...
http://androidhost.ru/search.html
Download the firmware that match with your device and unzip.
Under folder Software you will found the folder dload, copy this folder to sdcard.
Under folder ReleaseDoc you will find a Software Upgrade Guideline.docx, read it.
User data will be wiped.
Update is done with stock recovery
If your Bootloader is currently unlocked at the end it will be changed to lock state.
i gues you have your bootloader code, you can even use older package, adn reset your phone using this dload method!!
Click to expand...
Click to collapse
Thank you for your answer, so i downloaded the latest version ANE-LX1 8.0.0.147(C109) Europe, copy the dload folder on sd card. Did a forced upgrade, the upgrade stuck at 5%
kaoutar19 said:
Thank you for your answer, so i downloaded the latest version ANE-LX1 8.0.0.147(C109) Europe, copy the dload folder on sd card. Did a forced upgrade, the upgrade stuck at 5%
Click to expand...
Click to collapse
Hi again
Sorry not answering earlier...But I do think Mr.Arnys is gonna take care of this. About the forced upgrade, try resetting the caches first.
Cheers,
AS
ars_chelsea said:
Hi again
Sorry not answering earlier...But I do think Mr.Arnys is gonna take care of this. About the forced upgrade, try resetting the caches first.
Cheers,
AS
Click to expand...
Click to collapse
I makes software installation failed i have custom rom Morfuz
kaoutar19 said:
I makes software installation failed i have custom rom Morfuz
Click to expand...
Click to collapse
Oh you have a custom ROM? So your bootloader is unlocked ok... In that case, install the stock recovery .img via fastboot(if you need a guide I can provide it) as soon as you can and then try to install the dload package again
Cheers,
AS
ars_chelsea said:
Oh you have a custom ROM? So your bootloader is unlocked ok... In that case, install the stock recovery .img via fastboot(if you need a guide I can provide it) as soon as you can and then try to install the dload package again
Cheers,
AS
Click to expand...
Click to collapse
Thanks for your replay . Where i can find the stock recovery .img ? The bootloader is unlocked, frp locked. I have to use the same method ? i put only the .img file on dload folder ? Thank you for your help
try to restore your phone using eRecovery, when restart phone, there are text your device unlocked cant trust, pres 3 sec volume upt o enter e recovery, enter in it, conect to wifi, download and instal stock..
Arnys said:
try to restore your phone using eRecovery, when restart phone, there are text your device unlocked cant trust, pres 3 sec volume upt o enter e recovery, enter in it, conect to wifi, download and instal stock..
Click to expand...
Click to collapse
I have getting package info failed
kaoutar19 said:
Thanks for your replay . Where i can find the stock recovery .img ? The bootloader is unlocked, frp locked. I have to use the same method ? i put only the .img file on dload folder ? Thank you for your help
Click to expand...
Click to collapse
Hallo again,
Ok so for the stock recovery you can download it on the thread by ciubi93, on this link https://mega.nz/#!SR9RzKST!dhXS0yC-p_SvWu-SYYLaop1aRFzSulLVrnSXCVVJiGI after you download this, download the fastboot adb tools - here's a link of the xda for that https://www.xda-developers.com/install-adb-windows-macos-linux/ after you did that guide from xda, copy the stock recovery into that folder and then press shift+right click of your mouse on the folder and select "open powershell window here (in case of windows 10) or in case of windows 7 (open command prompt window here)" , if you have a power shell window then power off your device then press power ON + volume down and type on the window ".\fastboot flash recovery recovery_ramdisk.img ", after this you have your stock recovery successfully reset and you can now flash the official dload package, try it via power ON + Volume down + Volume up at the same time until the huawei logo disappears and then you release.
I really hope this helps cause I tried this a lot on mine.
Cheers,
AS
error remote Command not allowed
Hello, i tried this command in the fastboot mode, i have the error remote Command not allowed.
kaoutar19 said:
Hello, i tried this command in the fastboot mode, i have the error remote Command not allowed.
Click to expand...
Click to collapse
Hi there
Yeah I forgot you have FRP locked....My bad....Anyway, can you tell me the current build you have and the one you want to install? Example: C17 8.0.0.140
Because if you try to install a different firmware which is not from your country you need to change your oem info first.
Cheers,
AS
---------- Post added at 10:47 ---------- Previous post was at 10:36 ----------
Also if you had it unlocked I assume you have the unlock code with you, in that case try this first:
Relock the bootloader using fastboot command "fastboot oem relock *codehere* " this will erase all DATA, it will do an hard reset, be sure to backup first!
After that, you can unlock the bootloader again via fastboot command "fastboot oem unlock *codehere*" and then it will unlock both bootloader and FRP
Cheers,
AS
ars_chelsea said:
Hi there
Yeah I forgot you have FRP locked....My bad....Anyway, can you tell me the current build you have and the one you want to install? Example: C17 8.0.0.140
Because if you try to install a different firmware which is not from your country you need to change your oem info first.
Cheers,
AS
---------- Post added at 10:47 ---------- Previous post was at 10:36 ----------
Also if you had it unlocked I assume you have the unlock code with you, in that case try this first:
Relock the bootloader using fastboot command "fastboot oem relock *codehere* " this will erase all DATA, it will do an hard reset, be sure to backup first!
After that, you can unlock the bootloader again via fastboot command "fastboot oem unlock *codehere*" and then it will unlock both bootloader and FRP
Cheers,
AS
Click to expand...
Click to collapse
Hm, if I'm correct, you can't unlock bootloader, if frp are locked, frp will be unlocked, when you allow OEM unlock under developer options.
Only thing there can do, connect with mofuz ROM developer to help return to stock, otherwise our suggestions will not work, because all I know is for stock emui.
But yeah, with right phone build number he shulda be able to return to stock with no problem, so, does he know what was stock emui build he had before started to play with phone..??!!
And, can download all dload packages and try them all, no harm if it fails, but maybe some will reflash system as it should be
Arnys said:
Hm, if I'm correct, you can't unlock bootloader, if frp are locked, frp will be unlocked, when you allow OEM unlock under developer options.
Only thing there can do, connect with mofuz ROM developer to help return to stock, otherwise our suggestions will not work, because all I know is for stock emui.
But yeah, with right phone build number he shulda be able to return to stock with no problem, so, does he know what was stock emui build he had before started to play with phone..??!!
And, can download all dload packages and try them all, no harm if it fails, but maybe some will reflash system as it should be
Click to expand...
Click to collapse
You can't unlock FRP when you have the booloader unlocked yes I know, but what I said is for him to relock first and then unlock it again Once he unlocks again the FRP will become unlocked, I looked into this thread for that and they also confirmed it works here's the proof if you have doughts quoting @clsA "FRP Lock occurs when the phone has a firmware mismatch and or oem unlocking is not on in developer options":
Here's the thread (check @gopinaidu77 post and then the answers after that):
https://forum.xda-developers.com/honor-5x/help/remove-frp-lock-fastboot-t3530220/page2
Cheers,
AS
ars_chelsea said:
You can't unlock FRP when you have the booloader unlocked yes I know, but what I said is for him to relock first and then unlock it again Once he unlocks again the FRP will become unlocked, I looked into this thread for that and they also confirmed it works here's the proof if you have doughts quoting @clsA "FRP Lock occurs when the phone has a firmware mismatch and or oem unlocking is not on in developer options":
Here's the thread (check @gopinaidu77 post and then the answers after that):
https://forum.xda-developers.com/honor-5x/help/remove-frp-lock-fastboot-t3530220/page2
Cheers,
AS
Click to expand...
Click to collapse
I locked and relocked the bootloader, now i can only access to the recovery or to the fastboot. In the recovery, anything i do like reset, my phone reboot again to the recovery, in the fastboot mode i can't relock the bootloader, need to access to the phone to enable developer options. I tried to do a hard reset or an update with dload, nothing work, always rebooting to the recovery. My phone is broken now

I can't relock my mate20pro

I unlocked my mate20 pro, but problem is now i can't relock it , even I use "fastboot oem relock +unlock code"
anybody can help ?
have you tried fastboot oem lock?
you don't have to specify the code
i just tried also and cannot lock
Daniehabazin said:
have you tried fastboot oem lock?
you don't have to specify the code
Click to expand...
Click to collapse
still can't relock..................wait for solution
richard_li said:
still can't relock..................wait for solution
Click to expand...
Click to collapse
Refer to my post here ?
https://forum.xda-developers.com/ma...ocking-bootloader-magisk-root-t3885422/page22
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
xeroxide said:
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
Click to expand...
Click to collapse
That's interesting. So all your data was wiped when you used the hstool?
Someone else said flashing firmware via dload method also relocks the bootloader.
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
xeroxide said:
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
Click to expand...
Click to collapse
After locking, can you use the same code to unlock it again ?
EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes sure
EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#​2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
xeroxide said:
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#​2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
Click to expand...
Click to collapse
Can you say me something about the usb method? dont know, what this is. :silly:
ClintP said:
Can you say me something about the usb method? dont know, what this is. :silly:
Click to expand...
Click to collapse
You need an external usb-c drive with some firmware on it.
I initially used v187 from this thread
https://forum.xda-developers.com/mate-20-pro/how-to/firmware-update-187-brings-oem-unlock-t3897301
Since then I downloaded a v206 which works over USB but I cannot recall where I got it from.
Note that you will loose all user data since the phone will be fully wiped.
Also this method requires a phone that is working, as in able to boot and access the dialer and menus.
If I find out where I got the v206 I will post it here as well.
I should also add, maybe it might work with a memory card as well... But this method requires an external source for the firmware since it formats the entire phone
@ xeroxide Thx for your help.
I Try this at the weekend.
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
richard_li said:
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
Click to expand...
Click to collapse
it means now relocked and problem solved.........
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
this worked for me thanks loads!

relock bootloader?

Has anyone here tried to relock the bootloader? I am thinking about buying an s7 plus and giving this away. I know that knox is permanently broken, but do not want to give away the tablet rooted (or I will be come tech support). What I would want to remove beside root is the warning message on boot.
@tensux
Hey dude,
do you achieved to relock the bootloader then ?
If yes did you use the fastboot "oem re-lock" command ?
Please let me know, thanks.
Arobase40 said:
If you want to re-lock your bootloader you have to go in Download mode. If with Android 11 or above don't forget to attach your tablet onto a PC before switching to Download mode, then long press with Volume Down button. Change are your system will be erased before it reboots so don't forget to backup everything before unless you don't care...
Click to expand...
Click to collapse
Thank you for quick reply man.
So it's the same as unlocking,
and the oem button into the developer option,
should switch itself off ?
Dadditz said:
@tensux
Hey dude,
do you achieved to relock the bootloader then ?
If yes did you use the fastboot "oem re-lock" command ?
Please let me know, thanks.
Click to expand...
Click to collapse
Sorry to burst your bubble, but Samsung devices don't have fastboot, they only have download mode (Odin). You can relock them by reflashing stock firmware most of the time.
Were you able to relock the bootloader, I’m looking to do the same. Any assistant ace would be helpful
chochoking said:
Were you able to relock the bootloader, I’m looking to do the same. Any assistant ace would be helpful
Click to expand...
Click to collapse
Hi man,
next month I will try to re-lock the bootloader and return the tablet to factory condition. As soon as I do I will post step by step how I did.
Cheers
@chochoking
Hello,
well, starting from a rooted device, without TWRP,
last firmware android 11 build T865XXS5CUL1_T865OXM5CUL1_ITV.
DO A BACKUP OF YOUR STUFF,
process will delete everything.
I download the same firmware and unzip it
into a folder on my pc.
Remove all the accounts and securities.
Reboot the device into Download mode
and via Odin3 (v.3.1.14) install the same
firmware (use csc not home csc)
and reboot into system (will factory reset the tablet).
Boot again in Download mode and
keeping vol up enter the relock bootloader section.
After relocking the teblet, it will factory reset again
and reboot into system.
Done.
Do your upgrades and reset your securities.
Cheers
Thank you for your instructions! I had a question, did the warning message disappear after relocking the bootloader?
Dadditz said:
@chochoking
Hello,
well, starting from a rooted device, without TWRP,
last firmware android 11 build T865XXS5CUL1_T865OXM5CUL1_ITV.
DO A BACKUP OF YOUR STUFF,
process will delete everything.
I download the same firmware and unzip it
into a folder on my pc.
Remove all the accounts and securities.
Reboot the device into Download mode
and via Odin3 (v.3.1.14) install the same
firmware (use csc not home csc)
and reboot into system (will factory reset the tablet).
Boot again in Download mode and
keeping vol up enter the relock bootloader section.
After relocking the teblet, it will factory reset again
and reboot into system.
Done.
Do your upgrades and reset your securities.
Cheers
Click to expand...
Click to collapse
DartGerion said:
Thank you for your instructions! I had a question, did the warning message disappear after relocking the bootloader?
Click to expand...
Click to collapse
I'm glad to see your reply and as for the warning message
go straight dude, it disappears completely.
Best regards

Categories

Resources