I'm trying to install LineageOS on an LG G3 I bought, so I rooted the phone successfully on its stock firmware, then installed a terminal emulator, them copied over the TWRP image and ran these commands in the terminal on the phone:
Code:
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
dd if=/sdcard/twrp-3.3.1-0-d855.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
I then rebooted the phone and booted into TWRP 3.3.1-0 successfully. I downloaded a recent LineageOS nightly (lineage-15.1-20190724-nightly-d855-signed.zip) and copied it to the phone. Then I booted into TWRP again, selected Install, selected the image, and it claimed to install it. But now when I reboot the phone, it shows the LineageOS opening screen animation for maybe 2 minutes, then reboots the phone again and shows TWRP. What's going wrong?
OK I managed to fix it by first going to wipe, and wiping Data, Cache, and Dalvik. Installed after that and it booted OK.
Related
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.
I have a rooted LG G2 D802 with XPosed Framework installed.
I installed applications update from internal upgrade center app (something like 5MB).
When it rebooted it keeped going to TWRP recovery.
From recovery I tried wiping Dalvik Cache, System and Cache and then rebooting, but again it keeped going to TWRP.
Then I tried tryping the following instructions from the TWRP terminal command:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
and
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
I rebooted and now it is stuck on LG logo.
What could I do?
DDeleted said:
I have a rooted LG G2 D802 with XPosed Framework installed.
I installed applications update from internal upgrade center app (something like 5MB).
When it rebooted it keeped going to TWRP recovery.
From recovery I tried wiping Dalvik Cache, System and Cache and then rebooting, but again it keeped going to TWRP.
Then I tried tryping the following instructions from the TWRP terminal command:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
and
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
I rebooted and now it is stuck on LG logo.
What could I do?
Click to expand...
Click to collapse
Well, what's internal app center?
If you mean xposed, then do the following in TWRP:
Go into "Install"
Find and flash Xposed-Disabler. It's located here : sdcard/Android/data/de.robv.android.xpos/files/Xposed-Disabler.zip
Flash that and reboot.
If it's not caused by Xposed then there's no way out other than flashing a new rom.
Flashing stock rom with LG Flash tool did the trick.
Hello All,
My v20 Arrived yesterday (Sprint ls997), and I immediately went through the DirtySanta guide and got it working. I wasn't paying attention, and accidentally selected to reboot and install an android update. The phone rebooted into recovery, and no matter what I try, it only boots into recovery.
I've tried:
Wiping Cache and Dalvik Cache
Wiping Caches and Data
Wiping System, Caches, and Data, then reflashing the stock file included in the thread
Wiping System, Data, Caches, and Internal Storage, and reflashing
Formatting Data and Reflashing
Wiping Everything and reflashing a custom rom
adb reboot system
fastboot reboot
Is there a method to fixing this, or did I brick my phone?
Thanks,
dfiel
EDIT:
I fixed it! Device booted into Android, just have to fix com.android.phone stopping every couple of seconds. What fixed this for me is:
While booted into TWRP, on your computer:
Code:
adb shell
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc bs=256 count=1 conv=notrunc
reboot
It then booted into bootloader mode. I ran step3.bat from the DirtySanta exploit, and it rebooted back into fastboot, I then flashed boot2.img using the command:
Code:
fastboot flash boot boot2.img
It then booted into android.
Hopefully this helps somebody else!
try this forum.xda-developers.com/v20/help/help-stuck-twrp-recovery-t3496631/page2 it works on mine device
ljm625 said:
try this forum.xda-developers.com/v20/help/help-stuck-twrp-recovery-t3496631/page2 it works on mine device
Click to expand...
Click to collapse
Just tried it 3 times, no dice.
dfiel said:
Hello All,
My v20 Arrived yesterday (Sprint ls997), and I immediately went through the DirtySanta guide and got it working. I wasn't paying attention, and accidentally selected to reboot and install an android update. The phone rebooted into recovery, and no matter what I try, it only boots into recovery.
I've tried:
Wiping Cache and Dalvik Cache
Wiping Caches and Data
Wiping System, Caches, and Data, then reflashing the stock file included in the thread
Wiping System, Data, Caches, and Internal Storage, and reflashing
Formatting Data and Reflashing
Wiping Everything and reflashing a custom rom
adb reboot system
fastboot reboot
Is there a method to fixing this, or did I brick my phone?
Thanks,
dfiel
EDIT:
I fixed it! Device booted into Android, just have to fix com.android.phone stopping every couple of seconds. What fixed this for me is:
While booted into TWRP, on your computer:
It then booted into bootloader mode. I ran step3.bat from the DirtySanta exploit, and it rebooted back into fastboot, I then flashed boot2.img using the command:
It then booted into android.
Hopefully this helps somebody else!
Click to expand...
Click to collapse
Did you get the com.android.phone file to quit crashing and is your device working smoothly? Id like to update to ZV5 but no one seems to have any advice on how to accomplish it succesfully.
bgibson72 said:
Did you get the com.android.phone file to quit crashing and is your device working smoothly? Id like to update to ZV5 but no one seems to have any advice on how to accomplish it succesfully.
Click to expand...
Click to collapse
I ended up flashing this rom. It's been working great, root works, and the only issue is the static on boot.
Hi,I am using Lenovo zuk Z1. I flashed lineage os 14.1 .
As there was a OTA update I tried to install it.But it failed.So I tried manually flashing it.But after flashing my phone boots only into twrp mode repeatedly.I usually flash the update manually.But this time I tried through the lineage update and it failed. So I went back manually flashing it. I am unable to solve this issue. So can anyone help me?
Flash a new rom ( rr, lineage, nuclear,... )
Then reboot
If it continues to be rebooted into recovery
Try this code in twrp terminal
You can find it in the Advance, and then choose twrp terminal
Just find it, twrp terminal
Then write that code
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
ENTER
Then wait for a while
Then write
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
ENTER
then reboot
It will work
Yashwanth98 said:
Hi,I am using Lenovo zuk Z1. I flashed lineage os 14.1 .
As there was a OTA update I tried to install it.But it failed.So I tried manually flashing it.But after flashing my phone boots only into twrp mode repeatedly.I usually flash the update manually.But this time I tried through the lineage update and it failed. So I went back manually flashing it. I am unable to solve this issue. So can anyone help me?
Click to expand...
Click to collapse
This will fix it without losing any data. (NO FACTORY RESET NEEDED)
Go to TWRP recovery terminal commands, and enter the following:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
PRESS ENTER
THEN TYPE
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
THEN PRESS ENTER
REBOOT
This should boot up your phone without any changes.
Hi there, I have the xt1685 which I've used for years, when I first got it I installed the Resurrection Remix rom, which I've been using with no issues ever since.
Today my phone ran out of battery and when I tried to boot it again, it tried and looped back to TWRP instead of the system.
I had LiveBoot installed which I saw was spamming "Waiting for service sensorservice" before it looped back, so I googled that and ended up here where I found the command "rm -rf /data/adb/*" which I tried to run via the terminal in TWRP, this made it no longer boot into the LiveBoot animation but instead just the rom boot animation, the animation ran for a while and then it looped back to TWRP.
I then found this which recommended to run the commands: "dd if=/dev/zero of=/dev/block/bootdevice/by-name/fota" & "dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc" I ran these, tried booting and got the same result, animation to TWRP.
I tried wiping the caches which also didn't help.
So at this point I'm not sure why and what happened or how to fix it, I hope someone here can help me.
Try reflashing the rom as a dirty flash. If it doesn't work, clean flash. If it still doesn't fix it, flas stock 8.1 firmware and then boot and then again flash the custom rom of choice.