New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
psyke83
Old
(Last edited by psyke83; 7th June 2012 at 05:53 PM.)
#1  
Recognized Developer - OP
Thanks Meter 1233
Posts: 784
Join Date: Mar 2011

 
DONATE TO ME
Default [DEV][psyke83] CyanogenMod 9 - Galaxy5 Port

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 GooManager or MAD 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!

Latest Changelog:
  • 20120605 [v0.4]
    • md5: 8d85095380f1106c883a86c2ea8fc457
    • Update CyanogenMod source
    • 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).
  • 20120602 [v0.3] [rebuilt - check md5sum]
    • md5: 59e44aa9d0424d7835587556e3f4adb5
    • Update CyanogenMod source
    • Full HWA (hardware acceleration) enabled
    • Enable hardware acceleration support in Trebuchet
    • Enable "force GPU rendering" option by default (allows more apps to use HWA)
    • Fix & enable window & transition animations (1x) - now completely smooth
    • Fix a small bug caused by compcache that prevented userinit.d scripts (such as simple2ext) from executing
    • Ensure that userinit.d folder is created if needed
    • Adjust lockscreen layout so that the lockscreen weather widget doesn't cause lockscreen buttons to be obscured.
  • 20120527 [v0.2]
    • md5: 1be4cbefec95259f292aeb5d4080d25d
    • 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
  • 20120525 [v0.1]
    • md5: 530a2bc7a7a53d7ef0764561ba9675ad
    • Initial build, based on Huawei U8160 ICS source base.
    • Using codeaurora_gio2europa kernel (same source as CM7)
    • Confirmed working: 2D, 3D, wireless, BT & BT tether, touchscreen (including fake dual-touch), sensors, lights, SD card & mass storage, all telephony, audio, MAC addresses for BT & wireless, compcache, swap (disabled by default), GPS
    • Confirmed broken: camera/video recorder, USB tethering, wireless hotspot, FM, video codecs (Youtube HQ, etc.), battery drains (most likely).
    • Added CM7's File Manager, since CM9 doesn't yet have one.
    • Supports GooManager and Mad Manager downloads & OTA updates.

Source Code:
Goo.im ROM folders:
Current projects:
Samsung Galaxy 5 (GT-I5500): CM10.1 / CM7 / CWM
Vodafone Smart (Huawei U8160): CM9 / CM7
The Following 8 Users Say Thank You to psyke83 For This Useful Post: [ Click to Expand ]
 
psyke83
Old
(Last edited by psyke83; 7th June 2012 at 05:54 PM.)
#2  
Recognized Developer - OP
Thanks Meter 1233
Posts: 784
Join Date: Mar 2011

 
DONATE TO ME
Current status (20120605 / v0.4):

Working:
  • 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.
Current projects:
Samsung Galaxy 5 (GT-I5500): CM10.1 / CM7 / CWM
Vodafone Smart (Huawei U8160): CM9 / CM7
The Following 6 Users Say Thank You to psyke83 For This Useful Post: [ Click to Expand ]
 
psyke83
Old
(Last edited by psyke83; 28th May 2012 at 04:40 AM.)
#3  
Recognized Developer - OP
Thanks Meter 1233
Posts: 784
Join Date: Mar 2011

 
DONATE TO ME
Reserved
Current projects:
Samsung Galaxy 5 (GT-I5500): CM10.1 / CM7 / CWM
Vodafone Smart (Huawei U8160): CM9 / CM7
 
PiracyX
Old
#4  
PiracyX's Avatar
Member
Thanks Meter 7
Posts: 54
Join Date: May 2011
I saw this on mad team forum. Currently running it now and it runs really well. Can't wait for the next build well done pal!

Sent from my Galaxy5 using Tapatalk 2
 
jasconildo
Old
#5  
jasconildo's Avatar
Member
Thanks Meter 4
Posts: 32
Join Date: Jan 2012
Great job!
Itīs working fine, the only thing i miss from CM7 is pressing the back-button to kill an app. That was my most used feature!
 
netmaniack
Old
#6  
Member
Thanks Meter 21
Posts: 38
Join Date: Oct 2011
Location: Liepāja
Quote:
Originally Posted by jasconildo View Post
Great job!
Itīs working fine, the only thing i miss from CM7 is pressing the back-button to kill an app. That was my most used feature!
Its in Dev section now.
 
jasconildo
Old
#7  
jasconildo's Avatar
Member
Thanks Meter 4
Posts: 32
Join Date: Jan 2012
Quote:
Originally Posted by netmaniack View Post
Its in Dev section now.
Awesome! Thanks a lot!
 
RenzoR
Old
#8  
Member
Thanks Meter 3
Posts: 31
Join Date: Dec 2008
Another good job from psyke!
-LG O3D with Darkroom 1.0 Small
 
Istur
Old
#9  
Member
Thanks Meter 3
Posts: 42
Join Date: Nov 2011
doesn't work telephony, what baseband are u using?
i'm currently using i5500luyjp2
 
jasconildo
Old
#10  
jasconildo's Avatar
Member
Thanks Meter 4
Posts: 32
Join Date: Jan 2012
Iīm using the one for Brazil: I5500BVJJP7