Tabuntu: my screenshot - Galaxy Tab 10.1 General

twitpic.com/8bmci1/full
How is it?
Edit:
www.twitpic.com/8bmci1/full

This is a useless reply just to say i'm not allowed to post links bcoz i am noob.... *noob at the moment

I will be verymuch thankfull if somebody can post the image back from my link http ://www .twitpic.com/8bmci1/full (bcoz it is not letting me to do so! )

twitpic.com/8bmci1/full
There you go. By the way, I like it!

i've built ubuntu 12.04 arm chroot image and it worked great! But i'm stuck with dbus scripts;

By the way. Is this a theme or an actual Ubuntu distro on your tab?

bfmetcalf thanks

bfmetcalf said:
By the way. Is this a theme or an actual Ubuntu distro on your tab?
Click to expand...
Click to collapse
It is ubuntu12.04 arm LXDE customised to look in that way, i have built a chroot image(of 3.5GB making more space for packages) from core and added Lxde window manager to it.

That is awesome. I enjoyed Ubuntu when it was on 10.10 with gnome 2. Now I'm running arch with nothing but openbox. Love the minimalism of it all, ha. How did you get it installed on the tab if I can ask? I'm not a total noob, but still no expert on all of that.

bfmetcalf said:
That is awesome. I enjoyed Ubuntu when it was on 10.10 with gnome 2. Now I'm running arch with nothing but openbox. Love the minimalism of it all, ha. How did you get it installed on the tab if I can ask? I'm not a total noob, but still no expert on all of that.
Click to expand...
Click to collapse
I use linux mint 12 on pc. I simply love it.
This is a non-risky process called "chrooting" or sometimes "chroot virtualisation" :
*android will be running as usual and by terminal emulator we need to start ubuntu shell(by mounting ubuntu's filesystem somewhere to android filesystem)
*but the actual problem is android lacks xserver workaround is vnc
*so, when we we get ubuntu shell, from that run vncserver and use vnc viewer app on android to connect loopback address127.0.0.1
*then we get gui
If somebody can show how to repartition /sdcard to make an ext4 partition then this will go even better.

That is awesome! I may have to try it at some point. For now though, my transformer works great and I just don't have the time.

i have rooted my device and installed busybox too.
'fdisk -l' doesnt list any thing,,,,
If it can list then i want to find out 13.2GB vfat partition i.e mounted at /sdcard, shrink to make space for another ext2 partition (ext2 bcoz mkfs.ext2 command is working from busybox, )
Then need to place ubuntu ARM files in that for better performance

I heard there is a noticeable amount of lag because of all the work arounds, is this true? I've wanted to install a linux distro on my tab for some time. What method did you use? Could I use it to install say Arch Linux with no UI and just SSH into it?

Yes you are right, there is a considerable amount of delay/lag due to these workarounds.
Zedomax has given scripts to do it in an easier way,(thanks to him) which i used for ubuntu12.04
Currently there are some experts porting xserver to android(its almost done) www.androix.org , so I hope for it.
Till that happens easy for noobs like me, we use workarounds in a betterway, we can minimise lag to the extent we will be surprise.
>Since our /sdcard is not any ext* filesystem, so we need to create an virtual harddisk containing ext filesystem(as we do in virtualbox)
# So created ext4 filesystem which is faster than ext2
>prefer building ubuntu/arch from core, and install packages that are essential, so no place for buggy things which are not required
>use lxde which is light weight DE, runs faster than gnome,kde
>I even able to access android's /sdcard from ubuntu by adding a line to scripts (mount -o bind /sdcard $mnt/sdcard) so no need to use ssh workaround
>as there is no xserver support in android(cureently),we use vncserver
#need faster ui, set smaller display size which minimises traffic b/w viewer and server, like i did 800x800 geometry and hold it in portrait, using the bottom portion of screen for keyboard(recommended "hackers keyboard") i used official RealVnc which i dont recommend bcoz it isnt free.
How can we do much more better.
>if we can create ext4 partition by shrinking down /sdcard partition then it will be amazingly fast, believe me I tried it on N900(nokia internet tablet) so I imagined what this sgt 10.1 with dualcore 1GHz and 1 GB ram can do compared to that!
Sent from my GT-P7500 using XDA App

Need a native install
Sent from my GT-P7500 using xda premium

dextroamphetamine said:
I've wanted to install a linux distro on my tab for some time. What method did you use? Could I use it to install say Arch Linux with no UI and just SSH into it?
Click to expand...
Click to collapse
Yes it is very easy one,
Lagging is only for using gui... practically there is no lag for running arch shell by android's terminal emulator,
Google it for "archlinux chroot on android" and follow the guide
Or if you wanna build one for yourself:
1)Get official ARM arch, may be from here http://archlinuxarm.org/platforms
2)understand and follow this excellent guide by making some changes
Http://forum.xda-developers.com/showthread.php?t=1302630
Yes you can run SSH, if it is just for sharing files between android and archlinux, just mount your android's /sdcard also to archlinux
On first run:
mkdir $<your-mount-point>/sdcard
Later on:
mount -o bind /sdcard $<your-mount-point>/sdcard
Sent from my GT-P7500 using XDA App

yogeshmha said:
Need a native install
Click to expand...
Click to collapse
Native one is a risky process, and we may lose some functionality such as 3G, Camera,Wifi and multi touch etc. But it will be awesome.
canonical announced official ubuntu port coming to smartphones and tablets, so I hope for it.
Sent from my GT-P7500 using XDA App

if thats the case...i would recommend a dual boot for honecomb and ubuntu

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

Debian Lenny on Droid Eris [02/14/2010 - WORKING! mjgdroid completed!!]

EDIT [02/14/2010]: Please see mjgdroids FINISHED PORT HERE.Make sure to thank him and/or donate to mjgdroid.
EDIT: MAKE SURE YOUR ROM SUPPORTS PARTITIONS ON YOUR SD! YOU CAN USUALLY FIND THIS INFO IN YOUR ROMS FAQ.
I'm currently looking for a work-around. Mounting EXT3 still works in the rooted terminal, but that doesn't help Android see your FAT partition.
Here it is folks, working instructions to get Debian Lenny running on your Droid Eris! I say that it's 90% complete because I do not yet have fully functioning MeeGo, I hope to resolve the issue sometime this weekend. Otherwise, all is well. I'm releasing the instructions so that others in the community can contribute.
Thanks to ban_dover for a lot of initial work. For author credit, other contributions, and the original thread leading up to my fix, see http://forum.xda-developers.com/showthread.php?t=748094. If there is ANYONE else who needs to be credited here, PLEASE pm me and I'll edit this post.
Also, if you're wondering "Why Debian Lenny?" it was readily available and already set up for ARMv5 and up. There are also available MeeGo binaries for Lenny. WOOHOO! Everybody's life is easier.
EDIT: I've released what I consider to be an unstable/incomplete RAW image. I will not link to unstable images in this post, you can download it on page 2 of thread. This image can be used to skip both step 1 and converting the image from QCOW to RAW.
1. Create ARM image containing Debian Lenny
In Linux command line
- Download Debian ARM Installer
wget http://ftp.de.debian.org/debian/dis...el/current/images/versatile/netboot/initrd.gz
wget http://ftp.de.debian.org/debian/dis.../versatile/netboot/vmlinuz-2.6.26-2-versatile
- Create disk image
qemu-img create -f qcow deb-arm.img 4G
- Run QEMU VM to run Debian ARM Installer
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-2-versatile -hda deb-arm.img -initrd initrd.gz -append "root=/dev/ram" -m 256
- In Debian installer, follow prompts
I chose the following user access, root-pass:debian91, user:debian and pass:debian91
Install desired defaults. I initially went with desktop environment; core environment may be best for MeeGo
- Reboot VM ONCE to permit it to statisfy any changed dependencies
2. Create filesystem on phone and copy Lenny
In Linux SUPER-USER command line
- Backup SDCARD if necessary
- Enter superuser mode
"sudo sh" or "sudo bash"
- Partition SDCARD
Use partition editor of choice (I used GParted)
FAT must be first partition
Create second partition as ext3
- Mount EXT3 partition
mkdir sd
mount -t ext3 /dev/sdb2 sd
- Convert QCOW image to RAW image
qemu-img convert deb-arm.img -O raw deb-arm.raw
- Mount RAW image as loop
mkdir image
mount -t ext3 deb-arm.raw image -o loop,offset=32256
- Copy image contents to EXT3 partition on SDCARD
cp -r image/* sd
- Unmount both SDCARD and RAW image
- umount deb-arm.raw && umount /dev/sdb2
3. Bind necessary nodes and create chroot jail
In eiter ADB shell or in rooted phone command line (either method MUST BE SUPERUSER!!!)
- Enter superuser mode
"su" (make sure to accept and remember if asked on rooted phone; also not sure how to superuser in ADB shell)
(NOTE: The folowing commands should use "busybox" as a prefix if using ADB shell in terminal)
- Mount EXT3 partition (should be /dev/block/mmcblk0p2)
mkdir /data/local/debian
mount -t ext3 /dev/block/mmcblk0p2 /data/local/debian
- Bind the necessary nodes
mount --bind /dev/pts /data/local/debian/dev/pts
mount --bind /proc /data/local/debian/proc
mount --bind /sys /data/local/debian/sys
sysctl -w net.ipv4.ip_forward=1
- Enter into Debian system
chroot /data/local/debian /bin/bash
4. Installing MeeGo and opening an Xsession through VNC
- COMING SOON!! (like, over the weekend)
EDIT: MINOR SETBACK DUE TO FROYO NOT SUPPORTING PARTITIONED SDCARDS. WORKING WITH DEVS TO RESOLVE.
Connecting chroot to VNC
Running MeeGo environment
- Why Not Now
Finding the best way to get an xserver on Android... possibly without VNC
Seeing which is better, install MeeGo before copying to SDCARD, or after
- Possible future: adapting Lenny to favorite distro flavor
- This would take a lot more of my time, and those who want to convert it to ubuntu can google it more easily
Information Sources
This is a list of articles that I've gleaned my info from.
Debian Lenny ARM on Qemu
http://www.debian.org/releases/stable/installmanual
http://www.finalcog.com/howto-install-debian-lenny-arm-qemu-ubuntu-jaunty
http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/
Chrooting Troubleshooting
http://forum.xda-developers.com/showthread.php?t=748094
http://forums.dlink.com/index.php?topic=6073.0;wap2 (helpful in determining why nexus one and incredible images wouldn't chroot)
https://help.ubuntu.com/community/BasicChroot
http://forums.gentoo.org/viewtopic-t-470306-start-0.html
Inspiration
http://bayleshanks.com/wiki.pl?tips-computer-android-g1_debian_cyanogenMod
Most of the G1 development on XDA
http://androidforums.com/incredible-all-things-root/120622-how-run-ubuntu-droid-incredible.html
Very cool, good job.
very nice indeed!
Thanks guys.
I've always wanted to ask but thought it might offend someone. In any case, what will this enable us to do that we couldn't do already?
Sent from my FroyoEris using XDA App
xnatex21 said:
I've always wanted to ask but thought it might offend someone. In any case, what will this enable us to do that we couldn't do already?
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
My thoughts exactly, I have no idea what's being said here.
Sweet! Nice work.
korben dallas said:
My thoughts exactly, I have no idea what's being said here.
Click to expand...
Click to collapse
Hmm... I sometimes fall on the answer that its obvious. Let me give a few reasons why I did it. Other than "it is fun for me."
1. Because we can, lol
2. It opens potentially the full gamut of available Linux software that wouldn't otherwise run (unless ported)
3. Broadened capability means wider choice
4. Unknown territory (at least for Eris users) provides new frontiers
I like these answers, three out of four also sum up why open source exists.
Very nice man. Got any screens?
Nikolai2.1 said:
Very nice man. Got any screens?
Click to expand...
Click to collapse
Right now, my camera is my eris. I'll get somebody to take either video or some pics this weekend so y'all can see it in action.
Could anybody create an image and upload it I just spent the last 4 hours waiting for debian to install inside qemu only for it to hang right before the end lol. Needless to say I just want to experiment with it but I don't really want to do that again or risk it hanging again.
Running X from Chroot
OK, so I was sitting around on break and it hit me that Debian Lenny has the Gnome Mobile desktop designed for touch interfaces in its repositories. The project is called Hildon and was the basis for Maemo before it became MeeGo. Voila, debian gui solved.
Then I remembered an article I'd read while in college on running X from within a chroot jail. I love google; I took a look around for it and found it: http://norman.walsh.name/2003/08/22/chroot. Bingo! We may not need VNC to get graphical output.
In short, my free time is going to consist of installing Hildon in Lenny and writing a script to bind the proper directories, descend into chroot and run X.
It's interesting to note a few things. I read on a few boards that android doesn't have it's own Xserver. Historically, chroot was used for testing purposes to ensure that a system could run on the existing kernel/hardware/etc. Well, in Debian Lenny we have an xserver and its dependencies compiled to run on ARMv5 and up. So technically if we can get X to run from chroot with the proper bindings, then we can get that SAME xserver to run directly on Android. Further, the ability to run Debian in chroot directly implies that the same software will run outside of chroot.
And one speculation: it would be an interesting experiment to see if these tools could be run side-by-side with the default Android rom. To any devs familiar with Android roms, does that sound overly ambitious?
AcidRoot said:
Could anybody create an image and upload it I just spent the last 4 hours waiting for debian to install inside qemu only for it to hang right before the end lol. Needless to say I just want to experiment with it but I don't really want to do that again or risk it hanging again.
Click to expand...
Click to collapse
Hey AcidRoot! I give no guarantees as I mentioned I'm still working out kinks, but I can upload my image. I'll compress it, upload it, and edit this post with a link to it.
My current image of Debian Lenny ARMv5 is available here. I'm not posting the link in the first post because this image does not constitute what I'd call stable and complete, just so you're forewarned.
composerdude said:
Hey AcidRoot! I give no guarantees as I mentioned I'm still working out kinks, but I can upload my image. I'll compress it, upload it, and edit this post with a link to it.
My current image of Debian Lenny ARMv5 is available here. I'm not posting the link in the first post because this image does not constitute what I'd call stable and complete, just so you're forewarned.
Click to expand...
Click to collapse
Thanks alot I know the risks I just want to experiment with it.
One of the kinks that would be immediately noticed is that paths to executable directories are not set. When chroot into /data/local/debian, make sure that one of the first things you do is change the path variable.
Code:
PATH=/usr:/bin/:usr/local/bin:.
oman def going to try this later on tonight... sounds GREAT
What is this exactly?
Awesome work man! I've been following this in ban_dovers thread. I just needed to comment here so it'll show up in my "participated" folder on my xda app.
I'll be lurking and waiting for something more stable and noob friendly. Keep up the great work.
Sent from my nonsensikal froyo using XDA App
@joshw0000: Thanks for the encouragement!
@EVERYBODY: I just discovered today after updating Tazz Froyo to the latest version that updates to CM6 have aparently broken support for partitioned SD cards. I am looking for a work-around before working out more kinks. My istructions still work, it's just that ANDROID sees a blank SD, even though partitions can still be mounted to run Debian. Anyone testing, check your FAQs to make sure partitions are supported. I'll keep you posted on my end.

[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

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

[DEV][WIP][Linux] Easy GNU/Linux on our tablet

Hi all!
Many of us are dreaming of having a real native desktop operating system on Galaxy Note 10.1 as a second system. Of course, the software there is not touch-optimized, but you can attach keyboard and mouse via USB-OTG and Bluetooth and imagine it's a netbook
exception13 showed us that it's possible and shared his work on in a forum and repo. X-Stranger could use it and shared compiled images of ArchLinux. But what if you want to do something more specific for your own needs and you are not such a great developer as both of them are?
My project is for all of you who want to have native GNU/Linux, who want to participate but don't know how yet. It's a guide how to build it from scratch. The problem is - I am not a superdev too and I couldn't do many things. Frankly speaking, all the remaining things seem to be small but I don't know how to overcome them. Maybe it's because I'm studying economics but not programming
Link to the guide.
I need help from anyone who knows how to overcome any of the problems on every step! Everything I managed to do by myself is already written there and currently I have a compiled kernel which is booting a partition on external SD but it freezes there.
If you have any ideas - you can just make a pull request out of Github's webinterface, if you don't know how to edit this html but know something about building Linux - you are welcome to open an issue or write it here and I will include it in the guide.
Let's make our Galaxy Note 10.1 better together!
,I just got my Note 101.1 earlier today. I'll look into the missing information and add to the webpage. Is there anything that you think I should look into first?
I actually had a question.
Looks like you have the section "Harder Way - how to prepare binaries" split into Ubuntu and Arch. Instructions for compiling the kernel are the same.
I guess my question is why the choice to show the arch kernel being compiled under arch?
Might be easier to read the guide with all the kernel compiling done in Ubuntu.
**Edit**
What I didn't originally mention is that i really like it. Hoping to help contribute as well.
darksabre_x said:
I actually had a question.
Looks like you have the section "Harder Way - how to prepare binaries" split into Ubuntu and Arch. Instructions for compiling the kernel are the same.
I guess my question is why the choice to show the arch kernel being compiled under arch?
Might be easier to read the guide with all the kernel compiling done in Ubuntu.
**Edit**
What I didn't originally mention is that i really like it. Hoping to help contribute as well.
Click to expand...
Click to collapse
Good question. The reason for that are that despite how close Arch Linux and Ubuntu are, the environments are different. Ubuntu usually has some sort of bash completion enabled by default whereas Arch Linux doesn't and of course each of them requires diferent packages installed to perform the same functions. I believe thermatk did each distro separately as to make things simpler for the end user. Pick a distro and go as each distro's guide can be tuned independent of the others.
Soul_Est said:
Good question. The reason for that are that despite how close Arch Linux and Ubuntu are, the environments are different. Ubuntu usually has some sort of bash completion enabled by default whereas Arch Linux doesn't and of course each of them requires diferent packages installed to perform the same functions. I believe thermatk did each distro separately as to make things simpler for the end user. Pick a distro and go as each distro's guide can be tuned independent of the others.
Click to expand...
Click to collapse
Doesn't really answer my question considering the end kernel will be the same regardless of the distro being used. I think you took my question as "Why are there 2 options for kernel compilation?", which wasn't what I was asking.
Looks like thermatk actually addressed the question with a page update.
It now gives separate options depending on which distro you want to end up with on your Note 10.1, in addition to separate kernel compilation options.
What I was referring to was when it was Ubuntu only instructions from kernel compilation all the way to deployment on the tablet and Arch only instructions. The kernel and linux image instructions weren't independent of each other, as they currently are.
Update
I'm really happy to hear that someone else wants to use it and contribute! :victory:
darksabre_x, you are right I separated the guide into parts yesterday because the system where you compile kernel doesn't really affect anything on the tablet.
Soul_Est, thank you for helping with questions in the thread :good:
Now I understand that tabs are not the best way to do it, will start this day from trying to rewrite this to a navbar constantly on top which lets you choose options from a dropdown.
Also yesterday got the guide to the point when one path through can get ypu to a bootable distro! You can compile kernel wherever you want, you should be on stock based rom and choose to install Arch on separate partition which probably will be a partition on SD. What you have to add at the end is
Code:
pacman -S lxde
and copy xorg.conf from X-Stranger's post. Once rebooted, you will be able to enter android:changeme and
Code:
sudo lxdm
and the gui will start if you don't have USB-OTG and keyboard you won't be able to enter password but you can poweroff from the interface's right corner :good: Attention: if gui says that it has no permissions to write logs do
Code:
sudo mount -n -o remount, rw /
and retry but do not forget to write here about it!
What are the current problems:
Why exception13 and X-Stranger both hardcoded the whole cmdline for kernel and forced it not to be changeable from bootloaders. It's easy to fix in the config but there should have been some idea or i'm paranoic?
What's wrong with LinuxDeploy, separate partitions and CyanogenMod? hiruna filed a bug but meefik seems to be away for a week. If anyone else with CM has an idea on how to overcome this maybe with some special unmount commands CM is thinking that ext4 partition is th extSdCard and mounts it so that LinuxDeploy can't install anything there (seems that it's the problem) while stock can't mount ext4 as extsdcard and is not touching the partition.
How do we make Debian/Ubuntu to boot? Both ways - for separate partition and img are stuck one the problem that not any mkinitramfs or abootimg or their combinations could get to a better state than initramfs shell. Separate partition should be easier so focus should be on it for the start.
Adapt X-Stranger's guide about booting Arch from *.img. It's there and should be tested, rewritten and easied and some whitespaces should be filled. I know there are some as i have spent many hours in Arch with little dirty hacks like
Code:
ln -s /proc/self/fd /dev/fd
that are needed but no one ever wrote that they are.
What's wrong with basic video? While we get bootable Arch if you add lxdm and xorg.conf it should work with lightdm and boot there without console commands. If you try to install lightdm you will get nothing but a black screen if you start it with
Code:
sudo lightdm
... and it should boot automatically without touching console.
Oh and why is kernel from exception13 not building at all? XD
Redesign #2
Anyone dislikes the new design idea with navbar selectors instead of tabs?
I hope it's better.
Will soon update the guide with last steps to have Arch with LXDE bootable from separate partition.
That's fun as I started this project to get Ubuntu working... :angel:
If anyone can understand what should be done with mkinitramfs to make debian/ubuntu rootfs bootable - please do it.
First success!
If you choose any pc distro, arch on sgn with lxde on a seaprate partition you will now get a fully working guide that will give you a native bootable GNU/Linux =)
That's first success for me but still i hope to get help as i don't know things I asked two posts ago and it's difficult to move forward.
XFCE problems
XFCE is booting (not in the guide yet) but for working with fingers in XFCE one should probably disable multitouch S-pen works fine.
http://lists.x.org/pipermail/xorg/2012-July/054626.html
http://xfce.10915.n7.nabble.com/Xfwm-window-borders-do-not-respond-to-touch-screen-td17348.html
Will find a way to enable onscreen keyboard on LightDM and update the guide with XFCE. Still I was hoping to make it my primary DE and they are not supporting fingers moving windows upstream :crying:
I was hoping to contribute this weekend but unfortunately my only machine is down after mucking up the /lib folder when heimdall. To add insult to injury, I have no backups. Installing Arch Linux or Debian and configuring everything to my liking again will take a few hours.
Sent from my GT-N8010 using Tapatalk 2
How to setup WiFi using wpa_supplicant.conf
How to setup WiFi using wpa_supplicant.conf​
1. Copy the "wifi" folder to "/opt"
- You will need gedit to edit the nameservers.
- You also need two dependencies before installing gedit.
- The two dependencies are : gtksourceview3-3.6.1-1-armv7h.pkg.tar.xz and libpeas-1.6.1-1-armv7h.pkg.tar.xz
2. Download them and copy over to ArchLinux
3. Install the dependencies first then gedit:
Code:
sudo pacman -U gtksourceview3-3.6.1-1-armv7h.pkg.tar.xz
sudo pacman -U libpeas-1.6.1-1-armv7h.pkg.tar.xz
sudo pacman -U gedit-3.6.2-2-armv7h.pkg.tar.xz
4. insmod the drivers:
***NOTE*** " 3.0.31-gedcc915 " is my kernel name. Change it to your
kernel name if it is different.
Code:
sudo insmod /lib/modules/3.0.31-gedcc915/kernel/net/wireless/cfg80211.ko
sudo insmod /lib/modules/3.0.31-gedcc915/kernel/drivers/net/wireless/bcmdhd/dhd.ko op_mode=0 firmware_path=/opt/wifi/bcmdhd_sta.bin nvram_path=/opt/wifi/nvram_net.txt_murata
5. Enable the wlan0:
Code:
sudo ip link set wlan0 up
6. Setup wpa_supplicant and ip address:
Code:
sudo wpa_supplicant -B -i wlan0 -Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
sudo ip addr add 192.168.1.33/24 dev wlan0
sudo ip route add default via 192.168.1.1
7a. Add nameservers:
Code:
sudo gedit /etc/resolv.conf
7b. Go to the next available line and type:
Code:
nameserver 8.8.8.8
7c. Next line :
Code:
nameserver 8.8.4.4
7d. Save it
8. Go back to the terminal and edit the wpa_supplicant file:
Code:
sudo gedit /etc/wpa_supplicant/wpa_supplicant.conf
- wpa_supplicant.conf file should be like this:
Code:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
network={
ssid="NETWORKNAME"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
psk="NETWORKPASSWORD"
}
9. And finally, to connect to your network, run
Code:
sudo dhcpcd
Open up a web browser and enjoy!
:good: :good: :good:
WiFi
I am currently including WiFi in the main guide as it's something everyone needs :laugh:
Soul_Est said:
I was hoping to contribute this weekend but unfortunately my only machine is down after mucking up the /lib folder when heimdall. To add insult to injury, I have no backups. Installing Arch Linux or Debian and configuring everything to my liking again will take a few hours.
Sent from my GT-N8010 using Tapatalk 2
Click to expand...
Click to collapse
I will be happy if you join :good:
thermatk said:
I will be happy if you join :good:
Click to expand...
Click to collapse
I'll get right on the Arch Linux instructions once I get an Arch based OS installed. Hopefully that'll be tomorrow.
Written on my Galaxy Note 10.1
is this project dead ?
Equilibrio said:
is this project dead ?
Click to expand...
Click to collapse
Great job! This is awesome.
Anyone else having dependency conflicts with bluez and obexd-client?
cctoro said:
Great job! This is awesome.
Anyone else having dependency conflicts with bluez and obexd-client?
Click to expand...
Click to collapse
I did before but it really depends on what you have install at the time when you do the update.
Having a small issue
Ok, so I followed all the instructions and set the kernel up to boot from mmcblk1p2 (my ext4 partition on my sdcard I made for linux), and used dd to copy the prebuilt arch to the partition, and it boots and eveything seems to work but the wifi.... I repeated the process from the beginning all over and recompiled to make sure i didn't miss anything, but still no wifi... And since I'm using the prebuilt image copied to the sdcard for the distro, and everything works in it if i boot the .img from the internal storage and use the premade recovery, I'm assuming maybe there's something missing from compiling the kernel? In either case, if anyone has any ideas about this, please help, or if someone can make a properly compiled recovery.img that boots from mmcblk1p2, that would be super awesome.... I'm only mediocre in linux skill so any help would be appreciated!
K, so i was an idiot and forgot to copy the compiled kernel modules to /lib........ OOPS!
Arch linux distro booting from mmcblk1p2 with 1p3 as swap... all work awesome! Working on dri2 for the mali now.....
Sent from my GT-N8013 using xda app-developers app
Could you post a prepared .IMG, possibly? Thanks.
Sent from my GT-N8013 using xda app-developers app

Categories

Resources