[ROM]CM9 4.0.4 ICS Liberty[09.Jul.2012]

Search This thread

munjeni

Senior Member
Jun 2, 2011
9,720
22,376
wiping dalvik still did not work had to reinstall gapps no big deal. On another note for those that use google calandar the sync apk is missing from the google ics tiny gapps here is the file either add to the gapp zip in the apps folder or use root explorer and put in system/apps and make sure the permisions are corrected and reboot. ;)
Always after clean android install, always boot into android, than reboot to recovery again and install gaps! At the same time do not install android gaps and android, it will not work correctly! So, always first boot to android, than reboot, than install gaps! And would be desirable to always format all (data, cache, system, boot, sd-ext, dalvik-cache, all android folders on sd card) before installing new android version, to prevent bad things that remains (if you not wipe it) in the memory! Also, an ext (primary) partition will be great in sd card for sd-ext! ...my advice, nothing more
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,376
For devs:
What you think about this?
Code:
I/DEBUG   (  112): memory map around addr 81f7ff30:

I/DEBUG   (  112): 422e8000-423e8000 /dev/pmem_adsp

I/DEBUG   (  112): (no map for address)

I/DEBUG   (  112): a7400000-a74ef000 /system/lib/liboemcamera.so
whats wrong with it? How much memory is recomended for adsp and pmem? Ideas?
 
Last edited:

murphy_77

New member
Feb 17, 2008
4
0
Always after clean android install, always boot into android, than reboot to recovery again and install gaps! At the same time do not install android gaps and android, it will not work correctly! So, always first boot to android, than reboot, than install gaps! And would be desirable to always format all (data, cache, system, boot, sd-ext, dalvik-cache, all android folders on sd card) before installing new android version, to prevent bad things that remains (if you not wipe it) in the memory! Also, an ext (primary) partition will be great in sd card for sd-ext! ...my advice, nothing more

I agree, was having issues with gapps and the clock stopping on me. Did a clean wipe of everything (and upgraded a couple things like s-off and cwm) and now it works like a charm
 

toxigenicpoem

Member
May 13, 2008
9
2
I also have the same behavior, toggling auto backlight on and then off turns on the backlight for the buttons. While the auto sensor is on, they never flip on. Once the phone sleeps, they never come back on.

Movie editor can not load any assets.

Voice search and Voice to text broken
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,376
Yes, I'm sorry, whole build is not good as I espected, there is a lot of changes that is not needed (it was for test), and there is a lot of features that msm7227 not support! So after tests I completely cleaned whole cm9 source and started working from begining, after compilng I got very very fast rom now (trust me) and I'm very statisfied now :), its very fast and clean! Performing some test for camera (have problem with target detection, it expected msm7k but I switched to msm7x27 and need to fix that...)

About sensors. Bug is in sensors.c (SENSOR_TYPE_LIGHT, 10240.0f, 1.0f, 0.5f, 0, { } },)... this is after I performed many many github pulls so I got mess in my source! 10240.0f value is bug!!! It need to be 1024.0f (kernel lux values defined in kernel is 0 to 1024!!! So lux values in config.xml also expect to be 0 to 1024) its reason why lightsensor not worked good... I'm sure you will be satisfied with the next version, for sure!!!
 
Last edited:
E

E.Cadro

Guest
Yes, I'm sorry, whole build is not good as I espected, there is a lot of changes that is not needed (it was for test), and there is a lot of features that msm7227 not support! So after tests I completely cleaned whole cm9 source and started working from begining, after compilng I got very very fast rom now (trust me) and I'm very statisfied now :), its very fast and clean! Performing some test for camera (have problem with target detection, it expected msm7k but I switched to msm7x27 and need to fix that...)

About sensors. Bug is in sensors.c (SENSOR_TYPE_LIGHT, 10240.0f, 1.0f, 0.5f, 0, { } },)... this is after I performed many many github pulls so I got mess in my source! 10240.0f value is bug!!! It need to be 1024.0f (kernel lux values defined in kernel is 0 to 1024!!! So lux values in config.xml also expect to be 0 to 1024) its reason why lightsensor not worked good... I'm sure you will be satisfied with the next version, for sure!!!

Can't wait for the next build and as far as the light sensors I don't think it is specific to your build it happened when I was using winsuk's as well. It also happened when using zackconsole's miui port also which was based off of one of winsuk's cm9 builds. Anyways keep up the great work. :)

Sent from wherever I am!
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,376
I'm not sure but I think gps is fixed! :)
Code:
D/GpsLocationProvider(  189): set_capabilities_callback: 7

