Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,702 Members 45,378 Now Online
XDA Developers Android and Mobile Development Forum

[ROM][4.2.2][05/11/13]aokpX-d2tmo[JDQ39E]

Tip us?
 
Synthetic.Nightmare
Old
(Last edited by Synthetic.Nightmare; 11th May 2013 at 09:02 PM.)
#1  
Synthetic.Nightmare's Avatar
Recognized Developer - OP
Thanks Meter 1,202
Posts: 906
Join Date: Mar 2011
Location: San Marcos, Texas
Default [ROM][4.2.2][05/11/13]aokpX-d2tmo[JDQ39E]

eXistZ & Team Inferno present...


AOKPX is an open-source project based off of aokp; started by existz, with goals of simplicity, smoothness and optimization.

Updates are dependent on things such as time between builds, changes between builds, time I have available, etc. I'll usually let everyone have a bit of time to let the rom settle in before pushing an update.

Rules:
-Don't ask for ETA's please
-Don't be a jerk to other users in my thread (we were all newbies once)
-Until notified otherwise, this is a work in progress; what you see is what you get
-We are not responsible for anything you decide to do to your own device... you have been warned
-As long as everyone is being helpful and efforts are being made to properly debug; I could care less about some of the topics going on in this thread. I find android a lot more enjoyable to work on when I'm not nagging you constantly to post in another thread.

