yashsingh1/xdaforums huggingface dataset:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
Thanks @surdu_petru .

Is it possible to tell me where to find good information on how to unlock bootloader and FRP before flashing TWRP?

Thanks again for the help.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] sevenoverthree:
Okay great- this is super helpful. I guess my mistake was not checking OEM lock before doing this. I rooted this device years ago, and I guess something changed without my knowing it. What could have caused my OEM to relock with the bootloader remaining unlocked?

I do have to ask- is there a substantive difference between doing this in LOS 15 vs 17? Seems that if it works for one, it should work for the other. I have tried running the installs of both 16 and 17 (with the respective boot images) from my sdcard. I just copied them both over to the main storage via the twrp file manager and I will give this another go.

Also- I assume the issue of failing to mount the /3rdmodem folder is a function of this tablet being wifi only? I have seen this ever since I rooted back in 2016 or so...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] sevenoverthree:
Just to update version 15 worked just fine.

16 didn't crash, but I had no wifi at the start of the OS, so I wasn't able to finish setup

17 still looped even with files copied from tablet's media.

Can I update to 17 without losing the stuff I set up on 15? Now that I have FRP unlocked again I am assuming there shouldn't be any issues with installation?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] sevenoverthree:
As far as I know you need to unlock the bootloader. I came from an old root, and was able to update my twrp with the FRP lock on. However it looks like it may have been causing issues with my LOS install. I have had to start with 15. Still figuring out what the deal will be with 17...

I think you can still go to DC Unlocker to unlock your bootloader. When I did it several years ago it wasn't a difficult process.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
I have the BTV-W09 and I was able to go straight from stock to LOS 17. This is the first time I've heard of unlocking FRP. I made due with just unlocking the bootloader years ago and flashing with TWRP.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] sevenoverthree:
Yeah I think I came from the same situation. I used Lon's root years ago. Twrp updated just fine, but LOS 17 seems to loop when looking for updates. 15 worked fine for whatever reason. What region is your W09?

Also what are you doing for root? Magisk?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
I purchased mine in the US, and I've always had Magisk on it since day one. Not really sure what region it is...how do I find out?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
Battery Drain Issue Solved?​

I flashed a boot.img for BTV-W09 to BTV-L0J and it seems to have solved the battery drain problem.

This screenshot was taken after an hour of use and then left for a few hours.

View attachment 5253739

Only 1% of the battery drained during sleep.

View attachment 5253745

And, Off-mode Charging did not work on the BTV-L0J, but after flashing the boot.img, it does work.

Issue​

After flashing the boot.img, your device will not be able to use mobile network.

View attachment 5253747

How to restore it?​

Please flash the boot.img in the zip. Or use TWRP and backup your boot.

View attachment 5253751
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
↑Please compare with this post. Both of my device uses WiFi only (My device can also use LTE on LOS17.1).

I would like to know your situation. If you are using the LTE model and having problems with Battery Drain, could you flash a boot.img for the BTV-W09?

Of course, your device will lose mobile network temporarily.

Sorry, Do not try BTV-DL09 user, it will cause a boot loop. I use Magisk, so I patched the boot.img before flashing.

Yours sincerely.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
No, my LTE device stuck on bootanimation with boot.img from Wifi only devices. I already tried.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Should we test extended storage SD Card, or only portable storage? Also, MicroG apps is new, do we need that, or can we use regular Gaaps?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
If you want to set your microSD as an extended memory of internal storage this will not working properly - so better don't try to format microSD as internal memory !

Gapps package will not working on Android 10 due to this issue : Device is not Certified by Google

Into OP I already linked microG apps ... it's a little more complicated than Gapps, but it's seems that there is no other workaround for moment !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
OK, installed ROM and boot image, booted to system, installed various MicroG apks, added my google account. Rebooted to recovery, added play store from https://shadow53.com/android/downloads/microg/#google-play-store-standalone , then rebooted to system. Play Store does not show.

MicroG selfcheck shows that play services does not show correct signature, but 'Play Store' (Phonesky) is installed.

Not sure what I've done wrong, if someone gets Play Store working, let me know how!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Tried to use Aurora store with anonymous store log in, that failed, so for now I'll use Fdroid to download and test some apps.

EDIT: I'm going to wipe and try again using combined MicroG & Play store from https://shadow53.com/android/downloads/microg/#google-play-store-standalone

That did not work - neither MicroG nor Playstore show... Hmmm
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Also I don't understand why this issue with device certified error, because I already tested right now LOS 16.0 with Gapps and it's working without issues !

