FORUMS
Remove All Ads from XDA

Android Pie Treble Project DP3 DP4 DP5 PR1 Guide

124 posts
Thanks Meter: 49
 
Post Reply Email Thread
Android "P" is the upcoming ninth major version of the Android operating system. It was first announced by Google on March 7, 2018, and the first developer preview was released on the same day. The second developer preview is expected to be released at the next Google I/O developer conference.

Requirements :
Qcom fully treblized device with 8.1 vendor

Global Bugs :
VoLTE

Device specific Bugs :
Mi5 = Reboot Loop into TWRP (Fixed by restore files)
Quote:

ANDROID P DP3
installation :
- Flash [JDCTeam][TREBLE][v4][Gemini] The Full Treble support project HERE
- Unzip and Flash P-DP3-sGSI.img HERE
- Flash POST-sGSI_1_v0.9.zip HERE
- Flash POST-sGSI_2_v0.12.zip HERE
- Flash POST-sGSI_3.zip HERE
- Flash P-lag-fix.zip file below thread
- Flash incall2.zip HERE
- Reboot
When flashing POST-sGSI untill incall shown error in twrp, Go back to TWRP Home > Mount > check vendor and system

After bootup, you need to install Google Play services 12.8.72 (100400-202717283) HERE

If you are facing with bug Reboot Loop(always reboot into TWRP) you need to restore this backup file from me.
Unzip and put that folder at TWRP/Backups
Goto TWRP > Restore > Check system and vendor only > Reboot.

Quote:

SECOND METHOD : Restore before 1st boot.
- Flash [JDCTeam][TREBLE][v4][Gemini] The Full Treble support project HERE
- Unzip and Flash P-DP3-sGSI.img HERE
- Flash POST-sGSI_1_v0.9.zip HERE
- Flash POST-sGSI_2_v0.12.zip HERE
- Flash POST-sGSI_3.zip HERE
- Restore this backup file
(Make sure choose System and Vendor only, Dont choose boot, system image, or vendor image and the size is 2101MB).
- Flash P-lag-fix.zip file below thread
- Flash incall2.zip HERE
- Reboot (If stuck at google logo about 3-5mins, try to force shutdown your phone, and turn it on again... it should be work.)

Quote:

ANDROID P DP4
CLEAN FLASH IS HIGHLY RECOMMEND
- Flash [JDCTeam][TREBLE][v4][Gemini] The Full Treble support project HERE
- Unzip and Flash P-DP4-sGSI-Aonly.zip HERE
- Flash POST-sGSI_1_v0.11.zip HERE
- Flash POST-sGSI_2_v0.14.zip HERE
- Flash POST-sGSI_3.zip HERE
- Restore this backup file
(Make sure choose System and Vendor only, Dont choose boot, system image, or vendor image and the size is 2180MB).
- Incall.zip already included. Dont need to flash it.
- Flash p-lag-fix DP4.zip file below thread
- Reboot
If your device become reboot loop into TWRP, like in DP3
- Restore this backup file
(Make sure choose System and Vendor only, Dont choose boot, system image, or vendor image and the size is 2180MB).

Quote:

ANDROID P DP5
CLEAN FLASH IS HIGHLY RECOMMEND
- Flash [JDCTeam][TREBLE][v4][Gemini] The Full Treble support project HERE
- Unzip and Flash P-DP5-sGSI-Aonly.zip HERE
- Flash POST-sGSI_1_v0.13.zip HERE
- Flash POST-sGSI_2_v0.16.zip HERE
- Flash POST-sGSI_3 v0.2.zip HERE
- Flash lag-fix-DP5 attached below.
- Mount Vendor on TWRP
- Go to TWRP Advanced->Terminal, type the following and press enter
echo persist.sys.disable_rescue=true >> /vendor/build.prop
- Reboot to System

IF YOU STILL REBOOT INTO RECOVERY AFTER 1ST BOOT.
after flash POST-sGSI_3 v0.2.zip

