yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] jermaine151:
Yes, you should be able to use setCPU to set profiles up. I wouldn't restore it with Titanium, but rather get the newest version from here or the market.

With the OTA leak kernel, I think you will need the disable perflock module. With Nils' rom, that should be as easy as flashing the zip file from the loadable modules thread. You can test if it worked by booting after flashing the modules, loading up SetCPU and verifying that you have a choice of the smartass governor in the list (You don't have to choose that governor, but if it's listed it proves the modules loaded). Then set up profiles as usual.
[Droid Incredible Android Development] bikercr:
Yes. I figured that out but couldn't access smartass, only on demand.

From my Droid Incredible running Nils BusinessSense 3.0...
[Droid Incredible Android Development] jermaine151:
Did you flash the loadable modules zip file? Can you verify that in your /system/lib/modules folder you have a file called: cpufreq_smartass.ko ?
[Droid Incredible Android Development] hgoldner:
On this ROM, ran the flashable modules from that thread and I see in that folder the smartass and conservative governors (i.e., the "ko" files), but I don't see it in SetCPU. Not really important to me, frankly, and I notice that SetCPU no longer crashes on boot, as it did initially when I switched to Nils' GingerSense ROM's several months ago, but I'm just wondering whether it (i.e. SetCPU) really is doing anything now that I have it set to perflock disable and start on boot, and created the profiles I used under Froyo.

The only governors SetCPU shows are: ondemand; performance; userspace.

Any way to tell that it's underclocking when I want it to?

And..... is there a script I should have used for the init.d?
[Droid Incredible Android Development] jermaine151:
Ok. i had the same issue with the governors not showing up. The problem is that the script that loads them doesn't have the permissions to run. Run this either from adb shell or in the terminal emulator on the phone (free from market)

# chmod 755 /system/etc/init.d/*

and then reboot.

That should fix it unless Nils' rom doesn't load init.d scripts.
[Droid Incredible Android Development] bikercr:
Using TE, I get the error message "no such file or directory exists"
[Droid Incredible Android Development] bikercr:
Using TE, I get the error message "no such file or directory"
[Droid Incredible Android Development] bikercr:
I should add, I'm using Nils' ROM with the OTA kernel he posted. I ran the OTA module but no Smartass
[Droid Incredible Android Development] jermaine151:
Ok, what about this:

# chmod 755 /system/etc/init.d/00cpufreq_modules

I'm not sure if the new boot.img disables loading init.d scripts or not. It's worth a shot.
[Droid Incredible Android Development] bikercr:
That registered via terminal emulator, but on reboot, no change in setCPU. On demand, Performance and UserSpace are the only modules available. However, my battery is lasting way longer with the OTA kernel and a screen off profile via setCPU. Why do you think smartass is unavailable?
[Droid Incredible Android Development] jermaine151:
I don't think his rom his running the init.d scripts. You can do it manually (won't stick after a reboot) by running this from your TE:

# insmod /system/lib/modules/cpufreq_smartass.ko

Then you should be able to choose it.
[Droid Incredible Android Development] cmckee.cna:
So Nilsp, you said don't use 3g hot spot, it will break your wifi, what about wifitether?
[Droid Incredible Android Development] NilsP:
Hmmm, I don't think I said that but I like Tether better
[Droid Incredible Android Development] hgoldner:
Genuinely surprised that you say the ROM doesn't run init.d scripts. I thought he's using Juwe's memory management script in init.d.

I can run from TE, but I figure there's got to be a way to script it. Tasker?

Nils?

EDIT: Looking at the init.d, I see 2 scripts starting 00 including the one for the modules. The other is 00zombiesbegone. What if I rename one as 01?
[Droid Incredible Android Development] jermaine151:
I don't think changing the 00 will matter. This is the definitive way to tell if init.d support is enabled. From adb shell or terminal emulator run:

# cd /
# cat init.rc |grep init.d

The output if init.d (busybox run-parts) is enabled:

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d

If it comes back blank, it hasn't been added into the ramdisk on the rom.
[Droid Incredible Android Development] jeffgman:
I just did that command running the ota rom from incubus and it comes back with what you show above. So, the ota kernel does run init.d correctly. Now, I am off to load up the modules and see how this works.

Jeff
[Droid Incredible Android Development] hgoldner:
And I ran it through TE on this ROM with the OTA kernel and got no response from TE, leading me to conclude I'm SOL for now.

However, I do now have SetCPU running again, and that's worth something.
[Droid Incredible Android Development] jermaine151:
Don't forget, you can load smartass manually and then choose it in SetCPU. Run the command in my post here to do that.
[Droid Incredible Android Development] rboddy:
So if I don't want to do all this SetCPU stuff since I don't really care about it much, is it still worth it to run that OTA kernel? I see one person said they noticed snappier response, what about everyone else?
[Droid Incredible Android Development] g00gl3:
FWIW, my personal experience with the OTA kernel was not positive.

While there was no blaring issues, I did have intermitten issues with touch responsiveness.

The screen would be unresponsive for periods and then just start working again.

I also noticed a tad bit more lag in general.

These were symptoms that I did not have before the OTA kernel was applied.

Again, it wasn't a huge impact, but I still went back to a restore.

*Your results may vary. So don't just take my word for it...
[Droid Incredible Android Development] bikercr:
I have to disagree. The OTA kernel has been working perfectly for me. My device is snappier, no screen issues, quicker WiFi connections and more bars (maybe this is just a kernel setting and not better reception). I gave up trying to enable smartass but am using setCPU with custom settings for screen off. My battery life is WAY better now. I'm using the 11.19 radio which gives the best reception for my area (Western Mass.).
[Droid Incredible Android Development] hgoldner:
+1 to the above. Despite apparently loading the governors via Tiny's modules and not being able to activate them, being able to run SetCPU again has resulted in my leaving the handset off charger now for far longer periods of time for the first time since I flashed a Gingerbread ROM on it.

Nils' Business GingerSense like I always knew it could be....
[Droid Incredible Android Development] jermaine151:
Hey folks, this is the same flashable OTA kernel and wifi module, that NilsP posted, with init.d (start-up scripts) support added:

Corrected OTA Kernel Link

MD5 Hash: 09cf4604fd1a8f92326d36936f0a3ec8
[Droid Incredible Android Development] hgoldner:
Pardon my incredulity (I *really* want to flash this), but isn't Chad's Incredikernel 38.8 AOSP only? And this works on Nils' Sense ROM? That would be, uh, well, incredible.

EDIT: And if it's Chad's kernel, does it restore multi-touch (5+) functionality to the screen?
[Droid Incredible Android Development] jermaine151:
Ooopsss!!! I uploaded the wrong zip. My bad. One sec.
[Droid Incredible Android Development] jermaine151:
I have uploaded the correct kernel. Sorry.
[Droid Incredible Android Development] NilsP:
You mind if I use this in my next releases.

Didn't even think to check if init.d was working and answers why I was not getting the ram management I expected.
[Droid Incredible Android Development] jermaine151:
Of course I don't mind. :)
[Droid Incredible Android Development] hgoldner:
I appreciate Jermaine's efforts. I flashed this kernel and my "about software" says the kernel is 2.6.35.10-g5e15ac4 htc-kernel@and18-2 #1 Mon Jul 18 19:36:11 CST 2011.

Flashing the kernel erased all of the modules but one in \system\lib\modules, so I reflashed them, and see the script in the init.d.

That having been said, the modules (smartass and conservative) *still* don't appear in SetCPU, and, (and this is the part that is simply bizarre), suddenly the ROM is blazingly fast. It's as if I dropped a six cylinder engine into a four cynlinder car. Definitely not a placebo effect; I didn't expect anything to really change and I was astonished at the responsiveness. I should also mention I have Perflock disabled.
[Droid Incredible Android Development] jermaine151:
Please paste the results of:

ls -l /system/etc/init.d/
[Droid Incredible Android Development] jermaine151:
Sounds like the folder is misnamed or something. If there was a directory, the contents would be listed with that command. I've clogged Nils' thread up enough with the troubleshooting. If you can't figure it out and still want to, PM me and we can see what the issue is.
[Droid Incredible Android Development] NilsP:
Keep going. Important stuff

And the folder is correct
[Droid Incredible Android Development] AJGO23:
I can't get the link to the non 3D version to work. I've tried different browsers and it doesn't download. With Chrome I get an error message and with Firefox it just stalls. Any ideas?
[Droid Incredible Android Development] SlimSnoopOS:
Weird, I just tested it and link stalls on mine too. I'm sure Nils will get that straightened out when he sees your post.

edit: Both links are down Nils.
[Droid Incredible Android Development] hgoldner:
OK, I will go on. Thought I PM'ed Jermaine, but can't see the message in my outbox.

I first flashed the OTA kernel (after wiping cache/dalvik). I next flashed Tiny's modules. I next flashed Jermaine's correct kernel (after wiping cache/dalvik), which revealed that the modules were now missing, and I reflashed them.

Perflock is disabled within SetCPU, SetCPU loads on boot, and I have 3 governors: usermode; ondemand and performance. In the modules directory, however, are also conservative and smartass.

Finally, note that SetCPU loads very shortly after the system appears to mount the SD card, so I killed the SetCPU process, ensured that the SD card was mounted, and reloaded SetCPU. It still doesn't pick up the other governors.

I re-ran Jermaine's TE commands (this time -1, not -I or -| and a space before the directory name) and got the following read out of all the files in init.d:

-rwxrwxrwx system sdcard_rw 10 07 2011-08-19 15:08 S97ramscript

-rwxrwxrwx root root 121 2008-08-01 08:00 99complete

-rwxr-xr-x root shell 421 2008-08-01 08:00 00zombies-b-gone

-rxwrxwrxw root root 1848 2008-08-01 08:00 00cpufreq_modules
[Droid Incredible Android Development] jermaine151:
Ok Bud. My command was ls -l (as in lowercase L) which means long listing. Your files seem to have the wrong owner. Let me get the command you need. I got your PM and just replied because I just got home from work. One sec.
[Droid Incredible Android Development] jermaine151:
After rethinking it, those scripts should still run with the wrong owner because "everyone" has execute permissions on them. We can change them just to make sure. I can tell just by the owner, that you copied the S97 ram script from your sdcard and then must've changed permissions on it. I want to make sure that your modules have the right permissions.

Before we start, use root explorer to go into /system and hit the button (top right) to change it to RW

Just verify that the results of this command looks like mine:

# cd /system/lib/modules

# ls -l (The -l is lowercase L)

ls -l

-rw-r--r-- root root 202879 2008-08-01 08:00 tun.ko

-rw-r--r-- root root 3520 2008-08-01 08:00 perflock_disable.ko

-rw-r--r-- root root 737884 2008-08-01 08:00 jbd2.ko

-rw-r--r-- root root 3035807 2008-08-01 08:00 ext4.ko

-rw-r--r-- root root 78737 2008-08-01 08:00 cpufreq_smartass.ko

-rw-r--r-- root root 90737 2008-08-01 08:00 cpufreq_conservative.ko

-rw-r--r-- root root 288823 2008-08-01 08:00 bcm4329.ko

#

If yours have the rw-r--r correct, skip the next command. Otherwise do:

# chmod 644 *

Then

# cd /system/etc/init.d

# chown 0:0 *

# chmod 755 *

Then do another ls -l and make sure each file has this in front of it:

-rwxr-xr-x root shell

Then reboot
[Droid Incredible Android Development] hgoldner:
Jermaine -

Did all that. My readout looks exactly the same... Still no governors. Even stopped and restarted SetCPU.

Query, should I be flashing other than the OTA modules?
[Droid Incredible Android Development] jermaine151:
Then it should definitely work. That is soooo confusing. 2 more things to try. We can make sure that the kernel you booted has the init.d working (it should because it's from my rom).

# cat /init.rc |grep init.d (the | is the pipe symbol)

that shouldn't come back blank. If it does, let me know. Next let's manually load the module and check SetCPU to see if it shows up:

# insmod /system/lib/modules/cpufreq_smartass.ko

Let me know if you get any errors running that. If you don't, it should show up in SetCPU.
[Droid Incredible Android Development] NilsP:
Jermaine. I don't know if you noticed that the zip you uploaded apparently was from the wrong version of mine since it does not have the RAM Disk fix for WiFi. It is executing the init.d but WiFi breaks waiting for ip address. That was the problem with the OTA version because it was missing the RAM Disk.

If you need the working WiFi boot image without the init.d I can upload it for you.
[Droid Incredible Android Development] NilsP:
Links look fine now.
[Droid Incredible Android Development] hgoldner:
Step 1 yielded the following:

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d

Step 2 yielded:

"Failed (exec format error)"
[Droid Incredible Android Development] jermaine151:
Darn Nils. I thought I grabbed the latest one you had posted. I probably should've checked the OP. Can you take your good one and copy in my boot.img and see if the modules load for you?
[Droid Incredible Android Development] hgoldner:
Pretty funny. Haven't been on wifi all day until recently when I couldn't get an IP address. Have we stumbled on the solution?
[Droid Incredible Android Development] tiny4579:
Can you post the output from lsmod from either terminal emulator or adb shell?

Also post the output from /etc/init.d/00cpufreq_modules.

If you get exec format error then it's probably the modules for the wrong kernel. If the kernel version is the 2.6.35.10-g5e15ac4 then use the OTA modules, otherwise use the other zip file.
[Droid Incredible Android Development] NilsP:
Yes, it loads the modules.

The one you posted does run init.d but breaks WiFi. Here is mine that works for WiFi but without your init.d update. Now if we can add your init.d to this one we should be golden.

2.1 Kernel WiFi no init.d

This is the same as what is in v2.1 of 3.0 ROM
[Droid Incredible Android Development] hgoldner:
insmod: init_module '/system/lib/modules/cpufreq_smartass.ko' failed (Exec format error)
[Droid Incredible Android Development] jermaine151:
EDIT: Ok. I think I'm doing too much at one time. LOL. If I'm correct, the only way that wifi worked on your rom, with the new boot.img, was when it was flashed using the anykernel updater. This may be a silly question, but you sure that the one you linked me to actually has working wi-fi when flashed and is the new OTA kernel? I only ask because it's not an anykernel package. It's the regular boot.img flash.
[Droid Incredible Android Development] tiny4579:
Nils, try this one. It autoloads the modules script and wifi works.

Jermaine, I took your post earlier and used that skeleton zip minus the delete modules and pulled the old kernel that had wifi but not modules working and used Android kitchen to easily add init.d support.

EDIT: It should work on both your ROMs though I've only tested on the Sense 3.0 one.
[Droid Incredible Android Development] NilsP:
Yes, I just pulled it out of my 3.0 ROM and booted it over yours and WiFi worked
[Droid Incredible Android Development] jermaine151:
Awesome Tiny! Thanks Bud. That should work for them.

I'm trying to fix this and another issue and must've confused myself. I thought you wanted the init.d support on the Stock OTA kernel to use with your rom, not your kernel from your rom. LOL. That's why Harold was impressed with the speed. The newest OTA kernel flies.
[Droid Incredible Android Development] rboddy:
Well I tried the new kernel and lost wifi capability, it just keeps trying to connect with no luck. I forgot the network and put the password in again and still no go. How do I go back to the stock kernel, just do a reflash without the wipe?
[Droid Incredible Android Development] jermaine151:
Which new one did you try? The one I posted or the one Tiny posted? If you tried mine, flash Tiny's a couple of posts up.
[Droid Incredible Android Development] NilsP:
This worked fine on my 3.0 ROM. Both WiFi worked and cat init.rc |grep init.d got the correct result. Didn't test modules but the fact that init.d works they should

Thanks guys
[Droid Incredible Android Development] rboddy:
Yeah I tried yours, and I just read the last few hours worth of posts and see Tinys, I'll try that right now, looks like it *should* do the trick, I'll report back in a few mins, thanks man!

EDIT: Ok, all set now after d/l'ing Tinys kernel, thanks again dude you saved me!
[Droid Incredible Android Development] Muhman007:
This kernel stuff is over my head but I recognize the benefit and appreciate all of you working together to get the kernel, scripting, etc. functioning together correctly.

Thank you all for making these great options (roms, kernels, themes, etc.) for our Incredibles!
[Droid Incredible Android Development] NilsP:
Here is the good kernel with WiFi and init.d working

Good OTA Modified Kernel

Thanks Tiny and Jermaine
[Droid Incredible Android Development] jermaine151:
You're welcome Nils! Thanks Tiny!!!
[Droid Incredible Android Development] rocketj:
Yeah this kernel stuff is way over my head too!

So can I use this kernel with WD's Optimized Shift 2.45? I loaded it and couldn't get wifi to connect?

Sorry if this question is inappropriate for this thread.

Thanks!
[Droid Incredible Android Development] hgoldner:
Dammit. Flashed Tiny's kernel, then Nils' a few posts after. Now I have wifi back, and the scripts all read correctly when I run ls command in TE, but all the darn modules/governors are gone from /system/lib/modules.

I don't have enough hair to pull out.
[Droid Incredible Android Development] tiny4579:
Just reflash the modules zip. I think one of the zips wiped the modules. You should be good then. Let me know if you're not.
[Droid Incredible Android Development] bikercr:
Worked perfectly for me! Thanks!

From my Droid Incredible running Nils BusinessSense 3.0...
[Droid Incredible Android Development] bikercr:
These mods have gotten this ROM to a high level of functionality. Many thanks to Nils and the other wizards that have vaulted the Incredible to the best hacker phone in the universe.
[Droid Incredible Android Development] hgoldner:
Which modules, Tiny? Which file in your thread? The one with the CWM in the name didn't work for me, although, frankly, I'm considering restoring back to a Nandroid before I started all this tinkering, flashing Nils' updated kernel above then redoing the modules.....

Thanks.
[Droid Incredible Android Development] bikercr:
After installing the new OTA kernel posted by Nils yesterday, I reinstalled the CWM module for OTA: inc_modules_OTA_CWM_flashable.zip. Now have all the modules in setCPU including smartass.
[Droid Incredible Android Development] hgoldner:
SUCCESS!! Wifi; OTA kernel with all governors now seen in SetCPU. Looking forward to giving smartass & conservative a ride and seeing what happens to battery life.

Much thanks to jermaine151; tiny4579 and Nils.
[Droid Incredible Android Development] bikercr:
Wicked pissa (I'm from Boston originally)!!
[Droid Incredible Android Development] hgoldner:
Just finally managed to pry my daughter's Incredible from her hands to flash this ROM. She only had about 2 dozen user apps because she had so many Google and FB contacts (which is how a kid in college would be....) and kept getting out of memory messages on Froyo, even though I had her rooted and running jaykresge's Nothing Special Plain.

Man this thing positively SCREAMS on her Incredible, and I haven't even flashed the 7.07 radio, OTA kernel, and Juwe's memory script.

I can't believe how much faster her phone is than mine....and mine is only better since I uninstalled dozens of apps myself.
[Droid Incredible Android Development] Osirus71:
Installing This Rom and Rooting

Hey fellas, Im about to root my friends Incredible and wanted some friendly advice from you guys since im a EVO 3D user. How is this rom??? How is the speed vs CM7??? What are the preferred steps I should take for rooting the Incredible(every phone is different)??? Any and all advice information is greatly appreciated.:D

Much Thanks....
[Droid Incredible Android Development] hgoldner:
Assuming you are comfortable with the issues and concepts associated with rooting (terms like bootloader, recovery and ROM's), I suggest you do the following:

1. Go to unrevoked.com and root the Incredible; also run unrevoked-forever to secure S-OFF status.

2. Go to dougpiston.com and get the latest CWM for the phone; 3.0.0.7 if it's Amoled display (Hardware version 2) or SLCD (Hardware version 3). (BTW, note that this ROM erroneously reports Amoled Incredibles as the wrong hardware version). Flash that from hboot. Remove the file from the root directory of the SD card afterwards.

3. Download the 7.07 leaked radio; download the ROM; download the updated OTA kernel from a few days ago.

4. Flash away (I would do ROM, kernel, then radio. Remember to flash dalvik/cache before flashing a kernel; and remember that the radio is flashed in hboot.)
[Droid Incredible Android Development] rboddy:
Nils, have you messed with the camera libraries to see if we can get the working effects for the camera that are currently inoperable?
[Droid Incredible Android Development] NilsP:
Not yet. Sorry, I have been a little distracted with other things so I will make sure it is on my todo list
[Droid Incredible Android Development] rboddy:
No problem dude, just wanted to make sure I didn't miss an update on it anywhere. Thanks! Also, as far as I'm concerned, that is the only thing missing with this ROM, it really is the best one I've run since I first started flashing almost a year ago. You're the kinda guy HTC should be hiring lol.
[Droid Incredible Android Development] hgoldner:
Anyone try out tiny4579's new GingerSense kernel found here on this ROM? I've seen a few running the Sense 3.0 version of Nils' Business GingerSense, but not this one.

Thanks in advance.
[Droid Incredible Android Development] smtom:
Edit: I flashed an earlier iteration/mashup from Jermaine/Nils/Tiny onto this ROM - works like a champ - noticed better battery life for sure!

Haven't flashed the one linked above.
[Droid Incredible Android Development] jbh00jh:
Running GingerTiny v5b and it seems to be fine and phone does charge a little faster. Set to Smartass.
[Droid Incredible Android Development] hgoldner:
I'm running that kernel now (there was some tweaking last Thursday as I recall); but this appears to be tiny4579 taking the kernel a little further (and closer to Chad's Incredikernel which is what I ran under Froyo).

I do see one individual who got a bootloop on an earlier version of the kernel.
[Droid Incredible Android Development] jbh00jh:
We are supposed to have a thunderstorm Friday where I live , that means we will probably get v2.2 Friday. :D
[Droid Incredible Android Development] bikercr:
Yes, that was me. I downloaded the kernel this morning, 8/30. Glad I did a nandroid backup first.
[Droid Incredible Android Development] redsunrising:
Sorry I don't typically follows Nils' thread so I apologize if this is a redundant question: is the teased Joel/Nils/Whoever else project on hold or abandoned or is it actually being worked on?