yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] ginobili1:
Hi nik3r,

I still have the WiFi issue which I am not sure has been discussed before or not in this thread (its reaching 51 pages). :P

What happens is that the phone does remember the WiFi (my workplace and home networks) but wouldn't automatically switch sometimes to WiFi from Data when I get home (or get to work). What I need to do is to hold the WiFi button in the notification bar (to open up the settings) and then without doing anything else it would just detect it. I can even open WiFi settings and just press Home key ASAP and it would still switch to the remembered WiFi network, but it wouldn't do so automatically.

Although it doesn't happen all the time but I have noticed that its frequency has increased. Maybe its because after using the ROM for a long time or something.

This would happen even when Data is off.

Apart from that the ROM itself is great, and I like it that you're not trying to fix anything that's not broken (long time no new version). I love how you've optimized and added GoLauncher EX and I love your ROM ever so more now.

Thanks for helping me keep my phone. And best of luck for all your future ROMs. Hope you'll do a Sense one soon, before I switch to a Nexus phone. :P
[G2 and Desire Z Android Development] DRSdroid:
any work going on this ROM?
[G2 and Desire Z Android Development] nik3r:
I have some news in progress but I was moving to a new place and I'm a bit behind in my work schedule. I'll get to the update eventually.

Just for those who have daemon problems - it works perfectly if you uninstall all other CPU config apps.

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] Palingenesis:
*patiently awaits the update*

^_^
[G2 and Desire Z Android Development] gtmaster303:
Most dev efforts have migrated to ICS.

Very little reason to update this rom. Especially considering how faultless it is
[G2 and Desire Z Android Development] nik3r:
DnNuke:

It has been mentioned earlier that changing your locale to english-us fixes the new market issue ;)

As for the battery life - I can vouch for it, I am finally calibrated and after 25 hours of moderate usage I'm at 66%, so the projected durability is about 50 hours unless you play games or watch videos. (I made a few short calls about 20 minutes total, browsed some, 2 email sync every 10 minutes, facebook 1 hour, news and weather 3 hours and Settings Profiles keeps me on wifi unless I'm not at home or work). Projected standby time with my background sync settings is 4 days if I don't use the device.

(1800mAh extended battery and screen-off profile for Scary gov and properly undervolted, your mileage may vary)
[G2 and Desire Z Android Development] mewgim:
a very nice and fast rom.

going to use this rom for days to check the battery.
[G2 and Desire Z Android Development] chocohagelslagje:
It's a really fast rom. Nice to see that LP is the standard launcher. Going to try to stay on this one for a few days :) Thanks a lot for sharing this rom!
[G2 and Desire Z Android Development] GetTargetedFans:
I would like to see you team up with Fish and combine this ROM with Bulletproof. That would dominate all G2 ROMs without question.
[G2 and Desire Z Android Development] javierdihu:
overall is great, good performance, and LP is nice.

Although i've experienced a couple of random reboots (even with no OC) and my battery drains faster than normal CM7 :(
[G2 and Desire Z Android Development] Nshih422:
Hi, this ROM is great and so far battery life is unbelievable!

One concern, I had a wake lock in the beginning after I finished the setup and restarted the phone. I locked the screen and went to unlock it and the button lights turned on but no display. Popped my battery out and its been 16 hours since and i'm at 75% battery, its unbelievable! I set my profiles exactly as you have on page 3.

One question, is there a way to activate the call recording patch on this kernel? If anyone has any info on it I'd really appreciate the help.
[G2 and Desire Z Android Development] nik3r:
You can save even more battery and maybe even more speed if you build a proper undervolting table and modify the frequency profiles according to its peaks ;)

Just FYI since the release of this ROM I did recharge once. Currently at 2 days 2 hours and 30 minutes and I still have 21% left - gonna beat that 3rd day at last :D

There's a program to undervolt in the second post FAQ but having the tools and actually knowing how to do it properly and safely are 2 different things. I could write a tutorial for that if there's none on XDA.

Oh and that black screen after reboot, I think you are reffering to a bug in CM7, if you reboot while on cable, the display turns black but it's still on and you need to hit power button twice to actually turn it off and on. Dunno why that happens but it's doing it for quite a while on CM7 nightlies.

The call recording I would like to see as well, try nagging Umaro in his thread to update the kernel, he promised he would eventually :) I could switch to another kernel but this one is really unbelievable, Umaro did excellent job. You could also try to nandroid backup and flash another kernel over this - as long as it has smartass governor it should take the tweaks as well as they are implemented dynamically.

GetTargetedFans:

You mean applying the mod on MIUI ROM? It sure as hell is possible, I built the mod independently and I'm just copying it over a nightly, unless some critical file has been changed or settings added - then it's a bit more complicated. Modifying this for MIUI is possible, I may take a look in near future.
[G2 and Desire Z Android Development] Nshih422:
Well thanks for the quick response! I don't know how to change voltages and I DLed the program but didn't want to play with it. I plan on researching it tomorrow but its time for bed now. Ill nag Umaro tomorrow too :)

Thanks again!
[G2 and Desire Z Android Development] trsanning:
Could you give us a guide or share the values you use with your cpu settings that you provided us
[G2 and Desire Z Android Development] nik3r:
Updates

Heads up

I have included recommended SetCPU profiles in the second post.

I also changed the third post into a huge undervolting walkthrough and provided undervolting tools in the download section.

Enjoy :D
[G2 and Desire Z Android Development] robstillholdin:
Sounding great, flashing now...any way of uploading your undervolted kernel? I will not be at my home base for quite some time and do not have access to a machine to use ADB and such. Anyways Thanks for you time and work.
[G2 and Desire Z Android Development] nik3r:
You can undervolt without ADB if you want:

extract just voltages.txt from the UV_TOOLS.zip
copy it to /data/local
rename to undervolt.sh
chmod to 0777
edit and execute to apply - changes are not persistent over reboot unless you name the script userinit.sh
follow the rest of the guide
win

:)

All that can be done with just root explorer, no terminal required.
[G2 and Desire Z Android Development] robstillholdin:
Thnks alot.....one more thing not sure if things were mixed up, but when applying modnewvending....the scroll says "old market installed successfully"
[G2 and Desire Z Android Development] nik3r:
Oops, that's a typo, nice catch :D

-fixed
[G2 and Desire Z Android Development] robstillholdin:
no prob, which radio you using?
[G2 and Desire Z Android Development] nik3r:
I am using Vision_Radio_12.56.60.25_26.10.04.03

But you know how it is with radios - I'm in central Europe. Fast GPS fix and no battery drain for me.

BTW: 2 days 12 hours and I'm at 6%, I probably would last the night but I won't risk it, that alarm clock is too important :)
[G2 and Desire Z Android Development] Nshih422:
Nik3r, what battery app is that?

PS. Great undervolting guide, ill follow it exactly as written tonight, so I have to wait until the girlfriend goes to bed :)

EDIT: Never mind, I just saw how you got to that screen.
[G2 and Desire Z Android Development] mewgim:
how do i do chmod to 0777? thanks
[G2 and Desire Z Android Development] nik3r:
exactly like that in terminal :D

chmod 0777 /data/local/voltages.sh

Or use root explorer - long press on file - permissions - check all 9 boxes. In theory you only need +x but full access wont do any harm.
[G2 and Desire Z Android Development] trsanning:
I was having bad wakelock on this rom yesterday so I did a superwipe and reinstalled yesterday. I did use titanium to restore some apps but not any data. Today I have already had 2 wakelocks. 1 from gomark and second from handcent. Does anyone have any suggestions on how to solve this.

The only changes I have made is undervolting. Would that cause wakelock?
[G2 and Desire Z Android Development] nik3r:
Yeah I am only planning apk updates, latest CM build and to ditch scary sleep profile in default settings (fixes most reported issues). And I will probably disable the daemon by default and make it NOT disable itself when other CPU setting apps are present. Users are still able to prevent problems using superuser and denying access. Makes the daemon more predictable. And some other minor stuff :)
[G2 and Desire Z Android Development] mindstormmaster1:
Really looking forward to the update. Will both the kernel and the rom be updated? Personally I flash your kernel over the default CM nightly and the battery life is great!
[G2 and Desire Z Android Development] tarroyo:
@nik3r What CM7 kernel is being used? One from a stable release or one from the nightlies??? The kernel has changed more then a few times ever since nightlies started.

Let me know where to look and I'll extract the kernel from one of the recent nightlies. . . .
[G2 and Desire Z Android Development] magic_android:
Hi, i really wanna use this ROM but i really don't like the look of the dock on launcher pro. Is there any way to enable the normal theme for it? I like the clean, stock look of launcher pro.
[G2 and Desire Z Android Development] gaarry:
You can personalize Launcher Pro however you want, it's just that way from the start, you can change it to whatever.
[G2 and Desire Z Android Development] eightcore:
I didn't have installed any other CPU apps when i was testing.

nik3r, please test following things:

Set the min and max sleep frequency at 128 MHz.

Enable DSP Manager and play music. If it's stuttering during sleep, the clocks decreased to 128 MHz. If the G2 plays the music without stuttering, the clock has not been applied.

Another test:

Set min and max wake frequency at 1900 MHz.

Run Linpack singlthreaded. If you got about 62-64 MFlop/s, the overclocking has been applied. But if you got a result like 40-42 MFlop/s the clock is still set at 122-1036 MHz.
[G2 and Desire Z Android Development] mindstormmaster1:
Any chance of an update?
[G2 and Desire Z Android Development] nik3r:
Update

EliteMod 120310 has been released!

Cooked from fresh ingredients with love.

Update from last version is possible using new experimental procedure to speed things up. Only wipe dalvik before flash and if something's not right after 2nd boot, try to run fix_permissions from recovery or adb shell.

Gapps are included and will be available after second boot as always.

Changes:

+ latest kang

+ updated all apks

+ Scary not used by default (screen-off is now @ smartassV2 /w 768MHz max)

+ OC Daemon disabled by default, use control daemon app to enable

!+ default UV not applied by script (it is built into the kernel anyway)

+ new boot anim

+ different default theme

+ speedy postsetup script on update (second boot no longer takes eternity)

+ enabled swap support in kernel

+ improved kernel performance
[G2 and Desire Z Android Development] ernestnwanu:
Great combination of eye candy and functionality. So far it's great!
[G2 and Desire Z Android Development] coachmoore:
Maybe a dumb question, but where's the market?
[G2 and Desire Z Android Development] ernestnwanu:
Did you flash the MOD available in the OP?
[G2 and Desire Z Android Development] coachmoore:
I've looked all over the OP, but don't see anytHing about market.. Unless I'm just blind! Lol
[G2 and Desire Z Android Development] ernestnwanu:
In the second post. New Vending 3 is the market.

Sent from my Desire Z running MIUI.
[G2 and Desire Z Android Development] nik3r:
But market is included in the ROM, it's called Google Play now.
[G2 and Desire Z Android Development] coachmoore:
Ok, thanks man!
[G2 and Desire Z Android Development] Palingenesis:
It's the new market called "Play store" its a white icon. :D
[G2 and Desire Z Android Development] DRSdroid:
You're my hero :D
[G2 and Desire Z Android Development] popimp315:
To go with this or IlWT....suggestions anyone. I rmember running this for a long time and then switched to ILWT just because and haven't switched back. I love this because the kernel has Scary which is the best profile out there.

Sent from Planet Vegeta.
[G2 and Desire Z Android Development] nik3r:
Experimental build

Anyone would be interested in an experimental build of the ROM featuring built-in EXT4 sd-ext support? I am running that now (clean install) :)

1) install 4EXT/touch recovery, format or convert everything that is EXT3 (system/data/cache/sd-ext) to EXT4

2) again make sure the Info says EXT4 everywhere

3) then flash this experimental ROM as usual, your sd-ext and swap will be mouted and apps will be autimatically installed to sd-ext

I have no idea how this will behave if you update over existing EM, or how it will behave if you don't have sd-ext partition, or if future update will be smooth or not.

No need to reflash gapps or anything.

Use this at your own peril and backup first!

(new link in second post, will be merged to main build from now on)

Have fun :D
[G2 and Desire Z Android Development] DRSdroid:
i'll flash it tomorrow. Swap seems to be working GREAT on this rom so far and i already have a 2gb sd-ext so i'll see how this works with it.

Anyway you can just make this a quick flashable patch? Do you think it's safe/good to just flash it over the existing installation or should i format all partitions and reinstall?
[G2 and Desire Z Android Development] nik3r:
It might work but in any case do a full backup before trying.

There is no guarantee how the script will affect existing sd-ext data. It might re-use your apps and work without a glitch. And it might wipe the existing data and leave you with no apps. Please report how it goes, with any luck this can get into the EM main build.
[G2 and Desire Z Android Development] DRSdroid:
seems to be working fine so far.. about to reload apps and see where they go. If all goes well, it's likely you've made the best CM variant around right now... which also means, again.. YOU are my hero!

edit:

quick question.. the notification drawer won't pull down when locked, most CM based ROMs . Any reason it's not?
[G2 and Desire Z Android Development] ruan619:
Hey is it me or does opera mobile open up then close not even a force close it just closes other than that haven't found any other hiccups. I flashed twice and fully wiped including superwipe.
[G2 and Desire Z Android Development] nik3r:
My Opera works fine but I restored its titanium before trying, if you updated try to fix permissions. Or if nothing helps uninstall and download from the market.

Can anyone confirm this as bug?

Also did you reboot once after install? Opera and many others won't work until you do.
[G2 and Desire Z Android Development] ruan619:
Yea dude deleted it and downloaded from the market but flash was laggy as hell but lemme try the permission fix, but usually I just do all that stuff as soon as I flash a rom via the recovery menu, and is the default theme a sense style one?
[G2 and Desire Z Android Development] Palingenesis:
Yeah, opera is messing up. Closes right after I open it.
[G2 and Desire Z Android Development] mindstormmaster1:
Awesome update! Loving it so far! One quick question does anyone know why this rom is so much bigger then stock CM7 nightly?
[G2 and Desire Z Android Development] kashinc:
ya my opera also force closes
[G2 and Desire Z Android Development] ernestnwanu:
It's an Opera issue. Since their last update, restoring data makes it crash on opening.
[G2 and Desire Z Android Development] kashinc:
how can we fix it?
[G2 and Desire Z Android Development] ernestnwanu:
Clear its data under Settings.
[G2 and Desire Z Android Development] ruan619:
But I didn't restore any data just straight off the rom flash opera wouldn't work. I cleared the data for the app which got it to work but opera was sluggish.
[G2 and Desire Z Android Development] DRSdroid:
i've never been a fan of opera personally.. slow to load initially, it's good for browsing long term on mobile, but for quick look-ups and typical "phone surfing" it's a bit bloated. I prefer the stock browser or maxthon myself
[G2 and Desire Z Android Development] nik3r:
The data wipe clears my performance tweaks in opera.ini, that's probably the cause. And I agree, not efficient for quick lookups, but if you actually want to surf longer, I know nothing better. Maxthon was nowhere that smooth even on ICS and that was mobile view.

You could extract the tweaked opera.ini from the ROM postsetup folder and copy it over to your /data/data/com.opera.browser/opera/ . See if that helps speed it up.

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] DRSdroid:
Just the fact that you mentioned ICS makes me wish there was a fully working CM9 so you could release an EliteICS :P
[G2 and Desire Z Android Development] nik3r:
I wish, it will be so friggin' fast... :)

But until there's a fully working camera and camcorder, it's a no-go for me, can't live without them.
[G2 and Desire Z Android Development] Palingenesis:
That's exactly why I always return here. This rom is great.
[G2 and Desire Z Android Development] convolution:
difference btwn this and ilwt?
[G2 and Desire Z Android Development] nik3r:
Faster, better battery life to say the least, but ilwt is easily customizable and also a great rom. Try both and see for yourself ;)

BTW: I'm uploading a quick fix for the Opera data problem, the new version should only apply the tweaks and no other settings.

EDIT: Forgot, this version also includes the sd-ext changes and more relaxed last resort swapping. If you have partitioned your SD card that is.

EDIT2: Just noticed, 758 downloads in 3 days? whaa..?? :D

EDIT3: Experimenting with new ideas, I am getting dangerously close to the 4500 mark on quadrant - yay :)
[G2 and Desire Z Android Development] Fidyyuan:
If I use GoLauncher EX, will I still be able to benefit from your speed tweaks?
[G2 and Desire Z Android Development] nik3r:
Sure, you can use any launcher you want.
[G2 and Desire Z Android Development] crestofawave:
I recall flashing this, but I had issues with overclocking.

Once I'd clock to 1,6GHz the phone would freeze and then restart. Any pointers as to why would that happen? Does it have to do with the UV Table?

Otherwise it is a great ROM, good to see it's still getting updated :)
[G2 and Desire Z Android Development] nik3r:
This is due to hardware limitation of todays phones, see

http://xdaforums.com/showpost.php?p=21706041&postcount=499

and

http://xdaforums.com/showpost.php?p=21707088&postcount=501

for possible explanation of the underlying problem and workarounds.

Basically, you need to choose between battery or performance or fast reactions. I chose battery and reactions over raw power in default settings. By trying to do both the best I can, the smartass governor can't go as high.

You could try scary governor to get what you want, but again, you sacrifice fast reactions for battery (somewhat) and raw power. Can'T have all 3 since the hardware is just not build for this kind of abuse :D
[G2 and Desire Z Android Development] Palingenesis:
I still think you should do an elitemod on Miui! I love miui. But I like the speed and battery life of this rom. Also, it seems not much development on miui anymore.
[G2 and Desire Z Android Development] Fidyyuan:
I'm guessing my Class 2 SD Card wouldn't help at all with the sd-ext, correct?
[G2 and Desire Z Android Development] Palingenesis:
Why isn't uc browser compatible with this rom? Only the Chinese version is.
[G2 and Desire Z Android Development] buxtahuda:
DL'ing 120310 now.

As sig says, on 120122 right now; I've noticed even with WiFi set to never sleep, I cannot DL files or anything if the screen shuts off. But that's an older build, so it's irrelevant.

Looking forward to the pending update after this and 120310-2, thanks as always! Absolutely the best performing ROM (though I haven't tried anything else in quite some time :D), I really hope they get the ICS issues worked out for this phone as I know you'd blow it out.
[G2 and Desire Z Android Development] nik3r:
With slower cards I recommend you wait for next version, in the 120315 I am not forcing dalvik cache to the SD card, so it will only offload installed APKs. The swapping strategy is also more relaxed, making the whole thing less demanding on the card speed.

Basically if you set up only sd-ext and no swap, you should be fine even with class2. 2GB should be more than enough, just make sure you use 4EXT recovery and the sd-ext partition is ext4 to maximize its performance.

Without partitioned SD card, the ROM should install normally.
[G2 and Desire Z Android Development] Fidyyuan:
I honestly have to say that this is THE fastest rom I've ever used. My phone feels like it's brand new again! I can't imagine how much faster it will be in 120315 with sd-ext! Right now, I'm getting a quadrant score of 2190 which isn't bad. Thanks for your great work!
[G2 and Desire Z Android Development] nik3r:
sd-ext and ext4 walkthrough

How to enable sd-ext and swap support

and increase performance by migrating to ext4

First decide whether you want both sd-ext and swap or only sd-ext. Be aware that using swap on your SD card may increase its wear and the performance benefit is negligible unless you multitask heavily and leave your apps open by just pressing home button. Also note that by lifting natural memory limits, you may increase the number of simultaneously running apps, swap may also prevent the SD Card from entering sleep states - this may in turn decrease your standby battery times.

Unless you know what you're doing, I recommend only setting up sd-ext partition.

Easy steps to migrate your phone to ext4 and increase performance:

1) first install 4EXT/touch recovery app and flash the latest recovery package

2) reboot to recovery, tap Info, note which partitions list as ext3

3) go to tools menu and format (or convert) everything that is ext3 (system/data/cache) to EXT4

4) back out and make sure the Info says EXT4 everywhere

Prepping your SD card for sd-ext / swap:

1) backup everything on your SD card, 4EXT claims that it can safely repartition it but never rely on it

2) reboot to 4EXT recovery

3) go to tools - partition sd card - chose whether you will format and copy your backups back from PC, or try to partition without wiping the card

4) select 2048MB for first sd-ext partition, that is more than enough (app data and dalvik are still in device for performance and space wastage reasons)

5) select skip on second ext partition

6) select your desired swap partition size or skip

7) let it do its thing and when it asks for file system, select ext4

8) back out and flash the latest EliteMod version as usual (120315+), your sd-ext and swap will be mouted upon boot and new apps will be automatically installed to sd-ext

No need to reflash gapps or anything else really. This migration is one-time only, you can reflash or update at will, the partitions will stay ext4.

Additional info:

Please note that to install apps to sd-ext, you need to chose to install to device memory. Device memory is replaced by sd-ext during the process. If you chose to install an app to sd-card, it will in fact go to the slower fat32 partition, not on sd-ext.

You may want to - once in a while - check all your apps in settings and move them from sdcard to device using the system management tools. This should result in speed increase as well as making you be able to use those apps while sdcard is mounted to PC.