Related
{
"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"
}
Hello people!
After 1 month of continuous work, I am here with first kernel ever for Micromax A110.
Kernel is only compatible with ICS ROMs with exception to Lewa OS, there will be JB version of it when Wiko releases source code
Lets get to features:
General features
*. Compiled with latest optimized Linaro 4.7 toolchain
*. Compiled vfp with neon
*. LZMA compression for kernel. Size 4.2MB ==> 3.2 MB
CPU
*. Overclocked upto 1.4 Ghz [Experimental and still a WIP]
*. Performance governor patched to open up both cores[Andreilux]
*. Activated Interactive governor
*. Added 5 new governors: Smartass2, Pegasusq, Lulzactiveq, Hotplug, ZZmoove. Total 12 now
* Activated and tweaked conservative governor
Database
*. Added 4 new IO schedulers: BFQv6, V(R), SIO, ZEN. Total 7 now
*. Fsync control by Ezekeel
*. Asynchronous I/O latency to a solid-state disk greatly increased.
*. Disabled GENTLE_FAIR_SLEEPERS
*. Enabled ARCH_POWER
Memory Management
*. Lowered Android logger size
*. Optimized LMK
*. SWAP support
*. Lowered vfs cache pressure size to 20
*. Optimized VM parameters
*. Optimized memcopy and memmove algorithm
*. Tweaked SLUB allocator
Algorithms
*. Optimized CRC32 Algorithm
*. Optimized RWSEM Algorithm
*. Removed old SHA1 routines
*. Optimized git implementation for SHA1
*. Optimized swahb32() byteswap helpers
*. Optimized AES and SHA1 routines
*. Optimized glibc version of string
Network
*. Proportional Rate Reduction for TCP by Google.
*. Enabled 6 new TCP Congestion controls viz. Westwood, Vegas, BIC, HSTCP, HTCP
*. Set westood as default from cubic.
Miscellaneous features
*. NTFS Filesystem support for USB OTG
*. CIFS support added
*. Cleancache enabled
*. Removed Framepointer.
*. Increase READ_AHEAD size to 1024kb
*. Fine tuned CFS parameters
*. Enabled Autogrouping of Schedulers
*. Erase memory pages as soon as they are freed to prevent new processes getting old information
*. Added frandom (Fast kernel number generator) driver
*. Plethora of optimizations to EXT4 filesystem
*. NOATIME and NODIRATIME by default
*. Patch for depleting Entropy pool
Screenshots:
Thanks to sheshuvadrevu and suhas.holla for the intensive testing
Thanks to DD-Ripper - logo designer
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
Downloads
v1.1
BOOT IMAGE
boot.img
Click to expand...
Click to collapse
v1.0
BOOT IMAGE
boot.img
FLASHABLE ZIP Thanks to VipinKC
http://forum.xda-developers.com/showpost.php?p=38823952&postcount=34
Click to expand...
Click to collapse
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
Controllers
CPU
You can use any CPU controlling app to overclock.
It has been reported that OC is doing nothing in some ICS ROMS
This is still a work in progress and is not completely effective yet.
FSYNC
Fsync stands for file sync. Disabling it boosts the performance, responsiveness and database.
You can see increase in database score in AnTuTu and IO in quadrant
Warning: Disabling has a side effect of a possible data loss whose chances are 1/1000. So disable it and enjoy the snappy phone
How to disable
Code:
echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled
Use 1 to enable it. In this kernel its enabled by default
Network tuning
I have enabled good amount of TCP congestion controls. You can use them according to your need
How to use
Code:
echo "NAME_OF_CONTROL_IN_LOWER_CASE" > /proc/sys/net/ipv4/tcp_congestion_control
e.g echo "bic" > /proc/sys/net/ipv4/tcp_congestion_control
Check this chart to see what suits you best
Latency - Download - Upload
cubic:
1st run: 15ms - 10,75Mbps - 7,82Mbps
2nd run: 14ms - 10,84Mbps - 8,06Mbps
reno:
1st run: 13ms - 15,51Mbps - 6,73Mbps
2nd run: 13ms - 14,73Mbps - 8,51Mbps
bic:
1st run: 12ms - 10,38Mbps - 8,61Mbps
2nd run: 13ms - 10,78Mbps - 8,62Mbps
westwood:
1st run: 11ms - 17,65Mbps - 8,30Mbps
2nd run: 13ms - 13,28Mbps - 8,29Mbps
highspeed:
1st run: 13ms - 10,76Mbps - 7,94Mbps
2nd run: 16ms - 14,42Mbps - 8,52Mbps
hybla:
1st run: 14ms - 11,19Mbps - 7,44Mbps
2nd run: 14ms - 13,47Mbps - 7,56Mbps
htcp:
1st run: 14ms - 13,24Mbps - 7,03Mbps
2nd run: 15ms - 10,85Mbps - 8,00Mbps
vegas:
1st run: 14ms - 8,49Mbps - 6,62Mbps
2nd run: 14ms - 12,00Mbps - 7,07Mbps
veno:
1st run: 13ms - 9,58Mbps - 8,13Mbps
2nd run: 13ms - 8,50Mbps - 7,64Mbps
scalable:
1st run: 18ms - 12,01Mbps - 8,73Mbps
2nd run: 14ms - 13,96Mbps - 8,23Mbps
lp:
1st run: 14ms - 14,90Mbps - 8,68Mbps
2nd run: 14ms - 13,44Mbps - 8,72Mbps
yeah:
1st run: 14ms - 13,37Mbps - 8,28Mbps
2nd run: 17ms - 13,89Mbps - 8,14Mbps
illinois:
1st run: 13ms - 12,93Mbps - 8,24Mbps
2nd run: 16ms - 13,97Mbps - 6,46Mbps
Click to expand...
Click to collapse
Governors and IO Scheduler
Refer below thread to know everything about governors & IO Schedulers and which governor does what.
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Personally for better performance I recommend
Code:
pegasusq + sio
And for battery
Code:
Zzmoove + sio
SWAP
SWAP compromises a part of external memory and uses it as a RAM. This is very useful when phone is running RAM hogging tasks as you get relatively more RAM with this feature.
To use this, you need to partition your sdcard in recovery(for now only TWRP for A110 has this feature) with SWAP size of what you need. 32MB is most recommended, you can use higher if you need more RAM.
How to activate after partitioning
In adb shell or terminal emulator type
Code:
mkswap /dev/block/mmcblk1p3
then type
Code:
swapon /dev/block/mmcblk1p3
Note: If you also partition your sdcard for EXT i.e if you have 3 partitions- Main+EXT+SWAP then use above commands as they are. But if you only do SWAP i.e Main+SWAP then change the block address to mmcblk1p2
Type
Code:
free
, SWAP value should be greater than 0 which means its activated
And at last, a warning, too much use of SWAP degrades life of sdcard
All above controls will get reset after reboot. So as to make them persistent, you can create a init.d script
Here is how
Create an empty text file and add this to the top of it
Code:
#!/system/bin/sh
Then on next line add whatever controls you want
e.g If I want Fsync disabled + vegas as TCP congestion control + SWAP then my init.d script will look like
Code:
#!/system/bin/sh
# Fsync
echo "0" > /sys/class/misc/fsynccontrol/fsync_enabled
# TCP
echo "vegas" > /proc/sys/net/ipv4/tcp_congestion_control
# SWAP
mkswap /dev/block/mmcblk1p3
swapon /dev/block/mmcblk1p3
You can name it anything, like 01kernel etc
If in problem you can post on the thread.
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
Reserved for changelog
GPL and Kanging
I do support open source and comply with GPL terms
Here is my kernel source in compliance with GPL
https://github.com/varunchitre15/thunderzap_canvas_2
Now if any upcoming kernel merges any of the commits authored by me, show humanity of giving credits on what you used with git authorization.
And regarding inclusion of this kernel in your ROMS is NOT allowed.
Instead add a link to this thread as a recommendation on your thread.
awesome!!
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
Yeppee.
You Rock Varun.. :thumbup:
But where the Download Link ?? :what:
Sent from my Micromax A110 using xda premium
excellent work but how to remove 30 fps cap?
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
Wow you are awesome
Sent from my Micromax A110 using Tapatalk 2
just aswesome...!...well i have to google more than half of the features you added , varun ...
Reserved For My Feedback
Congratulations
varun.chitre15 said:
Hello people!
After 1 month of continuous work, I am here with first kernel ever for Micromax A110.
Kernel is only compatible with ICS ROMs with exception to Lewa OS, there will be JB version of it when Wiko releases source code
Lets get to features:
General features
*. Compiled with latest optimized Linaro 4.7 toolchain
*. Compiled vfp with neon
*. LZMA compression for kernel. Size 4.2MB ==> 3.2 MB
CPU
*. Overclocked upto 1.4 Ghz [Experimental and still a WIP]
*. Performance governor patched to open up both cores[Andreilux]
*. Added 5 new governors: Smartass2, Pegasusq, Lulzactiveq, Hotplug, ZZmoove. Total 11 now
* Activated and tweaked conservative governor
Database
*. Added 4 new IO schedulers: BFQv6, V(R), SIO, ZEN. Total 7 now
*. Fsync control by Ezekeel
*. Asynchronous I/O latency to a solid-state disk greatly increased.
*. Disabled GENTLE_FAIR_SLEEPERS
*. Enabled ARCH_POWER
Memory Management
*. Lowered Android logger size
*. Optimized LMK
*. SWAP support
*. Lowered vfs cache pressure size to 20
*. Optimized VM parameters
*.Optimized memcopy and memmove algorithm
*. Tweaked SLUB allocator
Algorithms
*. Optimized CRC32 Algorithm
*. Optimized RWSEM Algorithm
*. Removed old SHA1 routines
*. Optimized git implementation for SHA1
*. Optimized swahb32() byteswap helpers
*. Optimized AES and SHA1 routines
*. Optimized glibc version of string
Network
*. Proportional Rate Reduction for TCP by Google.
*. Enabled 6 new TCP Congestion controls viz. Westwood, Vegas, BIC, HSTCP, HTCP
*. Set westood as default from cubic.
Miscellaneous features
*. NTFS Filesystem support for USB OTG
*. CIFS support added
*. Cleancache enabled
*. Removed Framepointer.
*. Enabled Autogrouping of Schedulers
*. Added frandom (Fast kernel number generator) driver
*. NOATIME and NODIRATIME by default
*. Patch for depleting Entropy pool
Click to expand...
Click to collapse
Links plzz. Do come up with JB.
ThuϟderZap 1.0 and 1.1 Kernel Flasher
Please find the ThuϟderZap 1.0 and 1.1 Kernel Flasher Zip file
Instructions
1) Download the file to your internal or external card (Root)
2) Reboot to Recovery
3) Go to CWM
4) Install Zip from sdcard
5) Choose Zip from sdcard / Choose Zip from internal sdcard
6) Flash the zip
7) Reboot
8) Enjoy
Code:
Please install the latest version of ThuϟderZap 1.1 Kernel Flasher Zip file.
Please report any bug in this thread.
Reserved. :fingers-crossed:
where is the link bro...
Second post updated with download link
Satya Swaroop said:
Links plzz. Do come up with JB.
Click to expand...
Click to collapse
I wish i would be a moderator , actually working at MadTeam as a moderator i have a bad habit to identify this ^^ kinda post ....
No Offence
Edit:- Sir Please Dont Quote Whole Post it make page ugly, Please delete/ modify your above post and i will soon delete my this post
varun.chitre15 said:
Downloads
http://www.androidfilehost.com/?fid=9390345248346996946
Replace in my kernel flasher zip
Readymade zip coming shortly
Click to expand...
Click to collapse
Easily flashable through sp tool too.
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
varun.chitre15 said:
Second post updated with download link
Click to expand...
Click to collapse
Congratulations on your new achievement
Sent from my Micromax™ A110 using xda app-developers app
Re: [KERNEL][ICS][6th March] ThuϟderZap 1.0 ★ OC ★ Fast and Sleek!
Great work!
Sent from my GT-I5801 using xda app-developers app
KillX Kernel
(version 3.4.7)
/!\ DISCLAIMER: I AM NOT RESPONSIBLE IF YOU BRICK / RUIN YOUR PHONE IN ANY WAY /!\
What is ...?
{
"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"
}
What is USB Force Fast Charge?
This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support.
It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
Click to expand...
Click to collapse
What is I/O Scheduler?
Input/output (I/O) scheduling is a term used to describe the method computer operating systems decide the order that block I/O operations will be submitted to storage volumes.
I/O Scheduling is sometimes called 'disk scheduling'. I/O schedulers can have many purposes depending on the goal of the I/O scheduler, some common goals are:
+ To minimize time wasted by hard disk seeks.
+ To prioritize a certain processes' I/O requests.
+ To give a share of the disk bandwidth to each running process.
+ To guarantee that certain requests will be issued before a particular deadline.
Click to expand...
Click to collapse
What is msm_thermal?
Kernel based 3-phase thermal control.This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bkp
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)
[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)
check_interval_ms = how often shall we check? (sampling rate)
Default: 1000ms = 1sec
Click to expand...
Click to collapse
What is msm_mpdecision?
Kernel based multi core decision
This replaces your /system/bin/mpdecision binary which is ignored in init.rc and renamed by the installer to mpdecision_bkp
+ cpu auto-hotplug/unplug based on system load for MSM multicore cpus [should cpu(x) be online or not?]
+ single core while screen is off
+ extensive sysfs tuneables
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
Code:
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (70)
pause = if something else plugs in the cpu, fall asleep for 3000ms (3 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)
Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.
nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)
Example:
Code:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.
Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value
etc...
The default values are:
NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
Where the position and function of the number equals the result of the above explained formula
Click to expand...
Click to collapse
Features:
Code:
[FONT=Arial Black][SIZE=2]
* /system rw
* support init.d
* adb root
* swap on
* USB Force Fast Charging
* NTFS, CIFS
* sound hack: Beats
* reduce battery usage: RCU_FAST_NO_HZ = ON
* XZ compressed kernel
* latest wwe boot.img-ramdisk
* Volt control (undervolt or overvolt)
* bus speed max 625 Mhz
* zram
* thermalD
* msm_mpdecision
* allow flash LEDs camera to be used at [B]1% battery[/B] (v[SIZE=2]3.2.4 and below[/SIZE])
* allow WiFi networks with low signal to be seen
* frandom support
* sweep2wake
* gpu cmdline
* gpu freq
(3D: 550000000, 500000000, 450000000, 400000000, 300000000, 266667000)
(2D:200000000, 266667000, 300000000)
* I/O Scheduler : noop, deadline, cfq, sio, row, fiops, bfq
* CPU Governor : msm-dcvs, userspace, powersave, ondemand, performance, Lionheart, DanceDance
* OC : 192000~1910000 [/SIZE][/FONT][CENTER][B][FONT=Arial][SIZE=2][FONT=Arial]
Please read Change log for more info.[/FONT][/SIZE][/FONT][/B][/CENTER]
Installation:
[!] Make sure your device is unlocked and you have CWM/TWRP installed
[!] S-OFF
Code:
1. Download the file
2. flash in recovery ( copy to sdcard or use adb sideload )
Reboot n Enjoy
Thank`s to:
Linus Torvalds, showp1984, faux123, Zarboz, dsb9938, elkay, crpalmer, chad0989, codeaurora.org, kernel.org, linux-foundation.org, xda-developers.com, HTC and all kernel and rom dev !!!
Click to expand...
Click to collapse
DNA_JB_KERNEL_2 | LK_DNA | Beastmode-DNA | Droid DNA Cubed
Click to expand...
Click to collapse
Please use and enjoy it, and if you can make a donation of any amount, I'd appreciate it immensely
Change Log
KillX v1.0.1
Code:
Wed Mar 13 01:50:36 MYT 2013 : Initial release
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
FIX:
(compile error)
* msm: kgsl: Reduce cmd buffer size for adreno_iommu_setstate
* ignore -Wmaybe-uninitialized
* DIV usage mismatch
* #warning "TODO: return_address should use unwind tables"
Set:
* disable /system protect
* version 1.0.1
I/O Scheduler:
* SIO
Add:
* support init.d
* adb root
* swap On
(usb)
* Allow skipping device resume during system resume
* Prevent system suspend when HSIC device is active
* Unknown chargers = AC
* USB Force Fast Charging - Use base from Chad Froebel
INFO:
1. Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
KillX v1.2.3
Code:
Mon Mar 18 01:30:34 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
FIX:
* sched : rq->lock recursion
* mmc : possible memory leak
* Make : FIOPS Scheduler
* GPU : speed
Set:
* no git local version change (new version!)
* JIT compiler : packet filters default
* Compiler flags
* linaro -O3 compliance
* Not set, CONFIG_THERMAL_PM8XXX
* version 1.2.3
Add:
* support for Google Snappy compression.
* support for FUDGESWAP
* ThermalD (/sys)
* NTFS, CIFS
I/O Scheduler:
* FIOPS
* ROW
Lib:
* memcopy : use glibc [memcpy memmove efficiency issue]
* string : use glibc version [patch memcpy memmove]
Scheduler:
* autogroup patch group by current user android UID instead of task ID
* compute time-average nr_running / run-queue
CPU:
* allow CPU-based alignment handling
* update cpu_power <--according--> cpu load
* optimized RWSEM algorithm
* crypto : Add optimized AES and SHA1 routines
* sched : Improve scalability via 'CPU buddies'
* msm : acpuclock-krait: NULL terminate L2 table for find_cur_l2_level()
* slab : allocator that focuses on per-CPU scaling, SLQB
BUS:
* speed max -> 600
GPU:
* calc busy interval considering GPU freq as float
Sync:
* do_fsync() -> fget_light()
* dynamic sync control
KillX v1.2.9
Code:
*[I]base on Killx Kernel v1.2.3[/I]*
Mon Mar 25 05:11:37 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Add:
* voltage control
BUS:
* speed max -> 625 MHz
GPU:
* gpu_freq,(bus freq 4) = 500000000
* idle_timeout 10 to HZ/5
* remove strtstp_sleepwake = true
Set:
* FIOPS = Default IO
* PERFLOCK = Off
* local version auto off
* version 1.2.9
+ Increase battery life? Try underclocking and reducing the voltage. [B][U]nandroid backup 1st before playing with it ![/U][/B]
KillX v1.4.3
Code:
Wed Mar 27 01:30:34 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
FIX:
* memory leak in cpufreq stats
* vfs,pipe counter breakage
* keys,race with concurrent install_user_keyrings()
* compat_rw_copy_check_uvector() misuse in aio, readv, writev,
* iommu/msm: the include guard in iommu.h
* ARM: VFP: emulation of second VFP instruction
* ARM: scheduling while atomic warning in alignment handling code
* ARMv7: perf: EVTYPE_MASK to include NSH bit
* crypto: user - info leaks in report API
* compile error, crypto ("")
Add:
* sound hack: Beats
GPU:
* msm: kgsl: Make the GPU device aware of the next pending event
* msm: kgsl: Remove lowest power level
Set:
* [B]reduce battery usage[/B]: RCU_FAST_NO_HZ = ON
* version 1.4.3
* sched : remove HTC attempt to patch exit/rename race condition
* hw_random : make buffer usable in scatterlist
* cifs : ensure that cifs_get_root() only traverses directories
* NFS : Don't allow NFS silly-renamed files to be deleted, no signal
KillX v1.5.3
Code:
Fri Mar 29 11:20:30 MYT 2013 (linux kernel 3.4.11)
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
FIX:
* ipv4 : bug in ping_err()
* sysctl: null checking in bin_dn_node_address()
* rtnl : info leak on RTM_GETLINK request for VF devices
Add:
* PM/Sleep: wakeup_source_activate and deactivate, no wakeup events
* BFQ I/O schedulers
Remove:
* power: legacy wakelock code
Set:
* version 1.5.3
* PM/Sleep: Look for wakeup events in later stages of device suspend
* PM/Sleep: Change wakeup source statistics to follow Android
* XZ compressed kernel
KillX v1.6.5
Code:
Wed APR 10 10:22:30 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
FIX:
* posix-cpu-timers: nanosleep task_struct leak
* clock-8960 : gfx3d, VDD_DIG_HIGH
* fs : proc,stat: not showing all cpus
* fs : cifs, warning: 'midQ' may be used uninitialized in this function
Add:
* tun : add a missing nf_reset() in tun_net_xmit()
* Makefile: Snapdragon optimizations
* GPU : 2d_freq, 3d = 5 level (550000000)
* cgroup : generic cgroup subsystem permission checks
Remove:
* sysctl.conf
Set:
* Disable CONFIG_MSM_SHOW_RESUME_IRQ
* Don't force RUN_QUEUE_STATS to be on
* version 1.6.5
Update:
* new wwe boot.img-ramdisk
* rwsem: steal writing sem for better performance
KillX v2.1.0
Code:
Wed APR 17 12:34:45 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
FIX:
* LOAD_FREQ : avoids loadavg Moire http://ripke.com/loadavg/moire
* resume drivers/video/backlight/adp88?0_bl.c
* tmpfs : use-after-free of mempolicy object
* drivercore: ordering between deferred_probe and exiting initcalls
* clock-8960: gfx3d
Add:
* cmdline function for GPU control (default: 3dgpu=500000000 2dgpu=300000000)
! need s-off to change this value with aroma installer.
Remove:
* duplicate: drivers/staging/media/Kconfig
* cpu_is_msm8625
* logcat (disable logcat - performance boost & save memory)
Set:
* msm_hsic: decrease timeout, 500 to 120
* CONFIG_DEBUG_SECTION_MISMATCH=y
* version 2.1.0
OC:
* 192000~1674000
msm/mdp/fb/thermal:
* Send fake vsync only when enabled from userspace
* Disable vsync in video off.
* force vsync in board file
* display : Fix flickering when BLT is enabled/disabled
* display : blt always enabled for 720p,1080p, secure buf
* reduce verbose messages, Limiting cpu
* drivers.thermal: updating msm8960tsens
* Patching thermalD upstream
tty:
* Prevent deadlock in n_gsm driver
* set_termios/set_termiox should not return -EINTR
cpufreq:
* cpufreq: Convert the cpufreq_driver_lock to a rwlock
* cpufreq: Convert the cpufreq_driver_lock to use RCU
mmu_notifier:
* have mmu_notifiers use a global SRCU
* make the mmu_notifier srcu static
* unregister NULL Pointer deref and multiple
drm/udl/usb:
* make usage as a console safer
* disable fb_defio by default
* don't add inferred modes for monitors that don't support them
* Fill depth/bits_per_pixel for C8 format
* Use C8 instead of RGB332 when determining the format from depth/bpp
* bind driver to correct device
* vgacon/vt : clear buffer attributes when we load a 512 character font (v2)
* Driver core : treat unregistered bus_types as having no devices
* futex : Mark get_robust_list as deprecated
* inotify : remove broken mask checks causing unmount to be EINVAL
* fs/block_dev.c: page cache wrongly left invalidated after revalidate_disk()
* ocfs2 : unlock super lock if lockres refresh failed
* mm/fadvise.c : drain all pagevecs if POSIX_FADV_DONTNEED fails to discard all pages
* umount oops when remove blocklayoutdriver first
* NLM : Ensure that we resend all pending blocking locks after a reclaim
* ALSA : hda - Release assigned pin/cvt at error path of hdmi_pcm_open()
KillX v2.1.2
Code:
Thu Apr 18 11:06:32 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Add:
* init files
Set:
* safe default min and max speeds
KillX v2.3.1
Code:
Mon Apr 22 10:02:03 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Fix:
* drivers/video: fsl-diu-fb: pixel formats for 24 and 16 bpp
* fbcon : don't lose the console font across generic->chip driver switch
* fb : rework locking to fix lock ordering on takeover
* fb : Yet another band-aid for fixing lockdep mess
* mmc : sdhci-esdhc-imx: host version read
* hid : wiimote: nunchuck button parser
* net : infinite loop in __skb_recv_datagram()
* net : compile error when SOCK_REFCNT_DEBUG is enabled
* sock_diag : out-of-bounds access to sock_diag_handlers
* usb : ehci-omap: autoloading of module
Add:
* msm: mpdecision: in-kernel CPU hotplug management
Set:
* safe default min and max speeds
* bridge: priority of STP packets
* use memcpy for copy to/from user-space
Arm:
* PXA3xx: program the CSMSADRCFG register
* 7643/1: sched: correct update_sched_clock()
Gpu:
* gpu: 3dgpu remove 27000000,level=4, change valid_freq for 2dgpu&3dgpu
* init_level 3 (3D&2D)
Net:
* xen-netback: correctly return errors from netbk_count_requests()
* xen-netback: cancel the credit timer when taking the vif down
* ipv6 : use a stronger hash for tcp
* vlan : adjust vlan_set_encap_proto() for its callers
* dca: check against empty dca_domains list before unregister provider
* usb: usb-storage: unusual_devs update for Super TOP SATA bridge
KillX v2.5.8
Code:
Mon Apr 29 01:14:58 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Fix:
* cpuinit: #2
find -name "*.c" | xargs sed -i "s/ __cpuinit / /g"
* cpuexit: #1
find -name "*.c" | xargs sed -i "s/ __cpuexit / /g"
* cpuinitdata: #1
find -name "*.c" | xargs sed -i "s/ __cpuinitdata//g"
* cpuinit: #3
find -name "*.c" | xargs sed -i "s/ __cpuinit$//g"
* cpuinit: #4
find arch/ -name "*.h" | xargs sed -i "s/ __cpuinit//g"
* cpuinit: #5
find -name "*.c" | xargs sed -i "s/^__cpuinit //g"
* cpuinit, manual fixups
* init/Kconfig : typo SLQB
* ARM: 7011/1 : Add ARM cpu topology definition #2
* scheduler : compute time-average nr_running per run-queue #2
* scheduler : Re-compute time-average nr_running on read
* proc : enhance time-average nr_running stats #2
* posix-cpu-timers: nanosleep task_struct leak
* USB : serial: null-pointer dereferences on disconnect
Add:
* Lionheart Governor
* Dance Dance Governor
* Zram
* allow flash LEDs to be used at 1% battery
* allow WiFi networks with low signal to be seen
* frandom support
Set:
* Lionheart Governor as default
* changed max readahead buffer size to 2048
* wifi: enabled PM_FAST by default
* row default IO
* GPU : 3dgpu=450000000 2dgpu=266667000 cmdline
* safe default min and max speeds #2
* version 2.5.8
Remove:
* adaptive in init.target.rc (because all htc decisions moved to kernel code)
Makefile:
* kernel: Makefile, CONFIG_CC_OPTIMIZE_ALOT
* adding config variable for Os/O2/O3 compilation
* acpu : export krait variant to debugfs
* rwsem : Writer lock-stealing
* PM : Introduce suspend state PM_SUSPEND_FREEZE
(saves less power because the system is still in a running state)
* wakelock: suspend_freeze
* b43 : Increase number of RX DMA slots
+ mod with aroma installer !
KillX v2.5.9
Code:
Tue Apr 30 18:18:45 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Fix:
* kernel init.d, setting script
Aroma installer:
* msm_mpdecision idle_freq - done
* gpu o/c freq
Set:
* version 2.5.9
KillX v3.0.0
Code:
Thu May 9 10:51:22 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Fix:
* acpu_freq_tbl_8064_slow
* block : ext_devt_idr handling
* block : synchronization and limit check in blk_alloc_devt()
* cgroup : exit() vs rmdir() race
* cpufreq : default value
* cpuset : cpuset_print_task_mems_allowed() vs rename() race
* fs : possible use-after-free with AIO
* idr : a subtle bug in idr_get_next()
* multiple definition of `cmdline_3dgpu' & `cmdline_2dgpu'
* net/sunrpc: 'subbuf.[...]' may be used uninitialized
* nfsd : memleak
* ocfs2 : ocfs2_init_security_and_acl() to initialize acl correctly
* ocfs2 : possible use-after-free with AIO
* perf tools: build with bison 2.3 and older
* s2w leds
* target : divide by zero bug in fabric_max_sectors
* target : lookup of dynamic NodeACLs during cached demo-mode operation
* vhost : length for cross region descriptor
Add:
* cpu min/max, screen off, gov, io cmdline
* cpu oc to 1910000 (no option in aroma installer)
* sweep2wake
* target : missing mapped_lun bounds checking during make_mappedlun
Remove:
* cpufreq remove msm-dcvs (aroma)
* if overclock
* sched: HTC attempt to patch exit/rename race condition
Aroma installer:
* CPU min/max/screen off cmdline
* IO cmdline
* fix replace boot cmdline
Set:
* MSM_MPDEC_PAUSE 3000
* Makefile: kernel: workqueue O3 compilation
* config : CONFIG_MUTEX_SPIN_ON_OWNER=y
* config : CONFIG_UACCESS_WITH_MEMCPY = No
* config : FREQ_STAT & Detail
* version 3.0.0
* vreg core krait* 1450000
Cleanup:
* board-deluxe_ub1-gpu code
* ASoC : wm2200: correct IN2L and IN3L digital mute
* Kconfig : Enable cmdline khz/gov/maxscroff command parsing
* comedi_fops: update
* ftrace : Call ftrace cleanup module notifier after all other notifiers
* fuse : don't WARN when nlink is zero
* media : rc: unlock on error in show_protocols()
* ocfs2 : ac->ac_allow_chain_relink=0 won't disable group relink
* posix-timer: Don't call idr_find() with out-of-range ID
* pstore : Avoid deadlock in panic and emergency-restart path
* quota : autoload the quota_v2 module for QFMT_VFS_V1 quota format
* staging : comedi: comedi_fops: update
* staging : comedi: disallow COMEDI_DEVCONFIG on non-board minors
* staging : comedi: ni_labpc: correct differential channel sequence for AI cmd
* staging : comedi: ni_labpc: set up command4 register *after* command3
* svcrpc : make svc_age_temp_xprts enqueue under sv_lock
* unbreak automounter support on 64-bit kernel with 32-bit userspace (v2)
KillX v3.2.1
Code:
Wed May 15 00:01:59 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Ramdisk
* init.rc s-on 1
* init.target.rc
Aroma
+ S-Off / S-On user
+ msm_mpdecision boost cpu min, on/off
+ set default Max Screen Off clock @ 540mhz
Fix:
* Bluetooth: not closing SCO sockets in the BT_CONNECT2 state
* Btrfs : don't drop path when printing out tree errors in scrub
* Btrfs : race between mmap writes and compression
* Btrfs : space leak when we fail to reserve metadata space
* sysfs : handle failure path correctly for readdir()
* sysfs : race between readdir and lseek
* usb : gadget: udc-core: regression during gadget driver unbinding
* usb : xhci: TRB transfer length macro used for Event TRB
Revert:
* vreg[VREG_CORE]
Remove:
* video: msm:mdp pr_warn _mdp_histogram_crtl start false
Use:
* __ARCH_HAS_SA_RESTORER
Update:
* dynamic filesync: add some cache optimizations v1.1
* efivars
* mach-msm: Kconfig
* msm_mpdecision
* msm_thermal
* row io
Set:
* Btrfs: limit the global reserve to 512mb
* version 3.2.1
* efivars : explicitly calculate length of VariableName
* loop : prevent bdev freeing while device in use
* net/irda : add missing error path release_sock call
* nfsd4 : reject "negative" acl lengths
* pnfs-block : removing DM device maybe cause oops when call dev_remove
* vt : synchronize_rcu() under spinlock is not nice
KillX v3.4.5
Code:
Sun May 19 10:40:39 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Aroma
+ wipe dalvik-cache
+ fix writeprop
Add:
* drivers: base: sw_sync
Fix:
* bonding : disabling of arp_interval and miimon and arp_interval
* ks8851 : interpretation of rxlen field
* net : *_DIAG_MAX constants
* unix : race condition in unix_release()
* fs : sync.c vfs_emergency_remount
Remove:
* bonding : already created master sysfs link on failure
* drivers : cpufreq, CONFIG_CPUFREQ_LIMIT_MAX_FREQ
* net : WARN_ON() in net_enable_timestamp()
Revert:
* dynamic filesync : add some cache optimizations v1.1
* video : msm:mdp pr_warn _mdp_histogram_crtl start false
* revert : allow flash LEDs to be used at 1% battery
Update:
* ipv6 : addrconf
* ipv6 : ip6_input
* sysfs : dir.c
* base.img
Set:
* version 3.4.5
* aoe : reserve enough headroom on skbs
* bonding : get netdev_rx_handler_unregister out of locks
* sky2 : Receive Overflows not counted
* sky2 : Threshold for Pause Packet is set wrong
* tcp : preserve ACK clocking in TSO
* tcp : undo spurious timeout after SACK reneging
* thermal : shorten too long mcast group name
* tracing : Prevent buffer overwrite disabled for latency tracers
KillX v3.4.7
Code:
Wed May 22 22:43:58 MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
Add:
* cifs : Add handling of blank password option
* cifs : Allow passwords which begin with a delimitor
Set:
* version 3.4.7
EXPECTED CHANGELOG
KillX vx.x.x
Code:
xxx xxx xx xx:xx:xx MYT 2013
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-1ubuntu1)
todo:
Confirmed:
- KillX Kernel can be applied on Sense 5 Build (front camera with face sensor not working)
- Can not be applied on KillX Rom (Leaked sense 5), A4TW BOA Butterfly / Sense 5 4.2.2 ROM
- It proved, better battery life !
want more? Compile it by yourself !
DOWNLOADS :
* Kernel Base : Butterfly WWE 3.4.10 v4.1 1.09.707.4 99.5MB
OLD Version
Code:
[1] [URL="http://192.210.138.17/KillX/killx101.php"]killx1.0.1.zip[/URL] [B]MD5[/B]: d4aa61db1130f3977e6f6f16a3a7eb01
- killx1.img [B]MD5[/B]: 1e513e257e8678a59c98b2fa371974e7
- killx_mod_1.0.1.zip [B]MD5[/B]: f54973ba06656c4fc4015a4fc9b57d6d
[2] [URL="http://192.210.138.17/KillX/killx123.php"]killx1.2.3.zip[/URL] [B]MD5[/B]: 0f3a5fd4668800399cb7d1aa24c62cde
- killx123.img [B]MD5[/B]: 8274d050edfc636d4b0be0e56c5aed96
- killx_mod_1.2.3.zip [B]MD5[/B]: 2620b024ff1cff495b38da6b401b3912
* re upload on : 2:01 AM 3/19/2013 : fix [B]updater-script[/B] *
[3] [URL="http://192.210.138.17/KillX/killx129.php"]killx1.2.9.zip[/URL] [B]MD5[/B]: 4a78c2846c54c9ac0dfc44109e630af7
- killx129.img [B]MD5[/B]: ab4c4f9b7472d5da3e23a6d565c4426e
- killx_mod_1.2.9.zip [B]MD5[/B]: 4e2788e38a4cae6f8276aecab418cb4e
[4] [URL="http://192.210.138.17/KillX/killx143.php"]killx1.4.3.zip[/URL] [B]MD5[/B]: 017d2dccfd64d5425ad412460bb10780
- killx143.img [B]MD5[/B]: 41617e99b02986d96c731893fdd7e397
- killx_mod_1.4.3.zip [B]MD5[/B]: 991bee91acd69c7ded980f12429e63df
[5] [URL="http://192.210.138.17/KillX/killx153.php"]killx1.5.3.zip[/URL] [B]MD5[/B]: e578399c3b7b34008c4f54446a819f89
- killx153.img [B]MD5[/B]: 71d8e116f87ad7a77796fa8cbac80b89
- killx_mod_1.5.3.zip [B]MD5[/B]: a1e7c03fd6ab60aac742b752eb11a9e8
[6] [URL="http://192.210.138.17/KillX/killx165.php"]killx1.6.5.zip[/URL] [B]MD5[/B]: eac178abd293cbaaa430b72ef1b3a7b9
- killx165.img [B]MD5[/B]: 66fd326783c5e2efe2979bc79ad03499
- killx_mod_1.6.5.zip [B]MD5[/B]: 8864afc3cc85d1e6331f361cc06d2dd0
[7] [URL="http://192.210.138.17/KillX/killx210.php"]killx2.1.0.zip[/URL] [B]MD5[/B]: a87746438d57145de5221b5ab0de28a9
- killx210.img [B]MD5[/B]: 47bf37a9418ffef2971f573347607287
- killx_mod_2.1.0.zip [B]MD5[/B]: ad537a6e56c13c2105e0b238e98441ba
[8] [URL="http://192.210.138.17/KillX/killx212.php"]killx2.1.2.zip[/URL] [B]MD5[/B]: 8501e8dc3ef82451e6b7268c35826d5d
- killx212.img [B]MD5[/B]: 419b3071d6bcec40458532ac5d04f32f
- killx_mod_2.1.2.zip [B]MD5[/B]: 12cdf8507cd7c0aece29b9a4eb11368b
[9] [URL="http://192.210.138.17/KillX/killx231.php"]killx2.3.1.zip[/URL] [B]MD5[/B]: 0d5061e8a26d5fc13058adddcf821579
- killx231.img [B]MD5[/B]: caa9315de125554893c6d6aed6bc1d04
- killx_mod_2.3.1.zip [B]MD5[/B]: 63002dccc0aa2187bdc33053d9293a29
[10] [URL="http://192.210.138.17/KillX/killx258.php"]killx2.5.8.zip[/URL] [B]MD5[/B]: c5dcf1c2038084b18bfb4e50d8fb55fc
- killx258.img [B]MD5[/B]: 6c41a02a34ef861bcae6fe79f4a7e2ce
- killx_mod_2.3.1.zip [B]MD5[/B]: 1d4ac941599803956d854ef43e09ea79
Code:
---[ start this version, recommended you to have s-off 1st ]---
[11] [URL="http://192.210.138.17/KillX/killx259.php"]killx2.5.9.zip[/URL] [B]MD5[/B]: 966450358494c90fd83ad317cc32ff12
[12] [URL="http://192.210.138.17/KillX/killx300.php"]killx3.0.0.zip[/URL] [B]MD5[/B]: c7b11fe979e5fe5c2db75dcb0ccd4e16
[13] [URL="http://192.210.138.17/KillX/killx321.php"]killx3.2.1.zip[/URL] [B]MD5[/B]: d3633ca6d8ba61a693697e622834ac42
[14] [URL="http://192.210.138.17/KillX/killx345.php"]killx3.4.5.zip[/URL] [B]MD5[/B]: f11014172208bb297787ba176506f34e
[15] [URL="http://192.210.138.17/KillX/killx347.php"]killx3.4.7.zip[/URL] [B]MD5[/B]: df6bd4822d28c61f83c9ae13e38f2f84
S-On user : Please follow this step
My GitHub
will this work on stock rom? any chance of exfat support?
Can flash for unrooted rom?
hi, i am using "Virtuous Butterfly" rom and its based on "1.12.709.1". so can you make a boot.img for this too?
Re: [KERNEL][13.03.2013] Butterfly KillX v1.0.1
Thx! Mate testing now^^
Sent from my HTC Butterfly using xda premium
deweylim said:
will this work on stock rom? any chance of exfat support?
Click to expand...
Click to collapse
Try it, this kernel is build for X920D.
intania said:
Can flash for unrooted rom?
Click to expand...
Click to collapse
You will need the bootloader unlocked to be able to use and flash with fastboot. Unrooted rom, no problem.
ruthless10001 said:
hi, i am using "Virtuous Butterfly" rom and its based on "1.12.709.1". so can you make a boot.img for this too?
Click to expand...
Click to collapse
If you have X920D, no problem. Just flash this kernel and modules..
it2007me said:
DOWNLOADS :
Code:
[B][URL="http://forum.xda-developers.com/attachment.php?attachmentid=1800028&d=1363115916"]killx1.0.1.zip[/URL]
- killx1.img
- killx_mod_1.0.1.zip
MD5: d4aa61db1130f3977e6f6f16a3a7eb01
Kernel Base On: Butterfly WWE 3.4.10 v4.1 1.09.707.4 [URL="http://dl4.htc.com/RomCode/Source_and_Binaries/dlxub1-jb-crc-3.4.10-8bc6f3ed.zip"]99.5MB[/URL]
[/B]
kernel-source-code
Enjoy It~!
Click to expand...
Click to collapse
Thanks for new custom kernnel for Butterfly. I flashed it. All went smoothly. I'll report latter.:laugh::laugh::laugh::laugh:
Anyway I can bribe you to make one for the x920e?
jlevy73 said:
Anyway I can bribe you to make one for the x920e?
Click to expand...
Click to collapse
ok, i will try..but i don't have X920E, will you test it for me?
Hello i am using your other kernel, do i need to flash again the boot.img? im asking cause i am 5km away from my pc, i cant flash boot.img of this kernel. TIA
it2007me said:
ok, i will try..but i don't have X920E, will you test it for me?
Click to expand...
Click to collapse
It would be my pleasure to test.
royskeyz said:
Hello i am using your other kernel, do i need to flash again the boot.img? im asking cause i am 5km away from my pc, i cant flash boot.img of this kernel. TIA
Click to expand...
Click to collapse
if want this kernel..you have to flash the boot.img of this version.
Because we don't have S-Off yet for Butterfly, need a pc to flash a kernel (use fastboot.exe)
jlevy73 said:
It would be my pleasure to test.
Click to expand...
Click to collapse
can u sent me your boot.img(X920E), i don't want to d.load the whole x920e RUU
it2007me said:
can u sent me your boot.img(X920E), i don't want to d.load the whole x920e RUU
Click to expand...
Click to collapse
sure, here you go.
Re: [KERNEL][13.03.2013][X920D] Butterfly KillX v1.0.1
Awesome, testing now with sio and init.d
EDIT: is it possible to put in row instead of sio? I believe you compiled sio as modules, same should be achievable for row.
Sent from my HTC Butterfly using xda app-developers app
Can you ported Droid DNA kernels like this(Beastmode Viverrine B3.8 | S2W MPDEC ThermalD, 1.9ghz, Linaro 4.8 -O3) : http://forum.xda-developers.com/showthread.php?t=2021714 for X920D\X920E users? Or simply added Sweep2Wake and OC CPU/GPU for your kernel?
f.a.q:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg on pastie.org.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Get the name of kernel (parital) wakelock that's keeping your device awake
4. Do I need to wipe anything when flashing this kernel?
A: No
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.
downloads:
latest release
older releases
The zip's are named in the following fashion:
Code:
output_<date>_<month>_<year>-<revision>.zip
source:
https://github.com/thewisenerd/android_kernel_htc_pico
kernel changelog:
http://forum.xda-developers.com/showpost.php?p=49335805&postcount=3
supported ROMs(name | version since when supported):
CyanogenMod 11 | RC 3
OmniROM | build #10
XDA:DevDB Information
Cody Kernel, Kernel for the HTC Pico (Explorer)
Contributors
thewisenerd
Kernel Special Features:
Version Information
Status: Stable
Created 2014-01-11
Last Updated 2014-09-28
features
Terminal commands for some of the options in this kernel:
vibrator voltage
echo i > /sys/devices/virtual/timed_output/vibrator/voltage
replace i with 2100-3100 of your choice
sweep2wake
echo 1 > /sys/android_touch/sweep2wake/enable - to enable
echo 0 > /sys/android_touch/sweep2wake/enable - to disable
echo i > /sys/android_touch/sweep2wake/xres_min_width - to set min width to swipe
replace i with 0(?)-924 of your choice
echo 1 > /sys/android_touch/sweep2wake/s2s_only - to enable sweep2sleep only
echo 0 > /sys/android_touch/sweep2wake/s2s_only - to disable sweep2sleep only
doubletap2wake
echo 1 > /sys/android_touch/doubletap2wake/enable - to enable doubletap2wake
echo 0 > /sys/android_touch/doubletap2wake/enable - to disable doubletap2wake
echo i > /sys/android_touch/doubletap2wake/timeout_max - to set max timeout b/w two taps
replace i with 0(?)-1000 of your choice (should be greater than timeout_min's value)
pocketmod
echo 1 > /sys/android_touch/pocket_mod/enable - to enable pocket detection before waking device, etc
echo 0 > /sys/android_touch/pocket_mod/enable - to disable pocket detection before waking device, etc
sound Control
echo i > /sys/sound_control/volume_boost
Replace i with 0-8 of your choice (0 being no boost, 4 being 1½ times original, and 8 being 2 times original volume) (prolonged audio output at 8 (speakers) might blow 'em)
USB fast charge
echo 1 > /sys/kernel/fast_charge/force_fast_charge - to enable
echo 0 > /sys/kernel/fast_charge/force_fast_charge - to disable
BLN
echo 1 > /sys/class/misc/backlightnotification/enabled - to enable
echo 0 > /sys/class/misc/backlightnotification/enabled - to disable
static backlights
echo 1 > "/sys/class/misc/backlightnotification/in_kernel_static" - to enable
echo 0 > "/sys/class/misc/backlightnotification/in_kernel_static" - to disable
static backlights max time
echo i > "/sys/class/misc/backlightnotification/static_maxtime"
replace i with preferred lights timeout in seconds (from 1 to 3600 sec = 1 hour)
the default value is 60 seconds = 1 minute.
blinking backlights
echo 1 > "/sys/class/misc/backlightnotification/in_kernel_blink" - to enable
echo 0 > "/sys/class/misc/backlightnotification/in_kernel_blink" - to disable
blinking backlights max time
echo i > "/sys/class/misc/backlightnotification/blink_maxtime"
replace i with preferred lights timeout in seconds (from 1 to 3600 sec = 1 hour)
the default value is 60 seconds = 1 minute.
lights interval
echo i > "/sys/class/misc/backlightnotification/blink_interval" - sync'ed lights on/off interval
echo i > "/sys/class/misc/backlightnotification/blink_interval_on" - lights on interval
echo i > "/sys/class/misc/backlightnotification/blink_interval_off" - lights off interval
replace i with preferred interval in milliseconds for the related blink transition
the default value is 500 milliseconds.
set static lights after blink timeout
echo 1 > "/sys/class/misc/backlightnotification/status_after_blinking" - to enable
echo 0 > "/sys/class/misc/backlightnotification/status_after_blinking" - to disable
TCP Congestion Algorithm interface
To check all the available options:
sysctl net.ipv4.tcp_available_congestion_control
To change to other option:
sysctl -w net.ipv4.tcp_congestion_control=NAME_OF_THE_ALGORITHM
Detailed test of available algorithms:
Latency - Download - Upload
cubic:
1st run: 15ms - 10,75Mbps - 7,82Mbps
2nd run: 14ms - 10,84Mbps - 8,06Mbps
reno:
1st run: 13ms - 15,51Mbps - 6,73Mbps
2nd run: 13ms - 14,73Mbps - 8,51Mbps
Click to expand...
Click to collapse
changelog
20Oct2014
- include: sync msm_rotator.h with device tree
- towake: fix pocket mod showing s2w toggle value
- towake: fix S2S only logic
- firmware: add yamato_*.fw firmware for pico
- pico_defconfig: regen
- Set ION heap sizes in separate function (credits to galaxyfreak)
- i2c: tps65200: Use fast charge rate when slow charge is requested (credits to Sultanxda)
- defconfig: Enable expanded RAM (credits to Sachin Thomas)
- board-pico.h: allow to rework memory a *little* (experimental)
- ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above (credits to Dave Martin)
- ARM: 7493/1: use generic unaligned.h (credits to Rob Herring)
- msm: display: Allow MDP clocks to use Max clock. (credits to Saurabh Shah)
- awesom3: allow a 128 mB userdata
28Sep2014
- video: msm: add back towake hooks!
- ARM: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS for CPUv6+ && MMU (credits to Will Deacon)
- sch_prio: backport enable_flow for KitKat (credits to Conn O'Griofa)
- signal: oom_kill_task: use SEND_SIG_FORCED instead of force_sig() (credits to Oleg Nesterov)
- mm, memcg: pass charge order to oom killer (credits to David Rientjes)
- mm, oom: force oom kill on sysrq+f (credits to David Rientjes)
- mm, oom: avoid looping when chosen thread detaches its mm (credits to David Rientjes)
- mm: oom_kill: remove memcg argument from oom_kill_task() (credits to Johannes Weiner)
- oom: do not kill tasks with oom_score_adj OOM_SCORE_ADJ_MIN (credits to Michal Hocko)
- oom: fix race while temporarily setting current's oom_score_adj (credits to David Rientjes)
- oom: remove oom_disable_count (credits to David Rientjes)
- oom: avoid killing kthreads if they assume the oom killed thread's mm (credits to David Rientjes)
- oom: thaw threads if oom killed thread is frozen before deferring (credits to David Rientjes)
- Revert "msm: display: non-blocking for overlay update" (credits to Sachin Thomas)
- Revert "msm_fb: display: update var in display commit" (credits to Sachin Thomas)
- net/l2tp: don't fall back on UDP [get|set]sockopt (credits to Sasha Levin)
- android: lowmemorykiller: add lmk parameters tunning code. (credits to seungho1.park)
- msm: adsp: Avoid preemption during driver registration (credits to Kaushal Kumar)
- msm: qdsp5: memset stack buffer allocation. (credits to Asish Bhattacharya)
- msm: qdsp5: memset stack buffer allocation. (credits to Asish Bhattacharya)
- msm: qdsp5: Memset stack buffer allocation. (credits to Asish Bhattacharya)
- qdsp5: Fix warnings (credits to Sachin Thomas)
- htc_acoustic: Update from protou (credits to Sachin Thomas)
- qdsp5: Updates from HTC (credits to Sachin Thomas)
- qdsp5: Use pmem for camera and omx (credits to Sachin Thomas)
- devices: msm7x27a: Add platform device for ADSP (credits to galaxyfreak)
- fix non-v4l2 (credits to galaxyfreak)
- update qdsp5 from teamhacklg (credits to galaxyfreak)
- msm: mdp: Update sync pt. behaviour (credits to naseer)
- msm_fb: display: get mipi frame rate from panel file (credits to Huaibin Yang)
- msm_fb: display: update var in display commit (credits to Naseer Ahmed)
- msm: display: non-blocking for overlay update (credits to Naseer Ahmed)
- msm: kgsl: Don't hold the refernce to the process private in kgsl create context (credits to Gaurav Gagrani)
- msm: kgsl: Increase the timeout value for fault detection (credits to Shubhraprakash Das)
- Staging: android: binder: More offset validation. (credits to Arve Hjønnevåg)
- msm: kgsl: Force the ME off before reading the microcode (credits to Jordan Crouse)
- mm: pass readahead info down to the i/o scheduler (credits to Lee Susman)
- writeback: fix writeback cache thrashing (credits to Namjae Jeon)
- mipi_samsung: Use mipi_dsi_cmds_tx (credits to Sachin Thomas)
- mipi_samsung: Enable bkl from display on cmds (credits to galaxyfreak)
- mipi_samsung: Call bkl_ctrl from lcd_on (credits to Sachin Thomas)
- mipi_samsung: Use mipi_dsi_cmds_tx2 (credits to Sachin Thomas)
- Update framebuffer from CAF msm-3.4 (credits to galaxyfreak)
- Update genlock from kk_2.7_rb1.6 (credits to Sachin Thomas)
- kgsl: fix genalloc BUG when detroying pagetable. (credits to Flemmard)
- pico_defconfig: enable awesom3
- awesom3: hax the partition table!
- Revert "aw3som3: hax the partition table!"
- Revert "pico_defconfig: enable aw3som3"
- Revert "aw3som3: set msm_nand_data.parts later"
- Revert "aw3som3: rearrange and relay the partition table"
- Revert "board-pico.h: allow to rework memory a *little* (experimental)"
08Aug2014
- aw3som3: rearrange and relay the partition table
26Jul14
Compiled with the gcc-arm-none-eabi-4_8-2014q2
dm: use vzalloc (credits to Joe Perches)
power: don't wait for timeout if sys_sync completes early (credits to Sachin Thomas)
pico: wifi: Add custom country-code table (credits to Sachin Thomas)
board-pico-wifi: Revert some changes to improve stability (credits to Sachin Thomas)
WiFi toggle fix (credits to Sachin Thomas)
msm: Create shadow files under /sys/kernel/ipv4 (credits to Ravi Joshi)
WLAN subsystem: Sysctl support for key TCP/IP parameters (credits to Mahesh A Saptasagar)
lowmemorykiller updates (credits to Sachin Thomas)
msm: kgsl: Fix spinlock recursion in destroy pagetable (credits to Prakash Kamliya)
msm: kgsl: prevent kgsl_get_pagetable from returning a destroyed pt (credits to Jeff Boody)
msm: kgsl: Look up the process struct in process_mem_open() (credits to Jordan Crouse)
msm: kgsl: hold a process_private refcount in process_mem_print (credits to Jeremy Gebben)
msm: display: Buffer sync point support (credits to Ken Zhang)
Revert "add mdp_display_commit struct to hackishly fix display-legacy-exp build"
qdsp5: Add vocpcm driver (credits to Sachin Thomas)
pico_defconfig: enable BLN && BLN Blinks by default
misc: bln: import BLNv10 with updates and changes by Christopher83
aw3som3: set msm_nand_data.parts later
02Jul2014
BLN: add a simple "count" function (thewisenerd)
fixup "LOAD_FREQ (4*HZ+61) avoids loadavg Moire" by Klaus (thewisenerd)
02Jul2014http://goo.gl/PhMxEA
msm_vibrator: fixup range checking logic && set permissions to 0777 to sysfs entry (thewisenerd)
update BFQ to v7r5 (thewisenerd)
towake.c: remove dt2w_min_timeout code (un-necessary) (thewisenerd)
Gleixner)
01Jul2014
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1) (Thomas Gleixner) (vulnerability fix)
n_tty: Fix n_tty_write crash when echoing in raw mode (Peter Hurley) (vulnerability fix)
drivers/tty: Add back htc related stuff (thewisenerd)
towake: remove un-needed variable in doubletap2wake_func (thewisenerd)
30Jun14
(thewisenerd) : towake.c: initialise && move to
(thewisenerd) : msm_vibrator: retain set vibrator_level if values set in sysfs are out of range
(thewisenerd) : aw3som3: hax the partition table!
(Sachin Thomas) : ion_platform_data: Enable has_outer_cache
(thewisenerd) : add uksm 0.1.2.2 for v3.0 .ge.84.patch
(thewisenerd) : volume_boost: add QDSP5_VOLUME_BOOST_HAX
(thewisenerd) : himax8526a: fix improper usage of printk's (there might be more) //todo: find and fix remaining printk's
(thewisenerd) : msm_vibrator: add a voltage toggle in sysfs
(Ezekeel) : Added SLQB memory allocator.
(thewisenerd) : set max_readahead to 256 kbytes (testing)
(thewisenerd) : update msm_vibrator.c from caf kk_3.5
(thewisenerd) : Squashed update drivers/tty to 3.0.101
07Jun14
Compiled with the gcc-arm-none-eabi-4_8-2014q1
Fix build with SM 4.8.3
04Jun14
Latest BCMDHD drivers from grouper (Sachin Thomas and galaxyfreak)
Fix missing is_screen_on declaration with s2w enabled but dt2w disabled (@Mystic-Mirage)
implement pocket mod hook in BLN (this will save your battery )
02Jun14
Add backlight notification support for Pico
cpufreq: Fix broken uevents for cpufreq governor and cpu devices
msm_fb: Update from protou
Update to KK-2.7 KGSL
Add PocketMod to the Capella CM3628
Bring in PocketMod on Himax8526A touchscreen sensor
19May14
Added BLN (credits: galaxyfreak) (read more: http://forum.xda-developers.com/showthread.php?t=2755889)
13May14
msm_fb: display: clean dsi fifo during dsi_off
Enable nand_ecc (ECC algorithm that detects and corrects 1 bit errors in a 256 byte block of data)
CONFIG_HIGHMEM=y
Increase vmalloc reserve from 16M to 32M
9May14
Update BFQ to v7r3
block, bfq: add Early Queue Merge (EQM) to BFQ-v7r3 for 3.0.0
tune CFQ
ion: Port from sultan-kernel-pyramid-pure (CAF KitKat msm-kk_2.7_rb1.X)
8May14
added PMEM_CACHE_FLUSH to driver (credits to agrabren)
Update genlock from kk_2.7-stable (sachinthomaspj)
Separate DT2W and S2W (DT2W no longer dependant on S2W)
Remove DT2S
Enable ext2/3, exfat
msm: qdsp5: Fix logging adsp messages for 32-bit address
msm: acpuclock-7201: Fix table index for precomputing frequency jump
msm: acpuclock-7201: Add support for updating lpj in acpuclock
msm: acpuclock-7201: Add delay for apps cpu clock switch
msm-fb: display: Reducing the display wake up time
Fast Charge ported (szezso), hackishly /*is that even a word!?*/ fixed (thewisenerd)
board-pico-keypad: enable debounce_time, to fix multiple power button inputs. (galaxyfreak)
Build S2W, DT2W, but not enable it. (With power button fixed, not needed.)
7May14
Implemented USB Fastcharge In kernel
Fixed Power Button
Updated Genlock to Kitkat
Default Frequency Between 122 Mhz - 678 Mhz ( Dont worry Its safe OC)
Thermal activated
Tweaks here and there
21Mar14
Permanently turned off DT2S
Disabled CIFS. Of no real use
20Mar14
Reverted to old net subsystem, as I was experiencing some very random glitches in net connectivity
Added DT2W/DT2S with toggle
24Feb14
updated entire net subsystem (thanks to sultanxda) from Google common 3.0 kernel.
23Feb2014
added ntfs r/w support in kernel (note: supportive changes need to be made in fstab.pico, and/or boot.img's mount arguments)
added cifs as a module (remove this from zip, if you don't plan to use this)
overclocking added (use this script, if you want to overclock: http://forum.xda-developers.com/showpost.php?p=49059414&postcount=43)
11Jan2014
Initial Release
Good work bro....
Does it has s2w disableing feature also?
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
Fantastic bro:highfive:
Gonna install this tomorrow . Good work by the way
Sent from Ponyville
gauravrai said:
Good work bro....
Does it has s2w disableing feature also?
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes. Like in all S2w kernels!
Cool Bro!!:good: Does it help save battery drain?? I Hope:angel:
Cody-Kernel For OmniRom
Yo Peeps,
As you know (even if you dont know ) OmniRom uses different ramdisk for booting kernel
So the default kernel wont boot in omni rom
so here is the cody-kernel v1 for OmniRom ramdisk to boot on that...
Can any1 make one copy for jellybean 4.3.1
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
gauravrai said:
Can any1 make one copy for jellybean 4.3.1
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Upload 4.3.1 boot.img that you want to use somewhere
link me
dhrumangajjar said:
Upload 4.3.1 boot.img that you want to use somewhere
link me
Click to expand...
Click to collapse
Thanks bro....this is non oc boot.img of sakindia's cm10.2/4.3.1
plz make a pll2 oc kernel for trinity sense which boots up in default frequencies..I have a weak pico.
Affangta said:
plz make a pll2 oc kernel for trinity sense which boots up in default frequencies..I have a weak pico.
Click to expand...
Click to collapse
Ask the ROM developer in that case.
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
REQUEST
#Superuser said:
Hey all,
Some new stuff for you guys from TeamCody, A new Custom ION Kernel for KitKat ROMs. :good:
Why this?
Because we didn't had any Custom Ion Kernel for KitKat.
Note - It's not OC currently, someone from team will release it soon.
What Features(More will be there with time. )
>ION Memory Allocator
>Sweep2Wake
>Smooooth and stable!
>USB force fast charging script.
Downloads - Here
Source Code - ION Kernel 3.0.101
Credits -
> @Sachin Thomas
> @galaxyfreak
> @sakindia123
> @lirokoa
> @derefas
> @cute_prince
Have a good time!
XDA:DevDB Information
Cody Kernel, a Kernel for the HTC Pico (Explorer)
Contributors
#Superuser, thewisenerd, xaak, dhrumangajjar, omerjerk
Kernel Special Features: Its an ION based Kernel
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2014-01-11
Created 2014-01-11
Last Updated 2014-01-14
Click to expand...
Click to collapse
Dude can you please make OC version of this kernel for CM10.2 by SAK,I mean with ION Memory Allocator (If possible)
Chemical47 said:
Dude can you please make OC version of this kernel for CM10.2 by SAK,I mean with ION Memory Allocator (If possible)
Click to expand...
Click to collapse
No Ion kernel needs Ion rom so first Ion cm 10.2 needs to be build..
Affangta said:
plz make a pll2 oc kernel for trinity sense which boots up in default frequencies..I have a weak pico.
Click to expand...
Click to collapse
Flash kernel this kernel !!!
http://forum.xda-developers.com/showpost.php?p=49467371
It requires 3 partition system !!!
gauravsaini964 said:
Flash kernel this kernel !!!
http://forum.xda-developers.com/showpost.php?p=49467371
It requires 3 partition system !!!
Click to expand...
Click to collapse
doesn't work..bootloops
Affangta said:
doesn't work..bootloops
Click to expand...
Click to collapse
Keep this discussion up to Trinity sense thread and please stop spamming here.
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
#Superuser said:
Keep this discussion up to Trinity sense thread and please stop spamming here.
Sent from my HTC Explorer A310e using XDA Premium 4 mobile app
Click to expand...
Click to collapse
alright..point made
I bought this phone from China. It came with chinese rom 4.4.4 without google services and root.
At the moment I've tried to root it with no luck (all known ways don't work). The bootloader is locked and, therefore no custom roms can be flashed.
There is no "OEM unlocking" menu in debug mode and it doesn't appear after software update request and changing time to +7 days.
I've digged out some information, and the phone turned out to be a clone of G360F (at least I see no difference):
Device Model: SM-G3608
Bootloader: G3608ZMU1AQA2
RAM: 768 MB
Board: MSM8916
Toolchain: GCC 4.7
Runtime Dalivk: 1.6.0
Chipset: QUALCOMM TECHNOLOGIES, INC MSM 8916
SDK Version: 19
Kernel: Linux 3.10.28
CPU Chipset: Qualcomm Snapdragon 410, 28nm LP
Processor Rev: 0 (v71)
Processor Design: Cortex A53
Processor Architecture: ARMV7L
CPU Cores: 4x1190MHz
CPU ABI: ARMEABI-V7A
CPU ABI2: ARMEABI
CPU Revicion: r0p0
CPU implementation: 0x41
Display Resolution: 480x800 TFT
Pixel Density: 210X/210Y ppi
Aspect Ratio: 1.675:1
Refresh Rate: 60 Hz
Orientation: Portrait
Graphics: Qualcomm Adreno (TM) 306
Grpahics API: OpenGL ES 3.0 [email protected] [email protected] ([email protected])
Texture Units: 16
Usable RAM: 630 MB
SD Card 0: 2.28 GB
So I tried to flash the TWRP:
twrp-2.8.7.1-coreprimelte.img.tar and twrp-3.2.2-0-coreprimelte.img.tar
dl.twrp.me/coreprimelte/
github.com/TeamWin/android_device_samsung_coreprimelte
But the phone refuses to run in recovery. It seems that some offsets are different.
I need your help to rebuild twrp-coreprimelte with new parameters or help me to make a correct build config.
All the data for the phone:
Code:
settings.cfg: yadi.sk/d/NV7UF8wK3Zy6Ka
boot_ramdisk.zip: yadi.sk/d/c5xwH9jE3Zy5qo
recovery_ramdisk.zip: yadi.sk/d/SkQPPU653Zy5tV
recovery.img.7z: yadi.sk/d/5AOXxtbV3Zy5zC
build.prop: yadi.sk/d/1QU6Uvf_3Zy6Du
PIT_Analysis_001.txt: yadi.sk/i/2z77_B7a3Zy6FV
ROSSALTE_CHN_CMCC.pit: yadi.sk/d/rBF0t8dm3Zy6Ja
dt.img: yadi.sk/d/mweD5DWT3ZyHNi
recovery.img-zImage: yadi.sk/d/oPkaNM3a3ZyJJY
Here is what (in my opinion) should be changed:
1) BoardConfig.mk
user_debug=23 -> user_debug=31 ?
2) dt.img
replace dt.img
3) kernel
replace kernel -> recovery.img-zImage ?
4) recovery.fstab
recovery_ramdisc\ramdisc\etc\recovery.fstab
no system_image
no data
no misc
efs (efs1) -> ext4 ?
no efs2
external_sd (mmcblk1p1)
other partitions form fstab.qcom ?
Is it correct?, and I'm still confused ,recovery.fstab it's completely different from original recovery.fstab and fstab.qcom
Building a First Kernel for the Galaxy A20
by physwizz
At last, I've been able to build a very basic kernel.
This is a first attempt.
It's not overclocked so don't expect anything miraculous.
Thanks to @Chatur27for building help and @Topser99 for the flashable zip
THIS IS WHAT I DID
Requirements
Use Linux 64bit ( I used Linux Mint Mate in a Virtual Box)
Linux setup
$ sudo apt update
$ sudo apt upgrade
$ sudo apt-get install git-all
$ git config --global user.name "physwizz"
$ git config --global user.email "[email protected]"
Kernel setup
1. Download the compiler
GitHub - physwizz/compiler
Contribute to physwizz/compiler development by creating an account on GitHub.
github.com
Unzip into "Compiler" folder
2. Download the Source Code (https://opensource.samsung.com/main)
Search for A205 and select QQ version (Latin)
Extract the kernel.tar.7z
extract into "Kernel" folder
Beginners guide to github
I have always had a lot of difficulty with github.
I have jotted down a few things which might help some new kernel builders.
A. Github Setup
1. Go to github and Open a new Repo
I called mine "physwizz_kernel"
2. To set up SSH key
$ git config --global user.email "[email protected]"
$ git config --global user.name "Your Github Name"
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Press enter 3 times
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ sudo apt-get install xclip
$ xclip -sel clip < ~/.ssh/id_rsa.pub
3. The SSH key will be in clipboard
Go to github settings => SSH and GPG keys
Paste key here
B. Using github
1. Open Terminal In The Kernel Folder
$ git init
$ git remote add origin (github id) mine is [email protected]: physwizz/physwizz_kernel.git
$ touch README
$ git add README
$ git add --all
$ git commit -m "Initial commit"
$ git push -u origin main
2. To cherry pick a commit from another github repository
firstly add the other repository to your kernel
$ git remote add other https:<other address>
$ git fetch --all
$ git cherry-pick [hash_id]
3. to push changes to github
$ make clean && make mrproper
$ git add --all
if the change is your own
$ sudo git commit -a
write comment
ctrl o (to output)
enter
ctrl x (to exit)
then
$ git push origin main
if the change is a cherry pick
$ git commit "change made" --author="Author's name<author's email>"
then
$ git push origin main
4. If it doesn't work or if you want to try something else
$ git revert <commit hash code>
$ git push origin main
Or
$ git reset --hard < last clean commit hash >
$ git push origin main -f
$ git cherry pick <clean commits >
$ git push origin main
5. to edit last commit
$ git commit --amend -e
$ git push origin main
Please give any feedback.
@physwizz
Kernel Building
1. open the defconfig file with text editor
Mine was located at
/home/physwizz/Kernel/arch/arm64/configs/exynos7885-a20_defconfig
You can make a copy of this file and call it original_defconfig
CHANGES I MADE
physwizz_kernel_V1
CONFIG_LOCALVERSION="physwizz"
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
Later versions in post #2
2. open terminal
cd Kernel
make clean && make mrproper
export CROSS_COMPILE=/home/physwizz/compiler/bin/aarch64-linux-android-
export ARCH=arm64
export ANDROID_MAJOR_VERSION=q
make exynos7885-a20_defconfig
make
3. Output is found in /home/physwizz/Kernel/arch/arm64/boot
4. Copy Image from boot folder and Insert it into the MyKernel.zip
5. Extract Version and edit it then reinsert
To use Anykernel to make your own zip
Extract MyKernel.7z to a folder, copy kernel image there, open terminal in that folder and type:
zip -r9 UPDATE-AnyKernel3.zip * -x .git README.md *placeholder
TheUPDATE-AnyKernel3.zip will be in the folder.
Cut and paste it outside the folder then flash it from TWRP.
Make sure you don't leave the UPDATE-AnyKernel3.zip in the MyKernel folder because it will interfere with the next zip you make.
Need to flash Magisk 20.4 or Magisk 21
Works with stock dtbo or Eureka dbto
If you flash Eureka dbto you will get overclocking of the GPU.
Overclocking
Version 1.4 is when I started overclocking
See post 2
Compiler (you can clone this)
https://github.com/physwizz/compiler
Source
https://github.com/physwizz/physwizz_kernel
NEWER VERSIONS IN POST#2
physwizz collection
A collection of guides, kernels and ROMs. Guides Complete Guide to the A20 GSIs for the A20 Quick Root and TWRP for the A20 Making my First Kernel for the A20 A20 Rooting Guide Making Your Own ROM Making Your Own Version of QwizzROM-a20...
forum.xda-developers.com
New Versions
Version 1.1 has one Samsung security disabled
# CONFIG_SECURITY_DEFEX is not set
Version 1.25
Version 1.25 has all 6 CPU governors enabled
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
Version 1.3
Userspace is the default governor
More securities disabled
Selinux enforcing
# CONFIG_TIMA is not set
# CONFIG_TIMA_LKMAUTH is not set
# CONFIG_TIMA_LKM_BLOCK is not set
# CONFIG_TIMA_LKMAUTH_CODE_PROT is not set
# CONFIG_UH is not set
# CONFIG_UH_RKP is not set
# CONFIG_RKP_KDP is not set
# CONFIG_RKP_NS_PROT is not set
# CONFIG_RKP_DMAP_PROT is not set
# CONFIG_TIMA_LOG is not set
# CONFIG_KNOX_KAP is not set
# CONFIG_DM_VERITY is not set
# CONFIG_SEC_RESTRICT_ROOTING is not set
# CONFIG_SEC_RESTRICT_SETUID is not set
# CONFIG_SEC_RESTRICT_FORK is not set
# CONFIG_SEC_RESTRICT_ROOTING_LOG is not set
# CONFIG_INTEGRITY is not set
# CONFIG_INTEGRITY_SIGNATURE is not set
# CONFIG_INTEGRITY_ASYMMETRIC_KEYS is not set
# CONFIG_INTEGRITY_AUDIT is not set
# CONFIG_SECURITY_DSMS is not set
# CONFIG_PROCA is not set
Version 1.4
Overclocked
Big 2080 Little 169
https://github.com/physwizz/physwizz_kernel/commit/06df375cfe6d9897a846eee8bcf9b05a48ae9cb7
v1.45
CPU underclocking
https://github.com/physwizz/physwizz_kernel/commit/261a80eb4ac14dc01c82af204d90420e220f386f
https://github.com/physwizz/physwizz_kernel/commit/6ff437e452d14d2bff2fd01bebd4af2e26f713d0
v1.46
Interactive set as default governor
Running very smoothly
V1.47
GPU overclocked
https://github.com/physwizz/physwizz_kernel/commit/839b38e9ec5f029a6764f057b78e5a0132dc281c
This didn't work
V1.49
Overclocking big CPU to 2184
https://github.com/physwizz/physwizz_kernel/commit/19ebb155873bfa2cf26cc685c8a746927d221064
V1.51
CPU minimum both 208MHz
V1.52
Cpu boost
Mali bts optimisation
Page boot
Muic support vbus boost
physwizz v2.19 A20
@physwizz
-Most securities disabled
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300
-Works with Magisk 21
-Spectrum support enabled
-1.33mb dtbo.img (Thanks to geckyn & Chatur for dtbo config method)
Resources for further development
Resources from Carlos
· Overclock to CPU (https://github.com/carlos-burelo/Qu...mmit/9bb4d77e2f53ce7f4ada191c119d1127f9eee335)
· Permisive Mode (https://github.com/carlos-burelo/Qu...mmit/1a5a4a1bdd38115a0f7590b8f339fae856583a92)
· Enable Governors (https://github.com/carlos-burelo/Qu...mmit/1bfa400ca5c26746d99531180367d7195c4570b8)
Resources From Chatur
https://github.com/Chatur27/Eureka-...mmit/54a8b7104eb91b6847cb266ae3983aead1773855
https://github.com/Chatur27/Eureka-...mmit/d8591fc630ee75919dab405948190b92a80b17f9
https://github.com/Chatur27/Eureka-...mmit/b86b8733b4fd37790ba7921b9241b2bbbfdb6da9
https://github.com/Chatur27/Eureka-...mmit/305ec130c8a2a101c7166af9ed178d4ac4925596
https://github.com/Chatur27/Eureka-...mmit/295619ff9a097aa4ba2ee6109a23c0b440ec60fe
Thanks for your hard working, waiting for the overclocked kernel.
D00Mx64 said:
Thanks for your hard working, waiting for the overclocked kernel.
Click to expand...
Click to collapse
Overclocking requires adding lines of programming.
Right now I'm just tweaking the config file
Version 1.25 has all 6 CPU governors enabled
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
Version 1.3
Userspace is the default governor
More securities disabled
Selinux enforcing
Works with stock dtbo or Eureka dbto
If you flash Eureka dbto you will get some overclocking.
Frequency ranges
Stock dtbo
Big 936 - 1560
Little 449 - 1352
GPU 343 - 676
Eureka dtbo
Big 312 - 1560
Little 208 - 1352
GPU 343 - 1300
D00Mx64 said:
Thanks for your hard working, waiting for the overclocked kernel.
Click to expand...
Click to collapse
version 1.4
Overclocked
Big 2080 Little 1690
physwizz v1.45
Most securities disabled
All CPU Governors enabled
Userspace is default governor
SE linux enforcing
CPU overclocked and underclocked
Big: 312 - 2080
Little: 208 - 1690
Works with Magisk 21
Works with stock dbto
I will make interactive the default governor in v1.46
It's much smoother than userspace
Version 1.46 is running very smoothly
physwizz v1.46
Most securities disabled
All CPU Governors enabled
Interactive is default governor
SE linux enforcing
CPU overclocked and underclocked
Big: 312 - 2080
Little: 208 - 1690
Works with Magisk 21
Works with stock dbto
https://mega.nz/file/N1EkmDrD#x8dENjwTjghiN1HjdcGIk9cWW-nmwCGuqBr4G3DgvOQ
To use Anykernel to make your own zip
Extract MyKernel.7z to a folder, copy kernel image there, open terminal in that folder and type:
zip -r9 UPDATE-AnyKernel3.zip * -x .git README.md *placeholder
The zip will be in the folder.
Cut and paste it outside the folder then flash it from TWRP.
https://mega.nz/file/8sMA3Bpa#2iyTwsp1rmHdhy84tInEDpnmBIOc8ydkimeSfQSq2ZA
physwizz v1.47 A20
Most securities disabled
All CPU Governors enabled
Interactive is default governor
SE linux enforcing
CPU overclocked and underclocked
Big: 312 - 2080
Little: 208 - 1690
Works with Magisk 21
Works with stock dbto
GPU overclocked 343 - 1300
V1.51
CPU minimum both 208MHz
V1.52
Cpu boost
Mali bts optimisation
Page boot
Muic support vbus boost
to push changes to github
if the change is your own
$ sudo git commit -a
if the change is a cherry pick
$ sudo git commit "change made" --author="Author's name<author's email>"
then
$ git push origin main
If it doesn't work or if you want to try something else
$ git revert<commit hash code>
physwizz v2.19 A20
@physwizz
-Most securities disabled
-CPU Governors: conservative, ondemand, userspace, powersave, interactive, performance.
-Interactive is default governor
-SE linux enforcing
-CPU overclocked and underclocked
-Big: 208 - 2184
-Little: 208 - 1690
-GPU: 343 - 1300
-Works with Magisk 21
-Spectrum support enabled
-1.33mb dtbo.img (Thanks to geckyn & Chatur for dtbo config method)
@phiswizz do you know if this works to obtain bootloader unlock for the Galaxy SM-A215U
://ge0n0sis.github.io/posts/2016/05/how-to-lock-the-samsung-download-mode-using-an-undocumented-feature-of-aboot/
I have always had a lot of difficulty with github.
I have jotted down a few things which might help some new kernel builders.
B. Using github
1. Open Terminal In The Kernel Folder
$ git init
$ git remote add origin (github id) mine is [email protected]: physwizz/physwizz_kernel.git
$ touch README
$ git add README
$ git add --all
$ git commit -m "Initial commit"
$ git push -u origin main --force
To cherry pick a commit from another github repository
firstly add the other repository to your kernel
$ git remote add other https:<other address>
$ git cherry-pick [hash_id]
to push changes to github
$ make clean && make mrproper
$ git add --all
if the change is your own
$ git commit -a
write comment
ctrl o (to output)
enter
ctrl x (to exit)
then
$ git push origin main
if the change is a cherry pick
$ git commit "change made" --author="Author's name<author's email>"
then
$ git push origin main
If it doesn't work or if you want to try something else
$ git revert <commit hash code>
$ git push origin main
to edit last commit
$ git commit --amend
$ git push origin main