[HTC Vivid, Raider, Velocity] albinoman887:
CyanogenMod 10.1.2 Jellybean 4.2.2 - KANG

CyanogenMod is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices. Features supported by CyanogenMod include native theming support, FLAC audio codec support, a large Access Point Name list, an OpenVPN client, an enhanced reboot menu, support for Wi-Fi, Bluetooth, and USB tethering, CPU overclocking and other performance enhancements, soft buttons and other "tablet tweaks", toggles in the notification pull-down (such as wi-fi, Bluetooth and GPS), app permissions management, as well as other interface enhancements. CyanogenMod does not contain spyware or bloatware. In many cases, CyanogenMod may increase performance and reliability compared with official firmware releases.

Source: CyanogenMod Wiki​

Screenshots

Installation Instructions

Requirements

* Rooted (obviously)

* A brain

Installation

1: If you are coming from another ROM do a full wipe

1a: if this is just an update to THIS ROM BASE you can simply wipe cache and dalvik cache

1b: if your device is S-ON you must flash your boot.img either with fastboot or some type of GUI program EVERY FLASH (google is your friend)

2: Flash gapps (download below)

3: Reboot

4: Enjoy CyanogenMod 10.1

Please read the whole post for changelog, Download links, and other important info

Updates:: First build since initial release, mainly cosmentic changes. although a couple important fixes. Anyways please take the time to read the whole post, as well as post #2

. As always: remember it takes a FULL charge from AC, and a full discharge then re charge batteryt to be accurate. Also leave it plugged in for up to an hour at 100%, Another thing i find helps battery life is to make custom auto-adjustment values if you use auto-brightness. Check below for full changelog Feedback always welcome Please read the Kernel section for more info and full config options for the kernel.

Albinoman887

Working

SMS/MMS

Wi-FI

Data

GPS

Audio

Radio

Camera

Google Now

Internal/External SD card

Bluetooth

H/W Accelerated Video Playback

Native Wi-Fi Tethering

1080p Video Recording

Not Working

????????????

Changelog

Aug-19

* Here is a test CM-10.2 build. please post your results. if they are good i will open a new thread...

Aug-6

* Synced with upstream

* Kernel updated to Linux 3.0.85

* One more go at the low mic in call issue

* Build is now on a new super fast server. i will still use goo.im due to the OTA update function but the new server will be the main download link

July-23

* Fixed a few rare graphical glitches (no not with Maps 7)

* Any and all upstream changes at time of compile

* Disabled Sweep2wake since it doesnt work (it does on pyramid and shooter so will revisit this bug one day)

July-15

* CM tagged 10.1.2 (security fixes)

* 2nd go at fixing sim card message

* Fixed torch turning off with screen

* Fixed soft reboots!!

* Enabled FauxSound

* General cleanup

* Any upstream updaes to CM at time of compile

July-2

* Fixed all the issues with the last release and black screen

* Really fixed video recording - NOTE!: if dirty flashing you must clear data and cache of Gallery app

* Kernel: Enabled mpdecision (I forgot)

* Fixed "SIM card inserted" message on boot

* Fixed issue where some people had to toggle airplane mode to get service

* General cleanup of code, seems more stable

* Kernel: Changed version string to ChronicKernel to conform with my pyramid/GS4/glacier kernels

* Added qcom-post-boot service to startup (was missing)

* Upstream CM Changes

June-30

* Fixed Low volume

* Fixed LED flashlight toggle not being selectable for notification drawer

* Fixed Video recording

* Fixed Dock options not showing in settings

* Fixed volume rocker wake not showing in settings

* Fixed issue with soft-reboots during heavy usage

* Added init script for configuring some kernel settings (GPU OC, fsync, etc) (located:/system/etc/init.d/99kernel)

* Set min CPU freq to 384mhz like on other msm8660 devices (192mhz is a buggy freq)

* Fixed big margins on homescreens with trebuchet after clean install

* Upstream CM changes

June-29 - initial build

notable changes since cm10

* Kernel: GPU drivers updated to jb-chocolate from CAF

* Kernel: Genlock updated to jb-chocolate from CAF

* Kernel: vidc updated to jb-chocolate from CAF

* Kernel compiled with linaro and -o3 optimizations

* Kernel: updated to Linux 3.0.80

* All issues from development builds squashed

Kernel

ChronicKernel

* Compiled with linaro

* Set flash to disable if battery is below 10% to prevent the random shut-off when taking a pic

* Removed/Disabled KSM

* Removed ZRAM

