[ROM] SuperOSR and CyanogenMod7 on HTC ChaCha.

Search This thread

adlx.xda

Inactive Recognized Developer
Feb 4, 2010
1,541
1,752
Madrid
fixed chacha-keypad files

Here are all the fixed chacha-keypad files (zip attached)

Instructions: take the .kl and .kcm.bin that you are interested in and replace the corresponding file in the rom (in /system/usr/keychars & /system/usr/keylayouts). Rename the files!

EDIT: Those files are DEPRECATED. Don't use them. The issues were solved in another way (there is a dedicated thread about this).
 

Attachments

  • chacha-kl-kcm.zip
    23.5 KB · Views: 2,504
Last edited:
  • Like
Reactions: miguelmaldonado

Alex C.

Senior Member
Aug 17, 2011
1,032
500
I don't understand why xdbg and adlx don't work together :)

xdbg, care to send me a PM with a download link for your build? I want to do a comparison between them and maybe give each of you some suggestions.
 

xd.bx

Senior Member
May 14, 2011
431
292
I don't understand why xdbg and adlx don't work together :)

xdbg, care to send me a PM with a download link for your build? I want to do a comparison between them and maybe give each of you some suggestions.

Ok, but I'd like to find a proper way to load the correct kcm file before releasing a new CM7 build. Also I'd like to get the camera fixed.
 

qbert456

Senior Member
Jul 21, 2010
432
34
I agree, I don't use camera anywhere near as much as WiFi!

This thread is very exciting though, great work guys..

Sent from my HTC ChaCha A810e using Tapatalk
 

adlx.xda

Inactive Recognized Developer
Feb 4, 2010
1,541
1,752
Madrid
I'd rather care more for Wi-Fi than camera actually. :)

Wifi is already working nicely, as well as data.

Here is my build for people who want to try experimental stuff on their phone ;).

http://www.mediafire.com/?u45h8ur1wvyiz9u

It's not CM, it's SuperOSR (more about it here) but the device/vendor files I'm working on are compatible with CM, so once it get ready we'll manage with CM Team the addition into CM.

Working: Call, Data, Wifi, GPS, Orientation sensor, Led, Keyboard
Not working in that build (at least): BT, Front Cam, Rear Cam, KB backlight,...

About keyboard: at least "generic" layout is working fine (not the Facebook key at the moment). if you need another layout, try to replace manually the files with the needed one from the zip I posted earlier. Use root explorer or alike).

Xdbg: here is my radio info (is it the info you wanted?)

Code:
gsm.version.baseband= 47.14.35.3030H_7.47.35.17
gsm.version.ril-impl=HTC-RIL 2.2.0159HM (May 20 2011,16:53:23)
 
  • Like
Reactions: lucasarran and dvfk

adlx.xda

Inactive Recognized Developer
Feb 4, 2010
1,541
1,752
Madrid
Ok, but I'd like to find a proper way to load the correct kcm file before releasing a new CM7 build. Also I'd like to get the camera fixed.

IMHO the only proper way is using an app/activity that shows a list of available layout and the user choose the one that fits his phone.

The app could then save the selected value (chacha-keypad-xxx) in a persistent property, like "persist.keyboard_layout" (calling setprop) as well as set the hw.keyboards.0.devname to chacha-keypad-xxx .

Code:
setprop persist.keyboard_layout chacha-keypad-xxx
setprop hw.keyboards.0.devname chacha-keypad-xxx

To make it persist across reboot, just read the persist.keyboard_layout value upon boot (in a script called from init.chacha.rc for example), and set again ro.keyboard.0.devname to that value:

Code:
KL=$( getprop persist.keyboard_layout )
if [ ! -z "$KL" ]
then
   # Restore the save keylout
   setprop hw.keyboards.0.devname $KL
fi

Should be all good ;)

Where to fit that app? I guess for now we could do a small app to propose the list. Then we could integrate the activity into CMParts or Settings...

What do you think?
 
  • Like
Reactions: xd.bx

Alex C.

Senior Member
Aug 17, 2011
1,032
500
Come to think about it, I think I saw CM on English QWERTY only on any device as official support. I don't remember if there is any CM7 build with other language support, but I may be wrong (probably).

Honestly I don't think that the keyboard is the main problem right now, as all users would really like to see some CM7 support (unofficial/official) and I do hope that they could sacrifice their specific keyboard layout for a CM. Is not that much of a price to pay, is it?

I'd use klingonian if that'll get me CM7 on my ChaCha ... (I hate Star Trek and anything related to it).
 
  • Like
Reactions: xd.bx

xd.bx

Senior Member
May 14, 2011
431
292
By popular demand: http://www.filefactory.com/file/ce98701/n/update-cm-7.1.0-ChaCha-KANG-signed.zip MD5=154c47fb54cef44071eccf9af9ddfc68

What works: bluetooth, wifi, touchscreen, 2g/3g, lights (although perhaps I need to tone it down a bit), rotation, proxymity, gps
What doesn't: camera, non-qwerty keyboard layouts

To switch the keyboard, you could try to use the kcm files from HTC's rom (attached to this post) using for example adb push:

Code:
adb remount
adb push keychars/chacha-keypad-ita.kcm.bin /system/usr/keychars/chacha-keypad.kcm.bin

If you have GPS issues and you happen to live in Europe, I recommend flashing radio 7.47.35.17: http://www.mediafire.com/?96q32l4qxpvojqu
 

Attachments

  • keychars.zip
    11.3 KB · Views: 14

adlx.xda

Inactive Recognized Developer
Feb 4, 2010
1,541
1,752
Madrid
To switch the keyboard, you could try to use the kcm files from HTC's rom (attached to this post)

Thanks for sharing your build :-D

I think they should use the one I have post (kl & kcm fixed), not the stock ones from HTC (which will break because of undefined keys like HTC_SHARE).

