yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] kbeezie:
I once wondered about that, but then I realized that it would take more CPU and performance to manage at the cost of a tiny bit of extra ram, when something like DataSwap would just be a better overall performer.

---------- Post added at 03:35 PM ---------- Previous post was at 03:34 PM ----------

The swapon action I would assume notifies the system in general...

---------- Post added at 03:37 PM ---------- Previous post was at 03:35 PM ----------

I can concur after bout a day or two I rarely get above 35-40MB. I'm using the 96MB "just in case" for heavier things if I come across it.
[G2 and Desire Z Android Development] zofox:
Is swap nevessary on this ROM?

# .: DESIRE Z :. se ti ho aiutato premi "grazie" ;) sent from Tapatalk #
[G2 and Desire Z Android Development] kbeezie:
Not *necessary* but would greatly improve multi-tasking.
[G2 and Desire Z Android Development] Rozza C:
Hmm...

Mine seems to fill up from time to time and it brings the phone to almost a grinding halt, depending on what I try to do during that period of lagginess.

Might give the 96MB a go, but will see if I can spot a pattern as to when it happens before doing so.

Thanks
[G2 and Desire Z Android Development] rirozizo:
any new bloat apps can cause memory leaking, e.g. words with friends, in its early versions caused a memory leak on every cellphone (when pressing HOME, it starts eating your RAM to a point where the phone can't handle it)

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
It usually goes best when using it in conjunction with sd-ext since you don't risk the /data partition being filled up with both applications and the dataswap file. (and that way the dataswap file has room to move around after a reboot)

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] Rozza C:
I have a 2GB SD-Ext Partition as well.
[G2 and Desire Z Android Development] kbeezie:
Then you're pretty much good to go with either DataSwap size in an ideal configuration :D Let us know how that goes.
[G2 and Desire Z Android Development] nik3r:
Here said before, I submitted the edit too late I guess :D

And yes on all accounts

1) swap is NOT required, in fact I discourage it. DataSwap on the other hand is a lightweight replacement for the usual SD approach, it helps just enough if the memory is too tight for you but it is by no means a necessity.

2) DataSwap should be used only with sd-ext for many reasons. Mainly it eats up to 96MB of storage for apps, secondly it requires as much free space as possible to be safer over long periods, thirdly without offloading apps to sd-ext there is just too much I/O going on on the /data partition and it would be faster to use SD swap.

3) You should realize that the fastest setup you can get with this ROM is to use sd-ext (on a reasonably fast card, class6 at a minimum and at least 1.5GB in size). And use no swap at all. That should give you best speed and battery life. Swap in any form will however make apps reload less, so the perceived speed may be actually higher, depending on how heavy apps you use.
[G2 and Desire Z Android Development] kbeezie:
Though I do love your approach to swapping (i.e.: DataSwap), since not only are you placing the most active activity on the faster more durable internal memory, you're spreading the I/O between both the internal and SD Card (i.e.: sd-ext) and application I/O is not as high as DataSwap may be.

And unlike the SD swap method, you actually took into consideration not to concentrate swap page on one part of the emmc over long period of time. Honestly don't know why more ROMs/Kernels don't offer a form of DataSwap when using sd-ext, it just seems to make sense. Especially since "good" SD cards now days are so cheap and can handle more write cycles than we can probably perform in the life of the phone, based on non-swap usage of the cards.
[G2 and Desire Z Android Development] Rozza C:
What's the best way to check for memory leaks? Is it logcat?
[G2 and Desire Z Android Development] kbeezie:
Depends on the speed of memory leaks, but usually for new memory to be eaten the process has to be active, and if that's the case I would assume it would probably show up in the top 10 apps/processes on your Battery stats (i.e.: System Settings -> Battery).

Otherwise you would probably use something like:

busybox ps | grep facebook
3444 app_59 195m S {facebook.katana} com.facebook.katana
4167 root 1312 S grep Facebook

to maybe take a quick look at the amount of memory/shared/etc that a particular process name is taking.

Going to "manage App" then "Running" would show you active processes and how much ram they are using, assuming of course you can get into the phone to look at that time.

ie:

---------- Post added at 05:35 PM ---------- Previous post was at 05:26 PM ----------

