yashsingh1/xdaforums huggingface dataset:
[Huawei MediaPad X2] Djiban:
[MENTION=1397125]ajsmsg78[/MENTION] said he wants to fix everything in EMUI ROMS (simply international and Kangvip Slim) before looking at CM/lineage specific bugs. But the Lineage 13 for Honor 7 is a very good piece of news!
[Huawei MediaPad X2] durv:
Cool. Also here is a working kernel with source for that device, probably useful info - https://xdaforums.com/honor-7/development/rom-6-0-x-yodarom-v1-0-mm-rooted-ads-t3338179
[Huawei MediaPad X2] durv:
Xposed works fine for me as well.
[Huawei MediaPad X2] shaolin95:
Yep I was able to install it and not only Xposed but also Android Wear 2.0 work fine which is what was bugging me the most with the normal Huawei ROMs :)
[Huawei MediaPad X2] RayfG:
Hi, i changed my wifes mediapad 702L to cyanogenmod. Everything went smooth, except the cust. Internal SD shows only 3.7 GB. Any Idea how to correct this?

THX, Ray
[Huawei MediaPad X2] audioralf:
Try to format the internal sd

My device: Mate 9 supersu B190 Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei MediaPad X2] RayfG:
Seems to be dead here. I guess there will be no fully functionating cyanogen / lineage for our mediapad x2.

I am willing to change mine in the beginning of 2018 to a phone with lineageos on it. I gonna search the market for a phone with minimum 6" display full HD. It is very sad, that there is no possibility to get lineage / cyanogen running correctly. In my opinion, mediapad x2 is still leading phablet in the market.

"Edit" Changed to xiaomi mi max 2 with lineage.

What a beast! 2 Days Battery without charging!

Bye Bye Mediapad. Thy folks for ur work here.

Greetz, Ray
[Huawei MediaPad X2] ajsmsg78:
Hey guys, I've been working on Lineage for our X2 and I'm very close to a release. Right now the only bugs I see are you can't switch the data type (from LTE to 3G to 2g, not a big deal) and the camera zoom (I need to do more testing) Using Footej camera seems to fix video recording so I replaced Camera2 with it as the CM camera uses the newer api which the phone doesn't support. The rom will also be pre rooted with Magisk. I'll probably have a release within 24 hours but I could use a few testers for any major bugs. To enable Mobile Data hit the icon in the pulldown then toggle mobile data on.

Download Link:

https://www.androidfilehost.com/?fid=962187416754465567
[Huawei MediaPad X2] goon-heaven:
Installed OK. Testing.. but I am not the fastest....
[Huawei MediaPad X2] shaolin95:
I am charging mine so I can test since is not my primary phone any more. Is this based on Oreo or what? :)
[Huawei MediaPad X2] goon-heaven:
LineageOS 13
[Huawei MediaPad X2] Djiban:
Thanks for that AJ!!

Please feel free to open a separate thread for this lineage, juste to have a CM13 one and a lineage 13 one. I'll try to make reopen the already existing lineageos 13 one in case you want to use it.
[Huawei MediaPad X2] goon-heaven:
Where do I find LED settings in Lineage ?
[Huawei MediaPad X2] ajsmsg78:
No, it's based off of 6.0.1 Marshmallow. You probably won't see any Oreo roms for the X2 unless Huawei actually releases Oreo first.

I will do that tonight. Leave the old thread closed.
[Huawei MediaPad X2] Steamer2499:
I'll give it a try...
[Huawei MediaPad X2] ajsmsg78:
Flash this fix. I'll add it to the final release.

https://www.androidfilehost.com/?fid=962187416754465719
[Huawei MediaPad X2] ajsmsg78:
It adds the notification LED settings in display settings where you can change the led colors.

Updated the link.
[Huawei MediaPad X2] Steamer2499:
I mean, where's the fix link?
[Huawei MediaPad X2] ajsmsg78:
Squashed some more bugs: youtube 60fps plays fine, removed dt2w in settings (it doesn't work due to no kernel support) & fixed not being about to change preferred network type.
[Huawei MediaPad X2] mouse723:
https://www.androidfilehost.com/?fid=962187416754465719

Thanks. AJ
[Huawei MediaPad X2] ajsmsg78:
New Lineage thread created, visit that thread for all future Lineage updates and questions.
[Huawei MediaPad X2] gaguga:
It will help you https://yadi.sk/d/1xFMzp0P3FUqKY

I tried to replace the files for the camera
[Huawei MediaPad X2] ajsmsg78:
Is that a fix?
[Huawei MediaPad X2] gaguga:
No, it did not help,
[Huawei MediaPad X2] Steamer2499:
Will this file "Emergency-Boot-X2-bcm4334-legacy-gps-fix-camera.zip" fix GPS on X2?
[Huawei MediaPad X2] gaguga:
Gps and so it works
[Huawei MediaPad X2] jojox1:
Thanks, so gps and caméra IS fixed ?

Have You see other problems not work ?

I think i installing Tomorrow if fixed.

Cordially
[Huawei MediaPad X2] Shaolian:
I think what he meant was, that the GPS is working.

But the camera still isn't fixed.
[Huawei MediaPad X2] ajsmsg78:
The camera fix may be something in the kernel. Maybe replacing the kernel in the boot.img with one from the stock B212 will help.
[Huawei MediaPad X2] jojox1:
Thanks for your précision.

I waiting so for sure caméra IS fixed.

Have a good day all
[Huawei MediaPad X2] trurl3:
Yes, it would be intersting to try Cyjanogen 13 on our units... Although I like the LOOK of EMUI the problems with Google apps and continuously dropping apps from memory thus problems with notifications are very annoing... Camera fix would make it quite good for everyday use.
[Huawei MediaPad X2] RayfG:
You are not the first, neither the last. I think there are more People who are keen on CM13. So do I...............
[Huawei MediaPad X2] RayfG:
It is so quiet here. Is someone trying to fix the camera problem?

Would bei very very:good:

Greetz, Ray
[Huawei MediaPad X2] gaguga:
My knowledge is not enough (((
[Huawei MediaPad X2] richardsintexas:
Running great

I can't fix the camera, but have been using rom for about a week, running great. Just no camera
[Huawei MediaPad X2] RayfG:
I need the camera. Without it would be nearly useless for me. But i ll try that Rom.
[Huawei MediaPad X2] Steamer2499:
I really want to try this rom! Need the camera to work... That is a must before I give it a try!
[Huawei MediaPad X2] Germano1980:
I'm unable to install apps through Google play because the unsupported device message is showing up.
[Huawei MediaPad X2] RayfG:
You can try to use Apkpure for installing apps. There are nearly all apps inside no need to register. :))

Greetz, Ray
[Huawei MediaPad X2] jojox1:
You Can take apk in apk mirror

I hope soon the problem caméra IS fixed ???
[Huawei MediaPad X2] Germano1980:
I do not feel safe in downloading bank apk's out of Google play.
[Huawei MediaPad X2] ForgottenSolstace:
ROM runs fine for me, minus camera issue. Thanks so much for porting cyanogenmod! Apps seem faster now. And I'm using the system I know and love. If possible, I would like network upload and download speeds in the status bar.
[Huawei MediaPad X2] Steamer2499:
Would somebody with talent please fix the camera not working problem with this rom... I wanna try it so bad!
[Huawei MediaPad X2] Djiban:
Hi everyone

I've updated post #1 with all additional infos given in later posts.

ABOUT CAMERA PROBLEM: [MENTION=6125914]gaguga[/MENTION] tried solution suggested by [MENTION=1397125]ajsmsg78[/MENTION] in https://yadi.sk/d/1xFMzp0P3FUqKY ( putting stock camera firmware files in the CM rom), but unsuccesfull. As often [MENTION=1397125]ajsmsg78[/MENTION] lacks the X2 device to correct our issues. We really should buy him one ;)

ABOUT GOOGLE PLAY UNABLE TO INSTALL APPS:

- does anyone else that [MENTION=6859868]Germano1980[/MENTION] had this issue?

- usually this issue is easy to correct by editing build.prop directly or with "market helper" app, that ways:

http://www.androidlegend.com/install-incompatible-android-apps-google-play-store/

Please [MENTION=6859868]Germano1980[/MENTION], give it a try (if editing directly the build.prop you can put the real code of X2 if not inside, the stock build prop of X2 will give us the correct code four our phone, someone else can give it to you here, as my device is not with me now. If editiong with market helper, then select the device you want goggle play to beleive you're using), and report.

If it's working [MENTION=6125914]gaguga[/MENTION] will be able to change it in the rom itself for future downloaders
[Huawei MediaPad X2] Germano1980:
The market helper did not work, maybe for not having the region of Brazil in the list (I do not know if it influences), and in build.prop is already like Huawei. Any other ideas?
[Huawei MediaPad X2] Djiban:
Try to put a very standard device in buildprop (like a nexus or a galaxy)
[Huawei MediaPad X2] Djiban:
By the way, at the moment, the build prop might be set to honor 7, from witch the rom has been ported, and not on X2
[Huawei MediaPad X2] RayfG:
I appreciate your good work here. Especially all people who try to keep this Roms running and make it conveniant for all users.

Thank you [MENTION=250260]LL[/MENTION] therefore.

Greetz, Ray
[Huawei MediaPad X2] Germano1980:
Editing build.prop in system solved the problem of incompatible apps. One thing I found bad is not being able to move files from SD card to internal memory or vice versa. But the main thing is the camera does not work (and I have no idea how to help with this, unfortunately).
[Huawei MediaPad X2] Thatgrass:
Hi there! Try looking at this: https://xdaforums.com/tools/os-porting/tutorial-how-to-fix-camera-problem-bugs-t2971086. It seems like an elaborate guide to me, perhaps it will work for our device.
[Huawei MediaPad X2] Djiban:
can you tell us wich values you did use when editing?

[MENTION=6125914]gaguga[/MENTION] , will/did change the buildprop for device model when cooking the rom? No one else did have any "incompatible device" message with google play?

thanks for the link
[Huawei MediaPad X2] Germano1980:
These were the lines I changed (remembering what the current values are):

ro.build.flavor=cm_Galaxy-user

ro.product.brand=GALAXY

ro.product.name=GALAXYS7

ro.product.board=GALAXY

It worked like that.
[Huawei MediaPad X2] ForgottenSolstace:
Update: still using this as my daily driver, and very satisfied. I don't use the camera, so unaffected by that. The performance is better, but the battery life is significantly worse. This ROM is currently great if you use the x2 as a tablet, but not if you use it as a phone.
[Huawei MediaPad X2] Thatgrass:
Can you check whether the device is entering deep sleep or not? There is an app for that in the play store called CPU Spy I thought it was. Correct me if I'm wrong.
[Huawei MediaPad X2] ForgottenSolstace:
Yes, it is entering deep sleep.
[Huawei MediaPad X2] Thatgrass:
You can try to charge the device to 100%, then reboot into recovery > advanced > wipe battery stats. This can also resolve the issue.
[Huawei MediaPad X2] bark1234:
Did anyone tried this ?
[Huawei MediaPad X2] Germano1980:
I tried, but I do not understand well (I'm just curious). Even if the files in the "lib" folder are different, I tried to replace them in custom, and editing "init.rc" according to the tutorial, and it did not work. Most likely I did something wrong and did not leave bootloop. To fix this camera problem, it has to be someone more experienced in the subject.
[Huawei MediaPad X2] dfsteen:
So, a few other things don't work:

1) Flashlight (because the camera doesn't work)

2) ADB (both network and usb)

3) possibly all usb except charging? I still need to confirm this.

The lack of adb makes figuring out the camera thing difficult, but I'm playing around with it. Thanks for your work until now!
[Huawei MediaPad X2] xunxun:
I'll flash once the camera works
[Huawei MediaPad X2] RayfG:
What kind of Mediapad have you got? 701,702 or 703?

Are there any other problems or did everything worked well?

Thx, Ray
[Huawei MediaPad X2] bark1234:
I have 703L, I tried it for 4 days, everything was working fine, except camera and flash only. Switched back to B212
[Huawei MediaPad X2] Thatgrass:
He means he'll flash the rom when the camera has been fixed :p
[Huawei MediaPad X2] RayfG:
Got it :laugh:

---------- Post added at 01:41 PM ---------- Previous post was at 12:51 PM ----------

But i am afraid there is no one to fix the camera issue...:(
[Huawei MediaPad X2] jojox1:
Thanks at all developpers for the job cyanogenmod 13.

I hope soon thé caméra and light IS fixed.

I waiting IS fixed for installing the rom.

Have a good day at all
[Huawei MediaPad X2] RayfG:
I tried to Install Cyangenmod, but no way to success.

I have Kangvip Slim on my Phone.

Told me Error number 7, unable to install.

I have 702 model.
[Huawei MediaPad X2] dfsteen:
Here is the issue with the camera:

04-13 13:30:22.818 2917 3357 E ImagingSystem: failed to dlopen /system/lib/hwcam/hwcam.hi3635.PLK.s.imx328.so dlopen failed: library "/system/lib/hwcam/hwcam.hi3635.PLK.s.imx328.so" not found!
04-13 13:30:22.820 2917 11294 E ImagingSystem: failed to dlopen /system/lib/hwcam/hwcam.hi3635.PLK.s.ov13850.so dlopen failed: library "/system/lib/hwcam/hwcam.hi3635.PLK.s.ov13850.so" not found!
04-13 13:30:22.821 2917 3358 E ImagingSystem: failed to dlopen /system/lib/hwcam/hwcam.hi3635.PLK.s.ov5648.so dlopen failed: library "/system/lib/hwcam/hwcam.hi3635.PLK.s.ov5648.so" not found!
04-13 13:30:22.822 2917 3357 E ImagingSystem: failed to dlopen /system/lib/hwcam/hwcam.hi3635.PLK.s.s5k4e1ga.so dlopen failed: library "/system/lib/hwcam/hwcam.hi3635.PLK.s.s5k4e1ga.so" not found!

I'm currently building a flashable zip with those files pulled from the default ROM (though the device is technically a GEMINI not a PLK so the naming will be different, but we'll see how it goes)
[Huawei MediaPad X2] dfsteen:
Ok folks. Here is a fix for the camera:

https://www.dropbox.com/s/qx0f6e1ympyyzxo/cam_fix.zip?dl=0

Just flash that in recovery, and the camera will work. I did find that for the default CM camera app I needed to go into settings->apps->Camera->Permissions and manually grant the permissions the app needed, but you may not have to do that.

For the interested, it just copies some library files from the original ROM over to the /system/lib/hwcam folder, and creates a few symlinks for good measure.

As always, no guarantees that it won't wipe/brick your device, eat all the food in your fridge, try to convert your pets to scientology, etc etc.
[Huawei MediaPad X2] dfsteen:
Looks like camera zooming is not working. I'm looking into it.
[Huawei MediaPad X2] jojox1:
I have installing. Perfect

Just one thing don't work = the smart cover.

I think is all cyanogenmod rom have this problem.

Thanks all for your help rom.

Cordially
[Huawei MediaPad X2] Steamer2499:
I've installed this rom. Camera fix is working. Thx. Zoom not working for me either.
[Huawei MediaPad X2] jojox1:
Caméra dont work with whatsapps
[Huawei MediaPad X2] Steamer2499:
Google now?

Google now doesn't work... No biggy... Under the options "voice", the button to click on is grayed out and says "This feature is currently unavailable on this device"
[Huawei MediaPad X2] Djiban:
Did you try to set the app permission as stated in https://xdaforums.com/showpost.php?p=71879368&postcount=67 ?

PS: post #1 edited to include camera fix, and latest bug found
[Huawei MediaPad X2] dfsteen:
google now seems to work fine for me. what version of gapps did you flash? i used the "full" version.
[Huawei MediaPad X2] jojox1:
Yeah i have installing the zip cam-fix. The camera working normally.

If i use whatsapp, the camera don't work.

I have check in settings->apps->Camera->Permissions = all is ok.

Merci
[Huawei MediaPad X2] dfsteen:
try settings->apps->WhatsApp->Permissions
[Huawei MediaPad X2] Steamer2499:
I installed "gaguga" gapps from the 1st page
[Huawei MediaPad X2] jojox1:
whatsapp have all permissions :)

just for information in google play he said non compatible with your phone.

So i have installing whatsapp with apk mirror
[Huawei MediaPad X2] Thatgrass:
Okay, so camera is working. What about battery life? A few pages back someone noted that battery life was poor.
[Huawei MediaPad X2] Steamer2499:
Update

After camera fix, I tried this ROM and glad to report that I will be staying with this ROM. Just seems more stable than "kangvip b212v2". GPS was a big issue falling to sleep and after to many reboots all phone settings would go back to there defaults as if phone was booting up for the first time. Anyway, I'm on day 2 and will keep you up to date. I did buy "Cameringo+ Filters Camera" app from play store for 2.99 which is an awesome camera replacement. There is a free version to try it...
[Huawei MediaPad X2] bark1234:
is video recording too workin? also is flashlight working?
[Huawei MediaPad X2] Steamer2499:
Yes to both
[Huawei MediaPad X2] RayfG:
I could Not Install CM 13 on my 702 Model, changed to 703 with Kangvip..... Any sugestions about that? Is there anyone with Kangvip on 702 Model changed to CM 13? How did u do that???

Thx VM, Ray
[Huawei MediaPad X2] dfsteen:
Try doing a full wipe and reinstall using a more full version of gapps from the official gapps source.

---------- Post added at 10:33 PM ---------- Previous post was at 10:08 PM ----------

I find that battery life is fantastic as long as the screen is off. Once the screen is on, it's awful. I find that I burn about 1% ever 60-90 seconds. The battery usage seems to be entirely applied to "Screen", but I haven't had a chance to do a full analysis yet. As a note, I've been using this as my daily driver for about 5 days, and I run Greenify.
[Huawei MediaPad X2] Djiban:
Please let us now the source for the best gapps packages for this rom, when you both are sure of it!

Thanks
[Huawei MediaPad X2] trurl3:
The Open GApps Project

For CM13 on our unit unit you have to tick:

Platform - ARM64

Android - 6.0

Variant - You choose...
[Huawei MediaPad X2] shaolin95:
Please let me know about the GPS, that is basically the only but MAJOR pain about owning the X2. Having to reboot so often to get GPS working again or using an app to keep it alive thus killing battery life.

Also, are you using xposed by any chance? I need it for youtube offline.

Thanks!!!!
[Huawei MediaPad X2] Djiban:
Do you have the same issues with Huawei Android 6 stock ROMs ?

PS: post #1 updated
[Huawei MediaPad X2] shaolin95:
Honestly its been a while since I got it but I am pretty sure it has been on all 6 ROMs, as reported by others it seems before 6 it was fine. I had to keep one of those GPS keepalive running apps to prevent the issue which hurts battery a LOT. But I love this phone so I really dont want to change lol

I assume Android Wear connectivity is all working too? Xposed modules?

Cant wait to get home to flash this! :highfive:
[Huawei MediaPad X2] Steamer2499:
Well well... GPS on this rom fell asleep too, even with that gps fix.... Not using xposed...
[Huawei MediaPad X2] Germano1980:
The battery consumption is very high.
[Huawei MediaPad X2] shaolin95:
Oh no, what a bummer! I just got home ready to flash but this kills it for me since this was THE issue I wanted to resolve :/

I dont get it, I thought it was due to the power management acting up so now I am confused
[Huawei MediaPad X2] bark1234:
xposed worked fine on cm13, when i tried for 4 days earlier and 1 day yesterday too.
[Huawei MediaPad X2] shaolin95:
That is great that Xposed works but without the GPS working then I dont see a point for me to change ROMs. I was really hoping the new ROM will finally get rid of the annoying sleeping GPS issue but now the previous poster mentioned it happened to him again. Sad sad sad :crying:
[Huawei MediaPad X2] audioralf:
Kangvip V2 has fixed GPS. Maybe b203 December29, too.

My device: Mate 9 supersu b156 Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei MediaPad X2] shaolin95:
I will give it a try but I have tried many of the versions that had "fixed" GPS and it never worked for me and others. There seems to be some internal revisions of this phones that differ because we get some members claiming no issues while others have it no matter which ROM. Its frustrating for such a perfect phone for my needs. :/
[Huawei MediaPad X2] audioralf:
Which model do you own?

My device: Mate 9 supersu b156 Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei MediaPad X2] shaolin95:
GEM-702L
[Huawei MediaPad X2] Steamer2499:
Not for me... Kangvip b212 v2 did not fix gps for me
[Huawei MediaPad X2] Chewy58204:
I've been running this a couple days now. I've got Xposed running fine. The camera does work, just no zoom. I'm enjoying being free of Huawei everything. Everything is much easier to customize with CM13. My only hiccup with this ROM is that I can't make nandroid backups to the external SD. I can recover from one but I can't backup to one. Once I make the backup I just copy it to the SD.

I can live with that. This ROM is awesome!!!
[Huawei MediaPad X2] shaolin95:
Do you have 702L as well?
[Huawei MediaPad X2] audioralf:
No 701.

How to reproduce the bug?

Have you tested the 203 version and updated to last December' 29 version via FF proxy method.

I have tried this, but fails on 701 hardware.

This version fixes for 702 devices it is reported.

AJ was asking to send him the system folder to build international pre- rooted version from, so we all would profit from this.

My device: Mate 9 supersu b156 Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei MediaPad X2] xunxun:
Flash failed due to my 2nd ext4 partition
[Huawei MediaPad X2] xunxun:
success somehow after reboot to TWRP, I don't know why
[Huawei MediaPad X2] xunxun:
ro.build.flavor=cm_Galaxy-user

ro.product.brand=GALAXY

ro.product.name=GALAXYS7

ro.product.board=GALAXY

the above setting didn't work for me, I changed them into the value from build.prop from KangVIP
[Huawei MediaPad X2] Steamer2499:
OK Google

How do I get "OK Google" working or enabled?... Screenshot attached

I fixed it by using the gapps "open_gapps-arm64-6.0-full-20170422.zip"
[Huawei MediaPad X2] RayfG:
Yesterday I made it. I got cyanogenmod installed. Everything is working fine. Thank u Guys for your outstanding work here. I appreciate this very very much.

Small question for E-Mail and contacts. In Contacts i am not able to mail to groups. It's not supported. Does anybody know a contact alternative? Thank you, Ray
[Huawei MediaPad X2] Djiban:
Please give a try to this CM13 with your 702L, and let us know if gps stays on.

That would be verycool if a 702L user could send a zip from his system folder after installing december 29th B203 (see B203 topic) .

So [MENTION=1397125]ajsmsg78[/MENTION] (if he's kind enough) could cook us either a B203 simply international, and a a update of B202 simply international, based on March B202 rom, which is also supposed to fix gps ( and push services)
[Huawei MediaPad X2] shaolin95:
That is what confuses me so much those random reports of people claiming the GPS is fixed while others still have to deal with the restarting phone to wake the GPS up (like me) :confused:
[Huawei MediaPad X2] RayfG:
I drove about 2hours with Navigation system and GPS was on til finish

Greetz, Ray
[Huawei MediaPad X2] shaolin95:
Ok but that is not the actual problem. It will never go to sleep when in use. The problem is when you stop using it, suddenly it will go to sleep and will not work again until you reboot your phone. This could happen in hours or may take a day..its all very random but it sucks that the only way to restore is rebooting the phone or using one of the Keep Alive GPS apps. :/
[Huawei MediaPad X2] RayfG:
Got you,

But I do not have the Problem either.

No matter how often I start and finish, there is no Prob with GPS.

I use Cyanogenmod without google.

Just with a navigation application it wirks flawless.

My Phone = 702 L

Greetz.
[Huawei MediaPad X2] shaolin95:
So you have had it with this ROM for several days and do not have any app keeping the GPS alive and every day you are able to get the GPS working without issue?

If so, I will give it a try since I have the same model you do! :)
[Huawei MediaPad X2] RayfG:
With my phone definately no issue with GPS. Rom runs absolutely smooth.

Best Rom since beginning for me!
[Huawei MediaPad X2] shaolin95:
Well I guess I will try it since there is nothing to lose but time lol

Thanks for the feedback!
[Huawei MediaPad X2] Steamer2499:
I'm gonna stick with CM13... It just seem to be more stable than Kangvip B212 v2... GPS still falls asleep on CM13 too... I have the Honor X2 703L.