Question Vendor_boot question - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

What does happen if I flash a standard recovery after flashing a vendor_boot rom?

skiangel said:
What does happen if I flash a standard recovery after flashing a vendor_boot rom?
Click to expand...
Click to collapse
Why would you want to do that? A bootloop is the likely outcome.

DarthJabba9 said:
Why would you want to do that? A bootloop is the likely outcome.
Click to expand...
Click to collapse
If i want to switch to a standard rom what i do?
I'm new to all this a/b partitioning and vendor_boot things

skiangel said:
If i want to switch to a standard rom what i do?
I'm new to all this a/b partitioning and vendor_boot things
Click to expand...
Click to collapse
You can simply flash the standard ROM with your vendor_boot recovery, and then flash the standard recovery afterwards.

Related

[AOKP][PROJECT_TREBLE][8.1.0][a/b devices only][4/2/18]

This is a GSI (generic system image) for AOKP for devices with treble support...
this requires fastboot to flash the system image, if you dont know how to use fastboot, you shouldnt be here...
Downloads
https://androidfilehost.com/?w=files&flid=261339
commands:
$: fastboot flash system_a system.img
(for pixel devices= $: fastboot flash vbmeta_a vbmeta.img)
then boot into twrp and wipe data and reboot.
tested on the Pixel 2 XL
credit goes to the AOKP gang and @phhusson who without i wouldnt have been able to compile this
screenshots:
https://ibb.co/dBnFPn
https://ibb.co/kvGEH7
https://ibb.co/hOLVqS
has GApps but no root, im working on that
First!
Sent from my Pixel 2 XL using Tapatalk
slothdabski said:
First!
Click to expand...
Click to collapse
Crap missed it..
sixohtew said:
This is a GSI (generic system image) for AOKP for devices with treble support...
this requires fastboot to flash the system image, if you dont know how to use fastboot, you shouldnt be here...
Downloads
https://androidfilehost.com/?w=files&flid=261339
commands:
$: fastboot flash system_a system.img
(for pixel devices= $: fastboot flash vbmeta_a vbmeta.img)
then boot into twrp and wipe data and reboot.
tested on the Pixel 2 XL
credit goes to the AOKP gang and @phhusson who without i wouldnt have been able to compile this
screenshots:
https://ibb.co/dBnFPn
https://ibb.co/kvGEH7
https://ibb.co/hOLVqS
has GApps but no root, im working on that
Click to expand...
Click to collapse
does google camera work with hdr+? do you get unlimited photo storage?
sixohtew said:
This is a GSI (generic system image) for AOKP for devices with treble support...
this requires fastboot to flash the system image, if you dont know how to use fastboot, you shouldnt be here...
Downloads
https://androidfilehost.com/?w=files&flid=261339
commands:
$: fastboot flash system_a system.img
(for pixel devices= $: fastboot flash vbmeta_a vbmeta.img)
then boot into twrp and wipe data and reboot.
tested on the Pixel 2 XL
credit goes to the AOKP gang and @phhusson who without i wouldnt have been able to compile this
screenshots:
https://ibb.co/dBnFPn
https://ibb.co/kvGEH7
https://ibb.co/hOLVqS
has GApps but no root, im working on that
Click to expand...
Click to collapse
We should all be here not everyone can do what you do..
I can't get twrp to load after flashing.....it just hangs at the start up screen. Any suggestions? I went back to stock and flashed over that.
cdnsnOw said:
We should all be here not everyone can do what you do..
Click to expand...
Click to collapse
What I meant was if you don't know how to use fastboot, you probably shouldn't be messing with your phone because you used the wrong code and bricked it..no offense
What is the difference flashing with TWRP and fastboot method?
So far no luck getting it to boot. This is what I did.
fastboot flash system_a system.img
fastboot flash vbmeta_a vbmeta.img
then boot into twrp and wipe data and reboot
Going to update to the leatest April image and try again.
gforceriders said:
So far no luck getting it to boot. This is what I did.
fastboot flash system_a system.img
fastboot flash vbmeta_a vbmeta.img
then boot into twrp and wipe data and reboot
Going to update to the leatest April image and try again.
Click to expand...
Click to collapse
Maybe after flashing vbmeta reboot bootloader then load up twrp
cdnsnOw said:
What is the difference flashing with TWRP and fastboot method?
Click to expand...
Click to collapse
This is a system.img and needs to be flashed to the system which requires fastboot..in twrp you MUST make sure you're flashing to the system_a partition
sixohtew said:
Maybe after flashing vbmeta reboot bootloader then load up twrp
Click to expand...
Click to collapse
Yeah did that still no luck getting it to boot. Can't even switch to slot A without getting an error after fastbooting the images.
abduleo77 said:
I can't get twrp to load after flashing.....it just hangs at the start up screen. Any suggestions? I went back to stock and flashed over that.
Click to expand...
Click to collapse
Try booting twrp right after the vbmeta.img
gforceriders said:
Yeah did that still no luck getting it to boot. Can't even switch to slot A without getting an error after fastbooting the images.
Click to expand...
Click to collapse
Which device? Pixel 2 xl?
sixohtew said:
Which device? Pixel 2 xl?
Click to expand...
Click to collapse
Yep, the pixel 2 XL.
gforceriders said:
Yep, the pixel 2 XL.
Click to expand...
Click to collapse
Did you come from another rom or were you stock? This boots just fine for me
sixohtew said:
Did you come from another rom or were you stock? This boots just fine for me
Click to expand...
Click to collapse
Yes, came from another rom and when that didn't work I went back to stock and still wouldn't boot.
gforceriders said:
Yes, came from another rom and when that didn't work I went back to stock and still wouldn't boot.
Click to expand...
Click to collapse
Does it bootloop? Or boot back to the bootloader? If it boot loops are you seeing the aokp boot animation? Could you possibly get a logcat?
sixohtew said:
Does it bootloop? Or boot back to the bootloader? If it boot loops are you seeing the aokp boot animation? Could you possibly get a logcat?
Click to expand...
Click to collapse
It bootloops. No aokp boot animation. I will try and use the bootloop fix script and flash full stock and test again here shortly.
gforceriders said:
It bootloops. No aokp boot animation. I will try and use the bootloop fix script and flash full stock and test again here shortly.
Click to expand...
Click to collapse
Yeah if you tried to flash it over another rom instead of stock, issues could arise..I'll put a script together that will flash stock with the new system.img and add the vbmeta.img to it so it flashes all the necessary files

