yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] agusmibrahim:
Not Work for Dualboot

Hi, i've try crDroid 14.0 work as secondary os (i use dualboot patcher). But crDroid 14.1 is not work, any suggestion?
[Galaxy S 4 i9506 Android Development] Henry G:
I use NEE with XXUDPG2 bootloader and XXUDPH1 modem

No problem at all
[Galaxy S 4 i9506 Android Development] Harsher:
Sorry, edited, figured it out.

Any known bug for the latest version? Thanks.
[Galaxy S 4 i9506 Android Development] pedra3000:
... and more,

In the camera settings, the image quality tab does not show "100%", you only have the following options - 55%, 65% Normal and 75% good. I know this is not a bug but it lacks 100% or else it's just figurative and the photos are 100% :)
[Galaxy S 4 i9506 Android Development] Harsher:
Thanks
[Galaxy S 4 i9506 Android Development] _mikelanda:
I'm experiencing rhe same issue wirh Snapchat. Could you solve it?

---------- Post added at 08:19 PM ---------- Previous post was at 07:22 PM ----------

Which are the steps to do this? Go back to MM, log into Snapchat, and then flash N again?
[Galaxy S 4 i9506 Android Development] 3lambda:
Yap exact

Altrough now I can log without backup :)

Envoyé de mon m8 en utilisant Tapatalk
[Galaxy S 4 i9506 Android Development] _mikelanda:
Okay thank you very much m8; and you just log normally right now?
[Galaxy S 4 i9506 Android Development] 3lambda:
Yes

It all depend on su implementation in fact no

Envoyé de mon m8 en utilisant Tapatalk
[Galaxy S 4 i9506 Android Development] jefferzombie:
Maybe Magisk can handle apps who check for root before execute? Auto Magisk (now no longer supported) was doing exactly on this problematic apps (Snapchat, Android Pay and poke on Go).
[Galaxy S 4 i9506 Android Development] 3lambda:
Didn't tried it yet but that can work :)
[Galaxy S 4 i9506 Android Development] jefferzombie:
I think it's the solution: https://xdaforums.com/apps/supersu/suhide-t3450396

I don't know which one is better, Magisk or suhide. Need test.
[Galaxy S 4 i9506 Android Development] 3lambda:
I think I tried it bit didn't work with a certain type of su implementation
[Galaxy S 4 i9506 Android Development] Iluha7:
would it work on i9500?
[Galaxy S 4 i9506 Android Development] jefferzombie:
Nope
[Galaxy S 4 i9506 Android Development] Henry G:
Yesterday I dirty flashed v2.1 and every thing seems to be perfect
[Galaxy S 4 i9506 Android Development] jefferzombie:
Good way to say: rom updated! [emoji1]

Change log:

2.1 will start rolling out for all supported devices in coming days!

New highlights:

* Fix high drain with ambient display on.

* Ambient display customizations are back.

* QS Header images customization.

* Wakelock blocker (experimental)

* Lava lamp color customization for smart bar / pulse

* New ambient / lift to wake tile.

* Charging sounds customization

* One handed mode UI with toggle

* Smartbar double tap to sleep

* Gestures for few supported devices

* Blur lockscreen, if supported by LineageOS on your device.

* And lots of fixes
[Galaxy S 4 i9506 Android Development] Eliminater:
### V2.2 is up

* Complete revamp of crDroid Settings! (You'll fall in love again)

* Added Pixel animation settings for smartbar (navbar).

* New QS header images.

* Improvements for One-hand UI mode

* Smartbar special button for One-hand UI mode.

* Customizable Suspend Actions.

* Ability to turn off activity arrows from WiFi / Data signal.

* Fix developer settings hiding without option to restore. (tap build no. to restore)

* Fix rendering issue for few browsers like firefox and chrome.

* Fix data network issue for few users.

* Few more small fixes and optimizations.
[Galaxy S 4 i9506 Android Development] jegogo99:
Please, I want use adway on RR lineage. When I install application, don't work by something related binary. Can you help me please?

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] mzahs:
Is this ROM compatible with Galaxy S4 I337 (ATT version)?
[Galaxy S 4 i9506 Android Development] fabian3198:
Question

Is compatible with S4 active i9295?

Wifi hostpot and usb modem is working?
[Galaxy S 4 i9506 Android Development] pedra3000:
I think not, because the type of specifications of the mobile phone be different from this version, especially the CPU and GPU and among other things.

The Galaxy S4 I337 (ATT version) version is more in line with the S4 i9505 version.

But you can always try, do not forget to backup because if you screw up you always have to turn back. :good:

---------- Post added at 11:53 AM ---------- Previous post was at 11:45 AM ----------

This model is almost identical to the Galaxy S4 I337 (ATT version) in hardware aspects, which is in line with the S4 i9505 version.

You can try an S4 i9505 custom ROM and see if it works, do not forget to backup because if you screw up you always have to turn back.

This crDroid ROM is only for S4 i9506.
[Galaxy S 4 i9506 Android Development] xanderovitch:
CrDroid rom is dead?
[Galaxy S 4 i9506 Android Development] Henry G:
Be quiet man

The 2.3 is on and I guess we'll have for our device very soon

:cool:
[Galaxy S 4 i9506 Android Development] pedra3000:
LOLOL :laugh:
[Galaxy S 4 i9506 Android Development] Henry G:
May be we'll jump directly to v2.4 ;)

"v2.4 source is up and releases will start to roll out today onwards!

So, what's new:

* r25 release merge

* OMS-rootless - faster and better.

* Weather tile with lots of customization (OmniJaws)

* Improved slim recents.

* Added Easy toggle for location.

* Fixed "partial screenshot" and "full screenshot" assignments via smartbar."
[Galaxy S 4 i9506 Android Development] DonAndress:
Where do you get this info from? :)
[Galaxy S 4 i9506 Android Development] Henry G:
Have a look on the title of this thread: "[LOS][OMS]crDroid- Official[7.1.1_r25][ks01lte][V2.4][12 MAR]"

And there too: https://plus.google.com/+PranavVashi/posts/6zQqF81Dzqc

;)
[Galaxy S 4 i9506 Android Development] jefferzombie:
The topic was updated to 2.4, so... Update is coming!
[Galaxy S 4 i9506 Android Development] Marcin_L:
Update is online :)
[Galaxy S 4 i9506 Android Development] Henry G:
v2.4 is ready and well done

;)
[Galaxy S 4 i9506 Android Development] jegogo99:
V 2.4 installed. All seems ?. Good job!!

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] georgemei:
I am having battery drain of around 1.8-2.2% per hour (with betterbatterystats) using greenify and naptime with agreessive doze.

This is on a new battery.

Anyone else have similar stats?
[Galaxy S 4 i9506 Android Development] DonAndress:
Can anyone else report high battery drain on v2.4?

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] georgemei:
For your information I went back to the latest LOS13 (kyasu's rom cooked by gebaya) and the battery is draining at a normal 0.2% per hour (again greenify but with xposed this time).

it is not possible to have xposed in Nougat so I think at the moment some will have to bear the battery drain of LOS14.1 or go back to LOS13 if they can't stand it.

I also noticed that in LOS14.1 the latest MXPlayer 1.8.17 plays x265 movies with hardware acceleration+ compared to just hardware acceleration in LOS13. Playback of x265 Main10 profile is thus smoother on LOS14.1 compared to LOS13. This might be of interest if watching x265 encoded movies using Main10 profile.
[Galaxy S 4 i9506 Android Development] DonAndress:
Would xposed help on the battery drain issue?

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] georgemei:
It helps in LOS13 as it enables the advanced features of greenify. You can't have xposed in LOS14.1 unfortunately. The android doze mode, on it's own, leaves a lot to be desired.
[Galaxy S 4 i9506 Android Development] DonAndress:
Hmm do you maybe have a rough comparison of battery drain with the old CM12.1?

Preferably without xposed.

I've never used xposed before so I didn't even know that greenify can work better ;)

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] georgemei:
Never had a CM12.1 rom, was with TW for a long time, only recently put LOS13 and LOS14.1 as I was waiting for them to be stable enough for everyday daily use.

Try the latest LOS13 built by kyasu and cooked by gebaya, it is the best rom at the moment with minimal battery drain (and you can also have xposed). If you are interested in benchmark scores it also gives the best Antutu 6.27 score at roughly 67500.
[Galaxy S 4 i9506 Android Development] DonAndress:
I'm not really a benchmark guy.

For me i9506 is fast enough so I could look for some more battery time in other roms.

Anyway, how is LOS14.1 battery drain comparing to TW?

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] georgemei:
LOS13 is on par with TW, you can't have better than 0.2% drain per hour (measured with BBS) (and this is not in airplane mode but the phone connnected to a 4G network (with data off of course)).
[Galaxy S 4 i9506 Android Development] DonAndress:
[MENTION=6417885]Eliminater[/MENTION]

Do you maybe work on the battery drain issue?

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] jeepcook:
Will 2.5 version be available for our device?

Sent using Tapatalk
[Galaxy S 4 i9506 Android Development] Henry G:
v2.5 is on ;)
[Galaxy S 4 i9506 Android Development] jeepcook:
Bootloop for me....

Envoyé de mon GT-I9506 en utilisant Tapatalk
[Galaxy S 4 i9506 Android Development] DonAndress:
Anyone else can confirm bootloop?

I was planning to try v2.5 on the weekend...

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] Henry G:
Are you up to date with the official ROM: XXUDPG2 or XXSDPL2 (NEE)

And then did a clean flash?

---------- Post added at 02:42 PM ---------- Previous post was at 02:39 PM ----------

I did a dirty flash on 2.4

Everything seems to be fine
[Galaxy S 4 i9506 Android Development] jegogo99:
I did dirty flash and google services disappeared and couldn't install. Them I did clean flash, but magisk not work. I turned to v 2.4 again

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] jeepcook:
I don't want to do a dirty flash, because I have too many app's data to restore and titanium backup is not able to restore properly sms/mms under nougat because database folder has changed and I have more than 150000!! So xml restore is not adapted.

I will try with the new bootloader, but not nee modem, it's not adapted to french networks, doj2 is the best

Envoyé de mon GT-I9506 en utilisant Tapatalk
[Galaxy S 4 i9506 Android Development] Marcin_L:
I can confirm that after dirt instal from 2.4 to 2.5 Magdisk is not working, and root dissapired

Edit: Rolling back to 2.4 and everything is working again
[Galaxy S 4 i9506 Android Development] jegogo99:
I made super clean installation and all seems work fine except magisk

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] DonAndress:
I'm currently on baseband xxudoj3 and build nr xxudok2.

How should I update?

I mean this is Polish phone, at sammobile for my country there's only dok1. I got dok2 when I installed custom touchwiz rom.

What should I flash to be sure it's safe to have it on my phone before I install v2.5 of this rom?

TapaTalked from i9506
[Galaxy S 4 i9506 Android Development] Henry G:
Try to find the best one here: http://updato.com/firmware-archive-select-model?r=&v=Lollipop(Android+5.0.1)&q=GT-I9506

You can test several to get the best modem and bootloader

On my side I haven't any problem with the NEE XXUDPG2 bootloader and XXUDPH1 baseband

;)
[Galaxy S 4 i9506 Android Development] Henry G:
I think Magisk is working fine if it's green!

You have to install modules if you want more

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Galaxy S 4 i9506 Android Development] Aceracer27:
Open Magisk, Settings then turn on "Magisk Hide".
[P3600 ROM Development] arti121:
Where can I find P3600i ROM (WM6) so I can flash it on my trinity?
[P3600 ROM Development] jmermel:
http://wiki.xda-developers.com/index.php?pagename=Trinity_Upgrades
[LG G5 Questions & Answers] Hustle69:
hello is there any way to root that lg?
[LG G5 Questions & Answers] Killua96:
Nope atm
[LG G5 Questions & Answers] Wire1122:
Will lg update se version to nogout?
[Xperia Z3 Q&A, Help & Troubleshooting] browngeek:
http://www.xperiablog.net/2016/10/1...1-1-a-0-1-rolling-to-numerous-xperia-devices/

I got this on my D6633. Nothing seems to have changed though. My phone is stock, but rooted. Update installed without issue.
[Xperia Z3 Q&A, Help & Troubleshooting] mb011:
In comments users seem to report battery drain issues after the update... Didn't notice it myself though...

Sent via Xperia Z3
[Xperia Z3 Q&A, Help & Troubleshooting] Allen_Jolynn0:
I finally managed to resolve the battery drain issue after this update, so you better go to Settings > About phone > Status > Charging optimization and disable the "chargin optimization".
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
This guide allows you to install OOS Open Beta 8 (N) / 7 (MM) without having to switch to modified TWRP

All credits to the respective developers

Downloads : G-Drive | MEGA

Unified Links above contains the following.

[Added] OOS Leaked Open Beta 9 (Mirror only) will modify Once it is released

1- Modded OOS Open Beta 8 (No F2FS , Downgradable to any OOS version)

2- Modded OOS Open Beta 7

3 - Debloater / Pixel Laucher (Black) and H2OS Icon Packs , Google Assistant (Unified Flashable Zip)

4- Super SU 2.78-SR5

5- Official TWRP

6 - Modified TWRP Recovery 3.0.2-1.28 Credits [MENTION=3873953]eng.stk[/MENTION]

7- Latest Xposed Installer (Beta 7 Only) (It will give you the option to download / install the latest version of framework automatically)

8- Open Beta 8 Full flash able (F2FS support with Modified Recovery @Funk Wizard)

Instructions for Clean / Dirty Flash (Over any Open Beta after 3.5.1) :

1. Boot into TWRP (modified or official which ever you are on)

2. Wipe Dalvik / ART cache & cache OR Factory Reset ( If you are coming from another ROM)

3. Flash Modded OOS Open Beta 8 (Dont Switch /system and /data to F2FS if you want to root) or Beta 7

4. Wipe Dalvik and Cache

5 . Flash official twrp as image (even if you are already on it)

6. Reboot to into recovery directly (this will prevent recovery from being overwrite by the stock)

7. Flash SuperSu (Optional)

8. Flash Debloater / Pixel Laucher (Black) and H2OS Icon Packs , Google Assistant (Clear Google App Data after Booting) (Unified Flashable Zip) (Optional)

9. Reboot to System (It will reboot twice if you flashed SuperSU) - That is normal

You are good to go :good:

Regards ,

Muhammad A. Iftikhar
[OnePlus 3 Guides, News, & Discussion] Normas Interruptor:
Is there any kernel for this build ???
[OnePlus 3 Guides, News, & Discussion] Giocarro:
Eng.stk yesterday teased us with an upcoming kernel for 3.5.4 Community Beta.

Whatch this thread: http://xdaforums.com/oneplus-3/development/kernel-t3404970 .
[OnePlus 3 Guides, News, & Discussion] xGOGI:
Can I dirty flash it from FreedomOS based on 3.2.7?
[OnePlus 3 Guides, News, & Discussion] Giocarro:
Nope, they are two different ROMs on different channels: for instance you could have dirty flashed if you were on 3.5.2 or 3.5.3.
[OnePlus 3 Guides, News, & Discussion] xGOGI:
I need to wipe system too? Or only cache/dalvik + data?
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Yes you can as you have firmware of 3.2.7
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
System Wipe only if you are coming from another ROM , I.E CM or AOSP based / Nougut
[OnePlus 3 Guides, News, & Discussion] puschkin:
How do i flash official twrp in modified twrp, do i have to extract the downloaded file?
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Click Install > "Install Image" it will showup in the location you download the file should have ".img" extention .

simply download it in the phone from the link in OP.
[OnePlus 3 Guides, News, & Discussion] puschkin:
Thanks for the quick reply!!
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
This will further help you out
[OnePlus 3 Guides, News, & Discussion] puschkin:
Thanks for this great tutorial, worked like a charm:D
[OnePlus 3 Guides, News, & Discussion] ralph78:
I want to try new CB but more likely I will be going back to official 3.2.7 I have nandroid backup ready. My question is, if I follow your guide and then I want to restore my backup, will I be able to do it without the hassle?

Wysłane ze zmywarki
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
You can even dirty flash this over 3.2.7 (will take some time after 1st boot to optimize apps depending on the number of apps installed) , Nandroid can be restored with out hassle if you choose to clean flash 3.2.7 after testing CB
[OnePlus 3 Guides, News, & Discussion] XS_31:
I'm on TWRP 3.0.2-1, and I can't install Rom zip, it always tells me that zip file is corrupted. I've downloaded it twice however, once from Google drive, once from AFH.

Any idea of what's wrong?
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Try re-flashing Twrp by downloading a fresh copy , and manually mount system before flashing the ROM ,

You can also try downloading it directly to your gdrive and let it sync in your PC / phone by "make available offline" feature in drive app
[OnePlus 3 Guides, News, & Discussion] francise:
how to back from 3.5.4 to stock again?
[OnePlus 3 Guides, News, & Discussion] ritchiedrama:
File corrupt from both links, also.
[OnePlus 3 Guides, News, & Discussion] demon507:
Yes... File is corrupted... So much of mobile data wasted.. :(
[OnePlus 3 Guides, News, & Discussion] kabrty:
TWRP

\

I am on 3.5.3, if I upgrade to 3.5.4 then flash official TWRP then Resurrection Remix will it work?
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
YES

This is a work out for CB builds starting from 3.5.2 CB they changed the bootloader , so modified twrp came , Every other ROM is compatible with OFFICIAL TWRP
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
If you installed this you can simply dirty flash 3.2.7 over 3.5.4 installation.
[OnePlus 3 Guides, News, & Discussion] kabrty:
So I updated to 3.5.4 with stock recovery, everything normal, then I tried to flash Official TWRP but the Oneplus recovery overwrite it, so should I flash modified TWRP instead?

EDIT: OMG I AM SO SORRY I DID NOT READ THE THREAD COMPLETELY FORGIVE ME PLEASE.

YET ANOTHER EDIT: So I'm on 3.5.4, if I get modified TWRP then follow the guide, will I keep my data?
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Since the report is coming 4th time , but before that almost 50 downloads without any problem from AFH alone , and it's not possible on both links at the same time , having said that , try changing your browser /download manager or device while downloading this switch to a PC or UC browser etc , still I can re-upload to either Dropbox or MEGA , need your feedback on this
[OnePlus 3 Guides, News, & Discussion] demon507:
Mega link please..
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
You are getting confused , no data is ever replaced coz of TWRP flashing unless you do a wipe , but why on earth you will need modified twrp if you follow this guide ????
[OnePlus 3 Guides, News, & Discussion] kabrty:
Sorry I think I got confused on this guide, I wanted to get TWRP then get Resurrection Remix because I don't have a TWRP right now.
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Coming up but before that try my suggestions time changing the browser or machine .
[OnePlus 3 Guides, News, & Discussion] demon507:
I've limited data i.e 4gb... Can't just try..
[OnePlus 3 Guides, News, & Discussion] ralph78:
It worked for me. No data corrupted.

Wysłane ze zmywarki
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
If you are having an unlocked bootloader

just use fastboot flash twrp to get twrp
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Share how u downloaded it and how it worked for you , so that others can have a better idea
[OnePlus 3 Guides, News, & Discussion] ralph78:
I got it from Google drive to my computer then just copied it through usb cable.

Wysłane ze zmywarki
[OnePlus 3 Guides, News, & Discussion] xanthrax:
It is broken /corrupted on AFH

Sent from my Darkside of Oneplus 3
[OnePlus 3 Guides, News, & Discussion] rena71rai73:
Good morning, I read around that the Roma community is the problem of criptazione.ossia that if you want to return to oxigenOS stok asks you a password that nobody knows!

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 Guides, News, & Discussion] daveyjones123:
Both links corrupt for me too.
[OnePlus 3 Guides, News, & Discussion] just4u32:
Works flawlessly. Thanks.
[OnePlus 3 Guides, News, & Discussion] francise:
Please give me advice I'm on stock twro how if i change to custom twrp?? It will work for all custom rom and stock rom + community build too?? Thanks i want to try this CB build i need app lock haha
[OnePlus 3 Guides, News, & Discussion] masterchif92:
So this Can beused with multirom ?

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
if you are decrypted yes
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Mega link updated in op
[OnePlus 3 Guides, News, & Discussion] Giocarro:
Thanks [MENTION=7677083]ahmediftikhar[/MENTION] for this useful guide!

You made me upgrad from 3.2.6 to 3.5.4 without issues and with the complete feature set available (TWRP, root, Xposed, Blu_spark kernel).
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
Kindly reply with how it worked for you (your step by step installation procedure) . so that others can benefit from it.
[OnePlus 3 Guides, News, & Discussion] Giocarro:
There may be more efficient ways to achieve the same goal, by the way these are the steps I performed yesterday to get the final result:

1. Booted into TWRP official

2. Wiped System + Data + Cache

3. Flashed OOS 3.2.7 Firmware ZIP from first post

4. Flashed OOS 3.5.4 (No Firmware) from first post

5. Wiped Dalvik and Cache

6. Without leaving TWRP, flashed twrp-3.0.2-21-oneplus3.img from blu_spark downloads

7. Flash SuperSu official

8. Without leaving TWRP, flashed blu_spark_r132-OOS-6.0.1_thulium_7f08874.zip from blu_sparks downloads

9. Rebooted into TWRP directly to prevent recovery from being overwritten

10. Rebooted to System and performed the first-time setup

11. Rebooted into TWRP

12. Flashed Xposed framework

13. Rebooted into system

14. Installed Xposed Installer
[OnePlus 3 Guides, News, & Discussion] ritchiedrama:
Works now with the Mega link. Thanks.
[OnePlus 3 Guides, News, & Discussion] mohmd.nagy:
It's so simple

Flash 5.3.4 then without leaving TWRP flash Last stable root, TWRP will remain
[OnePlus 3 Guides, News, & Discussion] xanthrax:
Does the phone gets re-encrypted after flashing this community builds? I've never tried any... But I'm thinking of it, thanks

Sent from my Darkside of Oneplus 3
[OnePlus 3 Guides, News, & Discussion] shashank094:
Hi , i am on freedom Os 3.2.6, if i dirty flash the CB build, will i still have Viper and Dolby?
[OnePlus 3 Guides, News, & Discussion] demon507:
If you flash root then it'll not get encrypted that's what i heard... But i flashed 3.5.4 followed by supersu 2.78..but my phone got encrypted. :(
[OnePlus 3 Guides, News, & Discussion] xanthrax:
I'll try later by flashing the eng.stk kernel before booting into the system

Sent from my Darkside of Oneplus 3

---------- Post added at 06:50 PM ---------- Previous post was at 06:38 PM ----------

Every dirty flash will erase Viper /xposed or any other mod which isn't included on the new ROM you want to flash and this is for ALL roms

Sent from my Darkside of Oneplus 3
[OnePlus 3 Guides, News, & Discussion] ahmediftikhar:
It will get encrypted if you install system less root , flash SuperSU after 1st boot.

For those wishing to keep the Decrypted State

Flash any OOS ROM (with or W/O FW) and immediately after that SuperSU (DO NOT USE SYSTEMLESS) WITHOUT REBOOTING and it will not encrypt the device again.

There is also a guide on that, too much time consuming and not recommend as it involves pushing partitions via adb which it self can soft brick your device.