Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
res/ | 04-Jul-2025 | - | 298 | 175 | ||
src/com/android/customlocale2/ | 04-Jul-2025 | - | 691 | 448 | ||
.gitignore | D | 04-Jul-2025 | 47 | 6 | 5 | |
Android.bp | D | 04-Jul-2025 | 184 | 11 | 9 | |
AndroidManifest.xml | D | 04-Jul-2025 | 1.9 KiB | 54 | 33 | |
README.md | D | 04-Jul-2025 | 728 | 38 | 25 |
README.md
1## Build 2 3m CustomLocale 4 5## Install 6 7### New install 8 9```shell 10adb root && adb remount && adb reboot 11adb wait-for-device && adb root && adb remount 12 13APP_PATH="/system/priv-app/CustomLocale/" 14adb shell mkdir ${APP_PATH} || true 15adb push ${OUT}${APP_PATH} ${APP_PATH} 16adb reboot 17``` 18 19### Reinstall 20 21```shell 22APP_PATH="/system/priv-app/CustomLocale/" 23adb install -r ${OUT}${APP_PATH} ${APP_PATH} 24``` 25 26 27## How to use 28 29Just launch the activity, or use following ADB command. 30 31```shell 32adb shell am broadcast -a com.android.intent.action.SET_LOCALE \ 33 --es com.android.intent.extra.LOCALE ${TARGET_LOCALE} com.android.customlocale2 34``` 35 36`${TARGET_LOCALE}` can be either 2 chars (e.g. `en`, `iw`) 37or 5 chars (e.g. `en_US`, `iw_IL`) 38