Skip to content

Commit 6684afd

Browse files
committed
Upload file
1 parent 8720096 commit 6684afd

10 files changed

Lines changed: 50 additions & 6 deletions

File tree

common/src/main/java/com/omarea/common/shell/ShellExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private static String getEnvPath() {
1717
if (extraEnvPath != null && !extraEnvPath.isEmpty()) {
1818
if (defaultEnvPath.isEmpty()) {
1919
try {
20-
Process process = Runtime.getRuntime().exec("/system/bin/sh");
20+
Process process = Runtime.getRuntime().exec("sh");
2121
OutputStream outputStream = process.getOutputStream();
2222
outputStream.write("echo $PATH".getBytes());
2323
outputStream.flush();
@@ -75,6 +75,6 @@ public static Process getSuperUserRuntime() throws IOException {
7575
}
7676

7777
public static Process getRuntime() throws IOException {
78-
return getProcess("/system/bin/sh");
78+
return getProcess("sh");
7979
}
8080
}
200 Bytes
Binary file not shown.

pio/src/main/assets/home/etc/lang/default.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,5 +289,15 @@ apex_text_2="File support: apex, capex"
289289
build_time_text_1="ROM build time"
290290
build_time_text_2="Automatic: 0, can be changed, for example: 1766318047"
291291

292+
# other
292293
xoaoat_text_1="Clean oat and odex entries"
293294
open_activity_text="Open folder: "
295+
296+
# boot
297+
boot_text_1="Java is being installed in the background..."
298+
boot_text_2="Java installation completed"
299+
boot_text_3="Debug version"
300+
boot_text_4="10 minutes of app usage."
301+
boot_text_5="The debug version can only be used for 10 minutes."
302+
boot_text_6="The trial time for the debug version has expired."
303+
boot_text_7="Warning: The application has been modified. Please download the official version from GitHub: Zenlua/Tool-Tree"

pio/src/main/assets/home/etc/lang/hu.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,3 +291,12 @@ build_time_text_2="Automatikus: 0, módosítható, például: 1766318047"
291291

292292
xoaoat_text_1="Bejegyzések törlése oat és odex"
293293
open_activity_text="Mappa megnyitása: "
294+
295+
# boot
296+
boot_text_1="A Java telepítése a háttérben folyamatban van..."
297+
boot_text_2="A Java telepítése befejeződött"
298+
boot_text_3="Hibakeresési verzió"
299+
boot_text_4="10 perc alkalmazáshasználat."
300+
boot_text_5="A hibakeresési verzió csak 10 percig használható."
301+
boot_text_6="A hibakeresési verzió próbaideje lejárt."
302+
boot_text_7="Figyelmeztetés: Az alkalmazást módosították. Kérjük, töltse le a hivatalos verziót a GitHubról: Zenlua/Tool-Tree"

pio/src/main/assets/home/etc/lang/ru.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,12 @@ build_time_text_2="Автоматически: 0, можно изменить,
290290

291291
xoaoat_text_1="Очистить элементы oat и odex"
292292
open_activity_text="Открыть папку: "
293+
294+
# boot
295+
boot_text_1="Java устанавливается в фоновом режиме..."
296+
boot_text_2="Установка Java завершена"
297+
boot_text_3="Отладочная версия"
298+
boot_text_4="10 минут использования приложения."
299+
boot_text_5="Отладочная версия может использоваться только в течение 10 минут."
300+
boot_text_6="Время пробного использования отладочной версии истекло."
301+
boot_text_7="Предупреждение: приложение было изменено. Пожалуйста, скачайте официальную версию с GitHub: Zenlua/Tool-Tree"

pio/src/main/assets/home/etc/lang/vi.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,3 +291,12 @@ build_time_text_1="Thời gian xây dựng rom"
291291
build_time_text_2="Tự động: 0, có thể thay đổi ví dụ: 1766318047"
292292
xoaoat_text_1="Dọn dẹp mục oat và odex"
293293
open_activity_text="Mở thư mục: "
294+
295+
# boot
296+
boot_text_1="Java đang cài đặt ở chế độ nền..."
297+
boot_text_2="Java đã cài đặt xong"
298+
boot_text_3="Phiên bản gỡ lỗi"
299+
boot_text_4="10 phút sử dụng ứng dụng."
300+
boot_text_5="Phiên bản gỡ lỗi chỉ được phép sử dụng trong 10 phút."
301+
boot_text_6="Thời gian dùng thử của phiên bản gỡ lỗi đã hết."
302+
boot_text_7="Cảnh báo ứng dụng đã bị chỉnh sửa, hãy tải ở web GitHub: Zenlua/Tool-Tree với phiên bản chính thức"

pio/src/main/assets/home/etc/lang/zh.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,12 @@ build_time_text_2="自动:0,可更改,例如:1766318047"
289289

290290
xoaoat_text_1="清理 oat 和 odex 项"
291291
open_activity_text="打开文件夹:"
292+
293+
# boot
294+
boot_text_1="Java 正在后台安装..."
295+
boot_text_2="Java 安装完成"
296+
boot_text_3="调试版本"
297+
boot_text_4="可使用应用 10 分钟。"
298+
boot_text_5="调试版本仅允许使用 10 分钟。"
299+
boot_text_6="调试版本的试用时间已结束。"
300+
boot_text_7="警告:应用程序已被修改。请从 GitHub 下载官方版本:Zenlua/Tool-Tree"

pio/src/main/assets/home/etc/start-early.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [[ "$websum" != "$(checksum "$PATH_APK")" ]];then
2121
else
2222
[ -f $TEMP/update ] && rm -f $TEMP/update
2323
fi
24-
) &>>$TEMP/Install.log &
24+
) &>>$TEMP/Install.log &
2525

2626
(
2727
# Cấp quyền tự động nếu đã root
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
exec dalvikvm -Xcompiler-option --compiler-filter=quicken -Xverify:none -cp $ETC/apksigner.jar com.android.apksigner.ApkSignerTool "$@"
1+
exec dalvikvm -Xcompiler-option --compiler-filter=speed -Xverify:none -cp $ETC/apksigner.jar com.android.apksigner.ApkSignerTool "$@"

pio/src/main/java/com/projectkr/shell/SplashActivity.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ class SplashActivity : AppCompatActivity() {
218218

219219
it.waitFor()
220220
}
221-
} catch (e: Exception) {
222-
e.printStackTrace()
223221
} finally {
224222
withContext(Dispatchers.Main) {
225223
gotoHome()

0 commit comments

Comments
 (0)