yashsingh1/xdaforums huggingface dataset:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] heybrouwer:
Is there a change that Lineage 18.1 also will be released for the BTV-DL10 ?

Does Lineage 17.1 get a working camera. I'm a kind of ashamed to ask, because you guys did so much work already and than comes this

Pinokkio asking for the one thing it doesn't have. Sorry for that, but I need the camera fot streaming. I bought the tablet , because it is performing smooth with the 4GB Ram and the price/performance is better than the newer tablets. And than I saw the Lineage version from you guys and I was completely happy to learn that I could own a up to date tablet with the latest Android which you need for streaming.

So thanks again for helping me out. The message got a little long, but I wanted to give more background. Usually people get help and than dissapear
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Robocop3422:
Questions to the Developer(s):

- Work the camera (front and back-camera) now with the current build?

- How to install the image "boot_w09_ten_20210313.img" for only Wifi devices? And when does this step become necessary in the how-to?

- When is Lineageos 18 expected to be released for this device?

Thank you.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
No, camera it's not working on Android 10 LineageOS 17.1 - if you need camera, please use LineageOS 15.1 or LineageOS 16.0 ( the camera it's working there )

You should install boot.img for your device via fastboot mode or into TWRP like a image, just before to reboot to system !

There will be No LineageOS 18.1 for this device ... unfortunately !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
really silly question but does my bootloader need to be unlocked? Can't seem to unlock my bootloader as huawei closed the portal and the paid dc-unlocker can't seem to detect my mediapad M3 :(
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, you should use DC unlocker and install Huawei drivers and adb drivers on your PC in order to detect your device.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] heybrouwer:
I used dc-unlocker2client_1.00.1431.zip on my m3 BTV-DL09 and worked fine
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] geoffwdixon:
Anyone else having problems locating stock firmware? I've checked there webpage and firmware finder app.

It appears Huawei removed everything from their servers.

Example image:

View attachment 5272113
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Go back to page 33 in this thread and there are some links I posted for stock firmware.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] geoffwdixon:
wow lifesaver.... thankyou so much... downloading now!

EDIT: Crap think i need: BTV-DL09C100B311 or BTV-DL09C100B303
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Give me a few, downloading now, then will upload which takes too long. But have a BTV-W09C100 on the way.

@geoffwdixon

https://www.mediafire.com/file/gvqa...01_Firmware_7.0.0_r1_EMUI5.0_05013XMQ.7z/file didn't have a working windows install to decrypt it with but here you go. Sorry it took so long.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Massive thanks for this project. Finally unlocked and installed it. Had to install Hisuite to get the drivers etc and dc-unlocker to detect it to unlock bootloader.

Thanks so much for this. I love this tablet and being stuck on android 7 annoys me. Now just need to get google services to work properly and it'll be sweet. Have to wait about 10mins for device registration and reboot lol
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Ok I seem to be getting storage permission issues? Apps can't write/read from /storage/emulated/0/Android/data location?

eg is Vanced manager cannot download stuff to install.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Did you go into each apps permission settings and give storage permission?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
You will have issues as that is not the correct TWRP. Can't tell you what they will be only that they will be.

