Mar 152020
 

So I decided to upgrade my old Galaxy pad, originally running Android 4.4 which is now well dated. Thanks to both XDA forum and some youtube videos after few hours of fiddling I managed to get it done.

What caught me at first was Heimdall flash tool unable to establish connection with tablet. It turned out it was Developer Mode – USB debugging being disabled, which also affects hardware in download mode. Yeah, that was good 2h of head scratching.

So, my steps to get it done:

0) Download ROM archive and following zip packages to SD card on your pad. Links are just a copy from Android Doctor’s Youtube video description, I just noted them here for your convenience:

  • open_gapps https://opengapps.org/ (arm, 7.1, pico)
  • Magisk https://drive.google.com/file/d/1VNuuEixJU0fdlzJLkSh94_goruuIFu3b/view
  • battery fix https://drive.google.com/file/d/1DTVlLdl6di5CncnxJPN4xV5gQLFKlcPJ/view
  • Android 7.1.2 ViperOS for Galaxy tab E ROM https://drive.google.com/file/d/1lruJ7LW07lvyUsCO8_bT5ObCsnMmj3oZ/view

1) make sure to turn on USB debugging mode on your running Galaxy Pad

2) Turn off your Galaxy Pad. Then switch it into a Download mode by pressing Home + Volume Down + Power buttons. Then Volume up to continue

3) Install Heimdall flash tool on your Ubuntu workstation “sudo apt install heimdall-flash heimdall-flash-frontend -y”

4) Download TWRP for T560 from https://androidfilehost.com/?fid=24499762635999219

5) Unpack TWRP archive, we are after recovery.img, navigate in terminal to this directory

6) Plug in your Galaxy Pad in Download mode to your Ubuntu workstation and then run:
heimdall flash –RECOVERY recovery.img –no-reboot

7) from this moment on you can carry on with zip installs using TWRP as per instructions in excellent walk-through by Android Doctor
linked below.

8) Reboot. Done.

My old Galaxy pad got a new life, Android 7.1 means I can get newer apps installed on it. It works pretty well. Great job Venom team.

Please note this post is not meant to steal credit from original creators of rooting guides, it’s more of a help to Linux users who won’t have access to Odin (windows flash tool). As you see same thing can be achieved with Heidemall which is a part of Ubuntu distro.

Source:

https://forum.xda-developers.com/galaxy-tab-e/development/port-rom-7-1-2t-560-viperos-galaxy-tab-t4030325

and Android Doctor video:

Jun 162017
 

Been searching for a tool to streamline ZFS replication between my storage arrays and I think I found it – it’s called syncoid.

Installation

# ubuntu
apt install pv lzop mbuffer libconfig-inifiles-perl git -y
# centos
yum install pv lzop mbuffer perl-Config-IniFiles.noarch git -y


cd /usr/src/
git clone https://github.com/jimsalterjrs/sanoid.git
cp sanoid/syncoid /usr/local/sbin/

Now setup SSH keys for passwordless root login and create cronjob to fire up /usr/local/sbin/replication-syncoid.sh once a day/week/whenever suits you.

0 0 * * 1   /usr/local/sbin/replication-syncoid.sh|logger

Where /usr/local/sbin/replication-syncoid.sh is

#!/bin/bash
FILESYSTEMS="apps home service vmfs"
LOG=/var/log/syncoid.log
for i in $FILESYSTEMS; do 
echo "---------------  `date` - syncing $i -------------" >> $LOG 2>&1 
/usr/local/sbin/syncoid -r [email protected]:tank/$i cistern/$i >> $LOG 2>&1
echo "---------------  `date` - done $i -------------" >> $LOG 2>&1
done

 

No matching ciphers

You may get a message:

"no matching cipher found: client [email protected],arcfour server aes256-ctr,aes192-ctr,aes128-ctr,arcfour256,arcfour128" 

most likely when you run Centos 6 on target host. You need to check for available ciphers on target host and modify syncoid script accordingly.

# ssh -Q cipher [email protected]| paste -d , -s
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,arcfour128,arcfour256,aes128-cbc,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]

and paste output from above on line 39 of /usr/local/sbin/replication-syncoid.sh

$sshcipher = '-c 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,arcfour128,arcfour256,aes128-cbc,aes192-cbc,aes256-cbc,[email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected] ';

 

Now your sync will run OK.

 

Summary

It gets the job done nicely and saves me from writing my own bash-perl-voodoo-black-magic-fuckery.

Thanks Jim.