- Unlock bootloader
sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img(stock or google)sudo fastboot erase systemsudo fastboot flash system Gsi.img- 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/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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"> |