CyanogenMod 9 Galaxy 5 Port [psyke83 build]
Latest release: 20120605 [v0.4]<--- learn what "RTFM" means before embarrassing yourself ಠ_ಠ
Latest Google Apps package: gapps-ics-small-20120429<--- you must only use my custom "gapps-ics-small" package, as the standard releases will be too large to fit on our device. Don't try to use a gingerbread version either.
Hey folks,
This is a port of CyanogenMod 9, a community-developed Android ROM based on Ice Cream Sandwich 4.0.4, for the Samsung Galaxy 5 I5500 (Europa) phone. The current port status is alpha (not recommended for everyday use). See post #2 to see the most up-to-date ROM status.
Special thanks to Motafoca for starting CyanogenMod development, DrMacinyasha for the hosting, OuNao for the fake dual-touch module, sensor work and general assistance, mikereidis (author of Spirit FM Radio app) for helping with FM audio issues, tilal6991 for his work on CM9 for Huawei, alanorth for being a badass, and of course, thanks to all of you for testing!
Pre-requisites:
Visit the Basebands thread and make sure that you are using a baseband that is recommended for CyanogenMod. If you are still using an Eclair ROM, you must update your baseband or you will experience boot loops.
Visit the ClockworkMod thread and install the latest ClockworkMod build via Odin.
Install the GooManagerorMAD Manager application from the Google Play store... or, download the ROM manually via PC using the link that you will find after RTFM'ing.
Installation (first time/new users):
Open the GooManager application.
Navigate to psyke83 -> roms -> galaxy5.
Click on the build you wish to install from the list.
Click on the Download button to download the rom.
Once the download(s) are complete, reboot into recovery and install the update package, followed by the Google Apps package.
Important: if you are updating from a stock ROM, CM7 or any other ROM that is not my personal CM9 build, choose the data wipe option before rebooting!
Switched to new kgsl driver & Adreno ICS libraries. This resolves the image corruption issues seen in v0.3, but the kernel drivers may not yet be fully stable. Needs more testing.
Basic camera functionality: preview & taking snapshots work properly. Barcode scanners show preview but do not recognise barcode. Camcorder preview works normally, but recorded video will be corrupt (due to encoders).
Known issue: If simple2ext fails, it's because the /data/local/userinit.d folder doesn't exist. To workaround this issue, run su and then "madconfig blah" ("blah" doesn't really do anything, but by coincidence the madconfig script always creates the userinit.d folder when parsing any option).
Known issue: Apollo doesn't associate with .mp3 files properly yet. Install the old Music app (to /system/app or simply by installing as a user app): http://goo.im/devs/psyke83/roms/Music.apk
kernel: backported xt_quota2, xt_qtaguid, iface_stat drivers to allow proper networking stats and prevent recurring framework crashes
libaudio: fix for wrong microphone being used during calls, added audio attenuation support (enabled on speaker), added Samsung extamp filtering support to fix distortion in FM audio & headset in-call audio. Added new system property that lets users disable extamp filtering if wanted (no extamp filtering + 0db attenuation on speaker = identical audio volume to v0.1 release's audio)
boot: remove corrupted initlogo that was displayed before bootanim started (no longer needed)
framework: fixed cpu deep sleep issue that was caused by wakelock in hs serial device (Bluetooth quick switch) - should drastically improve battery life (may now be similar to CM7)
framework: optimizations to 2D rendering speed
framework: disable UI touch sounds (was just slowing down presses + increasing battery drain)
switch from old Music app to new Apollo music player
add VoiceDialer, SoundRecorder
Trebuchet: change drawer animation back to default (looks nicer, no change in performance)
fix simple2ext compatibility issue. Note: you will need to enable the "mount as ext4" option in the app settings, as CM9 does not auto-mount /sd-ext on boot.
wifi: change wpa_supplicant driver from wext to ar6000
increase VM heap to 32MB - should reduce ANRs
fix for keypad layout not following orientation changes
Full HWA (hardware acceleration) using ICS Adreno libraries & new kgsl kernel drivers
Camera - basic functionality
Audio
Telephony - calling, messaging, mobiledata
Touchscreen - including OuNao's fake dual-touch, configurable via madconfig
Bluetooth & Bluetooth tethering
Wireless
Correct MAC addreses for BT & WiFi
SD card & USB mass storage
Lights
Sensors - via OuNao's g5sensord and sensor library, which means no lag in games, etc.
Compcache & swap - the latter available via madconfig, but disabled by default
GPS
Good battery backup (needs more testing to be sure)
Not working / todo:
Bluetooth prevents deep sleep - do not leave enabled when you have no need to use it
Camera - barcode scanner - preview works, but barcodes not recognised
Camcorder - works, but doesn't encode video properly
USB & Wifi Tethering - you may be able to use third-party replacements
FM Radio - no CM9 radio app yet exists, but Spirit FM may work
Video acceleration - video decoders will use software rendering, which uses more battery, and is too slow for HQ video playback.
Useful commands:
Note: make sure you are superuser by typing 'su' in terminal before running any command.
Enable swap (disabled by default): madconfig swapon
Disable swap: madconfig swapoff
Enable fake dual-touch (disabled by default): madconfig dton
Disable fake dual-touch: madconfig dtoff
Audio driver customization - replace X with desired value explained for each entry:
Code:
Samsung extamp filter - X is bool value (0 = off, 1 = on)
setprop persist.sys.extamp-filter X [default 0]
Attenuation properties - X is value in decibels
setprop persist.sys.speaker-attn X [default 6]
setprop persist.sys.headset-attn X * [default 0]
setprop persist.sys.fm-attn X [default 0]
* Attenuation of audio on the headset does not work when in-call.
Only the Samsung extamp filter can reduce the volume for headset calls.
Most of us take the simple act of waking up our devices and having a quick glance at the … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?