Tegra 4 overclocking - Android General

Hi there,
I'm kinda new to the kernel stuff. I've managed to add frequencies to the DVFS tables. I then build the new kernel, flashed it. All went well.
The problem is I can see the new frequencies and the file named : scaling_available frequencies and the cpuinfo_max_freq is set for the new frequencies.
When I try to apply one of those frequencies it cap to the "max stock" frequency. When I check the file Policy_max_freq it is my "Max Stock" frequency. I tired to edit that file doesn't work.
So is there something I did wrong, something I must also edit to enable the new frequencies to be used !?
Kobo arc 10HD with tegra T40S
Any idea !?

OK I've found that there was a module named cpu_tegra whic has a file named cpu_user_cap which was at 181500. I changed that value for 2014500 and then the policy_max changed for 2014500 but I can't still change the scaling_max_speed. Any idea lol !?

Hello, you might want to take a look at a certain github repository commits and observe as they overclock a tegra 4 (T40T variant) to about 2.55 GHz (not that I would suggest clocking to this frequency). Sadly I cannot post the github link because there is some restriction blocking me. You will need to search github for "kernel-roth" or something of that nature and observe the commits. I am too busy to check this out for you, and I hope this helps.
If you please, I would like you to report back if you are successful with the T40S variant of the tegra 4.
https:// github.com/coolbho3k/kernel-roth/commits/master

Overclocking from 1.8GHz and beyond
Hi, I happen to have the same device as you and have successfully clocked it up to 2GHz up from 1.8GHz. I had some time to observe what was going on in the code and it seems that your problem is that you are attempting to jump to a frequency that exceeds the base limits set on the cpu clocks (default is a 2GHz limit).
It also seems that you may not be adding the frequencies to the table correctly because you should have been able to at least reach 1.989 GHz if you tried to jump to 2014500 kHz with the 2GHz limit.
Notice on kernel boot you get the following output:
Code:
<6>[ 0.000000] Tegra11: CPU Speedo ID 1, Soc Speedo ID 0
<6>[ 0.000000] Tegra11: CPU Speedo Value 1760, Soc Speedo Value 1199
<6>[ 0.000000] Tegra Revision: A02 SKU: 0x5 CPU Process: 1 Core Process: 1
<6>[ 0.000000] tegra: PLLP fixed rate: 408000000
<6>[ 0.000000] Lowering cpu_lp maximum rate from 816000000 to 696000000
<6>[ 0.000000] Lowering sbus maximum rate from 384000000 to 336000000
<6>[ 0.000000] Lowering vi maximum rate from 425000000 to 408000000
<6>[ 0.000000] Lowering 2d maximum rate from 700000000 to 600000000
<6>[ 0.000000] Lowering 3d maximum rate from 700000000 to 600000000
<6>[ 0.000000] Lowering epp maximum rate from 700000000 to 600000000
<6>[ 0.000000] Lowering msenc maximum rate from 600000000 to 408000000
<6>[ 0.000000] Lowering se maximum rate from 600000000 to 408000000
<6>[ 0.000000] Lowering tsec maximum rate from 600000000 to 408000000
<6>[ 0.000000] Lowering vde maximum rate from 600000000 to 408000000
<6>[ 0.000000] Lowering host1x maximum rate from 384000000 to 336000000
<6>[ 0.000000] Lowering pll_c maximum rate from 1400000000 to 1066000000
<6>[ 0.000000] Lowering pll_c2 maximum rate from 1200000000 to 1066000000
<6>[ 0.000000] Lowering pll_c3 maximum rate from 1200000000 to 1066000000
<6>[ 0.000000] Lowering sdmmc1 maximum rate from 208000000 to 156000000
<6>[ 0.000000] Lowering sdmmc3 maximum rate from 208000000 to 156000000
<6>[ 0.000000] Lowering sdmmc4 maximum rate from 200000000 to 156000000
<6>[ 0.000000] Lowering xusb_falcon_src maximum rate from 350000000 to 336000000
<6>[ 0.000000] Lowering xusb_host_src maximum rate from 120000000 to 112000000
<6>[ 0.000000] Lowering xusb_dev_src maximum rate from 120000000 to 112000000
<6>[ 0.000000] Lowering cpu_g maximum rate from 2100000000 to 2014500000
Notice the "cpu_g maximum rate" from my kernel output, I have set it to 2.1GHz up from the default of 2GHz. This allows me to freely set the desired maximum rate of 2014500000, which it transitions to as it initializes. You should also notice I am using the default cpu and soc ids (CPU Speedo ID 1, Soc Speedo ID 0).
To sum this all up you need to edit these files;
Code:
edp.c
Raise edp limits for thermal control for the cpu and soc ids you are using.
Code:
tegra11_clocks.c
Raise the base maximum rate on the cpu_g clocks to access higher frequencies.
Code:
tegra11_dvfs.c
Add desired frequency steps to the dvfs tables under the desired cpu ids
Code:
tegra11_speedo.c
If you altered the default ids used for the cpu clocks you can alter them here or use the cpu ids of different tegra 4 variants (T40T, T40DC, T40X, etc)
So as you can see, the overclocking steps are quite straightforward. It is surprising how easy they have made it really! Also the command line program I used to see what the kernel is saying is called "dmesg". This allows you to see what is happening so you do not waste time debugging the wrong thing. I have posted pictures of confirmed overclocking along with the about device page confirming my device.

Related

new froyo for i9000 2.2.1

http://forum.xda-developers.com/showthread.php?t=865701
can we use this with the reorented kernel.
sounds good to me....can't wait to hear some reports of how it runs.
Designgears is thinking about trying this one.
About to flash it now. Sounds amazing from the comments over there!
FYI this is for the I9000 and I dont know if a reorented kernel will work.
Works pretty well using Setiron's 1.4.2 and JK3 modem. Only wifi isn't working for me.
The browser in this is amazing. FINALLY we have a browser that's smoother than our 2.1 browser. Seems like it uses hardware acceleration now.
It also doesn't seem to need a lagfix. I haven't run Quadrant yet, but people are reporting up to 1300 with no lagfix.
gtg465x said:
Works pretty well using Setiron's 1.4.2 and JK3 modem. Only wifi isn't working for me.
The browser in this is amazing. FINALLY we have a browser that's smoother than our 2.1 browser. Seems like it uses hardware acceleration now.
It also doesn't seem to need a lagfix. I haven't run Quadrant yet, but people are reporting up to 1300 with no lagfix.
Click to expand...
Click to collapse
oh mahh gahhhd it's raining cats and dogs in the phone world
Let the customising begin hahahah!
Sent from my SAMSUNG-GT-I9000 using XDA App
Main problem right now is that we don't have the kernel source for JPU and thus we can't get a proper reoriented kernel for this.
I'm running JPU using Setiron's reoriented kernel, which is based off JPM source I believe, but wifi and high quality video recording/playback don't work. The video recording/playback might be fixable if Setiron compiles using the new memory config from JPU (posted it below), but I'm not sure about wifi (which sees networks but can't connect).
Here are the new STOCK memory configurations in JPU. There is 339 MB available to the user, so the bigmem tweaks will no longer be necessary once we start getting kernels built on this new source. As I mentioned earlier, we don't need lag fixes any more either because Samsung seems to have fixed some problems with RFS and it's a lot faster now. So this is great news for us.
Chainfire said:
Code:
<7>[ 0.000000] s5pv210_setup_clocks: registering clocks
<7>[ 0.000000] s5pv210_setup_clocks: clkdiv0 = 14131330, clkdiv1 = 00300400
<7>[ 0.000000] s5pv210_setup_clocks: xtal is 24000000
<6>[ 0.000000] S5PV210: PLL settings, A=800000000, M=667000000, E=96000000
<6>[ 0.000000] s5pv210: 33554432 bytes system memory reserved for mfc at 0x30ec8000
<6>[ 0.000000] s5pv210: 33554432 bytes system memory reserved for mfc at 0x40204000
<6>[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc0 at 0x42204000
<6>[ 0.000000] s5pv210: 1048576 bytes system memory reserved for fimc1 at 0x42e04000
<6>[ 0.000000] s5pv210: 12582912 bytes system memory reserved for fimc2 at 0x42f04000
<6>[ 0.000000] s5pv210: 2097152 bytes system memory reserved for pmem at 0x32ec8000
<6>[ 0.000000] s5pv210: 4194304 bytes system memory reserved for pmem_gpu1 at 0x330c8000
<6>[ 0.000000] s5pv210: 1536000 bytes system memory reserved for pmem_adsp at 0x334c8000
<6>[ 0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x3363f000
<6>[ 0.000000] s5pv210: 3145728 bytes system memory reserved for fimd at 0x43b04000
<6>[ 0.000000] s5pv210: 262144 bytes system memory reserved for wifi at 0x3403f000
<4>[ 0.000000] Built 3 zonelists in Zone order, mobility grouping on. Total pages: 117856
<5>[ 0.000000] Kernel command line: console=ttySAC2,115200 loglevel=4
<6>[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[ 0.000000] Memory: 80MB 256MB 128MB = 464MB total
<5>[ 0.000000] Memory: 343740KB available (9224K code, 1909K data, 2892K init, 0K highmem)
Click to expand...
Click to collapse
Just flashed with xcalibur's kernel and jk3 modem... oh boy. This thing flies. I'VE GOT BLISTERS ON ME CELLPHONE!
Edit: Quick notes/test results
linpack=13.202
Web browsing is buttery smooth, even with a site full of content! Full engadget breezes on through the screen bye-bye website stutters
GPS gets a lock within 4000 meters instantly, took 10 seconds to get around 40 meters, with a pinpoint lock after around 10 more seconds.
Wi-Fi is a no go
High quality video recording is a no go.
Will use this tomorrow (today I guess, lol) and post more resultz.

[Kernel]Skyrocket[2.6.35.14](010)OC~1.73GHz/GPU OC/OTG/UV/SLQB/BLN[Mar-09]

NOTICE: This is COMPATIBLE with ALL Samsung Rooted Stock and Custom ROMs
For frequency control use fauxclock from Google Play
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you!​
Hi XDA members and fellow Samsung users:
This is my sixteenth kernel hack. I want to thank my Team Kang tea mates Roman, Whitehawks and CMenard, and several others I cannot recall for inspiring me to venture into this unfamiliar territory for me.
What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
[Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.
​
THIS KERNEL is BASED ON Samsung Source Code. So it is COMPATIBLE ONLY WITH Samsung Gingerbread Builds.
Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).
CleanCache (via ZCache backend)
ZCACHE is a new technology I introduced to Qualcomm Kernel. ZCACHE is a compressed cache similar to ZRAM but the similarity ends there. ZCache is meant to provide as many "cleancache" pages (non-dirty or untouched "virgin" memory) to apps that request for new memory. CleanCache is very easy to allocate and no additional penalty are required to hand them out, so having more CleanCache pages will improve performance. Under heavy memory pressure, often times the kernel will NOT have enough CleanCache pages, so the kernel has to do EXTRA work to reclaim dirty cache pages and clean them for the new apps that's requesting for them. The described process creates a performance hit for the kernel and the app, so the idea is to use compression to create more CleanCache pages available for use. Of course there's a penalty to pay for using compression, but the trade-off between compression penalty and the penalty for reclaiming dirty cache pages and allocating them after cleaning is smaller for compression, so in the end, CleanCache should add more performance.
ZRAM (aka CompCache aka RAMZSwap)
ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible.
Joe's RCU (Optimized for Small SMP systems - NOT YET ADDED)
Joe Korty has created an RCU for small SMP systems (> 32 cores). His approach is to isolate all the Garbage Collection (GC, a slow time consuming but necessary processing) to a single core, thus allowing other cores to ONLY work on real required processing. This will allow the additional cores to complete their assigned tasks as fast as possible (not bogged down by GC) then immediately go back to a suspended state (saving battery).
Fast No Hz RCU (Optimized for SMP operations)
Fast NoHz is an optimized version of the traditional Tree RCU. Many new kernels are using the Tickless NoHz design. This RCU is tailored and designed to work with the new NoHz kernel system.
SmartAssV2 Governor (Balanced - NOT COMPATIBLE WITH QUALCOMM 8x60)
This governor has a built-in "profile" similar to SetCPU, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).
Interactive Governor (Performance - NOT COMPATIBLE WITH QUALCOMM 8x60)
This governor is designed to put more priority to User Interface (UI aka Apps) tasks, therefore appears more responsive then the traditional OnDemand governor. So if you want the smoothest UI interaction, this governor is for you...
Brain F*ck Scheduler - (BFS - NOT COMPATIBLE WITH QUALCOMM 8x60)
This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).
SLQB - (SLAB allocator with Queue)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...
Fair Budget Queue (BFQ I/O scheduler)
This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.
Installation Instructions:
Here's a step by step instruction to install this kernel:
[ CFS ] (Mainline Edition - should work with ALL phones!)
The File ==> Skyrocket kernel 010m (1.73 GHz, L2 speed up to 1.56 GHz) <==
[ CFS ] (Ultimate Edition - should work with most phones but NOT GUARANTEED!)
The File ==> Skyrocket kernel 010u (1.73 GHz, L2 speed up to 1.56 GHz, GPU 3D @ 320 MHz, GPU 2D @ 220 MHz, CleanCache Enabled) <==
1. download the above file (via phone directly or to a PC)
2. copy the downloaded zip file to /sdcard/download/
3. Open ROM Manager and select "Reboot into Recovery" and select "OK"
4. Once in recovery, select "wipe cache partition", select "Yes", then select "advanced", then select "Wipe Dalvik Cache", then select "Yes" again. Once finished, click the back button to go back to the main recovery menu. On that menu, select "Install Zip From SDCad", then select "Choose zip from SDCard", then go to /sdcard/download and select the downloaded zip file and let it run its script.
5. Once the script is done, select "reboot system now"
Note: After FLASHING, the first reboot may take longer than usual, please be patient... After the first reboot, it may lag during initial load (let everything finish loading). Once everything is loaded and phone is ready for use, reboot the phone a 2nd time and the lag will be gone and everything should be silky smooth... [/b]
[ Advanced Users: ]
[ Optional: ]
[ For Kernel Devlopers ONLY: ]
The File ==> My Global VDD_TABLE for under volt patch <==
Optional Under voltage:
Code:
[ to over volt ALL frequencies by 25000 uv (microvolts) ]
echo "+25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
[ to under volt ALL frequencies by 25000 uv (microvolts) ]
echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
[ to set a specific frequency (ie 1.18 GHz)
with a specific voltage (ie 1.0875 volts) ]
echo "1188000 1087500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
CPU Frequency Voltage Table Example
Code:
192000: 812500
310500: 812500
384000: 812500
432000: 812500
486000: 837500
540000: 850000
594000: 862500
648000: 875000
702000: 900000
756000: 925000
810000: 937500
864000: 962500
918000: 962500
972000: 962500
1026000: 975000
1080000: 987500
1134000: 1000000
1188000: 1012500
1242000: 1025000
1296000: 1050000
1350000: 1075000
1404000: 1100000
1458000: 1112500
1512000: 1125000
1566000: 1150000
Optional: Stock Clock Frequencies for Dual CPUs
Code:
su
echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1188000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/online
echo 192000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1188000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
NEWS BULLETIN:
Version 010 is OUT for skyrocket variant!
Please don't hesitate to talk among yourselves and help each other out... The XDA community is what inspired me to hack kernels for everyone since everyone here is nice and helpful to each other... Keep helping each other.... Famous proverb: It's better to give than to receive...
BUGS:
Not All CHIPS ARE CREATED EQUAL
TO DO:
version 1.x.x -- Haven't thought about it yet...
History:
See Post below...
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!
My github Complying with GPL and XDA rulez
Follow me on
:
If you find this Kernel useful, feel free to hit the [Thanks] button below
Version History
Version 001 (Deprecated)
internal
Version 002 (Deprecated)
internal
Version 003 (Deprecated)
Overclocking: reduced max to 1.728 GHz due to PLL limitations
Overclock: Initial overclock patch
Added Global CPU Voltage table used for adjusting voltage table
Added Scaling_Available_Frequencies back to cpufreq sysfs interface
mm: retry page fault when blocking on disk transfer
PM / Sleep: Drop pm_op() and pm_noirq_op()
PM / Sleep: Unify diagnostic messages from device suspend/resume
sched/rt: code cleanup, remove a redundant function call
ARM: Add optimised swahb32() byteswap helper for v6 and above
hugetlb: Replace BUG() with BUILD_BUG() for dummy definitions.
kernel.h: Add BUILD_BUG() macro.
nfs: writeback pages wait queue
block: limit default readahead size for small devices
PM / Suspend: Fix bug in suspend statistics update
make default readahead size a kernel parameter
tty: disable kernel CIQ tty driver
mm/vmalloc.c: eliminate extra loop in pcpu_get_vm_areas error path
PM / Sleep: Remove pm_runtime_suspended() from __pm_generic_call()
lockdep: print lock name for lockdep_init_error
init/main.c: execute lockdep_init as early as possible
kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
sched: don't call task_group() many times in set_task_rq()
dm-cache: block level disk cache target for device mapper
partition_sched_domains: Do not destroy old sched domain on cpu_up
sched: Do not block when waiting to free old root domain
rcu-tree: Check for extended quiescent state at start of gp
printk: Don't allow cpu to get console lock during hotplugging
cpu-hotplug: Add the function 'cpu_hotplug_inprogress'
msm: platsmp: Remove extraneous boot_secondary delay
CPU hotplug, PM: Remove unused symbol 'suspend_cpu_hotplug'
kernel: Set the command name of the idle tasks in SMP kernels v3
net: Reorder incoming packets in PPPoLAC and PPPoPNS.
PM: wakelocks: Display wakelocks preventing suspend by default
PM: wakelocks: Don't report wake up wakelock if suspend aborted
arm: Implement ticket spin-locks
Decompressors: Get rid of set_error_fn() macro
ARM: 6428/1: add cpu_idle_wait() to support CPUidle on SMP systems.
msm: Kconfig: Enable inline lock functions
crypto: crc32c should use library implementation
crc32: Bolt on crc32c
crc32-add-slicing-by-8.diff
crc32-add-real-8-bit.diff
lib/sha1: use the git implementation of SHA-1
ARM: support XZ compressed kernels
Squashfs: Add XZ compression configuration option
Squashfs: add XZ compression support
decompressors: add boot-time XZ support
decompressors: add XZ decompressor module
CFS Auto Group V2 - Changes since last:
Added NEON and other Snapdragon optimizations
compilation: fix many Samsung sloppy coding warnings (part 1)
patch: Add BFQ I/O scheduler by Paolo Valente
patch: add SLQB memory allocator by Nick Piggin
kernel patch: 2.6.35.13 -> 2.6.35.14
make: fix Kconfig errors by Samsung
kernel patch: 2.6.35.12 -> 2.6.35.13
kernel patch: 2.6.35.11 -> 2.6.35.12
Initial Commit for T-Mo Hercules!
Version 004 (deprecated)
fail!
Version 005 (deprecated)
re-baseline using Romanbb's initial commit to resolve compilation issues and problems.
all patches from version 003 still apply!
Version 006 (deprecated)
board/device: Add GPU turbo boost for 2D as well
watchdog: increase pet time to ten seconds
board/devices: enable GPU turbo mode @ 320 Mhz
OTG: Fix fast plug out/in wall charger charging issue
gadget: f_mtp: Fix problems transferring files from device to host
gadget: f_mtp: Make sure request is dequeued if transfer is canceled
gadget: f_mtp: Zero length packet fixes
gadget: f_mtp: Support for file transfer length greater than 4 gigabytes
gadget: f_mtp: Return zero result for successful file transfer.
gadget: f_mtp: MTP driver cleanup:
msm_otg: Increment PM usage counter for suspend failure cases
defconfig: 8x60: Enable USB accessory function
gadget: android: Restore default composition upon accessory disable
gadget: f_accessory: Set bNumEndpoints to correct value of 2
gadget: f_accessory: Add string for accessory's unique serial number
gadget: f_accessory: Clear disconnected flag when driver file is opened
gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL
gadget: f_accessory: Clear accessory strings when USB is disconnected
gadget: f_accessory: Misc improvements and cleanup:
gadget: f_accessory: New gadget driver for android USB accesories
gadget: android: Support switching vendor ID when configuration changes
audio: qdsp6v2: Modify the wait timer for apr registration
audio: qdsp6v2: Reduce the pcm write timeout value
audio: qdsp6v2: Fix crash with erroneous aac playback
audio: qdsp6v2: Send session ID in RTAC APR packet
audio: qdsp6v2: Disable idle wakelocks for pcm driver
audio: qdsp6v2: Fix for enabling dolby aac decoder.
audio: qdsp6v2: Unification changes for AAC Multichannel decoder
audio: qdsp6v2: Add Decoder Unification changes.
audio: qdsp6v2: Enabling Dolby pulse aac codec.
audio: qdsp6v2: Add fmt type adif in aac driver.
audio: qdsp6v2: Add support for aac dual mono playback
audio: qdsp6v2: Address multiple seek issues in AAC 5.1
audio: qdsp6v2: Add support for multichannel AAC.
audio: qdsp6v2: Add support for output port flush
audio: qdsp6v2: correction in allocation of number of dma_channels.
camera: configure the mipi csi based on lanecount
camera: Postprocessing framework changes
camera: Fix recording state machine bug
camera: Remove additional check in msm_queue_drain
rpc: While powering down flush all the rpcrouter workqueues
rpc: Reader thread to allocate memory without holding a spinlock
rpc: Reorganize the usage of spinlocks in RPC Router reader thread
smd_pkt: Extend read operation to receive data larger than SMD FIFO
gsmd: Save interrupt state when using spinlocks
audio: qdsp6v2: Close smd ports upon failure to open.
msm_fb/hdmi: fixed merge error
HDMI: EDID > 2 blocks, params not set.
msm_fb: Check for ACP and ACFG register before reset core.
HDMI: CEC: Hardware FSM reset.
msm_fb: Remove Audio Packet Control Register setup
HDMI: Driver support for CEC feature
HDMI: Driver support for CEC feature
HDMI: Remove audio packet setup for ACP, ISRC
rtc-msm: Fix uptime corruption due to slow clock overflow.
msm_serial_hs: Fix issue related to sleeping in invalid context
msm_serial_hs_lite: Set UART Clock rate to zero, when it is disable
tsens: Add suspend/resume for TSENS
kgsl: New low power level
kgsl: Count a percentage of _io time
kgsl: Clocks should be set to the active level during NAP
kgsl: Add a periodic check to turn the TZ algorithm on
kgsl: Update pwrlevel_change
input/keyboard: add BLN support
Version 007 (deprecated)
video/msm/mdp: update mdp driver from ATT SkyRocket Source
msm_fb: Removing HDCP timedout error.
msm_fb: Fixing Aspect Ratio
thermal: msm_tsens: Fix clearing interrupt bit on resume
msm: sdio: Replace banned/deprecated strcmp with strncmp
mmc: msm_sdcc: use prog_done for all commands having R1B response type
msm: vidc: Fix handling EOS with bitstream error.
staging: zcache: remove zcache_direct_reclaim_lock
staging: zcache: reduce tmem bucket lock contention
staging: zcache: fix crash on cpu remove
staging: zcache: fix cleancache crash
Staging: zcache: signedness bug in tmem_get()
staging: zcache: fix crash on high memory swap
staging: zcache: fix typos
staging: zcache: fix possible sleep under lock
zcache: Fix build error when sysfs is not defined
zcache: Use div_u64 for 64-bit division
staging: zcache: include module.h for MODULE_LICENSE
staging: zcache: module is GPL
staging: fix zcache building
staging: zcache: support multiple clients, prep for KVM and RAMster
staging: zcache: fix memory leak
staging: Allow sharing xvmalloc for zram and zcache
zram: Set initial disksize to some default value
zram: Simplify zram disk resizing interface
zram: Make gobal variables use unique names
zram: Kernel config option for number of devices
zram: Fix sparse warnings
zram: driver update to latest stable release on 2011-07-18
kernel:mm: Backported vzalloc to support ZRAM
Staging: zram: simplify zram_make_request
Staging: zram: make zram_read return a bio error if the device is not
initialized
Staging: zram: round up the disk size provided by user
Staging: zram: make ZRAM depends on SYSFS
zram: various improvements and cleanups
zram: Rename ramzswap to zram in documentation
zram: Rename ramzswap to zram in code
zram: Rename ramzswap files to zram
zram: Support generic I/O requests
staging:zcache: Enable zcache by default
drivers/staging: zcache: dynamic page cache/swap compression
Version 008 (Deprecated)
Update baseline source code with Skyrocket specific bits from ATT SkyRocket Source Release
Version 009 (Short Term Release)
[ CFS ] (Mainline Edition - should work with ALL phones!)
The File ==> Skyrocket kernel 009m (1.73 GHz, L2 speed up to 1.56 GHz) <==
[ CFS ] (Ultimate Edition - should work with most phones but NOT GUARANTEED!)
The File ==> Skyrocket kernel 009u_r2 (1.73 GHz, L2 speed up to 1.56 GHz, GPU 3D @ 320 MHz, GPU 2D @ 220 MHz) <==
mmc: core: Prevent too long response times for suspend
msm_fb: [HDMI_COMPLIANCE] Update audio ARCs for 480p
msm: audio: qdsp6v2: Fix memory leak in aac encoder
mm-camera: configure the mipi csi based on lanecount
RCU: JRCU 2.6.35.13, consolidated
Reverted battery draining patches
Version 010 (Current)
Fixed USB Host Notification for Skyrocket (not supported)
Remove Android USB Gadget Accessory for Skyrocket (not supported)
msm: vidc: Remove endianness change for 1080p firmware. …
vidc: 1080p: Increase context memory size of the H.264 encoder. …
zcache: avoid AB-BA deadlock condition …
msm_fb: HDMI-CEC: Line latch patch …
msm: camera: Free buffers from frame queue at open …
msm: vidc: insert break in switch-case statement …
msm: camera: Update csi interrupt trigger conditon …
msm: vidc: Remove endianness change for 1080p firmware. …
vidc: 1080p: Increase context memory size of the H.264 encoder. …
msm: qdsp6v2: Invalid memory access of timpani regset array …
sched: disable GENTLTE_FAIR_SLEEPERS for better performance on Android
revert back to FasNoHz RCU
Skyrocket Source Update: Add debug switch to board PM
Skyrocket Source Update: misc board driver updates
Skyrocket Source Update: regulator driver update
Skyrocket Source Update: misc minor driver clean ups
Skyrocket Source Update: Make CIQ a standalone option so it can be di…
Skyrocket Source Update: Update Headset Jack detection driver
Skyrocket Source Update: Update CHARM Modem Interface driver
Skyrocket Source Update: Update battery driver
Skyrocket Source Update: Update GPIO driver
Skyrocket Source Update: update misc USB drivers
Skyrocket Source Update: Update Timpani Profiles for Skyrocket and He…
Skyrocket Source Update: Update Touch Screen Driver
Skyrocket Source Update: Update Power Supply Driver to fix DDR issues
Skyrocket Source Update: Update Camera Media driver
Skyrocket Source Update: Add Samsung BT WL keyboard support
Skyrocket Source Update: Update BRCM WiFi driver
Skyrocket Source Update: Update Misc HDMI and Video drivers
Skyrocket Source Update: Update LowMemoryKiller OOM_Adj settings
Skyrocket Source Update: Add Smart Dimming
Skyrocket Source Update: Add suspend_sys_sync to kernel power management
[ Add-Ons ]
Gideonx's scripts for OC / UV.
http://forum.xda-developers.com/showpost.php?p=20946429&postcount=574
Make sure you hit [ thanks ] button for him
Yes finally going official! People go ahead and give it try its great kernel. Nothing to worry about. battery life is great too.
Thank you Faux!!
Is GideonX's script compatible with the SkyRocket as well?
Some benchmarks I ran using this kernel from the T989 Herc.
Treatcon said:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This image has been resized, click here to see the fullsize original
This image has been resized, click here to see the fullsize original
Loving this kernel, doing a little stress testing for under volting. Not bad benchmarks! UV to -100000 across the board with GideonX script and managed to keep the same benchmark scores, +/- 10 or so.
Click to expand...
Click to collapse
Treatcon said:
Thank you Faux!!
Is GideonX's script compatible with the SkyRocket as well?
Some benchmarks I ran using this kernel from the T989 Herc.
Click to expand...
Click to collapse
Yes, Gideonx's script is compatible with all of my SGS2 variants.
Thanks again for the help!!!!! And for all the haters now feel the love
Monster cm7
What's ur oc/uc?
tacotino said:
Thanks again for the help!!!!! And for all the haters now feel the love
Monster cm7
Click to expand...
Click to collapse
Great to have you on board. You did great things back when I had the mt4g. Always very involved.
Sent from my SAMSUNG-SGH-I727 using Tapatalk
appdroid said:
What's ur oc/uc?
Click to expand...
Click to collapse
I don't have it UV/ I leave it all alone.. just have some settings.. like
Screen off run Max at 384 min 384
20< 1000mhz
That's it nothing crazy
Monster cm7
thanks for all work and the new betas faux, appreciate the time bruh.
So far this Kernel is the best one i have seen on battery with OC'ing.
Awesome, thanks for developing this. Will check out the otg tonight, a feature I was longing to have on an OC Kernel.
How's the battery life with this Kernel? Does anyone see any problems installing this with the Super Stock 2.3.6 ROM?
I am not seeing the smartASSv2 governor. Anyone else seeing it?
Battery life is great its been 15hours 16% left. I m heavy user flashed new stuff, benchmarks and all stuff during these 15hrs.
dvandam said:
How's the battery life with this Kernel? Does anyone see any problems installing this with the Super Stock 2.3.6 ROM?
Click to expand...
Click to collapse
SalTNutz said:
I am not seeing the smartASSv2 governor. Anyone else seeing it?
Click to expand...
Click to collapse
Im pretty sure it does not have this option........
SalTNutz said:
I am not seeing the smartASSv2 governor. Anyone else seeing it?
Click to expand...
Click to collapse
Looks like powersave isn't there either...
He listed it in his post on the first page.
---------- Post added at 04:43 PM ---------- Previous post was at 04:42 PM ----------
the2rrell said:
Im pretty sure it does not have this option........
Click to expand...
Click to collapse
From his post
SmartAssV2 Governor (Balanced)
This governor has a built-in "profile" similar to SetCPU, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).
appdroid said:
Battery life is great its been 15hours 16% left. I m heavy user flashed new stuff, benchmarks and all stuff during these 15hrs.
Click to expand...
Click to collapse
Does undervolting help with battery life?
it will help but no need. Kernel does best job without tweaking.
dvandam said:
Does undervolting help with battery life?
Click to expand...
Click to collapse

[Q] Safe Voltages for SGS3

I just got the KT747 kernel on CM10 stable. I might want to under volt because battery life is sucky for some reason . I want to know how I can get the best battery life of this phone with this kernel. Any suggestions?
Depends on which cpu pvs you have. There is slow/nominal/fast, fast needs a lot less voltage where slow needs a lot more and thats where the stock kernel voltages default to (slow). Im running these voltages fine and just havent dropped em anymore cause I keep forgetting to, but i plan on dropping much more if I can....
Code:
clock - mv
1512 - 1130
1458 - 1115
1404 - 1115
1350 - 1105
1296 - 1105
1242 - 1080
1188 - 1075
1134 - 1060
1080 - 1055
1026 - 1005
972 - 1000
918 - 980
864 - 980
810 - 945
756 - 945
702 - 900
648 - 895
594 - 875
540 - 870
486 - 850
384 - 820
192 - 810
144 - 800
96 - 775
Keep in mind I have a fast pvs cpu so depending on what you have these may be to low for you.
Per Imoseyon's which would carry over to ktoonsez kernel fine....
imoseyon said:
Here are the recommended starting point voltages (kernel default) for each PVS type. Format: frequency (in Khz),voltage (in kV).
SLOW
Code:
384000,950000
486000,975000
594000,1000000
702000,1025000
810000,1075000
918000,1100000
1026000,1125000
1134000,1175000
1242000,1200000
1350000,1225000
1458000,1237500
1512000,1250000
1620000,1250000
1720000,1275000
1809000,1300000
1900000,1325000
Nominal
Code:
384000,900000
486000,925000
594000,950000
702000,975000
810000,1025000
918000,1050000
1026000,1075000
1134000,1125000
1242000,1150000
1350000,1175000
1458000,1187500
1512000,1200000
1620000,1200000
1720000,1250000
1809000,1250000
1900000,1300000
FAST
Code:
384000,850000
486000,875000
594000,900000
702000,925000
810000,975000
918000,1000000
1026000,1025000
1134000,1075000
1242000,1100000
1350000,1125000
1458000,1137500
1512000,1150000
1620000,1200000
1720000,1250000
1809000,1250000
1900000,1300000
Click to expand...
Click to collapse
The only way I know to check which cpu you have is to flash leankernel and from a terminal do "dmesg | grep ACPU"
When I do dmesg | grep ACPU in terminal emulator it says " Operation not permitted"
EDIT: I tried doing in I superuser mode and it gave nothing. Screenshots are below.
Window 1: http://imgur.com/kYNi9 No super user
Window 2: http://imgur.com/kYNi9 Super user active
Says that its nominal
don't understand the recommended voltages
I see the recommended voltages set by imoseyon but when I only go into SETCPU and go the voltages tab I can only set ONE voltage for each line not a range like in imoseyon's post. Do I set that that one line to the max or min? PLEASE HELP THIS NOOB!
384000,900000 -----------------> This is what I mean. I can click on this line but it only allows me to set it to one number (not a range).
486000,925000
594000,950000
702000,975000
810000,1025000
918000,1050000
1026000,1075000
1134000,1125000
1242000,1150000
1350000,1175000
1458000,1187500
1512000,1200000
1620000,1200000
1720000,1250000
1809000,1250000
1900000,1300000
Those arent ranges those are cpu speed and voltages. i.e. 1900000,1300000 is 1.9ghz @ 1300mv
Thanks!
x714x said:
Those arent ranges those are cpu speed and voltages. i.e. 1900000,1300000 is 1.9ghz @ 1300mv
Click to expand...
Click to collapse
Thanks! That was really bugging me!

[GPL][Kernel]3.4.71-XPerience�-9-Marshmallow+/3.4.103-XPerience�-STK-18+[29/11/2015]

[GPL][Kernel]3.4.71-XPerience�-9-Marshmallow+/3.4.103-XPerience�-STK-18+[29/11/2015]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
This kernel are maded for use on my roms for the best experience but you can try in other's roms
Hi first of all I want to clarify that I AM NOT A TEAM xD
I chose the name TeamMEX because it was first I thought because I could not use KLOZZ
Click to expand...
Click to collapse
This work on XT1028,XT1031,XT1032,XT1032GPE, XT1033, XT1034
Click to expand...
Click to collapse
read this before proceeding:
http://www.xda-developers.com/android/good-custom-rom-user-xda-tv/
Click to expand...
Click to collapse
Features:
Builded GCC 5.2
For android 4.4.x - > 5.x.x --> 6.x.x
UNIFIED Ramdisk
3.4.108 linux kernel 3.4.42
Support for LZ0 compression
RAMDISK in LZ4 -l -9
I/O schedulers: deadline , ROW ,noop optimizatios , zen
CPU Gov : bioshock,Lionheart, Smartmax and Dancedance Governors
Adreno idler
better battery consumption
VFP4 Optimizations
Reclamed more memory from loggers (now you have 884mb RAM)
TCP Schedulers
NEON mode
Kexechardboot
DoubleTap2Wake/sweep2wake with redirections from savoca
Faux Sound Control (You need Faux app)
[*] New governor Intellidemand
[*] Intellimm
[*] Intelli_plug (more eficient than MPDesicion=
Alessa_plug (Disabled for now)
[*] Ecomode (more battery saving)
GPU overclock
You can use your device as USB Keyboard(https://play.google.com/store/apps/details?id=remote.hid.keyboard.client)
And more read changelog
if you want a good score on benchmark this kernel aren't for you
[/QUOTE]
if you have a question of FreeRam
Free RAM is not that important for Android/Linux. Android/Linux will auto kill the suspended tasks when more memory is needed.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
NOTE: All reports of DT2W/S2W , will be sent to $ Recycle.bin and .Trash-1000
NOTE2: PLEASE READ ALL ....
if something says reporting assume that there will be read and if it corresponds to or related DT2W OVERCLOCK will be ignored.
Click to expand...
Click to collapse
MORE INFO READ 3# post.
Screenshots of DT2W/S2W-S2s:
XPerience 9-lollipop-CM12
XPerience28-falcon-kernel-signed.zip
XPerience-10-Marshmallow(CM 13 works too)
XPerience-10.0.x-v9-Marshmallow-CM-falcon-kernel-signed.zip
Stock Lollipop
WORK IN PROGRESS....
Click to expand...
Click to collapse
Reworked [WIP] KITKAT
3.4.42-XPerience-19R-Test
UNIFIED
3.4.104-XPerience-18.zip - 9.83 MB
MIUI
3.4.104-XPerience-MIUI-18.zip - 10.25 MB
For Stock Motorola's 4.4.3 and higher:
3.4.104-XPerience-STK-18.zip - 19.42 MB
OLDER CAMERA BLOBS thanks to @zarocks
cam-libs-old.zip - 2.35 MB
XPerience25a-falcon-kernel-signed.zip
Click to expand...
Click to collapse
​
NOTE: If you need change CPU freq use Trickstermod or any other Kernel tweaker having support to disable MPdecision
Click to expand...
Click to collapse
IF YOU Have issues activating or deactivating Dt2w-s2w you can use this script
made by sfoot13:
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=54391575&postcount=581
OLDER DOWNLOADS:
3.4.92-XPerience-02-XPE_PA.zip - 6.64 MB
3.4.92-XPerience-02-XPE_CM_MK.zip - 6.64 MB
3.4.92-XPerience-02-XPE_PAC.zip - 6.69 MB
PAC-ROM
3.4.94-XPerience-03-XPE_PAC.zip - 6.70 MB
Stock (Not tested YET)
3.4.94-XPerience-03-STOCK.zip - 6.23 MB
3.4.94-XPerience-03-XPE_PA.zip - 6.70 MB
Signed_3.4.94-XPerience-04-XPE_CM_AOKP.zip - 8.51 MB
Signed_3.4.94-XPerience-04-XPE_PA.zip - 8.59 MB
Signed_3.4.94-XPerience-04b-XPE_PA.zip - 8.58 MB
Signed_3.4.94-XPerience-04b-XPE_CM_AOKP.zip - 8.53 MB
Signed_3.4.94-XPerience-04b-XPE_PAC.zip - 8.53 MB
V5 in the spoiler
AnimeROM,OmniROM
Signed-3.4.94-XPerience-05-PA.zip - 8.56 MB
CM, XPerience-8.0.0, MokeeOS,XPerience-8.1.0-Exp ParanoidAndroid,
Signed-3.4.94-XPerience-05-CM.zip - 8.54 MB
PAC ROM
Signed-3.4.94-XPerience-05-PAC.zip - 8.51 MB
You can find updates HERE: http://d-h.st/users/klozz/?fld_id=37331#files
Click to expand...
Click to collapse
3.4.96-XPerience-06.zip - 8.45 MB
3.4.96-XPerience-07CM.zip - 8.91 MB
3.4.96-XPerience-07CM.zip
3.4.96-XPerience-07UNIFIED.zip - 8.86 MB
Signed-3.4.98-XPerience-08UNIFIED.zip - 9.00 MB
Signed-3.4.98-XPerience-08a_UNIFIED.zip - 8.96 MB
Signed_3.4.99-XPerience-09UNIFIED.zip - 9.20 MB
Signed_3.4.99-XPerience-10_UNIFIED.zip - 8.88 MB
Signed_3.4.100-XPerience-11_UNIFIED.zip - 7.09 MB
Mirror:
Signed_3.4.100-XPerience-11_UNIFIED.zip
3.4.50-XPerience-STK-11.zip - 17.80 MB
Signed_3.4.101-XPerience-12_UNIFIED.zip - 9.03 MB
3.4.72-XPerience-STK-12.zip - 18.69 MB
3.4.50-XPerience-STK-11.zip - 17.80 MB
3.4.103-XPerience-13.zip - 9.05 MB
3.4.92-XPerience™-STK-13+.zip - 18.84 MB
MIRROR
3.4.94-XPerience-STK-13.zip
3.4.103-XPerience-14.zip - 9.33 MB
3.4.103-XPerience-STK-14.zip - 18.33 MB
PAC ROM
3.4.96-XPerience-07PAC.zip - 8.86 MB
3.4.103-XPerience-15.zip - 9.29 MB
MULTIROM (Secondary rom):
3.4.103-XPerience-14-Multirom.zip - 9.06 MB
3.4.103-XPerience-STK-15.zip - 18.89 MB
3.4.103-XPerience-16_Unified.zip - 9.44 MB
3.4.104-XPerience-17.zip - 9.41 MB
3.4.104-XPerience-MIUI-17.zip - 10.18 MB
3.4.103-XPerience-16-STK.zip - 19.04 MBboot.img - 5.64 MB
Lollipop
bootxpe.img - 8.68 MB
3.4.42-XPerience-Lollipop-19R-Test2.zip - 23.82 MB
XPerience22-falcon-kernel-signed.zip - 8.64 MB
XPerience23-falcon-kernel-signed.zip - 8.67 MB
XPerience24-falcon-kernel-signed.zip
XPerience25-falcon-kernel-signed.zip
XPerience26-falcon-kernel-signed
XPerience26-LNXGCC5.1-falcon-kernel-signed.zip
If have wifi issues (roms with in kernel build drivers try this fix)
XPerience-26-Wifi-FIX.zip
For Based android 5.1.1_r3 (older may cause FC's on SystemUI)
XPerience26-LNXGCC5.1-AND5.1.1_r3-falcon-kernel-signed.zip
MARSHMALLOW
XPerience-Marshmallow 4a-falcon-kernel-signed.zip
Thanks to: (Not in order)
Dextruit for new logo
Motorola Mobillity LLC for kernel source
Dhacker29 as the first developer in the moto G
Savoca --> ASoC: wcd9306: Enable class AB and expose sysfs
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The GPL permits use, share, study and modify.
But this does not mean you should not give the deserved credit to the previous author.
So if you use my source code under GPL you must share with GPL too and quote me in the credits.
“Our mission is to preserve, protect and promote the freedom to use, study, copy, modify, and redistribute computer software, and to defend the rights of Free Software users.”
Click to expand...
Click to collapse
XPerience source is licensed by GPLv3
Source:
https://github.com/XPerience-AOSP-Lollipop/android_kernel_motorola_msm8226
https://github.com/Klozz/kernel-msm/ <--stock
BIG Thanks for donating
@japoina92
@Para94
If you like my work, you can buy me a coffee with your donatives. All donations are appreciated.
​
XDA:DevDB Information
XPerience Kernel MOTO G, Kernel for the Moto G
Contributors
TeamMex
Source Code: https://github.com/XPerience-AOSP-Lollipop/android_kernel_motorola_msm8226
Kernel Special Features: Optimized With linaro 4.10 EXPERIMENTAL UNIFIED
Version Information
Status: Stable
Current Stable Version: 3.4.107-XPerience-26
Stable Release Date: 2015-05-23
Created 2014-06-18
Last Updated 2016-01-21
Reserved
HOW TO:
Report bugs:
https://plus.google.com/u/0/+PaulReioux/posts/BcWrhEr1JCz
Click to expand...
Click to collapse
MARSHMALLOW
3.4.71-XPerience-9
bump to 3.4.71 kernel linux
CPU Overclock 1.6ghz thnks to h2o64
ext4: don't orphan or truncate the boot loader inode
msm: kgsl: Report correct GPU frequency in sysfs
more faster wake lock
Enhance power efficiency
Add CPU undervolting,
F2FS patches
kgsl patches
qseecom patches
Chromium patches
Add support to HID: wiimote
add frandom support
3.4.42-XPerience-4a
Rebuilded from 3.4.42 and merge Motorola stock sources by intervigilium
Added Adreno idler
GCC 5xx fixes
VFP 4
Underclock gpu to 100mhz
GPU overclock to 500mhz
Dt2W/s2w
s2w bidirectional
Kernel mode neon
Add Bioshock,Lionheart, Smartmax and Dancedance Governors
Cortex-A7 optimizations
Optimize usage of MPDecision
And some old commits :3
============================================
LOLLIPOP
3.4.108-XPerience-28
Bump to v28
Bump to stable linux kernel 3.4.108 patch
Implemented ALESSA PLUG (A Hotplug optimized for QuadCore devices created by me)
By defaul are configured to off 2 cores you can change it with terminal
//to "transform" to dual core
echo 2 > /sys/kernel/alessa_plug/suspend_cpus
//to "transform" to single core
echo 3 > /sys/kernel/alessa_plug/suspend_cpus
//to return to quadcore
echo 1 > /sys/kernel/alessa_plug/suspend_cpus
msm: thermal: Update to speed up bootup time
power: qpnp-bms: Schedule recalculate_soc immediately in bms_resume
regulator: add notifier event for regulator enable
input: synaptics_rmi4: Register pm_ops regardless of CONFIG_FB
msm: mdss: Correctly calculate DSI clocks if fbc is enabled
Fix some Memory leaks
Optimized Crypto with Mode NEON
3:4:106-xperience-25+
Revert "media: radio: Fix building and loading the IRIS transport"
Revert "Remove Module support to make more according to CM changes (and fix issues of FM radio)"
Initialize this functions on 0 Like when you add variable like int value; The valor are 0 but for avoid warnings like "drivers/devfreq/simple_gpu_algorithm.c: In function 'simple_gpu_algorithm': drivers/devfreq/simple_gpu_algorithm.c:58:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] error, forbidden warning: simple_gpu_algorithm.c:58"
Fix mm/slub.c:4542:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] error, forbidden warning: slub.c:4542
gic: Remove redundant logging
gic: add calls to log wakeup_reason.
gpio: msm-common: Add wakeup reason logging
Power: Changes the permission to read only for sysfs file /sys/kernel/wakeup_reasons/last_resume_reason
power: wakeup_reason: rename irq_count to irqcount
Power: Add guard condition for maximum wakeup reasons
POWER: fix compile warnings in log_wakeup_reason
Power: add an API to log wakeup reasons
cpufreq: interactive: don't boost cpu if already boosted
arm/dts: 8x26: increase Falcon CMI panel VBP
cpufreq: cpu-boost: config cpu_boost separately
Improve kernel SELinux avc logging
mm: vmscan: do not count anon pages as reclaimable if swap is small
arm/dt: msm8226-moto-common: Change secure memory CMA size
fix error
msm8226_defconfig: Enable LZ4, and use it for ZRAM.
lib: lz4: Set ARM_EFFICIENT_UNALIGNED_ACCESS
zram: Add LZ4 support
lz4: add overrun checks to lz4_uncompress_unknownoutputsize()
lz4: fix another possible overrun
lz4: ensure length does not wrap
lz4: fix compression/decompression signedness mismatch
lib/lz4: correct the LZ4 license
lib: add lz4 compressor module
lib: add support for LZ4-compressed kernel
decompressor: add LZ4 decompressor module
ARM: Use -mtune=cortex-a7 for 8226/8610
msm8226_defconfig: Use -O2 not -Os
arm: msm: watchdog_v2: Init tzbsp_cpu_count
input: aps_ts: Init last
drivers: leds-qpnp-rgb: Init spmi_dev
Enable Crypto ARM
drivers/misc: bma2x2: set data in read_byte
bootinfo: Fix section mismatches
ARM: 8120/1: crypto: sha512: add ARM NEON implementation
ARM: 8119/1: crypto: sha1: add ARM NEON implementation
ARM: add support for kernel mode NEON
ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures
crypto: arm-aes - fix encryption of unaligned data
CRYPTO: Fix more AES build errors
ARM: add .gitignore entry for aesbs-core.S
ARM: add support for bit sliced AES using NEON instructions
ARM: use -mcpu=cortex-a7 to get integer divide instruction
ARM: move AES typedefs and function prototypes to separate header
ARM: 7837/3: fix Thumb-2 bug in AES assembler code
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible
3.4.105-XPerience-24+ [lollipop no stock (maybe wifi issues on CM based rom)]
Hardexec reenabled
Hardcoded VFP
Wifi changed support to Powersuspend instead of Earlysuspend (battery saving)
lib/int_sqrt.c: optimize square root algorithm
mm page alloc update to 4096freekb
Updatetorch configs acording to last kk kernel
initial undervolting not configurable yet (WORK in progress)
Fixed some issues with underclocking
overclock bus 566mhz
Revamp spinlock ASM code
3.4.105-XPerience-23 [lollipop based/no stock]
Intelimm
Dt2w/s2w with improvements
A lot of patches for lollipop requeriments
ksm: Optimized
Wake_timeout: Default 60ms
stereo call recording support
Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
lowmemorykiller: Don't try to kill the same pid over and over
and more...
3.4.105-XPerience22-[Only Custom lollipop like XPerience9 and CM12 based roms] 18/12/14
Configurable simple gpu algorithm via fauxclock
Work queue efficient
Quickwake up
Ext4 optimizations
Asynchonous Sync
Powersuspend bump to 1.5 [for lollipop]
PerCPU support
Faster wakelock's
ROW Hardcoded quantumm
3.4.105-XPerience22-[Only Custom lollipop like XPerience9 and CM12 based roms]
Bump to 3.4.105 patch
Some code cleanups
Corrections and bugfixes
added again 192mhz
Optimized gobernors
Input: Send events one packet at a time
Quadcore stats
mm: Increase number of GFP masks
mm: Increase VM min/max
short logcat coz Is alot of patches
3.4.57-XPerience-20 [ONLY FOR XPERIENCE 9 if you install it on CM you loose Wifi]
Alot of KGSL updates
MDSS fixes
More smoother
Optimized Performance
Led calibrations
msm: kgsl: Restrict GPU memory object alignment to 32MB
WCNSS power saver
ARM: dts: msm: Add power manager entry for wcnss …
ngd_slim: Register with QMI service in the slave-notification thread
ASoC: wcd9306: updates
Camera drivers updates with ion
mdss updates
More info on my github coz are a lot of patches
CM12
3.4.42-XPerience-19R-Lollipop-test2
SELinux Fix null pointer hooks
Upgraded SELinux binary inside ramdisk
Fix Data conection
Net and NL80211 fixes
Vidc and Venc decoders
---msm: vidc: add new control for limiting i/p buffer size
---msm: vidc: Amend calculation of buffer sizes in VENUS_BUFFER_SIZE
Enable NETDEV
Updates on Radio IRIS
Bluetooth: Remove unused hci_le_ltk_reply()
radio: iris: Fix the issue with hard mute IOCTL
radio: iris: Handle soft mute fail gracefully
Binary addes from my CM12
hostapd_cli
hostapd
dhcpcd.conf
modem.00 to 27
wcnss.01 to 08
widevine.b00 to b03
xtwifi.conf
Ramdisk improvements
XPerience Reworked
3.4.42-XPerience-19R [Wip]
Reworked using stable branch 3.4.0 of the kernel linux
Added patches from CM like New cam and others
KGSL updates
Added initial Simple GPU algorith
GPU overclock and CPU underclock
Initial governors [intellidemand,weatlhey]
Initial I/O Schedulers [ V(R),tripndroid,sio,fiops,zen]
Reworked Dt2w/s2w to older versions and optimized touch responsivitnes
Intelli_thermal v2
Intelliplug and optimized msmhotplug (Used for MPDecision)
Support of FauxSound and fixed some null pointers on tapan codecs
Better battery saver
LMK : optimized and Don't try to kill the same pid over and over
Kexec patch
Builded on NEON mode and fixes on Optimized RWSem for neon
drivers: usb: Use Android device as USB keyboard/mouse
stereo call recording support
A lot of optimizations
Work in progress im workingfor add all the stuff
alot of changes and improvements in ramdisk
CHANGELOG:
#########################
#### STOCK ROM ###
#########################
3.4.104-XPerience-STK-18+
Updated to 3.4.104 Linux kernel
all of the v17
fixed some eMMC entrophy
Added zRAM
minimal improvements
Squashed commits of enhance power efficiency
wake_timeout: increase delay to ensure panel is shut down properly
wake_timeout: don't disable wake functions if s2w and dt2w are disable
add governors like 18 for custom
Read older changelog for STK version inside Spoiler:
3.4.103-XPerience-STK-16+
LCD_KCAL
intelli_thermal_v2 (Need app fauxclock 2.2.5)
SELinux: Fix possible NULL pointer dereference in selinux_inode_permissions
fix false disconnect due to a signal sent to the reading process
Power: add an API to log wakeup reasons
Power: Add guard condition for maximum wakeup reasons
POWER: fix compile warnings in log_wakeup_reason
nf: IDLETIMER: time-stamp and suspend/resume handling.
nf: Remove compilation error caused by
Enabled CIFS
Power: Changes the permission to read only for sysfs file
/sys/kernel/wakeup_reasons/last_resume_reason
net: ipv4: current group_info should be put after using.
selinux: Report permissive mode in avc: denied messages.
usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP)
cgroup: Take css_set_lock from cgroup_css_sets_empty()
cgroup: Fix use after free of cgrp (cgrp->css_sets)
ext4: Add support for FIDTRIM, a best-effort ioctl for deep
discard trim
msm: kgsl: Fix memory entry leak when calling
adreno_convertaddr
msm: kgsl: Keep track of kernel space mappings to memory
msm: kgsl: Skip the entire command during fault recovery
msm: vidc: Add instance to instance list prior to CORE_INIT.
ASoC: wcd9306: fix the NULL pointer dereference in the tapan
codec
msm: kgsl: Add a flag to mark user mapped GPU buffers.
ARM: dts: msm: use ordered workqueue only when specified
ARM: dts: msm: add frequency to corner mappings for msm8226v2
ARM: dts: msm: add support for qseecom bus scaling for 8074, 8226 and 8610
mmc: core: Fix power class config for HS400
msm_bam_rmnet: Fix potential memory corruption
cpufreq: cpu-boost: Export cpu boost status
cpu boost more slow changed to 60ms
Tweaked gobernors
3.4.103-XPerience-STK-15+
Added intelli-thermal
Intelli_plug
Intelliactive
fix some leaks on XPerience gob (Not for play games (some games are playable others have lag)
Added support to new drivers on TPA6165 extensions and Telephony Extensions for FauxSound 1.4.6 [fix recognition of MSM8226-Tapan930]
updated ramdisk to make support of 4.4.4
Low power mode framework
Updated Faux HACK sound to 3.4
Changes in ramdisk
No more CPU overclock
Overclocked RAM like custom version
Optimized slimbus
Added support of GPE edition. (Not tested yet)
Drivers: platform: msm: qpnp-vibrator: Add sysfs interface
for intensity
Mini CPU Overclock more stable because are provided by Qualcomm
3.4.103-XPerience-14+
mpt2sas: Fix for device scan following host reset could get stuck in
a infinite loop
mpt2sas: Fix for issue Missing delay not getting set during system bootup
iscsi-target: Always send a response before terminating iSCSI
connection
target: Fix MAINTENANCE_IN service action CDB checks to use lower 5
bits
upgraded to 3.4.95
upgraded to 3.4.96
ALSA updates
upgraded to 3.4.97
upgraded to 3.4.98
upgraded to 3.4.99
upgraded to 3.4.100
upgraded to 3.4.101
upgraded to 3.4.102
upgraded to 3.4.103
Kexec patch (Multirom support)
NOTE I say only upgraded to because are a lot of patches and fixes xD
(Sorry for now the bootlogo say 13+ I upload the kernel with the 14+ in the logo i forget it was in v14)
3.4.7x-XPerience-STK-13--[WIP]
Updated to upstream linux kernel 3.4.73
fix slow booting
added some changes on XPERIENCE gob (reduce some laggines)
updated to linux kernel 3.4.74
(all upstream of linux kernel have 30 patches or more so im not add changes of all upstream)
Sound/soc/msm fixes
Some SELinux fixes.
Merge kitkat-mr3-rel-falcon from MotorolaMobilityLLC
updated to linux kernel 3.4.75
updated to linux kernel 3.4.76
n_tty: Fix n_tty_write crash when echoing in raw mode
net: ipv4: current group_info should be put after using.
mmc: throttle back the bus on CRC errors
mmc: only extend the detect wakeup source once
mmc: throttle back high voltage cards too
mmc: sdhci: don't spew on CRC errors
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1)
arm/dt: 8x26: Set min. CPU voltage to 1.14v
updated to linux kernel 3.4.77
updated to linux kernel 3.4.78
updated to linux kernel 3.4.79
updated to linux kernel 3.4.80
updated to linux kernel 3.4.81
updated to linux kernel 3.4.82
updated to linux kernel 3.4.83
updated to linux kernel 3.4.84
updated to linux kernel 3.4.85
updated to linux kernel 3.4.86
updated to linux kernel 3.4.87
updated to linux kernel 3.4.88
updated to linux kernel 3.4.89
updated to linux kernel 3.4.90
updated to linux kernel 3.4.91
updated to linux kernel 3.4.92
3.4.72-XPerience-STK-12--
upgraded to 3.4.72 linux kernel
Fixed wifi issues
Updated Faux sound driver to 3.4
Updated ramdisk and comprezed to LZ4
scheduler: compute time-average nr_running per run-queue
proc: enhance time-average nr_running stats
scheduler: Re-compute time-average nr_running on read
Improvement performance.
Intellidemand 5.5
Intelliactive
Deleted MPDesicion
GPU: Simple_ondemand
GPU: Conservative
Exfat support
over 400 patches
ARM: 7495/1: mutex: use generic atomic_dec-based implementation for ARMv6+
Updated xperience Gob
lowmemorykiller: Don't try to kill the same pid over and over
lib/lzo: huge LZO decompression speedup on ARM by using unaligned access
Added optimized ARM RWSEM algorithm.
power: msm_battery: Increase battery check interval from 5 seconds to 15 seconds.
ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
PM / devfreq: Check for GPU busy time before sending the sample
msm: kgsl: Delay the first devfreq status read
msm: kgsl: Export device state to devfreq
PM: devfreq: Use high priority workqueue
PM: devfreq: conservative: Return 0 if GPU just started
PM: devfreq: Fix show available freqs
3.4.50-XPerience-STK-11
Linux 3.4.43
net: drop dst before queueing fragments
net: fix incorrect credentials passing
net: rate-limit warn-bad-offload splats.
tcp: call tcp_replace_ts_recent() from tcp_ack()
esp4: fix error return code in esp_output()
TTY: do not update atime/mtime on read/write
aio: fix possible invalid memory access when DEBUG is enabled
Linux 3.4.44
mmc: core: Fix bit width test failing on old eMMC cards
ext4: fix online resizing for ext3-compat file systems
ext4: fix journal callback list traversal
jbd2: fix race between jbd2_journal_remove_checkpoint and ->j_commit_callback
nfsd4: don't close read-write opens too soon
Linux 3.4.45
kernel/audit_tree.c: tree will leak memory when failure occurs in audit_trim_trees()
tracing: Fix ftrace_dump()
drm/radeon: fix handling of v6 power tables
cpufreq / Longhaul: Disable driver by default
ext4: add check for inodes_count overflow in new resize ioctl
Linux 3.4.46
usermodehelper: check subprocess_info->path != NULL
fix NULL pointer dereference at 0000000000000198
KVM: VMX: fix halt emulation while emulating invalid guest sate
Linux 3.4.47
media: mantis: fix silly crash case
i2c: designware: always clear interrupts before enabling them
hwmon: fix error return code in abituguru_probe()
Linux 3.4.48
mac80211: close AP_VLAN interfaces before unregistering all
jfs: fix a couple races
mm: mmu_notifier: re-fix freed page still mapped in secondary MMU
wait: fix false timeouts when using wait_event_timeout()
Linux 3.4.49
ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section
Linux 3.4.50
mm: migration: add migrate_entry_wait_huge()
swap: avoid read_swap_cache_async() race to deadlock while waiting on discard I/O completion
cciss: fix broken mutex usage in ioctl
Bluetooth: Fix mgmt handling of power on failures
drivers/rtc/rtc-twl.c: fix missing device_init_wakeup() when booted with device tree
3.4.42-XPerience-STK-10+
For Stock 4.4.3 or higher.
XPerience Gobernor
Faux sound
DT2W-S2W
Based on Stock Motorola's
msm: acpuclock: Fix acpuclk_get_rate
Dynamic management of dirty page writebacks, expire and cache pressure
Ext4 : Increase speed
drivers/video/msm/mdss/mdss_dsi_panel.c: add powersuspend …
Powersuspend 1.5
Optimizes SLUB
Added XPerience Gobernor some part are based on Smartassv2
ARM: add support for bit sliced AES using NEON instructions
arm/crypto: Add optimized AES and SHA1 routines
msm: kgsl: Schedule adreno_start in a high priority workqueue
Clenaed code
lowmemorykiller: Don't try to kill the same pid over and over
devfreq/governor_simpleondemand.c fix bug
arch: arm: vfp : Hardcoded and optimized on neon
Optimization for cortex-a7
cpufreq: interactive: Honor boosted state when entering idle
cpufreq: interactive: Use frequency dependent per cpu timings
arm: Add support for LZ4-compressed kernel
Fix ARM: 7587/1: implement optimized percpu variable access
ARM: 7746/1: mm: lazy cache flushing on non-mapped pages
net: loopback: set default mtu to 64K
STING_power: decrease the amount of time the device waits after entering low power mode to freeze processes. Testing phase at the moment
init: main: commented out ftrace_init() because I don't use ftrace for released kernels, only for my own debugging. Should save few ms during boot.
sync: don't block the flusher thread waiting on IO
ARM: Fix negative idle stats for offline cpu
Asynchronous Fsync: initial extraction of Async Fsync from HTC
f2fs:data: add AIO optimization …
Reduce Disk Writes With noatime, nodiratime noatime, nodiratime
drivers/devfreq/governor_simpleondemand.c Fix again (posible other bug)
drivers: usb: Use Android device as USB keyboard/mouse
stereo call recording support
jbd2: optimize jbd2_journal_force_commit
frandom
ARM: Allow CPU-supported unaligned accesses
#########################
#### MIUI ROM ###
#########################
3.4.104-XPerience-MIUI-18+
updated ramdisk
Fix some memory leaks [I can't fix a lot of memory leaks because is a CM based and cm are ****ty now]
Reverted OC No more placebo effect
Squashed commits of enhance power efficiency
ext4: Speedup WB_SYNC_ALL pass called from sync
ct406: Fix Prox sensor enable.
wake_timeout: increase delay to ensure panel is shut down properly
wake_timeout: don't disable wake functions if s2w and dt2w are disabl
3.4.104-XPerience-MIUI-17+
Updated ramdisk with improvements for miui
add some permissions for se_app context
added tomoyo security
lz4 ramdisk on miui
all of the later 17 version
fixed some memory leaks for miui
#########################
#### Custom ROM ###
#########################
3.4.104-XPerience-18+
Reverted OC No more placebo effect
Squashed commits of enhance power efficiency
ext4: Speedup WB_SYNC_ALL pass called from sync
ct406: Fix Prox sensor enable.
Intelli_plug updated to 3.8
Updates in the ramdisk
wake_timeout: increase delay to ensure panel is shut down properly
wake_timeout: don't disable wake functions if s2w and dt2w are disable
s2w/dt2w: Some implementations for make a usable in Deep sleep [on s2w reverted support of wake gestures only on s2w]
Klozz_hotplug [yeap Iknow xd I change the name later]
in spoiler how to configure it:
First need disable mpdecision and intelli_plug :
later put in therminal emulator:
#enable klozz_hotplug
Code:
echo "1" > /sys/kernel/klozz_hotplug/hotplug_enable
#you can set the max cores
maxcoreslimit by default use the 4 cores
maxcoreslimit_sleep by default use 1 core
min_cpus_online by default 1
Code:
echo "numofthemaxcore" /sys/kernel/klozz_hotplug/maxcoreslimit
ejem: echo "2" /sys/kernel/klozz_hotplug/maxcoreslimit
echo " 2" /sys/kernel/klozz_hotplug/maxcoreslimit_sleep
echo "2" /sys/kernel/klozz_hotplug/min_cpus_online
New governor: detailed info in spoiler
-- Adaptive
This driver adds a dynamic cpufreq policy governor designed for latency-sensitive workloads and also for demanding
performance.
This governor attempts to reduce the latency of clock increases so that the system is more responsive to
interactive workloads in loweset steady-state but to to reduce power consumption in middle operation level level up
will be done in step by step to prohibit system from going to max operation level.
-- AbyssPlug
'abyssplug' - this driver mimics the frequency scaling behavior in 'ondemand', but with several key differences. First is
that frequency transitions use the CPUFreq table directly, instead of incrementing in a percentage of the maximum
available frequency. Second 'abyssplug' will offline auxillary CPUs when the system is idle, and online those CPUs once the
system becomes busy again. This last feature is needed for architectures which transition to low power states when only
the "master" CPU is online, or for thermally constrained devices.
-- Alessa (My own gobernor Bugged for now :/)
#Dedicated to Stephanny Cooper :#
Based on ondemand less aggressive and more stable. A good compromise between performance and battery.
and ussable with my own hotplug
3.4.104-XPerience-17+
Linux kernel 3.4.104
Dt2w/s2w more sensitive
Add lcd notify
Add [WIP] Wake gestures [Need the Wake gestures app(XPosed module)]
ext2: Fix fs corruption in ext2_get_xip_mem()
slab/mempolicy: always use local policy from interrupt context
Option to disable touch wake with power button and prevent sleep
add support for wakelock on doubletap2wake/sweep2wake
Wake timeout
ARM: 8129/1: errata: work around Cortex-A15 erratum 830321 using dummy strex
added OC again
Overclocked RAM and Bus to 600mhz
Slimbus: Increase clock gear from 7 to 10
Ramdisk improvements
Reserved
Recomended,
You can use Trickstermod For kernel tunning.
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
KUI - A Kernel Tweaker
https://play.google.com/store/apps/details?id=com.WiZarD.KUI
Kernel Tweaker
https://play.google.com/store/apps/details?id=com.dsht.kerneltweaker
Note: what is VFP?
Floating-point (VFP)
VFP (Vector Floating Point) technology is an FPU coprocessor extension to the ARM architecture. It provides low-cost single-precision and double-precision floating-point computation fully compliant with the ANSI/IEEE Std 754-1985 Standard for Binary Floating-Point Arithmetic. VFP provides floating-point computation suitable for a wide spectrum of applications such as PDAs, smartphones, voice compression and decompression, three-dimensional graphics and digital audio, printers, set-top boxes, and automotive applications. The VFP architecture was intended to support execution of short "vector mode" instructions but these operated on each vector element sequentially and thus did not offer the performance of true single instruction, multiple data (SIMD) vector parallelism. This vector mode was therefore removed shortly after its introduction, to be replaced with the much more powerful NEON Advanced SIMD unit.
Some devices such as the ARM Cortex-A8 have a cut-down VFPLite module instead of a full VFP module, and require roughly ten times more clock cycles per float operation. Other floating-point and/or SIMD coprocessors found in ARM-based processors include FPA, FPE, iwMMXt. They provide some of the same functionality as VFP but are not opcode-compatible with it.
VFPv1
Obsolete
VFPv2
An optional extension to the ARM instruction set in the ARMv5TE, ARMv5TEJ and ARMv6 architectures. VFPv2 has 16 64-bit FPU registers.
VFPv3 or VFPv3-D32
Implemented on the Cortex-A8 and A9 ARMv7 processors. It is backwards compatible with VFPv2, except that it cannot trap floating-point exceptions. VFPv3 has 32 64-bit FPU registers as standard, adds VCVT instructions to convert between scalar, float and double, adds immediate mode to VMOV such that constants can be loaded into FPU registers.
VFPv3-D16
As above, but with only 16 64-bit FPU registers. Implemented on Cortex-R4 and R5 processors.
VFPv3-F16
Uncommon; it supports IEEE754-2008 half-precision (16-bit) floating point.
VFPv4 or VFPv4-D32
Implemented on the Cortex-A12 and A15 ARMv7 processors. VFPv4 has 32 64-bit FPU registers as standard, adds both half-precision extensions and fused multiply-accumulate instructions to the features of VFPv3.
VFPv4-D16
As above, but it has only 16 64-bit FPU registers. Implemented on Cortex-A5 and A7 processors.
What is NEON?
Advanced SIMD (NEON)
The Advanced SIMD extension (aka NEON or "MPE" Media Processing Engine) is a combined 64- and 128-bit SIMD instruction set that provides standardized acceleration for media and signal processing applications. NEON is included in all Cortex-A8 devices but is optional in Cortex-A9 devices. NEON can execute MP3 audio decoding on CPUs running at 10 MHz and can run the GSM adaptive multi-rate (AMR) speech codec at no more than 13 MHz. It features a comprehensive instruction set, separate register files and independent execution hardware. NEON supports 8-, 16-, 32- and 64-bit integer and single-precision (32-bit) floating-point data and SIMD operations for handling audio and video processing as well as graphics and gaming processing. In NEON, the SIMD supports up to 16 operations at the same time. The NEON hardware shares the same floating-point registers as used in VFP. Devices such as the ARM Cortex-A8 and Cortex-A9 support 128-bit vectors but will execute with 64 bits at a time, whereas newer Cortex-A15 devices can execute 128 bits at a time.
HOW TO CHANGE CPU FREQ
NOTE: if you need change CPU freq disable MPDecision use PERFORMANCE CONTROL
HOW TO Disable MPdecision via Terminal
Comands in bold
Code:
[B]stop mpdecision [/B]==> to disable mpdecision
[B]echo "intellidemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor[/B] ==> switch to intellidemand governor
[B]echo 1 > /sys/module/intelli_plug/parameters/eco_mode_active[/B] ==> to enable Eco mode.
CPU FREQ: aprox.
192000 <-- 192mhz
300000 <-- 300mhz
384000 <--385mhz
600000 <-- 600mhz
787200 <-- 800mhz
998400 <-- 1ghz
1094400 <-- 1.1ghz
1190400 <-- 1.2ghz
1305600 <-- 1.3ghz
1344000 <-- 1.35ghz
1401600 <-- 1.4ghz
1497600 <-- 1.5ghz
1593600 <-- 1.6ghz
Explanation of XPerience Gobernor:
XPerience gob - based on SmartassV2 Optimized parameters for proper scaling on frequency,
gradually scale frequencies up to the highest depending on the needs of processing.
Getting a little boost when necessary according to MPDecision
Such as adjustable parameters were added:
Code:
awake_ideal_freq; 780mhz by default
sleep_ideal_freq; */ 600mhz by default and are good./*
ramp_up_step; */356mhz so scaleable by 356mhz up to the maximum frequency*/
ramp_down_step; */the same like up but are for max to min*/
max_cpu_load; */ CPU freq will be increased if measured load > max_cpu_load*/
min_cpu_load; */ CPU freq will be decreased if measured load < min_cpu_load;*/
sleep_wakeup_freq; */The frequency to set when waking up from sleep. set to máx posible by procesor*/
BUG REPORTING:
With logcad and Dmesg if you no provide them your report will be ignored.
Click to expand...
Click to collapse
Some configs to make best performance, battery save etc.
configs for battery save
cpu hotplug: Intelli_plug
Hot plug profiles: eco performance 2
Threshold value: 500
cpu gobernor: XPerience or intellimm (later to release)
GPU: simple_ondemand or msm-tz and set gpu to 450max
CPU min: 300mhz(if you set 192mhz you can have lag with xperience gobernor)
CPU MAX: 1.2ghz
I/O scheduler: Noob, V(R) or bfq(better)
Read ahead (eMMC): 1024
zRam enabled , clean cache VFS enabled, Auto FS writeback Delay mode enabled
Dirty background tario 13%
Intelli ksm enabled
Thermal: Intelli_thermal_v2 (only with faux app 2.2.5)
Thermal Temp: 60°C in the 2 options.
screen: Hybrid
TCP: Westwood
Fastcharger: disabled
Click to expand...
Click to collapse
Best Performance:
cpu hotplug: MPdecision
cpu gobernor: intelliactive or interactive
GPU: Performance set to 500mhz
CPU min: 600mhz
CPU MAX: 1.2ghz
I/O scheduler: Noob, V(R) or bfq(better)
Read ahead (eMMC): 1024
zRam enabled , clean cache VFS enabled, Auto FS writeback Delay mode enabled
Dirty background tario 13%
Intelli ksm enabled
Thermal: Intelli_thermal_v2 (only with faux app 2.2.5)
Thermal Temp: 60°C in the 2 options.
screen: Hybrid
TCP: Westwood
Fastcharger: disabled
Click to expand...
Click to collapse
Balanced:
cpu hotplug: Intelli_plug
Hot plug profiles: balanced 4
Threshold value: 500
cpu gobernor: XPerience , intelliactive, intellidemand
GPU: msm-tz (500mhz)
CPU min: 300mhz(if you set 192mhz you can have lag with xperience gobernor if not use xperience gob you can set 192mhz)
CPU MAX: 1.2ghz
I/O scheduler: Noob, V(R) or bfq(better)
Read ahead (eMMC): 1024
zRam enabled , clean cache VFS enabled, Auto FS writeback Delay mode enabled
Dirty background tario 13%
Intelli ksm enabled
Thermal: Intelli_thermal_v2 (only with faux app 2.2.5)
Thermal Temp: 60°C in the 2 options.
screen: Hybrid
TCP: Westwood
Fastcharger: disabled
Click to expand...
Click to collapse
HOW TO:
Report bugs:
info about your error and read this.
f you not provide the files i cant help you
https://plus.google.com/u/0/+PaulRei...ts/BcWrhEr1JCz
Click to expand...
Click to collapse
just flashed kernel, am currently on Lego ROM, boot lag seems to have gone. seems pretty smooth. good work thanks.
Sent from my Moto G using Tapatalk
OC works?
Sent from my Moto G using XDA Free mobile app
K3VYNC said:
OC works?
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
Sure.
robt77 said:
just flashed kernel, am currently on Lego ROM, boot lag seems to have gone. seems pretty smooth. good work thanks.
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
What version you flash ?
to add in OP
Thanks for use it
TeamMex said:
What version you flash ?
to add in OP
Thanks for use it
Click to expand...
Click to collapse
used CM version
Sent from my Moto G using Tapatalk
Working well with C rom 7.0
I installed cm version
Needed to check about battery drop in deep sleep
Btw c rom has became very smooth and no boot lag
where is stock kernel link?
It not ready yet?
asdgonzalez said:
where is stock kernel link?
It not ready yet?
Click to expand...
Click to collapse
No, I have problems whit Stock version, I testing more the ramdisk
Because does not boot in Stock rom (for now)
What one would you suggest for Slim ROM?
Sent from my Moto G using Tapatalk
Totally loving it. Running smooth as butter on crom.
Would it be possible to add faux sound support in the future?
skeetzor said:
What one would you suggest for Slim ROM?
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
Maybe CM_MK or PAC
If not well XPe_PA if not Send me boot.img from Slimkat rom
OC really working? Thanks for contributing!
RenderBroken said:
OC really working? Thanks for contributing!
Click to expand...
Click to collapse
Sure.
Seems like only a ram oc, like on the other kernels. The difference in performance increase isn't noticeable in benchmarks.
Sent from my Moto G using Tapatalk
Is there the 2tap2wake feature??
Rocketval said:
Is there the 2tap2wake feature??
Click to expand...
Click to collapse
You read OP or changelog?
TeamMex said:
You read OP or changelog?
Click to expand...
Click to collapse
Sorry, is it going to be added?

[KERNEL] mainlining Manta kernel

Hi,
I'm trying to port kernel 5.x to the Manta device (Nexus 10). The architecture is arm and the soc is exynos5250. I have no problem with drivers support because there are few similar devices already supported in mainline.
Therfore I started a write a device tree and tried to boot it. Nothing happened. Screens stays blank and device seems to be dead.
I'm looking for ideas. I tried a lot of things already . It's very strange because I would have expected a kernel panic and a reboot. It does nothing at all.
Of course I don't have a serial link. For now I use a small ramdisk image that just reboot the system after a 20 seconds sleep.
I'm wondering if there not a compatibility problem with the old bootloader. Please note that I append the dtb to the zImage and I activated the DTB-ATAGS compatibility options.
I fixed the decompressed kernel address (zreladdr) because the default calculation couldn't work.
I was thinking that my kernel image was a bit too big : I increased the original kernel size using zeroed padding and this one still works very well with my ramdisk.
So I'm a bit confused and I don't really know what I could check right now.
Here is the repo : https://github.com/jmarcgit/manta-mainline
You can find there the current dts and the config file I'm 'using.
I'm merging the default exynos config file with mine therefore it discards a lot of useless options in order to reduce the kernel size and does very few adaptations.
Thanks a lot for your support
Hi,
Happy to see that I'm not the only one trying to accomplish that!
I am not surprised that your reboot script does not work. On my config, the kernel boots without panic, but any call to a sleep/wait function freezes the system. Hence you may want to try to reboot the system without delay.
I cannot remember any compatibility issue with the bootloader.
Please note that you can get a serial link using the audio jack, see here: https://wiki.postmarketos.org/wiki/Serial_debugging:Cable_schematics#Nexus_debug_cable
Then you will have to enable low-level serial (I don't remember the exact name of the kernel option) on TTYSAC2. This has been immensely helpful on my side. Be careful though, as manta uses 1.8V UART.
I will fork your repo to put my config and dts in there as soon as I get some time, so that we can hopefully share, compare and improve our respective progress.
As a follow-up, I ran your configuration on my Manta (I only made the changes to get the serial console and added a missing fixed-clock node in the DTS that made the kernel panic in an early stage, see my fork here https://github.com/alexmrqt/manta-mainline/tree/8bf3528c1f9d9fb5eeb478901a88c495cacf5247).
With that, the device reboots after some times (but it is due to a kernel issue, as I used another ramdisk that is not supposed to do that).
See the kernel console below.
Code:
Starting kernel at 0x40008000...
AST_POWERON..
DEVICEINFO;R32D2042RBF;MANTAMF01;8;08:D4:2B:1F:C7:06;08:D4:2B:1F:C7:05;INFODONE
DTB:0x4021CC48 (0x0000A06D)
C:0x400080E0-0x40226E00->0x40682800-0x408A1520
DTB:0x40897368 (0x0000A1AB)
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 5.16.0-rc5-next-20211215 ([email protected]) (armv7-alpine-linux-musleabihf-gcc (Alpine 11.2.1_git20220219) 11.2.1 2022022
CPU: ARMv7 Processor [410fc0f4] revision 4 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
OF: fdt: Machine model: Samsung Nexus 10 (manta)
printk: bootconsole [earlycon0] enabled
Memory policy: Data cache writealloc
Samsung CPU ID: 0x43520210
Zone ranges:
Normal [mem 0x0000000040000000-0x000000004fffffff]
HighMem empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040000000-0x000000004fffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
percpu: Embedded 9 pages/cpu s13136 r0 d23728 u36864
Built 1 zonelists, mobility grouping on. Total pages: 65024
Kernel command line: earlyprintk mem=256M console=ttySAC2,115200n8 PMOS_NO_OUTPUT_REDIRECT s3cfb.bootloaderfb=0x60000000 androidboot5
Unknown kernel command line parameters "PMOS_NO_OUTPUT_REDIRECT", will be passed to user space.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 249628K/262144K available (3072K kernel code, 519K rwdata, 896K rodata, 1024K init, 207K bss, 12516K reserved, 0K cma-reserve)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Preemptible hierarchical RCU implementation.
rcu: RCU event tracing is enabled.
Trampoline variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
random: get_random_bytes called from start_kernel+0x374/0x5e4 with crng_init=0
Exynos5250: clock setup completed, armclk=1000000000
Switching to timer-based delay loop, resolution 41ns
clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
genirq: irq_chip COMBINER did not update eff. affinity mask of irq 57
arch_timer: cp15 timer(s) running at 24.00MHz (virt).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Ignoring duplicate/late registration of read_current_timer delay
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
/cpus/[email protected] missing clock-frequency property
/cpus/[email protected] missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 1 and lim to 1.
Setting up static identity map for 0x40100000 - 0x40100060
rcu: Hierarchical SRCU implementation.
smp: Bringing up secondary CPUs ...
CPU1: failed to boot: -110
smp: Brought up 1 node, 1 CPU
SMP: Total of 1 processors activated (48.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911
Hi Alex,
you did a great step forward ! I definately missed the serial cable.
Do you still work on it ? I think we are close to get it stable now.
Hi Marc,
Yes, I still work on it from time to time.
I got some nice progress since my last post:
- All CPUs now boot (a secure-firmware node was missing)
- WiFi now works
- Access to MMC partitions now works
- USB gadget works, but only when booting via fastboot (which suggests that something prevents the kernel to properly initialize the chip).
No luck getting the display to work so far
I just updated my repo with the last DTS and defconfig I use.
FYI, I do my tests with postmarketos (which allows me to test "advanced" features such as WiFi).
Hi Alex,
that's really great progress...
Does the backlight work ?
I don't have much time now.
Hi Marc,
Good news, I got the screen to work (as well as other things: battery, USB, touchscreen).
The bad news is that it requires some patches to the kernel code.
I included the patches (generated against kernel 6.1.4 from kernel.org) in the "patch" folder here - > https://github.com/alexmrqt/manta-mainline/tree/f4c38a7867f4e0e7481b71f96a0d0b4116b41c0f

Categories

Resources