[Guide] Install Lineage OS 17 and AOSiP (Android 10) GSI on Mi Max3 - Xiaomi Mi Max 3 Guides, News, & Discussion

** 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

Where are the links to the packages and why you install two different gapps (Bitgapps&Opengapps)???

L_e_x_t_e_r said:
Where are the links to the packages and why you install two different gapps (Bitgapps&Opengapps)???
Click to expand...
Click to collapse
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.

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

shingers5 said:
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
Click to expand...
Click to collapse
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

Permissive link not working

shingers5 said:
Permissive link not working
Click to expand...
Click to collapse
Missed one digit at the end.
Permissiver link:
https://androidfilehost.com/?fid=6006931924117886495

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

shingers5 said:
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
Click to expand...
Click to collapse
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.

So you were on an android pie ROM and flashed android 10 over it without wipe? I was on miui 11 before flash on global device

shingers5 said:
So you were on an android pie ROM and flashed android 10 over it without wipe? I was on miui 11 before flash on global device
Click to expand...
Click to collapse
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.

stonesolouk said:
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.
Click to expand...
Click to collapse
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

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

shingers5 said:
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
Click to expand...
Click to collapse
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.

stonesolouk said:
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.
OK cool. Hopefully someone can get it working fully or at least stable enough for daily use
Click to expand...
Click to collapse

And what about the AOSIP-Aonly-10-20190924-ErfanGSI.7z? Do I flatten the Lineage-17.0-Aonly-10-20190909-ErfanGSI.img or do I have to decide between one of them?
Does not herfor from the instructions

rudiratlos57 said:
And what about the AOSIP-Aonly-10-20190924-ErfanGSI.7z? Do I flatten the Lineage-17.0-Aonly-10-20190909-ErfanGSI.img or do I have to decide between one of them?
Does not herfor from the instructions
Click to expand...
Click to collapse
Yes it is one or the other.
You could try each one separately, then decide the one you prefer. AOSiP seems more fluid and stable.

Thank you for your prompt reply

What's the report on AOSIP as I haven't tried it yet. Wish someone would take the gsi and get it stable

shingers5 said:
What's the report on AOSIP as I haven't tried it yet. Wish someone would take the gsi and get it stable
Click to expand...
Click to collapse
It is smoother and more stable compared to LOS 17 but brightness slider and camera still don't work.

Related

