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 @eng.stk
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
Is there any kernel for this build ???
Normas Interruptor said:
Is there any kernel for this build ???
Click to expand...
Click to collapse
Eng.stk yesterday teased us with an upcoming kernel for 3.5.4 Community Beta.
Whatch this thread: http://forum.xda-developers.com/oneplus-3/development/kernel-t3404970 .
Can I dirty flash it from FreedomOS based on 3.2.7?
xGOGI said:
Can I dirty flash it from FreedomOS based on 3.2.7?
Click to expand...
Click to collapse
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.
I need to wipe system too? Or only cache/dalvik + data?
xGOGI said:
Can I dirty flash it from FreedomOS based on 3.2.7?
Click to expand...
Click to collapse
Yes you can as you have firmware of 3.2.7
xGOGI said:
I need to wipe system too? Or only cache/dalvik + data?
Click to expand...
Click to collapse
System Wipe only if you are coming from another ROM , I.E CM or AOSP based / Nougut
How do i flash official twrp in modified twrp, do i have to extract the downloaded file?
puschkin said:
How do i flash official twrp in modified twrp, do i have to extract the downloaded file?
Click to expand...
Click to collapse
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.
ahmediftikhar said:
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.
Click to expand...
Click to collapse
Thanks for the quick reply!!
puschkin said:
Thanks for the quick reply!!
Click to expand...
Click to collapse
This will further help you out
Thanks for this great tutorial, worked like a charm
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
ralph78 said:
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
Click to expand...
Click to collapse
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
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?
XS_31 said:
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?
Click to expand...
Click to collapse
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
how to back from 3.5.4 to stock again?
File corrupt from both links, also.
ritchiedrama said:
File corrupt from both links, also.
Click to expand...
Click to collapse
Yes... File is corrupted... So much of mobile data wasted..
Related
OxygenOS Open Beta 8 (Nougat) for OnePlus 3
Hey everyone,
First of all, we want to extend a huge thank you to all of you who have been participating in our beta program. It's been a huge success. By sending in your feedback, bug reports, and general thoughts, you've made OxygenOS even better, and we're making improvements faster than ever before. Today, we have a particularly exciting announcement: Open Beta 8 – built on Android Nougat - is available now for the OnePlus 3.
Some key updates in this build:
Upgraded to Android 7.0 Nougat
New Notifications Design
New Settings Menu Design
Multi-Window View
Notification Direct Reply
Custom DPI Support
Added Status Bar Icon Options
Added Quick Launch For 3rd Party Applications
Improved Shelf Customization
This build will not OTA to current open beta users. You can download the build here:
OxygenOS Open Beta 8
[Known Issues]
Android Pay may not work correctly
Some stability/performance issues
After upgrading to Android N, you will not be able to directly downgrade back to M builds. Our customer service team has a special build of Android M that will allow you to downgrade, but this will format your device. If you'd like to flash back to M, please contact Customer Support.
Please keep in mind that this is beta software. This build will not be as stable as our official OTA releases. Given that this is a shift to a brand new version of Android, there may be more bugs in this build than previous Open Beta builds. By installing this update, you accept the potential risks.
Please let us know what you think! For general feedback, feel free to reply to this thread. If you find any reproducible bugs, we'd hugely appreciate it if you could fill out a report on our new Bug Report platform.
Thank you for helping us build a better OxygenOS.
Thanks, and enjoy!
Never Settle
Installation for Users with Stock Recovery on Beta7:
1. Download Beta 8 Full zip and place it on the internal
2. Reboot To Stock Recovery
3. Wipe Cache
4. Flash from internal
5. Reboot System & Profit
Installation for Rooted Users with TWRP:
> Using Modified TWRP:
Updated TWRP Recovery Needed 3.0.2-1.28 available here Credits @eng.stk
Download Beta 8 full zip here
Mirrors | G-Drive | AFH: https://www.androidfilehost.com/?fid=313042859668276492
Clean Flash Recommended:
Flash the Modified TWRP 3.0.2-1.28 either as an image flash via existing TWRP or via Fastboot Mode
1. Download Beta 8 Full zip
2. Reboot To Modified TWRP
3. Wipe Dalvik, System, Data & Cache or Dirty Flash on previous Beta7 and Factory Reset
4. Flash Beta 8 Full Zip
5. Flash SuperSU to maintain root (Optional SR5 Recommended)
6. Reboot System & Profit
* Do not flash Xposed as not compatible with 7.0 builds yet
PS: System will reboot twice if you flashed SuperSU, Dont Panic!!
If you come from a custom rom, i recommend a clean flash and make sure you use the modified TWRP 3.0.2-1.28 as the official one is incompatible with the CB firmware yet.
*******************************************************************************************
> Method 2 with Modified Script using Official TWRP Credits @ahmediftikhar
If you come from a Custom Rom Factory Reset and Clean Flash or If you come from OOS based rom Dirty Flash as below:
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 : MEGA
Download Contains the following:
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 @eng.stk
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)
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 System & Profit
PS: System will reboot twice if you flashed SuperSU, Dont Panic !!
Never Settle
For Users facing encryption problem with Modified TWRP:
1. Backed up everything to PC (whole of Internal Storage including and not limited to Titanium Backup folder, Music, Pictures, etc)
2. Reboot into TWRP 3.0.2-1.28
If you were already encrypted, it asks for a password (pattern or pin), provide and if it goes through, great and to step 4, If you’re stuck, read on…
TWRP doesn’t accept your password and says ‘Can’t Mount Storage: Connect to PC and Type these in Fastboot:
i. fastboot format userdata
ii. fastboot format cache
iii. fastboot format system
iv. fastboot erase recovery
v. fastboot erase boot
vi. fastboot reboot
vii. fastboot flash recovery <twrp28>
3. Reboot phone into Recovery
4. In TWRP, Wipe – Format Data. Confirm.
5. Once done, you can transfer from PC to Phone or use a USB OTG, the files your need to flash:
* OnePlus3Oxygen_16_OTA_016_all_1611302306_cc5d2327b14247fd
* SR5-SuperSU-v2.78-SR5-20161130091551
6. Flash ROM (OnePlus… file)
7. Flash SuperSU SR5
8. Flash TWRP AGAIN
9. Reboot into Recovery
10. Reboot System
Boot would take about 4-5 minutes on an average
************************************************************************************************************************
Archive Downloads below if you need them:
Flashable Stock Recovery
https://www.androidfilehost.com/?fid=457095661767102599
3.2.6 Firmware + Modem
https://www.androidfilehost.com/?fid=529152257862664515
Beta 7 full zip here
Mirrors | MEGA | AFH |
Beta 7 OTA Only : G-Drive
G-Drive | AFH
Download 3.5.5 Hotfix OTA - G-Drive
Download 3.5.5 Hotfix Full Zip | AFH
Kernel flash is now possible with 3.5.5 firmware??
Any gdrive mirror?
Need full zip to install from official twrp
Sent from my ONEPLUS A3003 using Tapatalk
I am on cb. Recieved ota and i am using official twrp. Whats the procedure?
Rupant said:
I am on cb. Recieved ota and i am using official twrp. Whats the procedure?
Click to expand...
Click to collapse
Hi, read OP, post#2
and/or here: https://forums.oneplus.net/threads/...ty-beta-with-stock-or-custom-recovery.467808/
Any mirror links please
I need..Method 2 with Modified Script using Official TWRP Credits @ahmediftikhar,...there isnt?
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
can anybody provide screenshot of new calling UI?
isoladisegnata said:
I need..Method 2 with Modified Script using Official TWRP Credits @ahmediftikhar,...there isnt?
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Coming up in a few hours
how difficult is it to delink the notification & ringtone sound ?
got mine.... wohoooo
EdgA#1 said:
Kernel flash is now possible with 3.5.5 firmware??
Click to expand...
Click to collapse
With 3.0.2-22 flash the latest, however the stock kernel is lightening fast
Rupant said:
I am on cb. Recieved ota and i am using official twrp. Whats the procedure?
Click to expand...
Click to collapse
You need the modified, check OP post 2 for instructions and links
isoladisegnata said:
I need..Method 2 with Modified Script using Official TWRP Credits @ahmediftikhar,...there isnt?
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Work in progress....
Funk Wizard said:
With 3.0.2-22 flash the latest, however the stock kernel is lightening fast
You need the modified, check OP post 2 for instructions and links
Work in progress....
Click to expand...
Click to collapse
Means i have to flash ota file only through modified twrp dirty flash and can u tell me where is ota downloaded?
So is it confirmed that the official twrp is still buggy with this community build also?
Funk Wizard said:
With 3.0.2-22 flash the latest, however the stock kernel is lightening fast
You need the modified, check OP post 2 for instructions and links
Work in progress....
Click to expand...
Click to collapse
[emoji23] [emoji23] [emoji23] [emoji23]
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
Apologize for the silly question: what is the difference between original OnePlus 3.5.5 ZIP and the ZIP archive provided in the second post of this thread?
Giocarro said:
Apologize for the silly question: what is the difference between original OnePlus 3.5.5 ZIP and the ZIP archive provided in the second post of this thread?
Click to expand...
Click to collapse
Silly answer. Read it again and this time slowwwwwly. Get it? Ugghh the first post links directly to the official build while the second post clearly light as sky says for Rooted TWRP users. Yeye that wasn't too hard was.. was it?
I made small changes based v2
Suitable with OOS OB13 with Project Treble.
No need to mount any specific partitions (in recovery) manuly such as /vendor
Click to expand...
Click to collapse
How to use
If you see this thread, you should know how to use this file.
Just all the same as v2. More info here https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
Can be used for HOS/OOS 7.1 8.0 8.1 and 8.1 with Project Treble and mokee rom
Download Link https://drive.google.com/open?id=1dMeYaIC4eFNBc3sfNQpGUqFzcqttlMZ0
daxiaamu said:
How to use
If you see this thread, you should know how to use this file.
Just all the same as v2. More info here https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
Can be used for HOS/OOS 7.1 8.0 8.1 and 8.1 with Project Treble and mokee rom
Click to expand...
Click to collapse
File is damanged. also, has a zip.zip extension, but still, after renaming it, doesn't open (at least on the PC)
Awesome. Thank you very much @daxiaamu!
fjsferreira said:
File is damanged. also, has a zip.zip extension, but still, after renaming it, doesn't open (at least on the PC)
Click to expand...
Click to collapse
Same thing here. Thanks for the heads up.
fjsferreira said:
File is damanged. also, has a zip.zip extension, but still, after renaming it, doesn't open (at least on the PC)
Click to expand...
Click to collapse
link https://drive.google.com/open?id=1dMeYaIC4eFNBc3sfNQpGUqFzcqttlMZ0
a63548 said:
Awesome. Thank you very much @daxiaamu!
Same thing here. Thanks for the heads up.
Click to expand...
Click to collapse
link https://drive.google.com/open?id=1dMeYaIC4eFNBc3sfNQpGUqFzcqttlMZ0
Need new link please
Aballamis said:
Need new link please
Click to expand...
Click to collapse
You can also use the one from xXx https://forum.xda-developers.com/on...1-1-speed-ram-optimized-t3627121/post72802213
Aballamis said:
Need new link please
Click to expand...
Click to collapse
Here's a mirror: http://www.mediafire.com/file/1psz6...ForceEncrypt_2.0_%28OP5-5T-Treble%29.zip/file
Recommendation
I recommend this-
Its unversaly. I use this on every rom.
Regularly updated.
http://zackptg5.com/android.php#disverfe
XDA Thread for this-
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
P.S. I never format data while updating before flashing this (never needed, it works fine without that). I onlyformat data whenever i want pure clean install of any rom.
Just make sure to flash this after rom and after custom kernel or anything that edits boot. But flash this before Magisk. So. In short-
1. Flash- rom
2. Flash custom kernel or any thing that edits boot
3. Flash this to decrypt and to boot ur device successfully
4. Then flash Magisk
Note1: When you need clean install then follow these steps-
1. Factory reset (as normal when u do but if u r flash pure stock than wipe everything- i recommend this everytime for every stock(based) rom)
2. Reboot to recovery again
3. Click on Format data, type yes and format it.
4. Reboot to recovery again
5. And now go on flashing as mentioned above before these steps.
Note2: When u just need to update and not clean install. Then follow these steps-
1. First make sure to remove all magisk modules (when enabled it makes issues - after Magisk 18 and Pie update - before these updates i never got issues)
2. Now in twrp flash update zip
3. Flash anything that edits boot (ex. - custom kernel) if you want.
4. Now flash Magisk
5. Don'y flash any tweaks etc yet. (xXx NoLimits also)
6. Reboot.
7. Now if you want flash tweaks, modules etc.
8. And now only you are ready to flash xXx NoLimits again if you want.
**
*I guess this may help many of you in many cases.*
**
Mohitash said:
I recommend this-
Its unversaly. I use this on every rom.
Regularly updated.
http://zackptg5.com/android.php#disverfe
XDA Thread for this-
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
P.S. I never format data while updating before flashing this (never needed, it works fine without that). I onlyformat data whenever i want pure clean install of any rom.
Just make sure to flash this after rom and after custom kernel or anything that edits boot. But flash this before Magisk. So. In short-
1. Flash- rom
2. Flash custom kernel or any thing that edits boot
3. Flash this to decrypt and to boot ur device successfully
4. Then flash Magisk
Note1: When you need clean install then follow these steps-
1. Factory reset (as normal when u do but if u r flash pure stock than wipe everything- i recommend this everytime for every stock(based) rom)
2. Reboot to recovery again
3. Click on Format data, type yes and format it.
4. Reboot to recovery again
5. And now go on flashing as mentioned above before these steps.
Note2: When u just need to update and not clean install. Then follow these steps-
1. First make sure to remove all magisk modules (when enabled it makes issues - after Magisk 18 and Pie update - before these updates i never got issues)
2. Now in twrp flash update zip
3. Flash anything that edits boot (ex. - custom kernel) if you want.
4. Now flash Magisk
5. Don'y flash any tweaks etc yet. (xXx NoLimits also)
6. Reboot.
7. Now if you want flash tweaks, modules etc.
8. And now only you are ready to flash xXx NoLimits again if you want.
**
*I guess this may help many of you in many cases.*
**
Click to expand...
Click to collapse
Can the DM Verity n force encrypt disbler installed after magisk and without formatting data
And which one is best for Android pie
amitporedi007 said:
Can the DM Verity n force encrypt disbler installed after magisk and without formatting data
And which one is best for Android pie
Click to expand...
Click to collapse
Magisk must be flashed after dm...zip. But if you have already installed magisk then no worries. Flash DM Verity n force encrypr disabler and then again flash magisk. No need to format data in this case. Format data only needed when you are doing pure clean install of stock (based) rom. Check my signature, i am on OOS 9.0.2 that is android pie 9.0 and magisk v18. Decrypted (using that dm verity and force encrypr disabler).
Aroma compatible twrp (recovery.img) : https://androidfilehost.com/?fid=6006931924117889478
(tested on latest April Xperia Pie : 47.2.A.10.45)
BASIC guidance :
Be sure to read NewFlasher thread carefully first (Widevine L3 instead of L1 for locked bootloader).
0) recovery download
1) fastboot mode blueLight :$ fastboot flash recovery 270recovery9omni8-1FBEkeymaster3-twrp3_3_1.img
2) reboot STRAIGHT to twrp and always backup /boot only before Magisk-ified (needed with /system only in case of complete re-initialization or format, and for Treble roms)
3) flash magisk (min 17.3)
4) boot Pie (SafetyNet and Playstore certified should be ok with latest Magisk app after few mn)
Note: don't force remove bloatware: just disable them, so they won't reappear after future ota.
Once done, with your original /boot backup ( plus complete/full Magiskified backup), you can switch, without format /data, to my (xz1 enhanced) aosp Treble /system image: https://forum.xda-developers.com/pr...arm64aosp-9-0-0r21-microg-ufofficial-t3878115 , and restore back SonyXperia later with your full backup.
Future upgrade(ota):
-XperiFirm new firmware download + move away fotaKernel..sin & userdata..sin & simlock.ta + newflasher(with greenLight!)
-reboot STRAIGHT to recovery (and backup /boot only, before Magisk-ified)
-flash latest Magisk (min 17.3)
-boot Pie (SafetyNet and Playstore certified should be ok with latest Magisk app after few mn)
Optionally:
(-install Magisk Screen recorder or Snapdragon gallery, or aospEmail-SnapExchange free of analytics... )
-For better battery use KernelAdiutor with [conservative]highCpu & [ondemand]lowCpu (Adaway...)
Note: with or without su/hack, NightLight dim brightness is actually broken (wip)
Supplement:
This edition includes latest Aroma File Manager and TA partition backup: saves copies in sdcard/TWRP/ of TA, modemst1&2, boot.img plus some /vendor files like the identification build.prop ( default.prop fstab.qcom gps.conf uevent.rc). Every backup proceeds a copy of previous sdcard/TWRP/ TA.bin modemst1&2.bin and Id. build.prop in sdcard/TWRP/BACKUPS/.
Recovery simplified source : https://gitlab.com/oF2pks/twrppoplardevice/tree/aromaBusybox_Omni-8_1 (47.1.A.12.270)
with : TW_TARGET_USES_QCOM_BSP := false & Busybox v1.22.1
kernel : https://github.com/cryptomilk/android_kernel_sony_msm8998
prim-origin : https://github.com/cryptomilk/android_device_sony_yoshino/blob/lineage-15.1/twrp.mk
Thank you, working fine. How i change ui color? Flash the attached zips?
snake218 said:
Thank you, working fine. How i change ui color? Flash the attached zips?
Click to expand...
Click to collapse
No, just re-create (sdcard)/TWRP/theme/ui.zip exactly, and then launch Advanced§ReloadTheme from twrp recovery . Since I didn't include languages/*xml in them, you can only select Settings§Language without my uploaded themes (ui.zip) first. (Advanced§AromaFM & backupTA lines are also missing in regular uiBlueClassic.zip xml).
They are many twrp themes on xda, just be sure to use 3.3.0 ui.zip compatible edition.
Thanks for the new TWRP with Encryption. Device SOV36
Thank you for this fine version of twrp.
I am getting this error when making a full backup (ticked all partitions)
"error backing up system image, cleaning up folder"
I am running stock 47.2.A. 10.45 and j4nn kernel. Ric is off (i can write in system) and twrp are flashed.
i press "cancel" when asking for a password.
Normally the twrp just backup everything without any issues, so i must do something wrong??
Kind regards torben5247
Some themes for this ?
kojak1989 said:
Some themes for this ?
Click to expand...
Click to collapse
You can also use these themes for the 3.3.xx twrp
https://forums.oneplus.com/threads/custom-themes-for-twrp.849931/
Or if you search with Google, you can use all the 3.2.3 theme
theflanker said:
You can also use these themes for the 3.3.xx twrp
https://forums.oneplus.com/threads/custom-themes-for-twrp.849931/
Or if you search with Google, you can use all the 3.2.3 theme
Click to expand...
Click to collapse
but I do not know who will be good so that's why I'm asking
kojak1989 said:
but I do not know who will be good so that's why I'm asking
Click to expand...
Click to collapse
Why do you think it's a risk? If it doesn't work, it doesn't fit the theme and I use it!
@oF2pks
Hi, your newest version have original theme from TWRP or that from your previous version ?
Why can't I install any other ROM with this recovery?
Getting some invalid zip error.
(short) Tutorial in getting your Xiaomi Mi MIX2 encrypted with latest Android 9 (Pie) ROM released by xiaomi.eu (and propably also with the beta ROMs released by Xiaomi/miui.com)
Preparations:
- your phone is unlocked
- a custom recovery is installed on your phone already
- download OrangeFox recovery 9.0-1 or later (others may work too but had not tested for this tutorial / TWRP 3.3.0-0 may produce errors)
- download force-enryption script for Mi MIX2 Android Pie
- download NO enryption restore script for Mi MIX2 Android Pie (reverts fstab config to default - wipe of data needed)
- download latest Android 9 Pie based MIUI ROM (tested only with the modified ROM from xiaomi.eu - official beta ROM may work too)
- optional: download latest Magisk to receive root (may needed by your backup/recovery app to restore your apps within android)
CAUTION!
When folliging this procedure you will loose all current data on your device! DO A APP-BASED BACKUP IN ANDROID FIRST!!! (TWRP or OrangeFox recovery based backups won't work for this procedure!)
Have done your Backup? No? DO IT NOW! really!
Let the phone boot and encrypt itself after flashing the scipt linked in HowTo.
Up to now (bug has been reported) it is to be mentioned that encrypting Xiaomi.EU rom via setting/privacy/encrypt leads direct to PHONE RESET.
FORMAT DATA is required then to get it back to life. @lolo9393 thanks for that hint!
Exact proceedings:
1. you've done a backup eh? - good
2. ... did you save that backup on a other device than your phone? Remember you'll loose all data stored on the phone!!!
3. reboot your phone in your currently installed recovery
3.1 copy the OrangeFox recovery to your device
3.2 select "Install" and choose the OrangeFox recovery .zip file to install (replace your current recovery)
3.3 OrangeFox installer will reboot the recovery after its install
4. Select "Wipe"
4.1 Select "Advanced Wipe"
4.2 Select every Partition exept USB-OTG
4.3 Swipe to Wipe
5. reboot your recovery to recovery again
6. Select "Wipe"
6.1 Select "Advanced Wipe"
6.2 Select "Format Data"
6.3 type in "yes" and confirm that step
7. reboot your recovery to recovery again
8. copy the latest Android 9 Pie based MIUI ROM to your phone
9. copy the latest version of the force-enryption script to your phone
10. Select "Install" and select the Android ROM first then "Add to queue" and select the force-encryption script as second item to flash
10.1 Swipe to Install
11. reboot to system
11.1 go to "Settings"
11.2 scroll down to "SYSTEM SETTINGS" area
11.3 select "Additional settings"
11.4 select "Privacy"
11.5 scroll down to "ADVANCED" area
11.6 check the status of "Encryption & credentials" - it should state "Encrypted"
12. now continue in setting up your system (e.g. enable developer mode, enable advanced power menu, usb debugging if needed, ...)
13. DONE ...
... ok, maybe you're missing your apps and settings - here is a possible way to restore them ... (i personally prefer Titanium Backup)
Root & how to restore apps & app data
14. copy Magisk installer to your device
14.1 reboot your device to recovery
14.2 select "Install" and choose the Latest Magisk-vXX.X.zip file to install (in the log you should read something about "keep forced encryption" - this is good )
14.3 when done - reboot to system again
15. Install Titanium Backup (from a store or as APK from file)
15.1 copy your Titanium Backup or TWRP backup (that could be restored by Titanium Backup Pro) to insternal storage
15.2 restore apps & app data with Titanium Backup (for a detailed HowTo please visit official Titanium Backup Website: https://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-user-guide.html#restore)
15.3 Profit!
That guide may has helped you ...
... say thanks and/or donate for my massive Whiskey consumption -> https://forum.xda-developers.com/donatetome.php?u=496297 :fingers-crossed:
FAQ
Q: Is that procedure ROM update safe? / What if xiaomi.eu releases an ROM update or my ROM has to be reinstalled?
A: When Xiaomi.eu releases an update you have to flash that script right afterwards that update in your favorite recovery. - No further actions should be needed. This procedure has to be repeated for every ROM update or reinstall.
Procedure is verified as working with update 9.5.9 up to 9.6.27Q: Does TWRP recovery work also?
A: There is feedback that TWRP 3.3.0-0 does not work as intended (THX @mguz on post 11 for the feedback)
Maybe TWRP 3.3.1-0 that was released short ago solves that problem ...
How to update later?
cineq said:
How to update later?
Click to expand...
Click to collapse
... hmm sorry did not get what you like to do - could you please describe in detail what you mean/like to achieve?
When there will be next build of xiaomi.eu what is the procedure to update it? Just install new in recovery without any wipes? Is force-encryption script needed when updating?
cineq said:
When there will be next build of xiaomi.eu what is the procedure to update it? Just install new in recovery without any wipes? Is force-encryption script needed when updating?
Click to expand...
Click to collapse
When Xiaomi.eu releases an update you have to flash that script right afterwards that update in your favorite recovery.
No further actions should be needed.
Thanks for the hint - will update the guide with that question/answer
raupe said:
When Xiaomi.eu releases an update you have to flash that script right afterwards that update in your favorite recovery.
No further actions should be needed.
Thanks for the hint - will update the guide with that question/answer
Click to expand...
Click to collapse
Procedure is verified as working with update 9.5.9 -> 9.5.16
raupe said:
(short) Tutorial in getting your Xiaomi Mi MIX2 encrypted with latest Android 9 (Pie) ROM released by xiaomi.eu (and propably also with the beta ROMs released by Xiaomi/miui.com)
@raupe
VERY good work.
Very useful for people having security concern when using a TWRP.
My comments:
-This procedure is valid with any latest 3.3. TWRP version that can decrypt now. (?)
- This is applicable to all XIAOMI phone under PIE. (Fstab must be exchanged in the zip tool in order to fit with the phone model)
- NOTE :
Up to now (bug has been reported) it is to be mentioned that encrypting EU rom via setting/privacy/encrypt leads direct to PHONE RESET and FORMAT DATA required.
Regards
Click to expand...
Click to collapse
Hi,
- download force-enryption script for Mi MIX2 Android Pie
- download NO enryption restore script for Mi MIX2 Android Pie
both links are down, re-upload possible ?
EDIT: Links are working now
Help out a noob. Why would one need to have phone encrypted? Whats the purpose of encryption?
I'd like to update to 9.5.x Xiaomi.eu Pie but hear complaints of GCam, SuperSU, FindDevice, fingerprint, etc not working. Would encryption help these issues?
stoshie said:
Help out a noob. Why would one need to have phone encrypted? Whats the purpose of encryption?
I'd like to update to 9.5.x Xiaomi.eu Pie but hear complaints of GCam, SuperSU, FindDevice, fingerprint, etc not working. Would encryption help these issues?
Click to expand...
Click to collapse
Its not about encr. Problems.Pie uses vendor for most stuff now and for gcam is needed additional line in build prop to make it work.magisk 19 can root it without problems
Hi,
thank you for this helpful tutorial.
First time I tried with TWRP 3.3.1-0 and it did not work (Bootloop).
With OrangeFox Recovery it works as described.
Regards
On official TWRP-3.3.1-1 works as intended, thanks!
Guys I successfully installed HAVOC-OS located https://forum.xda-developers.com/project-treble/trebleenabled-device-development/gsi-havoc-os-t3930030. The steps I followed are mentioned below
1. Wipe everything except internal storage.
2. Flashed BRK3 Vendor https://mega.nz/#F!wFFQUYbI!GZvNOBSn1wVn8U9mQDzBiw!IQsjlYzA
2. Installed Endurance GSI kernel https://forum.xda-developers.com/galaxy-s9/samsung-galaxy-s9--s9-cross-device-development/kernel-endurance-kernel-v1-0-t3849434
3. Flashed the system image for ARM 64 A only
4. Boot system
5. Reboot to recovery and Flashed Mgisk
6. Gapps will fail to install at first. Just goto wipe -> Adv wipe -> system partition -> Resize. Reboot to recovery and flash Gapps
7. Reboot and enjoy
8. You can test other GSI Roms also and report. The thread is located at https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Thanks buddy. I was looking for the ways to run the GSI. And the method works. Good job
thanks for the guide! im still on an unrooted s9, but if everything works ill definetly make the jump. Can you tell us more about stability, bugs and if there are things not working
So after testing the ROM for 2 days I can say that
1. It is very stable and can be used as a daily driver
2. Everything works, I am not sure about Bluetooth audio though, haven't checked it
3. It can be heavily customized. Unlike LOS, where we have only few of these features available
4. Battery life is the best I got using any other ROM out there (check the screens below). and I am the guy who gets 3 hrs of SOT, when others claimed 5+ hrs on the same ROM.
5. Security patch is latest even as compared to the TW ROMs
6. Regarding camera... Its the same as LOS pie. Use gcam by idan 3.5 fixed and you are good to go.
fingerprint working?
andreMusers said:
fingerprint working?
Click to expand...
Click to collapse
Yes it is
Thanks for trying this out. I'm only a few months in with my exynos S9 on android pie, so I haven't yet learned the details about rooting/recovery for this phone.
I'll wait for your next update regarding daily use, and would love a more detailed step-by-step for installation if that's not too much trouble. I'm honestly loving those screenshots.
How about IMEI, BRK3 Vendor safe..?
Ok here is the detailed tutorial on how to install a GSI rom
1. First you need to wipe everything in TWRP. Just like you do, when you clean flash any rom
2. Than install the BRK3 vendor. Link is provided by the OP. It's a flashable zip file so just flash it like any other zip.
3. Flash the Endurance GSI kernel. Link is in the OP.
4. Next, download the GSI rom from the link in the OP. Remember to download the ARM 64 A-only variant.
5. Extract the files and you should get a . Img file. Copy that in the SD card
6. In the TWRP, goto install. Select flash image from the bottom right corner of your screen. Now browse the image file, that you copied and choose system image and install.
7. Boot to the system and than boot back to the recovery.
8. Now flash the magisk
9. If you try to install gapps, it will give an error regarding space. So just goto wipe -> advance wipe > system repartition > resize
After resize, you will be able to install gapps.
Flash gapps, automatic brightness fix ( link in the rom thread), AOD fix ( link in the rom thread) and reboot.
burninitup said:
Ok here is the detailed tutorial on how to install a GSI rom
1. First you need to wipe everything in TWRP. Just like you do, when you clean flash any rom
2. Than install the BRK3 vendor. Link is provided by the OP. It's a flashable zip file so just flash it like any other zip.
3. Flash the Endurance GSI kernel. Link is in the OP.
4. Next, download the GSI rom from the link in the OP. Remember to download the ARM 64 A-only variant.
5. Extract the files and you should get a . Img file. Copy that in the SD card
6. In the TWRP, goto install. Select flash image from the bottom right corner of your screen. Now browse the image file, that you copied and choose system image and install.
7. Boot to the system and than boot back to the recovery.
8. Now flash the magisk
9. If you try to install gapps, it will give an error regarding space. So just goto wipe -> advance wipe > system repartition > resize
After resize, you will be able to install gapps.
Flash gapps, automatic brightness fix ( link in the rom thread), AOD fix ( link in the rom thread) and reboot.
Click to expand...
Click to collapse
Thanks for the extra instruction man, will test this out soon.
burninitup said:
Ok here is the detailed tutorial on how to install a GSI rom
1. First you need to wipe everything in TWRP. Just like you do, when you clean flash any rom
2. Than install the BRK3 vendor. Link is provided by the OP. It's a flashable zip file so just flash it like any other zip.
3. Flash the Endurance GSI kernel. Link is in the OP.
4. Next, download the GSI rom from the link in the OP. Remember to download the ARM 64 A-only variant.
5. Extract the files and you should get a . Img file. Copy that in the SD card
6. In the TWRP, goto install. Select flash image from the bottom right corner of your screen. Now browse the image file, that you copied and choose system image and install.
7. Boot to the system and than boot back to the recovery.
8. Now flash the magisk
9. If you try to install gapps, it will give an error regarding space. So just goto wipe -> advance wipe > system repartition > resize
After resize, you will be able to install gapps.
Flash gapps, automatic brightness fix ( link in the rom thread), AOD fix ( link in the rom thread) and reboot.
Click to expand...
Click to collapse
Doesn't work. Stuck on boot logo, loading forever.
Zwulf said:
Doesn't work. Stuck on boot logo, loading forever.
Click to expand...
Click to collapse
me too dont know any fix
EDIT: Somehow i managed to boot the rom but sim won't get detected
Double tap and AOD - work correctly? On snap it does not work well
My Baseband version is now unknown
I have an SM-G960F and its german
EDIT:I just flashed the latest firmware from soldier and now sim card gets detected
Masterofchicken said:
My Baseband version is now unknown
I have an SM-G960F and its german
EDIT:I just flashed the latest firmware from soldier and now sim card gets detected
Click to expand...
Click to collapse
So camera isn't working ,root is still present with magisk and i couldn't disable it with the adb command so safetynet doesn't pass ,i'll say it's not really usable ?
Has anyone found a fix for getting stuck at the s9 logo?..wanting to move to GSI ROMs
I have tried this,
After flash GSI rom, reboot recovery, reboot system and I have bootloop with the first logo Galaxy S9. Can anybody please help me?
@arunrawat2112
Finally I was able to flash some roms but none of them work properly. Can you please help me?