Need help backing up in TWRP via adb - G2 Q&A, Help & Troubleshooting

I dropped my phone this evening and so I have a replacement coming tomorrow hopefully. However I need to backup my phone to restore onto the new one.
What I have currently: VZW G2 running malladus 1.2.1 (stock based rom), TWRP recovery. Pattern lock, that I can't unlock since it wont respond to touches, debugging not enabled in OS, but working in TWRP.
What I need: Ideally, a nandroid backup would be great, but AT LEAST text messages backed up.
Can this be done thru adb in twrp? What do I need to type in an adb shell?

da_reeseboy said:
I dropped my phone this evening and so I have a replacement coming tomorrow hopefully. However I need to backup my phone to restore onto the new one.
What I have currently: VZW G2 running malladus 1.2.1 (stock based rom), TWRP recovery. Pattern lock, that I can't unlock since it wont respond to touches, debugging not enabled in OS, but working in TWRP.
What I need: Ideally, a nandroid backup would be great, but AT LEAST text messages backed up.
Can this be done thru adb in twrp? What do I need to type in an adb shell?
Click to expand...
Click to collapse
You could try this...
https://gist.github.com/inhies/5069663

What I ended up doing -
*Thanks to IowaBowTech on AndroidForums for pointing me to CWM nontouch... didn't even occur to me honestly.
-Installed LG drivers - http://wacomalt.com/dropbox/LGG2/StockRevert/LG VZW_United_WHQL_v2.11.1.exe
-Downloaded the nontouch loki enabled CWM from this thread. I used recovery-clockwork-6.0.4.4-vs980.lok.
-Rebooted phone into recovery using button combo -
1. Ensure the device is powered off and usb cable is not connected.
2. Press and hold the Volume down button and the Power button.
3. When the LG logo is displayed release the Power button only then immediately press and hold the Power button again.
4. Release both buttons when the Factory hard reset screen displays.
5. Press the Power button twice to continue. (with a custom recovery this will take you into recovery instead of performing the factory reset it claims will happen)
Click to expand...
Click to collapse
-Connected usb cable. The phone showed up as an unknown device in device manager so I had to manually install the drivers. I installed it as "LGE AndroidNet for VZW ADB Interface" from the install folder of the LG drivers - "C:\Program Files\LG Electronics\LG VZW United Driver". After doing this I made sure the phone was listed when I typed adb devices.
-Now that I could access the phone, I put the cwm recovery image in the same folder as adb then pushed it to the phone.
adb push recovery-clockwork-6.0.4.4-vs980.lok /data/local/tmp/recovery-clockwork-6.0.4.4-vs980.lok
Click to expand...
Click to collapse
-Flashed CWM.
adb shell
cd /data/local/tmp
dd if=/data/local/tmp/recovery-clockwork-6.0.4.4-vs980.lok of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
Click to expand...
Click to collapse
Rebooted the phone back into recovery... the one I just installed.
adb reboot recovery
Click to expand...
Click to collapse
After it was rebooted into the nontouch CWM, I made a backup using the phone buttons (vol up/down to scroll, power to select). Then I pulled that backup to my computer.
adb pull /data/media/clockworkmod/backup c:\lgG2\backup
Click to expand...
Click to collapse
I now had a CWM backup of my old phone. With that, I rooted my new phone and installed CWM on it, then copied the backup over to restore in CWM recovery.

What do you do if you wipe your phone but then realize you don't have a rom dl'd to flash? Its not like we have an SD card to load stuff onto...

irish.iolar said:
What do you do if you wipe your phone but then realize you don't have a rom dl'd to flash? Its not like we have an SD card to load stuff onto...
Click to expand...
Click to collapse
How did you wipe your phone? Generally the most you can do is a wiping data, cache, and dalvik... and its still bootable after that so you could boot back into system and download the rom you wanted.
Alternatively, you could download the rom you want to your computer, and then connect your phone to the computer while the phone is in whatever custom recovery you have (TWRP or CWM) then adb push it over.
Eg -
adb push c:\path\to\rom\file\romfile.zip /data/media/0/Download/romfile.zip
Click to expand...
Click to collapse
That would put it in the Download folder on the internal storage.

Related

SOLVED - Help me fix my LG G2 ATT D800 - Stuck in TWRP Boot Loop

Hey all. A couple of days ago it seem that there was an auto update that came in OTA. I had my phone plugged it to charge when the update showed up on the home screen. I did not do the update but left my phone on and plugged in to charge overnight. The next morning, I went to get my phone and the TWRP screen (TWRP that I previously installed) was on the home screen. Now I am stuck. I can not boot into the phone.
When I try to power my phone, I get the LG logo then the phone immediately boots into TWRP and here I remain. I can not get into the down load mode to restore to phone to factory defaults. I did have the phone rooted, unlocked, TWRP installed, Flashify installed, and Goo Manager installed, as well as being SU enabled.
I had a backup of Flashify, but it is gone. I have a TWRP backup, but when I try to restore it, I am still stuck in the TWRP screen after I reboot.
Here is what happens. I select the restore of the file that I have on the phone and on the TWRP log screen, it shows the following:
Finished running boot script.
[Restore Started]
Restore folder: '/data/media/0/TWRP/BACKUPS/016d06d0ce078bbe/1970-01-02--04-03-34 JDQ39B'
Skipping MMD5 check based on user setting.
Restoring 7 partitions...
Restoring boot...
[Boot done (1 seconds)]
Restoring Recovery...
[Recovery done (0 seconds)]
Wiping System...
Removing all files under '/system'
Restoring System...
[System done (156 Seconds)]
Wiping Data...
Wiping data without wiping /data/media ...
Done.
Restoring Data
[Data done (79 seconds)]
Wiping Cache...
Removing all files under '/cache'
Restoring Cache...
[Cache done (1 seconds)]
Restoring EFS...
Restoring efs2...
[EFS done (0 seconds)]
Restoring efs2...
[efs2 done (1 seconds)]
Updating partition details...
[RESTORE COMPLETE IN 243 SECONDS]
After that, I get the Reboot System. I reboot the system and the result is: I get the LG G2 symbol and I go right back into the TWRP screen with the options of "Install" "Wipe" "Backup" "Restore" "Mount" "Settings" "Advanced" and "Reboot".
I reboot into the following screen with "System" "Power Off" "Recovery" "Bootloader"
If I reboot into System - I wind up at the TWRP screen again after the LG logo.
If I reboot into Recovery - I wind up at the TWRP screen again after the LG logo.
If I reboot into Bootloader - I wind up at the TWRP screen again after the LG logo.
If I reboot into Power Off - when I power on I wind up at the TWRP screen again after the LG logo.
I tried a hard factory reset - back into the TWRP screen after the LG logo.
My computer does not recognize the LG G2 like it used to - I was able to see the SD card and get into it. Now, all I can find is the LG G2 under the Device Manager, Other Devices, G2 but the advanced properties show "Drivers not installed" and I can not install them.
How do I save my phone? I have some LG G2 backups on the computer, I have a Flashify Back Up on the computer, and I have a copy of the TWRP backup on the computer. But I can not get into "download mode" and doing a factory hard reset does nothing.
Help needed
It is like there is a file structure on the phone but no data whatsoever in the files structures.
NevetsDrassel said:
Hey all. A couple of days ago it seem that there was an auto update that came in OTA. I had my phone plugged it to charge when the update showed up on the home screen. I did not do the update but left my phone on and plugged in to charge overnight. The next morning, I went to get my phone and the TWRP screen (TWRP that I previously installed) was on the home screen. Now I am stuck. I can not boot into the phone.....
Help needed
It is like there is a file structure on the phone but no data whatsoever in the files structures.
Click to expand...
Click to collapse
Its funny and probably not a coincidence that this just happened to me two days ago. Fortunately, you have all the right safeguards installed and this should be an easy process.
Now, in mine, I had the exact same issue. What you will need to do is use either the terminal emulator on the twrp recovery menu or hook up the phone to your computer and use adb. There are only three lines of code to enter, one deleting the update, one disabling it's start, and one to clear the misc partition. I am currently in my phone now so I don't have the code but I will get on my computer soon and update with the code and it's source. Just make sure it is exact. Hold on a minute.
LG G2
livebyknight said:
Its funny and probably not a coincidence that this just happened to me two days ago. Fortunately, you have all the right safeguards installed and this should be an easy process.
Now, in mine, I had the exact same issue. What you will need to do is use either the terminal emulator on the twrp recovery menu or hook up the phone to your computer and use adb. There are only three lines of code to enter, one deleting the update, one disabling it's start, and one to clear the misc partition. I am currently in my phone now so I don't have the code but I will get on my computer soon and update with the code and it's source. Just make sure it is exact. Hold on a minute.
LG G2
Click to expand...
Click to collapse
Very much appreciated.
NevetsDrassel said:
Very much appreciated.
Click to expand...
Click to collapse
http://www.photo-cool.com/?p=48043
Here you go. Really simple process, just copy and paste the code after entering ADB terminal within the folder you have it in.
If drivers are an issue, look up Koush's universal android drivers
livebyknight said:
http://www.photo-cool.com/?p=48043
Here you go. Really simple process, just copy and paste the code after entering ADB terminal within the folder you have it in.
If drivers are an issue, look up Koush's universal android drivers
Click to expand...
Click to collapse
Within the folder that I have "what" in?
Got the drivers loaded and the system now recognizes an android device.
Started ADB
Copy and paste the code into "what" folder?
Thanks
Sorry I am new to this. Is this is what I was suppose to get?
C:\LG\Root Tools\ADB + Fastboot + Drivers>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
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
~exit
# ←[6nadb rebootdd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fo
ta-backup.img
65536+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 1.056265 seconds, 30.3MB/s
~ # dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd: writing '/dev/block/platform/msm_sdcc.1/by-name/fota': No space left on devi
ce
65537+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 2.493231 seconds, 12.8MB/s
~ # dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
dd: writing '/dev/block/platform/msm_sdcc.1/by-name/misc': No space left on devi
ce
32769+0 records in
32768+0 records out
16777216 bytes (16.0MB) copied, 0.675348 seconds, 23.7MB/s
~ # exit
C:\LG\Root Tools\ADB + Fastboot + Drivers>
And do I now reboot? or what?
Damn, it worked..... My phone is working again? Was this some type of virus or what?
Thank you thank you thank you for you assistance. You have saved me from the blackness of hell.
NevetsDrassel said:
Hey all. A couple of days ago it seem that there was an auto update that came in OTA. I had my phone plugged it to charge when the update showed up on the home screen. I did not do the update but left my phone on and plugged in to charge overnight. The next morning, I went to get my phone and the TWRP screen (TWRP that I previously installed) was on the home screen. Now I am stuck. I can not boot into the phone.
When I try to power my phone, I get the LG logo then the phone immediately boots into TWRP and here I remain. I can not get into the down load mode to restore to phone to factory defaults. I did have the phone rooted, unlocked, TWRP installed, Flashify installed, and Goo Manager installed, as well as being SU enabled.
I had a backup of Flashify, but it is gone. I have a TWRP backup, but when I try to restore it, I am still stuck in the TWRP screen after I reboot.
Here is what happens. I select the restore of the file that I have on the phone and on the TWRP log screen, it shows the following:
Finished running boot script.
[Restore Started]
Restore folder: '/data/media/0/TWRP/BACKUPS/016d06d0ce078bbe/1970-01-02--04-03-34 JDQ39B'
Skipping MMD5 check based on user setting.
Restoring 7 partitions...
Restoring boot...
[Boot done (1 seconds)]
Restoring Recovery...
[Recovery done (0 seconds)]
Wiping System...
Removing all files under '/system'
Restoring System...
[System done (156 Seconds)]
Wiping Data...
Wiping data without wiping /data/media ...
Done.
Restoring Data
[Data done (79 seconds)]
Wiping Cache...
Removing all files under '/cache'
Restoring Cache...
[Cache done (1 seconds)]
Restoring EFS...
Restoring efs2...
[EFS done (0 seconds)]
Restoring efs2...
[efs2 done (1 seconds)]
Updating partition details...
[RESTORE COMPLETE IN 243 SECONDS]
After that, I get the Reboot System. I reboot the system and the result is: I get the LG G2 symbol and I go right back into the TWRP screen with the options of "Install" "Wipe" "Backup" "Restore" "Mount" "Settings" "Advanced" and "Reboot".
I reboot into the following screen with "System" "Power Off" "Recovery" "Bootloader"
If I reboot into System - I wind up at the TWRP screen again after the LG logo.
If I reboot into Recovery - I wind up at the TWRP screen again after the LG logo.
If I reboot into Bootloader - I wind up at the TWRP screen again after the LG logo.
If I reboot into Power Off - when I power on I wind up at the TWRP screen again after the LG logo.
I tried a hard factory reset - back into the TWRP screen after the LG logo.
My computer does not recognize the LG G2 like it used to - I was able to see the SD card and get into it. Now, all I can find is the LG G2 under the Device Manager, Other Devices, G2 but the advanced properties show "Drivers not installed" and I can not install them.
How do I save my phone? I have some LG G2 backups on the computer, I have a Flashify Back Up on the computer, and I have a copy of the TWRP backup on the computer. But I can not get into "download mode" and doing a factory hard reset does nothing.
Help needed
It is like there is a file structure on the phone but no data whatsoever in the files structures.
Click to expand...
Click to collapse
Hey man im having the exact same problem, how do i exactly run the adb file? Im not sure if i still have it, what do i need to download, and when i did try it before it said my phone cannot be recognized, how did you fix your problem, can you walk me through please. Currently I am traveling and need my phone its useless right now.
fromc2m said:
Hey man im having the exact same problem, how do i exactly run the adb file? Im not sure if i still have it, what do i need to download, and when i did try it before it said my phone cannot be recognized, how did you fix your problem, can you walk me through please. Currently I am traveling and need my phone its useless right now.
Click to expand...
Click to collapse
I think that this will only work if you have TWRP already installed and have a TWRP backup file on the phone as the phone will revert to the last backup. Although this is an assumption on my part. It may revert to the phone factory default if you do not have a backup on the phone. As I indicated, I had been rooted, had Super User installed, had Flashify and TWRP installed on the phone and was locked in a TWRP bootloop that I could not get out of no matter what I did.
I am running Windows 7 Pro so these instructions may vary if you are running a different OS on your computer.
Get the Koush's universal drivers and install them on the computer. The regular LG drivers will not recognize the phone.
Get and download the "ADB + Fastboot + Drivers.zip" file found here and install in on the computer. Or found here.
Plug your phone into the computer and the computer should see your phone under the device manager properties as an "ADB Interface" "AndroidNet Sooner Single ADB Interface" (from the Koush universal drivers you installed. Originally, I think my phone was listed as a VZW device but it did not matter)
You have to run the ADB.EXE script from the computer in a CMD.EXE window that you are running with administrative privileges. Open a CMD.EXE window and navigate to the directory that has the ADB + Fastboot + Drivers folder. I had to navigate from /windows/system32 directory to C:/LG/ADB + Fastboot + Drivers/ directory (this is where I installed it on my computer) and type DIR and you will see the ADB.EXE command. Type "ADB SHELL (paste script here from other thread)", (without the quotes) then enter and it will run the script on the phone.
Restart the phone and it should work.
My phone reverted to an October backup, last one that I had on the phone.
If this does not work for you, I suggest that you start a new thread with your specific problem. You may have to flash the phone.
I do not know what the OTA update was but I read a thread that indicated that it was a rolling advert widget. I think that it was more than that though.
Let me know if you have success with this as it worked for me.
If you do not have access to a computer, I do not know what you have to do. You may be able to enter the script using the terminal emulator on the phone if you have access to it in TWRP.
NevetsDrassel said:
I think that this will only work if you have TWRP already installed and have a TWRP backup file on the phone as the phone will revert to the last backup. Although this is an assumption on my part. It may revert to the phone factory default if you do not have a backup on the phone. As I indicated, I had been rooted, had Super User installed, had Flashify and TWRP installed on the phone and was locked in a TWRP bootloop that I could not get out of no matter what I did.
I am running Windows 7 Pro so these instructions may vary if you are running a different OS on your computer.
Get the Koush's universal drivers and install them on the computer. The regular LG drivers will not recognize the phone.
Get and download the "ADB + Fastboot + Drivers.zip" file found here and install in on the computer. Or found here.
Plug your phone into the computer and the computer should see your phone under the device manager properties as an "ADB Interface" "AndroidNet Sooner Single ADB Interface" (from the Koush universal drivers you installed. Originally, I think my phone was listed as a VZW device but it did not matter)
You have to run the ADB.EXE script from the computer in a CMD.EXE window that you are running with administrative privileges. Open a CMD.EXE window and navigate to the directory that has the ADB + Fastboot + Drivers folder. I had to navigate from /windows/system32 directory to C:/LG/ADB + Fastboot + Drivers/ directory (this is where I installed it on my computer) and type DIR and you will see the ADB.EXE command. Type "ADB SHELL (paste script here from other thread)", (without the quotes) then enter and it will run the script on the phone.
Restart the phone and it should work.
My phone reverted to an October backup, last one that I had on the phone.
If this does not work for you, I suggest that you start a new thread with your specific problem. You may have to flash the phone.
I do not know what the OTA update was but I read a thread that indicated that it was a rolling advert widget. I think that it was more than that though.
Let me know if you have success with this as it worked for me.
If you do not have access to a computer, I do not know what you have to do. You may be able to enter the script using the terminal emulator on the phone if you have access to it in TWRP.
Click to expand...
Click to collapse
Wow thanks for the detailed instructions and explanations! ok sorry about this but what do you mean by koushes universal drivers?? where do i get those, and also paste the adb shell from which thread are you referring to? I will try this
---------- Post added at 11:41 AM ---------- Previous post was at 11:34 AM ----------
NevetsDrassel said:
I think that this will only work if you have TWRP already installed and have a TWRP backup file on the phone as the phone will revert to the last backup. Although this is an assumption on my part. It may revert to the phone factory default if you do not have a backup on the phone. As I indicated, I had been rooted, had Super User installed, had Flashify and TWRP installed on the phone and was locked in a TWRP bootloop that I could not get out of no matter what I did.
I am running Windows 7 Pro so these instructions may vary if you are running a different OS on your computer.
Get the Koush's universal drivers and install them on the computer. The regular LG drivers will not recognize the phone.
Get and download the "ADB + Fastboot + Drivers.zip" file found here and install in on the computer. Or found here.
Plug your phone into the computer and the computer should see your phone under the device manager properties as an "ADB Interface" "AndroidNet Sooner Single ADB Interface" (from the Koush universal drivers you installed. Originally, I think my phone was listed as a VZW device but it did not matter)
You have to run the ADB.EXE script from the computer in a CMD.EXE window that you are running with administrative privileges. Open a CMD.EXE window and navigate to the directory that has the ADB + Fastboot + Drivers folder. I had to navigate from /windows/system32 directory to C:/LG/ADB + Fastboot + Drivers/ directory (this is where I installed it on my computer) and type DIR and you will see the ADB.EXE command. Type "ADB SHELL (paste script here from other thread)", (without the quotes) then enter and it will run the script on the phone.
Restart the phone and it should work.
My phone reverted to an October backup, last one that I had on the phone.
If this does not work for you, I suggest that you start a new thread with your specific problem. You may have to flash the phone.
I do not know what the OTA update was but I read a thread that indicated that it was a rolling advert widget. I think that it was more than that though.
Let me know if you have success with this as it worked for me.
If you do not have access to a computer, I do not know what you have to do. You may be able to enter the script using the terminal emulator on the phone if you have access to it in TWRP.
Click to expand...
Click to collapse
I cant open the adb+fastboot drivers, it says windows cannot open. I have a windows 8 computer.
fromc2m said:
Wow thanks for the detailed instructions and explanations! ok sorry about this but what do you mean by koushes universal drivers?? where do i get those, and also paste the adb shell from which thread are you referring to? I will try this
---------- Post added at 11:41 AM ---------- Previous post was at 11:34 AM ----------
I cant open the adb+fastboot drivers, it says windows cannot open. I have a windows 8 computer.
Click to expand...
Click to collapse
You can get the Koush drivers from here.
You can get the script from http://www.photo-cool.com/?p=48043
Can't help you with Windows8. I know nothing about it. The ADB + Fastboot + Drivers is a .zip file. You have to unzip the file and put it on a directory of your choosing. I put my in C:/LG/ADB + Fastboot + Drivers/
Once you unzip the file (you can use 7Zip found here ) you will see the ADB.exe application along with 5 other .dll/applications/files in the folder.
livebyknight said:
http://www.photo-cool.com/?p=48043
Here you go. Really simple process, just copy and paste the code after entering ADB terminal within the folder you have it in.
If drivers are an issue, look up Koush's universal android drivers
Click to expand...
Click to collapse
This link is dead. Can you please give me another link? It's very urgent.
Just use this Toolkit
http://www54.zippyshare.com/v/29970713/file.html
Download D800 Rom and then add the .zip folder to Toolkit v1,5 - sideload folder
First you need to enter TWRP and then go to Advanced and press ADB Sideload Swipe
It's easier to rename it like rom.zip
Now start the start.bin
Select language
Enter
In my opinion it's 1 , enter
Then press 7) Install ROM/ Unbrick via SideLoad
Enter
and write the rom name that is in the sideload folder ( becouse i renamed it it's rom.zip in my opinion)
Now wait for the rom is pushin trough sideload
The installation process will start automatic .
I hope you got this by now,., had this happen to me...I found the thing to do..
On your TWRP terminal command type this codes.
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 back out of terminal to reboot system
Help me plz same thing im facing with my lg g2
I reboot into the following screen with "System" "Power Off" "Recovery" "Bootloader"
If I reboot into System - I wind up at the TWRP screen again after the LG logo.
If I reboot into Recovery - I wind up at the TWRP screen again after the LG logo.
If I reboot into Bootloader - I wind up at the TWRP screen again after the LG logo.
If I reboot into Power Off - when I power on I wind up at the TWRP screen again after the LG logo.
I tried a hard factory reset - back into the TWRP screen after the LG logo.
My computer does not recognize the LG G2 like it used to - I was able to see the SD card and get into it. Now, all I can find is the LG G2 under the Device Manager, Other Devices, G2 but the advanced properties show "Drivers not installed" and I can not install them.
How do I save my phone? I have some LG G2 backups on the computer, I have a Flashify Back Up on the computer, and I have a copy of the TWRP backup on the computer. But I can not get into "download mode" and doing a factory hard reset does nothing.
Help needed
mehler said:
I reboot into the following screen with "System" "Power Off" "Recovery" "Bootloader"
If I reboot into System - I wind up at the TWRP screen again after the LG logo.
If I reboot into Recovery - I wind up at the TWRP screen again after the LG logo.
If I reboot into Bootloader - I wind up at the TWRP screen again after the LG logo.
If I reboot into Power Off - when I power on I wind up at the TWRP screen again after the LG logo.
I tried a hard factory reset - back into the TWRP screen after the LG logo.
My computer does not recognize the LG G2 like it used to - I was able to see the SD card and get into it. Now, all I can find is the LG G2 under the Device Manager, Other Devices, G2 but the advanced properties show "Drivers not installed" and I can not install them.
How do I save my phone? I have some LG G2 backups on the computer, I have a Flashify Back Up on the computer, and I have a copy of the TWRP backup on the computer. But I can not get into "download mode" and doing a factory hard reset does nothing.
Help needed
Click to expand...
Click to collapse
I am also in same situation. I have cyanogen recovery. haven't find any solution by readings in forums. biggest problem is my phone and adb server. adb shell never works. my phone is unauthorized. only work is sideload, but cannot install zip file. stuck every time on 47% and thee phone reboots and back to cyanogen recovery screen.
anybody had really solved this kind of problem.
any help is highly appreciated. there might be guys like me looking for solution.

[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!!!!

White lines on screen...how to flash kernel?

Rooted my phone successfully with the towelroot apk
Went to back up it up with twrp and now I have white lines.
I see the thread that has the jdi kernel and I have it downloaded.
My problem is I can't find a good tutorial or directions on how to flash that kernel to my phone tho. I can't see a thing on my phone, just the folders when I plug it in USB on my pc.
Phone is the LG G2 D801 Tmobile.
thanks
Flash the zip from twrp
diamond12 said:
Flash the zip from twrp
Click to expand...
Click to collapse
How can I do that from my pc? I can't see anything on my phone due to the white lines, thanks.
mason dixon said:
How can I do that from my pc? I can't see anything on my phone due to the white lines, thanks.
Click to expand...
Click to collapse
The white lines should go away in twrp i think.
power off your device...
hold power and volume down --wait for lg logo, release buttons, hold again the both buttons..confirm reset(it will enter recovery).
Do you have usb otg ?
You need to copy the zip file on your phone.
1. Get the phone screen to be viewable
Power off (keep power button pressed until the phone turns off) and then power on the phone. Don't let the screen turn off. If necessary, go to system settings -> display -> screen timeout -> keep screen turned on.
2. Copy the file from the PC to the phone
Connect the USB cable and choose MTP mode on the phone. Copy the file to a folder of your choice (e.g. Download) on the phone
3. Reboot in recovery mode
Follow bender's instructions or install Rebooter app from play store to reboot to recovery
4. Install kernel
Click Install -> [browse to the folder where you saved the file and select the file] -> follow the prompts to the end -> reboot system
bender_007 said:
The white lines should go away in twrp i think.
power off your device...
hold power and volume down --wait for lg logo, release buttons, hold again the both buttons..confirm reset(it will enter recovery).
Do you have usb otg ?
Click to expand...
Click to collapse
I don't have a usb otg. I can get one if it will help me out here.
Just read diamond12's instructions. I was able to get into twrp recovery and I tried installing the new kitkat kernel(from this thread http://forum.xda-developers.com/showpost.php?p=52414185&postcount=122) and got the same white lines problem.
Does twrp need the kernel to be installed in zip form or should I extract it on my pc and only put the image file on my phone for twrp to use? Twrp has buttons to either install or mount something. Which one is best for kernel.
I also tried the backup I created in twrp and still have the same problem.
I can get to safemode and change display settings so that my phone is usable, but I'm stumped on how to get back to normal here without the lines, thanks.
mason dixon said:
I don't have a usb otg. I can get one if it will help me out here.
The farthest I have gotten is being able to enter safemode on the phone and read the screen but wasn't able to get it to reset or enter twrp recovery.
Click to expand...
Click to collapse
Let me see..
Basically what you can do is
connect phone to pc (usb debugging might be active)..
download adb, or ioroot25(extract it to c:\ioroot25)
open cmd
type cd c:\ioroot25
type
adb devices
type
adb reboot recovery
now you're in recovery
now..
put the kernel inside the same folder where ioroot is (...where ADB is..)
type
adb push kernel.zip /sdcard/kernel.zip
(where kernel.zip is actually the kernel name)
now flash it..
bender_007 said:
Let me see..
Basically what you can do is
connect phone to pc (usb debugging might be active)..
download adb, or ioroot25(extract it to c:\ioroot25)
open cmd
type cd c:\ioroot25
type
adb devices
type
adb reboot recovery
now you're in recovery
now..
put the kernel inside the same folder where ioroot is (...where ADB is..)
type
adb push kernel.zip /sdcard/kernel.zip
(where kernel.zip is actually the kernel name)
now flash it..
Click to expand...
Click to collapse
Thanks bender, I was able to get into recovery with Diamond12's directions. Unfortunately, I've run out of ideas on how to fix my problem.
How hard is it for me to go back to 100% stock from this point?
You must search another jdi kernel and flash it via recovery
Sent from an LS-980 GSM unlocked
mason dixon said:
Rooted my phone successfully with the towelroot apk
Went to back up it up with twrp and now I have white lines.
I see the thread that has the jdi kernel and I have it downloaded.
My problem is I can't find a good tutorial or directions on how to flash that kernel to my phone tho. I can't see a thing on my phone, just the folders when I plug it in USB on my pc.
Phone is the LG G2 D801 Tmobile.
thanks
Click to expand...
Click to collapse
Hey Bro check this out. This is how i got rid of those white lines.
CLICK LINK
ingoljosh said:
Hey Bro check this out. This is how i got rid of those white lines.
CLICK LINK
Click to expand...
Click to collapse
Bender....I see you made an app to tell what kernel is running(I think) here http://forum.xda-developers.com/showpost.php?p=52549785&postcount=146
How do I install that? Thanks
Not sure you guys noticed but panel swapper basically flashing this converts the kernel on your device from one to another(lgd to jdi and vice versa)
Sent from my potato powered LG G3 D800

[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.

Stuck on TWRP without a system to boot to.

Hi, I wanted to return my g2 to stock rom because I didn't like my custom rom, so I followed the lg flash tool guide(tot):http://forum.xda-developers.com/showthread.php?t=2432476
It worked, but it was jelly bean 4.2 instead of Kit kat 4.4, so I tried to install TWRP so that I can install again a custom rom, but when I tried to backup before flashing TWRP, it wrote "backup Failed", I tried again and it wrote it again, but then the phone just stayed on the boot animation for a few seconds and didnt turn on again. After that, again I tried to do the flash tool method just to return to stock rom but now, it just doesn't work, whenever I insert the DLL and TOT file and start the installation, it goes up to 80% extremely quick and just boots up to TWRP without actually installing the stock rom. So now I'm stuck here with TWRP but without a system to boot to and no rom on my sd card to flash.
I really need help here because I have no idea how to continue.
Thanks for any help!
PriStol said:
Hi, I wanted to return my g2 to stock rom because I didn't like my custom rom, so I followed the lg flash tool guide(tot):http://forum.xda-developers.com/showthread.php?t=2432476
It worked, but it was jelly bean 4.2 instead of Kit kat 4.4, so I tried to install TWRP so that I can install again a custom rom, but when I tried to backup before flashing TWRP, it wrote "backup Failed", I tried again and it wrote it again, but then the phone just stayed on the boot animation for a few seconds and didnt turn on again. After that, again I tried to do the flash tool method just to return to stock rom but now, it just doesn't work, whenever I insert the DLL and TOT file and start the installation, it goes up to 80% extremely quick and just boots up to TWRP without actually installing the stock rom. So now I'm stuck here with TWRP but without a system to boot to and no rom on my sd card to flash.
I really need help here because I have no idea how to continue.
Thanks for any help!
Click to expand...
Click to collapse
You could load the zip you want to flash to a USB drive, then connect it to your phone with an OTG cable. TWRP can read from OTG.
Can you get into download mode? (phone off, hold up volume, insert USB cable connected to computer)
thecadman99 said:
You could load the zip you want to flash to a USB drive, then connect it to your phone with an OTG cable. TWRP can read from OTG.
Can you get into download mode? (phone off, hold up volume, insert USB cable connected to computer)
Click to expand...
Click to collapse
I just tried to do it through an OTG cable, it said that it flashed successfuly, but when I restarted it just went back to TWRP without booting up the system. Also, when I tried to wipe dalvik and cache, it said "wipe failed.". When I rebooted it said "It seems that the device is not rooted"... I really don't know what to do now And I can get to download mode.
PriStol said:
I just tried to do it through an OTG cable, it said that it flashed successfuly, but when I restarted it just went back to TWRP without booting up the system. Also, when I tried to wipe dalvik and cache, it said "wipe failed.". When I rebooted it said "It seems that the device is not rooted"... I really don't know what to do now And I can get to download mode.
Click to expand...
Click to collapse
Can you get ADB connectivity from within TWRP if you connect your device to the PC?
If so you could do the following command from your computer.
Code:
adb push ROM.zip /sdcard/Download/
Then navigate to your /sdcard/Download folder and flash the ROM.
d00lz said:
Can you get ADB connectivity from within TWRP if you connect your device to the PC?
If so you could do the following command from your computer.
Code:
adb push ROM.zip /sdcard/Download/
Then navigate to your /sdcard/Download folder and flash the ROM.
Click to expand...
Click to collapse
When I try to do ADB sideload on TWRP, it just loads forever and doesn't do anything... So I cant get ADB connectivity.
PriStol said:
When I try to do ADB sideload on TWRP, it just loads forever and doesn't do anything... So I cant get ADB connectivity.
Click to expand...
Click to collapse
TWRP should detect your phone without the need for ADB sideload.
If I boot into TWRP, I can instantly run "adb devices" from the terminal my phone is picked up as a "device".
If I choose ADB Sideload, my TWRP hangs just like yours does, but if I run another "adb devices" command my device shows up in sideload mode, regardless of it hanging.
Conclusion, try running the adb commands without running sideload in the first place.
Edit: Upon reflection, this is most likely because I have created an RSA key between the PC and my phone.
d00lz said:
TWRP should detect your phone without the need for ADB sideload.
If I boot into TWRP, I can instantly run "adb devices" from the terminal my phone is picked up as a "device".
If I choose ADB Sideload, my TWRP hangs just like yours does, but if I run another "adb devices" command my device shows up in sideload mode, regardless of it hanging.
Conclusion, try running the adb commands without running sideload in the first place.
Click to expand...
Click to collapse
It just says error: device not found whenever I do a command.
Please help, I really dont know what to do.
PriStol said:
I just tried to do it through an OTG cable, it said that it flashed successfuly, but when I restarted it just went back to TWRP without booting up the system. Also, when I tried to wipe dalvik and cache, it said "wipe failed.". When I rebooted it said "It seems that the device is not rooted"... I really don't know what to do now And I can get to download mode.
Click to expand...
Click to collapse
Did you wiped absolutely everything before flashing? Do you have previous Nandroid backup you can just flash. Anyway if you connect your phone to PC while in TWRP what does your PC show. Anything?
yanis15 said:
Did you wiped absolutely everything before flashing? Do you have previous Nandroid backup you can just flash. Anyway if you connect your phone to PC while in TWRP what does your PC show. Anything?
Click to expand...
Click to collapse
I tried to wipe but it just wrote "wipe failed". I do have a back up on my computer but for some reason when I try to connect my phone to my computer through an OTG cable, it doesn't find the backup. And my pc doesn't show anything when I connect my phone.

Categories

Resources