Ubuntu 10.10 Install Guide - Acer Iconia A500

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

Related

Debian working niceley on Desire.

Debian for Desire.
If you are able to try this on another android device, please do as I will be very interested in the results.
Download
http://www.multiupload.com/79TSI1AAF9
You will need.
-Root access.
-Busybox (included in most custom roms)
-1.4gig free on SDCARD
-VNC Client (ie. AndroidVNC)
-Terminal Emulator (ie. ConnectBot)
-7zip
Instructions
-Extract the file deSIREbian.7z on your PC using 7zip.
-Copy the contents (debian.img and deboot) to root directory of SDCARD.
-On your phone in terminal emulator type
su
sh /sdcard/deboot
Click to expand...
Click to collapse
You should get a blank screen showing "localhost:/#" after a couple of seconds.
-On your phone in your VNC client log in using these details
Password - password
Port - 5901
Click to expand...
Click to collapse
Nickname and Address are not needed, call it what you want though.
Changing the colour to 24bit and enabling local mouse pointer and full screen bit map are not neccesary but reccomended.
-Thats it.
Notes.
-You can log in via ssh, (gives a much better terminal, ie works properly with aptitude). Use [email protected] and password "toor"
-The version of Debian is Armel Lenny, installed using debootstrap.
-It is just the base package with LXDE on top, you only get a desktop, a file browser, an internet browser, and a pic viewer.
-If you want more packages there's tonnes of room on the image. eg apt-get install openoffice.org or apt-get install abiword or apt-get install any flipping thing u want
-You can access the SDCARD from Debian at "root/sdcard" (read-write)
-You can access Debian filesystem from Android (When Debian is running) at "sdcard/debian" (read only)
-debian.img is mounted at "sdcard/debian" using "dev/block/loop5"
-So far the only rom i have come accross that this dont work with is one of the cyanogen nightlies from last week. apart from that, working on opendesire, cyanogen, defrost, leedroid, official 2.2 with busybox...
Issues.
Debian cannot be shut down. You need to reboot the phone to do this. (You can kill the VNC server with "vncserver -kill :1" there is an icon on the festoons to do this.)
Update log.
deSIREbain.
-First release.
deSIREbain2
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
Hey,
thank you for your work, i will test it so far and will tell you the results
got this error:
Code:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /sdcard/debian/root/sdcard failed: No such file or di
rectory
net.ipv4.ip_forward = 1
chroot: can't change root directory to /sdcard/debian: No such file or directory
#
If you have the same problems try out
su
mkdir /sdcard/debian
losetup /dev/block/loop3 /sdcard/debian.img
mount -t ext2 /dev/block/loop3 /sdcard/debian
ls /sdcard/debian
thx to mercianary for help
greetings
I found this guide quite helpful at getting a bootstrapped Debian setup running.
http://www.saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
blackstoneuser5 said:
I found this guide quite helpful at getting a bootstrapped Debian setup running.
www . saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
Click to expand...
Click to collapse
I used parts of this for reference too. Its a great guide, explains things really well.
i've just updated this. link is in the first post.
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
debian for desire--help please
hi
I spent much time for searching debian or ubuntu for desire, but nothin worked
know i found this and i have download everything and start to install over the terminal
but the " sh /sdcard/deboot" is not workin to
there's only this answer:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
[: not found
losetup: not found
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
busybox: not found
sysctl: not found
chroot: not found
may somebody help me?
i really want to have it on the desire
thanks
It looks like you had not installed busybox
Which ROM do you use ?
oh i'm sorry
i'm a newbie and don't really know what a rom is
but i had problems with busybox and there was a somebody who said i can get the app titanium and let it install the busybox
could you please show me a tut how to install busybox
maybe a german tut
thanks
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Rosi1337 said:
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Click to expand...
Click to collapse
dont know why that happened.. works on mine. syntax looks ok to me.
try with this one (attatched), it's the same but without the bit that's not working for you.
what rom are you using, i shall try to replicate the error so I can try to fix properly.
thepuechen said:
could you please show me a tut how to install busybox
maybe a german tut
thanks
Click to expand...
Click to collapse
There should be a guide on installing busybox somewhere if you want to search for it, i know i remember seeing one a while ago.
Too be honest, your better off just flashing a rom that includes busybox, it would be MUCH easier.
have a look here and see what takes your fancy, I would recomend defrost, because it is stable and easy to overclock.
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
please paste at that time log
jacobtc said:
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
Click to expand...
Click to collapse
Please paste at that time log.
Maybe vnc server does not running.
tknv said:
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Click to expand...
Click to collapse
You should understand that this is not a really booted native linux. Instead you are working in a chroot environment. So there is no kernel running that can get parameters. Only the the stock kernel of your DeFroST. Also there is no FrameBuffer as the graphic hardware ist not accessible. Instead this approach uses a vnc-server to which you can connect via a local viewer.
The advantage of this approach is clear:
- run almost any linux package available in the debian repository
- use your phone as before with the nice android
The disadvantage:
- no graphic output, so no 3D-games (which are rare under linux on the arm platform ;-)
- you can crash your android by eating up to much ram (not such a problem - it restarts on its own and if not you just have to reboot)
Thread is dead?
It seems this thread is dead. The problems many users seem to have come from a dirty setup. The image is broken in many terms:
- wrong file permissions on important binaries, like su
- wrong file permissions on many device files under /dev, so the ttys are only accessible by root
- wrong permissions on other places so there are always errors when installing additonal software (e.g. with the man pages)
- wrong setup that uses the root user for the desktop - instead an unprivileged user should be used
- missing packages for timezones and locales so the time is only right, if you are in a UTC region and console programs having trouble displaying anything else then plain english
I can not recommend using this setup image. It is better to use one of the instructions available online to get a clean setup.
Su doesn't work because your allready root.
Getting anything but root to work would be a real pain.
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Just thought I'd add my 2 cents.
I tried this on a MIUI rom and the scripy didnt do anything - ie i ran it using:
"# sh /sdcard/deboot"
.....and all it said was:
"#"
I entered all the lines in the shell script but the last one said it failed to launch VLC and no commands registered property (not even ls)
So i tried it on Defrost 5.1, and the script still didn't work.
But when i entered everything manually, it did work. Not too sure about the green theme though.
But thanks alot! Saves me spending a few hours trying to coax a working debootstrap out of my computer.
Thanks!
Josh.
mercianary said:
Su doesn't work because your allready root.
Click to expand...
Click to collapse
Nope. Actually su works only for root. It's missing the setuid root flag like all other binaries that should have it set.
mercianary said:
Getting anything but root to work would be a real pain.
Click to expand...
Click to collapse
Nope. I am always working as a normal, unprivileged user in my chroot. You just have to be in the proper groups. No need to work as root. Android works also with an unprivileged user.
mercianary said:
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
Click to expand...
Click to collapse
This is what I do not understand. There is no need that it is broken, as mine works without any errors. So I think something went wrong in creating yours. For sure a chroot is no running OS but you can server almost any service with it and run anything you want (if your ram does not get exhausted ;-).
mercianary said:
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Click to expand...
Click to collapse
Yes. Everyone with a good rom should have a2sd+ (aka the old a2sd) which saves more space than the froyo one and leaves your loop devices for you.
jo

[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

[ROOT] Stock ICS Leak One-Click Root Tool

Hi all!
First off, I'm new to xda Developers so please excuse me if this is in the wrong forum! I thought I'd post information about a tool I wrote here which roots stock 4.0.3 leak on the A500, A501 and assumingly the A200 too. Its literally one click - just enable USB debugging. "ICS Root" also installs, optionally, FaceLock and Trebuchet (although FaceLock doesn't want to work. It lets you set it up though =P)
Since version 5.0.1 this also now works with the new 0.022.00 leak!
The full post is over at TegraOwners: http://forum.tegraowners.com/viewtopic.php?f=30&t=350
The only real system requirements are Windows (with .Net Framework 4) and an Iconia on the stock 4.0.3 leak. I hope somebody finds this useful its been tested by myself and a couple of TegraOwners users and it works well.
In terms of the technique used, it uses the great Jay Freeman's mempodroid exploit to gain root at which point it mounts /system rw and installs su, busybox and Superuser.apk so no real surprises there. Installing Trebuchet adds that apk to /system/app and installing FaceLock installs the apk to /system/app before installing the pittpatt folder to the flexrom (mounted as /system/vendor). I plan to open source it when all the requested features have been implemented and the code has been cleaned up.
Thanks!
~blackthund3r
EDIT 14/05/2012: ICS Root 7 is out enjoy!
Sent from my A500 using Tapatalk
cwm version?
why would it not work with cwm version?
With this tool does system remain writeable after rooting?
What about flashing CWM with acer recovery installer once rooted? I guess it would screw the bootloader...
lowsum said:
What about flashing CWM with acer recovery installer once rooted? I guess it would screw the bootloader...
Click to expand...
Click to collapse
If you are on the cwm with the HC boot loader it should work as Its Magic will be run..
if you are on the new boot loader as in the full non modded leak.. It will give you secure boot error ..
The new boot loader Blocks its magic.
Thanks
Hey this worked easy. I had to re-install USB drivers and make sure I had the latest from Google. Other then that, hit the button, wait about 1.5 minutes, and it rebooted! No problems thus far! Thanks Again!
JeanBubu said:
why would it not work with cwm version?
Click to expand...
Click to collapse
It would but the cwm one, afaik, is prerooted?
Sent from my A500 using Tapatalk
root doesnt work like its supposed to. i know its only half root due to the bootloader, but terminal emulator flat out says i'm not rooted after this despite sixasis working and titanium backup/root checker both saying i have root and busybox. i'm going to post this on TO as well for you incase you dont check here often.
nifterific said:
root doesnt work like its supposed to. i know its only half root due to the bootloader, but terminal emulator flat out says i'm not rooted after this despite sixasis working and titanium backup/root checker both saying i have root and busybox. i'm going to post this on TO as well for you incase you dont check here often.
Click to expand...
Click to collapse
That's storage cos terminal works for me and running su in an adb shell works great too.
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
# exit
[email protected]:/ $ su
#
Sent from my A500 using Tapatalk
SteamBishop said:
Hey this worked easy. I had to re-install USB drivers and make sure I had the latest from Google. Other then that, hit the button, wait about 1.5 minutes, and it rebooted! No problems thus far! Thanks Again!
Click to expand...
Click to collapse
You're welcome and I'm glad it worked!
Sent from my A500 using Tapatalk
After reading the other post, I have found that I cannot write to the system directory from the device itself. The folder attributes indicate that it is set to write, however File Explorer HD will not let me. I have tried to create a folder in the /system and it will not accept the addition. The strange thing is that Root Check says it is rooted, File Explorer HD accepts putting it into Root Explore, but that is it. It is odd. I will try to reapply the Root to see if that makes a difference.
SteamBishop said:
After reading the other post, I have found that I cannot write to the system directory from the device itself. The folder attributes indicate that it is set to write, however File Explorer HD will not let me. I have tried to create a folder in the /system and it will not accept the addition. The strange thing is that Root Check says it is rooted, File Explorer HD accepts putting it into Root Explore, but that is it. It is odd. I will try to reapply the Root to see if that makes a difference.
Click to expand...
Click to collapse
Please, read the op before bringing this up. This method is for half root, its the only way possible right now on stock leak ics. There is a special script you need to use to mpunt system. You can find it in the stock leak thread, run it in terminal or use rom toolbox and set it as a script to run at boot because rebooting loses write privileges.
nifterific said:
Please, read the op before bringing this up. This method is for half root, its the only way possible right now on stock leak ics. There is a special script you need to use to mpunt system. You can find it in the stock leak thread, run it in terminal or use rom toolbox and set it as a script to run at boot because rebooting loses write privileges.
Click to expand...
Click to collapse
Sorry for offending you and whoever else it did. Thank you for pointing that script out in that post. My intent was to offer a second comment to your assessment..
nifterific said:
Please, read the op before bringing this up. This method is for half root, its the only way possible right now on stock leak ics. There is a special script you need to use to mpunt system. You can find it in the stock leak thread, run it in terminal or use rom toolbox and set it as a script to run at boot because rebooting loses write privileges.
Click to expand...
Click to collapse
I have a better script which I'll be releasing as an update to the root app this morning hopefully. It'll be a terminal command to remount rw.
Sent from my A500 using Tapatalk
New update out!!
blackthund3r said:
I have a better script which I'll be releasing as an update to the root app this morning hopefully. It'll be a terminal command to remount rw.
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
Version 3 came out this morning
It features some bug fixes as well as a completely new remount menu which mounts /system rw properly on the fly. Tested with a busybox installer app
Enjoy!
Thanks for your tool blackthund3r !
I tried it with the new leak from this morning and it doesn't seem to work anymore
Edit :
Just to be a little more specific, the app says the process was OK and state that the tablet is rooted but the tablet doesn't reboot by itseld and su is not installed. I tried to install su manually but it's unable to find a previous su package on the system.
paugustin said:
Thanks for your tool blackthund3r !
I tried it with the new leak from this morning and it doesn't seem to work anymore
Edit :
Just to be a little more specific, the app says the process was OK and state that the tablet is rooted but the tablet doesn't reboot by itseld and su is not installed. I tried to install su manually but it's unable to find a previous su package on the system.
Click to expand...
Click to collapse
ah okay it appears a completely new leak has been released. It is possible that the mempodroid exploit has been patched up. I'm gonna look into it soon. I can't much tonight - I have school work. I'll see what can be done and what the differences between leaks are.
Sent from my A500 using Tapatalk
EDIT: mempodroid hasn't been patched See ICS Root v3.1
Hi blackthund3r
Thanks for the update 3.1 but could you please fix the problem on your hosting website? clicking on this file send to an error warning.
The other files can be downloaded though.
can someone post a mirror to the 3.1 version? current link is not working.
can somebody also confirm, if i root with this tool, i will be able to reinstall my clockworkmod recovery through 'acer recovery installer' and flash any other cwm rom? or do i have to downgrade to honeycomb 3.01, install iconiaroot for honeycomb and then acer recovery installer?
Gersma,
I'll be able to answer to your question as soon as I'll be able to download this tool and test it.

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

{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

[Q] Trying to make a filesystem in a file.

Hello,
I've been searching around for awhile now but I can't find anything on this. Simply, I've been trying to create a filesystem (ext2) on a file (created with dd). My goal is to get gentoo running on this device (gentoo actually has been ported to ARM, so I don't see why it wouldn't work). Now here lies the problem, when I try to create the filesystem using mkfs.ext2, I get this odd error:
Code:
# mkfs.ext2 -F root
mntent* getmntent(FILE*)(3) is not implemented on Android
mkfs.ext2: lseek: Value too large for defined data type
I've never had trouble doing this before on a desktop or laptop before, so I'm pretty stumped as to why this is doing this.
Help is greatly appreciated.
EDIT: I really should mention that I am not using the stock ROM. I currently have cyanogenmod installed (10.1) with the 4.2.2 kernel. I also have busybox 1.21.0 installed as well.
Thanks in advance,
Dragos
This problem doesn't exist on my device (stock ROM, busybox installed using app "Busybox" from Google Play). I used the same command as you and it worked. Maybe it is fault of your Busybox version?
I don't know will this workaround satisfy you, but you can simply prepare this file using any Linux desktop and then move it to your device.
przemub said:
This problem doesn't exist on my device (stock ROM, busybox installed using app "Busybox" from Google Play). I used the same command as you and it worked. Maybe it is fault of your Busybox version?
I don't know will this workaround satisfy you, but you can simply prepare this file using any Linux desktop and then move it to your device.
Click to expand...
Click to collapse
Ah right, didn't think of that. I posted that around 3 or 4 in the morning. I will try that out then. Thanks!

Categories

Resources