Enable Camera2api on Pie Beta without Root - Asus Zenfone Max Pro M2 Guides, News, & Discussion

Disclaimer
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.
If you point the finger at me for messing up your device, I will laugh at you. Hard. A lot
I havent tested this method on Pie Beta, but you can test and then tell me...
Requirements : Unlocked bootloader
1) Download PBRP recovery from link below :
https://forum.xda-developers.com/max-pro-m2/development/recovery-pbrp-t3889368
2) Extract the PBRP zip file
3) Go to PitchBlack Folder > TWRP > recovery.img
4) Flash PBRP recovery image by this command :
fastboot flash recovery xxxx.img
Replace xxxx with file name of the recovery, in this case it will be:
fastboot flash recovery recovery.img
5) Reboot to PBRP recovery
5) On your PC, go to PitchBlack Folder > PBRP > tools
6) Copy 'enablehal3.zip' to your phone's internal storage
7) Flash this zip file through PBRP
8) Reboot
Congrats you have enabled Camera2api...
Now you can restore the stock recovery
1) Go to this link and download Relock zip by #ArtFul :
https://drive.google.com/file/d/1o9dTrw4NLUoxhIre3netCQWucTMwNUws
2) Extract stock recovery image from this zip file and flash the stock recovery again using same fastboot command as above...
Done...
You can relock your bootloader also if you want using #ArtFul's relock guide...
Credits: @#ArtFuL
For providing both the above zip files...

found this alternative on youtube, unlocked bootloader not needed
https://www.youtube.com/watch?v=lX4sg71PTcY
he writes it works on pie and oreo, i did it on stock oreo
commands:
1)adb devices
2)adb reboot bootloader
3)fastboot devices
4)fastboot oem enable_camera_hal3 true
5)fastboot reboot
sorry my bad, its the same with instructions on gcam thread

kompil said:
found this alternative on youtube, unlocked bootloader not needed
he writes it works on pie and oreo, i did it on stock oreo
commands:
1)adb devices
2)adb reboot bootloader
3)fastboot devices
4)fastboot oem enable_camera_hal3 true
5)fastboot reboot
sorry my bad, its the same with instructions on gcam thread
Click to expand...
Click to collapse
He is using Oreo

Can confirm this works on Pie <3

Has anyone use this trick to enable camera2api in pie beta?

I try to flash camerahal3.zip using twrp but not working.
I decided to flash pixel experience on my phone and it works

Related

Unlock Bootloader and Root Asus Zenfone Max Pro M2 (Unofficial)

Disclaimer :
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.
If you point the finger at me for messing up your device, I will laugh at you. Hard. A lot​
Warranty will be VOID
UNLOCK BOOTLOADER AND ROOT ASUS ZENFONE MAX PRO M2 (Unofficial)
<Device will be formatted, so keep a backup >
Requirements :
Asus Zenfone Max Pro M2
Windows / Linux
Instructions :
//unlocking
Phone:
- Go to Setting > System > About Phone and tap on the build number until developer option appears
- Go back to Settings > System > Developer options and enable usb debugging ( If you had already enabled usb debugging, ignore this step)
Windows:
- Download "unlocker" and extract the files
- Go to "adb + asus drivers" folder and install ADB and necessary drivers ( Linux users install adb, fastboot from their respective repositories )
- Connect the device to PC on a USB 2.0 port
- Go to "unlock" folder and open an Elevated command promt there and enter :
Code:
adb devices
( Allow usb debugging box will appear, check "always allow debugging from this computer" and click OK ) and again enter
Code:
adb devices
(Device should be listed)
Code:
adb reboot bootloader
(Device will now enter fastboot )
Code:
fastboot devices
(Device should be listed )
Now execute unlock.cmd (windows) or ./unlock.sh (linux)
Device will show unlocked bootloader warning, encrypt and reboot
Thats it, Bootloader is unlocked (Don't close the command prompt)
//rooting
- Download the recovery [ TWRP recommended ] and decrypt.zip from the links provided ( If you are on stock pie rom, use decrypt_pie.zip instead )
- Go to "Root" folder of unlocker and copy magisk.apk to phone
- Install magisk (update if available) > open > install > install > Download Zip only
- Note the location of the downloaded zip file and move it from there to sd card
- Move the decrypt.zip to sd card
- Go to sec. //unlocking > Phone to enable usb debugging again
- Copy the recovery image to "unlock" folder, go back to cmd and enter :
Code:
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery "name-of-the-recovery".img
- power off the device by pressing power button and go to recovery by pressing volume down + power button
- Device will boot into recovery
- If it asks for password, just cancel it
- Wipe > Format data
- Install > Flash decrypt.zip and magisk.zip that we copied to sdcard and reboot
[ IF THE DEVICE STILL ENCRYPTS ITSELF, FLASH THE RECOVERY AGAIN AND FLASH OREO FIRMWARE AND REPEAT THE ABOVE STEP ]
- Finally, go to magisk manager > install > install > direct install
- If you want to move to other recoveries, flash the respective recovery zip provided
- Reboot and You are done !
To unroot and relock the bootloader, Go HERE
Credits
@Sudeep Duhoon
@legacy07
Downloads:
Unlocker
Recoveries : TWRP / PBRP / OFRP / PERP / SHRP / Batik
Data Decryption
Data Decryption (Pie)
Piece of advice :
If there comes any problem with this unlock process, NEVER try to unlock by official unlock tool, as you will not be able to install custom recovery and finally end up in an unlocked bootloader device with no warranty and no custom recovery to proceed further!!!
in such cases fix the communication between phone and pc, instead of directly jumping to official tool​
Wow..
Anyone try this??
what is the firmware version that is being used in this Indian root image? mine start with ww_xxxxx.....
Will the unofficial way of unlocking void warranty?
Dhairy said:
Will the unofficial way of unlocking void warranty?
Click to expand...
Click to collapse
Yes. Warranty will be void. But there is always a possibility of relocking bootloader to obtain warranty.
Was someone able to root successfully?
Yes. I confirm this works.
Which method did u use
Did u unlocked the bootloader and then flashed masgisk via twrp or via patched boot image method.
Free Radical said:
Yes. I confirm this works.
Click to expand...
Click to collapse
what is your firmware version that you root on?
learnyee said:
what is your firmware version that you root on?
Click to expand...
Click to collapse
Magisk method will work on the firmware released out of the box and also the update.
I am on stock firmware (without the first ota) and it works, nice bro
kickyvivi said:
Magisk method will work on the firmware released out of the box and also the update.
Click to expand...
Click to collapse
looked through the unock.cmd file, just hate to format the phone and reset up everything....
Which TWRP is being used in this??
#ArtFuL said:
Disclaimer :
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.
If you point the finger at me for messing up your device, I will laugh at you. Hard. A lot
Warranty will be VOID
UNLOCK BOOTLOADER AND ROOT MAX PRO M2 (Unofficial)
<Device will be formatted, so keep a backup >
Requirements :
Asus Zenfone Max Pro M2
Windows OS
Instructions :
//unlocking
Phone:
- Go to Setting > System > About Phone and tap on the build number until developer option appears
- Go back to System > Developer options and enable usb debugging ( If you had already enabled usb debugging, "revoke USB debugging authorisations" and lets start new)
Windows:
- Download "unlocker" and extract the files
- Go to "adb + asus drivers" folder and install ADB and necessary drivers
- Go to "unlock" folder
- Open an Elevated command promt there and type :
adb devices ( Allow usb debugging box will appear, check "always allow debugging from this computer" and click OK and again enter :
adb devices (Device should be listed)
adb reboot bootloader (Device will now enter fastboot )
fastboot devices (Device should be listed )
Now execute unlock.cmd
Device will show unlooked bootloader warning, encrypt and reboot
Thats it, Bootloader is unlocked
//rooting
- Download the twrp recovery and Disable Forced Encryption/Data zip (decrypt.zip) from the links provided
- Go to "Root" folder of unlocker and copy magisk.apk to phone
- Install magisk (update if available) > open > install > install > Download Zip only
- Note the location of the downloaded zip file and move it from there to sd card
- Move the decrypt.zip to sd card
- Extract twrp, open an elevated command prompt and type :
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
- power off the device and go to recovery by pressing volume down + power button
- Device will boot into TWRP
- If it asks for decryption key, just cancel it
- Wipe > Format data
- Install > Flash decrypt.zip and magisk.zip that we copied to sdcard and reboot
- Finally, go to magisk manager > install > install > direct install
- Reboot and You are done !
You will receive OTA as usual
To unroot and relock the bootloader, Go HERE
Credits
@Sudeep Duhoon
@Shivam Kumar Jha
@#ArtFuL
Downloads:
Unlocker
TWRP
Data Decryption
Click to expand...
Click to collapse
What type of firmware/sku that u unlocked n install twrp?
X10MINISTER said:
What type of firmware/sku that u unlocked n install twrp?
Click to expand...
Click to collapse
ASUS ZenFone Max Pro (M2) Software Image Version: WW-15.2016.1811.177 For India SKU only
Not working as soon as I run the unlock.cmd file a prompt comes on the screen of the phone to press any key to shut down, after pressing any physical button it reboots to system again with no warning as bootloader unlocked
Dhairy said:
Not working as soon as I run the unlock.cmd file a prompt comes on the screen of the phone to press any key to shut down, after pressing any physical button it reboots to system again with no warning as bootloader unlocked
Click to expand...
Click to collapse
Edit the post with the method that worked for you
Dhairy said:
Not working as soon as I run the unlock.cmd file a prompt comes on the screen of the phone to press any key to shut down, after pressing any physical button it reboots to system again with no warning as bootloader unlocked
Click to expand...
Click to collapse
Got it working the problem is with adb it was installed and then I reinstalled it as given in steps, which might have broken the adb so if I performed the steps in ubuntu and everything worked perfectly. I am attaching the error images. If anyone else getting issue try uninstalling adb and drivers and then reinstalling adb and drivers.
Official way?
will there be official way?
prOzs said:
will there be official way?
Click to expand...
Click to collapse
There is official method available on asus support page for max pro m2.
Note: doing the official way there is no chance for relocking the bootloader and claiming warranty

OUTDATED***[GUIDE] Basic guide to flash a recovery and a rom via recovery in Mi A3.

This is a basic guide to flash a rom via recovery in Mi A3 as title says.
Is created to help all those that want but can't.
Please read before act, and if you don't understand....well read again.
Mi A3 is a device with treble support, and while is not difficult to flash a rom,is a little bit tricky process.
So here are the detailed steps to do achieve that.
First things first, you've got to have your bootloader unlocked. Follow below steps to do that:
-Enable developer options by going to settings/about phone and clicking 5 times on build number.
Inside developer options:
-Find and enable OEM unlocking.
-Find and enable USB debugging.
In adb tools type:
-
Code:
adb devices
reboot to bootloader.
-
Code:
adb reboot bootloader
Unlock bootloader(you will lose all your data).
Code:
fastboot flashing unlock
When the device reboot, boot once again in fastboot by powering off then power on while pressing vol down button.
Type command to full unlock bootloader.
Code:
fastboot flashing unlock_critical
Proceed to recovery flash
Notice that you've got to have all files ready, either inside external sd or in your pc. All files are at the end of this thread as links or attachments.
Also i'm suggesting OrangeFox recovery for now because is the most stable.
-First you following the orangefox recovery installation guide:
- Download the OrangeFox zip file from here or the link at the end and copy it to your device (internal or external storage)
- Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
- Open a cmd line and execute these commands (being on that folder, of course):
-
Code:
adb devices
(to make sure your device is detected)
-
Code:
adb reboot bootloader
(to reboot into fastboot mode)
-
Code:
fastboot getvar current-slot
(to check what's your current active slot)
-
Code:
fastboot set_active b
(if your active slot was a, if it was b then change it to a)
-
Code:
fastboot erase boot
-
Code:
fastboot flash boot recovery.img [b](OR WHATEVER NAME YOUR RECOVERY HAVE)[/b]
-
Code:
fastboot reboot
(NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo.
-->> By doing this your device will be forced to boot into Recovery and not into System <<--
- Install the OrangeFox zip (always install the latest build available and always keep a copy of recovery zip file in your external sd)
- Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
After orangefox recovery is installed, you are ready to flash your rom.
You can move your rom files inside your external or internal memory(prefer external to avoid deleting them accidentally).
To do that you can either do it before the whole procedure, or after the recovery installation since you have mtp and adb available.
Copy them drag them or push them via adb(i'm not going to extend the adb push command here)
Now the flashing steps:
-Go to partition manager inside orangefox recovery and select data/format data(red button) and press format.Type YES.
-Go back and find the rom file inside your target directory(internal or external).
-Select the rom file and flash it.
-DO NOT REBOOT.
-Go back where you have the orangefox zip file, select it and flash it.
-Leave the device as is because after the installation it will reboot itself to recovery once again.
-Once the recovery starts again go to the target folder that you have the remaining files.
-Flash magiskV20.zip (if you want your device to be rooted).
-Flash Gapps if there are any or skip this step if your ROM provider have them included.
-Flash patchnofde10 zip to avoid data encryption(if you don't do that the rom will NOT boot).
-Reboot to system and enjoy.
All files are available to the links below.
Patchnofde file is attached to this post.
I'm not responsible if you cause a nuclear war or your cat or dog stop talking to you.
Credtits to:
Orangefox recovery team https://orangefox.tech/
Orangefox recovery dev for Mi A3 https://forum.xda-developers.com/mi-a3/development/official-orangefox-recovery-mi-a3-t3986177
Topjohnwu for the Magisk and Magisk manger https://******************/
XDA Forum because they exist
All devs that put some hard work for you to have a custom recovery and a custom rom and all they hear is questions about ho to do things.
Respect them and read before post a questions.
:angel::angel::angel:
Thanks for the detailed guide, always good to have it :good: :good:
my device is encrypted and if I boot a recovery it shows the data encrypted. How to remove encryption ?
drozo8o8 said:
my device is encrypted and if I boot a recovery it shows the data encrypted. How to remove encryption ?
Click to expand...
Click to collapse
Read it first then do it.
Patchnofde is for the encryption.
sotmax said:
Read it first then do it.
Patchnofde is for the encryption.
Click to expand...
Click to collapse
nvm I think I got it
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Is there support for Android backup and restore
Please tell steps for the same also
As it is not working for me
Mobile is Booting to recovery again after restoring backup
ReekyMarko said:
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Click to expand...
Click to collapse
Okay I got it to boot to Havoc OS but my wifi and gsm calls stopped working. Also videos were flashing during playback. I guess I was doing something wrong during the whole flashing process and the device ended up without the correct firmware.
I have reverted back to stock using one of the fastboot ROM flashing scripts and everything is fine, though I would like to go Android 10 without GAPPS if possible.
Thank you very much for the guide. Do you recommend any backup with orange box? If I want to revert to stock rom, do I need to know something?
How could I update the ROM?
darkjm93 said:
Thank you very much for the guide. Do you recommend any backup with orange box? If I want to revert to stock rom, do I need to know something?
Click to expand...
Click to collapse
You can go back to stock by flashing stock image with mi flashtool
ReekyMarko said:
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Click to expand...
Click to collapse
That's because you didn't follow it to the letter.
You have to flash Patchnofde to boot to rom.
vishwadeepmanu said:
Is there support for Android backup and restore
Please tell steps for the same also
As it is not working for me
Mobile is Booting to recovery again after restoring backup
Click to expand...
Click to collapse
Same as above.
If you don't flash patch for the encryption, you ll end up to recovery again. Also I recommend to read carefully the steps with the recovery flashing. You have to be sure that the slot is what it was at the beginning.
A out the Android backup, yes. You can take and restore backups freely.
Hello,
@sotmax
Thank you for your guide.
@ANyOne i have unlocked the bootloader, but after that, when i'm in fastboot mode, i'm not being detected by the adb devices command. Any idea why ?
mkpanic said:
Hello,
@sotmax
Thank you for your guide.
@ANyOne i have unlocked the bootloader, but after that, when i'm in fastboot mode, i'm not being detected by the adb devices command. Any idea why ?
Click to expand...
Click to collapse
Because ADB and fastboot are different modes and using different commands. In fastboot use "fastboot devices".
_mysiak_ said:
Because ADB and fastboot are different modes and using different commands. In fastboot use "fastboot devices".
Click to expand...
Click to collapse
Thank your for the answer.
If I only want to root the stock installing Orange, this guide works?
fastboot set_active command is not working...only fastboot options are displayed..Any solution?
sibikallikkat said:
fastboot set_active command is not working...only fastboot options are displayed..Any solution?
Click to expand...
Click to collapse
fastboot --set-active=a
fastboot --set-active=b
hi, i followed the guide to flash los17 with BiTGApps.
I also flashed the nofde patch. The phones boots normaly but i have no access to internal storage. All the folders have random numbers and letters. Any ideas?

Question stuck in fastboot loop after flashing custom rom

problem: fastboot loop.
defails:
i see a quick (0.5s) poco boot logo, then it goes to fastboot mode. this happened after i flashed a custom TWRP image of an poco 3 image (alioth).
commands i ran that bricked everything:
fastboot flash boot twrp-3.7.0_12-0-alioth.img
fastboot flash boot_b twrp-3.7.0_12-0-alioth.img
Click to expand...
Click to collapse
what i tried:
- flashing official firmware with miFlash tool. i get a timeout error, nothing chages.
- flashing offical firmware via script:
F:\androidROOT\POCO-f3\alioth_eea_global_images_V13.0.8.0.SKHEUXM_20220823.0000.00_12.0_eea>fastboot erase boot_ab ||
Erasing 'boot_ab' FAILED (remote: 'unknown command')
fastboot: error: Command failed
"Erase boot_ab error"
Click to expand...
Click to collapse
pls help
you're not supposed to flash twrp to the boot partition you need a boot partition image.
the recovery is a ram disk image stored inside the boot partition.
once you fix the boot partition you can boot the img of twrp and once in twrp theres an option to flash it to the recovery ram disk.
@metalspider thanks! where can i find such an boot image? in the firmware images i found a boot.img file, is that right? i flashed it with
fastboot flash boot boot.img
Click to expand...
Click to collapse
infinite fastboot loop is fixed now. booting to twrp does not work tho.
it boots to a loading state now, but it loads infinitly.
i wiped all data in recovery mode.
so i did boot to TWRP, which does work now.
what to do now? transfere a rom via adb and custom recovery it via TWRP boot?
depends what rom you want to flash
a lot of custom roms will have you flash their boot which includes there recovery and adb sideload the rom zip from there.
some will require a specific firmware version and some even need custom vendor images etc
follow the rom you choose install instructions
mafima said:
@metalspider thanks! where can i find such an boot image? in the firmware images i found a boot.img file, is that right? i flashed it with
infinite fastboot loop is fixed now. booting to twrp does not work tho.
it boots to a loading state now, but it loads infinitly.
i wiped all data in recovery mode.
so i did boot to TWRP, which does work now.
what to do now? transfere a rom via adb and custom recovery it via TWRP boot?
Click to expand...
Click to collapse
How are you booting into TWRP?
"fastboot boot twrp.img" is the recommended way.
This will simply boot TWRP (only load it into RAM), and from inside TWRP, if you want to install it, go to Settings-page > Advanced > "Install RamDisk".
You can also use OrangeFox Recovery, it's slightly more modern and my preference.
The reason why we do it this way nowadays, is because the Boot-partition and the Recovery-partition got merged, now we only have Boot-partition. This is also why your phone stopped being able to boot. You replaced the Boot-code with just TWRP-code. However TWRP-code needs to be *patched* into the Boot-partition, meaning *added* to the Boot-code. Fastboot can only replace partitions entirely, however Recovery *CAN* modify partitions.
Hope this clears things up.
mafima said:
@metalspider thanks! where can i find such an boot image? in the firmware images i found a boot.img file, is that right? i flashed it with
infinite fastboot loop is fixed now. booting to twrp does not work tho.
it boots to a loading state now, but it loads infinitly.
i wiped all data in recovery mode.
so i did boot to TWRP, which does work now.
what to do now? transfere a rom via adb and custom recovery it via TWRP boot?
Click to expand...
Click to collapse
Fastboot is your unbricking friend, well is better than stuck in 9008 edl mode,
you could try my post,
[A13]Evolution X for POCO F3/Mi 11x[alioth][OFFICIAL]
Evolution X 7.0 for the POCO F3 [alioth] /* * Your warranty is void. Or vaild, probably? * * I am not responsible for bricked devices, dead SD cards, Ebolation X, * thermonuclear war, or the current economic crisis caused by you following *...
forum.xda-developers.com
Using parts 1,1a,1b & 2.
I hope it helps
fixed now. back to MIUI 13! oem still unlocked. but i am scared trying to root it now xD
solution:
download the firmware from official miui. extract the 4gb zip. i used alioth_eea_global_images_V13.0.8.0.SKHEUXM_20220823.0000.00_12.0_eea
copy the boot.img to ur platform tools
fastboot flash boot boot.img
use miflash tool to flash. select the folder u downloaded (alioth_eea_global_images...)
try it multiple times
mafima said:
fixed now. back to MIUI 13! oem still unlocked. but i am scared trying to root it now xD
solution:
download the firmware from official miui. extract the 4gb zip. i used alioth_eea_global_images_V13.0.8.0.SKHEUXM_20220823.0000.00_12.0_eea
copy the boot.img to ur platform tools
fastboot flash boot boot.img
use miflash tool to flash. select the folder u downloaded (alioth_eea_global_images...)
try it multiple times
Click to expand...
Click to collapse
I have rooted many phones over the years,
I follow my instructions as before, using Part 2, Part 5 & Part 6,
when rooting new roms that don`t have a useable recovery.
If i make a complete mess of my F3 then i use parts 1, 1a & 1b in fastboot mode,
Its a nice easy way to return almost to original stock with minimal effort,
I`m glad you got it sorted.

Question Soft brick?I deleted everything on my phone and unlocked it.TWRP only boots trough terminal/cmd and I can't flash it.

I have been trying for over 8 hours to fix this phone but I can't flash twrp.
when I try "fastboot flash recovery twrp.img" I get:
Writing 'recovery' FAILED(remote: '(recovery_a) No such partition')
Now I can't even install a rom,go back to the stock one or do anything.I only have the poco screen when I try to turn it on and the fastboot screen.Please help
Kasygertu said:
I have been trying for over 8 hours to fix this phone but I can't flash twrp.
when I try "fastboot flash recovery twrp.img" I get:
Writing 'recovery' FAILED(remote: '(recovery_a) No such partition')
Now I can't even install a rom,go back to the stock one or do anything.I only have the poco screen when I try to turn it on and the fastboot screen.Please help
Click to expand...
Click to collapse
If you can get into fastboot mode, use Miflash to get back to stock.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
TWRP: https://dl.akr-developers.com/?dir=skkk/TWRP/A12
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.
--------------------------------------------------------------------------------------------------------
REC VERSION
Install with TWRP.
"only boots through cmd, but can't flash it"
Use "fastboot boot twrp.img", then "Install RamDisk" in TWRP
But you don't have to install TWRP or OrangeFox to use them. You can also just boot into them.
Modern phones don't have Recovery-partition anymore, Recovery is merged into Boot-partition now. Fastboot can only replace partitions and not inject things like TWRP into it, so you have to install TWRP through a recovery, because those can patch a partition (inject TWRP).
You can flash MIUI Recovery ZIP (full, not incremental) to get back to MIUI. xiaomifirmwareupdater.com has official MIUI ROMs. You can use "adb sideload" in TWRP to install a ZIP
But since you say you wiped all or most partitions, I'd say use Mi Flash and Fastboot ROMs instead...
Kasygertu said:
I have been trying for over 8 hours to fix this phone but I can't flash twrp.
when I try "fastboot flash recovery twrp.img" I get:
Writing 'recovery' FAILED(remote: '(recovery_a) No such partition')
Now I can't even install a rom,go back to the stock one or do anything.I only have the poco screen when I try to turn it on and the fastboot screen.Please help
Click to expand...
Click to collapse
Hi,
If you have Fastboot then your in a good place, you could try temporary orangefox recovery.
You could try my post:
[A13]Evolution X for POCO F3/Mi 11x[alioth][OFFICIAL]
Evolution X 7.0 for the POCO F3 [alioth] /* * Your warranty is void. Or vaild, probably? * * I am not responsible for bricked devices, dead SD cards, Ebolation X, * thermonuclear war, or the current economic crisis caused by you following *...
forum.xda-developers.com
This is what i use to get out of boot issues, infact i have been playing around with the A13 ColorOS (OnePlus 8 Pro Port) today and after a clean install i was faced with rebooting into fastboot, i was able to access recovery but no way of installing a different rom even after changing slots A/B and stuck in FASTBOOT mode.
My get out of fastboot for free card is to install Xiaomi.eu V12 via fast boot then i`m back to almost official firmware,
I hope you sort it, I've been there many times
cyanGalaxy said:
"only boots through cmd, but can't flash it"
Use "fastboot boot twrp.img", then "Install RamDisk" in TWRP
But you don't have to install TWRP or OrangeFox to use them. You can also just boot into them.
Modern phones don't have Recovery-partition anymore, Recovery is merged into Boot-partition now. Fastboot can only replace partitions and not inject things like TWRP into it, so you have to install TWRP through a recovery, because those can patch a partition (inject TWRP).
You can flash MIUI Recovery ZIP (full, not incremental) to get back to MIUI. xiaomifirmwareupdater.com has official MIUI ROMs. You can use "adb sideload" in TWRP to install a ZIP
But since you say you wiped all or most partitions, I'd say use Mi Flash and Fastboot ROMs instead...
Click to expand...
Click to collapse
I don't have any install ramdisk anywhere
Kasygertu said:
I don't have any install ramdisk anywhere
Click to expand...
Click to collapse
TWRP > Advanced > Install RamDisk
You could've avoided making this thread by simply searching how to install TWRP on Poco F3, on YouTube.
There are so many videos about it...
Hi,
Did you have a go using my method,
1. Put your F3 into FASTBOOT mode,
1a. connect to your PC.
2. Run temporary Orangefox using, RUN_TWRP-Orange Fox FIXED.bat file.
3. After Orangefox re-boots back into recovery, from the hamburger "Menu" select, flash current Orangefox.
I`ve had some strange issue with orangefox, to fix it i reset to defaults from with-in "FOX ADDONS" in the Menu folder.
If you are struggling with installing a new rom then i would advise to go down the Xiaomi.eu V12 clean install.
Good luck.
Try my method!
1. Connect your POCO to a PC, and hold the volume down button.
2.Download the MIUI ROM from
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
2.5.Open MiFlash, select the MIUI_13.X.X folder and click OK.
3.Select flash_all.bat or flash_all_lock.bat depending if you want your device locked again or still unlocked.
4.Click Flash
5.After rebooting, you are done!
Oh wait, you dont want to flash MIUI again? Try this:
1.Download twrp_3.7.0_a12 (BUT IF THAT DOESNT WORK) download twrp_3.6.1_a11
2.Open CMD, (in the platform-tools folder) and type this:
fastboot flash boot twrp_3.x.x
(the twrp_3.x.x being the img name)
or
fastboot boot twrp_3.x.x
3.When in TWRP, erase data. REMEMBER, NEVER WIPE SYSTEM OR PERSIST!
- Tap on Wipe
- Format Data
- and for good measure, Also Swipe for a factory reset.
4.If you want to flash a custom rom, depending on what rom it is, im gonna use PixelPlusUI as an example:
adb push PixelPlusUI_2022_10_23 /sdcard
(the rom being the "PixelPlusUi_xxxxxx_23"
Its recommended to flash the newest firmware too:
adb push xiaomi_firmware /sdcard
And flashing it that way.
5 - Change the slot from A to B or from B to A depending on what you saw when you were flashing the ROM.
"FLASHING A/B ZIP TO INACTIVE SLOT: X"
6. After flashing a ROM, go to Advanced > Flash Current TWRP
7. That's it! - Reboot! but if that doesnt work, reflash MIUI.

Development [RECOVERY][OFFICIAL][TWRP-3.7.0_12] TWRP for POCO F4

Code:
*** Disclaimer ***
All flashing is done at your own risk!
While nothing from this thread should break your device,
don't come back here blaming anyone if it does!
Introduction
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and
customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to
mash. The GUI is also fully XML driven and completely theme-able. You can change just about
every aspect of the look and
Click to expand...
Click to collapse
Prerequisites:
Code:
. Unlocked Bootloader
Installation instructions:
Recovery Install Method:
Simply download the TWRP-3.7.0_12-0 from twrp website and boot it using fastboot mode, steps are mentioned below
Fastboot Boot Method:
You will need the platform-tools from the Android SDK on your computer. Download only the platform-tools according to your device to get adb and fastboot binaries.
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type
Code:
adb reboot bootloader
You should now be in fastboot mode.
Download the twrp boot image from the link given below, and copy twrp.img file into the same folder as your adb and fastboot binaries and type:
Code:
fastboot boot twrp.img
You will be booted to TWRP, from there go to advanced and then click on "Flash Current TWRP"
REMEMBER: if the device waspreviously rooted, then root has been overwritten, you need to flash the magisk zip again to retain root
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Device Changelog
Version:3.7.0_12-0:
Initial Official Release
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads
Official TWRP Website
My Telegram TWRP Support Group:
https://t.me/pocof4_recoveriesCredits:
- TWRP Team
Sources
TWRP: https://github.com/TeamWin/android_bootable_recovery
Device Tree: https://github.com/TeamWin/android_device_xiaomi_munch
Kernel Tree: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/munch-s-oss
Status: Stable
TWRP: 3.7.0_12
reserved 1
reserved 2
Build will be live on twrp.me soon
Wow nice!
Build is live
Decrypting working? Will working on future Android 13 with decrypting? I know that dev received Android 13 already
Yes decrypting working fine, even on Android 13
When I updated yesterday, I immediately flashed it without losing data. For today's update, why doesn't it turn on, you have to turn on the new data format, is there the same or a solution
Can I just boot it with fastboot and flash Magisk flashable file in order to root the phone?
I have seen videos on youtube showing exactly that, just wanted to make sure it's doable.
Just want to root the phone, do not intend to flash any rom (yet).
dreamdrake said:
Can I just boot it with fastboot and flash Magisk flashable file in order to root the phone?
I have seen videos on youtube showing exactly that, just wanted to make sure it's doable.
Just want to root the phone, do not intend to flash any rom (yet).
Click to expand...
Click to collapse
If you already have your magisk_patched.img, you can choose which method you want:
1. with Fastboot + TWRP (temporary)
fastboot boot [drag and drop recovery.img]
flash your magisk_patched.img in boot partition + check "Flash to both slots"
reboot to system
2. only Fastboot
fastboot flash boot_a [drag and drop magisk_patched.img]
fastboot flash boot_b [drag and drop magisk_patched.img]
fastboot reboot
What if I would "fastboot boot TWRP.img" and then flash Magisk flashable version checking "flash to both slots"?
dreamdrake said:
What if I would "fastboot boot TWRP.img" and then flash Magisk flashable version checking "flash to both slots"?
Click to expand...
Click to collapse
When you check "Flash to both slots" TWRP will flash the makisk_patched.img to boot_a and boot_b.
I'm not sure, but if you don't check the box, TWRP will maybe flash to inactive slot and you are NOT rooted.
Edit: You can check which slot is active with adb shell getprop ro.boot.slot_suffix
Is it possible to make a backup of the installed rom with relative restore using this official twrp? If yes, which files to select
ok... i can't access to internal storage via pc. I formated data (type yes), rebooted to recovery again and my pc sees internal storage but there is no info about size and i can't copy files to it. It shows message something like "this device is disconnected". I tried to reinstall adb drivers, tried to restart my pc and it's not working. I used adb sideload to falsh ROM and after i booted to ROM, rebooted to recovery I can access internal storage via TWRP.
Runs super laggy with kernel compiled with gcc which is very strange and annoying.
Can't access storage with PC... Disabled and enabled MTP multiple times...
I had to flash ROM via OTG...

Categories

Resources