[Q] Motorola Xoom Rooted Gcc [SOLVED] - General Questions and Answers

Hey all,
So here's what I've got / am thinking. I have a rooted Motorola Xoom 3g model, and I can access the command line. Now, I realize that Apps can only be written in / run with Java in the Dalvik VM. What I fail to understand is, that things like busybox, and even Backtrack 5 has an "arm" version that you can easily install side by side with Honeycomb. So, what I'm trying to figure out is, how can I (or why can I not) write apps in C or C++ that are system based daemon's, that are Not Apps per se for the honeycomb system, but simple *nix based programs?

So, I didn't see a good way to mark this thread as solved, but I figured it out. You need to use an ARM cross-compiler (gcc/g++ has one, or you can use Code Sourcery's compiler, which I did). It was a breeze to build a simple program on my *nix box, compile it with that (arm-none-linux-gnueabi-gcc -static hello.c -o hello) and adb push it to the Xoom!

sovereign_313 said:
So, I didn't see a good way to mark this thread as solved, but I figured it out. You need to use an ARM cross-compiler (gcc/g++ has one, or you can use Code Sourcery's compiler, which I did). It was a breeze to build a simple program on my *nix box, compile it with that (arm-none-linux-gnueabi-gcc -static hello.c -o hello) and adb push it to the Xoom!
Click to expand...
Click to collapse
The way to mark a thread as [SOLVED] is to edit the first post in advanced mode and change the title.

Related

Android Native Linux compiling

I'm not sure if this is the right forum, but XDA is really the only place I can figure to ask.
I've been looking for a way to compile linux applications to run on the command line, for instance nano or lynx. I've found the "agcc hello.c -o hello
" method, but the builds I'm trying for are defendant on ./configure.
I've got a working toolchain, and can even compile android itself, and I've got agcc working. I just can't figure out how to get them all working together.
Any help?
In the ./configure, you need to point it to your compiler (i.e. "agcc").
Try "./configure --help" to see the options it is looking for to make this configuration.
I think you have to set up an arm-eabi cross compiler.
You can try the android native development kit:
http://developer.android.com/sdk/ndk/1.5_r1/index.html
I think this is designed to make native components for the normal dalvik android apps, but it may have useful information.
maxisma said:
I think you have to set up an arm-eabi cross compiler.
Click to expand...
Click to collapse
He did.... agcc is a script that runs it.
RoboPhred said:
You can try the android native development kit:
http://developer.android.com/sdk/ndk/1.5_r1/index.html
I think this is designed to make native components for the normal dalvik android apps, but it may have useful information.
Click to expand...
Click to collapse
NDK creates libraries that can be called from within native apps (i.e. shared objects). It does not create native executables.
This should help?
http://forum.xda-developers.com/showthread.php?t=431329
I've made a wee bit of progress.
My current set up is this:
Step 1: Download this
Step 2: Push it to /system/sd/usr
Step 3: Remount system AND root partitions, then symlink /system/sd/usr to /usr. Then, mkdir /tmp.
Step 4: Push sources to /system/sd. Change working directory to your extracted source file, then run ./configure --host=armv6l-unknown-linux-gnueabi --with-build-cc=/bin/gcc
Step 5: ????
Step 6: Profit
I'm still working out the bugs here, and I'll report back when I've got something working. Currently, I'm trying to compile GNU Make for Android.
check the apps section i think i rememeber somone already compiling nano for android...
i wanted to compile sshfs but then again there is a lot of things i wanna do... LOL

[TOOL] RavensScript v1.4 added BFS311 + CFS, (turbo opt, zipalign, bash)

This is a simple script i constructed to do some of your everyday usages such as mounting system as rw or ro, mounting sdcard, unmounting options and new features such as the option to install Zipalign to any rom and an option to execute Zipalign. Also the option to install bash and have a custom built bash_profile which you can edit anyway you like. Also there is an option to install my personal "mountSys" script which basically does mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 system, and all you have to type in terminal is "su" and then "mountSys" to mount system. Also reboot and exit options. If you have any special requests or bugs lemme know, im still in my rookie stages of self taught scripting nd developement.
Credit for Zipalign goes to wesgarner
Credit for bash shell goes to mzet
Credit for BFS311 ram edit goes to cyanogen
Credit for CFS ram edit goes to dwang
If you dont kno how to use or what exactly bash is click http://forum.xda-developers.com/showthread.php?t=537827&highlight=bash+profile to go to mzet's thread
Instructions
> if you dont have a folder called tmp (/sdcard/tmp) then copy the whole tmp folder to your sdcard, if you do then just cp the files to your tmp folder
> in terminal do:
sh /sdcard/tmp/ravensScript.sh
> make sure before you install anything that you mount your system by either installing my mountSys script first and then runing "mountSys" or choosing the "mount system as rw" option
AGAIN if you have any special requests or bugs lemme know nd like i said im a rookie so bare with me. Thanks
NOTICE TO DEV's, you can pull the Turbo Optimize script if you like
Changelog
v1.4
force close fix
v1.3
(added) BFS311 by cyan
(added) CFS by dwang
cleaned up a bit more
v1.2
Turbo Optimization (NEW)
Cleaned up look
Turbo Optimize is just dexopting your .apks in /system/app and a few of the framework.jar files. The idea came from digging into my friends Droid and uncovering new odex's. Also after optimizing it runs an updated 1.6 (donut) permissions script so there are no fc errors. Things should be slightly faster and a small increase in mb.
Downloads
v1.4 http://www.mediafire.com/?jtugujgnoth
v1.3 http://www.mediafire.com/file/0aybyynzzqm/RavenScript-v1.3.zip
All works well, sry for my noobinis but wats bash
cali50ex said:
All works well, sry for my noobinis but wats bash
Click to expand...
Click to collapse
Bash is a linux command shell based off of Mac OS*
Oh, alrighty lol. Thanks again
Misleading history of Bash
ravenjr said:
Bash is a linux command shell based off of Mac OS*
Click to expand...
Click to collapse
Umm, I dont want to be the computer history nerd butting in, but Bash is not based off of Mac OS*. Bash predates Mac OS X, which is the only Mac OS that is a Unix (I am not a mac guy but I am pretty sure there was no Bash in Mac before OS X, at least not in an official capacity). Mac OS X does use Bash as its primary command shell, but so does several other OSs like many Linuxs, and the GNU operating system. From the wiki:
"Bash is the shell for the GNU operating system from the GNU Project." (http://en.wikipedia.org/wiki/Bash)
clarke.hackworth said:
Umm, I dont want to be the computer history nerd butting in, but Bash is not based off of Mac OS*. Bash predates Mac OS X, which is the only Mac OS that is a Unix (I am not a mac guy but I am pretty sure there was no Bash in Mac before OS X, at least not in an official capacity). Mac OS X does use Bash as its primary command shell, but so does several other OSs like many Linuxs, and the GNU operating system. From the wiki:
"Bash is the shell for the GNU operating system from the GNU Project." (http://en.wikipedia.org/wiki/Bash)
Click to expand...
Click to collapse
Hmm interesting info, im not a windows guy period but you seem to be right so cudos
help
How do I mount system?
saenz4931 said:
How do I mount system?
Click to expand...
Click to collapse
by reading the first post
bengrulz said:
by reading the first post
Click to expand...
Click to collapse
*****s bricks in astonishment*
care to explain what turbo optimize does?
cephaus said:
care to explain what turbo optimize does?
Click to expand...
Click to collapse
haha seriously
Probably shouldnt use words like that without an explanation included... it IS a script that we'll be running on OUR phones
ravenjr said:
Bash is a linux command shell based off of Mac OS*
Click to expand...
Click to collapse
haha. Guy's got bawls coming to a forum dominated by Linux nerds saying that bash is from Mac OS.
(Mac OS is just a pale, proprietary, expensive imitation of what GNU/Linux and the open source community can do--with shiny buttons )
That said... I would love to know what exactly this "turbo optimization" is?
Having looking at the script, turbo optimization is just dexopting your APKs and the framework.
And i'm pretty sure the OP just got the code from this thread here:
http://forum.xda-developers.com/showthread.php?t=561579
IMO dexopting is ok idea if you're short on space; but when most people are either using A2SD or have larger devices, the drawbacks on dexopting everything means it's not worth it.
cephaus said:
care to explain what turbo optimize does?
Click to expand...
Click to collapse
odex's apks, its actually juz part of it, messing around with the Droid i've found even more ways to optimize nd speed things up, only problem is only part of the script will work in terminal so im writing a new script to execute from recovery console, so it will be included in v1.3
ravenjr said:
odex's apks, its actually juz part of it, messing around with the Droid i've found even more ways to optimize nd speed things up, only problem is only part of the script will work in terminal so im writing a new script to execute from recovery console, so it will be included in v1.3
Click to expand...
Click to collapse
carnegie0107 said:
haha. Guy's got bawls coming to a forum dominated by Linux nerds saying that bash is from Mac OS.
(Mac OS is just a pale, proprietary, expensive imitation of what GNU/Linux and the open source community can do--with shiny buttons )
That said... I would love to know what exactly this "turbo optimization" is?
Click to expand...
Click to collapse
Turbo optimize is just odexing apks and a few of framework.jars ,the idea came from observing my friends Droid, i removed all odexes and noticed a speed decrease, also noticing that all /system/framework/*.jars were odexed, so i just wrote the script to odex just a few of framework because im getting a bug when trying to odex the Dream's framework
there is no mountsys script in zip?
senab said:
Having looking at the script, turbo optimization is just dexopting your APKs and the framework.
And i'm pretty sure the OP just got the code from this thread here:
http://forum.xda-developers.com/showthread.php?t=561579
IMO dexopting is ok idea if you're short on space; but when most people are either using A2SD or have larger devices, the drawbacks on dexopting everything means it's not worth it.
Click to expand...
Click to collapse
Dexopting is fairly easy to write a script to execute, my script didnt come from any thread, another one of you nerds in my class actually just simply explained what it is and how to script it........that being said i pulled dexopt-wrapper from one of the first hero roms released, anyways no credit beeing taken likei said its just a basic tool and shouldnt cause any trouble but much respect due to you devs or wanna-bees......
Tried the script, after I rebooted I encountered many FC's.
It's a great idea and sounds good, but is a no-go at least for me on Cyanogenmod's latest firmware.
Most, if not all, of my apps are zipaligned already. The "Turbo optimization" only brought me more trouble, though.
Not trying to bash on your work, dev - I'm just posting my results; it's probably something gone wrong on my part.
Proxin said:
Tried the script, after I rebooted I encountered many FC's.
It's a great idea and sounds good, but is a no-go at least for me on Cyanogenmod's latest firmware.
Most, if not all, of my apps are zipaligned already. The "Turbo optimization" only brought me more trouble, though.
Not trying to bash on your work, dev - I'm just posting my results; it's probably something gone wrong on my part.
Click to expand...
Click to collapse
run fix_permissions, report back....
ravenjr said:
run fix_permissions, report back....
Click to expand...
Click to collapse
I got it fixed, after a few failed attempts to get nandroid to restore my ext backup I just went to the computer and reinstalled all of my original apk's.
I would try again to see if the problem persists and if fix_permissions would fix it, but I'm going to be needing my phone this week for notes so I need it to be in working order.

[SCRIPT] BarebonesAndroid

Hello everyone! My name is geeksunny and I am fairly new to the community. Been a lurker for a quite a while now but I finally have something to share!
BarebonesAndroid
What it is
What I have here is a Bash script to automate backing up your /system/app directory and then steps through a list of packages offering to remove them from your device. It runs on your Linux PC and uses ADB to interface with your device.
I wrote this for myself to automate the process of trimming my system down after I flash a new ROM. I recently bought a Nook Color and have been flashing CyanogenMod 7 nightlys to it pretty frequently. I also use a Motorola Droid phone and this comes in handy for the same reason on that device as well.
Seeing as how this was written with CyanogenMod 7 in mind, I am not sure how well it will work with other ROMs. I think it would work as it uses generic uninstall commands. It is based off of the packages that come in CM7 so those packages are the only ones considered by this script.
Note: I'm pretty rusty with my Bash scripting and kinda threw this together in my spare time. It may not be the prettiest script in the world but it gets the job done!
Requirements
To use this script you must...
- Be running a Linux/Unix based OS. (I use Ubuntu for my SDK machine. I don't have a Mac and do not know for sure if this will run on OSX.)
- Have ADB set up correctly and talking with your device.
- Have read/write access to your device's /system folder. (Be rooted.)
How to use it
Unzip and run ./BarebonesAndroid.sh in your terminal.
if ./BarebonesAndroid.sh is not executable, run this command:
Code:
chmod 775 BarebonesAndroid.sh
- It will first ask you to confirm that the device is connected and recognized by ADB.
- It will then ask if you want to back up your /system/app directory before removing any packages. If yes, you can specify a directory for the script to back them up to. It will default to ./apkBackup
- After this it will begin ask you one-by-one if you want to remove a given package. Enter Y or N for each package.
- When the script is finish it will reboot your device.
Future plans
I originally wrote this for myself but thought this could be useful to others out there. Right now the requirements aren't all that accessable to the average user (Linux OS with ADB set up). If there is a demand for it, I may write a Windows batch script version, or maybe convert it into a cross-platform command-line application. Let me know what you think of this idea!
I do have a book on Android development and my eventual goal is to turn this in to a native app!
Regarding the script...
- Add support for multiple devices. Right now it asks that you only have one device connected at a time. This is because I haven't had experience with multiple devices hooked up at once. I plan to fix that in the future.
- Add more error checking and failproofing.
- Streamline the experience. Make things a little more graceful than going through a set list one-by-one.
- Sort the apps. Perhaps add categories.
- Check installed packages and only offer to remove them if they are installed.
Thats it! Thanks for looking!
Thanks dude, good work!

[Q] GCC running on Android

Is there a way to compile the GNU toolchain for Android (making it possible to compile c code directly on the phone using gcc and binutils)?
I tried using the ANDROID-NDK to compile a simple c hello world program (no app) outside of Eclipse, using the prebuilt GCC ARM compiler. But I failed, got different errors spitted at me. I will have to read more about how to use the NDK.
But to the reason of this thread. Is this even possible? Will the toolchain libraries be too big for the phone memory if I compile them statically? And that's what I have to do right? Can Android run dynamically linked binaries?
Sent from my GT-I9100 using Tapatalk
Does anyone know how to do this?
Google it: "agcc" or "gcc android"
Probably will help you.
Really bad answer. I'm looking for info on how to make GCC run on the phone.
If you don't know don't post.
colapro said:
Is there a way to compile the GNU toolchain for Android (making it possible to compile c code directly on the phone using gcc and binutils)?
I tried using the ANDROID-NDK to compile a simple c hello world program (no app) outside of Eclipse, using the prebuilt GCC ARM compiler. But I failed, got different errors spitted at me. I will have to read more about how to use the NDK.
But to the reason of this thread. Is this even possible? Will the toolchain libraries be too big for the phone memory if I compile them statically? And that's what I have to do right? Can Android run dynamically linked binaries?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Check into side booting linux off of your sdcard... That seems like the only way possible to me... There is a market app that will get you all set up with ubuntu. All you need is a device that has a kernel with loop support in it... http://www.xda-developers.com/android/load-ubuntu-on-your-android-device-with-ease/
Sent from my PG06100
Also, according to drob311 post, you can use Linux Installer by Geloula that's available from Google Play (Market)
If your phone and it's kernel supports booting Ubuntu or another form of Linux (BackTrack is awesome), then that's probably your best bet. You'd probably have more luck running just the terminal part, and not using the GUI (it's quite awful if you don't have enough free RAM). Considering cross compiling is needed on x86 or 64 bit machines and it takes quite long and makes the computer heat up really badly, I'm not sure how much you would really want to try it on ARM, especially since most phones nowadays only have 1GB of RAM. Could be faster and simpler since its ARM on ARM, or maybe your phone/tablet will blow up in your hand. If you really want it though, try it. Eclipse is also available for ARM Linux, if you'd want that.
Thanks for your replies!
I was looking for something more like how to build GCC to make it run on Android and to let it use the Android C lib. I was experimenting with os deving a while ago and to do that I had to build a GCC cross-compiler (tutorial on osdev.org wiki). It's something similar to this that I want, but it should:
* Run on Android.
* Produce code for Android.
Should probably look for build parameters for GCC and binutils.
I can't seem to find a prebuilt binary of GCC that runs on Android.
Sent from my GT-I9100 using Tapatalk
AIDE will let you write/compile/run Java code for Android apks on your device. It seems to work well.
I haven't tried it, but C4droid claims to do the same for C, and also has an available GCC Plugin. Might be worth a look.
This could be interesting for you. theGanymedes -> Linux in Android! DesirAPT is at Beta Test! [9 Feb]
I've searched for Cross-compiling Linux Apps to Android to, but got stuck with resolving the dependencies of the Linux App i tried to port to Android. :/
Download gcc plugin for c4droid.apk
Open apk file,you will find gcc.zip in assets folder
Extract gcc.zip to your internal storage
Add gcc path to path variable
Code:
export PATH=$PATH:path-to-extracted gcc/bin
Rename androideabi-gcc to gcc
Run command gcc
This should work even without root in some versions of android
colapro said:
Is there a way to compile the GNU toolchain for Android (making it possible to compile c code directly on the phone using gcc and binutils)?
I tried using the ANDROID-NDK to compile a simple c hello world program (no app) outside of Eclipse, using the prebuilt GCC ARM compiler. But I failed, got different errors spitted at me. I will have to read more about how to use the NDK.
But to the reason of this thread. Is this even possible? Will the toolchain libraries be too big for the phone memory if I compile them statically? And that's what I have to do right? Can Android run dynamically linked binaries?
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Q1. Is this even possible?
it is possible, i did it today and compiled pcre library and the silver searcher app which uses it. Used ndk and juice ssh to dev and test. Requires root as far as i know because most areas are mounted as noexec and accessing /data/local needed root. Theres some loop method on sdcard which is foreign to me, but MAYBE doesnt require root.
Q2. Will the toolchain libraries be too big for the phone memory if I compile them statically? And
Didnt try static yet, but will assume no problems. also depends on your phone, the one that i ran has 4GB of RAM and 64GB of flash storage.
Q3. that's what I have to do right?
this q is unclear to me.
Q4. Can Android run dynamically linked binaries?
yes, this was how i linked with libc and libgcc with licpcre and with the ag app.
Plan to write out the steps in the next week or two.

[Q] where are the x86 tablet hackers?

I just bought my first tablet. An acer Iconia a1 830. rooted it the first day, got some chroot linuxes going, ssh into some other boxes. awesome.
so my googles have come up short looking for people who are running (or trying to run) x86 linux on x86 tablets. Ive been building and breaking linux for about ten years now and i think i could help this effort. everything i have found is for arm ports and stuff. I know i am not the only one who is looking at his x86 tablet wondering how to get some dual boot action out of this.
send me a link to the place i need to go, to find the people who are thinking about this.
acer iconia a1 830
htc desire hd running some cyanogenmod
danharris said:
I just bought my first tablet. An acer Iconia a1 830. rooted it the first day, got some chroot linuxes going, ssh into some other boxes. awesome.
so my googles have come up short looking for people who are running (or trying to run) x86 linux on x86 tablets. Ive been building and breaking linux for about ten years now and i think i could help this effort. everything i have found is for arm ports and stuff. I know i am not the only one who is looking at his x86 tablet wondering how to get some dual boot action out of this.
send me a link to the place i need to go, to find the people who are thinking about this.
acer iconia a1 830
htc desire hd running some cyanogenmod
Click to expand...
Click to collapse
Hi,
I have an 830 and a Razr i, I've tried to get chroot running on both when I first got each of them, but didn't finish the things. I'm pretty sure if I gave it a few more hours I'd be able to get it running, but as of now no luck.
I will tell you the progress I made though.
You've probably heard of linux on android or complete linux installer http://linuxonandroid.org/, and I'm sure you worked out pretty quickly the version of busybox they gave you, along with the images, where for arm.
It might pay to message, but let's be honest, in this case WE are the developers, and unless one of us is willing to send them one of our devices we'll have a hole lot more luck trying it ourselves.
Busybox x https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete&hl=en can install an x86 binary, and it certainly runs, but I had some issues that may be related to how it was compiled, or just me being an idiot.
You say you've been playing with linux for 10 years, so I know you probably already know this, but just in case, and for others reading this, it's probably worth explaining. chroot isn't a VM nor is it a system for traditional duel booting. It will allow you to run a linux userland from the already running linux kernal on the device, alongside android. It works by specifying a directory or image with a linux install in it, then telling the kernal to start that **** up, as if it where the kernal in the instalation.
Now, onto my progress. I was able to run chroot, so it was obviously an x86 binary, I was also able to mount an image of an x86 debian install made with debootstrap (What linux on android uses to make their ARM images) on my SD card. The first problem I had was android doesn't give stuff on the SD card execute permissions, and stuff got messy, but I eventually got that working. Do as you see fit.
I had numerous other issues, but the one I finally got stuck on was chroot not being able to find /bin/bash in the debian install directory.
I played around with the boot scripts you get with linux on android, but I don't think chroot evern ever ran from there. Neither was I able to run a plain "chroot /mnt/debianimagemounted/", I kept getting the "can't find bash" thing. I'm guessing this could have been because the linux for android scrypts made aliases before running chroot. Read them for yourself to see what I mean.
This all could be as simple as redirecting the linuxonandroid program from the arm version of chroot it uses to an x86 copy, or it could be more difficult.
Actually, I'll email them now, I'll post any response I get here.
I don't think there really are many people talking about this, I mean your post was the first google hit for "x86 android chroot", so this is probably gonna take some effort on our part.
I'm pretty busy with study right now, but in 2 weeks or so I'll dedicate a few solid days to getting this running.
As far as I can tell all we need is some good hard trial and error.
Can't wait to hear from you.
One other thing, I forget where but heard that you should try to stick to i386 binaries only, and that i686 ect could cause problems, but I don't know this for sure. Again, use your own discretion.
---------- Post added at 05:12 AM ---------- Previous post was at 04:15 AM ----------
Sorry, last time I post, but I found this, you might want to check it out:
http://sven-ola.dyndns.org/repo/debian-kit-en.html
Yup, from what I've found, Debian-kit seems like the most promising project. Heres a link with a little more insight.
wdowiak.me/debian-kit/index.html
For anyone else who gets here... this is what I used to root the 830
androidfilehost.com/?fid=23578570567714700
then I got Debian-kit from fdroid because it has a newer version, but the one from google play works fine too. get your connect bot and RDP client and ur off to the races.
***sorry for the non linked links, Im not allowed to post real links yet
Dan, I think wdowiaks kit in your link is newer than the fdroid version and installs Wheezy. It definitely has good install info. I rooted my new a1-830 yesterday and installed the wdowiak version in the initial install version (not the one on the external sdcard). I had a little problem with the Iconia not mounting the external card formatted to two ext2 partitions, so the install was to internal memory aas a first try.
But today I removed the deb installation and reformatted the external card to 3 partitions with vfat on the first, and ext2 on the other two, and Android mounted the first partition where the deb script was located. So I'm hoping to install tonight. I was surprised the ext2s werent mounted automatically. But this might be a gtood thing, since there are warnngs not to let Android apps write data to them anyway.
Anyway, wanted to thank you for the above Debian info.:good:
Some notes as I'm installing the wdowiak debian-kit-1-6.shar:
I'm installing to the third partition on the sdcard (which shows up as /dev/block/vold/179:53)
At first I had trouble using the command:
mk-debian -i /dev/block/vold/179:53
I had to issue it as:
/data/local/deb/mk-debian -i /dev/block/vold/179:53
but even then it threw an error saying it couldn't fdisk 179:48 .
That seemed odd. But it didn't stop there and went on to query if I wanted to format 179:53 or " (A)bort " I decided to go ahead and typed a "Y" and was brought back to a prompt.
That didn't seem to work, so I tried again by just hitting <ENTER> . But that had the same result. Finally I figured out that the response it wanted to proceed was lowercase "e". That worked and the partition was formatted -- the install is going on now.
One other note -- though I originally partitioned as ext 2, the mk-debian command seems to be re-formatting to ext 3. There is a suggestion earlier that if it is to be a journaling format, rather than ext2, to turn journaling off. This reduces the number of writes and therefore extends the life of the sdcard.
---------- Post added at 10:52 PM ---------- Previous post was at 10:05 PM ----------
More notes:
I got a lot of error messages from debconf about needing a certain screen size during:
apt-get install andromize
Nevertheless it proceeded through. I'm now at the stage in connectbot where Ive logged into my user through ssh and am adding the lxde desktop via
apt-get install andromize-lxde
That's a pretty big chunk of realestate for a desktop -- almost a gig unpacked -- I'm used to Puppy Linux which is about 100 megs total for everything, including OS, desktop, and a full suite of apps!
I'm hoping that with some experience w/Wheezy on the a1-830 I can try getting an Intel Atom optimized version of Puppy linux on board.
danharris said:
so my googles have come up short looking for people who are running (or trying to run) x86 linux on x86 tablets...send me a link to the place i need to go, to find the people who are thinking about this.
Click to expand...
Click to collapse
Hi...I don't know much about this at all to be honest, but its an interesting thread and I found some links which will hopefully help you a little bit, though you may already be aware of them:
http://www.android-x86.org/
http://www.in.techradar.com/news/so...stros-to-choose-from/articleshow/38781789.cms
https://community.kde.org/Plasma/Active
All the best!
Thanks ishaang.
The middle link was pretty interesting, though I wish they had elaborated on their installation method:
We're fairly sure you don't need to be told how to install a Linux distro - most now use an identifiable and easy-to-navigate installer - but we thought it would be interesting to see how well they coped, first as a live image, via a bootable USB, then secondly as a fully installed OS.
Click to expand...
Click to collapse
My own interest is in Puppy Linux, which is generally accomplished from an ISO live CD session running in memory (on most computers). You run the CD then install to HD or USB stick.
For a so-called "frugal install" (the kind I use) there's another option besides making and running the LiveCD, You can just extract three files from the ISO, place them in a folder on the HD and point a stanza of GRUB's menu.lst to them. Typically the files are:
initrd.gz
vmlinuz
puppyversion.sfs
and an example GRUB menu.lst boot stanza for the Racy 5.5 version of Linux located on sda5 of a hard drive would look like this:
title Racy 5.5
kernel (hd0,4)/Racy55/vmlinuz PDEV1=sda5 ro
initrd (hd0,4)/Racy55/initrd.gz
boot
So I'm wondering how this translates to an alternative OS boot on the Iconia tablet? -- I could easily put those three files on an external sdcard, but how do we point the boot process to it on the a1-830?
Any update to this since 2014, I know i'm resurrecting a old thread. Hoping to breath new life into an x86 android 4.2 device.

Categories

Resources