So hello, I'll come right to the point.
I have a rooted Galaxy S7 and it's working good but I want to make a backup of my /data so I can format the data partition from TWRP, as it's encrypted and I can't turn it off (I can disable secure boot but even if I restart the device it doesn't show the option to decrypt the data partition) (cdn.discordapp.com/attachments/301383158509600780/633697401802194955/Screenshot_20191015-180241_Settings.jpg).
Sry for discord, couldn't find anything else to upload from mobile :/
I have rooted with Magisk v.20 and everything else is working really good so I dont want to loose my setup and redo it.
Also how do I update the firmware without removing Magisk? What partition do I need to exclude?
Related
I am really confused with this. What actually android wipedata/reset means ?. Is there any problem if i select wipe data factory reset...? if i select this option, is there any chance of losing my internal memory datas like messages, contacts, etc ?
sareeshmnair said:
I am really confused with this. What actually android wipedata/reset means ?. Is there any problem if i select wipe data factory reset...? if i select this option, is there any chance of losing my internal memory datas like messages, contacts, etc ?
Click to expand...
Click to collapse
The wipe data and factory reset option will wipe the /data partition which includes application data, any apps you've downloaded, pictures, music, messages, and contacts that are not stored on your sd-card. In addition to wiping the /data partition it also wipes the /cache partition which mostly contains your apps temporary files, and other system related temporary files. Your contacts can be backed up to your Google account, messages can be backed up with SMS Backup +, and for your other data I would recommend taking a look at My Backup it doesn't require root, if you are rooted Titanium Backup is a very handy tool for backing up your device.
help me as you can please
My phone it doesn't work already and and i don't want to lose any of my data because its really important to me and i didn't do the back up before …..what can i do ? …… pleas help me
problem
meshalSM said:
My phone it doesn't work already and and i don't want to lose any of my data because its really important to me and i didn't do the back up before …..what can i do ? …… pleas help me
Click to expand...
Click to collapse
problem???
gohel.vishal said:
problem???
Click to expand...
Click to collapse
i have the cyanogen room and it was working well…and then,they create a new update for the room…when I'm install it .. the playstore it doesn't work anymore .. so i tried to return to the old version by the sitting > about the phone … when i did it .. the phone restart it self and sticking in the welcome screen for the cyanogenMod…and i don't have any back up before…and i have a lot important emails and numbers that i don't want to lose it what ever it happens…..please help me with this brother
meshalSM said:
i have the cyanogen room and it was working well…and then,they create a new update for the room…when I'm install it .. the playstore it doesn't work anymore .. so i tried to return to the old version by the sitting > about the phone … when i did it .. the phone restart it self and sticking in the welcome screen for the cyanogenMod…and i don't have any back up before…and i have a lot important emails and numbers that i don't want to lose it what ever it happens…..please help me with this brother
Click to expand...
Click to collapse
Just to clarify do you mean it's gets stuck on the Cyanogenmod Bootanimation or the Setup Wizard welcome screen when you first setup the phone after wiping it or installing a new ROM? Do you have adb debugging enabled (Under Developer Options in System Settings)? Because if you do then you can use that to pull files from your device. Otherwise what you try doing is booting into recovery and trying ADB through recovery to see if you can access it that way, another suggestion would be in recovery mode to do a NANDROID backup of your current setup and then transfer the backup to your computer, extract the userdata.img from the NANDROID backup, and then use Linux to view the content of the userdata.img file (This would be a decent place to start). Otherwise I'm afraid you may be out of luck.
I have a LG G5 H850, with 6.0.1 and stock V10c-EUR-xx.
I disabled disk encryption using the no-verity-opt-encrypt.zip utility by jcadduono.
Now I wiped again using TWRP, but encryption is still disabled as the boot.img/partition still has his modifications to the fstab files (where he does
the change s/\bforceencrypt=/encryptable=/g etc.)
How to I set that back to as it was?
I got into this sitation as I kept finding TWRP could not access the partition - asked for password and there was none.
I do want to use encryption but in my first hour of setting up the phone I had a problem where when I booted into TWRP it would ask for a password and it was not "default_password", and I had not set anything and never used lock screen/pin etc. I tried setting a lock screen/boot screen password - the phone worked but TWRP could not access the filesystem. I tried the cryptfs application and still TWRP was not able to decrypt/access the partition.
Then I tried a terminal with vdc cryptfs changepw command and that just locked me out of the phone completely, as the new or old boot password would not work.
So I went for the no-verity-opt-encrypt.zip solution - but I dont want an unencrypted phone either. Now I want to try encryption and TWRP again - this time setting a pin at the first setup screen opportunity to see if that gets set as the password that TWRP could use. However I can't remove the disable encryption patch!
Ideally I am trying to get to a setup where:
encryption is enabled
I want to be able to boot TWRP and access the encrypted filesystem and install more zip files such as xposed/supersu updates etc anytime in the future.
I dont want to use the "no-verity-opt-encrypt.zip" patch.
I do not want TWRP to be locked out from modifying the encrypted system partition.
Additionally, I havbe not been able to install xposed using TWRP and the zip file (http://dl-xda.xposed.info/framework/sdk23/arm64/xposed-v86-sdk23-arm64.zip) .
In TWRP it installs, I dont see any errors, but on boot up I have no xposed icon. I have been able to install it by downloading the apk and installing as an untrusted source, not sure if there is something wrong in having to do it this way?
Thanks.
current TWRP build for G5 doesn't support encryption
you can use encryption but in TWRP you won't be able to access some partitions (if I remember right is data partition but I might be wrong here)
in order to do so, you need to restore base firmware with LGUP that will turn encryption back on
Thanks. I got it working by flashing just the boot using LG-H85010C-Flashable.Boot.zip
tomb007 said:
Thanks. I got it working by flashing just the boot using LG-H85010C-Flashable.Boot.zip
Click to expand...
Click to collapse
may i ask how did you root it after that? because everytime i try to rooted while encrypted,i flash the zip in twrp (with no errors) but system still has no root! the only way i could root was to format /data in twrp, hence have a decrypted phone!
I am looking for the same thing as you are : encrypted phone with twrp and root access.
I rooted using TWRP adding supersu at the time of installing the OS before the OS encrypts the partition. Once the partition is encrypted TWRP can no longer access it, and I can no longer install supersu or anything else.
I may have installed root before encrypting, then reflashed the boot partition so that encryption is re-enabled, then ran twrp to reapply supersu - which would fail to put files on the encrypted partition - but this is fine as they were already there, and let the twrsp supersu installation modify the boot partition.
The result is an encrypted phone with root and TWRP. However, TWRP can not access the encrypted partition so I don't think I can update supersu using TWRP, and I dont think I can patch the OS easily without wiping the encrypted data and reinstalling everything due to this. As I am not sure if updating the OS works without wiping data, I have yet to try that.
you shouldnt have to mess with data at all to use supersu while encrypted.
my g5 is encrypted and always has been (besides in various testing) and there's never been an issue of flashing supersu.
though there may be some issues if trying to restore encryption and flashing supersu in the same reboot cycle.
and yes, data partition in twrp cant be accessed in twrp if encrypted.. but you can just push a file to the /tmp directory while in twrp and then flash anything... or enable adb sideload and flash something that way... or use an external sd card and put the file on there. the only thing you really miss out of if using twrp while encrypted is being able to manipulate the data partition... it does not stop you from flashing files or running scripts that modify /system or other partitions (besides /data).
supersu uses the unencrypted /cache/ partition to work in when you flash it while encrypted so an encrypted /data partition should not be relevant.
I have a OnePlus 3 and I was thinking of encrypting it for additional security & privacy reasons. But since I flash various ROM level mods / use xposed modules on my phone, I was wondering about the negative consequences I have to face after encrypting an android phone.
I have a few doubts which need to be cleared.
1) Since my android phone would be encrypted, would I absolutely not be able to flash any new files/make nandroid backup from the recovery?
2) If 1) is true, which means, let's say I install an xposed module which causes a bootloop. Now I would have no way to disable all the active xposed modules from recovery since the files are encrypted, which means I would have to restore everything from scratch?
3) Is there absolutely no known way of decrypting android/access files unencrypted from recovery if we know the master PIN/password?
Can somebody who has dealt/dealing with an encrypted android phone please answer these questions? Thanks.
Deleted
Hi, thanks for your reply.
Just Passing By said:
1. When you access recovery on an encrypted phone, you have to decrypt your phone. After that, your recovery can do anything it normally could do. This would of course include flashing ROMs, zip files, and making nandroid backups.
.
Click to expand...
Click to collapse
2 things to say about that.
1)Decrypting just to flash files is a huge problem. TWRP/CWM should have a feature when it asks for the master PIN/password on the recovery, then after I enter it, it should decrypt the data on the fly and then mount the system and data partitions unencrypted so that I can flash files without going though all the decryption process.
2)Correct me if I'm wrong, but all android decryption processes I read online require wiping all data/doing a factory reset. That's again a huge problem. Why? In case I flash a mod/install a xposed module which causes a bootloop, I would have no way to decrypt my data, even if I have my master password. Which would mean I would lose all my files which I haven't backed up.
Problems like these could be avoided if TWRP provided permanent decryption/on the fly decryption using the master PIN. Comparing this with veracrypt on windows for e.g. , let's say my windows is encrypted with veracrypt and a hardware failure occurs at some point in the future & windows refuses to boot, but I'm able to load a live ISO. In this case, veracrypt offers a rescue ISO which I could use to decrypt the data without losing all my files after I enter the master PIN. So in this case, I can have security of encryption & also the convenience of decrypting it without losing all my files with the master password in case my main OS refuses to boot.
If I can't decrypt android from the recovery using the master PIN, that would mean in any case my android refuses to boot, I have lost all my files.
3. I'm assume you meant to say "... If we don't know the master PIN/Password?" And the answer to that is yes. If you can't decrypt your phone, you'll lose everything in it, so making periodic backups is a must. Otherwise, there'd be no point if you could just decrypt things right?
Click to expand...
Click to collapse
No, I did not say that wrong, sorry if I wasn't clear enough on my first post. I just wanted to know if there was a way to permanently decrypt android from recovery using the master PIN so that i would be able to recover my files to a USB in case my android refuses to boot.
Deleted
Hi,
My phone is rooted with TWRP (notch friendly version) and running magisk (both preserve tick boxes are unchecked)
When I go in to TWRP, - It wants the password to mount (which i dont have); if I bypass this, I cant flash a ZIP because I cant find it due to the data partition being encrypted (i.e jumbled foldernames)
For this reason I cant find my TWRP restore file to restore to a previous version
When I try to TWRP backup it cant mount system or data
No sure what to do next.... is magisk doing this? should I uninstall it?.. Im sure it wasnt always encrpyted as I managed to make 1 backup in TWRP
The main issue is, during the night the phone reboots to recovery (no idea why - i guess its trying to flash an update) and then hangs on the "password to mount" screen.. causing my alarms not to go off in the morning
Matt
Any ideas how to decrypt data partition? I'm a bit stuck for what to do.. I'm thinking about downloading/installing through erecovery.. But could be risky.
Sent from my ANE-LX2 using Tapatalk
I flashed twrp on my redmi 6a, but i haven't been able to succeed at formatting data, or anything from advanced wipe. Also ADB sideload has refused to start. First i thougt it was because of the encrypted data and tried every way to decrypt like flashing universal disabler before magisk. I noticed that preserve force encryption in magisk was unticked but twrp still asked for the password and also my root was screwed big time and most apps couldn't find it, so i flashed the stocked rom and started afresh, now i want to try resurrection remix(not sure it's a good idea) but process is involved with formatting data and advanced wipe. I'm using twrp 3.2.3.2-cactus. Some help
it seems that no one can solve encryption problem in twrp?
All google result said that this should be formatting data partition. One question is: how could the format partition data whlie the partition is untouchable?
adista said:
it seems that no one can solve encryption problem in twrp?
All google result said that this should be formatting data partition. One question is: how could the format partition data whlie the partition is untouchable?
Click to expand...
Click to collapse
Use the TWRP-1020 one.
jonaaa, how does that work any different.