A chroot of ubuntu on transformer? - Eee Pad Transformer Q&A, Help & Troubleshooting

Im curious wether or not there is a way for me to have a chrooted ubuntu on my transformer...? I saw something on youtube where they did it on a galaxy 10.1, and in the comments the maker of the video said it does work on the transformer.
But i am curious if anyone has tried it and is certain whether or not it work.
if this method is not possible, are there any other methods with similar results...?

... really? search before you post
http://forum.xda-developers.com/showthread.php?t=1145601

mrevankyle said:
... really? search before you post
http://forum.xda-developers.com/showthread.php?t=1145601
Click to expand...
Click to collapse
i read that, but dont completely able to understand it... could someone help me out with installing it?

The easist thing is to download Linux Installer off the market. I found that Debian (ARMv5) offers better package choices than Ubuntu (ARMv7) in that case. I have mine running off /data/local/mnt/Linux with Debian stable.

Spidey01 said:
The easist thing is to download Linux Installer off the market. I found that Debian (ARMv5) offers better package choices than Ubuntu (ARMv7) in that case. I have mine running off /data/local/mnt/Linux with Debian stable.
Click to expand...
Click to collapse
i attempted this, i managed to get debian but it did not have a gui.... How would i go about installing one.?

To get a GUI going that route you basically set it up to use VNC for running X stuff and then connect via an Android VNC client; I don't recall the name of the server but there were multple links on Google when I searched back in September.
I don't personally need X along side Android and the chroot, so I don't have it set up.

Related

ubuntu

Any way to install Ubuntu?
Deleted. Didn't read posting section. Sorry
Sent from my ADR6300 using XDA App
Try running it off of a a USB stick. It's a long shot but...
Has anyone tried this?
http://forum.xda-developers.com/showthread.php?t=823370
http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now
linckraker said:
http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now
Click to expand...
Click to collapse
I looked at that before but was and still am reluctant to try it. If you look around in those instructions is starts talking about "onboard ethernet" and there is a cfg file for "crt" and one for "hdmi." I'm pretty sure that is written specifically for the tegra dev-board which has multiple video output options as well as other hardware options that we do not.
I would be hesitant to try this on our Gtabs.
photonmedia said:
I looked at that before but was and still am reluctant to try it. If you look around in those instructions is starts talking about "onboard ethernet" and there is a cfg file for "crt" and one for "hdmi." I'm pretty sure that is written specifically for the tegra dev-board which has multiple video output options as well as other hardware options that we do not.
I would be hesitant to try this on our Gtabs.
Click to expand...
Click to collapse
Have you tried the "conventional" approach via VNC I mentioned in post #4? I still can't get adb working with my G-tab, but I'd like to be able to run ubuntu... (esp the new netbook edition)
case-sensitive said:
Have you tried the "conventional" approach via VNC I mentioned in post #4? I still can't get adb working with my G-tab, but I'd like to be able to run ubuntu... (esp the new netbook edition)
Click to expand...
Click to collapse
I've played with the VNC approach on some of my phones, but I have never really considered that a viable option as you are running Ubuntu on top of Android and using a separate app to connect to it via VNC. "Performance" takes a big hit. Running it natively is the only REAL options as far as I am concerned.
I just remember that the AC100 -- smartbook version of Toshiba's tegra2 tablet -- has been "running" ubuntu for over a month:
http://www.carrypad.com/2010/10/01/hacked-toshiba-ac100-ubuntu-10-10-is-running/
It's not yet a finished product (check out the official toshiba forum linked there), but it's in the right direction. I wonder if we could port that to our g-tablet?
There is a video of a Toshiba AC100 Ubuntu Demo on YouTube.com. I haven't posted enough messages on this site for me to be allowed to post a link here but if you do a search on YouTube for "Toshiba AC100 running Ubuntu 10.10 - Apps demo" you will find it.

[Q] App to write Android Apps