[GUIDE][addison][8.x] Magisk / full SafetyNet for 8.x ROMs (see link for soaks and 8.

All credit goes to @mijing
grab universal-safetynet-fix-v2-beta-5-magisk-v14.zip from
https://androidfilehost.com/?fid=673368273298984533
Clean flash your ROM as normal (I used Alberto's AOSP 8.1 13-3-18 to test):
Advanced Wipe the usual 4: Dalvik/ART, system, data, cache .
Flash ROM
Flash appropriate gapps (for this it was opengapps 8.1 arm64 nano)
Boot to install to desktop.
->>> wait a minute or 2 for google to update
Reboot to recovery
Flash latest Magisk (1620) (this was tested with 1600).
Boot to desktop (I have to boot to desktop twice before the Magisk manager icon appears - go figure!!!)
Boot back to Recovery.
Flash the old Magisk from above (v2 beta5).
Boot back to desktop and check Magisk Manager /settings /modules and you should see the old one now sitting in modules!
You are now rooted and fully safteynet'ed.
EDIT - for soaks and folks testing 8.x stock and or signed ROMs see this for magisk-izing an 8.x stock ROM
Thanks! @rafikowy
https://forum.xda-developers.com/moto-z-play/how-to/guide-how-to-magisk-root-xposed-oreo-8-t3743273
All credit goes to @mijing - I just copied @mijing 's work.
I won't expected like this from you . thank you for create this Guide
mijing said:
I won't expected like this from you . thank you for create this Guide
Click to expand...
Click to collapse
Totally thanks to you and your patience explaining it to me. I knew nothing of Magisk Modules. Now thanks to you I know a bit!!! Thanks!!!
fixed for 8.x bootloaders - see OP above.

PSA - DotOS 8.1 for Huawei Hi6250 devices works flawlessly

I was about to give up and go back to stock but lo and behold I got ahold of a link to a really nice GSI for our Honor 7x devices, and any other device with the Hi6250 chipset. It has worked flawlessly on my BND-L24 and doesn't give me weird uncertified device and internal storage errors like the treble GSI found in the treble ROM forums.
Download link (2nd time just in case) - https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-dotos-8-1-huawei-hi6250-t3793970
Open GApps (I use Pico) - https://opengapps.org
Treble GSIs (Why not) - https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Latest Magisk (Beta for fixed bugs and whatnot) - https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
Installation instructions -
crayonicle said:
I assume you have this TWRP installed, if not, install it: TWRP
Alright, let's install.
1. Boot into TWRP
2. Go to wipe - advanced wipe
3. Wipe all but SD card
3. Then go back to wipe.
4. There is an option next to advanced wipe, forgot what it was. (I think it was "Format Data")
5. Tap that option and type "yes"
6. Reboot back into TWRP
7. Flash the ROM and flash Open GApps right after flashing the ROM (I used Pico Open GApps)
8. Do a factory reset, wipe Cache, Dalvik / ART cache, and Data in advanced wipe just to be sure.
9. Reboot
Click to expand...
Click to collapse
EDIT: I'm no longer on this ROM so if there are bugs and you want me to reproduce them, I can not help you. Sorry, I need a more stable ROM for our Honor 7x's than this one. Thanks for understanding.
It's not the best idea to wipe with TWRP. It's better to do it with stock recovery or manually with fastboot.
Hi !
Does it work on BND-L21C432 ? What are the steps to install the rom ? Does it have to be EMUI 8.0 ?
Thank you for your work on this rom!
flashing this i hope the battery sot is good
Thanks for pointing this Rom out crayonicle, just flashed it and it's freaking great!!
jmoss1972 said:
Thanks for pointing this Rom out crayonicle, just flashed it and it's freaking great!!
Click to expand...
Click to collapse
Well until i flashed magisk and now all i get after flashing the rom is stock recovery
imHadees said:
It's not the best idea to wipe with TWRP. It's better to do it with stock recovery or manually with fastboot.
Click to expand...
Click to collapse
Yeah, you're right, I could end up messing up partitions and whatnot...
But I'm known for being careless ¯\_(ツ)_/¯
DaRkLinK_35 said:
Hi !
Does it work on BND-L21C432 ? What are the steps to install the rom ? Does it have to be EMUI 8.0 ?
Thank you for your work on this rom!
Click to expand...
Click to collapse
Yes, this ROM will run on your device!
Well, I didn't make this ROM at all, I'm just here to share it...
I already showed you the steps, read the original post!
You must be on EMUI 8 or you will brick your device!
jmoss1972 said:
Well until i flashed magisk and now all i get after flashing the rom is stock recovery
Click to expand...
Click to collapse
Did you flash the latest Magisk Beta?
Usually that is the one that works, or you can find a treble-compatible version of Magisk to flash.
crayonicle said:
Did you flash the latest Magisk Beta?
Usually that is the one that works, or you can find a treble-compatible version of Magisk to flash.
Click to expand...
Click to collapse
Yes I flashed the 16.4, not sure what happened. I can get into twrp, tried wiping and flashing the DotOs image again but all it does is boot into Huawei recovery. When I get home I will try downloading the stock firmware from the MT website and if I can get it to boot up Ill try flashing DotOs again.
jmoss1972 said:
Yes I flashed the 16.4, not sure what happened. I can get into twrp, tried wiping and flashing the DotOs image again but all it does is boot into Huawei recovery. When I get home I will try downloading the stock firmware from the MT website and if I can get it to boot up Ill try flashing DotOs again.
Click to expand...
Click to collapse
Hmmmm... I flashed Magisk fine here...
Hope you get it working again :good:
crayonicle said:
Hmmmm... I flashed Magisk fine here...
Hope you get it working again :good:
Click to expand...
Click to collapse
How's it compared to lineage 15.1? How's battery life? Post few screenshots and check whether substratum works or not? TIA
Tried flashing gapps linked and get an error about gapps isnt compatible. Tried flashing 8.0, 8.1 and 7.1.2 gapps and none work.
Hell yeah got the phone operational again, time to get back to flashing.
Username.php said:
How's it compared to lineage 15.1? How's battery life? Post few screenshots and check whether substratum works or not? TIA
Click to expand...
Click to collapse
More features than Lineage and the SOT seems to be higher
Substratum only works with Magisk or other root installed
Screenshots: Google Drive link
tlxxxsracer said:
Tried flashing gapps linked and get an error about gapps isnt compatible. Tried flashing 8.0, 8.1 and 7.1.2 gapps and none work.
Click to expand...
Click to collapse
Most likely there is something wrong with what you're using to flash the GApps, like the SD card, USB OTG, etc. Try switching it out.
But before doing all that, first flash the ROM, and then reboot again into TWRP and try flashing it if that makes a difference. Make sure you're flashing the ROM like the original post says.
crayonicle said:
Most likely there is something wrong with what you're using to flash the GApps, like the SD card, USB OTG, etc. Try switching it out.
But before doing all that, first flash the ROM, and then reboot again into TWRP and try flashing it if that makes a difference. Make sure you're flashing the ROM like the original post says.
Click to expand...
Click to collapse
Trust me, I am. ROM boots up fine though.
crayonicle said:
Hmmmm... I flashed Magisk fine here...
Hope you get it working again :good:
Click to expand...
Click to collapse
It was there all along, I'm a moron. It was in the settings menu.
crayonicle said:
I was about to give up and go back to stock but lo and behold I got ahold of a link to a really nice GSI for our Honor 7x devices, and any other device with the Hi6250 chipset. It has worked flawlessly on my BND-L24 and doesn't bootloop like the treble GSI found in the treble ROM forums.
Download link (2nd time just in case) - https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-dotos-8-1-huawei-hi6250-t3793970
Open GApps (I use Pico) - https://opengapps.org
Treble GSIs (Why not) - https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Latest Magisk (Beta for fixed bugs and whatnot) - https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
Installation instructions -
Click to expand...
Click to collapse
That's great! Definitely giving this one a try
I recommend it, working great for me as well.
Is it just me or does the inbuilt UI tweaker not work? I can change the accents but not the settings and quicksettings background

[ROM-sGSI] [ZUI 10.0]/[ZUI 5.0] From Z5 FOR Z2 Plus [Oreo]

What is this?
- sGSI of ZUI 10.0/ 5.0 from Lenovo Z5pro/Z5, based on Android 8.1.0, June 1,2018 security patch.
Since this was requested in some comments, I flashed it and found working for our device flawlessly, with some bugs.
Features?
-All features of ZUI 4 + Soft Charge, gestures, multi space ( dual apps ) etc. Split Screen is also available.
How to flash?
ZUI 10 :
1. Download the flashable zip from the links.
2. Boot to twrp, and wipe dalvik, cache, data, system and vendor.
3. Flash the zip.
4. Reboot.
ZUI 5:
Method 1 : (Recommended)
- 1. Download any treble based 8.1.x rom and ZUI5.0-sGSI.zip (link below).
[Please use MIUI 10 8.11.1 by Narshi Shukla as base ROM, as it seems it's Vendor is most compatible.]
2. Extract the zip in your storage. You will get three files ( two flashable zips and one folder "sGSI.....". [Folder name might differ, there will be only one folder, so no worries])
3. Boot into recovery and take a backup.
4. Clean flash treble based Oreo ROM that you downloaded.
5. From your twrp, use file manager to move " sGSI...." folder to backup folder of Twrp.
6. Mount system and vendor and wipe cache/delvik, data and system.
( Don't wipe firmware and Vendor )
7. Goto restore in your twrp and restore the system from "sGSI....." folder.
8. Flash the remaining two zips.
9. Flash magisk if needed.
10. Wipe cache/delvik and reboot. Done.
Method 2 : https://forum.xda-developers.com/showpost.php?p=78389810&postcount=320
(You need treble based twrp, search if you don't already have).
After following all these steps, if your phone is stuck in Lenovo powered by android screen for long, then force reboot the phone and it will boot up to system.
What works?
-Here:
Call,SMS, VOLTE, Data, play store, Utouch, Fingerprint , Navigation, Double touch to wake, GCAM, Face Unlock, Hotspot, Banking apps, nearly everything.
What doesn't work?
- ROM specific. Bugs depend upon the treble ROM that you used as base. In some ROM, system sounds does not work. In MiUI 10, video recording might not work. Game Mode has some issues with global apps.
*FOR VIDEO RECORDING - see this : https://forum.xda-developers.com/showpost.php?p=78219358&postcount=93 ****
*Update GPU drivers for VULKAN support. Link in the links section.***
Performance?
- Better than ZUI 4, smooth as butter, no stutter playing games like PUBG, notifications on time, decent SOT.
Can it be used as daily driver?
- Yes, if you can live with some Chinese texts in certain apps.
Any other thing?
- Because the ROM is ported from Z5 which has a notch, total area of the notification bar cannot be used. To see things like real time network speed and battery "percentage" you have to pull down the notification bar.
What should I do first after booting the device?
- Install play store from App center. Install magisk to remove bloat wares. Install any music app, since there is none. This will make the system optimal for us.
Also, Turn "True Full Screen Mode" ON in display settings for full screen in Apps.
Install Magisk and download and install "SafteyPatch V2" within Magisk to pass safetynet and hide banking apps in magisk hide to use them.
Open security app and give all important permissions to the apps you use, including system apps. Also include them in autorun/whitelist section.
Links?
-Here
ZUI 10
https://drive.google.com/open?id=17lyWnAl0Kjkv5S89wdtw7HglF2072zP5
ZUI 5
Mega link :
https://mega.nz/#!FyxSiI7Y!iZmmVufR6pipX3mwv_-I3HqI714YAMJN1a2zIysinmc
Gdrive link:
https://drive.google.com/open?id=1F_Ou6x2bj26hhdffw45uo4r9qlJuaDb5
MiUi 10 8.11.1 Narshi Shukla - Full Rom
https://androidfilehost.com/?fid=11410932744536996684
MIUI 10 8.11.1 Narshi Shukla - Vendor for twrp recovery: @(THIS VENDOR isnt compatible with all roms, if facing random reboots, use the complete MIUI 10 ROM for the Gsi)
https://drive.google.com/drive/u/0/folders/15QHEUfLMagMV9jZTmlUHa4hkhkNTF-RC
Working GCAM link :
https://www.celsoazevedo.com/files/android/google-camera/f/MGC_6.1.021_FINAL_V1a_A8.1+.apk
VULKAN enabled open GL 3.2 driver link :
https://drive.google.com/folderview?id=11_atz5CDK9bHG4K_ME2LSRFFnxxKqWw2
Credits:
Not my work, I am just sharing it since I found it working.
All credits goes to this Xiaomi thread and bugrevealingbme.
https://*************/threads/zui-5-0-a-only-treble-rom.226/
******************************** FLASHING ISSUE ******************
While flashing this ROM, try to follow the guide above as strictly as possible. Use the ROM that is recommended.
If you are facing bootloop, download the vendor that is provided and restore it in twrp and then flash patch 1 and 2.
Also remember, during each and every step, your TWRP should have system and Vendor mounted. Check after every step.
Your phone might reboot once or twice during first boot, which is not an issue.
How to know if you flashed it correctly?
-If your phone boots into the system with "Lenovo bootanimation" , you flashed it correctly.
If your phone is stuck in "Lenovo - powered by android" splash image for more than 5 minutes, you got something wrong.
*********************************************************************
Screenshots attached :
what about gcam nd notification bug? and one more doubt, can we flash it over treble pie ROM?
I have one question. If i install a sgsi rom can i back to trenle, non-treble rom just with a simple flash method?
muujeeb said:
what about gcam nd notification bug? and one more doubt, can we flash it over treble pie ROM?
Click to expand...
Click to collapse
gcamera is working on redmi note 5 pro. should work also here.
muujeeb said:
what about gcam nd notification bug? and one more doubt, can we flash it over treble pie ROM?
Click to expand...
Click to collapse
GCAM is working.
Notification bug is not there. Only sometimes, it seems that we get late notification.
You have to flash it over Oreo because the GSI is Oreo based. Flashing over pie should work as well, since treble ROM is required. Take a backup of your system so you can restore easily, if you face any issue.
nonamesry said:
I have one question. If i install a sgsi rom can i back to trenle, non-treble rom just with a simple flash method?
Click to expand...
Click to collapse
Yes, you can get back to the ROM you want with simple flash, no problem.
Custom kernel flashable?
ashwinonm said:
Custom kernel flashable?
Click to expand...
Click to collapse
Haven't tested, but should be flashable.
Edit : Custom kernel might brick the device. Will test and update.
Donot flash custom kernel, it causes self restart of device.
Note: Moxie kernels can be flashed, you should flash patch2 after flashing kernels. But, MIUI 10 comes with moxie R5.1 so no use flashing Moxie again.
link not working
Wow it's so beautiful!
I used Arrow OS 8.1 but it got stuck in bootloop and does'nt boot at all.. I followed all the steps accordingly but it did not boot up even after i kept my phone overnight to let it boot. I don't know where i did wrong.
muujeeb said:
I used Arrow OS 8.1 but it got stuck in bootloop and does'nt boot at all.. I followed all the steps accordingly but it did not boot up even after i kept my phone overnight to let it boot. I don't know where i did wrong.
Click to expand...
Click to collapse
Use MIUI 10 port of Narshi Shukla latest build. It works.
May be Arrow OS cannot be used.
You can also try using Vendor of MIUI 10 once. Restore this vendor and the system image of ZUI.
Here is the vendor:
https://drive.google.com/drive/mobile/folders/15QHEUfLMagMV9jZTmlUHa4hkhkNTF-RC?usp=drive_open
kany1 said:
link not working
Click to expand...
Click to collapse
Link is working fine.
jebish7 said:
Link is working fine.
Click to expand...
Click to collapse
yes it is working with mega app
I used crdroid 8.1 and got stuck in bootloop. then I try restored the vendor but could not flash the patch 2
---------- Post added at 01:19 PM ---------- Previous post was at 01:13 PM ----------
ok i try to flash it again and boot successflly
marclevine said:
I used crdroid 8.1 and got stuck in bootloop. then I try restored the vendor but could not flash the patch 2
Click to expand...
Click to collapse
I think only MIUI 10 rom works flawlessly for this GSI. I will update the main page details and ask to use MIUI 10 only.
You couldnot flash patch 2 because it requires vendor, and may be your vendor is now messed up.
So use MIUI 10 port, it works without any issue.
marclevine said:
I used crdroid 8.1 and got stuck in bootloop. then I try restored the vendor but could not flash the patch 2
---------- Post added at 01:19 PM ---------- Previous post was at 01:13 PM ----------
ok i try to flash it again and boot successflly
Click to expand...
Click to collapse
Glad To hear.
So in whatever rom I am in Oreo , I can use that firmware if I use vendor only from your backup? And shouldn't wipe it?
ashwinonm said:
So in whatever rom I am in Oreo , I can use that firmware if I use vendor only from your backup? And shouldn't wipe it?
Click to expand...
Click to collapse
Well, that's how some people got this working, so yes, it's working that way as well. ( Your ROM should be treble based though )
I will attach the "Vendor" file in the main post as well, so other members can use it too.
custom kernel possible,mine running in moxie

[GUIDE] [TB-X606F] [Lenovo M10 Plus FHD] How to flash TWRP, Generic System Image (Android 11, Android 12), and Root with Magisk

Hi, I'm a long-time lurker on these forums but recently had some success flashing a GSI and rooting the Lenovo Tab M10 Plus (FHD) (X606F) with TWRP, and wanted to share my exact steps here. This device is awesome for the price point but unfortunately not popular enough to have many guides available. The tablet is Project Treble compatible and uses A/B roms (although it is not an A/B device in terms of OTA updates). You can use the Treble Info app to confirm that the devices uses an ARM64 A/B operating system. This was tested with the CAOS 11 GSI based on Android 11; it may work on other GSIs and other Android versions but I have not tested those (NOTE: user below confirms working on Android 12). I've written this guide at a bird's-eye-view meant for users familiar with flashing.
A couple useful notes before we begin:
- Hardware force off: hold down both volume buttons + power button
- Hardware boot into bootloader: while powered off, hold volume down + power button
- Hardware boot into recovery: hold down both volume buttons + power button
- While in fastboot mode, the command `fastboot reboot recovery` does not work for me on this device. You may have to hardware boot into recovery using the hardware steps above (power off completely then hardware boot). [This command may work for some people. It does not work for my device.]
Obviously, make sure your bootloader is unlocked before starting.
1. I used Ubuntu since Windows was having trouble recognizing the device in fastboot mode; linux drivers seem to be better developed for this particular device. I used `sudo apt install android-sdk` to get the drivers. Much easier than the nonsense that you have to do on Windows to get this device to work. Unfortunately, the Lenovo rescue app is available only for Windows, so you'll need access to Windows to gain access to vbmeta.img for installing TWRP (below).
2. Install TWRP following this guide: https://forum.xda-developers.com/t/...rp-3-5-x-for-lenovo-tab-m10-fhd-plus.4222887/. It is important that you follow all these steps. After flashing the recovery, you must reboot into recovery to ensure that TWRP permanently installs. If the `fastboot reboot recovery` command does not work for you, hold down the power button to power off the device, then hardware boot into TWRP by holding down both volume buttons + power button to boot into TWRP. If you do not perform this step, the device will boot normally and TWRP will be erased. After booting into TWRP, wipe -> format data.
3. In TWRP, flash CAOS 11 GSI: https://forum.xda-developers.com/t/official-aosp-r-mod-caos11.4265059/. You can try with other GSIs - it will probably work - but I've only tested this particular one, and can attest for the stability of CAOS 11 on this device. The image you'll want is named with -arm64-bgZ. If you use another GSI, make sure to use the A/B arm64 image. CAOS 11 has gapps included, so no need to flash here; if you use another GSI that does not have, you'll need to flash the appropriate gapps yourself. You can also opt for the non-gapps download if you don't want Google spying on you.
4. (Optional/No longer necessary) In TWRP, flash to disable dm-versity: https://zackptg5.com/android.php#disverfe.
5. (Optional - many GSIs come with root) In TWRP, flash standard Magisk.zip: https://github.com/topjohnwu/Magisk. I didn't need to use Magisk-Phh.
6. Reboot system.
7. You may or may not get errors from Google Play saying that the device is not certified. Follow these steps:
- Sign into Google account on device via settings
- Download and install the Get ID app: https://f-droid.org/en/packages/makeinfo.com.getid/
- Open the app and Copy Google Service Framework Key
- Go to https://www.google.com/android/uncertified/
- Sign in and paste the copied value to it, register
- Reboot (this actually took me a few tries to get working, I believe the key is to make sure you're signed into your Google account)
- Google Play should be working
Feel free to ask any questions here.
I got this working with the PHH android 12 pre-release version. So far everything seems to be working. There are a couple things I have to sort out still like it passes safetynet but some apps still don't show up in the play store.
dpn982 said:
I got this working with the PHH android 12 pre-release version. So far everything seems to be working. There are a couple things I have to sort out still like it passes safetynet but some apps still don't show up in the play store.
Click to expand...
Click to collapse
Good to know that Android 12 works. What apps aren't showing up for you? Maybe they are simply incompatible with Android 12.
shnioob said:
Good to know that Android 12 works. What apps aren't showing up for you? Maybe they are simply incompatible with Android 12.
Click to expand...
Click to collapse
Netflix is one, maybe Disney plus too. It could be that I just need to restart cause I haven't done that since I got safetynet passing. I was waiting for the bulk of the apps to restore first.
dpn982 said:
Netflix is one, maybe Disney plus too. It could be that I just need to restart cause I haven't done that since I got safetynet passing. I was waiting for the bulk of the apps to restore first.
Click to expand...
Click to collapse
I think this tablet has always had an issue with Netflix due to lack of DRM or something of that nature - I wasn't able to get Netflix on the stock version. Disney+ is probably the same issue.
If you have some free time, it would be great if you can outline your steps for getting safetynet to pass. I haven't bothered with it.
Nice thread. Here's some thoughts to help make this process simpler.
Following the numbering in the OP:
If you are using Windows, just make sure you have the latest OEM drivers from Mediatek (MTK).
after flashing TWRP and vbmeta, you can try fastboot reboot recovery to boot to twrp. I know the OP says it doesn't work, but it works on my TB-X606FA.
..and it's also a good idea to format data, especially if you're upgrading to a new OS level. This will delete everything on the data partition.
phhusson keeps a list of GSIs based on his work.
this step is now optional. TWRP (v3.6.0) has been patched to handle the A12 keymaster.
many GSIs come with root as standard. If yours does (or if you installed Magisk-Phh), then you can use the Magisk app as a root manager, but be aware that updating Magisk from inside the app might break the GSI.
-
some of the latest GSIs have fixed this issue and the integrated gapps should just work.
Yahoo Mike said:
Nice thread. Here's some thoughts to help make this process simpler.
Following the numbering in the OP:
If you are using Windows, just make sure you have the latest OEM drivers from Mediatek (MTK).
after flashing TWRP and vbmeta, you can try fastboot reboot recovery to boot to twrp. I know the OP says it doesn't work, but it works on my TB-X606FA.
..and it's also a good idea to format data, especially if you're upgrading to a new OS level. This will delete everything on the data partition.
phhusson keeps a list of GSIs based on his work.
this step is now optional. TWRP (v3.6.0) has been patched to handle the A12 keymaster.
many GSIs come with root as standard. If yours does (or if you installed Magisk-Phh), then you can use the Magisk app as a root manager, but be aware that updating Magisk from inside the app might break the GSI.
-
some of the latest GSIs have fixed this issue and the integrated gapps should just work.
Click to expand...
Click to collapse
Thanks!
By the way, about point number 7, which roms are like this? I have tried: Phhusson Android 12 latest version, PE 12 latest version and Lineage OS by AndyYan, all with gapps but I get the error
emilio666 said:
Thanks!
By the way, about point number 7, which roms are like this? I have tried: Phhusson Android 12 latest version, PE 12 latest version and Lineage OS by AndyYan, all with gapps but I get the error
Click to expand...
Click to collapse
NEVERMIND, it got solved by just waiting a couple of hours after using the Google website: https://www.google.com/android/uncertified/
Thanks a lot for this guide.
I just installed the latest Phh AOSP 12 GSI (system-squeak-arm64-ab-vndklite-gapps.img.xz) without problems by following your recommendations. I used the lastest twrp_X606FA_11. Flashing dm-verity or Magisk was not required for this GSI to work (it's already rooted). I did have to register my device to solve the "Google Uncertified" issue.
Yahoo Mike said:
Nice thread. Here's some thoughts to help make this process simpler.
Following the numbering in the OP:
If you are using Windows, just make sure you have the latest OEM drivers from Mediatek (MTK).
after flashing TWRP and vbmeta, you can try fastboot reboot recovery to boot to twrp. I know the OP says it doesn't work, but it works on my TB-X606FA.
..and it's also a good idea to format data, especially if you're upgrading to a new OS level. This will delete everything on the data partition.
phhusson keeps a list of GSIs based on his work.
this step is now optional. TWRP (v3.6.0) has been patched to handle the A12 keymaster.
many GSIs come with root as standard. If yours does (or if you installed Magisk-Phh), then you can use the Magisk app as a root manager, but be aware that updating Magisk from inside the app might break the GSI.
-
some of the latest GSIs have fixed this issue and the integrated gapps should just work.
Click to expand...
Click to collapse
Thanks for the clarifying info, updated the OP a bit. And thanks for providing us with a TWRP to make this possible. Otherwise this awesome tablet would be stuck on Android 10 forever.
vladilog said:
Thanks a lot for this guide.
I just installed the latest Phh AOSP 12 GSI (system-squeak-arm64-ab-vndklite-gapps.img.xz) without problems by following your recommendations. I used the lastest twrp_X606FA_11. Flashing dm-verity or Magisk was not required for this GSI to work (it's already rooted). I did have to register my device to solve the "Google Uncertified" issue.
Click to expand...
Click to collapse
Happy to help, glad it worked for you. I tried installing some other GSIs with and without flashing Magisk - LineageOS 12 boots but is very buggy, after reboot I was unable to get past the lockscreen. PixelExperience 11 and 12 cause a bootloop. If anyone has had success with PixelExperience I would love to get your input.
Yahoo Mike said:
Nice thread. Here's some thoughts to help make this process simpler.
Following the numbering in the OP:
If you are using Windows, just make sure you have the latest OEM drivers from Mediatek (MTK).
after flashing TWRP and vbmeta, you can try fastboot reboot recovery to boot to twrp. I know the OP says it doesn't work, but it works on my TB-X606FA.
..and it's also a good idea to format data, especially if you're upgrading to a new OS level. This will delete everything on the data partition.
phhusson keeps a list of GSIs based on his work.
this step is now optional. TWRP (v3.6.0) has been patched to handle the A12 keymaster.
many GSIs come with root as standard. If yours does (or if you installed Magisk-Phh), then you can use the Magisk app as a root manager, but be aware that updating Magisk from inside the app might break the GSI.
-
some of the latest GSIs have fixed this issue and the integrated gapps should just work.
Click to expand...
Click to collapse
So i can flash the official google GSI using these steps?
Branch Grid
ci.android.com
I don't need root and want to be stock as possible.
jebise101 said:
So i can flash the official google GSI using these steps?
Branch Grid
ci.android.com
I don't need root and want to be stock as possible.
Click to expand...
Click to collapse
Give it a try and let us know. I think some GSIs are more stable than others. I've had trouble with LOS and PE on this device.
shnioob said:
Give it a try and let us know. I think some GSIs are more stable than others. I've had trouble with LOS and PE on this device.
Click to expand...
Click to collapse
How do you go back to stock in case this does not work?
Is there a factory image?
jebise101 said:
How do you go back to stock in case this does not work?
Is there a factory image?
Click to expand...
Click to collapse
you can download the stock ROM from LMSA
I also have Lenovo tab m10 fhd plus but it is tb-x606v. Can I flash x606f rom on this device and flash twrp after.i don't want my device to be bricked.
vladilog said:
Thanks a lot for this guide.
I just installed the latest Phh AOSP 12 GSI (system-squeak-arm64-ab-vndklite-gapps.img.xz) without problems by following your recommendations. I used the lastest twrp_X606FA_11. Flashing dm-verity or Magisk was not required for this GSI to work (it's already rooted). I did have to register my device to solve the "Google Uncertified" issue.
Click to expand...
Click to collapse
Hi, I'm trying to follow what you did, but I'm having issues with the Gapps, do you have some pointers to solve it? Thank you in advance
Hello everybody!
I finally installed CAOS 11 and it's working like a charm. Gapps are definitely working as excpected and system seems to be stable as possible.
I have two question to those that installed it to :
Is anyone kow why some widgets on X606F are not clickable, an do not actualize till reboot?
Am I the only one that lost double tap to wake on CAOS?
Thank you all
I tried AOSP V412 12L too, we lost fingerprint sensor and face unlock, widevine DRM. There is some troubles on wifi, beside of this it is pleasant. Of course this not as smooth as android 10. I do not recommend it for daily basis.
I have tb-X606X. I’ve tried AOSP 11 and AOSP 12, Pixel Exp 11 and 12, LineageOS 11 and 12, but finally I stay with CAOS11, which is from all I tried, the most stable, smooth and bug free.
Btw, I do not have any issue with widgets on CAOS.
And yes, the double tap to wake is lost. I think it is not because of CAOS, it is because of Android 11 and above.
garconblair said:
I have tb-X606X. I’ve tried AOSP 11 and AOSP 12, Pixel Exp 11 and 12, LineageOS 11 and 12, but finally I stay with CAOS11, which is from all I tried, the most stable, smooth and bug free.
Btw, I do not have any issue with widgets on CAOS.
And yes, the double tap to wake is lost. I think it is not because of CAOS, it is because of Android 11 and above.
Click to expand...
Click to collapse
Thanks for the feedback. What about Widevine L1 and SafetyNet test with CAOS11? Are you able to play content at 1080p resolution with the Netflix App?

Official LOS, how to upgrade to 20 ?

I couldn't find a thread for official LOS so I hope it's ok if I post my question here.
I'm using official LOS 19.1 for Zenfone Max Pro M1 (X00TD) and saw the new 20.0 so I wanted to upgrade, but don't know if a new firmware and/or gapps package is required, and if I can just dirty flash the new LOS or do I have to format?
Thanks in advance
im using it currently. the best os for our device. i used to get 20% drain overnight in any rom but lineage 20 took only 2%. os is so smooth and fast. search in google for official lineage os for max pro m1 then go to download section get latest build. for gapps you can click help and guide section then you can download mindthegapps 13. download 87 firmware.
INSTALLATION: in orangefox recvery go to wipe format data by typing yes then reboot to recovery again go to wipe then wipe dalvic,cache,system,data,vendor,asus firmware then flash 87 firmware, lineage 20,mindthegapps then reboot.
its official and we get frequent updates. cts profile fail we can fix it with saftynet fix module, everything works, no bugs found. only annoying thing is while receiving phone call it doesn't show anything, only ringtone we can hear.after call ends it show missed call notification. only few peoples face this and this bug exists with many versions of lineage os. you have to go to permissions then tick override DND in notification or select dailer as default or you can change dailer then things work fine. audio quality is not that good, it lacks base.
Ramesh006 said:
go to wipe format data by typing yes then reboot to recovery again go to wipe then wipe dalvic,cache,system,data,vendor,asus firmware then flash 87 firmware
Click to expand...
Click to collapse
Thanks for your reply. So dirty flash is not enough, it needs a full reinstall
Do you use firmware 87 from here or from another source?

Categories

Resources