D/libloc  (  189): loc_read_gps_conf: using /etc/gps.conf

D/libloc  (  189): loc_eng_init created client, id = 1

D/libloc  (  189): loc_eng_ni_init: entered.

D/libloc  (  189): loc_eng_deferred_action_thread started

D/libloc  (  189): loc_eng_set_gps_lock mode, client = 1, lock_type = 1

D/libloc  (  189): loc_eng_ioctl called: client = 1, ioctl_type = RPC_LOC_IOCTL_SET_ENGINE_LOCK

D/libloc  (  189): loc_eng_ioctl result: client = 1, ioctl_type = RPC_LOC_IOCTL_SET_ENGINE_LOCK, RPC_LOC_API_SUCCESS
 

bigfoot7375

Senior Member
Sep 30, 2010
71
1
munjeni, You are a very talented dev!
Thank you for making our Aria relevant.
As others, can't wait for your next build!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    Sorry, I do not want to make confusion with two different roms (munjeni/Winsuk), currently Winsuk github source in comparation with my localy source is much different, also kernels is diferent, so I opened this thread from that reason! Will update this thread soon!

    CM9 4.0.4 ICS Liberty (Ice Cream Sandwich)

    This is a port of CM9 (Ice Cream Sandwich) for Aria/Liberty based on WinSuk repo

    Screenshoots:
    http://img845.imageshack.us/img845/340/screenshot2012040818074.png
    http://img585.imageshack.us/img585/8750/screenshot2012040818081.png
    http://img442.imageshack.us/img442/491/screenshot2012040818083.png

    Currently working and not working:

    What works:
    • Auto-brightness
    • Bluetooth
    • Browser
    • Capticive buttons (with backlight)
    • DSPManager
    • Headphones/Headset (with buttons)
    • Keyboard
    • Market downloads
    • MMS
    • Notification light
    • Overclocking
    • Phone radio (calling, sms, data)
    • Sensors (light, proximity, rotation, acceleration, compass)
    • Sound & Mic
    • Superuser
    • Tethering (Bluetooth untested)
    • Touchscreen (with multitouch)
    • Trackball
    • USB Mass Storage Device
    • Vibration & Haptic feedback
    • Wifi
    • Gallery
    • Wifi sleep
    • Built-in data usage meter - full working now
    • Hardware acceleration (EGL)
    • Live wallpapers
    • Screenshots
    • Screen off/on animations
    • Wallpaper scrolling
    • wake by trackball
    • bootanimation - have right size now including cm9 logo
    • Wifi signal strength bar on status bar (wpa_supplicant_8)
    • GPS
    • Camera shoots and preview
    • Fast gps lock (qcom-librpc + new gps.conf)
    • Mobile networks choosing in Select Network

    If something missing or not working please let me know!

    What working but not good:
    • Camera panorama
    • Camcorder (can not stop recording)
    • HQ Videos... have frezes (we need hardware bassed decompresion instead of software bassed to get fully working videos)
    • FM radio have no audio


    Google Apps for Ice Cream Sandwich:
    You need to find an stable gapps for your needs!
    But I use this and it's stable for me -> http://goo.im/gapps/gapps-ics-20120422-signed.zip :)

    My Aria android git: https://gitorious.org/ics-on-htc-aria/master/commits/master
    My kernel git: http://gitorious.org/ics-cyanogenmod-2-6-35-kernel-msm7227-for-htc-aria/ics/commits/master

    Download old cm9 rom - 07.Jun.2012.:
    http://www.2shared.com/file/R6uEJBP4/cm9_liberty-ota-engroot_07Jun2.html
    md5: C25F74D11F0C1E03BC72927ABCA8E686

    Download new cm9 rom - 09.Jul.2012.:
    http://www.2shared.com/file/pUT_xRG1/cm9_liberty-ota-engroot_09Jul2.html
    md5: 269880B7DC6224E28325F273F91451E7

    WARNING for new cm9 rom!
    Rom have scripts that will erase all nand partitions needed for clean install! Android folder and .android_secure folder will be deleted from sdcard allso, so backup your data if you have something inside!

    Thanks:
    First, big thanks to Qualcomm and their user space library that was needed for HW acceleration!!!
    Google - for both Android and their search engine, which are awesome
    CyanogenMod Team
    WinSuk
    s0be
    modpunk
    Everyone who has shared their working ICS source - It has helped a lot in fixing things
    30
    Instruction/fixes/changelog is here:

    10.Apr.2012:
    • Wifi signal icon is fixed

    13.Apr.2012:
    • source totaly cleaned after some tests (pull reguest from Cyanodenmod cm9 repo + very small changes (like untached)), right key is in board_device_liberty :)
    • gps fixed (I'm not tested)
    • very fast and smooth response on everything
    • lightsensor fixed
    • libcamera.so is patched from msm7k to msm7x27 but not working (need to port old QualcommCameraHardware.cpp)

    27.Apr.2012:
    • Camera preview and camera shoot is fixed, not stable but working good [credits to modpunk, WinSuk and all who shared their source]
    • Ics librpc for gps fixed [credits to modpunk]
    • kernel updated [there was problem with memory allocation, so camera not worked from that reason...]
    • a lot of framework changes/cleanups is fixed by Cyanogenmod team so... [all credits to him]
    • maybe I forgot something? :)
    • light sensor/backlight is fixed and tested, please read this:


    • How to enable utomatic backligh:
      - go to settings/display/brightnress and set it to automatic
      - go to settings/display/automatic_backlight select use custom
      - go to settings/display/automatic_backlight/edit_other_levels and set 0,33,77,220,308,397,485,698,860,1023 seccond column 66,96,103,115,130,152,152,255,255,255 third column 255,255,0,0,0,0,0,0,0,0, than save&apply
      - go to settings/display/automatic_backlight and select allow light decrease
      - go to settings/display/automatic_backlight/decrease_hysteresis and set it to 50%

      Now its totaly automatic for me...​

    28.Apr.2012:
    • rom is deodexed now!

    03.May.2012:
    • New kernel with realigned Aria memory layout (heap size is increased for 8MB {adsp_size have 4MB more, gpu_size have 4MB more})... no more (sometimes but very less) force closes
    • New kernel modules (cifs, tun, nls_utf8, bcm4329.ko)... its needed for mounting network folders :)
    • New camera updates (Thanks WinSuk)
    • New memalloc and gralloc lib (disabled annoying "debug" log for memalloc... now its only "info" and "error")
    • Video still is not fixed (my wrong sorry... some HQ videos working but most of HQ videos not working :()... I think maybe reason is not good because googleOMX is msm7627 ?

    10.May.2012:
    • New kernel with new allocators (not fully ported from kernel 3 "contiguous memory nomap" only part of it :()
    • Kernel, enabled SLOB, enabled KSM, enabled LZO compresion needed for zRam... and a lot of other... you can see all changes on my git!
    • New camera upstream updates + camera timer + updates from WinSuk git (Thanks WinSuk, s0be, cm team and all who working on camera)
    • A lot of fixes from upstream
    • No force closes (added some scripts to init.d like zram automout, zram auto free, free pagecache, free dentries and inodes, modules automount, gps permission...)... but in prevention of force closes, you need to free memory sometimes to get android stable(I use airdroid app and his great memory releaser) :)
    • Old librpc + new gps.conf (gps have fast lock now)
    • First config screen on first boot :)
    • Video still is not fixed
    • Camera recorder is not fixed
    You need to enable "kernel same page merging" in setting/performance. To get full working autobacklight you need to enable "allow lights decrease" in settings/display/automatic_backlight. You do not need to enable zram, it's enabled by default by script until compcache_enable is fixed android side, kernel side it's good. This build is more stable for me!

    13.May.2012:
    • Logo for my kernel :)
    • Some tweaks for ram (you will have constantly 90mb amount of the free memory, so... less force closes or maybe no force closes:))
    • Camera recorder is fixed but... :( ((camcorder recording but no one cm9 rom for Aria have video encoding/decoding hardware bassed, its software bassed... 15 fps... we need hardware bassed compresion/decompresion to get fully working recorder and youtube videos)

    07.Jun.2012:
    • Mobile networks choosing in Select Network
    • zRam full fixed, you can enable/disable/set_size from settings menu
    • A lot a lot a lot of Cyanogenmod upstream changes :)
    • kernel: Framebufer console during boot (Its for fun... if you not like it I will disable in next build)
    • kernel: VR IO scheduler
    • kernel: InteractiveX governor
    • kernel: deep sleep mode

    09.Jul.2012:
    • All new Cyanogenmod upstream changes
    • kernel: Framebufer console during boot disabled
    • kernel: deep sleep mode (reverted back to like previous build)
    • some progress with FM radio (all is fixed and working but only have no audio :(... maybe some one have some programing skills to find what is wrong with audio? Or maybe to manually send command to kernel to get fm audio routing to headset?)
    12
    Kernel improvements: deep sleep mode working now (7mA battery drain :eek:) -> http://img525.imageshack.us/img525/1629/screenshot2012052019050.png ,new gsensor driver with support for android temperature sensor ;)...etc
    11
    New build is out, enjoy