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.
Related
followed this to unlock bootloader - all went fine...
http://forum.xda-developers.com/showthread.php?t=2447319
and this to flash recovery, all went well - except the instructions omitted to include the requirement to flash the img file using "fastboot flash boot ....img" (you cant "run" and img file!)
http://www.ibtimes.co.uk/articles/5...tra-clockworkmod-twrp-recovery-bootloader.htm
Switched off, back on again , holding volume up and voila the clockword recovery was available.
But when I rebooted and held the volume up again, no recovery mod, it seemed to be overwritten.
Had to flash the recovery image again to get into recovery, then lost it again on next normal boot??
Any ideas?
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?
So I had a completely bricked XT1023 that showed no signs of life. I found a mte of the phone and did the backup to an sdcard with the DD command, then wrote the image to the sdcard with Win32 Diskimager. I put the sdcard in the dead phone and help the Power button for a few seconds and then the screen come on with the unlocked bootloader warning and then continued into the rest of the boot as normal. I the flashed a stock rom via adb and mfastboot, and everything seemed to go as normal but no matter what I do, the phone will only boot if the sdcard with the backup.img is inserted. Without the card, it just stays dead, as it was before. I even tried taking the card out before flashing the stock image but still the same result. Can anyone help me shed some light on this? Thx. Running 4.4.4.
Figured this out. The backup.img was taken from a phone running 5.1. Tried flashing a 5.1 stock rom via mfastboot and it seemed to stick. Now works without the sd card inserted.
OK, progress on this, not completely solved yet though. Now that it will boot without the sd card in it, it only boots to fastboot mode. Nothing else. From there, I can boot via the Normal Boot option and it will then boot to the main system. When the phone is powered off, then turns on, it goes straight to fastboot. I've tried flashing stock roms via adb and fastboot and a stock rom via twrp with the same results, always booting to fastboot mode first.. Also, there is no recovery unless I install a third party such as twrp.
Gonemad said:
OK, progress on this, not completely solved yet though. Now that it will boot without the sd card in it, it only boots to fastboot mode. Nothing else. From there, I can boot via the Normal Boot option and it will then boot to the main system. When the phone is powered off, then turns on, it goes straight to fastboot. I've tried flashing stock roms via adb and fastboot and a stock rom via twrp with the same results, always booting to fastboot mode first.. Also, there is no recovery unless I install a third party such as twrp.
Click to expand...
Click to collapse
Have you tried with fastboot oem fb_mode_clear ?
Nope, but that did the trick..Thank you
nickleby said:
Have you tried with fastboot oem fb_mode_clear ?
Click to expand...
Click to collapse
Hello, any way you still have that backup image handy? I have completely bricked XT1023 and looking for backup.img or another working phone.
Situational update: I now have another working XT1023 and try to create bootable sdcard. I tried to use dd command suggested by aravinvnair99
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/backup.img bs=1024 count=168960
But it did not work. I figured path to sdcard was wrong. It should be of=/storage/sdcard1/backup.img
Apparently, bs= and count= are also wrong as I was not able to create full 4GB image using these.
I wonder what correct numbers should be. I would highly appreciate assistance.
I have had the Umidigi One Max for almost 3 weeks now. I have rooted, installed TWRP, disabled-Force-Encryption and tried a variety of GSI Roms (see below). I have put back on stock for now, because I have been having a weird issue with the phone. Hopefully it will not start happening now that I have stock back on the phone.
I've had both LineageOS/ResurrectionRemix 9 GSI installed, that ended up with the same issue.
I had ResurrectionRemix on it yesterday. All working fine, all day long. Bluetooth, Android Auto, WiFi Etc. As I'm sitting in bed, all of a sudden the phone popped a warning "Powering down". It reboots, and then boots straight into twrp. I manually reboot it, and again, it boots straight into twrp. I tried doing a full wipe, and restore of my backup in twrp, reboot, and it does the same thing, boots into twrp.
Tried restoring stock via SPflash, when I start the download process in SPflash, power off the phone, and plug it in, instead of starting the transfer, the phone wakes up and boots straight into TWRP!
The only way, I was able to for stock back on was by doing this:
From my Ubuntu Linux machine, issued these commands:
adb reboot bootloader
(All Umidigi stock images)
https://community.umidigi.com/forum.php?mod=forumdisplay&fid=211
1. fastboot flash recovery recovery.img
2. fastboot flash boot boot.img
3. fastboot flash userdata userdata.img
4. fastboot flash system system.img
5. fastboot reboot
At this point the phone boots back into stock, De-Encrypt, Install TWRP, and all is working for now. However, what would cause the phone to power down abruptly, only boot into TWRP, and twrp backups to fail? I also tried to do a full wipe (type yes), and install a new ROM, and that finished, and booted straight into twrp.
Also, I had unlocked the bootloader via fastboot, so I'm not sure if that contributed to this issue. I have since re-locked the bootloader just in case.
Links:
https://twrp.me/umidigi/onemax.html
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
https://androidfilehost.com/?fid=1322778262904004415
Recently, on TWRP, I decided to factory reset my phone but carelessly deleted the system as well. After flashing back my stock system.img and boot.img through fastboot, it boots into twrp only. when i reboot to system through twrp, it just boots into twrp as well. I need help pls. My phone is neffos c9a btw.