Skip to content
r3d4 edited this page Mar 30, 2012 · 11 revisions

Info

This is CyanogenMod7 for Samsung Nowpus (GT-I8320). Its based on h1droid project with modifications for CM7. For this build you also need to build the modified kernel. Big thanks goes to mephisto the former of h1dorid project. He did the great job of hacking the initial kernel for the Samsung Nowplus. And of course thanks to ius who was the first person started hacking the h1 and did a great job on reversing the h1 baseband.

Current status

What is working

  • hardware keys
  • LCD
  • touchscreen
  • sound
  • battery driver
  • 3D opengl acceleration
  • 2D acceleration, video overlay
  • MMC
  • eMMC (16GB)
  • OneNAND read/write (MTD)
  • dpram & multipdp
  • vibrator
  • accelerometer
  • LED
  • wifi
  • bluetooth
  • DSP
  • RTC
  • proximity
  • FM radio
  • Camera still image capture(front&back)
  • Video recording (slow, audio issues)
  • Torch
  • Phone
  • GPS
  • 3G

What is not working

  • bluetooth a2dp
  • automatic backlight (light sensor)
  • System time get lost after reboot
  • maybe more ...

How to build CM7

Get source

mkdir cm7  
cd cm7  
repo init -u git://github.com/r3d4/android.git -b gingerbread  
repo sync

Apply patches

There are some patches for small changes/fixes in CyanogenMod. Following patches are in the patch folder and must be applied to the rigth places bevore build.

  • external_bluetooth_bluez.diff - fix bluetooth
  • packages_apps_Gallery3D.diff - always use fullscreen video playback, hack needed for overlay transparency
  • system_core.diff - allow bind mount in init.rc scripts, normally not needed
  • frameworks_base_media_libstagefright.diff - fix wrong colors on video recording

Compile

Remove all products from vendor/cyanogen/products/AndroidProducts.mk

. build/envsetup.sh  
lunch nowplus-eng  
make -j2  

This build is based on CM7 nightly so maybe you have to fix some compile issues.

How to build kernel

Setup crosscompiler get this kernel source and compile. A good detailed reference on how to build is given on the h1droid page.