-
@Keneda Hey, do you know what category I can say the problems my camera has in UT?
-
@Sota4Ever_k
If this is a problem for making it work in your port I guess you can ask for help here or in telegram UBports porting group. -
@Keneda okay boy
-
@Sota4Ever_k
I'm not quite a "boy" since I passed that stage almost 40 years ago... -
@Keneda Okay, but I'm going to put the logs that the camera gives me when I want to take a photo.
Can I put the other topic? -
@Sota4Ever_k
You can put it here as it is for your port debugging effort.Just use the code tag :
Place text between 6 of those signs : ` Three on top, three on bottom, or use the editor button : </> then paste log in between
-
@Keneda It's going to be long, can I send it as a file?
-
I will assume that those who read will not understand much of what I am going to say, about the process that the camera will do until the moment it gets stuck. But well...
When I open the camera and when I take a photo it gets stuck, and assuming that I have to check in logcat or dmesg and there is this what happens to me:sudo lxc-attach -n android -- /system/bin/logcat -c && sudo lxc-attach -n android -- /system/bin/logcat > > stuck-camera-log.log
It's very long, I'm going to put what NotKit mentioned to me:
TheKit:
from here, it seems like it did finish capturing the frame and even encoded it to JPEG:10-04 00:09:23.592 184 3217 I ExynosCameraSec: [CAM(0)][Back_0]-(m_captureStreamThreadFunc[25888]):[F61 T4]YUV capture done. entityID 227, FrameState(0) (227) 10-04 00:09:23.592 184 3217 I ExynosCameraSec: [CAM(0)][Back_0]-(m_handleJpegFrame[25748]):Jpeg output done, jpeg size(2128085) 10-04 00:09:23.592 184 3217 I ExynosCamera: [CAM(0)][Back_0]-(m_sendJpegStreamResult[3234]):Set JPEG result Done. streamId 3, frameCount 61 10-04 00:09:23.592 184 3217 I ExynosCameraSec: [CAM(0)][Back_0]-(m_captureStreamThreadFunc[27795]):frame complete. framecount 61, frameType 4, pipeId(227)
TheKit:
and then10-04 00:09:23.643 184 3194 W ExynosCameraMCPipe: [CAM(0)][PIPE_ISP]-(m_getBuffer[2303]):HAL(54, 54, pbt(1) size(0)) requestFrameQ wait timeout,Duration(1),LogCnt(6) FrameQ_size(0, 0) 10-04 00:09:23.702 184 3201 E ExynosCamera: [CAM(0)][Back_0]-(m_monitorThreadFunc[9685]):Sensor PIPE ID(6) ESD Detected. pipeCountRenew(16), lastMipiErr(0x0)
Why wasn't it saved?
-
@Sota4Ever_k I would like to send the files to show more information, but it won't let me
-
@Sota4Ever_k
If you use code tag, it'll be not, it is intended for that. -
Hi @Sota4Ever_k
You can also give a link to a pad or pastebin with the full log file...
-
-
@Sota4Ever_k And another thing, I was also able to take a photo, but I had to take the photo quickly when I entered the camera.
https://gist.github.com/Sota4Ever/6a46c34800e5e0c9e35ecc38c91ab090#file-quickly-camera-log-log -
@Sota4Ever_k It is impossible for a human to read and understand everything I have written.
-
This post is deleted! -
This post is deleted! -
@AppLee Well I think I know why it can't take a photo, it's because it reached the buffer limits.
-
Hi @Sota4Ever_k
That's progress.
But sadly I never ported Ubuntu Touch to a device, so I'm not able to help you with it.
Have you tried to follow Keneda's suggestion and join the porting group on Telegram? -
@AppLee I believe OP is already in the porter's group. They hit an obstacle with their port that has them stuck, but it seems very device specific, or else difficult to diagnose without having the port in front of you, so the suggestions of the other porters have not led to any breakthrough.
-
@arubislander Yes, I'm stuck
And I'm also still stuck that sometimes I can't connect to the internet when I restart the device● NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2024-09-29 12:00:03 -05; 1min 55s ago Docs: man:NetworkManager(8) Main PID: 4342 (NetworkManager) Tasks: 3 (limit: 5560) Memory: 3.4M CGroup: /system.slice/NetworkManager.service └─4342 /usr/sbin/NetworkManager --no-daemon sep 29 12:00:15 ubuntu-phablet NetworkManager[4342]: <info> [1727629215.9285] device (p2p-dev-swlan0): supplicant management interface state: 4way_handshake -> disconnected sep 29 12:00:16 ubuntu-phablet NetworkManager[4342]: <info> [1727629216.0273] device (swlan0): supplicant interface state: disconnected -> scanning sep 29 12:00:16 ubuntu-phablet NetworkManager[4342]: <info> [1727629216.0274] device (p2p-dev-swlan0): supplicant management interface state: disconnected -> scanning sep 29 12:00:18 ubuntu-phablet NetworkManager[4342]: <warn> [1727629218.5755] device (swlan0): no secrets: No agents were available for this request. sep 29 12:00:18 ubuntu-phablet NetworkManager[4342]: <info> [1727629218.5756] device (swlan0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed') sep 29 12:00:18 ubuntu-phablet NetworkManager[4342]: <info> [1727629218.5759] manager: NetworkManager state is now DISCONNECTED sep 29 12:00:18 ubuntu-phablet NetworkManager[4342]: <warn> [1727629218.5761] device (swlan0): Activation: failed for connection '#########' sep 29 12:00:18 ubuntu-phablet NetworkManager[4342]: <info> [1727629218.5765] device (swlan0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') sep 29 12:00:19 ubuntu-phablet NetworkManager[4342]: <info> [1727629219.6213] device (swlan0): supplicant interface state: scanning -> disconnected sep 29 12:00:19 ubuntu-phablet NetworkManager[4342]: <info> [1727629219.6213] device (p2p-dev-swlan0): supplicant management interface state: scanning -> disconnected