[Q] how to flash stk.apk (Sim Tool Kit) to AOKP - Samsung Galaxy Nexus

Hello,
I'm trying to install stk.apk on AOKP Maguro Build 37, first i used titanium backup on my Gummy rom to back it up so i would be able to extract it on AOKP but it didnt show up in the backed up system apps.
then i downloaded stk.apk and tried installing it, didnt work.....then i tried pasting it in system/app folder using Astro it didnt work as well. it gives me an error message.
if possible, I would like to know if i can install stk.apk on AOKP and if its not possible, is there a AOKP based rom that has sim tool kit installed in it that you would suggest to use?
Many thanks ppl

You need to remount /system with rw privileges
Sent from my i9250

Thanks, I hope it works..
If possible, may I know how to do that? Never had to fix permissions before. Thanks
Sent from my GT-I9100 using XDA

Fix permissions is easy...
OPen ROM Manager, and scroll own to utilities, it's the first option
Or do it in the advanced menu, in recovery
If the rw method doesn't work, flash it via ADB
Code:
adb install <packagename>

Hi,
Tried fixing permissions, and tried flashing the Stk.apk via adb using gnex toolkit, it installed but doesn't appear.
I think maybe the Stk I have is either corrupt or maybe isn't compatible with aokp....
If someone can upload one that's compatible it would be great
Thanks

Same problem, used to have a working stk.apk (this one: http://forum.xda-developers.com/showthread.php?t=1408926) but it doesn't work with AOKP M3 or 4.0.3
Any suggestions?

use Root Explorer

I used this for AOKP Milestone 5, installed but it's not appearing in App Drawer, i put it in /system/apps and fixed permission too.

Tried root explorer....tried fixing permissions and adb installation, I managed to install it appears in installed apps but doesn't show in the app drawer. And can't open it.
No idea what else to try

Seems to me that STK.apk you were trying to use was compiled with
Code:
<activity
android:enabled="false">
which, if i got it right, does not show the app under app drawer.

bk201doesntexist said:
Seems to me that STK.apk you were trying to use was compiled with
Code:
<activity
android:enabled="false">
which, if i got it right, does not show the app under app drawer.
Click to expand...
Click to collapse
I see, if that's the case..what do you reckon is the solution?
Cheers

stk
I've also tried to add stk to aokp but with no luck.
I extracted the stk from foxhound rom(they have stk support) added to aokp, fixed perm, installed via db, etc. Didn't worked either way.
A working stk added to aokp rom would be perfect so if someone could help us...

Yes. Its strange when I have high end phone and must carry a dumbphone then I need my e-signature :-(
Sorry for my English.

You guys could try putting in another carrier's sim and putting back your sim, i got the sim toolkit this way on AOKP M5, sounds weird, but it appeared after i did the following to test out a system.UI mod.
I'm not confident that it will make the sim toolkit appear but you guys could give it a try.
Here is my stk.apk if you guys want it.
https://www.dropbox.com/s/ljouotth993iw75/Stk.apk

Does anyone resolve this problem?? im having the same problem here

haron09 said:
Does anyone resolve this problem?? im having the same problem here
Click to expand...
Click to collapse
Not mentioning you just resurrected a thread a half year old, did you try Mach3.2 post?
Sent from my i9250

Related

[GUIDE] Replace HTC Messaging App With Vanilla Messaging App [Easy]

(BackStory)
This is how I installed the Vanilla Mms App on my G2 Running Desire Z ROM. No risk if you back up your ROM using ROM Manger,
there are many guides on how to do this.
THIS WORKS ON ANY ROM​
Hey guys! I was just looking at the "HTC Sense" Messaging App for the Desire Z ROM and basically I noticed.. it sucks..
Its really bulky and some parts of it don't fit on the screen... (Although the Desire Z ROM Is the GREATEST!)
I wondered if it was possible to extract the "Vanilla" Mms.apk and install it on the Desire Z ROM... So I booted up Vanilla on my G2 and did the work.
This IS possbile! And It works GREAT!
Apps Needed:
Mms.apk (Download Link below)
Android Mate/Root Explorer/File Manager/Linda Explorer, (Pick your Favorite)
Terminal Emulator, you can alternatively use adb shell
Obviously, a rooted phone
Installation: (Fool Proof)
Download my Link Down there, Mms.apk
Plug your phone into the computer and tranfer the file on the root of your SD card
You will now be removing your Mms.apk app from your ROM; Back up if you think you're gonna mess up;
Preform A Nandroid backup using ROM MANAGER, there are many guides on doing so, find them.
Go into Terminal Emulator and type in the following:
**note in some ROMs it will be called "com.android.mms.apk" so check what the name is before you type that in**
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
rm /system/app/Mms.apk (or com.android.mms.apk)
If your Text messaging app is running, it probably will force close.
After uninstalling, reboot, if F/C occurs, do a simple battery pull.
When your device reboots, it should no longer have the "Messaging" app installed!
Through your favorite file manager, move "Mms.apk" to /system/app/
Now, go through the installing procedure like you would any app.
It should now be installed, reboot the phone, CONGRATULATIONS
Taddaa!! The next step is to enjoy your new Vanilla Mms on Htc Sense (or any rom)
You may tweek the app how you want; change the color through settings by pressing menu on the Messaging app.. etc..
Disclaimer, I am not the person who hurt your phone if you mess up, you are. Do a back up, nothing can be harmed unless you delete other files besides the Mms.apk.
This Mission was success!
The APK File that is attached IS Working as of NOVEMBER 21 2010; It has been fixed!!​
***ATTENTION: THANK YOU TO WHEELIEST FOR GETING A BETTER APK***
Ignore every comment that says Force/Closed, the APK Attached has been fixed and works perfectly!​
Nov/20 WORKING! Good to go!
This works Seamlessly! Everything works and It looks perfect!
*Don't Forget To Do A Battery Pull after Uninstalling and After Installing The MMS.APK
Awesome...thanks so much!!
Keeps forcing closed... had to restore backup..
wrichards2009 said:
Keeps forcing closed... had to restore backup..
Click to expand...
Click to collapse
try what OP stated?
It Force Closed my Messaging App. (If It doesn't, even better)
After Un-Installing, do a simple battery pull and reboot your phone.
When your phone starts, the Messaging app should no longer be there. Good.
Click to expand...
Click to collapse
followed directions and installed, force closes right after i send a msg. did this install right after a fresh rom install
akagoffer said:
try what OP stated?
Click to expand...
Click to collapse
the Vnilla Mms.apk keeps force closing is what he means
are you suppose to move the Vanilla Mms.apk into system/app then find it / install it either via root explorer or ADB?
Not Working?
Hey Guys! Sorry its not working for you I uninstalled it to see if it was tainted, but I can install it and send/receive messages perfectly.
As far as I know, there are no changed settings on my phone. Sorry. I don't know what can be done... Everything I did was right in the directions. Try contacting a more experienced person to this Thread to see if they know whats going on.
Sorry Again..
When you go to install the mms.apk it says that its version 2.1 android. That might be the problem.
works great
thanks alot
If you just place the mms.apk in the system/app/ folder it will work with no problems.
oh, thats right, my version is 2.2 on vanilla rom.
Working?
UnSungHERO420 said:
If you just place the mms.apk in the system/app/ folder it will work with no problems.
Click to expand...
Click to collapse
Hey, UnSungHERO, are you saying it works with MY Mms.apk and with my method?
I already have it, but can you clarify for my and all of us on how to do it?
Thanks. Did you delete the originally Mms.apk file that came with the phone? Or did you place it in the folder and overwrite it?
Does it recieve/send Sms/Mms successfully?
i tried it as it was instructed. Mms.apk installed and worked but would force close after sending and receiving texts. I deleted that apk pulled the MMS.apk from CM and that works fine. Give it a try....more options to boot
Hah, the messaging app is one of the things that I didn't like about the DesireZ Sense ROM. Oh well, I'm not happily running CM! Glad there is a way around it though, thanks for posting!
Nice that was one of the things I disliked about sense. Can this be done with the dialer/contacts
Brazildiogo732 said:
Hey, UnSungHERO, are you saying it works with MY Mms.apk and with my method?
I already have it, but can you clarify for my and all of us on how to do it?
Thanks. Did you delete the originally Mms.apk file that came with the phone? Or did you place it in the folder and overwrite it?
Does it recieve/send Sms/Mms successfully?
Click to expand...
Click to collapse
Sorry for the vague post. But yes, I was referring to your method. You should definitely delete the stock sense mms.apk beforehand. I actually haven't sent any messages since replacing the apk. I just tested it and found that the app force closes when I attempt to send messages. SMS messages are sending still with the FC and MMS are not. I'm going to try the CyanogenMod mms.apk since it was mentioned.
UnSungHERO420 said:
Sorry for the vague post. But yes, I was referring to your method. You should definitely delete the stock sense mms.apk beforehand. I actually haven't sent any messages since replacing the apk. I just tested it and found that the app force closes when I attempt to send messages. SMS messages are sending still with the FC and MMS are not. I'm going to try the CyanogenMod mms.apk since it was mentioned.
Click to expand...
Click to collapse
Um yeah I already wrote a tutorial here...
http://forum.xda-developers.com/showthread.php?t=834106
gravis86 said:
Um yeah I already wrote a tutorial here...
http://forum.xda-developers.com/showthread.php?t=834106
Click to expand...
Click to collapse
Thanks but I didn't need a tutorial. Just stating what happened with the stock android mms.apk. The CM mms.apk works fine with my sms but does not send mms .

[Q] [HELP] restoring System Apps...

Hello guys....
I've accidentally backuped and removed my stock ClockPackage.apk from my i8150...
I've tried to restore by the same app, but did not working.
I've also tried to copy back the original Apk (i've it in backup folder of Rom Toolbox), tried to install...but still nothing.
The odex file it is also still there...
So, for now i've just installed an alternative clock/alarm from market, and it is working (but have Ads!), but...there is a method to have back Clock app in app drawer?
PS:
And, pls... do not say "have you a nandroid backup"?
Yes, i Have, but i just want to know if there is a method to restore the app in few steps
[SOLVED]
Ok... solved, also if i do not know exactly how
For future references...
I had already bring the apk back to system/app, where is located also the odex file.
Nothing was happened, also after restart...
Then, i tried to install the clockpackage.apk from the AOSP gingerbread, and it gave me the same error (App not installed).
But, like in a miracle, after this, app is back to the app drawer
Happy ending!
have you change the permission when you push the apk in system/app ?
just want to ask
spino1970 said:
[SOLVED]
Ok... solved, also if i do not know exactly how
For future references...
I had already bring the apk back to system/app, where is located also the odex file.
Nothing was happened, also after restart...
Then, i tried to install the clockpackage.apk from the AOSP gingerbread, and it gave me the same error (App not installed).
But, like in a miracle, after this, app is back to the app drawer
Happy ending!
Click to expand...
Click to collapse
Great thread spino1970, mostly because I made the same mistake you did, lol...
Now I really need your help... Could you kindly attach the ClockPackage.apk and the odex file in this thread so that I can use it too??? Thanks a lot man!!! I was trying to get rid of those useless widgets and made a mistake...
[Update]
I managed to get the ClockPackage.apk and the ClockPackage.odex from another device (running on 2.3.5 instead of 2.3.6) and now I get the following error while trying to install the apk:
"Parse Error: There is a problem parsing the package"
Does anybody know what to do?

[Request] Secret Flag Modified Google Search Apk

Question is, can someone modify the apk as below???
http://www.androidpolice.com/2013/0...-enable-voice-prompt-in-search-results-video/
Turns out, there's a secret flag within Search that lets you use the hotword, set by default to 'Google,' anywhere in search results instead of just the home Activity. By default, Search will let you say "Google" to activate voice input only in the main Search screen, after which you'd have to tap the Back button in order to use it again. It's nice, but it's not very fluid, as you have to keep touching your device.
The secret flag enables it in search results, so you can perform search after search after search without ever touching your phone or tablet.
As for the technical details, the flag is located in res/values/bools and is called hotword_from_results. To activate it, one would flip it from false to true, like so:
<bool name="hotword_from_results">true</bool>
Sent from my Nexus 4 using xda app-developers app
Wezi said:
Question is, can someone modify the apk as below???
http://www.androidpolice.com/2013/0...-enable-voice-prompt-in-search-results-video/
Turns out, there's a secret flag within Search that lets you use the hotword, set by default to 'Google,' anywhere in search results instead of just the home Activity. By default, Search will let you say "Google" to activate voice input only in the main Search screen, after which you'd have to tap the Back button in order to use it again. It's nice, but it's not very fluid, as you have to keep touching your device.
The secret flag enables it in search results, so you can perform search after search after search without ever touching your phone or tablet.
As for the technical details, the flag is located in res/values/bools and is called hotword_from_results. To activate it, one would flip it from false to true, like so:
<bool name="hotword_from_results">true</bool>
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I decompiled, made the above changes, recompiled with no errors, and got it to install but it force closes every time i try to open it. Maybe someone else can provide some insight. I used AutoAPKTool to make the edits
Cans someone resolve this? I'd do it myself but having tons of trouble getting my device to show on adb (after many tries, different methods)
I tried to make an Xposed module to patch it on the fly, but it is not working:
Code:
resparam.res.setReplacement("com.google.android.googlequicksearchbox", "boolean", "hotword_from_results", true);
upon starting the module, I get "Resource$NotFoundException", I tried other forms of the setReplacement method but none worked. I am still new to Xposed, so maybe I am doing this in a wrong way, attached are the sources of the Eclipse project in case someone can make it work.
If someone have the source of google now apk i can do something
I don't know if it's available, or also can be made from decompiling and recompile
firetrap said:
If someone have the source of google now apk i can do something
I don't know if it's available, or also can be made from decompiling and recompile
Click to expand...
Click to collapse
no you dont need source, just decompile. change the value, recompile. replace it
done.
Yes I know it's just iam working right now in my app and for me it's much easier to have the source I only had to import to eclipse than playing with apk tool etc in a few hours I will do that
Sent from my Nexus 4 using xda app-developers app
firetrap said:
Yes I know it's just iam working right now in my app and for me it's much easier to have the source I only had to import to eclipse than playing with apk tool etc in a few hours I will do that
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
you dont need to import to eclipse, all you do is just decompile it and change false to true.
you're making it so complicated on your part. i already did it, going to test it now it literally takes 30-45 seconds to do.
zephiK said:
you dont need to import to eclipse, all you do is just decompile it and change false to true.
you're making it so complicated on your part. i already did it, going to test it now it literally takes 30-45 seconds to do.
Click to expand...
Click to collapse
Yes but i was in the company desktop and here i don't have acess to apktool just because my company restricts the download site as dev host rapid share etc. now at home i had decompiled changed from false to true and recompiled and signed etc etc.. so i tested and the behaviour is the same are you guys sure that it's only change to do?! i think i had all perfect if you want i can upload the "modded apk"
EDIT: it doesn't work i don't know why here is the decompiled files and its true, i recompile sign and check manifest and all ok, but after install the behavior its the same
https://mega.co.nz/#!KZlVkIgS!FVLyrUXwtI4w5NHX22u7bWMcWZpEr5-7SydfU_fYX6M
Here the recompiled file i made you can test:
https://mega.co.nz/#!yJUjmYCC!fancLR6DwIlQHxYmX9JmNzCJEPBmpLgkIFsTFw4e_jw
Maybe the guy from the "30-45" seconds have more time to debugg this
I just modded this and got it running w/o issue.
I'm on CM 10.2 so I had to do some adjusting as there was an update installed to /data/app, with the original in /system/app.
I just uninstalled the update via the Play Store, and then moved the original (for CM it's QuickSearchBox.apk to QuickSearchBox.apk.bak), and adb pushed the newly modded apk (attached), to /system/app.
After doing all that, BOOM goes the dynamite.
Works for me, YMMV.
Hotword Quick Search
JsChiSurf said:
I just modded this and got it running w/o issue.
I'm on CM 10.2 so I had to do some adjusting as there was an update installed to /data/app, with the original in /system/app.
I just uninstalled the update via the Play Store, and then moved the original (for CM it's QuickSearchBox.apk to QuickSearchBox.apk.bak), and adb pushed the newly modded apk (attached), to /system/app.
After doing all that, BOOM goes the dynamite.
Works for me, YMMV.
Hotword Quick Search
Click to expand...
Click to collapse
Any way to do this without using ADB? (Having tons of trouble getting my SGS3 to be recognized). Tried installing the apk by itself but the installation fails.
trein91 said:
Any way to do this without using ADB? (Having tons of trouble getting my SGS3 to be recognized). Tried installing the apk by itself but the installation fails.
Click to expand...
Click to collapse
Are you rooted? I needed to make this a system app, as mentioned, to avoid signature conflicts, etc.
If so, I can make a zip to install to /system/app for you. I don't think it will work (as you have discovered), if you try and install as a standard app to /data/app, which is what clicking the download link and attempting to install is doing.
JsChiSurf said:
Are you rooted? I needed to make this a system app, as mentioned, to avoid signature conflicts, etc.
If so, I can make a zip to install to /system/app for you. I don't think it will work (as you have discovered), if you try and install as a standard app to /data/app, which is what clicking the download link and attempting to install is doing.
Click to expand...
Click to collapse
Please make a flashable zip, would love to try it
Sent from my Nexus 4 using xda app-developers app
OK. So I didn't have any files in data/app so I went ahead and just made quixksearchbox a .bak, and pushed new one after renaming it and setting permissions. Its working great.
I'm on PA
Sent from my Nexus 4 using Tapatalk 4
Here's a flashable zip. Though, because it has to place the APK in the /system/ folder (partition), the zip (out of the box), is only likely to work on the Nexus 4, since mount points are going to differ by phone. Any other phone you'll have to modify the script.
As mentioned previously, if you want to try and flash, FIRST, be sure to uninstall 'Google Search' from the play store.
Since I don't think there is a way to move a file in edify, and I'm too lazy to include a shell script to run a move command, I instead delete QuickSearchBox.apk if it is in your /system/app/ folder (instead of backing it up if you want to restore later), and then copy over qs.apk (the modded version).
I restored to original, ran the above process on CM 10.2, and got the results expected / desired (i.e. the attached zip is confirmed working in my setup).
It works on PA 3.99. However you'll need to set voice to US English or it won't work.
Sent from my Nexus 4 using Tapatalk 2
Anon87 said:
It works on PA 3.99. However you'll need to set voice to US English or it won't work.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Would be nice if this could be activated with any language.
Is it possible by changing any other flag?
JsChiSurf said:
Are you rooted? I needed to make this a system app, as mentioned, to avoid signature conflicts, etc.
If so, I can make a zip to install to /system/app for you. I don't think it will work (as you have discovered), if you try and install as a standard app to /data/app, which is what clicking the download link and attempting to install is doing.
Click to expand...
Click to collapse
Good Afternoon,
I am getting FCs after flashing the app. I am using a stock rooted ROM
I removed Google Search< restarted the phone<verify Googgle search was removed< flashed zip<rebooted phone<open app<set up account<FCs
anyone got a suggestion to get it working,
Lento10 said:
Good Afternoon,
I am getting FCs after flashing the app. I am using a stock rooted ROM
I removed Google Search< restarted the phone<verify Googgle search was removed< flashed zip<rebooted phone<open app<set up account<FCs
anyone got a suggestion to get it working,
Click to expand...
Click to collapse
Is the ROM odexed?
jarjar124 said:
Is the ROM odexed?
Click to expand...
Click to collapse
Deodex stock rom
Sent from my Nexus 4 using XDA Premium 4 mobile app

[Q] Apk Won't Install

I have a problem, I have copied an apk from my Star B943 (rooted) android phone and when I try to install it on my Nexus 7 2013 (rooted) it says apk not installed!! I am a noob and this is my first thread but I really like the holo design of this apk but I think it won't install because my tablet is not a mediatek device or because it was a system app? Could I possibly change my build.prop or does it read something else?? I honestly have no idea but any help would be appreciated, thanks.
Why would that app run on the Nexus 7 (4.3)? More than likely the app is too old to run on this version of Jelly Bean.
Even for me its not instaling,priblem prasing package.
I disagree with ^^^
Sent by 桑傑庫馬爾 :stirthepot:
If it's having problems installing the APK due to a parsing issue it's likely either corrupt, built from an incompatible version of Android, or is otherwise incompatible with the hardware provided. It could also not be properly crypto signed, I reckon.
I think it might be not compatible with the hardware as is doesn't work on my brothers S3 running 4.2.2, and what is crypto-signing? I am quite new!
Could this apk be recompliled (Changing target sdk in manifest and then recompiling?) to be compatible or is it not possible without completely rewriting the app? Thanks
Have you tried to just put it in /system/app to see what happens instead of clicking it to install it?
- Sent from my Galaxy S3
RMarkwald said:
Have you tried to just put it in /system/app to see what happens instead of clicking it to install it?
Click to expand...
Click to collapse
I tried that. It doesn't show up in the app drawer and TB says it is there but not installed. Even after changing permissions.
I betting that this won't work. It could rely on framework from the other tablet, kind of like TouchWiz widgets not working on another launcher other than the stock TW Launcher.
- Sent from my Galaxy S3
Same
meekrawb said:
I tried that. It doesn't show up in the app drawer and TB says it is there but not installed. Even after changing permissions.
Click to expand...
Click to collapse
The same thing happened to me, oh well was worth a try

[Q] Crashed my SystemUI.apk

Guys can you help me out,
I was trying to edit SystemUI.apk with this tuto http://forum.xda-developers.com/showthread.php?t=2527867 Then I needed to put it on my phone following this tuto http://forum.xda-developers.com/showthread.php?t=2235956
Now my phone keeps putting "Unfortunately, System UI has stopped." I tried rebooting, same thing. What did I do wrong? Maybe in the signing? The video tutorial used "zipalign -fv 4 ...." command while I read on other tutorials you should copy the original manifest and I don't know which files but in the video he didn't do it...
Please help, the error message keeps coming in the way and I can't to anything.
LG Nitro HD, CM 10.1.3 Wind kernel.
EDIT: I managed to have access to CWM by fast clicking before the error appears so I could reboot into recovery, does this help?
EDIT 2: The video told us to replace old meta-inf and android manifest in the new apk but he didn't show it so I didn't do it, was that the problem?
Truepeace said:
Guys can you help me out,
I was trying to edit SystemUI.apk with this tuto http://forum.xda-developers.com/showthread.php?t=2527867 Then I needed to put it on my phone following this tuto http://forum.xda-developers.com/showthread.php?t=2235956
Now my phone keeps putting "Unfortunately, System UI has stopped." I tried rebooting, same thing. What did I do wrong? Maybe in the signing? The video tutorial used "zipalign -fv 4 ...." command while I read on other tutorials you should copy the original manifest and I don't know which files but in the video he didn't do it...
Please help, the error message keeps coming in the way and I can't to anything.
LG Nitro HD, CM 10.1.3 Wind kernel.
EDIT: I managed to have access to CWM by fast clicking before the error appears so I could reboot into recovery, does this help?
EDIT 2: The video told us to replace old meta-inf and android manifest in the new apk but he didn't show it so I didn't do it, was that the problem?
Click to expand...
Click to collapse
Reinstall, your Rom. Next time make a backup 1st.
Sent from my LG-P930 using xda app-developers app
Swetnes said:
Reinstall, your Rom. Next time make a backup 1st.
Sent from my LG-P930 using xda app-developers app
Click to expand...
Click to collapse
I re edited systemui.apk with signing this time then I put it in a flashable zip file the author of the status bar modding gave me and then I sideloaded it in CWM and flashed it. Now I can use my phone but my status bar has disappeared.
What do you advise me to do? To reflash the original SystemUI.apk of my rom? I will try all this tomorrow.
Edit: I forgot to say that I had disabled SystemUI because if I enable it the error will come again.
So I tried to I tried reputting my original SystemUI.apk and flashing it but I still didn't have the toolbar and the crashes. So I think I am gonna reinstall my ROM like you said.
Solved
Finally I made it
I factory reset the phone and wiped cache but the root was gone so I re rooted it and reflashed my custom rom and gaaps and kernel,
Then I followed this tuto http://forum.xda-developers.com/showthread.php?t=2203166 that was much simpler and easier than the video one I saw previously for editing systemUI.apk and how to compile/recompile.
I pushed it through via file manager after I set the correct permissions and rebooted my phone. Now the status bar has my text in it

Categories

Resources