• Home
Name Date Size #Lines LOC

..--

res/04-Jul-2025-298175

src/com/android/customlocale2/04-Jul-2025-691448

.gitignoreD04-Jul-202547 65

Android.bpD04-Jul-2025184 119

AndroidManifest.xmlD04-Jul-20251.9 KiB5433

README.mdD04-Jul-2025728 3825

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