arusiasotto wrote:Well,,that streamlines the process greatly, however, my system still doesn't recognize java. any attempt to run the commands ends with it not found.
Updated script again, hopefully I found the issues, be sure that you're running Debian Squeeze and running as a "normal" user with sudo permissions; for example
Code: Select all
adduser newuser
adduser newuser sudo
and log in with
then run the script as the OP or github instruct because the sudo command when running as root user can cause issues with script functions.
I also added a mini how-to in the related Script_Runner on how to manualy set permissions and extract to the corect directory if the find script is still erroring out after this latest github push.
Update 03232014- java download script is down dew to cookie errors again, I'll be pushing updates tonight to fix it again.
Edit few minuets latter- java download script working again, didn't even have to wate
However now the installer is barffing on the update alternitive section... will be debugging tonight...
Update latter that night- ok got the bugs out again, both download and install scripts are working flawlessly again. Note I had to change the numbered options to mostly letter combos; this is dew to the new options that I'm adding to the ARM_Linux_Moder script, most are unrelated to Maptools but I do suggest the new tutorial script I'm writing "findNetworking_IPs" under the examples directory; this script is designed to step users through networking with Linux, read it in another window and follow along wile it runs to gain greater understanding of how to connect devices to one another and how to write your own scripts.
Update 03252014- both the hard and soft float installers should be fully debugged (only thing might be the "ln -s" command around line 90) I have also added to the "docs" directory relating spicificly rellating to LilDebi app and Hard Float Linux so check up there if you're looking to run the most cutting edge versions of Linux and Java on your Android devices.
In other news; the Bramble installer is almost fully functional for noobs, it'll get you started and installed but the machien file and your own programs will still nead to be modifide, but I added some assistence for this by linking in the scp helper script I wrote for aiding in trancfering files between devices.
Many more fetures to come; curently working on a setup script for LilDebi to run just after first login becuase certain packages (sudo... really?) are missing and causing errors with my other scripts.
Update 04102014- java installers working now and am working on new fetures.
Update 04172014- Big update here for those that want more capibility out of thier devices wile not running Maptools and a small update about Java.
- new functionalities -
~~~ criptocurancy mining : I've put togeather a script that will help set up a "prof-of-consept" mining rig for bitcoin, litecoin, and others.
https://github.com/S0AndS0/Debian-Kit-M ... oCurancies
Curently I've yet to code any safeties against hardware damage but; for people wondering what bitcoin is and how to get started and are able to read a man page or two this should help in setting up a mining rig. There are 4 different options for programs to install for mining available and curently they use the "make" command, which isn't the best for installation, eventually I'll be putting in options for either apt-get or dpkg installation so your Linux package manager handles dependancies and base configuration.
And I've also put togeather an installer/downloader for one proxy that is available for mining in a pool efishiontly. Note that mining on ARM of bitcoins is seen by that comunity to be inefishent because of the complexity of curent bitcoin problem solving but for litecoin and other less populated "holes" you could make a bit off this rig.
Or if you're a bitcoin only miner I've begun a USB mounting script/tutorial for adding USB mining hardware to your Android Linux enviroment so your rig can do real work on those and your Android just acts as a controller/wallet
meaning that in either senerio (CPU mining of "alt-"coins" or USB mining of bitcoins) it is now possible to make a bit of coinage out of unused devices.
And for those (like me) that can't see a reason to invest in extra hardware when I could just rig something up to first make the coins that can then be re-invested in buying the mining hardware; I'll be working on both the Brendal and Open Stack installers so that we can join a bunch of CPU's from Android devices and or PC's to do a little better at CPU mining of bitcoins. Meaning that once I have all the bugs irorned out you can have old upgrades chilling somewhere quietly making you "money"
~~~ Open Stack : this is still a very "manual" or time intencive process (working on automations) but the script pack I've compiled so far should aid even new users (open a few links wile it's installing in a browser if new) by providing links and tips along the way.
https://github.com/S0AndS0/Debian-Kit-M ... /OpenStack
This is something very experimental and I've yet to see many if anyone else atempting this kind of port method out in public and, providing that the install and networking works for your pile of old devices, will be very powerful. At minimum this will nead 3 devices running Open Stack on the same WiFi network (other networking options will be discussed bellow) which this script pack will aid you in
then choose the Linux OS that you want to boot ontop of your personal cloud server, install software, and proffit
... oh and for those that don't get why Open Stack is such a big deal, this suiet of packages allow you to make a "vertual computer/server" that runs off not one computing device but as many as you have to dedicate to it! meaning that you can take : one phone and set it up to act as a network/controller node and another to act as storage/compute node and another to act as compute/controller/host : you would end up with esentually a verual dual core processor (unless like me some of your devices have more than one core built in) then as you upgrade to new devices dedicate the old as more compute/storage nodes, add them to your cloud and have even more power
in my local area I can find pre-paid Android phones with duel 1Ghtz processors for just under $50 (which is the price of a raspbery pi with sdcard and case) which can be purchesed and added to the cloud without any contract or reocuring fees. Now if that doesn't get your mide a racing just scrole down to the bits about networking options.
~~~ Mounting USB devices from Android's USB OTG ("on the go" is also know as "host mode")
https://github.com/S0AndS0/Debian-Kit-M ... dLinux.txt
https://github.com/S0AndS0/Debian-Kit-M ... RM_USB_OTG
The first link is to a guide I'm working on compiling (nearly done) that aims to quickly educate readers on how to connect devices to thier Android Linux enviroment. This has some cool implicactions when combined with the othe scripts because a USB android to android connection will be more secure and likely faster for Open Stack and ataching mining hardware via USB for faster bitcoin mining is also a possibility. Also for those that want a "spy phone" theres a link in there that should help you lose sleep over
The second of the above links will eventualy be a sweet script to automaticly handle all of the connection mounting with the least amount of user interaction.
I'm also looking to add a USB hub or two into the mix and have the pins from the hub translate to a simulated GPIO board, which will remove nearly all defferances in owning a Raspbery Pi instead
~~~ Blue tooth scatter net on Android Linux
https://github.com/S0AndS0/Debian-Kit-M ... _Installer
This script (when compleated) will aid in setting up a network over bluetooth greater than 7+1 (one host and seven "slaves") for shairing data, messages, and processor load. This will eventually be incorperated with setting up network bridges combinding either or WiFi/USB so that the bandwith (amount if data that can be passed between devices during a given intervel) will be sinificantly increesed.
There are tons of places/situations that a network like this can be helpful; combined with the USB hacking I'm working on with simulated GPIO we could have networks in homes similar to what the Raspberry Pi and Arduino comunities are doing with home automation, such as turning on and off the lights in a room when you enter or leave a room but leave them on if someone else is still in the room you left; by having your dayly use phone's bluetooth mac address act as a triger for other old Android devices in the network that are connected to the hardware you want to control. But better than that is the price vers fetures you'll get when using Android this way in place of Pi and in some cases in tandem with them; on bord screen and such are why I use old phones before buying extra hardware.
~~~ Java installation through apt-get
http://m.webupd8.org/2013/12/oracle-jav ... t.html?m=1
http://forum.xda-developers.com/showthr ... ?t=2707512
The first link will take you to instructions on how to add thier repo to your Linux system and install with apt-get.
The second link is to where a user from XDA (Thanks mannyvzla;51977711) brought up that indeed these dev's do have an alternet way of installing Java from source; using apt-get. Under the hood though its yet again a download and extract kinda operation; I've yet to dig further into the source though to see if there's any magior differances in thier code.