Related
Hi guys, updated the phone to Lollipop and know my phone can't save anything to internal memory, hence some apps that needs it stopped working.
Has anyone else experienced same problem?
Random system freezes since Lollipop update - seems to be an officially undocumented improvement (memory leak), lots of posts about it; hopefully solved in 5.01. Very annoying.
N_Face said:
Hi guys, updated the phone to Lollipop and know my phone can't save anything to internal memory, hence some apps that needs it stopped working.
Has anyone else experienced same problem?
Click to expand...
Click to collapse
SElinux content got broken. You can try to do a "restorecon -FR /data/media/0", though i doubt it will work without root.
If it will say "access denied", reflash the firmware via .kdz and LG Flash tool. Both can be found in these forums.
Could SELinux also be the culprit for disappearing SystemUI (navbar, statusbar)?
Since almost 48h I'm trying to get my G3 up and running in a clean fashion with root, but I either loose write access to internal memory, or - far more often - SystemUI.
Also "regular" users of untouched stock, officially updated through OTA seem to be affected from SystemUI disappearing.
Edit: sigh! Just now - I thought I finally have a running V20F - I find out my internal storage is write protected, again. Oh god, this LG is full of sh**, worst experience ever. I'll try to run your command above and see where I can get at. SELinux cannot be disabled, correct? It's defined during compilation of the kernel, is this correct?
---------- Post added at 01:39 PM ---------- Previous post was at 01:26 PM ----------
It worked. Got write access back to internal storage. Thanks. :good:
[Cross-posted from the generic HTC One M9 help, Q&A, and troubleshooting forum, where I received no replies. Thought that the VZW-specific group might shed some light, as y'all have been so nice and helpful to me so far ... 8^]
(Verizon HTC One M9, S-OFF, bootloader *** UNLOCKED ***, Software status: Official, TWRP recovery installed, Android version 5.0.2, HTC Sense version 7.0 Software number 1.33.605.15)
I'm anticipating a requirement in my near future to turn on "Phone storage encryption (Protect content on this phone with a password)" under Settings -> Security. When I did this under similar circumstances on my HTC One M7, it seemed to adversely affect the performance of the phone. I encountered a lot of random freezes at various points (after entering my unlock PIN, waking up the phone, switching apps, even occasionally during phone calls).
In fairness, I had a lot of stuff on internal storage on my old phone - pictures, audio, etc. - that I now store on my 32GB microSD card on the M9. Nonetheless, the prospect of encrypting my internal storage is intimidating, especially because it's apparently a one-way operation, and there's No Going Back if the phone performance starts to lag as the old phone's did.
Has anyone else experienced any similar troubles after turning on Phone storage encryption? Also, I'm not averse to moving off of the HTC stock ROM; I just haven't done it yet. Is there a particular ROM that seems to perform better -- or worse -- with encrypted internal storage?
Thanks.
GoHskrs said:
[(Verizon HTC One M9, S-OFF, bootloader *** UNLOCKED ***, Software status: Official, TWRP recovery installed, Android version 5.0.2, HTC Sense version 7.0 Software number 1.33.605.15)
I'm anticipating a requirement in my near future to turn on "Phone storage encryption (Protect content on this phone with a password)" under Settings -> Security. When I did this under similar circumstances on my HTC One M7, it seemed to adversely affect the performance of the phone. I encountered a lot of random freezes at various points (after entering my unlock PIN, waking up the phone, switching apps, even occasionally during phone calls).
In fairness, I had a lot of stuff on internal storage on my old phone - pictures, audio, etc. - that I now store on my 32GB microSD card on the M9. Nonetheless, the prospect of encrypting my internal storage is intimidating, especially because it's apparently a one-way operation, and there's No Going Back if the phone performance starts to lag as the old phone's did.
Has anyone else experienced any similar troubles after turning on Phone storage encryption? Also, I'm not averse to moving off of the HTC stock ROM; I just haven't done it yet. Is there a particular ROM that seems to perform better -- or worse -- with encrypted internal storage?
Thanks.
Click to expand...
Click to collapse
Hi GH, I can only comment on encryption as required by EAS (Exchange) policies at my office. Also, I'm stock-S-on, lacking Root. I don't seem to have issues with it on the M9. I also used EAS on my S-off rooted VZW M7. On that device, I could not achieve a successful encryption on any ROM other than a "Stock-Rooted" version. YMMV.
neutronjeff said:
Hi GH, I can only comment on encryption as required by EAS (Exchange) policies at my office. Also, I'm stock-S-on, lacking Root. I don't seem to have issues with it on the M9. I also used EAS on my S-off rooted VZW M7. On that device, I could not achieve a successful encryption on any ROM other than a "Stock-Rooted" version. YMMV.
Click to expand...
Click to collapse
NJ -
Thanks. That's good information. My requirement is similar, to support Exchange ActiveSync.
After taking backups of everything via TWRP, I just flashed AndyBones' Fluent ROM; we shall see if it allows me to encrypt internal storage.
neutronjeff said:
Hi GH, I can only comment on encryption as required by EAS (Exchange) policies at my office. Also, I'm stock-S-on, lacking Root. I don't seem to have issues with it on the M9. I also used EAS on my S-off rooted VZW M7. On that device, I could not achieve a successful encryption on any ROM other than a "Stock-Rooted" version. YMMV.
Click to expand...
Click to collapse
GoHskrs said:
NJ -
Thanks. That's good information. My requirement is similar, to support Exchange ActiveSync.
After taking backups of everything via TWRP, I just flashed AndyBones' Fluent ROM; we shall see if it allows me to encrypt internal storage.
Click to expand...
Click to collapse
For what it's worth, after flashing the ROM and the MOD pack, turning on "Phone storage encryption" succeeded with no apparent issues. Tomorrow, we'll see if the latest Exchange ActiveSync policies impose any other oddities on me ...
Did that ROM play well with EAS at work?
Sent from my HTC6535LVW using Tapatalk
neutronjeff said:
Did that ROM play well with EAS at work?
Sent from my HTC6535LVW using Tapatalk
Click to expand...
Click to collapse
Don't know yet. I haven't gotten the mobile device management software we use to successfully register itself.
Just to close the loop on this, if you choose to (or have to) enable "Phone storage encryption (Protect content on this phone with a password)", it should be the last major modification you make to your phone. Once I enabled Phone storage encryption, I could still boot into TWRP, which prompted me for a decryption password. However, even though I entered the same password I use on normal system boot, TWRP couldn't unlock my internal storage. I think I ran afoul of a warning on the XDA TWRP forum: NOTE: ONLY AOSP/GPE decryption is supported!! TWRP CANNOT (currently) decrypt HTC Sense ROMs!!
After encrypting, the phone will still work, but you will be unable to flash new ROM images, mount the internal storage partitions, etc. with TWRP. The only option that worked for me, as described over here, was to run an RUU recovery, reinstall TWRP, then flash the version of the custom ROM I wanted. The RUU will wipe your data (and the custom ROM author recommends wiping Dalvik Cache, Cache, Data, and System in TWRP prior to flashing), so make sure you have anything important backed up.
So, any luck with Exchange on that ROM?
Sent from my HTC6535LVW using Tapatalk
I've been trying to install the mobile device management software we use (Afaria), but it keeps cooking back with "enrollment failed". I think it does not approve of my rooted phone.
I'm going to flash back to stock 5.1 and re-encrypt to see if that makes a difference.
Hello!
I'd really like to use encryption on my tablet on a custom ROM but am failing spectacularly. Neither on Schischu's Lollipop nor on Schischu's Marshmallow ROM my encryption attempts were successful.
As nobody answered to my posts at all, I am starting to wonder if encryption is used by anybody on our P605. So I'd like to setup this poll to get a rough overview about the use cases of people and understand if it's simply my fault or if this feature is not used and therefore not tested.
Of course, I'd be happy to read some comments below if somebody made it working on a custom ROM (like Schischu's) how this was achieved.
OlafLostViking said:
Hello!
I'd really like to use encryption on my tablet on a custom ROM but am failing spectacularly. Neither on Schischu's Lollipop nor on Schischu's Marshmallow ROM my encryption attempts were successful.
As nobody answered to my posts at all, I am starting to wonder if encryption is used by anybody on our P605. So I'd like to setup this poll to get a rough overview about the use cases of people and understand if it's simply my fault or if this feature is not used and therefore not tested.
Of course, I'd be happy to read some comments below if somebody made it working on a custom ROM (like Schischu's) how this was achieved.
Click to expand...
Click to collapse
Hi,
The fault does not lie with you. I havn't checked encryption on the note 10.1 2014 custom roms but I did check it out on the Note 4 forums. And all the custom roms that I've come across there don't support encryption, either because the dev's don't view it as important (because no one uses it) or because it's see as secondary compared to speed and battery life.
It's a pretty dangerous game to play without encryption, knowing that the lock screen is so easy by-passable. I was able to flash TWRP and root the note 4 without the device auto wiping user data. So e.g. flashing a custom rom onto the device in order to bypass the lockscreen, and therefore being able to access all the person's personal data and apps is pretty much childsplay for a person that's the least bit into tech.
Sad to hear that, but thank you very much for taking your time to post a reply! :good:
Vasishtha said:
It's a pretty dangerous game to play without encryption, knowing that the lock screen is so easy by-passable. I was able to flash TWRP and root the note 4 without the device auto wiping user data. So e.g. flashing a custom rom onto the device in order to bypass the lockscreen, and therefore being able to access all the person's personal data and apps is pretty much childsplay for a person that's the least bit into tech.
Click to expand...
Click to collapse
Indeed - a mobile device is lost or even stolen quite fast. And since we already use custom ROMs and TWRP it's trivial to just access the data via ADB. *sigh* Well, I'm even thinking about going back to a rooted stock ROM with firewall to increase the safety of my local data.... Let's just hope the custom ROMs will support it eventually.
OlafLostViking said:
Sad to hear that, but thank you very much for taking your time to post a reply! :good:
Indeed - a mobile device is lost or even stolen quite fast. And since we already use custom ROMs and TWRP it's trivial to just access the data via ADB. *sigh* Well, I'm even thinking about going back to a rooted stock ROM with firewall to increase the safety of my local data.... Let's just hope the custom ROMs will support it eventually.
Click to expand...
Click to collapse
What are you using a firewall for? Can you link me the firewall your using?
I use xprivacy in combination with a firewall(it's an old one and not available anymore on the app store).
There exists some apps that can wipe your phone automatically if you enter the wrong password to many times, I was using one but I can't find it anymore (locker).
-V
Sure! I am using AFWall+ which makes it easy to select the right processes thanks to the log. And it's not a proxy or so (iptables frontend), so it works on all processes and all connections (WiFi, Cell, Roamin, LAN, VPN).
The firewall in XPrivacy is much more finegrained, as it allows you to block certain IPs/Domains while AFWall+ is blocking the whole network access. So I'd say it depends on your needs and, to be honest, the time you want or can invest into setting up your tablet. I bought XPrivacy and am just downloading the profiles from the net as it takes too much time for me at the moment to find the settings on my own
I have upgraded to Android Lollipop + Root + TWRP.
I would use the full data encryption but it seems that you always have to enter a (long) password each time, when you start or unlocking (!) the Note 10.1 (2014 Edit.)
On my Huawei Mate 7 with Android 5, i can use a Passwort for the start and a pattern for unlocking. So, thats very good and fast, if i have to unlock the smartphone.
Only on my Samsung Note 10.1 there is no pattern methode for unlocking the tablet available.... (the same sh** as in Android 4.4)
While you can change the encryption password to be different from the unlock password (using the CLI), you can also use application like f.ex. Delayed Lock that modify the locking behaviour. I am not letting my phone lock when I am at home (WiFi, not that unuseable GPS/cell from the new Android ), for example. With those two approaches using a good encryption password is no hassle at all
I flashed Nougat's factory image on my 5x a week ago. After playing for a while i noticed the encryption change option in 'Developer Options'.
Also, read that new devices will be coming with File based encryption since it allows direct boot mode.
Is there any performance difference if change the encryption to 'File based' ? I read few user reviews and they were saying that changing encryption to file based did improved little performance.
I'm also interested in this. So bump for a more knowledgeable member to comment.
I think this thread proved pretty conclusively that there is no real world performance benefit in decrypting.
I activated file encryption on my N5X, specifically to allow for direct boot. I had N with full disk encryption on my N5X for about 72 hours before switching. I see no performance difference -- it was smooth before, and it is smooth now.
rockhardy said:
I flashed Nougat's factory image on my 5x a week ago. After playing for a while i noticed the encryption change option in 'Developer Options'.
Also, read that new devices will be coming with File based encryption since it allows direct boot mode.
Is there any performance difference if change the encryption to 'File based' ? I read few user reviews and they were saying that changing encryption to file based did improved little performance.
Click to expand...
Click to collapse
I doubt there is noticeable performance difference.
The main benefit is if your phone reboots in your backpack, it'll boot to the lock screen instead of being stuck asking you for your pattern/pin/password and basically being a useless phone if you don't notice it rebooted.
If you don't have the phone configured to act that way, then it probably isn't of real benefit, currently. There may be additional benefits later on or perhaps with the workplace contexts.
sfhub said:
I doubt there is noticeable performance difference.
The main benefit is if your phone reboots in your backpack, it'll boot to the lock screen instead of being stuck asking you for your pattern/pin/password and basically being a useless phone if you don't notice it rebooted.
If you don't have the phone configured to act that way, then it probably isn't of real benefit, currently. There may be additional benefits later on or perhaps with the workplace contexts.
Click to expand...
Click to collapse
Thanks for your comment.
In that case i think i will be switching to File-based encryption to enjoy direct boot feature.
sfhub said:
I doubt there is noticeable performance difference.
The main benefit is if your phone reboots in your backpack, it'll boot to the lock screen instead of being stuck asking you for your pattern/pin/password and basically being a useless phone if you don't notice it rebooted.
If you don't have the phone configured to act that way, then it probably isn't of real benefit, currently. There may be additional benefits later on or perhaps with the workplace contexts.
Click to expand...
Click to collapse
Hey but can you tell me why the phone reboots in pocket ?
My phone also reboots in midnight when I set a fingerprint on it .
So will decryption solve this issue ?
Thanks in advanced
ABSathe said:
Hey but can you tell me why the phone reboots in pocket ?
My phone also reboots in midnight when I set a fingerprint on it .
So will decryption solve this issue ?
Thanks in advanced
Click to expand...
Click to collapse
My phone never reboots, but some people have set ups that do. It is usually some bug in Android that is triggered by some software you are running or there is some data corruption in your system.
First thing to try would be booting in "safe mode"
https://support.google.com/nexus/answer/2852139?hl=en
If the reboots stop, then it is some app you are running.
If that doesn't narrow it down, try factory reset, then install under new android account, install a couple of apps at a time, until you see reboot. If it reboots right away on fresh install on new account, then you might have hardware issue.
I seriously doubt decrypting your user partition will help with your reboots, but you are welcome to try. If it does help, it will probably be coincidence because you had to format user partition to decrypt your phone which is equivalent of factory reset.
sfhub said:
My phone never reboots, but some people have set ups that do. It is usually some bug in Android that is triggered by some software you are running or there is some data corruption in your system.
First thing to try would be booting in "safe mode"
https://support.google.com/nexus/answer/2852139?hl=en
If the reboots stop, then it is some app you are running.
If that doesn't narrow it down, try factory reset, then install under new android account, install a couple of apps at a time, until you see reboot. If it reboots right away on fresh install on new account, then you might have hardware issue.
I seriously doubt decrypting your user partition will help with your reboots, but you are welcome to try.
Click to expand...
Click to collapse
Actually this issue is there from the first day I started using my phone .. but booting in safe mode does not give any reboots so far and also fingerprint is working nicely too
So I guess I will try factory reset .. can I do it using the option already present in settings ? Or should I flash a factory image ?
Thanks
ABSathe said:
Actually this issue is there from the first day I started using my phone .. but booting in safe mode does not give any reboots so far and also fingerprint is working nicely too
So I guess I will try factory reset .. can I do it using the option already present in settings ? Or should I flash a factory image ?
Thanks
Click to expand...
Click to collapse
Before you do factory reset, I suggest you get rid of any pin/pattern/password you might have configured. This will disable the factory reset protection, just to be on safe side.
You can do it from android.
If you say this problem was there from beginning, then it probably migrated over from existing account restoration of apps. You might want to try installing onto a new google account to test that theory out. The install a couple of apps at a time while verifying everything remains stable.
Hi,
Do folks think that switching to File Based Encryption might help avoid this issue - a decryption failure on reboot with Factory Reset the only solution? My phone is 13 months old and now out of warranty and this has happened 5 times to date - once about 6 months ago, once about 3 months ago and then worryingly 3 times in the last month. Stock unmodified on 7.1.1
Hey, When will TWRP support this? I've been waiting for ages.....
I recently unlocked the bootloader and rooted my Moto G Power.
I noticed in Magisk that Preserve DM Verity and Preserve Forced Encryption were both checked. They were not checked on my old LG V20.
I know on my old device, encryption messed with TWRP, which is why it was disabled.
But encryption IS enabled on the Moto G Power. I've heard that the encryption can put a dent in performance.
Aside from that, is there any reason why I should keep or disable encryption?
And while "Preserve Forced Encryption" is pretty obvious, can someone explain "Preserve AVB 2.0/dm-verity"? (AVB is Android Verified Boot, so maybe I should leave that enabled?)
Thanks in advance!
A bit of an old post, but while the v20 guys are doing what they're doing with their cursed LG phones that won't stop ****ing dying that also apparently have impossible encryption, the moto g8 bois have figured out the encryption on the very first release of TWRP 3.4.0.0
Theres no real hit to performance at this point for this device, also it doesn't make a difference in backups as TWRP is made to handle encrypting/decrypting now (although I've had problems with backup/restore altogether on this phone I guess since its not officially supported) but theres no real reason to disable it, its a good layer of security if you ever lose your phone or the cops get a hold of it.