Have a dual sim + sd card problem same as S9 or not?

studywes

Senior Member
Feb 19, 2008
165
11
18
Somewhere in France :)
:good::good::good::good::good::good:
Hi,
I have no time to details all steps, but you need:
1 _ Super'r Kitchen free for linux (Work well with last Ubuntu ) or paid version for Windows (no tested)
https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434
-> With this tool you will 1st: extract your firmware , 2nd: Deodexed your firmware (to reveal the class.dex) , 3rd: take the service.jar deodexed in Super'r folder -> Super'r/system/framework/services.jar
2_ Tickle my Android for windows
https://forum.xda-developers.com/showthread.php?t=1633333
-> With this tool you will decompile the service.jar deodexed to reveal the .smali files. To do this, just put your services.jar deodexed in the folder named 'IN' in tickle my android
3_ In the folder 'WORKING' of tickle my android', Open this files with Notepad 'com/android/server/StorageManagerService.smali'
Like this thread: https://forum.xda-developers.com/showpost.php?p=77001643&postcount=313
-> Replace this part:
----------------------------------------------------------------------------------------------------------------------------------------
Code:
.method private isSimSdBlock()Z
.locals 3

const/4 v2, 0x0

invoke-direct {p0}, Lcom/android/server/StorageManagerService;->isSim2Inserted()Z

move-result v0

if-eqz v0, :cond_0

invoke-direct {p0}, Lcom/android/server/StorageManagerService;->isSdInserted()Z

move-result v0

if-eqz v0, :cond_0

const-string/jumbo v0, "StorageManagerService"

const-string/jumbo v1, "isSimSdBlock: show popup!"

invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

invoke-virtual {p0}, Lcom/android/server/StorageManagerService;->showSimSdBlockAlert()V

const/4 v0, 0x1

return v0

:cond_0
iget-object v0, p0, Lcom/android/server/StorageManagerService;->mUsimAlertDialog:Landroid/app/AlertDialog;

if-eqz v0, :cond_1

const-string/jumbo v0, "StorageManagerService"

const-string/jumbo v1, "isSimSdBlock: close popup!"

invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

iget-object v0, p0, Lcom/android/server/StorageManagerService;->mUsimAlertDialog:Landroid/app/AlertDialog;

invoke-virtual {v0}, Landroid/app/AlertDialog;->dismiss()V

sput-boolean v2, Lcom/android/server/StorageManagerService;->isShown:Z

:cond_1
return v2
.end method
----------------------------------------------------------------------------------------------------------------------------------------
By this part and save the files:
----------------------------------------------------------------------------------------------------------------------------------------
Code:
.method private isSimSdBlock()Z
.locals 1

const/4 v0, 0x0

return v0
.end method
----------------------------------------------------------------------------------------------------------------------------------------
4_ Open a new time Tickle my Android for windows
-> For now you will Recompile the service.jar deodexed and patched. Your files wil be in the folder 'out' of tickle my android.
5_ Replace the service.jar in your note 9 'system/framework/services.jar' by your services.jar patched
Don't miss to backup of your old services.jar

Enjoy!
 
Last edited:

artn3r

Senior Member
Dec 26, 2008
52
20
0
Neufeld an der Leitha
I created an xposed module for that

I created an xposed module for that

https://forum.xda-developers.com/galaxy-s9/development/xposed-unlock-dual-sims-sdcard-s9-s9-t3888952

Hi,
I have no time to details all steps, but you need:
1 _ Super'r Kitchen free for linux (Work well with last Ubuntu ) or paid version for Windows (no tested)
https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434
-> With this tool you will 1st: extract your firmware , 2nd: Deodexed your firmware (to reveal the class.dex) , 3rd: take the service.jar deodexed in Super'r folder -> Super'r/system/framework/services.jar
2_ Tickle my Android for windows
https://forum.xda-developers.com/showthread.php?t=1633333
-> With this tool you will decompile the service.jar deodexed to reveal the .smali files. To do this, just put your services.jar deodexed in the folder named 'IN' in tickle my android
3_ In the folder 'WORKING' of tickle my android', Open this files with Notepad 'com/android/server/StorageManagerService.smali'
Like this thread: https://forum.xda-developers.com/showpost.php?p=77001643&postcount=313
-> Replace this part:
----------------------------------------------------------------------------------------------------------------------------------------
Code:
.method private isSimSdBlock()Z
.locals 3

const/4 v2, 0x0

invoke-direct {p0}, Lcom/android/server/StorageManagerService;->isSim2Inserted()Z

move-result v0

if-eqz v0, :cond_0

invoke-direct {p0}, Lcom/android/server/StorageManagerService;->isSdInserted()Z

move-result v0

if-eqz v0, :cond_0

const-string/jumbo v0, "StorageManagerService"

const-string/jumbo v1, "isSimSdBlock: show popup!"

invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

invoke-virtual {p0}, Lcom/android/server/StorageManagerService;->showSimSdBlockAlert()V

const/4 v0, 0x1

return v0

:cond_0
iget-object v0, p0, Lcom/android/server/StorageManagerService;->mUsimAlertDialog:Landroid/app/AlertDialog;

if-eqz v0, :cond_1

const-string/jumbo v0, "StorageManagerService"

const-string/jumbo v1, "isSimSdBlock: close popup!"

invoke-static {v0, v1}, Lcom/android/server/utils/sysfwutil/Slog;->w(Ljava/lang/String;Ljava/lang/String;)I

iget-object v0, p0, Lcom/android/server/StorageManagerService;->mUsimAlertDialog:Landroid/app/AlertDialog;

invoke-virtual {v0}, Landroid/app/AlertDialog;->dismiss()V

sput-boolean v2, Lcom/android/server/StorageManagerService;->isShown:Z

:cond_1
return v2
.end method
----------------------------------------------------------------------------------------------------------------------------------------
By this part and save the files:
----------------------------------------------------------------------------------------------------------------------------------------
Code:
.method private isSimSdBlock()Z
.locals 1

const/4 v0, 0x0

return v0
.end method
----------------------------------------------------------------------------------------------------------------------------------------
4_ Open a new time Tickle my Android for windows
-> For now you will Recompile the service.jar deodexed and patched. Your files wil be in the folder 'out' of tickle my android.
5_ Replace the service.jar in your note 9 'system/framework/services.jar' by your services.jar patched
Don't miss to backup of your old services.jar

Enjoy!
 
  • Like
Reactions: christis

lbarouf

Senior Member
Apr 16, 2007
193
6
0
Hi,
isSimSdBlock()Z
Seriously ?!?! isSimSDBlock... that's just pure evil. If my 512Gb Note 9 was not the best device otherwise, I'd give Samsung the boot. Things like these gets under my skin. I don't care for rooting my device. I care for DeX, especially Linux on DeX, dual sim and massive amount of storage. I need space for a large catalog that my software uses, and not being able to use the 2nd sim and SD card at the same time basically triples me. the amount of effort to stop such a trivial side benefit, is astonishing. Why not just declining warranty claims for damaged sim trays, if that's the root cause of this machiavellic plan. :mad:
 
  • Like
Reactions: artn3r