yashsingh1/xdaforums huggingface dataset:
[General Topics] superdave42:
Oh yeah that is so true about the amount of info out there now on the subject. Amazing really. I feel there is a lot to be done with electro elastomeric dynamic shape props :) as well, but only lucky super geeks stuck in dark labs are playing with it at the moment. Dark Knight cape material type stuff ya know.

comment about the text, well connect bot starts up with very small text on the Nexus, so I used the force scale command to resize the text, but when I did that I lost the prompt and ability to choose a package like 2S etc.

I'll try it again tonight when I get home. I'm also trying out the Ubuntu touch on the Nexus-10 to see how that is, I got it fired up last night, then un-installed it when I could not find a terminal app and other ways to make it more usuable, then a guy on G+ let me know there is a way to get terminal on it and sent me a link to a PPA to add for core apps. that will be fun to, but I really want to get this right here working well, at the very very least, I am learning a ton by reading your posts and checking out your scripts.

Work has just been super busy and I have not had too much time to put into these projects yet. Thisis all a real eye opener and I wish I had gotten started with Linux a couple years ago..

you mentioned the deep end. lol no such thing when your fully interested and devoted :)
[General Topics] superdave42:
Hello,

I found those videos on fluid drop based seed dispersal very fascinating. I was at work until almost midnight last night ( preparing some prototypes to ship, etc.) so un-fortunately I still have not had a chance to get the Ubuntu touch terminal going or play with this script you made yet. I guess I'll have time over the weekend to do it, I may even take a day or 2 off work next week just to focus on this stuff. ( the work life balance :))

The days are just too short :)

I also like watching a "cool" looking script when modding my androids with cool ROMs etc. I like when the devs put that extra touch in the texts. programmable shape arms would be neat for dynamically entering dihedral & anahedral states as needed for hover stability and aggressive maneuvering. I am flying a Hex right now that has built in dihedral and it's great for hover stability but not so great for sport flying, the Karbonic-X and a few other multi's I've design have no di/ana hedral so they are kind of in between hover stability and performance flying ( as most other multicopters out there right now)

I have a friend that is always experimenting with annealing techniques for Nitonol and I keep trying to get him to pursue nitonal sheets instead of the wire he's been working with. That would be neat.
[General Topics] superdave42:
Bob Ross FTW!

awesome.

I have a couple minutes of free time at the moment and am going to read up on how to use the script. like how to run it
[General Topics] S0AndS0:
~~~~~~~~~~~~~~~~~~~~~~~

Safe to Run !!!

Copy everything between the " ~~~~ " sections and Past it into a "blank file" onto your device's SD card; rename it something like "ARM_JDK_Installer"

I usually put scripts in the following path --

/sdcard/Adev/Scripts

-- then login into a Linux terminal (be sure you are not in an Android Terminal) and then login as your normal user with sudo permissions and run with the following command

sh /sdcard/Adev/Scripts/ARM_JDK_Installer

and then type in your password and hit " y " and enter until finished (about 15 minuets)

then try running Java dependent software :) on your Android or Raspberry Pi

Screen Shots to come:
[General Topics] kagashe:
Ubuntu Precise binary-armel Packages.gz was corrupt.

Hi,

I am trying to install Ubuntu Precise on my Samsung Galaxy 5 Mobile. I am getting the following error:

W: h t tp: / / ports. ubuntu.com/ubuntu-ports/dists/precise/main/binary-armel/Packages.gz was corrupt(14-Mar-2010)

I: Retrieving Packagescount to -1

E: Couldn't download dists/precise/main/binary-armel/Packages

Error during first installation stage. Aborted...

# Retreving Release

I: Retrieving Packages

I have aborted and now trying to install Debian. My net connection is slow through GSM and it is going to take time.

In Debian I am stuck up with following error:

W: h t t p:// ftp.de. debian.org/debian/pool/main/n/ncurses-bin_5.7+20100313-5_armrl.deb was corrupt

W: Couldn't download package ncurses-bin (ver 5.7-20100313-5 arc armel)

Please tell me what to do if one package is found corrupt (may be due to slow speed internet) and the installation is stuck up.

Update on 26th July 2013

I could install Debian and add andromize-lxde also. The Iceweasel is not suitable for my phone and I am happy to use Android Browser. I could use Leafpad. I could also login to the LXDE Desktop from my Ubuntu Laptop using Remmina Remote Desktop client. I am thinking how to use the Debian installation for something I can't do using Android Applications.

Kamalakar
[General Topics] S0AndS0:
Currently the only solution I have is to try re-downloading/re-installing.

I have run across these errors from time to time too. And I also have a slow net connection. One thing I've done in the past is; pop down to a business that has open Wi-Fi and tap into it for 30 minuets or so... once you've got the OS installed you can run "apt-get install" and "apt-get --fix-missing" to re-download missing or corrupt packages.

I'll be back after work to help some more :)

Edit 4 pm myTime- and I'm back...

Sooooo I'll be booting up my PC and poking round in the boot scripts that Debian Kit uses~~

Link to the dev's source for Debian Kit

http://sourceforge.net/projects/debian-kit/

Link to script that seems to need a re-download upon error thing added

http://sourceforge.net/p/debian-kit/code/ci/master/tree/kit/mk-debian

~~and seeing if I can't do something of an edit to it so it re-tries on bad downloads (links to guides that I find useful will be added too ;) ) ...

Link to redirection (general bash)

http://www.catonmat.net/blog/bash-one-liners-explained-part-three/

Notes/Ramblings: I'll be adding commands that are relevant and notes bellow...

I'm thinking that some clever use of pipes " | " and the "find" command and redirection(s) of errors to a file and a user prompt to delete bad files to download new ones; will make a doable "patch"... the developer of Debian Kit is much better at this programing and scripting thing but it seems like something worth trying for education :)

Update 07262013____saw your edit :) ____

Good deal, I'm glad Debian worked better than Ubuntu (Ubuntu I've only been able to test on one of my devices because my other always has errors on install) and that the connections all work for you is great news :D

I've run across guides for updating Iceweasel; think I might have a link in section 4 on that.

On the topic of what you can start doing with this that Android currently doesn't have "full" capabilities of doing without Linux installed; you can try either one of the Java JDK installers that I wrote up (directions are in previous posts on this page (11)) and get started down the path of App development or just play around with games that where written in Java (jar files and the like) ... I've also another script for remote controlling quad-copters but that one is a bit messed at this point... and there is always "pen-testing" lots of scary things you can do now on that subject now that Linux is in the palm of your hand.

I'm always looking to expand on what is possible; so if ya got a special request, I can see if I'm up to the task :)

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] Almazick:
I don't know if that's the right place for it but I installed today a full blown LNMP server (nginx, mysql, php) and it works great over WiFi. I'm using Tmobile Galaxy S3 and now I'd like to be able to access my web server thru 4G connection. Now I have no idea how to access webserver from 4G connection. So far I tried the following in android 4.1.2

iptables -I INPUT -s 11.22.33.44.55 -p tcp --dport 80 -j ACCEPT

so I got an error "FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:484"

Then I checked iptables by the following command iptables -L INPUT -nv and it looks like iptables got set, it's showing that port 80 is open. Now what m'I missing? What's the proper way to set iptables to be able to see web server from outside using 4G?

Thank you in advance
[General Topics] S0AndS0:
Very cool :thumbup: could you provide instructions or links to the guides that you used? I've been looking round this 4G related thing for a bit now, and you're on the right track with IP tables, but for other projects...

I'm looking into it :) ...

One app that might be useful in getting a port opened or routed correctly is "Port Forwarder"

https://play.google.com/store/apps/details?id=at.bherbst.net&hl=en

This is what I've been using to open port 8070 and rout it to 7080 on the Linux side, works good on the wifi, still have yet to do enough testing to say it works for 3G/4G though... note the above port numbers are set to that because there is a "sweet spot" of ports that you can mess with, anything bellow a certain number and you'll get errors and time outs and anything above another numbered port and some devices toast up errors too, I'll have to dig to find those ranges if you nead'em... oh and if my memory serves, there maybe a way to "listen" on what ever port 4G usually comes in on, think I saw a really long guide about 4G wifi tethering hack sometime ago that talked about this.

I would try a port forward of 80 to some other numbered port and make the connections to that... but like I said I'm catching up in some ways, though, if it works it'll be really cool :D

Bellow are a list of links that I've been reading up on to try and catch up with ya ;) let me know if there be better reference material and I'll see about scripting up an installer for it all so it's quick and painless the next time around :D

http://www.rosehosting.com/blog/how...sql-and-php-server-on-a-debian-6-squeeze-vps/

http://www.servermom.com/easiest-way-to-install-lamp-and-lnmp-stack-on-ubuntu/153/

http://www.zayblog.com/computer-and...d-on-a-lnmp-linux-niginx-mysql-php-fpm-stack/

I'm off from normal work duties today so you'll have much of my attention and time. I'll be online all day so make the best of it, maybe upload or PM or email logs/dumps so I can go over all the steps and errors with you? :D

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey
[General Topics] Almazick:
I only found out today about Debian Kit but I used Lil Debi from Google Play but I'm sure LNMP can be easily be installed in Debian Kit. I don't use linux GUI only CLI and WebMin which is easy to use. The hardest part was to install mysql. It took me many hours to find the answer but after all I found chroot can't give access to sockets. Only group ID 3003 can have access to sockets. So if you intend to install MySql and it doesn't work, make sure before installing it, add MySql in 3003 group which you must create if it doesn't exist. I can make a script which LNMP can be easily installed but I only tried Lil Debi and didn't use Debian Kit. If you need help let me know.
[General Topics] S0AndS0:
Debian Kit is the best one I've tried so far (and I've tried a bunch) it mounts all the file/folder structure of Linux onto the root directory (very clever "short-cuts") from the SD card (meaning that if you use the manuel install to a partition option, you could have 30 gigs of space dedicated to Linux or more) and it's been the most compatible between devices. I've done the chroot thing a few times, was finicky on my myTouch and the error reports never lead to a solution when it was running fine and hit a bump...

Did you have to install from source for MySql? And I'm guessing group 3003 is the number assignment for a group that needs permissions within that package?

If ya write it I'll try it. Currently I've got to reinstall linux again, only a few kb left out of 8 gigs, dew to heavy testing. Should take an hour or two for this device to be up and running again, if you've something ready before then, then I've a second device (nearly un-modded Linux install) ready for testing. I'll be turning on Ubuntu on the desktop side too and reading up on everything... oh and with your permission when you've got a working installer for ARM I would like to include it in the main guide here and related scripts for others to use please. Certainly put your sig/info into it and related credits and we can expand easiness of Linux wile ensuring credit goes where it should ;)

Note: first posted on the device that doesn't do the fancy spell correct thing X-P

Edit 4 pm myTime- up and running again. I'll be reviewing and following guides that I've found and reporting back soon (I hope) next full day off will be this Saturday so if we don't get it in the next 8 hours or so, then that'll be when I can do more heavy testing.

Update 5pm myTime- checking out putty for connecting in from Windows, and starting the download of packages to get this done. Will this go off my ISP when properly configured or will I need to find a service provider to connect to this from outside a local WiFi network?

Edit 6pm myTime- looks like there be a guide to answer my last question ....

http://www.servermom.com/how-to-install-and-setup-bind9-on-ubuntu-server/136/

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] Almazick:
What I like about Lil Debi it just works and doesn't install any junk, just pure linux. You install an app from google play, open Lil Debi, click install and in about 10min your linux is installed. LNMP server would work better with 1.8GB image or more. IMG file can be always resized. Open terminal Emulator on the phone and type /debian/shell which would let you get inside debian. Type "passwd" to setup SSH password and that's it. Now you can SSH to your linux from your PC. What I like about Lil Debi that it allows you to install any Debian version including the latest wheezy. Also you can choose to install ARM or ARMHF version. ARMHF version should work faster than any other version on your arm device. ArmHF enables you to take advantage of your Arm CPU and use hardware feature such as floating point. I've never used QEMU x86 but it sounds like a great working emulator but all the emulators 10 or more times slower compare to native application, so just by using a native ArmHF linux would give all the performance advantages such as less battery drain, less cpu cycles, less ram usage. I installed MySql from repo but you can also install from a source if you wish but it takes a lot of space. I'd say around 2+GB just to compile the source and it's a slow process. Here is a quick script to install a full LNMP Server in Debian. If I missed something just let me know and I'll fix the script.

apt-get update
apt-get -y install aptitude
groupadd -g 3003 inet
groupadd mysql
useradd -r -g mysql mysql
usermod -G inet mysql
aptitude -y install nano wget git curl
cd /home
git clone https://github.com/Mins/TuxLite.git
cd TuxLite
chmod 777 *.*
./install.sh

You would need to add your username just by typing

adduser yourname

fill in your name and domain

./domain.sh add yourname yourdomain.com

rm /etc/nginx/sites-available/default
rm /etc/nginx/sites-enabled/default
service nginx restart
./setup.sh dbgui
./domain.sh dbgui on

If you prefer to use GUI then continue with a script

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.650/webmin_1.650_all.deb?r=http%3A%2F%2Fwww.webmin.com%2F&ts=1377227904&use_mirror=superb-dca2
mv webmin* webmin.deb
aptitude -y install gdebi
gdebi webmin.deb

If everything worked fine, you should have access to your webpage just by typing your phone WiFi IP address.

GUI https://YouIP:10000

phpMyAdmin https://YourIP/dbgui

For users who wish to use Joomla or Wordpress then you would need to change NGINX config file.

For users who can't access the website then use the following command

chown -R your_user_name yourdomain_path
[General Topics] S0AndS0:
Wow, thanks

...just got Vista communicating with Android/Linux with putty so I'll be trying the script and directions out shortly :D

and I appreciate the review of ARM hard float verses soft float, I'll be trying Lil Debi and perhaps adding a sub-section to section 1 with my experiences/install methods so that we've got more options within the guide for readers. Though from what i've experienced with Debian Kit, I'm still able to run hard float packages, perhaps so long as the Linux OS isn't in a QEMU environment then the software will just run if it's compiled to run HF vs SF? Really the info I've found on it is so steeped in it's own juices that somethings are still a mystery :) And yes emulating is just about the slowest and most electron expensive way of going about this, however, when you've really got to test something that won't run otherwise it's there.

Though you maybe able to resize the disk image; are you still able to copy/past it (back it up) when on fat32 if it's bigger than 4+ gigs? I found this to be one issue, that and sometimes resizing the file made things odd a few times with free space not really being free on either system.

Providing this all works you may have helped me put another lego piece into place on making files available for others to use too :D so thanks again and I'll be back in a bit after some testing on my end...
[General Topics] Almazick:
Here is a benchmark for Arm vs ArmHF http://www.memetic.org/raspbian-benchmarking-armel-vs-armhf/ I'd say 20+% improvement is great since you are using the same hardware and not investing any money. In regards to Fat32 then it's got a file size limit of 4GB and I don't think you can go over that size unless you switch to ext2 or something else.

Now the hardest part to access the phone over 3G/4G assuming provider is not blocking ports. So far I've tried it for the last 2 days and I couldn't get it to work. if anyone can confirm T-Mobile in USA blocking ports then I'll know for sure it's not on my end, that would solve the problem.
[General Topics] S0AndS0:
Cool, I'll deffenetly have to test this on my devices then. Thought as much on the size constraints, but might just be worth not having the folder structure co-habitate.

On the subject of checking what ports might be blocked by your survice provider

https://play.google.com/store/apps/details?id=com.firebind.android

This issue isn't new and there's losts of questions on the Q&A threads out there on this to sift through. And it looks as though some ports will be blocked but we might be able to leverage the ones that are open.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] Almazick:
Awesome, I didn't know about FireBind and the good news it shows port 80 is open which means it's on my end :) and my fault for not being able to connect over 3G/4G.
[General Topics] S0AndS0:
Excelent on finding an open port. Found another guide for port fowarding on Android

http://sigitp.wordpress.com/2011/05/12/tunneling-and-port-forwarding-in-android/

This one uses connectbot for the fowarding and making a connection that stays alive, though the guide suggests connecting to a squid server, instead I think this would be used to make a connection between the local Linux services to an out-facing port on the Android side so that client request are seen.

Do you have it running now that 80 is shown to be open? If so then fantastic! If not then I'll keep reading on my breaks today and get on heavy testing tomorrow. Hope it's all working though, because then I can join ya in hosting from android to anyone on the web :D

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] Almazick:
Sure, we can always find a backdoor using proxy or other methods but it shouldn't be the case. I'm an expert with Microsoft products and used linux for web servers and security testing. I don't have enough skills to figure it out how to pass traffic thru 3G via port 80. Linux works thru loopback interface. I can easily connect to my webserver thru WiFi so loopback is working properly but it looks like loopback don't work properly with 3G/4G connection. Iptables is not routing the traffic properly. Another possibility could be with kernel which doesn't allow that operation and might require a 3rd party kernel. I'm using a stock kernel at the moment. I know it's been done before and people are able to connect thru 3G/4G but so far I couldn't find any good documentations. I hope someone with good skills of IP tables can chime in and help us out.
[General Topics] Almazick:
I just noticed there is a problem with IP and I think I know why I can't connect using 3G/4G connection. Usually I check ip just by going to http://whatismyipaddress.com/ and it shows my IP. I was double checking all my configuration to find where the problem is with iptables and I checked command IFCONFIG or if you don't have that command use IP ADDR and showed for rmnet0 interface a different IP. Here is a problem, my actual IP on the phone is 11.22.33.44 and http://whatismyipaddress.com shows ip 44.33.22.11. What it means, the connection going thru some kind of proxy and that's why I can't connect to my device remotely. I really don't think, it's even possible to bypass that. Maybe someone knows more about Tmobile APN and knows how to bypass their proxy.
[General Topics] S0AndS0:
Well IPtables should be available to most rooted Android devices, just in case though found this link that might help with getting IPtables on devices that don't have it

https://groups.google.com/forum/#!topic/android-developers/KeqiEtoUqA8

Though its a bit difficult to read that site on mobile.

To list iptables use the following commands in an Android terminal window (not Linux)

su
iptables -L -vn

If out put results in no errors then you've got iptables. However some features aren't available till Linux kernel 2.6.29 or latter from what I've found.

I'll have to look into loopback some more. And how android associates 3G/4G hardware to services that access them.

http://stackoverflow.com/questions/2919414/get-network-type

Perhaps wireless usb debugging would give you the ability to connect in? Hoping much the same, be nice to have an expert drop some learning on us :) till then I'll keep at it too.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey