Last active
April 6, 2025 21:31
-
-
Save bkw777/8d988031fd20756dc46aa6f26ac0a76f to your computer and use it in GitHub Desktop.
Sony Xperia 1 VI rooted firmware update
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
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-0.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 | |
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 rm /storage/emulated/0/Download/init_boot_* | |
adb 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-* | |
or just use tab autocomplete | |
abd pull /storage/emulated/0/Download/magisk_patched- (press tab to autocomplete) | |
adb pull /storage/emulated/0/Download/magisk_patched-28000_gSpbO.imgg | |
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 off and then back on | |
reboot | |
--------------------------------------------- | |
ENABLE DUAL SIM | |
If DSDS setting unavailable: | |
local term app w/root: | |
su -c "setprop persist.radio.multisim.config dsds" | |
or from pc: | |
adb setprop persist.radio.multisim.config dsds | |
or factory reset (lose all data) | |
or possibly, install new firmware via newflasher (answer Y to keep user data) | |
most data is preserved but new firmware includes persist files and maybe that resets this setting | |
---------------------------------------------- | |
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 doesn't change. | |
Settings survive reboots but are lost any time the SIM changes. | |
----------------------------------------------- | |
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 | |
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