[Android Development on Bada] Alberto96:
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Downloads

Latest build: http://goo.im/devs/Alberto96/Wave/builds/

Old builds: http://goo.im/devs/Alberto96/Wave/nightly/

Slim Google Apps: http://d-h.st/users/ZordanKV/?fld_id=28623#files (Remember that GAPPS makes phone slower ;))

Installation

- First time flashing CM11 to your Wave? Bada 2.0 is required

Enter Bada Settings->General->Memory and make sure you have at least:

430MB of free "System" memory

160MB of free "User" memory

650MB of free "Applications" memory

Extract zImage from zip and copy it to the Bada's User partition (the one about 390MB big) or to your MicroSD.

Copy the ROM zip to your MicroSD (sdcard0) or to the Bada's User partition (sdcard1)

Flash BOOTFILES, armlinux_boot for your device using Multiloader:

for S8500:

https://github.com/Alberto96/androi...andard/prebuilt/FBOOT_S8500_b2x.fota?raw=true

for S8530:

https://github.com/Alberto96/androi...andard/prebuilt/FBOOT_S8530_b2x.fota?raw=true

(please pay attention if it's S8500 or S8530 BOOTFILES and FOTA you're choosing!):

Reboot the phone holding Power and Call key

FOTA set of red messages should appear, after about 15seconds Badadroid logo shows up

Be patient, first bootup will keep unresponsible on Badadroid logo for up to 5 minutes

When CWM Recovery starts, pick:

"install zip"

"choose zip from /storage/sdcard1" (if your ROM's zip is on the Bada's User partition)

or

"choose zip from /storage/sdcard0" (if your ROM's zip is on the MicroSD)

"cm-11--UNOFFICIAL-wave.zip"

"Yes - Install cm....."

Optionally install the Google Addon using the same method (step 8)

Reboot holding the Power/End Call key

- Upgrading from another build of CM11?

Do a Nandroid Backup!

Note: CWM Flashing does overwrite zImage. So you don't need to replace zImage every time you upgrade ;)

Install the ROM from sdcard using ClockworkMod Recovery (first procedure, step 8)

Notes

Do not remove zImage file.

Normal bootup is available using Power+Call keys

CWM Recovery mode is available using Power+Call+Volume Up keys

Known Issues

Please do not report bugs if it is already listen in the list of known issues

Network registration don't work with some SIM cards

Conference Calls not supported yet

Some problems with audio codec settings, but generally it should work correctly

Impossible to shut down phone in Android, only restart

Wave 2 Display Driver is a bit buggy (do not ask for a fix in this thread!)

Reporting Bugs

You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.

REPORT BUGS IN THIS THREAD ONLY

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. The following is a useful format to follow. Note: If you can provide the latest night/build that the bug didn't exist, it would greatly help in tracking down what caused it.

What is your--
Phone model:
Radio (baseband):
CM version:
CM Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
CMSettings/Performance settings (other than stock):
ART Runtime:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

FAQ

Where are "Performance" and "Developer Options" categories?

To activate Performance and Developer Options categories in Settings you need to tap 7 times on Build number located into Settings->About Phone.

How-to Uninstall?

Follow the steps there: http://xdaforums.com/showpost.php?p=35107469&postcount=393

Why is there no transparent status bar/lockscreen widget/"OK Google"?

Those features have been disabled by Google for low RAM device in order to save RAM. You can try enabling it by removing "ro.config.low_ram=true" from /system/build.prop, however, it is not an officially supported setup.

Does this ROM support FM radio?

I've checked and the new FM API in CM is not really compatible with our device without heavy modification. Applications using the new API expect to be able to read the FM input as it if were another stream, but FM on our device only does pass-through from FM receiver to speaker/headset, which causes certain functionalities to not work such as volume control. Maybe one can modify the audio routing table in the kernel to have it behave like the API expected, but I'm not really interested in investing time to do that.

TL;DR: No built-in FM radio except if someone else does it and submits a patch.

Use Spirit FM Radio (remember to run "insmod /system/lib/radio-si4709-i2c.ko" in terminal/adb shell) at your own risk!

Changelog

20140617:

(you need to do a temporary full wipe to have larger partition size, use this procedure: do a nandroid backup, install rom package (cm11...wave.zip), reboot to recovery, wipe all data + format /system, restore nandroid backup, install rom package, reboot)

Updated and Optimized CM Sources

Optimize Kernel (new whole sources)

Enhance Performance

Better Photo Quality

Enlarge Partitions Size

Do not wake up phone using menu/back keys (side) but only with home key (center).

20140418:

Updated CM Sources

Optimize Kernel

Working OTA Updates

See my github for more details :)

Credits

Rebellos for his CM10 ROM, for his good sources and many time that he spent for the Badadroid project

Badadroid devs: Oleg_k, Volk204, mijoma, nbates66, anghelyi, mikegapinski, hunktb, autra, Tigrouzen and many others.

CyanogenMod team for base ROM

Pawitp, kasper_h, Alberto96 and all other aries developers

Paulk and Replicant project for good base for bada-modem RIL

and many other who helped (and still help) us.

The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!