Boot_Insecure_M3_Fix-adb_dm-verity-v2.img for BTV-DL09C100B303 - Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot

Here is a Boot.img for easy root Nougat only for BTV-DL09C100B303
Boot_Insecure_M3_Fix-adb_dm-verity-v2 from Thanks to Franzroy from the Mate 8 Forum
He makes many Boot img´s for my Note 8 and for Mediapad M3
Requirements:
Mediapad M3 8.4 BTV-DL09
Nougat installed C100B303
Unlocked Bootloader (I unlock via DC Unlocker or unlock via Huawei)
Download the Files and the Boot.img flash in Twrp with Image Flash
or flash via Fastboot.
After flashing the Boot.img Flash Supersu 2.82 in Twrp Thanks to Chainfire Link
I use Twrp 3.1.1-1 Open Kirin Version for Mate 8,this Version works on my Mediapad M3 and Honor Note 8.
Thanks to Olddroid Link
Downloads:
Boot_Insecure_M3_Fix-adb_dm-verity-v2
Supersu for Emui 5
Twrp 3.1.1-1 Open Kirin
Downloads for go back to Stock:
Stock Boot.img B303
Stock Recovery B303

flash boot.img + twrp - to which partition?
Hello.
My partitions on M3:
boot
recovery
e-recovery
splash2
System Image
Modem Image
Cust Img
Some hints for newbies like me:
I was asked by TWRP to choose partitions.
- Flash the boot.img to "boot".
- Flash the custom recovery to "recovery" (NOT e-recovery).
- If expecting difficulties flashing TWRP with adb fastboot, place the twrp.img in the ADB + Fastboot Folder and rename (!) it to "recovery.img". Then in fastboot mode open the cmd and try "fastboot flash recovery recovery.img".
I am not a professional on Huawei devices! It just worked that way for my own purposes. I take no guarantee.
The "Twrp 3.1.1-1 Open Kirin" works fine for me.

I have tried to flash your images on my device Huawei-M3
The flash process gave me all good but the reboot splashed into black screen.
Am I missing anything here?

roman.mandeleil said:
I have tried to flash your images on my device Huawei-M3
The flash process gave me all good but the reboot splashed into black screen.
Am I missing anything here?
Click to expand...
Click to collapse
@franzyroy : can you help here please: maybe you have any idea why images
that are installed on that device are not running later. What nuances can I bumped here.
I am ready to fund any productive help

Some devices don't want correctly to work like the others... and we don't know why! Unfortunately...

Custom kernel
This is my first Chinese device and actually liking it so far. Whilst I'm new to (public) Android development, I'm not new to Linux and have quite good knowledge of compiling, scripting and some coding etc. I have downloaded the kernel source and Linux mainline patches to have a play. Just a little research to do first. Need to Google some **** Still haven't even rooted yet............... but plenty of info about by searching
See if I find some time to make anything of note because the 'cupboard is bare' in this forum.
Well, got the kernel compiled !! :highfive: BUT, what a load of rubbish the source is.......... many many warnings using the Google GCC stock Tool-chain. Horrendous actually. I wonder if that's the actual source used at release? Had a quick look at some of those warnings, and many can be muted, and shouldn't cause an issue. Just really messy. Might take another look over the weekend to progress further. I won't be rooting device until 7 day exchange is up. Might not root at all either. I do things for the fun and or challenge.
Is there anywhere I can find official unmodified (307) firmware? Or am I gonna have to pull the boot.img from device with dd. I know you have it posted, but just new to Huawei and the more info the better. Cheers.
Thanks for your and others input so far. :good:

i cannot flash twrp.img
huawei mediapad m3 current version BTV-DL09C209B307
error: cannot load twrp.img
i tried different versions, the result stills the same
at first bootloader unlock and FRP unlock
then now bootloader unlock then FRP lock

Is there no easy root option for the BTV-W09A version?

lei0016 said:
i cannot flash twrp.img
huawei mediapad m3 current version BTV-DL09C209B307
error: cannot load twrp.img
i tried different versions, the result stills the same
at first bootloader unlock and FRP unlock
then now bootloader unlock then FRP lock
Click to expand...
Click to collapse
Did u manageto unlock frp ?

Related

Flashable TWRP v2.8.7.0 for Sony Z3+ E6553 Ivy_Kitakami

