/fork_QCSuperLXD

This repo contain an container image to view 2g/3g/4g packet with mobile phone

Primary LanguageShell

QCSuperLXD

This repo contain an lxd container image (amd64) to view 2g/3g/4g packet with mobile phone

PRE-INSTALLATION

On debian, install :

sudo apt install lxd
lxd init

User need to be in group lxd :

sudo usermod -a G lxd $USER

or

sudo /usr/sbin/usermod lxd $USER

$PATH need to contains /usr/local/bin, verify with :

echo $PATH

if not, setup this, or add this in your .bashrc or .zshrc or ...

export PATH=$PATH:/usr/local/bin

SETUP

cd
mkdir tempdir
cd tempdir

Download this image and copy it to ~/tempdir that we create,

git clone --depth 1 https://github.com/henintsoa98/QCSuperLXD
cd QCSuperLXD
chmod +x lxd-device lxd-image
sudo cp lxd-device lxd-image /usr/local/bin
cd ..
lxd-image import QCSuper 885cab44d2a87c24e6bacb746dfd89b317839bc9398fa62e266aeb565913affe.tar.gz
# exit if it enter into the container, to finish setup
# plug your rooted device and enable adb debugging
lxd-device add QCSuper newADB
# select an number that is your device in the list

RUN

just type :

lxc exec QCSuper -- run