Is it possible to regain encryption after a device has been rooted. I've seen some old posts about Samsung phones where you could unlock the boot loader, install custom recovery, then encrypt the phone. After the phone is encrypted, you can safely root the phone? Does this apply to the Moto G series as well?
Just temporarily un-root and encrypt the device
http://forum.xda-developers.com/mot...rsu-2-74-2-t3405772/post67864395#post67864395
Newer TWRP should be able to read the encrypted /data by now, IIRC
Related
After receiving my beloved 1+2, I rooted it, installed TWRP and flashed Xposed. Then I encrypted the phone. After wanting to update the rom, I realized TWRP doesn't yet support encryption. I reflashed the stock recovery, which I found here. This didn't help either, no encryption supported.
How can you safely remove the encryption? Does anyone have a functioning setup with stock recovery an encrypted device? Or is it possible to flash new firmware throught fastboot leaving it encrypted?
I made my Htc M7 useless trying to remove it's encryption, so i'm really careful one the 1+2...
Does really nobody know how to reverse this prominent feature in android???
A simple factory reset from the settings menu completely removed the encryption
My x727 fails to encrypt itself. After the reboot it did not start the encryption but got stuck for several hours.
Has anyone managed to encrypt the phone? Thank you.
(On my phone, Magisk v8, TWRP, PHH's Superuser and xposed is installed.)
Now that more people have the phone and more ROM versions (including first custom ROMs) are available: has anyone managed to encrypt the phone?
(Device encryption is very important to me because my employer does not allow me to connect an unecrypted phone to the firm network. Therefore, the phone is currently almost useless to me.)
Thanks!
I suppose x727 data partition it's already factory encrypted because during unlocking tests some users said the device asks for a key.
I have now managed to encrypt the phone with the latest ROM: http://forum.xda-developers.com/le-pro3/how-to/5-9-020s-update-x720-t3506829
are you using airwatch ?
Hey,
Sorry this sounds totally noob, but I was trying to gain root access for my moto g4 play. I have already unlocked the bootloader. Is it possible to install magisk without twrp. Most guides online follows through twrp.
On official Magisk installation guide, it says to patch recovery. How can I do so?
Sorry, this is dumb but haven’t rooted anything in last 5-6 years.
Also the SD card slot on this g4 play is broken, so that’s a big problem.
apurveanand said:
Hey,
Sorry this sounds totally noob, but I was trying to gain root access for my moto g4 play. I have already unlocked the bootloader. Is it possible to install magisk without twrp. Most guides online follows through twrp.
On official Magisk installation guide, it says to patch recovery. How can I do so?
Sorry, this is dumb but haven’t rooted anything in last 5-6 years.
Also the SD card slot on this g4 play is broken, so that’s a big problem.
Click to expand...
Click to collapse
[Guide] Root Motorola with Magisk (UnLocked Bootloader)(Non-TWRP method)
Root Motorola Devices with Magisk Note: This method has been working with most Moto Devices that the Bootloader can be UnLocked. If the Bootloader cannot be Unlocked this method will not work. Please only use this as a reference. If you require...
forum.xda-developers.com
Hi guys, I have a LG G6 H870i (Brazilian version, but no carrier), and I've done everything to officially unlock the bootloader, but when I try to do that method on the LG website, it always says that the my device version is not available to receive bootloader unlock key.
My goal in unlocking the bootloader is to install root (I couldn't without unlocking despite having tried in several ways, including kingoroot) and also custom recovery TWRP (or any other), so that with them I can reach my purpose of installing a Custom Rom such as Lineage OS.
So, is there any way to unlock bootloader other than through LG's website?
If not, is there any way to install root even with the bootloader locked?
And finally, if none of these procedures are possible, is there any way to install twrp or any other custom recovery without needing either an unlocked bootloader or root?
Thank you for your attention.
The answer to all your questions is NO.
No, you cannot bypass the bootloader lock.
No, you'll need to exploit the android which isn't safe and may cause issues other than security. And since you probably have Android 9 it will take while to find a working exploit for it.
Obviously not, you can only "flash" if you have unlocked bootloader.
I have some questions about device security running with an unlocked bootloader.
I am somewhat experienced and comfortable with flashing custom ROMs, mostly LineageOS,
and flashing back the original stock ROMs for Pixel and Samsung devices.
I have recently experimented with running LineageOS 20 (Android 13) on a Samsung Galaxy
Tab S5e with Magisk (and a few Magisk modules). Within several of the XDA forums, and also at
other web sites, it's recommended with custom ROMs the bootloader not be re-locked since
this can create problems.
I use my S5e for steaming videos, basic web browsing and other things. I don't do banking or
have anything I would consider a huge security risk. My intent is to understand what risks
exist with an unlocked bootloader so I can make more informed decisions what I should/should
not install.
With later versions of Android, including 13, the built in storage is encrypted by default.
If the device is powered off filesystems are at rest in an encrypted state so is it possible
for someone else to gain access to my data if they power on the device or flash
their own recovery and/or custom OS? If someone boots into recovery mode encrypted
filesystems should not be mounted and remain unavailable. I'm wanting to understand where
there are weaknesses that could be exploited to access data.
If the device is powered on and the OS has been screen unlocked the first time after boot
(so encrypted filesystems are mounted and available) is access to my data at increased risk,
assuming USB debugging is disabled?
Can apps be sideloaded in recovery mode that an attacker could use to gain access to data
in other ways even if encrypted filesystems have not been mounted.
Any other security issues to be aware of?
If risks I haven't considered are too great I can also go back to stock ROM, but would consider
ways of mitigating or reducing any risks with a custom ROM and unlocked bootloader.
Please let me know if there is a more appropriate place for this posting.
Thanks,
Rodney
Samsung encryption not supported in TWRP recovery, but I have seen Samsung device running LineageOS on AOSP encryption.
of course on unlocked bootloader attacker can enable adb, inject scripts and gain root access easy. however, still it requires lock screen credentials for decrypting, so your personal data remains secured.
for some devices it's possible to set user-settable root of trust, this would allow to compile LineageOS with avb/dm-verity and re-lock bootloader.
Thanks for the reply, would be great to figure out a way to be able to lock the bootloader with LineageOS.
I do notice the "OEM Unlocking" option does not exist in Developer Settings in LineageOS 20.
lol have fun!
How to properly ENABLE dm-verity and FEC for /system on Motorola X4 with LineageOS 17.1?