PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Android > Android HTC Devices > HTC Thunderbolt > HTC Thunderbolt Development

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2011, 08:59 PM
ziggy471's Avatar
Geek with a Gun
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
Location: NoVA
 
Join Date: Oct 2009
Posts: 744
Reputation: 6575
ziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
[Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11

3 May 11

This is a big change, it's something I had been thinking about for awhile, and some of you mentioned taking out frequencies, so instead of making the choice of which frequencies to get rid of for everyone, I decided to proceed with my previous plans. This is just a sysfs implementation, there is no GUI for it, I made a promise to myself many years ago to never program Java again if I didn't have to, so I'll leave a GUI to someone else.

Change log:
Added the ability to selectively enable/disable frequencies (See Post #2 for usage)
Opened up ALL frequencies in the table
WARNING: 24576 and 61440 can cause issues with ADB loosing connection.

md5sum:
b68be87b04cd3ccff89b47378b0f3788 ztest-MECHA-BFS-050311-1759.zip
0a842e8828a056d960fac2611b2e1cfb ztest-MECHA-CFS-050311-1759.zip

Downloads:
Beta Kernel MECHA BFS 3 May 11
Beta Kernel MECHA CFS 3 May 11


2 May 11

Change log:
Changed to the gnu compiler from the Android NDK compiler
Using AnyKernel updater instead of flashing a full boot.img

md5sum:
871a44dce11bd08f189e86630c1ddd3c ztest-MECHA-BFS-050211-0545.zip
78ece700c4477f73612bc03087cb84b6 ztest-MECHA-CFS-050211-0545.zip

Downloads:
Beta Kernel MECHA BFS 2 May 11
Beta Kernel MECHA CFS 2 May 11


1 May 11

I reverted back to the bad source tree, fixed the issue with the proximity sensor, just 1 line of code in the IRQ power management, better than how I had worked around it prior. I'm not seeing the run away processor that had arose in the last builds. Sorry for the long time between builds, I was without the TB for 2 days, if your data goes out, call VZW, don't assume it's your phone and re-activate your INC. lol

Change log:
Reverted source tree, applied all the patches again
Lowered the proximity sensor voltage by .5V, still more room on that

md5sum:
7bddb2c8348061bd2db98fe14fcfa4b3 ztest-MECHA-BFS-050111-0728.zip
7566cf296998fe3784e010f4f3c36946 ztest-MECHA-CFS-050111-0728.zip

Downloads:
Beta Kernel MECHA BFS 1 May 11
Beta Kernel MECHA CFS 1 May 11



25 Apr 11

Alright, been a little busy today, ok, not really that bad, it's just a long list. Since I finally got that prox sensor issue taken care of, I went ahead and decided to get everything else back in. I'm getting it closer to a merge with Frankenstine, should happen in a few weeks hopefully.

25 Apr 11 Changelog:
2.6.32.39 for all
Fixed the issue with SpareParts FCing, my version number was to long
Implement backported 2.6.38 Automatic process group scheduling patch
Implement BFS 401 and backported ck3 patchset from 2.6.38
[CPUFREQ] ondemand: Refactor frequency increase code
[CPUFREQ] ondemand: Fix ondemand to not request targets outside policy limits
[CPUFREQ] ondemand: add sampling_down_factor tunable to improve ondemand performance
[CPUFREQ] ondemand: Add filter for input events
[CPUFREQ] ondemand: Featurize the input event handler
[CPUFREQ] ondemand: Set sampling_down_factor to 50
[CPUFREQ] interactive: fix crash on CPU shutdown
Optimized ARM RWSEM algorithm
Enabled HW3D

md5sums:
e98174c7b75293d8483db7bf39ed6a7a ztest-MECHA-BFS-042511-1934.zip
9bb4432d422e0d745b35bab11ec5f39e ztest-MECHA-CFS-042511-1934.zip

Downloads:
Beta Kernel MECHA BFS 25 Apr 11
Beta Kernel MECHA CFS 25 Apr 11


24 Apr 11

I have 2 kernels for you guys to play with tonight.

1. 2.6.32.21, I was finally able to find and at least work around for now, the issue with the proximity sensor. Once I figured that out, I was able to continue to patch it closer to mainline, in that are a lot of other 'tweaks' some are doing.

2. 2.6.32.39, Since I was able to patch the kernel closer to mainline, I was able to patch up to 2.6.32.39 much easier, only 1 fail, and a couple of fuzz's. This seems to be the smoothest of the two, at lest in my opinion.

What I need from you guys is what is working and not working. Also, those that may have random reboots, just up the minimum frequency one step, some phones aren't working so good at 122MHz. I also increased the voltage on both kernels by +50mV at all levels.

md5sum:
6520b06ea33eacbcd69ffe908b8ac0b2 ztest-test-042411-0757-test.zip
5f7ee85129410035049fa98ba7762494 ztest-test-042411-1129-test.zip

Downloads:
24 Apr - 2.6.32.21
24 Apr - 2.6.32.39


Z

22 Apr 11

Nothing to special in this kernel, just some of the usual patches. You should see a good battery life and performance. The frequency table is a lot smaller than I had in previous versions out there, and I've capped it at 1728 MHz, to many issues above that right now. The original max frequency of the 'Bolt was 1024 MHz, not really, 19200 * 53 != 1024000, however, since I don't have that in the table, the new default is 1036.8 MHz. From 806.4 MHz up to 1728 MHz, the table progresses in multiples of 76.8 MHz.

So here's the table:
122.88 MHz (850 mV)
184.32 MHz (850 mV)
192.00 MHz (850 mV)
245.76 MHz (850 mV)
368.64 MHz (875 mV)
768.00 MHz (900 mV)
883.20 MHz (1000 mV)
960.00 MHz (1025 mV)
1036.8 MHz (1050 mV) Default Max
1113.6 MHz (1075 mV)
1190.4 MHz (1100 mV)
1267.2 MHz (1125 mV)
1344.0 MHz (1150 mV)
1420.8 MHz (1225 mV)
1497.6 MHz (1250 mV)
1574.4 MHz (1350 mV)
1651.2 MHz (1350 mV)
1728.0 MHz (1350 mV)


Change log so far:

2.6.32.21 (Yeah I know, had to start over from scratch)
CIFS, EXT4, TUN built in
Kernel LZMA support
Conservative Governor 50K sampling
Interactive Governor
Smartass Governor with working sysfs interface (default)
AIC3254 tweaks (Shuts off the audio chip to save power)
Updated acpuclock-7x30.c as close to Aurora Forums as possible
VDD sysfs interface
Lower Wi-Fi voltage
OverClock/UnderVolt
Turned off almost all Debug and Tracing (That was a pain, HTC doesn't understand that not everyone wants debug on)
Default range - 122.88 MHz - 1036.8 MHz
Capable range - 122.88 MHz - 1728.0 MHz


If you would like to change the voltages, or use sysfs for what it's intended, I have a nice write-up on my site here. I explain in almost to much detail how to use the sysfs inerface to control the voltage levels, the frequency table, etc.


Performance:
Linpack:
1036.8 MHz - 40.131
1728.0 MHz - 59.288
Quad:
1036.8 MHz - 2407
1728.0 MHz - 3056

md5sum:
20c41cb5ff2e6df4d83af83e462579c4 ztest-test-042211-1900-test.zip

Click here to download


Z
__________________
Ziggy471.com

Government's first duty is to protect the people, not run their lives.
Ronald Reagan

Last edited by ziggy471; 05-03-2011 at 06:12 PM.
Reply With Quote
This post has been thanked 11 times.
  #2 (permalink)  
Old 04-22-2011, 10:03 PM
ziggy471's Avatar
Geek with a Gun
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
Threadstarter
Location: NoVA
 
Join Date: Oct 2009
Posts: 744
Reputation: 6575
ziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
user_freqs Usage

user_freqs usage:
sysfs file - /sys/devices/system/cpu/cpu0/cpufreq/user_freqs

NOTE: It is not possible to disable the policy min or max.

To see the current state of the frequency table:
cat /sys/devices/system/cpu/cpu0/cpufreq/user_freqs

sh-3.2# cd /sys/devices/system/cpu/cpu0/cpufreq/
sh-3.2# cat user_freqs
24576: Enabled
61440: Enabled
122880: Enabled
184320: Enabled
192000: Enabled
245760: Enabled
368640: Enabled
768000: Enabled
806400: Enabled
883200: Enabled
960000: Enabled
1036800: Enabled
1113600: Enabled
1190400: Enabled
1267200: Enabled
1344000: Enabled
1420800: Enabled
1497600: Enabled
1574400: Enabled
1651200: Enabled
1728000: Enabled
sh-3.2#
To enable/disable one frequency:
This is a toggle, if the frequency is enabled, it will disable it, if it's disabled, it will re-enable it.
echo 24576 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs

sh-3.2# echo 24576 > user_freqs
sh-3.2# cat user_freqs
24576: Disabled
........
sh-3.2# echo 24576 > user_freqs
sh-3.2# cat user_freqs
24576: Enabled
........
sh-3.2#
To disable ALL frequencies outside of the current policy minimum and maximum:
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs
To restore the kernel defaults:
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/user_freqs

sh-3.2# echo 1 > user_freqs
sh-3.2# cat user_freqs
24576: Disabled
61440: Disabled
122880: Enabled
184320: Enabled
192000: Enabled
245760: Enabled
368640: Enabled
768000: Enabled
806400: Enabled
883200: Enabled
960000: Enabled
1036800: Enabled
1113600: Disabled
1190400: Disabled
1267200: Disabled
1344000: Disabled
1420800: Disabled
1497600: Disabled
1574400: Disabled
1651200: Disabled
1728000: Disabled
sh-3.2# echo 0 > user_freqs
sh-3.2# cat user_freqs
24576: Enabled
61440: Enabled
122880: Enabled
184320: Enabled
192000: Enabled
245760: Enabled
368640: Enabled
768000: Enabled
806400: Enabled
883200: Enabled
960000: Enabled
1036800: Enabled
1113600: Enabled
1190400: Enabled
1267200: Enabled
1344000: Enabled
1420800: Enabled
1497600: Enabled
1574400: Enabled
1651200: Enabled
1728000: Enabled
sh-3.2#
Notice that cpu stats will only show the enabled frequencies:
sh-3.2# echo 1 > user_freqs
sh-3.2# cat user_freqs
24576: Disabled
61440: Disabled
122880: Enabled
184320: Enabled
192000: Enabled
245760: Enabled
368640: Enabled
768000: Enabled
806400: Enabled
883200: Enabled
960000: Enabled
1036800: Enabled
1113600: Disabled
1190400: Disabled
1267200: Disabled
1344000: Disabled
1420800: Disabled
1497600: Disabled
1574400: Disabled
1651200: Disabled
1728000: Disabled
sh-3.2# cat stats/time_in_state
122880 128126
184320 2060
192000 0
245760 27910
368640 0
768000 0
806400 0
883200 0
960000 0
1036800 4948
sh-3.2#

Last edited by ziggy471; 05-04-2011 at 11:57 AM.
Reply With Quote
  #3 (permalink)  
Old 04-23-2011, 01:26 AM
detox246's Avatar
N00b
Offline
Pocket PC: Thunderbolt, d1
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 26
Reputation: 0
detox246 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

haha.... been checking your site all day and didn't realize till now it was posted here. downloading now
Reply With Quote
  #4 (permalink)  
Old 04-23-2011, 01:59 AM
imneveral0ne's Avatar
When will then be now?
Offline
Pocket PC: Samsung Galaxy Nexus
Carrier: Verizon
Location: Wyandotte, MI
 
Join Date: Oct 2007
Posts: 1,860
Reputation: 1591
imneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on repimneveral0ne is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to imneveral0ne Send a message via MSN to imneveral0ne Send a message via Yahoo to imneveral0ne
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

no worries, he actually just posted it here today
__________________
Samsung Galaxy Nexus
Reply With Quote
  #5 (permalink)  
Old 04-23-2011, 11:50 AM
eurotrash323's Avatar
Lurker
Offline
Pocket PC: HTC Mecha
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 9
Reputation: 0
eurotrash323 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

Damn glad to find you here, thanks to the link in the Virus rom thread.
Loaded up the kernel last night and played around on the phone for about an hour and had absolutely no hickups. It sat with no data connection all night and only lost a few %'s of battery. I'll let you know if I run into anything today.

Thanks!!
Reply With Quote
  #6 (permalink)  
Old 04-23-2011, 11:56 AM
santod's Avatar
"MODS"
Offline
Pocket PC: Touch Pro 2/Thunderbolt
Carrier: Verizon Wireless
Location: NorCal
 
Join Date: Sep 2008
Posts: 3,984
Reputation: 22765
santod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

Hey there old buddy. Great to see you around these parts again.
I had seen you were active with Thunderbolt in hand, when I saw your GPS lock time fix over at XDA.
Glad to see you are working on other projects as well.
I may have to try out some of these kernels as you release them.

Anyhow, mostly just wanted to say hey and thanks for your efforts, as always. Hope things are well for you and I may hit you up on Messenger again here soon if I catch you on there. It's been a while.
__________________

~My Ultimate WVGA Wallpapers Collection~
Donations accepted not expected!



Last edited by santod; 04-23-2011 at 12:05 PM.
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 04-23-2011, 04:16 PM
ziggy471's Avatar
Geek with a Gun
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
Threadstarter
Location: NoVA
 
Join Date: Oct 2009
Posts: 744
Reputation: 6575
ziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

Quote:
Originally Posted by santod View Post
Hey there old buddy. Great to see you around these parts again.
I had seen you were active with Thunderbolt in hand, when I saw your GPS lock time fix over at XDA.
Glad to see you are working on other projects as well.
I may have to try out some of these kernels as you release them.

Anyhow, mostly just wanted to say hey and thanks for your efforts, as always. Hope things are well for you and I may hit you up on Messenger again here soon if I catch you on there. It's been a while.
That GPS mod was something I found back when I had the Incredible, someone just posted it after I mentioned it in IRC one night.

Yeah, I've missed chatting with you on MSN, I see you sign in every now and then, but I'm always in the middle of something, and forget to start a chat.

There will be more kernels coming soon, most likely another one tonight. I'm slowly starting to move towards mainline, and so far the prox sensor is still working, so I think I'll release another one to the wild.


Z
Reply With Quote
  #8 (permalink)  
Old 04-23-2011, 04:26 PM
asenduk's Avatar
PPCGeeks Regular
Offline
Pocket PC: EVO & EPIC
Carrier: Sprint
Location: Houston
 
Join Date: Mar 2008
Posts: 184
Reputation: 135
asenduk is keeping up the good workasenduk is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

Locked up twice while browsing..
Maybe my phone cant handle 122.88MHz?
__________________
EVO 4G running rainfreak's Senseless v.1.1
EPIC 4G running stock rom for now (c'mon Sprint!)
]
Reply With Quote
  #9 (permalink)  
Old 04-23-2011, 05:09 PM
ziggy471's Avatar
Geek with a Gun
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
Threadstarter
Location: NoVA
 
Join Date: Oct 2009
Posts: 744
Reputation: 6575
ziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the communityziggy471 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11

Quote:
Originally Posted by asenduk View Post
Locked up twice while browsing..
Maybe my phone cant handle 122.88MHz?
Most likely it's a voltage issue, I dropped the voltages considerably from stock. They work fine on my phone and imneveral0n's, however that's not everyone's. I also don't overclock much at all, just every now and then for benchmarks, then I revert back to the stock settings in the kernel.

I'll go ahead and up the voltage table a little higher tomorrow morning to see if that helps you, but in the mean time, you can adjust the voltages up by yourself, I'd recommend around +50mV to start with. There's a link in the first post to my site where I explain in great detail how to do that.


Z
Reply With Quote
This post has been thanked 1 times.
  #10 (permalink)  
Old 04-23-2011, 11:28 PM
eurotrash323's Avatar
Lurker
Offline
Pocket PC: HTC Mecha
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 9
Reputation: 0
eurotrash323 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Has run really good for me today. One strange thing....my flash light came on and wouldn't turn off until i rebooted. Ran GPS for a good 20 minutes going in and out of 4g and it stayed great. Pretty normal use other than that. No reboots.
Thanks Ziggy!

Sent from my infected ADR6400L.
Reply With Quote
Reply

  PPCGeeks > Android > Android HTC Devices > HTC Thunderbolt > HTC Thunderbolt Development

Tags
kernel, mecha, ziggy471

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:11 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com