Jan 3, 2014

AndroMine

Litecoin miner for Android optimized for ARM (NEON) and x86 using the recent stratum protocol.

Now with Renderscript support for GPU acceleration!

Put your device to work generating revenue for you.






From litecoin.org:
'Litecoin is a peer-to-peer Internet currency that enables instant payments to anyone in the world. It is based on the Bitcoin protocol but differs from Bitcoin in that it can be efficiently mined with consumer-grade hardware.'






  • A high-end device is recommended for best results.
  • The application tries to use all of your devices CPU capabilities, so care should be taken with battery usage.
  • Leave the application open to keep it working.
  • Make sure the pool you are trying to connect supports stratum, usually they provide an address starting with stratum+tcp://...

Consider using http://pooledbits.com/ as it seems to provide good results using this app...
For a list of Litecoin pools visit this Mining pool comparison page and check the ones that support stratum (most of them do)...

Settings:

URL: 

This is the address provided by the server to connect your miner, check the help section of your pool.
This address usually has the form stratum+tcp://server.com:1234, and you should input server.com:1234 in this field.
note: you can drop the stratum+tcp:// part

Worker name:

After registration on a pool server you will be able to create workers on your account, this way you can keep track of your miners, including Andromine.
When you create a worker you will be required to provide a name and a password for it.
In this field you should input the name you used for registering the worker on the pool...

Worker password:

When creating a new worker on the pool server you will be required to set a password for it. Input that same password here...
note: this is not your pool server account password, it is just the worker's password.

Behaviour

Run on background

Having this option set allows mining process to continue after you leave the application.
If you deselect this option, mining will be stopped when you close the app.
note: if you leave application running in the background you may experience a performance slow down as the CPU is under intensive usage.

Keep screen on

To keep an eye on what's going on you can set this option and the screen will not go off so you can allways check performance at a glance. With this option deselected the backlight will go off after a while saving some battery.

Minimum battery level

This setting allows you to protect battery drain by setting a hard limit to autostop the mining operation, as soon as the device is recharged the processing continues...

Processing:

The core processing uses the most up to date algorithms for hashing adapted to the device's features so you can take advantage of processing capabilities like NEON.

CPU based hashing

Using native code this option spawns one thread per CPU core in order to achieve optimal computational performance.
note: the number of threads is not configurable as the best option is one thread per core and there is no evidence otherwise so far.

Renderscript based hashing

This is a new technology introduced by Android OS that allows to run optimized code close to the silicon.
This way it is possible to run code on the GPU (graphics card) or some DSP (digital signal processor) available on the device.
However the performance and implementation of this feature is vendor dependent and execution will fallback to run on CPU if no support is found.
A single thread is launched with this option because the android system will automatically take advantage of multiple cores/processors.

Usage:

Create a worker on a pool server of you choosing and provide the connection details on the settings screen.
Set your preferences for general app behaviour and select at least one of the processing options...


If all goes well just go back to main screen and hit Start the app will estabilish a connection to the server, authenticate and start mining















Use comments for suggestion and any issue you may encounter...

Feb 5, 2012

X-IP :: Dynamic update client + FTP server + HTTP server

Dynamic DNS is a service that allows you to access a remote machine through a domain name instead of knowing it's IP address.
There are many companies providing this service (No-IP, DynDNS, etc...)
Running this application on your phone makes it take advantage of these services and assign a fixed domain name at your phone.

This version comes bundled with an integrated FTP and HTTP server, so you can access all the files in your SD card from anywhere using a FTP client like FileZilla (open-source) or create a custom web page to share your files through an internet connection.

You can download it from google market.






X-IP was rebuilt from the ground up, some bugs where fixed and new features added:
  • Support for multiple services
  • Support for custom services
  • Multiple hosts on each service account
  • Automatic IP change detection to minimize the update requests, thus decreasing the risk of getting banned for abuse.
  • Filter updates on connection type (mobile, wifi)
  • automatic startup on boot
Besides the dynamic DNS update features, there is also an FTP server built in so you can take advantage of your fixed domain name to access your mobile's SD card inside your wifi network or remotely. FTP features include:

  • restrict access through username/password
  • restrict access to some folder inside the sdcard.
To take full advantage of having a DNS service, you also get an HTTP server:
  • restrict acess to username/password
  • make any folder on your SD card as your home directory

 Using X-IP:
When using wifi connection you need to be aware that the IP being updated is the public IP, this means that while you phone has a local IP like 192.168.x.x the public IP is the one assigned to your router from your Internet Service Provider, thus you will be updating your router's IP and not the one in your android.

1- Setup accounts


X-IP supports multiple hosts/services so you need to input your account information and the hosts information.
To create a new account:
On the main screen press options and select Accounts and then press create new account:
  • enabled lets you disable all hosts under this account so you can group your hosts and disable them all at once
  • service provider allows you to select one of the preset services (currently No-IP and DynDNS but this list should grow on the short term)
  • custom url is available when you select a custom service provider. This provider must have an API similar to DynDNS, this means it should respond to a GET request with one of the codes listed in DynDNS (good, nochg, ... ).
    Use the special codes <u>, <p> <h> to provide the information on the update target.
    <h>
    will be replaced by the hostname to be updated
    <u>
    will be replaced by the your account user name (usually not required as X-IP will use a basic authentication scheme in the HTTP request)
    <p>
    will be replaced by the your account password (usually not required as X-IP will use a basic authentication scheme in the HTTP request)
    Example:
    No-IP uses an update url in the format http://username:password@dynupdate.no-ip.com/nic/update? hostname=mytest.testdomain.com This would become http://<u>:<p>@dynupdate.no-ip.com/nic/update?hostname=<h> and in this case, username and password can be omitted (their are sent using a basic authentication scheme) leaving the custom url in the format http://dynupdate.no-ip.com/nic/update?hostname=<h>
press OK and if the data is correct your account is ready.

2- Setup hosts

Once your accounts are setup you can add hosts associated to those accounts, to do so press options on the main screen and then add host

  • account lets you select one of the previously setup accounts
  • enabled lets you activate or deactivate dynamic DNS updates on this host
  • hostname is the hostname you want associated with the public IP
  • use mobile allows updates to be performed while on mobile data connection
  • use wifi allows updates when you are connected through wifi
After setting up the host information press OK and you're ready to go. Your domain name will be associated as soon as you have an internet connection available.

3- FTP

The built int FTP server allows you to access the data on your android device and upload/download pictures or any files of interest. In order to edit settings server must be stopped:

  • enabled starts or stops the FTP server
  • username sets the username required to access the files on your android device when using a client like FileZilla.
  • password sets the password for the user trying to access the files
  • port is the port that the server will be listening to, android imposes this to be a number above 1024 so you cannot use default FTP port (21) instead you should use something like 2121
  • base directory sets the directory to be accessible through FTP clients. So you can limit the files served.

4-HTTP

You can upload html, css, javascript and images to your phone and have the contents rendered in a browser or any other mobile with internet access. In order to edit the settings the server must be stopped first:
  • enabled starts or stops the HTTP server
  • enable basic authentication activates the login request
  • username sets the username required to view pages on your phone
  • password sets the password for the authorized user
  • port sets the port where the HTTP server is accessible, you cannot use port 80 though, you should user something like 8080.
  • Base directory sets the directory on your SD card from where the files will be retrieved

Jan 12, 2011

X-IP :: No-IP dynamic update client for Android


Unfortunately, for reasons beyond my control, I've lost all data related to this application, including source code and digital signature. This makes it impossible to update the application that has become obsolete. I'm trying to get everything back up to continue my development plans on the android plattform and planing to release the new version at the end of this week (Feb. 5th 2012).
No new version will have more features including:
  • Multiple simultaneous host names
  • Select useful network (wifi only, mobile only or both)
  • Public IP change detection
  • Support for any service provider using protocol similar to No-IP or DynDNS
  • Built in support for No-IP and DynDNS



No-ip provides a service that allows you to access your devices (PCs, mobile phones, anything with an IP on it basically) through a human friendly name much like the websites you use.
Now it is possible to have your Android phone interfacing with No-ip therefore allowing you to access it from anywhere in the world without requiring to know current IP.


Discover more Android apps



You can download it from google market or use a QR code scanner



Usage is straight forward, create your  No-ip account and setup your host name.
 Then launch the aplication and input your data:

Then just click Enabled and let the magic happen... If everything is ok, you'll get a notification stating that X-IP is running...


Everytime an update is performed you also get notified


Once launched, X-IP will keep running in the background, you may connect and disconnect from the Internet, X-IP will detect every new connection and update immediatelly.
Also, after version 1.01 the update client will start automatically on device boot if it was enabled before power off.

 New version released. Version 1.10 allows to control notification:
- Allways ON : notifications are allways visible
- Allways OFF : notifications are allways hidden
- Automatic : Notification hides itself automatically after presenting the information.








Any comments, suggestions are most welcome please post it here...