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.
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.
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"
Quote:
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.
Certified Phone Addict
Current work: Oppo Find5 [AOSP/CM10.1], HTC DNA [CM10/10.1]
Devices: Oppo Find5 , HTC DNA, Google Nexus 4, Sony XPERIA Z
I can't help you with specifics but the guys over on the nook color forums have great guides on building and may be amenable to questions if no one here gives you anything useful
sent from my unlocked and rooted droid DNA
Xperia Z HTC Droid DNA
Samsung Galaxy SIII
Nexus 7
Motorola Atrix 4g
Samsung Epic 4g
Nook Color
HTC TouchPro 2
I can't help you with specifics but the guys over on the nook color forums have great guides on building and may be amenable to questions if no one here gives you anything useful
Thanks. Brings me back to the days when I was writing some early scripts for the Nook Color... when you had to flash the "harder" way. Anyhow, it reminded me of just mounting each partition separately (/dev/block/mmcblk0pXX). Found kernel/system logs, just what I wanted.
Certified Phone Addict
Current work: Oppo Find5 [AOSP/CM10.1], HTC DNA [CM10/10.1]
Devices: Oppo Find5 , HTC DNA, Google Nexus 4, Sony XPERIA Z
That's a whole separate issue. We can have a Rom booting and usable without the ril working. Granted, this booting will most likely help with ril advancement.
I've successfully built CM 10 on the DNA, however I'm stuck with debugging after booting in standby (assuming). For those that have built new roms on unsupported devices, how did you debug the boot process? Yes, I understand to use logcat/ddms/etc. I boot into standby with a black screen (no boot loop). Sdcard mounts once I get to black screen, however I built kernel from source as well so no hacks have been applied yet.
Also, when taking any kernel available right now, pulling it apart and remerging with no changes (just verifying process), I go into a boot loop on a working Rom (genome/ukb)
This is what I am doing to recreate boot.img:
Code:
(boot.img taking from DNA cubed kernel, I've renamed kernel and ramdisk)
unbootimg boot.img
mkbootimg --output boot.img --kernel kernel --ramdisk ramdisk.cpio.gz --cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=dlx user_debug=31' --board '' --base 80600000 --pagesize 2048
Any tips would be great so I can finish up and share. Seems so silly that I can't even remake a working boot.img after spending 20+ hrs working on CM10. It seems I'm a bit slow to get back into the swing of things since taking a hiatus from programming for several years.
I have gotten to the same point as you in my AOSP venture with the DNA. From my findings, without the correct kernel drivers being administered from the gate, the USB (debugging) features are not going to work properly. I am in the process of finding a kernel developer who is familiar with Sense (HTC) devices to build the proper kernel to make this possible. With the help of Dr_Drace I was able to put together a working DLX build tree and have successfully compiled FactoryROM (which is 4.2 AOSP based) but am stuck at the end of the boot process. And like you, I am unable to gather any logs due to the lack of USB access. We need a reliable kernel developer to get us past the hurdle. Unfortunately I am not one of them. As far as RIL, it's anyone's guess as to its functionality once we get things booting correctly. We have all of the drivers, it's just making them work together.
If you enjoy my work, let me know I'm on the right path. Hit the "Thanks" button. Twitter: @FactoryROM Donate: Donate to FactoryROM
I have gotten to the same point as you in my AOSP venture with the DNA. From my findings, without the correct kernel drivers being administered from the gate, the USB (debugging) features are not going to work properly. I am in the process of finding a kernel developer who is familiar with Sense (HTC) devices to build the proper kernel to make this possible. With the help of Dr_Drace I was able to put together a working DLX build tree and have successfully compiled FactoryROM (which is 4.2 AOSP based) but am stuck at the end of the boot process. And like you, I am unable to gather any logs due to the lack of USB access. We need a reliable kernel developer to get us past the hurdle. Unfortunately I am not one of them. As far as RIL, it's anyone's guess as to its functionality once we get things booting correctly. We have all of the drivers, it's just making them work together.
I'm just going to try stripping as much away as I can to boot and then slowly add things back in. On a side note, I've made a working version of touch clockworkmod recovery. I am going to modify it to add some additional options before sharing (unless someone gets around to it before I do).
What I suggest doing is mounting /dev/block/mmcblk0p24 manually via working recovery. This is the log partition; system.log and kernel.log are written to it.
Certified Phone Addict
Current work: Oppo Find5 [AOSP/CM10.1], HTC DNA [CM10/10.1]
Devices: Oppo Find5 , HTC DNA, Google Nexus 4, Sony XPERIA Z
Do either of you have the device/vendor posted to Github by chance? I actually started putting one together but haven't had much time to actually make progress.
Which kernels have you used with source built Rom? Tried the stock kernel by chance? I always feel its a good starting point. Have either of you uploaded the zip? I can flash and take a look... They say two heads are better then one so if we're all working on the same thing I'm sure progress will be made! Lol
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?