yashsingh1/xdaforums huggingface dataset:
[HTC Desire C] nikhil16242:
So.. You managed to setup your build environment? You where having some java issues last time. And just start with cm9 instead... Let's just get cm9 booting before going to cm10.1 lol
[HTC Desire C] speed_bot:
dude its simply because most people dont like irc specially indians like me..add me on gmail dude (pm me) ..and what fixed did u make ? the wifi one ?
[HTC Desire C] russell664:
Initially the WIFI driver was hashed, the last time I checked for the numbers to match gda5, in other words the number at the end of the kernel name. But this is still untested due to mehmehmen have big compile issues which seem pretty bad.

mehmehmen, could you upload the re-hashed WIFI module so speed_bot and nikhil can take a look?

I think there might be other fixes too, however i'm not 100% certain, so will check it out and keep you guys posted. :)
[HTC Desire C] speed_bot:
sak posted some source for atheros and compat wifi chip ..this may fix wifi .i have a pushed a commit that compiles these blobs but i havent made a build yet ..and guys why arent we using the general thread ? the response on that thread was zero.
[HTC Desire C] munjeni:
Hi, got Desire C temporary for 7 days, I will try to give you something for CM9, if I not get wifi and audio working at least I will try to give you MIUI based on stock ICS rom... :good:

Will update my CM9 git for Desire C. I am a bit confused with kernel source code because you wrote 2-3 source codes and I dont understand which one to use, I need trusted source code which is confirmed working!!! So please let me know which one is the best or tested kernel source code which working good for Desire C ??? Are you compiled kernel for stock rom? Where to find these source code? I have 7 days to make something so please give me the best and trusted and tested information!
[HTC Desire C] Jaizu:
Really? Thank you for supporting us much good.

Sorry I can not help but I'm not a programmer, even learn something watching your progress (:
[HTC Desire C] nikhil16242:
You can use mine from here https://github.com/nikhil16242/Prometheus_kernel_golf . I have already build a kernel off this source and can confirm it boots :)
[HTC Desire C] munjeni:
Ok, is everything working in stock rom using these kernel? I need working kernel source code, no want to waste my time in fixing kernel bugs!
[HTC Desire C] nikhil16242:
Yes.
[HTC Desire C] munjeni:
But wifi only not working?
[HTC Desire C] nikhil16242:
Wifi works on stock sense roms since the kernel is renamed to -g51cada , so that we can use the stock wifi module on sense roms.
[HTC Desire C] munjeni:
Ok, I will try to get compat-wireless working from source code. Last question, did any one tried Pico libaudio?
[HTC Desire C] speed_bot:
yes hal loads and crashes logcat in the general thread..
[HTC Desire C] cute_prince:
I checked the device tree. Your BoardConfig.mk requires many changes bro.. I have written one for Desire C .. Use this.

Download:

http://db.tt/fB11Mevl
[HTC Desire C] speed_bot:
i will make a build with the changes sir..and about the cache lines ..i remember rmcc saying the cache lines arent 32bit on pico when he asked for a cm merger ..
[HTC Desire C] sakindia123:
They are...caf says msm7627a has 32bit cache lines
[HTC Desire C] speed_bot:
ok k ..roger that sir
[HTC Desire C] munjeni:
Hi, I am not sure!

