yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] nik3r:
New version

For all flash-o-holics out there

EliteMod 120315 has been released!

There is still a lot of unknown in the new additions, be cautious and backup first.

120315

+ todays kang

+ updated apks

+ new performance tweaks

+ optional sd-ext and/or swap support

+ relaxed swap priorities compared to experimental build

+ tweaked sd-ext I/O speed (ext4 only)

+ tweaked internal storage I/O speed (need ext4 on /data and /cache)

+ fixed Opera settings transfer

+ new set of Opera tweaks for sick browsing performance

+ removed ROM Manager, recommend using 4EXT recovery from now on to take advantage of ext4 I/O tweaks

+ forcing dalvik-cache to internal memory for performance reasons

BTW: You can prevent LauncherPro startup crashing if you use sd-ext, just go to settings and move all installed apps that are listed as on SD card to device, all LP problems will magically go away and your aps will still be on SD.

Warning: You may need to reboot one more time for sd-ext to finally kick in, check /sd-ext/ folder, it should contain at least app and app-private folders. Do not restore your backups until you are certain it works. I will see what can I do about this extra 3rd reboot in the next version.

EDIT: Working on a quick patch, give me 10 minutes to test it ;)
[G2 and Desire Z Android Development] Fidyyuan:
I just flashed it and now, it's stuck on the boot animation but I have the ability to turn the display on and off. Kinda weird...

EDIT: I'm reflashing to see what happens...
[G2 and Desire Z Android Development] nik3r:
I consider LWP nothing more than a lagmachine and it is removed from the system.Without true HW acceleration of ICS, LWP is a joke.

The files are still in /data/local if you really need it, just move them to /system/app/ and reboot. Or I could make a flashable MOD to restore it if you want.

I am still working on a fix for the sd-ext not mounting on first and second boot, if you don't need sd-ext you can flash safely, otherwise watch where the files go.
[G2 and Desire Z Android Development] Fidyyuan:
That's true but it's so pretty!!! lol

So at the moment, how many times should I reboot my phone until it will actually work? The first boot, the phone starts up normal. The second boot, it auto reboots. Third boot, it doesn't go anywhere. :/

If it isn't too much trouble, a flash able mod would be nice :)
[G2 and Desire Z Android Development] nik3r:
If you have root explorer or similar, you should be able to tell by going into /sd-ext

If you see something inside, it's all good, if not reboot and look again.

The bundled file explorer doesn't support root access.
[G2 and Desire Z Android Development] Fidyyuan:
EDIT: It's working after 3 reboots as you said. Rather confusing for sure. Thanks though!

2nd EDIT: Nevermind, it's not working again after I reboot. This is really confusing.
[G2 and Desire Z Android Development] nik3r:
Well looks like the mounting script still has some flaws that didn't show in my previous tests, until I resolve this consider sd-ext a betatest for the brave :rolleyes: :D
[G2 and Desire Z Android Development] Fidyyuan:
Indeed, for the brave! I've removed my sd-ext so I'm gonna try flashing it regular.
[G2 and Desire Z Android Development] DRSdroid:
i still have sd-ext working from flashing the test one you put up the other day. It bootlooped but i cleared cache and dalvik cache, fixed permissions, and reset. Been working fine ever since. only issue i have is TTS doesn't seem to allow me to change the settings. It works in maps, but when i go into settings, voice-input-output, text-to-speech, settings FC.

I'll reflash whenever you get a good new version up. Good luck and thanks for all the hard work!

EDIT:

it's worth noting that after clearing the cache it took a LONG TIME to boot the first time. i thought it was stuck at the animation, seriously, it was like a 2-5 minute wait at least! After that it ran perfect and the boot is back to it's typical 25seconds.
[G2 and Desire Z Android Development] nik3r:
Depends on the number and size of apps installed before the update, dalvik cache regeneration off SD card can take a sweet time (over 10 minutes for my 170+ apks). Then it fixes permissions of updated apps, also might take about a minute. And yeah, once the sd-ext "takes" for the first time it works for me reliably. Problem is getting it there :D

I am also working on a script that will migrate your internal apps to sd-ext before mounting it. As it is now you probably lose all soft-installed apps once sd-ext takes. Including Opera, QuickPic and others that can't be run from /system.

EDIT: Think I figured this out, test runs commencing.

I have re-written large portion of the script, there were some inherent flaws in the design that doesn't compensate well for somewhat lazy way Android handles SD card. I also made it log more verbosely for future debugging via logcat. Since it's 16th already and the base is just a few hours old I am going to increase the version number to avoid confusion. So far all tests show awesome results - you can probably even "upgrade" EliteMod without sd-ext, just give it a partitioned SD card and flash over and all apks should get transferred to new system without any loss.

Give me a few minutes to pack all the stuff :cool:

Example of the new verbose mounting, notice how the SD card is not found immediatelly. In this case the original script by SparksCo would fail horribly, with my improvements it can compensate for the error and mount anyway:

W/log ( 1210): sd-ext:mountsd: Commencing sd-ext mounting
W/log ( 1212): sd-ext:mountsd: ensure SD Card is present
W/log ( 1215): sd-ext:mountsd: Try SD...
W/log ( 1219): sd-ext:mountsd: SD not present, waiting 1s
W/log ( 1231): sd-ext:mountsd: SD found
W/log ( 1233): sd-ext:mountsd: find SD Card now or never
W/log ( 1236): sd-ext:mountsd: wait for the device to settle
W/log ( 1238): sd-ext:mountsd: SD card should be settled if present
I/mountsd ( 1240): Checking filesystems..
W/log ( 1241): sd-ext:mountsd: fsck the sdcard filesystem first
I/run-parts( 1191): e2fsck 1.41.12 (17-May-2010)
I/run-parts( 1191): /dev/block/mmcblk1p2: clean, 11/131328 files, 24641/524288 locks
W/log ( 1245): sd-ext:mountsd: Check done
W/log ( 1248): sd-ext:mountsd: transfer apks to sd-ext
W/log ( 1255): sd-ext:mountsd: mount and set perms
W/log ( 1266): sd-ext:mountsd: Mounted, migrating apks
I/mountsd ( 1272): /sd-ext successfully mounted
W/log ( 1282): sd-ext:apps2sd: Commencing sd-ext integration
W/log ( 1285): sd-ext:apps2sd: create directories if necessary.
W/log ( 1288): sd-ext:apps2sd: creating directories.
I/a2sd ( 1292): /sd-ext/app-private created
W/log ( 1293): sd-ext:apps2sd: Mounting into system
I/a2sd ( 1295): /sd-ext/app activated
I/a2sd ( 1297): /sd-ext/app-private activated
I/a2sd ( 1299): Apps2SD successfully activated
[G2 and Desire Z Android Development] nik3r:
New version

EliteMod 120316 has been released!

All sd-ext and swap features should perform flawlessly now.

In theory you can update older version of EliteMod and give it a partitioned SD card to automatically enable sd-ext and migrate all installed apps to the SD card. If you plan to try this, please backup your ROM first - this process (assuming it will work) is only one-way, you will not be able to revert to non-sd-ext system without losing all installed apks.

120316

+ updated to latest kang

+ updated apks

+ much more resilient sd-ext mounting

+ verbose mounting script (see logcat for debugging)

+ tiny sd-ext performance increase
[G2 and Desire Z Android Development] Fidyyuan:
I will give this one more shot. I wonder if my Class 2 card will hold up well with this. We'll know soon enough!

EDIT: I wimped out. I'm not sure if my card will last very long so I'll just stick with a straight flash with no sd-ext or swap until I can get a class 6 card or something XD
[G2 and Desire Z Android Development] buxtahuda:
You know, I've never seen a Class 2. I don't think I've ever had anything below Class 4 in front of my eyes, that's crazy lol

Anyway, flashed and booting now after full wipe.

I guess I'll give the ext4 swap a shot after a bit, see how my 32GB Class 4 handles it. Might need to go back to my 16GB Class 6?
[G2 and Desire Z Android Development] SnowOokami:
Class 2? wow.. I think I got that in my 10 year old minolta :p I really need to order a class 10... :-) this new version sounds interesting :D
[G2 and Desire Z Android Development] Fidyyuan:
Didn't all you guys get G2s? My G2 came with a class 2 and I just never bothered to update it lol
[G2 and Desire Z Android Development] nik3r:
Wait, that wasn't just a dummy placeholder in the SD slot? :D

j/k I have a bunch c2s in my old drawer but I replaced the card with my old c6 I was using in Touch Pro straight off the box. Can't tell how slow or fast it was. But as I said, it should not matter much the way I implemented it, just don't use swap. I have 32GB c10 and I don't :)

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] SnowOokami:
My desire Z came with a 8gb class 4 card.... not with a class 2.
[G2 and Desire Z Android Development] Fidyyuan:
Man...T-Mobile let me down :(
[G2 and Desire Z Android Development] DRSdroid:
I flashed this lastnight.. charged my phone to 100%; backed up sd card, formatted everything (sd card included). Flashed, first boot fine, 2nd reboot was 3 bootloops, but I let it ride and sure enough the 3rd time it booted. I let it sit for about 10 minutes and rebooted again then copied back over all the data from my sd card. Swap and sd-ext all seem to be working perfectly. Opera working great too!

I'm using a 16gb class 4 sd card with 256mb swap and 2 gig sd-ext
[G2 and Desire Z Android Development] nik3r:
Cool, the new mounting script has been rock-solid for me, not one dropped mount :)

Just FYI I wasn't able to get swap usage above 30MB even by doing stupid stuff like letting Sygic Aura and Opera with XDA forum homepage (yeah that one is looong lol) and launching Wolfenstein 3D port .. just backing out with home key to let it all run. I don't have any combination that would be more demanding, so 256MB is kind of overkill as the swappping is set to be really relaxed.

Thing is the huge apps didn't auto-close during my tests but the phone performance was gradually decreasing the more stuff was in swap. Once I closed them, the performance was restored. IMO it's more prefferable for the app to be killed than trying to hold on like crazy against all odds :D

Hence I cancelled the swap partition for the sake of battery life, only using 2GB sd-ext.
[G2 and Desire Z Android Development] DRSdroid:
good to know.. next flash maybe i'll redo the SD card to 128mb swap. This ROM is absolutely amazing though now, i can not thing on 1 GB feature it is lacking except MAYBE beats audio (but there is a flashable zip for that anyway :D )
[G2 and Desire Z Android Development] Fidyyuan:
Just get DSP Manager. That's better than Beats audio because it does everything Beats does and more :D

Btw, does anyone know how to deactivate vibrate on phone call connect, end and also on email alerts? My phone is going to drain too much battery because of this. The option is gone :(
[G2 and Desire Z Android Development] nik3r:
For email in the corresponding email app. For K9 it's in account setting - notification - vibrate.

For phone call vibrations.. android settings - calls - first vibrate option.

Too lazy to set EN for this but you get the idea :)

And yeah I love DSP manager, EliteMod comes with my profile for speaker to make the sound less flat (somehow).

As for headphones, I don't really like any additional distortion, PowerAmp equalizer already does the trick for me :)
[G2 and Desire Z Android Development] Fidyyuan:
Is Poweramp better than DSP? Btw, thanks for the suggestion. Gmail has it hidden under Labels to notify.

Btw, how do you get your Quadrant score so high? Mine is 2081.
[G2 and Desire Z Android Development] masterismos:
Poweramp is a music player. Dsp manager is an equalizer program. Are different.

send from other space
[G2 and Desire Z Android Development] buxtahuda:
PowerAmp is a music player with equalizer settings and other good extras. It's my personal favorite, costs a little bit but it's so worth it.

DSP Manager, or whatever the actual name is, is kind of an equalizer for the entire system. It gives you controls to change the pitch and everything depending on whether sound is being played through the phone's speaker or some headphones. It's free and a must have for rooted users IMO
[G2 and Desire Z Android Development] nik3r:
Performance governor and 1.9GHz. Measure the top achievable speed, not speed when it desperately tries to save battery ;) My top score on last 3 builds is 4420 points on quadrant and 4198 on AnTuTu :)
[G2 and Desire Z Android Development] buxtahuda:
Just ran into a wake-freeze. Haven't touched any voltage settings, but I suppose I'll have a look through them now, when I can. Naturally UC'ing when screen is off.
[G2 and Desire Z Android Development] nik3r:
Don't forget the smartassV2 has a very good hardcoded screen-off profile. Setting scary for sleep is causing all sorts of problems with audio playback, notifications coming late etc. 122MHz is very low frequency and scary/conservative is in no hurry to ramp it up. Smartass goes to 768MHz if there's activity and then settles back down as needed all the way to 122MHz.

Just a thought what you may perceive as freeze, it may just take so long for the display to come back up using those govs.

Sent from my Desire Z powered by EliteMod
[G2 and Desire Z Android Development] buxtahuda:
I set 122-368 OnDemand for screen off, to avoid any stuttering and all that. It black-screened and didn't respond for about 20 minutes.

*EDIT:

Rebooted of course, been going the rest of the afternoon no issue. I'll keep an eye on it.
[G2 and Desire Z Android Development] Hai_Duong:
Some how I cant watch flash videos in the browser... sound is coming out but no picture... I hope there is a fix :)
[G2 and Desire Z Android Development] Palingenesis:
That happens a lot with me. But not always. I think because the videos you're trying to watch aren't meant for mobile.
[G2 and Desire Z Android Development] strikey17:
Thank you for the great rom. Works very smoothly. Only wish there was the same icon pack/ theme for GO launcher as you have standard EM for LP. ))) LP icon pack adds the 'cool' factor to the best performance.
[G2 and Desire Z Android Development] nik3r:
You can use the same launcher dock for Go as well, just download the icons zip from mods, unpack the PNGs within to your SD card and then assign the icons manually ;) This can't be done for LP, because it trims the pictures weirdly if you do it manually, hence the flashable mod.

As for flash, some videos work, some don't. Best you can do is to download and install an older version of Flash Player like 10.3.x, this is the latest. Faster but picky.
[G2 and Desire Z Android Development] buxtahuda:
Yup, lol, didn't wake up on time for work today :D It had frozen again during the night.

Let me completely wipe and everything, start again. Something's gotten messed up along the way and I want to say it probably has nothing to do with the ROM itself.
[G2 and Desire Z Android Development] Niksie:
Try this in a terminal emulator app.

su

chmod 000 /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/config.data

This line only works for the default stock browser. Don't know if it's working for Opera browser.
[G2 and Desire Z Android Development] Hai_Duong:
Oh yeah awesome that works :D I use always stock browser :)

Second Problem: Sometimes when i try to lock the screen with the powerbutton the bootmenu pops up... and sometimes its locks the screen normally :/
[G2 and Desire Z Android Development] beanboi:
Can I flash this over CM Nightly, or should I do a full wipe first?
[G2 and Desire Z Android Development] buxtahuda:
I can't say for sure, to avoid any bugs you should keep up-to-date backups of all your sensitive/important info so that you can restore it regardless, but I think a full wipe would be recommended. Usually the only time it isn't is some updates within the same ROM.
[G2 and Desire Z Android Development] nik3r:
Flashing over CM7 nightly a lot of features and tweaks won't be applied. That is if it will boot at all :D

BTW I am going to try the Flash permission hack and include this as standard from now on if it works ;)
[G2 and Desire Z Android Development] eightcore:
Performance has been decreased since your version 120122. Linpack score with 120122: 60+; with 120316: 48.

Sunspider benchmark with 120122: 2100 ms; with 120316: 2700 ms.

Is that a known issue?
[G2 and Desire Z Android Development] nik3r:
Can you specify in which areas exactly the performance decreased?

It is not unheard of that increasing real-life performance/responsiveness decreased synthetic benchmark scores.

And it certainly feels faster to me.

BTW: I am getting 64 MFLOPS on Linpack free ST, so what the hell? :D

Sunspider 1593ms

And be aware that the "new and improved" SetCPU with ICS GUI is causing all kinds of weird issues for me, wrong goverment selections, random reboots and freezes. Not sure what's wrong but I recommend only using the daemon controller or the old version available here on XDA.
[G2 and Desire Z Android Development] Palingenesis:
The latest update of this rom works better than any other rom I've used. However, I'm only using this until the ICS problems are sorted.
[G2 and Desire Z Android Development] beanboi:
I'm loving this rom but I'm wondering if there's a way to uninstall preloaded apps like go launcher and fm radio? Besides the adb method, I mean.
[G2 and Desire Z Android Development] strikey17:
You could use Titanium backup for that.
[G2 and Desire Z Android Development] popimp315:
Came back to this from iwlt

Sent from Planet Vegeta.
[G2 and Desire Z Android Development] eightcore:
nik3r, with which browser do you reach 1600 ms in sunspider?
[G2 and Desire Z Android Development] nik3r:
The built-in Opera at maximum CPU speed performance gov. Didn't try the stock browser. But I am certain I did gain almost 200 points in Quadrant and about 100 point in AnTuTu since 120310. Are you sure the conditions were identical?
[G2 and Desire Z Android Development] eightcore:
Okay. I've just tested the Sunspider benchmark with the stock browser. Performance is great in common.

But IMO there are some disadvantages: 1: I don't like the new design. The old one was more serious. 2: If battery perventage in the status bar is enabled, the battery level bar has some issues sometimes.

The rest is awesome.
[G2 and Desire Z Android Development] nik3r:
You mean the theme? Just use the CM7 Theme Chooser app, I included 2 Sense-like themes, green and blue and original CM7 theme (Androidian).
[G2 and Desire Z Android Development] Fidyyuan:
I just wanna say great work! I love how snappy my phone is! I almost feel like I don't even need to bother with ICS!
[G2 and Desire Z Android Development] popimp315:
Nik3r....this is a great rom. Its great to be back on this. And I love the sense blue look. Very original. All around thumbs up.:thumbup:

Sent from Planet Vegeta.
[G2 and Desire Z Android Development] Chillout:
Excellent ROM! Love the simplicity, speed and battery life on this one!

It opened up the world of undervolting for me, and I'm following the guide as we speak.

Just a question: is it normal that you can go to much much lower voltages, without even freezing? e.g.: I applied 750 to some of the sleeping frequencies (guide said that I shouldnt do this because of guaranteed sleep of death!), but it still doesn't freeze... Is my CPU that awesome, or am I fooling myself? (yes I did apply the frequencies the right way, using UVtools... later I checked with Incredicontrol if the settings were truly set like this, and it was the case!)
[G2 and Desire Z Android Development] nik3r:
Some can go as low as 700mV for 122MHz, it's really CPU-dependant. But if you can get it stable at those voltages, by all means go for it, every 25mV is worth the effort ;)

Just be careful, by lowering voltage for 122MHz you are effectively trading the maximum frequency cap you can use safely with smartass and ondemand for extra battery life.

For me 122MHz @ 750mV lets me run a little over 1248MHz maximum safely, that's about 400-425mV difference coming from min to max. Higher than this and my CPU gives up. But again, this is very device specific, you may have CPU that can handle much more abuse in this manner and it is by no means unsafe to try its limits.
[G2 and Desire Z Android Development] buxtahuda:
Any idea why my alarms are "silenced after 0 minutes?"

They give off a single peep, then just silence and the dismiss/sleep popup.
[G2 and Desire Z Android Development] Chillout:
thanks :)

I didnt know that I could go lower than 750...I might try it out!

I understand the "downside"... wouldn't want to go for anything higher than 1100 anyway.

It might be usefull to share voltages-tables in some way...i really want to plot a graph to show the various settings people are using, so we get an idea of the most common settings and the way the cpus differ from each other :)

for instance: 50% of all people use 750mV @ 122mHz, 25% use 800, 5% use 725, etc etc.
[G2 and Desire Z Android Development] nik3r:
I just tested the stock alarm and it's still beeping for 2 minutes now.. shut up! lol

Must be something on your end, try to set a different sound perhaps? I normally use Gentle Alarm though so this was just a simulated test.

Or maybe wipe the clock app data?

Statistics won't help you UV any better, it's just a matter of luck :)
[G2 and Desire Z Android Development] buxtahuda:
Hmm. I dunno. Set a different sound, same result. FC'd stock clock and cleared data, set new alarm: now it's two tiny beeps and silence. Repeated, turned vibrate off: same thing.

I was just about to say I'll get another alarm app, but now my WiFi is malfunctioning. Doesn't see my AP at work (which it should remember) and the WiFi just keeps going on and off and eventually FC's.

:rolleyes: the simpler solution is usually the best. lol reboot solved the issue, stock alarms and WiFi are working fine.

Going to keep an eye out and see if I notice it acting weird again, because just yesterday on the same boot my WiFi was fine.

Thanks as always! Especially for the info on UV'ing there, I never realized it would create instability for the voltage (along with clocks) to move across too large a range. I need to get in and make some new tables, I'd become complacent on 120122 and haven't gone about to setting this one completely up.
[G2 and Desire Z Android Development] Chillout:
True... at the moment I'm having my voltages not lower than 750, it seems the UV_Tools doesnt allow anything lower. How can I try 725, to see if my phone accepts it?
[G2 and Desire Z Android Development] nik3r:
The UV lower limit is hardcoded in kernel, if it won't go any lower via UV tools, it will not take effect anywhere else either. I think the 700mV was a special edition I once compiled but I'd have to boot up my linux box to check what the limit is in the main build.

Sent from my Desire Z powered by EliteMod
[G2 and Desire Z Android Development] Chillout:
ok, I'm curious and anxious to try lower voltages :)
[G2 and Desire Z Android Development] nik3r:
New kernel

EliteKernel 120319 is out.

Nothing new except the lowered UV limit ;)

have fun
[G2 and Desire Z Android Development] eightcore:
nik3r, thanks for the information about the theme chooser. Your ROM is almost perfect now! Sick speed!

But i still have some questons:

1. After a reboot, the OC daemon isn't active anymore. I have to open the daemon tool and press on "Apply" after each boot. Any solution? I don't have any other CPU apps installed.

2. Is it possible to apply a render effect (from the CM7 settings menu) automatically after startup?

3. On the initial post of this thread you wrote: "Wipe deletes battery stats and recalibration is necessary to see real battery usage." So, how do I recalibrate? Do you mean this?