• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

milaq

Inactive Recognized Developer
Feb 24, 2009
638
2,643
milaq.net
Can you give me an idea of the system requirements?

i7
8 gigs memory
Roughly 360 gig hard drive for each os.

thats more than enough :)
if you plan to build more than once or twice make sure you set up ccache correctly ("ccache -M 50G" should be good enough).

a build on a decent quad core with 4 gigs of ram and a filled ccache from 3 to 4 builds will roughly take half an hour.

Sent from my HP TouchPad
 
  • Like
Reactions: Burag and kylew1212

securecrt

Senior Member
Aug 4, 2010
763
2,762
Shanghai
thats more than enough :)
if you plan to build more than once or twice make sure you set up ccache correctly ("ccache -M 50G" should be good enough).

a build on a decent quad core with 4 gigs of ram and a filled ccache from 3 to 4 builds will roughly take half an hour.

Sent from my HP TouchPad

I am using Vmware installed debian 6
compile this rom will cost about 60 minutes. my machine is
i5 2500 cpu
8gRAM
2T harddisk.

Sent from my NexusHD2 using xda premium
 
  • Like
Reactions: Burag

kylew1212

Senior Member
Dec 1, 2011
485
281
Alabama
www.memoryx2.com
I am using Vmware installed debian 6
compile this rom will cost about 60 minutes. my machine is
i5 2500 cpu
8gRAM
2T harddisk.

Sent from my NexusHD2 using xda premium

Since you are using vmware wouldn't that mean you are not usually all cores on a build because some are dedicated to the main os?

I use virtual box instead of vmware, but I have to select how much memory and cpus the os gets.

Sent from my HTC HD2 using xda premium
 

milaq

Inactive Recognized Developer
Feb 24, 2009
638
2,643
milaq.net
Since you are using vmware wouldn't that mean you are not usually all cores on a build because some are dedicated to the main os?

I use virtual box instead of vmware, but I have to select how much memory and cpus the os gets.

Sent from my HTC HD2 using xda premium


yup, some of the juice goes to the host OS. futhermore building in a VM suffers from crappy IO performance.
 

kylew1212

Senior Member
Dec 1, 2011
485
281
Alabama
www.memoryx2.com
yup, some of the juice goes to the host OS. futhermore building in a VM suffers from crappy IO performance.

@milaq is Ubuntu 12.04 good for building / compiling? Or do I need some other os like a different version of Ubuntu or debian?

I know their are probably lots of build components I need and packages but I think your first post has that.


I'm going to try as soon as I get spare time. I want to learn more about developing :)



Sent from my HTC HD2 using xda premium
 

securecrt

Senior Member
Aug 4, 2010
763
2,762
Shanghai
@milaq is Ubuntu 12.04 good for building / compiling? Or do I need some other os like a different version of Ubuntu or debian?

I know their are probably lots of build components I need and packages but I think your first post has that.


I'm going to try as soon as I get spare time. I want to learn more about developing :)



Sent from my HTC HD2 using xda premium

ubuntu is ok

Sent from my NexusHD2 using xda premium
 
  • Like
Reactions: shendan

Burag

Senior Member
Jun 29, 2009
295
102
If you already use some linux distro, then do not bother with virtual machines.
They still can provide some instability.

Is vmware better than virtual box?
I was using both, with Win 7 x64 as host, and Debian testing as guest, and my expirence with both is quite bad.
I have no idea if the problem was my Phenom X6 or still not so good implementation of x64 virtualisation, but I was expirencing vbox/vmw app crashes (not related to guest OS).
 

Rick_1995

Inactive Recognized Developer
Sep 3, 2009
1,118
3,016
Santa Clara
If you already use some linux distro, then do not bother with virtual machines.
They still can provide some instability.


I was using both, with Win 7 x64 as host, and Debian testing as guest, and my expirence with both is quite bad.
I have no idea if the problem was my Phenom X6 or still not so good implementation of x64 virtualisation, but I was expirencing vbox/vmw app crashes (not related to guest OS).

i give my vote to vmware, it saved my ass with flashing through RUU in linux, also magldr worked, so i was amazed since it never worked with vbox, no matter what i did. It would detect IO hardware such as keyboard, mouse or usb stick but nothing else, not even my usb DAC or usb soundcard..
 
  • Like
Reactions: pirlano

kylew1212

Senior Member
Dec 1, 2011
485
281
Alabama
www.memoryx2.com
i give my vote to vmware, it saved my ass with flashing through RUU in linux, also magldr worked, so i was amazed since it never worked with vbox, no matter what i did. It would detect IO hardware such as keyboard, mouse or usb stick but nothing else, not even my usb DAC or usb soundcard..

This may actually sound crazy but I can boot up with Ubuntu partition and then run vbox windows 7 and I actually have hardware that works on my vbox that wont work in Ubuntu. Apparently Linux doesn't have drivers for my card reader and fingerprint scanner.. but I can send them to win 7 and they work. I have gotten magldr to work with vbox like once but it kinda made me nervous because I wasn't sure how good of a connection I had and I didn't want to brick my phone.

The reason I'm wondering which is best is because I'm thinking about deleting my Linux partition and running it from windows 7 via virtual machine so that all my hardware would work in Linux. My built in card reader is a pain with it not working. As far as fingerprint scanners idk if Linux supports them of any type or not.

Sent from my HTC HD2 using xda premium
 

Rick_1995

Inactive Recognized Developer
Sep 3, 2009
1,118
3,016
Santa Clara
This may actually sound crazy but I can boot up with Ubuntu partition and then run vbox windows 7 and I actually have hardware that works on my vbox that wont work in Ubuntu. Apparently Linux doesn't have drivers for my card reader and fingerprint scanner.. but I can send them to win 7 and they work. I have gotten magldr to work with vbox like once but it kinda made me nervous because I wasn't sure how good of a connection I had and I didn't want to brick my phone.

The reason I'm wondering which is best is because I'm thinking about deleting my Linux partition and running it from windows 7 via virtual machine so that all my hardware would work in Linux. My built in card reader is a pain with it not working. As far as fingerprint scanners idk if Linux supports them of any type or not.

Sent from my HTC HD2 using xda premium

Linux will build entries for all present hardware which can be accessed by userspace for userspace based drivers, though for their safety unless a driver is available it will not attempt to do much, do a lspci and see which vendor is your card reader from. I needed extra setup and modules for the sd reader in my old laptop (which was manufactured by "ricoh"). Google will help you a lot with linux and especially with archlinux.
 
  • Like
Reactions: milaq
S

sportsstar89

Guest
Code:
hardware/qcom/display/libcopybit/copybit.cpp:89: warning: missing initializer for member 'hw_module_t::dso'
hardware/qcom/display/libcopybit/copybit.cpp:89: warning: missing initializer for member 'hw_module_t::reserved'
hardware/qcom/display/libcopybit/copybit.cpp: In function 'int get_format(int)':
hardware/qcom/display/libcopybit/copybit.cpp:133: error: 'MDP_Y_CBCR_H2V2_ADRENO' was not declared in this scope
hardware/qcom/display/libcopybit/copybit.cpp: In function 'int msm_copybit(copybit_context_t*, const void*)':
hardware/qcom/display/libcopybit/copybit.cpp:229: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libcopybit/copybit.cpp:230: warning: format '%08lx' expects type 'long unsigned int', but argument 19 has type 'unsigned int'
hardware/qcom/display/libcopybit/copybit.cpp: In function 'int stretch_copybit(copybit_device_t*, const copybit_image_t*, const copybit_image_t*, const copybit_rect_t*, const copybit_rect_t*, const copybit_region_t*)':
hardware/qcom/display/libcopybit/copybit.cpp:389: warning: comparison between signed and unsigned integer expressions
hardware/qcom/display/libcopybit/copybit.cpp:390: warning: comparison between signed and unsigned integer expressions
make: *** [out/target/product/leo/obj/SHARED_LIBRARIES/copybit.qsd8k_intermediates/copybit.o] Error 1
make: *** Waiting for unfinished jobs....
Get this while building any help? Looks like a bad header
 

dusko_m

Senior Member
Aug 10, 2010
171
29
Xiaomi Mi 10T / 10T Pro
time to move from CM7 to CM9. just need some clarification. is darktremor script working with these builds? when I installed early CM9 builds (or tytung rom), I didn't managed to get it working. back then, I didn't spent much time fiddling with it but now I would like to succeed in creating setup I had with CM7. somehow, I would prefer to have apps2sd over link2sd. I can't explain why :)d), lets say that I would like to stick with familiar grounds. Couldn't find any discussion on this topic related to these roms. reading tytung thread, I concluded that there is a problem with dtapp2sd usage with this rom and that he suggests Link2SD. is it same situation with CM nightlies? If so, is there working alternative?

I would like to make a humble request to cmhtcleo team...is there a possibility to include quick tutorial on how to set this up...in 2nd or 3rd post?
 

kylew1212

Senior Member
Dec 1, 2011
485
281
Alabama
www.memoryx2.com
Linux will build entries for all present hardware which can be accessed by userspace for userspace based drivers, though for their safety unless a driver is available it will not attempt to do much, do a lspci and see which vendor is your card reader from. I needed extra setup and modules for the sd reader in my old laptop (which was manufactured by "ricoh"). Google will help you a lot with linux and especially with archlinux.

Thanks Rick, I ran the command however I have no idea which part would be my car reader.. Can you look at this and tell me which it is??
Thanks

Command: lspci
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GT 555M] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
07:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)

Command: lsusb
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0408:1fb2 Quanta Computer, Inc. 
Bus 002 Device 003: ID 1c7a:0801 LighTuning Technology Inc. Fingerprint Reader
Bus 002 Device 004: ID 064e:3030 Suyin Corp. 
Bus 002 Device 005: ID 0489:e010 Foxconn / Hon Hai
 

Dr_Grip

Senior Member
Jul 23, 2011
417
183
kyle, disconnect all external usb devices to narrow the list down. Then run the manufacturer names of everything that you can't identify in lsusb through google.

It is one of these three:
Bus 001 Device 003: ID 0408:1fb2 Quanta Computer, Inc.
Bus 002 Device 004: ID 064e:3030 Suyin Corp.
Bus 002 Device 005: ID 0489:e010 Foxconn / Hon Hai

If you can eliminate any of these by unplugging devices, much will be won.
 
  • Like
Reactions: milaq and kylew1212

kylew1212

Senior Member
Dec 1, 2011
485
281
Alabama
www.memoryx2.com
kyle, disconnect all external usb devices to narrow the list down. Then run the manufacturer names of everything that you can't identify in lsusb through google.

It is one of these three:
Bus 001 Device 003: ID 0408:1fb2 Quanta Computer, Inc.
Bus 002 Device 004: ID 064e:3030 Suyin Corp.
Bus 002 Device 005: ID 0489:e010 Foxconn / Hon Hai

If you can eliminate any of these by unplugging devices, much will be won.


Thanks! I will run those through google and try to figure it out. I ran those codes with everything disconnected actually :/ Also I think Suyin is my mouse pad. (it's detachable from the laptop)

Thanks so much!
 

ph03n!x

Senior Member
Dec 18, 2010
2,158
1,586
@milaq- there is something different with nightlies before 6th June (last I checked) and after with settings > system > notification drawer.

Earlier, notification widgets used to be a sub menu. I had a while bunch of options to copyist from, and I have 12 widgets enabled that will scroll 6 at a time. I was also able to select what certain widgets like Sound (sound, vibrate, silent, sound + vibrate), 2G/3G (2G, 3G, 2G+3G), etc. There were also options to select the am/pm style in the notification bar, display battery indicator as a percent or percent and indicator.

Now, the notification drawer menu directly opens the notifications widget menu. It allows selecting only 6 widgets. Some widgets that were present earlier (wifi hotspot, sleep, enable/ disable lock screen, brightness levels, etc.) are no longer there as am option. This is also the case with a fresh install.

However, if upgrade or restore data from my previous versions, all widgets show up like before in the notification drawer. But the settings menu still remains the same.

Is this a change in the upstream, and can we do something to get back to how it was please?

Swyped from my HTC HD2 using XDA App
 

montoya.brandon

Senior Member
Jul 7, 2009
657
383
houston
I'm loving the night lies u guys keep em coming they r all stable in their own kind of way been using this and pa for a while now and can't get enough of them both keep up the work cmhtcleo

Sent from my HTC HD2 using Tapatalk
 

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