Moto G60s - TrebleDroid/treble_experimentations GitHub Wiki

Moto G60s

Modell: xt2133-2, Stock OS: Released with Android 11, upgradeable to Android 12, CPU: Mediatek MT6785V/CD Helio G95

after enabling Android developer mode (7-tap), oem unlock in the menu and adb itself

oem unlock

fastboot oem get_unlock_data
# bring the multiple lines into one line (do not crop the zeroes, your code will be different): 3A6500...00000
fastboot oem unlock <code>

fastboot

adb reboot bootloader # go to regular fastboot
wget https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot fastboot # goto fastbootd for using dynamic partitions

fastbootd

fastboot getvar is-userspace # is-userspace: yes
fastboot getvar current-slot # current-slot: a -> use in following _slot partition
fastboot delete-logical-partition product_a
fastboot flash system system.img 
# if you see 'Not enough space to resize partition':
# delete logical product and product_b partition too
# and re-run fastboot flash system
fastboot erase userdata
fastboot erase metadata
fastboot reboot

GSI tested

those at least boot and have no fundamental issue, but see hw support table

  • iode-5.14-20250622-arm64_ab.img (official)
  • A15-GrapheneOS-Beta4.img (unofficial, by Nullvalue, xda)
  • CalyxOS-15-6.4.2-unofficial.img (unofficial, by Nullvalue, xda)
  • crDroid-10.13-arm64_bvN-Unofficial.img (unofficial, by naz664, github)
  • /e/OS 3.0.2-a15-20250706-microG-gsi.img (unofficial, by Colors, sforge)
  • /e/OS 3.1-a15-20250801-microG-gsi.img (unofficial, by Colors, sforge)

Hardware support table

for /e/OS 3.0.2-a15-20250706-microG-gsi

Component Comment
Display Works
Camera Works
Speaker / Mic Works
Fingerprint Works
WiFi Works
Bluetooth Works
NFC Not functional
FM Radio Untested
SDCard Untested
MTP Untested
SIM / Mobile Data Works
VoLTE Not functional*

(* tested with phh ims-mtk-s.apk download)

troubleshooting / rescue

if you accidentally removed the system or vendor partition in a slot (adjust accordingly), the size to re-create it is

fastboot create-logical-partition system_a 2121382080
fastboot create-logical-partition vendor_a 398480

see full fastbootd getvar log for partitions and sizes

(bootloader) partition-size:preloader_raw_b:0x3FF000
(bootloader) partition-size:preloader_raw_a:0x3FF000
(bootloader) partition-size:userdata:0x1AD1FF8000
(bootloader) partition-size:metadata:0x2000000
(bootloader) partition-size:misc:0x80000
(bootloader) partition-size:boot_b:0x2000000
(bootloader) partition-size:vendor_boot_a:0x4000000
(bootloader) partition-size:vendor_boot_b:0x4000000
(bootloader) partition-size:para:0x80000
(bootloader) partition-size:sdc:0x1DCB000000
(bootloader) partition-size:boot_a:0x2000000
(bootloader) partition-size:super:0x2A8000000
(bootloader) partition-size:md_udc:0x169A000
(bootloader) partition-size:system_b:0x3CBA6000
(bootloader) partition-size:system_ext_b:0x2F5EC000
(bootloader) partition-size:vendor_b:0x2708B000
(bootloader) partition-size:system_a:0xD48AD000
(bootloader) partition-size:system_ext_a:0x2F5EE000
(bootloader) partition-size:vendor_a:0x27083000

return to stockrom and relock

  1. pick the proper market region and latest version at the lolinet mirror. For the retail-europe region it is XT2133-2_LISBON_RETEU_12_S3RLS32.114-25-13_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
  2. unpack the zip, generate a flashing script with motorola_flash_xml or motoflash2sh from the servicefile.xml or use this gist
  3. enter fastboot mode (the earliest bootloader mode - not fastbootd) and run the flashing script
  4. after the flash and once the device successfully booted, return to the bootloader and run fastboot oem lock
⚠️ **GitHub.com Fallback** ⚠️