I want to get into writing android apps but do not have a PC, only a Transfomer original TF101.
Are there any coding apps out there that I can use instead of the SDK / emulators that you use on PC?
I dont mean an app to create/write the code for me, simply an app that allows me to create all the files and write the code needed myself but on the TF instead of on the PC.
Many thanks!!!
Yes............
You could try JavaIDEdroid: https://market.android.com/details?id=com.t_arn.JavaIDEdroid
I do development work on a laptop, and I hate it. Fed up scrolling and tabbing about just to look at a line of code. I recommend a desktop with a decent widescreen. Or maybe hook up that hdmi cable....
This like many questions has been asked so many times that I stop answering so much.
Sent from my Transformer Prime TF201 using Tapatalk
goodintentions said:
Yes............
Click to expand...
Click to collapse
Spidey01 said:
This like many questions has been asked so many times that I stop answering so much.
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
Believe me I tried searching (alot!!) both on XDA and google and really struggled to find them. I guess the search terms are very general so it was hard to hone in.
I'll try that app suggested above, do you guys (or anyone else) have any other suggestions to look at, or can point me to a thread on XDA which has this kind of info in it?
Spidey01 said:
This like many questions has been asked so many times that I stop answering so much.
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
I've never seen any threads on this topic, but would love to find out more.
Care to point us in the right direction?
Tapatalk sucks for searching, be it my posts or the forums in general. Most stuff I have is in Simplenote or my blog, and probably all but setup notes posted on XDA.
The general case: either you use something that doesn't work exactly like the SDK (i.e. Terminal IDE from the Market), or you setup an environment you can run the necessary tools in. I have a Debian stable chroot on my device with JDK, Ant, and Android SDK setup, the only problem is a few programs like render-script support, the emulator, and maybe one core program for doing the usual ant builds (aapt I think).
So you can use the Android SDK almost perfectly fine on device, only thing is you can't make an APK or use the ant build without compiling something from the SDK yourself (and I don't know where the source is, and ASOP is a big ass thing to download now just to run grep). All the pure "Java" parts work and you can run natively by using a real JDK on your device. The Android SDK is like 90-95% pure Java code and doesn't need a GUI to function if you can live that way.
Other wise you're limited to doing things the harder way than just here's the code, make APK and go clickly in a file manager.
You can even make regular Java code that will run on Android+davlik, as long as you don't use things missing from the Android API (like Swing) and know enough about how .java becomes .apk to put it in Dalvik format.
I don't know if Eclipse and the ADT work differently or not, so I have not tried them on device. Yes, you probably could use Eclipse on device if you do the Xvnc+a VNC client but ahem, I don't even like running Eclipse on a hell of a lot more powerful hardware. With a bit of tweaking to use the right SWT, the SDK manager could run its GUI the same way but that's more bother (to me) than using a little command line fu.
For editing code either an Android app or a Linux app can be used. I use vim because I have used it since like '05. Some might prefer e.g. Touchqode.
Something like Terminal IDE is probably best for people that don't understand things but you can't do a "Regular" build like with the Android SDK on a PC.
Oh, and btw if anyone knows where I can find the source for the Android SDK, let me know because I want to get it compiled for my tablet .
Sent from my Transformer Prime TF201 using Tapatalk

Ubuntu For Android (Not Ubuntu Installer)

The guys over at Ubuntu are developing something REALLY nice for the Android that are able to support both HDMI and USB, which I think the PLAY is capable of. This is some legit stuff guys! Time to revolutionize!
http://www.ubuntu.com/devices/android
It says that it's for multi-core phones, but maybe this could be ported to work on the PLAY in the long run? Discuss here!
EDIT: Something already popped into my head, since other Ubuntu distros can already be merged with the original Ubuntu itself, do you think removing the Android Ubuntu elements and adding them to a desktop Ubuntu system, then connecting the phone via USB with Debugging enabled would do the trick?
I'd love it if someone ported it to the Play, but I doubt it will happen... I guess they say it's for dual core phones for a reason (performance!)
Sent from my R800i using XDA
Selim873 said:
The guys over at Ubuntu are developing something REALLY nice for the Android that are able to support both HDMI and USB, which I think the PLAY is capable of. This is some legit stuff guys! Time to revolutionize!
http://www.ubuntu.com/devices/android
It says that it's for multi-core phones, but maybe this could be ported to work on the PLAY in the long run? Discuss here!
EDIT: Something already popped into my head, since other Ubuntu distros can already be merged with the original Ubuntu itself, do you think removing the Android Ubuntu elements and adding them to a desktop Ubuntu system, then connecting the phone via USB with Debugging enabled would do the trick?
Click to expand...
Click to collapse
From what info i have got about the system it really is much like my project but tailer made to the tes device (atrix 2) with extra goodness that a team working hard have come up with...and not just me lol.
But if they release source it should let us come up with a installer that does everything they show for a much larger range of devices...we are already working on some of the features just a big 'watch this space'
Sent from my GT-N7000 using xda premium
It's already possible to run a full linux distro under Android. Bit hacky though. It runs in the background and you have to VNC into it to use the GUI. Works pretty nicely however. There are a few apps which automate the process, including this free one which works pretty well now:
play.google.com/store/apps/details?id=com.galoula.LinuxInstall&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5nYWxvdWxhLkxpbnV4SW5zdGFsbCJd
Nextil said:
It's already possible to run a full linux distro under Android. Bit hacky though. It runs in the background and you have to VNC into it to use the GUI. Works pretty nicely however. There are a few apps which automate the process, including this free one which works pretty well now:
play.google.com/store/apps/details?id=com.galoula.LinuxInstall&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5nYWxvdWxhLkxpbnV4SW5zdGFsbCJd
Click to expand...
Click to collapse
He knows this hence the (Note Ubuntu Installer) referring to one of my apps
Still no news here looks like its not running inside android like a vmware. Needs a dual core so that each core runs a different os. Ubuntu is utilizing one of the cores so would be worth while overclocking where possible. The host core still runs android so that they run together on the oppisite clocks

[Q]Installing Debian/Ubuntu Server on OTT Tv Box M8

I have the ott tv box m8, which is the square variant, which I don't really use any more. Since people are converting their Raspberry Pi into a server, I thought I'd give it a go on the android box.
I managed to root the device, downloaded the Debian iso image file, but have no idea how to proceed from here.
Anyone kind enough to point me in the right direction to install it?
You won't be able to completely remove Android, but you can run Linux off of its kernel.
Is your device rooted? If so Linux Deploy can do the trick.
What would you use this server for? Chances are there's an app for it. You may want to check out Servers Ultimate Pro.
jerbear294 said:
You won't be able to completely remove Android, but you can run Linux off of its kernel.
Is your device rooted? If so Linux Deploy can do the trick.
What would you use this server for? Chances are there's an app for it. You may want to check out Servers Ultimate Pro.
Click to expand...
Click to collapse
Personal sites mostly, nothing heavy. I'd like to access them over the Internet though.
I do have root access, unfortunately the app you suggested is not free. Is there another alternative?
I'm also not very experienced when it comes to flashing on Android hardware. What's the reason for not being able to remove Android and install Debian/Ubuntu on it?
ScarfaceMT said:
Personal sites mostly, nothing heavy. I'd like to access them over the Internet though.
I do have root access, unfortunately the app you suggested is not free. Is there another alternative?
I'm also not very experienced when it comes to flashing on Android hardware. What's the reason for not being able to remove Android and install Debian/Ubuntu on it?
Click to expand...
Click to collapse
The bootloader is not made for booting Ubuntu. It boots a modified Linux kernel that launches Android.
There is a lite version of Servers Ultimate. I'm not aware of what the restrictions are.
Amazon has deals on Servers Ultimate Pro a lot. I got it when it was free a couple weeks ago.

Wine 3.0 on Android

