[HOW-TO] Remove the superuser indicator in CM13/CM14.x/LOS 15.x - Android General

Hello,
I noticed that many of you don't like the CyanogenMod superuser indicator ('#') in the status bar and that some of you even flash SuperSU or Xposed, just to get rid of it. Well, that's not necessary, because there is a much easier way. So here is the "right way" to remove the # in CM13/14.x/Lineage 15.x (probably not working in CM12.x):
Edit: @Dyt199412syam found an easier way to do this, please take a look: https://forum.xda-developers.com/showpost.php?p=73916650&postcount=35
==== Original post ====
1. Go to Settings > status bar > icons
2. Uncheck and re-check one of the items (to make sure the required settings entry is created)
3. Backup the file /data/system/users/0/settings_secure.xml
4. Open /data/system/users/0/settings_secure.xml with a text editor (as root)
5. Search for "icon_blacklist"
6. you will find something like this:
Code:
<settings id="269" name="icon_blacklist" value="" package="com.android.systemui" />
(ID may vary)
7. Add "su" between the quotation marks after value, so it looks like this:
Code:
<settings id="269" name="icon_blacklist" value="su" package="com.android.systemui" />
If value is not empty, just append ",su" (with a seperating comma):
Code:
<settings id="269" name="icon_blacklist" value="other,icons,su" package="com.android.systemui" />
8. Double check the XML syntax (a mistake here might cause a bootloop)
9. Save and reboot
For ROM builders:
If you want to implement an option to hide superuser icon in your ROM, please do not use a hacky, unclean way to do so. The right way is the following:
Open frameworks/base/packages/SystemUI/res/xml/tuner_prefs.xml.
- Search for
Code:
<com.android.systemui.tuner.StatusBarSwitch
android:key="alarm_clock"
android:title="@string/status_bar_alarm" />
and below insert
Code:
<com.android.systemui.tuner.StatusBarSwitch
android:key="su"
android:title="@string/status_bar_su" />
- Add
Code:
<string name="status_bar_su">Superuser</string>
to strings.xml
Or simply apply this patch to frameworks/base.

Working fine! Thanks!
Send with my Moto G4 Plus (XT1642) on CyanogenMod 14.1, Android 7.1, using Tapatalk!

Excellent... Works perfectly on Xeperience 7.1.1 for Moto G 2
Enviado desde mi Moto G 2014 mediante Tapatalk

Works on my LG D724 running CM14.1! Thanks for this!

It works great on CyanogenMod 14.1
Sent from my Moto G 2014 using XDA-Developers mobile app

Thanks!!! Working great on Lineage OS 14.1 using in my Xperia Z2!!!

This works fine on cyanogenmod 14 (lineageOs), droid turbo. Thanks!

Couldn't find "icon_blacklist" on the file, using official LOS 14.1for my device LG v500, can I manually add the line?
Any help?

aaswar said:
Couldn't find "icon_blacklist" on the file, using official LOS 14.1for my device LG v500, can I manually add the line?
Any help?
Click to expand...
Click to collapse
Have you tried to uncheck / check one of the items in Settings/Status Bar/Icons? icon_blacklist should be created after this.

MaxMustermann2.0 said:
Have you tried to uncheck / check one of the items in Settings/Status Bar/Icons? icon_blacklist should be created after this.
Click to expand...
Click to collapse
Thanks a lot, appreciated.

Works fine on Lineage, thanks??

Love you, works fine without having to install xposed mods.

Thank you very much

Which text editor do I use? Im use one without option to "Double check XML syntax" and cause a bootloop on my device

Onedmunds said:
Which text editor do I use? Im use one without option to "Double check XML syntax" and cause a bootloop on my device
Click to expand...
Click to collapse
Double check your XML syntax just means that you shall pay attention that the number of opening and closing brackets (<>) matches and that you don't forget a quotation mark or sth like that.

delete

Thanks to OP this worked on Lineage OS 14.1 on Mi 5

Hello everybody,
Probably, or also surely, caused by the Nova Launcher, always the root # symbol is displayed in the status bar.
This help here would work for me on the S5 and OP3. The Moto G4 does not work that way. After I changed the concerned and then restart the smartphone, suddenly all settings are set to the factory setting .... I copy the previously saved original file over it again, it remains nevertheless there by ... everything on factory setting...
Does anyone know another way that symbol is going to hide?
This Way here does not seem to work with the G4.
Or someone know, maybe what is the Problem?
Thanks in advance

Gustl6500 said:
Hello everybody,
Probably, or also surely, caused by the Nova Launcher, always the root # symbol is displayed in the status bar.
This help here would work for me on the S5 and OP3. The Moto G4 does not work that way. After I changed the concerned and then restart the smartphone, suddenly all settings are set to the factory setting .... I copy the previously saved original file over it again, it remains nevertheless there by ... everything on factory setting...
Does anyone know another way that symbol is going to hide?
This Way here does not seem to work with the G4.
Or someone know, maybe what is the Problem?
Thanks in advance
Click to expand...
Click to collapse
Works fine with Nova Launcher. It is probably the editor or explorer you are using. Are you sure that it has enough permissions to overwrite the file?
Try another editor or root explorer.

tested on seraph unofficial lineage OS on my OP2.
working like a charm, thanks a lot to @MaxMustermann2.0
used MiXplorer to find and edit settings_secure.xml file, and edited it via inbuilt text editor.

Related

[SCRIPT]DataIconRemover for Huawei Ideos U8150 with Android 2.2.2

DataIconRemover​
by ScumpinatoS​
Screen​There aren't any screen because it works on a command line
What is it?​This script allows you to get rid of the annoying data icon present in the Latest 2.2.2 Android version of the Huawei Ideos U8150
Requirements​
- Windows 98 or above
- An Huawei Ideos U8150
- Admin rights (Vista/7)
- USB DEBUG ON
How to use?​
1. Download the Link at the end of the post
2. Double click on DataIconRemover.exe
3. Now the script is running
4. Choose the option that you want and the script will do everything
In the guided mode the script guides you trough the script telling you something about the command and how to use them It's good if you want to know how the script work or if you want to learn something about adb scripting
Now the download link:
DataIconRemover.exe
Enjoy and leave a feedback
Who wants the source code, ask to me in PM
IF YOU LIKE MY WORK, PLEASE THANK ME BY CLICKING THE THANKS BUTTON AND CONSIDER DONATE TO ME, EVEN 1$ IS GOOD, I'M JUST A STUDENT
PS: The website is still a work in progress XD
It's working. Thanks
You're welcome
*up*
Is this script useful?
Perfect! It's great!
Thank you for using my scripts
Hi, I can't seem to get the script to detect my phone. When I manually put the phone.apk in my apps using root explorer, I get no signal. Any ideas?
Have you the USB debug on? Anyway you can head over myppc.it/web/community because hamen88 has created an APP that remove the icon
ScumpinatoS said:
Have you the USB debug on? Anyway you can head over myppc.it/web/community because hamen88 has created an APP that remove the icon
Click to expand...
Click to collapse
Tried that now. Still not having much luck so far:
Your script: Doesnt' detect phone.
Manual override of phone.apk: Can't get reception
APP by hamen88: Doesn't do anything
Manually editing those 2 lines in the build.prop: MMS service constantly force closes (changing opta to 02 and optb to 0)
EDIT:
Since it seemed to be working with Droni-X, I copied most of the build prop from droniX into fusion (they seemed highly similar) and then made the above build prop change.
Finally the data icon is gone and nothing else is broken. I'll try and pinpoint the difference in the build.prop's that is causing this.
EDIT 2:
Seems Editing the following in the build.prop gets everything working nicely
Change the following to be:
ro.config.hw_opta=02
ro.config.hw_optb=0
and uncomment the following:
ro.config.hw_uaprof=http://wap1.huawei.com/uaprof/HuaweiU8180WCDMA.xml
ro.config.hw_browser_ua3g=http://wap1.huawei.com/uaprof/HuaweiU8180WCDMA.xml
ro.config.hw_browser_ua2g=http://wap1.huawei.com/uaprof/HuaweiU8180GPRS.xml
Probably don't have to uncomment all 3 but have done enough playing around whilst getting a force close every other second. So if anyone wants to work it out exactly, I've narrowed it down to those 3

[MOD] [CM11] [4.4.x] [KitKat] Volume rocket wake

I was searching for this for quite sometime and I found this post on XDA and made it work on CM11.
Just wanted to share with whoever wanted it.
Attached is flashable zip (working for 4.4.1).
A better solution is to follow these steps in Terminal or via ADB SHELL, thanks to @ksilver89
The boolean is stored inside /data/data/com.android.providers.settings/databases/settings.db, which you can access and modify with sqlite3 command. No framework modification required.
Code:
Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
Code:
Code:
insert into system values(null, 'volume_wake_screen', '1');
Reboot and you're done.
zagzag99 said:
I was searching for this for quite sometime and I found this post on XDA and made it work on CM11.
Just wanted to share with whoever wanted it.
Attached is flashable zip.
Click to expand...
Click to collapse
Hey man thanks for the mod but its problematic on cm11 i tried it and after flashing it whenever open contacts/people/dialer the phone turns off
not work for me on CM11 nightly 06012014 on LG p880 when screen goes off, and you try to wake up, the phone reboots itself
Apps Crashing
zagzag99 said:
I was searching for this for quite sometime and I found this post on XDA and made it work on CM11.
Just wanted to share with whoever wanted it.
Attached is flashable zip.
Click to expand...
Click to collapse
After flashing the above zip, none of the apps are working on my nexus 4 with 4.4.2. Dialler, Messaging and even settings get force stopped. CM Version is "11-20120104-SNAPSHOT-M2-mako"
ajeet0112 said:
After flashing the above zip, none of the apps are working on my nexus 4 with 4.4.2. Dialler, Messaging and even settings get force stopped. CM Version is "11-20120104-SNAPSHOT-M2-mako"
Click to expand...
Click to collapse
Look at the OP. I posted a better solution that will work with any version.
Also I noted on CM11 changelog that they've added the UI for toggling this boolean in the recent nightly
Thanks
Has anyone of you made this fix work? Unfortunately it does not work for me (running latest Slimkat which is a CM derivative)...
Works for me on Huawei Ascend P6. I have edited the .db file with SQLite Editor. Thanks!
Thanks for posting this, will check it out on my free time

[CM12/12.1-UPDATED] S4 Display Color Profiles for CyanogenMod 11, 12, 12.1

### CM12(.1) UPDATE ### (see bottom)
Hey Folks,
are you also tired of the oversaturated colors of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by @F4k to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
After installation you can find a new settings option "advanced settings" in systemsettings/display just like they're are built in into the carbon roms.
Installation:
Download the apk from the link below.
Then you have to manually put the s4minisettings.apk to /system/app and after that it's very important to set ownership and permissions as follows:
Owner: root, root
Permissions: rw,r,r (644)
reboot!
The main option to reduce the saturation is called "Mode - Set the mDNIe mode". I choose "natural" and the oversaturation of the display is gone!
Some other options don't apply until you switch screen off an on once.
___________________________________________________
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
original thread here (search for F4K's post):
http://forum.xda-developers.com/showthread.php?t=2558702&page=11
you may also want to have a look at s4miniarchive who did a good article/video about it:
http://www.s4miniarchive.com/2014/01/enable-color-saturation-galaxy-s4-mini-cyanogenmod11.html
all thanks go to @F4k for creating this nice apk!
###CM12(.1)-Instructions###
So, f4k made a new lollipop version of this tool S4MiniSettings and built it into his S4 Mini cm12 rom. I extracted it and offer it to you for download.
Instructions:
- extract zip
- copy the folder "S4Minisettings" to /system/app folder
- set permissions of the folder to rwxr-xr-x (755), the apk to rw-r--r-- (644)
- reboot
- after reboot there is a new icon in the app drawer
- if you prefered the setting "natural" from the kitkat version, now choose "movie"
Notes:
- Important: SELinux level higher than "strikt"/"enforcing" is needed to write to system folder and/or set permissions, and the apk to be loaded at boot. Custom kernels like Alucard mostly got SELinux set to "moderat".
- Don't be confused about the app name - it does work with the S4 - definitely!
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
I use kernel perseus to better experience with real colors.
Enviado do meu GT-I9500
creage said:
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
Click to expand...
Click to collapse
The "S4" has this by default in the Touchwiz ROM it ships with, but this thread is about CyanogenMod.
Speaking of which, it possible to adjust color cast in CM11 on my Note 8.0 under Display/Display Advanced. Maybe this feature will also come to CM11 on the i9500.
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Or does this only work on nightlies build?? :crying:
elmaku said:
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Click to expand...
Click to collapse
Did you set the permissions and owner correctly? Otherwise it can't work.
Peter Semper said:
Did you set the permissions and owner correctly? Otherwise it can't work.
Click to expand...
Click to collapse
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Edit: Also, in my settings I have Display & lights instead of "Display" as the video shows. I know nothing and I understand this may be a dumb question, but it may had to do with the problem? sorry.
Over-saturated colours of S4? Oh Dear Lord :|
elmaku said:
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Click to expand...
Click to collapse
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
devilsdouble said:
Over-saturated colours of S4? Oh Dear Lord :|
Click to expand...
Click to collapse
killjoy
Peter Semper said:
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
Click to expand...
Click to collapse
I have used both! and none of them works when I reboot . Man what a bad luck I have.
elmaku said:
I have used both! and none of them works when I reboot . Man what a bad luck I have.
Click to expand...
Click to collapse
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options, I mean enable root mode.
Peter Semper said:
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options.
Click to expand...
Click to collapse
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
elmaku said:
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
Click to expand...
Click to collapse
Very strange, you must have done something wrong.
Peter Semper said:
Very strange, you must have done something wrong.
Click to expand...
Click to collapse
I really don't understand :/... It is just not detecting it... maybe an option I have enable? I hate these saturated colors... :/ maybe it is only on nightlies?
Another options
splitterzelle said:
Hey Folks,
are you also tired of the oversaturated colours of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by F4K to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
....
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
....
all thanks go to F4K for creating this nice apk!
Click to expand...
Click to collapse
This apk requires way too many permissions for the task it performs... Suspicious...
There is another option: KTweaker tool which comes with Ktoonsez kernels also allows to modify this setting (works with CM11 kernel, not only with Ktoonsez) .
After all this setting can be set via kernel "/sys" filesystem. From terminal emulator execute command:
Code:
echo 2 > /sys/class/mdnie/mdnie/mode
To make this change permanent (survive reboots and ROM updates) one may use init.d supplied with CM11, and create additional script in /data/local/ (in this location script will survive CM update).
Seems like init.d in CM11-M10 doesn't start scripts in /data/local/userinit.d/ directory, so the only option is to place script code to /data/local/userinit.sh
Permissions of this script must be set to 0755 (-rwxr-xr-x).
For anyone who interested in adopting this method I've prepared template script (also it sets some other available screen options, not only mode):
Code:
#!/system/bin/sh
# For SGS4 screen mode can be chosen from:
# 0 - STANDARD
# 1 - DYNAMIC
# 2 - MOVIE
# 3 - NATURAL
echo 3 > /sys/class/mdnie/mdnie/mode
# For SGS4 screen scenario can be chosen from:
# 0 - UI_MODE
# 1 - VIDEO_MODE
# 2 - VIDEO_WARM_MODE
# 3 - VIDEO_COLD_MODE
# 4 - CAMERA_MODE
# 5 - NAVI
# 6 - GALLERY_MODE
# 7 - VT_MODE
# 8 - BROWSER
# 9 - eBOOK
echo 0 > /sys/class/mdnie/mdnie/scenario
# Other parameters are boolean: 0 - Disabled, 1 - Enabled
echo 0 > /sys/class/mdnie/mdnie/negative
echo 0 > /sys/class/mdnie/mdnie/outdoor
Additionally I've prepared TWRP (CWM should work also, but I've not tested) installable version of this script (see attachment).
In that case if you dislike my default setting you'll need to unpack it, edit "data/local/userinit.sh" and pack it back using zip.
PS
This MAY work with other Samsung AMOLED devices. I can confirm that it works with galaxy tab 7.7 (p6800).
qolob said:
This apk requires way too many permissions for the task it performs... Suspicious...
Click to expand...
Click to collapse
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
splitterzelle said:
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Click to expand...
Click to collapse
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc. and it seems suspicious to me. That's all.
splitterzelle said:
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
Click to expand...
Click to collapse
When I was searching how to setup screen settings in CM11 on SGS4 I've found only this thread. And when I've managed to solve this problem with alternative method I've decided that other users maybe interested in this information. I've posted to Your thread because I thought that it is a good idea to post all possible solutions for 'S4 amoled display colour profiles with cyanogenmod 11' in one thread to help other people find them quickly and in one place.
Sorry if I was wrong and violated something.
qolob said:
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc.
...
Sorry if I was wrong and violated something.
Click to expand...
Click to collapse
Mostly when there are high ranking permissions for an app requested, it isn't because of maliciousness of the author, it's often just carelessness of the creator not deactivating them in the building tool's presets he uses.
And after all, just don't be so mistrustful about things coming from senior xda developers......
This method I announced here is very simple to install, safe and works perfectly even with the latest nightlies so far.

