Last active
September 19, 2024 04:16
-
-
Save natsumerinchan/b7a44acadfa66d0e07ead299423695c4 to your computer and use it in GitHub Desktop.
Revisions
-
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,14 @@ set "TMP_PATH=/data/local/tmp" set "WSA_PORT=127.0.0.1:58526" @rem Check whether platform-tools is exist or not adb devices >nul if not %errorlevel% == 0 ( cls echo [ERROR] It seems that adb is not exist! goto EXIT1 ) @rem Check whether WSA is online or not adb connect %WSA_PORT% >nul adb -s %WSA_PORT% shell echo Hello World! >nul @@ -55,4 +63,4 @@ adb disconnect %WSA_PORT% >nul echo [INFO] Disconnected WSA %WSA_PORT% :EXIT1 pause -
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ adb -s %WSA_PORT% shell echo Hello World! >nul if not %errorlevel% == 0 ( cls adb devices echo [ERROR] It seems that WSA is not running! goto EXIT1 ) echo [INFO] Connected to WSA %WSA_PORT% @@ -18,7 +18,7 @@ echo [INFO] Connected to WSA %WSA_PORT% echo [INFO] Checking root access adb -s %WSA_PORT% shell su -c echo Hello World! >nul if not %errorlevel% == 0 ( echo [ERROR] You don't have root access! goto EXIT0 ) echo [INFO] Success! -
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,11 +15,13 @@ if not %errorlevel% == 0 ( echo [INFO] Connected to WSA %WSA_PORT% @rem Check whether root access is exist or not echo [INFO] Checking root access adb -s %WSA_PORT% shell su -c echo Hello World! >nul if not %errorlevel% == 0 ( echo [ERROR]You don't have root access! goto EXIT0 ) echo [INFO] Success! @rem Create Folders adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/bin -
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -47,8 +47,10 @@ adb -s %WSA_PORT% shell su -c houdini --version >%USERPROFILE%\Desktop\libhoudin adb -s %WSA_PORT% shell su -c houdini64 --version >>%USERPROFILE%\Desktop\libhoudini\VERSION echo [INFO] Already extracted to the desktop: %USERPROFILE%\Desktop\libhoudini :EXIT0 adb disconnect %WSA_PORT% >nul echo [INFO] Disconnected WSA %WSA_PORT% :EXIT1 pause -
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 14 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ @echo off @rem Set variables set "TMP_PATH=/data/local/tmp" set "WSA_PORT=127.0.0.1:58526" @rem Check whether WSA is online or not adb connect %WSA_PORT% >nul adb -s %WSA_PORT% shell echo Hello World! >nul if not %errorlevel% == 0 ( @@ -10,14 +13,20 @@ if not %errorlevel% == 0 ( goto EXIT1 ) echo [INFO] Connected to WSA %WSA_PORT% @rem Check whether root access is exist or not adb -s %WSA_PORT% shell su -c echo Hello World! >nul if not %errorlevel% == 0 ( echo [ERROR]You don't have root access! goto EXIT0 ) @rem Create Folders adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/lib adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/lib64 @rem Copy files to /data/local/tmp echo [INFO] Extracting libhoudini...... adb -s %WSA_PORT% shell su -c cp -r /vendor/bin/houdini %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell su -c cp -r /vendor/bin/houdini64 %TMP_PATH%/libhoudini/system/bin @@ -28,10 +37,15 @@ adb -s %WSA_PORT% shell su -c cp -r /vendor/lib/libhoudini.so %TMP_PATH%/libhoud adb -s %WSA_PORT% shell su -c cp -r /vendor/lib64/arm64 %TMP_PATH%/libhoudini/system/lib64 adb -s %WSA_PORT% shell su -c cp -r /vendor/lib64/libhoudini.so %TMP_PATH%/libhoudini/system/lib64 adb -s %WSA_PORT% shell su -c chmod -R -f 777 "%TMP_PATH%/libhoudini" @rem Moving files to the Windows desktop adb -s %WSA_PORT% pull "%TMP_PATH%/libhoudini" "%USERPROFILE%\Desktop\libhoudini" adb -s %WSA_PORT% shell su -c rm -rf "%TMP_PATH%/libhoudini" @rem Create version file adb -s %WSA_PORT% shell su -c houdini --version >%USERPROFILE%\Desktop\libhoudini\VERSION adb -s %WSA_PORT% shell su -c houdini64 --version >>%USERPROFILE%\Desktop\libhoudini\VERSION echo [INFO] Already extracted to the desktop: %USERPROFILE%\Desktop\libhoudini :EXIT0 adb disconnect %WSA_PORT% >nul -
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,14 +7,12 @@ if not %errorlevel% == 0 ( cls adb devices echo [ERROR]It seems that WSA is not running! goto EXIT1 ) echo [INFO] Connected to WSA %WSA_PORT% adb -s %WSA_PORT% shell su -c echo Hello World! >nul if not %errorlevel% == 0 ( echo [ERROR]You don't have root access! goto EXIT0 ) adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/bin @@ -35,7 +33,8 @@ adb -s %WSA_PORT% shell su -c rm -rf "%TMP_PATH%/libhoudini" adb -s %WSA_PORT% shell su -c houdini --version >%USERPROFILE%\Desktop\libhoudini\VERSION adb -s %WSA_PORT% shell su -c houdini64 --version >>%USERPROFILE%\Desktop\libhoudini\VERSION echo [INFO] Already extracted to the desktop: %USERPROFILE%\Desktop\libhoudini :EXIT0 adb disconnect %WSA_PORT% >nul echo [INFO] Disconnected WSA %WSA_PORT% :EXIT1 pause -
natsumerinchan revised this gist
Jun 20, 2022 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,10 +6,17 @@ adb -s %WSA_PORT% shell echo Hello World! >nul if not %errorlevel% == 0 ( cls adb devices echo [ERROR]It seems that WSA is not running! goto EXIT0 ) echo [INFO] Connected to WSA %WSA_PORT% adb -s %WSA_PORT% shell su -c echo Hello World! >nul if not %errorlevel% == 0 ( echo [ERROR]You don't have root access! adb disconnect %WSA_PORT% >nul echo [INFO] Disconnected WSA %WSA_PORT% goto EXIT0 ) adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/lib adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/lib64 -
natsumerinchan revised this gist
Jun 19, 2022 . No changes.There are no files selected for viewing
-
natsumerinchan revised this gist
Jun 19, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,8 +25,8 @@ adb -s %WSA_PORT% shell su -c cp -r /vendor/lib64/libhoudini.so %TMP_PATH%/libho adb -s %WSA_PORT% shell su -c chmod -R -f 777 "%TMP_PATH%/libhoudini" adb -s %WSA_PORT% pull "%TMP_PATH%/libhoudini" "%USERPROFILE%\Desktop\libhoudini" adb -s %WSA_PORT% shell su -c rm -rf "%TMP_PATH%/libhoudini" adb -s %WSA_PORT% shell su -c houdini --version >%USERPROFILE%\Desktop\libhoudini\VERSION adb -s %WSA_PORT% shell su -c houdini64 --version >>%USERPROFILE%\Desktop\libhoudini\VERSION echo [INFO] Already extracted to the desktop: %USERPROFILE%\Desktop\libhoudini adb disconnect %WSA_PORT% >nul echo [INFO] Disconnected WSA %WSA_PORT% -
natsumerinchan revised this gist
Jun 19, 2022 . 1 changed file with 22 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,34 +1,34 @@ @echo off set "TMP_PATH=/data/local/tmp" set "WSA_PORT=127.0.0.1:58526" adb connect %WSA_PORT% >nul adb -s %WSA_PORT% shell echo Hello World! >nul if not %errorlevel% == 0 ( cls adb devices echo It seems that WSA is not running! goto EXIT0 ) echo [INFO] Connected to WSA %WSA_PORT% adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/lib adb -s %WSA_PORT% shell mkdir -p %TMP_PATH%/libhoudini/system/lib64 echo [INFO] Extracting libhoudini...... adb -s %WSA_PORT% shell su -c cp -r /vendor/bin/houdini %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell su -c cp -r /vendor/bin/houdini64 %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell su -c cp -r /vendor/bin/arm %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell su -c cp -r /vendor/bin/arm64 %TMP_PATH%/libhoudini/system/bin adb -s %WSA_PORT% shell su -c cp -r /vendor/lib/arm %TMP_PATH%/libhoudini/system/lib adb -s %WSA_PORT% shell su -c cp -r /vendor/lib/libhoudini.so %TMP_PATH%/libhoudini/system/lib adb -s %WSA_PORT% shell su -c cp -r /vendor/lib64/arm64 %TMP_PATH%/libhoudini/system/lib64 adb -s %WSA_PORT% shell su -c cp -r /vendor/lib64/libhoudini.so %TMP_PATH%/libhoudini/system/lib64 adb -s %WSA_PORT% shell su -c chmod -R -f 777 "%TMP_PATH%/libhoudini" adb -s %WSA_PORT% pull "%TMP_PATH%/libhoudini" "%USERPROFILE%\Desktop\libhoudini" adb -s %WSA_PORT% shell su -c rm -rf "%TMP_PATH%/libhoudini" adb -s %WSA_PORT% shell su -c houdini --version >%USERPROFILE%\Desktop\libhoudini\VERSION.txt adb -s %WSA_PORT% shell su -c houdini64 --version >>%USERPROFILE%\Desktop\libhoudini\VERSION.txt echo [INFO] Already extracted to the desktop: %USERPROFILE%\Desktop\libhoudini adb disconnect %WSA_PORT% >nul echo [INFO] Disconnected WSA %WSA_PORT% :EXIT0 pause -
natsumerinchan created this gist
Jun 19, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ @echo off set "TMP_PATH=/data/local/tmp" set "WSA_DEVICEL=127.0.0.1:58526" adb connect %WSA_DEVICEL% >nul adb -s %WSA_DEVICEL% shell echo Hello World! >nul if not %errorlevel% == 0 ( cls adb devices echo It seems that WSA is not running! goto EXIT0 ) echo [INFO] Connected to WSA %WSA_DEVICEL% adb -s %WSA_DEVICEL% shell mkdir -p %TMP_PATH%/libhoudini/system/bin adb -s %WSA_DEVICEL% shell mkdir -p %TMP_PATH%/libhoudini/system/lib adb -s %WSA_DEVICEL% shell mkdir -p %TMP_PATH%/libhoudini/system/lib64 echo [INFO] Extracting libhoudini...... adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/bin/houdini %TMP_PATH%/libhoudini/system/bin adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/bin/houdini64 %TMP_PATH%/libhoudini/system/bin adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/bin/arm %TMP_PATH%/libhoudini/system/bin adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/bin/arm64 %TMP_PATH%/libhoudini/system/bin adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/lib/arm %TMP_PATH%/libhoudini/system/lib adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/lib/libhoudini.so %TMP_PATH%/libhoudini/system/lib adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/lib64/arm64 %TMP_PATH%/libhoudini/system/lib64 adb -s %WSA_DEVICEL% shell su -c cp -r /vendor/lib64/libhoudini.so %TMP_PATH%/libhoudini/system/lib64 adb -s %WSA_DEVICEL% shell su -c chmod -R -f 777 "%TMP_PATH%/libhoudini" adb -s %WSA_DEVICEL% pull "%TMP_PATH%/libhoudini" "%USERPROFILE%\Desktop\libhoudini" adb -s %WSA_DEVICEL% shell su -c rm -rf "%TMP_PATH%/libhoudini" adb -s %WSA_DEVICEL% shell su -c houdini --version >%USERPROFILE%\Desktop\libhoudini\VERSION.txt adb -s %WSA_DEVICEL% shell su -c houdini64 --version >>%USERPROFILE%\Desktop\libhoudini\VERSION.txt echo [INFO] Already extracted to the desktop: %USERPROFILE%\Desktop\libhoudini adb disconnect %WSA_DEVICEL% >nul echo [INFO] Disconnected WSA %WSA_DEVICEL% :EXIT0 pause