From 08a10ce3bb59ca2cefee33fe38e2f35b4c186dff Mon Sep 17 00:00:00 2001 From: jabashque Date: Mon, 5 Feb 2024 21:36:03 +0000 Subject: [PATCH] raviole: 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 --- oriole/extract-files.sh | 4 ++++ raven/extract-files.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/oriole/extract-files.sh b/oriole/extract-files.sh index 42c283a..26bd03b 100755 --- a/oriole/extract-files.sh +++ b/oriole/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}" diff --git a/raven/extract-files.sh b/raven/extract-files.sh index 2d77708..5ee76d1 100755 --- a/raven/extract-files.sh +++ b/raven/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}"