yashsingh1/xdaforums huggingface dataset:
[P8lite Android Development] dominj97:
There is a newer version of substratum in apk mirror from today and it's working :)

This is probably not a ROM bug.
[P8lite Android Development] elraffa:
How can I install the update? Sometimes when I unlock the phone, the touch works badly as if it went crazy, For example when I touch to lower the notification bar but it does not and opens the application drawer, does not respond to what I want to do but does what it wants. To solve this, I lock the phone and wait a while. Does anyone have this problem?

Enviado desde mi ALE-L23 mediante Tapatalk
[P8lite Android Development] Yoshikage_Kira:
Wipe cache and dalvik cache & flash it via twrp (Assuming you are coming from previous RRos version).
[P8lite Android Development] Loopeez:
Where I can find the firmware MM emui 4?
[P8lite Android Development] D1stRU3T0R:
Which rom is the best for gaming right now, and which will be the best for hard gaming in the future (with cpu fixes, etc)? (i would chose one of the nougat roms, but who knows)
[P8lite Android Development] dominj97:
RROS is bad for gaming because of cpu issue. You just need to wait for an update. I don't recommend los 14.1 for now to anyone because it doesn't have fixes that RROS has.

Performance in los 13, omni, AICP is practically the same so you can choose one of them :)
[P8lite Android Development] Bartoshevsky:
If you want to play hard games i recommend to you Omni. Heartstone and Gta Sa without any lags!
[P8lite Android Development] javifdeezwow:
Good news !!! GPS works with this app

Consultar FasterGPS

https://play.google.com/store/apps/details?id=org.fastergps not 100% exactly, I need test if works good when i drive

Sorry bad eng

Enviado desde mi ALE-L21 mediante Tapatalk
[P8lite Android Development] Zgadnijcie:
Someone did a test new release in antutu?

Huawei P8 Lite TT (OmniROM 6)
[P8lite Android Development] dominj97:
I don't confirm. Still no satellites in view. Download some gps test app and check.

It's not that you don't have localization without gps... there is also google localization based on gsm, wifi and bt. It's quite accurate but I don't know how it's working during fast move e.g. driving a car :)

---------- Post added at 10:35 AM ---------- Previous post was at 10:32 AM ----------

The same as before, cpu bug is not fixed yet. But it's working well :)

only heavy games...
[P8lite Android Development] javifdeezwow:
Ouhh fckk now I only try position and maps WhatsApp ubication and Waze and localization works

I try Gps app

Android network provider: work

Google play services: work

Android Gps provider: don't work

Enviado desde mi ALE-L21 mediante Tapatalk
[P8lite Android Development] IAmLemby:
AICP? What is that?
[P8lite Android Development] xander33:
Try call screen lock... It work pretty well ;)
[P8lite Android Development] Giacomoxita:
Why some apps or games (like Real racing 3) don't appear in the play store? Thanks :)
[P8lite Android Development] _OBEDDO:
Don't know also vainglory doesn't appear
[P8lite Android Development] Adi5:
Download via apkmirror
[P8lite Android Development] galdo1921:
Hello, i have some problems with sim card, usually i can't make calls/receive messages, sometimes they came in like 20 minutes later. What am i doing wrong? Screenshots above.

Edit: huawei p8 lite - dual sim

Edit#2: back to stock b895 fixed problem.
[P8lite Android Development] Amiriboy1234:
does anyone know if i put on a substratum theme and then do a factory reset , will the theme still be applied?
[P8lite Android Development] TheOldMan:
No
[P8lite Android Development] ksrt12:
Hello, [MENTION=2335078]surdu_petru[/MENTION]

Could you say me, how did you fix headset and SIM issue? (some patches or source code, please)
[P8lite Android Development] surdu_petru:
The last ROM from my part on Android N will be OmniROM Android N !

Almost all issues was fixed here, including camera ( as someone already said is not working on AOSP, and and was not working also on OmniROM )!

Will include all fixes till now, and also SIM fixed for almost all devices including Honor 4C !
[P8lite Android Development] Giacomoxita:
I can for gratis apps or games, but some paid apps don't appear too....
[P8lite Android Development] surdu_petru:
Cause many users here ask me the same thing, I'm gonna release the source code for Android N in a few days :p
[P8lite Android Development] ksrt12:
It would be great! Thank you)
[P8lite Android Development] surdu_petru:
In the meanwhile you can take a look here for fix SIM issue, and here for headset fix !
[P8lite Android Development] Crockodyle:
What do you mean by camera is fixed
[P8lite Android Development] ksrt12:
yes, I'm following the changes on github, but I didn't think that this is the fix
[P8lite Android Development] prakash09876:
Ambient display is not working in mine anyone else??
[P8lite Android Development] khangmjjzz:
can I update 23/11 without flash this rom again@@?
[P8lite Android Development] Adi5:
Yes,Just wipe cache
[P8lite Android Development] bael616:
After installing the ROM, it ran for a few minutes then my device's screen turned off with a red notification light. I freaked out like a lot, yet I charged my phone went into TWRP and did wipes. I turned on my device and it will work for some minutes before going to the same black screen. I had no choices but installing B895 from scratch. Now, I just wanted to ask if someone else have faced the same issue? If so, can you tell me how to fix it?
[P8lite Android Development] TheOldMan:
I one day had this issue but for me it was damaged mainboard
[P8lite Android Development] prakash09876:
There's is the fix in this thread from xander
[P8lite Android Development] bael616:
I tried looking for it, but I don't find it. Would you mind sending me the link for that thread?
[P8lite Android Development] xander33:
Here

https://xdaforums.com/showpost.php?p=74573446&postcount=1905

it is for HWC and unrensponsive touchscreen

but maybe can help you ;)
[P8lite Android Development] _OBEDDO:
How can it be for hwc if it is disabled and doesn't work?
[P8lite Android Development] Crockodyle:
It's partially working, thanks to porting of the p9 lite hwc....Or so I think...
[P8lite Android Development] DarkJoker360:
Is already included in the rom...
[P8lite Android Development] pawelik001:
So, there is a little chance to fix YouTube 720p60?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] xander33:
Yes, but in my case the file already included does not work ...

The files provided by my fix coming from slim6 and , at least for me, work fine and no touchscreen issue anymore
[P8lite Android Development] jsbeyond:
After installing this rom everything ok,thanks!

my device is ALE-TLOO
[P8lite Android Development] DarkJoker360:
Delete
[P8lite Android Development] Nighty009:
The fix does indeed fix the black screen during calls still being responsive.

Thanks!
[P8lite Android Development] xander33:
for that simply install "call screen lock" from playstore
[P8lite Android Development] Nighty009:
Well your fix fixed it too :)
[P8lite Android Development] xander33:
nice to know :)
[P8lite Android Development] |SnapDragon|:
Me too
[P8lite Android Development] jamshid71:
i installed new update but twrp show me "patching system image uncondtionally" for long time and i dont know what to do wait or cancel installation? help me??
[P8lite Android Development] jsbeyond:
waiting
[P8lite Android Development] jamshid71:
thanks for answer

