yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 4 Original Android Development] marrei1964:
Issue with camera app, taking fotos...

I updated my milletlte T-335 Tab4 8.0 LTE (german/european?) in springtime 2020 with your 16.0 ROM, and was (or: i am...) very happy. Except that lately (early October...) I detected that the photo /camera features are not working.

I started with the April version, and later updated to 20200913, which is my actual installation, When trying to debug the camera feature, i also downgraded to several versions of 2020. No success.

To be honest, I did not check the camera before the lineageos update (with the latest stock rom) and I did not check every 16.0 version until October. The camera of our Tab4 is not sooo performant... if it remains defective, I will easily live with it... but i think it is a software problem.

Before I deleted the foto destination folder, i found quite old pictures from late 2018, after the battery replacement, using stock rom in those days. So the camera was working earlier...! Today, the folder gets re-created when taking fotos... but remains empty.

I don't think that the device itself is defective physically, I did never stress or even toss it.

Switching from back/main to from camera crashes the camera app, and taking fotos with the back camera crashes or freezes the camera app.

The camera app's storage destination is the internal sd (DCIM), and when changing to external sd, the folder is created, but remains empty, even after "taking fotos" (unsuccessfully).

If no-one else can reproduce the issue, that might be a particular problem in my device, and I would be interested in help from more experienced users out there. But for me, it is a low-priority issue ... just curious if someone can check his/her device, and confirm, or help from experience, ...

I also tried additional foto apps, but they show basically the same issues.

The back camera shows online pictures, but does not store any fotos.

If you can reproduce the situation or can help me/us with this problem, you are welcome...

but even if my problem does not get a solution, I appreciate VERY MUCH your work and will use the benefits of a modern rom, even without camera!!

THANK YOU!

Martin
[Galaxy Tab 4 Original Android Development] matteo0026:
Hi Martin,

Did you try latest November build? If yes, does it have the same behaviour? I know that the October build has been built not very well, giving some issues, but November one is good, as I've heard from some feedbacks.

Another thing: can you tell me your bootloader version? To check it, download this app, go to firmware tab and report me the version of the bootloader. Just to be sure that you are in one of latest releases.

About camera quality, I can't do really anything. Device is old and to have these ROMs, everyone must accept some compromises. But, what is fixable, I try to fix it, of course, as I did with a lot of other big and little issues
[Galaxy Tab 4 Original Android Development] comuninja:
Thank you for the ROM! I am really happy to be able to use this old tablet, that was very slow with the Official ROM. Some issues I had:

- I can confirm (same as marrei1964), that the camera is not working. Issue seems very similar (taking photos with front camera or switching freezes camera app).

- Trust - System security complains that the build was signed with public keys

- I do not know if a feature or a bug, but when clicking aeroplane mode, the phone goes into sepia mode (warmer colors in screen). Disabling aeroplane mode does not return it to white.

- Minor: When first booting I had the icon of contacts twice on the lower bar.

- Minor: When opening a youtube video (using the web) in vertical mode and fullscreen, when rotating to horizontal mode the video does not fill the screen (stays at the size it had in vertical mode)

My device and versions:

Device: SM-T330 / milletwifi

Recovery: twrp-3.4.0-4-millet.img

Bootloader version T330XXS1BRI2

Kernel version 3.4.113-g7423411ccae 32-bit

ROM: lineage-16.0-20201107-UNOFFICIAL-milletwifi.zip from folder "Milletwifi SM-T330 - T330NU"

I did not flash any google apps
[Galaxy Tab 4 Original Android Development] matteo0026:
Hi, thanks for your feedback. About camera, I can't test that well because I have a matissewifi, so I can't do all the needed tests in a decent time. Anyway, I could check it out. Can you pull out a logcat after the crash of the camera app?

The notification of the Trust app isn't a problem. It's just because it's an unofficial build, but probably I can fix it by putting a key... I have to check lineage wiki.

Warmer colours are normal if you have enabled LiveDisplay feature for decreasing blue light coming from display. But by putting in aeroplane mode, it doesn't happen nothing of particular.

The issue of the icons in the launcher can't be fixed, it's out of my control.

About the YouTube videos, you can push the button to make in fullsize what are you looking. It's likely a desktop view.

I want to tell another thing... We are having in the hands a device that's 6 years old, I'm not a professional developer, I don't have all the sources in my hands (it's impossible to have them), so custom ROMs can't be perfect and, of course, we will have always some issues.
[Galaxy Tab 4 Original Android Development] comuninja:
This is one: gofile.io/d/fwQOQt

This is another, longer, from boot: gofile.io/d/MYKmE2

If pointed in the right direction, I could maybe help. I have no experience modifying ROMs, but I know how to compile them, and test on my milletwifi.

Yo do not need to apologize: I think it is a great job you are doing.
[Galaxy Tab 4 Original Android Development] J.Michael:
If you open that video in horizontal mode and fullscreen, does it display differently?

Maybe it doesn't change when go from vertical to horizontal because it is preserving the aspect ratio of the video.
[Galaxy Tab 4 Original Android Development] comuninja:
If I open youtube video (in the browser) in horizontal mode, and click in fullscreen while in horizontal, it works as expected (fills the whole screen). If I then rotate to vertical while in full screen, the video keeps its size and does not resize to adapt to the smaller width.
[Galaxy Tab 4 Original Android Development] mrk2815:
matteo , you have done alot for the tablet both 8 and 10 versions. thanks for keepign the tablet alive.
[Galaxy Tab 4 Original Android Development] J.Michael:
Have you tried a couple of browsers?
[Galaxy Tab 4 Original Android Development] mrk2815:
can you post the telegram group here tried searching for it again on telegram and could not find it.unfortunately when i was ttring to unsubscribe from anothe group i mistakenly unsubscribed fro mteh rom group as well. so if you can post hat woudl be very helpful. . .
[Galaxy Tab 4 Original Android Development] matteo0026:
Galaxy_Tab_4 is the username
[Galaxy Tab 4 Original Android Development] mrk2815:
there r some good deals on amazon for SSD drives . hopefully you can grab one and keep on developing . also i am now on telegram on your group. thanks for the info. When you do plan on going to Android 10 LOS 17.1 here to test when you have a build for testing .

---------- Post added at 11:39 AM ---------- Previous post was at 11:38 AM ----------

when los 17.1 is ready , will tst when i se do see builds for the tablet.
[Galaxy Tab 4 Original Android Development] matteo0026:
Probably, I'll release them in half December. And about SSD, my last hope will be in cyber monday, in 2 days. I have to buy it at every cost, even because my main hard disk (not the one where I build ROMs), started to make some strange beeps sometimes
[Galaxy Tab 4 Original Android Development] matteo0026:
Can someone test a build for millet (every variant)? Ping me in PM here or on Telegram.
[Galaxy Tab 4 Original Android Development] Scepterus:
Just managed to install this after the twrp problems, but it won't connect to my wifi, it did on stock. so I thought maybe an update would solve this, so I downloaded the latest update flashed and noticed something weird.

in the target it says matissewifi and my device is matisselte sm-535. i downloaded the right file, still that's what it said. not connecting to the wifi after the update.
[Galaxy Tab 4 Original Android Development] matteo0026:
Ignore that thing about message about target on TWRP. About wifi, a lot of users used this ROM, and nobody seems that had that issue. Check which band are you generating and try to connect to other wifi networks.
[Galaxy Tab 4 Original Android Development] matteo0026:
New build with 2020-12 security patches is online!

Changelog:

- December 2020 security patches

- Removed useless blobs and updated all the other ones from latest stock of matisse/millet and kmini3g

Fixed:

- Email and Print Spooler app crash at starting

- Brightness slider starts to increase brightness at about 60%

- In milletltetmo battery percentage indicator doesn't work

- In millet, front camera doesn't start

As always, builds will come out slowly, so wait yours between tomorrow and Saturday. For now, matissewifi is online.
[Galaxy Tab 4 Original Android Development] Scepterus:
like I said the problem is with hidden networks. normal network like a hotspot from a phone works correctly, but I'm not going to change my home network for one device.

I've seen that it's a problem in other roms as well, now I'm on another rom but android 10, and it's the same problem but at least I can press connect in the saved networks and it connects.
[Galaxy Tab 4 Original Android Development] osmanthegreat:
Hello,

Thanks a lot for your efforts.

I have T532 and have the same problem:

E3004

E: This package is for device: mattise,mattise3g,mattise3gjv; this device is.

E: unkown command [log]

Updater process ended with ERROR: 7

The user is gone I think and I am willing to try too, can you send me the file as well?
[Galaxy Tab 4 Original Android Development] matteo0026:
Ok, I don't know how to fix that. As I said some posts ahead, a custom ROM can't never be as stable as stock ROM, moreover if we are talking about a newer version of Android on custom ROM.

Which build of TWRP do you have? Answer me in PM, so we continue the discussion there.
[Galaxy Tab 4 Original Android Development] cooperke:
update for matisselte comming?
[Galaxy Tab 4 Original Android Development] matteo0026:
Yes of course, but AndroidFileHost seems that is having some problems on uploading files. I'm continuing to try to upload the files.
[Galaxy Tab 4 Original Android Development] cooperke:
super....(y)
[Galaxy Tab 4 Original Android Development] matteo0026:
All devices except millet3g are online

If you see still security patches at 2020-11, it has been my error. I'll fix it
[Galaxy Tab 4 Original Android Development] Sayueri:
This sounds like a big update. Is clean flash recommended?

Keep up the great work with the roms.
[Galaxy Tab 4 Original Android Development] matteo0026:
Clean flash isn't needed for this build, but it's always recommended.

I thought to switch to los17.1 and then to 18, since this last one is almost stable in galaxy s3 neo, which has quite similar souruces.
[Galaxy Tab 4 Original Android Development] Nightmare31:
I succesfuly installed it mattise 3g(t531), but after it boot and optimizing apps it goes black screen
[Galaxy Tab 4 Original Android Development] matteo0026:
Wait what? Did you do all the wipes? I know that it works for T532, so it works for T531 too. Check even the bootloader version.
[Galaxy Tab 4 Original Android Development] matteo0026:
Hi guys, sorry for publishing the updates too early. Security patches weren't completely equivalent to full december ones. So, I'll delete the builds that I've done this week and I'll re-upload all the builds with all complete patches. I hope I'll be able to upload them all today.
[Galaxy Tab 4 Original Android Development] hemligt:
Hi guys,

I installed LinageOS 16 latest December build on milletlte T-335 Tab4 8.0 LTE and I am very happy with the Android 9. Thanks a lot mateo. My son is using this tablet for minecraft, so this milletlte T-335 Tab4 8.0 LTE serves that task. The camera has been used only sometimes with Andriod 5.1.1. Now in LOS 16 I have the same issues with exactly same error as marrei1964 in post #260 has described. Backcamera crashes when taking picture. preview is ok but using/tapping the blue capture circle lets the camera freeze. Same with another camera app. Camera in telegram does not work either, same thing, the actuel capture does crash. It is only the blue circle camera mode capture operation that crashes, if you take red circle video or the green circle panorame photo swing/movment, then the video and photos are taken with no crash.
[Galaxy Tab 4 Original Android Development] matteo0026:
Hi, perhaps, since I don't have a millet, I really can't debug well the situation, even because I should need more deep tests, like a log while using camera on stock ROM. A step ahead has been done with the shim on the front camera, but it seems it isn't enough. Probably, something needs to be tuned on camera wrapper, but I'm not sure. What about the pictures are taken in an inverted resolution in stock ROM? (like 1536x2048 instead of 2048x1536, like happens in matisse)
[Galaxy Tab 4 Original Android Development] hemligt:
in developper options there was some settings regarding bug reports, I am not familiar with wether attached log could help.

[QUOTE="(like 1536x2048 instead of 2048x1536, like happens in matisse)

[/QUOTE]

In Camera settings I changed a lot, also resolution, tilted the tablet, but no change, Camera app closes with error "unknowen error, camera is closed". The root settings in Android 9 are a bit different compared to eg Android 6. So I have not yet a clue as to using ES fileexplorer and where to look for error log of the camera.
[Galaxy Tab 4 Original Android Development] matteo0026:
From that log, I can see that timeservice app has crashed, and it could be possible, yes, since I've updated the lib, and ok. But there isn't anything related to the camera. Do a logcat after doing something with camera either in pie and in stock ROM. I don't want huge useless bugreports that log everything in the device.
[Galaxy Tab 4 Original Android Development] hemligt:
so I used the camera app capture blue circle and let it crash like 6 or 7 times. Hope there is something in the log. The former log I took some minutes after a crash. Hope it is better now.
[Galaxy Tab 4 Original Android Development] matteo0026:
Ok, now I see something. But before doing other tests, let me publish the builds for millet with that timeservice fixed. At least, I don't want to see that horrible crash.

But, next time, use adb to take a log.

adb logcat > log_millet_camera.txt
[Galaxy Tab 4 Original Android Development] hemligt:
thank you realy a lot. Amazing and very good that you take care of these devices. I'll test with the timeservice fixed version to come.
[Galaxy Tab 4 Original Android Development] matteo0026:
I've got reports from telegram group that camera works well to take videos, but crashes while taking photos, with either cameras. New build is online yet for milletlte. I'm uploading the build for the milletltetmo and tomorrow I'll finish with millet3g.

Expect new builds for millet devices as soon as possible, when I'll fix the camera completely. Then, in january, or when it will be possible, I'll switch to LOS 17.1 for 1 build, and then, I'll go to LOS 18, since in S3 Neo hasn't any issues yet.
[Galaxy Tab 4 Original Android Development] matteo0026:
All builds are online
[Galaxy Tab 4 Original Android Development] Eternalcakes:
Hi, I have tried to update to the latest build but I am now stuck on the first load screen, which says "Samsung GALAXY Tab 4 SM-T530". It doesn't restart, so don't think it's boot loop specifically.

I have waited >half an hour, so definitely not a boot thing. I have done the clean install etc. I did TWRP through Odin and then installed through that.

Also when I plug/unplug charging, it makes sound? So it's on but it doesn't move past the first screen...?

What's happening?

And where do I find stock OS to at least restore my device?
[Galaxy Tab 4 Original Android Development] matteo0026:
First of all, probably you went from a stock ROM that was based on kitkat. After, did you do all needed wipes?

To download stock firmware, use frija
[Galaxy Tab 4 Original Android Development] mrk2815:
matteo, i am here to help as much as i can with 17.1 or 18 bring ups.
[Galaxy Tab 4 Original Android Development] u81:
Hi Matteo, I've just installed the 13th December version for Matisse WiFi and Skype version 8.15.0.430 but can't send my video.

I wiped data, internal storage, cache and system and installed the Pico opengapps 17th December.

Can you please advise how I might fix the camera on Skype?

Please also advise how the family link feature can be used on this device as I ran into issues and had to wipe data again.

Thank you.

Twpr 3.4.0, Matisse WiFi T530
[Galaxy Tab 4 Original Android Development] matteo0026:
Hi, about skype, I'm looking why it completely broke up, and about family link... I really don't know, I've never used it and I don't know how to use it.
[Galaxy Tab 4 Original Android Development] u81:
Thank you for your swift response.

Once Skype is fully functional, this should be the last ROM update for me old device.

Thank you
[Galaxy Tab 4 Original Android Development] GlowSeeker:
I've only ever unlocked, flashed and rooted devices I was certain I wouldn't ever use the stock version of (like ancient tablets or phones with MIUI or w.e) so I never bothered to check, but how would one go about returning to stock should I have problems with this (it seems bug-free enough so I'm not too worried but still)?
[Galaxy Tab 4 Original Android Development] matteo0026:
Download odin to install the stock firmware and frija to download the firmware. There are a lot of guides, at this point, when you have odin and the firmware.
[Galaxy Tab 4 Original Android Development] Exepan95:
Привет всем, я задам вопрос, когда выйдет обновление в Android 10, а затем я использую, но, увы, это бесит лаги. Я хочу нормально работать в обновлении для Samsung Sm-1331

Translation: Hey everyone, I will ask a question when the update comes out in Android 10 and then I use, but alas, it infuriates lags. I want to work fine with the update for Samsung Sm-1331
[Galaxy Tab 4 Original Android Development] matteo0026:
Write in English please...

Anyway, Android 10 is out for tab 4 8.0/10.1 yet with lightningfastrom 17.1, but I'll release LOS 17.1 too. I don't know why. Before I want to make the ROM as stable as possible. Probably in January, probably in February... Who knows. For now, I'm investigating on camera issues on the both models.
[Galaxy Tab 4 Original Android Development] cooperke:
i updated to latest rom.... but bluetooth still crashes every time ist activated. stock rom bluetooth works fine... using it on matisselte. Any solution for this?
[Galaxy Tab 4 Original Android Development] Hidrir:
What is your telegram group link? I'm sorry I can't find it.
[Galaxy Tab 4 Original Android Development] Exepan95:
i'm waiting for this version and then on android 9 even the usual twitter does not work when you start the error well crashes immediately and i want the camera to work for shooting videos or photos i will be grateful
[Galaxy Tab 4 Original Android Development] matteo0026:
There is a problem with bluetooth mac address, and I still didn't understand what generates that issue. The only way to make it working another time is to flash stock ROM, get that address (in stock ROM works), and then, go to lineage (probably it'll be still not working) and then, rewrite the file /efs/bluetooth/bt_addr with your address.

Galaxy_Tab_4 is the username of the group.

I'm trying to do my best, but I'm not that experienced to address fast the issues with fixes.
[Galaxy Tab 4 Original Android Development] J.Michael:
Why does your ROM replace the efs partition?
[Galaxy Tab 4 Original Android Development] matteo0026:
It isn't a replacement of the efs partitions, just that file, sometimes, isn't managed well and it's rewritten with 1 or 0 (I don't remember). I don't know which file does this mess, and it's under investigation. Remember: not all the efs partition, since wifi mac address stayed always there.
[Galaxy Tab 4 Original Android Development] mrk2815:
matteo, the reason for the attraction for dj rom is for the fact that its an android 10 rom with things that people want in a newer rom like better permissions an security compared to android 9 . facts of life , you need to give the peoeple what they want.Most people want an android 10 rom and that is what dj is giving them no matter if its stable or not.for an old 6 year old tablet its amazing that either you or dj can develop for it.that's great in its own feet. But maybe time to consider an android 10 port for the next year development cycle.
[Galaxy Tab 4 Original Android Development] mrk2815:
will you be compiling 17.1 for these two devices.if so for both with los 17.1 based off of android 10, then will be waiting to take that for a test drive.
[Galaxy Tab 4 Original Android Development] u81:
While, it's always great to get the newest features working, I for one would certainly like to have a fully working and stable Android 9 rather than an unstable Android 10 with which I end up spending time tinkering everyday.

Even the latest Amazon tablets still ship with Android 9 so not everything in Android 10 will improve security for our 6 year old device.

Just wanted to voice my support for Matteo's plan.

Thank you Matteo for all your efforts. Skype camera is the only thing required to make this the last ROM for my 6 year old Matisse WiFi.
[Galaxy Tab 4 Original Android Development] davestuarts:
Thanks matteo0026 for this rom for the millet. After flashing lineage 14.1 a long time ago, which gave too many problems, would crash so often and was crazy slow when it did worked, I'm amazed that Lineage 16 works! Compared to 14, this one is smooth and much much faster, and responds quick for such an older device. I'm glad I kept it and checked for new roms.

Most things work for me and haven't had any issues yet, though I'm just using it as a general internet browsing and video playing device. I've played up to 720p 265 video files and works fine with VLC. I've even installed magisk and vanced youtube (had to use smalipatcher to make it install). I don't need bluetooth or camera yet so not a problem. Wifi and OTG work fine too. Atleast it's more secure than before.

If any problems do happen, I'll just check here for solutions then wait and ask.

I agree above. I rather have a stable rom than a rom with bugs that need sorting out, unless I have a spare one to test on. Yes, perhaps new features maybe useful but when people start demanding, that dont sound right to me.

Anyway, thanks again. I couldn't afford to buy a new device and now it feels brand new again.
[Galaxy Tab 4 Original Android Development] cwokel:
Great job, I hope one day I will reach your level to brew my own ROM. Thank you for this contribution
[Galaxy Tab 4 Original Android Development] u81:
@Matteo , can you please advise which version of your ROM supported Skype camera without crashes so that I may switch to it for the time being. Thank you
[Galaxy Tab 4 Original Android Development] matteo0026:
Probably, the november build is the one that has less issues. I have been wrong on publishing the update of December with more issues to the camera.

By the way, I have to announce that from January builds, camera will be okay with every app. I was just wrong with back camera preview. Actually, with all the libs of matisse, everything works well, but this morning I'll try even with most updated kmini3g libs. Millet isn't still tested, but I'm going to release a test build for someone of the telegram group.

I'm not that good, but I'm continuously working to improve myself. What I've published isn't completely mine, in fact, I've found almost done the common parts for msm8226, and model/variant specific were done starting from a good base, galaxy s3 neo, which actually has official lineage support too.
[Galaxy Tab 4 Original Android Development] u81:
Great, thank you for the update. I shall wait for the January build so.

All the very best to you.