htc wizard with linux? - 8125, K-JAM, P4300, MDA Vario General

hi, is there a linux, which i can install on my htc wizard? when yes, can you give a link and a introduction?
Thanks!

No, But it is being worked on! So sorry no link!

Link
http://linwizard.sourceforge.net/

Interesting .. for those who decided to go anti M$ .. bump!

ok i want to install linwizard, but it doesn't worked! the error is:
UNABLE TO OPEN LOG FILE ...
TINY_CONSOLE_INIT_DONE .
CANNOT OPEN SCRIPT FILE
\STORAGE\PROGRAMM FILES\HARET\LINUX.HA
i puted the files on storage card or what is storage?
i did it by this introduction
http://omap850.om.funpic.de/downloads/wizard/readme
and here are the files:
http://omap850.om.funpic.de/downloads/wizard/
HELP!

ok i want to install linwizard, but it doesn't worked! the error is:
UNABLE TO OPEN LOG FILE ...
TINY_CONSOLE_INIT_DONE .
CANNOT OPEN SCRIPT FILE
\STORAGE\PROGRAMM FILES\HARET\LINUX.HA
i puted the files on storage card or what is storage?
i did it by this introduction
http://omap850.om.funpic.de/downloads/wizard/readme
and here are the files:
http://omap850.om.funpic.de/downloads/wizard/
HELP!
Click to expand...
Click to collapse
You don't put the files on the storage card. You create a new directory in the root of file system called "Storage". This is confusing I know. You want a new folder called "Storage" on the *same level* as your "Windows" and "Storage Card". Then you put the files in Storage/Program Files/Haret.
Also if you are using the kernal from that site (i.e. pre built) you wont be able to do anything. On boot it will crash with a kernal panic. If you want a working version you have to compile your own kernal from the source in their repositry...and I ain't talking you through that! Even then you only get a command prompt
Lewis

WOW THX!!!
but now i have a kernel panic^^
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
after that the device is freezed
only what i can do is a soft reset!
*grmml*

WOW THX!!!
but now i have a kernel panic^^
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
after that the device is freezed
only what i can do is a soft reset!
*grmml*
Click to expand...
Click to collapse
Yes! I told you that would happen! See my above post. Have compile the newest kernal to get anywhere - and even then you only get a command prompt.
Lewis

Next Problem, did i understood that right, that i need linux on my pc? because that looks like in ubuntu in the shell or a other linux.
cd /usr/local
tar xvfj /path to/arm-linux-gcc-3.4.1.tar.bz2
vi ~/.bash_profile
add in the line: PATH= ":/usr/local/arm/3.3.2/bin"
make su - <username>
Click to expand...
Click to collapse
i havent linux on my computer. so what could i do? can somebody send me the kernel, or his complete folder with linwizard?
mail: [email protected]
Thanks!

Grab a Linux liveCD like Knoppix www.knoppix.org or DSL - Damn Small Linux which is only about 60mb so will be a quick download, if you install it to a USB stick too then you can write files to it as well.
EDIT: Just realised that if all you want to do is to extract files then grab WinRAR it does most things like tarballs and the likes.

Yes you need Linux to compile a kernel - and a fair few dependencies.
I have attached a kernel i compiled (I *think* it's the latest). I can't see why this would be a problem as the source is open to anyone, but if it is let me know so I can remove it.
Lewis

interesting, can anyone post some screen shots of Linux on the wizard?

This one seems a bit more recent, and will get you a command line without a lot of hassle:
http://webtomware.rhoen.de/linwizard/

Hmm.. but the linux seems to be bit far fetch from being usable, huh? Usually, I'm good in getting stuff from the web, but it seems that this linwiz information is a bit hard to dig. I was just wondering, how functional is it currently? I know that there are a few linux for others Windows based phone and they have quite a history to them, so I presume there are some working linux that can be transfer to the Wizard?

Hmm.. but the linux seems to be bit far fetch from being usable, huh? Usually, I'm good in getting stuff from the web, but it seems that this linwiz information is a bit hard to dig. I was just wondering, how functional is it currently? I know that there are a few linux for others Windows based phone and they have quite a history to them, so I presume there are some working linux that can be transfer to the Wizard?
Click to expand...
Click to collapse
Yeh it is. It's all on that webpage I linked a while back. The wiki is where you'll find instructions. If you find the readme file it talks you though it., but the compiled kernel I posted above is the latest anyway. It is only a command line and people are still working on it. Long way from being at the standard of other devices (Blue Angel, Universal etc.). But still, its hope! I for one can't wait.
This one seems a bit more recent, and will get you a command line without a lot of hassle:
http://webtomware.rhoen.de/linwizard/
Click to expand...
Click to collapse
Thats the same thing. Experimental way of getting an x-server running. If i read the forums right they've since found a better way using the more compatible linux frame buffer standard instead.
Lewis

I am interested in Installing Gnu/LinWizard on my Cingluar 8125.. were can i found the ROM.. link please

http://webtomware.rhoen.de/linwizard/linwizard-0.1.4.tar.gz
that works!
Linux i am comming!^^

and now? have anybody linux on his pc, to install like in the readme? i want nano x on the ppc too^^
if anyone could install it, can the person send the files? or the folder?
or how can i install it on windows?
thank you!

any one try to install it in QTEK S200

Related

Q&A for Linux/Android

Ok thought might as well start this off myself seen as people keep talking about it, lets have a Q&A thread instead of bashing up the original thread so it can be used just for news and updates.
Does Android work on my HD2?
yes and no, at the moment it boots, no touch-screen driver so that's it so if you try this is what you get
microang has made up some pretty nice versions that dont blue screen check them out here
http://forum.xda-developers.com/showthread.php?p=7032400#post7032400
Can I flash Android?
NO NO NO, it will run from Haret, it will not be a ROM, (yet maybe one day)
Can I boot Ubuntu?
yes you can, but touch-screen issues again,
UPDATE there now is a TS image to use
you would be better off using a mouse and keyboard via a powered usb hub.
Startup txt
Who can I donate to?
Dcordes' PayPal
Cotulla's PayPal
Netripper's PayPal
Links for fatsal-ubuntuX1-20100225 running on you're HD2, there is 3 but i cant find them all post if you have a working link.
http://hotfile.com/dl/51297725/02a8295/fatsal-ubuntuX1-20100225.7z.
thanks to yumm_007 for packaging this up
This Blog site & this Video is as FAKE as it get don't bother with it.
http://alltechdownloads.blogspot.com/
http://www.youtube.com/watch?v=BujRY_q53JI
http://androidforhd2.tk/
This is the IRC channel please dont go and post loads of crap there either
http://webchat.freenode.net/
use channel #htc-linux
Netrippers channel log
http://irclog.netripper.com/?chan=htc-linux&msgonly=0
__________________
Ok I have to go out i will add more and see about a ubuntu Tut to get it running when i get back, please post in here from now so we don't block up the original thread so we can leave that for news and development,
the 2 images are of how i have my folders set up and the other pic of proof it boots
I take no credit for the hard work gone in to this development just tried top clear the thread a bit but that didnt work did it lol, ALL CREDIT GOES TO
Dcordes'
Cotulla's
Netripper's
What I found was that the ubuntu folder must be inside another folder which is on sd root. So tree wise its setup as...
1) SD root
2) Folder (containing the ext2 and the ubuntu folder which contains the haret files)
If you do it like you did, it hangs, I had the same problem. If you do it the way I explained, it gets to the actual linux kernel (tux) but kp's when the modules are to be loaded.
Click to expand...
Click to collapse
Ok, this solves the cpu coherency freeze, what next? what is that we're doing wrong and can't boot the image?
thanks in advance.
artn3r said:
Yes, but i downloaded it over the rapidshare mirror.
what i did:
-copied everything to the sd root
-replaced zimage with the kernel that boots on hd2 (from irc log)
-merged the default.txt and startup.txt of the ubuntu build with the irc-log-build
start haret.exe
Click to expand...
Click to collapse
have you tried this yet???
hi guys,
i currently don`t understand what exactly i have to do to run the HaRET. i`ve downloaded the "fatsal-ubuntuX1-20100225". there are haret and so on and a folder named ubuntu. when i extract it to my sdcard an boot haret i got a stop error "can not access SDroot".
what is wrong? maybe i am stupid?
braumeister said:
hi guys,
i currently don`t understand what exactly i have to do to run the HaRET. i`ve downloaded the "fatsal-ubuntuX1-20100225". there are haret and so on and a folder named ubuntu. when i extract it to my sdcard an boot haret i got a stop error "can not access SDroot".
what is wrong? maybe i am stupid?
Click to expand...
Click to collapse
I got it working on touch diamond start of the year, just downloading for leo now
this was posted
ayilm1 said:
What I found was that the ubuntu folder must be inside another folder which is on sd root. So tree wise its setup as...
1) SD root
2) Folder (containing the ext2 and the ubuntu folder which contains the haret files)
Click to expand...
Click to collapse
Demon_man said:
have you tried this yet???
Click to expand...
Click to collapse
That's the first of it, but go grab artn3r's pre packed ubuntu from the official Android/Linux thread a few posts after the one you quoted I think, and set it up folder wise as...
1) SD root
2) "fatsal-ubuntuX1-20100225" (containing the ext2 and THEN the ubuntu folder which contains the haret files)
That's what I did to make it work but as stated in the official thread, it hangs at the module loader
the name doesn`t matter?
well I'm downloading now, i have to pop out but i will be be back in 45 mins, and ill play try n get it running, if you get it going in the meantime let us no
braumeister said:
the name doesn`t matter?
Click to expand...
Click to collapse
Not sure TBH. Something interesting happens if renamed to something other than the original name though. The coherency test hangs but if reverted, it runs up to the tux.
Just upload ur files if you got it runing
Great idea man!
Demon_man said:
Ok thought might as well start this off myself seen as people keep talking about it, lets have a Q&A thread instead of bashing up the original thread so it can be used just for news and updates.
Click to expand...
Click to collapse
Nice idea man! Glad to see that lot of people is running in the correct way to help this development!
Cheers from Portugal
Ok, SOME progress. Mine HALF succeeded in rebooting after deleting then recopying the files over (making changes of course). It got past the rebooting in 5 seconds hang and now has actually made an attempt to restart. (yay!) But all I got was it declaring it was about to reboot and the Kernel version number. i.e. 2.6.32.9
ayilm1 said:
Not sure TBH. Something interesting happens if renamed to something other than the original name though. The coherency test hangs but if reverted, it runs up to the tux.
Click to expand...
Click to collapse
no it doesn`t matter where the files are or in which folder or how it is called.
tried this:
1) haret, ubuntu folder and co in the root of the sd card
2) new folder called "fatsal-ubuntuX1-20100225" with alle the files and ubuntu folder in there
3) renamed the folder "fatsal-ubuntuX1-20100225" to anything else
does not matter...the result is all the same.
haret booting, init the panel and stops after a line "welcome to kovsky aka xperia - ubuntu" with an error
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed - invalid argument
failed to mount the sd card. cannot continue
/bin/sh: can`t access tty: job control turned off
/ # _ (blinking cursor)
BUT...hardware controls response
braumeister said:
no it doesn`t matter where the files are or in which folder or how it is called.
tried this:
1) haret, ubuntu folder and co in the root of the sd card
2) new folder called "fatsal-ubuntuX1-20100225" with alle the files and ubuntu folder in there
3) renamed the folder "fatsal-ubuntuX1-20100225" to anything else
does not matter...the result is all the same.
haret booting, init the panel and stops after a line "welcome to kovsky aka xperia - ubuntu" with an error
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed - invalid argument
failed to mount the sd card. cannot continue
/bin/sh: can`t access tty: job control turned off
/ # _ (blinking cursor)
BUT...hardware controls response
Click to expand...
Click to collapse
Ok maybe it was just mine acting up then.
have you any partitions on sd card? one or more? if so on which parti do you have the files?
@braumeister
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed - invalid argument
failed to mount the sd card. cannot continue
/bin/sh: can`t access tty: job control turned off
/ # _ (blinking cursor)
Interesting, mine gets none of that. In fact, the loadmodule shell extension is the only think stopping mine from progressing. Oh and umm. It also attempts to switch to rootfs.
braumeister said:
have you any partitions on sd card? one or more? if so on which parti do you have the files?
Click to expand...
Click to collapse
No other partitions, hmmm. But in case this helps, its still got winmo stuff on it, so not formatted to ext2. Doubt that'd make a difference though as the SD's format shouldn't effect the format of the ubuntu image.
transferring files now to my sd card
BOOTED
Hi,
Touchscreen working fine for me.. thanks to cotulla
At bootup it will stuck shortly and show your TS type.. the ones with 2A are the lucky
Image here:
http://cotulla.pp.ru/leo/ImageTS.rar
Do you mind uploading ur setup for unbuntu image?
Thanks you
chris5932 said:
Hi,
Touchscreen working fine for me.. thanks to cotulla
At bootup it will stuck shortly and show your TS type.. the ones with 2A are the lucky
Image here:
http://cotulla.pp.ru/leo/ImageTS.rar
Do you mind uploading ur setup for unbuntu image?
Thanks you
Click to expand...
Click to collapse
do you mean me?? and how you got touchscreen working lol

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

Data.img browser for pc

Is there a tool for the PC that will allow me to open and copy/paste from the data.img file?
Thx.
What exactly are you trying to achieve? There may be another way around it if that software doesn't exist (I've never heard of one)
xandermac said:
Is there a tool for the PC that will allow me to open and copy/paste from the data.img file?
Thx.
Click to expand...
Click to collapse
I was looking to do the same thing, being able to edit the image without affecting or booting the ROM. If I figure out a way, I'll tell you. I'm currently looking into it.
*edit* I think it might be possible with a Linux distribution to mount the .img file and modify it. I found a thread that talks about resizing... Here it is: http://forum.xda-developers.com/showpost.php?p=3643103&postcount=4824
I suggest you read up on mount options in Linux with the help of a live CD... I don't really have time to play with this as I'm at work.
Use Virtual Clone Drive
xandermac said:
Is there a tool for the PC that will allow me to open and copy/paste from the data.img file?
Thx.
Click to expand...
Click to collapse
You can download Virtual Clone Drive free from Slysoft and mount 'data.img' as a CD-ROM and read/copy from it.
dsooknanan said:
You can download Virtual Clone Drive free from Slysoft and mount 'data.img' as a CD-ROM and read/copy from it.
Click to expand...
Click to collapse
It said "disk might be corrupted"
zoftdev said:
It said "disk might be corrupted"
Click to expand...
Click to collapse
try it in ubuntu
You may have to install the filesystem drivers for ext2 from http://www.fs-driver.org/. But I have no ideaa if they are compatible with loop mounting in virtual clone drive. Obviously Linux OS's support ext2 out of the box.
Thanks for the replies everyone. I'll try your suggestions.
JJbdoggg said:
try it in ubuntu
Click to expand...
Click to collapse
yea a linux distribution would probably be the best and easiest way. and you can just run a live cd version, and save your modified data.img to your windows drive, since you should have access from linux.

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

{TUTORIAL} Bodhi Linux on a500

EDIT:
Now you can follow the same process into rogro82's kernel, thanks to Forzaferrarileo. Note that you can just flash the kernel, if you already put it to work with sp3dev's kernel. There's no need to repeat all process.
I've, also, changed some structures for better visualization.
This tutorial is using the sp3dev's precompiled kernel from here or rogro82's precompiled kernel from here. If you want to use rogro82's from scratch or from internal storage, please look, also, some instructions at here. Please note that you will have to build that kernel from sources before proceed. You should be able to use internal storage also, with some changes into this tutorial.
I used a phisical usb keyboard into this tutorial, but bodhi offers an onscreen keyboard into tablet profile. To change into this profile, look at here.
It's partially based into this tutorial. I'll refer to number of steps on that, so please open it. Please read everything before doing anything, and make sure you have no doubts about the process before doing anything. I'm not responsable if it damages your tablet!
First of all, download the Bodhi rootfs from here.
Then, run the first 3 steps from the tutorial above. Please note that if you'll run the rogro82's kernel, the step 2 should be flashing that kernel. For infos about how to flash the second kernel image, please read this thread's first post.
After, extract the Bodhi rootfs into the ext4 partition from your sdcard (I needed to be logged as root or use sudo for doing this step). Make sure to extract directly into the root of the partition (the result of a ls into the root of the partition should be just like running ls /).
Now, you need to donwload the zip file from step 6 from the tutorial. Note that it's not needed to install the packages asked by the step 6, just extract the donwloaded files and copy them into your sdcard's /lib/firmware folder. I just copied the brcm folder into /lib/firmware/brcm and it worked.
Now you are able to boot into the image. Put sdcard into the tablet and then boot from second kernel (hold VOL UP while powering on until it shows bootmenu and select boot into second kernel).
After complete booting, you should have the E17 home screen. For tutorials about this interface, please look into Bodhi website.
For being able to connect into wifi, I needed to open terminology (terminal application into bodhi) and run, as root, the following. Please note that it may not be necessary, but recommended:
- rfkill unblock all
- ifconfig
Now please see what number your wifi got loaded, for me, it was wlan2. I'll call it wlanx, so just change x for the number you got.
- ifconfig wlanx up
To make sure it worked, run "iwlist wlanx scan". It should bring some network details into terminology.
Now open wicd, open preferences and make sure the wifi network is correctly set into wlanx. The default value is wlan0. Then, close preferences and click into reload. Now you should be able to select your network, set up the network preferences and then connect into it.
Now you should be able to install everything you want. As I read, bodhi uses a debian base for armhf version, so you can install anything you can install from debian. Chromium web browser is broken, and firefox is named iceweasel. The default midori web browser works fine, but I personally prefer iceweasel.
Thanks:
sp3dev, rogro82, Kevin Roscom, Forzaferrarileo (if I forgot someone, please tell me, I'll put your name here!)
i'd love to try this! does this run fairly well?:good:
For me it does. I have a class 10 sdcard.
guimendes said:
For me it does. I have a class 10 sdcard.
Click to expand...
Click to collapse
root password?
Tautvaldas said:
root password?
Click to expand...
Click to collapse
Please take a look at here: http://jeffhoogland.blogspot.nl/2012/12/bodhi-linux-armhf-rootfs.html
You can use sudo bash to root access. The password is bodhilinux. Then you can set root password.
Hey this is my first time installing linux on a tablet. Ive got the partitioned sd card, rootfs, kernel ready to go. just not famaliar with how to flash the kernel. Could you maybe give me an idea of those steps? For a first timer as far as android is concerned, the instructions can be a little vague. Thanks
adrock74 said:
Hey this is my first time installing linux on a tablet. Ive got the partitioned sd card, rootfs, kernel ready to go. just not famaliar with how to flash the kernel. Could you maybe give me an idea of those steps? For a first timer as far as android is concerned, the instructions can be a little vague. Thanks
Click to expand...
Click to collapse
Please, first, make sure you're using this bootloader for dualboot. Into the thread there are all instructions for flashing the kernel into secboot, on dualboot section, into first post.
Ive been on v8 unlbootloader for awhile. Just never flashed a sec kernel before.
adrock74 said:
Ive been on v8 unlbootloader for awhile. Just never flashed a sec kernel before.
Click to expand...
Click to collapse
download the fastboot package ( from xda , or search on google ) , next connect the tablet with usb to the pc , reboot the tablet with the bootloader menu and select fastboot ...... the pc will install drivers , when it finish , go in the fastboot folder click SHIFT + right click and select "open command window here " and type this :
fastboot flash secboot <nameofkernel> ex : fastboot flash secboot boot.img
Forzaferrarileo said:
download the fastboot package ( from xda , or search on google ) , next connect the tablet with usb to the pc , reboot the tablet with the bootloader menu and select fastboot ...... the pc will install drivers , when it finish , go in the fastboot folder click SHIFT + right click and select "open command window here " and type this :
fastboot flash secboot <nameofkernel> ex : fastboot flash secboot boot.img
Click to expand...
Click to collapse
Thanks for the reply! Ive flashed this tablet seven ways to sunday within android, but this is kinda new to me. Recently installed 12.04 on my desktop as my intro to linux without a hiccup. I cant seem to get the tablet to respond to my computer. Have the sd card setup ready to go, terminal only says file does not exist ( in regards to secboot) should sd be in tablet or usb? Ive been at it all day. Should i rename anything? Thanks again.
---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------
I Simply cant seem to get the kernel flashed. Once i get past that, i believe its smooth sailing..
adrock74 said:
Thanks for the reply! Ive flashed this tablet seven ways to sunday within android, but this is kinda new to me. Recently installed 12.04 on my desktop as my intro to linux without a hiccup. I cant seem to get the tablet to respond to my computer. Have the sd card setup ready to go, terminal only says file does not exist ( in regards to secboot) should sd be in tablet or usb? Ive been at it all day. Should i rename anything? Thanks again.
---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------
I Simply cant seem to get the kernel flashed. Once i get past that, i believe its smooth sailing..
Click to expand...
Click to collapse
Please look if fastboot recognized your tablet. Run fastboot devices. If there's an answer, then your tablet was recognized. It can be missing drivers. From acer site it's possible to find the correct drivers.
ok. so not having the acer drivers seems to be my issue. But, Im trying to do this using my pc running ubuntu, and I'm not sure how to get the acer drivers installed on it. I'm sure there is a trick, but the downloads are for windows. And also the downloads are for honeycomb and ics and im running 4.2.2.
Well I cannot help you installing drivers into ubuntu, I made it into Windows.
on android terminal emulator:
cat /proc/mounts
make sure that data is on /dev/block/mmcblk0p8 not p7
if so then:
dd if=your_second_boot.img of=/dev/block/mmcblk0p7
do it within android, not within linux or initial ramdisk console on you tablet, because linux recognize data as /dev/mmcblk0p7. sorry for bad English.
Tautvaldas said:
on android terminal emulator:
cat /proc/mounts
make sure that data is on /dev/block/mmcblk0p8 not p7
if so then:
dd if=your_second_boot.img of=/dev/block/mmcblk0p7
do it within android, not within linux or initial ramdisk console on you tablet, because linux recognize data as /dev/mmcblk0p7. sorry for bad English.
Click to expand...
Click to collapse
thanks for the response, what will this be doing??
adrock74 said:
thanks for the response, what will this be doing??
Click to expand...
Click to collapse
It'll flash the kernel into the correct partition, via android.
guimendes said:
It'll flash the kernel into the correct partition, via android.
Click to expand...
Click to collapse
ok gotcha. Sorry to be a bother, but i want to do this. Right now ive got my kernel and rootfs on a partitioned sd card in my extsd slot. If I flash the kernel using terminal, where should it be?
adrock74 said:
ok gotcha. Sorry to be a bother, but i want to do this. Right now ive got my kernel and rootfs on a partitioned sd card in my extsd slot. If I flash the kernel using terminal, where should it be?
Click to expand...
Click to collapse
If you follow strict what Tautvaldas said, it'll be placed in the right place for dualbooting, the same if you use fastboot tool.
Thanks for your help guys. But mixing and matching this and that, i give up. Ive flashed the sh*t out of this tab, but without a unified tutorial, i cant make sense of this. Ive been running linux on my pc and laptop, so this isnt foreign to me, but i need a more straight forward tutorial. Thanks though again. We all have to learn sometime:good:
I ran a dist-upgrade on it and my wifi now seems broken - rfkill can unblock it but ifconfig returns SIOsomething something error, permission denied. Ideas?

Categories

Resources