yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] 2Pints:
likewise, however i have no 2G data netowrk to fall back on as my provider is 3G only.

at the moment it appears the the motorola phone portal isnt working.
[Defy Android Development] vic160890:
Systemui posible memory hogger ?

Hi guys,

I don't have any logs today but I just want to say this.

uptime : 5 days 9 h

I notice lag in everything.. not very disturbing.. but.. annoying. So I checked RAM usage. Available: 130 MB whereas I usually have 190 - 200 MB.

I connected through ADB. Gave it SU access and typed: top -n 1

Noticed that mediaserver had nothing unusual to show but I still killed it.

No change. So I noticed this:

1607 0 0% S 26 267468K 103340K fg u0_a32 com.android.systemui

Soon as I killed System ui everything went back to normal. 197MB available. All fast and smooth now.

Edit: Forgot to mention. YAFU's kernel
[Defy Android Development] YetAnotherForumUser:
If only computing devices were deterministic. On my phone - same kernel, same CM10, uptime 12 days 8 hours - systemui is ranked 7th in [FONT="Monospace, Courier New"]procrank[/FONT] with a PSS of ~20MB.

Next time it misbehaves on your phone run it through [FONT="Monospace, Comic Sans MS"]procmem[/FONT] to see where the memory went. I suspect there is a memory leak in the PowerVR (display) driver which causes systemui to grow when HWA (hardware-assisted UI) is enabled. On my phone I have disabled HWA for just about everything except the stock browser (which is noticeably smoother with HWA enabled). I have not noticed any decrease in UI performance yet... It might be worth trying to disable HWA to see whether that keeps systemui from growing. To easily disable HWA for all installed packages use the following incantation (root needed to access[FONT="Monospace, Courier New"] /data[/FONT]):

# pm list packages|cut -d : -f 2|while read f;do touch /data/local/hwui.deny/$f;done

To disable for all packages except for a select few just filter those out using grep, eg:

# pm list packages|egrep -v 'com.android.browser|com.boatbrowser.free'|cut -d : -f 2|while read f;do touch /data/local/hwui.deny/$f;done
[Defy Android Development] ktmbikerman:
Unfortunately the data problem is still evident on the last build. Can anyone tell if SlugZero's fix, as described here, has been implemented on the 2ndboot builds? This was the only fix that worked properly for me since the start of CM9
[Defy Android Development] cyrusct82:
Seems that is more like a hardware problem than a software problem.

My phone also is rebooting in stock Rom.

I will wait to see what will say the guys from the service center and I will report.
[Defy Android Development] dydbg:
With this build the battery life seems good. Only 5% overnight - 7 hours.

Now I have to wait few days to see if the ringtone is fixed.