Introduction
Disclaimer: While this TWRP has been tested by myself on my own device to flash, wipe and backup, I make no warranties as to it's performance. Use at your own risk.
WARNING: flashable version contains a kernel boot image which will be flashed to your device along with the recovery image.
Click to expand...
Click to collapse
Installation instructions
This recovery image is for the E6553 single SIM Z3+. Do not use it on another model.
This recovery image requires an unlocked bootloader. You will lose some functionality on your phone if you unlock your bootloader
Do your research and make sure you're using the latest version of the relevant tools if you do decide to unlock.
DO NOT enable MyXperia functionality if you've unlocked your bootloader. You will brick your device.
This first download of this recovery image CANNOT be flashed to your phone and must be used in fastboot mode only
The second download is a flashable recovery
Use the first version to flash the second dual-boot.zip version
Unzip the recovery.zip file to extract the recovery.img file to use in fastboot mode
Code:
C:\>adb reboot bootloader
C:\>fastboot boot recovery.img
C:\>adb push dual-boot.zip /sdcard/dual-boot.zip
C:\>adb push dual-boot.zip.md5 /sdcard/dual-boot.zip.md5
Click to expand...
Click to collapse
Now use the TWRP install feature to install dual-boot.zip. Follow the prompts of the Aroma graphical installer.
CAVEAT: this extends the boot time by about 5 - 10 seconds as ramdisk images need to be unpacked and there's a wait on a keypress to determine whether to enter recovery mode. In order to boot into recovery, press power on. When you see the yellow LED come on then press the down volume button once or twice. You will then boot into TWRP.
NOTE: the dual-boot.zip installs a new 28.0.A.8.251 kernel. If you're using the autoroot kernel from Devries you will need to flash SuperSU to re-root your device
This dual boot/recovery works by flashing the recovery image to the FOTAkernel partition. A custom ramdisk image contains the normal boot image. If the down volume keypress is detected, then the recovery ramdisk is automatically extracted from the FOTAKernel partition and flow of control switches to recovery. If no keypress is detected then the normal ramdisk is extracted and normal android boot ensues.
Those of you who installed version 1.0 please download and install this version 1.1 to fix the error with the startup of the trim area daemon
Download
Binary
Fastboot TWRP Recovery Image v2.8.7.0-e6553-1.0 for Z3+ E6553
Flashable TWRP Recovery Image v2.8.7.0-e6553-1.1 for Z3+ E6553 (MD5: 52d4b7d406308dbd457e8b94210b7c87)
Flashable TWRP Recovery Image v2.8.7.0-e6553-1.1 for Z3+ E6553 - MD5
Sources @ github
device_sony_kitakami
device_sony_ivy
Click to expand...
Click to collapse
Changelog
Code:
Current changelog: -- 29 September 2015
[new] v1.1 fix up problem in combined ramdisk preventing trim area daemon from starting correctly
[new] Flashable recovery - 28 September 2015
[new] Fixed various sys/class issues so that CPU temperature and LED / backlight control work correctly
[new] Updated to use 28.0.A.8.251 kernel (as opposed to the AOSP kernel)
[old] Initial release - 10 September 2015
Click to expand...
Click to collapse
Thanks To
The regular contributors to the Z3+ forum, among others @[NUT], @ChrisJ951, @DHGE, @Devries, @zxz0O0, @Venkat Kamesh, @AndroPlus, @Sacktreter who pass on knowledge and who make the forum a lively and cooperative place
Click to expand...
Click to collapse
People who installed version 1.0 of the Flashable TWRP must please update to version 1.1 to correct a bug.
Awesome work.
Glad you were able to get the screen working for it! Boots up fine w/o issue for me
This is fantastic. Is there any way of getting this to work with a locked bootloader?
Sent from my Xperia Z3+
AMoosa said:
This is fantastic. Is there any way of getting this to work with a locked bootloader?
Sent from my Xperia Z3+
Click to expand...
Click to collapse
I'd venture to suggest that it's highly unlikely that locked bootloader recovery could work. The DM_VERITY is almost a guarantor of that. Just search for CONFIG_DM_VERITY or Verity in the Z3+ forums for more info.
Even if an exploit works, the second it modifies the system partition, the kernel panics and refuses to boot. The only way of preventing that is to flash a new kernel or edit the ramdisk to remove the verity key. And the only way to flash a new kernel / edit the ramdisk is to unlock the bootloader.
Thank you first for development... maazing!
I have unlocked the bootloader via Sony and then used an boot.img from Devries to root as root was my primary goal. I have flashbooted as per instructions the TWRP recovery.img that is provided here by the awesome dl12345 .
However the issue is that I am unable to boot to recovery after rebooting from TWRP. In other words the flashboot works and I am able to make a backup and use TWRP well but it doesn't seem to stick.
Am I doing something wrong. Should I have flashed a ROM first from xperfirm, Flashtools, and/or can I flash a kernel without it effecting the recovery. My knowledge is sketchy but I am totally up for testing if I can help.
elladroid said:
Thank you first for development... maazing!
I have unlocked the bootloader via Sony and then used an boot.img from Devries to root as root was my primary goal. I have flashbooted as per instructions the TWRP recovery.img that is provided here by the awesome dl12345 .
However the issue is that I am unable to boot to recovery after rebooting from TWRP. In other words the flashboot works and I am able to make a backup and use TWRP well but it doesn't seem to stick.
Am I doing something wrong. Should I have flashed a ROM first from xperfirm, Flashtools, and/or can I flash a kernel without it effecting the recovery. My knowledge is sketchy but I am totally up for testing if I can help.
Click to expand...
Click to collapse
This is correct behaviour. You're not actually flashing the recovery image, just temporarily booting a recovery kernel and associated ramdisk. Sony Xperia devices don't have a recovery partition, or more accurately, they don't have a bootloader than can check and load a boot image from a recovery partition.
Technically it's possible to make the boot image check for a ramdisk on another partition and use this instead of the normal ramdisk, but this is step two. Sony should be releasing an open recovery bootloader fairly soon for the Z3+ which will allow this recovery image to be flashed. It's already been released for other devices.
Until Sony releases open recovery for Z3+ or I spend the time trying to implement a feature that probably only has days or weeks of utility (until Sony releases the open recovery for Z3+) , you're stuck with a TWRP that you need to launch every time in fastboot mode.
On the first screen immediately after the TWRP logo comes up, the battery is always being reported at being 50%. Sometimes the correct number is displayed when in the flashing screen. Otherwise works great!
Also, link to Sony Z3+ windows drivers
How to install unsigned drivers in Windows 8.1/10 with secure boot
elladroid said:
Thank you first for development... maazing!
I have unlocked the bootloader via Sony and then used an boot.img from Devries to root as root was my primary goal. I have flashbooted as per instructions the TWRP recovery.img that is provided here by the awesome dl12345 .
However the issue is that I am unable to boot to recovery after rebooting from TWRP. In other words the flashboot works and I am able to make a backup and use TWRP well but it doesn't seem to stick.
Am I doing something wrong. Should I have flashed a ROM first from xperfirm, Flashtools, and/or can I flash a kernel without it effecting the recovery. My knowledge is sketchy but I am totally up for testing if I can help.
Click to expand...
Click to collapse
New version now flashable so that you can boot into recovery...read top post carefully before using.
serrin85 said:
On the first screen immediately after the TWRP logo comes up, the battery is always being reported at being 50%. Sometimes the correct number is displayed when in the flashing screen. Otherwise works great!
Also, link to Sony Z3+ windows drivers
How to install unsigned drivers in Windows 8.1/10 with secure boot
Click to expand...
Click to collapse
Fixed in latest version
http://www.kz3.eu:18998/dual-boot.zip link gives 404 ..
deecept said:
http://www.kz3.eu:18998/dual-boot.zip link gives 404 ..
Click to expand...
Click to collapse
Yes, I've temporarily disabled the link while I resolve a problem relating to the trim area daemon not starting up due to some peculiarity of the dual boot ramdisk. I'll reinstate it as soon as I fix the problem.
dl12345 said:
Yes, I've temporarily disabled the link while I resolve a problem relating to the trim area daemon not starting up due to some peculiarity of the dual boot ramdisk. I'll reinstate it as soon as I fix the problem.
Click to expand...
Click to collapse
Oh, ok, sweet! Looking to flash this to my Z3+. More than happy to test if needed =) Great work on these!!
deecept said:
Oh, ok, sweet! Looking to flash this to my Z3+. More than happy to test if needed =) Great work on these!!
Click to expand...
Click to collapse
Download back online and problem fixed
Those who downloaded the 1.0 please download this 1.1 version and install to correct the problem with trim area daemon startup. Thanks
dl12345 said:
Download back online and problem fixed
Those who downloaded the 1.0 please download this 1.1 version and install to correct the problem with trim area daemon startup. Thanks
Click to expand...
Click to collapse
HI dl12345,
this recovery support Dual model? E6533
hi.question...i get remote: dtb not found error when trying to boot the recovery..any ideas?
didnt get a thing... how do i install?
please, release TWRP for 6533 too
we need custom recovery so bad
Dathrex said:
please, release TWRP for 6533 too
we need custom recovery so bad
Click to expand...
Click to collapse
Pleaseee ????
Brother, please, help us with twrp to E6533, please.
Enviado de meu E6533 usando Tapatalk

[SOLVED] Installing TWRP and rooting (Currently CMR & CM 12.1)

Hello everyone, i'm pretty new to software modding (started again yesterday) but i have successfully customized my previous Nexus 4 with Cyanogenmod in the past and other things thanks to very easy guides online.
Now that the guarantee is void, i'd like to mod my Xperia Z1 Compact.
After a lot of tears and Boot Loops™ i finally managed to install Cyanogen Recovery and Cyanogenmod.
Now i'd like to switch to TWRP, as it provides Nandroid backups, which CMR does not, but i can't find any reliable source for this.
The device doesn't show up in the devices list on their website, so i'm really unsure what to do as i don't want to brick my phone :laugh:
Also pretty much same situation with rooting, there are tons of various ways to root the device but the only tool i'd trust (Flashtool) doesn't allow me to root my phone.
Again i don't know which source to trust or what to do...
Any help would be highly appreciated!
Regards, Daniel
SinusStudios said:
Hello everyone, i'm pretty new to software modding (started again yesterday) but i have successfully customized my previous Nexus 4 with Cyanogenmod in the past and other things thanks to very easy guides online.
Now that the guarantee is void, i'd like to mod my Xperia Z1 Compact.
After a lot of tears and Boot Loops™ i finally managed to install Cyanogen Recovery and Cyanogenmod.
Now i'd like to switch to TWRP, as it provides Nandroid backups, which CMR does not, but i can't find any reliable source for this.
The device doesn't show up in the devices list on their website, so i'm really unsure what to do as i don't want to brick my phone :laugh:
Also pretty much same situation with rooting, there are tons of various ways to root the device but the only tool i'd trust (Flashtool) doesn't allow me to root my phone.
Again i don't know which source to trust or what to do...
Any help would be highly appreciated!
Regards, Daniel
Click to expand...
Click to collapse
Rooting with unlocked BL is easy with adb/fastboot. Just download twrp IMG and copy it to /adb folder, and download SuperSU zip file and copy to phone. Then connect phone in fastboot mode, (power off, hold volume up, and connect cable, release volume when you see blue led), and use fastboot command 'fastboot flash recovery [name of twrp file].img'. Now you have recovery. Reboot to recovery and flash SuperSU.
Twrp download - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
SuperSU download - https://www.google.com/url?sa=t&sou...euHCzPuwbF5IscvgA&sig2=3urcTF6yAxkoYwUylGydvA
levone1 said:
Rooting with unlocked BL is easy with adb/fastboot. Just download twrp IMG and copy it to /adb folder, and download SuperSU zip file and copy to phone. Then connect phone in fastboot mode, (power off, hold volume up, and connect cable, release volume when you see blue led), and use fastboot command 'fastboot flash recovery [name of twrp file].img'. Now you have recovery. Reboot to recovery and flash SuperSU.
Twrp download - http://forum.xda-developers.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
SuperSU download - https://www.google.com/url?sa=t&sou...euHCzPuwbF5IscvgA&sig2=3urcTF6yAxkoYwUylGydvA
Click to expand...
Click to collapse
@levone1 Thank you very much! Everything has worked flawlessly =)
Hi guys. I already flashed the twrp on this thread but; how can i flash another recovery? Do i need to just flash it again the same way i flashed the first recovery? Will it overwrite the old one automatically? Thanks for the answer. I'm just new to this so i just want to make sure.
Maximuous said:
Hi guys. I already flashed the twrp on this thread but; how can i flash another recovery? Do i need to just flash it again the same way i flashed the first recovery? Will it overwrite the old one automatically? Thanks for the answer. I'm just new to this so i just want to make sure.
Click to expand...
Click to collapse
yes. you probably want to flash it in flashmode or with flashfire, ive broken my recovery a couple times now and got it to work again. flashing a recovery image will wipe the recovery partition eg the previous rec

[Unofficial] enhanced TWRP

