[Q] SE Linux disable? - T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting

Has anyone been able to disable/switch SE Linux from Enforcing to Permissive? I tried Wanam and got nothing.

Try this https://play.google.com/store/apps/details?id=com.mrbimc.selinux
Sent from my bad ass Kryon infused TWEAKED..Note 3

Related

Linux instead Android

Hi, I would like to run linux instead android, -WOLF- from 4pda.ru have done this with his samsung galaxy spica and I would like to do the same for our OB.Here is origina thread on 4pda.ru but it is all in russan.I tried to make a kernel with frambuffer console and sdcard as root directory but it failed.So anyone who can cook kernels please help.Then, when kernel is done we will try to run linux(ubuntu, andstrom, etc.).
Thank u!
Here is angstroms LFS for abstract smarphone and people wich port it to their devices
suleymanovemil8 said:
Hi, I would like to run linux instead android, -WOLF- from 4pda.ru have done this with his samsung galaxy spica and I would like to do the same for our OB.Here is origina thread on 4pda.ru but it is all in russan.I tried to make a kernel with frambuffer console and sdcard as root directory but it failed.So anyone who can cook kernels please help.Then, when kernel is done we will try to run linux(ubuntu, andstrom, etc.).
Thank u!
Click to expand...
Click to collapse
I had installed successfully UBUNTU with VNC but result was not one can use daily so removed in one hour, though good for experiment.
And our OB processor is not enough powerful you can throw Linux. Minimum requirement for UBUNTU is dual core processor.
Search UBUNTU on mobile, or UBUNTU;s official site.
cant we run win 95 ?
pkb_always4u said:
I had installed successfully UBUNTU with VNC but result was not one can use daily so removed in one hour, though good for experiment.
And our OB processor is not enough powerful you can throw Linux. Minimum requirement for UBUNTU is dual core processor.
Search UBUNTU on mobile, or UBUNTU;s official site.
Click to expand...
Click to collapse
I don't mean linux on androi, I mean installing linux instead of android and I'd like to use Angstrom and if galaxy spica and gio can run it our OB will do it !And it doesn't requires prosessors clock and a lot of ram because there is no android, it runs along as native os.And i know about ubuntu for mobile, it runs on android and it is like a linux on android.
BeBeLKhaN said:
cant we run win 95 ?
Click to expand...
Click to collapse
No.We can run linux because we can take android's linux kernel.Android is very low weight linux.
First we need just enable framebuffer console in kernel, this will help us with starting linux ::
suleymanovemil8 said:
Hi, I would like to run linux instead android, -WOLF- from 4pda.ru have done this with his samsung galaxy spica and I would like to do the same for our OB.Here is origina thread on 4pda.ru but it is all in russan.I tried to make a kernel with frambuffer console and sdcard as root directory but it failed.So anyone who can cook kernels please help.Then, when kernel is done we will try to run linux(ubuntu, andstrom, etc.).
Thank u!
Click to expand...
Click to collapse
Android is based on Linux, so what do you expect by running Linux on OB?
I don't have time to do that, so I'll just wait and see your progress then...
What will you choose? Computer with linux dis. or with android?I think with linux.
BeBeLKhaN said:
cant we run win 95 ?
Click to expand...
Click to collapse
)) you made my day )) EPIC answer )
WTF
suleymanovemil8 said:
What will you choose? Computer with linux dis. or with android?I think with linux.
Click to expand...
Click to collapse
I do using my computer with Ubuntu Linux OS, not Android.
Your quest above are,
suleymanovemil8 said:
... I would like to do the same for our OB.
Click to expand...
Click to collapse
So, you are talking about OS on computer, or mobile device?!
redy2006, please help with kernel, i'm gonna get craizy with this kernel...
In the past I had a chinese android device which had 3 options of booting: Android, Linux(I think ubuntu) and Windows CE.
It's really very nice to run linux because it looks like a real pc
ohadz said:
In the past I had a chinese android device which had 3 options of booting: Android, Linux(I think ubuntu) and Windows CE.
It's really very nice to run linux because it looks like a real pc
Click to expand...
Click to collapse
Whe off ics will release i will take it's new kernel 3.xx, but i neeeed help with kernel.
redy2006 said:
I do using my computer with Ubuntu Linux OS, not Android.
Your quest above are,
So, you are talking about OS on computer, or mobile device?!
Click to expand...
Click to collapse
mobile device, well i think this will make our device more poerfulll, we could use the programs wich are not ported on any android device, and do many more!
This belongs in general.
BeBeLKhaN said:
cant we run win 95 ?
Click to expand...
Click to collapse
Yes, we can.
https://www.youtube.com/watch?v=JWkqMmtSJRE&feature=youtube_gdata_player
Sent from my P-970 using xda app-developers app
wessyh0 said:
Yes, we can.
https://www.youtube.com/watch?v=JWkqMmtSJRE&feature=youtube_gdata_player
Sent from my P-970 using xda app-developers app
Click to expand...
Click to collapse
I was launched with apk i foger it two weeks ago windows 95.It booted 30 sec.mouse control was very hard and i couldnt access sd files.Than I delete win95 image and application.
Win 95 can run alongside android but if u want to make it your native os u must work alot to port it.And in this thread i don't mean runing any os with android i mean runnning linux dis. instead of android.
Any question about "4pda.ru" here: http://onlinecontent.ru/viewtopic.php?f=2&t=2&sid=09bc3461206b22af1e5f924e0fc2900c

[MultiROM] Debian for the Moto G

After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Dowloads​debian.mrom
setup_net.sh
The kernel is Optimus kernel by Flashhhh with a custom config
.
XDA:DevDB Information
Debian for the Moto G, ROM for the Moto G
Contributors
dvdkon
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: Debian
Version Information
Status: Testing
Created 2015-08-21
Last Updated 2015-08-29
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
navaneethkom said:
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
Click to expand...
Click to collapse
If I understand is a complete pc system , not a touch optimize system.Very useful for numerical computation, testing or something of similar.
The Ubuntu touch forum is this http://forum.xda-developers.com/moto-g/development/ubuntu-touch-utopic-ubuntu-touch-falcon-t2820359
I don't now if it is working on MultiRom.
(Sorry for my bad english)
good job D:
i've tried debian into android with the normal installer but this is awesome!
Thanks you!!
Enviado desde mi XT1032 mediante Tapatalk
What is this for? It is a PC for mobile Debian ?
Fedello7 said:
What is this for? It is a PC for mobile Debian ?
Click to expand...
Click to collapse
It is for Multirom, which is a program for dual booting an OS on an Android phone. Try searching.
Is it using a LXC Container ?
Where could I find kernel sources ?
h2o64 said:
Is it using a LXC Container ?
Click to expand...
Click to collapse
No, I'm just starting Debian instead of Android with my custom init script.
h2o64 said:
Where could I find kernel sources ?
Click to expand...
Click to collapse
I'm using the Optimus kernel with a few options changed (the config).
dvdkon said:
No, I'm just starting Debian instead of Android with my custom init script.
I'm using the Optimus kernel with a few options changed (the config).
Click to expand...
Click to collapse
Kernel changes are just about internet stuff isn't it ?
h2o64 said:
Kernel changes are just about internet stuff isn't it ?
Click to expand...
Click to collapse
I've only enabled sockets for all users and devtmpfs (for initramfs).
dvdkon said:
I've only enabled sockets for all users and devtmpfs (for initramfs).
Click to expand...
Click to collapse
Alright, thank you.
PS : Btw, do not forget to mention @Flashhhh for the kernel in the OP
The display work? The touch? A is for computer in a smartphone? Wow
Can anyone catch up to see how it looks ?
SLATE21&MOTOG said:
The display work? The touch? A is for computer in a smartphone? Wow
Click to expand...
Click to collapse
Nothing but USB works as of now, but I'm currently working on the display.
dvdkon said:
After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Click to expand...
Click to collapse
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
sub77 said:
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
Click to expand...
Click to collapse
Sorry for the late reply.
I have made sure that the firmware gets loaded properly, though that was a problem at first. I'm not so sure about the MAC address, though. If you get any further information, please post it in this thread. Development is currently its only purpose.
Something new??
Enviado desde mi Moto G mediante Tapatalk
luteriace said:
Something new??
Enviado desde mi Moto G mediante Tapatalk
Click to expand...
Click to collapse
i have wifi running. next step is framebuffer.
Is there a way of help you with this?
I'd love to see this running on falcon.

PLS HELP!!!Porting nethunter (mini kali linux) to xiaomi3

Someone Pls help me to port it pleasssssssss....i really wanna try that on mi3
https://www.offensive-security.com/kali-linux-nethunter-download/
here is nethunter offical web...i am no knowledge on android develop...so many i cant understand wat is saying...pls help guys...https://www.offensive-security.com/wp-content/uploads/2014/09/kali-nethunter-n5-1.png
You trying to be a hacker or is there something I'm missing? If the answer is yes I would suggest you first learn Linux commands and compiling because your not going to get far without them.
Sent from my MI 3W using Tapatalk

How to set Permissive Mode on S6 Edge?

Hello I am trying to change my SE mode from Enforcing to Permissive. I need my phone to be in Permissive mode to have full compatibility with my Appradio. I have no clue how to do this. I am currently on Extreme Syndicate ROM and would appreciate if someone pointed me in the right direction. Thanks!

Linux On Note 5

I am looking to get Linux on my Note 5.
Loop device support is required.
How do I enable it or is there a kernel out there that has support for it along with root access.
Running Marshmallow.
SM-N920W8 on SM-N920C kernel right now.
Any help is appreciated!
Sent from my SM-N920C using XDA-Developers mobile app
Not needed anymore. Check termux in gplay for 100% linux terminal. Ssh, ftpd, telner etc. of course if you dont want gui
There's ubuntu phone distro's but you'll need to compile a kernelor find someone who can...currently there are a handful of supported devices, Meizu being the largest (by popularity), but i would imagine it could be compiled with a suitable device tree...
Sent from my SM-N920T using Tapatalk

Categories

Resources