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

Search This thread

munjeni

Senior Member
Jun 2, 2011
9,720
22,375
Inerested lines for camera :):
Code:
D/QualcommCameraHardware(  121): num_buffers = 3
V/QualcommCameraHardware(  121): register_buf: camfd = 40, reg = 0 buffer = 0x42408000 can_write = 1
V/QualcommCameraHardware(  121): register_buf: camfd = 40, reg = 0 buffer = 0x42431000 can_write = 1
V/QualcommCameraHardware(  121): register_buf: camfd = 40, reg = 0 buffer = 0x4245a000 can_write = 0

and very interested next 3 lines:
Code:
I/dalvikvm( 1060): Wrote stack traces to '/data/anr/traces.txt'
V/QualcommCameraHardware(  121): initpreview before cam_frame thread carete , video frame  buffer=0x4245a000 fd=42 y_off=0 cbcr_off=110592 
V/QualcommCameraHardware(  121): Preview thread created
ussing buffer buffer=0x4245a000 can_write=0 maybe cam will work now after decreasing to 2 buffers only instead off using third buffer that is not writeable :D
Got it on buffer nr.2:
Code:
V/QualcommCameraHardware(  121): register_buf: camfd = 40, reg = 0 buffer = 0x42431000 can_write = 1

V/QualcommCameraHardware(  121): register_buf: camfd = 40, reg = 0 buffer = 0x4245a000 can_write = 0

V/QualcommCameraHardware(  121): native_set_parm: fd 25, type 1, length 32

V/QualcommCameraHardware(  121): initpreview before cam_frame thread create , video frame  buffer=0x42431000 fd=42 y_off=0 cbcr_off=110592
but again all things fail on stupid message -> E/mm-camera( 121): cam_frame: MSM_CAM_IOCTL_RELEASE_FRAME_BUFFER error Invalid argument
realy not understand how to debug it, what is "argument" that fail? Is this wrong adress or wrong ioctl call? Logcat -> http://paste.ubuntu.com/938749/ latest commit is allso on my git! If you have idea I'm here :D
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,375
Here is my latest cm9... its for test only... mine changes is focused on camera and lightsensor + all other changes is from cyanogenmod git(rotation vector, some changes in frameworks...etc) = new build same as before (I not seen big diferences in performance) + updated kernel + full working autobacklights (you need to set "allow lights decrease" in backlights settings!) ...so I will seed it for about 2hr and will stop after 2hr (power down computer)! Please let me know if something is better or if something is strange.

Edit:
removed torrent, will upload this to 2shared
 
Last edited:
  • Like
Reactions: dimon2242

dimon2242

Senior Member
Jul 15, 2008
1,171
519
Moscow
utorrent says is wrong encoded torrent
gapps full stable working for my htc gratia with you rom
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,375
I don't understand why, it working in my ytorrent
 
Last edited:

dimon2242

Senior Member
Jul 15, 2008
1,171
519
Moscow
ttorrent on tablet also writes Torrent file is corrupted
You can create magnet link?
 
Last edited:

dimon2242

Senior Member
Jul 15, 2008
1,171
519
Moscow
generally good, but backlight key does not work and in the browser once the device reboots and like the gps started working faster!, but the speed has improved! great job!
 
Last edited:

tebuddy

Senior Member
Nov 18, 2011
101
14
Managed to upgrade from Winsuk's latest build to the latest just posted without bootloops.

edit: Not sure if you intended this munjeni, but the graphical glitch I described in my earlier post is still present in the latest build.
 
Last edited:

boxcar8028

Senior Member
Mar 15, 2011
955
220
Seattle, WA
super smooth with launcher pro. but camera still not working for me. gps is fine but all voice inputs are not working. that includes goggle voice search and voice to texts. very close to my daily driver tho :)

Sent from my Liberty using XDA
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,375
generally good, but backlight key does not work and in the browser once the device reboots and like the gps started working faster!, but the speed has improved! great job!
gps is faster? I included new init script for gps, I'm sure gps is faster from that reason.
Backlight key does not work? Do you want to take screenshoot for menu/system_setings/display/automatic_backlight/edit_other_levels I need to see something?

super smooth with launcher pro. but camera still not working for me. gps is fine but all voice inputs are not working. that includes goggle voice search and voice to texts. very close to my daily driver tho :)
Will try to fix voice in next build... I'm sure there is problem with permissions...


Generaly, this build is better than previous?
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,375
Managed to upgrade from Winsuk's latest build to the latest just posted without bootloops.

edit: Not sure if you intended this munjeni, but the graphical glitch I described in my earlier post is still present in the latest build.
You are right about graphic glitches! First problem about glitches is when wifi is not off (wifi sleep policy?)! Seccond problem for glitches I noticed when I turn screen off but not open app menus before and than wake up phone, result is glitches on next wake up... but when I open and close app menu and than turn off screen, on next wake up all is smooth... so there is problem for sure (I think something about kgsl/invalidate cache) and need to be fixed (curently I'm not focused to get it fixed).


Now I'm focused to camera and few problems:
- first problem is sd-ext
Code:
I/mountsd (   97): Checking filesystems.. 
I/run-parts(   83): e2fsck 1.41.12 (17-May-2010)
I/run-parts(   83): /dev/block/mmcblk0p2: clean, 10/122880 files, 15509/489982 blocks
I/busybox (  101): mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument
I/logwrapper(  101): busybox terminated by exit(255)
I/busybox (  103): chown: /sd-ext: Read-only file system
I/logwrapper(  103): busybox terminated by exit(1)
I/busybox (  105): chmod: /sd-ext: Read-only file system
I/logwrapper(  105): busybox terminated by exit(1)
- something with sysctl -- I checked it now and its ok...wlan0 is pressent when wireless is enabled, so its ok!
Code:
E/CommandListener(  115): Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory
- E/ActivityThread( 357): Failed to find provider info for com.android.inputmethod.latin.dictionarypack
- PackageManager (a lot off unknown permisions)

Help for "few problems" that I mentioned would be very well because I not have time to search google for possible fix becouse I'm focused to get camera preview... so if you want to help and you have time to read a lot of forums for "few probmlems" that I mentioned... why you guys not try to fix something expect camera? For example this simple problem:
E/ActivityThread( 357): Failed to find provider info for com.android.inputmethod.latin.dictionarypack
 
Last edited:

dimon2242

Senior Member
Jul 15, 2008
1,171
519
Moscow
@munjeni I still happen after unlocking the device lights the dark
backlit buttons should work only when the brightness of autoregulation?
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,375
@munjeni I still happen after unlocking the device lights the dark
backlit buttons should work only when the brightness of autoregulation?

I not have that problem! Do you want to take screenshoot for menu/system_setings/display/automatic_backlight/edit_other_levels I need to see something?
 

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