Stock kernel - Samsung Galaxy Nexus

I have a question last night i was adding modules in system/lib directory and added some governer the insmod it in terminal but there was no governers listed in setcpu is there any way that we can add governers i/o schedular and freq on the devices itself and one more thing i extracted the boot.img using android kernel kitchen in ubuntu there too i was unable to add anything to ramdisk folder is there any expert in kernel development who can help me i believe if franco would have helped me lets see how many experts can help me in solving the issue

Related

[23-Sep-2011][Kernel][Patch] Lagfree and Smoothass governors

Hi fellows!
I have been building a kernel for P1000L/N based on Overcome v3.3.1 Kernel.
Additionally, I added to my version two new governors: lagfree and smoothass.
Here are the description of each one:
Lagfree governor
'lagfree' - this driver is rather similar to the 'ondemand'
governor both in its source code and its purpose, the difference is
its optimization for better suitability in a battery powered
environment. The frequency is gracefully increased and decreased
rather than jumping to 100% when speed is required.
Smoothass governor
'smoothass' - Slightly more aggressive smartass
I'm uploading here the .patch to add this both governors to P1000 kernel tree.
This patch was maid to be applied on top of Overcome v3.3.1 kernel, but anyone with some knowledge about diff/patch should be able add the both governors in your kernels.
If you want to check my kernel tree, visit my github account:
https://github.com/ronisbr
Just for information, lagfree is my default governor now
23-Sep-2011
I did some modifications in the patch to make it more compatible with different kernels. If you want to try to patch your tree, download .zip attached here, decompress, go into your kernel directory and type:
patch -p1 < (Folder you decompressed the .zip file)/ronan-P1000-lagfree-smoothass-20110923.patch
Thanks!
Ronan
Reserved......
is it for GT-P1000 too? Or GT-P1000L/N only?
ayong chia said:
is it for GT-P1000 too? Or GT-P1000L/N only?
Click to expand...
Click to collapse
The kernel I'm working on is just for P1000L/N.
But the patch that I attached here should work on every P1000 kernel. Actually, if it was applied right, it should work on every android kernel (2.6.35 version at least).
Thanks,
Ronan
Ronis_BR said:
The kernel I'm working on is just for P1000L/N.
But the patch that I attached here should work on every P1000 kernel. Actually, if it was applied right, it should work on every android kernel (2.6.35 version at least).
Thanks,
Ronan
Click to expand...
Click to collapse
How do you apply it? Do I have to do any compiling first or is it a patch that can be flashed via recovery?
where do i apply this patch?
0vermind said:
How do you apply it? Do I have to do any compiling first or is it a patch that can be flashed via recovery?
Click to expand...
Click to collapse
This patch needs to be applied to the kernel source code.
After, you need to recompile your kernel and flash it.
Thanks,
Ronan
dizgustipated said:
where do i apply this patch?
Click to expand...
Click to collapse
Well, if you are using overcome kernel or something similar, you should go into your kernel directory and type:
patch -p1 < ronan-P1000-lagfree-smoothass-20110922.patch
But it is very unlikely that you will do it without problems since I have generated this patch from my own kernel. So, the best thing to do, is to open the .patch file, analyse it, and apply the changes manually.
If you want, post your kernel somewhere and I'll send the specific patch for your kernel.
Thanks,
Ronan

[Kernel][DEV] pax0r kernel v0.4 for LG P350 (Optimus ME, Pecan)

