yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] 4tticuz:
I have the last (not new kernel) from franco and have the following files in init.d:

- 01efstar

- 01sysctl

- 05modules

- 06defaulttheme

- 07internalsd

- 08dalvik

- 93tcp

- 94netsecurity

- 95zipalign

- 96nandtweak

- 97ramscript

- 98noatime

- 99tweak

Im kinda confused right now...

Sorry, if it is a noobish thing -.-°
[Nexus S Android Development] Yusei:
great post thoth77

thank you
[Nexus S Android Development] franciscofranco:
****... no wonder some users have problems with their setups, too much 99omfgpwnscriptsthatfuckmobiledevicesmorethanhelping... I'll give you a sugestion, wipe that ****, reinstall the rom and then flash the kernel, probably takes less time than going over all those scripts one by one ;)
[Nexus S Android Development] 93ae8074:
Oops, sorry. I can confirm you that morfic's kernel installs only 98tweak and 99Complete files. I don't know francisco's one.

Cheers.
[Nexus S Android Development] 4tticuz:
That really does NOT sound good to me...

Can you post a list of files, which HAVE TO be in init.d [except the ones from the ROM (does the ROM install files to init.d?)]

Seems to become a flash day...
[Nexus S Android Development] noobhero:
any idea why my nexuss just cant seem to liveoc? sir

i've always upped my voltage b4 doing any live oc.

each time it will freeze after running for about an hour. :(
[Nexus S Android Development] ro_explorer:
I'm on stock rom and I don't even have a /etc/init.d directory. I had to create one in order to put scripts there.

---------- Post added at 04:14 PM ---------- Previous post was at 04:13 PM ----------

You are one of the unlucky users (like me) who have devices that do not like at all OC-ing. So we are condemned to a max 1000MHz freq.
[Nexus S Android Development] 93ae8074:
In my init.d using CM7.1.01 and morfic's TEUV:

00banner
01sysctl
03firstboot
04modules
05mountsd
06mountdl
20userinit

I didn't list morfic's kernel files.

Cheers.
[Nexus S Android Development] caleb1783:
how much live oc did u do? i did 110 and is very stable and battery happy... check my signature for details...

Sent from Divinus Nexus S...
[Nexus S Android Development] 4tticuz:
Maybe my files in init.d have been installed by Brainmasters MIUI ?

//EDIT

I checked the MIUI Version and can confirm that there is a bunch of scripts!
[Nexus S Android Development] noobhero:
we're really unlucky :(

just 110%
[Nexus S Android Development] 93ae8074:
In our case only 20userinit.sh makes any difference. It executes the file /usr/local/bin/userinit.sh if it exists.

So check every script and try to figure out if you need it.

Cheers.
[Nexus S Android Development] 4tticuz:
Yes, I will and I will report in the fitting thread!

Thanks for pointing that out!
[Nexus S Android Development] franciscofranco:
Let's get this explained once and for all:

- delete any script that contain remounting tweaks;

- delete any script that contain dirty_ratio, dirty_writeback etc tweaks;

- delete any script with minfree tweaks

Apart from this kind scripts there is no deletion needed. Search a bit, I can't do all the work for you guys, I create the kernels, take me a lot of work to test everything and discuss ideas with other devs...I was up to 6AM yesterday working on this **** so PLEASE, and this is for EVERYONE, try to do a bit of searching, a bit of researching and a bit of testing of your own, it discourages me to read 5 posts in every page asking the same things over and over again, scripts here scripts here, liveoc there, deep idle ****... search please, I give all the instructions so please you gotta do your homework as well. This is targeted for everyone ;)
[Nexus S Android Development] thoth77:
trust

We have to take what the devs are saying on trust :)
[Nexus S Android Development] polobunny:
You know, you're probably right with that. Delete all the crap in init.d, reboot in recovery, re-install your rom and flash your kernel. Bam.
[Nexus S Android Development] waterface:
Question. Would the scripts in /etc/init.d be deleted upon a factory reset? Just to be sure the ones that I'm seeing were all put there by NSCollab ROM install.
[Nexus S Android Development] 4tticuz:
The ROM will install the scripts again.

I have to find out which of them are not necessary
[Nexus S Android Development] polobunny:
Why is deep idle at 0ms?????!! :P