[CLOSED][Magisk Module] Framework-res Mod OnePlus 7 Oxygen OS Stable/Beta

Hi,
I am happy to share my Framework-res mod, specific for Oneplus 7 with Openbeta firmware.
My work includes the following changes:
- Disabled keyboard switcher notification
- Disabled high volume warning
- Enabled burnin protection
- Changed battery notification low level from 15% to 10%
- Enabled 360° rotation
- Reduced navigation bar height from 48dp to 41dp
It is a magisk module and I want to repeat that it can only be used on Oneplus 7 with Openbeta firmware
I'm trying it and it doesn't seem to show any problems but I still recommend making a backup before trying it.
To remove the mod, simply uninstall the module using magisk manager or, if this is not usable, from recovery twrp, using the file manager deleting the module "Framework-res mods" that you find at the following path:
/data/adb/modules
My big thanks go to @Tulsadiver, for giving me the right tips to be able to make the mod and for passing me the VRThemer module, without His help I would not have been able to avoid the bootloop
P.S. If you want the mod for other firmware versions, please send me your framework-res.apk and I will prepare the specific module.
If you want to try making the mod yourself, check out the tutorial here
Flashing always at your own risk!!!
20th March 2020 - Added OnePlus 7 OpenBeta 11 specific module
Thanks for your work, My kernel is Kirisakura-Kernel. Can I use it?
foolo said:
Thanks for your work, My kernel is Kirisakura-Kernel. Can I use it?
Click to expand...
Click to collapse
It works with any oxygenos based software (it doesn't work with AOSP rom) regardless of the kernel used
Could you pass me the framework-res.apk of the stable version? I would also like to prepare the specific mod for OxygenOS stable version.
Thank you.
Thanks. Worked perfectly.
Added OnePlus 7 OpenBeta 12 specific module to the first post
This is the framework-res.apk for the stable 10.3.1 oxygen os oneplus 7. Could you make a version for this too? I could help with the testing. Thank you!
(Uploading drive link cause xda doesn' t allow upload of apk more than 20MB.)
https://drive.google.com/file/d/1OagIggcj_WUKcuOYQKOsUNYaCQaA04Ev/view?usp=drivesdk
neildalal said:
This is the framework-res.apk for the stable 10.3.1 oxygen os oneplus 7. Could you make a version for this too? I could help with the testing. Thank you!
Click to expand...
Click to collapse
Done!
Added OnePlus 7 Oxygen OS Stable 10.3.1 specific module to the first post
dianoandr said:
Done!
Added OnePlus 7 Oxygen OS Stable 10.3.1 specific module to the first post
Click to expand...
Click to collapse
Just flashed via magisk and works perfectly fine!
Thank you!!
Added OnePlus 7 OpenBeta 13 specific module to the first post
Added OnePlus 7 OpenBeta 14 specific module to the first post
Added OnePlus 7 OpenBeta 15 module to the first post
dianoandr said:
Added OnePlus 7 OpenBeta 15 module to the first post
Click to expand...
Click to collapse
Thanks for u hard work .
Can you make mod for stable 10.0.6Gm57BA EU version?
M.Kader said:
Thanks for u hard work .
Can you make mod for stable 10.0.6Gm57BA EU version?
Click to expand...
Click to collapse
Sure it is possible!
I need the stock framework-res.apk from 10.0.6Gm57BA firmware, If You or Someone else who uses this firmware extracts it and sends it to me, I create the specific firmware magisk module
Added to the first post the module for OnePlus 7 OpenBeta 16 firmware.
Hi there @dianoandr
I have been trying to modify my OP7T framework-res apk to edit the vibe pattern which is contained under arrays.xml in values folder. However I haven't had any luck since I have always ended in a bootloop and needing to delete module. Could u help me out?
Thanks!
miguelang611 said:
Hi there @dianoandr
I have been trying to modify my OP7T framework-res apk to edit the vibe pattern which is contained under arrays.xml in values folder. However I haven't had any luck since I have always ended in a bootloop and needing to delete module. Could u help me out?
Thanks!
Click to expand...
Click to collapse
Hi @miguelang611,
Probably the bootloop occurs because you directly use the modified apk that is created by "apk tool", also I had this problem, try to use my module replacing the contents of the folder "vrtheme \ system \ framework \ framework-res.apk " with your modified files, extract the contents of your modified apk and copy in the magisk module everything EXCEPT for the meta-inf folder and the android-manifest file.
Try this and update me.
Regards!
dianoandr said:
Hi @miguelang611,
Probably the bootloop occurs because you directly use the modified apk that is created by "apk tool", also I had this problem, try to use my module replacing the contents of the folder "vrtheme \ system \ framework \ framework-res.apk " with your modified files, extract the contents of your modified apk and copy in the magisk module everything EXCEPT for the meta-inf folder and the android-manifest file.
Try this and update me.
Regards!
Click to expand...
Click to collapse
Thank u dude
The Friday after lot of tests reached to same conclusion as yours: copy everything from TMA (what I used to decompile) and once I removed the meta-inf and manifest, boom, it worked!
However, unfortunately I couldn't manage to edit vibration on arrays, since changing values there made 0 difference to actual phone vibration.
Saw that under public.xml there are also some vibe pattern, but neither worked
At least I got a way of fully modifying the framework and still booting
Thanks!
miguelang611 said:
Thank u dude
The Friday after lot of tests reached to same conclusion as yours: copy everything from TMA (what I used to decompile) and once I removed the meta-inf and manifest, boom, it worked!
However, unfortunately I couldn't manage to edit vibration on arrays, since changing values there made 0 difference to actual phone vibration.
Saw that under public.xml there are also some vibe pattern, but neither worked
At least I got a way of fully modifying the framework and still booting
Thanks!
Click to expand...
Click to collapse
No problem, it was a pleasure
If I make no mistakes, the vibration patterns are also determined by the kernel, but honestly, I never went into that.
Regards!
dianoandr said:
No problem, it was a pleasure
If I make no mistakes, the vibration patterns are also determined by the kernel, but honestly, I never went into that.
Regards!
Click to expand...
Click to collapse
With kernel y can change intensity, but I wanna change duration (just as clock, SMS or calls do)
Not found yet though, still looking for the way to go
Thanks again!

Add flagship features to any ROOTED OneUI phone!

In this tutorial I will show you how to add more features to any ROOTED OneUI phone!
Note: I assume you know how to edit system files via a root explorer and know the permissions for files and folders.
So let's get started!
1- DailyBoard:
This is a feature exclusive on Galaxy Tab series that we are going to get on our device, what is does it shows some info when the phone is charging:
First put the permission file: http://www.mediafire.com/file/8t57c...issions-com.samsung.android.homemode.xml/file to /system/etc/permissions
and then put latest apk https://www.apkmirror.com/apk/samsung-electronics-co-ltd/samsung-daily-board/ to /system/app/DailyBoard (a folder you should create in /system/app) and finally add line <SEC_FLOATING_FEATURE_COMMON_CONFIG_DAILYBOARD>TA</SEC_FLOATING_FEATURE_COMMON_CONFIG_DAILYBOARD> to /system/etc/floating_feature.xml.
2- Japan "Galaxy" boot animation:
This is a Exclusive Samsung boot animation that is very clean... it shows only the word Galaxy with a nice animation:
To do it simply install https://drive.google.com/file/d/1tuvG2CQ4a6TwQm8Va3tPb8QMI9DnJCPy/view?usp=drivesdk unpack then copy the three files to /system/media.
3- AirCommad:
The SPen feature we all know about, note: you will need launch it first from a root app also called AirCommand found on your app drawer and wait for the magic to happen:
Simply download https://drive.google.com/file/d/1n3QWteEWMOG_YgT3w444cIUW8Oe7LnWE/view?usp=drivesdk and unpack each folder to its location from the folder given (priv-app to priv-app and etc/permissions to etc/permissions).
Update: To fix SPen settings crash add this https://drive.google.com/file/d/1Nt2EZti2HSuoOHnQPD2zvG9UxD-qA6uX/view?usp=share_link to /system/etc/permissions.
4- Wifi Security Detection:
What it does is that it detects the security of the connected wifi network:
Download this apk https://drive.google.com/file/d/1CCmjfrwYEIuzLW0-ss2RUgg91Xmt7fZV/view?usp=drivesdk then paste it to /system/priv-app/TencentWifiSecurity (a folder you should create in /system/priv-app).
5- S22 ringtones and wallpapers (video wallpapers included)
If you have pre-2022 Samsung phone you can try out the new ringtones, also you can enjoy S22 wallpapers
Just replace the apk file https://drive.google.com/file/d/1o6IpSmyWoZa9VMAT-0x3zd6rtM7-ZsEx/view?usp=drivesdk found in /system/priv-app/wallpaper-res/wallpaper-res.apk and for the ringtone replace /system/media/audio/ringtones/SoundThemes/Galaxy/Over_the_Horizon.ogg with the new one https://drive.google.com/file/d/1-7FTSV91syHS8NydXbLtgt3joOruk5Bd/view?usp=drivesdk
6- Unlock all single take modes:
Single take mode has many features that Samsung hides from us A series users:
open /system/cameradata/camera-feature.xml and file the lines under <!-- Single take lite features-->
and change any that has false value to true for example change <local name="SUPPORT_SINGLE_TAKE_REWIND_VIDEOS" value="false" /> to <local name="SUPPORT_SINGLE_TAKE_REWIND_VIDEOS" value="true" />.
7- Bixby Touch
A weird Bixby App I found, I don't know if it even works 100%, but if you want to give it try go ahead:
First add download the latest apk from https://www.apkmirror.com/uploads/?appcategory=bixby-touch and add it to /system/priv-app/BixbyTouch (a folder you should create) then add https://drive.google.com/file/d/17q9FwpVpb_IQOl0yyubeSkoJmtJPnjs2/view?usp=drivesdk to /system/etc/permissions, also add this https://drive.google.com/file/d/1jJGbN2P2ySK2W_VKYarGZZrqzAj3i2kh/view to /system/etc/sysconfig after that add this line <SEC_FLOATING_FEATURE_COMMON_SUPPORT_BIXBY_TOUCH>TRUE</SEC_FLOATING_FEATURE_COMMON_SUPPORT_BIXBY_TOUCH> to /system/etc/floating_features.xml.
8- Samsung Dex on phone screen
If you have ROM with Dex support you can use Dex on your device screen locally without need of external screen just like in Galaxy Tab S series:
Add "standalone" to the line in /system/etc/floating_features.xml <SEC_FLOATING_FEATURE_COMMON_CONFIG_DEX_MODE>dual,wireless,dexforpc</SEC_FLOATING_FEATURE_COMMON_CONFIG_DEX_MODE> so it becomes <SEC_FLOATING_FEATURE_COMMON_CONFIG_DEX_MODE>dual,wireless,dexforpc,standalone</SEC_FLOATING_FEATURE_COMMON_CONFIG_DEX_MODE> and then after applying change go to dex you will see extra option in three dot menu click it and toggle Dex and BOOM! Samsung Dex powering on in your phone's screen.
9- Taskbar (from tablets and foldables)
You can get the Taskbar feature from fold and tablet devices on your regular phone running OneUI 5 beta by adding this: <SEC_FLOATING_FEATURE_LAUNCHER_SUPPORT_TASKBAR>TRUE</SEC_FLOATING_FEATURE_LAUNCHER_SUPPORT_TASKBAR> your floating_features.xml.
10- Object Eraser Features
You can get Object Eraser with its features on your phone by adding https://drive.google.com/file/d/100CzKPLja-2p-aCYTcMGmSA6O1_dUWyX/view?usp=drivesdk to /system/app/GalleryShadowEraser, https://drive.google.com/file/d/101ZqyRnD5zbV1e5ce6nOwurjRTxgNu7L/view?usp=drivesdk to /system/app/GalleryReflectionEraser and https://drive.google.com/file/d/10-FNFkYnWiJz29Gy7hR72LfztBaWJc0e/view?usp=drivesdk to /system/app/GalleryObjectEraser, then replace your /system/priv-app/PhotoEdtor_Mid/PhotoEdtor_Mid.apk with this: https://drive.google.com/file/d/10H-LNBgpjrwgg8UyYlr62WthWlRe_A-G/view?usp=drivesdk, and then you will get Object Eraser in your photo editor as you would get on a flagship.
11- Open Secure Folder from side key (power button)
This unlocks more features for secure folder that I will look into that need more apk files, but for now it adds option by double pressing the power button in side key settings under advanced features, to enable just add these lines to your cscfeatures.xml:
<CscFeature_Common_SupportPrivateMode>TRUE</CscFeature_Common_SupportPrivateMode>
<CscFeature_Gallery_SupportAliveZoom>TRUE</CscFeature_Gallery_SupportAliveZoom>
<CscFeature_Sip_ConfigAlivePrediction>multilingual</CscFeature_Sip_ConfigAlivePrediction>
12- China Smart Manager
It is an exclusive version of Samsung's device care for Chinese Samsung phones, it has more features and nicer UI to do it,
First delete original device care (smart manager) folder: /system/priv-app/SmartManager_v5 and then download china device care apk https://www.apkmirror.com/apk/samsu...china/smart-manager-china-14-0-01-13-release/ and create a new folder called SmartManagerCN in /system/priv-app and add the apk in it and also rename it SmartManagerCN, after that is a very important step to make it work: open your floating_feature.xml file and find the line with SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME add replace com.samsung.android.lool with com.samsung.android.sm_cn so that the line looks like this: <SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME>com.samsung.android.sm_cn</SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME> now the new smart manager should work!
13- Expert RAW
[This may not work on all devices due to missing hardware capability] It is a Samsung app for flagship samsung devices that extends the capabilities of the Samsung Camera app, it is only available to flagship Samsung devices if you want to enable it:
First spoof your device as a flagship device that is supported by expert raw using a Magisk module (there are many magisk modules that do that such as this one: https://t.me/OneUi_Mods/9945) and then in your floating_feature.xml file add this line: <SEC_FLOATING_FEATURE_CAMERA_CONFIG_GALAXYRAW_PLATFORM_VERSION>13.02.01</SEC_FLOATING_FEATURE_CAMERA_CONFIG_GALAXYRAW_PLATFORM_VERSION> and after applying these modifications install the expert raw app and see if it works.
This is not it... I will add more features to this guide when I have the time and discover new features so keep and eye on this thread, I keep it updated.
I hope you find this guide useful and enjoy these features and mods!
If anyone is having any problem adding these features please let me know, also if anyone knows more features let me know so that I can add them and give you credits.
Good work Keep going
Air command app crashes when start it from App drawer
Droid365 said:
If anyone is having any problem adding these features please let me know, also if anyone knows more features let me know so that I can add them and give you credits.
Click to expand...
Click to collapse
This issue is probably related to me being stupid or my device being annoying but I'm getting this when I try to copy the wallpaper-res.apk file to where I'm supposed to copy it. I'm using NcX and SixTeen kernel both latest versions. I deleted the original apk but for some reason ZArchiver cant delete or copy files to anywhere in /system eventho its got root permissions and I remounted the filesystem. But it works on termux but when I use the command it tell me this. Also ive got 60 gigs of space.
gk98s said:
This issue is probably related to me being stupid or my device being annoying but I'm getting this when I try to copy the wallpaper-res.apk file to where I'm supposed to copy it. I'm using NcX and SixTeen kernel both latest versions. I deleted the original apk but for some reason ZArchiver cant delete or copy files to anywhere in /system eventho its got root permissions and I remounted the filesystem. But it works on termux but when I use the command it tell me this. Also ive got 60 gigs of space.
Click to expand...
Click to collapse
system partition seems to be full
Droid365 said:
system partition seems to be full
Click to expand...
Click to collapse
yeah I noticed that and I couldnt find a way to resize the partition but I just got rid of some unnecessary files on it such as AR stickers. However I had a backup of the stock wallpaper-res.apk which was around 60 mbs but copying that to /system/priv-app/wallpaper-res and then restarting caused the wallpapers to be gone and the "Featured" tab was empty(which probably meant that the app isn't working). Also after I got rid of the unnecessary files I tried copying the apk that you provided and copying was successful but I also got the same results. Here's a screenshot of what happens after I copy the apk and restart. Also for anyone else having the same issue, if you're using NcX or a OneUI based from just reflash it and you'll get the stock wallpapers back.
gk98s said:
yeah I noticed that and I couldnt find a way to resize the partition but I just got rid of some unnecessary files on it such as AR stickers. However I had a backup of the stock wallpaper-res.apk which was around 60 mbs but copying that to /system/priv-app/wallpaper-res and then restarting caused the wallpapers to be gone and the "Featured" tab was empty(which probably meant that the app isn't working). Also after I got rid of the unnecessary files I tried copying the apk that you provided and copying was successful but I also got the same results. Here's a screenshot of what happens after I copy the apk and restart. Also for anyone else having the same issue, if you're using NcX or a OneUI based from just reflash it and you'll get the stock wallpapers back.
Click to expand...
Click to collapse
you can make a magisk module for it and install it without touching the system directly
Droid365 said:
you can make a magisk module for it and install it without touching the system directly
Click to expand...
Click to collapse
Alright I'll try that and update you if it fails
Update 1/17/2023:
Added steps to add Chinese Device care
Droid365 said:
Update 1/17/2023:
Added steps to add Chinese Device care
Click to expand...
Click to collapse
air command crashes
Code:
FATAL EXCEPTION: main
Process: com.samsung.android.service.aircommand, PID: 28295
java.lang.NoSuchFieldError: No static field SEM_ACTION_ENTER_KNOX_DESKTOP_MODE of type Ljava/lang/String; in class Landroid/app/UiModeManager; or its superclasses (declaration of 'android.app.UiModeManager' appears in /system/framework/framework.jar)
at com.samsung.android.service.aircommand.settings.SPenSettingsMenuFragment.registerContentObserver(Unknown Source:111)
at com.samsung.android.service.aircommand.settings.SPenSettingsMenuFragment.onCreate(Unknown Source:140)
at androidx.fragment.app.n.performCreate(Unknown Source:16)
at androidx.fragment.app.Y.c(Unknown Source:49)
at androidx.fragment.app.Q.a(Unknown Source:225)
at androidx.fragment.app.la.a(Unknown Source:196)
at androidx.fragment.app.la.a(Unknown Source:18)
at androidx.fragment.app.la.a(Unknown Source:47)
at androidx.fragment.app.Q.b(Unknown Source:117)
at androidx.fragment.app.Q.c(Unknown Source:84)
at androidx.fragment.app.Q.c(Unknown Source:21)
at androidx.fragment.app.Q.e(Unknown Source:14)
at androidx.fragment.app.Q.d(Unknown Source:6)
at androidx.fragment.app.z.a(Unknown Source:4)
at androidx.fragment.app.p.onStart(Unknown Source:15)
at androidx.appcompat.app.y.onStart(Unknown Source:0)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1455)
at android.app.Activity.performStart(Activity.java:8315)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4136)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Update 4/14/2023:
Added a way to install Expert RAW on all (rooted) Samsung devices
Droid365 said:
Update 4/14/2023:
Added a way to install Expert RAW on all (rooted) Samsung devices
Click to expand...
Click to collapse
May i ask where is the expert raw app to download?
kubura2999 said:
May i ask where is the expert raw app to download?
Click to expand...
Click to collapse
apkmirror.com
Update 4/18/2023
Updated guide for Bixby Touch
AR Zone and AR Emojis tutorial here
[ROOT] AR Zone & AR Emojis for unsupported devices
Heyy there im sure one day u saw an AR Emoji and u wanted to download it but ur phone didn't have them or didn't supported them well today i'll tell u how to install them ! Whats working ????????? AR Zone AR Emoji Studio --> Dances --> Custom...
forum.xda-developers.com
Smart manager crashing for me...it also changes my navbar sequence and UI with some other glitches
Running android 12
Life Companion said:
Smart manager crashing for me...it also changes my navbar sequence and UI with some other glitches
Running android 12
Click to expand...
Click to collapse
Did you do this?
Droid365 said:
a very important step to make it work: open your floating_feature.xml file and find the line with SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME add replace com.samsung.android.lool with com.samsung.android.sm_cn so that the line looks like this: <SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME>com.samsung.android.sm_cn</SEC_FLOATING_FEATURE_SMARTMANAGER_CONFIG_PACKAGE_NAME> now the new smart manager should work!
Click to expand...
Click to collapse
also I don't think the smart manager is related to the navbar...
Droid365 said:
Did you do this?
also I don't think the smart manager is related to the navbar...
Click to expand...
Click to collapse
Yes I did this..it glitches with UI. AOD not displaying..Data not working etc
Also the japanese boot and shutdown doesn't work it doesn't display anything and reboots SystemUI instead of rebooting normally
Droid365 said:
you can make a magisk module for it and install it without touching the system directly
Click to expand...
Click to collapse
Hi, i'm noob and i want to know about how do it ?

Categories

Resources