joschi70 / androidpiratebox Goto Github PK
View Code? Open in Web Editor NEWAndroid version of PirateBox
License: MIT License
Android version of PirateBox
License: MIT License
Just a possible suggestion.
This [https://github.com/iPaulPro/aFileChooser] could be added in the settings so that users can easily pick a directory to save uploaded files instead of typing it manually. :)
I like the app btw 👍
start > use > stop and close app, after minutes i can't use my network. Deinstall resolve the problem. Test three times.
The piratebox access point is visible, I can connect the wifi on it but no DHCP offer is received from the android device.
One thing is when turning on the piratebox in the app I get an error like I sometimes get when the device is unresponsive (io wait I guess), and when I try wait it seems to carry on normally.
Launching the piratebox through the widget seems to go in a loop of on/off/on/off
Is there a way to get a debug log somewhere ?
It would be handy to have this app distributed through F-Droid. Do you think that would be feasible?
corrections for i18n_fr.properties files
#Stored by I18NEdit, may be edited!
about.license=PirateBox est sous licence GPLv3.
about.message=Inspiré par les radios pirates et le mouvement de la culture libre, PirateBox est un système mobile autonome de collaboration et de partage de fichiers. PirateBox utilise des logiciels gratuits afin de créer des réseaux sans fil portable de partage de fichiers, où les utilisateurs peuvent partager anonymement images, vidéo, audio, documents et d'autres contenus numériques.</p>\n<p>PirateBox est conçu pour être sûr et sécurisé. Aucune connexion n’est nécessaire et aucune donnée d’utilisateur n’est enregistrée. Volontairement le système n’est pas connecté à Internet, dans le but d’empêcher le suivi des utilisateurs et de préserver leur vie privée.
about.title=À propos de PirateBox
button.send=Envoyer
button.thanks=Merci
chat.anonymous=Anonyme
chat.color.blue=Bleu
chat.color.default=Défaut
chat.color.green=Vert
chat.color.orange=Orange
chat.color.red=Rouge
chat.color.title=Couleur du texte \:
chat.initial_message=Discutez et partagez des fichiers anonymement \!
chat.initial_user=PirateBox
chat.placeholder=Message…
chat.reading=Lisent
chat.title=Chat
files.directory=Répertoire
files.parent_directory=Répertoire parent
menu.about=À propos
menu.files=Fichiers
menu.forum=Chat
menu.home=Accueil
page.title=PirateBox - Partagez librement \!
stats.top_downloads.no_downloads=Rien n’a encore été téléchargé.<br/>Pourquoi ne pas télécharger quelque chose ? Que la fête commence !
stats.top_downloads.title=Téléchargements les plus fréquents
stats.visitors,no_visitors=Pas encore de visiteurs
stats.visitors.title=Les visiteurs
stats.visitors.todays_visitors=Les visiteurs d’aujourd’hui
upload.browse_files=Parcourir les fichiers ->
upload.fail=Échec du téléchargement \!
upload.max_size=Taille maximale du téléchargement \:
upload.no_iframe=Votre navigateur ne vous permet pas utiliser les iframes. Si vous voulez télécharger quelque chose, suivez ce <a href\='http\://pirate.box/fup.xhtml'>lien</a>.
upload.send_another_file=Envoyer un autre fichier
upload.success=Fichier reçu \!
upload.title=Télécharger
welcome.message=Pas de panique, tout ceci est parfaitement légal ! Il s'agit d'un lieu social où vous pouvez discuter et partager des fichiers avec des personnes autour de vous, <strong>de façon anonyme</strong>\! Ceci est un réseau hors ligne, spécialement conçu et développé pour le partage de fichiers et les services de chat. Rester hors du réseau est une précaution pour maintenir votre anonymat total. Le but est de se faire plaisir, de discuter avec des gens: n’hésitez pas à partager tous les fichiers que vous aimez.
welcome.title=Bienvenue
On some devices the following error message might occur even if the device is rooted:
Unsupported device!
-- Backup for "dnsmasq" could not be created
It is currently unclear why this message occurs. Please try the following workaround if you are facing this problem.
Workaround
Open adb shell or terminal emulator app :
$ su
# cd /system/bin
# mount -o rw,remount /system
# cp -pr dnsmasq dnsmasq.pb.backup
# mount -o ro,remount /system
Now check with the following command if the copying worked ok:
# ls -l /system/bin/dnsmasq*
The output should look something like this:
-rwxr-xr-x root shell 105864 2013-07-30 05:55 dnsmasq
-rwxr-xr-x root shell 105864 2013-07-30 05:55 dnsmasq.pb.backup
On next start of the PirateBox app the error should no longer appear.
Workaround Note
If you get the error message
Usage: mount [-r] [-w] [-o options] [-t type] device directory
you can try the following:
# mount | grep /system
/dev/block/platform/omap/omap_hsmmc.0/by-name/system /system ext4 ro,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
The first part of the output is the device name, which is device specific.
Now you can try to call mount with that device:
# mount -o rw,remount /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system
Hello !
I have a Sony Xperia U, on Android 4.0.4 Rooted. But i have a errror :
"Command "iptables" not found"
You have a idea to fix ?
Regards
EDIT : Must install the app : com.mgranja.iptables
Hello dears!
What is https://github.com/joschi70/AndroidPirateBox/blob/master/libs/paw-server.jar? Where does it come from? What does it do?
I'm very sad because a lot of people don't use and don't want to improve this app because this non-free library, that makes AndroidPirateBox "non-free"... Conversely the other your libraries and all the rest of your source code is free...
I think that a lot of people thinks that it's dangerous to grant root permissions to an application that does not allow to see what it does with its permissions...
App starts, I press 'on' but won't continue past "setting up networking, please wait".
I installed V0.4.8 on two different Atrix 4G's. The hotspot and landing page both work, but when you attempt to upload a file, it will display an "upload failed" message. Also, when trying to post a message, the message text disappears as if it were uploaded normally, but nothing actually gets displayed in the chat area.
When I start the application, a red message say to me " Unsupported device - command dnsmasq not found"
I think that is the version of android ( 5.0 ) who is the issue, because when I have android 4.4, the app work. I have a nexus 5.
Sorry for my bad english
So here is my issue, I start the app. And start the box. But it gets stuck on "setting up networking" and doesn't start the AP, and I manually have to start it.
Pirate box just keeps going on and off. Only way to stop it is to reboot the device.
Sorry me, but I have to say that PirateBoxScripts are copyrighted by Matthias Strubel and released under the terms of the GNU General Public License, so I think that AndroidPirateBox can't legally be released undergrading that license to the MIT license (X11 license)...
The hotspot is activated but with it's preconfigured settings, not with the settings set in the PirateBox App istself. So connection to the PirateBox server is not possible.
The PirateBox server itself is running fine, as can be checked by using an on-device browser to connect to 192.168.43.1.
Tested on HTC Desire with 2.3.3 stock ROM
Not sure if issue or work in progress.
Using latest source, updating line 141 from content.zip/conf/handler.xml
<param name="filehandler.class" value="org.paw.handler.PirateBoxFileHandler" />
to
<param name="filehandler.class" value="de.fun2code.android.piratebox.handler.PirateBoxFileHandler" />
will result in every page giving me a file not found.
All urls are still hijacked and pointing to pirate.box, but file not found.
I went back to 0.4.8 which is working for me.
The sentence
"Inspired by pirate radio and the free culture movment"
should be:
"Inspired by pirate radio and the free culture movement".
This piratebox allows uploading only one file at the time. The current version of piratebox allows you to upload several files at the same time. Can this be updated?
Is PAW open source?
If you set the maximum upload size to greater than 231-1, the app crashes. I think its just best to make it a long (~9 million TB) rather than limit it to 2 GB.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.