Here are stock Mate 9 boot images that are modified to not force encryption. You can flash these in fastboot or TWRP, just select Image in TWRP then flash. An insecure boot image lets you use adb remount, and adb push or adb pull etc. to /system and its contents. Basically it's using ADB as root. I'll modify more upon request provided you link me to the boot you want modified.
ALL VERSIONS:
https://www.androidfilehost.com/?w=files&flid=152685
*To remove encryption after flashing to stock , boot into TWRP, format data, reboot recovery then flash a decrypted boot.img. If you're running a stock modified kernel, formatting data alone will not remove encryption. The idea is to always be decrypted. Never boot the system with a stock unmodified boot.img or it will encrypt your internal storage. So if you're fastboot flashing back to stock from another rom, flash a modified boot.img instead of the stock one*
In the full root thread it was advised to format data first and then flash modified boot image. In this OP it says to flash modified boot image and then format data. Does the order matter or can you do it both ways? Thanks
Sent from my MHA-L09 using XDA-Developers Legacy app
JATCHUHAN said:
In the full root thread it was advised to format data first and then flash modified boot image. In this OP it says to flash modified boot image and then format data. Does the order matter or can you do it both ways? Thanks
Sent from my MHA-L09 using XDA-Developers Legacy app
Click to expand...
Click to collapse
The order doesn't matter as long as you Format Data and have the Decrypted boot.img installed you're good. I updated the OP with the same directions as the full root thread so there is no confusion. Thanks for pointing this out.
Ok thanks
Sent from my MHA-L09 using XDA-Developers Legacy app
JATCHUHAN said:
Ok thanks
Sent from my MHA-L09 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Just to clarify. After you Format Data your data partition gets decrypted until first boot.
That's why you have to flash the decrypted boot.img before booting.
ante0 said:
Just to clarify. After you Format Data your data partition gets decrypted until first boot.
That's why you have to flash the decrypted boot.img before booting.
Click to expand...
Click to collapse
Yes I format data and flash decrypted boot before booting the phone. All is OK
Also aj could you decrypt the boot for L09C432B156 please, the link is below
https://drive.google.com/file/d/0B-qepxzncI0DSVpQN1RMTGZOX00/view?usp=drivesdk
Many thanks
Sent from my MHA-L09 using XDA-Developers Legacy app
Do you think in next days it will be possibile to get boot images also for Pro/ PD Mate 9? Thanks.
lukemo said:
Do you think in next days it will be possibile to get boot images also for Pro/ PD Mate 9? Thanks.
Click to expand...
Click to collapse
What's your full build number (Settings-About)?
ante0 said:
What's your full build number (Settings-About)?
Click to expand...
Click to collapse
LON-L29C721B138...is the last firmware for porsche design mate 9...
lukemo said:
LON-L29C721B138...is the last firmware for porsche design mate 9...
Click to expand...
Click to collapse
I can decrypt when I get home in 2 hourish.
lukemo said:
Do you think in next days it will be possibile to get boot images also for Pro/ PD Mate 9? Thanks.
Click to expand...
Click to collapse
Just send me a link to the boot image you need done
ajsmsg78 said:
Just send me a link to the boot image you need done
Click to expand...
Click to collapse
Thanks a lot. Tomorrow I'll be back to Milan and I'll download the ROM and extract the boot.img file.
ajsmsg78 said:
Just send me a link to the boot image you need done
Click to expand...
Click to collapse
Here you can find the boot.img for Porsche Design B138. Thanks.
https://www.dropbox.com/s/45adneap6dduab5/BOOT.img?dl=0
lukemo said:
Here you can find the boot.img for Porsche Design B138. Thanks.
https://www.dropbox.com/s/45adneap6dduab5/BOOT.img?dl=0
Click to expand...
Click to collapse
https://www.dropbox.com/s/tgfdprba4ikuaah/decrypted-boot-MHA-L29C721B138.img?dl=0
And sorry, totally forgot it yesterday
ante0 said:
https://www.dropbox.com/s/tgfdprba4ikuaah/decrypted-boot-MHA-L29C721B138.img?dl=0
And sorry, totally forgot it yesterday
Click to expand...
Click to collapse
Why to be sorry? You're so kind, thanks, I'll try it in the next few days. Only a question: you called the decrypted boot MHA-L29, obviously it's my LON-L29C721B138 decrypted I think...
lukemo said:
Why to be sorry? You're so kind, thanks, I'll try it in the next few days. Only a question: you called the decrypted boot MHA-L29, obviously it's my LON-L29C721B138 decrypted I think...
Click to expand...
Click to collapse
Oh, the filename is just incorrect. It's the same Boot you posted
https://www.dropbox.com/s/tgfdprba4ikuaah/decrypted-boot-LON-L29C721B138.img?dl=0
Updated file name.
How come there's no US C567 decrypted boot image?
posydon1 said:
How come there's no US C567 decrypted boot image?
Click to expand...
Click to collapse
Was wondering the same thing, haven't seen anything for it. I just want adb to free up wifi hotspot on my unlimited plan
posydon1 said:
How come there's no US C567 decrypted boot image?
Click to expand...
Click to collapse
erikclaw said:
Was wondering the same thing, haven't seen anything for it. I just want adb to free up wifi hotspot on my unlimited plan
Click to expand...
Click to collapse
Because there is no Firmware update for it yet.
If you have TWRP, please backup boot and post here
ante0 said:
Because there is no Firmware update for it yet.
If you have TWRP, please backup boot and post here
Click to expand...
Click to collapse
I can do that
Edited: https://db.tt/ke4c3m3tr1
Related
NOTE*** I'm on 7.0 beta OOS***
Hi all, I have just unlocked the BL, installed twrp, and have been trying to flash SuperSU and no dm verity zips.
All I see is twrp asking for my password? I enter in the pw I have and everything's it says wrong pw..
I've wiped user data however this wipes the zip files from the phone which brings me back to square 1..
I've read numerous topics however none of them have a definitive answer as to what my next step should be..
I am fully booted into android now and looking for help to decrypt data in twrp so I can root..
Thanks everyone for any help in advance!
PS. This phone is super sexy!
mazubo said:
NOTE*** I'm on 7.0 beta OOS***
Hi all, I have just unlocked the BL, installed twrp, and have been trying to flash SuperSU and no dm verity zips.
All I see is twrp asking for my password? I enter in the pw I have and everything's it says wrong pw..
I've wiped user data however this wipes the zip files from the phone which brings me back to square 1..
I've read numerous topics however none of them have a definitive answer as to what my next step should be..
I am fully booted into android now and looking for help to decrypt data in twrp so I can root..
Thanks everyone for any help in advance!
PS. This phone is super sexy!
Click to expand...
Click to collapse
Boot to whatever Android you have installed, set a 4 digit pin fit lockscreen. Then reboot to recovery and use that pin in twrp, it should work.
Tagtag123 said:
Boot to whatever Android you have installed, set a 4 digit pin fit lockscreen. Then reboot to recovery and use that pin in twrp, it should work.
Click to expand...
Click to collapse
Ok I'll give it a shot now... Thanks for the reply!
mazubo said:
Ok I'll give it a shot now... Thanks for the reply!
Click to expand...
Click to collapse
Try it out and let me know.
Happy me year!!
Tagtag123 said:
Try it out and let me know.
Happy me year!!
Click to expand...
Click to collapse
Still same thing. Password failed, please try again.
Would downgrading to marshmallow possibly help due to mm encrypting in a different fashion? I've read that N uses file based encryption...
mazubo said:
Still same thing. Password failed, please try again.
Would downgrading to marshmallow possibly help due to mm encrypting in a different fashion? I've read that N uses file based encryption...
Click to expand...
Click to collapse
Factory reset your ROM...
Then set a password on boot...
Boot to TWRP and use this new password to access your storage...:fingers-crossed:
cultofluna said:
Factory reset your ROM...
Then set a password on boot...
Boot to TWRP and use this new password to access your storage...:fingers-crossed:
Click to expand...
Click to collapse
Ok would this be different than erasing userdata via fastboot as I've done already?
Sent from my ONEPLUS A3000 using Tapatalk
mazubo said:
Ok would this be different than erasing userdata via fastboot as I've done already?
Click to expand...
Click to collapse
After factory reset ..Setting new password on boot OS should rewrite your new password to be compatible with your TWRP....
cultofluna said:
After factory reset ..Setting new password on boot OS should rewrite your new password to be compatible with your TWRP....
Click to expand...
Click to collapse
Ok commencing factory reset.. I'll report back!
cultofluna said:
After factory reset ..Setting new password on boot OS should rewrite your new password to be compatible with your TWRP....
Click to expand...
Click to collapse
Same problem..
Tried your method but still same password failed error
samsexy98 said:
Same problem..
Tried your method but still same password failed error
Click to expand...
Click to collapse
There is a new twrp beta released....Flash it through fast boot and you are good to go ....No password screen anymore ...You can direct access your data..
cultofluna said:
There is a new twrp beta released....Flash it through fast boot and you are good to go ....No password screen anymore ...You can direct access your data..
Click to expand...
Click to collapse
can't find it....
samsexy98 said:
can't find it....
Click to expand...
Click to collapse
Look in the TWRP thread. IIRC it is post 550
cultofluna said:
After factory reset ..Setting new password on boot OS should rewrite your new password to be compatible with your TWRP....
Click to expand...
Click to collapse
Silly question but where to set this password for boot OS? There are no crystal clear tutorials and all I read was like half explaination. Appreciate your assistance sir
Sent from my ONEPLUS A3010 using Tapatalk
override182 said:
Silly question but where to set this password for boot OS? There are no crystal clear tutorials and all I read was like half explaination. Appreciate your assistance sir
Click to expand...
Click to collapse
Is a new twrp released... No issues with password anymore...
Flash it and you are good to go...
https://drive.google.com/file/d/0B1BuG90z-Y4AOTZFTDIxR1pURHM/view?usp=drivesdk
cultofluna said:
Is a new twrp released... No issues with password anymore...
Flash it and you are good to go...
https://drive.google.com/file/d/0B1BuG90z-Y4AOTZFTDIxR1pURHM/view?usp=drivesdk
Click to expand...
Click to collapse
Another question, does this TWRP works on 3.5.4? Or must it be used only on Nougat ROMs?
override182 said:
Another question, does this TWRP works on 3.5.4? Or must it be used only on Nougat ROMs?
Click to expand...
Click to collapse
Yes it works..
.
cultofluna said:
Yes it works..
.
Click to expand...
Click to collapse
Another question oh my great one. What is the difference between Flash To Boot and Flash To Recovery within TWRP app?
override182 said:
Another question oh my great one. What is the difference between Flash To Boot and Flash To Recovery within TWRP app?
Click to expand...
Click to collapse
If you want to install new recovery img you pick flash to recovery...
Flashed the beta TWRP version. Works perfectly in OOS 4.0 OP3T
I DIRECT YOUR ATTENTION TO THIS THREAD INSTEAD: https://forum.xda-developers.com/mate-9/how-to/guide-how-to-root-mate-9-decrypt-data-t3569986
It's easier as you don't need to get a decrypted boot image.
Thank you ajsmsg78 for your work on this.
If you rooted using this method you don't need to re-root. Only difference is that SuperRoot patches boot image to "decrypt" automatically.
Perfect. Will try this later and report back. Thank you!
Just a tip, wipe dalvik & cache after flashing, fixed some small bugs for me (Not being able to get into developer options)
Also, RSA breaks if you flash the wrong boot image (165 on 138) so no adb
Yes!!!!
ante0 said:
Just a tip, wipe dalvik & cache after flashing, fixed some small bugs for me (Not being able to get into developer options)
Also, RSA breaks if you flash the wrong boot image (165 on 138) so no adb
Click to expand...
Click to collapse
So does this work if RSA break...Sorry I'm a noob. Is this process safe to root? Which one should image should I flash
..The latest one I'm assuming.
Sent from my MHA-L29 using XDA-Developers Legacy app
Ckao said:
So does this work if RSA break...Sorry I'm a noob. Is this process safe to root? Which one should image should I flash
..The latest one I'm assuming.
Sent from my MHA-L29 using XDA-Developers Legacy app
Click to expand...
Click to collapse
What model are you using?
Check Settings - About - Build number
MHA-L29...
About safeness, worst case you can use FunkyHuawei to restore (Unless you're using the US C567, and it's not a free service). But restoring stock boot using fastboot should be enough, and you would do a data wipe in vain.
ante0 said:
What model are you using?
Check Settings - About - Build number
MHA-L29...
About safeness, worst case you can use FunkyHuawei to restore (Unless you're using the US C567, and it's not a free service). But restoring stock boot using fastboot should be enough, and you would do a data wipe in vain.
Click to expand...
Click to collapse
Sent from my MHA-L29 using XDA-Developers Legacy app
*in that way we don't need to have the boodloader unlocked ??
Ckao said:
View attachment 4041592
Sent from my MHA-L29 using XDA-Developers Legacy app
Click to expand...
Click to collapse
So... To be clear for the folks that need clarity (me) to prevent messing up a device without a downloadable full ROM (though I'll do a full TWRP Backup to the best of my ability post step one), the current US only build appropriate boot image is B138?
Thank you for the screenshot. Ready to pop open the new device box and unlock the bootloader and fastboot. This helps so I'm flashing the correct modified boot.img in recovery.
talstar said:
*in that way we don't need to have the boodloader unlocked ??
Click to expand...
Click to collapse
Yes you must unlock your bootloader in order to flash TWRP and install root.
Sent from my ONEPLUS A3000 using XDA-Developers Legacy app
---------- Post added at 07:33 PM ---------- Previous post was at 07:32 PM ----------
Time to break my mate 9 back out and root it again. Thank you!
Sent from my ONEPLUS A3000 using XDA-Developers Legacy app
@ajsmsg78 the boot images cause a bootloop for MHA-L29C185 could you please make a special boot file for it, here is the link for C185B138
https://mega.nz/#!PsxGhJ7R!iN7g1OaEbaw-4jXvj9cXhA_wfXwoaDN8Fgs8X7PrTCc
Will you be supporting M9P ?
This boot looped my MHA-L29C636B138.
Blue.Ember said:
@ajsmsg78 the boot images cause a bootloop for MHA-L29C185 could you please make a special boot file for it, here is the link for C185B138
https://mega.nz/#!PsxGhJ7R!iN7g1OaEbaw-4jXvj9cXhA_wfXwoaDN8Fgs8X7PrTCc
Click to expand...
Click to collapse
Yeah when I get home I'll take care of it. Make sure your data is decrypted before you flash the boot.img. I had no issues with any boot images on my C567 US version.
ante0 said:
Just a tip, wipe dalvik & cache after flashing, fixed some small bugs for me (Not being able to get into developer options)
Also, RSA breaks if you flash the wrong boot image (165 on 138) so no adb
Click to expand...
Click to collapse
I'm gonna fix that in the boot.img. I had issues with adb being unauthorized but realized what the issue was.
samnahata said:
Will you be supporting M9P ?
Click to expand...
Click to collapse
No I can only support the phone that I own. However, if you need a boot.img decrypted send me the file and I'll do it.
ajsmsg78 said:
No I can only support the phone that I own. However, if you need a boot.img decrypted send me the file and I'll do it.
Click to expand...
Click to collapse
Sure, i would love to help the community. Could you kindly explain to me how i can extract this boot.img?
samnahata said:
Sure, i would love to help the community. Could you kindly explain to me how i can extract this boot.img?
Click to expand...
Click to collapse
In TWRP do a backup of you rom then go into your sdcard then into TWRP, then backups, then the next folder with all the numbers then into the name of your backup then send me the boot.emmc.win file.
ajsmsg78 said:
In TWRP do a backup of you rom then go into your sdcard then into TWRP, then backups, then the next folder with all the numbers then into the name of your backup then send me the boot.emmc.win file.
Click to expand...
Click to collapse
Thank you. I will get on it and send it to you ASAP.
Fixed adb on B365.
since both available TWRP images don't work on september patch, I tried to decrypt data using magisk and fastboot, I installed magisk with avb and force encryption turned off then I used fastboot format userdata, but it still says it's encrypted, is there any way to decrypt it?
hi I have found a site where that give you a zip. file for disable data encryption "https://www.thec u stom droid.com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/" eliminate any space
Sermog02 said:
hi I have found a site where that give you a zip. file for disable data encryption "https://www.thec u stom droid.com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/" eliminate any space
Click to expand...
Click to collapse
Yeah, I found it it later on zackptg5.com
Nebrassy said:
Yeah, I found it it later on zackptg5.com
Click to expand...
Click to collapse
Ok, if you have already done can you explain how to use it ? please
Sermog02 said:
Ok, if you have already done can you explain how to use it ? please
Click to expand...
Click to collapse
Go on fastboot,
Fastboot -w
This will wipe everything on the phone, boot twrp, flash the zip then flash magisk
You will no longer be able to receive OTAs
I upgraded by TWRP and did not have to wipe data. All information and data was intact. Finding a few bugs though!
joe1gun said:
I upgraded by TWRP and did not have to wipe data. All information and data was intact. Finding a few bugs though!
Click to expand...
Click to collapse
Hey bro I'm on havoc...All I need to do is download zip flash to both slots with twrp right..
joe1gun said:
I upgraded by TWRP and did not have to wipe data. All information and data was intact. Finding a few bugs though!
Click to expand...
Click to collapse
Could you pass the apk of the dp3 camera? I would appreciate
nhas81 said:
Could you pass the apk of the dp3 camera? I would appreciate
Click to expand...
Click to collapse
Not sure how?
kenbrownstone said:
Hey bro I'm on havoc...All I need to do is download zip flash to both slots with twrp right..
Click to expand...
Click to collapse
It automatically went to both slots.
joe1gun said:
Not sure how?
Click to expand...
Click to collapse
you can make a copy of the app and send here if you use tapatalk
Any show stopper Bugs?
galaxys said:
Any show stopper Bugs?
Click to expand...
Click to collapse
Couple apps won't load.
Let me guess, no 7 Pro 5G support?
Sent from my [device_name] using XDA-Developers Legacy app
joe1gun said:
I upgraded by TWRP and did not have to wipe data. All information and data was intact. Finding a few bugs though!
Click to expand...
Click to collapse
Twrp working right?
It's actually pretty smooth
I can't seem to get dark theme.
joe1gun said:
I upgraded by TWRP and did not have to wipe data. All information and data was intact. Finding a few bugs though!
Click to expand...
Click to collapse
Great news, thanks for sharing your experience, cheers.
Niki Exodia007 said:
Twrp working right?
Click to expand...
Click to collapse
Cannot get TWRP back after booting. Tried all in one tool and get error flashing boot.img.
Please provide steps to upgrade to Q via TWRP. Thanks
mibgeneral said:
Please provide steps to upgrade to Q via TWRP. Thanks
Click to expand...
Click to collapse
1. Just download full DP3
2. Boot to TWRP.
3. Install zip
4. Reboot
joe1gun said:
1. Just download full DP3
2. Boot to TWRP.
3. Install zip
4. Reboot
Click to expand...
Click to collapse
You will lose root and TWRP and will not be able to restore them.
confirmed twrp no longer work, no magisk...
mibgeneral said:
confirmed twrp no longer work, no magisk...
Click to expand...
Click to collapse
Seems you can't flash boot.img
joe1gun said:
1. Just download full DP3
2. Boot to TWRP.
3. Install zip
4. Reboot
Click to expand...
Click to collapse
I think twrp needs to be flashed right after flashing Rom, than reboot recovery, than flash magisk, wipe dalvik cache, reboot system. In my opinion that should work, also I'm gonna flash Blu_spark twrp, will update once I have tried this, cheers
Hi guys i was using the last firmware update the 17.0210.2001.60 normally with magisk installed an no twrp, i just moved from android/app a gps faker app into the classic folder system/priv-app cuz the module systemizer of magisk didnt work this time, and now im bootlooping with the Can't load to android system screen, how can i solve this? how can i flash the stock firmware without make other mistakes? btw i dont know why that app caused all of this problem just to move it there. thank you so much
If you can boot into TWRP and mount /system, see if you can remove that app that you moved. Otherwise, you can always flash raw firmware again in fastboot to get back to a bootable state again.
tskoze said:
If you can boot into TWRP and mount /system, see if you can remove that app that you moved. Otherwise, you can always flash raw firmware again in fastboot to get back to a bootable state again.
Click to expand...
Click to collapse
thank you for the reply, i dont have twrp installed on...any guide on rogphone 2 you can link? thank you
KyleMandra said:
thank you for the reply, i dont have twrp installed on...any guide on rogphone 2 you can link? thank you
Click to expand...
Click to collapse
Yes, it's really the only one on here
https://forum.xda-developers.com/ro...covery-unofficial-twrp-recovery-asus-t4026801