yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] Husi10:
I don't have the same result here. First I thought it was more smooth, but it started after some time to became very lagy. And some time after it became smooth again. My phone alternate between smooth and lagy step. Each step last approximately 30 to 60 seconds.

In CM "performance" frequency is alway show at 1100mHz (I overclocked) but app like cpu spy says that it never ramp up 600mHz.

I set governor to boosted and my phone is now usable.
[Defy Android Development] niksy+:
Sorry to hear that, but my phone is still adrenalin-induced :cool:

Something amazingly that happens amazingly fast now - I open up Phone/Messages/Addresbook press back and while it's disappearing I press the drawer button and the app drawer starts coming up while the previous app is still disappering - all of this happens within a second or less :eek:

Feels great :) But I shall stop posting about that now, since it might just be some techno-adrenalin-thing going on and no need to spam about that. Will report on battery life tomorrow, time for bed now.

Cheers, everybody!

P.S. I love how the DEFY is defying time - one element that Motorola didn't intend it to :cool:
[Defy Android Development] Shubhamqweasd:
i also feel the same responsiveness on the latest CM10 build .. ill try CM10.1 with new kernel also ..
[Defy Android Development] ccav2000:
Unfortunately I have similar results as [MENTION=4514770]Husi10[/MENTION], it lags a lot to the point of being unusable. Also, Better Battery Stats now doesn't display 300Mhz at all, like it doesn't exists, and 800MHz practically not used. It's again 600 or 1000 (and Deep Sleep of course).
[Defy Android Development] atulclassic:
where to replace..i m facing softboot
[Defy Android Development] lionel126:
bricked
[Defy Android Development] nicram:
System/lib
[Defy Android Development] biernus:
I have the same problem. The newest version going fast and ok but there is a big problem with battery.

-huge battery drain 3.4%/h (wifi off, autosynchro off)

-mode cpu 300 and 800 not use at all (only deep sleep, 600, 1000)

Upgrade kernel from 13.05 resolve my problem?

::. Tapniete
[Defy Android Development] niksy+:
Oh, dang... Now that it's off the charger I've noticed...

My phone is at 600MHz all the time. The only other state that is even shown as existing is Deep Sleep, but it's not happening. Battery drain 4,2% per hour on standby, as would be expected without any sleep going on :/

Must flash the previous kernel version :(
[Defy Android Development] atulclassic:
everytime trying to replace the said file getting me into bootloop..pls help
[Defy Android Development] Blechd0se:
600 all the time? This shouldn't happen, it should at least scale up to 1000 on a touch event.

I guess i have to rwork this taget_load changes. This is driving me crazy. Already changed something now i need to test it.

My general intention is the following;

Set a boost on each touch event (maybe this explains why someone reported is is somehow smooth and laggy) because

this boost has a duration. I increased it on the last build, maybe have to rethink this too.

While idling it should fall down to 600 or sometimes 300 depends on work history, 600 should be used if its likely that in the next couple

of seconds have to scale up to 1000 again.

As soon as display is turned off, it should directly go to 300 and stays there, but only the time it needs to enter deepsleep finally.

Hard to make a balance between good battery consumption and high performance when its needed.

If somebody has oppinions on my idea let me know :)
[Defy Android Development] Nchls:
My instinct tells me that it is because you have low space in system and when you tried to replace it, it didn't really got replace, resulting in a 'incomplete/corrupted' file. Solution is try freeing up your system by deleting unused apps etc and then try replacing again.

Hope this helps. :)
[Defy Android Development] niksy+:
Replace it in the build zip before you flash it? That's what I did. Although I'm not sure what you're doing wrong... Maybe you're forgetting to set the right permissions?

[MENTION=4855459]Blechd0se[/MENTION] I think your concept is great, it's just the code needs some more polishing :) I already mentioned that I agree on the point that 600 must be the sweet spot for a combo of performance and battery life. The boost to 1000 based on previous usage also sounds like a great idea. And If the phone can handle playing music or receiving a call or receiving a call while playing music at 300, then by all means limit it to 300 with the screen off, it's completely reasonable! I really agree with your whole concept and in all it doesn't seem like it should have a noticeable impact on battery life.

Now, about the polishing... I've just done a cache and dalvik wipe and DeepSleep is now back and working properly! But BBS still only shows 600 as the only used and existing clock. You said you've enabled some debug messages, how can we get to them, I don't know if BBS can be trusted?
[Defy Android Development] Blechd0se:
Yeah i like the idea too, thats why i want to bring it to defy. Governors needs to be maintained and interactive hasn't been touched like ages...

You can simply run dmsg in terminal and watch out for "interactive: ". Debug messages is enabled for my suspend/resume code.

It should show you with what freq it goes into early suspend and which freq it was before. On resume it should show you the previous freq before

the hole suspend / resume thing.

I will look freq now completely to 300 while screen is off and have to test how it behaves. This 600-thingy is probably caused by target_load

as mentioned earlier, i reverted some changes and changed the logic of it, hopefully it doesn't use 600 now that often.
[Defy Android Development] ccav2000:
I'm suspicious of BBS myself, I think we must try some other app, CPU Spy maybe?
[Defy Android Development] niksy+:
Indeed, Cpu Spy seems to be working better currently :)

Cpy Spy shows all four processor clocks, although not correctly (it's showing 300-600-800-1000 and I'm set at 300-600-900-1100). The CPU usses the first two clocks (600 ~50% more than 300) and the last one (1000, as it says) very little (couple of seconds during a 15 minutes up-time).

I've now tried holding my screen touched, just moving the status bar up and down, but it isn't showing any activity for 1000. I'll set my clocks at 300-600-800-1000 and see if it reads the activity any differently.

But, seeing how unprecise both Cpu Spy and BBS are, I have to ask - could you enable logging of all the clock changes done by interactive? Because that seems to be the only way to see what's really going on... :rolleyes:

Also, I'm thinking that a clean install could also be a better testin environment (since a cache wipe fixed my DeepSleep issues), but I can't do one until tonight, so could you please provide another update tonight and I'll do a completely clean install together with the latest nightly and see how that behaves?
[Defy Android Development] diamond_lover:
You can also install SetXperia to see in real time cpu usage... :fingers-crossed:
[Defy Android Development] rsk_kelkar:
two interactive governors

I dont know how much feasible this solution is. But not all of us are that good in testing this stuff etc. We would like to have a stable enough build. As it is the battery drain was already an issue and this governor experiments making things worse for many as they are reporting. So just a thought passed my mind if we could have two different interactive governors(old and experimental) or some way to make the governor behave the same way as it was doing before.

In later case, a simple guide to revert things to the previous governor settings would be appreciated. I remember [MENTION=4855459]Blechd0se[/MENTION] had mentioned about an app to change governor settings on the go. But we dont know what to change and what not to.

But thanks a lot for the development going on. Respect for developers
[Defy Android Development] maxilus:
Hi guys,

since the last update (including the newest) my wifi is not working correctly.

it trys to activate but nothing happens. somone else got the problem ?

Lg Max

Ps: thanks to the developers for this awesome Rom it works like a charm ( even without the wifi :P )
[Defy Android Development] atulclassic:
i have 60 mb free memory..i have cleaned up bloatware from zip and also installed minimal gapps

---------- Post added at 09:10 PM ---------- Previous post was at 09:03 PM ----------

how stupid i m..forgot to set the permissions everytime..thanks buddy..pressed the button also.

Although i have reverted back to 15.04 since this governer stuff is making me crazy..mine also not going to deep sleep.

will flash tomorrow again after a clean wipe.
[Defy Android Development] remix96:
Is there a fuc**** way to set button's brightness at 100%??? Maybe, a modification in the build.prop like in MS2Ginger...
[Defy Android Development] d3xt3r:
In the 13.05 kernel by belchdose, the Bluetooth is not able to turn on.. Can anyone confirm this please
[Defy Android Development] niksy+:
Nope :) They're like that ever since CM9. You'll get use to it...if you try :p

Working fine here. Just turned it on in the quick settings panel and held the icon which then opened the Bluetooth menu where it showed that it's scanning for available devices. All seems fine, although I can't test actually connecting with something now...

[MENTION=4855459]Blechd0se[/MENTION]

Changing the clocks to 300-600-800-1000 (the default ones) seems to have fixed the BBS and CpuSpy reports, they now show the same numbers. DeepSleep is working fine and the CPU uses 600 and 1000, no 300 at all and it has merely touched 800 a couple of times, so it shows a couple of seconds there. The usage of 600 and 1000 is 50:50, which is rather nice! So now it seems to be working as you said it should :)

[MENTION=371528]Everybody[/MENTION]

How good is the 4.2 camera for you? Because it takes 5-10 seconds to take a single shot for me :eek: The 4.1 was perfect, it did shots almost instantly and I loved that, it was faster than the stock camera... But this is a pain. I've tried using the 4.1 gallery2.apk, but only the Gallery part works, the Camera won't start. Also, I've checked many times and HDR is always off. Is anybody else facing the same problem and have you found any solutions? I'd love to use the 4.1 app... I even liked the 4.1 Gallery more, not this gray stuff on 4.2 :(
[Defy Android Development] wadb:
I am in the same situation, I prefer CM10 camera (takes pictures in 16:9 format) and did the same. Gallery works, camera does not.

If anyone knows how to fix it we will thank you.
[Defy Android Development] FcukBloat:
camera works the same here.. i got accustomed with that actually.. :p
[Defy Android Development] Persechini:
I've been using 4.2 camera on CM10 (not 10.1) for pictures and the occasional panorama (never used video and only tested photosphere once, and it was disastrous). It's a bit laggy, yes, but I can't recall if it's really that worse than the 4.1 camera, since I felt the defy wasn't fast enough for an in promptu camera even with stock froyo and haven't really tried to take pictures that demanded a quick draw unless the phone was already unlocked and showing the launcher home screen
[Defy Android Development] niksy+:
The Camera ICS app might be a solution, although I don't usually fancy these 3rd-party "aosp" apps. But, it has been praised in the CM10 thread, so it should be at least worth a try. The Camera JB app by the same guys is unfortunately the 4.2 one, not the one we want :(
[Defy Android Development] Blechd0se:
So 2nd turn, new day, new nightly.

I finished the code with suspend/resume so far, it should now really stay at 300 as soon as screen is off.

I let all my debug messages enabled, this will spam dmesg, but you get exactly the current speed of our cpu,

if you like it i can finally make a cleanup and push it, took some time to get to this stage :)

The app i recommended is Trickster Mod, there is not only a panel which shows cpu usage, but also a option

to tweak the governor and really you can do everything you want here. If you want to have a explanation about

those tunables look over here

search for your the thing you want to change, there should be a comment about it.

To have two governors may a interesting point, but its to hard to maintain (in the end we have a completely different

governor and not the concept behind interactive).

Bluetooth is working just as it should, did you used this kernel on a 4.1 rom ?

[MENTION=4442286]niksy+[/MENTION]

Hope you like the new nightly too!
[Defy Android Development] starbright_:
Sorry, can you give me some help howto do this? If I press Convert backup I just see the message "Coming soon".

I urgendly need to go back to my CWM backup of CM7.2. Please help!
[Defy Android Development] Husi10:
I flashed your last kernel Blechdose but my phone went to bootloop. I tried flash CM10.1 nightly again but it doesn't help...

Any idea before trying full wipe ?

edit :

I found no solution. I lost all my data...
[Defy Android Development] measel:
it's easier to just flash a pre twrp build (cm10-13-04-09 or something) than you got CWM back and you can restore your backup.
[Defy Android Development] nicram:
Hi, again many lags after flashing new kernel. I have turned cpu usage in developer options and on the top I see kswapd0. Any suggestions?

I've tried swapoff command but it doesn't work. I don't have any swap partition.
[Defy Android Development] justjr:
New kernel is the bomb. Now we flying high!
[Defy Android Development] atulclassic:
Use titanium backup to restore your old nandroid
[Defy Android Development] Feche:
It's a shame that I can't use this build due to the 3g data connection bug :(
[Defy Android Development] atulclassic:
it's not shame..its unfortunate for you..devs are trying their best..:P
[Defy Android Development] Walking dead:
I don't have any lag in camera but I am on root box 4.2 by kayant.

for the 4.1 camera to be working you may try the camera libs from 4.1 builds (libcameraclient.so and libcameraservice.so) and set permissions and reboot.

[MENTION=2394274]shame[/MENTION] guy

don't be ashamed for not being able to flash a nightly there's lot more than that to be ashamed off.

u can try root box 4.2 by kayant it connects to 3g on first attempt. (I had the bug on cm10.1 but not now may be related to cm10.1)
[Defy Android Development] Anton111111:
Does this mean that BT-Headset works with this kernel?
[Defy Android Development] ccav2000:
After 2 days of experimenting with this new build, trying the Boosted governor too, the drains persist. I think there is something wrong with the latest ROM, possibly something in the kernel, but not the CPU scheduler that is causing the battery drain. BBS reports Deep Sleep as the majority, but if the device was into Deep Sleep properly it wouldn't drain so much. The only other thing changed was the USB components, perhaps something is wrong there.
[Defy Android Development] ZurekDar:
Hello, install the "Nandroid Manager" and start the conversion
[Defy Android Development] Kayant:
Wipe data from stock recovery and reboot.....

Btw Quarx your special magical powers removed the waterproofness from my phone ;)

Just JK..... Thanks for the humour :D

For anyone that saw my post from yesterday on the 3.X kernel thread .... This build works about the same but is a lot more stable apart from the screen flickering but man this is a huge step from nothing to having the display alive etc .... I always wonder how developers work on something they can't see well I guess they have UART to debug but it's just weird :p

Anyways am excited at what the future holds for us.
[Defy Android Development] Krokogator:
Odp: [JB+] CM10.1 Android 4.2.1 for the Defy(+)

What Quarx hold for us*

Tapatapped from my Google powered Defy
[Defy Android Development] kryptonitiko:
How can it be no more waterproof with a kernel??????? :D http://quarx2k.ru/cm10.1-nightly-defy+/!!!experimental!!!/Readme.txt
[Defy Android Development] theclaytons:
This will explain everything for you:

World English Dictionary

humour or humor (ˈhjuːmə)

— n

1.	the quality of being funny

2.	Also called: sense of humour the ability to appreciate or express that which is humorous

3.	situations, speech, or writings that are thought to be humorous

4.	a. a state of mind; temper; mood

b. ( in combination ): ill humour ; good humour

5.	temperament or disposition

6.	a caprice or whim

7.	any of various fluids in the body, esp the aqueous humour and vitreous humour

8.	archaic Also called: cardinal humour any of the four bodily fluids (blood, phlegm, choler or yellow bile, melancholy or black bile) formerly thought to determine emotional and physical disposition

9.	out of humour in a bad mood

— vb

10.	to attempt to gratify; indulge: he humoured the boy's whims

11.	to adapt oneself to: to humour someone's fantasies

[C14: from Latin humor liquid; related to Latin ūmēre to be wet, Old Norse vökr moist, Greek hugros wet]

humor or humor

— n

— vb

[C14: from Latin humor liquid; related to Latin ūmēre to be wet, Old Norse vökr moist, Greek hugros wet]
[Defy Android Development] kryptonitiko:
Quarx u are simply the best!!! uhauhuhauhaauhauhauha

---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------

Sorry man I think I've to go to sleep, simply too tired :silly:
[Defy Android Development] junesoung:
Re: [JB+] CM10.1 Android 4.2.1 for the Defy(+)

Good
[Defy Android Development] mato_d007:
I cant believe that there are so many people that cant get a simple joke like that :eek:

Ontopic: Did anyone tried another custom kernel on this new build? (like JellyX)
[Defy Android Development] juan296:
guys, can Anyone make a video? :) and upload to youtube.

thanks.
[Defy Android Development] paulle:
it's only for defy plus?

this rom, it's only for defy plus +?
[Defy Android Development] maury1234:
I managed to boot my defy green lens :D it takes a while thou, and wipe is needed

edit: this is 2nd boot kernel 3.0 right?
[Defy Android Development] paulle:
it's a defy without + ?
[Defy Android Development] maury1234:
yes, make sure to wipe data and give the phone some time to boot.. I wiped before and after flashing, don't know if it would make a difference
[Defy Android Development] Shubhamqweasd:
i also booted it in 3rd try :D

for me there is no flickering , not a single flicker :D

however rom is laggy for now ( what should we expect from a 1 week old kernel ):D

thank u quarx :D
[Defy Android Development] theclaytons:
Can you make calls, send SMSor connect to the internet? Can you charge the device via wall or USB? I'm super excited for mostly working 10.1 on 3.0 kernel. Am addicted to flashing (ROM's)
[Defy Android Development] maury1234:
According to the first post, "No sound/usb/ril/gps/vibration".

In this case, RIL stands for "Radio Interface Layer" or the gsm signal, so basically no calls no texts no data no connection to satellite whatsoever :(
[Defy Android Development] theclaytons:
Yep - that is what I understood from opening post, not quite ready for me to flash yet....will check every day!!!
[Defy Android Development] sunil_defy:
after 23-1 build system doesnt boot.

after wiping cache and dalvik...stops at the moto logo
[Defy Android Development] pgreed:
:confused: Another kernel? The 3.0x kernel is in alpha stage and you wanna somebody to jump out with custom release? That's a better joke than those of Quarx :)
[Defy Android Development] TJKV:
Re: [JB+] CM10.1 Android 4.2.1 for the Defy(+)

I think he means use the cm10.1 build, but replace the alpha 3.0 kernel with a more stable kernel (like jellyx).

Anyway that may not be usable, reason for developing a 3.0 kernel was to solve sdcard issues in cm10.1 with older kernels. So if you flash jellyx and assuming it boots up, sdcard would still be an issue. That's the reason Quarx hadn't proceeded with cm10.1 for the defy, and had to work on a newer kernel first.
[Defy Android Development] douglasanpa:
Re: [JB+] CM10.1 Android 4.2.1 for the Defy(+)

on my Defy (mb525 red lens) begins only after selecting the 2nd-boot-uart.

Enviado do Defy+ com CM10 by Quarx2k
[Defy Android Development] atulclassic:
Some brilliant memory management

There is some brilliant memory management is going on..i have 250mb free(out of 475mb) at any time with Next launcher running(much heavier than trebuchet)..screenshot attached
[Defy Android Development] hackergnome:
It's not implemented yet, says coming soon!
[Defy Android Development] measel:
since when was converting save?
[Defy Android Development] atulclassic:
Is it possible

[MENTION=513620]Quarx[/MENTION]..is it possible to add this recovery instead of TWRP

http://xdaforums.com/showthread.php?t=2201860
[Defy Android Development] ccav2000:
Don't hold your breath, CWM in any version is not open source, TWRP is. That's why he replaced it.
[Defy Android Development] Kayant:
True but Philz implementation is somewhat open-source..... The source can be found here - https://github.com/PhilZ-cwm6/philz_touch_cwm6

But I think the main issue is that because we have a locked bootloader, can't modify our system partition and what ever other quirks we have.... Special flags are need to ensure it works for our device and I think twrp has some these flags already setup that's why it was easy for Quarx to add it however with CWM from my understanding at least Quarx will have to fork/ maintain and modify Philz CWM for our defy which is extra work that he wouldn't need to do with twrp well it least that's what I gathered from looking at our recovery source here - https://github.com/Quarx2k/android_bootable_recovery/commits/jb4.2-defy
[Defy Android Development] Geckø:
Why the last version available with the ROM Updater is CM10-20120929-NIGHTLY ?

I got CM10-20120924-NIGHTLY-mb526 on my Defy +, i would like use the ROM Updater for use 10.1 on my phone. This is possible or i need new installation?
[Defy Android Development] ccav2000:
ROM updater is deprecated and no longer supported. You need to update manually.
[Defy Android Development] Feche:
Hmm I couldn't find the link, can you give it please? thankssssssssss
[Defy Android Development] xarcoft:
Here you have a mirror buddy :)

http://www.mediafire.com/?wqxj3wsu0jjv3
[Defy Android Development] Feche:
Thanks! It doesn't have a thread or something?
[Defy Android Development] xarcoft:
Yeah, here: http://xdaforums.com/showthread.php?p=40789397

Check post #1146
[Defy Android Development] kryzeK:
This does take pictures faster?
[Defy Android Development] dabanhfreak:
the device becomes extremely hot when I leave it plugged in fully charged.
[Defy Android Development] Bleak3993:
I'm getting "insufficient storage available" error on google play, I've tried everything I found on xda, wiping cache/dalvik, unmounting sd and installing, looking for odex files, and more, and notice that I have around 150 mb on internal and 500 mb on SD card of free storage, and the app that I'm trying to install is facebook and google search...
[Defy Android Development] warewolf4586:
Wifi not working for me

On MB526, I did a fresh install of CM10.1, 11 May build. ( wiped data + cache + dalvik )

also wiped system partition as suggested in one of the posts.

Installed the latest Gapps 20120301 for 4.2.2

wifi is not turning ON :crying: , is there any other thing to be done or any patch for this ?
[Defy Android Development] Feche:
Try removing battery
[Defy Android Development] Nchls:
Flash the build again.
[Defy Android Development] warewolf4586:
Is there any other Gapps to be flashed for this ?

or the one I am flashing, as mentioned above is the correct one ?
[Defy Android Development] Nchls:
Just flash the minimal gapps that you have or whatsoever. I had this problem and what I did was just flash the build again. :)
[Defy Android Development] slimshady76:
Did you wipe the data and cache just for Google Play? That and a reboot did the trick for me.
[Defy Android Development] Matzemink:
Does anyone have a flashable zip of TWRP 2.5.0.0?