yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] sevenrock:
FTR: The patch can be found here: https://github.com/Quarx2k/jordan-kernel/pull/9

raw version: https://github.com/slugzero/jordan-kernel/commit/029cb7cd23b30196c41406a9cacbf7282ce816ac.patch
[Defy Android Development] flotux:
A flashable version of the patch can be found in the German forum "android-hilfe" and has been created by the user Fight4Music:

http://www.android-hilfe.de/6503053-post443.html

I've tested it and it worked for me. But use it at your own risk.
[Defy Android Development] polarfoxx:
I always get the msg

Verifying update package

failed to verify whole-file signature

signature verification failed

installation aborted

Using

MK43.0.RC1-jordanplus-201310060958-NIGHTLY.zip

MK43.0.RC1-jordanplus-201310041008-NIGHTLY.zip
[Defy Android Development] Blechd0se:
Probably yes if we can reach the next milestone :)

You are probably using a older kernel version. It can't find the gpu-path and crashes, i will try to fix this in the next version :)

Thank you, i really appreciate this! :) Memory Settings are not implemented yet, they are only placeholders to give

some sort of preview how it will look like.

I like this italics :crying: But yeah maybe i can do some more visual tuning here ;)

The feature request might be very handy, but i guess we can't do this. If i enable kmemleak detector in the kernel deepsleep won't work

correctly and users will start to complain. There is no way we can control this with a userspace app at runtime (sadly).

Anyone tested the kernel by [MENTION=4841764]SlugZero[/MENTION] ? Maybe with 4.1 to see if it breaks something? I really want to merge this, great work!

Btw. Aero Control is now fully Open Source ;)
[Defy Android Development] su8044:
Anyone using this patch, could you please check if battery drain has been fixed too?
[Defy Android Development] triovi:
Tested, works perfect. Now I have arrows...

I don't think is related with battery drain ....
[Defy Android Development] su8044:
Thanks triovi, will flash anyway now that several users have confirmed it works fine

Something else: i read about the smartass cpu settings beign better than interactive, so i tried to change it. The Settings app hangs when i change it and if i do it from the bootmenu it's not saved. any ideas? does this happens to anyone else?
[Defy Android Development] irekd:
According to Quarx advices (from many posts before) we shouldn't use other than Interactive governors. At least with his kernel. And I suppose other developer's (Blechd0se) kernel also demand Interactive.
[Defy Android Development] okij:
Thanks for your info about the still existent memory leaks! :)

I changed the according entry in my bug list, so that it's now again marked as not solved.

BTW, thanks for the alpha version of your Aero Control App, it already looks great and I'm looking forward to see it fully working... :)

Since your alpha is released now, I keep my fingers crossed for your further investigations in fixing the memory leaks! :fingers-crossed::)

---------- Post added at 10:24 PM ---------- Previous post was at 09:51 PM ----------

Many thanks for your fixed kernel! :)

This already solves both issues #9 and #10 of my bug list and hopefully will also solve issue #6 (mobile data drops). :fingers-crossed:

Tomorrow I will be driving in my car (also two times through a city tunnel, which sometimes leads to mobile data drops) and so I can start testing your fixed kernel. :)
[Defy Android Development] polarfoxx:
Anyone knows whats wrong?

I rooted my phone and installed a boot manager.
[Defy Android Development] FaulFels:
Just disable signature verification in Recovery…
[Defy Android Development] polarfoxx:
Then I get a new error

(Status 0)
[Defy Android Development] FaulFels:
Did you compare the MD5 sum of your Downloads?

Could be the culprit…
[Defy Android Development] niksy+:
You need a newer recovery than the one you have got. You can flash CM10 or CM10.1 to get TWRP 2.6.0.0 and then CM10.2. (Am not sure how you can get a newer recovery other than that, since I haven't gone back to sbf in a long time :rolleyes: )

All Android 4.3 need some of the very recent recoveries to be flashed, because of the different signing (afaik :cowboy: )
[Defy Android Development] polarfoxx:
I tried 2 builds here and 2 builds from MokeeOS

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

Get the same error with all of them

---------- Post added 7th October 2013 at 12:14 AM ---------- Previous post was 6th October 2013 at 11:44 PM ----------
[Defy Android Development] frozenwaverider:
Hi [MENTION=4855459]Blechd0se[/MENTION] I like the italics :)

