SELiunx - Nexus 7 General

Well I think almost everyone nows about it but for the people who dont here you go.
SELinux status is set to Enforcing in Android 4.4.x
some older apps may not work with SELinux status set to Enforcing
You can set it to Permissive with the is command in terminal. setenforce 0
I made a simple script to set it to Permissive at boot.
You need init.d support
You need to rename it first, remove the .zip
You need to put it into /system/etc/init.d I use Root Explore
set permissions to rwxr-xr-x
Your good to go now
If I helped you Cheer!

Which solves what problem, exactly?

khaytsus said:
Which solves what problem, exactly?
Click to expand...
Click to collapse
some older apps may not work

USBhost said:
honestly I don't know, but I set it to Permissive just in case.
Click to expand...
Click to collapse
Fail.

I can't download it... It doesn't open. Can you reupload?

dcop7 said:
I can't download it... It doesn't open. Can you reupload?
Click to expand...
Click to collapse
OK 5min

dcop7 said:
I can't download it... It doesn't open. Can you reupload?
Click to expand...
Click to collapse
https://drive.google.com/file/d/0B1cOHQ70J9vlTDhWOTlWN2ZuZGs/edit?usp=sharing

I heard some guy set his SELinux status to permissive and the men in black came for him... I'm keeping mine enforced!

Related

{UTIL}( Vibrant )Enable Adb Push / Pull

We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries, I tried Pushing File's & forgot adb push didn't work...
Now this Script originally is what I made for the Behold 2, but the Basic still works For the SGV..
Just mod the script if your using the userinit.sh
Using this script you can place the userinit.sh any place you would Like...
I hope ever gets Good use out of this & Please Enjoy!
~Eugene
Download > adbpushGS1.zip
Installing*
Reboot to recovery, run the update.zip to run ClockworkMod Recovery, then installed the ZIP..
eugene373 said:
We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries.
Click to expand...
Click to collapse
Glad mine is now past that stage! lol
Thanks for the script.
Anyone test this with the init script + this?
Sorry for double doubting again ) But i just want confirmation.
Also, Some of us are still having force close and other issues with the init sript. Just FYI.
rhcp0112345 said:
Anyone test this with the init script + this?
Sorry for double doubting again ) But i just want confirmation.
Also, Some of us are still having force close and other issues with the init sript. Just FYI.
Click to expand...
Click to collapse
FYI, I don't have nor Run the inituser.sh, so FC IDK... doubting People Gets Old ( Mainly when you state it )..
I will never Release Something that Don't work &/or would brick a Device!
Script Does work, I'm leaving up to the User to add back in support for userinit.sh though.
~Eugene
Word. so ill wait till someone tests this with the userinit
I think it has something to do with davik cache. I have to figure out a way to clear all cache without wiping. I dont want to go through all that non-sense.
Great work though. *Hats off*
Thank's Eugene for all your hard work,your the sh**
Hey eugene you think your battery hack will work on the vibrant?
sent using my xda app
this won't work with the userinit because it replaces the same file as the userinit. Now it could easily be modified to do both.....
anomalous3 said:
this won't work with the userinit because it replaces the same file as the userinit. Now it could easily be modified to do both.....
Click to expand...
Click to collapse
That's what I said
Just mod the script if your using the userinit.sh
Click to expand...
Click to collapse
eugene373 said:
That's what I said
Click to expand...
Click to collapse
This is what happens when I don't read the whole thread
anomalous3 said:
This is what happens when I don't read the whole thread
Click to expand...
Click to collapse
np
Honestly you could just add the script from userinit.sh inside of the script, or the other way around & should still work fine.
Question, I would like to do as you said. Just add to the userinit
Is the problem just having the system/data mounted? It seems thats all your script does. If so, I can just use a widget to unmount/mount as i go. and not bother to have my system/data mounted all the time Please let me know.
Thanks!
Nicely done! I appreciate the work, I was hoping someone figured out a way to do adb push.. xda to the rescue again
hi, somewhat n00bie-ish (sorry) but what could
..deamon started.. "remount failed: no such file in directory"
in command prompt after i enter "adb remount" mean??
fit333 said:
hi, somewhat n00bie-ish (sorry) but what could
..deamon started.. "remount failed: no such file in directory"
in command prompt after i enter "adb remount" mean??
Click to expand...
Click to collapse
Am having the exact same problem, with a Samsung spica (i5700) though. Any ideas?
adb remount is not needed with my script.. system / rootfs is already mount via the script.
shameless bump
so I can find this easier... I wish our Moderator would get on his job...
thanks for your work eugene..

LiquidSmooth KK [01/04/2015, Unofficial, AppSettings DPI works]

To make Xposed's AppSettings' DPI function work, I reverted this change: https://github.com/LiquidSmooth/and...92#diff-82378faf2a467d2f28e834dddd59207eR1363
Updated 01/04/2015 Build with overclock http://web.mit.edu/ispatel/www/builds/lsoc/LS-KK-v3.2-2015-01-04-vs980_yes_properoc.zip
First... Awesome. How did I beat Lawlrus.
Mightycaptain said:
First... Awesome. How did I beat Lawlrus.
Click to expand...
Click to collapse
I blame work on that one.
Glad to see a build of liquid again op, thank you. I'll DL at work and see about flashing.
Sent from my Vs980 running Aicp 5.0 4.4.4_r2
Edit nevermind, brain fart.
Its 4.4.4, can't read, sorry
@ishyesh
Maybe I'm missing it, but is there a toggle for knock on? Doesn't seem to be working and I don't see the option.
Sent from my LG-VS980
Lawlrus said:
@ishyesh
Maybe I'm missing it, but is there a toggle for knock on? Doesn't seem to be working and I don't see the option.
Sent from my LG-VS980
Click to expand...
Click to collapse
The knock code value is probably set to "0" instead of "1" in the kernel. ishyesh will most likely have to change the value in the kernel before compiling.
You can use a script to activate it in the mean time (assuming there is no option anywhere in the settings to turn it on or off).
EDIT: Try this (see if it fixes it): http://www.mediafire.com/download/icnb1bu56nq4jb9/Turn_Knockon-On_G2.zip
@bouchigo
Thanks, but it didn't work. I for the life of me cannot find the option to enable knock on if there is one. I'll just wait for op to respond I guess.
Edit: so it did work. But you need to make sure use proximity sensor to have it turn on.
I did mess with this option before flashing your zip, and it didn't work. So your zip definitely fixed it.
Thanks again bro.
Sent from my LG-VS980
Lawlrus said:
@bouchigo
Thanks, but it didn't work. I for the life of me cannot find the option to enable knock on if there is one. I'll just wait for op to respond I guess.
Edit: so it did work. But you need to make sure use proximity sensor to have it turn on.
I did mess with this option before flashing your zip, and it didn't work. So your zip definitely fixed it.
Thanks again bro.
Sent from my LG-VS980
Click to expand...
Click to collapse
To enable knock-on,
use Tasker or some sort of automation software to execute this whenever the system boots:
"echo 1 > /sys/devices/virtual/input/lge_touch/touch_gesture"
Also, I uploaded a camcorder fix in the OP. Flash like any other.
To change DPI for the overall system, use an application like "texdroider dpi". I haven't tested the built in DPI changer.
ishyesh said:
To enable knock-on,
use Tasker or some sort of automation software to execute this whenever the system boots:
"echo 1 > /sys/devices/virtual/input/lge_touch/touch_gesture"
Also, I uploaded a camcorder fix in the OP. Flash like any other.
To change DPI for the overall system, use an application like "texdroider dpi". I haven't tested the built in DPI changer.
Click to expand...
Click to collapse
I just changed the build prop using root browser. Thanks.
Also flashing that zip persists through reboots. No need to set a tasker if you flash that.
Sent from my LG-VS980
Btw, I'm not sure how Linux literate you guys are, but if you're curious and want to learn, try and unzip the KnockOnZip that bouchigo posted. Inside, you'll find a file within the path system/etc/init.d . Upon flashing, the script within that path is copied to your phone's /system/etc/init.d. On your phone, you can place whatever you want inside this directory so that it gets called whenever Android starts (read up on the naming of the script, that's critical). So in the zip, the 98knock-on-On script executes the same command I said you could tell Tasker to do.
Go crazy with that if you wish. And remember, make sure you check every zip that you flash.
ishyesh said:
Btw, I'm not sure how Linux literate you guys are, but if you're curious and want to learn, try and unzip the KnockOnZip that bouchigo posted. Inside, you'll find a file within the path system/etc/init.d . Upon flashing, the script within that path is copied to your phone's /system/etc/init.d. On your phone, you can place whatever you want inside this directory so that it gets called whenever Android starts (read up on the naming of the script, that's critical). So in the zip, the 98knock-on-On script executes the same command I said you could tell Tasker to do.
Go crazy with that if you wish. And remember, make sure you check every zip that you flash.
Click to expand...
Click to collapse
You probably already know this, but if you go into devices folder, and into the vs980 folder (I can't remember the folder structure, I haven't looked at source in a while), anyway, look for init.g2.rc and change the following before compiling:
From: chown system system /sys/devices/virtual/input/lge_touch/touch_gesture
To: write /sys/devices/virtual/input/lge_touch/touch_gesture 1
That should fix it so no scripts or tasker actions are required.
bouchigo said:
The knock code value is probably set to "0" instead of "1" in the kernel. ishyesh will most likely have to change the value in the kernel before compiling.
You can use a script to activate it in the mean time (assuming there is no option anywhere in the settings to turn it on or off).
EDIT: Try this (see if it fixes it): http://www.mediafire.com/download/icnb1bu56nq4jb9/Turn_Knockon-On_G2.zip
Click to expand...
Click to collapse
This zip worked great for me: VS98025A. Thanks
bouchigo said:
You probably already know this, but if you go into devices folder, and into the vs980 folder (I can' remember the folder structure, I haven't looked at source in a while), anyway, look for init.g2.rc and change the following before compiling:
From: chown system system /sys/devices/virtual/input/lge_touch/touch_gesture
To: write /sys/devices/virtual/input/lge_touch/touch_gesture 1
That should fix it so no scripts or tasker actions are required.
Click to expand...
Click to collapse
I did not know that! I'll be sure to incorporate that in my next iteration. Thank you!
http://forum.xda-developers.com/showthread.php?p=54906959#post54906959
Lawlrus said:
@ishyesh
Maybe I'm missing it, but is there a toggle for knock on? Doesn't seem to be working and I don't see the option.
Sent from my LG-VS980
Click to expand...
Click to collapse
could this also work? Worked for me on other ROMs. Liquid was one of my favorite GNEX roms.
mrdunn said:
http://forum.xda-developers.com/showthread.php?p=54906959#post54906959
could this also work? Worked for me on other ROMs. Liquid was one of my favorite GNEX roms.
Click to expand...
Click to collapse
No. I've never updated to knock code. So it didn't have anything to do with my touch firmware. Knock on needs manually turned on.
Sent from my Vs980 running CloudyFlex 2.6
Great work
Sent from my VS980 4G using Tapatalk
The best ROM!!!
The smoothness and fluidity of the UI is amazing.
Use one plus bionic optimized binaries and flash seeder using interactive governor and deadline as scheduler. Then, you have the best user experience on an Android device.
@luv2increase
Check yo pms
Sent from my Vs980
Anybody having issues with youtube playback on this Rom? I went back to stock for now as this Rom wasn't playing a lot of the youtube videos I was trying to watch.
What's the exact youtube error message?

Bootanimation

Anyone tried to change boot animation with same method like in 4.4.4 ?
I couldn't do it.
KIngOrNot said:
Anyone tried to change boot animation with same method like in 4.4.4 ?
I couldn't do it.
Click to expand...
Click to collapse
bootanimation.zip should be placed in /cust/preinstalled/media or something like that ....
Yes, I found it but doesn't let me to change it. I tried to change permission neither...
KIngOrNot said:
Yes, I found it but doesn't let me to change it. I tried to change permission neither...
Click to expand...
Click to collapse
Make sure you removed SET_IMMUTABLE.LIST
Sent from my SM-T530 using XDA Free mobile app
Yes I did it, I have full root.
Use lsattr and chattr in order to remove immutable flag.
kriticar said:
Use lsattr and chattr in order to remove immutable flag.
Click to expand...
Click to collapse
I did it, I'm quite sure I have full root but still nothing. Veryyy strange.
KIngOrNot said:
I did it, I'm quite sure I have full root but still nothing. Veryyy strange.
Click to expand...
Click to collapse
Try reroot do all things over again maybe it will work... Or use an other manager when placing files like that... And make sure you set correct permissions
Sent from my HUAWEI P7-L10 using XDA Free mobile app
its the peanut said:
Try reroot do all things over again maybe it will work... Or use an other manager when placing files like that... And make sure you set correct permissions
That's the problem, doesn't let me to change permissions. If I have time I will do again, but everything else work good so maybe is better not to touch )
Click to expand...
Click to collapse
KIngOrNot said:
its the peanut said:
Try reroot do all things over again maybe it will work... Or use an other manager when placing files like that... And make sure you set correct permissions
That's the problem, doesn't let me to change permissions. If I have time I will do again, but everything else work good so maybe is better not to touch )
Click to expand...
Click to collapse
Hmm weird... In what way doesnt it let you change permissions? Like it fails or cant get root acces? And how about other files, if it doesnt allow you to change any permissions.
Sent from my HUAWEI P7-L10 using XDA Free mobile app
Click to expand...
Click to collapse

[guide] black navigation bar

Hey all. Other day i look around floating_feature.xml in system/etc and i found the line for config nav bar:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
I think if theres an option "SupportLightNavigationBar" lets see if "SupporrDarkNavigationBar" works. And it worked
Don't know if anyone have dicover that but i wann share it with you.
Final code:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView|SupportDarkNavigationBar</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
marquelito said:
Hey all. Other day i look around floating_feature.xml in system/etc and i found the line for config nav bar:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
I think if theres an option "SupportLightNavigationBar" lets see if "SupporrDarkNavigationBar" works. And it worked
Don't know if anyone have dicover that but i wann share it with you.
Final code:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView|SupportDarkNavigationBar</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
Click to expand...
Click to collapse
It works only for rooted S9?
Meknes23 said:
It works only for rooted S9?
Click to expand...
Click to collapse
I think you can push it via adb. If anyone could help with it
marquelito said:
I think you can push it via adb. If anyone could help with it
Click to expand...
Click to collapse
Fairly sure you need to be rooted to mod system files even with ADB, or at least have TWRP installed, in which case you might as well root too as you have already tripped KNOX
or you can just use this app:
https://play.google.com/store/apps/details?id=by4a.setedit22
set
need_dark_navigationbar to 1
need_dark_statusbar to 1
then go switch it to black..
you might need adb initially to get the app permission but its only needed to do once.. actually, you dont need permission for that as its in system settings.. if u want to change secure or global settings you need to set the adb perms
*Detection* said:
Fairly sure you need to be rooted to mod system files even with ADB, or at least have TWRP installed, in which case you might as well root too as you have already tripped KNOX
Click to expand...
Click to collapse
not true in this case.. those values are in settings.. you can do it in adb also if you use the settings binary similar to what i just posted.. the app is probably the easiest tho plus u can edit pretty much any setting with the app
elliwigy said:
or you can just use this app:
https://play.google.com/store/apps/details?id=by4a.setedit22
set
need_dark_navigationbar to 1
need_dark_statusbar to 1
then go switch it to black..
you might need adb initially to get the app permission but its only needed to do once.. actually, you dont need permission for that as its in system settings.. if u want to change secure or global settings you need to set the adb perms
Click to expand...
Click to collapse
Just changed those lines both to 1, but no black has appeared
Also I have a problem with low notification / ringtone sounds, I see there are level settings for that too
What is the adb command to get the full permissions for the app to edit everything? The values are reset back to 0 after a reboot
*Detection* said:
Just changed those lines both to 1, but no black has appeared
Also I have a problem with low notification / ringtone sounds, I see there are level settings for that too
What is the adb command to get the full permissions for the app to edit everything? The values are reset back to 0 after a reboot
Click to expand...
Click to collapse
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
knoxjon said:
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
Click to expand...
Click to collapse
Not with this method, I use this now instead, works flawlessly
https://play.google.com/store/apps/details?id=org.inteks.samtweak2&hl=en
Exclude the app from power saving though or you'll need to open it again to reapply some of the tweaks
knoxjon said:
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
Click to expand...
Click to collapse
not sure why u guys have a hard time lol.. i change the value to 1 then wait a few mins then when i go to navbar settings its black..
works every time for me