etc...etc. I going to fix some things related to color format, seems color format is like simple rgb like in recovery, getting very very bad gradients quality! :( Audio hal is working, but only in call mode, will try to fix them, but first going to try msm7627 audio libs instead of msm7x27a from qcom/media/audio folder...

Edit:

msm7627 audio libs have missing headers, seems not for our board? Error:

error: 'QCELP' is not a member of 'android_audio_legacy::AudioSystem'

error: 'EVRC' is not a member of 'android_audio_legacy::AudioSystem'

qcom/media/audio working but only in call and wen have headset, seems SND devices realy need changes, will try.

Using default HTC kernel source code for Golfu -> golfu-ics-crc-3.0.16-c7a3bdf.zip
[HTC Desire C] cute_prince:
@munjeni,

Apply my patch on board-golfu.c for fixing Audio properly.. No need to use qcom/media/audio/msm7627a audio libs.

#define SND(desc, num) { .name = #desc, .id = num }

static struct snd_endpoint snd_endpoints_list[] = {

SND(HANDSET, 0),

SND(SPEAKER, 1),

SND(HEADSET,2),

SND(BT, 3),

SND(CARKIT, 3),

SND(TTY_FULL, 5),

SND(TTY_HEADSET, 5),

SND(TTY_VCO, 6),

SND(TTY_HCO, 7),

SND(NO_MIC_HEADSET, 8),

SND(FM_HEADSET, 9),

SND(HEADSET_AND_SPEAKER, 10),

SND(STEREO_HEADSET_AND_SPEAKER, 10),

SND(BT_EC_OFF, 44),

SND(CURRENT, 256),

};

#undef SND

Compile a new kernel with this changes.
[HTC Desire C] speed_bot:
dude msm7x27 are based on armv6 instructions so why compile those blobs?
[HTC Desire C] munjeni:
s I say no need to use these patch or doubled source code because cm9 repo allready contain the same audio library dude, you can see them in hardware/qcom/media/audio! So a lot of your commits is not merged from many reason! About kernel I will try them. Did you have ok working audio? There is big diference in SND defines so hmmm...

Some audios working like headset, in call... but speaker not. BT audio I'm not checked...

Priority now is finding why gradients quality is very bad! If you have idea than let me know! Hwcomposer and copybit working perfectly when c2d2 composition is enabled... etc, without c2d2 I have boot loop and need to remove hwcomposer from hal. With reason I not merged your pull reguests because my configuration was deep tested on htc aria and I no want to test them again, its worked perfect on aria, and aria using the same adreno and ~the same other things. I will try some modifications in board config just for fixing bad gradients, seems some things is missing or is wrong configured.
[HTC Desire C] cute_prince:
@munjeni,

Bro, post a logcat on pastebin.
[HTC Desire C] speed_bot:
i have no problems that my commits dint get merged.i myself canceled the pull ..your choice you can still work with those blobs of your choice.. :mad:
[HTC Desire C] cute_prince:
@speed_bot,

Did you compiled build with my BoardConfig ?
[HTC Desire C] speed_bot:
not yet bro ..power govinda whole day here..i will make a build tmrw with all merged stuff and your patch ..
[HTC Desire C] munjeni:
Did you got cm9 ramdisk working?
[HTC Desire C] speed_bot:
the ramdisk is due to uenvted,rc the file isnt compete and that deals with mount points..and if you'd ask me using htc's ramdisk isnt a good idea either ..i mean look at the logcat it asks for class paths of htc frameworks ..
[HTC Desire C] cute_prince:
@speed_bot,

Try to you use pico's CM9 ramdisk.. To make it bootable in golfu, you need to add emmc support to pico's init.rc.. Once its booted we can add WiFi / bluetooth stuffs specific to golfu.
[HTC Desire C] munjeni:
I agree with you! There is a lot of missing things for golfu in comparation with compiled ueventd from cm9... that's what I trying now to get
[HTC Desire C] speed_bot:
Not the compiled one ..the picos one is 5 KB..the one which you used is 1.2kb .. @cute_prince. Imma see the stock init ram fs tmrw and then take a. Call.
[HTC Desire C] munjeni:
Hey sory, I was wrong for Pico libaudio, yes, its qcom/media/audio source but with some modifications. Will try these hal + kernel changes. Ramdisk is ok now, no need to use stock boot image anymore, git is updated, only need to put kernel to my git...

Edit:

Got audio working using SND kernel changes + Pico libaudio !
[HTC Desire C] Jaizu:
Sorry if I don't understand, but audio works now?

Enviado desde mi HTC Desire C usando Tapatalk 2
[HTC Desire C] calinorg:
@Jaizu, yes, but not until page 1 rom gets updated. This is a work in progress by munjeni (and others here). If he manages to get us cm9 fully working i think someone needs to build a statue of him as a token of gratitude :)

@munjeni: Are gradients fixed?

Now, with ramdisk working and audio working, it's only camera and wi-fi to do?
[HTC Desire C] speed_bot:
told you it would work for sure ..are you gonna release a build ?

