[ROM][03.23.13] CyanogenMod 10 on HTC DNA; Audio WIP)

Search This thread

TXI Kaze

Senior Member
Dec 2, 2009
618
245
Let's keep this on topic so the mods don't have to keep cleaning. With that being said has anyone talked to Chad from the Rez forums to see if he can help at all? He pretty much carried the AOSP RIL project all on his own. I figure the more the merrier.

Sent from my HTC6435LVW using Tapatalk 2
 
  • Like
Reactions: azndan2

azndan2

Senior Member
Apr 24, 2010
698
137
Los Altos
Let's keep this on topic so the mods don't have to keep cleaning. With that being said has anyone talked to Chad from the Rez forums to see if he can help at all? He pretty much carried the AOSP RIL project all on his own. I figure the more the merrier.

Sent from my HTC6435LVW using Tapatalk 2

+1 for Chad the great!
 

Imacellist

Senior Member
Oct 20, 2011
517
196
Modesto, CA
It will most definitely be based on 4.1 which is CM10, depending on what changed from 4.1 to 4.2, it is possible that we may have to wait for HTC to drop 4.2 before we can get CM10.1
Not necessarily. A lot of people haven't bothered with the .1 when talking about it. Also 4.2 will not be dependent on HTC, that would kinda make custom ROMs useless once the manufacturer stops working on it. For example my last phone was a droid x. It took awhile, but people got a pretty stable cm9 build for that and Motorola stopped supporting it after gingerbread.
 

cpu999

Senior Member
Sep 7, 2011
528
608
I'm not entirely sure about the whole xxhdpi issue some are bringing up. However, it is listed under compatibility for 4.1 (http://static.googleusercontent.com...m/en/us/compatibility/4.1/android-4.1-cdd.pdf). Not sure if this means anything.

Its supported but there aren't any drawables.

I might be able to decompile peteragent's resizer so it works with xxhdpi and use my resizer script on it.

It'll make things not 1080p though

Sent from my SGH-I747 using Tapatalk 2
 
Last edited:

Dri94

Senior Member
Oct 9, 2011
2,058
645
Florida
Its supported but there aren't any drawables.

I might be able to decompile peteragent's resizer so it works with xxhdpi and use my resizer script on it.

It'll make things not 1080p though

Sent from my SGH-I747 using Tapatalk 2

Decompiling an ics framework and dna framework, you'll see most of the drawables are actually the same size

____________________________________________________________
"A foot is the ultimate stocking stuffer."
 

MyComputerDoctor

Senior Member
I'm not entirely sure about the whole xxhdpi issue some are bringing up. However, it is listed under compatibility for 4.1 (http://static.googleusercontent.com...m/en/us/compatibility/4.1/android-4.1-cdd.pdf). Not sure if this means anything.

I've started working on the Device Tree a good deal and I have updated a lot of the .mk files and a bunch of other stuff. I unfortuniately didn't clone your repo so I just pushed everything back to my GITHUB in another branch "jb-mr1". Here is a link to the updated repo: https://github.com/FactoryROM/android_device_htc_dlx . I started the build process and have been working though error's as they arrive. I will update the status after I dig into things more in the next couple hours.

Any help with the community would be appreciated.
 

denpth

Senior Member
Nov 9, 2011
67
29
I've started working on the Device Tree a good deal and I have updated a lot of the .mk files and a bunch of other stuff. I unfortuniately didn't clone your repo so I just pushed everything back to my GITHUB in another branch "jb-mr1". Here is a link to the updated repo: https://github.com/FactoryROM/android_device_htc_dlx . I started the build process and have been working though error's as they arrive. I will update the status after I dig into things more in the next couple hours.

Any help with the community would be appreciated.

I am interested in helping the build process. I havent got any experience with building linux but i have a bit of C knowledge so i might could help where are you at in the process? What kind of errors do you have right now? Can you get on #droid-dna?
 

papi92

Senior Member
Nov 15, 2009
2,434
1,565
Well I guess I'm in to help lol I tried to retire but oh well. Ill be home on the third. Ill try to help

Sent from my HTC6435LVW using Tapatalk 2
 

