[ROM][7.1.2][ OpenKirin's RROS v5.8.5 For Huawei P8Lite ][Update 02/03/2018]

Search This thread

haky 86

Recognized Contributor
Oct 5, 2012
3,771
7,695
I already added on the new Update of LOS 14.1, which was released right now !

I can't test your fix, because I don't have this issues on my devices, but since some users reported that this fix is working I added it to my build !

Thank you very much :)

EDIT :

In fact the hwc builded by me from the same source like @haky 86 is not working in the same way, because the source of hwc was builded on Android N by me instead on Android MM - that's why the hwc builded on Android MM it's working ! ( but currently I have no Android MM source on my desktop in order to make a test )

I got booted rom a few month ago by adding stock hwcomposer.default and hwcomposer.hi6210sft from lib and lib64 but in the debug still say something like "hwcomposer is not present so is not enabled" or similar..so the first thing I guess to it..is LD_SHIM_LIBS but I'm not sure if we need to these 2 libs too libgralloc_ext.default & libgralloc_ext from lib & lib64, since I don't have much experience in coding.

Edit: i'm trying youtube fix on my slim 7 with new blobs..let's see.
 
Last edited:

YowPa

Senior Member
Mar 11, 2012
101
27
About the HWC some user report that the file provided by me fix also the prosimity sensor during call...
And in effect I have no problem during call with unwanted touch
Could you check it ?
If it's true another little bug could be fixed ;)

It fixed proximity for me, now works as it should
 

ksrt12

Senior Member
Apr 20, 2017
211
337
Saint Petersburg
4pda.ru

Attachments

  • Screenshot_20171201-132749.png
    Screenshot_20171201-132749.png
    129.1 KB · Views: 514

surdu_petru

Recognized Contributor
Feb 3, 2010
7,561
23,796
Paris
Because of
Code:
12-01 10:33:49.383  2586  2586 E OSLibraryInterface: fail to load [lib_k3_omx_avcenc.so][error: No such file or directory]

Yes, I already see it yesterday this issue on my logcat, so it seems the k3 codecs isn't loaded also with libstagefrighthw.so ... Anyway need more research on this issue.

BTW do you know please if I need to keep also libwvm.so ? Currently its not included due to missing symbols, but I can fix it if libwvm.so indeed is needed.

Thank you very much !
 

Crockodyle

Senior Member
Oct 4, 2016
371
114
Does anyone have a problem with Bluetooth music, when you turn the screen on while playing music the music will 'skip' and get faster?
 

haky 86

Recognized Contributor
Oct 5, 2012
3,771
7,695
HW codecs doesn't depend of widevine drm module, so it's not required for them.

what about libstagefright.huawei.so, I put them with other libstagefright libs but the rom is not booted for me?

I got this logcat on my slim 7 I guess is fixed?
p.s: I didn't add any kind of your fixes..I play around libhi6210sft
11-30 20:30:42.195 2531 3122 I FFmpegExtractor: android-source:0xf3b08000
11-30 20:30:42.203 2531 3122 D FFmpegExtractor: supported codec (h264) by official Stagefright
11-30 20:30:42.203 2531 3122 D FFmpegExtractor: supported codec (aac) by official Stagefright
11-30 20:30:42.203 2531 3122 D FFmpegExtractor: ffmpeg detected media content as 'video/mp4' with confidence 0.08
11-30 20:30:42.207 2531 3020 I FFmpegExtractor: android-source:0xf6861000
11-30 20:30:42.208 2532 5102 I MediaPlayerService: MediaPlayerService::getOMX
11-30 20:30:42.209 2532 5102 I OMXClient: MuxOMX ctor
11-30 20:30:42.209 2529 2529 I OMXMaster: makeComponentInstance(OMX.google.h264.decoder) in mediacodec process
11-30 20:30:42.209 2531 2531 I FFmpegExtractor: android-source:0xf3b83000
11-30 20:30:42.214 2532 5102 D ACodec : Setting [OMX.google.h264.decoder] input port buffer number: 1
11-30 20:30:42.214 2532 5102 D ACodec : Setting [OMX.google.h264.decoder] output port buffer number: 1
11-30 20:30:42.216 2529 2591 D SoftVideoDecoderOMXComponent: Color Aspects preference: 1
11-30 20:30:42.216 2531 3020 D FFmpegExtractor: supported codec (h264) by official Stagefright
11-30 20:30:42.216 2531 3020 D FFmpegExtractor: supported codec (aac) by official Stagefright
11-30 20:30:42.216 2531 3020 D FFmpegExtractor: ffmpeg detected media content as 'video/mp4' with confidence 0.08
11-30 20:30:42.217 2531 2531 D FFmpegExtractor: supported codec (h264) by official Stagefright
11-30 20:30:42.217 2531 2531 D FFmpegExtractor: supported codec (aac) by official Stagefright
11-30 20:30:42.217 2531 2531 D FFmpegExtractor: ffmpeg detected media content as 'video/mp4' with confidence 0.08
11-30 20:30:42.221 2531 3122 D MediaBufferGroup: creating MemoryDealer
11-30 20:30:42.222 2529 5103 D SoftVideoDecoderOMXComponent: Color Aspects preference: 1
11-30 20:30:42.259 4476 5085 E AudioTrack: did not receive expected priority boost on time
11-30 20:30:42.332 2532 5109 I MediaPlayerService: MediaPlayerService::getOMX
11-30 20:30:42.332 2532 5109 I OMXClient: MuxOMX ctor
11-30 20:30:42.332 2529 2591 I OMXMaster: makeComponentInstance(OMX.google.h264.decoder) in mediacodec process
11-30 20:30:42.335 2532 5109 D ACodec : Setting [OMX.google.h264.decoder] input port buffer number: 1
11-30 20:30:42.336 2532 5109 D ACodec : Setting [OMX.google.h264.decoder] output port buffer number: 1
11-30 20:30:42.337 2529 2529 D SoftVideoDecoderOMXComponent: Color Aspects preference: 1
11-30 20:30:42.341 2531 2531 D MediaBufferGroup: creating MemoryDealer
11-30 20:30:42.342 2529 5110 D SoftVideoDecoderOMXComponent: Color Aspects preference: 1
11-30 20:30:42.450 2532 5115 I MediaPlayerService: MediaPlayerService::getOMX
11-30 20:30:42.451 2532 5115 I OMXClient: MuxOMX ctor
11-30 20:30:42.451 2529 3046 I OMXMaster: makeComponentInstance(OMX.google.h264.decoder) in mediacodec process
11-30 20:30:42.455 2532 5115 D ACodec : Setting [OMX.google.h264.decoder] input port buffer number: 1
11-30 20:30:42.456 2532 5115 D ACodec : Setting [OMX.google.h264.decoder] output port buffer number: 1
11-30 20:30:42.457 2529 3114 D SoftVideoDecoderOMXComponent: Color Aspects preference: 1
11-30 20:30:42.461 2531 2597 D MediaBufferGroup: creating MemoryDealer
11-30 20:30:42.462 2529 5116 D SoftVideoDecoderOMXComponent: Color Aspects preference: 1
11-30 20:30:42.478 4476 4486 I art : Background partial concurrent mark sweep GC freed 21900(2MB) AllocSpace objects, 18(12MB) LOS objects, 29% free, 38MB/54MB, paused 9.612ms total 83.727ms
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,561
23,796
Paris
what about libstagefright.huawei.so, I put them with other libstagefright libs but the rom is not booted for me?

I got this logcat on my slim 7 I guess is fixed?
p.s: I didn't add any kind of your fixes..I play around libhi6210sft

I don't understand what you want to fix, if you didn't added k3 codecs blobs ? On your logcat is nothing about k3 codecs because you didn't added them !
 

haky 86

Recognized Contributor
Oct 5, 2012
3,771
7,695
I don't understand what you want to fix, if you didn't added k3 codecs blobs ? On your logcat is nothing about k3 codecs because you didn't added them !

I was talking about libstagefright that could help to fix codecs issue..I didn't add k3 codecs because will not work at all since is configured for emui.

another test can be done by opening hisi_omx.cfg and try change the lines to the following one.
Code:
/system/lib/lib_k3_omx_avc.so
/system/lib/lib_k3_omx_avcenc.so
/system/lib/lib_k3_omx_mpeg4.so
/system/lib/lib_k3_omx_mpeg2.so
/system/lib/lib_k3_omx_vc1.so
/system/lib/lib_k3_omx_vp8.so
/system/lib/lib_k3_omx_rv.so

/system/lib64/lib_k3_omx_avc.so
/system/lib64/lib_k3_omx_avcenc.so
/system/lib64/lib_k3_omx_mpeg4.so
/system/lib64/lib_k3_omx_mpeg2.so
/system/lib64/lib_k3_omx_vc1.so
/system/lib64/lib_k3_omx_vp8.so
/system/lib64/lib_k3_omx_rv.so

instead of
Code:
lib_k3_omx_avc.so
lib_k3_omx_avcenc.so
lib_k3_omx_mpeg4.so
lib_k3_omx_mpeg2.so
lib_k3_omx_vc1.so
lib_k3_omx_vp8.so
lib_k3_omx_rv.so

I cannot test it due to preparing the rom for my PRA-LX1. :)
 

Kostyan_nsk

Senior Member
Nov 12, 2014
344
327
Ulan-Ude
what about libstagefright.huawei.so, I put them with other libstagefright libs but the rom is not booted for me?
First take a look what functions contain this library. I hope after that you will clearly understand has this lib any relation to hw codecs or not. ;)

I was talking about libstagefright that could help to fix codecs issue..I didn't add k3 codecs because will not work at all since is configured for emui.
Codecs issue could be solved only by turning on hw codecs.
With such approach you'll never fix it. Take a look at libstagefright's source code (particularly ACodec.cpp), read about OpenMAX integration layer. Thus you will get at least approximate vision about how is video decoding works on your phone instead of "will not work at all since is configured for emui".
 
  • Like
Reactions: surdu_petru

Top Liked Posts

  • There are no posts matching your filters.
  • 131
    Hi !




    9989970.png





    Resurrection Remix N v5.8.5 For Huawei P8Lite (ALICE)


    > Officially Supported Devices : ALE-L02, ALE-L21, ALE-L23 & CHM-U01/U03 <


    *** Stable Version ***




    About
    Code:
    [CENTER]Resurrection Remix the ROM has been based on LineageOS, and including some features from SlimROM, OmniROM and original Remix ROM builds, all those creates an awesome combination of performance, customization, power and the most new features, brought directly to your device ![/CENTER]



    Code:
    [CENTER]
     * Your warranty is now void.
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
    [/CENTER]



    Features
    Code:
    [CENTER]
    * Substratum Theme Engine
    * All LineageOS features
    * SDCardFS support
    * DT2W
    * Touchscreen Gestures
    [/CENTER]



    Downloads
    Code:
    [CENTER]
    * [URL="https://www.androidfilehost.com/?fid=818070582850497407"]RR-N-v5.8.5-20180302-alice-OpenKirin.zip[/URL]   [B][I]md5 :[/I][/B] b07169eb11bfbb733ef3cdd93795a399
    * [URL="http://opengapps.org/"]OpenGAPPS[/URL] (ARM64/7.1)
    [/CENTER]



    Installations
    Code:
    [CENTER]
    * [B][I]It is mandatory to update your device to EMUI 4.1 B895/B896[/I][/B] ! 
    * you must also have this recovery version installed :  [URL="https://xdaforums.com/p8lite/orig-development/twrp-t3583180"]TWRP 3.1.1-0[/URL]
    * go to TWRP 3.1.1-0 and format data then reboot to TWRP and take a factory reset !
    * install RROS ROM and reboot device to system
    * reboot device to twrp and install gapps ( optional )
    * reboot to System
    * Enjoy !!!
    [/CENTER]




    Update
    Code:
    [CENTER]
    * copy the new update of RROS to Internal/External Storage
    * reboot device to :  [URL="https://xdaforums.com/p8lite/orig-development/twrp-t3583180"]TWRP 3.1.1-0[/URL]
    * wipe cache & dalvik cache
    * install the new update of RROS
    * reboot to System
    * Enjoy !!!
    [/CENTER]




    Currently Working
    Code:
    [CENTER]
    * touchscreen
    * adb & mtp
    * internal/external storage
    * wifi with hotspot
    * bluetooth with a2dp
    * NFC
    * GPS
    * Camera
    * dual SIM with data network connecting 
    * Off-mode charging
    * toggle between LTE/3G/2G
    * Deep Sleep
    [/CENTER]




    Currently Not Working
    Code:
    [CENTER]
    * Encryption *
    ** Use XPlayer for render all your video without issues !
    ** Use Footej Camera - to record video ( working also for 1080p )
    [B][I]*** This ROM require a SIM with LTE capability ![/I][/B]
    [/CENTER]




    Credit
    Code:
    [CENTER]
    * [URL="http://xdaforums.com/member.php?u=7354786"]XePeleato[/URL]
    * [URL="https://xdaforums.com/member.php?u=4960686"]OldDroid[/URL]
    * [URL="http://xdaforums.com/member.php?u=4400604"]Meticulus[/URL]
    * [URL="https://xdaforums.com/member.php?u=4883214"]haky 86[/URL]
    * [URL="https://xdaforums.com/member.php?u=6603379"]kacperes00[/URL]
    * [URL="https://xdaforums.com/member.php?u=5363220"]dominj97[/URL]
    * [URL="https://xdaforums.com/member.php?u=8044585"]_OBEDDO[/URL]
    * [URL="https://xdaforums.com/member.php?u=5822545"]xander33[/URL]
    * [URL="https://xdaforums.com/member.php?u=8049852"]TbiTw[/URL]
    [/CENTER]


    Special thanks to the LineageOS Team, OmniROM Team , SlimROM Team and of course to all the supporters !


    Kernel GPLv2 compliant : android_kernel_huawei_hi6210sft !


    This ROM is provided by OpenKirin TEAM (XePeleato, OldDroid, surdu_petru )




    RR Screenshots

    Screenshot_20170809-205647.png
    Screenshot_20170809-205657.png


    Screenshot_20170809-205724.png



    Best regards !

    XDA:DevDB Information
    RROS 7.1.2, ROM for the Huawei P8lite/P8 Lite

    Contributors
    surdu_petru, XePeleato, OldDroid
    Source Code: https://github.com/OpenKirin

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Android MM (EMUI 4.x)
    Based On: LineageOS

    Version Information
    Status: Stable
    Stable Release Date: 2017-09-13

    Created 2017-05-14
    Last Updated 2018-03-02
    39
    Update RROS !

    9989970.png


    New Update RROS 7.1.2 For Huawei P8Lite


    Changelog :
    • based on the last updated source code : RROS 7.1.2
    • update security : 5 July 2017
    • kernel updated with new Android N patches
    • CPU fixed, thanks to @kacperes00


    Please check OP for more information !!!


    Screenshot_20170709-174709.png


    Regards,
    32
    And what about GZOSP? It s better to have 8.0.0 stable first :)

    No, it's not worthwhile to lose time by 8.0 ... In 8.0 there is nothing easier to solve in terms of development than 8.1 :)

    Now just managed to successfully boot on Oreo 8.1 RROS :D:laugh:

    Screenshot_Settings_20180315-221759.png



    Screenshot_Trebuchet_20180315-222333.png



    Screenshot_Trebuchet_20180315-222401.png



    Touchscree, sound & wifi seems to be working on the first build :)
    32
    Just started to re-build from scratch device-tree based to B895 and kernel based to the new EMUI 4.1 kernel source code !

    I hope we'll have good results in the next update - new update should be here in a few weeks .


    Regards,
    30
    Hi, petru is porting kernel 4.1 at the moment to be able to boot finally android 8

    That's crazy to get this on P8 Lite ;)


    xx3.png