Install twrp on device without os? - Redmi Note 8 Questions & Answers

So I almost ****ed up trying to flash a custom rom on my redmi note 8. I had to wipe my whole system image so I had no os installed there. I did almost accidentally wipe my whole internal storage. So twrp would've been gone aswell. So I could've thrown my phone in the trash can, right? Or is there a way to get twrp on a phone with no os and nothing on it? Or maybe even flash a rom? Idk I'm kinda new to this whole topic. What can you do if your phone is completely wiped? No os, no twrp, nothing.
Edit: I just figured out that wiping the internally storage doesn't remove twrp. But still would there still be a way to save your phone with twrp removed and no os? Basically a completely blank device?

Re: @Johnny3_3
Can you boot to twrp by long pressing POWER and VOL UP?
According to your description, your bootloader has been unlocked. But maybe you can't boot with only a boot without ramdisk. Go to fastboot and flash the right fastboot ROM for your phone. Then flash, and go to TWRP using the key combo. Don't use fastboot boot command. Then do anything you want.

Yuki1001 said:
Re: @Johnny3_3
Can you boot to twrp by long pressing POWER and VOL UP?
According to your description, your bootloader has been unlocked. But maybe you can't boot with only a boot without ramdisk. Go to fastboot and flash the right fastboot ROM for your phone. Then flash, and go to TWRP using the key combo. Don't use fastboot boot command. Then do anything you want.
Click to expand...
Click to collapse
Hey, im sorry I think I didn't explain it that well. I have havoc installed already. I just wanted to know what I could have done if I had no os and no twrp installed.

Re: @Johnny3_3
Wiping Internal storage will not wipe the recovery partition.
Once you wipe system partition, you maybe can't boot with a boot that has no ramdisk.
If you have no OS and no TWRP, you can only boot into fastboot and flash images.
If you wipe system, recovery, data, internal storage, cust, you will only be able to boot into fastboot.
If you want to flash twrp on device without OS, just flash the TWRP img file through fastboot.

Johnny3_3 said:
Hey, im sorry I think I didn't explain it that well. I have havoc installed already. I just wanted to know what I could have done if I had no os and no TWRP installed.
Click to expand...
Click to collapse
Get into fastboot mode and flash/boot the recovery with Fastboot - ADB Tools.
There is also an app on github called "Xiaomi ADB Fastboot Tools" I used that to do everything on my phone.

Yuki1001 said:
Re: @Johnny3_3
Wiping Internal storage will not wipe the recovery partition.
Once you wipe system partition, you maybe can't boot with a boot that has no ramdisk.
If you have no OS and no TWRP, you can only boot into fastboot and flash images.
If you wipe system, recovery, data, internal storage, cust, you will only be able to boot into fastboot.
If you want to flash twrp on device without OS, just flash the TWRP img file through fastboot.
Click to expand...
Click to collapse
OK. And what i need to do now? I have Samsung Galaxy A6 and the same problem as @Johnny3_3, but idk how i can now use the phone without enythong in there!!! Pls help me figure out what i should to do in this situation.
~GTHX

Because i dont have the twrp and os on my phone... it just looping the logo of samsung galaxy A6 blablabla....

GTHX2021 said:
OK. And what i need to do now? I have Samsung Galaxy A6 .....
Click to expand...
Click to collapse
This topic is for XRN8.
Better is to ask in the right A6 topic, because the procedure to flash twrp is not the same

Yuki1001 said:
Re: @Johnny3_3
Wiping Internal storage will not wipe the recovery partition.
Once you wipe system partition, you maybe can't boot with a boot that has no ramdisk.
If you have no OS and no TWRP, you can only boot into fastboot and flash images.
If you wipe system, recovery, data, internal storage, cust, you will only be able to boot into fastboot.
If you want to flash twrp on device without OS, just flash the TWRP img file through fastboot.
Click to expand...
Click to collapse
Hi, I have the same problem with my OnePlus 5T. I've tried many times flashing TWRP but it doesn't boot up

Related

Problem twrp and lose space system

I had a problem with op3. I tried to update twrp3.0.4 after wipe system. In fastboot i flashed twrp but it didnt starter. Adyere some times i used fastboot boot for start twrp and flash lineage. But now i have 26gb used in system and i cant use recovery anyway. Can you help me?

[REQ]Corupted Or A Brick Plz Help!!

Hi All Thank For Reading My Post I Have A Problem With My Nexus 5x I Need Help
My Problem Is The Following:
My Phone Won't Boot To Recovery,System and Download Mod
My Phone Can Only Run 4 Core
Android O Installed
Android O Recovery 4core Installed
Android O Kerenel 4 Core Installed
My PC Sometime Detect It As Qualcomm HS-USB QDLoader 9008
This Happened To My Phone After TWRP 3.1.1 4 core Get Stuck On Installing And He Won't Turn On Again I Have Try A Factory Image But Won't Work Android M,N And O All Haven't Work
I Think TWRP Cause Corruptions Or Something Like That
If Any One Know How To Fix Tell Me Ok
Help Is A Good Action
Thanks
Sofiane omega said:
dose any one here know how to fix corrupted partition I can't boot my phone I can go to fastboot but the phone won't boot to recovery
if any one know how to do help me
Click to expand...
Click to collapse
Try flash the recovery (You can extract the recovery image from the factory system image file) from fastboot. Then sideload the factory image from recovery.
truekasun said:
Try flash the recovery (You can extract the recovery image from the factory system image file) from fastboot. Then sideload the factory image from recovery.
Click to expand...
Click to collapse
I've already try it,
My phone is a bootloop devices I have only 4core an I've already try all the 4 core recovery and kernel,
twrp cause this after getting stuck on an installation my phone turn off and after that I've try to turn it on again he begin to bootloop and get suddenly brick,
I think twrp cause corruption to my partitions .
Sofiane omega said:
I've already try it,
My phone is a bootloop devices I have only 4core an I've already try all the 4 core recovery and kernel,
twrp cause this after getting stuck on an installation my phone turn off and after that I've try to turn it on again he begin to bootloop and get suddenly brick,
I think twrp cause corruption to my partitions .
Click to expand...
Click to collapse
if you can boot into bootloader you can try to fastboot erase boot, recovery, system, vendor, userdata, cache, and try then flash the manualy one by one (not from the ota zip)if the partitions are corrupted this will delete them and when you flash them again the will be recreated note that userdata and cache partition dont exist in the factory images so you need to create them with the command fastboot -w if you need any more help feel free to ask more things
kastik4 said:
if you can boot into bootloader you can try to fastboot erase boot, recovery, system, vendor, userdata, cache, and try then flash the manualy one by one (not from the ota zip)if the partitions are corrupted this will delete them and when you flash them again the will be recreated note that userdata and cache partition dont exist in the factory images so you need to create them with the command fastboot -w if you need any more help feel free to ask more things
Click to expand...
Click to collapse
I try it and it won't work

Question Cannot flash TWRP from Fastboot, TWRP reboot shows Slot A/B, dont know what to do

Ive already flashed a few phones, but this is the first time that Ive got CMD error "FAILED (remote: (recovery_a) No such partition)". So I booted twrp.img, falshed ArrowOS and TWRP from within TWRP and it said something about Slot A and B, which I dont understand ... some guide also said to Format Data, which I did, and then I just could boot into TWRP in Slot A, and no OS on Slot B, which rebooted me into Slot A. I couldnt find any info about this and I dont know what to do. Anybody knows how to properly flash TWRP and custom ROMs please ?
Start fresh by flashing stock MIUI rom through fastboot and proceed from there
1 Boot once into MIUI and reboot into fastboot
2 fastboot boot twrp.img (from platform tools folder)
3 Flash custom rom like ArrowsOS with inject twrp option checked
4 Reboot recovery
5 Format Data by typing "yes"
6 Reboot to system
7 Done
Follow the TWRP install instructions by fastboot boot TWRP.img
advanced, install TWRP
It should then reboot and TWRP will be installed
Then proceed as above by flashing a ROM e.g ArrowOS with TWRP inject.
Then reboot TWRP and wipe data
Use "fastboot boot TWRP.img" to temporarily boot TWRP.
You can install TWRP by using "Install to Ramdisk" inside TWRP and selecting TWRP.img
Cvenda said:
Ive already flashed a few phones, but this is the first time that Ive got CMD error "FAILED (remote: (recovery_a) No such partition)". So I booted twrp.img, falshed ArrowOS and TWRP from within TWRP and it said something about Slot A and B, which I dont understand ... some guide also said to Format Data, which I did, and then I just could boot into TWRP in Slot A, and no OS on Slot B, which rebooted me into Slot A. I couldnt find any info about this and I dont know what to do. Anybody knows how to properly flash TWRP and custom ROMs please ?
Click to expand...
Click to collapse
Did you manage to fix it? I got into the same problem, I could only fix it downloading the most updated version of adb/fastboot. I don't remember where I downloaded it, but it was what solved this problem for me.
pedrowood said:
Did you manage to fix it? I got into the same problem, I could only fix it downloading the most updated version of adb/fastboot. I don't remember where I downloaded it, but it was what solved this problem for me.
Click to expand...
Click to collapse
well Iam still confused about that Slot A/B thing, but since Ive probably bricked my phone, I flashed the fastboot ROM through MiFlasher and I havent tried flashing TWRP or custom ROM since, there are some things I really like about MIUI so Iam gonna see which ROM Iam gonna choose in the future
Cvenda said:
well Iam still confused about that Slot A/B thing, but since Ive probably bricked my phone, I flashed the fastboot ROM through MiFlasher and I havent tried flashing TWRP or custom ROM since, there are some things I really like about MIUI so Iam gonna see which ROM Iam gonna choose in the future
Click to expand...
Click to collapse
Slot A and B refer to Project Treble, where there are 2 separate partitions. 1 for OEM like Samsung and other for core Android OS. That way Google can update the OS partition with security updates without having to wait for Samsung to implement those security update into their version of Android, as was the case before Galaxy S9. Needless to say, this way security updates get pushed out way faster, because there is no need to wait an entire year (I'm looking at you Samsung) for OEM to finally implement it. Hope this clears things up for you.
Milan-XDA said:
Slot A and B refer to Project Treble, where there are 2 separate partitions. 1 for OEM like Samsung and other for core Android OS. That way Google can update the OS partition with security updates without having to wait for Samsung to implement those security update into their version of Android, as was the case before Galaxy S9. Needless to say, this way security updates get pushed out way faster, because there is no need to wait an entire year (I'm looking at you Samsung) for OEM to finally implement it. Hope this clears things up for you.
Click to expand...
Click to collapse
reason for slots
Robert314 said:
Follow the TWRP install instructions by fastboot boot TWRP.img
advanced, install TWRP
It should then reboot and TWRP will be installed
Then proceed as above by flashing a ROM e.g ArrowOS with TWRP inject.
Then reboot TWRP and wipe data
Click to expand...
Click to collapse
there is a slight problem with this ... I cannot upload any file to the phone, because I have wiped Data, so there is no folder that I can access from the PC, so I can only sideload .zip files, and most of the .zip files just doesnt work for some reason, only ArrowOS, but not the PixelExtended, nor CrDroid ... I cannot even sideload TWRP.img to install it into ramdisk
EDIT: after sideloading ArrowOS and booting TWRP using "fastboot boot twrp.img", I can access internal storage, so I uploaded twrp.img into /sdcard/Download folder, installed it into ramdisk, rebooted to Recovery and now successfully flashing CrDroid ROM that I uploaded to /sdcard/Download
Cvenda said:
there is a slight problem with this ... I cannot upload any file to the phone, because I have wiped Data, so there is no folder that I can access from the PC, so I can only sideload .zip files, and most of the .zip files just doesnt work for some reason, only ArrowOS, but not the PixelExtended, nor CrDroid ... I cannot even sideload TWRP.img to install it into ramdisk
Click to expand...
Click to collapse
You can adb transfer files in TWRP. You could also use a USB stick connected via OTG cable
Robert314 said:
You can adb transfer files in TWRP. You could also use a USB stick connected via OTG cable
Click to expand...
Click to collapse
its behaving so randomly ... I often get error kInstallDeviceOpenError, even tho I successfully installed that ROM at least one time ... I dont know which slot (A/B) to use and when ... now I have ArrowOS in slot A and CrDroid ins lot B, and I cannot flash anything from booted TWRP.img ... Iam gonna try to install TWRP into ramdisk again from USB OTG
Cvenda said:
its behaving so randomly ... I often get error kInstallDeviceOpenError, even tho I successfully installed that ROM at least one time ... I dont know which slot (A/B) to use and when ... now I have ArrowOS in slot A and CrDroid ins lot B, and I cannot flash anything from booted TWRP.img ... Iam gonna try to install TWRP into ramdisk again from USB OTG
Click to expand...
Click to collapse
In order to wipe the super partition (both A/B and data) flash Xiaomi.eu and then wipe data
Robert314 said:
In order to wipe the super partition (both A/B and data) flash Xiaomi.eu and then wipe data
Click to expand...
Click to collapse
how exactly should I proceed ? flash fastboot stock ROM with MiFlasher, boot into bootloader, boot twrp.img, wipe data, and then what ? which slot do I choose ? should I install TWRP into ramdisk, reboot into recovery and then flash custom ROM ?
Cvenda said:
how exactly should I proceed ? flash fastboot stock ROM with MiFlasher, boot into bootloader, boot twrp.img, wipe data, and then what ? which slot do I choose ? should I install TWRP into ramdisk, reboot into recovery and then flash custom ROM ?
Click to expand...
Click to collapse
ROM: xiaomifirmwareupdater.com/archive/miui/alioth/
Mi Flash: xiaomiflashtool.com
ADB & Fastboot: developer.android.com/studio/releases/platform-tools
TWRP: https://forum.xda-developers.com/f/xiaomi-poco-f3-xiaomi-mi-11x-redmi-k40.12161/?prefix_id=33
Clean Install of Xiaomi.eu ROM:
Flash Stock ROM with Mi Flash
Boot System once (to create /data)
Boot TWRP from Nebrassy or @Vasishoth
Flash Xiaomi.eu ROM
Format Data & Dalvik Cache
dreamytom said:
ROM: xiaomifirmwareupdater.com/archive/miui/alioth/
Mi Flash: xiaomiflashtool.com
ADB & Fastboot: developer.android.com/studio/releases/platform-tools
TWRP: https://forum.xda-developers.com/f/xiaomi-poco-f3-xiaomi-mi-11x-redmi-k40.12161/?prefix_id=33
Clean Install of Xiaomi.eu ROM:
Flash Stock ROM with Mi Flash
Boot System once (to create /data)
Boot TWRP from Nebrassy or @Vasishoth
Flash Xiaomi.eu ROM
Format Data & Dalvik Cache
Click to expand...
Click to collapse
in case of flashing custom ROM, are the steps same ? just instead of Xiaomi.eu ROM I flash PE, or CrDroid ? and should I format data and dalvik also or wipe data (that option where I need to type YES) ? Ive found official guide for flashing CrDroid, but Iam stuck st booting animation for 30 minutes
Cvenda said:
in case of flashing custom ROM, are the steps same ? just instead of Xiaomi.eu ROM I flash PE, or CrDroid ? and should I format data and dalvik also or wipe data (that option where I need to type YES) ? Ive found official guide for flashing CrDroid, but Iam stuck st booting animation for 30 minutes
Click to expand...
Click to collapse
Go into TWRP and press wipe then format data (type yes).
regedit12345 said:
Go into TWRP and press wipe then format data (type yes).
Click to expand...
Click to collapse
I have stock rom in slot A (bootable and working) and custom rom in slot B (stuck at booting animation), and I should format data while being in slot A right ?
Cvenda said:
I have stock rom in slot A (bootable and working) and custom rom in slot B (stuck at booting animation), and I should format data while being in slot A right ?
Click to expand...
Click to collapse
Doesn't matter. Just select format data > yes > reboot to system
regedit12345 said:
Doesn't matter. Just select format data > yes > reboot to system
Click to expand...
Click to collapse
sooo what seemes to work for me now is, that I formated data, then flashed PE ROM from OTG and booted into it without any problems

Question MI 12X system partition Corrupted/deleted Need Urgent Help Please. ??

my 12X system storage Corrupted/deleted after installing TWRP, I'm New A/B partition system. now I can't access the storage even flashing with MI Flash tool not work. PLz plz someone expert help me out. how to resolve it ? will be so grateful.
ajoy25 said:
my 12X system storage Corrupted/deleted after installing TWRP, I'm New A/B partition system. now I can't access the storage even flashing with MI Flash tool not work. PLz plz someone expert help me out. how to resolve it ? will be so grateful.
Click to expand...
Click to collapse
Check here that everything has been done correctly
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
ajoy25 said:
my 12X system storage Corrupted/deleted after installing TWRP, I'm New A/B partition system. now I can't access the storage even flashing with MI Flash tool not work. PLz plz someone expert help me out. how to resolve it ? will be so grateful.
Click to expand...
Click to collapse
How did you install twrp? Did you flash the twrp to boot partition? If yes, you need to find out which system you had installed and then flash the suiting boot.img.
Background: In A/B partition scheme, recovery is part of boot.img. Boot.img needs to be patched by twrp. So normally you need to boot twrp by typing "fastboot boot twrp.img" and then, when twrp is booted, go to advanced and press "flash current twrp"
Thank you for ur kind reply, I have flashed the TWRP as u said & its OK..I'm heaving problem with Flashing EU Rom after deleting data I flashed the rom but it's stuck in the boothloop then entering TWRP showing SD memory "0"..plz tell me the process of flashing rom & Magisk. Thanks again.
Thank you for ur kind reply, I have flashed the TWRP as u said & its OK..I'm heaving problem with Flashing EU Rom after deleting data I flashed the rom but it's stuck in the boothloop then entering TWRP showing SD memory "0"..plz tell me the process of flashing rom & Magisk. Thanks again.
ajoy25 said:
Thank you for ur kind reply, I have flashed the TWRP as u said & its OK..I'm heaving problem with Flashing EU Rom after deleting data I flashed the rom but it's stuck in the boothloop then entering TWRP showing SD memory "0"..plz tell me the process of flashing rom & Magisk. Thanks again.
Click to expand...
Click to collapse
Ok, you already deleted data. Try to format data via fastboot. Use "fastboot -w" and retry!
ajoy25 said:
Thank you for ur kind reply, I have flashed the TWRP as u said & its OK..I'm heaving problem with Flashing EU Rom after deleting data I flashed the rom but it's stuck in the boothloop then entering TWRP showing SD memory "0"..plz tell me the process of flashing rom & Magisk. Thanks again.
Click to expand...
Click to collapse
Maybe start one thing at a time.
Problem with twrp
Try flashing this Fastboot rom
Download the rom/extract it/open the folder /use first install.bat with the phone in Fastboot mode
https://sourceforge.net/projects/xi...13.0.5.0.SLDCNXM_v13-12-fastboot.zip/download
then install the TWRP and update the rom via OTA (do not put any security on the lock screen).
BOOT VERSION
Installation:
Phone in fastboot mode
Cmd:
fastboot boot twrp.img
Power shell
./fastboot boot twrp.img​
then in Twrp go to Advanced -> flash current TWRP->reboot TWRP
If that doesn't work/see post https://forum.xda-developers.com/t/...need-urgent-help-please.4491461/post-87424405
NOSS8 said:
Maybe start one thing at a time.
Problem with twrp
Try flashing this Fastboot rom
Download the rom/extract it/open the folder /use first install.bat with the phone in Fastboot mode
https://sourceforge.net/projects/xi...13.0.5.0.SLDCNXM_v13-12-fastboot.zip/download
then install the TWRP and update the rom via OTA (do not put any security on the lock screen).
BOOT VERSION
Installation:
Phone in fastboot mode
Cmd:
fastboot boot twrp.img
Power shell
./fastboot boot twrp.img​
then in Twrp go to Advanced -> flash current TWRP->reboot TWRP
If that doesn't work/see post https://forum.xda-developers.com/t/...need-urgent-help-please.4491461/post-87424405
Click to expand...
Click to collapse
Thank you for ur kind support. I have managed to flash it with mi flasher & rooted it with masgisk.

Question (Please help me) Mounting problems

Hello,
I recently tried to flash a custom rom on my poco f3, but I couldn't install twrp, because I didn't have the option to install it when i boot to it.
So I followed some instructions online and formated data partition to ext2, and then back to ext4. Now I can't copy any files to the phone storage and can't do anything else.
I can reboot to fastboot, and I can boot to twrp, but it's pretty much useless because I can't sideload anything, and can't install twrp anyways.
Did I do something wrong? Is it easily fixable?
Thanks in advance.
f2fs?
aIecxs said:
f2fs?
Click to expand...
Click to collapse
I don't understand what you mean, sorry. I'm newbie.
Should I format the data partition to f2fs?
Idk depends on ROM. MIUI is f2fs
aIecxs said:
Idk depends on ROM. MIUI is f2fs
Click to expand...
Click to collapse
Oh. I tried a different twrp version and could install it on the phone. Now flashed crDroid and it said my system was broke so had to factory reset. It is working now. Thanks.
But now I can only access the crDroid recovery, how can I install back twrp? if I try to fastboot boot twrp.img it simply reboots back to system.
try to boot TWRP from other slot maybe? (don't forget to switch back)
Code:
fastboot --set-active=other
fastboot boot twrp.img
if that fails just flash TWRP into vendor_boot partition, and restore vendor_boot.img from crDroid right after

Categories

Resources