Skip to content

Instantly share code, notes, and snippets.

View pureexe's full-sized avatar
💻
No

Pakkapon Phongthawee pureexe

💻
No
View GitHub Profile
@danpawlik
danpawlik / Setup-GSI-Image.md
Last active September 19, 2025 15:43
Flashing GSI on Xiaomi Mi 11T Pro (vili) treble phhusson

Installation

Steps:

With computer

  1. Unlock bootloader
  2. sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (stock or google)
  3. sudo fastboot erase system
  4. sudo fastboot flash system Gsi.img
  5. If you have an error in step 5 "not enough space to resize partition": sudo fastboot delete-logical-partition product_b (if fastboot getvar all "current-slot" is a, run: sudo fastboot delete-logical-partition product_a - https://www.droidwin.com/fix-failed-remote-not-enough-space-to-resize-partition/)
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
tools:context="com.promlert.class17_09_2017.MainActivity">