How to install Google services to Huawei MediaPad M6 10.8" without unlocking?

antivirtel

Member
Aug 19, 2012
48
2
0
Hi,

I've recently bought a Huawei MediaPad M6 10.8" in the spirit that the Internet is full of guides how to install Google services on them without unlocking the bootloader (I assume the warranty is void then). However, none of them I tried seems to work. I've tried the easiest ones, like
  1. Lznet - https://www.xda-developers.com/how-to-install-google-play-on-huawei/ (still downloadable from APKMirror: https://www.apkmirror.com/apk/lzpla...-1-0-release/谷歌服务助手-1-0-android-apk-download/ but network error when trying to use)
  2. also the Chat partner thing (com.tyq.pro https://forum.xda-developers.com/mate-30-pro/how-to/gms-installer-100-huawei-mate30-mate30-t4045401 , similar network issue), the manual sucking:
  3. downloading the Google APKs from APKMirror or so, I've downloaded these, I hope they're the right ones:

    Device information:
    Code:
    2|:/ $ getprop | grep -i arm
    [...]
    [ro.product.cpu.abi]: [arm64-v8a]
    [ro.product.cpu.abilist]: [arm64-v8a,armeabi-v7a,armeabi]
    [ro.product.cpu.abilist32]: [armeabi-v7a,armeabi]
    [ro.product.cpu.abilist64]: [arm64-v8a]
    
    :/ $ getprop | grep -i dpi
    [persist.sys.dpi]: [466]
    [persist.sys.realdpi]: [466]
    I'm just not sure what should I do with it to work. Google Play starts up, but when I would like to log in, doesn't do anything. I can try again and send logcat output if it helps.

Does anyone have any other idea? If not, should I send it back (I still can)? Or just risk by unlocking the bootloader, wiping, flashing Gapps like that?

Thanks, antivirtel
 
Last edited:

antivirtel

Member
Aug 19, 2012
48
2
0
@antivirtel

To install Google Play on devices where it is missing it's not required that device's Android got rooted or device's bootloader got unlocked. If people say it has to be like this, they're idiots.

The Google Play package consists of at least 4 APKs that install as user-app:
1. Google Account Manager APK
2. Google Services Framework APK
3. Google Play Services APK
4. Google Play Store APK

Knowing this you've to download the 4 APKs matching your phone's Android version and OEM and install them . APKMirror is probably your best bet for trusted Google Play Store APKs.

After you reboot, you’ll find the Play Store and Google Settings shortcuts on your home screen. Tap “Play Store” and you’ll be able to sign in with an existing Google account or create a new Google account.
It may not appear to work normally after you sign in, but just give it some time. The Google Play Store and Google Play Services will automatically update themselves in the background. This may take as much as ten minutes.
Thanks for the reply. I've installed them again, tried, and waited hours for the silent update.
Code:
$ adb shell pm list packages -f | grep -i google
package:/data/app/com.google.android.youtube-mBN6pM5H_QnaWLbdr19TDw==/base.apk=com.google.android.youtube
package:/data/app/com.google.android.gm-59ZO3UQ1anJG-zh170B7zw==/base.apk=com.google.android.gm
package:/data/app/com.google.android.gms-y1fmixY3oQ31JRPheF-IIw==/base.apk=com.google.android.gms
package:/data/app/com.google.android.gsf-KGEFYHdNwhH4c74mxACllQ==/base.apk=com.google.android.gsf
package:/data/app/com.google.android.gsf.login-6hslkUhBu5AaN7ghAcT2_Q==/base.apk=com.google.android.gsf.login


However, it is stuck in the "Sign in" button in Google Play (tried also to sign in in other Google apps, like Gmail and YouTube, similar). If I check logcat, I see the below (Errors only):
Code:
E ProcessInfoCollector: getProcessInfo: failed to find this proc
E .gms.persisten: Not starting debugger since process cannot load the jdwp agent.
E libc    : Access denied finding property "runtime.mmitest.isrunning"
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 7478
E AndroidRuntime: java.lang.RuntimeException: Unable to create application co.g.App: java.lang.SecurityException: addOnPermissionsChangeListener: Neither user 10125 nor current process has android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS.
E AndroidRuntime:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7218)
E AndroidRuntime:        at android.app.ActivityThread.access$2200(ActivityThread.java:296)
E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2208)
E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:107)
E AndroidRuntime:        at android.os.Looper.loop(Looper.java:213)
E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8178)
E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1101)
E AndroidRuntime: Caused by: java.lang.SecurityException: addOnPermissionsChangeListener: Neither user 10125 nor current process has android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS.
E AndroidRuntime:        at android.os.Parcel.createException(Parcel.java:2071)
E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:2039)
E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1987)
E AndroidRuntime:        at android.content.pm.IPackageManager$Stub$Proxy.addOnPermissionsChangeListener(IPackageManager.java:9033)
E AndroidRuntime:        at android.app.ApplicationPackageManager.addOnPermissionsChangeListener(ApplicationPackageManager.java:1627)
E AndroidRuntime:        at sdr.a(:[email protected]@20.21.15 (100306-313409149):11)
E AndroidRuntime:        at rmv.onCreate(:[email protected]@20.21.15 (100306-313409149):146)
E AndroidRuntime:        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1195)
E AndroidRuntime:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7202)
E AndroidRuntime:        ... 8 more
E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
E AndroidRuntime:        at android.app.ContextImpl.enforce(ContextImpl.java:2001)
E AndroidRuntime:        at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2029)
E AndroidRuntime:        at com.android.server.pm.PackageManagerService.addOnPermissionsChangeListener(PackageManagerService.java:6665)
E AndroidRuntime:        at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4307)
E AndroidRuntime:        at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4527)
E AndroidRuntime:
E HsmCoreServiceImpl: onTransact in code is: 102
"Find my device" is also activated as device administrator, so that supposed to give more permissions.

You might be right about just installing these, and they supposed to work, because the app they removed recently (Lznet) didn't seem to unlock the bootloader or root the device, and people reported it working. So basically we should just copy what it does, and it supposed to work (unfortunately I read some articles where they said just installing the apks to user space is not enough, there are special permissions which only apps installed under /system can be granted to - the people you're referred to as idiots :D ) . Do you have any other suggestion what to install or set?
 
Last edited:

jurrabi

Member
Aug 12, 2007
26
0
0
Hi there. Just un update on my experience.

I received my M6 this afternoon and installed Google Services by following one of the many videos in youtube (try a recent one) and everything seems to be working fine for the moment.

I have Play Store, downloaded some games, all OK syncing progress with Play Games, Streamed some games with X-Cloud and Geforce Now (Stadia doesn't wanna play in the tablet. I'll research this more in the future).

I still have to test video apps like youtube and Netflix. I'll update when I've done it.

But for the moment no headaches at all.
I guess I was lucky.

Edit: In respect to video apps I could only install YouTube and Prime video from the Play store. Netflix and Disney+ I had to side load. Unfortunately only YouTube allows HD play back. The rest, as they depend on hardware DMR Widevine L1 and the tablet only supports L3, only allow SD reproduction.

It's really a shame, but all in all I think I'm gonna keep it. It's a very nice piece of hardware and I only watch videos on the tablet when I go to sleep. And with my eyes closed I really don't appreciate the HD quality.
 
Last edited:

Fantedon

Member
Jan 12, 2009
37
1
0
New York
Asked the seller to do it and he readily complied. Ebay is your friend (sometimes).

---------- Post added at 01:34 PM ---------- Previous post was at 01:30 PM ----------

Asked the seller to do it and he readily complied. Ebay is your friend (sometimes).
Done, shipped and arrived in NYC in 6 days. Impressive stuff didn't think it was double but took a chance and it worked
 

HenkDB

New member
Aug 4, 2010
1
0
0
Bloemfontein
Since there isn't a separate forum for the M6, I'll ask here and hope for the best:

Has anyone had any problems with EMUI 10.1 on the M6, and apps or services that have custom permissions?
Specifically, I am trying to connect to ANT+ fitness devices, with a Garmin ANT stick connected via an USB-to-USB-C adapter.
The service is the "ANT Radio Service", installed from the Play Store and it has a permission, "com.dsi.ant.permission.ANTRADIO"
The permission is shown as "Use ANT Hardware" on other devices (Xiaomi A3, Nokia 6.1), but I cannot find it anywhere on my M6.

On my Xiaomi Mipad 4, I was able to grant this permission using ADB.
However the same method does not work on the M6.

Any suggestions or ideas?
 

daveyp187

Senior Member
Mar 31, 2014
90
14
38
got mine off a mate for 180 as he couldn't use Google apps, installed a modded p30 backup and have since updated to new emui etc and all working fine. all Google apps, system account settings everything. no issues at all. Great tablet
 

Attachments

Ducsidu

Senior Member
Aug 4, 2011
114
8
0
Budapest
got mine off a mate for 180 as he couldn't use Google apps, installed a modded p30 backup and have since updated to new emui etc and all working fine. all Google apps, system account settings everything. no issues at all. Great tablet
Could you share the modified backup file? Or explain how to do it ourselves?
 

Kaffal

New member
Jan 10, 2018
1
0
0
Which youtube video did you use?

Hi there. Just un update on my experience.

I received my M6 this afternoon and installed Google Services by following one of the many videos in youtube (try a recent one) and everything seems to be working fine for the moment.

I have Play Store, downloaded some games, all OK syncing progress with Play Games, Streamed some games with X-Cloud and Geforce Now (Stadia doesn't wanna play in the tablet. I'll research this more in the future).

I still have to test video apps like youtube and Netflix. I'll update when I've done it.

But for the moment no headaches at all.
I guess I was lucky.

Edit: In respect to video apps I could only install YouTube and Prime video from the Play store. Netflix and Disney+ I had to side load. Unfortunately only YouTube allows HD play back. The rest, as they depend on hardware DMR Widevine L1 and the tablet only supports L3, only allow SD reproduction.

It's really a shame, but all in all I think I'm gonna keep it. It's a very nice piece of hardware and I only watch videos on the tablet when I go to sleep. And with my eyes closed I really don't appreciate the HD quality.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone