yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] nooney299:
+1 and it is driving me nuts
[Samsung Galaxy S (4G Model)] FBis251:
Try flashing Raver's KC1 file:

http://sourceforge.net/projects/kc1cleanup/files/hawk.zip/download

let the rom do its thing after you flash it. Let it boot up all the way, then follow my guide from step 7

EDIT

This is an Odin file so extract the zip file on your computer. Don't try to flash with CWM.
[Samsung Galaxy S (4G Model)] bswann:
OK, thanks. I will try this when i get off of work and let you know what happened.
[Samsung Galaxy S (4G Model)] LarsonJayz:
Thanks a lot... this helped me with my SD card probs... :)
[Samsung Galaxy S (4G Model)] Black-Dash:
loading the kc1 files but nothing happens, Im staying stuck on the this static-y screen

---------- Post added at 11:41 PM ---------- Previous post was at 10:51 PM ----------

got it to work now, needed the drivers installed. silly me
[Samsung Galaxy S (4G Model)] Icedorb217:
I did the KC1 steps and now i cant go back into download mode using the method I had done to get it in the first place. Please help, all that happens is I go to the battery screen and if I try to boot it goes straight into the CW recovery
[Samsung Galaxy S (4G Model)] FBis251:
How to get into download mode
[Samsung Galaxy S (4G Model)] crtjstr:
How do we get this stickied? Or better, put it in the wiki with a sticky pointed to it?

Sent from above and beyond
[Samsung Galaxy S (4G Model)] FBis251:
I think you can report it and under reason put Other non-urgent and in the message explain that you want it stickied.
[Samsung Galaxy S (4G Model)] phordych05:
This is a stupid question...but just to make sure...i have to download all these fills yo my computer and do everything from there...right...i can't do it just on my phone...right...?...lol...
[Samsung Galaxy S (4G Model)] phordych05:
This is exactly what im going through right now...for some reason...din isn't finding my files...its like they aren't there...and what is 2.3.4...?...
[Samsung Galaxy S (4G Model)] FBis251:
You'll need to be on a computer for most of this to work right.
[Samsung Galaxy S (4G Model)] hjjiang:
I can officially Thank You on this board!, thanks for your work and guide :D
[Samsung Galaxy S (4G Model)] FBis251:
No problem, just spread the word.
[Samsung Galaxy S (4G Model)] finch8423:
Used this to get my phone to gingerbread originally.... used it again yesterday after my phone went under. Thought I had a paperweight that I still hadn't paid off.

Thanks a million. Fixed everything perfectly.
[Xoom General] deiss:
Hello,

after having rooted my xoom, my SDCard in the file manager appears greayed.

Please could you help me ?

(Honeycomb V3.1)

Thanks
[EVO Shift 4G Q&A, Help & Troubleshooting] VICODAN:
GPS sucks and I think it's my phone.. GPS won't stay awake and keep the lock, needs wifi assistance and loses the lock as well. Google Maps navigation has been a nightmare.. dropped my phone too many times maybe?

With wifi assistance off:

GPS Status will get locks, up to 9 sats usually at best.

I have seen it lose locks.

When I close apps that use GPS the GPS icon disappears from the status bar.

I have seen this happen over multiple roms.

I have wiped my phone completely, no difference.

Google Maps navigation is terrible, often get "waiting on location" even before navigation and also get that my location is not available wifi on or off.

Any ideas?
[EVO Shift 4G Q&A, Help & Troubleshooting] Rooster85:
I say maybe a equipment problem, I use my GPS daily for work and it works flawlessly everytime....

Sent from my MiuiSpeedy
[EVO Shift 4G Q&A, Help & Troubleshooting] prboy1969:
+1 Going to have to agree with Rooster. If your having the same issue across multiple Roms, it's probably an equipment issue. Unless your changing the exact same thing on every Rom to affect GPS. Although this is unlikely. This is also based on that fact that I use my GPS daily. It locks in under 30 seconds everytime. I haven't touched a thing, having to do with it
[EVO Shift 4G Q&A, Help & Troubleshooting] beekersavant:
Same Problem

I have the exact same problem across multiple roms (Cyanogen and Supreme Sense). I just re-loaded the entire phone. The gps still seems a bit fishy. Did you find a solution? It did work just fantastically when I first got it.

Thanks in advance.
[Motorola Droid X2] navenedrob:
DROID X2 init.d hack

This is an alternative to a certain 2nd init functionality, because with 2nd init you could do this just as easily if you know how. This is not an init. This is for the folks running stock 2.3.3 for the Droid X2, who want to "performance tune" their phone while working with what they have. This will allow you to use any init.d performance scripts on your phone. If you don't know, an "init.d" script is special in the sense that they are run when the phone is booting up. This way, when you are using your phone, you can enjoy performance benefits.