Thank you.
[Defy Android Development] FcukBloat:
:(

I don't know if it is a HW problem.. actually I don't remember having this problem (sometimes completely no data connection, even if in the top status bar the signal seems good and data connection symbol is present, usually toggling airplone mode on/off fixes the problem, just a few times have to reboot to get fixed..) in 18th October build for example.. well I will reinstall 18th October build when I have a chance and double-check if that build also has the problem or not.. maybe I don't remember it but the problem was there..

thanks guys for reporting!
[Defy Android Development] AlexGraves:
well, i can report that occasional data disconnect which requires reboot to restore still exist in November 9 and November 18 builds.

(i am still enjoying the linaro optimization effect ... :D )

although the occurence is rare enough (e.g once or twice in a week).

i also have an assumption that it is network carrier related.
[Defy Android Development] sunil_defy:
google now never works on my motorola defy running 1001 build. any idea why ?
[Defy Android Development] ktmbikerman:
Sadly data connectivity seems worse on the 270113 build than the 17013 build. I'm getting drops now while permanently connected to 3g
[Defy Android Development] ko_is:
I will try cm10 2ndboot. If I want to revert back to CM7, is the following process true?

1. wipe data/cache/dalvik cache

2. install CM7

3. install gapps

4. wipe cache/dalvik cache

Thanks!
[Defy Android Development] cloogshizer:
Hi,

I'm running CM10-20130110-NIGHTLY-mb526 with JellyX kernel (kernel_21.01-cfs) and gapps-jb-20121011 on a Defy+.

The current uptime is 95:41and I had no problems with connectivity so far.

uname -a
Linux localhost 2.6.32.60-JellyX #1 PREEMPT Mon Jan 21 19:51:54 CET 2013 armv7l GNU/Linux

However, I had some severe performance issues. Trebuchet sometimes was unusable and starting apps took ages.

Reading vic160890's and YAFU's post, I also had a look at the processes running on the phone and found memory to be very low.

After killing com.android.systemui the phone felt a lot smoother. I used

pm list packages|cut -d : -f 2|while read f;do touch /data/local/hwui.deny/$f;done

to disable HWA as YAFU suggested and monitored the behavior of the device for some time.

'free' tells me that something is eating up my memory quickly. Approximately 45 min after killing systemui, only few is left:

total used free shared buffers
Mem: 488532 483696 4836 0 1888
-/+ buffers: 481808 6724
Swap: 0 0 0

As also suggested by YAFU, I run 'procmem [PID of systemui]' (see enclosed file).

Maybe someone can read something useful out of this.
[Defy Android Development] sunil_defy:
that's it...nothing more...a better option however would be to make a backup of cm7 and just restore.
[Defy Android Development] cyrusct82:
Guess what?

Phone back from service. After the 2nd attempt to repair.

1st attempt they have flashed full sbf and they have said that the problem is solved. After 2 hours the phone restarted by it self 2 times. Send it back to service.

2nd attempt they have switched to 2g only and they say that the problem is not confirmed.

They switched to 2g only:banghead:

Coming the third attempt:cool:
[Defy Android Development] cloogshizer:
Ok, sorry then. The phone behaved normally when I executed [FONT="Monospace, Courier New"]procmem[/FONT] (after killing systemui). At the moment it is quite responsive. In case it slows down again, I'll have a second look at [FONT="Monospace, Courier New"]dumpsys meminfo[/FONT]. If you need other information, please let me know.
[Defy Android Development] :
Will the 10th Jan CM10 build be the last?

Is quarkx going to turn his attention purely to CM 10.1 now? I mean this ROM is sooo close to perfection :good: ! So i was just curious?!:confused:
[Defy Android Development] cristianosite:
My Defy has the same problem with CM7, CM9 and CM10. I went back to stock sbf and the problem persist. Rebooting each hour (in average). I saw some post in XDA relating this problem with the SIM card, since sometimes when the phone reboots it doesn't detect the SIM card. I replaced the SIM card with my wife's SIM card (the same carrier, TIM Mobile - Brazil) and spent about 20 hours with not a single reboot. Putting back my SIM card it reboots again. Not sure yet if this is the real, or the only, cause of the problem.
[Defy Android Development] sevenrock:
Yes: https://github.com/Quarx2k/android_frameworks_base/commit/105d5d86e51f448b56986292f6787159722d9ac2
[Defy Android Development] ktmbikerman:
Thanks... wonder why it no longer works?
[Defy Android Development] cyrusct82:
I don't thin think is a sim problem. My Sim is new.

Something is happening when the phone switches from 2g to 3g I think.
[Defy Android Development] cristianosite:
The point is I also experienced random reboots with no data enabled. Maybe we have different problems. By the way, it could be also the battery. I bought one new battery from ebay and I'm waiting to test when it arrives.
[Defy Android Development] cyrusct82:
The only solution to this problem for now is the one from Maniac103

https://github.com/maniac103/androi...mmit/1ae358d3d4ff1bd5358c0964e4fc2078b5ed1fd3

But is not implemented in CM9,10

For now only in CM7 build by Maniac (from 05.12.2012)
[Defy Android Development] SkOrPiOn2k:
I'm using this, and it work very good by now :good:
[Defy Android Development] vic160890:
I'm not sure if it matters but the more info the better. So I noticed that when turning data on and practically at the same time turn 2G to 3G it takes sometimes almost a minute for the connection to be established. May be the same problem but just manifesting differently.
[Defy Android Development] prem0621:
Is it possible CM10 to get as stable as CM7 on Defy?
[Defy Android Development] @non4:
Nothing is impossible, cm7 is stable because its been around a long time, when cm10 has been around that long it will likely be as stable but noone will want it because cm15 or whatever will be out, give it time :P

Sent from my rooted baby monitor
[Defy Android Development] xcoolnik:
Because of 2nd boot, it works on all defy
[Defy Android Development] KicknGuitar:
I am still on your 20130117 mod and can't recall having any issues, as my wifi and data is constantly being auto-switched with the app Clever Connectivity and I sometimes switch them myself. I'm curious to see your update so I'll be flashing her tomorrow. Cheers.
[Defy Android Development] cyrusct82:
Sorry seems that Epsylon has already implemented it in CM9 but no build yet

https://github.com/tpruvot/android_...mmit/f8d2d86ecb7d4b02990f3a72ed620d8026fd4d35

https://github.com/CyanogenDefy/pro...mmit/2bb9decf7880258f1aa16655a2fbd526a95a70b0

https://github.com/CyanogenDefy/pro...mmit/44248c82228ed47e81723f4c168e0ff3637cea8a

https://github.com/CyanogenDefy/pro...mmit/06082396753218390c52819c0f3d5d19f38cfc45

https://github.com/CyanogenDefy/pro...mmit/1a309cb7535fdb96330653fbe12526d6ca2d6113

https://github.com/CyanogenDefy/pro...mmit/ddee1bb6aaf163a38fd0353000c658312e790a33

https://github.com/CyanogenDefy/pro...mmit/3df32d10ae2f19fa081f989ae139bb430de7c31d
[Defy Android Development] Feche:
I am having a rare issue, my phone doesn't boot up, the led goes to red and then after a while it shuts down.. no loading or anything. Only if I wipe data it works..

---------- Post added at 02:21 PM ---------- Previous post was at 01:52 PM ----------

Okay I had to do a factory reset :(
[Defy Android Development] dreckbox:
Same probleme here on rocks 20130127 Kernel.

My phone: MB525 green lense.

Also after factory reset my phone had the same issue after a while.

I´d switched back to quarks 20130110. Better it works correct with one manual restart per day, than a untrustworthy phone witch bricks unpredictable. I´ve no idea why my phone didn´t work with rocks kernel. By others defy it works steable. :(

Hopefully watching forward to quarks 3.xx Built *fingerscrossed*
[Defy Android Development] sunil_defy:
appears quarx has freezed 1001 build and moved on to cm10.1.
[Defy Android Development] YetAnotherForumUser:
JellyX: uptime 359 hours, ringtone still works, no slowdowns, some quirks remain

With an uptime of 359 hours and a still-ringing ringtone I think I can conclude that the 'ringtone' bug is fixed on the combination of Quarx 20130110 with the JellyX kernel I posted in #14979 on a Defy+ (MB526) with the particular combination of apps and customisations I have on my phone.

That does not mean it is all rainbows and sunshine though... a few oddities have crept up lately:

the toolbox top command now crashes due to a floating point exception. As the stack seems to be smashed and symbols are stripped so I could not set a meaningful breakpoint in gdb the real cause of the crash remains to be seen but it seems to be related to the next point:

system_server has grown a sizeable heap (~15MB) and is the top memory consumer on a quiescent system with a PSS of around 50MB (top contributors: /dev/ashmem/dalvik-heap (16 MB) and [heap] (10 MB)). Running the heap through MAT shows three potential memory leaks. While prone to false positives there is reason to believe something is amiss since...

...restarting system_server (and with that most of the Android environment) stops toolbox top from crashing (!). It also brings back the PSS of system_server to ~20MB.

Android System is still the top battery user (41%) even though it does not seem to be a wakelock hog (total wake time of 1 h 49 min).

While annoying, these problems are not show-stopping. The phone is still as responsive as it was after I booted it almost 15 days ago.

Now that the JellyX kernel seems to solve (or circumvent) the 'ringtone' bug it is time to find out which patch (or set of patches) is responsible for this. Needle, meet haystack...

---------- Post added at 12:40 PM ---------- Previous post was at 12:18 PM ----------

Quarx has not frozen anything - continued development is only a [FONT="Monospace, Courier New"]repo init -u git://github.com/Quarx2k/android.git -b jellybean[/FONT] away... If it comes to pass that Quarx does not accept pull requests anymore all it takes is for someone to fork his repository and take over.
[Defy Android Development] fryta22:
Maybe time to integrate Quarx + Jellyx ?

Maybe could you doo this build ?
[Defy Android Development] FcukBloat:
what about data drop problems with your combination? have you ever had such a problem in the past and if yes how about your current situation?

thanks bye!
[Defy Android Development] Tapajyoti:
Please can someone list the still remaining bugs in cm10!! please!! them one after one! just say
[Defy Android Development] stanwise:
@Tapajyoti, don't just say. Just do :D

Noone is stopping you ;)
[Defy Android Development] cloogshizer:
I can confirm this observation for a Defy+ running 10 days now.

[...]

This command works on my device. General UI behavior is fluid and the overall experience is good. I had no problems so far. However, with my app setup, I have about 120MB free RAM.

I never experienced data drops with the current CM10 build. I experienced this problem some time ago but at least not with CM10 builds after CM10-20120924. The current build I only used with JellyX.

I did not encounter any bugs in the CM10 with JellyX combination till now. I use CM10-20130110 with JellyX kernel_21.01-cfs.
[Defy Android Development] YetAnotherForumUser:
At the moment I'm only using Wifi (due to carrier shenanigans I try to send them as little money as possible...) so I can not answer this for the current release. When the board was a-buzz with data drop horror-stories I did not notice anything out of the ordinary so I might not have this problem on a) my phone with b) the baseband I'm using on c) the network I'm connected to.
[Defy Android Development] woodman:
@cloogshizer :.you do not encounter the "ringtone/lag" issue after an uptime of some days with 20130110 build + JellyX kernel_21.01-cfs ??? :confused:

I thought it was only with YAFU's jellyx kernel (dated from 20130115) ! (or Sevenrock's one but his one is not based on jellyx)
[Defy Android Development] YetAnotherForumUser:
The 'ringtone' bug seems to be solved in the particular vintage of JellyX I used to build that kernel. As to whether it is solved (or worked around) in other versions I don't know. JellyX has a rather high rate of change so anything can happen...
[Defy Android Development] moqua:
When i was running a build compiled from quarx's git at 20130117 and last kernel 2.6.32.9, i noticed that after unplugging the usb cable (after charging) system_server load raised to about ~25% - which resulted in high battery drain again :p