By the way as nik3r once pointed out to me, if the phone becomes unresponsive or won't turn on, try plugging it into the computer and grab the adb logcat output from that point if you can, then can reboot. Since I learned that logcat doesn't contain anything at the time of crash if you rebooted after the fact.
[G2 and Desire Z Android Development] demkantor:
also I recommend watchdog lite, free in the market, to see what's in ram, it will also tell you what is in ram not using cpu and what is, so unlike most task killers you can see what is actually slowing down your phone very easily
[G2 and Desire Z Android Development] kbeezie:
Though I've always felt that watchers, task killers, etc etc etc on top of the rom provided stuff usually aids to slow down the phone further including putting more strain on CPU/battery.

---------- Post added at 08:04 PM ---------- Previous post was at 07:33 PM ----------

by the way I found out the ro.product.model.internal for a T-Mobile G2 is A8181 (where as Desire-Z is A7272), in case you ever decide to patch zip to replace the build.prop values for the T-Mobile G2 branding/identifier:

ro.product.brand=tmobile
ro.product.model=T-Mobile G2
ro.build.product=vision
ro.product.name=htc_vision
ro.build.fingerprint=htc_tmobile/htc_vision/vision:4.0.4/IMM76I/87995:user/release-keys
ro.product.device=vision
ro.product.model.internal=A8181

(though Hulu+ still says device unsupported, even though T-Mobile G2 is on their supported list).
[G2 and Desire Z Android Development] raydar670:
Is anyone still getting the glitch where a button press on the hardware keyboard acts as if the menu button is depressed so it goes to a shortcut? I know it was a glitch in CM7 but idk if it was carried over into ICS. I'm thinking it might be something on my SD card though because that's the only thing that hasn't changed since I upgraded.
[G2 and Desire Z Android Development] kbeezie:
... Haven't ever had that issue with either CM9 (beta 13 at the time I tried it) or in EliteMod ICS.
[G2 and Desire Z Android Development] Rozza C:
I know what he's talking about. But I had that issue way back in CM7.

I haven't had that issue for a while now, though.

Sent from my vision... Not the phone.. As in my eyes...
[G2 and Desire Z Android Development] foshucka:
It that the issue where the search button is stuck? If so hit it and the keyboard should function again.
[G2 and Desire Z Android Development] contro19:
Minor issues:

Texting: I can send emoji's and the other person can see it but when I get emoji's sent to my phone it comes out as txt instead of the emoji pictures,

(Using a G2 other person is using a iPhone, it used to work in previous versions of this ROM)

Also pressing the alt key makes it act like it's depressed so i have to press it again to drop alt function on the hardware keyboard.

T-Mobile G2
[G2 and Desire Z Android Development] Czechton:
Back from my time away, and I can report on the notification bar clock issue. Since rebooting after the issue appeared I have had no problems with it for the past 4 days. I think it only happens if you alter the settings for it in ROM control and then don't reboot.

After configuring things to my liking and using this ROM for a few days I have to say I am massively impressed with the ICS features and the smoothness elitemod seems to manage. Thanks again for the great ROM nik3r.
[G2 and Desire Z Android Development] Kueber:
Well, I don't really know what a "sleep of death" is, but I think I experienced a similar issue. It's really strange - today I changed my battery (as usual) . Then, after typing some message via whatsapp, put my phone to sleep and yeah.. it just shut down.

This keeps happening today - even right now in this moment, lol. Rebooted, wiped cash/dalvic (just in case), everything is fine.. until it goes to sleep, well, more like until I want to wake it.

Could be the battery.. last time I've used it was a few days ago and everything was okay. (1800mAh mugen btw).

Do batteries break just like that? Is that 'sleep of death' typical for a damaged one?

/edit:

Connected it to my pc, everything okay - but then I received a message and the phone rebootet, I don't know whats going on, lol - will flash an older nandroid backup for some testing.

/edit2:

Haven't flashed the old backup yet, it seems to work now. Put it to sleep, received an email, LED's working as usual. Weeeell.. yeah. Kinda strange.

/edit3:

All right, it shut down again while sleeping. Flashing some backup.

/edit4:

Well, that did the trick. Seems that something managed to mess up some system stuff while changing the battery. Everything works so far (latest kernel).
[G2 and Desire Z Android Development] rirozizo:
you're having some kind of SOD (Sleep Of Death), that is when the phone gets into deep sleep, and then stays that way, and never turn back on without a battery pull, common solutions:

1) set the min CPU frequency a little higher on sleep profile.

2) put some kind of paper on top of the battery to stick it to the golden contacts of the phone.

3) keep a wake lock on (you can do this by opening terminal emulator, then MENU, turn on wake-lock, then keep the terminal on)... but i don't recommend doing that unless the two above didn't solve the problem.

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] nik3r:
What I usually refer to as Sleep of Death is when the phone goes to sleep and sometime during the sleep period freezes due to bad undervolt.

The remedy is usually to increase voltage for sleep frequencies by +25 mV.

But your problem may be something different.

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] nelsdzyre:
erm guys why do i get insufficient memory space when I still have plenty left? Internal = 700mb left external = 6 gig left. Any fix? Thanks
[G2 and Desire Z Android Development] kbeezie:
More details needed, how are you set up, what is the error exactly, what are your sd partitions etc

Can you go into adb shell and get the output of :

busybox df -hm

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] rirozizo:
i guess he partitioned the sdext a little too small, i mean 6 GB left on sdcard means 768MB are partitioned to sdext (maybe even less).

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] nelsdzyre:
ah i just wipe again and before I want to flash this rom again i saw your post about sd-ext. I myself haven't made any partition on the sd card before. How do i partition one? Last time to partitioned requires gparted live cd and a card reader so its kinda hassle to me. Is there any easy way to partition your card now?

This rom is perfect other then the fact I get the insufficient space error when im installing apps. I havent reflash the rom because im finding for a way to partition my sd card.
[G2 and Desire Z Android Development] nik3r:
You probably have sd-ext partition on your sd card you don't even remembr you created :D

Sd-ext free space is invisible to system, you should make the partition at least 1.5GB or not use it at all.

Oops, didn't see the last replies. You can repartition it in recovery. 4EXT without wiping the card, CWM with wipe only.

BTW are you by any chance talking about latest Titanium update? It doesn't install for me but older version does. May be an installer bug.

Sent from my Desire Z powered by EliteMod.
[G2 and Desire Z Android Development] nelsdzyre:
hehehe. you're right. its because of my previous sd-ext partition >_< i didn't even know it existed. 4EXT Recovery solves it all. (:

and no im not using titanium update. i jst simply cant install any apk from anywhere on the phone.

now back to this awesome rom!

glad that i can use google now on this rom and im so glad that elitemod still exist even on ICS. Hardcore fan of your 2.3 rom :D

------------------------------------------------------------

Camera - sometimes the camera snap before the flash goes out - i knew it because the picture is so dark even when the flash did go out lol. It happens sometimes only.

DataMod - for a user like me who uses app like twitter, facebook, google+, whatsapp, gmail, and other apps that requires running in the background to push updates. Should I opt for the 96mb instead of 64mb?

SetCPU - gee..I guess I have to setup this again. One silly question, what does the B stands for? refer below. If im right it refers to battery life? If its true why there is 101%?

P6 (Temp > 46C) @ 122-768 smartassV2

P5 (Screen Off) @ 122-768 smartassV2

P4 (B < 15%) @ 122-844 smartassV2

P3 (B < 30%) @ 122-902 smartassV2

P2 (B < 50%) @ 122-940 smartassV2

P1 (B < 101%) @ 122-1228 smartassV2

Sorry for this so many lame questions. I'm just so happy with your rom compares to others. I've always thought your thread for ICS are only for modding. I didn't know there's a heavy moded ICS rom inside.

oh ya one last question, your rom have been smooth so far, but after a few days does it needs the effect of supercharger script? or will the script ruin the ready made tweak you have done to the rom?

Thank you very much!!!

Regards,

Nels
[G2 and Desire Z Android Development] nik3r:
For just those apps I wouldn't bother using it at all, even though facebook can be a hog. DataSwap won't have much effect on apps that periodically sync on background, it is all about the foreground apps, whether they will get killed and reloaded next time you open or not. So if you say use Opera and chat on FB and IMO and switch between them often, DataSwap will help you, because it decreases the chances that one of the apps you are frequently using will get killed when you switch to another.

As for size, I use 64MB and it's sufficient for the usual apps and games. Best is to try one size, use it for a day or two and then enter "free" in terminal. If the swap is over 90% full, increase the size.

B for battery percentage. < 101% means when battery is full, note that next level is at < 50%. That means 50-100% it will set the highest frequency ;)

I advise against using any additional tweak scripts, you may try but definitely don't use them in conjunction with any form of swap. They will interfere with my settings and although it may seem faster at first, they may overload your swap as a side-effect after longer uptime periods.
[G2 and Desire Z Android Development] rirozizo:
that's why my dataswap filled up about a week ago when we talked about it! i was using the supercharger script

a little off topic: does supercharger have the same bad effect on your CM7 ROM?

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] ernestnwanu:
Is it advisable to use the sysctl tweaks under ROM Control? Just wondering..
[G2 and Desire Z Android Development] kbeezie:
Most of the performance tweaks under Rom Control are overridden by his kernel tweaks, so I wouldn't even bother with that section at all, also make sure set at boot is NOT enabled under Rom Control -> Performance. (I found out bout this mainly cuz I was trying to change the Free memory setting, but as it turns out the kernel itself already has it's own minfree value and to keep Rom control from screwing with it, it causes a read-only value which ends up kind of crashing Rom Control when you try to change it).

Startup tweaks on the other hand, I've set both Zipalign APKs and Enable SD Boot, but nothing else.
[G2 and Desire Z Android Development] S4crifice:
Google Goggles doesnt work

Hi,

last thing I need to solve - the camera doesnt work in Google goggles, it looks like

https://www.dropbox.com/s/crquyjhakykp7yt/IMG_20120719_070542.jpg

But after I take the photo, it is clear.

Any solution?

Thx.
[G2 and Desire Z Android Development] kbeezie:
Yea that's a known issue on every ICS rom for DZ/G2, and won't likely be fixed until after the DesireHD gets ICS officially (so that we can get the hardware/camera drivers from it).
[G2 and Desire Z Android Development] S4crifice:
OK Thx ... I didnt know that, so, I hope, DHD will get those drivers soon .. :)
[G2 and Desire Z Android Development] kbeezie:
Yea there was some hoop-la on HTC canceling the ICS update to DHD due to a Telus paperwork saying they canceled it for "performance reasons", but HTC refuted that and said the DHD was still on track to receive ICS. Right now only the camera is the real big issue for anyone trying ICS on DZ/G2, so for any other matching drivers we'll mainly just get more stability and maybe some extra features, not so much speed but just more stability.

I can only imagine that once it does get ICS and Nik3r and others port drivers and such, that he might jump ahead to JellyBean.
[G2 and Desire Z Android Development] rirozizo:
sooooo, anyone confiming the ROM works fine without sd-ext? i'm ready to reflash if it works

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
LoL I never thought of using it without :P if you're installing clean and don't have an sd-ext it should be fine. The first time I tried EliteMod ICS I didn't have an sd-ext either, but it wasn't more than 2 update later that I switched to using sd-ext.
[G2 and Desire Z Android Development] rirozizo:
you're saying it SHOULD work, i'm not gonna try and confirm it myself, i want someone to confirm it, then i'll be flashing safely

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
You starting clean? Or planning on moving from a pre-existing install w/ sd-ext to without?
[G2 and Desire Z Android Development] rirozizo:
i'm starting clean, as in flashing this ROM over his CM7 ROM, with superwipe and without sd-ext.

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
I don't think flashing EliteMod ICS over CM7 is going to be a good idea, I would still recommend a full wipe before flashing EMICS. (least I assume you knew that).

If you re-partition the SD card without a sd-ext partition it'll be fine, since nothing will happen with the /data/app and /data/app-private folder. It's when you have an sd-ext that it gets complicated, or when you want to move from having it to not. Just don't use DataSwap when not using sd-ext (you can... but you run the risk if concentrating the swap file on one part of the emmc).
[G2 and Desire Z Android Development] rirozizo:
i'm not gonna say anything, read the quote:

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
It sounds weird, I think about it:

1) You're going to flash EM ICS 'over' CM7

then

2) You're going to use super wipe

then

3) something with the sd-ext

unless you meant Cm7 -> super wipe -> Partition SD without sd-ext -> EM ICS
[G2 and Desire Z Android Development] rirozizo:
i'm on CM7, i'm gonna superwipe, then flash EMICS.

i currently don't have sdext, just swap... SD Swap.

so i'll flash ICS and use sd swap.

no sd-ext used and will be used

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Then it'll be just fine, nothing new happens if you don't have an sd-ext partition. :D
[G2 and Desire Z Android Development] rirozizo:
@nik3r, will there be any updates soon? i'm really not ready to flash then reflash an updated one

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] eightcore:
I'm wondering about CPU freqs. Same clock in sleep and wake? With your 2.3 ROM, i've used to clock the G2 at 122 MHz during sleep state and 1900 MHz awake. Would be happy if this could be possible using your awesome ICS ROM, too.
[G2 and Desire Z Android Development] nik3r:
Sleep is always 122-768MHz unless you explicitly cap it. In theory it can go above 768MHz when the load is great but it prefers to stay close to 122. This is hardcoded in smartass2.

This is not going to work, I think your swap will not be recognized if you don't have sd-ext as well. Swap is always the third partition, if you have no sd-ext, it will be second instead. You can try it, maybe it's detected by filesystem type, can't remember, but I doubt it.
[G2 and Desire Z Android Development] BengtL:
any update soon?
[G2 and Desire Z Android Development] kbeezie:
Lol guess some of us are spoiled by his past every-couple-of-days update.

Not sure what he would update prior to the CM9 RC2 kernel being released.

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] kbeezie:
So over at the mimicry thread I noticed mrvelvet mentioned auto-patcher for pdroid : http://xdaforums.com/showthread.php?t=1719408

So I gave it a try by downloading the auto-patcher, unpacking it (apparently the binary works on OSX as well, but for windows need to use cywin), and putting the EliteMod rom zip into the same folder and running the following:

./auto_patcher EliteModICS120706.zip pdroid aokp 20120706

It creates an update.zip to patch the changes to the installed rom, and a restore.zip to revert. And then from there just need the pdroid app from the marketplace.

Just make sure you actually do a backup in recovery before attempting it, even though there is a restore.zip, can never be too safe

It appears to work, I'm not sure though if the auto-patcher changes anything in particular that nik3r did to those three files (framework.jar core.jar and services.jar)

And course since I also blocked it from seeing GPS location, the app noted that GPS was off even though I had it on globally.

By the way for those who don't want to try to run the patcher. This is the update and restore (I renamed them) files needed for EliteMod ICS 120706 ROM.

PDroid Patch (add_pdroid_EMICS_120706.zip)

MD5: e23fd3fc66106db674e4e8fbc16b30d1

PDroid Removal Patch (del_pdroid_EMICS_120706.zip

MD5: c92dd9b7b1fd11c92e51ef0f0bbd192e

Just remember to do a backup before patching, and remember to install the pdroid app from the market.
[G2 and Desire Z Android Development] kbeezie:
I did a clean install, using titanium backup to restore some of my app+data (god I love that app...), the 96mb dataswap and tmo wifi calling then the pdroid patch (made by the auto patcher), and installed the pdroid app, everything appears to be working just fine.
[G2 and Desire Z Android Development] rirozizo:
could you please use pastebin.com? it's really hard reading all that on Tapatalk on phone

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

i didn't mean to mock you or to offend you in any kind of way
[G2 and Desire Z Android Development] kbeezie:
Ask tapatalk/xda to fix their app... or enable the setting to hide those codes (i.e.: if unchecking the 'Enable BBCode' option doesn't work, then it's something the app developer needs to fix, not me).

(pastebins can potentially disappear, least with the actual data in the thread it's here as long as the thread is here, besides this is a forum, not IRC).
[G2 and Desire Z Android Development] xT4Z1N4TRx:
When trying to update apps, it says storage space is insufficient, but I have 800mb free, how do I fix this?:(