URGENT!!!![Sony Xperia M] Stuck at boot animation after bootloader unlock. - Sony Xperia M

Just unlocked the bootloader as per sony website word to word after rooting the phone. Now the phone is stuck at the boot animation from a long time and I am scared that it might be a bootloop. How can I resolve this? I need help urgently as this was not my own phone and I am relatively new to rooting and flashing custom ROMS. :crying::crying:
PS: I have not even changed the recovery to TWRP.

It's normal to have bootloop after unlocking the bootloader. Now tell me one thing, what do you want to have next? Stock rom or custom rom?

Reply
hhjadeja007 said:
It's normal to have bootloop after unlocking the bootloader. Now tell me one thing, what do you want to have next? Stock rom or custom rom?
Click to expand...
Click to collapse
I want to have CyanogenMod 14.1
I can access fastboot only as far as I know.

Check out this video :
As you have already unlocked bootloader, you can install twrp. And then follow the video. And if you want to root your device, then also flash magisk zip.

Thank you
It worked!! Thank you so much.

Related

Desperately need root for lg g4 h815 on 6.0 without unlockbootloader

Iam requesting for developers can someone please keep provide on root for lgh815 for locked boot loader on 6.0 instead digging for unofficial boot loader unlock,that will be thankful.
i dream ,i hope so much too...
i have already asked what happen if we flash a zip MM rooted firmware (or imperium) with Chainfire's flashfire ....when we have a rooted Lollipop firmware and an eventual factory-reset with physical buttons...
but never have had answers ...
Loulou-13 said:
i dream ,i hope so much too...
i have already asked what happen if we flash a zip MM rooted firmware (or imperium) with Chainfire's flashfire ....when we have a rooted Lollipop firmware and an eventual factory-reset with physical buttons...
but never have had answers ...
Click to expand...
Click to collapse
Its not possible because on the rooted rom, the kernel its modified and when a locked bootloader phone tries to load it on boot...it will fail...
But i believe , in time, someone are going to find a hack/exploit to achieve root on locked phones
I already tried that it leads to bootloop...
i knew about this kernel problem....
but the main question is : why flashfire seem incapable to flash a "full" firmware (kernel included) like lgup/bridge/ota.... ?
And Chainfire have anounced that his flashfire is "the future" for to flash roms and firmwares ...
@xoxey it's nice to have tried
there are options that you have missed ? eventualy...
Root on 6.0 without unlocking bootloader is literally impossible because in Marshmallow Google changed their policy and now to root it you have to have modified boot.img flashed onto your device, original boot image will not allow you to have a root access or use custom recovery. It would be easy to just grab a boot.img of random kernel like SimpleGX or Imperium and flash it via fastboot, but there is a problem - bootloader basically loads your boot and if it locked it will load it only if the boot is signed, unmodified, although it leads to a bootloop. Only way to do this is to unlock it officially, and then, if you don't want to downgrade to 5.1, grab a boot.img of a kernel, flash it via fastboot (because stock boot will not allow you to flash recovery due to causes I have mentioned above), flash the recovery via fastboot, then to void bugs flash the full kernel (any of them, can be different than the one you used before, it just has to be full package) and then simply flash SuperSU v2.67. There is no different possible way to root it on 6.0.
Have you guys tried this guy's method to get temp root using kingroot? http://forum.xda-developers.com/showthread.php?t=3314927
fates13 said:
Have you guys tried this guy's method to get temp root using kingroot? http://forum.xda-developers.com/showthread.php?t=3314927
Click to expand...
Click to collapse
Guys u can try it,i will bet it doesn't work too&waste of time.
Loulou-13 said:
i knew about this kernel problem....
but the main question is : why flashfire seem incapable to flash a "full" firmware (kernel included) like lgup/bridge/ota.... ?
And Chainfire have anounced that his flashfire is "the future" for to flash roms and firmwares ...
@xoxey it's nice to have tried
there are options that you have missed ? eventualy...
Click to expand...
Click to collapse
Yh i tierd all possible ways to root my lg g4 on 6.0..i dont care of bootloops becoz i know how to fix them??

How to RE-lock bootloader of oneplus3???

Any one knows how to re-lock the bootloader of one plus 3???
And
How to remove that screen on boot up after unlocking one plus three??? :/
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
But then My root access will be wiped??
I want root access and dont want than annoying screen
two questions different answer but I would bet if there is a way to remove nag screen a google search would find it. Keep searching threads
there is no reason to re-lock bootloader, its still under warranty through Oneplus even with unlocked bootloader. but if u really want to
1. fastboot flash stock recovery (fastboot flash recovery recovery.img) (make sure u download the file, its somewhere here on the forums
2. reboot and then reboot to fastboot (fastboot oem lock) (i have never re locked a bootloader so i am not sure if it will rewipe ur device again like unlocking it does)
3. boot to OS and get developer options again and uncheck OEM Unlock (do this last)
i would not recommend re locking since it wont void warranty and seemed like a lot people screwed up their devices relocking it, but they also unchecked the oem unlock before flashing stock recovery, also i am not sure if step 2 is needed, i would just make sure u flash stock recovery 1st before doing anything
HELP
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
zubinvig said:
If you read the screen properly ull see the instructions on the screen itself do everything the same way you unlock the bootloader just instead of oem bootloader unlock type oem bootloader lock ...but make sure you're on stock rom and recovery
Click to expand...
Click to collapse
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Once i have unlocked the phn my device doesn't get recognised by the pc when i use command" fastboot devices".. Now, i'm unable to flash twrp, plz solve my issue.!!!
Arun Ammineni said:
What happens if i follow same steps with installed FREEDOM OS on my oneplus 3. You said make sure you are in stock OS.
Click to expand...
Click to collapse
ecarchi said:
I try to relock the bootloader but in this momento my oneplus 3 is blocked...I cant update with the stock rom...please some help!!! :crying:
Click to expand...
Click to collapse
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
kgs1992 said:
What part of be on stock OS is so hard to understand?
If you're not absolutely stock when relocking, you will brick your device.
Then good luck trying to enable OEM Unlocking when not being able to boot.
As someone who messes with their phone, relocking your bootloader is one of the worst possible things you can do.
If not done correctly, it WILL brick your device.
If you want to go back to stock, then surely do, there is absolutely no need to relock your boot loader unless you're selling your device to someone or if you're looking to pass SafetyNet for Android Pay or something.
Also, you cannot have the cake as well as eat it. You need to have an unlocked boot loader for root, exposed, etc. There is no way around this.
Phones previously had to be reverse engineered and exploited to gain root access, now OEMs freely allow unlocking.
Click to expand...
Click to collapse
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
Fash 3.2.4 FW from here.
Follow all instructions from here (except I would suggest sideloading the StockROM before relocking).
Arthurvben said:
I hope you can read this. I'm not a noob and I am looking to relock my bootloader because I am going to sell it. The person wants it fully stock so I need to relock the bootloader in order to regain access to official Ota updates.
I need to be on complete stock (stock recovery and rom) right? Would you please kindly point me to where I need to go to download the stock Rom and recovery. There's some TWRP flashable OTA zips on Oneplus forums that restore stock Rom and recovery but I want to be sure that that is enough and that I don't end up bricking my device for something as stupid as this. Any help would greatly be appreciated!
Click to expand...
Click to collapse
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
batmobile_bang said:
I followed the same guide posted on OnePlus Forum to re-lock my bootloader. Just follow them, it works.
Here is that link from OnePlus forum.
1. I restored my stock rom backup from TWRP
2. Flashed Stock recovery
3. fastboot oem lock
4. Sideload stock ROM
Done.
I unlocked because stock ROM I felt was much stabler and hassle free. Have rooted and played with custom ROMs enough in my Nexus 5 days. Just too much stress and can end up with non-working features. Might root again in future if I find something compelling in custom ROM.
Click to expand...
Click to collapse
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
borijess said:
If you unlock bootloader and root device. Do you still get OTA updates if you stay on stock ROM?
Click to expand...
Click to collapse
If you unlock device, you will still be able to apply OTA. If you rooted by modifying the /system partition, OTA will fail, but if thou rooted using systemless method, you can apply OTA.
Iam on stock OOS 4.0.3 and i was plagued by the same error
--adb sideload the complete rom (with locked bootloader)-- method worked for me.
Previously i had unlocked bootloader and was on freedom OOS 2.3 with TWRP and then i realized that stock updates are better.
So i installed stock recovery and and tried to flash Stock Firmware 4.0.3 through sideload command and it failed.
then i installed TWRP and then installed stock OOS 4.0.3 and it installed fine but with some error.
Then i installed stock recovery
So i rebooted it and after long time it was installed but then i started getting dm_verity error and also i was frustated with unlocked bootloader message.
So i locked my boot loader first from fastboot oem lock and then sideloaded the stock 4.0.3 again and it really worked.
So now i am on stock rom and stock recovery and no more dm_verity error or unlocked bootloader msg to wait for 5 secs...
Now iam really loving my Oneplus 3..

Is it safe to mod locked device?

As the title says is it possible to root, install modifications to stock ROM and is there a fast way to revert everything is something go wrong? I'm asking because support for 5X has ended, and I can't permanently unlock bootloader. I don't want to hard brick this phone by mistake and also I don't want just look how this device is being wasted.
So here's some probably noob questions that I want to ask:
1. Can I install TWRP on NO RPMB bootloader and boot it without issues? If so, how?
2. What recovery version should I install 4-core or regular 6-core?
3. Can I root device and hide it with magisk?
4. If an security update appear how to install it since stock recovery is replaced with TWRP?
5. If something go wrong like 2nd death loop how to revert everything? Can I simply flash stock system image in TWRP to "fix" device?
Thanks in advance.
You might try the solution the user in this thread suggested, https://forum.xda-developers.com/nexus-5x/help/rpmb-bootloader-locked-t3481906/page2
So I have to unlock bootloader, then flash TWRP, Super SU, compatible Magisk in one attempt, then I'm ready to go? Will TWRP boot and work like nothing happened?
Sent from my Nexus 5X using XDA Labs
I haven't tried it but based on the steps I would think it should work. It won't hurt anything. It also won't stop the bootloader from locking upon a reboot. But as long as you can unlock it prior to flashing any of the partitions as the reddit thread suggests you could be ok.
Locked bootloader won't allow to boot custom kernels that's sure, but will it boot modded stock kernels from this thread https://forum.xda-developers.com/nexus-5x/general/modified-boot-imgs-android-n-t3495169 since they're stock kernels
Banan PL said:
Locked bootloader won't allow to boot custom kernels that's sure, but will it boot modded stock kernels from this thread https://forum.xda-developers.com/nexus-5x/general/modified-boot-imgs-android-n-t3495169 since they're stock kernels
Click to expand...
Click to collapse
I'm running custom kernels just fine with locked bootloader.
CazeW said:
I'm running custom kernels just fine with locked bootloader.
Click to expand...
Click to collapse
So there's still hope, cool! Are there any side effects (will Jolla's multiboot and drivedroid work)? What if device suddenly stop working? Flashing stock image doesn't count since we have locked bootloader, so what to do if CPU die again? I prefer to have an emergency plan just in cause. You made my day. With locked bootloader we can't boot customs, right, just asking because it was possible on my Xperia J.
Sent from my Nexus 5X using XDA Labs
Banan PL said:
So there's still hope, cool! Are there any side effects (will Jolla's multiboot and drivedroid work)? What if device suddenly stop working? Flashing stock image doesn't count since we have locked bootloader, so what to do if CPU die again? I prefer to have an emergency plan just in cause. You made my day. With locked bootloader we can't boot customs, right, just asking because it was possible on my Xperia J.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
As long as TWRP is installed and "stuck" (ie: boot directly into TWRP after flash), you can basically flash anything (custom ROMs/kernels etc.).
The worst thing that can happen is that you brick the ROM without TWRP installed and the ROM is bricked/the oem unlock flag is reset (not tripped). Even then there's a .tot file somewhere here on XDA that can recover the phone.
I'm assuming that an upgrade to O is also possible via stock images (unlock bl, flash stock images, boot into O, trip the OEM unlock flag, unlock BL and follow the steps described).
Banan PL said:
So there's still hope, cool! Are there any side effects (will Jolla's multiboot and drivedroid work)? What if device suddenly stop working? Flashing stock image doesn't count since we have locked bootloader, so what to do if CPU die again? I prefer to have an emergency plan just in cause. You made my day. With locked bootloader we can't boot customs, right, just asking because it was possible on my Xperia J.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
Haven't tried Jolla's multiboot or drivedroid. As long as you can get into fastboot, you can just unlock it again and flash stock (though you will obviously lose everything that's on the device). Haven't tried flashing custom ROMs but as custom kernels are working, I don't see why custom ROMs wouldn't.
negusp said:
As long as TWRP is installed and "stuck" (ie: boot directly into TWRP after flash), you can basically flash anything (custom ROMs/kernels etc.).
The worst thing that can happen is that you brick the ROM without TWRP installed and the ROM is bricked/the oem unlock flag is reset (not tripped). Even then there's a .tot file somewhere here on XDA that can recover the phone.
I'm assuming that an upgrade to O is also possible via stock images (unlock bl, flash stock images, boot into O, trip the OEM unlock flag, unlock BL and follow the steps described).
Click to expand...
Click to collapse
In short unlocking bootloader JUST allows to flash system images in fastboot, nothing more nothing less? So if I flash TWRP then Lineage it will boot and work like nothing happened (like on 5X with unlocked bootloader), it's sounds so good that I can't even believe.
Sent from my Nexus 5X using XDA Labs
Banan PL said:
In short unlocking bootloader JUST allows to flash system images in fastboot, nothing more nothing less? So if I flash TWRP then Lineage it will boot and work like nothing happened (like on 5X with unlocked bootloader), it's sounds so good that I can't even believe.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
I don't own a device without RPMB (I got a fairly new refurb), but I've used TWRP/flashed ROMs and kernels successfully with the bootloader locked and TWRP installed.
Alright I'll flash TWRP take nandroid and hopefully device will boot. Can someone give me link to 4-core TWRP, I can't find it?
Sent from my Nexus 5X using XDA Labs
Google 4 core twrp 5x xda. It's in that thread. https://forum.xda-developers.com/nexus-5x/general/untested-nexus-5x-bootloop-death-fix-t3641199
Strange I can't flash recovery it's getting replaced by stock. TWRP shows a message, but I'm unable to read it. It appear for a while then device reboot into system.
It says something like "Renamed stock recovery file to /system to prevent the stock ROM from replacing TWRP" or something like that. Any help?
Banan PL said:
Strange I can't flash recovery it's getting replaced by stock. TWRP shows a message, but I'm unable to read it. It appear for a while then device reboot into system.
It says something like "Renamed stock recovery file to /system to prevent the stock ROM from replacing TWRP" or something like that. Any help?
Click to expand...
Click to collapse
Did you unlock and then without rebooting flash the TWRP?
CazeW said:
Did you unlock and then without rebooting flash the TWRP?
Click to expand...
Click to collapse
I've unlocked bootloader then flashed TWRP and rebooted into recovery
Banan PL said:
I've unlocked bootloader then flashed TWRP and rebooted into recovery
Click to expand...
Click to collapse
Did you then do a factory reset and flash root? That should make it stick. If not, you can always just use the TWRP app to get into TWRP when needed.
Edit: You also booted to recovery straight from fastboot after flashing, without rebooting the phone?
CazeW said:
Did you then do a factory reset and flash root? That should make it stick. If not, you can always just use the TWRP app to get into TWRP when needed.
Edit: You also booted to recovery straight from fastboot after flashing, without rebooting the phone?
Click to expand...
Click to collapse
This is what I've done: unlocked bootloader, format data in fastboot, flashed twrp, rebooted into twrp. Here device keep rebooting into system and replacing twrp with stock recovery.
Banan PL said:
This is what I've done: unlocked bootloader, format data in fastboot, flashed twrp, rebooted into twrp. Here device keep rebooting into system and replacing twrp with stock recovery.
Click to expand...
Click to collapse
So you are not actually getting into recovery at all. Try with different TWRP image.
CazeW said:
So you are not actually getting into recovery at all. Try with different TWRP image.
Click to expand...
Click to collapse
I tried with regular TWRP 4-core modded TWRP and with Multiboot TWRP. Same result.
Sent from my Nexus 5X using XDA Labs

Need Help Re-Locking Bootloader

Hi all!
I saw a thread on the guides forum teching how to re-lock the bootloader and go back to stock.
I was able to go back to the stock ROM beautifully, but when i tried to lock the bootloader it simply didn't work. It went through the entire process but when the phone rebooted, the "this device is unlocked and can't be trusted" message still shows.
Anyone knos how to fix this? Thanks!
update to the latest ota february 18 patch then check again it will be locked.
sam00561 said:
update to the latest ota february 18 patch then check again it will be locked.
Click to expand...
Click to collapse
Updated... But it's still unlocked.
That message shows up even if relock the bootloader.
You need to flash a modified logo.bin image to get rid of it.
If you use my guide, you need to be on a custom rom for relocking. Otherwise it wont work , so try installing twrp, and install a custom rom. Than u can relock
SupahCookie said:
If you use my guide, you need to be on a custom rom for relocking. Otherwise it wont work , so try installing twrp, and install a custom rom. Than u can relock
Click to expand...
Click to collapse
So I can re-install the stock room after I re-lock the bootloader?
Sorry for my lack of knowledge lol

My phone's lost rooting.

Hi everyone, this is my first post
This winter I had decided to install the GCam on my Mi A2 lite, so I followed a guide (I'm not able to mod any phone) I managed to install the cam. To install that I obv needed to root my phone and indeed on Root Checker that was rooted. Some months later, the phone was automaticatly updated and after that I don't know how that lost his rooting and the possibilty to use Gcam (and other apps). I didn't want to do all the process again so I let that go.
Now I'd like to install the Pixel Experience ROM on my Xiaomi tho, but I read that I need to have root permission and the bootloader unlocked. My bootloader is already uncloked, because in developer's option, under "Unlock OEM" is written. "the bootloader's already unlocked."), but I have no root permission. I don't know what to do, because as I said I'm totally ignorant.
Can I install a custom recovery without root permission? How can I install the Pixel Rom? I need to root again my phone?
Thank you all for you help!
spaga97 said:
Hi everyone, this is my first post
This winter I had decided to install the GCam on my Mi A2 lite, so I followed a guide (I'm not able to mod any phone) I managed to install the cam. To install that I obv needed to root my phone and indeed on Root Checker that was rooted. Some months later, the phone was automaticatly updated and after that I don't know how that lost his rooting and the possibilty to use Gcam (and other apps). I didn't want to do all the process again so I let that go.
Now I'd like to install the Pixel Experience ROM on my Xiaomi tho, but I read that I need to have root permission and the bootloader unlocked. My bootloader is already uncloked, because in developer's option, under "Unlock OEM" is written. "the bootloader's already unlocked."), but I have no root permission. I don't know what to do, because as I said I'm totally ignorant.
Can I install a custom recovery without root permission? How can I install the Pixel Rom? I need to root again my phone?
Thank you all for you help!
Click to expand...
Click to collapse
You need for sure an unlocked bootloader but regarding root although you don´t need it to flash a custom recovery nor a custom rom probably is better that you have it so you might need to do other things like install mods that need root.
Just flashing the Magisk you´ll recover the lost root status again but if you don´t have recovery now just boot on it through fastboot and then flash it over your actual rom or if you want the Pixel rom just follow the tutorial posted in the thread.
SubwayChamp said:
You need for sure an unlocked bootloader but regarding root although you don´t need it to flash a custom recovery nor a custom rom probably is better that you have it so you might need to do other things like install mods that need root.
Just flashing the Magisk you´ll recover the lost root status again but if you don´t have recovery now just boot on it through fastboot and then flash it over your actual rom or if you want the Pixel rom just follow the tutorial posted in the thread.
Click to expand...
Click to collapse
Do I need a TWRP Recovery tho? Because I read on some guides that's a requisite to instal Pixel Rom.
And please, can you link me the tutorial you mean? Because I can't find out that.
spaga97 said:
Do I need a TWRP Recovery tho? Because I read on some guides that's a requisite to instal Pixel Rom.
And please, can you link me the tutorial you mean? Because I can't find out that.
Click to expand...
Click to collapse
Yes, you need a custom recovery like TWRP and regarding tutorial there is a how-to-install method on every custom rom and also in the thread of a Pixel rom https://forum.xda-developers.com/mi-a2-lite/development/rom-pixel-experience-t3911489 they´re just some few steps
SubwayChamp said:
Yes, you need a custom recovery like TWRP and regarding tutorial there is a how-to-install method on every custom rom and also in the thread of a Pixel rom https://forum.xda-developers.com/mi-a2-lite/development/rom-pixel-experience-t3911489 they´re just some few steps
Click to expand...
Click to collapse
To be honest I can't find where's the tutorial into that thread :crying:
Anyway I've just thought that maybe I've already have a TWRP. I did a lot of operations when I installed the GCam, so maybe I also did that. Is there a way to find out if I already have it?
spaga97 said:
To be honest I can't find where's the tutorial into that thread :crying:
Anyway I've just thought that maybe I've already have a TWRP. I did a lot of operations when I installed the GCam, so maybe I also did that. Is there a way to find out if I already have it?
Click to expand...
Click to collapse
Oh sorry since I don´t use PE rom nevermind there is not a tutorial there but you will find one here https://forum.xda-developers.com/mi...0-ressurection-remix-os-xiaomi-mi-a2-t3954197 it´s the same process (more or less) for any custom rom.
If you are on a custom rom just booting using advanced power reboot you can go to recovery to see if it still stays there, also you can go manually using key combination (vol up + pwr from a device off) and you have too adb reboot recovery command to boot on it.

Categories

Resources