$ ls -1 rom boot.img Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img system.img userdata.img
$ ls -1 rom boot.img Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img system.img userdata.img
$ ls -1 rom boot.img Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img system.img userdata.img
$ ls -1 rom boot.img Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img system.img userdata.img
$ ls -1 rom boot.img Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img system.img userdata.img
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell cat / proc / mtd dev: size erasesize name mtd0: 00040000 00020000 "misc" mtd1: 00500000 00020000 "recovery" mtd2: 00280000 00020000 "boot" mtd3: 0aa00000 00020000 "system" mtd4: 08200000 00020000 "cache" mtd5: 0a5c0000 00020000 "userdata"
$ adb shell mount | grep yaffs / dev / block / mtdblock3 on / system type yaffs2 ( ro ) / dev / block / mtdblock5 on / data type yaffs2 ( rw,nosuid,nodev ) / dev / block / mtdblock4 on / cache type yaffs2 ( rw,nosuid,nodev )
$ adb shell mount | grep yaffs / dev / block / mtdblock3 on / system type yaffs2 ( ro ) / dev / block / mtdblock5 on / data type yaffs2 ( rw,nosuid,nodev ) / dev / block / mtdblock4 on / cache type yaffs2 ( rw,nosuid,nodev )
$ adb shell mount | grep yaffs / dev / block / mtdblock3 on / system type yaffs2 ( ro ) / dev / block / mtdblock5 on / data type yaffs2 ( rw,nosuid,nodev ) / dev / block / mtdblock4 on / cache type yaffs2 ( rw,nosuid,nodev )
$ adb shell mount | grep yaffs / dev / block / mtdblock3 on / system type yaffs2 ( ro ) / dev / block / mtdblock5 on / data type yaffs2 ( rw,nosuid,nodev ) / dev / block / mtdblock4 on / cache type yaffs2 ( rw,nosuid,nodev )
$ mkdir system && cd system && unyaffs .. / .. / .. / rom / system.img $ mkdir .. / data && cd .. / data && unyaffs .. / .. / .. / rom / userdata.img
$ mkdir system && cd system && unyaffs .. / .. / .. / rom / system.img $ mkdir .. / data && cd .. / data && unyaffs .. / .. / .. / rom / userdata.img
** + ----------------- + ** | boot header | 1 page ** + ----------------- + ** | kernel | n pages ** + ----------------- + ** | ramdisk | m pages ** + ----------------- + ** | second stage | o pages ** + ----------------- + ** ** n = (kernel_size + page_size - 1) / page_size ** m = (ramdisk_size + page_size - 1) / page_size ** o = (second_size + page_size - 1) / page_size
$ split_bootimg.pl .. / rom / boot.img $ ls boot.img-kernel boot.img-ramdisk.gz data system
$ split_bootimg.pl .. / rom / boot.img $ ls boot.img-kernel boot.img-ramdisk.gz data system
$ split_bootimg.pl .. / rom / boot.img $ ls boot.img-kernel boot.img-ramdisk.gz data system
$ mkdir ramdisk && cd ramdisk && gzip -dc .. / boot.img-ramdisk.gz | cpio -i $ ls data default.prop dev init init.goldfish.rc init.hero.rc init.rc logo.rle proc sbin sys system
$ mkdir ramdisk && cd ramdisk && gzip -dc .. / boot.img-ramdisk.gz | cpio -i $ ls data default.prop dev init init.goldfish.rc init.hero.rc init.rc logo.rle proc sbin sys system
$ mkdir ramdisk && cd ramdisk && gzip -dc .. / boot.img-ramdisk.gz | cpio -i $ ls data default.prop dev init init.goldfish.rc init.hero.rc init.rc logo.rle proc sbin sys system
find . | cpio --quiet -o -H newc | gzip > .. / new-ramdisk.gz $ cd .. && mkbootimg --kernel boot.img-kernel --ramdisk new-ramdisk.gz --cmdline "no_console_suspend=1 console=null" -o newboot --base 0x19200000
find . | cpio --quiet -o -H newc | gzip > .. / new-ramdisk.gz $ cd .. && mkbootimg --kernel boot.img-kernel --ramdisk new-ramdisk.gz --cmdline "no_console_suspend=1 console=null" -o newboot --base 0x19200000
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
show_progress 0.1 0 format CACHE: format SYSTEM: copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin set_perm 0 3003 02755 SYSTEM:bin/netcfg set_perm 0 3004 02755 SYSTEM:bin/ping set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluez set_perm 0 0 0755 SYSTEM:etc/bluez set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn show_progress 0.1 10 show_progress 0.2 0 copy_dir PACKAGE:data DATA: show_progress 0.2 10 show_progress 0.3 0 format BOOT: write_raw_image PACKAGE:boot.img BOOT: show_progress 0.3 10
$ zip -r habrarom.zip . $ java -classpath ../../bin/testsign.jar testsign habrarom.zip habrarom-signed.zip
$ zip -r habrarom.zip . $ java -classpath ../../bin/testsign.jar testsign habrarom.zip habrarom-signed.zip
show_progress 0.1 0 write_radio_image PACKAGE:Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img show_progress 0.1 10
show_progress 0.1 0 write_radio_image PACKAGE:Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img show_progress 0.1 10
show_progress 0.1 0 write_radio_image PACKAGE:Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img show_progress 0.1 10
$ ls -1 META-INF Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img
$ ls -1 META-INF Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img
$ ls -1 META-INF Radio_Signed_HERO_63.18.55.06O_6.35.15.01.img
Source: https://habr.com/ru/post/96609/
All Articles