yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] kbeezie:
Hrm, I guess I didn't think about cost, simply because I'm used to paying yearly for my Skype's online # and unlimited U.S. subscription.

Not sure if this would work for your location, but is it possible to log into the google voice website, and 'call' your phone number, I can do this with my GV account *but* I think I can only do such because it's a US account.

Shame there's not like some kind of Wifi-based diagnostic tool to trigger a call behavior.
[G2 and Desire Z Android Development] demkantor:
good call, you should make an app for this diagnoses feature!
[G2 and Desire Z Android Development] rirozizo:
no messages or errors when i don't have sdext, i just restore my apps, reboot, no apps installed...

install apps, recovery, wipe both caches, reboot, no apps installed...

AND: you got some issues with the buffers here man :p i mean, music lags if i didn't turn the buffer to max, system process "crashes" from time to time because it can't handle the pressure, and ringtones have some problems

my ringtone problem was that when i get a call, the phone vibrates, but after say 10-15 secs until i hear.......... something

PLUS: oh and the graphical glitches that occur mostly in the launcher (i had it on tapatalk, and whatsapp too), but that might not be your fault though

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] nik3r:
That's what I thought but it's not the buffers, I quadrupled the size of all system audio buffers in the last experimental kernel and it didn't help. I have some ideas what could be the cause but this will take time.

Firstly I need someone to call me to test it quickly and secondly I just had a major breakthrough in my other android project (commercial) and that has higher priority than lagging sound right now since I'm basically unemployed until that is finished :D
[G2 and Desire Z Android Development] jeebspawnshop:
Good luck with it, bro. You deserve every penny :good:
[G2 and Desire Z Android Development] x.para:
Google play

Would it be possible to try to improove device performance when using google play music app? when using this app, device is not that well responsive as usualy is. simply choppy/laggy. or reaching device HW limitations because google play is so demanding app?
[G2 and Desire Z Android Development] kbeezie:
You using either DataSwap or SD-Swap?
[G2 and Desire Z Android Development] x.para:
No just have ext4
[G2 and Desire Z Android Development] kbeezie:
Then either DataSwap (easiest to do without re-partitioning your SD card, and won't take up much room since you're already using Sd-Ext, and it's faster than sd-swap) or SD-Swap will help improve that laggy-ness quite a bit especially in multi-tasking situations.

Download both the 64MB one and "OFF", flash the 64MB one, try it out a bit, and if you don't like it, just flash the OFF zip back on it.
[G2 and Desire Z Android Development] x.para:
Thanks, I flashed DataSwap and will observe this. But do you think the risk it will shorten the life of my device's internal storage is so serious. And what it means, so it will survive 4.5 years in operation but not 5 years or it will survive 1 year but not 5. This is difference :)
[G2 and Desire Z Android Development] rirozizo:
i tried the 98MB data swap (i really need that, had a 256MB sd swap, but i replaced it with sdext), but the phone kept caching and caching until the 98MB became full (free in terminal gave me 0 on swap, and 9800 used), and the phone became laggy, and there is no way i could remove those caches exept a reboot... so i removed it

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Well he puts the warning there simply as a disclaimer that it's experimental and haven't been tested for a long period of time. But what I like bout dataswap in the way he coded it is that each time you reboot it moves the file to a different part of the internal memory.

Also when using sd-ext you are pretty much using the SD card for most of your non-system app storage so you pretty much split the activity away from the internal storage, so not a lot going on just the internal storage.

---------- Post added at 05:47 AM ---------- Previous post was at 05:45 AM ----------

how long ago was this? Also if you see zero in swap via the free output then the swap partition was not activated, I've seen this happen before when using two sd-ext partitions.

Also there is no 98MB data swap, there's a 96 and a 64 (and a 32 while back, til he he determined ~50MB was around the sweet spot and switched to recommending 64). Also with both data swap and sd-swap used, I find that it will be extremely rare that the sdswap will ever get touched, but it's there just in case there's a spike in memory requirement.

For example this is my current free output with the configurations mentioned in my signature:

total used free shared buffers
Mem: 375212 359844 15368 0 1552
-/+ buffers: 358292 16920
Swap: 229880 58044 171836

If your third row of numbers has zero for total, then it didn't get applied.
[G2 and Desire Z Android Development] rirozizo:
misunderstood WARNING! :P

when i type free, i see total, used and free, in the second free, there is 0, so it's activated, but full

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] nik3r:
In last 2 kernel versions it should never get full. I was around 40MB after 3 days of heavy usage last time I checked on 27th kernel.

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] rirozizo:
i'll try agan with the 96MB...

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
By the way Nik3r, seems that our earlier confusion with the df output was based on the android provided one being different than using busybox.

Example:

root@android:/ # busybox df -m
Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 183 0 183 0% /dev
tmpfs 183 0 183 0% /mnt/asec
tmpfs 183 0 183 0% /mnt/obb
/dev/block/mmcblk0p25
409 237 172 58% /system
/dev/block/mmcblk0p26
1309 443 866 34% /data
/dev/block/mmcblk0p27
202 4 197 2% /cache
/dev/block/mmcblk0p28
20 16 4 82% /devlog
/dev/block/mmcblk1p2 2016 328 1687 16% /sd-ext
/dev/block/mmcblk1p2 2016 328 1687 16% /data/app
/dev/block/mmcblk1p2 2016 328 1687 16% /data/app-private
/dev/block/vold/179:65
13009 4177 8831 32% /mnt/sdcard
/dev/block/vold/179:65
13009 4177 8831 32% /mnt/secure/asec

vs just using df (which doesn't understand any parameters)

root@android:/ # df
Filesystem Size Used Free Blksize
/dev 183M 60K 183M 4096
/mnt/asec 183M 0K 183M 4096
/mnt/obb 183M 0K 183M 4096
/system 409M 236M 172M 4096
/data 1G 443M 865M 4096
/cache 201M 4M 197M 4096
/devlog 19M 16M 3M 4096
/sd-ext 1G 328M 1G 4096
/data/app 1G 328M 1G 4096
/data/app-private 1G 328M 1G 4096
/mnt/sdcard 12G 4G 8G 16384
/mnt/secure/asec 12G 4G 8G 16384

as you can see the capacities are correctly reported via busy box, but not via the df binary in /system/bin/ , maybe some way to map the included df to the busybox df in future version of EliteMod.
[G2 and Desire Z Android Development] kbeezie:
New sizes after going with the Desire-Z hboot instead of G2:

Filesystem Size Used Available Use% Mounted on
tmpfs 183.2M 60.0K 183.1M 0% /dev
tmpfs 183.2M 0 183.2M 0% /mnt/asec
tmpfs 183.2M 0 183.2M 0% /mnt/obb
/dev/block/mmcblk0p25
549.2M 239.2M 310.0M 44% /system
/dev/block/mmcblk0p26
1.0G 444.1M 629.7M 41% /data
/dev/block/mmcblk0p27
295.3M 4.7M 290.6M 2% /cache
/dev/block/mmcblk1p2 2.0G 328.3M 1.6G 16% /sd-ext
/dev/block/mmcblk1p2 2.0G 328.3M 1.6G 16% /data/app
/dev/block/mmcblk1p2 2.0G 328.3M 1.6G 16% /data/app-private
/dev/block/vold/179:65
12.7G 2.3G 10.4G 18% /mnt/sdcard
/dev/block/vold/179:65
12.7G 2.3G 10.4G 18% /mnt/secure/asec

(figured just in case any future rom desires a bigger /system, and since I'm using sd-ext anyways the loss is negligible).
[G2 and Desire Z Android Development] nik3r:
:screams_in_frustration:

I am attempting to fix the sound skipping but the damn thing is working fine! It's skipping every time someone calls but when I test it using tzhe google validation service it's butter smooth. HOW?? :D

I think the problem is in the google phone app itself. It's working fine when you don't have the person in contacts (this is hidden number). But when you have name (and photo) in contacts, the app is trying to pull this information from the database on the same thread where the sound is playing. If that's so it's a SERIOUS design flaw by google. Anyone who ever made any game knows - handle your damn audio and network code on separate threads! :D

I'll keep looking :eek:
[G2 and Desire Z Android Development] nik3r:
New EliteKernel 120704 has been released!

This bundles a lot of subtle changes. Expect overall smoother performance, less ANRs (application not responding). Much smoother sound experience. Slightly better battery life and possibly somehow (1-2 notches) improved overclockability on smartass2 without performance drop.

(overclockability... hey is that even a word? :D)

I have some changes scheduled for the full ROM as well but that will wait a bit until I gather more stuff ;)7

Changes 120704 (kernel only):

- reduce launcher killing without any swap (not very aggressive though, that would slow down loading of heavy apps)

- merge CM9 RC1 changes

- finally fix the ring skipping

- mild performance increase

- possibly less ANRs

- dropped support for legacy apps that control wi-fi

- enabled high-resolution system timer

- experimental audio changes may break some call recording apps (please test, works for me)

- added device mapper encryption support as module

- optimized all modules for faster loading

Happy flashing :cool:

BTW: Almost forgot, I added information about using kernel modules just below FAQ in second post

(FUSE, USB support, NTFS support and stuff like that ;) )
[G2 and Desire Z Android Development] rirozizo:
when done making changes, could you please upload it as a 'mod'? i really can't download the whole rom again :D

FLASHED: uh.... did you make something for the boot? i noticed a difference in boot time, and performance right after boot... it was awesome

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Don't see why that would be all that useful, might actually cause confusion with people not upgrading from an immediately previous version of the rom. Unless you're in some kind of country with extremely limited bandwidth that you can't redownload a ~200mb file, I don't see why this is really an issue.

In most cases you should be able to just flash the rom over your existing one unless he makes a note otherwise of requiring a full wipe. (would just need to make sure to re-add any /system changes, like for me with the T-mobile wifi calling and such).
[G2 and Desire Z Android Development] rirozizo:
my bandwidth is 166MB a day... so yeah, im having trouble redownloading things

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Um... ouch. Your only internet connection thru a limited phone data plan or something? If such the case, not really feasible to be doing custom roms and such, I still don't think it would be practical for him to be keeping incremental patches from version to version.
[G2 and Desire Z Android Development] alexinc:
with new kernel-04-07 and wiping dalvik+cache i'm getting data again when speed is cut down by provider! :)
[G2 and Desire Z Android Development] ernestnwanu:
Is a fresh install necessary? Or will wiping caches suffice? I'm using data swap.
[G2 and Desire Z Android Development] alexinc:
still having data swap activated after updating kernel... just cleared caches in case. ;-)
[G2 and Desire Z Android Development] kbeezie:
depends on what you're flashing. If you're just flashing the kernel, wipe isn't really necessary but I usually just do a cache wipe at the least and re-apply data swap and anything else that may affect the /system partition.
[G2 and Desire Z Android Development] ernestnwanu:
Yep, just the kernel as it seems that's where all the changes lie. Thank you.
[G2 and Desire Z Android Development] kbeezie:
By the way, any clue why landscape orientation lock screen is unusable? (meaning the pattern dots are off the screen as such can't unlock in landscape but can in portrait).

Screens:

vs
[G2 and Desire Z Android Development] rirozizo:
lol, this 166MB limit is on my wifi DSL, i don't have a mobile data connection, although if i had, i would be stuck at 100MB per MONTH... wifi: 5GB per month, that's 166MB per day

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] nik3r:
Ouch at the 5GB limit (lived that around 2002), but I can only make incremental patches for hotfixes with few changes. Doing a patch for larger changes would just break permissions everywhere and I don't exactly keep track of every file I change over the week between releases. When I have something new that works I just dump it in the mod folder and go about my bussiness :D The full ROM installer takes care of everything else for me, otherwise I would have to chmod every new file individually to prevent FCs. That's just not feasable. Maybe a change of ISP is in order, just threaten them you are leaving and my experience is they will drop your FUP and halve the price :D That's what I did back then :D

I didn't exactly try but my bet is on the weather widget, try to turn it off.

Fresh install if not necessary for kernel unless stated otherwise. I found wiping cache+dalvik may help performance though, don't ask why. Kernel doesn't delete anything except EFS, so your dataswap and any /system changes should be intact.

Only indirectly but yeah I love it too :D
[G2 and Desire Z Android Development] kbeezie:
That was my first suspicion which I disabled and still showed the same issue. Not a big deal since I normally turn on the device in portrait mode anyways. (and double checked by disabling everything weather related in the rom control).
[G2 and Desire Z Android Development] rirozizo:
i'm having some kind of SOD(Sleep Of Death)... very weird actually: i have to either press the tp twice-three time to get the screen on, or do the same with the power button
[G2 and Desire Z Android Development] kbeezie:
Are you using a maximum cpu speed of 384 or lower for 'screen off' profile? If so you probably want to restrict it to around 768Mhz max for screen off, otherwise it may have difficulties responding to events.
[G2 and Desire Z Android Development] rirozizo:
768MHz is my max freq for sleep profile... 245MHz is min freq, i didn't have any problem before flashing the new kernel... maybe wiping cache and dalvik would solve it? but i doubt that

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] ernestnwanu:
I too seem to have this SOD. Need to tap the unlock button 2 or 3 times to get the screen to light up. I'm using the SetCPU profiles that were recommended. I've tried raising minimum to 368 when screen is off but it didn't help. It's not a big issue though.
[G2 and Desire Z Android Development] rirozizo:
this... exactly

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Odd, I'm not having this issue on my own (set cpu profile in my sig), what governor are you using for some of these profiles?

Any chance that both SetCPU and IncrediControl are active? (since the latter is installed with the kernel), though technically shouldn't impact unless both are set on boot.
[G2 and Desire Z Android Development] rirozizo:
ILWT tools is controlling my CPU... nothing else, i'm using conservative on sleep profil

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] nik3r:
Hold it for a few ms, like the duration of haptic vibration, don't just tap it :D

I wonder if that is the intended behavior and we just didn't see it without the high resolution timer. It would make sense.

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] kbeezie:
I'd wonder about that as well, kinda like how the camera button isn't designed to immediately show the camera just from tapping it, perhaps to prevent accidental hits.

---------- Post added at 08:14 AM ---------- Previous post was at 08:13 AM ----------

SmartAssV2 would probably be a better fit, if I recall correctly conservative tends to prefer the lowest speed and scales up slowly as a result makes it harder for the phone to wake.

---------- Post added at 08:28 AM ---------- Previous post was at 08:14 AM ----------

By the way I noticed with the latest kernel, that under System Settings -> Data -> Mobile Network settings , that "Use Only 2G networks" appears to be stuck on.

Or least requires me to turn off wifi completely, then uncheck 2G a couple of times for it to stick and end up using 3G/H instead.

But course if I reboot it shows 'use 2G only again' in settings, if I enable Wifi again, it goes back to that setting again.

I'm not using Power Saver either. Maybe a kernel level battery saving feature?
[G2 and Desire Z Android Development] rirozizo:
holding the tp did the trick... but i used to just tap it... just a little bit... before i flashed the new kernel. kinda weird

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Yea not sure what's different on yours than mine, since I'm using the exact same kernel and I can just simply tap power for my lock screen to come up without delay.
[G2 and Desire Z Android Development] nik3r:
Not power, he's talking about the trackpad wake ;) Maybe it's a safety feature, and maybe it's lag in button processing.

I'll try to recompile with the old lower resolution timer to check.

But power button works ok, as do HW keyboard so that lets me think it's actually intended, just the delay is too short for the previous timer to pick up. Or our phone doesn't support high resolution timer and we are actually getting lower resolution like this.. also possible :D
[G2 and Desire Z Android Development] kbeezie:
quick tap of the tradpad works for me as well... *shrug*
[G2 and Desire Z Android Development] nik3r:
Is it just me or the USB doesn't work? Both ADB and mass storage is down for me.

Nevermind, I switched to another USB port and it works fine, I guess this PC could really use a reboot after 2 weeks :D
[G2 and Desire Z Android Development] Moerf:
Hello,

thank you for your amazing ROM and Kernel nik3r first of all!

But now I have a problem. I upgraded from the Kernel bundled with EliteMod ICS 120627 to the new one (EliteKernel ICS 120704) with Delvik and Cache Wipe.

Before, DHCP was already top of the Partial Wakelocks list of BetterBatteryStats. But now I also get Kernel wakelocks from the "wlan_rx_wake" letting my device never sleep deep, so the battery went down by 40% in a few hours...

I googled a bit and found that this problem seems to appear randomly and is issued probably by DHCP queries.

Do you have any idea what may cause this and how to this could have happened?

If not I think I should just return to the old kernel and live with it.

-----------

Ah and BTW I also need to hold down the power button for a few ms now, this behavio was not there before. I know that because I got used to push it for just a very, very short time. But that may be no bother after getting used to it.
[G2 and Desire Z Android Development] nik3r:
I did notice my battery died quite quickly over night but I though it was due to the fact it wasn't charged all the way up and I was running 1.9GHz tests.

Can anyone confirm this increased power usage in standby?
[G2 and Desire Z Android Development] rirozizo:
went down to 40-45% in a few hours today... no heavy usage.

i can clearly confirm battery usage is much bigger than the previous kernel

BTW: try clicking Lumos for Android - Battery-saving backlight manager (wip) in you sig Nik3r and tell me what you get ;)
[G2 and Desire Z Android Development] nik3r:
I need to charge up first to get any useful statistics about wakelocks. Are you certain this is network related? I will look up all the network-related changes. For now please try this just in case:

http://elite-force.eu/elitemod/MOD_E...S_120704-2.zip

This has the high resolution timer disabled, if I am correct this will fix the wake problems as well, it's the main culprit. Since this is using low resolution timer, I have dropped the HRT support completely to save a few kb on kernel. It should not be needed and only wastes space, wonder why everyone else keeps it active :D

Riro Zizo:

I get nothing? lol It still needs a settings and calibration app
[G2 and Desire Z Android Development] rirozizo:
Nik3r... exactly! fix your sig, and put a link
[G2 and Desire Z Android Development] nik3r:
If there will be a link, it will be to Play Store :p

You know how it goes, it will be my first commercial app, it has to be perfect from day one. I'm taking my time to make a good name out there and to at least match the quality of my original Lumos for WM. Of course I want more on android that just a port, since I can get your location and calculate exact times of dawn/dusk I can make it do wicked things automatically far beyond even CyanogenMod BL manager :D

But back to the point, download and test the kernel. It boots - that much I can confirm. And the trackpad wake reacts well again. I wouldn'T be surprised if the wakelocks were gone too :D

EDIT something is wrong still even with the -2 kernel. I am getting massive lags on the HW keyboard. I have to leave now so recommend going back to 120627 until I sort this out.
[G2 and Desire Z Android Development] nik3r:
Fixed.. I think.

Download 120704-3 to get rid of the issues. This should take care of the wakelocks as well, please report your findings I'm off now.
[G2 and Desire Z Android Development] DRSdroid:
http://xdaforums.com/showthread.php?t=1747224&page=54

any idea if you can get this running properly as a flashable zip? I'm running it right now on your last release and it works, just no mic support.

I tried using the voicesearch app from a JB rom but still no luck :(
[G2 and Desire Z Android Development] kbeezie:
Aren't those strictly for JB?
[G2 and Desire Z Android Development] DRSdroid:
you would think.. but the google now service seems to work about 95% on ICS, i'm curious if it could work more. It seems ICS and JB are very similar
[G2 and Desire Z Android Development] rirozizo:
so -3 is a stable kernel?

btw i'm hetting keyboard lag when using the touchscreen keyboard... any ideas?

———————————————————

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] S4crifice:
Display gets crazy while charging

Hi,

next problem I found with the newest version (627) with newest kernell is that during charging display goes crazy. ... It means that it moves by itself as phone wants, when I tap somewhere - just tap, it act like move ect ...

I hope you get the trouble and that this problem is not here already taken, but I really dont have much time to solve this ...

Factory and wipe reset didnt help ... Thx
[G2 and Desire Z Android Development] alexinc:
cannot confirm! display working fine here even while charging...
[G2 and Desire Z Android Development] nik3r:
Yes 120704-3 is stable so far. Wakeup lags are gone, keyboard works fine too and power usage seems to be back to normal.
[G2 and Desire Z Android Development] alexinc:
do you think your tweaks will work with upcoming 3.0 kernels too? just curious, as i'm becoming a big fan of your data swap and your whole work. :-)
[G2 and Desire Z Android Development] nik3r:
If they won't I'll make them :D
[G2 and Desire Z Android Development] S4crifice:
I will try to make some video next time I charge the device ... When its fully charged, its OK too ...