Updated Credits and incompatible flags

This commit is contained in:
NewBit
2021-05-10 00:32:36 +02:00
parent 995e7412a3
commit ece5a5b24c
3 changed files with 12 additions and 5 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
.DS_Store
Apps/.DS_Store
Apps/Magisk.apk
Apps/*
initramfs.img
bzImage
*.rc
+1
View File
@@ -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
View File
@@ -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