yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] okij:
Feedback for Blechd0se's new kernel release and question about the 31.08 ramdisk file

Many thanks for your kernel_10.09 release! :)

Today I installed it on my Defy+ (running CM10.2) and it was the first time I could successfully run "fstrim -v /data" and "fstrim -v /cache" in the Terminal Emulator window, where before I always had errors like "FITRIM: Not a typewriter" with your older kernel_31.08! This now proves again that it indeed wasn't a memory controller issue! :victory:

However, I still have big problems (i.e. the boot process stays at the CM logo for >10 minutes, so I have to pull battery) if I install the ramdisk from 31.08 at the same time, e.g. by installing today's slimshady76's flashable zip for CM10.2 (thanks [MENTION=1955066]slimshady76[/MENTION] for the zip anyway)!

On the other hand, if I copy just the zImage file from your kernel_10.09 to the right place and set the right permissions, my Defy+ boots up successfully and fstrim works like a charm now.

Because of this I'd like to ask you, what the newer ramdisk file (from kernel_31.08-cm10.2.zip) is needed for (or if it's needed at all) and what can be the cause for the bootloop at the CM logo? :confused:

I'm asking this because it would be great if your recent fstrim-development could make it into the next CM10.2 (and CM10 / CM10.1) nightlies, but of course they should run as stable as possible and not suffer from a not-working ramdisk for some of us. :D

On a side note: There have been some of us asking if you could implement [MENTION=4841764]SlugZero[/MENTION]'s support for USB Host Mode into the kernel. I would also be interested in this!

Thanks again and keep up your great work! :cool:
[Defy Android Development] cyrusct82:
This is the source for USB Host Mode https://github.com/slugzero/jordan-kernel

And this is the post were was made the announcement

http://xdaforums.com/showthread.php?p=45331483

I'm not interested in this but may help the dev
[Defy Android Development] ccav2000:
I can answer your ramdisk question, the only change in the newer ramdisk is that enables the "discard" option to be passed as an option when the filesystems are mounted. This enables trimming on-the-fly but can cause slow I/O and other problems. I myself have serious issues as you have noticed, and even google has chosen the occasional trimming in Android 4.3, done about once per day when the device is idle and charging.
[Defy Android Development] okij:
Thanks for this info! :)

[MENTION=4855459]Blechd0se[/MENTION]: So IMHO this means that the the "discard" option should not be enabled in the ramdisk of the official nightlies, because it leads to problems for some of us and also Google decided against trimming at boot time. What do you think?

BTW, does anyone know if the above described "Google method" of occasional trimming implemented in CM10.2 (because it's based on the source of Android 4.3)? If not: Can and shouldn't it be implemented then? :cowboy:
[Defy Android Development] Blechd0se:
[MENTION=2871913]cyrusct82[/MENTION]

I am aware of this, but until i won't recieve any greenlight here, i won't merge it ;)

I can't maintain this.

[MENTION=4916555]okij[/MENTION]

I may decide to turn of the discard option. So many random errors.

Users can either switch to 4.3 or run the command every couple of months.

The fstrim option will be available in the next nightlies, like all my other changes. This will be a pretty big update for the kernel :)

[MENTION=4883523]fairxda[/MENTION] and [MENTION=3344838]ccav2000[/MENTION]

After i have seen your logs i was scared. Many random errors and i still couldn't reproduce all of them (i spent the whole evening on this).

My first intention with a spinlock was not as good as i thought it will be, so i switched to a mutex_lock implementation on my local build.

Maybe i can nail it now, haven't seen any crashes with it and the device won't freeze that hard like before.

Deepsleep is also no problem for me. I will merge some performance patches and play around with trim during that time.

If i can't encounter any problem, i will push a new nightly. Thanks for your detailed feedback!
[Defy Android Development] harsh_voldy:
3G connection on Defy+ using T-mobile

Hey,

I'm using CM 10.1 CM 10.1-20130626 version on my Defy+ and just moved to US from India. I bought a T-mobile plan which gives me 5 GB of data per month. Unfortunately I am not able to use 3G on phone. I tried almost all the basebands and all frequencies. Whenever I turn 3G on, I get zero range. If I switch back to 2G, I get full range and 2G works without any problems. Is this a problem of baseband frequencies or a bug in the ROM ? Can someone please help me regarding this. Its extremely frustrating to be stuck with using 2G eventhough the phone supports 3G and carrier is providing 5 GB of 4G data. T-mobile website shows 3G network coverage in my area ie. Allston, Massachusetts.

EDIT : Sometimes, when I switch to 3G, i briefly connect to HSPA network before i lose range, however no data transfer takes place. I can only see small uploading arrow but no downloading arrow. And then later again the range vanishes in a minute or so.
[Defy Android Development] K3n H1mur4:
For your best, I hope somebody corrects me, but this issue is not solvable in this thread or on XDA at all. From what I know, this happens simply because T-Mo doesn't operate for 3G on the frequencies your Defy supports, so you won't get any coverage, no matter where. I really think that, if this is the case, that the only solution will be buying a new phone, and keeping your Defy with a pre-paid SIM from another operator, as a secondary phone. It has been almost 3 years since Defy was launched, so this might be a good idea for other reasons, too, like performance and community support. You can also cancel your T-Mo contract and check other operators, but I honestly think getting a new phone (you don't have to get a killer one, though - a Galaxy Nexus, i.e., is very affordable nowadays [but I don't think there are any brand new units available], and some models even have LTE, though I can't assure there is a T-Mo compatible one) would cost you less than the rescission fee.
[Defy Android Development] Antiga Prime:
In further support of what [MENTION=1740200]K3n H1mur4[/MENTION] said, T-mobile uses 850/1700/2100 for 3G, and as far as I know, in India the 3g frequencies are 900/1800, so you'll never get 3g with T-mobile. This is not a software issue, but a hardware one, so no fixing unless you had a Defy made for 900/1800, such as they are made for in Europe, I think, or swap out the entire mainboard.
[Defy Android Development] thekguy:
Try the 3g fixes(radio) for t mobile(search in the dev forum). That may work
[Defy Android Development] Antiga Prime:
No it will not. It's a hardware issue, not a software one. From the post itself:

If his phone was made to use the 1900 band, when T-mobile uses 1700, it will not work.
[Defy Android Development] thekguy:
http://xdaforums.com/showthread.php?t=2071199. Not very clear on this myself, but that seems to have worked there. Also no harm in trying when there's nothing to lose.
[Defy Android Development] atulclassic:
try flashing defy baseband switcher ..posted somewhere in this thread
[Defy Android Development] measel:
I did mean to post this here... sorry!
[Defy Android Development] SlugZero:
It's up to [MENTION=4855459]Blechd0se[/MENTION] whether he decides to merge it, but I would not recommend it right now. There are some things I want to improve first but I will provide a proper version next month. So please be patient a little longer :)
[Defy Android Development] sunil_defy:
Quarx has started working on nightly not long before we see a nightly.
[Defy Android Development] TJKV:
[MENTION=4855459]Blechd0se[/MENTION]

Just saw this, sounds like something you could use :)

http://xdaforums.com/showthread.php?p=45642229#post45642229

I am not sure what this is for but since you are our kernel dev I thought I'd share it with you :p
[Defy Android Development] Blechd0se:
Thank you for this :)

Unfortunally i started working on the app yesterday. I can learn

some java and if its stable we can put it in our rom :)

I want to keep it as simple as possible and will release status updates on g+

I have pushed some nice kernel updates yesterday which are not

in the rom yet, so i might take a break there and force me to

write this app :)

Gesendet von meinem Nexus 7 mit Tapatalk 4
[Defy Android Development] Lord_Flaya:
Nope, did install kernel after ROM, but I flashed sbf and started from scratch and now it is as intended. =)
[Defy Android Development] hrk:
Since Quarx seems to be dedicating most of his time on 4.3, is somebody else ( [MENTION=4855459]Blechd0se[/MENTION]?) willing to build a ROM matching CM10.1.3-stable?

[In an unrelated issue, I can't figure out why KSM is not working (although enabled in the kernel!) on the HTC Desire Z unofficial CM10.1 ROM by [MENTION=4350964]Flinny[/MENTION] and [MENTION=1270461]NeverGone\RU[/MENTION]. Doing echo "1" > run enables it, but no pages are ever shared. [MENTION=4855459]Blechd0se[/MENTION] did you experience any issues with it on the Defy?]
[Defy Android Development] Antiga Prime:
Are you sure KSM isn't working? Couldn't it be that perhaps no apps are using KSM?

"To be effective, the operating system kernel must find identical memory pages held by different processes."

If there are no processes that fit this criteria, no pages will be shared, regardless if KSM is enabled or not.
[Defy Android Development] hrk:
I guess Dalvik is "KSM-aware", as on the Defy (experimental device), with a subset of the apps of the DZ (daily driver), KSM shows shared pages.

The DZ, except for "pages_to_share:100" has everything else at 0.
[Defy Android Development] bhupatib:
I'm on latest JB 4.1 and have already had 2 data corruption (where everything resets in your phone after it shuts down due to low battery). Since 4.2 has the working mobile data patch (hasn't been successfully ported to others) and has working YouTube (it crashes in the last two 4.1 builds) it's making sense to switch over, so is the corruption bug any better in 4.2?

It's kinda strange since it doesn't happen all the time. Of the 6-7 times that my phone died of starvation, only 2 times data got corrupted.
[Defy Android Development] coolshahabaz:
[MENTION=513620]Quarx[/MENTION] when we'll get the stable version of 3.0.8 kernel for our defy+ ???

Thanks in advance! :)

sent via xda-Dev app (MB526)

Hit Thanks if I helped you :)
[Defy Android Development] cyrusct82:
1st rule of xda "NO ETA"

If you want a stable 3.0.8 make your own one.
[Defy Android Development] coolshahabaz:
i kno that "NO ETA", but i am just curious about that kernal :) coz that kernal could give us a new level of support n speed :angel:
[Defy Android Development] TJKV:
Everyone here is waiting for it, but you are the only one asking when it will be ready. So look around, learn what to say and what not to say here. Also it is kernel not kernal.
[Defy Android Development] coolshahabaz:
its auto correct coz of this KERNAL....m just asking man....its been a month since last nightly, actually m not asking the final build but for the latest build on 3.0.8..

now plz close this topic..

N m sry ;)
[Defy Android Development] portsample:
I'm back, ("bump").

Been running the July 2013 build on my Defy+ since it's release. Great cellular reception, never ever-ever-ever had reboots or lock-ups. Last Sunday I reinstalled the stock Nordic ROM, rooted, added SndInit, followed by RomManager and deft_twrp_recovery and installed CM 11.0 as per instructions from the forum. Cellular reception was massively worse, (even after registering with ATT and changing to a baseband frequency that worked for 850/1900). On top of that the "telephony layer" had problems at least 1-2x per hour requiring a reboot.

So, I decided to switch back to 10.x using the most recent 10.2 release. Installation went okay, however during boot loading, the blue LED goes off, followed by a green LED and a black screen. The OS never boots up. I've tried this with earlier releases of 10.2 with the same results.

Does anyone have any ideas what is going on? I'm now back in a July2013 10.1 build with great cellular reception. Thanks.
[Defy Android Development] lohtse:
loving this rom on my defy mb525.... Just wondering if there's a prp build for it and what the latest kernel is?
[Defy Android Development] lohtse:
which kernel (experimental) is best??? please advice? and is the original one that comes with the rom available?
[Defy Android Development] hotdog125:
The one that comes with the latest nightly is the best kernel. The only other kernel for CM10 and above was the JellyX kernel, which was succeeded by the newer AeroKernel.
[Defy Android Development] lohtse:
Hadn't noticed till yesterday as not taken any photos with camera but the photos are somewhat blurry!!! was fine on stock so am unsure as to why....ANy ideas guys?
[Defy Android Development] mmbytes:
Oh, just noticed that there is not much happening here any more...

Was running happily on this kernel for half a year and just wanted to install new, could someone please point me to the thread with the latest kernel mentioned above?

Thanks everyone!
[Defy Android Development] phobos_1984:
http://xdaforums.com/showthread.php?t=1001117

:)
[Defy Android Development] TJKV:
Yeah, I used to follow that thread when it was active but I assumed it was not possible on the Defy. Anyway let's see :)
[Defy Android Development] kanpurite:
Seems like kfazz has started working on camera

https://github.com/kfazz/jordan-kernel/commit/84f3ebd9b88f68940797f173b3a904ac358cd418
[Defy Android Development] PsyClip-R:
l4v2

It would be long and hard work.

But if the developer can reach the goal - Defy will get the best video quality ever possible. Along with 720p encoding.

I just compare raw video from my webcam in Linux and Windows. A huge difference.
[Defy Android Development] YaPeL:
And it will be better than on GB because....???
[Defy Android Development] kanpurite:
modem

I had a chat with czechop regarding the kernel and here's his reply :

Just sharing in case quarx missed it :)
[Defy Android Development] eagleeyetom:
Thread cleaned. Please do not post unconfirmed info.
[Defy Android Development] Quarx:
New build uploaded (2.6.32) http://quarx2k.ru/cm10.1-nightly-defy+/2.6.32/

Works: Camera, Wifi/AP/Direct, SD-Card, Sound, Phone

Not work: BT, FM-Radio, Video Rec.

I'm not tested build so much.. maybe random bugs.
[Defy Android Development] Kayant:
Quarx I was wondering since the CM build system has dropped support for custom squisher are you going to be using a different method like using custom release tool instead ? Or will you just fork it again and readd it?

Also Thanks for the update :)

Let's Go ^_^
[Defy Android Development] Bleak3993:
Awesome!! the new build on 2.6.32 kernel should be stable enough for daily use, right? obviously having in mind the all those things that aren't working, everything else should be working well, right? , also, what is the difference on the usage experience between both kernels? 3.0 is faster or something like that?
[Defy Android Development] jassi32:
IDK , if this post will b of any use or help ,

some Chinese guy booted Custom kernel 3.0.13 via Kexec on ATRIX 2

link -- http://www.591fan.com/thread-43502-1-1.html
[Defy Android Development] turffe:
I see in ES File Explorer 2 same sdcards: storage/sdcard & storage/sdcard0. Is this normal?

EDIT: On earler builds with 3.0.8 kernel there is only one storage/sdcard1.
[Defy Android Development] 57op:
I guess it's normal, because in android 4.2.2 multi-user was introduced. Therefore every user has its own data 'folder' (for photos, musci, app data, etc.).

First user is no. 0
[Defy Android Development] kryzeK:
bad battery here, off 100% when I turn 90%

EDIT: battery is discharging from 10 to 10%
[Defy Android Development] vpaiva:
I confirm that battery drops from 10% to 10% on 25/03 2.6.32kernel

And Im having issues with wifi, it seems thats reconnecting from time to time.
[Defy Android Development] sebx_g1:
Yes it is almost possible , I'm going to try this build as daily rom :p . So far so good no single FC , quite fluid UI , looks promising .
[Defy Android Development] walter79:
AW: [JB+][3.0.8/2.6.32 kernel] CM10.1 Android 4.2.2 for the Defy(+)

After a system or a kernel update charge phone to 100% and wait 60-90 min. Wipe battery stats and unplug charger. Use your until it switch off. Now charge your phone 100% plus one hour.

= no drops.

edit: if you use a defy+ rom with normal defy battery a 10% is normal.
[Defy Android Development] Pottkopp:
running very smooth so far with 2.6.32 kernel but I'll have to wait for wifi fix to come till then not for daily use for me ;)
[Defy Android Development] bone101:
AW: [JB+][3.0.8/2.6.32 kernel] CM10.1 Android 4.2.2 for the Defy(+)

Same battery steps here
[Defy Android Development] Kayant:
To fix battery steps add the following to your build.prop and reboot

ro.product.use_charge_counter=1

Quarx seems to have forgot it has there is a new implemention now...

Let's Go ^_^
[Defy Android Development] kryzeK:
FC in HDR camera option
[Defy Android Development] vpaiva:
Also got this

Its dropping fast, but not that fast.
[Defy Android Development] Tjunkustc:
wifi is poor...:crying:
[Defy Android Development] demoliner:
the builds with new Wlan driver... but still cant connect to my wifi network

it tried once or twice to connect, and then shows my network unavalaible!
[Defy Android Development] triovi:
Tested . I install also Seeder for more entropy. The menus works perfect.

I have also the well know problem with wifi like the new 4.1.2 rom. If the signal is poor i can't connect to acces point.

I can make HDR photos, but after the 3 pictures are taken, crash when it save hdr picture.

Battery drain it seems ok, 10% in 5 hour,but the measure isn't well made.

I'll tray to use as day by day version because I don't use bluetooth offten or video recording. The phone and sms functions are working perfect and it is enough for me

tested on Defy +
[Defy Android Development] sebx_g1:
Can't wait for wifi optimalisation - looks like connection is droped at weak signal very fast . / 2.6.32 latest build/
[Defy Android Development] pabloltg:
Quarx seems solved the WiFi issues, maybe a new build is coming.

After trying 4.2, i cant rolling back xD.

Edit: new build is here!!
[Defy Android Development] kryzeK:
pie control worked for you guys?

EDIT: Enable the "Desktop Expansion" and pie control from paranoid android working!
[Defy Android Development] demoliner:
Updated to the 26/03/2013 build, Wifi problems are fixed! Bravo.. thanks... Quarx you are the best !
[Defy Android Development] myom:
so besides BT and FM is everything working without major problem?? if so, i'm gonna upgrade...
[Defy Android Development] syllogyking:
is Android OS still the highest battery consumer on this build?
[Defy Android Development] pabloltg:
Minimal 4.2.2 Gapps

These are the minimal gapps updated to 4.2.2

gapps-jb-20130326-minimal.zip

mirror

If you want prevent the installation of Google Play Services (green icon), flash this after uninstall the update from app manager..

antigms
[Defy Android Development] kryzeK:
Cam video continues to bug me, but when he plays shooting says he can not play and close gallery

Edit: my apps moved to the sd vanished after upgrading to the latest build
[Defy Android Development] thekguy:
Anyone having music playback fc with 2.6.32 latest build? Other than that build is very fluid and fast

It occurs for me even with audio patch on page 2

EDIT: Wiping app data from settings fixed it
[Defy Android Development] Feche:
is the 2.x kernel build stable for daily use?
[Defy Android Development] phobos_1984:
+1 here

If you can live without usb tethering (Hot spot working greatly), blutooth and some sporadical bug, yes. Today I used the phone a lot also for work: GPS navigation, hotspot to my laptop (downloaded aprox. 500 mb in 3G mode), phone calls, sms and everything was pretty stable and reliable. The battery is a little bit weak in this build, but nothing catastrofical. Oh and data connectivity bug (I have always been afflicted by that) seems gone in 10.1. Give it a try as we all have pretty different experience on our devices.
[Defy Android Development] prisacariu:
first impressions

I still cannot believe that my defy has gone this far , hail Quarx !

The Rom is smooth but has some display bugs that are not repeating :

Entering in the app drawer , the apps on the first page (only the first the rest where ok ) did not appear instead wad a cropped image of the clock from the home screen ( homescrren and entering the appdrawer again the bug disappeared )

Apollo playing in the lockscreen widget was blinking ,

Some lockscreen widgets also bugged

Camera widget : the camera started when not selected

[/LIST]The widgets on the home screen have a little delay on appearing

[/LIST]

Also i have no music apollo and Miui music player not playing (it appears Buffering ) delete cache in app and wipe cache in recovery did not helped => i will do a disk check on the SD card and / or another install and report back

furthermore i miss the unlock by volume roker ( i have ruined the power button due to flashing ) and the kill app by back button ...

EDIT : After check disk and reinstall of rom i still have no music, either by headphones or by speaker . Ringtones and notifications are working fine .

Anyone experiencing the same problem ?
[Defy Android Development] srijithn:
gr8

And now Defy(+) enters into new 4.2.2., Thanks Quarx !!!:victory::victory:

The ROM is awesome (i don use neithr FM nor BT)

Some observations..

1. missing Developer Options (Actually Back to Kill app )

2. Reboot options(Recovery/Normal)

3. Auto brightness not wrkin properly

4. Can see the message as notifications - couldnt find in Messaging ( few messages appear as flash)

5. Lockscreen widgets not optimal size-missing few letters

Could find only these in last 6 hrs of operation...

would Report as it comes !!!
[Defy Android Development] grandpa2007:
AW: [JB+][3.0.8/2.6.32 kernel] CM10.1 Android 4.2.2 for the Defy(+)

7 x build-number ...

Gesendet von meinem MB526 mit Tapatalk 2
[Defy Android Development] TJKV:
1. Settings -> About -> Press Build Number till it says you are a developer

2. You will find an option called Advanced Reboot under Developer Settings after you do 1. That enables Recovery and Bootmenu

3. Dunno, works fine here

4. Dunno

5. Yeah the layout generally seems a bit wonky, so I reduced the dpi to 230 and will patch Play Store with this now.
[Defy Android Development] phobos_1984:
report of some minor bugs, please somebody confirm

- Camera settings menu are shifting position when you scroll them.

- Apollo is not working. Can not play any song and then crashes saying it stopped working. (tried to wipe Apollo's data and cache.

- With VLC I can play music and video.

Other things I tried:

- Smartass governor - in my case made the phone really slow. Returned to Interactive.

- Overclocked to 1200. No problem.

- Enabled KSM. Ok.
[Defy Android Development] Pottkopp:
first I also thought they're not working but you have to add the cLock widget to the lockscreen ;) it isn't by default
[Defy Android Development] prisacariu:
Apollo started working out of nowhere and got fixed (i think media server took some tie to scan the SD card) ... :good:

Also, i really need to unlock my phone by volume buttons : anyone knows a workaround ?
[Defy Android Development] phobos_1984:
Ok! Figured out now! :)

Will edit my previous post!
[Defy Android Development] triovi:
tnx for this hint.

I have a problem with the custom ringtones. The official ringtones are working ok, but the ringtones that I select from sdcard are not played, even more the Activity media storege is crashing.
[Defy Android Development] Pottkopp:
wlan now working and insaely fast *-* gonna use this rom now as daily one as I don't need bt & stuff

thanks so much quarx!! your efforts for the defy (and other devices) are just awesome!! keep up your great work man :) quarx for president!