[ROM][ICS] CM9-based Port [Updated: Nov 5th '12]

Search This thread

kaboose01

Senior Member
Dec 12, 2010
169
23
33
louisville
Samsung Galaxy Note 20 Ultra
Hmm... I tried it with another android phone (2.2, moto blur) and it worked fine both ways... Tried it with my PC in Ubuntu and it didn't work, but bluetooth on Ubuntu hasn't worked very well anyway.
Just tried it in Windows and file share on the PC is disabled, but I can send files from the phone..

Maybe try a different device and see how it works? Or something.. I dunno..
If it still isn't working I'll look into it...

PS - Sound streaming works pretty good :D in stereo too I think..

It worked well with sending the Gchrome beta apk from my Gnex to my Aria. Although the nexus only showed up as what looked to be a MAC adress for the device name on the aria. as for other devices i dont have anymore to test.

Edit: google chrome for android FC'd on me =\
 
Last edited:

rkrishnan2012

Senior Member
Jan 21, 2009
518
36
Im gonna try to compile a new kernel and post a new post with my rom. I really want to learn how to make my own roms....
 

WinSuk

Senior Member
Jan 18, 2011
512
873
winsuk.net
Just curious, are you guys happy with the performance within ICS thus far?

I think it's not all that bad for being ICS on this phone.. Gingerbread is much smoother, but I still prefer typing on ICS. GB frequently gives me double letters, and doesn't correct spaces like ICS :)
I expect the performance to get a lot better once EGL is working, and even better if there's hardware acceleration.

The slowest part seems to be the launcher to me.. Installing one from the Market makes it a bit faster.

If anyone is wondering how it's going, I'm trying different stuff for EGL almost every day :p closer then before, but still not working (yet)
Other stuff isn't as much of a priority, since EGL is causing a lot of stuff to not work, and is causing it to be slow.
Once EGL and headphones are working, I won't have a reason to use Gingerbread anymore :p (except maybe for the camera..)
 
  • Like
Reactions: themacman1000

dandrumheller

Senior Member
Jul 10, 2010
3,625
1,137
Southern Maine / Seacoast NH
I think it's not all that bad for being ICS on this phone.. Gingerbread is much smoother, but I still prefer typing on ICS. GB frequently gives me double letters, and doesn't correct spaces like ICS :)
I expect the performance to get a lot better once EGL is working, and even better if there's hardware acceleration.

The slowest part seems to be the launcher to me.. Installing one from the Market makes it a bit faster.

If anyone is wondering how it's going, I'm trying different stuff for EGL almost every day :p closer then before, but still not working (yet)
Other stuff isn't as much of a priority, since EGL is causing a lot of stuff to not work, and is causing it to be slow.
Once EGL and headphones are working, I won't have a reason to use Gingerbread anymore :p (except maybe for the camera..)

Thank you for keeping development on this device alive! I'm on an SGS2 now as my daily driver, but my Aria is now my media player/micro tablet, and I'm looking forward to playing with this - as soon as you get the headphones sorted, I'm here!

Sent from my SGH-I777 using XDA App
 

rkrishnan2012

Senior Member
Jan 21, 2009
518
36
btw...do we really have the adreno 200 in this phone or are we just putting that there as a placeholder?
 

rkrishnan2012

Senior Member
Jan 21, 2009
518
36
The desire has adreno 200 and they seem to be moving smoothly so im gonna try to do my part by looking there for info...

Edit:
I am recompiling with their version of the adreno200 lib files and some kernel mods they did. I will make a new thread if necessary to test out this rom

Edit 2:
At the very least, the headphone issue may have been fixed... gonna check now.

Edit 3:
I think the kernel also needs to be modified to get the headset thing to work. I will steal some headset-related files from the desire and see if that works after recompiling everything (few hours to go...). Also, (Winsuk), for camera, can we just use the old gingerbread camera like they did for the desire?

Also, (winsuk), did you add openmax codecs to get the software egl to work? I just want to know cuz I wasn't sure what you did to get software hack to work. If not, maybe you should try this software egl hack:
http://xdaforums.com/showthread.php?t=1361940 (scroll to bottom of first post)

Edit 4:
YAY! I think I found the issue with headset...Just replace the arch/arm/mach-msm/htc_headset_mgr.c with this one and it should be fixed once the kernel is re-compiled. I will recompile the kernel and post it here tomorrow afternoon (possibly with a rom). This file should get the ICS to work with the headset (atleast just playback. I am not sure about the display icon. (credits to zivan56 for patch, I just found it on xda ;) ).

Also, please add this change to your next version (it allows contacts sync for facebook):
http://android.modaco.com/topic/350037-enabling-facebook-sync-in-ice-cream-sandwich/

Also, this guy reverse engineered some camera stuff so do check it out (last post...I promise):
https://github.com/rapmv78
 

Attachments

  • arch_arm_mach-msm_htc_headset_mgr.c
    22.1 KB · Views: 4
Last edited:

WinSuk

Senior Member
Jan 18, 2011
512
873
winsuk.net
The desire has adreno 200 and they seem to be moving smoothly so im gonna try to do my part by looking there for info...

Edit:
I am recompiling with their version of the adreno200 lib files and some kernel mods they did. I will make a new thread if necessary to test out this rom

Edit 2:
At the very least, the headphone issue may have been fixed... gonna check now.

Edit 3:
I think the kernel also needs to be modified to get the headset thing to work. I will steal some headset-related files from the desire and see if that works after recompiling everything (few hours to go...). Also, (Winsuk), for camera, can we just use the old gingerbread camera like they did for the desire?

Also, (winsuk), did you add openmax codecs to get the software egl to work? I just want to know cuz I wasn't sure what you did to get software hack to work. If not, maybe you should try this software egl hack:
http://xdaforums.com/showthread.php?t=1361940 (scroll to bottom of first post)

Edit 4:
YAY! I think I found the issue with headset...Just replace the arch/arm/mach-msm/htc_headset_mgr.c with this one and it should be fixed once the kernel is re-compiled. I will recompile the kernel and post it here tomorrow afternoon (possibly with a rom). This file should get the ICS to work with the headset (atleast just playback. I am not sure about the display icon. (credits to zivan56 for patch, I just found it on xda ;) ).

Also, please add this change to your next version (it allows contacts sync for facebook):
http://android.modaco.com/topic/350037-enabling-facebook-sync-in-ice-cream-sandwich/

Wow nice... I was gonna say thanks for reminding me about this device, cuz I couldn't use anything from it last time I found it.. then when I came back edit edit edit lol. Looks like you beat me to the headphones, but I'm waiting for a potential egl fix to compile :p Probably going to try the camera next and see if it works..
 

zhuoyang

Senior Member
May 4, 2009
433
217
Ampang
OnePlus 6
Also, (winsuk), did you add openmax codecs to get the software egl to work? I just want to know cuz I wasn't sure what you did to get software hack to work. If not, maybe you should try this software egl hack:
http://xdaforums.com/showthread.php?t=1361940 (scroll to bottom of first post)

I assume the EGL hack is hardware not software
and
I posted this hack before and the reply from WinSuk is
Tried this already... failed to build :-\
 

WinSuk

Senior Member
Jan 18, 2011
512
873
winsuk.net
I've tried everything I can find for EGL... none of it wants to work :-\

And I also tried the file you attached for headphones, and there were build errors..
I don't think it's the kernel since /sys/devices/virtual/switch/h2w/state changes when they are plugged in. Logcat says the kernel doesn't support headsets, but I think maybe it's looking in the wrong spot or something...
It probably is the kernel though :-\
 
Last edited:

Nutshell69

Senior Member
Nov 1, 2010
281
16
I've tried everything I can find for EGL... none of it wants to work :-\

And I also tried the file you attached for headphones, and there were build errors..
I don't think it's the kernel since /sys/devices/virtual/switch/h2w/state changes when they are plugged in. Logcat says the kernel doesn't support headsets, but I think maybe it's looking in the wrong spot or something...
It probably is the kernel though :-\

