[TUTORIAL][ZS550KL][ZS570KL/PRO] How to change device SKU to WW [29-09-2017] - Asus ZenFone 3 Deluxe ROMs, Kernels, Recoveries, &

Zenfone 3 Deluxe ZS550KL / ZS570KL / ZS570KL PRO
How to change device SKU to WW​Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about procedures,
* tools or terms in this thread before proceeding! YOU are choosing to
* make these modifications, and if you point the finger at me for
* messing up your device, I will laugh at you.
*/
The are two main reasons to change our SKU from TIM, CN or JP to WW. Firstly, the WW firmware is apparently getting OTA updates first. In second place, Marshmallow 6.0 Bootloader Unlock process requires 4.12.40.1698 firmware version and above, but only WW got the update (you may find this useless as 7.0 update is here, but some 6.0 users may need it). This will guide you in the process.
Warning!
Always have your original firmware, recovery and boot files in case things don't go as expected
Backup all of your personal data!
PLEASE MAKE SURE you are using the respective files for your CPU (ZS570KL SD820 2.15Ghz - ZS570KL PRO SD821 2.3GHz)
Prerequisites
Adb and Fastboot installed. I recommend you to install it from HERE.
Drivers installed. Try using these or Universal ADB Drivers
Python 2.X or 3.X installed.
WW target firmware. You can download it from the ASUS official website or from AndroidFileHost mirror: ZS570KL SD820 or ZS570KL PRO SD821.
Respective firmware stock recovery. You can download it from here: ZS570KL SD820 or ZS570KL PRO SD821
sdat2simg toolkit (you can find img2simg linux binary in second post).
Guide
In this case we are going to change a ZS570KL using the UL-Z016-WW-4.12.40.1698 firmware (the version needed to unlock the bootloader in Android 6.0) and it's respective recovery.
1. Extract the sdat2simg toolkit
Extract the sdat2simg_toolkit.rar and you will have this folder structure:
- sdat2simg_toolkit/
|-> bin / > necessary tools
|-> input/ > input system files
|-> output/ > output system files for flashing
|-> sdat2simg.bat > tool execution​2. Extract system files from firmware
Open the firmware zip and extract system.new.dat and system.transfer.list into the input folder.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​3. Run the tool
Now open the sdat2simg.bat file. There must no be trouble if you have properly installed python.
The tool will first convert the system.new.dat and system.transfer.list into a raw ext4 image, then it will be converted into a sparse flashable image.
When the process has finished, check the output folder. The system.img file is what we are interested in. This is our flashable system image.​4. Flash the WW system image
Now we need to reboot into bootloader mode. Turn off the device and press Volume up + Power button. Or by using adb command:
Code:
adb reboot bootloader
Now open a terminal inside output folder and flash the system image by using the fastboot command:
Code:
fastboot flash system system.img
5. Flash the WW recovery image
Then we are going to flash the WW recovery image. Open a terminal where you placed the recovery image and flash it by using fastboot command:
Code:
fastboot flash recovery Z016-WW-4.12.40.1698_recovery.img
5.a. (Optional) Flash WW boot image
You can optionally flash the WW boot image contained inside the firmware zip. Extract it, open a terminal next to the boot.img file and flash it by using the fastboot command:
Code:
fastboot flash boot boot.img
(Not tested)​6. Factory reset
Reboot your device by using fastboot command:
Code:
fastboot reboot
Wait until it boots up and power it off. Then boot to recovery mode: Volume down + Power button, wait for the "No command" sign
and keep pressed power button + tap Volume up to show the recovery menu.
To factory reset the device choose the following options:
Code:
Wipe data/factory reset
Wipe cache partition
7. Reboot!
Now you are all up! You can Reboot your device by choosing the Reboot device now option
and you will boot into your new WW firmware. If you changed to WW to unlock the bootloader now you are able to do it.
You can also download OTA updates for WW firmware or you can manually download it and place the firmware in the internal storage, reboot and a window will prompt asking to install the new firmware.​
Special thanks
@xpirt
@A.S._id

Additional Information
Building...
Building...
Building...
Building...
Building...

i need ZS550KL CN -> WW :angel:

ken2006i said:
i need ZS550KL CN -> WW :angel:
Click to expand...
Click to collapse
Just follow the steps... I have uploaded CN firmware to AndroidFileHost. I have not been able to find CN stock recovery image... but you can make a dump of yours (and share it!).. Follow this guide https://forum.xda-developers.com/showthread.php?t=2450045

Help me, please! During flash recovery appear this message: FAILED (remote: partition flashing is not allowed

elenanole said:
Help me, please! During flash recovery appear this message: FAILED (remote: partition flashing is not allowed
Click to expand...
Click to collapse
Are you flashing the stock recovery? Try flashing the system partition, reboot and the go to fastboot mode to flash the recovery.

sebastiandg7 said:
Are you flashing the stock recovery? Try flashing the system partition, reboot and the go to fastboot mode to flash the recovery.
Click to expand...
Click to collapse
Yes I want to flash stock recovery but when I try to flash system image once it went well and then when I tried to flash recovery image it came a message partition is not allowed. Now appear partition is protected.
Please you can explain well what I have to do exsactly? Sorry for my english but I thank you for help me.

sebastiandg7 said:
Are you flashing the stock recovery? Try flashing the system partition, reboot and the go to fastboot mode to flash the recovery.
Click to expand...
Click to collapse
this is error

elenanole said:
View attachment 4266710 this is error
Click to expand...
Click to collapse
Show me the exact command you are using. You must do this:
1. Flash the system.img image in the system partiton.
Code:
fastboot flash system system.img
2. Reboot your device and wait until it boots up.
3. Reboot to fastboot mode.
4. Flash the stock recovery image to the recovery partition.
Code:
fastboot flash recovery <stock recoery name>.img
If you need more help you can find me in Telegram as @sebastiandg7

hello to all the guys, before proceeding to the flash, i want to make a backup of my (TIM) recovery because i do not find it. How can I do? Where was stock WW recovery taken?
P.S. My phone is not rooted

xtia87x said:
hello to all the guys, before proceeding to the flash, i want to make a backup of my (TIM) recovery because i do not find it. How can I do? Where was stock WW recovery taken?
P.S. My phone is not rooted
Click to expand...
Click to collapse
Are you able to boot twrp recovery? (Not installing it, check this thread)

sebastiandg7 said:
Are you able to boot twrp recovery? (Not installing it, check this thread)
Click to expand...
Click to collapse
Yes, I'm able to start twrp without installing it. From here how do I save my original recovery?
edit: Sorry I made a mistake i can't boot twrp without installing... The error: FAILED (remote: unlock device to use this command) is there a way to save the recovery without unlocking the bootloader?

Hi, I've been able to make the move finally! And when it gave me a mistake, partition is not allowed was why I had to do a factory reset and clean everything because it seemed to be insufficient memory. Sorry for my english and I hope that I help you

Some one have sotck recovery Z016D_CN please give me .tks

sebastiandg7 said:
Are you able to boot twrp recovery? (Not installing it, check this thread)
Click to expand...
Click to collapse
Do I need to flash the recovery and the firmware in one go? Is there any order I must proceed in? Are you sure I don't need to unlock the bootloader first? ASUS told me the bootloader unlock app also works with my TIM branded version.
---------- Post added at 12:14 AM ---------- Previous post was at 12:10 AM ----------
Also, what do I do if I already have TIM firmware with Android 7? Can I still follow the steps in the tutorial, or how should I proceed? Can/must I downgrade to Android MM, and if yes how? Thanks in advance.

What about dat to img by stupdroid.com? Which is newer? Does it make a difference if i want to get oreo system image?
I tried both tools and dat to img by stupdroid makes a system image with 3,65 GB but sdat2simg 3,54 GB...

Related

[Q] Cant enter factory reset mode (devide turned off)

Got an LG G2 D802 which recently was stuck in fastboot only,no download mode not anything at all,
after many tries and errors i managed to boot to download mode and flash an apropriate version.
The thing is from that moment i cant seem to get in factory reset screen through Power Down + Power button as it used on the beginning i press the is im supposed and the phone just normaly boots,never get on factory reset or recovery,I can only enter the recovery via application from playstore called Reboot Recovery.
I can still factory reset from settings but i want to know why i cant enter with the other way and i think it a necessary function to have just in case.
How can i fix this in order to get in factory reset when the device is turned off?
How can i install twrp without autorec because this was the problem which bricked my phone?(download zip and install from current recovery?)which twrp do i need for the following device?
Any info on dorimanx kernel?
Android version 4.4.2
Build Number KOT49I.D80220h
kernel version 3.4.0
Model LG G2 D802
Did you use a kdz file or tot file?
scuzzo500 said:
Did you use a kdz file or tot file?
Click to expand...
Click to collapse
kdz file was it,should i reflash with a .tot file?
also my device was locked to tmobile uk and the got unlock via pin from the carrier,if i reflash it will need again to be unlocked?
watanabe32 said:
How can i fix this in order to get in factory reset when the device is turned off?
Click to expand...
Click to collapse
You're running 4.4.2 which is KitKat. KitKat Recovery is accessed by holding PWR + VOL DWN, then when the LG logo appears, switching to VOL DWN + VOL UP. You are trying the old method for Jellybean Recovery.
watanabe32 said:
How can I install TWRP without AutoRec?
Click to expand...
Click to collapse
BEFORE FOLLOWING THIS MAKE SURE YOU HAVE WORKING ADB DRIVERS INSTALLED AND CAN CONFIRM COMMUNICATION WITH YOUR PHONE VIA ADB COMMANDS!
You can install TWRP without autorec, which will result in keeping your KitKat bootloader. This method is also called BUMP. Follow my steps:
1. Download your KDZ from here. If you are already running Stock KitKat, no need.. just continue to step 2. I like to do everything from a clean/fresh installation that's all.
2. Root your stock KK with StumpROOT.
3. Download Bumped TWRP from here.
Extract the recovery.img file from the downloaded TWRP .rar archive.
4. Next we need your boot.img file currently on your phone. We can extract your boot.img to your sdcard by running the following command:
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img
Once your boot.img is on your sdcard, move it to your computer via usb or adb, your choice.
5. Download Windows BUMP Tool.
6. Bump your boot.img file with the Windows BUMP Tool. This will result in a newly created bumped.img file. Delete your original boot.img and rename bumped.img to boot.img
7. Next we need to force your phone into fastboot mode (as much as that might scare you!), we can do that by running the following command via adb/shell.
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/boot
8. BEFORE WE GO ANY FURTHER, You should have 2 files on your computer: recovery.img, and your newly renamed boot.img (bumped with the Windows BUMP Tool). Next we need to reboot the phone in order to get into fastboot mode. So, REBOOT.
9. When your device reboots it will boot into fastboot as we nullified the boot partition. We now need to connect our device via adb and run the following commands,
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
These commands require your recovery.img and boot.img to be in the same folder as your fastboot.exe file.
(See the image below for an example)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once successfully flashing your bumped recovery and bumped boot.img, run the following command:
Code:
fastboot reboot
.
That's it! You now installed TWRP without AutoRec, and kept your KitKat bootloader.
watanabe32 said:
Which TWRP do I need?
Click to expand...
Click to collapse
ALWAYS A BUMPED TWRP RECOVERY FROM HERE.
watanabe32 said:
Any info on dorimanx kernel?
Click to expand...
Click to collapse
Dorimanx Kernel works great with a KK Bootloader, BUT YOU NEED TO HAVE A BUMPED VERSION OF THE DORIMANX KERNEL. All versions of Dorimanx above 9.1 are BUMPED.
I'll try your steps when i go home,
i've got installed the minimal adb driver which i found in my search for fixi g the fastboot problem of g2 i think this will be enough right?
for the twrp recovery cant i install it via sideload?from the recovery that it has now which is not twrp/cwm,its something else i dont know what but it has wipe cache install from cache install fro sideload
watanabe32 said:
I'll try your steps when i go home,
i've got installed the minimal adb driver which i found in my search for fixi g the fastboot problem of g2 i think this will be enough right?
Click to expand...
Click to collapse
That should be okay. As long as you can use the fastboot command and fastboot.exe is present.
watanabe32 said:
for the twrp recovery cant i install it via sideload?from the recovery that it has now which is not twrp/cwm,its something else i dont know what but it has wipe cache install from cache install fro sideload
Click to expand...
Click to collapse
I have no idea, I've never used sideload before. I'm just giving you my solution to installing TWRP without AutoRec from the facts stated in your original post. We both have the D802 model and my methods above have worked flawlessly for me multiple times after reflashing a compatible KDZ. Good luck and take it slow.

[RECOVERY][TWRP][ZS570KL/PRO] TWRP Recovey for Zenfone 3 Deluxe! [29-09-2017]

TWRP Recovery for ZS570KL / ZS570KL PRO
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about procedures,
* tools or terms in this thread before proceeding! YOU are choosing to
* make these modifications, and if you point the finger at me for
* messing up your device, I will laugh at you.
*/
Download and install TWRP recovery. Special thanks to @shakalaca for the first TWRP builds for our device!
Warning!
Always have your original firmware, recovery and boot files in case things don't go as expected
Backup all of your personal data!
Prerequisites
Adb and Fastboot installed. I recommend you to install it from HERE.
Drivers installed. Try using these or Universal ADB Drivers
Download
Grab the recovery img file from any of the mirrors:
MEGA (Shakalaca builds)
AndroidFileHost
Try it!
This is for you if you just want to temporary boot into TWRP recovery without replacing your current installed recovery. In case you need to flash a single zip, or just becuase it's your will not to install it!
Connect your device to your computer and boot it into bootloader mode. Turn off the device and press Volume up + Power button. Or by using adb command:
Code:
adb reboot bootloader
Now open a terminal window inside the folder where the twrp recovery img file is placed and run the command:
Code:
fastboot boot <twrp img file name>
This command will NOT replace yout current recovery, it will temporary boot into TWRP recovery. This means once you are done using it, reboot your device and you will still have your current recovery untouched.​Install it!
In order to install TWRP and replace your current recovery follow the next instructions.
Connect your device to your computer and boot it into bootloader mode as described in the previous step. Now open a terminal window inside the folder where the twrp recovery img file is placed and run the command:
Code:
fastboot flash recovery <twrp img file name>
Done! Enjoy your fresh installed TWRP recovery!​
Reserved...
Thanks
Just a heads up, With shaka's TWRP for the zenfone 3 zs550kl, I recieved ERROR 7 when flashing the Android 7 zip file. Flashed stock recovery and everything was fine.
Tried after that to boot from TWRP and it never booted into android, gave it a good 20mins. Figured you might want this information here.
Thanks for the development!
Hello, i tried fastboot boot <twrp img file name> but FAILED (remote: bootimage: incomplete or not signed) can you help me please?
fandyrahmats said:
Hello, i tried fastboot boot <twrp img file name> but FAILED (remote: bootimage: incomplete or not signed) can you help me please?
Click to expand...
Click to collapse
This is not a boot.img, this is a recovery.
Google the steps to flashing twrp and you will find a guide for flashing the recovery.
Why i cant unlock bootloader ? I tried using from official website but i'm getting error failed map blabla. Please help
fandyrahmats said:
Why i cant unlock bootloader ? I tried using from official website but i'm getting error failed map blabla. Please help
Click to expand...
Click to collapse
try download the first image on support asus and open recovery to flash and try again
So unlocked bootloader is not needed to flash twrp and then root?
TWRP can't decrypt device even with the right password...
TWRP Version 3.2.2 released!! Thanks to @shakalaca
sebastiandg7 said:
TWRP Version 3.2.2 released!! Thanks to @shakalaca
Click to expand...
Click to collapse
is there a way to unlock the bootloader for this device? the official unlock tool doesn't work it just errors me
Karoths said:
is there a way to unlock the bootloader for this device? the official unlock tool doesn't work it just errors me
Click to expand...
Click to collapse
I did it with the official tool when I was in 6.0
sebastiandg7 said:
I did it with the official tool when I was in 6.0
Click to expand...
Click to collapse
yeah im on 8.0 and they have a tool that "works" on android 8 but it doesn't actually work and i Don't know how to unlock the bootloader any other way.
i heard some people backing down to an older android version to install twrp then going back to 8 but i don't know how to roll back
Karoths said:
yeah im on 8.0 and they have a tool that "works" on android 8 but it doesn't actually work and i Don't know how to unlock the bootloader any other way.
i heard some people backing down to an older android version to install twrp then going back to 8 but i don't know how to roll back
Click to expand...
Click to collapse
You can find me in telegram as @sebastiandg7. There I can help you more.
sebastiandg7 said:
You can find me in telegram as @sebastiandg7. There I can help you more.
Click to expand...
Click to collapse
alright i'll contact you on telegram then

[Recovery][MI 8 SE]TWRP recovery 3.2.1 For Mi8SE

Forgive My Poor English
It's For MI 8 SE (Not For MI 8)
A Chinese Developer done this
NEW VERSION IS HERE
The author's Email & Alipay Donate : [email protected]
The author's weibo :WEIBO
NEED UNLOCK BOOTLOADER and you can flash this recovery
Features and Notice:
1.Support Encrypt Data Partition
2.Support Full Size offical MIUI ROM
3.NEED UNLOCK BOOTLOADER and you can flash this recovery
4.You can ROOT(magisk is the default) or UNROOT in this recovery
...
More Partition in BACKUP/RECOVER
flash .bin & .mbn in Recovery(WARNING : DO NOT SELECT WRONG PARTITION)
...
and some other things
DOWNLOAD
DOWNLOAD LINK
HOW TO FLASH
Power off your phone and press volume down key and press power key to boot to Fastboot Mode
Download Fastboot tools...(Sorry I can't provide this tool)
open a command line(cmd or powershell in windows) and change directory to the directory where fastboot tool locate(cd PATH/TO/FASTBOOT/TOOL), then you can use fastboot simplely
use
Code:
fastboot flash recovery [PATH TO THE IMAGE FILE YOU DOWNLOADED]
to flash
then use
Code:
fastboot reboot recovery
to boot the recovery
IF YOUR BOOTLOADER IS LOCKED,but you wanna try it
You can use
Code:
fastboot boot [PATH TO THE IMAGE FILE YOU DOWNLOADED]
to boot the recovery(not flash recovery)
(not sure 100% success)
Do anything on YOUR OWN RISK
Pictures(and How to set language to English )
I'm not the Author,again..
the author is wzsx150 from LR.TEAM
If you are using Xiaomi MI 8 OR OTHER PHONE,DO NOT FLASH THIS RECOVERY IN THIS THREAD.
Pictures:
you can floow these steps to set language to English
Decrypt data partition (input your password or you cant mount data partition)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Next screen is 'Keep system partition read-only'
Left bottom is keep system RO,Right Buttom is change Language(no pic )
this is the Main screen and you can follow these steps to change Language to ENGLISH
Is there anyone, who flashed succesfully and booted in a custom rom with this recovery?
Flash the recovery is ok, but boot in a new rom with this is not working for me
You might have to disable secureboot, dm-verity
marcel112 said:
Is there anyone, who flashed succesfully and booted in a custom rom with this recovery?
Flash the recovery is ok, but boot in a new rom with this is not working for me
Click to expand...
Click to collapse
Are there custom roms yet for this device?
Puneeth 676797 said:
Are there custom roms yet for this device?
Click to expand...
Click to collapse
Unfortunately no, but as soon as development kicks in, I'll instantly buy this phone:victory:
Puneeth 676797 said:
Are there custom roms yet for this device?
Click to expand...
Click to collapse
Only one for SE is de Miui EU rom, but all the releases seem to have an issue with booting up
marcel112 said:
Only one for SE is de Miui EU rom, but all the releases seem to have an issue with booting up
Click to expand...
Click to collapse
Download EU rom again, they fixed the bootlopp today!!!
Superwitschi said:
Download EU rom again, they fixed the bootlopp today!!!
Click to expand...
Click to collapse
Are you kidding me!!
Yesterday i was trying to help them and i locked my bootloader by accident flashing using miflash.
Now have to wait 10 days to unlock again :crying::crying::crying::crying:
What about treble? We could use custom roms just like Redmi Note 5 pro with A partition support
balazs312 said:
What about treble? We could use custom roms just like Redmi Note 5 pro with A partition support
Click to expand...
Click to collapse
I have to assume this is the case. I'm planning to buy the phone within the next month.
This recovery did not work for me. I was able to flash it and run it, but could not install any roms after formatting.
Luckily the recovery made by 7to ended up working fine
https://pan.baidu.com/s/1bdVLZsydw22bkbNjCHh2CQ
oddhap said:
This recovery did not work for me. I was able to flash it and run it, but could not install any roms after formatting.
Luckily the recovery made by 7to ended up working fine
https://pan.baidu.com/s/1bdVLZsydw22bkbNjCHh2CQ
Click to expand...
Click to collapse
国内的机友吗?奇兔可以?
Hello, i was able to flash Xiaomi.eu 8.8.3 MIUI version with this TWRP, thanks author! But it seem to have problems with F2FS a was not able to format data and cache to F2FS, look at the attachment, any thoughts?
This version didn't work for flashing treble GSI, but the 7to version did.
q792602257 said:
IF YOUR BOOTLOADER IS LOCKED,but you wanna try it
You can use
Code:
fastboot boot [PATH TO THE IMAGE FILE YOU DOWNLOADED]
to boot the recovery(not flash recovery)
(not sure 100% success)
Do anything on YOUR OWN RISK
Click to expand...
Click to collapse
Has anyone tried to flash TWRP without unlocking the Mi8? (i'll try with v3.2.3)
Can I brick my phone if I try?
Does it include a function to resize system partitions?
If I get to flash it with the bootloader locked.... Will I be able to further flash any ROM without unlocking?
Can I also flash TWRP with MiFlash?
Regards
skanskan said:
Has anyone tried to flash TWRP without unlocking the Mi8? (i'll try with v3.2.3)
Can I brick my phone if I try?
Does it include a function to resize system partitions?
If I get to flash it with the bootloader locked.... Will I be able to further flash any ROM without unlocking?
Can I also flash TWRP with MiFlash?
Regards
Click to expand...
Click to collapse
Not Recommend to modify anything before unlock bootloader
If you just do without modify anything except /data/, it will be fine(try it without flash it)
This Recovery is for Mi8 SE(SE,NOT MI8), and THIS recovery doesnt have a function to resize system partition
you can flash mi8's twrp recovery without unlock(technically,NOT SURE 100% SUCCESS) flash it via recovery(boot the recovery ,and flash recovery in recovery )
You can flash any third party rom Until you unlock bootloader (or flash modified bootloader like this (not let you flash this))
You can flash any recovery via MiFlash(in fastboot(not sure) mode or in 9008 flash mode),it will not check your files(NOT SURE it will boot successfully)
q792602257 said:
you can flash mi8's twrp recovery without unlock(technically,NOT SURE 100% SUCCESS) flash it via recovery(boot the recovery ,and flash recovery in recovery )
Click to expand...
Click to collapse
I don't understand, Do I need to flash the recovery twice?
skanskan said:
I don't understand, Do I need to flash the recovery twice?
Click to expand...
Click to collapse
First you use
fastboot boot [recovery file]
to boot recovery(now the phone goes into recovery)
then use the recovery(you booted) flash the recovery fileinto your phone(you selected recovery file will replace the stock one)
TECHNICALLY, it will successfully flash in and work fine(not fine for miui's ota)
q792602257 said:
First you use
fastboot boot [recovery file]
to boot recovery(now the phone goes into recovery)
then use the recovery(you booted) flash the recovery fileinto your phone(you selected recovery file will replace the stock one)
TECHNICALLY, it will successfully flash in and work fine(not fine for miui's ota)
Click to expand...
Click to collapse
Do this work and can you flash gsi roms nevertheless bootloader is locked ?
Hadi2312 said:
Do this work and can you flash gsi roms nevertheless bootloader is locked ?
Click to expand...
Click to collapse
bootloader must be unlocked

[OFFICIAL][R10.0][Stable] OrangeFox Recovery Mi A3 [laurel_sprout]

OrangeFox Recovery Project
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Redwolf fork​
Code:
/*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
OrangeFox is FREE SOFTWARE​
Supports Treble, Miui, Custom Roms
Download:
Stable Builds
OrangeFox Recovery R10.0_2.1 [Latest]
INSTALLATION:
1- How to install OrangeFox Recovery ?
Method-1=
1. Download the OrangeFox zip file and copy it to your device (internal or external storage)
2. Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
3. Open a cmd line and execute these commands (being on that folder, of course):
- adb devices (to make sure your device is detected)
- adb reboot bootloader (to reboot into fastboot mode)
- fastboot getvar current-slot (to check what's your current active slot)
- fastboot set_active b (if your active slot was a, if it was b then change it to a)
- fastboot erase boot
- fastboot flash boot recovery.img
- 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)
4. When OrangeFox recovery boots, if you have the stock boot.img that matches the build on this "currently active" slot, flash it into boot partition. If you don't have, then just ignore this step...(it's not mandatory)
5. Install the OrangeFox zip (always install the latest build available)
6. 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)
7. Reboot to System
8. Enjoy!
Method-2=
0. Backup your ROM and all your files
1. Download the OrangeFox zip file to your device
2. Reboot to your custom TWRP-based Recovery
3. Install the OrangeFox zip file as a normal zip
4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
5. Enjoy!
2 -How to flash rom(s) using OrangeFox Recovery:
1. Format data (TIPPING YES).
2. Flash rom zip (PE, BEAST, ATOM
ETC...)
3. Flash OrangeFox-Recovery.zip again. ( INSTALLER, THE PHONE WILL REBOOT TO ORANGE RECOVERY (IF YOU DONT FLASH THIS AGAIN, RECOVERY WILL DISAPPEAR)
4. Flash Magisk v20.
5. Flash Gapps (optional).
6. Flash Patch_no_fde.
Frequently Asked Questions, MIUI OTA, Troubleshooting, and Sundry Information:
* See https://forum.xda-developers.com/showpost.php?p=76885728&postcount=3
Credits
* TeamWin - for TWRP
* The OrangeFox Team - for your hard work
* ATG and Dadi11 - for Redwolf
* Kirillmaster4 - for graphics
* z31s1g - for TWRP theme
* @mauronofrio - for the decryption on Mi A3
* All our helpers and testers ( @prakaship78 , @nelinthon_Kekis , @Dvyhrs , @ihsaneDZ and the others ) - for your patience and help
FEATURES:
* Supports Treble and non-Treble ROMs
* Up-to-date Oreo kernel, built from sources
* Increased compatibility with TWRP
* Updated with latest TWRP commits
* Built-in support for installing init.d functionality
* Built-in support for installing Magisk
* AromaFM [only for some devices]
* Password
* Support for Miui and Custom ROMs
* Better language support
* Optimized versions of community scripts
* Fox theme engine:
- choice of theme (black, dark, etc)
- choice of color scheme
- choice of splash screen
* Alternative lockscreen
* And many more!
Screenshots - see below
Visit to https://orangefox.tech/
Finally,now we can see some roms for this device
Thanx alot to all creators and supporters
Any rom there for orange fox or still only fastboot Roms?
And big thx for the recovery works like a charm
But i don't flash any rom for now
dennis46419 said:
Any rom there for orange fox or still only fastboot Roms?
And big thx for the recovery works like a charm
But i don't flash any rom for now
Click to expand...
Click to collapse
Pixel experience now has a recovery flashable zip
trkzmn said:
...bla bla bla...
INSTALLATION:
Method-1=
1. Download the OrangeFox zip file, copy to your computer and your device.
2. Unpack the zip and input recovery.img to your pc desktop.
3. Open cmd and give this command "fastboot flash boot recovery.img"
4. Reboot to recovery.
5. When boot orangefox recovery install > OrangeFox-R10.0_2-laurel_sprout.zip [Download Latest Build] .
6. Enjoy
...bla bla bla...
Click to expand...
Click to collapse
Hello!
Thanks for your work, truly appreciate it.
Could you update the OP with the install method that I'm going to describe next? It's just to avoid future complications (lost of Wi-Fi, sound, etc...) for Noob users.
Download the OrangeFox zip file 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):
adb devices (to make sure your device is detected)
adb reboot bootloader (to reboot into fastboot mode)
fastboot getvar current-slot (to check what's your current active slot)
fastboot set_active b (if your active slot was a, if it was b then change it to a)
fastboot erase boot
fastboot flash boot recovery.img
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)​
When OrangeFox recovery boots, if you have the stock boot.img that matches the build on this "currently active" slot, flash it into boot partition. If you don't have, then just ignore this step...(it's not mandatory)
Install the OrangeFox zip (always install the latest build available)
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)
Reboot to System
Enjoy
Why do I suggest this? Well, please read the hidden content:
By doing this method (which seems more complicated but I've tried my best to explain it as if I were explaining it to a 4 years old kid...) we will flash the recovery.img into the "inactive" slot, thus, not breaking anything on the "currently active" slot. When OrangeFox boots, it will patch both slots boot ramdisks. But the thing is, on the "currently active" slot (the one inactive on the beginning) it will patch the recovery.img but, on the "currently inactive" slot (the one that was active on the beginning), it will patch the stock boot.img, thus, no bug will happen that usually appears when a user accidentally flashes the wrong boot.img into boot partition. On the other hand, if we have the stock boot.img, that matches the build on the "inactive" slot, we could flash it into boot partition before installing the zip that patches ramdisk. By doing this we will patch both stock boot.img present on both slots (instead of patching recovery.img and boot.img).
Cheers!
---------- Post added at 12:04 ---------- Previous post was at 11:16 ----------
Hello....again...
I've just tested the install method that I've explained but, unfortunately, it's not working.
OrangeFox recovery only boots if the installer zip is run through TWRP...don't really know why since I've tested a lot of times doing this exact same method with TWRP recovery, and it's working. It should be working here as well.
Anyway the OF recovery boots but I think that it does not decrypt data. It doesn't gets frozen on the welcome screen (like before) but it doesn't decrypt (I see all the files with the "weird" names). This, of course, is only bad for those who want to remain on stock ROM. For anyone who wants to move on to custom ROMs, just format user data and your set to go.
Cheers!
OrangeFox Recovery R10.0_2.1 Changes
* Fix stuck in fastboot mode after flashing OrangeFox with fastboot
Post Changes
1. OrangeFox recovery installation made easier with explanations (Thanks to @Typhus_)
2. Custom rom install method added (Thanks to @nelinthon)
Hi all, can we do a backup of all data (system, boot...) And restore with orangefox?
I'm afraid to test any rom and not to be able to return to the original configuration... I have the 5 october update
Shineali said:
Hi all, can we do a backup of all data (system, boot...) And restore with orangefox?
Click to expand...
Click to collapse
Yes you can.
Shineali said:
I'm afraid to test any rom and not to be able to return to the original configuration... I have the 5 october update
Click to expand...
Click to collapse
Follow the install custom rom steps. If you still have problem with it take recovery.log and send me
trkzmn said:
Yes you can.
Follow the install custom rom steps. If you still have problem with it take recovery.log and send me
Click to expand...
Click to collapse
Ok thanks!!!
Anyone fix this error
There is recovery.img
I already changed name to .img and then try..but nothing happened
RJ- said:
Anyone fix this error
Click to expand...
Click to collapse
RJ- said:
There is recovery.img
I already changed name to .img and then try..but nothing happened
Click to expand...
Click to collapse
On the first image your running commands on "C:\Program Files\Minimal ADB and Fastboot" folder.
On the second image your showing the files on "C:\adb" folder.
You must run the commands on the folder where you have the img file stored! Rename the file!!? WTF!?
Besides, you didn't read the instructions carefully, not only your running the command to change slot wrong but, also, you've tried to flash recovery.img into currently active slot before trying to change slot (based on your command history on first image).
PLEASE!
If you're not comfortable doing these simple steps, or if you don't have patience to read all instructions carefully, then just DON'T DO ANYTHING!!
People with this kind of behavior are the main reason why most devs often just drop development. How will you be able to successfully flash a ROM and/or report true bugs, if you're not able to just execute simple commands that have been explained step by step? Maybe my instructions weren't clear enough....perhaps I should have start the steps with:
"Turn on your computer";
"Put your hands on your keyboard and mouse";
"Login to your account";
etc....
ALSO, the recovery on the OP has been updated. Even if you did everything correctly you would end up on fastboot since your trying to flash the wrong OF version!
Please, search, please read, please...USE YOUR BRAIN!
Thanks
Hi I tried to install but i get an error during orangefox first boot there's no option to install orangefox....zip ot seems like the files were encrypted. They have a strange names...
It could be that didn't give permission to write? O do the steps again bit didn't ask me for permission.
Thanks in advance.
Shineali said:
Hi I tried to install but i get an error during orangefox first boot there's no option to install orangefox....zip ot seems like the files were encrypted. They have a strange names...
It could be that didn't give permission to write? O do the steps again bit didn't ask me for permission.
Thanks in advance.
Click to expand...
Click to collapse
Seems files are encrypted.
- Format data
- Flash OrangeFox.zip
RJ- said:
Anyone fix this error
Click to expand...
Click to collapse
Don't use minimal adb, try to use platform tools for windows.
Can Orangefox recovery support for OTA updates in MiA3???
ricky9779 said:
Can Orangefox recovery support for OTA updates in MiA3???
Click to expand...
Click to collapse
No rom for this device has ota support yet anyway. And if you mean ota for stock rom then definitely not as you need stock boot.img for stock ota or it won't work
Website and download link down at the moment or it is just for me?

I Cant install twrp on my moto g6 plus!

Hello every one!
i cant install my twrp and i need help
C:\Users\admin\OneDrive\Desktop\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
(bootloader) slot-suffi: not found
target reported max download size of 536870912 bytes
sending 'recovery' (29252 KB)...
FAILED (remote: unknown command)
finished. total time: 0.003s
the file what i used
https://eu.dl.twrp.me/evert/twrp-3.2.3-0-evert.img.html (i renamed file name to twrp.img)
UPDATE!!!!!!!!
i have boot file but i cant install twrp permanently
UPDATE 2!!!!!!!
my computer does not recognize my phone
Install LineageOS on evert | LineageOS Wiki
wiki.lineageos.org
I don't have the device, but the manual says to flash to the boot partition, not to recovery.
ze7zez said:
Install LineageOS on evert | LineageOS Wiki
wiki.lineageos.org
I don't have the device, but the manual says to flash to the boot partition, not to recovery.
Click to expand...
Click to collapse
ok i will try
Seems you have downloaded the website instead of the recovery
(Therefore the ending with *.html. Changing the filename won't change the filetype...)
On your mentioned website, click on the download-link which is named
Download twrp-3.7.0_9-0-evert.img​Now you should get a file, which is really a *.img
ze7zez said:
Install LineageOS on evert | LineageOS Wiki
wiki.lineageos.org
I don't have the device, but the manual says to flash to the boot partition, not to recovery.
Click to expand...
Click to collapse
it didnt work
chrysopra said:
Seems you have downloaded the website instead of the recovery
(Therefore the ending with *.html. Changing the filename won't change the filetype...)
On your mentioned website, click on the download-link which is named
Download twrp-3.7.0_9-0-evert.img​Now you should get a file, which is really a *.img
Click to expand...
Click to collapse
i can just delete ".html" in my link or add it to yours so tell me how does it works?
just saying
For me the easiest way to install twrp and not break anything is to download the installer zip and img rename the img to twrp.img then copy the installer zip to sd card and use "fastboot boot twrp.img" while in fastboot then click on install and install the zip.
Perhaps you could try downloading fom an alternative site:
Download TWRP for evert
Download TWRP Open Recovery for evert
dl.twrp.me
I wonder, if you got a complete file. Download-size is 32.5 MB. Sending recovery command gave a lower value (29252 KB) . Maybe itś correct and there is some file-overhead, but itś worth a try...?
10Maximus10 said:
For me the easiest way to install twrp and not break anything is to download the installer zip and img rename the img to twrp.img then copy the installer zip to sd card and use "fastboot boot twrp.img" while in fastboot then click on install and install the zip.
Click to expand...
Click to collapse
i tryed to boot twrp but it didnt work
Unknown_PL said:
i tryed to boot twrp but it didnt work
Click to expand...
Click to collapse
Uninstall Minimal ADB and Fastboot, check if you have unlocked the bootloader and use >Google platform-tools<.
In addition to the comment "does not work", include the results of your commands.
Nobody but you can see them.
Unknown_PL said:
Hello every one!
i cant install my twrp and i need help
Click to expand...
Click to collapse
Yeah flashing twrp on boot worked, but now i cant turn on system
I recently ran into a similar situation. Try booting into recovery. In TWRP check if the Folder "data" is mounted. On my device, the 3.7.0 had problems. Formatting data as ext2 and back to ext4 made it readable, although of course formatting deleted all data. That worked until the next boot...
Solution was, to flash an older version of TWRP (3.2.x), afterwards it could be reflashed with the most recent version which now worked without problems.
Also, on some systems, if you flash TWRP once and try to reboot into System, the boot partition is being "repaired" by your system an TWRP is gone...
chrysopra said:
I recently ran into a similar situation...
Click to expand...
Click to collapse
then what i need to do?
use 3.2.3-0 and flash it to the boot?
Exactly. Flash 3.2, reboot into recovery. Within TWRP you can mount USB drive, which lets you easy install anything else. (TWRP 3.7, root, ROM...)
Unknown_PL said:
use 3.2.3-0 and flash it to the boot?
Click to expand...
Click to collapse
Did you ever heard of A/B slots? The Moto G6+ uses A/B slots and does not have a partition /recovery. Of course there is a recovery but it 's merged in the boot.img. So the boot.img is able to boot into recovery and also into system.
Your TWRP image is recovery only and isn't able to boot into system!
***
What will happen when flashing TWRP to partition /boot?
In that case your boot.img = twrp.img and will only boot into recovery.
How to install TWRP permanently on your device?
First of all you should have a look at https://twrp.me/motorola/motorolamotog6plus.html
TWRP provides an installation guide for every device and it´s recommended to follow these steps.
***
Here´s a more detailed guide:
1. In your case you have to restore the boot.img since it got overwritten by flashing your twrp.img to /boot.
If available use a backup of /boot. Otherwise flash the stock boot.img from your current running firmware version. Firmware builds can be found here:
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors.lolinet.com
(take care of your software channel, i.e. RETUS)
*** Be aware that by flashing your stock boot.img Magisk will be deinstalled from ***
your device and as a result of this you will LOOSE ROOT ACCESS!! ​
2. Run
fastboot boot <TWRP.IMG>
3. On TWRP main screen go to Advanced => Install Recovery Ramdisk and pick the twrp.img:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WoKoschekk said:
Did you ever heard of A/B slots? The Moto G6+ uses A/B slots and does not have a partition /recovery. Of course there is a recovery but it 's merged in the boot.img...
Click to expand...
Click to collapse
Yeah I think that will work but you need other link beauce that one twrp link is not working
Can I try it on normal evert twrp link?
And what one folder (from lolnet) should I pick?
Unknown_PL said:
Yeah I think that will work but you need other link beauce that one twrp link is not working
Click to expand...
Click to collapse
It's fixed.
Unknown_PL said:
And what one folder (from lolnet) should I pick?
Click to expand...
Click to collapse
It depends on your software channel:
RETAIL = general software build, w/o any region
RETUS = builds for U.S. region
RETIN = builds for India region
...and so on.
Beside that, there are also builds for carrier branded phones.
To find your software channel:
a) Open a terminal app and run
getprop ro.carrier
b) settings > about the phone > software channel
c) fastboot getvar all has also an entry for that, but I don't know exactly what name it is.
d) the specific model no.: XT1926-???
The last digit depends on your software channel.
WoKoschekk said:
It's fixed.
It depends on your software channel...
Click to expand...
Click to collapse
Well I booted twrp and install recovery rom but what file from lolnet should I pick i know what folder but where are 4 files and I don't know what I need to do
Unknown_PL said:
but where are 4 files and I don't know what I need to do
Click to expand...
Click to collapse
I don't know what you mean. What folder? Which 4 files? The downloaded firmware is a ZIP file with one folder inside. Inside that folder are more than 20 files.
WoKoschekk said:
I don't know what you mean. What folder? Which 4 files? The downloaded firmware is a ZIP file with one folder inside. Inside that folder are more than 20 files.
Click to expand...
Click to collapse
sorry i mean there not were and i used RETEU and there is 5 files

Categories

Resources