As mentioned before, there's something wrong with creating boot images for the HTC One S. They just don't boot.
I did some hexdumping, editing and finally found out what's really wrong.
When unpacking a boot.img you get the base_addr 80400000.
In cyanogenmod/system/core/mkbootimg/mkbootimg.c:146 you have the line
When using mkbootimg with the given base_addr of 80400000 this results in a ramdisk_addr of 81400000 whereas the correct address would be 81800000.
To create a boot.img you execute:
And it's important to specify --base BEFORE --ramdiskaddr as otherwise it gets overwritten.
Hope you can put this to good use
I did some hexdumping, editing and finally found out what's really wrong.
When unpacking a boot.img you get the base_addr 80400000.
In cyanogenmod/system/core/mkbootimg/mkbootimg.c:146 you have the line
Code:
hdr.ramdisk_addr = base + 0x01000000;
When using mkbootimg with the given base_addr of 80400000 this results in a ramdisk_addr of 81400000 whereas the correct address would be 81800000.
To create a boot.img you execute:
Code:
mkbootimg --kernel zImage --ramdisk ramdisk.gz --base 80400000 --ramdiskaddr 81800000 --cmdline console=ttyHSL0,115200,n8 -o boot.img
And it's important to specify --base BEFORE --ramdiskaddr as otherwise it gets overwritten.
Hope you can put this to good use
Last edited: