(Q) extract samsung keyboard - Galaxy S II Q&A, Help & Troubleshooting

Is it possible to extract samung keyboard (like attached photo) and use it on aosp roms?
I read about the twframework dependence, but does a way to make it work exist?
Or at least someone can advise me a very similar keyboard? Thank you

andre-83 said:
Is it possible to extract samung keyboard (like attached photo) and use it on aosp roms?
I read about the twframework dependence, but does a way to make it work exist?
Or at least someone can advise me a very similar keyboard? Thank you
Click to expand...
Click to collapse
Please refer to this thread : http://forum.xda-developers.com/showthread.php?t=1822973

That guy refers to a dead link.
However Drivingdroids' guide says:
How to install:download attachment.1) Download zip file (Samkeyboard.zip) from the link below.2) Using root explorer or same kind of tool, place these files and set the permissions -Only Deodexed. (Screenshots yet to come)Touchwiz.xml put in /system/etc/permissions and set permission to rw-r--r-- (I have attached a screenshot, see it if you dont understand the permission stuff)libdhwr.so put in /system/lib and set permission to rw-r--r--libXt9_core.so put in /system/lib and set permission to rw-r--r--T9db folder(with all files inside, copy this whole folder)*put in /system and set permission to rwxr-xr-xAxT9IME.apk put in /system /app and set permission to rw-r--r--
Before I wipe everything and test it on a KK rom, you think i can do it also without the zip file (taking the files i need from the zip of the sammy rom)?

andre-83 said:
That guy refers to a dead link.
However Drivingdroids' guide says:
How to install:download attachment.1) Download zip file (Samkeyboard.zip) from the link below.2) Using root explorer or same kind of tool, place these files and set the permissions -Only Deodexed. (Screenshots yet to come)Touchwiz.xml put in /system/etc/permissions and set permission to rw-r--r-- (I have attached a screenshot, see it if you dont understand the permission stuff)libdhwr.so put in /system/lib and set permission to rw-r--r--libXt9_core.so put in /system/lib and set permission to rw-r--r--T9db folder(with all files inside, copy this whole folder)*put in /system and set permission to rwxr-xr-xAxT9IME.apk put in /system /app and set permission to rw-r--r--
Before I wipe everything and test it on a KK rom, you think i can do it also without the zip file (taking the files i need from the zip of the sammy rom)?
Click to expand...
Click to collapse
Yeah first do a Backup of the present rom whatever you have, and try taking the files and copying them and fixing the permissions !! It should work
Dont forget to hit thanks if this helps you

Thank you, I'll give a try asap!

I've found (somewhere, I can't remember where) a zip file with all the files mentioned above. so I installed it on dirty unicorns, wipe cache, dalvik, fix permissions and it works! but it isn't the same keyboard of my old rom, it is samsungkeybord of ICS (quite old..). So I extracted NeatRom zip, but the files I need dont exist! (I extract it on windows and try to "search", so I'm pretty sure there is nothing). In preload/symlink/system/app the only apk that reminds to a keyboard is "SamsungIME.apk" but it refuses to install on KK and pushing it to system/app of the new rom seems to be useless.. Here the zip file and SamsungIME.apk, maybe can be useful.. Some advices? Thank you.

Related

[Q] SystemUI.apk (apktool) Windows/Mac

i have been trying to change some strings in the SystemUI.apk file in synergy, just to see what i can make them say... but i keep getting the same issues.
WTF am i doing wrong? :l
alright, so i put a (framework) folder in the usr/local/bin folder and added synergy frameworks.
(com.htc.resources.apk) <--- labeled this 1.apk
(framework-res.apk) <--- labeled this 2.apk
i decompiled SystemUI.apk using [apktool d /Users/Rolando-Ramiro/Desktop/SystemUI.apk /Users/Rolando-Ramiro/Desktop/SystemUI]
and used textmate (application for mac to edit xml files) to edit the strings i wanted and then i built the file again using..
apktool b /Users/Rolando-Ramiro/Desktop/SystemUI /Users/Rolando-Ramiro/Desktop/SystemUI.apk
no errors on either part.
now i tried 2 things after this.
i unzipped the synergy rom and added the SystemUI.apk to system/app folder on my computer.
i compressed it once more and tried to flash it. Nothing happened.
so i got the SystemUI.apk (the one with the modified strings.xml) and just moved it from my sdcard to the system/app folder in my phone.
Right after that, i got FC.
so i went back to what i originally had.
any idea what im doing wrong?
i keep getting
install /sd card ...
finding update package
opening update package
Installing update...
then it goes back to TWRP
--> choose zip to flash
[ ] reboot after successful flash
[ ] zip signature verification
--> reboot to system
<-- back to main menu
anyone with input please let me know.
i have mac/windows
omg ^^..
I already said it many times to you:
1. Pull the SystemUI.apk from your rom.
(put the apk in the same folder with the apktool, the you just have to type teh name of the the apk,with out a complete path. just like in step two)
2. Decompile it:
apktool d SystemUI.apk
Click to expand...
Click to collapse
3. make the changes in the SystemUI folder
4. Recompile it WITH AN OTHER NAME:
apktool b SystemUI SystemUI_NEW.apk
Click to expand...
Click to collapse
DON'T overwrite the original SystemUI.apk! (In your 1st post you did this!)
5. open both apks with 7zip
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
7. You dont need do do anything more now!
- just zipping the apk and flash via cwm won't work, read here how to make one:
http://forum.xda-developers.com/showthread.php?t=732957
- to try installing this apk won't work either.
8. The right way: copy the SystemUI.apk with ne new ressources file in it
and paste in on your sdcard. move it to /system and change the permission with root explorer to 644 or similar (just like all other apks in system/app) and then finally move it in system/app
- or just push it via adb to system/app
9. reboot
Edit: if u still don't understand how to do it, open teamviewer and give me id and pw =P
Rolando.Ramiro said:
i keep getting
install /sd card ...
finding update package
opening update package
Installing update...
then it goes back to TWRP
--> choose zip to flash
[ ] reboot after successful flash
[ ] zip signature verification
--> reboot to system
<-- back to main menu
anyone with input please let me know.
i have mac/windows
Click to expand...
Click to collapse
i would imagine there is an error in your edify script somewhere. and did you resign the apk as a system apk after you recompiled?
i've done everything you said, I PROMISE!
but it still messes up...
how do i resign it?
i decompile SystemUI.apk
it makes a folder called SystemUI
i remove the original SystemUI.apk
then i edit the string, then compile it again.
(i am using the frameworks from the rom that i got the SystemUI.apk from)
once i compile it, i extract the original rom, and go into (system/app) folder and add the .apk
then i compress it back to .zip
i try and flash and i get same error.
i really did the same steps.
i havent tried it on PC though, but i do have it.
gonna do that today.
edit; ok so im reading over the steps that you gave me.
im half asleep right now so i didnt get to fully read them.
my bad! ill do that right now and let you know what i came up with.
edit 2; (15 mins later) i have zip signer 2 on my phone, im pretty sure that will work the same as ppcgeeks apk signer. right?
alright, so instead of creating an update script, i just wanted to push the application from my phone straight into it.
i followed the steps;
1. decompile
2. modify files
3. build with NEW name
4. use 7zip for both NEW and original .apks
5. move over any files from NEW that were modified into original.
6. compress (im not sure if i should of compressed or built again..)
7. move to /system/ and change to what all the apps in /system/app/ are (permissions)
8. move from system/ into system/app.
i still get FC.
sorry if i sound REALLY retarded. im just really unsure what im doing wrong so i have to write it all out.
j4n87 said:
omg ^^..
I already said it many times to you:
1. Pull the SystemUI.apk from your rom.
(put the apk in the same folder with the apktool, the you just have to type teh name of the the apk,with out a complete path. just like in step two)
2. Decompile it:
3. make the changes in the SystemUI folder
4. Recompile it WITH AN OTHER NAME:
DON'T overwrite the original SystemUI.apk! (In your 1st post you did this!)
5. open both apks with 7zip
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
7. You dont need do do anything more now!
- just zipping the apk and flash via cwm won't work, read here how to make one:
http://forum.xda-developers.com/showthread.php?t=732957
- to try installing this apk won't work either.
8. The right way: copy the SystemUI.apk with ne new ressources file in it
and paste in on your sdcard. move it to /system and change the permission with root explorer to 644 or similar (just like all other apks in system/app) and then finally move it in system/app
- or just push it via adb to system/app
9. reboot
Edit: if u still don't understand how to do it, open teamviewer and give me id and pw =P
Click to expand...
Click to collapse
DUDE I ****ING GOT IT. :O
thank you so much.
posting screenshots right meow.
Rolando.Ramiro said:
DUDE I ****ING GOT IT. :O
thank you so much.
posting screenshots right meow.
Click to expand...
Click to collapse
no need to resign/compress after drag/drop file...thats the way im doing it
Congrats that u finally made it..was a hard way =P
j4n87, that guide. it's beautiful.
You saved my day, Sir!
@j4n87:
Thanks a lot for your nice step by step guide - it really helped me a lot!
As a beginning, I tried to change the color of the statusbar's clock. My main mistake was violating your rule 6b:
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
So you have to copy the file status_bar.xml from SystemUI_NEW.apk/res to SystemUI.apk/res, too.
Thanks again!
Wolfgang
EDIT:
Here is a little timesaver for you when you have installed Android Development Kit (with adb command within your PATH) and you have a WLAN connection to your development PC:
- Install the app adbWireless from the market.
- To get SystemUI.apk installed, start adbWireless and type in your PC's terminal:
1. adb connect 192.168.1.100:5555
2. adb remount
3. adb push SystemUI.apk /system/app
4. adb shell killall system_server
ad 1) Take the values the app tells you.
ad 2) Makes /system partition writeable.
ad 3) You may have to add the correct path to the SystemUI.apk on your PC.
ad 4) That's the command for soft rebooting your smartphone which is faster than a normal reboot.

Original apk for statusbar

i installed the transparent statusbar mod in my xperia mini st15i.. i just want the original one back. i don't have a nand backup. can someone post the related apks here and tell me how to install them if a specific procedure is to be followed.
gandhar said:
i installed the transparent statusbar mod in my xperia mini st15i.. i just want the original one back. i don't have a nand backup. can someone post the related apks here and tell me how to install them if a specific procedure is to be followed.
Click to expand...
Click to collapse
Someone with mini have to help you. But since no one replying, and to save your time from searching all over the web;
To know which apk that has been modified, open the mod that you have applied using archive apps (winrar should do if you are in windows) and see what apk is inside (generally it should be framework-res.apk and/or SystemUI.apk)
To revert back, one of the way is to extract that apk from stock fw file, copy to your /system/ then change permission rw-r--r-- (if you dont know what it means, just refer to any apk inside /system/app/ permission's, they are all the same generally for /system/app/ and /system/framework/ ). Then, move it to appropiate folder replacing the current file (SystemUI.apk into /system/app/ for example. Better to replace systemui.apk first before framework-res.apk to avoid unexpected fc in the process)
Once done, reboot.
Other ways, ask anyone to make cwm compatible zip file for you to revert back to original or wait for someone to post the apk's here for you.
Thats a very good lessons actually, do a backup first before doing/modifying anything. Dont just simply flash any zip file, see first whats inside, backup whatever files that is affected by that zip to your sdcard is the fastest way (but not 100% reliable compare to make a backup in cwm.
Anyhow, good luck. cheers fren.
Sent from my SK17i using XDA App
feed3 said:
Someone with mini have to help you. But since no one replying, and to save your time from searching all over the web;
To know which apk that has been modified, open the mod that you have applied using archive apps (winrar should do if you are in windows) and see what apk is inside (generally it should be framework-res.apk and/or SystemUI.apk)
To revert back, one of the way is to extract that apk from stock fw file, copy to your /system/ then change permission rw-r--r-- (if you dont know what it means, just refer to any apk inside /system/app/ permission's, they are all the same generally for /system/app/ and /system/framework/ ). Then, move it to appropiate folder replacing the current file (SystemUI.apk into /system/app/ for example. Better to replace systemui.apk first before framework-res.apk to avoid unexpected fc in the process)
Once done, reboot.
Other ways, ask anyone to make cwm compatible zip file for you to revert back to original or wait for someone to post the apk's here for you.
Thats a very good lessons actually, do a backup first before doing/modifying anything. Dont just simply flash any zip file, see first whats inside, backup whatever files that is affected by that zip to your sdcard is the fastest way (but not 100% reliable compare to make a backup in cwm.
Anyhow, good luck. cheers fren.
Sent from my SK17i using XDA App
Click to expand...
Click to collapse
i got it from a friend, thanks anyway.

[Q] Add apps to ROM?

Hey.
Im trying to add Root Explorer to a ROM, so whenever I install that ROM, Root Explorer is installed. But Im having problems.
I tried adding Rootexplorer.apk to system/app but when I install ROM and try to run it, it force close and says something about (com.speedsoftware.rootexplorer)
Then I tried to add rootexplorer.apk to data/app
Doesn't appear installed.
I really don't know how to do it and need help. I don't know if im doing something wrong...
i think when you ad any .apk too system/app you need to change the permission to rw-r--r-- and then reboot it should work!!
ninad2407 said:
i think when you ad any .apk too system/app you need to change the permission to rw-r--r-- and then reboot it should work!!
Click to expand...
Click to collapse
The problem is that im adding the .apk to a .zip file
So I can't set any permission until I install that .zip
Camera.apk and mms.apk added to system/app and they worked.
Rootexplorer.apk won't =/
Tovagulet said:
The problem is that im adding the .apk to a .zip file
So I can't set any permission until I install that .zip
Camera.apk and mms.apk added to system/app and they worked.
Rootexplorer.apk won't =/
Click to expand...
Click to collapse
ive tried that some .apk's dont work like quickpic but i generally install root explorer not as a system app.But if its a zip then maybe some other problem !!
ninad2407 said:
ive tried that some .apk's dont work like quickpic but i generally install root explorer not as a system app.But if its a zip then maybe some other problem !!
Click to expand...
Click to collapse
Im sure I have used ROMs that come with root explorer installed.
Not sure how they did it, but there must be a way.
I download ROM.zip and trying to add rootexplorer.apk
thats it
Tovagulet said:
Im sure I have used ROMs that come with root explorer installed.
Not sure how they did it, but there must be a way.
I download ROM.zip and trying to add rootexplorer.apk
thats it
Click to expand...
Click to collapse
i think when you make a ROM you need a software that can also set the permissions in the zip file i had seen it yesterday but i dont remember the name
i saw it in the development section in a ROM making guide see if you can find it all the best !!
There's no need of any such software. Whenever a rom installs,all the required permissions are set automatically by the updater-script. And well, if you are planning to release the ROM on xda, Do *not* include root explorer in it. Root explorer is a paid app and adding warez to roms is not allowed on XDA.
Sent from my Nokia 1100 Classic

how can i install the stock samsung sms app ?

hi,
I'm trying to install stock sms app but i can't achieve this. It keeps saying : installation aborded
I am on chameleon rom 1.1 ( hybrid aosp/samsung rom)
Can you help me ?
(sorry if i made mistakes in my post i'm not english XD )
You should copy the apk into /system/app, then change permissions into 644 (rw--r--r), change group and owner to 'root', and finally reboot and try.
gb.yolo said:
You should copy the apk into /system/app, then change permissions into 644 (rw--r--r), change group and owner to 'root', and finally reboot and try.
Click to expand...
Click to collapse
i already tried it and it didn't work. and i am not sur about the about i trid to install because it s difficult to find the stock sms app.
i changed the permissions but i don t understand what you are saying by " 644 (rw--r--r)"
theoricaly it should work since i use an hybrid app ?
With a file manager, backup your mms.apk in /system/app in whatever folder you want. Then, copy the stock mms.apk into /system/app.
You shouldn't click on the .apk and let the app install as you do with other apk files, because this is a system application.
644 means read/write-read-read.
rw-r--r means u set read and write in the owner row , and set read only in the group row , and set read only too in the others row
Note : u get to permissions window in root explorer afer changing r/o read only to r/w read write from the button at the top
then just long click the item u want to change its permissions
i tried what you have said and it didn't work. Is a flashable zip existed ?
up
The stock mms.apk might not be compatible with the custom ROM you have on your phone...
Why do you say it doesn't work? What happens? You open it and it FCs or something else?
I just followed instructions given by posters above and it didn't worked. ( remove the old Mms.apk by the stock one, and fix the permissions, then reboot ) Maybe i don't have the good app, i don't understand why it didn't work; The chameleon rom support stock camera app of samsung and others apps...
piing said:
I just followed instructions given by posters above and it didn't worked. ( remove the old Mms.apk by the stock one, and fix the permissions, then reboot ) Maybe i don't have the good app, i don't understand why it didn't work; The chameleon rom support stock camera app of samsung and others apps...
Click to expand...
Click to collapse
Maybe the pakage cant be praised because of android version differnece , some apks from ics dont work on Jb and vice versa
So if u want a stock sms to work on jb , then download another jb rom that has it and take it from there
For pushing files to system app , it is better to first delete the app u want to replace then do a reboot after that copy the new app to system app and set premissions and set r/w back to r/o

NOTE 5 Edge MarshMallow Launcher

I'M HERE PRESENTING REAL NOTE 5 EDGE MARSHMALLOW LAUNCHER FOR MOTION ROM,ADITYA ROM,PROMO NOTE 5 PORT.
•FEATURES•
#SMOOTH
#FINE
#BUG FREE
#RESPENSIVE
•INSTALLATION STEPS•
%GO TO ROOT EXPLORER UNZIP THE ZIP
%COPY THE APK AND PASTE IT IN PRIV~APP AND DELETE OLD LAUNCHER
PUT LIB FILES IN SYSTEM/LIB AND SET PERMISSION RW-RR AND REBOOT
WOW U HAVE REAL NOTE 5 EDGE LAUNCHER​•CREDITS•
√@ALBE95
√@and2​
Mod edit
Link removed please link to the original thread
DON'T FORGET TO HIT THANKS
any screen shot ??
add scree short ???
Sent from my GT-I9300I using XDA-Developers mobile app
And the lib files? They arent there.
There aren't the lib files in the zip
nice - thx
I think You can do flashable zip file for beginners - no question how to set permissions, ect.
..and if You could write about backup system files before install it - if something will go wrong.
Thx a lot
nalas said:
nice - thx
I think You can do flashable zip file for beginners - no question how to set permissions, ect.
..and if You could write about backup system files before install it - if something will go wrong.
Thx a lot
Click to expand...
Click to collapse
Are the lib files necessary or not?
heheh I wrote about it above
libs are important - without it the app will FC.
But do permissions for for folder of libs like other from /system/app or system/priv-app - lib
nalas said:
heheh I wrote about it above
libs are important - without it the app will FC.
But do permissions for for folder of libs like other from /system/app or system/priv-app - lib
Click to expand...
Click to collapse
But they aren't in the zip!
kekko123 said:
But they aren't in the zip!
Click to expand...
Click to collapse
Aha ... so if no present so I think only apk file is ok...
change name old apk via add ".bak" at the end of name and paste the new form zip folder, next set permission at
rw-r--r-- and restart the phone - if something goes wrong - rename the old apk via delete ".bak" at the end and delete the new apk copied from zip.
You can back to original version of TW.
nalas said:
Aha ... so if no present so I think only apk file is ok...
change name old apk via add ".bak" at the end of name and paste the new form zip folder, next set permission at
rw-r--r-- and restart the phone - if something goes wrong - rename the old apk via delete ".bak" at the end and delete the new apk copied from zip.
You can back to original version of TW.
Click to expand...
Click to collapse
thanks
cant open apps in appdrawer plz fix
Thread closed
If a member wants to share an app they found in another section, they need to link to original thread. And there members can download, read about issues, and thank OP if they wish.

Categories

Resources