Skip to content

5. Every boot after init

ClawOfDead edited this page Dec 12, 2023 · 4 revisions

I forgot something!

If you forgot something like copying a file or executing a script. There is always some scripts that will run for both methods.

They are executed on every boot of the ATV, like the copy of the files to the folders or the execution of a shell script if you provide a USB storage with the rights folders created from the USB method. Even if you used network method!

Here is the folders you need to create in the USB storage after formating the USB storage in FAT32:

  • apk
  • config
  • magisk_modules
  • scripts

⚠️ Respect the folders names and don't capitalize anything since it's case sensitive!

So there are the things that are run on every boot:

  • Copy the apk files to /sdcard/Download/apk
  • Copy the config files to /data/local/tmp
  • Copy the magisk modules to /sdcard/Download/magisk_modules
  • Run whatever shell (.sh) script is provided in the USB "scripts" folder
Clone this wiki locally