FORUMS
Remove All Ads from XDA

[GUIDE][ProjectTreble]Create a vendor partition for cancro to flash a PT GSI IMAGE

188 posts
Thanks Meter: 139
 
Post Reply Email Thread
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_..._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/1Fc0...ew?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/14Ek...ew?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...32744536984188

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/19TU...ew?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/12uF...ew?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/1aYi...ew?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_...ew?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-6...ew?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/pro...reble-t3831915

Update 2018-10-20
Fix App FC
Fix OMX
Fix GPS
Note:Pie 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
Attached Thumbnails
Click image for larger version

Name:	WechatIMG13.jpeg
Views:	3660
Size:	12.3 KB
ID:	4569915   Click image for larger version

Name:	WechatIMG14.jpeg
Views:	3610
Size:	148.5 KB
ID:	4569916   Click image for larger version

Name:	WechatIMG15.jpeg
Views:	2926
Size:	60.2 KB
ID:	4569917   Click image for larger version

Name:	WechatIMG16.jpeg
Views:	2848
Size:	107.0 KB
ID:	4569918   Click image for larger version

Name:	WechatIMG17.jpeg
Views:	2742
Size:	40.4 KB
ID:	4569919   Click image for larger version

Name:	WechatIMG18.jpeg
Views:	2936
Size:	74.6 KB
ID:	4569920   Click image for larger version

Name:	WechatIMG19.jpg
Views:	3510
Size:	187.5 KB
ID:	4569921  
The Following 27 Users Say Thank You to gujiangjiang For This Useful Post: [ View ] Gift gujiangjiang Ad-Free
 
 
12th August 2018, 07:57 AM |#2  
Yuan Xi's Avatar
Member
Thanks Meter: 2
 
More
前排支持
Supported ahead.
The Following User Says Thank You to Yuan Xi For This Useful Post: [ View ] Gift Yuan Xi Ad-Free
12th August 2018, 08:13 AM |#3  
Shiroyasha21's Avatar
Senior Member
Thanks Meter: 42
 
Donate to Me
More
wow nice treble for our cancro,
is internal storage formatted or not?
The Following User Says Thank You to Shiroyasha21 For This Useful Post: [ View ] Gift Shiroyasha21 Ad-Free
12th August 2018, 08:17 AM |#4  
JulianJenner's Avatar
Senior Member
Flag Arnhem
Thanks Meter: 1,921
 
More
Thanks for new thread.

小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.8.
The Following User Says Thank You to JulianJenner For This Useful Post: [ View ] Gift JulianJenner Ad-Free
12th August 2018, 08:18 AM |#5  
gujiangjiang's Avatar
OP Senior Member
Flag Nanjing
Thanks Meter: 139
 
Donate to Me
More
Quote:
Originally Posted by Shiroyasha21

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

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.
The Following User Says Thank You to gujiangjiang For This Useful Post: [ View ] Gift gujiangjiang Ad-Free
12th August 2018, 08:34 AM |#6  
gujiangjiang's Avatar
OP Senior Member
Flag Nanjing
Thanks Meter: 139
 
Donate to Me
More
Changed files to Google Driver instead of BaiduYun Disk.
12th August 2018, 09:19 AM |#7  
Senior Member
Thanks Meter: 11
 
More
Mi3 not supported(
12th August 2018, 09:34 AM |#8  
Junior Member
Thanks Meter: 3
 
More
酷安基佬前来支持
12th August 2018, 02:33 PM |#9  
Member
Thanks Meter: 12
 
More
酷安基佬来一波🌸🐔

Sent from my Essential Products PH-1 using XDA Labs
12th August 2018, 03:14 PM |#10  
Member
Thanks Meter: 11
 
More
酷安前来支持!
Come from Coolapk.
The Following User Says Thank You to ZHQzhq087 For This Useful Post: [ View ] Gift ZHQzhq087 Ad-Free
13th August 2018, 02:19 AM |#11  
Junior Member
Thanks Meter: 5
 
More
Supported ahead( 前排吃瓜)
Guy from Coolapk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes