[GUIDE][ProjectTreble]Create a vendor partition for cancro to flash a PT GSI IMAGE - Mi 3 Android Development

Create a vendor partition for cancro to flash a PT GSI IMAGE
This guide only suitable for MI4LTE and MI3W.
MI3TD don‘t support this method and ROM.
First we must thanks to the MkfsSion for his PT works on our MI4LTE.
https://github.com/MkfsSion/android_device_xiaomi_cancro
And thanks to the cjybyjk for his automatic treblizer tools.
https://github.com/cjybyjk/cancro_treblizer
Warning: this operation is highly experimental and may result in a serious risk of irreversibility​
Method 1 With cjybyjk's cancro_treblizer.(Recommend this method now)
1.Let MI4LTE to fastboot mode.
We can press Volume - and Power button to let it into fastboot mode.
2.Let flash the TWRP which support ProjectTreble.
We can use the command [fastboot flash recovery x.img]
Recovery:https://drive.google.com/file/d/1Fc0SK_xYdmkFi5CzR4Vq8QLqQFQ1ikWk/view?usp=sharing
3.Let reboot into the TWRP and flash the cancro_treblizer.zip in TWRP and reboot into the TWRP again when finished.
https://drive.google.com/file/d/14EkMX9VKiC3kbELwtBkxmAYupCmCxPf5/view?usp=sharing
4.Mount the Cache System and Vendor partition and Wipe this 3 partitions.
5.Then we can flash the zip rom from the AFH below.
https://www.androidfilehost.com/?fid=11410932744536984188
6.If you flash the pie gsi arm rom and you must flash this omx-disable patch to fix the boot for pie.
https://drive.google.com/file/d/19TUZiX0vHxIlc9f_6wF2uySI8HcW7xqy/view?usp=sharing
7.Now you can use the nice ProjectTreble ROM on our MI4LTE!
Method 2 With 9008 mode and Diskgenius.(Not recommend now)
1.Let MI4LTE to fastboot mode.
We can press Volume - and Power button to let it into fastboot mode.
2.Let MI4LTE to disk mode(9008 mode).
Open the "磁盘模式工具.rar" ,Unzip it and double click the "清除fastboot进磁盘操作.bat" when MI4LTE go to black screen it was succeeded into disk mode.
Disk Mode Tools:https://drive.google.com/file/d/12uFsjwB_t_XzBWz0aeVJue5zdPiPCc7c/view?usp=sharing
3.Download the DiskGenius Software from the website:
http://www.diskgenius.com/
4.Open the DiskGenius and you will find all the MI4LTE partition in it and we need to restore aboot partition.
aboot partition file:https://drive.google.com/file/d/1aYikwwQQdAsa_XM7cKqv2f49aYAMNybu/view?usp=sharing
5.Then we need to restore ProjectTreble partition table.(For 16GB Version Only)
ProjectTreble partition table file:https://drive.google.com/file/d/1Zg_htr9tSfUHqr04pdxlCyn_qANnwJlM/view?usp=sharing
6.Then we can reboot the MI4LTE into the fastboot mode again and flash the TWRP which support ProjectTreble.
We can use the command fastboot flash recovery x.img
Recovery:https://drive.google.com/file/d/1Y-67W1MfMchny6ljCxKpU1_vq-PdLkpV/view?usp=sharing
7.Press Volume + and Power button to go into the TWRP.
8.Mount the Cache System and Vendor partition and Wipe this 3 partitions.
9.Then we can flash the zip rom from the AFH below.
https://androidfilehost.com/?fid=3700668719832236822
10.Now you can use the nice ProjectTreble ROM on our MI4LTE!
Now our MI4LTE is not ARM64 device so we can only flash A-Only and ARM GSI IMAGE.
​
Update 2018-08-21
Phh have just released the Android 9.0 GSI IMAGE have include ARM and ARM64 so our cancro can flash Android 9.0 GSI IMAGE for experience.
https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
Update 2018-10-20
Fix App FC
Fix OMX
Fix GPS
Noteie PT GSI may need extra patch when you flash the pie gsi image with this pt package.
Cancro Rom Group
Group rules:
1.English only.(You can use the translator to communicate.)
2.Respect developers and administrators.
3. Please do not send spam.
4. Do not send stickers continuously.
Channel: @cancrorom
CN Group: @cancrogroup
https://t.me/micancro

前排支持
Supported ahead.

wow nice treble for our cancro,
is internal storage formatted or not?

Thanks for new thread.
小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.

Shiroyasha21 said:
wow nice treble for our cancro,
is internal storage formatted or not?
Click to expand...
Click to collapse
It's no problem to wipe internal storage but when you wipe this you must reboot into Recovery again to copy zip rom to internal storage.

Changed files to Google Driver instead of BaiduYun Disk.

Mi3 not supported(

酷安基佬前来支持:laugh:

酷安基佬来一波??
Sent from my Essential Products PH-1 using XDA Labs

酷安前来支持!
Come from Coolapk.

Supported ahead( 前排吃瓜)
Guy from Coolapk

请问恢复Treble分区那一步,具体是哪个分区?之前没弄Treble,网上搜了一下好像也没有Treble的包,那个GitHub项目好像并不是个可刷的包。抱歉不是太懂,不好意思

All of you, please use English.
Also please tell whether Mi 3 will be supported in future or not?
Thanks.

ptg251294 said:
All of you, please use English.
Also please tell whether Mi 3 will be supported in future or not?
Thanks.
Click to expand...
Click to collapse
Mi3 TD Pisces (old Tegra CPU phone) not supported.
Mi3 W Cancro I've tried a minutes ago, and removing aboot, repartitioning, install new trebled twrp, and install LOS completed successfully @gujiangjiang
小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.

JulianJenner said:
Mi3 TD Pisces (old Tegra CPU phone) not supported.
Mi3 W Cancro I've tried a minutes ago, and removing aboot, repartitioning, install new trebled twrp, and install LOS completed successfully @gujiangjiang
小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.
Click to expand...
Click to collapse
Thanks for your testing.

Have you guys only tried Lineage? Every GSI rom should work, right?

mdki1996 said:
Have you guys only tried Lineage? Every GSI rom should work, right?
Click to expand...
Click to collapse
I also tried AOSP GSI and works fine yet.
When you flashed PT successed and you can flash the all the GSI IMAGE by your self.
Now the Android P ProjectTreble image have not released yet so we can use aosp,aex,Los first to use now and wait the p image release by phh and if phh released the image for arm then we can easily flash it with PT.
Here are the rom lists for arm32 pt devices and you can try these pt rom now.
https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659
https://forum.xda-developers.com/pr...device-development/rom-aosp-extended-t3821934
https://forum.xda-developers.com/pr...evice-development/rom-carbonrom-noct-t3821947
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
https://forum.xda-developers.com/pr...opment/resurrection-remix-phh-treble-t3767688
https://forum.xda-developers.com/pr...official-treble-enabled-resurrection-t3761279
https://drive.google.com/folderview?id=1SsPuw3ZtTvoslJyqwSJsmDQ42qvJvYVN
Here is the guide to teach how to flash gsi image with pt support.
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
NOTE:
PLEASE FLASH ARM OR ARM32 GSI IMAGE NOT ARM64.

gujiangjiang said:
I also tried AOSP GSI and works fine yet.
When you flashed PT successed and you can flash the all the GSI IMAGE by your self.
Now the Android P ProjectTreble image have not released yet so we can use aosp,aex,Los first to use now and wait the p image release by phh and if phh released the image for arm then we can easily flash it with PT.
Here are the rom lists for arm32 pt devices and you can try these pt rom now.
https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659
https://forum.xda-developers.com/pr...device-development/rom-aosp-extended-t3821934
https://forum.xda-developers.com/pr...evice-development/rom-carbonrom-noct-t3821947
https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
https://forum.xda-developers.com/pr...opment/resurrection-remix-phh-treble-t3767688
https://forum.xda-developers.com/pr...official-treble-enabled-resurrection-t3761279
https://drive.google.com/folderview?id=1SsPuw3ZtTvoslJyqwSJsmDQ42qvJvYVN
Here is the guide to teach how to flash gsi image with pt support.
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
NOTE:
PLEASE FLASH ARM OR ARM32 GSI IMAGE NOT ARM64.
Click to expand...
Click to collapse
i try other GSI image,Aospe extended,DU,Aosp 8.1, but doesn't boot.reboot phone going fastboot mode

Haggiskop said:
i try other GSI image,Aospe extended,DU,Aosp 8.1, but doesn't boot.reboot phone going fastboot mode
Click to expand...
Click to collapse
I tried without problem.
Please confirm you have flash the pt support.
Then please confirm you download the right arm GAO image and use image flash method flash it not zip rom.
从我的 iPhone 发送,使用 Tapatalk

gujiangjiang said:
I tried without problem.
Please confirm you have flash the pt support.
Then please confirm you download the right arm GAO image and use image flash method flash it not zip rom.
从我的 iPhone 发送,使用 Tapatalk
Click to expand...
Click to collapse
i flash with twrp and without twrp fastboot mode but doesnt boot.arm a only version.lineage 15.1 cancro.zip
work only.

Related

VertexOS 1.9 [UNOFFICIAL][2017/2/11] [KIPPER] [AOSP+LOS]

HI ALL! With new Rom
VertexOS aims to provide a simple but enhanced near-stock AOSP experience with carefully selected features and an emphasis on stability and smoothness.​
what doesn't work ?
everything is working perfectly.
Coming from another ROM, OR if a CLEAN FLASH is required
1) Download the Vertex... .zip file.
2) Download a 7.1 GApps package.
3) Boot into recovery (TWRP)
4) Full wipe (Dalvik Cache, Cache, System, Factory Data Reset)
5) Flash the Vertex... .zip file
6) Flash Nougat-compatible GApps : http://opengapps.org/ / ARM64,7.1,pico
7) Reboot
Download:https://www.androidfilehost.com/?fid=745425885120707303
enjoy!
Credits:
- LineageOS
- AOSPA
- Citrus-CAF
- DU
- PureNexus
- Zephyr-OS
IF YOU LIKE MY WORK PLEASE HIT THANKS .
-IMPORTANT- : To install this rom you must have installed TWRP-3.0.3.0 , download from here https://www.androidfilehost.com/?fid=529152257862697990
To easy install from TWRP recovery :
1- open "install" section.
2- SELECT "install img" in the bottom .
4- Chose the place of TWRP-3.0.3.0.
5- install as RECOVERY , then reboot to recovery.
XDA:DevDB Information
ROM [AOSP + LOS], ROM for the Wileyfox Storm
Contributors
PS-DEV
Source Code: https://github.com/VertexOS
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: AOSP + LOS
Version Information
Status: Stable
Created 2017-02-11
Last Updated 2017-02-20
Received
Received !
Firstly, thanks loads for producing these ROMs it is much appreciated. :good:
I am unfortunately having issues getting both this and your CypherOS rom to work.
After full wipes of everything both roms get stuck on the "Wileyfox powered by Android" boot screen.
I get the same result sideloading via adb and from the internal memory.
I have tried TWRP 3.0.2.0 and older versions, I have also tried old and new Cyanogen recoveries.
I have successfully got the Slimrom 7.1 rom working and the LineageOS 14.1 rom which also works but with many random reboots.
Any thoughts on what I might be missing when flashing your ROMs?
Again many thanks for the work.
Any chance of grabbing your recipe for building this from source? Own personal use only. I have the VertexOS repo cloned. A copy of your roomservice and local manifest would help enormously.
This seems much more stable than Lineage at the moment. Please note you *MUST* use TWRP 3.0.2-1, the non-test version, to install Vertex and a fastboot -w also can't hurt.
Cannot inatall gapps (Wrong Architecture)
Hi,
I installed VortexOS 1.9... but when I tried to install ARM64 7.1 pico Open gapps package then following Error occurs:
"ERROR 64: Wrong architecture to set-up Open GApps pre-bundled busybox"
I use TWRT 3.0.3-0 (kipper)
Any ideas what I made wrong?
best regards, Chuck
Vertex appears to be built as ARMv7, which means 32 bit. Try the 32 bit pico.
I installed fine with the nano apps and 64 bit, no issues
miSAKe said:
Firstly, thanks loads for producing these ROMs it is much appreciated. :good:
I am unfortunately having issues getting both this and your CypherOS rom to work.
After full wipes of everything both roms get stuck on the "Wileyfox powered by Android" boot screen.
I get the same result sideloading via adb and from the internal memory.
I have tried TWRP 3.0.2.0 and older versions, I have also tried old and new Cyanogen recoveries.
I have successfully got the Slimrom 7.1 rom working and the LineageOS 14.1 rom which also works but with many random reboots.
Any thoughts on what I might be missing when flashing your ROMs?
Again many thanks for the work.
Click to expand...
Click to collapse
Check the first post . i have been edit.
Chron0s said:
Any chance of grabbing your recipe for building this from source? Own personal use only. I have the VertexOS repo cloned. A copy of your roomservice and local manifest would help enormously.
This seems much more stable than Lineage at the moment. Please note you *MUST* use TWRP 3.0.2-1, the non-test version, to install Vertex and a fastboot -w also can't hurt.
Click to expand...
Click to collapse
show your PM.
Chron0s said:
Vertex appears to be built as ARMv7, which means 32 bit. Try the 32 bit pico.
Click to expand...
Click to collapse
NO NO
ARM64 ARMv8 .
ChuckeCheese said:
Hi,
I installed VortexOS 1.9... but when I tried to install ARM64 7.1 pico Open gapps package then following Error occurs:
"ERROR 64: Wrong architecture to set-up Open GApps pre-bundled busybox"
I use TWRT 3.0.3-0 (kipper)
Any ideas what I made wrong?
best regards, Chuck
Click to expand...
Click to collapse
1- check to wipe this partitions :
- SYSTEM
- CACHE
- Dalvick-cache.
- DATA
and dont forget to factory reset .
2- first install rom then Gapps. download from here http://bit.ly/2kQf3Le
PS-DEV said:
Check the first post . i have been edit.
Click to expand...
Click to collapse
Thanks again,
Unfortunately I could not get that recovery to work via TWRP 3.0.2.1 or fastboot.
I can flash it but not boot to recovery.
If booting the image directly I get
Code:
FAILED (remote: dtb not found)
I will try building it myself when I get some time.
miSAKe said:
Thanks again,
Unfortunately I could not get that recovery to work via TWRP 3.0.2.1 or fastboot.
I can flash it but not boot to recovery.
If booting the image directly I get
Code:
FAILED (remote: dtb not found)
I will try building it myself when I get some time.
Click to expand...
Click to collapse
You flash via TWRP or fastboot ??
And looking for the method to install TWRP 3.0.3.0 ?
And after chose recovery , you install in "boot" or "reocvery" section ?
PS-DEV said:
You flash via TWRP or fastboot ??
And looking for the method to install TWRP 3.0.3.0 ?
And after chose recovery , you install in "boot" or "reocvery" section ?
Click to expand...
Click to collapse
Both, from TWRP i selected recovery, this flashes but results in recovery not loading.
from fastboot the flash fails, as does booting the image via fastboot.
miSAKe said:
Both, from TWRP i selected recovery, this flashes but results in recovery not loading.
from fastboot the flash fails, as does booting the image via fastboot.
Click to expand...
Click to collapse
The phone boot to rom or not ??
PS-DEV said:
The phone boot to rom or not ??
Click to expand...
Click to collapse
Yes can still boot to Slimrom 7.1 with or without working recovery.
I have reverted to TWRP 3.0.2.1 though.
Thanks for your help.
miSAKe said:
Yes can still boot to Slimrom 7.1 with or without working recovery.
I have reverted to TWRP 3.0.2.1 though.
Thanks for your help.
Click to expand...
Click to collapse
Can you check your bootloader version ?
Because TWRP 3.0.3.0 Needs to kipper-13-.... bootloader
See the photo .
PS-DEV said:
Can you check your bootloader version ?
Because TWRP 3.0.3.0 Needs to kipper-13-.... bootloader
See the photo .
Click to expand...
Click to collapse
Got it kipper-12.1
I reverted to stock recently.
Solved the issue, thank you very much.
miSAKe said:
Got it kipper-12.1
I reverted to stock recently.
Solved the issue, thank you very much.
Click to expand...
Click to collapse
Stock firmware or what? ,, to install version 13 Bootloader , just install any nightly cm13 then back to recovery and install TWRP 3.0.3.0 ??.

i flashed gsi (project treble) image on bnd-l24 and booted with no problems

i had to find out if it will work followed this guide (https://www.xda-developers.com/flash-generic-system-image-project-treble-device) and it booted will try other project treble roms and report back here also eveything worked i didnt have a apk crash or force close the little time i used it also the camera apk worked great not as good as stock but not as bad as rros:laugh::laugh::laugh::laugh:
You flashed RR ph Treble or Lineage 15.1. How's the battery ? SOT? Does it support VOLTE?
Please Report
Honor 7x project treble
I flashed the Resurrection Remix phh-Treble and the LineageOS 15.1 phh-Treble will try the third and report back so far the battery life is normal haven't notice any abnormal drain and I can't confirm about the volte
dcraffam said:
i had to find out if it will work followed this guide (https://www.xda-developers.com/flash-generic-system-image-project-treble-device) and it booted will try other project treble roms and report back here also eveything worked i didnt have a apk crash or force close the little time i used it also the camera apk worked great not as good as stock but not as bad as rros:laugh::laugh::laugh::laugh:
Click to expand...
Click to collapse
Hi Dude, After seeing your message, I tried this on the Honor 7X BND AL10 with EMUI 8 (Manually updated) with the Lineage OS (ARM 64 A-ONLY DEVICE) using the fastboot method. I wiped everything including system and I tried with both stock recovery installed and Twrp recovery installed and I also tried wiping using fastboot "fastboot -w" command. After that I installed using the fastboot and it went well and shows as finished but when I tried to boot, it just doesn't boot at all. I don't even see the lineage OS boot logo or something and eventually it goes to Huawei E recovery.
Could you please tell me which version exactly you flashed like aosp or RR or Lineage and Arm 64 A-only device or AB-device etc... A lot of people would really appreciate that.
Thetpcguy said:
Hi Dude, After seeing your message, I tried this on the Honor 7X BND AL10 with EMUI 8 (Manually updated) with the Lineage OS (ARM 64 A-ONLY DEVICE) using the fastboot method. I wiped everything including system and I tried with both stock recovery installed and Twrp recovery installed and I also tried wiping using fastboot "fastboot -w" command. After that I installed using the fastboot and it went well and shows as finished but when I tried to boot, it just doesn't boot at all. I don't even see the lineage OS boot logo or something and eventually it goes to Huawei E recovery.
Could you please tell me which version exactly you flashed like aosp or RR or Lineage and Arm 64 A-only device or AB-device etc... A lot of people would really appreciate that.
Click to expand...
Click to collapse
im going to write a quick lil guide on how im doing this for you right now
.................................................HOW TO FLASH GSI ON HONOR 7X ................................
DO SO AT OWN RISK I HOLD NO LIABLILTY
LETS BEGIN
1 you must be on stock emui 8 you must not have a pin set or device encrypted or frp lock and boot loader must be unlocked
2 download one of the 3 images listed here ( https://www.xda-developers.com/flash-generic-system-image-project-treble-device/ )
( i personally only tried the ( LineageOS 15.1 phh-Treble Thread) and the (Resurrection Remix phh-Treble Thread) ((((((download the a only arm64image))))))))
3 download the 8.1 pico gaapps package for arm64 found here ( http://opengapps.org/ )
4 now you must download this twrp i know it works from the honor 7x oreo twrp ill upload it or you can download it from the thread
5 flash the twrp twrp_ramdisk_oreo_7-4-18.img linked in fastboot then reboot recovery (note) there will be two recoverys i upload one needed to flash the (gsi) and the other twrpimgmount_ramdisk.img is used to flash (((twrp backup)) to go back to stock oreo as the first one wont boot once the (gsi) is flashed only the mount twrp.img will the( twrp_ramdisk_oreo_7-4-18.img) will boot with the stock emui beta for some reason
6 create full backup with the twrp_ramdisk_oreo_7-4-18.img flashed in step 5 (personally i backed up everything i could )
7 factory reset data using twrp
8 flash the (gsi) image u downloaded in step 2 to system image .......... tap install change the type from zip to image select the (gsi) and flash to system image partion
9 flash pico gapps 8.1 arm 64 ( the rest are to big o flash ))
reboot device tada you booted a stock (gsi)
i couldnt upload recoveries but they can be found here https://forum.xda-developers.com/devdb/project/?id=25826#downloads
to go back to stock emui fastboot recovery flash the twrpimgmount.img factory reset and restore backup some partions will fail like bdm image,, data,, the partions that do uncheck those and restore backup agin flash stock recovery (RECOVERY_RAMDIS.img) and factory reset and you will be on emui8 agin
let me know if you have any problems im going t ry the phh treble aosp (gsi) now
Thetpcguy said:
Hi Dude, After seeing your message, I tried this on the Honor 7X BND AL10 with EMUI 8 (Manually updated) with the Lineage OS (ARM 64 A-ONLY DEVICE) using the fastboot method. I wiped everything including system and I tried with both stock recovery installed and Twrp recovery installed and I also tried wiping using fastboot "fastboot -w" command. After that I installed using the fastboot and it went well and shows as finished but when I tried to boot, it just doesn't boot at all. I don't even see the lineage OS boot logo or something and eventually it goes to Huawei E recovery.
Could you please tell me which version exactly you flashed like aosp or RR or Lineage and Arm 64 A-only device or AB-device etc... A lot of people would really appreciate that.
Click to expand...
Click to collapse
Try Flashing AOSP 8.1 ARM64 A-Only device system.img as its more updated than lineage or RROS.
Only, A-Only system.img should work on our device as per treble wiki on github.
TrainerRed said:
Try Flashing AOSP 8.1 ARM64 A-Only device system.img as its more updated than lineage or RROS.
Only, A-Only system.img should work on our device as per treble wiki on github.
Click to expand...
Click to collapse
Hi, I already flashed the AOSP version and it's booted up and working fine but I wanted the lineageOS as it has all the built in customisations. I just don't know why the lineage os didn't work as it was reported above the it's working. Maybe it's the variant thing? I have BND AL-10. I don't know Anyway thanks!!
Thetpcguy said:
Hi, I already flashed the AOSP version and it's booted up and working fine but I wanted the lineageOS as it has all the built in customisations. I just don't know why the lineage os didn't work as it was reported above the it's working. Maybe it's the variant thing? I have BND AL-10. I don't know Anyway thanks!!
Click to expand...
Click to collapse
How is the rom ? Is it can be used as daily driver ?
You still using AOSP or back to EMUI already ?
If you don't mind can you write review of Whats working and Whats Not?
TrainerRed said:
How is the rom ? Is it can be used as daily driver ?
You still using AOSP or back to EMUI already ?
If you don't mind can you write review of Whats working and Whats Not?
Click to expand...
Click to collapse
I installed it without any gapps or anything just bare minimum just to see if it boots or not. Here is what I observed during my short stay:laugh:
1. There is no VOLTE
2. The camera is working
3. I can't talk much about battery but there is no crazy drain as such so yeah
4. I don't know why you said it's the latest but the security patch is the same based on March, 2018 and it's android 8.1
5. The launcher seemed like the ice cream sandwich (Took me back to good ol days)
6. It felt smooth and unusual lag
I can't say much and suggest whether or not you can use it as a daily driver when I never used it as a daily driver. It's your call.
Hit the "Thanks" button if you really feel like thanking me:good:
dcraffam said:
.................................................HOW TO FLASH GSI ON HONOR 7X ................................
DO SO AT OWN RISK I HOLD NO LIABLILTY
LETS BEGIN
1 you must be on stock emui 8 you must not have a pin set or device encrypted or frp lock and boot loader must be unlocked
2 download one of the 3 images listed here ( https://www.xda-developers.com/flash-generic-system-image-project-treble-device/ )
( i personally only tried the ( LineageOS 15.1 phh-Treble Thread) and the (Resurrection Remix phh-Treble Thread) ((((((download the a only arm64image))))))))
3 download the 8.1 pico gaapps package for arm64 found here ( http://opengapps.org/ )
4 now you must download this twrp i know it works from the honor 7x oreo twrp ill upload it or you can download it from the thread
5 flash the twrp twrp_ramdisk_oreo_7-4-18.img linked in fastboot then reboot recovery (note) there will be two recoverys i upload one needed to flash the (gsi) and the other twrpimgmount_ramdisk.img is used to flash (((twrp backup)) to go back to stock oreo as the first one wont boot once the (gsi) is flashed only the mount twrp.img will the( twrp_ramdisk_oreo_7-4-18.img) will boot with the stock emui beta for some reason
6 create full backup with the twrp_ramdisk_oreo_7-4-18.img flashed in step 5 (personally i backed up everything i could )
7 factory reset data using twrp
8 flash the (gsi) image u downloaded in step 2 to system image .......... tap install change the type from zip to image select the (gsi) and flash to system image partion
9 flash pico gapps 8.1 arm 64 ( the rest are to big o flash ))
reboot device tada you booted a stock (gsi)
i couldnt upload recoveries but they can be found here https://forum.xda-developers.com/devdb/project/?id=25826#downloads
to go back to stock emui fastboot recovery flash the twrpimgmount.img factory reset and restore backup some partions will fail like bdm image,, data,, the partions that do uncheck those and restore backup agin flash stock recovery (RECOVERY_RAMDIS.img) and factory reset and you will be on emui8 agin
let me know if you have any problems im going t ry the phh treble aosp (gsi) now
Click to expand...
Click to collapse
Thanks for your detailed steps you documented.
But I did much simpiler. (but i did not flash gapps- so that would need to add some steps)
1. starting from stock EmUI 8 with stock recovery
2. Reboot to recovery perform factory reset.
3. when reset is done, while still in recovery plug in usb to phone and pc
4. select reboot, When screen goes off press and hold volume down. You will boot to fastboot
5. fastboot flash system C:\Users\Mr\Downloads\system-arm64-aonly.img
(your path to file will be different, unless you are also user "mr")
To return to stock do same steps but point fastboot flash to the stock emui system.img
Huawei camera works?
Which will you think better? Aosp lineages rr?
Thx
I tried flashing treble and lineage from twrp but neither worked on my bnd-l24. After flashing it just boots to the fastboot screen.
eskimowarrior7 said:
I tried flashing treble and lineage from twrp but neither worked on my bnd-l24. After flashing it just boots to the fastboot screen.
Click to expand...
Click to collapse
I have flashed to L24-- PHH RRos. It worked ok, gave a verdor image miss-match error.
did you factory reset before booting,
mrmazak said:
I have flashed to L24-- PHH RRos. It worked ok, gave a verdor image miss-match error.
did you factory reset before booting,
Click to expand...
Click to collapse
Yes, even tried the process a few more times. No luck.
eskimowarrior7 said:
Yes, even tried the process a few more times. No luck.
Click to expand...
Click to collapse
each time I started with flash stock recovery, then did factory reset
then from recovery reboot directly to fastboot
and fastboot flash system
mrmazak said:
Thanks for your detailed steps you documented.
But I did much simpiler. (but i did not flash gapps- so that would need to add some steps)
1. starting from stock EmUI 8 with stock recovery
2. Reboot to recovery perform factory reset.
3. when reset is done, while still in recovery plug in usb to phone and pc
4. select reboot, When screen goes off press and hold volume down. You will boot to fastboot
5. fastboot flash system C:\Users\Mr\Downloads\system-arm64-aonly.img
(your path to file will be different, unless you are also user "mr")
To return to stock do same steps but point fastboot flash to the stock emui system.img
Click to expand...
Click to collapse
Hi, Could you tell me which model and variant of Honor 7x you are using. I tried this on BND AL10 and it doesn't boot with all the stuff above. However, I could boot into AOSP GSI.
For BND AL10 users, Only the AOSP GSI is working but both the RR and the Lineage are not working. I tried all three with same method.
1. Wiped/ Factory reset
2. Installed using "fastboot flash system system.img"
I posted this message because I wasted a lot of time & data LOL so maybe this would be helpful to others. However, if somehow you manage to do it on AL10, please post it here.
Thetpcguy said:
Hi, Could you tell me which model and variant of Honor 7x you are using. I tried this on BND AL10 and it doesn't boot with all the stuff above. However, I could boot into AOSP GSI.
Click to expand...
Click to collapse
I'm using the L24
Thetpcguy said:
For BND AL10 users, Only the AOSP GSI is working but both the RR and the Lineage are not working. I tried all three with same method.
1. Wiped/ Factory reset
2. Installed using "fastboot flash system system.img"
I posted this message because I wasted a lot of time & data LOL so maybe this would be helpful to others. However, if somehow you manage to do it on AL10, please post it here.
Click to expand...
Click to collapse
Any updates if I can use it as my daily driver?

Color OS 7 (Realme UI) GSI images

Via Telegram:
Color OS 7 (Realme UI) - GSI Leaked
Any rooted users can flash this GSI
GSI link (A Only partition) oint_right: https://drive.google.com/file/d/11MROfyPiTsv1wc9yFPpMY0wVvwjnX_ov/view?usp=sharing
GSI link (AB partition) oint_right: https://drive.google.com/file/d/1w1tl0fCLe_fudsubCe2uE4khJJhXJQjD/view?usp=drivesdk
Permessiver V5 oint_right: https://androidfilehost.com/?fid=6006931924117940902
Flashing Instructions:
1. Clean wipe (except vendor / Internal storage)
2. Flash GSI (As system img partition)
3. Flash Permessiver v5
4. Reboot to system & Enjoy :heart:
Click to expand...
Click to collapse
I haven't tested it. Proceed at your own risk.
does not work, gives an error and the touch does not work, the a only version does not work, set the a \ b version, we wait for the instructions
Hmmm I wonder 8f the permissive zip might work to get Other GSI's to boot?
Touch issue
After booting this GSI in realme X2 pro touch didn't work . How to fix touch issue?
Did anyone fix the Touch issue
Ranserot said:
does not work, gives an error and the touch does not work, the a only version does not work, set the a \ b version, we wait for the instructions
Click to expand...
Click to collapse
Happened the same, did you manage to fix it?
Thanks..what's is the img file size for a only..

[Fastboot ROM] Stock Android 10 v11.0.11.0 April

Stock Android 10 Fastboot Rom Project
How i made is using payload dumper to unpack payload.bin file inside recovery rom and editing flashing scripts to be usable for this unpacked files.
Requirements
ADB must be installed on PC (Click to ADB to download if you dont have it)
Unlocked Bootloader( fastboot flashing unlock + fastboot flashing unlock_critical )
Steps to install
> Unzip zip file into desktop and open the folder.
> Then run flash_all.bat file and it will install the new update and reboot to system automatically.
(Your files will not be erased if you already unlocked bootloader.)
Latest - v11.0.11.0 - Global - April Security Patch
Recommended Server : Quebec, Canada
DO NOT MIRROR THE DOWNLOAD LINKS BEFORE ASKING ME !
AndroidFileHost - v11.0.11.0 April Security Patch
AndroidFileHost - All Versions
If you want to lock your bootloader after installing it , you can use flash_all_lock.bat OR i prefer to lock it manually by doing this;
Run flash_all.bat and make sure phone boots after installing then open fastboot mode and type
fastboot flashing lock_critical
Then phone will restart automatically into recovery and wipe data.
After screen goes black hold power + volume down button (to open fastboot again) then type
fastboot flashing lock
And after booting you can disable OEM unlock from developer options if you want to.
XDA:DevDB Information
[Fastboot ROM] Android 10 Update , ROM for the Xiaomi Mi A3
Contributors
TechGenius
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked Bootloader
Version Information
Status: Stable
Current Stable Version: 11.0.11.0
Stable Release Date: 2020-04-07
Created 2020-03-19
Last Updated 2020-04-07
XDA:DevDB Information
[Fastboot ROM] Stock Android 10, ROM for the Xiaomi Mi A3
Contributors
TechGenius
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Unlocked Bootloader
Version Information
Status: Stable
Current Stable Version: 11.0.11.0
Stable Release Date: 2020-04-07
Created 2020-04-07
Last Updated 2020-04-07
@TechGenius
thanks man
i updated my phone via ota rom
would you please put boot.img of this rom , it does not exist in ota file !
really good job bro thanks again
Is this possible on build with Magisk without twrp
Thanks dude!
Would your script flash on both slots A & B?
i does not go further than sending modem_b.
what can i do?
C:\Users\MingBee\Downloads\laurel_sprout_global_images_V11.0.11.0.QFQMIXM_10.0>fastboot flash modem_b "C:\Users\MingBee\Downloads\laurel_sprout_global_images_V11.0.11.0.QFQMIXM_10.0\images\modem.img" ||
Sending 'modem_b' (114084 KB)
Click to expand...
Click to collapse
Hi! Does it would update 11.0.7.0 with root and TWRP, without losing the data?
Thank you!!
any one that downloaded this rom please upload boot.img
#MmdRza said:
any one that downloaded this rom please upload boot.img
Click to expand...
Click to collapse
https://forum.xda-developers.com/sho...&postcount=340
PS
@TechGenius thanks for making Fastboot ROM for April build. You are truly a genius.
moyses said:
Is this possible on build with Magisk without twrp
Click to expand...
Click to collapse
#MmdRza said:
any one that downloaded this rom please upload boot.img
Click to expand...
Click to collapse
Have a look at THIS POST, you'll find the original boot and the pre-rooted one
HERE is the how-to guide and a list of original boots.
fuqi said:
i does not go further than sending modem_b.
what can i do?
Click to expand...
Click to collapse
did you solved?
Just installed using a notebook with windows 10 64Bit (i had issue with 32bit laptop)
Everything is fine but still receive the notification of android 10 update to install
i used a .bit file from a different release and it worked.
no update nag for me.
hi , at first thanks for your work!
2nd question: anibody have issues installing twrp? i' m stuck on fastboot everytime i try to install it.
Same issue here.
phillow said:
Same issue here.
Click to expand...
Click to collapse
i try to install the patched boot image in the previous page for having root with magisk, give it a try :good:
Is this the one that got pulled off?
Therion8594 said:
i try to install the patched boot image in the previous page for having root with magisk, give it a try :good:
Click to expand...
Click to collapse
Have you tried it ? I flashed 11.0.11.0 fastboot A10 on girls Mi A3 .. and rooted it without TWRP using magisk 20.4 and im facing reboot to fastboot issue instead to recovery after trying any possible custom recovery there is for this phone..
Masleyko said:
Have you tried it ? I flashed 11.0.11.0 fastboot A10 on girls Mi A3 .. and rooted it without TWRP using magisk 20.4 and im facing reboot to fastboot issue instead to recovery after trying any possible custom recovery there is for this phone..
Click to expand...
Click to collapse
Yes i don't know why but every recovery i've tried It go go fastboot..flash the boot image in the previous Page and everything work .
Therion8594 said:
Yes i don't know why but every recovery i've tried It go go fastboot..flash the boot image in the previous Page and everything work .
Click to expand...
Click to collapse
Because the twrp .IMG file was built only for pie. For Android 10 you will have to use this https://mega.nz/file/1HRAWYKQ#V9OmPxSy3r06qmW8uGszSEBp4qOBJMbmvsaCow2mTJw
Once it is flashed you can use the standard twrp or orangefox or shrp recovery.zip if you want to keep a custom recovery installed
Credits again to @Sapper Morton for creating this Android 10 flashable image
garylawwd said:
Because the twrp .IMG file was built only for pie. For Android 10 you will have to use this https://mega.nz/file/1HRAWYKQ#V9OmPxSy3r06qmW8uGszSEBp4qOBJMbmvsaCow2mTJw
Once it is flashed you can use the standard twrp or orangefox or shrp recovery.zip if you want to keep a custom recovery installed
Credits again to @Sapper Morton for creating this Android 10 flashable image
Click to expand...
Click to collapse
Yes, i've already flashed but i come back to MIUI for the battery, thanks anyway :good:

Stuck in fastboot after flashboot flash recovery twrp.img

Hello,
I tried to root my 9T(model M2010JI9SG) following this guide:
I used twrp from this link:
Xiaomi Mi 9T / Redmi K20
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
version 3.5.2_9-0
after I flashed twrp, I got into fastboot mode, which I can't leave.
I tried doing volume up +power, volume down+ power, and all the buttons as well, nothing worked, every time it goes back to fastboot,
I tried to redo everything, still didn't fix, and tried to flash stock via mi tool, didn't work too.
Please help me fix that,
Thanks!!!
Shahaf said:
Hello,
I tried to root my 9T(model M2010JI9SG) following this guide:
I used twrp from this link:
Xiaomi Mi 9T / Redmi K20
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
version 3.5.2_9-0
after I flashed twrp, I got into fastboot mode, which I can't leave.
I tried doing volume up +power, volume down+ power, and all the buttons as well, nothing worked, every time it goes back to fastboot,
I tried to redo everything, still didn't fix, and tried to flash stock via mi tool, didn't work too.
Please help me fix that,
Thanks!!!
Click to expand...
Click to collapse
OMG
You should first of all know your phone model
"Redmi 9T" reads as different name than "Mi 9T", isn't it?
Hence you MUST NEVER flash TWRP for Redmi K20/Mi 9T (guide clearly says it is for that phone, check the big picture in your post) to your Redmi 9T
oh damn, I can fix that somehow?
Shahaf said:
oh damn, I can fix that somehow?
Click to expand...
Click to collapse
Check on twrp.me is there TWRP for your Redmi 9T
Or download the so called Fastboot/TGZ ROM for your M2010JI9SG, extract recovery.img (stock Recovery) and flash it back over the wrong TWRP
For more details search on XDA for Redmi 9T subforum (this one is for Mi 9T), there should be users and freaks who can better help you for the same phone
zgfg said:
Check on twrp.me is there TWRP for your Redmi 9T
Or download the so called Fastboot/TGZ ROM for your M2010JI9SG, extract recovery.img (stock Recovery) and flash it back over the wrong TWRP
For more details search on XDA for Redmi 9T subforum (this one is for Mi 9T), there should be users and freaks who can better help you for the same phone
Click to expand...
Click to collapse
Thank you, I will check with them!
Shahaf said:
Thank you, I will check with them!
Click to expand...
Click to collapse
Here you can find firmwares for lime:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
You should (?) know what was your installed firmware, download the same Fastboot/tgz and extract (TGZ=Tar+GZIP) your original stock recovery.img, and flash it from Fastboot (just like you flashed the wrong TWRP)
You could also use MiFlash tool to flash the whole firmware, but it must be not needed
zgfg said:
Here you can find firmwares for lime:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
You should (?) know what was your installed firmware, download the same Fastboot/tgz and extract (TGZ=Tar+GZIP) your original stock recovery.img, and flash it from Fastboot (just like you flashed the wrong TWRP)
You could also use MiFlash tool to flash the whole firmware, but it must be not needed
Click to expand...
Click to collapse
It worked!!! now my device is working, now in order to root, which twrp should I use?
Shahaf said:
It worked!!! now my device is working, now in order to root, which twrp should I use?
Click to expand...
Click to collapse
You don't need TWRP. Extract boot.img (like you extracted recovery.img). Install Magisk apk and use the method Install (Magisk), then Select and patch your boot.img (do not tick Recovery option)
Find the patched img in Download folder, transfer to PC and flash from Fastboot - this time to boot partition, not to recovery partition
If anything goes wrong, flash back the stock boot img
Btw, on that Redmi 9T, do you have A12 (or A11 or what) and is it MTK chipset?
Generally, use Magisk Stable v23 from TJW:
Magisk/README.MD at master · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
But if A12 or MTK and if it ain't work, you can try Magisk Alpha ('pilot' builds for the new Magisk to be soon? released)
zgfg said:
You don't need TWRP. Extract boot.img (like you extracted recovery.img). Install Magisk apk and use the method Install (Magisk), then Select and patch your boot.img (do not tick Recovery option)
Find the patched img in Download folder, transfer to PC and flash from Fastboot - this time to boot partition, not to recovery partition
If anything goes wrong, flash back the stock boot img
Btw, on that Redmi 9T, do you have A12 (or A11 or what) and is it MTK chipset?
Generally, use Magisk Stable v23 from TJW:
Magisk/README.MD at master · topjohnwu/Magisk
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
But if A12 or MTK and if it ain't work, you can try Magisk Alpha ('pilot' builds for the new Magisk to be soon? released)
Click to expand...
Click to collapse
I tried to do it, after I patched boot.img I transfered it to my PC and did fastboot boot boot_patched.img
it did ok on sending, but then failed on booting(unknown command), any fix for that?
Flash (not boot) a healthy un-patched stock "boot.img" that is signed with your ROM version to the device and see if that works.
Shahaf said:
I tried to do it, after I patched boot.img I transfered it to my PC and did fastboot boot boot_patched.img
it did ok on sending, but then failed on booting(unknown command), any fix for that?
Click to expand...
Click to collapse
fastboot boot xxx.img boots one time to the xxx.img
For flashing (permanently) to boot you need to use:
fastboot flash boot xxx.img
Before flashing the 'stock' or patched boot img, pls double check: compare your firmware name in Settings / My device against the fastbboot/tgz package you downloaded and extracted the boot.img from
Recovery images might be the same for several firmwares, but boot.img is more critical. If extracted from the wrong firmware, it will not be your real stock boot.img and will not boot
You can use this app (now when your phone boots) to download and look for the proper firmware:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
Shahaf said:
It worked!!! now my device is working, now in order to root, which twrp should I use?
Click to expand...
Click to collapse
I would trust to the following thread on Xiaomi.eu forum, to find the suitable TWRP for your device.
Post #1, link to AFH, then scroll to lime (if that's the code name for your Redmi 9T):
[TWRP][RECOVERY] List of relevant recovery in one place
https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/ I have compiled a list of relevant recovery in one place, i think it will be useful. Updates are monitored each day. Welcome, friends! How to install TWRP https://xiaomi.eu/community/threads/installing-a-custom-recovery.67841/
xiaomi.eu
Based on experience with my 9T I would pick
twrp-3.5.2_10-3-lime-brigudav.img
I.e., Xoaomi.eu provides weekly and stable firmwares that are usually well ahead of the official firmwares (on my Mi 9T, daily driver and businesses phone I was 9 months on their weeklies until I switched to their Stable two months ago)
The point is that Xiaomi.eu firmwares for most phones (I just checked, Redmi 9T is on the list) require TWRP to flash
That means if people recommend the TWRP as there, it nust be the right one
Once you have TWRP you can back up your boot partition. You will get boot.emmc.win and that will be your exact stock boot.img
You can still use the Patch and Flash method to install Magisk (as described you earlier), by patching that boot.emmc.win
zgfg said:
I would trust to the following thread on Xiaomi.eu forum, to find the suitable TWRP for your device.
Post #1, link to AFH, then scroll to lime (if that's the code name for your Redmi 9T):
[TWRP][RECOVERY] List of relevant recovery in one place
https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/ I have compiled a list of relevant recovery in one place, i think it will be useful. Updates are monitored each day. Welcome, friends! How to install TWRP https://xiaomi.eu/community/threads/installing-a-custom-recovery.67841/
xiaomi.eu
Based on experience with my 9T I would pick
twrp-3.5.2_10-3-lime-brigudav.img
I.e., Xoaomi.eu provides weekly and stable firmwares that are usually well ahead of the official firmwares (on my Mi 9T, daily driver and businesses phone I was 9 months on their weeklies until I switched to their Stable two months ago)
The point is that Xiaomi.eu firmwares for most phones (I just checked, Redmi 9T is on the list) require TWRP to flash
That means if people recommend the TWRP as there, it nust be the right one
Once you have TWRP you can back up your boot partition. You will get boot.emmc.win and that will be your exact stock boot.img
You can still use the Patch and Flash method to install Magisk (as described you earlier), by patching that boot.emmc.win
Click to expand...
Click to collapse
it worked! thank you

Categories

Resources