Home Knowledge Contact

Decentralized Web project

dWeb bridge program: Tutorial on installing and running

Android release - bridge

Decentralized web bridge program is installed on an android device - phone or a tablet

Requires connecting to a computer - through usb

Please complete the following steps -


->>>Step1 - enable your android device to be able to connect to your computer system / Enable developer options and USB debugging
https://developer.android.com/studio/debug/dev-options
--------------------------------
Enable developer options and USB debugging
Tap the Build Number option 7 times. in -
- Settings > About Phone > Build Number
- or, Settings > System > Advanced > About Phone > Build Number

Enable USB debugging
so your Android device can communicate with your development machine through Android Debug Bridge (adb).
--------------------------------


->>>Step2 - set up your computer system to detect your android device and connect both with usb cable
Download 'adb' program which is used to connect to android device, choose one of the following files based on the operating system -
windows, linux, or mac os/darwin. Unpack the zip file and find within all the files the needed 'adb' file.
https://dl.google.com/android/repository/platform-tools-latest-windows.zip platform tools Windows
https://dl.google.com/android/repository/platform-tools-latest-linux.zip platform tools Linux
https://dl.google.com/android/repository/platform-tools-latest-darwin.zip platform tools Mac OS
--------------------------------
macOS: No additional configuration required.

Ubuntu Linux: There are two things that need to be set up correctly: each user that wants to use adb needs to be in the plugdev group, and the system needs to have udev rules installed that cover the device.

Windows: need to Install a USB driver to connect to android device
https://developer.android.com/studio/run/oem-usb
--------------------------------
Troubleshooting: If the android device is not detected as an USB device by the computer please change the USB cable.
https://developer.android.com/studio/run/device#developer-device-options run a program on android device


->>>Step3a - loading of the bridge program when using Mac OS or Linux computer

open 'terminal' program, go to the folder where the android bridge files are and make the scripts executable:
$ chmod 777 load-mac-linux.sh
$ chmod 777 start-mac-linux.sh

connect to android device and load the bridge program:
$ ./load-mac-linux.sh
it is needed only 1 time, when loading for the first time or updating to a new version

to start the bridge program do:
$ ./start-mac-linux.sh
starting is required every time the android phone/tablet is rebooted or powered of and then on


->>>Step3b - loading of the bridge program when using windows computer

open 'command prompt' program, go to the folder where the android bridge files are

connect to android device and load the bridge program:
> load-win.bat
it is needed only 1 time, when loading for the first time or updating to a new version

to start the bridge program do:
> start-win.bat
starting is required every time the android phone/tablet is rebooted or powered off and then on


Raspberry Pi 3 release - bridge

The Decentralized web bridge software for Raspberry Pi 3 contains a Linux image and initialization programs for 3 platforms - Windows, Mac OS X, and Linux.

The initialization program copies the image on a SD card which is placed then in Raspberry Pi 3.

Select one of the init programs and copy it in the folder where the image file is.
Start 'terminal' program (on Mac,Linux) or a 'command prompt' program (Windows)
and start the init program -
brdg-init

follow the prompts to select the drive to restore the image to

!!!! please be very careful of overwriting other then the intended SD device !!!

After restoring the image you need to provide the name of the wifi network and the password/psk. These 2 items are used for connecting for the first time of a pi3 with a newly written image.

Usually the wifi name and passowrd are of the user's home where they have access and control of the internet router.

After finishing of the init program, place the SD card in the Pi3 , and power on the Pi3 device.

   Support our project - become our patron on Patreon:   Patreon - Decentralized Web

Back