yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] ccav2000:
OK, this didn't work too well, had to go back to [MENTION=513620]Quarx[/MENTION]'s kernel. [MENTION=4855459]Blechd0se[/MENTION], I've had this issue will all your kernels lately, they are all slugish and cause SystemUI to crash when the system is pushed to the limits. But when [MENTION=513620]Quarx[/MENTION] compiles his kernel with your changes I don't have much of a problem. Are you sure you compile with the same toolchain, compiler options and sdks? And there are the people who complain about blank screen on boot too. If the sources you are using are the same as [MENTION=513620]Quarx[/MENTION]'s, then the only thing left that can influence the behavior of the kernel are external factors like the toolchain. You're probably thinking that this shouldn't happen, but it does, and we need to find out why.
[Defy Android Development] okij:
After installing Blechd0se's new kernel, my system also became very sluggish. Even after the mediascanner finished its usual work, CPU usage stayed at 100%. :(

So I also went back to the kernel of Quarx's 06-07 nightly.

But I'm sure you guys get it fixed! :fingers-crossed:
[Defy Android Development] Blechd0se:
I am using linaro 4.5 because 4.4 is know to produce inefficient code. Maybe i should try the same as Quarx.

Thanks for that :)

The first few minutes cpu is always at 100%, check dmesg, it should go down after a while :)

Because of lag; i have increased the target_load from 80 to 90 percent, i will revert this :)

Send from my Nexus 4
[Defy Android Development] ccav2000:
Please try the same toolchain as [MENTION=513620]Quarx[/MENTION], if not for anything else to confirm the suspicion that it may be the source of the problems. I'll be glad to test it as soon as you have a test build ready.
[Defy Android Development] niksy+:
+1 on the new kernel build problems :/ The phone was very sluggish, the animation's were very choppy and the whole system would freeze up for a couple of seconds every once in a little while :( Back to the kernel from the last CM10.1 nightly and it's all fine again :) I'm hoping that the problems come from the different build environment and awaiting a fresh build :D
[Defy Android Development] nostupidthing:
seems wifi interference is present for me tooo. when defy is naerby packet lost is much more common and latency, on the pc, increases (from <15ms to >100ms)...

router is atheros openwwrt.

pc is intel 5300

interference present even defy is nto trasmitting.

further findings... if I put phone just beside pc, pings become requested timed out immedaitely.

disabling wifi optimisation doesn't seem to affect
[Defy Android Development] Blechd0se:
Done :)

I'll upload two builds; one with no changes at all, build with the same toolchain as Quarx, although i don't thinks its toolchain related.

The other build is build with 4.5 and some minor modifications.

Did you encounter these lags with multitasking or havy app usage?

Everything was smooth for me as long as i used only one app. Tried many apps at once and i could reproduce the lag and even further;

i could make it visible in numbers (thats where benchmarks are good). I lost a big amount of ram performance, cpu nearly stayed the same.

So i changed a few values in interactive (on some i went full retard, never go full retard btw) and most important enabled io_is_busy by default

and i couldn't reproduce performance drops.

Although these are just numbers and you got the real world scenarios, i hope i finally fixed it :)

Thanks for the feedback so far, really appreciate it. Development is fun this way :)

Some users asked me if they can push my nightlies on thei 4.1 roms. Yes you can, but don't do this, wait until there is a build by Quarx

released. There is a reason why i post this nightlies in the 4.2 thread ;)
[Defy Android Development] dkv2222:
I have a noob question here

I'm on cm10 right now

Say I install cm10.1 and have problems can I revert back?

Are there any complications? Or anything I should know ?

Moreover should I upgrade?
[Defy Android Development] molchmolch:
I Grab Kernel-1006.interactive.zip and gonna test now...
[Defy Android Development] ccav2000:
Trying the linaro build currently, as with last time I'll report tomorrow since it's late here currently.
[Defy Android Development] playitlouder:
Hey there...

I've finally gone ahead and updated my Phone from CM10 to CM10.1. My old installation was pretty laggy over the last weeks...

CM10.1 is pretty fluid and smooth. But I have a problem with it, unfortunately...

My RIL/Radio is playing up overe here in Germany with Base (E-Plus carrier). Mobile Data etablishes after some time, but it only works 20% of the time (edge symbol is there, but no data transfer). And after some time the radio seems to crash. I have to re-enter my pin and the game starts again. Had one hard reboot aswell...

On CM10 it was perfectly fine. No noticeable data drops, no pin requests.

Had this issue on the early cm9 nightlies already, I flashed back to stock and the problem persisted. Had to send in my phone and get the mainboard replaced.

Well... my phone went for a swim (phone was full of water) in early 2013, I don't think they'll fix it again. The mainboard rested in rice for a few days after that and it was perfectly fine.

Should I try an older (or and exact Version of the) Basband for Western Europe? 3.4.x is Standard in these builds I guess.

Anybody experienced something similar?

I'm going to post a logcat soon!:D

EDIT: Almost forgot: I went from CM10 to CM10.1 via Defy Ultimate Wipe (ext4). Then Flashed the rom, the gapps(stripped down a bit, deleted Google Speech stuff from other languages). Then deleted the system ringtones to give the rom some room to breathe.
[Defy Android Development] FcukBloat:
same problem here (Italy, default baseband, installation with full wipe and no restores as usual) with latest build. had many data connections problems even if 2g or 3g icons were still there.. only way to check if data connection was working was to manually test it, as i used to do on cm10 builds (for example sending some messages with whatsapp) otherwise i could stay unreachable for hours without noticing it (and only way to restore connection when gone was to manually toggle airplane mode on and off once or more times)

had to go back to a previous build, it is working much better for me (if data indicator is present connection is working, if indicator is gone connection is down.. and when it goes away it automatically try to restore connection! better behavior you should agree..only problem is that it maybe takes some more time to establish connection but then it is pretty stable so who cares..)

i am currently on 15/apr build, and after some hours of usage i can say it is really more stable also in respect to 27/may build, so i would say something in ril, radio or what else must have changed also between these 2 previous builds

in conclusion i have to say unfortunately ril patches added in last build didn't fix the ril problems, or at least not all the situations, here for example things got worse, only had faster connection ;(
[Defy Android Development] Pottkopp:
2 days on 7th of june build and getting a bootloop after a normal shutdown of my defy :/ --> flashing with stock recovery again..
[Defy Android Development] niksy+:
I've flashed the non-linaro kernel nightly and it seems and feels GREAT! :) Will report more tomorrow. Until then, thanks Blechd0se for quick fixes and updates :)
[Defy Android Development] ccav2000:
The RIL now is working exactly as in 4.1.x. The problems you describe existed also in 4.1.x, but at the time a workaround was added, [MENTION=4855459]Blechd0se[/MENTION] found it recently here when we were discussing about the data connection issues recently. In short, a patch was added back in 4.1.x to cause an automatic reconnect when the connection was going stale. As [MENTION=4855459]Blechd0se[/MENTION] said I don't think this patch was carried over in 4.2.2, perhaps it should. [MENTION=513620]Quarx[/MENTION], any opinions in this? Can this patch ported to 4.2.2?

---------- Post added at 07:46 AM ---------- Previous post was at 07:40 AM ----------

Confirmed here, the Linaro version was sluggish, the effect was very obvious when I was trying to type with the Google keyboard using the gesture mode, sluggish and slow. Changed over to the non-linaro, keyboard was flying and the general responsiveness of the system is much better. As usual, benchmarks do not portray the complete picture as the theoretically slower build wins here. [MENTION=4855459]Blechd0se[/MENTION], it seems my suspicions were correct after all, the toolchain did have an effect on the result.

At this point, if more users can tests those kernel builds and report back it would be helpful. Currently I have about 70 apps installed, so the RAM usage and multitasking is heavy in my device.
[Defy Android Development] Bleak3993:
maybe a stupid question, but, should I have to wipe anything before/after flashing the zip?

I'm gonna try and report in this post later.
[Defy Android Development] ccav2000:
No, no wipe of any kind required, this packages flash only a new kernel, nothing else. Just go to recovery, flash and reboot.
[Defy Android Development] okij:
I've flashed the linaro kernel version and although it doesn't lead to the CPU staying at 100% all the time and the system was quite respondant, I had some problems:

1. Lock screen took a bit longer to appear than usual after pressing the power button.

2. Notification LED didn't blink to indicate new e-mails.

3. Changing governors wasn't possible (I tried to change it to boosted), instead of this, the system became very unrespondant (still running on interactive), so for now I went back to Quarx's kernel. BTW, this was the same with Blechd0ses previous kernel build.

Probably I will now try the non-linaro kernel, but since I need my mobile today, I might do it later this afternoon... :)
[Defy Android Development] FcukBloat:
that's the problem.. when I switched from 4.1.2 builds to april/may 4.2.2 builds, I loved them especially because of the "new" ril handling, so now that the same 4.1.2 handling has introduced on 4.2.2 builds, I am afraid I will have to stay on april build forever.. I don't know about the reconnecting patch you mentioned, but on april build when connection is gone it is automatically restored in a short time, so how is that possible if the reconnecting patch was not carried on 4.2? i don't know.. but seems to me automatic reconnecting works in april and may builds! :p

..soon I will try non-linaro kernel on the 15/apr build, hope it works, will report asap! :)
[Defy Android Development] starbright_:
Unfortunatly there is a problem with Open PDroid. It is not supported by the Team there (or Quarx doesn't give support to the PDroid team) - hard to see from outside.

See:

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

Is there any hard technical reason for this or is it just a matter of resources and priorities?
[Defy Android Development] FcukBloat:
got bootloop with blenchd0se kernel on 15/apr build.. had to reinstall quarx kernel to be able to boot up the phone.. so it seems your kernel can not be used on older builds.. what a pity! :((((
[Defy Android Development] measel:
Shouldn't do this but:

+1

I consider support Pdroid/OpenPdroid as an important option as well.

Thank you for all the work.
[Defy Android Development] ccav2000:
Number 3 in this list happened to me with the linaro veriosn, but it works with the non-linaro one.
[Defy Android Development] okij:
I'm now on the non-linaro version too, but number 3 still happens all the time I try to change the governor in System Settings!
[Defy Android Development] ccav2000:
Weird. In any case, report back how that build feels.
[Defy Android Development] FcukBloat:
guys, just one thing, in all the latest builds I have tried so far, when the phone is connected to the charger the touchscreen seems less responsive.. does this happen for you too? dunno why, but I have to press the screen stronger and sometimes some pressions are missed by the phone! for example it is a little difficult to use swype keyboard because of this while phone is charging.. :eek:

byeeeeeeeeeeeeee
[Defy Android Development] niksy+:
very pleased

Current uptime with the new kernel build - 10h - still as smooth as butter :) (the non-linaro version)

I can't see the point in trying the new kernel and NOT using interactive- it's all that has been changed (improved) :p (yes, I do know agree that other governors should be working as well, but if you're commenting on the new kernel which purpose is to test interactive :silly: )
[Defy Android Development] xlyz:
An other vote for pdroid support.
[Defy Android Development] okij:
The non-linaro version is working well here too (besides the "problem" that the governor cannot be changed in system settings). I'm just not sure if it really feels smoother than the previous (not back-ported-from-3.4) version, which was already working smooth. But it definitely didn't get worse with the new non-linaro version! ;)

Basically, I agree with you, but this morning I wanted to just change the governor to Ondemand, since the linaro version didn't work so well here and because I need a working phone today. :) But as you see, I now already test the non-linaro version... :cowboy:

Generally, I think it's important that the users still can choose which governor they use, even if we then will have a really-perfect-Interactive-governor [TM] thanks to Blechd0se! ;) :D

In any way: Thanks, Blechd0se, for your work, we really appreciate it! :)
[Defy Android Development] ccav2000:
They still can choose, but in the Bootmenu.
[Defy Android Development] Nchls:
I believe you're using a 2-pin plug charger, if so, it Is due to the absence of the earth wire. Trying charging with a charger with earth wire.
[Defy Android Development] FcukBloat:
wow, could never think about that! :eek: :)

yes actually the charger has just 2 pins.. but in my country all of the chargers for almost all devices have two pins.. well I will try to see if I find a 3 pins charger and see how it works.. thanks! :)
[Defy Android Development] playitlouder:
Well...

On my way to school I got 3G (HSDPA) Service. No Ril Problems there. But when I got 2g Signal (EDGE) the phone tries to establish a connection, it shows Edge but the Data doesn't want to work. Sometimes after Triggering the Mobile Data to off and on again, the Signal bars turn blue and everything works.

But when I loose connection or data, my signal bars vanish and I have to enter my pin code again. --That happens like every 10minutes or so :mad:

Is there a known problem with the ultimate wipe package? http://xdaforums.com/showthread.php?t=1818520

I certainly haven't had this problem on CM10 (old build from January 2013 I think...).
[Defy Android Development] ccav2000:
The only time I had similar behavior is when I was trying to test different basebands hoping to fix the data connection bug. The funny part, even after I restored my normal baseband I still had problems, the only solution was to completely power down the phone and then power on via the power button.
[Defy Android Development] labsin:
It's not about the ground. These is no coupling of the earth at all. The only chargers you'll find with an earth pin are metal ones (or English one, but there this pin is from plastic just because of the socket design)

If you have a cheap aftermarket charger, that's the reason. It's also damaging the battery. There is a huge variety in chargers. For instance the current rating indicates at which current the voltage drops. If you have a bigger current rating, the voltage will stay at +/- 5V

If you have a cheap charger, this voltage will swing between 3V and even 20V (momentary -> noise) for the €2 versions of ebay.

More info:

http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-apple-is.html
[Defy Android Development] shubhu2604:
Hello... I hv a moto defy plus and i m running on CM10.1 16/05 nightly,

My problem is that since around a week, my phone reboots randomly sometimes while browsing, listening to music, or gaming.

What can i do to solve this problem...?? Please suggest some solutions.
[Defy Android Development] okij:
Some more observations on the non-linaro version of Blechd0se's kernel:

From within System Settings, as well as using SetVSel app, I see that the frequency never goes below 900 MHz (which i set as 3rd frequency), even though Total CPU load is just 5 - 10% when idle (I checked this with AndroidSystemInfo). :eek:

Using CPU Spy I also see that 300 MHz is not being used, whereas DeepSleep (when the device is turned off) is working.

CPU Spy indicates, on the other hand, that 600 MHz must be used quite a lot when the device is idle. :confused:

[MENTION=4855459]Blechd0se[/MENTION]: That being said, I'm not sure that the frequencies are transmitted properly to all apps that ask for them, so probably the software interface for this is somewhat broken!? Regardless of this, all above mentioned apps show that 300 MHz doesn't seem to be used at all when the display is turned on, but the device is idle. Looking at the battery indicator, I get the assumption that this has an impact on battery usage. It would be great if you could look further into this matter. :fingers-crossed:
[Defy Android Development] FcukBloat:
well you scares me.. :p btw I am using only two chargers for this phone: the original motorola one that came with the phone (at home) and a samsung original charger that came with a galaxy mini 2 (in the office). both have two pins only, but I hope they are not damaging my battery, they are original samsung/motorola products! :silly:

(I don't think so btw, I bought the defy+ almost two years ago now, and I still don't see significant changes on the battery life ;) )
[Defy Android Development] labsin:
I'm using a genuine HTC charger. I can't remember how I got it. It's rated 1A and don't have this issue.

Ones I ordered something from ebay and got a free charger with it. With this I do have the issue.

It's mostly the noise on the voltage and the current it supplies that determin the wear of the battery.

If you got some genuine charger with a rating below 1A, all should be fine.
[Defy Android Development] TJKV:
Fully agree with you on this. See:

http://xdaforums.com/showpost.php?p=33541402&postcount=44
[Defy Android Development] FcukBloat:
assuming motorola one is good, it remains just the samsung one, which says output 5V / 0.7A so it should be fine..!

well.. I forgot the car charger I use while in car and need maps/navigation.. it is a cheap charger I got in india.. but I don't know the output voltage right now.. will check! :)

thanks a lot and sorry for ot guys
[Defy Android Development] :
2 things

1. swiping keyboard on stock keyboard not working (I believe Quarx disabled it because its too much ram consuming?)

2. if you want to delete a large amount of words long pressing the delete button of the keyboard it will delete a fixed amount of words, then you have to get the finger out and longpress again

the rom is perfect :) sometimes you have to put airplane mode when you reboot to get data on again but in exchange now we have a battery life as good as msginger 5.0

confirm you have these issues just to let me know its not a installation problem (did a fresh install)
[Defy Android Development] FcukBloat:
how to fix swype keyboard has been told plenty of times already.. install minimal gapps package by tejus instead of full gapps package
[Defy Android Development] labsin:
This will always say 5V, but you can't know how constant this 5V is without labo equipment. (see link before)

The best way to charge your phone in the car is to use the USB port on the car radio. It's slow charging but steady.

If you don't have troubles I don't think you should change the adapter.

A car adapter can do less wrong as it's 12V DC to 5V DC and no rectifier. There should not be much noise on the output of that.
[Defy Android Development] diamond_lover:
I have that issue from the beginning with the stock Motorola charger/cable.

The only solution is move a bit down the micro usb end with my hand.. sorry for the bad explanation :rolleyes:
[Defy Android Development] Asmund:
Just rooted a Defy+ on stock 2.3.6.

I have never flashed a custom ROM before.

I have dl "cm-10.1-20130607-NIGHTLY-mb526.zip"

To flash this ROM is it enough to "only" flash the file "cm-10.1-20130607-NIGHTLY-mb526" or do I need to flash more file(s). Like kernels. And what about gapps?

(sorry am new to custom ROMs)
[Defy Android Development] shangjiyu:
flash kernel fist，search the forum
[Defy Android Development] syllogyking:
you're in the wrong thread then mate. learn to love the search feature on xda. there's a buffet of information waiting for you.
[Defy Android Development] measel:
You need to flash the ROM plus Gapps. No kernel flashing required. That one is included in the ROM.

Good Luck.
[Defy Android Development] r_soares:
I think is something related to hardware, because since [MENTION=4855459]Blechd0se[/MENTION] started to develop kernels to our defy, I have tried them, but always without success. I've always get stuck on the black screen after the Moto logo.

Tried the last two, and both result on this issue...
[Defy Android Development] Persechini:
Running the 07.06.13 build here

After flashing the 09.06 kernel from blechd0se I got the previously mentioned slugishness. I reflashed the CM10.1 nightly to replace the kernel with Quarx's (is there a quicker way?) everything is fine again. The build is kinda flying, should I try the 10.06 kernel from blechd0se? Can´t say much about battery since it´s been on the charger most of the time.
[Defy Android Development] ccav2000:
As you can see the 10.06 kernel comes in 2 flavors in an attempt to find out the source of the sluggishness. Try the Linaro version first, and if it's sluggish try the other version. If one of the two don't give you issues, please report here which one.
[Defy Android Development] FcukBloat:
btw yes, there is a much quicker way, just did that when i got bootloop with blenchd0se kernel on previous quarx build :)

take the good working kernel for you (file named zImage located in /system/bootmenu/2nd-boot) from the quarx cm build zip, and put it inside the blenchd0se flashable zip (same path) overwriting the existing one. use 7zip winrar or similar to replace the file.

than flash it through TWRP and you are done :)

this is for cases with boot problems like mine.. if your phone is booting up normally, even faster, just replace the kernel file directly from inside the phone with any root file manager. you may have to set correct file permissions. then reboot.

to check if you are running correct kernel after changing them just look settings - about this phone - kernel version
[Defy Android Development] Persechini:
with moly82 tip for restoring quarx kernel faster I guess I will give blechd0se kernels a try. Any specific issues I should look for for comparisson? I will focus on chrome and vine, which are the worst performing apps I got (vine doesn´t even let me record video), plus unlock to camera "fast draw"
[Defy Android Development] ccav2000:
Just see how responsive the device is, if it's sluggish, laggy or anything like that. Please make sure you are using the interactive governor since these kernels were primarily made to test a new version of it.
[Defy Android Development] Asmund:
First thanks for nice answer.

What version of Gapps do I need or should I flash?

---------- Post added at 07:08 PM ---------- Previous post was at 07:04 PM ----------

What thread should I be in then?
[Defy Android Development] molchmolch:
For me, the non-linaro kernel from 1006 works nice. No sluggines like the 0906 one.