edit

as audio is fixed now i will swtich to working on wifi.. thanks for the help sir @cute_prince

and was that snd bug there on pico too ?
[HTC Desire C] cute_prince:
Yes there was. I fixed it using the same patch.
[HTC Desire C] speed_bot:
thank you so much bro ..
[HTC Desire C] Jaizu:
The bugs now are? Gradient, Camera and WIFI?

Please reply and thanks for all! I wait a update with the audio and ramdisk, but if you like xD
[HTC Desire C] munjeni:
Yes. Audio is working but not perfect. Audio can not disable on speaker when headphones is connected... etc. But audio is working :), hope you fix them in future development. Gradients bug seems is in wrong header which was from HTC Aria... will update them and will try. About wifi, found sdio based ath6kl source code in newer kernel stable version on kernel.org, got it partially ported but with some missing things, but will try to get it compiled, hope it will be ok. Rom is very fast, faster than my xperia dual core 1ghz, and smooth and without battery drains, only these gradients is bad :(
[HTC Desire C] sakindia123:
@munjeni

Use mdp composition not c2d composition!
[HTC Desire C] munjeni:
Not true, it had the same bad graphics with this -> TARGET_USES_C2D_COMPOSITION := false

But I changed to -> TARGET_USES_C2D_COMPOSITION := true because hwcomposer and copybit had errors and got boot loop (only if delete hwcomposer have no boot loop)! No sense "true" or "fasle" , it have the same bad graphics!

In any way, mdp is allready enabled by build.prop (debug.composition.type=mdp)
[HTC Desire C] Jaizu:
If I donwload that: https://github.com/munjeni/android_device_htc_golfu

I get the version with audio and CM9 ramdisk working? You need beta tester for anything?
[HTC Desire C] cute_prince:
For fixing WiFi, see my post http://xdaforums.com/showthread.php?p=40362311

@munjeni,

If possible compile a new build with my BoardConfig.mk and check whether gradient is working properly.
[HTC Desire C] munjeni:
Yes. :) Don;t forget to read README file !
[HTC Desire C] munjeni:
Sory but I allready say something about your board config... there is some strange definitions which I not understand why is there! See few posts back...

C2d must be true to prevent boot loop!
[HTC Desire C] cute_prince:
TARGET_ARCH_VARIANT := armv7-a-neon

Yes, golfu/pico uses Cortex A5 CPU which DOES supports NEON profile.

BOARD_NO_SPEAKER := true

This configuration is taken from CAF.

They say msm7x27a variants does not directly supports speaker.

TARGET_CORTEX_CACHE_LINE_32 := true

Yes, Cortex A5 uses 32-bit Cache Lines. Also taken from CAF.

TARGET_USE_C2D_COMPOSITION := false

For pico, there was no need to make

^ true.. hwcomposer and copybit worked just fine with above setting.

Above all, settings in this BoardConfig file are tested and used to build CM9 rom for Pico and everything works just fine :)

Since golfu and pico are identical devices, the same settings will make stuffs work on golfu, with some modifications for WiFi chip and BT which I have already done in my BoardConfig.mk
[HTC Desire C] munjeni:
Ok, thanks for explanations, will add some things but not C2D because tested them 3 times and have boot loop without option "true" ...simple hwcomposer failed without c2d
[HTC Desire C] munjeni:
Tried to backport ath6kl sdio based driver from newest kernels to the curent but its a lot of hard work, simple I am unable to get in ported, its a lot of code and headers diferent than curent kernel :( New kernels have integrated ath6kl-sdio. Will try to find compat-wireless compatible with our kernel, need help!

Will make test buid within 2 hours!
[HTC Desire C] munjeni:
o build today because getting this error:

system/core/include/cutils/log.h:68:1: warning: this is the location of the previous definition
hardware/qcom/display/liboverlay/overlayLibUI.h: In constructor 'overlay::eek:verlayUI::eek:verlayUI()':
hardware/qcom/display/liboverlay/overlayLibUI.h:101: warning: 'overlay::eek:verlayUI::mFBNum' will be initialized after
hardware/qcom/display/liboverlay/overlayLibUI.h:99: warning: 'int overlay::eek:verlayUI::mZorder'
hardware/qcom/display/liboverlay/overlayLibUI.cpp:219: warning: when initialized here
hardware/qcom/display/liboverlay/overlayLibUI.cpp: In member function 'void overlay::eek:verlayUI::setDisplayParams(int, bool, bool, int, bool, bool)':
hardware/qcom/display/liboverlay/overlayLibUI.cpp:274: error: 'MDP_BACKEND_COMPOSITION' was not declared in this scope
hardware/qcom/display/liboverlay/overlayLibUI.cpp: In member function 'overlay::status_t overlay::eek:verlayUI::closeOVSession()':
hardware/qcom/display/liboverlay/overlayLibUI.cpp:441: warning: suggest parentheses around assignment used as truth value
make: *** [out/target/product/golfu/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayLibUI.o] Error 1

Error after this 2 commits -> https://github.com/munjeni/android_device_htc_golfu/commit/3e87f99c549fefac203bd14635c8a6d5c8598a34

https://github.com/munjeni/android_device_htc_golfu/commit/277c4090094c2acfa42117f86bf71482a5293dd0

Seems switching to the "neon" cause these error and for sure there missed something for wrong composition and bad gradients... but need to fix them tomorrow
[HTC Desire C] SaM`:
Munjeni !! glad to see you back !! thanx for all your effort !! and btw is tht test build will be available for all of us ? coz i was going to build one from ur device tree !! to test it :D
[HTC Desire C] munjeni:
Download link for new build is on first page :good:
[HTC Desire C] Jaizu:
With ota updates? Downloading...

Thanks for your development, it's amazing! ñ_ñ

Enviado desde mi HTC Desire C usando Tapatalk 2
[HTC Desire C] SaM`:
thnxx mate !! flashing right nowwww :D :D
[HTC Desire C] Roman2909:
:ppoorly the home button and the latest applications, well, Wi fi .. Thank you, what happens next?
[HTC Desire C] TheRedHunter:
Thank you very much for this amazing CM 9. I'll give you a full report as soon as I get this freaking amazin rom on my phone. Thank you again.
[HTC Desire C] webhijacker:
That mean

You fixed the audio and the wifi and camera???

What is not working???
[HTC Desire C] TheRedHunter:
Check the first post...rofl and yes wifi and camera isn't working yet. You should thank them for their work.
[HTC Desire C] cute_prince:
Camera is easy to fix.. Golf U camera blobs are supported by CM rom :)

Copy the following files from your stock ROM to the corresponding location in CM9 rom.zip

system/lib/hw/camera.default.so

system/lib/liboemcamera.so \

system/lib/libmmipl.so

system/lib/libmmjpeg.so

system/lib/libcameraface.so

system/lib/libcamerapp.so \

system/lib/libOlaEngine.so \

system/lib/libchromatix_s5k4e1_default_video.so

system/lib/libchromatix_s5k4e1_preview.so

system/bin/awb_camera

system/bin/lsc_camera

system/bin/mm-qcamera-daemon

system/lib/libmm-adspsvc.so

system/lib/libOmxH264Dec.so

system/lib/libOmxMpeg4Dec.so

system/lib/libOmxVidEnc.so

Finally fix permission for camera in ramdisk as follows:

Open ueventd.golfu.rc and modify