- Restore this backup file
(Make sure choose System and Vendor only, Dont choose boot, system image, or vendor image and the size is 2180MB).
- Incall.zip already included. Dont need to flash it.
- Flash lag-fix-DP5 attached below.
- Reboot

Quote:

Android P Public Release 1 (PR1)
1. Flash JDCTeam Full Treble Support Project
2. UNZIP and flash Pie A-only as System Image.
3. Mount System and Vendor on TWRP
4. Flash POST-sGSI_1_v0.14.zip
5. Flash POST-sGSI_2_v0.17.zip
6. Flash POST-sGSI_3_v0.2.zip
7. Mount System and Vendor on TWRP
8. Flash p-lag-fix.zip (Attached Below)
9. Mount Vendor on TWRP
10. Go to TWRP Advanced - Terminal, type the following and press enter
echo persist.sys.disable_rescue=true >> /vendor/build.prop
11. Reboot to System
12. Install Google Play Services Apk, reboot and proceed normally.

Quote:

REBOOT LOOP THIRD METHOD by mlira1 and Maixf
1. Flash JDCTeam Full Treble Support Project
2. Flashi DP3/DP4 System Image
3. Mount System and Vendor on TWRP
4. Flash POST-sGSI_1
5. Flash POST-sGSI_2
6. Flash POST-sGSI_3 (skip if going to flash custom kernel)
7. (only if going to flash custom kernel) Flash fix.zip (attached below)
8. (optional) Flash custom kernel
9. (optional) Flash Magisk
10. Mount System and Vendor on TWRP
11. (only if flashed custom kernel) Flash POST-sGSI_3
12. Flash p-lag-fix DP3/4/5.zip
13. Mount Vendor on TWRP
14. Go to TWRP Advanced->Terminal, type the following and press enter
echo persist.sys.disable_rescue=true >> /vendor/build.prop
15. Reboot to System
16. Install Google Play Services Apk, reboot and proceed normally

Quote:

TIPS

Quote:

Mi5 'Fingerprint Always On' On Android P (Unlock when screen off, and without press any button. Just touch it FP)
- Root your Mi5 with 16.4/16.6 Treble version
- Install Karnel Auditor
- Go to Tab, Select Custom Control
- Press "+", and import this .json file
- Press 3 dots at there, check 'on boot'
- Reboot

Quote:

Mi5 Fingerprint as Home by rmrbpt
- Root your Mi5 with 16.4/16.6 Treble version
- Install Karnel Auditor
- Go to Tab, Select Custom Control
- Press "+", and import this .json file
- Press 3 dots at there, check 'on boot'
- Reboot

Quote:

Mi5 Double Tap to Wakeup Android P
- Root your mi5 with 16.4/16.6 Treble version
- Open Karnel Auditor
- Go to Tab
- Find 'Wake'
- Turn it on, and apply on boot
- Reboot

Quote:

Disable backlight button
Flash Disable Backlight.zip from Magisk !
Attached below.

Quote:

Fix Battery Drain Issue
Still working on it
Alternative for it
- Dissable Dev Mode in Setting
or
- Try custom karnel

Quote:

Get Blue accent / Pixel theme
Add this to your /vendor/build.prop, save and reboot:

Code:
ro.boot.vendor.overlay.theme=com.google.android.theme.pixel

Quote:

MTP Not Detected
- Goto Setting
- System > Advanced > Dev Options > Choose File Transfer at USB Default Configuration

Quote:

How to flash custom kernel on P GSI
FLASHING CUSTOM KARNEL CAUSING YOU CANNOT ENABLE MTP FORVER AND CHARGING FROM PC/LAPTOP

- Follow instruction from flashing JDC untill POST GSI 2, dont flash POST GSI 3.
- Flash Custom Karnel
- Reboot
- Clean Flash is the only way to fix it for now

Quote:

Fix/Solution Arnova/BSG/other dev Gcam lag when changging between front and back camera on P
- Flash Camera Switch Lag Fix.zip, attached below.

Attached Files
File Type: zip p-lag-fix.zip - [Click for QR Code] (500.8 KB, 1712 views)
File Type: zip Magisk-v16.4-Treble.zip - [Click for QR Code] (4.36 MB, 454 views)
File Type: zip p-lag-fix DP4.zip - [Click for QR Code] (500.9 KB, 932 views)
File Type: zip Magisk-v16.7 Treble.zip - [Click for QR Code] (4.07 MB, 3816 views)
File Type: zip fix.zip - [Click for QR Code] (350.0 KB, 830 views)
File Type: zip p-lag-fix_DP5.zip - [Click for QR Code] (500.9 KB, 1420 views)
File Type: zip pr1-lag-fix.zip - [Click for QR Code] (500.9 KB, 1584 views)
File Type: zip Camera Switch Lag Fix.zip - [Click for QR Code] (973.0 KB, 204 views)
File Type: zip Disable Backlight.zip - [Click for QR Code] (4.9 KB, 46 views)
The Following 21 Users Say Thank You to bukandenny For This Useful Post: [ View ] Gift bukandenny Ad-Free
 
 
16th July 2018, 03:26 PM |#2  
Junior Member
Thanks Meter: 10
 
More
Terribly sorry but at what point did you make that "backup file"? I couldn't fix bootloop without your backup. Just wondering, since it's so large and probably mi5-only maybe you could just give us instructions how to make a working system without using someone else's backup?
16th July 2018, 03:30 PM |#3  
Member
Thanks Meter: 10
 
More
After restore, have been stuck in G logo for 25 minutes, just followed the instruction
16th July 2018, 03:58 PM |#4  
bukandenny's Avatar
OP Senior Member
Flag Batam
Thanks Meter: 49
 
More
Quote:
Originally Posted by mansonstein

After restore, have been stuck in G logo for 25 minutes, just followed the instruction

Try select system only. goodluck.
16th July 2018, 04:02 PM |#5  
bukandenny's Avatar
OP Senior Member
Flag Batam
Thanks Meter: 49
 
More
Quote:
Originally Posted by mansonstein

After restore, have been stuck in G logo for 25 minutes, just followed the instruction

dont choose system image and vendor image.
but system and vendor only
16th July 2018, 04:46 PM |#6  
Member
Thanks Meter: 10
 
More
Quote:
Originally Posted by bukandenny

dont choose system image and vendor image.
but system and vendor only

Yes, exactly, and I tried just system and just vendor, all stucked in G logo. Someway else to try? What causes reboot loop? Thx
16th July 2018, 06:18 PM |#7  
Member
Thanks Meter: 10
 
More
If anyone successed, please let me know how you did it.
16th July 2018, 07:52 PM |#8  
bukandenny's Avatar
OP Senior Member
Flag Batam
Thanks Meter: 49
 
More
Quote:
Originally Posted by mansonstein

If anyone successed, please let me know how you did it.

3 times i used that way, and always work.
asking someone to do that, its work.
16th July 2018, 08:11 PM |#9  
musabcel's Avatar
Senior Member
Flag Elazığ
Thanks Meter: 531
 
More
[YOUTUBE]W6OYl5Bfu1g[/YOUTUBE]
The Following User Says Thank You to musabcel For This Useful Post: [ View ] Gift musabcel Ad-Free
16th July 2018, 09:03 PM |#10  
bukandenny's Avatar
OP Senior Member
Flag Batam
Thanks Meter: 49
 
More
Quote:
Originally Posted by mansonstein

If anyone successed, please let me know how you did it.

try second methode above.
17th July 2018, 08:35 AM |#11  
Junior Member
Thanks Meter: 4
 
More
https://drive.google.com/open?id=1Vr...p2dFiN-rzhOeNO

I've tried both the methods , but I always end up at this error, please help.
It asks for password and then just reboots into recovery.
There's also a pop up stating "There's internal problem, please contact manufacturer for details"

The above link has the images of the issue.
It would be really helpful if someone can help me boot this rom up. Thank you.
Post Reply Subscribe to Thread

Tags
android p mi5, mi5, mi5 p

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

Advanced Search
Display Modes