Friday, 29 May 2020

Sideload install custom ROM

I have TWRP on my bacon (OnePlus One).

I decided to install new custom ROM and try Carbon. I pushed the zip file to device, then rebooted to TWRP

adb reboot recovery

and decided to completely wipe the phone. I had a lot of files "orphaned" from some old apps and wanted to get rid of all of them.

Then I realized, that the zip image was also deleted. And in bootloader, adb push does not work. So, what did I do?

1. In TWRP I went to: Advanced > ADB Sideload > Swipe to Start Sideload
Now, if I type

adb devices

I get my device in sideload mode.

2. Typed:

adb sideload .\CARBON-CR-7.0-OPAL-RELEASE-bacon-20200526-1945.zip

and the ROM was installed. Then I installed GApps the same way.

Friday, 15 May 2020

(Re)Install TWRP

Example using OnePlus One (codename: bacon).
  1. Download platform tools: https://dl.google.com/android/repository/platform-tools_r29.0.5-windows.zip.
    • unzip
  2. Download TWRP: https://dl.twrp.me/bacon/
  3. Reboot device to fastboot (Vol-Up + Power)
  4. Open CMD as Admin, go to platform-tools
  5. fastboot flash recovery twrp-3.3.1-0-bacon.img
  6. fastboot boot twrp-3.3.1-0-bacon.img

Device will open TWRP.