yashsingh1/xdaforums huggingface dataset:
[Mate 8 Original Android Development] ajsmsg78:
[BOOT] [KERNEL] [6.0] Decrypted & Insecure boot.img with adb fix **Update 01/26/17**

Here are stock decrypted NXT-AL10 boot.img's with adb fix. They do 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.

ALL VERSIONS:

https://www.androidfilehost.com/?w=files&flid=148259

*To remove encryption after flashing to stock , boot into TWRP, then flash my modified boot.img then Format data. If you're running the stock 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 youre fastboot flashing back to stock from another rom, flash my modified boot.img instead of the stock one*​
[Mate 8 Original Android Development] jbmc83:
nice, so is this the analogue to the decrypted B129SP02 boot image we had thus far? or am i mixing smth up here? :)
[Mate 8 Original Android Development] ajsmsg78:
Yep.
[Mate 8 Original Android Development] rowihel2012:
no love for l29?
[Mate 8 Original Android Development] jbmc83:
u can use both this and the previous B129 decrypted boot image on L29 models, no problem
[Mate 8 Original Android Development] ajsmsg78:
Send me the boot image and i'll fix it but the boot.img should be similar between both models.
[Mate 8 Original Android Development] dlorean:
This one is working fine with L29 and B152.

Gesendet von meinem HUAWEI NXT-L29 mit Tapatalk
[Mate 8 Original Android Development] skychiou:
Hello,

My build number is NXT-TL00C01B156. Could I use this boot image? Thanks!
[Mate 8 Original Android Development] jbmc83:
should work
[Mate 8 Original Android Development] Dioky:
Hi there,

Flashing your boot.img through TWRP didn't work for me. TWRP doesn't seem to recognize the file.

Fastboot flash did the job though.
[Mate 8 Original Android Development] jbmc83:
ull have to manually switch to image flashing, at stock twrp is set to zip flashing
[Mate 8 Original Android Development] Dioky:
*Sorry, deleted because accidentally posted in wrong thread*
[Mate 8 Original Android Development] jbmc83:
cool, thx for the B165 update :) keep up the good work!
[Mate 8 Original Android Development] dlorean:
What can it be? When I flash the B168 boot on B152, everything is going well, except for the option to delete authorized devices in development settings. This option isn't available.

Huawei Mate 8 L29~B152 using Tapatalk
[Mate 8 Original Android Development] HuaweiMate8:
Excuse my ignorance, but to use the downloaded image, should I flash it with TWRP or with ADB?
[Mate 8 Original Android Development] Lykeul:
HI. I do à zip with root explorer but TWRP failed... What can I do ??
[Mate 8 Original Android Development] bluheart:
Flash images via fastboot

Twrp has an.image flashing option just explore a little

Thanks for the twrp zip flushable file bru :D
[Mate 8 Original Android Development] rkrishnamurthy:
Hi Possible to make the no force encrypt boot image for L29 B170 version..

Can i use the B165 version on L29 B170 version?

Thank you very much
[Mate 8 Original Android Development] jbmc83:
no need, u can just crossflash boot images between the two models :)
[Mate 8 Original Android Development] HARRY-MASON:
insecure boot for NXT-L09 BUILD NUMBER B120

Hello. There are insecure boot for NXT-L09 BUILD NUMBER B120? buil number complete is NXT-L09C212B120. My mate 8 is version of mexico. greetings and thank you.
[Mate 8 Original Android Development] ajsmsg78:
You can enable pro for free in the free version.
[Mate 8 Original Android Development] jbmc83:
[MENTION=1397125]ajsmsg78[/MENTION] hey buddy, seeing as the stable nougat firmwares are finally out, are you still available for providing patched boot images? would be nice :)
[Mate 8 Original Android Development] ajsmsg78:
Yes just link me to the boot.img or rom.
[Mate 8 Original Android Development] jbmc83:
good stuff, will keep you updated then :)
[Mate 8 Original Android Development] jbmc83:
[MENTION=1397125]ajsmsg78[/MENTION] alrighty, here we go, Stock Boot Image for NXT-AL10C00B575 Stock Nougat ROM: http://www.filedropper.com/nxt-al10c00b575stockboot