After thinking about this and seeing yet another person with issues I think this post should be fixed to contain accurate twrp version. @diztorded or @surdu_petru could maybe take care of this ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Not asking for permissions but I did go and explore in there. Something is not working right :( Try Vance Manager. Install it fine but then it can't "download" stuff within the app, also gave it root permissions. It seems like some mount points or something? I've checked the /storage/emulated/0/Android/data and I do see all the folders created from the apps but within the folders they are empty.

any help would be appreciated. Getting fileio exception going through logcat.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
What TWRP version did you use?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Used TWRP 3.3.1-1 as linked in post 1.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Also tried Lineage 16 from other post. Seems to be having same problem. Could it be a hardware fault?

Have anyone tried Vanced manager and get it work correctly?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
I had to manually allow Vanced to install apps. It didn't ask me like it usually would.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
So this is my log file with the fatal error where it's fileIO related.

logcat_04-08-2021_16-46-50.txt

drive.google.com

If anyone can help that'll be great.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Did you have a fully working stock Android 7 EMUI5 before flashing LOS ? If flashing nougat without hw_update.zip(2nd part in dload) it can cause issues with permissions and files not found. There are more partitions in an Android that are proprietary that LOS does not touch. Factory OTA files write to those protected partitions and are needed to have device function correctly. Flashing the second update from dload was key for me when I had same problem.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
oohhh before I just use OTA updates. I'll try and do a manual update to stock with both update files and see how it goes.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Which stock firmware should I be using? There's 2 with emui 5.

One has just the update.app and the other have update.app and update(2).app. The one with 2 files seem to have a later date so just use the 2 files one?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Ok having trouble flashing it back to stock. Can anyone show me the link or tell me how to get back to stock from TWRP?

steps I've taken:

Extract the update.app file from stock.

Flash boot with boot.img, recovery.img, system.img and userdata.img

Done it all in fastboot. system still doesn't work. Tried flashing vendor.img but that failed?

Tried using huawei recovery but it tries to connect to server and fail guess cos M3 not supported anymore.

Any help how to fully get back to stock would be great. Just so I can know all the permissions/partitions are written correctly before I flash lineage again.

Thank you
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
vendor.img can be flashed only via twrp by "dd" command ... and I guess you need also to sparse it from VENDOR.img to vendor.raw with "simg2img" !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
After flashing all that simply run UPDATE.APP in dload folder using three buttons. That's all that was needed unless you put twrp in recovery2 then HWOUC wont run update.app. After running update.app you can change the name of the second file from dload to UPDATE.APP and run it the same way.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
ok will try again tonight. Pretty sure I ran the 3 button update but it failed at 5% maybe cos I was using the update(2).app file since it seems to be the bigger file with everything in it. Will try it will the smaller update.app tonight. Love lineage just not sure if it's a bug in lineage or my table that's making one of the apps not working properly due to ioexception as shown in the log I've posted.

got my fingers crossed for tonight!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
@surdu_petru and @friedsonjm here are some guidelines from Huawei for the BTV-W09 if ya'll want to take a look. I think they may help a few people. Forgot I had this one, had it since surdu started LOS 15. Oops.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
I keep getting fail to update on stock image :(

Downloaded the BTV-DL09 5014EAR file.

I've fastboot flash boot.img, recovery.img, system.img, userdata.img

Reboot device, tried the 3 button update with the dload folder in sdcard.

at 5% it says udpate fail :(

Anyone help on how I can forcefully flash stock image back to my device? I can either use twrp or fastboot no problem. I can extract all the img from update.app that I've downloaded.

should I flash recovery2.img to recovery?

Any help would be appreciated. Else I'll just use the lineageos knowing one of the app I use can't be used anymore lol
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Do not flash recovery2 anywhere but recovery2. recovery2 is your e-recovery. Never flash any partition with the wrong image for that partition. Forget anything was said about the two recovery slots. You screw up recovery partitions and you will have a brick to play with.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
You are going to have to try a different version of the update.app. That may be difficult to find one other than some I have. I can't do it right now but will check and see if I have any DL09 that aren't linked already. If done right the update zip can be flashed from within twrp. You need to have a copy of twrp on your sdcard to flash recovery after update.zip because it will overwrite twrp with stock. You have to reflash twrp as it takes more than one zip to install and need twrp to do it.

In fact, this is getting way beyond anything you need to be doing. You don't need to flash anything else with fastboot. If you are getting the update screen you just need different version of update.app. Stop flashing stuff before it's too late, it's not needed if updater is working.

Scroll up a few spots and look at the .pdf I posted yesterday. Added one for DL09 which is different than w09. It also addresses failure below 5% and failure above 10% I believe.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
@NeoXTC here are a couple you can try. One is OTA the other is full firmware update.

https://drive.google.com/file/d/1CM--e324ucTbVZvkZ7LjBZGBMTCqewGT/view?usp=sharing

https://www.mediafire.com/file/agn7h1xg10gnxt5/BTV-DL09C100B009_OTA.zip/file
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] diztorded:
On that thought, I think starting from a known point would solve a lot of issues. A specific factory ROM and OA update would ensure the starting point. From that point forward, as the user progresses through the steps, the results should be a bit more controlled and expected.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Thank you. I'll try your 2 file and flash from TWRP and see. Yes I only flash recovery2 for recovery2.img :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Robocop3422:
Is the camera still made to work under 17.1? Because then I still wait...

Should the file boot.img be installed befor lineageos17 flashing or before?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
You just need twrp and then you can flash lineage 17.1 through zip. don't need anything else.

Thanks to all regarding getting back to stock. Managed to get it back finally but stuck on booting up (waited about 10mins still there) I gave up and just install back to lineage. App that I was using is not really needed can live without.

Thanks to all those who tried to help!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
He was referring to the w09 variant and it has a seperate boot.img that has to be flashed.For W09 you need TWRP LineageOS.zip and corresponding boot.img for that release.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Corrected the BTV-DL09 instructions with correct .pdf. Don't know how it wound up with open source disclaimer.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Robocop3422:
Yes i have the W09-Device (only Wifi), then i need the boot.img or? ok, then first install twrp, then lineageos.zip and then boot.img over twrp, right?

AND:

Is the camera still made to work under 17.1? Because then I still wait... does anybody here know?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Yes, TWRP, then install ROM, then flash boot.img to boot partition, then clear Dalvik/Cache, then boot. No, it does not look like we will get the camera on 17.1 If you need that, use the developer's LIneage 15 ROM
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
The camera does not work on LOS 17.1 and I don't know if it'll work in the future - it's best to use LOS 15.1 if you need the camera - LOS 17.1 is for those who do not use the tablet to take pictures ( logically - it's better with a newer smartphone )
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Robocop3422:
OK. And how can i install the boot.img to the boot partition?

surdu_petru mean last week the camera works on lineageos 16. Its not correct?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
You can install boot.img via TWRP as "image" and select boot for partition

Yes, you can use Camera also on LOS 16.0 Android Pie/9! !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] han2:
First, I want to say that I am so excited to come across this project. The m3 is a fantastic tablet with a gorgeous screen and it's great to have it working again. Mine was bricked for over a year and I was able to recover it and install Lineage thanks to this awesome project. I want to extend my thanks to everyone that has worked on this in any way big or small. Fantastic!!

I do have one question I didn't see answered in the thread, perhaps I missed it?

My main uses for the m3 are youtube and Plex. Such a nice screen!!

I am currently on 15.1 as I could not get Plex to sync video to an SD card under 17.1. This is a dealbreaker for me, I load it up with video to watch while traveling.

Did I miss something? Is there something I can do to fix/test/help debug this issue?

Thank you again!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
always need logcat to see what's happening. But I suspect there's some permission etc happening. I have problem with my other app where it's got a fileio exception where it's not "readable". Just have to be patient for more bug fixes or if surdu ask for more debug logs etc.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nkven:
Hi everyone,

I have installed lineage 17.1 on a BAH-W09 and I would like to go back to stock!

Please, is there any solution?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please, did you informed well before installing LOS 17.1 if you can easily go back to the original stock version ?

Your device it's not based Kirin and there is no easy solution to revert to stock .
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
What is there about the stock ROM that makes you want to go back to it?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nkven:
Hi,

Yes, I was informed about the difficulty of reverting back to stock.

I just wanted to ask again because maybe someone found a solution for that.

Thanks!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nkven:
higher quality of sound, camera etc.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Maybe you should try the developers 15.1 version.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Nope, because there aren't any LOS 15.1 for his device.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] diztorded:
Check my post from above.

https://xdaforums.com/t/rom-10-0-li...3-8-4-update-19-03-2021.4198965/post-84795191
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Unfortunately it's not working on non Kirin devices.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] han2:
Plenty of guides on flashing stock here, do a search.

I posted a very high level one including filenames that are available out there for download as of the time of this posting.

https://xdaforums.com/t/mediapad-m3...loader-unlock-question.4012963/#post-84821265

Step 1 is what you're looking for if you want EMUI 4. Go up to step 5 if you want EMUI 5.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hmm, he haven't Mediapad M3 8.4 and he can't apply any steps from there.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Is anybody else having issues updating YouTube Vanced and MicroG from the Vanced installer? I keep getting a download error for both...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
You have to go into the system settings and manually assign permissions to the app for it to work. Permission doesn't pop up when you run it so you need to manually do it.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Okay, thanks. I'll try it. Was working fine until the new update, so I guess it reset permissions. I appreciate it.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
So I made sure Vanced was allowed to install apps, and it is. As far as permissions go, it's blacked out and says no permissions required...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Hi, Surdu! Just curious - are you going to make any more updates to this ROM? thank, jf
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, of course I'll do ... for now there is a problem on the side of the internet provider that downgraded me to adsl instead of fiber as I had before , and in this condition it's a bit harder to upload something ... but I'll try a new update in a few weeks with the new May security patch !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Sorry to keep bothering you but when you say manually assign permissions, are you talking about the install unknown apps permission? The basic permissions are blacked out like on my other device with LOS 17.1. The Vanced Manager worked fine before this recent update. Am I missing something, or are there some other permissions I have to manually set? It just keeps saying error downloading.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
He may be talking about

adb shell pm grant com.name-of-app android.permission.PERMISSION_YOU_WANT_GRANTED
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
I don't think so, because I don't know what permission(s) is lacking. I couldn't finish the terminal command without knowing what the problem is. I reiterate that everything was fine until the Vanced Manager updated, and now it won't update the corresponding apps. Only thing I can think of is that you have to go to system settings and manually set the Manager to allow installation of unknown apps, which I did long before the Manager updated. I've uninstalled and repeated the same process, with no luck. It's just very strange to me that this is the only device that I'm having this issue with. I do appreciate the response and the time you took to try to help me resolve it, but my other device with LOS 17.1 asks for no permission other than to allow the installation from unknown apps. There's a bug somewhere with the ROM, or more likely the application for this ROM. Thanks again for the response.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
You're right, I went a step beyond what he was talking about. If the permissions aren't showing up or available in settings, for whatever reason, then you can try to set them via adb. If they are not actively being blocked you may succeed and you may not. It doesn't take too long to find out.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Yeah, I follow what you're saying. As always I appreciate your wisdom and experience. But if my other device shows no permissions requested, yet works fine with the app, is it worth investigating? If so, how do I go about it with adb using the command you shared? I just have no clue what permission it could be missing...thanks again, man. You've always been a huge help to me on here.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
This is a world of customization that revolves around work-arounds and other select methods to make things work as well as possible. One device has nothing to do with another when it comes to functionality of an app. Whether it's worth investigating totally depends on you and what you want. Nobody can answer that for you.

I don't know what permissions it asks for from manifest. I use Advanced Tools Pro for an easy way to look at manifest and other info for installed apps. Not sure, but I think free version allows access also.

You can always run a logcat and study it to see what permissions are being requested, granted and denied.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Okay well thanks again, bro. I'll see if I can investigate further. Worst case scenario is I'm stuck with an older version of YouTube Vanced. I apologize if I came off sideways. I meant no disrespect. Thank you so much for your time, and for your responses.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
I got nothing sideways or disrespectful from that. You may need to work on your bad attitude, it didn't come thru for you. HAHA no prob and later. I believe I'm going to go get numb now.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
I feel ya. Already there bro. Later man.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Sorry haven't checked this in awhile. It should be allowed storage permission and in advanced, should be allowed "installed unknown apps"

allow that and it worked for me. I'm using vanced manager. Have installed magisk/root as well.

Let me know how u went
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Ok just updated Vanced manager and it removed my storage permission, it's greyed out now so can't update youtube anymore. I'll have a play
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Okay, let me know if you find a fix. I was unable to get anything to work. Thanks.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
Not a solution but if you want the latest youtube vanced. Do as instructed in this post. https://github.com/YTVanced/VancedManager/issues/342#issuecomment-830837523
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
BTW, I noticed that Offmode charging doesn't work on the last update, it's only me ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
What is Offmode charging
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
If you mean charging when turned off, that is working on mine.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
Offmode charging does not work on BTV-L0J. However, after flashing the boot.img for BTV-DL09, it does work.

So Offmode charging may work on WiFi model.

Attention:If you do the same thing to BTV-DL09, it seems to cause stuck on boot.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hi !

Restarting working on LOS 17.1 and now we can play any games like on LOS 15.1 !

I want also to fix camera in order to skip any new update to LOS 15.1 and all users to move to LOS 17.1 !

Also the next challenge is to move to LOS 18.1 Android 11 in a few months :)

EDIT:

Also AnTuTu Benchmark v8.4.5 it's working without any issues now !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] toystory2000:
Thanks for your effort
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] NeoXTC:
surdu_petru do you have any idea about permissions issue in some of the apps not working?