00:02
moeter8 has quit [Ping timeout: 240 seconds]
00:05
moeter8 has joined #huawei-g300
00:11
moeter8 has quit [Ping timeout: 246 seconds]
00:15
moeter8 has joined #huawei-g300
00:22
moeter8 has quit [Ping timeout: 255 seconds]
00:26
moeter8 has joined #huawei-g300
00:32
moeter8 has quit [Ping timeout: 245 seconds]
00:36
moeter8 has joined #huawei-g300
00:42
moeter8 has quit [Ping timeout: 245 seconds]
00:46
moeter8 has joined #huawei-g300
00:52
moeter8 has quit [Ping timeout: 256 seconds]
00:54
tilal6991 has joined #huawei-g300
00:56
moeter8 has joined #huawei-g300
01:02
moeter8 has quit [Ping timeout: 246 seconds]
01:06
moeter8 has joined #huawei-g300
01:12
moeter8 has quit [Ping timeout: 245 seconds]
01:16
moeter8 has joined #huawei-g300
01:22
moeter8 has quit [Ping timeout: 246 seconds]
01:26
moeter8 has joined #huawei-g300
01:40
moeter8 has quit [Ping timeout: 264 seconds]
01:46
moeter8 has joined #huawei-g300
02:11
moeter8 has quit [Ping timeout: 256 seconds]
02:15
moeter8 has joined #huawei-g300
02:43
moeter8 has quit [Ping timeout: 245 seconds]
02:47
moeter8 has joined #huawei-g300
03:03
moeter8 has quit [Ping timeout: 240 seconds]
03:07
moeter8 has joined #huawei-g300
03:21
moeter8 has quit [Ping timeout: 244 seconds]
03:25
moeter8 has joined #huawei-g300
03:39
Kirmaniarslan has joined #huawei-g300
03:41
Kirmaniarslan has quit [Client Quit]
06:54
Solitary has joined #huawei-g300
07:27
DeveloperDutch has joined #huawei-g300
07:30
DeveloperDutch has quit [Client Quit]
08:18
Shadowghoster has joined #huawei-g300
09:46
Xeo has joined #huawei-g300
09:55
<
Dazzozo >
oh god this thread again
09:56
<
Dazzozo >
please just forget it exists
09:56
<
Dazzozo >
theyre not releasing drivers because the fucking platform is EOL
09:56
<
Dazzozo >
do manufacturers release drivers for Windows 98?
09:56
<
Xeo >
sorry.... but i hate them..... :(
09:56
<
Dazzozo >
you hate the wrong people
09:56
<
Dazzozo >
hate yourself for buying a shit phone
09:56
fonz93 has joined #huawei-g300
09:57
<
Xeo >
you are right Daz.
09:57
<
Dazzozo >
they did literally nothing wrong here, they supported those platforms way beyond what they should've been
09:58
<
Dazzozo >
honestly im stunned they took msm7k stuff (though 7x27a isnt really "true" 7k) to ics
09:58
<
Dazzozo >
this tech is from like 2009, why do u keep buying
09:59
<
Xeo >
I dont wana buy ICS
10:00
<
Xeo >
Knowledge is way far to local public...
10:11
Xeo has joined #huawei-g300
10:13
<
Dazzozo >
fonz93: "possible"?
10:14
<
fonz93 >
i know almost nothing about java code
10:14
<
fonz93 >
why is smaller?
10:15
<
Dazzozo >
read up on inheritance
10:17
<
fonz93 >
the import lines?
10:17
<
Dazzozo >
class X extends Y
10:19
<
Dazzozo >
dealing with the telephony api isnt too difficult, it helps if youve been around for a while though
10:19
<
Dazzozo >
because you can just see what they changed in each android release
10:20
<
fonz93 >
the Y in this case it's "RIL"?
10:20
<
fonz93 >
it's coming from the source then?
10:21
<
Dazzozo >
well, two were removed
10:21
<
Dazzozo >
the old HuaweiQualcommRIL inherited QualcommSharedRIL, which inherited RIL
10:21
<
Dazzozo >
this new "HuaweiRIL" inherits RIL
10:21
<
fonz93 >
then it does the same thing
10:22
<
Dazzozo >
not necessarily
10:22
<
Dazzozo >
you need to actually understand the concept of inheritance
10:22
luca020400 has joined #huawei-g300
10:29
DeveloperDutch has joined #huawei-g300
10:29
<
DeveloperDutch >
Hello everyone
10:29
<
luca020400 >
HI everyone ^^
10:31
<
Xeo >
Hello everyone
10:57
Xeo has joined #huawei-g300
12:08
DeveloperDutch has quit [Ping timeout: 246 seconds]
12:13
Solitary has quit [Remote host closed the connection]
12:13
Solitary has joined #huawei-g300
12:33
Weritos has joined #huawei-g300
12:36
<
Weritos >
I need your help on the camera platform mam8625 (CM11)
12:39
Solitary has quit [Remote host closed the connection]
12:40
Solitary has joined #huawei-g300
12:44
Weritos has joined #huawei-g300
12:52
<
Weritos >
Dazzozo,You helped to repair the camera on your smartphone LA-M1
12:52
<
Weritos >
I have a smartphone with 2 cores instead of 4 (LA-M1), and the camera is also 8 megapixels.
13:15
fonz93 has quit [Quit: Leaving]
13:20
<
luca020400 >
use prebuilt one
13:21
<
Weritos >
If use of the STOCK firmware library and not loaded
13:22
<
luca020400 >
you need proper libs for get it working ofc
13:22
<
Weritos >
What is it?
13:23
<
luca020400 >
libmmcamera libmmcamera2 and chromatix ( if exist )
13:23
<
luca020400 >
*libchromaticx
13:24
<
Weritos >
Yes it is, I used the native libraries, but they are not loaded.
13:24
<
Weritos >
That's what the path of lib /hw, in the log says the library is not loaded
13:24
<
luca020400 >
logcat ..
13:24
<
luca020400 >
from boot and opening camera ( if icon appear =
13:29
<
luca020400 >
can you give me only cam crash ?
13:29
<
luca020400 >
np found it
13:32
<
Shadowghoster >
hey luca020400 ^^
13:32
<
Shadowghoster >
My dad bought a new stereo-amplifier - sound is amazing
13:36
<
Weritos >
Log collected from libraries because of STOK there is no log only that the library is not loaded (as I understood from the library 4.1.2 are not compatible with 4.4.4)
13:41
<
luca020400 >
are you using legacy stuff ?
13:44
<
Weritos >
TARGET_QCOM_DISPLAY_VARIANT := legacy
13:49
srfarias has joined #huawei-g300
13:58
srfarias has quit [Quit: Page closed]
14:05
<
Weritos >
There are generally a chance for her job?
14:08
fonz93 has joined #huawei-g300
14:12
<
Weritos >
Here is the log from the native libraries
14:12
<
Weritos >
E/HAL ( 131): load: module=/system/lib/hw/camera.msm7x27a.so
14:12
<
Weritos >
E/HAL ( 131): dlopen failed: cannot locate symbol "cam_ops_stop" referenced by "camera.msm7x27a.so"...
14:12
<
Weritos >
E/CameraService( 131): Could not load camera HAL module
14:13
<
fonz93 >
your source?
14:15
<
Weritos >
I have a smartphone with 2 cores instead of 4 (LA-M1), and the camera is also 8 megapixels.
14:17
<
fonz93 >
look at line 371 in camera/QCameraHAL.h
14:18
<
fonz93 >
at camera/QCameraHWI.cpp
14:23
Flea997 has joined #huawei-g300
15:00
<
Weritos >
fonz93,What to look for?
15:01
<
fonz93 >
in that lineyou can find "cam_ops_stop"
15:01
<
fonz93 >
try to delete it and build again
15:02
<
Weritos >
And clearly, this issue of library firmware STOCK
15:02
<
Weritos >
But that is compiled from source, here the log
15:03
DeveloperDutch has joined #huawei-g300
15:09
<
Weritos >
fonz93,I found correspondence on the Internet
15:09
<
Weritos >
cybojenix which part? 16:47:23
15:09
<
Weritos >
Dazzozo there's one call in mctl_send_ctrl_cmd_done 16:47:42
15:09
<
Weritos >
Dazzozo and another in something else, I forgot 16:47:49
15:09
<
Weritos >
Dazzozo if you solve the first one you'll hit the second 16:48:00
15:09
<
Weritos >
Dazzozo i have a diff 16:48:54
15:09
<
Weritos >
Dazzozo it obv wont apply for you but if you apply it to our liboemcamera you could probably see the change 16:49:06
15:09
<
Weritos >
Dazzozo liboemcamera.so 16:49:27
15:09
<
Weritos >
Dazzozo 0004D286: 59 0B 16:49:27
15:09
<
Weritos >
Dazzozo 0004D287: B1 E0 16:49:27
15:09
<
Weritos >
Dazzozo 0004FC24: 32 06 16:49:27
15:09
<
Weritos >
Dazzozo 0004FC25: B1 E0 16:49:28
15:09
<
Weritos >
Dazzozo i dont have ours pushed to git yet tho 16:50:28
15:09
<
Weritos >
Dazzozo hang on
15:10
<
Weritos >
What's going on? =)
15:21
<
Weritos >
The assembly has just ended, working flashlight, but the camera does not work = (
15:21
<
Weritos >
Sources used camera msm7x27a
15:32
<
Weritos >
I/DEBUG ( 126): #01 pc 0004c7bd /system/lib/liboemcamera.so (mctl_send_ctrl_cmd_done+28)
15:32
<
Weritos >
I/DEBUG ( 126): #02 pc 0005100b /system/lib/liboemcamera.so (mctl_proc_v4l2_request+1866)
15:32
<
Weritos >
I/DEBUG ( 126): #03 pc 0004c98b /system/lib/liboemcamera.so
15:36
<
Weritos >
E/mm-libcamera2( 132): mm_camera_open: cannot get camera capabilities
15:36
<
Weritos >
E/mm-camera( 3243): qcamsvr_find_mctl_inst: no match for mctl_id = 0
15:36
<
Weritos >
E/mm-camera( 3243): qcamsvr_process_server_node_event: MSM_V4L2_CLOSE - cannot find mctl, mctl_id = 0
15:42
<
Flea997 >
i'll be back
15:42
Flea997 has quit [Quit: Leaving]
16:02
Flea997 has joined #huawei-g300
16:03
<
Weritos >
Can you help with the camera?
16:07
<
fonz93 >
unfortunately i don't know how to help you
16:23
DeveloperDutch has quit [Ping timeout: 246 seconds]
16:40
nick____ has joined #huawei-g300
16:55
nick____ has quit [Ping timeout: 246 seconds]
17:02
Ale has joined #huawei-g300
17:04
<
Weritos >
Dazzozo,Only you can help me ...
17:05
Flea997 has quit [Ping timeout: 250 seconds]
17:09
fonz93 has quit [Quit: Leaving]
17:20
Solitary has quit [Remote host closed the connection]
17:52
<
Dazzozo >
lol GL with that bug
17:54
<
Dazzozo >
i solved that for us in like 2013
17:54
<
Dazzozo >
most under appreciated bug fix ever
17:55
<
Dazzozo >
you pissing about with libcamera isnt going to help, the issue is in liboemcamera if it IS the issue you pasted above
17:56
<
Weritos >
Can you help me? I have six months torturing camera
17:56
<
Dazzozo >
i cant really *help*, its something youre going to need to do yourself for your lib
17:57
<
Weritos >
What to do ??
17:57
<
Dazzozo >
the chat you found above is already good pointers
17:57
<
Dazzozo >
you have to hex edit 2 calls in liboemcamera
17:57
<
Dazzozo >
i think they were branch link calls
17:57
<
Dazzozo >
but i cant remember
17:58
<
Dazzozo >
your best bet is disassembling our unfixed and fixed lib to see where the difference was
17:58
<
Dazzozo >
and apply that knowledge to your own lib
17:58
<
Dazzozo >
ill get the commits
17:59
<
Dazzozo >
wherever i fucking put it
18:00
<
Weritos >
Yes, I looked, but they are different, I did not see where it was edited
18:00
<
Weritos >
Yes, I compared them but did not see the difference = (
18:01
<
Dazzozo >
you need to compare
*our* old one and
*our* new one
18:01
<
Dazzozo >
and you should see a few bytes difference
18:01
<
Dazzozo >
where the opcodes were changed
18:01
<
Dazzozo >
then, load them up in a disassembler so you can see
*what* actually changed and apply that to your lib
18:02
<
Weritos >
Where can I get the "old" library?
18:03
<
Dazzozo >
im trying to find it now
18:03
<
Dazzozo >
apparently i didnt commit the old one though i remember telling myself to do so for clarity
18:03
<
Dazzozo >
but whatever
18:05
<
Weritos >
Out of stock firmware can take it?
18:05
<
Dazzozo >
our stock firmware, yeah
18:06
<
Dazzozo >
dont think we had stock 4.1.2
18:06
<
Dazzozo >
we had stock 4.1.1 lol
18:07
<
Dazzozo >
im grabbing the stock rom now
18:11
<
Weritos >
You can look at my library? I was-would be grateful ..
18:11
<
Weritos >
I understand that you did long ago, but still ...
18:12
<
Dazzozo >
im not going to look at your lib, period
18:12
<
Dazzozo >
you have to do the work
18:13
<
Weritos >
If you like to know what else to edit ..
18:13
<
Weritos >
What is the "old" library to compare?
18:14
<
Dazzozo >
IM TRYING TO GET IT
18:14
<
Dazzozo >
but chrome is cancer
18:14
<
Dazzozo >
and i uninstalled it
18:24
<
Dazzozo >
okay i have both libs
18:24
<
Dazzozo >
ill throw them up somewhere
18:28
<
Weritos >
downloaded
18:28
<
Weritos >
A simple words because of what the camera does not work?
18:29
<
Dazzozo >
i cant remember the technical details
18:29
<
Dazzozo >
it was like 2 years ago
18:31
<
Dazzozo >
about all i can remember is some branch happens which results in a segfault
18:31
<
Dazzozo >
but if you hex compare those, you should find about 4 bytes difference
18:32
<
Dazzozo >
thats not very useful by itself, you'll need to load it up in a disassembler to find out what is actually changing on an assembly level
18:32
<
Dazzozo >
and then load up your own lib and reproduce that change
18:32
<
Dazzozo >
then stick that on the device and it should be ready to go
18:34
<
Weritos >
Thank you, I'm going to try
18:38
Shadowghoster has quit [Quit: So das wars für den Moment,... aber ich komme wieder!]
18:44
Shadowghoster has joined #huawei-g300
18:45
Ale has quit [Quit: Leaving]
18:54
Weritos has joined #huawei-g300
19:19
<
Weritos >
Created diff patch through IDA how to apply it to the library?
19:20
<
Weritos >
This difference file has been created by IDA Pro
19:20
<
Weritos >
liboemcamera.so
19:20
<
Weritos >
0004C7B0: 32 06
19:20
<
Weritos >
0004C7B1: B1 E0
19:20
<
Weritos >
0004DE1E: 59 0B
19:20
<
Weritos >
0004DE1F: B1 E0
19:41
DeveloperDutch has joined #huawei-g300
19:44
DeveloperDutch has left #huawei-g300 [#huawei-g300]
19:51
<
Weritos >
Dazzozo,What's it for? I do not understand
19:51
<
Dazzozo >
youre asking how to apply the diff, heres a tool for applying the diff
19:51
<
Dazzozo >
any tool will do, or you can basically apply it by hand, its not exactly an incomprehensible format
19:52
<
Dazzozo >
its <offset>: <old_byte> <new_byte>
19:55
<
Dazzozo >
i mean it is only a 4 byte change
19:55
<
luca020400 >
I start to hate git
19:56
<
rymate1234 >
git is awesome
19:56
<
luca020400 >
it take ages to fork a kernel :/
19:57
<
Dazzozo >
i dont think you realise quite how big a kernel with proper history is
19:57
<
rymate1234 >
kernels aren't exactly small
19:57
<
luca020400 >
This repository is temporarily unavailable.
19:57
<
luca020400 >
The backend storage is temporarily offline. Usually this means the storage server is undergoing maintenance. Please contact support if the problem persists.
19:57
<
luca020400 >
Check our status site for updates
19:57
<
Dazzozo >
and thats github's fuck up
19:57
<
rymate1234 >
well that isn't the fault of git
19:57
<
luca020400 >
the 3rd time it happen
19:59
<
luca020400 >
now it worked
19:59
<
luca020400 >
finally
20:01
DeveloperDutch has joined #huawei-g300
20:07
<
Dazzozo >
luca020400: you showed me this earlier
20:07
<
luca020400 >
hmm I don't thin kso
20:07
<
Dazzozo >
you did, we talked about it
20:08
<
luca020400 >
it was fonz93 lol
20:09
<
luca020400 >
Anyway I shoudl read irclog
20:10
<
DeveloperDutch >
Yes it was fonz
20:11
<
DeveloperDutch >
Anyone knows why you can't find organization repo's in github search?
20:12
luca020400 has quit [Quit: Leaving]
20:17
Hamed033 has joined #huawei-g300
20:32
<
Weritos >
Dazzozo, ll done, now writes chamber opens, click on the focus and closes with an error = (
20:45
Hamed033 has left #huawei-g300 [#huawei-g300]
20:51
DeveloperDutch has quit [Ping timeout: 246 seconds]
21:16
<
Weritos >
The camera works!
21:16
<
Weritos >
Dazzozzo thank you so much!
21:22
<
Dazzozo >
Weritos: np
21:31
<
Weritos >
A front camera, can somehow fix it?
21:31
<
Weritos >
Even there is no switch
22:17
Shadowghoster is now known as Ghost|afk
22:32
luca020400 has joined #huawei-g300
22:37
luca020400 has quit [Client Quit]
22:43
luca020400 has joined #huawei-g300
22:44
<
luca020400 >
Motorola released unified kernel
22:44
<
luca020400 >
Moto e g x 1st and 2nd gen
22:46
Weritos has joined #huawei-g300
22:46
luca020400 has quit [Read error: Connection reset by peer]