Hm you're right that if the kernel the rom ships with or the rom itself has contradicting files in init.d with the kernel you're flashing, it could be a problem. But clearly some people ran a billion kernels and have files from each of them, which is even worse. :|
[Nexus S Android Development] waterface:
So good to get these basic but crucial info from time to time. With my limited knowledge, it wouldn't have crossed my mind to delete scripts, and even then I would not have known which to keep. Thanks a lot franco.

---------- Post added at 03:55 PM ---------- Previous post was at 03:47 PM ----------

I'm on NSCollab. Posted as follows are scripts I deleted, by intuition (I don't know what a remounting tweak looks like, but I guessed...) so other people on NSCollab and franco's kernel can delete them too. Hope it was correct to get rid of them.

99nexusinit, content:

#!/system/bin/sh

mount -o remount,noauto_da_alloc,nosuid,nodev,noatime,nodiratime /data /data

and S97ramscript, content:

#!/system/bin/sh

# Copyright� 2011 Juwe11

# 13.8.2011 Updated VM values - Thanks to [Kalis] for help

# 18.8.2011 Added oom_adj values

# 19.9.2011 Updated VM and LMK values

if [ -e /sys/module/lowmemorykiller/parameters/adj ]; then

echo "0,1,2,4,6,15" > /sys/module/lowmemorykiller/parameters/adj

fi

if [ -e /sys/module/lowmemorykiller/parameters/minfree ]; then

echo "2560,4096,5632,10240,11776,14848" > /sys/module/lowmemorykiller/parameters/minfree

fi

if [ -e /proc/sys/vm/swappiness ]; then

echo "20" > /proc/sys/vm/swappiness

fi

if [ -e /proc/sys/vm/vfs_cache_pressure ]; then

echo "70" > /proc/sys/vm/vfs_cache_pressure

fi

if [ -e /proc/sys/vm/dirty_expire_centisecs ]; then

echo "3000" > /proc/sys/vm/dirty_expire_centisecs

fi

if [ -e /proc/sys/vm/dirty_writeback_centisecs ]; then

echo "500" > /proc/sys/vm/dirty_writeback_centisecs

fi

if [ -e /proc/sys/vm/dirty_ratio ]; then

echo "15" > /proc/sys/vm/dirty_ratio

fi

if [ -e /proc/sys/vm/dirty_background_ratio ]; then

echo "3" > /proc/sys/vm/dirty_background_ratio

fi
[Nexus S Android Development] mike216:
Deepidle is working fine for me lost 1% in 8 hours with data off and its nice and fast,will donate Thursday Franco but thanks a lot really liking this one

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] :
I knew when i was getting this phone it would be special, but the people in the community are every bit as special, and without them it wouldn't be the same. I can't believe the quality of the output, or the frequency! It feels like my phone is renewed every couple of days! Thanks to Franco and the community, I'm so happy to be a nexus s user!

Obscurely referenced from the fifth dimension on my Nexus S
[Nexus S Android Development] polobunny:
That's the remounting script. Remounts as EXT4 for speedier access.
[Nexus S Android Development] mike216:
Look at this mess! I guess time to do some spring cleaning

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] mike216:
Sorry forgot the other half

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] Abaddon:
what files to delete in init.d folder?
[Nexus S Android Development] polobunny:
Worst is that there's no way I can think of to keep this perfectly clean in an automated way and know there's nothing interfering except to flash a ROM without a kernel then flash the kernel of your choice...
[Nexus S Android Development] waterface:
But I checked that it came with the ROM install, as well as the other S97ramscript with dirty_... stuff. So based upon franco's latest post, I deleted them- is that right?
[Nexus S Android Development] mike216:
Factory reset wouldn't erase any script just data but if you wanna have the cleanest install possible just reflash your rom and you don't even have to delete your data because all you looking to do is format the system, or you could just erase everything in modules and inuit.d then go reflash and before leaving recovery flash 08 this will get rid of all the old crap your not using, I've got a crazy mess also!

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] polobunny:
S97ramscript comes with the rom and is Juwe's ram optimization script. It's up to you whether or not you want to keep it, you can also just cut/paste it elsewhere and see if your phone feels better with or without.
[Nexus S Android Development] waterface:
Not all of that is old crap mike, look at the scripts put there by NSCollab, from browsing the rom .zip file:

Two of those, as in my previous post and according to precious info from franco, are to be deleted. The remaining seem to be supposed to stay there.
[Nexus S Android Development] mike216:
Yep your rite I've gotta dig some and see what I need and dont need

Didnt read good sorry! Whitch two should I get rid of 97ramscript and what's the other

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] y3mita:
haha two halves? I think I may have something similar! I was trying ezekeel's and I think I will flash a new kang *fresh install* and then flash Franco's Kernel since I was using it prior ezekeels and found all functions working just fine.
[Nexus S Android Development] waterface:
It contains minfree tweaks, dirty_ratio tweaks and stuff like that. And someone said

Blindly trusted franco's word, I admit it. franco's kernel must contain similar tweaks that may be "inactivated" by running those two scripts. I'm guessing, but it makes sense to me. Anyone correct me if I'm wrong- I don't mean to share false information!

Phone seems to be working just fine... just as before. I don't do benchmarks though so I don't know if it made any difference.

---------- Post added at 04:30 PM ---------- Previous post was at 04:27 PM ----------

http://xdaforums.com/showpost.php?p=19164320&postcount=1518
[Nexus S Android Development] mike216:
So 99neusunit and s97ramscript

Thanks

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] jhalmeida:
NStools

Nstools was updated on market and now works with stock rom as we have access to options! Almost perfect!!!!!
[Nexus S Android Development] mike216:
Waterface,Try to auto rotate now!

Why in the hell would 97ramscript have anything to do with auto rotate

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] al_madd:
Here my init.d contain...
[Nexus S Android Development] mike216:
Looks good to me but what theme are you using and what rom?

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] al_madd:
CM 7.1

Etoy theme
[Nexus S Android Development] 4tticuz:
Someone found out, which scripts are NOT needed from Brainmaster's MIUI?
[Nexus S Android Development] franciscofranco:
Remove that ****ing 99neusunit and S97ramscript crap yes, bunch of bull**** scripts ;)
[Nexus S Android Development] polobunny:
Juwe's gonna get insulted. :(
[Nexus S Android Development] Yusei:
After enable maxfreq, in init.d should appear the created script right?
[Nexus S Android Development] al_madd:
You enabled maxfreq using what app?

If you enabled using terminal,after reboot it will restore back..

Create file which contain script for maxfreq in init.d folder...

Or if you want try easy way..wait updates from nstools
[Nexus S Android Development] Yusei:
i've used terminal

so it's better if i creat the script?
[Nexus S Android Development] sixstringsg:
If you create the script it stays through reboots. If not, it reverts.
[Nexus S Android Development] mike216:
I removed 97ranscript and my auto rotate stopped working?

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] mike216:
Waterface does your auto rotate work with 97script gone

I know what the hell does a memory script have to do with auto rotate and my answer is I have no idea but when I got rid of it and did a reboot I lost auto rotate

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] Yusei:
after a hard research in this thread i found the post that francisco explain how to compile the script for max freq.

my last doubt about it is simple for you guys

#!/system/bin/sh

/system/xbin/echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

OR

#!/system/bin/sh

/system/xbin/echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

yes, it's a simple space line but i wanna know if we need to make "enter" between lines or not
[Nexus S Android Development] polobunny:
Changes nothing.
[Nexus S Android Development] Yusei:
OK

so finally I've made that script working :)

thanks
[Nexus S Android Development] wmdunn:
Franco ... just a short note to thank you for your work. Your kernel combined with Oxygen rom have my NS4g running fast, smooth ... absolutely amazing. I don't use any scripts and run the cpu defaults, and this device simply flies. Thanks again.
[Nexus S Android Development] mike216:
Franco what do you think about adding an OTB usb host mod I'm your kernel, you can connect usb flash drives and other usb things? Seems really neat,just watching a video by zedomax on YouTube and thought it would be good for us NS people who dont have an external drive

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 105
[Nexus S Android Development] stojshic:
In my nstools idle, deep idle (top=on) and (top=off) is all 0.is that normal or am I missing something? Anything I could find is to put min freq to 400,but its the same... Sorry for n00b question. I'm new to all this
[Nexus S Android Development] brainmaster:
You are on my MIUI ROM. No need to delete any of the scripts when you use Francos kernel on my ROM.

Both versions - CFS and BFS are working fine, I tested both of them for few days. But I'm back on Trinity TUV10.

So, before you delete any of the my scripts and then come over in my thread asking for help if something don't work, please reconsider that.

So, once again - no need to delete any of the original scripts from my MIUI ROM when installing Franco's kernel.
[Nexus S Android Development] ro_explorer:
You will make franco mad and he will create a special kernel to brick your phone if you will continue to ask questions already answered in the OP.
[Nexus S Android Development] kalinusa:
I have noticed an interesting issue. Please help.

At work when the WIFI is ON the phone cannot get into DEEP IDLE.

I tried this with CM Nightly Latest and also Brainmaster's MIUI

when WIFI IS ON, the PROCESSOR lingers in the lowest frequence

The moment I turn OFF the WiFi then DEEP IDLE happens.

Interestingly, this only happens at my work WIFI not at my home WIFI.

Any suggestions? I installed Brainmaster's MIUI because I thought it was CM Nightly Issue but i guess not.

I have not opened a single app and it is doing this. But only at work.
[Nexus S Android Development] XxSilent22xX:
Ok well I narrowed down my problem which i thought i had fixed with my phone staying at 800mhzbut I guess not it seems that using setcpu performance govener is the reason but setting to lazy "solves" this. I have deleted a init.d script with a ram optimize.

Sent from my Nexus S
[Nexus S Android Development] Sputnikk23:
here you go you lazy ****:

(from the very first post in the thread you typed that in! It would have taken less time to browse to the first page than type up your question).

And I thought my ex-soviet comrades were smarter then that..

3 November

* Idle_stats show 0 in every field - don't worry about that, it happens because of my cpu_idle 3.1 backport, but I assure you deep idle is working. Again I'm not answering questions like "WHY IS IDLE STATS 0?!?!? HALP PLZ".

P.S. Meant in the friendliest way possible ;) :D
[Nexus S Android Development] franciscofranco:
Exactly, like I said if none of the scripts contain what I mentioned there is no need for deletion.
[Nexus S Android Development] ro_explorer:
Is this a new polite way of "talking" ?
[Nexus S Android Development] stojshic:
Oh, well I knew about that, I just thought it was fixed in the meantime, because I saw somewhere a screenshot with filled idle field. Probably read it in some other thread...
[Nexus S Android Development] Sputnikk23:
In mother russia... yes :)

do you understand the term facetious? How hostile could I have really been if I actually provided the answer?

Edit: on a more serious note, how hard would it be to get the OC freqs back :) I just want to see how fast a quadrant I can get. HEHEHE. Highest has been 5020 something.

This is awesome though man. At 880/110, its as smooth if not smoother with a simple 1.2 regular overclock. I was getting bootloops at first (see the 4g thread) but so glad I took the time to figure it out. Thank you.
[Nexus S Android Development] waterface:
Sorry bud, just got back. My phone auto-rotates just fine. But I noticed that the traffic light outside my house, at the intersection on the corner - I can see it from my window - started flashing red-green-yellow several times, real fast, every couple of minutes.

Any ideas about why this happens, franco? Maybe it's connected to the fact that deep idle stats are showing zeroes- also meant to ask you why that is
[Nexus S Android Development] ro_explorer:
We are practically neighbors :) so I understand that kind of talking ... it is just unappropriated to be used in public forums ... just my thoughts here.
[Nexus S Android Development] mike216:
Thanks,I've been stressed out lately but this made me laugh so thanks

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 110
[Nexus S Android Development] Sputnikk23:
in comparison to a flurry of other posts on xda, i chalk it up to friendly banter. :)

anyway. lets not hijack this thread. this kernels F"N AWESOME.

EDIT: see above. that guys cool. ;)
[Nexus S Android Development] mike216:
Not very hard at all if you for to the market and grab nstools! Use that to control your OC and your voltages to go along with your OC

Sent from my I9020T NSCOLLAB + FRANCO'S 08 BEAST LIVEOC 110
[Nexus S Android Development] Yusei:
There is any thing to chck if maxfreq is enable?

strange, but witout touch my phone is having batt drain, 128ma, when the normal is 2ma when stand by
[Nexus S Android Development] polobunny:
You can check the enabled/disabled status with

cat /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq

but since you enabled it with a init.d script, I'd believe it's enabled.

From my tests, maxfreq gave me a bigger drain when absolutely idle but a lesser drain when doing screen off tasks (listening to music for example)

To each his own though. :)
[Nexus S Android Development] ro_explorer:
Ok .. this is of great value to me.

Please put here numbers: how much battery drain in stand-by compared with non-max-freq.

How much less drain doing stuff with screen off compared with non-max.freq ?

Something like ... xx% per YY hours would be fine.
[Nexus S Android Development] Yusei:
So, i barely use my phone for tasks with screen off, may be isn't good idea maxfreq
[Nexus S Android Development] Ezekeel:
In Soviet Russia, kernel installs you! :D
[Nexus S Android Development] waterface:
http://xdaforums.com/showpost.php?p=19047780&postcount=1131

a few scripts including ones to activate, deactivate and test screenoff_maxfreq. Quicker than having to type in the terminal emulator.
[Nexus S Android Development] Sputnikk23:
YES!! YES!!! YES!!! (While pounding fist on the table)

I LITERALLY ROFLED!!. .

HAHAHA...

Edit: Just had something weird happen. Wifi wouldn't work anymore even after on/off and removing/readding network. It would find SSID but not grab IP (at work, i'm the IT admin. DHCP, access point are all fine). Reboot fixed it. *gulp*. can't have that happen often.

---------- Post added at 03:03 PM ---------- Previous post was at 02:51 PM ----------

You are correct good sir, however I was referring to something slightly different.

From OP thread: Overclock frequencies removed. The device is fast enough with 1000,800,400,200 and 100 frequencies. If you want to overclock use Live OC, it's enough to make it fly

I was referring to those base OC frequencies. Not the FSB OC that multiplies the base (thats what I understand to be happening? i've overclocked PCs in my day).
[Nexus S Android Development] Krishath:
Just a note with the new kernel (BFS version): I noticed that now there's a little INPUT lag. Everything's smooth and fine but I can't understand why now it's a little bit laggy...

Hope this helps! :)

-------------

EDIT

------------

Nope after some reboot and a cache/dalvik wipe, everything's good.

Franco you're doing a GREAT work! :D
[Nexus S Android Development] skinniezinho:
Ahahah, In Soviet Russia Kernels Make Lada Nivas GO FAST :D

Sorry for the OT, I had a Lada Niva and loved that thing!

About 08/11,runing fine here!
[Nexus S Android Development] polobunny:
Try it though, and wait a few "full" charge cycles (5 or so) before deciding. I always get so-so charge on the first day after installing a kernel, but it gets better over time.

And then it collapsed on you. :P
[Nexus S Android Development] Yusei:
i know you skinie :)

back ontopic

I've undervolt a little bit to watch batt drain, and, it continue to eat my batt.
[Nexus S Android Development] waterface:
Enable/disable it accordingly. Get those little scripts from my post.
[Nexus S Android Development] y3mita:
Franco can't thank you enough for making ezekeel's mods work so smooth on your kernel! Everything works awesomely fine!!
[Nexus S Android Development] franciscofranco:
Yes I use it with Oxygen :)

Probably caused by deep idle. Disable it and test it.
[Nexus S Android Development] bdpyo:
the govenuer? its set to 'on demand' i haent touched the built in tuner
[Nexus S Android Development] thedudejdog:
I love this kernel.

what does it take to get a special edition thedudejdog kernel build with the bln support?

Or can I add it myself somehow?

Does it hurt performance in any way?
[Nexus S Android Development] joebarkho:
With the NS4G My phone turned off once when I played music and turned off the screen.

didnt happen again.

Uh, after that, my phone stayed on the home screen, unresponsive, turn the screen on and off, it skipped the unlock process and stayed on my home screen.

Then it randomly rebooted.

Sorry, but I removed it. Also, the battery went up to 98% not 100%.

Other than that. I liked it and it was fast, but not stable for me.
[Nexus S Android Development] arshad14:
I just realized, there is one thing that doesn't work with this kernel which worked with Matr1x 8.5. Its google wallet. I used to use google wallet v5 that's available on xda and it doesn't install now, even with Dalvik Cache wipe. Is there any way to get that working here?

I'm on NSCollab 1.0.50 btw.
[Nexus S Android Development] franciscofranco:
BLN is active by default and it's working.

I have no idea, never used that app and I don't know why it could be affected, sorry :/

Small update is up in the first post - more of a bugfix release for that UV setcpu and proton bug. Should be fine now.
[Nexus S Android Development] _bryan_:
live_oc please.

Your kernel looks so cool.
[Nexus S Android Development] Realtyem:
Franco could you please detail what ext4 tweaks you use so we don't do double duty on tweak files? Sure would hate to have unexplainable conflicts that could be easily avoided. Much appreciated.:o
[Nexus S Android Development] as6:
LiveOC

LiveOC would be really nice.
[Nexus S Android Development] thedudejdog:
Huh. I must be doing something wrong. :/

Edit: I am using it on a ns4g