i waited one hour . wait more:( ?
[P8lite Android Development] salembream:
60fps fix!

Now I have approximately 90 fps

About 50 fps showing and 40 are dropping but the video is very smooth ,so it doesn't matter!

See this video to understand what I mean .

https://drive.google.com/file/d/1qcRAnFS0ZkTHGTEwKHkruXXJ_lhHMGFR/view?usp=drivesdk

the low quality picture is due screenRecord not the video itself.

Actually I can't believe my eyes :p .

[MENTION=2335078]surdu_petru[/MENTION] can I send you a pm of what I did ? , I think same way we may the camera.

Other guys , sorry I tried many times to make a flashable zip but it never worked :( , I am still newbie in Android

Edit : actually I did the fix on omnirom nougat not rros, but it should work on any rom.

---------- Post added at 10:45 PM ---------- Previous post was at 10:27 PM ----------

Camera 360 recorded a video for me ! Although the stock camera app in omnirom didn't save the video .

IDK if it was working before or not .

Can any one tell me a camera app didn't work before so I can try it ?
[P8lite Android Development] _OBEDDO:
Stock camera video recorder doesn't work,

And your link is dead
[P8lite Android Development] jamshid71:
plz help me

i installed new update but installation not completed after 2 hours twrp show "patching system image unconditionally..." what do now?
[P8lite Android Development] salembream:
Reuploaded to Google drive

https://drive.google.com/file/d/1qcRAnFS0ZkTHGTEwKHkruXXJ_lhHMGFR/view?usp=drivesdk
[P8lite Android Development] bael616:
Thanks! I will try it as soon as a i get home.
[P8lite Android Development] surdu_petru:
Yes, Congratulated :]
[P8lite Android Development] jsbeyond:
Hi,bro.I flashed the rom verything ok.thanks.Can you share the device tree and vendor,i want to try build the candyrom for this device.thanks!
[P8lite Android Development] surdu_petru:
Yes, you should wait a few days to clean my source before.
[P8lite Android Development] jsbeyond:
ok,thanks.i used the branch los-13.0 to build candyrom 7.1.2,but cant boot:crying:
[P8lite Android Development] GuBaghalukuni:
Hi, I installed the ROM on honor 4c , everything is great except Sim, it can't be recognized, I tried to install the Fix_Sim.zip you mentioned in first post but it showed me error! What should I do?
[P8lite Android Development] DarkJoker360:
This is only a video.... Can you explain us what have you done inside the rom?
[P8lite Android Development] Crockodyle:
I was thinking the same thing
[P8lite Android Development] salembream:
Aah I just wanted to inform surdu_petro so he can apply the fix and share it to make sure it will work on all ROMs if it's applicable, I have no enough knowledge to do it.
[P8lite Android Development] DarkJoker360:
How you did this fix?
[P8lite Android Development] salembream:
Moved codecs files in /system/lib64 from my stock rom backup "emui 4.0" to my custom rom and set the permissions ,along side .omxregister inside /system/etc
[P8lite Android Development] Crockodyle:
And the video provided in my opinion was not at all smooth
[P8lite Android Development] salembream:
Lol

Just look at the fps details , screenrecord won't be smooth as the original video .

Any way they didn't work at all before or maybe laggy 10 fps :/
[P8lite Android Development] Crockodyle:
Oh okay.. sorry about that
[P8lite Android Development] DarkJoker360:
Umh I was thinking a lot about codecs, good works.

Port also the k3 libs from stock emui
[P8lite Android Development] xander33:
what is the name of codecs library?

i have found all the k3 library but maybe i should also import other?
[P8lite Android Development] haky 86:
tested along time ago by adding k3 libs..it's not work at all on my slim because k3 libs are used by emui, I've another way want to test codecs..but after fix slim nougat..
[P8lite Android Development] salembream:
In my case they were only on /system/lib but not on /system/lib64

So added the lib64 files from stock rom

Also the .omxregister file wasn't found on the custom so I added it also lol
[P8lite Android Development] GuBaghalukuni:
My phone is Honor 4c CHM-U01

Someone help me please:crying::confused::(
[P8lite Android Development] DarkJoker360:
No, only k3 for video playback in gallery
[P8lite Android Development] miststudent2011:
Do one thing

1. Install TWRP

2. Install B896

3.Install Twrp

4. Flash RROS over it

5. Flash sim fix.
[P8lite Android Development] GuBaghalukuni:
I did everything except number 2, I installed b895 instead, now I can't do number 5, when I want to flash sim fix it says error
[P8lite Android Development] miststudent2011:
What error did it throw ?

Unknown command error or any other
[P8lite Android Development] surdu_petru:
I can confirm that it works ... Congrats :D

First will be included on the new update of LOS 14.1, with proper Credit !

Thanks !
[P8lite Android Development] pawelik001:
How to do this? :D

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] DarkJoker360:
So, It will fix only youtube videos? Or also camera stock recording?
[P8lite Android Development] surdu_petru:
Basically you should add only system/lib64/lib_k3_*.so from stock EMUI to your custom ROM, because the rest of blobs are already added by me, but I forgot to add blobs for 64bit :)

No, Camera recording is not so easy to fix, you can add all the stock EMUI blobs, it will never works !

Now, as almost all issues are fixed, I'll work on camera video recording at the same time with Oreo :)
[P8lite Android Development] Mirdeusz:
Can someone please upload lib_k3_*.so?

Wysłane z mojego CHM-U01 przy użyciu Tapatalka
[P8lite Android Development] pawelik001:
Same :)

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] DarkJoker360:
I already done it... But you ignored me at july
[P8lite Android Development] xander33:
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 ;)
[P8lite Android Development] surdu_petru:
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 [MENTION=4883214]haky 86[/MENTION] 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 )
[P8lite Android Development] pawelik001:
I noticed that. 720p60 fix is not working for me, but Xander fix about unresponsive is working :)

Wysłane z mojego ALE-L21 przy użyciu Tapatalka

//never mind... I added the lib files for EMUI to lib folder in RROS, instead of lib64 files [emoji14]
[P8lite Android Development] GuBaghalukuni:
It says

E: unknown command [ ] ]
[P8lite Android Development] xander33:
Thank you too for your great job!!!

You provide to all of us such a great rom!!!

Proud to give you an help to solve a bug
[P8lite Android Development] pawelik001:
I copied the files from stock EMUI lib64 folder to RROS lib64 folder and still lagging.

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] surdu_petru:
Adding all libraries lib_k3_*.so to system/lib/ & system/lib64/ and also system/etc/hisi_omx.cfg it's not enough , as already [MENTION=4883214]haky 86[/MENTION] tried ... and is not working , you need more than that - :)

Anyway, all the OpenKirin ROMs will be updated, so you should not worry !

EDIT :

My source code on github, include this fix ! So if someone will compiles after my code will have this issue solved !

You should not worry about this, it's OK !
[P8lite Android Development] pawelik001:
Thanks! :D

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[P8lite Android Development] haky 86:
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.
[P8lite Android Development] miststudent2011:
Ignore it it's a common error.

Is sim detected on your device?

Is baseband version showing in settings and build prop?
[P8lite Android Development] jsbeyond:
[MENTION=2335078]surdu_petru[/MENTION]

i want to build candy nougat for my phone(ALE_TLOO),May i use this?thanks!

https://github.com/OpenKirin/android_device_huawei_alice/tree/7.x

https://github.com/OpenKirin/android_vendor_huawei_alice/tree/7.x

https://github.com/OpenKirin/android_kernel_huawei_hi6210sft/tree/7.x
[P8lite Android Development] ksrt12:
[MENTION=2335078]surdu_petru[/MENTION]

you need add libstagefrighthw.so too, but it doesn't work

this library connects our k3_omx libs and stagefright framework

I don't know why it doesn't want to register OMX.k3.video.encoder.avc

LOG: GITS.GITHUB
[P8lite Android Development] YowPa:
It fixed proximity for me, now works as it should
[P8lite Android Development] surdu_petru:
Yes I know but I forgot to add, I'll make new tests later when I'll be at home. Thanks !
[P8lite Android Development] Kostyan_nsk:
Because of

12-01 10:33:49.383 2586 2586 E OSLibraryInterface: fail to load [lib_k3_omx_avcenc.so][error: No such file or directory]
[P8lite Android Development] ksrt12:
But this file exist! If I write full path to this file, I got this error again. I rename this lib, but nothing has changed
[P8lite Android Development] ksrt12:
Screenshot
[P8lite Android Development] surdu_petru:
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 !
[P8lite Android Development] ksrt12:
[MENTION=2335078]surdu_petru[/MENTION]

Could you share your libwvm.so 64bit (I have only 32 bit this lib)
[P8lite Android Development] Kostyan_nsk:
HW codecs doesn't depend of widevine drm module, so it's not required for them.
[P8lite Android Development] Crockodyle:
Does anyone have a problem with Bluetooth music, when you turn the screen on while playing music the music will 'skip' and get faster?
[P8lite Android Development] surdu_petru:
Its only 32bit !

I didn't know, thanks !
[P8lite Android Development] haky 86:
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
[P8lite Android Development] surdu_petru:
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 !
[P8lite Android Development] haky 86:
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.

/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

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. :)
[P8lite Android Development] ksrt12:
[MENTION=5937183]haky[/MENTION]86

No changes. I've tried this before - as well no changes
[P8lite Android Development] haky 86:
me too, that what I want to said, those codes are configured to works only with emui! :cool:
[P8lite Android Development] Kostyan_nsk:
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. ;)

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".
[P8lite Android Development] haky 86:
it's like hwcomposer components, you cannot fix proprietary libs without proper source code/patches.

"I hope after that you will clearly understand" :cool:

P.S:I cannot test any fix for ALE-L21, I switch to PRA-LX1 (P8 Lite 2017) works.
[P8lite Android Development] K4CZP3R:
Can't pair with miband (Bluetooth 4)
[P8lite Android Development] -CozMyN-:
Sim not detected
[P8lite Android Development] surdu_petru:
Source for "device tree" Android N already pushed on github !
[P8lite Android Development] haky 86:
Good!

if will fix bluetooth on slim 7, I can test a build for ale-l21. I already done first build for pra-lx1. :o
[P8lite Android Development] xtrs84zk:
Recently got a Go Plus, but can't get it to connect. On a friend's phone (Moto G4), it connected without troubles.

Is it because of the rom or the device is not supported on P8 lite? Can i send some sort of logcat?

Thanks.
[P8lite Android Development] Dylaan01:
You can try in stock emui, and will see whos the problem, i think is the device,i cant connect in my car :/
[P8lite Android Development] jsbeyond:
Build candyroms 7.1.2 used your device/kernel tree.thanks!thanks!
[P8lite Android Development] jsbeyond:
Screenshot
[P8lite Android Development] xtrs84zk:
Tried on stock, nothing happened; after some digging, the go plus uses Bluetooth LE and I thought that it was the way, but P8 lite already has BT LE support... It's so frustrating. :confused:

I use a bluetooth headset and it works well...
[P8lite Android Development] Crockodyle:
For me every Bluetooth device works fine, except in my mums car, where Bluetooth music skips while the screen is on
[P8lite Android Development] 101Lahom:
Since i flash this custom rom

my battery charging animation has been changed in a ugly animation

when i turn off my p8 lite then i charge it, lt seems it changed the animation

why is that happened? :confused:

and how to get it back?

sorry for my poor grammar
[P8lite Android Development] K4CZP3R:
Battery charging animation is in kernel (afaik) you can edit it yourself
[P8lite Android Development] Crockodyle:
Off mode charging doesn't work right, it'll charge and 5 minutes later it will boot itself up
[P8lite Android Development] jsbeyond:
Used your tree to build candy has a bug.the pbone cant wakeup if screen off.
[P8lite Android Development] surdu_petru:
Sorry, but all the questions asked by you, the answers have already been given !

So if you want to develop on H8Lite, try to make more research ;)

I can not answer the same question for "n" times, after then someone else who asks the same thing appears because he is not able to look for an answer .

As I already told you ( this is last time for all users with questions about developmnt ) you canno't fix some issues into "device tree" & "vendor/blobs" - you need also to edit/modified some parts of android source code to fix them - and those stuff can't be added on "device tree" or "vendor" !

I already released source code for Android N, branch 7.x - so 90% of the job was done by me - Now the rest of the issues can be fixble only if you have ability to search and learn new stuff ( some of the fixes are already on xda, github or google - but because they can not be added to the source code Android N - you have to implement them yourself )

BTW, good luck :)

EDIT :

Please, no more questions about development, I already released the source - so please stop spam the thread about development stuff ( future questions will be ignored )

Here we should talk about RROS environment, thanks for understanding !
[P8lite Android Development] jsbeyond:
ok,thanks