yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] ansontyl96:
Then is that means we need a3.0 kernel under to use a stable cm10.1?
[Defy Android Development] swapnil360:
Quarx said that we can

1) Use 3.0 kernel

2) Backport 3.0 kernel drivers to the current kernel

3) Something else
[Defy Android Development] sebx_g1:
Do type of formating sdcard make any difference - far32 vs ext4 for example? Shouldn't be easier mount sdcard formated in native Linux format?
[Defy Android Development] swapnil360:
That is different. fat32 and ext4 are file systems. Mass Storage and MTP are mounting methods. Here's an example, my father's Galaxy S II mounts with MTP by default (for now). Linux requires extra steps for mounting MTP. I always have to enable Mass Storage before connecting to my PC with Linux.
[Defy Android Development] walter79:
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
mkdir /storage 0050 system sdcard_r
mkdir /storage/sdcard0 0000 system system
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard

init.rc

# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell 0700 shell shell
mkdir /storage 0050 root sdcard_r

SDCARD: This works for HTC HD2
[Defy Android Development] Quarx:
Yes, on RAZR it work too, but on defy it doesn't work. I have no idea why it happens.

export EXTERNAL_STORAGE /storage/sdcard1
export SECONDARY_STORAGE /storage/sdcard0

mkdir /storage/sdcard0 0000 system system
mkdir /storage/sdcard1 0000 system system

symlink /storage/sdcard1 /sdcard-ext
symlink /storage/sdcard1 /mnt/sdcard-ext
symlink /storage/sdcard0 /mnt/sdcard
[Defy Android Development] Boss442:
why /storage/sdcard0 or sdcard1? never heard about that... why don't use /mnt/sdcard o /mnt/sdcard-ext without symlink?

like:

export SECONDARY_STORAGE /mnt/sdcard

mkdir /mnt/sdcard 0000 system system
mkdir /mnt/sdcard-ext 0000 system system

symlink /mnt/sdcard-ext /sdcard-ext
symlink /mnt/sdcard /sdcard
[Defy Android Development] Kayant:
Could something like this help instead??

on init
# for backwards compatibility
# for backwards compatibility
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
mkdir /storage 0550 system sdcard_r
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated

# Support legacy paths
symlink /storage/emulated/legacy /sdcard
symlink /storage/emulated/legacy /mnt/sdcard
symlink /storage/emulated/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy

# Enable secondary storage
export SECONDARY_STORAGE /storage/sdcard1

# make the pathes for the external media mounts
mkdir /storage/sdcard1 0000 system system
mkdir /storage/sdcard2 0000 system system
mkdir /storage/usbdisk0 0000 system system
mkdir /storage/usbdisk1 0000 system system

Found it here
[Defy Android Development] Quarx:
Emulated storage will not work with old fuse driver.
[Defy Android Development] nostupidthing:
to re-say, the existing custom kernel is too outdated to support JB4.2/CM10.1, either we need backporting some new features back to 2.6.32 or update the kernel... neither one is an easy task, so it seems...

anybody can lend a hand...? (can we kang from other models that use the same CPU? like the optimus black?)
[Defy Android Development] Feche:
I wiped cache and factory reset.
[Defy Android Development] remix96:
HELP Can' t sens SMS!

I installed it and everything is working, except sending sms :(

I already changed smsc number and baseband, but i still can't sens sms. How can i do?

P.S. I did a clean installation, for 3 times.
[Defy Android Development] atulclassic:
No wake up at charger connection

Guys..did you notice that at the time of connecting the charger, defy is not waking up as it used to do on stock and 4.1 earlier

Also..missing volume rocker wake..it certainly helps saving power button life
[Defy Android Development] thekguy:
Yeah, but I prefer it that way:)
[Defy Android Development] mja711:
"shake and wake" apps.

+1 on the "no wake up on connecting charger"

About the volume rocker ... u could temporarily use one of the "shake and wake" apps... its not as good as the vol rocker one but it is better than using the power button .... try "Screen control" from play store... I use it and like it.... Hope i Helped :)
[Defy Android Development] justjr:
My phone flies almost all the time, with ZEN i/o, InteractiveX, 300/600/900/1100. But it looks to slow down as the battery power goes down. When it is like 15% and above, it becames really sluggish sometimes. Anybody have a clue about it?

Catlog keeps showing that BATTD and panic_daemon could not open some files.
[Defy Android Development] YetAnotherForumUser:
Solution for volume rocker wake: insert config parameter manually

There is a simple solution for those who want to enable volume rocker wake on a CM10.1 device which did not have this option enabled before 10.1 was installed. Settings are stored by the settings provider, in this case com.android.provider.settings. The settings are kept in a sqlite database, which can be modified using the sqlite3 command line tool. You need to be root to access this file.

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO system(name,value) VALUES('volume_wake_screen','1')"

If it does not work immediately after running this command just reboot the phone and it should work. If you ever want to turn off this option, just replace the '1' with '0' in the INSERT statement (this works because the name column is defined as 'name TEXT UNIQUE ON CONFLICT REPLACE').
[Defy Android Development] MB525:
You could repair your power button . I did. The problem is the membrane between button and switch, not the switch itself.
[Defy Android Development] jassi32:
Bluetooth fixed on 4.2.2 :)

Quarx posted on Facebook

https://www.facebook.com/photo.php?...89012.100002190862720&type=1&relevant_count=1
[Defy Android Development] atulclassic:
awesome work..

---------- Post added at 09:56 AM ---------- Previous post was at 09:55 AM ----------

but how to fix it..any new build or flash file?

---------- Post added at 10:00 AM ---------- Previous post was at 09:56 AM ----------

not worth after trying..it doesn't wakes up if you have selected the option of sleep from default and not from the supported button in app.
[Defy Android Development] Pallmalli:
Sorry for my noob post but this command does not work for me on Terminal Emulator. It says syntax error.

Edit: managed to do it. The problem was the sd card was not mounted. Had to mount sd card first and than the command worked. Thank you.
[Defy Android Development] danch92:
when will the new build come out

and how i instal gapps in cm10.1 if the rom is so big???
[Defy Android Development] atulclassic:
do it again correctly..type su and enter..then type the whole command

check whether you have sqlite 3 installed..if not..refer this.

http://xdaforums.com/showpost.php?p=18703418&postcount=5021

there is a supercharger startup kit..download and run as SU in script manager

---------- Post added at 12:21 PM ---------- Previous post was at 12:19 PM ----------

you can delete bloatware from build..

i did mine and reduced zip size to 156MB
[Defy Android Development] danch92:
what is bloatware?
[Defy Android Development] ccav2000:
This.
[Defy Android Development] atulclassic:
back soft button response time

Guys..is anyone facing issue with increased response time of back soft button?
[Defy Android Development] FcukBloat:
Wow time to give 4.2 a try since bt have been fixed! Waiting for new build to come out!! Thanks a lot dear quarx!!!
[Defy Android Development] rol525:
Work good but i can't instal adAway

And the screen consumes too much battery
[Defy Android Development] coolzarjun:
Does anyone experience a lag between hitting the power button and display turning on to show lockscreen??? ... I do and its a good 1-2 sec lag.. Slight keyboard lag is also present

I tried jellyX kernel.. Oc to 1.2ghz but still its there.. Can anyone confirm?
[Defy Android Development] Shubhamqweasd:
yes for me also :(

---------- Post added at 02:12 PM ---------- Previous post was at 02:03 PM ----------

13.04.13: Fix BT, add Volume Rocker Wake Support and Expanded Desktop preference. 5Ghz WiFi (not tested)

woow , 5Ghz with compatibility or complete support ,

it means our defy can get speeds upto 15MBPS in real ?
[Defy Android Development] Alxnjs:
New build :D
[Defy Android Development] Shubhamqweasd:
is there a problem with sd-card copy speeds from PC ?

i mean while copying , the copy speed stays about 50MBps for the whole time , but at the end the speed suddenly freezes ,

and then it takes the exact amount of time as it would have taken with normal copy speeds ..

but yes the file copies successfully without any errors :D
[Defy Android Development] Quarx:
About 5ghz, i enabled this in rom, but not sure works it or not...My Zyxel Keneetic only 2.4ghz.
[Defy Android Development] TJKV:
That's a windows thing, I see it happen with many of my flash drives too....
[Defy Android Development] ccav2000:
From what I know, 5GHz are mostly used in USA. Cannot test it either, my Edimax AP is 2.4Ghz only.
[Defy Android Development] FcukBloat:
Downloading new build.. someone has already tried if bt is really fixed? Tx
[Defy Android Development] pl4yeR:
I have started from scratch to flash this latest 13/04 build and I still have issues with WiFi AP. Same as before. When I switch on wifi tethering, the mobile signal drops and the phone ask me to enter PIN again. Later PC can conect the net created, but no internet is avalaible. This happens only if data is enabled before start the tethering, if data is off no drop happens but when I connect data, still no internet avalaible on pc. This happens too with usb tethering :confused: and do not happen in 26/03 build...

Could somebody point me to rigth direction? can be this issue caused by SIM card? My mobile provider? By some commit between 26/03 and 09/04? :crying:

BTW: bluetooth works!!
[Defy Android Development] gkovacsp:
Does "BT works" also mean FM radio works as well?

Sent from my MB526
[Defy Android Development] ccav2000:
The new build just booted here, Bluetooth seems to work but unfortunately the RIL problems persist, data connection still takes many tries until it is established, and that causes a big delay.
[Defy Android Development] JayH5:
Quarx, 5GHz wifi is not gonna work. It requires a separate RF power amplifier that the Defy does not have...

As always, thanks for your work ;)
[Defy Android Development] ccav2000:
Just tested Bluetooth tethering. It does NOT work. The devices pair successfully but the client device cannot connect to anything. WiFi tethering works fine.
[Defy Android Development] atulclassic:
is due to the heavyness of the build..afterall defy is built for GB and we are running JB 4.2 on it..it surely running on extreme levels.
[Defy Android Development] emartino:
Hi,

standard phone calls directly from the phone and via BT (in my car) did not work at all - only silence on both sides. Only after I changed in the Baseband Selection to 3.4.2-145 for my region (Germany, E-Plus, 1900 MHz) and a reboot now every thing works fine again with the April 13th Rom.

Thanks a lot!
[Defy Android Development] gkovacsp:
It was slow for me as well for a week or two, then it changed and the delay is gone.

I don't beleive it is the "heaviness", it is just a coincidence of other circumstances... can disappear anytime
[Defy Android Development] ccav2000:
Serious bug with the Bluetooth in this build: if Bluetooth is turned on, without being paired with anything, you completely lose audio in phone calls.

Also, in the Bluetooth tethering bug I mentioned earlier, the client device gets no IP address, so of course tethering cannot work.

I suggest to not use, or use very carefully bluetooth in this build.
[Defy Android Development] Prowler:
I have a mokee 4.2.2 build running now, works pretty nice and has a lot of extra features, but i need bt for my headphones, anyone know if bt workaround is in kernel?
[Defy Android Development] TJKV:
I see the lag only when the camera lockscreen "widget" on the far right is enabled. When I disable it using the app "Lockscreen Policy" from play store, no more lag. Other lockscreen widgets aren't a problem as far as I can see...

Also Turning screen off and immediately turning it on causes a small delay, but waiting for 5 seconds and then turning it on is normal. So unless you are turning the display off and on rapidly, this should work okay :)
[Defy Android Development] pl4yeR:
Well, since it's impossible to me to have working wifi tethering, another question: do you have working usb tethering? mine does not work either :(

BTW, with wifi tether for root users I can share the internet correctly, but I can't change the SSID or the encryption or enable access control.. perhaps somebody can tell me how to config that app to change some of these parameters?
[Defy Android Development] ccav2000:
Update on my Bluetooth tests: tried my Bluetooth headset. Paired easily, but when I tried a test call... well, there was audio, but horribly distorted audio. The bluetooth support with the new BT driver definitely needs some more work.

To not be all negative, the WiFi works very nicely for me, WiFi tether too.
[Defy Android Development] pl4yeR:
Yes!! After too much research I have managed to have tethering working... The problem is something realated with my provider and the defaults apn setted in android.

I post the solution hoping that if anybody face the same issue could solve it.

The workaround is to execute in terminal

su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE"

I think that it must be executed each time. I wish I understand what this command do to try to make the changes permanent!

Grettings!
[Defy Android Development] walter79:
check that "dun" is enabled in APN settings (apn typ)
[Defy Android Development] rol525:
For a good experience delete some system apps and install nemus launcher
[Defy Android Development] pl4yeR:
yes, it is set to "default,supl,dun" since I read a post talking about that here in XDA. But does not work. The fact is that my provider is a virtual one, son of orange, so that the apn is not set automatically. Android setup orange apn and I have to modify it in order to have data access. And seems that this kind of apn has problems with tethering in android 4.1+ .

This has been reported by hundreds of users, and one of these people post the solution here: https://code.google.com/p/android/issues/detail?id=38563#c122

Grettings!!

Edit: Hundreds, not thousands... English mistake, sorry.
[Defy Android Development] FcukBloat:
I installed 4.2 for the first time and it seems wonderful to me compared to 4.1..everything i tried so far is working great.. thanks quarx!

Just a question..i can't use swiping keyboard even after enabling the gestures in android keyboard (aosp) settings..any suggestion?

Ty guys
[Defy Android Development] XJeFX:
Hi, i'm trying latest build (20130413) and phone is not getting signal easily... sometimes it gain signal but when phone signal is working wifi doesn't work, it can't even activate.. and when phone signal is not working wifi works like a charm... something there is messed up :cyclops:

Note: I slimed gapps, maybe something i deleted there is messing the rom?

I tested the same rom on a friend phone and has the same problem.

Any "minimal" gapps for 4.2.2?

Cheers
[Defy Android Development] sa3e1:
Somebody posted a minimal gapps version in this thread a while back, it works fine!
[Defy Android Development] Anton111111:
Today installed cm-10.1-20130413 with full data wipe (factory reset). And i have problem with wifi. I have connection, but i have not internet and can't ping gateway. Have somebody any solution ?
[Defy Android Development] roomunho:
strange thing with new builds. when i do 3xwipe and then install ROM (without gapps) i've got ~30 MB of free memory. when I clean data with service menu, then install CM10 from SBF, and then latest ROM i've got ~100MB (without deleting any apps from ROM). after instaling swiftkeybord, es explorer, apex, deleting unwanted apps from ROM (CM file manager, cm wallpapers, trebuchet, ringtones, notifications, pico languages etc) and installing full gapps i've got ~40MB of free memory. i don't know about BT, wifi/bt thetering (couse i don.t use them), but the ROM is just great. i just miss zRAM ;)

and brightness buttons works with screen auto brightness :D

great work QUARX! you're a god!
[Defy Android Development] TJKV:
I posted a minimal version a while ago, just search for my posts on this thread,,,
[Defy Android Development] Feche:
I can't install JellyX kernel on 13/4 build, I flash the zip but when the phone restarts goes into recovery mode again and again and again..

Also, can't use bluetooth GPS receiver, there is no such option now on GPS settings.
[Defy Android Development] sunil_defy:
Great build. Had to install gapps. I wish swipe keyboard could work.
[Defy Android Development] ccav2000:
Has anyone else tested Bluetooth with a headset and BT Tethering?
[Defy Android Development] Quarx:
Bluetooth headset will not work, because our audio moto lib writed for old BT stack.
[Defy Android Development] rgadge:
I tried rebooting and the phone detected the IMEI and then I was able to install Whatsapp. Thanks for your suggestion. :) :good:
[Defy Android Development] bone101:
Anyone know which apks can be deleted from system/app without issues while booting

Because after i remove all unneeded stuff from there i stuck in bootloop

Sent from my MB525 red lens
[Defy Android Development] sa3e1:
Swiping is working for me on stock keyboard, and also on SwiftKey, what language are you using?

HWA settings is force closing when selecting something to disable, this happened for me also on the previous nightly. Deleting data for app didn't help. Any idea what can be causing this?
[Defy Android Development] ccav2000:
I suppose the only way to fix this is to use our own kernel and libs. Maybe in the future if the 3.0.8 kernel works.

But at least tethering should work, and activating Bluetooth should not kill audio in phone calls.

---------- Post added at 11:41 AM ---------- Previous post was at 11:34 AM ----------

Back to the RIL problems and my data connection, I think I may have found a way to make the problem less annoying: I modified my carrier's APN and selected CHAP authentication, by default it was in "not set". Now it only needs 2 tries to get the connection up and running, that's less than 30 seconds. This needs to be tested further, as it could be a coincidence.
[Defy Android Development] TJKV:
I usually remove the following:

BasicDreams.apk
Calculator.apk
Calendar.apk
CMFileManager.apk
CMUpdater.apk
CMWallpapers.apk
Email2.apk
Exchange2.apk
Galaxy4.apk
HoloSpiralWallpaper.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk
LockClock.apk
MagicSmokeWallpapers.apk
MotoPhonePortal.apk
NoiseField.apk
PhaseBeam.apk
PhotoTable.apk
QuickSearchBox.apk
SoundRecorder.apk
Term.apk
Trebuchet.apk
UserDictionaryProvider.apk
VideoEditor.apk
VisualizationWallpapers.apk
VoiceDialer.apk

But if you remove Trebuchet then you NEED to put in another Launcher apk...

Apart from those apks i remove:

\media\videos
most audio files in \media\audio
\usr\tts
some scripts in \addon.d

Totally I remove around 60MB.
[Defy Android Development] ccav2000:
Thinking of the binary blobs Motorola has inherited us, it's tough work to reverse engineer them and write our own. Even if we leave RIL aside, the audio libs will be a pain in the ass. They also incorporate their own proprietary Crystal Audio in it, which uses a second microphone for noise cancellation. Then there is the speakerphone, the wired headset and it's button, and of course the BT audio devices. We seriously lack developers, this is a big project.
[Defy Android Development] swapnil360:
gApps (includes minimal+full+addons) http://goo.im/devs/BaNkS/GApps

Also, gesture keyboard's working awesome for me. ROM is working beautifully but I'm experiencing some battery drain.
[Defy Android Development] FcukBloat:
I can t use gestures even if i enable it and i use english..i see the blue trace when swiping but no words are generated.. :( can you confirm stock keyboard is "android keyboard (aosp)" in settings?

I think so because i made a clean install without restoring anything but who knows..

And..what is swiftkey?

Thank you
[Defy Android Development] sa3e1:
@moly82

Yes, it is Android Aosp keyboard, it even swipes hungarian, I also tried english > working fine

SwiftKey is available in the Play Store.

Using 04.13 nightly, with gapps-jb-20130301-minimal_cm10.1_edited.zip
[Defy Android Development] sunil_defy:
I am experiencing the same thing. The blue line appears though.

---------- Post added at 11:26 AM ---------- Previous post was at 11:25 AM ----------

Don't want to use a paid app.
[Defy Android Development] ccav2000:
Have you checked if the appropriate dictionary is installed? Just to be safe.
[Defy Android Development] vrl13:
Hello,

I would add DRM, DSP and Keyboard to these.

In the last year I got to acquire many paid or free apps that CAN run from my 32Gb class 10 uSD thus leaving plenty of room in the /system or internal storage.

And since there is a very usefull aspect to it maybe this list should get quoted in the OP for future reference? What say you, Mr Q?

Great job BTW, thanks to you I have that which Motorola could never fully deliver: great value for the money. And as such, I cannot even consider changing my phone, a fact which keeps my better-and-more-practical half happy, as she is never fond of such investments.

On the other hand my dog gets to be as dumb as he wants when we're outside and I browse the defy topics on xda instead of keeping a short leash on him so it's a win/win and more win situation :)

My thanks and best regards.
[Defy Android Development] danch92:
i flashed the new rom but my keyboard doesn't work :(
[Defy Android Development] frozenwaverider:
Have you tried going to swype.com & downloading it?

MB525 Red lense
[Defy Android Development] ccav2000:
Another update on my RIL issues. Seems that the slight modification on the APN itself that I did earlier today really helps getting a data connection without waiting long. Now it establishes the connection either with the first or the second try.

I guess some change in the RIL handling in 4.2.2 or in the APN parsing causes the problem.
[Defy Android Development] TJKV:
Dsp for those who don't listen to music yes. If keyboard (Latinime) is removed then again it will have to be replaced with another apk in the zip file before flashing if you want to sign into Google accounts.

I usually leave latinime in the zip, flash it, sign in to Google account download SwiftKey from play store, then delete latinime apk and the corresponding lib file after enabling SwiftKey.
[Defy Android Development] remix96:
I fixed the sms bug, there was an error with smsc code... so, is there a way to centre clock on 09/04/2013 Build?

Btw this build is a lot stable, with jellyx lernel, and fast; thanks for you SUPER work Quarx :D
[Defy Android Development] Kayant:
Can someone plz confirm if their data works when you self-compile.... I know there is a bug with wifi compiling but that's easily fixed....

Every 4.2 rom I have compiled so far whether it's CM10.1 or another AOSP rom I end up with data not working....

Let's Go ^_^
[Defy Android Development] kryzeK:
It's worth installing JellyX? I find reboots or problems with recovery?
[Defy Android Development] Anton111111:
oh ;) I think many users decide that BT fix add ability to use Headsets :)
[Defy Android Development] FcukBloat:
Thanks for the reply.. I have same build but different gapps.. I have full gapps 20130301.. Can that be the problem? Thanks again
[Defy Android Development] FcukBloat:
Thanks ..How to check? I only see android keyboard aosp package.. Not latinime package that someone mentioned.. I am attaching some screenshots.. Thanks guys i really don t know what else to do :(
[Defy Android Development] FcukBloat:
I found also this dictionary provider package..
[Defy Android Development] FcukBloat:
And..