1. Are you ready for the Galaxy S20? Here is everything we know so far!

[DEV] Continuing Triumph ICS Development

Discussion in 'Android Devices' started by mantera, Jan 23, 2012.

  1. mantera

    mantera Android Expert
    Thread Starter

    In an effort to combine all of what we've done so far and to make it easier for anyone new to just jump in, I'm creating this new thread continued from the previous one and will try to keep it updated with whatever the latest code/fixes that we all come up with.

    Rules:
    Please do NOT ask questions on how to set up your environment here. Please use the CM7 or g60madman's guide.
    Please use this thread only to discuss and help further along our ICS port on the Triumph.
    Do NOT ask for an ETA.
    Do NOT post any builds at this time if you are part of the team.
    I will list credits in these posts to all who contribute fixes or code.

    If you don't agree to these rules, please move along.

    To begin, either use the CM7 thread
    http://androidforums.com/triumph-al...ild-cyanogenmod7-source-development-area.html

    or g60madman's guide
    http://androidforums.com/triumph-al...uide-setting-up-your-android-environment.html

    to set up your environment.

    You can pull my repo by using the following command:

    Code (Text):
    1.  
    2. repo init -u [URL]https://github.com/mantera/android.git[/URL] -b ics
    3.  
    I also pushed up my kernel changes to my github if you want to try building that as well or improving that:

    Code (Text):
    1.  
    2. git clone git://github.com/mantera/triumph-kernel-msm7x30.git -b 2.6.32.9-chaos-ICS
    3.  
    in the 2.6.32.9-chaos-ICS branch. Any improvements are welcome.

    NOTE: I have now added the proprietary blobs to my repo so you no longer need to pull them from your Motorola Triumph phone. The blobs will be in the correct location already so you can skip the part about "running the extract-files.sh script".

    If you come up with any fixes, please either post it in this thread or send me a pull request on Github and I'll pull it into the repo so we can all be on the same page.

    I will keep the first 3 posts of this thread updated as best as I can so we don't have to read through mega pages to get all of the info.

    LINK for latest GAPPS thanks to several people providing the link:
    http://goo-inside.me/gapps/gapps_ics_4.0.3_v11.zip
     


    rmagallon000, MikeRL, macnyc and 36 others like this.

    1. Download the Forums for Android™ app!


      Download

       
  2. mantera

    mantera Android Expert
    Thread Starter

    Miscellaneous info when needed:

    As of right now

    Works:
    -It boots and some apps work...
    -SDCard/USB mount - after first bootup, adb will not work until you reboot again.
    -RIL - phone, sms - working (thanks yumbrad)
    -RIL - data - (thanks yumbrad with contributions from progmanos and whyzor)
    -WIFI - (yumbrad is the MAN!)
    -hw acceleration
    -Live wallpapers work now too.
    -Screenshots work now.
    -Audio - tested phone, music, ringtones, so far. All work.
    -bluetooth - able to pair headset and gets audio during phone call.
    -Home key - long press brings up Recent Apps dialog now.
    -wired headset works.
    -mms (progmanos)
    -gps & navigation
    -data usage accounting
    -mic use in apps and google search
    -wifi hotspot tethering

    What doesn't work:
    camera
    hdmi
    Everything else!

    Kernel:
    Now using Whyzor's latest touchscreen driver.

    On the first boot, the screen and things may not work right. REBOOT and all of the stuff listed as WORKING will be good.
     
  3. mantera

    mantera Android Expert
    Thread Starter

    Credits goes to the following:

    Isaacj87
    Tickerguy
    yumbrad (ril, wifi)
    edowar (for his sources)
    whyzor (touchscreen driver)
    PerkinsII (wired headset)
    progmanos (Home key-recent apps, mms)
    NateMcKn (facebook contact sync)
     
    zajrik, viskon, phohammer and 5 others like this.
  4. BadAngel

    BadAngel Member

    I am currently pulling your repo. Does it build?
     
  5. mantera

    mantera Android Expert
    Thread Starter

    It did for me last night ...
     
    bobloadmire and sharpe351 like this.
  6. BadAngel

    BadAngel Member

    Do I need to pull the proprietaries from my phone or are they included?
     
  7. Whyzor

    Whyzor Android Expert

    Thanks for setting this up. I had an idea for setting up a wiki page documenting how to setup the build env (start with G60man's docs). That way people can make minor corrections going forward. You can create wikipages under the device_motorola_triumph repo on github.
     
  8. mantera

    mantera Android Expert
    Thread Starter

    You still need to get the proprietary files from somewhere. they are not in the repo. I suppose I could throw them up there... For now pull them or use the stuff that Whyzor posted in g60madman's guide thread.
     
  9. Whyzor

    Whyzor Android Expert

    bobloadmire likes this.
  10. mantera

    mantera Android Expert
    Thread Starter

    That's not a bad idea. I'll have to look into that when I get a chance.
     
  11. g60madman

    g60madman Guest

    I have already made edits to the document to include mantera's build.

    http://androidforums.com/triumph-al...uide-setting-up-your-android-environment.html
     
  12. mantera

    mantera Android Expert
    Thread Starter

    Yeah, I saw that. However, don't think that we have a problem with the USB mounting. I almost have it working.

    The only problem left is that the SD Card is not being mounted/recognized by the ROM--it thinks the SD card is unmounted. Once that problem is worked out, then the USB mounting should work.
     
    bobloadmire likes this.
  13. yumbrad

    yumbrad Member

    mantera - did you build the kernel from source? If so, do you have that pushed to github?
     
    bobloadmire likes this.
  14. mantera

    mantera Android Expert
    Thread Starter

    Yes I did. Just pushed everything and added that to the OP.
     
    Whyzor and yumbrad like this.
  15. Whyzor

    Whyzor Android Expert

    Wow, good stuff man (kernel & ROM source updates). I'll be joining the ICS club soon after I get a new build machine setup (my current one would take forever to build ICS).
     
    bobloadmire and bradhoschar like this.
  16. mantera

    mantera Android Expert
    Thread Starter

    Excellent!


    >my current one would take forever to build ICS

    That's why I start a build before going to bed at night... :)
     
  17. marc12868

    marc12868 Android Expert

    Also I put that in Mantera's ics zip and flashed it and it worked, well the sdcard didn't mount and on my laptop the mobile partition showed up nothing else so it was like it was in download mode, but still functional as a phone...
     
    grissfam and bobloadmire like this.
  18. DrakonVolk

    DrakonVolk Newbie

    Just wanna say thank you so much for picking up this project, guys... It is so appreciated by guys like me without the skills to do it myself. You ROCK!!!
     
    bradhoschar likes this.
  19. marc12868

    marc12868 Android Expert

    And I'm gonna reinstall Ubuntu and start from scratch and see if I can get the git pulled before I go to bed or before I go to work tomorrow. Hopefully I don't get any fetch errors this time around...
     
    bobloadmire likes this.

  20. dunno if thats relevant to the topic at hand.

    this might be however.

    I've reached out to devs working on ICS / CM9 roms for the HTC Thunderbolt and Droid Incredible 2 (both of which use the same CPU (MSM8655 Snapdragon) in hopes that they may have advice or tips to get certain things like the SD card working, hardware acceleration, and wifi. some of those things actually ARE working on the other phones.

    if I get any useful, helpful replies I'll do my best to relay the info here in case they are too busy to come here and post. they are on another site entirely as it is.

    @Whyzor, if I get that info first place it goes is here. as for now, my messages have been sent to them and I'm awaiting a reply. they are on the Rootzwiki forum and I cant find their work on AndroidForums so thats where the PMs were sent.
     
    yumbrad and marc12868 like this.
  21. Whyzor

    Whyzor Android Expert

    It would be less work for both parties if we can just follow their github repos and see the source code & updates. Usernames or github links are welcome.
     
  22. marc12868

    marc12868 Android Expert

    Well in that case here's the link to the thunderbolt stuff... It has the github and download links in the OP. [Rom] Ics Thunderbolt [No Data Beta 1] - RootzWiki
     
    grip, bobloadmire and Whyzor like this.
  23. BadAngel

    BadAngel Member

    In case anyone didn't know, instead of using the ./get-rommanager command, we now need to cd to /vendor/cm and use ./get-prebuilts otherwise it won't build.

    It might also be a good idea to add that as a step to the guide.
     
  24. BadAngel

    BadAngel Member

    Allright, I got it to fully compile and boot off of manteras repo. Force closes from com.android.phone, but we already knew that was an issue.
     
  25. yumbrad

    yumbrad Member

    Well, I got it built and flashed, and it does indeed boot! Of course there are a lot of problems, but ... one at a time :)

    An easy way to stop the repeated phone FC for now (not a phone fix):
    adb pull /system/build.prop
    comment out ro.telephony.ril_class=Triumph
    adb push build.prop /system
    ..Next reboot and it shouldn't be FC looping.

    I decided to look at the most common error in the logcat next ... the hwcomposer overlay problem (Bypass Overlay Commit failed). This would be part of why HW accel doesn't work. That led me to a failing ioctl. Taking a look at dmesg via adb shell, there were a bunch of unrecognized ioctl cmds coming in. Figured out the mismatch was in the sizeof(struct mdp_overlay). The msm_mdp.h included in the triumph device files is quite new - the one in the kernel is from motorola's sourceforge release. Interestingly, the .h is newer than the CAF msm-2.6.32 sources, so the motorola release is an ugly hybrid of 2.6.32 and CAF sources around 2.6.38. Unfortunately, a fair amount of gralloc / etc code fails to build if I copy the older msm_mdp.h from the kernel into the device includes.

    Suggestions? The best path would seem to be bringing the necessary changes from the motorola tree into a 3.0 or at least 2.6.38 kernel. But ugh, there are a lot of changes and the kernel changed quite a bit from 2.6.32. I'm not sure how (if it does) edowar's ROM has HW accel working - he has the same mismatch in his device vs. kernel msm_mdp.h files.
     

Motorola Triumph Forum

Features and specs are not yet known.

unknown
Release Date
0
Reviews
Loading...
Similar Threads - DEV Continuing Triumph
  1. xarzu
    Replies:
    5
    Views:
    371
  2. Resid Seyidli
    Replies:
    1
    Views:
    2,761
  3. tenn1440
    Replies:
    0
    Views:
    1,450
  4. killallpokemons
    Replies:
    1
    Views:
    585
  5. Logic2Paradigm
    Replies:
    3
    Views:
    1,113
  6. lichee
    Replies:
    0
    Views:
    2,806
  7. faisalmshaikh
    Replies:
    1
    Views:
    2,142
  8. iTP
    Replies:
    1
    Views:
    478
  9. Funtyx
    Replies:
    1
    Views:
    584
  10. Pedrum Golriz
    Replies:
    1
    Views:
    578

Share This Page

Loading...