yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] =JKT=:
Very interesting insights. I also notice with swap that when I use a third party dialer (exDialer) that the contact info that goes with the call log takes a much longer time to show up after the contacts app is killed. In other words, my call log is all numbers, no names, for like ten seconds.

I'm going to disable dataswap and see if it makes an improvement as you say. Although apart from a couple of minor lags, it all seems to run pretty well. I just wonder if I'll think it's worth it if my data partition blows up...

---------- Post added at 02:01 PM ---------- Previous post was at 01:50 PM ----------

Hmm. With data swap off, it reacts the same. Oh well.

A question, Nik3r:

If the app is killed, it has to be lauched again from the data partition, and files are assembled into the ram from that, right? (Maybe no...lol) if that's true, then won't reading pre-assembled files and writing those into the ram still be as fast if not slightly faster (no assembly required)?

That is why I thought data swap was such a fantastic idea in the first place. However, I'm not very learned in these matters, so I'm probably missing something important.

Edit: I see now that you are saying the task killer gets borked with swap. Meaning that apps aren't killed when they should be anymore and ram gets completely filled?
[G2 and Desire Z Android Development] nik3r:
The problem is the apk can be 1MB in size but the memory used by that app is usually over 8MB. That means on "deswapping" at least 9 MB has to be transferred instead of 1MB (+ some fast startup processing done mainly in memory).

Plus deswapping means read to memory and delete from swap (2 operations), while apk open is just reading and the rest is done in memory. Also the apk may be cached. So this is really useful if the apk is large 10MB+ and takes a lot to open the app, in that case swapped approach should be faster. Smaller apps will however suffer when they are swapped.

I'm now experimenting with a "multi-threaded" approach to DataSwap. Because DataSwap is basically 64MB file mounted as storage, I thought perhaps making it smaller would help the performance.

Instead of making one huge file I am making several smaller files and decreasing the transfer rates to any one file. The swap is then distributed among all of them based on round robin. I'm currently on 4x12MB (48MB swap) and it's working nicely so far.

I'm not sure how the I/O cache handles swap files and if there's an actual performance difference between random RW in 64MB file and 12MB file. If this works nicely I might take this even further and split it into more pieces and see how it behaves. My hypothesis is that even if I effectively cut the swap I/O throughput in half, I write to 4 separate files, effectively doubling the speed if the storage can handle it, and perhaps making it cache more easily.

We'll see how it goes over long uptimes...
[G2 and Desire Z Android Development] robuser007:
Its because I updated superuser.
[G2 and Desire Z Android Development] =JKT=:
Thanks for indulging me and answering my question so clearly! That makes sense, and I look forward to testing your latest experiment!
[G2 and Desire Z Android Development] kbeezie:
Not sure why this happens to some people and not others, but you did not lose root, you most likely have "Apps Only" checked under Root Access under System Settings -> Development. You have to change it to Apps and ADB if you need to use the terminal with root access.
[G2 and Desire Z Android Development] robuser007:
I tried to update within the superuser app => cheque su...doesn''t work or update failed... root issues.

I just don't try to update anymore.
[G2 and Desire Z Android Development] kbeezie:
Hrm I never had that problem, I always stuck with the su/superuser app that came with the rom, and only updated thru Google Play Store.
[G2 and Desire Z Android Development] rirozizo:
i changed the dpi from stock 240 to 220... it made a big difference, i have more space now, lists became smaller... i hope this doesn't impact performance though

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

pm me if you need any app... ANY app
[G2 and Desire Z Android Development] kbeezie:
Probably won't impact performance, but it may impact most of your apps, and your ability to download/install stuff from the google play store (ie: they may show up as incompatible etc).
[G2 and Desire Z Android Development] nik3r:
robuser007:

Uninstall any update to Superuser app you downloaded, wipe it's data.

Then go to recovery and reflash the ROM without any wipe, you should not lose anything and your su should be reverted. And the latest ROM also has latest superuser, there is no need to update. SU is always up to date in EliteMod.
[G2 and Desire Z Android Development] rirozizo:
returned to 240dpi because of the play store... i wish iit could just mind its own business! :mad:

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

pm me if you need any app... ANY app
[G2 and Desire Z Android Development] =JKT=:
Try 230? =P