Theres already a B577 version out, but ive only found the OTA thus far, not the full image. And theres talk of a B580 coming out soon.
[Mate 8 Original Android Development] ajsmsg78:
Updated to B575 (Nougat)
[Mate 8 Original Android Development] basimzanaty:
Thank you for being still loyal to Mate 8....

Just one question ...What phone (Phablet 6.0 + inches) do you suggest for me because I suffer from Mate 8 killing background services all the time especially "GMD gesture Control" ...also some issues with notifications that can't be healed.....Thanks again
[Mate 8 Original Android Development] ajsmsg78:
I'd say the Mi Max is a pretty good alternative.
[Mate 8 Original Android Development] basimzanaty:
Thanks ..I had some thoughts about it....just saw some reviews yesterday but I'm afraid of the EMUI.Some people talk about same issues with EMUI on xiaomi phones and also mate 9 is the same as Mate 8 .....I tried CM ROM on mate 8 ....It is flawless but still ALFA with the camera, fingerprints and Bluetooth Not functioning well.....sorry for being off topic.....Anyway thanks for advice.
[Mate 8 Original Android Development] ajsmsg78:
My Resurrection Remix build for the Mi Max works very well. Everything works except for VOLTE. For the price of the phone it's excellent and the size is perfect. Right now I'm running my Global Miui based custom rom and have zero issues with notifications. You won't have notification problems with MIUI.
[Mate 8 Original Android Development] Boosik:
Can this also be used for L29C432B560?
[Mate 8 Original Android Development] jbmc83:
decrypted kernels for emui 4.0 and 4.1 were interchangeable between regional roms, so it stands to reason that it would work on emui 5.0 as well. no warranties though!

you can get rid of all notification problems by just converting an app to a system app, works for me :) you must be rooted for that though!

Sent from my Huawei Mate 8 NXT-AL10
[Mate 8 Original Android Development] jbmc83:
I got a hold of the complete B577 rom and thus the Boot image: http://www.filedropper.com/nxt-al10c00b577stockboot

[MENTION=1397125]ajsmsg78[/MENTION]

B580 and B581 are out, but only as OTA updates...
[Mate 8 Original Android Development] ajsmsg78:
Added B577. Switched to AndroidFileHost for faster downloads for those in other countries.
[Mate 8 Original Android Development] Depende:
Wich one you recomend to use for L29C432B560, the B575 o B577?
[Mate 8 Original Android Development] jbmc83:
you can try either, just make sure that you have your original boot image at hand and also make a complete system backup, just in case there is some incompatibility :) im optimistic though
[Mate 8 Original Android Development] bailey2408:
at least for me I flashed onto rebranded 636 to 432b560 and it booted however settings force closes.. especially developer options.. pretty sure i tried 577 version
[Mate 8 Original Android Development] jbmc83:
so seems like theres some incompatibility then...

Sent from my Huawei Mate 8 NXT-AL10
[Mate 8 Original Android Development] bailey2408:
AppRently [MENTION=1397125]ajsmsg78[/MENTION] if i upload l432cb560 boot. Img would you be willing to mod it? Not having adaway is kiling me
[Mate 8 Original Android Development] franzyroy:
[MENTION=1397125]ajsmsg78[/MENTION]

There is the stock boot.img of NXT-L29C432B560 if you want.
[Mate 8 Original Android Development] ajsmsg78:
Are you trying to use adaway on Nougat? There is a new Nougat version .
[Mate 8 Original Android Development] bailey2408:
Not using. Need root or your kernel so at minimum i can adb push new hosts file to system/etc..

Or does that not work either by pushing hosts file?

Also would like to remove a few system apps.. All extra google stuff i dont use
[Mate 8 Original Android Development] Leo_83:
I also would like it for C432B560
[Mate 8 Original Android Development] bailey2408:
tried multiple ways and times to root 432b560 but settings keep jacking up.. really hoping that the boot image just uploaded can be modded so we can have some addtl control
[Mate 8 Original Android Development] Leo_83:
I was just thinking that this file is need so that the internal memory doesn't get locked, that is so we can access the internal memory. But if all the files I want to flash are on a SD card what is then the need for having access to the internal memory?
[Mate 8 Original Android Development] c|nder:
Ya why doesnt someone make a l29 560 kernel/boot its just as easy ... I would but dont have a cpu ... Can someone extract the boot and modify it ? We all would appreceate it.
[Mate 8 Original Android Development] prem_j:
how-to

Thanks a lot ajsmsg78.

Could you please post how did you build the kernel, and boot image step-by-step?

I'm trying to accomplish the same, but i'm getting following errors from abootimg:

# BOOT.img: no Android Magic Value

# BOOT.img: not a valid Android Boot Image.

And where did you get the source code from, official Huawei site?

Cheers
[Mate 8 Original Android Development] ajsmsg78:
I use Huawei's prebuilt kernels and modify them. If someone sends me the newest Nougat boot.img I'll make it not force encryption. It's the exact same process we have with the Mate 9.
[Mate 8 Original Android Development] prem_j:
Thanks.

So it's good old binary hacking then?
[Mate 8 Original Android Development] ajsmsg78:
Modifying the ramdisk and kernel fstab files is really all that needs to be done along with Modifying the default.prop to make it insecure.
[Mate 8 Original Android Development] prem_j:
Works great. Thanks!
[Mate 8 Original Android Development] franzyroy:
Hello

Justly... Can you make it with the boot B560, PLEASE? :D

Thanks! :good:
[Mate 8 Original Android Development] ajsmsg78:
I already did B577. You can just that one as it should work fine.
[Mate 8 Original Android Development] Leo_83:
No someone reported problems to [MENTION=4071479]bluheart[/MENTION] when using B577_boot.img with B560... I can't find the post at the moment though.

Skickat från min NEXT via Tapatalk
[Mate 8 Original Android Development] franzyroy:
I also saw that.

---------- Post added at 20:06 ---------- Previous post was at 20:00 ----------

[MENTION=1397125]ajsmsg78[/MENTION]

Is it easy to make an insecure boot.img?

Is it in boot.img-ramdisk.cpio file? because I saw that in:

Normal boot.img (boot.img-ramdisk.cpio file)

# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
ro.adb.secure=1

Insecure boot.img (boot.img-ramdisk.cpio file)

# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.adb.secure=0
[Mate 8 Original Android Development] franzyroy:
Is it in default.prop file?

Normal boot.img (default.prop file)

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
ro.adb.secure=1
ro.zygote=zygote64_32
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
ro.dalvik.vm.native.bridge=0
ro.magic.api.version=0.1
debug.atrace.tags.enableflags=0
ro.enable_boot_charger_mode=0
persist.sys.usb.config=manufacture,adb
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=Fri May 20 04:25:38 CST 2016
ro.bootimage.build.date.utc=1463689538
ro.bootimage.build.fingerprint=Huawei/NEXT/hi3650:6.0/MRA58K/jenkins05200417:user/test-keys

ro.confg.hw_bootversion=NXT-C900B320_BOOT

Insecure boot.img (default.prop file)

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.adb.secure=0
ro.zygote=zygote64_32
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
ro.dalvik.vm.native.bridge=0
ro.magic.api.version=0.1
debug.atrace.tags.enableflags=0
ro.enable_boot_charger_mode=0
persist.sys.usb.config=manufacture,adb
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=Fri May 20 04:25:38 CST 2016
ro.bootimage.build.date.utc=1463689538
ro.bootimage.build.fingerprint=Huawei/NEXT/hi3650:6.0/MRA58K/jenkins05200417:user/test-keys

ro.confg.hw_bootversion=NXT-C900B320_BOOT
[Mate 8 Original Android Development] ajsmsg78:
You can edit the default.prop to make the boot.img insecure so you can use adb as root.

Change the ro.secure values to 0. Change debuggable to 1. (0=no 1=yes)

Then edit the fstab and change the value to encryptable.
[Mate 8 Original Android Development] franzyroy:
I don't use adb but I extracted the boot.img with Huawei Extractor and unpacked with Android Image Kitchen... I don't think that changes something, but yes I can to edit the default.prop file

You talk about of fstab.hi3650 file where there is this difference:

Normal boot.img (fstab.hi3650 file)

userdata /data ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc,mblk_io_submit,discard wait,[COLOR="Red"]forceencrypt[/COLOR]=footer,check

Insecure boot.img (fstab.hi3650 file)

userdata /data ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc,mblk_io_submit,discard wait,[COLOR="red"]encryptable[/COLOR]=footer,check

So just 2 files to modify:

default.prop

fstab.hi3650
[Mate 8 Original Android Development] konroma:
Don't seem so easy... at least for me!

So, have to wait that any good friend compile and post an insecure boot image for B560....
[Mate 8 Original Android Development] franzyroy:
If there is only what he said me, no it's not so difficult.
[Mate 8 Original Android Development] konroma:
So please try, maybe became the key for a fully functional twrp and root!
[Mate 8 Original Android Development] franzyroy:
I'm waiting confirmation to [MENTION=1397125]ajsmsg78[/MENTION] and after, yes I might test it.
[Mate 8 Original Android Development] konroma:
thank you!!!
[Mate 8 Original Android Development] ajsmsg78:
Yes you only have to edit those two files.
[Mate 8 Original Android Development] franzyroy:
In the BOOT B560, there are several fstab files with

forceencrypt=footer,check

The files are:

fstab.ext4.hi3650

fstab.f2fs.hi3650

The others

fstab.zram768m

fstab.zram512m

fstab.zram1536m

fstab.zram1024m

haven't

forceencrypt=footer,check

Only those one have it

fstab.ext4.hi3650

fstab.f2fs.hi3650

So I must only modify these

fstab.ext4.hi3650

fstab.f2fs.hi3650

and

default.prop

3 files

default.prop

fstab.ext4.hi3650

fstab.f2fs.hi3650

I'm right?

---------- Post added at 00:21 ---------- Previous post was at 00:03 ----------

I looked in the B577, there are 3 modified files, those one:

default.prop

fstab.ext4.hi3650

fstab.f2fs.hi3650
[Mate 8 Original Android Development] franzyroy:
[MENTION=1397125]ajsmsg78[/MENTION]

I tested it, it works fine. I forgot to remove my code so I was forced to reinstall the B560, because when I rebooted my code wasn't recognized. Now I'm rooted... All is fine.

Thanks! ;)

For those who want the insecure boot img of the B560, it's below

Insecure boot B560 img
[Mate 8 Original Android Development] ajsmsg78:
Let's start a new thread for the insecure decrypted boot images.
[Mate 8 Original Android Development] franzyroy:
I'm agree... why not?! :good:

Thanks for your help! ;)
[Mate 8 Original Android Development] farshadlp:
hello guys

i want l29c185b200 build num is here any link give me any one?
[Mate 8 Original Android Development] ziro007:
Please can you make a new thread for how to install twrp and root process for B560. Please make it simple it is too complicated to root now I am afraid of bricking my phone.
[Mate 8 Original Android Development] franzyroy:
Why have you requested here?

Rather there, right!
[Mate 8 Original Android Development] MikzTwix:
May I use to flash this on NXT-L29 Android 6.0 with Build number B196?

