Jump to content

Wallet on Android Phone no Root (just because)


Recommended Posts

Basic guide on how to setup your android phone (example is using latest Android on Pixel3a) to run the daemon and/or QT wallets. There may or may not be reasons to attempt this, but why not?


Install termux and hackers keyboard from play store

from here to install ubuntu in termux - https://github.com/MFDGaming/ubuntu-in-termux

Update termux: apt-get update && apt-get upgrade -y
Install wget: apt-get install wget -y
Install proot: apt-get install proot -y
Install git: apt-get install git -y
Go to HOME folder: cd ~
Download script: git clone https://github.com/MFDGaming/ubuntu-in-termux.git
Go to script folder: cd ubuntu-in-termux
Give execution permission: chmod +x ubuntu.sh
Run script: ./ubuntu.sh
Fix resolv.conf: cp ~/ubuntu-in-termux/resolv.conf ~/ubuntu-in-termux/ubuntu-fs/etc/
Now just start ubuntu: ./start.sh
apt-get update -y
apt-get upgrade -y
apt-get install git wget -y
apt-get -y install git unzip build-essential libssl-dev libdb++-dev
apt-get -y install libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev autogen automake libtool zlib1g-dev

Compile openssl

apt-get install make
wget https://www.openssl.org/source/openssl-1.0.1j.tar.gz
tar -xzvf openssl-1.0.1j.tar.gz
cd openssl-1.0.1j
make depend
make install
ln -sf /usr/local/ssl/bin/openssl `which openssl`
cd ~
openssl version -v
apt get install jq zlib1g-dev
git clone https://github.com/carsenk/denarius
cd denarius
git checkout v3.4
git pull
cd src

Edit makefile.arm

nano makefile.arm

change this line to add boost_chrono at end and save makefile.arm

LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH)) -lboost_chrono

then run to compile

OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib make -f makefile.arm
strip denariusd
cp ~/denarius/src/denariusd /usr/local/bin/denariusd

QT (work in progress)

apt-get -y install git unzip build-essential libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev autogen automake libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default zlib1g-dev
cd ~/denarius
export QT_SELECT=qt5
qmake -v
qmake "USE_NATIVETOR=-" "USE_UPNP=1" "USE_QRCODE=1" LIBS=-lboost_chrono OPENSSL_INCLUDE_PATH=/usr/local/ssl/include OPENSSL_LIB_PATH=/usr/local/ssl/lib denarius-qt.pro


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...