Important: official TWRP does NOT backup the EFS partition correctly while this one does. Do NOT restore an EFS backup that you did not take on the same build of TWRP as the one you're currently using. You will lose IMEI
Get support here: https://discord.gg/UF9qnts
Same as official twrp but
Built with latest lineageOS trees
Built with latest kernel with ext4, f2fs, exfat and sdfat driver
Thanks a lot to @jcadduono for the exfat upstream
Undervolting
Supports signature verification for lineageOS official zips
Supports signature verification for haruhirom official zips
Built with GCC 8 for maximum speed
Support for backing up, restoring and flashing system image zips
Manifest: https://github.com/GlassROM-devices/platform_manifest_twrp_lineageos
Toolchain: https://bitbucket.org/anupritaisno1/aarch64-linux-gnu/overview
FPSUsername said:
You can flash a recovery using fastboot (
Code:
fastboot flash recovery recovery.img
).
Other method, if you already have a custom recovery (I suspect official twrp), go to the directory where you placed the recovery.img, press install img at the bottom of the twrp screen and the img should be visible.
Select it, tap on recovery and swipe to flash/install.
Click to expand...
Click to collapse
anupritaisno1 said:
Also guys twrp can be flashed on locked bootloaders
If you are on a locked bootloader you must make sure that you ALWAYS flash twrp while booted into Android, using the dd command
Code:
dd if=recovery.img of=/dev/block/bootdevice/by-name/recovery
If you use the twrp flasher while on a locked bootloader you're just dumb
Click to expand...
Click to collapse
https://glassrom.pw/recovery.img
All sources (kernel source, device tree, etc) are bundled in the manifest. Please don't ask for separate sources just read the manifests
Just an FYI: official twrp builds are built by a bot, oneplus 2 doesn't have a twrp maintainer and nobody is reviewing the code that goes into twrp for our device
You really shouldn't use the official twrp builds
no comments, that means no issues. good job
Twrp 3.2.0 was released today so a new build for that is out
Please test and report bugs
Install instructions please.
Can we flash the IMG file using inbuilt official twrp?
Sent from my OnePlus2 using XDA Labs
sanjeetkumar495 said:
Install instructions please.
Can we flash the IMG file using inbuilt official twrp?
Click to expand...
Click to collapse
I did, it works.
sanjeetkumar495 said:
Install instructions please.
Can we flash the IMG file using inbuilt official twrp?
Sent from my OnePlus2 using XDA Labs
Click to expand...
Click to collapse
Yes. You probably have never flashed something or you just don't know all features of twrp.
You can flash a recovery using fastboot:
Code:
fastboot flash recovery recovery.img
Other method, if you already have a custom recovery (I suspect official twrp), go to the directory where you placed the recovery.img, press install img at the bottom of the twrp screen and the img should be visible.
Select it, tap on recovery and swipe to flash/install.
FPSUsername said:
Yes. You probably have never flashed something or you just don't know all features of twrp.
You can flash a recovery using fastboot (
Code:
fastboot flash recovery recovery.img
).
Other method, if you already have a custom recovery (I suspect official twrp), go to the directory where you placed the recovery.img, press install img at the bottom of the twrp screen and the img should be visible.
Select it, tap on recovery and swipe to flash/install.
Click to expand...
Click to collapse
Adding these to the main post
Also guys twrp can be flashed on locked bootloaders
If you are on a locked bootloader you must make sure that you ALWAYS flash twrp while booted into Android, using the dd command
Code:
dd if=recovery.img of=/dev/block/bootdevice/by-name/recovery
If you use the twrp flasher while on a locked bootloader you're just dumb
FPSUsername said:
Yes. You probably have never flashed something or you just don't know all features of twrp.
You can flash a recovery using fastboot:
Other method, if you already have a custom recovery (I suspect official twrp), go to the directory where you placed the recovery.img, press install img at the bottom of the twrp screen and the img should be visible.
Select it, tap on recovery and swipe to flash/install.
Click to expand...
Click to collapse
Thanks but FYI I know all the methods of flashing recovery but currently I don't have access to a PC so just in case something goes wrong I won't be able to use recovery therefore was a little cautious so asking for twrp process of flashing.
Sent from my OnePlus2 using XDA Labs
sanjeetkumar495 said:
Thanks but FYI I know all the methods of flashing recovery but currently I don't have access to a PC so just in case something goes wrong I won't be able to use recovery therefore was a little cautious so asking for twrp process of flashing.
Sent from my OnePlus2 using XDA Labs
Click to expand...
Click to collapse
Then use the locked bootloader method
sanjeetkumar495 said:
Thanks but FYI I know all the methods of flashing recovery but currently I don't have access to a PC so just in case something goes wrong I won't be able to use recovery therefore was a little cautious so asking for twrp process of flashing.
Sent from my OnePlus2 using XDA Labs
Click to expand...
Click to collapse
Use Flashify.
Deleted
Sad to say but this twrp doesnt come close to the latest official. I experienced lag and slow rates.
Hi all,
I tried to install official twrp 3.2 from within twrp 3.1. and ran into issues. The recovery overall got deleted and the phone's bootloader got locked. Besides, 'allow OEM Unlock' toggle in developer options is not working. I'm seriously in a mess now.
Can someone pls detail the steps of installing this enhanced TWRP on a locked bootloader like mine? Would be extremely thankful.
sujju said:
Hi all,
I tried to install official twrp 3.2 from within twrp 3.1. and ran into issues. The recovery overall got deleted and the phone's bootloader got locked. Besides, 'allow OEM Unlock' toggle in developer options is not working. I'm seriously in a mess now.
Can someone pls detail the steps of installing this enhanced TWRP on a locked bootloader like mine? Would be extremely thankful.
Click to expand...
Click to collapse
If your phone is rooted, you might want to give flashfire or flashify a try.
erzherzog said:
If your phone is rooted, you might want to give flashfire or flashify a try.
Click to expand...
Click to collapse
It's not rooted..
sujju said:
Hi all,
I tried to install official twrp 3.2 from within twrp 3.1. and ran into issues. The recovery overall got deleted and the phone's bootloader got locked. Besides, 'allow OEM Unlock' toggle in developer options is not working. I'm seriously in a mess now.
Can someone pls detail the steps of installing this enhanced TWRP on a locked bootloader like mine? Would be extremely thankful.
Click to expand...
Click to collapse
You must patch the rom to provide SuperSU's binaries at boot with oxygenos recovery and a signed boot.img
After booting you have to flash twrp using dd
Instructions for doing so are in the haruhirom thread
This definitely isn't for beginners

Unofficial TWRP based on v4.88B - WiFi working, Magisk Rootable

*IT IS FOR UNLOCKED BOOTLOADERS ONLY*
Voila ..
Alas TWRP is working on Nokia 8 NB1 based on v4.88B kernel. Wifi and Magisk root both are working on my mobile. Please and report if it is working for you as well.
Download:
https://mega.nz/#!nRgVWKqB!fWx4zO1f19Shs_I8Thkw4ycsZMMMmSYP24cK0MHIBlM
Flash:
adb reboot bootloader
fastboot flash boot_a TWRP_NB1_boot_v2.img
fastboot reboot
Click to expand...
Click to collapse
If working well, also flash boot_a partition as well.
Then following below thread to root it using MagiskManager
https://forum.xda-developers.com/nokia-8/development/pre-rooted-boot-image-nokia-nb1-v4-88b-t3798063
Check Following Post for Update:
https://forum.xda-developers.com/showpost.php?p=77307135&postcount=74
WARNING: Don't change boot slot using TWRP . I am not responsible if you brick your phone.
Many thanks!
Does this mean if you have this IMG, you can flash after any other (even older) IMGs without verify check?
With fastboot and OST LA from here?
That would be a fantastic news!!! :good:
Overall, the fastboot doesn't seem to work on my device. Once I get my phone into bootloader state it says naturally DOWNLOAD MODE but any fastboot devices command ends up with <Waiting for devices>. I've switched drivers from Nokia's one to diffrent non device specific but nothing helps. Any idea on how to fix it ?
- edit -
Came out that the adb and fastboot drivers can't be outdated so be sure to use newest from SDK Platform Tools - otherwise u won't see the device.
head66 said:
Many thanks!
Does this mean if you have this IMG, you can flash after any other (even older) IMGs without verify check?
With fastboot and OST LA from here?
That would be a fantastic news!!! :good:
Click to expand...
Click to collapse
Didn't checked by flashing it. But, logically yes. Though system partition is still encrypted. That may cause an issue. But for custom ROM developers - it can be a start. Provided - your bootloader is unlocked.
KonikoO said:
Overall, the fastboot doesn't seem to work on my device. Once I get my phone into bootloader state it says naturally DOWNLOAD MODE but any fastboot devices command ends up with <Waiting for devices>. I've switched drivers from Nokia's one to diffrent non device specific but nothing helps. Any idea on how to fix it ?
- edit -
Came out that the adb and fastboot drivers can't be outdated so be sure to use newest from SDK Platform Tools - otherwise u won't see the device.
Click to expand...
Click to collapse
Hey,
maybe that can help u.
Fastboot need Admin permissions on windows open a CMD as Admininstator.
On Linux just login into user root.
WORKING
Image is working! Thanks a lot!
Magisk is also working after patch. (With WiFi)
KonikoO said:
Overall, the fastboot doesn't seem to work on my device. Once I get my phone into bootloader state it says naturally DOWNLOAD MODE but any fastboot devices command ends up with <Waiting for devices>. I've switched drivers from Nokia's one to diffrent non device specific but nothing helps. Any idea on how to fix it ?
- edit -
Came out that the adb and fastboot drivers can't be outdated so be sure to use newest from SDK Platform Tools - otherwise u won't see the device.
Click to expand...
Click to collapse
Did you checked if USB debugging is on in the developer settings?
Powered by View 10
KonikoO said:
Overall, the fastboot doesn't seem to work on my device. Once I get my phone into bootloader state it says naturally DOWNLOAD MODE but any fastboot devices command ends up with <Waiting for devices>. I've switched drivers from Nokia's one to diffrent non device specific but nothing helps. Any idea on how to fix it ?
- edit -
Came out that the adb and fastboot drivers can't be outdated so be sure to use newest from SDK Platform Tools - otherwise u won't see the device.
Click to expand...
Click to collapse
I have it problem on Windows 10 too. If you want very strong, download any Linux-based LiveCD, flash it on USB and load. After this install adb and fastboot from LineageOS site (delete space after "https://" https:// wiki.lineageos.org/devices/bacon/build) and run commands.
P.S.: I am sorry for my bad English, but I hope help you
Wow, you are a genius! So glad to see twrp on our Nokia 8 xD but with encrypted /system. Does it mean nandroid backup is not possible at the moment? Also, with your magisk patched kernel, can i flash over or do i need to first flash twrp then reroot with your method?
corpsegrinder62 said:
Wow, you are a genius! So glad to see twrp on our Nokia 8 xD but with encrypted /system. Does it mean nandroid backup is not possible at the moment? Also, with your magisk patched kernel, can i flash over or do i need to first flash twrp then reroot with your method?
Click to expand...
Click to collapse
Flash TWRP img, then re-root using Magisk method provided in the URL.
Created another version of TWRP. Now /data is browsable, but showing garbled file names So, nanodroid is still unachievable. Don't have a backup phone, so could not take the risk of loosing my data, else could have un-encrypt ICE filesystem encryption and could have build a stock based ROM without encrypted partition.
bidhata said:
Flash TWRP img, then re-root using Magisk method provided in the URL.
Created another version of TWRP. Now /data is browsable, but showing garbled file names So, nanodroid is still unachievable. Don't have a backup phone, so could not take the risk of loosing my data, else could have un-encrypt ICE filesystem encryption and could have build a stock based ROM without encrypted partition.
Click to expand...
Click to collapse
Thanks bro. You are making tremindous progress on this phone though. Hopefully you inspire other devs to jump the train on our N8
Does this work with a locked bootloader? And if so do I just follow the steps here? Or do I need OST LA?
thank you so much for your time and effort. Much appreciated. Can the stock recovery be backed up and restored Later? Is it advised to flash it on TA 1012 Nokia 8 unlocked? How can we revert to the original state? Does OEM Unlock help in this case? Is it an image of the whole OS like previous mod attempts?
iKillua said:
Does this work with a locked bootloader? And if so do I just follow the steps here? Or do I need OST LA?
Click to expand...
Click to collapse
You need an unlocked bootloader. Else fastboot not let you overwrite /boot partition. No OST LA required.
trandafirmd said:
thank you so much for your time and effort. Much appreciated. Can the stock recovery be backed up and restored Later? Is it advised to flash it on TA 1012 Nokia 8 unlocked? How can we revert to the original state? Does OEM Unlock help in this case? Is it an image of the whole OS like previous mod attempts?
Click to expand...
Click to collapse
There is no different partition for recovery. So, just flashing the original boot partition ( boot.img ) will be enough to restore. OEM unlocked is required to decrypt the /data partition. This one is just the boot.img modification.
bidhata said:
There is no different partition for recovery. So, just flashing the original boot partition ( boot.img ) will be enough to restore. OEM unlocked is required to decrypt the /data partition. This one is just the boot.img modification.
Click to expand...
Click to collapse
Is this img suitable for restore https://mega.nz/#!yYwUWKwC!5wb2EkDhFKE2QIhI5tW0SE_uqkn2UL2uEPkTM01G5Mg?0 I can't see any 1012 img's How can I backup the boot.img from my phone?
Thank you.
trandafirmd said:
Is this img suitable for restore https://mega.nz/#!yYwUWKwC!5wb2EkDhFKE2QIhI5tW0SE_uqkn2UL2uEPkTM01G5Mg?0 I can't see any 1012 img's How can I backup the boot.img from my phone?
Thank you.
Click to expand...
Click to collapse
It is the same image for TA 1004 / TA-1012 . Taken from v4.88B update.
I realized that after the download finished. I apologize for jumping the gun. Since I'll have to unlock my bootloader, is there a way to do a full system backup through adb or otherwise? Most likely, I have a locked bootloader and before I can figure out a way to unlock it, I will have to backup as much data as possible since unlocking it will most likely wipe all my data and do a factory reset.
You can not make a backup unfortunately.
could you and other people making useless threads put it in the thread title and OP so that 99.9% of nokia 8 owners that dont have a way of unlocking the bootloader dont waste our time by having the salt rubbed in, thanks

Reboot to recovery: "the system has been destroyed"

Hi
I followed this guide to root my son's phone
(the bootloader was already unlocked or so I tought - see below)
Now when I tried to reboot to twrp to root the phone, following these instructions in the guide:
“How To Root Mi A2 / A2 Lite Using Magisk
…
Now, boot your Xiaomi device into the TWRP Recovery Mode by pressing and holding the Volume Up and Power buttons simultaneously for a couple of seconds until the device starts booting.
…”
Click to expand...
Click to collapse
it does not boot to TWRP but instead displays a red error triangle with the message“The system has been destroyed”; I get exactly the same message after using the adb command
Code:
adb reboot recovery
as an alternative reboot-to-recovery method.
Reboot to system is perfectly fine!
Help anyone? Could it be the bootloader was not properly unlocked... I dit it when I received the phone and wa spretty sure it was unlocked then
Thanks
BenG7 said:
Hi
I followed this guide to root my son's phone
(the bootloader was already unlocked or so I tought - see below)
Now when I tried to reboot to twrp to root the phone, following these instructions in the guide:
it does not boot to TWRP but instead displays a red error triangle with the message“The system has been destroyed”; I get exactly the same message after using the adb command
as an alternative reboot-to-recovery method.
Reboot to system is perfectly fine!
Help anyone? Could it be the bootloader was not properly unlocked... I dit it when I received the phone and wa spretty sure it was unlocked then
Thanks
Click to expand...
Click to collapse
It's not a bootloader issue ,it is problem with the recovery.Use twrp 3.3.3-1-offain or 3.3.3-1dees_troy.
nikoman1987 said:
It's not a bootloader issue ,it is problem with the recovery.Use twrp 3.3.3-1-offain or 3.3.3-1dees_troy.
Click to expand...
Click to collapse
@nikoman1987: Thanks, so I suppose i should go thru the guide again, from the start, right? what is the difference between the offain and dees_troy twrps please?
BenG7 said:
@nikoman1987: Thanks, so I suppose i should go thru the guide again, from the start, right? what is the difference between the offain and dees_troy twrps please?
Click to expand...
Click to collapse
different developers ,i don't have any problems with the offain version.Some of the roms have priblems with dess-troy
nikoman1987 said:
It's not a bootloader issue ,it is problem with the recovery.Use twrp 3.3.3-1-offain or 3.3.3-1dees_troy.
Click to expand...
Click to collapse
exactly the same deal with:
twrp-daisy-3.3.0-0-offain
twrp-3.3.0-dees_troy-daisy
--> red error triangle with the message“The system has been destroyed”...
You need 3.3.1, not 3.3.0
dl.twrp.me/daisy
---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------
You don't need to redo everything unless you failed to backup your boot image...
a1291762 said:
You need 3.3.1, not 3.3.0
dl.twrp.me/daisy
---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------
You don't need to redo everything unless you failed to backup your boot image...
Click to expand...
Click to collapse
Hi again @a1291762
I already downloaded and flashed the official daisy twrp but that didn't do it, 3.3.0 it was.
On the official twrp.me website there is only Dees_troy version (true I didn't try 3.3.1 - will do so tonight) - no offain version.
Just wondering, I think I saw some command in some posts to allow flashing on the Mi A2 lite - would that be required here (although not stated in the guide I referenced)?
[EDIT] found this:
I am seeing the ‘System has been destroyed’ message after installing TWRP on Mi A2 Lite (daisy)?
Then download the ‘aboot.img’ from V9.6.4.0 (Download Link), boot your Mi A2 to Fastboot Mode and flash it using the following command:
Code:
fastboot flash aboot_a aboot_9.6.4.img
fastboot flash aboot_b aboot_9.6.4.img
According to the explanation given by XDA Senior Member mac12m99, the newer bootloader (aboot.img) version checks for stock recovery, even when the bootloader is unlocked. To overcome this, you can flash an older bootloader version (Especifically from V9.6.4.0) to fix this issue.
Click to expand...
Click to collapse
BenG7 said:
Hi again @a1291762
I already downloaded and flashed the official daisy twrp but that didn't do it, 3.3.0 it was.
On the official twrp.me website there is only Dees_troy version (true I didn't try 3.3.1 - will do so tonight) - no offain version.
Just wondering, I think I saw some command in some posts to allow flashing on the Mi A2 lite - would that be required here (although not stated in the guide I referenced)?
Click to expand...
Click to collapse
10.0.9.0 broke all the old twrps. Only 3.3.1 works now.
The official TWRP maintainer for daisy is dees troy.
Offain does the lineage ROM for daisy. I don't know how people get links to his TWRP. Search?
That guide looks ancient. TWRP and Magisk install guides can be found in this forum... I wrote a combined one (since having both complicates OTA) but if you're doing a custom ROM... It will depend.
Many custom ROMs want an encryption Disabler fix because they can't handle the encryption (which is on even if you don't have a password).
I've seen lots of surprise by people at the processes required for this phone. It was certainly different to what I've done before, but my last phone was pre-magisk and pre-A/B partitioning so I figured that's just how things are on newer phones.
a1291762 said:
10.0.9.0 broke all the old twrps. Only 3.3.1 works now.
The official TWRP maintainer for daisy is dees troy.
Offain does the lineage ROM for daisy. I don't know how people get links to his TWRP. Search?
That guide looks ancient. TWRP and Magisk install guides can be found in this forum... I wrote a combined one (since having both complicates OTA) but if you're doing a custom ROM... It will depend.
Many custom ROMs want an encryption Disabler fix because they can't handle the encryption (which is on even if you don't have a password).
I've seen lots of surprise by people at the processes required for this phone. It was certainly different to what I've done before, but my last phone was pre-magisk and pre-A/B partitioning so I figured that's just how things are on newer phones.
Click to expand...
Click to collapse
My build is 10.0.13.0
BenG7 said:
My build is 10.0.13.0
Click to expand...
Click to collapse
Then use 3.3.3-1 dees_troy or :
https://drive.google.com/file/d/1-Enw0Kn2CAYyfN1Krv8t3CVNLyn0p0JX/view?usp=drivesdk
Here is the link for twrp 3.3.3-1 offain version ,but it is in .img format.Dont install it via fastboot or TWRP .You can boot it via this command:
fasboot boot twrp-daisy-3.3.1-0-offain.img ,install everything you want,and you'll be ok ,if you don't need permanent twrp recovery!
If you want permanent installation - I am using Android All in One tool from another XDA thread and that's what i do:
Reboot in Fastboot mode,then connect the device to PC open the all-in-one tool on your windows computer ,then click on the "Recovery Flasher and Device Rooter" button(after you see that the device is recognised in the program) ,you need to choose which version- set it to MANUAL. From there navigate to the recovery files(dees_troy and offain) in the first row navigate to the recovery image (offain) ,on the second row navigate to the recovery zip (dees_troy).Then hit the Flash button. The phone will boot in 3.3.3-1 offain twrp ,and automatically will install the dees_troy version and when everything is installed,the phone will reboot after the flash again in recovery.All the time i have 100% success with this all in one tool. When you are ready with the installation of twrp ,flash magisk and reboot to system.
Here is the thread for the tool:
https://forum.xda-developers.com/mi...ol-one-driversunlocktwrpfactory-t3866191/amp/
I guarantee it works every time with 100% chance for success
nikoman1987 said:
Then use 3.3.3-1 dees_troy or :
https://drive.google.com/file/d/1-Enw0Kn2CAYyfN1Krv8t3CVNLyn0p0JX/view?usp=drivesdk
Here is the link for twrp 3.3.3-1 offain version ,but it is in .img format.Dont install it via fastboot or TWRP .You can boot it via this command:
fasboot boot twrp-daisy-3.3.1-0-offain.img ,install everything you want,and you'll be ok ,if you don't need permanent twrp recovery!
...
Here is the thread for the tool:
https://forum.xda-developers.com/mi...ol-one-driversunlocktwrpfactory-t3866191/amp/
I guarantee it works every time with 100% chance for success
Click to expand...
Click to collapse
Thanks @a1291762 & @nikoman1987 but the tool won't do it for me at home
I do not think I need permanent TWRP (although I know how nice it is to know you can always fall back to twrp - I will have to use a PC instead); my intention is to flash https://forum.xda-developers.com/mi-a2-lite/development/lineageos-16-0-xiaomi-mi-a2-lite-t3919060LineageOS with temporary twrp 3.3.3-1 offain version
BenG7 said:
Thanks @a1291762 & @nikoman1987 but the tool won't do it for me at home
I do not think I need permanent TWRP (although I know how nice it is to know you can always fall back to twrp - I will have to use a PC instead); my intention is to flash LineageOS with temporary twrp 3.3.3-1 offain version
Click to expand...
Click to collapse
Your choice , but I always prefer to have permanent twrp with custom ROMs . You know what's best for you.
a1291762 said:
10.0.9.0 broke all the old twrps. Only 3.3.1 works now.
The official TWRP maintainer for daisy is dees troy.
Offain does the lineage ROM for daisy. I don't know how people get links to his TWRP. Search?
That guide looks ancient. TWRP and Magisk install guides can be found in this forum... I wrote a combined one (since having both complicates OTA) but if you're doing a custom ROM... It will depend.
Many custom ROMs want an encryption Disabler fix because they can't handle the encryption (which is on even if you don't have a password).
I've seen lots of surprise by people at the processes required for this phone. It was certainly different to what I've done before, but my last phone was pre-magisk and pre-A/B partitioning so I figured that's just how things are on newer phones.
Click to expand...
Click to collapse
@a1291762
I got this message after formatting the data and wiping system, trying to install LO:
Code:
"Device unable to boot. Error - mdtp image is corrupted"
I am now stuck on fastboot!
From the post https://forum.xda-developers.com/nov...7#post80993947
I understand I have to flash BOOT/RECOVERY/SYSTEM imgs to restore your device;
the commands are
Boot:
Code:
fastboot flash boot boot.img
Recovery:
Code:
fastboot flash recovery recovery.img
System:
Code:
fastboot flash system system.img
but the question is where can I get the
boot.img
recovery.img
system.img
for the xiaomi Mi A2 Lite (daisy); bearing in mind the phone is on a 2 partition system?
Thanks a lot in advance
BenG7 said:
@a1291762
I got this message after formatting the data and wiping system, trying to install LO:
Code:
"Device unable to boot. Error - mdtp image is corrupted"
I am now stuck on fastboot!
From the post https://forum.xda-developers.com/nov...7#post80993947
I understand I have to flash BOOT/RECOVERY/SYSTEM imgs to restore your device;
Click to expand...
Click to collapse
There is no recovery image because this is an A/B partitioned phone.
The mdtp issue seems to be a real issue for some people.
https://forum.xda-developers.com/mi-a2-lite/help/device-unable-to-boot-error-mdtp-image-t3926962
The advice I gave there is all I can give here. Try to fastboot/MiFlash a stock ROM.
If you don't have a stock image, they're listed here:
https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
Note that the newest image is 10.0.13.0 (14, 15, 16 did not get full releases, just OTAs).
These threads suggest it's possible to flash a stock ROM to fix a corrupt mdtp partition...
https://forum.xda-developers.com/mi-a2-lite/help/fastboot-loop-t3996081
https://forum.xda-developers.com/mi-a2-lite/help/mi-a2-lite-stuck-fastboot-recovery-help-t3938175
a1291762 said:
There is no recovery image because this is an A/B partitioned phone.
The mdtp issue seems to be a real issue for some people.
https://forum.xda-developers.com/mi-a2-lite/help/device-unable-to-boot-error-mdtp-image-t3926962
The advice I gave there is all I can give here. Try to fastboot/MiFlash a stock ROM.
If you don't have a stock image, they're listed here:
https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
Note that the newest image is 10.0.13.0 (14, 15, 16 did not get full releases, just OTAs).
These threads suggest it's possible to flash a stock ROM to fix a corrupt mdtp partition...
https://forum.xda-developers.com/mi-a2-lite/help/fastboot-loop-t3996081
https://forum.xda-developers.com/mi-a2-lite/help/mi-a2-lite-stuck-fastboot-recovery-help-t3938175
Click to expand...
Click to collapse
Thanks @a1291762.
I
Code:
fastboot flash mdtp_a mdtp.img
fastboot flash mdtp_b mdtp.img
as instructed by @SubwayChamp in the link you posted
but the phone boots straight back to fastboot after
Code:
fastboot reboot
so I believe I need to flash a stock rom
I'm on Debian; I am wondering wether I can use
Can XiaoMiTool V2 unbrick my device?
to unbrick my phone or just
fastboot flash the daisy_global_images_V10.0.13.0.PDLMIXM_20190813.0000.00_9.0_5d0d486f04.tgz rom?
Please confirm the commands are:
Code:
fastboot -w
fastboot update </path/to/your/Rom.zip>
and it will work with a .tgz format or do I need to extract it and then zip it?
Thanks for your help
BenG7 said:
Thanks @a1291762.
I
Code:
fastboot flash mdtp_a mdtp.img
fastboot flash mdtp_b mdtp.img
as instructed by @SubwayChamp in the link you posted
but the phone boots straight back to fastboot after
Code:
fastboot reboot
so I believe I need to flash a stock rom
I'm on Debian; I am wondering wether I can use
Can XiaoMiTool V2 unbrick my device?
to unbrick my phone or just
fastboot flash the daisy_global_images_V10.0.13.0.PDLMIXM_20190813.0000.00_9.0_5d0d486f04.tgz rom?
Please confirm the commands are:
Code:
fastboot -w
fastboot update </path/to/your/Rom.zip>
and it will work with a .tgz format or do I need to extract it and then zip it?
Thanks for your help
Click to expand...
Click to collapse
Mdtp flashes returned your device to an state where partitions are readable again otherwise you won´t enter not even to recovery.
You don´t have to try to flash recovery (nor stock or custom), only reboot to a custom recovery like TWRP, the process to do it is well explained there, I also faced an mdtp issue and I didn´t need to flash the whole rom, just booted to TWRP and from there I did what I wanted, but if you yet want to do it.......
First of all I´m not familiar with Debian coming to modding smartphones, just I use it within other distros for other purposes.
The tool that you linked is not useful for us, this tool works mainly to fool recovery to accept modded scripts as original/signed and our device although it has a recovery image doesn´t have a dedicated partition and it simply is not available for the normal user, it´s mean that this tool uses MiRecovery present on all the devices running Miui out of the box but not for the others running Android One.
If you can access to a Windows machine this is the tool that I frequently use: https://xiaomifirmware.com/downloads/miflashpro/ but if you only can access to a PC with Debian probably this tool works for you https://forum.xda-developers.com/android/software/tool-miflash-linux-t3708847
BenG7 said:
daisy_global_images_V10.0.13.0.PDLMIXM_20190813.0000.00_9.0_5d0d486f04.tgz rom?
Please confirm the commands are:
Click to expand...
Click to collapse
You can't throw a .tgz or .zip at fastboot?!
If you're going to flash a stock ROM, extract it and run a flash_XXX script. It will use your fastboot to flash every partition. Variants preserve data or relock bootloader.
if fastboot fails (data transfer failure (too many links))
-> use a different USB port which is not a charging port.
-> try a different USB cable
Delete me

Categories

Resources