Dual-SIM patcher for Sony phones (might be outdated)
Go to file
Felix 45e0f292c3 Hopefully re-enable A/B devices 2020-01-10 16:08:23 +01:00
META-INF/com/google/android Hopefully re-enable A/B devices 2020-01-10 16:08:23 +01:00
tmp Hopefully re-enable A/B devices 2020-01-10 16:08:23 +01:00
vintf Add manifest stuff 2019-05-12 13:39:40 +02:00
.gitignore adding idea to the .gitignore 2019-05-30 22:25:50 +02:00
README.md Update README to add license 2019-05-22 22:13:23 +02:00
create_zip.sh create_zip: Bump to v4 2019-12-24 01:50:56 +01:00

README.md

Dual-SIM patcher for Sony phones

META-INF/com/google/android/updater-script mounts /system and, if needed, /vendor, then runs tmp/patch_dualsim.sh.

Tasks

  • Read model from LTALabel partition
  • Set ro.telephony.default_network based on model detected from LTALabel
  • Set persist.vendor.radio.multisim.config=dsds
  • Change ro.product.vendor.model to <Devicename> Dual (AOSP)
  • Change all references of the single-SIM model name to the dual-SIM one
  • Patch /vendor/etc/vintf/manifest.xml to add a second instance of telephony-related HALs

How-to

Simple create a .zip file with the META-INF and tmp folders included, then flash via TWRP.

For reference, a copy of the kagura dual-SIM manifest.xml is included in vintf/ds_manifest.xml.

License

MIT license.

Credits to @gouster4 for the inital version of the DS patcher and to @oshmoun for writing the regex.