PirateBox on Android

Posted by joschi70 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
PirateBox on Android
October 23, 2013 05:49PM
Hi,

I just finished an early version of a stand-alone Android PirateBox app.
A rooted device is required.

Here is the blog post:
http://fun2code-blog.blogspot.de/2013/10/piratebox-reloaded.html

With this new version the PAW plugin is not longer needed.
Setup now should be much easier.

Comments are welcome, hope the app doesn't have too many bugs winking smiley

Bye
Jochen
Re: PirateBox on Android
October 26, 2013 05:35PM
It look great !
But failed for me..
Tested on a Nexus 3, with a CyanogenMod 4.3.1

The app look great, but crash every time, so I don't have the time to connect to it with another device.

(tested 0,2)
Re: PirateBox on Android
October 26, 2013 11:12PM
Thanks for testing!
A crash should not happen. Could you please send me the LogCat output after a crash occurred.
Maybe there is something in that log. Please mail the log to: jochen [at] fun2code.de
Re: PirateBox on Android
November 13, 2013 06:59AM
"On" flashes, "piratebox is not running" the AP icon flashes every 5 seconds or so. After some minutes it will turn on, show SSID and I can connect to it, but it will not redirect me to the home page.

S3 mini 4.1.2
Re: PirateBox on Android
November 14, 2013 06:53AM
Thanks for testing!
Could you please fill out the questionnaire at the bottom of the blog post.
I'm currently collecting data ... thanks
Re: PirateBox on Android
November 18, 2013 11:41AM
Installed it on my Motorola Xoom running a Team EOS rom and it runs like a charm! Great work!
Re: PirateBox on Android
November 21, 2013 08:34AM
I don't have the time to connect to it with another device.

Passguide passguide
Brain dumps i brain dumps
LSAThttp://www.pass4sure.com/LSAT-index.html
ASVAB http://www.pass4sure.com/ASVAB-index.html
CISSP http://www.pass4sure.com/CISSP-exam.html
Re: PirateBox on Android
January 13, 2014 09:08AM
"On" flashes, "piratebox is not running" the AP icon flashes every 5 seconds or so. After some minutes it will turn on, show SSID and I can connect to it, but it will not redirect me to the home page.
Re: PirateBox on Android
January 15, 2014 07:24PM
Haven't tested yet but I was wondering where the start page is kept or if it's even editable since I'd like to try doing more with what's there, or at the very least change how things look.
Re: PirateBox on Android
January 16, 2014 02:51PM
The web content is kept inside the assets/content.zip file of the project.
On startup the app extracts the content to the /data/data/de.fun2code.android.piratebox/files/piratebox directory of the device.

The source code is available on GitHub.
Re: PirateBox on Android
January 23, 2014 10:11PM
I tried it on my device and it said it wasn't supported :/

HTC EVO 4G LTE

Thanks,
DarkRemedy
Re: PirateBox on Android
January 24, 2014 11:14AM
The following preconditions have to be met for the app to work:

    - Device has to be rooted (su command available)
    - The masqd command (/system/bin/dnsmasq) has to be available
    - The iptables command has to be available

Apart from that WiFi tethering has to be working. There are some ROMs where the WiFi tethering is broken, in this case the app will not work.
I can't test all devices, but you can fork the code on GitHub to do your own tests.
Re: PirateBox on Android
March 03, 2014 11:05PM
Works perfect on the gold old HTC Legend with Cyanogenmod 7.

Borks with all the new CM updates on my Galaxy Nexus but it was fine on CM10 I think. I don't use it on my personal device, just the load of them lying around.

I'm trying to make the thing work with my device now. I've been editing the code every now and then as a "MAKE IT F**KING WORK!" project. Tis proving rather difficult but it's progress away from work. I'll get it on github when I'm done.



PRESS PLAY ON TAPE
Re: PirateBox on Android
March 20, 2014 04:04PM
Works great but won't redirect to the menu page automatically. I can type in 192.168.1.1 and I'm good to go. Any ideas on getting redirect to work? I'm on a no-name Chinese netbook connected to a netgear router.
Re: PirateBox on Android
March 20, 2014 05:46PM
Another odd thing: if I change the ssid name at all then the piratebox gets listed as "Hidden network"
Re: PirateBox on Android
April 23, 2014 02:39PM
Datathrash, if the URL redirection don't work, try this one : [192.168.43.1] (should display the PirateBox portal).
Re: PirateBox on Android
April 23, 2014 02:55PM
joschi70, could you recommend a software to root a Android smartphone ?
Re: PirateBox on Android
May 10, 2014 10:07AM
@Comap89
Sorry for the late response ...

I've really no preference when it comes to ROMs. I've used Cyanogen in the past and was quite satisfied. It depends on your device model, you have to test which ROM works best for you. IMHO Cyanogen is a good start, you can't go wrong with that.
Currently I've rooted my Galaxy Nexus on stock ROM and it's working fine with me so far.
Re: PirateBox on Android
May 10, 2014 10:08AM
Some update regarding PirateBox development ...

Thanks to all the feedback I could reproduce the errors that did occur on Android 4.x devices. A new version 0.4.1 is available which should now also work on Android 4.x.
For testing I used a rooted Galaxy Nexus running stock Android 4.3.

The blog post can be found here: PirateBox Reloaded - Episode II

Hope it's working ... feedback is welcome smiling smiley
Re: PirateBox on Android
May 10, 2014 07:33PM
Hi,
thank you for your work!

regards Matthias
Re: PirateBox on Android
May 12, 2014 11:08AM
Oh! Thanks for the tip on displaying the portal and the update!
Re: PirateBox on Android
May 12, 2014 07:40PM
hi great stuff latest apk works on 4.4.2 smiling smiley

question - how can one customise the layout?

thanks
Re: PirateBox on Android
May 12, 2014 07:55PM
Thanks for the feedback!

There is a Content to SD option in the developers options inside the preference page.
Tick that option and on next start of the app there should be an piratebox folder on your sd card. All HTML/CSS files should be located below the html folder.
Re: PirateBox on Android
May 12, 2014 08:02PM
thanks found that option just before your replied smiling smiley
Re: PirateBox on Android
May 12, 2014 08:05PM
sorry another question how to enable own domain name instead of piratebox.org?
is that doable from the piratebox contents folder?
thanks!
Re: PirateBox on Android
May 12, 2014 08:13PM
Does it say piratebox.org? Actually it should be pirate.box.
You should be able to change that inside the file conf/handler.xml.
Watch out for the following line:
<param name="filehandler.domain" value="pirate.box" />

You can change the value and it should be active after a server restart.
Hope it's working, there might still be bugs...
Re: PirateBox on Android
May 12, 2014 09:34PM
great thanks

no you are right the dns is pirate.box, i was thinking of your previous paw server config

the dns change in handler working okay

one issue is that sometimes i need to restart piratebox reloaded 2/3 times before able to connect to AP?

thanks
Re: PirateBox on Android
May 13, 2014 03:31AM
Thanks for the info.
Didn't notice that behaviour, I'll do some testing.
Re: PirateBox on Android
May 17, 2014 04:15PM
Here is a new blog post: PirateBox Reloaded - Episode III

Looking forward to feedback, please fill out the questionnaire ... thanks smiling smiley
Re: PirateBox on Android
May 20, 2014 10:40AM
when using the chrome browser for android downloads fail at 80% or 90%. but when i use dolphin browser app / or any third party browser app for android i can completely finish downloading.


it can stream avi files smiling smiley

will do more testing.

need to buy SD card for my galaxy Y (gingerbread + rooted)



Edited 3 time(s). Last edit at 05/20/2014 01:09PM by ora600.