yashsingh1/xdaforums huggingface dataset:
[Android General] turo2710:
buddy look at my settings expert mode should be yes...

Apk signature, should not be...

The page is about the same thing Look at the settings on my screenshot...
[Android General] maanz "L":
ok, i'll try the changes.

EDIT: ok, now it works perfectly. thanks buddy..
[Android General] Ronnie McNutt:
should it look like this bc it still bootloops with modified secsettingd.spk
[Android General] ShaDisNX255:
FYI,

access$1300 and access$800 are renamed in Android13

The following needs to be replaced in order to work:

Replace:

access$1300(Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView;)Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView$SamsungGlobalActionsGridView;

with:

-$$Nest$fgetmListView(Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView;)Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView$SamsungGlobalActionsGridView;

And replace:

access$800(Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView;)Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView$SamsungGlobalActionsGridView;

with:

-$$Nest$fgetmLandListView(Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView;)Lcom/samsung/android/globalactionsdlx/presentation/view/GlobalActionsContentView$SamsungGlobalActionsGridView;
[Android General] nashinnnn:
Hi, yep, knew that

I've been thinking and I decided that I'll continue the mod but in the form of a LSPosed Module. Implementing such a long mod just seems unpractical to me, and making it a LSPosed Module would turn it 1000 times easier to install, mantain and remove. I wouldn't have to make such a long guide fragmented in several posts

Anyway, I'm short of knowledge like to do all this on my own for now, so the day I stop procrastinating I'll study and hopefully turn the mod into a really cool and open-source project lol

I even have almost everything thought, the UI, the features, ""branding"", and all that

Well, for now I encourage people either to use the Firefdskit Lsposed module that has global action features and indefinitely wait for my project, or simply try to follow the guide I made and implement the mod directly and adapting what it needs to be adapted on A13 by themselves

If you're curious about what exactly I'd like to do, PM me on Telegram, you already know who I am I guess
[Android General] Ronnie McNutt:
how i can add resolution settings ?
[Android General] Bkblues:
Is there any relevant tutorial that can display seconds in the status bar? thanks！
[Android General] nashinnnn:
Check methods from Rune.smali in SecSettings/smali_classes2/com/samsung/android/settings. I once managed to enable the menu out of curiosity, but there were a few details that needed fix.

See this screenshot for example:

Spoiler content hidden.

My device's stock resolution is 2400x1080, but doesn't match what it says in the FHD+ option (1920x1080), WQHD+ of course it's impossible so would need to be removed. HD does indeed lower the resolution but I'm not sure if it only says 1280x720 or actually applies 1600x720, because what the option shows doesn't match aspect ratio (despite I didn't notice any distortion in the screen)
[Android General] nashinnnn:
duplicate from message below*
[Android General] nashinnnn:
Well, QuickStar GoodLock module can do that but they're only shown when quick settings panel is expanded, don't know if that's
[Android General] Bkblues:
Thanks, I know that QuickStar has this function, but I want it to be displayed in the status bar for a long time. At present, I have tried to use the firefds kit to realize this function. Of course, it would be better if there was a way to directly modify the implementation seconds.
[Android General] Bkblues:
system\etc\floating_feature.xml Try to add：

<SEC_FLOATING_FEATURE_COMMON_CONFIG_DYN_RESOLUTION_CONTROL>WQHD,FHD,HD</SEC_FLOATING_FEATURE_COMMON_CONFIG_DYN_RESOLUTION_CONTROL>
[Android General] kullanici32:
hi, how can i patch signature spoofing to services.jar without using xposed on android 12 s10e? (manul can be done for lineage os, but I couldn't find it for one ui)
[Android General] rscrmm:
Hi, I have made all the changes indicated in this forum, both in services.jar and in framework.jar.

In services.jar, I have modified PackageManagerServiceUtils;

compareSignatures; will always return 0

matchSignaturesCompat; will always return false

matchSignaturesRecover; will always return false;

And in framework.jar, I have modified ApkSignatureVerifier;

getMinimumSignatureSchemeVersionForTargetSdk; will always return 0 (I have also tried to always return 1)

I have checked that the methods are well modified, and I have added a Log in each of them to make sure, but the modified system application is not installed on the boot of the custom rom, and when I try to install the application by ADB, I get the following error;

"Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl367770945.tmp/base.apk: Attempt to get length of null array]"

The custom rom is from a Samsung S21, with Android 13. I hope someone can guide me a bit with my problem. Thank you!

PD:

If I sign the app before installing it, I get the following error;

"Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Reconciliation failed...: Reconcile failed: Package com.pacjagename has no signatures that match those in shared user android.uid.system; ignoring!]"
[Android General] ricci206:
Witch tool use?

Use batch apk Tool
[Android General] rscrmm:
I use apktool 2.7.0 to decompile and recompile the .jar files, and as I have commented, the compilation is done correctly, since I can see the "Log" that I put in each of the modified methods.

I do not understand why they indicate that it is necessary to use;

apktool-2.6.2-20220921_mod

smali-2.5.2

baksmali-2.5.2

Isn't it supposed to be the same as apktool 2.7.0? I have always used apktool to modify applications and services.jar and never had any problems or limitations. A greeting and thanks for answering.

PD:

When I try to decompile framework.jar using baksmali-2-3-4-jar as they recommend, it doesn't decompile all the directories, like when I do it with apktool. And I'm missing the "util" package that contains the class that needs to be modified.

Is it necessary to do something similar to "apktool if framework-res.apk", when I decompile with baksmali?
[Android General] switchgott:
@ShaDisNX255

YOU ARE THE MAN!!!!

Android Work Profile is working with you hack :-)

Big thanks.

Was my fault. I used old smali tools :)
[Android General] switchgott:
Any news with modding framework on A13 OneUi 5.1 ?
[Android General] Khushtaur3123:
Could you share the steps for making "Work Profile" work?
[Android General] switchgott:
Which firmware you are yousing on which device?
[Android General] ShaDisNX255:
Just some information for anyone that wants to try this on OneUI 5.1

It looks like Samsung removed a bit of code in the latest release of OneUI.

You get this error in logcat:

Spoiler content hidden.

It looks like method isNeedSecureConfirm is trying to access IS_SIM_LOCK and it's not there anymore. The way I fixed it is by going to

smali_classes4/com/samsung/android/globalactionsdlx/util/SystemConditions.smali and add the following code:

Search for:

.field public static final enum blacklist IS_SHOP_DEMO:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

And add the following below it:

.field public static final enum blacklist IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

Then, I don't know if this next part is necessary but I did it anyway

Replace .method static constructor blacklist <clinit>()V with the following:

Spoiler content hidden.

I did a compare to current code and the only difference is the extra registers for IS_SIM_LOCK so it should be fine to replace the whole code. I hope this isn't a vulnerability I'm opening up again 😅

I guess you could also delete the IS_SIM_LOCK invoke from method isNeedSecureConfirm but I didn't want to do it that way, I don't know if any more stuff would be required that route
[Android General] turo2710:
it is enough to remove one line in the smileys that are added according to the instructions-

.method private isNeedSecureConfirm()Z-

---- -----

move-result v0

if-nez v0, :cond_0

iget-object v0, p0, Lcom/samsung/android/globalactionsdlx/presentation/viewmodel/QuickRebootActionViewModel;->mConditionChecker:Lcom/samsung/android/globalactionsdlx/util/ConditionChecker;

# sget-object v1, Lcom/samsung/android/globalactionsdlx/util/SystemConditions;->IS_SIM_LOCK:Lcom/samsung/android/globalactionsdlx/util/SystemConditions;

invoke-interface {v0, v1}, Lcom/samsung/android/globalactionsdlx/util/ConditionChecker;->isEnabled(Ljava/lang/Object;)Z

move-result v0
[Android General] ShaDisNX255:
Awesome, thanks!

I'll go this route instead next time :giggle:
[Android General] Khushtaur3123:
S21 One UI 5.0 on M31s One UI 4.1 last patch of 2022 INS.
[Android General] Khushtaur3123:
So I have been trying to boot various One UI 5 and 5.1 on my m31s. Only One ui 5.0 have booted successfully. not necessarily for 5.1, because of kernel? or code changes as well?
[Android General] Swordfishx86:
I have a problem with my S10e Exynos. Firmware is A13 with OneUI 5.1. When i pull down the Quick Settings panel statusbar is behind the camera cutout. Which value in which file is used for the top padding of the status bar when the panel is pulled down?
[Android General] cimon666:
A

A20 with oneui core 5.1 ported from m12

Knox and Secure folder nuked

Anyway i can get work profile to work with island?
[Android General] EnzoPlesi49:
Hi ! i'm beginer and i search for improve my skill in dev app, i don't know how to decompile and recompile apk file ? could you learn me to do that ?
[Android General] turo2710:
It is unlikely that I will succeed as I use Google translator and it does not translate everything correctly
[Android General] EnzoPlesi49:
i'm French speaker, but i speak a little bit english too. When i use apktool for decompile, it work but when i recompile it's show me a error message.
[Android General] turo2710:
a lot depends on which version of Android ... you also need to look at what error
[Android General] EnzoPlesi49:
I use Android 12 sdk 31, but when i take the SystemUI into my phone, i replace it into my camputeur and i decompile it and i recompile it without modifying files and folders there is an error in file ? In first time tell me please what's the tool that you use for decompile and compile ?
[Android General] turo2710:
when you disassemble systemui for the first time, there will be errors during assembly, duplicate lines must be deleted
[Android General] EnzoPlesi49:
Thank you very much for this information , can i know what's the tool that u use to decompile and recompile apk file ?
[Android General] turo2710:
batch apktool
[Android General] Win_7:
link down
[Android General] ricci206:
Hi everyone,

Does anyone have instructions for mod device information in the drop down menu?

For android 13 one ui 5.1?

Thank you.
[Android General] ShaDisNX255:
With @BlackMesa123 's permission, here's a quick guide

Activate Live Blur on unsupported devices (A- series and below)

It's a pretty straight forward guide.

Make sure you have the following on

system/etc/floating_features.xml

<SEC_FLOATING_FEATURE_GRAPHICS_SUPPORT_3D_SURFACE_TRANSITION_FLAG>TRUE</SEC_FLOATING_FEATURE_GRAPHICS_SUPPORT_3D_SURFACE_TRANSITION_FLAG>

Now, grab the following files from a device with the same SoC or similar that supports blur. In my case, I grabbed them from the Snapdragon variant of S21FE (make sure they are the same OneUI version) to use on my Snapdragon A52 (not same SoC, but both Snapdragon)

bin/surfaceflinger
lib/libgui.so
lib64/libgui.so

Make sure they have "0644" permissions

Make sure that bin/surfaceflinger has "0755" permissions!

Make a backup or go systemless in case anything goes wrong

That should be all that's necessary to get live blur on unsupported devices

Special thanks to BlackMesa123 that showed us the easiest way to get this to work :)

Tested on: OneUI 5.1 and OneUI 6
[Android General] Marvfit213:
I restarted my phone and got into safe mode and got dis error how do I fix it

Help

SSRM Warning

Fails to parse policy XML. Please confirm that

XML is well formed

How do I fix it

Were I finde the smali folder
[Android General] DanGLES3:
Didn't seem to work here on One UI 4.1 (Galaxy M51), tried the files from two different Snapdragon devices running One UI 4.1 (S10 and Note 10+) latter which i even made sure the system i've extracted the files from matched my security patch

Both resulted in a bootloop, mind you i've used a Magisk module to replace those files
[Android General] Man1993:
I do a contrast you I am a Chinese don't how can English
[Android General] ricci206:
Grazie, ci provo oggi

Mod translation: Thanks, I'll try today
[Android General] turo2710:
shouldn't it be added here GearUtils?

if this is the instruction that I think about, then the information about the phone will not disappear when the quick settings panel is completely lowered
[Android General] ricci206:
I tried the mod, but nothing appears
[Android General] turo2710:
dude, have you done this mod before?)
[Android General] turo2710:
Buddy And you completely lower the quick settings panel
[Android General] Man1993:
It is ok to download attachment reference
[Android General] ricci206:
Hi everyone, would it be possible to run this mod without rom control? Could you please indicate the changes? Thank you
[Android General] ricci206:
Hi Turo,

i tried to mod but i cant find gearutils.

Also I would like to insert the mod directly into SystemUI without having rom control.

Is it possible, with what modification?

Thank you.
[Android General] turo2710:
you can do without Rom Control but you need to add an independent setting to SecSettings
[Android General] turo2710:
Look buddy, here I made according to your modification...This is actually an old modification. It works on older versions of Android. Android 12 and Android 13 in the smili regarding the quick settings panel there are changes...because of this, the modification does not work correctly.

unfortunately some managed to fix it but they do not share information.
[Android General] ricci206:
HI,

yes it's ok with independent settings in secsettings, could you indicate the mod?

Thank you
[Android General] turo2710:
No mate this is not normal, When the panel is fully lowered, the information should disappear....

Still have problem color picker independent settings not working on android 13(((((
[Android General] ricci206:
OK, thank you !
[Android General] Man1993:
This is very simple I
[Android General] Man1993:
Android 12 deviceinfo
[Android General] ricci206:
So gearutils is not needed?
[Android General] Man1993:
You don't need
[Android General] Man1993:
Android 13 mod statusbar signal left
[Android General] ricci206:
So ultimately, can the mod be applied to android 13 without RC? if yes, with which guide please?

Thank you.
[Android General] Man1993:
Suggested use collocation, or some function with less than
[Android General] Man1993:
Sharing a homemade Mercedes boot animation basic compatible with samsung series concrete replacement test, extract the attachment to replace path system/media
[Android General] turo2710:
Hello buddy. Did you end up modifying the device information??
[Android General] ricci206:
HI,

if you mean the mod without RC for device info none.

I haven't changed anything, I don't know where to start right now.

Do you have any idea?

Thank you.
[Android General] turo2710:
now I’ll do it according to my own version, but this is not quite the right option, but you will see and understand what I mean...

Look at my latest screenshots where I made according to the instructions that the person posted here above

You see that when the quick settings panel is lowered completely, the information does not disappear?
[Android General] turo2710:
This is how this modification should work correctly, but I repeat, I did it wrong Since I had to get rid of the name of the Samsung operator
[Android General] ricci206:
Hi , could you please pass me the complete mod? the one shown in the video. Thank you
[Android General] turo2710:
I don't know how to explain to you... This instruction is wrong, especially in this modification ColorPicker doesn't work for me.
[Android General] 3mel:
not sure if this has been covered in this thread already but I'd like to able to set the screen width setting that's in developer options and kind of also in settings display so that on first boot the rom isn't in standard Samsung cartoon like sizing.

I am doing this on a snapdragon S20FE but a few of these mods (the ones I understand) still work on both snap and exy models of my phone... even today!

any ideas on where I should look for this ?
[Android General] ntchien64:
Hello, I need your help. Does anyone here?

I want to edit the launcher app (One UI Home) to remove blur. I have read the source guide here. (Android 11 - One UI 3.1 Port ROM)

I decompile APK file through Apktool, then recompile the file (I didn't make any changes), after that signed the APK using Uber APK signer. The file is compiled and signed successfully, but when I push that file to /system/priv-app/TouchWizHome_2017, the launcher has an error "One UI Home keeps stopping" like this, that I cannot use normally.

Is there something wrong with me? What can I do now to solve this problem?

Thank you.
[Android General] turo2710:
no need to sign apk
[Android General] ntchien64:
Thanks, but I try this, my phone give me an error "There was a problem parsing the package". I pushed it to system and it says the app was not installed.

Are there any other solutions? Every opinions are appreciated.
[Android General] turo2710:
Buddy, I don't know how good you are at editing system apps, but I'll tell you one thing, you can only sign system apps if you made changes to the manifest
[Android General] ntchien64:
Hi, thanks for your reply. I have done this action and maybe it has no problem... :D

Btw, I have searched for GrxSettings to modify the system. But I still don't understand. Can you explain me some guides about add features on system apps using ROM Control?

(For example: like this... https://4pda.to/forum/index.php?showtopic=1020489&st=820#entry113736042 )

Anyway, thanks you so much :)
[Android General] turo2710:
Sorry, but explaining how to make modifications using Google translator is difficult(((
[Android General] ntchien64:
Bro, I think I can understand a little bit about that, you can summarise how to set up the environment of ROM Control, ... If there are some problems or something happen, I will ask you more ;)

I hope that will not bother you :D I can use Google translator to understand more
[Android General] turo2710:
You start and then we'll see
[Android General] ntchien64:
Okay, I installed GrxSettings v2.1 into my phone. Does it need to be installed to system/priv-app?

And after that, what should I do next?
[Android General] turo2710:
If you have already completed the modification, you now need to decompile rom Control and write the settings for your modification there.If you install Roma Control as a normal offer, it must be signed
[Android General] ntchien64:
Okay, thanks

But I mean how to modify the ROM Control, there are some config file and where I should add this file, ...

Btw are you an author of this article? https://4pda.to/forum/index.php?showtopic=1020489&st=820#entry113736042. If you are author, can I ask you for any help about this?
[Android General] turo2710:
Yes I wrote it, Let's do this In order not to clutter the topic, Send me your romcontrol in a personal message, I will make changes and then you compare
[Android General] dexsstr:
MOD TRANSLATION (from translate.google.com)

Explain in more detail please for dummies. how to find, where to go, etc. Thank you

******************************

Объясните подробнее пожалуйста для чайников. как найти, куда пойти и т.д. Спасибо
[Android General] ntchien64:
You should write your post in English. You can use translator to do this.

I have used Notepad++ to find the warning. You choose Search > Find in Files > choose the decompiled apk directory. I don't remember exactly but the steps might be the same. You can try it and do the same instruction
[Android General] Gollo99:
hello everyone, does anyone have a guide or know how to remove blur in one ui 5.1?
[Android General] mujammilk_476:
Just use Floating_feature.xml line to enable or disable
[Android General] Gollo99:
that doesn't work bro
[Android General] mujammilk_476:
Why It always work for me
[Android General] ntchien64:
What line I should add or edit?
[Android General] switchgott:
Hi,

any possibility to get this realy nice mods working on snapdragon devices?

I mean off Status A12 and work profile.

Could someone help please?

Thanks
[Android General] mujammilk_476:
<SEC_FLOATING_FEATURE_GRAPHICS_SUPPORT_3D_SURFACE_TRANSITION_FLAG>FALSE</SEC_FLOATING_FEATURE_GRAPHICS_SUPPORT_3D_SURFACE_TRANSITION_FLAG>

FALSE = Live Blur OFF

TRUE = Live Blur ON
[Android General] ntchien64:
Bruh, that is native blur which is available on flagship devices... Are there any other ways to turn off blur permanently, like this? I'm using One UI 3 Android 11 so now I still don't know how to do this
[Android General] mujammilk_476:
See in vendor

vendor/etc/floating_feature.xml
[Android General] JessyGlory:
Hello ...I am trying disable signature verfication in samsung android 13 mobile using batch apk tool 3.7.5 ..when i am trying to decompile services.jar the error is Access denied in batch apk tool..pls help ..
[Android General] bklyn_syed:
CentralSurfacesImpl.smali << I dont see this anywhere in SystemUI.
[Android General] turo2710:
smali_classes2/com/android/systemui/statusbar/phone/CentralSurfacesImpl.smali
[Android General] bklyn_syed:
did it work for you, I tired it on S22 it just bootlooped.
[Android General] turo2710:
I did not do the modification itself, (I prefer the modification of the double status bar) .... I just indicated Where is this smali
[Android General] Gollo99:
is to cancel the blur???
[Android General] turo2710:
no buddy about turning off the blur i haven't tried it yet i have angry temporarily installed
[Android General] Gollo99:
hello guys, how are you? I want to disable the native blur in one ui 5.1 by editing systemUI, does anyone know how to do it
[Android General] Sameer Al Sahab:
Guys , Do I make a tutorial about how to add live animation rom logo in Sec Settings with Rom Developer Links?​

Tested in A13 One UI 5/5.1😄
[Android General] Sameer Al Sahab:
I

I found you 👋
[Android General] Sameer Al Sahab:
Sir can you share some rom control for 5.1 , please ?
[Android General] turo2710:
Hello, I don't understand what you mean
[Android General] Sameer Al Sahab:
Hello sir , I mean can you share some Rom Control (RC) mods for Samsung oneUI 5.1 , I searched 4PDA but not find anything out
[Android General] Gollo99:
yeah bro :)
[Android General] turo2710:
My friend, I made several modifications but then abandoned them because I rolled back to Android 12
[Android General] Ronnie McNutt:
thanks this even fixed work profile
[Android General] pakfixrom:
hi
[Android General] Bkblues:
here
[Android General] Ronnie McNutt:
Guide for Porting Custom roms

and other useful things related to custom roms /android stuff

Credits are shown on the file
[Android General] Ronnie McNutt:
deleted
[Android General] barryallen3038:
Did you manage to fix this problem? I tried doing the same but in my A52 running One Ui 5.1 and with a magisk module, but the device goes to bootloop. I have to boot to safe mode and disable the module.
[Android General] DanGLES3:
Not really tho strangely these past few days just having this flag on floating_features.xml

<SEC_FLOATING_FEATURE_GRAPHICS_SUPPORT_3D_SURFACE_TRANSITION_FLAG>TRUE</SEC_FLOATING_FEATURE_GRAPHICS_SUPPORT_3D_SURFACE_TRANSITION_FLAG>

And ro.surface_flinger.supports_background_blur=1 in the build.prop seems to get live blur partially working (works only on the quick settings) tho it looks a bit odd