1. 31 Oct, 2021 4 commits
    • osm0sis's avatar
      scripts: improve basic module setup · 18065826
      osm0sis authored
      - expand utility of the basic module setup (zip without customize.sh) by setting more default perms, since really it couldn't do any simple binary files additions correctly withonly 0755 0644
      - ensure CON stays local
      18065826
    • topjohnwu's avatar
      Tidy up bootimg.h · 84e19cee
      topjohnwu authored
      Close #4796
      84e19cee
    • Chris Renshaw's avatar
      Support Samsung 2SI with skip_initramfs in dtb cmdline · 59161efd
      Chris Renshaw authored
      Samsung Galaxy A21S and Galaxy M12, probably others, are hdr_v2 boot.img with 2SI judging by the ramdisk contents, but the dtb contains an extra cmdline with skip_initramfs present, even though this shouldn't exist on 2SI and the kernel apparently doesn't even contain a skip_initramfs function
      
      I can't find examples of other devices where skip_initramfs is present in the dtb other than these so patch it out like we do the kernel
      Co-authored-by: 's avatartopjohnwu <topjohnwu@gmail.com>
      59161efd
    • Chris Renshaw's avatar
      Support custom legacy Sony devices with init.real setup · 6663fd35
      Chris Renshaw authored
      Custom ROM bring-ups of legacy Sony devices contain the following:
      /init (symlink to /bin/init_sony)
      /init.real (the "real" Android init)
      /bin/init_sony (this was /sbin/init_sony on Android <11)
      
      Kernel loads the ramdisk and starts /init -> /bin/init_sony
      /bin/init_sony does low-level device setup (see: https://github.com/LineageOS/android_device_sony_common/blob/lineage-18.1/init/init_main.cpp)
      /bin/init_sony unlinks /init and renames /init.real to /init
      /bin/init_sony starts /init
      
      Since init_sony needs to run first magiskinit needs to replace init.real instead, so add workarounds based on detection of init.real to boot patcher and uninstaller
      
      Thanks @115ek and @bleckdeth
      
      Fixes #3636
      Co-authored-by: 's avatartopjohnwu <topjohnwu@gmail.com>
      6663fd35
  2. 29 Oct, 2021 9 commits
  3. 28 Oct, 2021 1 commit
  4. 27 Oct, 2021 5 commits
  5. 26 Oct, 2021 4 commits
  6. 24 Oct, 2021 8 commits
  7. 23 Oct, 2021 1 commit
  8. 21 Oct, 2021 2 commits
  9. 20 Oct, 2021 4 commits
  10. 17 Oct, 2021 2 commits