Won't boot past Sony logo after trying to flash CWM recovery - Sony Xperia M2

I'm totally new to flashing and all this other stuff so hopefully I can explain my issue correctly...
I have an Xperia M2 2303 running Lollipop with unlocked bootloader.
I tried to follow the instructions of the Tutorial To Install CWM Recovery here - freeandroidroot . com/how-to-install-cwm-recovery-and-root-sony-xperia-m2/ to install cwm recovery. I downloaded "Minimal ADB and Fastroot" and the " Xperia M2 CWM recovery image" as linked to on that page, and renamed the img to "boot.img" - placing it in the correct folder as required, but I couldn't figure out how to get into recovery as the instructions then suggested (I tried the power and volume down thing) no matter what I tried.
I tried these instructions - developer . sonymobile . com/2015/05/18/recovery-mode-now-available-for-a-range-of-unlocked-xperia-devices-video/ - on "How to enable and enter recovery mode", using Emma to install the latest generic software and the TA update. This was successful. But I still couldn't get into recovery mode.
So I followed someone's advice (can't find the page now of course!) to go into fastboot mode and then flash the img there using the "fastboot flash boot boot.img" command. Perhaps that wasn't good advice as it says it successfully flashed but now it is just repeatedly booting to the Sony screen and then tries again in a loop but won't get past it.
Is there any way to save it? Any help appreciated. Thanks

All sorted now
I used Emma and installed the latest generic service for my M2 and now it is working fine.

Related

[Q] Clockworkmod Recovery refuses to install on Xoom 3.2.1