THIS KERNEL IS NOW OBSOLETE, DON'T USE IT.
Mine newest and stable kernel releases are now integrated into my version of CyanogenMod 7.2, please use only a kernel provided with that ROM, not this one.
Im leaving it for historical reason or for some geeks
The testing release of kernel for p350 based on kernel by drapalyuk - taken from kernel and rom + sources
I do not take any resposibility for bricked devices!
This kernel aims to optimize the performance, responsivity and battery life so please share your opinion about these factors and your ideas.
If you are experiencing any problems with WiFi or 3G try much less tweaked but more stable LITE version.
Instalation:
Download zip to your phone
Get the Custom Recovery for p350
Reboot into recovery
Backup your boot partition (if you like risk you can ommit this step )
Choose Flash zip menu
Turn off verification (as I dont signed my kernel yet)
Flash downloaded zip
Reboot and enjoy
Changelog(2.6.32.48 version):
[0.4]
Fixed black screen after wakeup issue
Added vr and sio I/O schedulers (SIO is default)
Added smartassv2 governor
VM_MAX_READAHEAD changed to 512
[0.3]
Kernel version updated to 2.6.32.48
BFS CPU Scheduler
Applied few tweaks from https://github.com/arco/buzz-kernel-2.6.32/
Some other small tweaks (List of applied patches is on github)
Compiled with newest Linaro toolchain with -Ofast flag and tuned to our architecture
LITE version:
For all guys having problems with internet connection on my kernel there is a LITE version.
It contains less tweaks thant normal version but should not have problems with internet. This version is much less tweaked so it should be more stable.
What is in lite version:
Kernel version 2.6.32.9 (not updated)
Smartass v2 governor
SIO and VR IO schedulers (SIO as default)
VM_MAX_READAHEAD changed to 512
Compiled with newest Linaro toolchain with -Ofast flag and tuned to our architecture
If you dont have any problems with 0.4 version I reccomend NOT to install Lite version
DOWNLOADS
version v0.4: http://hotfile.com/links/139705983/d792c47/kernel-pax-0-4.zip.html
version Lite: http://hotfile.com/links/139705851/518d0ef/pax0r-kernel-lite.zip.html
SOURCE: https://github.com/pax0r/pecan_kernel
Thx for:
drapalyuk - for biggest work for this device
All other devs for Android kernel - as I can learn so much from all of your work!
Debuging Info
or how to help make it better
If you have any problems with my kernel and you want to help in some way - here it is some info how you can.
Just after apearing of the problem please get logs from your device.
How to do it:
Info on CM wiki how to get Logcat
http://wiki.cyanogenmod.com/wiki/Logcat
Info about getting kmesg:
Open Terminal Emulator (or shell with ADB if you know how)
Write the following commands:
Code:
su
cat /proc/kmsg > /sdcard/kmsg.log
There should be new file kmsg.txt on your sdcard. Copy it to your PC.
info about last kmsg after sudden reboot/crash
Same as for normal kmesg but the command now should be:
Code:
su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
Created file will be named last_kmsg.txt
Attach all logs to your post (prefered way is to use http://pastebin.com/
Of course if you have any programming skills you can tinker with my sources as you wish and send patches to me
Hi Pax0r,
I will test the new kernel!
Great, file not found
Sent from my Optimus Me using XDA App
thanks from the Philippines bro..
downloading it now.. will let you know how it goes..
edit : just booted up and already like it.. i had a problem with drape's rc3 kernel because everytime my phone went to sleep and i would wake it up, the screen would just stay black and the buttons would light up and i would have to touch the screen for it to turn on.. now that problem is history!!! thanks paxor!!!!
SikatPimp said:
edit : just booted up and already like it.. i had a problem with drape's rc3 kernel because everytime my phone went to sleep and i would wake it up, the screen would just stay black and the buttons would light up and i would have to touch the screen for it to turn on.. now that problem is history!!! thanks paxor!!!!
Click to expand...
Click to collapse
i still experience that problem. well after the kernel's flashed, does that mean it will run the next time the phone's booted up?
downloading...
edit:screen stays black like before..
uploaded to mediafire
Daryll99 said:
Great, file not found
Sent from my Optimus Me using XDA App
Click to expand...
Click to collapse
here..i uploaded it to mediafire. enjoy
www . mediafire . com/ ?l5cqpdhvi8c8acw
ikazu said:
i still experience that problem. well after the kernel's flashed, does that mean it will run the next time the phone's booted up?
Click to expand...
Click to collapse
ok i just got excited. it seems i still get the touch screen problem but it happens less frequently now and right now i am also cruising at 825 mhz with no fc yet !!!
SikatPimp said:
ok i just got excited. it seems i still get the touch screen problem but it happens less frequently now and right now i am also cruising at 825 mhz with no fc yet !!!
Click to expand...
Click to collapse
tried playing games with 825 freq?
---------- Post added at 05:23 AM ---------- Previous post was at 05:21 AM ----------
on screen animation dsnt work either
Thx for feedback.
I also noticed the 'black screen issue' sometimes and working on it. Drapalyuk fixed it in CM but its not in his sources :/
What versions of ROM (CM, 2.2 etc) do you use?
only angry birds... can't tell any difference but still no fc
---------- Post added at 02:17 PM ---------- Previous post was at 02:08 PM ----------
I'm using drape's 20.10 rom... and before i would reflash to try and get that black screen took care of but in a couple days it would come back.. and it isnt so bad.. it doesn't really effect anything.. but after flashing your kernel i am getting them less now so thats a plus..
So you know How to compile the kernel
will you try to add more features ???
can you add these features
Code:
* shifted to TinyRCU kept it as default
* enabled support for various file systems
o EXT3
o EXT4
o JBD
o RFS
o JFS
o NTFS (with R/W)
* TUN/TAP now integrated into kernel
* enabled support for various network file systems
o NFS (client/server)
o CIFS
* optimized kernel for size
* enabled LZMA/GZ2/LZO compressing support for ramdisk
* bumped jHash to v3
* increased VM MAX READAHEAD to 512KB
* corrected "current kernel" string in CWM app & Tweaks app
* Universal CF-Root and CWM for I9003 Gingerbread by amit.bagaria
* CPU Governors
1. InteractiveX
2. Savaged-Zen
3. SmartAssV2
4. BrazilianWax
5. Smoothass
6. Lagfree
7. Smartass
8. Scary
9. MinMax
10. Interactive
* I/O Schedulers
1. BFQ-v2-rc1
2. V(R)
3. SIO
I flashed the kernel and now everytime i try to turn on the wifi its says error, it wont turn on. And please fix the blackscreen issue.
Daryll99 said:
I flashed the kernel and now everytime i try to turn on the wifi its says error, it wont turn on. And please fix the blackscreen issue.
Click to expand...
Click to collapse
Maybe try flash again.
If it would not work I will check on this issue later.
There must be some problem with loading wifi module for your phone...
vivekkalady said:
So you know How to compile the kernel
will you try to add more features ???
can you add these features
Code:
* shifted to TinyRCU kept it as default
* enabled support for various file systems
o EXT3
o EXT4
o JBD
o RFS
o JFS
o NTFS (with R/W)
* TUN/TAP now integrated into kernel
* enabled support for various network file systems
o NFS (client/server)
o CIFS
* optimized kernel for size
* enabled LZMA/GZ2/LZO compressing support for ramdisk
* bumped jHash to v3
* increased VM MAX READAHEAD to 512KB
* corrected "current kernel" string in CWM app & Tweaks app
* Universal CF-Root and CWM for I9003 Gingerbread by amit.bagaria
* CPU Governors
1. InteractiveX
2. Savaged-Zen
3. SmartAssV2
4. BrazilianWax
5. Smoothass
6. Lagfree
7. Smartass
8. Scary
9. MinMax
10. Interactive
* I/O Schedulers
1. BFQ-v2-rc1
2. V(R)
3. SIO
Click to expand...
Click to collapse
I will try do as much as I can - thx for some kind of list of 'thigs I should look at'. Few comments I have:
About governors - there will be smartass v2 for sure in next version - I just hadnt time to integrate it in this release (I tested it earlier at it really was smartass )
I/O Schedulers - deadline is quite enough for sd cards, but I will look into this SIO as it is based on deadline - thx for hint. I think rest of them is not needed.
File Systems - do we really need support for them? More supported format means bigger kernel.
"optimized kernel for size" - I prefer optimize for speed and it is done
Thanks again for this list - looks very interesting
Havent find the Governer in the cyanogen Mod ??
do I have to use external apps to select that governer??
edit : wifi working Fine
vivekkalady said:
Havent find the Governer in the cyanogen Mod ??
do I have to use external apps to select that governer??
edit : wifi working Fine
Click to expand...
Click to collapse
The governor does not come with the cyanogen mod ofLG p350. No you can't use external apps to install that governor,assuming it is smartass
Sent from my Optimus Me using XDA App
pax0r said:
File Systems - do we really need support for them? More supported format means bigger kernel.
Click to expand...
Click to collapse
It would be great if ntfs file system is supported as it is fast
Sent from my Optimus Me using XDA App
Daryll99 said:
The governor does not come with the cyanogen mod ofLG p350. No you can't use external apps to install that governor,assuming it is smartass
Sent from my Optimus Me using XDA App
Click to expand...
Click to collapse
I know that Dude
But we need external apps to select which Governer and I/O scheduler to be used even if it is in the boot.img. Not installing but selecting
no-frill app is used in my phone (i9003) it contains all the above items in the list i have specified earlier
Its from i9003 by doomload it contains all the things
https://github.com/DooMLoRD/SGS-SL-i9003
Hm... I can select governor from CM menu (performance -> CPU settings - not sure about english names ; ) but be aware of a fact that there is no smartass here (yet ), just standard ones (ondemand,usersapce,powersave,performance)
Sadly your kernel from i9003 is .35 one an here we have .32 so patches do not apply so easy...
But when I will have more time (Im in the middle of Bsc thesis ) I will try to port some .35 kernel for p350

[Q]Couple of questions about kernel developement

I was wondering if its possible to build WFS kernel with the linaro toolchain or is it only for kernel v 3.
Also is there a way to eddit the .config file w/o decompiling the kernel. I think i saw some tool like that or something.
I tried compiling fresh kernel from source didnt work out so well so i tought lol maybe there is a workaround for some smaller changes.
Basically i want to take an alrady compiled kernel open its config file and add manualy EXT support or change the dafault scheduler governor or freq.

[TWEAKS][SCRIPT] Init.d script to change governor and scheduler

Hey guys, not sure if I should be posting this in this section, but I'm not certain that is dev issue too and even if it I can't post in dev section yet. What I want to say is: if it is in the wrong section, please, move it ^^
I'm posting this for those who is seeking improvement in performance and battery saving just using tweaks in governors.
Q:What did I do?
A: I just made a init.d script with some tweaks that I wanted.
Q:What was your objective?
A: I wanted to save some battery and not lose performance. I wanted much?
Q:Where did get that from?
A: All credits to droidphile. His guide that helped me. If you want to make your own script for your favorite governor and i/o scheduler, look at his guide in http://forum.xda-developers.com/showthread.php?t=1369817
Explanations:
What I did was take droidphile tips and mod it a little bit. In his guide and explanations, he gave two types : battery friendly and for perfomance. A just merged one and other and made one that don't lost much perfomance neither sacrificies much battery. I'm ver happy with the result.
The script is in appendix. To use the file, rename without .pdf format
Explanations:
The governor in use is ondemand. I'm using arco68 CM9 for our SWG and waiting for CM10. Unhappily, I don't have enough experience to help debug CM10 and help the beta release come faster. The best I can do in the momment is wait. And I'm using supercharger V6 RC10, by zeppenlinrox.
Some tips if you want to make your on script:
- If you're using Windows, use Notepad++ to write it. You've to set up it in ANSI code (in format). Also go to edit>end line conversion>UNIX.
- Before you save, check every line and don't leave any left space, just to be sure that the script will be read right.
- Save with no format. No ".txt", no ".sh", no nothing.
- Follow to the letter droidphile steps.
That's it
*******************05/fev/2013*********************************************
Hey guys, I discovered that my attachment didn't work properly. So I made the right changes and now every line on the script run alright. Recently, I flashed another kernel (I'm using arco68 CM9 for i8150) because I wanted some new features such better governors and SIO scheduler. This kernel can be found in http://forum.xda-developers.com/showthread.php?t=1855557, credits to forfivo for it
And after flashed forfivo kernel, I made some changes and scaled my governor as ondemandx, so I'll attach this file here too. If someone want to flash his kernel too, try v2 because I think that v3 is still instable.

