launch cmd in the folder of adb tools
mine is at C:\Users\SamDellE7440\adb-fastboot\platform-tools
(because i set the environment variable path)
then follow this https://forum.xda-developers.com/pixel-2-xl/how-to/guide-how-to-
install-google-software-t3760535
adb reboot bootloader
****************
Run deuces script to update or invoke the flash-all.bat I use for pixel 3
fastboot boot twrp-3.3.0-0-taimen.img
install magisk – (kernel first)
adb push Sultan-kernel-wahoo_20190806.zip /tmp
adb shell twrp install /tmp/Sultan-kernel-wahoo_20190806.zip
adb push Magisk-v20.0.zip /tmp
adb shell twrp install /tmp/Magisk-v20.0.zip
then reboot to system from TWRP
****************
another way to quickly install with push and shell install is to boot into TWRP and
then under advanced enable adb sideload. That will instantly push and install zips.
eg, adb sideload xx.zip
****************
To push files to SD cards
adb push filename.extension /sdcard/
****************
In Fastboot mode, connect the tablet to your PC via USB, then run the command
"fastboot oem off-mode-charge 0". That'll disable "off-mode charging" and therefore
make the tablet boot Android when it receives USB power. To reverse it, just use
"fastboot oem off-mode-charge 1".
To leave Fastboot mode, use "fastboot reboot"
to reboot into recovery : adb reboot recovery
****************
Pixel 3 custom flash-all (also for pixel 2XL- Sam)
rename the files from the extracted Factory Images
Chenge echo OFF to ON and REMOVE -w from the flash-all.bat
@ECHO ON
adb reboot bootloader
timeout /t 5
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot update image.zip
pause
****************
Upgarding and dirty flashing over existing HavocOS-
In twrp, flash vendor*, then Rom, then twrp installer zip.
Reboot recovery.
Flash vendor again, then magisk.
Reboot system.
*vendor image is linked on first page.
****************
adb shell pm list packages -f > D:\1.txt
adb shell
pm list packages -e | grep packagenameguess
pm disable-user --user 0 packagename
list all disabled packages:
pm list packages -d