Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#modify Android GSI system Image # System image option ## - https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-%28GSI%29-list ## - https://sourceforge.net/projects/andyyan-gsi/files/lineage-20-light/ #resize the image fallocate -l 3500M system.img resize2fs system.img 3500M #mount the image mkdir mnt sudo mount system.img mnt #THIS IS WHERE YOU MAKE CHANGES TO THE SYSTEM #unmount image sudo umount mnt #now resize the image by removing empty space e2fsck -yf system.img resize2fs -M system.img e2fsck -yf system.img #now install it adb reboot bootloader wget https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img fastboot reboot fastboot fastboot delete-logical-partition product fastboot delete-logical-partition product_a fastboot delete-logical-partition product_b fastboot erase userdata fastboot erase cache fastboot flash system system.img fastboot -w fastboot reboot
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)