LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-04-2023, 05:27 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
zcat or xzcat alternative to USB pendrive on Android OS?


Hello

Do you know maybe a zcat or xzcat alternative to USB pendrive on Android OS?

kind regards
 
Old 05-06-2023, 10:17 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
To put a binary image on a usb or sdcard? I always found it faster to
  1. Untar/Unzip/Whatever the compressed archive.
  2. Run:"dd if=/path/to/binary.img of=/dev/whichever bs=1M status=progress"
The status option is good for preventing you thinking it's gone out to lunch and switching off. It usually appears to hang at the end but it's syncing.
 
Old 05-14-2023, 11:54 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by business_kid View Post
To put a binary image on a usb or sdcard? I always found it faster to
  1. Untar/Unzip/Whatever the compressed archive.
  2. Run:"dd if=/path/to/binary.img of=/dev/whichever bs=1M status=progress"
The status option is good for preventing you thinking it's gone out to lunch and switching off. It usually appears to hang at the end but it's syncing.
there is no console in a Android OS Phone (Samsung S9)
 
Old 05-15-2023, 06:42 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Huh?

There's no zcat or xzcat either, for that matter, which are console applications. I presumed you were going to write this in a pc.
 
Old 05-15-2023, 07:21 AM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by business_kid View Post
Huh?

There's no zcat or xzcat either, for that matter, which are console applications. I presumed you were going to write this in a pc.
zcat or xzcat could maybe be found with linux terminal for Android OS, but it needs to be rooted likely.
 
Old 05-16-2023, 08:16 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
That's what I thought. But I've tried those all-in-one unarchivers && writers and they seem the slowest way to do things. Perhaps a memory issue? Anyhow you lose speed on the 'cat' or dd part
 
Old 05-17-2023, 03:27 AM   #7
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by business_kid View Post
That's what I thought. But I've tried those all-in-one unarchivers && writers and they seem the slowest way to do things. Perhaps a memory issue? Anyhow you lose speed on the 'cat' or dd part
the spatakus terminal Linux is available as APK... it allows to play around if it is rooted.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] zcat command created link in home directory EDDY1 Linux - Newbie 3 04-24-2011 05:37 AM
Debian: zcat boot.img.gz to thumbdrive leaves only ~230 free megs Changes Linux - Newbie 3 10-17-2009 02:31 AM
Compression with zcat and cpio hal8000b Linux - General 1 01-01-2009 05:00 AM
Diffrernce between cat and zcat ZAMO Linux - General 5 06-27-2007 09:31 PM
Zcat broken? keysorsoze Solaris / OpenSolaris 3 03-28-2007 01:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration