yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend Mate 2] divineBliss:
Huawei has serial number fiasco ...........

The serial number on the battery cover matches the serial number on the box.

The serial number obtained from phone's software->Setting->About........ was identical to the phone's Bluetooth MAC address (which is similar to the phone's WiFi MAC address - the last few octets differ). This was the case when after I took phone out of the box - and still holds now after flashing PAC-ROM, but keep reading ...........

So back to the million dollar question .......... Why did flashing PAC-ROM change my phone's WiFi MAC address (the last two octets changed)? I know for a fact that it was a result of flashing PAC-ROM. Can anyone else who has flashed an is running PAC-ROM 9/9 confirm that the last octet of their WiFi MAC is 97?

Oh, terrific! My Bluetooth MAC (and software serial number) also got changed by flashing PAC-ROM and ends in A3 now. Anyone else running 09/09 PAC please confirm that too.

Thank god the IMEI did not get jacked up and fortunately I wrote down all these numbers after I got the phone :) .

Well, I got the PAC-ROM running and installed Xposed, but the one module I mostly did this for, "Screen Filter" is not running - it says "Filter service not found" and "Check that Screen Filter is enabled in Xposed Installer and reboot your device". I've checked, it's enabled, I've rebooted ......... no go.

Thanks again! Looking forward to some replies on the MACs changing any other insights getting Screen Filter to work with Xposed - possible that this phone is not supported.

UPDATE: Hate mail in the Xposed log about Screen Filter - null exception. Does not like Screen Filter will work with mods and the developer has not been posting for a few months in his Screen Filter thread. Will post the Xposed log here and in the Screen Filter thread tomorrow. zzzzzzzzzzzzzzzzz
[Huawei Ascend Mate 2] Moody66:
Mine does not match what you posted.

---------- Post added at 02:55 AM ---------- Previous post was at 02:54 AM ----------

Good idea scoots. You tha man!
[Huawei Ascend Mate 2] robertbarber:
There's this if you want to change your imei number and some of the other numbers http://repo.xposed.info/module/com.phoneinfo.changer

---------- Post added at 06:35 AM ---------- Previous post was at 06:34 AM ----------

Have no idea if it works or if it will break anything so try at your own risk
[Huawei Ascend Mate 2] ScoobSTi:
To be fair it was robertbarber's idea, and ArkAngel06 already did something similar, lol.
[Huawei Ascend Mate 2] Moody66:
Sigh... Must be contagious. My first build ended in boot loop as well.. Logs logs and logs... Lol
[Huawei Ascend Mate 2] superbass311:
I'm about to start the videos after this cup of coffee.. I'll do over view of twrp. How to backup how to flash how to flash to next build how to flash to different rom how to restore backup how to anything else?
[Huawei Ascend Mate 2] Moody66:
That combined with all your other videos should have it covered. Lol. Thanks man. Good to see people willing to burn some time to help others!
[Huawei Ascend Mate 2] superbass311:
I think I will reload stock recovery and rom and just upgrade from there... I think that will hit everything.... I think I'm gonna restore my stock rom then flash the stock recovery and

It will be like everyone elses phone ready to get twrp and ROMs?
[Huawei Ascend Mate 2] Moody66:
That's a lot of work. Up to you. Would cover it all. Better make sure you get a good build. Mine and PAC both booted to boot loop. Lol. Better show them to make a backup of stock ROM.... To fall back on just in case.
[Huawei Ascend Mate 2] superbass311:
I was gonna use stock rom flash twrp then upgrade to cm 2 days ago the dirty flash today's build then backup then flash to PAC 9.9.15 then install xposed.. That's the road that covered everything...
[Huawei Ascend Mate 2] robertbarber:
Might want to include why your using that particular version of TWRP since there are a couple around and then there's the official version on the TWRP page itself. Also might want to give a basic explanation of f2fs since that's built into some of the new ROMs.
[Huawei Ascend Mate 2] superbass311:
here is the first video.. lol

https://www.youtube.com/watch?v=HiE0t03LCek&feature=youtu.be

from what I understand the only TWRP to use for PAC and CM is to use TWRP 2.8.7.0 or preferably 2.8.7.1 because they added f2fs support. (the devs just need to update the first threads with the correct link and info) However, if you dont know what f2fs support is I dont think they will be changing it and will only confuse the viewer.

here is the TWRP Link. http://android.cmphys.com/twrp-mt2/
[Huawei Ascend Mate 2] nate5711:
Thanks for all your super helpful videos, can I get some help with this f2fs. What is it, how do I setup twrp to work with it, do I need it??
[Huawei Ascend Mate 2] superbass311:
[MENTION=6367467]SHM[/MENTION] this is your area.. kekek
[Huawei Ascend Mate 2] joed1960:
Wrong Cell Network?

I don't remember seeing this, and if I missed a post I apologize. Please point me to a different post if this shouldn't be here. I'm on PAC-ROM now, but i noticed my network no longer says 4G LTE. It says H+, and sometimes 3G. My network operator is set to CC Network, and the Access Point Name is set to T-Mobile. Are these settings correct? Consumer Cellular should point to AT&T, but I don't see it on the list. Can someone point me in the right direction to fix this?
[Huawei Ascend Mate 2] superbass311:
https://www.consumercellular.com/Support/Knowledgebase

Click: I have a non-Consumer Cellular phone. How do I set up messaging and web access? under top questions

Type in LTE settings under settings, mobile network, Access Point Names, click the + sign and add CC APN and delete all others.
[Huawei Ascend Mate 2] thenameisnigel:
Unless you're using build 09/17, F2FS isn't supported (yet). 09/09 is the only currently supported release as 09/17 was retired due to issues stemming from Xposed Framework. 09/24 was a DOA, so for the moment, 09/09 without F2FS support is the safest and most stable build. :)

Edit: If you want F2FS support, after flashing the 09/09 build, flash this BOOT IMAGE in fastboot. The command is fastboot flash boot boot.img, but ensure that it works correctly on your device first by running fastboot boot boot.img
[Huawei Ascend Mate 2] superbass311:
Can you explain what f2fs support is and will we need it in future builds?
[Huawei Ascend Mate 2] joed1960:
Thanks for the quick response. I was thinking of getting a different phone before buying the HAM2. Guess I need to change my mindset.
[Huawei Ascend Mate 2] thenameisnigel:
F2FS is an experimental file-system (like NTFS/FAT32/EXT4) which was developed by Samsung. It isn't required nor is it enabled by default as it is experimental but it has better performance than EXT4 (file-system used by Linux/Android). Again, it is experimental at best and isn't recommended for long-term use.
[Huawei Ascend Mate 2] superbass311:
And what gain would one see by changing to f2fs? When you say performance do you mean boot time? ROM speed? Backup times faster?
[Huawei Ascend Mate 2] nate5711:
Thanks for the quick reply, not looking to use f2fs now will wait for a more stable version of this and other roms first. Just wanted some info about it, others on the forum are asking the questions I wanted to know about it.
[Huawei Ascend Mate 2] thenameisnigel:
[MENTION=6367467]SHM[/MENTION]'s answer is way better than mine. :P
[Huawei Ascend Mate 2] :
What are the advantages of F2FS over stock EXT4 format?

1) F2FS is much faster at writing data than EXT4. Reading data is not to much of a difference but you'll notice a difference in UI fluidity etc because of the higher sdcard writing speeds. (which makes caching data on your sdcard so much easier for your phone hence less lag)

2) F2FS is auto trimmed. One of the problems with EXT4 is it slows down over time because it needs trimming. You can manually trim EXT4 using fstrim but F2FS already does this for you.

3) F2FS was designed specifically for MMC (phone) memory. EXT4 is older and used on spinning hard drives and SSDs alike which is why it is not as "optimized" for your phone.
[Huawei Ascend Mate 2] superbass311:
But f2fs has to be integrated into the ROM? Correct?
[Huawei Ascend Mate 2] :
It has to be integrated into the kernel which most kernel sources now a days are starting to come with f2fs support implemented within it. The kernel source for this device unfortunately does not so you would have to add it in manually. However, they are not enabled upon building so the user must rebuild the kernel with it enabled. The ROM itself doesn't need support. Only the boot.img needs to be supported with both the kernel and the ramdisk. Typically the fstab file is enough as fstab files are able to switch between formats without any extra effort on newer devices..

---------- Post added at 05:37 PM ---------- Previous post was at 05:26 PM ----------

F2FS and EXT4 are filesystems. Filesystems are how the OS decides where to store data and how to retrieve it. Since flash memory operates in a different way than a magnetic hard drive there are different optimal ways to store data. EXT4 was designed to optimize for magnetic hard drives, while F2FS is optimized for flash memory.

The basic idea and pro of F2FS (flash-friendly filesystem) is that because it is designed from the ground up for flash-based media, it will perform better and leave less wear on the device.

Whereas EXT4 is like a swiss-army knife of filesystems. it just works with everything and is supported by every major linux kernel. ext filesystems are linux standards, which android inherited.

F2FS isn't really that new, as I believe it was first introduced back in 2012 if I recall correctly, but only a few manufacturers ship with it. Give it some more time and it will likely become the go-to filesystem for all flash-based memory as it properly should be.

---------- Post added at 05:41 PM ---------- Previous post was at 05:37 PM ----------

Just so everyone is aware, CM does not support f2fs for the system partition right out of the box. To run your system partition as f2fs with CM you must modify the CM source to disable block based ota's and compile yourself. Then you have to modify the updater-script once the build is complete. Otherwise, you can only do cache, and data/internal_SD.

---------- Post added at 05:42 PM ---------- Previous post was at 05:41 PM ----------

The PAC devs were smart with their source and so it doesn't use block based ota's which is why these PAC builds come with full f2fs support. :)
[Huawei Ascend Mate 2] divineBliss:
What would happen if I used TWRP to reformat partitions to f2fs and the boot.img does not have support for f2fs?

If I do want to convert to f2fs, does that mean I can only restore backups made after that partition is f2fs?
[Huawei Ascend Mate 2] :
Your device won't boot. It would either hang at the huawei logo screen or reboot back to twrp.. You can unpack the boot.img, decompress the ramdisk and modify the fstab.qcom file to support f2fs assuming the kernel has f2fs support as well which these builds do so no worries there. Compress, and repack the modified boot.img. Boot up twrp, format partitions to f2fs, install ROM zip, then flash your modded boot.img and you should be good to go.
[Huawei Ascend Mate 2] superbass311:
So this is what I'm gonna do and I suggest others do as well wait for the "stable" build of PAC and if that's your daily driver then format to f2fs because your phone will actually benfit from it. However with PAC in experimental stage and CM in Nightlies converting to F2fs is just going to cause people headaches
[Huawei Ascend Mate 2] divineBliss:
Thanks! Any instructions in a post or thread you know of? Otherwise I'll root around.

What about my second question? Limit one per post? ;)
[Huawei Ascend Mate 2] :
No limits lol,

fstab file should look like the one seen in the link below.

https://raw.githubusercontent.com/CanaryROM-And/android_device_huawei_mt2/cm-12.1/rootdir/fstab.qcom

You will see system, data and cache listed twice for each. One for ext4 and the other for f2fs. Its that simple.

As for unpacking the boot.img you can grab these tools in the following link below.

https://github.com/xiaolu/mkbootimg_tools

The root of that source is designed to be used on Linux only. The ARM directory is from me and is designed to work on both Linux and Android which was possible based on how I compiled the binaries.
[Huawei Ascend Mate 2] divineBliss:
What's partitions, etc, are being modified by the PAC-ROM zips? Is it just a matter of unzipping to know? I'll try that later.

So far 9/9 is sweet aside from my WiFi and Bluetooth MAC addresses and phone serial number getting changed in the process. No ideas on how that happened?
[Huawei Ascend Mate 2] superbass311:
9.9.15 has been my daily driver since release.
[Huawei Ascend Mate 2] :
Unzip it and look for a file named, updater-script. Open it with a text editor and your answer will be there.

---------- Post added at 06:03 PM ---------- Previous post was at 06:00 PM ----------

It is possible to use a backup made previously on ext4 and restore it while currently on f2fs. Just rename the backup. For example, change data.ext4.win to data.f2fs.win. However, I wouldn't recommend doing this trick the other way around as f2fs allocates its own space when used and may cause conflicts if restoring a f2fs backup on top of ext4.
[Huawei Ascend Mate 2] superbass311:
So on a stable version of PAC in the future I will just be able to reformat in TWRP to f2fs and install the ROM like normal and it will work? Unlike CM?
[Huawei Ascend Mate 2] :
Yes, and the same for CM also. Only CM does not support f2fs for the system partition because it uses block based ota's. If you format your system to f2fs and install cm then it will reformat system back to ext4 during the installation process because system.new.dat is a new form of compression based on ext4. It currently is not possible to make a block based ota with f2fs in mind with respect to /system.

---------- Post added at 06:10 PM ---------- Previous post was at 06:09 PM ----------

