[Samsung Galaxy R i9103] Adam77Root:
Hi everybody!

Today I share my CM7.2 build and the device folder needed for build.

Firstly, here is the flashable zip:

http://depositfiles.com/files/3ppjnzlbd

Just put it to your SD card and flash with CWM.

What works:

- It boots. :D

- Theme chooser.

- Screenshot.

- Sound playing and recording.

- GPS

- Vibration (Sometimes buggy.)

What doesn't:

- Everything else. (Including for example camera, video player, wifi, bluetooth, network and mobile data, etc.)

It is going to be a very hard work to make it fully functionable. In the followings, I share my CM7.2 (and CM7. It is the same.) device folder. Here is a little readme for building. I assume the devs who are involved in the CM-development already know this (especially the first steps). :)

- Check out the latest CyanogenMod 7.2 sources:

repo init -u git://github.com/CyanogenMod/android.git -b gb-release-7.2

repo sync

- Put the device files into device/samsung/galaxyr

- Move cyanogen_galaxyr.mk (from the attached zip) into vendor/cyanogen/products directory.

- Open vendor/cyanogen/vendorsetup.sh and add the following line:

'add_lunch_combo cyanogen_galaxyr-eng' (Without quotes)

- Open vendor/cyanogen/AndroidProducts.mk and add the following:

'$(LOCAL_DIR)/cyanogen_galaxyr.mk' (Without quotes)

- Go to your device folder (device/samsung/galaxyr), put your phone on USB and run extract-files.sh

(It is important to run in the device folder, because it works with relative paths!)

(Your phone must have a stock or stock-based rom to copy the necessary proprietary files!)

- In your top CM source dir, execute:

'. build/envsetup.sh' (Without quotes)

- Finally:

'brunch cyanogen_galaxyr-eng' (Without quotes)

- Wait for it to finish. Flash and enjoy!

Here is the link for the GitHub repository:

https://github.com/Adam77Root/android_device_samsung_galaxyr

Some information about the files:

- The files (especially galaxyr.mk) are bloated with options and settings. I have concerns about the usefulness of some of them. We may not need them in a final/stable build.

- The kernel is the stock ZSLE6 kernel.

- gpswrapper, libaudio, libexifa, libjpega and libsensors were copied from c1-common with little modifications.

Some notices I have come across during the development:

- If we set TARGET_HAVE_TEGRA_ERRATA_657451 to true, we get a plenty of segmentation faults. On CM9, I was able to trace back the problem to this setting! CM7 (and obviously 7.2, I didn't tried) doesn't show the segfaults, probably because init and adb can't load. That's why TeamGalaxyR's rom boots to Samsung splash screen. If you try 'adb shell' on that rom, it immediately closes, because it cannot connect. After I had set this option off, I was able to build working images.

I hope other developers will start working on CM as soon as they can. It is a great project. I will also put every effort into this project, but I won't have access to my files for a week from tomorrow. However, I will stay tuned and be able to post here.

I attach two screenshots I took yesterday.

UPDATE:

Epsylon3 made some progress. The most important: Wifi is working now!!

Get it here: http://dedib.ath.cx/galaxyr/

Every modification to devices have risks. Flash this at your own risk!

Have fun and enjoy! :)