Skip to content
forked from nvllsvm/freecyngn

A small tool to remove proprietary parts from Cyanogenmod 10 and newer

License

Notifications You must be signed in to change notification settings

bastei/freecyngn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freecyngn

A small tool to remove proprietary parts from CyanogenMod.

Usage

  1. Build or download a cwm-compatible, flashable zip file.
  2. Copy the zip file to the sdcard of your android device
  3. Boot your device into recovery.
  4. If not already done, install CyanogenMod as usual from recovery - DO NOT REBOOT
  5. Install freecyngn as if it was a rom, but DO NOT WIPE /system before
  6. Make sure there is no error output in /system/freecyngn/log

Note: If you update CyanogenMod, freecyngn is automatically applied if it was before. However make sure to regularly check for freecyngn updates, as CM may change some things.

How it works

freecyngn disassembles (using [bak]smali) the CyanogenMod settings app and removes the proprietary Google Analytics component. It then replaces it with NoAnalytics, so that existing bindings from cmstats do not break and reassembles the settings app.

freecyngn also removes CMAccount and Voice+ which either contain or require proprietary components of Google.

Building

###Prerequisites

###Instructions

  1. Create dexed versions of smali.jar, baksmali.jar and noAnalytics.jar by calling dx --dex --output=file-dvk.jar file.jar for each of those files
  2. Create a flashable zip file using using the given updater-script
  3. In the newly created zip file, create a folder freecyngn on /
  4. Copy busybox binary, the three *-dvk.jar files and the *.sh files in the zips subfolder
  5. You're done

License

freecyngn is licensed under WTFPL, see LICENSE

About

A small tool to remove proprietary parts from Cyanogenmod 10 and newer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%