http://forum.xda-developers.com/showthread.php?t=1223128
^Original thread in the I9100 forum by: Jdouce^
Should work on SGH-i777 as well... Just thought I'd share.
(edit) TESTED -and this does in fact work. You can even access the Linux UI via any VNC viewer as long as you're on the same network as your phone or tethered. I have added to the tutorial below to specify. You can also access your Android file system and access everything via this image. I leave you to drool.
***(edit 2) If you can't figure it out, I have found Ubuntu installers available on the Market, but they require you to use your internal storage space. This version can be installed on either internal OR external memory. The performance and UI of this version is better too. The versions available via app are not optimized as well as this one. =) - Just know that there is a foolproof way to accomplish this if you can't read directions... Just search "ubuntu" in the Market.
-----Original Post (with clarifications and additions by Monsieurtalbot)-----
DO NOT UPDATE UBUNTU TO 11.04/11.10 IT'S HORRIBLY SLOW AND BREAKS THE .IMG! -
YOU CAN HOWEVER INSTALL ANY OTHER UPDATES AND APPS JUST FINE.
1. Download the Ubuntu files (2 part .rar)
File sizes should be;
Part1 = 900 MB
Part2 = 572 MB
Part1 Download
Part2 Download
2. Open Part1 and unrar the folder and copy to your internal sdcard (/sdcard) OR external SD card (/sdcard/external_sd) - this unrar's both parts.
**there should be 2 files - "ubuntu.img" & "ubuntu.sh" - these go into an "ubuntu" folder in one of these locations.
3. Open the Market (now Play Store) - download and install terminal emulator and Android VNC viewer - Both free.
4. Open Terminal emulator. Depending on where you copied the files mentioned in step 1/2, enter ONE of the following sets of commands.
**Remember. Commands and directories are case sensitive, so make sure everything (including the file names and folder title) is lowercase to make it work.
(if you copied to the INTERNAL sdcard)
Code:
cd /sdcard/ubuntu
su
sh ubuntu.sh
(if you copied to the EXTERNAL sdcard)
Code:
cd /sdcard/external_sd/ubuntu
su
sh ubuntu.sh
press home - and DO NOT CLOSE the terminal. You need to keep this shell open.
(you can also get an app called "Script Manager" from the Play Store to make re-entering these commands simple later.)
5. Open the Android VNC viewer and connect using the following settings.
Code:
address: localhost
port: 5900
password: ubuntu
set color to 24 bit
You can also use a VNC viewer on a PC or tablet to access the Linux UI, and use the keyboard and mouse using your favorite VNC viewer (I was using TightVNC on Windows) with the following settings while both devices are connected to the same WIFI (or tethered to the phone)
Code:
address: (your phone's local IP address here)
port: 5900
password: ubuntu
set color to 24 bit
VOILA - You now have Ubuntu 10.10 running on your device.
6. WHEN FINISHED- Shut down Ubuntu in the UI, disconnect VNC, then in the Terminal Shell type: "exit" without quotes and press <enter> to clean up the Linux image mount for next boot. Failure to do this may result in a corrupt install. Once you see a "#" with no commands, it is safe to close the terminal window.
_______________________________________________________
Whats Working?
USB Host - Using adapter cable available online to attach keyboard, mouse, or Flash drives.
WiFi
3G
Browsers- any of them... I suggest Chromium over Firefox, but they both do the trick.
Installing Applications
Updating (NOT UPGRADING to 11.04/.10)
Its pretty much working, let the OP (linked above) know if you have issues.
***HELP! UBUNTU WORKED BEFORE, BUT NOW IT WON'T BOOT-
The image creates a new folder to mount the Linux files at "data/local/mnt"... Connecting USB to a PC, unmounting the storage device the image is stored to, a forced shut down, or unexpected occurance in the shut down procedure CAN cause this. It's due to "stuck" files in that directory. -Attempt to clear the contents of this folder - followed by a reboot if you have any issues. You can do this using root explorer, or with the following terminal commands.
Code:
su
rm r /data/local/mnt
GOOD LUCK!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----END OF ORIGINAL POST-----
Downloading now. I would love a great workiing version of this os on my sgs2
May I ask what kernel you use? I get a "VNC connection failed" when trying to connect, on Siyah 2.6.12.
Fallen Advocate said:
May I ask what kernel you use? I get a "VNC connection failed" when trying to connect, on Siyah 2.6.12.
Click to expand...
Click to collapse
Entropy's Daily... Latest always... Although it shouldn't matter.
How do you clear the memory?
Interesting tweak, thanks for sharing.
Very interesting will definitely try this out. Has anyone got.it running yet?
Sent from my SAMSUNG-SGH-I777
What does an OS do on android? Does it make it like a PC? Hows it look/interact on the screen?
Sent from my SAMSUNG-SGH-I777 using XDA App
IVIadness said:
How do you clear the memory?
Click to expand...
Click to collapse
By shutting down, disconnecting VNC, and closing the terminal window.
Edgarhighman said:
What does an OS do on android? Does it make it like a PC? Hows it look/interact on the screen?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
It is a FULL version of Ubuntu 10.10.
Google, FOOL! ;-)
Nizda1 said:
Very interesting will definitely try this out. Has anyone got.it running yet?
Sent from my SAMSUNG-SGH-I777
Click to expand...
Click to collapse
If you can copy 2 files to an ubuntu folder on the root of your SD, install 2 apps in the market, and type in 3 commands, you can get this running.
Simple, eh?
What happens if I want to go back to android os?
EDIT: Sorry, I skipped the part that said that it was an emulator.
EDIT 2: I didn't know anything about Android back then...
Having problems running this past terminal. What Kernels can be used with this? NEAK? Siyah? I get this in terminal.
a/local/bin: $PATH
[email protected]:/ $
What am I doing wrong?
---------- Post added at 10:03 PM ---------- Previous post was at 09:57 PM ----------
I'm on ICS 4.0.3 XWLPD (Shostock)
lolol i'm gonna build cm10 with this on my GS2. I'll see you guys in a few weeks.
The download links aren't working :/
I know this is an older post but can we get the links working again?
Sent From My SGH-S959G Using Tapatalk 2
Related
Droid Explorer and Android Commander are cool little programs run through Windows that let you batch install/uninstall apps, contacts, and a ton of other features such as screen shots and moving files around etc.
Droid Explorer Direct Download http://www.mediafire.com/?zjjmwtgimtz
Site: http://de.codeplex.com/
To get Screen Cast (interactive PC/Phone control which you can record as a video or tutorial) to work properly on some systems, dl this.
View attachment androidscreencast.zip
http://forum.xda-developers.com/attachment.php?attachmentid=329993&d=1274450154
Thanks to dianeofarcadia for the link
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
Multiple Device Support
Copy and auto-apply update.zip
Copy local files to device
Auto detection of connected/disconnected device
APK file icon and extended information
Device command shell window
Reboot device
Reboot device in to recovery mode
Open files for viewing / execution locally with the default file type executable
Drag & Drop file copy from Explorer
Flash Recovery Image
Package Manager (Install & Uninstall)
No need to mount SD card to access files from computer
Access files in other directories besides SD card
Copy files from device to local clipboard
Paste files from local clipboard to device
Open files on local machine
Display open with dialog to specify what to open a file with
Right click APK and Uninstall
Right click APK and Install
Delete files from device
Take a Screen Shot (landscape or portrait)
Plugins can register as a component to open files
Open from within Computer
Should now work with more ROMs as long as they are Rooted and have busybox
Device "Friendly Name" instead of device serial number.
Android Screencast Plugin - Control your android device with your mouse and keyboard
Install/Uninstall APK files right from explorer
Standalone plugin runner (will mainly be used for windows 7 jump lists and the apk installer but can be used to run any plugin.
Better Hero Support
Backup the "Google Experience" applications and creates an update.zip containing the applications
Android Commander Direct Download Link http://www.mediafire.com/?zzzymtiyezy
Site: http://androidcommander.cyf.pl
Features
Explore files:
- copy multiple files/dirs between Phone and PC
- copy multiple files/dirs between Phone folders
- delete multiple files/dirs from Phone
- new dir and rename options
- drag&drop multiple files/dirs in to progrm
- drag&drop files/dirs between program tabs
- partitions size info
- bookmarks
Manage apps:
- windows integration
- backup multiple apps to any dir on Phone/PC
- batch/single apps install
- install as private
- update
- batch/single uinstall apps
- uninstall with option to keep data or not
Console:
- type any shell command
- run sh script from PC
and more…
- flashing zip and img files
- options to reboot, reboot to recovery, reboot to bootloader, power off phone
- screenshots (beta)
- tools…
Download link to my folder @ MediaFire
http://www.mediafire.com/?sharekey=27287fde074a5250e62ea590dc5e5dbbdc566628acb63ad8d6f20ee4ff677d52
Just wanted to share because it seems not a lot of people know these are out there. Enjoy!
MUST HAVE ROOT... probably...
seems promising
will have to check out Android Commander.
Droid Explorer runs pretty good, a bit laggy at times but it is promising. Hope it is ok to attach this jnlp to go with Droid Explorer in case anyone needs it. It was the only way to get screen cast to work properly. Just un zip, and toss the folder on the desk top. It helps start up the screen cast mode for Droid Explorer, in case anyone has trouble getting the one inside DE to work. Hope this helps.
dianeofarcadia said:
will have to check out Android Commander.
Droid Explorer runs pretty good, a bit laggy at times but it is promising. Hope it is ok to attach this jnlp to go with Droid Explorer in case anyone needs it. It was the only way to get screen cast to work properly. Just un zip, and toss the folder on the desk top. It helps start up the screen cast mode for Droid Explorer, in case anyone has trouble getting the one inside DE to work. Hope this helps.
Click to expand...
Click to collapse
Thank you for that. It already worked for me but I'm sure it will help others. I'll update the post and give you credit if you dont mind.
LexusBrian400 said:
Thank you for that. It already worked for me but I'm sure it will help others. I'll update the post and give you credit if you dont mind.
Click to expand...
Click to collapse
(I should look and find who wrote it, I found it somewhere here digging while troubleshooting). Glad it worked for you, now I need to know what is wrong on mine. lol.
the driod explorer says i am trying to install on the wrong platform? i have 64bit vista.. any ideas?
android commander says it cant find the sdk, i have it but i cant make this thing work for nothing, any ideas?
j-stang said:
the driod explorer says i am trying to install on the wrong platform? i have 64bit vista.. any ideas?
android commander says it cant find the sdk, i have it but i cant make this thing work for nothing, any ideas?
Click to expand...
Click to collapse
Go to the main site links. These links are for Win-7 32 bit. They should have a 64 bit on the main sites.
Will check it out thanks!
I got android commader to work.
-------------------------------------
Sent via the XDA Tapatalk App
This is really cool, thanks.
Original thread (Thanks Martin Rhodes):
http://forum.xda-developers.com/showthread.php?t=962023 (Join up original file parts with 7zip)
Instructions
Here are direct links to complete .img file and .sh file to be placed into ubuntu folder on root of SD card (Thanks Infinimint)
http://infinimod.com/projects/fire314/ubuntu-for-android/ubuntu.img
http://infinimod.com/projects/fire314/ubuntu-for-android/ubuntu.sh
Ingredients
ubuntu.img + ubuntu.sh (to be placed in a new folder named ubuntu on the root of your SD card)
Better Terminal Emulator (or other terminal emulator) + AndroidVNC (or other VNC client) from the market
To automate one click startup process via Better Terminal Emulator:
Preferences>Initial command:
Code:
export PATH=/data/local/bin:$PATH:.
su
cd sdcard/ubuntu
sh ubuntu.sh
Or type this for each new session in any terminal emulator:
Code:
su
cd sdcard/ubuntu
sh ubuntu.sh
It says .img loading for a bit. Seems like its not doing anything...it wont confirm when its loaded (about a minute in reality)...
Then I left Terminal running in background while it said it was still loading the img (but don't let it close via task killer or otherwise), held down the hardware menu or home button to switch programs for a bit and connected in via VNC (AndroidVNC)...
address: localhost, port: 5900, and password: ubuntu ... then hit connect (login details will be saved for next time)...
its working fine software keyboard etc and at good speed. In menu options select 24bit colour, local mouse, 1:1 scaling and Touchpad only to make navigating menus much easier.
Normal phone and Android functions should be fine.
Included applications include Firefox, Thunderbird, Openoffice.org suite, GIMP Image Editor, Emacs Text Editor (geared towards programming), C and C++ build-essential, Java JDK, Python, TeXlive and TeXmaker LaTeX editor, Transmission BitTorrent Client, eVince PDF Viewer, File Manager, Terminal, Image Viewer, Leafpad Text Editor, Synaptic Package Manager and Ubuntu Software Center with all repositories enabled, SSH server, Gnash (GNU flash player for Firefox) among others.
Short press hardware menu key to get mouse options etc and longpress to bring up software keyboard (using Android VNC).
Type exit in android terminal emulator to shut down the ubuntu image.
I am using the Hyperdroid Rom off NAND, overclocked at 1.2ghz and a 16GB class 6 microsd (although it should be independent to all this... worth mentioning)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
GIMP
Here is Open Office 3.2 on the HD2 using Smart Keyboard Pro from the market.
Edit 1. I Can use my bluetooth keyboard using this nandroid rom to edit open office etc
Edit 2. I can make full screen editing on my PC monitor/TV through connecting it via USB.
HD2 USB connected to a r3610 hanging behind a 42" HDTV connected through HDMI. Using my desktop keyboard and mouse. The Mouse scroll button and right click work just as they would on desktop!
Connect via usb to PC and enable usb debugging on your phone, needs android sdk installed on PC, then you run from pc command line
Code:
adb forward tcp:5900 tcp:5900
and you should be able to create a vnc conection from your pc (recommend TightVNC) to:
Code:
127.0.0.1:5900 [U]or type[/U] localhost:5900
and use password ubuntu displayed on your monitor or TV. Wireless solution.
In fact, you can use the same method to mirror the Android system using 'Droid VNC' server from the market.
Edit 3. Can also just connect straight to the device via VNC over WIFI but its slightly slower.
Type ifconfig into lxde terminal to find WIFI address, use your desktop VNC viewer (recommend TightVNC) and password ubuntu to log in.
Edit 4. Bluetooth mouse control with cursor now works as well (but its a bit jerky), works much better with 'Remote VNC Pro' from the market selecting use external mouse.
Edit 5. Can only seem to pair bluetooth mouse and keyboard input simultaneously using BlueInput.
Edit 6. To fit whole ubuntu display area onto HD2 screen (as above) or to otherwise change screen res via LXDE terminal:
Code:
export USER=root
vncserver -geometry 800x480
Restart AndroidVNC but connect to port 5901. You can automate this process by adding it to the end of the Better Terminal Emulator Initial Command script i.e
Code:
export PATH=/data/local/bin:$PATH:.
su
cd sdcard/ubuntu
sh ubuntu.sh
export USER=root
vncserver -geometry 800x480
Just remember to connect on port 5901 instead of 5900 using VNC subsequently.
Sound Great!!!!!!!!!! Be partient \m/ Rock On!!!!!!
does usb host works?
I haven't got USB host cables etc. I am just using localhost VNC or a Java based screen mirroring app over USB.
Was alot of fun today adding effects to my photos using GIMP and creating a presentation and exporting it to PDF, all on the train! Its like a UMPC now.
do you have sound? have you tried playing some video, or youtube? how's the performance in comparison with ubuntu v0.3 running from haret?
I made an usb hub for using since i've downloaded v0.3, will try this evening to see if it works with this build.
Sound is not possible in VNC chroots as of yet. The android YouTube or music player app is only a hardware click away though. Media is well served by android anyway IMO.
WIFI is shared with the android system but theres no cellular 3G connection (I wonder if a 3G unrestrictor application could work at some point though). Could use your 3G sim in a separate phone for MIFI/WIFI routering too.
Its never going to be preferable to a native port but its almost instant in responsiveness once apps have opened. It is very quick (on my device at least).
how long to boot img?
i use android 2.2
cpu overclock 1.2
.....why doesn't it boot to VNC??
sry for my bad english
Well, I gave this a try. I guess I'm doing something wrong. It ran through all of the commands without any pause... (which seemed odd) ... and I couldn't connect through VNC. Any way to troubleshoot this?
Edit: Changed to TyphooN CyanogenMod 7 rom and it worked fine. Thanks for the link
Danation said:
Well, I gave this a try. I guess I'm doing something wrong. It ran through all of the commands without any pause... (which seemed odd) ... and I couldn't connect through VNC. Any way to troubleshoot this?
Edit: Changed to TyphooN CyanogenMod 7 rom and it worked fine. Thanks for the link
Click to expand...
Click to collapse
i did id but when use moliza
can you use keyboard
i did id but when use moliza
can you use keyboard
Click to expand...
Click to collapse
Longpress the hardware menu (windows) button to use your android software keyboard. Or use a bluetooth keyboard if your ROM supports it.
had anybody success downsizing the img with uec-resize-image, i dont need 3.5GB...
edit: 2G is to small, choosed 2500M, worked fine
I will test this soon, I hope this will work great.
i used the ubuntu.img from this thread
made:
e2fsck -f ubuntu.img
uec-resize-img ubuntu.img 2500M (2G is too small)
put it in the root folder of the sd card
used the deboot from http://forum.xda-developers.com/showthread.php?t=1029390
and put in the root of the sdcard
and changed the section
losetup /dev/block/loop5 /sdcard/debian.img
to
losetup /dev/block/loop5 /sdcard/ubuntu.img
works really fine.
creates a debian folder but that could be also changed in the deboot file
and you can call the deboot file however you want, even bootubuntu.
really great thanks.
other links, that helped me:
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
http://forum.xda-developers.com/showthread.php?t=962023&highlight=uec-resize-image
http://forum.xda-developers.com/showthread.php?t=1029390
http://forum.xda-developers.com/archive/index.php/t-744236.html
H'm worked once. But now I get invalid argument when it comes to mounting the loop
I've tried to boot ubuntu from better terminal emulator pro, but it wont...
I've only this message:
*WARNING: If you have more than 255 apps installed on the SDCard, then mounting apps on the SDCard associate with an encrypted loop device, and there are only.
You have to go to Setting -> Manage Applications -> On SDCard, and move some a.
Please wait while booting ubuntu.img.. This can take some time...*
Does anyone can explain me why ubuntu dont boot after waiting for 30 min?
EDIT: It work now, it just don't say if the loading is OK. So I was waiting for nothing...
Links not working!! it says Time Out!
GuimbardePower said:
I've tried to boot ubuntu from better terminal emulator pro, but it wont...
I've only this message:
*WARNING: If you have more than 255 apps installed on the SDCard, then mounting apps on the SDCard associate with an encrypted loop device, and there are only.
You have to go to Setting -> Manage Applications -> On SDCard, and move some a.
Please wait while booting ubuntu.img.. This can take some time...*
Does anyone can explain me why ubuntu dont boot after waiting for 30 min?
EDIT: It work now, it just don't say if the loading is OK. So I was waiting for nothing...
Click to expand...
Click to collapse
For me the same first, but then I understood the way. I get the 800x480 res .. Great work, thanks. Now I'd like only know how to try ,if possible, the KDE desktop (I don't remember the way to launch it). A great BRAVO for your WORK.
how to run a usb host?
I'm having trouble downloading from the links in the top post - it's going very slow. Any chance of a torrent link?
works ok. only problem is that it is a bit slow. plus usb keyboard and mouse doesnt work. can you help me on that ?
Cool but what about Ubuntu 11.04?
Hi
It's a thread which collects Ubuntu stuff for SGS2 and includes some of my mods.
The content is from or based on fire314's, JDouce's and zacthespack's work. And their work is based on other people's work, so thanks everybody
Why is it better, than the sources I used?
-it's up to date
-works
-smallest download size
-less space required on sd/internal storage
-very detailed instructions
Why to use Ubuntu on an Android phone?
Why to overclock?! Just because we can do it To show off
And you can use Chromium browser to browse the web, you can edit documents in Open/Libre Office, etc.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download
I recommend this Lubuntu img, made by zacthespack, edited by me.
It's less than 500MB to download, 1800MB img file size on the phone, and sports LXDE (leightweight desktop):
Filehosting.org
Ubuntu One
Dropbox
Google docs
It is the necessery script to run Ununtu/Lubuntu, made by fire314:
ubi.sh
Ubuntu One
Dropbox
It is an Ubuntu img (Gnome desktop), made by JDouce, modded by me.
It's almost 1GB to download and 2,5 or 3GB (I don't remember) on the phone:
Depostie Files
Fileserve
Then, there is the one made by JDouce without any mod.
Almost 1,5GB to download in 2 parts, and 3,5GB (as I remember) on the phone:
Part 1
Part 2
The original from zacthespack:
Link to he's thread
He works on it, and uploads new versions, so no need to place a link for the file itself.
There are 2 versions now:
Ubuntu - 1,5GB to download and 3,5GB on phone
Lubuntu - 500MB to download and 2,5GB on phone
Instructions:
1. Choose one of the images (will add more later) and download it, and get the script aswell
2. Unzip ubuntu.img and copy it and ubi.sh to your sdcard or internal storage, both files to the same folder
3. Open a terminal emulator and type:
su
Accept root permission request if appears, then type:
cd (name of the place where the files are. Example: cd /sdcard)
You can check if the files are there by typing „ls”. If everything is fine, than type:
sh ubi.sh
like this:
and if everything is fine you get this:
4.Open a VNC client and fill out the following
password: ubuntu
address: localhost
port: 5900
set colors to 24bit
5. Hit Connect button
6. Now you should set the "mouse"
touch Menu button
Input mode
Touchpad
Turning it off:
In the VNC client:
touch Menu button
Disconnect
In the terminal emulator:
touch Menu button
Close window
accept it
You can add, delete programs in Synaptic.
If you want to start Lubuntu/Ubuntu anytime, just do the 3rd and 4th steps ; )
I didn't do much. I just made some small changes. All the credits go to zacthespack, JDouce and fire314.
I know, that JDouce has a thread, but he doesn't do much nowadays. He edited the OP more than 5 months ago. And I think it's such a fun, that it deserves some more attention.
Troubleshooting:
If it doesn't start after step 4, or your phone reboots after step 3:
change kernel!
Siyah 2.6.8 changelog:
-fixed the bug which prevented using ubuntu and was causing some random reboots...
so earlier versions doesn't work
If it starts, but the mouse pointer doesn't move:
check the step 6 in the OP
If you can't read or mount the sdcard/internal storeage after turning Ubuntu off:
reboot
Download links are up!
Let me know which one is the fastest and where would you like to see the next versions uploaded.
And if you have any question or suggestion, don't hold it back
Unbuntu One link is a ~20 min DL. Dropbox is ~5 min.
sh may have taken 0.01 seconds or so
Hope to test this today, if not, soon. I'll let you know how things work.
reupload screenshots.....
gh.rohit said:
reupload screenshots.....
Click to expand...
Click to collapse
is there some problem with them?
liljom said:
is there some problem with them?
Click to expand...
Click to collapse
I see them.
mudferret said:
Unbuntu One link is a ~20 min DL. Dropbox is ~5 min.
sh may have taken 0.01 seconds or so
Hope to test this today, if not, soon. I'll let you know how things work.
Click to expand...
Click to collapse
sounds good
Amazing Makes me wonder, can you install the Android SDK on it?
kblood said:
Amazing Makes me wonder, can you install the Android SDK on it?
Click to expand...
Click to collapse
AFAIK yes
funny, isn't it?
Exiting chroot environment and sync'ing memory to storage..
DO NOT EXIT until finished - doing so may corrupt the ubuntu.img!
This is what i get after " sh ubi.sh " i cant connect from vnc , help please
Nice to see you here
Sent from my GT-I9100 using xda premium
burimii said:
Exiting chroot environment and sync'ing memory to storage..
DO NOT EXIT until finished - doing so may corrupt the ubuntu.img!
This is what i get after " sh ubi.sh " i cant connect from vnc , help please
Nice to see you here
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
what kernel do you use?
can you try it with speedmod kernel?
liljom said:
AFAIK yes
funny, isn't it?
Click to expand...
Click to collapse
I am looking for a way to get Asus Transformer Prime capable of developing Android Apps, so it might not just be funny, but also very useful
I did try to see if I could make my SGS2 dual boot, but it did not work for me so far. And I am not sure I would want this as the phones OS, although it is temping if it can also use one of those Android App players that seems to be in development. I am not sure if they are even trying to target Linux though.
But the possiblities of Linux on Android hardware is.... mindbogging
liljom said:
what kernel do you use?
can you try it with speedmod kernel?
Click to expand...
Click to collapse
Syiah 2.6.11 , I will try it later because I just installed cm9 ...
Sent from my GT-I9100 using xda premium
It might be a stupid question, but is is possible to get Linux Mint to work on the Galaxy S II in the same way?
Tom-Helge said:
It might be a stupid question, but is is possible to get Linux Mint to work on the Galaxy S II in the same way?
Click to expand...
Click to collapse
Ask zacthespack. As I know, he built the image I modded in the OP
4 more images in the OP
And I'll take a look at the v5 from zacthespak... downloading it right now
sorry for my question: this is a rom or what?
KSTu said:
sorry for my question: this is a rom or what?
Click to expand...
Click to collapse
no, it runs from a ROM and it's Ubuntu linux
I like it and it runs faster than the other ubuntu 10.10 chroot release but my only problem is something seems wrong with the resolution the text is smaller and blurrier than the other release from before? Is it set for the galaxy s2 screen res or am i just seeing things?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please OP remove my old post about Ubuntu on Tab 3...
T3buntu (Had to call it something...)
Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.
Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.
Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.
The image is ext2, x86 but im working on a ext4, AMD64 image.
”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.
Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.
Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..
Not tested:
GPS
ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound
Now for the fun stuff.
Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your shoice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.
DONE ! Your now in Ubuntu..
If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.
Consider this image as alpha...
OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile
LINK to bootscript
Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
How about a link to get 3. Linux on Android.
I know I'm top lazy to Google.
Sent from my GT-P5210 using XDA Premium HD app
Awesome! Glad to see something! And having Ubuntu is a very cool os to have! Good work and thank you!
Sent from my SCH-I605 using xda app-developers app
Added links to Linux on Android and Busybox in first post.
Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Without this (for me) it failes while it's starting up.
And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
But, very good work !!
And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
RubenStauttener;48606882]Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Without this (for me) it failes while it's starting up.
Havnt noticed any problems here but i have added the space and updated the script since both versions works for me.
And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
Does it reboot during script execution ? It do sound like a mem issue. Do you have widgets and such running in android ?
You can try with enabling the swapfile in bootscript.sh .
But, very good work !!
And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
I've got the terminal up and running fine. But I can't VNC into it. What settings are you using for you VNC viewer?
How about native graphic support using libhybris? Or since this device use PowerVR SGX 544, is native X11 possible? Reference: https://wiki.archlinux.org/index.php/Intel_GMA3600
EDIT: https://github.com/trevd/android_kernel_samsung_santos10/tree/cm-10.2/drivers/staging/mrst/pvr and https://github.com/thomas001/cedarview-drm/tree/master/staging/cdv/pvr looks similar
Thanks for sharing but it's not working
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !
Sent from Gallifrey using TARDIS
Nonta72 said:
Thanks for sharing but it's not working
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !
Sent from Gallifrey using TARDIS
Click to expand...
Click to collapse
Test password: ubuntu
When run script say mnt error =/
zorrigas said:
Test password: ubuntu
When run script say mnt error =/
Click to expand...
Click to collapse
Thanks, but I already solved it :good:
Sent from my GT-5210 powered by AmatROM HD
Hi, I posted a question in the Q&A forum (them 10 posts), but I guess it really belongs here.
Tried this on my TWRP rooted UANB4 stock rom P5210, stock kernel. And I get the following with your script and image:
Code:
[email protected]:/ $
[email protected]:/ $ cd /storage/extSdCard/Img
[email protected]:/storage/extSdCard/Img $ su
[email protected]:/storage/extSdCard/Img # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Img/t3buntuv1.2_20131216.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
Error: Unable to mount the loop device!
1|[email protected]:/storage/extSdCard/Img #
Line : $bbox mount -t ext2 /dev/block/loop255 $mnt
Do I tell busybox to overwrite the mount command?
Otherwise, excellent work, cant wait till I have it running.
*EDIT*
Turns out I just had to copy the image again, I guess my first transfer got cut off.
Totally works, thx
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.
getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
Homage said:
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.
getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
Click to expand...
Click to collapse
I did not try this one. I bet itworks in VNC as it tell us. Instead i did
http://forum.xda-developers.com/showpost.php?p=58175673&postcount=54
I guess I can say it work aceptable in VNC mode, definitly work nice in comand mode. I been working in a native solution but it is a hard bone for my teeth. Look in the general area.
Download link is down
I would like to run Ubuntu on my Tab 3 but the link doesn't work. Could some upload a working link please?
Hi Guys,
Anyona has this .sh script and the t3buntuv1.2_20131216.img file? if you send me im hosting and distributing free as i live i want to use for my home automatization.
THX
G
jorgen_gustavsson said:
Please OP remove my old post about Ubuntu on Tab 3...
T3buntu (Had to call it something...)
Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.
Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.
Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.
The image is ext2, x86 but im working on a ext4, AMD64 image.
”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.
Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.
Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..
Not tested:
GPS
ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound
Now for the fun stuff.
Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your choice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.
DONE ! Your now in Ubuntu..
If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.
Consider this image as alpha...
OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile <===== this URL broken
LINK to bootscript <===== this URL broken
Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SSH for the Rooted Fire TV
Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers.
So what? Why do I want this on my Fire TV?
Right now, the only means of communicating with your Fire TV is through ADB, which is fine, but has limitations, mainly due to the fact that adb does not run as root.
SSH does, so those limits are removed. Using scp or even better sftp you can easily copy files to and from any area on your Fire TV, issue commands via ssh and more.
Details are HEREhttp://www.jocala.com/busydrop.html
reserved
Note: If you are an adbFire user you already have this. Just select "Install SSH" from the root menu.
Note: This is probably not compatible with other busybox installs. They do vary depending on compile-time options. Please uninstall Google Play busybox installs or other variants before installing BusyPlay!
Nice. I look forward to trying this out soon.
SSH helper apps
Canyaya' pid='1817081' dateline='1413750441 said:
Hi Jocala, thank you for all your work. When you install the sftp server, what is the username and password?
Click to expand...
Click to collapse
This is a cross-post from another forum. I thought it might be useful here.
root/password -- the userid should default to root
The command-line "ssh "helper" apps are:
Manually start the server with a password (no spaces)
Code:
sshstart
Usage: sshstart password -- arguments: the password you want to use
Kill sshd immediately
Code:
sshstop
Usage: sshstop -- no arguments, immediately kills ssh server
Show sshd status
Code:
sshstatus
Usage: sshstatus -- no arguments, gives ssh server status
Create sshd startup script with given password
Code:
sshinit
Usage: sshinit password -- arguments: the password you want to use (no spaces)
this program creates the file /etc/init.d/02sshd that starts sshd at boot
Delete sshd startup at boot script
Code:
sshboot
Usage: sshboot -- arguments: rm
Typing sshboot rm deletes the file /etc/init.d/02sshd that starts sshd at boot
Should i uninstall my playstore busybox before installing this?
jmandawg said:
Should i uninstall my playstore busybox before installing this?
Click to expand...
Click to collapse
Yes.
So I gave this a try following your instructions as it looked like it would work great for backing up cwm recovery files to my PC. I followed all the instructions installing the zip through cwm recovery and rebooting but when I click on ssh on adbfire 1.11 it says fatal error connection refused. Any idea what I might have done wrong or how to get it working. I have installed putty on my computer and I tried to connect directly through putty as well but that wouldn't work either. How can I test if the ssh server is working or not?
**edit: I got it to connect to putty and winSCP after uninstalling the busybox I had installed and installing the busybox through adbfire 1.11 I can see this being a very powerful and useful tool for the Fire TV. Very nice work jocala. I still can't see the cwm recovery files I would like to back-up though. Shouldn't they be in the /storage/emulated/legacy/clockworkmod folder unless I am missing something?
rotor00ter said:
So I gave this a try following your instructions as it looked like it would work great for backing up cwm recovery files to my PC. I followed all the instructions installing the zip through cwm recovery and rebooting but when I click on ssh on adbfire 1.11 it says fatal error connection refused. Any idea what I might have done wrong or how to get it working. I have installed putty on my computer and I tried to connect directly through putty as well but that wouldn't work either. How can I test if the ssh server is working or not?
**edit: I got it to connect to putty and winSCP after uninstalling the busybox I had installed and installing the busybox through adbfire 1.11 I can see this being a very powerful and useful tool for the Fire TV. Very nice work jocala. I still can't see the cwm recovery files I would like to back-up though. Shouldn't they be in the /storage/emulated/legacy/clockworkmod folder unless I am missing something?
Click to expand...
Click to collapse
I've added notes concerning Google Play busybox installs and adbFire.
/storage/emulated/legacy (/sdcard) is where my clockworkmod directory is. I haven't done a backup, so mine is empty.
Does this allow using keys?
{ParanoiA} said:
Does this allow using keys?
Click to expand...
Click to collapse
It should, although I haven't tried. A new startup script would be needed, sshstart is hardcoded to startup using a password.
BusyDrop 1.01 released
Changelog: update to BusyBox v1.22.1 (2014-10-26 17:14:21 EDT)
This setup is awesome for transferring files to and from the Fire TV. Much better and easier than adb once you get it set up properly. I have been using this with WinSCP and it has worked perfectly.
thank you very much for this. im loving it.
Is there a benefit to using this over an app like Servers Ultimate?
hazard666 said:
Is there a benefit to using this over an app like Servers Ultimate?
Click to expand...
Click to collapse
Obviously I think so or I wouldn't have taken the time to develop it. Are you a user of this other app?
jocala said:
Obviously I think so or I wouldn't have taken the time to develop it. I hope you don't want to debate the merits of my project against another in my thread. That wouldn't be very nice.
Click to expand...
Click to collapse
Or it's a completely valid question and I was wanting some input, but if you have issue with answering then ok.
Edit: What difference does it make whether I am or not a user of another app? I was asking if there is a benefit to using your app since I already have an established solution. Nevermind though.
hazard666 said:
Or it's a completely valid question and I was wanting some input, but if you have issue with answering then ok.
Edit: What difference does it make whether I am or not a user of another app? I was asking if there is a benefit to using your app since I already have an established solution. Nevermind though.
Click to expand...
Click to collapse
My apologies, rapid post at the end of a long bad day. I regretted my snappish response as soon as I hit enter, and edited, but not soon enough.
jocala said:
My apologies, rapid post at the end of a long bad day. I regretted my snappish response as soon as I hit enter, and edited, but not soon enough.
Click to expand...
Click to collapse
It's quite alright. I'm not too happy with my current setup so I will be trying out BusyDrop.
hazard666 said:
It's quite alright. I'm not too happy with my current setup so I will be trying out BusyDrop.
Click to expand...
Click to collapse
If you have any questions I'll be more than happy to assist. Now I'm going to bed before I kick my dog or do something else that will embarrass me tomorrow.
+1 for being able to ssh in using a key and disabling password logins. It makes it easy to log in from putty and other ssh clients, more secure and I don't have to record one more password.