• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root TWRP Bootloop fix after update/OTA

Found the solution for bootlooping to TWRP after OTA

It took all afternoon and evening to find the answer. :mad::silly::eek::highfive::victory:. I've got 2 simple commands to ease everyone's troubled minds. The overwhelming sense of accomplishment you'll get knowing you can use your device again. Take a step back and appreciate this moment. All joking aside, here you go.

You now have two choices. Follow the directions below or download the zip and flash in TWRP.
http://androidforums.com/resources/twrp-bootloop-fix-zip.214/ & please leave a review there.


Start up Terminal Emulator from TWRP.
*Since its showing a file browser, hit the select button - bottom right, now you can enter command lines.

*Enter commands EXACTLY as shown

Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
Hit enter (return)...wait, takes a few seconds
Now input this
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
Hit enter (return)...wait again.
When its complete, reboot.

_____
Tested and verified numerous times by myself before release.

Also as a note, you may have to reactivate your device before using data or the phone.

______
Disclaimer:
I will not be responsible for damages that occur to your device due to using the above TWRP commands.

_____
If this has helped please press LIKE, a pat on the back is always nice!
 
Upvote 0
Hi, the "usability improvements through google patch" put my LG gpad into TWRP bootloop. I followed the instructions to enter those two commands and it worked like a charm. But now my wifi keeps searching for network even when it is connected. It ends up frequently disconnecting wireless connections.

Do you know what might cause this and how can I fix it? I restarted my router and flashed the Rom a couple of time. It didn't do the trick. Thanks.
 
Upvote 0
Hi, the "usability improvements through google patch" put my LG gpad into


TWRP bootloop. I followed the instructions to enter those two commands and it worked like a charm. But now my wifi keeps searching for network even when it is connected. It ends up frequently disconnecting wireless connections.

Do you know what might cause this and how can I fix it? I restarted my router and flashed the Rom a couple of time. It didn't do the trick. Thanks.



don't think that zip file and the fix is not for your LG G pad but I could be wrong but I think that might be the issue you're having is because its for a tribute ls660 phone
 
Upvote 0
Hi, the "usability improvements through google patch" put my LG gpad into TWRP bootloop. I followed the instructions to enter those two commands and it worked like a charm. But now my wifi keeps searching for network even when it is connected. It ends up frequently disconnecting wireless connections.

Do you know what might cause this and how can I fix it? I restarted my router and flashed the Rom a couple of time. It didn't do the trick. Thanks.
The fix zip is not the cause of the connectivity (wifi) issue. Since you used the bootloop I'm assuming that you flashed/installed the zv6 update. The only thing I can suggest is to download the stock or the deodexed rom from our subforum. Look at @SuperR thread. That will get you straightened out. The zv6 update is garbage.
 
Upvote 0
Thanks, guys. I appreciate the help. I did a factory reset and flashed a couple of roms. It didn't solve the wifi disconnecting problem. What rom should I use? and how do I re-install the driver for the wifi?
  • You sure the issue it's not with your router?
  • Have you done a reset (on router)?
  • Did you make it forget connection and then reconnect it again (on device)?
Edit: forget last one, you tried multiple ROMs (my bad)
 
Upvote 0
It seems Google only uses the first 1088 bytes of the "misc" partition for communication between recovery and the bootloader.
https://android.googlesource.com/platform/bootable/recovery/+/master/bootloader.h
LG puts the string "BSP Forever" at offset 2048 (0x800) of the "misc" partition. The string appears in aboot (bootloader) right before the message "LGE FTM MAGIC string is not equal." If the string "BSP Forever" and FTM (maybe field test mode?) are related, it's likely LG uses the "misc" partition for other purposes.

In other words, it's probably sufficient (and likely safer) to wipe only the first 1088 bytes or 2048 bytes of the "misc" partition instead of the whole thing.
 
Upvote 0
It seems Google only uses the first 1088 bytes of the "misc" partition for communication between recovery and the bootloader.
https://android.googlesource.com/platform/bootable/recovery/+/master/bootloader.h
LG puts the string "BSP Forever" at offset 2048 (0x800) of the "misc" partition. The string appears in aboot (bootloader) right before the message "LGE FTM MAGIC string is not equal." If the string "BSP Forever" and FTM (maybe field test mode?) are related, it's likely LG uses the "misc" partition for other purposes.

In other words, it's probably sufficient (and likely safer) to wipe only the first 1088 bytes or 2048 bytes of the "misc" partition instead of the whole thing.
Im going to update the zip with addition of backup of zeroed partitions. Not sure how I would write out the line for only the first 2048 bytes, doing it that way.
 
Upvote 0
Wiping only the 1st 2048 bytes of the "misc" partition (replace 2048 with 1088 if desired):
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=2048 count=1
If the other sections are left alone, it's probably okay to skip the backup.

The "fota" partition seems to be all zeros originally, so it's probably okay to wipe completely (on Tribute at least, I don't know about other devices):
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
 
  • Like
Reactions: HasH_BrowN
Upvote 0
Wiping only the 1st 2048 bytes of the "misc" partition (replace 2048 with 1088 if desired):
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=2048 count=1
If the other sections are left alone, it's probably okay to skip the backup.

The "fota" partition seems to be all zeros originally, so it's probably okay to wipe completely (on Tribute at least, I don't know about other devices):
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
I thought the byte size was for how big of a chunk of data was being read at a time. Okay I can follow. Thanks again.
 
  • Like
Reactions: WarrantyVoider
Upvote 0
commands dont work,it says cannot open no such file or directory.......pls help im still stuck in bootloop
Are you using the commands in TWRP terminal or flashing the zip? Do you have TWRP even installed? What steps have taken already? What ROM is it bootlooping on?
We just need more info to properly help.
 
Upvote 0
I still am stuck with my OG (Original Gangsta) -"just so no one confuses OG for some type of variant model *LOL* tribute in LG boot screen land of the lost. So that being stated I just need a quick directional guidance I think to get my issue to be solved as I would greatly appreciate it because I am going on weeks and weeks of not being able to correctly line up all the pieces to get it back into working condition...... so please heres the current obstacle if anyone could help,

1. flashed something from twrps recovery manager screen - OR - I removed all the files from my SD card while mounted to my computer and then whenever I turned my phone off then back on I was stuck at LG boot logo and cant and haven't been able to get past it.

1.1 Ive gotten to download mode successfully, the phone ls660 virgin mobile tribute is able to be found in adb but when I go to send commands through adb to my device when plugged in to my windows 10 desktop PC via micro usb cable compatible with the ls660 there it is ready to be fixed and brought back to life but in an OFF-LINE state , so I cant get it to push or send anything i enter in adb other then when I follow the fix guide that HasH_BrowN posted in another thread of his own a while back then I can get my tribute through all the steps and it reboots when I get to the step 8 or 9 in the guide where I type LEAVE at the # point.


SO all in all , to skip reading all my post I just need to be able to get my device which can not boot into recovery and can not boot at all - from the off-line state while plugged into my computer in adb to an on-line state so I can fix it , thank you and have a great day, I amo work on getting it online. PEACE
 
Upvote 0
I still am stuck with my OG (Original Gangsta) -"just so no one confuses OG for some type of variant model *LOL* tribute in LG boot screen land of the lost. So that being stated I just need a quick directional guidance I think to get my issue to be solved as I would greatly appreciate it because I am going on weeks and weeks of not being able to correctly line up all the pieces to get it back into working condition...... so please heres the current obstacle if anyone could help,

1. flashed something from twrps recovery manager screen - OR - I removed all the files from my SD card while mounted to my computer and then whenever I turned my phone off then back on I was stuck at LG boot logo and cant and haven't been able to get past it.

1.1 Ive gotten to download mode successfully, the phone ls660 virgin mobile tribute is able to be found in adb but when I go to send commands through adb to my device when plugged in to my windows 10 desktop PC via micro usb cable compatible with the ls660 there it is ready to be fixed and brought back to life but in an OFF-LINE state , so I cant get it to push or send anything i enter in adb other then when I follow the fix guide that HasH_BrowN posted in another thread of his own a while back then I can get my tribute through all the steps and it reboots when I get to the step 8 or 9 in the guide where I type LEAVE at the # point.


SO all in all , to skip reading all my post I just need to be able to get my device which can not boot into recovery and can not boot at all - from the off-line state while plugged into my computer in adb to an on-line state so I can fix it , thank you and have a great day, I amo work on getting it online. PEACE

Try this link. If nothing else to ensure you have updated needed drivers.

http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951

Need to work on getting TWRP installed. Once you have TWRP try installing stock ROM from here

http://androidforums.com/index.php?threads/922509/

This is zv5 but will at least get you up and running.

Good luck
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones