lenovo-Kraft-T / proprietary_vendor_wingtech

lenovo vendor for A6000/plus K30-T
4 stars 15 forks source link

Lenovo K31-t3 Issue #2

Closed TingyiChen closed 7 years ago

TingyiChen commented 7 years ago

Camera doesn't work.Hope to fix it.

dev-harsh1998 commented 7 years ago

@TingyiChen link me to ur device tree

TingyiChen commented 7 years ago

@dev-harsh1998 K31-t3 can flash K30-T's rom,but it seems that there isn't some camera drivers.I can only give you the offical rom of k31-t3.

dev-harsh1998 commented 7 years ago

give link i will make patch

dev-harsh1998 commented 7 years ago

according to your rom :+1:

TingyiChen commented 7 years ago

Please wait for about 15 minutes,I will give you the latest offical rom.But the offical rom's version is 5.0.2 and it's 32bit.I am afraid that we can't get the drivers we needed.

dev-harsh1998 commented 7 years ago

Not official rom cm rom

dev-harsh1998 commented 7 years ago

give me the link of cm rom you built i will give you the patch for it i dont need the official rom

TingyiChen commented 7 years ago

http://pan.baidu.com/s/1o8plIOE This is the rom,but it's not built by me.I am working out of it.Thanks

dev-harsh1998 commented 7 years ago

Ok flash this zip in the recovery i have modded some libs from the stock rom this should fix the bug now test it and report weather camera is working fine after it ?

TingyiChen commented 7 years ago

ok

dev-harsh1998 commented 7 years ago

i am uploading, Flash the zip over rom .if it works then i will update the vendor file aswell

TingyiChen commented 7 years ago

ok.I am building cm14 now.Thanks.

dev-harsh1998 commented 7 years ago

http://tx2.androidfilehost.com/dl/sHLi5PheaolEs3-4tMQpTQ/1475637196/24651429356503403/cm13patch1.zip

^^^ DOWNLOAD FROM HERE ^^^

dev-harsh1998 commented 7 years ago

it will fix camera on your sabermod rom :)

TingyiChen commented 7 years ago

ok.i am downloading.

TingyiChen commented 7 years ago

I flashed it.Now it's booting.

dev-harsh1998 commented 7 years ago

Cam Fixed ?

TingyiChen commented 7 years ago

Yes.But the original camera disappeared.

dev-harsh1998 commented 7 years ago

So issue gone now Actually k30 has problem with new m blobs which are fixed by these so is your bug Done ?

TingyiChen commented 7 years ago

Yes.But I can only use third-party camera app now.This is the only problem now.

dev-harsh1998 commented 7 years ago

i will fix this too current issue was to solve your camera not work once you are done with cm 14 link the cm c14 rom to me i will make stock N blobs that will fix the stock cm14 cam :) once you are done with cm14 ping me

TingyiChen commented 7 years ago

ok.but maybe i can't finish it...But i will try my best.:)

dev-harsh1998 commented 7 years ago

@TingyiChen Listen Use my kernel for android n other kernel not work

dev-harsh1998 commented 7 years ago

https://github.com/dev-harsh1998/android-kernel-wingtech-wt86518

LINK BUT BE SURE TO GIVE PROPER CREDITS

TingyiChen commented 7 years ago

ok.tks.and btw,I created a pr.

dev-harsh1998 commented 7 years ago

wait i am uploading new Ril Blobs wait sync after15mins

TingyiChen commented 7 years ago

ok

dev-harsh1998 commented 7 years ago

Now Sync :) Its done @TingyiChen Be sure to ping me when needed you can contact me on telegram @dev_harsh1998 is my username on telegram messaging app

TingyiChen commented 7 years ago

ok

TingyiChen commented 7 years ago

@dev-harsh1998 Hey,Harsh.I can't use telegram in China,so I have to send message to you here.I found another bug:the microphone is unavailable.I try to fix it but failed.Hope you can help me.Tks.

dev-harsh1998 commented 7 years ago

Whats the issue dear please explain

TingyiChen commented 7 years ago

For example,i am calling my mother.When i tell,she can't hear what i said

TingyiChen commented 7 years ago

It seems that the microphone doesn't work.

dev-harsh1998 commented 7 years ago

ohk I see Microphone Fails to forward voice in which rom btw sudamod or CM14 ?

TingyiChen commented 7 years ago

SudaMod

TingyiChen commented 7 years ago

Not CM14

dev-harsh1998 commented 7 years ago

hmm Gimme time I will try to aggrange a possible fix as soon as possible

TingyiChen commented 7 years ago

ok.tks.I am compiling cm13 and twrp now

dev-harsh1998 commented 7 years ago

Once you are done with your Cm13 build please link it to me

TingyiChen commented 7 years ago

ok.but this afternoon,i tried to build but an error occured.

TingyiChen commented 7 years ago

i don't know if i can build successfully

dev-harsh1998 commented 7 years ago

@TingyiChen Copy

libacdb-fts.so libacdbloader.so libacdbrtac.so

From stock vendor Replace in your Rom

TingyiChen commented 7 years ago

rebooting.wait a minute

TingyiChen commented 7 years ago

it still doesn't work

TingyiChen commented 7 years ago

maybe i should replace libacdbmapper.so?

TingyiChen commented 7 years ago

@dev-harsh1998

dev-harsh1998 commented 7 years ago

yes and dont forget to Set correct permissions otherwise it wont work

TingyiChen commented 7 years ago

i have set.but it still don't work

TingyiChen commented 7 years ago

btw,i compiled a twrp recovery,but it can't mount partitions,i think its the problem of fstab.can you help me?here is the tree : https://github.com/TingyiChen/android_device_lenovo_msm8916-twrp

dev-harsh1998 commented 7 years ago

@TingyiChen Copy

libacdb-fts.so libacdbloader.so libacdbrtac.so libacdbmapper.so

Copy From Stock rom to vendor/lib on your sudamod rom and set permissions 0644 or rw-r-r & reboot