LG G2 Custom Rom Encryption - G2 Q&A, Help & Troubleshooting

I do understand the basic concepts of encrypting.
My guess is that encryption is done for /data and /sdcard and perhaps some other data.
When i encrypt my phone. And im using G3 custom rom on G2. Will i be able to flash zip file from internal memory. Directry or via adb.
So basically has anyone done this?? Any explanations or suggestions????

denyboy said:
I do understand the basic concepts of encrypting.
My guess is that encryption is done for /data and /sdcard and perhaps some other data.
When i encrypt my phone. And im using G3 custom rom on G2. Will i be able to flash zip file from internal memory. Directry or via adb.
So basically has anyone done this?? Any explanations or suggestions????
Click to expand...
Click to collapse
Did you ever get anywhere with this? I really want to get the G3 UI, but I have forced encryption policy applied for use of corp email. I have yet to get encryption to run after loading a custom ROM, nor have I been able to get a custom ROM to install on an already encrypted phone.

Related

CustomRom without SDCard

Hi,
I don't have an sdcard and I like to flash my S5 with a custom rom.
Do you think thats possible and how?
Thanks
Fritte
Yes it is possible. Just do standard procedure by following instructions provided
Quite a few ROMs don't require you to have a SD card to install a custom ROM. Read the directions in the custom ROM threads and go from there.
.
fritte123 said:
Hi,
I don't have an sdcard and I like to flash my S5 with a custom rom.
Do you think thats possible and how?
Thanks
Fritte
Click to expand...
Click to collapse
It may be a problem if you have to do a data factory reset before the flash, you can push a rom after the reset with adb though in recovery. Just buy a sdcard, you can also store CWM backups on the card then wich saves internal storage space.
My S5 gave me in recovery mode only access to an folder called "SDCARD", I can't browse my file system, even if I don't do the factory reset. I will buy an SDCard but the will deliver the next week, so in the mean time I have a bit time to give it a try.
You didn't give us a detailed description, so it's impossible to be certain. But likely what you describe is normal i.e. you would need root permissions to browse the SD card file system. It sounds like you looking through the directory without root permissions and the OS therefore restricts you to a base folder there.
.
fffft said:
You didn't give us a detailed description, so it's impossible to be certain. But likely what you describe is normal i.e. you would need root permissions to browse the SD card file system. It sounds like you looking through the directory without root permissions and the OS therefore restricts you to a base folder there.
.
Click to expand...
Click to collapse
I rooted the device, than I copy the zip file from the custom rom and the google apps to the root folder of the device. I will try again. Is there any specific folder which I sould use for this?
But I use SuperSU for the root access is that maybe an issue?
For the purposes of installing a custom ROM from the SD card, the zip file can be in any directory. It is perhaps easiest to subsequently find it if you use the root directory.
.

[Quick Solution] Adoptable Storage inaccessible to Recovery

