Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,110 Members 42,103 Now Online
XDA Developers Android and Mobile Development Forum

UBUNTU and/or BACKTRACK on the I9300 (Samsung Galaxy S3)

Tip us?
 
tiborr
Old
(Last edited by tiborr; 9th June 2012 at 02:39 PM.)
#1  
Junior Member - OP
Thanks Meter 24
Posts: 26
Join Date: Sep 2007
Lightbulb UBUNTU and/or BACKTRACK on the I9300 (Samsung Galaxy S3)

================================================== ==========
SAMSUNG GALAXY S3 with UBUNTU
================================================== ==========
So I really wanted to try and use Ubuntu on my Samsung Galaxy S3, cause I already placed an order for the MHL cable so that i can hook it up to my monitor. (and also a docking station). And I think thats just awesome.

Now my plan is to show UBUNTU for android (ubuntu.com) in progress by Canonical that the SAMSUNG GALAXY S3 is the right phone for this.

And beside i think this phone has a lot of potentional.
I even like the idea that in a few months maybe some genius can figure out a dual boot system between "android & windows 8 ARM".

But now I had alot of problems figuring out how to get ubuntu to work on my Samsung Galaxy S3.
So I decide to write a short how-to.

================================================== ==========
HOW-TO
================================================== ==========
Now first of all, credits go to the maker "zacthespack" of the following app "ubuntu installer"
As he suggests please first try the free version and after that buy the paid version since you have more options...

IMPORTANT:
I wrote this thread for the Samsung Galaxy S3 and I will call this further SGS3.

Your SGS3 needs to be rooted and I also installed the OMEGA v4.0 rom.
Since you need a kernel with loop support.
(maybe the insecure kernel with you'll get with the rooting is also good enough, I am not sure)

ALSO
Be sure to have usb debugging on.


Further more:
THIS IS BASED ON VNC VIEWER AND REQUIRES INTERNET PREFERABLE WIFI. THIS IS NOT A FULL EXPERIENCE LIKE ON YOUR COMPUTER. HOWEVER THIS IS A TASTE OF THE FUTURE TO COME.


STEP 1:

So when installed, run the "ubuntu installer" app and it will show you that you need 3 more apps:
- VNC Viewer
- Android Terminal Emulator
- Busybox

STEP 2:

After installing those you can download the ubuntu file.
But not the script!
Now the orginal script is the problem, somehow this script cannot be friends with the SGS 3.

STEP 3:

So I re-wrote the one from "zacthespack"...
ubuntu.sh
click to download.

STEP 4:

This script and the ubuntu file you chose to download (small, medium or large) you put these in to a folder called "Ubuntu" place this folder in your "home map" of your phone. This map is called "SDCARD" not to confuse with your "extSDCARD" which is your external sdcard.

STEP 5:

now run the terminal and type:
Su
cd /sdcard/ubuntu
sh ubuntu.sh



after that you will get alot of text and it will ask you which resolution you want.
Well since the SGS 3 is a 720p phone you type:
1280x720 now you get alot of text again.

Then the terminal will ask the following:

safe this as default? (y/n)

Well "N" which means "no" and "Y" means "yes" ofcourse.
So this means it will remember the resolution etc.

Then you'll get this screen:


sometimes the terminal will ask you to put in a password 2 times
password is : "ubuntu"

proceed to the next step

STEP 6:

go back to your homescreen and open the VNC viewer.
I type following:



click CONNECT... and voila
if you did everything right you will get this:


this is a picture of ubuntu on my phone... so you see it works...

================================================== ==========
Questions:
================================================== ==========

Please on this thread...

and if anyone wants a short movie seeing it actually work, please ask then I will upload this...
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-06-09-02-14-44.jpg
Views:	3038
Size:	37.7 KB
ID:	1116315   Click image for larger version

Name:	Screenshot_2012-06-09-02-14-52.jpg
Views:	2872
Size:	40.5 KB
ID:	1116316   Click image for larger version

Name:	Screenshot_2012-06-09-02-15-18.jpg
Views:	2864
Size:	47.3 KB
ID:	1116317   Click image for larger version

Name:	Screenshot_2012-06-09-02-15-45.jpg
Views:	2895
Size:	28.9 KB
ID:	1116318   Click image for larger version

Name:	Screenshot_2012-06-09-02-15-53.jpg
Views:	2819
Size:	23.8 KB
ID:	1116319  

Click image for larger version

Name:	Screenshot_2012-06-09-02-16-08.jpg
Views:	3334
Size:	14.2 KB
ID:	1116320   Click image for larger version

Name:	138800-android-debug-app-on-phone-2.jpg
Views:	2881
Size:	28.1 KB
ID:	1116321  
The Following 23 Users Say Thank You to tiborr For This Useful Post: [ Click to Expand ]
 
ladle3000
Old
#2  
ladle3000's Avatar
Senior Member
Thanks Meter 42
Posts: 224
Join Date: Feb 2012
First

Sent from my heart
 
tiborr
Old
(Last edited by tiborr; 9th June 2012 at 02:27 AM.)
#3  
Junior Member - OP
Thanks Meter 24
Posts: 26
Join Date: Sep 2007
Default feedback

BTW this is my first how-to thingy...
so if anyone has something to add or some feedback let me know...

Anyone?
How can i keep the picture from disepearing???
 
ceo.mtcl
Old
#4  
ceo.mtcl's Avatar
Senior Member
Thanks Meter 410
Posts: 2,125
Join Date: Aug 2008
Location: St. Paul, MN
I will give it a try and let you know.

Sent from Rooted debloated stock Galaxy S3 OG I9300
Current Phones:
๑۩۞۩๑ LG G2 AT&T ๑۩۞۩๑

Benefits of International Samsung Galaxy S3 for US (AT&T) users
 
fylim
Old
#5  
Senior Member
Thanks Meter 42
Posts: 567
Join Date: Sep 2007
Location: PETALING JAYA
Can the s3 wifI support injection mode in backpack for use with reaver ? That would be awesome.

Sent from my GT-I9300 using XDA
 
Toss3
Old
#6  
Toss3's Avatar
Senior Member
Thanks Meter 447
Posts: 1,576
Join Date: May 2008
Location: Helsinki
Quote:
Originally Posted by tiborr View Post
BTW this is my first how-to thingy...
so if anyone has something to add or some feedback let me know...

Anyone?
How can i keep the picture from disepearing???
Just upload them to another photo-hosting site and use the direct link for embedding them in your post.

Thanks for the guide!
 
Cetin
Old
#7  
Cetin's Avatar
Senior Member
Thanks Meter 20
Posts: 232
Join Date: Nov 2007
Thank you so much ! This is the only advantage of such a great hardware that ain't needed on a phone.
But as a fully working computer always to go it's great.
I will try later when everything is tested because I'm not developing just using.

Please keep your nice tutorial alive!


Gesendet von meinem GT-I9300 mit Tapatalk 2
long time xda user
 
123shree
Old
(Last edited by 123shree; 9th June 2012 at 08:40 AM.)
#8  
Senior Member
Thanks Meter 123
Posts: 418
Join Date: Dec 2010
Location: Mysore, Karnataka
Default A small problem.

Ok, downloaded and extracted all the ubuntu stuff in /sdcard/ubuntu and also placed your script in the same folder but when i go to the terminal and type sh ubuntu.sh it shows me some errors
Code:
ubuntu.sh[6]:cut: not found
ubuntu.sh[17]: synatx error: 'If' unmatched
here's the screenshot


Using Omega v4.0
Thank you
The Following User Says Thank You to 123shree For This Useful Post: [ Click to Expand ]
 
Saull
Old
#9  
Junior Member
Thanks Meter 2
Posts: 28
Join Date: Aug 2011
What MHL cable and docking station have you ordered because apparently a working MHL cable is yet to be released?
 
tiborr
Old
#10  
Junior Member - OP
Thanks Meter 24
Posts: 26
Join Date: Sep 2007
Ebay friend... now the s3 uses a higher MaH then for example the s2.
So you need to buy a mhl for s3 and not someone who advertises for "mhl for s2, nexus and s3" this wont work.

The Following User Says Thank You to tiborr For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes