flash recovery from booted android? - Galaxy S 4 Q&A, Help & Troubleshooting

hi,
i have an old S4 which I wanted to update to new LineageOS. First I tried to flash TWRP by JCDteam, but I got error, and now recovery does not boot - it simply restarts the phone. The problem is, that the USB port is dead on the phone (shows Device has malfuncationed when connecting to PC), so I cannot use Odin to flash new recovery. Is there any way to flash TWRP to Recovery partition from the phone itself (it boots and works fine and has root)?

Try to use genuine cable first not some Chinese fake things.
Plenty of apps available to flash recovery, try to install twrp app

I think I've bricked. it. I've tried to do dd from terminal but when I rebooted, the recovery still doesn't boot (starts booting then reboots), the phone doesn't boot anymore (stuck on LineageOS logo), and if I boot to download mode and connect usb cable (and i've tried tons of them) it just says unknown device
Anything else I can do?

mrQQ said:
Anything else I can do?
Click to expand...
Click to collapse
Replace the USB port so you can flash a system image through Ofin. If I recall correctly the port is on its own board, so if replacing the port isn't feasible, replacing the board the port is on with one from a different S4 should work. Of course only you can determine whether doing so is worth the time and energy.

Related

Delete

Delete
Nikolay15 said:
I tried to install twrp on my d802 and the first method didnt work ,so i tried the second and it looked like it had worked but when I rebooted in recovery it said :
boot certification verify
secure booting eror
couse: boot certifiction verify
and after that it goes to a black screen.
I also tried to boot into bootloader and it just booted up normaly. The phone works normaly it can boot. I am on kitkat stock rooted I also tried instaling other recoverys like cwm philz and other versions of twrp and it didnt work.
Shoud i try doing this http://forum.xda-developers.com/showthread.php?t=2582142 , or there's some easiar way
Click to expand...
Click to collapse
If you can get your PC to recognize your phone with the phone's drivers installed, then you have hope. If you can still get into android itself, install twrp installer from the Play Store. Update to the latest recovery from there (assuming your rooted).
If you cannot get into android, but when pressing volume up while plugging a usb cable connected to a PC in, your phone is recognized by the PC, you have to flash the stock KDZ file using the R&D test tool that floats around on these forums. It will unroot your device, but it will give you the chance to start clean and unharmed.
For me, I have to send mine in under warranty because now my G2 doesn't even pop up on Windows or Linux.
MDA400 said:
If you can get your PC to recognize your phone with the phone's drivers installed, then you have hope. If you can still get into android itself, install twrp installer from the Play Store. Update to the latest recovery from there (assuming your rooted).
If you cannot get into android, but when pressing volume up while plugging a usb cable connected to a PC in, your phone is recognized by the PC, you have to flash the stock KDZ file using the R&D test tool that floats around on these forums. It will unroot your device, but it will give you the chance to start clean and unharmed.
For me, I have to send mine in under warranty because now my G2 doesn't even pop up on Windows or Linux.
Click to expand...
Click to collapse
I can boot in android and i am rooted. I instaled twrp manager and it says that there's no compatble recovery with my device samo goes for goomaneger.
I tried to install stock recovery and it got me stuck on lg logo .
I instaled it with this comand dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

Reformatted /system, can't install new rom

I wanted to completely reformat my phone as my phone was buggy with Cyanogen Mod 12, so I formated everything.
The problem is that my PC was not detecting the drivers when in recovery mode, so I couldn't side-load with ADB, and I have no way of getting a .zip on to it.
I tried re-installing the clockwork mod using ODIN but it would just crash the application. I then tried heimdall and that said it installed it (I was hoping that it would fix adb)
Now I can't boot in to the clockwork mode recovery as it just instantly turns the phone off, however I can just boot normally in to the Galaxy S4 logo screen.
When I'm in the logo screen I do have access to ADB, however my phone is unathorised and I have no way to authorise it.
How can I A) fix clockwork recovery so it works again and B) put a zip on the phone or fix ADB detecting my device in recovery?
If you can get into download mode, flash a full stock ROM via Odin and start again
DSA said:
If you can get into download mode, flash a full stock ROM via Odin and start again
Click to expand...
Click to collapse
That worked great, thanks.
no probs, i find it to be a pretty good fall back in case of issues (just annoying reinstalling games etc..)

Possibly bricked shield?

I installed the 3.0 update and it never removed TWRP, however TWRP is not working. If I flash the zip file for 3.0 it reboots the system in the middle of installing. I tried flashing the cm12 and cm13 zip files and they say they flashed successful but nothing appears to have installed, and I currently have no rom or firmware installed and can't seem to boot to fastboot. Any ideas?
Here is what happens when i flash the 3.0 zip file. https://youtu.be/-ZVnaNdn6-M
I seen the same logo don't know what to do as well. My parent click update while i was away from home when i got back it just the logo with nvidia.
Restore using the recovery images here for your device https://developer.nvidia.com/gameworksdownload using fastboot not twrp.
The way I get to bootloader is pull the power cable, plug back in and hold power immediately until the menu appears YOU MUST HAVE micro usb connected to a pc while doing this.
I'll give it a try. Thank you for the reply
Try this:
http://forum.xda-developers.com/shield-tv/general/guide-how-to-flash-recovery-image-t3321404

[Hard brick] recovery bootloop: no recovery mode, no download mode accessible

Hi,
I was flashing twrp with flashify when I just rebooted in recovery and since that moment my phone is stuch on an infinite bootloop showing me the:
"Recovery booting (recovery is not seandroid enforcing...)"
I'm plugging off the battery for some hours, but when plugged in nothing changed.
My phone has the usb port broken, so I can use it only to charge the battery, but no pc will recognize it.
Since the fact that I can't access download mode, or recovery mode to restore a nandroid backup, It's insane to buy a usb port to change it on the phone and try to link to a pc?
I mean, is there a way to access download mode?
Does JIG usb work in this situation of hard brick?
Any advice?
Thanks for answering.
whychange said:
Hi,
I was flashing twrp with flashify when I just rebooted in recovery and since that moment my phone is stuch on an infinite bootloop showing me the:
"Recovery booting (recovery is not seandroid enforcing...)"
I'm plugging off the battery for some hours, but when plugged in nothing changed.
My phone has the usb port broken, so I can use it only to charge the battery, but no pc will recognize it.
Since the fact that I can't access download mode, or recovery mode to restore a nandroid backup, It's insane to buy a usb port to change it on the phone and try to link to a pc?
I mean, is there a way to access download mode?
Does JIG usb work in this situation of hard brick?
Any advice?
Thanks for answering.
Click to expand...
Click to collapse
You need a working usb to flash a custom recovery or an offical fw. I thought flashify needs root access to work?. Or if you already have root, you could adb to flash twrp but it's too late now.
Try getting into download mode. When it asks to proceed or cancel, choose cancel. Some people are lucky that the phone boot into system again but they need to fix the broken recovery later.
Sent from my SM-G925F
Rosli59564 said:
You need a working usb to flash a custom recovery or an offical fw. I thought flashify needs root access to work?. Or if you already have root, you could adb to flash twrp but it's too late now.
Try getting into download mode. When it asks to proceed or cancel, choose cancel. Some people are lucky that the phone boot into system again but they need to fix the broken recovery later.
Sent from my SM-G925F
Click to expand...
Click to collapse
After 2 months of battery out, finally I got download mode to work, and pressing cancel my phone started.
Thanks.
But now it seems that there is no custom recovery installed, so when i go in custom recovery, the loop starts again.
How may I install again a custom recovery, knowing that:
1) I can't connect to pc, cm 12.1 has a bug, no pc recognizes my phone;
2) rom manager doesn't install any custom recovery on my phone;
3) flashify made my phone in boot loop, and I can't understand what I was wrong 2 months ago.
Thank you, man.
See your other post man .
Flash the tar version of TWRP using Odin. If there is no tar version, you can use Cygwin to convert an img file to a tar file.

Phone possibly likely bricked...anyway to recover?

I tried flashing an update for TWRP through their app. Apparently now my phone is stuck on boot screen showing 'Recovery booting' and can't get past it.
I can get into Download mode, but the problem is I cannot connect it via a cable to the PC since the phone's USB port is busted.
I have a nandroid backup and all but I just can't get into recovery or boot into system...anyway out or am I done for?

Categories

Resources