PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Thunderbolt Development (http://forum.ppcgeeks.com/forumdisplay.php?f=324)
-   -   [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11 (http://forum.ppcgeeks.com/showthread.php?t=143012)

ziggy471 04-22-2011 08:59 PM

[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 04-22-2011 10:03 PM

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#

detox246 04-23-2011 01:26 AM

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

imneveral0ne 04-23-2011 01:59 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
no worries, he actually just posted it here today

eurotrash323 04-23-2011 11:50 AM

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!!

santod 04-23-2011 11:56 AM

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.

ziggy471 04-23-2011 04:16 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Quote:

Originally Posted by santod (Post 2089729)
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

asenduk 04-23-2011 04:26 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Locked up twice while browsing..
Maybe my phone cant handle 122.88MHz?

ziggy471 04-23-2011 05:09 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Quote:

Originally Posted by asenduk (Post 2089826)
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

eurotrash323 04-23-2011 11:28 PM

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.

detox246 04-23-2011 11:54 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
This kernel ran great for me today. No noticable issues, and i even dropped the voltages slightly on 768mhz and up. I can't find a kernel that compares to yours yet. Looking forward to your next beta. Keep up the excellent work!

alexcleetus 04-24-2011 01:18 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Great kernel...have been trying to find this for couple of days now but well worth the trouble...best running kernel for my phone till now..U da man Ziggy

eurotrash323 04-24-2011 01:45 AM

Can you guys check to see if long press works, home screen and app drawer. Mines not.
Thanks.

Sent from my infected ADR6400L.

detox246 04-24-2011 01:48 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Quote:

Originally Posted by eurotrash323 (Post 2090082)
Can you guys check to see if long press works, home screen and app drawer. Mines not.
Thanks.

Sent from my infected ADR6400L.

Mine works fine. Do you have homescreen locked?

eurotrash323 04-24-2011 01:50 AM

Thanks,
......weird.
Edit: it was ADW, yeah locked the homescreen by mistake at the bar, forgot about that.... :/
Sent from my infected ADR6400L.

detox246 04-24-2011 01:57 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Quote:

Originally Posted by eurotrash323 (Post 2090084)
Thanks,
......weird.
Edit: it was ADW. :/
Sent from my infected ADR6400L.

;-)

10 char

asenduk 04-24-2011 01:44 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Getting FC's on spare parts, anybody else?

Edit: re dl from market and all is well

ziggy471 04-24-2011 02:29 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
There should be 2 more to test tonight:

2.6.21 moved as close to mainline as possible, yes, I found the prox sensor problem finally, only took 20 or so builds over coffee this morning.

2.6.32.39 alpha, so far, it's very smooth.

I've had them in private beta since about 11:45 Eastern today, so far no real issues.


Z

ziggy471 04-24-2011 04:51 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel 22 Apr 11
 
Quote:

Originally Posted by asenduk (Post 2090230)
Getting FC's on spare parts, anybody else?

Edit: re dl from market and all is well

I just tested it, and I got the same, downloaded it from the market, and it works fine. Could be my version number for the kernel, since I'm testing it quite a bit, I have it create the version number from the date and time, not just the date like I used to do.


Z

imneveral0ne 04-24-2011 08:12 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
^op updated i recommend you check it out!

htowngator 04-24-2011 09:16 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
ziggy, your 4/22 kernel was pretty snappy and actually saved me battery life on the LTE radio.

I have the 2.6.32.39 radio now installed and it seems a little less quick.

asenduk 04-24-2011 09:59 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
Testing now...

imneveral0ne 04-24-2011 10:17 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
Quote:

Originally Posted by ziggy471 (Post 2090355)
Knew I forgot something......lol I was trying to get it posted prior to diner being ready, I was really hungry, so that won out.


Z

u know i got your back :-p

detox246 04-24-2011 11:48 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
Testing out the .39 kernel and everything is running nice. Dropped -50 voltage on each slot and its holding stable for me at 122.88min 1190.4max . Linpacks are down a little compared to the 4/22 kernel but quads are around the same. Will continue to run this and will report any issues i may encounter. Thanks again Ziggy

mkloharry 04-25-2011 04:52 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
Installed a couple hours ago. No problems at all. Will report back tomorrow after a day's use.

detox246 04-25-2011 12:51 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
Looking forward to some AOSP kernels now that we have a build up and running

asenduk 04-25-2011 01:15 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
wow Ziggy! the idle/standby life on the .21 kernel is AMAZING!!!! dropped only 2% for about 7-8 hours when i woke up this morning. testing now on actual usage time and will report back...

imneveral0ne 04-25-2011 07:43 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 24 Apr 11
 
OP updated again, go get em!

asenduk 04-25-2011 09:01 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Just finished testing .21 4/24 for a full day and all I gotta day is !!!!!!!!!!WOW!!!!!!!!!!
Testing the rest now..
Will any of these be compatible with CM7?

eurotrash323 04-26-2011 12:57 AM

.21 has run great. Just saw the new builds.....moving on up :-)

Sent from my infected ADR6400L.

Gunthermic 04-26-2011 06:25 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Did you take out support for smartass in the latest builds?

mkloharry 04-26-2011 07:10 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Quote:

Originally Posted by Gunthermic (Post 2091374)
Did you take out support for smartass in the latest builds?

I just installed the 4/25th kernel and I have smartass.

ziggy471 04-26-2011 07:12 AM

It's still there, and still the default.

Sent from my ADR6400L

mkloharry 04-26-2011 07:20 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Ziggy, I ran the 4/24th kernel for 24 hours with no problem at all. Very snappy and good battery life. Ran at 125 & 1497. Just installed 4/25th kernel.

Gunthermic 04-26-2011 08:08 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Quote:

Originally Posted by ziggy471 (Post 2091387)
It's still there, and still the default.

Sent from my ADR6400L

Weird I installed it this morning. While I can choose it in SetCPU, it no longer change the freq. It stayed in Max...

htowngator 04-26-2011 11:03 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Ziggy, I seem to have worse battery life from the 4/24 .39 kernel vs the new 4/25 CFS kernel.

Is BFS better battery or no? I always thought CFS got better battery life.

Also, it seems as if my LTE radio loses signal then gets full signal more often.

ziggy471 04-26-2011 11:21 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Quote:

Originally Posted by htowngator (Post 2091457)
Ziggy, I seem to have worse battery life from the 4/24 .39 kernel vs the new 4/25 CFS kernel.

Is BFS better battery or no? I always thought CFS got better battery life.

Also, it seems as if my LTE radio loses signal then gets full signal more often.

I've noticed the same thing, I think I'm going to revert some of the patches from yesterday to see if that helps.


Z

htowngator 04-26-2011 11:26 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Quote:

Originally Posted by ziggy471 (Post 2091464)
I've noticed the same thing, I think I'm going to revert some of the patches from yesterday to see if that helps.


Z

Ah, so it's not just me or my area in particular. I was thinking of going back to 4/24 .39 for now. Probably a good idea till your next patch releases?

ziggy471 04-26-2011 11:44 AM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Quote:

Originally Posted by htowngator (Post 2091470)
Ah, so it's not just me or my area in particular. I was thinking of going back to 4/24 .39 for now. Probably a good idea till your next patch releases?

That's completely up to you. You could also just drop the voltages by 50mV, back to the original levels I had set, that helps.

I'm going to take out the ck3 and AutoGroup patches this evening, so I may not actually have another released tonight, I like to test them for at least a couple hours to make sure they're working ok.


Z

Gunthermic 04-26-2011 12:07 PM

Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 25 Apr 11
 
Yea, I noticed the quicker drain onthe battery as well with the 4/25's. So I went back to the 4/24's. Plus cant get the smartass to change freq for me, stays at max all the time. Just plain weird.


All times are GMT -4. The time now is 05:07 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0