Any solution to disable system bar? - Magisk

Hey,
We need a solution to disable or hide a system bar on a rooted Android device (rooted with Magisk). Example device is fiio m11, android 7.0.
The end result requires that user would be completely unable to access the notifications/preferences buttons that are visible when you swipe down the system bar.
Also a basic on/off mechanism controllable on android app (basic checkbox on/off).
Any solution is ok:
completely hide system bar
draw something on top of system bar in order to disable swipe down
leave system bar visible but disable touch (disable swipe down to open notifications list)
Do you have any suggestions?
Cheers!

Hi,gintrux. How did you root your device . As far as I know, when I get into the fastboot my ADB cant find any fastboot devices,
Where did you find the fastboot device of FIIO M11. And we didnt have any rec like TWRP for FIIO M11 how did you install the
magisk?

I also faced your problem ,root is just the frist step. I will search it in XDA and others web. If I find anything ,I will share with you.

gintrux said:
Hey,
We need a solution to disable or hide a system bar on a rooted Android device (rooted with Magisk). Example device is fiio m11, android 7.0.
The end result requires that user would be completely unable to access the notifications/preferences buttons that are visible when you swipe down the system bar.
Also a basic on/off mechanism controllable on android app (basic checkbox on/off).
Any solution is ok:
completely hide system bar
draw something on top of system bar in order to disable swipe down
leave system bar visible but disable touch (disable swipe down to open notifications list)
Do you have any suggestions?
Cheers!
Click to expand...
Click to collapse

Related

Manually Power Toggles NFC toggle and Magisk

Samsung Galaxy S6: Wanted to update from Marshmellow (rooted with SU) to Nougat.
Unrooted, updated to Nougat and rooted with SU 2.78 and used Titanium Backup to re-install some stuff and mainly data back into Nougat.
Everything worked good but while reading a bit more i found that there was a newer version of SU then the one i had used (2.82 instead of 2.78).
So i uninstalled SU 2.78 and installed 2.82 instead.
Then i noticed that some stuff didn't work anymore, one thing was toggling NFC on or off through Tasker, it always came with an error that there was no root for System+ in Secure Settings.
But whatever i tried, i could not get System+ detecting root in Secure Settings, also not when trying a few fixes i found on the internet (ex: https://dammit.nl/20160406-how-to-f...oid-devices-with-supersu-systemless-root.html).
Went back to SU 2.78 but that didn't work our anymore either.
While gathering information (i don't follow the progress on rooting etc... because lack of time) i stumbled on Magisk for doing the root.
Unrooted SU and re-rooted with Magisk 14.2
Then System+ in Secure Setting could be enabled again and i could toggle NFC through Tasker again without issues.
But, tapping on the Power Toggles NFC symbol still brings me to the Nougat settings page to set NFC from there (and then the Power Toggle NFC status isn't updated) instead of toggling NFC direct like it used to do before with SU 2.78 (on Marshmellow and the first install of Nougat with SU 2.78).
Looking for a solution for this i found this on the Power Toggles website (http://powertoggles.com/help/?e=17).
It says that you always are directed to the phone's settings to set either GPS or NFC and only works directly if you have root.
Well, it works fine for GPS but for NFC. Power Toggles see's root for the GPS function but not for the NFC one... weird.
Removing Magisk and re-installing it doesn't help, nor does going back to whatever version of SuperUser so i'm still looking for a solution to toggle NFC directly from Power Toggles.
My Tasker Root Support module have been reported to make Secure Settings recognise root. You could give that a try...
Thx, i'll give it try but this then means i have to go back to SuperUser for root instead of Magisk?
The actual problem is that Secure Setting does detect root now when rooted with Magisk but that Power Toggles only partly thinks is not (works fine GPS toggle, not for NFC).
I guess the problem lies more on the Power Toggles part (but then that's a wild guess) which only seems to see half of a root so to say... LOL.
Toggling NFC with Power Toggles works fine for me. With Magisk.
And no... You'll have to stay on MagiskSU to use Magisk modules. SuperSU isn't compatible with Magisk.
Installed the module in Magisk (double checked if it's activated), unfortunaly no joy...
Confession: Far far away in my brain there is a small spark that says that's is't some sort of setting somewhere and that i had the same problem once in the past (long ago) but since my brain is getting rather old and that spark would refuce to become firework...yet.
I did make a small Tasker task to update the Power Toggles bar on changing NFC status. So i can already check on the PT bar in what status NFC is in even if i changed it through regular settings.
Found also this:
Note: starting with android 4.2, system access is no longer required for any functionality. Root should be enough.
If your device is rooted you could install the Power Toggles app as a system app. You can use apps like Titanium backup or /sys/app mover or any similar app for this purpose.
Installing the app as system app, enables protected functionalities like one-click GPS/NFC toggle or Airplane mode toggle.
Wondering if it could help i tried to installing Power Toggles as system app. However, this didn't work. First i used /sys/app mover but this came also up with error: could no remount/system.
Then i tried Titanium Backup but this kept on going in a loop. After stopping TB after +/- half an hour and a reboot the Power Toggles shortcut was gone but that was it. Retried a second a time and this time TB worked itself through the process quickly but Power Toggles wasn't moved and was not a system app. To be continued...
Noticed a second little glitch with Nougat for the Power Toggles, just a NFC now opens de setting instead of toggling, the same happens with the brightness slider toggle (didn't tried that before).
On Marshmellow this opened only the brightness slider, on Nougat is does the same as with the NFC, it opens the settings and goes to the brightness slider there.
After fiddling around with a bit i thought of reversing the firmware back to Marshmellow to try but this came with an error and de Galaxy S6 locked up. Tried a second time, same issue although the firmware should be valid and the checksum is OK (got it from SamMobile).
Re-installed Nougat (a 1st update now), but the Power Toggles still open settings for NFC and Brightness Slider.
Workaround for the Brightness Slider is using a widget to open a 3th party brightness slider. This works noce but the Power Toggles bar is not as nice (even icons) as before.
Are you sure that Power Toggles have been granted root access? Check the superuser section of the Manager...
Yes it has, just double checked on the SU settings in Magisk.
If it doesn't, tapping the GPS/Location or Mobile Data symbol on the Power Toggles bar also opens up the settings pages like with NFC and the brigthness slider.
And whan it has been granted root access, it doens't do that for GPS/Location or the Mobile Data toggle but still for the NFC and brightness slider. That's the big issue. Whay does it work only partially? It would be easier to solve it was the same for every toggle for which it needs root access.
Like I said previously, there are no such issues on my side with Power Toggles...
Toggling NFC and bringing up the brightness slider works without a hitch.
There must be something about your setup.
Didgeridoohan said:
There must be something about your setup.
Click to expand...
Click to collapse
That's what i'm still thinking too but can't pinpoint it (for now).
I'll keep on diggin'...
Managed to make the Power Toggles app a system (with Titanium Backup) but... no joy.
Unrooting makes every toggle that has no direct action go through the settings page as it is intended to do, rooting again still leaves the NFC and brightness slider in an unrooted action state.

AT&T 950U Oreo question - remove Battery Fully Charged notification

I've searched and can't find any info on this. I've tried many combinations using AutoNotification and SystemUI Tuner but I can't seem to get the notification off my status bar and notifications when the battery is fully charged. This was not on my Note8 when I had Nougat.... I do NOT want to hide all Android System notifications, so please don't suggest swiping, hitting the cog for settings for this notification, and disabling notifications completely from Android System.
Thanks in advance!
KryptosXLayer2 said:
I've searched and can't find any info on this. I've tried many combinations using AutoNotification and SystemUI Tuner but I can't seem to get the notification off my status bar and notifications when the battery is fully charged. This was not on my Note8 when I had Nougat.... I do NOT want to hide all Android System notifications, so please don't suggest swiping, hitting the cog for settings for this notification, and disabling notifications completely from Android System.
Thanks in advance!
Click to expand...
Click to collapse
1) Swipe the notification banner
2) Tap the gear icon
3) select Battery Full
4) select Importance
5) select Low
This will hide the notification in a less-obtrusive narrow label titled Android System Info but will not entirely remove it. I haven't found any workaround that removes it altogether.
Conelley said:
1) Swipe the notification banner
2) Tap the gear icon
3) select Battery Full
4) select Importance
5) select Low
This will hide the notification in a less-obtrusive narrow label titled Android System Info but will not entirely remove it. I haven't found any workaround that removes it altogether.
Click to expand...
Click to collapse
You started your account here on XDA with this being your first post to say the exact thing I said would not hide it and you mentioned it would not hide it. Thanks, I guess???
Does anyone have any SOLID answers?
Conelley said:
1) Swipe the notification banner
2) Tap the gear icon
3) select Battery Full
4) select Importance
5) select Low
This will hide the notification in a less-obtrusive narrow label titled Android System Info but will not entirely remove it. I haven't found any workaround that removes it altogether.
Click to expand...
Click to collapse
Thank you! This worked on my Samsung S7. After selecting Battery Full, I was also able to remove the annoying notification from the lock screen. I had previously tried going through regular Settings >Notifications > Advanced >Show System Apps with no success.
I appreciate you taking the time to help.

Non Root ADB Full Immersive Mode

Hi Kings and Queens of XDA.
Since updating to Oreo, the adb command that enables full immersive mode system wide, no longer works on the homepage, but still does in apps.
Question is, does anyone know of a workaround?
This is driving me nuts. Yes I know, 1st world problem, but all the same....
Thanks in advance for any input.
Check that
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
Renovatio_ edi said:
Check that
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
Click to expand...
Click to collapse
Tried this, doesn't work for me. I was getting glitches whereby the screen wasn't refreshing properly when going back and forth from the apps draw and some other weird stuff.
Had to uninstall the app and still the problem wasn't solved till I did a reinstall of the system.
But thanks anyway.
kxdaorbit said:
Tried this, doesn't work for me. I was getting glitches whereby the screen wasn't refreshing properly when going back and forth from the apps draw and some other weird stuff.
Had to uninstall the app and still the problem wasn't solved till I did a reinstall of the system.
But thanks anyway.
Click to expand...
Click to collapse
Nova Launcher Prime and Nougat/Oreo Quick Settings work for me. This will only hide the status bar if you use the stock launcher.
Misterxtc said:
Nova Launcher Prime and Nougat/Oreo Quick Settings work for me. This will only hide the status bar if you use the stock launcher.
Click to expand...
Click to collapse
Yeah, that's the thing, I actually like touchwiz /UI 9000.0, or whatever Sammy's calling it today.
Just want full immersive on homepages, status and navigation bars just distract from the minimalist look.
Thanks though.
you may wanna try this.
Credit to frankhuang2013 and luisshnyder
The way we used to set navigation bar's height to 0 DOES NOT work anymore!!!
Here I want to share a way that I use to remove the annoying nav bar WITHOUT ROOT.
If you are interested, you can try it. I currently have a SAMSUNG NOTE 8 UNLOCKED running Android 8.0
I discovered this method based on luisshnyder's method (https://forum.xda-developers.com/galaxy-s8/how-to/remove-oreo-navbar-completely-t3772217), but I did more to resolve some problems he didn't mention.
===========================================================================================================
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
===========================================================================================================
After using my method, what's working:
1. A full screen with no navigation bar in any circumstance even in landscape mode or input method pops up.
2. Hard press working all the time, including when the phone is locked, screen off or unlocked status.
3. Screen capture working and also scrolling screen capture working (many users want this!)
4. You can swipe or other gestures to perform go back, home, recent app or many other functions.
What's not working:
The lock screen shortcuts cannot be displayed correctly under WQHD resolution.
Overall, you need the following software
1) Android 8.0 Oreo installed
2) All in one gesture (Free, in PlayStore)
3) FloatingMenu 6.1.9 (Free, but Pro Version works much better, don't use PlayStore version, use the apk attached)
4) All necessary software needed to run adb commands. You may need to learn how to install and use adb command line.
Now let's start:
0. Go back to your phone's default settings if you tried any other methods before (ignore this if you didn't).
1. Go to Seetings -> Display -> Navigation bar, UNcheck "Show and hide button".
2. Install All in one gesture.
2.1. Configure this app's settings in the way you like. I use 12 Hotspots Straight Swipe and make Bottom, Left, Center to be Recent, Home and Back.
2.2. Go to Personalization -> Edge Preference, Leave Opacity as it is, we'll deal with it later. set other scrollbars the way you like, I use the following value: Edge Sensitivity 50px, Edge Width 100%.
3.3. Go back to Personalization, make sure Auto Rotation is checked, while Behind Keyboard is UNchecked. For me, to make it better, I also Unchecked Toast Message and checked Animation.
3. Install FloatingMenu 6.1.9, DO NOT use PlayStore version, use the apk attached.
3.1. Configure your bottom bar the way you like, but make sure the Height is more than 200. You may need to buy the Pro version to use all three bottom bars.
3.2. Go to Settings, make sure you UNcheck "Reposition when IME appears", and set "Auto hide when landscape" to "Hide all".
3.3. Go to Advanced settings, make sure you UNcheck "Max window level", and check "Cover softKeyboard".
4. Plug-in your phone to a computer with adb environment, make sure USB debugging is ON. (Learn more about adb if you don't know this before operating)
5. In the command line, run: adb shell settings put global policy_control immersive.navigation=apps,-com.samsung.android.app.smartcapture
6. In the command line, run: adb shell wm overscan 0,0,0,-168
7. Fully test your phone, then make the bottom bar transparent to make it more beautiful.
8. For users who use WQHD resolution only: Go to Settings -> Lock screen and Security -> App shortcuts, then turn off both shortcuts.
9. Sometimes you need to reboot your devices.
=========================================================================================
If you want to undo the effect you made by the above two adb commands, here are the two "Recover Commands":
adb shell settings put global policy_control null
adb shell wm overscan 0,0,0,0
=========================================================================================
Please reply below if you have any questions. I will come and answer regularly.
Thank you!
Download FloatingMenu: https://drive.google.com/drive/folders/1EG_m4ZL7hWhxMdqlbbAMUliHp_iEcPtZ?usp=sharing
Scroll Capture isn't working
SuttyaHout said:
Scroll Capture isn't working
Click to expand...
Click to collapse
what do you mean by not working? the bottom bar didn't show up?
Hello. I have question.
If i set gestures from bottom, will be delay between two swipes?
Now I use immersive mode via adb + andromeda to hide navbar and first "back" gesture work normally but if i want do fast second swipe - (2x back in browser) it not work. It acts like showing invisible bar and second gesture work when hide it.
Maybe I'm not understanding the issue so forgive me if what i recommend doesn't help. The way i get system wide immersive mode is by using the bxActions app and linking the Bixby button to enable immersion mode when pressed twice quickly, this way i can still use Bixby if need be. The immersion mode works on games, FB, other social media and the home screen.You'll have to get it working through ADB only once then you should be good to go after that.
zuli007 said:
Hello. I have question.
If i set gestures from bottom, will be delay between two swipes?
Now I use immersive mode via adb + andromeda to hide navbar and first "back" gesture work normally but if i want do fast second swipe - (2x back in browser) it not work. It acts like showing invisible bar and second gesture work when hide it.
Click to expand...
Click to collapse
Y0sHii said:
Maybe I'm not understanding the issue so forgive me if what i recommend doesn't help. The way i get system wide immersive mode is by using the bxActions app and linking the Bixby button to enable immersion mode when pressed twice quickly, this way i can still use Bixby if need be. The immersion mode works on games, FB, other social media and the home screen.You'll have to get it working through ADB only once then you should be good to go after that.
Click to expand...
Click to collapse
hi, please guide step by step bro, i think it's better others way i know!

Navigation bar fix

I tried some apps to hide the navigation bar using the adb commands, wanted to go back to stock and I uninstalled all the apps but the navigation bar remains hidden and I have always to swype to make it reappear, even if i check show/hide button in settings. Any fix to solve? Thanks
Might help. Dunno which adb commands were used to hide originally

Complete fullscreen on Android 11

Hi.
I've been using overscan through ADB to completely remove the status bar and navbar for a while as I don't want any unnecessary clutter on the screen and want to maximise the space I actually use, and yesterday when android 11 was finally rolled out I found out overscan's been removed.
I was wondering whether there is a way on android 11 to completely remove both while also having the current app fill the entire screen, punchhole included (no black bars or otherwise unused space); I tried using "fullscreen: the one immersive mode" but the bars still come back from time to time like when I go into the recents menu, and it doesn't solve the unused space issue either. Therefore, any solution relating to "immersive mode" likely won't work.
I use nova launcher which also hasn't been working since the update, Fluid Navigation Gestures (FNG) which is way better than the default gestures but now can't hide anything as it tries to use overscan.
Apart from this, the new update is neat; just to clarify, I want to get rid of the navbar and status bar with no unused space left over on either edge. Any help would be appreciated, thanks!
I'll probably end up having to root, I don't know where to start there though so I'd rather not.
To enable full-screen mode, there are modules for Magisk
idark11 said:
To enable full-screen mode, there are modules for Magisk
Click to expand...
Click to collapse
Thanks for the quick reply, I'll look into Magisk

Categories

Resources