yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] sevenrock:
Small note to keep things straight: The 2.6.32.9 kernel provided by me

(and repackaged by okji) is not extracted from Quarx ROM 20121109

but newly compiled using current git. The only thing I changed after

syncing with Quarx git is the revision of the kernel in jordan-kernel/,

it uses the code base present on Nov 9th 2012, this means Linux

kernel 2.6.32.9.

My new ROM is based on Quarx git 20130115 with only two kernel

patches reverted, these patches are part of the update from 2.6.32.9

to 2.6.32.60, committed on Nov 14th, 2012. The phone has currently

an uptime of 24h with still working ringtone (custom MP3 stored on

SD card). I know its too early to know whether this solves the ringtone

problem or not, especially since some people have problems with my

kernel, I just wanted to keep you updated.

PS: 34h uptime, ringtone still working...
[Defy Android Development] ccav2000:
Good, if you reach more than 48h with that ROM please inform us and give a link for that ROM for more testing.
[Defy Android Development] drunk_ryder24:
dlna port to jb

im another fan of stock dlna app and managed to show up dlna app inside the menu but when i try to open it fc,what do i need to do to make it work?
[Defy Android Development] ela1103:
Quarx Can u add the next version sweep2wake its good for our motodefy Buttons life .so please enable this option in next build quarx
[Defy Android Development] donP73:
IMHO not a kernel problem

Or that there is something wrong OUT of the kernel?! e.g. in AUDIO LIB?

I think audio IS aur real Achilles' heel to win if we want to use JB on Defy... :(
[Defy Android Development] irekd:
That's right, considering the similar behavior of our Defys lead us to implication that there must be a bug or bugs somewhere in common part of the kernel, but have a look at several previous postings (also your postsings), where people said that with the same ROM/kernel combination "defy" behaved one way and "defy+" other way.

Until now I was somehow under impression that the problem lays somewhere in the different for both Defys part of code ... I was thinking that Quarx having Defy+ is testing his code on his device and for Defy(without +) he is just making a kind of assumptions that something should work like he assumed (without testing), but now when like you said we've got different setups and we get similar behaviors ... I don't know. Perhaps both approaches are reasonable: there is something wrong in common and in different for both Defys part of kernel. That's why it won't be ease to figure out what's wrong. Making commits and reverting them is of course logical based on knowledge we have, that something with this version of kernel work and something with another not, but it's in my opinion like searching for a needle in a haystack. Some kind of device debugging would for sure be helpful. I don't have experience in Android programming, but there have to be for sure some device debuggers. Wasn't it the cable I saw in picture Quarx uploaded to his website? I can remember a cable and some electronic circuit.
[Defy Android Development] YetAnotherForumUser:
The cable you see on Quarx' site is a modified USB cable connected to a level converter (think 'MAX232'). Hook this up to the micro-USB port, install a kernel configured with EMU_UART_DEBUG (which changes the micro-USB port into a low-voltage serial port connected to UART3) and you will have access to the console through that cable.

Android has its own debugger - the Android Debug Bridge or adb. To be able to use adb you'll need a running kernel at least...
[Defy Android Development] Boss442:
Very Good Idea :D

http://www.youtube.com/watch?v=SgQ22IuCcKw
[Defy Android Development] kryzeK:
I loved it! very very very good idea :good:
[Defy Android Development] soyusado:
As far as I know, you can't use the action buttons when the screen is off.
[Defy Android Development] ela1103:
Y Our Moto Defy User Can't use the Action Buttons when the Screen is OFF.
[Defy Android Development] coldtech:
Just wondering if anyone else here is having this problem: No matter which built (right now using the 1013 one) and which kernel, my phone keeps crashing and rebooting at some point (even without user interaction). This is odd enough, but when this happens and I re-enter the PIN, in 80% of the cases it crashes right after that again. I sometimes have to try 5 or more times until the phone stays up.

If I do not enter the PIN it doesn't seem to have any issues (but of course I can't use it then).

Anybody any hints?

When first installing 4.1.2, I did a factory reset, so I guess that should not be an issue.

Of course I do have the ringtone bug too, but I know that's common...

Oh, another thing: it would be nice if everybody who is reporting some kind of improvement using different kernels would also post which phone they are using.

For me it's a Defy+.
[Defy Android Development] pbjhon:
I too had this problem when i first got the phone 1.5 years ago, it may be due to low voltage. Try changing your processor speed and vsels.
[Defy Android Development] coldtech:
It did not happen with the stock ROM, though... :confused:
[Defy Android Development] vic160890:
As far as I remember, there were so much posts on weak battery life in this threat that it has been closed for a while.

Asking for a feature that might increase the battery consumption is just not going to fit here..
[Defy Android Development] mmbytes:
I can only give you the hint to do a full wipe ext4, this solved a lot of instability problems since the system partition never get's cleaned in the usual flash process.
[Defy Android Development] R1SPEEDYRIDER:
Using the latest 01.07 rom, my defy reboots 80% of the time when I switch it on with power button. Anyone know what is causing this and how to fix it ? I dont have the ringtone bug any more so thats a plus, but this bug is a real pain. Thanks in advance for any help given.
[Defy Android Development] ktmbikerman:
Your problem was fixed in the next release

If memory serves there was a kernel update too, to fix the problem... do some searching around the date of your rom's release.

I did a clean install last night, wiping data in both custom and stock recovery and reinstalling apps via the Play Store. So far so good... a fresh start is highly recommended now and then
[Defy Android Development] coldtech:
So I guess I'll have to give that a try...will post back with results. One thing: is this just "format data", or is there anything more specific I need to do? Like selecting ext4 format in some kind of submenu, for example?
[Defy Android Development] Hider141:
If you reboot to bootmenu you should find the formatting option under the Filesystem submenu.

You'll have to choose between formatting partitions in ext4 or ext3. I don't know if you'll loose any data, so you might wanna do a backup first.
[Defy Android Development] coldtech:
OK - I guess ext3 is the save way to go? Or does it NEED to be ext4 for the Defy+ with 4.1.2? Sorry if that's kind of a stupid question.
[Defy Android Development] thekguy:
Yes it does have to be ext4
[Defy Android Development] YetAnotherForumUser:
/system is ext3, /data and /cache are ext4:

$ mount|grep mmc
/dev/block/mmcblk1p21 /system ext3 ro,nodev,noatime,nodiratime,data=ordered 0 0
/dev/block/mmcblk1p24 /cache ext4 rw,nodev,noatime,nodiratime,barrier=0,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext4 rw,nodev,noatime,nodiratime,barrier=0,data=ordered 0 0
[Defy Android Development] sevenrock:
After 46h uptime the ringtone is broken, I am going back to 2.6.32.9 now.

Sorry, no time to debug this.
[Defy Android Development] fryta22:
Odp: [JB] CM10 Android 4.1.2 for the Defy(+)

Dear quark, can we please, can you do fix this ringtone problem for us ? Really, this build is almost perfect. Battery is perfect, all is perfect, but this ringtone bug desrroy everythink, all your perfect job. We cant use this rom more than few days.
[Defy Android Development] domokos:
Rom 30/12

Vsel 18,32,42,52 300/600/800/1000

$ uname -a

Linux localhost 2.6.32.60-JellyX #2 PREEMPT Sun Dec 30 18:02:54 CET 2012 armv7l GNU/Linux

$ uptime

up time: 5 days, 21:02:31, idle time: 2 days, 12:16:59, sleep time: 2 days, 15:17:46

$ ps |sort -r -n -k 5 |head -n 7

u0_a42 1562 1199 240312 58064 ffffffff 00000000 S com.android.systemui

u0_a19 1708 1199 215728 56108 ffffffff 00000000 S org.zeam.core

system 30222 1199 218472 44288 ffffffff 00000000 S com.android.settings

u0_a64 30968 1199 222568 42988 ffffffff 00000000 R com.quoord.tapatalkxda.activity

system 1474 1199 288804 39528 ffffffff 00000000 S system_server

u0_a1 14753 1199 274304 31704 ffffffff 00000000 S android.process.acore

system 1198 1 54140 29776 ffffffff 00000000 S /system/bin/surfaceflinger

$

No lags, no ringtone bug, smooth.
[Defy Android Development] coldtech:
Just reporting back: crashes on reboot seem to be gone (although it might be too early to judge). Defy+, formatted system, data and cache using the "format ext4" script, flashed 4.1.2 20131001, flashed gapps, flashed jellyx kernel of YetAnotherForumUser. Will report back with any oddities.
[Defy Android Development] major9:
Here's my Log from Defy+ BL7. No Ringtone bug & lag.

$ uptime
up time: 3 days, 06:11:28, idle time: 11:40:40, sleep time: 2 days, 12:11:54
$ uname -a
Linux localhost 2.6.32.60-JellyX #1 PREEMPT Fri Jan 11 19:46:12 CET 2013 armv7l GNU/Linux
$ ps | sort -r -n -k 5 | head -n 7
system 1560 1278 297980 60132 ffffffff 00000000 S system_server
u0_a93 5744 1278 229516 41400 ffffffff 00000000 S com.facebook.katana
u0_a77 5924 1278 210020 41152 ffffffff 00000000 S com.teslacoilsw.launcher
u0_a90 8329 1278 235976 40940 ffffffff 00000000 S com.google.android.gm
u0_a92 6217 1278 189868 37848 ffffffff 00000000 S com.fsck.k9
radio 1885 1278 214680 35676 ffffffff 00000000 S com.android.phone
u0_a69 5522 1278 200372 35660 ffffffff 00000000 S com.touchtype.swiftkey
[1] + Done ps |
Stopped (signal) sort -r -n -k 5 |
Done head -n 7
[Defy Android Development] prem0621:
Keyboard Lags on most of the roms. Please help its very annoying.
[Defy Android Development] major9:
Swiftkey doesn't lag much.
[Defy Android Development] fryta22:
Keyboard works ok.
[Defy Android Development] ela1103:
major9

What about the battery performance
[Defy Android Development] major9:
Its lasting 2 days with couple of hours WIFI & no cellular data.
[Defy Android Development] guidosl:
open the camera is very slow. Any idea for this?
[Defy Android Development] drunk_ryder24:
wipe dalvik cache from cwm menu,camera pretty snappy on our defy
[Defy Android Development] abysstheking:
plz excuse me if its a stupid question to ask, but up time means time since u flashed the rom or time since last reboot? coz if it means time since we flash a rom, it has been over 4 days now and my ringtone is still working...and if it means last reboot, why not reboot the phone once every day to keep the ringtone working?? i havnt faced any problem whatsoever..
[Defy Android Development] woodman:
Hi,

It's time since last reboot.

Reboot once a day is not very useful to hunt and correct this bug...

Sent from my Defy MB525 green lens
[Defy Android Development] YetAnotherForumUser:
uptime is what you get from the following command:

$ uptime
up time: 3 days, 08:11:24, idle time: 17:54:01, sleep time: 1 days, 19:52:32

In other words it is the time since the last kernel boot. Restarting the phone the 'normal' was resets the uptime. Restarting the Android framework (zygote and everything descending from it, using the 'stop' and 'start' commands) does not reset the uptime.

As to the suggestion to reboot the phone every day I'd suggest that is not the right attitude to take when it comes to solving bugs. If you go that way you'll be running Windows 95 on your phone before long...
[Defy Android Development] soyusado:
I reboot my device everyday and I don't have any ringtone bug.
[Defy Android Development] woodman:
Not very surprising...

What is your goal on this thread ? Help developing/correcting bugs on this rom ? Or what ?

Sent from my Defy MB525 green lens
[Defy Android Development] JustinBacle:
With a fresh install i used only 30% in 12h with normal use (internet/wifi/mails/calls).

I'm generally at 2.5%/h with normal use.

2%/h with light use.
[Defy Android Development] TJKV:
Well I noticed this too many builds ago, but also that the V6 supercharger gets rid of the lags. Don't know what it's like in the recent builds without V6, haven't not supercharged :cyclops: :p.
[Defy Android Development] sevenrock:
Because I want a working _phone_ I do not have to take care off that much :)
[Defy Android Development] TJKV:
Hey, it works for me so i'm good ;)

No honestly, I do notice a general inprovement in multitasking when I set my minfrees right, using the calculator available in the script. Launcher too stays in memory for longer as expected. For example I was trying the new xbmc build, that has the launcher intent and is a pretty heavyweight app. But switching back to apex after using xbmc to launch a few games was instantaneous. Anyway this is offtopic, you can argue with zepplinrox in his thread if you want :P

I mean there are drawbacks, it goes against the default LMK or something like that. Read the "discussion" zeeplinrox had with pikachu a few weeks ago in his thread. That's the reason it's not included by default. But in any case no one is preventing you from doing the debunking!
[Defy Android Development] sepp.:
Is there anyone hunting the "ringtone bug" on this phone anymore? :confused:

or has it disapeared ? and I have not noticed
[Defy Android Development] tushar9989:
Which is the most stable version of this ROM currently ...I need to give the phone to my Mom so i don't want anything to go wrong as she's not very tech savvy

Any help would be appreciated
[Defy Android Development] vic160890:
Reporting back feedback from 10.01.2013 + YetAnotherUsername's kernel.

I had over 70 hours uptime but sadly I had already lost the access to write files on the sd (apps would see it as read only. I tried changing this through Root explorer but it wouldn't change it for good.. only for show..) I had to remount SD card (happened at around 36-40 h uptime) and at around 70 hours uptime I switched wifi on just after switching data off (like as fast as possible with the power widgets from the notification drawer) and the phone rebooted. I had to wipe cache to bring it to life.. because the black screen bug had occurred. after that the phone became laggy.. noticed it because i usually type numbers to call and i type quite fast and it would take only 6 numbers out of 10.

I just rebooted again to see if it helps.

I'm sorry I cannot provide a log for that moment but I was quite busy and saving logs on a laggy phone wasn't my priority.
[Defy Android Development] YetAnotherForumUser:
$ uptime
up time: 4 days, 11:10:54, idle time: 1 days, 00:00:40, sleep time: 2 days, 13:45:55
$ uname -a
Linux localhost 2.6.32.60-JellyX #3 PREEMPT Tue Jan 15 14:16:52 CET 2013 armv7l GNU/Linux

No 'ringtone' bug, no slowdowns. No problems with sdcard either, I never had those on this phone. I'm using a Samsung Class 10 32GB card, other cards might give different results. MB526.

So yes, some people - me amongst them - are 'still' hunting this bug. The fact that those JellyX kernels I compiled seem to work for some - or most - who try in itself is encouraging but it would be better still to know which patch is responsible for making it work. That is something which remains to be discovered. As all this 'ringtone bug' testing keeps me from helping out on porting a 3.X kernel to this phone I'd rather be rid of the 'ringtone' bug sooner than later.

---------- Post added at 02:06 AM ---------- Previous post was at 02:00 AM ----------

Stock. If your mom is not very tech savvy she probably won't feel the need for the latest whiz-bang OS on her phone either. Just put a de-blurred stock rom on the thing, add CWM, remove anything that can be removed, undervolt/overclock it (to extend battery time, not to speed it up), make a nandroid backup, store that backup elsewhere and give the phone to your mom.
[Defy Android Development] theclaytons:
I tried your kernel and had snappy performance for about 36 hours and then phone froze, no wifi, no data, no sensor, no haptic feedback so flashed SPF and am sitting with CM10 latest but no modded kernel.
[Defy Android Development] Force F:
I upated to the latest CM10 20130110 all good but when i boot to recovery CWM changed to bootmenu JB recovery v5.7.0 and cant make nandroid back up its says cant found back up path!!!

I used to be on 5.6.7 ics reovey and did lots nandroid back up no problems.

Any helpe appreciated
[Defy Android Development] major9:
$ uptime
up time: 5 days, 02:44:37, idle time: 15:34:54, sleep time: 4 days, 01:56:23
$

After 100hrs I had some severe lag but got over it after uninstalling some apps. No ringtone bug yet.

Sent from my MB526
[Defy Android Development] sepp.:
Thank you,

I am on the same setup (thank you for the kernel) and did not notice any problems till 67 hours uptime (see my previous post http://xdaforums.com/showpost.php?p=36870033&postcount=1148)

For now I have a little script on my phone waiting for the strange stuff to happen

#!/bin/sh
echo ----date---------------------------- >> /sdcard/check.txt 2>&1
/system/xbin/date >> /sdcard/check.txt 2>&1
echo ----uptime-------------------------- >> /sdcard/check.txt 2>&1
/system/bin/uptime >> /sdcard/check.txt 2>&1
echo ----batteryhistory------------------ >> /sdcard/check.txt 2>&1
/system/xbin/tail -n 1 sdcard/battery_history.txt >> /sdcard/check.txt 2>&1
echo ----top ---------------------------- >> /sdcard/check.txt 2>&1
/system/xbin/top -n 1 | head -n 15 >> /sdcard/check.txt 2>&1
echo ----dmesg--------------------------- >> /sdcard/check.txt 2>&1
/system/xbin/dmesg >> /sdcard/check.txt 2>&1
echo ----dumpsys-meminfo----------------- >> /sdcard/check.txt 2>&1
/system/bin/dumpsys meminfo >> /sdcard/check.txt 2>&1
echo ----procmem------------------------- >> /sdcard/check.txt 2>&1
(procrank=/tmp/procrank.$(date +%ss);toprank=$(procrank |tee $procrank|head -2|tail -1|awk '{print $1}');cat $procrank;procmem $toprank;rm $procrank) >> /sdcard/check.txt 2>&1
echo --- end-of-logentries--------------- >> /sdcard/check.txt 2>&1

current uptime ~36 hours

---------- Post added at 08:23 AM ---------- Previous post was at 08:15 AM ----------

I had the same thing. Is your sdcard mounted ? Mine was not. Mounted it and it was ok
[Defy Android Development] Force F:
Yes it was mounted also i did unmount and mount but no success

Edite: finally worked i had to remove the sdcard from the slot and put back in.
[Defy Android Development] Alka-Seltzer PLUS:
R: [JB] CM10 Android 4.1.2 for the Defy(+)

Maybe mounting your sdcard before proceed in backing up might help.
[Defy Android Development] FilexUnderground:
Hi Guys,

I installed CM10 on my Defy (Green) by rooting it with SuperoneClick. After that sndInit en installed the Zip package.

First everything was fast as hell ;) Now it's becomming extremely slow (after 2 hours) And i cant installed the GAPS in recovery.

It says USB not mounted... I cant do anything..

Maybe some of you know the solutions?

Gr,

Guidonno
[Defy Android Development] YetAnotherForumUser:
If it was a total freeze it might have been undervolt/overclock-related. I've had those freezes in all kernels and got rid of them by raising the top voltage from 52 to 53 (@1000 MHz). I have not had any freezes - or other problems - since.

It is unfortunate that there are so many variables in play as that makes it hard to pinpoint the source of potential problems. Did the phone freeze because of a kernel problem, an undervolted or overclocked processor, an Android bug, a storage-related problem¸ a hardware problem... who can say.

---------- Post added at 02:42 PM ---------- Previous post was at 02:11 PM ----------

That, in a nutshell, describes a very large part of the mobile 'community'. Not that this attitude is limited to mobile communication devices... exactly the same phenomenon can be encountered on a 'chain saw forum' (OK, they call themselves arborists but they discuss chain saws). Instead of the 'Android' or 'iThing' or 'Blackberry' or 'Windows' camp they take up residence in the 'Husqvarna', 'Stihl', 'Dolmar' and 'Poulan' camps and start waving their banner, decrying any boasts from the 'opposing' camps. I guess people just want to belong, and some fulfil this need by aligning themselves with some mobile camp, follow some leader, shout with the crowd.
[Defy Android Development] qx876:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

It is called the "concept of The Others". It is everywhere, religion anyone. (Sry pls DELETE).
[Defy Android Development] maury1234:
I miss the auto-focus animation :crying:

anyways, thanks for working on this project :D
[Defy Android Development] defim:
I have again this issue after some uptime with 2013/01/10 Quarx image:

Anyone else? Any hints?
[Defy Android Development] theclaytons:
I never change the vsel as in the past I never noticed much battery improvement.

I do see in my logcat a lot of entries say:

Unable to open trace file, no such file or directory (2)

Not going to be cause of ringtone bug but could be cause of some slowness?
[Defy Android Development] PenguinDroid:
If anyone has a problem with music getting a bit stuck on screen unlock, you should disable surface improvements in the performance settings menu. :)
[Defy Android Development] kryzeK:
Guys, please help me, I installed a secondary messaging app google play, ever since he was wearing fine until the error messages gave "generic failure" and simply my defy+ not sends more sms because it gives error, already uninstalled app, I removed the chip and nothing ...
[Defy Android Development] theclaytons:
+1

I get same errors in LogCat for various apps. I am using Llama App (from Play Store) to drop wifi and mobile data when screen is off and wonder if this fact causes the error?

Apps for me are:

Dropbox

SkyDrive

You Tube

Facebook

I'll leave mobile data connected and stop sync and see if this makes a difference.
[Defy Android Development] defim:
I have the issue with Feed+ by AppYet. A reboot help to "fix"
[Defy Android Development] theclaytons:
I'm very new to logcat errors etc so some of these might be wrong. I see a lot of the following errors:

01-21 12:09:47.007 D/MotoWrigley3GRIL(1686): Got SETUP_DATA_CALL response
01-21 12:09:47.007 D/MotoWrigley3GRIL(1686): Got data call list message, now has 1 connections
01-21 12:09:47.007 D/ConnectivityService(1468): ConnectivityChange for mobile: CONNECTED/CONNECTED
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set device name MB526_DFP
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set manufacturer Motorola
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set model name MB526
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set model number MB526
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set serial number
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set WPS config methods
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set primary device type 10-0050F204-5
01-21 12:09:47.507 I/wpa_supplicant(20728): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00 SSID=
01-21 12:09:47.507 E/WifiStateMachine(1468): Failed to set frequency band 0

This is after screen wakes up and wifi connects.

Again, might be nothing, just looking for obvious errors in logs.....if this is wrong place for this kind of info then let me know and I'll stop.
[Defy Android Development] kangi26:
Ok guys, Lets keep the thread on topic. If anyone feels that venting in the threads is ok, well it's not.

If you have issue with someone, either in what/how they have said, or that you don't feel that the work they are putting out is up to your standards. Take it to PM!

Airing issues out in the threads is in NO way productive and derails the entire thread