[Q] About Debian on Android by chroot on KitKat AOSP - Nexus 4 Q&A, Help & Troubleshooting

Hello everyone at XDA,
I have searched through the whole internet for some time and I couldn’t find something that worked, So this is why I’m opening this thread.
I have today a Nexus 4 with stock 4.2.2 Kitkat, and I am searching for an app or something that could install a chroot with Debian in it.
I have too a Motorola Droid 3 with stock Android 2.3 Gingerbread that used an app called Linux Installer to build and install a chroot environment and everything worked as it should.
But I’ve tried to install it on the Nexus 4 and I couldn’t, it gave me some strange errors, I believe that the app may be incompatible with newer firmwares.
Since then I’ve tried a lot of alternatives, and every one of them have failed at some point, I’ve tried:
Linux Deploy
Debian Kit
Lil’ Debi
Linux Installer
I’m not a newbie, so I can at least assume that the apps haven’t failed because I didn’t know how to configure them, I’m just trying to figure out why them don’t work.
I don’t know if it helps, but the only modification that I have done to the device is that I’ve installed CWM and rooted it by flashing SuperSU. I tried installing busybox too but it didn’t work (maybe something missing to do?)
So, have you guys been using a chroot on newer firmwares like 4.2.2? what app or method do you guys use?

You could try to set selinux to permissive mode.
run following as root:
Code:
setenforce 0

Related

[Q] root for Droid X

I'm a beginner and need to know how to root my Droid X.
I don't need fancy new operating systems and features, just need to root it so I can improve the battery life by removing bloatware and remove the aps that download ads.
I have an ubuntu system, no windows available.
I did read a couple of posts, but they involved doing a lot of things I have no use for and they are complicated for a beginner. Frammaroot method does not work.
I just reset the phone to defaults.
Any suggestions?
A.
Use the framaroot version in cm11 thread.
[INDEX] Motorola Droid X Development (Updated 2015)
http://forum.xda-developers.com/droid-x/general/index-motorola-droid-x-development-t2819746
-
Frequently Asked Questions -Motorola Droid X 2015
http://forum.xda-developers.com/showthread.php?t=2718031
Sent from my XT1028 using Tapatalk
I have read the whole page, and have tried framaroot before I came to this forum and quite a few times since the reply told me to try it again.
When I do framaroot, it directs me to choose the exploit, but despite a message saying the phone has been rooted, in fact, it is not. Supersu cannot be installed because the phone isn't rooted and rootchecker also says the phone isn't rooted.
Is there another way to root the phone??
And, I'm curious.....why can't we use a windows or Mac to create partitions on the droidx and have a dual boot system just by copying the operating system to the partition directly? We do this stuff routinely in Linux (my current linux machine has 5 different partitions and 5 different operating systems). I thought android was open source and uses a linux based kernal.
But, I really need to root the droidx, is it possible or not?
TY
A
alohagirl said:
I have read the whole page, and have tried framaroot before I came to this forum and quite a few times since the reply told me to try it again.
When I do framaroot, it directs me to choose the exploit, but despite a message saying the phone has been rooted, in fact, it is not. Supersu cannot be installed because the phone isn't rooted and rootchecker also says the phone isn't rooted.
Is there another way to root the phone??
Click to expand...
Click to collapse
only other option is magic md5 root
http://forum.xda-developers.com/showthread.php?t=2198651
DX ezSBF & Root 2.3.4/4.5.621
And, I'm curious.....why can't we use a windows or Mac to create partitions on the droidx and have a dual boot system just by copying the operating system to the partition directly? We do this stuff routinely in Linux (my current linux machine has 5 different partitions and 5 different operating systems). I thought android was open source and uses a linux based kernal.
Click to expand...
Click to collapse
Droid X has a locked bootloader that prevents many things.
Sent from my XT1028 using Tapatalk

[Q] Knox hindering setting Security Enhanced to permissive!

Hello,
First I'm sorry to post in the S4 Section but the Forums for the S4 VE somehow don't accept any new posts.
I've rooted my GT-I9515 running Lollipop 5.0.1 a few days ago and am pretty happy with the features.
Seeing that my WhatsApp Media Folder takes to much space on sd0 I used Folder Mount to put it on ext.
It seemed fine till WhatsApp wasn't able to download Pictures anymore only showing the Thumbnail and stating the file is not on the SD.
This is a Bug with Folder Mount on Lollipop 5.0.1 and is fixable with setting the Security Enhanced Linux to "permissive".
I first tried that with the App for it, the author wrote that it doesn't work well with Knox.
I researched and frooze the Knox Application with Titanium (no effect), after that I removed them and rebooted my system (No effect but theyre not there anymore), as a last resort I downloaded Android Terminal Emulator and tried it with "su pm disable com.sec.knox.seandroid".
After the reboot I tried it with the App but it didn't work, I tried it via "su setenforce 0" but it also had no effect.
Right now it shows under About Device like the uploaded image.
i.imgur. com/RWNqtYw.png (Sorry for the format am new user!)
I don't know what to do, how can I remove Knox to set SE to permissive?
It still gets displayed under About Device.
Thanks for help!
Install a custom kernel, as the custom kernels are all set to permissive.
Strephon Alkhalikoi said:
Install a custom kernel, as the custom kernels are all set to permissive.
Click to expand...
Click to collapse
I heard that I can only use the i9515 Kernel otherwise Touch, WiFi, Bluetooth and etc. won't work.
I only found a Kernel for the i9515 here (http://forum.xda-developers.com/galaxy-s4/i9505-develop/kernel-s4-value-edition-i9515-t3031044) but it says it's a stock Kernel so I guess it wouldn't help me with my problem right?
Right. You'll need to find someone who can either modify the stock kernel so SELinux is permissive, or create a kernel from source.

[Q][JFLTEXX] Problem with Linux Deploy.

Hello, I recently wanted to try launching Ubuntu Desktop using Linux Deploy. To avoid problems with BusyBox, I used meefik's BusyBox (people say that you have to use this version of BusyBox). I have root access and successfully installed meefik's BusyBox, however, when I try to install or anything with it related, I'm getting logs similar to this:
[time] Install >>>>
[time] <<<< Install
However, when i try to use Stericson's BusyBox, it can't find executor: ar.
May you know what's the problem?

Linux on S7 edge

I tried to install linux on my phone, rooted and busybox installed, but i always get in trouble with VNC, as shown in the Images below. Do you know how to fix?
I'm no guru or even a developer, but I can see it looks like it is unable to even mount the device partitions, so until you manage to fix that, there is no way you will be able to get it running.
Oxydrix said:
I tried to install linux on my phone, rooted and busybox installed, but i always get in trouble with VNC, as shown in the Images below. Do you know how to fix?
Click to expand...
Click to collapse
I thought SELinux needs to run in permissive mode for this?
I get it running through SSH, but it's only terminal , and i don't have su acces
Oxydrix said:
I tried to install linux on my phone, rooted and busybox installed, but i always get in trouble with VNC, as shown in the Images below. Do you know how to fix?
Click to expand...
Click to collapse
did you manage to get it working eventually?

SM-G935W8 Exynos 8890 S7 Edge advice?

Dear XDA,
I'm just looking for some advice. I've been a power user for awhile. I have rooted all my nexus devices I owned but never a Samsung device due to knox breaking and thus making root irreversible. I've been getting into alot of cross architecture computing with arm and x86 (with a keen interest in simulation and research ). I found an app called gnuroot debian which allowed me to run Linux on a non-rooted device. Back with MM everything ran fine. Now with nougat and its pure SELinux enforcing some of the apps won't run because SELinux blocks shared executable stacks. Certain gui apps won't work while I can get some command line to work. Nougat brings me all my note features so I wanna keep that.
On the other hand on my rooted nexus 7 using linux deploy I'm able to run most packages and distros, all I need is to find away to get hardware acceleration. I can also change selinux via root but that defeats the purpose of using no-root app.
So idk what to do? I'm worried that root will kill some apps for me, which apps would I not be able to use with root?

Categories

Resources