[GUIDE] Installing and configuring Linux (Ubuntu / Debian) on the Acer A500 / A501 without VNC | Native Linux on Iconia
New hat
It became
Worse [ 11 ] ** [5,82%]
It is better [ 47 ] ** [24,87%]
Anyway, just the result is interesting. [ 131 ] ** [69,31%]
Total votes: 189
 



Rep: (50)
Installing Ubuntu Linux on Acer A500 / A501

Description | Discussion " | FAQ on the A500 " | Acer ICONIA TAB A500 / 501 - Purchase | Acer Iconia Tab A500 / A501 - Accessories
3.x firmware | 4.0.x firmware | Firmware 4.1.x - 4.3 В»

At the moment, the most efficient port ubuntu from thor2002ro based on 13.04
What works
Currently working in ubuntu
[*] wifi
[*] bluetooth (not out of the box, requires additional configuration)
[*] display
[*] x tegra driver (only works where it is not clear to use)
[*] touchscreen (single touch only)
[*] hw button (volume and power button)
[*] battery (correctly determines the charge)
[*] usb host port (flash drives, mice, etc.)
[*] audio
[*] hdmi

Does not work
[*] no multitouch
[*] no built-in cameras
[*] GPS does not work and the fate of the compass and gyro is not clear (there seems to be a driver, but I did not find software for them)

Installation requirements:
[*]Last unlocked dual boot bootloader
[*] A USB flash drive (not microsd), at least 512mb formatted in Fat32, is needed for installation from it
[*] usb-clave (or copy login / password with the mouse)
[*] a500 / 501 or compatible tablet
[*] microsd, at least 4gb, split into 2 partitions, and the first one is formatted in ext4

Screenshots
Attached Image

Attached Image

Attached Image

Attached Image

Attached Image


Installation
To install it you need:
microsd volume of 4 gigabytes, better more, formatted in ext4, you can do this through acronis or from any linux distribution.
Ordinary usb flash drive and usb keyboard
Well, actually the installation files
1 Actuallyinstaller
2 rootfs
3 The linux kernel

I had a problem that the installer did not work correctly due to the difference in the paths to the flash drive, so if anyone has such problems (and they are likely to happen to everyone who has droid 4.2.2), I post the modifiedinstaller.
After the microsd has been prepared and the files necessary for installation are copied to the USB flash drive, we reboot into recovery and run the update_linux_installer-v1 file from the flash drive, wait for the operation to take about 15 minutes, if the installer didn’t fit in a couple of minutes or less, use my installer, then run the Kernel update .

After that, we reboot the tablet and hold down the volume up button and select "boot secondary kernel image" in the menu that appears and connect our keyboard, if everything went successfully, a window should appear where you will be asked to select a language and enter the user name and password.
Next, under your user log in.


Raring has gone to old-releases. Accordingly, the repositories no longer work.
Decision:
sudo cp -i /etc/apt/sources.list /etc/apt/sources.list_backup
open /etc/apt/sources.list in any text editor (sudo leafpad /etc/apt/sources.list) and replace everything that is there with this:
sources.list
# Seehttp://help.ubuntu.com/community/UpgradeNotesfor how to upgrade to
# newer versions of the distribution.
debhttp://old-releases.ubuntu.com/ubuntu/raring main restricted
deb-srchttp://old-releases.ubuntu.com/ubuntu/raring universe main multiverse restricted #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
debhttp://old-releases.ubuntu.com/ubuntu/raring-updates main restricted
deb-srchttp://old-releases.ubuntu.com/ubuntu/raind-updates universe main multiverse restricted #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. WILL NOT receive any
## review or updates from the Ubuntu security team.
debhttp://old-releases.ubuntu.com/ubuntu/raring universe
debhttp://old-releases.ubuntu.com/ubuntu/raring-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free license. Please satisfy yourself as
## your rights to use the software. Also, please note that software in
## multiverse will not receive any review or updates from the Ubuntu
## security team.
debhttp://old-releases.ubuntu.com/ubuntu/raring multiverse
debhttp://old-releases.ubuntu.com/ubuntu/raring-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively, although it includes
##
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
debhttp://old-releases.ubuntu.com/ubuntu/raring-backports main restricted universe multiverse
deb-srchttp://old-releases.ubuntu.com/ubuntu/raring-backports main restricted universe multiverse #Added by software-properties

debhttp://old-releases.ubuntu.com/ubuntu/raring-security main restricted
deb-srchttp://old-releases.ubuntu.com/ubuntu/raid-security universe main multiverse restricted #Added by software-properties
debhttp://old-releases.ubuntu.com/ubuntu/raring-security universe
debhttp://old-releases.ubuntu.com/ubuntu/raring-security multiverse

## Uncomment
## 'partner' repository.
## This software is not part of Ubuntu, but it is offered by Canonical and
## respective Ubuntu users.
debhttp://archive.canonical.com/ubunturaring partner
deb-srchttp://archive.canonical.com/ubunturaring partner

## This software is not part of Ubuntu, but it is offered by the third-party
## developers who want their ship software.
debhttp://old-releases.ubuntu.com/ubuntu/raring-proposed universe main restricted multiverse
deb-srchttp://old-releases.ubuntu.com/ubuntu/raring-proposed universe main restricted multiverse #Added by software-properties


Customization
For further actions you need to use a terminal emulator (lxterminal), and for all further actionsnecessarily Internet connection required.
We start the terminal and enter

sudo apt-get update
sudo apt-get upgrade


these two teams will check for updates and install them

In order for you to have a brightness slider we type

sudo add-apt-repository ppa: indicator-brightness / ppa
sudo apt-get update
sudo apt-get install indicator-brightness


then we add its appearance in the panel to autoload, for this we open applications ->system utilities ->options ->automatically running applications and add /opt/extras.ubuntu.com/indicator-brightness/indicator-brightness there
I can recommend to add an auto launch of a virtual keyboard for this in the same place we add the onboard command
Now each time it is turned on, the brightness applet and the virtual keyboard will start automatically.

I can recommend the vlc player to play video

sudo apt-get install vlc


Add codecs

sudo apt-get install ubuntu-restricted-extras
sudo apt-get install libavformat-extra-53 libavcodec-extra-53


You may also need java

sudo apt-get install icedtea-7-plugin openjdk-7-jre


Turn on the flash (contact unfortunately still does not work but YouTube works (albeit lousy) and advertising banners)

sudo apt-get install gnash
sudo apt-get install browser-plugin-gnash
sudo apt-get install mozilla-plugin-gnash

sudo cp '/usr/lib/mozilla/plugins/flashplugin-alternative.so' /usr/lib/chromium-browser/plugins/libflashplayer.so


Two panel file manager similar to Total Commander
sudo apt-get install gnome-commander

LAN support for it
sudo apt-get install libgnomevfs2-extra


Bluetooh activation

The easiest to type in the console

sudo su
rfkill block 0
rfkill unblock 0
brcm_patchram_plus --enable_hci --baudrate 3000000 --patchram /lib/firmware/bcm4329.hcd --enable_lpm / dev / ttyHS2


But this only activates bluetooh before the first reboot or shutdown, in order for it to work constantly, you need to bring the part responsible for bluetooh to this form in the /etc/init/patchram.conf file

# patchram - Broadcom brcm_patchram_plus utility.

description "bluetooth initialization"

start on starting bluetooth
stop on stopping bluetooth

expect fork

env PATCHRAM_ARGS = "- patchram /lib/firmware/bcm4329.hcd
--enable_hci \
--enable_lpm \
--baudrate 3000000 \
--tosleep = 50000 \
/ dev / ttyHS2 "

exec / usr / bin / brcm_patchram_plus $ PATCHRAM_ARGS &

pre-start script
rfkill unblock bluetooth
chmod 0660 / sys / class / rfkill / rfkill0 / state
chmod 0660 / sys / class / rfkill / rfkill0 / type
chgrp dialout / sys / class / rfkill / rfkill0 / state
chgrp dialout / sys / class / rfkill / rfkill0 / type
end script


Overclocking
On a clean ubuntu, you can set the processor frequency from 200 to 1000 MHz, so that frequencies above 1 GHz are available,
Install cpufrequtils
sudo apt-get install cpufrequtils

Then, in the /etc/init.d/cpufrequtils file, correct the values ​​to
ENABLE = "true"
GOVERNOR = "interactive"
MAX_SPEED = "1600000"
MIN_SPEED = "216000"

where 1600000 is the maximum available frequency for your device
Personally, I have worth 1,400,000 if I put above something that is not a stable job (reboot), but in general, how lucky.

miscellanea
Manualto launch 3 heroes
Installationmate
Viewvideo



Outdated way to run Ubuntu

Instructions for manual installation and assembly of rootfs:
1) First of all, it is necessary to prepare rootfs - the root file system (or find and download an already ready one, for example, via the link below), for this at the moment there are 2 ways: through Debootstrap and throughLinux Deploy(not yet suitable for Ubuntu).
There are 3 kernel options: one loads rootfs from rootfs.img-file in the internal memory (mmcblk0p8,Attached filerecovery.img(4.11 MB)
), another from the 2nd sd card partition (mmcblk1p2, core from sp3dev, newrec.img), from the 1st sd card partition (mmcblk1p1, recovery.bin). Depending on the kernel, we assemble the FS into either an img-image, or mount the necessary section of the sd-card. Immediately I will say, if you collect on a slow USB flash drive, the whole process can take 3 hours.
a) through Debootstrap. Requires an installed Linux distribution (you can also on a virtual machine).
Perform line by line in a Linux terminal:
# create a mount point / mnt / deb
mkdir / mnt / deb
# a) if we write to img, then we execute these lines (select an empty image in memory, into which we will work with):
fallocate -l 3G deb.img
# and format it
mkfs.ext4 deb.img
# then, mount to the previously created point
sudo mount deb.img / mnt / deb
# b) if we write to the section of the memory card (it should already exist (I havesdb2 , we enter our own), and in ext4, I broke it in GParted), then we execute the following line:
sudo mount -t ext4 / dev /sdb2 / mnt / deb
# run directly the creation of the file system:
here "armhf" / "armel" is the architecture, "precise" is the distribution code name, "/ mnt / deb" is the installation location
# process takes about 10 minutes, you can rest for now)
sudo qemu-debootstrap --arch armhf precise / mnt / deb
# Further we open mnt / deb / etc / apt / sources.list and add the necessary repositories (without the # signs), here for 12.04
#################################################
# debhttp://ports.ubuntu.com/ubuntu-ports/precise main restricted universe multiverse
# deb-srchttp://ports.ubuntu.com/ubuntu-ports/precise main restricted universe multiverse

#################################################
# log in as root to install the remaining packages
sudo chroot / mnt / deb / bin / bash
# if you do not mount / proc, then there arises the error bug (dbus and its dependencies)
mount -t proc proc / proc
#mount -t sysfs sysfs / sys
# set Russian locale
locale-gen en_US.UTF-8 en_US.UTF-8
/ usr / sbin / update-locale LANG = en_US.UTF-8 LANGUAGE = "en_US: en"

# load the package list
apt-get update
# put firewood on BT \ WiFi, then unpack and copy the folderAttached filebrcm.zip(219.91 KB)
in / mnt / deb / lib / firmware (min 15)
apt-get install broadcom-sta-common broadcom-sta-source firmware-b43-installer firmware-b43 legacy-installer b43-fwcutter
# we decide on the environment and install additional programs (about half an hour)
apt-get install ubuntu-desktop# Unity environment
# apt-get install xubuntu-desktop #XFCE with add. programmes
# apt-get install gnome-panel # gnome-fallback
# apt-get install xfce4 # bare XFCE (not even a notebook)
# desktop manager - installed with ubuntu-desktop and xubuntu-desktop, otherwise we execute
# apt-get install lightdm
# apt-get install slim #I had to install it, as lightdm started to restart cyclically, preventing it from logging in
#open /etc/lightdm/lightdm.conf or etc / slim.conf and configure autologin if necessary, very important in the absence of a USB keyboard
passwd<your root password>
now rename the image to rootfs.img (in the home directory) and drop it into / sdcard on our tablet.
b) throughLinux Deploy. And here it remains to perform only
# put firewood on BT \ WiFi, then unpack and copy the brcm folder to / mnt / deb / lib / firmware
apt-get install broadcom-sta-common broadcom-sta-source firmware-b43-installer firmware-b43 legacy-installer b43-fwcutter
all setup information is outlined inrelated topic, only as a destination /sdcard/rootfs.img or / dev / block / mmcblk1p2 depending on the kernel.
at)Ready image of Ubuntu Oneric (11.10, armel)Ubuntu4Arm, (unpacked 8GB, keep in mind)
from this topicubuntu on acer a500, dual boot with android on acer a500 and possibly a501, there are additional instructions on how to start a video, sound, etc. (checked, works).
пїЅ

