From a7c5ab4d8bbf318e2b9f44664713c99cd3a04c15 Mon Sep 17 00:00:00 2001 From: jabashque Date: Mon, 5 Feb 2024 21:36:03 +0000 Subject: [PATCH] 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 --- lynx/extract-files.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lynx/extract-files.sh b/lynx/extract-files.sh index e4ab42d..3a893b0 100755 --- a/lynx/extract-files.sh +++ b/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}"