Hello guys,
I had Lineage OS installed on my Galaxy S10+ and it got into boot loop after my phone lost power a few times because of low battery. The system halts at the Lineage Logo animating forever.
The problem is I canont access encrypted files on /data partition as it seems default Samsung encryption is used (and I have not disabled encryption when I was installing Linaage - I know - my mistake...) What I'm thinking to do is to do a dirty flash of the same system or an upgrade.
But before I will do it, I would like to do full backup of /data partition - sector by sector, so if my dirty flash won't work I can restore /data partition again and try to fix it again without loosing my data.
So my question is: How can I backup whole /data partition as an image? And how can I restore it?
My system is going into boot-loop, but I can get into recovery.
Thank you very much!!!
Encryption keys not withstanding it's the user partition that's likely been corrupted. You see where I'm going with this?
You try safe mode?
Related
Hi all,
I tried to update the custom ROM on my A200, but in the process, the data wipe failed.
What I did exactly, is use ROM Manager to load the latest JellyBean CM ROM for A200, selecting the option to wipe the data partition (do a factory reset). My device rebooted, and it started trying to wipe the /data partition, but it just stopped right there. No error or anything, the system just hung there for 2 hours before I turned it off. As I feared, the system was rendered unbootable.
However, CWN Recovery *is* still available, which I guess is a good thing. So, I can boot in recovery, but I can't really get it to function. I tried formatting the data partition again - system hangs. I tried installing the image from sd card - system hangs.
Does anybody know how I can recover from this? It seems to me that there's nothing *really* broken, just that my data partition is corrupt somehow -- and I suppose there has to be a way to recreate these partitions.
Thanks!
I've had CWN Recovery run for 24 hours now, and still nothing. It fails to format the data partition.
Anyone knows how to tackle this problem?
Hey I have tried to flash lineage os by grarak with no success. I am currently on android 7(test key) if I use twrp 3.0.2 phone gets stuck at patching system unconditionally, with twrp 3.0.3 I got this message system partition has unexpected contents after ota update, so I wiped system, change system format (in hope that I will pass this message) still wasn't able to flash it. Is there any way to solve this? It's possible that system partition is smaller than rom system?
So after moving to this phone form a rather humble galaxy nexus the partition layout is much more complex I know what a lot of the partitions do but a few I have no clue.
So in the interest of explorations let's see if you guys can help fill me in:
Boot (Self explanitory the boot partition for the kernel bootstrap)
Cache (Self explanitory the standard android cache partition)
Recovery (Recovery partition where TWRP goes or stock recovery)
System (System partition that is in use aka the OS)
System Image (??? What is this an image of system as shipped form factory?)
Data (User data partition)
Modem (??? The factory modem drivers?)
EFS (I hear this is the IMEI MAC and other modem setting the phone needs for connectivity)
Question mainly revolves around the system image partition I take it this is put in place to recover from a very bad flash from factory. Out of curiosity does this every get overwritten say during official updates? I'm curious if anyone knows if it's possible to get the system image partition back after a wipe it's a possible mod say after warranty period although right now I wouldn't touch that 3GB partition.
It's supposedly a "feature" of TWRP used to create a stock ROM image in case you ever want to restore to the original ROM or when you want to get OTA updates.
Don't know how accurate that info is, as I've just found it by googling a bit. It's present on other, older, phones too. So it's definitely not unique to OnePlus.
I seem to have a damaged data partition on my Nook HD. All attempts to wipe, restore or write to the partition are unsuccessful using multiple TWRP versions and CWM. Attempts to flash ROMs, including all stock ROMs are unsuccessful. Once in a while I see a warning: "This /data backup was made with ext4 file system! The backup may not boot unless you change back to ext4." (Yes, that's ext4 x 2, but restoring usually just exits on an error).
Does anyone know a way to reformat or otherwise repair my /data partition?
Thank you.
So, after a few months on Oreo I clean flashed DotOS Pie last night, got the whole thing set up and tried to encrypt phone. It now bootloops, but I can get to TWRP, which shows me a pattern to decrypt data, even though my phone had PIN lock. I did the trick to "translate" between PIN and pattern grid. TWRP shows me "data successfully decrypted, new block device: '/dev/block/dm-0'", but I can't mount /data (consequently can't mount /sdcard), though I can mount /system. TWRP's console shows "Failed to mount /data (Invalid argument)".
I know I can just format /data on the wipe menu to get rid of encryption, but since I don't have a backup of /sdcard, I would like to know if there is any way to get /data mounted again so I can backup my internal storage before formatting /data.
If it makes any difference, my TWRP version is 3.2.1-0, latest one available at twrp.me. I heard that 3.2.1-1 handles encryption better (even better than more recent versions on some devices), but it's not available on the official site.
--Other details that might be relevant, but I'm not sure:
1. I do have TiBu's backup on my computer, so if I must restore my apps I'm fine with it (though I don't have a backup of the whole internal storage);
2. I also have a Nandroid backup of /system, /data and /boot, but it's on the phone storage only;
3. Last, but not least, I have flashed latest Magisk just before encrypting the device.
I saw some stuff related to a no-verity encryption zip file to be flashed via TWRP in some discussions regarding other devices, would it be of any help in my case?
@anupritaisno1 sorry to bother you, but you're the one person to ask for help with TWRP on OP2. Could you lend me a hand here? Would your enhanced TWRP help in my case? I know one shouldn't restore backups made with one version of TWRP within another version, and also that the tempcache stuff needs to be set up to flash ROMs. My plan here, if this could help, was to see if your enhanced TWRP can successfully decrypt my /data and internal storage, then I would back up my internal storage to my computer and either set up tempcache or reflash official 3.2.1-0 to format data and flash the ROM again.
Thanks in advance.