{HOW TO} Native Debian on A500 and building your own rootfs - Acer Iconia A500

{INTRO TIME!!}
Alright, so I've been following threads on native Ubuntu and other Linux on Iconia A500, and they all seem to be aimed at experienced developers and veteran Linux users. Although I'm new to XDA, I've been using Linux for a while.
This thread is aimed at new Linux users and those who need a command-by-command tutorial on building a rootfs and getting Linux up and running on their Iconias.
Everything is working besides GPS, bluetooth, and sound. I'll try to find a solution after I get to 10 posts.
***DO THIS AT YOUR OWN RISK***
OK, so here goes...
1) Make sure you have a multi boot boot loader on your tab. I use skrilax_cz ICS v6. If you don't have a boot loader, read this: http://forum.xda-developers.com/showthread.php?t=1619913
2) Flash the recovery Linux kernel from this thread: http://forum.xda-developers.com/showthread.php?t=1158260 and while you're at it, also download that xorg.conf, we'll use that later.
3) That kernel can only boot from mmc1p2, so you'll need to partition your SD card. Start by loading Ubuntu or a similar Linux distro on a computer and use GParted. Make a small general storage partition in FAT32, make a large EXT4 partition (this is where you will store Linux and boot it) and optionally, you can create a 1-2GB Swap partition.
4) Now here's where the real work starts.................................
4i) install qemu ARM stuff on your Linux machine. For Ubuntu - sudo apt-get install qemu-user-static
4ii) plug in your flash drive and locate the /dev point of the ext4 partition. For Ubuntu, use Disk Utility and it will be something like /dev/sdx2.
4iii) unmount partition 2. open a terminal, enter sudo mount -o /dev/sdx2 /mnt/Linux
4iv) run sudo qemu-debootstrap --arch armel sid /mnt/Linux
5) now your base system is installed. chroot into it using sudo chroot /mnt/Linux /bin/bash
6) install your wifi drivers apt-get install broadcom-sta-common broadcom-sta-source firmware-b43-installer firmware-b43legacy-installer b43-fwcutter then download this http://www.mediafire.com/?ycq1ro22vrwks6z extract it and copy it to your sd card /lib/firmware
7) install your favorite window manager. I use XFCE4 - apt-get install xfce4
8)set root password - passwd root
9) type the password you would like to use for root. nothing shows up onscreen while you do this, but WORRY NOT. type exit to leave the chroot environment.
10) unmount SD card
11) pop into tablet, turn on while holding volume down (in portrait mode)
12) enjoy.
░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█░░░
░░░░█░░░░▀▀▄░█░░░█░█▀██████░█░░
░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█░░
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█░
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█░
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░░░░█░░
Problem, Mobile OS's??

thanks for the step by step i managed to create a based system but i cannot install anything in it it says unable to locate package all the time what to do and thanks again
Sent from my LG-MS695 using Tapatalk 2

el.quechon said:
thanks for the step by step i managed to create a based system but i cannot install anything in it it says unable to locate package all the time what to do and thanks again
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
Look around for a debian sources.list and just copy and paste that into your /etc/apt on your SD card. then log back in and use apt-get update. after that, it should load.

Kevin Roscom said:
Look around for a debian sources.list and just copy and paste that into your /etc/apt on your SD card. then log back in and use apt-get update. after that, it should load.
Click to expand...
Click to collapse
got the sources.list to update but every timei try to install something i get this E: Unable to correct problems, you have held broken packages. it saysim missing a ot of dependencies for wharever thingi try to install and im getting dpkg error one all the time

el.quechon said:
got the sources.list to update but every timei try to install something i get this E: Unable to correct problems, you have held broken packages. it saysim missing a ot of dependencies for wharever thingi try to install and im getting dpkg error one all the time
Click to expand...
Click to collapse
Try
Code:
apt-get -f install

blackthund3r said:
Try
Code:
apt-get -f install
Click to expand...
Click to collapse
didnt work can upload your roofts for me
i recievethis error all the time for any app
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up resolvconf (1.63ubuntu14) ...
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
start: Job failed to start
invoke-rc.d: initscript resolvconf, action "start" failed.
dpkg: error processing resolvconf (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
resolvconf
E: Sub-process /usr/bin/dpkg returned an

I try installing the wireless drivers and i got it to download the only problem is dpkg they cannot be install
Sent from my LG-MS695 using Tapatalk 2

Run dpkg --configure -a and try it again. If it doesn't fix it, please post the output. Also try copying the qemu ARM translator into /use/bin on the SD card. I'll have to post my image when I get home since I'm on vacation ATM.
Sent from my SGH-T959 using xda app-developers app

Kevin Roscom said:
Run dpkg --configure -a and try it again. If it doesn't fix it, please post the output. Also try copying the qemu ARM translator into /use/bin on the SD card. I'll have to post my image when I get home since I'm on vacation ATM.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
where do i get the qemu arm translator i couldnt find it thanks

Run sudo apt-get install qemu-kvm-extras-static and you should find it in /usr/bin/qemu-arm-static
It also sounds like the package "resolvconf" is incomplete. Try reformatting your SD card and reinstall your distro. Then install try to install something small. I'll upload and link my rootfs as soon as I get home.
Sent from my SGH-T959 using xda app-developers app

Hoping for bluetooth!
Thanks for this tutorial! How hard do you think it would be to implement Bluetooth? I have a Bluetooth keyboard I would really like to use with this.

Kevin Roscom said:
Run sudo apt-get install qemu-kvm-extras-static and you should find it in /usr/bin/qemu-arm-static
It also sounds like the package "resolvconf" is incomplete. Try reformatting your SD card and reinstall your distro. Then install try to install something small. I'll upload and link my rootfs as soon as I get home.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
Thanks again for the tutorial but ill wait for you to upload your roofts having a hard time installing something in chroot environment
Sent from my LG-MS695 using Tapatalk 2

I've heard Bluetooth is included in the broadcom drivers, but it has to be accessed in a weird way. Since I don't use it, I haven't messed around with Bluetooth settings. You should try installing a Bluetooth manager (like bluez) and post what happens. It may work! My real focus as of now however is sound.
Sent from my SGH-T959 using xda app-developers app

Kevin Roscom said:
I've heard Bluetooth is included in the broadcom drivers, but it has to be accessed in a weird way. Since I don't use it, I haven't messed around with Bluetooth settings. You should try installing a Bluetooth manager (like bluez) and post what happens. It may work! My real focus as of now however is sound.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
did you try the fix in native ubuntu tread in page 36 for sound and whenare you gonna upload your roofts a i wanna try that

Do you mean the command to fix sound permissions? Yeah, I tried it. I think I'll reinstall the tegra package though and then run it again. And I'll probably upload it to Google or Mediafire on Saturday. I'll rebuild it and give you guys a clean install and then update my OP.
Sent from my SGH-T959 using xda app-developers app

Kevin Roscom said:
Do you mean the command to fix sound permissions? Yeah, I tried it. I think I'll reinstall the tegra package though and then run it again. And I'll probably upload it to Google or Mediafire on Saturday. I'll rebuild it and give you guys a clean install and then update my OP.
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
ok man cool ill be looking forward forthose rootfs

I'll upload both a tarball and a compressed img. Sometimes the tars don't unzip correctly and I wanna make it fail safe.
Sent from my SGH-T959 using xda app-developers app

How's some pictures for now? I can't wait until I'm back at my desk so you guys can have a look at this rootfs. If anyone gets sound to work, let me know how.
Sent from my SGH-T959 using xda app-developers app

Man why i cannot create the file system successfully i would like to try different desktops environments
Sent from my LG-MS695 using Tapatalk 2

In your defence, Linux can be tricky sometimes. Hopefully I can build this tar all without complication. What desktop environment would you like me to include?
Sent from my SGH-T959 using xda app-developers app

Related

[Q] .sh script help

Hey guys, need some help with this one from some of you with more android/linux experience than me.
In my continuing quest to make Blackhole as customizable as possible I've been working on a way for users to easily install paid apps (legally downloaded of course), and stuff that I don't have available in rom manager in one easy step at the same time the rom is installed. In pursuit of this goal I've found that it's possible for the update-script file inside a clockworkmod zip to call a script in the zip as well. I've gotten it to say it's run the script, but it doesn't do what it's supposed to. here's what i've got:
#! /bin/
busybox cp /sdcard/app/* /system/app/
When I type the command into a terminal on the phone it works. When I open an adb shell and type "bash install.sh" it works. But when I get the update.zip to run the script, or run it in root explorer it just says it's run it, but doesn't do anything.
Is there something I'm missing about how to call the script? Do I need to somehow add the bash program to the zip file so it can run the script right? Has anyone ever done something like this who can point me in the right direction?
do you have an output you can show us?
Sent from my SCH-I500 using XDA App
This is a shot in the dark but does writing to /system/app require root permissions? It could be that you've given your terminal app root, so it runs under su. But when the script is being executed it does not have root and fails, but perhaps the output is being held back a bit and you're not seeing the permission denied.
Steve_ ?!
whoa, didn't expect it to be you of all people
Anyhoo, this is a bit off topic, but I've got a small request, can you somehow make BlackHole 2.4 an option on Rom manager? I don't have DL09 so I can't use 3.0, but I really like the ability to select everything to customize, instead of me going and installing one thing at a time....
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
wizang said:
This is a shot in the dark but does writing to /system/app require root permissions? It could be that you've given your terminal app root, so it runs under su. But when the script is being executed it does not have root and fails, but perhaps the output is being held back a bit and you're not seeing the permission denied.
Click to expand...
Click to collapse
Could very well be, it's not showing me any output when i run it the two ways it doesn't work, just says it's been run.
vegittoss15 said:
Steve_ ?!
whoa, didn't expect it to be you of all people
Anyhoo, this is a bit off topic, but I've got a small request, can you somehow make BlackHole 2.4 an option on Rom manager? I don't have DL09 so I can't use 3.0, but I really like the ability to select everything to customize, instead of me going and installing one thing at a time....
Click to expand...
Click to collapse
Haha, caught me. I was trying to remain incognito Yeah, i'll get 2.4 loaded back up on rom manager for you today. But if you flash 3.0 it will upgrade you to DL09 and the DJ05 kernels and modem are compatible, or at least no one i know of has had issues.
imnuts said:
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
Click to expand...
Click to collapse
sdcard is mounted when you go to recovery, because it's got to access the update.zip file on it to install anything. I'll try your code, do you know what to put after SYSTEM: to make it go to the /app directory? thanks for the idea, it's a different way to go, i didn't think about the fact the update-script could access the device if you don't use the "package" tag.
Don't you need to add "sh" to the bin directory and define the script as so:
#! /bin/sh
if you want it to execute properly..
dcow90 said:
Don't you need to add "sh" to the bin directory and define the script as so:
#! /bin/sh
if you want it to execute properly..
Click to expand...
Click to collapse
normally yes, but there doesn't seem to be a /bin/sh directory on my fascinate, only /bin and that's where the cp and mv and cat, etc. are.
I made a script to do this forever ago on my G1 when it first came out... Let me see if I can find it.
This has been done lots of times before. If you look around on xda there are some backup scripts which do the same thing.
Sent from my SCH-I500
imnuts said:
Why not just add the following to the end of the update-script:
Code:
copy_dir /sdcard/app SYSTEM:
Also, is the SDCard mounted by default when the phone boots to recovery? If it isn't, or it isn't mounted while the update is processing, that will also cause the problem.
Click to expand...
Click to collapse
Well I gave that a shot, and i think it could work, but the recovery wouldnt do it. it says "non-package source path not yet supported" good idea tho.
yutsoku said:
I made a script to do this forever ago on my G1 when it first came out... Let me see if I can find it.
Click to expand...
Click to collapse
If you can that would be great.
n0yd said:
This has been done lots of times before. If you look around on xda there are some backup scripts which do the same thing.
Sent from my SCH-I500
Click to expand...
Click to collapse
I spent a good bit of time searching and most of the scripts I found were much more complex than what i need, or were written to run on a computer, which i've already done.
sonofskywalker3 said:
normally yes, but there doesn't seem to be a /bin/sh directory on my fascinate, only /bin and that's where the cp and mv and cat, etc. are.
Click to expand...
Click to collapse
Thats not the point. You need to set a shell interpreter, not a path. Cwm uses busybox sh, which is in /bin in recovery mode. Google search shebang
Sent from my SCH-I500 using XDA App
jt1134 said:
Thats not the point. You need to set a shell interpreter, not a path. Cwm uses busybox sh, which is in /bin in recovery mode. Google search shebang
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Going to go ahead and parade my stupidity in front of everyone here:
so does that mean i'm right using #! /bin/ or that it should be #! /bin/sh/ or something else entirely? I'm so confused.
sonofskywalker3 said:
Going to go ahead and parade my stupidity in front of everyone here:
so does that mean i'm right using #! /bin/ or that it should be #! /bin/sh/ or something else entirely? I'm so confused.
Click to expand...
Click to collapse
#!/bin/sh for scripts in recovery. #!/system/bin/sh for scripts in android.
Sent from my SCH-I500 using XDA App

[Q] Debian on Milestone 2

Is it possible to run a version of Debian Linux on the Milestone 2?
It seems people have had success on other devices, aided in part by the use of custom firmware that gives access to bash, etc.
lanrat.com/android/debian
Any information or ideas would be greatly appreciated.
Thanks
Well it depends on how you define "running debain". I have a debian chroot on my milestone2 I can run all of the programs in the debian suite. Openssh, openvpn, qemu-i386. I never thought I would have an arm processor in my cellphone that could run I386 software (ventrillo specifically)
Now running debian kernel and as a root file system... crack the bootloader first and then we can talk about this.
My recommendation is root your phone and learn about debootstrap.
As always, this isn't for the newbie. So, any damage to your phone, software or mental stability is not covered.
Sent from my MotoA953 using XDA App
I created a debootstrap image in ubuntu 10.10, but i'm not sure where to mount the image or how i'd go about chroot-ing it for use as a debian file system.
Do you have access to all ARM-compatible linux binaries on your phone now?
Haitala said:
Is it possible to run a version of Debian Linux on the Milestone 2?
It seems people have had success on other devices, aided in part by the use of custom firmware that gives access to bash, etc.
lanrat.com/android/debian
Any information or ideas would be greatly appreciated.
Thanks
Click to expand...
Click to collapse
Hi Haitala , I have successfully installed debian lenny in ME722(milestone2 chinese version),
please visit: h-t-t-p://bbs.gfan.com/android-1211243-1-1.html, (replace h-t-t-p with http), this post provided a quick install method which required just 2 files:debian.img and bootdebian script. Download and copy debian.img to /sdcard/, copy bootdebian to /data/local/bin/.
Some pics avaliable on: h-t-t-p://bbs.gfan.com/android-1193358-1-1.html
You'd better read it via google translation.
The major difference to before is that Milestone2 doesn't support ext2 but ext3, so I created an ext3 IMG file and mount to /data/local/debian/, and then it works!
Would you upload the chinese files on another server, like DropBox, MediaFire or MegaUpload? I can't download, the wait time is 27 days... ¬¬
dangpzanco said:
Would you upload the chinese files on another server, like DropBox, MediaFire or MegaUpload? I can't download, the wait time is 27 days... ¬¬
Click to expand...
Click to collapse
It will expire in 27 days, not waiting time, so pleanse click "backup download" link.
Not able to get it work
Hi,
I have a routed Moto A953 (from Expansys.com) The kernel version is : 2.6.32.9-gd2377eb
And I am trying to chroot Debian/Ubuntu in it..
I built the ubuntu.img rootfs for chroot in Ubuntu 11.04 via rootstock ! And I am not able to get it to work.. I am able to run all the mount commands, but when I try to chroot /data/local/ubuntu to /bin/bash, I get an error: "Segmentation Fault"
Any ideas?
I am thinking, may be its the kernel? Ubuntu Natty's kernel is 2.6.39+ any help?
Or could anyone, please share their working rootfs image?
thanks
PizzaRoll said:
Well it depends on how you define "running debain". I have a debian chroot on my milestone2 I can run all of the programs in the debian suite. Openssh, openvpn, qemu-i386. I never thought I would have an arm processor in my cellphone that could run I386 software (ventrillo specifically)
Now running debian kernel and as a root file system... crack the bootloader first and then we can talk about this.
My recommendation is root your phone and learn about debootstrap.
As always, this isn't for the newbie. So, any damage to your phone, software or mental stability is not covered.
Sent from my MotoA953 using XDA App
Click to expand...
Click to collapse
Could you please share your working rootfs ? tar.gz (it will be smaller, isn't it?) or .img ?
Update:
I downloaded debian.img from h-t-t-p://bbs.gfan.com/android-1211243-1-1.html
(I was not able download the bootdebian so I am not which commands he is using to chroot )
Anyway, the good news is I was able to "chroot", but the bad news is... something is wrong in the .bashrc of the debian.img ; So so none of the commands work in the debian shell.. I am currently trying to build a working Ubuntu rootfs myself !
And its working..
Finally I figured it out..
I have Ubuntu Chroot working in my Motoroala Milestone 2 A953 !!
It took a while, but working great now..
Anyone need any help, let me know !
cheers
Well, could someone post a step-by-step How To here? Because this topic is a little bit confusing...
Sent from my Milestone 2 XDA App
dangpzanco said:
Well, could someone post a step-by-step How To here? Because this topic is a little bit confusing...
Sent from my Milestone 2 XDA App
Click to expand...
Click to collapse
I started a new Thread with the tutorial: http://forum.xda-developers.com/showthread.php?p=13690183

Ubuntu 10.10 Install Guide

By following this guidei successfully got it installed and running!! It looks nice so far havent done much testing yet, but attempting to install ubuntu 11.04 inside of it and see if it works. Results anyone?
(I didnt make this guide all credit goes to the developer)
What rom / kernal u running. Can't do it on mine I extract both the. Img and the Ubuntu.sh to the folder on my sdcard and once I run the command it won't work?
Sent from my A500 flexstriker using XDA Premium
Works on mine after
1. Installing a new instance of busybox, original didn't work.
2. Choosing a resolution of 1280x750 (had to allow for the statusbar).
You have to make sure that the ubuntu folder is on your internal sdcard (not your external)
Sent from my Acer Iconia A501 using XDA Premium App.
(Acer Iconia A501 + Samsung Galaxy S I9000T)
Silverblade.nz said:
Works on mine after
1. Installing a new instance of busybox, original didn't work.
2. Choosing a resolution of 1280x750 (had to allow for the statusbar).
You have to make sure that the ubuntu folder is on your internal sdcard (not your external)
Sent from my Acer Iconia A501 using XDA Premium App.
(Acer Iconia A501 + Samsung Galaxy S I9000T)
Click to expand...
Click to collapse
Ill try busybox. As my files are in /sdcard/Ubuntu
Sent from my INFUSE powered by ZEUS
I know how to update su binary and super user but how do u replace busybox with new one?
Sent from my INFUSE powered by ZEUS
I was trying to do this a few months ago and got nowhere. What rom/kernel are you running?
I'm running flexstriker / Thor kernal
Sent from my INFUSE powered by ZEUS
im running thors ICS rom v95 with his newest kernel and it worked fine and at first i didnt but then i installed buysbox and it worked
garbagecanman said:
I know how to update su binary and super user but how do u replace busybox with new one?
Sent from my INFUSE powered by ZEUS
Click to expand...
Click to collapse
Use Busybody installer from the Market.
Sent from my Acer Iconia A501 using XDA Premium App.
(Acer Iconia A501 + Samsung Galaxy S I9000T)
I'm using the HoneyVillain-3.4+ kernel.
Sent from my Acer Iconia A501 using XDA Premium App.
(Acer Iconia A501 + Samsung Galaxy S I9000T)
Updated busybox. Have the .sh and .img files in/sdcard/Ubuntu and this is what I get after running sh Ubuntu.sh
export PATH=/data/local/bin:$PATH
sh-3.2$ export PATH=/data/local/bin:$PATH
sh-3.2$ su
sh-3.2# cd /sdcard/ubuntu
sh-3.2# sh ubuntu.sh
cut: not found
[: not found
mkdir failed for /data/local/mnt, File exists
[: not found
busybox: not found
losetup: not found
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
busybox: not found
busybox: not found
busybox: not found
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
ubuntu.sh: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
busybox: not found
Shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
failed.
failed.
losetup: not found
sh-3.2#
Sent from my A500 flexstriker using XDA Premium
Did you give it superuser access to it at the beginning
Yes and now I'm on Thor Ics and files in proper locale and I run terminal commands as follows :
Su
CD /sdcard/Ubuntu
Sh Ubuntu.sh
And then it will say this script needs root access enter su. Then I type su and the directory changes to mnt /sdcard /Ubuntu
When I run sh Ubuntu.sh it just keeps saying script needs root access to run enter su and so on over and over?
Sent from my INFUSE powered by ZEUS
Working smooth and perfect.. after downloads and transfer the files to SDCARD
Su
CD /sdcard/Ubuntu
Sh Ubuntu.sh
vnc viewer
Thank you very much for this.
ROM: lightspeed 2.1 stock kernel
azoller1 said:
By following this guidei successfully got it installed and running!! It looks nice so far havent done much testing yet, but attempting to install ubuntu 11.04 inside of it and see if it works. Results anyone?
(I didnt make this guide all credit goes to the developer)
Click to expand...
Click to collapse
Thank you very much for the link to the guide you´ve posted.
So i´m curious, were you able to install ubuntu 11.04 ?.
I´ve tryed to install the latest "regular" mozilla browser, but it seems i just can install the one from android, did anyone else install the common one without problem ?
And the last question,but the most imporant, i´ve tryed to install wine but i couldn´t, did anyone have luck to install it ??
Anhell said:
And the last question,but the most imporant, i´ve tryed to install wine but i couldn´t, did anyone have luck to install it ??
Click to expand...
Click to collapse
Wine is for x86 processors, A500 has ARM processor. So no, you cannot use Wine on it, period.
Anhell said:
Thank you very much for the link to the guide you´ve posted.
So i´m curious, were you able to install ubuntu 11.04 ?.
I´ve tryed to install the latest "regular" mozilla browser, but it seems i just can install the one from android, did anyone else install the common one without problem ?
And the last question,but the most imporant, i´ve tryed to install wine but i couldn´t, did anyone have luck to install it ??
Click to expand...
Click to collapse
I tried installing it but it kept taking to long so I had to exit out and it had to reset everything so I just stayed at 10.10
thank you very much for your replyes (i´ve already thanked as it should, lol)
What about mozilla ?? the one that comes already installed it´s 3.5, is it possible to install the 10 version (not the android one), just the common one that we all use in our computer desktop
Anhell said:
thank you very much for your replyes (i´ve already thanked as it should, lol)
What about mozilla ?? the one that comes already installed it´s 3.5, is it possible to install the 10 version (not the android one), just the common one that we all use in our computer desktop
Click to expand...
Click to collapse
I can't say I haven't tried it yet, have you tried it yet?
azoller1 said:
I can't say I haven't tried it yet, have you tried it yet?
Click to expand...
Click to collapse
yep, somehow when in mozilla home site, just let me install mozilla 10 for android and no other

Duel booting thread Finished :)

One of my favorite things about android is being able to duel-boot os's and playing around with Linux distros ,but ive seen a drop off of them being brought to Android sadly . so im starting this thread in order to get all the duel-boot,chroot boots and all other ones into one place if i forget one please let me now and ill do my best to add it
Note these are not all native boots and i take no responsibility for anything that happens to your device, these are not mine either and the owners should be thanked im just bringing them together :victory:
Native Boots
My favorite and best (in my opinion) are the native boots Starting off is Ubuntu as a native boot
UBUNTU
The original creators in bringing Ubuntu to the Acer a500 first are right here on XDA netham45 and sp3dev The original thread can be found here Here
To start off on booting Ubuntu Natively you're going to need Root obviously and acer recovery installer which can be downloaded from the Android market
for the sake of this tutorial ill go over booting it off the internal storage :laugh:
1.Start by making sure you have 8gigs free of internal storage as this is how big the .rar is unpacked
2. after you download acer recovery installer youll need to flash this recovery Here
3. After that download all 3 of these .rar's onto your pc put them in a folder of there own and extract the first one they should all merge giving you one rootfs File1 File2 File3
4.once you get the rootfs move it to the home directory of your internal storage
5. power off your tab and boot into your recovery using power and volume- and your good to go
6.some tweaks you could do would be
For sound
Code:
usermod -a -G audio <your username here>
For cpu frequency scale
Code:
sudo add-apt-repository ppa:artfwo/ppa
sudo apt-get update
sudo apt-get install indicator-cpufreq
it will appear in you task bar on reboot best set to performance
:laugh:
Backtrack
Ive been told it works the same way but replacing the ubuntu.img with the backtrack.img which you can download from
http://www.backtrack-linux.org/
Cannot confirm this if someone tests it please reply back
BODHI LINUX
Bodhi Linux is another Linux brought to android with the dev being here on XDA apapousek Make sure to look at the original thread and thank it Here
There are to differant builds Alpha1 and Alpha2 ill be going over Alpha2
1.Start off by using gparted or any partitioning tool should work, and partion your micro sdcard make the first one as ext4 and make it at least 1.5gb name it bodhi make your second partition 128mb at least of fat32 format
2.mount the partitions
3.download bodhi Linux from Here
4.Extract the bodhi tarball to the root of your micro sdcard by using the commands
Code:
sudo su
cd /media/bodhi/
tar -jxvf /home/name/bodhi_alpha2.tar.bz2
5.Copy recovery.img to the second partition and flash it using Acer recovery installer from Here
6.Boot into recovery and you should be good to go
7.once booted into bodhi open terminal and type in setupwifi
CHROOT
Not as good in my opinion alot less functionality but there still fun for testing out a Linux distro and require less space without having to sacrifice your recoveryThere basically running a virtual machine on top of android to run a Linux distro all the ones I've tried have been slower so i just tend to stay away from them but feel free too XD
First of all there's a couple of different apps that will help you get it installed hassle free (for the most part)
starting off there's Linux installer standard Here
There's also Complete Linux installer with two donate versions available Here
Manual Method
There's also a more manual way of setting up chroot.
1.Make sure you have a terminal emulator Here 7zip Here and a .img file for a linux distro ill put up backtrack since it seems to work well make sure you get the ARM version of Backtrack And finally Android VNC Here
2.Download the .Img file of your choice in this case Backtrack 5 and extract it once this is done you will get another folder with bt5.img.gz and a whole other bunch files right click on the bt5.img.gz and go to extract here now copy them all into a folder called BT5
3.copy the folder called BT5 to the internal storage of your device it will be around 5gigs
4.Make sure you have Root access and busybox installed
5.Now open up your terminal emulator app and type in
Code:
su
cd/sdcard/BT5
Then hit enter and type in
Code:
sh bootbt
You should see [email protected] if it worked if it did then you can go ahead and use BT5 commands or you can get a gui by typing in.
Code:
tightvncserver -geometry 1280x800
Hit enter then type in
export USER=root
hit enter then
vncpasswd
Now its going to ask you for a password just create any random one and then verify it . After that it will ask you if you want to create a view only password hit n
6.Finally open VNC android you'll have nickname which doesn't matter port which is usually 5901 if that doesn't work try 5902 or 5903 address leave bank and make sure your connected to [email protected] just hit connect and your done one final thing to remember though is when you want to exit you have to go back to terminal and type in exit to shutdown
WINDOWS
WINDOWS95
windows is actually run through an app which emulates it i believe it has little to none drivers instaled and you cant really do much that ive found but its fun to mess around with and show off :laugh: to get this up and running is pretty simple all you have to do is.
1.Download this .rar HERE
2.Extract the folder to get a sdl.apk and a folder called sdcard move both of them to the root of your sdcard
3install the .apk and open it when shutting down though you have shutdown the right way by hiiting shutdown if you dont on reboot youll get a scandisk error
WINDOWS XP
Windows xp is even slower more useless and way more complicated to run BUT its still kinda cool to have
1.First you'll want to download everything you'll need bochs for android from HERE Sdl.zip from HERE Bochs for pc from HERE and Qumu manager for pc HERE. Last thing you will need is a windows xp.iso file not .img but .iso (ide post one but i read somewhere its ilegal to post .iso for windows :/ )
2.Download and install boch's for android on your tablet then move the SDL.zip to the root of your SDcard
3.Install Boch's and Qemu manager onto your pc
4. what you going to need to do is run a virtual machine with the .iso you have so first thing you'll want to do is once you install Boch's for your pc hit the start button then go to all programs and find the Boch's folder inside of that folder there should be a program called Disk image creation tool.
5. Next type in hd then hit enter, after that type in flat then hit enter ten after that its telling you what size you want it to be usually windows xp doesnt need more than 1.5gb so type in 1500 and hit enter then finally type in c.img and hit enter.
6. Now you want to open Qemu, once inside Qemu you want to start a new virtual machine do this by going to the vm tab and click on new virtual machine.
7.you can give it any nickname it doesnt matter just give it one and hit next.
8.Now it wants to know how much ram you want to allocate to this virtual machine 512mb to 1gb is usually fine pick and hit next.
9. Then hit finish now what you want to do is install the .iso to the blank image file but you need to specify what it is so go to the drives tab, click on Harddisk zero.
10.now you have to find the file c.img its usually located in program files/bochs you might have to make sure all files is selected in your file type bar.
11.Select thec.img file and hit ok
12. Now you want to click on your cd-rom that is your windows xp.iso file so browse and find your windows xp.iso and click ok.
13.Now your ready to run your virtual machine just hit the run button (green one) and if everything went alright you should see it start to boot up.
14. Now you'll have some on screen prompts make sure you follow them and choose ntfs file system when it prompts you to. (process will take 30min+ depending on computer speed)
15. Once your installation has been completed and your at the desktop you want to stop virtual machine. click yes end session. (i know right all that time just to spend two seconds in it)
16.Now you want to find the c.img file which is no longer blank and has windows xp installed to it. Usually in program files/bochs copy it then paste it inside the folder called sdl on your sdcard. If there is already a c.img inside of it just overwrite it.
17.okay almost done (i promise ) your going to want to copy all this code
Code:
megs: 256
cpu: count=1, ips=6000000, reset_on_triple_fault=1, ignore_bad_msrs=1
# filename of ROM images
romimage: file=BIOS-bochs-latest
vgaromimage: file=VGABIOS-lgpl-latest
vga: extension=cirrus, update_freq=25
pci: enabled=1, chipset=i440fx, slot1=cirrus
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata0-master: type=disk, path="c.img"
#ata0-slave: type=disk, path="d.img"
#ata1-master: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
#type=cdrom, path="CD.ISO", status=inserted
boot: c
config_interface: textconfig
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
log: bochsout.txt
sb16: enabled=1
mouse: enabled=1
sb16: wavemode=1, dmatimer=500000
clock: sync=none, time0=1
Now go to your sdcard/and go the sdl folder and find the bochssrc.txt file overwrite everything in that file with the lines of code you just copied
The megs value at the top is how much ram you want to allocate to windows xp
18 Save te text document and your ready to run windows xp just open up bochs on your phone
Miscellaneous
These are all the os's that ive found that have been duel booted but are not worth it or a tutuoriol was never released will update it as i find them.
so far the only one i know of is Armedslack thsnks to hellvy from what i know of its the same way as bodhi linux but using armedslack packages
MAC OS
Im trying to figure out old mac os and newer ones right now ill be righting a tut once i get it figured out
Just adding another distro. I'm running ARMEDslack. You can use BODHI LINUX approach for installation, but use armedslack's Mini root filesystems instead. For me, there's so many stuff i have to do after installation (mainly recompiling apps & libs) and i'm not sure if anyone interesting in Slackware distro this day. So i'm not recommend this distro unless you have too much free time and know how Slackware work
Another thing, is there anyone get nvidia display driver works? i can't see any practical step to get it working, just ac100 display driver unbuntu package. If anyone get it working, pls share xorg.conf to me
Does ext4 partition has to be the first partition or second to boot bodhi because vfat as second partition cannot be recognized by cwm recovery and I cannot copy any files from internal to external sdcard
el.quechon said:
Does ext4 partition has to be the first partition or second to boot bodhi because vfat as second partition cannot be recognized by cwm recovery and I cannot copy any files from internal to external sdcard
Click to expand...
Click to collapse
first and its not meant to be copied you haven to dd it to it sorry you can't just copy it directly i don't think and fat32 is what the second partition needs to be
gears177 said:
first and its not meant to be copied you haven to dd it to it sorry you can't just copy it directly i don't think and fat32 is what the second partition needs to be
Click to expand...
Click to collapse
it booted in to terminal but usb port didnt work so couldnt use keyboard
No need to flash the kernel to recovery partition, use my dualboot bootloader.
It booted ok for me but it wont let me login at all
Sent from my LG-MS695 using Tapatalk 2
I have a couple questions...
How well does Linux(mainly Ubuntu) run on the A500? Like is it smooth and all the various controls work well.
Does the HDMI out work? If so can you extend the desktop through the HDMI out to another screen. Like have two different windows on each screen.
Drewmungus said:
I have a couple questions...
How well does Linux(mainly Ubuntu) run on the A500? Like is it smooth and all the various controls work well.
Does the HDMI out work? If so can you extend the desktop through the HDMI out to another screen. Like have two different windows on each screen.
Click to expand...
Click to collapse
I'm not sure bout hdmi if you do all the tweaks it runs reasonably well but won't run games and still lags when opening huge programs i had it for a couple of months for the most part you can install whatever you want some programs have missing repositories and you would need to create you own but there not that common i used it for compiling c+ as i need the multiwindow to do it but it will most likely crash if you try to update it i updated it to 12.04 successfully but was then having wifi problems you wil need an external usb keynoard to set it up at first when you boot up click on the top right corner and connect to wifi before doing the setup saves you a couple of steps
gears177 said:
I'm not sure bout hdmi if you do all the tweaks it runs reasonably well but won't run games and still lags when opening huge programs i had it for a couple of months for the most part you can install whatever you want some programs have missing repositories and you would need to create you own but there not that common i used it for compiling c+ as i need the multiwindow to do it but it will most likely crash if you try to update it i updated it to 12.04 successfully but was then having wifi problems you wil need an external usb keynoard to set it up at first when you boot up click on the top right corner and connect to wifi before doing the setup saves you a couple of steps
Click to expand...
Click to collapse
gears177 can you tell me how did you fix wifi after upgrading to 12.04, are you using the ubuntu image from netham and while upgrading did you have any trouble with the packages related to plymouth
el.quechon said:
gears177 can you tell me how did you fix wifi after upgrading to 12.04, are you using the ubuntu image from netham and while upgrading did you have any trouble with the packages related to plymouth
Click to expand...
Click to collapse
i never did fix it i tried everything i could think of nthing worked i dont know it seems that its not even turning on your wifi card i dont know maybe mess around in terminal and try to turn it on with wlan0 up or whatnot im not sure maybe if i get some free time ill try again as for updating i did it in small amounts and i didnt update everything im not sure but i did have a couple of errors they might of been related to plymouth
gears177 said:
i never did fix it i tried everything i could think of nthing worked i dont know it seems that its not even turning on your wifi card i dont know maybe mess around in terminal and try to turn it on with wlan0 up or whatnot im not sure maybe if i get some free time ill try again as for updating i did it in small amounts and i didnt update everything im not sure but i did have a couple of errors they might of been related to plymouth
Click to expand...
Click to collapse
Thats it plymouth i dont know why it keeps failing to instAll and i tryed that thousand times upgrading it always break wifi
Sent from my LG-MS695 using Tapatalk 2
el.quechon said:
Thats it plymouth i dont know why it keeps failing to instAll and i tryed that thousand times upgrading it always break wifi
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
try installing it manually might work
sorry it took so long guys but its finally done for the most part
does netham have a source code for his kernel
el.quechon said:
does netham have a source code for his kernel
Click to expand...
Click to collapse
maybe in the original thread i didnt find one but then again i didnt really look
http://forum.xda-developers.com/showthread.php?t=1158260
Great work man! I am so happy as a huge ubuntu fan to have this tutorial here for my beloved device.
Sent from my A500 using xda app-developers app
Hey guys is there a script like v6supercharger for ubuntu
Sent from my LG-MS695 using Tapatalk 2
lifeofcoding said:
Great work man! I am so happy as a huge ubuntu fan to have this tutorial here for my beloved device.
Sent from my A500 using xda app-developers app
Click to expand...
Click to collapse
Thanks
el.quechon said:
Hey guys is there a script like v6supercharger for ubuntu
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
I dont believe so someone could always make one....
Backtrack works natively.
If you go on kernel-xp website there is a RTL8187 kernel for chroot which works well. Its based on acer ICS source code
Sent from my Galaxy Nexus using xda premium

Guide for building your own custom Raring Ubuntu-Core IMG.

Guide to making a Raring Ubuntu-core image on a Linux PC/laptop (NOT a virtual machine (VM)) for the purpose of installing it on your TF101.
All credit goes to the time and consideration x3maniac took to assist me with doing this!
OP for Tubutnu by x3maniac
This guide allows you to create a CORE Ubuntu image on your Linux box and then install it using the Tubuntu application for Windows. ***Please note, a CORE image does not contain a GUI. The gnome-core guide in the next link will walk you through the steps of installing the gnome-core GUI after you have made your fresh Raring Ubuntu-Core image.***
http://forum.xda-developers.com/showthread.php?p=37803357
***Why do I want to do this when the OP by x3maniac already has a Raring image for download? This guide is helping you make your own UPDATED image. There are daily builds of Raring and the image in the OP by x3maniac is over 2 months old as of this last update to this post.***
Please note that I am using a stock Ubuntu 12.10 laptop. I believe any variant of Ubuntu on a laptop or PC should work with this guide just fine.
Download the files first and then open Terminal to input our commands.
Download: http://cdimage.ubuntu.com/ubuntu-core/daily/current/raring-core-armhf.tar.gz
(You may optionally choose any date time from the Ubuntu-core folders. Ensure you are using the armhf tar.gz file.
Download (Recommended): https://www.dropbox.com/s/dqn9aa94oeju9kf/modules.tar.gz
Alternate Download: http://goo.im/dev/x3maniac/mod_firm_ext.zip
Alternate Download: http://www.novaspirit.com/downloads/mod_firm_ext.zip
After the downloads are complete, open Terminal and let’s get the image built!
A side note, I did not know that using ~ represented the user folder so if you do great, if not it will help you understand that /home/thomas can be represented using ~. So any subfolders of /home/thomas are included using the ~. I will specify my full paths and you can substitute the directories you wish to use. (Linux is still new to me too, I know enough to be dangerous!)
1. mkdir /home/thomas/images/ubuntu-raring
2. cd /home/thomas/images/ubuntu-raring
3. sudo apt-get install qemu
4. sudo apt-get install qemu-user-static
5. Now type this command: qemu-img create raring.img 200M
a.The Ubuntu Raring core image is approximately 186MB. So you understand at 186MB you only have 14MB available of extra stuff you can put into the image. You can resize up later but never down. You may specify any MB size you wish to use for the image. Experiment later, for now just make it 200M.
6. fdisk raring.img (you will see an error about invalid flag, this is ok, step 7 below is w for write, do proceed to step 7)
7. Type w to quit
8. Determine the file system you want (I used ext4)
a. Now type: mkfs.ext4 raring.img (according to config file of Tubuntu app, the partition is set up as ext3, you can use that as well)
b. A warning that your image is not a block special device (when choosing ext4) hit Y to proceed.
c. From /Ubuntu-raring directory type: mkdir mount
9. Now type: sudo mount –o loop ./raring.img ./mount
10. Now type: cd mount
10a. Now type: ls (you are only listing the mount directory to verify you have the lost+found directory) Go up one directory to /home/thomas/images/ubuntu-raring
11. Now type: cp /home/thomas/Downloads/raring-core-armhf.tar.gz /home/thomas/images/ubuntu-raring
12. Now type: sudo tar xvvf raring-core-armhf.tar.gz –C ./mount (you should not be in the mount directory)
13. Now type: sudo tar xvvf modules.tar.gz -C ./mount (you should not be in the mount directory)
14. sudo cp /usr/bin/qemu-arm-static /home/thomas/images/ubuntu-raring/mount/usr/bin (enter)
15. Now type: sudo chroot mount (if successful you will see /#)
16. Now type: passwd and make a password and confirm it.
17. Now type: exit
18. Now type: sudo umount ./mount
19. You should now be in the /home/thomas/images/ubuntu-raring/ directory. From here use the ls command and see your raring.img file.
20. You will need to copy this file your Windows box and use the Tubuntu installation application OR wheelie and nvflash commands. (Wheelie and nvflash commands are for more advanced users).
21. Click on this link for the next guide: http://forum.xda-developers.com/showthread.php?p=37803357
Hi, I have no problems creating the image and mounting it. But when chrooted:
apt-get update
0% [Working]qemu: Unsupported syscall: 374
Err http://ports.ubuntu.com raring Release.gpg
Something wicked happened resolving 'ports.ubuntu.com:80' (-11 - System error)...
I am on Ubuntu 12.10 64-bit. What could it be? qemu & qemu-user-static installed, qemu-arm-static copied...
Thank you and sorry for my CZ-english
onmail said:
Hi, I have no problems creating the image and mounting it. But when chrooted:
apt-get update
0% [Working]qemu: Unsupported syscall: 374
Err http://ports.ubuntu.com raring Release.gpg
Something wicked happened resolving 'ports.ubuntu.com:80' (-11 - System error)...
I am on Ubuntu 12.10 64-bit. What could it be? qemu & qemu-user-static installed, qemu-arm-static copied...
Thank you and sorry for my CZ-english
Click to expand...
Click to collapse
I need to update my guide. After the image is created on your Linux box you then install it on your tablet using tubuntu application. From the tab is where you run apt get commands. Sorry about that.
Sent from my SGH-T999 using Tapatalk 2
TomTcom said:
I need to update my guide. After the image is created on your Linux box you then install it on your tablet using tubuntu application. From the tab is where you run apt get commands. Sorry about that.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Oh, I see, but I think I will not be able to install apt-utils wpasupplicant if the wlan0 adapter is not working (I mean when wpasupplicant is not installed in the image).
onmail said:
Oh, I see, but I think I will not be able to install apt-utils wpasupplicant if the wlan0 adapter is not working (I mean when wpasupplicant is not installed in the image).
Click to expand...
Click to collapse
Yes you will because the core image has everything you need except the supplicant. You can make your own supplicant or copy from your working dual booted prime image of android. Let me try and update the guide later tonight.
Sent from my SGH-T999 using Tapatalk 2
onmail said:
Oh, I see, but I think I will not be able to install apt-utils wpasupplicant if the wlan0 adapter is not working (I mean when wpasupplicant is not installed in the image).
Click to expand...
Click to collapse
Ok, made several changes to my guide. Here's a couple things to note in case you missed them.
1. This guide helps you make an image of Raring Ubuntu-Core. This means there is no GUI and an additional post I have linked to for installing Gnome-Core (your actual desktop environment) for Raring.
2. After the Raring.img is made, you need to start on the Raring Gnome-Core guide and follow those instructions. That installation takes about 2 hours to download and answer questions because it is such a core install.
3. About the wifi, you will be using x3maniac's Tubuntu Windows installation application and starting from fresh with Prime Android and your new Raring image and if you follow the second guide it will walk you through setting up your wifi (do make sure you boot into Prime Android and set up your wifi first before booting to Raring.
4. Please familiarize yourself with the OP I have linked to for the x3maniac Tubuntu application.
It's not as hard as it may seem. After you do it a few times it's rather quick. Installing gnome-core by yourself is kind of slow and a bit tedious but the purpose of doing this was to have complete control of your image.
Later on if you are brave you can also build your own kernel as well and make changes. See my guide in my xda signature.
Hope this helps, thanks for using my guide. Hit the thanks button a couple of times and I'll make sure you get up and running.
TomTcom said:
Ok, made several changes to my guide. Here's a couple things to note in case you missed them.
1. This guide helps you make an image of Raring Ubuntu-Core. This means there is no GUI and an additional post I have linked to for installing Gnome-Core (your actual desktop environment) for Raring.
2. After the Raring.img is made, you need to start on the Raring Gnome-Core guide and follow those instructions. That installation takes about 2 hours to download and answer questions because it is such a core install.
3. About the wifi, you will be using x3maniac's Tubuntu Windows installation application and starting from fresh with Prime Android and your new Raring image and if you follow the second guide it will walk you through setting up your wifi (do make sure you boot into Prime Android and set up your wifi first before booting to Raring.
4. Please familiarize yourself with the OP I have linked to for the x3maniac Tubuntu application.
It's not as hard as it may seem. After you do it a few times it's rather quick. Installing gnome-core by yourself is kind of slow and a bit tedious but the purpose of doing this was to have complete control of your image.
Later on if you are brave you can also build your own kernel as well and make changes. See my guide in my xda signature.
Hope this helps, thanks for using my guide. Hit the thanks button a couple of times and I'll make sure you get up and running.
Click to expand...
Click to collapse
OK, thanks a lot, I will try. I have been playing with Tubuntu for some weeks and now I just started playing with building the image (and thinking about kernel...). Just now I am on Lubuntu (with xfce4 which I prefer) with 2.6 kernel and I am trying on my son's TF101 Raring with Gnome and 3.1 kernel. I am just thinking about the possibility when one system is "fine tuned" if it would be possible to copy it from one TF to the other one (I mean just the Linux partition).
onmail said:
Hi, I have no problems creating the image and mounting it. But when chrooted:
apt-get update
0% [Working]qemu: Unsupported syscall: 374
Err http://ports.ubuntu.com raring Release.gpg
Something wicked happened resolving 'ports.ubuntu.com:80' (-11 - System error)...
I am on Ubuntu 12.10 64-bit. What could it be? qemu & qemu-user-static installed, qemu-arm-static copied...
Thank you and sorry for my CZ-english
Click to expand...
Click to collapse
Replying to my own post because I must say - sorry, I am ehm an idiot... Because the only problem was - I have not edited the /etc/resolv.conf in the mount/etc directory. So now I can easily apt-get anything in the chroot! So it seems I can easily "prepare" an image with everything inside
onmail said:
Replying to my own post because I must say - sorry, I am ehm an idiot... Because the only problem was - I have not edited the /etc/resolv.conf in the mount/etc directory. So now I can easily apt-get anything in the chroot! So it seems I can easily "prepare" an image with everything inside
Click to expand...
Click to collapse
Did it work? I couldn't not without finding a way to inject VI into the image for editing the file. You can mess with permissions but it ultimately doesn't work from the Linux box.
If you are able to do it without the tab, post the instructions and I'll add it to my OP and give you the credit.
Sent from my SGH-T999 using Tapatalk 2
TomTcom said:
Did it work? I couldn't not without finding a way to inject VI into the image for editing the file. You can mess with permissions but it ultimately doesn't work from the Linux box.
If you are able to do it without the tab, post the instructions and I'll add it to my OP and give you the credit.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
It works I am just in the middle of installing xubuntu-desktop... I have made a quick & dirty bash script which will help to set hostname for the new TF101, root password, make a new user with password and add him to sudo group, automatically enable all the deb repos (universe etc.), set cpu freqs in rc.local and install some usefull utils (sudo cpufrequtils bash-completion wpasupplicant nano mc net-tools). And there is a second script you can run on the first run on TF101 which will resize the linux partition to its limit, copy the wpa_supplicant.conf from the android partition and starts wlan0 I will send this to you asap but will test this first. Hope my English is understandable
onmail said:
It works I am just in the middle of installing xubuntu-desktop... I have made a quick & dirty bash script which will help to set hostname for the new TF101, root password, make a new user with password and add him to sudo group, automatically enable all the deb repos (universe etc.), set cpu freqs in rc.local and install some usefull utils (sudo cpufrequtils bash-completion wpasupplicant nano mc net-tools). And there is a second script you can run on the first run on TF101 which will resize the linux partition to its limit, copy the wpa_supplicant.conf from the android partition and starts wlan0 I will send this to you asap but will test this first. Hope my English is understandable
Click to expand...
Click to collapse
Xubuntu on raring is working without any problems. Now I would like to get the nvidia accelerated drivers working. I have tried 2 or 3 3.1 kernels but still without success. Googling for some help on compiling 3.1 kernel.
onmail said:
Xubuntu on raring is working without any problems. Now I would like to get the nvidia accelerated drivers working. I have tried 2 or 3 3.1 kernels but still without success. Googling for some help on compiling 3.1 kernel.
Click to expand...
Click to collapse
Awesome! If you go to the op for x3maniac, you can view his github that has 3.1 kernel source. Take a look and see of it helps.
Sent from my SGH-T999 using Tapatalk 2
TomTcom said:
Awesome! If you go to the op for x3maniac, you can view his github that has 3.1 kernel source. Take a look and see of it helps.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
By the way, I have instructions for compiling the 2.6.36 kernel in my xda signature if that helps you.
Sent from my SGH-T999 using Tapatalk 2
TomTcom said:
By the way, I have instructions for compiling the 2.6.36 kernel in my xda signature if that helps you.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Yes, I know, I have already checked that. The 2.6 kernel is ok but I would really like to see the nvidia drivers working...
Had an issue mounting raring.img in step 9, had to run sudo fsck.ext4 "path to file" afterwards it mounted smoothly, dont know why tho.
JoinTheRealms said:
Had an issue mounting raring.img in step 9, had to run sudo fsck.ext4 "path to file" afterwards it mounted smoothly, dont know why tho.
Click to expand...
Click to collapse
Hmmm...did step 8a work ok?
Sent from my SGH-T999 using Tapatalk 2
TomTcom said:
Hmmm...did step 8a work ok?
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Afaik it did, gave me the mentioned prompt, and finished without error. Might have something to do with me running a x64 vm ? as i wasnt able to chroot either. Im trying to get this running on my tf300t, but its alot different to installing it on the trusty tf101
Cheers for the guide tho, help me understand the whole process :good:
JoinTheRealms said:
Afaik it did, gave me the mentioned prompt, and finished without error. Might have something to do with me running a x64 vm ? as i wasnt able to chroot either. Im trying to get this running on my tf300t, but its alot different to installing it on the trusty tf101
Cheers for the guide tho, help me understand the whole process :good:
Click to expand...
Click to collapse
I believe our dev x3 mentioned there were differences on a VM so it probably has to do with that.
Glad the guide is helpful. Welcome!
Sent from my SGH-T999 using Tapatalk 2
Nice guide ! I just crated a 13.04 raring img. ( Used VM Kubuntu 12.04 )
Need some updates but nice
And there is a problem with actual release, wpa supplicant is not pre installed and now I'm in the begining of your second guide and cant set up wifi.
I had to download package with chroot, then install with my tab same for nano
Anyway, it's just FYI I dont really need help
Kingzak34 said:
Nice guide ! I just crated a 13.04 raring img. ( Used VM Kubuntu 12.04 )
Need some updates but nice
And there is a problem with actual release, wpa supplicant is not pre installed and now I'm in the begining of your second guide and cant set up wifi.
I had to download package with chroot, then install with my tab, and now it doesnt find iwlan0
Anyway, it's just FYI I dont really need help
Click to expand...
Click to collapse
This guide wasn't designed to use wifi, only to correctly package it for flashing 13.04 directly to the tab. The next guide adds the gui and requires your Android to be set up to copy over the wpa_supplicant file before executing those commands.
Onmail was able to script more changes to the image from "chroot" but I didn't go that far, he was able to get the supplicant and other abilities such as adding to the package better than I did.

Categories

Resources