2) Next, install the kernel, here are also 2 options - either it is put instead of recovery (did not try), or whenIcs-bootloader-v8- on the AKB section, describing the second
We are loaded into android, we throw the kernel in / sdcard and execute in the terminal
su
dd if = / sdcard / recovery.img of = / dev / block / mmcblk0p7

3) Turn off the tablet and turn it on with POWER + VOLUP, select BOOT FROM SECOND PARTITION and voila!
Possible problems / solutions:
1) gets stuck on the boot at the very beginning, before the screen is updated (thanksnick_on_off )
Add in / etc / fstab
proc / proc proc defaults 0 0
dev / dev tmpfs rw 0 0
/ dev / mmcblk1p1 / auto rw 0 1
Recommendations:
1) As a browser, install Chromium, and on it an extension for scrolling with your fingerChrome touch
2) Update the OnBoard virtual keyboard - on new versions, the interface is more convenient and they do not slow down.
WELCOME ANY INFORMATION ON NUCLEARS AND READY ROOTFS!
<not relevant>CORE 3.1 from Forzaferrarileo source coderogro82 kernel 3.1 mmcblk1p2
* correctly shows the battery charge, lightdm does not crash, the sound immediately works
Firewood on video brother onLAUNCHPAD HERE


Set for installation in/ data (thank Andrei Bakai ):
update-linux_installer-v1 (data) .zip
update-kernel (data) .zip

Instructions for building the file system and running Linux from different themes on the XDA and not only, but specifically:
Ubuntu 13.04 from Tor original post
[WIP / DEV / GUIDE] Debian Linux armhf
{HOW TO} Native Debian on A500 and building your own rootfs
[Dev] Native linux on Iconia
Changelog
21.10.2013
Added new kernel 3.8.13.11 and mate installation instructions
16.10.2013
Redid the cap


Thanks to user Ptu4ka for information about repositories.

Dear users! You are welcome,say thank you by raising your reputation ( Picture). If you have less than 15 messages, then clickPictureon the right post and tell the moderator who helped you and how.

All requests for filling caps send the curator of the topicleonidy-85atQMS.

Post has been editedleonidy-85 - 28.09.14, 19:00



Rep: (208)
Can I post a ready-made image? My ubuntu is dead, I will not be bothered to pick up.



Rep: (50)
M.Adov, upload if possible. Now I'm trying to raring to collect) There is a Debian wheezy with xfce and Ubuntu 12.04 with Unity, but the speed and stability of my upload is just terrible)

Here, as an option - I do not know whose, here Ubuntu 11.04http://depositfiles.com/files/zvs9r9x2k

As time will try to start an official rootfs under ac100 from the ubunt site, there should be a video stream, maybe even tonight)http://cdimage.ubuntu.com/releases/12.04/r...hf+ac100.tar.gz

Post has been edited90amper - 07.02.13, 17:56



Rep: (1)
Is there a difference in the speed of work, if you use .img in the root or ext4 partition on the map?

UPD: On xda there was a theme with installing debian, there was also installing drivers. Putting rootfs from ac100 is not worth it, there is a tag 250, if I'm not mistaken

Post has been editedBanyaa - 07.02.13, 18:47



Rep: (1)
This onetheme. See point 11 (xorg ibid.)

Post has been editedBanyaa - 07.02.13, 18:53



Rep: (50)
Yes, I read that temko. I forgot to do it
ln /usr/lib/xorg/modules/drivers/tegra_drv.abi12.so /usr/lib/xorg/modules/drivers/tegra_drv.so
I'm going to try now
and xorg is some kind of incomplete, apparently if you do not specify anything - are standard firewood used?
I can’t say anything about the speed of work, the core of sp3dev didn’t load even pty.
And what about ac100, does a particular video accelerator model really matter? They're both Tegra 2.

UPD: Raring got together with an error in the initramfs-tools, only the desktop background is loaded from the GUI, the lightdm brain soars again, I sit and understand.

Post has been edited90amper - 07.02.13, 19:43



Rep: (208)
And what about ac100, does a particular video accelerator model really matter? They're both Tegra 2.

I tried it now, it will not start



Rep: (50)
M.Adov, where is the stop?
Firewood won't start
(EE) module ABI major version (12) doesn't match the server's version (11)
(EE) Failed to load module "tegra" (module requirement mismatch, 0)


Post has been edited90amper - 07.02.13, 20:59



Rep: (208)
where is the stop?


I tried 11.04 from the cap, it also does not come out.
Attached Image



Rep: (50)
M.Adov, strange, something hurts early stuck)
Well, now I will pack my system and try to lay out, only there is Eclipse and Libreoffice
Do you have rootfs from the image taken, the core from the header?

Post has been edited90amper - 07.02.13, 22:16



Rep: (208)
Do you have rootfs from the image taken, the core from the header?

The core of the cap.
Renamed from .tar to rootfs.img
The question is also where to lay down specifically. When using the terminal, the kernel was not seen until it was put into the root of the device itself (and when rebooting, it was successfully erased from there). I can not copy the image to the root (lies in storage / sdcard0), I get a reboot.

Post has been editedM.Adov - 07.02.13, 22:31



Rep: (50)
M.Adov,
God, what have you got there?) Why did you rename tar? it is necessary to unpack it.
And if you want to transfer it to img, then first
fallocate -l 3G deb.img
mkfs.ext4 deb.img
sudo mount deb.img / mnt / deb
then unpack it into / mnt / deb archive, and then this img is thrown into the internal memory

Judging by the screenshot, the image was just crookedly unpacked (it weighs 8GB there).

Post has been edited90amper - 07.02.13, 23:31



Rep: (208)
Could run using imagefrom here(ibid instructions how to raise the sound, etc.)



Rep: (50)
M.Adov @ 8.2.2013, 19:32*
Could run using imagefrom here(ibid instructions how to raise the sound, etc.)

so there are a lot of images in that topic) I tried to play the sound like that, but it doesn’t work on my build. Do you have it directly from the speakers, or through headphones? And another question, from which application does the sound play? I tried from contact, maybe the browser just could not

Post has been edited90amper - 08.02.13, 19:42



Rep: (208)
so in that topic a lot of images)

In the first post, from a third-party link)
Straight from the speakers.



Rep: (50)
Well, yes, I tried this image, it is interesting assembled! How did they manage to postpone the installation until launch? Apparently it’s not debootstrap that worked here)
tegra video wound up?

By the way, how about creating a FS throughLinux Deploy? The idea is just what you need for us, lazy)

Post has been edited90amper - 08.02.13, 23:18



Rep: (7)
Through linuxdeploy I tried to collect, I launched archlinux, but I did not get to gui (I was too lazy to win, but quite real). Ubuntu did not start. Kernel with xda. Now BodhiLinux has launched, also without sound ((and wifi to pick up for a very long time bother.

Post has been editedBazamonster - 09.02.13, 10:28



Rep: (11)
In parallel with Android 4.2.1 does not want to work. Stops at
dhd_bus_start: dhdsdio_probe_download failed

I tried to collect myself (under Ubuntu in VirtualBox) and put other people's images, all the same. Now downgrade to 4.1.2, try again.



Rep: (7)
NskDragon , android firmware should not affect. I have a torus 4.2.1, it was 4.1 before the torus, I did not notice the difference.



Rep: (0)
I did not boot any rootfs until I wrote the line image in / etc / fstab
proc / proc proc defaults 0 0
dev / dev tmpfs rw 0 0
/ dev / mmcblk1p1 / auto rw 0 1

My rootfs is on the external sd on the first partition.

And the sound did not work if the pulse package was installed, without it the sound appeared.



Rep: (11)
Everything, the problem is found, then the kernel that is in the header is trying to take rootfs with mmcblk0p7, and / sdcard is mounted under mmcblk0p8: \
You can solve it only by buying MicroSD by resetting the rootfs on it and by another kernel with a download from SD. It has long been time to buy a SD card, and that is why the reason was found :)


Full version    

Help     rules

Time is now: 13/07/20, 5:41