However, its possible to run your system as f2fs while running CM but requires some changes and you making a build from the source with those changes.
[Huawei Ascend Mate 2] divineBliss:
What do you have to do differently for using CM f2fs vs PAC-ROM ?
[Huawei Ascend Mate 2] superbass311:
Sounds like I have the right ROM then haha
[Huawei Ascend Mate 2] :
To each their own lol. I'm currently running cm12.1 with full f2fs support right now ;).. System, data/internal_SD, and cache.
[Huawei Ascend Mate 2] divineBliss:
How does it compare to PAC-ROM? Do you prefer it over PAC-ROM?
[Huawei Ascend Mate 2] :
Nothing, just format cache and data to f2fs then install the zip. Just leave system as ext4 for cm.
[Huawei Ascend Mate 2] superbass311:
When your flashing the Nightlies do you have to modify the boot each time to continue to keep f2fs?
[Huawei Ascend Mate 2] :
I haven't tried PAC ROM yet so I couldn't give a proper review on that lol.
[Huawei Ascend Mate 2] divineBliss:
What's holding you back from trying? ;)
[Huawei Ascend Mate 2] superbass311:
He does not have WiFi and has to conserve his data [emoji12]
[Huawei Ascend Mate 2] :
Nope, however, I can't use nightlies because they come as block based ota's which makes it impossible to run your system partition as f2fs. In order for me to keep my system partition as f2fs and run CM I have to build the rom on my own system. I had to modify a makefile in the android_build package within the CM source. Then modify the boardconfig.mk file in the device tree so when it builds my ROM it disables block based ota's and uses the old style format. Then I open the ROM.zip and modify the updater-script to target the system partition using busybox mount as the command, auto as the parameter, and system as the target. This allows me to format my system partition to f2fs and install the ROM properly so I can gain full f2fs support. CM doesn't support this so I have to do it on my end. My first build took me three hours but any future builds I do will be anywhere from 5 minutes to possibly an hour depending upon the approach I wish to take.

---------- Post added at 06:29 PM ---------- Previous post was at 06:22 PM ----------

I have WiFi I just didn't have it at that moment as we earlier discussed lol. I was at work then. I'm home now :-p
[Huawei Ascend Mate 2] thenameisnigel:
Idea

I have a question for you guys, who thinks that doing two builds for PAC would be a great idea:

Build Number 1 would be the regular weekly which has the bleeding edge code for the week, and is built by a CI which is basically untested until I flash them myself and by then someone usually finds the file on my BasketBuild account by then.

Build Number 2: Stable releases that get updated less often, but are tested thoroughly before release, and would get the CVE fixes probably 1 or two days after they're released. That means that this build variant has a possibility of getting security fixes before build 1 since build 1 is updated on Wed/Thur. This build would also not have root enabled by default but it can easily be installed. Build 2 is mainly intended for those who use the ROM as a daily driver.

Thoughts?
[Huawei Ascend Mate 2] MT2-User:
Great idea.

---------- Post added at 08:05 PM ---------- Previous post was at 07:46 PM ----------

New build, including for build#1, should be released asap for security fixes.
[Huawei Ascend Mate 2] nate5711:
Sounds good...
[Huawei Ascend Mate 2] robertbarber:
That sounds good to me as well.
[Huawei Ascend Mate 2] divineBliss:
No SIM Card Icon ???

I just put a SIM card in my phone, and the No SIM Card ICON is still showing on the status bar. The SIM card has not been activated yet. Is that normal behavior for the phone to not detect the SIM card at all if the card has not been activated (prepaid service)?

Unfortunately, I did not try this before going from B148 to B322 to PAC-ROM. Tried it for the first time with PAC-ROM. Thanks!

I'm positive the SIM is making contact because I'm pressing it with my finger.

Since there's no SIM try or anything holding the SIM in, do people have problems with the SIM card making connection when installed in this phone and held in place by the back cover.

Thanks!
[Huawei Ascend Mate 2] thenameisnigel:
SIM card has not been activated? Not sure as I don't have an unactivated SIM around but I'm not entirely sure if that's the problem.

If you have an activated one around, can you try it with that? If it still doesn't work, run adb logcat while inserting and removing the SIM and add it to the bugtracker at http://jira.gocanarytel.com/projects/PAC
[Huawei Ascend Mate 2] divineBliss:
What are CVE fixes?

For option 2, what do you mean by installed in "This build would also not have root enabled by default but it can easily be installed." ? Don't we just flip the switch in dev options like the 9/9 build?

Sorry, all my 8 thank you's for the day are used up :) ......... Why do we have a limit on saying thank you :confused: ?
[Huawei Ascend Mate 2] thenameisnigel:
CVE stands for Common Vulnerabilities and Exposures. CVE fixes are security patches for bugs (such as Stagefright)

Build 2 would be user builds which do not contain the su binary by default. To root, you can just flash ChainFire's SuperSU zip.

Haha, it's alright. I assume thanks are limited so people won't create new users just to like their own threads.
[Huawei Ascend Mate 2] Moody66:
I use apex. Transparent for me as well
[Huawei Ascend Mate 2] superbass311:
Ok installed and set up guys. This will be my daily driver until next CM release unless this rom is smooth as silk. We shall see
[Huawei Ascend Mate 2] MikeyLee:
I've tried Apex, Nova, Go, TSF, Next and stock and all have a black navigation bar
[Huawei Ascend Mate 2] Moody66:
On which ROM?

---------- Post added at 03:27 PM ---------- Previous post was at 03:25 PM ----------

According to battery log I lost 3% overnight.
[Huawei Ascend Mate 2] superbass311:
Is this an LTE ROM? My phone always said LTE never h+ and my speeds are not so great
[Huawei Ascend Mate 2] superbass311:
Never mind
[Huawei Ascend Mate 2] MikeyLee:
Did anyone lose root after flashing? Nevermind it's set to off by default.
[Huawei Ascend Mate 2] medwatt:
How does that compare with the readings on stock ROM (if you can remember) ?
[Huawei Ascend Mate 2] robertbarber:
This may be a stupid question but is pac_mt2__20150831-195907.zip the newest release? I'm about 99% sure it is but before I start flashing I want to make sure.
[Huawei Ascend Mate 2] Moody66:
Yep

---------- Post added at 05:27 PM ---------- Previous post was at 05:25 PM ----------

About the same as L. Think I got a little better from 4.3.
[Huawei Ascend Mate 2] nate5711:
I just flash this rom and it is very nice, unfortunately I am having a data issue like I had with cm12 my phone was a cc convert running on the AT&T network , instead of it saying LTE I am getting a H+ how can I get LTE back ?
[Huawei Ascend Mate 2] Moody66:
Checked the speed?
[Huawei Ascend Mate 2] thenameisnigel:
By CC Convert, I'm assuming you mean Consumer Cellular, and unfortunately I, nor the main devs for any of the ROMs here have the Consumer Cellular version hence why it hasn't been fixed yet. Do you have a link to the convert guide so I can see what's different?

Edit: Looked at the guide, and no bueno. Unfortunately as I can't replicate this issue and it's because of an outside mod, it isn't likely to be fixed. Sorry.
[Huawei Ascend Mate 2] medwatt:
[MENTION=5530607]Moody66[/MENTION]

Man, you seem to be very knowledgeable about xposed modules. Do you know of any module that can be used to block apps from accessing the internet that doesn't need to be always running in the background; something that resembles the "networked apps" option on stock rom. I use some Chinese language apps and I can't tell you how many adverts they show!
[Huawei Ascend Mate 2] nate5711:
Thanks for the reply,all is good now walked outside and LTE came back on,it only showed H+ after I flash the rom and I was indoors. I loved pac man on my old S3 good to have it back.

Thank you for all the hard work.
[Huawei Ascend Mate 2] Moody66:
W

You don't need one. With android just open settings>data usage.... Scroll down to whatever used data. Select it and at the bottom you will see restrict app background data. Should solve that issue. If not you can use this....http://xdaforums.com/xposed/modules/xposed-minminguard-v1-7-0-cancelled-t2597332
[Huawei Ascend Mate 2] superbass311:
On CM when I hold the recent button (the square) it would swap to the last app used. Pac Man does not. Any way of enabling this?
[Huawei Ascend Mate 2] superbass311:
NM found it, what a great rom so far
[Huawei Ascend Mate 2] superbass311:
Button colors is broken. I seen this also on Gravity Box on CM. Don't really need it just reporting it. Only thing I can find so far..
[Huawei Ascend Mate 2] divineBliss:
Good idea. It seems to me that the phone should still recognize the SIM is installed or not.

No other SIMs to try and not another other GSM phone to try the SIM I have.

Looking at the "adb logcat" output while I put the SIM in and take it out results in no new activity on the logcat output screen - like the phone's not even trying to read the SIM card. Should the phone detect the removal and re-installation of the SIM without requiring a restart?

Sounds like I'm going to have to flash back to B322 and try this experiment there unless there are other ideas.

I'll try disabling Xposed modules first.

---------- Post added at 05:31 PM ---------- Previous post was at 05:27 PM ----------

Thanks! That brings up a question. What's the su manager in 9/9? I've only every used ChainFire's SuperSU (and SuperUser??) in the past. Is it possible/easy to switch to using SuperSU with 9/9?
[Huawei Ascend Mate 2] thenameisnigel:
No idea, this is the first that I've heard of this. Either your phone is a lemon or your SIM is bad.
[Huawei Ascend Mate 2] robertbarber:
[MENTION=4960802]thenameisnigel[/MENTION] will the next update allow us to use the updater program to update or is that still a little ways off?
[Huawei Ascend Mate 2] MikeyLee:
Just reboot it