• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Guide] Install Lineage OS 17 and AOSiP (Android 10) GSI on Mi Max3

Search This thread

stonesolouk

Senior Member
May 29, 2010
236
60
** Post updated on 01/10/19 to include AOSiP GSI **

After trying out a lot of Android 10 GSIs, I have managed to get Lineage OS 17 and AOSiP GSI builds by Erfan to run on Mi Max 3. Thanks to the Dev erfanoabdi and his team who have worked on these.
On Mi Max 3 they are very smooth when they are working. However, certain apps can trigger freezing episodes or forced reboots. AOSiP seems smoother and more stable for now. Both are almost stock with no customization. Over all they are still buggy, just usable, and not reliable.
I am not a developer! Try at your own risk!!

** PLEASE NOTE: You would need to be on one of the AOSP- or LOS-based custom Pie Roms with firmware version 9.9.3 (as base) before flashing this rom. Havoc and AEX have been confirmed to work**

Here are the steps

What you would need:
1. GSI Android 10 Rom:
a. Lineage 17 GSI by Erfan: lineage-17.0-Aonly-10-20190909-ErfanGSI.img.7z
b. AOSiP
2. Permissiver_v4.zip
3. FixZygote_v2.zip
4.open_gapps-arm64-10.0-nano-20190920-UNOFFICIAL.zip
5. Magisk 19.4
6. Any file extractor app. I used ZArchiver from Play store.

