That's new. I'll fire up the VM and check it out. What's your distro/build?
Arch 64bit.That's new. I'll fire up the VM and check it out. What's your distro/build?
@osm0sis
Dear dev, i need permission to publish it.
https://github.com/ndrancs/AIK-Linux-x32-x64
Thanks.
If I recall, 64 won't work on 32 unless you have the right libs and such set in it's path. But will vice versa. Correct me if I am wrong though .
Do 32bit binaries not execute on x64 Linux? I was under the impression there was a compatibility layer like with Windows, so multiple versions would be unnecessary.
This tool is very good, but the recent Samsung mobile phone does not support, such as G3568v boot.img, was unable to decompress the inside of the boot.img-ramdisk.cpio, but cannot be modified! Hope to solve the! Thanks a million
Code:Supplied image: boot.img Setting up work folders . . . Splitting image to "/split_img/" . . . BOARD_KERNEL_CMDLINE BOARD_KERNEL_BASE 10000000 BOARD_PAGE_SIZE 33554432 BOARD_KERNEL_OFFSET 00008000 BOARD_RAMDISK_OFFSET 01000000 BOARD_TAGS_OFFSET f004b800 BOARD_DT_SIZE 268435712 Unpacking ramdisk to "/ramdisk/" . . . Compression used: data Error!
i try unpack ,repack and install file TWRP_multirom_grouper_20140914.img successfully but i mod version TWRP_multirom_grouper_20141021.img then its error.
i can unpack,repack ,install file recovery date 20141021.img when boot into recovery it;s not ok
threat here : http://xdaforums.com/showthread.php?t=2011403
why ? help me!!!
https://www.dropbox.com/s/vij44t6b18inbuc/280_play_multirom.img?dl=0i try unpack ,repack and install file TWRP_multirom_grouper_20140914.img successfully but i mod version TWRP_multirom_grouper_20141021.img then its error.
i can unpack,repack ,install file recovery date 20141021.img when boot into recovery it;s not ok
threat here : http://xdaforums.com/showthread.php?t=2011403
why ? help me!!!
@osm0sis, great tool!
I was looking for a mac version if you can build it.
OSX is based on unix, so i think is not hard do a version for it
Thanks anyway
gcc -o mkbootfs.o -ffunction-sections -O3 -c mkbootfs.c -I. -Werror
mkbootfs.c: In function ‘fix_stat’:
mkbootfs.c:82:46: error: passing argument 3 of ‘fs_config’ from incompatible pointer type [-Werror]
fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &st_mode, &capabilities);
^
In file included from mkbootfs.c:15:0:
./private/android_filesystem_config.h:328:20: note: expected ‘long unsigned int *’ but argument is of type ‘__uid_t *’
static inline void fs_config(const char *path, int dir,
^
mkbootfs.c:82:58: error: passing argument 4 of ‘fs_config’ from incompatible pointer type [-Werror]
fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &st_mode, &capabilities);
^
In file included from mkbootfs.c:15:0:
./private/android_filesystem_config.h:328:20: note: expected ‘long unsigned int *’ but argument is of type ‘__gid_t *’
static inline void fs_config(const char *path, int dir,
^
cc1: all warnings being treated as errors
Makefile:23: set di istruzioni per l'obiettivo "mkbootfs.o" non riuscito
make: *** [mkbootfs.o] Errore 1
Did you try the Linux version? Or search to see if there's an easy way to run Linux binaries under OSX?
If that doesn't work, then feel free to go ahead and grab my source and compile it yourself. Open source FTW.
My main goals for AIK now are updating from the Lollipop source push (though I have been keeping up with AOSP master the whole time) and looking at adding x64 support to AIK-mobile and Linux. Mobile should continue to work on Lollipop 32-bit just fine of course since I've been on the ball since the developer preview dropped. :good:
Hi @osm0sis, I'm trying to compile mkbootfs but:
Code:gcc -o mkbootfs.o -ffunction-sections -O3 -c mkbootfs.c -I. -Werror mkbootfs.c: In function ‘fix_stat’: mkbootfs.c:82:46: error: passing argument 3 of ‘fs_config’ from incompatible pointer type [-Werror] fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &st_mode, &capabilities); ^ In file included from mkbootfs.c:15:0: ./private/android_filesystem_config.h:328:20: note: expected ‘long unsigned int *’ but argument is of type ‘__uid_t *’ static inline void fs_config(const char *path, int dir, ^ mkbootfs.c:82:58: error: passing argument 4 of ‘fs_config’ from incompatible pointer type [-Werror] fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &st_mode, &capabilities); ^ In file included from mkbootfs.c:15:0: ./private/android_filesystem_config.h:328:20: note: expected ‘long unsigned int *’ but argument is of type ‘__gid_t *’ static inline void fs_config(const char *path, int dir, ^ cc1: all warnings being treated as errors Makefile:23: set di istruzioni per l'obiettivo "mkbootfs.o" non riuscito make: *** [mkbootfs.o] Errore 1
Any hint?