yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Broman400:
Great ROM, man. Loving it so far :D
[G2 and Desire Z Android Development] Chillout:
installed the latest versions, but it appears that it's taking more power than my charger can give... so batt is draining, even when being on AC power. Anyone else seen this behavior before?
[G2 and Desire Z Android Development] xhitz:
Can you respond to my question about the powersave mode in last post please?

Also is there anyway you could add a system setting for the qwerty keys lights to be controlled by a quick key without having to redownload an app or take memory up?
[G2 and Desire Z Android Development] nik3r:
Then disable the startup scripts? :D They are pretty much useless anyway except for the zipalign apks option and that only needs to be run once. Others are either hardcoded in kernel already or outright problematic.

No this is probably some problem with the decoding codecs, every app that uses system decoding has the same issue. For now use rockplayer or similar player that has own software codecs if you need to stream videos.
[G2 and Desire Z Android Development] xhitz:
I guess your right about the sripts(forgot you only need it once) haha! :p

And I thought it was weird bcuz it works on your other rom but not ICS. Oh well thanks!
[G2 and Desire Z Android Development] nik3r:
new version

New EliteMod and EliteKernel version is out!

Full wipe is not necessary but may solve some problems.

Dalvik Cache wipe is necessary!

Changes:

- decrease default trackpad speed

- remove DSP manager until I find one that is working

- remove picoTTS engine

- include K9mail

- improve performance by re-enabling VM registry mapping (needs dalvik wipe!)

- improve memory management a bit

- update GPS lib to .19 radio

- fix userspace undervolting

- re-add scary

- revert to slower but safer sqlite3

- improve sd card performance by writing larger blocks

Please note that antutu benchmark scores dropped by ~150 points due to removal of unsafe sqlite3 libs. This improvement may be revisited in future version. Actual I/O performance are most likely improved, this should offset the slower databases.

Did I say backup first? :D
[G2 and Desire Z Android Development] Palingenesis:
nik3r, thanks for the great roms! I know you are a busy person, but could you see about trying to get the Cam to work for Yahoo messenger please? This deems to be the only thing missing for me on ICS roms. It's an important feature for me. After flashing ICS roms, I tend to find myself going back to GB since sense roms use to much ram and miui(2.3.x) is outdated.

I would stick with GB, but the flash player issues are annoying. And the lack of high def playback on twitch TV on GB is annoying sometimes. And the speaker isn't as loud. :D

I have asked in almost all ICS threads but only have received one response from a guy telling me to all someone else to help lol.

Anyway,I would very much appreciate it.
[G2 and Desire Z Android Development] robuser007:
Is this 16/06 build based on the new b39?
[G2 and Desire Z Android Development] alexinc:
at least install script says aokp #38... :)
[G2 and Desire Z Android Development] virtualflyer:
looking forward to usb host kernel!!
[G2 and Desire Z Android Development] nik3r:
The installer script says many things but this one is true, it's build 38.

(forgot to change the kernel number in there :D)

Well I'm not using yahoo so what is wrong? We don't have a front facing camera, that might be the whole problem. If that's the case you need to either somehow emulate it and pipe it to the back camera, or contact the yahoo messenger devs to add the option to chose.

Yeah it's been out for days now and I got no feedback on this, so please test the 120616 kernel if it works.

adamz667 just sent me the compiled sqlite3 libs of my experimental database mod. I failed horribly at compiling it, so thanks a lot! :D That means if it's any good, we might see a new kernel sometime today to complement the ROM better.
[G2 and Desire Z Android Development] Palingenesis:
Yahoo video call does work on all roms aside from ICS. I use it on GB elitemod, miui, and I've used it on all sense roms(aside from the 4.0.x roms).

So it's not a problem with the lack of a front facing camera because I'm on gingerbread now and just made a video call last night. I do not think it's a problem with Yahoo. I do not know. Thanks for the reply though.
[G2 and Desire Z Android Development] nik3r:
Still it's a possibility that GB has some kind of such emulation/hack and it is not available for ICS.

Sent from my Desire Z powered by EliteMod

Edit: I'm not very impressed by the speed of the latest version. A lot of kernel changes in the CM7 beta 13 and I still need to fine tune everything. I may release a better tuned version in a few hours along with the modded sqlite and better memory management. I'm also tweaking SIO I/O and BFS CPU schedulers and some minor stuff that might help. And if the USB host support doesn't work, it will in next release, I might have forgot some libs.
[G2 and Desire Z Android Development] xhitz:
Hey nik3r I just rewiped everything and installed the new updated v12016 and then installed the kernel ontop of it and everything booted up fine just didn't know if the reboot section after account setup is gone now? Didn't see it after this install?

Besides that everything runs fine and smooth! Should be getting you feedback shortly on kernel.
[G2 and Desire Z Android Development] nik3r:
The reboot needed after first boot is still there, if you're sure the system never asked you (maybe you just started Apex by accident) you might have a bad flash.

Simple way to tell is to check your notification area, it should have wi-fi, BT and flashlight icons in the power widget by default. If you see that, it's all fine, this is one of the more obvious settings initialized on second boot.

EDIT: put upcoming changes to the changelog
[G2 and Desire Z Android Development] ayeitschris:
How do uninstall facebook? I can't sync facebook contacts, and maybe reinstall facebook would fix it.
[G2 and Desire Z Android Development] Rozza C:
Use Titanium Backup to uninstall it.

I'm guessing that you tried doing it the normal way already and were unable to, which probably means it's installed as a system app.
[G2 and Desire Z Android Development] Hai_Duong:
I have a question about the Standalone Kernel. I use The new ROM Mimicry and i tryed to flash u kernel on it but after flashing i get only stuck in HTC screen after reboot... Can u tell me what i have done wrong i normally flash it per 4ext Recovery.
[G2 and Desire Z Android Development] Stevennnn:
This kernel is probably not compatible with that rom. May is ask you why you tried flashing the elite kernel with that rom anyway?
[G2 and Desire Z Android Development] Hai_Duong:
Because the ROM battery Usage is quite high... i thought this Kernel is better.
[G2 and Desire Z Android Development] Stevennnn:
Well I don't know about that other rom but battery usage with this one is awesome, so maybe you could try to flash this kernel and rom?
[G2 and Desire Z Android Development] Hai_Duong:
No thanks i dont want to change. Mimircy has the best option and Settings i like that :) Battery Usage is the only problem but maybe i can fix it...
[G2 and Desire Z Android Development] DRSdroid:
hoping to flash 120617 today! :D will be checking back often
[G2 and Desire Z Android Development] blk_jack:
You definitely shouldn't be getting excessive battery drain w/ Mimicry. Not too much is changed from this kernel to the one used in Mimicry -- they're both based off Kali's msm7x30 repository and jerl92 has taken a lot of fyodor's patches that are used in Andromadus. That said, the kernel is almost never the cause of battery drain in Android.

If you want, PM me & I'll try to help troubleshoot your battery issues. The first thing I would recommend is getting BetterBatteryStats & Battery Monitor Widget and use them to see your idle/in-use consumption (mA consumption rate) and if there's any apps abusing wakelock.

If you switched to Mimicry w/o doing a full wipe that might also be a cause for the drain.
[G2 and Desire Z Android Development] nik3r:
Don't hold your breath ;)

I finished the kernel revamp but there's still a lot tweaking/testing to do. So it might eventually be 120618 :D

blk_jack:

I wonder why the kernel doesn't work on andromadus, any suggestions? And yes it is almost entirely based on jerl's b13 kernel with a few tricks of my own.
[G2 and Desire Z Android Development] DRSdroid:
I'm holding my breath, i know how quick you can get it done
[G2 and Desire Z Android Development] Rozza C:
That would depend on what timezone you're in...

In my timezone...he has 30 minutes... ;)

Although, I think in his own timezone...it's already the 18th (going by the flag under his name, at least)
[G2 and Desire Z Android Development] BengtL:
Hi

In changelog you say version 120617 but I can only download

EliteModICS120616.zip

Is 120616 the latest or?

Do I need to superwipe when upgrading to 120616 from 120609-2?
[G2 and Desire Z Android Development] Rozza C:
That's the future changelog for the next release. (He's a day behind schedule, it seems. :p)

The latest release is 120616.

I don't think a full wipe is necessary.. You should be able to get by with a dalvik/cache wipe

Sent from Mission Control
[G2 and Desire Z Android Development] nik3r:
Yes from 120609 just dalvik wipe.

Sorry about the release, it's too damn hot outside for me to sit and compile kernels lol.

I'm close but having performance problems.

Sent from my Desire Z powered by EliteMod
[G2 and Desire Z Android Development] contro19:
There's no rush I'm patiently waiting for the next release.
[G2 and Desire Z Android Development] Rozza C:
Think you can share some of that heat with us folk over here in the UK?

All we seem to be getting the rain... :p
[G2 and Desire Z Android Development] nik3r:
Figured it out :)

Opera now starts like 10x faster and it's so damn smooth :D

But it's 4am here so expect a release some time tomorrow. It's pretty difficult to bench at 1.9GHz in this weather, my poor zee is hovering at 50°C half of the time lol

The problem is I use that frequency as a baseline for comparing and for a good reason, at that frequency the point differences that wouldn't be visible at 1200MHz are very profound (50-100 points even). So it's a must if I want to see what effect a knob has.

Well stay tuned and give me 12 hours to sleep and wrap it up ;)
[G2 and Desire Z Android Development] Jivebunny:
Yes, just yes! :D

Sent from my Desire Z running Elitemod ICS
[G2 and Desire Z Android Development] Chillout:
Lovely rom :)

It's a bit less nice to my battery than the CM7 used to be, especially at night. During the night, leaving it untouched and in Power Save mode, it goes down about 25%, maybe I should install Juice Defender again.
[G2 and Desire Z Android Development] nik3r:
You should really see me now, I got sick of waiting for the battery to cool down so I put my phone on ice for the tests, literally :D

I better hurry with the release though, the ice rack is melting rather fast, keeping the 1.9GHz benchmarks at 32°C is apparently not easy :rolleyes:

I'm down to 3 variables to tweak, let's hope I won't have to refreeze the water before I get all of them.
[G2 and Desire Z Android Development] Jivebunny:
That's just awesome! _O_
[G2 and Desire Z Android Development] Chillout:
I would love to see a picture of that ;)
[G2 and Desire Z Android Development] nik3r:
It's a shame my camera is broken and my GF has my backup phone :D

And she just got HTC One X today *jealous* *drools* :p

By the way I got a very interesting idea:

Since most of us is using sd-ext of various sizes and seeing that I have 100's of MB free on my /data partition with 250+ apps loaded. What would you say if I told you I just created a tiny 32MB swap space in there (in /data not on the slow /sdcard).

The idea is, since with sd-ext active the /data only holds application data which is just few hundred kb per app in most cases and dalvik cache, which is about 100mb I think. Why not use some of the free space to offload unused data pages from memory and allow for bigger caches, thus potentially improving performance even further and allow better multitasking :)

The question is, will this be faster than /sdcard? And how would it affect the internal storage in long run? I have it activated right now and I'm willing to make a flashable zip if some of you want to try this out. You can try to have 2 swaps actually but I will make the internal storage have higher priority.

Do you know if anyone ever attempted this?
[G2 and Desire Z Android Development] DRSdroid:
i'm close enough to the end of my contract lol.. worst case scenario "hey tmobile, my phone died, can i get an early upgrade".

I'd definitely test it, although i think 2 swap partitions is a bit but, but using internal storage for it is genius. Maybe when you finish this next release you can post the experimental kernel too?
[G2 and Desire Z Android Development] nik3r:
Actually with 2 swap locations, the kernel would evenly distribute the load to the 2 devices by some criteria. On desktop linux you can set a priority for each swap location but not on android, the distribution is based on round robin. Still may yield interesting results to use them in unison, may offload some lag from sdcard-based swapping for one. Also double the potential lifespan of your sdcard (at a cost in device storage lol)
[G2 and Desire Z Android Development] DRSdroid:
well i definitely trust you on this one. Can't wait to try that. Likely have to make the internal swap via adb? can you actually do that with an installer script?
[G2 and Desire Z Android Development] nik3r:
You can try it manually. It's as easy as typing this from the terminal or adb shell:

busybox dd if=/dev/zero of=/data/local/swap bs=1M count=32
chmod 0600 /data/local/swap
mkswap /data/local/swap
swapon /data/local/swap

substitute count for the desired size in MB but 32 it plenty for this.

This is obviously non-persistent and the swap will be disabled after reboot (the /data/local/swap file will remain though so you may want to delete it if you don't want it any more).

After activation type "free" to see swap size.

Flashable zip with similar init.d script would make it persistent.

(just ran out of ice lol)

UPDATE:

You've got to be kidding me, adamz667 just released AOKP b39 .. and I was already uploading >.<

Give me a moment to change the base and test it.
[G2 and Desire Z Android Development] demkantor:
If you can get a hold of firerat (he's banned from most forms:D) I was hoping to work with him on custom mtd partitions for the g2/dz and I believe he has attempted to add more ram with the cmtd placing a linux swap partition in the emmc so he could probably let you know how well it works. With the amount of internal memory we have its a shame we can't convert it to ram or at least no one has found out how to yet. If you check out his github you'll get an idea of what he has done for other devices
[G2 and Desire Z Android Development] nik3r:
Are you implying that our RAM is actually the same hardware as the internal storage, just splitted by partitions? Kind of like in WM5 where you could move the line between storage and memory? In that case there would be no problem whatsoever using swap in there safely.

Oh and plentiful internal memory.. well.. not plentiful enough, I would be completely lost without my extra 2gig on sd-ext :D Actually this whole plan relies on using sd-ext, the storage is otherwise too constrained for this to be practical.
[G2 and Desire Z Android Development] demkantor:
I don't think its that simple, if it were than someone would have figured this out a long time ago. But I do feel it is possible and if I knew more about it id gladly share. Firerat and ibcoder started this idea back in the cm5 days on the g1, it has been great to allow for bigger partitions to system on the g1 to allow "fuller" roms but hasn't worked in the way to just move a line and choose more ram less rom

here is a link to his work if you want to check it out some

https://github.com/Firerat/CustomMTD
[G2 and Desire Z Android Development] nik3r:
EliteMod 120619 is out

based on AOKP b39 and CM9 kernel b13

In a nutshell - smoother and faster than ever, I think comparable to original EliteMod CM7. Should be slightly more battery efficient as well.

Update from 120616 is possible, but you must wipe cache and dalvik cache.

Changes:

- elitekernel tweaks override AOKP Rom Control profiles that affect already tweaked tunables

- better memory management, reduced launcher killing

- better cache management

- custom fast module deployer in the kernel source (sh compile)

- BFS CPU scheduler revamped for better throughput and concurrency

- SIO I/O scheduler revamped for lower latencies and better performance on flash devices

- possible battery improvements

Enjoy and the dataswap mod will be done shortly if you are interested.
[G2 and Desire Z Android Development] ayeitschris:
daemon controller keeps forceclosing when i open app with new 120619 update
[G2 and Desire Z Android Development] nik3r:
Yeah it's dodgy, when I get it to run it can't change anything but voltages. I should probably use different daemon in next kernel version.

Thing is I use SetCPU so I never even noticed :D
[G2 and Desire Z Android Development] rirozizo:
"(tested on CM9 and AOKP - based ROMs, including sd-ext support!)"

i installed CM9 on my phone, and got the kernel... i took your word for it, and didn't nandroid backup first... so i flashed your kernel, and the phone got stuck on the boot image... it didn't even get to the animation! THIS SUCKS... please remove the quoted message from your first post, because it doesn't seem to be true
[G2 and Desire Z Android Development] Rozza C:
Is it safe to just dalvik wipe for this update?

I'm guessing yes because you dont have any !'s :)
[G2 and Desire Z Android Development] nik3r:
Yup 90% of the changes are in kernel so it's safe. Wipe both cache and dalvik cache for good measure, because you are changing the base ROM from b38 to b39 ;)

Riro Zizo:

I didn't get to testing CM9 with this version yet, been working on something else and I got only 2 hands :D But I don't see why wouldn't it work, the kernel is 99% CM9b13 by jerl92.

Reflashing CM9 and gapps without any wipe should fix it for you.
[G2 and Desire Z Android Development] nik3r:
DataSwap mods

DataSwap mods

(post revised after initial tests)

As a matter of fact there is usually over 500MB of free space on the /data partition when you are using sd-ext to store your applications. In such case the data partition only holds your application data (settings etc.) and dalvik cache.

DataSwap is an experimental mod designed to take advantage of this space leftover and use it as an extension of your RAM.

Technically this mod will chew a few MB off your /data partition and establish a temporary swap storage. This allows data pages to be swapped out of RAM when they are not needed for some time, in turn freeing more RAM for other apps and filesystem caches.

This results in far better multitasking, because your background applications are not getting killed due to low memory. At least not as aggressively as you are used to.

But (there is always a "but", right?) please note this mod entails some potential risks. Using it for prolonged periods *may* shorten the life of your device's internal storage just like swap partition deteriorates your sdcard.

There are steps taken to prevent or minimize continuous abuse of single physical location of your storage, but it has not been tested over very long periods.

I take no responsibility for any damage - long or short term - this may cause. You have been warned.

To slow down or eliminate the potential storage corruption, I am attempting to create a new swap storage in different physical location on every reboot. That way the same physical space won't be abused over and over (like sdcard would where the partition is statically placed and can't be moved).

There are currently 3 variants of this mod

based on total swap size you will get. Please note that according to my tests, the sweet spot under the usual heavy load is around 58MB.

The variants are:

64MB - this seems to be the closest to a sweet spot with some room to breathe and is the recommended size

96MB - for people who use several very heavy apps

OFF - this disables the mod completely and reclaims the swap storage

Note that keeping apps alive may also potentially cost some processing time and battery life, if they are not efficiently designed.

Again this is meant to be used along sd-ext, without it the data partition is accessed too often for this to be viable for performance reasons.

And if you already do have a swap partition on your sdcard - you can use this in unison with sd swap. This could offload some stress from the sdcard, in theory doubling its lifespan and improving swapping performance. If there are multiple swap storages, the load should be distributed evenly.

You can check if the mod works by typing "free" from shell terminal.

Enjoy :cool:
[G2 and Desire Z Android Development] nik3r:
Ironic that CM9-based kernel doesn't work on CM9 but works on AOKP :D

Probably increased performance one too many percent lol
[G2 and Desire Z Android Development] HTCTOUCHPRO91:
@niker

http://xdaforums.com/showpost.php?p=27601129&postcount=160

can it improve your fantastic work?
[G2 and Desire Z Android Development] nik3r:
Well my kernel is already O3 optimized and as for the base rom, that's up to AOKP devs ;)

You must understand that O3 has its drawbacks, first there may be compiler errors that wouldn't show up on O2. And O3 increases the final binary size, sometimes quite dramatically. Smaller code is sometimes faster than fast-but-larger code, because the smaller code would fit into L2 cache on CPU, while the more optimized version will be read from RAM first. It's a tradeoff like everything. I try very hard to make the kernel as small as possible so that this impact of the inflated code is minimized.

And GPU overclocking as far as I researched is not possible on adreno205, I understand this was confirmed by qualcomm employee.
[G2 and Desire Z Android Development] Rozza C:
Well actually I'm going to be coming from the release before that (0609, was it??)

I think I will full wipe just in case.

Sent from the back of a police van...
[G2 and Desire Z Android Development] DRSdroid:
did you end up updating to aokp b39 for the base
[G2 and Desire Z Android Development] nik3r:
Of course, and finished the DataSwap mod ;)

But the kernel doesn't work on CM9, I'm trying to fix that now. Actually the kernel is fine, it's something I'm bundling with it in the package that interfere :D

This update won't affect EliteMod users though so flash away.
[G2 and Desire Z Android Development] HTCTOUCHPRO91:
Thank You for the answer

:D
[G2 and Desire Z Android Development] TheNewGuy:
Sweet! Does the newest build 06-19-12 also have usb host capability? Also are there any additional steps needed to activate/test it? I have an HID device that should work if the kernel has usb host...so I should be able to test it....
[G2 and Desire Z Android Development] nik3r:
CM9 fix

Yes USB host and keyboard suport is active but I have no idea how to actually use it :D

Please note that CM9 and possibly other ROMs are now supported by kernel.

I had to make 2 flavors:

- one with AOKP-specific tweaks (the same as bundled with EliteMod)

- second with some changes for better compatibility across other ICS ROMs out there

That means no more bootloops and sd-ext in CM9 among other things ;)

Enjoy :D
[G2 and Desire Z Android Development] DRSdroid:
Keyboard support? You crazy!

---------- Post added at 08:27 PM ---------- Previous post was at 08:15 PM ----------

up and running.. 32mb swap on internal and 128mb swap on sd-card and everything seems to be detected and seems to be being utilized. I'll report back in a few days. I did a full format of everything before doing the install.

Also restored most of my apps via tb