Successfully able to boot Project Treble/AOSP rom

Search This thread

Si73

Senior Member
Nov 15, 2007
103
77
Suffolk
This is not a guide as such but more of direction to other peoples hard work and effort. I am not a developer, just an experimenter!

Main Credits - @MishaalRahman and @phhusson.

For me one of the main selling points of the Mediapad M5 was being Project Treble enabled. Being a big Nexus/Pixel fan I am not particularly fond of EMUI.
So after reading this detailed and clear guide by Mishaal Rahman http://www.xda-developers.com/flash-generic-system-image-project-treble-device/, I was able to successfully install an AOSP Generic System Image by phhusion http://xdaforums.com/project-treble/trebleenabled-device-development/experimental-phh-treble-t3709659

My device - CMR-W09 (10.8" non pro wifi).

I flashed v17 with Gapps and SU and apart from an Android System error upon boot it seems to work ok. I have not had much time to play with it but so far Wifi, Bluetooth, sound, camera, fingerprint sensor, MTP and SD card appear to be working. I had issues with google play not downloading apps but worked after clearing data/cache on google play and google play services. Also have issues with superuser force closing.

For the nervous and unsure, you can easily return to stock Huawei firmware by flashing your devices stock system.img in fastboot.

Obviously bootloader needs to be unlocked see guide - https://xdaforums.com/mediapad-m5/how-to/bootloader-unlock-guide-t3781275 by @Apo11on. You can use Apo11on's root guide to download your firmware to get your stock system.img.

OEM needs to be disabled in developer options.
It is best to factory reset via recovery mode and then boot straight into bootloader to keep FRP unlocked.

Do this at your own risk but please read all the available information and guides on XDA.

pphusion has made other Project Treble roms but I have yet to try them. Hopefully it would be nice if someone could fully develop Lineage for this device.
 

fargonaz

Senior Member
Apr 16, 2007
98
18
OnePlus 5T
It's an A-only device.

I tried AOSP with GAPPS and SU but SuperSU shows the su binary as being occupied through several reboots. Getting the Lineage GSI now and will root with magisk.

Edit:
Blah... Lineage is not an option until we have twrp :/ (at least for me) No way to install GAPPS.

Edit:
SU works with phh's super user available from the play store.
 
Last edited:
  • Like
Reactions: equi_design

florian-m19

Senior Member
May 1, 2014
74
22
Yes i have the AOSP one now on my AL-09 and it works fine till now. Bugs : home Button not working but fingerprint works, supersu with the phhs one works. Bluetooth sometimes gives an error message. Battery drain is a little bit high. I installed the Huawei camera apk from treble forum and This works also good.
Another Bug is Apps sometimes force closing but Not often.
How is Lineage performing?
 

Varyak

Member
Jun 25, 2011
27
1
A little bit off topic, but how did you unlock the bootloader on the Wifi only version since the website for the code is offline for a few weeks now?

Thanks in advance.

Fantastic to see that Treble works.
 

fargonaz

Senior Member
Apr 16, 2007
98
18
OnePlus 5T
On my AL09(ASOP with gapps and su) bluetooth never connects to any of my devices and fc on pairing.

Lineage was a non-starter, since I was unable to get gapps running. I was also getting a vendor mismatch toast. I'm back on the stock .125(C00), no working tether is infinitely more useable than no BT.

It was nice to be able to flash something that didn't brick it and was partially useable.
 
  • Like
Reactions: florian-m19

florian-m19

Senior Member
May 1, 2014
74
22
On my AL09(ASOP with gapps and su) bluetooth never connects to any of my devices and fc on pairing.

Lineage was a non-starter, since I was unable to get gapps running. I was also getting a vendor mismatch toast. I'm back on the stock .125(C00), no working tether is infinitely more useable than no BT.

It was nice to be able to flash something that didn't brick it and was partially useable.

I understand, Do you think it gets more stable for our device in the future?
 

Varyak

Member
Jun 25, 2011
27
1
Just installed it, attached a few screenshots. Haven't tested it a lot, but it boots.
 

Attachments

  • Screenshot_20180513-201212.png
    Screenshot_20180513-201212.png
    120.6 KB · Views: 1,033
  • Screenshot_20180513-201234.jpg
    Screenshot_20180513-201234.jpg
    120.9 KB · Views: 1,036
  • Screenshot_20180513-201238.jpg
    Screenshot_20180513-201238.jpg
    143.2 KB · Views: 1,022

florian-m19

Senior Member
May 1, 2014
74
22
Wie are Not joking, its real ??
 

Attachments

  • Screenshot_20180513-231615.jpg
    Screenshot_20180513-231615.jpg
    123.6 KB · Views: 1,364
  • Screenshot_20180513-231621.jpg
    Screenshot_20180513-231621.jpg
    124 KB · Views: 1,363
  • Screenshot_20180513-231636.png
    Screenshot_20180513-231636.png
    221.5 KB · Views: 1,367
  • Screenshot_20180513-231641.png
    Screenshot_20180513-231641.png
    165.2 KB · Views: 1,302
  • Screenshot_20180513-231644.png
    Screenshot_20180513-231644.png
    166.3 KB · Views: 1,297
  • Screenshot_20180513-231655.jpg
    Screenshot_20180513-231655.jpg
    203.8 KB · Views: 1,150

florian-m19

Senior Member
May 1, 2014
74
22
Delete, double post
 

Attachments

  • Screenshot_20180513-231615.jpg
    Screenshot_20180513-231615.jpg
    123.6 KB · Views: 569
  • Screenshot_20180513-231621.jpg
    Screenshot_20180513-231621.jpg
    124 KB · Views: 558
  • Screenshot_20180513-231636.png
    Screenshot_20180513-231636.png
    221.5 KB · Views: 546
  • Screenshot_20180513-231641.png
    Screenshot_20180513-231641.png
    165.2 KB · Views: 525
  • Screenshot_20180513-231644.png
    Screenshot_20180513-231644.png
    166.3 KB · Views: 508
  • Screenshot_20180513-231655.jpg
    Screenshot_20180513-231655.jpg
    203.8 KB · Views: 504

darren1

Senior Member
Oct 31, 2010
387
124
I will be getting my Mediapad M5 8.4 tomorrow and will be flashing the AOSP treble build straight away. Just a heads up a updated build has just been posted with some Huawei related fixes.
 

fargonaz

Senior Member
Apr 16, 2007
98
18
OnePlus 5T
I flashed the new one with gapps and su, and for the sht-l09 there is no working bluetooth, so that's as far as I go. It will be nice when the BT is fixed for this device.
 

florian-m19

Senior Member
May 1, 2014
74
22
Works good with dirty flash, Home Button is working now and also Automatic Brightness, but battery draining is really high and it gets hot.
 
  • Like
Reactions: fargonaz

darren1

Senior Member
Oct 31, 2010
387
124
Works good with dirty flash, Home Button is working now and also Automatic Brightness, but battery draining is really high and it gets hot.

Have you tried changing the cpu governor? Is it set to something like interactive? I got my Mediapad today but I am waiting for the bootloader unlock code from Huawei.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    This is not a guide as such but more of direction to other peoples hard work and effort. I am not a developer, just an experimenter!

    Main Credits - @MishaalRahman and @phhusson.

    For me one of the main selling points of the Mediapad M5 was being Project Treble enabled. Being a big Nexus/Pixel fan I am not particularly fond of EMUI.
    So after reading this detailed and clear guide by Mishaal Rahman http://www.xda-developers.com/flash-generic-system-image-project-treble-device/, I was able to successfully install an AOSP Generic System Image by phhusion http://xdaforums.com/project-treble/trebleenabled-device-development/experimental-phh-treble-t3709659

    My device - CMR-W09 (10.8" non pro wifi).

    I flashed v17 with Gapps and SU and apart from an Android System error upon boot it seems to work ok. I have not had much time to play with it but so far Wifi, Bluetooth, sound, camera, fingerprint sensor, MTP and SD card appear to be working. I had issues with google play not downloading apps but worked after clearing data/cache on google play and google play services. Also have issues with superuser force closing.

    For the nervous and unsure, you can easily return to stock Huawei firmware by flashing your devices stock system.img in fastboot.

    Obviously bootloader needs to be unlocked see guide - https://xdaforums.com/mediapad-m5/how-to/bootloader-unlock-guide-t3781275 by @Apo11on. You can use Apo11on's root guide to download your firmware to get your stock system.img.

    OEM needs to be disabled in developer options.
    It is best to factory reset via recovery mode and then boot straight into bootloader to keep FRP unlocked.

    Do this at your own risk but please read all the available information and guides on XDA.

    pphusion has made other Project Treble roms but I have yet to try them. Hopefully it would be nice if someone could fully develop Lineage for this device.
    3
    I had the same problem. Have a look here

    https://github.com/phhusson/treble_experimentations/issues/37

    Im pretty sure wiping data in fastboot and then booting straight into recovery and letting it format data without booting in between is what fixed mine.
    2
    Wie are Not joking, its real ??
    2
    Can you give any more details? If you mean the thing with the dload folder and the update.app than its not working, because the file is too big.

    Press Volume Up for 3 secs after boot. then you need connect to wifi and will download latest version.
    1
    It's an A-only device.

    I tried AOSP with GAPPS and SU but SuperSU shows the su binary as being occupied through several reboots. Getting the Lineage GSI now and will root with magisk.

    Edit:
    Blah... Lineage is not an option until we have twrp :/ (at least for me) No way to install GAPPS.

    Edit:
    SU works with phh's super user available from the play store.