Am I doing it right?
I'm using S8+(SM-G955N, Korean+Exynos) Pie.
I can't understand the tutorial, so here is what I understanded:
I use Pie, so I will follow 'FOR PIE ROM' instruction.
1. Patch build.prop
to
I can't understand about SecureFolder.apk thing so I skipped it.
2. Patch services.jar
- Deleted
near '.line 1346', Lcom/android/server/pm/PersonaManagerService.
- Deleted
near '.line 945', Lcom/android/server/pm/PersonaServiceHelper. It says it is in line 941 but recent version of services.jar, it is in line 945.
- Added
in
in Lcom/android/server/pm/PersonaManagerService.
I wonder I should do it in Lcom/android/server/pm/PersonaServiceHelper.
For the time being, I didn't add line to Lcom/android/server/pm/PersonaServiceHelper becuase there wasn't saying about that(As long as I understand).
3. Modify system/etc/floating_features.xml
Added
because there wasn't.
I am working on stock rom(no port rom).
I wonder I am doing it right or I missed something or done wrong.
PS. Any means to trick firmware status to 'Official'?
PPS. I've tried 'Smali Pathcer' Magisk module, but I broke my camera(black screen) and Secure Folder became not asking password/pin/pattern. I think It isn't right tool for me.
I'm using S8+(SM-G955N, Korean+Exynos) Pie.
I can't understand the tutorial, so here is what I understanded:
I use Pie, so I will follow 'FOR PIE ROM' instruction.
1. Patch build.prop
Code:
ro.config.iccc_version=3.0
Code:
ro.config.iccc_version=iccc_disabled
2. Patch services.jar
- Deleted
Code:
invoke-static {v10, v9}, Lcom/samsung/android/knox/SemPersonaManager;->setAttributes(II)Z
- Deleted
Code:
invoke-static {p1, v3}, Lcom/samsung/android/knox/SemPersonaManager;->setAttributes(II)Z
- Added
Code:
const/4 v11, 0x1
Code:
.line 1344
.local v8, "ui":Landroid/content/pm/UserInfo;
iget-object v11, p0, Lcom/android/server/pm/PersonaManagerService;->mContext:Landroid/content/Context;
invoke-static {v11}, Lcom/android/server/pm/PersonaServiceHelper;->isTimaAvailable(Landroid/content/Context;)Z
move-result v11
const/4 v11, 0x1
if-nez v11, :cond_2
I wonder I should do it in Lcom/android/server/pm/PersonaServiceHelper.
Code:
.line 944
invoke-static {p0}, Lcom/android/server/pm/PersonaServiceHelper;->isTimaAvailable(Landroid/content/Context;)Z
move-result v3
if-nez v3, :cond_0
3. Modify system/etc/floating_features.xml
Added
Code:
<SEC_FLOATING_FEATURE_KNOX_SUPPORT_UKS>TRUE</SEC_FLOATING_FEATURE_KNOX_SUPPORT_UKS>
I am working on stock rom(no port rom).
I wonder I am doing it right or I missed something or done wrong.
PS. Any means to trick firmware status to 'Official'?
PPS. I've tried 'Smali Pathcer' Magisk module, but I broke my camera(black screen) and Secure Folder became not asking password/pin/pattern. I think It isn't right tool for me.
Last edited: