will Full Encryption / SD-Encryption with JB work with custom roms - Android Q&A, Help & Troubleshooting

Hello,
I have some questions regarding full encryption and/or sd-encryption under JB:
I read, that encryption under ICS is an awefull experiance and especially combined with custom roms/recoverys often resultet in dataloss. Since the new policy at work would demand full encryption for private devices brought to work, i wonder, if encryption under JB delivers a better experiance or if i should use a secondary purpose just for work. I specially wonder, if:
encryption works now with custom roms/recoverys (e.g.: what happens if i encryptet my device and do a factory reset to flash a new rom)
flashing/backup routine works like usual (TWRP should be able to handel encryption on my HOX)
encryption makes any difference when connecting my device to my pc to manage sd-card data
the data stored on my device will really be safe or if this encryption is as poor as ms office encryption
encryption result in performance loss for games
Since i have no experiance with encryption on android, i woulde be very thankfull for any comment on this topic.
Cheers!

bump.
noone have encryptet a device yet? don't wanna brick my HOX (since we don't have S-OFF this might be a problem if something goes wrong)

bump again.

So, since noone knows about this, this thread can be closed i guess. Thanks.

I'm not sure about all your questions, as I've never encrypted my phone and used it for long enough to find out, but from what I've noticed, transfer speeds between the phone and computer are slower than normal when encryption is enabled.

Thanks for your repley.
This wouldn't be a problem, more interesting is the question if an rom update / new rom install is still possible. Since the sd-card is encryptet, i wonder, if it will still be accessible to a custom recovery. How did you install a new rom after encryption and did you loose your sd-data?

doumer said:
Thanks for your repley.
This wouldn't be a problem, more interesting is the question if an rom update / new rom install is still possible. Since the sd-card is encryptet, i wonder, if it will still be accessible to a custom recovery. How did you install a new rom after encryption and did you loose your sd-data?
Click to expand...
Click to collapse
I am using TWRP for flashing ROMs on my encrypted maguro. Problems started with latest Xylon v15 ROM only, i.e. phone freezes after entering encryption password.

Related

[Q] undo cyanogenmod-encryption?

Hello.
My device is encrypted by CM10.1 (15.7.13)
Since then the cm-updates dont work. (mounting-problems)
I like to undo the encryption, but factory reset dont work too. The encryption and data is still on the device.
The Encryption-Button in the menu is without function.
Restore abortes because of Mounting-Problems.
What do I have to do?
Samsung note2 with cm10.1 can't get rid of encryption
I'm having the same issue. even after using TWRP to format the drive (which states that it will remove encryption) -after installing a new rom, it asks me for the encryption password, which, no matter which password I use (even the one the drive was originally encrypted with) doesn't work.
Petrosilius Zwackelmann said:
Hello.
My device is encrypted by CM10.1 (15.7.13)
Since then the cm-updates dont work. (mounting-problems)
I like to undo the encryption, but factory reset dont work too. The encryption and data is still on the device.
The Encryption-Button in the menu is without function.
Restore abortes because of Mounting-Problems.
What do I have to do?
Click to expand...
Click to collapse
Had the same dilemma myself a few months ago.... I flashed my phone using Odin with the latest samsung rom and then I had to factory reset it again after flashing to remove the encryption completely. And I had a few issues during flashing which scared the **** out of me
here is my thread: http://forum.xda-developers.com/showthread.php?t=2185837
I was using paranoid android rom
From what I understood only the Signed recovery's (original stock ones) can remove the encryption.
My advice google around before doing anything, because nobody wants sudden heart attacks when things go wrong.
I hope you can fix your device without issues.

[Q] Z Ultra GPE: Safely reverting from 5.0 OTA to KitKat

