Related
1. First Turn off your Device (If you can't then Drain The Battery)
2. HOLD Volume Down & Connect to USB ( Now your phone will boot to fastboot )
3. DOWNLOAD ADB & Fastboot on your Computer. Link - https://mega.nz/#F!sSZDmYiA!RnMmcG88-nvqQj7UNPrPZw
4. Extract your stock firmware via Huawei UPDATE.app Extractor Software (Recovery only)
If you're on Marshmallow Before then extract Marshmallow Firmware
If you're on Nougat Before then extract Nougat Firmware
Huawei UPDATE.app Extractor Software
Link - https://mega.nz/#F!JGh2QLYD!Z1OG8HtbWt1i4XvL6WOt3Q
Now Copy Recovery AND paste into ADB & Fastboot FOLDER
Now DOWNLOAD TWRP
If you're on Marshmallow Before than DOWNLOAD From this link
https://dl.twrp.me/eva/twrp-3.1.1-0-eva.img.html
If you're on Nougat Before than DOWNLOAD From this link
https://mega.nz/#!1HoVmDoa!9ifPg7yfEKfCRfbVI04Qvsbt49PAjA3MO72RoD4EPnc
Now Copy twrp AND paste into ADB & Fastboot FOLDER & Rename twrp
5. Open ADB & Fastboot FOLDER
6. HOLD Shift Key & Right Click on empty place of this FOLDER
7. Click on OPEN COMMAND WINDOW HERE
8. Type - fastboot oem unlock (UNLOCK KEY) --- Skip this step if your BOOTLOADER is UNLOCKED
Now press Enter Key
9. Type - fastboot flash recovery Recovery.img
Now press Enter Key
10. Type - fastboot flash recovery twrp.img
Now press Enter Key
11. Now HOLD Volume Up & Power Button AND Release Volume Up Button when you see Huawei Logo & Just HOLD Vol Up
12. Now flash custom rom
If you're on Marshmallow Before than DOWNLOAD From this link
https://www.androidfilehost.com/?fid=457095661767122613
If you're on Nougat Before than DOWNLOAD From this link
https://www.androidfilehost.com/?fid=889764386195922724
13. Now DOWNLOAD Stock firmware (If you ALREADY DOWLOAD it then skip this step)
14. Extract Your Firmware Copy dload FOLDER & Paste into root Directory of your Memory CARD
15. Go to twrp - wipe - swipe to factory
16. Turn off your phone
17. HOLD Volume Up & Down also Power Button until your Device boot to DOWNLOAD MODE
Now your stock firmware will be installED
Enjoy you unbrick your Huawei P9
Hit the thanks :good: button if you Happy to My Work
Note — If you didn't to use Huawei UPDATE.app extractor Software then check this link
If you didn't now how to flash a custom rom then you should learn it before flashing
Hi,
I was on B386 before (Nougat)
Flashing RR-N-v5.8.4 gives this error:
Can't install this package on top of incompatible data. Please try another package or run a factory reset.
Updater process ended with ERROR 7
Any idea ?
Thanks !
PS : This error also prevents me to install B390, B383, B182. Only B360 can be installed from TWRP.
XavierP56 said:
Hi,
I was on B386 before (Nougat)
Flashing RR-N-v5.8.4 gives this error:
Can't install this package on top of incompatible data. Please try another package or run a factory reset.
Updater process ended with ERROR 7
Any idea ?
Thanks !
PS : This error also prevents me to install B390, B383, B182. Only B360 can be installed from TWRP.
Click to expand...
Click to collapse
Try to install Lineage 14.1
problem
my p9 i do the things as you saying but it when it goes on fastboot stack on screen your devise is booting now...wont open and at adb says waiting for devise nothing else what to do ?
To get into fastboot mode you keep the phone plugged into computer and hold power and volume down until you get to the white fastboot screen.
There is no need to wait for the battery to drain as you can just force shut down a phone using power + volume down holding.
Huawei p9 EVA-L09
Hi there, i am having an issue when flashing RECOVERY or any .IMG into my phone... It is in fastboot mode And i am getting an error when flashing img file , Error : Command Not allowed ...... YES i know what ur going to say (Enable OEM unlock)or(Enable usb debugging in setting) But the problem is that I cannot boot into OS nor recovery, I am stuck on the (Your Device is unlocked and can't be trusted (1)Press power key to continue ECT..... Is there any way Beside Enabling OEM unlock method to fix this or enabling me to gain access to flash recovery or any img file without Command not allowed error ?Ive recently Installed this rom https://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269 idk if that is part of the Issue Would be Much appreciated for the help
Forgot to mention that doing the 3 buttom method to restore using DLOAD , I get stuck on the HUAWEI logo and doesnt seem to boot into the Updating state.
Follow my guide, post #7! Leave feedback and a thanks!
https://forum.xda-developers.com/showpost.php?p=74169408
phone is booting but screen doesnt turn on
the phone is booting and dload method is working but the issue is the screen is just blank after huawei logo but is not in loop as it is not booting continuosly its blank forever
nothing helps
Hi
I came here because i tried to install miui on my P9 via trwp , somehow it wasnt mountable and after searching the internet i found the solution was to change the filetype.
Sadly i forgot that this would delete my backup, which happened and the miui still wasnt mountable.
I tried your method but after a few miliseconds of the forced update it gets an error and stops.
Or lets say i tried your method while being in trwp recovery mode because otherwise no devices are being detected by adb tool.
i tried to install a p9 stock rom but i cant even mount that one, somehow nothing works.
I seriously dont know what to do anymore.
Try this...
Try to flash downgrade firmware...
Rollback Instructions
Step 1. Download the appropriate rollback firmware
Step 2. Copy the extracted dload folder to the external storage of your phone (micro sd card).
Step 4. Disconnect the USB cable and turn your phone off.
Step 5. Now hold Volume up + Volume down + Power buttons until the installation screen appears.
Step 6. When the phone restarts after completing the installation, your firmware version should now be “B300”.
Step 7. Try to find oldest marshmallow firmware and flash it using same way...
I want to android 6.0 as twrp. How ? Pls
That is only for unlocked bootloader??
Link in Step 12 for Nougat s broken
JaayTee said:
Hi there, i am having an issue when flashing RECOVERY or any .IMG into my phone... It is in fastboot mode And i am getting an error when flashing img file , Error : Command Not allowed ...... YES i know what ur going to say (Enable OEM unlock)or(Enable usb debugging in setting) But the problem is that I cannot boot into OS nor recovery, I am stuck on the (Your Device is unlocked and can't be trusted (1)Press power key to continue ECT..... Is there any way Beside Enabling OEM unlock method to fix this or enabling me to gain access to flash recovery or any img file without Command not allowed error ?Ive recently Installed this rom https://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269 idk if that is part of the Issue Would be Much appreciated for the help
Forgot to mention that doing the 3 buttom method to restore using DLOAD , I get stuck on the HUAWEI logo and doesnt seem to boot into the Updating state.
Click to expand...
Click to collapse
Same problem plzzzzzzzzzz help!!!!
I can't access anything but "your device is booting now" screen - after this phone automaticly shuts down
pls help!!!
Trying to follow the guide but cannot even get to fastboot mode.
Trying to follow the guide but cannot even get to fastboot mode.
With phone off and pressing down-vol and power, it gets straight to:
Func NO: 11 (recovery image) Error NO: 2 (load failed!)
Am i doing something wrong? Help appreciated.
Cheers
Bricked p9
Blak Rider said:
Same problem plzzzzzzzzzz help!!!!
Click to expand...
Click to collapse
JaayTee said:
Hi there, i am having an issue when flashing RECOVERY or any .IMG into my phone... It is in fastboot mode And i am getting an error when flashing img file , Error : Command Not allowed ...... YES i know what ur going to say (Enable OEM unlock)or(Enable usb debugging in setting) But the problem is that I cannot boot into OS nor recovery, I am stuck on the (Your Device is unlocked and can't be trusted (1)Press power key to continue ECT..... Is there any way Beside Enabling OEM unlock method to fix this or enabling me to gain access to flash recovery or any img file without Command not allowed error ?Ive recently Installed this rom https://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269 idk if that is part of the Issue Would be Much appreciated for the help
Forgot to mention that doing the 3 buttom method to restore using DLOAD , I get stuck on the HUAWEI logo and doesnt seem to boot into the Updating state.
Click to expand...
Click to collapse
Hello
I have exactly the same problem.
OTA with dload doesnt work - dont load ota recovery,just huawei logo loop
fastboot recovery is booted, but when I try steps in main thread I getting Error : Command Not allowed even if I try unlock the bootloader.
Do have somebody solution for it? Every idea is good. I dont want to put this phone to the trash
Thank You
mdoom said:
Hello
I have exactly the same problem.
OTA with dload doesnt work - dont load ota recovery,just huawei logo loop
fastboot recovery is booted, but when I try steps in main thread I getting Error : Command Not allowed even if I try unlock the bootloader.
Do have somebody solution for it? Every idea is good. I dont want to put this phone to the trash
Thank You
Click to expand...
Click to collapse
In Fastboot, is it FRP locked and/or Bootloader locked?
zgfg said:
In Fastboot, is it FRP locked and/or Bootloader locked?
Click to expand...
Click to collapse
both are locked.
When i try to unlock bootloader,i getting the error message.
FRP lock is not possible to unlock becouse phone dont wont start.
any chance?
mdoom2 said:
both are locked.
When i try to unlock bootloader,i getting the error message.
FRP lock is not possible to unlock becouse phone dont wont start.
any chance?
Click to expand...
Click to collapse
That's the problem, when playing with ROMs you must take carw that you keep OEM Unlocked.
Maybe DC-Unlocker (paid) can help
https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
Update:
I've got my phone back thanks to this post! https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
--------------------------------------[/B]-----------------------------------------------------------------------------------------------------------------------------------------------
I successfully upgraded my NXT-L29 to Oreo, using the files in this post: https://forum.xda-developers.com/mate-8/general/discussion-oreo-huawei-mate-8-t3785320
(Only difference: used another TWRP version - twrp-3.1.1-1-next.img - since the one in this post didn’t work).
Though my phone worked, it was unrooted again and I tried to solve it by flashing TWRP again. It didn’t work, so I tried flashing TWRP-3.1.0-EMUI-5.0.img. Here’s where everything went wrong.
I get:
ERROR MODE, Please update system again!"
Error! Func: NO: 11 (recovery image)
Error NO: 2 (load failed!)
Here’s what I still can do:
- Get into Fastboot – Bootloader and FRP both Unlocked
- Use ADB
- Get into eRovery
- Get into EMUI update
- Flash TWRP, SYSTEM.img and BOOT.img
What I can’t do:
- Access my phone – get or one of the two yellow messages or Error Mode or Fastboot
- Connect to HiSuite
- Acces Wipe Partion, Factory Settings
- Boot into TWRP
- Flash any Recovery (partition: (length) error, or Cannot load Recovery). No matter what command I try. Fastboot flash recovery_ramdisk RECOVERY.img doesn’t work either.
- Find a RAMDISK.img in the Update.app. Flashing the SYSTEM, CUST and BOOT.img won’t do the trick with rebooting volume up + volume down + power. EMUI update states: Software install failed!
- Use eRovery. Recovery fails every time after 7%
- Find the current Build Number, since there’s no way of getting passed the two yellow messages or Error Mode or Fastboot
I’ve been up till 5 in the morning, trying to solve this without success. Think I’ve tried a 100 commands and methods. Is there anyone who has a solution? I’m really desperate by now.
HQuinn said:
I successfully upgraded my NXT-L29 to Oreo, using the files in this post: https://forum.xda-developers.com/mate-8/general/discussion-oreo-huawei-mate-8-t3785320
(Only difference: used another TWRP version - twrp-3.1.1-1-next.img - since the one in this post didn’t work).
Though my phone worked, it was unrooted again and I tried to solve it by flashing TWRP again. It didn’t work, so I tried flashing TWRP-3.1.0-EMUI-5.0.img. Here’s where everything went wrong.
I get:
ERROR MODE, Please update system again!"
Error! Func: NO: 11 (recovery image)
Error NO: 2 (load failed!)
Here’s what I still can do:
- Get into Fastboot – Bootloader and FRP both Unlocked
- Use ADB
- Get into eRovery
- Get into EMUI update
- Flash TWRP, SYSTEM.img and BOOT.img
What I can’t do:
- Access my phone – get or one of the two yellow messages or Error Mode or Fastboot
- Connect to HiSuite
- Acces Wipe Partion, Factory Settings
- Boot into TWRP
- Flash any Recovery (partition: (length) error, or Cannot load Recovery). No matter what command I try. Fastboot flash recovery_ramdisk RECOVERY.img doesn’t work either.
- Find a RAMDISK.img in the Update.app. Flashing the SYSTEM, CUST and BOOT.img won’t do the trick with rebooting volume up + volume down + power. EMUI update states: Software install failed!
- Use eRovery. Recovery fails every time after 7%
- Find the current Build Number, since there’s no way of getting passed the two yellow messages or Error Mode or Fastboot
I’ve been up till 5 in the morning, trying to solve this without success. Think I’ve tried a 100 commands and methods. Is there anyone who has a solution? I’m really desperate by now.
Click to expand...
Click to collapse
Hi.
According to your post, you flashed TWRP-3.1.0-EMUI-5.0.img then got the problems .
Did you try to flash stock recovery by adb?
You can find it in original ROM files
afromoh said:
Hi.
According to your post, you flashed TWRP-3.1.0-EMUI-5.0.img then got the problems .
Did you try to flash stock recovery by adb?
You can find it in original ROM files
Click to expand...
Click to collapse
Yes, I've tried that about a million times. Everything worked, except flashing the (stock) recovery.
I'm really sorry for my late reply. I've been very ill. Luckily the problem is solved and I've got my phone back. Thanks to Georgian51 who suggested this post: https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279.
That did the trick! Thanks for your reply
Hi, I am writing this guide because many people followed other guides in the forum and lost their data. This is the proper way of unlocking the bootloader without losing your data.
0 - Read the whole guide before proceeding and proceed at your own risk!
1 - Make sure you have adb and fastboot installed on your device,
For Windows follow this guide (I suggest installing it system-wide, so that you can execute commands from every directory on your PC): https://forum.xda-developers.com/showthread.php?t=2588979
For MacOS and Linux : https://www.xda-developers.com/install-adb-windows-macos-linux/
2 - After the required tools are installed go to Settings -> About Phone on your phone and keep tapping on build number until a toast notification tells you that the developer settings are enabled.
3 - Go to Settings -> System -> Developer Settings and enable OEM unlocking option.
4 - Turn off the phone and when it's fully off, hold power + vol down button to boot into fastboot mode. When you've done this step successfully, you will see a blue FASTBOOT text on the screen with a bunny scrambling the internals of Android.
5 - Connect your phone to your PC and open a CLI/terminal/PowerShell window and type this but do NOT hit enter :
Code:
fastboot oem unlock
when you are ready to execute the command, start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again. This basically tricks the phone to boot into Fastboot mode instead of erase mode. To make sure the phone doesn't boot into erase mode on the next boot you need to do the following:
6 - While in fastboot mode type this into the CLI/terminal/PowerShell window but do NOT hit enter :
Code:
fastboot reboot
when you are ready to execute the command, start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again.
7 - Now you are ready to boot into your system. Either boot by holding power button or typing
Code:
fastboot reboot
into the terminal and hitting enter.
By rebooting twice, you make sure the phone doesn't boot into erase mode. If you flash the stock ROM beforehand and setup your device (login to Play Store), your device will still be Play Store certified by this method. But if you unlock the bootloader and the phone erases its storage, you won't be able to download apps like Netflix, because your device will not be certified by Play Store, this is because the Play Store checks for unlocked bootloaders. But by making it check the certification while it's locked and then unlocking the bootloader, you can make this issue go away. Feel free to ask for more proper guides for dummies, if you need. I have bricked my device many times and learnt by trial and error, so I'd be happy to make you avoid those same mistakes. Cheers.
No need double reboot
Os_Herdz said:
No need double reboot
Click to expand...
Click to collapse
It is not necessary, but a preventative measure. I've had instances where I hadn't rebooted twice and the phone booted into erase mode. This is a guide for people who want to make sure they won't lose data.
Another tip:
If you're with stock everything and don't want to loose data, do not boot into recovery mode (power + vol+) as it sometimes try to wipe data without any confirmation. Did happened here once, back in March 2019, but thankfully my pictures and most data are stored in MicroSD card.
RFD80M-75679 said:
Another tip:
If you're with stock everything and don't want to loose data, do not boot into recovery mode (power + vol+) as it sometimes try to wipe data without any confirmation. Did happened here once, back in March 2019, but thankfully my pictures and most data are stored in MicroSD card.
Click to expand...
Click to collapse
Can confirm, if your bootloader is unlocked and you don't have TWRP installed, booting into recovery mode will wipe the device.
marstonpear said:
Hi, I am writing this guide because many people followed other guides in the forum and lost their data. This is the proper way of unlocking the bootloader without losing your data.
0 - Read the whole guide before proceeding and proceed at your own risk!
1 - Make sure you have adb and fastboot installed on your device,
For Windows follow this guide (I suggest installing it system-wide, so that you can execute commands from every directory on your PC): https://forum.xda-developers.com/showthread.php?t=2588979
For MacOS and Linux : https://www.xda-developers.com/install-adb-windows-macos-linux/
2 - After the required tools are installed go to Settings -> About Phone on your phone and keep tapping on build number until a toast notification tells you that the developer settings are enabled.
3 - Go to Settings -> System -> Developer Settings and enable OEM unlocking option.
4 - Turn off the phone and when it's fully off, hold power + vol down button to boot into fastboot mode. When you've done this step successfully, you will see a blue FASTBOOT text on the screen with a bunny scrambling the internals of Android.
5 - Connect your phone to your PC and open a CLI/terminal/PowerShell window and type this but do NOT hit enter :
Code:
fastboot oem unlock
when you are ready to execute the command, start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again. This basically tricks the phone to boot into Fastboot mode instead of erase mode. To make sure the phone doesn't boot into erase mode on the next boot you need to do the following:
6 - While in fastboot mode type this into the CLI/terminal/PowerShell window but do NOT hit enter :
Code:
fastboot reboot
when you are ready to execute the command, start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again.
7 - Now you are ready to boot into your system. Either boot by holding power button or typing
Code:
fastboot reboot
into the terminal and hitting enter.
By rebooting twice, you make sure the phone doesn't boot into erase mode. If you flash the stock ROM beforehand and setup your device (login to Play Store), your device will still be Play Store certified by this method. But if you unlock the bootloader and the phone erases its storage, you won't be able to download apps like Netflix, because your device will not be certified by Play Store, this is because the Play Store checks for unlocked bootloaders. But by making it check the certification while it's locked and then unlocking the bootloader, you can make this issue go away. Feel free to ask for more proper guides for dummies, if you need. I have bricked my device many times and learnt by trial and error, so I'd be happy to make you avoid those same mistakes. Cheers.
Click to expand...
Click to collapse
When I type fastboot oem unlock and press enter, a screen shows on the device to select unlock or do not unlock. Then what?
softgadget said:
When I type fastboot oem unlock and press enter, a screen shows on the device to select unlock or do not unlock. Then what?
Click to expand...
Click to collapse
It shouldn't ask you to unlock phone or not in fastboot mode, as what I did unlocked mine for months ago. It should return you to fastboot mode in a flash (a fraction of seconds) and manually restart your phone by holding up power button until you'll see unlocked warning and AndroidOne logo.
If it is, try to select "unlock", but your data may wipe afterwards.
RFD80M-75679 said:
It shouldn't ask you to unlock phone or not in fastboot mode, as what I did unlocked mine for months ago. It should return you to fastboot mode in a flash (a fraction of seconds) and manually restart your phone by holding up power button until you'll see unlocked warning and AndroidOne logo.
If it is, try to select "unlock", but your data may wipe afterwards.
Click to expand...
Click to collapse
I am running Android 10 latest update on my Mi A2 and my phone shows a screen to select Unlock or Not to Unlock options. It is in fastboot mode. What is the problem?
softgadget said:
I am running Android 10 latest update on my Mi A2 and my phone shows a screen to select Unlock or Not to Unlock options. It is in fastboot mode. What is the problem?
Click to expand...
Click to collapse
You have another device. This is for Mi A2 Lite, not Mi A2. And on top of that, it works for Android Pie. I don't know for stock Android 10 since we (Mi A2 Lite users) don't have it yet (as of my writing).
RFD80M-75679 said:
You have another device. This is for Mi A2 Lite, not Mi A2. And on top of that, it works for Android Pie. I don't know for stock Android 10 since we (Mi A2 Lite users) don't have it yet (as of my writing).
Click to expand...
Click to collapse
Oh. OK then.thank you
I downgrade to oreo and now when power om phone show message that is bootloader unlocked, so can lock again bootloader to remove that message without lost data or must live with that? If can do that, how? I forgot to say after flash oreo bootloader was locked, but i must unlock again to fix sim cards.
popadic022 said:
I downgrade to oreo and now when power om phone show message that is bootloader unlocked, so can lock again bootloader to remove that message without lost data or must live with that? If can do that, how? I forgot to say after flash oreo bootloader was locked, but i must unlock again to fix sim cards.
Click to expand...
Click to collapse
You can unlock with the same method. But I believe you will flash a zip from TWRP to fix SIM cards and that will break your phone if you lock the bootloader. So after fixing the SIM cards, you need to leave the phone unlocked, otherwise phone will be bricked. If you want to get rid of the ugly splash screen, you can flash a custom splash you can find in the forum.
marstonpear said:
Can confirm, if your bootloader is unlocked and you don't have TWRP installed, booting into recovery mode will wipe the device.
Click to expand...
Click to collapse
So after unlocked the devices, it's recommended to install TWRP to avoid this right ?
gusbalaa said:
So after unlocked the devices, it's recommended to install TWRP to avoid this right ?
Click to expand...
Click to collapse
You can leave it as is, but don't ever boot into recovery if you value your data from Internal Storage or if haven't backed up data to MicroSD.
RFD80M-75679 said:
You can leave it as is, but don't ever boot into recovery if you value your data from Internal Storage or if haven't backed up data to MicroSD.
Click to expand...
Click to collapse
I think I'm gonna install TWRP for safety, my data is already on MicroSD.
EDIT : Is possible to install TWRP & Root without losing data / need to flash Decrypt ?
gusbalaa said:
I think I'm gonna install TWRP for safety, my data is already on MicroSD.
EDIT : Is possible to install TWRP & Root without losing data / need to flash Decrypt ?
Click to expand...
Click to collapse
You don't need to decrypt. You can install TWRP and flash Magisk through TWRP.
marstonpear said:
You don't need to decrypt. You can install TWRP and flash Magisk through TWRP.
Click to expand...
Click to collapse
Thanks, already done it.
Flashed TWRP & Magisk without losing any data.
marstonpear said:
Hi,
Click to expand...
Click to collapse
will this metode also work on mi10
-fluffy- said:
will this metode also work on mi10
Click to expand...
Click to collapse
I'm not sure but probably not. Because Mi 10 is a MIUI device and this is an Android One. Still you gotta try to make sure, but the risk is all yours. Cheers.
marstonpear said:
Hi, I am writing this guide because many people followed other guides in the forum and lost their data. This is the proper way of unlocking the bootloader without losing your data.
0 - Read the whole guide before proceeding and proceed at your own risk!
1 - Make sure you have adb and fastboot installed on your device,
For Windows follow this guide (I suggest installing it system-wide, so that you can execute commands from every directory on your PC): https://forum.xda-developers.com/showthread.php?t=2588979
For MacOS and Linux : https://www.xda-developers.com/install-adb-windows-macos-linux/
2 - After the required tools are installed go to Settings -> About Phone on your phone and keep tapping on build number until a toast notification tells you that the developer settings are enabled.
3 - Go to Settings -> System -> Developer Settings and enable OEM unlocking option.
4 - Turn off the phone and when it's fully off, hold power + vol down button to boot into fastboot mode. When you've done this step successfully, you will see a blue FASTBOOT text on the screen with a bunny scrambling the internals of Android.
5 - Connect your phone to your PC and open a CLI/terminal/PowerShell window and type this but do NOT hit enter :
Code:
fastboot oem unlock
when you are ready to execute the command, start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again. This basically tricks the phone to boot into Fastboot mode instead of erase mode. To make sure the phone doesn't boot into erase mode on the next boot you need to do the following:
6 - While in fastboot mode type this into the CLI/terminal/PowerShell window but do NOT hit enter :
Code:
fastboot reboot
when you are ready to execute the command, start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again.
7 - Now you are ready to boot into your system. Either boot by holding power button or typing
Code:
fastboot reboot
into the terminal and hitting enter.
By rebooting twice, you make sure the phone doesn't boot into erase mode. If you flash the stock ROM beforehand and setup your device (login to Play Store), your device will still be Play Store certified by this method. But if you unlock the bootloader and the phone erases its storage, you won't be able to download apps like Netflix, because your device will not be certified by Play Store, this is because the Play Store checks for unlocked bootloaders. But by making it check the certification while it's locked and then unlocking the bootloader, you can make this issue go away. Feel free to ask for more proper guides for dummies, if you need. I have bricked my device many times and learnt by trial and error, so I'd be happy to make you avoid those same mistakes. Cheers.
Click to expand...
Click to collapse
Wowwww! Thank you very much, time ago I've unlocked the bootloader without losing any data
That's a very good solution
Hi all! Now we can root our Sunny 2 phones!
I'd make a TWRP port for this device (adb enabled) so we can just sideload the Magisk installer.
History:
After some time having a Wiko Sunny 2 phone, I'd search a lot and didn't find any method for rooting this little thing.
Then I had the idea to mod the stock recovery to allow test keys and then flash anything, tried to do that and didn't work.
Another idea came to my mind: port TWRP from another phone with same chipset. Started my search for a SPD7731c device with working TWRP and after some time found some guy who made a TWRP port for his "Selecline S6S4IN3G" device and as it had the same chipset it worked. Just gathered the recovery.img from the stock rom (thanks Wiko for giving it on they web page) and unpacked it with carliv image kitchen, replaced the stock ramdisk with TWRP's one and just modded some things inside it (default.prop and the init.rc files). As the vold.fstab is the same, didn't need to modify it.
After some testing, the only problem remaining is that the touch doesn't work well (it receives touch input all the time, even if not touched) but it's enough to get our Sunny2's rooted via ADB and magisk's zip.
REQUIREMENTS:
A PC (or another phone with OTG support, if you use a phone then you'll also need an adb binary compiled for ARM)
ADB, Fastboot and drivers: https://drive.google.com/open?id=1N38jqQqX87dEKsBIgDb_9MC-k43YUi85
TWRP image: https://drive.google.com/open?id=1DZhL6RckvzQyxGCq2Yy64Cqnpnnm1Ofp
Stock recovery image (in case something goes wrong you can revert to this): https://drive.google.com/open?id=1spaFc1sqqjFdwzt9cYDfSO_KVh1aYuh5
Magisk ZIP (can be latest or this zip): https://drive.google.com/open?id=1-OPU1JycSr8nVyAGfdkhdajn8Uap_0dl
ROOT PROCESS:
1. While on Android, go to Settings>About this device and toch 7 times Build number (this will enable Developer Options)
2. Now go back to Settings and then Developer options>Enable OEM unlock and USB debugging.
3. Connect the device to the PC and install the correct driver (for doing this just open Device Manager and force the install of Android Composite ADB Interface on your unrecognized device (should be called SUNNY2)).
4. Open a CMD/Terminal and type this:
Code:
adb reboot-bootloader
5. Now type
Code:
fastboot flash recovery path/to/twrp-suny2.img
and after that just
Code:
fastboot reboot
.
6. Now the phone will start, just type in CMD/Terminal
Code:
adb reboot recovery
and you will boot into TWRP.
7. Okay, this TWRP has a buggy touch so just use ADB to install the magisk zip:
Code:
adb shell twrp sideload
, then
Code:
adb sideload path/to/magisk.zip
and finally
Code:
adb reboot
.
8. Nice, now Magisk should be installed. Now with root access, happy modding!
Some things to note:
1) In this guide I did everything via ADB, never booted to recovery or fastboot using button combinations. Why? Simple, on my device I didn't find the correct combinations.
2) You can use TWRP also for factory resetting or installing anything, but via ADB only (as the touch doesn't work properly).
3) If you need any help with this device just PM me!
I hope this guide will be useful for anyone.
CREDITS:
This guy for his work on porting TWRP to his device
Magisk team for his work on making root as simple as flashing a ZIP!
AndroidMTK website for hosting the ADB installer which
I just mirrored!
Stuck in boot loop
Hi ! Thanks for the HowTo !
But...
I followed the exact same procedure (except I had to fastboot oem unlock before flashing the twrp image, in addition to unlocking it in dev mode).
After flashing, the device was stuck in a boot loop : "orange state your device has been unlocked and can't be trusted / your device will boot in 5 seconds". Tried all manners of key combos to reboot in recovery (Vol Up + power is supposed to be the right combo) but to no avail.
Fortunately Wiko provides an "upgrade" tool that allows you to factory reset the device (support dot wikomobile dot com /maj/Sunny2Plus_V24.zip, window$ only) but no luck installing twrp.
Any idea why ? Thanks in advance
tofleplof said:
Hi ! Thanks for the HowTo !
But...
I followed the exact same procedure (except I had to fastboot oem unlock before flashing the twrp image, in addition to unlocking it in dev mode).
After flashing, the device was stuck in a boot loop : "orange state your device has been unlocked and can't be trusted / your device will boot in 5 seconds". Tried all manners of key combos to reboot in recovery (Vol Up + power is supposed to be the right combo) but to no avail.
Fortunately Wiko provides an "upgrade" tool that allows you to factory reset the device (support dot wikomobile dot com /maj/Sunny2Plus_V24.zip, window$ only) but no luck installing twrp.
Any idea why ? Thanks in advance
Click to expand...
Click to collapse
Hmm this device is pretty strange, his key combinations never worked for me (because of that I'd need to reboot into system a few times, instead of booting to fastboot with keys).
You can try this:
After flashing stock rom and allowing oem unlock on settings, reboot directly to fastboot. Then use "fastboot boot recovery.img" and tell me what it says. If it says something about bad boot image, it's normal (that happens in my device even if try to load stock boot.img).
Also there's a tool called SPD Research Download Tool, which let's you flash the phone partitions one by one (manually selectable) from the path you want, while phone is in download mode (volume down and connect USB to PC). However, I don't know if that tool's license allows it's free redistribution, so I recommend research for it before downloading anything.
You can get the stock files by running the wiko upgrade tool, going to the folder it extracted his files and then looking for a file called rom.pac (then unpack it, there are guides here on XDA for doing so). You can even edit the boot splash image lol
Sorry for wasting your time
I'm so stupid ! It turns out my device is a different model, the Sunny 2 Plus.
Sorry, and thanks again
Does anyone know if a custom rom exists for the Wiko Sunny 2?
Klab98 said:
Does anyone know if a custom rom exists for the Wiko Sunny 2?
Click to expand...
Click to collapse
Nope, sold the device some days after writing this post so didn't even bother to port anything.
BTW it's a 4-core phone with 512MB RAM, so what would you expect to run there? I thing nothing higher than MM (KK would be nice if it was not so outdated nowadays)
Hi, i have got a problem with my wiko sunny 2 plus.
i flashed twrp via fastboot, it succeed. but after reboot the phone didnt start,
only shows orange state, didn´t connect to pc anymore with same cable. i mean i can hear the win7 sound of connecting device and right after connect sound appear then disconnect sound follows right after. so i cant detect the device with adb anymore. what to do, any idea? P.S. sp flashtool also cant detect device. greets
merci beaucoup j espere sa marche
Good morning!
While attempting to flash a stock MIUI 10 ROM into my Xiaomi Redmi Note 7, to downgrade back to Android 9.0 due to some app compatilibty issue, I messed up big time and my phone is now stuck in a loop where the screen turns on, nothing shows up, then it restarts, going off for a few seconds and turning on again.
Power Button + Volume UP successfully brings me to the stock recovery 3.0 from xiaomi.
Power Button + Volume DOWN fails to bring me to the fastboot mode.
If I select the Connect with MIAssistant in the recovery the phone will show up as "sideloaded" after using the command adb devices, but the MIPCSuite app does not see it and the command adb restart bootloader also fails to bring up the fastboot mode, it just gets stuck in the loop again.
More context on what went wrong and caused this: I followed an online tutorial to flash a rom using the MIFlash app, so I unlocked the bootloader and tried to flash the rom usin xiaomi's tool. I got a failed to check sparse crc error code and it went downhill from there when I tried to fix things reading multiple threads on the issue. I tried deleting some lines from the flash_all.bat file and tried to flash it again but then the flashing process went seemingly forever so I aborted the operation and now this loop happens. I tried a few more times but with no success.
The first time I tried to use the tool I used the clean all and lock option so I'm not certain if the miflash tool locked the bootloader regardless of the outcome of the flashing attempt.
Is there hope? Can I fix this phone if I only have access to stock recovery and nothing else (although it shows up in adb devices but can't get into fastbootmode) ?
Thanks a lot to anyone who took the time to read and possibly help.
Both ADB and Fastboot are Android-side launched by device's bootloader. If you can't enter Fastboot mode then my guess is there is something is wrong with curently installed Android.
BTW: If you lock device's bootloader then bootloader attempts to load device's Stock ROM.
jwoegerbauer said:
Both ADB and Fastboot are Android-side launched by device's bootloader. If you can't enter Fastboot mode then my guess is there is something is wrong with curently installed Android.
BTW: If you lock device's bootloader then bootloader attempts to load device's Stock ROM.
Click to expand...
Click to collapse
I see.
What can I do to try to fix this issue?
I finally managed to fix it through the Emergency Download Mode (EDL). It requires Xiaomi Authentication which I bypassed using this guide: https://www.droidwin.com/fix-mi-account-authorization-unbrick-xiaomi-edl-mode/
With that setup I flashed a stock rom using the MiFlash tool.