yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] demkantor:
Look at the first post (original post) there is a link to patch the services.jar for your rom
[G2 and Desire Z Android Development] MicroMonster:
Use some script on your tweak

Can i use some script on your tweak, for my flashable tweak project? :confused: Thank's before. :o​
[G2 and Desire Z Android Development] blk_jack:
These mods are over 2 years old and for an older version of Android. I don't know if you'd really want to use anything linked in the OP anymore..
[G2 and Desire Z Android Development] J-Hop2o6:
Woah, haven't seen this thread in years! Wussup blk_jack!
[G2 and Desire Z Android Development] blk_jack:
Hey hey! I'm currently getting into the app business (not actually, but I did just put out my first app). It's in my signature and it's called Hangar. I'm also on the SlimRoms team and have been for the past few years.

How's the Vision scene? My Vision's battery exploded last year :(
[G2 and Desire Z Android Development] MicroMonster:
It's no problem for me, I will modifiy some of your scripts to have a better performance. :good:​
[G2 and Desire Z Android Development] J-Hop2o6:
Sweet! Imma check it out. And I've moved on from the Vision to the Galaxy Nexus in 2012, then my current phone, the HTC One (M7) in 2013.
[G2 and Desire Z Android Development] blk_jack:
That's cool, Flinny (also from Andromadus) actually maintains the M7 for SlimRoms. darkspadez is also on the Slim team. I'm still rocking a SGS4 myself, but like I mentioned before, I'm gravitating more towards app dev rather htan hacking ROMs. Much cleaner ;)
[G2 and Desire Z Android Development] J-Hop2o6:
Oh nice. I actually enjoy the current Sense UI. It's not laggy, bloated, or heavy. It's very smooth.

But yea, good luck with your app dev'ing. You have a lot of new api's to look at with the new Android L/5.0
[G2 and Desire Z Android Development] Kéno40:
Test 2 !

:D
[G2 and Desire Z Android Development] demkantor:
Hmmmm....
[G2 and Desire Z Android Development] dibi91:
Mmmm.....i'm not really sure because since i got my desire z i used custom rom based on cyanogenmod, where the layout where missing....today whrn i came back from university i'll install the virtuous rom(gingerbread + sense 2.1) and see how they work...

Really great thanks for your job!!!

Edit: ok, i didn't resist, i'm on virtuos sense during lesson...

The function "xt9" open a pop up menu where we can choose the language of keyboard...not so usefull...

The function of the space is fantastic...if we have a vocal and then press fn+space we get the vocal accented(i don't know if accented exist in english, so is like à-è-ì-ò-ù )

Hope i had explain it well....

Thanks again!
[G2 and Desire Z Android Development] blk_jack:
Thanks very much for your feedback! I've added Italian support to the Enhanced Keymaps package. fn+space now works exactly as you've described above adding a grave accent to vowels typed after!
[G2 and Desire Z Android Development] dibi91:
Thank you very much...

Only one thing, in the original layout from htc we press fn+space after the wovels and not before...but is the same thing! :-)
[G2 and Desire Z Android Development] blk_jack:
Yea the HTC keyboard is responsible for that layout, rather than the actual Android keymap. That means I have to use android's keymap rules. Please let me know how it goes!
[G2 and Desire Z Android Development] patek:
Dear Blk_jack,

on the 2.3 Android I used this vision-keypad-wwe.kl file.

I put this file into the user/keylayout dir, replacing the original file.

I did not change any .kcm file

I tried the same method on the ICS, without success.

Should I change the vision-keypad-wwe.kcm file too?

What are the rules the change the content of the .kcm file?

Thanks
[G2 and Desire Z Android Development] blk_jack:
ICS has a different keymap layout than GB. Google has some docs on it so be sure to check them out.
[G2 and Desire Z Android Development] dibi91:
nothing to say, it's going really good!!

I never thank you enogh!

Do you tink it also work with other ics roms?
[G2 and Desire Z Android Development] blk_jack:
Yep, it should work fine with all ICS roms
[G2 and Desire Z Android Development] kierren:
When I go to choose a governor in OC/UV Beater2 v1.7 I do not see smartass or lagfree. I am using the kernel that comes with Beta 1 and I flashed the a13 non-Tiamat Virtuous OC Daemon zip.

Did I install the wrong version of something, or am I missing something I need to enable? Thanks in advance for any help!
[G2 and Desire Z Android Development] dibi91:
another question, why we should use the supercharger script? i'm running audacity beta 1 @800 mhz without oc daemon and it's smooth and had 100-120 mb free ram
[G2 and Desire Z Android Development] ohhdavid:
The OP downloads still say a13... are they really b1?
[G2 and Desire Z Android Development] blk_jack:
You're actually right. I just spoke w/ Flinny & apparently there was some confusion over which kernel came w/ Andromadus Audacity b1 stock. I've created a new flashable zip to reflect those changes & uploaded it in the OP. Please download that zip & flash over, you'll see the changes reflected appropriately in OC/UV Beater.

I find that without the patched services.jar + V6 Supercharger I get too many launcher redraws/refreshes. This fixes that.

I've just updated the zip filenames in the OP to reflect the new version. :)
[G2 and Desire Z Android Development] Kéno40:
Hi, I flashed the files on Beta 1 and I dont see the governor in the andromadus parameters. It still show Ondemand.

Is it silent?

Does it need to install OC/UV beater?

Or simply bad flash?
[G2 and Desire Z Android Development] blk_jack:
The stock kernel for Andromadus Audacity beta 1 does not support lagfree or smartassv2. In alpha 13 it did but that is no longer the case. If you want those other governors I highly recommend the tiamat kernel and flashable zip in the OP.

Hope that helps!
[G2 and Desire Z Android Development] Kéno40:
Ok, I flashed the tiamat.zip you give, but the kernel is not inside?

How do I install it?
[G2 and Desire Z Android Development] blk_jack:
No, the kernel is found on the tiamat website. Download the latest version & flash it.
[G2 and Desire Z Android Development] Kéno40:
OK done.

I will share my opinion on it later.

It seem to let the freUquency really higher than it's needed. My battery will be sacrified, I think...

On andro13, just putting lagfree, it was great! More than 24 H of use.
[G2 and Desire Z Android Development] Mr. Equalizer:
Hi,

have you changed your Busybox before SuperCharging?

I just changed the services.jar and supercharged my phone, all works well :)
[G2 and Desire Z Android Development] haxn2:
yes!

