[PIE] [9.0] [Nougat - Pie] OmniSwitch Flashable Zip - Universal

wrongway213

Recognized Developer / Recognized Contributor / Re
Jul 27, 2014
5,065
8,791
263
32
Canton, OH
Looking for a little flair for your new Pie, Oreo, or Nougat ROMs? I know I was. Presenting OmniSwitch for Pie, Oreo, + Nougat! Just flash in recovery and enjoy the convenience. Thanks to @maxwen for this amazing work - this app is totally not mine, just ported it cuz OmniSwitch is so crucial to me I won't use ROMs without it and I wanna try O already :p
Edit: Wanted to try P already this year :p

App should work fine for those on older Android versions if they wish to use it as well on a ROM without OmniSwitch - originally designed for AOSiP N and redone for O, this flashable is now built directly from Omnirom source for P with no particular ROM in mind. These should be universal so long as your ROM isn't signed in a way that blocks installation. Enjoy!

OmniSwitch for 9.0 Piehttps://www.androidfilehost.com/?fid=1322778262904002129

OmniSwitch for 8.1 Oreo: https://www.androidfilehost.com/?fid=1322778262904002126
OmniSwitch for Oreo: https://androidfilehost.com/?fid=745849072291683374

Newgat version for 7.1.1+ ROMs: https://www.androidfilehost.com/?fid=961840155545567949

Original 7.0 Link: https://www.androidfilehost.com/?fid=24686680535467661

If this needs updated or any issues feel free to tag me!
 
Last edited:

Ghazkul

Senior Member
Jan 7, 2011
66
34
0
Thansk!! Works great and I see it has some neat improvement like you can send an activity to toggle it on and off. Perfekt for repaming recent button :) Works fine on 900F with xXx_NoLimits 5.2
 

wrongway213

Recognized Developer / Recognized Contributor / Re
Jul 27, 2014
5,065
8,791
263
32
Canton, OH
How do I replace the default app recent switcher though?

Sent from my ONEPLUS A3003 using Tapatalk
I believe your ROM at least needs the FW commits to support OmniSwitch to enter settings and replace recent - however, I use it with LMT and simply assign my LMT recent button to OmniSwitch as opposed to recents, works like a charm in cases where ROM does not support it. Also, if using SlimNav or DUI navbar, you can reassign the hardware buttons but I am guessing you are using this on Nougat as well, so I would suggest LMT.
 

xNAPx

Senior Member
Sep 26, 2010
583
84
48
What is LMT? I'm on marshmallow by the way (arter97 rom CM13 on 1plus 3

Sent from my ONEPLUS A3003 using Tapatalk
 

wrongway213

Recognized Developer / Recognized Contributor / Re
Jul 27, 2014
5,065
8,791
263
32
Canton, OH
What is LMT? I'm on marshmallow by the way (arter97 rom CM13 on 1plus 3

Sent from my ONEPLUS A3003 using Tapatalk
LMT Launcher is an app for pie control.

Here is a toggle for OmniSwitch - can't set it as default recents if you ROM doesn't support it, but if you can assign shortcuts anywhere or anything in your ROM, here's a toggle courtesy of @kikuto. Confirmed working on Nougat with my OmniSwitch flashable: http://forum.xda-developers.com/showpost.php?p=54073292&postcount=94
 
  • Like
Reactions: umetnic

wrongway213

Recognized Developer / Recognized Contributor / Re
Jul 27, 2014
5,065
8,791
263
32
Canton, OH
Default LG V10 ROM, rooted via (incorrect with missing step(s)) instructions at http://forum.xda-developers.com/tmobile-lg-v10/general/step-step-guide-rooting-lg-v10-using-t3382631.

I don't know from "Permissive or enforcing," nor do I know what recovery log you are referring to.
You need to do some Googling, friend. These sorts of mods are things that should come after learning some of the basics of having a rooted device. Read up on permisive vs enforicng SELinux. Google TWRP recovery log, also. Lastly - you did not describe what your problem actually is at all, you just gave a guide to rooting your device. In order to help you I would need some more information, and you also would need to read up a bit on some of the information mentioned prior. I hope that helps - I will certainly be here if you are still having issues after doing a bit of research and preparation on your end :good:
 

maxwen

Senior Member
Jun 10, 2012
8,051
10,277
253
A bug I notice on oneplus2
When flashed, it stops other apps to get any permissions. So they need to be done manually.
Say thanks to google. They check for apps running with draw over perms and disable allow button then. This has been reverted on M but not yet on N. If you build your own you can revert the change yourself.
 
  • Like
Reactions: wrongway213

kwmike

Senior Member
Oct 12, 2011
123
22
0
OmniSwitch(Nougat) does not install on Galaxy on5 MM

Thanks to the op for this development. Love Omniswitch.
However with a new rooted Galaxy on5 using twrp 3.0.2 + MM the app does not install. Twrp log says:
______
Installing zip file '/sdcard/Download/OmniSwitchNougat.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
about to run program [/sbin/busybox] with 3 args
OmniSwitch for Nougat
by @wrongway213
Installing
................................................



Mounting filesystems...
Preparing...
Extracting...
minzip: Extracted file "/system/priv-app/OmniSwitch/OmniSwitch.apk"
Setting perms...about to run program [/sbin/busybox] with 3 args

OmniSwitch
script result was [****************************************]
****************************************
* Error! Wiping /data... Sike lol, enjoy ! *
****************************************
I:Updater process ended with RC=0
I:Legacy property environment disabled.
Updating partition details...


..........

Any thoughts/help appreciated!
Thanks again.
 

wrongway213

Recognized Developer / Recognized Contributor / Re
Jul 27, 2014
5,065
8,791
263
32
Canton, OH
Thanks to the op for this development. Love Omniswitch.
However with a new rooted Galaxy on5 using twrp 3.0.2 + MM the app does not install. Twrp log says:
______
Installing zip file '/sdcard/Download/OmniSwitchNougat.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
about to run program [/sbin/busybox] with 3 args
OmniSwitch for Nougat
by @wrongway213
Installing
................................................



Mounting filesystems...
Preparing...
Extracting...
minzip: Extracted file "/system/priv-app/OmniSwitch/OmniSwitch.apk"
Setting perms...about to run program [/sbin/busybox] with 3 args

OmniSwitch
script result was [****************************************]
****************************************
* Error! Wiping /data... Sike lol, enjoy ! *
****************************************
I:Updater process ended with RC=0
I:Legacy property environment disabled.
Updating partition details...


..........

Any thoughts/help appreciated!
Thanks again.
It appears to have flashed - the only error I see is not an error, but my "error" dialog in the updater script I added as a joke. There's no error 1 or any error status? If not, it appears to me the zip flashed - you do not have OmniSwitch in your app drawer? Do you have an OmniSwitch folder in /system/priv-app?