Can't create a backup through TWRP. - Samsung Galaxy S8 Questions and Answers

I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.

cyborgium said:
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
Click to expand...
Click to collapse
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.

spawnlives said:
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
Click to expand...
Click to collapse
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?

cyborgium said:
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
Click to expand...
Click to collapse
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).

spawnlives said:
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
Click to expand...
Click to collapse
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.

cyborgium said:
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
Click to expand...
Click to collapse
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data

spawnlives said:
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
Click to expand...
Click to collapse
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.

cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.

spawnlives said:
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
Click to expand...
Click to collapse
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?

cyborgium said:
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
Click to expand...
Click to collapse
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.

spawnlives said:
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
Click to expand...
Click to collapse
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.

cyborgium said:
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
Click to expand...
Click to collapse
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254

spawnlives said:
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
I think that second thread you linked may have done the trick.
At first it didn't seem to help, but when I tried it again after reflashing everything, I am now able to mount /data.
I'm still in the dark as to why this happened and hasn't happened to anyone else other than the person who created that file, but either way, thank you very much for your help.

cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Try the modded twrp from nx thread

Related

Encryption unlocked & rooted?

I've been reading something that interested me.
https://www.reddit.com/r/MotoX/comments/2kx2lv/how_do_you_encrypt_a_rooted_moto_x/
Specifically.
I had the same issue today. Booted into safe mode, then I was able to encrypt.
Press power button to get power off popup menu. Press and hold power off. You will get another popup offering to reboot in safe mode.
Safe mode worked. This uncomplicates my process of rooting, unrooting, encrypting, and having issues rerooting after encryption. This is also a crazy easy single step process for an issue that has given me months of headaches.
You shall be the first person ever that I have given gold to.
Thank you so much!
Click to expand...
Click to collapse
I enter my password in the encryption settings menu and hit the Encrypt button
Click to expand...
Click to collapse
How would encryption effect flashing a new rom?
What are your guys thoughts on encryptimg a unlocked and rooted phone?
I do not want to enable it yet till it is comfirmed its ok.
Thanks.
Um I haven't had a problem and I've encrypted the software many times as I have installed many rooms and I always encrypt after setting everything up post root so it should just work without issue. Maybe they just weren't being patient and it can take a bit of time
timde9 said:
Um I haven't had a problem and I've encrypted the software many times as I have installed many rooms and I always encrypt after setting everything up post root so it should just work without issue. Maybe they just weren't being patient and it can take a bit of time
Click to expand...
Click to collapse
What about unencrypting? To say to flash a new kernel or rom?
Well that's an interesting question. I am testing twrp builds from hashbang to try and get encryption fully supported for this device in twrp. Until that time you can actually still flash zips via adb sideload no problem
timde9 said:
Well that's an interesting question. I am testing twrp builds from hashbang to try and get encryption fully supported for this device in twrp. Until that time you can actually still flash zips via adb sideload no problem
Click to expand...
Click to collapse
Ohh. Cool. I'll have to learn adb.
@timde9
I've got twrp installed.
To get to recovrry mode, do I go into recovery mode in twrp and then the recovery button in twrp to install packages m zips from adb?
to install packages via adb is pretty simple really you just open twrp go to advanced menu and open "adb sideload" from there. Then connect your device to your computer install adb and sideload an app with this syntax
"adb sideload ***.zip"
That is radical. Ty for this.
Encryption went like a breeze.
took no more than 20 min. I feel safe now.
timde9 said:
Well that's an interesting question. I am testing twrp builds from hashbang to try and get encryption fully supported for this device in twrp. Until that time you can actually still flash zips via adb sideload no problem
Click to expand...
Click to collapse
Just found out after encrypting twrp fails to mount data to backup. I might restore without encryption. That way I have access to backups on my phone too.
So I am having a problem restoring a backup. Since I cannot decrypt, to get rid of data from being locked down, do I flash with a rom? I am stuck.
Ok I have to do a factory reset. But not sure if this exists and works through twrp. Or if I have to do a factory reset some otherway.
Ok I skipped trying to reinstall rom and did a little searching.
This guy but with a 6P had exact issue.
For me to wipe data I need to
Code:
fastboot format userdata
https://www.reddit.com/r/Nexus6P/comments/3qnzz0/twrp_unable_to_mount_data/
Hitti2 said:
Ok I skipped trying to reinstall rom and did a little searching.
This guy but with a 6P had exact issue.
For me to wipe data I need to
Code:
fastboot format userdata
https://www.reddit.com/r/Nexus6P/comments/3qnzz0/twrp_unable_to_mount_data/
Click to expand...
Click to collapse
Is this ok to do? I don't want mess anything up.
Hitti2 said:
Is this ok to do? I don't want mess anything up.
Click to expand...
Click to collapse
That will erase all your data including files, apps, etc. Anything installed to /system should be untouched.
asuhoops8628 said:
That will erase all your data including files, apps, etc. Anything installed to /system should be untouched.
Click to expand...
Click to collapse
Thanks for confirming this. Exactly what I need when time comes to decrypt "wipe" I will use this.
I wasn't sure if it would delete the partition or wipe, this is why I asked.
Ty.
Hitti2 said:
Thanks for confirming this. Exactly what I need when time comes to decrypt "wipe" I will use this.
I wasn't sure if it would delete the partition or wipe, this is why I asked.
Ty.
Click to expand...
Click to collapse
Upon reading this again, just to be safe, you might want to start with just a fastboot erase. I think format does the same thing, but I have never used it.
Since you would be specifying the partition with both commands, I do not think you are in risk of completely blowing up your user partition if you choose to use fastboot format, but once again, I have always just used fastboot erase.
Hitti2 said:
Ok I skipped trying to reinstall rom and did a little searching.
This guy but with a 6P had exact issue.
For me to wipe data I need to
Code:
fastboot format userdata
https://www.reddit.com/r/Nexus6P/comments/3qnzz0/twrp_unable_to_mount_data/
Click to expand...
Click to collapse
So I went to use this. I got an error.
Code:
Formatting is not supported for filesystem with type 'raw'
So now, that I am guessing, since twrp can now decrypt, I should just be able to go into twrp and do a full wipe and reinstall of the trupurexmm 2.5 And encryption should be gone?
Hitti2 said:
So I went to use this. I got an error.
Code:
Formatting is not supported for filesystem with type 'raw'
So now, that I am guessing, since twrp can now decrypt, I should just be able to go into twrp and do a full wipe and reinstall of the trupurexmm 2.5 And encryption should be gone?
Click to expand...
Click to collapse
Nope. Encryption is still enabled. I flashed trupurexmm 2.5 following
5. How To Install A ROM with TWRP Recovery
Prerequisites: unlocked bootloader, TWRP recovery.
Installing a ROM is a pretty straight forward and easy process. Before you install anything you should make a nandroid backup (instructions above).
Download a ROM and appropriate Gapps package and place on your device.
Boot into your custom recovery.
Perform a full wipe.
Select the wipe option from the TWRP home screen.
Select advanced wipe.
Check the system, data, cache, and dalvik cache options.
Swipe to wipe.
Install the ROM.
Select the install option from the TWRP home screen.
Navigate to where you have the ROM zip stored on your sd card and select it.
Swipe to install.
Most ROMs will run an installer script at this point but some ROMs have what is called an Aroma Installer which allow you to choose some install options before the script runs.
You will also need to install the appropriate gapps package directly after installing the ROM.
Once you've installed all necessary zips you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button.
Click to expand...
Click to collapse
I'm having an issue encrypting. Encryption will not start on my rooted moto x. I factory reset and encrypted, but could not get root working. Flashed everything via adb sideload in twrp but root refueses to work. Any ideas
Sent from my XT1575 using Tapatalk

