Skip to content

Instantly share code, notes, and snippets.

@bkw777
Last active July 14, 2025 01:57
Show Gist options
  • Save bkw777/8d988031fd20756dc46aa6f26ac0a76f to your computer and use it in GitHub Desktop.
Save bkw777/8d988031fd20756dc46aa6f26ac0a76f to your computer and use it in GitHub Desktop.
Sony Xperia 1 VI rooted firmware update
Xperia 1 VI - XQ-EC72 HK
firmware update notes
This is for a HongKong device in the USA.
https://xdaforums.com/t/tool-xperifirm-xperia-firmware-downloader-v5-7-1.2834142/
https://xdaforums.com/t/tool-newflasher-xperia-command-line-flasher.3619426/
https://xdaforums.com/t/tool-unsin-sin-v3-v4-v5-unpacker-v2-0.3128106/
-------------------------------------------
xperia boot modes:
flash mode: green "*"
power off
hold vol- + power
or
power off, disconnect usb
hold vol- while connecting usb
fastboot mode: blue "*"
power off, disconnect usb
hold vol+ while connecting usb
fastbootd mode: fastboot with menu
power on
enable usb debugging
connect usb
adb reboot fastboot
recovery:
boot to fastbootd
select recovery from menu
--------------------------------------------
DOWNLOAD NEW FIRMWARE
mono XperiFirm-x64.exe
"Xperia 1 VI" -> "XQ-EC72_Customized HK"
Click the highest version under "Available Firmware:" on the right.
Download
Desktop->Personal->Documents->Xperia_1VI
Scroll to bottom and wait for completed successfully
close & exit
---------------------------------------------
FLASH NEW FIRMWARE
boot phone to flash mode
cd XQ-EC72_Customized\ HK_69.0.A.2.49/
sudo ../newflasher.x64
keep user data? y
reboot mode? a
dump trim area? n
---------------------------------------------
MAGISK ROOT
cd XQ-EC72_Customized\ HK_69.0.A.2.49/ (already done above)
../unsin init_boot_X-FLASH-ALL-88DF.sin
adb shell rm /storage/emulated/0/Download/init_boot_*
adb shell rm /storage/emulated/0/Download/magisk_patched-*
adb push init_boot_X-FLASH-ALL-88DF.img /storage/emulated/0/Download
run Magisk app on phone
install -> select & patch -> menu (top-left) -> Open From -> Downloads -> init_boot_X-FLASH-ALL-88DF.img
LET'S GO->
back, back (exit Magisk app)
adb shell ls -l /storage/emulated/0/Download/magisk_patched-*
(copy the full filename to paste below)
adb pull /storage/emulated/0/Download/magisk_patched-28000_gSpbO.img
adb reboot fastboot
fastboot flash init_boot magisk_patched- (press tab to autocomplete)
fastboot flash init_boot magisk_patched-28000_gSpbO.img
fastboot reboot
---------------------------------------------
---------------------------------------------
ENABLE 5G
Dial: *#*#4636#*#*
phone information
Enable DSDS: toggle, toggle back
(Might be off & back on, or on & back off.
Toggle away from whichever way you normally want it, and back to however you normally want it.
DSDS is dual sim support, but the 2nd SIM slot is also the SD card slot, and you can only use one or the other.
If you're using the SD card slot, then you might have DSDS normally off because you can't use a 2nd SIM anyway.)
reboot
---------------------------------------------
ENABLE DUAL SIM
The DSDS setting can become disabled and un-usable. Can't toggle it on & off.
There are a few different ways to re-enable it:
on-device in a terminal app (requires root on the device):
su -c setprop persist.radio.multisim.config dsds
Or from pc (requires root on the device):
adb shell su -c setprop persist.radio.multisim.config dsds
Or, untested, but doesn't need root and doesn't wipe data, and might work because firmwares come with new "persist" files:
Just (re)install a firmware update via newflasher the normal way.
Or as a last ditch, a factory reset does restore it, but you lose all data.
----------------------------------------------
ENABLE VoWIFI, VoLTE, VoNR:
Install Shizuku, Pixel IMS
Shizuku
start for rooted devices
authorize app, Pixel IMS
Pixel IMS
Gear (carrier Sim-1)
enable VoLTE, VoNR, VoWIFI, LTE+
May uninstall Shizuku and Pixel IMS as long as SIM and firmware doesn't change.
Settings survive reboots but are lost any time the SIM changes or when firmware updated (newflasher).
-----------------------------------------------
eSIM:
Dual-sim version of phone has no e-sim support, but e-sim cards work.
5ber sim card with either 5ber App or OpenEUICC Magisk module
-----------------------------------------------
Delete system apps:
(really just disables, but more thoroughly than normal)
Get Magisk & root
Most apps:
De-Bloater app from fdroid, search:
gameenhancer
wellbeing
retaildemo
assistant
parentalcontrols
velvet
autoinstalls
chrome
dropbox
uimremoteclient
prediction
datadisclaimer
basicdreams
stk
traceur
wallpaperbackup
LinkedIn & Facebook:
adb shell
$ su -
# pm uninstall --user 0 com.facebook.katana
# pm uninstall --user 0 com.linkedin.android
-----------------------------------------------
===============================================================================
experiments
Possible way to edit a system fs?:
unsin oem.sin (example)
mount oem.img /mnt, modify, umount /mnt
- but what about verity? signing? -
fastboot flash ?partition_name? oem.img
in this case possibly
fastboot flash oem_a oem.img
or
fastboot flash oem_b oem.img
disable verity:
Does not work. "Your device is corrupt" boot loop.
newflasher fixes.
No data loss but must re-do DSDS off-on regain 5G, re-flash magisk patched init_boot to regain root.
cd XQ-EC72_Customized\ HK_69.0.A.2.49
../unsin vbmeta*.sin
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_X-FLASH-ALL-88DF.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system_X-FLASH-ALL-88DF.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment