How can I completely remove dual SIM support from a ROM? - Samsung Galaxy S7 Questions and Answers

Hello, guys!
There are some great AOSP ROMs (for example RR) which support my SM-G930F and an edition of this device with dual SIM (SM-930FD). In these ROMs there are Settings for a second SIM card. I don't want this feature in my ROM, because my phone doesn't support dual SIM.
This leads directly to my question. How can I completely remove it? In the factory.prop file "ro.miltisim.simslotcount" is already "1". As far as I know, I have to delete the libsec-ril-dsds.so file from "system/lib/" and "system/lib64". And I have to edit the Settings.apk.
Is that right? Are there more files I have to delete or modify? And how exactly do I have to change the Settings.apk?
Many thanks in advance!

I was wondering the same thing

Related

SIM STK Development (Dual SIM functionality)

I've been doing some basic hacking on the Android and happen to own one of the Magic SIM products. This is for dual sim functionality.
I did a quick write up on my blog but seem to be stuck. My next step is probably to download the Android Stk source and attempt to compile the latest one. For this test I used a binary I found floating around in a zip file called "app_s". The Stk.apk I used had a byte count of 49,544.
http://returnbooleantrue.blogspot.com/2009/07/trying-to-get-dual-sim-to-work-in-t.html
If anyone has any comments or has compiled a newer Stk.apk please let me know. I'd love to try it out. Otherwise I need to go setup a development environment to do a full compile.
I have compiled Stk with some modification...
(source on git is not compilable directly without modification), but
Result is same, lock on loading submenu.
May be there is a bug on stkservice (in internal package), but this is part of
internal library.
very very very interesting. For me it will be very importat to have the opportunity to use 2 sim card simultaneusly. update us for everything new about it!
No news???dual sim in my desire works fine with sense rom, but with rom like defrost or miui (with classic android) it won't work and i can use only one sim!!!!
kyakan said:
I have compiled Stk with some modification...
(source on git is not compilable directly without modification), but
Result is same, lock on loading submenu.
May be there is a bug on stkservice (in internal package), but this is part of
internal library.
Click to expand...
Click to collapse
Hi are you still working on stk development? I cannot use my dual sim withj my 4.3 SlimBean for my galaxy s2 g (I9100G). I would be curious to know what you have done so far in terms of stk
Best

Jmz Android Rom V1.04.14.10

Jmz Android Rom V1.04.14.10
​
This is a completely custom Android rom for TP2. This installs and runs android without booting into Windows Mobile. There is no option to boot to Windows Mobile. It is useless because of all the stuff I removed. Rom was 35MB until I added Android to it. If you have an existing Android build on your SD card, and you want to save it, backup all android files into a new folder before flashing. This will overwrite your current Android build. To read the rom version, 1.XX.XX.XX is my version number, and the rest is the date of the Android build.
Of course, this still has its limitations. Please see port status below to find out.
To install:
Flash like you would any other rom. When asked to click next on first boot, tap next. Then you will boot straight into Android after that.
All bugs are in the development of Android. None are part of my build. To see the current build status of what I am using, go to http://www.androidonhtc.com/wiki/Port_Status
To install additional apps, add the apk file to your sd card under "\storage card\Android\androidapps". Browse to that folder in Android and tap on the file you want to install. To download known working apps go to http://www.ppcgeeks.com/forums/showthread.php?t=113463
Where I got the information and all appropriate appreciation for the work done. http://forum.ppcgeeks.com/showthread.php?t=115443
If you have data issues, remove your sim card and boot again. Android 2.1 rom is coming too
DOWNLOAD​
screenshots? and for the cdma users in which you posted this thread/rom, why
jmztaylor said:
If you have data issues, remove your sim card and boot again.
Click to expand...
Click to collapse
when most cdma users don't have sim cards?
2002wrex said:
screenshots? and for the cdma users in which you posted this thread/rom, why when most cdma users don't have sim cards?
Click to expand...
Click to collapse
I have a SIM card in my sprint tp2. I am assuming that everyone has one by default from their service provider.
2002wrex said:
screenshots? and for the cdma users in which you posted this thread/rom, why when most cdma users don't have sim cards?
Click to expand...
Click to collapse
Because this is for the CDMA TP2. CDMA TP2 have a sim card, they are worldwide phones.
yea Sprint CDMA TP 2's def have sim cards hahaha
2002wrex said:
screenshots? and for the cdma users in which you posted this thread/rom, why when most cdma users don't have sim cards?
Click to expand...
Click to collapse
Says the douche with AT&Ts inferior service.

[Q] How to add menu options UPDATED with new ?

I've been trying to figure out how to get NFC working on the stock ROM for a while now. In no way am I a DEV or experienced with Android coding, but I have learned a few things along the way. I know basic NFC functions are available in certain ROMS, but this is about getting it working on the stock ROM. I am also aware that Google Wallet will not work on these phones without a secure elemint (sp?). But with all of the interest in NFC (even though its uses are limited), I would think alot of people would like to have the option to enable it on the stock ROM.
Here is a few things a have discovered:
These phones already have the Nfc.apk and Nfc.Odex files included. They are very similar to the files on the Korean version of this phone that has working NFC.
The framework-res.apk xml already includes code for NFC operations. I have read where people have said that extra framework is needed, but from what I see (again limited knowledge) it already exists.
I also found (I can't remember where) more code for NFC that includes connection instructions and what it is supposed to do when a NFC signal is detected.
So I am thinking, maybe the only thing we need at this point is to have the option for NFC along with the toggle added to the "Wireless and Network" menu on the phone. Maybe it already exists and just needs to be activated.
Oddly enough, it seems very little information exists about trying to activate NFC on the SkyRocket I727 stock ROM. Alot of the information a got was from the regular Galaxy SII forum and it is obvious that phone isn't coded exactly as ours.
So, can any one tell me in which part of the coding is the "Menu options" enabled for the "Wireless and Network" settings? Maybe I am wrong about all of this, but if anyone knows anything more about it (not just guessing but actually knows something), please post it here so we can get the NFC function working on the stock ROM.
On a seperate note, the same place I found the coding about the NFC operations (like I said, I can't remember where it was but I will try to find it again) I also found additional mentioning of an"FM radio chip"???
OOOOKKKKKKK...can someone atleast point me in the right direction to find this out on my own?
You can edit setting.apk and enable nfc. Or just dload a rom that lets u use nfc.
scott14719 said:
I've been trying to figure out how to get NFC working on the stock ROM for a while now. In no way am I a DEV or experienced with Android coding, but I have learned a few things along the way. I know basic NFC functions are available in certain ROMS, but this is about getting it working on the stock ROM. I am also aware that Google Wallet will not work on these phones without a secure elemint (sp?). But with all of the interest in NFC (even though its uses are limited), I would think alot of people would like to have the option to enable it on the stock ROM.
Click to expand...
Click to collapse
appdroid said:
You can edit setting.apk and enable nfc. Or just dload a rom that lets u use nfc.
Click to expand...
Click to collapse
Thanks for the response, but what do I edit in settings.apk? I have read this more than a couple of times, but no one seems to be able to say what edits to make to the settings.apk. As far as the others ROMS go, I realize NFC works in other ROMS, but I'm trying to find an option to enable it in the Stock ROM. Any info you can provide would be great. Thanks.
Edit...I took a look at the setting.apk XML from a T-mobile phone that has NFC enabled and it seems to be the same as the settings.apk XML from the Skyrocket. This is the confusing part. Everyone seems to think the settings.apk app needs editing, but it is the same as ones in the versions of our phones that have working NFC. As a matter of fact, the NFC.apk apps are the same as well. This is why I am thinking it only needs the option added to the "Wireless an Netwok" menu in order for it to work (which is my original question on how to do so). Things just aren't adding up here?
OK, so I've been looking around some more and I found something interesting.
The T-Mobile (T989) version of the Skyrocket has an extra file located in the settings.apk that the I727 AT&T Skyrocket doesn't appear to have in it's settings.apk.
This file is named "smali". Most of the rest of the settings.apk on both phones appear to be very similar. There are about 9 extra lines of code in the "manifest.xml" in the I727 but they do not appear to be related to Nfc operations at all.
This "smali" file in the settings.apk on the T-mobile phone contains a folder called "com" and the "com" folder contains three more folders called "android", "broadcom", and "samsung". The "broadcom" and "samsung" folders appear to contain information (code) about bluetooth operations. The 'android" folder is the interesting one. It contains a "settings" folder that has many other folders in it. Again, most interesting is a file called "Nfc". It contains 5 smali files that all contain code about Nfc functions. I think this may be the actual file(s) that AT&T had Samsung leave off of this phone (I727) so Nfc is not enabled.
So finally, my new question(s) is..........
Can anyone confirm that the exclusion of the "smali" file in the settings.apk on the Skyrocket is the reason we can not use Nfc?
-and-
Would it be safe or even possible to insert the "smali" file contained in the T-mobile settings.apk into the settings.apk of the AT&T Skyrocket phone and see if it would properly activate Nfc on the AT&T Skyrocket? If so, could this be done on the "stock" AT&T 2.3.6 ROM without being DeOdexed?
I realize this is a lot to ask, but this is the only way we can get NFC working on the stock ROM like it should be in the first place. Maybe one of the Devs that works with the skyrocket can help to answer some of these questions. Thanks to anyone that can help.
This doesn't help u in your finally quest of enabling nfc, but the reason u see the smali folder in the decompiled system.apk for the T-Mobile apk is most likely because it is deodexed, and the apk that u are looking at from your skyrocket is not deodex. If u use apktool or something similar to apktool and decompile a non deodexed apk u will not see any smali file. The smali folder is basically the Java code that is in the system.odex file (layman's terms)
This is why most..or most ever apk edit is don't on an odex apk. Because without it being doedex u would have to edit both the apk and the odex file
To add
If can get your hands on a stock doedex sky rocket rom that's what u would want to use to compair the two with
Sent from my Galaxy Nexus using Tapatalk
runandhide05 said:
To add
If can get your hands on a stock doedex sky rocket rom that's what u would want to use to compair the two with
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I have compared the Stock SkyRocket ROM to both T-Mobiles ROM and the Superstock ROM. The SuperStock ROM is a DeOdexed AT&T version of what I have. The Stock ROM (on my phone) and the SuperStock ROM (DeOdexed) seem to be the same. I have not searched and compared every single file and line of code but the settings.apk and framework.apk and framework-res.apk files seem to be the same? The "smali"file folders that were located on the T-mobile ROM are not on the DeOdexed Stock ROM (atleast not that I have found. Unfortunately I have seem to come to the end of my abilities to do anything else. I just don't have the knowledge to go any further. Hopefully one of the DEVs around here could help out if they get the time. I know the effort would be appriciated, but it is up to them.. Most of them seem to be keeping pretty busy with updating their ROMS.
**edit** Ok, I spoke too soon. I found the "smali" files in the DeOdexed Superstock ROM. They are in the ".jar" files. The framework.jar file has the folder that has info about NFC in it. I just have no idea what to do with it from this point. I still think that everything that is needed for NFC to work is already in the Stock ROM, it just needs menu options to get to it.

[Q] SGS Plus i9001- Dual-SIM Adapter not working after flashing broodROM RC2

Hello all,
Yesterday I successfully flashed my Samsung Galaxy S Plus (i9001) to broodROM RC2 (v2.3.6) and everything works fine except one thing – my dual-sim adapter (Hypercard 3G) is not detected anymore and also the SIM-Toolkit application disappeared. It worked perfectly under the stock rom 2.3.4 before. I assume that dual-sim adapters are not supported by this rom. However for me the dual-sim functionality is essential and I don't wont to miss it. Is there any solution available for this problem? Are the stock roms XXKPS and XXKPU (2.3.6) supporting dual-sim adapters? I would of course prefer to keep this rom because it's working really smooth.
Thanks in advance for your helpful hints.
tobukene
Hi, I just discovered similar. In boodRom is not SIM toolkit application (Stk.apk). I just take it from another rom and place into /system/app. Application works and I can send message from my bank application but I can't receive any message. Probably somethink else is missing. I will try with another phone/rom. I need SIM toolkit for access to my bank account ;(
K.
EDIT: So it works. There was some delivery delay and also GO launcher didn't display message. In this state it's acceptable for me.
send a pm to broodplank1337 , the dev of the broodROM .. cos i dont think he reads here.. or get over 10 post and make a post in the broodROM section (under > galaxy 9001 development)
Hi,
thanks for your reply.
In the meantime I flashed the cranium 8 rom which also works fine. The stock Sim-Toolkit of the hypercard 3G still doesn't work, but the MultiSim app from the market works satisfying. So – for me the problem is solved and there is no urgent need to go back to the broodROM anymore - even if your solution works.
By the way – I tried out the MultiSim app also under BroodRom RC2 before – it didn't work, resp. it didn't detect the second SIM.
need sim toolkit on i9001 broodrom
kaarl said:
Hi, I just discovered similar. In boodRom is not SIM toolkit application (Stk.apk). I just take it from another rom and place into /system/app. Application works and I can send message from my bank application but I can't receive any message. Probably somethink else is missing. I will try with another phone/rom. I need SIM toolkit for access to my bank account ;(
K.
EDIT: So it works. There was some delivery delay and also GO launcher didn't display message. In this state it's acceptable for me.
Click to expand...
Click to collapse
Hello, can you please tell me step by step, how did you install sim toolkit and made it work on broodrom, and send me the files.
Thank you very much
alexandrumit said:
Hello, can you please tell me step by step, how did you install sim toolkit and made it work on broodrom, and send me the files.
Thank you very much
Click to expand...
Click to collapse
Hi, broodrom is rooted so just copy Stk.apk from attachment on SD card. After that use some file manager which can access system folders and move it into folder /system/app. Now I'm not sure if I set permissions but all files in this folder has 644. Reboot phone (maybe not needed).
If you are not familiar with linux use X-plore file manager. There is SD card under "/sdcard (sdcard)" and target folder under "/ (Root)". Before copy/move file you must go into Configuration and permit Root access.
If you have still problem with that send me PM.

[Q] Carrier and custom ROMs

Hi all - my phone is a Star S5 MTK6589T 2gb RAM 1.5Ghz
Could someone be so kind to tell me, what I am missing out here...?
I have tried different custom roms, made for my mtk6589t. Some of them does not "support" my carrier or something like that, I have no carriers to choose from when I wan't to "select carrier manually"??? - It's just showing some numbers without carrier names, but my APN settings are as they should be...
All from working ROM:
So I have tried copy/pasting modem.img
Copy/paste the baseband file in the mddb folder (working baseband for me is : MOLY.WR8.W1248.MD.WG.MP.V7.P1, 2013/04/10 00:41)
Copy/paste all in the firmware folder
Flash Baseband recovery from SD
Nothing seems to work, even though I have compared contents of the mddb folder and firmware folder to be exactly the same, I can only find/choose my carrier in one of the roms???
I don't understand this,.. Both or several ROM's are made for the Star S5 MTK6589, but there is a difference in this for some - meaning me.
Are there something that I need to do different, for it to work?
How can I modify the ROM I wanna use, with info regarding carrerinfo/3G from the working ROM in order to get it to work?
I would really like to understand this...

Categories

Resources