How to take logs via ADB on windows PC ?

1.Enable USB debugging in device. 2.Connect the device to a usb port. 3.Open command prompt. 4.To get logcat use following commands: host $ adb logcat > filename.txt //stores in filename.txt in host pc 5.To get kernel message (kmsg) host $ adb shell device $ cat /proc/kmsg > filename.txt //stores kmsg in filename.txt in device. device Read more about How to take logs via ADB on windows PC ?[…]

How to create debian package for binary files?

Install the required package to the host. $sudo apt-get install dpkg-dev Then follow the steps for creating helloworld.deb file: 1.Create the directory helloworld and DEBIAN inside helloworld $mkdir helloworld && mkdir helloworld/DEBIAN 2.Copy files into the package Copy the files into the package with the full paths on the destination file system. E.g. if you Read more about How to create debian package for binary files?[…]

How to create git repository in Ubuntu ?

1.The git version control system can be installed with the this command: $sudo apt-get $install git 2.If you are using Git first time, you need to introduce yourself to git by following commands: $git config –global user.email “[email protected]” $git config –globaluser.name “Your Name” 3.To create repository you need to initiate repository at a particular folder Read more about How to create git repository in Ubuntu ?[…]

How to create Authenticated key for signing deb packages?

Install the required packages $sudo apt-get install dpkg-dev $sudo apt-get install dpkg-sig To create a GPG key pair type $gpg –gen-key Since we are only using our key for only generating digital signatures use RSA for maximum security PLEASE SELECT WHAT KIND OF KEY YOU WANT: (1) RSA and RSA (default) (2) DSA and Elgamal Read more about How to create Authenticated key for signing deb packages?[…]

ADB setup for Windows

1.Download latest adb.exe. The link is as follow: https://androidstudio.io/downloads/tools/download-the-latest-version-of-adb.exe.html 2. Extract the zip file. 3. Append the user environment variable- PATH Start Control Panel system and security system Advance system settings Environment variables User Variables Double click on PATH For windows 10 (Please ensure before you click “Browse” that no field is highlighted. If a Read more about ADB setup for Windows[…]