yashsingh1/xdaforums huggingface dataset:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Final Update of LOS 17.1 for our device !

Unfortunately the Android 10 operating system will no longer have updates (neither from LOS developers nor from Google)

Google will not provided the new security patch for Android 10, and consequently LOS 17.1 will be stopped !

Download the final update : LineageOS-17.1-HuaweiMediaPadM3Lite_2023-08-13.zip md5 : 4d0ab16d25e14cd48c07445f5afacd68

You should perform this update by using dirty flash method ( if you only update the LineageOS 17.1 on your device )

It would also be advisable to make a backup into TWRP before switching to the new update, in the event that it will not work as well as you expect !

Allow me to thank everyone who contributed (in one way or another) to the development over time of this popular customized rom.

I also want to mention that I am not in a position to carry out a new major update of this device to Android 11 (Lineage OS 18.0) - it involves too much time in adapting the new system to this device ... time and patience that I currently do not have anymore ... if there is someone available and has the necessary knowledge, I have left behind all the work (it just needs to be continued), and it can be found here because it is open to everyone.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] TainakaYun:
Thanks for creating and updates in long time.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Yalec:
thanks for your great job
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] jeje04:
Thank you for your valuable work. Is there another ROM for this tablet? THANKS.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
unfortunately no ... but anyone can create a new custom rom or more can update the source code to bring Android 11/12 or 13 on this device! The code sources (device/vendor & kernel) are public for anyone in my repository
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] RWMC123:
Hello People. I'm going a little lost. In a few days i have a Mediapad M3 Lite 10 with Original Firmware. Is there any chance for Lineage OS?. Or is it really close? Thanks and sorry for my bad English.

Talking about the Bootloader jaja 😇
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, this is the right thread with the right Lineages OS for your device
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] RWMC123:
But how i can unlock the Bootloader?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
there are several methods, but none of them are free, and in this case it is not the subject of the discussion on this forum! Just try to google it and you'll find out yourself !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] neozw:
Hello, I turned the volume up to its maximum after booting the computer, and every time I encountered a restart issue
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] LCRVNB:
Hello！I would like to ask why my tablet can't be charged after brushing the system..

Other than that, the other features are working fine.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please, what device do you have ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ursj39:
I have some questions about this system

Does the "photo camera" not working mean that it cannot record pictures? And does this problem apply to all software or is it limited to the built-in camera? Is there any way I can remedy this problem?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, you can't take pictures with this device running LOS 17.1 .... Maybe you can fix this issue if you're able to fix kernel camera driver ( as this issue seems to come from kernel driver )

Edit: all the necessary source code for this device it's available on my GitHub, so you can build your own LOS 17.1 and then try to fix camera . Good luck!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ursj39:
Thank you for your response, but I don’t plan to flash the phone. I just found out that Huawei has turned off the unlocking process. For my mother, Android 7 is enough
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] The4anoni:
Just wanted to say thank you for awesome work 🫡
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] The4anoni:
It's definitely worth it to flash this rom, it's much smoother that stock android 7
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Western77:
Hi guys, I finally managed to unlock the bootloader and got the flashed TWRP to start (required calling fastboot -w before). Then I flashed LineageOS-17.1-HuaweiMediaPadM3Lite_2023-08-13.zip. But when I then try to boot Lineage OS 17.1 the first time it got stuck with this message / error:

What is that? Anybody there who has an idea about that?

Note: I reinstalled the os several times with serveral wipe settings but had no luck so far.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
I guess you forgot to format /data. Probably, you wiped but that's not enough.

You can format in TWRP.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tensingnightco:
Excuse me but how can you unlock Huawei bootloader? I'm currently having CPN-L09 model please help
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] kitkitxda:
@surdu_petru Thank you very much
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Kris_kris01:
How did u unlock the bootloader?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] LCRVNB:
I'm really sorry for not answering your question in time. My equipment model is CPN-W09.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] hyx0329:
About USB OTG with this ROM:

The initial OTG state is determined on boot, so when OTG cable plugged when booting, OTG will work.

Somehow the hardware interrupt to trigger OTG role switch doesn't work as expected. It's kernel code.

To change the OTG behavior without rebooting, root the device and write 0/1 to `/sys/class/power_supply/usb/usb_otg` disable/enable USB OTG feature manually.

Since USB OTG interfere with USB charging and need quirks, I think USB OTG should not be marked working.

Anyway thanks for this rom. I have no idea how to build it though(I'm only familiar with those with manifests).
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hi, it's very easy to build, just download the source from my repo and push it to device/huawei/bach; kernel/huawei/bach and vendor/huawei/bach respectively. After that . build/envsetup.sh , brunch bach-userdebug or brunch bach ! Good luck!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] puma2k17:
Hi @surdu_petru

thanks for your fast reply in the other thread.

I hope this is the correct section here.

My question is: Since you are keeping the other mediapad devices up to date, is there any plan to also update the BAH-W09 to a newer Lineage OS version maybe? =))

thnaks!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
I'm sorry, but I don't own this device anymore, so development stop to LOS 17.1 ( at least from my part )
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] electrobotservice:
Hello, any fix for camera of other rom/zip in the web compatible via twrp flash (huawei device)?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
how do you suppose I could repair the camera or anything else, if I no longer have this device?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] eustachy:
@surdu_petru thank you for your great work even though there will be no more updates. I have installed your latest Lineage OS on my Mediapad Lite M10 and it made my wife very happy she can use the tablet without adverts and lags as before.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Important announcement !

Hi !

Starting with the next update ( update which will be released each month with the new security patch from Google for LOS 17.1 and also for Pixel Experience Android 10 ) the SECURITY of your custom ROM will be enhanced in two way :

1° SELinux status will be Enforced ( at this time the status of SELinux is Permissive and your rom/device its potentially risky )

2° The ROM will be signed with a release-key ( at this time you're ROM in your device is signed with a test-key wich its potentially risky )

In short, I'll switched SELinux from permissive state to enforced state and I'll signed the whole ROM with a release-key for a better security !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Henry_Jones:
Hello there,

after successfully using LOS 16 in the past, I just now tried this all new (to me) 17.1 version. For the moment everything looks good, but I did not try that many things yet.

What is missing is the possibility to root the device from within LOS. The option in developer options is no longer there.

Also flashing the SuperSU AddOn did not work, but it's for version 16 so maybe there is another way now.

Has anyone done this already ? I've some tools who need the root access.

Ok, read before you post would have helped :( https://www.xda-developers.com/line...-addonsu-implementation-favor-magisk-manager/

So I guess I have to learn about Magisk after all.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
The option in Developer options this time it's call "Rooted debugging" and it's here on LOS 17.1 ... please check the screenshot !

You could access root by typing "adb root"
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ZjemCiKolege:
I hope that the problem with the photo camera will be fixed in the future :) anyway thanks :)

someone can confirm dualshock 4 works? :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, I'll restart working on camera soon ... to find a fix for photo camera, the work here it's not abandoned.

Let me know if dualshock 4 working on your device and if it's not working , please send me via PM a logcat when you try to connect/use it, and I'll try to fix it.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] oddhap:
I'm having trouble with lag in Youtube 1080p in LOS 17.1, it works fine in LOS 16
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Ok, thanks ... I'll check in a few hours and if the issue it's still there, than will be fixed on next update.

Edit

Sorry for this issue, I remember now ... this issue it's here because I fixed some video issue on Chrome, so on the next update the issue will be fixed 100%.

More, if you take a video recording with camera you'll not be able to play it. It's only on this update of LOS and will be fixed on next update.

You should check the #63 post here for more info !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Henry_Jones:
Yes, I've seen this option, but even if enabled the apps needing root were unable to get it. So I installed Magisk 20.3 and set it to "Core Only Mode" to prevent anything additional to be loaded.

So far it looks and feels similar to SuperSU, so for the time being it is the solution for me.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
New Update of LOS 17.1 / 2020-02-29 !

Hello !

There is a new Stable LOS 17.1 update for our device into OP.

Changelog :

* everything up to date ( LOS source, kernel & device tree )

* kernel, vendor & device tree updated with some Android 10 patches for better compatibility/performance/optimizations !

* fixed video issues

* fixed Chrome video issues

* SELInux Enforced to enhanced security

* ROM signed with release key to enhanced security

* add dtsaudio kernel implementation ( you can use now DTSAudio, but you also need to revert SELinux to permissive )

There is NO support to revert SELinux to Permissive from my part ... you have to do it on your own way.

INFO :

To avoid any issues, please use always the last GApps like me :

The next update will be here in a few weeks with the new Android security patch !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] oddhap:
Dirty flash over previous version. Everything seems to be working perfectly, including 1080p youtube. Thanks alot! :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thank you very very much for your donation bro :o
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ossizwei:
Last LOS 17.1 update

Did dirty flash LOS 17.1 and new gaaps on BAH-L09. Thank you very much Surdu for your excellent work. German banking app and videorecording works well. Video playback is now working in bromite browser too. This moment i have no great issue.

A little feedback oft my test of camera: Video recording can be saved on internal SD-card but didn't save on external SD-card. Video recording is possible with h264 codec. On Mpeg4 and h265 codec camera fc. Camera don't save pictures but no fc like in previous versions.

I'm very very happy with last update. Using oft camera is now a bonus for me. For daily use its not necessary for me.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thank you very much for feedback. Let me know if you need some help when you try Viper4 or DTS audio as it's required Selinux permissiv :o
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Micromind:
Viper driver installation reboots my device and keep booting in fastboot mode.....I have to wipe all and restart from factory reset!

Anyway....great ROM! Great job!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, because I guess you need to be on SELinux permissive, right ? ... and this update comes with SELinux enforced to enhance security :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Ran0250:
Huawei mediapad m3 8.4".

Will this rom and TWRP will work for BTV-W09 +(mediapad m3 8.4" ) ?

Thanks for great ROM
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Micromind:
So ... how to install Viper4 drivers? Thanks!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
You should find a way to revert SELinux state from enforcing to permissive !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Micromind:
I've disabled it.... But after driver installation my device keeps to boot into fastboot!

It's not a problemi, in Italian we say "I still sleep without it"..... I don't really need it! I am corious tester.....
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Ok ! :o
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Barahir's son Beren:
Some questions before update my phone

Hi!

First of all I would like to thank you for your work.

I've been watching Lineage OS ROMs for a while, I think they can breathes new life to my CPN-L09. Sometimes I was changed ROMs on other phones (for example Samsung Galaxy S Advance, ASUS PhonePad, Lenovo Phab Plus, etc.), I think I'm not completely noob, but Huawei is a new and unknown territory for me, so I have some questions before I change ROM.

First, what means "Photo Camera not working"? It's not working at all because some driver missing/issues? Sometimes my bank ask me to scan a security QR code, is it possible to scan it with your ROM?

Second, if I know my bootloader unlock code, can I root my phone with LOS 17.1?

And last, if I make a full backup with TWRP before the update, can I revert completely my phone's state before update (now I'm on the latest official ROM)?

Regards,

Beren
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
No, photo camera it's not working at all, in fact from some unknown reason it can't save photo at this moment, but video camera it's working well !

You need unlock code for bootloader just before to install TWRP ... and yes, you can root LOS 17.1 !

If you want to revert to stock, than better don't try to install TWRP/LOS ...

In my case : for some unknown reason I don't succeed to revert my device to stock Huawei firmware, and this only because I can't go to stock recovery ... my device just refused to boot on stock recovery , and all these issues comes after I installed TWRP/LOS ... so I'll continue with Android 11, 12 and so on !

But it seems that there are some users who have succeeded, but very difficult to revert their devices to stock.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] morgan7676:
hello petru...my lineageOS 16 needs update to 17......how is battery drain? general trend? Thank for your job!!!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Right now it's as best as LOS 16.0 :)

BTW, you should wait until tomorrow when I come back with a new update with March security patch level !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
Use the procedure at the following link to get Viper working in Android 10. I've tested it and it does work. It also includes the files needed to download for it.

https://xdaforums.com/poco-f1/how-to/guide-to-viper-android-10-custom-roms-t3996829
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] morgan7676:
ok petru...rom is good....but i can't install any version of Netflix!!! HELP!!

edit: ok solved!! thx very well!!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please, can you share your fix for Netflix ? Thanks !

I'm still busy with some new patches for kernel and device/vendor source code, and in a few days, there will be a new update of LOS 17.1 & Pixel Android 10 with the March 5 /2020 security patch level.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Barahir's son Beren:
Thanks for your answers. I think I'll stay in official firmware now, because if the photo camera does not work for sure then my bank may exclude from my account and I wouldn't be happy with that... But if you can eliminate the camera's problem, I'll update to your ROM by all means, so I'll follow this topic later on.

Regards,

Beren
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] morgan7676:
i downloaded netflix version 6.26.1 build 15 31696 and installed it without starting - i have hide it in magisk hide options and i have installed magisk manager with another package name - reboot and NETFLIX works perfectly (if it not works cancel the cache of app netiflix on reboot)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] irieart:
Does it work with the m3, BTV-W09 (WiFi) ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
Touchscreen does not respond on first Welcome Install screen (M3 lite CPN-W09)

Hello

I have the MediPad M3 lite CPN-W09 unlocked.

I've followed all the OP "instructions" guide

but at step 13 - Reboot system, just after the animated boot LOS logo, the touchscreen does not respond on the first install screen (the one with welcome text "Hi there" and where you select your language and then have to click on the Start button).

Power and sound buttons work well. but no touch:crying:

If I boot to recovery, touchscreen is working fine (I'm on recovery TWRP 3.3.1-1).

I must say that LOS 16 version is working perfectly. I've followed the same install instructions and the ROM is successfully installed and usable:good:

I wonder if anyone else ever had the same error?

or knows how to bypass this touch problem?

Thanks for great ROM and great sharing work

Edit: I must add that the only way to restart is to hold down the power button for severals seconds

then it is on bootloop without stopping...

The only way to stop it is to hold down together <Vol+> + <Vol-> + <Power> buttons and wait for 3 or 4 or 5 or 6...or more reboots...

Suddenly, it enters to recovery mode and there I breathe again:victory:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thank you very much for your feedback !

Before to take any action I'll wait a bit to see what other users say about this with the same device CPN-W09 .

Please can you confirm if you have the same issue with Pixel Experience Android 10 ? Thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
I have the same model and haven't encountered this issue. However, I wipe the dalvik cache prior to the first boot of LOS. I wonder if that would have any impact on your issue at all. Also, out of curiosity, what GAPPS version are you using, if any at all.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
Thank you for your fast answer.

I've tried your PixelExperience (update 16/02/2020) and...same problem...stuck with no touchscreen on the welcome install : can't select my language or Start button, but physicals buttons works :confused:

---------- Post added at 01:37 AM ---------- Previous post was at 01:13 AM ----------

Thank you for your help

I always wipe Cache/Dalvik before first reboot system.

The GAPPS I use : try the last pico and nano available (open_gapps-arm64-10.0-nano-20200311.zip)

A few minutes ago, I've tried without installing GAPPS but...always stuck with no touchscreen (first page screen after animated LOS logo, but this time, not the same page : it's Lineageos logo and on the right bottom a <Next> button)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
I assume you are doing an advanced wipe of the device prior to installation by wiping the following partitions:

Dalvik/Art Cache

System

Vendor

Data

Internal Storage

Cache

Also, are you installing the zipped rom from a microsd card?

Forgive me if some of my questions seem rudimentary. I'm just trying to get a feel of the process you are using. I've not encountered this issue with my CPN-W09 at all and I'm curious as to what may be causing this issue for you.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please connect your device to usb cable and while you're in twrp tell me what is the output of this command :

Thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
My version :D

adb shell

# cat proc/app_info

ddr_vendor : UNKNOWN

lcd type : AUO_NT51021B 8P0 VIDEO TFT 1200

Hall : AKM8789

huawei_sbl1_version : MSM8940C00B057M_SBL1

huawei_hardware_version SH1CHOPINW09M

huawei_appboot_version : VERSION_NONE Sep 13 201819:27:2

huawei_fac_product_name CPN-W09

board_id : CPN_W09_VA

#

---------- Post added at 09:17 AM ---------- Previous post was at 08:47 AM ----------

I don't go in "Advanced Wipe", just "Swipe to Factory Reset"

Here is what I always done (in TWRP):

Boot to recovery

got to <Wipe> then <Format Data> (enter 'yes'...)

Reboot to recovery

go to <Wipe> then <Swipe to Factory Reset>

Reboot to recovery

Copy zipped ROM in a directory I created in the Internal Storage (from my PC computer, with a USB cable)

go to <Install>, select zipped ROM, <Swipe to confirm Flash>

after flash, < Wipe Cache/Dalvik>

<Reboot System>

This process is working well on LOS 16.0 (versions 20190822 and 20191112).

But with Android 10 and this LOS 17.1 (update 29/02/2020) or PixelExperience (update 16/02/2020), I've got this touchscreen issue:crying:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Ok, thanks ... I'll take a look later when I'll be at home.

EDIT :

I guess ( but I'm not 100% sure ) that I found the issue .... you should check the new update which will be here very soon, thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
Ok. I replicated the procedure on my CPN-W09 and everything worked just fine. However, I think I found the thing that might be causing the issue. This is off of my tablet:

# cat proc/app_info

ddr_vendor : UNKNOWN

lcd type : INX_NT51021 8P0 VIDEO TFT 1200

Hall : AKM8789

huawei_sbl1_version : MSM8940C00B057M_SBL1

huawei_hardware_version : SH1CHOPINW09M

huawei_appboot_version : VERSION_NONE Sep 13 201819:27:2

huawei_fac_product_name : CPN-W09

board_id : CPN_W09_VA

My LCD type is different than yours.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, the issue may be from here, also I have a different lcd driver :

on my BAH-AL00 !

I'm worried why anyone else didn't report this issue till now ... but while TWRP 3.3.1-1 use the same kernel like LOS 17.1 & Pixel Android 10, and on TWRP the touchscreen are working well .... I don't know yet why it's not working on LOS/Pixel Android 10. ... but for this we need further investigation :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
New Update !

Hello !

There is a new update of LOS 17.1 with the new security patch level : March 5, 2020
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Nothing, apart the last security patch as it's already stated above :)