Running latest twrp.
Big problems.
Can't backup, mount, wipe /data partition or access internal storage. Although formatting /data temporarily fixes the issue, as soon as I install A ROM within a few days when I try to backup I can't backup /data as its not mountable.
Any ideas?
Follow this guide.
It's not in english, but I can guarantee you 100% that it works.
https://www.youtube.com/watch?v=3whF8AR0TqA&t=0s&list=FLM5L99Kp2UlPwt6vzfTG2Ew&index=108
Matt
Related
Hi, I've got a Nexus 10 and I already have rooted and installed TWRP recovery. I'm used to get devices with microsd slot. As this is not the case, I have a noob question.
I'm having problems installing certain apps and I want to try wiping the device and see if after wiping, the installation suceeds. Just in case, I have already taken a nandroid backup, but, as the backup is located in the internal SD, I'm afraid that if I wipe the device, it will also wipe the backup. Will wiping the device erase the TWRP backup too?. The backup is located at /sdcard/TWRP/BACKUPS/...... and so on. I think that wiping the device shouldn't wipe the /sdcard partition, but I'm not sure about this.
Can you please confirm that wiping the device will erase only /data and not /sdcard?
Thanks a lot.
joanquro said:
Hi, I've got a Nexus 10 and I already have rooted and installed TWRP recovery. I'm used to get devices with microsd slot. As this is not the case, I have a noob question.
I'm having problems installing certain apps and I want to try wiping the device and see if after wiping, the installation suceeds. Just in case, I have already taken a nandroid backup, but, as the backup is located in the internal SD, I'm afraid that if I wipe the device, it will also wipe the backup. Will wiping the device erase the TWRP backup too?. The backup is located at /sdcard/TWRP/BACKUPS/...... and so on. I think that wiping the device shouldn't wipe the /sdcard partition, but I'm not sure about this.
Can you please confirm that wiping the device will erase only /data and not /sdcard?
Thanks a lot.
Click to expand...
Click to collapse
I can't confirm anything; but I'd highly suggest just backing up the nandroid to a computer just in-case. I'm pretty sure though that the nandroid would remain as long as you didn't actually format data.
espionage724 said:
I can't confirm anything; but I'd highly suggest just backing up the nandroid to a computer just in-case. I'm pretty sure though that the nandroid would remain as long as you didn't actually format data.
Click to expand...
Click to collapse
That's what I've done so far. I have copied the nandroid backup to my PC. I suppose that it's possible, in case the backup is deleted, that I can mount the partition from recovery and then using adb, push the backup in order to restore it. Is this the way to go?.
By the way, what you mean is that the backup will remain as long as I don't format /sdcard, right? Because /data will get formated if I wipe the device, I think.
Thanks.
joanquro said:
By the way, what you mean is that the backup will remain as long as I don't format /sdcard, right? Because /data will get formated if I wipe the device, I think.
Thanks.
Click to expand...
Click to collapse
Not entirely sure; I know in TWRP there's some advanced wipe thing with selections (cache, dalvik, system, something else, usb) and then there's a "Format Data" button.
wiping cache, dalvik, system, and factory reset it will not wipe your "media" partition, also known as your sdcard or internal storage. Doing the "format data" will wipe the whole device including your sdcard.
EniGmA1987 said:
wiping cache, dalvik, system, and factory reset it will not wipe your "media" partition, also known as your sdcard or internal storage. Doing the "format data" will wipe the whole device including your sdcard.
Click to expand...
Click to collapse
I finally wiped the device, tested the application I wanted to install and recovered without problems from the TWRP backup that hadn't been deleted. Now that I know that wiping the device solves the problem, I have to backup apps and data for every user, wipe again and recover only apps and data.
Thanks a lot.
I've had a few problems installing ROMs recently; boot loops, errors etc. And then when I try to restore my back-up, having wiped everything - /system, /data, /cache, /(int)sd_card, it reports a failure to restore the /data. But when I restart my phone, it's still how I left it: apps, phonebook, messages are still there and still work. I can read and write to the /data partition with ES or Xplore.
It first occurred using CWM but it did the same thing with TWRP, as well. TWRP reports 'failed to mount data', CWM, in Mounts & Storage, says "unmount /data" but nothing happens when I click on it. It just flashes and stays on 'unmount' option.
Backup data from both recoveries is fine. It's the right size and if I copy it to my PC and unpack it, everything is there so recovery has no problem reading the /data partition. Just writing to it. Or formatting it.
Any clues as to what's causing this would be greatly appreciated.
I'm running V20E Android 4.1.2 by szymel.
I've been using TWRP for ....ever on my N900T (Note 3). Today I thought to format System/Data/cached to f2fs. TWRP 2.8.7.0 would only format system and cache, and only offered "Error =1" when trying to format data. By dropping down to 2.8.1.0 I was able to format data. All seemed well until I found the system and cache reverted back to ext4...probably after restoring the rom. I DID check the -rf box in settings before restoring the backup, but ...oh well.
After updating TWRP to 2.8.7.0 I went to backup the rom again, but data was not accessible. I tried repairing the file, but that was in vain also. I went BACK down to 2.8.1.0 and formatted the data back to ext4, but left system and cache f2fs. The phone seem to work fine like this, but I would REALLY like to format the data f2fs. Is there anyway of doing this with success?
The Fix.
kcohen67 said:
I've been using TWRP for ....ever on my N900T (Note 3). Today I thought to format System/Data/cached to f2fs. TWRP 2.8.7.0 would only format system and cache, and only offered "Error =1" when trying to format data. By dropping down to 2.8.1.0 I was able to format data. All seemed well until I found the system and cache reverted back to ext4...probably after restoring the rom. I DID check the -rf box in settings before restoring the backup, but ...oh well.
After updating TWRP to 2.8.7.0 I went to backup the rom again, but data was not accessible. I tried repairing the file, but that was in vain also. I went BACK down to 2.8.1.0 and formatted the data back to ext4, but left system and cache f2fs. The phone seem to work fine like this, but I would REALLY like to format the data f2fs. Is there anyway of doing this with success?
Click to expand...
Click to collapse
Okay...I found that by downgrading TWRP to 2.8.1.0 I was able to format all to f2fs, restore the backup, and create a new backup. So...I'm going to stay on 2.8.1.0 until someone can assure me 2.8.7.0 or another version can perform the format and maintain the stability..
Something recently broke Twrp so now I cant touch my /data partition, ive read that I need to format my phone to fix this issue, the problem is that a recent update from Lineage OS is what broke it I believe, and I updated from within LOS (check for new updates download and install) which auto restarted, so when I went to go back into TWRP to reflash Magisk I started getting the issue
So now I have no root, and no twrp abilities that I know off, which means I cant use a decent backup program
can anyone help?
EDIT: I don't know if they has any relevance but ADB does have root permissions,
EDIT 2: I found out that I can reinstall magisk VIA ADB Sideload from within TWRP, as such I now have root again
@foxtrotdragon: If you can get into TWRP then reflashing Magisk shouldn't be a problem. However, if /data is encrypted then Magisk may not flash, it needs to be able to place some files there. You'll lose everything on internal storage, but formatting /data is the only way forward.
If you can't boot into TWRP then the obvious solution is to reflash recovery from a PC.
AnonVendetta said:
@foxtrotdragon: If you can get into TWRP then reflashing Magisk shouldn't be a problem. However, if /data is encrypted then Magisk may not flash, it needs to be able to place some files there. You'll lose everything on internal storage, but formatting /data is the only way forward.
If you can't boot into TWRP then the obvious solution is to reflash recovery from a PC.
Click to expand...
Click to collapse
Getting into twrp is no issue, the issue is that TWRP cannot read the internal storage, it can read external fine, but fails to read internal storage, which means i cant flash anything, an reflashing twrp does nothing
im fine with reformatting the phone, but i need to backup my stuff first, which i can not do since no root
@foxtrotdragon: Unfortunately for you, backing up the contents of your internal storage is no longer possible, unless you can think of some ingenius method to decrypt without formatting. Formatting /data is your only option. In the future, you should make backups *BEFORE* disaster strikes.
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.