Installation Steps.:
1. Extract system image from Android 10 GSI zipped file using app of your choice (ZArchiver in my case)
2. Boot into your recovery (I used Nijel's TWRP 3.2.3-3 and 3.2.3-4)
3. Back up your current ROM
4. Wipe data, system, art/davlik and cache
5. Tap install. Then tap ''Image''. Then select the (extracted) Lineage-17 system image, then tap System. Swipe to install.
6. Install Permissiver_v4 zip file.
7. Install FixZygote_V2 zip file
8. Install Magisk 19.4 zip file.
9. Boot into system. Tap ''OK'' on the screen pop up.
10. Reboot into TWRP.
11. Install OpenGaps.
13. Reboot system and set up your phone.
14. Reboot phone and start using.

What works
1. Mobile data, Wifi and bluetooth
2. Phone calls and messaging including dual sim
3. Playstore
4. Rooting with Magisk
5. Finger print reader
6. Gestures are amazing. Dark mode great!

Bugs
1. Stock camera and torch light do not work.
2. Slider does not control brightness
3. Chrome browser freezes. . Firefox and Via browser running smoothly.
4. Camera and video apps force-close or cause random reboots
 

Attachments

  • thumbnail1.jpg
    thumbnail1.jpg
    94.6 KB · Views: 2,547
  • thumbnail2.jpg
    thumbnail2.jpg
    84.1 KB · Views: 2,529
  • thumbnail3.jpg
    thumbnail3.jpg
    102.6 KB · Views: 2,419
  • thumbnail4.jpg
    thumbnail4.jpg
    133.8 KB · Views: 2,243
  • thumbnail5.jpg
    thumbnail5.jpg
    130.8 KB · Views: 2,263
  • thumbnail6.jpg
    thumbnail6.jpg
    116.4 KB · Views: 2,345
Last edited:

stonesolouk

Senior Member
May 29, 2010
236
60
Where are the links to the packages and why you install two different gapps (Bitgapps&Opengapps)???

There are no links to the packages as I wasn't certain of the XDA rules on links to other websites. Just google them and they are easy to find.

I tried just open gapps or just BitGaps and didn't work. Flashing BitGaps first appeared to point the Open Gapps to the right partition, and that worked.
 

stonesolouk

Senior Member
May 29, 2010
236
60
Thanks for posting but very confusing without links. I know what mean about the rules but you can link the page for the GSI not the download etc

I understand.
Thanks to the Nesh Patel at Tweakguy for the links.
My thanks to the devs who have worked on these.

Here are the links:
For Lineage GSI: https://github.com/resk84/releases/...ineage-17.0-Aonly-10-20190909-ErfanGSI.img.7z

For permissive: https://androidfilehost.com/?fid=600693192411788649

For bitzygote:
https://androidfilehost.com/?fid=1395089523397961748
 
  • Like
Reactions: shingers5

stonesolouk

Senior Member
May 29, 2010
236
60
This won't boot on global mix max 3 boot loop with both Nigel mod and orangefox recoveries. No work for global 4gb 64gb ROM model

I was on the latest Havoc Rom for Mi Max 3. Also my hardware is 6GB 128GB.
I tried a lot of the Android 10 GSIs and this was the only one that booted. The sequence has to be exactly same as in my post to boot.
Also, I don't know if it may have to do with your vendor. I didn't wipe and then flash the device-specific vendor firmware as suggested in some GSI how-to's.
 

shingers5

Recognized Contributor
Yes Havoc Pie Rom. I wiped davlik/art, system, data and cache only. Then proceeded exactly as outlined in my post. I have just flashed the LOS 17 again with my steps and it boots.

first attempt
i had derpfest AOSIP so i flashed LOS 17 over that with no wipe then the permissive and fix zip and it booted with errors. gestures for home works but edges dont. also kept fail on system etc
2nd attempt
flashed derpfest AOSIP then reboot
back to recovery then wipe as you did flash LOS17 then permissive and fix zips then reboot. boots up but same as before home gesture works and dark mode etc but edges don't. the bitgapps dont flash and open gapps nano causes bootloop on its own
3rd attempt gonna try with firmware 9.9.3 and flash without wipe vendor like the old days to see what happens
 
  • Like
Reactions: stonesolouk

stonesolouk

Senior Member
May 29, 2010
236
60
Got it good as I can for now
Flashed and booted AEX 6.7
Back to recovery and wiped as you say and not vendor
Flashed LOS 17 image then permissive and fix zips and magisk
Reboot
Didn't need flash 2 gapps just open gapps nano and reboot
Seems good apart from obvious

Brightness doesn't work
Camera
Battery drain very high

That's great. It settles down after a few more boots. I will update my post with your findings.
Brightness and all edge gestures work for me though.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    ** Post updated on 01/10/19 to include AOSiP GSI **

    After trying out a lot of Android 10 GSIs, I have managed to get Lineage OS 17 and AOSiP GSI builds by Erfan to run on Mi Max 3. Thanks to the Dev erfanoabdi and his team who have worked on these.
    On Mi Max 3 they are very smooth when they are working. However, certain apps can trigger freezing episodes or forced reboots. AOSiP seems smoother and more stable for now. Both are almost stock with no customization. Over all they are still buggy, just usable, and not reliable.
    I am not a developer! Try at your own risk!!

    ** PLEASE NOTE: You would need to be on one of the AOSP- or LOS-based custom Pie Roms with firmware version 9.9.3 (as base) before flashing this rom. Havoc and AEX have been confirmed to work**

    Here are the steps

    What you would need:
    1. GSI Android 10 Rom:
    a. Lineage 17 GSI by Erfan: lineage-17.0-Aonly-10-20190909-ErfanGSI.img.7z
    b. AOSiP
    2. Permissiver_v4.zip
    3. FixZygote_v2.zip
    4.open_gapps-arm64-10.0-nano-20190920-UNOFFICIAL.zip
    5. Magisk 19.4
    6. Any file extractor app. I used ZArchiver from Play store.

    Installation Steps.:
    1. Extract system image from Android 10 GSI zipped file using app of your choice (ZArchiver in my case)
    2. Boot into your recovery (I used Nijel's TWRP 3.2.3-3 and 3.2.3-4)
    3. Back up your current ROM
    4. Wipe data, system, art/davlik and cache
    5. Tap install. Then tap ''Image''. Then select the (extracted) Lineage-17 system image, then tap System. Swipe to install.
    6. Install Permissiver_v4 zip file.
    7. Install FixZygote_V2 zip file
    8. Install Magisk 19.4 zip file.
    9. Boot into system. Tap ''OK'' on the screen pop up.
    10. Reboot into TWRP.
    11. Install OpenGaps.
    13. Reboot system and set up your phone.
    14. Reboot phone and start using.

    What works
    1. Mobile data, Wifi and bluetooth
    2. Phone calls and messaging including dual sim
    3. Playstore
    4. Rooting with Magisk
    5. Finger print reader
    6. Gestures are amazing. Dark mode great!

    Bugs
    1. Stock camera and torch light do not work.
    2. Slider does not control brightness
    3. Chrome browser freezes. . Firefox and Via browser running smoothly.
    4. Camera and video apps force-close or cause random reboots
    2
    Got AOSIP working OK
    No camera
    Brightness slider not work
    Signal bars not accurate
    Need better gapps as cause system error
    1
    Thanks for posting but very confusing without links. I know what mean about the rules but you can link the page for the GSI not the download etc

    I understand.
    Thanks to the Nesh Patel at Tweakguy for the links.
    My thanks to the devs who have worked on these.

    Here are the links:
    For Lineage GSI: https://github.com/resk84/releases/...ineage-17.0-Aonly-10-20190909-ErfanGSI.img.7z

    For permissive: https://androidfilehost.com/?fid=600693192411788649

    For bitzygote:
    https://androidfilehost.com/?fid=1395089523397961748
    1
    Yes Havoc Pie Rom. I wiped davlik/art, system, data and cache only. Then proceeded exactly as outlined in my post. I have just flashed the LOS 17 again with my steps and it boots.

    first attempt
    i had derpfest AOSIP so i flashed LOS 17 over that with no wipe then the permissive and fix zip and it booted with errors. gestures for home works but edges dont. also kept fail on system etc
    2nd attempt
    flashed derpfest AOSIP then reboot
    back to recovery then wipe as you did flash LOS17 then permissive and fix zips then reboot. boots up but same as before home gesture works and dark mode etc but edges don't. the bitgapps dont flash and open gapps nano causes bootloop on its own
    3rd attempt gonna try with firmware 9.9.3 and flash without wipe vendor like the old days to see what happens