yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] casouzaj:
Yes, I have very similar symptoms since Quarx's 11/18 build. Even with his 02/20 ROM. I already posted this countless times. A toast stating that process 'android.process.media' has been stopped comes up whenever a media file is to be played (music, alarm, notification, ringtone, etc.), i.ie. all the time. Nevertheless, Total Commander is able acccess the card just fine. In my case, it is due to my NTFS formatted card. So, I beg Quarx to format any card of his to NTFS, because perhaps he can better address these issues.

Anyway, as always, I'm back to his 11/17 build, which handles NTFS cards just flawlessly.
[Defy Android Development] docneo99:
sorry if this is discussed already..

did anyone notice that, whenever we try voice chat through gtalk...it is force closed...im facing this problem in latest 2002 build too.

thanks in advance!
[Defy Android Development] cyrusct82:
This depends on gapps you use.

I had this issue once, changed gapps and no more problems.
[Defy Android Development] trurl3:
In some last builds (it may takes from november 2012) there is problem with nandroid backup making - if you try to do it you have to first go to 'mounting section' of cwm and mount SD card by hand. In previous builds SD card was always mounted when one enter to recovery.

In my opinion there is still some problem with mounting SD card, even in 'ringtone bug' problem - ringtones from SD card do not work, but copyied to /system/media the same ringtones works flawlessly.
[Defy Android Development] TJKV:
That's gapps fault. I use minimal gapps but I added the libs for gtalk voice 'talking'. You can search my previous posts for a link to it, it's a Dropbox share. Extract the libs and use a file explorer to add them to your phone. Don't flash it as other files like market apk are probably outdated. Set permissions for the libs properly after copying to the phone.
[Defy Android Development] docneo99:
there r to files in lib folder for voice chat....do i need to simply paste these two lib files for videochat in the system/lib folder? and then restart..
[Defy Android Development] TJKV:
You found it? Great :)

Yup, paste them and check the permissions the other libs inside /system/libs has and change the permissions to match that for the ones you pasted. How you do that depends on the file explorer you use...
[Defy Android Development] docneo99:
thanks a lot...its working now!!! but missing video chat (no front cam) :(
[Defy Android Development] Antiga Prime:
If it helps you in any way, I'd like to add that with Quarx's 31/12 build, and JellyX's 30/12 cfs kernel, I'd get around 0.7 - 1.2% battery drain on idle, and with any build/kernel newer than those dates it's almost impossible to get less than 1.5%.

By idle I mean that screen is off, as is wifi. I use tasker to turn wifi on every 15 minutes for 60 seconds, and with occasional usage during the day (the phone is meant to be used after all), I'd still get around 2+ days of life on one charge (about 1.7% - 2% per hour of battery life).

I tried to confirm that this extra battery life I got was due to the 30/12 JellyX kernel, but that specific kernel build gives me a black screen on boot every time on any Quarx build since January that use the .60 kernel.

MB525 - Bayer Module - Using YAFU's 20/02 build.
[Defy Android Development] Shrewdy:
hi,

I just flashed the latest Quarx nightly 2 days ago....everything is fine except one....

Battery keeps draining and when i saw the battery details it shows a process named *wakelock* that is up for most of the time....

whats weird is that the caption for *wakelock* changes to Google Search after a second or two....

i read about the wakelock thing on pages 1561 or so...but could not find a way to stop it from draining my battery...

Thanks
[Defy Android Development] nedywest71:
The same for me with YAFU rom and Green Lens Defy.

First 36 hours were OK and after that it has started.Today FAMOUS DATA DROP has happened to me on 2 occasions and twice I had to reboot to get the data back.

I totally agree with LeopardSurd that CM1O, all vers. for DEFY, just sucks.You can never relay on your phone with any of this MODs.

Regardless of that I THANK all the developers and contributors here for their efforts!
[Defy Android Development] sevenrock:
Screenshot of battery usage with self-compiled image 20130113, uptime 1000h with working ringtone ;)
[Defy Android Development] molchmolch:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

Sorry, I cannot understand the harsh criticism...

It is a ROM under development which IMHO functions quite satisfying (exept for my typos)

I use sevenrocks 20130209 build in my Defy+ and did not have any blackscreens, datadrops nor FCs. Also I have a good batterylife.

Just a ROM under constant development with great devs...

Anyone who could not live with that should move on. I use this ROM as my daily driver...

Mööp...
[Defy Android Development] xtmzone:
sevenrock , can you share with us youl self-compiled build ! ? Thx !
[Defy Android Development] docneo99:
homescreen wallpaper is fixed, i mean its not scrolling with different screens...is it a bug or am i missing something (checked all settings)?
[Defy Android Development] sevenrock:
http://www.uncledan.it/android-files/index.php?dir=CM10|sevenrock-2ndboot-nightly-defy(plus)|&sub=2

Also check out my previous postings about the content of my ROMs.

Currently I am using Quarx CM10-20130220-NIGHTLY-mb526.zip,

but I removed the built-in rngd in favor of Seeder app, because

the app contains some energy saving options for rngd which the

Quarx-provided rngd lacks. Besides that the Quarx ROM works fine.

---------- Post added at 06:48 PM ---------- Previous post was at 06:48 PM ----------

wfm
[Defy Android Development] bharathexe:
Settings > Launcher > Home screen > Tick the "Scroll wallpaper" option
[Defy Android Development] molchmolch:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

Impressive, indeed...

What kind of usage? Or just idle-time? I hardly reach 2d with normal usage with 2G...
[Defy Android Development] moqua:
If you disabled HWA for trebuchet, this will stop scrolling of the background when moving to other screens..
[Defy Android Development] docneo99:
i did check that,,,

thanks!

hwa...solved..thanks!
[Defy Android Development] gkkovacs:
What kind of rngd was in CM10 BEFORE 0220?

Is it possible to get it back?

Because my phone was noticeably laggier with Seeder when I tested it in January, and it is laggy now with Quarx 0220...

Your earlier builds were much more fluid than the latest Quarx and YAFU builds.
[Defy Android Development] sevenrock:
Mostly idle of course, I posted it to show that it is possible

to use a current Quarx ROM without background processes

draining battery.

---------- Post added at 08:06 PM ---------- Previous post was at 08:05 PM ----------

None
[Defy Android Development] marcospulido:
Better performance and better battery consumption settings

Here's some steps I did to achieve better performance and better battery consumption.

With this configuration the phone was quite fast and responsive and this battery lasted 2 and a half days and still has 30%.

No lags, no FCs, no ringtone bug.

I did this walkthrough to a friend, so ignore obvious parts.

The first two times after installing the ROM, the battery drained very fast and with a few drops. After the third cycle the battery completely normalized.

Thanks and credits to the developers! Not to me! =)
[Defy Android Development] LetoKynes:
Fantastic guide... :good:
[Defy Android Development] mikrom.cz:
cool, maybe you could write what govenor, this is only thing i missing in this guide.
[Defy Android Development] nikhil.t:
Ive been on the 0220 build for abt 3 days now.. no ringtone issues and the battery life is pretty good... works like a dream.. no lags!! :)

only problem is when i go to recovery and try and Back up (all).. it says "cant mount back up"... what should i do???
[Defy Android Development] AnTerNoZ:
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

manual mount sdcard. the sdcard isn't mounted in recovery from begin.
[Defy Android Development] niksy+:
Just leave it set on interactive, it's the only one that powerhal works with... :good:
[Defy Android Development] Antiga Prime:
You can also just go to "Choose zip from file..." so that it reads your Sdcard, then go back to Backup...
[Defy Android Development] kangi26:
FYI, when posts are reported as "Off Topic" the mod team will come in and do a general cleanup. If discussions start going off the rails, the thread becomes useless to all users who are trying to gain information or report bugs to devs. If anyone has a discussion that is a question should go to the Q&A Threads

Cleaned the thread
[Defy Android Development] marcospulido:
Exactly.. i use interactive..
[Defy Android Development] woodman:
Ok thanks a lot casouzaj.

Is the sd card format managment is kernel related ? I mean, in your point of view could this "media/sd card format" may occur with sevenrock's builds which have a recent CM version BUT with the 2.6.32.9 kernel which is dated before 11/18 build (i.e. 11/09) ?

EDIT : but.... 20130220 Quarx build is also with a 2.6.32.9 kernel (dated from ??) and my bug described previously occured with this last Quarx build.... So I'm lost now...
[Defy Android Development] bbllaazzee:
How did you remove the built-in rngd? Steps please.

Update:

Had a problem with YAFU custom build, as the reboots does not boot the system, had to remove and put the battery multiple times to get it to boot. Also with Seeder app, my phone never booted. If I remove the Seeder App, it boots with the YAFU custom build, but reboot has the same problem for multiple removal of battery and boot.

So installed Quarx 20-feb and added Seeder app, booted at first attempt. Tried a reboot and it booted in first attempt.

For members looking for seeder, check the details in following link

http://xdaforums.com/showthread.php?t=2077577
[Defy Android Development] casouzaj:
I don't think it is kernel related, because Quarx's 11/17 build, which I always go back to, comes with the 2.6.32.60 kernel, and it handles my 64GB NTFS formatted card just fine. It might be, rather, related to some different branch he used whilst synchronizing with CM updates, since 11/18, but it is just a guess.

Just my 2 cents...
[Defy Android Development] woodman:
OK, thanks.

BTW I'm currently (re)testing 20130117 Sevenrock's build to see if it also occurs with this build. I'm listening to music all day long in order to (maybe) reproduce (refer to my following self-quote to see my test steps). If you, casouzaj, are right, my bug will also occur with this build since it's dated after 11/17 about CM updates.

I will report later.
[Defy Android Development] sevenrock:
Use a file manager which is capable of writing to /system, rename/move/delete /system/bin/rngd and reboot.
[Defy Android Development] YetAnotherForumUser:
Connect to a PC, open a shell through adb and issue the following commands:

# stop; sleep 5; start

This will stop zygote and all that descends from it (ie. nearly all of Android), wait for 5 seconds, then restart it. The boot animation will run and your phone will seem to be doing a normal restart minus the Motorola logo. The kernel is not restarted so the uptime (as reported by the similarly-named command) stays as it was.

Why is that uptime so important if I may ask?

---------- Post added at 02:14 AM ---------- Previous post was at 02:05 AM ----------

I assume you've tried the 'Inaccurate proximity sensor' setting (in Settings->Display)?

For some phones it works to loosen the case screw behind the sensor a bit. If you search a bit you'll find a video demonstrating this. If you don't want to search, just open the back and loosen the top right screw a tad. Close the back and call your phone. Does it work? If not, loosen it a bit more. Does it work now? If not, you're out of luck. It it works just close the back and count your blessings.

You'll need a small Torx-driver for that screw. In a pinch a small flat-bladed screwdriver might work as well but your screw won't like it.

---------- Post added at 02:19 AM ---------- Previous post was at 02:14 AM ----------

Or open a terminal, get root using su and just Use The Force errrr I mean the command line:

# mount -o remount,rw /system && mv /system/bin/rngd /system/bin/rngd.disabled && sync && mount -o remount,ro /system

No fancy schmancy apps needed for something as basic as this...
[Defy Android Development] esok44:
Well hello there.

I have had a very similar problem, with music being not found on the SD-Card.

It began about the same build as it did in your case.

I'm using poweramp for music and i often had to rescan library.

now the ugly part in the story:

I now have a razrHD and i have the same bug with my sdcard.

I think something went wrong with it. I havent had the possibility to reformat it, but the problem in my opinion is related to the sdcard.

Well hope we can find a solution, because its annoying ;)

greetz, Esok
[Defy Android Development] Antiga Prime:
A week or so ago, I decided to try out the latest CM 10 build (20/02) with YAFU's integrated JellyX kernel, and it worked fine, except I wasn't too happy with the battery performance, since I have been for a few months on the official 31/12 build with JellyX 30/12 kernel, and was getting excellent response and battery life, so I decided to try the Official Quarx 20/02 build.

After flashing (taking all necessary steps), it happened that several times during the google account setup, I would get an error message saying the "System is taking too long to respond", and then the phone would reboot. It even worked once, but then kept rebooting, so I decided to try out Sevenrock's custom 17/01 build, both of which use the .9 kernel.

All went well, and I used the phone till it had 1% left in battery charge, and I was waiting for it to fully deplete before putting it to charge again, when I decided to change the screen brightness from the powermenu (it was on automatic) in order to have the battery run out a bit faster. The second I did that the screen went black, but it did not turn off nor reboot. I pulled the battery and rebooted, and the screen turns on fine; it's only when on the CM logo, when the screen would normally turn bright (which indicates the OS is actually starting), the screen would instead turn off. I know the OS starts up, because if I plug it in to charge, the LED light turns on normally, but pressing the power button does not turn the screen on. I can rule out that the power button is damaged, because I've turned it on several times.

I can still enter bootloader, CM bootmenu, and Custom Recovery, and screen works fine, which indicates that it's an OS problem.

I'm currently charging it to then do a factory reset and/or reflash the/a rom, but thought I'd drop the info here, since CM is still in development, and this seems to a uncommon issue.

UPDATE: I remembered that I had changed the brightness settings, and I guess they somehow screwed up the screen brightness settings. So I pulled the "settings.db" file from "/data/data/com.android.providers.settings/databases/" from a backup I had made (of the previous rom, lol), and copied it to that location on the phone through ADB, fixed ownership and permissions and rebooted.

I don't recommend using the file from a different rom though, because some things aren't right, for instance home button does nothing, it vibrates, but does nothing. For the record, I tried editing the database with sqlite3 in ADB and on my PC. PC showed it being empty (or just no opening it), and ADB gave me this message when trying to edit it: register_localized_collators() failed

I still don't see how changing the custom brightness levels would have had that effect, but it's working now. Admin can delete this post if he finds it necessary.
[Defy Android Development] blessani:
Incredibly slow and laggy

I've just upgraded from CM7 to CM10 (latest 2nd boot nightly). Wiping cache/dalvik between each change. Its on a MB525 Green Lens.

The first issue was that after installation, the in-built keyboard (AOSP) just continually closed, so I had to download an alternative.

And the most problematic issue is that it is SLOW. Exceptionally slow. Load averages are consistently higher than 2 on idle (CPU is Boosted/1.2GHz) and if you try to browse the internet, load averages shoot up to 10+

Looking at the load, its being caused by I/O wait - but what on earth is causing it.

iostat -k mmcblk0p2 2

Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn

avg-cpu: %user %nice %system %iowait %steal %idle
23.50 4.00 24.00 48.50 0.00 0.00

Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn

avg-cpu: %user %nice %system %iowait %steal %idle
21.00 12.00 18.50 48.50 0.00 0.00

Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn

avg-cpu: %user %nice %system %iowait %steal %idle
7.96 1.99 10.95 79.10 0.00 0.00

Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn

avg-cpu: %user %nice %system %iowait %steal %idle
19.00 0.00 14.00 67.00 0.00 0.00

It is a stock/clean installation with 4.0 latest Google Apps.

Nothing is showing up as particularly obtrusive in top, but it seems that SWAP is just being hammered

$ free -m
free -m
total used free shared buffers
Mem: 488376 481128 7248 0 884
-/+ buffers: 480244 8132
Swap: 87900 87900 0

vmstat
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir

0 4 6508 141208 216256 16404 3510 3025 158 25 1 13 13 49 0
0 2 3640 148480 215860 16396 1846 1434 74 8 0 15 0 76 0
0 2 3200 153020 215924 16420 2135 2123 73 8 0 17 0 73 2
0 3 8548 151916 211764 16424 2330 2353 60 15 0 15 0 68 2
3 4 2788 156328 212044 16392 2342 3573 85 46 1 23 0 29 1
0 2 4264 154228 212832 16392 1305 1509 51 18 0 8 2 72 0
0 1 4556 154484 212836 16408 651 949 16 16 0 4 0 80 0

I'm new to Android (in this respect), but have a strong Linux background.

So what should I do exactly?

Disable swap?

Set up swap on SD card?

The phone is basically unusable in its current state :(
[Defy Android Development] marcospulido:
rread a few pages ago, I did a post about improving performance.

:)
[Defy Android Development] blessani:
@marcospulido Thanks - I'll give that a try tonight then.
[Defy Android Development] woodman:
Hi,

You must do a data wipe / factory reset before flashing a CM10 rom if you come from a CM7 based rom.

As you only did a wipe cache and wipe dalvik, that's why you had issues.

Sent from my Defy MB525 green lens
[Defy Android Development] blessani:
Sorry, I wasn't clear.

I did a wipe of /data, /cache and dalvik before starting.

Then a wipe of /cache and dalvik after install, then install gapps, then again a wipe of /cache and dalvik

I tried 4x different releases of gapps, all had the same keyboard bug. And iowait was present every time.

---------- Post added at 11:35 PM ---------- Previous post was at 10:40 PM ----------

Okay great.

I restored the stock SBF. Rooted it. Installed 2nd Init. Wiped cache/data/dalvik. Installed CM10. Installed Gapps. Wiped cache/dalvik.

I've just booted up. The keyboard works! Its nice and snappy and responsive. So looks great so far.

I'm just weighing up whether its worth doing the other bits from that post (http://xdaforums.com/showpost.php?p=38560698&postcount=15719)

--

These are the file names (for reference), I had to download.

RSDLite5.6.rar
JRDNEM_U3_3.4.2_177-003_BLUR_SIGN_SIGNED_USAJRDNEMARAB1B8RTGB03A.0R_PDS03C_USAJRDNFRYORTGB_P019_A010_HWp3_Service1FF.sbf.gz
SuperOneClickv2.3.3-ShortFuse.zip
SndInitDefy_2.0.apk
cm-10-20130216-jellyx-UNOFFICIAL-mb526.zip
Defy-Gapps-CM10-20121224-without-Voice.zip
[Defy Android Development] blessani:
So I tried installing the other mods (supercharger + ultimatic) and the phone then failed to boot back up.

I've had to wipe and reinstall again :(

I'll give those a miss for now and see how things go without.
[Defy Android Development] YetAnotherForumUser:
Swap is bad. No swap is good.

Why did you enable swap? If swap is anything, it is slow. Slower than molasses. Do a speed test on any of the storage media in your phone, either the built-in eMMC or the microSD-card and you'll find a maximum throughput of around 8-10 MB/s. Now think of the way Android handles memory: it uses all it can get. Memory which is not in active use is used to pre-load apps you might want to run later. It does not know nor care about the physical location of that memory. By enabling swap you just told your phone you have more memory available, and Android happily started using it.

While there might be situations where you want swap - eg when running an app which otherwise would not fit within the limited amount of memory in these phones - those situations are extremely rare. So rare that I have not encountered them. Assuming that one day you'll come across MegaHog.apk which you just *have* to run on your Defy, that is the moment you want to enable swap. Once done with the hog you immediately disable swap.

Capiche?

If your phone is still slow with swap disabled you'll want to hunt for a runaway native process. The mediascanner is well-known for misbehaving sometimes. This process runs directly after boot, it scans all storage media for media files (duh). It sometimes chokes on a file, in that case you can just kill it. If it chokes on the same file the next time you boot the phone you might want to remove that file. Given that you state to be well-versed in Linux I assume you know how to find out which file mediascanner chokes on. If not, look in /proc/$(pidof process_name)/fd and you should be able to identify the culprit.
[Defy Android Development] blessani:
I didn't. It appeared to be configured by default on this ROM...
[Defy Android Development] YetAnotherForumUser:
Without attempting to start a battle of words over the merits of these 'magic' scripts may I suggest that you stay away from them? They are to these phones what those fancy bottles of patent medication were to folks back in the days of yore. Some of those bottles might have contained rather harmless ingredients while others were less innocent.

Just look at those scripts without actually running them. Look at what they do. Read up a bit on Android, on the way it manages memory, etc. Meanwhile just use the phone without any 'magic' scripts. By the time you feel at home in the subject of Android memory management you'll find that there is no magic pill or potion.

---------- Post added at 12:24 AM ---------- Previous post was at 12:22 AM ----------

It is not enabled by default on cm-10-20130216-jellyx-UNOFFICIAL-mb526.zip. I should know seeing that I made that build. It is a combination of Quarx' work with the JellyX kernel with a few kernel configuration changes (eg SLUB instead of SLAB, debugfs enabled, etc). No swap. If you have swap you got it somewhere else, probably some silly script...
[Defy Android Development] blessani:
Originally, I installed a stock CM10-20130220-NIGHTLY-mb526.zip - without any scripts etc. It was that build that I posted the original iowait stats about - and that had swap enabled.

This build (cm-10-20130216-jellyx-UNOFFICIAL-mb526.zip) - as you say, does not have swap enabled.
[Defy Android Development] YetAnotherForumUser:
It would be highly surprising if that original Quarx build you started with had swap enabled. As far as I know it doesn't, but not having used it I can not vouch for this. Still, I'm fairly sure it does not use swap by default. Which makes me wonder where that swap came from.
[Defy Android Development] Antiga Prime:
I tried the BM.Memfree.Defy.zip, except that I patched my services.jar file with the method used on http://android.mimic.ca/ and not with the program in that post, and didn't have any issues with it, but not really sure I needed it. I didn't even test it long, because immediately after I flashed the BM.Tweaks.Defy.zip, which led to a black screen on boot, which led to having to wipe and reinstall everything.

After that event, the light under my search capacitive button stopped working. Don't think the Tweaks and the faulty capacitive button light are related, but I'm not doing that again. Just my two cents.