You know, my battery life wasn't so good, and I was experiencing a bit of periodic lag after using fb. I removed the facebook app and my lag problems never really came back (except with play store running) and my battery life is good!

Man, the facebook app just sucks so bad. I'm using friendcaster now instead. Seems ok so far.
[G2 and Desire Z Android Development] rirozizo:
220 was the perfect fit... and i maybe switching back to it... turns out the app itself doesn't support 4.0.4

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

pm me if you need any app... ANY app
[G2 and Desire Z Android Development] nik3r:
Yes, facebook and twitter apps are evil. I think I will replace it with Friendcaster and Tweedle in the next release, the performance difference is huge. Features not so much.
[G2 and Desire Z Android Development] =JKT=:
I can see what you mean...the homescreen has that launcher pro feel, but things aren't really disproportionate. Text is nicer too.

Friendcaster has ads if you don't pay for it though. That might bug people. But hey, they could always buy it, delete it out ignore it and install fb again lol
[G2 and Desire Z Android Development] kbeezie:
I usually avoid 3rd party apps for facebook though, usually because they tend to steal/remarket your information from FB or might compromise your account.

Only thing I used in the past outside of the FB app itself was slidescreen pro, but sadly that died out.

---------- Post added at 09:28 PM ---------- Previous post was at 09:27 PM ----------

For the most part I don't see ads if I replace my /etc/hosts file with a huge list blocking common ad servers, and then setting it to chmod 400 (so apps can't revert the host file back to the blank-localhost-only file), course problem is, where there would normally be ads will just be a blank spot rather than using up the space.
[G2 and Desire Z Android Development] rirozizo:
160 dpi is tablet UI, i can see that... but where did the notification bar go?

i can't see it anywhere... or maybe it relies on the navbar... didn't try that

EDIT: i tried it and my notifications came back... though keyboard is kinda annoying.

i'll probably check paranoid android to compare hybrid to this

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

pm me if you need any app... ANY app
[G2 and Desire Z Android Development] BengtL:
New Adreno drivers...

Hi.

Is this ROM using the latest adreno drivers?

https://developer.qualcomm.com/mobile-development/....

:confused:
[G2 and Desire Z Android Development] ronmq:
The latest adreno drivers are for JB and this rom is ICS.
[G2 and Desire Z Android Development] BengtL:
They got some new drivers for ics as well. I think...
[G2 and Desire Z Android Development] Sefy:
Is this normal on this rom ? that text gets corrupted

Also, for some reason i lost root, and even flashing using CWM won't help :(
[G2 and Desire Z Android Development] =JKT=:
All ICS roms have this issue. It crops up less and less, but it is ubiquitous. I think it has something to do with low memory.

I'm referring to the text, not the loss of root. Not sure what caused that.
[G2 and Desire Z Android Development] Sefy:
Rather strange (text issue) as it never happened on my myTouch3G Slide and that one has less RAM then this device for sure..

Is there anything i can do regarding the root? :eek:
[G2 and Desire Z Android Development] nik3r:
Uninstall any and all updates to superuser app, wipe data of the application.

Then reflash the ROM without any wipe.
[G2 and Desire Z Android Development] Sefy:
I tried to do Uninstall, it only has option "Open" from the market, i tried to do Wipe Date of it, and it doesn't exist in the "Apps" category at all.

And just flashing over doesn't seem to have solved it :(

Could it be due to flashing official Gapps? cause i had no choice, for some unknown reason, Google Talk isn't included and it's a super must have for me, as it's being used for work purposes.
[G2 and Desire Z Android Development] nik3r:
Obviously not from market, drag the launcher Supreuser icon to view the app info. You can uninstall updates from there (if available), then force close it and wipe data.

Then reboot and reflash. If this won't help do a titanium backup and full wipe.

As for GTalk, there's a flashable mod in second post that adds it without flashing full gapps.
[G2 and Desire Z Android Development] Sefy:
Thanks, i didn't see it for some reason :o

I'll do full wipe and just re-install everything... i just hate retyping passwords lol

EDIT: I've installed S2E on the ROM, and it gives the option of moving everything to EXT, is it ok to use it or will in conflict with the ROM ?
[G2 and Desire Z Android Development] kbeezie:
sd-ext support is already provided with this rom, so if you already had an sd-ext partition on your SD card, your apps are most likely already on it. using an app for it would just make things worse if not broken all together. (also most S2E apps also moves over cache and so forth which is just plain slow).
[G2 and Desire Z Android Development] Sefy:
Got it! i've removed S2E from the ROM!

