Skip to content

Instantly share code, notes, and snippets.

@rupansh
Forked from kdrag0n/Notes.md
Last active July 23, 2018 12:08
Show Gist options
  • Save rupansh/548577a167cae67a5d81569966132671 to your computer and use it in GitHub Desktop.
Save rupansh/548577a167cae67a5d81569966132671 to your computer and use it in GitHub Desktop.
Android P semi-GSI notes

Credit: Rupansh, ZeroInfinity, kdrag0n

MAIN DOWNLOAD FOLDER: https://androidfilehost.com/?w=files&flid=275999

TABLE OF CONTENTS

Devices

Not sure if your device is supported? Firstly, check this wiki for tested devices.

Not in the wiki? Make sure your device has Treble by installing this app.

If your device has a tick on the first box, CONGRATULATIONS! Your device is treble supported! If you have the second box ticked as well, your device has A/B partitioning. If it is NOT ticked, your device has A only partitioning.

New devices

Contribute to the wiki.

ONLY IF IT BOOTS!

(PS. This page is not for noobs. If you are one, Just send us a screenshot of About phone)

Also check out the device template and if possible, make a device page of your device!

Known bugs

  • Play Store (update GMS, fix below)
  • VoLTE (No, No, No, and No, don't even ask)

Device specific

  • Lag (type #lagfix in the Telegram group)
  • Night mode
  • No haptic feedback for fingerprint and hw keys
  • No hw keys backlight
  • No audio incall (fix below)
  • Gcam settings, panorama, etc FC
  • Anything other than this is a vendor related issue! (report to your dev with meaningful logcats or change your vendor/treble ROM base)

Mirrors

Google Drive mirror for A-only P GSI DP3

Unofficial A/B version

Unofficial A/B DP4 download

Unoffical A/B DP3 download

Mirror if AFH is having issues

Don't flash the post zip 3 (POST-sGSI_3.zip).

How to install

OP5/5T

This post is specifically for the OP5 and OP5T but you can use it as a general guideline: https://forum.xda-developers.com/showpost.php?p=77078240&postcount=14

For example in step 4, replace Mokee ROM with a treble ROM of your choice for your device.

Mi A1 (Tissot)

https://forum.xda-developers.com/mi-a1/how-to/guide-install-android-p-dp3-mi-a1-t3817937

Encryption

Format data and internal storage. If the ROM auto encrypts again, you need as no verity zip to patch your boot.img. Find one for your device on XDA, I would start looking in your device forum first and ask around if you can't find one for your device.

Kicked to recovery when booting

As soon as it kicks you back into recovery, press on the button where the recents button is and it will bring up a display log. Tell us if it says inituser0failed or RescueParty. Mention what your device is if you haven't already.

New navbar

Settings > System > Gestures > Swipe up on Home button

Magisk

As of 16.7, it should work for most devices. In the case that it does not work for your device, please read below.

There are several Magisk versions you can try out. Type any of the following in the Telegram group:

  • #magisk
  • #magisk2
  • #magisk3

ADB fix

For those who are unable to get ADB normally, flash this zip in TWRP.

Battery drain

If you are getting unusual battery drain, disable ADB (USB debugging) in developer options.

Camera

Install Open Camera to test camera - Camera 2 API is not supported on some devices!

Library of GCam mods (not all of them will work, depends on the device): https://www.celsoazevedo.com/files/android/google-camera/

Recommended (again, does not work for all devices): https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.apk

Known issue for many devices: Gcam settings force closes, and panorama/lens blur/photo sphere may not work

Updating GMS / Play Store / finishing setup / persistent notification bugs

Install this APK like any other - via Files, Chrome, ADB, etc.

Disable software/hardware keys

We are not responsible if any of your keys stop working! Root required. Full guide here.

In-call audio fix

Mount System and Vendor in TWRP, then flash incall2.zip

MTP workaround

May not work for all devices

  • Enable developer settings (Please google to know if you don't know)
  • Scroll down to select Default USB Configuration
  • Select File Transfer

If this doesn't fix MTP, get a logcat at the time you attach your phone to pc and send it here.

Blue accent / Pixel theme

Add this to your /vendor/build.prop, save and reboot:

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

Message @Iacuna on telegram if you face any problems.

How to flash custom kernel

  • Flash your desired custom kernel
  • Flash POST-sGSI_3.zip (doesn't apply to A/B)
  • Reboot

It may fix the LED issue on mido.

Source: @Maximilis (bang him if it doesn't work for you instead of me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment