diff --git a/Android Tool/.idea/libraries/KotlinJavaRuntime.xml b/Android Tool/.idea/libraries/KotlinJavaRuntime.xml
index 1a7265d..ae2f683 100644
--- a/Android Tool/.idea/libraries/KotlinJavaRuntime.xml
+++ b/Android Tool/.idea/libraries/KotlinJavaRuntime.xml
@@ -6,6 +6,11 @@
+
+
+
+
+
@@ -14,6 +19,11 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Android Tool/out/artifacts/Android_Tool_jar/Android_Tool.zip b/Android Tool/out/artifacts/Android_Tool_jar/Android_Tool.zip
index af794ea..f82e629 100644
Binary files a/Android Tool/out/artifacts/Android_Tool_jar/Android_Tool.zip and b/Android Tool/out/artifacts/Android_Tool_jar/Android_Tool.zip differ
diff --git a/Android Tool/out/artifacts/Android_Tool_jar/adb.exe b/Android Tool/out/artifacts/Android_Tool_jar/adb.exe
index 1c75897..270a0ed 100644
Binary files a/Android Tool/out/artifacts/Android_Tool_jar/adb.exe and b/Android Tool/out/artifacts/Android_Tool_jar/adb.exe differ
diff --git a/Android Tool/out/artifacts/Android_Tool_jar/fastboot.exe b/Android Tool/out/artifacts/Android_Tool_jar/fastboot.exe
index 60ad0cb..1337643 100644
Binary files a/Android Tool/out/artifacts/Android_Tool_jar/fastboot.exe and b/Android Tool/out/artifacts/Android_Tool_jar/fastboot.exe differ
diff --git a/Android Tool/out/artifacts/Android_Tool_jar/libwinpthread-1.dll b/Android Tool/out/artifacts/Android_Tool_jar/libwinpthread-1.dll
index 202ec47..ed00b46 100644
Binary files a/Android Tool/out/artifacts/Android_Tool_jar/libwinpthread-1.dll and b/Android Tool/out/artifacts/Android_Tool_jar/libwinpthread-1.dll differ
diff --git a/Android Tool/out/artifacts/Android_Tool_jar/make_f2fs.exe b/Android Tool/out/artifacts/Android_Tool_jar/make_f2fs.exe
index fa71cb5..685fae7 100644
Binary files a/Android Tool/out/artifacts/Android_Tool_jar/make_f2fs.exe and b/Android Tool/out/artifacts/Android_Tool_jar/make_f2fs.exe differ
diff --git a/Android Tool/out/artifacts/Android_Tool_jar/mke2fs.exe b/Android Tool/out/artifacts/Android_Tool_jar/mke2fs.exe
index d083f27..9ade576 100644
Binary files a/Android Tool/out/artifacts/Android_Tool_jar/mke2fs.exe and b/Android Tool/out/artifacts/Android_Tool_jar/mke2fs.exe differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$1$AndroidTool.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$1$AndroidTool.class
index 9ce676a..8d6773a 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$1$AndroidTool.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$1$AndroidTool.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$1.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$1.class
index bf84735..b984a28 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$1.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$1.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker$doInBackground$fileNameFilter$1.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker$doInBackground$fileNameFilter$1.class
index 9dbf40b..ffeb7c4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker$doInBackground$fileNameFilter$1.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker$doInBackground$fileNameFilter$1.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker.class
index 2ee1865..342b9a0 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$10$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$10.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$10.class
index 5edf6f1..f55bc9f 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$10.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$10.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$11$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$11$MyWorker.class
index b62bf65..3cb706c 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$11$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$11$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$11.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$11.class
index 669c91e..0647215 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$11.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$11.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$12$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$12$MyWorker.class
index 9f3a826..114c789 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$12$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$12$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$12.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$12.class
index cfdb561..cd89e3c 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$12.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$12.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$13$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$13$MyWorker.class
index bfabae6..aa61b87 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$13$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$13$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$13.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$13.class
index 68bc2b4..387d7e6 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$13.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$13.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$14$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$14$MyWorker.class
index b245e77..2bfe145 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$14$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$14$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$14.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$14.class
index 32f05d5..5407120 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$14.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$14.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$15$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$15$MyWorker.class
index 4d1d04d..2d982fe 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$15$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$15$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$15.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$15.class
index 30803c3..65d6ded 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$15.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$15.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$16$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$16$MyWorker.class
index 5e77392..f16d733 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$16$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$16$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$16.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$16.class
index af11f54..3a766f1 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$16.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$16.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$17$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$17$MyWorker.class
index df096dd..bc39276 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$17$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$17$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$17.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$17.class
index e145a86..7a74bd1 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$17.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$17.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$18$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$18$MyWorker.class
index b015b03..b13c765 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$18$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$18$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$18.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$18.class
index 6cb8db6..067d688 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$18.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$18.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$19$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$19$MyWorker.class
index 96dfb95..5a11a59 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$19$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$19$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$19.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$19.class
index 6f66b6e..3ff4d83 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$19.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$19.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$2.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$2.class
index 95a5575..e32ec22 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$2.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$2.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$20$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$20$MyWorker.class
index 887b079..3f7fa69 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$20$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$20$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$20.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$20.class
index 81396bb..87ccc30 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$20.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$20.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$21$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$21$MyWorker.class
index 3c41cf8..891da5a 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$21$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$21$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$21.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$21.class
index b68384a..bdba2d2 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$21.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$21.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$22$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$22$MyWorker.class
index d8fd340..eaa66bf 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$22$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$22$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$22.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$22.class
index 31a7a43..45c2d12 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$22.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$22.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$23$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$23$MyWorker.class
index 7d8f6f4..0788823 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$23$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$23$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$23.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$23.class
index 177066f..9653cc4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$23.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$23.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$24$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$24$MyWorker.class
index b544111..237aedc 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$24$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$24$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$24.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$24.class
index 419f04f..6bc3e56 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$24.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$24.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$25$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$25$MyWorker.class
index 4e51d14..c2ba251 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$25$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$25$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$25.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$25.class
index 0733b27..83fdd06 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$25.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$25.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$26$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$26$MyWorker.class
index deffddd..c3b95a8 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$26$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$26$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$26.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$26.class
index c44e41d..f28b2a4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$26.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$26.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$27$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$27$MyWorker.class
index dec5d9f..20c2685 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$27$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$27$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$27.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$27.class
index 9fe8650..c696a8b 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$27.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$27.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$28$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$28$MyWorker.class
index 43712ec..6c6835e 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$28$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$28$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$28.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$28.class
index 231f707..1d5fded 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$28.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$28.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$29$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$29$MyWorker.class
index 320c3b1..d4c392c 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$29$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$29$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$29.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$29.class
index 72bfc0b..2f4e626 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$29.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$29.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$3.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$3.class
index 77d2d66..d7d80e1 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$3.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$3.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$30$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$30$MyWorker.class
index ccc4509..444a6b7 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$30$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$30$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$30.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$30.class
index 4f340d4..21c6099 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$30.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$30.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$31.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$31.class
index 691fcd6..c4946db 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$31.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$31.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$32.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$32.class
index 8403837..50b916d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$32.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$32.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$33.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$33.class
index c8b0069..01a8aaf 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$33.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$33.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$34.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$34.class
index 702528b..2b0c7f2 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$34.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$34.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$35.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$35.class
index cd11718..ba1ac81 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$35.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$35.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$36.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$36.class
index 3bba66a..71e2cdd 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$36.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$36.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$37.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$37.class
index d7c10c8..5774f4b 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$37.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$37.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$38.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$38.class
index 4504e33..e347fc1 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$38.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$38.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$39.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$39.class
index 7713931..36a3c33 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$39.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$39.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$4.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$4.class
index 3c62bc8..cc4ed10 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$4.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$4.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$40.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$40.class
index 08a4884..ea41996 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$40.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$40.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$41.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$41.class
index 6227af8..9338ecf 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$41.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$41.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$42.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$42.class
index 2bc6d05..317799a 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$42.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$42.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$43.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$43.class
index 04a3a34..4c0e9ac 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$43.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$43.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$44.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$44.class
index 6e05702..efb96c9 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$44.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$44.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$45.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$45.class
index eb6d330..e1bcd05 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$45.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$45.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$46.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$46.class
index 1416ff4..2fe80f8 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$46.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$46.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$47.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$47.class
index 8b05fb3..13a5330 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$47.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$47.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$48.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$48.class
index e428aaf..e4faa9c 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$48.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$48.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$49.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$49.class
index 4c99ca3..61b3310 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$49.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$49.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$5.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$5.class
index f614690..c75f0f9 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$5.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$5.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$50.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$50.class
index 7fa3498..9c3b2e8 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$50.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$50.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$51.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$51.class
index af3e247..59de42e 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$51.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$51.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$52.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$52.class
index 533ed04..f1c8838 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$52.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$52.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$53.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$53.class
index a177271..57840d4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$53.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$53.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$54.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$54.class
index 0b293e3..92d9d97 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$54.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$54.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$55.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$55.class
index 803dcf9..02fe50b 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$55.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$55.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$56.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$56.class
index bab7224..7002ae4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$56.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$56.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$57.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$57.class
index fade421..ab8f34f 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$57.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$57.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$58.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$58.class
index 6e067b1..ebfae62 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$58.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$58.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$59.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$59.class
index 64272b0..50513d5 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$59.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$59.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$6.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$6.class
index 54d2936..f3bfbd9 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$6.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$6.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$60.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$60.class
index 90a5670..9b9c1cb 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$60.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$60.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$61.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$61.class
index 1aefa22..25023e4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$61.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$61.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$62.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$62.class
index e570fe9..8b04040 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$62.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$62.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$63.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$63.class
index a17c13c..01525dc 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$63.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$63.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$64.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$64.class
index 71c5f85..13e9ffe 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$64.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$64.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$65.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$65.class
index b15c1c6..577d012 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$65.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$65.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$66.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$66.class
index 5765b96..6d2153d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$66.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$66.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$67.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$67.class
index 526efaf..60c4908 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$67.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$67.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$68.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$68.class
index 6980caa..17ebbf3 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$68.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$68.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$69.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$69.class
index 8ccd6e9..25a7d9c 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$69.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$69.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$7.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$7.class
index beff2f3..0d7d4cc 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$7.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$7.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$70.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$70.class
index 34f97c3..735ca20 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$70.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$70.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$71.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$71.class
index f248250..a78317a 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$71.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$71.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$72.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$72.class
index e602b67..cf0b0b5 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$72.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$72.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$73.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$73.class
index d2bfe0d..edeeea3 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$73.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$73.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$74.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$74.class
index 0dc695a..315d71d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$74.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$74.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$75.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$75.class
index a0b3099..997cd67 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$75.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$75.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$76.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$76.class
index 5c725e0..95f42b4 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$76.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$76.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$77.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$77.class
index 9dd680d..39658ec 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$77.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$77.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$78.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$78.class
index aaaf1d2..0cb04b7 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$78.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$78.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$79.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$79.class
index 7a721fe..4386399 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$79.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$79.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$8.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$8.class
index 2a6d523..e361b97 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$8.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$8.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$80.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$80.class
index 99e3377..b74f8e2 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$80.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$80.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$81.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$81.class
index 1b0be1b..438989d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$81.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$81.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$82.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$82.class
index 5102167..6d3d58d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$82.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$82.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$83.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$83.class
index bfaf300..7c79f46 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$83.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$83.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$84.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$84.class
index 28e4b67..829f48f 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$84.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$84.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$85.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$85.class
index cecfef9..a0a740d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$85.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$85.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$86.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$86.class
index b6ac7f3..60bfd5f 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$86.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$86.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$87.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$87.class
index 6d8577f..040c55d 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$87.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$87.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$9$MyWorker.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$9$MyWorker.class
index ccbf623..f9675c3 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$9$MyWorker.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$9$MyWorker.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt$main$9.class b/Android Tool/out/production/Android Tool/AndroidToolKt$main$9.class
index c24b0e0..1775789 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt$main$9.class and b/Android Tool/out/production/Android Tool/AndroidToolKt$main$9.class differ
diff --git a/Android Tool/out/production/Android Tool/AndroidToolKt.class b/Android Tool/out/production/Android Tool/AndroidToolKt.class
index 23df464..b7a5a1e 100644
Binary files a/Android Tool/out/production/Android Tool/AndroidToolKt.class and b/Android Tool/out/production/Android Tool/AndroidToolKt.class differ
diff --git a/Android Tool/src/AndroidTool.kt b/Android Tool/src/AndroidTool.kt
index a5c064f..a7a12ea 100644
--- a/Android Tool/src/AndroidTool.kt
+++ b/Android Tool/src/AndroidTool.kt
@@ -21,35 +21,16 @@ fun runUrl(url:String){
val urlString = URI(url)
Desktop.getDesktop().browse(urlString)
}
-fun start(){
- val builderStart = ProcessBuilder("cmd.exe", "/c", "cd \"$directoryWorking\"")
- val valStart = builderStart.start()
- valStart.waitFor()
-}
-fun simpleCommand(command:String){
- val builderCommand = ProcessBuilder("cmd.exe", "/c", command)
- val valCommand = builderCommand.start()
- valCommand.waitFor()
-}
-fun end(){
- val builderEnd = ProcessBuilder("cmd.exe" , "/c", "adb kill-server")
- val valEnd = builderEnd.start()
- valEnd.waitFor()
-}
////DefaultCommands////
var arrayList = emptyArray()
-val directoryWorking: String = System.getProperty("user.dir")
var selectedDirectoryPath = ""
var selectedFileAbsolutePath = ""
var selectedFilePath = ""
val listModel = DefaultListModel()
fun main() {
- start()
- val builderStartAdb = ProcessBuilder("cmd.exe", "/c", "adb devices")
- builderStartAdb.start()
-
+ Runtime.getRuntime().exec( "adb devices")
FlatDarculaLaf.install()
JFrame.setDefaultLookAndFeelDecorated(true)
val frame = JFrame("Android Tool")
@@ -59,8 +40,7 @@ fun main() {
frame.isResizable = false
frame.setLocationRelativeTo(null)
frame.iconImage = Toolkit.getDefaultToolkit().getImage({class AndroidTool() {} }::class.java.getResource("/icon/frameIcon.png"))
- frame.addWindowListener(object : WindowAdapter() { override fun windowClosing(e: WindowEvent) { end() } })
-
+ frame.addWindowListener(object : WindowAdapter() { override fun windowClosing(e: WindowEvent) { Runtime.getRuntime().exec("adb kill-server") } })
val adbPanel = JPanel()
adbPanel.layout = null
@@ -71,7 +51,7 @@ fun main() {
val list = JList(listModel)
val scrollPane = JScrollPane()
scrollPane.setViewportView(list)
- scrollPane.setBounds(325, 25, 550, 225)
+ scrollPane.setBounds(328, 25, 550, 225)
adbPanel.add(scrollPane)
////ScrollPane////
@@ -90,7 +70,7 @@ fun main() {
////TextArea////
val textAreaInput=JTextArea("You can enter app package here")
- textAreaInput.bounds= Rectangle(605,263,267,45)
+ textAreaInput.bounds= Rectangle(608,263,267,45)
adbPanel.add(textAreaInput)
textAreaInput.addMouseListener(object : MouseAdapter() {
override fun mouseClicked(e: MouseEvent?) {
@@ -111,7 +91,7 @@ fun main() {
////Label////
val labelIP=JLabel("IP:")
- labelIP.bounds= Rectangle(7,5,15,25)
+ labelIP.bounds= Rectangle(7,5,20,25)
labelIP.font = labelIP.font.deriveFont(15.0f)
adbPanel.add(labelIP)
@@ -147,19 +127,19 @@ fun main() {
////CheckBox////
val checkboxDisabled = JCheckBox("Disabled apps")
- checkboxDisabled.bounds= Rectangle(325,5,100,20)
+ checkboxDisabled.bounds= Rectangle(328,5,120,20)
adbPanel.add(checkboxDisabled)
val checkboxSystem = JCheckBox("System apps")
- checkboxSystem.bounds= Rectangle(465,5,100,20)
+ checkboxSystem.bounds= Rectangle(468,5,120,20)
adbPanel.add(checkboxSystem)
val checkboxEnabled = JCheckBox("Enabled apps")
- checkboxEnabled.bounds= Rectangle(615,5,100,20)
+ checkboxEnabled.bounds= Rectangle(618,5,120,20)
adbPanel.add(checkboxEnabled)
val checkboxThird = JCheckBox("Third apps")
- checkboxThird.bounds= Rectangle(755,5,100,20)
+ checkboxThird.bounds= Rectangle(758,5,120,20)
adbPanel.add(checkboxThird)
checkboxDisabled.addItemListener {
@@ -193,12 +173,9 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonIpConnect.isEnabled=false
- simpleCommand("adb kill-server")
- simpleCommand("adb tcpip 5555")
- val builderList = ProcessBuilder("cmd.exe", "/c", "adb connect ${textFieldIP.text}")
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ Runtime.getRuntime().exec("adb kill-server").waitFor()
+ val builderList = Runtime.getRuntime().exec( "adb connect ${textFieldIP.text}")
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
var output = ""
@@ -206,7 +183,6 @@ fun main() {
output += "\n"
output += line
}
- valList.waitFor()
if(output.indexOf("connected to")!=-1){
if(line!="* daemon not running starting now at tcp:5037" && line!="* daemon started successfully")
labelConnect.text = "Success"
@@ -214,7 +190,7 @@ fun main() {
labelConnect.text = "Error"
}
}
-
+ builderList.waitFor()
}
override fun done() {
@@ -247,7 +223,11 @@ fun main() {
}
paths = file.listFiles(fileNameFilter)
for (path in paths) {
- simpleCommand("adb install \"$path\"")
+ if(System.getProperty("os.name").indexOf("Windows")!=-1){
+ Runtime.getRuntime().exec("adb install \"$path\"").waitFor()
+ }else{
+ Runtime.getRuntime().exec("adb install $path").waitFor()
+ }
}
}
@@ -269,7 +249,11 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonInstallOne.isEnabled=false
- simpleCommand("adb install \"$selectedFileAbsolutePath\"")
+ if(System.getProperty("os.name").indexOf("Windows")!=-1){
+ Runtime.getRuntime().exec("adb install \"$selectedFileAbsolutePath\"").waitFor()
+ }else{
+ Runtime.getRuntime().exec("adb install $selectedFileAbsolutePath").waitFor()
+ }
}
override fun done() {
buttonInstallOne.isEnabled=true
@@ -281,11 +265,11 @@ fun main() {
}
val buttonDisable=JButton("Disable")
- buttonDisable.bounds= Rectangle(325,320,176,50)
+ buttonDisable.bounds= Rectangle(328,320,176,50)
buttonDisable.isFocusable=false
adbPanel.add(buttonDisable)
buttonDisable.addActionListener {
- val textInput:String = if(textAreaInput.text !="")
+ val textInput:String = if(textAreaInput.text !="You can enter app package here" && textAreaInput.text !="")
textAreaInput.text
else
list.selectedValue.toString()
@@ -293,7 +277,7 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonDisable.isEnabled=false
- simpleCommand("adb shell pm disable-user --user 0 $textInput")
+ Runtime.getRuntime().exec("adb shell pm disable-user --user 0 $textInput").waitFor()
}
override fun done() {
buttonDisable.isEnabled=true
@@ -305,11 +289,11 @@ fun main() {
}
val buttonUninstall=JButton("Uninstall")
- buttonUninstall.bounds= Rectangle(510,320,176,50)
+ buttonUninstall.bounds= Rectangle(513,320,176,50)
buttonUninstall.isFocusable=false
adbPanel.add(buttonUninstall)
buttonUninstall.addActionListener {
- val textInput:String = if(textAreaInput.text !="")
+ val textInput:String = if(textAreaInput.text !="You can enter app package here" && textAreaInput.text !="")
textAreaInput.text
else
list.selectedValue.toString()
@@ -317,7 +301,7 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonUninstall.isEnabled=false
- simpleCommand("adb shell pm uninstall --user 0 $textInput")
+ Runtime.getRuntime().exec("adb shell pm uninstall --user 0 $textInput").waitFor()
}
override fun done() {
buttonUninstall.isEnabled=true
@@ -329,11 +313,11 @@ fun main() {
}
val buttonEnable=JButton("Enable")
- buttonEnable.bounds= Rectangle(695,320,180,50)
+ buttonEnable.bounds= Rectangle(698,320,180,50)
buttonEnable.isFocusable=false
adbPanel.add(buttonEnable)
buttonEnable.addActionListener {
- val textInput:String = if(textAreaInput.text !="")
+ val textInput:String = if(textAreaInput.text !="You can enter app package here" && textAreaInput.text !="")
textAreaInput.text
else
list.selectedValue.toString()
@@ -341,7 +325,7 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonEnable.isEnabled=false
- simpleCommand("adb shell pm enable $textInput")
+ Runtime.getRuntime().exec("adb shell pm enable $textInput").waitFor()
}
override fun done() {
buttonEnable.isEnabled=true
@@ -353,7 +337,7 @@ fun main() {
}
val buttonCheck=JButton("Get list of packages")
- buttonCheck.bounds= Rectangle(325,260,270,50)
+ buttonCheck.bounds= Rectangle(328,260,270,50)
buttonCheck.isFocusable=false
adbPanel.add(buttonCheck)
buttonCheck.addActionListener {
@@ -364,10 +348,8 @@ fun main() {
checkboxDisabled.isSelected -> {
arrayList = emptyArray()
listModel.removeAllElements()
- val builderList = ProcessBuilder("cmd.exe", "/c", "adb shell pm list packages -d")
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec("adb shell pm list packages -d")
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
while (reader.readLine().also { line = it } != null) {
@@ -378,18 +360,16 @@ fun main() {
}
arrayList.sort()
- valList.waitFor()
for(element in arrayList){
listModel.addElement(element)
}
+ builderList.waitFor()
}
checkboxSystem.isSelected -> {
arrayList = emptyArray()
listModel.removeAllElements()
- val builderList = ProcessBuilder("cmd.exe", "/c", "adb shell pm list packages -s")
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec( "adb shell pm list packages -s")
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
while (reader.readLine().also { line = it } != null) {
@@ -399,18 +379,16 @@ fun main() {
}
}
arrayList.sort()
- valList.waitFor()
for(element in arrayList){
listModel.addElement(element)
}
+ builderList.waitFor()
}
checkboxEnabled.isSelected -> {
arrayList = emptyArray()
listModel.removeAllElements()
- val builderList = ProcessBuilder("cmd.exe", "/c", "adb shell pm list packages -e")
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec( "adb shell pm list packages -e")
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
while (reader.readLine().also { line = it } != null) {
@@ -420,18 +398,16 @@ fun main() {
}
}
arrayList.sort()
- valList.waitFor()
for(element in arrayList){
listModel.addElement(element)
}
+ builderList.waitFor()
}
checkboxThird.isSelected -> {
arrayList = emptyArray()
listModel.removeAllElements()
- val builderList = ProcessBuilder("cmd.exe", "/c", "adb shell pm list packages -3")
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec( "adb shell pm list packages -3")
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
while (reader.readLine().also { line = it } != null) {
@@ -441,18 +417,16 @@ fun main() {
}
}
arrayList.sort()
- valList.waitFor()
for(element in arrayList){
listModel.addElement(element)
}
+ builderList.waitFor()
}
else -> {
arrayList = emptyArray()
listModel.removeAllElements()
- val builderList = ProcessBuilder("cmd.exe", "/c", "adb shell pm list packages")
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec("adb shell pm list packages")
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
while (reader.readLine().also { line = it } != null) {
@@ -462,11 +436,11 @@ fun main() {
}
}
arrayList.sort()
- valList.waitFor()
buttonCheck.isEnabled = true
for(element in arrayList){
listModel.addElement(element)
}
+ builderList.waitFor()
}
}
}
@@ -481,14 +455,14 @@ fun main() {
}
val buttonReboot=JButton("Reboot")
- buttonReboot.bounds= Rectangle(5,40,137,25)
+ buttonReboot.bounds= Rectangle(5,40,120,25)
buttonReboot.isFocusable=false
adbPanel.add(buttonReboot)
buttonReboot.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonReboot.isEnabled=false
- simpleCommand("adb reboot")
+ Runtime.getRuntime().exec("adb reboot").waitFor()
}
override fun done() {
buttonReboot.isEnabled=true
@@ -500,14 +474,14 @@ fun main() {
}
val buttonRecoveryReboot=JButton("Reboot to Recovery")
- buttonRecoveryReboot.bounds= Rectangle(5,65,137,25)
+ buttonRecoveryReboot.bounds= Rectangle(126,40,163,25)
buttonRecoveryReboot.isFocusable=false
adbPanel.add(buttonRecoveryReboot)
buttonRecoveryReboot.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonRecoveryReboot.isEnabled=false
- simpleCommand("adb reboot recovery")
+ Runtime.getRuntime().exec("adb reboot recovery").waitFor()
}
override fun done() {
buttonRecoveryReboot.isEnabled=true
@@ -519,14 +493,14 @@ fun main() {
}
val buttonFastbootReboot=JButton("Reboot to Fastboot")
- buttonFastbootReboot.bounds= Rectangle(145,65,137,25)
+ buttonFastbootReboot.bounds= Rectangle(126,65,163,25)
buttonFastbootReboot.isFocusable=false
adbPanel.add(buttonFastbootReboot)
buttonFastbootReboot.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonFastbootReboot.isEnabled=false
- simpleCommand("adb reboot bootloader")
+ Runtime.getRuntime().exec("adb reboot bootloader").waitFor()
}
override fun done() {
buttonFastbootReboot.isEnabled=true
@@ -538,14 +512,14 @@ fun main() {
}
val buttonPowerOff=JButton("Shutdown")
- buttonPowerOff.bounds= Rectangle(145,40,137,25)
+ buttonPowerOff.bounds= Rectangle(5,65,120,25)
buttonPowerOff.isFocusable=false
adbPanel.add(buttonPowerOff)
buttonPowerOff.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonPowerOff.isEnabled=false
- simpleCommand("adb reboot -p")
+ Runtime.getRuntime().exec("adb reboot -p").waitFor()
}
override fun done() {
buttonPowerOff.isEnabled=true
@@ -619,10 +593,8 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonRunCommand.isEnabled=false
- val builderList = ProcessBuilder("cmd.exe", "/c", textAreaCommandInput.text)
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec(textAreaCommandInput.text)
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
var output = ""
@@ -630,12 +602,13 @@ fun main() {
output += "\n"
output += line
}
- valList.waitFor()
textAreaCommandOutput.text = output
+ builderList.waitFor()
}
override fun done() {
buttonRunCommand.isEnabled=true
}
+
}
val worker = MyWorker()
@@ -718,10 +691,8 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonRunCommandFastboot.isEnabled=false
- val builderList = ProcessBuilder("cmd.exe", "/c", textAreaCommandFastbootInput.text)
- builderList.redirectErrorStream(true)
- val valList = builderList.start()
- val input = valList.inputStream
+ val builderList = Runtime.getRuntime().exec(textAreaCommandFastbootInput.text)
+ val input = builderList.inputStream
val reader = BufferedReader(InputStreamReader(input))
var line: String?
var output = ""
@@ -729,8 +700,8 @@ fun main() {
output += "\n"
output += line
}
- valList.waitFor()
textAreaCommandFastbootOutput.text = output
+ builderList.waitFor()
}
override fun done() {
buttonRunCommandFastboot.isEnabled=true
@@ -751,22 +722,22 @@ fun main() {
override fun doInBackground() {
buttonErase.isEnabled=false
if(checkboxPartitionBoot.isSelected){
- simpleCommand("fastboot erase boot")
+ Runtime.getRuntime().exec("fastboot erase boot").waitFor()
}
if(checkboxPartitionSystem.isSelected){
- simpleCommand("fastboot erase system")
+ Runtime.getRuntime().exec("fastboot erase system").waitFor()
}
if(checkboxPartitionData.isSelected){
- simpleCommand("fastboot erase userdata")
+ Runtime.getRuntime().exec("fastboot erase userdata").waitFor()
}
if(checkboxPartitionCache.isSelected){
- simpleCommand("fastboot erase cache")
+ Runtime.getRuntime().exec("fastboot erase cache").waitFor()
}
if(checkboxPartitionRecovery.isSelected){
- simpleCommand("fastboot erase recovery")
+ Runtime.getRuntime().exec("fastboot erase recovery").waitFor()
}
if(checkboxPartitionRadio.isSelected){
- simpleCommand("fastboot erase radio")
+ Runtime.getRuntime().exec("fastboot erase radio").waitFor()
}
}
override fun done() {
@@ -778,14 +749,14 @@ fun main() {
}
val buttonRebootFastboot=JButton("Reboot")
- buttonRebootFastboot.bounds= Rectangle(5,5,137,25)
+ buttonRebootFastboot.bounds= Rectangle(5,5,120,25)
buttonRebootFastboot.isFocusable=false
fastbootPanel.add(buttonRebootFastboot)
buttonRebootFastboot.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonRebootFastboot.isEnabled=false
- simpleCommand("fastboot reboot")
+ Runtime.getRuntime().exec("fastboot reboot").waitFor()
}
override fun done() {
buttonRebootFastboot.isEnabled=true
@@ -797,14 +768,14 @@ fun main() {
}
val buttonRecoveryRebootFastboot=JButton("Reboot to Recovery")
- buttonRecoveryRebootFastboot.bounds= Rectangle(80,31,137,25)
+ buttonRecoveryRebootFastboot.bounds= Rectangle(125,31,170,25)
buttonRecoveryRebootFastboot.isFocusable=false
fastbootPanel.add(buttonRecoveryRebootFastboot)
buttonRecoveryRebootFastboot.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonRecoveryRebootFastboot.isEnabled=false
- simpleCommand("fastboot oem reboot-recovery")
+ Runtime.getRuntime().exec("fastboot oem reboot-recovery").waitFor()
}
override fun done() {
buttonRecoveryRebootFastboot.isEnabled=true
@@ -816,14 +787,14 @@ fun main() {
}
val buttonFastbootRebootFastboot=JButton("Reboot to Fastboot")
- buttonFastbootRebootFastboot.bounds= Rectangle(145,5,137,25)
+ buttonFastbootRebootFastboot.bounds= Rectangle(125,5,170,25)
buttonFastbootRebootFastboot.isFocusable=false
fastbootPanel.add(buttonFastbootRebootFastboot)
buttonFastbootRebootFastboot.addActionListener {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonFastbootRebootFastboot.isEnabled=false
- simpleCommand("fastboot reboot-bootloader")
+ Runtime.getRuntime().exec("fastboot reboot-bootloader").waitFor()
}
override fun done() {
buttonFastbootRebootFastboot.isEnabled=true
@@ -870,7 +841,11 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonInstallRecovery.isEnabled=false
- simpleCommand("fastboot flash recovery \"$selectedFileAbsolutePath\"")
+ if(System.getProperty("os.name").indexOf("Windows")!=-1){
+ Runtime.getRuntime().exec("fastboot flash recovery \"$selectedFileAbsolutePath\"").waitFor()
+ }else{
+ Runtime.getRuntime().exec("fastboot flash recovery $selectedFileAbsolutePath").waitFor()
+ }
}
override fun done() {
buttonInstallRecovery.isEnabled=true
@@ -889,7 +864,11 @@ fun main() {
class MyWorker : SwingWorker() {
override fun doInBackground() {
buttonBootToRecovery.isEnabled=false
- simpleCommand("fastboot boot \"$selectedFileAbsolutePath\"")
+ if(System.getProperty("os.name").indexOf("Windows")!=-1){
+ Runtime.getRuntime().exec("fastboot boot \"$selectedFileAbsolutePath\"").waitFor()
+ }else{
+ Runtime.getRuntime().exec("fastboot boot $selectedFileAbsolutePath").waitFor()
+ }
}
override fun done() {
buttonBootToRecovery.isEnabled=true
@@ -914,7 +893,7 @@ fun main() {
linksPanel.add(labelRoms)
val labelPE=JLabel("Pixel Experience")
- labelPE.bounds= Rectangle(10,45,100,20)
+ labelPE.bounds= Rectangle(10,45,110,20)
linksPanel.add(labelPE)
val buttonPE=JButton("Official Site")
@@ -976,7 +955,7 @@ fun main() {
buttonLineageOSDownload.addActionListener { runUrl("https://download.lineageos.org/") }
val labelParanoid=JLabel("Paranoid Android")
- labelParanoid.bounds= Rectangle(10,365,100,20)
+ labelParanoid.bounds= Rectangle(10,365,120,20)
linksPanel.add(labelParanoid)
val buttonParanoid=JButton("Official Site")
@@ -991,7 +970,7 @@ fun main() {
linksPanel.add(buttonParanoidDownload)
val labelDerpFest=JLabel("AOSiP DerpFest")
- labelDerpFest.bounds= Rectangle(10,445,100,20)
+ labelDerpFest.bounds= Rectangle(10,445,120,20)
linksPanel.add(labelDerpFest)
val buttonDerpFest=JButton("Official Site")
@@ -1114,7 +1093,7 @@ fun main() {
buttonMSMXtendedDownload.addActionListener { runUrl("https://sourceforge.net/projects/xtended/files/") }
val labelAOSPExtended=JLabel("AOSP Extended")
- labelAOSPExtended.bounds= Rectangle(250,125,100,20)
+ labelAOSPExtended.bounds= Rectangle(250,125,120,20)
linksPanel.add(labelAOSPExtended)
val buttonAOSPExtended=JButton("Official Site")
@@ -1449,7 +1428,7 @@ fun main() {
buttonSuperSU.addActionListener { runUrl("https://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip") }
val labelGcam=JLabel("Google Camera")
- labelGcam.bounds= Rectangle(760,125,100,20)
+ labelGcam.bounds= Rectangle(760,125,120,20)
linksPanel.add(labelGcam)
val buttonGcam=JButton("Download")