How to fix phone (without needing power down button) - Sony Xperia M

I was stupidly trying to press the power down button (the internal one after removing the back cover) with a pen and now it seems to be permanently indented (but not actually registering as being pressed as far as I can tell). And can't get it to press (I read aluminium foil is useful here somehow? Not sure how?)
Anyway, this happened when I was just after unlocking bootloader (4.3 stock rom) and now my phone will not boot (loops at Xperia wave).
I have also flashed CM12 boot.img through fastboot, but phone won't enter recovery mode.
So the normally recommended rescue from this is to enter fastboot flash mode by holding power up when plugging in USB (this works OK), then using Flashtool to flash an ftf. Unforutunately the flashing procedure requires early on that you plug out the USB, then plug it back in while holding power down (can't hold power down).
Any solutions to this? Any way to flash anything at all in fastboot that will give me recovery, or a booting phone, or the ability to run adb reboot recovery (any way to reboot to recovery from fastboot?)
Thanks.

seanp25 said:
I was stupidly trying to press the power down button (the internal one after removing the back cover) with a pen and now it seems to be permanently indented (but not actually registering as being pressed as far as I can tell). And can't get it to press (I read aluminium foil is useful here somehow? Not sure how?)
Anyway, this happened when I was just after unlocking bootloader (4.3 stock rom) and now my phone will not boot (loops at Xperia wave).
I have also flashed CM12 boot.img through fastboot, but phone won't enter recovery mode.
So the normally recommended rescue from this is to enter fastboot flash mode by holding power up when plugging in USB (this works OK), then using Flashtool to flash an ftf. Unforutunately the flashing procedure requires early on that you plug out the USB, then plug it back in while holding power down (can't hold power down).
Any solutions to this? Any way to flash anything at all in fastboot that will give me recovery, or a booting phone, or the ability to run adb reboot recovery (any way to reboot to recovery from fastboot?)
Thanks.
Click to expand...
Click to collapse
okay, now what you want to do? you want have recovery on your phone?
yes, some boot.img will give you recovery when you flash in on flash mode. but that can make your system incompatible with your custom boot.img/kernel. cause almost all boot.img is modified kernel with included recovery inside them.
if you want get recovery, try to flash your stock firmware again and do a full wipe data and cache on flashtool (don't forget to wipe or you will get a bootloop). after complete wait untill enter to home screen and let's do simple root on your phone using towelroot and install normal SuperSU. after done, try to look at this thread http://forum.xda-developers.com/showpost.php?p=61626285&postcount=1. install that recovery using adb command. after done you only need to reboot and you've recovery mode .
---------- Post added at 04:39 PM ---------- Previous post was at 04:34 PM ----------
and try to move your thread on Q&A thread not General thread. i think more people will try to solve your problem here

Related

[Q] Doomkernel Bootloop - Won't Boot To Anything

I apologize if this has been covered before, but I couldn't find anything similar when searching this forum. I recently flashed Doomkernel v14 using Flashtool on my Play, and when I rebooted the phone after installation, it gets stuck in a bootloop. Not only that, but I can't seem to get into recovery or fastboot mode. I'm holding down the buttons for the phone to go into either of those modes, but it just reboots regardless. If it helps, the ROM installed on my phone is NXT Lite Edition, and the previous kernel was whatever the latest Lupus one is. Is there a way out of this for me? Thanks!
TGBM said:
I apologize if this has been covered before, but I couldn't find anything similar when searching this forum. I recently flashed Doomkernel v14 using Flashtool on my Play, and when I rebooted the phone after installation, it gets stuck in a bootloop. Not only that, but I can't seem to get into recovery or fastboot mode. I'm holding down the buttons for the phone to go into either of those modes, but it just reboots regardless. If it helps, the ROM installed on my phone is NXT Lite Edition, and the previous kernel was whatever the latest Lupus one is. Is there a way out of this for me? Thanks!
Click to expand...
Click to collapse
Try:
1. power off phone. Hold search button and plug it in pc. From PC, start command prompt in android SDK folder (or in wherever path is your fastboot.exe in pc. Mine is at \android-sdk-windows\platform-tools\) and type:
fastboot erase userdata
fastboot erase system
Disconnect you phone. press power button, and when phone vibrate, keep pressing back button to enter recovery and flash your rom.
2. Power off phone. Hold search button and plug it in pc. Start flashtool and flash kernel you previously used. Unplug your phone, power on and when phone vibrate, keep pressing volume down button to enter clockwork recovery. Wipe system and data. Power off your phone. Hold search button and plug in your phone to pc. Flash Doomlord Kernel with flashtool.
Disconnect you phone. press power button, and when phone vibrate, keep pressing back button to enter recovery and flash your rom.
Keep in mind that everytime you flash kernels with different partition layout, you should do one of those two things stated above.
Bakisha said:
Keep in mind that everytime you flash kernels with different partition layout, you should do one of those two things stated above.
Click to expand...
Click to collapse
Excellent. And yeah, I should I have known better to flash the kernel without reinstalling the ROM. Thanks so much!

how to root marshmallow h815 v20a?

Hi
need to know whats the steps to root marshmallow
currently device running stock marshmallow .phone, adb, fastboot and download mode working fine but no any recovery installed, i see error icon when i execute command adb reboot recovery.
can i flash 20A repacked boot.img via fastboot command ? whats the command used for it ? because am trying to flash via recovery but no way to access on it, its seems there is no any recovery on phone.
thanks
how you did then with octopus ? you paid the liscence activation 100 dollars? you know if that workes you can help very a lot of people on the forum.....
---------- Post added at 06:20 PM ---------- Previous post was at 06:14 PM ----------
the prize on your website for octopus +lg and sam activation its 200 dollars ... lol
To flash image files via fastboot, go into Developer Options and make sure 'Enable OEM unlock' and 'Enable USB debugging' are both ticked. You should then be able to flash the recovery image in fastboot by using fastboot flash recovery <filename>.img. To then get into recovery, boot into the device as normal and then use the 'adb reboot recovery' command. You can also get into recovery by turning the phone off, then holding the power and volume down keys. When you see the LG logo, let go of the power button for a second and start holding it again, whilst keeping the volume down button held. You should then get a screen asking if you want to factory reset the device. Choose Yes both times using the volume keys and the power button. Don't worry, this won't actually reset your device, it should load up the recovery.
The method I used for rooting, once on stock Marshmallow, was flashing this rooted kernel and then this SuperSu zip in recovery. Don't forget to backup at least your system partition before flashing.

Trying to install TWRP but the phone keeps overwriting it

Trying to install TWRP v3. Phone is unlocked (not rooted yet as not necessary atm). I'm able to sucesfully push the .img to the sdcard via adb and install via "fastboot flash recover twrp.img" but the moment I reboot the phone and try to access recovery to get into TWRP, all I get is a little icon of an android mascot lying down with his belly open. No TWRP.
I know the phone will auto-overwrite custom recovery's if the correct combination of hardware buttons are not pressed after the first TWRP install (as TWRP needs to patch the default recovery the first time to stop the phone from constantly trying to overwrite TWRP every time) but so far i've not been able to find out what it is (i.e. not the usual vol +- and power all at the same time. Its gotta be something else?).
Edit: Delete his post. I figured it out. Turns out it isn't a good idea to execute "fastboot reboot" immediately after TWRP installation
Don't restart the Phone!
Flash Recovery and the do the following:
Use the volume keys to scroll and power key to select the Reboot Bootloader option. Once the phone has booted back into the bootloader you can use the volume keys to scroll and the power key to boot into your newly flashed recovery. It's now safe to disconnect your usb cable.

can't get into recovery mode

hi
i just unlocked my mi5s now, but when im trying to get into recovery mode (volume up + power) it still shows me the phone picture.
there is something that i am missing?
Flash the recovery, when in fastboot reboot into recovery by "fastboot boot recovery.img" if that's the name of the file on your computer. It will boot into recovery. After that, turn of the phone and boot into recovery with the button combination. Do not boot into the OS as it will disrupt the process! After this you should be fine. If not, try again, as you probably failed to directly boot into recovery with the button action.
Also, do check that you push both the volume keys plus the on/off button. So three in total.
8166uy said:
Flash the recovery, when in fastboot reboot into recovery by "fastboot boot recovery.img" if that's the name of the file on your computer. It will boot into recovery. After that, turn of the phone and boot into recovery with the button combination. Do not boot into the OS as it will disrupt the process! After this you should be fine. If not, try again, as you probably failed to directly boot into recovery with the button action.
Also, do check that you push both the volume keys plus the on/off button. So three in total.
Click to expand...
Click to collapse
as far as i know, when im unlock the phone, it unlock the recovery mode so i can access it by volume up + power instead of the phone picture.
i want for now stay with the stock recovery and not flash a custom one
Mm, you could use the phrase "fastboot reboot recovery". If that doesn't work, flash the latest Global beta and try again both ways.
If that also doesn't work, recheck if the phone is really unlocked (sometimes Xiaomi phones relock after an update without any good reason).
You could also try to find the stock recovery and use it in the method in my first reply. But keep that for last, as I don't know for sure how that recovery reacts to such a thing. Although I can't think of a reason why it would go wrong, it's better to be save than sorry.

Phone might be bricked. Need help to find a solution!

Hello everyone! Complete dumbass here!
I was following the guide to root my razer phone. I've had it for a couple months, and decided to root it. I followed the guide here https://forum.xda-developers.com/razer-phone/how-to/twrp-magisk-fullproof-guide-razers-wifi-t3756137
After a couple bumps in the road, such as fastboot commands not working, not being recognized, etc. I finally was able to unlock bootloader and install twrp. But it was #9 that got me stuck again.
"9.) Once in recovery, go to the install button, and select Install Zip, and select Magisk-v16.0.zip."
In recovery, adb devices and fastboot devices yielded no devices attached. Doing a search, I came across another forum post where it states the sdcard is encrypted and can't be accessed in twrp, and the fix is to do something like "Wipe>Wipe Data> Type Yes" and that should factory set the card. I did this and rebooted the device. I waited for a half hour for the animated PixelFloatingInACircle logo to be done with it's floating in a circle, but ended up going to bed and letting it die. Woke up this morning, plugged it in, got the razer logo splash screen with the orange text telling me of my impending doom, then went back to the animation. I let my dog out and came back and it was still on. I unplugged it and am letting it die again to see if there's another solution.
I'm wondering if anyone else came across this issue, and if so, how did they fix it? Any help would be appreciated.
Use the factory images in the developer portal. You have to manually install the fastboot driver or you won't see the phone in fastboot devices. After that you can flash_all.bat.
PS: if you just want root you can use magisk installer to patch the boot image (from the factory images) and then flash the patched_image.img. That's it, now you have root via magisk
waiflih said:
Use the factory images in the developer portal. You have to manually install the fastboot driver or you won't see the phone in fastboot devices. After that you can flash_all.bat.
PS: if you just want root you can use magisk installer to patch the boot image (from the factory images) and then flash the patched_image.img. That's it, now you have root via magisk
Click to expand...
Click to collapse
The problem is when I try to enter download/recovery mode after charging the battery a little, it doesn't go to that menu. Instead, it skips right to the particle logo, and that's where it hangs.
The only guide I saw was the one I listed. Is there a guide for this magisk installer?(Ya know, in case I figure the first problem out, so I might try my hand at potentially creating another)
i think there is a way to hard reboot the phone, so you can do that and then hold the vol- key to start in bootloader mode when it reboots.
gonna check the correct buttons.
Edit: the button combination is power+vol+ for about 10-15 seconds, and the phone will reboot. You have to connect the phone via usb cable (before rebooting) to the computer (the only thing i'm not sure is if you have to have the fastboot drivers in the pc installed previously or if you can do it after entering fastboot) and just after the screen goes black while hard rebooting you have to release all the buttons and then press and hold the vol- button. The combination of vol- and the usb cable on boot seems to trigger fastboot mode.
I think the guide is in the guides forum, but the way it worked for me was without twrp:
- install magisk manager from this link -> https://github.com/topjohnwu/MagiskManager/releases/download/v5.7.0/MagiskManager-v5.7.0.apk
- push your boot.img (the easiest way is getting it from the factory image corresponding to the firmware you are using) to the sdcard
- open magisk manager -> install -> patch image only -> boot.img
- this will generate a patched_boot.img in /sdcard/MagiskManager
- copy that file to your pc
- go to fastboot and flash that patched image: fastboot flash boot patched_boot.img
- enjoy root, and you can use magisk hide for apps that don't like root
Regards
waiflih said:
i think there is a way to hard reboot the phone, so you can do that and then hold the vol- key to start in bootloader mode when it reboots.
gonna check the correct buttons
Click to expand...
Click to collapse
Tried this originally after I let it die the first time. It still boot to the animation logo.
Bloodeagle said:
Tried this originally after I let it die the first time. It still boot to the animation logo.
Click to expand...
Click to collapse
Read the edit, I found that the trigger is having the usb cable connected to the pc. Try that, or you can also try to adb while the device is booting (particles logo). Sometimes adb is responsive even when booting. There you can try to adb reboot bootloader
waiflih said:
i think there is a way to hard reboot the phone, so you can do that and then hold the vol- key to start in bootloader mode when it reboots.
gonna check the correct buttons.
Edit: the button combination is power+vol+ for about 10-15 seconds, and the phone will reboot. You have to connect the phone via usb cable (before rebooting) to the computer (the only thing i'm not sure is if you have to have the fastboot drivers in the pc installed previously or if you can do it after entering fastboot) and just after the screen goes black while hard rebooting you have to release all the buttons and then press and hold the vol- button. The combination of vol- and the usb cable on boot seems to trigger fastboot mode.
I think the guide is in the guides forum, but the way it worked for me was without twrp:
- install magisk manager from this link -> https://github.com/topjohnwu/MagiskManager/releases/download/v5.7.0/MagiskManager-v5.7.0.apk
- push your boot.img (the easiest way is getting it from the factory image corresponding to the firmware you are using) to the sdcard
- open magisk manager -> install -> patch image only -> boot.img
- this will generate a patched_boot.img in /sdcard/MagiskManager
- copy that file to your pc
- go to fastboot and flash that patched image: fastboot flash boot patched_boot.img
- enjoy root, and you can use magisk hide for apps that don't like root
Regards
Click to expand...
Click to collapse
Progress! Got it into download mode. I have the boot.img I got from razer, should I push that and see if it boots normally?
Bloodeagle said:
Progress! Got it into download mode. I have the boot.img I got from razer, should I push that and see if it boots normally?
Click to expand...
Click to collapse
As you already wiped the data partition, you should use the flash_all script. But yes, you can try flashing each partition
waiflih said:
As you already wiped the data partition, you should use the flash_all script. But yes, you can try flashing each partition
Click to expand...
Click to collapse
I moved the flash_all script into the tools folder and after a little while, the phone booted up into setup! After a couple taps, I've realized the wifi isn't working, which I know is a known issue. I'm gonna let it sit for the night and finish it in the morning!
EDIT : Soooo, I know I said I was going to bed, but I decided to fix the wifi issue, which in turn, also rooted my phone. I've downloaded the root checker, and it confirms it! Thanks so much Waiflih! You rock!
Hi guys, it seems I'm having the same problem and basically after unlocking my bootloader and flashing twrp to both of my slots I'm stuck on "Your device has been unlocked and can't be trusted" booting up infinitely.
The USB plug in and holding the volume - button doesn't bring up "download mode" and no matter what buttons I try and press on my phone my computer doesn't recognize ANYTHING connected to it anymore.
Bloodeagle, how did you manage to get "download mode" back onto your phone? it seems like mine refuses to do anything like download mode.
saberhashemi said:
Hi guys, it seems I'm having the same problem and basically after unlocking my bootloader and flashing twrp to both of my slots I'm stuck on "Your device has been unlocked and can't be trusted" booting up infinitely.
The USB plug in and holding the volume - button doesn't bring up "download mode" and no matter what buttons I try and press on my phone my computer doesn't recognize ANYTHING connected to it anymore.
Bloodeagle, how did you manage to get "download mode" back onto your phone? it seems like mine refuses to do anything like download mode.
Click to expand...
Click to collapse
Have you tried holding few combinations of different butt9ns for a minute or two to see if that results in you getting in downl9ad mode?

Categories

Resources