Hey guys, Kyuubi10 back again!
I was suffering with an issue lately after flashing MM on my M8. I loved the idea of using the SD Card as internal memory...but (There's always a "but"), I was unable to flash anything I downloaded since Recovery was unable to access the new adopted storage.
So I started looking around to see if I can find the new path to the download folder.
Result:
The Adoptable storage mounts itself in "/mnt/expand/#######/media/0"
"########" Stands for a bunch of alphanumeric characters...Which I'm assuming is unique for everyone.
As a linux user this was very clear for me since "/mnt" is where usually you mount "virtual" storages. This made the problem evident, recovery was not programmed to "mount" virtual storages during it's boot up.
Therefore virtual storage wasn't accessible through recovery.
Quick solution:
Copy and paste files from virtual storage to internal storage.
so I copied from "/mnt/expand/#######/media/0" to "/data/media/0".
"/data/media/0" is where you would usually have everything that is now in "/expand/####/media/0". Recovery was built to automatically scan "/data/media/0".
So once I did that I could easily find and flash stuff again
I hope I helped someone which was having the same problems as me.
Wish you a happy 2016 guys!!!
P.S. All of you who have flashed MM on your devices leave a small comment telling us your experience with MM.
Worked with GT-I9195; CWM didn't see anything past /data/media/0/clockworkmod/. Put the new recovery (TWRP, which supports adoptable storage) .zip in there and flashed it without any issues.
miguel497 said:
Worked with GT-I9195; CWM didn't see anything past /data/media/0/clockworkmod/. Put the new recovery (TWRP, which supports adoptable storage) .zip in there and flashed it without any issues.
Click to expand...
Click to collapse
Neat....Most people would have used fastboot in order to flash the custom recovery XD
lol Still, I'm glad to have helped...even though in an different way xD

N910F - Encryption with Root

Hi
One of my voluntary roles now requires me to keep any local cache of email encrypted.
They advise using Full Disk Encryption.
I do a lot of work on my phone. I also want my phone to be rooted, for various apps.
It seems it is not easy to use the Android standard encryption system. All encryption attempts fail when rooted.
I have tried factory resetting everything and installing stock ROM, encryption then works fine. If I factory reset everything, install stock ROM and root it, encryption then doesn't work at all. I just get what looks like a boot-loop for some considerable time, then reboot into standard unencrypted Android.
Old posts on here suggest using adb to get root permissions and kill the superuser daemon then immediately start encryption. I tried this and it didn't work.
This post suggests converting SuperSU to a system app and disabling that app in Application Manager, then rebooting in safe mode and encrypting the phone. But I can't find the option in SuperSU to install it as a system app. I am attempting to convert it to a system app using Titanium Backup but this hangs - perhaps unsurprising as Titanium Backup uses superuser privileges.
I can't find any other advice as to how encrypt whilst rooted.
The alternative would be to find a mail client that encrypts data including its cache on the fly. I have one for Windows (The Bat) but I don't think there is one for Android? All searches just suggest K-9 and APG, which is great for sending encrypted mail but not for encrypting the app's data storage itself.
I am using stock UK 5.1.1 Samsung ROM N910FXXS1CPC1_N910FBTU1COI1_N910FXXS1COK1. But I don't have to use that version of Android, or stock, if alternatives can enable me to have Root and either full disk encryption or encrypted Email storage.
Really would appreciate any suggestions or assistance anybody could bring - thank you!
kingqueen said:
Hi
One of my voluntary roles now requires me to keep any local cache of email encrypted.
They advise using Full Disk Encryption.
I do a lot of work on my phone. I also want my phone to be rooted, for various apps.
It seems it is not easy to use the Android standard encryption system. All encryption attempts fail when rooted.
I have tried factory resetting everything and installing stock ROM, encryption then works fine. If I factory reset everything, install stock ROM and root it, encryption then doesn't work at all. I just get what looks like a boot-loop for some considerable time, then reboot into standard unencrypted Android.
Old posts on here suggest using adb to get root permissions and kill the superuser daemon then immediately start encryption. I tried this and it didn't work.
This post suggests converting SuperSU to a system app and disabling that app in Application Manager, then rebooting in safe mode and encrypting the phone. But I can't find the option in SuperSU to install it as a system app. I am attempting to convert it to a system app using Titanium Backup but this hangs - perhaps unsurprising as Titanium Backup uses superuser privileges.
I can't find any other advice as to how encrypt whilst rooted.
The alternative would be to find a mail client that encrypts data including its cache on the fly. I have one for Windows (The Bat) but I don't think there is one for Android? All searches just suggest K-9 and APG, which is great for sending encrypted mail but not for encrypting the app's data storage itself.
I am using stock UK 5.1.1 Samsung ROM N910FXXS1CPC1_N910FBTU1COI1_N910FXXS1COK1. But I don't have to use that version of Android, or stock, if alternatives can enable me to have Root and either full disk encryption or encrypted Email storage.
Really would appreciate any suggestions or assistance anybody could bring - thank you!
Click to expand...
Click to collapse
Hmm. Maybe I have found a way round it.
I have an external SD card installed. I have selected "Encrypt external SD card" (new files only and "Exclude multimedia files") then [email protected] allows me to select for the relevant mail account: "Storage location External storage (SD card)"
Hopefully, therefore, the file storage for that mail account is now stored encrypted on the external SD card, without me having had to encrypt the whole device...
kingqueen said:
Hmm. Maybe I have found a way round it.
I have an external SD card installed. I have selected "Encrypt external SD card" (new files only and "Exclude multimedia files") then [email protected] allows me to select for the relevant mail account: "Storage location External storage (SD card)"
Hopefully, therefore, the file storage for that mail account is now stored encrypted on the external SD card, without me having had to encrypt the whole device...
Click to expand...
Click to collapse
You can install Super SU as a system app. It's an option In SU prefs...
pr1jker said:
You can install Super SU as a system app. It's an option In SU prefs...
Click to expand...
Click to collapse
For me, the option tells me "Not (currently) available in system-less root mode"
I would like an answer to this too.. One of my two issues with my Note 4

Internal memory suddenly read-only

Hi,
I suddenly have a very strange problem. My internal memory changed for some reason to read-only. The built-in file browser can't modify files anymore, nor can any app. With Root explorer (root access) I can still modify files. I could just use Root explorer, but some apps actually crash because they can't access the internal memory, so that's no solution.
Here's the situation:
I have the SM-N9005, on Android Kitkat (4.4.2). I was rooted with CF Auto Root. I wanted to try Magisk (not realising that you needed at least Android 5.0 for it). I uninstalled Busybox, Xposed, and then did a full unroot via the SU app. Then I installed TWRP recovery, tried installing Magisk. Of course that didn't work. So then, with Odin, I reinstalled CF Auto Root. After that I reactivated Busybox and Xposed. TWRP seemed to have disappeared, so installed that again as well. Everything was back to the way it was, except for that internal memory issue.
Does anyone has any idea how to fix this?
I made nandroid backup, so I could just revert to that backup but I'd prefer to find a solution and know why it happened.
Thanks!
After installing and running twrp, did it ask to make changes to internal storage?
audit13 said:
After installing and running twrp, did it ask to make changes to internal storage?
Click to expand...
Click to collapse
It did not. And I've just found out that everything on the SD card can't be opened via the built in file explorer. I can create new folders and such, I just cannot open any files.
I says: "Not able access to external SD card. Try again if SD card is successfully mounted"
It's been a while since I used twrp but I recall being asked if I want to allow modifications to the file system.
Maybe it's time to flash back to stock using Odin and then restore your backup?
audit13 said:
It's been a while since I used twrp but I recall being asked if I want to allow modifications to the file system.
Maybe it's time to flash back to stock using Odin and then restore your backup?
Click to expand...
Click to collapse
Weird, I don't think it asked.
Yeah I guess is if no one comes up with a solution I won't have another choice.

Flashing ROMs messes up access to my internal storage

When I was using the factory international rom, my internal storage like in TWRP/install is perfectly readable. I am sure my device has everything done needed to flash a custom rom. But like when I flash Havoc's ROM or lineage, then reboot to recovery, under install the directories become a bunch of folders with illegible names, and I cannot write to/from it anymore. The rom works fine, except the same thing happens when trying to access the files in the storage through a file manager or my computer.
Please this is super frustrating. If anyone has a solution to this, it would be of great help. Especially because now I cannot even restore backups in TWRP. Same for the apps like in titanium backup, I cannot restore them because it says there is no such directory anymore. I cannot for the life of me figure out what happens to my internal storage when I flash a ROM. I really don't want to have to use the MSM tool once again to start completely over again from the very beginning like I have so many times.
Thank you if you have any sort of solution to this, it would be greatly appreciated.
EDIT: I fixed the encryption by formatting my data in TWRP. I lost everything, but it did work. I wiped all my data, then let the phone fully reboot without any lockscreen functions chosen. Then I got my internal storage directory back again. Good enough for me.

Categories

Resources