yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] thekguy:
Not implemented in kernel as yet
[Defy Android Development] sdrawkcab3:
Signal issue

This may or may not be the right place for me to post this - I'm not sure if this is a RIL-related problem, or if there's something else I'm missing.

I'm running the most recent build on my Bravo. I'm on ATT. It's displaying the following signal problems:

When I take the phone out of my pocket the signal strength changes from -113/-111dB to -99dB after 5-10 seconds.

I frequently miss calls that go straight to voice mail.

Occasionally the signal strength gets stuck on -111dB, and I can't make calls/texts unless I go into/out of airplane mode.

Frequently when I make calls with a signal strength of -99dB or better, the call does not connect and the signal drops to -113dB. The call attempt is then aborted.
[Defy Android Development] kapil_dheer:
This is more likely a baseband problem rather than ril.

Try switching baseband. Play around with different settings and see which one of then works good for your region.
[Defy Android Development] atulclassic:
flash defy baseband switcher..posted in 10.1 thread by me
[Defy Android Development] leito824:
audio filming the video cuts to a certain amount of seconds ..! there is any solution or alternaiva?

editing the media_profile?
[Defy Android Development] hotdog125:
I've tried, but couldn't fix it by any method.
[Defy Android Development] xdaid:
Hey,

i had to re-compile due to that Trebuchet error but now it's done, here is a new build which includes the data connection patch i posted some days ago, YAFU's patches, latest cyanogen updates included by Quarx (repo synced less than a week ago)

cm-10.2-20130817-UNOFFICIAL-mb526.zip

cm-10.2-20130817-UNOFFICIAL-mb526.zip.md5sum

EDIT:

wait, the process android.phone continuously crashes! i suggest to install only for testing purpose, DO NOT install if you need your defy for daily use. I'm investigating.
[Defy Android Development] gkovacsp:
Is there anyone successfully using a HF5X battery with this ROM?

Mine charges to 85% only, then it runs on 1% for hours.
[Defy Android Development] matiasrey:
I´m currently using a HF5X battery with my MB525 and it charges and works just fine.
[Defy Android Development] YetAnotherForumUser:
I described this in an earlier post. The crashing apps are the result of the system failing to write to /cache/dalvik-cache. The solution is to either change the permissions on that directory to 0777 (open to all, totally insecure) or to revert a reverted patch (2504595990329d34f90be397868c7e6855d0e3cf) in dalvik related to this bug. The latter is of course the best solution to this problem but it does mean you have to rebuild your distribution.
[Defy Android Development] ithakaner:
Microphone input related issues?!?

I'm now some days on the 1st of August build (fresh clean install from Quarx's BL7 SFB with recently released official GApps for 10.2),

so far it's running very smooth without any common problems (e.g. stability/performance, spontaneous reboots, lags or BT issues)

So I started to evaluate it in my daily routine to uncover maybe sleeping bug/issues. Sadly I found so far two:

with introduction of the new fused location, I get

on CM10.2 a very coarse

(radius~2km)

location

,

if not in direct sight to the GPS satellites, while on CM10.1 I had a quite good location (radius of uncertainty about 50m)

even more worriying is the fact that

after some hours

the

microphone

driver or something is

not working

any more.

I detected this error by trying to use GoogleNow and no voice was captured, so logicically my first idea was that the VoiceInput might be

faulty and so it looked first since all other VoiceSearch options aren't working. but well also the Video recording *with sound*

doesn't work and even the most basic app within the system for this purpose the Sound Recorder app is not showing any peak

while recording and crashed on saving...

For the

second issue

I found a

workaround

: wipe the data of one of the following system settings: android.system,

defy.parts or even just the wallpapers. Strangely after that the microphone input will work again (*for some time*) in all scenarios described above. So far I can't think of anything why this is coming back after some time...

I hope I haven't overlooked a similar topic with a solution and someone can help or share the same experience.
[Defy Android Development] paparas64:
Hello, I have a problem with my bluetooth (plantronics) when I use it in a call. I can not hear the other side clear(I can not understand what he said and he is not understand what I am telling). When I use the bluetooth to hear music it works fine. The same happens with cm10. 1 but not with cm10, cm9. cm10.1 and cm 10.2 when I install it I do a clean full wipe installation. (sorry for my english).
[Defy Android Development] hotdog125:
It's a known bug which hasn't been fixed yet. Please read OP properly before posting.
[Defy Android Development] xdaid:
thanks, i missed your post. I'm going to revert that reverted patch.
[Defy Android Development] slph:
delete please
[Defy Android Development] slph:
Replace your /system/bin/battd with same file from CM10 archive (open with 7zip or something).
[Defy Android Development] YetAnotherForumUser:
Is the script executable? Does it contain a header pointing to the correct interpreter (#!/system/bin/shell)? Did you put it in the correct location (/data/local/userinit.sh)?

Edit: just saw it should be in the correct location and be executable but it does not contain a bang path. Add it and try again?

PS this post is in reponse to slph's deleted post, moderators can feel free to remove it as well as it now lacks context.

PPS Groklaw just shut down - this is a worrying development. Land of the free, home of the brave? Not now anyway, maybe not ever?
[Defy Android Development] shorty66:
I went back to using CM7.2 as CM10.2 has a really bad battery-drain issue for me. I thought at first, that my batteries might get old but with cm 7.2 i get more than 2 days of typical usage on any of my 10 batteries. With 10.2 i maxed out at about 9 hours.

The problem seems to be android os: On 10.2 it accounts for about 35% of battery usage, on 7.2 it's merely 5%.

Does anyone else get longer usage times under 10.2? What might i be doing wrong that the android os is sipping so much juice?

As CM7.2 is pretty fast and can look like cm10 with themes i would really like to stay on cm7. The problem is, that many apps i use only work on Android 3 and up.
[Defy Android Development] ccav2000:
CM10.2 is beta software at best. The previous versions are much more mature, I personally use CM10 since I require functional bluetooth, and I recently made a personal record of 200 hours uptime without a reboot. Typically my battery lasts for 3 to 4 days (2400mAh battery).
[Defy Android Development] niksy+:
Well 200h doesn't seem much when compared to my new record :) I took this screenshot a couple of days back and rebooted after that. IMHO, CM10.2 handles a long up-time a lot better than CM10.1. Can't say about CM10, as I haven't used it for months now.

The phone did become slower, but it wasn't completely bogged down. This was with the 1st of August CM10.2 build. It's really good, but I'm hoping that it won't be the last build, nonetheless :)

Cheers, everybody! ;)
[Defy Android Development] shorty66:
But to clarify, how long is your uptime without recharge on cm10.2?

Just trying to get my numbers right here and see if i have to blame my battery or set-up.
[Defy Android Development] niksy+:
I usually get a day and a half... My current usage is quite simple - a lot of messaging, both over SMS and Viber/WhatsApp, which I use both on WiFi and 3G. (a day and a half ~= 31-34h) and some web browsing.

(Looking at battery stats - Android OS - 31%, Android System - 26%, Screen - 22% -> yeah, somethings not 100% right :laugh: )

You can always use Better Battery Stats to see what's actually using the battery, since Android OS and Android System are just names/placeholders for a lot of things... ;)
[Defy Android Development] YetAnotherForumUser:
When it comes to battery drain cm10.2 seems to have two faces, either the ugly hog or the airy fairy. Thus far I've mostly met the airy fairy - 4 days of normal use on a single charge without doing anything other than turning the thing to airplane mode during sleep time (02:00-06:20). My latest build (with SElinux enabled in the kernel, etc, but that is unrelated) has decided to turn into an ugly hog, the phone does not enter deep sleep. This is caused by the 'kim' device failing to suspend. That 'kim' device is really called wl127x, is connected to /dev/ttyS1 and is used to access BT, FM Radio and GPS.

A simple test to see whether kim is the culprit is to check the kernel log:

# dmesg|grep 'kim failed'
...
...
<3>[ 509.942810] PM: Device kim failed to suspend: error -95
<3>[ 510.942840] PM: Device kim failed to suspend: error -95
<3>[ 511.599121] PM: Device kim failed to suspend: error -95
<3>[ 512.497589] PM: Device kim failed to suspend: error -95
<3>[ 513.497528] PM: Device kim failed to suspend: error -95
<3>[ 514.497589] PM: Device kim failed to suspend: error -95
<3>[ 515.497589] PM: Device kim failed to suspend: error -95
<3>[ 521.692871] PM: Device kim failed to suspend: error -95
<3>[ 522.497650] PM: Device kim failed to suspend: error -95
<3>[ 523.497619] PM: Device kim failed to suspend: error -95
<3>[ 524.497619] PM: Device kim failed to suspend: error -95
...
...

To find out whether this really is the cause of the excess battery drain you can unbind the driver from the device:

# echo kim > /sys/bus/platform/drivers/kim/unbind
# dmesg|tail -2
<6>[ 768.061584] (stk) :nshutdown GPIO Freed
<6>[ 768.061706] (stk) :sysfs entries removed

Now let the device go to sleep for a while by removing the USB cable (!) and pressing the power button. After a while (give it at least a few minutes) check whether it has entered deep sleep. If it now enters deep sleep where it did not do so before, kim is guilty.

Of course you can not use GPS, FM or BT while the driver is not bound - if you try to access any of these features the phone will reboot.

As to a solution to this problem - no idea yet. Maybe later, now I have real work to do :)
[Defy Android Development] triovi:
I just install CM10.2 without Data wipe, only cache and dalvik wipe. Everithing works ok, but I have some gapps error mesages. An another problem is with root acces, my programs don't have root acces anymore.
[Defy Android Development] Quarx:
[MENTION=4661049]triovi[/MENTION], Setting - Dev. options - Root Access.

Disable and enable root again.
[Defy Android Development] lexer98:
Oh Quarx you are a Master :victory: .... same bugs as 4.2 ? :confused:
[Defy Android Development] vedhasd:
#Off Topic: [MENTION=513620]Quarx[/MENTION]: if i would have been a girl, surely i wud have married you :D ! GOD !!
[Defy Android Development] kapil_dheer:
Great going Quarx.....keep it up....
[Defy Android Development] triovi:
Tnx Quarx that was the solution. But now I have a problem with the Phone aplication, i don't have it anymore. To make an call the only way is from People (Contacts) aplication. Probably is just me because I didn't an fresh install.
[Defy Android Development] ccav2000:
Or because your system partition got full and some files failed to install. This nightly is bigger in size than cm10.1 as I already mentioned.
[Defy Android Development] m4manusraj:
Quarx the best.!

Thank you Quarx for your wonderful work on our defy..!

You are the best..:cowboy:
[Defy Android Development] kryzeK:
Gapps

Gapps minimal by me :fingers-crossed:

Download:

http://www.4shared.com/zip/iPYItiLm/gapps-jb-20130730_defy-minimal.html

Mirror:

http://www.mediafire.com/?xy6fc7906bgrqak
[Defy Android Development] xufooo:
me too ...
[Defy Android Development] navinshark:
Awesome

Thank you Quarx, you are awesome.
[Defy Android Development] GuustFlater89:
Please try to keep this thread clean. We all know Quarx is the best! Please thank him in the first post or even better donate, and do not post an endless row of "wow", "you're the best", etc...
[Defy Android Development] Omya:
unbelievable :cowboy:
[Defy Android Development] kryzeK:
I am also without Phone app, but it is in the system/app and I have 6.xMB free

EDIT: Battery Bug falling from 10 to 10% here, first build the same CM10.1 hahaha
[Defy Android Development] TJKV:
Find my Minimal gapps for CM10.2 over at my usual thread here. 8.91 MB only :)
[Defy Android Development] brajesh.sharma87:
Wow [MENTION=513620]Quarx[/MENTION] thank you :)
[Defy Android Development] walter79:
Dialer.apk is missing.

Check my skydrive folder. There is a working dialer.apk from Samsung i9100g.
[Defy Android Development] cristianosite:
Using your dialer.apk I just have the message "Unfortunately, Dialer has stopped" when I try to open it.

Edit: It is working now, after walter79's suggestion "Copy to /system/app and set 644 permissions (rw r r) . Reboot.".
[Defy Android Development] walter79:
Copy to /system/app and set 644 permissions (rw r r) . Reboot.
[Defy Android Development] grandpa2007:
yup,this works...thx

Gesendet von meinem MB526 mit Tapatalk 2
[Defy Android Development] shorty66:
I think, 1,5 days is still not too good if i can get more than two days with cm7 with similar usage. I hope taht the battery hogs can be found soon. The kim device seems to be a good starting point.

Other than battery, cm10.2 is pretty good. It runs reasonably fast and got all the bells and whistles.

Still, another poitn that bugs me is memory usage: I don't even use gapps (Using Fdroid and built in mail and calender instead) and still cm10.2 fills the RAM to the rim (;)).

Could we save some memory usage by uninstalling unneeded apps? I disabled hardware accelaration for everything btw.
[Defy Android Development] Blechd0se:
Did you enabled selinux in android as well? Last time i tested selinux android didn't even boot for me when i enabled selinux in kernel.

Just curious.

Another thing; you are talented, why not set up github and join this development? There are plenty of reasons to do so and i

will definitely add you to the kernel repo if you want to. :)

Maybe you have also some ideas about ION...

We could save some memory by fixing memory leaks :) 4.3 is still very fresh, be patient :)
[Defy Android Development] YetAnotherForumUser:
SElinux is just in the kernel for now, I haven not looked at the Android side yet - there might still be missing bits. As it currently is unable to relabel the file system ('operation not supported on transport endpoint') the kernel-related code needs more work before it is even worth looking at Android.

As to opening a repo on github (or elsewhere) I'll pass for now as I don't really have the time to give this the attention it deserves and I don't want to add another tombstone to the graveyard of deserted repos. If I happen to get more time in the near future I might reconsider but for now I'll keep a low profile.
[Defy Android Development] Blechd0se:
As i said selinux didnt work for me, its nothing for me anyway. I dont like it and wont look into it.

Sad :(

It only costs a few minutes to do so, but all your contributions would be so much more clearer and (the main aspect) organized so more people can actually benefit from this.

Anyway if you dont want to its your decision and i[we] have to deal with it.

I still try to read your patches. :)

Send from my Nexus 4
[Defy Android Development] okij:
As far as I know, HWA disabling isn't working on 4.3 yet (it still has to be implemented), so the HWA settings have no effect yet.

One can easily test this by disabling HWA for Google Maps, which then still works, even though it needs HWA for a working display of the maps. This means that HWA actually hasn't been turned off. ;)

So implementing a working HWA disabling also would save quite some memory because of the HWA overhead that can be saved on apps that don't need HWA! :)

Now on the really good part of 4.3 on the Defy: stability and uptime.

On my Defy+, I have the current CM10.2 nightly now running for more than 15 days without any reboot or RIL bug! :)

I consider this as *really* stable, because on CM10 and CM10.1 I rarely got an uptime of more than 3 or 4 days.

I don't know the reason why CM10.2 is that stable (especially if you consider its early stage), but I really love it for this! :)
[Defy Android Development] biernus:
Today evening i install 4.3 (first 2x dalvik/cache then install CM10.2 the newest), then 2x dalvik cache and install gapps from http://goo.im/gapps (v13.08.2013). Everything is ... good i have only 3 problems

- camera doesnt work

- google play doesnt work (i try stop, erase temporary etc - still i have info on start like "connection problem")

- gmail doesnt work (when open my account with emails and click refresh then close/crash)

I think gapps make some problems... what i can do to fix it?
[Defy Android Development] niksy+:
Like you said, gapps are the culprit. You have used full gapps package which, combined with the ROM, exceeds the size of the /system partition on our phone. Because of that, many apps and other things are not installed properly and you'll be facing A LOT of bugs.

Solution? Re-install ROM and use a minimal gapps package - you can find the one by TJKV in the "Defy Apps and Themes" sub-forum! Just get the right zip (the one for android 4.3) ;)
[Defy Android Development] biernus:
... i red whole topic and found this solution. Thx anyway. My system v4.3 works good - for now ;D (gmail, google play, camera)
[Defy Android Development] Kayant:
[MENTION=4855459]Blechd0se[/MENTION]

I found some more optimization flags that work on our kernel ---> https://github.com/Kayant/jordan-kernel/commit/ef7496565f99de84c987673e964be06d91daa7ad

https://github.com/Kayant/jordan-kernel/commit/c763bfc67e5e50a77a6cf4028462d739d11ee59b

https://github.com/Kayant/jordan-kernel/commit/022af2644baac9e3c9fb63ff05054f24e4955683

Do u think this helps a bit or is mostly smokes and mirrors?? In my test it seems to help a bit this can be seen in the test build of PAC 4.3 am currently running.

Test Kernel included for anyone who is brave to mess about :p

View attachment 2204841
[Defy Android Development] XDA40:
I have tried more than ten call record progeams, none of them can work. Does anyone meet such a issue like me? Is there any popular patch or Mod that must to installed?

Thank you.
[Defy Android Development] veeranna:
after installing 10.2 trying to restore apps from titanium but getting root permission related error msg
[Defy Android Development] tava2003:
Try: Disable and enable Root Access in /settings/Developers Options, sometimes help
[Defy Android Development] biernus:
Go to Settings -> "Program options" -> then Root Acces change on Apps and ADB

I have the same problem with titanium. Change from Apps on Apps&ADB and works fine.
[Defy Android Development] instantlx:
I found the setting in "settings -> superuser" and then press "option" button" and setting, the 1st one" superuser access",

There are

Disabled,

Apps only,

ADB only,

Apps and ADB.

But it was locked to "Apps and ADB". I can't change it.

And still my Titamium backup can't access root permission.

:confused: Any solutions? Hope it'll be solved in next build.
[Defy Android Development] Blechd0se:
How did you measure these improvements?

All i can say is that those changes optimize the code and should have in gernal no impact in device performance.

Having a few bits less is sometimes good, sometimes its bad. If there is a real improvement do a pull request :)

I am also guessing you synced with our mainline branch? Because i made one change to interactive which improved UI interactions for me.

Send from my Nexus 4
[Defy Android Development] Kayant:
Oh I guess it could be that as well :p..... Launcher scrolling improved quite a bit for me especially loading widgets.... Hmmm so what's more important when compiling the kernel the GCC flags or version being used?? For android it seems to be a mix of the two or do these things not matter to much?

I will test it on other ROMs to see if there's any real improvement....
[Defy Android Development] Shubhamqweasd:
the major drawback ( at least for me ) , in android 4.x for defy is BROWSER performance ,, it is very slow

( slow while opening tabs , or links in background , no flashplayer support becasue no hwcomposer etc...) ,

i tried many browser but none came even close to the speeds of cm7.2 :(

..

otherwise these roms are gr8 alternative for cm7.2
[Defy Android Development] ccav2000:
Be careful when tinkering with the gcc versions, as testing proved the system may appear to run fast and fine at first but produce random problems and instability after a while. We had this happening when we were testing [MENTION=4855459]Blechd0se[/MENTION]'s kernel in the past.
[Defy Android Development] veeranna:
thanks it worked biernus
[Defy Android Development] Kayant:
Yh I remembered that ;) tried Google GCC 4.7 last time and I ended up with a black screen in bootmenu and while booting :p.
[Defy Android Development] Blechd0se:
4.7 is not as good as it looks like. Take a look over here for some real tests.

If you really want to look into this, just don't give anything about optimization levels and stuff. Look at the toolchain it has a "bigger" impact.

The toolchain we use (4.4) is known to produce bad code, just google it and you'll see.

I remembered i could compile my jellyx kernel with googles 4.7/4.6. The "best" toolchain for our defy would be probably googles 4.6 (or linaros).

If you can work on 4.6 instead of flags and O-levels i would kiss your ass ;)

All in all toolchains have a slight impact on device performance in general. We are talking about a higher score in benchmark apps

or 1-2 frames more in some games but nothing like a suddenly smoother UI. Thats up to ION, cpu governor and memory management.
[Defy Android Development] biernus:
I found little thing... There are no arrows on the signal icon. On 10.1 everything was good.

Where are the up/down arrows icons? :)

::. Tapniete
[Defy Android Development] hotdog125:
Yes this was reported earlier. Not yet fixed.
[Defy Android Development] biernus:
Ok thx i missed this info.

::. Tapniete
[Defy Android Development] time87:
Go to settings, device info, tap hysterically :P on the build number... That will enable developer options in settings menu
[Defy Android Development] androidtester80:
Does anyone know if the Users and Restricted accounts are missing from this build only or from CM 10.2?
[Defy Android Development] Kayant:
That feature is limited to tablets. Search Google to see why.
[Defy Android Development] niksy+:
Hey, guys, if there are any flash-o-holics among you, you might be interested in a >fresh Aero Kernel nightly< ;)

I've been using it for about 13h now and it's completely fine. And it feels like a breath of fresh air to my phone - the smoothness has definitely improved (really noticeable in the launcher (using nova 2.2.1)) and everything seems snappier, although this could be due to a cache and dalvik cache wipe...but I think it's not just that :) (that's a bit of reporting for [MENTION=4855459]Blechd0se[/MENTION] ;) )
[Defy Android Development] adyo13:
Can I use this (kernel_25.08-cm10) kernel with Slim-3.1.1, to get rid of the wifi jamming? Thanks
[Defy Android Development] Antiga Prime:
Wifi Jamming isn't a kernel problem, flashing a different kernel won't make any difference. The answer for that is here. Or you could flash a newer build! ;)