2

Let's say I place a rom in /sdcard/. Can I install in the ADB shell through TWRP. For instance, if I

  • Start up in recovery of TWRP
  • Type in on the host adb shell

Is there anyway to install /sdcard/rom.zip

3
  • What's the deal? Is TWRP unusable normally from touchscreen? Commented May 26, 2018 at 6:41
  • No, I can use it. I just want a log and I want to see what's running that process so I can potentially get a log. TWRP doesn't tell me much and it's apparently not working. (or the roms just don't boot at all) Commented May 26, 2018 at 15:25
  • I don't think that'd give you details - look into recovery.log and probably dmesg. Also, just a hunch, but you might want to try an older version of TWRP, e.g. 3.0.2. I just remembered that I had problems in the past on another Samsung tablet with the latest available there. Commented May 26, 2018 at 16:30

1 Answer 1

5

The TWRP provides a command line utility called twrp and the official site has a guide to twrp's subcommands of which the command needed is simply install

install FILENAME : install FILENAME zip file. 

Usage: under adb shell environment, run

twrp install /path/to/rom.zip 
3
  • Doesn't work for me, complains about Zip signature verification failed! any idea? Commented Aug 17, 2019 at 14:31
  • @JPT Irrelevant - check the zip itself. Commented Aug 18, 2019 at 1:49
  • twrp command is not exists for me. Commented Aug 20, 2021 at 1:51

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.