Related
As I installed rosie over the weekend I needed to put an ext2 partition on my card so used Gparted from a USB Stick. This got me thinking. I have seen people post in threads so often that they cant do ceratin mods at the moment as they are at work and dont have ADB. So I wondered if it were possible to have a usb booting version on Linux with the SDK installed and ADB setup that people could take anywhere with them and use on any available PC.
I have no idea how this would be implemented, just putting it out there for the more skilled amongst us.
I've been doing this using a "puppy linux live usb". I'm still fairly new to linux but shell and gparted work great. The whole linux is only ~100mb and doesn't modify the pc it's used on at all(tho you must be able to boot from usb). Good for those of us still learning linux. Don't know if this is what you were talking about exactly but hope it helps.
Puppy
Yup, Puppy is a cute and elegant solution - works out of the box!
Great thing. Works out of a usb no problem - just have to have a boot loader on the stick. Can recommend grub (easiest) or syslinux (can install on the usb out of xp)
Baldyman1966 said:
As I installed rosie over the weekend I needed to put an ext2 partition on my card so used Gparted from a USB Stick. This got me thinking. I have seen people post in threads so often that they cant do ceratin mods at the moment as they are at work and dont have ADB. So I wondered if it were possible to have a usb booting version on Linux with the SDK installed and ADB setup that people could take anywhere with them and use on any available PC.
I have no idea how this would be implemented, just putting it out there for the more skilled amongst us.
Click to expand...
Click to collapse
yeah i have a 4gig running linux mint, including recognition for the phone when connected through usb, and full development platform, with working sdk... very handy when at work etc,
i was considering selling them on ebay but didnt think people would be intrested in such a thing
soulassasin101 said:
yeah i have a 4gig running linux mint, including recognition for the phone when connected through usb, and full development platform, with working sdk... very handy when at work etc,
Click to expand...
Click to collapse
Would you be able to provide an image that others could use?
Baldyman1966 said:
Would you be able to provide an image that others could use?
Click to expand...
Click to collapse
dunno mate its got a 3gig casper file so i can save to it and have plenty of room for saving what i need. if its possible to make an image of the whole thing then im sure i can upload it to a torrent site or something
Baldyman1966 said:
As I installed rosie over the weekend I needed to put an ext2 partition on my card so used Gparted from a USB Stick. This got me thinking. I have seen people post in threads so often that they cant do ceratin mods at the moment as they are at work and dont have ADB. So I wondered if it were possible to have a usb booting version on Linux with the SDK installed and ADB setup that people could take anywhere with them and use on any available PC.
I have no idea how this would be implemented, just putting it out there for the more skilled amongst us.
Click to expand...
Click to collapse
This is actually a pretty good idea. Have eclipse, adb, everything and turn it into an .iso that would be sweet. Then Haykuro could work at school haha jk.
Hey why don't you guys use VirtualBox. It's free and it runs in windows. I use it all the time.
soulassasin101 said:
i was considering selling them on ebay but didnt think people would be intrested in such a thing
Click to expand...
Click to collapse
wouldnt that violate terms and conditions of the sdk and whatever distro you use? legally all you would be able to charge for would be the cost of the flash drive, or Google might hunt you down. lol
yeah it is illegal to sell the software... id be selling my time, it did take two hours to set up and it would only be for the udb stick and my time, as i said im happy to contribute and upload if possible for free
Usually linux distros are re-distributable, but check the license.
The Android SDK license, OTOH, specifically prohibits you to "distribute any software or device incorporating a part of the SDK" regardless of whether you charge for it or not. That is, just charging for your time/materials would still go against the SDK license if the SDK was packaged in some sort of distribution.
I'll try to do this either with or without the sdk and if that is the case then add a tutorial on how to add it yourself so we don't break the laws
My first question is what linux distro would you like? I normally would use Ubuntu.
courious about linux.
Rafase282 said:
I'll try to do this either with or without the sdk and if that is the case then add a tutorial on how to add it yourself so we don't break the laws
My first question is what linux distro would you like? I normally would use Ubuntu.
Click to expand...
Click to collapse
I would be interested to learn how considering my noob status........ I figure it would make modding my g1 a whole lot easir. Pm me or jus post to this thread. And I will use witch ever people think is the best because I have never used it.
I started with Ubuntu 9.04 since puppy can be installed on a usb from the live cd and should be faster and a matter of just installing the sdk and eclipse.
I have in mind to install gparted, eclipse, irc, and other programs. Any suggestion or help? let me know.
Okay first attepmt failed. Ubuntu didnt start the X, I may try to do it manually this time instead.
Okay I already have the Ubuntu 9.04 updated and with some softwared installed like banshee, lastfm, currently setting up and installing the sdk. But for this part is where I need help since I didnt use the emulator or anythign but the adb commnds.
you can do it with a 4-8GB USB2.0 and SLAX linux distro http://www.slax.org/
you can add modules, including gparted, then just copy your files to the USB
malaeus said:
you can do it with a 4-8GB USB2.0 and SLAX linux distro http://www.slax.org/
you can add modules, including gparted, then just copy your files to the USB
Click to expand...
Click to collapse
I tried with this one but I can never get on internet wireless, I just dont know how to. For me is easier using gnome but kde I never get used to and for me configuration is just harder on it but i'll try.
ah, i dont normally use the net when i use slax. its mainly for fixing my phone, and ill have all my files needed on the stick. including my past nandroid backups.
also, i gotta find that thread, but i read a rumour of one of the dev's working on a way to reflash your nandroid backups from the recovery screen on the g1, which would be nice. kinda off topic, nice nontheless.
this popped up earlier for me
http://www.youtube.com/watch?v=9M6MwNto3MQ
seems pretty neat but their are a few major things thatd i love to see fixed or somehowfixed.
first mouse support and internet working which would then allow apps hopefully.
and then since its a live cd whenever youd reboot the pc or restart all the info wouldnt be saved. any way for this aswell?
just would like this livedroid stuff to evolve like the andriod device has
seems kind of cool but........... this is what the emulator is for in the android SDK.
well i hope that this will eventually lead or get 1 step closer to dualbooting android, say windows/android id really like, especially with access to droid apps
have you seen what ubuntu is working on? a modified kernel to run android apps along side of regular linux. imagine a 10 inch netbook running ubuntu mobile that also runs the same apps as your phone. pretty slick. I think i remember finding it via hackaday.com but i'm sure some googleing will turn it up
I'd love android as a main distro, they need to make it easier to compile C/C++ apps though, currently wrapping them in java slows development in my opinion.
The wrapper for ubuntu looks good but i wouldn't really try it, that's just me though
well im just really trying to figure out some way to get android onto my laptop, either with flashdrive or dual booting. Id love to have windows as one and then android as the other if I had access to the internet and app store, because if im traveling some of the android apps would be very useful and they are alot easier to access and find then searching google with windows.
so any chance of this?
Here you go
http://en.sourceforge.jp/projects/livedroid/downloads/40887/livedroid_alpha.iso/
Created by Japanese developers, a bootable iso image (Live CD) of android for your computer.
Here's a translation of their webpage:
http://translate.google.com/translate?prev=hp&hl=en&js=n&u=http%3A%2F%2Fsourceforge.jp%2Fforum%2Fforum.php%3Fforum_id%3D19230&sl=ja&tl=en&history_state0=
You should be able to open the iso with any iso program such as PowerISO, or Magic ISO, etc, then repack the iso with the same program (I was able to do it in Power ISO) Shouldn't be as difficult as opening a *.img
thanks for the links but thats the same thing I posted in topic. is their anyway to put this onto a USB and have the USB bootable?
I would deff use this IF
-it had internet working
-could save the data (maybe stored onto a flash drive or turned into an actual dual boot along windows etc...)
-and with the internet working I could download apps from market place, If I could dl apps id actually use this sometimes because some of the apps would be very very useful in public with Inet access such as where, or the information apps and itd just be plain fun
so any chance of these coming?
anyone thinking of messing with this?
samrozzi said:
thanks for the links but thats the same thing I posted in topic. is their anyway to put this onto a USB and have the USB bootable?
Click to expand...
Click to collapse
Have you tried googling it? Something along the lines of "how to create a bootable usb drive linux"
Here's one I found that seems to be the most user friendly, I can't verify if it works or not with this android build (although it should.)
http://tombuntu.com/index.php/2008/08/27/create-a-bootable-usb-drive-or-memory-card/
Why not just use a virtual machine, mounting the ISO?
It is not easy to modify android to support many wifi- or lan-devices..
v6tc said:
Why not just use a virtual machine, mounting the ISO?
Click to expand...
Click to collapse
Because this is like when you're installing a fresh version of windows, or restoring.
You need the CD in the cd drive, then restart (as in shut down and start up)
But before it even starts loading windows, it loads the cd instead.
I think some computers can load from a USB drive, check your computer's BIOS
igloo77055 said:
Because this is like when you're installing a fresh version of windows, or restoring.
You need the CD in the cd drive, then restart (as in shut down and start up)
But before it even starts loading windows, it loads the cd instead.
I think some computers can load from a USB drive, check your computer's BIOS
Click to expand...
Click to collapse
That doesn't really answer his question, does it?
I think you could easily mount the iso in e.g. VirtualBox/VMWare and start it virtualized. They seem to have included a standard linux kernel with enough modules
rb2k said:
That doesn't really answer his question, does it?
I think you could easily mount the iso in e.g. VirtualBox/VMWare and start it virtualized. They seem to have included a standard linux kernel with enough modules
Click to expand...
Click to collapse
Sorry, I guess I really didn't know what he was talking about =X
But yeah you are right... hmm that should work, although I've never worked with
a VirtualBox
And in virtualbox.. You could use the "freezing"-function to freeze the state ;-) Only thing to fix is wlan/lan.
Wlan should be easier - the driver is named wlan.ko.
You need to compile a driver.
After playing around with it a bit, it's really only a novelty..
I'm running it on Virtual box.. and it seems rather pointless other then for "demonstrating android." The applications that come on it are, for the most part, inopperable and force close left and right. It doesn't seem like it has any practical use, because the available system memory is stuck at 14mb.
However, if this was developed into an installer, not just a live cd, then I could see it having a lot of potential. once you could utilize system resources it would be worth looking into developing drivers for.
For now it would be impractical and maybe impossible to establish a network connection.
i love ubuntu on my laptop but cant play with it much cuz im in photoshop most the time so am mostly in windows. i was wondering how it was on the gtab? and how to apps work with it? i assume no android market? can anyone give me some pros and cons? and how does it work with the touch screen?
Following work done on the vega, I've gotten ubuntu 11.04 running. You have to use the 2.6.32 kernel and touchscreen works. I'm trying to sort out why wireless and sound do not work. The vega folks have made much more headway at this time but they have several linux distros running on the tab.
it sounds very promising, but until the wifi is working, i can't see this as a viable os. What do you think? The lack of connectivity makes the device a stand alone - right?
I have added the driver for a usb ethernet dongle and it works. As time allows, I'm trying to sort out the wireless issue.
Considering how useful ubuntu is, if you can get everything to work with ubuntu, I'm putting ubuntu on as soon as I get the gtab.
I'm not really sure what the point of putting Ubuntu on the GTab is. I suppose there are linux apps that just aren't available in Android, but most of those are the heavy hitting apps that you'd never want to run on the GTab anyway. just trying to figure out what the point is.
There are things you can do with a linux load that android cannot do. And being a risc processor, it can do more in less memory than on a x86 processor. I want to be able to run librioffice on the tab at meetings rather than having to depend on a wireless connection to the cloud.
NMCBR600 said:
There are things you can do with a linux load that android cannot do. And being a risc processor, it can do more in less memory than on a x86 processor. I want to be able to run librioffice on the tab at meetings rather than having to depend on a wireless connection to the cloud.
Click to expand...
Click to collapse
Have you seen the "office" apps available in this forum, that came from the Notion Ink? You can do that with Android. That's kind of my point. The apps exist for the most part... Unless you want to run GIMP or some sort of CAD, which is silly to run on a tablet to start with *I* personally think.
You could theoretically install Eclipse/Android SDK and develop on the tablet.
Support usb modem $ ethernet Android -No, Linux -yes
Support cut/past between pdf and odf docs -- Android No Linux -yes
Ability to use the same linux apps that are on my netbook -- Android -No
Faster program action in linux not inside the java VM in android.
And Google may have several legal issues about stripping out the GPL2 headers out of source code.
If you want android and it's apps, that's fine. There are those of us who want a full OS and apps on our tabs. We'll work to get what we want running the way we want. Try that with an Ipad.
h3llphyre said:
I'm not really sure what the point of putting Ubuntu on the GTab is. I suppose there are linux apps that just aren't available in Android, but most of those are the heavy hitting apps that you'd never want to run on the GTab anyway. just trying to figure out what the point is.
Click to expand...
Click to collapse
Because some of us are considering using the gtab for work. I'm sure most people see it as a toy. I intend to use it for much more than a toy. A full os like ubuntu will get the job done.
unfortunately not a full OS
Look I want Ubuntu as much as anyone and I am starting my own business in Photography so another one for the work aspect...
However, it will be limited and not a full OS at least IMO until Ubuntu on the Gtablet can:
run wine (optional but not necessary) may not even work at all since wine is for windows programs and gtab is arm processor
have Flash for video and the web (would this idea have a chance at working http://forum.xda-developers.com/showthread.php?t=994433)
able to connect--read and hopefully write to CD/DVD (obviously drivers needed)
there are other limitations that we will discover too I am sure but without at least the last two from above, Ubuntu on the Gtablet will not be a full OS, a darn handy mobile one but not a full one IMO!
thanks NMCBR600 for your work on this and jersacct whos version (no touch screen has wireless) I am currently using.
I am greatly hoping NMCBR600 gets wireless going on his so I can get touch going on my tablet. Sorry that I may have ideas of my own and love what the Devs come up with here but I am helpless to do any of this myself because I am not that advanced, wish I was, I wish I was.
doihaveto said:
run wine (optional but not necessary) may not even work at all since wine is for windows programs and gtab is arm processor
Click to expand...
Click to collapse
Actually, I can live without wine. I've never had to use it.
have Flash for video and the web (would this idea have a chance at working http://forum.xda-developers.com/showthread.php?t=994433)
Click to expand...
Click to collapse
No problem, me thinks.
able to connect--read and hopefully write to CD/DVD (obviously drivers needed)
Click to expand...
Click to collapse
USB to external drive.
true about usb external drive but in my photography business I plan to be giving customers who pay for the option a cd/dvd with everything they order on it and so hence the cd/dvd function
and the flash part is there any dev who may happen to read this thread have any ideas to get flash working on arm ubuntu
thanks
Hellburger said:
You could theoretically install Eclipse/Android SDK and develop on the tablet.
Click to expand...
Click to collapse
This is actually something that I would want (Eclipse), so touche.
doihaveto said:
run wine (optional but not necessary) may not even work at all since wine is for windows programs and gtab is arm processor
Click to expand...
Click to collapse
This actually just opened my eyes to a new potential... VMWare has already shown VM's running on Android. Running a Linux VM from within Android would be utterly awesome.
wine will probably never make it to Android, because of the processor architecture issue... well, at least until vendors start shipping x86 tablets that run on recent Android versions (Wind River is working on it)
doihaveto said:
true about usb external drive but in my photography business I plan to be giving customers who pay for the option a cd/dvd with everything they order on it and so hence the cd/dvd function
and the flash part is there any dev who may happen to read this thread have any ideas to get flash working on arm ubuntu
thanks
Click to expand...
Click to collapse
But we're talking about a tablet. They have to keep the thickness around half an inch. So, I suspect that no tablet will ever have an internal cd/dvd drive. Just get an external one and carry that around. DVDs are cheaper than dirt these days anyway.
that us what I mean I have an external usb dvdrw drive but ubuntu on the gtablet will not mount anything off of it in other words it will not read/write off of the usb external drive
I can only hope that support will be able to be added with proper drivers unfortunately I don't know how that works so it won't be coming from me.
With the iso support compiled for the kernel, a linux load will see a cd/dvd. It may need external power as the tab may not provide enough through the usb port.
i have to concur
While android is a great tool for social apps, email, light webbrowsing. It fails at something as simple as copying an address from a website to spread sheet. The programs for linux are far more robust. Actually where is android gimp? The touch screen does not work as a mouse. And the key board is missing things as simple as ctrl left tohighlight
Ok, so I know that this phone can be used as a USB drive. I'm trying to install Linux on my computer, but I don't have a CD or USB drive available other than my phone. Would it be possible to install Linux using my phone?
Thanks
You would need to figure out a way for the computer to read the phones SD card as an ISO which can be done on a standard SD card using Unetbootin or something similar. However if you put it into the phone the phone itself may not see it as a usable drive and want to format it.
+1 for Unetbootin, it makes the drive bootable. However older versions would format the drive first... I think the newer versions don't, but don't hold me to that. Also it installs to the root directory of the drive so it would suck to remove it later.
No CD drive? Are you using a "slim" laptop?
If you have a floppy drive, you could do the "oooold school" install with 40+ floppies, ha ha ha.
If you have access to a second PC, couldn't you network 'em via an ethernet cross-over cable (or hub) and install over the network?
I'm gonna recommend going and buying a $10 thumb drive.
Then, as long as you're running Linux anyway, I'm gonna shamelessly plug Fuduntu.
ST3ALTHPSYCH0 said:
Then, as long as you're running Linux anyway, I'm gonna shamelessly plug Fuduntu.
Click to expand...
Click to collapse
What ever happened to RedHat? Is it still around these days?
At risk of total thread derailment:
Red Hat still sponsors the community development of Fedora and actively deveopes and supports RHEL (RedHat Enterprise Linux).
Fuduntu is a Fedora spin, for which I'm a dev (very junior though I may be).
zuriken said:
What ever happened to RedHat? Is it still around these days?
Click to expand...
Click to collapse
Its still around- a popular distro of it is fedora- it just seems most people, especially working with android go debian based instead of anything else like rpm(redhat)
Edit- and I should have refreshed the page before I responded.
di11igaf said:
Its still around- a popular distro of it is fedora- it just seems most people, especially working with android go debian based instead of anything else like rpm(redhat)
Edit- and I should have refreshed the page before I responded.
Click to expand...
Click to collapse
Fedora 14 user here.
Returning to the original idea
Well, maybe you could format your card with one of the tools Linux provides to create bootable USB drives.
The problem starts when you turn on your computer to boot from the drive, as you would have to force your phone to USB drive mode and I'm not sure if the detection process will be fast enough so the PC catches the phone as a pen drive.
However, if you have no other choice at the moment (when I formatted a netbook I preffered to buy a 8GB pendrive and forget about any other trouble) you might give it a try. If it works please post back...
I would like to know some things about the Linux on the Shield.
1) I've heard in December of the Last Year it didn't support wifi, bluetooth and SD Cards. What is their current status now?
2) Does it supports USB Devices, like Keyboard, Mouse, Ethernet Adapter (I REALLY hope i don't need this), Printer and USB HUB?
3) Is there some kind of Driver for the Tegra 4 on the Linux?
4) How do i install Linux on the Shield?
5) Is there some way to dual boot it with Android?
Hi,
MADCastro said:
1) I've heard in December of the Last Year it didn't support wifi, bluetooth and SD Cards. What is their current status now?
Click to expand...
Click to collapse
Good news - Wifi and SD cards are now working (well, most SD cards at least) on my roth_next branch: https://github.com/linux-shield/kernel/tree/roth_next Bluetooth is still out of luck for now.
MADCastro said:
2) Does it supports USB Devices, like Keyboard, Mouse, Ethernet Adapter (I REALLY hope i don't need this), Printer and USB HUB?
Click to expand...
Click to collapse
All USB devices supported by Linux should be working with SHIELD, as long as the kernel driver for them is compiled. I have played with a keyboard, mouse, network adapter and mass storage device, all connected to a hub.
MADCastro said:
3) Is there some kind of Driver for the Tegra 4 on the Linux?
Click to expand...
Click to collapse
Not sure what you mean - Tegra 4 is supported in Linux mainline, and some of its devices as well.
MADCastro said:
4) How do i install Linux on the Shield?
Click to expand...
Click to collapse
It's a quite manual process at the moment. You might want to consider what your end goal is, and whether it is worth the trouble, knowing that there is no graphic acceleration, no way to sleep, and so on. If you really want to give it a try (it implies cross-compiling the kernel, playing with fastboot, and extracting user-spaces to SD cards), let me know and I will try to come with a documentation sometime soon.
MADCastro said:
5) Is there some way to dual boot it with Android?
Click to expand...
Click to collapse
Sort of. You can store the Linux user-space on a SD card, or even in a file on your Android data partition that will be mounted as a root loopback device.
The problem is that SHIELD's bootloader only supports booting via two means:
- Whatever kernel is on the BOOT partition
- Whatever boot image is given to it using the fastboot boot command.
This means that you can either keep the Android boot image on the BOOT partition and boot Linux using "fastboot boot" while your SHIELD is connected to your PC via USB, or the other way around. But if you want to switch the system to boot, you will need to connect your SHIELD to your PC and play with fastboot.
Let me know if this answers your questions and if you need more information. What you can do with Linux on SHIELD is still limited ; but it's a fun way to get involved in kernel hacking since many missing drivers can easily be written and general support can also be improved.
"Good news - Wifi and SD cards are now working (well, most SD cards at least) on my roth_next branch: https://github.com/linux-shield/kernel/tree/roth_next Bluetooth is still out of luck for now."
Nice! No need of a ethernet adapter.
"All USB devices supported by Linux should be working with SHIELD, as long as the kernel driver for them is compiled. I have played with a keyboard, mouse, network adapter and mass storage device, all connected to a hub."
Nice. Does there is HPLIP for ARM devices?
"Not sure what you mean - Tegra 4 is supported in Linux mainline, and some of its devices as well."
I mean 3D drivers. Which would allow specific apps to run fine.
"It's a quite manual process at the moment. You might want to consider what your end goal is, and whether it is worth the trouble, knowing that there is no graphic acceleration, no way to sleep, and so on. If you really want to give it a try (it implies cross-compiling the kernel, playing with fastboot, and extracting user-spaces to SD cards), let me know and I will try to come with a documentation sometime soon."
I want to use it as an office OS for doing things that Android can't as my desktop is dead.
"Sort of. You can store the Linux user-space on a SD card, or even in a file on your Android data partition that will be mounted as a root loopback device.
The problem is that SHIELD's bootloader only supports booting via two means:
- Whatever kernel is on the BOOT partition
- Whatever boot image is given to it using the fastboot boot command.
This means that you can either keep the Android boot image on the BOOT partition and boot Linux using "fastboot boot" while your SHIELD is connected to your PC via USB, or the other way around. But if you want to switch the system to boot, you will need to connect your SHIELD to your PC and play with fastboot.
Let me know if this answers your questions and if you need more information. What you can do with Linux on SHIELD is still limited ; but it's a fun way to get involved in kernel hacking since many missing drivers can easily be written and general support can also be improved."
So i still need a Desktop for boot it? :/
Sent from my GT-S7562L using XDA Free mobile app
If you just want to use your SHIELD as an office device, your needs may be better served by one of the many "Linux on Android" apps, e.g:
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
This will allow you to run a Linux desktop alongside with Android, without rebooting, without recompiling kernels, and without requiring a desktop PC.
Graphics will be slow as death, but that should be enough for LibreOffice & pals.
Network will work using the Android stack, USB devices such as keyboards and mouse should work fine too.
Jetson TK1 Development Pack
Have either of you looked at the Jetson TK1 Development Pack and the Linux4Android drive image that comes along with it? Its based off of Ubuntu 14.04 - and i believe has acceleration - so if it were to be flashed, it 'should' work - since its meant to work on the TK1 dev kit - no garuntees though
Can we please get a documentation writeup?
Very interested in your development process. I'm a new developer, and this is my main device.