Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,460 Members 40,709 Now Online
XDA Developers Android and Mobile Development Forum

[Q] chroot Ubuntu on Nexus 7 (2013)

Tip us?
 
userdelroot
Old
#1  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Question [Q] chroot Ubuntu on Nexus 7 (2013)

Not sure if anyone is interested or not but I have a chrooted Ubuntu 12.04 and Ubuntu 13.10 on my N7 running.
If anyone is interested I can post the steps and scripts I used, so you can do it yourself, and learn as you do it which is fun lol.

Most of the information is available via google searches however some things are not mentioned.

I have almost got LXDE running in the chroot without vnc, however not fully.

The problem I am having is when I startx or xinit /usr/bin/lxsession it displays a blank screen. When I kill the process, the LXDE background displays with a cursor. Not sure why it waits to display when I kill the process kind of weird.

Anyways thoughts, comments, constructive criticism.
The Following 3 Users Say Thank You to userdelroot For This Useful Post: [ Click to Expand ]
 
userdelroot
Old
#2  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
photo of the adb screen launching startx img1.jpg


photo of the actual N7 screen img2.jpg
Attached Thumbnails
Click image for larger version

Name:	img1.jpg
Views:	176
Size:	264.3 KB
ID:	2505589   Click image for larger version

Name:	img2.jpg
Views:	189
Size:	266.5 KB
ID:	2505590  
 
userdelroot
Old
#3  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
I guess there is a guide already from what I read.
No need for a guide unless someone wants to try making their own Ubuntu chroot. Then you will have the ability to make you own image size etc.
If anyone is interested or wants to do this post here and I will provide the steps.
And assist with scripts and what not.

By no means did I come up with this on my own, however many guides have scripts that don't work etc due to your version on android or device etc.



Sent from my Galaxy Nexus using xda app-developers app

Install or Mount (IOM)
IOM will create a chroot linux environment in android.
IOM will mount a chroot linux environment in android.



If you like my work please Donate
 
djxtabay
Old
#4  
djxtabay's Avatar
Member
Thanks Meter 9
Posts: 77
Join Date: Feb 2008
I'm using the guide in the General Section to use Kali PwnPad with my N7. I was using Backtrack with my 2012 and just bought a 2013 and very happy so far that everything works with Kali but with a better performance!

Wifi USB host was the main concern and it works great.

Nice job you have done too can you send me or share your chroot script please?
 
userdelroot
Old
#5  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by djxtabay View Post
I'm using the guide in the General Section to use Kali PwnPad with my N7. I was using Backtrack with my 2012 and just bought a 2013 and very happy so far that everything works with Kali but with a better performance!

Wifi USB host was the main concern and it works great.

Nice job you have done too can you send me or share your chroot script please?

yes, do you need startup scripts or launch scripts for vnc and x
or just the chroot script to get into linux?
 
userdelroot
Old
#6  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Default UPDATE

I made scripts which will allow the creation of the linux image right on the device itself.
It downloads approximately 200 megs for the packages, no more need to download huge image files...
Right now ubuntu works for sure testing others...
 
vrutkovs
Old
#7  
Junior Member
Thanks Meter 9
Posts: 12
Join Date: Dec 2013
Quote:
Originally Posted by userdelroot View Post
I made scripts which will allow the creation of the linux image right on the device itself.
It downloads approximately 200 megs for the packages, no more need to download huge image files...
Right now ubuntu works for sure testing others...
Great job! Could you share those somewhere (I'm interested in running other distributions e.g. Fedora and Mer)
 
userdelroot
Old
#8  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by vrutkovs View Post
Great job! Could you share those somewhere (I'm interested in running other distributions e.g. Fedora and Mer)
of course, but need to finish scripts and work out some bugs.
 
vrutkovs
Old
#9  
Junior Member
Thanks Meter 9
Posts: 12
Join Date: Dec 2013
Quote:
Originally Posted by userdelroot View Post
of course, but need to finish scripts and work out some bugs.
Hey, any news on this?
 
userdelroot
Old
#10  
Senior Member - OP
Thanks Meter 155
Posts: 330
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by vrutkovs View Post
Hey, any news on this?
http://forum.xda-developers.com/show....php?t=2627255

Install or Mount (IOM)
IOM will create a chroot linux environment in android.
IOM will mount a chroot linux environment in android.



If you like my work please Donate

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Shane Francis to Talk Android, Robotics, and Vision at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of … more

LG G Watch Tool is a Toolkit all Owners Need

The LG G Watch is one of the first two devices hitting the market rocking the highly anticipated … more

Benchmark Your CPU Performance with Mini CPU Integer Script

When it comes to device testing, there are two types of people on XDA. The first … more

Rid Yourself of Charging Annoyances with No Wake on Charge Xposed Module

Almost every OEM has skinned and otherwise modifiedAndroid to suit … more