yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] joefuf:
Since coming to the Droid 4 with my Droid 3, I've been missing a lot of the features the ALT key brought to my keyboard. I started looking for a way to go about doing what you want, albeit for a different purpose, but I did find some resources online.

In this thread, moah909 laid out how to go about editing the omap-keyboard.kl file. It involves a bit of replacing data in the file with calculated hex data.

Anyone's suggestions and help would be awesome. I hate the waste of space that is the CAPS LOCK key. If I had my way, I'd switch the CAPS LOCK to a Shift Key and the Shift Key to an ALT, like on a regular QWERTY keyboard and the Droid 3.
[Motorola Droid 4] Sensonic:
Yeah, I've read those threads but I don't know whether to modify omap4-keypad.kcm or omap4-keypad.kl file(s) since some tutorials modify the first and some tutorials the latter. So what's the difference of those files and which one should really be modified (or even both?).

A Finnish guy sent me his own omap4-keypad.kcm and omap4-keypad.kl files where he had replaced (in 4.1.2. Jelly Bean) ; and : symbols with ä and ö letters. Well, I put those files to their correct places /system/usr/ etc.etc., but all I got was < and > symbols instead of ä and ö letters. I tried to revert it to original layout by bringing the original omap4-keypad.kcm and omap4-keypad.kl files back but it didn't help. The situation was unchanged so whatever I tried, finally I had to wipe the whole ROM off and reinstall it.

Then I read somewhere that it's not possible to modify/map physical keyboard in KitKat ROM. Is this correct?

My colleague showed me that by installing Android SDK to a computer it's possible to modify those aforementioned files without trying to move them from their folders. He showed be that so fast that I was really blown away but cannot recall how that's done. Another thing he suggested me to do was using ES-file manager to reach the files I need to modify and modify them on the phone without trying to move them to the computer. I tried to do that as well but without any luck. The best alternative for me would be to replace some of the characters/symbols under SYM button with ä and ö letters but I don't know whether that's possible at all. It seems that those characters/symbols are fixed and cannot be altered.

Sorry for this off-topic "mumbo-jumbo" but I'm pretty confused with this remapping and wouldn't like to reinstall the ROM anymore to get the keyboard mapping reverted back to its original settings.
[Motorola Droid 4] 3diord:
No.

Well you're both in luck. I wanted a more functional keyboard ever since I got the D4. I think I posted all about it before. Anyway, I had to do updates to my method since updating to KitKat, and I'm willing to share. Here are my keychar and keylayout files, also in flashable zip form... (also includes a ringtone and notification tone) that I use whenever I update CM.

These might take some getting used to, there are quite a number of changes. I'll try to list them all here.

Caps Lock ---> Shift

Shift ---> Alt

ALT+e = 0x0301 = combining acute accent = turns e to é, o to ó, etc

ALT+i = 0x0302 = combining circumflex accent = turns e to ê, o to ô, etc

ALT+k = [

ALT+l = ]

ALT+SHIFT+K = {

ALT+SHIFT+L = }

ALT+n = 0x0303 = combining tilde = turns n to ñ, o to õ, etc

ALT+o = ~

ALT+p = |

ALT+r = $

ALT+u = 0x0308 = combining diaeresis = turns e to ë, o to ö, etc

ALT+SHIFT+U ... this one is special, it is unicode 0xEF00, but that doesn't really mean anything. But to Android, it will take the previous 4 characters and try to turn them into the unicode character for that. With knowledge of unicode you should be able to type any character you want with it. Lets say you wanted to type the copyright symbol, 0x00A9 ... you'd type "A9" then hit ALT+SHIFT+U and it'd turn into ©

ALT+0 = )

ALT+1 = !

ALT+2 = @

ALT+3 = #

ALT+4 = £

ALT+SHIFT+4 = ¥

ALT+5 = %

ALT+6 = ^

ALT+7 = &

ALT+8 = *

ALT+9 = (

ALT+, = <

ALT+. = >

ALT+/ = \

ALT+SHIFT+/ = |

ALT+' = `

http://2.ben64.com/d4/omap4-keypad.kcm

http://2.ben64.com/d4/omap4-keypad.kl

http://2.ben64.com/d4/kbr.zip

Any questions, please ask.
[Motorola Droid 4] sharptv:
is it possible to enable hdr in the stock camera app?
[Motorola Droid 4] stargo:
Hi,

You can't for nightlies.

Yes, I can reproduce that. And I can also reproduce it on another different device, so it's not OMAP4-related.

I assume it's connected with the selinux-changes which were committed to the busybox-repository.

I'm looking into it.

EDIT: There you go: http://review.cyanogenmod.org/66111

Hmm, these changes should be visible, as they were going regularly through gerrit. You can see them here: https://github.com/CyanogenMod/android_external_busybox/commits/cm-11.0

What cmxlog doesn't show is direct pushes (of mainly merges to upstream like 4.4.3 and 4.4.4), because it is looking at the wrong (but much easier to get) change-information.

It's certainly possible, but cpufreq is rather brittle and I really don't want to add another source of instability to it. Because if something is going wrong there, the phone will fail in unpredictable ways which are hard to diagnose.

So above_hispeed_delay is 20000 on stock? If so, I'll change this in CM.

I actually played around with these values but couldn't get any noticeable difference (but I was not playing games but trying to fix the slow screen-wakeup).

Hmm, no idea. I assume it's just a setting in an overlay. Does HDR work with another camera app? If it does, then the chance that it works with stock is rather good. But I don't remember seeing anything related to HDR when updating the camera-libs to support HD recording.

Regards,

Michael
[Motorola Droid 4] Sensonic:
Thanks a lot!

But I'd also like to figure it out whether it'd be possible to modify SYM button to insert ä and ö there and get rid of some symbols I'd never need?
[Motorola Droid 4] daniel_m:
Wow, thanks a lot! The developer of oandbackup will like this too :D
[Motorola Droid 4] rblanca:
I didn't look into stock for above_hispeed_delay values...i have cm installed over stock :S... I just read https://android.googlesource.com/ke...26724e7c/Documentation/cpu-freq/governors.txt and few tips over XDA forum and all of them have 20000 as above_highspeed_delay's default value... Meaby someone can confirmed it?

About smartassv2, well it's ok stargo...i just ask you 4 that because a read that is the governor with best performance/battery balance but dont know how risky it's goin to be implement it. Thanks again 4 everything you do!
[Motorola Droid 4] joefuf:
In an effort to keep this thread sort of free from clutter, if you guys want to continue this on the thread I made before,

I think we can hash out both of our goals.

Thank you 3diord for your files and your notes. It's exactly what I was looking for. I am going to give it a try when I get some downtime this weekend.
[Motorola Droid 4] maisdoiscorregos:
someone realize that if the phone loses network while in this deep sleep, so he searches the network again only when he wakes up?
[Motorola Droid 4] LuH:
Hello guys, I got this idea that it would be awesome to have a verbose boot instead of the CM logo.

Is there anyone interested in it who is able to edit the ROM? I found a promising lead here but don't know how to actually change the firmware...
[Motorola Droid 4] stargo:
Hi,

Which network? Mobile or WiFi?

Believe me, the boot-log is not really interesting and would be absolutely unreadable on the screen. If I need to, I'm using a serial-console via the micro-usb connector (needs a kernel rebuild) and can't imagine that amount of output (with this speed) being useful on the internal display.

Regards,

Michael
[Motorola Droid 4] daniel_m:
I always thought it would be nice to see the boot-log in case the system gets stuck during the boot process. Wouldn't that tell us what is wrong? Usually, things can be fixed easily in recovery mode with aroma.
[Motorola Droid 4] maisdoiscorregos:
Mobile, I notice that sometimes when waking up the phone, he was without a carrier signal after the screen on, it appears the signal.
[Motorola Droid 4] LuH:
It's also nice to see what's actually happening - even though it's too fast to get all :) I'm trying out Live logcat by chainfire and like it a lot so far, but it only loads in about half the boot-up process (same as the boot animation I guess).

I'd like something more in the core that can start from the beginning, plus it would be nice to have a clearer small font. That's what I'm hoping for from the implementation of the real console output.

But I understand tweaking the system so it's more usable and stable comes first :) Thanks for the reply anyways!
[Motorola Droid 4] rblanca:
Does someone knows if KSM is enabled by defaukt? thanks
[Motorola Droid 4] joefuf:
Not sure if this is what he was talking about, but I am running the 5-29 nightly and I do have some issues after my screen has been off for a few minutes. I will sometimes not be able to get mobile data (internet, Facebook, Foursquare) will not connect to anything even though I'm showing good service and LTE. If I put the phone in airplane mode, and take it out of airplane mode, everything works fine when it resets.
[Motorola Droid 4] kwood129:
Ive been having that problem for 6 months now. Ive mentioned it in the past but it didnt seem like anyone else had the problem or didnt care. But yes I have the exact same thing happen and airplane mode and back is the only way other than a reboot will get it working again.
[Motorola Droid 4] male6363@hotmail.com:
Why MOUSE Does NOT WORK?

Hello everybody,

I follow this ROM and official ROM long time... Everyday... Nightly builds... I need mouse to work so much...

Why this ROM does NOT support mouse? No one use mouse? Do you think NOT important? You don't use Open Office or Teamviewer or Gimp etc?

At least i wonder this... If mouse will ever work? or NOT? if some one can tell me this... I may stop trying this ROM everyday...

Thank You For Your Answers...
[Motorola Droid 4] maisdoiscorregos:
Not this. I realize that when traveling from city A to B, when I go out of reach of the town sign "A", even coming to town B, the signal reappears only when I turn on the screen. As if the phone did not try to sign into deep sleep. Upon waking the screen displays "No Service" and then immediately the carrier signal appears.
[Motorola Droid 4] daniel_m:
Damn, GPS is still not working on my Droid :(

(GPS is working now)

I re-installed the original stock ROM and GPS worked flawlessly. Then I installed CM11 (130614) and GPS stopped working. LogCat says GpsLocationProvider: set_position_mode failed in startNavigating().

The only thing imaginable is that GAPPS are necessary to use GPS. I only have the naked Play Store on my phone, nothing else.

Edit: "Location" in Settings is telling me that apps requested GPS and I also see the GPS icon in my status bar...

Edit2: Turns out that FusesLocation.apk was missing ... :o
[Motorola Droid 4] stargo:
Hi,

You are on Verizon?

It seems that using the /etc/apns-conf.xml from stock is solving this problem for Razr users on VZW... You could try this, too.

I don't know. Everything needed to support a mouse is included in the ROM, but I have no BT-mouse to test it.

Ah, that's "normal" and nothing to worry about. The baseband actually already has acquired the signal but does not wake up the Android-part in order to save battery. It only does that when it loses the signal. There is not much we can do about it, as this is part of the baseband firmware. As soon as the screen is switched off, it stops sending RSSI-information to Android, only signal lost is still communicated.

Only when you wake up the phone, the baseband tells Android that it has reacquired the signal. But you are still reachable before waking up the device.

Regards,

Michael
[Motorola Droid 4] sharptv:
[MENTION=3457922]stargo[/MENTION]

HDR seem to work in other camera apps, but i would rather not have this function enabled in the stock camera app. Perhaps you could look into it when you have the time. Thank you so much
[Motorola Droid 4] daniel_m:
Out of curiosity, how are we supposed to give feedback?

Do changes in nightlies reflect upcoming changes in future mile stones?

E.g. they removed "end call with power button" from Settings/Accessibility and I would like to know if this is intended and if this option will be absent from the next mile stone or stable release as well. There might be other options missing, but that particular one was very useful (it got rid of these awkward moments when the screen did not switch on quickly enough or the touchscreen wouldn't respond and your calling partner is like "Is there something else? Why don't you hang up? Hello?" :D).
[Motorola Droid 4] rblanca:
Yes snapshots releases (a.k.a M7 or Futher M8) are basicly the nightly at the day of release...so you have o wait until M8 release and if that bug is still on M8, report it.
[Motorola Droid 4] Goodeman:
My phone just spontaneously entered a bootloop on M7 and I don't have a recent backup. Is there any way other than wiping everything and reinstalling to fix it? I have a suspicion that it may be caused by the theme's boot animation, but don't know how to check that.
[Motorola Droid 4] sd_shadow:
I would start with wiping cache, and Dalvik, in safe strap.
[Motorola Droid 4] Goodeman:
Still looping... guess I should consider a fresh install of everything.
[Motorola Droid 4] sd_shadow:
make a nandroid backup in safestrap, first then you could try just installing rom, no data wipe, no gapps
[Motorola Droid 4] Goodeman:
finally boots again! Thanks for the help!
[Motorola Droid 4] daniel_m:
Oh, that sounds like a cumbersome practice. Not only for people who want to report bugs, but also for those who might want to fix them.
[Motorola Droid 4] Sensonic:
Nope , doesn't seem to work :(

I'm using Dell Venue Pro Windows Phone and this Droid 4 side by side, and Dell Venue Pro is far more louder with its earpiece and speaker.

Is there some kind of volume booster MOD for Droid 4 KitKat like there is for Samsung Galaxy S3 KitKat etc.???
[Motorola Droid 4] rblanca:
Not realy...because if you want you can submit a patch to fix a bug in nightly you can do it....the only thing you can't is report a bug from a nightly (a.k.a. cant use issue tracker).

You have to understand that if you are using a nightly, you are using a experimental build things can be broken...if you read log sometimes they left broke something because it will be fixed on incomings days...before the release of next snapshot.

If they allow to report bug from nightlys there will a lot unuseful reports that only will complicate things (making harder to read the issue tracker, etc...)

Don't worry to much...cm11 it's fine to use it as a stock (thanks to stargos and lucize).... Sorry 4 my crapy english
[Motorola Droid 4] daniel_m:
I intended to, but I already failed finding the commit that removed the option "End call with power button" (or whatever it is called) on jira.cyanogenmod.org. The search is only usable by programmers and even after some reading and testing, I couldn't find anything regarding accessibility settings.

In this case I am afraid that it is not broken but was removed intentionally. Apparently the developers do not see how this option (and others) is useful to people.
[Motorola Droid 4] Sensonic:
Is this volume mod possible with CM11 KitKat???:

http://www.androidpit.com/how-to-manually-boost-android-mixer-volume

I tried to find mix_paths.xml but couldn't find it anywhere :(

I'd need to boost the volume of the earpiece.
[Motorola Droid 4] lucize:
[MENTION=3457922]stargo[/MENTION] why not including those mappings by default, for sure having |,>,< helps a lot

regards
[Motorola Droid 4] joefuf:
To be honest, it wasn't that hard to do and troubleshoot on my own. I probably won't end up using all of his tweaks, although I did incorporate his keyboard files as my templates, because it's almost impossible to remember what symbols are on what buttons without the markings.
[Motorola Droid 4] Sensonic:
Well, for me those tweaks were really appropriate and I'm using them right now. So thank you very much again! :)

But I'm a rookie in tweaking and using the Android system so that's a kinda new to me until I've learnt to do it by myself like with Windows Phones which I've used almost ten years.

I'm still struggling with the inadequate volume of the earpiece. And that's why I'd like to know the way to tweak it. But I couldn't find mix_paths.xml file in CM11's system/etc folder :( So how to mod/tweak it???
[Motorola Droid 4] 3diord:
Well if my modifications were standard, everyone would be confused. I know when I let people borrow my phone they hit "Shift" expecting "Shift" , not "ALT"
[Motorola Droid 4] joefuf:
That too. I wish I knew a bit more about programming to make an app that would edit the KCM and KL files. Then this would be a bit more user-friendly.
[Motorola Droid 4] highlandsun:
Why both Alt+p and Alt+Shift+/ for '|' ? Isn't just one of them good enough?
[Motorola Droid 4] thelolotov:
I guess I'll be that guy...

So, [MENTION=3457922]stargo[/MENTION], do you plan on taking us to CM12/Android L?

Not asking for a timeframe or anything, just want to know if you're even considering it.
[Motorola Droid 4] Khiraji:
My phone bit the big one last week (earpiece speaker died) and with the extended warranty I'm paying for Verizon sent me a nice shiny new one. It's lovely. But, interestingly enough, the few weird things that I thought were attributed to this ROM actually seem to be due to my previous D4 - namely, the screen randomly failing to rotate to landscape when placed in the dock (or otherwise turned sideways). I'd need to reboot to fix it, and went the full distance of troubleshooting (even so far as to SBF completely back to stock, re-root, re-make a ROM slot, install this ROM fresh, and run it with NO APPS for a few days to verify it). Now, this new device rotates perfectly every time. Weird. Maybe it was actually a hardware issue with my old one?

No matter - this ROM rules and I'm going to hold onto this D4 just as long as I possibly can. Keep up the good work! :good:
[Motorola Droid 4] bgmarian:
can not activate "google now" in settings.. cm-11-20140626-unofficial
[Motorola Droid 4] StevePritchard:
Slow GPS lock?

Is anybody else suffering from slow GPS lock?

I'm sure it used to be quicker, but it can take up to 90 seconds to get a lock. I've used Faster GPS to set the ntp server to the UK (where I am), and I have the GPS Status app that loads AGPS data, so I'm not sure what else I can do to speed it up.
[Motorola Droid 4] bgmarian:
new cm-11-unofficial-20140627 is out!!! happy

edit: can i use lucize kernel?
[Motorola Droid 4] StevePritchard:
Why aren't you using the official builds?
[Motorola Droid 4] bofis:
We should all be using the OFFICIAL builds now, which Stargo continues to contribute to (of course). Just do NOT try ART Runtime yet, learned that the hard way ;)

Builds can be found here, and then after that CM Updater will be able to download and install them if you have it look for nightlies:

http://www.cmxlog.com/11/maserati/
[Motorola Droid 4] stargo:
Hi,

I've tweaked the values a bit and increased the maximum frequency when the screen is off: http://review.cyanogenmod.org/#/c/66892/

This seems to also speed up the phone waking up :)

Ok, I will try to find out what enables it in the stock app. Do you know of any supported CM11-device which shows HDR in the camera app? Then I can take a look at how it's done there.

That's a hard question. I would say, if it is possible, then yes.

But...

The new material-stuff looks like it needs support from the gpu-driver. And if we ever see updated blobs which support the required functions is questionable. L is probably a release which will cut support for many "older" devices :(

That usually depends on when you last used the GPS. The time-to-fix varies greatly for me if I have used the GPS in the last few hours or if I have not used it for days. I just tried it (haven't used GPS in the last few days) and got a fix indoors in a bit less than 2 minutes.

I'm pretty sure that when I try again in an hour, it will only take a few seconds.

Regards,

Michael
[Motorola Droid 4] StevePritchard:
I thought performance was better on stock - I'll try and do some tests (but as it stands, my stock won't boot!)
[Motorola Droid 4] sd_shadow:
that's an easy fix, just restore my nandroid

may want to create a nandroid backup first.

then try an advanced restore, system only, with my nandroid
[Motorola Droid 4] Sensonic:
This is (maybe) a stupid question but how do I enable USB audio in CM11?
[Motorola Droid 4] thelolotov:
That's exactly what I was afraid of. Thanks for taking us as far as you did, and hopefully you, or someone else, can help us squeeze just a little more life out of our Droids.

Moto, we're waiting on that Droid 5....
[Motorola Droid 4] rblanca:
There is little issue with battery indicator...some time it drop from 40 to 20% or something like that and it can stand in 1% like 3 hours or 1 hour of heavy usage...and that it's not happend on stock...
[Motorola Droid 4] StevePritchard:
I haven't seen this myself - is it possible your battery is on its way out?
[Motorola Droid 4] rblanca:
It's a little hard to say on stock it works fine like 20 days ago but i'm not an expert in that...and if you say that it's happend to you maybe it's something at my side...I'm going to do some test to see.
[Motorola Droid 4] Kin Kira:
Hey guys, I've got my droid 4 running the latest cyanogen nightly. Is anyone else having an issue with no ringer on their phone? Phone calls and notifications get no ring at all. They vibrate but nothing else. Even with the ringer on max.
[Motorola Droid 4] joefuf:
At this point, I'd rather they sit on a Droid 5 release and retool the device around the hardware to suit the upgraded software. These physical-keyboard devices are always bastardized by means of out-dated hardware.
[Motorola Droid 4] bgmarian:
hi friends. today my droid is in cm-official-20140628 and i want to update to 20140629. reboot in recovery but safestrap say "not enable". ok. restore to old 4.1.2, reboot again in recovery, safestrap say "not enable". slot-1 is not activ, slot-2 not actic, i can not activate. ?????
[Motorola Droid 4] sd_shadow:
Safestrap: disabled

Just means stock ROM slot is active

---------- Post added at 06:38 PM ---------- Previous post was at 06:37 PM ----------

And likely ROM was installed on stock ROM slot, just install new ROM in stock ROM slot
[Motorola Droid 4] Khiraji:
I had this problem on my previous D4, and when that one died and was replaced with a CLNR the problem went away - I have yet to experience a phantom battery "crash", and I used to get them pretty much daily. The one exception to that was when I did a clean install, but then something screwy happened and I had to restore a backup (and then got lazy and didn't want to go through initializing a new ROM slot again, setting everything just so, etc.) so the problem returned.

Maybe try a new battery? They're cheap on eBay.
[Motorola Droid 4] daniel_m:
Yes, I'd be happy to spend 400-500 USD for a phone with a hardware keyboard and reasonable hardware! Not top of the line, but something decent with a good screen and plenty of internal memory. And I'd like to get this phone in Europe! It's great that the Droid 4 works so well in Europe, but essentially I bought a phone without any kind of warranty, 4G is not working either and it was terribly overpriced due to low availability and lack of competition (payed 400 USD for a new Droid, including shipping and customs fees).

Sorry for spamming the forum, but this had to be said!