[bug report] MX Player: sound level jumps when hardware buttons used on my Meizu M2 - Meizu M2 / M2 Mini Questions & Answers

On my smartphone when a video file is played and i use hardware buttons (or swipe the screen up or down) to change the sound level, i get random changes in sound volume (usually it unexpectedly changes in steps from very low to very high and back). Which is very annoying.
Please check out the video i made (links are at the end of the post). At the end of the video you can see that the only way to correctly set the volume level is to use an onscreen bar.
I can not reproduce this bug 100% of time, but it's present almost all the time.
Please feel free to ask me for further information.
MX log collector output (no way i can set it to English, so likely you know the format of it's logfiles):
MX Player 1.7.40 (ARMv7 Neon) from Google Play
OS: Flyme OS 4.5.3I (fork of Android 5.1 )
Smartphone: Meizu M2 mini
=========================
Производитель: Meizu M2 mini
Торговая марка: Meizu
Версия: 5.1 (REL)
Сборка: Meizu/meizu_m2/m2:5.1/LMY47D/1440803404:user/release-keys
Ядро: Linux version 3.10.65+ (@) (gcc version 4.9.x-google 20140827 (mtk-20150409) (GCC) ) #1 SMP PREEMPT Thu Sep 10 15:12:57 CST 2015
CPU: 4 core(s) 1,3 GHz (family:1 features:2047)
Архитектура ЦП: 8 (os.arch: aarch64)
Особенности ЦП: fp asimd aes pmull sha1 sha2 crc32 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt
Платформа: mt6735
Набор инструкций: arm64-v8a armeabi-v7a armeabi
Разрешение: 720 x 1280
Доступный размер экрана (DIP): 360 x 615 (smallest: 360)
Таблет: false
Размер экрана: Normal
Плотность: 2.0 (320)
Размер шрифта: 1.0
Главные хардклавиши: false
Сенсорный экран: true
TV: false
Язык: ru_RU
Всего памяти: 1974724 kB (1974724kB)
Свободно памяти: 18716 kB
=========================
Video with the bug:
dropbox com/s/km4xa2xm8nsymv2/2_300707445125152842.avi?dl=0
log.txt.gz:
dropbox com/s/8oimzglbmi3iijv/log.txt.gz?dl=0
build.prop:
dropbox com/s/gzhwqcv1su5ajrp/build.prop?dl=0

Related

Impressive jbenchmark score with Garmin 1.Final and 3D drivers

These are the scores. Check out jbenchmark.com to compare them to some of the other java 3d capable devices out there.
JBenchmark 2.0 measures the graphical performance of second generation java enabled mobile devices which support the MIDP 2.0 specification. With five new tests:
1. Image manipulation
2. Text reading
3. Game scene (Sprites)
4. 3D transformations with shading
5. User interface
Score : 522
Image manipulation : 598
Text : 2097
Sprites, game scene : 572
3D transformation : 897
User interface : 60 (not sure yet why this is so poor)
JBenchmark 3D is our 3rd graphical benchmark and measures the 3D performance of mobile java (J2ME) devices.
It contains 4 subtests:
1. Triangle throughput
2. Texturing performance
3. Low Quality Gaming Scene for low capacity software based 3D engines
4. High Quality Gaming Scene for hardware 3D accelerated, top performance devices
JBenchmark3D High Quality : 309
JBenchmark3D Low Quality : 340
Triangle troughput : 61099
Fill rate : 4690
JBenchmark HD
Measures 3D rendering quality, not just performance
Uploads device rendered screenshot for easy visual inspection
High level gaming benchmark with complex skeletal animation and stunning lighting effects
Low level tests measure multi-texturing fill rate and textured triangle throughput
Gaming score: 203 (6.7 fps)
Smooth triangles : 80774
Textured triangles : 47475
Fill rate : 1229 kTexels
Bilinear filtering : 66% (Failure)
Trilinear filtering : Failed/Not supported
Sub-pixel precise perspective correction : 64% (Failure)
Z-buffer depth : 16bit (Success)
How I got my scores:
Installed Garmin 1.Final from here http://forum.xda-developers.com/showthread.php?t=404276
Installed 3D drivers from http://www.htcclassaction.org
Installed Esmertec Jbed 3.1 with 3D and M3G capabilities from http://forum.xda-developers.com/showpost.php?p=2127317&postcount=65
JBenchmark Pro results
Test results CPU Subtests
Game Physics 483
XML parsing 245
ZIP compression 72
Shortest Route Search 89
Business math 322
Chess 82
Image Processing 90
Test results 2D Graphics Subtests
Business Charts 730 Frames
MIDP2 Game - MQ 1603 Frames
Map 931 Frames
MIDP2 Game - LQ 2265 Frames
MIDP2 Imaging - MQ 157 Frames
MIDP2 Imaging - HQ 157 Frames
MIDP1 Game 734 Frames
MIDP2 Game - HQ 1169 Frames
MIDP2 Imaging - LQ 169 Frames
Test results 3D Low Level Subtests
Sprites: Fill Rate 118 Frames
3D Rendering Quality: Bilinear Filter 67%
Scopes: OFF 85 Frames
3D Rendering Quality: Z-buffer Precision 99.9%
Lights: Ambient x 1 107268 Triangles/s
Sprites: Scaling 187 Frames
Lights: Parallel x 8 60274 Triangles/s
Texture Filter: NEAREST + NEAREST 85814 Triangles/s
Lights: Omni x 1 66404 Triangles/s
3D Rendering Quality: Sub Pixel Precision 60%
SkinnedMesh: Few Bones 298 Frames
Texture Size: 256x256 87857 Triangles/s
Texture Size: 512x512 86836 Triangles/s
Rendering 2D over 3D 64360 Triangles/s
3D Rendering Quality: Trilinear Filter 47%
Texture Size: 128x128 88879 Triangles/s
MorphingMesh 218 Frames
Picking: Mesh 92
Texture Filter: BASE + NEAREST 88879 Triangles/s
Texture Filter: NEAREST + LINEAR 87857 Triangles/s
Fill Rate: Single-textured, 4x1 983 kTexels/s
Texture Filter: BASE + LINEAR 86836 Triangles/s
Lights: Parallel x 2 70490 Triangles/s
3D Rendering Quality: Perspective Correction 96%
Texture Filter: LINEAR + NEAREST 84792 Triangles/s
Texture Filter: LINEAR + LINEAR 85814 Triangles/s
Lights: Spot x 1 69468 Triangles/s
Texture Size: 1024x1024 Failed / Not supported
Fill Rate: Multi-textured, 4x2 1413 kTexels/s
Scopes: ON 85 Frames
Lights: Parallel x 4 63339 Triangles/s
Picking: Sprites 529
Fill Rate: Multi-Textured, 2x2 1352 kTexels/s
Rendering 3D over 2D 63339 Triangles/s
Texture Size: 64x64 87857 Triangles/s
SkinnedMesh: Many Bones 196 Frames
Lights: Parallel x 1 70490 Triangles/s
Test results Composite Performance Subtests
Composite CarRace - HQ Failed / Not supported
Composite MIDP2 Game - HQ 918 Frames
Composite MIDP2 Game - LQ 1830 Frames
Photo Galery - LQ 578 Frames
Composite MIDP2 Game - MQ 1228 Frames
Composite M3G FPS - HQ Failed / Not supported
Photo Galery - HQ 370 Frames
Composite MIDP1 Game 570 Frames
Composite Business - HQ 376 Frames
Route planner 529 Frames
Photo Galery - MQ 505 Frames
Composite M3G FPS - MQ Failed / Not supported
Composite Business - MQ 614 Frames
Composite CarRace - MQ Failed / Not supported
Composite CarRace - LQ 360 Frames
Composite Business - LQ 1074 Frames
Composite M3G FPS - LQ 141 Frames
Test results 3D Graphics Subtests
M3G FPS - HQ Failed / Not supported
M3G FPS - MQ Failed / Not supported
M3G CarRace - MQ Failed / Not supported
M3G FPS - LQ 247 Frames
M3G CarRace - LQ 643 Frames
M3G CarRace - HQ Failed / Not supported
Test results User Experience
M3G loading 172
Image loading (PNG) 152
RMS read-write 174
JAR reading 1785
Image loading (JPG) 55
Audio - MIDI 90
Camera Shooting Speed Failed / Not supported
Video - 3GPP Failed / Not supported
Audio - MP3 Failed / Not supported
Better not make another separated thread with benchmarks... As I stated - I want to implement JBenchmark in future relase of my benchmark.

[Q] Boot to gecko

is it possible to get boot to gecko running on the droid
https://wiki.mozilla.org/B2G
https://wiki.mozilla.org/B2G/HardwareRequirements
Boot to Gecko Hardware Requirements
Minimum Required:
CPU: ARMv6
RAM: 256MB
Recommended:
CPU: Cortex A5 class or better, ARMv7a with NEON
GPU: Adreno 200 class or better
Connectivity: WiFi and 3g
Sensors:
Accelerometer
Proximity
Ambient light
A-GPS
with this being said it be nice to play with on the droid

Nokia Lumia 810 prototype?

Hey guys I currently have a Nokia Lumia 810 Prototype but cannot perform the OTA update. Is there a way to manually update the OS? The specs are identical to my other 810.
Phone
Model: NOKIA RM-878_nam_usa_100
Time: Saturday, March 23, 2013 ● 3:53:56 PM
Time zone: UTC-08
Turned on since: Saturday, March 23, 2013 ● 10:40:08 AM
Operating time: 5 hours, 13 minutes and 47 seconds
Screen resolution: 480 × 800 (scaled)
Display language: English (United States)
Region format: English (United States)
OS version: 8.0.9903.0
.NET CLR version: 4.0.50829.0
Firmware version: 1532.2105.1241.1001
Hardware version: 1.0.0.0
Device ID:
Live ID:
Storage
Total memory: 898.39 MB
Available storage: 4.51 GB
Songs: 0
Number of pictures: 13
Pictures size: 5.19 MB
Music
# Time %
Songs: 0 00:00:00 100.0
Never played: 0 00:00:00 0.0
Rated: 0 00:00:00 0.0
Protected: 0 00:00:00 0.0
Total play count: 0 00:00:00
Genres # Time %
Hardware
Main camera: 8 MP (3,264 × 2,448)
Front camera: 1.2 MP (1,280 × 960)
Compass: Yes
Accelerometer: Yes
Gyroscope: Yes
GPS (Disabled on device)
Location: -
Accuracy (h | v): -
Altitude: -
Speed & course: -
Network
Cellular operator: T-Mobile
Cellular data roaming: No
Data enabled: Yes
Connection interface: WiFi
SSID: INDREMA
Bandwidth capacity: 286.1 Mbps
Ext. IP address:
Local IP address:

GLBenchmark 2.5 ICS VS JB Nice

HTML:
GLBenchmark 2.5 Result Details ICS JB
Fill rate - Offscreen (1080p) : 395 MTexels/s 467 MTexels/s
Fill rate - Onscreen : 390 MTexels/s 435 MTexels/s
2.1 Egypt:
HTML:
Classic - Offscreen (1080p) : 3429 Frames (30.3 Fps) 3630 Frames (32.1 Fps)
Classic - Onscreen 5791 Frames (51.2 Fps) 5778 Frames (51.1 Fps)
2.5 Egypt HD:
HTML:
C24Z16 - Offscreen (1080p) : 950 Frames (8.4 Fps) 1187 Frames (10.5 Fps)
C24Z16 - Onscreen : 1315 Frames (11.6 Fps) 1748 Frames (15.5 Fps)
Fixed Timestep Offscreen(1080p) 155254 ms (7.3 Fps) 124146 ms (9.1 Fps)
Fixed Timestep - Onscreen : 116584 ms (9.7 Fps) 87471 ms (12.9 Fps)
Triangle throughput: Textured:
HTML:
Offscreen (1080p) : 29 MTriangles/s 43 MTriangles/s
Onscreen : 29 MTriangles/s 43 MTriangles/s
fragment lit - Offscreen (1080p): 26 MTriangles/s 27 MTriangles/s
fragment lit - Onscreen : 26 MTriangles/s 27 MTriangles/s
vertex lit - Offscreen (1080p): 22 MTriangles/s 28 MTriangles/s
vertex lit - Onscreen : 22 MTriangles/s 27 MTriangles/s
Impressive :victory:
future81 said:
HTML:
GLBenchmark 2.5 Result Details ICS JB
Fill rate - Offscreen (1080p) : 395 MTexels/s 467 MTexels/s
Fill rate - Onscreen : 390 MTexels/s 435 MTexels/s
2.1 Egypt:
HTML:
Classic - Offscreen (1080p) : 3429 Frames (30.3 Fps) 3630 Frames (32.1 Fps)
Classic - Onscreen 5791 Frames (51.2 Fps) 5778 Frames (51.1 Fps)
2.5 Egypt HD:
HTML:
C24Z16 - Offscreen (1080p) : 950 Frames (8.4 Fps) 1187 Frames (10.5 Fps)
C24Z16 - Onscreen : 1315 Frames (11.6 Fps) 1748 Frames (15.5 Fps)
Fixed Timestep Offscreen(1080p) 155254 ms (7.3 Fps) 124146 ms (9.1 Fps)
Fixed Timestep - Onscreen : 116584 ms (9.7 Fps) 87471 ms (12.9 Fps)
Triangle throughput: Textured:
HTML:
Offscreen (1080p) : 29 MTriangles/s 43 MTriangles/s
Onscreen : 29 MTriangles/s 43 MTriangles/s
fragment lit - Offscreen (1080p): 26 MTriangles/s 27 MTriangles/s
fragment lit - Onscreen : 26 MTriangles/s 27 MTriangles/s
vertex lit - Offscreen (1080p): 22 MTriangles/s 28 MTriangles/s
vertex lit - Onscreen : 22 MTriangles/s 27 MTriangles/s
Impressive :victory:
Click to expand...
Click to collapse
Impresive hahahahahahahahaha, Nexus 4 on GL 2.7 onscreen T-Rex gets 20fps and 4X gets cca. 5fps owned by 400% 400% Nvidia fail hahahahahaha impresive my as*...
i'm talking about the gain with the same hardware, its good to have this improvement - i used 2.5 because its what i've ICS results for - if any1 tested 2.7 on both its good to show if theres any improvement
I hate benchmarks. They mean f#ck all. Games still lag. v10d was best, but I CBA to backup 10gb of sdcard data just to flash it again. Also jellybean has some sexy features hope lg email me back with proper bootloader instructions for 234, only a custom rom can fix our issues.
Sent from my rooted P880
@non4 said:
I hate benchmarks. They mean f#ck all. Games still lag. v10d was best, but I CBA to backup 10gb of sdcard data just to flash it again. Also jellybean has some sexy features hope lg email me back with proper bootloader instructions for 234, only a custom rom can fix our issues.
Sent from my rooted P880
Click to expand...
Click to collapse
AGBR rom seems not be the same as ANEU/DEU/... Maybe when it gets out you'll be able to unlock.
Vosetal said:
AGBR rom seems not be the same as ANEU/DEU/... Maybe when it gets out you'll be able to unlock.
Click to expand...
Click to collapse
Dunno, I can't even try because adb won't pickup my device in bootloader despite fastboot drivers being installed
Sent from my rooted P880
@non4 said:
Dunno, I can't even try because adb won't pickup my device in bootloader despite fastboot drivers being installed
Sent from my rooted P880
Click to expand...
Click to collapse
Do we have an officiall update for UK yet. ( Sorry for OT)

[Kernel][GPL][4.4.1/2][Jan 12][0.1.3] m_plus kernel for mako

m_plus kernel for Nexus 4 (mako)!
Hi All,
After deciding to more or less abandon m_plus for 4.3 due to issues with JSS and JWR build compatibility, I have returned to work on it for 4.4. Google has now pushed the official sources for KitKat so the fun begins.
Disclaimer: As usual, I am not responsible for anything that may or may not happen to your device as a result of using this kernel or any other flashable zips posted by me in this thread.
Kernel Features:
Based on the latest Google Source for 4.4.1 (no changes were made to the kernel for 4.4.2)
Built with the Linaro 4.7 toolchain (2013.11)
Undervolt Interface (Undervolt to 600mV)
Gamma Control Interface (faux123 & _motley interfaces only)
USB fast charge
KGSL Simple GPU governor
Dynamic fsync
Faux Sound v3.2
Krait Retention for Mako
TCP Congestion Control (veno (default), reno, bic, westwood, vegas, yeah, illinois, cubic)
Builds:
Sources: https://github.com/thracemerin/kernel-Nexus4/tree/m_plus_44_exp
Personal Request: If you plan to make unofficial builds with features not included in the builds posted by me, please don't link them in the thread, all this does is result in confusion especially if someone has a problem with something you have added, it is much easier for me to provide support if I know that everyone in the thread is running the same builds I am. If you want to make a kernel with these features, feel free to start another thread so that they can be discussed and supported as appropriate.
Note: Starting with build 0.1.0, m_plus will go back to being distributed as a flashable zip, it will come in 2 versions. Zips with names ending in _any are anykernel versions and should work on any ROM even those with a modified ramdisk, zips with names ending in _rd come packed with the stock ramdisk for those on pure stock who want to have insecure ramdisk and init.d support.
Regarding CM Compatibility: Starting with build 0.1.1, m_plus will be compatible with CM, zips with names ending in _cm will be compatible with CyanogenMod 11 on an experimental basis, this is no guarantee that every CM feature will work with these builds, nor is it a guarantee that I will continue to support CM depending on what they do with their kernel that may or may not make it incompatible.
CM Compatible Source: https://github.com/thracemerin/kernel-Nexus4/tree/m_plus_44_cm
Latest:
m_plus-0.1.3 January 12, 2014
Changes:
Fix for s2w being active with s2sonly and dt2w (thanks to show-p1984)
Previous Versions
m_plus-0.1.2 January 7, 2014
Changes:
GPU governor reverted to ondemand (if you prefer simple, see post 2)
Sweep2Wake, Doubletap2Wake, Sweep2Sleep only
kexec hardboot for multiROM support
m_plus-0.1.1 December 18, 2013
Changes:
TCP Congestion Control (added veno (default), reno, bic, westwood, vegas, yeah, illinois)
Faux Sound v3.2
m_plus-0.1.0 December 6, 2013
Changes:
Added Krait Retention for Mako (thanks faux123)
Updated sources to AOSP (android-msm-mako-3.4-kitkat-mr1)
test 5 (named boot6.img) November 28, 2013
Changes:
Updated faux sound to v3
test 4 (named boot5.img) November 23, 2013
Changes:
Dynamic fsync
Faux Sound including PowerAmp
test 3 (named boot4.img) November 22, 2013
Changes:
USB fast charge
KGSL Simple GPU governor (thanks to faux123)
test 2 (named boot3.img) November 21, 2013
Changes:
Insecure ramdisk
Enabled init.d support in the ramdisk (in order for it to work you must have busybox installed to /system/xbin and you must create the directory /system/etc/init.d)
Added Undervolt Interface
Added Gamma Control Interface (faux123 & _motley interfaces only)
See the download section tab at the top of this page.
Or see here: http://forum.xda-developers.com/devdb/project/?id=1660#downloads
Bug Reports:
Use the Bug Report feature at the top of this page.
Thanks:
Google
LG
Qualcomm/CodeAurora
CyanogenMod
_motley
faux123
show-p1984
franciscofranco
stratosk
anyone else I failed to mention (if you feel as though you deserved to be thanked by name, please PM me)
XDA:DevDB Information
m_plus kernel for mako, a Kernel for the Google Nexus 4
Contributors
thracemerin
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 0.1.0
Beta Release Date: 2013-12-06
Created 2013-11-20
Last Updated 2014-01-12
Setting custom Gamma settings via sysfs - thanks to faux123 for sharing his code
Warning: changing these values can be potentially be dangerous to your display if you make a mistake.
Important, please read!
There are ten digits in the string separated by one space
First digit is a checksum and is never stored. The checksum is simply the sum of the other 9 numbers. This is to make it harder to so the interface is respected and you are forced to think about what you are doing.
There are 3 sysfs interfaces for gamma, one for each color:
Code:
#!/system/bin/sh
# Show the current configuration and the checksum
cat /sys/devices/platform/mipi_lgit.1537/kgamma_red
cat /sys/devices/platform/mipi_lgit.1537/kgamma_green
cat /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Update:
Recently molesarecoming started opening this up and showing us what the values can be used to adjust. Franco then suggested that the white and grays should be swapped in moles original work. So, for init.d values using this interface, we have the following "banks" if values if we agree with Franco on the swap of the whites and grays.
Code:
R: checksum, g_white, g_mids, g_black, 0, g_contrast, g_brightness, g_saturation, g_grey, 2
G: checksum, g_white, g_mids, g_black, 0, g_contrast, g_brightness, g_saturation, g_grey, 2
B: checksum, g_white, g_mids, g_black, 0, g_contrast, g_brightness, g_saturation, g_grey, 2
(the zero in position 5's and the 2's in position 10 are recommended to be left alone since they are currently unknowns)
Minus the checksum, the 27 values mirror the 3 color arrays (3 x 9 = 27) in the actual LG LCD driver. Minus the unknowns, we are left with 21 values. Note that every one of the variables can have their value tweaked by color (saturation for red, saturation for green etc.), however, it is recommended that you start with all the values of one type being the same and then tweak from there if you really want to fine tune.
You have a lot of power in your hands even without fine tuning. Many will argue that fine tuning isn't required. If you look at the stock settings by Google in post 2, they took advantage of fine tuning for whatever reason. Even though many don't like these settings by Google, it shows how flexible the interface can be.
Instructions:
1) Start with a preset config (LG or Google) as shown further below. This is a set of 3 lines, 10 numbers for each line.
2) Tweak columns for their values as above. For example, we tweak contrast and brightness as in faux's original app. We could also do the same for saturation, blacks, whites, grays etc.
Example: start with LG presets with numbers to adjust:
Code:
383 114 21 118 0 10 4 80 48 2
383 114 21 118 0 7 4 80 48 2
383 114 21 118 0 5 1 80 48 2
3) Now update the checksum in column 1 (first digit = sum of last 9 digits)
Code:
397 114 21 118 0 10 4 80 48 2
394 114 21 118 0 7 4 80 48 2
389 114 21 118 0 5 1 80 48 2
4) Create a script inside a text file - my recommendation for your first test
Code:
#!/system/bin/sh
# Set data color pro presets from shared Google spreadsheet (thanks user acer73!)
# Use LG presents as your starting values and then adjust columns 6 & 7 from the spreadsheet
echo "397 114 21 118 0 10 4 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "394 114 21 118 0 7 4 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "389 114 21 118 0 5 1 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
#Set the complimentary RGB values for this calibration
echo "248 248 248" > /sys/devices/platform/kcal_ctrl.0/kcal
echo 1 > /sys/devices/platform/kcal_ctrl.0/kcal_ctrl
5) Run the script (or you can echo each line manually to test from adb if you prefer).
6) Turn the screen off and on for the gamma change to take effect.
7) Check the dmesg output for any clues and to see the output of the result.
8) Place the script into your /system/etc/init.d/ folder (or equivalent) for a permanent color change!
Screen refresh - this should only be called by apps or scripts while adjusting and testing colors "live" with the motley or faux sysfs interface. It should NOT be implemented on startup via init.d or by apps since it will compete with the normal power on process.
Code:
echo 1 > /sys/devices/platform/mipi_lgit.1537/refresh_screen
Presets:
Code:
#!/system/bin/sh
# Set LG presets (motley stock) - i.e. popular partial revert of Google's tweaks just before release
echo "383 114 21 118 0 0 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "383 114 21 118 0 0 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "383 114 21 118 0 0 0 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Code:
#!/system/bin/sh
# Set stock Google presets (from kernel source code)
echo "332 64 68 118 1 0 0 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "332 64 68 118 1 0 0 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "364 32 35 116 0 31 16 80 51 3" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Code:
#!/system/bin/sh
# Set faux Google presets (not sure why his numbers differ)
echo "460 64 68 118 1 32 96 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "461 64 68 118 1 33 96 48 32 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "445 32 35 116 0 32 96 80 51 3" > /sys/devices/platform/mipi_lgit.1537/kgamma_blue
Voltage Control
Warning: Every chip is different, even those from the same bin may handle undervolting differently, proceed with caution until you know that your device can handle it.
Note: The minimum allowable undervolt is 600mV for all frequencies (this doesn't mean your device can handle this low voltage, see above)
The voltage table can be viewed by typing the following:
Code:
cat /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
To make changes do the following:
Code:
echo 'X Y' > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
For example: (set the voltage for 384MHz to 850mV)
Code:
echo '384000 850000' > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
For those of you who are interested, here are the default voltage tables from Motley b49: https://docs.google.com/spreadsheet/ccc?key=0AlgoC5O8VXsLdFU4U2xnSUxwUlNyQ05TVHF3ZDJCdXc&usp=sharing
USB Fast Charge
Turn on: (off by default)
Code:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
Turn Off:
Code:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
Simple GPU Governor Tunables - Thanks to faux123
Switching the governor: (options are simple, ondemand (default) & performance)
Code:
echo 'ondemand' > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor
Simple tunables:
Code:
/sys/module/msm_kgsl_core/parameters/simple_laziness
Laziness: Adjusts the number of times the governor skips ramp down requests. (Higher = better performance, higher battery drain)
Code:
/sys/module/msm_kgsl_core/parameters/simple_ramp_threshold
Threshold: Adjusts the threshold to ramp up or down the GPU frequencies. (Lower = better performance, higher battery drain)
C State Information
(thanks to faux123 - more info here: https://plus.google.com/109078966818501160423/posts/9R8fjQdHDXD)
faux123 recommends C0, C1 and C3 here: http://forum.xda-developers.com/showpost.php?p=40151528&postcount=9775
C0 (WFI) - Shallowest Sleep (default enabled)
Code:
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/wfi/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/wfi/idle_enabled
C1 (Retention) - slightly deeper sleep
Code:
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
C2 (Stand Alone Power Collapse) - deeper sleep
Code:
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
C3 (Power Collapse) - deepest sleep
Code:
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
TCP Congestion Control
Options: veno (default), reno, bic, westwood, vegas, yeah, illinois, cubic
Code:
echo 'cubic' > /proc/sys/net/ipv4/tcp_congestion_control
Sweep2Wake, Doubletap2Wake, Sweep2Sleep only
Sweep2Wake: (1 enable, 0 disable)
Code:
echo 1 > /sys/android_touch/sweep2wake
Doubletap2Wake: (1 enable, 0 disable)
Code:
echo 1 > /sys/android_touch/doubletap2wake
Sweep2Sleep Only: (1 enable, 0 disable) (sweep2wake must be enabled)
Code:
echo 1 > /sys/android_touch/s2w_s2sonly
Frequently Asked Questions
Q: My battery life has significantly decreased vs stock, why would this be?
A: It would be rather foolish of me to create a custom kernel that decreases battery life. In my experience battery life issues are generally related to something in userspace rather than in the kernel. My suggestion is to get Better Battery Stats (there are kitkat versions in the XDA thread) and provide a dumpfile of a few hours worth of idle/standard use for me to look at so that I can help you identify the problem, if it is in fact an issue with the kernel I will do my best to fix it.
Q: I got a random reboot, freeze, sleep of death, other bug, what do I do?
A: Please review this post: http://forum.xda-developers.com/showpost.php?p=23036410&postcount=1 and provide appropriate logs in the bug report tab at the top of the thread. I strongly advise that you remove your undervolt (if any) and attempt to reproduce the situation before posting as too much undervolting is often the cause.
Q: I saw a feature in another kernel that I'd really like for you to add to this one, how can I ask you to do that?
A: Go ahead and post it in the thread and I'll take a look, keep in mind that I would prefer to avoid filling the kernel with features that will be used by a very small number of users.
Test build 1 posted (boot.img format only until we're a little further along), see Download tab at the top of the thread.
It's basically just stock built with linaro, as a test to ensure everything went well. Builds with features will be coming shortly
Happy Flashing. :victory:
Note: This kernel is based on sources pushed for KRT16S, I'm not sure whether there will be problems with KRT16O or KRT16M builds as I didn't test them, the only problem that might be anticipated is that prima wlan was updated from 3.2.3.10 to 3.2.3.11 which may make WiFi not work, if this is the case let me know and I can put together a fix for that particular issue.
Loved your work .
Nice!
Awesome
{
"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"
}
[DEVICE:NEXUS⁴][ROM:BEERGANG][KERNEL:AK]​
Subscribed! Thank you for continuing the m_plus kernel @thracemerin
Feels like home again. Thanks thracemerin!
Sent from my Nexus 7 using Tapatalk 4
I'm using this right now, on KRT16O build. No problems with WiFi so far. :good:
saibz said:
I'm using this right now, on KRT16O build. No problems with WiFi so far. :good:
Click to expand...
Click to collapse
Good to know, thanks!
Sent from my Nexus 7 using Tapatalk 4
Long time no see!
Sent with Virtue
Finally! Was waiting for this thanks!
Sent from my Nexus 4 using Tapatalk
Nice to see familiar names here. Loyal user base here
Sent from my Nexus 4 using Tapatalk
Awesome, was using your kernel on 4.3, now on psx 4.4 so looking forward to trying this on that
Sent from my Nexus 4 using Tapatalk
One of the best kernels!Keep up the good work!:thumbup:
Keeping in mind the design principles of the previous m_plus versions (4.2.x and 4.3), what features would you guys like to see for 4.4?
thracemerin said:
Keeping in mind the design principles of the previous m_plus versions (4.2.x and 4.3), what features would you guys like to see for 4.4?
Click to expand...
Click to collapse
Undervolting (down to 600mV)
Dynamic fsync
Hotplug (control max. online CPUs)
Not sure if this is a feature which can be implemented in kernel. But I hate the Android default brightness control. You have to decide whether you use auto-brightness or manual one. I would like to see some control over auto-brightness as well. For example in many light conditions I would like to use a lower brightness than what is provided by auto-brightness. But when I go for manual brightness then I cannot even find the brightness control when I step out into the sunlight. So actually I would prefer to have auto-brightness but control the lower and upper limits and adjust the brightness adjustment sensitivity. Of course this would require also a change on the ROM since the ROM controls will disable brightness control when auto-brightness is active. But perhaps tuning the algorithm variables could be done via kernel variables or by very simple app then.
I just migrated to KRT16S factory image and looking forward to test this kernel.
These are just the features I would love most to see. Keep up the great work! Many thanks to you and also all the other kernel hackers allowing us to fine-tune where the Google default stops.
SkyBeam2048 said:
Undervolting (down to 600mV)
Dynamic fsync
Hotplug (control max. online CPUs)
Not sure if this is a feature which can be implemented in kernel. But I hate the Android default brightness control. You have to decide whether you use auto-brightness or manual one. I would like to see some control over auto-brightness as well. For example in many light conditions I would like to use a lower brightness than what is provided by auto-brightness. But when I go for manual brightness then I cannot even find the brightness control when I step out into the sunlight. So actually I would prefer to have auto-brightness but control the lower and upper limits and adjust the brightness adjustment sensitivity. Of course this would require also a change on the ROM since the ROM controls will disable brightness control when auto-brightness is active. But perhaps tuning the algorithm variables could be done via kernel variables or by very simple app then.
I just migrated to KRT16S factory image and looking forward to test this kernel.
These are just the features I would love most to see. Keep up the great work! Many thanks to you and also all the other kernel hackers allowing us to fine-tune where the Google default stops.
Click to expand...
Click to collapse
The 3 things you listed are things that make my list too.
As far as the auto-brightness, this is mostly handled by the OS, though I have noticed that stratosk did some tweaks to the kernel side driver that could result in better auto-brightness, I'll look into that one.
thracemerin said:
The 3 things you listed are things that make my list too.
As far as the auto-brightness, this is mostly handled by the OS, though I have noticed that stratosk did some tweaks to the kernel side driver that could result in better auto-brightness, I'll look into that one.
Click to expand...
Click to collapse
Don't forget gamma hack(faux's) and fauxsound and keep it ass minimal as possible just like on 4.3 :thumbup:

Categories

Resources