Help, possible brick!!!!!!!! - G2 Q&A, Help & Troubleshooting

I am/was rooted with custom recovery. I was running stock ROM with minor tweaks (g3 notification panel, etc). I downloaded the "knock code" update that just came out for the LG G2 (AT&T), not even thinking about the root/custom recovery, and then when I went to install it, it booted into TWRP recovery. I had no idea what to do from there (it would just reboot back to recovery if I rebooted), so I wiped the system then flashed my backup. Still nothing, it still booted into recovery. So then, being the smart guy that I am, I did a complete wipe of everything (internal storage and everything), and now I'm stuck at recovery with absolutely nothing. No backups or anything.
How do I get my phone back up and running?

brian85 said:
I am/was rooted with custom recovery. I was running stock ROM with minor tweaks (g3 notification panel, etc). I downloaded the "knock code" update that just came out for the LG G2 (AT&T), not even thinking about the root/custom recovery, and then when I went to install it, it booted into TWRP recovery. I had no idea what to do from there (it would just reboot back to recovery if I rebooted), so I wiped the system then flashed my backup. Still nothing, it still booted into recovery. So then, being the smart guy that I am, I did a complete wipe of everything (internal storage and everything), and now I'm stuck at recovery with absolutely nothing. No backups or anything.
How do I get my phone back up and running?
Click to expand...
Click to collapse
Try this..
What worked for me was from the TWRP terminal command was to type
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.

Bigsky40 said:
Try this..
What worked for me was from the TWRP terminal command was to type
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
What exactly is this supposed to do? I have absolutely nothing on my phone now- no backups or anything. I'm assuming I need to download a rom and flash it via recovery. Is it possible to get a rom on my phone if it just boots into recovery?

brian85 said:
What exactly is this supposed to do? I have absolutely nothing on my phone now- no backups or anything. I'm assuming I need to download a rom and flash it via recovery. Is it possible to get a rom on my phone if it just boots into recovery?
Click to expand...
Click to collapse
I thin you can ADB push a rom file to your phone, flash it in twrp, then enter those terminal commands which will allow it to boot normally

brian85 said:
What exactly is this supposed to do? I have absolutely nothing on my phone now- no backups or anything. I'm assuming I need to download a rom and flash it via recovery. Is it possible to get a rom on my phone if it just boots into recovery?
Click to expand...
Click to collapse
You took ota while having custom recovery ?
This will enable you to boot (if you didn't mess up another things on your system)
you may also: "adb push rom.zip /sdcard/rom.zip"
-where rom.zip is the name of your rom.

Can't figure out how to get ADB to recognize my phone. I downloaded SDK and all that. When I do "adb devices" I get "no devices found"

There's a bug in TWRP 2.7.0.0 that you can't activate ADB.
I suggest to boot into download mode (plug your phone to your computer USB while pressing volume UP key), open LG PC Suite, go to Mobile Device > Restore upgrade errors, and it will flash the latest stock firmware
Sent from my LG-D802 using XDA Premium 4 mobile app

Related

[Q] Need HELP. Phone always go to recovery after update

First of all i installed a lot of ROMS on one x and 4-5 on lg g2.
I had installed Rayglobe 3.2 custom rom. Today system asked me do i want to update the system so i did. Taught its Rayglobe update but it could be LG update. And it just went to recovery without doing anything.
Reboot to system option still goes to recovery again. Strange its like its holding this data or rule for some reason somewhere else.
I wiped cache,system,data, dalvik and install the rom from beggining. it again goes back to recovery after installing system.
I mean there should be warning how to differentiate OTA updates from system and for custom rom. I hope i didnt brick my phone.
Its like there is something above the system partition and recovery always forcing recovery.
i tried to go to download mode via
Power off your G2, press Volume Up & Down key and then plug in the usb cable
Click to expand...
Click to collapse
but it always go to recovery
fixed it with this
http://forum.xda-developers.com/show....php?t=2451696
for anyone who will make same mistake as me. But still i think ROM dev should disable LG updates if possible.
adb shell
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

[Q] stuck on recovery screen.

Hello,
I've rooted my device and installed the hellfire Kitkat rom. Since I was not fully satisfied I wanted to go back to stock rom and then install the latest update from LG.
But now the device only boots into recovery (CWM V6.0.4.7)
I can install a backup ROM but when I reboot it enters recovery again.
I tried entering download mode by pressing "volume UP key" and then plugin usb but it enters recovery again.
Can someone help me please?!
sander-w said:
Hello,
I've rooted my device and installed the hellfire Kitkat rom. Since I was not fully satisfied I wanted to go back to stock rom and then install the latest update from LG.
But now the device only boots into recovery (CWM V6.0.4.7)
I can install a backup ROM but when I reboot it enters recovery again.
I tried entering download mode by pressing "volume UP key" and then plugin usb but it enters recovery again.
Can someone help me please?!
Click to expand...
Click to collapse
I'm going to be cautious replying here because I'm a noob, but did you try using ADB to issue commands through adb sideload in cwm? If you go to "load zip" (or something along those lines) then "load using adb" (or something similar) in CWM, you can use adb to issue these commands with your computer and it should fix it (at least, it fixed a boot loop for me when I was stuck with TWRP). Here's the link:
http://forum.xda-developers.com/showthread.php?t=2451696
First of all. DON'T PANIC!
And even before that - make a nandroid backup! Go in CWM and make a full backup.
You have recovery working so you should be able to load System on it ok.
I am not an expert but let me try to guide you step by step.
1. Make a backup!
2. Download a rom on your computer. MAKE SURE ITS FOR YOUR MODEL # of LG G2
List of roms here:
3. Make sure you have over 70% battery
4. Go into recovery CWM
5. Use Wipe > Swipe to Factory Wipe
(go back on bottom right corner)
6. Go Advanced from HOME screen of CWM
7. Click ADB sideload
7b. (I assume you have the drivers loaded. If not make sure ADB is loaded in windows and device manager shows it. Download basic ADB package so you have "adb.exe" file in it)
8. put your rom in the same folder where you have "Adb.exe"
9. Open command prompt on windows. Goto the folder where ADB.exe is. Then Type "adb push (filename) /sdcard/(filename)". Example, "adb push rom.zip /sdcard/rom.zip"
10. Wait until it finishes its transfer(a message will appear saying the filename, file size and the speed of the transfer per sec when it finishes)
11. Wait for a while or reboot your cwm so that the filename will appear
12. just reflash the file in CWM (Install > choose file). Wipe after again.
13. Voila!
By any chance did you successfully go back to stock 4.2.2 and then took the OTA and then got the recovery loop? If so this will help http://forum.xda-developers.com/showthread.php?t=2451696
Drachenminister said:
By any chance did you successfully go back to stock 4.2.2 and then took the OTA and then got the recovery loop? If so this will help http://forum.xda-developers.com/showthread.php?t=2451696
Click to expand...
Click to collapse
I did manage to restore the backup rom of 4.2.2 Then I downloaded the 4.4 OTA update and installed it. Then it hangs in recovery.
Do I need to have TWRP installed or does this work with CWM too?!
sander-w said:
I did manage to restore the backup rom of 4.2.2 Then I downloaded the 4.4 OTA update and installed it. Then it hangs in recovery.
Do I need to have TWRP installed or does this work with CWM too?!
Click to expand...
Click to collapse
Basically what you need is a root shell whether it's via adb or built into recovery (cwm or twrp)
Searching the forum for "cwm bootloop ota" might give you detailed instructions for your case
Drachenminister said:
By any chance did you successfully go back to stock 4.2.2 and then took the OTA and then got the recovery loop? If so this will help http://forum.xda-developers.com/showthread.php?t=2451696
Click to expand...
Click to collapse
When I try to run "adb shell" I get a message "error: closed" what does it mean?
When I run adb devices it returns a serial number. so it looks like it is able to communicate with my g2.
sander-w said:
When I try to run "adb shell" I get a message "error: closed" what does it mean?
When I run adb devices it returns a serial number. so it looks like it is able to communicate with my g2.
Click to expand...
Click to collapse
Weird, you can try and add the commands directly enclosed in parentheses like adb shell "dd if=...."
Drachenminister said:
Weird, you can try and add the commands directly enclosed in parentheses like adb shell "dd if=...."
Click to expand...
Click to collapse
It seems that my device was in sideload mode. when I disabled sideload mode I followed the instructions on this pag
http://forum.xda-developers.com/showthread.php?t=2451696
And it worked!!!
Thanks for your help all!!!!

[Q] Stuk on twrp recovery [SOLVED]

Hey,
i'm stuck at twrp recovery, tried to install cloudy g3, but something failed (i bet this was because i rooted phone, installed twrp, and havent updated it, so it was still 4.2.2), i flashed 4.4 baseband, then cloudy g3 rom. It sruk on boot loop, then redirected to twrp. What can i do now?
Wipe data than install the rom
abdulkadiro said:
Wipe data than install the rom
Click to expand...
Click to collapse
Cant, accidentally wiped data, and there is no way to mount phone, to upload any files to internal. I cant go to download mode, because i think im stuck on fast boot.
OK, i fixed it.
In twp recovery terminal typed this:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
and executed, then typed this:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
This alowed me to boot in to download mode, and then i used this guide:
http://forum.xda-developers.com/showthread.php?t=2432476
And now im back to working stock.

[Q] Hardbricked LG g2

Hi guys.
I did something really stupid with my brand new lg g2. Wanted a custom rom, so flashed twrp recovery.
Then i wanted to flash the downloaded custom rom, but i somehow deleted everything on the phone.
Then i connected my device to the pc, and tried to sideload the rom. That didn't go well, so now i can't enter recovery or anything.
The phone only shows the LG logo or bootlooping.
Is there any hope?
(I tried to send in my phone during warranty, but they said i needed a new mainboard - which is very costly)
You don't sideload a ROM, you instead push it to internal storage via ADB so it can be installed via recovery (TWRP, PhilZ CWM, etc.). So this would be the command from a command prompt, run from the AndroidSDK\Tools directory or from the directory containing the ADB executable...
adb push ROM.zip /sdcard/ROM.zip
... replacing ROM with the EXACT name of the ROM file. If besides not being able to access recovery using this method...
alone-together said:
Hold the power button until the phone turns completely off, then turn on the phone while holding the power and volume down buttons. When the LG logo pops up, let go and re-press those buttons. When prompted for a factory reset, press the power button
Click to expand...
Click to collapse
... you can't access download mode to restore using either the *.tot or *.kdz method, then this may be your only alternative:
http://forum.xda-developers.com/showthread.php?t=2582142
redduc900 said:
You don't sideload a ROM, you instead push it to internal storage via ADB so it can be installed via recovery (TWRP, PhilZ CWM, etc.). So this would be the command from a command prompt, run from the AndroidSDK\Tools directory or from the directory containing the ADB executable...
adb push ROM.zip /sdcard/ROM.zip
... replacing ROM with the EXACT name of the ROM file. If besides not being able to access recovery using this method...
... you can't access download mode to restore using either the *.tot or *.kdz method, then this may be your only alternative:
http://forum.xda-developers.com/showthread.php?t=2582142
Click to expand...
Click to collapse
Thank you very much. I was able to reach twrp again, pretty easy. I pushed a custom rom to my device, but even though the rom is installed OK, i wasn't supposed to make my device boot into the rom. The device only boots to twrp. I Installed several roms to see, if this was because of a bad flash, but that wasnt the answer. I wiped everything, and reached the aroma installer for cloudyfas rom. Installed without problems, but when rebooting, it still only boots up TWRP. Can't do anything to reach the rom (s). Any suggestions?
You may need to flash the KitKat baseband. The link is in the OP of the CloudyG3 thread.
redduc900 said:
You may need to flash the KitKat baseband. The link is in the OP of the CloudyG3 thread.
Click to expand...
Click to collapse
Thanks for answer. I did flash the baseband first.
And Tried several roms. Now Im back to stock and Wonder If i really should try again. On my first lgg2, screen Damage appeared When i was flashing a custom rom. I just don't understand Why i Couldnt load the rom after i flashed in twrp.

Always booting to TWRP

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

Categories

Resources