Ok Here's the deal.
Google really screwed up Android 5.0. Its buggy as heck to the point where my phone is not usable. Nothing but crashes left and right. Its ridiculous.
Its so bad I am tempted to get an iPhone. My phone is totally useless. (Example: phone dialer crashes EVERY SINGLE TIME I GET AN INCOMING CALL so I literally cannot receive incoming calls)
I did try doing a hard reset and re-installing everything. That didn't help much.
Also, I never rooted, or unlocked the boot loader or anything. I'm assuming its possible to go back to 4.4.x but I know certain phone / firmware combinations put blocks on that sort of thing that may brick the device.
YES I DID SEARCH THE FORUMS but found nothing that pertains to this specific question.
I do NOT want some custom rom solution. I want the bits as released by Google / Sony for 4.4x
Can someone please help guide me to go back?
shassouneh said:
Ok Here's the deal.
Google really screwed up Android 5.0. Its buggy as heck to the point where my phone is not usable. Nothing but crashes left and right. Its ridiculous.
Its so bad I am tempted to get an iPhone. My phone is totally useless. (Example: phone dialer crashes EVERY SINGLE TIME I GET AN INCOMING CALL so I literally cannot receive incoming calls)
I did try doing a hard reset and re-installing everything. That didn't help much.
Also, I never rooted, or unlocked the boot loader or anything. I'm assuming its possible to go back to 4.4.x but I know certain phone / firmware combinations put blocks on that sort of thing that may brick the device.
YES I DID SEARCH THE FORUMS but found nothing that pertains to this specific question.
I do NOT want some custom rom solution. I want the bits as released by Google / Sony for 4.4x
Can someone please help guide me to go back?
Click to expand...
Click to collapse
I suspect that you can't, or can't do so easily and keep full functionally of the camera.
The only way that I can think of is to
Root
Install custom recovery
Flash 4.4.2
OTA to 4.4.3
OTA to 4.4.4
This delete the DRM keys and break the camera. Unless one of the root exploits work on 5.0.x you cant back up the TA partition to save the full functionality of the camera.
My GPe is not too unstable and is rooted on an unlocked BL, although it does micro hang often. I would factory reset, wipe data and cache and then add back apps one by one and see if you can find what is making it unstable
blueether said:
I suspect that you can't, or can't do so easily and keep full functionally of the camera.
The only way that I can think of is to
Root
Install custom recovery
Flash 4.4.2
OTA to 4.4.3
OTA to 4.4.4
This delete the DRM keys and break the camera. Unless one of the root exploits work on 5.0.x you cant back up the TA partition to save the full functionality of the camera.
My GPe is not too unstable and is rooted on an unlocked BL, although it does micro hang often. I would factory reset, wipe data and cache and then add back apps one by one and see if you can find what is making it unstable
Click to expand...
Click to collapse
Thanx for the input. Much appreciated.
I'd rather not root if at all possible. Android as an OS is buggy as heck, and in my experience rooting only makes things worse.
I did try doing a "Factory reset", although I never wiped data / cache.
The level of granularity required to debug this issue seems ridiculous. The "core scenario" of me upgrading from 4.4.x to 5.0 OTA "should" work without all these issues. google really blew it here.
I've said it before, and I will say it again. Linux (Android "is" a Linux after all) is a University student hack project blown way out of proportion.
I'd really hate to go back to 2003 and get an iPhone 6+

[TWRP Problem] Samsung Galaxy J7 2015 T-Mobile (SMJ00T) Improper Restore

