Needing expert help. I have a rooted LG G2 D801 with a custom ROM installed. Was stupid enough to accept the most recent OTA and now it just continually goes into TWRP. Have tried to reinstall custom ROM from TWRP. Have tried the LG software to install the kdz file. Always gets stuck at step after extracting the kdz file. Even took it to a local guy and he got stuck in the same place.
I just want the phone back in working order. Don't care which ROM. Will pay $20 for anyone with the working answer.
Thx.
dba723 said:
Needing expert help. I have a rooted LG G2 D801 with a custom ROM installed. Was stupid enough to accept the most recent OTA and now it just continually goes into TWRP. Have tried to reinstall custom ROM from TWRP. Have tried the LG software to install the kdz file. Always gets stuck at step after extracting the kdz file. Even took it to a local guy and he got stuck in the same place.
I just want the phone back in working order. Don't care which ROM. Will pay $20 for anyone with the working answer.
Thx.
Click to expand...
Click to collapse
you can do a couple things. Sideload a new rom from your computer. Google how to setup the drivers and do it. OR from what Ive read you can delete the system partition like you are gonna flash a new rom then you wont get stuck when using the kdz to go back to stock.
Also look on the forums, I think you can run a command via shell in twrp to delete the fota dir and it should boot to. Dont quote me on that
dba723 said:
Needing expert help. I have a rooted LG G2 D801 with a custom ROM installed. Was stupid enough to accept the most recent OTA and now it just continually goes into TWRP. Have tried to reinstall custom ROM from TWRP. Have tried the LG software to install the kdz file. Always gets stuck at step after extracting the kdz file. Even took it to a local guy and he got stuck in the same place.
I just want the phone back in working order. Don't care which ROM. Will pay $20 for anyone with the working answer.
Thx.
Click to expand...
Click to collapse
if you can still get into the recovery you can try this http://forum.xda-developers.com/showthread.php?t=2451696
---------- Post added at 03:01 PM ---------- Previous post was at 02:59 PM ----------
x714x said:
you can do a couple things. Sideload a new rom from your computer. Google how to setup the drivers and do it. OR from what Ive read you can delete the system partition like you are gonna flash a new rom then you wont get stuck when using the kdz to go back to stock.
Also look on the forums, I think you can run a command via shell in twrp to delete the fota dir and it should boot to. Dont quote me on that
Click to expand...
Click to collapse
that is correct http://forum.xda-developers.com/showthread.php?t=2451696
Thx all
Thx all. Will try out tonight.
XxZombiePikachu said:
if you can still get into the recovery you can try this http://forum.xda-developers.com/showthread.php?t=2451696
---------- Post added at 03:01 PM ---------- Previous post was at 02:59 PM ----------
that is correct http://forum.xda-developers.com/showthread.php?t=2451696
Click to expand...
Click to collapse
Tried to delete fota; no avail
Tried this method:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
That didn't help. Now trying to adb shell method from my computer.
dba723 said:
Tried this method:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
That didn't help. Now trying to adb shell method from my computer.
Click to expand...
Click to collapse
Did you write it correctly ? the code ? when you miss some space or something it wont work
Yes. It gave me a strange error about not enough space
Fixed....finally
Thanks for the pointers guys. The fix ended up being this from another post:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
type
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
then hit enter and reboot.
dba723 said:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
type
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
then hit enter and reboot.
Click to expand...
Click to collapse
Dude, you are the best! Thank you so much. The /misc command fixed it for me!!
dba723 said:
Thanks for the pointers guys. The fix ended up being this from another post:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
type
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
then hit enter and reboot.
Click to expand...
Click to collapse
Woohoo.. Just saved me too. My kid accidentially hit the accept on an update when using a custom rom. Back to life now.
THANKS!!!!
Related
Just got asked to make system update via tmobile OTA on my stock rom rooted lg lg2 d801 ? which is weird im on the latest update besides have 4.4 but unfortunately when i restarted to install via on screen instructions it rebooted to twrp and now it wont go to system everytime i restarts it go straight to twrp... wtfff lol
EDIT:Fixed via terminal command in twrp
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
type
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
then hit enter and reboot.
mak213 said:
Just got asked to make system update via tmobile OTA on my stock rom rooted lg lg2 d801 ? which is weird im on the latest update besides have 4.4 but unfortunately when i restarted to install via on screen instructions it rebooted to twrp and now it wont go to system everytime i restarts it go straight to twrp... wtfff lol
EDIT:Fixed via terminal command in twrp
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
type
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
then hit enter and reboot.
Click to expand...
Click to collapse
This worked perfectly. I just got the update also on the same ROM as you. Thank you for the info.
Droidz said:
This worked perfectly. I just got the update also on the same ROM as you. Thank you for the info.
Click to expand...
Click to collapse
glad i could help
Does that mean if i get an update and if i am on stock rooted room and i end up in a boot loop i can install the rom and rely on this command line if things go wrong ?
Sent from my LG-D802 using xda app-developers app
mak213 said:
Just got asked to make system update via tmobile OTA on my stock rom rooted lg lg2 d801 ? which is weird im on the latest update besides have 4.4 but unfortunately when i restarted to install via on screen instructions it rebooted to twrp and now it wont go to system everytime i restarts it go straight to twrp... wtfff lol
EDIT:Fixed via terminal command in twrp
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
then hit enter
type
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
then hit enter and reboot.
Click to expand...
Click to collapse
Any idea how I'd pull this off from CWM? I'm in the same boat but can't seem to get storage mounted or adb.
w00t
I wasn't able to get ADB on my windows VM, but just managed to get it on OS X and this worked perfectly. Thanks so much!
So I did a number on my phone in a half asleep stupor I allowed an official update to go through while running a custom recovery and debloated kitkat. I can't believe I did this to myself. Is there anyway to repair the installation other than wiping the phone again? It was one of those mini updates, but now I boot straight to recovery instead of the operating system.
I am in the same boat you are man. I hit update now instead of later and the phone reboot into recovery and won't boot the ROM. I tried restoring a previous backup with no luck. I'm on a rooted stock ROM running twrp 2.7. Hope someone can shed some light on this.
I found an answer!
Gnex81 said:
I am in the same boat you are man. I hit update now instead of later and the phone reboot into recovery and won't boot the ROM. I tried restoring a previous backup with no luck. I'm on a rooted stock ROM running twrp 2.7. Hope someone can shed some light on this.
Click to expand...
Click to collapse
I found the answer in another thread after an exhaustive search. Serious thanks goes out to the user 6ril1
6ril1 said:
Have you typed the two commands in TWRP
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
and
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
?
Click to expand...
Click to collapse
Here is the thread:
[FIX] Installed TWRP and now you're stuck after OTA?
So here is what you do:
1) Boot into recovery (TWRP)
2) Go to Advanced and then Terminal Command
3) VERY CAREFULLY TYPE IN EXACTLY THIS:
"dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota" then RETURN
"dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc" then RETURN
Reboot and it should have fixed it up for you.
Q&A for [FIX] Installed TWRP and now you're stuck after OTA?
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
hi, how can I access to the terminal of TWRP? we I select "terminal comand", I dont have any terminal opened after...
---------- Post added at 04:24 PM ---------- Previous post was at 03:36 PM ----------
hi, when i put he command in the terminal, i've this message "simulating actions"...? what's the problem please?
Thank's
g2 boot loop twrp
i can get to twrp, but i cant go further... please help
spirecool said:
hi, how can I access to the terminal of TWRP? we I select "terminal comand", I dont have any terminal opened after...
---------- Post added at 04:24 PM ---------- Previous post was at 03:36 PM ----------
hi, when i put he command in the terminal, i've this message "simulating actions"...? what's the problem please?
Thank's
Click to expand...
Click to collapse
I have the same issue with the simulating actions message. I cannot get this device unbricked I seriously need someone to help me out.
To answer your question, you click select at the bottom right to enter terminal.
EDIT: I found the resolution. Executed the command via adb after UNINSTALLING all lg drivers. Hope that helps anyone out in the future. Device is unbricked.
didnt work
I did as the thread outlined and now all thats on my phone is the LG logo while my led indicator goes from blue to green repeatedly. PLEASE help.
When to use the reboot code?
I've managed to install TWRP and flash a rom, but once reboot my phone normally I'm still stuck with the LG logo on the screen, and can't acceess the OS. Should I run the reboot code through adb as soon as I've installed the rom, and use that to reboot my phone instead of simply pressing "reboot" on the screen after the rom is installed. Thanks for your help - LG G2 / D802
I made way to the terminal , I did the right thing , my phone boot only LG logo
soare95 said:
I made way to the terminal , I did the right thing , my phone boot only LG logo
Click to expand...
Click to collapse
help me please
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
After typing this in through twrp terminal, the script tells me that i have run out of space and doesnt finish. How do i clear more space?
soare95 said:
I write in terminal :
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
say that
Code:
dd: writing '/dev/block/platform/msm_sdcc.1/by-name/fota': No space left on device
65537+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied.
2.280673 seconds, 14.0 MB/s
my phone boot only LG logo , download mode boot standby image
Help me please !
I have a backup twrp on my computer , but can not transfer it to the phone via TWRP . USB OTG does not work .
I think the phone would function as before if I could install backup.
waiting for your answer
Click to expand...
Click to collapse
I've got exactly the same problem with my G2..I hope someone can help
I'm getting this same issue. I was on stock, rooted, then got the OTA. I clicked update, not knowing there would be an issue.
After the update restarted, the phone went straight into TWRP, and I can't get out!
I tried this fix here, but this "fota" command is giving me a "no space left" error. I'm stuck in TWRP. I can't reboot into the OS! I've even tried flashing a new ROM, but I still can't reboot to the OS.
Help!
i don't no into the adb mode pls help me
[FIXED] T-Mobile D801 rooted, stock ROM. Stuck in TWRP after Dec. 01, 2014 OTA update
In Adition to http://forum.xda-developers.com/showthread.php?t=2451696
T-Mobile D801 rooted, stock ROM.
Stuck in boot loop after Dec. 01, 2014 OTA update
Followed your instructions and it did not help until I also ran the following
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
Please update original post.
Found the extra command here:
forums.androidcentral.com/general-help-how/373947-bricked-lg-g2-stuck-twrp-no-download-mode.html
So theres no harm in doing it through the terminal command in TWRP on thephone itsf?
I'd much rather do that method
---------- Post added at 08:11 AM ---------- Previous post was at 07:58 AM ----------
holy crap! you are by far the most helpful individual I have ever met. I cant thank you enough!
Thanks for the fix. I was about to throw this phone out the door.
just wanted to say thanks this really helped, been stuck in twrp for hours
ATT LG G2 stuck in TWRP boot loop
Hey guys,
I tried to update my software today and now my phone is stuck in TWRP boot loop. Everytime I try to reboot it goes back to the TWRP screen. Any help is much appreciated. I'm on a ATT LG G2.
Joey
ultra noob question
How do I get ADB access to type the command to reset the process? I too got stuck with the Fastboot / UDC_Start / resete / portcharge / fastoobt .
My computer only shows an option that says ADB Interface (on device manager when I plug the phone).
Hello,
Telephone LG G2 D801
not adb,
terminal komut problem:
[email protected]:~$ dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: failed to open ‘/dev/block/platform/msm_sdcc.1/by-name/fota’: No such file or directory
[email protected]:~$ sudo dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: failed to open ‘/dev/block/platform/msm_sdcc.1/by-name/fota’: No such file or directory
[email protected]:~$
help.[COLOR="Silver
Stuck in bootloop
Hello all, I have a rooted vs980, that my sister accepted an ota without my knowledge. Since then, I can boot into TWRP, download mode and when the phone is booted regularly, it is either stuck at the lg logo or bootloops. Also, my computer doesn't read the device while it's in download mode. I've tried the twrp commands, I've attempted to sideload another rom, but due to that, I've lost adb. If anyone could help me out, it'd be great. I dropped my oneplus this weekend and I'm not forced to use a slider lol.
Hello i have an G2 D802, i had a custom rom the OSXP, i made a reset not from recovery but from the rom, it rebooted to recovery and then i was no able to make run every other rom.
I can acess to the TWRP 2.8.73 version, i am trying to install roms but at reboot, it reboots every time to the recovery...
If i shut it down and connect the usb...it runs on twrp..
try flash stock rom by LG flash tool or Lg Up
or if you had nandriod try restore it
same problem, tried to install rom but it keep returning to recovery
---------- Post added at 12:56 PM ---------- Previous post was at 12:03 PM ----------
install cloudy g2
don't reboot
use adb shell
adb shell
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
reboot done!!
Hesediel said:
Hello i have an G2 D802, i had a custom rom the OSXP, i made a reset not from recovery but from the rom, it rebooted to recovery and then i was no able to make run every other rom.
I can acess to the TWRP 2.8.73 version, i am trying to install roms but at reboot, it reboots every time to the recovery...
If i shut it down and connect the usb...it runs on twrp..
Click to expand...
Click to collapse
Depending on the ROM you are trying to install you may need to upgrade to the latest TWRP. If you use the commands in the earlier post then backup /misc first.
If you decide to go back to stock, links are here
https://forum.xda-developers.com/showpost.php?p=71085495&postcount=574
i wasn't able to flash nothing to stock even kdz files because the software didn't recognize the phone.
i suceeded flashing the twrp 3.0 from the old twrp
then i sent tose in the terminal of thwe new twrp
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
and it finally worked. In the terminal of the old twrp didn't work
I've installed TWRP last weekend and installed LineageOS 14.1 for my LG G6 H870.
I was tinkering with Magisk and Magisk Manager to be able to use Netflix, I didn't restart my device after this step.
Last night LineageOS offered an OTA update and afterwards it restarted to recovery mode.
I assumed I had to install the new image manually so that's what I did.
After the installation the phone rebooted back to TWRP Recovery so I wiped cache, data and dalvik.
It still rebooted back to TWRP recovery so I tried to reinstall LineageOS again by following these steps: https://wiki.lineageos.org/devices/h870/install#installing-lineageos-from-recovery
The phone still only boots to recovery so my assumption, after some reading on XDA, is that something is wrong with the bootloader.
This could have happened when I was tinkering with Magisk, I think I've seen a notice that I tried to make changes to the bootloader.
To fix the bootloader the main suggestion is to flash the stock rom so i've started that path.
I've installed Uppercut and LG Up use links from this thread: https://forum.xda-developers.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295/
I found a stock rom at https://lg-firmwares.com/lg-h870-firmwares/#firmwaresList and I assume I need the "NEU/NORTHERN EUROPE" rom.
When I open Uppercut it says "There is no handset connected".
I've got no clue what steps to take at this point.
FYI I'm able to get in to the bootloader mode and the recovery mode but havent been able to get into the download mode.
If you still have twrp just flash stock from there.
basicreece said:
If you still have twrp just flash stock from there.
Click to expand...
Click to collapse
I didn't know it was possible to flash a kdz file using twrp.
According to this reply it isn't possible using kdz files https://forum.xda-developers.com/showthread.php?t=2650569
Do you know for sure that this is possible?
I think I need to flash the bootloader using fastboot but I don't know what source to use, and I hardly found bootloader files on the web.
I don't think Magisk is modifying the bootloader, but I could be wrong.
You can find the H870_v10T and US997_v14A bootloaders here:
https://forum.xda-developers.com/showpost.php?p=73161240&postcount=2
ahk31 said:
I don't think Magisk is modifying the bootloader, but I could be wrong.
You can find the H870_v10T and US997_v14A bootloaders here:
https://forum.xda-developers.com/showpost.php?p=73161240&postcount=2
Click to expand...
Click to collapse
Thanks for pointing out that thread!
I downloaded the bootloader and succesfully installed it using `adb sideload LG-H87010f-Flashable.Bootloader.zip`
But the phone still only boots to TWRP.
So I tried to flash a complete stock rom from https://forum.xda-developers.com/lg-g6/development/rom-eu-lg-h870-10t-rom-t3654134
I did wipe Dalvik/ART, Cache, System and Data and afterwards installed that rom.
Unfortunately these steps didn't make any difference to the boot sequence.
I've been trying again to get into the download mode using key combo's and using `adb reboot download` but it reboots to TWRP instead.
What should I try now?
I finally managed to enter download mode!
In the end I figured that I confused the key combo from my previous phone with this one.
I should only hold the volume up button and then plugin in the usb cable.
What I tried numerous times was a combo of volume up and power button.
for reference and people showing up here later. Doing lineage OTA updates on the G6 forces the device into that endless boot loop into recovery. You get out there by entering the shell in TWRP and dd'ing some zeros somewhere. I had it once but sadly did not write down how I solved it. Google for boot loop and twrp you will find hits here on xda where you see a dd if=/dev/zero line and explaining what todo. It is a bit different for each device, but the article tells you what to look for. As I understood it, writing some zeros at the start of a partition ends the loop, but I am no expert there, it just worked for me.
Oh yes, and stay away from lineage OTAs
Edit: ok, not xda but reddit, anyway here is the link
https://www.reddit.com/r/LineageOS/comments/5riech/how_fix_twrp_recovery_boot_loop_after_lineageos/
The life saving post is a comment further down by muniak
I'm using TWRP 3.1 and still had this issue.
Despite thinking my phone was rooted, I couldn't su, adb as root or anything, so I couldn't /fstab. I ended up looking around and comparing the path I was in with other's. So if you're having this problem just keep going around typing ls and pressing tab like below. Basically you're looking for "by-name/misc" in "/dev/block/platform/".
ls /dev/block ls /dev/block/platform ls /dev/block/platform/[dir or two] ls /dev/block/platform/[dir or two]/by-name ls /dev/block/platform/[dir or two]/by-name/misc
Then the dd if=/dev/zero of=/dev/block/platform/[dir or two]/by-name/misc count=1 bs=32
Good luck and thanks so much for the help!
Click to expand...
Click to collapse
ikbentomas said:
I didn't know it was possible to flash a kdz file using twrp.
According to this reply it isn't possible using kdz files https://forum.xda-developers.com/showthread.php?t=2650569
Do you know for sure that this is possible?
I think I need to flash the bootloader using fastboot but I don't know what source to use, and I hardly found bootloader files on the web.
Click to expand...
Click to collapse
Then flash the stock zip.....
If you had searched the forum you would see the stock zips and bootloaders all complied for twrp.
ikbentomas said:
I've installed TWRP last weekend and installed LineageOS 14.1 for my LG G6 H870.
I was tinkering with Magisk and Magisk Manager to be able to use Netflix, I didn't restart my device after this step.
Last night LineageOS offered an OTA update and afterwards it restarted to recovery mode.
I assumed I had to install the new image manually so that's what I did.
After the installation the phone rebooted back to TWRP Recovery so I wiped cache, data and dalvik.
It still rebooted back to TWRP recovery so I tried to reinstall LineageOS again by following these steps: https://wiki.lineageos.org/devices/h870/install#installing-lineageos-from-recovery
The phone still only boots to recovery so my assumption, after some reading on XDA, is that something is wrong with the bootloader.
This could have happened when I was tinkering with Magisk, I think I've seen a notice that I tried to make changes to the bootloader.
To fix the bootloader the main suggestion is to flash the stock rom so i've started that path.
I've installed Uppercut and LG Up use links from this thread: https://forum.xda-developers.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295/
I found a stock rom at https://lg-firmwares.com/lg-h870-firmwares/#firmwaresList and I assume I need the "NEU/NORTHERN EUROPE" rom.
When I open Uppercut it says "There is no handset connected".
I've got no clue what steps to take at this point.
FYI I'm able to get in to the bootloader mode and the recovery mode but havent been able to get into the download mode.
Click to expand...
Click to collapse
Use adb and type in: adb shell dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc count=1 bs=32
Then restart your phone!
worked for me
cheers
Boneface Johnson said:
Use adb and type in: adb shell dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc count=1 bs=32
Then restart your phone!
worked for me
cheers
Click to expand...
Click to collapse
I had the same problem, this command worked for me, thanks!
Boneface Johnson said:
Use adb and type in: adb shell dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc count=1 bs=32
Then restart your phone!
worked for me
cheers
Click to expand...
Click to collapse
Worked for me too. Many thanks.
Boneface Johnson said:
Use adb and type in: adb shell dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc count=1 bs=32
Then restart your phone!
worked for me
cheers
Click to expand...
Click to collapse
Thanks, your solution worked for me too
Same happend to me, there are some post that say you have to boot to bootloader and send bootloader continue command with your PC, however that didn't work for me. To flash with LG UP you have to have your phone off, connect USB cable to PC, press Vol+ on phone and connect the USB cable to the phone, it should start in a mode called download mode, then LG UP should find your device