View Single Post
Old August 9th, 2011, 11:54 AM   #32 (permalink)
isaacj87
Senior Member
Thread Author (OP)
 
isaacj87's Avatar
 
Join Date: Dec 2010
Location: Dallas, TX
Posts: 1,132
 
Device(s): LG Optimus L9, Nexus 7
Carrier: MetroPCS

Thanks: 93
Thanked 1,792 Times in 494 Posts
ikarosdev
Default

Done:

Quote:
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

I should mention that this is good because we'll have an official build of CWM for the Triumph that can be found in ROM Manager.
__________________
"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater." --Albert Einstein
isaacj87 is offline  
Last edited by isaacj87; August 9th, 2011 at 12:08 PM.
Reply With Quote
The Following 2 Users Say Thank You to isaacj87 For This Useful Post:
MarkMcCoskey (August 9th, 2011), Rezanow (August 11th, 2011)