I hope someone will do a microG tutorial for our device, I didn't manage to make microG work either, but I don't have the time right now to study why ...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
May be a Play Store solution here https://lineageos.org/Google-Play-Certification/ and here https://www.google.com/android/uncertified/ I will try...

Running adb command: adb shell 'sqlite3 /data/data/com.google.android.gsf/databases/gservices.db \ "select * from main where name = "android_id";"'

EDIT: I'm not able to register... getting an error that android _id is not found.

View attachment 5163083

EDIT: Used an app to get he Google Framework ID https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/

And registered my device...

But I'm still getting the same Play Protect error.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
I already checked and it's not working !

EDIT:

You can generate with this app : ID
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Yes, and I registered... and still getting the same error...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, I have the same issues after registration !

Maybe tek3195 can help us, as I understand he used microG also on LineageOS 15.1 !

EDIT:

Does you applied fake-signature like here ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
I was eventually able to get Aurora store working, and downloaded and installed some apps. However, none of the apps, including email and Kindle, are themselves able to download files, even with storage permission turned on.

I have not been successful in getting Play Services to run, so Gmail will not run. Google Files does install and run.

The system does run smoothly, does not freeze or spontaneously reboot.

I've installed Nova launcher, and it works fine.

As I'm not able to access Google services or the Play Store, I'm not able to take advantage of my Premium apps.

MicroG shows that Play Sevices does no have the correct signature, neither does Play Store. To make those work will require signature spoofing, which has to be built into the ROM. I've tried to add it outside the ROM, without success.

This is all still a great improvement over the last ROM version, but I think I've tested all that I can for now.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Half Alive:
Will..if you spoof the fingerprint with magisk props Gapps will work fine. Tested here with a clean flash. Also magisk has a microG addon if you want to for an easy install. Didn't try it myself though.

Edit: it didn't work when I picked mate 20 pro. But worked when I picked poco f2 pro ..maybe it's related to Huawei..I don't know.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Have you tried apps downloading files and did that work?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Half Alive:
Yeah it doesn't..I don't think it's fixed yet.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] earlg100:
Just not tried to, but on reddit I found this solution to get the code:

"""""""""""

pjc321

I tried the adb shell commands shown on the Google Device Registration website to retrieve the Google Services Framework Android ID, but when I run the sqlite3 query it returns:

: not found

As a side note, My SDK Platorm Tools are up to date.

Shenusar

Same issue for me, but fixed it by allowing adb root access (under developer options, windows doesn't bother to give you a propper error, running adb under linux at least told me what I missed...

godzilla5123

The 2nd command needs to be divided into 2 parts:

No 1:

adb shell

Wait for the device name to show up, then add:

sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"

It should help you.

enilkcals

I had problems with this too.

My solution was to copy the sqlite db off of the phone (since its rooted and I can browse the / partition), copy the file to a local computer and run the sqlite command directly on the file rather than over adb.

"""""""""

Did anyone try the real GApps with this registering process instead of MicroG? Do we maybe have to wait 1 day for syncing ? Or is google adding the new registered code right away in a second to it's database?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] earlg100:
Well, it's me again :D

I could not let my fingers of the properly running 15.1 tablet and had to try the new one... And by the way this google issue triggered some points and now : challange accepted.

Result: I have a running LOS17 20/12/2020 with openGApps micro.

- formated all

- flashed TWRP 3.3.1-1

- booted to TWRP

- flashed LOS17

- flashed oGAPPs (x64 10 nano)

- flashed boot.img for BTV-W09

- booted, put to WLAN, got the message : tabled not certified

- went to the google registration page

- plugged tablet to notebook: - .\adb root [ENTER] then .\adb shell [ENTER] then sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";" [ENTER] [EDIT: btw I had adb root in dev options activated]

- got the ID, and registered at google page

- HAD THE SAME ERROR FOR ABOUT 5 MINUTES

- went to app settings and cleared cahce and all data of "google play store" and "google play services"

- rebooted

- HAD THE SAME ERROR AGAIN for about 5 minutes

- put tablet to the side and worked some stuff

- got curious again and picked the tablet up

- hit the "play protect" notice (tablet not listed) and went to the playstore, completed some google questions and IT WORKED!

-> now I have access to play store (and still the message of "not certified") but having a look in reddit, the playstore will stay at "not certified" but will work.

My conclusion: it takes some time for the google servers to get the new ID...

[EDIT: btw: the notification of play services that the device is not valid will be removed with next reboot - if the registration process was successfully completed, like I mentioned before (register, waaaaaaaait, waaaaaaaait, do some stuff, waaaaait :D )]

