Hardware Key - Java for Android App Development

solved

Can't you just remap the key in /system/usr/keylayout/your-keylayout-file.kl ? I haven't tried personally, but it might work.
Sent from a Toasted Devil

netwokz said:
Can't you just remap the key in /system/usr/keylayout/your-keylayout-file.kl ? I haven't tried personally, but it might work.
Sent from a Toasted Devil
Click to expand...
Click to collapse
Solved! Wrong file edited.
Solution for HTC devices: the files that have to be edited are the ones that end with "touchscreen".
xpirt

Related

[Req] LPF Chinese Keyboard with handwriting IME

Could someone be so kind as to upload the Samsung Chinese Keyboard + Handwriting IME here?
Thanks in advance.
+ 1
Sent from my GT-N7000 using Tapatalk 2
darkmax1974 said:
Could someone be so kind as to upload the Samsung Chinese Keyboard + Handwriting IME here?
Thanks in advance.
Click to expand...
Click to collapse
These are ripped from the /system/app folder.
Let me know if you need more files from the LPF ROM.
AxT9IME.apk
http://www.mediafire.com/?uyz2bzxx0ss7h5a
SamsungChineseIME.apk
http://www.mediafire.com/?crhz90kn9cgl2gd
http://forum.xda-developers.com/showthread.php?t=1664735
Is the Swype same version as that in LPY ?
The swype in LPY is irritating ! The "suggestion" bar, constantly disappears and reappears ! Causing lots of screen refresh !
BTW. SamsungChineseIE.apk causes FC !
Thanks. I copied into system / app but it doesn't show up as an input that can be selected. I'm using Swiftkey X default on LiquidSmooth V1 rom.
Sent from my GT-I9300 using Tapatalk 2
sutekidane said:
These are ripped from the /system/app folder.
Let me know if you need more files from the LPF ROM.
AxT9IME.apk
http://www.mediafire.com/?uyz2bzxx0ss7h5a
SamsungChineseIME.apk
http://www.mediafire.com/?crhz90kn9cgl2gd
Click to expand...
Click to collapse
Links doesn't work.
Sent from my GT-I9300 using Tapatalk 2
samcp16 said:
http://forum.xda-developers.com/showthread.php?t=1664735
Click to expand...
Click to collapse
Thanks.
But when I pasted and installed it from the /system/app, it keeps crashing.

SamsungChineseIME.apk from LPF

I get it from LPF, enjoy!
samcp16 said:
I get it from LPF, enjoy!
Click to expand...
Click to collapse
Thanks. But it does not work. pasted it into the /system/app but keep crashing.
U are missing the library files. Samsung IEM doesn't work as a stand alone apk. Can't think of the names of the files you need right now but dig around there should be a post some where have those files included.
Sent from my GT-N7000 using Tapatalk 2
tg9413 said:
U are missing the library files. Samsung IEM doesn't work as a stand alone apk. Can't think of the names of the files you need right now but dig around there should be a post some where have those files included.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
I've searched around using those words I quote in the title but it came back as nothing useful.
samsung chinese ime
darkmax1974 said:
I've searched around using those words I quote in the title but it came back as nothing useful.
Click to expand...
Click to collapse
Under LRK try libjni_latinime.so and libjni_secime.so
may be it's the same under LRF too
Thanks for sharing the app with us. To understand the purpose of the app. You can use it to restore your IMEI in case you missed it or lost. Am I correct. In that case. does anyone used it .. and give us a demonstration how to use it without damaging anything.
Thanks
Nope, AFAIK this has no relation to IMEI, this one is for chinese input for keyboard.
darkmax1974 said:
Thanks. But it does not work. pasted it into the /system/app but keep crashing.
Click to expand...
Click to collapse
You need this file in the library folder, libjni_secime .so.
Sent from my GT-N7000 using Tapatalk 2
Those who want samsung chinese ime for n7000 - this is the one working i tested on stock ics
http://forum.xda-developers.com/showthread.php?p=27167287
Sent from my alps android

Jellybean Porting Thread

This thread is to assist porting of Android 4.1 (Jellybean) to ICS devices
A good base ROM for porting: http://forum.xda-developers.com/showthread.php?t=1737849
Ramdisk diff
This is a diff file for the Jellybean ramdisk from ICS. This is from the galaxy nexus and will have to be changed for your specific device. Some notes that are not shown in the diff are that /sbin/adbd and init changed -- These are both binaries so they need to be manually taken from the jb ramdisk.
http://pastebin.com/xwCLRrT0
Files changed in /system/
This is a list of files that have changed in JB... Please check /vendor/{device vendor}/{device name}/ and[/SIZE][/SIZE] /device/{device vendor}/{device name}/ in the CM source to make sure they don't overlap... If any do, just keep your cm9 versions.
/system/app/ - Basically every apk, don't even bother copying individual changed files
/system/bin/
adb.p dumpsys.p mksh.p sdptool.p
applypatch.p fsck_msdos.p mtpd.p sensorservice.p
app_process.p gzip.p ndc.p servicemanager.p
bluetoothd.p hciattach.p netcfg.p service.p
bootanimation.p hostapd.p netd.p setup_fs.p
brcm_patchram_plus.p installd.p pand.p smc_pa_ctrl.p
bugreport.p ip6tables.p ping.p surfaceflinger.p
dalvikvm.p ip.p pppd.p system_server.p
dbus-daemon.p iptables.p racoon.p tc.p
debuggerd.p keystore.p rild.p tf_daemon.p
dexopt.p linker.p run-as.p toolbox.p
dhcpcd.p logcat.p schedtest.p vdc.p
dnsmasq.p logwrapper.p screencap.p vold.p
drmserver.p make_ext4fs.p screenshot.p wpa_supplicant.p
dumpstate.p mediaserver.p sdcard.p
NEW
atrace content e2fsck mdnsd requestsync uiautomator
/system/xbin/
dexdump.p/system/etc/apns-conf.xml.p fallback_fonts.xml.p permissions
audio_effects.conf.p gps.conf.p ppp
dhcpcd media_profiles.xml.p security
event-log-tags.p NOTICE.html.gz.p system_fonts.xml.p
NEW
audio_policy.conf media_codecs.xml security
fallback_fonts-ja.xml preferred-apps
/system/media/ & /system/fonts/ - Just take it all from jb as pretty much none is device specific.
/system/framework/ - Everything
Very cool, and answers a few problems I was having. Great work man, really helpful
Sent from my Incredible S using xda premium
I think I might just start from scratch again and use this to make a new first version.I hope this can help me get a booting version for the Sensation, but I make no promises. What I have so far is just bootlooping. Thanks for your work and the post......
Edited: Nvm I got it. I'm dumb.
T-Macgnolia said:
I think I might just start from scratch again and use this to make a new first version.I hope this can help me get a booting version for the Sensation, but I make no promises. What I have so far is just bootlooping. Thanks for your work and the post......
Click to expand...
Click to collapse
Do you have gtalk? I might want some help porting to my device.
Sent from my SPH-D700 using Tapatalk 2
MДЯCЦSДИT said:
Do you have gtalk? I might want some help porting to my device.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
Yeah I got it now lol, my user name is tmacgnolia on gtalk.
Edit: My mistake man it is Tony Roach.
anyone else having pastebin issues? site seems like its down D:
Same here! Lots of answers solved.
Anyone having any luck? Im porting it to the Droid Incredible and im getting the same errors in my logcats no matter what i do.
Albinoman said:
Anyone having any luck? Im porting it to the Droid Incredible and im getting the same errors in my logcats no matter what i do.
Click to expand...
Click to collapse
Have you edited the ramdisk?
Sent from my SPH-D700 using Tapatalk 2
MДЯCЦSДИT said:
Have you edited the ramdisk?
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
Thats what my friends doing right now.
What exactly do we edit in the ramdisk?
Can somebody explain a bit more?
Sent from my LG-E739 using Tapatalk 2
medicjunKie said:
What exactly do we edit in the ramdisk?
Can somebody explain a bit more?
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
Extract the boot.img using a kitchen on linux
Sent from my SPH-D700 using Tapatalk 2
MДЯCЦSДИT said:
Extract the boot.img using a kitchen on linux
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
I hate feeling like a Noob, and Having to ask, but once its extracted, and we have the kernel and the Ramdisk, what do we actually edit?
medicjunKie said:
What exactly do we edit in the ramdisk?
Can somebody explain a bit more?
Sent from my LG-E739 using Tapatalk 2
Click to expand...
Click to collapse
budm said:
I hate feeling like a Noob, and Having to ask, but once its extracted, and we have the kernel and the Ramdisk, what do we actually edit?
Click to expand...
Click to collapse
The main thing you have to edit is the init.rc, but you may need to edit other things as well. I still have not found the right combinations of edits for my port to boot, Anyway use something like WinMerge to compare the files from the ramdisk of your base ROM with the ramdisk of the SDK. You can also edit the files while you have them in WinMerge.
Thank you so much, I will definitely try using that tool, and that gives me a direction to try towards.
cheers!
Ok guys i feel like im getting closer. The exact error im getting is,
Could not find method com.android.providers.settings.DatabaseHelper.setWriteAheadLoggingEnabled, referenced from method com.android.providers.settings.DatabaseHelper.<init>
Anyone have any ideas? I know that settings is crashing but i don't know what to do about it. Here is the full logcat http://paste.ubuntu.com/1065069/
Is the whole pastebin is to replace everything in init.rc? Or some of it?
DaXmax said:
Is the whole pastebin is to replace everything in init.rc? Or some of it?
Click to expand...
Click to collapse
It is a diff
Sent from my SPH-D700 using Tapatalk 2
Albinoman said:
Ok guys i feel like im getting closer. The exact error im getting is,
Could not find method com.android.providers.settings.DatabaseHelper.setWriteAheadLoggingEnabled, referenced from method com.android.providers.settings.DatabaseHelper.<init>
Anyone have any ideas? I know that settings is crashing but i don't know what to do about it. Here is the full logcat http://paste.ubuntu.com/1065069/
Click to expand...
Click to collapse
That means that it can not find com.android.providers.settings.DatabaseHelper.setWriteAheadLoggingEnabled that is referenced in the init of the ramdisk. So you need to look at the init of the ramdisk and see where it is looking for that file and then place that file where it is suppose to be.
Also I finally got my port booting but it does not get passed the bootanimation and I got the adb working, yay.

Left hand Button Short press for Options

I hate the new system where you have to long press for options and short press gives you task manager (Which I never use).
Is there a way to revert it?
Gravity box will help you
What is gravity box Please?
here is the Gravity Box Thread on XDA : http://forum.xda-developers.com/apps/xposed-modules/app-gravitybox-v2-9-1-tweak-box-android-t2316070
I may consider using it...
Edit: thread for KitKat : http://forum.xda-developers.com/apps/xposed-modules/app-gravitybox-v2-9-1-tweak-box-android-t2554049
Corwin9S said:
here is the Gravity Box Thread on XDA : http://forum.xda-developers.com/apps/xposed-modules/app-gravitybox-v2-9-1-tweak-box-android-t2316070
I may consider using it...
Edit: thread for KitKat : http://forum.xda-developers.com/apps/xposed-modules/app-gravitybox-v2-9-1-tweak-box-android-t2554049
Click to expand...
Click to collapse
I assume it requires root which I do not have.
networkn said:
I assume it requires root which I do not have.
Click to expand...
Click to collapse
Yes, root only, and you'll need the xposed framework. .. well worth doing, and the first thing I installed when I got my phone yesterday! I now have menu options on the left key how it should be!
networkn said:
I hate the new system where you have to long press for options and short press gives you task manager (Which I never use).
Is there a way to revert it?
Click to expand...
Click to collapse
I prefer this new layout, although I'm still getting used to it
-Sent from Tapatalk

Is there any mod for touch keys as led notification ?

Hi!
I'm looking for mod or app for my Galaxy A5 (SM-A510F) that I can make touch keys (menu and back) as led notofication. I remember when I had the GS1 there was an app... it was BLN(?) or something.
Thanks for help.
You should try this:
https://forum.xda-developers.com/showthread.php?t=1958939
CrystalGTX said:
You should try this:
https://forum.xda-developers.com/showthread.php?t=1958939
Click to expand...
Click to collapse
Thanks, I installed this app but it request for root access...
However another question. Is there any app that I can make touch keys vibration (like in Galaxy S series)?
charny said:
Thanks, I installed this app but it request for root access...
However another question. Is there any app that I can make touch keys vibration (like in Galaxy S series)?
Click to expand...
Click to collapse
Sorry i don't know any apps that can do that. Also you should root your device so that you could use tweaks that do stuff like that, i have the exact same phone as you and i rooted it using https://forum.xda-developers.com/sa...overy-samsung-sm-a510f-fd-exynos7580-t3314399
charny said:
Hi!
I'm looking for mod or app for my Galaxy A5 (SM-A510F) that I can make touch keys (menu and back) as led notofication. I remember when I had the GS1 there was an app... it was BLN(?) or something.
Thanks for help.
Click to expand...
Click to collapse
These kind of things are kernel related.
If the stock kernel does not permit this, the only way you can do is to root your phone and flash a custom kernel/ROM...
CrystalGTX said:
You should try this:
https://forum.xda-developers.com/showthread.php?t=1958939
Click to expand...
Click to collapse
Do you use that app?it really working?
Sent from my SM-A500FU using XDA-Developers Legacy app
App dont works for me, auto detect, and file explorer not reacting. What kernel for a510F have BLN ?

Categories

Resources