A small tool to remove proprietary parts from CyanogenMod.
- Build or download a cwm-compatible, flashable zip file.
- Copy the zip file to the sdcard of your android device
- Boot your device into recovery.
- If not already done, install CyanogenMod as usual from recovery - DO NOT REBOOT
- Install freecyngn as if it was a rom, but DO NOT WIPE /system before
- 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.
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.
###Prerequisites
- busybox:
- smali/baksmali:
- update-binary:
- src: android source ( eg: https://github.com/CyanogenMod/android_bootable_recovery )
- bin: http://www.mediafire.com/download/k1gwn6rmbhc491w/update-binary
- noAnalytics:
###Instructions
- 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 - Create a flashable zip file using using the given updater-script
- In the newly created zip file, create a folder freecyngn on /
- Copy busybox binary, the three *-dvk.jar files and the *.sh files in the zips subfolder
- You're done
freecyngn is licensed under WTFPL, see LICENSE