Working encryption? - OnePlus 2 Q&A, Help & Troubleshooting

Encryption used to be broken for OPT.
Some time passed since the last time I was looking for ROMs for the OPT - are there any ROMs (OxygenOS?) with working encryption?
Also, in CM13 there used to be a bug where you weren't able to call emergency numbers, is that still the case with CM14.1?
And last question, do I still have to use a special version of TWRP & Android 6.0 or can I use the official sources?

I also have this question
Few weeks back started testing with device encryption started with last OxygenOS 2.x.x encrypted worked fine but little laggy on some task.
The twrp I had didn't decrypted so I was stuck on this ROM, some days ago I read about official oos3.1 has encryption working... But how to flash if I didn't had a working decryption on twrp tried hybrid recovery but they didn't boot to recovery.
Reverted to official twrp-3.0.0-2oneplus2.img using fastboot and decryption of data was successful, now the flash process begins.
Backup.
Flash latest signed official OnePlus2Oxygen_14_OTA_020_all_1608262242.zip
Flashed especial supersu.zip for oos3
Flashed official twrp-3.0.2-2-oneplus2.img
Rebooted to recovery and decryption was successful.
Rebooted device... Input password for decryption couple of times some reboots, Android starting and then it booted fine.
Now I'm on encrypted oos3 coming from oos2 with a working recovery.
I'll test some N Roms today.
Sent from my ONE A2005 using Tapatalk

Tried Tesla and slim nougat have a warning about successfully decryption but data is corrupt and reset is necessary, restored oos3 and working fine
Sent from my ONE A2005 using Tapatalk

Latest halogenOS (xos) and cm14 encryption works
Sent from my ONE A2005 using Tapatalk

Related

[SOLVED] XT1562 UK not accepting stock based ROMs

​I recntly bought 16GB UK version that came with 5.1 and OTA updated it to the most recent MM (sorry didin't note its exact number). I then succesfully flashed TWRP 3.0.2-r1 and tried to factory reset it but it gave me a lot of errors, so I restarted TWRP and tried again - successfuly. I then tried to flash GtrCrafts ROM (here) and it flashed succesfuly but stuck on boot animation for nearly half an hour so I rebooted back to TWRP and tried again - with the same effect. I then tried Marshmallux - and exactly the same problem happened. Today I flashed Resurrection Remix and everything was perfectly fine - happy that my phone "resurrected" I tried flashing stock based ROMs (same as before) and they kept stucking on boot animation again. After all I downloaded stock firmware (XT1562_LUX_RETEU_6.0_MPD24.65-18.1_cid7_subsidy-DEFAULT_CFC.xml) and flashed it with fastboot - the only problem was I couldn't flash bootloader.img, but just skipped that and flashed the rest - after the long few minutes my phone booted into system, so I thought it's finally OK, but no - I first checked if TWRP is still there but rebooting into recovery just left me with black screen so I flashed TWRP again (same version) and after this... I couldn't reboot into system (from TWRP menu) - it just kept rebooting TWRP on and on, so I turned my phone off, booted into bootloader and from bootloader - into system, with success. Trying to flash stock-based ROMs brought all the same problems back so I just gave up for now and wondering what could be wrong and is it fixable. Why would CM based RR flash and boot fine but not Marshmallux and GtfCraft's one? Anyone had the same issues or knows what's wrong? Could it be TWRP problem, phones problem, or a jinx?
Thanks.
Try flashing stock rom with rsdlite
Sent from my XT1562 using XDA-Developers mobile app
pijes said:
Try flashing stock rom with rsdlite
Sent from my XT1562 using XDA-Developers mobile app
Click to expand...
Click to collapse
I just realised OP messed instructions in this thread - http://forum.xda-developers.com/moto-x-play/general/guide-how-to-flash-factory-image-return-t3261486
I'll try again with proper ones...
OK, flashing stock firmware fixed all issues.

Decryption on CM13 and RR M now working with latest TWRP

An announcement that I know will make some of you as happy as it made me:
Our wonderful @baybutcher27 has posted a version of TWRP that can decrypt phones that are running CM13 or CM13-based roms. Get it here: https://www.androidfilehost.com/?w=files&flid=39562 (version 3.0.2-0 mod 2 as of today).
When I first attempted to use it, it didn't work. I suspect that this was because I previously did a factory reset (formatted the data partition) using the stock Droid Turbo recovery menu. Once I formatted this partition using this version of TWRP and re-encrypted, everything worked fine.

Please help!!!! Phone vibrates when Swipe to Factory Reset

I flashed AOSP Extended yesterday everything went well, but me not thinking about it ended up flashing the Clark Simple Kernel and it flashed successfully and I rebooted it showed the Motorola logo it vibrated the screen went black and it did the same thing again it wasn't going to reboot. I was able to go into TWRP recovery by pressing the power and volume down I went to into the wipe section did the swipe to factory reset but it just froze and ended up continuously vibrating for a few seconds and it rebooted again. I then went to into my backups and restored AICP ROM but almost at the middle it just rebooted and did the same thing I went back into TWRP restored the AOSP ROM and it did the same thing. I then went into advanced wipe I wiped Dalvik/Art Cache, system, and cache successfully I then tried to wipe the data but that's when I phone just vibrated for a few seconds and it rebooted. I then repaired Dalvik/Art Cache, system, and cache and Mirco SDCard that didn't work as I went into my backups to restore and at the middle it just rebooted and it went to the Motorola logo screen it vibrated the screen went black and I went back into TWRP again. I then flashed a clean AICP ROM from the install section it flashed successfully I ended up rebooting thinking that it finally worked but I just ended up in the moto logo screen again. So I went into the install section flashed the clean version of the AOSP Extended ROM it was successful I rebooted and it worked. But know I went to the Wipe Section Swipe to factory reset and it just vibrates for a few seconds as it did before what should I do?
I have TWRP Version 3.1.1-0
Which firmware/modem are you on?
It sounds like you're on the N firmware/modem. There is a different version of TWRP for this setup.
It also seems like you tried to flash a kernel that is not for that firmware/modem combo (as far as I know Simple hasn't been updated to work with the newer N firmware/modem), which is why it didn't boot.
I have android 7.1.2 Nougat but how can I fix my problem?
Sent from my XT1575 using XDA Free mobile app
R77 said:
I have android 7.1.2 Nougat but how can I fix my problem?
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
What android version was before custom?
Before I flashed a custom ROM I had Marshmallow 6.0.1 pure stock when it came in the box.
Sent from my XT1575 using XDA Free mobile app
Last version of Motorola Original Android on MXS/P.
I'm not asking about custom roms.
I think it can be Lolipop or Marschmallow. So you have LL or MM baseband.
AICP works on ≤MM baseband, AOSP - two versions - ≤MM & =N, clark simple kernel is only for MM.
Problems with twrp - try this solution:
https://forum.xda-developers.com/mo...ial-resurrection-remix-v5-8-3-t3637204/page44 from #433
---------- Post added at 09:58 AM ---------- Previous post was at 09:56 AM ----------
N - Nougat, you haven't N baseband - u can't flash it.
So I clicked on the link and it took me to the TWRP downloads which version of it should I flash?
Sent from my XT1575 using XDA Free mobile app
R77 said:
So I clicked on the link and it took me to the TWRP downloads which version of it should I flash?
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
Sorry #434, link to:
https://forum.xda-developers.com/showpost.php?p=74713790&postcount=54 and there to AFH.
dzidexx said:
Sorry #434, link to:
https://forum.xda-developers.com/showpost.php?p=74713790&postcount=54 and there to AFH.
Click to expand...
Click to collapse
It works I flashed the recovery.img on TWRP and was able to swipe to factory reset without any problems but when I went into my old backups like AICP it restored normally I rebooted my phone at the Moto Logo screen, it vibrated and turned off and did the same thing again. So I wiped and flashed a clean version of AICP it flashed successfully rebooted without any problems installed my apps realized it wasn't rooted so I went into recovery flashed Magisk-v14.0.zip and simple kernel again rebooted but it wouldn't go the Moto logo it just rebooted again. I ended up doing a factory reset and flashed AICP by itself had no problems then decided to flash Magisk-v14.0.zip that I had saved but booted fine but at the AICP logo it froze and went to back to the Moto logo screen. So I decided to download a clean version of Magisk-v14.0.zip but that didnt work so I then flashed AICP by itself and no problems. What should I do?
Aicp hasn't magisk inbuilt? 14.5? @R77
I should flash Magisk v14.5 beta instead?
Edit: I ended up flashing the beta version it flashed successfully booted up and at the lockscreen it just rebooted by itself back to the lockscreen again it was unresponsive, and no magisk is not build in the ROM. Going back to another AICP backup so what happens.
Edit again: Well my backups don't work it restores successfully but it goes in a bootloop it goes to the Moto logo boots up again. It only boots successfully when I flash clean version of AICP ROM and has no problems. What should I do?
Sent from my XT1575 using XDA Free mobile app
dzidexx said:
Aicp hasn't magisk inbuilt? 14.5? @R77
Click to expand...
Click to collapse
I should flash Magisk v14.5 beta instead?
Edit: I ended up flashing the beta version it flashed successfully booted up and at the lockscreen it just rebooted by itself back to the lockscreen again it was unresponsive, and no magisk is not build in the ROM. Going back to another AICP backup so what happens.
Edit again: Well my backups don't work it restores successfully but it goes in a bootloop it goes to the Moto logo boots up again. It only boots successfully when I flash clean version of AICP ROM and has no problems. The only backup that worked was AOSP. What should I do?
Sent from my XT1575 using XDA Free mobile app
obsolete1 said:
Which firmware/modem are you on?
It sounds like you're on the N firmware/modem. There is a different version of TWRP for this setup.
It also seems like you tried to flash a kernel that is not for that firmware/modem combo (as far as I know Simple hasn't been updated to work with the newer N firmware/modem), which is why it didn't boot.
Click to expand...
Click to collapse
It works I flashed the recovery.img on TWRP and was able to swipe to factory reset without any problems but when I went into my old backups like AICP it restored normally I rebooted my phone at the Moto Logo screen, it vibrated and turned off and did the same thing again. So I wiped and flashed a clean version of AICP it flashed successfully rebooted without any problems installed my apps realized it wasn't rooted so I went into recovery flashed Magisk-v14.0.zip and simple kernel again rebooted but it wouldn't go the Moto logo it just rebooted again. I ended up doing a factory reset and flashed AICP by itself had no problems then decided to flash Magisk-v14.0.zip that I had saved but booted fine but at the AICP logo it froze and went to back to the Moto logo screen. So I decided to download a clean version of Magisk-v14.0.zip but that didnt work so I then flashed AICP by itself and no problems. What should I do?
Edit: I ended up flashing the beta version of Magisk it flashed successfully booted up and at the lockscreen it just rebooted by itself back to the lockscreen again it was unresponsive, and no magisk is not build in the ROM. Going back to another AICP backup so what happens.
Edit again: Well my backups don't work it restores successfully but it goes in a bootloop it goes to the Moto logo boots up again. It only boots successfully when I flash clean version of AICP ROM and has no problems. The only backup that worked was AOSP. What should I do?
Sent from my XT1575 using XDA Free mobile app
Flash Resurrection Remix.
If you have MM modem - 21.nov., for N - 04.dec.
https://forum.xda-developers.com/mo...ial-resurrection-remix-v5-8-3-t3637204/page36
https://forum.xda-developers.com/showpost.php?p=74737565&postcount=397
If you don't know modem version - flash stock first.
dzidexx said:
Flash Resurrection Remix.
If you have MM modem - 21.nov., for N - 04.dec.
https://forum.xda-developers.com/mo...ial-resurrection-remix-v5-8-3-t3637204/page36
https://forum.xda-developers.com/showpost.php?p=74737565&postcount=397
If you don't know modem version - flash stock first.
Click to expand...
Click to collapse
I didn't see MM modem - 21.nov., for N - 04.dec
I just saw Resurrection Remix version from July 14 to August 13?
Sent from my XT1575 using XDA Free mobile app
R77 said:
I didn't see MM modem - 21.nov., for N - 04.dec
I just saw Resurrection Remix version from July 14 to August 13?
Sent from my XT1575 using XDA Free mobile app
Click to expand...
Click to collapse
Very funny, Resurrection Remix 5.8.5:
21 XI 2017
https://forum.xda-developers.com/showpost.php?p=74626773&postcount=351
04 XII 2017
https://forum.xda-developers.com/showpost.php?p=74737565&postcount=397
Modem - you should know what you have onboard.
dzidexx said:
Very funny, Resurrection Remix 5.8.5:
21 XI 2017
https://forum.xda-developers.com/showpost.php?p=74626773&postcount=351
04 XII 2017
https://forum.xda-developers.com/showpost.php?p=74737565&postcount=397
Modem - you should know what you have onboard.
Click to expand...
Click to collapse
So I ended up flashing the unofficial Resurrection Remix flashed successful but got stuck at the moto logo, did a clean wipe and flashed the official nougat Resurrection Remix and it worked. I then decided to flash the simple kernel but got stuck at bootloop did a clean wipe restored my backup of Remix ended up flashing handbag kernel and booted up with no problems. What should I do for that?
What can't you understand?
You had stock Nougat - you have Nougat modem/baseband.
The same for stock MM.
RR 4 XII works only with N modem.
Simple kernel works only with MM modem.
@R77
i went through something like this recently, and my story is posted here: https://forum.xda-developers.com/showpost.php?p=74779723&postcount=417 . I couldn't get anywhere in Recovery, including dirty flashing another rom, because the process wouldn't complete. I ended up running the nougat firmware update "Moto X Pure Factory Firmware Nougat NPH25.200-22" via bootloader. Then unlocked, flashed TWRP, then put RR 12/4 rom on, but im still dealing with glitches (gps lock is horrible/lte signal is worse) (unsure if rom based or firmware from nougat). hope this info helps
The_Bizzel said:
i went through something like this recently, and my story is posted here: https://forum.xda-developers.com/showpost.php?p=74779723&postcount=417 . I couldn't get anywhere in Recovery, including dirty flashing another rom, because the process wouldn't complete. I ended up running the nougat firmware update "Moto X Pure Factory Firmware Nougat NPH25.200-22" via bootloader. Then unlocked, flashed TWRP, then put RR 12/4 rom on, but im still dealing with glitches (gps lock is horrible/lte signal is worse) (unsure if rom based or firmware from nougat). hope this info helps
Click to expand...
Click to collapse
I'm wondering will going back to Marshmallow fix my problem?
I have RR N final and have no problems but flashing AICP ROM with magisk and it won't boot, it will only boot with just the ROM alone?

[Solved] recovery/data TWRP Oreo

Hi,
My OP5 worked like a charm with Resurrection Remix 5.8.5, but recently my pin was randomly unrecognised, and I solved it with lock key files suppression. I ended up to restore a backup but got a bootloop, that occured with every rom I tried.
I had bootloader unlocked and magisk flashed.
I finally managed to flash and boot Resurrection Remix 6.0 (after wiping every partition), but at every reboot, when in twrp 3.2.1.0 (also tried on 3.1.1), I'm unable to mount data partition. Also it doesn't ask for my pin as it did before all those reflashing. The rom seems to have no issue (except some bugs).
I tried reflashing twrp without result and deleting internal storage is working so far as long as I don't reboot. I found some threads with similar problems about Oreo's related roms but I don't know if they are related to my issue.
I'm currently on RR6.0, bootloader unlocked, twrp 3.2.1.0 and no root, and encrypted by default.
Do you have any idea on this ?
Thanks for your help.
nonnaryplayer said:
Hi,
My OP5 worked like a charm with Resurrection Remix 5.8.5, but recently my pin was randomly unrecognised, and I solved it with lock key files suppression. I ended up to restore a backup but got a bootloop, that occured with every rom I tried.
I had bootloader unlocked and magisk flashed.
I finally managed to flash and boot Resurrection Remix 6.0 (after wiping every partition), but at every reboot, when in twrp 3.2.1.0 (also tried on 3.1.1), I'm unable to mount data partition. Also it doesn't ask for my pin as it did before all those reflashing. The rom seems to have no issue (except some bugs).
I tried reflashing twrp without result and deleting internal storage is working so far as long as I don't reboot. I found some threads with similar problems about Oreo's related roms but I don't know if they are related to my issue.
I'm currently on RR6.0, bootloader unlocked, twrp 3.2.1.0 and no root, and encrypted by default.
Do you have any idea on this ?
Thanks for your help.
Click to expand...
Click to collapse
Are you using the twrp from twrp.me or a modded recovery like codeworkx or blu spark? The original recoveries from twrp.me don't work on oreo.
Try using these recoveries:
Codeworkx: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/recovery/
Blue spark: https://forum.xda-developers.com/devdb/project/dl/?id=28224
Zohair.ul.hasan said:
Are you using the twrp from twrp.me or a modded recovery like codeworkx or blu spark? The original recoveries from twrp.me don't work on oreo.
Try using these recoveries:
Codeworkx: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/cheeseburger/recovery/
Blue spark: https://forum.xda-developers.com/devdb/project/dl/?id=28224
Click to expand...
Click to collapse
It worked Thanks ! I flashed codeworkx and all went fine : data is mounted at every boot, encryption unlock in recovery, flashing and restore.
I should have waited to flash oreo but this rom is the first to get me out of my bootloop hell so I'll stick with it for now.
Thanks again !
No problem Glad to see your issue got fixed.

Help... Data Partition error.

I flashed MIUI Pro... Used it for a month or so.. then I flashed Mokee rom... Everything seemed to work well until I rebooted phone into twrp to flash magisk. I saw that data partition is not accessible at all. Unable to mount error came. So I flashed global dev miui rom using Fastboot mode. and after successful first boot i went into fastboot.. flashed Mokee Nougat instead of oreo. everything seemed good.. Until I rebooted into twrp to flash magisk but could not get into twrp cause now data encrypted and non of my mi account pass or phone pin is working... I again flashed global dev miui rom using fastboot... and again flashed twrp then new rom.... and after a successful boot into system again booted to recovery to check if i can access data partition or not... BUt still no luck.. Unable to mount data partition. HOw to fix this??????? Anyone got any Idea thanks.
killeradi said:
I flashed MIUI Pro... Used it for a month or so.. then I flashed Mokee rom... Everything seemed to work well until I rebooted phone into twrp to flash magisk. I saw that data partition is not accessible at all. Unable to mount error came. So I flashed global dev miui rom using Fastboot mode. and after successful first boot i went into fastboot.. flashed Mokee Nougat instead of oreo. everything seemed good.. Until I rebooted into twrp to flash magisk but could not get into twrp cause now data encrypted and non of my mi account pass or phone pin is working... I again flashed global dev miui rom using fastboot... and again flashed twrp then new rom.... and after a successful boot into system again booted to recovery to check if i can access data partition or not... BUt still no luck.. Unable to mount data partition. HOw to fix this??????? Anyone got any Idea thanks.
Click to expand...
Click to collapse
Just reflash your device with deep flash cable or just use pin point method

Categories

Resources