Related
Hi everyone,
i have the problem that i tried to install custom rom over twrp recovery ( root installed also ).
Installation starts and finishes.
On Reboot i always get back into recovery....
No chance anymore to install any custom rom.
What can be done to solve this ?
FranzB said:
Hi everyone,
i have the problem that i tried to install custom rom over twrp recovery ( root installed also ).
Installation starts and finishes.
On Reboot i always get back into recovery....
No chance anymore to install any custom rom.
What can be done to solve this ?
Click to expand...
Click to collapse
Just LGUP kdz bro
Sent from my LGE LG-H830 using XDA Labs
Hi
thks for answer But i get error message "no handset .... " when starting lgup
FranzB said:
Hi
thks for answer But i get error message "no handset .... " when starting lgup
Click to expand...
Click to collapse
Search for dd commands in the CM 14.1 thread on one of the last few pages. I've used these on my g3, g4 and G5 and its worked to reboot to system.
FranzB said:
Hi
thks for answer But i get error message "no handset .... " when starting lgup
Click to expand...
Click to collapse
You try flashing Twrp update? I did and started getting bootloops
Sent from my LGE LG-H830 using XDA Labs
It's been confirmed if you bootloop twrp
Connect usb then on computer run adb shell
And the 2 commands at bottom of op posts bout rooting: http://forum.xda-developers.com/tmobile-lg-g5/development/root-h830-t3384526
They're the 2 commands beginning with dd one at a time and hit enter. Also, skip running su command. No need in recovery it's already good to go just copy/paste each one in to a command prompt with adb shell and should fix just bought phone today and saw this myself.
RealPariah said:
It's been confirmed if you bootloop twrp
Connect usb then on computer run adb shell
And the 2 commands at bottom of op posts bout rooting: http://forum.xda-developers.com/tmobile-lg-g5/development/root-h830-t3384526
They're the 2 commands beginning with dd one at a time and hit enter. Also, skip running su command. No need in recovery it's already good to go just copy/paste each one in to a command prompt with adb shell and should fix just bought phone today and saw this myself.
Click to expand...
Click to collapse
Thank you very much bro. These two dd commands did it for me. But my directory was different .../platform/soc/624000.ufshc
I also have this problem after I tried to flesh H850 20A OPEN EU.
You can maybe explain to me how you overcame it ??
yossiyemin said:
I also have this problem after I tried to flesh H850 20A OPEN EU.
You can maybe explain to me how you overcame it ??
Click to expand...
Click to collapse
I installed H850 20 A too. But i always got into twrp after reboot.
I connected my lg with pc ( usb ). In TWRP "Advanced" - "Terminal" i wrote these two dd statements.
First i got error - directory was wrong !
I did these two statements one after another:
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
and afterwards
reboot
Without entering twrp my phone installed H850 20A OPEN EU
Btw: My phone was locked again after this procedure and i had to unlock again, install twrp and supersu
RealPariah said:
It's been confirmed if you bootloop twrp
Connect usb then on computer run adb shell
And the 2 commands at bottom of op posts bout rooting: http://forum.xda-developers.com/tmobile-lg-g5/development/root-h830-t3384526
They're the 2 commands beginning with dd one at a time and hit enter. Also, skip running su command. No need in recovery it's already good to go just copy/paste each one in to a command prompt with adb shell and should fix just bought phone today and saw this myself.
Click to expand...
Click to collapse
Absolutely awesome advice/info - THANKS Pariah! :good:
I did the exact command on a h850 with linage and twrp and now I get a phone is corrupt and will not boot message. I hate this phone so much.
FranzB said:
Hi
thks for answer But i get error message "no handset .... " when starting lgup
Click to expand...
Click to collapse
Use UpperCut for flashing by LGUP
FranzB said:
I installed H850 20 A too. But i always got into twrp after reboot.
I connected my lg with pc ( usb ). In TWRP "Advanced" - "Terminal" i wrote these two dd statements.
First i got error - directory was wrong !
I did these two statements one after another:
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
and afterwards
reboot
Without entering twrp my phone installed H850 20A OPEN EU
Btw: My phone was locked again after this procedure and i had to unlock again, install twrp and supersu
Click to expand...
Click to collapse
Be careful, I completely bricked my phone attempting this.... only boot option was to go into the "Software Updating" screen. There was no working OS / Recovery / Fastboot at all.
Previously I've used LG Bridge to do full restore to LG stock image, then start again with OEM unlock, TWRP and then Lineage, but LG Bridge couldn't recover it (or detect it!) and although LGUP would detect it, it took me down a pretty long and messy path of having to download a lot of utilities to convert the stock image to something that LGUP would use and that kept failing 5-10% in to the update... so I ended up sending the phone off to be restored by somebody else (and cost myself £80).
FranzB said:
I installed H850 20 A too. But i always got into twrp after reboot.
I connected my lg with pc ( usb ). In TWRP "Advanced" - "Terminal" i wrote these two dd statements.
First i got error - directory was wrong !
I did these two statements one after another:
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
and afterwards
reboot
Without entering twrp my phone installed H850 20A OPEN EU
Btw: My phone was locked again after this procedure and i had to unlock again, install twrp and supersu
Click to expand...
Click to collapse
Hey,
i also ran into a revocery bootloop and just tried out you two commands. Both replied something like "no space left...". After rebooting the phone now i am stuck with a even worse bootloop saying
[750]
[800]
[850] Boot verfifaction fail
[900] - cause MISMATCH_SIG_LEN
[950]
[1000]
I am not even able to boot into Recovery any more.....Is it now trash?!
I was able to recover it after hours of google and several tools and combinations of it when i finally found a solution that worked. Hopefully nothing is broken in the back that will "fall on my feet" someday...
!!! Solution !!!
Hi,
Today I faced the same problem and after google-ing and reading trough the forums I found the right command that has to be used in this case scenario, which I tried and all worked like a charm!
So if anybody faces twrp bootloop enter this inside terminal window in twrp:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Using the first commands staded above wipes your misc partition and then you end up with a Mac address that changes in every reboot!!! So don't use the first two commands stated above and use this one I posted here. Credits goes to jeffsga88 !!!
Thanks !
Yesterday I encountered the same bootloop after trying to perform an update from LineageOS 14.1 Nightly 20171024 to 20171031 through the system settings menu.
I had tried to wipe all partitions through TWRP and reinstalling the stock ROM, following a forum post (I don't find the link any more, sorry). This did not help.
I hesitated to use dd due to the reports that some phones were bricked after them. Then I found a description on teamsuperluminal dot org (the forum prevents me from posting the exact link) about the same issue occuring on a Xiaomi device; the commands proposed there only owerwrite the first 32 bytes of the two block devices, instead of 512 bytes / respectively everything. I tried to adapt it to the H850 case, as this was the least invasive option I found by a quick search.
Code:
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/misc bs=32 count=1
dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/fota bs=32 count=1
This worked.
My setup:
- LG G5 (H850) EU
- TWRP 3.1.1-0
As this seems to be some kind of delicate issue, I would be curious about what I was actually doing with this. So I overwrote the first 32 bytes of the aforementioned two block devices with zeroes. What are these devices suppposed to contain? Where during the boot process are they read? What might be especially important not to owerwrite? I believe this can get into details quite quickly... but is there maybe any "high level" explanation how this works?
- wemi
recovery bootloop after LOS14.1 manual update (to 14.1-20171226-NIGHTLY-h850 via OTA) on G5-H850 EU with newest TWRP.
used only the first command from wemi, post #17 (on .../misc partition, with bs=32) in TWRP terminal, tried reboot and the problem seems to be solved. no idea why so no guarantee, of course.
Hi, I also got the recovery bootloop after using the dm-verity patch to decrypt the data partition. Can thus confirm that the first commands (overwriting "everything") lead to a corrupt phone and wemi's command let me restore it.
[deleted the rest, because I am obviously an idiot. If the problem proves to not be solved by being less of an idiot, I will edit the post once more and give more details]
Hi
I have a rooted LG g5 h830
I was on 20c with NSS kernel
There was new notification of update available (20d i guess)
I pressed install and it rebooted the phone to twrp
No files were installed in twrp so I guess it didnt update
From Twrp , i chose to reboot to system but every time it reboots to TWRP
Please help
Edit:
found the fix
run these commands in the TWRP terminal (Advanced > Terminal)
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
reboot
arjunking said:
Hi
I have a rooted LG g5 h830
I was on 20c with NSS kernel
There was new notification of update available (20d i guess)
I pressed install and it rebooted the phone to twrp
No files were installed in twrp so I guess it didnt update
From Twrp , i chose to reboot to system but every time it reboots to TWRP
Please help
Edit:
found the fix
run these commands in the TWRP terminal (Advanced > Terminal)
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
reboot
Click to expand...
Click to collapse
Just so you know the above commands are actually not recommended to get out of TWRP boot loop anymore as those commands wipe the whole misc partition including your WiFi Mac address (as discussed by me and autoprime in my thread to fix the always changing Mac address issues).
To anyone stuck in TWRP, run the following command from TWRP to get out of TWRP boot loop:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
This will get you out of TWRP boot loop and not wipe your while misc partition. If you already ran the previous commands and now your WiFi Mac address changes on every boot, visit my fix here:
https://forum.xda-developers.com/lg-g5/how-to/guide-fix-wifi-mac-address-changing-t3533841
...With a twist...
I'm in a similar situation with my h830. After trying to install a CM14.1 update, I kept having it boot into TWRP. Wiping system, or wiping everything, before trying multiple versions of CM14.1, didn't help (of course, now that I know this).
If I still had TWRP I'd be OK. The problem is that I next tried flashing the stock 20a ROM using LGUP, since I knew that if I had 20a running I could get root and re-install, and someone somewhere that the fix to the recovery loop is to reflash a ROM. However, now what happens is it keeps looping into the stock recovery instead of the custom recovery, and now I'm really stuck.
Right now, what I can do is get into fastboot mode, or get into LGUP download mode, or get into the stock recovery (which just keeps erasing things). The device is 'fastboot oem unlock'd already. If I try booting into the system, it shows the T-Mobile logo for about ten seconds and then boots back into recovery. I can flash the stock 20a ROM to heart's content but nothing changes.
Is there any way to wipe the misc partition without having TWRP? Or are there any other suggestions on how to proceed? I have the Android platform-tools, LGUP, and LG Flashtool installed.
jeffsga88 said:
Just so you know the above commands are actually not recommended to get out of TWRP boot loop anymore as those commands wipe the whole misc partition including your WiFi Mac address (as discussed by me and autoprime in my thread to fix the always changing Mac address issues).
To anyone stuck in TWRP, run the following command from TWRP to get out of TWRP boot loop:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
This will get you out of TWRP boot loop and not wipe your while misc partition. If you already ran the previous commands and now your WiFi Mac address changes on every boot, visit my fix here:
https://forum.xda-developers.com/lg-g5/how-to/guide-fix-wifi-mac-address-changing-t3533841
Click to expand...
Click to collapse
I did this os Los 1.5.1 h830 but once it reboots google play services error come up and I cant resolve them even my reflashing with gapps???? any ideas???
Methinks, I've messed up my phone bad. Is there a fix for wiping the misc partition?
running root stock 21d and did a Factory Reset subsequently going into a boot loop
came across this thread and didn't READ it through and applied the incorrect fix
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
it wouldn't boot after that at all. display said Your device is corrupt etc and boot loader was locked
after a while:
boot loader -> flash the RS98810h_01_0303.kdz
unlock bootloader
installed twrp and flashed RS988_21d-Stock_Flashable-COMPLETE.zip
now its stuck in a boot loop. starts up normally, android upgrading till all apps complete. Then a few seconds after the boot is complete (setup process) it reboots and is stuck in the same a boot loop
I think it might have something to do with wiping the misc partition
Anyone know how to recover from that or have a backup of the misc partition to send? Or perhaps I'm off here, but that's the best I can think of
ps: I have the original MAC
If you look at the bottom of the 2nd post in this thread (https://forum.xda-developers.com/showpost.php?p=71797169&postcount=2) it has a link to info on fixing it.
tblade2 said:
Methinks, I've messed up my phone bad. Is there a fix for wiping the misc partition?
running root stock 21d and did a Factory Reset subsequently going into a boot loop
came across this thread and didn't READ it through and applied the incorrect fix
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
it wouldn't boot after that at all. display said Your device is corrupt etc and boot loader was locked
after a while:
boot loader -> flash the RS98810h_01_0303.kdz
unlock bootloader
installed twrp and flashed RS988_21d-Stock_Flashable-COMPLETE.zip
now its stuck in a boot loop. starts up normally, android upgrading till all apps complete. Then a few seconds after the boot is complete (setup process) it reboots and is stuck in the same a boot loop
I think it might have something to do with wiping the misc partition
Anyone know how to recover from that or have a backup of the misc partition to send? Or perhaps I'm off here, but that's the best I can think of
ps: I have the original MAC
Click to expand...
Click to collapse
jeffsga88 said:
Just so you know the above commands are actually not recommended to get out of TWRP boot loop anymore as those commands wipe the whole misc partition including your WiFi Mac address (as discussed by me and autoprime in my thread to fix the always changing Mac address issues).
To anyone stuck in TWRP, run the following command from TWRP to get out of TWRP boot loop:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
This will get you out of TWRP boot loop and not wipe your while misc partition. If you already ran the previous commands and now your WiFi Mac address changes on every boot, visit my fix here:
https://forum.xda-developers.com/lg-g5/how-to/guide-fix-wifi-mac-address-changing-t3533841
Click to expand...
Click to collapse
guys, Lenovo Tab 4 10 here, I've tried using Jeff's command in TWRP terminal, but I'm getting "dd: conv option disabled". What should I do now?
Hi
I have a rooted LG g5 h830
I was on 20c with NSS kernel
There was new notification of update available (20d i guess)
I pressed install and it rebooted the phone to twrp
No files were installed in twrp so I guess it didnt update
From Twrp , i chose to reboot to system but every time it reboots to TWRP
Please help
Edit:
found the fix
run these commands in the TWRP terminal (Advanced > Terminal)
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
reboot
I was in Nougat with root. I tried to encrypt the phone after root.. Big mistake, it was stuck in T-Mobile splash screen for a while. It was not showing encryption progrress. So, I rebooted the phone by pulling the battery out and it asked me to reset the phone.
Booted into TWRP and formatted the file systems and reinstalled ROM. When I reboot, it ONLY boots to TWRP. Tried few tricks but nothing worked. Every time, it only boots to TWRP.
Any ideas? Tried booting to bootloader and oem lock/unlock but nothing helped. Frustrating!
There has to be an easier way to get out of TWRP but simply wouldn't budge!
RainGater said:
I was in Nougat with root. I tried to encrypt the phone after root.. Big mistake, it was stuck in T-Mobile splash screen for a while. It was not showing encryption progrress. So, I rebooted the phone by pulling the battery out and it asked me to reset the phone.
Booted into TWRP and formatted the file systems and reinstalled ROM. When I reboot, it ONLY boots to TWRP. Tried few tricks but nothing worked. Every wtime, it only boots to TWRP.
Any ideas? Tried booting to bootloader and oem lock/unlock but nothing helped. Frustrating!
There has to be an easier way to get out of TWRP but simply wouldn't budge!
Click to expand...
Click to collapse
Ok, found a solution for those who are in the same boat as me.
Boot to TWRP recovery, open Terminal inside TWRP and type:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Reboot and voila, it works! Whew! So much trouble after a failed encryption.
THANK YOU!!!!
Had the same issue! You're a life saver!
RainGater said:
Ok, found a solution for those who are in the same boat as me.
Boot to TWRP recovery, open Terminal inside TWRP and type:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Reboot and voila, it works! Whew! So much trouble after a failed encryption.
Click to expand...
Click to collapse
I installed Oreo ROM and got stuck in TWRP. That command fixed it and let me go back to Nougat.
Thanks it worked!
Thanks Dear
Just to confirm again, It woked for me.
Thanks buddy
RainGater said:
Ok, found a solution for those who are in the same boat as me.
Boot to TWRP recovery, open Terminal inside TWRP and type:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Reboot and voila, it works! Whew! So much trouble after a failed encryption.
Click to expand...
Click to collapse
You are a Genius it worked on T-mobile Lg v10 coming from flashing KDZ in TWRP Nougat 7.0
love you man, you safed me a LOT of time. just did a complete wipe with twrp, restored the backup and the V10 always booted in twrp. i had this before but too long ago to remember. found your terminal code by looking around. lucky me. thanks man, have a cold one on my bill greetings
RainGater said:
Ok, found a solution for those who are in the same boat as me.
Boot to TWRP recovery, open Terminal inside TWRP and type:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Reboot and voila, it works! Whew! So much trouble after a failed encryption.
Click to expand...
Click to collapse
Cud this work for naugat stuck on samsung logo and error about cannot find boot device by name. Etc. No such file or directory
So I've decided to go back to stock the other night, I flashed the 21a zip floating around here. After I did that I cannot get into TWRP. I have reflashed TWRP in fastboot but when I hold volume down and power and go through the menu like normal, it goes to LGs stock erasing data then reboots me. I'm completely lost, any help would be great.
Edit: A little workaround I've found so far is to fastboot flash recovery then pull battery after disconnecting cable. Then going through vol down + power works to enter recovery mode. Going to try flashing a ROM and see what happens.
Edit 2: So...I kept getting unsuccessful encryption after flashing 21a then deleting recovery-from-boot.p from system, even after Magisk was installed. So I flashed the no-verity-opt-encrypt.zip after 21a and booted and now I'm stuck in TWRP loop. Fun.
Edit 3: What a morning! So I ended up formatting everything even internal storage. Then I reflashed 21a, deleted recovery-from-boot.p from system, flashed Magisk, rebooted but it just went to TWRP. So then I went to terminal and typed in "dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc" and it seems to be working just fine right now.