Features:
-Based off of aokp jb-mr1 source code
-Compiled from existz' aokpx source (linked below)
-Patches, optimizations, and updates from Linaro, CodeAurora and CM (and more!)
-ODEXED for speed (many ways to deodex if you want to decompile anything for any reason)
-Compiled with AOSP gcc-4.7 toolchain using recent OpenJDK builds, compiled locally (jdk7u-dev source: http://hg.openjdk.java.net/jdk7u/jdk7u-dev)
*Current OpenJDK Build: https://github.com/aokpx/platform_prebuilts_openjdk
-Custom 3.4.x Cyanogenmod-based Harkness kernel (jb-mr1 source)
Kernel Features:
*Faux-Sound ready
*Fast-charge support
*Enhanced thermal control for krait CPU's by _motley (tunable; /sys/module/msm_thermal)
*Autohotplug by Thalamus and enhanced by _motley (tunable; /sys/module/auto_hotplug)
*Slightly enhanced interactive governor; works with autohotplug boostpulse & input_boost_freq userspace tunable
*Configurable color temp.
*Userspace voltage control
*HAVE_EFFICIENT_UNALIGNED_ACCESS enabled; w/ optimizations beneficial to LZO decompression
*Patches/Tweaks from around XDA (from upstream CM, around the d2 sections and other krait device(s)
*(see source)
Bugs:
-Creating stations (Pandora)
-All the things in aokp

Read here to find out about getting logs. (Logs are needed if you want to be helped properly).

Installation:
-Initiate Backup (Recommended)
-Wipe Data and Caches
-Install rom (download list)
-Install gapps (20130301)
-Reboot
-Update Google Search if you plan on using voice commands/Google Now

Download (current): aokpX
MD5 ebd0970d743da825a8bc12b7297383bc

Source:
https://github.com/aokpX
https://github.com/SyNtheticNightmar3

Credits & Thanks:
AOKP(aokp.co)
existz(donate)
CodeAurora
Linaro
CyanogenMod
ChameleonOS (ChaOS)
0xD34D
LiquidSmooth
Team Inferno
faux123
Ktoonsez
Kernel.org
Imoseyon
_motley
showp1984
f1vefour
franciscofranco
intersectRaven
TeamBAKED
SlimRoms
loosethisskin
anyone I may have forgotten :/
and XDA.
The Following 23 Users Say Thank You to Synthetic.Nightmare For This Useful Post: [ Click to Expand ]
 
Synthetic.Nightmare
Old
(Last edited by Synthetic.Nightmare; 11th May 2013 at 08:24 PM.)
#2  
Synthetic.Nightmare's Avatar
Recognized Developer - OP
Thanks Meter 1,202
Posts: 906
Join Date: Mar 2011
Location: San Marcos, Texas
Changelogs:

Current Changelog:
Code:
aokpX build: May-11-13
[kernel_samsung_d2]
  •Merge branch 'cm-10.1' of github.com:CyanogenMod/android_kernel_samsung_d2 into jb-mr1
  •Revert "arm: mm: Add VM_ARM_EMPTY_MAPPING flag to mark the PMD gaps"
  •Revert "ASoC: msm: Support independent left-right channel volume control"
  •ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+ commit a76d7bd96d65fa5119adba97e1b58d95f2e78829 upstream.
  •d2: Raise MDP bandwidth requirements
  •Revert "hrtimer: Consider preemption when migrating hrtimer cpu_bases"
  •Revert "hrtimer: Prevent enqueue of hrtimer on dead CPU"
  •sched: Reset rq->next_interval before going idle
  •kernel: Mark find_task_by_vpid with EXPORT_SYMBOL_GPL
  •sched: Mark schedule_io_timeout() with EXPORT_SYMBOL
  •sched: Fix SCHED_HRTICK bug leading to late preemption of tasks
  •block: urgent: Fix dispatching of URGENT mechanism
  •Merge tag 'AU_LINUX_ANDROID_JB_2.5.04.02.02.040.292' of git://codeaurora.org/kernel/msm into cm-10.1

[packages_apps_Camera]
  •Revert all recent changes to preview orientation handling
  •Camera: Add supportsOrientationResizePreview configuration
  •camera: Clean up code for restarting the preview
  •Camera: Updated czech translation
  •camera: Fix hang when changing picture size
  •camera: Fix camera storage location

[packages_apps_Gallery2]
  •Add storage selection (2/2)

[platform_packages_apps_Launcher2]
  •SmoothPagedView: tweak DEFAULT_TENSION value
  •Revert changes I73d4fb85,Ie1458920 from CAF merge
  •Launcher: Optimize LauncherModel loading + speed tweaks
  •Launcher2: disable FadingEdge for Text Labels in Hotseat Icons
  •Merge branch 'jb_3.2.1_rb1' of git://codeaurora.org/platform/packages/apps/Launcher2 into jb-mr1

[platform_packages_apps_ROMControl]
  •Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
  •RC: Ribbons - Toggles
  •RC: Updated czech translation
  •Merge "RC: Ribbons - Long swipe App window." into jb-mr1
  •Merge "Catalan translations from crowdin.net" into jb-mr1

[platform_packages_apps_Phone]
  •Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
  •Default back to LTE/WCDMA/GSM if supported

[platform_packages_apps_Browser]
  •[Browser] Enable audio permissions in manifest for WebAudio

[platform_manifest]
  •manifest: track local Camera
  •manifest: Track local external/unrar
  •manifest: Track local zlib based off upstream
  •manifest: Track local kissfft
  •manifest: Track local Browser

[platform_device_samsung_msm8960-common]
  •Merge branch 'cm-10.1' of github.com:CyanogenMod/android_device_samsung_msm8960-common into jb-mr1
  •msm8960: Fix writing of bytes to param partition

[platform_device_samsung_qcom-common]
  •qcom-common: Use ondemand governor in recovery
  •qcom-common: Set power modes in recovery

[platform_vendor_aokp]
  •Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
  •Merge "Add CellBroadcastReceiver" into jb-mr1
  •common: Add prebuilt extract tool
  •respect $OUT_DIR_COMMON_BASE with squisher

[platform_prebuilts_openjdk]
  •OpenJDK: Update to jdk7u40-b24 from http://hg.openjdk.java.net/jdk7u/jdk7u-dev

[platform_external_webkit]
  •[webkit] WebAudio resources on Android
  •[WebKit] WebAudio on Android
  •Merge ~150 WebAudio related commits from WebKit tip to Android WebKit

[platform_external_unrar]
  •Initial import of unrar v3.93 for Android

[external_jbirdvegas_mGerrit]
  •Merge "mGerrit Changes (Layout + Formatting)"
  •mGerrit Changes (Layout + Formatting)
  •Merge "Initial korean translation"
  •Initial korean translation
  •Catalan translations from crowdin.net

[platform_hardware_qcom_audio-caf]
  •audio/msm7x30: #ifdef teh things
  •Revert "audio/8655: Enabling LPA playback by adding AudioSessionOutLPA class"
  •audio/msm7x30: fix a crash on audio initialize
  •audio/msm7x30: Change fallback route to speaker
  •audio/msm7x30: fix voice volume on first call
  •audio/msm7x30: set mRecordState in AudioInputStreamMSM72xx::set
  •audio/msm7x30: device enum debug
  •audio/msm7x30: perform null checks when calling libhtc_acoustic functions
  •audio/msm7x30: port forwarding HTC code from gb

[platform_hardware_qcom_display-caf]
  •Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_hardware_qcom_display-caf into jb-mr1
  •hwc: Only enable vsync delay logging for debug builds
  •gralloc: Backward compat for devices using older camera heap
  •Revert "gralloc: Cleanup usage of old API"
  •Merge tag 'AU_LINUX_ANDROID_JB_2.5.04.02.02.040.295' of git://codeaurora.org/platform/hardware/qcom/display into cm-10.1
  •Merge "Fix crash issue arising out of multiple hdmi connect/disconnects"
  •Merge "libcopybit: Fix GPU page fault on c2d use"
  •Merge "libexternal: Add support for SPD Information"
  •Merge "hwc: Do not include Framebuffer area in calculating total area"

[platform_system_core]
  •Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
  •libpixelflinger: Apply expensive-optimizations to cflags
  •libpixelflinger: Enable CLZ instruction generation

[platform_frameworks_native]
  •opengl: Enable -flto and -ffast-math
  •libagl: Enable CLZ instruction generation for TextureObjectManager
  •Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_frameworks_native into jb-mr1

[platform_frameworks_av]
  •Support MPEG4 codec in Matroska files

[platform_frameworks_base]
  •Merge remote-tracking branch 'old/jb-mr1' into HEAD
  •Fix WirelessADB Toggle & build
  •Revert "Can not mark the same content of browser page after copy"
  •SystemUI: WirelessADB Toggle
  •Can not mark the same content of browser page after copy
  •Fix NPE when pasting non-text from Clipboard
  •FW: Ribbon - Toggles
  •FIX Null Pointer Exception on dialog cancel
  •FW: Updated czech translation
  •FW: include newest sounds first
  •FW: Ribbons - Long swipe App window.

[platform_dalvik]
  •Fix some leaks in VfyBasicBlock & BitVector.

[platform_build]
  •cout: move to $out
  •envsetup: use $(CURDIR) for getting current directory
All Compacted Changelogs:
http://pastebin.com/raw.php?i=8QTRp9FB

Kernel Info:

Thermal Throttling and Hotplug Control
Warning: these do not have to be changed from the defaults and could potentially be dangerous if you make a mistake. For those that know what they are doing and want to experiment with settings, scripts etc. please report back your findings.

To adjust sysfs values through terminal, use:
Code:
echo value > path/to/file
A lot of these tunables are exposed and compatible with Trickster MOD; if you want an app that can easily adjust these sysfs values via user-friendly interface.

msm_thermal:

Throttle temp in C. Default is 70, valid range is 45 to 80 (recommend to not go over 75):
Code:
/sys/module/msm_thermal/parameters/throttle_temp
Minimum freq used in throttle down before returning to max, default is 7 = 1.13GHz. Range is 4 to 8 (810Mhz to 1.24GHz)
This is the index in the frequency table as seen in Trickster MOD, System Tuner etc. It is zero based (i.e. 304MHz is zero).
Code:
/sys/module/msm_thermal/parameters/min_freq_index
Turn on thermal debugging so you can see what is happening in the kernel log:
Code:
/sys/module/msm_thermal/parameters/thermal_debug
auto_hotplug:
Load based hotplugging parameters. _motley has taken _thalamus' base (thanks!) and exposed most of the tuning parameters to userspace.

Turn off/on hot_plug debugging Y/N, default N, this spams the kernel log like crazy, turn on only when troubleshooting/testing
Code:
/sys/module/auto_hotplug/parameters/debug
Load at which a CPU is taken offline, 40-125, default 80:
Code:
/sys/module/auto_hotplug/parameters/disable_load_threshold
Load at which an extra CPU is put online, 130-250, default 200:
Code:
/sys/module/auto_hotplug/parameters/enable_load_threshold
[NOTE: this is a no-op for us, since we only have 2 cores to use, anyway; enable load threshold is good enough]
Load at which all CPU's are enabled, 270-550, default is 200 (or 100 x number of cores):
Code:
/sys/module/auto_hotplug/parameters/enable_all_load_threshold
Sample rate in milliseconds, converted to jiffies at runtime, 10-50ms, default 20:
Code:
/sys/module/auto_hotplug/parameters/min_sampling_rate
Number of samples in the circular buffer, 5-50, default 10 (more samples = less aggressive; less samples = more aggressive):
Code:
/sys/module/auto_hotplug/parameters/sampling_periods
Maximum number of cores online (regardless of load) when screen is on, 1-2, default 2 (tune down for battery savings):
Code:
/sys/module/auto_hotplug/parameters/max_online_cpus
Minimum number of cores online (regardless of load) when screen is on, 1-2, default 1 (tune up for performance/bench-marking):
Code:
/sys/module/auto_hotplug/parameters/min_online_cpus
Why are the base voltage tables different on some phones

What CPU do you have? Nominal, Fast, Faster ...or Slow

The phones with the lower default voltage values use the "fast" or "faster" frequency table, consider yourself lucky. This explains why some can't UV as much as others since they are starting with lower mV's to start. These are built in factory tolerances that depend upon the binning of your chip. Hopefully folks don't go freaking out because they have a nominal chip like I do. It's probably good for a dev to have a nominal chip so we can better honor the limits.

http://en.wikipedia.org/wiki/Product_binning

How do I tell what I have?
If you boot up your phone fresh and look at the dmesg output (kernel log) while the messages are still there, you will find one of the following output messages where it selects it's frequency plan depending on the binning of the chip.

Code:
adb shell dmesg | grep PVS
(acpuclk-krait in our kernel defines PVS as id numbers)

acpuclk-8960: ACPU PVS: 0 = Slow
-or-
acpuclk-8960: ACPU PVS: 1 = Nominal
-or-
acpuclk-8960: ACPU PVS: 3 = Fast
-or-
acpuclk-8960: ACPU PVS: 4 = Faster

- thanks to _motley for this awesome write-up on his kernel/kernel features... and for providing explicit detail on his works
The Following 2 Users Say Thank You to Synthetic.Nightmare For This Useful Post: [ Click to Expand ]
 
critofur
Old
(Last edited by critofur; 30th January 2013 at 01:00 AM.)
#3  
critofur's Avatar
Senior Member
Thanks Meter 35
Posts: 307
Join Date: Jan 2011
Location: NYC/Tokyo

 
DONATE TO ME
They call me JAM because YOU'RE jelly, bro (there's that one dude that seems to always put the first post with his silly tag about why they call him jelly :P )

EDIT: So, your description is pretty brief - does this ROM have working tether? Could you put a link in the OP to an option for inverted apps? Which camera(s) it come with? Are there a bunch of features you're leaving off the list? What makes THIS ROM better than the others? And last but not least, thanks for all your hard work!
 
mikeyinid
Old
#4  
mikeyinid's Avatar
Senior Member
Thanks Meter 2,489
Posts: 6,830
Join Date: Sep 2010
Location: Nampa
Default Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo

List of features that separate it from official aokp?

Sent from my SGH-T999 using xda premium
Follow me on Twitter @mikeyinid
 
J-ROCK
Old
#5  
Senior Member
Thanks Meter 44
Posts: 215
Join Date: Mar 2008
Location: windermere
Default Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo

Loved Existz work for the Inspire4g. Great dev

Sent from my NookColor using xda premium
The Following 2 Users Say Thank You to J-ROCK For This Useful Post: [ Click to Expand ]
 
Synthetic.Nightmare
Old
(Last edited by Synthetic.Nightmare; 30th January 2013 at 01:24 AM.)
#6  
Synthetic.Nightmare's Avatar
Recognized Developer - OP
Thanks Meter 1,202
Posts: 906
Join Date: Mar 2011
Location: San Marcos, Texas
Quote:
Originally Posted by critofur View Post
They call me JAM because YOU'RE jelly, bro (there's that one dude that seems to always put the first post with his silly tag about why they call him jelly :P )

