Found a better place to restart this project
To avoid confusion, all technical explanations have been moved to google-code:
http://code.google.com/p/cupcake-frosting/wiki/Ext2buntu_Technical
Resizing images and explanations of the various scripts that are used can be found there.
Screenshots:
https://picasaweb.google.com/110545...authkey=Gv1sRgCLDd48n2oMWzpAE&feat=directlink
Interested in trading in Ubuntu for BackTrack? I recommend looking here:
http://forum.xda-developers.com/showthread.php?t=1146255
References:
Personal insanity and the inability to accept whats already available
http://code.google.com/p/android-cruft/wiki/LucidWithAndroid
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/
http://forum.cyanogenmod.com/topic/15702-ubuntu-on-your-g2-anyone/
http://forum.xda-developers.com/showthread.php?t=633246
http://www.codesourcery.com/sgpp/lite/arm
http://forum.xda-developers.com/showthread.php?t=987740
http://androidclone.com/forums/showthread.php?tid=23
Sent from my ADR6400L using Tapatalk
That is bad ass... But my head just exploded.
Sent from my ADR6400L using XDA App
Oh man! Can't wait to get home to try this!
Sent from my ThunderBolt using XDA App
I left out installing the android sdk because that has to be done in ubuntu and has no special instructions. If i could host a 4gb file somewhere, i back up my image (since i have mistakenly cleared the partition trying to delete the symlink) and that would save two whole posts.
Sent from my ADR6400L using Tapatalk
Which Android SDK version should I install on Ubuntu? Linux version?
Wow... I have no idea what language the first two posts were in but I feel like I really want to look into this. Haha. You effectively blew my mind. I just can't get enough of this device and forum. The more I learn, the more excited I get. This one is a bit over my head though.
chocoyo00 said:
Which Android SDK version should I install on Ubuntu? Linux version?
Click to expand...
Click to collapse
Yes, i would sugget doing that from inside ubuntu, or you could cheat like i did and download the file then move it into the data/ubuntu folder using root explorer.
bking_soda said:
Wow... I have no idea what language the first two posts were in but I feel like I really want to look into this. Haha. You effectively blew my mind. I just can't get enough of this device and forum. The more I learn, the more excited I get. This one is a bit over my head though.
Click to expand...
Click to collapse
I will go back and add some screen shots and try to simplify a bit. I was writing that guide off the top of my head to get it done before anyone tried to use it. I have accidentally wiped the partition twice before realizing i needed to backup the ext2 so it has become a fairly quick process.
Sent from my ADR6400L using Tapatalk
Any particular reason you opted to make it an ext2 partition instead of 3 or 4? Was it personal choice or did you have issues with ext3/ext4?
I will go back and add some screen shots and try to simplify a bit. I was writing that guide off the top of my head to get it done before anyone tried to use it. I have accidentally wiped the partition twice before realizing i needed to backup the ext2 so it has become a fairly quick process.
Sent from my ADR6400L using Tapatalk[/QUOTE]
That would be helpful. I couldn't move my main partition to add a new one for ubuntu, it just got stuck idk why. So I had to create two partitions but that didn't work.
thanks for the tutorial, been looking for a way to get ubuntu on my thunderbolt, but when i type bootubuntu from my phone's terminal i get this output:
mount: Devices or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
chroot: not found
failed
failed
failed
any help?
tyarbro13 said:
thanks for the tutorial, been looking for a way to get ubuntu on my thunderbolt, but when i type bootubuntu from my phone's terminal i get this output:
mount: Devices or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
chroot: not found
failed
failed
failed
any help?
Click to expand...
Click to collapse
You are using the loop device method. I debugged that for 3 hours before deciding this method was MUCH easier. There were too many contradictions in that method. Everyone said failed meant your kernel doesnt support loop but if you "ls -d /dev/loop*" it shows up. Not to mention ive seen the loop support enabled option selected in the kernel i was on. Its being created, but not mounted to the image. I may look into it one day, but i dont see a point. The ext is MUCH faster than a virtual drive image and doesnt require any kernel modification, so it is more universal.
Sent from my ADR6400L using Tapatalk
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
TheStick13 said:
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
Click to expand...
Click to collapse
From a user standpoint its more or less just bragging rights. I havent fogured out how to cheat the system and get it to think it had an adb connection back to the phone yet.
From a developer standpoint it is a good emergency environment. My computer (and server) have been down for three days which otherwise would have put me at a stand-still. Ive been doing all my boot.img mods right on the phone.
Sent from my ADR6400L using Tapatalk
All links are static, meaning they always download the newest version of the files. I added a time stamp to the post to show the latest revision. This update was to add backubuntu, instructions for installing it, and an updated ubuntu.sh that includes it.
Sent from my ADR6400L using Tapatalk
Does it recognize a data connection?
twistedumbrella said:
From a user standpoint its more or less just bragging rights. I havent fogured out how to cheat the system and get it to think it had an adb connection back to the phone yet.
From a developer standpoint it is a good emergency environment. My computer (and server) have been down for three days which otherwise would have put me at a stand-still. Ive been doing all my boot.img mods right on the phone.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
soo this is how to get girls? Hey baby look i got Ubuntu on my phone.... wana bang? lol
TheStick13 said:
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
Click to expand...
Click to collapse
It's more something useful to do with your phone after you get a new one. I plan on turning mine into a mini mobile server with debian on it. Stick ssh/ftp, and a webserver on it and you have a nice little device to carry around for presenting software/web projects to clients with instead of having to carry your laptop (and also more impressive if you're trying to persuade a new client). Also, you offload crap you would have on your laptop if you're on the go and need to code something and/or dont have to deal with the latency of a remote server on a less than great internet connection
Gimpeh said:
Does it recognize a data connection?
Click to expand...
Click to collapse
Recognizes data, wifi, touchscreen, working on bluetooth and mounting the sdcard inside it. It is an easy command, but i am trying to prevent ubuntu from having too much control of the sd. I am also trying to find the fastest mount method (currently using the one in imoseyons tweak) to mount everything.
yareally said:
It's more something useful to do with your phone after you get a new one. I plan on turning mine into a mini mobile server with debian on it. Stick ssh/ftp, and a webserver on it and you have a nice little device to carry around for presenting software/web projects to clients with instead of having to carry your laptop (and also more impressive if you're trying to persuade a new client). Also, you offload crap you would have on your laptop if you're on the go and need to code something and/or dont have to deal with the latency of a remote server on a less than great internet connection
Click to expand...
Click to collapse
There is also a dyndns app for the phone that is good for doing vnc viewing and access on the computer using a "friendly" url. That in combination with an ubuntu webserver and you could host a site on it, not that ive tried it
Sent from my R2-DROID2 using Tapatalk
Related
All links pulled due to XDA Request after an XDA member complained I was only out for profits to a moderator on a few products I have. Due to the fact I link to a product or two and a few other things in many videos, I was asked to pull any content relating to this.
I will still be offering all this great material at my website. Just go to google and search for MobileTechVideos.
I really think these how-to videos should be in Q&A (or general) instead of development.
Sent from my brain using Thumbs 2.0.
glitterballs said:
I really think these how-to videos should be in Q&A (or general) instead of development.
Sent from my brain using Thumbs 2.0.
Click to expand...
Click to collapse
I'd probably agree. I put that line in their for a MOD to move them if applicable. Now that I decided to dive into this, if a MOD moves this, might you be able to join my ROM flashing video with this one?
Thanks.
My company uses Cisco VPN along with RSA SecurID.
I've tried other "solutions" in the past with no success.
Will this process work in my situation?
I have access to all the settings from a .pcf configuration file.
When I had an iPhone, VPN worked perfectly (not that I'd go back to an iPhone just for that ).
The VPN Connections applications allows for a secure token so I think it may work. The SecureID just gives you a token correct? And then you input it for access?
If you watch near the end of video 2 I show you that application and there is clearly a field for token input. You should not need the .pcf file for the phone. I would think you would just input the current token each time.
I tried it and the connection fails every time.
Went through the process twice and followed directions to the letter.
I also tried the check box "Password + Token Digits" and that did not work either.
I'm using a 2.2 ROM currently but I think I'll put my phone back to stock and try again with 2.1.
Your video is excellent, by the way, and extremely easy to follow.
Thank you for compliments. Did you verify tun module was running using the lsmod command from a shell?
connexion2005 said:
Thank you for compliments. Did you verify tun module was running using the lsmod command from a shell?
Click to expand...
Click to collapse
Yes, tun was definitely running.
thank you much, works well.
jwolfburg said:
thank you much, works well.
Click to expand...
Click to collapse
Glad it was able to help you! I know I would have loved this info 6 months ago as I was figuring it out. If you are looking for a good RDP app, then use RemoteRDP. I'm using the $20 enterprise edition and it's amazing. They have cheaper versions as well with a few less bells and whistles options.
Now I'm just trying to crack DNS issues with Android not resolving hostnames of machines when VPN'd or on a WIFI network.
I am getting a device or resource busy when I do insmod android22tun.ko
I am running auxura and I skipped the rooting process as I am obviously already rooted.
Any ideas anyone?
I suppose you could try modprobe instead of insmod just to see. It could also very well be ROM dependent and something with this particular tun.ko file could be incompatible. There are many different tun.ko files for different kernels.
connexion2005,
I just wanted to thank you for the awesome step-by-step tutourial on getting my phone connected to IPSec VPN. I too am a IT Admin and recently got my phone with the objective in mine to remotely manage infraustruture. Your instructions are to the point and didn't leave much to guessing.
BTW: at the end of the video you mention the gscript tool to run the tun.ko for reloading. Shouldn't you actually had said adroid21tun.ko? That's what works.
mrjazze said:
connexion2005,
I just wanted to thank you for the awesome step-by-step tutourial on getting my phone connected to IPSec VPN. I too am a IT Admin and recently got my phone with the objective in mine to remotely manage infraustruture. Your instructions are to the point and didn't leave much to guessing.
BTW: at the end of the video you mention the gscript tool to run the tun.ko for reloading. Shouldn't you actually had said adroid21tun.ko? That's what works.
Click to expand...
Click to collapse
I mean the technical name of the vpn module on linux based equipment is tun.ko so that's what I went with. I understand that may be confusing now. Whatever the module is named is what needs to be loaded. So you could call it mobiletechvideosdotcom.ko and that's what you'd load...lol. Thanks for the compliments!
Your very welcome. I think i have watched all your videos and I have to say great job.
sent from my Samsung Captivate using XDA app.
connexion2005,
It seems I have run into a problem. I have been able to connect to our ASA a few times already, but when I just tried today it fails. After investigating, my script to load the android21tun.ko fails with error "init_module 'android21tun.ko' failed (file exists). I even get the failure after reboot phone. Do you have any suggestions.
PS: Out of curiosity, you suggested RemoteRDP, have you tried PocketCloud? I like it so much I will pay the $14.99 for full version.
Thank you. This worked like a charm.
mrjazze said:
connexion2005,
It seems I have run into a problem. I have been able to connect to our ASA a few times already, but when I just tried today it fails. After investigating, my script to load the android21tun.ko fails with error "init_module 'android21tun.ko' failed (file exists). I even get the failure after reboot phone. Do you have any suggestions.
PS: Out of curiosity, you suggested RemoteRDP, have you tried PocketCloud? I like it so much I will pay the $14.99 for full version.
Click to expand...
Click to collapse
I have not used PocketCloud but RemoteRDP is absolutely phenomenal. Is this occuring even after a reboot? Perform an lsmod from a terminal and check to see if the tun module is running. I'm not sure why this would happen. May have to uninstall everything including the tun and re-perform the steps.
I did get it to work again. Strangely, it was after receiving a phone call that the module would load. Thanks again for your assistance.
Well that's good. I can't explain any bugs as my dev work only extends so far!
Let me start off by saying I am not a developer. And Im not too familiar with Linux either. Just goes to show that this isnt too difficult
To get ubuntu on the Atrix please go here first:
[MOD] Full Linux (Debian) inside WebTop! v0.2.6 [2011/07/07] [14.15 GMT+2:00] - xda-developers
Follow the steps. Must have CMW installed, rooted etc.
I was unsuccessful with webtop2sd. You might have good results with it, but for me it didnt.
Once you flash this cmw file, reboot you phone and enter into webtop (if you need the HDMI hack, you will find that on XDA). You will now see 3 new icons. Leafpad, Lxterminal, and a penguin. Click on the penguin, and you it will say found image. Click ok.
If your unfamiluar with linux, this will look french to you. Once it launches (the first time after reboot will take some time, be patient). Hit enter, enter again and scroll down to Shells, then hit enter on Bash. Now this is where the fun begins.
Enter synaptic. If that doesnt work you might need to install it. apt-get install synaptic. After thats opened search for gnome-panel, right click and select "mark for installation". Hit apply and go for a coffee. This will take a long time, and make sure your on wifi. This is a huge download.
Here is a list of working applications so far :
Epiphany web browser
Epiphany IM
Evolution Mail
Iceweasle
AbiWord
GNU image manipulation
All of the games
Im working on getting usb-to-ethernet dongle working.I can see it, just cant get access to it.
Almost all of the pre-installed applications with gnome work. EXCEPT sound. This is driving me nuts. I am unable to find a sound driver (gstreamer) that works. If anyone here figures it out let me know. And if anyone out there have programs that work let me know. I can always add it to the list. Im very green to Linux, and just playing around at this point. Im no developer, and most of your questions can be answered on XDA forums.
I have the same setup, and you can add openoffice.org and geany packages to the "functional" list. I use openoffice's writer every day and have found no missing functions. Geany is working, but does not build and compile, so it's basically a color-coded text editor (still useful for note-taking my language classes). I did NOT use synaptic to get these. I simply used the bash script (in the same manner you described for your synaptic install) to apt-get install openoffice.org and geany respectively. Nice thread,
-omni
Where you able to get sound working??
g2tegg said:
Where you able to get sound working??
Click to expand...
Click to collapse
My sound through the Webtop is functional, yes. I'm not sure if you were talking about gnome-specific apps (I wouldn't know, because I'm not using gnome panel), but anything through mobile view or iceweasel (not including flash) plays stereo through the Webtop. I didn't do anything special to get it working, it always just has. I hope you figure out your problem.
-omni
With epiphany did you encounter a problem where it uses xulrunner-1.9.2 instead of xulrunner-1.9 and fails to start the gecko engine? The epiphany version that is available through synaptic after fixing apt-get dependencies and sources uses xul1.9 once and works right then uses xul1.9.2 every time after that and fails. Epiphany lists both xul versions as deps so i, unsuccessfully, tried to lock xul1.9 and install a fake xul1.9.2. Any help would be awesome.
I did manage to make Webtop2SD work after I created a 4 GB partition on my ExtSD through Webtop2sd partitioning tool.
Here's what I got working (installed through Synaptic):
XFCE4 (full suite)
OpenOffice
GIMP
EPDFViewer
Fillezilla FTP client
VLC Media Player (marginal results)
Ristretto Image viewer
ABE's Amazing Adventure (game with full working sound)
I was hoping to have some sort of ScummVM, MAME and SNES emulator to run, but unfortunately they don't even after a successfull install.
Cheers!
Rayan
Sent from my Atrix using Tapatalk
@ g2tegg
I know it's a bit late for commenting lol. And probably my post may be off-topic. But was your issue the <no sound coming from HDTV via HDMI> one?
I also had this issue in webtop going on for like 3 months (like flashing and reflashing webtop to no end), until I stumbled upon this Motorola forum:
h**p://supportforums.motorola.com/message/330591#330591
(had to mod link because I didn't reach the minimum amounts of posts to allow links -_-)
Basically, if you switch display resolution to anything other than 1280x720, sound will not redirect to HDTV. And as for me, after switching to 1280x720, I had to reboot my Atrix in order to finally have sound . No need to find for drivers.
My sound would work within the Webtop apps from Motorola. But if I wanted to use a Linux MP3 player, watch a video etc there would be no sound. Kept getting a gstreamer error.
Hi g2tegg,
I have Atrix with iBlur ROM. I installed the WebTopMOD zip file using CWM and have the folder with linux image in sdcard-ext. But when I reboot the phone and plg it in Atrix Lapdock I don't see the icons like: penguin etc.
Could you please help.
Got it working !!
katlimaal said:
Hi g2tegg,
I have Atrix with iBlur ROM. I installed the WebTopMOD zip file using CWM and have the folder with linux image in sdcard-ext. But when I reboot the phone and plg it in Atrix Lapdock I don't see the icons like: penguin etc.
Could you please help.
Click to expand...
Click to collapse
Try to reflash the webtop and then the mod again. There is a thread in the developers area I believe called webtop mod v1 or something like that. When I get the chance I will try to dig it up. Driving in a snowstorm at the moment slightly hinders my searchability haha. Good ol Ontario I tell ya
quick question: are these persistent? can I make a desktop icon for these or do I have to apt-get them everytime?
seems counter intuitive to not be able to "hard" install the applications
V DidDy 210 said:
quick question: are these persistent? can I make a desktop icon for these or do I have to apt-get them everytime?
seems counter intuitive to not be able to "hard" install the applications
Click to expand...
Click to collapse
You dont have to apt-get everytime. The installed applications are on either the phones hard drive or the SD card. Only thing you will have to do is start the gnome panel every session, which is easy enough.
g2tegg said:
You dont have to apt-get everytime. The installed applications are on either the phones hard drive or the SD card. Only thing you will have to do is start the gnome panel every session, which is easy enough.
Click to expand...
Click to collapse
Yeah after tinkering with them for enough time I figured that out!
only question is how do I figure out where they are located on my phone? I can't find a DEBIAN folder anywhere on my device (sd or sd-ext) my webtopmod folder is on my internal storage btw
thanks for the response!
If you use webtopmod's debian chroot (the white shell) they'll be in the linuxdisk file, as it's actualy a filesystem in itself. You won't be able to 'directly' access them. I recommend switching to webtop2SD. I didnt' want to, but everything is native that way and most things run better anyways, I installed xfce4 and got rid of that stupid awn dock at the bottom and put in a little bar. Now it feels like linux!
My apps so far:
OpenOffice 3
XChat
rdesktop (doesn't work, keymap doesn't work)
gimp (not used yet)
Any other useful ones people know of? I don't need an email client... the phone's gmail app is sufficient enough, and if I need more support I'll just use gmail. Kind of wish I could get an updated firefox, or a tun/tap module so i could use hamachi.
Mgamerz said:
If you use webtopmod's debian chroot (the white shell) they'll be in the linuxdisk file, as it's actualy a filesystem in itself. You won't be able to 'directly' access them. I recommend switching to webtop2SD. I didnt' want to, but everything is native that way and most things run better anyways, I installed xfce4 and got rid of that stupid awn dock at the bottom and put in a little bar. Now it feels like linux!
My apps so far:
OpenOffice 3
XChat
rdesktop (doesn't work, keymap doesn't work)
gimp (not used yet)
Any other useful ones people know of? I don't need an email client... the phone's gmail app is sufficient enough, and if I need more support I'll just use gmail. Kind of wish I could get an updated firefox, or a tun/tap module so i could use hamachi.
Click to expand...
Click to collapse
I installed chromium, and it's running smoother than firefox ever did. Haven't really had a reason to install anything else, but i think i'm gonna get fxce4 because the current dock at the bottom annoys me
Sent from my MB860 using xda premium
^yeah after using it exclusively for the past day or so it's quite capable but I can also see the limitations of debian through chroot. I'd ideally like to get rid of the webtop all together and just have kde or gnome (i'm not picky, xcfe4 would work for me too)
but I'm assuming if I do webtop2sd I can have ubuntu with gnome installed no problem?
I went through the process of putting all of my gnuSTEP icons on the webtop and it's very much like my current gnuSTEP machine (supremely capable btw when using a debian core) I haven't run into any real problems using the chroot method, save for not being able to put shortcuts on the AWN bar and the occasional, but when I get my lapdock in the mail and start exclusively using this when I'm out and about I'll look into doing webtop2sd. I need to get a bigger sd card too, I have a 16 but I'd rather have a 32 external only for webtop and the 10 or so internal for android I don't listen to music on my android (I own a zune) so 10 should be plenty to just have apps and android
---------- Post added at 02:23 AM ---------- Previous post was at 02:20 AM ----------
Alcapone263 said:
I installed chromium, and it's running smoother than firefox ever did. Haven't really had a reason to install anything else, but i think i'm gonna get fxce4 because the current dock at the bottom annoys me
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Did you use the jaunty hack to get chromium working?
I successfully installed chromium but every page loads for a second and then crashes. I didn't really look into the chromium hack (I don't think I use jaunty for anything and synaptic/apt-get can get all the repositories I need) but it seemed intensive especially to get flash.
I've found that while firefox has FANTASTIC flash support (like, really good and speedy, no chops) I just end up using konqueror for regular internet tasks. I can't seem to get it to install flash (I don't know how to install .deb packages) but it's speedy for other things and makes an excellent file manager
If you could get chromium without 2.3.5 i'd get it... but 2.3.5 offers what appear to be no benefits at all, correct?
Just kinda scared to have to rebuild from a bricked phone.
Trolling from my ATRIX 4G's XDA premium app, still on the gold medal winner of worst customer satisfaction for the second year in a row! Congrats!
I upgraded to 2.3.5 it has the new firefox, it runs fine from what I've seen
I'm trying to install synaptic by "apt-get install synaptic", but it shows several "Failed to fetch http://ftp.debian.org/debian/......" messages.
How can I fix this?
Hello All,
Another ubuntu project here..
its a chroot jail free looped native framebuffered something?
one folder on sdcard called linux /sdcard/linux with the .img
your mount point..i use /data/local/mnt/linux
the scripts i use /data/local/mnt
simple you will need to edit the scripts if u edit ur paths..
ill share my stuffs if theres any interest in this.
dunno if this has been done on sgs2 using just scripts but yh
ive managed to get ubuntu13.04 running with full multitouch support using mtrack i use lxde/2d-unity
this approach uses android framebuffer instead of using a vncserver.
Concept/Goal: use android hardware to run linux without vnc and full hardware support...its christmas soon!
so we go a safe way and mount a img file and loop and chroot and mount necessary android stuff i.e /dev /proc /tmp-to help speed up system! and mount all sdcards.
then we kill android-the-framebuffer-hog
and start our xsession,
anyone interested in helping me?
i have the scripts and image, just need more nuerons!
to do is (alot)
Working:
Framebuffer >> full gamma and .mhz settings safe
Wifi
Bluetooth
Reboot to andoid and umount rootfs on log out
Mouse
Multitouch tap is click, double tap is ?grab window to move it, two fingers for right click, three to scroll
Screenshots
Charging
Sdcard
MicroSd
Keyboard >> virtual
Theres alot but its hard to summerise lol
Not Working (WIP)
get sound working completely (evrythings working except last output part) alsamixer, pulseaudio all work..just the last bit..so no sound.
figure out why system_bus_socket connection refused?
why dbus isnt being used but starting ok?
Landscape mode mouse axis. (i can rotate the display but the mouse axis are wrong.. up=right down=left) (portrait is fine)
camara
gpio-keys (hardware buttons)
calls
text messaging.
OTG USB (i made one so im assuming its that that doesnt work simply tweak to the xorg.conf to swap from touch to mouse..)
DRI & DRI2
GL_OES_EGL_image for 3d
have to use a virtual keyboard until running android apps in linux is figured out--ahem (i use matchbox-keyboard)
logon screen works but the keyboard is a issue. (virtual keyboard only starts once logged in. so no logon yet just auto logon)
you can still use ssh and vncserver if you wanted to..
any interest ill share my scripts...
as i said im not the only person to chroot imgs, but i havent seen a thread on getting it running natively on sgs2 without uboot or repartioning anything.
unless u completely recompile the linux os whilst inside of it, i.e adding vmlinux.img should be safe enough. works for me
anyway been a busy with this and im not a pro developer just a seasoned addict, thus the call for arms!
peace!
some screenshots
and you expect me to share my work when none of you have any input..phhhhhaaa
EDIT >> i was how you say suffering from a spot of pink eye! Strange strange thought patterns = WEIRD REMARKS lol
Sent from my GT-I9100 using xda app-developers app
Wow, erm.......awkward!
I wish you success in your endeavors.
Sent from my GT-I9100 using xda premium
Interesting.
May I ask what are you using for? I mean, which killer app in Ubuntu you can't replace with an Android one?
Moreover, I have noticed an X server on the Play Store (https://play.google.com/store/apps/details?id=au.com.darkside.XServer)
Using it, instead of killing Android, may allow some more integration with the Android environment (e.g. you could still receive calls while using your ubuntu stuff).
Another improvement would be to use multiple consoles (you know, Ctrl-Alt-Fx stuff) to have both environments running
Just my 2ç
Z
zavorrax said:
Interesting.
May I ask what are you using for? I mean, which killer app in Ubuntu you can't replace with an Android one?
Moreover, I have noticed an X server on the Play Store (https://play.google.com/store/apps/details?id=au.com.darkside.XServer)
Using it, instead of killing Android, may allow some more integration with the Android environment (e.g. you could still receive calls while using your ubuntu stuff).
Another improvement would be to use multiple consoles (you know, Ctrl-Alt-Fx stuff) to have both environments running
Just my 2ç
Z
Click to expand...
Click to collapse
lol
i mean to free up surfaceflinger and the framebuffer and send android into a slumber?so we can use it for our xsession. not KILL PERMANETLY
its like a chroot jail free no vnc something??
using vnc will allow u to still have android on in the background for calls and what not but thats chrooting a image to a mount point and running a app. awsome but i got bored with that..much perfere native input.
Search for linuxonandroid by zachthespack hes been dealing with chrooting linux for a long time and has a good application and a healthy stock of img files for you to use, plus a good how to. http://www.linuxonandroid.org Download from play store.. search 4 linuxonandroid
...thats not a bad idea zavorrax about the X11 app..
although running a third party app to use the framebuffer seems pointless when u can use the devices one!
wouldnt u rather have a true linux os in your pocket rather then a clever spin off of it, dont get me wrong i love android and its easy moddding.. linux is far better though.. this project im doing is after all, on a android device.
android root is always 0 ... root = / .... android apps are the users...if that makes sense?
linux uses users who log in..so root still has the initial setup of the os incase a user messes up, root can reset it with relative ease.
so in order to use linux for a vnc free linux, (root is in my opinion just like a programme.) needs to also be 0
thus, night night android..
its hard to explain, its linux and android?
basically the only way i can explain this is its the same as a chroot of a distro BUT instead of using vnc/X11 apks as the only way of having a GUI, we can optionally use the android framebuffer..fb0...
this thread wasnt ment to be a how-to just to see if theres any intrerest out here.
ill make a proper how to with all the basics needed.
as i said theres alot of these projects across the android platform, people trying too turn android back to linux/running linux.
u can pretty much use any img used for vnc or create your own for this.
theres a lot ubuntu/arch/debian/kali/backtrack..etc..etc
i initially add a file to my new img and apt-get a few things, run a few commands to change the img for my device then only need to execute my script,on the fly, hello linux desktop why not!
theres alot of debugging thats why im seeing if anyone is interested in this and would like to help/participate
i initially started using vnc years ago but got fed up with having to run a handful of scripts in this app and then find and add my ports and set passwords in another app, all using important cpu and power, so i thought why not make it all into one easy script.sh.......can of worms...
fruition was glimpsed so i continued.
just use it bcos i can
oh yeah and i say kill/sleep android, its all there..just not emulated/running a instance..sort of packed away in a box.(sleeping lol)
until i/someone can debug compatability for things like phone or proximity sensor then inside the linux GUI theres no support because it hasnt been setup/coded
thanks.
mckeowngoo said:
Wow, erm.......awkward!
I wish you success in your endeavors.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
i to was a search and download kinda guy, now i find coding and debugging for myself interesting/rewarding.
its such a burden having hobbies!
Wow, erm.......awkward!
lol
cheers
If you're not going to share your work, why are you posting about it on XDA?
Thread closed. OP if you decide to share this then contact me when you have links ready and I will reopen this thread.
Hi all,
I've been using aDownloader for awhile now and although not very fond of the UI it gets the gob done perfectly fine. My only problem is that once the download finishes I have to restart my Nexus 7 if I want the job to be visible once connected to my PC. That happens every time.
If I don't restart and just plug it into the PC the torrent job won't be in the folder no matter how many times I refresh or plug in/out the device.
Anyone with similar problem?
Is that even aDownloader's fault or is it something about Android.
P.S. My Nexus 7 is rooted.
Thanks for any help.
You could always buy what your downloading, thus, no more need to restart your n7.
On another note, its people like you our economy is ****. Good luck getting help.
Sent from my Nexus 7 using xda app-developers app
It may have something to do with the emulated internal storage.
creep138 said:
You could always buy what your downloading, thus, no more need to restart your n7.
On another note, its people like you our economy is ****. Good luck getting help.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
You do realize that there are legitimate uses for torrenting, right? Although it's hardly unlikely OP is pirating content, torrents also happen to be a preferred method of distributing F(L)OSS.
OP, sounds like it's an app related problem more than anything else.
When I push a file to /sdcard/download/ for example, the file also show up in
/sdcard/storage/sdcard0/download/
/sdcard/storage/emulated/0/download
/sdcard/stroage/emulated/legacy/download
and vise versa when deleting from /sdcard/download. A restart is needed for it show up in My Computer\Nexus 7\Internal storage\Download. Fortunately there are other ways of transferring such as using ADB Pull straight from the directory.
To creep138: Solid point. Partially agree with you. Thanks for the reality boot. In all honesty- the older I get the more stuff I actually buy. Guilty conscious I guess.
To all else: I suppose ADB stands for Android Debug Bridge. I will check this method and see if it will help.
If not- I guess I will try another client.
Thank you for the prompt response guys.
Tonight everybody get "thank you"
Have a good weekend.
Username invalid said:
When I push a file to /sdcard/download/ for example, the file also show up in
/sdcard/storage/sdcard0/download/
/sdcard/storage/emulated/0/download
/sdcard/stroage/emulated/legacy/download
and vise versa when deleting from /sdcard/download. A restart is needed for it show up in My Computer\Nexus 7\Internal storage\Download. Fortunately there are other ways of transferring such as using ADB Pull straight from the directory.
Click to expand...
Click to collapse
All of those locations point to the same "real" place via creative symlinking. It absolutely should not require a restart to show on your computer, and makes it sound like there's something up with your filesystem. You'd expect that any filesystem changes in runtime would fail to show on your PC if this is true, and that's definitely not what it's supposed to do.
nitJhic this
Rirere said:
All of those locations point to the same "real" place via creative symlinking. It absolutely should not require a restart to show on your computer, and makes it sound like there's something up with your filesystem. You'd expect that any filesystem changes in runtime would fail to show on your PC if this is true, and that's definitely not what it's supposed to do.
Click to expand...
Click to collapse
Some time ago (3-4 months I think) I installed Ubuntu Touch on my Nexus 7. Soon after that I removed it and restored the original version of Android on it. Could that be the problem?
I just botched my install of BotBrew by switching from sid to Wheezy. Sid appears to be all sorts of buggy and is even warned to be so on Debian's site. I even managed to mess up my tablet completely by trying to move the old directory so I could start fresh but keep the old stuff for reference as I reinstalled/recompiled everything.
Now that I'm on a fresh slate seeing as BotBrew is three years now without update is there anything better out there to set up a Linux environment that I can compile things in and perhaps turn into a nice fully featured Linux install to share with people?
I was halfway through the dependencies for Cinnamon (my favorite WM) before I somehow killed Python beyond repair so forgive me for my rants. Getting that far (about 12 solid hours work) and having to start over is... taxing on the nerves.
Thanks in advance for your advice.
mascondante said:
I just botched my install of BotBrew by switching from sid to Wheezy. Sid appears to be all sorts of buggy and is even warned to be so on Debian's site. I even managed to mess up my tablet completely by trying to move the old directory so I could start fresh but keep the old stuff for reference as I reinstalled/recompiled everything.
Now that I'm on a fresh slate seeing as BotBrew is three years now without update is there anything better out there to set up a Linux environment that I can compile things in and perhaps turn into a nice fully featured Linux install to share with people?
I was halfway through the dependencies for Cinnamon (my favorite WM) before I somehow killed Python beyond repair so forgive me for my rants. Getting that far (about 12 solid hours work) and having to start over is... taxing on the nerves.
Thanks in advance for your advice.
Click to expand...
Click to collapse
If you're looking for an easy way to run a full linux environment on Android(through chroot) I would recommend trying Linux on Android (found at http://linuxonandroid.org/). Download from Play store .
It has many linux distributions to choose from and has worked perfectly for me. I tend to start ssh server on the linux chroot and connect to it locally with VX Connectbot most of the time when I'm using it.
(How were u planning to run Cinnamon on android? Vncserver?)
I like Linux on Android. The only thing I don't like is it uses an image file instead of a directory on my device. Makes moving stuff back and forth kind of a pain. I use http://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/ and set my display location to XServer-XSDL in the chroot and any app I launch opens in XServer.
I'm thinking of taking a crack at making my own Ubuntu bootstrap as I prefer it to Debian. Not sure if the prebuilt would work or if I could set up an image without using QEMU.
After another all-nighter I must say I have huge respect for anyone who builds Linux from scratch. I was lucky enough to have a repo that had some of the packages I needed but at least 50% of the dependencies I needed had to be compiled. And naturally they had dependencies that had to be compiled and so on. I don't know how many layers deep I had to go. I lost count.
mascondante said:
I like Linux on Android. The only thing I don't like is it uses an image file instead of a directory on my device. Makes moving stuff back and forth kind of a pain. I use http://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/ and set my display location to XServer-XSDL in the chroot and any app I launch opens in XServer.
Click to expand...
Click to collapse
You could always mount the iso image to a directory and access all the files that way. Or just access /sdcard or /external_sd from within linux chroot.
I tried XServer-XSDL but it had bad keyboard lag when typing quickly(letters appear very slowly) -- especially with an external keyboard. Do you experience that?
xIsei said:
You could always mount the iso image to a directory and access all the files that way. Or just access /sdcard or /external_sd from within linux chroot.
I tried XServer-XSDL but it had bad keyboard lag when typing quickly(letters appear very slowly) -- especially with an external keyboard. Do you experience that?
Click to expand...
Click to collapse
Thank you for the advice. If I start to go insane from my efforts I'll give that a whirl.
I believe it lagged but as I didn't have a WM open just a simple app called SheepShaver it wasn't as noticeable. To be perfectly honest I'm not sure that I remember.
For anyone who cares I finally built Cinnamon. It won't launch. Clutter is complaining about the screen. Something to do with libEGL getting pissed because of the setup I'm using. https://mail.gnome.org/archives/commits-list/2014-June/msg03415.html shows a commit that should fix that. I'm trying to compile it but like the rest of my experiences it's not as simple as compile and done. More like knock out a tree of dependencies, sacrifice your first born, pray and cross your fingers hoping something else isn't going to go wrong. Kind of disappointing. Cinnamon is such a beautifully simplistic yet still very pleasant looking WM.
For now I'll keep beating my head against a wall until I pass out or break it down. Will share once I'm done. I plan on switching it from Debian to Linux Mint if possible. A fully working Linux Mint seems like an adventurous goal to shoot for. But for now it's daylight and this child of the darkness needs some sleep. I'd love it if some senior developers subbed to this and shared their ideas and collaborated with me. I've only got one friend to call on for help and he's a FreeBSD guy so his help only goes so far. Thanks.