mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 14:17:21 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
25 lines
838 B
PowerShell
25 lines
838 B
PowerShell
# Patch init_boot.img using Magisk's built-in tools on-device
|
|
# Magisk APK contains magiskboot binary and boot_patch.sh script
|
|
|
|
$apkPath = "/data/app/~~4lVCgUEbEYnxj9kD_oZqlQ==/com.topjohnwu.magisk-hIwVOn1enaIVx92YiPqzSw==/base.apk"
|
|
$workDir = "/data/local/tmp/magisk_work"
|
|
|
|
Write-Host "Setting up Magisk patching environment on device..."
|
|
|
|
# Create work directory and extract needed files from APK
|
|
$cmds = @"
|
|
rm -rf $workDir
|
|
mkdir -p $workDir
|
|
cd $workDir
|
|
cp $apkPath magisk.apk
|
|
unzip -o magisk.apk 'lib/arm64-v8a/*' 'assets/*' -d . 2>/dev/null
|
|
ls -la lib/arm64-v8a/ 2>/dev/null
|
|
ls -la assets/ 2>/dev/null
|
|
"@
|
|
|
|
adb shell $cmds 2>&1 | Write-Host
|
|
|
|
Write-Host ""
|
|
Write-Host "Listing extracted files..."
|
|
adb shell "ls -la $workDir/lib/arm64-v8a/ 2>/dev/null" 2>&1 | Write-Host
|
|
adb shell "ls -la $workDir/assets/ 2>/dev/null" 2>&1 | Write-Host
|