/dev/msm_camera/* 0660 system system TO /dev/msm_camera/* 0660 system camera

Camera should work now :)
[HTC Desire C] arvinivra:
Thanks to all of you for your effort , when release a build?
[HTC Desire C] whoamigriffiths:
Awsome stuff munjeni.

Thankyou very much to everyone involved in getting this as far as it is :highfive:
[HTC Desire C] lead3r1:
wow maann this build is reaaly awesome no lags and unbelieveable performance and customisation options could nothing be done about non functional recent apps button domeone point me in d right direction plz :'(
[HTC Desire C] arvinivra:
awsome man thanks, just i think recent apps button important than camera, cant acces to any setting, plz fix that
[HTC Desire C] SaM`:
After !! testing Audio works fyn !! so far ... in last build all the games i tried to run use to crash before starting !!! now it works !! rom is faster !! but Accelerometer senser does not work so far i tried diffrent games to test it !! including temple run etc etc !!! home button and recent apps doesnt work !! other than that !! everything seems superb !!! :good:
[HTC Desire C] bgveric1:
not working

I flashed this rom and it just stucks at boot...and yes i can go to recovery and i can flash other rom
[HTC Desire C] mehmehmen:
what kernel are you using to boot the om with, try flashing an original boot.img from a stock version of the desire c rom and then booting cm like that

you really shouldnt have issues booting this rom as it has had a few guys working on it lately and all of us have booted and tested the rom just fine, so i would hazard a guess at you using a kernel that cm doesnt like
[HTC Desire C] bgveric1:
I was been using some kernel from revolution rom, i am going to try orginal kernel...
[HTC Desire C] SaM`:
dude check OP !! cm9 ramdisk works now !! you guys need to flash boot.img which is included with rom !! :good:
[HTC Desire C] bgveric1:
SaM i flashed it and again same problem it just stucks at loading/boot, i tried it at morning and i was hooping that it need more time but it was been for about 20 minutes and nothing
[HTC Desire C] mehmehmen:
i have no issues booting the rom whatever kernel im using lol so i dont really need to use any boot img lol :P also not going to be booting this rom till i figure or someone else figures first to get wifi fixed. till then just gonna run revolution rom and continue trying to build cm10.1 from source for the desire c XD
[HTC Desire C] bgveric1:
maybe i need to wipe all data?
[HTC Desire C] brnt:
I had a bootloop too. Turned out I had to install the Rom only first, and after it has already been boot up, install GApps.

And thanks to all the devs working on it! It's great having you. :cowboy:
[HTC Desire C] bgveric1:
working now ;) thx
[HTC Desire C] noahvt:
audio only works via headphones speaker not working :(
[HTC Desire C] arvinivra:
first run without flashing boot.img audio and lockscreen dont work, noahvt to fix that flash boot.img in zip
[HTC Desire C] noahvt:
it works now thanks but data isn't working!

and any fix for camera yet?
[HTC Desire C] cute_prince:
Camera fix I have posted here http://xdaforums.com/showthread.php?p=40384272

[OT] can someone using sense Rom post a screenshot of your battery use (settings->power->battery use) . I ported golfu kernel 3.x for pico and everything works but there is some battery drain. For us, the screen uses most power( 58%-60% ) even at idle.
[HTC Desire C] bgveric1:
How to delete messages i dont have any option and when i press right button on touch pad it like dont respond ( its becuase cynagen mod i think)
[HTC Desire C] speed_bot:
i get 1 day on 2g else 1 and half day..yes the screen takes 90% of my battery if you still want i will post a ss of normal usage
[HTC Desire C] munjeni:
hey hey...

IMPORTANT !!!

Somehow boot.img can not be flashed without "fastboot", I tried using dd, using recovery, using some other tools... it can not be flashed this way!

To get everything ok and corectly for CM9 you need to flash these boot.img from these zip using fastboot !!! Its only a way!!! So after installing rom (or before installing the rom), reboot phone to the bootloader, flash boot.img this way:

fastboot flash boot boot.img

Its reguired because audio and other things not working if you not flash boot.img !!!
[HTC Desire C] munjeni:
Making new build based on this important changes! Many thank you mate!

Do I need to use camera stub only or I need to use Pico libcamera??

USE_CAMERA_STUB := true
[HTC Desire C] noahvt:
Data

Can you also make data work?
[HTC Desire C] calinorg:
One thing at a time noahvt.

Munjeni only came back few days ago, and already fixed tons of stuff. Please be patient, we all urge the juice of cyanogen flowing this mobile :)

wifi and camera are only few steps away, and after that there are only few smaller bugs, and all will work :)

I just hope to get more than 8 thanks, i can't thank enough to munjeni, cute_prince and other contributors :)
[HTC Desire C] TheRedHunter:
Data works, check the first post... At least edit your post and add something useful. One more thing, help the developers by pressing thanks. They deserve it

cuteprince, my screen uses like 50 percent and without data my battery can resist up to 2 days.
[HTC Desire C] munjeni:
Please read mportant warning on first page! You need to flash boot.img by extracting them from zip and flashing them by fastboot tool!!! New rom with working camera ...in 10 minutes will be ready for download!
[HTC Desire C] arvinivra:
thanks munjeni plz work on recent app key (for menu-edit) in apps
[HTC Desire C] munjeni:
Yes, no new rom this day because no preview in camera. Allso need to fix these menu buton...
[HTC Desire C] SaM`:
what do u mean !! make data work ?? u mean Wifi or mobile data ?? coz last night i flashed it and my data worked !!
[HTC Desire C] munjeni:
Fix for menu key is in kernel board_golfu.c :

static ssize_t golfu_virtual_keys_show(struct kobject *kobj,
struct kobj_attribute *attr, char *buf)
{
return sprintf(buf,
__stringify(EV_KEY) ":" __stringify(KEY_BACK)	":45:526:60:65"
":" __stringify(EV_KEY) ":" __stringify(KEY_HOME) ":160:526:68:65"
":" __stringify(EV_KEY) ":" __stringify([COLOR="Red"]KEY_MENU[/COLOR]) ":275:526:62:65"
"\n");
}

changed app_switch to the key_menu ...hope this will be working without needs for testing :good:
[HTC Desire C] bgveric1:
i dont anything about that but what file i need to change or you will just update it, thx
[HTC Desire C] TheRedHunter:
You have to change the kernel source. Leave that to nikhil 's hands, he'll update his kernel for sure.
[HTC Desire C] lead3r1:
hi munjeni, bro add if i may tell u, can u implement recent apps on long press of home as was implemented by einstein in nameless 7.3.4 i blive it involves changing a particular line in android policy.jar .

P.S u really are the heart and soul of the resurged cm9 cant possibly thank u enough for what u have done i installed ur build today and it was unbeliveable that this is what our golfu is capable of !!! kudos to u mate :D
[HTC Desire C] Jaizu:
Munjeni, one question (:

IS this a official cyanogenmod? Or unofficial? Have it OTA updates with CM Updates?

See you, and thanks for the BIG developement n_n
[HTC Desire C] TheRedHunter:
Unofficial rofl... and it hasn't OTA updates with CM Updates. You should read some Sherlock Holmes books :thumbup:
[HTC Desire C] munjeni:
All will be included in next build, you no need to touch anything! :)

Changelog for next build:

- fixed sensors (rotations...etc)

- fixed camera (no preview for this build, but I think next build will be ok about that)

- fixed menu button (3.rd button is now menu button)

- some missing permissions in etc folder

For sure next build is almost complete. Fail only preview in camera and missing wifi, hope some one get it working too.
[HTC Desire C] Shiftok:
Thanks! We're waiting new build. Have you any ideas for fix wifi?
[HTC Desire C] munjeni:
No idea for wifi but there was missing xml file for permissions for wifi, but in any way we need to find sdio based compat wireless and try them, or at least port ath6kl from newer kernels to this one.

Update:

- disabled trackball settings (seems thats reason why home button worked like trackball)

- enabled dock settings

- disable button lights

- update storage list
[HTC Desire C] arvinivra:
waiting for new release v.16 april now install on my device, plz update op
[HTC Desire C] cute_prince:
Yes, use camera stub only.
[HTC Desire C] sakindia123:
Use camer stub if u want to use htc hal.its pretty good, just disable htccammode and face detection support.

I got caf hal to load and preview to work last week, but it was **** and borky
[HTC Desire C] webhijacker:
I would love to get a camera that we can capture a video and a photo in the same time :)
[HTC Desire C] LaputaCake:
That would be awesome
[HTC Desire C] speed_bot:
not offending you guys..but our camera chip is too ancient to do that..
[HTC Desire C] webhijacker:
Aha but we still can capture image while we are playing a video in this Rom right ???

I will not install this Rom until the WiFi work cause I use it too much
[HTC Desire C] speed_bot:
are you talking abt the screenshot feature?