Bootloop back to twrp

Yesterday i sideloaded the December ota, today i decided im going to unlock the bootloader, root and install a custom kernel. I followed the instructions in the pined post in guides and well, now my pixel wont boot and its booting back to trwp.
What i did was boot twrp.img thru fastboot.
Once twrp booted i flashed the twrp zip, kernel and magisk beta zip.
How do i get out of this bootloop now?
welp, just tried to flash the factory image and got this:
error: failed to load 'image-crosshatch-pq1a.181205.006.zip': Not enough space
mac208x said:
Yesterday i sideloaded the December ota, today i decided im going to unlock the bootloader, root and install a custom kernel. I followed the instructions in the pined post in guides and well, now my pixel wont boot and its booting back to trwp.
What i did was boot twrp.img thru fastboot.
Once twrp booted i flashed the twrp zip, kernel and magisk beta zip.
How do i get out of this bootloop now?
Click to expand...
Click to collapse
fastboot flash boot --slot all boot.img
#6 in this guide.
Homeboy76 said:
fastboot flash boot --slot all boot.img
#6 in this guide.
Click to expand...
Click to collapse
Thank you! So would you know what i did wrong? Or what do i now to get root and custom kernel?
mac208x said:
Thank you! So would you know what i did wrong? Or what do i now to get root and custom kernel?
Click to expand...
Click to collapse
Pixel 3/Pixel 3 XL
- fastboot boot twrp-3.2.3-1...img
- install Magisk' uninstaller
- add more zips
- Edit: Kernel of your choice
- Add more zips
- magisk-17.3.zip
- reboot system
Homeboy76 said:
Pixel 3/Pixel 3 XL
- fastboot boot twrp-3.2.3-1...img
- install Magisk' uninstaller
- add more zips
- ElementalX 1.02.zip
- Add more zips
- magisk-17.3.zip
- reboot system
Click to expand...
Click to collapse
Did exactly that but instead of ElementalX kernel im trying to use Kirisakura now back to bootloop into recovery
mac208x said:
Did exactly that but instead of ElementalX kernel im trying to use Kirisakura now back to bootloop into recovery
Click to expand...
Click to collapse
After installing the TWRP.zip change slots in TWRP, reboot recovery and flash Magisk to the other slot, change slots back, then reboot.
airmaxx23 said:
Change slots in TWRP, reboot recovery and flash Magisk to the other slot, change slots back, then reboot.
Click to expand...
Click to collapse
Im so sorry but what do you mean by slot?
mac208x said:
Im so sorry but what do you mean by slot?
Click to expand...
Click to collapse
When you're in TWRP go to reboot, then switch from your current slot to the other.
airmaxx23 said:
When you're in TWRP go to reboot, then switch from your current slot to the other.
Click to expand...
Click to collapse
Alright this is becoming silly. Did exactly as you said and again, bootloop back too twrp....Should i use the twrp from dees_troy or it doesnt matter? I dont know what it can be
Edit: Nvm im using the right twrp
mac208x said:
Alright this is becoming silly. Did exactly as you said and again, bootloop back too twrp....Should i use the twrp from dees_troy or it doesnt matter? I dont know what it can be
Edit: Nvm im using the right twrp
Click to expand...
Click to collapse
Are you flashing Magisk in both slots?
airmaxx23 said:
Are you flashing Magisk in both slots?
Click to expand...
Click to collapse
No didn't do that.
Okay so fastboot boot twrp.img
Once it boots flash the twrp.zip and magisk
Change to slot b
Flash magisk
Reboot.
Right? What about kernel?
mac208x said:
No didn't do that.
Okay so fastboot boot twrp.img
Once it boots flash the twrp.zip and magisk
Change to slot b
Flash magisk
Reboot.
Right? What about kernel?
Click to expand...
Click to collapse
Try just that first and see if you can fully boot the phone.
airmaxx23 said:
Try just that first and see if you can fully boot the phone.
Click to expand...
Click to collapse
No bootloop back to trwp. Now its stuck on the white google logo screen wont go pass it
airmaxx23 said:
When you're in TWRP go to reboot, then switch from your current slot to the other.
Click to expand...
Click to collapse
Be careful with that. I did it bricked the device. It was like there was no system on that slot. I thought it was hard bricked but someone else did the same thing and eventually got it to boot.
Sent from my [device_name] using XDA-Developers Legacy app
I dont know what do now, wont boot, cant enter recovery, apparently there is no system image the only thing i can do is enter fastboot. Never had this much damn trouble with rooting and installing twrp on a device.
jd1639 said:
Be careful with that. I did it bricked the device. It was like there was no system on that slot. I thought it was hard bricked but someone else did the same thing and eventually got it to boot.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
I've been doing it all along whenever I flash anything.
mac208x said:
I dont know what do now, wont boot, cant enter recovery, apparently there is no system image the only thing i can do is enter fastboot. Never had this much damn trouble with rooting and installing twrp on a device.
Click to expand...
Click to collapse
You'll have to flash back to stock in fastboot.
mac208x said:
I dont know what do now, wont boot, cant enter recovery, apparently there is no system image the only thing i can do is enter fastboot. Never had this much damn trouble with rooting and installing twrp on a device.
Click to expand...
Click to collapse
First, have you updated your sdk platform tools with the latest fastboot and adb? That's been causing a lot of people problems if they haven't updated them. If you have I would flash the stock boot image to boot slots.
fastboot flash boot_a boot.img. and
fastboot flash boot_b boot.img
If that's not enough then flash the system's image to boot slots.
Sent from my [device_name] using XDA-Developers Legacy app
airmaxx23 said:
I've been doing it all along whenever I flash anything.
You'll have to flash back to stock in fastboot.
Click to expand...
Click to collapse
jd1639 said:
First, have you updated your sdk platform tools with the latest fastboot and adb? That's been causing a lot of people problems if they haven't updated them. If you have I would flash the stock boot image to boot slots.
fastboot flash boot_a boot.img. and
fastboot flash boot_b boot.img
If that's not enough then flash the system's image to boot slots.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
How do i do this now? Flashing boot.img does nothing, phone still wont boot and hands on the boot logo. I cant enter recovery and apply from adb, nor flashing the factory image thru fastboot work, it keeps saying there isnt enough space for the .zip
mac208x said:
How do i do this now? Flashing boot.img does nothing, phone still wont boot and hands on the boot logo. I cant enter recovery and apply from adb, nor flashing the factory image thru fastboot work, it keeps saying there isnt enough space for the .zip
Click to expand...
Click to collapse
Do you have the latest sdk platform tools. If not Google that, download the zip and extract it. Replace what you do have. I create a folder c:adb and put everything in that. Then set an environment variable path in Windows so fastboot and adb are available no matter what folder I'm working in.
Sent from my [device_name] using XDA-Developers Legacy app

What happens if you flash GSI on unsupported device?

I have TWRP installed as my permanent recovery on my device. My question is what would happen if I flash (for example) system-arm64-aonly-gapps-su.img using TWRP on my device? Will it bricked? Can I restore it by flashing stock using ODIN?
I posted on a wrong thread. Kindly move it to https://forum.xda-developers.com/project-treble/trebleenabled-device-questions-and-answers since this is a question.
ECOTV said:
I have TWRP installed as my permanent recovery on my device. My question is what would happen if I flash (for example) system-arm64-aonly-gapps-su.img using TWRP on my device? Will it bricked? Can I restore it by flashing stock using ODIN?
I posted on a wrong thread. Kindly move it to https://forum.xda-developers.com/project-treble/trebleenabled-device-questions-and-answers since this is a question.
Click to expand...
Click to collapse
It won't brick, it just won't boot. The system image is designed to look for boot vendor etc in different partitions, not in the system as it previously was
miffymiffy said:
It won't brick, it just won't boot. The system image is designed to look for boot vendor etc in different partitions, not in the system as it previously was
Click to expand...
Click to collapse
So if I flash it and if it won't boot, can I return to stock using ODIN?
ECOTV said:
So if I flash it and if it won't boot, can I return to stock using ODIN?
Click to expand...
Click to collapse
No idea how you'd go back. The moral is don't flash it. It won't work
miffymiffy said:
It won't brick, it just won't boot. The system image is designed to look for boot vendor etc in different partitions, not in the system as it previously was
Click to expand...
Click to collapse
I have a Samsung Galaxy J4 Plus and it has treble support (A ONLY) but when i flash GSI it wont boot. it end up in a bootloop and i cant get it to boot. What should i do ??
dewin_prins said:
I have a Samsung Galaxy J4 Plus and it has treble support (A ONLY) but when i flash GSI it wont boot. it end up in a bootloop and i cant get it to boot. What should i do ??
Click to expand...
Click to collapse
Just wipe system and data and flash an specific rom for your device.
Schnedi said:
Just wipe system and data and flash an specific rom for your device.
Click to expand...
Click to collapse
i am at the boot screen of pixel experience gsi rom but it wont boot to system.. or it just takes a long time its been on the google logo for about an hour now and its not in the os yet should i wait or do something else i dont know what to do to make it go to the system..
Precautions for a gsi rom flash
If your device is supported then you must boot up with gsi
Do you wiped dalvik /cache / data partitions before booting with gsi or i say before flashing gsi rom