[2nd EDIT: resetting the tablet seems to generate a new GSF ID which has to be registered AGAIN...(read at reddit) - very good for a tablet software which is in development :D ]
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] earlg100:
Feedback to 17 20/12/2020:

- currently running pretty well!

- for 15.1 you made some changes with the screen layout: the caption is missing in landscape mode (same for app drawer not only launcher) (like earlier in 15.1) and the layout is kind of "small" - compared to 15.1 there are less apps in the grid (especially the "short cut" area on the lower end of the tablet)

- 5GHz WiFi not as stable as 2,4GHz when tablet is going to "sleep" and used again after a while.

Testing later on...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
What do you mean by resetting the tablet? Just turning it on and off again, or something else? thanks! jf
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] earlg100:
I mean all the wiping processes. For example clean install of a new release of Surdu. Dirty flash will have no problems.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
So, this is interesting... using this:

adb root

adb shell

sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"

I get a completely different device ID from using the Device ID APP, which lists a GSF ID

The adb command gives me a pure number string, evozi's Device ID app gives me a mix of letters and numbers.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] earlg100:
That's quite normal. Device is gives you the hex code. Try a hex converter (vie google). It should be the same ID. The Google page for registration accepts hex code as well.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
FRP lock, it's a mystery. I dont know when it is locked.

When I searched about FRP lock on the internet, it was explained that FRP is locked when you log in with your Google account or lock your device, but this is not applied to my device.

My device is logged in with a Google account, and I've also locked it with fingerprint scanner, but it is still FRP Unlock (I just checked).

In a thread for BTV-L0J users in Japanese web site, a person got FRP lock after wiping data with TWRP and he eventually gave up on unlocking it.

The mystery is that the FRP was unlocked when TWRP was flashed. That's why TWRP was flashed to RECOVERY.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
Oh, really? I'll edit my post...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Garry050:
same here. but i got solve.

back to EMUI, and developer option -> unlock OEM.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
New Update LOS 17.1 19/03/2021

I'm sorry for the delay, but I was very busy these days .

This is the new update of LOS 17.1 with all apps fixed - the changelog is the same one with 13/03/2021 Update !

For WiFi only devices, you must install ( after this update ) the previuosly boot.img from 13/03/2021.

Also darty flash should be working without any issues.

Camera implementation was removed since it's still not working resulting in an archive about 50 MB smaller.

Downloads : LineageOS-17.1-BTV_2021-03-19.zip md5 : 954fcffc9f33722773ba2d26c18772bb
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
I'm having a hard time downloading this attachment from this post.. keeps timing out...

EDIT: Finally got it, used Edge instead of Brave...

EDIT: Sharing to Facebook now works!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] thunderz1:
Thanks very much working great! YouTube is working perfectly.

Also I think you can remove this from not working in the OP since no issues with otg and Bluetooth keyboards in the last 2 updates. Much appreciated!

as soon as you'll disconnect OTG cable, the device will reboot to erecovery !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] orangpelupa:
maybe you need to send the LTE 0xblahblahblah code

IIRC ol LOS 15 i got the exact same issue (LTE not working, missing IMEI). But it works after i submitted 0xblahblahblah code

unfortunately i don't remember how to grab the 0xblahblah code
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Fixed !

Thank you very much for your donation :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
Im going to unlock my Huawei MediaPad M3 8.4 today with DC Unlocker to install this LineageOS 17.1

Im following the guide from the Guides,news and discussions:

[GUIDE]-[Unlock Bootloader+TWRP+Root] Huawei MediaPad M3 8.4 [BTV-W09, BTV-DL09]​

In the instruction its says first i have to Enable USB Debugging and OEM Unlock in developer options.

I have enabled USB Debugging,

But i cant find OEM Unlock option.

Is it because my tablet came from aliexpress and its the chinese version?

Anyone unlocked a chinese MediaPad M3 8.4 BTV-W09 WiFi with EMUI 5.0.4?

Thanks for any help.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
You are going to have to pay DC-Unlocker for code to unlock your tablet. https://www.dc-unlocker.com/android-feature-table?filter=bootloader
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
@friedsonjm I understand i have to pay the 4€, thats not the problem.

I cant enable the OEM Unlock in developer options (its not there in the menu)

If i dont enable OEM Unlock will i be able to unlock the bootloader and install TWRP, root and flash LineageOS 17.1 ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
It's been a long time since I did this... this link may help https://xdaforums.com/t/unlock-two-...thout-offical-huawei-website-ane-lx1.3794725/
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
My IMEI is back to normal by restoring a original boot. So it is not a problem.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] MattP410:
Awesome! Wasn't getting XDA notifications, so just saw this today. Fixed YouTube, and a few performance issues I was having. Thank you so much!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
You will not see OEM unlocking in menu as it's not there. ROM is signed with test keys and unlocking is enabled by default. Just skip it or pretend that you enabled it and continue.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Can't download boot.img from 13/03/2021. AFH is saying OOPS! No mirrors found. Tried with two browsers in two OS's.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
I tried right now and it's working !

Maybe you should try to download several times until a mirror will be available.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Finally got the boot.img but have a question about the OS. It has phone and asks for sim card during setup. It is easily skipped but odd for a wi-fi tablet on LOS. Is it intentionally left there ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Well, for the WiFi only devices we need a modified apk for Wizard Set Up ... I guess it's easier to ignore this , rather than to upload here two different build of LOS 17.1 !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hi !

Builded & installed today LineageOS 18.1 Android 11 on my BTV-DL09 ... Unfortunately our older Oreo ( 8.0 ) hwcomposer can't be loaded and therefore after some time the device restarts in TWRP .

Here is some errors from sys/fs/pstore/pmsg-ramoops-0 !

I'll wait a little longer, maybe someone is still able to solve these issues related to hwcomposer.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
Understand, I was wondering if it would cause issues then remembered some older tablets I've had that were that way. So, not just you but some manufacturers do the same.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
Help please.

I unlocked my phone yesterday with dc-unlocker.

Flash recovery twrp-3.3.1-1.img and installed gapps, LineageOS and boot_w09_ten_20210313.img (tried from fastboot and also TWRP:boot)

I could start LineageOS just one time, but when it restarted i got the Huawei erecovery boot.

Tried several diferent things i read here in the forum... nothing was working i restarted the tablet and it was

stuck on startup animation (teal bent line with circle riding thru it)

I was reading some more and decided to follow this:

Download full M3 image

Extract cust.img with Huawei Extractor

Boot to bootloader

Flash cust.img via fastboot (fastboot flash cust cust.img)

Extract archive , put dload folder on micro sd

Force update install (Volume up + Volume Down + Power)

After reboot tablet is in a boot loop with this screen.

Cant enter TWRP or fastboot, already tried all possible key combinations and cable connected to computer.

Battery is draining and i cant find a way to stop it :(

Anyone has a fix for this?

Thanks.

View attachment 5256175
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
What device do you have ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
I have a Huawei MediaPad M3 8.4 BTV-W09 WiFi. IUt was running EMUI 5.0.4 (android 7.0) (i believe its the chinese version) before this attempt to change to LineageOS 17.1.

I cant stoop this boot loop. Tried everything :-(
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
I can help you only with the installation of LOS 17.1

Force your device in fastboot mode and flash TWRP .... format data, reboot into twrp & wipe all into advanced wipe apart external storage !

You should Install in this order : LOS 17.1, GApps & boot.img for your device !

There is no reason why your device should not successfully boot on LOS 17.1 ... Good luck !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
@surdu_petru i cant force it to fastboot, tried to connect the cable to the computer and volume - several times and its not working.

The other instruction i already done all of them, they brought me to this end.

I knew I shouldn't try to install LineageOS. My fault. Now I have a bootloop bricked tablet :(
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] tek3195:
leave it connected to PC and hold power and vol- until it boots to fastboot.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PedroAdamastor:
@tek3195 i tried that more than 10 times, its not working :( I cant do anything else except let the battery drain completely :(
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Are you sure that before installing twrp and LOS you had installed/updated your device to EMUI 5.x Android Nougat ?

Also I don't understand why you flashed cust.img ?

Does the installations of UPDATE.APP via dload method was 100% successfully ?

I don't understand how you put your device in this state ... the installation of LOS on your tablet it's very easy and almost without any risk .... as proof that no one has encountered major problems so far ... you are the only one, and I guess that you did something wrong on your device ... but I can't guess what.

Bringing the forced device into fastboot mode should work without the slightest problem as long as you have not altered some partitions ... but if you can't force this mode , it may be due to the partition cust.img that you installed previously !

EDIT :

I don't remember exactly, but I guess that you need to sparse cust.img before to flash on your device in this way :

rename the resulting cust.raw to cust.img and flash this new image ( cust.img ) on your device !

EDIT II:

To force the device into fastboot mode ( it doesn't matter in what state it is at the moment ) :

Connect USB cable and keep pressing power until device vibrate ( almost instantly when the device has vibrated press the volume key - & release power button ) - the device should immediately enter fastboot / bootloader mode !