Wanted to make a backup but TWRP says 0MB next to data and when I tried to delete the TWRP (the one where it makes my backups) to make some space it says it couldn't mount data.
Related
Hello
I made a full backup with philz and transferred it to my pc. Tried to delete the backup folder from my internal sd card but can't. Get this message:
Cannot delete backup: the storage is write-protected. Remove the write-protection and try again.
BTW, I'm on stock kk 4.4.2
Thanks for your help
By default, CWM and Philz protect the nandroid data from being deleted since they utilize an incremental backup scheme rather than the older image file setup. For example, let's say you have three nandroid backups: A, B, and C. If the nandroid data wasn't write protected and you delete backup A, you would screw up ALL your nandroid backups. A is the master backup. When the recovery makes backup B, it only backs up the changes made between A and B. If you then made backup C, it would back up the changes between A AND B, and C. Since the possibility of screwing up all your backups by deleting the oldest is a major problem, CWM and Philz write protect the storage.
Go into Philz, then enter the backups menu. Delete the existing backups using its delete function, then select "free unused storage data" to recover the space. After doing that, switch to TWRP 2.8.6.0, as it doesn't make incremental backups and thus doesn't write protect the storage space. Also, unlike CWM and Philz, you can place the backups on your MicroSD card..
Done....thanks very much Strephon
hi, i have the same problem and it work, thanks!
So you thought that encrypting your OnePlus One was a good idea? So did I. I had so many issues after having encrypted my One that I simply wanted to get rid of it. After a lot of searching, I didn't come across a simple guide to decrypt it. And here I am
First thing first. Did you know that TWRP doesn't do a _full_ nandroid backup? It backs up everything _except_ /data/media. That was basically the reason why I'm writing this.
What you need:
An unlocked bootloader
TWRP recovery (I was using 2.8.6.1 but any version might just work)
An USB-OTG dongle with a memory stick that is large enough to hold all the data
A full battery
Here are the steps:
Go into TWRP recovery and make a backup. Be sure to select the usb_otg as the target location for your backup
Go into TWRPs terminal and make a backup of your /data/media folder. When starting the terminal, you will be asked in which folder you want to start. Navigate to "/data/media" and ckicl "select". I used tar to achieve this. Simply type in "tar cvpzf /usb_otg/datamedia.gz ." (Note: there is a dot a the end!) and it will create an archive with everything in it including permissions.
Now wipe your device. *scary* I know... Still in TWRP go to "Wipe", "Format Data" and type in "yes". This won't just wipe your data but also wipe the encryption
Since our device is basically empty, we just have to restore eveything. Let's start by restoring the nandroid backup
After the nandroid backup, let's restore /data/media. For this go back into TWRP terminal. Starting folder will be "/data/media" again. Type in "tar xvpzf /usb_otg/datamedia.gz ." (Note: there is a dot a the end!) to restore everything.
There you go... OnePlus One decrypted!
Simple and clear guide. Just what I was looking for. A couple of questions before I begin:
File size limit. Most USB drives are FAT32 (4GB file limit) so how do you split the tarball into <4GB files?
Will TWRP (or Android or whatever recognizes filesystems) recognize exFAT, NTFS or other filesystems that don't have file size limitations?
If you do split the tarball into smaller sizes, how do you restore them?
Thanks again for the guide and info
Hi XDA, as most of you are aware, my phone's efs partition was corrupted through too many rom installations, I have recived a new Pixel XL as part of google's warranty and want to teach you how to properly backup your partitions using TWRP.
General steps (REQUIRED):
Download TWRP 3.2.0-0 image (link coming soon, for now just check any ROM forum)
fastboot boot it (fastboot boot *file path*)
Without Storage:
Skip the copying of /data/media steps and you will be fine!
With Storage:
Go into the file manager
navigate to /data/media
make a copy in /data
There should be a copied /data/media folder
click backup and refresh sizes, you will see that the data partition has increased significantly
backup all partitions ONE BY ONE (if one partition goes wrong, you don't have to erase everything)
Use a file transfer program (I use Air droid) to transfer this backup to your computer
hello,
I tried to root my Lenovo l38011
i do it with a tutorial
in the install twrp 3.2.3 I have accessed
in the root to install the super su and the other stuff its stock because of the internal memory show 0mb i try the all of
ideas to wipe data
format data
i can't install nothing
example
if i wipe data
and wipe the Dalvik, data, system
it showing failed to mount /data
/system
/cache
invalid argument
if i want to format data its show me
unable to open '' to wipe crypto key
unable to wipe data
unable to format to remove encryption
I try to search on the web but doesn't find any solution
if in the adb fastboot
in the cmd windows, I write fastboot OEM unlock
its restart the l38011 and wipe the all data
the I enter to the recovery mode and in the adb windows i am write fastboot flash unlock
what can i do now?
Hope it xda will give a solution
You should try magisk for root not supersu maybe this will help
Ansar.shaheen1 said:
You should try magisk for root not supersu maybe this will help
Click to expand...
Click to collapse
I can't install anything because i don't have internal memory its show 0mb
i try to install it already
yaniv134 said:
I can't install anything because i don't have internal memory its show 0mb
i try to install it already
Click to expand...
Click to collapse
Do you unlock the bootloader?
I have the same problem, did you solved it?
Sloved!
If you don't slove this problem to this time i can help you. You need to install china firmware v255, or restore backup from twrp if you have one or you can download it on 4pda, to restore /data dir you need to only one thing: go to "wipe" menu in twrp, mark /data partition and click on "reformat/restore partition" then chose one of types ext2/ext4 or other, then swipe to confirm and next do this thing one more time but restore original type of dir (if you have ext4 do ext2 then ext4) and you wil restore /data partition
Internal Storage 0MB unable to mount including Data thus wipe Data failed always asking for Decrypt Data
As titled, after unlocking bootloader using the unlock.sh script method, already flashed several versions of twrp recoveries yet no one can mount the Internal Storage.
Rom is still stock Security patch Oct2018 ASUS_X00TDB OPM1.WW_Phone-15.2016.1810.334-20181019 .
(I tried flashing decrypt.zip from mounted external OTG USB, it seems successful but then the Decrypt Data is still there. )
It is unbelievable that twrp unable to mount the internal storage. Any help greatly appreciated tks
formate data reboot recovery mount system, data and persist flash decrypt zip. if failed flash magisk also.
Update: not sure which one or both solved the internal storage zero issue, by:
1. flashing Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
2. in twrp, Wipe || Format Data || yes (warning: Data will be deleted in the wipe) (with the Setting "Use rm -rf instead of formatting" UNticked beforehand)