Fix for slow SD card speed with HTC's Froyo Kernel - Desire Android Development

There have been quite a few complaints about slow SD card speeds with Froyo/Sense ROMs (e.g. http://forum.xda-developers.com/showthread.php?t=778748).
I've looked into the problem and discovered that the poor performance is due to HTC reducing the readahead settings in their kernel.
I've attached a prebuilt kernel (as a flashable zip using Koush's AnyKernel) and a kernel source patch that fix this. Let me know how you get on
EDIT: if you prefer Richardtrip's kernel to the stock one, use the update zip here, or v5 or later of his kernel, instead of kernel_2.6.32-frankoid.zip
To see whether your kernel needs the fix you need to run a command with your phone plugged in to your computer. On Linux and OS X you need to include quotes, like this:
Code:
adb shell 'cat /sys/devices/virtual/bdi/179:0/read_ahead_kb'
If you are using Windows don't include the quotes - run this:
Code:
adb shell cat /sys/devices/virtual/bdi/179:0/read_ahead_kb
If it returns 4 then you need the fix. If it returns 128 you don't need it.
If you are a developer and you'd like to incorporate this fix into your ROM without having to change the kernel see this post for instructions on how to edit init.rc to change the readahead setting.

only for SENCE

hensk said:
only for SENCE
Click to expand...
Click to collapse
Yes, this is only for Sense, but I haven't had any problem with SD card speeds on non-Sense ROMs.

Will flashing this remove OC? I'm running Richards kernel and not stock. Will your zip file overwrite?
Sent from my HTC Desire

elmalote said:
Will flashing this remove OC? I'm running Richards kernel and not stock. Will your zip file overwrite?
Click to expand...
Click to collapse
I'm not sure, I don't overclock myself. I have turned off perflock in this kernel though so it might work.
You could always give it a try and restore a nandroid backup if you lose OC.
The best thing in the long run would probably be to ask Richard to apply the patch to his kernel.

Don't works on rcmixhd v10. I flash it and not reboot well
Sent from my HTC Desire using Tapatalk

elmalote said:
Will flashing this remove OC? I'm running Richards kernel and not stock. Will your zip file overwrite?
Sent from my HTC Desire
Click to expand...
Click to collapse
Want to know this as well, but if you've fixed the problem my hat off to you sir! It really annoys me.

Nice, gonna check it out. Do you have any statistics?
*edit, this has already been pushed upstream to .35+ kernels.

Not working in RcmixHD..!!!
In which ROM did you try OP..??

harish.awe said:
Not working in RcmixHD..!!!
In which ROM did you try OP..??
Click to expand...
Click to collapse
RCmixHD is the rom port from the desire HD isn't it?

I installed it on a Telus HTC Desire SLCD with LeeDroid 2.2d and tested it on a class 10 card with SD Speed Card Test..My write speed remained at the 2MB/s it showed before (same on a Class 6 and Class 2 card) but the read speed jumped to 13MB/s.
Any thoughts why the write speed didn't show the same increase as read?
Good start I love the increased read speed..it would be nice to see a similar increase in writing..
Good work

Is the speed jump only in storage mode?

Wow many great thanks !!!
Before:
Write 4 mb/s
Read 6 mb/s
After:
Write 4 mb/s
Read 13 mb/s
On my PC i have a read speed around 19 mb/s, but 13 mb/s is fabulous enough, more write speed would be nice, but i 4 mb/s is ok for the moment..
Im using this ROM: http://forum.xda-developers.com/showthread.php?t=773997
so this should work on every Froyo Sense ROM
PS: the gallery is now so f*** fast this is great ;-)

Anyone with Pays ROM tried this yet? Wondering if its needed with the latest Pays ROM...

Hello frankoid , could you make us version for Sense HD roms, as lots of files there are puted on SD, this would make entire rom much faster!

hover99 said:
Wow many great thanks !!!
Before:
Write 4 mb/s
Read 6 mb/s
After:
Write 4 mb/s
Read 13 mb/s
On my PC i have a read speed around 19 mb/s, but 13 mb/s is fabulous enough, more write speed would be nice, but i 4 mb/s is ok for the moment..
Im using this ROM: http://forum.xda-developers.com/showthread.php?t=773997
so this should work on every Froyo Sense ROM
PS: the gallery is now so f*** fast this is great ;-)
Click to expand...
Click to collapse
do you richard's UVOC installed?

hamdir said:
do you richard's UVOC installed?
Click to expand...
Click to collapse
No, close to stock, only the POWERSAVING MODPACK ..

This kernel certainly will replace Richard's. Just tried it minutes ago. In the SetCPU, the max speed goes back to 998 Mhz instead of Richard's 1330 Mhz.

harish.awe said:
Not working in RcmixHD..!!!
In which ROM did you try OP..??
Click to expand...
Click to collapse
I'm using my own ROM based on RUU_Bravo_Froy2_UK_2.14.207.1. This kernel should work on most Froyo/Sense ROMs that use the stock kernel. If your Sense ROM uses a custom kernel ask the ROM's developer to apply this patch. This patch is not necessary for non-Sense ROMs.

eViL D: said:
Nice, gonna check it out. Do you have any statistics?
*edit, this has already been pushed upstream to .35+ kernels.
Click to expand...
Click to collapse
Which .35 kernel? I think that the change to reduce the readahead never made it into the Cyanogen & Teamdesire etc. kernels, so this patch to increase the readahead again isn't necessary for them.

Related

Kernels for CM7 03012011 Nightly

Hi,
I am a new rooted user and have been following all MT4G threads here at XDA pretty closely. Can anyone help me know which kernels I can flash on the 03012011 Nightly(cm_glacier_full-11.zip ). I haven't ever flashed a kernel and I don't know what it does and how it helps.
I'll appreciate any info that you can give me.
dipsy1849 said:
Hi,
I am a new rooted user and have been following all MT4G threads here at XDA pretty closely. Can anyone help me know which kernels I can flash on the 03012011 Nightly(cm_glacier_full-11.zip ). I haven't ever flashed a kernel and I don't know what it does and how it helps.
I'll appreciate any info that you can give me.
Click to expand...
Click to collapse
Well you can use dumfuq's SmartCMKernel or Faux's CM7RC v1.3 kernels. ATM you might want to go with dumfuq's as its the most stable CM7 kernel other than default. You can find it in development section, once downloaded to SDCard just go in to Recovery and wipe cache, davlik and then Install zip from SDCard> Choose from SDCard> Select it wherever you put it and then flash it as you normally flash rom's. Then reboot and let it run for few min and let it do its thing.
BlackSHELF said:
Well you can use dumfuq's SmartCMKernel or Faux's CM7RC v1.3 kernels. ATM you might want to go with dumfuq's as its the most stable CM7 kernel other than default. You can find it in development section, once downloaded to SDCard just go in to Recovery and wipe cache, davlik and then Install zip from SDCard> Choose from SDCard> Select it wherever you put it and then flash it as you normally flash rom's. Then reboot and let it run for few min and let it do its thing.
Click to expand...
Click to collapse
Which is the dumfuq's kernel . I hear it reffered in threads but I cant seem to find it.
Thanks
dipsy1849 said:
Which is the dumfuq's kernel . I hear it reffered in threads but I cant seem to find it.
Thanks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=930961
Its very stable I virtually tested them all and this seem to be THE one, for now till Faux come down to CM7 world.
BlackSHELF said:
http://forum.xda-developers.com/showthread.php?t=930961
Its very stable I virtually tested them all and this seem to be THE one, for now till Faux come down to CM7 world.
Click to expand...
Click to collapse
Thanks for your help. Getting this kernel now. I heard about setcpu and Quadrant. Do I need those and how/what are they used for? what kind of difference would this kernel give me?
SetCPU - name explains it but if you don't know its controls clock frequency, so you can over/under clock and even set profiles.
Quadrant - benchmark app its just to brag how high score you got nothing special, don't let it get to your head it means nothing as the synthetic benchmark no way translate in to real world performance its just pissing contest lol
Keep in mind in CM7 you have built in mCPU performance controller to to handle clock frequency which you can access via Setting> CM Setting> Performance> CPU Setting.
BlackSHELF said:
SetCPU - name explains it but if you don't know its controls clock frequency, so you can over/under clock and even set profiles.
Quadrant - benchmark app its just to brag how high score you got nothing special, don't let it get to your head it means nothing as the synthetic benchmark no way translate in to real world performance its just pissing contest lol
Keep in mind in CM7 you have built in mCPU performance controller to to handle clock frequency which you can access via Setting> CM Setting> Performance> CPU Setting.
Click to expand...
Click to collapse
Thanks Blackshelf. I am on that kernel now. What should my min and max be? and should the set on boot be set to yes?
What is Linpack?
dipsy1849 said:
Thanks Blackshelf. I am on that kernel now. What should my min and max be? and should the set on boot be set to yes?
Click to expand...
Click to collapse
You do relize you allready have a aftermarket kernel installed when you download any Rom here in the forums, right? Its ok to install different ones but FYI you dont need to in order to overclock.
TrueBlue_Drew said:
You do relize you allready have a aftermarket kernel installed when you download any Rom here in the forums, right? Its ok to install different ones but FYI you dont need to in order to overclock.
Click to expand...
Click to collapse
not past 1504Mhz though...
dipsy1849 said:
Thanks Blackshelf. I am on that kernel now. What should my min and max be? and should the set on boot be set to yes?
Click to expand...
Click to collapse
Thats up to you as only you know what you use so you can better utilize the resource. I mean if you don't use anything no reason to OC it to 1.8ghz lol that way you will kill battery.
BlackSHELF said:
http://forum.xda-developers.com/showthread.php?t=930961
Its very stable I virtually tested them all and this seem to be THE one, for now till Faux come down to CM7 world.
Click to expand...
Click to collapse
What are the differences between dumfuq's and faux's? Is there an advantage to one over the other? I've always been using faux's the whole time.
I keep going back to just using the stock CM 7 kernel clocked at 1.5 honestly I think it gives the best overall performance (on my phone at least) and honestly I had issues running over anything past 1.7 with any kernel but again that could just be my phone. I had it oc'ed at 1.7 for a while and now I have it clocked at 1.5 and notice I have less FC (not that I had many at 1.7 but def more apps would choke from time to time) This phone is pretty fast bone dry stock with no oc'ing but it runs beautiful at 1.5. I dont really notice much performance difference from 1.5 to 1.7 but I do notice a battery difference

