====== Clean install of CyanogenMod ======
===== Information =====
==== Phone model name / information ====
* Consumer product name : Samsung Galaxy Note II (AT&T / LTE)
* Some other identifier : SAMSUNG-SGH-I317
* Yet another identifier : t0lteatt
==== Helpful links ====
* http://forum.xda-developers.com/showthread.php?t=1980644
* http://forum.xda-developers.com/showthread.php?t=878686
* CF-Auto-Root: http://forum.xda-developers.com/showthread.php?t=1980683
===== Preparation =====
==== Downloads ====
* CyanogenMod : http://download.cyanogenmod.org/?device=t0lteatt
* Heimdall : http://glassechidna.com.au/heimdall/
* Google Apps : http://goo.im/gapps
==== Build Heimdall ====
* Prerequisite packages: libusb-1.0-0-dev
* Fix Heimdall/heimdall/Makefile: "DEPS_CFLAGS = -I../libusbx-1.0/include"
git clone 'https://github.com/Benjamin-Dobell/Heimdall.git'
cd Heimdall/libpit && ./configure && make
cd ../heimdall && ./configure && make
cd ../heimdall-frontend && qmake-qt4 && make
===== Installation =====
==== Rooting the phone and installing CyanogenMod / Google Apps ====
- put phone in download mode
- heimdall flash --recovery --cache
- install ClockworkMod ROM Manager APK
- back up EFS
- back up ROM with ClockworkMod/Nandroid
- copy CyanogenMod / GApps zips to phone
- http://forum.xda-developers.com/showthread.php?p=36873319
- install CM archive
- install GApps archive
- "wipe data/factory reset"
- reboot
===== Post-install setup/hardening =====
==== Built-in functionality ====
* Disable automatic personal data synchronization to Google
* Settings -> Data usage -> [Menu] -> Auto-sync data
* Settings -> Accounts -> Google
* Adjust privacy settings
* Enable CyanogenMod privacy guard
* Settings -> Security -> Privacy Guard
* Turn on "Enabled by default"
* [Menu] -> "Show built-in apps"
* Adjust privacy settings
==== Third-party applications ====
* Install Xposed APK
* Install XPrivacy APK