Browse Source

lynx: Enable Osaifu-Keitai on non-Japanese SKUs

https://github.com/kormax/osaifu-keitai-google-pixel/

Test 1 & 2 on a Global SKU Google Pixel 6a (bluejay):
- Observe that Osaifu-Keitai doesn't function WITHOUT this change.
- Observe that Osaifu-Keitai functions normally WITH this change.

Test 3 & 4 on a Japanese SKU Google Pixel Fold (felix):
- Observe that Osaifu-Keitai functions normally WITHOUT this change.
- Observe that Osaifu-Keitai continues to function normally WITH this change.

Change-Id: I9faac2e130714a41e6922b62d2019dae0d615a3b
Signed-off-by: AnierinB <[email protected]>
jabashque 1 year ago
parent
commit
a7c5ab4d8b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lynx/extract-files.sh

+ 4 - 0
lynx/extract-files.sh

@@ -61,6 +61,10 @@ fi
 
 function blob_fixup() {
     case "${1}" in
+        product/etc/felica/common.cfg)
+            [ "$2" = "" ] && return 0
+            sed -i -e '$a00000018,1' -e '/^00000014/d' -e '/^00000015/d' "${2}"
+            ;;
         vendor/etc/init/init.modem_logging_control.rc)
             [ "$2" = "" ] && return 0
             sed -i 's/ && property:ro.debuggable=0//' "${2}"