Can't load past boot animation. - Moto G5 Plus Questions & Answers

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.

Related

[Q] [HELP][LG L5 E610V][CWM] Impossible to boot into CWM

Hi there,
this is my first post bu I have been playing with my LG L5 e610v for long time. I have had installed CyanogenMod 10.1, 10.2 and 11.
This last time, I came back to the stock rom and now is impossible for me to boot into CWM.
I have tried:
Installing a KDZ with a rooted stock rom with CWM
Copying using adb and dd command many differents CWM images (6.0.28, 6.0.4.7)
Using rommanager app
but always the result is the same: I boot to recovery and it gets stuck in the LG logo. I have to switch off and switch on again and the stock ROM starts again, but no way to boot CWM.
I have tried even overwritting emmc_appsboot.img, but no results.
Please, could you help me? I need CWM for installing CyanogenMod again.
try this,extract cwm and copy the image file to your internal sd card,open terminal emulator and type following line
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p17
than enter
after this type reboot recovery and your phone reboots to it
It worked!! But I cannot understand... why it works using the terminal emulator and not using adb??
Thank you very much!
maybe anything was wrong with installer script or something,glad to see its solved.greeetz
I really dont understand. copying the img using dd works only 1 time. The second time, If I tried to boot (using key combination or writing reboot recovery in the terminal emulator) it gets stuck again in the LG logo. I have to copy again the image for start CWM again...
Any ideas why this is happening?
have u tested with format system before flash cwm,maybe there is a weird rest from an programm or something which blocked,but i never have see it?
After a hundreds of removes and installations, formatting and everything now is working fine. I cannot say what solved the problem, but definitely using terminal emulator was a huge step hehe
thanks!
great,now you can start to flash custom roms,the journey begins........

Am I bricked?

I tried rooting my phone and think I bricked it. I followed the instructions here:
https://forum.xda-developers.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410
I got to the
I got as far as booting into TWRP for the first time and did the format. It wasn't clear to me where I could flash SuperSU.zip. Even though I had previously downloaded it, I couldn't find it. I presume it got wiped out when I formatted.
I then tried to reboot and it got to the Verizon flash screen and would go no further. ADB saw the device so I ran ADB reboot recovery and it got to the same spot.
Then I tried fastboot flash boot bootbackup.img and fastboot reboot. It then booted to a screen that is just a bunch of gray lines (I can see the VZ splash screen behind it) but ADB does not see the device.
This is where I'm at and can't seem to get back to TWRP or anywhere else. Is the phone hosed?
okay so I got to the same exact spot and got stuck for a while I believe. when it allows adb support on the verizon screen, preform the adb command for booting to the recovery and it should boot into twrp if you flashed it right ealier, just flash weta or lineage os on the rom slot. if not, download the kdz for the phone, lgup and uppercut and start fresh
Only advice i have is this: Keep trying all the steps untill you can flash raid your system..... and keep formating your phone (volume/power, untap-power at logo, volume/power) until all the steps have worked.
Disregard
h910 user....

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

v20 bricked help

so I have a us996 I unlocked the boot loader installed twrp installed a rom. then stupidly I reset the phone inside android.
Phone kept looping to twrp even after reinstalling in twrp and wiping everything trying multiple times
I found this thread that said try this in twrp cmd
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/fota
After that it would not boot at all. I kept getting device not secure Red boot locker screen. I could enter download mode and fastboot. Recovery does nothing.
I was able to flash with lg up and I got all the way to phone reboot but the phone just went right back to fastboot. Took many attempts with lgup and lgflash just to get it to do that.
Fastboot wont let me unlock it now, I cant install twrp again. Im stuck
currently the phone just boot right to fastboot but will enter download mode. If I try factory recovery erases and then its right back to fastboot.

LineageOS on LG G3 keeps booting back into TWRP

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.

Categories

Resources