kill -HUPing system_server was not a good idea as the system rebooted (clearly *dough*), but after that things went back to normal (batt drain, cpu consumption and mem usage)

In a build from 20130127 which i'm running since 3 days i don't notice this strange system_server behaviour.anymore.

Just my 2 cent..
[Defy Android Development] sepp.:
Battery life or how to shoot yourself into the foot

With an uptime aproaching 150 hours; no proplems at all for my usecases (no ringtone bug; no data losses,...),

$ uptime
up time: 6 days, 04:49:48, idle time: 1 days, 18:11:40, sleep time: 4 days, 00:08:29
$ uname -a
Linux localhost 2.6.32.60-JellyX #1 PREEMPT Fri Jan 11 19:46:12 CET 2013 armv7l GNU/Linux

I complaint 'bout battery drain in the past.I use lama for switching data connections based on location between mobile and WiFi. And I had the issue of 'huge' battery drain in my company profile which was WiFi only. Same for my home profile (WiFi only) and no battery drain As it is the WiFi quality is not good in every location I move around (and I do move around quite a lot). So I gave it a try with mobile data alone and the battery drain has gone. Now I am on WIFI with mobile data and no battery drain anymore:D

Usually I get 2 days worth of normal useage on workdays (and that is better than stock)

Thank all of you that made that possible

---------- Post added at 07:07 PM ---------- Previous post was at 06:39 PM ----------

Although having only ~150 hours uptime I would like add comments to the issue list

the top command issue is with me too (showing up in terminal up only ; not in adb; not in connectbot)

system_server: I will watch / current procrank

1564 57240K 57160K 41957K 37952K system_server

on my green lense MB525 calls 42%, Android OS 19%, Android-System 9%,...

but nothing to complain about - from my pov :good:
[Defy Android Development] FcukBloat:
JellyX plus which build?

Thanks
[Defy Android Development] sepp.:
Please see in the signature

JB 4.1.2 by Quarx (10.1.2013)
[Defy Android Development] d3xt3r:
M facing a v strange problem... when I'm installing any widgets, it shows up in the widget drawer only after a reboot.. n if I uninstall, it still stays in the widget drawer without any thumbnail.. n if I apply it, trebuchet stops.. help me out..:(..
[Defy Android Development] cloogshizer:
As I said, I have NO problems with the combination I mentioned. I never tried another combination, so I cannot say anything about them. I had problems with lagging UI before, but I haven't run into them lately. However, I switched from Trebuchet to Apex Launcher, which appears to have contributed to the now fluid behavior.
[Defy Android Development] pl4yeR:
I can confirm that too. I am using Quark20130110 build + JellyX 21.01 cfs for several days now and I have no ringtone bug, no lag and no data drops for now. However I'm going to test for some more days to see if the problem really has gone or only has been postponed.

Thanks to all for your indagations!!
[Defy Android Development] mmec2:
Also, the faster battery drain (only affecting green lens users?) that is present in most of the recent builds seems to be gone with this combination - Quark20130110 + JellyX 21.01 cfs

Note: I did have to reboot and reinstall the JellyX kernel a few times to get rid of the black screen bug (MB525 green lens)
[Defy Android Development] woodman:
Thanks...About the black screen (I know it's not the good thread, sorry...), each time I flash the kernel again to get rid of it (as you said), during the next reboot I encounter the black screen again :crying: We have to flash the kernel for each reboot ?
[Defy Android Development] pl4yeR:
The main process draining my battery is still Android System with 40% of the drain, so I can't confirm that the battery drain is totally gone. Despite it, I can have 2 days of light/moderate usage.

About the black screen I have to wipe cache and dalvik before flashing the kernel, but never after. If I wipe cache after, I got the black screen issue. Sometimes I need to flash it twice without wiping cache after. Once it managed to start up correctly, it's a normal build, not needed to flash the kernel in each reboot (I mean, I can reboot the phone without any problem).
[Defy Android Development] woodman:
Unfortunately, it's not the case for me.... After a good start up, for the next reboot if I don't want to have the black screen I need to reflash the kernel again (even if I don't wipe cache & Dalvik after flashing the kernel)...:eek:

Anyway, thank you very much. If I need to reflash each time, it's not a big deal...

End of off topic... Sorry again guys...
[Defy Android Development] trurl3:
System do not see my own ringtones placed on SD. How so? Earlier all ringtones placed on SD in media/audio/ringtones were usable but now not... I was wery confused when after flashing 1310 I lost some calls because my phone do not ring melodies assigned to some contacts. All default ringtones works ok.
[Defy Android Development] bharathexe:
Quick Response when rejecting calls

In CM10, I remember (but not sure) that there was Quick Response option when we reject a call by swiping left to the reject button. Using it we can send an SMS directly after rejecting the call, by choosing from the Quick Response presets which we have done. But now I don't get that option when rejecting a call. Please tell me if that option is available in 20130110 build by Quarx. Or am I confusing the option present in CM7 ?? :silly:
[Defy Android Development] hunyadia:
U mean swiping up when you get a call...

defy green with jb
[Defy Android Development] Feche:
Do I have to install the battery fix if I install it on a Defy?
[Defy Android Development] Freeman85:
No.
[Defy Android Development] bharathexe:
Yes, I think u are right.. Sorry.. I forgot how it exactly worked as I haven't used it for long time. I have the option to edit the Quick Responses in Call Settings, as shown in ur screenshot. But I don't have any option to swipe up when getting a call. Please see the attached screenshot in this post.

Should I enable it somewhere in settings? I'm able to only edit the responses in call settings. I can't find any settings to enable Quick Responses. :(

Edit: First of all, sorry for posting this in Dev thread guys... First I posted about this issue in the FAQ thread by cdlq456 only.. But I didn't get any response for 3 days (still no one replied me in that thread after a whole week:( ). So I posted here to get a solution.

At last I myself figured out what the problem was...(felt silly after realizing my mistake:D).. I had disabled the Messaging app by going to App Info, bcoz i use only Go SMS Pro for messaging. I got the Quick Response option back after enabling the Messaging app. Anyway thanx for those 2 guys who tried to give me a solution:cool: I'm just editing my earlier post instead of making a new post, as I don't want to spam the thread..
[Defy Android Development] FcukBloat:
Thanks sorry but in tapatalk you can't see signatures.. or at least i have never found out how! :banghead:
[Defy Android Development] BaboonCZ:
When I'm getting call I can't swiping up. Sometimes keyboard is shown, can't be closed, so there is no chance to swip. Sometimes phone don't wake up from sleep. Sometimes I can see somebody is callin' but when I do make swip nothing happens and by nothing I mean phone doesn't show swiping options, it's like screen doesn't catch my touch.

Defy - CM10 20121231 and kernel from 20121118
[Defy Android Development] ennarr:
New CM Features :)
[Defy Android Development] rdar_93:
Someone help? Anyone?

So I just installed this rom and jellyX kernel on my phone and............... No keyboard? Says that Android Keyboard stopped responding. Anyone got this same problem? Any fix? Just re-downloaded a copy of the rom, gonna try flashing again. While I'm doing that, if anyone got any suggestions, I'm willing to give it a go
[Defy Android Development] juried:
Should this combo be called a RC? It would be good to pick a good combo and freeze it, for the sake of getting something reasonably reliable out there.
[Defy Android Development] hammerlyscott:
after install . only logo motorola red.

im from 2.3.6 . pleasy help me. need other sbf to path?
[Defy Android Development] Shrewdy:
Ok...i have had enough with the ring tone bug.... want to revert back to an older nightly....

Could anyone please tell me which was the most stable nightly that does not have the ringtone bug.... and had the best battery life....

Thanks
[Defy Android Development] frullewulle:
We can call it a rc, with a better solution for the temporary fix that has been added for the data drops, i would call it a rc2