[Q] How to port a Stock Keyboard to another device? - Galaxy S II Q&A, Help & Troubleshooting

hi everybody.
I would like to have the old keyboard from my xperia arc on my SGS2. I have already done what is suggested in this thread. However, I can not install textinput-tng.apk. I get a "Application not installed" message.
So I transferred anything i could find in this /system Folder that seemed to have something to do with textinput to the respective folders on my phone. If the folder didn't exist, I created it. It had no effect for better or for worse.
This thread isn't any help either, so I went and posted here...
Can anyone help me how to install the SE Stock textinput on my SGS2? I am running CM7.
Thanks in advance.

Related

[Q] Can someone please help me with two things?

Hey everyone, I have successfully made a few ROMS for myself (using the DSIXDA HTC Android ROM kitchen v 1.00). I am making a ROM for the HTC Evo.
I know how to do most of it, I have managed so far:
To add my own ringtones
To add my own notification sounds
To set the default ringtone, notification, and change the default wallpaper
Add a theme to my ROM
But there is a few questions I have. I have Googled, looked around on here, and done what I can to find the answers but I am so far unsuccessful.
My first question: Ok, I know that the default wallpapers reside in the system/customize/resource directory. I have attempted to replace the wallpaper (and small preview) wallpapers with my own custom ones. I tried using Paint.net for Windows to resize to the same dimensions as the default wallpaper. For example, to replace htc_wallpaper_01.jpg, I edited a 960x800 wallpaper to have the same size and name (everything the same) and changed htc_wallpaper_small_01 with a matching 80x60 smaller version of the new graphic. I have found sometimes it works, but if I do a few using the method mentioned above, the ROM fails to load up. Can someone help and explain why?
Question 2: I am trying to place the removed apps automatically on the SD Card. I made a "sdcard" folder in the root directory of my ROM. I tried editing the update.zip to include copy_dir PACKAGE:sdcard /sdcard and when I do a check for errors I get none, yet when I try and install the ROM it gives me the "E:syntax error in update script" meaning I am not doing it right. I tried doing it the same way Fresh did it and it also threw me the same error.
So can anyone please tell me how to do this? I know I am close with both and I have tried dissecting other ROMS to see how they did it but I cannot figure it out.
First question:
It could be many possibilities. Maybe not enough room on system, file names not matching, etc...
Try each png on seperate flashes to find the culprit.
*The best way to find out for sure is to use "adb logcat" on boot. This tells you all your errors the OS has.*
Second question:
Im not understanding what your trying to do?
Root of a rom is /
sdcard is mounted to a folder on /
If you want to store the apk on sdcard then,
the proper code to install in /sdcard from update.zip:
Code:
copy_dir PACKAGE:sdcard SDCARD:
If this is not what your asking please explain to me what your asking.
RichieDaze said:
First question:
It could be many possibilities. Maybe not enough room on system, file names not matching, etc...
Try each png on seperate flashes to find the culprit.
*The best way to find out for sure is to use "adb logcat" on boot. This tells you all your errors the OS has.*
Second question:
Im not understanding what your trying to do?
Root of a rom is /
sdcard is mounted to a folder on /
If you want to store the apk on sdcard then,
the proper code to install in /sdcard from update.zip:
Code:
copy_dir PACKAGE:sdcard SDCARD:
If this is not what your asking please explain to me what your asking.
Click to expand...
Click to collapse
Thank you RichieDaze for the response.
You mentioned png., but all the ROMS I have seen have the wallpaper in .jpg format. I was just wondering if there was a certain size they have to be (I mimic the exact size of the default ones).
I think I got this part worked out by doing exactly that, installing 1 at a time until I find the culprit.
For question 2: Thanks to using the DSIXDA kitchen, I cannot use updater.script, which seems to be the way ROM makers like Calkulin, Hero_over, and other have used to set their removed apps to automatically copy on to the SD card when you install the ROM.
I have to use update.script instead, and when I try and do it using that I run into an error.
What I am trying to is remove the usual bloat from the ROM, but copy the removed apps so that users can have the option of installing them if they use any of them.
You are answering my question and are on the right track to helping me. I will try to add that (the way you wrote it out) and see what happens to my update.script.
Thank you very much for your help, greatly appreciated and please let me know if there is some other way to do this if you are aware of any or if someone is using update.script instead of updater.script.

[Q] ArchosWeather.apk

Hey gus - HERE is my question for the pros
Recently i was exploring the /system/app directory in my UD installation.
And u know what i found: the apk named in title...
But hey - I never saw an app or a service in my archos showing me the weather...
When starting it - the apk wanted to install - but it didn't work - also not if I tried to install from another place (thought i could make problems installing an app from /system/app to /system/app...)
Is there ANYONE knowing anything about a weather app from archos?
EDIT: Attached the file - perhaps anyone can figure it out...

Installing stock asus keyboard app

Has anyone tried to reinstall the stock asus Keyboard app?
I know it's the "keyboard.apk".
I tried to install it via root explorer by moving it to /system/app then giving it all permissions and rebooting. But it still won't show up.
Any ideas?
The stock keyboard isn't inside Keyboard.apk; that only contains the shortcuts for the Asus dock keys. The Asus Keyboard is inside XT9IME.apk.
**Edit**
Never mind I found it on this old post. You need these files:
Needed for software keyboard:
XT9IME.apk
/system/lib/libjni_xt9input.so
/system/lib/libjni_xt9kcm.so
/system/usr/xt9
I yanked these out of the revolver rom and put them in place with root explorer.
Now I'm good to go. Thanks agentdr8.
apollostees said:
**Edit**
Never mind I found it on this old post. You need these files:
Needed for software keyboard:
XT9IME.apk
/system/lib/libjni_xt9input.so
/system/lib/libjni_xt9kcm.so
/system/usr/xt9
I yanked these out of the revolver rom and put them in place with root explorer.
Now I'm good to go. Thanks agentdr8.
Click to expand...
Click to collapse
I know this is an old post, but it's the only thread where I found someone was able to successfully install the Asus keyboard on a custom ROM. I have the files you listed, but I'm unable to copy them to the required folders. I tried with a regular file explorer as well as a root explorer. I am running CM10.1, rooted of course.
jleonard711 said:
I know this is an old post, but it's the only thread where I found someone was able to successfully install the Asus keyboard on a custom ROM. I have the files you listed, but I'm unable to copy them to the required folders. I tried with a regular file explorer as well as a root explorer. I am running CM10.1, rooted of course.
Click to expand...
Click to collapse
So I found another thread which included a file called asus_keyboard.zip which I simply needed to download and install from recovery mode, but after doing that when I select the Asus Keyboard I just keep getting the error message "Unfortunately Asus Keyboard has stopped". And it keeps popping up every 2 seconds until I disable it. Any ideas?
Here's where I found it: http://forum.xda-developers.com/showthread.php?t=1542502&highlight=keyboard

[Q] How do you change the wallpaper on settings submenus in CM7?

I currently use a HTC HD Mini (Photon) running the SCREAM ROM by Ling Gan. It has a few bugs for most of which there is either a workaround or fix but there is the one problem which has remained unsolved: the default wallpaper on everything BUT the home and lockscreens cannot be changed. It is of a tree in a meadow under a blue sky and when rotated to landscape changes to some smiling chinese lady in the "settings" submenu. Doesn't hamper use much but it is quite annoying.
I have tried a number of solutions some of which resulted in my having to reflash and others did nothing. I post this here because I think it is a CM7 issue. The ROM developers have so far been unable to post a solution within the thread and I am aware that a fix for similar problems on CM9 ROMs exists using ADB to edit framework-res.apk. I felt it was time the problem was tackled by the wider XDA fam. Used google translate to look on the chinese site where the ROM is native to (mobile-kon) but found no help as well. Any help would be greatly appreciated.
i think ur problem lays in the framework-res.apk it contains the look of the rom and the transition effects
you can mod apk with the apkmanager tool for ur computer in the frameworkresapk you should find the images u want to change replace them witch a black picture or something like that
if never done this befoure exept from changing some transition effects and i had a couple of errors among this
the easier way seems to search for the rom on another page cus the images ure stating are not standart in the cm7
SOLVED!
jiffer1991 said:
i think ur problem lays in the framework-res.apk it contains the look of the rom and the transition effects
you can mod apk with the apkmanager tool for ur computer in the frameworkresapk you should find the images u want to change replace them witch a black picture or something like that
if never done this befoure exept from changing some transition effects and i had a couple of errors among this
the easier way seems to search for the rom on another page cus the images ure stating are not standart in the cm7
Click to expand...
Click to collapse
Many thanks!
I started off looking through the "res" folder in framwork-res.apk using Root Explorer to identify the images for the wallpaper. They were
Res/drawable-land-mdpi/screen-background-dark-transparent.png
And
Res/drawable-mdpi/screen-background-dark-transparent.png
I then created a copy of framework-res.apk on my SD card and copied it onto my pc. I created new wallpapers to replace the ones I just mentioned, one in portrait, the other in landscape. They were 320x480 and 480x320 respectively. Using 7zip on the pc, I placed them in the corresponding folders (/drawable-mdpi for protrait and /drawable-land-mdpi for landscape).
I copied framework-res.apk back to my sdcard and then fired up terminal emulator to run the following commands
su
sys -rw
busybox cp /sdcard/framework-res.apk /system/framework
sys -rw
You might get error messages from running apps after this but ignore them and reboot. The idea is to replace the framework-res.apk in system/framework with the one you just edited.
After the reboot, you should have your newly created wallpaper showing up in settings in both landscape and portrait modes.
Please hit "thanks" for both jiffer1991 and I if this was helpful. Big ups to jiffer1991for pushing me in the right direction.
Hi,
i did something wrong.
So my Phone didn´t run.
He show me the Bootsceen and the Animation.
But the he will run again and again and again.
Can i handle my Phone via USB so i can restore the framework.resp.apk on my System? Or i have to reinstall Android again?
I have no backup and i don´t want to erase my system settings.
Thanks
Felix
obstgarten said:
Hi,
i did something wrong.
So my Phone didn´t run.
He show me the Bootsceen and the Animation.
But the he will run again and again and again.
Can i handle my Phone via USB so i can restore the framework.resp.apk on my System? Or i have to reinstall Android again?
I have no backup and i don´t want to erase my system settings.
Thanks
Felix
Click to expand...
Click to collapse
hm u got stuck in a bootloop thats what i meant when i mentioned errors =)
you could make a zip with the old framework res apk or reflash the cm rom
if u dont whipe data/cash ure setting will be safed
read some tutorials how to mod the framework res apk
I have an .zip file on the sd card.
Can i copy it to the Android system somehow?
Felix
P.S. can i zip the framework and remove the ".zip" to ".apk"?
It is most likely that the zip file you have is the ROM image from which you flashed in the first place. Changing the extension to apk is NOT what you want to do. I suggest you create a backup in CWM of you present configuration and after reflashing, you can then do a partial restore of your user data. But its like Jiffer1991 said, read up on CWM, theres an exhaustive guide on xda somewhere.
Thanks,
i installed my modified cm rom without wipe caches data or something.
And now i have my old datas back, with the new Background.

[Q] Easy way to install Segoe WP font

Hi,
I’m new to the SGS3, but not so new to android, but still have problem with fonts. When I got SGS2 I got Segoe WP font (from Windows Phone), which fits perfectly for me, but when I want to download it now for SGS3 I can’t find installable .apk file – even here I found many threats with links, but all of them are zipped folders. How to install it, so I can choose font from settings/screen/font? I don’t have root and didn’t had back with SGS2, so there is way to install it easily. Can someone help me with it? What am I doing wrong?
Regards, Jacek
Baronik said:
Hi,
I’m new to the SGS3, but not so new to android, but still have problem with fonts. When I got SGS2 I got Segoe WP font (from Windows Phone), which fits perfectly for me, but when I want to download it now for SGS3 I can’t find installable .apk file – even here I found many threats with links, but all of them are zipped folders. How to install it, so I can choose font from settings/screen/font? I don’t have root and didn’t had back with SGS2, so there is way to install it easily. Can someone help me with it? What am I doing wrong?
Regards, Jacek
Click to expand...
Click to collapse
zippable files are usually flashed through CWM recovery
Hi,
Here: http://forum.xda-developers.com/showthread.php?t=1717964&highlight=fonts
There is the SegoeWP font, .apk file so you can use the built-in font changer...

Categories

Resources