can't R/w even with rooted phone

rooted with magisk and i'm trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail. Anyone else?
Make sure AVB verity is unchecked in magisk then reinstall from the app
qman66 said:
rooted with magisk and i'm trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail. Anyone else?
Click to expand...
Click to collapse
If the pixel 4 is any like pixel 3 with its logical partitions you'll have to use magisk to add to system. Easy way download a magisk module. Then go to /data/adb/modules then the module you installed if u need to add to /system/app you might have to add the /app set permissions then add what is wanted set permissions then restart. easy way without having to make your on module you can always go to magisk thread an learn to make a module as well either way only way I've been able to do it on Android 10 which I reverted back to pie so much better in my opinion
virtyx said:
Make sure AVB verity is unchecked in magisk then reinstall from the app
Click to expand...
Click to collapse
It's always been unchecked
billyt1 said:
If the pixel 4 is any like pixel 3 with its logical partitions you'll have to use magisk to add to system. Easy way download a magisk module. Then go to /data/adb/modules then the module you installed if u need to add to /system/app you might have to add the /app set permissions then add what is wanted set permissions then restart. easy way without having to make your on module you can always go to magisk thread an learn to make a module as well either way only way I've been able to do it on Android 10 which I reverted back to pie so much better in my opinion
Click to expand...
Click to collapse
Ok I'm willing to do this. What module do I download exactly?
qman66 said:
It's always been unchecked
Click to expand...
Click to collapse
Strange
That's the only thing I know that could cause you're issue
Android 10 requires you to so any system changes through Magisk in a "systemless" manner. As mentioned above, it needs to be in a module. If you can't do it yourself, ask for help from one of the devs. If it is a common task that others could benefit from, create a thread with the request and I am sure someone will come through...
CyberpodS2 said:
Android 10 requires you to so any system changes through Magisk in a "systemless" manner. As mentioned above, it needs to be in a module. If you can't do it yourself, ask for help from one of the devs. If it is a common task that others could benefit from, create a thread with the request and I am sure someone will come through...
Click to expand...
Click to collapse
ok does anyone know?
bump
qman66 said:
ok does anyone know?
Click to expand...
Click to collapse
What exactly is the question?
trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail.
qman66 said:
trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail.
Click to expand...
Click to collapse
I think it needs to be done "systemless" with a magisk module. Maybe if you ask @Tulsadiver nicely, he might be able to give you a template or even make you up what is needed. If so and it's possible others might have used for it you could share it.
qman66 said:
trying to transfer a file into system/bin but when i click r/w in root explorer nothing happens and when i try to copy it from the sd card it says fail.
Click to expand...
Click to collapse
You are welcome to try this. Put your file in the vrtheme/system/bin folder. Leave the system folder alone. This is untested.
qman66 said:
Ok I'm willing to do this. What module do I download exactly?
Click to expand...
Click to collapse
BusyBox is the module I always use

Categories

Resources