Who here Sup Forumsndroid?

who here Sup Forumsndroid?

whos /rooted/

Other urls found in this thread:

github.com/meefik/linuxdeploy
twitter.com/SFWRedditImages

>Kali
Good bait. You'll get a few.

thats for the new fags user, not everyone knows what that is

Reporting in
Lenovo K3 Note, 2 GB RAM, MT6752, 1089p 5.5' screen
Rooted, has a custom built debian chroot

Same thing happened to me when I used screenfetch on my Kali install, what gives?

my main man
remember its just a basic install of an older versionof kali. doesnt have it. google it and do sudo-apt-get

If the shell was expecting an integer expression, why wasn't it given one?

you could debug it by yourselves, fags

i didnt want to give it an integer expression. It would learn to much about me.

Don't really need to.

screenfetch assumed the output of a command would be an integer because it was an integer on the 3 systems they tested it on.

What do you do for key input?

u can unpin the vnc viewer and when u need it tap and hold and move down and then it will come back up ...

I really, really recommend using Linux Deploy (it's in the play store and in github: github.com/meefik/linuxdeploy )

how did you install it?

patches are welcome

i used linux deploy, only dedicated 1800mbs to kali distro because i couldnt get it to store on my sd card. sadly tho i cant get my network card into monitor mode even with the patches/

I don't use the xserver often, I mount the img file, then chroot into debian partition if I ever need to use anything.
Mostly I use ffmpeg to perform light format conversions, or need to rip audio from video

Tl;dr I usually use it in a terminal emulator, looks like this.

>Kali GNU
Lolz XDDDDDD R U APART OF LULZSEC OR LIZARD SQUAD ANONYMUS IS LEGION. Also to answer your question of fucking course I have root, why wouldnt I? Im running Replicant a custom rom and I have control over my device, it would be literally retarded not to have root on a device you paid full price for.

detect the fag

bump for non gpu thread
xx

do you guys know how to a shell in the chroot from adb?
I typically have to ssh into it (i.e., install, say, ssh droid, find the path to ss, run adb then run ssh), but I need to find an alternative, because apparently ssh drops permissions for some things.

btw, does anyone here know how to compile some part of android. I want to replace wpa_supplicant. can anyone give me some pointers?

If you run a linux based distro, just download adb from the repositories
I use debian, so for me its

sudo apt-get install android-tools-adb


Then run this
adb devices

This will give you a list of all connected devices, just make sure debugging is enabled on your phone.

If it doesn't detect any devices, kill adb, then run the above again with root

adb kill-server //to kill adb
sudo adb devices //run adb as root


Finally if you see a device in the list (like my image), type the following to drop into your phone's shell

adb shell

op here, would you know how i can install an os on my sd card?

sorry, I guess I wasn's explicit enough. I'm already running adb (and Linux, Kubuntu), and as I said, I'm running ssh from adb... but I want to get a shell from inside the chroot, without having to use ssh.

see >Linux Deploy

i c no guide on how to install to sd card user

Thats simple then
You can chroot into your partition from adb

>drop into adb shell
>get superuser permission
>mount wherever your linux is installed, in a file, or sdcard partition in a directory
>"mount -o bind" all the important directories like /dev, /proc/, /etc from the phone's filesystem to the mounted new filesystem's directories of the same name. For example
mkdir /mnt/debian
mount jessie.img /mnt/debian
mkdir /mnt/debian/sdcard
mount -o bind /dev /mnt/debian/dev
mount -o bind /etc /mnt/debian/etc
mount -o bind /etc /mnt/debian/proc
mount -o bind /storage/sdcard0 /mnt/debian/sdcard

This step is only important if you want to access the sdcard, and the hardware (usb, and others) from the chroot
>chroot into that debian partition using by using
chroot /mnt/debian /bin/bash -l


It might look like a lot to do every time you want to use the linux partition, so i recommend you make a script to do all the work for you
My script

#!/bin/sh
mount -o remount,rw /
mkdir /debian
busybox mount /sdcard/wily.img /debian
mount -o bind /dev /debian/dev
mount -o bind /proc /debian/proc
mount -o bind /sdcard /debian/sdcard
mount -o bind /storage/sdcard1 /debian/sdcard1
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export LD_PRELOAD=""
export TERM="xterm"
export DISPLAY=:0
export HOME=/home
chroot /debian /bin/bash -l

ah, sorry.
you have change the "installation path" in the properties menu

ahh, you have to mount everything by hand, I was hoping you could do it from linuxdeploy itself :(

still, thanks a lot for the script!

fails at making new disk. is it because i have to partition the sd card itself to 4gb? or is it the img file cant be bigger then 4gbs

FAT filesystems don't support files bigger than 4GB. you have to either partition it and make a new partition for the new system, or reformat it as ext2/3/4

not him but when that happened to me it was due to knox, solved it by using /sdcard/.img in the path instead of /storage/emulated/0/.img

How?

I'm a Kali fag, of course I couldn't

for me, the path is /mnt/extSdCard/
also, make sure your phone is rooted... otherwise, this won't work.

Pretty straightforward once you understand whats happening

>make 2 GB ext4 img file on PC
>mount it, and install an armhf debian system on it
>umount it, put on phone, mount again on phone, then install
>after installing download an application called xserver xsdl, an xserver for android
>set DISPLAY variable to :0
>install a desktop environment and run it

I'm on a Galaxy Note 5 with an engineering kernel. Don't know if that counts. My root access is pretty half assed.

Reporting

using linux deploy, funny how jessie runs better on my tablet than my x200.

Android phones have been the worst fucking phones I have ever used in my goddamn life. Why would I willingly root a phone to use it? So I can have it crash 20 times a day instead of only 18? So the touchscreen keyboard can hang for minutes instead of seconds at a time? So all the google-related apps for it can collect more data on me and not have the courtesy to even work?

Where are you supposed to put your custom scripts in linux deploy? Inside the image file or what?

properties -> custom scripts

apple fag detected. sorry my phone offers choice while yours offers "sorry access denied" or "restricted"

"to woried about meh protection so we cant add sd cards"

I know, but do I have to put the .sh inside the chroot?

Apple is even worse.

If I could with my provider, I'd get an old flip phone for calls and text and just carry an ultralight laptop for web browsing in public. It's not like I've used pretty much any other app on one of these fucking things, at least not other than Adobe Reader.

>Why would I willingly root a phone to use it?
you don't need to.

>So I can have it crash 20 times a day instead of only 18? So the touchscreen keyboard can hang for minutes instead of seconds at a time?
sounds like your phone didn't have enough memory or something. I've almost never had apps crash in android, usually that happened with shitty stock ROMs

so, what do you suggest? AFAIK, there is no decent mobile linux OS. at least android is "hackable" to some degree

a fucking rotary phone is more responsive, has better UI/UX, and is easier to """""""""""""hack"""""""""""""" than any modern smartphone

> Root or Android Pay
> Choose root
You must be owning a shitty phone

what's the problem?

Theres a certain point when you grow up out of this shit and you just want a phone that works.

All i have is a custom android 5.1 rom on my SGS3 and i stopped messing with it there.

I got an HTC 10 last week just waiting for CM to flash all though sense is fine.

Whaddup

/op/ is a /faggot/

I have a rooted Samsung Galaxy S3 with CyanogenMod 11

>inb4 404
bump