Top Liked Posts

  • There are no posts matching your filters.
  • 173

    logo-cid.png

    [ Unofficial CyanogenMod 10 Build on HTC DNA ]
    git @ https://github.com/drewx2/android/ (Updated to download all necessary repos)

    ..CURRENT BUILD NOTES/HISTORY..

    03.24.13: CM10 doesn't include support for csd-client enabled phones (which we need). I have built a work around for it to utilize our csd-client lib; hopefully it brings audio one step closer.

    My audio changes can be found at a separate git repo @ https://github.com/drewx2/android_hardware_qcom

    03.23.13: Current Audio Status

    I have some time to look at things, so here just getting started and thought I would post the first strace for those interested. Looks promising and not too difficult.
    Code:
    writev(4, [{"\4", 1}, {"AudioHardwareALSA\0", 18}, {"ucm instance opened: 1082445752\0", 32}], 3) = 51
    writev(4, [{"\6", 1}, {"AudioFlinger\0", 13}, {"int android::load_audio_interfac"..., 103}], 3) = 117
    writev(4, [{"\4", 1}, {"AudioFlinger\0", 13}, {"loadHwModule() error -22 loading"..., 49}], 3) = 63
    writev(4, [{"\5", 1}, {"AudioPolicyManagerBase\0", 23}, {"could not open HW module primary"..., 33}], 3) = 57
    writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"Not output found for attached de"..., 47}], 3) = 71
    writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"Failed to open primary output\0", 30}], 3) = 54
    writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"getDeviceForStrategy() speaker d"..., 74}], 3) = 98
    clock_gettime(CLOCK_MONOTONIC, {205, 684889413}) = 0
    writev(4, [{"\6", 1}, {"AudioPolicyManagerBase\0", 23}, {"getDeviceForStrategy() speaker d"..., 74}], 3) = 98
    writev(4, [{"\6", 1}, {"AudioPolicyService\0", 19}, {"couldn't init_check the audio po"..., 54}], 3) = 74
    ioctl(3, 0xc0186201, 0xbe961a28)        = 0

    Complete strace available here: http://bit.ly/Xx3M0v

    -------------------------------------------------------------------------------------------------------------------------------------

    There won't be any builds posted until one of the "not working" items has been fixed. I mostly likely will focus on audio this weekend.

    If you have something meaningful to share, please visit http://webchat.freenode.net/?channels=CM10DNA

    03.04.13 @ 03:29AM: Wifi *now* really working

    03.04.13 @ 03:29AM: Wifi now working.

    Enable 3 dot menu: Settings -> Hardware keys -> Show action overflow [check]

    Working:
    Radio/RIL (no sound, so can't hear yet), SMS / MMS, 3G / 4G Data, Display, Orientation, Sensors, Lights, NFC, Torch, GPS (not tested), Wifi

    Not working:
    Camera, Audio, Bluetooth

    To Do list
    I plan to do bionic/kernel optimizations once all features working.

    ..INSTALL INSTRUCTIONS..
    If you do not have S-OFF, you need to unzip the file and flash the boot.img inside via fastboot.

    Install Instructions:
    1) Download http://bit.ly/W0RAY8
    2) Reboot to recovery of your choosing; wipe system/data/dalvik-cache/cache.
    3) Install downloaded zip
    4) Reboot.
    5) Enjoy.

    Google Apps @ http://goo.im/gapps/gapps-jb-20121011-signed.zip



    .SPECIAL THANKS FOR DONATING.
    RuinedByMTV, drmp3z
    kronikings, danahern, karn101, Majik Mushroomz, Matt P., Matt B., pio_masaki, Droidika, Wheelchairmitch, MrIcky, liquidhaste, jamiethemorris, rainabba


    .SPECIAL THANKS.
    Flyhalf205, x3demond3x[debugging]
    dsb9938 [cmdline boot option]
    x3demond3x [egl fix]
    Jarocks [resized bootanimation/debugging], pio_masaki [debugging],

    jcase [unlock], dees_troy [twrp], beaups, jcase, Dr_Drache, dsb9938 [S-OFF]
    .... and of course the CyanogenMod team and those who laid the foundation for the DNA....

    ..WANT TO HELP? HERE ARE SOME DEBUGGING TIPS..
    1) Flash boot.img
    2) On cmdline do "adb logcat"

    If you're ever in the mood to donate, don't forget about the others that have helped advance the HTC DNA to new levels (e.g. dsb9938, jcase, Dr_Drache, beaups, CM team, or XDA for bringing us all together!). Although, I may be working on CM and it may seem like a completely different project, in many ways we all rely on each other to help make the DNA better. :)
    44
    4g data working
    38
    Radio is now completely working. I just made my first call to myself :)
    36
    Wifi fixed. Will upload zip shortly after I figure out which one of my builds fixed it...

    Do I have to fix pretty much everything? lol...what happened with all the other devs out there?

    odKm3ST.jpg
    35
    Zip is up with complete working radio. Test away.