So, basically, the details on the Xoom:
Android Version: 3.2.1
Build: HTK75D
Kernel: 2.6.36.3-g111d827 [email protected] #1
Bootloader is unlocked
I am trying to install Tiamat's Clockworkmod image via the ADB method. I do exactly these steps:
adb reboot bootloader
fastboot flash recovery Tiamat-*********-cwm.img
According to the adb console, it says it flashed correctly, and the fastboot also gives the same confirmation.
fastboot reboot
I boot up normally, and run:
adb reboot recovery
It then gives me the dreaded ! mark.
I've spent more than 5 hours trying to get the recovery working, and have tried re downloading the img, changing cables , and the only method that gave me a small glimpse of hope is flashing another img file (cwm 3.0.2.8 flashed) which worked once and then reverted to the ! mark.
Help? If any other info is needed, I will gladly provide.
try this:
1) Flash the recovery via bootloader and the fastboot command
2) After the flash, issue fastboot reboot to reboot the xoom
3) At the M logo during bootup, start hitting the volume down until you see Recovery on the top left corner then hit volume up to select it
That should get you into clockwork mod recovery, after you flash the root package you'll be good to go
Scsa20,
Has this been verified?
Should the offending files, (/system/recovery-from-boot.p OR
/system/etc/install-recovery.sh) be removed per Joe Ferreira's post?
I will try this fix after it has been verified (I've given you a thanks already )

[Q] [HELP] Unable to succesfully install ANY recovery

After trying for over three hours, reading what seems like all threads on the whole of xda and some other sites... i am ready to eat my phone. Ok, must get myself together :-/ . Here we go.
Specs:
Moto G 4g on dutch carrier (vodafone), XT1039
Situation:
Came from completely stock lollipop system, then succesfully unlocked phone via motorola website using the fastboot proces. Intending to install custom rom, first need a recovery. I am now stuck at this step. When booting i now get a screen "warning bootloader unlocked" before the moto splash begins, this is normal as far as i understand.
Problem:
Unable to boot into recovery. Directly after flashing any recovery (with fastboot) and choosing "recovery" from the bootloader i get the message "boot up failed"
After restarting the phone and choosing "recovery" from the bootloader i get the android on its back picture stating "no command"
Already tried:
installed the android sdk, fastboot and mfastboot.
Am able to send commands to phone with (m)fastboot. Flashing works.
I flashed: openrecovery twrp 2850 xt1032, clockwork 6047 falcon, philz touch 6587 falcon, twrp 2870 falcon m stock, twrp 2801 titan v2 and twrp 2860 xt1032
all give exact same result
"fastboot boot NAME of IMAGE"
"fastboot erase userdata & cache"
"fastboot erase recovery"
did the above things in any imaginable combination
I hope someone has some fresh suggestions for me? Thanks for your time.
Bro as far as I know the recovery is not installed u should install twrp from this thread the one on the official site gave me soft brick
Now about the dead android with no command shows that you are on stock recovery and u have booted into it successfully to go further into stock u have to press power and volume up at the same time (like u lock ur phone) but it won't help in installing anything try the recovery I linked (first format your phone complete data and cache wipe from stock recovery not necessary actually) install it through fastboot command and let me know if it worked (with thanks button) BTW what's ur bl ver
thanks for your fast response faizxy, as stated i already tried the one from that thread (i did not use the identical interpunction to describe it but to be clear it is twrp-2.8.7.0.-falcon_M_STOCK.img)
Where do i find my bootloader version? It is the one that came with the device, factory issue...
Some extra info, that might anwser faiz' question: when i boot the bootloader it shows:
"AP Fastboot Flash Mode (S) 41.1A (sha-80481ae, 2015-04-10 14:30:28)
Hope you guys will forgive me for bumping a bit soon, but I really hope some one has a solution! Tomorrow I have time to tinker some more
Have you tried at least one recovery that is actually for your phone (peregrine)?
_that said:
Have you tried at least one recovery that is actually for your phone (peregrine)?
Click to expand...
Click to collapse
Ah. I guess not. Did not know that there where recovery's specifically for the peregrine/xt1039. I searched for "moto g" but apparently is wrong model. DOH!
Thanks for helping out! My problem is solved.
For future reference; finding working pergerine recovery was quite difficult; most mirrors are down. I found one here: https://wiki.cyanogenmod.org/w/Install_CM_for_peregrine and then under header "installing recovery.." under step 2 the download link (i avoid deeplinking)
This one seems to work for me. Now lets find a nice custom rom!
The ones listed here http://forum.xda-developers.com/moto-g/4g-development/progress-twrp-2-7-1-0-source-t2807585 dont work for me. One gives black screen, the other one shows an unlock slider which is unresponsive.
Hi,
Try this one... With encryption abilities or without, your choice...
http://forum.xda-developers.com/showthread.php?t=2996266

Nearly bricked my z5, no don´t know how to proceed

^ Ignore the "no" in the title
Hi guys!
So, today I was fed up with all this pre installed bull**** from vodafone and sony, so I decided to flash cyanogenmod, since I have done that before with my trusty galaxy note II.
So I googled a bit and it looked like it wasn´t that easy, but I startet anyway:
First of all I unlocked my bootloader with the code I got from sony, after that I tried to install twrp with fastboot following the teamandroid guide you get when googling "twrp xperia z5". In minimal adb and fastboot it looked like it worked perfectly, but neither booting while pressing the volume buttons nor the adb command "adb reboot recovery" started twrp.
At that point I was like f*** it (I know I´m an idiot) and followed the guide "How to Install CyanogenMod on the Sony Xperia Z ("yuga")" on wiki.cyanogenmod.com. But after this step:
Code:
"Open a terminal on the PC with admin rights, access your platform-tools directory of the Android SDK, and enter the following:
- fastboot flash boot boot.img
- fastboot reboot
While the device reboots, press the Volume rockers a few times to load recovery."
My z5 didn´t load any kind of recovery, got stuck in a bootloop and I got the red led of death. Now, fortunately, the red led of death is gone and I can use fastboot again but I have no Idea how to proceed. I would like to install cyanogenmod now, but how do I do it without completely bricking my device?
Sorry for my bad english and thanks in advance,
Fritz
Unlock bootloader > flash any stock based kernel that support twrp or cwm> download cyanogenmod Xperia z5> reboot to recovery > flash zip > reboot
Note that downloading different phone zip may results in Hard bricking ur device
By the way u lost ur drm keys u should had backed them up before unlocking ur bootloader
U lost ur warranty so be careful
Thank you so much!! Installed the kernel, it works perfectly now!
iSpammer said:
Unlock bootloader > flash any stock based kernel that support twrp or cwm> download cyanogenmod Xperia z5> reboot to recovery > flash zip > reboot
Note that downloading different phone zip may results in Hard bricking ur device
By the way u lost ur drm keys u should had backed them up before unlocking ur bootloader
U lost ur warranty so be careful
Click to expand...
Click to collapse
Ok, next problem: As soon as I reboot TWRP is gone. Just gone. No recovery installed, I have to flash it new every time.

[Guide] BQ Aquaris M10 (freezerhd) twrp & root

Hi,
as I did not find an English guide for rooting a BQ Aquaris M10 tablet and had some problems when trying to root my tablet, I want to post an guide how to root this tablet.
First of all:
- This guide is just from my experience and is not thoroughly tested. It's on your own if you risk bricking your device.
- If you get stuck in the process, in nearly all cases you can revert to stock with the MTK flash tool (can be found on mibqyyo.com) and the images provided by BQ on their website.
- I could not unlock the bootloader with the 1.X-Images (Lollipop), as the VolumeUp-Button didn't work in fastboot-mode and you need this button to confirm the unlock.
- Booting into recovery from start with VolumeUp and Power-Button. This doesn't work with the 1.X-images, too.
- This guide is not intended for users without experience in unlocking/rooting a device. If you don't know how to use adb, fastboot, recovery and things like that, don't try it!
- You will loose all your data during this process!!
Guide:
Modify boot.img, flash new firmware
SuperSU in systemless mode doesn't work on stock image, as the SuperSU installer can't extract boot.img. You have to repack boot.img.
I tried a SuperSU installer without systemless-mode, but device didn't even boot anymore afterwards.
This guide is derived from a Spanish tutorial on the HTCmania-forum ("Root M10 HD Marshmallow") by yquepongo. Thanks to him!
Get a firmware for your device from the BQ-website (should be Marshmallow, see above) and unzip it to a directory.
Extract the boot-verified.img in the firmware directory with a bootimg-extractor. There are various tools available.
I used bootimg.exe, because this was explained in the mentioned thread and I even used it with wine on Linux and it went well.
Search for cpiolist.txt in your extracted boot-verified.img and delete the first two lines:
mode:mtk
mtk_header_name:ROOTFS
Repack boot-verified.img and put it back in the firmware directory.
Flash the modified firmware with the MTK flash tool according to the tutorial on .mibqyyo.com (Title "Hard Reset for the smartphone range Aquaris and Aquaris E"). In short: Disconnect device, start Tool, load scatter file from firmware directory, choose firmware upgrade, start download, connect the device in power off state, download will start automatically.
This will delete all your data and put the device back to factory rom (hard reset)!!!
If you don't want to flash the complete firmware, you can flash only the boot-verified.img with "Download only" in the flash tool. I didn't try this and don't know if this is working.
Start your device, don't activate any security settings to prevent encryption of data partition.
Unlock bootloader, flash TWRP, install SuperSU
Enable developer settings on device and activate "OEM unlock" in developer settings.
Reboot into fastboot (adb reboot bootloader) and unlock bootloader (fastboot oem-unlock).
This will delete all your data!!! Reboot your system afterwards to make sure everything is still ok.
Do not activate any security settings and make sure your data partition is not encrypted!
The existing TWRP-image can't handle an encrypted data partition, you will end in a boot loop and have to start the whole process again!
Double check, your data partition isn't encrypted. (Settings - Security)
Reboot into fastboot (adb reboot bootloader) and flash the TWRP-image from the TWRP-site (fastboot flash recovery twrpxxx.img)
After reboot TWRP should start.
If you have checked that everything is ok (I would recommend a reboot into normal mode), you can install SuperSU with the standard-installer-zip in TWRP.
If you didn't modify your boot.img, the installer will give a warning that it cannot extract boot.img and you will not find any SuperSU on your system.
If you get stuck in bootloop afterwards you can start anew and try it with another image flashed with MTK flash tool. (Firmware 2.2.0 from December 2016 for freezerhd worked in my case)
Maybe some steps could be shortened, but I haven't tried it.
hi zrfl,
i have a bq aquarius m8 with mm os.
the m8 has the same resolution (1280x800)
can i try the twrp recovery from the m10?
i will also root my m8 but i cant extract the boot-sign.img.
all tools fails.
have you any ideas?
update:
yesterday i opened the bootloader. the volume button works in fastboot-mode.
also i can unlock the boot image with the tools from: https://forum.xda-developers.com/showthread.php?t=2073775
but the unpack fails:
Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers
Supplied image: unlokied-new.img
Setting up work folders . . .
Splitting image to "/split_img/" . . .
Android boot magic not found.
Error!. . .
Click to expand...
Click to collapse
i think this bq boot image use non-standard header. any ideas how to root this bq aquarius m8?
i buyed this tablet only to can use xposed.
i think, any android without root or xposed is useless
i opened a separate theme for this : https://forum.xda-developers.com/android/general/root-help-to-root-twrp-recovery-bq-t3536170
dreas74 said:
hi zrfl,
i have a bq aquarius m8 with mm os.
the m8 has the same resolution (1280x800)
can i try the twrp recovery from the m10?
i will also root my m8 but i cant extract the boot-sign.img.
all tools fails.
have you any ideas?
update:
yesterday i opened the bootloader. the volume button works in fastboot-mode.
also i can unlock the boot image with the tools from: https://forum.xda-developers.com/showthread.php?t=2073775
but the unpack fails:
i think this bq boot image use non-standard header. any ideas how to root this bq aquarius m8?
i buyed this tablet only to can use xposed.
i think, any android without root or xposed is useless
Click to expand...
Click to collapse
Sorry, but I can't help you there, as the M8 seems to be too different to the M10: I didn't have to unlock the boot.img, it was easy to unpack.
hi zrfl,
thanks for your reply. i contacted the developer osmOsis from the android image kitchen.
he will implement the bq specials in his tools.
more in the AIK thread: https://forum.xda-developers.com/showthread.php?t=2073775&page=108
this is the only way to root this device !!
thanks a lot ...
Thanks for this tutorial.
I've followed all the step, I'm able to flash the new recovery from the TWRP website but then I do a
Code:
fastboot reboot-bootloader
but the device reboot normally, just with a warning message during boot saying something like "This device is unlock and can't be trusted, it will boot in 5 seconds".
So I'm unable to access TWRP recovery, I guess when the device reboot it override the recovery partition because if I do a
Code:
adb reboot recovery
I end up in the Android recovery not TWRP.
Any idea ?
Thanks
ZazOufUmI said:
Thanks for this tutorial.
I've followed all the step, I'm able to flash the new recovery from the TWRP website but then I do a
Code:
fastboot reboot-bootloader
but the device reboot normally, just with a warning message during boot saying something like "This device is unlock and can't be trusted, it will boot in 5 seconds".
So I'm unable to access TWRP recovery, I guess when the device reboot it override the recovery partition because if I do a
Code:
adb reboot recovery
I end up in the Android recovery not TWRP.
Any idea ?
Thanks
Click to expand...
Click to collapse
Sorry, I have done this a long time ago and don't know what could be wrong:
You have the correct message, so unlock was successfull
You try to reboot in fastboot, so you flashed TWRP correctly in fastboot-mode
And I don't have the device at hand to try it myself. But I do have a few suggestions, what you could try:
Don't try to shorten procedure with unlock and flashing of TWRP at once. I'm not sure, but I think I had problems when I tried this. So do a normal reboot after unlock, before booting again into fastboot and flashing TWRP. (Now you have done this already )
I don't remember the proper boot command after flashing of TWRP. But
Code:
fastboot reboot-bootloader
doesn't make sense: You are already in bootloader.
Is there a boot-option in the bootloader where you could choose recovery?
Otherwise better power off and use the key-combination for booting into recovery: VolumeUp+Power.
I think, you have to repeat the procedure, as recovery seems to be overwritten: Boot into fastboot, flash TWRP, reboot into recovery. And avoid normal booting before first boot into TWRP!
Did you use the newest TWRP 3.1.0 from March 8th? I haven't tried this yet, so there could be the problem. You could try the previous one: 3.0.2 from last year.
Thanks, I succeed with the combo key (power + vol up) directly after the reboot process
Perfect it's working great now !
I did exactly what you wrote but SuperSU won't install because it cannot extract the ramdisk...
Hi @zrfl
Thanks for your posting!
I did as you suggested and successfully unlocked bootloader and installed TWRP 3.1.1. Your hint to modify the boot-verified was extremely helpful, as I wouldn't be able to unlock the bootloader otherwise.
However, I did not manage to install super su. And boy, I tried many different versions od regular/system/systemless supersu, each flashed according to the respective how-to.
I ended up either in a bootloop, or get stuck on the Android logo at boot.
Flashing goes well until this step:
"Decompressing ramdisk
--- Failure, aborting"
I checked ramdisk compression of boot with Carliv image Kitchen and it tells me that it already is set to "gz" and not another compression TWRP can't handle.
Please help me on how to flash SuperSu.
Thanks and best
Tom
There is something wrong: TWRP does not need a modified boot.img.
Maybe newer ROM-versions are different.
Solution for geting root on BQ M10 FHD on stock rom 2.6.2: Start with a fresh system and install magisk beta (not stable), reboot and root is granted!
tanks a lot to @scafroglia93!
Are there any Custom ROM's
For this Tablet like CM/LineageOS AOSP etc?
Googling reveals nothing and Considering all the kernel mods like hardcore and Ubuntu touch I find it hard to believe that nobody has built one of the later.
I've been searching for custom ROMs too. Apparently, there are none available at present. However, I'd highly appreciate lineage rom.

The Ultimate guide to flash and root Xperia L (aka, taoshan)

This thread will guide you to flash a custom recovery, Root the device, flash custom ROMs. Firstly, read the entire post and then start your work.
I am a noob. But I have a little experience of rooting and flashing. This device gave me nightmares which are less than as compared to the Xperia Sola which I bricked some years back.
My device has a problem. It does not help install twrp with the traditional ways we know like we can see in the Official TWRP website using "dd" method, the Cyanogenmod link using fastboot commands, the Flashify method, the RecoveryApp method whose apk I never found and the Recovery Installer Utility.
I came to know that either my phone don't have the recovery partition or the phone is overriding all the commands.
Using fastboot commands would give the error like in this post.
Using Flashify would tell me there's no recovery partition found. Rashr would complete the flash process but after booting to recovery, there was no TWRP, just the stock Android recovery.
If you read carefully on the twrp page of XL, there's a line which caught my attention late enough.
It means that TWRP may not work on your device unless you install other custom software as well.
Click to expand...
Click to collapse
Flashing custom kernels with flashtool is easy and they come with recovery pre-installed and lots of amazing stuff, but they won't do any good with the stock ROM. I've tried the Extended stock kernel, the Phantom Kernel and the Thunderzap 4.15.
After surfing the web and forums of other devices, I found that there is a chance I can fix things by updating/repairing software via PC Companion. But something happened and repair also failed.
I can't tell the reason why this happened. And I didn't store the logs. But with trial and error I found some workarounds.
Actual Methods start here
Rooting the device
If you only want to root your device for various reasons, then you will need nothing but a Rootkit. Check out this post about Rooting Xperia L.
But if you are planning to install custom ROMs for your device, then skip this rooting step. It won't be necessary for this condition.
Flashing custom recovery
*Try this method only if above-mentioned method fails*
1. Download TWRP 3.2.1 img. The 3.2.2 and 3.2.3 versions work perfectly but they caused the screen to flicker like hell on my device. Rename the file to 'twrp.img'
2. Download and install adb and fastboot drivers system-wide.
3. Connect your device to PC via USB cable and enabling USB-debugging mode.
4. Open Windows Powershell/Command Prompt in the twrp download directory by pressing Shift and clicking right mouse button.
5. Use fastboot command on stock ROM without root and Unlocked Bootloader. Instead of flashing twrp image to recovery, flash to boot. Use the code:
Code:
adb devices
adb reboot fastboot
Wait for device to boot into fastboot mode. A blue LED will flash when connected.​
Code:
fastboot flash boot twrp.img
fastboot reboot
After reboot, don't boot to system. Boot to recovery by pressing volume up repeatedly when pink LED glows. Stop when device vibrates and LED color changes
Flashing custom ROMs
Once the recovery is installed, everything becomes easy. you can find different custom ROMs on the device page here on XDA.
My favorite one is The resurrection Remix Nougat. It is stable enough to be your daily driver. You can head to that page and follow their instructions. But I will also provide steps here.
When in TWRP after the last step, move the downloaded zip file of the ROM and GApps you want to install to the storage of the device by simply connecting via USB.
After that, in TWRP click on Wipe->Advanced->Tick on System, Cache, Dalvik cache. Then Do swipe to begin wipe.
After wipe, go back to main menu. Tap on install, select from the list the ROM zip. then tap on Add more zips and select the GApps zip and then Swipe to start flashing.
After flashing, reboot to system. The first boot takes time. Don't panic if it won't boot.
Install TWRP to FOTAKernel
After booting to your new ROM, you can install the TWRP to your FOTAKernel.
This can be done as following:
Get the downloaded TWRP img file and push it to the device using command line. Open command prompt in the TWRP directory and type,
Code:
adb root
adb wait-for-device
adb push twrp.img /tmp/twrp.img
Now extract the TWRP image to the FOTA partition code,
Code:
adb shell dd if=/tmp/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Now reboot to recovery
Code:
adb reboot recovery
Note that custom ROMs often come with Root access inbuilt. If your ROM happened to be not, and your ROM is based on Lollipop or later version of Android, you can root with Magisk. Just read carefully before proceeding.
Comments are welcome!
Hi.
I'm following this thread and I'm stuck on the fifth step "... flash to boot. Use the code:
adb devices​adb reboot fastboot "​
I think my Sony Xperia L C2105 does not have the fastboot mode.
Here's what I did:
Drivers for Xpleria L are installed.
The bootloader is unlocked (I think!)
1 - installed 15-second ADB
2 - open Windows power shell
3 - Command: adb devices
Response is: "List of devices attached: ZH8001ADB3 device"​
4 - Command: adb reboot fastboot
Response is: long pause, phone booted but in normal mode, and light is red ...!​
5 - Command: fastboot flash boot twrp.img;
Response is: "<waiting for device>";
- phone still running in normal mode and the light is red.
- few minutes later, the phone is charging with green light present.​
I think the phone is rooted.
I used the code provided by the Sony website to unlock the bootloader.
Using the Root Checker Basic app, I get the info: "Congratulations! Root access is properly installed on this device!"
But if I type in the dialer *#*#7378423#*#*, and go to Service info > Configuration > Rooting status is "Boootloader unlock allowed" !!
Is that why it does not work?
I tried switching it off and doing Boot into Xperia L Fastboot Mode Using HARDWARE BUTTONS, but the phone is dark, with no picture, and the led turns blue.
Using the command:
PS C: \ adb> adb devices
List of devices attached
PS C: \ adb>
I've been trying to do that for a few days now and I still have not managed it, even using other advice.
Can someone tell me what to do?
Thank you in advance.
Everterra said:
Hi.
I'm following this thread and I'm stuck on the fifth step "... flash to boot. Use the code:
adb devices​adb reboot fastboot "​
I think my Sony Xperia L C2105 does not have the fastboot mode.
.......
Click to expand...
Click to collapse
1. When in fastboot mode, you should type in cmd "fastboot devices" to check the device connectivity. If you can't, then connect using hardware keys.
2. Blue light indicates that you are in fastboot mode. If list of attached devices are blank, that means drivers are not installed (properly). Connect your phone again in fastboot mode and check your drivers page, Win+X > M (I am assuming you must be on windows). There must be a tiny yellow triangle on your device's name. Right click on it and uninstall it and remove device. Try again installing drivers from the flashtool's folder. Disable driver signature enforcement if you are having trouble going the straight way.
3. Your bootloader is still locked because if it had unlocked then the message displayed would have been, "Bootloader Unlocked: Yes" or something like that. Try flashing your stock ROM via Flashtool. Wipe cache and data while flashing. After flashing stock Rom, try unlocking bootloader again. I believe you are using Flashtool.
4. If you are rooted, then you must have any SuperSU app installed on your device. And it's all good even if you are rooted.

Categories

Resources