* User-configurable GPU OC (Not OC'd by default)

* Optimized and compiled with with the "Optimize a lot, or -o3 option)

* Added more I/O schedulers

* Tweaked voltages a bit

* Reverted CRT hack to smooth animation in Android 4.2.2

* Increased PMEM_MDP as it is needed in Android 4.2.2 to fix soft-reboots

* PM_FAST enabled by default (high power wi-fi when screen is off)

These settings were changed by me to help make the kernel more stable with our ROM, observed with tests by me. If you want more features of the Sultan kernel feel free to flash it, but support will not be provided in this thread.

Other Features of the kernel include:

* OC to 1866Mhtz (default 1566Mhtz)

* Undervolted

* User-configurable CPU OC

* User-configurable CPU default governor (ondemand = default)

* User-configurable I/O scheduler (default = SIO)

* User-configurable badass gonvernor (default = balanced)

* Sweep2Wake

You can edit many of the settings in /system/etc/init.d/99kernel, here is a snippet of the script with all the config options

Kernel init script: Click Show Content to expand

#Script originally made by Axetilen. Modified by Sultan (android1234567)
#Updated for albinoman887's ChronicKernel (98% of the credit goes to android1234567. Thanks so much man :)

# Configure your options here #

# Config default CPU Gonvernor (Disabled by default: When disabled uses internal Kernel setting)
# For better battery life switch to badass
# Kernel Default: ondemand
# Possible values
# badass
# ondemand
# interactive
#= lagfee
# performance
GOV=ondemand;

# Config I/O scheduler
# deadline
# cfq
# noop
# vr
# sio (default)
IO=sio;

# Config CPU max frequency
# Default: 1566000 (1566Mhtz)
# Overclockable to - 1836000 (1836Mhtz)
# for badass set to 1566mhtz (best performance/battery life)
MAXFREQ=1566000;

# Config CPU min frequency
# Default: 384000 (384Mhtz)
# Range 384000 - 1944000 (384Mhtz - 1944Mhtz)
MINFREQ=384000;

# Config 3D GPU clock
# 228571000 = 228mhz
# 266667000 = 267mhz (default)
# 300000000 = 300mhz (Recomended For balance of Performance and Battery life)
# 320000000 = 320mhz
GPU=266667000;

# Config 2D GPU clock
# 145455000 = 145mhz
# 160000000 = 160mhz
# 200000000 = 200mhz (default)
# 228571000 = 228mhz (Recomended For balance of Performance and Battery life)
# 266667000 = 267mhz
DD=200000000;

# Badass
# possible values
# 1 = performance
# 2 = balanced
# 3 = battery saving
BADASS=2

# Enable Sweep2Wake
# 0 = disabled (default)
# 1 = enabled
# 2 = enabled (with no button backlight during sweep)
SWEEP=0

# Enable Fastcharge
# 0 = disabled
# 1 = substitute AC to USB charging always
# 2 = substitute AC to USB charging only if there is no USB peripheral detected
FASTCHARGE=0;

# Fsync Control
# Disabled by default (recomended)
# 2 = Fsync disabled
# 1 = Fsync enabled
FSYNC=2;

# TUN
# Disabled by default
# 0 = Disabled
# 1 = Enabled
TUN=0

# End of configurable options #

Please note this is not the full script just a small portion, Check /system/etc/init.d/99kernel for the full script

Bugs

* MHL doesn't work

* Sweep2wake sometimes causes issues with the proximity sensor during calls

Notes

Most vivid users are S-ON, if you don't know what this is you are. This means you must flash the boot.img EVERY FLASH either with fastboot or similar, if you fail to do this you WILL have problems, including broken wifi and instability

* As of Feb-19 CyanognMod changed the way the reboot menu works. To enable the "Advanced Reboot" menu with recovery and bootloader go to Settings>Developer Options and Check Advanced Reboot

* As of AOSP 4.2.2 ADB now has a whitelist feature. On first connect with adb it will say device offline You need to update your ADB then with the phone connected. Disable and Re-Enable Android Debugging in the Developer Options menu. It will ask if you want to accept and show the PC's RSA key. Select Yes and it will now work as expected

* If your homescreen does not look right (big margins) go to System Settings>Launcher>homescreen[/B] click Stretch screens. Then choose grid size and set rows to 5.

* As of AOSP 4.2.1 Developer Options and Performance setting menu options are hidden until you go into about phone and tap build number repeatedly (aprox. 6 times) this only needs to be done once

* If you are having a lot of soft reboots when waking the device set you min CPU freq. to 384htz in Performance settings. (What? no Performance settings? ummm look up hehe)

* If you are coming from another ROM i highly recommend you perform and Wipe Date/Factory Reset in recovery menu when applying this ROM.

* The gapps linked to does not have photosphere. As far as i know it's not supposed to. If you want photophere search for the flashable zip

* If you can't get MMS to work. Send yourself a MMS. or just wait a day. eventually they will work again

* For the best battery life I suggest the stock settings with the exception of the ONDEMAND governor. Switching to BADASS will yield best battery results

DOWNLOAD

ROM : cm-10.1-20130806-Albinoman887-holiday.zip

Gapps : gapps-jb-20130301-signed.zip

Goo.im Repo : CLICK HERE

* This ROM can also be downloaded directly with GooManager *

Source Code

Team Hydra Github (main): https://github.com/Team-Hydra

CyanogenMod Github: https://github.com/CyanogenMod

Credits

* android1234567 for getting this porting project going, it was a joint effort between us to get this going

* billibox for his relentless testing

* of course cyanogen, the CyanogenMod project and all who contribute.

* Bruce2728 for doing all the leg-work originally to get get CM-10 on our Sensation, most of which was used for CM-10.1

* Evervolv Team for their device tree. This was largely what was needed to get the build going.

* mikez for all his work on the Evervolv/pyramid tree.

* NLJ for making the diff patch of Evervolv's frameworks_av repo to get camera working

* jiggs82 for all his helpful hints.

* And any and all users in this thread who contirbuted or will contribute to making this ROM as stable as possible

* dastin1015 for answering all my n00bish questions, and providing helpful hints and solutions

* android1234567 for all the help with the kernel, without you we wouldn't have new kernel

* tarfu for fixing camera p2z

* blahb14hblah for his hint to the extra scrolling tweak in frameworks/base

* NLJ for fixing the Sweep2Wake proximity sensor issue

* Skipjacks for maintaining the Q&A thread

* A bunch of thanks to arco, for all his updates to our kernel, our display libs, our media libs, and for fixing the video playback glitching, and for being a good friend and dev mentor.

Donations

I really didn't want to do this but people keep asking so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means :)

Note: The name on the paypal account may say patricia, this is because it's a family paypal account. :)

For more information, like kernel info (and possibly newer kernel builds) from our kernel chef android1234567 read the 2nd post

Happy Flashing

Albinoman887