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

Search This thread

nuttkrakk

Senior Member
Mar 14, 2008
175
25
It can be formatted as long as you flash a new boot image before restarting. Otherwise I've heard you can brick your phone.

I always do the following for flashing ALL ROMs and it always worked for me:
1. Go to CWM
2. Factory reset
3. Wipe cache
4. Wipe dalvik
5. Format boot, cache, data, system
6. Flash rom
7. Reboot to CWM
8. Flash gapps and normal reboot

If there are other mods, I flash them AFTER but wipe dalvik and cache before flashing.

Sent from my Liberty using xda premium
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
I always do the following for flashing ALL ROMs and it always worked for me:
1. Go to CWM
2. Factory reset
3. Wipe cache
4. Wipe dalvik
5. Format boot, cache, data, system
6. Flash rom
7. Reboot to CWM
8. Flash gapps and normal reboot
6. and 7. is not good, there need an important step (6.5):
1. Go to CWM
2. Factory reset
3. Wipe cache
4. Wipe dalvik
5. Format boot, cache, data, system, sd-ext
6. Flash rom
6.5. boot room (if not do it, you will have problem with gapps)
7. Reboot to CWM
8. Flash gapps and normal reboot
 
Last edited:

j3r3goss

Senior Member
Apr 11, 2011
553
206
Gladewater, TX
Maybe I've been lucky, but I've never flashed a rom and gapps separately and I've never had a problem with gapps, though i can see where it could be problematic.

Sent from my Liberty using xda premium
 

drumist

Senior Member
Aug 6, 2010
1,725
543
6. and 7. is not good, there need an important step (6.5):
1. Go to CWM
2. Factory reset
3. Wipe cache
4. Wipe dalvik
5. Format boot, cache, data, system, sd-ext
6. Flash rom
6.5. boot room (if not do it, you will have problem with gapps)
7. Reboot to CWM
8. Flash gapps and normal reboot

As the last two posters have said, you don't need to do that. No idea where this originated (I've seen several people in this forum suggest it) but it's pointless. You also don't need to restart CWM before flashing gapps.

On another note, "factory reset/wipe data" will clear your data, cache, dalvik cache, and sd-ext. If you do "factory reset/wipe data", then you don't need to manually wipe (aka format) any of those a second time. I think the reason this has persisted is because there were problems with some of the earlier CWM versions where it wouldn't clear it properly, but that shouldn't be an issue anymore.
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Ok, I aggre but step nr.6.5 (after installing rom need to boot rom before installing gaps) is very important! If not do it, probles ocur with market, with screen for acount configuration...etc
 
  • Like
Reactions: rooterdam

rooterdam

Senior Member
Aug 18, 2011
692
246
Ok, I aggre but step nr.6.5 (after installing rom need to boot rom before installing gaps) is very important! If not do it, probles ocur with market, with screen for acount configuration...etc

That was the problem I gad earlier on..
About the SD, is the files that are corrupted or the physical SD card?
Needless to say I need my files..:D
 

themacman1000

Senior Member
Dec 30, 2010
1,189
122
Portland
That was the problem I gad earlier on..
About the SD, is the files that are corrupted or the physical SD card?
Needless to say I need my files..:D

It would be the SD card. If you want to "un-corrupt" your SD card, do this: connect to a computer and copy over ALL files on your SD card to the computer. Unplug you Aria and boot into recovery,make a NAndroid backup, find the option that says something like format /sdcard and choose that. Don't do any special patricians, and let it do its thing. Plug your Aria into your computer, and under Advanced in CWM, there should be an option to mount /sdcard. Do that and copy your backed up files back to the fresh SD card. Reboot and you should be good to go.

*Notice* I ain't responsible if you happen to nuke your SD card doing this. I haven't had anything bad happen doing thus procedure, but... Just covering my behind.

Sent from my HTC Intruder
 
Last edited:
  • Like
Reactions: rooterdam

nuttkrakk

Senior Member
Mar 14, 2008
175
25
As the last two posters have said, you don't need to do that. No idea where this originated (I've seen several people in this forum suggest it) but it's pointless. You also don't need to restart CWM before flashing gapps.

On another note, "factory reset/wipe data" will clear your data, cache, dalvik cache, and sd-ext. If you do "factory reset/wipe data", then you don't need to manually wipe (aka format) any of those a second time. I think the reason this has persisted is because there were problems with some of the earlier CWM versions where it wouldn't clear it properly, but that shouldn't be an issue anymore.

I agree on what you said. Usually issues occur switching from different rom family (stock sense to gb sense to cm7 or cm9 or any other combination of the twoof these). Also I found out the bootloops are likely to occur if I dont do one or more of these steps. Some of them are redundant but what the heck... it one minor step.

Sent from my Liberty using xda premium
 

phigan

Senior Member
Sep 11, 2007
75
9
Reboots?

Has anyone had issues with sporadic reboots with this ROM? After noticing this, I installed an uptime widget.. The phone crashed while adding the widget to the home screen.

Since installing the widget, the phone has rebooted three or four times, so I think it's just making it worse.
 

KillerBeaver

Senior Member
Oct 19, 2010
241
42
Has anyone had issues with sporadic reboots with this ROM? After noticing this, I installed an uptime widget.. The phone crashed while adding the widget to the home screen.

Since installing the widget, the phone has rebooted three or four times, so I think it's just making it worse.
The one problem I have is that sometimes my phone seems to load so much stuff into RAM that the phone will slow down, freeze up, then reboot. I usually try to close programs with the task manager after i'm done using them; but, sometimes it freezes when i'm not even using it. Typically, when it reboots, the boot animation will be going in slow motion. I'm using S2E for extra space and have dalvik on my ext3 partition; i think that probably has something to do with it. What i do now if i can't get it to speed up is just reboot before it freezes, otherwise I can't get it to recover without doing a battery pull.
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Has anyone had issues with sporadic reboots with this ROM? After noticing this, I installed an uptime widget.. The phone crashed while adding the widget to the home screen.

Since installing the widget, the phone has rebooted three or four times, so I think it's just making it worse.
Is it compatible with ics? I'm not sure! I have seen something strange when cpu freq governor is on interactive....maybe its problem? Try using ondemand governor 122-806, I haven't problems...
 
Last edited:

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