[Experimental] U8150 Gingerbread Kernel and Tweaks - Miscellaneous Android Development

I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 9 (New & Final Version):
http://d-h.st/SGx
Download Test 8:
http://d-h.st/gSD
Download Test 7:
http://d-h.st/72f
Download Test 6:
http://d-h.st/oFd
Download Test 5:
http://d-h.st/pO8
Download Test 4:
http://d-h.st/3bA
Download Test 3:
http://d-h.st/Q1k
Download Test 2:
http://d-h.st/gOu
Log Test 9:
- Fix USB Tethering (need change dnsmasq_dhcp patch & make run dnsmasq_dhcp when USB Tethering running)
- Fix segment fault when zipalign script execute
- Add dnsc binary to ping url address and this binary function to know when you online or not. If you online crossbreeder script run/execute
- Remove sqlite3 and system server binary (not stable and broken something)
- Change value of scripts
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Recommend kernel and everything look like stable for me. May be this final version if i don't found any bugs again
Log Test 8:
- Fix dnsmasq dhcp only need 1 process and previously version i got trouble connection issue while tethering
- Change path dnsmasq_dhcp binary to crossbreeder folder (from /system/bin/* change to /system/etc/CrossBreeder/*)
- Fix Clean Dalvik script and now work with schedule
- Add dalvikvm binary and system_server binary from jellybean (may be can boost performance)
- Use some value of tweak from ThunderBolt/Pikachu01
- Change some value of tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 7:
- Fix crossbreeder (low RAM because duplicate dnrd process and dnsmasq_dhcp process. Fix in this version)
- Fix haveged script (need link /dev/random to /dev/urandom). Entropy always stay in 4096. To check this you can type in terminal emulator
Code:
su
entro
- Remove extendedmenu and rngd
- Use only two dnsmasq_dhcp/dnsmasq process. If you check in terminal emulator with
Code:
su
ps | pgrep dnsmasq_dhcp
or
Code:
su
ps | pgrep dnsmasq
You'll found only 2 process running and always got 2 dnsmasq process everytime (in other version you'll get many dnsmasq and make low RAM).
- Fix build.prop tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 6:
- In this version you can choose use haveged or rngd (default use haveged)
- Add build.prop tweak in init.d (can disable in extended menu)
- Tweak now 80% complete for get maximal performance for this phone (i don't have any idea again to get more better than this. Thank you )
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 5:
- Fix script init.d
- Fix Crossbreeder more better and less aggressive to check DNS and IP Address
- Fix hosts and save more memory
**) For flash this need clean rom and this kernel CAN update from previously kernel test 4. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 4:
- Use GCC 4.4.3 to compiler kernel (much more stable)
- Remove unnecessary module
- Add random optimize in kernel (3 commit github)
- Remove haveged and use rngd
- Combine crond script to one script and run every 45 minutes. Save more ram for this (script are Fast Engine Flush, Fast Engine Swap and Reduce Wifi TX Power)
- Add script Read Write Partition tweak and I/O Scheduler Tweak
- Update CrossBreeder. Much more save ram and now use blank gif for ADBlock (every things work).
- Boot more faster than before (optimize script more efficient) and more performance
**) For flash this need clean rom and can't update from previously kernel test (a lot of difference things)
Log Test 3:
- Fix All CPU Governors source code (i hope it)
- Try with difference egl.cfg value
- Change Fast Engine Flush script run every 60 minutes
- Change Fast Engine Swap script run every 45 minutes
- Change Haveged script run every 20 minutes
- Add Reduce TX Power script and this script run 30 minutes after you turn on your wifi/wifi tethering
- Add CrossBreeder script and script little difference with original (give me more ram with all feature from CrossBreeder work and run without problem).
And you can use AdAway apps to enable or disable hosts file (It will be work together with AdBlock CrossBreeder)
- Add Audio Lag Reduction in huawei extended menu :laugh:
- Fix huawei extended menu and make all feature can be enable or disable it
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Pikachu01
Other???

FAQ
How to know my script in init.d work?
You can see all log in /data/*.log
Why first boot so long?
Be patient. Because 3 script do it a job first time (SQLite database vaccum Script, Automatic ZipAlign Script and Clean Dalvik Cache and Cache Script).
The second boot will fast.
How to know rngd or haveged run?
You can type in terminal
Code:
su
extendedmenu
How to make/create Odexed framework file?
You can type in terminal, use adb or qtadb
Code:
su
dexo
And your phone will reboot if the script finish do a job
How to know CrossBreeder AdBlock work?
You can try to view file /system/etc/hosts and try one url in that file. Try it in your internet browser and you can get [ADBLOCK] (in NEW VERSION you'll got blank gif).
Can I disable ADBLOCK CrossBreeder?
Yes, you can. Try to enable or disable with huawei extended menu or use AdAway apps to disable hosts file and reboot to see result
Can I enable or disable feature of this all tweaks?
Yes, you can. Try to enable or disable with huawei extended menu

reserved

You should probably provide a link to your kernel source.

tulangabol said:
I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 2:
http://d-h.st/gOu
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Other???
Click to expand...
Click to collapse
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye

aorth said:
You should probably provide a link to your kernel source.
Click to expand...
Click to collapse
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
ep690d said:
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
Click to expand...
Click to collapse
I'll try to fix it :fingers-crossed: and add more feature :laugh:
Sorry for my poor English

tulangabol said:
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
Click to expand...
Click to collapse
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721

psyke83 said:
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
Click to expand...
Click to collapse
That truely i don't have enough bandwith to upload.
I don't have enough knowledge about kernel too. I'm learning alone to compiler that and my teacher is google
My Thread may be close i think
I'll learn more about that. Thank you

Related

[KERNEL][HYBRID]G3MOD v2.5

G3MOD TEAM
Founder
dharamg3
Kernel Developers
hillbeast , moikop , cool.darshak
Application Developers
dympy , andreapier
ROM/Theme Developers
Stylooo , RafayelG , aarrun​
Kernel Features:
Non-OC Version: 83MHz - 667MHz
OC Version: 83MHz - 1200MHz
RootADB
Busybox 1.19
File System Support: rfs/ext2/ext3/ext4
Init.d Scripts
1% Battery Mod
OverClocking
UnderVolt
data2sd
BFQ I/O Scheduler
Voodoo v10
CWM Touch Recovery
Configurable CompCache
BootLogo
TinyRCU
MultiBoot
Kernel Hz: (Non-OC: 250, OC: 500)
tun.ko
100MHz CPU clock stepping
DMA Enabled in G3D
Dynamic OC
Hybrid kernel (supports every firmware for Galaxy 3)
Hybrid Data2SD
Multi Data
NTFS read-only support (but no auto mounting SD card yet)
BLN Support. (Thanks to marcellusbe)
JFS and HFS+ support
CWM Features:
1) Reboot
2) Extended Power Menu
1.1) Power Off
1.2) Reboot
1.3) Reboot Recovery
1.4) Download
3) Update.zip's
3.1) Update.zip from sdcard Root
3.2) Select .zip from sdcard
3.3) Toggle Signature Verification
3.4) Toggle Script Asserts
4) Multiboot
4.1) Switch ROM's
4.2) Backup ROM
4.3) Switch Kernel's
5) Data / Factory Reset
6) Wipe
6.1) Data / Factory Reset
6.2) Cache
6.3) Wipe dalvik cache
6.4) Wipe Battery Stats
7) Backup and Restore
7.1) Backup
7.2) Restore
7.3) Advanced Backup 7.3.1) Boot 7.3.2) System 7.3.3) Data 7.3.4) Cache 7.3.5) sd-ext
7.4) Advanced Restore 7.4.1) Boot 7.4.2) System 7.4.3) Data 7.4.4) Cache 7.4.5) sd-ext
8) Mounts And Storage
9) Advanced
Kernel Downloads:
http://code.google.com/p/g3modteam/downloads/list
Kernel Changelog:
v2.5 (15/05/2012
Supports CM7a8.1
Supports ICS (if colours are screwy, update OpenFIMG)
CWM5 with touch
General source code fixes
v2.4.1 (23/02/2012)]
CM7 A7 support!
Fixed filesystem covertion system.
Lagfree governor properly implemented.
Added BLN support.
Fixed wifi for CM7 (Thanks to Arakmar).
v2.3 (15/12/2011)
Hybrid initramfs: Added support for ICS-based roms.
Multiboot: Fixed dalvik-cache restoring.
Multiboot: Added support for backing up android_secure.
AOSP Proximity sensor support added.
Initramfs: Optimized init.rc files and added usb.rc file.
MAX8998 Driver: Removed led blinking support since it isn't being used anymore.
v2.2.2 (21/11/2011)
Went back to old BLN system, this seems to work fine.
New NON-OC Kernel Hz: 250.
Should have a better battery backup
v2.2.1 (16/11/2011)
JFS Utilities permission fixed.
BLN System fixed.
v2.2 (15/11/2011)
Support for new BLN system.
Optimized SIO Scheduler for flash devices.
Added JFS Utilities (forgotten in the previous release).
Dropped OC+ version support.
v2.1 (09/11/2011)
Lagfree Governor.
83Mhz steps for Non-OC and OC+ version
Lowmemorykiller.c tweak.
Reverted ondemand performance tweak.
Updated BFQ I/O Scheduler to v2.1r1.
Data2SD tweak: Improved IO Performance for non-Data2SD users and fixed *incompatibility* with Kyrillos's App2SD script.
Added Hybrid Data2SD internal System cache.
Compcache is now configurable.
Fixed battery drain problem.
BLN Support. (Thanks to marcellusbe)
Removed InteractiveX governor due to problems.
JFS and HFS+ support.
v2.0 (02/10/2011)
Hybrid kernel (supports every firmware for Galaxy 3 (except Eclair))
CM6.2 and CM7 Support (obviously but it must be said twice)
Adjusted battery driver (more accurate)
83MHz minimum on OC kernel
Hybrid Data2SD
Multi Data
Compcache toggleable
InteractiveX CPU frequency mode
SIO scheduler
MD5 hash disabled on nandroid
More stable at idle
Reduced power drain at idle
jhash3 removed as it increased power drain.
v1.9 (09/09/2011)
tun.ko included and enabled
100MHz CPU clock steppings: you can now set your speed to anything between 100 and 1400MHz in 100MHz step (100, 200, 300...)
CPU minimum frequency now 100MHz on Performance, Ultimate and Extreme
jhash3 for improved HSDPA/3G/EDGE speeds.
Multiboot improved for data backup and recovery
Added Reboot and Wipe Data/Dalvik Cache to main menu of CWM.
DMA enabled in G3D - Thanks marcellusbe
Added InDroid and CM7 to Multiboot
v1.8 [30/08/2011]
Reworked Battery Driver
Reworked CWM Recovery
Now 11 ROM's support in Multiboot
v1.7 [15/08/2011]
Multi Boot
Power off Option in CWM
Dynamic OC (ability to change the maximum freq)
Modify the max_blk_count value to prevent overflow.(sdcard related)
mmc: core: Fix dereferencing after NULL check (sdcard related)
Lower vfs_cache_pressure 100->25.
ARM: fix some sparse errors in generic ARM code
lib: Improve the performance of memcpy and memmove of the general version
lib: Introduce some memory copy macros and functions
ashmem: fix deadlock when system is low on memory
v1.6 [11/08/2011]
Batter Driver Back to Original - Only Change is added Compensation for Data On
Stable OC
UV Works for All Frequencies - Can be checked via dmesg
Removed SavagedZen and SmartAss for now.Giving Problems. Will come back in future versions.
SDCard Partitioning Problem Solved - Ext3 partitioning for mmcblk0p2 - Can be converted to Ext4 Using g3mod app.
Kernel Flashing via CWM Recovery Working
Kernel Hz: Lite:256 Performance:300 Ultimate:500 Extreme: 1000
Noop I/O Scheduler by default
Fixed Typo in Bootlogo
v1.5 [05/08/2011]
CompCache
BootLogo
TinyRCU
Battery Driver Reworked - Please test and give feedback
v1.4 - 31/7/2011
CWM Recovery In Kernel
Fixed CPU Freq Driver. SetCPU now shows properly.
UV working properly now.Can Be Checked in dmesg.
A 1300MHz freq Step in Extreme Version for those who want 1300MHz overclocking.
Changed Kernel Hz to 300 for Better Battery Backup.
v1.3.4 - 27/7/2011
Overclocking Stable (Less freezes) - To Test
BFQ I/O Scheduler - http://algo.ing.unimo.it/people/paolo/disk_sched/
Extreme Version Screen Off Bug Solved
No OC bus for any versions - (For those who want OC Bus, please use v1.3.0 for the moment. I will try to make OC bus in some better manner)
v1.3.3 - 25/7/2011
5 Touch Mod
Removed RAM Optimization Script
Overclocking Stable (Less freezes) - To Test
Solved Bug which showed wrong freq in SetCPU and PimpMyCPU
Solved Time In State for SetCPU
Extreme Version has OC Bus 200MHz
Frequently Asked Questions​
For NOOBS​
Q) How to flash the kernel
A) Just apply update.zip from Recovery or flash tar file using ODIN.
Q) Will i lose my data if i flash kernel?
A) No, you wont lose any data nor do you have to wipe data or cache.
Q) Does my battery need to be 100% to flash?
A) Not at all
Q)Flashed CM 6.2 Kernel on Froyo Rom and WIFI doesnt work?
A) There are two versions of Kernel. One is for Froyo Rom and other is for CyanogenMod Rom 6.2 (CM 6.2). if you are on Froyo rom and flash CM 6.2 then your wifi wont work and vice versa.
Q) 1400 Mhz (Extreme version) doesnt work for me
A) Not all Galaxy 3 suppport overclocking as high as 1400 Mhz. If it doesnt work then keep frequency lower or flash Ultimate, Performance or Lite version
Q) What does this data2sd in g3mod do?
A) data2sd is method by which all your /data partition goes to your sdcard thus giving you more space for downloading apps. Its suggested to use data2sd only if your sdcard class is higher than Class 6
Q) Internel Memory shows 0kb
A) Check if you have fs.data2sd at this location /sdcard/Android/data/g3mod/ If yes then delete it or else your sd card doesnt have sd-ext partition
Q) How can i go to recovery mode
A) Press MENU+VOLUME UP+VOLUME DOWN+POWER button and bingo!!!
Q) Should i use multi boot even if i am having 2 gb card class 2 ?
A) Sd card with any class can use multiboot
Q) Data Wipe Necessary When Switching Between CM and Froyo ?
A) Yes data wipe is necessary for switching roms between CM and Froyo. But we have given option to Backup data also in recovery.
Q) My APP is not working after Flashing KERNEL
A) Its not a kernel problem
Q) What is tun.ko?
A) It is basically used to setup Open VPN connections
Q) What is jhash3?
A) jhash3 improves the HSDPA/3G/EDGE speed
For Advanced users​
Q1) Battery is draining fast?
A) After flashing the kernel please calibrate your battery or else let 3-4 full battery cycles pass.
Q2) Which profiles should i use?
A) Lets take example that you are using Ultimate kernel. Keep the governor ondemand (Like every good boyfriend fulfills all demands of his girlfriend ondemand governor does the same for your CPU ).
Make profiles:-
1) Time Profile - 12 am to 6.00 am Freq 100 Mhz to 400 Mhz Priority 100
2) Screen Off - Freq 100 Mhz to 600 Mhz Priority 95
Q3) What are advanced settings in the SetCPU mean?
A) Sampling rate is rate at which the frequency of your CPU changes. Up Threshold is limit at which CPU will change freq on load (Scales Up). Down Threshold (conservative only) is limit at which CPU will change freq on load (Scales Down). Powersave bias is used for saving the power of CPU, it will slow down the CPU and affect the performance also 200 in powersave bias mean 20%...250 means 25% and so on.
Q4) I want performance and also good battery what profiles should be i use?
A) Refer to Q2 for Profiles Set up and now go in Advanced tab and Keep Sampling Rate 10000 or 15000. Upper Threshold to 90 and Powersave bias to 200 (20%). Since we are using powersave bias, this will affect the performance as it slows down the CPU so to increase the performance we are lowering the Sampling rate thus we get perfect balance of Performance and good battery backup.
NOTE: ABOVE SETTINGS ARE JUST EXAMPLE..PLEASE PLAY AROUND AND CHOOSE SETTINGS WHICH SUITS YOU THE BEST
WATCH THIS NOOBS​
Donations:
If you want to donate to the team as a whole, please divide the amount and donate separately to each member. Sorry for the trouble caused.
Thank You for considering to donate.
dharamg3 -
hillbeast -
moikop -
cool.darshak -
Steps for Multi boot:
1) Flash Kernel v1.7+
2) Go to CWM Recovery -> Multiboot -> Backup ROM.
3) Backup your Current ROM to ROM1 (It will backup the system.img at /sdcard/Android/data/g3mod/roms/romname_ROM )
4) Add the system.img of your 2nd ROM to /sdcard/Android/data/g3mod/roms/romname_ROM and similarly for different ROM's.
5) Use the CWM Recovery -> Multiboot -> Switch ROM option to switch between different ROM's.
6) If switching between Froyo ROM and CM6.2 RoM, you will need to wipe data and also change kernel's via update.zip method.
7) Use the data backup and restore option to prevent loss of data when switching between Froyo and CM6.2 ROM's.
Note: Ask the developer of the ROM's to provide you with the system.img for their ROM
How to use Hybrid Data2SD
1) Connect your phone via ADB
2) Go into adb shell
3) Type 'echo hybrid > /sdcard/Android/data/g3mod/fs.data2sd'
4) Create a text document in Notepad with a list of all the directories you wish to move. Example:
Code:
app
log
dalvik-cache
---LEAVE A BLANK LINE AT THE END---
5) Save the file and call it 'data2sd.dirs'
6) Do 'adb push data2sd.dirs /sdcard/Android/data/g3mod/'
7) Reboot your phone
8) Once your phone has booted, run 'adb shell cat /data2sd.log' to ensure it is running correctly.
How to enable Multi Data
1) Connect your phone via ADB
2) Go into adb shell
3) Type 'echo 0 > /sdcard/Android/data/g3mod/multiosdata'
4) Multi Data will automatically backup your data upon booting into a different OS.
Make sure to not wipe your SD-EXT partition. Doing so will erase the backups from other firmware. Only wipe it if you wish to erase data for everything.
You can also use Multi Data to quickly restore data if your phone has become corrupted. It will restore it back to the last multi-boot switching
1) Connect your phone via ADB
2) Go into adb shell
3) Type 'echo 0 > /sdext/lastos'
4) Reboot the phone
Directories for Multi boot:
//ROM Dir
__system("mkdir /sdcard/Android/data/g3mod/roms/CyanogenMod6_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/CyanogenMod7_ROM"); //Add CM7 Support
__system("mkdir /sdcard/Android/data/g3mod/roms/G3MOD_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/Kyrillos_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/Grigora_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/AOSP_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/DutchMods_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/Kyorarom_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/Indroid_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/rom1_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/rom2_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/rom3_ROM");
__system("mkdir /sdcard/Android/data/g3mod/roms/rom4_ROM");
//Data + sd-ext Backup Dir
__system("mkdir /sdcard/Android/data/g3mod/data/Froyo_DATA");
__system("mkdir /sdcard/Android/data/g3mod/data/CM6_DATA");
__system("mkdir /sdcard/Android/data/g3mod/data/CM7_DATA");
//Kernel dir
__system("mkdir /sdcard/Android/data/g3mod/kernel/Froyo");
__system("mkdir /sdcard/Android/data/g3mod/kernel/CM6");
__system("mkdir /sdcard/Android/data/g3mod/kernel/CM7");
How to configure compcache:
If you want to use default configuration (as up to now.. 62 MB aprox.), you don't have to do anything different as what you have been doing. But if you want to use a more/less memory, here are the steps:
Inside that /sdcard/Android/data/g3mod/compcache file, write ONLY the number of MegaBytes you want to use for compcache.
Reboot.
If compcache file is empty or contains a "0" inside, it will use default configuration.
How to: BLN
This is only "needed" if you have a i5801 | i5800L or any other Galaxy 3 model with back button lights and want BLN in it.
How to install:
First, download the lights.GT-I5800.so file from google code. Then execute this commands:
adb remount (or if this doesn't work: mount -o remount,rw /dev/stl6 /system)
adb rm /system/lib/hw/lights*
adb push [Location of this file] /system/lib/hw
After that, reboot and now you have BLN working
Steps for Changing the Max Freq(Dynamic OC):
There is an entry in /sys/devices/system/cpu/cpu0/cpufreq/plls_table where you can put your own value for APLL.
Before doing this, set "PERFORMANCE" governor on and min and max frequencies to the maximum.
Code:
// Do this in adb
echo "0 a[SIZE="5"][B][U]258[/U][/B][/SIZE]0[SIZE="5"][B][U]3[/U][/B][/SIZE]01 a14d0303 c07e13fc cf850240" > /sys/devices/system/cpu/cpu0/cpufreq/plls_table
You need to replace the 258(Hex Value) with your desired value.
Here 258 means
(2*16*16) + (5*16) + 8 = 600
and 3 means it is 600*2 = 1200
Therefore, a2580301 means 1200MHz.
This is a temporary method. For a permanent Method, add this line to a init.d script. Name the script to something like S10_Dyanmic_OC.
Help Others: If you calculate a Hex Value for a particular frequencies add it here:
https://docs.google.com/spreadsheet/viewform?formkey=dG5hdnpsWFdTNExiY2t3dy16VzBvaWc6MQ
You can view all the frequency Hex value's calculated by others over here:
https://docs.google.com/spreadsheet...G5hdnpsWFdTNExiY2t3dy16VzBvaWc&hl=en_US#gid=0
Kernel Related Media:
5 Touch Support:
BootLogo and Progess Bar
Multi Boot
g3mod_v1.3.4_LITE.tar (5.9 MB)
http://www.multiupload.com/3BIF9S2IES
g3mod_v1.3.4_LITE.zip (6.1 MB)
http://www.multiupload.com/9IJTKFIJDX
g3mod_v1.3.3_LITE.tar (5.9 MB)
http://www.multiupload.com/DDMMU0U9YB
g3mod_v1.3.3_LITE.zip (6 MB)
http://www.multiupload.com/DW1QZPDQOY
g3mod_v1.3.4_PERFORMANCE.tar (5.9 MB)
http://www.multiupload.com/H53ZTO5ULW
g3mod_v1.3.4_PERFORMANCE.zip (6.1 MB)
http://www.multiupload.com/WWFL3EXH0Y
g3mod_v1.3.3_PERFORMANCE.tar (5.9 MB)
http://www.multiupload.com/Y9CDMFVH61
g3mod_v1.3.3_PERFORMANCE.zip (6 MB)
http://www.multiupload.com/0MQQRR1KV8
g3mod_v1.3.4_ULITMATE.zip (6.1 MB)
http://www.multiupload.com/I4JCH7E5JE
g3mod_v1.3.4_ULTIMATE.tar (5.9 MB)
http://www.multiupload.com/TEQXRZMKPQ
g3mod_v1.3.3_ULITMATE.zip (6 MB)
http://www.multiupload.com/97DV0V4OQC
g3mod_v1.3.3_ULTIMATE.tar (5.9 MB)
http://www.multiupload.com/KV9SSVWWZ7
g3mod_v1.3.4_EXTREME.tar (5.9 MB)
http://www.multiupload.com/EGZKK89JTZ
g3mod_v1.3.2_LITE Odin
g3mod_v1.3.2_LITE CWM
g3mod_v1.3.1_LITE Odin
g3mod_v1.3.1_LITE CWM
g3mod_v1.3.0_LITE Odin
g3mod_v1.3.0_LITE CWM
g3mod_v1.3.2_PERFORMANCE Odin
g3mod_v1.3.2_PERFORMANCE CWM
g3mod_v1.3.1_PERFORMANCE Odin
g3mod_v1.3.1_PERFORMANCE CWM
g3mod_v1.3.0_PERFORMANCE Odin
g3mod_v1.3.0_PERFORMANCE CWM
g3mod_v1.3.2_ULTIMATE Odin
g3mod_v1.3.2_ULTIMATE.zip CWM
g3mod_v1.3.1_ULTIMATE Odin
g3mod_v1.3.1_ULTIMATE CWM
g3mod_v1.3.0_ULTIMATE Odin
g3mod_v1.3.0_ULTIMATE.zip CWM
g3mod_v1.3.2_EXTREME Odin
g3mod_v1.3.2_EXTREME CWM
g3mod_v1.3.1_EXTREME Odin
g3mod_v1.3.1_EXTREME CWM
g3mod_v1.3.0_EXTREME Odin
g3mod_v1.3.0_EXTREME CWM
Source For Developers:
https://github.com/dharamg3
Note:
We am learning how to develop kernels.
We willl add different features as and when we can implement them.
The main goal of this kernel will be to keep the phone stable and fast.
There will be nothing as alpha or beta releases.
We will give out the kernels directly, but if anything goes wrong and you have to reflash the ROM or kernel, please dont start shouting.
You may give us different ideas on what features to implement. We will try our best to implement all the features you want
Many of the features implemented in this kernel, are taken from marcellusbe's Fugumod Kernel, and we shall be ever thankful to marcellusbe for the fugumod kernel
Warning:
We are not responsible for any damage caused to your phone (softbrick or hardbrick)
Credits:
marcellusbe for all his help, awesome fugumod kernel
supercurio for voodoo v10
Paolo for BFQ I/O Scheduler
All developers for making this an awesome phone
Everyone who is helping is solving different issues with this kernel
Please let us know if we miss anyone ...oh we did already miss someone..thanks G3MOD TEAM too
What to the old thread?
Nm read that
Btw 6th post got some errors...
@Dharam, i have a question. In your v1.8 Kernel, We can change the partitions to any type we want, can't we? Because in Mumbozver's recovery, we could only use ext2/ext4/ext2.
kyrillos13 said:
@Dharam, i have a question. In your v1.8 Kernel, We can change the partitions to any type we want, can't we? Because in Mumbozver's recovery, we could only use ext2/ext4/ext2.
Click to expand...
Click to collapse
The kernel itself supports everything, but CWM only supports EXT2. I will look into either porting CWM4 or getting 2.5 to support more systems.
hillbeast said:
The kernel itself supports everything, but CWM only supports EXT2. I will look into either porting CWM4 or getting 2.5 to support more systems.
Click to expand...
Click to collapse
getting 2.5 to support other partitions will be a better idea...coz for CWM 4 you need complete CM7 source, and also most of the update.zip's on the g3 forums use amend...and CWM 4 supports only edify....
All the best to the future process
Sent from my GT-I5800 using XDA App
Right, I want to work on USB OTG but lack the cable, and the only way I can do it with what I have is if I destroy my only USB cable for my phone. So if someone wants me to do USB OTG, then buy me a cable and I'll do it
All the stuff is there to do it, I just need to get the phone to switch into host mode.
I think v1.9 is going to come sooner than expected...excellent work by the whole team...
Will this root my phone if I install this in Stock ROM?
[email protected] said:
Will this root my phone if I install this in Stock ROM?
Click to expand...
Click to collapse
it will give you ADB Root, but not the superoneclick root...
dharamg3 said:
it will give you ADB Root, but not the superoneclick root...
Click to expand...
Click to collapse
Ok thanks.....
I am a newbie at this...
But, which root did I get when I installed Kyrillos' ROM?

[DISCONTINUED][MOD][13 FEB] AIO MOD - PYD-X & SebastianFM Kernels v1.2.3

AIO Kernel MOD by axetilen & iba21 (AROMA)​
v1.2.3 is gonna be the final version because I'm gonna get the S3 on FEB 18
Requirements:
- PYD-X kernel v4.1.9 or higher
- SebastianFM kernel v1.5.0, 1.5.1 or v1.5.2
- Grogg kernel is also supported but not fully functional -> Run MOD for PYD-X kernel
- SENSE-BASED ROM which supports init.d folder
- S-off and rooted phone ~~~> it is very hard to deal with S-on users
- The latest 4EXT Touch Recovery
- AOSP/AOKP/CM10 are NOT supported
FEATURES:
- Select kernel type or Powerful Kernel Reset
- Selectable OnDemand Configurations: Battery Save, Balance & Performance
+ These configurations change OnDemand behaviors
+ Battery Save: less responsive but save more battery life without significantly afftecting system performance
+ Balance: default configuration of the kernel
+ Performance: more responsive. System will be very smooth despite low frequencies
- Separated CPU max frequencies
- Selectable CPU frequencies: Max and Min
- Selectable CPU Second Phase Frequencies
- 3 choices of 3D GPU max clock
- 11 choices of Undervoltage: -25mV, -50mV, -75mV, -87.5mV, -100mV, -9%, -9% plus, 11%, -112.5mV and -125mV
- Zram on/off
- Delete some (not all) leftovers of other kernels which may affect this kernel (Powerful Kernel Reset)
- Some Tweak Scripts
- Add 4ext Tweaks script
- Fast Engine Flush script by zeppelinrox
- Adrenaline Boost v3 by ImmaWind
- Automatically zipalign apks on boot for better free ram and performance
- Selectable i/o scheduler
- vsync control
- fastcharge control (for PYD & Sultan kernels)
- Notification LED time-out control (only for PYD)
- 64, 128 and 256mb softswap options
DISCLAIMER:
- Softswap can degrade your internal memory. Use it with your own risk
- v1.2.3 could increase the boot time of Sense 3.6 ROMs by 30 seconds -> not sure but if you have this problem, revert to v1.2.2 or open init.post_boot.sh and delete this line: sleep 30
GENERAL NOTES:
- This is NOT a kernel, so you have to flash the kernel before flashing this MOD
- SebastianFM kernel doesnt support Screen Off Frequency
- If you set any value of swap or zram -> minfree will be set automatically to Medium -> no minfree menu
- If you choose No swap or Zram -> minfree menu will appear
- 9% and 9% plus: they have likely the same standby battery life as -75 but worse with heavy usage. So they are stable for almost all devices, more stable than 62.5 and 75mV and much better than -50. If your devices cannot handle -62.5 and -75, -9% and -9% plus are the best choices for you
- I'm neither a DEV nor a pro in this field, so having mistakes is inevitable. Please forgive me
- You tell me if you experience a bug…
NOTE FOR VIPERS ROM USERS & KERNEL TUNER USERS:
- ViperS has Venom Tweaks which is able to apply some settings and overwrite some of the scripts in the AROMA
- Please open Venom Tweaks and set the same as what you choose in the AROMA menu
- Kernel Tuner could also apply its settings and overwrite my scripts. Please check this too
PYD-X KERNEL NOTE:
- fsync control has been removed in the latest test build v4.1.9
- if you're using 4.1.9, in fsync menu, choose anything you want because it is useless
How to execute Fast Engine Flush to optimize your phone???
- Open Android Terminal or some other apps which have terminal feature (Android & System Tuner, Script Manager,...)
- Type:
Code:
su
flush
How to execute Adrenaline Boost to optimize your phone after some days of using???
- NOTE: This may consume a bit more battery because system has to rebuild cache after running this script
- Open Android Terminal or some other apps which have terminal feature (Android & System Tuner, Script Manager,...)
- Type:
Code:
su
boost
KNOWN BUG:
- You tell me
@Credit:
- Special thanks: iba21: please give credit to him if you think this mod is useful. Click here to see his MOD for Bricked kernel
- SebastianFM: DEV of SebastianFM Kernel
- XxXPachaXxX: DEV of PYD-X Kernel
- Ghost: for helping us
- zeppelinrox
- ImbaWind
- msavic123
Changelogs:
v1.2.3:
- Move all the scripts to init.post_boot.sh -> all the stuffs should be changed correctly
- Updated Powerful Kernel Reset: delete Pimp My Rom script to avoid any conflict
- Added Capacitive buttons backlight brightness configuration
- Change OOM ADJ grouping to the default values
v1.2.2:
- Removed BFQ i/o scheduler from the AROMA menu
- Fixed the corrupted thermald.conf -> fix thermald control
- Broght minfree menu back to all swap settings
- Updated zipalign bin
- Added Adrenaline Boost Tweak Script (Thanks ImbaWind)
- Added 2 more ondemand configurations for PYD kernel: Balance+ & Performance+
- Tweak script: Keep Launcher in Memory -> prevent launcher from realoading (a.k.a Bulletproof Launcher)
v1.2.1:
- Added 1 tweak to avoid lag after some days of using (drop_caches)
- Fixed the missing minfree option: Let the ROM manage itself (Thanks xlx890121)
- Editted wrong description in delete.sh
v1.2: (Removed due to my mistake - Changelog is still useful for v1.2.1)
- Removed some unnecessary scripts
- Added 64, 128 and 256mb softswap options
- Extended Powerful Kernel Reset list with Grogg kernel leftovers
- Removed NO_NORMALIZED_SLEEPER which may cause Deep Sleep issue
- Added 1 minfree option: Let the ROM manage itself
- Fixed 1 typo in minfree description [RIP my English, I wrote "discription" in the AROMA changelog instead of "description"]
v1.1 for PYD & SebastianFM kernels
- Rewrite scripts - more organized
- Remove Sultan kernel from AROMA menu
- Fixed some wrong codes: battery calibration script not installed
- Removed Fsync control
- Fixed bug for separated CPU control
- Fixed Black screen issue from v1.0
v1.0 AIO mod for 3 kernels:
- Rewrite scripts
- Support 3 kernels in 1 MOD
- Added some more tweaks
- Added Powerful Kernel Reset in AROMA Menu
- Removed SManager & SMWidget apks (download from Play Store for free)
- Updated Powerful Kernel Reset for more trash cleaned up
- Added new features: LED time-out, fastcharge, KSM, msm_mpdecision, etc...
- Updated AROMA installer to v2.56
- Automatically clean up .thumbnails cache on boot
- v2.4:
+ Removed Read Ahead Cache Size config in AROMA menu -> set as 2048kb by default
+ Added some tweaks in init.post_boot.sh (Huge thanks to DarkSense DEVs)
+ Auto zipalign all apks on boot
+ Added -112.5 & -125mV - classic style in AROMA (Chuck Norris!!!)
+ Fixed the bug that 4ext tweak script is not applied
+ Moved vsync script to 69force
- v2.3:
+ Removed 4ext Tweaks in AROMA menu -> Installed by default
+ Added max frequency control for each CPU
+ Changed default minfree in AROMA menu to "Optimal I"
+ Changed a little "Battery Save - Ondemand configuration" for a bit better battery life
- v2.2:
+ Added minfree configuration with 7 choices
+ Move logcat disabling script to 69force
+ Changed some default options in AROMA menu
+ Removed Kernel Sleep Normalization in init.post_boot.sh
- v2.1:
+ Changed permission of system files to default
+ Added vsync configuration
+ Updated 4ext tweaks
+ Updated AROMA version (thanks iba21)
+ Updated Powerful Kernel Reset for cleaning more leftovers
- v2.0:
+ Re-arrange UV values in order and add -11% to the list
+ Add some scripts in init.post_boot.sh to save a bit more battery
+ Selectable OnDemand Configurations: Battery Life, Balance, Performance & Performance Plus (OMG! Fast like hell!!!)
+ Add 4ext Tweaks for better system performance
+ BUG: mmcblk1 read ahead cache size hasn't been changed correctly yet but it doesn't have any effect on your device (100% SAFE!!!)
- v1.7
+ SD cache size is expanded to Read Ahead (add 2 more settings) - Thanks noodles2k
+ Move GPU, Read Ahead & i/o scheduler from init.qcom.post_boot.sh to 69force
+ Add options to select Read Ahead cache size & i/o scheduler
+ Add options to install Battery Auto-Calibration Script (seo) & Logcat Disable
- v1.6:
+ fix the problem that -87.5mV uV doesnot work (Thanks noodles2k for the report)
+ Change some codes -> Hopefully the MOD would work correctly at the first time (Thanks iba21)
- v1.5:
+ Finally fix bug that GPU clock isnot changed
+ cfq and 2048 SD cache is set as default
- v1.4: It has all features of Powerful Kernel Reset
+ Fix a small mistake that max GPU clock arenot changed
+ Add some information after flashing
+ Change permissions of some scripts
+ Include thermald and mpdecision
- v1.3: (noticeable version)
+ Change 69force script to a better one (!!!)
+ Delete more leftovers of other kernels (hopefully all!)
+ Fix some wrong codes which don't delete leftovers
+ Remove 98swap (Yank555) - Hard Swap & Soft Swap from leftover list
+ Remove down_differential from init.qcom.post_boot.sh and let system choose the value itself
- v1.2:
+ Add cfq i/o schedulder & 2048kb SD cache size (read_ahead_kb)
* Yes: install cfq and 2048kb
* No: default settings: deadline & 128kb
- v1.1:
+ Include init.qcom.post_boot.sh (removed min CPU freq)
+ Include init.post_boot.sh
+ Include thermald.conf which is missing in some ROMs - modified for better temperature management
- v1.0: initial release
DOWNLOAD:
v1.2.3
Dropbox
Mirror - xda attachment
Wanna give me a cup of coffee
Click DONATE TO ME below my account info
v1.2.2
Dropbox
Mirror - xda attachment
v1.2.1
Dropbox
Mirror - xda attachment
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Powerful Kernel Reset - MOD Remover for Sense-based ROM (non-AROMA) - [UPDATED 23 JAN]
- The same cleaning features as kernel MOD => remove leftovers from other kernels
- Include thermald and mpdecision
- Include stock init.qcom.post_boot.sh, init.post_boot.sh and modified thermald.conf
Download Powerful Kernel Reset - MOD Remover
(Changed a little bit for more information - Nothing new - The same links)
Dropbox
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ADDITIONAL MODs:
SoftSwap
- Requirement: a lot of internal space
- 64mb with swappiness = 60
- 128mb with swappiness = 90
- 256mb with swappiness = 100
- Softswap uninstalling script
- Automatically create swap file if it is missing on boot
NOTE:
- You would see a low storage message -> ignore it and increase your space by moving apps to sdcard and use Clean Master to clean up trash
- If you want to change swap size, flash the uninstalling script first and then flash the new swap zip
To check Swap status, open android terminal and type:
Code:
free -m
DISCLAIMER:
- Softswap can degrade your internal memory. Use it with your own risk
Battery Auto-Calibration Script by seo (from ARHD ROM - non-AROMA)
- Automatically delete batterystats.bin after unplugging your charger
- Increase battery percentage accuracy
- Minimize the situation that your device reaches 100% but actually not that much => last longer
- IT DOESNOT IMPROVE BATTERY LIFE BUT HELP YOU TO HAVE A MORE ACCURATE BATTERY STATISTIC + AND THE SITUATION IN THE THIRD BULLET POINT (100%...)
- Some people will say it is useless at all but I think it is still useful in some cases => That's why this is included in ARHD or Virtuous Inquisition ROMs
Download Battery Auto-Calibration Script
DropBox
Mediafire
Logcat Disable (non-AROMA): modified from ViperS ROM
- Delete dev/log/main on every boot
- Save some battery life (not significant)
- If you are a normal user and rarely report bug to ROM Devs, this MOD is useful. However, if you are a tester, this MOD will delete logcat, so you don't have that file to send to the Devs
Download Disable Logcat
DropBox
Mediafire
Re-enable Logcat - Disable Logcat MOD remover (non-AROMA)
- Remove Disable Logcat MOD if you don't want it anymore
Download
Dropbox
Mediafire
Thanks for sharing! Hard!
Here are a couple of lines I find useful -
This changes the read ahead for the emmc and sd block devices as well as the virtual sd one.
Code:
echo "4096" > /sys/block/mmcblk0/queue/read_ahead_kb
echo "4096" > /sys/block/mmcblk1/queue/read_ahead_kb
echo "4096" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
This changes the io scheduler for emmc and sd, SebFM has noop, cfq and deadline.
Code:
echo "noop" > /sys/block/mmcblk0/queue/scheduler
echo "noop" > /sys/block/mmcblk1/queue/scheduler
This dims the capacitive buttons, in SebFM changing their brightness the usual way doesn't work.
Code:
echo 2 > /sys/class/leds/button-backlight/currents
This mounts swap and sets swappiness. I find it better than Yank's as it's nice and simple and doesn't waste time and cpu.
Code:
swapon /dev/block/mmcblk1p3
echo 70 > /proc/sys/vm/swappiness
noodles2k said:
Here are a couple of lines I find useful -
This changes the read ahead for the emmc and sd block devices as well as the virtual sd one.
Code:
echo "4096" > /sys/block/mmcblk0/queue/read_ahead_kb
echo "4096" > /sys/block/mmcblk1/queue/read_ahead_kb
echo "4096" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
This changes the io scheduler for emmc and sd, SebFM has noop, cfq and deadline.
Code:
echo "noop" > /sys/block/mmcblk0/queue/scheduler
echo "noop" > /sys/block/mmcblk1/queue/scheduler
This dims the capacitive buttons, in SebFM changing their brightness the usual way doesn't work.
Code:
echo 2 > /sys/class/leds/button-backlight/currents
This mounts swap and sets swappiness. I find it better than Yank's as it's nice and simple and doesn't waste time and cpu.
Code:
swapon /dev/block/mmcblk1p3
echo 70 > /proc/sys/vm/swappiness
Click to expand...
Click to collapse
I have already had:
Code:
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo "cfq" > /sys/block/mmcblk1/queue/scheduler
I will consider your advice
Can you explain more about scheduler backlight and swapiness? I think cfq is better than deadline and noop
Thanks
Thanks for you hard work. Will check this thing out ASAP!
Glad you got your own thread.
Nice little mod this, latest 1.6 seems to be working as expected.
As i will be flashing new viper soon anyway I might have a bash at some higher frequency and see if I can crack 50fps in nenamark 2
Sent from my SuperSensation.
ViperS ROM 1.1.0.
Sebastian OC Kernel 1.5.2
Anker battery.
I have an issue with what you've written on Logcat Disabling.
Your way (via a script) does not save or improve battery life in any way, it just deletes the log on every boot. If its disabled within the kernel (ie that actual logcat service is disabled) then it would save some battery life, but as ERD Hacre said in one of his kernel threads, battery life saving on that one wont be much, tbh I'd be amazed if it turned out to save more than 1 minute of battery life.
Jonny said:
I have an issue with what you've written on Logcat Disabling.
Your way (via a script) does not save or improve battery life in any way, it just deletes the log on every boot. If its disabled within the kernel (ie that actual logcat service is disabled) then it would save some battery life, but as ERD Hacre said in one of his kernel threads, battery life saving on that one wont be much, tbh I'd be amazed if it turned out to save more than 1 minute of battery life.
Click to expand...
Click to collapse
ok. I'll fix my word
thanks you for heading up
ObiWan_C said:
Thanks for you hard work. Will check this thing out ASAP!
Click to expand...
Click to collapse
http://smiliesftw.com/x/glock836_roll_eyes.gif
you are welcome... :silly:
it was so difficult to write the code of aroma, of the script, and the fixes.. :crying:
Finally you have started you own thread
good job on this mod bro\
I've been using this since v.1.2
Oh so u started Ur thread finally.. congrats bro for coming up with Idea.. now it wud b easier for everyone, to talk abt mod n kernel seperately ;P
Sent from my HTC Sensation 4G using Tapatalk 2
When i set:
MAXFREQ: 1566 MHz
MINFREQ 192 MHz
Second Pharse: 918 MHz
3D GPU: 267
No UV
No ZRAM
I got error: mount() expects 3 args, got 4
Edit:
Redownloaded mod and now it's ok!
New thread* Somewhere in post add whether it is CM10/Sense Etc
Itll save you a lot of questions that you will probably have in a few minutes
Sounds good!
Is it needed to flash Sebastian last Kernel before or only to flash the mod? Sorry if this is astupid question but never played arround much with kernels. I am a skinner only
Dic3ptor said:
Is it needed to flash Sebastian last Kernel before or only to flash the mod? Sorry if this is astupid question but never played arround much with kernels. I am a skinner only
Click to expand...
Click to collapse
yes first flash SebastianFM 's kernel and the mod
rzr86 said:
yes first flash SebastianFM 's kernel and the mod
Click to expand...
Click to collapse
Thank you. I think its logical but better to ask to much as to less. Thank you again!
EDIT: Another question. What a your settings til now and which settings are the best maybe? Can someboddy post some experience here?
Dic3ptor said:
Thank you. I think its logical but better to ask to much as to less. Thank you again!
EDIT: Another question. What a your settings til now and which settings are the best maybe? Can someboddy post some experience here?
Click to expand...
Click to collapse
in my device:
maxfreq - 1782mhz
minfreq - 192mhz
secondface freq - 810mhz
UV - -9% plus
no zram
3d gpu clock - 320mhz
so far no problems
rzr86 said:
in my device:
maxfreq - 1782mhz
minfreq - 192mhz
secondface freq - 810mhz
UV - -9% plus
no zram
3d gpu clock - 320mhz
so far no problems
Click to expand...
Click to collapse
Thats my setup and til now no probelms! Phone stay cool when using mobile network and Games! Great thing. Thanks to Thread operator for this mod.
maxfreq - 1566mhz
minfreq - 192mhz
secondface freq - 810mhz
UV - -9% plus
no zram
3d gpu clock - 276mhz
Do i have to use setcpu to set the setting after i flashed this mod? Thanks
Verstuurd van mijn GT-P7500 met Tapatalk
saigon66 said:
Do i have to use setcpu to set the setting after i flashed this mod? Thanks
Verstuurd van mijn GT-P7500 met Tapatalk
Click to expand...
Click to collapse
No you don't need setcpu. You can set your favorite setting when installing the mod. Aroma installer will ask for each settings you can do. It's very easy to set it up.
Gesendet von meinem HTC Sensation with Beats Audio mit DroiDevs Premium

Ayintis (personal tweak android system) No bash problems anymore!!

{
"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"
}
Foreword:
I am not the owner of this tweak only one tester.
The owner (dev) is Redmaner.
Together with Redmaner I test Ayintis for months, now it´s time to publisch it!!
All credits go to:
Redmaner
Ayintis for Android
Copyright 2012, The Ayintis project
This product includes software developed by
Google Inc. (www.google.com)[libncurses.so, zipalign].
This product includes software developed by
Sqlite (www.sqlite.org)[sqlite3].
This product includes software developed by
The CyanogenMod team (www.cyanogenmod.com)[fix_permissions.sh].
This product includes software developed by
Koushik Dutta (www.koushikdutta.com/)[update-binary].
This product contains code written by Hardcore [mount_no_atime.sh].
The original software is available from
http://forum.xda-developers.com/showthread.php?t=813309
This product contains code written by Brainmaster.
Including various modifications by zacharias.maladroit [read_ahead_kb_x.sh].
The original software is available from
http://forum.xda-developers.com/showthread.php?t=1010807
This product contains code written by Wes Garner.
Including various modifications by doctorcete and oknowton [zipalign_boot.sh].
This product used documentation provided by The Linux kernel archives.
The original documentation is available from
http://www.kernel.org
This product used documentation provided by Knzo.
The original documentation is available from
http://forum.xda-developers.com/showthread.php?t=1227269
First a word of Dev himself why he himself does not publiseerd:
I decided to not release Ayintis on a public forum. There are two reasons for that:
1.) I have a very busy private life (currently busy with my study) which gives me no time to give proper support all the time on forums.
2.) Besides that I am not really active on forums, becaues of old expierences which I don't want to recall.
Official site and bug reports
Downloads:Ayintis
What is Ayintis:
Ayintis (pronounced as: aii-in-tis), before known as Engengis, is an easy to use tool for Android devices.
Ayintis allows the user to tweak his Android system in a fast, simple, easy and secure way.
Although it isn't anything new it still provides a rich collection of tweaks, 100% configureable by the end user.
The goal of this project is to generate an open-source platform which is offering an easy to use interface and a wide range of tweaks.
Support
Ayintis is builded in mind that it must be capable to run on every Android device.
Even if the device is old or new, low-end or high-end it doesn't matter.
Ayintis is using busybox applets which makes it possible to run ayintis on every system.
This goal isn't achieved yet, not every device is 100% supported. Although most of the devices will. On our support page you can find information on how to get full support for your device.
Supports....
- Android 1.6 till 4.1 (Need a kernel which is atleast 2.6.xxx)
- CPU up to quad-core
- Various partition tables (BML-MMC-MTD-STL-TFSR-ZRAM)
Interface
Easy to use
With an easy to use interface you tweak your system in no time.
Just type in the number with your keyboard and Ayintis does the rest.
Possible to use ayintis on your Android device with Terminal emulator.
Or use your computer instead with ADB.
Customize it!
Not only the tweaks are configureable also the interface.
Including headercolors, show and hide various options.
Tweaks
Ayintis offers a wide range of (popular) tweaks. All tweaks can be found within the Android community (XDA-Developers, Rootzwiki ect.). All tweaks are configureable. There are tweaks you can enable and disable and there are tweaks where you can choose serveral options.
Sysctl configurator
The feature everyone is searching for within the Android community is the ultimate ramscript.
Serveral developers took up the challenge to find the ultimate ramscript, with great results!
There are lots of devices and users so there are lots of ramscripts too.
It's impossible to integrate all the ramscripts in Ayintis, so we invented a system where the user can create his own ramscript.
This feature we call the sysctl configurator. The user can create it's own ramscript or use already existing ramscripts.
The system works pretty simpel, there are 26 parameters the user can configure (more in the future).
By typing in the values you generate your own ramscript!. See the instructions page for detailed information.
List of tweaks
Application tweaks:
- Fix permissions
- Optimize sqlite db's
- Enable/disable zipalign during boot
build.prop tweaks:
- Set dialing out delay
- Set display density (dpi)
- Set JPEG quality
- Set scrolling responsiveness
- Set VM heapsize
- Set WIFI interval
CPU tweaks:
- Set CPU governor (Support up to quad-core)
- Enable/disable lionheart governor tweaks
Kernel tweaks:
- Enable/disable IPv4/IPv6 security tweaks
- Sysctl tweaks (kernel, cfs, lmk, net, vm) (26 parameters)
Partiton tweaks:
- Set IO scheduler (Supports BML-MMC-MTD-STL-TFSR-ZRAM)
- Enabled/disable IO tweaks
- Set read_ahead_kb
- Enable/disable mount no-atime
Tools
Ayintis is not offering only tweaks, it also offers a set of tools the user can use.
Make logcat
You know that developer that is always asking for a logcat but you have no idea how to get one?
Problem solved! Ayintis offers a tool to make a logcat very easily. Locats supported are: main, radio and event.
Read everything about the android logcat here
Online nandroid backup
A new tool in the android community is online nandroid backup.
This feature is not integrated in Ayintis but you can easily make an online nandroid backup if you have the tool installed (/system/bin/onandroid).
We chose to not integrate this feature because this feature is really unique, we want people to choose if they want to use it or not.
So if you want to use this feature from the Ayintis menu you have to install it yourself. Online nandroid backup can be found here
Script manager
Ayintis offers a wide range of tweaks, but it doesn't have all features it can offer.
There are lots of scripts that can be found on android forums that are not integrated in Ayintis.
This is because these scripts are really device specific or very experimental or you name it!
Actually Ayintis is all about scripts, that's why script manager comes in.
It fills the gap of features that are missing, restores your scripts after an update and manages your init.d folder.
Script restore
Every tweak you enable or disable and every tweak you set with Ayintis will be saved in a tweak file.
It remembers your tweak settings after an update. This gives the possibility to restore your scripts after an update.
This feature is very handy if you are an extreme rom flasher.
Script installer
There are a lot of scripts within the android community that are not integrated in Ayintis.
There are several reasons for that. That's where script installer comes handy.
It offers you an very easy interface to run and install scripts.
It fills the gap off missing features from Ayintis.
Script remover
Script remover gives you the oppurtunity to remove scripts from the init.d folder.
Pretty useful if you don't have a root-explorer and want to get rid off pre-installed scripts.
And there must be a way to remove all those scripts you install with script installer.
Open source
All this awsomeness is open-source! Everyone can see and use the source.
You can compile your own builds, improve the code or just have a look.
Source is available at github
Instructions on how to compile and requirements to compile are within the sourcecode.
Features
Ayintis features
- Ayintis image (vfat) [Reduces effect on system and data partition]
- Running on /system/bin/bash
- Using busybox applets (busybox 1.19.4+) [Possible to run on every Android system]
- Advanced logsystem to debug Ayintis to the bare metal
- Various security checks to prevent device (software) damage
- Easy to use interface working with terminal emulator and ADB
- Possible to tweak the User Experience (UX)
- Various tools (create logcat, online nandroid backup)
- Scriptmanager to restore/install/remove scripts easily
- OTA updater
List of tweaks
Application tweaks:
- Fix permissions
- Optimize sqlite db's
- Enable/disable zipalign during boot
build.prop tweaks:
- Set dialing out delay
- Set display density (dpi)
- Set JPEG quality
- Set scrolling responsiveness
- Set VM heapsize
- Set WIFI interval
CPU tweaks:
- Set CPU governor (Support up to quad-core)
- Enable/disable lionheart governor tweaks
Kernel tweaks:
- Enable/disable IPv4/IPv6 security tweaks
- Sysctl tweaks (kernel, cfs, lmk, net, vm) (26 parameters)
Partiton tweaks:
- Set IO scheduler (Supports BML-MMC-MTD-STL-TFSR-ZRAM)
- Enabled/disable IO tweaks
- Set read_ahead_kb
- Enable/disable mount no-atime
Requirements
To run and use Ayintis properly there are a few requirements:
- Android device with Terminal emulator or a computer with ADB
- Root (SU binary on /system/bin or /system/xbin)
- Busybox 1.19.4+ to work with all functions (Busybox binary on /system/bin or /system/xbin)
-----> Busybox 1.19.3 and lower will work too, only OTA updater won't work
- data partition mounted as /data with +- 3.0mb free space
- system partiton mounted as /system with +- 1.0mb free space
- Kernel with init.d support (get init.d support on every device here)
- ClockWorkMod (CWM) recovery to install
How to install
This method requires a device with ClockWorkMod recovery installed
1.) Download the latest CWM version of Ayintis from the download page
2.) Put the CWM zip on the root of your internal SD-Card
3.) Reboot your device in recovery mode (CWM)
4.) Select "Install zip from SD-Card"
5.) Select "Choose zip from SD-Card"
6.) Select "Ayintis_Vx.x.x.x_x_x.zip"
7.) Select "Yes - Install Ayintis_Vx.x.x.x_x_x.zip"
8.) Wait till operation is done and go back to the main menu of CWM
9.) Reboot your system
Usage
1.) Start Terminal emulator or ADB
2.) Issue the following commands:
su
ayintis
3.) Issue the numbers and letters shown by Ayintis
4.) Follow the instructions on the screen to start using Ayintis
Using arguments
Ayintis has some arguments to do fast assignments.
1.) Start Terminal emulator or ADB
2.) Issue the following commands:
su
ayintis --help
3.) This will show all the supported arguments and what they do
Tweaks explained
Application tweaks
Fix permissions
Fix permissions mostly used to fix FC's, read everything about it here
Optimize sqlite db's
Optimizes sqlite db's for higher read/write speeds.
Zipalign during boot
Optimizes .apk files during boot for less RAM usage.
build.prop tweaks
Dialing out delay
Increase or decrease dialing out delay
DPI
Set display density
JPEG quality
Increase or decrease JPEG quality percentage. (Must be between 0 and 100)
Scrolling responsiveness
Increase or decrease scrolling responsiveness
VM heapsize
VM Heapsize; higher the RAM, higher the hp can be
Mostly steps of 8. (eg. 24m, 32m, 48m, 56m, 64m ect.)
WIFI scan interval
Time between WIFI scans in seconds. The higher the value how longer it takes.
Can save batterylife.
CPU tweaks
Set CPU governor
Set your desired CPU governor. Read everything about governors here (thanks: stempox)
Lionheart governor tweaks
Works only with conservative governor. Let's conservative governor behave like performance governor. Works best with deadline I/O scheduler.
Kernel tweaks
IPv4/IPv6 security tweak
Improves IPv4/IPv6 security. Including protection against ms-dos attacks, syncookie protection.
Sysctl tweaks
Use the pre-configured sysctl configuration with fair performance or create a configuration yourself.
Including 26 popular parameters. All parameters explained here
Download popular configurations here.
Partitions tweaks
I/O Tweaks
Tweaks diffrent I/O scheduler for more performance and batterylife.
Set I/O scheduler
Set your desired I/O scheduler. Read everything about I/O schedulers here
Set read_ahead_kb
Set cache size to increase SD-Card read/write speed.
No-atime mounts
Mount all partitons with no-atime (fastest mount).
This version runs well CM10. Tomorrow testing cna
Sent from my I9250
CM10 / CNA 3.8.0
Ayintis® v.1.0 by Redmaner
New build is out
Changelog:
Ayintis 1.1-RC1 (experimental)
- ayintis_core: Switched to tar environement
- ayintis_core: Many changes and improvements to work with the new tar environment
- ayintis_mounter: Update mounter help
- ayintis_settings: add runlevel and logscr options
Release notes:
We switched to the tar environment with this build.
That means we no longer use image formats, that also means that Ayintis is no longer mounted as a loop device.
We chose to rebuild the perspective to tar to be more open-source and use less CPU but keep the fast OTA-updates and data compression.
This also gave the opportunity to do some directory changes, which we did.
/data/ayintis/mount is now /data/ayintis/core
/data/ayintis/tmp is now /data/ayintis/core/tmp
I9250
CM10 / CNA 3.8.0
Ayintis v.1.0® (by Redmaner)
I'll have a look, just because it is you and Redmaner, looks interesting. Why did Red choose this form over an app?
On a side-note, isn update-binary a cyanogenmod one, or even a google thingy?
Edit: from the FAQ:
Wye isn't this an application (.apk)?
There are a few reasons for that.
First shell is an easy language = more contributors.
Second, letting the user interact with shell is more educational.
Third some stuff is impossible to do in an android application.
Click to expand...
Click to collapse
EditEdit: fixpermissions is indeed a Steve Kondik product, didn know that!
New build v1.1
Ayintis 1.1
- ayintis_core: Switched to tar environement
- ayintis_core: Many changes and improvements to work with the new tar environment
- ayintis_mounter: Update mounter help and updated reconfigure option
- ayintis_settings: add runlevel and logscr options
- compiler: auto-generate updater-script
I9250
CM10 / CNA 3.8.0
Ayintis v.1.1® (by Redmaner)
quadrant score really high with the new version. And yes it says nothing but still fun. System runs like a train!
I9250
CM10 / CNA 3.8.0
Ayintis v.1.1® (by Redmaner)
I turn now tweak a few days with Codename. Even with this rom I get the utmost out. No bugs encountered.
I9250
CM10 / CNA 3.8.0
Ayintis® V.1.1 (by Redmaner)
http://forum.xda-developers.com/showthread.php?t=1982538
New build:
Ayintis 1.2.0-4
- ayintis_core: new data layout
- ayintis_core: various improvements to the tar environment (added -w switch)
- ayintis_core: big set of code cleanups, bugfixes and improvements
- ayintis_core: more busybox applets are now used to fix compatability issues
- ayintis_core: install_bash and install_busybox added
- interface_parts: updated all interface parts
- ayintis_configuration: recoded ayintis_configuration
- various other cleanups, bugfixes and improvements
I'm not familiar with terminal emulator,but I wanna try this,after flashed it using twrp,I can't configure it in terminal emulator..bash not found..here I provide screen shot..
I'm using gsm galaxy nexus,purity ROM with ak purity kernel..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
I'm not familiar with terminal emulator,but I wanna try this,after flashed it using twrp,I can't configure it in terminal emulator..bash not found..here I provide screen shot..
I'm using gsm galaxy nexus,purity ROM with ak purity kernel..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Just type install_bash
I've done it,now its return like this
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
I've done it,now its return like this
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Step 1: open terminal type
su
ayintis
Step 2:
You get a message bash bla bla bla
Type now:
install_bash
Step 3:
Type now
ayintis
Step 4:
Confire config
Get it??
Followed all instruction,still getting same error..already install_bash..ayintis --help is working though..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
Followed all instruction,still getting same error..already install_bash..ayintis --help is working though..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hmmmm what rom do you use. Had it busybox in bord? U need have busybox install
I see this when I open
su
ayintis
Im gonna try this on other rom..ill post result later..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
Im gonna try this on other rom..ill post result later..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Normal with busybox its works well. So not I help so far I can
I already installed stericson busybox..still not working in this rom..will try on other rom tonight..
Sent from my Galaxy Nexus using Tapatalk 2
koax88 said:
I already installed stericson busybox..still not working in this rom..will try on other rom tonight..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hmmm
beast1980 said:
Hmmm
Click to expand...
Click to collapse
Normaly it works with all roms. Strange problem

[12.16.14][MOD] GAFT Scripts [Tweaks][WIP]

GAFT Scripts --
Code:
,##### ### ,#############
### `## ## ## ### ##
,## ## ## ###### ##
### ##### ######## #####' ,##
### ###### `##### ###
`#########' #### ####
| kermage | PrivaTech -- GAFT | iMUT |
Copyright 2014 Gene Alyson F. Torcende
Email: [EMAIL="[email protected]"][email protected][/EMAIL]
INFO:
Project started since 07.21.14 for personal experiment.
Based on some common/popular tweaks/scripts out there, but wrote on my own implementation.
More on scripting effectivity rather than tweaks. So, do not expect a 360-degree change in performance.
Tested on MyPhone a919i (MTK6589), MyPhone Agua Rio (JB/KK) (MTK6582), and Starmobile UP+ (MTK6582).
Pushed to GitHub. See here for full information and functionality of the scripts.
NOTE:
As of 12.13.14, nothing else does how GAFT Scripts work; from its simple output and logging to its unique style of tweaking and implementation.
Though some of the scripts integrated are already existing and available out there, I took it up and spent some time modifying it to somewhat give a cleaner, nicer, and probably improved codes. ^_^
So, if you encounter any sign of GAFT Scripts floating around without proper credits given and/or not provided a link here, please let me know. Thank you!
Script Features/Signature: (One of its kind )
*** Not your favorite promising battery/performance-related list.
Readability and with functions
--- Code tells you how, comments tell you why.
--- Should be more cleaner and less horror.
Better script output and logging
--- More details on what is being done.
Uses integrated BusyBox
--- BusyBox is not a requirement to install GAFT.
PID Checking
--- Skips another execution if script is already running.
Conflict Checking
--- Skips tweak and/or action if conflicting apps is found.
Screen-state Checking
--- Not the very usual and common way by using cat utility at wait_for_fb_wake and wait_for_fb_sleep.
Colorful UI (Console)
Many more . . . Check for yourself! ;D
Requirements:
Root Access (Who doesn't need root nowaday?)
Custom Recovery / Terminal Emulator
BRAIN! ^_^
HOW TO's:
Install? Use? Risk?LOL!
Download "GAFT v#.##.######.zip"
Choose an install method
Manual Mode
* Recommended, in order for init.d enabler to check at all possible hooks
Extract the "setup" folder from the zip file
Run "Installer.sh" in Terminal as root
Flash Mode
* Advanced, if you are already sure that your ROM support init.d scripts
Go to recovery mode
Flash the zip file
Reboot
Check? Inspect? Verify?
--- Use any root file manager, check the logs at "/data/GAFT", inspect what the scripts have done to your device, and verify if it's working.
Control? Monitor? Uninstall?
--- Execute "/data/GAFT/Console" or open Terminal Emulator then type "GAFT", and follow on screen commands.
TERMS:
Modification - You can totally tweak and/or modify the scripts to your personal liking.
* Understanding the scripts will not be that hard as I already wrote it in a professional way.
Distribution - You are free to include the scripts and/or use it as baseline to your packages as long as PROPER credits are intact.
* I'd be happy to review and test your code touches, tweaked values, and additional scripts derived from GAFT Scripts, but DO NOT SIMPLY DISASSEMBLE AND RE-BRAND.
Disclaimer - FLASH AT YOUR OWN RISK! Absolutely no gurantees.
* Constructive FEEDBACKS are very much appreciated.
** DO NOT MIRROR! If you want to share, just link here.
*** THANK YOU for your COOPERATION!
CREDITS:
Google for overall HELP and Android tools
kobridge @xda for WI-FI idle time before sleep
lambgx02 @xda for Seeder
Ipy @xda for LoopySmoothness
XDA:DevDB Information
GAFT Scripts, Tool/Utility for all devices (see above for details)
Contributors
kermage
Version Information
Status: Stable
Current Stable Version: 1.00.101214
Stable Release Date: 2014-12-16
Created 2014-12-14
Last Updated 2014-12-15
FAQs
Q: Can I use it on my YYY Phone with ZZZ Android version?
A: GAFT Scripts are only tested on the devices mentioned at INFO #4 in first post, but surely it is not device specific. Also, it has thorough checking and verifications before proceeding its defined tweaks and/or actions. So, YES! Give it a try.
Click to expand...
Click to collapse
Q: Is it working? I can't feel/see much difference from stock.
A: First, read HOW TO's #2 then INFO #3 in first post. GAFT Scripts are not advertised as a total game changer, but somehow it should show some noticable effects.
Click to expand...
Click to collapse
Q: Can I use/flash another init.d tweaks on top of GAFT Scripts?
A: Yes, no one restricts. But I assume you know what risks you are taking, and do suggest to first thoroughly check out for common scripts that are already included here like SQLite, Zipalign and LoopySmoothness to minimize the redundancy.
Click to expand...
Click to collapse
Q: Why am I getting lower Antutu score than before? XXX is better. and/or
Q: Why create such useless scripts? Can't even give some performance like XXX.
A: GAFT Scripts are not for you, sorry to disappoint. If you rely much on Antutu, go with XXX.One thing, GAFT Scripts are GUARANTEED working compare to such promising set of tweak scripts.
Here is a very common list of features to check on: (Do all checks at Terminal Emulator or adb shell without quotes)​
Better RAM management - services.jar should be patched first in order to match the tweaked LMK values and acheive the said feature.
Check: "cat /sys/module/lowmemorykiller/parameters/adj" vs. the script's defined tweak value
Script runs every ## min/hr/day - all init.d scripts are only initiated every boot, not just by defining a RUN_EVERY variable (LOL!).
Unless script is run using cron scheduler, is run in background with sleep as intervals, or is using (stat)istic of its own log file (time of last modification) for interval check between executions.
Smoothness of {insert.app.name.here} using renice. Ex.: renice -20 `pidof com.android.systemui`
Check: "ps -p | grep com.android.systemui | awk '{print $7}'" vs. the script's defined nice level.
XXX Tweak for/in/using XXX (echo or sysctl) - not all tweaks are available and supported by every device/kernel/ROM
Ex.: echo NO_NORMALIZED_SLEEPERS > /sys/kernel/debug/sched_features ; echo 11000 > /sys/class/touch/switch/set_touchscreen
Check: "[ -e /sys/kernel/debug/sched_features ] && echo VERY GOOD! Available || echo EPIC FAIL! Unavailable"
Click to expand...
Click to collapse
Always focus on every REAL and REPORTED output rather than those EXAGGERATED features.​
Downloads
Direct (GitHub)
Direct (XDA)
Mirror (MediaFire)
Includes:
Installer Script (Installer.sh)
- Version checking //skips install if newer or equal version is present
- BusyBox Installer
- GAFT's init.d Enabler
--- Checks init.d required commands at all possible hooks (ramdisk .rc files, /system/bin/sysinit, and /system/etc/install-recovery.sh). If no required commands found, hook init.d run-parts to /system/etc/install-recovery.sh.
- GAFT's Prop Tweaker
--- Only adds the build.prop entry if not yet existed and not set to the preferred value.
--- Existing entries with different set value is commented out with #GAFT# first.
- Setting up GAFT files and required binaries.
GAFT init.d Console (GAFT)
- Colorful UI to control and monitor scripts, and uninstall.
zZGAFT_init (Launcher)
- GAFT's init.d Launcher
--- Ensures no redundant execution of GAFT scripts at boot.
--- Execute scripts in background to minimize boot time.
zZGAFT_Booster
- GAFT's System Tweaker
--- Only tweaks the system setting if it is available and is not yet set to the preferred value.
- GAFT's DB Setter
--- Creates the settings.db entry if not yet existed and only update the value if not yet tweaked.
- Optimized mount options, proc/sys, read_ahead, and LMK values
--- Aims for a smoother UI, better battery and memory management, faster read and write speeds, and COOLER system //feel it! ^_^
- Wi-Fi idle time before sleep (Inspired by kobridge @xda )
--- Wait 10mins before Wi-Fi sleeps //after the screen is turned off
zZGAFT_Charger
- Seeder Entropy Generator (Created by lambgx02 @xda )
--- Lightweight profile //just enough to keep entropy level high.
--- Skips if conflicting entropy generator is found.
- GAFT's Hotplug Tweaks and Profiler
--- Better battery backup by scaling down CPU's max frequencies based on battery percent and screen state profiles.
--- Skips if conflicting overclocker is found.
zZGAFT_Cleaner
- Data junks cleaner
--- Cleans most of data junks.
- Battery calibrator
--- Runs every 3days if battery is max level.
- Obsolete dalvik-cache remover
--- Scans for unused *.dex every 3days.
zZGAFT_Smoothie
- GAFT's System Smoothie (Inspired by LoopySmoothness of Ipy @xda )
--- Automatically checks for available launchers and inputmethods.
--- Continually renice all defined processes with its nice level, especially after it's removed from the memory which resets their priority.
Nice work sir!
I will try this as well.
sir pls update the link...i cant download it...bcoz the link is down...
sir pls update the link...i cant download it...bcoz the link is down...
ZaIjEn20 said:
sir pls update the link...i cant download it...bcoz the link is down...
Click to expand...
Click to collapse
Files re-uploaded, kindly revisit links. Thanks

[TWEAKS] Kernel Governors,Modules,CPU Tweaks,Misc.Samsung Galaxy note 3[All variants]

Experience more battery life and a cooler phone on Samsung Galaxy note 3(All variants) with any kernel/custom kernel
Note: This tweak doesn't do what you like it does what you need
Disclaimer: I am not responsible for any damage or soft/hard brick that may happen to your device...please make sure you know what you are doing and follow the installation instructions below !
Installation 1 :
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Move file i.e(ondemand, Interactive, Conservative) depending on the one you downloaded to the following location;
/sbin/.core/img/.core/service.d and give it the following permissions (0755) or rwxr-xr-r using your root browser(explorer)
5) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes about 60-65 seconds before the script is fully up and running behind the scenes)
6) Now logs can be found in the logs directory /storage/emulated/0/logs
7) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
Installation 2:
1) You must be rooted
2) Download the attached ZIP
3) Extract the script
4) Open and Grant the app root access and go the script manager of any kernel app of your choice(SmartPack kernel Manager,Franco Kernel manager FKM(paid),Ex kernel manager(Paid))
5) Then import the extracted script(.sh)
6) Run or Execute
7) You can check apply on boot if you want it to always run after boot.
8) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes about 60-65 seconds before the script is fully up and running behind the scenes)
9) Now logs can be found in the logs directory /storage/emulated/0/logs
10) Enjoy! :good:
For now:
Join telegram group here's the invite link https://t.me/tweakmypixel
CPU GOVERNORS SUPPORTED
1) Ondemand:
Default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
2) Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle
3) Interactive:
Can be considered a faster ondemand. So more snappier, less battery. Interactive is designed for latency-sensitive, interactive workloads. Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle
Features
1) CPU Governors Optimized for better battery saving
2) Enabled dimmer blacklight to save battery
3) faster internet speed
4) Fstrim data,cache and system
5) Completely Stop and Disable performance daemon at boot
6) Killed GAPPS processes that drains battery
Code:
ChangeLog
12/3/2020
-Added Conservative
-Added Interactive
-Added Ondemand
22/3/2020
-Made noop default I/O scheduler based on users requests
FAQ
Q: Will these work without Root?
A: NO. you can use magisk or superSu to root your device
Q: Does this work for xyz kernel?
A: Works on xyz kernel just follow the installation Instructions
Q: What are the advantages of this?
A: Better battery life.
Q: How do i check if I have the scripts installed correctly?
A: Check the logs directory /storage/emulated/0/logs
XDA:DevDB Information
Kernel Tweaks, Tool/Utility for the Samsung Galaxy Note 3
Contributors
enweazudaniel
Source Code: https://www.androidfilehost.com/?w=files&flid=306333
Version Information
Status: Stable
Stable Release Date: 2020-03-13
Created 2020-03-12
Last Updated 2020-03-17
Reserved
I don't use a Samsung note 3 check ANY DEVICE
Reserved
Please guys test and post screenshots
Andriodfilehost link
https://www.androidfilehost.com/?w=files&flid=306333
@enweazudaniel. Please check your PM's. Thank you.
Fixed the source code link and duplication of the other 2 threads was due to server error and they have been closed now...enjoy guys :good:
Hi @enweazudaniel this looks like an amazing work but your instructions are not clear enough for me. In Installation 1 step # 4 you've said move file xxxx to path xxxx/services.d but services.d itself is a script, how do I copy one script into another. And if I open one script in txt editor copy all the txt, open the other script in txt editor and paste all the txt then won't that cause confilct with already present values resulting in stability issues?
In installation 2 I'm using smartpack kernel manager but I'm unable to find any import script options in it. Kindly help.
immi said:
Hi @enweazudaniel this looks like an amazing work but your instructions are not clear enough for me. In Installation 1 step # 4 you've said move file xxxx to path xxxx/services.d but services.d itself is a script, how do I copy one script into another. And if I open one script in txt editor copy all the txt, open the other script in txt editor and paste all the txt then won't that cause confilct with already present values resulting in stability issues?
In installation 2 I'm using smartpack kernel manager but I'm unable to find any import script options in it. Kindly help.
Click to expand...
Click to collapse
Maybe you're already using another mod that's why there a script there already and It might conflict if they are for similar purposes(like change a CPU parameter)...if you open in text editor and copy and paste as you said is not the advisable... So just use the script as standalone for best possible results for smart pack manager see the attachment
Hi. Will push works with gms tweaks in the script?
Demonzzz said:
Hi. Will push works with gms tweaks in the script?
Click to expand...
Click to collapse
Hello you can try and as well edit the script in case it doesn't work
Need extra SOT+ on any devices
Join group https://t.me/tweakmypixel

Categories

Resources