Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not found img_info file! can't rebuild img. #41

Open
Marietto2008 opened this issue Jul 4, 2023 · 0 comments
Open

Not found img_info file! can't rebuild img. #41

Marietto2008 opened this issue Jul 4, 2023 · 0 comments

Comments

@Marietto2008
Copy link

Marietto2008 commented Jul 4, 2023

Hello,I have unpacked the files stored inside this boot.img file :

https://github.com/raspiduino/a6lte-kvm/releases/download/0.01/boot.tar

and I've used a tool called "unpackbootimg" that I've got from this link :

https://github.com/osm0sis/mkbootimg

this is how I have extracted the files from the boot.img file :

/mnt/zroot2/zroot2/OS/Android-KVM/Galaxy-A6/osm0sis-mkbootimg# mkdir boot

/mnt/zroot2/zroot2/OS/Android-KVM/Galaxy-A6/osm0sis-mkbootimg# ./unpackbootimg -i /mnt/zroot2/zroot2/OS/Android-KVM/Galaxy-A6/Boot-Files/boot-orig.img -o boot

this is what happened :

ANDROID! magic found at: 0
BOARD_KERNEL_CMDLINE androidboot.selinux=permissive androidboot.selinux=permissive
BOARD_KERNEL_BASE 0x10000000
BOARD_NAME SRPRA31B008KU
BOARD_PAGE_SIZE 2048
BOARD_HASH_TYPE sha1
BOARD_KERNEL_OFFSET 0x00008000
BOARD_RAMDISK_OFFSET 0x01000000
BOARD_SECOND_OFFSET 0x00f00000
BOARD_TAGS_OFFSET 0x00000100
BOARD_OS_VERSION 10.0.0
BOARD_OS_PATCH_LEVEL 2021-03
BOARD_DT_SIZE 509952

then I have removed the old kernel and I have replaced it with a new kernel re-compiled by me,where I have enabled KVM. At this point,I want to repack the files previously extracted and this is how I tried to do that :

/mnt/zroot2/zroot2/OS/Android-KVM/Galaxy-A6/xiaolu-mkbootimg_tools# ./mkboot /mnt/zroot2/zroot2/OS/Android-KVM/Galaxy-A6/Boot-Files/boot boot.img

but it didn't work :

mkbootimg from /mnt/zroot2/zroot2/OS/Android-KVM/Galaxy-A6/Boot-Files/boot/img_info.
not found img_info file! can't rebuild img.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant