[APP][Discontinued] init.d Generator - Siyah Kernel - 2.6.6i SE - Galaxy S II Themes and Apps

Discontinued for now.
-------------------------------------
Okey just did some reorganisation to get this post a little bit cleaner.
I just deleted the unneeded versions, but I have a backup of them, so if you really want to have one of the older versions send me a pm and which one you want, else just stick to my recommendations below.
Most important question first:
Which Version should you take?
Siyah Kernel 2.6.6i and newer: init.d Gen 2.6.6i SE
Siyah Kernel 2.6.2 to 2.6.6: init.d Gen 2.6.2
Siyah Kernel 2.6_S99 to 2.6.1: init.d Gen 2.6
Siyah Kernel 2.5.* (all Versions, also GT): init.d Gen 2.5 SE
Siyah Kernel 2.4.2 to 2.4.*: init.d Gen 2.4.2 SE
Siyah Kernel 2.4.1 and older: init.d Gen 2.2 Beta 16 SE
What does SE and RRW stand for?
SE is for "Second Edition" and should be preferred, but you are free to take the version you like.
RRW is for "Remount Read/Write" and will remount "/system" with rw permissions, use this version if ADB Push fails to push the bootscript to the phone.
If you want to use push, pull or activate function you have to enable USB Debugging Mode else ADB can't recognize the device.
(Can be found under Menu > Settings > Applications > Developement > USB Debugging)
Please tell me if there are any issues with any function.
Known issues:
The function for deep sleep levels is not implemented correctly in the following 4 versions:
-init.d Gen 2.6
-init.d Gen 2.6 RRW
-init.d Gen 2.6.2
-init.d Gen 2.6.2 RRW
Fixed since 2.6.6i!
Thanks to gokhanmoral for the best kernel ever and helping me via pm!
Thanks to droidphile for this epic manual!
http://forum.xda-developers.com/showthread.php?t=1369817
Read it first for a better understanding of the values.
Screenshots (v 2.6.2):
Thanks to D5PiX for free image hosting
Changelog:
2.6.6i SE:
added ignore nice load to ondemand
fixed import function
fixed lazy governor
2.6.6.i:
deep sleep levels fixed
added suspend_freq to ondemand (since ondemandx was merged with it)
updated all values to the new ones from Siyah Kernel 2.6.7
2.6.2:
3 step gpu settings added
lulzactive v2 settings added
2.6:
Excluded charging currents (not needed)
Added a handfull of new options:
- deepsleep cpu and bus level
- second core sample settings (rate 2nd core on, off, screen off)
- smooth scaling parameters
- added AFTR settings
2.5 SE:
Added lulzactive samplerate settings
2.5:
Added touchscreen threshold
2.4.2 SE
Added delay function (the script will delay for a choosen amount of seconds before execution)
Added governordepending settings (sampling rate, up/downscale thresholds etc)
Added function to pull bootscript from phone to hard disk
2.4.2:
Updated to new default values.
Excluded "insmod/non insmod/legacy"-modes, insmodding will be included as needed by 2.4.2 Kernel
2.2 Beta 16 SE:
Exchanged "2.2 Beta 16 mode" with "always insmod mode"
2.2 Beta 16:
Improved including options
Added Siyah 2.2 Beta 16 referring insmod-settings
Added possibility to activate bootscript without restarting the phone
Added possibility to import settings from existing bootscript
Beta 2.2:
Included 2nd core thresholds for screen on and screen off
Included 2nd core loadbalancing (sched_mc)
Included displaysettings (min backlight and max gamma)
Change permission after pushing script to phone
Beta 2.1:
Possibility to include only selected tabs to the created script
Beta 2:
Added ADB to the package
Possibility to push script directly to phone via ADB
Beta:
CPU frequencies and voltages
Minimum/Maximum frequency used by governor
Governor
GPU frequencies and voltages
IO scheduler
Static busspeeds
Charging currents
Possibility to create and save script on harddisk

Beta 2 out now!
Will push your generated script directly to your plugged phone via ADB, just unzip, choose options, press ADB on Save tab and done.
Sources didnt change that much, will provide them later or after implementing the new siyah kernel functions.
Anything that you want me to implement first?
Any issues or errors while using it?

goose2600 said:
Runnig executable open a window where you can choose your preferred settings.
Then the program will generate the script and you have to copy it to device by hand
Click to expand...
Click to collapse
KcDaRookie said:
as goose said ATM you have to copy it by hand to /system/etc/init.d
but I will try to implement adb autopush so that you only have to click a button while the phones connected
Click to expand...
Click to collapse
Getting an old man, but always trying to learn more....
Can you give me (US) more explaination on the basic way to use it ?
CPU OK, GPU don't, IO Scheduler don't, BUS don't, CHARGING OK
Maybe if you could provide a text with your init. Gen
Sorry to be such a newbee...
GREAT JOB !
Kindly yours

Nice one

bvannier said:
getting an old man, but always trying to learn more....
Can you give me (us) more explaination on the basic way to use it ?
Cpu ok, gpu don't, io scheduler don't, bus don't, charging ok
maybe if you could provide a text with your init. Gen
sorry to be such a newbee...
Great job !
Kindly yours
Click to expand...
Click to collapse
think you !

The script generated works fine. ADB push too.
There is just a little mistake, the argument for busfreq_static si "disbled" by default instead of "disabled". But if you enable it then you disable it, it's well written "disabled".
I just add some lines in the script in order to modify the hotplug thresholds and it's perfect !
Thank you

Thank you Reno_kun, will change that asap!
altough the default kernel value is disabled so echoing disbled shouldn't have any effect ^^
will implement hotplugging treshold and brightness settings in next update, i hope i'll have time tomorrow ^^
edit: fixed that and did some rearranging.

Better and better
Incredible work, THINK YOU
Kindly yours

any chance to make phone app from this?

KcDaRookie said:
Thank you Reno_kun, will change that asap!
altough the default kernel value is disabled so echoing disbled shouldn't have any effect ^^
will implement hotplugging treshold and brightness settings in next update, i hope i'll have time tomorrow ^^
edit: fixed that and did some rearranging.
Click to expand...
Click to collapse
I've got an other problem
At boot, the script in init.d is not applied. I need to change permissions from rw-rw-rw- to rwxrw-rw- in order it is used.
What are usual permissions for a script in init.d ?
Thank you for your work KcDaRookie

@bvannier: thank you very much
@lokotus: you are free to use to sources to make an phone app from this, I don't have the knowledge that is needed for this, also i think using SetCPU, nofrills, voltage control or gokhanmorals tool for his kernel once it's released is much more efficient because the changes will take effect on the fly.
with this script you have to reboot at least once...
hmm.. I getting a great idea.. I think I will implement that the new values will directly be echoed via adb to the phone, so that they will immediately take place..
I tested a bit and this isn't impossible, thank you for this idea

Reno_kun said:
I've got an other problem
At boot, the script in init.d is not applied. I need to change permissions from rw-rw-rw- to rwxrw-rw- in order it is used.
What are usual permissions for a script in init.d ?
Thank you for your work KcDaRookie
Click to expand...
Click to collapse
I have mines set to 777 (rwxrwxrwx) but I think 766 (rwxrw-rw-) should be enough
I see if I can change permission via adb directly after push ^^
Thanks for that comment =)

Thank you guy !
I tried several time and I always had 666, it's may be due to the ROM ? Which one do you use ?
You should post some pict in the OP for showing that your soft is very easy to use

Reno_kun said:
Thank you guy !
I tried several time and I always had 666, it's may be due to the ROM ? Which one do you use ?
You should post some pict in the OP for showing that your soft is very easy to use
Click to expand...
Click to collapse
Am still on Stock ROM ^^
Will add pictures as soon as Beta 2.2 is uploaded.

There we go, new version with sources released.
It should set the permissions to 766 and also kill the adb-deamon after pushing the script to the phone.

Just tested and all work fine !
Thank you a lot !
If you have time, could you add an "import" feature in order to use a script already saved ?

@OP: awesome job dude

@Reno_kun: I'll think about it, but I think this will take some more time, will put it on the to do list ^^
@TecQuality: your welcome =)

KcDaRookie said:
@Reno_kun: I'll think about it, but I think this will take some more time, will put it on the to do list ^^
@TecQuality: your welcome =)
Click to expand...
Click to collapse
So with this tool we dont need voltage control anymore right?
Anyways, the intructions are: enable the debug mode, plug the device, generate a script and select the push command correct? We need to start the adb server?
Directly from my SGS II using xda premium

@TecQuality: No, you don't have to start the server manually, the adb push command starts the adb-deamon/adb server automatically but won't stop the deamon afterwards therefor I stop the server after pushing the bootscript and setting the permissions.
So you just start the tool, plug your phone to the pc in usb-debug mode, choose your configs and press ADB Push, after that restart your phone and the bootscript should apply at systemstart.

Related

[kernel][2.6.29](18th Sep) OC/UV kernel with user configurable UV apk -Voodoo support

Thanks to Leshak , AndSecTest, mimocan, Unhelpful, xan, Supercurio and husq510 for the help.
This project started based on information found here:
http://forum.xda-developers.com/showthread.php?t=740514
But is has soon revolved into more fixes, patches and hacks. Thanks to all the developers involved and do buy them beers so they can continue to work on the fixes.
I've tested it to work on my phone but i cannot guarantee it will work on yours or if it will damage your phone so use it at your own risk. See known issues below if the problems have been resolved
Primary Features
- ext2/3/4
- Support I/O Scheduling for CFQ (stock), Noop, Deadline and Anticipatory
- Overclock and Undervolt support
- Overclocking for better performance. If you do not want to OC, use SetCPU to set Max at 1Ghz and enable checkbox Set on boot
- User defined Undervolt to save battery especially at lower frequencies. Use Xan's app for easy GUI control - here
- Also use Xan's app to change IO scheduling
- Rooted ADB shell for Android commander compatibility
Requirement
- i9000
- For Eclair 2.1 Only (Will not work on Froyo firmware)
My setup for cross compile without wakeup lag
- Use ct-ng crosstool
- Copy config file from arm-unknown-linux-gnueabi
Download
See attachment
Stock Kernels for reverting
Stock JM3 v3 kernel
Stock JM2 kernel
Stock XWJM5 kernel
Instructions:
- Extract the tar file from .7z
- Load tar file in PDA using ODIN and flash
- Do not check repartition and do not use pit file
- Use SetCPU to adjust frequencies
Reporting Problems
Please provide information below to help me understand:
kernel version: (eg oc120uv2-ctng)
UVLF setting (if kernel supports): (eg 50)
UVHF setting (if kernel supports): (eg 25)
descriptions:
Known Issues
- ondemand setting is unstable (need more verifications)
TO DO LIST
- BFS scheduling
- kernel modules (submit request)
Changelog
oc120_voodoo_b4.2
- enable CWM support even with voodoo ext4. Caveats: CWM will unmount /data after nandroid backup, you will not be able to remount /data in ext4 until you reboot back to recovery. Also, restore does not work when trying to restore /data.
- fixed check for debug_mode (it used to create logs in /sdcard/Voodoo/logs regardless if you enable*debug in /sdcard/Voodoo/)
oc120_voodoo_b4.1
- BLN patch v4 from neldar (http://forum.xda-developers.com/showthread.php?t=772672)
- All credit goes to author
- Signed update.zip format so rename file to update.zip and copy to /sdcard
- use recovery to flash
oc120_voodoo_b4
- updated to voodoo b4 (http://project-voodoo.org) - please read Documentation/FAQ, if you have previous installed Voodoo Beta1, please uninstall before upgrading
- Excludes color patch for later release
- All lagfix credit included in this build goes to Supercurio, please buy him a beer or two so he can continue on working on the project
oc120_voodoo_b3.1
- fixed init.d not working
oc120_voodoo_b3
- remove performance governor from startup cos i9000 dont need that
- added init.d support
oc120_voodoo_b2
- Use stock GPU ~200mhz table
- Voodoo2 lagfix (http://project-voodoo.org) - please read Documentation/FAQ, if you have previous installed Voodoo Beta1, please uninstall before upgrading
- Excludes color patch for later release
- All lagfix credit included in this build goes to Supercurio, please buy him a beer or two so he can continue on working on the project
oc120uv2
- Unhelpful patch for GPU table (http://github.com/Unhelpful/linux-galaxy/commit/5a729d3e2189159a20b00e0c331f0b112490e075)
- Interactive governor (http://github.com/Unhelpful/linux-galaxy/commit/aea72a98a2f261901d6f28f2d1deae3921d35948)
- user configurable UV settings (default value = 0 for UVLF and UVHF) for conservative governor only
- /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVLF_mV (for 100-800mhz)
- /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVHF_mV (above 800mhz)
- for example # echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVLF_mV (will UV by 50mV for 100-800mhz)
- for example # echo 50 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/UVHF_mV (will UV by 50mV for 1-1.2ghz)
- Setting increment of 25 (eg 25,50,75,100). Anything out range may hang
- Anything above 100 will be set to 100 (but I doubt you can get 100mV without crashing)
- After setting, do ur benchmarks and if everything is stable, you can add the command above into your init script depending which lagfix you have, add into your script.
Thanks!
Some questions:
1) the first thread about oc mentioned 1.2ghz, was this unstable for you?
2) Is this over-volted, under-volted, or no changes in voltage?
3) I'm guessing if I update to this kernal, I will loose any features of other kernals, like the lag-fix kernal?
I hope you can persuade the other devs to include this in their roms.
It this just for the unbranded SGS or does it work for TMO vibrant too?
Novek said:
It this just for the unbranded SGS or does it work for TMO vibrant too?
Click to expand...
Click to collapse
the kernel is just for the international version
it is just a test, i hv not test the limit yet.. this is a new phone so want to take it easy
i kept the voltage stock so just overclock a little and if its stable, will do more . More testing and reading is needed before i touch on the voltage.
it does not include mimocan's mod, i will work on it next release
Not Work
Hi GS S user,
not work in XXJP3 rooted Firmware!
Flash, Boot and go in Recovery menu!
Sir-ay said:
Hi GS S user,
not work in XXJP3 rooted Firmware!
Flash, Boot and go in Recovery menu!
Click to expand...
Click to collapse
XXJP3 is froyo.. android 2.2
he clearly states it works in eclair... android 2.1
Nice job cant wait to see how high the new hummingbird cpu can go. The galaxy s 2 has same cpu and is running at 2 ghz (if the leaked info is correct). I hope we can push it up to 2ghz with out to much voltage/heat increase.
[[ Cold ]] said:
XXJP3 is froyo.. android 2.2
he clearly states it works in eclair... android 2.1
Click to expand...
Click to collapse
upps
I will OC!!!!!!!!!!
Do you notice the postive effects of the overclock in any way? What does it do with benchmarks? Also do you test for (temperature) stability with some games as well, as they use the graphics card a lot which is on the same chip. Even when not overclocked the SGS can get prettty warm.
Installs nicely, oc ok to, but dont see that much increase in linpack.
Nice work tho.
Any chance to have ext 4 support in next update?
Thanks :
updated to v2
raspdeep said:
updated to v2
Click to expand...
Click to collapse
you're fast, lol. Thanks.
INeedYourHelp said:
your fast, lol. Thanks.
Click to expand...
Click to collapse
update before i go to bed
Guys, how do I use SetCpu?
Was 1.2ghz unstable?
Sent from my SGH-T959 using XDA App
interested in this... Allthough the phone does seem to get hot during heavy use, it doesn't get 'too' hot.
I have seen about 47 degrees celcius max read from battery temp (which seems to be cpu temp on our phones as my battery was stone cold)
Hi any possibility get v1 without mimocan.
Got samset including it nd sgs wnt boot cause of mimocan included.
thanks
I am using JM2. Does this make my phone any faster? Does it maked it lag free?
After tested this oc.. i am bit unsure: i get no performance increase... Is it confirmed that its functional?

[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

[MOD] Trickster MOD [2012-07-09]

Introducing Trickster MOD, bringing Trickster experience to virtually every ROM out there.
Users using Trickster ROM 1.2.1 or newer can use this MOD to update
This CWM zip include the binaries and scripts I used for optimization in Trickster ROM. What it can do/set:
- Zipalign and sqlite DB optimization at boot
- Some android properties tweaks with mobile network speed tweak
- Screen state optimization for kernel task scheduler and virtual memory management (ch33kybutt)
- Set I/O scheduler, read ahead buffer, CPU scaling governor, min and max CPU speed
Following features are dependent on kernel features:
- Color (applied by default), contrast and gamma tweaks
- Generic hotplug
- CPU Temp limit
- Minimal SmartReflex voltage of Core, IVA, and MPU domains
- Nominal SmartReflex voltage for Core, IVA, and MPU domains
- Regulator voltages
- GLaDOS live OC of Core, GPU and MPU
- WIFI mode for screen off (power saving or full speed)
- Vibrator strength
- Headset volume boost
- High performance sound
- Force fast charge
- Battery live extender
- Touch wake and touch wake duration
- fsync control
Download
Trickster MOD 20120709
Control App​
Changelogs
Requirements:
- CWM
- Someone who understands instructions below​
Installation/Update instructions:
- Reboot to CWM recovery
- Do a nandroid if you're scared (recommended in case you have problem)
- Install zip from sdcard
- Reboot the phone
- If you see /sdcard/trickster directory with configuration files inside then this mod installed successfully​
Usage:
By default Trickster color, some android property regarding UI smoothness and mobile data speed tweaks and screen state optimization are applied. If you want to change additional settings then either use the app or :
- Go to /sdcard/trickster directory, you'll see at most four following configuration files, depending on kernel features:
. color.conf: color related tweak
. general.conf: generic tweaks like zipalign, sqlite, and screenstate optimization
. kern_general.conf: generic kernel tweaks like CPU speed, governor, IO scheduler and readahead buffer
. kern_specific.conf: specific kernel features like sound control, WIFI power, fast charge...​ - Edit any above file to change the settings you want using app like ES Explorer, Root Explorer..., instructions included inside
- Settings are automatically applied when user saves any of these files
- Some changes require restarting your phone
- To check log to see if it works use "logcat|grep Trickster" from adb/terminal​
Reinstall boot service, Reset settings, Removal instructions:
- If you install a new kernel that includes ramdisk (boot.img format like franco or leanKernel), you can either reinstall Trickster MOD, run "tricks install" from adb root shell or terminal, or apply this CWM zip from recovery.
- You can delete a configuration file, files, or entire /sdcard/trickster directory to reset to default settings for a file, files or all configuration respectively
- If you mess up and can't boot, say aggressive OC/UV , use this CWM zip to reset
- If you want to uninstall, use this CWM zip​
Credits:
- Google
- Our great kernel devs
- chainfire for SuperSU and su
- stericson for busybox
- ch33kybutt's for his brilliant idea on screen state optimizations
- Beta testers for your dedication in testing this
- nexus.prime for his unintallation script
- phone_user for init.d CWM zip
- Anyone I learnt from
Disclaimer: This is provided with NO GUARANTY whatsoever. Use your common sense.
Beta test: If you want to test my stuffs, including other things beside this. Contact me through PM.
First
Thanks for this! Downloading now
Sent from my Galaxy Nexus using XDA
tanner4137 said:
First
Thanks for this! Downloading now
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
DERP!
Looks great! @OP, I remember your contributions in Franco's thread. Will any of these modifications conflict with his setup?
Cheers,
mazubo said:
Looks great! @OP, I remember your contributions in Franco's thread. Will any of these modifications conflict with his setup?
Cheers,
Click to expand...
Click to collapse
No, it won't. This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
TBH with the recent CM episode I felt this is needed even more, screw them all. My script or app won't include things that won't work with CM like what they did, I assure you.
bigeyes0x0 said:
No, it won't. This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
TBH with the recent CM episode I felt this is needed even more, screw them all. My script or app won't include things that won't work with CM like what they did, I assure you.
Click to expand...
Click to collapse
Awesome, thank you! I'm currently running paranoid android which is cm9 base.
I'll report back!
bigeyes0x0 said:
...
This is supposed to be a unification for all the stuffs that one can unite on the GNex. I will try to create an app to do this along side of improving this script in the future.
...
Click to expand...
Click to collapse
Cooool!
---------- Post added at 02:39 PM ---------- Previous post was at 02:14 PM ----------
Hi bigeyes0x0
Air kernel V1.3 changed many things
http://forum.xda-developers.com/showpost.php?p=26318191&postcount=3
Woooow, Thank you !!
nexus.prime said:
Hi bigeyes0x0
Air kernel V1.3 changed many things
http://forum.xda-developers.com/showpost.php?p=26318191&postcount=3
Click to expand...
Click to collapse
It's fine, the mod is already written in a way that it can handle update like this with ease. If there's actually a new sysfs that isn't exist anywhere else, I will add it if I deem it necessary. If that were not the case I would be in for maintenance hell for every kernel of every dev's update .
r_data said:
Woooow, Thank you !!
Click to expand...
Click to collapse
You're welcome. I actually wanted to get into kernel dev before but it seems like destiny is a ***** and I am stuck with these, as I am not going able to find enough time to care for my ROM, this mod, the app that I wanted to create and a kernel to add to these. Ranting aside, I'm fine with how things are .
Where is trickster.conf?
Don't understand, I installed the zip, but no trickster.conf appeared in /sdcard...
Ok, probably a dumb question,
But can these literally be used on ANY rom?
Or at least any ICS rom?
For example, would this be useful on a moto atrix running ICS? (CM9 based)
There a few ICS roms for the atrix floating around and I just wanna know if I should share this thread with some of the devs over there?
I do have a G-nex that ive been able to play with over the last couple days, and its sweet! If I flash this mod, are there any noticeable changes right off the bat, or just after imputing a command through terminal?
Thanks, and nice job
sperug said:
Don't understand, I installed the zip, but no trickster.conf appeared in /sdcard...
Click to expand...
Click to collapse
Your ROM does not have init.d function, I think
forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Sent from my Galaxy Nexus
Will this work without a custom rom, 4.04 boot unlocked with root and custom kernel?
Sent from my BlackBerry 9700 using Tapatalk
ATRIXXIRTA said:
Ok, probably a dumb question,
But can these literally be used on ANY rom?
Or at least any ICS rom?
For example, would this be useful on a moto atrix running ICS? (CM9 based)
There a few ICS roms for the atrix floating around and I just wanna know if I should share this thread with some of the devs over there?
I do have a G-nex that ive been able to play with over the last couple days, and its sweet! If I flash this mod, are there any noticeable changes right off the bat, or just after imputing a command through terminal?
Thanks, and nice job
Click to expand...
Click to collapse
Theoretically, it should work anywhere with an ARMv7 CPU and Android 2.3 or higher but this has been tested only on GNex varieties by me and my testers. Still as I wrote this for GNex kernels, this script of course can't change kernel features that this script does not have. Basically I think it should work but with limited functionality, to be sure just nandroid first before applying it. Still I do not support this in anyway so don't come crying to me later if anything happens and I won't answer question regarding this script and other devices further. I do believe it has some values for any device out there, but it needs ppl with some knowledge to tweak it.
EVERED78 said:
Will this work without a custom rom, 4.04 boot unlocked with root and custom kernel?
Sent from my BlackBerry 9700 using Tapatalk
Click to expand...
Click to collapse
Yeah, it should.
nexus.prime said:
Your ROM does not have init.d function, I think
forum.xda-developers.com/showpost.php?p=21232559&postcount=2
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Thanks for this, I will add this info in the first post.
any pics?
There's no pic for this, it's for tweaking and enhance ROM usability, battery life and performance.
ds4 said:
any pics?
Click to expand...
Click to collapse
Rotflmao. Apparently some people have alot to learn.
Sent from my i9250 (GSM) Galaxy Nexus
Anyone tried it on AOKP b37? Any noticeable improvement?
eRajesh said:
Anyone tried it on AOKP b37? Any noticeable improvement?
Click to expand...
Click to collapse
Don't work for me... Lost navbar and notification bar..
Sent from my Galaxy Nexus using XDA
Works lovely on Liquid 1.4
Sent from my i9250 (GSM) Galaxy Nexus

[KERNEL] Lucid - b3 [STOCK-LP][D802]

Introduction:
Presenting Lucid Kernel, built from LGE v30d sources. This project started as my personal builds and used daily on my device. Although the project status is beta, it is stable to be used as a daily driver. This is my first time sharing my kernel here at XDA. My main goal for this kernel is to improve what the stock kernel provides and more. I currently don't have any plans to add CPU and GPU overclocking, and tons of cpu governors. The kernel is still base on 3.4.0, but with useful patches from the mainline kernel.
Kernel Main Features:
rev_hotplug custom cpu hotplug driver - online cores based on system load and turn cores off when it is idle
Mpdecision off by default, but can still be activated
User voltage control - by @faux123
boeffla_sound by @Lord Boeffla - speaker and headphone volume control.
Tweaked Ondemand Governor with patches from @stratosk
Stock LG ondemand renamed to lg_ondemand
Motorola's Quickwakeup driver - drop the system back into suspend without fully resuming if the wake reason was a special quick wakeup event.
A lot of under the hood improvements
Advanced TCP congestion control
Loads of I/O Schedulers
Init.d support
Lucid Settings - Script to change hotplug, boeffla_sound, and selinux mode. -inspired by @imoseyon 's lkconfig
*This kernel is compatible only on stock LG lollipop rom(30a, 30b, etc.) with BUMPED recovery and KK Bootloader
Installation:
Backup rom or just boot partition if coming from stock
Download and flash via recovery
Reboot :good:
Downloads:
androidfilehost
**Use your favorite kernel apps to control some kernel settings, but I personally use Kernel Adiutor.
For the hotplug and boeffla sound control, run lucid from terminal emulator app.
Code:
1. Type "su"
2. Type "lucid"
3. Enter a number to select options.
eg. Type "2" if you want to change boeffla_sound settings.
4. All settings changed will be applied immediately and will stick on boot
[HIDE][URL=http://s1103.photobucket.com/user/ibrawnz/media/Screenshot_2015-06-13-21-27-37.resized_1.png.html][IMG]http://i1103.photobucket.com/albums/g465/ibrawnz/Screenshot_2015-06-13-21-27-37.resized_1.png[/IMG][/URL][/HIDE]
XDA:DevDB Information
Lucid Kernel, Kernel for the LG G2
Contributors
irevhard
Source Code: https://github.com/revjunkie/lge-g2-d802
Kernel Special Features: rev_hotplug, boeffla sound, user voltage control
Version Information
Status: Beta
Beta Release Date: 2015-05-05
Created 2015-05-06
Last Updated 2015-06-14
Reserved
thanks for kernel I will try and reports
flashed and i will give a report soon.
How I can change sound settings? I tried to use Boeffla sound from Play Store but I have FC;(
kondzio66 said:
How I can change sound settings? I tried to use Boeffla sound from Play Store but I have FC;(
Click to expand...
Click to collapse
I haven't tried the boeffla sound app. But to change the values you may use a terminal emulator and type this;
echo "value left value right" > /sys/class/misc/boeffla_sound/speaker_volume
echo "value left value right" > /sys/class/misc/boeffla_sound/headphone_volume
If you want the settings to stick on boot, edit the 07rev script located at /etc/init.d
first tnx...I love stratosk and his work on n4, so I must try your kernel.
You said in op
"Init.d support - creates init.d script upon installation" where is it?
And how to manage the sound and hotplug... I really have no idea.
tnx again
---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------
irevhard said:
I haven't tried the boeffla sound app. But to change the values you may use a terminal emulator and type this;
echo "value" > /sys/class/misc/boeffla_sound/speaker_volume
echo "value left value right" > /sys/class/misc/boeffla_sound/headphone_volume
If you want the settings to stick on boot, edit the 07rev script located at /etc/init.d
Click to expand...
Click to collapse
ok i found it...
Hi thx for very good kernel! But I have random reeboot with zram availible in trickster. This just for feedback.
Il you need beta tester i'm here.
Best regard
deraiz12 said:
Hi thx for very good kernel! But I have random reeboot with zram availible in trickster. This just for feedback.
Il you need beta tester i'm here.
Best regard
Click to expand...
Click to collapse
Thanks for the report. Don't use zram, it causes freezes.
Welcome new dev:good: Thanks for support
Tools?
Thank You,:good:
I'm testing the Kernel.
How can change the voltage? Any tool recommended?
Thank You,
E
eBENdre said:
Thank You,:good:
I'm testing the Kernel.
How can change the voltage? Any tool recommended?
Thank You,
E
Click to expand...
Click to collapse
Use Kernel Adiutor to change voltage settings.
any relevant bugs we should know. I'm gonna give it a try asap
None so far, just don't enable zram.
I had a nexus 4 and I very love kernel by stratosk . Nice to know that you have a "Tweaked Ondemand Governor with patches from @stratosk" , i will test it now :good::good::good:
so far so good. charging is at 1610 with stock charger.
edit: it messed up my true stereo mod. channels are now unbalanced and no matter what I edit in mixer_paths it stays the same. also tried using the kernel script and lower speaker to balance stereo channels with no sucess.
maybe you can add a value for left/right channel speaker like you can with headphones
edit2: what I found so far. if I use default mixer_path with no mods the kernel scripts works to lower speaker volume. But when using stereo mod mixer_path it ignores kernel script and cant control speaker volume. wouldnt be such a pain if manually editing mixer_path worked like before I installed your kernel. wich also doesnt.
that beeing said Im left with two options. either use a completely unbalanced stereo mod and cant use boeffla settings. or forget about the mod and use boeffla. thing is I realy like this mod
edit3: multicore geelbench is way low, also notice mortal kombat x a bit slow compared to stock kernel.
@remorema could you try this https://www.androidfilehost.com/?fid=23991606952599326
I added back the control for dual channel speaker volume. Test it. If is still doesn't work, could you link me to this stereo mod you're using?
As for the low multi-core geekbench score, I think it may have something to do with how I allocate processes to each core. The tweak I made should give more power savings, but that could be the effect of it. Delete the 07rev script on your init.d before flashing.
I want to give a try to your kernel but first I want to ask you something if its possible, could be possible to add Samsung patch to wifi, etc like Bckernel explained here: https://github.com/simex31/BC_Kernel_LP_STOCK_D802/commit/bcc698ba11d3d55326d853bbc7abc36c4fcac47e and no audio mod?
I get the best wifi @5ghz and [email protected] with that driver, impossible to get with stock.
Thanks!
I will see what I can do about the wifi, but I personally don't have any problems with it. No sound mod is a no go. You can always disable it if you don't wanna use it.
irevhard said:
I will see what I can do about the wifi, but I personally don't have any problems with it. No sound mod is a no go. You can always disable it if you don't wanna use it.
Click to expand...
Click to collapse
With Wifi is night and day (some people has the same issues like me, maybe is SEA variant the problem), I discovered it with BCkernel and finally I'm not planning to come back to KK because in KK I had problems at 5Ghz only with [email protected], now in LP my phone is ever connected at 433mhz without a single drop, amazing that driver, the only problem I have with BCkernel is the battery drain, now I'm monitoring it with battery widget pro to compare it with stock.
Last note, the issue with wifi is only at 5ghz, on 2.4 it works fine
Another nice plugin to have is screen calibration (kcal).

[Base 1.80][Root][SCRIPT] 08/07 Butterfly V12/Ghostpepper Inspired Interactive Values

Hey Guys,
I thought while waiting for the first custom kernels that maybe i should have a look at the interactive values and try to tweak them based on this way:
http://forum.xda-developers.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557
So i took a script from @Alcolawl and modified it to work with our device. Many thanks for his scripts.
I adjusted the values to our snapdragon 820 as the original scripts are for the nexus 6p which runs with a snapdragon 810. (octa on the 810 vs quad-core on the 820)
I´d highly recommend to try these values as it gave me a significant boost in battery life. here is a screenshot:
https://drive.google.com/file/d/0BxbxiBXaZVu-N1lsRTMyZ2hsY1k/view?usp=sharing
https://drive.google.com/file/d/0BxbxiBXaZVu-N1MzamRvM2FVZlk/view?usp=sharing
BIG UPDATE: with base 1.80 i´m not able to trick the touch/Input boost from htc´s pnpmgr with a chmod command like i did before. so all versions since Butterfly v11 will disable pnpmgr completely.
that means if you Play high end games and your device overheats like crazy please Report back. i had no Problem until now.
also there are now 2 versions. the oc one is for overclocked cpus with elementalx. without oc is for the default clock speeds.
here are explanations on what the 2 different stragies do:
Butterfly - A culmination of all strategies, provides smoothest performance of all currently published settings, though battery savings are a little more modest. Excellent for light and moderate users; heavy/marathon users might want to check out a different setting profile as it gets battery intense with heavy usage.
GhostPepper - Uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. Good for light to medium usage and multitasking.
So basically there will be two ways of applying this mod.
First one is via scripts. this allows to set parameters outside of the interactive governor controls like cpu boost, editing of pnpmgr, min/max frequencies etc. so basically there´s more control.
Second one is via EX Kernel Manager. I will upload the profiles and you can apply them directly into the app. This will however only affect the tunables of the interactive governor. Touchboost has to be set manually for the profile to work exactly as intended.
when the phrase "elex" is in the zips name it is for use with ex kernel manager app (loading profile in governor options screen.
so to try the script method follow these steps. (and before do a nandroid as always)
1. download the attched file.
2. unzip the file, choose the correct script (oc if you have overclocked)
3. with a root explorer or terminal copy the file to system/su.d
4. set the correct permissions (rwxr-xr-x)
now you may either choose to change the settings temporary (step 5A) until the next reboot or permanently upon each reboot (step 5B)
5A. rename the file to 50ghostpeppertenv3.sh
use any script manager and run the script from this location (system/su.d)
alternatively use any terminal emulator app with the following commands
su
cd system/su.d
sh 50ghostpeppertenv3.sh
Be advised that the script takes in its current state 60 seconds to be applied. So the changes need a minute to be applied.
now check if the script has applied
- to do this go to sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
- if it looks like this: "25 480000:35 652800:45 844800:60 960000:75 1113600:85 1228800:90 1401600:95 1593600:100" the script was applied successfully
- the values changed with each update. what´s important to check is just the generel layout
5B. (-if you did the temporary approach beforehand remove the .sh)
- it should look like 50ghostpeppertenv3 (make sure there are now spaces at the end)
reboot and check if the script has applied
- to do this go to sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
- if it looks like this : "25 480000:35 652800:45 844800:60 960000:75 1113600:85 1228800:90 1401600:95 1593600:100" the script was applied successfully.
-- the values changed with each update. what´s important to check is just the generel layout
Important!!!
if you run permissive and run into no signal issue due to this look here
if you should run into a no signal issue where your baseband shows as unknown under software status ( currently on custom roms eg leedroid) you have to put a script to system/su.d that sets selinux to permissive. attached is such a script.
unzip it. copy it to system/su.d
set the same permissions as the ghostpepper script and your good to go.
running in terminal the command "getenforce" should return permissive.
Second method via Elemental App:
1. Download the desired profile from the attachments
2.Extract the Profiles from the zip
3. Choose the Overclocked(oc) version if you overclocked
4.Copy the file to sdcard/ElementalX/gov_profiles
5. Open the app and apply the values
let me know if it brings a little battery boost for you. you may also let me know if you face performance issues.
Thank you and have fun testing it.
Changelog:
Ghostpepper:
v1: Initial Release
v2: Tweaking The Script so the values will get applied properly on all roms
adding a permissive script in case of getting enforced
v3: Removed touchboost so the profile may unleash its full potential <<--- results in overall slower device.
v4: Added back short input boost
v4withtb: Added back original touch boost from htc
v8: New try on getting the interface smooth and disabling touchboost (minimal stutter remains)
v8withtb: same as v8 touchboost is still active
v9: only one version with touchboost now. tweaked target loads (lower freqs are used more), short input boost
there are now two files inside the zip.
v10: try to further improve frequency usage, less aggressive scaling
v11: fix in case Little cores might get stuck at highest clock
Butterfly
v4: Initial Release
v4withtb: Initial Release with original touch boost from htc (extremely smooth)
v6withtb: tuned the values and kept touchboost from pnpmgr, kernel touch boost is disabled, extremely smooth for me
v7: less aggressive scaling, performance should be really good while reducing less power than v6
v9: basically scaling is tuned to respect the crossover effieciency point from big and little cluster
v11: updated to work on base 1.80
- disable pnpmgr completely because the chmod trick for disabling pnpmgr´s touchboost is no longer working
- enable msm_thermal and core_control
v12: tweak some values to work better with the new base
v13: hotfix as i made a mistake in the previous version
credits:
thanks to @Alcolawl for the script template
also thanks to @soniCron for the original thread
reserved
Thanks for this - about to try it out now.
Question, though - Instead of using init.d, which requires a modified ramdisk, why not just use su.d, which only requires SuperSU?
EDIT: It doesn't seem to be loading when using su.d either.
Thanks. I'm using it now. Will let you know if there are any performance problems.
Can you also make a script that makes the phone smoother?
Captain_Throwback said:
Thanks for this - about to try it out now.
Question, though - Instead of using init.d, which requires a modified ramdisk, why not just use su.d, which only requires SuperSU?
EDIT: It doesn't seem to be loading when using su.d either.
Click to expand...
Click to collapse
Yeah it's strange. When flar will Releases his kernel, init.d will be hopefully working.
Seems like we have to apply it manually for now. When exkm gets updated we can switch profiles there so maybe we should just find good values now.
gusoldier said:
Thanks. I'm using it now. Will let you know if there are any performance problems.
Can you also make a script that makes the phone smoother?
Click to expand...
Click to collapse
Did you face a performance loss with these values? For me it's already pretty smooth.
But sure I may trim it more performance oriented yes.
Freak07 said:
Did you face a performance loss with these values? For me it's already pretty smooth.
But sure I may trim it more performance oriented yes.
Click to expand...
Click to collapse
Compared to stock I feel no performance loss, as smooth as stock. What I actually meant was a new script for buttery smooth nexus like experience.
Btw I will also check how hot it will get. On stock the phone gets sometimes hot watching youtube etc. Hopefully it'll better with this script
gusoldier said:
Compared to stock I feel no performance loss, as smooth as stock. What I actually meant was a new script for buttery smooth nexus like experience.
Btw I will also check how hot it will get. On stock the phone gets sometimes hot watching youtube etc. Hopefully it'll better with this script
Click to expand...
Click to collapse
yeah. I can try this later. But compared to my nexus 6 and my pixel c the 10 is about as smooth.
Freak07 said:
Yeah it's strange. When flar will Releases his kernel, init.d will be hopefully working.
Seems like we have to apply it manually for now. When exkm gets updated we can switch profiles there so maybe we should just find good values now.
Click to expand...
Click to collapse
Got it working with su.d. Just needed to add some sleep at the beginning of the script, otherwise it runs too early and the parameters can't be set .
P.S. You didn't answer my question about why you're not using su.d instead of init.d?
Captain_Throwback said:
Got it working with su.d. Just needed to add some sleep at the beginning of the script, otherwise it runs too early and the parameters can't be set .
Click to expand...
Click to collapse
Can you post it? I will add it to op thank you captain!
Edit: didn't think about it I'm not that knowledgeable.
Or is it just like "sleep 30"?
Edit2: it is indeed. thank you again.
Freak07 said:
Can you post it? I will add it to op thank you captain!
Edit: didn't think about it I'm not that knowledgeable.
Click to expand...
Click to collapse
Sure, right now I'm just trying to find the minimum sleep value that works, and once I do, I'll post it.
RE: su.d, see the 2nd paragraph here: http://su.chainfire.eu/#selinux-policies-supolicy
An additional advantage besides the ones listed there is that in a systemless root setup, su.d doesn't require modifying system at all, which is important for being able to take OTA updates in the future. On this device, I try to touch system as little as possible (if at all), so it might be a better alternative, and doesn't require a custom ramdisk.
Captain_Throwback said:
Sure, right now I'm just trying to find the minimum sleep value that works, and once I do, I'll post it.
RE: su.d, see the 2nd paragraph here: http://su.chainfire.eu/#selinux-policies-supolicy
An additional advantage besides the ones listed there is that in a systemless root setup, su.d doesn't require modifying system at all, which is important for being able to take OTA updates in the future. On this device, I try to touch system as little as possible (if at all), so it might be a better alternative, and doesn't require a custom ramdisk.
Click to expand...
Click to collapse
yeah you´re right. thanks for the reference and the hint. i knew about it but didn´t remember i could use this see my edited last post. with sleep 30 it´s working for me. i updated the op.
besides, do you had any luck in finding your pvs bin? i´m extremely intersted in this. i only found my voltage table so far. maybe you may post yours too. i opened a thread here:
http://forum.xda-developers.com/htc-10/how-to/post-voltage-table-chip-t3383494
if we had a way to check our pvs bin it would be even more helpful.
Freak07 said:
yeah you�´re right. thanks for the reference and the hint. i knew about it but didn�´t remember i could use this see my edited last post. with sleep 30 it�´s working for me. i updated the op.
besides, do you had any luck in finding your pvs bin? i�´m extremely intersted in this. i only found my voltage table so far. maybe you may post yours too. i opened a thread here:
http://forum.xda-developers.com/htc-10/how-to/post-voltage-table-chip-t3383494
if we had a way to check our pvs bin it would be even more helpful.
Click to expand...
Click to collapse
sleep 30 didn't work for me, as I have another script running before this one. It's probably safer to go with sleep 60 to make sure it loads for everyone (sleep 45 did work for me too, but 30 was too short - figured it's better to allow more time). Just a suggestion, or you could just tell people that if it doesn't load for them to increase the sleep value. Up to you, really.
EDIT: And I don't know anything about a pvs bin
Captain_Throwback said:
sleep 30 didn't work for me, as I have another script running before this one. It's probably safer to go with sleep 60 to make sure it loads for everyone (sleep 45 did work for me too, but 30 was too short - figured it's better to allow more time). Just a suggestion, or you could just tell people that if it doesn't load for them to increase the sleep value. Up to you, really.
EDIT: And I don't know anything about a pvs bin
Click to expand...
Click to collapse
Okay i'll edit it to 60.
This is what I'm talking about. Every Chip has a pvs bin. The higher the bin the lower the voltage for a certain cpu frequency.
And every bin has its own voltage table.
http://forum.xda-developers.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173
Hey @Freak07,
Wondering if you can help.. Can't seem to get this working?? Please see attachment. I've set permissions and used terminal to get it working but no dice?
Edit: Nevermind.... I can't follow simple instructions to unzip a file (I was renaming the zip rather than unzipping and renaming that to .sh).... #Special
Edit 2: Went straight for option 5b (so it should have worked on reboot). When I rebooted I lost the radio and have had to clean flash my ROM? I was on Leedroid's Rom when it happened.
rav101 said:
Hey @Freak07,
Wondering if you can help.. Can't seem to get this working?? Please see attachment. I've set permissions and used terminal to get it working but no dice?
Edit: Nevermind.... I can't follow simple instructions to unzip a file (I was renaming the zip rather than unzipping and renaming that to .sh).... #Special
Edit 2: Went straight for option 5b (so it should have worked on reboot). When I rebooted I lost the radio and have had to clean flash my ROM? I was on Leedroid's Rom when it happened.
Click to expand...
Click to collapse
Which Kernel were you on?
This morning i had the same issue when flashing tbalden Kernel using leedroid and my Script.
Freak07 said:
Which Kernel were you on?
This morning i had the same issue when flashing tbalden Kernel using leedroid and my Script.
Click to expand...
Click to collapse
Hey buddy,
I was on the kernel built into Leedroid.
Hope that helps.
rav101 said:
Hey buddy,
I was on the kernel built into Leedroid.
Hope that helps.
Click to expand...
Click to collapse
How did you recover? Full Wipe?
Delete
Freak07 said:
How did you recover? Full Wipe?
Click to expand...
Click to collapse
Yeah, I tried a dirty wipe but that didn't work so had to do a full wipe.

Categories

Resources