You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix f226572029 Merge branch 'master' of MartinX3/dualsim-patcher into master 2 months ago
META-INF/com/google/android implementing toybox support 2 months ago
tmp fixing 'Checking if already patched' 2 months ago
vintf Add manifest stuff 3 months ago
.gitignore adding idea to the .gitignore 2 months ago
README.md Update README to add license 2 months ago
create_zip.sh refactoring the code 2 months ago

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.