EDIT: So, your description is pretty brief - does this ROM have working tether? Could you put a link in the OP to an option for inverted apps? Which camera(s) it come with? Are there a bunch of features you're leaving off the list? What makes THIS ROM better than the others? And last but not least, thanks for all your hard work!
It's heavily based on aokp and was mainly used as a quick setup for existz. I built it for myself, pulled in some more patches from CAF to the kernel and other places (hardware/qcom) and once I was satisfied with it, I thought I would share. So, essentially most things in aokp should be here too... Nothing all that special yet as existz has been too busy to even provide user support and I'm still settling into my new home. I'd work more on things that were broken (a2dp in paticular) but my car got broken into on new years eve and my method of testing that was stolen :/ but it seems it was fixed upstream; though as I said, I can't test that anymore . It comes with the stock aokp camera and sure I can look up a link some time for those inverted gapps lol.

Quote:
Originally Posted by mikeyinid View Post
List of features that separate it from official aokp?

Sent from my SGH-T999 using xda premium
Optimizations/patches from CodeAurora and Linaro. Custom kernel built from my repository linked above. Anything else existz might have done to it before I was asked to help maintain.
 
mikeyinid
Old
#7  
mikeyinid's Avatar
Senior Member
Thanks Meter 2,489
Posts: 6,830
Join Date: Sep 2010
Location: Nampa
Default Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo

Quote:
Originally Posted by Synthetic.Nightmare View Post
It's heavily based on aokp and was mainly used as a quick setup for existz. I built it for myself, pulled in some more patches from CAF to the kernel and other places (hardware/qcom) and once I was satisfied with it, I thought I would share. So, essentially most things in aokp should be here too... Nothing all that special yet as existz has been too busy to even provide user support and I'm still settling into my new home. I'd work more on things that were broken (a2dp in paticular) but my car got broken into on new years eve and my method of testing that was stolen :/ but it seems it was fixed upstream; though as I said, I can't test that anymore . It comes with the stock aokp camera and sure I can look up a link some time for those inverted gapps lol.



Optimizations from CodeAurora and Linaro. Custom kernel built from my repository linked above. Anything else existz might have done to it before I was asked to help maintain.
Sounds good. AOKP with behind the scenes stuff. Can't go wrong there. Thanks for sharing :thumbup:

Sent from my SGH-T999 using xda premium
Follow me on Twitter @mikeyinid
 
Ksunnyv1011
Old
#8  
Ksunnyv1011's Avatar
Senior Member
Thanks Meter 62
Posts: 413
Join Date: Dec 2008
Location: Boston
Default Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo

Used your ROM on my my touch 4G for the longest time Synthetic! Glad to see you here!

Sent from my Galaxy Nexus using xda premium

If I've helped you in any possible way, Make sure you hit Thanks!
The Following 2 Users Say Thank You to Ksunnyv1011 For This Useful Post: [ Click to Expand ]
 
mana4.com
Old
#9  
Senior Member
Thanks Meter 29
Posts: 158
Join Date: Mar 2011
Is tethering work on this rom ?

Thank you
 
saranhai
Old
#10  
saranhai's Avatar
Recognized Contributor / Developer
Thanks Meter 3,330
Posts: 4,881
Join Date: Mar 2011
Location: Nowhere

 
DONATE TO ME
reserved for me! :P

great job Syn!!
New Member Guide - Getting the most out of XDA | Don't like what i said? Read this | Forum Rules

Facebook | Twitter | Google+




-Team Inferno-

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes