yashsingh1/xdaforums huggingface dataset:
[Samsung Captivate Glide] soadzoor:
I would need a little help here.. so this generic.kl modification went well: alt and backspace keys are now working. Then I realised that I shouldnt have modified it, but I shouldve modified that stmp_keypad.kl instead..

well I replaced the generic.kl with the original one, and modified the stmp, now it's like I havent done anything. alt and backspace are not working, but stmp is modified rightly..

guys, you really should edit the OP and make it clear what to do. or is it just me who can easily get lost among the lines? by the way, great job,looking forward to the fully working fix (with backlight) :)
[Samsung Captivate Glide] math_green20:
Look at the generic.kl file permissions, make sure they're set like the other .kl files around, reboot and everything should be fine
[Samsung Captivate Glide] roothorick:
The shipped STMPE_keypad.kl is invalid and will be ignored. You need to either correct the rejected keycodes yourself (logcat will be useful), or start with a STMPE_keypad.kl that's known to be accepted (like mine).
[Samsung Captivate Glide] :
roothorick's correct. Been there. Done that.

Sent from the jar of Jelly Beans
[Samsung Captivate Glide] soadzoor:
So if I copy/paste this to my clean smtpe file, save it and reboot the device, then every key should work, right? (Except sym and voicr search of course).. well I dont know if Im missing something but I did that and it didnt work.. :/ will try again if i get home
[Samsung Captivate Glide] ninthsense:
Deleted....
[Samsung Captivate Glide] soadzoor:
well I did that and all of my keys stopped working,including power and volume buttons. Luckily thescot33 helped me by private messages (there were some things to do with the files' permissions that no one (else) told me to do..) but now it works just fine, thanks for your help guys and forgive my ignorance
[Samsung Captivate Glide] taiber2000:
can someone packed this fix in a cwmr zip file?
[Samsung Captivate Glide] Rawr0w0:
and ?
[Samsung Captivate Glide] requiem_mortis:
Request keymap change £ instead of $ please

Hi guys,

I have imported an SGH-i927 into the UK it's rooted and on stock 4.0.4 UCLJ3 ROM, I'd like to have the hardware keyboard ALT-F produce a pound symbol £ instead of the dollar $ symbol, may I ask someone for guidance on how to go about that.

Thanks in advance
[Samsung Captivate Glide] roothorick:
I don't think you can... not with the KL files anyway. The shift-key and alt-key meanings are elsewhere, if not outright hardcoded. You did, after all, buy a US phone :P
[Samsung Captivate Glide] requiem_mortis:
OK thanks for responding it's not really an issue £ is available from 'Sym' anyway.
[Samsung Captivate Glide] roothorick:
Your symbol key is working!?
[Samsung Captivate Glide] luquiyahni:
Of course, he is on ics.
[Samsung Captivate Glide] math_green20:
You can edit your STMPE_keypad.KCM file in /system/usr/keychars/ to replace the $ sign with the pound sign i can't write cause my symbol key is not working
[Samsung Captivate Glide] requiem_mortis:
OK ....edited the STMPE_keypad.KCM using ES Note Editor...rebooted...all ALT keys stopped working

deleted the STMPE_keypad.KCM , renamed STMPE_keypad.KCM.BAK to STMPE_keypad.KCM ...still not working ...rebooted...got the ALT keys back '$' on ALT-F....phew!

Thanks for trying.
[Samsung Captivate Glide] zo_oz:
Great it work, thanks a lot!
[Samsung Captivate Glide] math_green20:
I think i found where the keyevents are coded :

Repo-Synctools/CM10-2/frameworks/base/core/java/android/view/KeyEvent.java

Repo-Synctools/CM10-2/frameworks/base/core/java/android/text/method/BaseKeyListener.java

Repo-Synctools/CM10-2/frameworks/base/core/java/android/text/method/MetaKeyListener.java

I might be wrong but MetaKeyListener.java looks like the file we would need to edit to get those last keys working, I'm a n00b with java though
[Samsung Captivate Glide] dman3285:
For this to be official.. all fixes and edits have to be done to the device tree. The cm source cannot be edited to suit the device. The exact opposite..
[Samsung Captivate Glide] roothorick:
Is there an API to define our own keycodes? If not, we don't have a choice.

---------- Post added at 11:57 AM ---------- Previous post was at 11:30 AM ----------

Quoth KeyEvent.java:

// NOTE: If you add a new keycode here you must also add it to:
// isSystem()
// native/include/android/keycodes.h
// frameworks/base/include/ui/KeycodeLabels.h
// external/webkit/WebKit/android/plugins/ANPKeyCodes.h
// frameworks/base/core/res/res/values/attrs.xml
// emulator?
// LAST_KEYCODE
// KEYCODE_SYMBOLIC_NAMES
//
// Also Android currently does not reserve code ranges for vendor-
// specific key codes. If you have new key codes to have, you
// MUST contribute a patch to the open source project to define
// those new codes. This is intended to maintain a consistent
// set of key code definitions across all Android devices.

In other words, editing KeyEvent.java, and the files above, are the official way, and the ONLY way, to add new keycodes, the idea being you contribute these codes back to the project. (Samsung didn't play ball.) The Symbol key can be done with my kludge; Voice Search and .com REQUIRE new keycodes.

If we're not willing to edit these core classes and fire off patches, our last two keys will NEVER work. End of story.
[Samsung Captivate Glide] dman3285:
Then its end of story
[Samsung Captivate Glide] roothorick:
Oh for ****'s sake....

Fine, I'll whip up and submit the patches that you regard as being so off-limits.
[Samsung Captivate Glide] dman3285:
I'm building for the galaxy note.. not this device right now.. that keyboard issue will have to wait. Its not a priority on the galaxy note. And unless you want my support to end, you need to watch your mouth. Or build it yourself. Period.
[Samsung Captivate Glide] math_green20:
No one's in a hurry guys... i also noticed my Xperia Play running 4.0.4 has a Leds folder in /sys/class/ and our Glide doesn't
[Samsung Captivate Glide] taiber2000:
Dman why those edit are off limits? It can break other devices? Can this patch be applay as unofficle glide patch after the installation of ofical release?
[Samsung Captivate Glide] roothorick:
I'm in no hurry either, it's just that dman's stance appears to be "the CM core code is a sacred artifact that we absolutely should not submit patches against, ever" which, frankly, I find a bit offensive.

I'm learning the CM build process right now. If he won't do it, I will.
[Samsung Captivate Glide] :
The reason he didn't want CM10 patched is something I learned today while figuring out how to unbrick LG Thrill 4G, that's system interoperability. One tiny mistake, and you have sent the phone into the shower.

At least thankfully most Samsung Android smartphones have unbrickable bootloader, while LG do not (thus the fight of figuring out how to use LG's damned tools - FOR three hours).

Sent from the jar of Jelly Beans
[Samsung Captivate Glide] thescot33:
Not cool Bro...Show some respect!

Sent from i927 dman's cm10.1 JB
[Samsung Captivate Glide] roothorick:
For the sake of not starting a riot, I'm not gonna say any more or correct anyone on anything going forward, until I have some patches to show and I've started that process. Just know that it'll work out.
[Samsung Captivate Glide] :
I agree. I have no intention of starting a riot, though. It, however, would be easier if somebody hacked the bootloader to support dual-booting. That way, the phone won't be a brick.

Sent from the jar of Jelly Beans
[Samsung Captivate Glide] ninthsense:
Official or unofficial, if we know the bug we need the fix to be developed. If the fix can be published here as unofficial and applied over the builds, that would work for me. Gonna use this phone max for a year more now and will not like to run it without backlights and keys working.

Waiting for official would be an option but until then we need the fixes to get to our devices through some other means.

Sent from my SGH-I927
[Samsung Captivate Glide] math_green20:
Anyways, solving this would actually fix the issue on every jb built roms out there, no matter if it's cm, aokp, aosp, pac-man, you guys name it
[Samsung Captivate Glide] ninthsense:
The dev forum is right now busy in deciding who is the dev for our phone, so I thought better to post it here as well.

Researched more and found a workaround to add more symbols to the above blast from the past :D. Just need to figure out how to resize the popup so it fits the screen.
[Samsung Captivate Glide] ninthsense:
Can somebody post the symbol key popup from the ICS ?
[Samsung Captivate Glide] :
ninthsense, no can do. Tried nearly all of the symbol combo. Let's see how this folds out because the code above your post seems to bear the fruit.

EDIT: But, if you are itchy, by all means, try it - you can try LiteROM's STMPE.KL file. LiteROM's zipped so it's easier to extract the file then test it out - I kept old LiteROM files for the reason - I will dig it out tonight (I had to fix LG Thrill 4G's new BIOS and get it to boot CM10).

Sent from the jar of Jelly Beans
[Samsung Captivate Glide] ninthsense:
Either i'm not getting your point or vice-versa.

All i want is a screenshot of the what the popup looks like when pressed in ICS ROM. I've already successfully included whatever symbols i want to the popup (sse the 2 screenshots i attached in my post above) and just wanted to compare it to what we had in ICS.
[Samsung Captivate Glide] lorddavid:
Uploaded with ImageShack.us

that is?
[Samsung Captivate Glide] :
Ah. I see. I get it now. *facepalm* I must be jittery this time... I had to fight with the LG Thrill 4G's bootloader all night long - didn't have had that much sleep. I apologize.

Maybe you can try checking this out - I will try this on my Glide tonight too, after I finish spending my time with my family.

Sent from the jar of Jelly Beans
[Samsung Captivate Glide] dman3285:
No busy deciding at all. The dev ain't me. I'm an ole country boy. You screw Ne once you won't donut again. I wasted 3 months on this device cause I was asked too. Won't do it again. Have a nice day
[Samsung Captivate Glide] ninthsense:
Yup, thats it. This ain't too hard to replicate. I'll work on it and release a patch tomorrow .

---------- Post added at 02:46 AM ---------- Previous post was at 02:38 AM ----------

????:rolleyes:
[Samsung Captivate Glide] lorddavid:
You help us a lot, that is not a waste, thanks to you we can see JB in our device, you are great
[Samsung Captivate Glide] jevan24:
Not a waste bro. We greatly appreciate your hard work.
[Samsung Captivate Glide] math_green20:
Only one remaining guys, keep it up!!
[Samsung Captivate Glide] ninthsense:
Which one ?

Sent from my SGH-I927
[Samsung Captivate Glide] taiber2000:
ninthsense, maybe you can add more symbols so we can have an extended collection :)
[Samsung Captivate Glide] ninthsense:
Give me the list and I'll add.

Sent from my SGH-I927
[Samsung Captivate Glide] math_green20:
Voicesearch i guess, maybe dot_com too
[Samsung Captivate Glide] ninthsense:
I guess .com key is not implemented in the source itself :confused: . After hours of research the best I could do is to fix the symbol key and get a smiley on alt + sym.

I could probably map .com key to something else which is implemented and useful (camera ?). Anyway I guess the .com is not much used and useful.

Voice search is something I've not looked at yet. Lemme check if I can find something on that.

Sent from my SGH-I927
[Samsung Captivate Glide] roothorick:
Look man, for all the **** I talk, if it weren't for you I wouldn't have the CM10.1 source tree on my laptop right now. Hell, I'd still be running TouchWiz ICS and waiting for someone more knowledged than me to kick things off. Don't get disheartened when we have a heated disagreement -- I wouldn't have been able to even start on what you've accomplished so far. Well, maybe now I could, but that's only because playing with your ROMs and hearing suggestions from the community here got me started on the path to understanding how the whole process works.

Let's keep going. I have a plan for sorting out the keyboard; it involves submitting patches against core, but I fully expect the CM and AOSP core devs to like what they see. Beyond that we're almost done here, at least until Key Lime Pie rolls around :)
[Samsung Captivate Glide] nachonovoa27:
Hey guys, first of all thanks for the hard work...

And... does anyone have the backlight working?
[Samsung Captivate Glide] QuentinX5:
See here: Keyboard Light Fix for AOSP, CM, PACman, etc.

---------- Post added at 01:13 AM ---------- Previous post was at 01:01 AM ----------

Alright, so I dug a tad bit deeper, and even though I have seen tons of people say things about not touching the Generic.kl file, I decided to take my shot at it...

Anyways, I got the question mark and forward slash working by editing this line of code:

key 214 APOSTROPHE

That single line pulls off of the STMPE_keypad.dl file, which has Key 214 as being APOSTROPHE, as well as there being a key registry in STMPE_keypad.kcm for what happens when you press it.

I went back and was trying to update the SYM key, and I figured using this method, that I could fix it, so I did, and of course, the code was:

key 125 BUTTON_16

Of course, I could be rudely mistaken and all, but this just seems to work for me. I mean, technically speaking, if you went into STMPE_keypad.kl and STMPE_keypad.kcm and just edited those lines to match whatever was in Generic.kl, they should work.

Correct me if there is anything that doesn't seem right here. Just throwing in my two cents. :)
[Samsung Captivate Glide] ninthsense:
Paste the screenshot here of what you see after pressing sym key. Also post your STMPE_keypad.kl and STMPE_keypad.kcm.
[Samsung Captivate Glide] QuentinX5:
I will pull it up in a second.
[Samsung Captivate Glide] QuentinX5:
I couldn't get the screenshot to work so I had to use my iPod camera...

As for the files, attached with this post as well in a .ZIP file.
[Samsung Captivate Glide] ninthsense:
This is the same "blast from the past" roothorick was talking about in his post earlier. And your .kcm file already seems to have included the Button_16 as suggested by roothorick http://xdaforums.com/showpost.php?p=35883223&postcount=85
[Samsung Captivate Glide] QuentinX5:
That's correct. But without modifying Generic.kl, adding those lines of coding in didn't do anything in regards to bringing up the popup of Symbols.
[Samsung Captivate Glide] ninthsense:
Leaving alone the generic.kl as it is, if you just modify the STMPE_keypad.kl and STMPE_keypad.kcm files and reboot then you'll get the same result.
[Samsung Captivate Glide] QuentinX5:
And that's exactly where everything goes to heck... I take the fresh Generic.kl from this post and apply it, but then the ALT, SYM, Question/Slash, Backspace keys all stop working...
[Samsung Captivate Glide] soadzoor:
guys, which zip should I flash for cm10 backlight issue? I tried the liquidslim one, but the device wouldnt boot up since, had to make a restore
[Samsung Captivate Glide] ninthsense:
you are using the modified generic.kl, that's why all stops working. Restore generic.kl from this link http://xdaforums.com/showpost.php?p=35517272&postcount=40
[Samsung Captivate Glide] QuentinX5:
There wasn't a single change... They are the same files. Didn't fix the ALT, SYM, BACKSPACE, or Question Mark/Slash keys.

Are you sure the only files that you are utilizing are Generic.kl, STMPE_keypad.kl, and STMPE_keypad.kcm? Either that or this fix just doesn't work with PACman... But being built off of CM 10, wouldn't make too much sense...
[Samsung Captivate Glide] yohan4ws:
the cm10 one from here: http://xdaforums.com/showthread.php?t=2067954
[Samsung Captivate Glide] roothorick:
The shipped STMPE_keypad.kl is invalid and gets rejected. You have to replace it with a working one to get things working.
[Samsung Captivate Glide] soadzoor:
yea, it was an old post, when there was no option for cm10, thanks anyway :)
[Samsung Captivate Glide] roothorick:
Jotting down some notes...

SYM may be correct after all. Not sure... In Gingerbread there was a config.xml value "config_symKeyShowsImePicker" which defaulted to True. Is this value still present in Jellybean?

For the Voice Search key, I think the correct intent is ACTION_VOICE_COMMAND. Unfortunately, there doesn't seem to be a way to connect keys directly to intents; there needs to be a keycode in the middle. And there's no VOICE_COMMAND keycode. So it's pretty straightforward -- add a VOICE_COMMAND keycode that sends a VOICE_COMMAND intent. Done.

dot-com is trickier. It sends multiple characters... feels like there needs to be some extra infrastructure here to allow a key to represent a string, not just one character. It'd be nice to hear an AOSP dev's thoughts on this, if at all possible.
[Samsung Captivate Glide] ninthsense:
Nope JB does not has that value by default, but i added it to config.xml and tried SYM for the keycode and it did not work or brought up anything.

But the hack is essentially the same as "\uef01" is mapped to the character picker in JB. So instead of SYM, you'd mapped button_16 to it.
[Samsung Captivate Glide] roothorick:
Did you try mapping SYM to \uef01 via the KCM after adding the picker val to config.xml? Obviously if it didn't bring up the IME chooser, it's respecting the value...

IMO if that works, it's "proper" enough and I'm not gonna go fussing around in core classes for a better solution.
[Samsung Captivate Glide] ninthsense:
Defining SYM in kl, somehow breaks the keyboard. So instead of breaking my head with it, i just let the button_16 mapped to \uef01 and then modified the strings.xml to have more special character that are needed. Even if you make the SYM work it will only bring up the same mini pop-up with only a few characters, so we'll still have to go and add the extra ones to stings.xml. For me the current situation is as good as it gets.

The VOICE Search doesn't matter to me that much as i dont really use it and same is with www. and .com . So i'm not going to put anymore of my time into this. I'm happy with the current keyboard :D .as without the full symbols it was certainly an issue.
[Samsung Captivate Glide] salary:
[Q]

my rom is C.A.M.P+™|CM10|AOKP|MIUI|PA| v1

when i replace "lights.n1.so" & flash "Lightsfix_Rotationfix_BLN-CM10" & reboot my device lock on boot animation and don't turn on completely

why? :confused:
[Samsung Captivate Glide] ninthsense:
What have you done my friend. Just apply the v3 fix through cwm from the CAMP thread and you would be fine.

The CM10 fix is only for dman's cm10 which uses a different framework that why it puts you in bootloop.
[Samsung Captivate Glide] soadzoor:
so what's up with the arrow keys guys? are they messed up intentionally? without the keymaps fix they're working just fine, why?
[Samsung Captivate Glide] :
Arrow keys work fine on dman3285's CM10. What version of Jelly Beans are you using?

Sent from the jar of Jelly Beans
[Sony Xperia Miro, Tipo (Dual), J, E] gagu.436425:
first..i am sorry if this is wrong section..because i am new to android...and to xda..

i recently bought xperia tipo and root it..but i accedently delete default music player app from the system folder while installing walkman player:(

can anyone please extract the music player app from its firmware....and give it to me

please anyone ..........help me...

(sorry for my bad english).....and thx in advance:good:
[Sony Xperia Miro, Tipo (Dual), J, E] TeamMex:
Added on attachament

Cheers.
[Sony Xperia Miro, Tipo (Dual), J, E] hard91:
I will try

Which file do you want????
[HTC Sensation] egyptian_guide:
Hello,

could someone please provide me with the .APK+ LIB files of the Location stock app from any ICS Rom ????

thanks
[HTC Sensation] webharsh:
look into /system/app /system/lib in the ROM zip.
[HTC Sensation] egyptian_guide:
the Rom am using-Energy- doesn't have the app so that's why I need someone to send it to me so i can add it to the Rom
[HTC Sensation] webharsh:
Download ICS ROM from which you need it. unzip it and got to /system/app in the unzipped directory.
[LG Nitro HD] TheCrow1372:
Any true root for our devices or any out that are 'proven' to work for ours and sorry if I have missed it, I know there are many or at least one that some have been helpful in pointing out as root guides but need some proof that the Canadian devices have root too please? I am on the latest 4.0.4 ICS and ready to perm-root/CWM or TWRP if thats what I use for recovery, please lead me/us in the right direction?:crying:

Thanks
[LG Nitro HD] waxinpoetic:
I used the method listed in these forums for rooting for the bell p930. Worked fine. However you will not be able to install cwm unless you unbrick (back to gingerbread)

Sent from my LG-P935
[LG Nitro HD] TheCrow1372:
You can treat me like a newb in this matter cuz I am stock 4.0.4 ICS not rooted 'yet' so what do you mean about the 'unbrick' thing, is there a rooting method that will work that will give me CWM or TWRP recovery like I want to do everything all at once in like one day in possibly 1-2hrs? lol
[LG Nitro HD] lordcheeto03:
If you are on stock ICS you have to go through the unbrick guide to be able to install CWM or TWRP. There are a couple here on the first page, they all essentially do the same thing with slightly different methods, and i would assume they take about a equal amount of time. Just make sure you download the required software and read through the instructions once at the very least before you attempt to begin the process.
[Verizon Samsung Galaxy S III] DarkMenace:
I bought a MicroSDXC class 10 64GB card. When the phone loads it reads it just fine. When I try and use CWM or TWRP to make a backup to the external card it doesn't find that it's mounted. When I had my 32GB class 10 card I didn't have this issue. Help would be appreciated. Thanks.
[Verizon Samsung Galaxy S III] kintwofan:
Here you go partner

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

Sent from my SCH-I535
[Verizon Samsung Galaxy S III] DarkMenace:
Hmm if you go FAT32 you can't copy movies of over 4GB to the device can you. My movies are mkv files of 8-10 GB.
[Verizon Samsung Galaxy S III] kintwofan:
Ya I think you're right. So it would seem either backup to internal or use a different one to hold backups

Sent from my SGS3 running Eclipse 2.1
[Verizon Samsung Galaxy S III] DarkMenace:
Would be nice if the devs fixed this issue. We should be allowed to baccup to either file system.
[Verizon Samsung Galaxy S III] schwinn8:
It's not a "fix" issue. It hss to do with the fact that exFAT is Microsoft proprietary, so you can't legally use it without paying MS for a license. The recovery makers don't want to run afoul of the MS legal dept
[Galaxy S II Q&A, Help & Troubleshooting] pepicasas:
Hello Everyone,

Was wondering if anyone can help me solve a problem regarding the ROM of my Galaxy S2.

I've had my phone for more than 18 months now and I remember having it rooted and the ROM changed last year.

The guy who helped modify my phone is no longer around and so I am making attempts to change the ROM myself.

The current ROM on my phone is called Litening ROM version 6.1 and it was a fantastic ROM. However, it's already very old and needs to be upgraded to the latest ones.

I've downloaded and tried to install 3 ROMs so far and nothing seems to work.

I wiped the cache partition clean and also did a factory data reset.

Now, whenever I access the downloaded ROM from my sdcard, it always ends up saying:

"E: Short write of /tmp/sideload/package.zip (No space left on device)"

What does this mean? My device has ample memory and I've deleted most of the files on the sdcard already to make even more space.

My device is also rooted - so I don't think rooting it again is needed.

Please see attached pictures.

I've tried several ROMs and I'm now on my last ROM which is the Omega ROM for Galaxy S2.

All ROMs do not install and the same error message always shows up during installation.

Hope you can recommend a good solution for this.

Regards.
[Galaxy S II Q&A, Help & Troubleshooting] ankur.co.in:
Do u have cwm recovery on ur phone?