How to use TWRP WITH OUT INSTALL IT! - Xiaomi Mi 8 Lite Guides, News, & Discussion

Hi!
THere is a way to use TWRP WITH OUT the NEED OF INSTALL IT!
Copy the TWRP image to ADB folder as if you gonna install it, suposing that TWRP is recovery.img file, on command type this:
Code:
fastboot boot recovery.img
It will boot on TWRP with OUT the need of installing it and you dont Will loose the stock recovery!
Im using it like this!
You can creat a .bat file (Windows) like this:
Code:
@echo off
fastboot boot recovery.img
pause
like this only need a double click!

Related

[Q] Noob Flashing Venom ??

Hi can anyone help me pls and tell me how exactly and what exactly does: Extract boot.img from ROM zip and flash it using ‘fastboot flash boot boot.img’.
Use 'fastboot erase cache' to avoid boot issues.
I mean what do i have to do I know that these are commands in cmd but what do I have to have on my computer .I`m sorry if this question is answered somewhere but i looked for it for 2 hours and did not find it.
Thx in advance for your help
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
vin4yak said:
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
Click to expand...
Click to collapse
And what do I have to have in the fastboot folder apart from the zip and the boot.img?Thx for the previous answer
Saw it thx
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
vin4yak said:
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
Click to expand...
Click to collapse
Thx alot for ur help.One more question though,If i want to flash another kernel how do I do it?
and sorry for beeing ssuch a noob
You flash the boot.img from the downloaded kernel.zip and then install the .zip file in the recovery like a rom. Wipe the dalvik cache and the cache from the partition (all in the recovery) and reboot
In the case of Venom.. you don't need to repack the kernel...
so...
1. Flash the boot.img (of the kernel)
2. Go into recovery and delete cache/dalvic
3. flash the modules.zip file in recovery...
4. Reboot

[Q] Flashing recoveries with access to only bootloader?

Is there a way to flash a recovery with access to only the bootloader/fastboot?
fokum8 said:
Is there a way to flash a recovery with access to only the bootloader/fastboot?
Click to expand...
Click to collapse
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
alresave said:
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Remember the img must be in the directory with the fastboot.exe and that the correct drivers are installed for it to work. Also it may not be called recovery.img so use the name of the file depending on what it was, then you can use fastboot reboot to reboot afterwards.
Fastboot boot recovery.img is a temp recovery flash I think?

TWRP Bootloop on Pixel C w/ Oreo v8.1 - RESOLVED (10/31/2018)

Is your Pixel C stuck in a never-ending bootloop after flashing TWRP? Meaning, you're in TWRP, you choose Reboot ===> System and instead of booting into Android, it just keeps booting back into TWRP?
Please reference the following thread/post:
https://forum.xda-developers.com/showpost.php?p=78028560&postcount=27
Hope this helps someone.
BJ
I am very beginner in these tweakings. Incidently I have also asked a question with similar problem. With my Google Pixel C only booting into twrp. I think I need to install stock rom/ factory image from https://developers.google.com/android/images according to method provided there. Is it okay to flasing "flash-all.bat" with twrp already installed? Because now my concern is avoiding a 'hard bricked' device.
I ended my boot looping by installing stock rom (ryu-opm8.190605.005-factory-25b457f3) downloaded from google website. For me flash-all.bat or flash-all.sh were not working and throwing multiple kind of errors. I did two things. First I used this guide from xda to set PATH variable "How to Use ADB or Fastboot From Any Directory on your Windows/Linux PC". Then I copied the .zip ROM file into "platform-tools" folder. Importantly I also extracted the .zip file within the .zip to same platform-tool folder. I manually installed each .img file one by one:
sudo fastboot flash bootloader bootloader_dragon-google-smug.img
sudo fastboot reboot bootloder
sudo fastboot devices
sudo fastboot flash boot boot.img
sudo fastboot flash cache cache.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img
sudo fastboot flash vendor vendor.img
System now working fine with stock ROM and recovery.

ADB FASTBOOT commands to flash boot.img, recovery.img and recovery1.img

Could someone please help me with the proper commands to flash these 3 files in Fastboot mode with ADB
ADB FASTBOOT commands to flash
boot.img
recovery.img
recovery2.img
https://openkirin.net/user_guide/how-to-flash-extracted-partition-images/
MadGoogler78 said:
Could someone please help me with the proper commands to flash these 3 files in Fastboot mode with ADB
ADB FASTBOOT commands to flash
boot.img
recovery.img
recovery2.img
Click to expand...
Click to collapse
This must be nougat.
Let's say the images are in same folder you are running the cmd window from. If they are not then you need to adjust the command to include the full path to them.
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash recovery2 recovery2.img
Now of you are getting error messages , like , partition length over, or , partition does not exist, then you must not have nougat rom on device.
In that case you will need different commands, and different files. Lol

Pixel C struck at TWRP and cannot boot to system.

I wanted to root my Google Pixel C. So as a first step I tried to installed twrp3.4.0-0 using the commands like fastboot flash recovery TWRP.img etc as described in many webpages. My pixel C restarted in twrp. When Reboot>System, i get message "Bootloader is unlocked and OS verification is OFF. Device will continue booting in 30 secs ", then a Beep sound then Google logo for few seconds and then again twrp. Fastboot reboot command again bring my Pixel C to twrp. I think it has softbricked and I don't want to lose it . Can someone kindly help what I do to restore it with stock or install custom rom and root it. My ultimate goal is to run Linux on Pixel C. I was using Windows 10 before but now I am using Linux usb. Thanks
I ended my boot looping by installing stock rom (ryu-opm8.190605.005-factory-25b457f3) downloaded from google website. For me flash-all.bat or flash-all.sh were not working and throwing multiple kind of errors. I did two things. First I used this guide from xda to set PATH variable "How to Use ADB or Fastboot From Any Directory on your Windows/Linux PC". Then I copied the .zip ROM file into "platform-tools" folder. Importantly I also extracted the .zip file within the .zip to same platform-tool folder. I manually installed each .img file one by one:
sudo fastboot flash bootloader bootloader_dragon-google-smug.img
sudo fastboot reboot bootloder
sudo fastboot devices
sudo fastboot flash boot boot.img
sudo fastboot flash cache cache.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img
sudo fastboot flash vendor vendor.img
System now working fine with stock ROM and recovery.
On 1st screen of TWRP, do not swipe to modify system partition, choose the leftmost option to skip that step.
It still allows you to flash zips like Magisk, but system partition remains intact and bootable.
satelliteseeker said:
On 1st screen of TWRP, do not swipe to modify system partition, choose the leftmost option to skip that step.
It still allows you to flash zips like Magisk, but system partition remains intact and bootable.
Click to expand...
Click to collapse
If only I had see this before I installed TWRP

Categories

Resources