so I can install TWRP? TWRP is asking for a password to decrypt?
[Mate 8 Original Android Development] ajsmsg78:
Yes you can install these and restart into twrp. If it asks you again then you have to do a Data Wipe to remove encryption. Then you won't be encrypted again unless you flash a stock boot.img.
[Mate 8 Original Android Development] MikzTwix:
Thanks last question can I flash this using fastboot?

because I cannot use the TWRP because it is asking me for a password?
[Mate 8 Original Android Development] ajsmsg78:
Yes, you can use fastboot.
[Mate 8 Original Android Development] MikzTwix:
Thank you I hope that it will not brick my phone :).
[Mate 8 Original Android Development] ubermorgan:
To my eternal shame guys, I have unknowingly flashed my boot partition. This is really embarrassing but I'm not sure how to fix this.
[Mate 8 Original Android Development] jbmc83:
[MENTION=1397125]ajsmsg78[/MENTION] NXT-AL10 full rom B172 is available for download in the huawei ota server thread :) time to update this thread ;)
[Mate 8 Original Android Development] Ali5592:
hello i have flashed the b168 insecure img... i wanna flash the al29 B180 rom... can i flash right away or do i need something before to do?
[Mate 8 Original Android Development] icy20:
Hello. I have already posted it on the general thread but I'm posting here as well as it is relevant to your thread my friend ajsmsg78. For us who have the AL10 devices the insecure boot img obviously contains the Kernel as well! I had your 168 version till today and I saw at the phone info Kernel version March 4th. Today I flashed the new one (172) and now it is March 26th! :) Thank you again for all of your hard work! We always wait for your updates :)
[Mate 8 Original Android Development] jbmc83:
interesting find, ill have to check that right away ;)
[Mate 8 Original Android Development] ajsmsg78:
The B172 Kernel shoud be March 26th. If it's not then you're probably using an older kernel. The boot.img from KangVIP B172 and my Insecure B172 are the same so that shouldn't matter.
[Mate 8 Original Android Development] icy20:
LOL not=now :P it was a typo. :) I fixed it
[Mate 8 Original Android Development] jbmc83:
maybe the thread title should be updated to include that info [MENTION=280510]al1[/MENTION]0 kernel included :)

---------- Post added at 02:58 AM ---------- Previous post was at 02:21 AM ----------

btw, solved the supersu issue after updating insecure boot and kernel: reinstall busybox use option in supersu settings to reinstall supersu app from play store :) now theres no more nagging message about updating the binary after each boot!
[Mate 8 Original Android Development] icy20:
Hm, I did that but nothing happened...
[Mate 8 Original Android Development] jbmc83:
u did both? and nothing changed? did the busybox install go through successfully?
[Mate 8 Original Android Development] icy20:
It was the version of supersu that created the problem. I had 2.67 and I just flashed 2.65 and all came back to normal :)
[Mate 8 Original Android Development] jbmc83:
weird, i also have 2.67 installed and just reinstalled the supersu app...
[Mate 8 Original Android Development] HARRY-MASON:
can I Flash these boots in my mate huawei 8 NXT-L09 ?? version NXT-L09C212B120 ?? very thanks.
[Mate 8 Original Android Development] jbmc83:
good question,no idea ^^
[Mate 8 Original Android Development] binz2016:
Hi ajsmsg78, thanks very much for your kindly help, could you please hand me a favor to enable ro.debuggable=1 in your image, we need this to debug system&apps. Many thanks.
[Mate 8 Original Android Development] somboons:
can you make for L29 B180?
[Mate 8 Original Android Development] jbmc83:
u can just flash the AL10 boot image on L29 devices :) also, L29 phones dont need the decrypted boot, its just to prevent bootloop on AL10 after twrp flash and root...
[Mate 8 Original Android Development] deaad:
I don't understand. I flashed this B172 kernel and stil get the message CJL5T1XXXXXXX unauthorized at adb command 'adb devices' . What is wrong?