:(

I hope this doesn't die- was really liking where it was going.
 

rkrishnan2012

Senior Member
Jan 21, 2009
518
36
grr..

I guess the best thing to do now is to make a new kernel using another source. Did you try drowningchild's one?

Edit:
I didn't realize that they have a completly different thing for the htc_headset_mgr so I couldn't use theirs (compile issues). So, I modified ours to match the changes they made to their's. Please try this one and let me know...

Edit 2:
Kernel compiled and posted here. Now compiling rom...
I think I screwed up my source so I keep getting the black boot screen. Anyways, try to use the C file I provided and make a rom out of that. See if it improves the issue with audio. I think it should be fixed now. I couldn't upload the kernel here because xda doesnt approve.
 

Attachments

  • htc_headset_mgr.c
    32.4 KB · Views: 4
Last edited:

rkrishnan2012

Senior Member
Jan 21, 2009
518
36
someone please test this zip (to see if it boots at all..):

I removed the htc thing and everything related to egl and I just want to see if it boots at all. Unfortunately, I left my phone at my friend's house and I can't test it.

Also, if it doesn't boot, just revert it back to the old rom and it will work again (noob alert)..

link:
http://www.mediafire.com/?s49jdd2jwa7gfds
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    CyanogenMod 9 (Ice Cream Sandwich) based port for HTC Liberty ("Aria/Gratia")

    This is a port of CM9 (Ice Cream Sandwich) started by me for Liberty
    Currently in Beta

    Big thanks to:
    CyanogenMod Team
    Ganster41 (hardware video decoding)
    gladiac(aka modpunk on xda) & Droste from marvel (EGL & HW acceleration, camera, GPS, kernel, and probably more)
    munjeni (GPS, EGL & HW acceleration)
    s0be (EGL & HW acceleration, kernel)
    Qualcomm (ARMv6 ICS GPU drivers needed for EGL & HW acceleration)
    Everyone who has shared their working ICS source

    Screenshots: http://dl.dropbox.com/u/1077120/Android/ICSshots/index.html


    Working:
    • Pretty much everything not listed below

    Partially working:
    • Backlight for navigation buttons (on static brightness) - Turns off with the screen, and only comes back on when the brightness is changed
    • Camcorder - Effects don't work, time lapse doesn't work, only one resolution @ 15fps
      Default camera app will output bad video. Use another app for camcoder until this is fixed
    • Panorama - Slow, preview freezes after capturing (switching to camera/camcorder then back will unfreeze it)

    Not working:
    • Voice search and voice button on keyboard
      Solution: delete /system/app/VoiceSearch.apk & download Voice Search from the Play Store


    Known bugs (that aren't listed above):

    USB Mass Storage pops up in front of everything when USB is plugged in, and after "Preparing SD card" is done (while plugged in)

    Sound behavior with headphones/headset plugged in:
    Not sure if ICS is like this by design or not, but ringtones notifications and alarms are played through both the headset/headphones and the back speaker.
    Media (like music or videos) is only played through the headset/headphones

    Mobile data notification tray toggle: Sticks on enabled, but it still toggles the data correctly
    Not sure if this is a problem with the button on CM's end, or if it's Liberty-specific.
    Hitting another button will fix it

    Inserting an SD card while running will sometimes show as damaged. A reboot will fix it

    Watching videos for too long can crash the whole system

    Emergency calling is untested



    Links:

    BETA 7
    http://goo.gl/ZgG5O
    af16f7d517ecbf154bd5db90c6405f17

    ZgG5O.qr

    MediaFire mirror (slower, ads, captcha): http://www.mediafire.com/?8p9wsmmz5mgng29

    If Wifi isn't working, try this: http://xdaforums.com/showthread.php?t=1445766


    Google Apps for Ice Cream Sandwich: http://goo.im/gapps/gapps-ics-20120429-signed.zip


    ROM source: https://github.com/WinSuk/android/tree/ics

    Kernel source: http://git.cryptomilk.org/projects/marvel/kernel_htc_msm7227.git/?h=ics

    Old releases: http://www.mediafire.com/?8dxvcr5xw3fy5



    Install Guide:
    Recovery version 5.* would probably be best

    Old bootloader from 2.1 Eclair:
    - Update to 2.2 Froyo and S-OFF - http://xdaforums.com/showthread.php?t=1159237

    Clean install (from CM7, sense, or any other ROM):
    - wipe data/factory reset
    - Install ROM package
    - Install Google Apps package (optional)

    Update from previous CM9 build:
    - Install ROM package
    - Reinstall Google Apps package (if previously installed)

    Normal cache isn't used for anything that persists through reboots (from what I can tell), and the Dalvik cache is updated as needed upon booting (that's what the "Android is upgrading..." message is doing)
    The ROM package is supposed to restore Google Apps, but doesn't sometimes, so I added that as a step


    Tips & tricks:

    FM Radio: Use Spirit FM (and allow any root requests)

    Trackball wake:
    Open Terminal Emulator and type:
    Code:
    trackballwake
    then reboot.
    To disable it, run the same thing again.



    Release history:

    BETA 7 - November 5th, 2012
    --- Fixed USB debugging running while disabled
    --- Trackball wake has been switched to a script (run "trackballwake" from Terminal Emulator)
    --- Working hardware video decoding (huge thanks to Ganster41!)

    - CM Team:
    --- Lots? I haven't been keeping track of changes to CM9 (or even looking at them) since I started working on CM10


    BETA 6 - July 19th, 2012
    --- Autobrightness & light values fixed - if autobrightness wasn't working very well before, it should be better now
    --- Barcode scanners fixed
    --- Searching for network operators fixed
    (thanks munjeni for finding these)

    - Kernel changes (credit to gladiac):
    --- SmartassV2 CPU governor added & set as default
    --- Conservative & userspace governors removed (mostly for space savings)

    - CM Team:
    --- Added padding to status bar brightness control (to help huge devices, not really needed on liberty though)
    --- Camera burst mode (up to 20 shots)
    --- Increasing ringtone volume option
    --- New Wallpapers from the CM Community
    --- Power widget improvements (haptic feedback now works, etc)
    --- etc


    BETA 5 - June 14th, 2012
    - CM Team:
    --- Add option to enable notification counts on status bar (for example, if you have 4 unread emails there will be a 4 over the gmail notification icon)
    --- Lock screen background customization
    --- Lock screen calendar
    --- Lock screen weather
    --- Make status bar brightness control more responsive
    --- Merge & update changes from Google (4.0.4_r2.1, IMM76L)
    --- New ringtones & notifications - http://goo.gl/Ld5iA if you want to see their names
    --- Screen OFF/ON animation settings (new screen-on animation looks fantastic ;) gingerbread's was lame)
    --- Updated boot animation featuring Cid
    --- VolUp+VolDown now toggles the ringer
    --- Lots more. These are just changes I thought were worth mentioning :)


    BETA 4 - May 26th, 2012
    --- Enabled the first listed change from CM below

    - Kernel changes (this one credit to s0be):
    --- Switched to newer/current zRam (the old one wasn't actually working.. it might be working in beta 3 though)

    - CM Team:
    --- Re-added stuff that improves GPU performance for us
    --- Apollo music player
    --- Snooze or dismiss an alarm by flipping the device (in alarm settings)
    --- As always, etc.


    BETA 3 - May 15th, 2012
    --- Fixed panorama (thanks to the ZTE Blade devs)

    - Kernel changes (not me):
    --- Increased maximum memory size for KGSL (this should help with the force closes)
    --- Disabled KGSL_PER_PROCESS_PAGE_TABLE - this means KGSL will take up less memory (will help with FCs too)

    - CM Team:
    --- Themes
    --- Custom lockscreen shortcuts (system icons work, application icons don't yet)
    --- PowerWidget icons now glow when tapped
    --- New CM-specific icons in various places (they seem to be converting everything to Cid)
    --- etc


    BETA 2 - May 5th, 2012
    --- Fixed bluetooth tethering
    --- Fixed inverted colors on camera preview
    --- Fixed camcorder (output fix & other stuff thanks to Droste)

    - Kernel changes (credit to gladiac):
    --- Enabled stuff needed for data usage limit & warning (in other words "Fixed data usage limit & warning")
    --- Memory optimizations & other stuff like swap, zRam, KSM.. all of which need to be manually enabled (see Tips & tricks above)
    --- Available CPU frequiencies have been changed to 120-806mhz (from 245-864. If you want the insane ones back, you'll have to build it and take the risk yourself :p )

    - CM Team:
    --- Ad-hoc network support
    --- Slide lock delay (other half merged)
    --- Lots of other stuff


    BETA 1 - April 25th, 2012
    --- Partially working camera (thanks: gladiac & Droste)
    --- Fixed GPS (thanks: munjeni & gladiac)
    --- Fixed WiFi icon (and may have fixed/improved wifi sleep)
    --- Temporary trackball wake until CM adds it
    --- CM team - Notification light settings, [optional] extended volume popup, etc


    ALPHA 3.1 - April 13th, 2012
    --- Fixed remaining [known] rendering bugs
    (one still slightly remains with force gpu rendering turned on - fading marquee on old[not updated for ICS] apps renders with black boxes)


    ALPHA 3.0 - April 9th, 2012
    --- Working GPU rendering (aka "EGL")
    --- Working hardware acceleration
    --- Enabled USE_OPENGL_RENDERER, which makes things look pretty
    --- Built-in data usage meter fixed (limit & warning don't work yet)
    --- Improved wifi sleep.. it still doesn't wake up sometimes
    --- Default wallpaper changed to Phase Beam live wallpaper
    --- Enabled electron beam screen-off animation
    --- CM team: Updated to Android version 4.0.4, New CM9 boot animation, etc
    New bugs:
    --- Parts of screen sometimes go inverted (status bar icons are most noticeable, they turn orange)


    ALPHA 2.3 - March 9th, 2012
    --- Changed default wallpaper to ICS one
    --- Headphones(maybe headset too) [partially] fixed - no icon yet
    --- WiFi & USB Tethering fixed (Bluetooth untested)
    --- CM team added stuff, such as: CM ringtones, facebook contact support, profiles, etc


    ALPHA 2.2 - February 9th, 2012
    --- SD-EXT (with S2E) working great
    --- Enabled signal icon to show H (when available)
    --- CM Team added stuff: status bar brightness control now functions, etc
    --- Behind-the-scenes changes that may help with getting EGL


    ALPHA 2.1 - February 4th, 2012
    --- Atmel touchscreen fix, Round 3 - Confirmed working!
    --- Trackball button now functions correctly
    --- More changes by CM Team (such as: CPU overclock settings now function)


    ALPHA 2.0 - January 28th, 2012
    --- Atmel touch screen fix - Round 2
    --- Better scaled boot animation
    --- Bluetooth fixed (lightly tested)
    --- Phone signal fixed
    --- USB Mass Storage fixed
    --- CM stuff added by CM team (such as: status bar settings, notification tray settings, etc)


    ALPHA 1.1 - January 19th, 2012
    --- Fix for atmel touchscreens, change trackball to navigation [how it is in Gingerbread].. button on trackball still doesn't work perfect
    --- Remove libEGL_adreno200.so for partial EGL fix (slow, uses software rendering) - Gallery now opens but still has problems, Boot animation shows, Maps isn't black anymore. Some other stuff might work now like games


    ALPHA 1 - January 17th, 2012
    --- Initial release
    16
    Hey, got hw aceleration partialy working and camera also :) http://paste.ubuntu.com/895380/ problem is SIGSEGV with libgsl.so... anyone know whats use of the libgsl.so ?

    EDIT:
    fixed SIGSEGV :)... was problem with refresh rate code that I created... guys, I must to say its faster than software emulated:D

    Need to port netlink qtaguid from kernel 3 (have some problems now) and than I will create new thread with mine cm9 build
    13
    I wasn't going to post this because it's not built from source, but there's too much of a demand now :p

    Hardware acceleration isn't working in it yet, but EGL loads and does pretty well (pretty much on-par with Gingerbread IMO).
    With it loaded, lots of broken stuff is fixed, like Gallery, [3rd party] live wallpapers, taking screenshots, app switcher/closer thumbnails, games that require it, etc. And it's much smoother.

    Wifi isn't broken for me (apart from it sleeping, which is still broken)

    Anyway, here :)
    http://www.mediafire.com/?ukkxs44mnf41jh4
    md5: df25d2a75ea06702bb208321af8e1e6f

    (This isn't a main release, so it won't be going in the first post or anything)
    12
    OK, been a month since the last release, so I'm gonna upload one with a few things fixed :)

    ALPHA 2.3:
    - Changed default wallpaper to ICS one
    - Headphones(maybe headset too) [partially] fixed - no icon yet
    - WiFi & USB Tethering fixed (Bluetooth untested)
    - CM team added stuff, such as: CM ringtones, facebook contact support, profiles, etc

    Download: http://www.mediafire.com/?pced5sdg1s2ouva
    MD5: 2eb56e92318b35e3185fe5b854d2bdac

    And somewhere along the line Superuser stopped crashing when entering preferences, so woo :) (might be fine in alpha 2.2, dunno)

    Edit: Ah poo, accidentally clicked submit.. haven't actually uploaded it yet >_<
    11
    My brother likes my Aria so much that he wants to get one himself(He likes small phones too). I encouraged him to get the Desire C since it's more powerful and updated, but he wouldn't have any of it. He didn't care for power as long as the phone could do regular things. He also didn't care for the way the Desire C looked, and liked the Aria's sleek design better.

    Looks like the Aria still has some charm:)

    After ten days working in desire c I want to say its s*i* in comparation with "high-end" aria, desire c have no compas, have no button lights, have no camera auto fokus...etc, only have full working ics sense rom but speed is not much diferent than aria!!! I not sold my aria so I think I will sel desire c instead of aria and will back to aria again (maybe :))... aria is the best small phone with everything needed in an small phone.