Skip to content

R-N/android_cyanmobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CyanMobile

Submitting Patches

Patches are always welcome!

Getting Started

To get started with Android/CyanMobile, you'll need to get familiar with Git and Repo.

To initialize your local repository using the CyanMobile tree, use a command like this:

repo init -u git://github.com/CyanMobile/android_cyanmobile.git -b gingerbread

Then to sync up:

repo sync

For more information on this Github Organization and what features are included in it, please Read the Definitions

Building CyanMobile rom for your device

Add the Following two lines into the init.rc or init.{DEVICE}.rc of your Device Config

  1. setprop ro.squadzone.build 1
  2. setprop persist.sys.gmaps_hack 1
  3. Now Add These Lines to your System.prop { Build.prop }


    • debug.composition.type=gpu
    • persist.sys.composition.type=gpu
    • persist.sys.ui.hw=true
    • dalvik.vm.lockprof.threshold=500
    • dalvik.vm.dexopt-flags=m=y
    • dalvik.vm.heapsize=32m
    • dalvik.vm.execution-mode=int:jit
    • dalvik.vm.dexopt-data-only=1
    • ro.config.hw_menu_unlockscreen=false
    • ro.service.swiqi.supported=true
    • debug.sf.hw=1

    NOTE: only add this to build.prop if you want to see screen off animation, also need to enable screenoff animation in framework-res

    • debug.sf.electron_frames=12 //value can change to whatever your device can handle total max frame (max 24 frame)
    ************************************************************

    "Make sure your device's kernel supports :

    • KSM
    • Cleancache
    • Frontswap

    And Your Kernel Should Also Support all Six I/O Schedulers For Get All Functions Working Fine i.e :

    • Deadline
    • NOOP
    • SIO
    • BFQ
    • CFQ
    • VR

    See device/samsung/tass and vendor/cyanogen/products for preparation of what's needed to build a full ROM and make it for your device....

    Extra Notes : Your overlay must be the same with this Example Device

    • If your device is [ldpi], see device/samsung/tass/overlay
    • Else if your device is [mdpi], see device/samsung/gio/overlay
    • Else if your device is [hdpi], see device/zte/blade/overlay
    And if you need to add another xml into overlay,Make sure the default overlay is untouched :) If you still can't manage to build, let me help you, Just Make Issue and Tag us ! Or Hang With us on Our Official Freenode Channel on #CyanMobileX

    DO NOT USE recovery.img AFTER BUILDING THIS ;)

    • Hang with us on Our Official IRC Channel on Freenode on #CyanMobileX

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%