i flashed "Enhanced_Keymaps_r1-Andromadus_Audacity_b1.zip" over "Andromadus Audacity Beta 1" (german language).

works like a charm and is easy to install. (just recovery flash)

i think ten thumbs up!

thx blk_jack & zub@Freenode!

greets

haxn
[G2 and Desire Z Android Development] blk_jack:
Glad you like it! I would love to include other languages in the keymap file too, so if anybody reading this doesn't have English as their first language and would like to help out, please let me know :)
[G2 and Desire Z Android Development] Kéno40:
I could help for the french version. Even spanish if it's not complicated...

For the kernel, what are the predefined frequencies of this kernel?

I would like to slow down min to 192, but I see the 307 MHz is written as 307200 hz so I don't want to freeze everything putting a bad frequency....
[G2 and Desire Z Android Development] blk_jack:
The reason I've set it to the frequencies I have is in reference to this post linked in the OP. To quote it:

The milestone has 256MB RAM and the G2/DZ 512MB. From testing I've found that ~300 is a very reasonable number for our devices and that my battery life is very good for ICS.

To answer your question though, I've described how to find the available frequencies of the kernel in the OP, so just take a look, go into terminal and cat that file. :)
[G2 and Desire Z Android Development] Kéno40:
I really had a GREAT battery life in A13 with lagfree and a 192 min on sleep.
[G2 and Desire Z Android Development] Kéno40:
OK, Thanks

For the translation part, what do you need from me?

For the kernel, I cooked your zip to put lower values.

I change it in the files located here : /system/etc/virtuous_OC

But I can see that the values "on wake" never go under 460. Is there some other changes to do on your files before flashing?
[G2 and Desire Z Android Development] blk_jack:
Just make sure you're putting the correct frequencies available to your kernel in the file(s). Also you must restart the OC daemon after changing values in those files.
[G2 and Desire Z Android Development] Kéno40:
I put correct values in the zip file then i'd flashed it again

It should work, no?
[G2 and Desire Z Android Development] blk_jack:
Oh, did you sign the newly created zip? I assume it flashed okay? Are the files reporting your changes correctly in /system/etc/virtuous_os after the flash?
[G2 and Desire Z Android Development] Kéno40:
no - yes - yes

:)

I think it's just the tiamat kernel witch keep frequencies high
[G2 and Desire Z Android Development] blk_jack:
Hm, possibly. Maybe try monitoring the frequency with ADB while idling on the homescreen? What governor are you trying to lower the min freq for?
[G2 and Desire Z Android Development] Kéno40:
I put lagfree on sleep and wake

I'm not on a computer with adb right now. And i've struggling with my xubuntu at home for a few days so....

I'll try this WE...

---------- Post added at 07:32 PM ---------- Previous post was at 07:12 PM ----------

I could do that with the terminal emulator, no?

I would have to type su first?
[G2 and Desire Z Android Development] blk_jack:
yes, no :)
[G2 and Desire Z Android Development] csolanol:
I flashed tiamat kernel and your	Virtuous_OC_Daemon-Andromadus_Audacity_b1-tiamat.zip patch. I didn't touch the values in /system/etc/virtuous_oc/ files and in sleep mode the cpu freq never goes under 537600. I tried to change the sleep_min_freq file to 245760 and got the same results, just 537600. Same issue when the phone is awake but instead of 537600 it stays at 460800. Governors in sleep and wake mode are ok.

Any information about this issue?.

Ty.
[G2 and Desire Z Android Development] evilcuber:
This download link for v6 rc7 http://dl.xda-developers.com/attach...6_SuperCharger_for_Android-Update9_RC7.sh.pdf dosent work for me. can someone post a mirror?
[G2 and Desire Z Android Development] blk_jack:
http://xdaforums.com/attachment.php?attachmentid=947993&d=1331788695
[G2 and Desire Z Android Development] Kéno40:
The link works for me.

Try with an other browser
[G2 and Desire Z Android Development] blk_jack:
I'm doing extensive tests right now with the old & new tiamat kernels, will report back in a few
[G2 and Desire Z Android Development] blk_jack:
So I just finshed up a good 8 hours of benchmarking, tweaking & trial/error. Thanks to Cimer in #g2ics for helping me out w/ some information on the stock kernel. SmartassV2 was actually going well below 537600 and in deep sleep almost all the time as expected. Lagfree, however, had less than favorable default sampling_rates and did not work well w/ the frequencies available to the kernel.

I instead switched to SmartassV2 for the wake governor and tweaked the sleep_ideal_freq and wake_ideal_freq values to find what I think is a sweet spot for our devices.

SmartassV2 works in a way where it will find an "ideal" frequency in both waking and sleeping states. It will then ramp up & down at the appropriate rates. SmartassV2 however doesn't support limiting the upper frequency during sleep, so that's what Virtuous OC is for. However, as I stated above, it does try to always go to the ideal frequency while sleeping.

You'll also find that using SmartassV2 for wake is a lot better at staying in the low frequencies, which improves battery life by not staying at higher frequencies longer than necessary with slower ramp down. (lagfree)

So not only did the changes reflect a substantial savings in battery, they also improved performance in Anbutu by a few hundred points, on average, from the previous version.

I've updated BOTH the stock & tiamat packages. Stock has had its default frequencies lowered but otherwise the experience won't be that much different. Tiamat's Virtuous OC Daemon package, however, is a completely new experience. Default frequencies are lowered, the new wake governor is much improved and I've overhauled the parameters for SmartassV2 in every way.

Anybody already using the Tiamat kernel with the Virtuous OC Daemon flashable zip should absolutely upgrade to Revision1. (See OP)
[G2 and Desire Z Android Development] csolanol:
Same issue with revision 1, in sleep mode the min freq stays at 537600 and is awake mode stays at 844800, rarely it goes down to 768000.

Is just me the only one with this issue?

Testing this while usb cable is connected to the computer.

Edit: Changing to conservative governor in sleep mode it slows down to 307200 and stays.

Edit1: Changed to Audacity stock kernel and all is working as expected.
[G2 and Desire Z Android Development] Kéno40:
On wake, it seems to go down to 368, with little jumps.

I didn't find yet how to see the value in sleep mode with the terminal emulator....

@blk_jack : again you put lower values so high!!! :p
[G2 and Desire Z Android Development] blk_jack:
Guys, the kernel itself keeps track and stores the actual time spent at each frequency level. Use a tool like CPUspy to get an accurate reading of this instead of having the phone plugged in and trying to read terminal output with CLI commands. You ramp up the CPU just doing that.

Doing a 2 minute test while using the phone CPUSpy reports 50% of the CPU at 368(min) and the other 50 split from 23% at 768, 11% at 844 and 15% at 1209. The ideal wake frequency is 800MHz, which is a mix of battery and performance (remember, the screen uses up the vast majority of your battery when using the phone, so clocking down a few hundred MHz has little effect). During screen off the phone clocks down to 300MHz minimum but goes into deep sleep very quickly (which is much less than 300).

As for the frequencies being "too high", for our devices anything under 300 will cause the phone to take longer on the task and end up eating more battery life. The idea is that ultimately you want the phone to be in deep sleep as often as possible when idle. If you put the phone to 200MHz, it will come out of deep sleep & take longer to do the task than if you were using 300MHz and so you end up ultimately staying out of deep sleep longer and using more battery.

Edited the post with some numbers. Use the right tools to get accurate results :)
[G2 and Desire Z Android Development] Kéno40:
It really go down for me
[G2 and Desire Z Android Development] martx:
Just a quick reassurance, I can use the virtuous OC stock kernel zip even without the supercharger?

Sent from my Motorola RIZR
[G2 and Desire Z Android Development] blk_jack:
Absolutely, all the tweaks work independently of eachother.
[G2 and Desire Z Android Development] blk_jack:
Revision 2 of Virtuous OC Daemon for Tiamat kernel has been released! It has been tweaked for better battery life. Thanks to the feedback from folks in here!
[G2 and Desire Z Android Development] martx:
Thanks!

Sent from my Motorola RIZR
[G2 and Desire Z Android Development] Kéno40:
Yeeahhh Thanks

Rev 2 is for me!!!
[G2 and Desire Z Android Development] jspina:
AWESOME!! I installed this and have 50 % battery life after 14 hours!
[G2 and Desire Z Android Development] Aumkar:
Okay I seem to have an issue. The phone got warm during phone calls and as a result its been barely four hours since I hooked up the battery and after a couple of hours of calls I'm down to 27% on my 1800mAh battery :(

Also forgive the run ons please.

My HTC Vision sez hai!
[G2 and Desire Z Android Development] David Dee:
I flashed tiamat plus the daemon last night, no other changes. Doesn't seem to be working well for me, the phone is really laggy and freezing up regularly. Was running very well before. Any suggestions?

---------- Post added at 11:57 AM ---------- Previous post was at 11:13 AM ----------

Anyone know where to find a zip of the stock kernel? Thanks.
[G2 and Desire Z Android Development] Aumkar:
Just reinstall b1 again. And then install the modded services.jar and re supercharge if need be.
[G2 and Desire Z Android Development] David Dee:
I would prefer not re-flash the whole rom if possible. Flashing the kernel and oc beater should be enough.
[G2 and Desire Z Android Development] Aumkar:
Flashing the ROM again doesn't hurt your settings at all.
[G2 and Desire Z Android Development] blk_jack:
Not sure what this could be, which tiamat kernel did you end up flashing? I've had zero issues with the new one, and before I upgraded to b1 I had a 10 day uptime using the first tiamat kernel from Feb. Did you change anything that might affect cpu usage? Conflicting apps or tweaks maybe? What does android list as using the battery? Is anything causing wakelock?

Would need more info on this. The only thing I can think of is a bad flash of the kernel? Freezes may also happen if you flash the wrong virtuous oc daemon and the kernel is trying to use frequencies and governors that don't exist.

To both of you guys, logcat is helpful to see any error messages. Virtuous will also log which frequency and governor it sets on screen on/off, etc.

This should go without saying, but try wiping dalvik and cache from recovery after flashing the kernel.
[G2 and Desire Z Android Development] blk_jack:
Great to hear, did you use the Tiamat kernel?
[G2 and Desire Z Android Development] David Dee:
Reflashed the rom and back to smooth like before. Thanks.

Sent from my Desire Z using the XDA App
[G2 and Desire Z Android Development] adamz667:
I was using SetCPU with Tiamat kernel on last few days and it was not to bad and I was encounter good battery life, but with Virtuous Daemon there is a lot better performance. Now I will test battery life and see if it will be better.
[G2 and Desire Z Android Development] David Dee:
Definitely flashed the right governor and kernel match. Flashed with 4 ext and wiped dalvik. Used the latest version of Tiamat kernel. The freezes were mainly in gmail and browser apps, but the launcher was had significantly more lag than prior to flashing. Also, used 25% battery life in 30 mins. Something must have gone wrong. I have reflashed the ROM and Gapps and now it is running like before.
[G2 and Desire Z Android Development] blk_jack:
Yes, very strange! Wish I could help better debug the issue as I've never encountered anything even remotely similar to that.
[G2 and Desire Z Android Development] csolanol:
Sorry, i am late. Btw here is a stock audacity b1 kernel flashable zip.

http://db.tt/cuYbq0Bn
[G2 and Desire Z Android Development] Aumkar:
I don't think it was conflicting apps or anything. Temperature of the battery was rather high though ( around 39C; it's hot here in India ) so that wouldn't have helped even though I was sitting in the AC.

And I flashed the latest kernel. I'll do more testing tomorrow and day after.

And Android listed voice calls at the highest. At the time CPU Spy showed only 30-40 mins @ 1.2Ghz, and the rest was low speed and deep sleep.

Well, this is convenient. Thanks.
[G2 and Desire Z Android Development] wrapper:
I've been having really poor battery life (~8hr max) with the previous OC on stock kernel, just flashed R1 so will see if that improves it.
[G2 and Desire Z Android Development] blk_jack:
When reporting excessive battery drain, including statistics is always helpful. (Battery Monitor Widget and Better Battery Stats). If you get drain when the screen is off, it is almost always the result of a rogue app causing wakelock (I'm looking at you, Exchange Services!). Better Battery Stats will tell you exactly what is causing wakelock and for how long.

Saying ~8hrs max, though, is not helpful and there's nothing I can do to address your problem. Certainly for me I get great battery life that lasts much longer, however, my phone only lasts ~5hrs with the screen on (On *any* ROM, any kernel). So if I had the screen on for 4.5 hrs and said "I only get 8hrs max" that would be perfectly normal and expected with a battery like the one in our devices.

The reason I'm saying this is because ultimately I would like to help people who have issues, even if it's not the fault of the OC daemon (which it most likely isn't). But my hands are tied unless you're able to give me at least some info that I can use to help you effectively problem solve.
[G2 and Desire Z Android Development] Aumkar:
The Tiamat kernel with R2 did not help at all. In fact, it thoroughly messed up my phone. I was getting freezes like crazy, and I've had to do six battery pulls in a day, especially when I needed the phone and GPS. The phone would get insanely hot for some reason, which it never did on the stock kernel.

So I just flashed the stock kernel, etc. And now I'll test my phone today.
[G2 and Desire Z Android Development] jspina:
yes. I used the new tiamat kernel. sorry, I should have posted that.

And today I got 21 hours with 23% left. same setup. Thanks for posting all of this for us to find it easily. I really appreciate it. :)
[G2 and Desire Z Android Development] blk_jack:
This sounds like a bad kernel flash. Something is definitely abnormal and wouldn't be caused unless something went wrong. I don't suppose you monitored your wakelock looking if any apps were running rogue?
[G2 and Desire Z Android Development] Aumkar:
I couldn't, since I use Spare Parts+. Won't give me a GB style wakelock stat.
[G2 and Desire Z Android Development] Realm11984:
I've been running this for the past 8hrs and am totally stoked. Its my first time with V6 and I am truly surprised at the difference. Thanks for the Tweaks! All went well!
[G2 and Desire Z Android Development] zappoo:
Am using Andromadus Audacity since yesterday. Have run the V6 tweaks etc.. but am confuseda bout these 2 different kernels.. Tiamet and the normal one.. what are they? What difference do they make?

Will one be better than the other in terms of battery?
[G2 and Desire Z Android Development] blk_jack:
The main different is that tiamat is a fork of the 7x30 CM kernel with added governors and such. To view the full list of changes/features look to the tiamat website. The main difference I would say is that with those added governors it affects the way the kernel regulates when and how to increase and decrease the operating frequency (speed) of the CPU. When applying the appropriate tweaks to governors not included in stock (in this case, smartassV2), I believe the device has been made more efficient in conserving battery life while maintaining performance.

With all tweaks, though, YMMV. Depending on how you use your phone you may not notice a huge difference, or it may be significant enough for you to prefer using tiamat.

In beta 2 Andromadus will have a highly modified kernel thanks to the work of fyodor. He's incorporating a variety of things from tiamat, including smartassV2, so the Virtuous OC Daemon package for beta 2 will most likely work for both Andromadus Audacity beta 2 stock AND tiamat without requiring the need for separate packages/configs.

Of course when that happens I'll keep this thread and the packages available updated :)
[G2 and Desire Z Android Development] David Dee:
That was exactly the same experience I had with Tiamat + R2. I reinstalled the stock kernel and everything worked again. Something if off there.
[G2 and Desire Z Android Development] :
recent apps

@blk_jack:

http://xdaforums.com/showthread.php?t=1548306

wouldn´t this be a great tweak?

here some source code:

https://github.com/ThePlayground/an...mmit/0377e4b83e616a68395a82ba902d2757a16627d5
[G2 and Desire Z Android Development] blk_jack:
Very cool, will try to have this mod out by tomorrow!
[G2 and Desire Z Android Development] blk_jack:
In an attempt to figure out how this could happen, lemme ask you guys a few questions.. are you running SetCPU? Are you running zeppelinrox's KAK script? Would you be running anything that could be specific to the CPU or memory?