I just installed TWRP and backed up the stock ROM. No matter what option I choose, it reboots to TWRP menu and I'm stuck.
Look in devolpmet thred
Sent from my LG-P700 using xda premium
I tried the without adb method in http://forum.xda-developers.com/showthread.php?t=2451696 but it says I don't have space. I have adb enabled and have adb access i believe. I used flashify to install TWRP because the traditional method wasn't working. How and where do i exactly run
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
?
Please help.
General thread and flash stock rom
Sent from my LG-P700 using xda premium
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!
here goes...
Accepted an OTA from LG while running Rayglobe.
Stuck in CWM boot loop.
Cannot restore nandroid or install any zip from the sd card.
Managed to get adb and entered the command below, but still stuck in the CWM loop.
Here's what happens
C:\Users\WIN 7 HP>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/blo
ck/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
65536+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 0.623509 seconds, 51.3MB/s
~ #
can you see whats wrong?
Many thanks
Any make sense of this for me? the poor phone is dead
mwatson said:
Any make sense of this for me? the poor phone is dead
Click to expand...
Click to collapse
install your recovery of choice again. or of your recovery still works, wipe and install your rom of choice again.
mwatson said:
here goes...
Accepted an OTA from LG while running Rayglobe.
Stuck in CWM boot loop.
Cannot restore nandroid or install any zip from the sd card.
Managed to get adb and entered the command below, but still stuck in the CWM loop.
Here's what happens
C:\Users\WIN 7 HP>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/blo
ck/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
65536+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 0.623509 seconds, 51.3MB/s
~ #
can you see whats wrong?
Many thanks
Click to expand...
Click to collapse
here's what I did when I was in a very similar situation as you. I was using CWM and I got caught in the same boot loop I was trying to get into download mode. After doing some research you have to download TWR p on your computer and saiboat it.. (Sorry was using speak to text) you have to sideload twrp and then flash it.. Reboot the phone and it will be in twrp.. Then you can put it in download mode and flash stock ROM back on... Or you can sideload a ROM that you kbiw works and flash it.. You go to install on cwm and then look for install from sideload... Use adb to push IT.. Look up (can boot loop xea) on Google and there will be some very helpful post that will tell you exactly how to do what I'm saying
darkobas said:
install your recovery of choice again. or of your recovery still works, wipe and install your rom of choice again.
Click to expand...
Click to collapse
Thanks for your help.
My recovery still works, but when i install a zip from sd like rayglobe for instance, it goes through the aroma set up, reboots but goes straight back into CWM recovery. I get a message saying android-secure.img missing.
I also cannot install a nandroid back up
joewaz said:
here's what I did when I was in a very similar situation as you. I was using CWM and I got caught in the same boot loop I was trying to get into download mode. After doing some research you have to download TWR p on your computer and saiboat it.. (Sorry was using speak to text) you have to sideload twrp and then flash it.. Reboot the phone and it will be in twrp.. Then you can put it in download mode and flash stock ROM back on... Or you can sideload a ROM that you kbiw works and flash it.. You go to install on cwm and then look for install from sideload... Use adb to push IT.. Look up (can boot loop xea) on Google and there will be some very helpful post that will tell you exactly how to do what I'm saying
Click to expand...
Click to collapse
Thanks for your advice. I wasn't sure if you could flash one recovery on top of another.
If I cannot install a zip on CWM, do you think I will be able to with TWR?
mwatson said:
here goes...
Accepted an OTA from LG while running Rayglobe.
Stuck in CWM boot loop.
Cannot restore nandroid or install any zip from the sd card.
Managed to get adb and entered the command below, but still stuck in the CWM loop.
Here's what happens
C:\Users\WIN 7 HP>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/blo
ck/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
65536+0 records in
65536+0 records out
33554432 bytes (32.0MB) copied, 0.623509 seconds, 51.3MB/s
~ #
can you see whats wrong?
Many thanks
Click to expand...
Click to collapse
I ran into the same issue last night. This fixed it on my twrp recovery. I'm not sure how it works for CWM but if you're running through adb shell would it not be the same?
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.
Thanks for your help guys, I managed to install TWRP but now i'm stuck in a loop with TWRP instead of CWM.
I wiped and install Rayglobe, but i'm now in a different loop.
any fixes?
Did you try the post above yours?
Sent from my LG-D800 using Tapatalk
tdevaughn said:
Did you try the post above yours?
Sent from my LG-D800 using Tapatalk
Click to expand...
Click to collapse
Yes, just done that and its back in the room!
Thanks all, 5 days of stress over!:fingers-crossed:
coldcrush390 said:
I ran into the same issue last night. This fixed it on my twrp recovery. I'm not sure how it works for CWM but if you're running through adb shell would it not be the same?
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
Where are you typing this? I tried in adb shell while in cwm and now i got twrp to flash and i'm stuck there. I go to advanced and terminal command and it's asking me to choose a file and bringing up my sdcard. I choose select and it open terminal and I entered everything but the phone just boots back to recovery.
mwatson said:
Thanks for your help guys, I managed to install TWRP but now i'm stuck in a loop with TWRP instead of CWM.
I wiped and install Rayglobe, but i'm now in a different loop.
any fixes?
Click to expand...
Click to collapse
I'm in the same situation.
mwatson said:
Yes, just done that and its back in the room!
Thanks all, 5 days of stress over!:fingers-crossed:
Click to expand...
Click to collapse
so how did you do it! My cousin is stressing and I'm stumped as how to fix this.
[UPDATE]
He got it working. He was putting a space after the period and before the 1 so it wasnt working. Once entered correctly the phone booted fine.
imucarmen said:
Where are you typing this? I tried in adb shell while in cwm and now i got twrp to flash and i'm stuck there. I go to advanced and terminal command and it's asking me to choose a file and bringing up my sdcard. I choose select and it open terminal and I entered everything but the phone just boots back to recovery.
I'm in the same situation.
so how did you do it! My cousin is stressing and I'm stumped as how to fix this.
[UPDATE]
He got it working. He was putting a space after the period and before the 1 so it wasnt working. Once entered correctly the phone booted fine.
Click to expand...
Click to collapse
I did that too. I saw what i did wrong and re entered. Glad he got it fixed.
coldcrush390 said:
I ran into the same issue last night. This fixed it on my twrp recovery. I'm not sure how it works for CWM but if you're running through adb shell would it not be the same?
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
Only overwriting fota did not work for me. I had to do it to misc as well. Cheers.
all credits go to thecubed.
i feel sorry for the guy @ q&a section, that had the same experience . had to go through wipe.
will have to remember to update via lg pc suite now to retain apps etc. then just redo bump if ever. thanks autoprime,thecubed and the rest of the amazing devs.
http://forum.xda-developers.com/showthread.php?t=2451696
thecubed said:
Howdy all!
Did you install TWRP and then take the OTA, now you can't get your phone to boot normally, but you do see TWRP?
Here's the easy fix:
If you have ADB access, plug in your phone and run this:
Code:
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
Then you should be able to successfully reboot your phone via the TWRP menu option, or via a simple reboot command in adb.
If you DONT have ADB access (because of an early build of TWRP), you can simply use TWRP's awesome "terminal command" option to run the following:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
You'll have to type that whole thing out, and be VERY careful with spaces and punctuation. One wrong letter and you could nuke your phone.
After that finishes, you can reboot and continue on your happy way!
Let me know if this helps anyone!
As usual, I'm on #lg-g2 in Freenode as IOMonster, if I'm around I'll be happy to help wherever I can.
Click to expand...
Click to collapse
http://forum.xda-developers.com/lg-g3/development/fix-stuck-custom-recovery-trying-ota-t2907508
if that doesn't work, try autoprime's with added step for misc.
after that you can delete the files located at (using es file explorer) device>cache>fota
autoprime said:
LG G3 Stuck in Recovery Fix
Background
This thread is to help those who get stuck in custom recovery every time they try to boot into the rom.. usually after trying to take an OTA. Now that we're all rooted and unlocked this might be needed soon. Inspired by IOMonster's [FIX] Installed TWRP and now you're stuck after OTA? thread for the LG G2. Sometimes wiping FOTA was not enough and wiping the misc partition was also needed. But wiping the entire partition isn't the best idea. I've made a flashable zip to automate this process to properly fix being stuck in TWRP/CWM due to "stuck fota" or "stuck misc"​Fix
Flash LG_G3_Flash2FixStuckRecovery.zip to backup the current stuck fota/misc partitions and then fix them to allow proper booting.
Flashing LG_G3_Flash2FixStuckRecovery.zip creates a backup of your FOTA and Misc partitions in the /sdcard/FOTAnMisc_Backup/ folder.
1. Download the LG_G3_Flash2FixStuckRecovery.zip and place it on your phone. You can use TWRP's MTP feature to copy it from computer to phone, use OTG w/connected storage containing zip or use adb push to get the file onto your phone...
Code:
adb push LG_G3_Flash2FixStuckRecovery.zip /sdcard/
DOWNLOAD FROM CODEFIRE HERE
2. Flash LG_G3_Flash2FixStuckRecovery.zip in recovery or use adb commands below to fix boot issues..
Code:
adb shell
su
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 bs=256 count=1 conv=notrunc
reboot
If you are still booting into TWRP/CWM then you may have accidentally flashed the custom recovery img to the boot partition slot instead of the recovery partition slot. Reflash the rom in TWRP/CWM which should fix the boot.img... or download the required boot.img, place on root of internal storage ( /sdcard/ ) and flash the boot.img in TWRP/CWM...
Code:
dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
reboot
Click to expand...
Click to collapse
I recently got a new G2 D800. I was amazed how easy it was to root using towelroot and adding recovery using autorec. I thought all was well until I accepted some google updates. After updating and rebooting, I was limited to the TWRP screen. So using TWRP terminal, I typed the following commands:
Code:
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
Phone rebooted properly, had an error something about invalid installation. I clicked OK and never saw error again. But now Google+ and GoogleDrive want to update. Do I dare permit this update or will it brick my phone again?
I suggest you flashing stock kdz to make sure your phone is normal again
Hi guys.
I tried to install the oreo stock rom from this page in my xt1680:
https://forum.xda-developers.com/g5...o-twrp-flashable-stock-builds-coming-t3830482
But I am getting a bootloop.
How I can fix that?
AnasElInmortal said:
Hi guys.
I tried to install the oreo stock rom from this page in my xt1680:
https://forum.xda-developers.com/g5...o-twrp-flashable-stock-builds-coming-t3830482
But I am getting a bootloop.
How I can fix that?
Click to expand...
Click to collapse
This happened to me too. What I have to do is boot into the bootloader first then boot into the system. Hope this helps
You can do as JohnSmith8786 suggests, but you will have to do it every time, or you can boot into twrp recovery, hook up to your pc and using adb type
Code:
adb shell dd if=/dev/zero of=/dev/block/platform/soc/7824900.sdhci/by-name/misc
[email protected] said:
You can do as JohnSmith8786 suggests, but you will have to do it every time, or you can boot into twrp recovery, hook up to your pc and using adb type
Code:
adb shell dd if=/dev/zero of=/dev/block/platform/soc/7824900.sdhci/by-name/misc
Click to expand...
Click to collapse
What does the command do exactly?