Addition: after flashing your B172 rom with the same kernel it say 'device' instead of 'unauthorized' . ?
[Mate 8 Original Android Development] AloyiusVT:
Hey man, I'm looking into rooting my NXT-L29 (B170), I saw the rooting thread by ajsmsg78 and he mentioned flashing the decrypted boot.img to prevent it from re-encrypting the internal storage. But I read what you said and just want to confirm is it true? Does this mean I can disregard flashing the decrypted boot.img and it won't re-encrypt on L29 devices?

If it's not true, then which decrypted boot should I flash?
[Mate 8 Original Android Development] jbmc83:
well if u wanna make 100% sure u can just go ahead and flash the latest decrypted boot image, wont do u any harm ;)
[Mate 8 Original Android Development] AloyiusVT:
Sorry man, I'm too scared to make any assumption at this point >_< just to confirm, what you mean is to flash the B172 img on my L29 B170, right?
[Mate 8 Original Android Development] jbmc83:
correct
[Mate 8 Original Android Development] jbmc83:
[MENTION=1397125]ajsmsg78[/MENTION] care to write up a howto to create decrypted & insecure boot.img? seeing since ure switching to an N6P now, it would be nice not to lose the ability to update to the newest kernel and boot image on our AL10 devices :)
[Mate 8 Original Android Development] jbmc83:
by the way, download-link for new C00B180 AL10 firmware: mega.nz/#!5kdCAZZa!6yMQJ6ERQ4olPSLZl_5TWeeVP5nnWXFq-f6dOhgQzi8

time for an updated decrypted boot.img? :) ;)
[Mate 8 Original Android Development] somboons:
[MENTION=4294020]jbmc83[/MENTION] or anyone who have AL10 ,Could you show me the content on custom.bin or upload to me ?
[Mate 8 Original Android Development] jbmc83:
happy to oblige!

custom.bin as in the firmware package or on the phone itself?
[Mate 8 Original Android Development] somboons:
:D I already debranded to AL10 from L29.
[Mate 8 Original Android Development] ajsmsg78:
Added B321 boot.img
[Mate 8 Original Android Development] jbmc83:
thx a ton [MENTION=1397125]ajsmsg78[/MENTION]
[Mate 8 Original Android Development] deaad:
I don't understand as I expected B180. What doesn't I know?

Addition. Dumb question as B321 came out.
[Mate 8 Original Android Development] arthalionz:
is it have google play?

and fixed notification problem? (whatsapp)
[Mate 8 Original Android Development] tdamocles:
insecure boot image for b180?

I'd like to use adb in kangVIP slim b180 version and I can't use any adb commands. Is there a boot image I can use?
[Mate 8 Original Android Development] pasil.pt:
Can you post B170 fastboot flashable image for L29, please?
[Mate 8 Original Android Development] ajsmsg78:
Send me the boot.img and i'll do it.
[Mate 8 Original Android Development] bh4714:
Hi, can this be flashed on DL00 variant? I have unlocked bootloader. Thanks
[Mate 8 Original Android Development] pasil.pt:
Thanks, ajsmsg78 :)

I flashed B172 img and it worked well. That was importante to give me back the chance to instal twrp, because despite of bootlader unlocked the boot image was forced encrypting.

Now with twrp i installed Ephemeral ROM based on B180.

Do you think I still need to flash new decrypted boot images everytime I flash a new rom?

Kind thanks for your support :)
[Mate 8 Original Android Development] ajsmsg78:
Flash it any time you go back to stock. My custom roms don't force encrpytion. The stock ones do.
[Mate 8 Original Android Development] alvespassospaulo85:
My AL10 doesn't boot after i flash the .zip file in TWRP. What i do now?

My AL10 doesn't boot after i flash the .zip file in TWRP.

I have the message your device is boot now...

And the screen stays like this all the time. What i do now?
[Mate 8 Original Android Development] jbmc83:
unfortunately, the B321 boot image only works with B321 firmware, it wont work on older firmwares or if u have the EMUI 4.0 twrp version installed...

Sent from my Huawei Mate 8 NXT-AL10