Encryption on CM13 and Lineage 14.1 problem - Xiaomi Mi 4i

Hello,
I have 2 Mi4i phones and i have to encrypt them for my work (and my wife's work).
With Miui i can encrypt them, but i don't want to use this.
I want CM13 or Lin14.1
Problem is that on both custom rom's, i can choose to encrypt.
After that it shows the Android robot for a second or 2, then reboot's the phone.
After the restart the phone is not encrypted and every time i try it, i get the same result.
Both rom's are clean installed, no extra's are installed (no kernel etc.)
Is this a bug, or do i have to change something to get it to work?
Anybody any idea what is going wrong?

elot01 said:
Hello,
I have 2 Mi4i phones and i have to encrypt them for my work (and my wife's work).
With Miui i can encrypt them, but i don't want to use this.
I want CM13 or Lin14.1
Problem is that on both custom rom's, i can choose to encrypt.
After that it shows the Android robot for a second or 2, then reboot's the phone.
After the restart the phone is not encrypted and every time i try it, i get the same result.
Both rom's are clean installed, no extra's are installed (no kernel etc.)
Is this a bug, or do i have to change something to get it to work?
Anybody any idea what is going wrong?
Click to expand...
Click to collapse
Yes this is a bug :|
Anyway, aosp custom rom based on miui 6.6.10
Which have encryption bug too .-.
So this feature ( encryption ) won't work for now

Related

Has Anyone Gotten a Custom ROM onto a BLN-L24 (US Variant)?

I have tried quite a few ROMs, and all ended up going back to stock firmware because they wouldn't boot. I know I have to format data, and some ROMs ask you to change the data partition as f2fs.
Still, I think that there may be no ROMs that currently work for the US variant. One guy said LOS 13 worked, but when I flashed it, it failed. If someone has gotten it to work, can you please post as many steps as you remember on how to get it work?
Debrand to BLN-L21 following this guide and you're ready to flash cooked ROMs https://forum.xda-developers.com/honor-6x/how-to/guide-successful-debranding-to-bln-t3701050
RedSkull23 said:
Debrand to BLN-L21 following this guide and you're ready to flash cooked ROMs https://forum.xda-developers.com/honor-6x/how-to/guide-successful-debranding-to-bln-t3701050
Click to expand...
Click to collapse
Thanks, but wouldn't there be more issues down the line with a debranded phone? What if I soft-bricked my phone, it seems like it'd be really hard to restore? Has anyone actually ever done this on a BLN-L24?
Hello all,
I too am having issues with flashing roms to this device, US variant (BLN-L24). In my particular case, the rom boots up (EliteRom v7.1) and will actually function. However, wifi does not work, as well as I have no sound whatsoever. Youtube also will not play, nor will any videos, which I'm guessing is tied to whatever issue is with the sound. I have flashed multiple times per the step by step instructions, as well as following the Youtube video, all with the same result over the last few days. At this point, my phone is effectively useless to me, though cellular data does still work, just no calls can be answered. Anyone have any suggestions I might be able to follow? Also, even my TWRP backup that I made before installing the rom will not restore at this point. Any help is appreciated, thanks.
Jessooca said:
You must be missing a step or something, because [Elite ROM][EMUI 5.1] Elite ROM v7.1 for Honor 6X by HassanMirza01 works on the L24 us variant without issues, I have none.
Perhaps go back to stock and start over. I haven't had any issues with his rom and I didn't do anything more than what's needed to root/install twrp and flash the rom per his instructions.
Click to expand...
Click to collapse
I just followed the instructions; I believe to the best I could, and I'm stuck in a bootloop now. Which version of EMUI were you on before flashing? I was on EMUI 5.0 which may be my issue.
I started from EMUI 5.0
Unlocked my bootloader
Let it factory reset
Installed the Elite TWRP on the page
Booted to Elite TWRP
Formatted all partitions excpet for external sd card
Reformatted Data to f2fs
Re-wiped data
Checked that it was f2fs
Installed Elite ROM zip
Installed open gapps 7.0 ARM64
Installed the patch
Rebooted
Bootloop
i4ybrid said:
I just followed the instructions; I believe to the best I could, and I'm stuck in a bootloop now. Which version of EMUI were you on before flashing? I was on EMUI 5.0 which may be my issue.
I started from EMUI 5.0
Unlocked my bootloader
Let it factory reset
Installed the Elite TWRP on the page
Booted to Elite TWRP
Formatted all partitions excpet for external sd card
Reformatted Data to f2fs
Re-wiped data
Checked that it was f2fs
Installed Elite ROM zip
Installed open gapps 7.0 ARM64
Installed the patch
Rebooted
Bootloop
Click to expand...
Click to collapse
On one of the attempts that I did for installing, I installed the patch and it put me in a boot loop. Maybe not installing the patch can help you?
I cant get anything to work for the US version. Sure stuff boots but some of it is just broken. On octOS i am unable to use root unless i switch supersu to automatically grant root to apps. I cant get root access by using prompt because nothing pops up. On crdroid i have the same exact issue. Id rather have the prompt than allow any app root access without my knowledge. With ELITE ROM my first boot brings up a home screen with no keyboard. It completely skips any kind of setup screen. I can get the setup screen by flashing a keyboard from an aroma gapps installer but then i lose google services. The US version also seems to be forgotten as for most roms you wont see it anywhere under supported lists.
I've never been able to get a custom rom to work on my BLN-L24. Everything just ends in a never-ending bootloop of frustration.
Though, I have only ever tried with EMUI 5.0+. Maybe an earlier version of EMUI gets better results...?
code_name_duchess said:
I've never been able to get a custom rom to work on my BLN-L24. Everything just ends in a never-ending bootloop of frustration.
Though, I have only ever tried with EMUI 5.0+. Maybe an earlier version of EMUI gets better results...?
Click to expand...
Click to collapse
It really sucks that nothing seems to work. Ive tried flashing using multiple recoveries and ive tried all kinds of flashing to fix issues with the ROMS. Nothing helps. If anyone has successfully gotten a ROM fully working on BLN-L24 they need to tell people exactly what they did step by step.
It seems that for the roms located here, they seem to all assume that the phone has been debranded to bln-l21 variant. I don't know if it has any bearing on the current issues we're all experiencing, but I did notice that all twrps available for this device on the forums state they are the "Open Kirin Edition". It's been a while since I've rooted or rom'd a phone besides this one, but I've never encountered a twrp with a custom name like that.
I know that the developer of the EliteRom had his custom twrp, but is there a different twrp besides that one that does not state it is an "Open Kirin Edition"? Like I said, not sure if it has any bearing on things here, but I've been very confused about that.
TurtlePwr82 said:
It seems that for the roms located here, they seem to all assume that the phone has been debranded to bln-l21 variant. I don't know if it has any bearing on the current issues we're all experiencing, but I did notice that all twrps available for this device on the forums state they are the "Open Kirin Edition". It's been a while since I've rooted or rom'd a phone besides this one, but I've never encountered a twrp with a custom name like that.
I know that the developer of the EliteRom had his custom twrp, but is there a different twrp besides that one that does not state it is an "Open Kirin Edition"? Like I said, not sure if it has any bearing on things here, but I've been very confused about that.
Click to expand...
Click to collapse
For most phone i've ever owned you never had to change the recovery for each ROM. Its confusing. Most recoverys say Open Kirin Edition when booting. What confuses me is why we need to debrand to get the ROMS to work. If the phone pretty much run on the same hardware then why is L24 having so many issues? Why are the devs not testing on these devices?
BakedOnSomeSour said:
For most phone i've ever owned you never had to change the recovery for each ROM. Its confusing
Click to expand...
Click to collapse
Right, that's what I was thinking. For any phone I've ever rom'd, there was always just one twrp that everyone worked from.
Edit: found this while looking through the roll back to stock forum. I don't know if it will help anyone else, but figured I'd put it here as well if it might. All credit for this goes to the original poster johnnyrichter:
johnnyrichter said:
Tried this method after being on LineageOS for a week or two and having poor LTE signal, no MMS, and voicemail issues so I'm trying to go back to stock so I can have a fully functional phone since I rely on it heavily for work. Followed all steps using BLN-L24 B360 firmware. On step 10 I rebooted to update and it went right to "5% Installing Update" and stuck there for 5 mins, then rebooted itself, has been sitting at "honor" boot screen for 14 minutes so I made it reboot to EMUI recovery, wiped/factory reset, rebooted, loaded EMUI afte 2 more minutes. Appears to have worked and hopefully my issues are fixed!
Edit: Signal, mms, and voicemail issues fixed.
Click to expand...
Click to collapse
Hopefully will benefit someone here as well.
When debranding the BLN-L24, and branding it to BLN-L21, are there any issues with the ROMs once they're installed? I imagine the radios, and such are different for the two models??
BakedOnSomeSour said:
Why are the devs not testing on these devices?
Click to expand...
Click to collapse
Devs can only test devices they have in possession. If they don't have your phone model, how are they going to test it?
galapagos said:
Devs can only test devices they have in possession. If they don't have your phone model, how are they going to test it?
Click to expand...
Click to collapse
well, many don't want to give them a phone because most developers here tend to stop work on a ROM and leave people hanging.
I have gotten several ROMs working on L24 variant...
Yes it seems to me any Elite kernel based ROM works or should work on the L24. But /data must be ext4 format. Then even that the ROM works, the fingerprint scanner never allows a complete successful scan. I think because it must be f2fs format for that encryption to work or something. This is the link to those ROMS https://hassanmirza01.blogspot.com/p/custom-roms.html?m=1
On the other hand the LOS based ROMs never work or at least they reboot and the screen is always black or the ROM branding just stays there flashing. This sucks cause I want to run the newest Resurrection ROM but I ask the developer about why I have that problem or how long that ROM takes to boot and I never get an answer. He also just put a new beta AOKP ROM up and it does the same black screen thing too.
I am also suspicious it has to do with the version of TWRP. I think some are capable of formatting f2fs correctly or the encryption or whatever. Point is some of the devs need to be a little more consistent answering questions at a minimum. I know it takes time to fix bugs but give us a little heads up.

All unofficial roms can not encrypt phone?

Hello,
I have tried many unofficial roms (LineageOS,Resurrection Remix-N,AOKP-N,AOSiP,crDroid,dotOS), all of them have a problem: can not encrypt phone, after click the button "encrypt phone", the system reboot, but nothing happen, the phone still not encryptted.
I was thinking about buying this phone, but if encryption isn't supported in custom ROMs then maybe I will have to look elsewhere.
P650SE said:
I was thinking about buying this phone, but if encryption isn't supported in custom ROMs then maybe I will have to look elsewhere.
Click to expand...
Click to collapse
more details: if you have encryptted phone in official miui rom, don't format data partition, just flash unofficial rom, then you will keep the phone encryptted, but wifi will not working. So , encryption and wifi, you can only choose one.
wildess said:
more details: if you have encryptted phone in official miui rom, don't format data partition, just flash unofficial rom, then you will keep the phone encryptted, but wifi will not working. So , encryption and wifi, you can only choose one.
Click to expand...
Click to collapse
That is unfortunate! WiFi is definately more important than encryption but it's a shame you can't have both at the same time. It sounds like the only solution for the moment is just to run MIUI until custom ROMs are able to support encryption properly without making compromises.
Don't be paranoic guys, a phone is still unsecure even with a working encryption enabled. In most of cases better have a last patched updated software like in custom Than in miui. You can boost your security settings with a firewall, like afwall+ (obviously can be avoided even that),but the conclusion is that the only secured phone is a phone switched off and without battery, or an old phone like Nokia 3310??
ROMs has nothing to do with that, just tell ROM devs to use LOS kernel instead of Priima

Problem with encryption j7 2015

Hi. I have a modified rom installed (Wycked 2.0) and I like it a lot. However, just as it has happened to me in other modifications, I can not activate the encryption of android. Something does not work well ... I activate the encryption option and there is a good time working and after a few minutes I notice that in reality never encrypted anything. Does anyone experience this same problem? It has happened to me with "Fast rom", "xperience Os 2.5", "onkiller".
If someone can guide me with this problem ... I would like to encrypt my phone, but could it not work with modified rom ?
Greetings.
elsereno said:
Hi. I have a modified rom installed (Wycked 2.0) and I like it a lot. However, just as it has happened to me in other modifications, I can not activate the encryption of android. Something does not work well ... I activate the encryption option and there is a good time working and after a few minutes I notice that in reality never encrypted anything. Does anyone experience this same problem? It has happened to me with "Fast rom", "xperience Os 2.5", "onkiller".
If someone can guide me with this problem ... I would like to encrypt my phone, but could it not work with modified rom ?
Greetings.
Click to expand...
Click to collapse
If you encrypted a phone with any modifications (root, custom rom, etc) you will be put in a bootloop. If you want your phone to be secure and encrypted, uninstall TWRP and any modifications, or better yet flash stock firmware from updato.com
You cant encrypt it through settings because you have flashed some sort of encryption breaker, required to access root without bricking.
Hi .. I have rescued my bootloop phone many times. However, that is not my current problem. I asked if any user of the modified rom that I quoted in my first message managed to encrypt the phone successfully. When I try to activate data encryption, I do not even get an error. It simply restarts the phone after a few moments and everything remains unencrypted.
Any guide will be welcome!
Greetings.

ROMs with Full System Encryption Support

Is there any ROM available, where I can encrypt the system using the built-in option for encryption?
I tried a couple of ROMs, but it doesn't work with them. It just restarts and nothing happens.
It has become a must-have feature for me, and I don't really want to go get a firmware from sammobile and flash it, and then be able to encrypt my phone... I will, if I have to, but I'd rather not. Does encryption even work on rooted devices? I just realized I don't know that...
Is there a ROM here, on which this feature works? Doesn't matter what Android version, or whether it's stock or AOSP, either is fine.
Hi !
If you are talking about encryption that you enable in settings and need a password for your phone to boot, you can check the AOSP Extended ROM (Android 8.1).
I'm currently using since a while now and works pretty good (but sometimes the camera don't work you need to reboot the phone) and the option for encryption works ! But be careful, when downloading the ROM (if you download this one) use the v.5.3 and not the v.5.5 since it's very unstable.
That is exactly what I meant. Thank you, I'll check it out!

Ressurection Remix on A8

Hello everyone,
I am creating this post because I would like to know if someone has already installed Ressurection Remix on a Galaxy A8 ?
I saw some tutorials that are explaining this is possible,but when I go to the Ressurection Remix official download page, I cannot find which file is specific to the galaxy A8. Actually, I have some difficulties to understand the files names : Raphael, Sakura, Jason,... Are theses names code names for différents phones ?
I may add that the bootloader of my phone is unlocked, and I am using TWRP to flash zip files.
I didn't treblelize my phone thought.
If you have some other custom rom suggestions, please do not hesitate to advise me.
You can install RR through GSI, by this link
You will have to trebelize your device
Because it's a gsi android 10, you can use vendor quack
Treble Guide
Vendor Quack
Thanks for your reply. Yes I saw that it was possible to treblelize the phone, to install other rom like the very famous lineage os.
But I am little bit hesitant about this procedure : is everything working well with the phone after a treblelization ? Has anyone tried this method?
Quentief said:
Thanks for your reply. Yes I saw that it was possible to treblelize the phone, to install other rom like the very famous lineage os.
But I am little bit hesitant about this procedure : is everything working well with the phone after a treblelization ? Has anyone tried this method?
Click to expand...
Click to collapse
Treblizing the phone itself does not cause any problem rather it enables you to install different GSIs. Regarding GSIs, each have there own bugs and you have to find them on the GSI thread if available or if they have telegram or github support.
Hey, just made an account to respond to this as I just discovered there are per-device pages on these forums and saw this post, I have done exactly that and been running it for 2+ years now, so far I have had no majour problems wih it, the only majour caviat is that after trebblimg it and installing resurrection remix It seems to freeze when trying to display the charging animation if the phone is off and it plugged in, it still charges without any problems, tho to boot it when in this situation you need to force shut it down using the volume_down + lock buttons and then immidiately after use volume_up + lock buttons to boot into recovery, then you can boot to the normal system from there, I have a TWRP recovery but I think the stock one also allows to resume booting the normal system.
In these last months I had a few weird bugs like the screen brightness beeing locked to automatic but that went away after a reboot and only happened 1 time.
I also installed magisk and a few other small tweaks and things and everything works great, also all resurrection remix customization options.
Actually in the last few months something broke because the safetynet checks fail for the ctsProfile, (most apps like my banking app tho still work fine by using magisk hide (i think it's because the safetynet basicIntegrity check still succeds) and the update page seems also broken (tho no idea about when this broke exactly as I haven't checked it in years), everything else is still fine tho, I might try re-flashing it to update to the new majour resurrection remix when i have time and the will to backup and move everything, something could have corrupted or maybe an update broke it, no idea.
My phone reports resurrection remix 7.0.2 and Android 9.
Hope this is still helpful.
Quentief said:
Thanks for your reply. Yes I saw that it was possible to treblelize the phone, to install other rom like the very famous lineage os.
But I am little bit hesitant about this procedure : is everything working well with the phone after a treblelization ? Has anyone tried this method?
Click to expand...
Click to collapse

Categories

Resources