azwhikaru / Action-TWRP-Builder

249 stars 1.7k forks source link

Ninja error #61

Closed akifakif32 closed 1 year ago

akifakif32 commented 1 year ago

FAILED: ninja: 'device/infinix/X6833B/prebuilt/kernel', needed by 'out/target/product/X6833B/kernel', missing and no known rule to make it 23:08:43 ninja failed with: exit status 1 Error: Process completed with exit code 1. What should I do?

akifakif32 commented 1 year ago

I think there was an error while I was trying to unpack boot.img so I was nat able to extract kernel from it and I have not got a windows/linux pc or laptop. Can anybody extract kernel from this boot.img: https://file.io/by6piPR0sVFL

azwhikaru commented 1 year ago

kernel is in boot.img, dtb is in vendor_boot.img. provide your boot.img

akifakif32 commented 1 year ago

kernel is in boot.img, dtb is in vendor_boot.img. provide your boot.img

But I am using vendor_boot.img as my twrp tree, is it a problem? Here is my boot.img: https://file.io/M5xJBsZY2uGf Thank you

azwhikaru commented 1 year ago

extracted from boot.img: https://file.io/5KhoHZ6YF4nM

use boot.img to make it. we may need somethings in vendor_boot.img, not full of it

azwhikaru commented 1 year ago

put boot.img-kernel in device/infinix/X6833B/prebuilt/kernel to fix your problem

akifakif32 commented 1 year ago

put boot.img-kernel in device/infinix/X6833B/prebuilt/kernel to fix your problem

You are the best, thanks to I was able to create twrp boot.img from vendor_boot.img but as you can see it is a boot.img no recovery.img do you know how I can boot twrp?

azwhikaru commented 1 year ago

try fastboot boot twrp.img

if doesn't work, try flashing your twrp.img (boot.img) to the boot fastboot flash boot_a twrp.img

if current slot is _b, use fastboot flash boot_b twrp.img

use fastboot getvar current-slot to get current slot

akifakif32 commented 1 year ago

Thank you.

akifakif32 commented 1 year ago

But it stuck on bootlogo, what can the problem be?

azwhikaru commented 1 year ago

check your device tree, but I can't help you anymore because I don't have the same device as you