Can't do anything with TWRP. Cannot mount /data and unable to find crypto footer.

Hey, so I rooted my Galaxy S7 edge exynos, and everything was great. However, when I boot into recovery, TWRP can't do anything. It can't backup, install images, nothing. It says my memory is 0mb, and if I try to backup it says "cannot mount /data and unable to find crypto footer". I can restart my phone to system and everything works perfectly. Is there a way to fix this? I'm using latest version of TWRP (3.0.2)
Thanks guys!
Byyz said:
Hey, so I rooted my Galaxy S7 edge exynos, and everything was great. However, when I boot into recovery, TWRP can't do anything. It can't backup, install images, nothing. It says my memory is 0mb, and if I try to backup it says "cannot mount /data and unable to find crypto footer". I can restart my phone to system and everything works perfectly. Is there a way to fix this? I'm using latest version of TWRP (3.0.2)
Thanks guys!
Click to expand...
Click to collapse
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Brava27 said:
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Click to expand...
Click to collapse
Is there no way around this at all? It's really a hassle having to reset my phone every time.
Is there at least a way to install xposed without formatting?
Thanks!
Byyz said:
Is there no way around this at all? It's really a hassle having to reset my phone every time.
Is there at least a way to install xposed without formatting?
Thanks!
Click to expand...
Click to collapse
You only do this once, use flashfire or titanium backup to backup your stuff.
did you flash this after TWRP?
"If you only want a bootable system partition or writable data in TWRP:
Download dm-verity and force encryption disabler.
Without exiting TWRP, transfer no-verity-opt-encrypt.zip to your device over MTP* and flash it using [Install] in TWRP."
https://idlekernel.com/fun-stuff-trust-me/no-verity-opt-encrypt.zip
same here !:<
Same problem a few days ago. Caused by secure startup or encrypt device obviously lol. Only fix for read/write on data/internal storage is factory reset in stock recovery. Unfortunately this was the only fix for my fussy G935F.
TWRP couldn't mount data to wipe anyway I tried and the only way to flash was through selecting extSD.
i dont have escription enabled though ._.
jgalvez21 said:
i dont have escription enabled though ._.
Click to expand...
Click to collapse
I find a solution, just go in wipe and format data , it will removes encryption on internal storage. if not works try a factory reset in stock recovery them try again, S7 is encrypted out of the box and Twrp can't read or mount data. Works for me in G935F.
how long does it take to format? i chose exfat and it's taking ages... am i doing something wrong?
Brava27 said:
FORMAT DATA, it's explicitly stated in the instructions. You must format data to wipe encryption.
Sent from my Pebble Time
Click to expand...
Click to collapse
i unlocked a nexus 5 and got the same problem, formatted data, all seems good now
is there a way to save my data? my phone is oneplusone
if you use twrp to flash xposed, it'll still work. But your data is still encrypted.
Should I do anything else after the Formating data (install TWRP again, root again...)?
I remember that I did format data in my last phone and it completely deleted everything including OS, so now im little afraid.
Currently I can't do nothing in TWRP, not wipe and not backup...
Nitzans said:
Should I do anything else after the Formating data (install TWRP again, root again...)?
I remember that I did format data in my last phone and it completely deleted everything including OS, so now im little afraid.
Currently I can't do nothing in TWRP, not wipe and not backup...
Click to expand...
Click to collapse
Just format data and you will be able to use twrp.
fureedx said:
Just format data and you will be able to use twrp.
Click to expand...
Click to collapse
Thanks, it worked! Too bad that the only way to get this is by loosing all the data .
Hi all,
I followed instruction on installing TWRP and also have root. I also installed the no-verity-opt-encrypt.zip file, but I still can't access internal SD. It says 0mb. Also after installing the zip it similar stated 'unable to mount'.
When I try to format data it can't mount it.
am i missing a step??
ideas?
Thanks in advance...
PS: not sure if this is relevant, but it keep coming up with the same flash screen message: "keep system read only?"
I tick the box says don't display this, and swipe to allow modifications, but get this message every time.
The_Hammer said:
Hi all,
I followed instruction on installing TWRP and also have root. I also installed the no-verity-opt-encrypt.zip file, but I still can't access internal SD. It says 0mb. Also after installing the zip it similar stated 'unable to mount'.
When I try to format data it can't mount it.
am i missing a step??
ideas?
Thanks in advance...
PS: not sure if this is relevant, but it keep coming up with the same flash screen message: "keep system read only?"
I tick the box says don't display this, and swipe to allow modifications, but get this message every time.
Click to expand...
Click to collapse
You have to format the data after you installed twrp. And then you can flash supersu and no verity opt thingie.
Thanks for the reply... It wont let me format it. 'says can not mount'
I'm having the same issue here. Although I can root, I cannot wipe data, so no way to install a custom ROM

Gt i9506 10 gb used by system after flashing.

hello there!
some months ago i tried a custom firmware on my 9506 (i think that was the first version of arya mod) but i didnt kinda like it so i downloaded again the stock fw and flashed it back.
i did my typicall "download the basic apps" routine and on the 4th app an "insufficient storage available" message appeared on my screen and i was like "lol whats wrong?" i checked on and i found that 10.6Gb was used by system.
Well i thought that i downloaded maybe a bugged stock rom and i didnt have the free time at the time to check whats wrong so i decided to live with it till i find some spare time to check it again.
Yesterday i downloaded and flashed the lineage os fw and i was sure that this would fix the problem...but...well it didnt..still 10.6 used by system.
i tried wipe EVERYTHING (dalvik/cache/system/internal) and reflashed again but still nothing,i flashed again the stock rom,still nothing, i searched online but i didnt find a solution, i downloaded diskusage app to see where are those 10gbs but i couldnt figure out where they where.
So if anyone knows anything or had the same or similar problem it would be great if he/she write here and give a solution or some tips.
Thanks in advance
Try format data from recovery.
Pwnycorn said:
Try format data from recovery.
Click to expand...
Click to collapse
Thanks for your reply!
You mean the wipe option or am i missing something?
I did wipe everything via twpr recovery from the "advanced wipe option" and checked everything except my sdcard and still nothing.
is there any other way to completly format it ? if so,then how i can do it?
bakos360 said:
Thanks for your reply!
You mean the wipe option or am i missing something?
I did wipe everything via twpr recovery from the "advanced wipe option"
Click to expand...
Click to collapse
There's a format data option there too.
Pwnycorn said:
There's a format data option there too.
Click to expand...
Click to collapse
lol i didnt see it and it was in front of my eyes!
i tried that too today but here is what is happening
Updating partition details...
...done
Full SELinux support is present.
Running boot script...
Done.
MTP enabled
E:unable to wipe '/data' -- unknown file system ' auto enable to format to remove encryption.
Mount media patd for recreate TWRP settings. /data/media/o
TWRP settings saved
Updating partition details...
...done..
for some reason it seems that its enable to format '/data'
any other option ? =/
bakos360 said:
lol i didnt see it and it was in front of my eyes!
i tried that too today but here is what is happening
Updating partition details...
...done
Full SELinux support is present.
Running boot script...
Done.
MTP enabled
E:unable to wipe '/data' -- unknown file system ' auto enable to format to remove encryption.
Mount media patd for recreate TWRP settings. /data/media/o
TWRP settings saved
Updating partition details...
...done..
for some reason it seems that its enable to format '/data'
any other option ? =/
Click to expand...
Click to collapse
Try flashing the stock ROM together with a PIT file
i fixed it guys
i flashed again cwm recovery and i formated EVERYTHING from there and then reflashed again the rom and gapps and that fixed the problem.
Thanks for your help !
For the record, CWM's incremental backup feature was what I believe was stealing your space. If you still have CWM on that device, make sure to set the default nandroid backup format to ".tar" instead of ".dup", clear out your nandroid backups, clear all the allocated space, and then upgrade to the latest version of TWRP.
CWM hasn't been updated in a few years now and has difficulty installing modern ROMs.
you are right i think.
if i recall corectly when i flashed that rom back then before the problem appeared, i used cwm recovery so yeah maybe thats the main reason that this happened.
i allready set the default backup to .tar and cleared out all the nandroid backups and i allready use TWRP now.
thanks for the tip mate!

[HELP!] TWRP createTarFork() error 255 when backing up data

I have installed FreedomOS on my OnePlus 5. I'm not sure if this is related to FreedomOS, but when I try to make a backup in TWRP with data, system, and boot, it has an error with createTarFork() shortly after it gets to backing up data. It also says 'read only filesystem' when I try to open Terminal from Advanced and run 'cd /data/media/0/TWRP/BACKUPS/bad7d639 && rm -rf backup-name'. What can I do to fix this and why is this happening?
EDIT: I have 32GB storage left
I had error 255 when restoring the data partition on my elephone p9000, for me it was because it was a bad data write and it was corrupt.
Pro4TLZZ said:
I had error 255 when restoring the data partition on my elephone p9000, for me it was because it was a bad data write and it was corrupt.
Click to expand...
Click to collapse
What was corrupt? How did you fix it?
keeganjk said:
What was corrupt? How did you fix it?
Click to expand...
Click to collapse
Something in the partition, so I didn't restore that
Pro4TLZZ said:
Something in the partition, so I didn't restore that
Click to expand...
Click to collapse
Which partition? I just wiped my device and reinstalled FreedomOS.
keeganjk said:
Which partition? I just wiped my device and reinstalled FreedomOS.
Click to expand...
Click to collapse
Userdata partition
Pro4TLZZ said:
Userdata partition
Click to expand...
Click to collapse
OK.
Pro4TLZZ said:
Userdata partition
Click to expand...
Click to collapse
I wiped my device and reinstalled FreedomOS, it still shows up with the same error.
keeganjk said:
I wiped my device and reinstalled FreedomOS, it still shows up with the same error.
Click to expand...
Click to collapse
I'm sorry I can't help you more
Hi guy, i had the problem, try to flash blue spark recovery and retry restore, if rom bootloops, try to dirty flash your rom
I just wiped and reinstalled OxygenOS http://downloads.oneplus.net/oneplus-5/oneplus_5_oxygenos_4.5.10/. Once I reconfigure all my settings, files, etc, I'm going to see if it works.
dago said:
Hi guy, i had the problem, try to flash blue spark recovery and retry restore, if rom bootloops, try to dirty flash your rom
Click to expand...
Click to collapse
What's the difference between TWRP and bluspark TWRP?
dago said:
Hi guy, i had the problem, try to flash blue spark recovery and retry restore, if rom bootloops, try to dirty flash your rom
Click to expand...
Click to collapse
I can't restore; I deleted all my backups in an attempt to free up space.
I think I found the solution!
1. Go to Wipe in TWRP, swipe to factory reset
2. Download:
OnePlus Recovery: http://oxygenos.oneplus.net.s3.amazonaws.com/OP5_recovery.img
OxygenOS: http://oxygenos.oneplus.net.s3.amaz...3_OTA_015_all_1708252353_e6d7756780064352.zip
3. Rename recovery image as recovery.img, boot phone into fastboot, plug into computer, run these commands on the computer:
fastboot devices
fastboot flash recovery recovery.img
fastboot boot recovery.img
4. Open recovery on phone
5. Select Forgot Password, will wipe all leftover files in SD Card.
6. Boot back into recovery, select reload, select Install over ADB or Install Over USB or something similar and plug phone into computer.
7. Run 'adb sideload oxygen-os-filename' without quotes on computer.
8. Let it install OxygenOS, it may appear to be frozen at some points; it probobaly isn't, so don't shut it off or unplus USB.
9. Download Bluspark TWRP: https://forum.xda-developers.com/devdb/project/dl/?id=26601&task=get
9. Reboot into fastboot, plug into computer and run these commands on the computer:
fastboot devices
fastboot flash recovery bluspark-twrp-filename-location.img
fastboot boot bluspark-twrp-filename-location.img
10. Success (hopefully)
Oh. Wait. Now it has the same error when I try to make a backup. (I feel like it might be from installing https://forum.xda-developers.com/android/software-hacking/kali-nethunter-magisk-t3676681, but they say it's unrelated). Doors anyone know why this is happening again?
the solution to this was to boot to your previous rom that u have made nandroid backup with and then setting up the same password/pin in settings > security. When you then boot into twrp it will ask you for the pin/password to decrypt your data partition and then you can flash the nandroid backup(you have to have the same password there). here it is obvious that you are trying to flash data partition that uses different encryption password (in case of stock rom there is non) and this obviously wont happen.
maybe another solution would be to connect externally usb and unmounting data partition and then restoring from usb...
I'm having the exact same issue, but trying to create a Nandroid, not restoring one. Happened on Codeworkx TWRP 20180414. I always remove my passwords, fingerprint, pattern, and face data before I backup, update, etc. since I'm encrypted to avoid issues, and it still happened. I flashed the latest blu_spark TWRP and got the exact same error in the same spot in the data partition backup.
Never had an issue like this before. I even tried saving the data partition separately and still got the same error. Very strange indeed.
All other partitions backup without issue.
I'm on xXx v10.5 w/ ElementalX v3.04, Encrypted
If anyone has any insight, it would be greatly appreciated.
Thanks much!
?
Need4Sneed said:
I'm having the exact same issue, but trying to create a Nandroid, not restoring one. Happened on Codeworkx TWRP 20180414. I always remove my passwords, fingerprint, pattern, and face data before I backup, update, etc. since I'm encrypted to avoid issues, and it still happened. I flashed the latest blu_spark TWRP and got the exact same error in the same spot in the data partition backup.
Never had an issue like this before. I even tried saving the data partition separately and still got the same error. Very strange indeed.
All other partitions backup without issue.
I'm on xXx v10.5 w/ ElementalX v3.04, Encrypted
If anyone has any insight, it would be greatly appreciated.
Thanks much!
?
Click to expand...
Click to collapse
For me flashing normal oxygenos with magisk 16 and formatting data and trying to make it boot with the new flash and then rebooting into recovery and restoring made it work. I guess it has to do with the right filesystem having to be made first.
hi guys,
i've read all the thread in XDA related to ERROR 255, can't find anything to solve my problem trying to backup on TWRP ending with this error 255.?
I'm not using any parallel apps, not using Apps Locker, don't have any folder 999 (searched using Root Browser).
I've tried deleting all fingerprint, face unlock and screenlock as well.
No joy.
I'm using latest TWRP 3.2.2-1, OOS 5.1.7, Rooted.
Appreciate any help or sharing experience.

Rooting my X00_TD?

I have unlocked the boot-loader and also installed TWRP recovery on my X00_TD device which has 'Pie' as it's Stock ROM.
Now, I would like to know how to proceed to do rooting on this device.
Is it necessary to run decrypt zip file before we run 'magisk-v19.1' to root?
Please advise!
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Decrypt and then Magisk?
arko9699 said:
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Click to expand...
Click to collapse
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Kudla said:
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Click to expand...
Click to collapse
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Unable to Mount Storage?
arko9699 said:
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Click to expand...
Click to collapse
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Kudla said:
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Click to expand...
Click to collapse
Try to run decrypt.zip it should fix the problem. I used a OTG device since I didn't have a SD card. Unless you run decrypt.zip you cannot use the internal storage. So I would recommend running it despite my last statement.

Categories

Resources