I'm very new to the rooting community, and I'm well aware of all of the problems. I've messed around, and bricked my phone many times but always knew how to fix it by flashing the custom rom. I've did whole of April until I figured out the proper rooting my model's for 6.0.1 software, and the 7.1.1 software. I eventually got tired of repeating this process, so in May (after I properly rooted my device and everything worked perfectly) I backed up everything including my system in TWRP.
Now the problem is, after using the xui tuner from xposed installer a bit, my phone seemed working for a bit, and lockscreen worked, but it randomly kept restarting at the boot animation . I grew impatient and restarted my phone properly a couple times but it kept rebooting after I unlocked my phone or just waited at my lockscreen. I then started got scared that I damaged something in my system or software, so I went to use TWRP to restore my backup (which I also literally backed up on this Tuesday). It apparently was successful, until the bootlogo freezing and saying my kernal wasn't SEANDROID ENFORCING.
Then now, I kept reformatting my data and restarting but it wouldn't work, it kept failing. So I gave up, and flashed my stock rom. This worked, but I obviously lost all my data. So to possibly help someone, I want to list what I think could've been the problem. (Still new, so I may list alot of unlikely things. Also random order)
1. I didn't format my data before the first restore, thus it failing.
2. Improper backup, I either backed up unnecessary partions like radio, or TWRP just didn't backup properly.
3. My sd card, I had many problems with my sd card before doing this type of stuff, but it went away during may. During may however, I backed up my magisk modules to it too, but they didn't appear on TWRP. Meaning it may have stopped working again. It also deleted my root folder, where I held the magisk zip and uninstaller.
Now this could bring another problem, I was using Magisk and Xposed installer, while also having my stock framework, xposed framework, and sony framwork (this was to use remote play), and in result my phone couldn't handle it and the module from both Magisk and Xposed.
4. I backed up my system while using the ashyx encryption zip, meaning when TWRP restored encrypted files?
5? XUI Tuner, I modified too many things with the app and probably did something to to the root directory. (Most likely Unlikely)
6. I modified my build prop by adding more code like the android users function, and TWRP probably couldn't back that up so it restored wrong like in 2
7? I modified TWRP by using a custom theme in the recovery, making certain functions like backup and restore not work?
8. I was using an old version of TWRP, 3.0.2 instead of 3.2 because 3.2. However, this is because 3.2 didn't work with my phone, and neither did 3.1.
I now flashed the stock rom, and everything works again. I just have to re-root. I didn't lose much data really, and I backed up some stuff in samsung cloud anyway. I just wanted to make this thread so I can fix the problem properly in the future, in which someone else may need it too. This model of samsung phone really isn't popular in the community, so it really would be helpful to other people. The solution could also work for other J700 variants, especially J700T1 since it's the most similar.
P.S. This is also just a small thing to help people too. Rooting this model is actually pretty easy, there's just a catch for one version of it.
6.0.1 can easily be rooted, especially with autoroot. It's works well, and you don't have to lose anydata at ALL! However magisk is untested.
7.1.1 on the other hand does require to format it's data to work so you have to back up anything you want to keep.. Superuser for me made wifi and the flashlight inaccessible, so I had to use Magisk. Which worked fine. There are two different versions of this root though. (Tested Once) One is basically like how the stock rom and has the manual, mobile data quick setting, and battery settings. to get it, don't use ashyx encrptyion . The other is like how you got it your device and set it up normally, no manual or extra settings, and requires ashyx encryption for this. The one I used was the ashyx encrpytion, and I was fine using this method because I kinda already lost everything over and over so I didn't care (end of april).
Edit: Turns out the stock version happens when you flash the stock rom, then immediately flash a custom recovery, and formatting the data without launching the the phone. I think this happens because when you get your phone, and activate it with a carrier sim card it downloads the additional files for that carrier which allows and when you format the data it formats the carrier version instead of the default system on the phone.
I hope we can find a solution for the kernal problem, so other people can fix this properly.
I would also like to ask if someone can make a odin and TWRP flashable kernal file of both the 6.0.1 and 7.1.1 versions of the SM-J700 variants, but for now in this thread the J700T is fine, unless all variants have the same stock kernal. This could be a solution and very helpful.
I have a USA T-Mobile Samsung Galaxy J7 J700TUVU3BQK3 phone and Can someone give me links to where I need to download the firmware ROM for this phone & all the different software I would need to root this phone or modify-backup its operating system??? My computer operating system is windows and also does anyone know how to setup a multiple operating systems on a computer where u can choose to either boot to different versions of windows and lynux.?? Computer Lenovo Gaming Laptop & HP Pavilion Laptop.

MIUI 11 EU Android 10 encrypted my data.

So as the title says i saw that the EU ROM for android 10 was available and i downloaded it and dirty flashed it via TWRP before disabling all (Camera IR enabler and GL tools) magisk modules. The Phone booted but all my apps were gone. Rebooted to TWRP and it couldn't decrypt /data even with my phone password.
I use the decryption support TWRP.
It got even more messed up and had to format /data and lost all my data in the process.
Why did I get encrypted when i flashed the EU ROM ? Did i do something wrong ? I don't want to have to go through this again.
Had the same issue as well. I thought EU roms had force encryption disabled
ryan7646 said:
I thought EU roms had force encryption disabled
Click to expand...
Click to collapse
I also thought that too. Looks like you can't trust even one of the most reliable ROM releases now. I always take backups before doing anything crazy. Just this time I decided that I didn't need one as I had a great experience with EU ROMs. It wouldn't have been a big problem for me if the govt. hadn't banned internet here. ??

Mobile data won't work since I've flashed and rooted my redmi note 5

Edit: solved, pay your bills in time kids !
Hi guys, I have a mobile data issue since i flashed my phone two days ago.
I cannot connect my phone to the internet unless I use wifi. Texts and calls are working.
Issue is occurring on both Lineage OS 18 (unofficial) and CrDroid 11.
I already flashed and reflashed the roms, wipe data, system, everything multiple times, flashed the original modem/NON-HLOS.bin file via fastboot with no luck. Tried on multiple recovery too just in case (twrp, pitchblackRP, OrangeFox). I mostly use sideloading but install from an sd card got me the same results.
Issue happens with rooted (magisk last version) roms and unrooted roms aswell.
I had several issues about twrp/recovery being unable to mount /data, which I tricked to do so by resizing data from ext4 to ext2 then to ext4 again. Not sure that's the good way to do it.
I tried to go back to a clean room with relocking the bootloader and flashing the official fastboot rom but I got stuck on a bootloop. I tried other methods with MiFlash and succeeded into booting the official rom but i'm stuck on the Welcome/new device screen (the little slideshow crash/won't advance to the next step when i have to choose between recover data from an old phone or start from scratch). I went back to crdroid for now.
My first thought was to tinker with the APN but it didn't worked, sometimes i get a message like "APN Settings are not available for the current user" but I usually manage to still write them, with no effect still. I'm on the a french operator called "Free"
Typing ##4636## in my phone app gets me to a debug menu where I can see that I'm not connected to the data services (but i'm connected to the vocal services). I have a way to check the IMS state in this menu, which tells me that i'm not registered, don't know what that means.
Already did the trick of cleaning sim card, going in plane mode, changing favorite network and so on. I'm a little desperate
If you cannot help me with this, can someone points me a good tutorial on how to going nuclear on a phone and delete everything to reflash an official Mi rom ? I'm quite used to flashing roms but I still get a bit lost between a factory reset, a data wipe, and what to flash/wipe/mount in order etc.
Vendor or firmware flashing you test?
I think maybe vendor help
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Sorry i didn't mention it. My last flash attempt was flash Xiaomi FW > flash crdroid > flash gapps >flash magisk and that's my current set up, and it still doesn't works. The issue might lie in the SIM card, i previously tried the sim card of a relative on my phone and it didn't do much but this morning the same sim worked and mine still does not. I'll report back once I have a new one.
Edit: could you explain what vendor is ? What's the difference with the fw or a rom ?
CompoteMonPote said:
Sorry i didn't mention it. My last flash attempt was flash Xiaomi FW > flash crdroid > flash gapps >flash magisk and that's my current set up, and it still doesn't works. The issue might lie in the SIM card, i previously tried the sim card of a relative on my phone and it didn't do much but this morning the same sim worked and mine still does not. I'll report back once I have a new one.
Edit: could you explain what vendor is ? What's the difference with the fw or a rom ?
Click to expand...
Click to collapse
Google...
[INFO] ANDROID DEVICE PARTITIONS and FILESYSTEMS
NOTE: I'm not a developer or something even near to that. I'm a newbie and will be, seems so. All information provided here is copied and compiled from different internet sources like this and many others. This information is according to best of...
forum.xda-developers.com
I'm going to lose it lmao, the reason why I didn't had any access to my mobile data is because... My monthly bill payment didn't went through because of a credit card renewal.... I apparently decided to flash my rom the day of the due date and didn't saw any warning hence the confusion. Probleme solved, I paid my bill and the data is back (what a surprise). i feel like an idiot but i've learnt things, thanks for the link joke19.

Categories

Resources