[Honor 3C Guides, News, & Discussion] codelover:
Announcement:

* Please note that PermissionFix has been updated & renamed to FullRootHelper to better reflect it purpose.

* Please remove PermissionFix V2 if you downloaded as it contains some bug. (unnecessary patches on JB builds)

Yes, you can use LewaOS on H3C.

For now, all my ported recoveries can't be used as it failed to flash boot image properly.

This actually happens to ALL ROM, not just Lewa, but many ROM dev actually skipped the error checking (aka stop-on-error),

thus you may not even notice it failed to flash as the installation continues like normal, some ROM might still be able to boot normally,

this is true as long as the existing boot image on device is compatible with the ROM you are installing, or based on it.

I found that CWM 5.x ported automatically with MTKDroidTool & TWRP ported for Chinese set work for flashing boot image,

but CWM 5.x is too old, while the other TWRP is using old/unknown kernel, and is highly unstable for International set when i tested,

i do not want to abandon newer recoveries just because it failed to flash, instead, i want to get it working and enjoy all the new features.

Like i already mentioned HERE, temporary workaround would be flashing the boot image manually,

you will need to extract the boot.img from the ROM .zip, then refer my guide on post #6 about "Installing Custom Recovery",

but instead of flashing RECOVERY, you flash BOOTIMG, using the extracted boot.img from the custom ROM.

If you don't mind to wait, my patch is almost done, by then you should be able to install with TWRP without any problem.

I guess this is a common problem if you are using chinese based firmware, for example EMUI 2.3 dev builds.

Because these builds are optimized for china set, and in China they have 11 digits in their phone numbers.

The system will try to match 11 digits from the number in your incoming sms with your contact,

if all 11 numbers matched, then only they are consider as the same contact, and get grouped together.

I found the solution here (credit: 4huawei.ru), but i am not sure if the solution will work for H3C, you can try:

Open /system/build.prop with any app that support text editing, then change the values like below:

* Default value should be '11', change to '7' or whatever number that suits your needs.

ro.config.hwft_MatchNum=[COLOR="Red"][B]7[/B][/COLOR]
ro.config.hwft_MatchNumShort=[COLOR="Red"][B]7[/B][/COLOR]

You can also change the emergency numbers as the one used by China might not be suitable for you.

ro.config.hw_opta=999
ro.config.hw_optb=994

AFAIK this happen on most 4.4 based ROM, well, atleast we got stock B11X that are usable and not facing this problem.

For now, you need to extract stock 'recovery.img' from the current ROM, (refer to post #7) (Note: you only need to extract 'recovery.img')

Then replace the recovery*.img in TWRP folder and use the same method you used to flash the TWRP to your device.

You don't need to use recovery from same build, but it's recommend that they are from the same version, eg: 4.4 use recovery from KK 4.4.

I will see if i can make an updater to be flashed by the TWRP itself incase you want to revert to stock recovery for update/ota purpose.