STK (SIM toolkit) - myTouch 3G, Magic Android Development

Please, anyone can help me to produce a usable STK for the lastest stock Sapphire ROM (Froyo 2.2.1) ?
I tried with apkmanager (that uses apktool) to recompile Stk.apk without sharedUserId: this make apk installable. But the program does not work...

Just push it to /system/app

bonesy said:
Just push it to /system/app
Click to expand...
Click to collapse
Thank you, but the problem is that the program does not work. Further, when I try to install (pm install Stk.apk) it give me the error INSTALL_FAILED_SHARED_USER_INCOMPATIBLE.
This is true for all stock ROMs (like Froyo on MyTouch3G/Magic/NexusN/NexusS..)

I tried another ROM (CM 6.1, very good ROM by the way..)
But even if STK menu appears, it does not work !!
:-(

Eh.. what is it for? I've never used it or heard of what it's for!

Related

[REQ] Port Sense Calculator to AOSP

is it possible or does it run into the same framework issues that other HTC apps run into?
works fine, just push calculator.apk to system/app/
Like Lass3 said works great. figured I would post the .apk and instructions for those who wanted it.
Code:
adb remount
Code:
adb push Calculator.apk /system/app/Calculator.apk
lol @ me not even trying that because I felt it could NOT be that easy...thanks for the info guys.
Any screenshots of it?
I'll screenshot it in a minute....but yea, same method doesn't work with Kings 1.0...seems to work only with Cyan Kernal I suppose.
It may look nice, but it is completely missing the "Advanced" panel, so from a functionality standpoint, it is a downgrade in my opinion. Unless I overlooked something.
rotate the phone
would like to see the image too
it works fine on cyan 5.0.5.3. here the link to the screenshots (just copy & paste)
i42.tinypic.com/16k5f0i.png
i43.tinypic.com/2vdmipi.png
Confirmed this works on Enom 1.8.1
palosjr said:
Confirmed this works on Enom 1.8.1
Click to expand...
Click to collapse
Confirming the confirmation ( @ Enom ) !
Thanks for this guys !
Anyway to turn off the Haptic Feedback? No settings.
realise I am resurecting a 12 month old thread, but I deleted calculator.apk from system/app and copied over the apk from this thread and it doesn't show up in programmes. Tries opening the file from root explorer and it opens up app manager and fails to install. Any ideas?
CM7 RC2 desire s-off btw.

(request) stock Birthday/Event Reminder from Froyo

requesting the stock app from froyo "birthday reminder" or "event reminder" to be used on a stock gingerbread mod. (seemed it has been removed from GB)
thanks for helping!
(found one from stock froyo build but is only an ODEX file, no APK)
converting froyo system apps to GingerBread
so i managed to grab the
event reminder.apk and event reminder.odex
kpt.apk and kpt.odex
from a stock FROYO rom, however whenever i install the apk's
i got "application not installed" both apk and odex have RW R R permissions still nogo.
copied the files to /system/app doesn't work either...
does anyone know how to convert them to work on GingerBread?
thanks!
PS: if you need the files, let me know...
It is framework dependent...so it will not install...
popcorn1122 said:
It is framework dependent...so it will not install...
Click to expand...
Click to collapse
So can't the app be reprogrammed to suit a different framework???
would they be able to make it compatible with GB?
too bad.. those were my most useful apps from froyo.. wonder why they removed it from GB..

Eclair LiveWallpapers

Hi,
I would like to run ANIPET AQUARIUM LIVE WALLPAPER at ECLAIR JK1.
Any tips how to do that ?
I copied LIVEWALLPAPERSPICKER.APK to system/app + both required libs to system/lib , but after reset, I see no possibility how to add installed Anipet aquarim
I had no problem install it at any Froyo up to 4.0.4.
please help
http://www.youtube.com/watch?v=zOMSfFIzzyo
OK
http://forum.xda-developers.com/showthread.php?t=793823&page=23
I used this before , but it does not work.
simpliest is use rootexplorer, copy all 3 files manually and in case of Eclair change both settings at ownership by rootexplorer to root (for all 3 files ... )
then it works, even it does not react to click on desktop.But after run apk file from anipet aquarium for example, then it was possible manually select it ...
radek.god said:
OK
http://forum.xda-developers.com/showthread.php?t=793823&page=23
I used this before , but it does not work.
simpliest is use rootexplorer, copy all 3 files manually and in case of Eclair change both settings at ownership by rootexplorer to root (for all 3 files ... )
then it works, even it does not react to click on desktop.But after run apk file from anipet aquarium for example, then it was possible manually select it ...
Click to expand...
Click to collapse
Strange.....just try that live wallpaper on G-ROM
Jason-EX said:
Strange.....just try that live wallpaper on G-ROM
Click to expand...
Click to collapse
JK1 is not so stable like I ve expected and as promoted by XDA users.For example I cant use latest BEAUTIFULL WIDGETS I "need" and I cant install some apps like NAVITEL etc + I get few FC with stock kernel ...
If marcellusbe will build 4.1.1 with same or better GPS/Bluetooth fix + FM Radio and with better performance/FC like has 4.0.4 surprise ver 4.0, then I have no reason to play with any samsung CRAP fimware.
Unfortunatelly I wanna try /see fully working GPS offline + I need to sent phone to repair center, so this is why I tried JK1 again
I was not able root it, so I had to search in my memory + internet for Z4ROOT what works flawlessly on ECLAIR ...

[Resolved] [Q]Getting Sim Toolkit (STK) to work on Custom ROM

Hi, I am using ShenDu Custom DEV ROM on my Huawei U8860 (4.1.2-130329-DEV) and it doesn't come with Sim Toolkit.
I created a custom Zip that contains Stk.apk from another ROM, and flashed it. It flashes with no error, sets permission right but SimTookit app does not run. It is not in my list of apps or even running apps. find my signed ZIP attached.
Where could I have messed? P.S. I'm a noob
Click to expand...
Click to collapse
Solved the above thanks to this post by djnmcz.
You need to prepare a flashable zip with Stk.apk from similar ROM to yours, eg A ICS/Jellybean STK if you ROM is based on the same . Then extract the manifest (CERT.RSA, CERT.SF, MANIFEST.MF) from the META-INF of your current ROM (ROM your phone is running on) and replace the same files in your flashable zip. You can then flash the zip from CWMR. No need to sign the apk or zip. The rule here is that for Stk.apk to work, it has to have the same manifest as your phone.apk. No idea what happens if you replace phone.apk alongside Stk.apk instead in a zip.
Attached is my zip, you can use the update script, but remember to change the Stk.apk and especially the Manifest file.
ATTACHMENT
Stk sim tool kit
gramware said:
Solved the above thanks to this post by djnmcz.
You need to prepare a flashable zip with Stk.apk from similar ROM to yours, eg A ICS/Jellybean STK if you ROM is based on the same . Then extract the manifest (CERT.RSA, CERT.SF, MANIFEST.MF) from the META-INF of your current ROM (ROM your phone is running on) and replace the same files in your flashable zip. You can then flash the zip from CWMR. No need to sign the apk or zip. The rule here is that for Stk.apk to work, it has to have the same manifest as your phone.apk. No idea what happens if you replace phone.apk alongside Stk.apk instead in a zip.
Attached is my zip, you can use the update script, but remember to change the Stk.apk and especially the Manifest file.
ATTACHMENT
Click to expand...
Click to collapse
I'm running a custom rom on my HTC One X+. Your solution makes sense but I' not clear. Do I need the manifest from the original ROM? I see the stk.apk that came with the custom rom and the manifest. What do I replace? How do I make a flashable zip?
Sorry - noobie.
joe10s said:
I'm running a custom rom on my HTC One X+. Your solution makes sense but I' not clear. Do I need the manifest from the original ROM? I see the stk.apk that came with the custom rom and the manifest. What do I replace? How do I make a flashable zip?
Sorry - noobie.
Click to expand...
Click to collapse
No , you need the manifest from the ROM that you want to flash the STK to. If it came with the ROM, it should probably work?
gramware said:
No , you need the manifest from the ROM that you want to flash the STK to. If it came with the ROM, it should probably work?
Click to expand...
Click to collapse
Thanks. Flashed successfully. But SIM Toolkit is still not appearing as an app. ??
joe10s said:
Thanks. Flashed successfully. But SIM Toolkit is still not appearing as an app. ??
Click to expand...
Click to collapse
You can extract this zip, then replace the STK with one from your phone model, but you have to replace the manifest files - (CERT.RSA, CERT.SF, MANIFEST.MF) from the META-INF folder of the ROM your phone is on (the one without toolkit). Zip the folder again, then reboot phone and flash http://forum.xda-developers.com/attachment.php?attachmentid=1865210&d=1365355542
gramware said:
You can extract this zip, then replace the STK with one from your phone model, but you have to replace the manifest files - (CERT.RSA, CERT.SF, MANIFEST.MF) from the META-INF folder of the ROM your phone is on (the one without toolkit). Zip the folder again, then reboot phone and flash http://forum.xda-developers.com/attachment.php?attachmentid=1865210&d=1365355542
Click to expand...
Click to collapse
HTC One X+ AT&T
Custom ROM: Elegancia 5.3
ROM included STK.apk but SIM Toolkit is not visible as APP. I followed the instructions and created a flashable zip using the STK from Elegancia ROM, and the manifest files from this ROM. I was successful in flashing ZIP using TWRP recovery. Skipped MD5 files checking.
STK.APK can be found in system/app folder but SIM Toolkit is not visible in app drawer. I can find SIM Toolkit in Settings / Applications, but the app is checked as DISABLED and cannot be unchecked. This was the same behavior after I flashed the customer ROM.
I deleted the STK.apk from the system/app folder and flashed the zip file again. The STK flashed successfully and I can find it in the system/app folder but the behavior is still the same. SIM Toolkit is not visible.
Not sure what I did wrong?
joe10s said:
HTC One X+ AT&T
Custom ROM: Elegancia 5.3
ROM included STK.apk but SIM Toolkit is not visible as APP. I followed the instructions and created a flashable zip using the STK from Elegancia ROM, and the manifest files from this ROM. I was successful in flashing ZIP using TWRP recovery. Skipped MD5 files checking.
STK.APK can be found in system/app folder but SIM Toolkit is not visible in app drawer. I can find SIM Toolkit in Settings / Applications, but the app is checked as DISABLED and cannot be unchecked. This was the same behavior after I flashed the customer ROM.
I deleted the STK.apk from the system/app folder and flashed the zip file again. The STK flashed successfully and I can find it in the system/app folder but the behavior is still the same. SIM Toolkit is not visible.
Not sure what I did wrong?
Click to expand...
Click to collapse
Hi, did you ever get sorted? If not, you can attach your ROM and STK I see if I can compile a working solution.
I also need to get STK work on my SlimRom 4.3 for Samsung GT-I9100G Galaxy S2
gramware said:
Hi, did you ever get sorted? If not, you can attach your ROM and STK I see if I can compile a working solution.
Click to expand...
Click to collapse
Hi
First, I do apologize, I am a newbie and I cannot post links.
I have the same issue. I am using the latest SlimRom 4.3 for my Samsung Galaxy S2 GT-I9100G
When I browse my apps with Link2SD for example, I see there is a SIM Toolkit com.android.stk version 4.3-910. See screenshot Screenshot_2013-09-20-18-55-27.jpg attached.
But the STK does not appear among the Apps.
I need to use the APP because I have bought from Magic-Sim an adapter, supposedly designed for GS2s, to run 2 Sims: MAGICSIM ELITE - NO CUT A DUAL SIM ADAPTER
In order to switch from Sim to Sim, I need to access the STK app.
MagicSim told me to Dial 007 from my phone and that would enable me to switch then from Sim 1 to Sim 2 just by dialing 001 or 002.
It does not work.
They also told me to save 007 on my local phone and to call it. It does not work as well.
So, is there a way of changing my STK?
I tried to install the latest version found in Aptoide: 5.1.2316262366.589212.571364, but it cannot install, on the grounds thre is another package with the same name but with a different signature.
Now, I know that my phone has detected 2 Sims. I am attaching a screenshot showing that the phone is detecting my Orange Sim as Sim-1 (which was not the case before installing the dual sim adapter).
I would be extremely grateful if I could get STK app or menu work on my phone.
All the best,
Chawki
Chawki HTC 7 Pro said:
Hi
First, I do apologize, I am a newbie and I cannot post links.
I have the same issue. I am using the latest SlimRom 4.3 for my Samsung Galaxy S2 GT-I9100G
When I browse my apps with Link2SD for example, I see there is a SIM Toolkit com.android.stk version 4.3-910. See screenshot Screenshot_2013-09-20-18-55-27.jpg attached.
But the STK does not appear among the Apps.
I need to use the APP because I have bought from Magic-Sim an adapter, supposedly designed for GS2s, to run 2 Sims: MAGICSIM ELITE - NO CUT A DUAL SIM ADAPTER
In order to switch from Sim to Sim, I need to access the STK app.
MagicSim told me to Dial 007 from my phone and that would enable me to switch then from Sim 1 to Sim 2 just by dialing 001 or 002.
It does not work.
They also told me to save 007 on my local phone and to call it. It does not work as well.
So, is there a way of changing my STK?
I tried to install the latest version found in Aptoide: 5.1.2316262366.589212.571364, but it cannot install, on the grounds thre is another package with the same name but with a different signature.
Now, I know that my phone has detected 2 Sims. I am attaching a screenshot showing that the phone is detecting my Orange Sim as Sim-1 (which was not the case before installing the dual sim adapter).
I would be extremely grateful if I could get STK app or menu work on my phone.
All the best,
Chawki
Click to expand...
Click to collapse
What happens if you insert a SIM without the dual SIM thing, is it recognised? Did you flash your phone with a custom ROM before this started happening?
Sim works OK, just the STK I cannot access
gramware said:
What happens if you insert a SIM without the dual SIM thing, is it recognised? Did you flash your phone with a custom ROM before this started happening?
Click to expand...
Click to collapse
Thanks for yhe reply. The Sim is OK, it works. The isse, I cannot access the STK menu.
Do you know any nice, pretty 4.3 Rom including STK for my I9100G that I could use. Most of the Roms I have checked do not contain STK (SlimBean, Cyanogenmod...)
Thanks
Chawki HTC 7 Pro said:
Thanks for yhe reply. The Sim is OK, it works. The isse, I cannot access the STK menu.
Do you know any nice, pretty 4.3 Rom including STK for my I9100G that I could use. Most of the Roms I have checked do not contain STK (SlimBean, Cyanogenmod...)
Thanks
Click to expand...
Click to collapse
You have to create your own ROM with STK, just try finding a ROM with STK, preferable the same version (ie JellyBean, ICS). Then follow my guide above to create a flashable ZIP with STK. Seems the sTK has to be flashed with the same manifest file your dialer uses.
gramware said:
You have to create your own ROM with STK, just try finding a ROM with STK, preferable the same version (ie JellyBean, ICS). Then follow my guide above to create a flashable ZIP with STK. Seems the sTK has to be flashed with the same manifest file your dialer uses.
Click to expand...
Click to collapse
Thanks a lot. IT is becoming too complicated for me. I will downgrade instead if I do not fond a devemoper to jemp me. Best
Chawki HTC 7 Pro said:
Thanks a lot. IT is becoming too complicated for me. I will downgrade instead if I do not fond a devemoper to jemp me. Best
Click to expand...
Click to collapse
Try copying STK to the apps folder in your ROM, then flash your ROM and see if it works.
gramware said:
Try copying STK to the apps folder in your ROM, then flash your ROM and see if it works.
Click to expand...
Click to collapse
Thanks a lot. best,
gramware said:
You have to create your own ROM with STK, just try finding a ROM with STK, preferable the same version (ie JellyBean, ICS). Then follow my guide above to create a flashable ZIP with STK. Seems the sTK has to be flashed with the same manifest file your dialer uses.
Click to expand...
Click to collapse
I used root explorer to copy stk.apk from e988 rom. Then replace your stk.apk in the zip above.
Copy and replace CERT.RSA, CERT.SF, MANIFEST.MF from meta if folder of Lgphone_jb.apk to the zip.
Then i flash it with cwm.
Result is: see attach file. Sim tool kit isnt avaiable in app drawer.
Did i do anything wrong? How can i fix it.
Thanks alot if you help me. And sorry for my bad english
Sent from my LG-F220K using Tapatalk
kembacha said:
I used root explorer to copy stk.apk from e988 rom. Then replace your stk.apk in the zip above.
Copy and replace CERT.RSA, CERT.SF, MANIFEST.MF from meta if folder of Lgphone_jb.apk to the zip.
Then i flash it with cwm.
Click to expand...
Click to collapse
Hi,
the operation is too complicated for me.
Woiuld you be able to download SlimBean 4.3.1 build 2 Official for my I9100G, include there a compatible and working STK, share with me the new zip package? I am offering a good donation for that (more than USD 50).
Thanks
---------- Post added at 11:09 AM ---------- Previous post was at 11:06 AM ----------
gramware said:
You have to create your own ROM with STK, just try finding a ROM with STK, preferable the same version (ie JellyBean, ICS). Then follow my guide above to create a flashable ZIP with STK. Seems the sTK has to be flashed with the same manifest file your dialer uses.
Click to expand...
Click to collapse
Hi Gramware,
the operation is too complicated for me.
Woiuld you be able to download SlimBean 4.3.1 build 2 Official for my I9100G, include there a compatible and working STK, share with me the new zip package? I am offering a good donation for that (more than USD 50).
Thanks
kembacha said:
I used root explorer to copy stk.apk from e988 rom. Then replace your stk.apk in the zip above.
Copy and replace CERT.RSA, CERT.SF, MANIFEST.MF from meta if folder of Lgphone_jb.apk to the zip.
Then i flash it with cwm.
Result is: see attach file. Sim tool kit isnt avaiable in app drawer.
Did i do anything wrong? How can i fix it.
Thanks alot if you help me. And sorry for my bad english
Sent from my LG-F220K using Tapatalk
Click to expand...
Click to collapse
I don't know why it is not working for you. Check if the permissions of the app (through File Manager) match permission of other apps.
Chawki said:
Hi,
the operation is too complicated for me.
Woiuld you be able to download SlimBean 4.3.1 build 2 Official for my I9100G, include there a compatible and working STK, share with me the new zip package? I am offering a good donation for that (more than USD 50).
Thanks
---------- Post added at 11:09 AM ---------- Previous post was at 11:06 AM ----------
Hi Gramware,
the operation is too complicated for me.
Woiuld you be able to download SlimBean 4.3.1 build 2 Official for my I9100G, include there a compatible and working STK, share with me the new zip package? I am offering a good donation for that (more than USD 50).
Thanks
Click to expand...
Click to collapse
I have downloaded your version of SlimBean and confirmed that it already comes with STK, so no need to upload or reflash it. What's issue are you having since the Sim toolkit should be working for you?
kembacha said:
I used root explorer to copy stk.apk from e988 rom. Then replace your stk.apk in the zip above.
Copy and replace CERT.RSA, CERT.SF, MANIFEST.MF from meta if folder of Lgphone_jb.apk to the zip.
Then i flash it with cwm.
Result is: see attach file. Sim tool kit isnt avaiable in app drawer.
Did i do anything wrong? How can i fix it.
Thanks alot if you help me. And sorry for my bad english
Sent from my LG-F220K using Tapatalk
Click to expand...
Click to collapse
Also confirm the folders , you have to have STK.apk in a folder called app, inside another folder called System when flashing. The certs and manifest files should also be in their respective folders.
You can also try this hack, also copy phone.apk to the app folder such that your flash them together.
gramware said:
Also confirm the folders , you have to have STK.apk in a folder called app, inside another folder called System when flashing. The certs and manifest files should also be in their respective folders.
You can also try this hack, also copy phone.apk to the app folder such that your flash them together.
Click to expand...
Click to collapse
its has a right permission 6-4-4 now. Everything exactly the same as you said. But nothing's changed.
I think that we should do "something" in stk.apk, that would make it appear in app drawer. Because i have a flashable zip of vega ion a870, i just extract it, copy to system/app, set right permission and reboot=> stk appear
Sent from my LG-F220K using Tapatalk

[Q] Transferring stock apps

Summary: How can I transfer apps from the stock rom (that are stored as.apk and .odex pairs) to my current rom?
Full Story: The stock rom (Gingerbread) for the Samsung YP-G70 has a working fm radio app that I'd like to use with my current rom (CM 10.2). I saved the .apk and .odex files from a stock install to my sd card.
Is this even possible?
If anybody's managed to do it, what're the steps? (the default apps are stored as .apk with a .odex file and xultimate can't seem to handle the files (get "top level error" about missing files and such))
No mate it is not that way....
goggle For it
Ankit Gor said:
No mate it is not that way....
goggle For it
Click to expand...
Click to collapse
Already tried that. All the results I'm seeing involve a third party app backup tool (which I've already tried without success), or don't address the mixed apk & odex issue.
no it wont
it wont work as it is odexed .... try deodexing the apk but still i would say it wont work but still u try...

Categories

Resources