[HowTo] Install AOSP Keyboard w/ Long Press Alternates - OnePlus X Themes and Apps

Hey all,
I'm a HUGE fan of the true stock AOSP keyboard with the long-press alternates on every key. However, it is always difficult to get it installed (or find the proper files on the web, for that matter). This tutorial is NOT for the newish Google Keyboard on the Play Store - I consider that one an inferior frakking piece of shtako. But everyone is entitled to their own opinions.
Anyhow, here are two tutorials to install the AOSP Keyboard on the OnePlus X. First tutorial is for those people running OOS 2.2.0-X (i.e. the latest OTA). Second tutorial is for those people running OOS 2.2.0 (i.e. without the latest OTA - y'all have it easier than those of us who updated!)
Before you begin... I'd recommend performing a Nandroid backup through your recovery (TWRP/CWM/etc).
FIRST TUTORIAL - IF YOU'VE UPDATED TO OOS 2.2.0-X:
1. Download the attached AOSP Keyboard.zip file & extract to your SD card.
2. Go into your file manager & browse to Root/system/app. Look for the folder LatinImeGoogle.
3. Rename the LatinImeGoogle folder to something else. I used LatinImeGoogle-backup for safety reasons. Always leave yourself an out!
4. Change the LatinImeGoogle-backup folder permissions to r-r-r (really this is flexible - just use something other than what is currently assigned to the folder.)
5. Go back to where you extracted the AOSP Keyboard folder contents.
6. Copy libjni_latinime.so to system/lib/
7. Set libjni permissions to rw-r--r-- (aka 644)
8. Copy LatinIME folder to system/app/
9. Set LatinIME folder permissions to drwxr-xr-x (aka 755)
10. Open "LatinIME" folder.
11. Set LatinIME.apk permissions to rw-r--r--(aka 644)
12. Set "lib" folder permissions to drwxr-xr-x (aka 755)
13. Open "lib" folder.
14. Set "arm" folder permissions to drwxr-xr-x (aka 755)
15. Open "arm" folder. IF there is anything in the "arm" folder, delete it. (Sometimes Android will auto add libjni_latinime.so in there. Just delete it).
16. Go back to your root /system/lib/ and scroll down to libjni_latinime.so.
17. Long press on the libjni_latinime.so file. Choose "Create symlink".
18. In the Symlink location field, choose Browse. Navigate to /system/app/LatinIME/lib/arm/ and Create the symlink there.
19. Go back to your root /system/app/LatinIME/lib/arm/. You should now see a symlink "shortcut" to libjni_latinime.so. Set the shortcuts permissions to rw-r--r-- (aka 644).
20. Reboot your device.
21. Celebrate with a cookie!
SECOND TUTORIAL - IF YOU'RE RUNNING OOS 2.2.0 WITHOUT THE LATEST OTA:
1. Download the attached AOSP Keyboard.zip file & extract to your SD card.
2. Copy libjni_latinime.so to system/lib/
3. Set libjni permissions to rw-r--r-- (aka 644)
4. Copy LatinIME folder to system/app/
5. Set LatinIME folder permissions to drwxr-xr-x (aka 755)
6. Open "LatinIME" folder.
7. Set LatinIME.apk permissions to rw-r--r--(aka 644)
8. Set "lib" folder permissions to drwxr-xr-x (aka 755)
9. Open "lib" folder.
10. Set "arm" folder permissions to drwxr-xr-x (aka 755)
11. Open "arm" folder. IF there is anything in the "arm" folder, delete it. (Sometimes Android will auto add libjni_latinime.so in there. Just delete it).
12. Go back to your root /system/lib/ and scroll down to libjni_latinime.so.
13. Long press on the libjni_latinime.so file. Choose "Create symlink".
14. In the Symlink location field, choose Browse. Navigate to /system/app/LatinIME/lib/arm/ and Create the symlink there.
15. Go back to your root /system/app/LatinIME/lib/arm/. You should now see a symlink "shortcut" to libjni_latinime.so. Set the shortcuts permissions to rw-r--r-- (aka 644).
16. Reboot your device.
17. Celebrate with a brownie!
I've also tucked a txt copy of the barebones instructions into the zip file.
Feel free to ask any questions below.
Cheers,
equi

hi equi_design
thank you very much for providing a manual for aosp keyboard. i followed you instructions and everything went through apart from changing the shortcut to 644. i could not get any access in order to change permissions. nevertheless, keyboard works without any problems so far!
btw which filemanager did you use? es explorer for example does not support the creation of symlinks (i am on version 3)
best wishes,
lukas

lukas235 said:
hi equi_design
thank you very much for providing a manual for aosp keyboard. i followed you instructions and everything went through apart from changing the shortcut to 644. i could not get any access in order to change permissions. nevertheless, keyboard works without any problems so far!
btw which filemanager did you use? es explorer for example does not support the creation of symlinks (i am on version 3)
best wishes,
lukas
Click to expand...
Click to collapse
To create a symlink I used the root Explorer pro

lukas235 said:
hi equi_design
thank you very much for providing a manual for aosp keyboard. i followed you instructions and everything went through apart from changing the shortcut to 644. i could not get any access in order to change permissions. nevertheless, keyboard works without any problems so far!
btw which filemanager did you use? es explorer for example does not support the creation of symlinks (i am on version 3)
best wishes,
lukas
Click to expand...
Click to collapse
Glad it worked out in the end. I use Solid Explorer now. About a year ago, I gave up on ES since they were dropping & hidden files onto my SD card. I'd suggest looking around for another file manager if you can.
Sent from my OnePlus using XDA Labs

Related

DroidSansFallback.ttf + Softbank Emoji font (See Emojis on your Android!)

The original thread with the files is located here
Basically this will allow your Android phone to display Softbank Emoji encoding. This is not limited to just your text messages, but will also allow applications to display emojis that people have in their profiles or whatever.
Things needed before you install:
1)Root Explorer (from the Market) You can use a different file explorer app, but it must be able to mount your system folder as read/write
2)A program that can open a 7z file (you can find that online here The file that is provided is compressed with 7z format. There is probably an app that can extract that on the market, but I haven't looked for it.
3)Your phone MUST be rooted!!!
To install:
1)Download the droidsansfallback.7z file to your computer
2)Uncompress the file and move the droidsansfallback.ttf to your SDCard somewhere
3)Go /system/fonts with root explorer
4)Click "Mount R/W" at the top
5)Long-press on Droidsansfallback.ttf and click delete and then Yes to confirm
7)Navigate back to where you placed the droidsansfallback.ttf
8)Long-press on droidsansfallback.ttf and click "Move"
9)Go back to /system/fonts
10)Click "Paste" at the bottom
You're done!
moved, this is belong more into Theme-ing than Development
Make sure you give permission 644 or rw-r--r--
Works on Desire HD
Thanks man, works on HTC Desire HD, CM7:good:
Problem
while Im pasting it,there is an error,that 'this is read only.' help pls :silly:
akashb97 said:
while Im pasting it,there is an error,that 'this is read only.' help pls :silly:
Click to expand...
Click to collapse
Yo must press [R/W]bottom at the right corner

No boot sounds Cy4noobsMod

Is there a way to disable all boot sounds ? Putting my phone in silent mode doesn't help it still plays the transformers like sound which is way to loud when u have to do it in a public location imo.
Follow these steps:
1: Install root Explorer or ES file explorer etc.
2: Navigate to /system/media or /system/media/audio (cant remember which one)
3: Mount file system as R/W
4: Delete the bootsound.ogg or rename it to bootsound.ogg.old
5: Done !
hsrars-d said:
Follow these steps:
1: Install root Explorer or ES file explorer etc.
2: Navigate to /system/media or /system/media/audio (cant remember which one)
3: Mount file system as R/W
4: Delete the bootsound.ogg or rename it to bootsound.ogg.old
5: Done !
Click to expand...
Click to collapse
yup, something like that. actually it was so easy as long we familiar with rootexplorer things. these for more accurately step:
> navigate to /system/media using rootexplorer (don't forget to mount system as R/W)
> delete "poweron.ogg" file or backup it (usually by renamed it to poweron.ogg.bak)
> done!
> or i'd like to suggest to customize it with your own sound file that already converted n renamed as poweron.ogg n replaced or backup the original sound file. recommended to set permission as same as the original (just copy by looking the original)
Hey, Thanks for this tip, Im going to do this after I flash Cyanogen 9
Or you just try the app called Silent Boot

google now ics

i just installed google now on my hox with venom and faux kernel but its a bit slow any one know how i can improve it?
i used this guide
Originally Posted by homeslice976 View Post
I broke the previous instructions down a little with the few added things I had to so to make it work..maybe a little less confusing for some..maybe not... Thanks goes to gachana for the original instructions and to all the others involved in this that are wayyy smarter than me!
•Download LennoxPackage.zip from http://www.mediafire.com/?8lv1h2879q925x1 from post # 2370.
• Extract all 3 folders from LennoxPackage.zip to a new folder on your computer
•Then download and replace the Velvet file in the app folder of your new folder with Velvet.apk from post # 2425 link http://www.mediafire.com/?h6itqk1mrr1zjjy
• Move the folder you've created (with 3 subfolders) to your SD Card
• On your phone, in /system/app/, rename GoogleQuickSearchBox.apk to GoogleQuickSearchBox.apk.bak using Root Browser (or something similar)
•In the folder you placed on your SD - you'll need to move everything from the /app/ folder to /system/app/, and set permissions to RW/R/R for each of the 3 .apks
•copy the files from the lib folder on your SD, and paste to system/lib (note, a couple of these already exist. Before copying these files go through /system/lib/ and rename any existing files to include .bak, then copy/paste new files. If you don't do this it will paste them with '- copy' as part of the file name). Change permissions of these New files to rw/r/r
• rename the existing "config" folder in /system/usr/srec/ on your phone to "config.bak", then just paste "config" and "en-US" from the srec folder on your SD to /system/usr/srec/. I also changed permissions on config and en-US to RWX/RX/RX
•Reboot and enjoy.
which i got from here
http://androidforums.com/android-ap...y-working-google-now-ics-root-users-only.html

[HOW TO] [ROOT]: Install Custom S-Pen Pointers and Sounds

Hello everyone. This is my second attempt at making a useful thread for the community so if it isn't formatted correctly or isn't right in anyway please PM me and I will fix it., it might be helpful to me to leave instructions on how to fix it as well. If something like this already exists, I am sorry please notify me of that and I will take this down.
This is a thread to instruct you on how to make custom s-pen sounds and install them as well as how to install custom s-pen pointers on any TW based rom including stock ( this is just install, I don't know how to make custom pointers yet). There are two requirements YOU MUST BE ROOTED AND RUNNING STOCK OR TW BASED ROM. This is my method, I am not saying that there aren't better ways just that this is how I do it and I know it works. I am not responsible for things going wrong and you being left with a device that doesn't work. You do this because you choose to and understand the risk involved. Also, please make back ups of all the files you want to change so that you have all the original files.
For Sounds: (You can use any sound you have or even the voice record app to make the sound you'd like)
1. Make sure you're rooted
2. Have some sort of root permission file explorer installed (I use Rom Toolbox)
3. Find or record the sounds you want to use as your s-pen attach and detech sounds If they aren't in the .ogg format then convert it to .ogg (I use wavepad for this step)
4. Decide if you want the sound to be sound 1,2 or 3
5. Once you have your sound the way want it rename the file for attach to Pen_att_noti1 (the number can also be a 2 or 3 depending on where you want the sound) and the sound for detach to Pen_det_noti1 (again the number can be different)
6. Place the files on your phone where you can locate them with the file explorer you have installed.
7. Locate the file(s) you want to use and using your explorer navigate to the directory system\ media\ audio\ ui and paste the sounds there. (You might be asked to overwrite whats there. If you want to save the original sounds simply find the file with the same name before you paste and rename to (thefilenamehere.ogg.bak)
8. Restart your phone
9. Once rebooted navigate to your spen sound selector and choose the sound want.
Thanks to my friend TheGrammerFreak for this nexxt bit
For Pointers:
(I don't know how to make pointers. This is assuming you have a file that you know can be used as the pointer. i am trying to learn and when/if I do I will add that to this thread)
1. Make sure you're rooted
2. Make sure you have some root permission file explorer installed.
3. Make sure you have a program that can open .apk files on you PC (I use 7-Zip)
4. Using the explorer you have navigate to the directory system\ framework and copy the file framework-res.apk to a place that you can access via the pc (I used my extsdcard)
5. Attach your phone to the computer
6. Find the framework-res.apk and move it onto your computer
7. Take the file you want to use and reaname it to tw_pointer_spot_hovering_spen
8. Open (not to be confused with unzip. Right click the apk and select "open with") the framework-res.apk with a program that will open it
9. Once open navigate to res\ drawable-xhdpi and find the file named tw_pointer_spot_hovering_spen delete that file and take the file you made/have of the same name and paste it directly into that directory. exit the program after doing so.
10 Take the framework-res.apk file that you edited and place onto your phone where you can locate it.
11. Detach your device from the computer
12. Using your explorer on your phone navigate to the edited framework-res.apk[ and select to copy it.
13. Navigate with your explorer to the directory system\ framework and paste the file there. WARNING: You might get several errors and force closes, don't worry this is normal.
14. Either restart your phone or pull your battery and boot up and you will now see your new pointer. Enjoy!
NOTE: If you want a different pointer for your files that air view capable or if you want your new pointer to be used as your air view pointer follow the same instructions except that the file you are wanting to use and the one you replace are both named tw_pointer_spot_hovering_spen_more and these files can be the same as your normal pointer if you choose.

[GUIDE] How to install apps as system apps without ForceClose!

You need to be rooted and i recommend use root explorer
1) First guys make sure you have the apk or else pull it from /Root/Data/App
2) Copy that apk to your SD card and install it as a normal user app (Like a usual APK)
3) Go to /Root/Data/Data
4) Find the app then go to it and open the folder (eg. com.android.camera - Camera)
5) Go to file called "lib" in the folder (com.android.camera)
6) You may find one or multiple files in it. (eg. abcd.so ) copy it or them to your SD card
7) Uninstall the app and reboot the device
8) Take the apk from SD card and copy the apk to /Root/System
9) Select the file and change the permissions of the apk under select permissions
10) Tick all the boxes under read and only the first one under write and click ok
11) It should look like rw-r--r--
12) Then cut the Apk and pate it to /Root/System/app
13) Copy the the Lib named like. (Eg - abcd.so) to /Root/System and change the permission like you did with earlier apk but cut (Eg. abcd.so) it and paste it to /Root/System/lib
And reboot and enjoy
Hit Thank If It Helped You
I don't unstand why you can install a system apps on step 2
mine shows App not installed. The package appears to be corrupt. and some time conflict

Categories

Resources