I tested the kernel with 4.1.2 http://xdaforums.com/showthread.php?p=46237740

Works great but as expected breaks Bluetooth

Love your app but can't find the donate button?

Great work, thank you!

MB525 Red lense
[Defy Android Development] runeupo:
Paypal-stats are in his profile :cool:

[mb525red taki_jeden 09052013 [SlimBased]]
[Defy Android Development] andy-q:
Hardware button not working

I have installed the last 17.09 rom but had the problem that my hardware button's exept the homebutton didn't work anymore...

Has anyone else this problem?
[Defy Android Development] atulclassic:
there is a rule in every forum which nobody seems to follow..that is "SEARCH" before asking.

This issue has been answered a number of times and only a few pages back..but people are not searching
[Defy Android Development] hotdog125:
Use minimal gapps and try to reduce the size of the ROM zip.
[Defy Android Development] abhi.eternal:
I have got a major problem! When I am on a call, the call just goes blank and I get a 'Telephony problem'. In this thread, someone suggested to use the 'Defy Full Wipe' zip to fix the problem. When I do that, TWRP restarts. I did a sbf flash and then installed the zip but the problem is still occurring. I can only use the phone after a restart, but again the problem comes back. Can someone please help me out here? Thanks.
[Defy Android Development] bbstrikesagain:
Re http://xdaforums.com/showpost.php?p=45733352&postcount=738 I don't see mention of the bug that really stops me using CM10.2 as a daily drive:

"Handset mic, earphone and speaker all muted during calls if BT enabled even when not connected to any BT device."

Features regularly in the thread, but not in that bugs list.
[Defy Android Development] imharshadpatel:
this is a usual problem in our defy. its the problem of locked bootloader. use baseband switcher to solve this. try different frequencies. I recommend 850/2100. asia/china frequently.

and let me know the results.
[Defy Android Development] okij:
I now added this bug to the list. :)

Just one question: Why does this bug stop you from using CM10.2 as a daily drive? A simple workaround would be to enable BT just when you need it and disable it when you don't want to connect to a BT device. Saves some battery as well. :cyclops:

Of course most of us are hoping that Quarx will be able to fix those BT bugs, because this by now is the only major reason to stay with CM10.
[Defy Android Development] Proverbs2:
I am trying to test yogesh324's workaround for the data corruption issue, but I'm having trouble formatting my /data partition to ext3. In bootmenu, I go to File System Tools > Format DATA and CACHE to ext3, and wait for it to complete. After rebooting, I go into Terminal Emulator and enter the command "mount" to verify that the formatting worked. However, it still shows /data and /cache as ext4. Am I missing something?

Here's the text I see in Terminal Emulator after running the "mount" command:

$ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,relatime,mode=775,gid=1000 0 0
/dev/block/mmcblk1p21 /system ext3 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk1p24 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/loop7 /pds ext2 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
ramfs /tmp ramfs rw,relatime,relatime 0 0
/dev/block/vold/179:0 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
$
[Defy Android Development] bbstrikesagain:
It's a convenience thing, I'm not very good at workarounds. I don't remember to reboot my phone every time I do a number two either ;)

BT works for some things, but I have three different hands free devices, two of which are also A2DP and I use BT for MyPhoneExplorer to some computers. As it works for some things I often enable it. If I forget to turn it off again before a call comes in them I give people the embarrassing silent treatment. When receiving a call my Defy+ on CM10.2 is not always snappy at restoring the screen when I take the (silent) phone from my ear, so before I can disable bluetooth in quick settings the caller has given up. So, instead I use my old Defy running much less stable and less snappy, but more functional, CM10...
[Defy Android Development] hotdog125:
Yesterday night, my phone drained again when I was sleeping. I had my night profile selected (everything off, Airplane mode). Battery had fallen from 99 to 38%, and BBS didn't show anything amiss, except a 2m wakelock for audio_out1.
[Defy Android Development] kapil_dheer:
Good thing would be to post bbs stats dump. Maybe somebody can figure out something.
[Defy Android Development] sevenrock:
Tested positively in a self-compiled ROM after Blechd0se merged your pull request.
[Defy Android Development] deysmacro:
the only way i see here is to make a custom battery stats. i already notify quarx bout this and give him the suggestion with the link to it.

basically, most phone have a calculated battery stats and when you use a more bigger mah battery, the stats would not reflected correctly to the current battery because of those calculated battery stats.
[Defy Android Development] hotdog125:
BBS showed nothing amiss, which is odd.

Kernel wakelocks -

Powermanagerservice.broadcasts for 38 seconds, and Powermanagerservice.wakelocks for 10 seconds. No other wakelocks, which is weird.

Partial wakelocks -

Audioout_1 for 2 minutes and mediascanner service for 45 seconds, other than those no other wakelock consumed more than 10 seconds.

Alarms -

com.google.android.gsf had 7 alarms and some other random alarms.

Wi-fi, GPS, Bluetooth, etc. were off and airplane mode was on the whole time.
[Defy Android Development] kapil_dheer:
You have the total time only........how many times did these wakelocks run.

If a wakelock runs for .1 second, a total run of 45 seconds results in 450 wakes.
[Defy Android Development] hotdog125:
All showed 4-5 wakes.
[Defy Android Development] d3xt3r:
Please v imp. Buttons not working. Can anybody please say how to enable on-screen buttons. Cause in display, the option is missing..
[Defy Android Development] SlugZero:
This is a common issue for devices using the wpa_supplicant_ti.
[MENTION=2879446]Thömy[/MENTION] from the HTC One X team spent quite some effort on this. See his posts in this thread for detailed info.

I compiled his version of the wpa_supplicant (http://xdaforums.com/showpost.php?p=45747017&postcount=15187) for the Defy (flashable zip attached). AP list updating, Wifi location and "Wifi scanning always available" now work properly on my device. It might also fix bug #15, but it could also introduce new bugs. So please test and report any issues.

For ROM builders: add the following to your local_manifest

<remove-project name="CyanogenMod/android_external_wpa_supplicant_8_ti" />
<project path="external/wpa_supplicant_8_ti" name="thoemy/hostap" revision="endeavoru"/>
[Defy Android Development] polarfoxx:
Installed it and it works

BUT

I dont have google live and all the google features.

I installed google gapps for 17.09 build.

Whats wrong?
[Defy Android Development] okij:
SlugZero, you really rock! :good::D

I'm happy to confirm that besides bug #14 also bug #15 is solved by your fixed version of the wpa_supplicant! :)

I didn't notice any new bugs about Wifi, so IMHO it would be great if you could make a pull request to [MENTION=513620]Quarx[/MENTION], just as you did two days ago with your fixed kernel. ;) As I read, it has already been applied by [MENTION=4855459]Blechd0se[/MENTION] so it will make it into the next nightly.

I'm also happy to confirm that since installing your fixed kernel I didn't have any mobile data drops, so I think that it also fixed bug #6 and that finally your (already famous) SlugZero patch is working under CM10.2! :) Maybe it's a bit early to judge, because I haven't been plagued that much by data drops before, but two days without any data drops is already promising. I hope that other users post their experiences too so that we get some more feedback if it works now.

So all in all, you eliminated 4 or 5 bugs in the past two days! :D

Thanks again for your great contributions to CM for the Defy! :victory:

I read that Quarx is going to implement your development for USB OTG in the nightlies and I'm already looking forward to it... :cool:
[Defy Android Development] frozenwaverider:
That's why it is MINIMAL Google apps, because it contains the bare essentials to get you up and running ;)

You could download what you want but put them to SDcard not system
[Defy Android Development] bufa:
Hello Is this good for daily use??
[Defy Android Development] frozenwaverider:
Hello [MENTION=4841764]SlugZero[/MENTION] I tired this in CM10 as I have the same refresh issues, unfortunately now Wi-Fi won't turn on, I guess it is like CM10.1/2 kernel breaks Bluetooth on CM10?

Could this be modified to suit 4.1.2?

Thank you :)
[Defy Android Development] su8044:
I agree. I Installed the Patch and no more mobile data drops, and i'm going for the wpa_supplicant.zip right now. If the battery drain is fixed in another patch or another nightly build then this will be the best rom ever for our defy
[Defy Android Development] Salo-S:
Any way to fix the wake up delay? Thx!
[Defy Android Development] slimshady76:
Are the mobile data drops you talk about the ones causing the "telephony problem" reboot requests? If so, I experienced two today, using SlugZero's kernel since yesterday. Oddly enough, they just happened when I was using the 3G network. So far, I haven't suffered from any of those reboots when using 2G networks.
[Defy Android Development] cyrusct82:
It cannot be solved.
[Defy Android Development] Codeseven:
I'm having the same issue as well. U.S.A. TMobile-3.4.2-107-9 base band 3g will lock or have telephony problems. I drive a few miles to a different cell tower with 3g enabled and it seems like it doesn't disconnect from the previous tower and/or connect to the next closest one. I'm no expert, I just hope my logic will help.

Only workaround I can find is just like slimshady76. Run my phone in 2g. Which isn't bad, it saves lots of battery power. :cyclops:
[Defy Android Development] okij:
The "telephony problem" reboot requests and the mobile data drops are two different things:

When the "telephony problem" reboot requests occur, the whole RIL has crashed (which is hardware related) so that even making or taking calls is impossible. As a workaround, the phone asks you then to make a reboot, which is the only known fix for this.

When the mobile data drops occur, you can still make and take calls, but the mobile data (2G and 3G) isn't working anymore. As a manual workaround, turning off and on mobile data helped, but this was quite inconvenient and you could stay without data connection for some hours before recognizing it. As a bugfix (which acts like an automatic workaround), SlugZero made a patch for CM9/CM10 which now has been made to work under CM10.2. Until Quarx makes a new Nightly, you have to manually install the kernel that SlugZero posted here.

As suggested here, turning off multiple lock-screen pages and the the lock-screen camera feature in Settings helps to shorten the wake up delay so that it shouldn't be disturbing anymore (1 second or less). :)
[Defy Android Development] abhi.eternal:
I am temporarily back to CM10 and have not faced the dreaded 'Telephony Problem' yet. I got with frequently with a clean CM10.2 install and this forced me to go back. What could be the reason? If hardware was faulty, it should affect CM10 too, right? Also, it did work properly for a week on CM10.2.
[Defy Android Development] Urdle:
Hi. Just installed the patch 3 hours ago (via the android-hilfe link). It seems to make data much more stable, but I still had one connectivity loss.

Arrows are back... that's good too.

I installed SlugZero's wpa_supplicant patch just before that one. Should I reinstall it or are they totally unrelated and independant patches ?
[Defy Android Development] andy-q:
What should I say.

What if I have already used the SEFU but what was posted was not a solution only tips which could solve the issue.

I was moving from the 130801 to the 130917 rom and got this problem.

I already re-installed it twice also with the gapps for sure with wiping the whole phone...

So I may repeat my question, has someone the same issue and a solution for it which is working? (If a reinstallation is not working with wiping data.)

Thanks in advance.
[Defy Android Development] hotdog125:
Wipe fully using AROMA/defy full wiper, and then flash CM10.2 and these gapps - http://d-h.st/fTT. Your problems are most probably due to system being full. If it still doesn't work, then reduce the size of the CM10.2 zip and then flash. Else, it is a hardware problem.
[Defy Android Development] okij:
[MENTION=4841764]SlugZero[/MENTION] and [MENTION=1892363]xdaid[/MENTION]: This afternoon I also had the first connectivity loss in 3 days after installing the fixed kernel. So also for me it seems that data got much more stable with the fixed kernel, but that the SlugZero patch still isn't working as perfect as it was under CM10 and CM10.1. Could you please take a further look into this issue? :)

They are independent patches, because they exchange different files of the ROM. ;)
[Defy Android Development] YetAnotherForumUser:
Some pointers and a patch to get the current repo to build...

Those who tried to build the current repo will have found out that it barfs on some incompletely applied patch sets. To get the build to complete successfully you'll want to apply the following CM change (formatted as patch for your convenience, remove '.patch' from the url to see the normal commit page) to frameworks/base:

https://github.com/CyanogenMod/android_frameworks_base/commit/decbe1a6176f65e17fd66f059f58398aa605b3b3.patch