Does anyone in here wanna create a flasheable zip per kl/kcm pair and post it? (quite easy to do, just don't have the time right now). Could be a easy alternative also (easier than adb IMHO).
 
  • Like
Reactions: xd.bx

adlx.xda

Inactive Recognized Developer
Feb 4, 2010
1,541
1,752
Madrid
Guys, sorry for interrupt your discussion about keyboards...
But why not to use 3rd party apps for it? Like ruKeyboard or AnySoftKeyboard?
I use the 1st one for cyrillic input and it works fine with official chacha FW.

There are virtual keyboards right? Sure, it's an alternative, yet quite a pity in the case of the Chacha, as the physical kbd is the attractive of that device, isn't it?
 
  • Like
Reactions: xd.bx

qbert456

Senior Member
Jul 21, 2010
432
34
Xdbg = awesome!
I'm going to give this a go once I get back to my pc.



Sent from my HTC ChaCha A810e using Tapatalk
 
  • Like
Reactions: xd.bx

Alex C.

Senior Member
Aug 17, 2011
1,032
500
If you have GPS issues and you happen to live in Europe, I recommend flashing radio 7.47.35.17

Hehe, this really made me laugh :D

As a side-note, the official radio for 1.52 is 7.51.35.19 on Europe. Is there any chance you can incorporate this radio into your build (in future releases, not now)?

I'm pretty sure Mikevhl uploaded all the radios for all the versions available in the dev section somewhere.
 
  • Like
Reactions: xd.bx

Alex C.

Senior Member
Aug 17, 2011
1,032
500
Xdbg = awesome!
I'm going to give this a go once I get back to my pc.



Sent from my HTC ChaCha A810e using Tapatalk

They are both awesome, give props to all the devs that spend their free time creating something that you might use for 6+ months.

I am thinking of designing a statue for both adlx and xdbg. (in photoshop of course) :D

Congratulations to both of you.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    Hello everyone!

    This topic contains all the development stages of custom ROMs, please read the full topic before asking any questions; refrain from asking silly questions/"questions that are easier to answer on Google than logging into XDA, browsing to HTC ChaCha, dev section, this thread, click on post reply, entering the question, clicking submit, waiting for someone to read and reply"/un-constructive feedback-criticism/anything unrelated to these two roms.

    In the order of their availability:

    NOTE: Give thanks and feedback to the developers. Install any of these roms for the purpose of testing and providing information/feedback in the thread. Neither of these are stable yet, they are experimental builds and this topic represents the simplest bug tracking database.


    Apparently users do not read the known issues list. FRONT CAMERA is NOT working. Do not switch to front camera, otherwise Camera.apk will crash constantly. To fix this go to Settings -> Applications -> Manage -> All -> Camera -> Clear data and cache -> Reboot your phone.

    I. SuperOSR by adlx.xda
    SuperOSR (OpenSourceRom and CM) based ROM: SuperOSR-chacha-2.5-20120724.zip - 83.13 MB
    Current version: 20120329-0005
    More information about the ROM HERE.

    Release notes for 1314
    - New kernel with swap enabled. it will also now mount correctly your sd-ext partition as ext4 (if formated as ext4, which is the how my CWM will format it).
    Release notes for 0159
    - FB key remap option in SupSetup/Parts
    - All the keypad fixes avail to date (only for unlocked users, S-Off will still need the patches)
    Release notes for 0513
    - Build is odexed --> I believe it is a significant gain of space in /data (now it will occupy <30 Mb after first start, leaving 120 Mb free)
    - Comes with all the keyboard kl/kcm.bin. (only usefull if S-On, bc S-Off lost their CID. If S-Off flash a keypad patch after the rom)
    - Removed bloat
    Tips and tricks, known issues and workarounds:
    1. Wi-Fi module is not connecting to hidden networks. - reported as fixed, router channel must be set <13
    2. Sometimes Wi-Fi will not connect to an AP after setting it up (Scanning -> Connecting -> Disconnected -> Scanning -> Connecting.. etc.). In this case press and hold the connection, remove it, create it again, then switch Wi-Fi off/on.
    3. I suggest performing the following if you still cannot connect to a visible Wi-Fi AP: Settings -> Wireless & networks -> Wi-Fi Settings -> Press menu button -> Advanced -> Regulatory domain -> 13 channels -> Wi-Fi sleep policy -> Never
    4. Front camera is not working. In study.
    5. Default battery icon and percentage battery icon shown at the same time if activated from the CM settings. No workaround available yet.
    6. Facebook button is unassigned (does nothing). What should it open?​


    II. CyanogenMod (by xd.bx) since 19.01.2012 adlx.xda took over
    CM 7.2.0 (CyanogenMod) based ROM: DOWNLOAD Release No.: 20120321-2039
    More information about the ROM HERE.

    Tips and tricks, known issues and workarounds:
    1. Wi-Fi module is not connecting to hidden networks. reported as fixed, router channel must be set <13
    2. Sometimes Wi-Fi will not connect to an AP after setting it up (Scanning -> Connecting -> Disconnected -> Scanning -> Connecting.. etc.). In this case press and hold the connection, remove it, create it again, then switch Wi-Fi off/on.
    3. I suggest performing the following if you still cannot connect to a visible Wi-Fi AP: Settings -> Wireless & networks -> Wi-Fi Settings -> Press menu button -> Advanced -> Regulatory domain -> 13 channels -> Wi-Fi sleep policy -> Never
    4. Front camera is not working. In study.
    5. Facebook button is unassigned (does nothing). What should it open?

    Other useful information:
    ChaCha Keypad Files/Key mapping
    http://xdaforums.com/showthread.php?t=1456154
    http://xdaforums.com/showpost.php?p=18763527&postcount=101 from adlx.xda
    These should be placed on your device to change your keyboard layout.

    Google Apps - Used for Google account (contacts/calendar sync); also contains GMail/Market. This is not included in the CM rom (by default, CyanogenMod does not contain Google services and applications; these can be added separately by users that want them). Remember that there are users who would like to remove everything Google related from their roms as there are some services which use internet/battery when they want and have dependencies with Google Contacts Sync/Calendar Sync/Gmail. Include requests of gapps into a custom ROM by default will be declined.
    http://cmw.22aaf3.com/gapps/gapps-gb-20110828-signed.zip

    Fix for GSM/Phone.apk crash
    http://xdaforums.com/showpost.php?p=20710120&postcount=474
    Thanks to carstenheuer for finding this out.

    Radio - for people having GPS issues (unable to find sats/get a fix)
    http://xdaforums.com/showthread.php?t=1257776
    A810b
    Another thing has come to our attention: a new region-based model is out, the A810b.
    Do not flash any of the radios available around here as they are mostly based for the A810e model, which uses a different network bandwidth and a lot of issues might occur.

    For more information regarding GSM network frequency, check here: http://www.gsmarena.com/network-bands.php3?
    This might also provide some information as to why 3G doesn't work, for example.

    Small adb kit
    For people that need adb without installing the whole SDK kit, adlx.xda provided a little bit of knowledge regarding this nifty little thing included in other applications.
    http://alex.swtesting.ro/downloads/adb-and-moto-fastboot-win32.zip

    GPS fix
    For people out there without a working GPS on one of the two builds the fix is:
    1. Get a stock ROM.
    2. Go outside using a GPS application (like GPS Test from the Market)
    3. Wait until you get a fix and a location.
    4. Flash SuperOSR/CM.
    5. Redo step 2.
    6
    CM7 Roadmap

    For those who missed it, check http://www.cyanogenmod.com/blog :D

    After CyanogenMod 7.2 is released, we will be merging in and welcoming aboard maintainers for the following devices (with more queued):

    HTC Status (chacha)
    HTC Wildfire S (marvel)
    LG Optimus Chic (e720)
    Motorola Photon (sunfire)
    Samsung Galaxy 5 (i5500)
    5
    working so far

    yesterday late I tried with xdbg's kernel, init.chacha.rc & bcm module and the TS worked. using his kernel I got to test more things:

    So far, in my build this is what I have tested:

    - Touchscreen: OK
    - Calls (with audio): OK
    - Data (3g): OK
    - Wifi: OK

    Doesn't work (yet):
    - Physical keyboard :( (I can get data from input device though)
    - leds and backlight, not well tested, but didn't seem to be working (it work manually though, by echoing in the /proc)
    - Camara
    - GPS
    - Sensors

    SMS, MMS: untested

    Screenshots gallery: https://www.dropbox.com/gallery/788286/1/SuperOSR-Chacha?h=5cc26e#/
    5
    Hi.

    A couple of pointers/possible solutions:

    - Physical keyboard :( (I can get data from input device though)

    You must patch frameworks/base/include/ui/KeycodeLabels.h or remove the unknown keys from chacha-keypad.kl. I suspect other files must be patched as well, for example to make the 0 work.

    - leds and backlight, not well tested, but didn't seem to be working (it work manually though, by echoing in the /proc)

    Check that you have lights.msm7k.so and also check the permissions in init.chacha.rc. You might need a newer lights than the one used in the Liberty.


    I think the libcamera.so from HTC has a different API than CM7. Also you must uncomment PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP... in your vendor/cyanogen/products/cyanogen_chacha.mk.
    Check the libcameraservice source code. This problem could be slightly harder to fix.


    I think the radio is more recent than on the Liberty, hence the loc_api version will be higher. Try 20000 and 50000. Also try with the gps.chacha.so from stock ROM.


    Try with a newer libsensors or sensors.chacha.so from stock ROM.
    5
    Link removed because it was obsolete