Hi!
I am trying to get linux deploy work on my S7 Edge. It fails with "Making file system ... fail". Does anyone know how to fix this? Also is it just my problem or S7 Edge problem in general? Because I cant get complete linux installer to work either (It just opens me new terminal with nothing happening). That made me question if it's just some problem with linux deploy app or of it's problem of S7 Edge itself...
create a partition of ext2 format and try installing., If you still have issues, follow the guide in this link from start to end- https://github.com/meefik/linuxdeploy/issues/183 This solved most of the issues I had..
Here is solution in case anyone is stuck with that:
The problem is most likely because SELinux is in enforcement mode and setting it to permissive causes reboot. I was able to fix that problem by installing TGP Kernel:
https://forum.xda-developers.com/s7-edge/development/kernel-tgpkernel-t3501571
After this I didnt have to do anything special anymore. Linux deploy started to work out of box.
Related
Hi,
You may have seen a few posts about linux on the typhoon.
Has anyone been able to get it working for themselves?
I have managed to use the sdcard images onthe site to boot the kernel, but then when it says starting linux the phone crashes to a white screen. Removing the card and rebooting brings up my wm2003 setup again, tho I have made a sdcard backup of that too.
Hey all,
I've got a Galaxy Tab 4 (SM-T330NU) that I've been attempting to run a Kali distribution on using Complete Linux Installer. I've rooted the device but can't seem to get the SE for Android to change to "Permissive" mode and allow me to run the bootscript.sh without kicking back a message saying "Operation not Permitted" when creating the loop device (mknod /dev/block/loop255: Operation not Permitted). I'm running Andriod 4.4.2 with kernel version 3.4.0-1337409. Any help would be great. I've searched all over and can't find anything that gets me to any point of success with this.
Thanks
-Geoff
gch230 said:
Hey all,
I've got a Galaxy Tab 4 (SM-T330NU) that I've been attempting to run a Kali distribution on using Complete Linux Installer. I've rooted the device but can't seem to get the SE for Android to change to "Permissive" mode and allow me to run the bootscript.sh without kicking back a message saying "Operation not Permitted" when creating the loop device (mknod /dev/block/loop255: Operation not Permitted). I'm running Andriod 4.4.2 with kernel version 3.4.0-1337409. Any help would be great. I've searched all over and can't find anything that gets me to any point of success with this.
Thanks
-Geoff
Click to expand...
Click to collapse
add setenforce 0 in the init.rc in the ramdisk at the bottom of this group
Code:
on property:init.svc.bootanim=stopped
restorecon /data/media
restorecon /data/media/obb
start auditd
start freshsebool
Should set to permissive. Theres an app or 2 also. Ive never used them tho
Full tutorial
A full tuto on how to install Kali Linux Nethunter On SM-T330NU will be nice
Hi all , is over a week i'm trying to install Kali on Galaxi note 3.
I'm starting to think there is no way to do it.
I have Samsung Galaxi note 3 model SM-N9005 , bought in Uk.
Rooted .
i mount a rom called C-Rom KK
Selinux Status permissive
i tried linux installer , linux deploy , and another tool to instal linux
i have to install Kali...
Please is there anyone can help me ?
use the Kali 1.0.6 custom image for the Samsung note 10.1, that works for me. download from the official Kali site and extract the image, then copy onto your microsd card. the image when uncompressed is almost 7gb so in order to support that your microsd will need to be formatted in something that isn't FAT32 and supports the large file size, like exfat.
now go into Linux deploy and configure the settings so it says Kali Linux, ext4 file system, type is file (path to Kali img on your SD card), enable vnc and ssh if you want, set image file size to at least 8000mb, username android (though i use root just fine), and then update the configuration. then hit start to deploy the image, open a VNC or SSH client and log in! sorry if I left anything out, hope that works for you.
Sent from my One using XDA Free mobile app
bubilosbirro said:
Hi all , is over a week i'm trying to install Kali on Galaxi note 3.
I'm starting to think there is no way to do it.
I have Samsung Galaxi note 3 model SM-N9005 , bought in Uk.
Rooted .
i mount a rom called C-Rom KK
Selinux Status permissive
i tried linux installer , linux deploy , and another tool to instal linux
i have to install Kali...
Please is there anyone can help me ?
Click to expand...
Click to collapse
Im a bit behind you , i cant get my selinux to permissive. Im rooted on 4.4.2 and got knox 0x0 .
Can you enlighten me on how you set you selinux ?
Solved
eudemonics said:
use the Kali 1.0.6 custom image for the Samsung note 10.1, that works for me. download from the official Kali site and extract the image, then copy onto your microsd card. the image when uncompressed is almost 7gb so in order to support that your microsd will need to be formatted in something that isn't FAT32 and supports the large file size, like exfat.
now go into Linux deploy and configure the settings so it says Kali Linux, ext4 file system, type is file (path to Kali img on your SD card), enable vnc and ssh if you want, set image file size to at least 8000mb, username android (though i use root just fine), and then update the configuration. then hit start to deploy the image, open a VNC or SSH client and log in! sorry if I left anything out, hope that works for you.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
Hi ,I am happy to announce the solution of the problem of installation of Kali on Galaxiy notes 3.
The factory rom does not allow linux deploy to work properly at least on my galaxy note 3.
The problem I think is the kernel.
Important: this information is for Samsung Galaxy Note 3 model SM-N9005
I installed another rom, the BobCatRom and I updated the kernel.
This is the link .....galaxynote3root.com/sm-n9005-galaxy-note-3-roms/bobcat-rom-compulsion-kernel-for-galaxy-note-3/
At the end oe installation , SElinux is permissive, and Linux Deploy works well.
The tread is solved.
siriom said:
Im a bit behind you , i cant get my selinux to permissive. Im rooted on 4.4.2 and got knox 0x0 .
Can you enlighten me on how you set you selinux ?
Click to expand...
Click to collapse
Hi , if you keep installed the fabric rom i think you cannot change kernel version as well.
I don't know if knox is blocking the SELinux status, but problably is stopping from changing kernel and rom version.
I rooted my galaxy note 3 and now my knox is 0x1 (damn!)
you can try , after have a full back up , to install a new rom and change kernel.
Look at my previous post: BobCatRom and kernel for SM-9005
bubilosbirro said:
Hi ,I am happy to announce the solution of the problem of installation of Kali on Galaxiy notes 3.
The factory rom does not allow linux deploy to work properly at least on my galaxy note 3.
The problem I think is the kernel.
Important: this information is for Samsung Galaxy Note 3 model SM-N9005
I installed another rom, the BobCatRom and I updated the kernel.
This is the link .....galaxynote3root.com/sm-n9005-galaxy-note-3-roms/bobcat-kitkat-rom-for-galaxy-note-3-sm-n9005sm-n900tsm-n900w8/
At the end oe installation , SElinux is permissive, and Linux Deploy works well.
The tread is solved.
Click to expand...
Click to collapse
how is it solved if you cant flash that without tripping knox ?
I'm not sure if anyone will find this of use, but I did so I figured I'd post it for everyone to use:
I recently ran into issues running a few binaries on my V10. After doing a bit of research I found that non-PIE (position independent executables) will not run on newer devices (5.0+). Given I needed to run non-PIE binary, I looked further into a fix. This lead me to a thread posted here on XDA about bypassing the PIE check on Android L for the Nexus 5. Unfortunately the linker included in this fix is not usable by our device. Thankfully the linked thread goes into some detail about how to patch /system/bin/linker to allow non-PIE binaries. After reading into the provided information, I was able to patch our own linker and get my non-PIE binary to run just fine.
I've thrown together a flashable ZIP that simply replaces /system/bin/linker with a patched version that will allow non-PIE binaries. :good:
As a note:
Code:
[I]
[B][COLOR="Red"]
I HAVE ONLY TESTED THIS ON MY OWN LG V10 H901 ON MARSHMALLOW (6.0).
I CANNOT VOUCH FOR ANY OTHER MODEL, VERISION, OR DEVICE. AS ALWAYS
BE SURE TO PERFORM A BACKUP BEFORE FLASHING![/COLOR][/B]
I am, by no means, a developer. I simply dabble in Android for fun. I am not
responsible for any issue(s) caused by using this patch and you are doing
so at your own risk.
[/I]
So what this does is allow older non 6.0+ compatible apps to work?
Swizzle82 said:
So what this does is allow older non 6.0+ compatible apps to work?
Click to expand...
Click to collapse
It's helpful for any app with binaries that don't support position independent execution. In my case it allowed me to use my debugging server (which wouldn't run otherwise).
this works on the latest cm build for the htc one m8
but im a little confused as to which byte was modified can you please explain how you found which byte to replace i am using hex editor on my phone and cannot find the hex allocation mentioned in the forum
well i thought it worked until i went to restart my phone and it woudnt boot... thankfully tho i didnt delete the old linker file i just renamed it to linker.old so i was able to boot into my recovery and use its file manager to fix the issue
for now i guess i will create a script to automatically switch the file when i shutdown my phone and switch it back when it starts
Hi Guys!
I would be happy if someone could post a tutorial on how to Bypass PIE on Android 6.0.1
I have some experience in disassembling ELF files, but do not know where to look for disabling PIE in linker file. I would like to learn how to do it on my own, so i am not asking someone to patch my linker file.
Using G928F with Android 6.0.1
Thank you in advance!
Please help me to patch my linker
Works on Samsung J710MM (Marshmallow 6.0.1) perfectly. Thanx a lot!!!
Could anyone help me bypass PIE On marshmallow Touchwiz 6.0.1 would greatly appreciate your help?
Deleted
Hi
I want to use linux deploy app on my s7 edge. When I click on on install in my linux deploy app after configuring a container, phone powers off about 10 seconds after that and then I have to manually reboot it. Any fix for that? And before it powers off it totally freeses. Not just the app but whole phone. It does not even react to physical buttons anymore.
Anyone?
unfortunately, I have same problem. I doubt meefik reads this thread though
Same issue here, post on his github page. Which Linux packages are you trying to run?
I suggest if debian has the repo for it to run gnuroot debian. It works the same but no root required. Since you are rooted you change selinux to permissive which allows more functions
EternalSeekerX said:
Same issue here, post on his github page. Which Linux packages are you trying to run?
I suggest if debian has the repo for it to run gnuroot debian. It works the same but no root required. Since you are rooted you change selinux to permissive which allows more functions
Click to expand...
Click to collapse
The solution was to install TGP kernel where SELinux enforceing was disabled.
https://forum.xda-developers.com/s7-edge/development/kernel-tgpkernel-t3501571
--
I know it's already old and dead topic but I am posting this so that of anyone googles that issue, he might find this answer.