Kernel - GB 2.6.35 SKernel V0.2 OC 1.8ghz Update

SKernel - Power and Performance
SKernelv0.3 - http://www.mediafire.com/?19n6k3kee0k1kpk
Based 0n 2.6.35
OC 1.5ghz -
minimum [email protected]
maximum [email protected]
VR I/O scheduler as default
SmartAss set as Default
Know Bugs - Wifi Stops Working - should be sorted by tonight
http://forum.xda-developers.com/attachment.php?attachmentid=606109&d=1306261299 - link to og kernel thx to marylandcookie
Rom Compatibility
Should work on latest gb builds of loveboatcaptains and marylandcookies rom
For the Wifi Problem here is the driver - http://www.mediafire.com/?mewvu7ifxya8zx3
Not fixed the problem yet. but if anyone wants to try themselves they can or suggest a solution as usual methods not working.
For those that need wifi marylandcookie has given me permission to upload coredroid 6.6 with my kernel where wifi is working
coredroid 6.6 with this kernel if flashable zip leavin u with wifi off
http://www.mediafire.com/?dd3zzpa0c3902n4 - Part 1
http://www.mediafire.com/?1yu6a29a25l0a2g - Part 2
http://www.mediafire.com/?c5g9r5tlgw462rc - Part 3
http://www.mediafire.com/?77eleb6jed1fex5 - Part 4
Thanks
MaryLandCookie
LoveBoatCaptain
l0st.prophet
and everyone else who helped
Please let me know anymore bugs and suggestions are welcome too
PS speeeds above 1.5 can fry ur cpu or make phone unstable
git://github.com/chwads2k8/SKernel.git - source files
Hi! Great! I hope the wifi gets fixed soon
Good stuff @chwads2k8
I hope so about wifi
Anyone tried benchmarking ?
Quadrant 1892pts @ 1.5GHz vs. 1708pts @ 1.0 GHz...
great kernel. running very fast. i get linpack over 55 and
tap benchmark for s: 9375
desire hd: 2726
desire: 1152
not just benchmark, everything running faster thanks man!
kernel updated first post
can confirm that your flashable zip works out of the box with my latest version of my rom.
thank you very much for that. i will made some tests tomorrow with wifi, gps and bluetooth. but looks very good at first view
linpack: 58 MFlops
quadrant: 2450
regards
loveboatcaptain said:
can confirm that your flashable zip works out of the box with my latest version of my rom.
thank you very much for that. i will made some tests tomorrow with wifi, gps and bluetooth. but looks very good at first view
linpack: 58 MFlops
quadrant: 2450
regards
Click to expand...
Click to collapse
yh it does ur latest build is 0.4.2 and trested it on their so should work only the wifi problem. i havnt made a boot.img its the zimage so if u want u can that in ur build to get wifi working or ill do it tmoz if u want as many of ur faithfuls need wifi to work and until now all attempts have been futile but hope still remains
chwads2k8 said:
yh it does ur latest build is 0.4.2 and trested it on their so should work only the wifi problem. i havnt made a boot.img its the zimage so if u want u can that in ur build to get wifi working or ill do it tmoz if u want as many of ur faithfuls need wifi to work and until now all attempts have been futile but hope still remains
Click to expand...
Click to collapse
wifi is working... very well
even with my unreleased saga lbc mod v0.4.3
good job... whatever you´ve done
regards
By the way which wifi module have you used and which kernel?
Did you start with a pair?
P.S
In order to create a flashable kernel, create a boot.img.
If you answer the above i'll see what i can do.
only thing i found is that the performance is decreasing with clocks over 1,5GHz.
i wouldn´t recommands setting over 1,5GHz.
performance seems to be best with 1497 MHz / 245 MHz and interactive gouvener.
perhaps you can add this info to your first post, before someone grills his CPU
regards
can anyone else confirm wifi is working with flashable zip
chwads2k8 said:
can anyone else confirm wifi is working with flashable zip
Click to expand...
Click to collapse
I'll do a nandroid flash it and report back.
Edit: Doesn't work for me
Sent from my HTC Desire S using XDA Premium App
will this ruined the battery life? since it's overclocking the CPU which requires more power?
nodeffect said:
will this ruined the battery life? since it's overclocking the CPU which requires more power?
Click to expand...
Click to collapse
I've never overclocked before and am on my first android device so I too am concerned that this will cause battery life problems, I think that the phone performs well enough for my needs.
Sent from my HTC Desire S using XDA App
chwads2k8 said:
can anyone else confirm wifi is working with flashable zip
Click to expand...
Click to collapse
You need to create a boot.img with your kernel and ramdisk to be able to flash it in a zip. Use the kitchen to unpack/pack your boot.img and try that
thing is iv got Image in zip so all can use. if i mke with voot image same prob with wifi
which is wierd gna try n sft it today
Sent from my HTC Desire S using XDA Premium App
No no...
1. Unpack stock boot.img (or whichever boot.img you want to use) using kitchen to get "zimage" and ramdisk folder with init files
2. Replace above zimage with your zimage
3. Unpack your ramdisk and replace above files with yours.
4. Re-Pack boot.img using the kitchen again.
5. Create flashable zip with boot.img (your ramdisk + kernel) in root of zip and wifi module in system/etc/module and flash to phone in recovery.
You can find the stock kernels to replace if everything goes "pete tong" using recovery here:
http://forum.xda-developers.com/showpost.php?p=14103229&postcount=21
Is it possible to patch the kernel to a newer version ?

[kernel][3 FEB] [Reaper AOSP V1.3 | Endymion-Sense3.5 V2.1 | Hyperion-Sense3.0 V2.0]

Reaper, Hyperion, and Endymion Kernels
As more people are using my kernels in their own ROMs, I'm creating this thread to keep an updated version of both kernels available for everyone.
As their names imply, these kernels are first tested extensively on my own ROMs with the same name, but I can't off course guarantee the same level of performance on other ROMs.
All kernels have all features tested and working on the desire S, namely front facing camera and stereo video recording.All kernels allow overclocking up to around 1.5GHz. This is deliberately lower than other kernels, as I won't be responsible for freezing leading to battery pull leading to 350€ beautiful bricks.
Reaper kernel as been known to work on Reaper ROM (of course ), MIUI, and CM7 derivatives.
Reaper AOSP kernel - Current version V1.3
Changelog from regular CM7 kernel:
- Forked and tweaked from latest CM7 source
- Deadline IO scheduler
- BFS task scheduler
- Added smartass cpufreq governor
- Added SavagedZen cpufreq governor
- Added Scary cpufreq governor
- Added Reaper cpufreq governor (modified smartassv2)
- Changed frequency/voltage tables to match Tiamat V1.1.5, but limited max frequency to 1.5GHz (all thanks to Canyarb)
- Exposed sysfs vdd interface: allows under/overvolt
- Frequency limits: min=184MHz, max=1516MHz
- Added SIO IO Scheduler
- Added VR IO Scheduler
- Added SmartassV2 CPU Governor
Download: http://desworks.de/android/reaper/kernel-reaper-V1.3-bfs.zip
Hyperion Sense 3.0 kernel - Current version V2.0
Changelog from V1.2:
- Back to CFS, I'm trying to merge both Endymion and Hyperion kernels
- No default undervolting. People with stable devices under Hyperion previous releases may safely apply 50mV undervolt with OC/UV beater. This way is safer for everyone.
- Some gpu tweaks
- kernel-level support for ext2 and ext3. Together with already included loop device support, should help those people trying to run ubuntu under Hyperion.
Download: http://www.multiupload.com/KSA2LZ9PXM
MD5SUM: b7cad334a2d6d3cba9851a91d748fba3
Endymion Sense 3.5 kernel - Current version V2.1
http://hulkshare.com/nxdnhbup95x7
MD5SUM: 50bb716190233275e804364629b3be86
Changelog from V2.0:
added Reaper governor, a modified smartassV2. Choose for performance.
Changelog from V1.1:
- Removed default UV: should be rock stable for everyone
- Added some gpu tweaks
Download:http://www.multiupload.com/B7QYZJXF04
MD5SUM:475ba597aa924089108435b113009401
Feel free to include the kernels in your own roms, but I put a lot of time and work on them. So if you do include them, a simple thanks and a link to the original roms they were released in would be very nice of you.
And of course, if you want to check the full potential of the kernels, give the Hyperion, Endymion and Reaper ROMs a go!
Enjoy
Thanks lowveld..
It will be helpful for all
NiruBhai said:
Thanks lowveld..
It will be helpful for all
Click to expand...
Click to collapse
good work man,
i'll use them.
thank you
Well now thread created..
no need to roam here-there, updates can be found here..
thanks
Wrong subject
skymoon_891_ said:
Wrong subject
Click to expand...
Click to collapse
wtf?
good job man!keep them up!
After flash boots till white htc screen, restars 2 times and boots in recovery. Tried to turn it off and on 3 times, same result.
Pre-rooted official rom. New hboot.
Sent from my HTC Desire S using XDA App
fallos said:
After flash boots till white htc screen, restars 2 times and boots in recovery. Tried to turn it off and on 3 times, same result.
Pre-rooted official rom. New hboot.
Sent from my HTC Desire S using XDA App
Click to expand...
Click to collapse
Please confirm you flashed the Hyperion kernel. This could be an issue with the new Hboot, as I personally don't use it so never tested it.
I know now there's a separate lib partition, so it could be a question of me not mounting it on the ramdisk.
Cheers
lowveld said:
Please confirm you flashed the Hyperion kernel. This could be an issue with the new Hboot, as I personally don't use it so never tested it.
I know now there's a separate lib partition, so it could be a question of me not mounting it on the ramdisk.
Cheers
Click to expand...
Click to collapse
Hyperion kernel used.
And Im using Revolutionary s-OFF and new Hboot for RevX 7.00.2002 downloaded from 4pda.ru.
Hboot (rename to PG88IMG.zip)
http://www.multiupload.com/TJAL6MNC1Z
Please try this:
View attachment kernel-hyperion-v1.2-new-hboot.zip
Cheers
fallos said:
Hyperion kernel used.
And Im using Revolutionary s-OFF and new Hboot for RevX 7.00.2002 downloaded from 4pda.ru.
Hboot (rename to PG88IMG.zip)
http://www.multiupload.com/TJAL6MNC1Z
Click to expand...
Click to collapse
lowveld said:
Please try this:
View attachment 764039
Cheers
Click to expand...
Click to collapse
Working! will play with that , and write back if any bugs.
Thanks!
Edit: Wifi error.
fallos said:
Working! will play with that , and write back if any bugs.
Thanks!
Edit: Wifi error.
Click to expand...
Click to collapse
That is most probably rom related. I assume you know how to use adb, so:
>adb remount
>adb shell
#ln -s /proc/calibration /system/etc/calibration
#exit
>adb reboot
lowveld said:
That is most probably rom related. I assume you know how to use adb, so:
>adb remount
>adb shell
#ln -s /proc/calibration /system/etc/calibration
#exit
>adb reboot
Click to expand...
Click to collapse
Thanks! wil try it tomorrow morning and write back.
lowveld said:
That is most probably rom related. I assume you know how to use adb, so:
>adb remount
>adb shell
#ln -s /proc/calibration /system/etc/calibration
#exit
>adb reboot
Click to expand...
Click to collapse
This is not work, still wi-fi error
kozopulo said:
This is not work, still wi-fi error
Click to expand...
Click to collapse
I got the problem, and know how to fix it. Don't have time now, I'll update this later.
Cheers
-- edit --
Try this:
View attachment kernel-hyperion-v1.2-new-hboot_rev1.zip
Note that I do not have (nor plan to have) the new hboot installed, so I can't try it myself, so little patience is needed on your side.
For those interested in knowing what was needed up to now to port the kernel to the new hboot:
- edit init.saga.rc to mount the new lib partition
- edit the install script to also mount the lib partition, or it wont flash the modules, leading to the "wifi error"
Cheers
Rev.1 still wifi error.
Thanks for trying!
fallos said:
Rev.1 still wifi error.
Thanks for trying!
Click to expand...
Click to collapse
Well, just to make sure it's not the updater script fault, can you drop the modules in the zip installer directly into /system/lib/modules on your phone and see if it works? You can use Root Explorer or something like that.
Still error
Sent from my HTC Desire S using XDA App
lowveld, does your hyperion kernal 1.2 works in Virtuous Unity ROM? Will your kernal fix the reboot problem by increasing the UV? Please help, thanks....
nodeffect said:
lowveld, does your hyperion kernal 1.2 works in Virtuous Unity ROM? Will your kernal fix the reboot problem by increasing the UV? Please help, thanks....
Click to expand...
Click to collapse
Haven't tried it, so I can't answer for sure. But from what I heard, the random reboots came with the V10 kernel, so It's a fair chance that these will work fine.
If you're talking about the Unity 3.5 beta, use the endymion kernel. For the old 2.39 use Hyperion.
Cheers
Sent from my HTC Desire S using xda premium

##UDATED 10MAR12## [TWEAK] Lightning Zap

READ ENTIRE OP!!!!!!!!!!!!!!!!!!!!
I took ASXIX, ASv15, added parts from Thunderbolt and a few tweaks from a Cappy ROM (Fasty III), edited a few things here and there, combined them together and flashed them. I got INSANE battery life, super fast performance, shorter boot times, smooth transitions, faster sdcard read/write speed, and higher quad scores (I know most people say those don't matter, but it does account for something).
DO NOT USE THIS WITH RAVERX3X'S OCTANE 3.0
ONLY USE v5 Upgrade if you are currently using any other version of Lightning Zap
Made 3 version
v5 for all ROMs
v5 Upgrade if you are currently on an older version of Lightning Zap
v5 MIUI is for MIUI ONLY
v5
Now adjusts filesystem with tune2fs (still ext4fs) to disable journaling, improve responsiveness, smoothness, and overall performance
Contains newest build.prop tweaks from dsexton702
Now uses Aroma installer by FBis251
Removed duplicate scripts
Added newest FUGU (Actually did that on v3, but failed to mention it)
Reformatted governor tweak a bit (easier to follow instructions to change values)
Decided NOT to add the journaling script and data2ext... for now
Quads hit 2432 on first run and averaged 2696 out of 3 runs, Not OC'd
v5 takes quite a while to install (about 20 to 30 minutes...maybe longer). If you experience FC's, fix permissions and reboot. As we all know, or should know, backups don't always like to play right when restored.
On v5 quads are hitting 3100+ average...
Must be rooted, on Gingerbread build that supports init.d, and have a kernel with voodoo. this has been tested on SG4G and Captivate but it may work on other devices (if you have flashing issues push manually or PM me for help)
DISCLAIMER
I am not responsible for any damage this may cause to your device.
Don't forget to make a backup! Just in case...
INSTRUCTIONS
Download zip and place on sdcard, reboot to recovery, install zip, follow prompts in Aroma installer (No options to change in custom install so use Quick Install), reboot phone, let sit for at least 10 minutes, REBOOT, enjoy!
This can be flashed directly over older versions of Lightning Zap.
Want to get more out of Lightning Zap?
Refer here:
More Tweaking
If you are not getting the battery life/performance others are getting, refer here:
Gremlin Remover
To see what tune2fs does (and verify journaling is disabled) type:
Code:
tune2fs -l /dev/block/stl9
tune2fs -l /dev/block/stl10
tune2fs -l /dev/block/stl11
For an example of results refer to this post:
tune2fs results on /system partition
Special Thanks to
GreyDark
dsexton702
LOSTLOGIC89
pikachu01
tehgyb
FBis251 for the awesome installer
And all the super awesome DEVs that help us!
Download links just below here
Nice...... Will have to take a look at this
Will check it out... Is the attached Quad Score Stock or OC'd ??
Racing19969 said:
Will check it out... Is the attached Quad Score Stock or OC'd ??
Click to expand...
Click to collapse
OC'd. The original score was 1301. Mind you, for battery life purposes, the tweak I added LIGHTLY overclocks the phone. If you want to increase the oc, use tegrak overclock (preferably paid so changes will stay after boot). I just tried the free version, and it shot my quad score to 2604.
Well, the tweaks definately work... I ran stock on aosp kj1 kernel and scored 1718.
Then installed and ran again, scored 1943 stock. Then Installed new kj6 kernel and ran again and scored 2149 stock no oc. Rebooted phone a couple of times and played around with some programs to let sink in. Now I ran quadrant again stock and got my highest score yet for a stock rom 2408.. added image
Should we delete the init.d scripts that are on the phone before flashing?
Sent from my SGH-T959V using xda premium
steeleain said:
Should we delete the init.d scripts that are on the phone before flashing?
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
No, thanks to dsexton's script, we don't have to do that... Just flash and enjoy.
Working really well
Sent from my SGH-T959V using XDA App
Hi Thomas
I'm currently testing it.
Are you sure there are no duplications? I see 2 SDCard speedfixes in init.d...
Sent from me
itzik2sh said:
Hi Thomas
I'm currently testing it.
Are you sure there are no duplications? I see 2 SDCard speedfixes in init.d...
Sent from me
Click to expand...
Click to collapse
The S77-sdcard-speedfix raises the read ahead from 3072 to 4096. I tried running it without it (just raised the threshold in 02speedcardfix) and the performance was good (17.28 mb/s), but I got much higher readings (22.13 mb/s) when I changed the 02sdcardspeedfix back to 3072 and added the S77-sdcard-speedfix back into it. (These numbers are referenced from DeviceMark app).
Thanks
this is super fast thanks what a brilliant mind for tweaking this everything is 10x faster
bd1692 said:
this is super fast thanks what a brilliant mind for tweaking this everything is 10x faster
Click to expand...
Click to collapse
You are welcome and thank you. But keep in mind, I got these tweaks from dsexton702 and LOSTLOGIC89, made a few minor adjustments, and just combined them together. But the really great thing about it, the more you play with your phone and the more they soak in, the better things get.
I've modified as myself with different tweaks and noticed the ones I, modified happen to be the ones you didn't and I get the same quad either way... I'm thinking if I add mine to yours there may be a little boost. I'll have to try it out tonight. it pertains to system_server, app_process and the sqlite libraries
Sent from my SGH-T959V
tehgyb said:
I've modified as myself with different tweaks and noticed the ones I, modified happen to be the ones you didn't and I get the same quad either way... I'm thinking if I add mine to yours there may be a little boost. I'll have to try it out tonight. it pertains to system_server, app_process and the sqlite libraries
Sent from my SGH-T959V
Click to expand...
Click to collapse
Awesome. Let me know how it works out, and if you want, we can add your tweaks as well.
thomas.raines said:
Awesome. Let me know how it works out, and if you want, we can add your tweaks as well.
Click to expand...
Click to collapse
Word, will do bud
Sent from my SGH-T959V
Do you think this will work with the SGS2?
kaizasoshi said:
Do you think this will work with the SGS2?
Click to expand...
Click to collapse
I would say yes as most of these tweaks have been used on many other devices and incorporated into various ROMs. But don't hold me to it. All I can say is make a backup, flash, and see. Report back to me with your findings please?
Ravers 3.0 version says removed ind.t, can i still flash this or could that cause complications?
thomas.raines said:
I would say yes as most of these tweaks have been used on many other devices and incorporated into various ROMs. But don't hold me to it. All I can say is make a backup, flash, and see. Report back to me with your findings please?
Click to expand...
Click to collapse
Got the " installation aborted " error message, will push it manually through Root Explorer. Will report back later today to let you know what the results are
mikhail777 said:
Ravers 3.0 version says removed ind.t, can i still flash this or could that cause complications?
Click to expand...
Click to collapse
IDK, I haven't tried yet. I am about to start working on that and try to add lockscreens. I will also try flashing this and we will see...

[DEV][WIP][KERNEL-PATCH][MSM7x30/8x55 GPU OVERCLOCKING][2d-core done][3d-core][v0.7]

Finally after someone pm'd me I looked back into GPU Overclocking.
New thread created issues with old thread OP permissions (people seem to be asking the same questions over and over again all information will be kept in OP & DO READ THE THREAD, repetitive questions will now be ignored)
Benefits:
Smoother UI
Handle 2d & 3d core GPU intensive applications & games
Currently only 2D core has been overclocked working on 3D core OC
2D-core original value - 192mhz OC to 245mhz DONE achieved 25% performance boost grp_2d_clk outputs 245760000hz
3D-core original value - 245mhz OC to 300+mhz WIP hoping to achieve 40-50% performance boost
2D-core OC only Download: Coming soon...
Download Links for other devices coming soon...
Works for all HTC Sense/Cm9/Cm10 kernels (Just ask a kernel developer for your device to implement the source code)
Note: Don't have internet on PC so providing 3 main files that need replaced for 2D-core OC to work
Download link to source code: http://d-h.st/wbH
3D-CORE OC TESTS Download: Coming soon...
Do check under sys/kernel/debug/htc_clock/clks/ look for file with all clocks & look for GRP_clks (Graphics clock)
OK so basically today I've been thinking and I've come to the conclusion that I will release the 2D-core OC patch As Soon As Possible, 3D-core Core OC is NOT Impossible but for now I'll give it a break, I will attempt 3D-core OC If/When I can get a hold of a msm7x30/msm8x55 device, as it will make it much easier for both me & users.
So for now you can enjoy the 50mhz increase/bump up, perf boost 25% in 2D-core (will increase performance in both 2D/3D intensive appications as 2D-core is used for 3D AFAIK and increase User Interface performance (Note: This will not take a hit on battery life)), I will also release a couple of fixes on patchas kernel that shouldnt be there/set etc.
(Theres a device available in my area for roughly £90, if anyone wants to contribute towards getting that device or can donate a device , more than welcome and shoot me a PM so I can list you here.)
(This isnt a promise of 3D-Overclock if you donate, if you donate please do so expecting nothing I will only attempt 3D-overclock)
Working device list - all kernel 3.0+ msm7x30/msm8x55 soc devices.
Main thread is in Desire HD Android Development section: http://forum.xda-developers.com/show....php?t=2368497
thanks for your work
i m just curious
what s the difference with this:
3d: https://github.com/kylon/AndromadusMod-New/commit/bccb6227f629d5dbb6687e0aa851dd86b4fac01a
2d/ increase 3d: https://github.com/kylon/AndromadusMod-New/commit/e623d0449be04081d0418b799fbe3737371dd56c#diff-137 (this is a big commit, sorry)
there is a good performance boost with this, also, now, you can see 8fps on Antutu (openGL 2.0) (6/6.5 before)
tested on cm10.1
What is this.? Kernel patch... Working with our desire S with cm 10.1 instaled and stock kernel that come with Flinny last 24.2 test built?
Sent from my Desire S using Tapatalk 2
kylon said:
thanks for your work
i m just curious
what s the difference with this:
3d: https://github.com/kylon/AndromadusMod-New/commit/bccb6227f629d5dbb6687e0aa851dd86b4fac01a
2d/ increase 3d: https://github.com/kylon/AndromadusMod-New/commit/e623d0449be04081d0418b799fbe3737371dd56c#diff-137 (this is a big commit, sorry)
there is a good performance boost with this, also, now, you can see 8fps on Antutu (openGL 2.0) (6/6.5 before)
tested on cm10.1
Click to expand...
Click to collapse
Hi I'm unable to look at patch no.2 its too big for the laptop to handle but to comment on the first one it takes more than modifying the kernel graphics software layer platform data to overclock the kernel especially if its the 3d core it takes more, the msm7x30/msm8x55 is a very unique soc, im not sure where those values were pulled from but sure doesnt make sense. Afaik no one has yet managed 2d oc nvm 3d oc until now... :s
You can find them in the incredible s dev section
We have the same soc
Sent from my Desire S using Tapatalk 4 Beta
kylon said:
You can find them in the incredible s dev section
We have the same soc
Sent from my Desire S using Tapatalk 4 Beta
Click to expand...
Click to collapse
Yeah basically ive seen it all, all the commits on the devices with this gpu oc only modified the kgsl pdata with random values they want LOL, its false that isnt how it works, the 2d oc i done is 100x easier than 3d oc and look, i modified more than the kgsl pdata just to get the 2d-core running a measly 50mhz boost.
Hi! How can apply this patch?
AFAIK you´re no kernel dev, right? Maybe by reading OP
Download Links for other devices coming soon...
Works for all HTC Sense/Cm9/Cm10 kernels (Just ask a kernel developer for your device to implement the source code)
Click to expand...
Click to collapse
El Aero said:
Hi! How can apply this patch?
Click to expand...
Click to collapse
Download the .zip and flash in the recovery.
NVardan said:
Download the .zip and flash in the recovery.
Click to expand...
Click to collapse
Lol
NVardan said:
Download the .zip and flash in the recovery.
Click to expand...
Click to collapse
not sure about this))
Отправлено c моего Desire S
El Aero said:
not sure about this))
Отправлено c моего Desire S
Click to expand...
Click to collapse
teadrinker said:
Lol
Click to expand...
Click to collapse
It didn't work for me too lol.
Sent from my Desire S using Tapatalk 4 Beta
NVardan said:
Download the .zip and flash in the recovery.
Click to expand...
Click to collapse
Nah. There is no zip. Link in the op is for source. So a developer like kaylon have to merge it. OP just posted the source he is trying to compile not made any kernel yet. If I'm reading the OP right.
Wow I'm still a noob
niravnn said:
Nah. There is no zip. Link in the op is for source. So a developer like kaylon have to merge it. OP just posted the source he is trying to compile not made any kernel yet. If I'm reading the OP right.
Wow I'm still a noob
Click to expand...
Click to collapse
Thanks for clarifying! I thought, it should have been flashed as a .zip. My noob level is over 9000.
I hope amidabuddha includes this in his awesome kernel
Sent from my Desire S using xda app-developers app
NVardan said:
Thanks for clarifying! I thought, it should have been flashed as a .zip. My noob level is over 9000.
Click to expand...
Click to collapse
Holy Jesus, just open the .zip you've downloaded...really :laugh:
seems it is not working on my kernel
based on what you said in the dhd dev section i should see 245mhz in /sys/kernel/debug/htc_clock/list_clocks or in /sys/kernel/debug/clk/grp_2d_clk/rate
but they say 192
while i can see 245 in sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/gpuclk
your files are different, especially kgls_pwrctrl(you are using an old kgsl)
maybe the jb kernel needs some more edits
kylon said:
seems it is not working on my kernel
based on what you said in the dhd dev section i should see 245mhz in /sys/kernel/debug/htc_clock/list_clocks or in /sys/kernel/debug/clk/grp_2d_clk/rate
but they say 192
while i can see 245 in sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/gpuclk
your files are different, especially kgls_pwrctrl(you are using an old kgsl)
maybe the jb kernel needs some more edits
Click to expand...
Click to collapse
Push your code to github n link me to it n ill have a look at it
I cannot push the code to github
I can give you my files, tonight
EDIT:
the 3d oc is still there, even if it is not a real oc, it gives us a performance boost

Categories

Resources