yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] vap_66:
Re: [JB+][3.0.8 kernel] CM10.1 Android 4.2.2 for the Defy(+)

That's mainly for tablets, it doesn't make sense on a phone.
[Defy Android Development] josuearisty:
So, now that 720p video decoder working, will the flash player work for us now?
[Defy Android Development] Quarx:
Flash, Netflix and others stream apps should work. You can test it via bluetooth tethering :p
[Defy Android Development] TJKV:
Okay to really nuke it, delete the TWRP folder on your sdcard (first copy any backups to your computer of course). Then if you are up for it do a full wipe and reflash, reboot and enter TWRP again so now it will be completely new. Then try making a backup.

Also I reduce my screen brightness to 10 in TWRP settings, what about you?
[Defy Android Development] Blechd0se:
How about enabling adb and posting some logs dude?

Anyway, time for a new nightly, quitely interesting changelog this time;

- memory fixes for android binder driver

- build in snappy compression for zram

- some memory leak fixes in cpufreq driver

- enabled kmemleak detector in defconfig and therefore fixed a possible kmemleak in video driver

So all in all many memory fixes. While Quarx prepares CM10.2, i tried to focus on those memory leaks.

I let the memory leak detector enabled, so all you need to do is run this; mount -t debugfs nodev /sys/kernel/debug/ at startup

and then after some hours[days] post the output of cat /sys/kernel/debug/kmemleak

In my test cases i got a bunch of memleaks, many from our closed libs and some inside the kernel.

Further reading about memory leaks.

Also like [MENTION=3344838]ccav2000[/MENTION] suggested i post one build for cm10.1 and cm10 (not tested).

Enjoy and post some feedback, if you tested it :)

EDIT: Reuploaded the release because there was something derped with kmemleak
[Defy Android Development] slimshady76:
Cool work Blechd0se! Is the CM10 version compatible with 07032013 nightly? Or should I upgrade to 07092013?
[Defy Android Development] fairxda:
So I've done BIG DUDE! ;)

Before with Quarxs Rom from 09.07. and your Kernel from 15.07. I had an uptime from 13 days with one SimPin-Reboot because, I think, I had

undervalued vsels. All other worked fine ...

By the way again thanks thanks thanks ...
[Defy Android Development] ccav2000:
Installed the CM10 version of the nightly, everything seems to work at first glance. Thank you for including the CM10 users [MENTION=4855459]Blechd0se[/MENTION]!
[Defy Android Development] darkvier:
@Blechd0se: Installed on the last CM10.1 nightly and defy dont boot

It stays on green LED and dont boot

TWRP also dont boot...:S

Have I done something wrong?
[Defy Android Development] casouzaj:
+1. I'm afraid we'll have to start it all over again: sbf, root, bootmenu,...

EDIT: unless somebody comes up with a signed version of the latest CM10.1 by Quarx, to be renamed as update.zip and flashed via stock recovery.

EDIT 2: [SOLVED] I copied zImage from Blechd0se's 07/15 release to /system/bootmenu/2nd-boot, changed its permission to 755 and my Defy booted again.
[Defy Android Development] kryzeK:
Here in my new Defy+, kernel installed successfully, without wipes or boot problems. About CM10.2 that remains to be built?
[Defy Android Development] level_666:
Time.
[Defy Android Development] frozenwaverider:
Try this its great :)

http://xdaforums.com/showthread.php?p=29117819

MB525 Red lense
[Defy Android Development] casouzaj:
Your link is dead. Anyway,I had just edited my post with the way I solved it (quoted just above yours). Thanks, anyway.
[Defy Android Development] frozenwaverider:
Fixed now

MB525 Red lense

It's like a rooted stock recovery
[Defy Android Development] atulclassic:
[MENTION=4148153]TJKV[/MENTION]..thanks buddy..i deleted my twrp folder..and backup done..may the settings file in folder was creating problem due to change in version.

a big thanks
[Defy Android Development] okij:
No deepsleep with kernel_29.07-cm10.1_V2

[MENTION=221788]Blechdose[/MENTION]: Thanks for your latest kernel_29.07-cm10.1_V2! I really appreciate that you are working on the memory leaks! :)

However, my Defy+ doesn't enter deepsleep when using this kernel, my battery was almost empty this morning. :(

Also CPU Spy reports that no deep sleep was used.

Is there anyone else with this problem? :confused:
[Defy Android Development] slaphappy76:
No deepsleep with kernel_29.07-cm10.1_V2

+1
[Defy Android Development] ccav2000:
Had a similar issue with the CM10 version, solved it the usual way, I just rebooted with all the networks off and let it alone for about 5mins after it booted. After that it behaved normally.

EDIT: Scratch that, I was referring to the v1 kernel, the v2 definitely has a deep sleep issue. I'm reverting to the stock kernel for now, [MENTION=4855459]Blechd0se[/MENTION] this needs fixing.
[Defy Android Development] abhifx:
USB powered phone without battery

it was possible on the kernel ver 3.0.8 to boot and work with phone without using the battery. can this feature be enabled in the 2.6.32 kernel?
[Defy Android Development] fairxda:
Yes, me too ... ;)

High batteryconsumption, 15% in 4 hours. Before it was in 4 hours 4%.

More or less i have nothing done with the defy+ in this time.

No deepsleep.

v2 kernel from yesterday. Quarxrom from 09.07.2013.

Attached kmemleak for BlechdOse.
[Defy Android Development] musikusbawue:
+1

Gesendet von meinem MB526 mit Tapatalk 2
[Defy Android Development] FcukBloat:
thanks for the answer. in my case it shouldn't be a problem of vsels, i have the default ones. with stock camera i have just double checked and had the sound cut after about ~2 min of recording + lagging recording preview (but then the video played fine, no lags).

i then installed camera ics+ as per your suggestion and i can confirm i don't have sound cut in video anymore (tried a couple of recordings longer than 2 minutes) and no lags in preview :) thanks a lot!!

ps. also tried a couple of panorama shots and they worked fine, while if i remember right panorama was always buggy here!! can you confirm it always works fine for you too?

EDIT: panorama confirmed to NOT be working correctly.. first I did were ok then the others I tried made the phone to reboot :(
[Defy Android Development] FcukBloat:
can't see any cm10.2 build on quarx website.. did you compile it by yourself from his repos maybe??
[Defy Android Development] ccav2000:
That's because there is no public build yet. The photo is from Quarx's Facebook page.
[Defy Android Development] Fight4Music:
The Screenshot is from quarx facebook page, there is another Screenshot too :)

http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/s720x720/521865_490095254406832_1005744724_n.jpg

http://quarx2k.ru/cm10.2-nightly-defy+/cm-10.2-20130730-NIGHTLY-mb526.zip

:)

Gesendet von meinem MB526 mit Tapatalk 2
[Defy Android Development] Quarx:
4.3 thread http://xdaforums.com/showthread.php?p=44108568 ;)
[Defy Android Development] disadjusted:
JB++

i think the only thing that's missing is a 2nd + in the title... shouldn't 4.3 be considered as JB++? :)
[Defy Android Development] fairxda:
Hi Blechdose!

Do you need still some kmemleak-files for here?

Or are you now engaged in 4.3-Development, maybe? ;)
[Defy Android Development] Blechd0se:
Send all those files to me, the more the better :)

For those with deepsleep issues; reboot your device and dont mount debugfs, i guess kmemleak keeps the device awake (which

sounds legit, you can give it a try).

Some other things; i enabled swap in all my releases and users with and without my kernel got those strange reboots.

So i think its safe to enable swap in defconfig for all devices. This is only my guessing, but swap was even enabled in the

very early days, so i think its not the culprit. Btw. some of you remembered when i talked about interactive and its

dynamic scaling, here is what i am testing at the moment; echo 80000 600000:40000 800000:60000 1000000:20000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay

Just something i wanted to share :)

Developing kernel for 4.2 and 4.3 will probably the same, only exception is; 4.3 doesn't like our old kernel. With this kmemleak-feature

we could be able to make 3.0 boot or at least debug it a bit easier....
[Defy Android Development] fairxda:
I got just a reboot because of a "modem problem" as shown me in a small window.

So unfortunately kmemleaḱ has gone.

After reboot i didn't implement "your" "mount -t ..."-command, but uptime tells me: no sleep time.

Ok, only 30 min uptime after this reboot until now. I will wait a little.
[Defy Android Development] ccav2000:
[MENTION=4855459]Blechd0se[/MENTION] I never mounted debugfs, still no deep sleep.
[Defy Android Development] okij:
Same for me: Even after rebooting and not mounting debugfs, my Defy+ got no deepsleep.

I'm back to 07-15 kernel for now. :o

Edit: I'm testing CM10.2 now and I'm impressed how well it works already! [MENTION=478506]quarks[/MENTION] has made an impressive job, I think this is the best initial release so far! :)

[MENTION=4855459]Blechd0se[/MENTION]: Would it be possible that you make builds of your kernels now for CM10.2 too? Quarx has e.g. disabled zRAM at the moment and this would be interesting to test, especially with your new snappy compression method! :) But hopefully you are able to fix the deepsleep issue before... :)
[Defy Android Development] Spotja:
I've been on the 27/05/2013 build for some time now. Any mirror sites where I can download the latest build since the quarx2k.ru site is down.
[Defy Android Development] Kayant:
[MENTION=4916555]okij[/MENTION] you can use on 4.3 also that's what am using ;)
[Defy Android Development] hrk:
The mirror is in the first post.
[Defy Android Development] ccav2000:
Also, quarx2k.ru works fine at the moment. If you can't reach it you have a problem on your side.
[Defy Android Development] okij:
Thanks for this info! :)

So you are using kernel_29.07-cm10.1_V2 on cm-10.2-20130730-NIGHTLY-mb526? Is deepsleep working with this? :confused:
[Defy Android Development] yogesh324:
hi i tried to use kernel_29.7 with cm10.2 but deep sleep is not working but with 15.7 version it works pretty well
[Defy Android Development] Spotja:
Hey guys. I've installed the latest Quarx CM10.1 ROM 09/07/2013 with Jelly-X kernel 15.07. However, when I reboot my defy, I get stuck on a black screen with the LED with a green light. I can't enter TWRP.
[Defy Android Development] sunil_defy:
should we move on 4.3 ? coz i feel right now 4.2.2 looks pretty awesome and smooth.
[Defy Android Development] amritmalviya:
Does we expect any more nighty for 4.2 ? I think quarx should work on jb 4.3 !
[Defy Android Development] woodman:
It's your choice.

My opinion is that last cm10.2 is very similar and in my early experience, it's already as smooth and stable as cm10.1. Quarx, Blechd0se and others will probably concentrate on last Android version.

In my case, I love testing and helping devs and other members on XDA.

So, I should say yeah, go for it !

Sent from my DEFY green lens

CM10.2 ROM by Quarx (2013-08-01 build)
[Defy Android Development] mayur2j:
HWA settings

Hi I've installed cm10.1 and it was not running as smooth as some people have mentioned in this thread. Recently i turned off HWA settings for many apps except the launcher,system-ui and android system. Now the OS feels better with HWA settings turned off. When i turned it off for launcher it started lagging and when i turned it off for settings, settings menu started opening quickly than earlier.

Can anybody explain me which apps would require the HWA on and which would run better without it. I tried to find it on the forum but I couldn't. If anybody knows any thread for this please post the link.. thanks. :)
[Defy Android Development] hotdog125:
I guess you have to experiment and find out yourself. I use HWA for the gameloft games, contacts, phone, messaging, settings, and of course the launcher, systemui and system.
[Defy Android Development] mayur2j:
Have you tried turning it off for settings, in my case turning off HWA for settings improved the response time.
[Defy Android Development] Lord_Flaya:
I have HWA enabled for everything, and never had any problems. So it's individual IMO.
[Defy Android Development] trurl3:
Is there any fix for lack of phone when BT is on?
[Defy Android Development] jorgeoro:
Is there any patch or workaround for wifi ad-hoc connections for CM 10.1??
[Defy Android Development] Palawan-Taucher:
Exact the info i was looking for !!!

Gesendet von meinem MB526
[Defy Android Development] steelbreeze:
Deleted
[Defy Android Development] swanster:
why my WIFI can't switch on?? can anybody fix this problem?
[Defy Android Development] jountha:
Which one is better compare 10,10.1 n 10.2??

Is der any difference between these three. I am not that technical but all three looks same to me
[Defy Android Development] o_mas:
Hi,

In 10.1 and 10.2 the bluetooth don't works properly.

Some android apps are diferrent in 10.1 and 10.2 (cLock, camera...)

They are very similar visually.

I am on 10.1 and there is no major differences in performance between 10 and 10.1, I dont know between 10.1 and 10.2
[Defy Android Development] Urdle:
Minimizing the vibration

Hi,

I noticed that, in CM10/10.1 (and probably 10.2), the vibration of the phone is quite intense. At work, the buzz generated when the phone vibrates is actually as noisy as the ringtone at the minimal setting.

Is there a way to change/dim/lower the vibration's strengh (by modifying a file, if necessary, even if I'd rather have a proper setting for that) ?

Best Regards.
[Defy Android Development] elguaxo:
Google+'s Locations shows just a grid of squares

I'm using cm-10.1-20130709-NIGHTLY_v2-mb526.zip, which is running great, but Google+'s Locations is showing just a grid of squares and not a map. Is this a known bug? Any workarounds? Thanks in advance.
[Defy Android Development] ccav2000:
It's not a CyanogenMod bug, and not a bug of this ROM either. It happens in a lot of custom ROMs and the only solution is to convert Google Plus to a system app. I have done so a month ago already and it works.

EDIT: This is where I found out about it and how to fix it: https://plus.google.com/+DerekRoss/posts/EBsp2CiKhJ5
[Defy Android Development] elguaxo:
It works like a charm! :D Thanks.
[Defy Android Development] mothy1025:
Any progress on 3.0.8 kernel ? There is no commits on the kernel for months.Is the 3.0.8 kernel dropped.:confused:
[Defy Android Development] hotdog125:
After 72 hours uptime with pure Quarx ROM, Wi-Fi got stuck on connecting and free memory plummeted to just 10mb. I guess i'll switch to MS2Ginger till CM10.2 is relatively stable (with bluetooth headset working). I am fed up with the memory leaks problem (Even with fresh start from sbf and full wipe), though this problem seemed to have been fixed. Anyway thanks a lot devs for your hard work on Android versions that were not meant for Defy.:)
[Defy Android Development] sunil_defy:
This is by far the longest we have waited for an upload from quarx2k. I believe he must really be busy or some thing !!!
[Defy Android Development] GuustFlater89:
How about some time doing other things, like holiday?:D
[Defy Android Development] hotdog125:
He is on a well deserved vacation:) from what I heard.
[Defy Android Development] jountha:
Or he might be in edge of completing a final version.
[Defy Android Development] sunil_defy:
that is very optimistic....great it would be if it the case...:good:
[Defy Android Development] qx876:
hi, since some time now I experience that uncomparable strong lag when switching back to the homescreen.

opening app, options drawers, etc runs a lot more fluid, pressing the home btn can take 5sec+ until anything happens.

I run nova prime, no widgets, cm10.1, few apps.

is that normal?
[Defy Android Development] kapil_dheer:
No. It should not be that way.

It seems your launcher is getting killed every time you do something else.

Then when you press the home button, it again starts the Home launcher from dead. Hence the delay.

Now you need to see what new apps you installed which constantly run resulting in lesser free memory.

As a result of this less free memory,your system needs to kill the launcher to achieve enough memory to run your new apps.
[Defy Android Development] jountha:
Use greenify
[Defy Android Development] kapil_dheer:
Yes of course.

Greenify and v6 supercharger make a deadly combo.

V6 even makes the launcher die hard so it never gets killed.
[Defy Android Development] qx876:
Thx

I do use greenify, and nova launcher has a "keep in memory" feature. I also try to run low memory consumption, I deleted lots of stuff from system, (keyboard, trebuchet and lots more)

Titanium shows me 110MB free ram.

Maybe its something with memory leaks?

Well, gotta look more into my memory stuffs

Is there a noob friendly way to check the memory behaviour of my launcher?

V6, not sure Im a bit sceptic about those apps, gonna try anyways, will report back.

one less gadget.
[Defy Android Development] Anton111111:
Try to disable HWA for all apps instead of launcher.
[Defy Android Development] jountha:
Whenever i disabled any hwa setting, the phone never starts for me. Its stucks on boot animation. The only solution ever left was to reset. :(
[Defy Android Development] Anton111111:
It is very strange. HWA settings for each application are applied before the start of the application. Therefore HWA settingcs can't affect to booting.
[Defy Android Development] jountha:
I have tried chaging hwa setting twice but both time i ended on reset. :rolleyes:
[Defy Android Development] Anton111111:
I found the reason for my wifi problem is settings of MTU . MTU of my router is 1492 (it is my internet provider requirements). But MTU setted for wlan of Defy is 1500.

When i change MTU to 1492 (command: ifconfig wlan0 mtu 1492) my wifi works fine.

But i don't understand how to set this parameter permanently. Because after reboot i again have MTU equals 1500.

Have any ideas how to set MTU permanently ? I think we must have some config file for it.
[Defy Android Development] eliseo486:
i don't think so .

MTU is the maximum transmission unit (MTU) of a communications protocol of a layer is the size (in bytes) of the largest protocol data unit that the layer can pass onwards. MTU parameters usually appear in association with a communications interface (NIC, serial port, etc.). Standards (Ethernet, for example) can fix the size of an MTU; or systems (such as point-to-point serial links) may decide MTU at connect time.

A larger MTU brings greater efficiency because each packet carries more user data while protocol overheads, such as headers or underlying per-packet delays, remain fixed; the resulting higher efficiency means a slight improvement in bulk protocol throughput. A larger MTU also means processing of fewer packets for the same amount of data. In some systems, per-packet-processing can be a critical performance limitation.

If you tried to send a file more than 1492, the file size plus the overhead of each layer, the packet will be segmented into divisions, which is the value of MTU.

Try to change, in advance wireless options of your router, G- only, B only, Mixed, or N only.

Sorry for my bad english
[Defy Android Development] Anton111111:
I wrote later that Defy have problem with internet only if i set 802.11 g/n mode. If i set 802.11 g only mode, Defy works well. But i don't want to change parameters of my router to 802.11 g because i use laptop on 802.11 n mode.

When i set 802.11 g/n mode Defy connected on 802.11 n mode but internet not works on Defy (i have fast connection and good signal but internet doesn't work). I change MTU on Defy and internet works without any problems on 802.11 n mode (internet is stable and fast). But after reboot i have 1500 MTU again and i have to start command ifconfig wlan0 mtu 1492 again.

I want to know have ability to set MTU on Defy permanently.
[Defy Android Development] Antiga Prime:
I'm not on CM 10.1, but if init.d is working as it should, you could create a "userinit.sh" script in /data/local so that it executes at boot (or at least that's what I gather you could do, from reading the the contents of the "90userinit" in /system/etc/init.d).

I remember on one build I created an init script, but something was wrong and the phone wouldn't boot up; I had to get in through ADB and delete my script file I had created in /data/local for it to boot up properly.

Another easy thing you could do is install Smanager, create a script with the code you'd run in a terminal, and have it run as "SU" and a boot. That's a lot easier but preferably I'd want to run the script without having to install an extra program.
[Defy Android Development] Arathon:
I don't know if this is a bug or not, but if i try to create a hotspot with wifi tether, the new connection doesn't show up in my notebook or it will appear a net named wlan1 (after changing some settings) and if i try to connect it will give me an error saying i can't connect.

I set the profile to Defy and used net-ndc(master) with routing fix and reload driver enabled; i treid to enable/disable wifi protection but nothing changed and the net wlan1 was always unprotected. Hope you can help me.

Another strange thing i noticed is that after at least 2 weeks sometimes in the morning i can't wake the phone even though is on (and hot) and i have to remove the battery then turn on.
[Defy Android Development] qx876:
V6 seems to be helping with my launcher lags, although Im not sure if I installed everything correctly, quite a bunch off stuff to cross off. Thx

And now I need a few tips for a working camera/gallery app (without sound cutoff). I dont want that lg camera ugliness, how about jb+ camera, does this one work?

one less gadget.
[Defy Android Development] kapil_dheer:
Some people have reported it performs better than the stock camera. Worth giving a try.
[Defy Android Development] hotdog125:
I've tested it. Camera JB+ performs better in all CM10.x ROMs, barring CM10.2. There is minimum audio cutoff (with CM10.1) and lagginess is reduced. You can try a different media_profiles.xml.
[Defy Android Development] Antiga Prime:
Even though it does perform better sometimes, I don't think it's a problem with the gallery/camera app itself, and it's definitely not a problem with the media_profiles.xml. For instance, the [MENTION=5077112]Taki_Jeden[/MENTION] ROMs record perfect video with no audio cutting, with the default camera app, and have the exact same "media_profiles.xml" file as the ones in Quarx's ROMs, just as one of the first Slimbean ROMS compiled by [MENTION=4148153]TJKV[/MENTION] (the latest one does not record the full audio).

On these ROMS, I have tested it while recording +5 minute long videos, with ALL HW acceleration on and no overclock/undervolt, aside from the default values, and they still record video flawlessly.

I'm convinced the problem lies somewhere in the compiling process, given that most ROMs are in part based on Quarx work, and yet most of Quarx ROMS, if not all, have this audio problem while recording videos. Disabling HW acceleration, overclocking, using a different "media_profiles.xml" file, changing the "ro.media.capture.classification=classE" to "classH", are all things that might help, but are definitely not at the core of the problem.

If not, how do you explain that other ROMs, using the exact same settings, work perfectly, and these do not?
[Defy Android Development] TJKV:
Are you absolutely sure you are still able to record videos properly on my SB4.2 build 7.8? I'm asking because I myself couldn't, I had the audio cutting off :P
[Defy Android Development] Antiga Prime:
No, on your two latest builds it does not record the full audio. I don't remember if it was 7.2 or the first 7.8, but it was one of those two first builds in which it did record the full audio. Hence my wondering what goes on during the compilation process, since it's the only thing I can think of that would have this random effect.