yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] blackknightavalon:
That's a very good question. PyroMod has it natively but the dev got rid of his Vision and updates aren't very frequent (hint hint).
[G2 and Desire Z Android Development] nik3r:
michaelbrender:

Batery life is a combination of several factors.

1) Umaro kernel has smartass governor, that means much better responsiveness (like interactive gov) but it also scales back down while you work. I fine-tuned this behaviour to always sit on the right frequency for the job and slow down up to 768MHz when it's pointless to run higher. According to my tests 768MHz is the least frequency where video playback doesn't stutter, going any lower would reduce UI smoothness as well.

I recommend using screen-off profile with SCARY governor. Even though the smartass has built-in screenoff profile, it is not as efficient in ramping down.

2) memory manager is tweaked so that it kills useless background apps with more rigor, easing up on CPU during intent broadcasts and the likes. This also has the side-effect of having more memory to start up new apps faster.

3) CyanogenMod has a feature to manually manage display brightness ramps. It is not used very well by default and that is a shame as your display is the single most power-hungry module of the device. I tweaked the ramp to allow the display to dim more and actually use the light sensor efficiently. The maximum brightness is also reduced by about 25%, because the visible difference of maximum is only marginal and the power consumption is dramatically higher.

4) The SD Card read-ahead value is set to 3MB, possibly reducing its battery usage when system reads the same files repeatedly.

These are just changes I think affect the battery consumption the most, other things may contribute as well.

blackknightavalon:

I was looking onto this a while back, I even have ext partition on my SD card for testing but never got it to work. If anyone can advise me how to enable moving to ext instead of FAT, I can implement it. I think there is potential speed gain.
[G2 and Desire Z Android Development] ryandaneri:
Thank you! (Button pressed) but can you tell me if you turn on your wifi and its not connected to anything, does it effect your data speeds? For some reason when I tick my wifi on and download a file, its noticeably faster with it on. i know unmistakably that its not connected to anything. And on a side note I did the tests on in the same exact spot.
[G2 and Desire Z Android Development] hardaysknight:
the stock icons zip is missing the stock icon for the camera
[G2 and Desire Z Android Development] blackknightavalon:
I can tell you that the manual method doesn't work (using Terminal Emulatork, even by modifying the commands to be sd-ext instead of /system/sd). I followed those old instructions to the letter and it didn't work, even though df -h showed that the partition exists. I suggest tearing an old PyroMod ROM apart and see how its A2EXT script works.
[G2 and Desire Z Android Development] trsanning:
So are gapps prepackaged with this? No one ever said for sure.
[G2 and Desire Z Android Development] hardaysknight:
excuse me, wrong thread.
[G2 and Desire Z Android Development] nik3r:
Well getting the ext partition on SD card to mount to /sd-ext is one thing unless the current version of vold ignores second partitions altogether. Getting CM to actually install apps onto the partition is another story. To be honest I did try pyromod and it mounted the second partition, but apps wouldn't install on it automatically anyway. I think they were still getting split between /data and fat instead of /data /sd-ext. Might have done something wrong though dunno :rolleyes:

Gapps flashing over this was quite dodgy, probably due to my unstandard installation scripts. I included their latest available framework and basic apps in my flashing script plus there's the CM7 pacman to download the rest of google stuff you might need from market. There are also modified flashable packages just for the old and new market, should it cause problems for your locale.

Oh and don't worry I will release the mod applied on new base once the new nightly is out. And after that if http://cm-nightlies.appspot.com/?device=vision says there's something noteworthy for us ;)
[G2 and Desire Z Android Development] blackknightavalon:
Try a script from an older version of PyroMod. A lot of people have had problems with 2.3.5.
[G2 and Desire Z Android Development] DnNuke:
Thought it was time to change rom and up came this turbo charged one with a great description of good battery and performance in one.

So far the speed has been amazing, battery wise I cannot comment yet as it has only been a day.

Just want to comment about the 'new' market, which keeps crashing after 10 seconds each time I start it. Installing the 'old' one works fine, but I prefer to use the new one since it can allow multiple accounts to be used while the old one cannot.

I haven't got a logcat yet since I forgot my phone at home but will see if I can snip something useful out of it.

