Hey folks, after some digging I found a method how to flash Treble ROMs on our OP7 Pros!
I've only achieved this by following many great guides here on xda so credits go to: @Exelios and @demkantor for their threads which you can find here respectively:
https://forum.xda-developers.com/oneplus-6/how-to/treble-mistery-solved-developer-t3800716
https://forum.xda-developers.com/showthread.php?t=2277112
Prerequisites:
Make sure all drivers for your device have already been installed. Otherwise plug in your phone to your PC and wait for all drivers to finish installing
Latest fastboot - minimal packages won't work, so follow the guide from the second link above
Stock boot.img and vbmeta.img which you can get from stock fastboot ROMs found here: https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Inside these zips there's another zip called images.zip in which you can find required imgs for your particular device
Treble ROM of your choice (arm64 a/b)
Steps:
Copy all sensitive data from your phone as this process will wipe your phone entirely!
This includes: photos, songs, and any other files!
Put all needed files in one folder
Run cmd
Type: cd <your folders directory>
Reboot your phone in fastboot mode (hold power+vol up+vol down for a few seconds)
and connect it to your PC
Then type:
Code:
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
After that:
Code:
fastboot -w flash system <your Treble ROMs name>.img
Using just the inactive partition and OxygenOS on another didn't seem to work for me.
This is the point at which your data will be erased so make sure again you have all your files
And finally:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
This is required. If you want to go to stock either flash it again without
Code:
--disable-verity --disable-verification
or use aforementioned stock fastboot ROM package
Now reboot and wait for the phone to boot
Success!
If you got a bootloop or something just didn't go right you will have to repeat all of the steps
Now you can flash patched boot image to get root or try any of the fixes found here
Bugs:
60Hz
Fingerprint sensor
After using front camera it's stuck - it won't slide back inside the phone
Only 3G data connection
Wi-Fi signal seems to be quite weak
No Warp Charge
Credits:
@Exelios
@demkantor
@mauronofrio
I got 90Hz working on my FlokoROM GSI with this dirty hack:
https://github.com/AndroPlus-org/an...mmit/724725063f12dfa7b95b43d97114149831f748b0
dtbo.img for 9.5.4 (flash it by fastboot flash dtbo dtbo.img, don't know if it work on other version)
https://drive.google.com/open?id=1X7W9iyKVy7gmkBjCSght7gy_Sbl4t3Iz
It replaces default 60Hz config with 90Hz one lol
For Warp charge, we need to place "dashd" to somewhere in system and run it:
https://github.com/FlokoROM-GSI/device_phh_treble/commit/1ef10fa131d6e350a2cd00fd25c10b621cbb1d5f
dashd should be added to device_phh_treble, but currently I added it with Magisk Module.
https://drive.google.com/open?id=11eD8CqJmdblfYlLXuiHMIhkxweTD9hzD
AndroPlus said:
I got 90Hz working on my FlokoROM GSI with this dirty hack:
https://github.com/AndroPlus-org/an...mmit/724725063f12dfa7b95b43d97114149831f748b0
dtbo.img for 9.5.4 (flash it by fastboot flash dtbo dtbo.img, don't know if it work on other version)
https://drive.google.com/open?id=1X7W9iyKVy7gmkBjCSght7gy_Sbl4t3Iz
It replaces default 60Hz config with 90Hz one lol
For Warp charge, we need to place "dashd" to somewhere in system and run it:
https://github.com/FlokoROM-GSI/device_phh_treble/commit/1ef10fa131d6e350a2cd00fd25c10b621cbb1d5f
dashd should be added to device_phh_treble, but currently I added it with Magisk Module.
https://drive.google.com/open?id=11eD8CqJmdblfYlLXuiHMIhkxweTD9hzD
Click to expand...
Click to collapse
Very cool! I'm not as tech savvy so could I point to your post in the main one for additional fixes?
maxtreme said:
Very cool! I'm not as tech savvy so could I point to your post in the main one for additional fixes?
Click to expand...
Click to collapse
OK
Legend! I managed to get havoc up and running. There is a OOS camera magisk port in the op6 forum I used and updated the camera to current one plus version and its working well. Front can doesn't work as you know.
Most things are working fine for me at the moment. No real issues yet
Camera quality is poor, but I'm not that fussed by it at the moment. Just want to play!
Thanks heaps for the guide.
---------- Post added at 09:54 AM ---------- Previous post was at 09:54 AM ----------
AndroPlus said:
I got 90Hz working on my FlokoROM GSI with this dirty hack:
https://github.com/AndroPlus-org/an...mmit/724725063f12dfa7b95b43d97114149831f748b0
dtbo.img for 9.5.4 (flash it by fastboot flash dtbo dtbo.img, don't know if it work on other version)
https://drive.google.com/open?id=1X7W9iyKVy7gmkBjCSght7gy_Sbl4t3Iz
It replaces default 60Hz config with 90Hz one lol
For Warp charge, we need to place "dashd" to somewhere in system and run it:
https://github.com/FlokoROM-GSI/device_phh_treble/commit/1ef10fa131d6e350a2cd00fd25c10b621cbb1d5f
dashd should be added to device_phh_treble, but currently I added it with Magisk Module.
https://drive.google.com/open?id=11eD8CqJmdblfYlLXuiHMIhkxweTD9hzD
Click to expand...
Click to collapse
Will floko be updated with the op7 stuff you fix?
miffymiffy said:
Legend! I managed to get havoc up and running. There is a OOS camera magisk port in the op6 forum I used and updated the camera to current one plus version and its working well. Front can doesn't work as you know.
Most things are working fine for me at the moment. No real issues yet
Camera quality is poor, but I'm not that fussed by it at the moment. Just want to play!
Thanks heaps for the guide.
---------- Post added at 09:54 AM ---------- Previous post was at 09:54 AM ----------
Will floko be updated with the op7 stuff you fix?
Click to expand...
Click to collapse
I'll add it at the weekend (with June security patch)
Great walkthrough! Two questions, any way to flash treble ROMs in twrp for us? and how do you think we could get erfanoabdi's android q gsi that's ported from the pixel to work on the device?
eqbirvin said:
Great walkthrough! Two questions, any way to flash treble ROMs in twrp for us? and how do you think we could get erfanoabdi's android q gsi that's ported from the pixel to work on the device?
Click to expand...
Click to collapse
+1 to this.
What are treble ROMs and how does this benefit my use?... Is it different from a custom ROM?
i have tried every gs rom by erfan for this non eof them work all stuck at boot logo
maybe permissive issue which has to be flashed in A partion rom
eqbirvin said:
Great walkthrough! Two questions, any way to flash treble ROMs in twrp for us? and how do you think we could get erfanoabdi's android q gsi that's ported from the pixel to work on the device?
Click to expand...
Click to collapse
mlock420 said:
What are treble ROMs and how does this benefit my use?... Is it different from a custom ROM?
Click to expand...
Click to collapse
Treble ROMs can be used on any project treble supported phone
Treble roms? Do you mean gsi's?
lichtblitz said:
Treble roms? Do you mean gsi's?
Click to expand...
Click to collapse
Exactly that is
---------- Post added at 12:47 PM ---------- Previous post was at 12:46 PM ----------
mlock420 said:
What are treble ROMs and how does this benefit my use?... Is it different from a custom ROM?
Click to expand...
Click to collapse
It's a custom ROM, but the thing is you can flash it on literally any device with Project Treble support
Someone succeded to flash q6 gsi?
I tried the guide on the op but its stuck on the bootscreen like forever :\
@maxtreme
Kookitza said:
Someone succeded to flash q6 gsi?
I tried the guide on the op but its stuck on the bootscreen like forever :\
@maxtreme
Click to expand...
Click to collapse
Tried it before as well and no success. Q beta uses different kernel or sth so it won't work
maxtreme said:
Tried it before as well and no success. Q beta uses different kernel or sth so it won't work
Click to expand...
Click to collapse
Do you think that when open beta will release by OnePlus, the gsi should work on our device?
Kookitza said:
Do you think that when open beta will release by OnePlus, the gsi should work on our device?
Click to expand...
Click to collapse
I guess so
Maybe try using vbmeta and boot from the Q beta released by OP
Anyone able to get gsi working on 9.5.11?
I cant get havoc to work and wondering if that may be why
I'm not sure why you would bother flashing things like Havoc treble rom when the official Havoc rom is available for OP7 pro?
I tried flashing many gsi but all stuck at boot animation .. any solution for this?
Related
The question speaks for itself,I cannot find really any accurate ways to get started because I once tried to install Oreo beta (before official was out) and flashed a Oreo recovery onto Nougat and bricked my phone,and the only way was to use DC Phoenix so for now I have kept my phone on EMUI 8 stock.
So if anyone can tell me the steps to install let's say an Android 8.1 Treble ROM or Android 9 when it gets good as a daily driver,I know that you need to do the following things:
-unlock the bootloader
-install a recovery
-flash a ROM through fastboot or through recovery and after that flash Gapps and a modded version of Magisk
That is pretty self explanatory,but I have seen like that you cannot use TWRP since there is a problem when wiping data and that you need to have Huawei stock recovery and some important things to consider since I see it is pretty easy to brick these phones if you don't follow instructions but since there isn't really clear instructions to do some of these things,I am asking here if anyone can explain to me.
And yes,I do have my bootloader unlock code since as I stated,I tried to do this before.
dinoderda said:
The question speaks for itself,I cannot find really any accurate ways to get started because I once tried to install Oreo beta (before official was out) and flashed a Oreo recovery onto Nougat and bricked my phone,and the only way was to use DC Phoenix so for now I have kept my phone on EMUI 8 stock.
So if anyone can tell me the steps to install let's say an Android 8.1 Treble ROM or Android 9 when it gets good as a daily driver,I know that you need to do the following things:
-unlock the bootloader
-install a recovery
-flash a ROM through fastboot or through recovery and after that flash Gapps and a modded version of Magisk
That is pretty self explanatory,but I have seen like that you cannot use TWRP since there is a problem when wiping data and that you need to have Huawei stock recovery and some important things to consider since I see it is pretty easy to brick these phones if you don't follow instructions but since there isn't really clear instructions to do some of these things,I am asking here if anyone can explain to me.
And yes,I do have my bootloader unlock code since as I stated,I tried to do this before.
Click to expand...
Click to collapse
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
MrViking said:
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
Click to expand...
Click to collapse
What is gsi?
JoanSB1 said:
What is gsi?
Click to expand...
Click to collapse
Generic System Image.
MrViking said:
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
Click to expand...
Click to collapse
And if I have downloaded a zipped ROM instead of an GSI,I do the same steps but in TWRP I flash the ROM with the Gapps and Magisk,right?
Also,can I use NoCheckRecovery for Oreo when I need to wipe data instead of stock recovery since I think it would come in handy if I would need to re-flash something through that without Huawei checks and it seems to be easier to find?
And I flash the recoveries to recovery_ramdisk,just to be sure,I know some things did change with Oreo so I am asking?
dinoderda said:
And if I have downloaded a zipped ROM instead of an GSI,I do the same steps but in TWRP I flash the ROM with the Gapps and Magisk,right?
Also,can I use NoCheckRecovery for Oreo when I need to wipe data instead of stock recovery since I think it would come in handy if I would need to re-flash something through that without Huawei checks and it seems to be easier to find?
And I flash the recoveries to recovery_ramdisk,just to be sure,I know some things did change with Oreo so I am asking?
Click to expand...
Click to collapse
what rom are you trying to install?
All treble roms come in a .img file not a .zip.
MrViking said:
what rom are you trying to install?
All treble roms come in a .img file not a .zip.
Click to expand...
Click to collapse
Oh,I thought Pixel Experience ROM was meant to be installed through recovery,bloody hell pardon me.
Never mind then.
I am gonna wait for Android 9 to get a bit more stable and that official OpenGapps gets released and then I am going to install it.
Thank you very much for helping me!
dinoderda said:
Oh,I thought Pixel Experience ROM was meant to be installed through recovery,bloody hell pardon me.
Never mind then.
I am gonna wait for Android 9 to get a bit more stable and that official OpenGapps gets released and then I am going to install it.
Thank you very much for helping me!
Click to expand...
Click to collapse
Thats ok, we all make mistakes lol.
Yeah, a pixel experience 9.0 gsi is coming soon, and these GSI's are pretty stable. If you need any more help you can ask me:good:
MrViking said:
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
Click to expand...
Click to collapse
I did those steps trying to flash RROS6 build BENVENUTI (https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-rros-pra-t3774444) and I failed. I don't know what I'm doing wrong. Please help me to install Resurrection Remix! :crying:
JoanSB1 said:
I did those steps trying to flash RROS6 build BENVENUTI (https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-rros-pra-t3774444) and I failed. I don't know what I'm doing wrong. Please help me to install Resurrection Remix! :crying:
Click to expand...
Click to collapse
What is the exact problem you aee having? Bootloop? Error when trying to flash?
dinoderda said:
What is the exact problem you aee having? Bootloop? Error when trying to flash?
Click to expand...
Click to collapse
Error when trying to flash
JoanSB1 said:
Error when trying to flash
Click to expand...
Click to collapse
Tell me the steps in order which you did when you were trying to flash the ROM.
dinoderda said:
Tell me the steps in order which you did when you were trying to flash the ROM.
Click to expand...
Click to collapse
Ok, it clearly says that that Rom is discontinued, read the last post.
Use a gsi from the treble enabled device development forum and flash it with fastboot (yesyou can use android pie 9.0 gsi's as well as long as they don't say sGSI on it.
MrViking said:
Ok, it clearly says that that Rom is discontinued, read the last post.
Use a gsi from the treble enabled device development forum and flash it with fastboot (yesyou can use android pie 9.0 gsi's as well as long as they don't say sGSI on it.
Click to expand...
Click to collapse
Wow, if that ROM is discontinued I'll desist to install it then. So I'll try to install Lineage OS 15.1. You recommend it ? This is the post that I'm seeing https://forum.xda-developers.com/p8...nt/rom-lineageos-15-1-hi6250-devices-t3811583
JoanSB1 said:
Wow, if that ROM is discontinued I'll desist to install it then. So I'll try to install Lineage OS 15.1. You recommend it ? This is the post that I'm seeing https://forum.xda-developers.com/p8...nt/rom-lineageos-15-1-hi6250-devices-t3811583
Click to expand...
Click to collapse
Use ones from the treble enabled device forum. You can even use pie, so why not?
---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------
JoanSB1 said:
Wow, if that ROM is discontinued I'll desist to install it then. So I'll try to install Lineage OS 15.1. You recommend it ? This is the post that I'm seeing https://forum.xda-developers.com/p8...nt/rom-lineageos-15-1-hi6250-devices-t3811583
Click to expand...
Click to collapse
Here is an android P gsi for this device. It works very well:
https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
Can I install anything with lock bootloader?
box710 said:
Can I install anything with lock bootloader?
Click to expand...
Click to collapse
no
MrViking said:
Use ones from the treble enabled device forum. You can even use pie, so why not?
---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------
Here is an android P gsi for this device. It works very well:
https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
Click to expand...
Click to collapse
Does the USSD code work? is that it is important to me and I do not know a ROM that works
dinoderda said:
Generic System Image.
Click to expand...
Click to collapse
Is there a guide to install this I paid DC unlock to get bootloader unlocked but on noughat and cannot find a twrp for noughat:good:
Pie gsi
Hi all,
I have installed Pixel Experience (Oreo) gsi ROM no problem. But if I try to flash any Pie gsi ROM it just goes into a boot loop. I flash system via fastboot and seems OK. Reboot and it just boot loops a few times and goes to the recovery screen that prompts to download and install the standard system.
Has anybody come across this or have any suggestions. I have tried a few different Pie gsi ROMs and same thing happens.
Thanks
Mick
Hello guys.
I've seen this device development for custom rom and custom recovery are slow (they did it in privat currently, invited user or someone who want to join). The unofficial twrp having issue with encrypted device (asking for password). So internal storage in twrp isnt accesible and need to format data to make it works. Of course ROOTING with TWRP is still POSSIBLE by placing magisk to extSdcard anyway.
And this guide is a SECOND chance for you who wants to ROOT your phone WITHOUT TWRP. But, need a PC. The root method here are from magisk thread https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 .
Things needed :
- Unlocked Bootloader
- PC with ADB and Fastboot installed
- boot.img of your miui rom. You can grab it (open with winRar) from fastboot firmware (.tgz) xiaomi redmi S2. Download the firmware file in xiaomi site or in this section thread. The version are reccomended to be the same as your current miui version.
- Magisk Manager.apk https://github.com/topjohnwu/Magisk/releases/download/manager-v6.0.1/MagiskManager-v6.0.1.apk
- Know how to use minimal adb and fastboot.
Again this method does not need root, and also does not require a custom recovery. boot.img & UBL is a must.
1. Open Magisk Manager
2. Press Install > Install > Patch Boot Image File, and select your boot.img file
3. Magisk Manager will now patch your boot image, and store it in Internal Storage/Download/patched_boot.img
4. Copy the patched boot image to your PC. Place it in Minimal ADB & Fastboot directory.
5. Flash the patched boot image to your device. Here is the command :
fastboot flash boot boot.img
6. If adb say "Okay" twice, mean it succesfully.
Type : fastboot reboot
7. Wait your phone to reboot.
8. Voila!
I've done this method with my Redmi 5 Plus and not having any issue. Technically, bootloop risk are very low. Because magisk disable dm-verity.
I dont know someone already make a guide about this here. But its not detailed. So, ill keep this thread on. For root with custom recovery TWRP here.
GueztStar said:
I dont know someone already make a guide about this here. But its not detailed. So, ill keep this thread on. For root with custom recovery TWRP here.
Click to expand...
Click to collapse
Actually we have a developer working for our device. And also, we have our own forum and a treble supported TWRP and a special GSI for our device. The only thing which is not working in the GSI is there VoLte. Please visit our forum mi-ysl.tk
---------- Post added at 04:55 AM ---------- Previous post was at 04:51 AM ----------
reynold30 said:
Actually we have a developer working for our device. And also, we have our own forum and a treble supported TWRP and a special GSI for our device. The only thing which is not working in the GSI is there VoLte. Please visit our forum mi-ysl.tk
Click to expand...
Click to collapse
The credit mainly goes to @Peaktogoo
reynold30 said:
Actually we have a developer working for our device. And also, we have our own forum and a treble supported TWRP and a special GSI for our device. The only thing which is not working in the GSI is there VoLte. Please visit our forum mi-ysl.tk
---------- Post added at 04:55 AM ---------- Previous post was at 04:51 AM ----------
The credit mainly goes to @Peaktogoo
Click to expand...
Click to collapse
In general people didnt know that like i am. But, im glad to hear that. My friend have this phone and think about doing these kind of.
GueztStar said:
In general people didnt know that like i am. But, im glad to hear that. My friend have this phone and think about doing these kind of.
Click to expand...
Click to collapse
Am glad to help you
Why this phone don't have custom rom? What am I missing?
This method actually works for my S2. Thanks for sharing.
Download twrp redmi s2 by peak
Fastboot boot twrp.img
Press Cancel
Flash magisk zip
Reboot
Done
Please give latest mi magisk patched boot image .
Please ..
Thanks a lot, Gueztar!
Your method has worked on my Redmi S2.
Just wanted to ask if any developer can port an oxygen os rom for mi a2 as it is super fast and with some great features..
Divyam2201 said:
Just wanted to ask if any developer can port an oxygen os rom for mi a2 as it is super fast and with some great features..
Click to expand...
Click to collapse
Also hoping for something like that :good:
Divyam2201 said:
Just wanted to ask if any developer can port an oxygen os rom for mi a2 as it is super fast and with some great features..
Click to expand...
Click to collapse
I think that would be super cool
Not gonna happen, due to lack of active devs, also it's very hard to port an oem rom
fir1996 said:
Not gonna happen, due to lack of active devs, also it's very hard to port an oem rom
Click to expand...
Click to collapse
Somebody could ,,Re Port" IT from redmi Note 5 pro
StarSix01 said:
Somebody could ,,Re Port" IT from redmi Note 5 pro
Click to expand...
Click to collapse
It's possible , i know but some of the "big" devs here abandoned our device,, that's the problem...
I successfully installed Oxygen OS OEM GSI on the Mi A2 and it's running late flawlessly
Only bugs that I noticed are:
Fingerprint not working and faceunlock not working
Brightness is a bit ****ed up, but usable
StarSix01 said:
I successfully installed Oxygen OS OEM GSI on the Mi A2 and it's running late flawlessly
Only bugs that I noticed are:
Fingerprint not working and faceunlock not working
Brightness is a bit ****ed up, but usable
Click to expand...
Click to collapse
Can you post a tutorial about how to make it work...
Divyam2201 said:
Can you post a tutorial about how to make it work...
Click to expand...
Click to collapse
0. I would recommend To Format Data completely and copy the files from your PC to the Phone then
1. Flash boot.img as boot img and vendor.img as vendor.img in TWRP
2. Flash the OxygenOS ABGSI as System Img
3. wipe Data
4. Flash FBE Disabler
5. Flash permissiver2 (don't know if this is nessesary but it did it)
6. Flash the Latest Hex Kernel by Draco
7. Flash Magisk
8. Reboot
And don't forget to wipe cache and dalvik always
---------- Post added at 01:14 PM ---------- Previous post was at 01:13 PM ----------
StarSix01 said:
0. I would recommend To Format Data completely and copy the files from your PC to the Phone then
1. Flash boot.img as boot img and vendor.img as vendor.img in TWRP
2. Flash the OxygenOS ABGSI as System Img
3. wipe Data
4. Flash FBE Disabler
5. Flash permissiver2 (don't know if this is nessesary but it did it)
6. Flash the Latest Hex Kernel by Draco
7. Flash Magisk
8. Reboot
And don't forget to wipe cache and dalvik always
Click to expand...
Click to collapse
I used Dec update vendor.img and boot.img
StarSix01 said:
I successfully installed Oxygen OS OEM GSI on the Mi A2 and it's running late flawlessly
Only bugs that I noticed are:
Fingerprint not working and faceunlock not working
Brightness is a bit ****ed up, but usable
Click to expand...
Click to collapse
Got any fix for fingerprint and faceunlock??
And can you also make a twrp backup and post it
UPDATE 10/16/19
I don't know why the development on XDA for redmi 7a is unbelievable lazy, but this is what I stole from 4pda!
1.Unlock the bootloader if you have not already done so.
2. Download vbmeta.img file (4 KB),
Download patched_boot_10.2.5EU.img,
https://filehorst.de/d/cFqIgsev,
2a For patched boot 10.2.6. Global Download
https://filehorst.de/d/cBeCunfm
2b. For patched boot 10.2.5. Global Download
https://filehorst.de/d/cDpHyAId
3. Download recovery
Code:
[URL="https://filehorst.de/d/cHyobAcd"]TWRP 3.3.1-1003 LRTeam[/URL]
[URL="https://filehorst.de/d/crqywBxx"]TWRP 3.3.1-1003-DX mod[/URL]
[URL="https://filehorst.de/d/cbvACbwB"]TWRP 3.3.1-1[/URL]
4. Drop the vbmeta file into the adb folder. Next, rename the patched boot file to boot.img and paste it with recovery into the adb folder
Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot reboot
For patched boot but generally for the launch of custom firmware on our phone, say thanks YaAlex3
5. Reboot the phone by holding "volume + and power" the phone will reboot into TWRP
6. Flash Magisk
7. Download the GSI firmware. NEED A64 A / B . no other will do.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
GSI Firmware (A64 A/B):
AOSP 9.0 v119 (special instruction: search for boot fix and flash certification)
Descendant 4.0.1
DotOS
EvolutionX
PE Plus
MSM Extended
/e/
PixelExperience
ViperOS 6.5
LineageOS
And download and upload the Attached file Permissiver_v4.zip file (1.1 MB)
8. Unpack the downloaded firmware, you should get a file with the extension .img We
upload it to the USB flash drive. This can be done without leaving the recovery by simply connecting the phone via cable.
9. Make the Data format, wipe System, Davlik / Cache
8a. Install attached no-verity-encrypt-ysl to stay encrypted (optional)
10. Select Install img below - select the firmware file - select System
9a. If you like Gapps, Install BiTGApps Pie 9.0.0 (optional)
https://forum.xda-developers.com/android/software/arm-bitgapps-variants-t3959373
11. Flash Permissiver_v4.zip
12. Go back, select reboot - to the bootloader
13. In the adb folder, launch the console by holding the Shift button on the keyboard and right-clicking in an empty area, select the
line to open the command window.
We enter the fastboot flash vbmeta and then fastboot reboot
Code:
fastboot flash vbmeta vbmeta.img
fastboot reboot
Everyone is now waiting for the phone to turn on (at first it will reboot it's normal)
Note: vbmeta can also be flashed before the start of the whole action, as you wish.
Note 2: If suddenly there is no memory card, you can wipe System, flash everything and format the latest date.
Important Notes (FAQ)
[ROOT]Video recording fix:
put
media.camera.ts.monotonic=0
to /vendor/build.prop
[ROOT] Fix brightness
Turn on USB debugging, run the terminal \ cmd on the PC, write
Code:
adb shell
su
setprop persist.sys.qcom-brightness $ (cat / sys / class / leds / lcd-backlight / max_brightness)
Rejoice.
How to certify a device for GSI
Important: If you are at the initial setup stage, you must complete it. If notifications about the need for certification interfere, disable them.
We need to find our GSF Device-ID
1. Download the application
2. Copy “Google Service Framework (GSF) there.”
3. Go here , paste and click the button.
Or Just flash this zip and you are good to go
https://drive.google.com/file/d/1DTGpGrcjweZbN9wUdSSq8uQTmgxf0aD2/view
I am not good at this stuff so I probably shouldn't do it but I wanted to install Magisk on my phone
I flashed the patched boot using this
fastboot flash boot boot.img
I installed TWRP as my recovery
I flashed Magisk 19.3 from TWRP and rebooted the phone
It started android as usual, the magisk manager said Magisk was installed
After a few seconds phone restarted and booted itself into recovery (TWRP)
I went back to android and uinstalled the magisk by clicking uinstall in magisk manager
But the phone still restarts itself and boots into recovery every time I go to android
And the wifi isn't working
Do you have any ideas how to fix it?
And sorry for my English it's not my first language
Edit:
I used MiFlash to install original boot.img and everything seems to work fine
What does the permissiver do? Is that neccessary?
wow amazing
Has anybody else with an unlocked bootloader tried this? does it work?
Also: OP the recovery.img link is dead. Please reupload if you can.
Only gsi rom Aosp 9 pie system arm 32 -binder 64 by phhusson
Working and working without any problem with open gapps magisk . thanks xontax for flash
instructions.
mais 14 said:
Only gsi rom Aosp 9 pie system arm 32 -binder 64 by phhusson
Working and working without any problem with open gapps magisk . thanks xontax for flash
instructions.
Click to expand...
Click to collapse
Only 32 bit roms?
mais 14 said:
Only gsi rom Aosp 9 pie system arm 32 -binder 64 by phhusson
Working and working without any problem with open gapps magisk . thanks xontax for flash
instructions.
Click to expand...
Click to collapse
Can you reupload the recovery.img file for me. The link in the OP is dead
MDV106 said:
Can you reupload the recovery.img file for me. The link in the OP is dead
Click to expand...
Click to collapse
The link is ok download now and working.
If you have proplem again tell me I reupload.
---------- Post added at 08:33 AM ---------- Previous post was at 07:57 AM ----------
Luelu said:
Only 32 bit roms?
Click to expand...
Click to collapse
I flash many gsi rom arm 64a/b- arm a. Only.
Boot with success 2 gsi rom all the others no boot
1) pixel experience plus a64/ab but I have problems
2 Aosp 9 pie system arm 32 -binder 64 by phhusson
Stable and fast and I find a good gcam for arm32
That for me you can try flash any gsi rom .
Sorry for my English.
Please provide Gcam Link
mais 14 said:
The link is ok download now and working.
If you have proplem again tell me I reupload.
---------- Post added at 08:33 AM ---------- Previous post was at 07:57 AM ----------
I flash many gsi rom arm 64a/b- arm a. Only.
Boot with success 2 gsi rom all the others no boot
1) pixel experience plus a64/ab but I have problems
2 Aosp 9 pie system arm 32 -binder 64 by phhusson
Stable and fast and I find a good gcam for arm32
That for me you can try flash any gsi rom .
Sorry for my English.
Click to expand...
Click to collapse
provide Gcam link please
mdna1198 said:
provide Gcam link please
Click to expand...
Click to collapse
I don't remember link I repload .
Need you have camera API 2 enapled check with
camera 2api prope from play store delete any old gcam .
https://drive.google.com/file/d/1YGIRNbkmDPzzl1zX9phN_mCobzFxn59I/view?usp=sharing
mais 14 said:
The link is ok download now and working.
If you have proplem again tell me I reupload.
---------- Post added at 08:33 AM ---------- Previous post was at 07:57 AM ----------
I flash many gsi rom arm 64a/b- arm a. Only.
Boot with success 2 gsi rom all the others no boot
1) pixel experience plus a64/ab but I have problems
2 Aosp 9 pie system arm 32 -binder 64 by phhusson
Stable and fast and I find a good gcam for arm32
That for me you can try flash any gsi rom .
Sorry for my English.
Click to expand...
Click to collapse
Thanks, the link is working now.
---------- Post added at 12:24 PM ---------- Previous post was at 11:58 AM ----------
BTW, does anybody else have an issue with push notification LED light? Mine only lights up when the phone is charging even though I have turned it on for most apps
I think I managed to install and boot,
but my 7a cannot enable wifi
and google play is not certified
I used system-arm32_binder64-ab-gapps-su.img.xz (9.0 v119)
Anyone?
mais 14 said:
2 Aosp 9 pie system arm 32 -binder 64 by phhusson
Stable and fast and I find a good gcam for arm32
That for me you can try flash any gsi rom .
Sorry for my English.
Click to expand...
Click to collapse
How did you make everything stable? My wifi is not working.
RalphMalph said:
I think I managed to install and boot,
but my 7a cannot enable wifi
and google play is not certified
I used system-arm32_binder64-ab-gapps-su.img.xz (9.0 v119)
Anyone?
Click to expand...
Click to collapse
I don't have any problem with WiFi
For certified use the option for user's costum ROM
Need register with GSF I'd
---------- Post added at 10:14 PM ---------- Previous post was at 09:24 PM ----------
mais 14 said:
I don't have any problem with WiFi
For certified use the option for user's costum ROM
Need register with GSF I'd[/QUO
For WiFi try clear cache or factory reset from recovery you lose all data.
you didn't erase vendor IMG?
Click to expand...
Click to collapse
I tried to flash again
But still wifi not working.
I cannot turn it on, when i enable it, it goes directly back to disable.
Did a factory reset from twrp
Did a clean cache/data from the app "settings"
Did a reset of wifi
Nothing works
RalphMalph said:
I tried to flash again
But still wifi not working.
I cannot turn it on, when i enable it, it goes directly back to disable.
Did a factory reset from twrp
Did a clean cache/data from the app "settings"
Did a reset of wifi
Nothing works
Click to expand...
Click to collapse
Flash Boot IMG patched boot 10.2.5 EU?
Your phone ships with global rom ?
mais 14 said:
Flash Boot IMG patched boot 10.2.5 EU?
Your phone ships with global rom ?
Click to expand...
Click to collapse
Yes... Global rom
And no i did not try to flash that. Tried a patched boot file that i made myself. Maybe it didnt work or i missed something. Couldnt find that 10.2.5 file
RalphMalph said:
Yes... Global rom
And no i did not try to flash that. Tried a patched boot file that i made myself. Maybe it didnt work or i missed something. Couldnt find that 10.2.5 file
Click to expand...
Click to collapse
If you want flash this patched Boot .
The link is OK now from first post.
mais 14 said:
If you want flash this patched Boot .
The link is OK now from first post.
Click to expand...
Click to collapse
Unfortunately didn't work
Which gsi image did you use?
Android Version : 9/10 Modified Flashable Boot & Vender.
You should be having proper knowledge of flashing Custom ROM and how to Restore a phone if anything goes wrong.
Take complete backup before taking any action based on this thread. I am not responsible for any action taken by you.
All Credit goes to respective developer/s. I request XDA moderator and or Developer of Respective files to let me know if I have forgotten to mentioned (give credit) their name in this thread. The Download Links are given directly from respective Developer/s.
You need the following three files to Test GSI s on Mi Max 2 (Oxygen). This is ported/Made with many patches and customized from various sources. Most GSI maybe Stable enough for your daily use on Mi Max 2.
1a. Treble Mi Max 2 Recovery 3.2.1 https://drive.google.com/file/d/171xg-c57grzI_eaguBRd5BBMMRfDEb18/view?usp=drivesdk
1b. OrangeFox Recover 10
I do not recommend as it likes to mess with the already modified boot & vendor.
2. GSI-Vendor-Boot-Oxygen-Hillbilly-Patched-For-MM2-Oxygen-By-liammc.zip
https://drive.google.com/file/d/1716FYaRjtrg2mQoOuFAZbjI7weFcGTHi/view?usp=drivesdk
3. Any ARM 64 General System Image A ONLY.
https://mirrors.lolinet.com/firmware/gsi/
Or
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
I have test over 90% of available GSI and all are booting.
First step:
Start your phone into recovery and Flash a Treble recovery, if already not flashed. Restart into Recovery.
Click Wipe then Advance wipe and clear System, Vendor, Boot, Cache, and Dalvick cache.
Second Step:
Selecting Wipe > Format data and then typing yes.
Third step:
Flash GSI-Vendor-Boot-Oxygen-Hillbilly-Patched-For-MM2-Oxygen-By-liammc.zip
Fourth step:
Using the GSI of your choice,
Tap on “Install
Change the type from “zip” to “image.”
Find and select the GSI you downloaded.
Choose to flash to the system partition.
Once that is done, reboot your device directly back into recovery.
Fifth Step:
Tap wipe > Advanced Wipe > Click the box next to system> tap "Repair or change file system" > Tap resize file system.
Sometimes it doesn't work and throws and error. The first time, Just reboot back into recovery and do it again and it will.
Depending on which GSI you may want to flash gapps, which can be flashed anytime.
Then reboot into system.
No need to flash root as all is included, Just connect to the internet and load up magisk.
In most cases
please allow 1-5 Minutes for first boot.
If I missed anything in the above, kindly let me know to include. If you make any further updates / patches that makes this more stable / perfect or enables new features, please don't hesitate to message me to include in this thread.
I have an old PC running windows with 8gb max HDD at any one given time, And working on many projects. If you can afford it, Im trying to save for a used computer from this decade, any help is appreciated
https://www.paypal.me/LiamMcGinnisIv
If you would like to use the boot, vendor, system, or any other files, All I ask is pass on the proper credits.
Best of Luck and Happy Flashing )
Has this rom microg support? Thank you.
Great work Buddy. Hopefully someone will fix camera
RayfG said:
Has this rom microg support? Thank you.
Click to expand...
Click to collapse
Dependson which GSI you chose, But most will, as long as the GSI doesn't have gapps incorporated.
liammc83 said:
Dependson which GSI you chose, But most will, as long as the GSI doesn't have gapps incorporated.
Click to expand...
Click to collapse
Thank u, i'll try this.
RayfG said:
Thank u, i'll try this.
Click to expand...
Click to collapse
Many options to try. Most gsi, depending on there sources will boot, but most importantly most features will work.
Highly appreciate your hard work mate cheers
reversegear said:
Great work Buddy. Hopefully someone will fix camera
Click to expand...
Click to collapse
Is there any problem with camera?
nikhil34a said:
Is there any problem with camera?
Click to expand...
Click to collapse
Absolutely, 100%, yes.
liammc83 said:
Absolutely, 100%, yes.
Click to expand...
Click to collapse
I will still flash it. Appreciate your hard work. ?
liammc83 said:
Many options to try. Most gsi, depending on there sources will boot, but most importantly most features will work.
Click to expand...
Click to collapse
Thank u for your outstanding performance here.?
Big thanks for creating
So all of those option (except for amr32) will boot on a healty installation? I havent Heard of GSI ever thx for sharing liammc83
slash1432422 said:
So all of those option (except for amr32) will boot on a healty installation? I havent Heard of GSI ever thx for sharing liammc83
Click to expand...
Click to collapse
Gsi or general system images are the future. No more waiting for custom ROMs, or ports, IF the source and gsi is created properly.
As long as it's arm 64 a only, most will work depending on the source created.
So far oxygenos is having great reviews including supporting jio volte, ect.
Can you explain step by step instructions for how to do MIUI 11 EU port?
I join u
zavorotnii said:
Can you explain step by step instructions for how to do MIUI 11 EU port?
Click to expand...
Click to collapse
I also wish to learn it ,but got only an old PC with windows with zero knowledge on making roms...,but good at using and changing them:laugh:
---------- Post added at 09:18 AM ---------- Previous post was at 08:55 AM ----------
So its a android 10 rom right?? With vendor and booting
It's a base to create or port the other roms for our mi max 2...? Am i making any sense with this??
.can someone share me a little basic knowledge of this to me ,so that I might be knowing what iam doing and whats the use of doing this
Bro Tried many times Oxygen OS A GSI. Always gets struck at boot logo. AM i doing something wrong? I have tried your guide multiple times. But not booting.
What the difference between Aonly and AB GSI images?
---------- Post added at 12:24 PM ---------- Previous post was at 12:14 PM ----------
As I understand For Xiaomi Mi Max 2 we need to use Aonly GSI images
chandruilkal said:
Bro Tried many times Oxygen OS A GSI. Always gets struck at boot logo. AM i doing something wrong? I have tried your guide multiple times. But not booting.
Click to expand...
Click to collapse
Same here. I tried OOS 9 A only image.
I think it has something to do with permissiver.zip file. I'll try again with it and update you.
chandruilkal said:
Bro Tried many times Oxygen OS A GSI. Always gets struck at boot logo. AM i doing something wrong? I have tried your guide multiple times. But not booting.
Click to expand...
Click to collapse
Well it defiantly works.
You flash the hillbilly vender & boot zip ?
You format data, not wipe, but format ?
You resize system partition ?
You don't flash magisk, a modified version is included.