yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] Antiga Prime:
[MENTION=4855459]Blechd0se[/MENTION]: Speaking of the devil, check attached images.

Note: This is not with your Kernel, this is default Quarx 07/09 kernel, but maybe you can figure out what's going on. It's been using the max frequency on the CPU for quite a while, even while phone is idle.
[Defy Android Development] Floydroider:
Before compilations with 2ndboot, Quarx included an update application. From then on he stopped including it. I imagine it is to avoid failure, because the best practice in all builds is do a clean install. There are few users who install new builds without wiping data and not have bugs.
[Defy Android Development] Persechini:
I get the appeal of the idea, but I think the updater would make people who are not frequent readers of this forum update more often without due diligence (backing up, beeing ready for clean install, reading feedback from early adopters, etc)
[Defy Android Development] K3n H1mur4:
Totally agreed. I bought an XPeria S to replace my old Defy (ended up using both side by side, though the Defy is really worn, cracked and full of hardware faults), and I'm using a PAC release from about a month ago. Lots of versions have been released, fixing one issue that seriously annoys me (lack of 1080p recording), but I held the urge to flash those and it was very good: lots of early adopters reported a wide variety of issues. On the Defy, I used to be always on the latest nightly, but it was because the phone was so fcked up that I had no mercy of it. Plus, my college semester is ending, so I have no time to be of help in bug reporting and stuff. The point is: even for people comfortable with the risks of early adopting, this practice can result in serious issues. Having an app to OTA releases that have a chance of not being 100% safe is giving non-"professional" users a dangerous tool to play with.

Sent using XDA for Android
[Defy Android Development] kryzeK:
True, then an exclusive for the forum members and developers, we will put in system/app. It will only download and will install manually via recovery.
[Defy Android Development] ccav2000:
As a matter of fact, I had one random reboot while the screen was off, that's about it. I will hold off flashing your new nightly for now, just want to see how far I can go without a reboot!
[Defy Android Development] Floydroider:
You could try using the one I said, just download one of those archived CM10 builds and you find the app there. If I'm not wrong it has the option to put a custom URL.
[Defy Android Development] okij:
[MENTION=4855459]Blechd0se[/MENTION], a small feedback to your yesterday's kernel:

I set zRAM to 26% to see how the kernel behaves. :cool:

The first about 12 hours of uptime were without problems and for this quite short period of time I could not make out a decrease in available RAM, not even by about 10 MB which would have been normal for 12 hours. Of course, this is not definite yet because of this short period of time.

Unfortunately, I could not test it for longer because of a random reboot while using Opera Mini (with no heavy usage). :(

After restarting, I decided to push my Vsels up a bit to see if it gets more stable. While using SetVsel, I got another random reboot.

After the next restart, I managed to set my Vsels from 300@25, 600@35, 900@50 and 1100@60 (which I usually use and which are very stable for me) up by 5 each to 300@30, 600@40, 900@55 and 1100@65.

For now I'm using this setting (your latest kernel with KSM enabled and zRAM set to 26%) and hope that the raised vSels prevent another random reboot, so that I can test for some days if the memory leak issue went away or got better. :fingers-crossed:
[Defy Android Development] danch92:
Call Conference not working. Error message is "Unable to conference calls"

Steps:

Call first person.

When he pick up the call.

Dial to call second person.

When second person also picks up the call

click on Conference icon

Then it throws error

"Unable to conference calls"

how to fix it?
[Defy Android Development] FcukBloat:
[MENTION=4855459]Blechd0se[/MENTION], as I know you are very good in unix commands, debugging etc, I would like to ask you one thing: I (and many others) have Media - DownloadService process always running, it seems it appears after installing gapps and it always starts automatically after I turn on the phone. it is not directly related to the rom I know, but finding out what app is making that process to always run could help a lot of people in reducing battery consumption + memory usage I think.

I opened a thread here time ago about this:

http://xdaforums.com/showthread.php?t=2312415

and [MENTION=1316716]YetAnotherForumUser[/MENTION] started helping me out in the investigation but then he disappeared at the most awkward moment.. after I generated all the logs he asked me :crying:

do you know which command I could run from terminal to see exactly which app needs that process?

thanks anyway bye!
[Defy Android Development] ccav2000:
Running [MENTION=4855459]Blechd0se[/MENTION]'s 08/07/13 kernel for a few days now, today I found problems. The device decided it won't go to deep sleep anymore. I got suspicious and checked the dmesg and found it full of errors. Attached is my dmesg at the time I noticed. I'm rebooting now to install the latest kernel.
[Defy Android Development] Antiga Prime:
Might shed some light:

http://stackoverflow.com/questions/...-while-atomic-swapper-0x00000103-0-cpu0-in-ts

http://stackoverflow.com/questions/...ossible-causes-of-bug-scheduling-while-atomic
[Defy Android Development] niksy+:
[MENTION=4916555]okij[/MENTION]

Try disabling KSM, mate. There have been multiple reports of it causing lags when enabled, so I'm guessing it's currently in a worse state than zRAM :D

Anyways, current uptime with the latest kernel is 14h for me and there's nothing to report just yet... I haven't noticed any change in behaviour between this one and the previous kernel build, but that was probably to be expected. (set up: 18% zRAM, no KSM, vsels 300/17 - 600/32 - 800/42 - 1100/54)
[Defy Android Development] okij:
Thanks for your hint! Although I didn't have (or at least didn't recognize) any lags or problems with KSM in the previous builds, I disabled it for now. :D I'm not sure if it frees up much RAM anyway. Does anybody have some numbers about this? :confused:
[Defy Android Development] niksy+:
I never noticed KSM or zRAM making any (good) changes at all before Blechd0se started tuning zRAM in the past 2-3 weeks :) But, since nothing was done with KSM, I'm guessing it's still broken, just like zRAM was before... Or maybe the impact of KSM is terribly small anyway? It sounds quite promising on paper, but I don't know if the implementation is bad in our case or is just not effective on Android :rolleyes:
[Defy Android Development] Antiga Prime:
I doubt it's broken. I commented on this somewhere in this forum. KSM is great, except that people using KSM on our devices actually expect it to do something. It's only useful if the apps can actually use it. It's much more useful if you're running virtual environments.

http://xdaforums.com/showpost.php?p=23528244&postcount=7
[Defy Android Development] fairxda:
Uptime with the latest Blechdose-Kernel (15.07.) now is 19h.

Zram with 26%. Swapfile 256MB. No KSM.

Vsels: 300/25, 600/35, 800/45, 1000/55.

Nothing to report as well ...
[Defy Android Development] Blechd0se:
Interesting log, as [MENTION=4864817]Antiga Prime[/MENTION] pointed out it tries to sleep where it can't sleep. Do you only use zram or zram with a extra swap file?

Did you also had this bug where your cpu stays at 100%? Because it looks like so, but its only guessing and reading between the lines.

[MENTION=4442286]niksy+[/MENTION] yeah most kernel features look great on paper, but i guess only a few apps use this functionality, maybe pksm is worth of porting

because it adds all processes not only those which are flagged. Maybe these patches for ROM can improve ksm, unfortunally i can't find the kernel patches...

[MENTION=4695495]moly82[/MENTION]

I am only aware of some kernel debugging commands, which help.. well debugging :D

As far as i can tell this problem is more a problem in user space, so there isn't anything i can do about this :(

These are all pretty exciting things, maybe i have to discuss it with Quarx if i have more spare time :)
[Defy Android Development] ccav2000:
I'm only using zram, no swap. Also, it didn't seem to be stuck at 100% cpu, a quick look of the cpu states showed normal behavior except it wouldn't go to deep sleep.

Anyway, running the 15/07 kernel now.
[Defy Android Development] playitlouder:
Hi there :)

just wanted to notify you about a behavior I experienced.

I had zRam on on the 2nd latest kernel from blechdose (KSM as well). I figgured out it doesn't give me any benefits in speed, so I decided to disable it. I went on and disabled both zRam and KSM. After an reboot my phone was way more responsive again. But within two minutes it crashed. I was stuck in a bootloop. So I made a backup of /data and installed Quarks latest Rom with gapps. This time I was stuck in "Android is beeing updated" screen. No avail. I had to rollback an old /data Backup.

Maybe this is the stability issue Quarks was refering to.

So my wise advise: Don't turn zRam off, if you don't have a Backup!

After this experience i fiddled around a bit and got my phone actually a bit faster.

I did the following:

Turned on "force GPU to render everything" in the Developer Options (try to give the poor singlecore some time to breathe :D)

Then I found out Facebook is using a fair bit of RAM and don't want to wanish if some other big app want's ram. So I installed "Greenify" and Greenified a few apps.

And last but not least I cleaned my SD-Card. Deleted a lot of stuff In the Android directory, some Image caches dating back from Gingerbread, and some hidden folders (starting with a dot).

Then reboot and enjoy :D

Oh and a little request: Blechdose/Quarks could you exclude some "junk" in your builds to free up space in the /system partition?

I mean the demo Android videos in "media/video" aren't necessary at all!

I allways kick out the Pico Languages in "tts".

And I would prefere to have the "latin IME"(keyboard) and "Apollo" the music player as an user app and not installed in system(A. I don't use them B. Apollo is not up with Google Music)

I also always create my custom Gapps where I toss out a bunch of unnecessary stuff, too.

After some time it get's a bit annoying to Delete this stuff out of the packages :D

Oh and any news about the 3.08 Kernel?, I thought this may solve some bugs for you in the future and will probably make your work easier to port over to KeyLime Pie or Android 4.3 (when it comes out :laugh:)

As always great work devs. Support from Android 2.1 to 4.2.1 is just amazing. Sad that new games don't run as good on the "old Defy+" any more. But I remember the stock rom with laggy temple run and now the 2nd part is running flawlessly :victory:
[Defy Android Development] Lord_Flaya:
Running last nightly a while and it's running great. Using quarx's kernel it does a reboot after about 72h uptime. Soon to try blechdose's kernel to compare stability with various settings. Report back later.

I'm not perfect, but i'm pretty f-ing close!!!
[Defy Android Development] disadjusted:
aware of everything

I'm still stuck on 04-15 build but when i turn this on, the homescreen overview (Holo Launcher Pro) stutters noticably, while without the option, it's fluid. Have had this with several other apps that behave the same even on less complex screen transitions... 3D outperforms 2D on most current chips in larger scales, when there's no dedicated support for 2D-HWA... so when CPU is fast enough, it might even outperform 2D-GPU, too.

+1 on this

well, be thankful for all the effort they put in this project, and please try to contribute, when possible. but don't expect this as support.

we don't know yet what 4.3 will bring and which kernel features are necessary, so we won't know if it runs on the defy until it's out and should be glad we have come so far. what i read is that 4.3 will have better power-management and better multi-core-utilization, don't know if any of this will be either usefull or runable for single-core-cpcap*-devices like defy...

*hint: it's neither Comprehensive Prostate Cancer Awareness Program nor Cyberspace Policy Center for Asia-Pacific ;)
[Defy Android Development] Born_Bad:
CPCAP - compressed Parallel Configuration Access Port

"The device contains power management, an audio codec, a universal serial bus (USB) high-speed (HS) transceiver, an ac/USB charger, light-emitting diode (LED) drivers, an analog-to-digital converter (ADC), a real-time clock (RTC), and embedded power control."

http://www.droid-developers.org/wiki/Motorola_Milestone

:victory:
[Defy Android Development] FcukBloat:
I'm on 09/jul build, all stock: interactive, deadline, no ksm (and of course no zram, swap etc), no OC/vsel changes, no Greenify, task killers etc

almost 3 days of uptime and no reboots, no memory problems/slowdowns.. phone is responsive like the first day I booted it up :good:

I am not using particular apps these days, i often kill background apps (with long press home button) and only other "extra/nerd" things :p I usually do is to manually kill those apps I use rarely when I finish using them (holding the back button) and sometimes (about once per day or two days) manually stop processes if I see unwanted running apps (that I am not using) in apps settings ..

will see how it goes at about 5 days and report.. hope it will always be like that :fingers-crossed: and also hope I won't need to reboot the phone for any reason before the 5 days!

bye!

NB. also, I always clean a lot the rom zip and a little the minimal gapps package before flashing them (see this if interested: http://xdaforums.com/showpost.php?p=43228913&postcount=17) and make clean installs
[Defy Android Development] atulclassic:
not able to change governer in settings/performance

[MENTION=513620]Quarx[/MENTION]..this issue is reported by other users also..is it still in your to do list.
[Defy Android Development] soyusado:
I left my beautiful Defy yesterday, it's a legend definitely.

Thank you so much Quarx, because without you this phone would be long forgotten.

Thaks all the devs also. You're the best, guys.

Best of luck for all.
[Defy Android Development] qx876:
I love the effortless connectivity of the recent builds.

You developer people are magicians. Thank you.

one less gadget.
[Defy Android Development] Lord_Flaya:
Tried flashing blechdose's kernel, figured i succeeded, but today i looked in cpu spy and system settings, and found that even after clean cm install + kernel i'm still running quarx's kernel.. :eek: any thoughts on this, anyone?
[Defy Android Development] kryzeK:
Question well off topic. If there is a CM10.2 (Android 4.3.x), the port for our Defy(+) would be quick or complicated? I ask because it seems to be identical to 4.2.x changes only few apps and bluetooth driver
[Defy Android Development] niksy+:
Have you maybe flashed the ROM zip after the kernel zip? Because that would mean that you flashed Blechd0se's kernel and then Quarx's over it ;)

If you want to do a clean install again, you can get the zImage from Blechd0se's zip and replace the one in CM10.1 zip with that one and then flash that modded ROM zip ;)

In that case I've got a feeling that we won't be having any Bluetooth on 4.3 if it arrives on the DEFY :laugh: The other option (that bluetooth would actually work better due to those changes) is probably less likely :D
[Defy Android Development] desihu:
new google maps not working?

quick check...

did any one had a issue with the new Maps once they got updated yesterday to ver 7.0.2. Mine show only a black area instead of a map.
[Defy Android Development] ccav2000:
Has already been answered, please use the search. You just need to enable HWA for it, most new apps these days need it to function properly.
[Defy Android Development] desihu:
Thanks, I keep HWA disabled actually, had this issue for the first time yesterday, after the new maps 7.0.2 rollout.

Thanks again.

... have been tweaking recently by removing some unnecessary system apks which I think I don't use.
[Defy Android Development] Antiga Prime:
I think I realized why the phone, in my case, starts getting sluggish after a couple of hours of up time. It turns out most, if not all, services on the phone start crashing one after the other and restarting every couple of seconds, which of course drains battery and obviously keeps the CPU busy.

I was wondering if anyone else could check their Logcat, or preferably use CatLog and filter out the word "crashed" and see if they are having services crash every 5 seconds or so. It should look something like this:

This was right after a reboot, so there aren't many crashes, and it doesn't seem like it's Android killing off services in order to regain memory, or at least I wouldn't think that Android would kill off EVERY service (I don't use task killers).
[Defy Android Development] ccav2000:
I've seen those entries ever since CM7 in the logs, not sure what's causing the crashes but I'm guessing that our kernel is the number one suspect with its outdated memory management model. If only ION could work properly...
[Defy Android Development] woodman:
Hi,

I also have those kind of logs (attached). I have Greenify installed but services which are killed are not in my "greenify list" (EDIT : excepted Facebook).

My phone is still running fine since 7 days (no reboot, almost no lags, no memory leak)

Defy Green

13-07-09 Quarx build
[Defy Android Development] Antiga Prime:
Well, it could just be my phone. I don't think you have the same problem I have, because everything starts crashing/restarting every couple of seconds, so the log I had before I cleared it had several hundred lines of apps crashing, restarting, crashing, etc. I use greenify too, but regardless of that, even apps that should be "hibernated" were still crashing and restarting.
[Defy Android Development] ccav2000:
Every 2secs it's overkill, the behavior of my device is more like [MENTION=4752536]fpriot[/MENTION]'s it happens every now and then.
[Defy Android Development] Antiga Prime:
Of course. Well I killed zygote about 2 and a half hours ago, and there hasn't been a crash in over an hour; then again, I'm not using my phone much right now. So far the services for Whatsapp, Totalcommander's Lan plugin, Play Store's notification service, Setvsel, and Greenify have all had a crash.

What I had seen more of yesterday was Whatsapp and Viber crashing/restarting/crashing, but maybe because I was only monitoring those two apps. I guess we'll see in a while.
[Defy Android Development] atulclassic:
TWRP 2.6.0.0 misbehaving 0907 build

Not able to take backup in TWRP 2.6.0.0..everytime recovery reboots and come back to main screen when backup starts.

Anybody facing same issue?
[Defy Android Development] maury1234:
I believe Android 4.3 does not bring many new features out of the box, but one of them is being more secure at the kernel-level for rooting purposes. Of course these changes will accomodate many devices, and probably the Defy will be able to run a modded kernel of the up to day last commit. However, there is one catch; Android 4.3 has only been leaked to FCC approval for bluetooth 4 LE. Our device has bluetooth 2.1. I don't know if that is a problem, but I surely think there is a way to bypass this problem in linux.
[Defy Android Development] FcukBloat:
passed 5 days of uptime and everything is still perfect here with latest build, all stock.. not a single reboot, memory problems or other! don't know maybe I'm just lucky :)

so far it seems rock solid to me and also data connectivity is pretty stable thanks quarx latest roms are simply wonderful! :) will keep monitoring btw!

ps: as a side note, in the last couple of days media download process disappeared from running processes and now it seems it stays in cached apps.. still wondering what the fu*k is that process for!!

---------- Post added at 07:37 PM ---------- Previous post was at 07:20 PM ----------

unbelievable!!! almost immediately after my previous post it appeared the telephony bug and had to reboot!! :(((((((

it seems done on purpose :p

what a pity i would have really liked to see how long the phone could last in that nice state :( next time :p

btw my opinion doesn't change of course room is still great!! :)
[Defy Android Development] woodman:
In my case, 172 hours and 50 minutes and still no problem.

Sent from my DEFY green lens

CM10.1 ROM by Quarx (2013-07-09 build)
[Defy Android Development] hotdog125:
What are your settings and any tweaks/mods applied? My phone became a victim of the memory leak at about 95 hrs uptime.
[Defy Android Development] woodman:
I use "pure" Quarx build (13-07-09) without any tweak or mod.

Default vsels, no o/c.

I'm on cfq i/o scheduler.

I use Greenify.

My other performances settings are by default.

Sent from my DEFY green lens

CM10.1 ROM by Quarx (2013-07-09 build)
[Defy Android Development] disadjusted:
JB4.3 / CM10.2 & SELinux

i just read this: http://www.cyanogenmod.org/blog/this-week-in-cm-july-19-13

...and wondered if those kernel-based changes might make it into defy's kernel...?

[MENTION=4855459]Blechd0se[/MENTION], [MENTION=513620]Quarx[/MENTION], anyone...?
[Defy Android Development] fairxda:
Uptime 4d 11h with Quarxrom from 09.07. and Blechdoses Kernel from 15.07.

After changing the highest vsel to 1200/62 and then updating some apps in playstore, i got

the first SimPin-Reboot.

Don't know whether it depends on ...

But i went back to 1000/55. The other vsels are 300/25, 600/35, 800/45.

Nothing else to report. Runs very smooth.
[Defy Android Development] amritmalviya:
Does camera openining closing time reduce or not ?

And what about no voice while bt is on ??
[Defy Android Development] ccav2000:
These problems remain, if you need bluetooth stay with CM10.
[Defy Android Development] qx876:
Audio cut off while recording video is back for me. With stock 4.22 and also with the new 4.3 gallery/cam. Not really sure if this was ever solved, or I just found a unbugged gallery of those floating around.

Lg camera seems to work though, but its ugly as hell, and this new 4.3 camera is really fast.

one less gadget.
[Defy Android Development] Antiga Prime:
It's never been solved. In my case, on the build before this one, the audio would cut at about 20 - 30 seconds before the end of the file. On the current build it cuts right down the middle. And I even noticed that the audio goes out of sync with the video.

Now, every single ROM I've tried that is based on SlimRom and/or compiled by Kayant does NOT have this audio bug. I commented about this a while back. I know for a fact that it's not the "media_profiles.xml" file that breaks/fixes this, and it's not HWA related. I don't know if it's the way Quarx compiles the ROM, and/or maybe audio libraries, but there is definitely something different with the CM builds that breaks this.

If anyone else wants to try, you can test with both builds compiled by [MENTION=5077112]Taki_Jeden[/MENTION], or the Illusion ROM I'm currently on.
[Defy Android Development] runeupo:
and from taki__jeden original Polish web pages http://forum.android.com.pl/f267/4-1-2-slim-bean-3-1-1-taki_jeden_rom-11-06-2013-a-249507/

scroll down a bit until "stary aparat i galeria.zip" and possible use translate :beer:

perhaps useful

[mb525red on taki_jeden 09052013 [SlimBean based]]
[Defy Android Development] juried:
Found that there is a huge battery drain difference between 2/7 and 9/7 ROMs. 2/7 in airplane mode drains about 0.4%/h, 9/7 in identical state drains 5%/h. Confirmed by flashing 2/7 again, back to 0.4% again.
[Defy Android Development] kapil_dheer:
Not in my case.........both the roms give me 0.5% drain with my set of apps.