170

[UNOFFICIAL][ROM]BETA LineageOS 18.1 GO for Galaxy Tab A [SM-T350] June 11, 2022

 1 year ago
source link: https://forum.xda-developers.com/t/unofficial-rom-beta-lineageos-18-1-go-for-galaxy-tab-a-sm-t350-june-11-2022.4305903/page-5#post-87080213
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

[UNOFFICIAL][ROM]BETA LineageOS 18.1 GO for Galaxy Tab A [SM-T350] June 11, 2022

Hello. Can you help me with this rom. How many RAM is used here by Android system?
I want to change my stock rom to this or other one, Lineage 16. But want to know where is the RAM usage is lower.
Will be grateful for replies

retiredtab

Senior Member
Nov 16, 2017 1,113
Hello. Can you help me with this rom. How many RAM is used here by Android system?

For 18.1, it's around 500MB on a fresh boot. Just because it's a "GO" build doesn't mean it saves any significant amount of DRAM vs a regular build.

I want to change my stock rom to this or other one, Lineage 16. But want to know where is the RAM usage is lower.

For stock, I don't know because I don't run stock anymore, but remember that stock has the Samsung UI bloat + gapps + other bloat so it could use more DRAM than LineageOS.

Older versions of Android usually use less RAM than later ones.

Adding to retiredtab's post, I have been running it for a while with a bunch of apps without gapps and the system uses about 750mb. 800 if you include the system ui. If I remember correctly the stock rom used about 400-700 mb (including system and system ui and gapps, closer to 400 after rebooting. )

dylux

New member
May 6, 2022
Hello, I am building my own images so I am not sure if the front camera issue is resolved on these builds. However, I have success making it work in the stock camera app by copying in /etc/media_profiles.xml from the stock firmware (plus forcing camera2 api but I am not sure if it matters). I hope this helps.

Reactions: lpedia

retiredtab

Senior Member
Nov 16, 2017 1,113
Hello, I am building my own images so I am not sure if the front camera issue is resolved on these builds. However, I have success making it work in the stock camera app by copying in /etc/media_profiles.xml from the stock firmware (plus forcing camera2 api but I am not sure if it matters). I hope this helps.

@dylux, thanks for the hint. I will test it out. I'm in the middle of building the May 5 security patches for other msm8916 devices, but once that's done, I will try using stock /etc/media_profiles.xml. I know I never changed it and I never thought to look there. If that doesn't work, I can try switching Snap for Camera2.

retiredtab

Senior Member
Nov 16, 2017 1,113
@dylux, thanks for your suggestion to use stock media_profiles.xml. For 18.1, this fixes the selfie camera from crashing in video and picture mode. However, it's not 100% perfect as the preview window stops working when taking a photo (front and back camera). To unfreeze, switch the camera front to back or back to front and then preview will work.

On the upside, Open Camera which previously also crashed on front photo and video now works properly. Simple Camera continues to work with this change as well.

For those interested, this is the commit.

https://github.com/retiredtab/devic...mmit/c9ac11147f83d611e006731aad7c14108f293d64

Thanks again for the hint because I looked at the mk, camera binaries, etc for a long time and never suspected the .xml files.
Bash:
$ adb shell
gt58wifi:/ # getprop | grep media.settings.xml
[media.settings.xml]: [/vendor/etc/media_profiles.xml]

gt58wifi:/ # ls -al vendor/etc/media_profiles.xml                                                                                                           
-rw-r--r-- 1 root root 18770 2008-12-31 17:00 vendor/etc/media_profiles.xml

retiredtab

Senior Member
Nov 16, 2017 1,113
New build called lineage-18.1-20220507-UNOFFICIAL-gt58wifi.zip
Code:
$ sha256sum lineage-18.1-20220507-UNOFFICIAL-gt58wifi.zip
023ea1df60146721b0f3987ddaca1d69e4f2bf24b71ab135bc673358ae81c396  lineage-18.1-20220507-UNOFFICIAL-gt58wifi.zip
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.

18.1 continues to be my daily driver since March 2021.

May 7, 2022 release notes
1. May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-05
2. Whatever LiineageOS changed since last April release (about 11,000 files had to be recompiled).
3. Selfie camera and video no longer crash with stock camera. Thanks to @dylux for suggesting these fixes which are commits

https://github.com/retiredtab/devic...mmit/c9ac11147f83d611e006731aad7c14108f293d64

and

https://github.com/retiredtab/devic...mmit/cfa55e0478b59821f3d16501104b51ceeef8b010
Last edited: May 8, 2022

dylux

New member
May 6, 2022
Hi, I did a bit of digging on the freeze issue. Looking at https://github.com/LineageOS/android_packages_apps_Snap/blob/lineage-18.1/res/values/config.xml, it seems to me that preview is not restarted after a picture is taken by default. Therefore, adding the option "back_camera_restart_preview_onPictureTaken" and "front_camera_restart_preview_onPictureTaken" to overlay/packages/apps/Snap/res/values/config.xml should do the job.

I tested this on Snap with cameraV1, and initial result seems to suggest that this works.

retiredtab

Senior Member
Nov 16, 2017 1,113
Hi, I did a bit of digging on the freeze issue. Looking at https://github.com/LineageOS/android_packages_apps_Snap/blob/lineage-18.1/res/values/config.xml, it seems to me that preview is not restarted after a picture is taken by default. Therefore, adding the option "back_camera_restart_preview_onPictureTaken" and "front_camera_restart_preview_onPictureTaken" to overlay/packages/apps/Snap/res/values/config.xml should do the job.

I tested this on Snap with cameraV1, and initial result seems to suggest that this works.

@dylux, thanks for the suggestion on how to fix the preview after photo taken. Your analysis is indeed correct and I incorporated into the May 7 build.

Stock camera front/back photo/video now all work correctly. I would have never solved this without your help. I truly appreciate you taking the time to respond and sharing your expertise.

I'm about to see if this custom OS will work on an SM-T355Y LTE version. I'm hoping all the features (except LTE connectivitity) will be as on an SM-T350. Will report back to let you know how it goes.

[edit: not looking so hopeful
Q24. Will this run on the SM-T355 or SM-P355?
A24. No. Someone has tried and it will result in a bootloop.
]

[edit2: Have managed to successfully install and boot the build for SM-T357W onto my SM-T355Y. To get it to patch system image unconditionally, I had to edit the updater-script file in /META-INF/com/google/android/]
Last edited: May 13, 2022

retiredtab

Senior Member
Nov 16, 2017 1,113
New build called lineage-18.1-20220611-UNOFFICIAL-gt58wifi.zip

NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.

June 11, 2022 release notes
1. June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2022-06
2. Whatever LiineageOS changed since last May release (about 9,500 files had to be recompiled).

breversa

Senior Member
Mar 21, 2012 LG G4 Fairphone 2
Anyone else getting frequent (i.e. 3+ times per hour) the "UI has stopped working" error (when using Google apps, apparently)?

retiredtab

Senior Member
Nov 16, 2017 1,113
Anyone else getting frequent (i.e. 3+ times per hour) the "UI has stopped working" error (when using Google apps, apparently)?

I'm not using gapps and I haven't seen this "UI has stopped working" on any of my msm8916 devices.

Are you using the June 11 build? Did this happen in the May build?

breversa

Senior Member
Mar 21, 2012 LG G4 Fairphone 2
On a family member's tablet, the June build with OpenGApps Pico has that problem, but I just realized that I (clean-flashed) installed the GApps at the same time as installing the ROM, not after a first boot, as you advise here: https://forum.xda-developers.com/t/...a-sm-t350-june-11-2022.4305903/#post-85328743

My own tablet runs the 2021-12-11 build without GApps and doesn't show this issue (it's a bit slow and laggy though, but that's to be expected from a retired tab ).

retiredtab

Senior Member
Nov 16, 2017 1,113
Which version of opengapps pico? Opengapps as many problems since they release untested builds. I think the last "working" one was Feb 15, 2022 at

https://sourceforge.net/projects/opengapps/files/arm/20220215/

breversa

Senior Member
Mar 21, 2012 LG G4 Fairphone 2
I *think* that's the one I flashed since it's currently the latest ARM/Android 11/pico version available.
I don't have the tablet within reach so I cannot confirm. I'd prefer to avoid having to reinstall but I may do it nonetheless.

retiredtab

Senior Member
Nov 16, 2017 1,113
I know @lpedia runs gapps on the SM-T350 on 18.1, but unsure if he has upgraded to June 11 build or not? I'll let him comment if he has seen the UI message. I suspect not because he would let me know ASAP especially if it pops up 3+ times per hour.

I'm not sure which gapps he runs on 18.1 SM-T350 as he tried many including NikGapps, MindTheGapps, bitGapps and OpenGapps.

breversa

Senior Member
Mar 21, 2012 LG G4 Fairphone 2
I wasn't even aware of NikGapps, bitGapps, and only vaguely heard of MindTheGapps, but thank for getting in touch.
I'll report back if/when I eventually decide to reflash.

Also: thanks for keeping this tablet alive!! I'm so glad people like you help fight obsolescence and reduce our ecological footprint!

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK