[NIGHTLY][Full HWA] CyanogenMod 9 [4.0.4][Kernel: cmhtcleo/tytung]

Search This thread

cmhtcleo

Member
Oct 4, 2011
43
317
XDA
xNnWC.png



Welcome to the unofficial CyanogenMod 9 nightlies

The releases will co-inside and the build start time is at 00:01 UTC, and by 01:00 the builds should be uploaded. If at anytime the builds are not there, then there was a problem building the ROM, and we will have a look at it ASAP

These builds are compiled from the latest CyanogenMod repos and device repos on device and vendor files.

Furthermore these builds are multiDPI, i.e. you can run the rom at any dpi between 160 and 240 while having hi-res assets. Also Phone.apk won't crash anymore if a DPI < 190 is set.

kernel/ramdisk packaged boot.img style
if you are on magldr see second post for instructions

System partition size currently required:
Without Gapps 155MB
With Gapps light 190MB
With Gapps standard 195MB

Download nightly builds here

or via GooManager
Google apps
Latest Gapps LIGHT (2012-03-17) for ICS
(picoTTS folder removed to save some diskspace - can be downloaded to SD later if needed)


Tip: If you want to have your softbuttons and/or density settings persist over updates and don't want to edit build.prop with every update, use local.prop.
create a file named local.prop in your /data root (i.e. /data/local.prop) with the following contents (for example):
Code:
qemu.sf.lcd_density=160    # overrides ro.sf.lcd_density in build.prop
qemu.hw.mainkeys=0    # activates the softbuttons

  • arif-ali - for his huge contribution to the cmhtcleo project and beeing a indispensable part of the Android community
  • securecrt and Rick1995 - for their awesome work on a full HWA kernel and other great contibutions to the Leo codebase
  • copenhagen - for support with CM7 and now with ICS/CM9
  • warrenb213 - for support with CM7 and now with ICS/CM9
  • charnsingh_online - For starting this great project for porting to CM
  • tytung - Continued dedication of his work to the HD2 Thanks for you kernels
  • texasice - For creating the first HD2 compitable ICS through passion/bravo
  • ankuch - thanks for the HW accel, codecs and Camera
  • zivan56 - your input for the headphone fix
  • Bexton - The fix for USB Mass Storage
  • michie - Your work on ICS for the HD2
  • cyanogen - For starting this great project
  • Google - This wouldn't have happened without the releases of Android from you

Visit us in #cmhtcleo on freenode
Webchat


---------- brought to you by the cmhtcleo team ----------
arif-ali | milaq | zeusk

 
Last edited:

cmhtcleo

Member
Oct 4, 2011
43
317
XDA
MAGLDR instructions

Although we have an unified updater-script for both cLK and MAGLDR you need to take care that your MAGLDR partitioning is correct.

We are using boot.img style kernel/ramdisk (as everyone else should be).
For MAGLDR users that means that you need to specify your boot partition as rboot.

The following flash.cfg is recommended (system size can vary)

Code:
misc ya 1M
recovery rrecov|ro|nospr filesize recovery-raw.img
[COLOR="Green"]boot rboot|ro 5M[/COLOR]
system ya 190M
cache ya 2M
userdata ya|asize|hr allsize

Instead, you can also download this package:
http://milaq.exnet.me/downloads/android/leo/magldr_part_cm9.zip

Extract and run DAF to flash the layout above
 
Last edited:

cmhtcleo

Member
Oct 4, 2011
43
317
XDA
Building from source

I thought it would be a good idea that I just give a quick run through on how this is compiled.

First we need a Linux environment, preferably Ubuntu >= 12.04 or a recent Debian

Follow the simple Howto here, to just get an idea of the pre-requisites

To initialize the common cyanogenmod repos, run the following command
Code:
repo init -u git://github.com/CyanogenMod/android.git -b ics

then to get device specific repos for the HD2 you need to pull in a local manifest.
you can use this one
Code:
curl https://raw.github.com/milaq/android/ics/local_manifest_htc_leo.xml > .repo/local_manifest.xml
(you can of course tailor your own too)

then you need to sync the repositories
Code:
repo sync


You can also run repo sync -j 4, say if you had 4 cores to speed things up, you may also need to add a -f, to make sure that it continues to the end even if you get any error messages. You may need to repeat this process 2 or 3 times to make sure everything is synced. This will take a long time to synchronise, so be patient.

next run the following command to gets some prebuilt apks (doesn't need to be done with every build)
Code:
vendor/cm/get-prebuilts

so after this, you need to run the following commands

Code:
. build/envsetup
lunch cm_leo-userdebug
make -j4 bacon

This has changed from lunch cyanogen_leo-eng to lunch cm_leo-userdebug, this is the new method from CyanogenMod team for CM9

In the end you will get a zip file in out/target/product/leo/full_leo-ota-eng.root.zip.
 
Last edited:

cmhtcleo

Member
Oct 4, 2011
43
317
XDA
Hey all,

The link is up.

At the moment, this CWM size supported with cLK, unless you know how to get it working with MAGLDR, then you're free to convert it, and pass it back.

The GAPPS as mentioned on the Nexus One thread is also in the first post

This is still alpha in my opinion at the moment, so some things may still not work as other ICS ROMs

CM code, apps etc... are still not there, and will come, when they add it, and once some the stuff in the "Not Working" are working, will start doing a nightly release

Any suggestions, additions etc.. etc.. aare all welcome. Thanks for the whole community for making this possible

Good luck testing
 

gmbhneo

Senior Member
Sep 24, 2009
211
48
POCO X4 Pro
damn this is so nice! im about to backup now and then flash it. ill report later what kind of bugs i can found and what is working.

THX FOR THE HARD WORK! LOVE THE HOLE XDA, CYANOGEN, ANDROID COMMUNITY!

---------- Post added at 11:03 AM ---------- Previous post was at 10:51 AM ----------

well, got it flashed and jsut started. First thing that come up was an error massage:

unfortunatly, Nfc Service has stopped.

Can only press OK

After i pressed OK, the same massage in an outher languegae pop up and i cant get it away...

No way get around that now...

Ah and my screen just went black and i only can reactivate it with the BACK button.

My System is: HTC HD2 EU, CLK, 200/44, Fresh wipe, Fresh SD Format, Fresh install
 
Last edited:

[email protected]

Senior Member
Aug 27, 2010
1,809
1,312
46
Brooklyn, NY
superstarmobility.weebly.com
damn this is so nice! im about to backup now and then flash it. ill report later what kind of bugs i can found and what is working.

THX FOR THE HARD WORK! LOVE THE HOLE XDA, CYANOGEN, ANDROID COMMUNITY!

---------- Post added at 11:03 AM ---------- Previous post was at 10:51 AM ----------

well, got it flashed and jsut started. First thing that come up was an error massage:

unfortunatly, Nfc Service has stopped.

Can only press OK

After i pressed OK, the same massage in an outher languegae pop up and i cant get it away...

No way get around that now...

Ah and my screen just went black and i only can reactivate it with the BACK button.

My System is: HTC HD2 EU, CLK, 200/44, Fresh wipe, Fresh SD Format, Fresh install
To fix that open the gapps zip with 7zip and go to app folder and double tap the nfc.google.apk and go in the lib folder and take the nfc_jni.so and put it in the lib folder than reflash. when flashing addon to system app files has to have a lib file in the lib folder or there will be fcs.
 

kikisp

Senior Member
Jul 23, 2010
544
70
Beograd
this is post about headphone fix...
Headphones working

diff from http://gitorious.org/~tytung/linux-o...x_on_wince_htc

Still needs work to display icon, but works fine at least in terms of basic playback functionality.



I grabbed the config file from /proc/config.gz from beta 2.

EDIT: if anybody wants to try it (no responbility if it breaks your phone and I have done ZERO testing apart from headphones): http://www.fileserve.com/file/V2tN9E...adphonefix.zip
Install over beta 2 using CWM for Magldr (install zip option).
ofcourse credits to zivan56
 

kane159

Senior Member
Jun 16, 2008
871
118
Hey all,

The link is up.

At the moment, this CWM size supported with cLK, unless you know how to get it working with MAGLDR, then you're free to convert it, and pass it back.

The GAPPS as mentioned on the Nexus One thread is also in the first post

This is still alpha in my opinion at the moment, so some things may still not work as other ICS ROMs

CM code, apps etc... are still not there, and will come, when they add it, and once some the stuff in the "Not Working" are working, will start doing a nightly release

Any suggestions, additions etc.. etc.. aare all welcome. Thanks for the whole community for making this possible

Good luck testing
mmmm is it possable to add the long push back to "close" app in ICS?
this function is why I use CM7 and the cpu tweak
 

Dr_Grip

Senior Member
Jul 23, 2011
417
183
mmmm is it possable to add the long push back to "close" app in ICS?
this function is why I use CM7 and the cpu tweak
This is an early alpha version. It barely even boots. Even ultra-basic basics like wireless data transfers are still not working.

Of course it will be possible to add features like the one you asked for later, but
a) This is not the place to ask, as this is only the port of CM9 to the HD2. Join the CyanogenMod forums for upstream (that means non-HD2 specific) feature requests.
b) Features most likely will only be added after basics are taken care of.
 

cmhtcleo

Member
Oct 4, 2011
43
317
XDA
CM code, apps, and anything CM specific etc... are still not there, and will come eventually, when CyanogenMod add it (so don't ask me to add it). It will come when it added

Anything that is/was CM specific will not come yet, you have to wait for those to be ported by the CyanogenMod team. I am not part of that team. I work independent of them to get you guys the best out of CM, as we don't and will never get official status by them
 
comments & feedback blah

sup Arif,
do u think u can post a rom manager downloadable cwr with the 200mb system partition?
will be following the cm9 development intentitively. if u need any feedback from testing dont hesitate to ask.. i dont work.... just mod android stuff all day so got alot of free time -=] oh and if you dont want to test something on your HD2 send it my way ill risk a brick i have some bad motherboards that only work in the freezer or out the window in the winter lol so not a loss if they complete there slow death :D
thanks
-Marcio @
WinDroidz inc

lots of HD2 parts for sale pm if looking for something... have everything
 

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
sup Arif,
do u think u can post a rom manager downloadable cwr with the 200mb system partition?
will be following the cm9 development intentitively. if u need any feedback from testing dont hesitate to ask.. i dont work.... just mod android stuff all day so got alot of free time -=] oh and if you dont want to test something on your HD2 send it my way ill risk a brick i have some bad motherboards that only work in the freezer or out the window in the winter lol so not a loss if they complete there slow death :D
thanks
-Marcio @
WinDroidz inc

lots of HD2 parts for sale pm if looking for something... have everything

@blahshed, all

The replacement of my HD2 to SGS2 has been enforced on me at work after 2 years contract, so it could be that I may not be able to keep it; so for the time being my development for ICS will cease, as I cannot test anything at all.

I will find out in a week or 2. Nevertheless I may invest in one HD2 for devving purposes, when I find out.

I will however keep monitoring the progress that the HD2 colleagues are making, so that I can quickly fire in any of the updates to the code when and if I come back.
 

fhasovic

Senior Member
May 12, 2010
561
485
Sarajevo
I will however keep monitoring the progress that the HD2 colleagues are making, so that I can quickly fire in any of the updates to the code when and if I come back.

Hi! What is correct way to build ICS? I am building CM7 without problems. Can you help me with first steps only? ;-)
Thanks in advance!
 

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
  • Like
Reactions: clio94

arif-ali

Retired Recognized Developer
Nov 14, 2007
1,005
1,455
Sheffield
blog.arif-ali.co.uk
ICS progress

Just bought a HD2 from ebay, so hopefully development will continue sometime this week. I can see that tytung has managed to get quite a bit working.

I know that still not all CM stuff is not there yet, so that again will take time even if we have everything working from the ICS point of view; so at least a month or 2 yet I think; but we'll see
 

Top Liked Posts

  • There are no posts matching your filters.
  • 131
    xNnWC.png



    Welcome to the unofficial CyanogenMod 9 nightlies

    The releases will co-inside and the build start time is at 00:01 UTC, and by 01:00 the builds should be uploaded. If at anytime the builds are not there, then there was a problem building the ROM, and we will have a look at it ASAP

    These builds are compiled from the latest CyanogenMod repos and device repos on device and vendor files.

    Furthermore these builds are multiDPI, i.e. you can run the rom at any dpi between 160 and 240 while having hi-res assets. Also Phone.apk won't crash anymore if a DPI < 190 is set.

    kernel/ramdisk packaged boot.img style
    if you are on magldr see second post for instructions

    System partition size currently required:
    Without Gapps 155MB
    With Gapps light 190MB
    With Gapps standard 195MB

    Download nightly builds here

    or via GooManager
    Google apps
    Latest Gapps LIGHT (2012-03-17) for ICS
    (picoTTS folder removed to save some diskspace - can be downloaded to SD later if needed)


    Tip: If you want to have your softbuttons and/or density settings persist over updates and don't want to edit build.prop with every update, use local.prop.
    create a file named local.prop in your /data root (i.e. /data/local.prop) with the following contents (for example):
    Code:
    qemu.sf.lcd_density=160    # overrides ro.sf.lcd_density in build.prop
    qemu.hw.mainkeys=0    # activates the softbuttons

    • arif-ali - for his huge contribution to the cmhtcleo project and beeing a indispensable part of the Android community
    • securecrt and Rick1995 - for their awesome work on a full HWA kernel and other great contibutions to the Leo codebase
    • copenhagen - for support with CM7 and now with ICS/CM9
    • warrenb213 - for support with CM7 and now with ICS/CM9
    • charnsingh_online - For starting this great project for porting to CM
    • tytung - Continued dedication of his work to the HD2 Thanks for you kernels
    • texasice - For creating the first HD2 compitable ICS through passion/bravo
    • ankuch - thanks for the HW accel, codecs and Camera
    • zivan56 - your input for the headphone fix
    • Bexton - The fix for USB Mass Storage
    • michie - Your work on ICS for the HD2
    • cyanogen - For starting this great project
    • Google - This wouldn't have happened without the releases of Android from you

    Visit us in #cmhtcleo on freenode
    Webchat


    ---------- brought to you by the cmhtcleo team ----------
    arif-ali | milaq | zeusk

    34
    MAGLDR instructions

    Although we have an unified updater-script for both cLK and MAGLDR you need to take care that your MAGLDR partitioning is correct.

    We are using boot.img style kernel/ramdisk (as everyone else should be).
    For MAGLDR users that means that you need to specify your boot partition as rboot.

    The following flash.cfg is recommended (system size can vary)

    Code:
    misc ya 1M
    recovery rrecov|ro|nospr filesize recovery-raw.img
    [COLOR="Green"]boot rboot|ro 5M[/COLOR]
    system ya 190M
    cache ya 2M
    userdata ya|asize|hr allsize

    Instead, you can also download this package:
    http://milaq.exnet.me/downloads/android/leo/magldr_part_cm9.zip

    Extract and run DAF to flash the layout above
    26
    Building from source

    I thought it would be a good idea that I just give a quick run through on how this is compiled.

    First we need a Linux environment, preferably Ubuntu >= 12.04 or a recent Debian

    Follow the simple Howto here, to just get an idea of the pre-requisites

    To initialize the common cyanogenmod repos, run the following command
    Code:
    repo init -u git://github.com/CyanogenMod/android.git -b ics

    then to get device specific repos for the HD2 you need to pull in a local manifest.
    you can use this one
    Code:
    curl https://raw.github.com/milaq/android/ics/local_manifest_htc_leo.xml > .repo/local_manifest.xml
    (you can of course tailor your own too)

    then you need to sync the repositories
    Code:
    repo sync


    You can also run repo sync -j 4, say if you had 4 cores to speed things up, you may also need to add a -f, to make sure that it continues to the end even if you get any error messages. You may need to repeat this process 2 or 3 times to make sure everything is synced. This will take a long time to synchronise, so be patient.

    next run the following command to gets some prebuilt apks (doesn't need to be done with every build)
    Code:
    vendor/cm/get-prebuilts

    so after this, you need to run the following commands

    Code:
    . build/envsetup
    lunch cm_leo-userdebug
    make -j4 bacon

    This has changed from lunch cyanogen_leo-eng to lunch cm_leo-userdebug, this is the new method from CyanogenMod team for CM9

    In the end you will get a zip file in out/target/product/leo/full_leo-ota-eng.root.zip.
    17
    I'll look into what can be done for tether, hopefully it should be helpful for upstream (tytung) too, other than that i notice no noticeable change in the .35 kernels (personal opinion).

    I have fixed usb tethering.
    16
    Hi all,

    Some of you guys must be thinking that maybe I have deserted this project.

    Nope.

    I have been busy at work, family etc... Real Life can sometimes take over; I have been doing the occasional testing, but not getting that far.

    The code that tytiung, nexusn1, uses code from AOSP, and some of the code is cherry-picked from CM, and codeaurora, so everything seems to be working. It also seems the compilers may be slightly different as well, therefore the pre-compiled HW accel stuff doesn't work.

    I on the other hand am trying to get CM (core) to work, It could be that I need to port the adreno200 code from what they are using to the CM code, and go from there, and see if we can get it working. Even I am getting blank screen with no HW accel :(; although touch screen is working.

    So at the moment I am stuck at the HW accell and display drivers from 4.0.3. When I have news I will get back.

    regards,
    Arif