yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P6, Mate] surdu_petru:
Hi!

Yep, because we can install and use OmniROM also over JB based rom !

I do not encourage this way of installation, because many partitions from our device will not be updates to kitkat ! The only partitions updated to kitkat by installing a rom in this way are : /recovery by installing TWRP KitKat version, /system and /boot by installing OmniROM 4.4.2 !

Inevitably will be here some problems in the future, because as an example /modem partition is still JB instead KitKat !

Maybe I'm wrong somewhere, but I see so logical things : use custom rom JB only over JB based Stock Huawei Firmware & use custom rom KitKat only over KitKat based Stock Huawei Firmware !
[Huawei Ascend P6, Mate] Manelit:
[MENTION=2335078]surdu_petru[/MENTION] will you continue developing for p6? because i read somewhere you had no p6 with you!
[Huawei Ascend P6, Mate] tauio111:
He mentioned that he doesn't own a Huawei Ascend Mate anymore, I believe.
[Huawei Ascend P6, Mate] surdu_petru:
Sure mate, please take a look here , was posted yesterday ! Today I'll update also Pac-MAN 4.2.2 !

I have an P6 device from about 8 month, but I don't have a HAM !
[Huawei Ascend P6, Mate] DrRammel:
surdu, i have one question: is it possible to port this rom (Sense 5!!!) to our p6? because look at that: http://youtu.be/p83oErI8F5Q

This is real sense 5, android 4.2.2 on a mediatek chipset!!

there is a chance to port it, i highly doubt!

please take a look, that would be a MASSIVE milestone!
[Huawei Ascend P6, Mate] Manelit:
if you need help with that and update roms like pac-man 4.4 i can help!! or test!!
[Huawei Ascend P6, Mate] raolleel:
I wouldn't port a sense port to another phone ^^, but sure it's doable.

If you want to port a sense-based rom, you can try using omni as its base

Here is a little guide
[Huawei Ascend P6, Mate] taaeem:
Do we have INIT.d support here or do we have to enable it somewhere?

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] surdu_petru:
All custom rom based AOSP has already enabled init.d !
[Huawei Ascend P6, Mate] PulseDroid:
It's actually quite easy porting sense and getting it to boot. Hence why a lot of devices have WIP threads of sense, but usually they just get abandoned as it is damn near impossible to get rid of bugs.
[Huawei Ascend P6, Mate] DrRammel:
okay, i'm opening a new [DEV] thread, maybe someone who know how to port/build can help, i barely know anything:D

btt: is there any news regarding to bluetooth a2dp?
[Huawei Ascend P6, Mate] 0robreid0:
I know this is a fairly trivial matter, but it is often useful to distinguish whether you have a decent 3G connection (HSPA/HSPA+) or not, and surely this can't be a hugely difficult thing to fix.

I tried the build.prop edit but to no avail; I appreciate the reply though.

I was just wondering if this bug is present with everyone and if there are any other ideas regarding how to fix it?
[MENTION=2335078]surdu_petru[/MENTION]?
[Huawei Ascend P6, Mate] tksla:
Hi to all. I'm back from holidays. Now got some spare time to play with Android on P6 ;)

Surdu, did You tried to manually disable or add Dolby effects.

In my opinion video start delays are related to missing Dolby libs, or maybe some mising line in cust/local.prop or build.prop are required to "tell audio driver: dont look for dolby"...

For example: ro.config.hw_dolby=false in build.prop.

Sorry but I'm playing now around AOSP build and cannot test this by myself.
[Huawei Ascend P6, Mate] tauio111:
Tried ro.config.hw_dolby=false, delay is still there.

During the use of this rom I made some changes, which, I dont exactly remember.

The video starts up instantly in Youtube and some other applications. The sound also starts up instantly, but the video is glitched. Attatched a screenshot from Youtube with HD video. This leads me to think that this delay is not infact caused by phone not finding the correct libs for audio, but something else.
[Huawei Ascend P6, Mate] taaeem:
Do you have this video glitch at all videos on YouTube? I also had this problem once with only one video! Don't think that this is related to the play/pause bug.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] tauio111:
All YT videos have this issue for me, not only Youtube but some other applications also. In Gallery applications the video plays fine with the delay.

But I dont worry about this, since I rarely watch Youtube on the phone. I may throw a logcat later and maybe there is a way to get this HD playback finetuned to be delayless as it is atm for me and then fix the decoding/rendering issue

Edit: attatched full logcat log from phone startup to Youtube playback(no delay, glitch) to Gallery playback(Delay, no glitch)
[Huawei Ascend P6, Mate] surdu_petru:
Hello !

So, delay on play/pause/start HD video is related to libstagefright* !

If you want to be there no delay on play video HD , we must keep from stock only libstagefright.so & libstagefrighthw.so - sure with libmediaplayerservice.so !

In this way play HD video is only on H/S mode instead H/W mode !

This delay appears because I decided to keep all stock libraries related to libstagefright* on OmniROM ! In this way we have enabled H/W video decoder , but we stuck on this issue - delay on play/start/stop/pause , when try to access HD video !

However there should be a way to solve this issue, but right now I could not find it !

Also bluethoot audio a2dp issue is related to DSPManager ! Will be removed and added BeatsAudio or even stock AOSP MusicFX !
[Huawei Ascend P6, Mate] calutzu:
Some installation problems with TWRP and reboot in bootloader

Hello everyone!

After 10 hours yesterday and another 4 hours today, I managed to install TWRP Recovery 2.6.3.7. for installing Omni ROM. Phew! :)

For those who fail to boot the phone in "bootloader" to install TWRP, try to install directly with adb using this command:

"fastboot flash recovery recovery_twrp_2_6_3_7.img" without quote. Yesterday i try almost 10 hours to boot the phone in bootloader, manualy or by adb command. Totaly FAIL!

Today, i try most of the commands from adb shell, to see to witch of them phone reacting, because when i send the command adb reboot bootloader, the phone it was stuck on "Huawei Ascend" image, and will come out only whith long press on restart button. So, after first command was necessary to flash TWRP ( adb reboot bootloader and enter ), in next command line i typed "fastboot flash recovery recovery_twrp_2_6_3_7.img" , and surprise! the image of TWRP was flashed, but no other future command was working, either reboot in bootloader not work, but who cares! :) what it important, was resolved. After that, everything it was piece of cake :). Now i have Omni ROM on my P6 :)

Thanx Petru, for contribution! :good:
[Huawei Ascend P6, Mate] taaeem:
When the phone is "stuck" at boot logo you are in the bootloader ;) and you can use all the fastboot commands you want.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] surdu_petru:
Hi !

Thanks mate ... from what I see you unnecessarily complicated - this would not have happened if you follow the installation instructions !

1° put your device in bootloader mode : "adb reboot bootloader"

2° flash twrp recovery : "fastboot flash recovery recovery-twrp.img"

3° reboot device : "fastboot reboot"

I do not see what is so complicated ?

Anyway glad you did it, but do not understand why you have not installed the latest update from TWRP, which is 2.7.0.0 ?

Good luck !
[Huawei Ascend P6, Mate] calutzu:
Maybe, but yesterday did not respond to any further command .. : (

Today it work.

Weird, I'd say...

---------- Post added at 02:20 PM ---------- Previous post was at 02:15 PM ----------

Yesterday, after "adb reboot bootloader" no command was working :|

2.6.3.7 is enough for me :)
[Huawei Ascend P6, Mate] surdu_petru:
Yes it happens, when you try to access bootloader mode, a driver must be installed in your PC !

Most times there's a problem with this driver, and usually you can have this response : < wait for device ...> when you try fastboot command !

This can be quickly remedied by: uninstall driver in Device Manager from your PC, or simply (does not work all the time, but you should try ) is enough to restart your PC !
[Huawei Ascend P6, Mate] surdu_petru:
Sure mate, with one condition ! - fastboot driver must be properly installed in your PC , otherwise you will have this response < wait for device ...>, and you'll not be able to use fastboot commands ! ;)
[Huawei Ascend P6, Mate] taaeem:
That's right, I would install Hisuite cause than all necessary drivers will be installed properly.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] Curcio:
i put HWglobaldolby.apk in system/app and remove DPS.apk and HWplayer.apk ,after reboot ,there isn`t any delay on mx player on H/W mode .

forgive my bad english
[Huawei Ascend P6, Mate] surdu_petru:
Ok, please take a video with stock camera, about 30sec. and let us to know if you are not any delay on play/pause/stop from this video , sure you must open with Gallery player !
[Huawei Ascend P6, Mate] taaeem:
This only works on some players, on stock gallery player delay is still there, on VLC for Android no delay works perfectly. On other apps for example Instagram he doesn't play videos at all.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] PulseDroid:
Remember that some apps will use Software decoding instead of H/W. And because of this it works.
[Huawei Ascend P6, Mate] tksla:
E/audio_hw_primary( 138): adev_set_parameters: unknown kvpairs: output_device=2
I/ServiceManager( 138): Waiting for service service.dolby...
I/ServiceManager( 138): Waiting for service service.dolby...
I/ServiceManager( 138): Waiting for service service.dolby...
I/ServiceManager( 138): Waiting for service service.dolby...
E/MediaPlayerService( 138): dolby_audio_effect_native_service not published...

This logcat shows everything, it is exactly the moment of 3-5sec. when You hit pause on Gallery video player. And also the same thing is happening before video is going to be played...

BTW. Can someone knows where is the file responsibe for singal, It was somewhere here on Surdu's threads but I cant find it now....
[Huawei Ascend P6, Mate] surdu_petru:
New Update !

Hello !

Until I manage to solve these problems : incoming call bug & delay on play/start/stop video , this will be the last update !

Changelog :

include gapps for android 4.4.2 !

DSPManager removed and added BeatsAudio !

Bluethoot audio a2dp fixed !

solved : continuous recorder on video camera ( camera will not FC after each video recorder )

new camera aosp with working : Photo Sphere, Panorama & Lens Blur !

include also Google Now Launcher !

Downloads :

omni-4.4.2-20140427-hwp6_u06-HOMEMADE.zip md5 : 91cccbd52d3a4797e0d1283a64f5cb9c

Installations :

your device must be previously updated to officially Huawei kitKat

TWRP 2.7.0.0 must be already installed on your device !

please perform a clean install !

do NOT flash Gapps, because are already included in this rom !

enjoy !

Best regards !
[Huawei Ascend P6, Mate] PulseDroid:
[MENTION=2335078]surdu_petru[/MENTION]

Sorry for the noobness, haven't been following this thread much: What happens with the incoming call bug?
[Huawei Ascend P6, Mate] surdu_petru:
Please , check your PM !

Yes, is a strange issue ( not a big deal ) : phone screen opens after the third call :(
[Huawei Ascend P6, Mate] maticex:
Can i update directly or I must download beta first? and witch beta?
[Huawei Ascend P6, Mate] taaeem:
You must update to a KK Rom so the KK Beta B014 or stable Chinese KK B506 and from there you install TWRP 2.7.0.0 and now you are able to flash this ROM.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] surdu_petru:
Your device must be updated to Huawei KitKat by /dload/UPDATE.APP method !

It does not matter :

if it's beta or not !

if you currently run in your device a custom rom based kitkat !

What really matters is that the device shouldn't be in the older version of android JB !

I do not think I can explain better ;)

Once you've made ​​the switch to JB at KitKat by /dload/UPDATE.APP method, you can continue with the next step because already you meet this condition ! This step must be performed only by those who still runs Android JB !!!

Good luck !
[Huawei Ascend P6, Mate] ahk31:
Surdu, what about the internal storage patch? Do we have to apply it over the last update or it is already included into it?
[Huawei Ascend P6, Mate] raolleel:
Thank you, its really stable :)

BTW dirty flash worked here
[Huawei Ascend P6, Mate] maticex:
EDIT: already got answer
[Huawei Ascend P6, Mate] taaeem:
Since he said that you need TWRP 2.7.0.0, you don't need the patch.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] surdu_petru:
I already filled out the answer to your question, please take a look above, you will surely understand !

Yes, you are right ! Patch was abandoned , because no officialy twrp till now !
[Huawei Ascend P6, Mate] DrRammel:
surdu, you managed to fix the screen animations:) thats great!
[Huawei Ascend P6, Mate] taaeem:
So we can use animations when turning the screen off?

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] DrRammel:
yes! how can I turn off the animations, i mean, that i dont have a blend out or anything?
[Huawei Ascend P6, Mate] surdu_petru:
What exactly do you mean?

I found just Daydream as animation for screen-off !
[Huawei Ascend P6, Mate] taaeem:
Here you go

the first option is no animation.

Gesendet von meinem P6-U06

---------- Post added at 08:54 PM ---------- Previous post was at 08:44 PM ----------

@surdu_petru my internal storage was still on the wrong place so I had to flash the patch/fix for the new TWRP.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] DrRammel:
but i mean, that there isnt even an "ausblenden", i want that the screen straight turns off, like on the htc one m7.
[Huawei Ascend P6, Mate] taaeem:
I don't know what you mean, only that this looks like on all other Roms so far.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] Curcio:
yes ,the issue still exists,when it comes to stock gallery
[Huawei Ascend P6, Mate] Manelit:
I would really love to see this rom at 100% would use it forever!!!
[Huawei Ascend P6, Mate] Franz.Hendrik:
how about just adding the dolby framework and library?

Should fix the problem
[Huawei Ascend P6, Mate] Rainca:
I like this rom.Thanks for your job:good:
[Huawei Ascend P6, Mate] tauio111:
EPRJ9508RIL.smali in telephony-common.jar from CM10.1 rom. Property of Eternity project.

and ro.telephony.ril_class=EPRJ9508RIL in build.prop
[Huawei Ascend P6, Mate] maticex:
Snapchat video also isn't working... But i don't know if it has something to do with delay or not..
[Huawei Ascend P6, Mate] tksla:
Thanks for signal fix. Dolby framework is refusing to install at the moment. Probably is somehow dependent to other huawei's frameworks...We are looking to bypass this problem.

Wysłane z mojego U9200 przy użyciu Tapatalka
[Huawei Ascend P6, Mate] taaeem:
Try to copy it to system/apps I think and then reboot.

I think than it should install automatically.

Also there are to files in B506 that belong to Dolby audio that are in system/lib I think you should also copy them.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] tksla:
Yes. Everything was on place but still “dolby...service“.apk refuses to install...need more trials with other dolby versions...

Wysłane z mojego U9200 przy użyciu Tapatalka
[Huawei Ascend P6, Mate] Curcio:
why not just add dolby effect？@surdu_petru
[Huawei Ascend P6, Mate] eabrillos:
hi everyone,

im newbie to android and got huawei p6, from hydro rom i flash to omni rom but it stuck to huawei ascend screen.......huhuhu please help what to do.......

PROBLEM SOLVED...... managed it by pressing power, up and down button simultaneously.........thanks.
[Huawei Ascend P6, Mate] Franz.Hendrik:
Im currently away from pc. But I would really like to see if the dolby would help fix the lag we experience.

The following files should be ripped from kitkat huawei rom then pushed into the flash for omni. Dont try to save it. Has to be clean installed with th rom.

Try ripping these:

srs_processing.cfg

audio_effects.conf

com.huawei.dolby.xml

dolby.jar

libdtsprocessing.so

libvisualizer.so

libreverbwrapper.so

libdownmix.so

libdolbymobileeffect.so

libbundlewrapper.so

libaudiopreprocessing.so

audio_effects.conf (vendor)

I am sure this should help. If not I should be able to recompile some of the drivers and just add the missing code to implement dolby.

Lets first try easy method.

I am afraid with the latest build the BEATS would interfere with the dolby.

Also need to inspect the build.prop for adding dolby.

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

Is the GPS fixed on latest build> last time i tried I couldnt get any connection.
[Huawei Ascend P6, Mate] Curcio:
expect your great news
[Huawei Ascend P6, Mate] alberto0o:
Any way of setting the external sdcard as default location like in the huawei roms?

Regards
[Huawei Ascend P6, Mate] surdu_petru:
Not yet, I'll try to add in the next updates !
[Huawei Ascend P6, Mate] Manelit:
How is it going [MENTION=2335078]surdu_petru[/MENTION]? do we have sound on calls?
[Huawei Ascend P6, Mate] Manelit:
im dying here to get omni on my p6 xD i want it so bad!! pls [MENTION=2335078]surdu_petru[/MENTION]!! give us updates on the fixing xD makexda a facebook of omni status xD
[Huawei Ascend P6, Mate] tauio111:
Omni works perfectly well, with the delay problem ofc.

The sound problem during calls happens on PAC rom 4.4.2, not omni.
[Huawei Ascend P6, Mate] Manelit:
how to hide softkeys like in KK from huawei..dont want to use imersive mode because i want only that on games
[Huawei Ascend P6, Mate] taaeem:
You can use xposed and gravitybox for expand desktop and there you can disable softkeys.

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] Manelit:
but expand is the same as imersive! it will hide both of them!! i only want to hide soft keys during games!! picking imersive screen everytime sucks :x
[Huawei Ascend P6, Mate] taaeem:
Set it to only Navbar then it should hide them completly when you turn on expand desktop. For turning on just long press the power off button and there you go!
[Huawei Ascend P6, Mate] tauio111:
systemui needs to be modded for this ( port hide softkey feature from Emui rom).
[Huawei Ascend P6, Mate] 0robreid0:
Adding:

qemu.hw.mainkeys=1

to the bottom of build.prop will hide the navbar, but you won't be able to get it back unless you delete that line again.

So this method is good for replacing navbar with pie controls for example.
[Huawei Ascend P6, Mate] kabirjedi:
Hello !

1 nub question:

Dolby Digital effects work this rom (In future)

TY
[Huawei Ascend P6, Mate] Manelit:
xbmc video does not work!! all green only sound
[Huawei Ascend P6, Mate] calutzu:
+4

Same thing
[Huawei Ascend P6, Mate] benshannon:
Anyone faces signal problems with the latest update? Even though I had flashed the signal fix zip, it seems I can't get any reception.
[Huawei Ascend P6, Mate] Manelit:
you only have to flash rom and nothing else!! try flash it again!
[Huawei Ascend P6, Mate] benshannon:
Well, I didn't flash fix zip because i wanted to, I flashed it because I couldn't get any signal.
[Huawei Ascend P6, Mate] Manelit:
thts why i told you to flash again the rom! but before doing that flash any other rom KK and see if you have signal!
[Huawei Ascend P6, Mate] taaeem:
Any news on this method?

Gesendet von meinem P6-U06
[Huawei Ascend P6, Mate] surdu_petru:
Yep, theoretically would be good , but practically it can't be enabled in this way !

Why ? - because we haven't all this files on our stock rom to be able to copy on our OmniROM !

A solution would be to take them to a similar device with dolby enabled, but unfortunately I have not found any for KitKat. I already finding some stuff but was for Android JB and will not install in the new version KitKat!

Theoretically everyone can solve this problem ! Would be much better if we can solve it and then post here the final solution.
[Huawei Ascend P6, Mate] tauio111:
So, theoretically, the screen lag while getting a call is related to the video rendering lag also?
[Huawei Ascend P6, Mate] surdu_petru:
By disable H/W decoder, it seems that the lag on incoming call still exist , so I'm not sure if it related to H/W video decoding !
[Huawei Ascend P6, Mate] tauio111:
Hmm, weird. What does logcat say during incoming call, while phone sleeping?
[Huawei Ascend P6, Mate] surdu_petru:
Yep, not cheked yet ... I'll try to see soon cause I haven't now OmniROM on my device !
[Huawei Ascend P6, Mate] Franz.Hendrik:
http://xdaforums.com/nexus-4/themes-apps/mod-dolby-digital-plus-t2687470
[Huawei Ascend P6, Mate] Curcio:
yes，@ry09iu has the dolby effect on miui to solve the delay issue,so does the BaiduYun ROM.but ,unluckily,as what you said ,both them are Android JB!Anyway,take your time,finally you would get it over !THX,mate.

---------- Post added at 09:16 PM ---------- Previous post was at 09:13 PM ----------

it works?
[Huawei Ascend P6, Mate] surdu_petru:
Yes, thank you very much - tested and work very well - no delay on play/pause/stop HD video now with this fix !

Ofcourse, and the author deserves congratulations worstenbrood !

Meanwhile I managed to fix also GPS issue !

Unfortunately, the incoming call bug still exist after applay this fix , so should be a rom issue ( configuration ) - and should be solved later !

The author of this solutions ( fix service dolby ) worstenbrood on AOSP based rom , agrees to use his fix in our rom : OmniROM !

Thank you very much !
[Huawei Ascend P6, Mate] _heisenberg:
So we have a fully working ROM?

Gesendet von meinem P6-U06 mit Tapatalk
[Huawei Ascend P6, Mate] surdu_petru:
Apart RadioFM , it seems that yes ...
[Huawei Ascend P6, Mate] Franz.Hendrik:
So glad it helped. Could you maybe pm me the logcat for the incoming call bug?

any other issues still remaining? How did you manage to fix the gps?

---------- Post added at 03:57 PM ---------- Previous post was at 03:56 PM ----------

Wouldn't spirit fm work?
[Huawei Ascend P6, Mate] surdu_petru:
Yep, I'll take a look later on logcat, cause I'm a bit busy right now ! To fix GPS we need to keep also stock : supl20Service.apk in our OmniROM !
[Huawei Ascend P6, Mate] Ajith Prabhu:
Is the network stable? I used to get one or 2 bars of range on the ROM in places where there is full range
[Huawei Ascend P6, Mate] Manelit:
Can i just flash the dolby effect from that link on my rom?
[Huawei Ascend P6, Mate] benshannon:
I did a quick research on call screen delay and I learned that it's a common bug among OMNI roms and may be eliminated by disabling '' suspend '' but I haven't found a way to disable it? anyone knows how?
[Huawei Ascend P6, Mate] surdu_petru:
New update !

New slim update.zip will be here for enable Dolby service and GPS, also was added Mms.apk !

Downloads : update.zip md5 : b362e205f4411f1f04f69e8371492196

Installation : please, wipe cache & dalvik after install this update into twrp !

If there are some minor sound issues, we must consider that the application for enanble dolby service is still in beta !

Credit : for enable dolby service to worstenbrood !
[Huawei Ascend P6, Mate] Curcio:
the delay issue on CM10.1 should be solved the same way?
[Huawei Ascend P6, Mate] xvir:
Hi, I just installed latest update .. and after that looking some posts back, but cannot find a reason why there is no SMS/MMS application .. just only Hangout .. and I don't use this one .. is there some back up of classic SMS/MMS apk ? thnks
[Huawei Ascend P6, Mate] surdu_petru:
In order to be done on CM10.1 , we need a modified dolby service for JB ! Not tested with this for KitKat ... but sure , the delay lag should be solved in the same way !

Sorry for not added Mms, please try to re-download update.zip , I already added your request !

Thanks !
[Huawei Ascend P6, Mate] xvir:
ok thnks .. I use MMS from older version .. I was just curious whats wrong :)