Looking great so far :)
[G2 and Desire Z Android Development] tun4f1sh:
Jon is Canadian, lol.
[G2 and Desire Z Android Development] selfinflicted1:
Well damn....
[G2 and Desire Z Android Development] nik3r:
I might not have solved the undervolting issue but I tripped over something on my way there... just got 4244 quadrant score :D

Looks like I really overlooked a block of code related to the vdd_levels, working on it now, then just apply my own default UV and you'll get the standalone to play with ;)
[G2 and Desire Z Android Development] deliriousDroid:
I appreciate your work man. I plan on donating once my finances recover from the holiday season. :)

Oh, and remember those graphical glitches with the Widgets, it has to do with the colour of the wallpaper. The lighter it is the worse they are:(

Sent from my SilverBullet 'HTCDesireZ running EliteMod'
[G2 and Desire Z Android Development] :
I know, eh? ;)

Sent from my Nexus 6 through tears in rain.
[G2 and Desire Z Android Development] nik3r:
New version

Hey guys, I'm releasing a small patch, just

update your 111224 to 111227

no wipe required.

Included changes in 111227:

- new kernel performance tweaks

- fixed undervolting support

- tweaked the default /data/local/userinit.sh undervolting table for stability (matches kernel internal voltages)

! Be aware this will replace your userinit.sh file, you might want to backup it if you made changes.

I'm also releasing experimental standalone kernel for you to use on other CM7-based ROMs.

Enjoy ;)
[G2 and Desire Z Android Development] :
So, just to be clear, the 111224 kernel had no undervolting, just stock values.

Is the 111227 kernel undervolted already and you modified userinit.sh to match, or is undervolting simply supported now, UV is stock and you are including the userinit.sh to ensure the kernel and script voltages match? (Sorry for the n00b question)

Sent from my Nexus 6 through tears in rain.
[G2 and Desire Z Android Development] nik3r:
I modified the voltages progression to mimic the slight undervolt from #244 up to about 1248MHz while I put stock-ish in the higher frequencies for better stability while OC'ing. The values in userinit.sh are identical to default kernel voltages, so it's a valid and stable starting point for undervolting.

I myself had stability issues at 1800MHz+ with #244, now I have heat issues but it's better than outright freezing, right? (no pun intended) :D I might tweak the higher frequencies later.

And yes - 111224 had broken UV support and was operating at CM7 stock voltages.
[G2 and Desire Z Android Development] :
Thanks.

I've never been able to OC above 1.5 with my phone, but it plays pretty nice up to that point. Is this something that I might be able to remedy with different voltages, or is it a specific freq my cpu doesn't like, or both?

Edit: Nevermind, I forgot that you wrote up an extremely thorough guide in post 3. =P

Sent from my Nexus 6 through tears in rain.
[G2 and Desire Z Android Development] deliriousDroid:
:cool: undervolting is back in action:D

Sent from my SilverBullet 'HTCDesireZ running EliteMod'
[G2 and Desire Z Android Development] chocohagelslagje:
Thanks for this superfast rom, just what I needed at the moment! :)

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] :
I think something strange is happening with this kernel.

I've been struggling to get good battery life (already did three full discharge/charges) and started looking at my cpu, which was set at 245-998 smartassv2, sleep was 245-768 conservative. I only got 10 hrs of light use. This was set using virtuous oc control.

Tonight I installed setcpu and started looking at my stats update in real time in info>time in state. Here is what I'm noticing. (Airplane mode, all apps killed)

Scary and Interactive seem to work perfectly fine. On Demand toggles constantly between the highest and lowest freq, doing nothing on the phone. Powersave sticks on lowest freq.

But what is weird is that conservative, smartassv2, and userspace, seem to all be quickly switching between the three lowest available freqs and 998 constantly. Doing nothing or doing things.

My conclusion is that my battery life is crummy because my cpu is ramping up and down all day.

Since Scary seems to be working correctly (stays at lowest freq until I start scrolling or pulling statusbar down and up then it ramps up gradually then back down gradually) I will use it as my governor until I can figure something else out.

I hope this is useful info.

I'll report in tomorrow after another full discharge.

Sent from my Nexus 6 like tears in rain.
[G2 and Desire Z Android Development] nik3r:
Using the SetCPU profile in 2nd post I am getting the correct behavior.

Smartass2 should converge towards 768MHz (this should have identical power consumption to 368MHz but double the horsepower). Scary should converge towards 245MHz for better screen-off profile.

When the device just sits with display on, the frequency is sitting at the ideal 768MHz and should not go up unless something heavy is happening on the background.

Try to download System Tuner and use its Task Manager subsystem to track any CPU activity that might be out of place.

I get the same using the OC daemon, something must be using your CPU constantly above the ramp-up threshold.
[G2 and Desire Z Android Development] trsanning:
Anyone else having issues with battery graph not working correctly?

It show 100% until I reboot every day on the latest version. Did a full wipe, installed 1224 let it boot then did the reboot, installed 1227 fix.

Is this correct?
[G2 and Desire Z Android Development] nik3r:
This never happened to me, not sure what may be the cause. Try to fix permissions from recovery.

Also make sure you apply the patch either right after you flash the ROM (before first boot, just flash ROM and immediately after the patch) or after it's successfully booted the second time. If you flash something between the account setup and post-installation scripts, although very unlikely, something could mess up file permissions to make your graph stuck.

Simply flashing the ROM and then the patch without wiping anything might just fix your problem, this is considered an update and it will perform permissions fix (means a long second boot depending on the number of apps installed).
[G2 and Desire Z Android Development] trsanning:
Just fixed permissions will test tomorrow after a charge tonight.

To clarify my setup I did super wipe, install rom, setup account, performed needed reboot, let it stabilize, then boot to recovery to flash patch.

Will try back to back flashes tomorrow if fixing permissions doesn't work. Will keep you posted and thanks for the awesome rom and support.
[G2 and Desire Z Android Development] DRSdroid:
i used the earlier version of this rom and LOVED it! I switched to MIUI recently and it ran great at first but has been getting a little bit memory hungry as of late. I'm thinking about switching back to this ROM but i was just curious about a few things...

1- Have you increased the SD card read cache or should i do that myself?

2- Is this rom compatible with Apps2sd (SD-EXT ext4 partition)?

3- Is this rom compatible with a swap partition (i know, i know, a LOT of debate about it's usefulness but it's worked really well for me on other CM based roms)

4- How is this rom at handling RAM? I'm a big RAM conservation freak, this rom has always been good at it for me, but i'm considering using this script http://xdaforums.com/showthread.php?t=991276 do you think this would conflict with anything in the rom?

Hope you can help! Looking forward to flashing tonight :D

Thanks for such a great ROM and keep up the good work!
[G2 and Desire Z Android Development] G1ForFun:
I have been using the standalone kernel on the latest CM7 nightly that I kanged up for myself. Everything has been working great for me. I use CPUSPY to see what my cpu is doing and it is sleeping/adjusting normally to usage.

Thanks for your awesome kernel.
[G2 and Desire Z Android Development] nik3r:
1) It's currently at 3MB, I find it the best for my 32GB Class10. More than that had no benefit for me. Also other storage caches are tweaked, especially now in my kernel.

2+3) It's a tweaked CM7 and modified CM7 kernel, use the same procedures you would for a clean nightly build.

4) The RAM usage is optimized, remember that RAM management can have quite an overhead if it's too aggressive. I strive to find the perfect balance between 3 factors: average free RAM (speed of launching new applications), smoothness (too frequent garbage collection causes CPU spikes you perceive as scrolling lags for instance) and application persistence (if you use an app again in a short while, it should not reload again completely, it should still be in the memory to access much faster). So believe it or not, there is such a thing as having too much free RAM :rolleyes:

If you want to try that script, go ahead but yes, it will modify my default settings for better or worse.

Excellent, nice to see someone is using the standalone, I didn't actually test it with another ROM.. hence experimental :D
[G2 and Desire Z Android Development] DRSdroid:
Awesome! thank you for you fast reply! you told me everything i needed to know, i'll just rock your version for a bit before deciding if i'll try that script or not. If it works out well i'll report my findings
[G2 and Desire Z Android Development] :
Well, my battery/cpu issues are obviously app related. I've tracked down a couple rogue apps and it's helped. I also did a fresh install and also ran a battery cycle on an old nandroid of supercm7. Same cpu thing on both roms.

I determined that having the doubletwist eq enabled with DSP manager also installed creates some conflicts that has led to high cpu use and battery drain.

I'm actually glad because this has always been one of those flawless roms, and it's comforting to know perfect roms are still around.

It's like The Dude in The Big Lebowski...you just feel better knowing he's out there =P

Sent from my Nexus 6 like tears in rain.
[G2 and Desire Z Android Development] trsanning:
Fixing permissions didn't fix the issue. Just reflashed both files in the same recovery session so hope that fixes it.
[G2 and Desire Z Android Development] Pickx:
Hey, anyone know how to change the Carrier name? I've tried every guide and apk I could Google but none of them actually seem to work.
[G2 and Desire Z Android Development] bleedingthru:
I have a issue with using the wifi calling. When i first get on a call the call drops and says wifi signal lost? Anyone else have this problem or this not a problem w the rom. Other than this im loving this rom!
[G2 and Desire Z Android Development] nik3r:
I'm not in the US, no way to test it. Try to extract the wifi calling from ILWT for example or from a ROM where it works and overwrite the one in /system/app/ and chmod it to 644. If it works, send me the working apk. Other than that I can't help you.
[G2 and Desire Z Android Development] trsanning:
No problem with wifi calling here.
[G2 and Desire Z Android Development] bleedingthru:
How about do i go extracting a wifi calling apk from another rom? Not sure at all how to do this.... I do see the wifi apk in /system /app
[G2 and Desire Z Android Development] popimp315:
Oc/Uv beater won't work with this rom...odd...I get a forceclose everytime I try to load it.

Sent from planet Vegeta.
[G2 and Desire Z Android Development] nik3r:
That usually means the daemon is disabled due to alternative app. Uninstall any CPU related apps like SetCPU, CPU Tuner and reboot, it should work.
[G2 and Desire Z Android Development] popimp315:
Nope, still does it. I had daemon controller on at first. I deleted it and now oc/uv still force closes. It asks for su permission, but then closes.

Sent from planet Vegeta.
[G2 and Desire Z Android Development] henryyxyu:
For some reason my phone reboots itself fairly often now (probably once every 2-3 days) and the screen turns on by itself. Just some things I noticed, but overall I have noticed a speed increase! I also tried UV-ing and got the volts down a little further then I had them before :). Awesome work OP! By far my most favorite rom :D
[G2 and Desire Z Android Development] deliriousDroid:
I get that as well. I blame it on the fact that I didn't do a fresh flash. But once I did try a superwipe and flash and it ended up a soft brick:confused:

Sent from my SilverBullet 'HTCDesireZ running EliteMod'
[G2 and Desire Z Android Development] nik3r:
I blame the radio version or some app. The only time I got a reboot was over 2 months ago while using Sygic Aura.
[G2 and Desire Z Android Development] deliriousDroid:
For this I thank you. It's by far the most I have ever gotten:)

Sent from my SilverBullet 'HTCDesireZ running EliteMod'
[G2 and Desire Z Android Development] popimp315:
I dunno what it is but it will not let me use oc/uv beater. I've uninstalled it, reinstalled it, fixed permissions, wiped its data, wiped my dalvik. I dunno what it is. Its not like it is not installing. Installs, asks for su and then force close. I had virtuous controller installed before, uninstalled it. Had daemon controller (basically the same thing) and uninstalled it and then tried out setcpu and uninstalled it. This is all after I had oc/uv beater installed and uninstalled. So damn confusing. Wiped cache, and dalvik. Kinda of not wanting to do a fresh install of the rom. Finally got it set up the way I want.

Dwight questions....would uninstalling launcher pro be bad as I want to go with go launcher ex? Like is the launcher pro on this rom optimized or what?

Sent from planet Vegeta.
[G2 and Desire Z Android Development] nik3r:
It's not exactly flawless app, try to open it up repeatedly 3 or so times, it can sometimes get all weird on me too. Or you can edit the config files directly in /system/etc/oc_vitruous/ I think.
[G2 and Desire Z Android Development] ginobili1:
Some issues

I have found that with the new update 111227 on top of 111224 the mod just keeps on hanging. It would intermittently hang on phone/GMaps/other apps. It wasn't the case with v244.

Also the ROM is noticeably slower than v244. The only reason I upgraded from v244 was to try out the new Kernel.

As I don't have any backup of v244 I guess I'll wait until the next batch of updates.

Still, it is by far the fastest ROM that I've ever tried.

Good work dev.

Thanks a million!
[G2 and Desire Z Android Development] nik3r:
I though I messed something up on my end only but you are correct, the bug (typo) is in the ROM itself. It uses up all available memory and then once in a while triggers a massive garbage collection, freezing for a good few seconds. More if you're doing something CPU intensive at the time. I have hotfixed this on my device but I wanted to release a full new version anyway so just wait ;)
[G2 and Desire Z Android Development] trsanning:
Great i thought this was just me. Waiting patiently (kinda)
[G2 and Desire Z Android Development] nik3r:
New version

EliteMod #120107 has been released

Need to know:

- Backup first

- Full wipe is greatly encouraged. Be aware I got a bootloop when upgrading from 111227, your mileage may vary.

- Kernel is included in the package

- Some of the tweaks are highly experimental with untested effect on battery life

- if it's not smooth enough, raise the min frequency back to 768MHz, but the difference should not be noticeable

Changes:

- Updated to 05-01-2012 kang

- Fixed garbage collection bug

- Tweaked garbage collection and hardcoded defaults to standalone

- Tweaked SmartassV2 for better scaling (EM + standalone)

- Tweaked Scary for better battery to do better what it's supposed to do (EM + standalone)

- Tweaked SIO scheduler for better I/O speed and battery (EM + standalone)

- raised default frequency from 940MHz to 1GHz

- lowered default frequency from 768MHz to 245MHz (raise back for more smoothness if you don't care about battery)

- Tweaked storage subsystems for better I/O performance (EM + standalone)

- moved hard-coded kernel settings from ROM to Kernel config (better maintainability)

- updated all bundled APKs

- updated SU

- if you're using SetCPU, I recommend to update your profiles

Enjoy and please let me know how it works, especially the standalone kernel.

Enjoy :rolleyes:
[G2 and Desire Z Android Development] trsanning:
Didn't wipe anything but caches installed and fix permissions and it booted fine. So far no issues.
[G2 and Desire Z Android Development] nik3r:
Good to hear, it might be the zipaligning was crashing for some of the huge apps I have installed like World of Goo or Quake :D

Also the kernel and config changes are quite extensive. Please let me know how it goes, I am especially interested in battery life and how the standalone kernel integrates with other ROMs. And bugs.. always lovely to hear about bugs.
[G2 and Desire Z Android Development] jacklc000:
Is the kernel under volt-ed already or do users need to follow the guide?
[G2 and Desire Z Android Development] nik3r:
Only slightly, there is no real universal undervolt - every device has different tolerance.
[G2 and Desire Z Android Development] bleedingthru:
nik3r- in the uv tools how do i make the start_edit.bat back to default as if i had just downloaded the tools for the very first time ??? i had to use the remove screwup.bat lol much appreciated
[G2 and Desire Z Android Development] nik3r:
It's just opening voltages.txt for edit, so basically use voltages.default.txt instead of voltages.txt and you're back to defaults.
[G2 and Desire Z Android Development] shakin:
Just want to say really great work on this. Is there anyway I can get my contacts synced like in a sense based rom.

Thanks for the awesome rom
[G2 and Desire Z Android Development] bleedingthru:
thank you kind sir :D
[G2 and Desire Z Android Development] bleedingthru:
i flashed the update today and i was goin to set my setcpu profiles and the max speed im getting is 1ghz? and the only speeds i can pick are 216 mhz 312 mhz 456mhz 608mhz 760mhz 816mhz 912mhz and 1ghz any idea why ?
[G2 and Desire Z Android Development] trsanning:
Don't have it installed at the moment so don't remember exactly where its at but i think menu -> redetect speeds. It should then find all the speeds for the kernal.

My guess is you used TB to restore app + data for setcpu so it restored your old kernel speeds.
[G2 and Desire Z Android Development] bleedingthru:
i just reflashed and im good now ya i did use tb but i never restore data just the apps but im good to go !
[G2 and Desire Z Android Development] SnowOokami:
somehow Virtuous OC GUI or OV/UV Beater stopped working today :confused: they keep fc'ing, did I screw something up? :p