[Ascend Mate 7 Original Android Development] gabry3795:
This post is an update about ROM development that are not-stock-derivative, I will update it as long as I have this phone.

The Case

I am a developer, I have the Huawei Ascend Mate 7 (TL09) and recently I have built the Cyanogenmod 12.1 rom using the proprietary libraries inside the last B324 stock ROM. I also used @codeworkx base files within the Honor 6 project but everything was useless. So I just contacted codeworkx and he told me that is not possible to build a working ROM for this phone because important CPU/GPU-related source files are missing and we will never know if someday Huawei will release them (Sign here for the petition).

Currently,

IS NOT possible to build a working not-stock-derivative ROM for the Huawei Ascend Mate 7.

Cyanogenmod roms that you can find are not developed for Mate 7 but for the Honor 6 that has a quite similar hardware background. The Honor 6 has the same problem now just because Android 5 changed the way "to interact with the hardware".

I am very disappointed for this but I wanted to warn you whether you already have this phone or you're going to buy it (or to sell it).

​

The Petition

If you think that is important to have a complete free sources for this phone, and you want new non-stock roms please feel free to sign the petition that I created HERE.

​

The Sources

I report below my repositories where I put my "useless" work, if someone want to lose time on it:

https://github.com/mt7-dev | MT7-dev github repos

​

Contacts

Huawei can write directly to me at gabry.gabry <at> hotmail.it ​

UPDATES

2016/09/21 | I released the first beta image of the AOSP rom - available here

2016/09/21 | 250 people signed the petition

2016/08/01 | Today is an important day for Mate7 developing scene. A few weeks ago I re-started to work on cm but I realized that cyanogenmod framework (based on Android 6.0.1) is incompatible with the stock libraries provided in the stock ROM (based on Android 6.0) and that you are obliged to use to get the GPU work, so if huawei will change his way to write libraries (

especially adapting them to Android AND NOT adapting Android to them

) mainly for the next generation of phones, we could see a true implementation of other ROMs. As I didn't want to throw all the work done to the wind I switched to the Android AOSP

the same version of the stock ROM,

6.0. So i worked for about an entire week, day and night, to get the stock ROM to boot and on the 29th of July I succeded. Then was very easy to get the wifi and bluetooth to work the main problem was the telephony layer. After millions of trials and errors I get the ril-daemon to work but the aosp framework didn't recognize the signals sent by the modem, as they talk two different languages. I decided to decompile the huawei framework and there, after searching in millions of lines and after two entire days I realized were the problem was.

Today I built a perfectly booting AOSP ROM for the Mate7 where WiFi, Bluetooth, Telephony and 4G are working. But there are other things to fix, the system often crashes so I don't want to release anything for now but when I will reach an acceptable system I will start releasing the ROM. Here some screens: http://imgur.com/a/rP4KJ

2016/04/19 | I managed to start the GPU driver,

so it seems that it was not true that other sources or patches were needed to get a non-stock ROM to work

. This is a really big step towards a full ROM from the creation of this post on 2015/11. For now the mate is stuck on the boot animation but we know for sure that we don't need GPU sources as was told before. I'm investigating the reason why the phone does not boot. There is an high probability that we will see a booting rom soon. GIF here

2016/04/17 | Recovery is working. http://imgur.com/TYRQafc

2016/04/15 | I'm trying to get a working recovery before starting to work on the system. After fixing kernel offsets, when booting the recovery the phone does not stuck on huawei logo as before but bootloop. Recovery is identical for *.rc files and fstab to the stock but still bootloop, I think that kernel offsets are still wrong so I'm trying to hardcode them in a custom mkbootimg. I just managed to build the kernel and repack it to the stock Android 6.0 B551. For now it's not useful but it's a big step towards a full build. Screenshot http://imgur.com/4MGuzUN.png

2016/04/12 | 161 people signed the petition AND a few weeks ago kernel 3.10.86 sources shipped with betas B5** have been released. I managed to compile the kernel together with the CM13 but the phone doesn't boot the system and logcat is impossible. I'm investigating why this happens. I'm stuck as when I built the CM12 but the difference is that now the kernel compiles perfectly with the main rom source.

2016/01/26 | 100 people signed the petition we're slowly growing.

2015/12/12 | 72 people signed the petition, after one month we are very far from goal. Hopes are vanishing.

2015/11/08 | HERE you can find a small petition that I created, you are free to sign it if you care about these sources.