android P, treble - Xiaomi Mi A2 Lite Questions & Answers

So, has anyone tried flashing an android p image yet?

https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
For flashing steps:
For ab device
unzip both. move the .img file from extracted gsi to platform-tools.
open command prompt or terminal. naviagte to above folder.
boot phone into fastboot mode.
connect phone to computer.
now,
fastboot devices
check device is detected
fastboot erase system
fastboot flash system name_of_system.img
fastboot -w
above command (-w) will wipe all your data so make sure to backup
then fastboot reboot
boom
Pie

menphis said:
https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
For flashing steps:
For ab device
unzip both. move the .img file from extracted gsi to platform-tools.
open command prompt or terminal. naviagte to above folder.
boot phone into fastboot mode.
connect phone to computer.
now,
fastboot devices
check device is detected
fastboot erase system
fastboot flash system name_of_system.img
fastboot -w
above command (-w) will wipe all your data so make sure to backup
then fastboot reboot
boom
Pie
Click to expand...
Click to collapse
Any bugs?

menphis said:
https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
For flashing steps:
For ab device
unzip both. move the .img file from extracted gsi to platform-tools.
open command prompt or terminal. naviagte to above folder.
boot phone into fastboot mode.
connect phone to computer.
now,
fastboot devices
check device is detected
fastboot erase system
fastboot flash system name_of_system.img
fastboot -w
above command (-w) will wipe all your data so make sure to backup
then fastboot reboot
boom
Pie
Click to expand...
Click to collapse
I did this, bootloop. I have a redmi note 5 now

Yes it works on mi a2 lite
Sent from my iPhone using Tapatalk

Agreed, it works quite well.

You guys are lucky. Lol. Hopefully some devs picks up mi a2 lite.

With treble all treble GSI ROMs an partition should work no matter The device

Yeah, its odd that i faced bootloop. I followed the steps, it was successful but it didn't boot

ouroboros12 said:
Yeah, its odd that i faced bootloop. I followed the steps, it was successful but it didn't boot
Click to expand...
Click to collapse
Enter the recovery stock and make wipe

Mi a2 lite?
ouroboros12 said:
Yeah, its odd that i faced bootloop. I followed the steps, it was successful but it didn't boot
Click to expand...
Click to collapse
What phone do you use?

yes is working fine but camera didn't work and data connection. i moved back to android one. everybody found somthing to flash redmi 6 pro miui version? also i need some help where i found the config file for daisy device features xml. for enable manual control for device. I flashed via magisk mi a2 camera with working manual exposure 32 sec. working absolutely amazing, but unfortunately the portrait is force to close the apk or hanging out.

Related

my zen faild google verification to boot up

hey
when my phone boots shows that my device is not verified by google , what to do?
Jwtiyar said:
hey
when my phone boots shows that my device is not verified by google , what to do?
Click to expand...
Click to collapse
you might have unlocked bootloader with unofficial method. nothing to worry about its just a warning devices are far more insecure. if you are worried about privacy things. believe there is nothing like secure when using digital devices. and there is not even single service provider which do not collect data. hence enjoy your unlocked device and play around
sukhwant717 said:
you might have unlocked bootloader with unofficial method. nothing to worry about its just a warning devices are far more insecure. if you are worried about privacy things. believe there is nothing like secure when using digital devices. and there is not even single service provider which do not collect data. hence enjoy your unlocked device and play around
Click to expand...
Click to collapse
Thank you bro, the problem is now its not booting (bootlooping)after upgrading bootloader, flashing twrp then flashing RBR ROM, IDK if this is ROM related or bootloader related
Jwtiyar said:
Thank you bro, the problem is now its not booting (bootlooping)after upgrading bootloader, flashing twrp then flashing RBR ROM, IDK if this is ROM related or bootloader related
Click to expand...
Click to collapse
flash boot, fastboot, recovery image for the same firmware u had working last time. if still do not boots. flash bom token, dnx, ifwi for the same firmware. flash boot, recovery and fastboot again while u flash dnx and ifwi.
sukhwant717 said:
flash boot, fastboot, recovery image for the same firmware u had working last time. if still do not boots. flash bom token, dnx, ifwi for the same firmware. flash boot, recovery and fastboot again while u flash dnx and ifwi.
Click to expand...
Click to collapse
You made it really complex bro i dont understand what to do.
Jwtiyar said:
You made it really complex bro i dont understand what to do.
Click to expand...
Click to collapse
the last working firmware. whichever was installed last time. (assume you were on latest MM ww4.21.40.233... extract it and get the files (boot.img, recovery.img, droidboot.img, splashscreen.img) in the same firmware there will be ifwi.zip extract that too and get the files (bom token, dnx , ifwi)... now copy the extracted files to adb fastboot tool folder. and then in same folder move cursor to and empty place and hold shift and right click on mouse. you will get option open command windows here.
now reboot your phone in fastboot mode and connect to PC.. now run the following commands
fastboot devices ( to see if device is recognized by pc and fastboot tool)
fastboot flash splashscreen splashscreen.img
fastboot flash token " bom token file name" (without commas )
fastboot flash dnx "dnx file name"
fastboot flash ifwi "ifwi file name"
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase fastboot
fastboot flash fastboot droidboot.img
fastboot reboot
keep in mind extract files from the same firmware you were on the last time when your device was working.
sukhwant717 said:
the last working firmware. whichever was installed last time. (assume you were on latest MM ww4.21.40.233... extract it and get the files (boot.img, recovery.img, droidboot.img, splashscreen.img) in the same firmware there will be ifwi.zip extract that too and get the files (bom token, dnx , ifwi)... now copy the extracted files to adb fastboot tool folder. and then in same folder move cursor to and empty place and hold shift and right click on mouse. you will get option open command windows here.
now reboot your phone in fastboot mode and connect to PC.. now run the following commands
fastboot devices ( to see if device is recognized by pc and fastboot tool)
fastboot flash splashscreen splashscreen.img
fastboot flash token " bom token file name" (without commas )
fastboot flash dnx "dnx file name"
fastboot flash ifwi "ifwi file name"
fastboot erase boot
fastboot flash boot boot.img
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase fastboot
fastboot flash fastboot droidboot.img
fastboot reboot
keep in mind extract files from the same firmware you were on the last time when your device was working.
Click to expand...
Click to collapse
Thank you very much bro,but the last working firmware i dont know which one was but it was 5.1.1, which firmware is that android version?
Jwtiyar said:
Thank you very much bro,but the last working firmware i dont know which one was but it was 5.1.1, which firmware is that android version?
Click to expand...
Click to collapse
device model ze551ml oe ze550ml?
sukhwant717 said:
device model ze551ml oe ze550ml?
Click to expand...
Click to collapse
ze551
Jwtiyar said:
ze551
Click to expand...
Click to collapse
download the following file extract it. now reboot your phone in fastboot mode and connect to pc. wait till pc recognize it and make detection sound.
now it extracted folder double click to run the file update bootloader.bat
all done
report back if device boots or gives any error in cmd
wait it has an error
sukhwant717 said:
download the following file extract it. now reboot your phone in fastboot mode and connect to pc. wait till pc recognize it and make detection sound.
now it extracted folder double click to run the file update bootloader.bat
all done
report back if device boots or gives any error in cmd
wait it has an error
Click to expand...
Click to collapse
before this problem happen i upgraded boorloader to MM then flash TWRP and installed MM ROM so now it has MM Custom ROM.
i did your solution and installed successfully but in adb commands as i saw give that boot.img not found then rebooted and now directly will go to installing system update and give the error (android robot with red warning icon ) .
Jwtiyar said:
before this problem happen i upgraded boorloader to MM then flash TWRP and installed MM ROM so now it has MM Custom ROM.
i did your solution and installed successfully but in adb commands as i saw give that boot.img not found then rebooted and now directly will go to installing system update and give the error (android robot with red warning icon ) .
Click to expand...
Click to collapse
when there at that error screen press and hold volume button you will enter into recovery mode. there go to option reboot bootloader phone will boot in fastboot mode
now in the extracted folder at empty place shift and right click.. then open cmd here and run command
fastboot flash boot boot.img
fastboot reboot
which mm rom you installed?
btw i have corrected the boot.img not found error. you can download and rung the bat file
https://drive.google.com/open?id=0B72QQTXqZSRwSVpwSG9iWS0tbUk
sukhwant717 said:
when there at that error screen press and hold volume button you will enter into recovery mode. there go to option reboot bootloader phone will boot in fastboot mode
now in the extracted folder at empty place shift and right click.. then open cmd here and run command
fastboot flash boot boot.img
fastboot reboot
which mm rom you installed?
btw i have corrected the boot.img not found error. you can download and rung the bat file
https://drive.google.com/open?id=0B72QQTXqZSRwSVpwSG9iWS0tbUk
Click to expand...
Click to collapse
I installed RBR ROM which based on MM , now the error gone after flashing boot.img but the will boot to asus logo and will reboot again it seems its bootloop .
sukhwant717 said:
when there at that error screen press and hold volume button you will enter into recovery mode. there go to option reboot bootloader phone will boot in fastboot mode
now in the extracted folder at empty place shift and right click.. then open cmd here and run command
fastboot flash boot boot.img
fastboot reboot
which mm rom you installed?
btw i have corrected the boot.img not found error. you can download and rung the bat file
https://drive.google.com/open?id=0B72QQTXqZSRwSVpwSG9iWS0tbUk
Click to expand...
Click to collapse
this is the output now after flashing coorected .zip file you provided:
http://paste.ubuntu.com/24395746/
Jwtiyar said:
this is the output now after flashing coorected .zip file you provided:
http://paste.ubuntu.com/24395746/
Click to expand...
Click to collapse
it is bootlooping because of incorrect system
now tell me do u want to flash custom rom or official marshmallow?
sukhwant717 said:
it is bootlooping because of incorrect system
now tell me do u want to flash custom rom or official marshmallow?
Click to expand...
Click to collapse
custom MM
Jwtiyar said:
custom MM
Click to expand...
Click to collapse
as you already downloaded that rom.. and also the recovery needed for that rom..
first of all same as earlier flash MM bootloader. ther reboot bootloader once then flash twrp. the exactly mentioned in the RBR rom thread. then go to advanced in twrp and click adb sidelaod. tick wipe dalvik cache and cache. swipe to sideload ... now run command adb sideload "rom file name"
if bootloops after flashing firmware. do a factory reset and reboot. going to sleep now 1.15 AM here. will answer tomorrow if any other question
sukhwant717 said:
as you already downloaded that rom.. and also the recovery needed for that rom..
first of all same as earlier flash MM bootloader. ther reboot bootloader once then flash twrp. the exactly mentioned in the RBR rom thread. then go to advanced in twrp and click adb sidelaod. tick wipe dalvik cache and cache. swipe to sideload ... now run command adb sideload "rom file name"
if bootloops after flashing firmware. do a factory reset and reboot. going to sleep now 1.15 AM here. will answer tomorrow if any other question
Click to expand...
Click to collapse
thank you very much now its booted successfully
Jwtiyar said:
thank you very much now its booted successfully
Click to expand...
Click to collapse
great good to know your device is alive again
sukhwant717 said:
great good to know your device is alive again
Click to expand...
Click to collapse
Thank you bro

[GUIDE]*How to install a Generic System Image (GSI) on your HTC U12+

Hi!
I've had trouble installing a GSI on my HTC U12+, but AOSP GSI maintainer phhusson helped me, so I'm sharing a quick tutorial.
1. Download and extract Android SDK Platform Tools
2. Download the GSI of your choice (ARM64, AB variant), and move it inside platform tools folder (I've only tested AOSP 10.0)
3. Download and extract the HTC RUU Decryption and Extraction Tool
4. Download the RUU for your device and move it inside HTC-RUU_Decrypt_Tool_XXX folder
5. Follow instructions from the RUU Decryption Tool thread to decrypt and extract the RUU, with all default settings
6. Move the vbmeta.img file you've just extracted (it's inside HTC-RUU_Decrypt_Tool_XXX/OUT_XXX/firmware) to the platform tools folder
6. Unlock bootloader
7. Restore stock firmware with microSD method or factory reset if you already have stock firmware
8. Reboot in bootloader
9. From a computer, launch a terminal, change directory to the platform tools folder, then execute "fastboot erase system"
10. Then execute "fastboot flash system <your_gsi.img>"
11. Execute "fastboot reboot bootloader"
12. Execute "fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification" (WARNING : According to 5m4r7ph0n36uru, you can't flash vbmeta via fastboot if your device isn't S-OFF, you have to use TWRP, but I don't know how, so ask someone who knows! I will update my tutorial once I see instructions.)
13. Execute "fastboot reboot"
It should boot the GSI!
On first boot it may ask for a previous decryption password and complain about a corrupt data partition. You can erase it (you will lose what was inside).
If you have bugs or issues with the GSI, there may be workarounds here: https://github.com/phhusson/treble_experimentations/wiki/HTC-U12-Plus
Enjoy your GSI on your HTC U12+!
Romano2K said:
Hi!
I've had trouble installing a GSI on my HTC U12+, but AOSP GSI maintainer phhusson helped me, so I'm sharing a quick tutorial.
1. Download and extract Android SDK Platform Tools
2. Download the GSI of your choice (ARM64, AB variant), and move it inside platform tools folder (I've only tested AOSP 10.0)
3. Download and extract the HTC RUU Decryption and Extraction Tool
4. Download the RUU for your device and move it inside HTC-RUU_Decrypt_Tool_XXX folder
5. Follow instructions from the RUU Decryption Tool thread to decrypt and extract the RUU, with all default settings
6. Move the vbmeta.img file you've just extracted (it's inside HTC-RUU_Decrypt_Tool_XXX/OUT_XXX/firmware) to the platform tools folder
6. Unlock bootloader
7. Restore stock firmware with microSD method or factory reset if you already have stock firmware
8. Reboot in bootloader
9. From a computer, launch a terminal, change directory to the platform tools folder, then execute "fastboot erase system"
10. Then execute "fastboot flash system <your_gsi.img>"
11. Execute "fastboot reboot bootloader"
12. Execute "fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification"
13. Execute "fastboot reboot"
It should boot the GSI!
On first boot it may ask for a previous decryption password and complain about a corrupt data partition. You can erase it (you will lose what was inside).
If you have bugs or issues with the GSI, there may be workarounds here: https://github.com/phhusson/treble_experimentations/wiki/HTC-U12-Plus
Enjoy your GSI on your HTC U12+!
Click to expand...
Click to collapse
Hello, which GSI did you tried from the list? If you tried more then one, which is the one that runs better?
Thank you
Hi!
I have tried AOSP 10.0 v206 system-quack-arm64-ab-gapps.img. v208 is out now.
I still have to try others.
Let us know if you find one working better than others!
i have problem with this line fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification
My fastboot say C:\adb\fastboot.exe: unknown option -- disable-verity How to fix this?
Edit: My htc is dead, power button dont work, does not respond to the charger and PC.
mientus25 said:
i have problem with this line fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification
My fastboot say C:\adb\fastboot.exe: unknown option -- disable-verity How to fix this?
Edit: My htc is dead, power button dont work, does not respond to the charger and PC.
Click to expand...
Click to collapse
Hi mientus25! I'm sorry if you bricked your smartphone trying to flash it. I think the --disable-verity option not working was a matter of platform tools (adb) version.
My htc have actually hard brick. I will try to send it to the service(warranty). Will tell you what comes of it.
fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification doesn't working
it says: not allowed in production device
bootloader:unlocked
xreeman said:
fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification doesn't working
it says: not allowed in production device
bootloader:unlocked
Click to expand...
Click to collapse
If on 2.55.401.1 try flashing this vbmeta. It already has verity and verification disabled, pulled from an S-OFF device allowing the above flashing commands. It flashed fine on my U12+ and I've been able to boot PE 10 GSI afterwards without any problems.
@Romano2K feel free to add it to the OP.
5m4r7ph0n36uru said:
If on 2.55.401.1 try flashing this vbmeta. It already has verity and verification disabled, pulled from an S-OFF device allowing the above flashing commands. It flashed fine on my U12+ and I've been able to boot PE 10 GSI afterwards without any problems.
@Romano2K feel free to add it to the OP.
Click to expand...
Click to collapse
Hello, can I may ask you if I can send you a PM? I have an HTC u12+ and I would like to install and Android 10 GSI and I would like a step by step help to do it. Can you please also tell me which bugs are you facing with it? Thank you very much
GaetanoS.89 said:
Hello, can I may ask you if I can send you a PM? I have an HTC u12+ and I would like to install and Android 10 GSI and I would like a step by step help to do it. Can you please also tell me which bugs are you facing with it? Thank you very much
Click to expand...
Click to collapse
No help by PM. I cannot do this for professional reasons. And also for personal reasons not to give individual support.
5m4r7ph0n36uru said:
No help by PM. I cannot do this for professional reasons. And also for personal reasons not to give individual support.
Click to expand...
Click to collapse
All right, would you please write a message over with all the steps here? Thank you
GaetanoS.89 said:
All right, would you please write a message over with all the steps here? Thank you
Click to expand...
Click to collapse
Starting from a Stock ROM, Bootloader Unlocked, I took the following steps to flash and boot an Android 10 GSI to my HTC U12+:
Go to Settings > System and perform a factory reset
Reboot in the Bootloader by
Code:
adb reboot bootloader
Delete the system and data partition by
Code:
fastboot erase data
and
Code:
fastboot erase system
Flash the nonverity vbmeta image via
Code:
fastboot flash vbmeta nameofvbmeta.img
(the vbmeta image must be in the fastboot folder on your computer)
Flash the GSI via
Code:
fastboot flasch system nameofgsi.img
(the GSI must be in the fastboot folder on your computer)
Reboots the HTC U12+ into Download Mode and perform another Factory Reset
Reboot and enjoy
If /data still can't be read, do another Factory Reset from settings menu
https://www.xda-developers.com/goog...al&utm_source=twitter.com&utm_campaign=buffer
Wiil this work with the U12+???
It may work for GSIs with a fixed verity status. Thus it doesn't work for some Android 10 GSIs without flashing a noverity vbmeta as. Thus I decided long ago, to never recommend such tools, and not to help people who used one, as those using such tools most of the time didn't even care learn the basics of adb and fastboot. I can't remember anyone, who used a tool, who's ever been fully capable to identify potential problems and errors, let alone how to solve them. And the latter is the baseline to start modding a device.
Sent from my Pixel 4 XL using XDA Labs
5m4r7ph0n36uru said:
Starting from a Stock ROM, Bootloader Unlocked, I took the following steps to flash and boot an Android 10 GSI to my HTC U12+:
Go to Settings > System and perform a factory reset
Reboot in the Bootloader by
Delete the system and data partition by and
Flash the nonverity vbmeta image via (the vbmeta image must be in the fastboot folder on your computer)
Flash the GSI via (the GSI must be in the fastboot folder on your computer)
Reboots the HTC U12+ into Download Mode and perform another Factory Reset
Reboot and enjoy
If /data still can't be read, do another Factory Reset from settings menu
Click to expand...
Click to collapse
Hello,
I have unlocked the bootloader yesterday, and I was having a look to your steps, and I noticed you are not using TWRP. Are you doing everything by CMD right?
Romano2K said:
Hi!
I've had trouble installing a GSI on my HTC U12+, but AOSP GSI maintainer phhusson helped me, so I'm sharing a quick tutorial.
1. Download and extract Android SDK Platform Tools
2. Download the GSI of your choice (ARM64, AB variant), and move it inside platform tools folder (I've only tested AOSP 10.0)
3. Download and extract the HTC RUU Decryption and Extraction Tool
4. Download the RUU for your device and move it inside HTC-RUU_Decrypt_Tool_XXX folder
5. Follow instructions from the RUU Decryption Tool thread to decrypt and extract the RUU, with all default settings
6. Move the vbmeta.img file you've just extracted (it's inside HTC-RUU_Decrypt_Tool_XXX/OUT_XXX/firmware) to the platform tools folder
6. Unlock bootloader
7. Restore stock firmware with microSD method or factory reset if you already have stock firmware
8. Reboot in bootloader
9. From a computer, launch a terminal, change directory to the platform tools folder, then execute "fastboot erase system"
10. Then execute "fastboot flash system <your_gsi.img>"
11. Execute "fastboot reboot bootloader"
12. Execute "fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification"
13. Execute "fastboot reboot"
It should boot the GSI!
On first boot it may ask for a previous decryption password and complain about a corrupt data partition. You can erase it (you will lose what was inside).
If you have bugs or issues with the GSI, there may be workarounds here: https://github.com/phhusson/treble_experimentations/wiki/HTC-U12-Plus
Enjoy your GSI on your HTC U12+!
Click to expand...
Click to collapse
Hello I am trying to follow all the steps on the guode, but when I have to flash the vbmeta file from Bootloader Mode I am getting this:
C:\Users\User\Desktop\ADB2>fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (4 KB) OKAY [ 0.004s]
Writing 'vbmeta' FAILED (remote: 'Not allowed on PRODUCTION device')
fastboot: error: Command failed
If I try to install the vbmeta from Download Mode I am getting this error
GaetanoS.89 said:
Hello,
I have unlocked the bootloader yesterday, and I was having a look to your steps, and I noticed you are not using TWRP. Are you doing everything by CMD right?
Click to expand...
Click to collapse
Yes I'm doing everything from CMD indeed. Always do so, as long as it is possible.
@Romano2K vbmeta can't be flashed via fastboot on S-On/production devices. It has to be flashed as update.zip from TWRP. It should be mentioned anywhere.
5m4r7ph0n36uru said:
Yes I'm doing everything from CMD indeed. Always do so, as long as it is possible.
@Romano2K vbmeta can't be flashed via fastboot on S-On/production devices. It has to be flashed as update.zip from TWRP. It should be mentioned anywhere.
Click to expand...
Click to collapse
So how do I have to proceed??
9. From a computer, launch a terminal, change directory to the platform tools folder, then execute "fastboot erase system"
10. Then execute "fastboot flash system <your_gsi.img>"
11. Execute "fastboot reboot bootloader"
And after?
GaetanoS.89 said:
So how do I have to proceed??
9. From a computer, launch a terminal, change directory to the platform tools folder, then execute "fastboot erase system"
10. Then execute "fastboot flash system <your_gsi.img>"
11. Execute "fastboot reboot bootloader"
And after?
Click to expand...
Click to collapse
Which software version are you running!?
Sent from my Pixel 4 XL using XDA Labs
5m4r7ph0n36uru said:
Which software version are you running!?
Click to expand...
Click to collapse
I was running Android 9 stock. After a few trials I have been able to install and boot the Pixel Experience and the permessiver and everything seems to work without flashing the vbmeta file

Soft bricked, need help.

Hi guys, in short, I wanted to install the latest xiaomi.eu MIUI 12.5 beta on a Mi 10T Pro, european version.
What I did was: unlocked bootloader, flash latest TWRP 3.5 beta version, I think I booted the device normally after this...
Then went back to TWRP and flashed the Zip file right away, don't know what I wiped after the install.
All in all the device won't boot now, I'm stuck to either twrp or fastboot.
Problem is I cant flash a fastboot stock rom, says it's successful but the flashing process is like 2 seconds, i can't copy a recovery rom to the internal storage, i think Data partition got corrupted.
Can't wipe Data partition, there is a FBE decription error, and says unsupporter file system auto.
Does anyone have any idea what can I try.
Already tried to change Data file system to ext2 then back to ext4 but no luck.
PC recognizes the phone as a media device, I can see the Internal storage icon, but can't see any files nor can I copy anything to it.
Tried flashing the stock rom with mi flash tool and with command prompt too.
Any advice is welcome.
WSSRoach said:
Hi guys, in short, I wanted to install the latest xiaomi.eu MIUI 12.5 beta on a Mi 10T Pro, european version.
What I did was: unlocked bootloader, flash latest TWRP 3.5 beta version, I think I booted the device normally after this...
Then went back to TWRP and flashed the Zip file right away, don't know what I wiped after the install.
All in all the device won't boot now, I'm stuck to either twrp or fastboot.
Problem is I cant flash a fastboot stock rom, says it's successful but the flashing process is like 2 seconds, i can't copy a recovery rom to the internal storage, i think Data partition got corrupted.
Can't wipe Data partition, there is a FBE decription error, and says unsupporter file system auto.
Does anyone have any idea what can I try.
Already tried to change Data file system to ext2 then back to ext4 but no luck.
PC recognizes the phone as a media device, I can see the Internal storage icon, but can't see any files nor can I copy anything to it.
Tried flashing the stock rom with mi flash tool and with command prompt too.
Any advice is welcome.
Click to expand...
Click to collapse
LOG IN IN MI FLASH
jjgvv said:
LOG IN IN MI FLASH
Click to expand...
Click to collapse
What do you mean?
how do you flash stock rom 2 secs?
jjgvv said:
how do you flash stock rom 2 secs?
Click to expand...
Click to collapse
I think it doesn't fully flash, says it's successful but nothing really happens.
use what flash tool?
jjgvv said:
use what flash tool?
Click to expand...
Click to collapse
Tried latest from xiaomis website but that gives error, so i tried to download one from another website, says its latest version too
have you log in in that flash tool?
jjgvv said:
have you log in in that flash tool?
Click to expand...
Click to collapse
There is no way to log in, aren't you talking about the mi unlock tool?
mi flash?
jjgvv said:
mi flash?
Click to expand...
Click to collapse
Yes, there is no option to log in to mi flash tool
fastboot erase data then
jjgvv said:
fastboot erase data then
Click to expand...
Click to collapse
How do i do that?
WSSRoach said:
How do i do that?
Click to expand...
Click to collapse
go into fastboot and Type fastboot erase data in the fastboot cmd prompt
jjgvv said:
go into fastboot and Type fastboot erase data in the fastboot cmd prompt
Click to expand...
Click to collapse
Will try as soon as i get near a PC
jjgvv said:
go into fastboot and Type fastboot erase data in the fastboot cmd prompt
Click to expand...
Click to collapse
Sadly it fails
WSSRoach said:
Sadly it fails
Click to expand...
Click to collapse
how does it fail
jjgvv said:
how does it fail
Click to expand...
Click to collapse
I typed fastboot erase data, i get: FAILED (remote: Check device console)
Code:
fastboot -w
or
Code:
fastboot erase userdata
is the correct command. Now, if this fails, find lr-twrp, flash that, reboot, wipe data, and try again... And you have to do fastboot commands from fastboot, not from twrp...
calinorg said:
Code:
fastboot -w
or
Code:
fastboot erase userdata
is the correct command. Now, if this fails, find lr-twrp, flash that, reboot, wipe data, and try again... And you have to do fastboot commands from fastboot, not from twrp...
Click to expand...
Click to collapse
this looks like it worked, still now says unable to mount storage when trying to format data from twrp, but thats a step ahead...now it says in yellow )
I have an idea to flash lineage os recovery with fastboot, might that work?

Question Pixel 6 Pro unbrick/recovery

Hello
I've just ordered my Pixel 6 Pro, coming from the OnePlus 8 Pro.
I love tinkering with Root/Kernels/Roms.
So my question is, if there is always a way to get back to stock in case of emergency?
The OnePlus phones are considered as "unbreakable", because You can ALWAYS unbrick it via MSM unbrick tool.
Would be nice to know when I start unlocking the bootloader of my Pixel
Thanks!
Sorry that Pixel doesn't have that unbrick tool ...
The only one is a batch commend file - Flash-All extracted from factory full ROM ...
It is possible to hardbrick a Pixel device without hopes of getting it running again, for example if you nuke your recovery.
Most softbricks can be solved by either doing what Kris Chen suggested, or by using
Android Flash Tool
flash.android.com
or
Google Pixel - Update and Software Repair
After flashing a module that bootloops you can try this:
If it almost boots up but flashes, in a cmd window type:
adb wait-for-device shell magisk --remove-modules
It may grab that and remove all modules. If it doesn't, you can try this:
1. fastboot flash boot boot.img, reboot.
2. long press power button, then long press "power off", click ok to enter safemode.
3. Before your phone boots all the way up, boot to fastboot.
4. fastboot flash boot magisk_patched.img, reboot.
5. In cmd window type: adb wait-for-device shell magisk --remove-modules
6. Your phone will boot up with root and all modules removed.
There's a shortcut to safemode that removes everything but I'm not sure what it is.
Edit: boot.img is taken from the applicable firmware you are on downloaded from Google. Unzip the main zip, go into the folder and unzip the image zip that is inside.
Thank you all for your detailed information, very appreciated
Could someone check if the following is the right procedure to revert to stock kernel?
fastboot flash boot <magisk-patched-image>.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
fastboot reboot fastboot (wait a bit, this takes a bit of time until you see the fastbootd screen)
fastboot flash vendor_dlkm vendor_dlkm.img
fastboot reboot
And do I have to do this procedure everytime before switching from a custom kernel to another kernel?
Thanks!
Lycidias said:
Thank you all for your detailed information, very appreciated
Could someone check if the following is the right procedure to revert to stock kernel?
fastboot flash boot <magisk-patched-image>.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
fastboot reboot fastboot (wait a bit, this takes a bit of time until you see the fastbootd screen)
fastboot flash vendor_dlkm vendor_dlkm.img
fastboot reboot
And do I have to do this procedure everytime before switching from a custom kernel to another kernel?
Thanks!
Click to expand...
Click to collapse
Yes, correct, and yes, safest to do so each time switching kernels.

Question Devices not detected after install Fastboot ROM

I try to install fastboot rom with MiFlashTool, this is my FastbootROM nabu_global_images_V14.0.3.0.TKXMIXM_20230306.0000.00_13.0_global_80c69df295.tgz
After i flash with MiFlashTool, the process is never end, but my Mi Pad 5 restarting without any reason in middle of flashing, but the process keep going, then i close the MiFlashTool, after that i try to fastboot devices in my platform tools directory, now my Mi Pad completely undetected in my PC, also in MiFlashTool now not detected
I can still open Recovery and Fastboot mode, but in Fastboot mode i cant do anything because my PC cant detect my devices, also i try with my other PC but still not detected, maybe the main reason this happend is because i terminate the MiFlashTool during process because i saw my Mi Pad restarting, any help for this issue ?
kzquandary said:
I can still open Recovery and Fastboot mode
Click to expand...
Click to collapse
It indicates that your bootloader is still full functional. Otherwise recovery wouldn't boot anymore.
- Windows device manager shows what?
- output of 'fastboot devices'?
WoKoschekk said:
It indicates that your bootloader is still full functional. Otherwise recovery wouldn't boot anymore.
- Windows device manager shows what?
- output of 'fastboot devices'?
Click to expand...
Click to collapse
the problem for devices not detected is solved sir, but now i stuck in fastboot mode every time i use fastboot reboot, because last time ago i want to try disable-verity using empty vbmeta.img, then after i try command fastboot flash --disable-verity vbmeta.img, i ended up in Fastboot Mode, now i want to try install new rom sir and i have download it miui_NABUGlobal_V14.0.3.0.TKXMIXM_45f6ebc192_13.0.zip , any tips for install this rom to Mi Pad ? because i cant use mi flash tool for install new rom
kzquandary said:
because i cant use mi flash tool for install new rom
Click to expand...
Click to collapse
Did u try this one?
XiaoMiTool V2 - Modding of Xiaomi devices made easy for everyone
XiaoMiTool V2 is a easy to use tool to install rom on your Xiaomi device. Modding made easy for everyone! Download it for free now!
www.xiaomitool.com
WoKoschekk said:
Did u try this one?
XiaoMiTool V2 - Modding of Xiaomi devices made easy for everyone
XiaoMiTool V2 is a easy to use tool to install rom on your Xiaomi device. Modding made easy for everyone! Download it for free now!
www.xiaomitool.com
Click to expand...
Click to collapse
i downloaded your suggested app, but there is no Xiaomi Pad 5 in device list, and my downloaded recovery rom is zip, i just cant find tool for flash zip in fastboot sir
Your download is only a recovery ROM and not the full fastboot ROM. Full fastboot ROM:
MiPad 5 – MIUI Download Xiaomi Official ROM
Ok, a recovery zip is only flashable in a recovery. It's like any other flashable zip for TWRP, i.e. a Magisk installer zip or sth else. These zips need a shell to execute their commands. Fastboot is only for flashing single images via cmd line on your PC.
Download the full fastboot ROM. It's a *.tgz-archive that needs to be unpacked for the Mi Flash Tool (v2).
WoKoschekk said:
Ok, a recovery zip is only flashable in a recovery. It's like any other flashable zip for TWRP, i.e. a Magisk installer zip or sth else. These zips need a shell to execute their commands. Fastboot is only for flashing single images via cmd line on your PC.
Download the full fastboot ROM. It's a *.tgz-archive that needs to be unpacked for the Mi Flash Tool (v2).
Click to expand...
Click to collapse
Thanks sir, its worked, i use fastboot room with .tgz and all solved
WoKoschekk said:
Ok, a recovery zip is only flashable in a recovery. It's like any other flashable zip for TWRP, i.e. a Magisk installer zip or sth else. These zips need a shell to execute their commands. Fastboot is only for flashing single images via cmd line on your PC.
Download the full fastboot ROM. It's a *.tgz-archive that needs to be unpacked for the Mi Flash Tool (v2).
Click to expand...
Click to collapse
But any tips for permanent root in Mi Pad 5 sir ? because every time i restart, its always unrooted
kzquandary said:
But any tips for permanent root in Mi Pad 5 sir ? because every time i restart, its always unrooted
Click to expand...
Click to collapse
Install the Magisk app, extract the boot.img from inside your firmware and patch it with Magisk. Then flash the patched boot.img with fastboot flash boot "your patched image" and start your device.
WoKoschekk said:
Install the Magisk app, extract the boot.img from inside your firmware and patch it with Magisk. Then flash the patched boot.img with fastboot flash boot "your patched image" and start your device.
Click to expand...
Click to collapse
Wow thanks sir, its worked like magic

Categories

Resources