Commit Graph

7 Commits

Author SHA1 Message Date
yjj38 3f3273e557 Remove unused DeviceUtils and disable command safety checks
Deleted `DeviceUtils.java` as it is no longer used and removed redundant native method calls. Disabled safety checks for shell commands in `ShellUtils.java` for enhanced flexibility, ensuring they won't interrupt execution. Updated JNI method paths in `infoct.cpp` to align with updated package structure.
2025-05-30 11:04:26 +08:00
yjj38 931944167e Refactor and enhance ShellUtils; add ClassUtils utility.
Refactored ShellUtils to improve safety, error handling, and modularity, including checks for command safety, better error logging, and execution timeout handling. Introduced a new ClassUtils utility for operations on classes, such as retrieving short class names, converting between primitive and wrapper types, and handling interfaces and superclasses.
2025-05-29 16:49:38 +08:00
yjj38 c852142262 ```
Improve VPN service stability and update V2Ray assets

Enhanced the VPN service by refining error handling, adding retry logic, and improving resource cleanup. Consolidated V2Ray asset management logic, ensured compatibility with device architectures, and adjusted permissions handling for newer Android versions. Renamed and reorganized V2Ray assets for better structure.
```
2025-05-27 19:25:48 +08:00
yjj38 b46404bb1e Refactor VPN setup and V2Ray initialization logic
Simplified VPN configuration, enhanced permission handling, and improved V2Ray file checks to ensure smoother setup. Updated assets and JSON configs to align with new network requirements and reduced redundancy in logging and error handling.
2025-05-26 16:01:40 +08:00
yjj38 9e64a65d62 Refactor VPN implementation and add SingBoxLauncher integration
Replaced ProxyVpnService with SingBoxLauncher for enhanced VPN control and functionality. Introduced new utilities such as IpUtil and HttpUtil for network-related operations. Updated MainActivity to utilize the new VPN workflow and removed outdated VPN service logic.
2025-05-23 16:19:37 +08:00
yjj38 c93475533d Add VPN service, Shell utility, and server communication support
Introduced a `ProxyVpnService` to manage a VPN connection and a `ShellUtils` utility for executing commands. Enabled script result communication with the server using `CloudPhoneManageService` via Retrofit. Updated permissions, dependencies, and MainActivity to support these features.
2025-05-22 18:13:34 +08:00
yjj38 27a38d2a97 init 2025-05-20 16:39:05 +08:00