Custom Lolipop Kernel for Asus Zenfone 2 ZE551ML/ZE550ML

Note: This kernel will work on stock firmware2.20.40.184, 2.20.40.183, 2.20.40.178, 2.20.174, 2.20.40.168, 2.20.40.165, 2.20.40.164 and may be lower, also working on some stock-based ROMs(EchoeROM V3,for example).
Disclaimer: I am not responsible for your broken phone , broken memory card, etc. All my kernels I test first on my own phones , and then upload here
If you like my works please do not forget donate to me(PayPal account you may find in my profile)
Bootloader unlock is required for every custom rom, custom kernel, custom recovery. Unlock Tool here:http://forum.xda-developers.com/zenfone2/general/tool-one-click-bootloader-unlock-root-t3155884
Changelog:
03.06.2016
Full NTFS support for SD card
NTFS OTG full support by sibling Asus File Manager(read/write), from others file managers you can to see OTG NTFS devices, may see OTG NTFS devices from file chooser but you can't edit data. But you can edit platform.xml via NextAPP SDfix and can write on NTFS OTG devices
14.05.2016
Migration to newest source code from Zenfone Zoom ZX551ML from 20 april 2016
Ramdisk from 183 firmware
Some optimization in code
17.04.2016
Full support exFAT SDcard format, now you may write/delete/rename by standart method of Android 5
16.04.2016
Great game performance
Remove Hotplug driver
Remove -Ofast optimization(loud words-not take effects, placebo)
Remove optimization flag -march=silvermont(loud words, did not work on 3.10 kernels)
Remove touchboost from Interactive governor
Modified Interactive, Interactive Pro, Intel, Cyan governors: CPU2 and CPU3 turn off when screen off
Idle from Linux kernel 4.6
Gpu governor simple_ondemand from Linux kernel 4.6
Based on source code from Zenfone Zoom ZX551 from march 17
zram and kernel compression is LZ4
04.03.2016
Rework MSM Hotplug, now only CPU0+CPU1 online, no dancing CPUs.
For humor and proof that overclock in others kernels is fake added "overclock" to 5GHz
28.02.2016
Re-work MSM Hotplug. Now if load more than 79 but lower than 99- only another 1 core go to online(CPU2 or CPU3)) and processor working on 3 cores online, if load more than 99- CPU3 and CPU2 go to online together and processor working on all 4 cores online DO NOT set fast lane 99 and higher!!!
Made 12 thermal states for video adapter a place of 3. If on 457 MHz have overheating- freq go to 400 MHz, if overheating on 400- go to 355, if hot on 355-go to 320 MHz and so on. In stock kernel if overheating on 457 MHz- processor goes in 200 MHz and was lags in games
25.02.2016
Compile with new march=silvermont optimizationmarch=silvermont(thanks to @Dan_Jacques )
Tuning MSM hotplug for Zenfone 2: now interface faster, smoother even when min cpus online = 2. And maybe drain battery less.
Unlocked almost all hidden GPU frequencies. Now available gpu frequencies 106, 133,160,177 MHz(I think this NOT fake underclock). I made Kernel Auditor version for our GPU PowerVR 6430 (see screnshots here http://i10.pixs.ru/storage/5/8/1/Bezimyanni_7545670_20843581.png ) https://drive.google.com/file/d/0BxVRXQGBg4DTaThjQUtoRFBrdms/view?usp=sharing
21.02.2016
Based on Asus Zenfone Zoom source code
Fixed hotplug driver and tuning(Now drain battery much less and fixed charging: now no overheating)
Added Cyan governor
Changed Interactive governor to Interactive from Asus Zenfone Zoom
18.02.2016
Now 2 different versions: for ZE551ML and for ZE550ML, Tuning MSM Hotplug(2 cores always online, Fast Lane up to 150), added Interactive Pro governor and set by default
04.02.2016
Interactive governor by default, realtime Hotplugging now on any governors, on Interactive too(Extra CPU cores disabled without load) Idea and work @mrg666 . You may to set parameters of hotplug driver via Kernel Auditor, point "CPU Hotplug"
Remove Hotplug governor(no longer needed)
Kernel Features:
1.Based on Zenfone Zoom ZX551ML source
2. Add zram support in LZ4 format(no need to turn on it, if no problem with multitasking and never no need to turn on for devices with 4GB RAM), kernel compression LZ4 too
3. Adaptation InteractiveX V2 governor for quad core devices, I make that 2 cores go to offline, when screen off
4. Processor work in "1 cpu per module" mode a place of "2 cores per module"(4 independent cpus, not pair)
5. Ofast and march=silvermont(thanks @Dan_Jacques optimization with GCC 4.9
6. Init.d support. You should install BusyBox in /xbin folder/
7. SELinux Permissive
8. KVM support (Kernel Virtual machine for Intel)
9. Added SWAP support
10. USB-HID mouse & keyboard functions(required USB Keyboard app from GPhttps://play.google.com/store/apps/details?id=remote.hid.keyboard.client&hl=en)
11. Ultra kernel samepage merging(UKSM) a place of KSM. Disabled by default, if you want you may turn on it via Kernel auditor
12. Full auto brightness. I removed minimal level 15, now level 5
13. More governovs and I/O schedulers
14.Zram disabled
15. More TCP algorithms, Westwood by default
16. Unlocked GPU frequencies 106, 133, 160, 177 MHz
17. NTFS support for SD card and OTG
Deprecated features:
1.Hotplug governor by default. Extra CPU cores disabled without load(it have been removed sinse 04/02/2016)
2. For correct work on ZE550ML you should change DPI to 320, for example via init.d script(root required).
1). Before flash kernel, you should install BusyBox in xbin folder, then create init.d folder in system/etc and set 755 permissions on it.
2) Download dpi320.zip, then extract dpi320 file and put it in system/etc/init.d folder, check that on it set 755 permissions
https://yadi.sk/d/6hg6bDDioCNbT
3). You may flash kernel.
3. Interactive governor from Asus ZenPad S 8.0 by default with some tuning(for example, hi_speed freq = 1583 MHz) and hotplugging additions( 2 cores go to offline, when screen off) Idea and work by @TheSSJ
4. Realtime hotplugging for all governors. You may to set parameters of hotplug driver via Kernel Auditor, point "CPU Hotplug"
5. Interactive governor from Asus Zenfone Zoom by default with some tuning(for example, hi_speed freq = 1750 MHz), InteractiveX and Interactive Pro have hispeed_freq 1750 MHz too.
Step 1:
You should download files for flashing:
ADB v1.0.32: Download from Google Drive
IMG file with kernel:
03.02.2016 https://yadi.sk/d/FuJhWqc9oCLZy
04.02.2016 https://yadi.sk/d/PcDiDaumoJMb7
All versions from 18.02.2016 and higher will be here: https://drive.google.com/folderview?id=0BxVRXQGBg4DTSVV5Q19mSVUxQk0&usp=sharing
Step2:
You should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash boot bootXX.XX.img
,where XX.XX- numbers after word "boot"
Step3:
Reboot to Android.
Method 2( via TWRP, without PC)​1. Download bootXX.XX.img
2. Go to recovery mode
3. Click Install, choose this bootXX.XX.img, choose boot partition and flash
4. Then reboot
Method 3(via Terminal Emulator, without PC)(root required)​1. Download bootXX.XX.img and put it in root of internal memory
2. in command prompt write
Code:
su
dd if=/sdcard/bootXX.XX.img of=/dev/block/by-name/boot
reboot
And device started with custom boot.img
XDA:DevDB Information
Custom Lolipop Kernel for Asus Zenfone 2 ZE551ML/ZE550ML, Kernel for the Asus ZenFone 2
Contributors
BORETS24
Source Code: https://github.com/BORETS24/Kernel-for-Asus-Zenfone-2.git
Kernel Special Features:
Version Information
Status: Testing
Created 2016-02-02
Last Updated 2016-09-03
Nice work, especially the Hotplug features (maybe you should transfer your post under http://forum.xda-developers.com/zenfone2/development ?)
nazagan said:
maybe you should transfer your post under http://forum.xda-developers.com/zenfone2/development ?)
Click to expand...
Click to collapse
Maybe... How I can to do this?
Can you add flashable zip please? thank you.
serhangelgor said:
Can you add flashable zip please? thank you.
Click to expand...
Click to collapse
Why?
Method 2(through CWM/TWRP, without PC)
1. Download bootXX.XX.img
2. Go to recovery mode
3. Click Install, choose this bootXX.XX.img, choose boot partition
4. Then reboot
Or you can flash without PC and without custom revovery
Method 3(through Terminal Emulator, without PC)(root required)
1. Download bootXX.XX.img and put it in root of internal memory
2. in command prompt write
Code:
su
dd if=/sdcard/bootXX.XX.img of=/dev/block/by-name/boot
reboot
And device started with custom boot.img
BORETS24 said:
Why?
Method 2(through CWM/TWRP, without PC)
1. Download bootXX.XX.img
2. Go to recovery mode
3. Click Install, choose this bootXX.XX.img, choose boot partition
4. Then reboot
Or you can flash without PC and without custom revovery
Method 3(through Terminal Emulator, without PC)(root required)
1. Download bootXX.XX.img and put it in root of internal memory
2. in command prompt write
Code:
su
dd if=/sdcard/bootXX.XX.img of=/dev/block/by-name/boot
reboot
And device started with custom boot.img
Click to expand...
Click to collapse
hey bro, if you don't mind can I add up a few things for you?? it will reduce your work and since you are on kernel 3.10.20 you can try to use my direct jump patch to jump to kernel.org v3.10.94 here's the link https://github.com/Zenfone2-Dev/direct-kernel-patch
and nice work.
installed and opened only 1 core, its too good and battery life is amazing, thanks so much for this amazing work, can you add underclock feature? it will give more batterry life
serhangelgor said:
can you add underclock feature? it will give more batterry life
Click to expand...
Click to collapse
No, I don't want to add fake underclock. It give more interface freeze and nothing else besides placebo effect and boastfulness. I started to make kernel for zenfone 2 in july 2015 and using "underclock" some time- no different battery life between 500 and 250 MHz, I tried and 166 MHz and even 83 MHz- no effect besides slow and freeze interface.
say99 said:
hey bro, if you don't mind can I add up a few things for you?? it will reduce your work and since you are on kernel 3.10.20 you can try to use my direct jump patch to jump to kernel.org v3.10.94 here's the link https://github.com/Zenfone2-Dev/direct-kernel-patch
and nice work.
Click to expand...
Click to collapse
Thank you very much, may be apply this patch in future.
BORETS24 said:
Thank you very much, may be apply this patch in future.
Click to expand...
Click to collapse
made a pull request keep working and if you want you can switch to gcc 5.3.0 toolchain https://github.com/Zenfone2-Dev/x86_64-toolchain-GCC-5.3.0
BORETS24 said:
No, I don't want to add fake underclock. It give more interface freeze and nothing else besides placebo effect and boastfulness. I started to make kernel for zenfone 2 in july 2015 and using "underclock" some time- no different battery life between 500 and 250 MHz, I tried and 166 MHz and even 83 MHz- no effect besides slow and freeze interface.
Click to expand...
Click to collapse
BORETS24, can you add F2FS support? I feel the IO more smooth with it (in other phones there is a huge difference between ext4 and f2fs, like Moto G), but requires changes in kernel config file (easy) and a modified ramdisk with edited fstab (more complicated). There is an Project T version that includes a fstab with the needes changes [link=http://forum.xda-developers.com/zenfone2/development/project-t-custom-kernel-zenfone-2-t3150822/post64366155]here[/link] (but only boot with all /system /data / cache formatted in F2FS). With the correct lines, it's possible to make a mixed fstab, and supports both fs.
Changelog:
04.02.2016
Interactive governor by default, realtime Hotplugging now on any governors, on Interactive too(Extra CPU cores disabled without load), remove Hotplug governor(no longer needed)
BORETS24 said:
Changelog:
04.02.2016
Interactive governor by default, realtime Hotplugging now on any governors, on Interactive too(Extra CPU cores disabled without load), remove Hotplug governor(no longer needed)
Click to expand...
Click to collapse
hey bro, I can't find the commit for realtime hotplugging
Sent from my ASUS_Z00A using Tapatalk
Im using it, looks good, thanks
say99 said:
hey bro, I can't find the commit for realtime hotplugging
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
If will no critical bugs I will upload to Github, need time for test by users.
BORETS24 said:
If will no critical bugs I will upload to Github, need time for test by users.
Click to expand...
Click to collapse
just an advice : always upload up the commits and make two builds, test builds and stable builds, you can always revert the things you pushed to git
Sent from my ASUS_Z00A using Tapatalk
say99 said:
just an advice : always upload up the commits and make two builds, test builds and stable builds, you can always revert the things you pushed to git
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
I'm just recently start to use Github, for me easier delete changes from sources on PC Ubuntu than from github before changes,I keep stable source in zip archieves, old school And I can't to know which version of boot.img is stable which is not. Will make two unstable build? Alone I can't test everything, all hope on users. If you don't want to wait, I may to say that use Autosmp hotplug driver...
BORETS24 said:
I'm just recently start to use Github, for me easier delete changes from sources on PC Ubuntu than from github before changes,I keep stable source in zip archieves, old school And I can't to know which version of boot.img is stable which is not. Will make two unstable build? Alone I can't test everything, all hope on users. If you don't want to wait, I may to say that use Autosmp hotplug driver...
Click to expand...
Click to collapse
haha I can understand maybe that's y I added up the build script. A single command and you get a flashable zip without any need to manage them and that command is ./buildzf2
and yeah I have changed the defconfig in script and made a pull request so just get a hold on that
Sent from my ASUS_Z00A using Tapatalk
Add to description of kernel:
You may to set parameters of hotplug driver via Kernel Auditor, point "CPU Hotplug"
I really love your works. You made a big update for this cpu. Can you make a undervolt for this kernel, master ?

Categories

Resources