The "hack" runs the BusyBox "run-parts" binary and searches the /system/etc/init.d directory for scripts. Additionally, if for whatever reason you don't have BusyBox, it will fall back to a for loop and run that instead! This functionality is added through "install-recovery.sh" script in /system/etc which is run every time the phone boots by default. Normally this script tries to install the default recovery every time you boot your phone, so that you can't install any other recovery. I've hijacked that script for the init.d task instead. As is common practice, any script actions can be viewed in your logcat upon boot if you have USB debugging enabled.

This hack includes default enhancement scripts (outlined below). You can choose to use these scripts, or delete them and replace them with whatever you want. I would advise against running the default scripts with other tweak scripts!

Requirements:

Root - follow the guides

Bootstrap Recovery - follow the guides

Knowledge of CWMR/Bootstrap Recovery use, and how to install a zip with it

Default Enhancements:

sysctl tweaks - try to speed up OS/virtual machine/kernel

lowmem tweaks - try to limit low memory so as to keep more memory available

sd read ahead - increase KB read ahead on SD reads

cpu/governor tweaks - set scaling_min/max_freq and governor

disk scheduler - optimize disk scheduler for flash memory across all blocks

---

Changelog

0.1

Initial release to public

0.2

Tweaked scheduler and send errors to null

0.3

Fixed scheduler bug

Added additional scheduler tweaks

Changed min_free_kbytes to 32mb

Changed bdi read_ahead_kb to 2048kb

Added system r/w mount

Added sync

0.4

Added quantum to scheduler tweak

Switch to noop scheduler

Added conditionals

Change CPU tweak to support cpu1

Change scaling_min to proper freq

0.5

Split script into 3 versions

Battery - most power savings

Midrange - balanced power savings/performance

Performance - all out speed

0.6

Combined script back into one generic version

Includes separate scripts for all purposes

Enhances prior scripts functionality

Rewrote init.d hook to work in all scenarios

Included BusyBox 1.19 with installation

0.6b

Updated script to fix unique error

---

Version 0.6b FINAL

Download: http://www.multiupload.com/FI1D93TV6Y

Mirror: http://www.mediafire.com/?71geufr3754j6be
[Motorola Droid X2] EvoRocker:
amazing! should usher in a ton more dev for the X2
[Motorola Droid X2] garywojdan81:
Great to hear from you again navenedrob! Loved your work on the fascinate.
[Motorola Droid X2] 3UR0TR45H:
Will this have any ill effects with the eclipse rom?
[Motorola Droid X2] Kanibull:
Its for stock roms as stated in the 1st post
[Motorola Droid X2] garywojdan81:
Getting ready to run this but just want to clarify:

Install like any other. zip?

Use script manager to tweak values?

How to revert, if necessary?

Remove v6 supercharger before installing?

Thanks again.
[Motorola Droid X2] navenedrob:
Yes

Yes

Delete scripts from /system/etc/init.d, that's it

Optional
[Motorola Droid X2] navenedrob:
You can use this on Eclipse ROM. That is a stock ROM. A non-stock ROM would be a stock ROM with this or 2nd init already included, CM7, or MIUI.
[Motorola Droid X2] garywojdan81:
Thanks man. Gonna load it as soon as I get back home.
[Motorola Droid X2] ashclepdia:
Would using this allow zepplelinrox's 98kickasskernel to work as it should?
[Motorola Droid X2] 3UR0TR45H:
So are these scripts already optimized or are they stock values waiting to be tweaked? Is there some kind of guide as to exactly what the numbers mean or could you recommend some? Thanks!
[Motorola Droid X2] zeppelinrox:
Wow, yeah it should indeed.

This should be posted at droidforums and droidxforums!
[Motorola Droid X2] 0vermind:
I have a few questions.

Using Script Manager I had to modify/change most of my scripts because Script Manager would try to run them and simply state there were syntax errors, which was simply not the case because on my oringial droid I could verify they would run using init.d and they would work.

So my question there is what's with the syntax error in script manager, and will my original scripts work? Second, are these automatically run as root...or?
[Motorola Droid X2] ashclepdia:
If it hasn't already been done by the time im done eating ill get to linking up to share the goodness. Thanks for quick reply zepp.
[Motorola Droid X2] zeppelinrox:
Good stuff...

I know for a fact that they will be all over this like brown on poo at droidx... :D

