Done:
Hey Koush,
I've successfully ported CWM to the Motorola Triumph WX435. If my device configs are okay, I'd like to get the Triumph added to ROM Manager.
You can find my repo here: https://github.com/ikarosdev/android_device_motorola_triumph
I had to do these things for the port to work:
- Had to add 32 bit graphics.
- Add a custom keymapping
- Adjust the pagesize in /system/core/mkbootimg/mkbootimg.c from 2048 to 4096
- Not include recovery partition in fstab.
I've had many testers confirm that it works. They've successfully done a nandroid backup and restored. While working on CM7, I've flashed a zip just fine. However, USB mounting is not working.
Another big thing is that the device does not have a recovery partition. You have to put the phone in download mode and swap out the original recovery.img found in a fat partition at /dev/block/mmcblk0p1. In light of this, I've had to include custom releasetools.
Off-topic:
I had to manually change the pagesize in /system/core/mkbootimg/mkbootimg.c. Am I doing this wrong? If not, could we add a flag and build define so that way it'll be easier to have it build boot images for other devices. For example: TARGET_USES_4K_PAGESIZE?
Thanks,
Isaac
Upvote
0