i need help with restoring my samsung a50

my plan was to install pixel experience, i had the bootloader unlocked, and after installing twrp; i wasnt able to boot.
long story short i wiped literally everything in the advanced wipe section of twrp, including system, thinking ill be able to boot my phone.
what i need help with, is there a custom rom which doesnt require an existing boot or os to run? or i can install stock rom from sammobile through odin and will it work that way?
i saw this on yt comments, wanted to know if it is correct, "When I inquired a bit about GSI ROMS, I saw that these ROMs doesn't flash over the boot partition, they use the currently installed one. Because of that you probably have a broken boot partition causes bootloop."
i am able to enter twrp and download mode from there.
thank you.
did you flash patched vbmeta?
VD171 said:
did you flash patched vbmeta?
Click to expand...
Click to collapse
helo thanks for the reply, I dont know what vbmeta is, can I ask for an explanation?
peachlove said:
helo thanks for the reply, I dont know what vbmeta is, can I ask for an explanation?
Click to expand...
Click to collapse
Vbmeta verifies if any partitions was changed.
If it was, then it causes a bootloop if bootloader is locked.

Cannot bootinto twrp normally

when access the first screen of twrp ,it stucks,seemed reading the partions,for a minute,it flashed(like reboot,i cannot descripbe it well for my suck English) into same screen
now my phone can boot into fastboot normally ,can boot into system normally
but i flash many twrps,yet no one work correctly
@loopypalm
ask for help
wsdyleon said:
when access the first screen of twrp ,it stucks,seemed reading the partions,for a minute,it flashed(like reboot,i cannot descripbe it well for my suck English) into same screen
now my phone can boot into fastboot normally ,can boot into system normally
but i flash many twrps,yet no one work correctly
@loopypalm
ask for help
Click to expand...
Click to collapse
Looks like A12 problem
i never suggested using it
reflash TWRP + VBMETA and clean flash a stable rom
stop looking for problems
loopypalm said:
Looks like A12 problem
i never suggested using it
reflash TWRP + VBMETA and clean flash a stable rom
stop looking for problems
Click to expand...
Click to collapse
wsdyleon said:
i had to back to the official fastboot rom,after that reflash rec,and come to normal。
Click to expand...
Click to collapse
loopypalm said:
stop looking for problems
Click to expand...
Click to collapse
Agreed.
(e.g., cf. https://www.theverge.com/22881882/a...s-oneplus-oxygenos-12-samsung-one-ui-4-update)

Categories

Resources