Which busybox version?
[Motorola Droid X2] ericerk:
That Rom you where talking about

What kind of Rom would it be, would be an aosp?
[Motorola Droid X2] 0vermind:
v1.19.0.git.adrynalyne

Installed in /system/xbin
[Motorola Droid X2] navenedrob:
I'm not sure what Script Manager is, so I can't really answer. All I can say is that I write all my scripts by hand, and they are all common shell scripts using bash language. As long as your shell scripts are written according to those specs, then I don't think you'd have any problems.

Anyone else, remember that you can use whatever init.d scripts you want, it shouldn't really matter as long as they somewhat pertain to the phone. Feel free to delete the included scripts.
[Motorola Droid X2] 0vermind:
Okay I set it all up and none of the scripts ran, so I did

/system/xbin/run-parts /system/etc/init.d > /data/initd.log

in adb and got back

What am I doing wrong?
[Motorola Droid X2] 0vermind:
After many hours of screwing around, I figured out how to get around your busybox run-parts thing which doesn't seem to be working on my phone. In it's place I put:

if [ -e /system/etc/init.d ]
list=`ls /system/etc/init.d/*`
for script in $list
do
sh $script
done
fi

Everything is working awesome now!! :D They really do seem to be running at start up!
[Motorola Droid X2] cash_back:
Awesome work, I have an error in the third script though. I installed the zip and loaded the first two scripts perfectly, but when i go to load the third script i get some of it works but I get

sysctl: error : 'kenel.sched_latency_ns' is an unknown key

sysctl: error : 'kenel.sched_wakeup_granularity_ns' is an unknown key

sysctl: error : 'kenel.sched_min_granularity_ns' is an unknown key

sysctl: error : 'kenel.sched_features' is an unknown key

sysctl: error : 'kenel.sched_compat_yield' is an unknown key

sysctl: error : 'kenel.sched_child_runs_first' is an unknown key

changed it to kernel and it works.
[Motorola Droid X2] zeppelinrox:
Try busybox 1.18.2 or lower ;)
[Motorola Droid X2] garywojdan81:
Just a some quick follow-up questions: Do I need to use script manager to run these scripts or does the presence of the init.d folder accomplish that?

I installed the .zip & busybox 1.18.2 & set up script manager to run them as root & at boot, just like the v6 setup. Is that the right way or have I overcomplicated things?

Edit: Answered my questions with a little more research but any additional insight is greatly appreciated.
[Motorola Droid X2] themoneyman:
After editing the script to correct the word "kernel" in the 02sysctl script, everything executes perfectly. Even though Quadrant scores are not the best indication of a devices performance, I do use it for simple comparisons of changes. My scores increased from an average of 2,700 to about 3,000. Great work on helping to fine tune this X2 beast. There are great things coming from the work all of the devs are doing and the feedback from the community helping them.
[Motorola Droid X2] 0vermind:
Check your spelling. ;)
[Motorola Droid X2] cash_back:
I already did fix it, the spelling wasn't me either that's how the script was so everyone is probably going to have to change it.
[Motorola Droid X2] garywojdan81:
Yep
[Motorola Droid X2] Mr_GreenJeans:
Anyone using these scripts now come from script manager and zeppelins scripts? Curious as to how they compair? Also wondering if the hack in combination with zeppelins scripts would eliminate the need for setting 99supercharger and 98kickasskernel to run @ boot in script manager?
[Motorola Droid X2] garywojdan81:
It almost seems like the hack will run any script that's in init.d at boot so if the scripts from zeppelin are in there...

Please correct me if I'm wrong.

Update: Zeppelin's scripts run just fine in conjunction with this hack. I just loaded the 3g v.2 & the latest (safe) kernel script with script manager set to run as root & at boot. Noticeable boost in 3g speed for me & performance seems smoother with an increase in both quadrant & smartbench scores. Since all the scripts, but the 3g one, load into init.d they should all run thru the hack but w/o script manager I think you lose the ability to tweak the v6 script, don't you?
[Motorola Droid X2] navenedrob:
Sorry for the typo's :p, was in a hurry when I put it together. Going to upload an update in a few minutes with that fixed, and some additional tweaks added to the default script. If you are one of the folks who use this as it comes, then this will be of benefit to you, so flash the update. Otherwise, if you have deleted the default scripts and added your own, then this update isn't necessarily needed.\

EDIT: Updated
[Motorola Droid X2] cash_back:
Nice, I noticed an improvement in some benchmarks after updating to the new version. And memory management looks good, got about 225mb of free ram on startup.
[Motorola Droid X2] zeppelinrox:
You can still use script manager to tweak it as always.

You just don't need SM to load 99supercharger at boot is all.

btw, since you are now able to load the kernel script before android is loaded, the kernel script WITH io schedular may now work without issue.

I get the feeling that problems happen with io scheduling tweaks if android is already running.

So if you're feeling adventurous, I'd be curious to know if I'm right about this:

io scheduler tweaking = dangerous if SM loads KAK script on boot

io scheduler tweaking = safe if loaded normally via rom's built-in init.d support.
[Motorola Droid X2] Mr_GreenJeans:
I am curious my 99supercharger.sh is located in /data/

My 98turbocharger.sh is located in /ect/init.d/

This hack will allow things in /ect/init.d/ to load when the phone boots up? Do I need to move 99supercharger.sh to the same directory as 98turbocharger to eliminate the need for SM to load them on boot? I was also curious to see is the three script tweaks included with the hack were similar to yours, and/or how they compared?
[Motorola Droid X2] slowz3r:
all that needs to be done is flashing the .zip. no other configuration is needed?
[Motorola Droid X2] zeppelinrox:
I didnt see the 3 scripts that were included.

There was 1 file in the updated zip though...

I notice that it has io scheduler tweaking... I'm guessing that it works fine so maybe the regular KAK script with io scheduler should work...

Anyway, you can re-run the supercharger and it will install automatically to init.d
[Motorola Droid X2] Mr_GreenJeans:
Sorry missed the update in the OP

Thanks for the info. Guess I should give it a go. Better make sure I get the new updated download. I think I have the older one with 3 separate scripts.
[Motorola Droid X2] donlad:
I have flashed the zip.

I am wondering if it's true that I'm able to move 99SuperCharger.sh from /data/ to /system/etc/init.d and it will run like normal and I will no longer require that Script Manager run at boot?

EDIT: So, I just went ahead and moved 99SuperCharger.sh and everything was fine... and then I read somewhere that zeppelinrox's kickass kernel script would run now that we have access to /system/etc/init.d and I went ahead and installed the 3GSuperCharger and the kickass kernel v2 (not the safe one)...and now the phone bootloops. Is there a way I can remove the 98kickasskernel file from /system/etc/init.d without having to do an SBF? I have ADB and the phone's neccessary adb drivers and the such installed. Any ideas?

EDIT 2: I forgot to mention that the 3 scripts I have in /system/etc/init.d are "S00tweaks", "99SuperCharger.sh" and "98kickasskernel". I just want to remove 98kickasskernel so it will stop bootlooping.
[Motorola Droid X2] navenedrob:
You will have to SBF, sorry. Make sure you know what the scripts do before you go and place then in init.d. Mixing and matching scripts without knowing what they do or what settings they are setting is a breeding ground for problems.
[Motorola Droid X2] navenedrob:
Today I will release an update to the hack, and also release a separate download with a modded build.prop specifically for our phone that will include all the supercharger fixes and the 3g speed fixes. This way you won't have to fiddle with multiple scripts in init.d.
[Motorola Droid X2] zeppelinrox:
If you can somehow delete 98kickasskernel without booting up that would fix it.

You should be able to somehow access the phone's storage via usb connection to the computer and use a tool such as qtadb.
[Motorola Droid X2] donlad:
Thanks, I did so.

This sounds great. Thanks!

I was unable to find a way to adb into my phone without it booting up. I went through each and every option after holding down Vol Down and Power, and nothing worked.
[Motorola Droid X2] X0dus:
How would I be able to tell if these scripts flashed correctly? And thanks, Naven. I enjoyed your work with the Fassy.
[Motorola Droid X2] slowz3r:
after flashing these, is there anything that you gotta do or is it just "plug and play"
[Motorola Droid X2] booked:
I did the exact same thing and my phone started to boot loop. I plugged it into the wall charger and went into recovery. I didnt have a nandroid backup so I just reinstalled the eclipse 2.2 rom without wiping anything and it booted right back up with no issues at all.
[Motorola Droid X2] booked:
I noticed that the 3g turbocharger script was working because my speed went from about 500k to over 1900k.
[Motorola Droid X2] Xeno62277:
Maybe I did something wrong, but I checked the SD card settings after installing the .zip, rebooting, and they were still set at 128. I ran the script through a script manager and it bumped it up to 4096. The script doesn't appear to be running at boot.

Seemed pretty simple... copy the .zip to my sdcard-ext, reboot in recovery, install the .zip, and reboot. Did I do something wrong here?
[Motorola Droid X2] navenedrob:
I'm not really sure, but check the load_pia.sh script /system/bin and look for the hack near the bottom of the script. If you don't see an init.d hack then for whatever reason the zip didn't install right (for whatever reason, though this shouldn't be possible). Due to everyone's setup being different it's hard to say what happened.
[Motorola Droid X2] Xeno62277:
I reinstalled the .zip and it is running on boot now. Weird that it didn't take the first time.

THANKS!
[Motorola Droid X2] Mr_GreenJeans:
I installed with BSR(clockworkmod) checked /system/bin and the "run-parts /system/ect/init.d" is there but when I go to sdspeed increase it is still showing 128. This did however change my minifrees, verified with zepps script to view current/previous setting. zepps script also shows launcher as weak. Changed my minfrees to 8,12,24,60,70,80. not sure how this will compair to the 6,12,82,89,97,125 I was running using v6supercharger. Am i correct to assume that if i want to change these values I can edit them within the script?
[Motorola Droid X2] navenedrob:
That's correct.
[Motorola Droid X2] Mr_GreenJeans:
I also tried reinstalling it but no change. running the script through script manager did change sd value to 4096 but after rebooting they are back to 128. not sure what the problem is, minifrees are changing so at least part of the script seems to be running for me?

***Uninstalled sd speed increase, then re-installed this hack, rebooted, installed sp speed increase to check setting and 4096 in set. Guess something in previous settings with speed increase was preventing the changes from sticking. Is there anyway to make the launcher hard to kill like there was in zeppelinrox's v6supercharger.
[Motorola Droid X2] navenedrob:
Use the X2 build.prop, modify the ro.HOME_APP_ADJ=1 setting to ro.HOME_APP_ADJ=0.
[Motorola Droid X2] Mr_GreenJeans:
Just curious do I need to change both sets of #'s or just the second set to change minifrees with this script. sorry for the 20 questions. I am trying to find out how to change to my previous settings of 6,12,82,89,97,125, for comparison purposes.
[Motorola Droid X2] navenedrob:
Updated the hack. This new method changes the script used to initiate the hack. This new script is much better suited for the task. By using this new hack method we kill patching boot/recovery every time the phone starts for a tiny extra kick of speed while still retaining the hack and not modding default OS scripts.
[Motorola Droid X2] Mr_GreenJeans:
tried to replace 2048,3072,6144,15360,17920,20480 in the script with the numbers from my previous changes. (1536,3072,20992,22784,24832,32000) but after rebooting my minfrees went from 8,12,24,60,70,80 back to stock GB (12,18,36,82.0312,89.8438,97.6562) I must have missed a step in here somewhere.
[Motorola Droid X2] garywojdan81:
Hey navenedrob, just wanted to pass on how much I appreciate your work here. Your scripts have greatly improved the performance of the stock rom. In fact, the combination of your latest build.prop & init.d hack have eliminated the need for anything else for me at least. I haven't even had any audio skips or pops since loading them or any redraws.
[Motorola Droid X2] mistawolfe:
Naven:

Can you post the old version that was updated on 8/19/11? Seemed to run much better on my phone. Getting redraws and lag with the new one - launcher is bulletproofed.

Thanks
[Motorola Droid X2] navenedrob:
Need more info than this. Upload a logcat so I can check the contents
[Motorola Droid X2] mistawolfe:
Wasn't knocking on the tweak or anything, just preferred how my phone ran on the old one. I can try a logcat when I get to work. Just getting lots of redraws and pauses when I hit my home button.
[Motorola Droid X2] navenedrob:
None of the settings changed, just the method in which it loads the settings. Just interested to see if it isn't loading the settings right. Going to check it out on my phone.
[Motorola Droid X2] navenedrob:
Deleted all the files on my phone. Then reinstalled the script and rebooted. Everything posted to logcat OK, so the hack does work fine, in fact, the same as before. However, I have added some additional statements to echo in logcat when the script runs, and also sent errors to null so that the scheduler tweak doesn't flood your logcat when it runs. You can find the new version updated in the OP.
[Motorola Droid X2] 0vermind:
Does this mean we can hijack the install-recovery script and replace it with our own clockwork mod recovery??!
[Motorola Droid X2] Alucard103:
I love this hack. Thanks so much. This is my first time rooting an I am learning more everyday. I now understand the terminology and can edit values easily. Thank you all.
[Motorola Droid X2] navenedrob:
Unfortunately no, we can't :( The bootloader is locked and so we can't flash anything because of that. That's why it is so important that we unlock it. One day :rolleyes:
[Motorola Droid X2] mattfox27:
Does this script still set the cpu to minimum 500mhz? When i run script i see in system panel my mhz fall under 300.