Jump to content
Sign in to follow this  
buzzkillb

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?

denariusd.thumb.jpg.075d532172d7a7e1e122b30bbcdebaef.jpg

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
./config
make depend
make
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
make

 


Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...