mirror of
https://gitlab.com/newbit/rootAVD.git
synced 2026-07-03 13:15:10 +02:00
Updated Credits and incompatible flags
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
.DS_Store
|
||||
Apps/.DS_Store
|
||||
Apps/Magisk.apk
|
||||
Apps/*
|
||||
initramfs.img
|
||||
bzImage
|
||||
*.rc
|
||||
@@ -249,3 +249,4 @@ Command Examples:
|
||||
* [Akianonymus _json_value](https://gist.github.com/cjus/1047794#gistcomment-3313785)
|
||||
* [Tad Fisher Android Nixpkgs](https://github.com/tadfisher/android-nixpkgs)
|
||||
* [Sébastien Corne magisk-single-user](https://github.com/seebz)
|
||||
* [remote-android Native Bridge Support in ReDroid](https://github.com/remote-android/redroid-doc/tree/master/native_bridge)
|
||||
|
||||
+10
-3
@@ -900,9 +900,15 @@ patching_ramdisk(){
|
||||
echo "[!] AddRCscripts=$AddRCscripts"
|
||||
if ("$AddRCscripts"); then
|
||||
echo "[*] adding *.rc files to ramdisk"
|
||||
#for f in *.rc; do
|
||||
# ./magiskboot cpio ramdisk.cpio "add 0644 overlay.d/sbin/$f $f"
|
||||
#done
|
||||
CSTRC=custom.rc
|
||||
touch $CSTRC
|
||||
for f in *.rc; do
|
||||
./magiskboot cpio ramdisk.cpio "add 0644 overlay.d/sbin/$f $f"
|
||||
done
|
||||
echo "$f" > $CSTRC
|
||||
done
|
||||
./magiskboot cpio ramdisk.cpio "add 0644 overlay.d/$CSTRC $CSTRC"
|
||||
echo "[-] overlay adding complete"
|
||||
echo "[-] jumping back to patching ramdisk for magisk init"
|
||||
else
|
||||
@@ -1152,7 +1158,7 @@ FindSystemImages() {
|
||||
fi
|
||||
|
||||
cd $HOME > /dev/null
|
||||
for SI in $(find -s $SYSIM_DIR -type f -iname ramdisk.img); do
|
||||
for SI in $(find $SYSIM_DIR -type f -iname ramdisk.img); do
|
||||
if ( "$ListAllAVDs" ); then
|
||||
SYSIM_EX+=" ~/$SI"
|
||||
else
|
||||
@@ -1175,6 +1181,7 @@ FindSystemImages() {
|
||||
echo "${bold}./rootAVD.sh $SYSIM InstallKernelModules${normal}"
|
||||
echo "${bold}./rootAVD.sh $SYSIM InstallPrebuiltKernelModules${normal}"
|
||||
echo "${bold}./rootAVD.sh $SYSIM InstallPrebuiltKernelModules GetUSBHPmodZ PATCHFSTAB DEBUG${normal}"
|
||||
echo "${bold}./rootAVD.sh $SYSIM AddRCscripts${normal}"
|
||||
echo ""
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user