It is here,
https://dl.winehq.org/wine-builds/android/
But ain't working on pixel. I am pissed off. Any workarounds?
It is not compatible with Oreo yet.
Just let them know on their forums:
https://forum.winehq.org/viewforum.php?f=2
NoobInToto said:
It is here,
https://dl.winehq.org/wine-builds/android/
But ain't working on pixel. I am pissed off. Any workarounds?
Click to expand...
Click to collapse
Look into Crossover. It uses WINE. http://www.androidpolice.com/2017/11/07/crossover-android-chrome-os-enters-open-beta/
skawtnyc said:
Look into Crossover. It uses WINE. http://www.androidpolice.com/2017/11/07/crossover-android-chrome-os-enters-open-beta/
Click to expand...
Click to collapse
Unfortunately, it is not for ARM devices...
I hope they'll update it so it's compatible with Android Oreo devices.
Looks like the new WIne 3.0 is ARM-compatible, and has been compiled for ARM devices:
https://dl.winehq.org/wine-builds/android/
I have Oreo on my Nexus 7 2013, wine works, tried to install some apps but no luck, only errors. Internet Explorer works, but i see only blank white web pages
numbazZ said:
I have Oreo on my Nexus 7 2013, wine works, tried to install some apps but no luck, only errors. Internet Explorer works, but i see only blank white web pages
Click to expand...
Click to collapse
what kind if binaries / apps were u trying to run?
nine7nine said:
what kind if binaries / apps were u trying to run?
Click to expand...
Click to collapse
Tried Live For Speed installer, also exe from unpacked game, and some photoshop cs6 repack) as i know LFS works good on wine.
Will try something else tomorrow
numbazZ said:
Tried Live For Speed installer, also exe from unpacked game, and some photoshop cs6 repack) will try something else tomorrow
Click to expand...
Click to collapse
how about trying actual arm binaries?
ie; windows rt, win8 arm && win10 arm PEs
last I heard, while the wine devs are working on x86 on arm, it wasn't ready - when compared to say; win10 for arm's x86 emulation layer...
I also know that in the past to run x86 binaries in wine on arm, you have to have binfmt_misc enabled in the kernel + qemu (emulator) to make it all work...
not sure, where things are at, at the moment. but I'd try running actual Arm compiled windows app and see if they run.... idk, I can't imagine that Wine is super useful on android yet. that said, I am curious - as I used to maintain buillds and patchsets for wine...
Only binaries compiled for ARM will function under Wine. You can find an updated list in the second post of this thread: https://forum.xda-developers.com/showthread.php?t=2092348
skawtnyc said:
Only binaries compiled for ARM will function under Wine. You can find an updated list in the second post of this thread: https://forum.xda-developers.com/showthread.php?t=2092348
Click to expand...
Click to collapse
it should be noted, this is specifically windows rt / win8 arm apps... and hasn't been updated in 3yrs.
I suspect that if u were to investigate the windows app store / UWP apps - there are probably a much higher number of windows apps that potentially could run in wine / for arm - but then you would likely require the Microsoft store or some other way to get the apps running in wine (not sure if wine even supports them).
skawtnyc said:
Looks like the new WIne 3.0 is ARM-compatible, and has been compiled for ARM devices:
https://dl.winehq.org/wine-builds/android/
Click to expand...
Click to collapse
It is not pixel compatible, and that is all this thread is about.
NoobInToto said:
It is not pixel compatible, and that is all this thread is about.
Click to expand...
Click to collapse
To be honest I only installed it on my Pixel C, not my Pixel phone. Doing so would have been pointless since the resolution makes it very difficult to use. Also there's no way to access the software keyboard, making it even more difficult to use.
Even if you could install it, and those other issues were resolved, it doesn't have a x86 emulation layer so you're pretty much stuck with those old Windows RT apps and not much else. You're looking at something that really doesnt have much more value than proof of concept. I'm probably going to end up migrating my tablet to something like the Pixelbook so I can run Crossover on it and have both android and x86 Windows apps run natively.
skawtnyc said:
To be honest I only installed it on my Pixel C, not my Pixel phone. Doing so would have been pointless since the resolution makes it very difficult to use. Also there's no way to access the software keyboard, making it even more difficult to use.
Even if you could install it, and those other issues were resolved, it doesn't have a x86 emulation layer so you're pretty much stuck with those old Windows RT apps and not much else. You're looking at something that really doesnt have much more value than proof of concept. I'm probably going to end up migrating my tablet to something like the Pixelbook so I can run Crossover on it and have both android and x86 Windows apps run natively.
Click to expand...
Click to collapse
Well, I would still like to try it out. If they manage to make it work with windows 10, say, windows 10S , it would be cool, since windows 10 is more touch friendly than 7 . It is in the works I believe, to be made possible via qemu (full arm compatibility). Time will tell.
NoobInToto said:
It is not pixel compatible, and that is all this thread is about.
Click to expand...
Click to collapse
NoobInToto said:
Well, I would still like to try it out. If they manage to make it work with windows 10, say, windows 10S , it would be cool, since windows 10 is more touch friendly than 7 . It is in the works I believe, to be made possible via qemu (full arm compatibility). Time will tell.
Click to expand...
Click to collapse
My biggest regret about this is that I don't have an emulator to run Diablo II on my tablet. Sure, there are other games, but they don't really capture the experience the same way.
skawtnyc said:
My biggest regret about this is that I don't have an emulator to run Diablo II on my tablet. Sure, there are other games, but they don't really capture the experience the same way.
Click to expand...
Click to collapse
I managed to make doom 3 to work on my phone ( I don't recollect which one, pixel or nexus 6p, I switched to pixel about 2 months ago). I am not sure about diablo.
NoobInToto said:
It is not pixel compatible, and that is all this thread is about.
Click to expand...
Click to collapse
beyond installing, it doesn't seem to work for me... also, i'm unclear on whether this build is arm64 compatible.? (I know wine has an arm64 preloader though).
skawtnyc said:
Even if you could install it, and those other issues were resolved, it doesn't have a x86 emulation layer so you're pretty much stuck with those old Windows RT apps and not much else. You're looking at something that really doesnt have much more value than proof of concept. I'm probably going to end up migrating my tablet to something like the Pixelbook so I can run Crossover on it and have both android and x86 Windows apps run natively.
Click to expand...
Click to collapse
I suspect that running qemu + wine-x86 would be the better route to go (vs wine-arm or running qemu + windows)... i'm not too sure what the overhead would look like, but people are doing it on the rasberry pi 2/3...
it's probably also possible that using some of wine's env variables would improve performance (realtime priviledges for wineserver, critical threads, etc) and patching wine to support other enhancements (which is what I would do anyway, on my linux box).
NoobInToto said:
Well, I would still like to try it out. If they manage to make it work with windows 10, say, windows 10S , it would be cool, since windows 10 is more touch friendly than 7 . It is in the works I believe, to be made possible via qemu (full arm compatibility). Time will tell.
Click to expand...
Click to collapse
i'd like to, as well...
technically, you can run qemu + x86 wine on arm, right now. I just don't believe that anyone has packaged it up nicely for android...
and it would require additional manual configuration, init script, possibly a script/wrapper for launching apps too, depending... Another issue would be the vast majority of stock kernels don't have the support or enable stuff that is going to be required... mine suports binfmt_misc (which qemu will require), but i think other stuff may be needed. not positive.
it can't be that hard though, but I don't have much experience with qemu (and none on android), wine on the other hand - lots of experience with on linux. same goes for winelib...
does anyone know how to get access to the internal storage?
I cant even try to install anything, because I dont know where the Wine-Files are located.
Btw I'm using a Lenovo YogaBook
Thanks
trfr3ak said:
does anyone know how to get access to the internal storage?
I cant even try to install anything, because I dont know where the Wine-Files are located.
Btw I'm using a Lenovo YogaBook
Thanks
Click to expand...
Click to collapse
you'll have to figure out how to get into your internal storage yourself, but having a a proper file manager helps. you may need root to view the files (I did on my pixel)... also, not sure why you are asking for help for your yogabook in the google pixel forum...? (you probably shouldn't be).
as for where the files are. it's android, so app data is usually stored in /data/data/your.app.name... and this would be where wine installs it's binaries and prefix too. (org.winehq.wine)
---------- Post added at 10:22 PM ---------- Previous post was at 10:18 PM ----------
so yeah. looking at the binaries. they are compiled as arm-v7a. ... they should run (although, by default after install, they aren't in the PATH / can't be executed from a terminal)....
I guess maybe the arm64 version just isn't ready at this point && wine-3.0 for arm requires some manual setup on the pixel... might tinker with it later, or look into qemu + wine x86... we'll see

Categories

Resources