I wanted to clean-flash stock firmware and everything went successfully with installing TWRP recovery. However, when I restore a previous nandroid that worked perfectly fine won't boot past the secure startup. I already deleted the password.key files, etc. in /data/system.
If I use LGUP to install any firmware, it boots fine. It randomly did this secure startup thing. Any help would be appreciated. What I have done so far:
1) Installed different twrp. All have the same issue
2) Already followed the instructions on Dirtysanta post, i.e., formatted data
3) When I format data, no other 'data' is created in /data/ folder, which is weird
Is my phone bricked?
Related
Hi
I unlocked the bootloader and installed TWRP as described in the tutorials here. I then also flashed SuperSU. Afterwards I booted into stock Android and it worked. I wanted to do a factory reset so that after reinitializing I could install all my apps automatically. I went into TWRP --> Wipe --> Slide to Wipe. After rebooting it asked me for the pincode to decrypt. Since that didn't work I wiped everything except the SD Card and flashed lineage. Since then, my G6 keeps booting into TWRP. I even tried AquariOS (randomls chosen ROM) and I have the same results. I checked into "backup" in TWRP and the system partition is about 1GB. I then wiped it, and it went down to almost 0 I think. I then reflashed lineage and it was again at almost 1GB. So as it seems it is writing something. I then went into "mount" and system was not selected. I checked it and "mount system partition as read only", rebooted into the system, and it booted into TWRP again, system was unchecked under mount, but the read-only option was still checked. tried the same without the read-only option, same result. So now my G6 keeps mounting into TWRP instead of the ROM.
Any ideas what I can do?
Format data in recovery, don't wipe. It will disable encryption. Flash stock 14a again and see if you can get it to boot
I fixed it, somehow TWRP was messed up. I redownloaded it and reflashed it and then it worked
Hi Guys,
I unlocked the bootloader and flashed twrp following this tutorial - https://www.youtube.com/watch?v=tRcYUMBgvaI
I was getting an error while flashing a custom rom and gapps. It showed "storage space is insuffient". So I wiped internal storage and did a factory reset also.
After that I copied all the files (rom, gapps, magisk) to the internal storage from PC. But when i checked in the twrp there is not file.
I think its due to the twrp encryption. I used to get the initial message in twrp to allow modifications or something. But now its just rebooting to twrp and no files is there. But connected to PC I can see all files.
Please help. Its an urgent issue, that I took my wife's phone to flash and need to return it atleast in working condition. Else you guys know the consequences right:silly:. Its a kind request.
Thanks...
i have the same problem , when i load twrp it asks to put the decrypton code but it says that its wrong..
Hello there,
I had had LOS17.1 installed on my SGN3. Made a TWRP 3.4.0-1 backup, flashed a stock ROM for a few days and then went for restoring LOS17 again. But restoration wasn't successful.
First "Cannot restore Modem - mounted read only" log show up during restoration. Checking Modem in Mount did not help. So I unchecked modem, which "solved" the issue.
After restore completed, device rebooted but got stuck in what I would call a recovery loop. Black screen -> TWRP splashscreen -> black screen (repeat indefinitely). It can be broken up by entering Recovery (or Download) by appropriate hardware key combo.
But the issue is I cannot get into my system. Installing LOS17 from scratch works but I would like the data.
I tried multiple TWRP versions and fix_rootfs_label.zip I have found here on XDA with no success. Installing fresh LOS17 works and restoring only "data" lets me boot, but the system is not usable (but still trying).
Restoring more than "data" always ended up in the recovery loop.
What was interesting is that when I tried to install GApps to the restored backup, it threw an error saying that this GApps package is for Android 10, while Android 7 (SDK 25) was detected on the system.
Any help?
Thank you!
Did you flash Gapps or no? If yes try nano if no i can't help
Hi all,
I have a rooted moto G5 plus with TWRP, Magisk, and dotOS. Everything worked fine until the other day when the phone got stuck on the boot image (the phone ran out of battery over night). I was wondering if there is a way to go past this without loosing any data (including app messages such as in signal, etc), perhaps by fixing it from the TWRP terminal (e.g. replacing a corrupted file).
Any help/suggestion is appreciated.
I am making progress: I wiped the device, re-flashed dotOS + GAPPS, and then replaced /data with the old /data. Next I had to delete roles.xml and runtime-permissions.xml in /data/misc_de/0/apexdata/com.android.permission/. Now the device goes past the boot image; however, it doesnt recognize the pattern password. Is there a file from the old tree I should reinstate for the old password to work, or is there a file I can delete to get around this?
Thanks!
edit: I am doing this through adb in recovery mode (TWRP)
It's alive! I had to delete locksettings.db, locksettings.db-shm, and locksettings.db-wal from /data/system (infor here) and it worked. Everything seems to be there and working, that was a close call, backing up right now
Hello,
when I try to restore my TWRP backup of Lineage 17 on my Samsung Galaxy A5 2016 I run into the
extractTarFork() process ended with ERROR: 255​issue, and have tried several methods which I have found when googling for fixes, but none has worked so far.
This is what I've tried:
- unmount the data partition before restoring backup
- just restore system, data and boot, tick off the others
- wiped data/system/cache, flashed rom+gapps, flashed backup with all sections activated (radio, system, data,...)
- wiped data/system/cache, flashed rom+gapps, flashed backup with only restoring system, data+boot
- wiped data/system/cache, flashed rom+gapps, wiped dalvik/cache after, flashed backup w/ only restoring system, data+boot
- wiped data/system/cache, flashed rom+gapps, reboot, clicking next on every configuration screen, reboot to recovery, restore only data from backup
The issue seems to always occur at the same point in the process, in the progress bar its either at ca 45% or 58%, depending on if only data or everything is supposed to be restored. Restoring everything _BUT_ the data partition works, but the stuff I need to access is the data.
Kind regards
Hello,
I managed to fully restore the backup follwing this guide
Now my phone boots up to the point right after the Lineage logo is shown, where it says "starting the phone" and would probably ask for sim pin if I had a sim card in it. Then it reboots and does the whole thing again.
Does anyone have an idea how to fix this?
Kind regards