This gets rid of the Bluetooth-related problems. It is not enough to get the build to succeed though as it would error out in packages/apps/Settings, the latter being caused by cid I263976d442c2754d46bfad76a795dba3152d820e in frameworks/opt/hardware. The following patch makes the build succeed. It currently can be seen as a real solution since the changed getMinValue()/getMaxValue() methods always return -1, no matter which controlIdx is provided (negating any potential benefit of the change).

Apply this patch to packages/apps/Settings to get the build to complete.

diff --git a/src/com/android/settings/cyanogenmod/DisplayGamma.java b/src/com/android/settings/cyanogenmod/DisplayGamma.java
index 9697d23..8b4649c 100644
--- a/src/com/android/settings/cyanogenmod/DisplayGamma.java
+++ b/src/com/android/settings/cyanogenmod/DisplayGamma.java
@@ -66,7 +66,7 @@ public class DisplayGamma extends DialogPreference {
}

mNumberOfControls = DisplayGammaCalibration.getNumberOfControls();
- mMin = DisplayGammaCalibration.getMinValue();
+ mMin = DisplayGammaCalibration.getMinValue(mNumberOfControls);

mSeekBars = new GammaSeekBar[mNumberOfControls][BAR_COLORS.length];

@@ -303,7 +303,7 @@ public class DisplayGamma extends DialogPreference {
label.setText(color + " " + (controlIndex + 1));
}

- mSeekBar.setMax(DisplayGammaCalibration.getMaxValue() - mMin);
+ mSeekBar.setMax(DisplayGammaCalibration.getMaxValue(mNumberOfControls) - mMin);
mSeekBar.setProgress(0);
mValue.setText(String.valueOf(mSeekBar.getProgress() + mMin));
[Defy Android Development] okij:
Thanks for this contribution! :)

Since I'm not a developer: Does this mean that some BT-related problems when compiling the build get sorted out or that with this also the known bugs of Bluetooth under CM10.2 (e.g. problems with BT-headsets and BT not working when FM is enabled) get fixed? :confused: I hope for the latter... ;)
[Defy Android Development] YetAnotherForumUser:
Not really, it just adds a new profile (BluetoothHandsfreeClient). As I do not use Bluetooth much (no car, won't use it on my bike, no need...) I'm not really the right person to ask though...
[Defy Android Development] sevenrock:
Tested positively with a self-compiled ROM, discovery and connection to my AP

was never so fast than with your patch! On first sight nothing negative to mention,

but I never had WiFi problems in the past, everything looks normal during WiFi use.
[Defy Android Development] polarfoxx:
I'm logged in with my google account.

But apps like google now can't be downloaded?

Thats part of the OS I think.

Using this one

http://goo.im/gapps/gapps-jb-20130813-signed.zip
[Defy Android Development] frozenwaverider:
Try this http://www.google.com/landing/now/

Or http://androidspin.com/2013/08/21/download-the-new-google-now-version-2-7-9-now/

Those were the first two that came up in a Google search, I suggest you try that before saying something can't be done ;)
[Defy Android Development] Urdle:
Day 1 after patch, I still got a lot of connectivity issues (but it's a lot better !).

Last time I lost connectivity, the arrows were frozen too.

Again, I seem to loose connectivity every time I switch from my carrier to national roaming carrier (and it happens a lot where I live :) )

Hope this helps you diagnose the issue.
[Defy Android Development] pasor1:
Tried fixed kernel ... data drops goes a bit better, but still present :(

I don't know if it is related to the kernel, but I've also problems with GPS ... it's very weak and doesn't fix if no data.
[Defy Android Development] deysmacro:
try fastergps.. help solve my gps fix ... :good:
[Defy Android Development] Hasuris:
What part of "minimal gapps" didn't you understand? The systempartition is just to small for JB + Fullgapps! Install MINIMAL gapps and download all the googleapps you need afterwards from the store (so they go into /data instead of /system).

Doesn't anyone read? This exact same question/problem can be found every 2-3 pages in this thread (or any other >CM10-thread for that matter).

Here, I'll spoonfeed you: http://d-h.st/users/tejus.k.v/?fld_id=22095#files
[Defy Android Development] erdnuesse:
Use MoKee if you want HALO. I use the 4.2 right now, but a week ago, 4.3 has already been released.