[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
who here /a/ndroid? whos /rooted/
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 52
Thread images: 8
File: Screenshot_2016-06-29-21-50-01.png (146 KB, 800x480) Image search: [Google]
Screenshot_2016-06-29-21-50-01.png
146 KB, 800x480
who here /a/ndroid?

whos /rooted/
>>
>Kali
Good bait. You'll get a few.
>>
>>55330196
thats for the new fags anon, not everyone knows what that is
>>
File: IMG_20160305_191217~01.jpg (2 MB, 4594x2384) Image search: [Google]
IMG_20160305_191217~01.jpg
2 MB, 4594x2384
>>55330168
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?
>>
>>55330326
my main man
>>55330335
remember its just a basic install of an older versionof kali. doesnt have it. google it and do sudo-apt-get
>>
File: 1459081457896.gif (80 KB, 424x240) Image search: [Google]
1459081457896.gif
80 KB, 424x240
>>55330168
If the shell was expecting an integer expression, why wasn't it given one?
>>
>>55330672
>>55330335
you could debug it by yourselves, fags
>>
>>55330672


i didnt want to give it an integer expression. It would learn to much about me.
>>
>>55330711
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.
>>
>>55330326
What do you do for key input?
>>
>>55330865
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: https://github.com/meefik/linuxdeploy )

>>55330168
how did you install it?

>>55330797
patches are welcome
>>
>>55330932
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/
>>
>>55330865
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.
>>
>>55330168
>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.
>>
>>55331044
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?
>>
File: Screenshot_2016-06-30_08-49-25.png (175 KB, 1366x768) Image search: [Google]
Screenshot_2016-06-30_08-49-25.png
175 KB, 1366x768
>>55331108
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
>>
>>55331266
op here, would you know how i can install an os on my sd card?
>>
>>55331266
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.
>>
>>55331362
see >>55330932
>Linux Deploy
>>
>>55331426
i c no guide on how to install to sd card anon
>>
>>55331364
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
>>
>>55331507
ah, sorry.
you have change the "installation path" in the properties menu

>>55331535
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!
>>
>>55331587
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
>>
>>55331652
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
>>
>>55331652
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
>>
>>55330326
How?
>>
>>55330711
I'm a Kali fag, of course I couldn't
>>
>>55331755
for me, the path is /mnt/extSdCard/
also, make sure your phone is rooted... otherwise, this won't work.
>>
>>55331768
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
>>
>>55330168
I'm on a Galaxy Note 5 with an engineering kernel. Don't know if that counts. My root access is pretty half assed.
>>
File: Screenshot_2016-06-29-22-04-08.jpg (652 KB, 2048x1536) Image search: [Google]
Screenshot_2016-06-29-22-04-08.jpg
652 KB, 2048x1536
>>55330168

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?
>>
>>55330168
Where are you supposed to put your custom scripts in linux deploy? Inside the image file or what?
>>
>>55332063
properties -> custom scripts
>>
>>55332037
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"
>>
>>55332072
I know, but do I have to put the .sh inside the chroot?
>>
>>55332094
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.
>>
>>55332037
>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
>>
>>55332140
so, what do you suggest? AFAIK, there is no decent mobile linux OS. at least android is "hackable" to some degree
>>
>>55332195
a fucking rotary phone is more responsive, has better UI/UX, and is easier to """""""""""""hack"""""""""""""" than any modern smartphone
>>
>>55330168
> Root or Android Pay
> Choose root
You must be owning a shitty phone
>>
>>55332384
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.
>>
File: Screenshot_20160630-170012.png (148 KB, 1920x1080) Image search: [Google]
Screenshot_20160630-170012.png
148 KB, 1920x1080
Whaddup
>>
>>55330168
/op/ is a /faggot/
>>
File: body massage!.png (315 KB, 633x469) Image search: [Google]
body massage!.png
315 KB, 633x469
I have a rooted Samsung Galaxy S3 with CyanogenMod 11
>>
>inb4 404
bump
Thread replies: 52
Thread images: 8

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.