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
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #61 (permalink)  
Old 05-02-2011, 07:36 PM
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 UPDATED 2 May 11

Quote:
Originally Posted by ziggy471 View Post
Don't worry about which freqs I'll keep, I'm going to keep them all, I'm working on making it so you can select the ones you want to turn off via sysfs.

Yes, it'll create and flash a boot.img just fine on an AOSP ROM, however, I don't have the required patches to the kernel to be fully functional.


Z
Thank you for the quick reply sir and thank you for the knowledge!
Reply With Quote
  #62 (permalink)  
Old 05-02-2011, 10:45 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 UPDATED 2 May 11

Alright guys, I got the dynamic toggling on/off of frequencies working. I still need to clean up the code, and run more test, but since 0430 is approaching to fast, I'll get it cleaned up and posted tomorrow night. Not to bad, only took 33 builds to get it all working correctly, turned out to be easier than I was trying to make it.

Just so you know somewhat of how it will work, you'll have a new sysfs file under /sys/devices/system/cpu/cpu0/cpufreq, called user_freqs. If you echo a freq to it, it will toggle it's state. If you cat it, it will show the state of ALL freqs, not just those enabled. I also modified/fixed cpufreq_stats to only display the available frequencies.

And lastly, I added two more options, if you echo 0 to user_freqs, it will reset to the kernel defaults. If you echo 1 to user_freqs, it will disable all frequencies outside of your min and max.

Don't worry, once I'm rested, I'll do a complete write-up with examples. Now if there are any Java developers that would like to write an app, that would be even better.


Z
__________________
Ziggy471.com

Government's first duty is to protect the people, not run their lives.
Ronald Reagan
Reply With Quote
This post has been thanked 2 times.
  #63 (permalink)  
Old 05-02-2011, 10:50 PM
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 UPDATED 2 May 11

Quote:
Originally Posted by ziggy471 View Post
Don't worry about which freqs I'll keep, I'm going to keep them all, I'm working on making it so you can select the ones you want to turn off via sysfs.

Yes, it'll create and flash a boot.img just fine on an AOSP ROM, however, I don't have the required patches to the kernel to be fully functional.


Z
thanks for keeping us updated, cant wait to try the new ones tomorrow ^_^
__________________
Samsung Galaxy Nexus
Reply With Quote
  #64 (permalink)  
Old 05-03-2011, 06:32 AM
Gunthermic's Avatar
Lurker
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 15
Reputation: 0
Gunthermic is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 2 May 11

Quote:
Originally Posted by ziggy471 View Post
Alright guys, I got the dynamic toggling on/off of frequencies working. I still need to clean up the code, and run more test, but since 0430 is approaching to fast, I'll get it cleaned up and posted tomorrow night. Not to bad, only took 33 builds to get it all working correctly, turned out to be easier than I was trying to make it.

Just so you know somewhat of how it will work, you'll have a new sysfs file under /sys/devices/system/cpu/cpu0/cpufreq, called user_freqs. If you echo a freq to it, it will toggle it's state. If you cat it, it will show the state of ALL freqs, not just those enabled. I also modified/fixed cpufreq_stats to only display the available frequencies.

And lastly, I added two more options, if you echo 0 to user_freqs, it will reset to the kernel defaults. If you echo 1 to user_freqs, it will disable all frequencies outside of your min and max.

Don't worry, once I'm rested, I'll do a complete write-up with examples. Now if there are any Java developers that would like to write an app, that would be even better.


Z
That's is awesome Ziggy. Guess i came up with a half way deceant idea then. LOL Or maybe you had already thought of it. I am eager to try this one out.

I agree a java app would even be better...
Reply With Quote
  #65 (permalink)  
Old 05-03-2011, 10:33 AM
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 UPDATED 2 May 11

Quote:
Originally Posted by Gunthermic View Post
That's is awesome Ziggy. Guess i came up with a half way deceant idea then. LOL Or maybe you had already thought of it. I am eager to try this one out.

I agree a java app would even be better...
I had been tossing it around in my head for awhile now, you guys just made me think about it some more. As long as nothing major is found today between myself and a few others, I'll be releasing it tonight, so stay tuned.


Z
Reply With Quote
  #66 (permalink)  
Old 05-03-2011, 10:36 AM
Gunthermic's Avatar
Lurker
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 15
Reputation: 0
Gunthermic is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 2 May 11

Quote:
Originally Posted by ziggy471 View Post
I had been tossing it around in my head for awhile now, you guys just made me think about it some more. As long as nothing major is found today between myself and a few others, I'll be releasing it tonight, so stay tuned.


Z
I stand by waiting for it..
Reply With Quote
  #67 (permalink)  
Old 05-03-2011, 06:13 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 UPDATED 3 May 11

As promised......

Bump for update.


Z
Reply With Quote
  #68 (permalink)  
Old 05-03-2011, 07:43 PM
Gunthermic's Avatar
Lurker
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 15
Reputation: 0
Gunthermic is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11

Quote:
Originally Posted by ziggy471 View Post
As promised......

Bump for update.


Z
Just saw this. Okay stupid question is the commands done via terminal on bolt or through adb on pc?

Never mind did it via terminal on computer. Worked like a champ!!!! Now someone put that into Java!!LOL

can it be scripted to do certain one one the fly though? i.e use root explorer to execute the commands?

Last edited by Gunthermic; 05-03-2011 at 08:06 PM.
Reply With Quote
  #69 (permalink)  
Old 05-04-2011, 03:40 AM
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 UPDATED 3 May 11

Quote:
Originally Posted by Gunthermic View Post
Just saw this. Okay stupid question is the commands done via terminal on bolt or through adb on pc?

Never mind did it via terminal on computer. Worked like a champ!!!! Now someone put that into Java!!LOL

can it be scripted to do certain one one the fly though? i.e use root explorer to execute the commands?
Yes, you can script it if you want, there's a link in the first post to my site and a write up all about sysfs, it doesn't include the user freqs, but you'll be able to fill in the blanks. If not, I'll do a write up and get it posted here for everyone.


Z
Reply With Quote
  #70 (permalink)  
Old 05-04-2011, 04:23 AM
Gunthermic's Avatar
Lurker
Offline
Pocket PC: Thunderbolt
Carrier: Verizon
 
Join Date: Apr 2011
Posts: 15
Reputation: 0
Gunthermic is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Kernel] Ziggy471 MECHA BETA Kernel UPDATED 3 May 11

Quote:
Originally Posted by ziggy471 View Post
Yes, you can script it if you want, there's a link in the first post to my site and a write up all about sysfs, it doesn't include the user freqs, but you'll be able to fill in the blanks. If not, I'll do a write up and get it posted here for everyone.


Z
Thanx!
Reply With Quote
Reply

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

Tags
kernel, mecha, ziggy471


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 02:37 PM.


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