Oh and the Drag Superuser and do a Force Stop / Clear, fixed my problem, i have no idea what caused it to go nuts though :eek:
[G2 and Desire Z Android Development] kbeezie:
The text corruption happens on just about any app on ICS, though oddly once it happens to one, it usually doesn't happen to any other until the app is force-quit. Also it happens on more than just out DZ/G2 with ICS which makes me think it's a general Android 4.0 problem. The cause appears to be when memory hits peak at the right time in the right app. A restart fixes it temporarily, but force closing the affected app is quicker.

On apex laucher though, if the app isn't already on the desktop I just press Menu -> Manage Apps, find the app and then go from there.
[G2 and Desire Z Android Development] Sefy:
I'm using Nova Launcher, i found that just going into Settings and going back, and the text is ok.

I have also noticed that it only seems to affect the Icons Text (the text under each icon) and NOT any of the other texts (like in menus), well for now anyway... Maybe something to do with that specific font ?
[G2 and Desire Z Android Development] nik3r:
I stand by my theory that it's a GPU memory corruption. Normally Android uses a form of ECC in normal RAM.

BUT when the memory is allocated to GPU, this functionality is not present (at least from what I gathered from the kernel source), so a random corruption may occur in the few MB of RAM that are allocated to GPU and there is no system to recover from it, resulting in randomly corrupted buffers/textures.

This is not a huge issue for say a 3D game, you would perhaps notice an artefact in one frame or corrupted triangle. However when used for UI composition, the result is the scrambled font texture.

The same situation was on PCs when Vista was first released. Older GPUs had a similar problem of random window corruption, because the hardware was never designed with UI composition in mind. For compisition you need to make sure the memory doesn't get corrupted.

Newer phones will have a hardware system to recover from this or dedicated GPU memory. That may be the main reason why G2/DHD will never get official ICS support. If I am right, this bug can't be sorted in software without a massive performance hit or at least maintaining a shadow copy of whole GPU memory for ECC purposes.
[G2 and Desire Z Android Development] Sefy:
Mmm... would enabling/disabling the "Force GPU" in Developer settings help with this? or no affect? so far i had it enabled, so just disabled to see if still occurs.
[G2 and Desire Z Android Development] kbeezie:
If there was a fix as simple as that, we'd all be using it right now (and further more developers would have attacked it from under the hood).

And I can attest with what nik3r said, if you use a corrupted app long enough flipping between menus and such, it goes away on it's own. The problem of course is as it gets more and more 'clear' you don't know what you're pressing (fortunately I did under titanium backup, and with maybe about 6 or 7 actions and changes to the screen's UI, it went away, probably cleared out the corrupted render buffer).
[G2 and Desire Z Android Development] JDogg1329:
How good is the camera in this rom, does the rom have the wakeup issue jellybean roms do, and how long until there's a fully operational camera with video recording?
[G2 and Desire Z Android Development] kbeezie:
Bout same as every other non-Sense ICS rom (camera snaps, no special effects, mainly works with the stock camera app, not third party apps, no 720p video recording, but can record at 480x720)

There's only one DZ/G2 jellybean rom that I know of. This is ICS not jellybean.

Impossible to say.
[G2 and Desire Z Android Development] JDogg1329:
Okay let me rephrase :p. Does this rom have the wakeup issue the one other jellybean rom has? You have to hold down the power button to unlock the phone sometimes with the rom I'm currently using. So I'm considering using ICS for a while, the JB rom I'm using can't record video at all and the camera flash wasn't working for me which made the camera kinda useless (Not putting **** on the rom, it's awesome, smooth and I'm sure all the developers are putting heaps of work into it). So I just made a backup of my current rom and I'm downloading this one to check it out.
[G2 and Desire Z Android Development] kbeezie:
Haven't heard of that problem with any of the ICS roms. Trackpad or power button normally wakes it. Not sure why EliteMod ICS would have a JB wake issue.
[G2 and Desire Z Android Development] JDogg1329:
Well that's why I was asking.... If I knew it was JB only issue, why would I be asking about it for an ICS rom? Anyway, I installed the rom, LOVE IT, works great, super smooth, I'm about to flash the data swap mod, the camera works great (Much better than JB at the moment). Awesome mod good work.
[G2 and Desire Z Android Development] kbeezie:
Sorry it's just that most of the folks I know in here are on ICS for a while before jumping to JB. Also I only know of Flinny's (Andromadus) test builds of JB, and as such JB got a bit more to go than ICS (which I find plenty stable now minus the finer points of camera stuff, least it doesn't crash anymore).
[G2 and Desire Z Android Development] JDogg1329:
No worries mate should have explained myself better..... Yeah using ICS first is probably the smarter option but I wanted to try out JB haha, I love google now and the messaging app but this rom seems more stable and the camera is a lot better, hopefully with time JB becomes more usable on the DZ. By the way do you know if it's possible to get the JB messaging app for ICS, I managed to get Google Now working on this rom and it works pretty well, but I liked the messaging app. The only real difference I can tell is that when you go to type someones name into a new message it has a picture next to their number so not that big of a deal.
[G2 and Desire Z Android Development] kbeezie:
I tried Google Now briefly on mimicry, it was cool but overall just too slow for me to really bother with, so I reverted to not using it. but just think, our old devices being able to run Full Sense 4.0 with *some* limitations, the 3.0 kernel no less what we could eventually achieve, I don't see stable JB too far off and being migrated to in another few months if not sooner.
[G2 and Desire Z Android Development] JDogg1329:
Yeah I see what you mean, I love Google Now but I might just wait until it's implemented a little better or until JB is stable. I flashed a zip file any idea how I'd uninstall that without nuking everything and starting over?. Yeah I'm really really surprised how well this device is doing, it's definitely not new but it's holding up really well, there are times I wish it had a bit more ram and a dual core cpu but overall this little thing just keeps on chugging along. It'd be awesome if this mod gets updated to JB eventually because I really like all the customization and everything it's awesome. I'm very happy with my phone at the moment.
[G2 and Desire Z Android Development] kbeezie:
Normally it's advised to do a nandroid backup of your OS before installing any experimental patches/tweaks.
[G2 and Desire Z Android Development] JDogg1329:
It was advised, I just didn't do it, I'll probably pay for it later but that's my own fault :p.
[G2 and Desire Z Android Development] kbeezie:
:P you could always unpack the zip file, see what was done and manually reverse it if you wanted to put that much work into it.
[G2 and Desire Z Android Development] JDogg1329:
That's a good idea cheers. But I might just leave it, it's a little slow but not horrible enough to uninstall it :P.
[G2 and Desire Z Android Development] Sefy:
I'm curious, does the Sense ICS rom (i think i saw a couple of v4.0) actually work "better" ? what i mean is, the Fonts and the Camera are working without "issues" ? ;)
[G2 and Desire Z Android Development] kbeezie:
Actually before Virtous Infinity came out, all of the Sense roms didn't even have a working camera at all, you constantly had people asking if it were possible to just port the camera from one of the other non-Sense ICS roms over to it.

Well actually should rephrase that, in the Sense roms they still don't work at all... unless it's incorporating the 3.0 kernel from the Infinity release.

In the Virtuous Infinity (Full Sense 4.0) rom the camera does work nicer (live effects etc), but video still has problems. I wouldn't mind the camera (ie: not video) portion from the Infinity rom, but not the sluggishness of it.

Fonts... if you mean the text corruption that still exists in ALL ICS roms.

EDIT: I just remembered I had a video of me playing with it with the camera in there.

[youtube]Tone9170ni0[/youtube]

(as you'll notice it's quite sluggish especially pausing for several sections on some button presses).
[G2 and Desire Z Android Development] Sefy:
To be honest with you, i don't think i ever used the camera on any of the phones i had :D

I just read the description on the Gen Y B3:

I see there is already a B4 as well with of course some more fixes, but what i'm curious about is of course the text corruption which they claim is fixed. Maybe you guys can check up and see how it was fixed? :fingers-crossed:

Mmm.. I just had a popup on notification from GooManager that the Rom has an update... how does one apply such an update?
[G2 and Desire Z Android Development] demkantor:
supposedly it was fixed, the developer confirmed it being no one knew how he did it. I guess he was trying to fix something else and ported something from a one series phone over to his rom that serendipitiously fixed the text curroption issue. I don't think any one has fully figured it out yet to make the same changes to other roms, but yes he confirmed the curroption is gone

having said this elitemod ics is still far better for speed, battery life and daily use so in my opinon it isn't worth the switch
[G2 and Desire Z Android Development] Sefy:
Well, i'm looking at it as "now it's fixable..." ;)

We don't know how, we don't know what, but it has been done! :D
[G2 and Desire Z Android Development] rirozizo:
weird how kernel wake locks don't work on betterbatterystats... it says n/a and gets stuck on calculating...

hmm... i've had this many times now, specially when charging:

suddenly the soft buttons don't vibrate, but operate normally, after that if i turned the screen off then on nothing will respond to touch. then if i turned the screen off, it won't turn on, and if i unplug it from the charger, the light will still be on.

can't hard reboot it, so i made a battey pull and rebooted for a fix

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

pm me if you need any app... ANY app
[G2 and Desire Z Android Development] JDogg1329:
My version says its 2012 07 23 but that one isn't on the change log.
[G2 and Desire Z Android Development] parkave85:
Maybe it has been addressed already but how do I get rid of sdswap w/o reformatting sdcard?

Also, how would the alpha 3.30 ics kernel work on this rom?
[G2 and Desire Z Android Development] jungle71:
thanks nice 1 .installed
[G2 and Desire Z Android Development] kbeezie:
Virtuous Infinity Is not an AOSP ICS rom, it's a "Full Sense 4.0", Sense kernels won't work with AOSP/AOKP/CM/Andromadus/etc roms.

Far as SD swap, you don't with elitemod since it's enabled by default, unless you feel like doing a bit of code editing and removing the SD-swap portion at the bottom of /system/etc/init.d/04sdcardparts
[G2 and Desire Z Android Development] nik3r:
New kernel

EliteKernel 120815 is released

Mainly performance/smoothness improvements, could help with swapping as well but I'm without swap at the moment.

The mainline version also includes the experimental GPU drivers for JB and it seems to work well, no performance improvements there though.

I also reverted the SQLite tweaks for now, you may notice a bit lower I/O scores, I have a hunch this was causing some issues. If it doesn't get better I'll put them back later.

Fixed, enjoy!

EDIT: be aware the gpu drivers may break hw video playback. Nandroid first! I will try to adress the issue tomorrow if possible.
[G2 and Desire Z Android Development] nik3r:
Revision 2 released for the mainline kernel, I had to remove the GPU drivers for now, the video overlay wouldn't work and there was hardly any speed improvement anyway. Update will revert the drivers.

Compatibility version is unaffected, it didn't have the drivers.
[G2 and Desire Z Android Development] nik3r:
I don't get it, when I rebase the ROM on CM9 RC2 instead of AOKP, everything is laggy and I get at least 500 points decrease in antutu. Same kernel, same GPU drivers, same settings, same general tweaks. Anyone has any idea why is it so slow, this makes no sense...

BTW since nobody commented on the new kernel I assume you're all satisfied with the speed boost? :D I sure am, I even returned the 64MB DataSwap without hardly any speed decrease and the delay on incoming call seems much more tolerable, finally.
[G2 and Desire Z Android Development] =JKT=:
Oh gosh. I've just been waiting all day for a spare minute to flash it and test!! Haha

At first I was thinking "gee...this is slower." But then I realized I didn't wipe dalvik. So I wiped dalvik and non dalvik cache, and yeah..this is zippy!! Calls are quick, which is nice. I notice more free ram more often. Overall switching between apps and home and back etc. is faster, even if an app needs to reload. Maybe placebo but afaik: Nice! I'm diggin it for sure.

Also, I did a "bog" test, which usually is starting a game that locks itself into memory (gba emulator), running Skype, playing a song in doubleTwist, starting up navigation, then *trying* to launch Opera Mobile. On previous ics builds this essentially ruined my phone and rendered it inoperable for about a minute. This time, it just quit everything and returned to a usable condition in about 5 seconds. Much better.

Overall it looks like memory related tweaks are quite successful and well rounded.
[G2 and Desire Z Android Development] Palingenesis:
Does the kernel work on mimicry?
[G2 and Desire Z Android Development] Jivebunny:
Have been testing this today and yesterday. Today without datamod, and i must say, even better responsiveness now. No bogging down (yet?) since then. Thumbs up!

Verstuurd van mijn HTC Vision met Tapatalk