New Android Image Kitchen for newer devices | fossfrog

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • I faced some issues while unpacking and repacking boot images using old AIK.
    So, I created this tool to unpack newer boot images. This will work with older boot images as well.
    Also added both arm and x86 binaries, means you can use this in your android device and also in your GNU/Linux machines.
    BTW, this tool is based on magisk.
    So, a huge thanks to magisk as well.
    link: github.com/Shu...

Комментарии • 37

  • @dxcvvxd
    @dxcvvxd Год назад +2

    HOLY SHIT
    this is actually very good dude, idk how you found it but im very very glad you did and uploaded it too.
    big props.

    • @fossfrog
      @fossfrog  Год назад

      Not found it. I also do a little bit of codes 😂.
      Actually, I'm working on phone(1) right now, and the previous AIK throws some error while unpacking the image, so I had only one option to write a tool. And when you are testing something, you have to do same task again n again. So only one thing can help, just automate it. I did the same. But a huge thanks to magisk as well for the awesome tool.

    • @dxcvvxd
      @dxcvvxd Год назад

      @@fossfrog cool stuff.
      i wish you could make a video on modifying the unpacked kernel as i think that there are definitely some quality if life changes that could be made to make your kernel more powerful.
      no pressure of course.

    • @fossfrog
      @fossfrog  Год назад +1

      You can't modify a compiled kernel, only way is to recompile it from source.

    • @dxcvvxd
      @dxcvvxd Год назад

      @@fossfrog oh shoot i meant not the kernel but the stuff thats in the other folder, like inits, policies etc

    • @fossfrog
      @fossfrog  Год назад

      Yeah, this was the actual reason I made this tool. Actually I was trying to get serial out of phone(1) from past few weeks. But it's not possible as I'm not sure why serial gadget isn't working even after compiling the kernel with necessary flags. But i got another way to dump the logs.

  • @taupikhidayat3634
    @taupikhidayat3634 11 месяцев назад +1

    replace kernel to split directory ? i dont understand, there is already a kernel in split directory

    • @fossfrog
      @fossfrog  11 месяцев назад

      What you want to do?

    • @taupikhidayat3634
      @taupikhidayat3634 11 месяцев назад +1

      @@fossfrog i want unpack boot.img & repack boot.img but when i flash the boot.img it goes bootloop

    • @fossfrog
      @fossfrog  11 месяцев назад +1

      Yeah, this is what AIK does. When you run unpackimg boot.img it'll unpack the image into kernel, dtb and ramdisk. Make your changes (whatever you want) and then repack it. If you want to put your custom kernel then delete the kernel and dtb from split directory and place your kernel and dtb in split folder with same name and run repackimg command. It'll create a new boot image with changes. I hope I'm clear.

    • @fossfrog
      @fossfrog  11 месяцев назад

      There maybe multiple issues with the bootloop, maybe the kernel is not compiled correctly. Try to compile the kernel with stock defconfig and flash it. Check if it boots or not. If it boots then try to patch or make other changes.

    • @taupikhidayat3634
      @taupikhidayat3634 11 месяцев назад

      @@fossfrog earlier im just unpack boot.img, then I made changes just in default.prop, then i repack again, then i flash the boot.img & it bootloop

  • @wilbourneftdrakevevos9868
    @wilbourneftdrakevevos9868 2 месяца назад

    Can it make system rw if it is only ro?

    • @fossfrog
      @fossfrog  2 месяца назад

      Nope, you can't make the system rw, you have to disable encryption and dm-verity first then you can remount system as rw in userspace.

  • @Unrthdox95
    @Unrthdox95 3 месяца назад

    Can you make custom kernel with this?

    • @fossfrog
      @fossfrog  2 месяца назад

      This tool is only for unpacking and repacking boot image and modifying ramdisk.

  • @markyerger
    @markyerger 6 месяцев назад

    How can meta-inf be done android kitchen programs do it automatically

    • @fossfrog
      @fossfrog  6 месяцев назад

      Afaik meta inf is the part of installer zip not aik.

    • @markyerger
      @markyerger 6 месяцев назад

      @@fossfrog How can I learn in detail?

    • @fossfrog
      @fossfrog  6 месяцев назад

      You can read android docs for detailed guide about android boot.

    • @markyerger
      @markyerger 6 месяцев назад

      @@fossfrog edify language updater script Creator flashable zip creator

  • @itsmeharuuu29
    @itsmeharuuu29 8 месяцев назад

    is this tool can be use also for porting twrp?

    • @fossfrog
      @fossfrog  8 месяцев назад

      If you're modifying a pre-compiled twrp then yes you can unpack/repack twrp images as well.

  • @ShonenFz
    @ShonenFz 8 месяцев назад

    Where to download this

    • @fossfrog
      @fossfrog  8 месяцев назад

      Available on my git repository. Link is in video as well.

    • @ShonenFz
      @ShonenFz 8 месяцев назад

      I found the git repo but no it's not in the description.

    • @fossfrog
      @fossfrog  8 месяцев назад

      I mentioned that the link is in video, not in desc. Btw, I'll put the link in desc as well.

  • @erriezzanslounge1380
    @erriezzanslounge1380 5 месяцев назад

    i cannot flash on kernelsu.is it only for magisk?

    • @fossfrog
      @fossfrog  5 месяцев назад

      What do you mean by "flash on kernelsu"? It's just like other android image kitchen to unpack/repack boot images. Kernelsu/Magisk is different thing.

  • @chakravarthyreddy4700
    @chakravarthyreddy4700 4 месяца назад

    CMDLINE [androidboot.hardware=qcom androidboot.usbcontroller=a600000.dwc3 cgroup.memory=nokmem,nosocket earlycon=msm_geni_serial,0xa90000 kpti=off loop.max_part=7 lpm_levels.sleep_disabled=1 msm_rtb.filter=0x237 reboot=panic_warm service_locator.enable=1 swiotlb=2048]
    CHECKSUM [909684ab7ad8946007303ca67ea9775792a4d1eb000000000000000000000000]
    KERNEL_FMT [raw]
    RAMDISK_FMT [gzip]
    VBMETA
    bin/funcs.sh: line 39: file: command not found
    7864 block
    Ramdisk has empty folders

    • @fossfrog
      @fossfrog  4 месяца назад

      install file using package manager. eg apt install -y file