twrp & file encryption possible? - Samsung Galaxy Tab S5e Questions & Answers

Usually you are out of luck when you want to encrypt the device ands also use twrp to backup, restore and install additional stuff like magisk.
Is it possible on this tablet to get both?

Related

Please help, just bought an 7 edge

Just bought an galaxy 7 edge, I'm running stock Android 7.0
Best way to make working TWRP NANDROID BACKUP?
I want to install TWRP, make a working NANDROID of the system, and also want device to boot and work with just TWRP and stock Android 7 from my operator that I'm using right now, that's including all apps installed.
Thanks anyone that can help me with this.
then another quesstion....
best and fastest way to rooted SU stock ROM preferable my carriers one, and how to do it
smaberg said:
Just bought an galaxy 7 edge, I'm running stock Android 7.0
Best way to make working TWRP NANDROID BACKUP?
I want to install TWRP, make a working NANDROID of the system, and also want device to boot and work with just TWRP and stock Android 7 from my operator that I'm using right now, that's including all apps installed.
Thanks anyone that can help me with this.
Click to expand...
Click to collapse
Snapdragon or Exynos?
Sorry Exynos is the one I got. 935F
smaberg said:
Sorry Exynos is the one I got. 935F
Click to expand...
Click to collapse
First of all, you know that will trigger Knox and you will lose your warranty. There are some other implications of that, are you sure you've read them all? If you have no problems with those things, things are pretty much the same as on every other phone and twrp.
I know it will trigger Knox, and that's ok. This is a temporary device until Galaxy 8.
I put TWRP on the phone, now it won't boot, and got lots of words when trying to backup in TWRP.
That's why I asked.
what does it say when you try to back up.
You may have your phone encrypted that why the back up is not working.
You may need to remove the encryption to get it working properly.
You can also use smart switch to make a back up to be used in case of issues.
smaberg said:
I put TWRP on the phone, now it won't boot, and got lots of words when trying to backup in TWRP.
That's why I asked.
Click to expand...
Click to collapse
You must've missed some steps.
http://www.droidviews.com/install-twrp-root-galaxy-s7-and-s7-edge-on-nougat-g935fxxu1dplt/
Do you need SU before no-verity-opt-encrypt-5.0.zip?
If I format data partition I can backup etc.
But I want to backup apps to!
So basically I want to install TWRP(and what's needed) and backup ROM with all apps. And then boot the ROM and run device as before.
smaberg said:
Do you need SU before no-verity-opt-encrypt-5.0.zip?
If I format data partition I can backup etc.
But I want to backup apps to!
So basically I want to install TWRP(and what's needed) and backup ROM with all apps. And then boot the ROM and run device as before.
Click to expand...
Click to collapse
First no verity and supersu after, according to the article. By formatting data you won't lose your apps, just data on sd card (internal memory). The rest is on system partition
On, last time, did I get this right, from stock rom, do this
Install TWRP, then SU (I don't want SU) backup, should this work? It's says lots of error in data...
So once again from clean, what do I have to do?
Install TWRP, then what? Want to backup all apps I mean a full NANDROID backup.
Still no, after TWRP it won't boot.
Directly after TWRP it's says something bad "/data"
Then tried to run run the decrypt, still no no
Please anyone, help, it won't boot after TWRP...
smaberg said:
Still no, after TWRP it won't boot.
Directly after TWRP it's says something bad "/data"
Then tried to run run the decrypt, still no no
Please anyone, help, it won't boot after TWRP...
Click to expand...
Click to collapse
Can you try fastboot format data and fastboot format cache commands and see what's happening?
i can format data partition no problem, even in twrp, but all apps dissapear as i tought. and then i even didnt bother to try and boot as i want to do a full nandroid.
smaberg said:
i can format data partition no problem, even in twrp, but all apps dissapear as i tought. and then i even didnt bother to try and boot as i want to do a full nandroid.
Click to expand...
Click to collapse
If you thought you could install twrp and do a backup of the stock phone you were wrong, twrp can't read the data partition since its encrypted, you have to format data and then you can do a backup, but since there's nothing there then there's no point.
Get a stock image for your phone from http://updato.com/firmware-archive-select-model?q=g935f
Thank you, finally an answer
then another quesstion....
best and fastest way to rooted SU stock ROM preferable my carriers one, and how to do it?????

Does using TWRP backup-restore to transfer rigs work on the s7 edge?

I'm trying to use the TWRP backup on one device - restore on the other to transfer my rig over. Only, I've read that TWRP trigger's dm-verity. I have tried it once, but I couldn't select the system or data partitions and it still triggered dm-verity. Luckily I got out of it, because the system overwrote TWRP, but yeah.
My question is, did I just miss a step, or will I not be able to use this method to transfer my rig over? Also, if it isn't possible, is there a method I can use?

Need help with TWRP backup

Hello!
After rooting and setting up everything I need, I wanted to make a full backup via TWRP.
Unfortunately it fails, as TWRP cannot create the necessary folder.
Also, I did not need to enter my pincode in order to use TWRP. That's not normal I suppose?
How can I get the backup working?
Thanks.
You might want to read through the twrp thread. https://forum.xda-developers.com/on...unofficial-twrp-touch-recovery-t3861482/page7
Thanks, that helped.

Update to OxygenOS 9.0.15 - slot B encrypted

I'm on OxygenOS 9.0.14 and tried update to OxygenOS 9.0.15. Unfortunately I have some problem with slot B - which is encrypted (probably my earlier mistake - I changed TWRP with active pin lock or because I restore backup in TWRP, I'm not sure why) . Slot A is ok. When I try to update to OxygenOS 9.0.15, the phone stuck on stock recovery (because slot B is encrypted?). When I change to slot A, phone works again on OxygenOS 9.0.14.
Is there any solution to fix it (decrypt slot B?) without factory reset?
Now I haven't got any pin/pattern/fingerprint lock, my TWRP: 3.3.1-6 Unofficial by mauronofrio.
Miedzio said:
Is there any solution to fix it (decrypt slot B?) without factory reset?
Click to expand...
Click to collapse
Once it's encrypted, the only thing I know of is to format data. There's nothing the matter with doing that--you will need to back up all your personal files first.
Did you install 9.0.15 via the System Update installer? That might be better, and after the installation and successful booting of 9.0.15, be prepared to re-install TWRP via ADB etc.
Yes, I tried to install 9.0.15 via the System Update installer, via TWRP too, but the result was the same. Couple of times I had to re-install TWRP via ADB or restored nandroid backup via TWRP. I think the problem is encrypted slot B.
Summary: I need to format data (factory reset)? I have backup from Titanium Backup, but even that, it take some time to restore (it isn't 1 to 1 backup). So I need more free time to do this and now I have to stay with 9.0.14.
When you flashed 9.0.15 in TWRP did you flash the TWRP installer as well? As in flash OOS to slot a, change slots, then flash OOS AND the TWRP installer zip (not IMG), as the installer zip flashes TWRP to both slots automatically. That should remove any possibility of booting into the stock recovery. Be smart and make a backup of your data onto your computer, another phone, whatever device that's not your 6T. That way, should any encryption issues persist, it's no big deal to go ahead and format data (not factory reset) both slots, and problem should be fixed.
A small hint: i personally COPY everything I want to backup (pictures, music, Magisk modules, ROM zips, etc) to one folder then zip that folder into a single archive, use whatever compression you like, I go with none as the whole point is to just transfer one single large file instead of hundreds or even thousands of individual files and directories... It helps with transfer time.
lordcheeto03 said:
When you flashed 9.0.15 in TWRP did you flash the TWRP installer as well? As in flash OOS to slot a, change slots, then flash OOS AND the TWRP installer zip (not IMG), as the installer zip flashes TWRP to both slots automatically. That should remove any possibility of booting into the stock recovery. Be smart and make a backup of your data onto your computer, another phone, whatever device that's not your 6T. That way, should any encryption issues persist, it's no big deal to go ahead and format data (not factory reset) both slots, and problem should be fixed.
A small hint: i personally COPY everything I want to backup (pictures, music, Magisk modules, ROM zips, etc) to one folder then zip that folder into a single archive, use whatever compression you like, I go with none as the whole point is to just transfer one single large file instead of hundreds or even thousands of individual files and directories... It helps with transfer time.
Click to expand...
Click to collapse
Sorry, I didn't describe it clearly. When I flashed 9.0.15 via System Update, the phone goes to stock recovery - I need to install TWRP via ADB to back to slot A or I must do factory reset.
When I flashed 9.0.15 via TWRP, after that I install TWRP (img and zip). Unfortunately after reboot, 6T always goes to TWRP in slot B, but everything is encrypted. When I back to slot A, phone boots into 9.0.14 (no problem witch encryption).
I have all backup on my computer (all storage + Titanium Backup + TWRP backup). If I will format data, will be enough to just copy all files from computer? I'm not sure it will work. What about settings etc.?
When flashing in TWRP, there is no need to flash both the TWRP img AND the zip. Just do that how I said. Boot to TWRP, flash 9.0.15 on slot a, without rebooting, change to slot b and flash 9.0.15 again along with the TWRP installer zip. At this point, I say reboot back to recovery, whether you are going to flash Magisk or not. If everything is encrypted, go on and format data on both slots and boot, do the initial setup and all, then move your data back and flash root. Otherwise, if you can recognize your files and folders when you reboot to recovery, you can go on and either flash Magisk or boot on into OOS. If it's not just a bunch of random crap, you shouldn't even have to worry about your backup data as everything should be exactly as it was before you started, except you'll be on 9.0.15 instead of .14.
Should you end up having to format after doing what I said, there may be a way to restore all your settings, I'm not sure. Again, me personally, all I save is my titanium backup folder, anything in my download folder, and any other folders and all my Magisk modules. All my pictures and videos I have set to automatically backup to Google photos, but if you don't do that you'll want to include that too. I don't worry about my settings, call logs, messages, all that type stuff, I just go back through set it up fresh. Again, there might be a way to restore all that stuff, but I only keep the most important stuff. As far as the TWRP backup goes, I haven't had any luck restoring my TWRP data so that as well is something I don't bother saving (or even making in the first place.)
If you have to format, once whatever you want saved is backed up to another device, (computer, another phone, thumb drive, whatever) all you have to do is format both slots and reboot. You SHOULD at that point be able to boot into 9.0.15 and perform your initial setup; add Google account, fingerprint/face unlock data, etc. Once you're at the home screen and all the initial setup is complete, then you can move your data back to the device.
The most important thing is to put your data back in whatever directories it was in before the format. The only directories I backup are directories I have added something to, have downloaded to, or that I have created. Directories like Alarms, Android, Movies, any hidden directories (unless I created them and subsequently hid them) all that I just delete.
As long as you put all that back where it was before the format, everything should be just like it was before the format. Your Titanium Backup files, once placed back in internal storage/Titanium Backup will show up in Titanium Backup and you can restore it all through the app. Your pictures, if you backup any, will show up automatically in your gallery once placed back into internal storage/DCIM, etc.
You'll obviously have to reflash Magisk and any modules and relevant setup.
TL;DR
As long as you put your data back into the directories it came from, everything minus your settings will be back to how it was before formatting.

First time ever installing a custom ROM. I have some questions. Moto G5 Plus stock.

I have a completely stock Moto G5 Plus (XT1683 - 2GB of RAM) on stock Oreo 8.1 and I want to use the Pixel Experience 10. I've watched some tutorials online but I still have some questions:
1. I've seen many people complaining that they lost their IMEI and 4G, but I still couldn't figure out if that only happened with people that downgraded from a custom Oreo rom to a stock Nougat or if there's a chance of that happening by installing any custom ROM. My phone has the latest official Oreo version and I've never messed with the system before. Is my phone still at risk of losing its IMEI if I install Pixel Experience 10? What did those people do wrong?
2. Now let's talk about the procedures I have to take. After unlocking the bootloader it will wipe my system, right? If that's so, should I let it boot again into Android and turn off or should I immediately get into fastboot and flash TWRP? Will it make a difference? Will the persist and efs partitions be there on TWRP to be backed up or do I need to let Android boot so it can make them first?
3. After everything, if I get into TWRP and it asks for a password, should I just cancel and wipe the partitions to remove the encryption (can I keep the internal storage?) or do I need to install that dm-verity file instead? As I understand the dm-verity if only for when rooting the phone while keeping the stock system, right? (I don't plan to root my phone, only install a custom ROM. It would also be good if I could keep my files, but if I can't, that's fine too.)
My original plan was the following, please take a look to see if i'll do things correctly.
1. Unlock the bootloader
2. Install TWRP immediately, before it even has a chance to restart
3. If TWRP asks for a password, skip and wipe all the partitions, if it doesn't, wipe them anyway to install the new ROM.
4. Backup efs and persist to my SD Card (will they even be there after I wipe the partitions?)
5. Right after that install the custom ROM
6. Reboot, not get into a bootloop and still have my IMEI. Profit.
Is everything right or did I misunderstand something?
Thanks!
Raploz said:
I have a completely stock Moto G5 Plus (XT1683 - 2GB of RAM) on stock Oreo 8.1 and I want to use the Pixel Experience 10. I've watched some tutorials online but I still have some questions:
1. I've seen many people complaining that they lost their IMEI and 4G, but I still couldn't figure out if that only happened with people that downgraded from a custom Oreo rom to a stock Nougat or if there's a chance of that happening by installing any custom ROM. My phone has the latest official Oreo version and I've never messed with the system before. Is my phone still at risk of losing its IMEI if I install Pixel Experience 10? What did those people do wrong?
2. Now let's talk about the procedures I have to take. After unlocking the bootloader it will wipe my system, right? If that's so, should I let it boot again into Android and turn off or should I immediately get into fastboot and flash TWRP? Will it make a difference? Will the persist and efs partitions be there on TWRP to be backed up or do I need to let Android boot so it can make them first?
3. After everything, if I get into TWRP and it asks for a password, should I just cancel and wipe the partitions to remove the encryption (can I keep the internal storage?) or do I need to install that dm-verity file instead? As I understand the dm-verity if only for when rooting the phone while keeping the stock system, right? (I don't plan to root my phone, only install a custom ROM. It would also be good if I could keep my files, but if I can't, that's fine too.)
My original plan was the following, please take a look to see if i'll do things correctly.
1. Unlock the bootloader
2. Install TWRP immediately, before it even has a chance to restart
3. If TWRP asks for a password, skip and wipe all the partitions, if it doesn't, wipe them anyway to install the new ROM.
4. Backup efs and persist to my SD Card (will they even be there after I wipe the partitions?)
5. Right after that install the custom ROM
6. Reboot, not get into a bootloop and still have my IMEI. Profit.
Is everything right or did I misunderstand something?
Thanks!
Click to expand...
Click to collapse
Answer for your questions
1) losing of IMEI no is possible on custom ROM too, but taking the backup of EFS and persist will retrieve them, so no problem. And losing of IMEI is random occur when moving from one rom to other.
2) just let the android boot once, so everything get loads up with unlock bootloader (no need to setup).
3)after installing the twrp, it won't ask for password since your device got format when unlocking bootloader, so it won't ask. If you want to remove encryption then format< type yes. It will remove your encryption.
4) for talking backup of EFS and persist use this method.
Code:
Use the following command to create a backup and save it at /sdcard/persist.img:
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
To restore use the following command:
dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist
If you have saved a backup using different name then use that name instead.
And seeing your plan, everything seem good, you can continue with your plan.
Note:- for some user PE won't work for them with 2gb version, so I suggest you to take a backup of stock ROM or keep an other rom file in case it needed.

Categories

Resources