yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 4 Android Development] lm089:
Hm, no answers to my questions. So I just tried, but for some reason TWRP won't be installed, no error messages, but rebooting to recovery just gets me back to the original Samsung recovery.

Details:

installed ODIN3_v3.14.4 and Samsung drivers V 1.7.56.0

booted device into download mode using <Home>-<Vol-Down>->Power>

connected device and started Odin

switched off auto reboot under "options", loaded twrp-3.5.2_9-0-degaslte.tar into AP slot then hit START

Odin flashed then showed a blue RESET note followed by a green PASS

disconnected the device and rebooted using <Vol-Down>-<Power> (<Vol-Up> doesn't do anything on my device)

held <Vol-Up> just before boot

Result: Samsung recovery or system. Reboot to recovery through ADB again gets me into Samsung recovery

I as well tried to flash twrp-3.6.0_9-degaslte.tar.md5, with the same non-result.

Where could I have gone wrong?

BTW: current ROM is Samsung stock V5.1.1. I just wiped data/did a factory reset from Samsung recovery, then tried again. But no success.

EDIT: don't really know, but somehow I managed to solve this and get into freshly installed TWRP 3.5.2, from there flashed latest LOS16 + MindTheGapps.
[Galaxy Tab 4 Android Development] makona:
will this work on this variant of this tablet? https://whatismyphone.net/vendors/softbank/galaxy-tab4-403sc-softbank
[Galaxy Tab 4 Android Development] lm089:
not sure what this is supposed to be. But I see a few similarities, but also differences. Esp sm-t235 apparently has a different CPU (labelled "universal3470")
[Galaxy Tab 4 Android Development] lm089:
Cannot connect adb to device while in TWRP recovery, i.e. "adb devices" returns nothing. With all my other devices adb connects fine to device in recovery. I can establish file level connect from windows explorer to tab4 in TWRP/recovery mode, and also can start adb sideload.

adb connect is fine while in system (LOS 16).

Anyone else can connect adb while in TWRP recovery? Or is this possibly a restriction of the device's TWRP flavour?

Tried both TWRP 3.5.2 and TWRP 3.6.0
[Galaxy Tab 4 Android Development] higger:
I have dealt with many TAB4s, although most of the home buttons seem to be broken, but they are not broken, you just need to take a pencil and press it with the eraser part, maybe a little harder, it will be fine in use.good luck~
[Galaxy Tab 4 Android Development] lm089:
delete post
[Galaxy Tab 4 Android Development] lm089:
Hi, yet another problem, this time with the camera:

as soon as I use an utility app that tries to access the camera (like Google or Microsoft Authenticator, or some generic QR code scanner) the camera starts showing whatever is there before the lens. Then after ~1 sec. the camera overlay freezes and I have to kill the utility app. From then on until next system reboot the camera itself is dead; depending on the app used an error is shown, or the screen just stays black. One QR code scanner just gives a "cannot start the camera", the defaul camera app gives toast message which disappears too quick to read the message. OpenCamera (if installed) says something like "Error opening the camera. Camera is probably in use from a different app? ID:0"

I have both the LOS default camera app and OpenCamera. I deactivate them on turns so that I don't run into any conflict between the two.

After a fresh system reboot I can use both camera apps (even if they are both activated) without any problems, it's just the other "utility" apps that are giving me trouble.

I'll attach logcat and dmesg taken right after I crashed the camera; not sure whether this is helpful

But the main question: has anyone else experienced something like this? Could it help to try and re-install latest Samsung firmware then re-install this ROM (device was runing latest stock 5.1.1 before I flashed TWRP and LOS16)? Or any other way to try and fix this?

Thanks in advance

EDIT: in case I would flash latest firmware I guess I'll have to wipe / factory reset everything, right?
[Galaxy Tab 4 Android Development] lm089:
OK, so I finally did it: factory reset then flash latest stock firmware through Odin.

Did a basic setup auf then Android 5.1.1, installed Google Authenticator.

Tested default Samsung camera >> working fine

Started Google Authenticator, started the QR Code scanner >> working fine

Then back to Download mode >> flashed TWRP >> reboot to recovery

Flashed LOS 16 (this ROM, latest build 20220110) + MindTheGapps 9.0 arm (build 20190615, couldn't find a newer version)

Boot to system, basic setup, did not install any apps yetm test Camera >> OK

Installed Authenticator, started QR Code scanner >> camera freezes after ~1 second

Have to reboot device to have camera working

Randomly tried several QR code scanners and other apps with access to the camera but it's always the same.

Apart from the test apps no other custom apps are installed, device is not rooted. So it is basically in it's default state.

If anyone with that device and running this ROM is reading this: would you please be so kind and run a simple test like the one explained above? Is that happening on your device as well?

If not: which flavour of Gapps did you initially flash?

Thanks for any help!
[Galaxy Tab 4 Android Development] buddy_67:
So long I was looking and waiting for a custom rom for this device! The rom is amazing! I broke my first sm-t235, cause the home button did not work (after I pulled the button out the glas was broken :) After I installed the rom on the broken device, I orderd a refurbished one for a few bugs. I use it now as a navigation device for my ebike and in my car. works really great!

1.

The app "GPS Server Optimizer" (Playstore) does not need root.

2.

To enable the softwarebuttons for navigation, I follwed this -> xda-forum enable softwarebutton Be shure to enable root-access for adb in developer-settings, put "qemu.hw.mainkeys=0" (without marks) at the end of the file build.prob, reboot and you will have softwarenavigation-buttons :) (the hardware keys are not disabled and will work too)

3.

Magnetic-sensor (Compass) not working. Sorry, never had one ...
[Galaxy Tab 4 Android Development] HierUndHeute:
Thanks for this img!! I resurrected my wifes Galaxy Tab with it, after my phone failed. Now I have a problem with LTE: It tells me there is no SIM card. That's not true for sure, and the one I use worked before the update. Is someone else having that issue? I did not install gapps, but that shouldn't cause the modem to fail, should it?

Thanks a lot

HierUndHeute

PS @Im089: I use this barcode scanner, and it works without any issues, despite the bad camera sensor. No gapps or similar installed.
[Galaxy Tab 4 Android Development] html6405:
It could be that your baseband is not compatible, is your IMEI shown at all? If not, try to upgrade the modem firmware.
[Galaxy Tab 4 Android Development] HierUndHeute:
Hm, no, there's just nothing. How do I upgrade the modem firmware?
[Galaxy Tab 4 Android Development] html6405:
Flash the CP part from a 4 part firmware, you can get the most recent one with Frija for example
[Galaxy Tab 4 Android Development] HierUndHeute:
So i used samloader to retrieve the latest firmwar for SM-T235:

(venv) ~/smldr $ python3 -m samloader -m SM-T235 -r DBT download -v T235XXS1BRH3/T235DBT1BRA1/T235XXU1BPF1/T235XXS1BRH3 -O ./T235XXU1BPF1
downloading SM-T235_1_20181204155653_h6akgq1g31_fac.zip.enc4

and decrypted it:

(venv) ~/smldr $ python3 -m samloader -m SM-T235 -r DBT decrypt -v T235XXS1BRH3/T235DBT1BRA1/T235XXU1BPF1/T235XXS1BRH3 -V 4 -i ./T235XXU1BPF1/SM-T235_1_20181204155653_h6akgq1g31_fac.zip.enc4 -o ./T235XXU1BPF1/SM-T235_1_20181204155653_h6akgq1g31_fac.zip

After extracting all files there where four:

AP_T235XXS1BRH3_CL12850242_QB19542042_REV00_user_low_ship.tar.md5
BL_T235XXS1BRH3_CL12850242_QB19542042_REV00_user_low_ship.tar.md5
MODEM_T235XXU1BPF1_REV0_0_CL1995387.tar.md5
CSC_DBT_T235DBT1BRA1_CL12850242_QB16461492_REV00_user_low_ship.tar.md5

I untared the MODEM* file and got a modem.bin

I booted my tab into download mode and flashed modem.bin to the RADIO partition:

(venv) ~/smldr $ heimdall flash --RADIO modem.bin

Alas, the LTE does not work. At least it now shows the IMEI of my device now. state of SIM card tells "Dienst nicht verfügbar", which means "Service not available".

And what can I do now?

Thanks for your help.

PS: When I got to the settings -> network and tap on mobile networks the GUI there becomes really slow; I tap, it take 2 seconds then the reaction happens. But it is only there in the mobile network settings, going back out everything works fine again.

PPS: Maybe I should have flashed CSC, too, as it contains Country/Carrier/Consumer Specific Code?
[Galaxy Tab 4 Android Development] html6405:
Hmm try to flash the BL part too, 2G, 3g and LTE works fine on my device.
[Galaxy Tab 4 Android Development] HierUndHeute:
But BL ist the bootloader, isn't it? I'd suspect the CSC part could help as it contains Country/Carrier/Consumer Specific Code. Which partition should that go?
[Galaxy Tab 4 Android Development] html6405:
Exactly, this helped sometimes to get the modem working.

But you also could try to flash files from CSC, idk what it contains exactly because I don't have a firmware locally stored yet, but I think it won't help.
[Galaxy Tab 4 Android Development] buddy_67:
Same problem here. After flashing the rom I was able to enter my sim-pin, but no mobile service, then I flashed the modem.bin from the original rom (german rom). sim was recognized, I was able to enter my sim-pin, but no mobile service (sim works in another phone). Then I flash the boot.img from the original rom -> bootloop. I reflashed the lineageos rom -> same as bevor, i can enter my sim-pin, but no mobile service... Then I flashed the stock rom -> everthing works fine. Any working solutions? I would really really like to use this rom!!!
[Galaxy Tab 4 Android Development] HierUndHeute:
From the BL_* file I flashed param.bin and sboot.bin to their partitions to no avail. I also tried the cache.img and hidden.img without success. There is just no service...

One interresting thing: I'm not allowed to input an APN myself, those settings are "not available for this user".

Should I try and flash the older Lineage 16 image?
[Galaxy Tab 4 Android Development] buddy_67:
I have done a "dirty flash" with the first edition of the rom (-> lineage-16.0-20210917-HTML6405-degaslte.zip) over the actual one........ IT WORKS! I have mobile data!
[Galaxy Tab 4 Android Development] HierUndHeute:
"The actual one" like in LineageOS16 latest, or the stock Android 5.1.1?
[Galaxy Tab 4 Android Development] buddy_67:
I first flashed the latest custom rom version from here (lineage-16.0-20220110-HTML6405-degaslte.zip / clean flash with wipe and format) -> no mobile data. Then I flashed the first version of the custom rom (lineage-16.0-20210917-HTML6405-degaslte.zip / dirty flash without format/wipe) -> I got mobile data! ;)
[Galaxy Tab 4 Android Development] HierUndHeute:
I can confirm that the dirty flash-over is the way to get mobile data working.
[Galaxy Tab 4 Android Development] html6405:
Thanks guy's, then I know what the problem is, it's a missing selinux rule!

So the solution would also be to enable usb-debugging with root rights and do:

adb shell

su

setenforce 0

Then you should get mobile data and it still should work after a reboot.

To fix this completely I would need a complete log from a device where mobile data doesn't work.
[Galaxy Tab 4 Android Development] buddy_67:
I've done a dirty flash with the latest version of the rom over the installed old first version of the rom

-> no mobile data.

Then, with the latest rom installed, I tried "adb shell as root -> setenforce 0"

-> no mobile data

do a restart

-> no mobile data.

I dirty reflashed the first rom (lineage-16.0-20210917...)

-> got mobile data back....

I added the bugreport from the rom which had no mobile data (lineage-16.0-20220110-HTML6405-degaslte).
[Galaxy Tab 4 Android Development] buddy_67:
I tried to use the same barcode scanner with gapps (open_gapps-arm-9.0-nano-20220215) installed with the first version of the rom (lineage-16.0-20210917-HTML6405-degaslte.zip). It does not work, the barcodescanner stops working after some seconds... The cam also does not work, if i take a picture the app crashes and no picture will be saved...

I tried this cam-app from the appstore and it works.
[Galaxy Tab 4 Android Development] lm089:
yep that's the behaviour I see with any app accessing the camera device other than the default LOS camera

you mean by installing that camera you can also use a barcode scanner? Or are you just referring to the camera app alone?
[Galaxy Tab 4 Android Development] buddy_67:
No, only the cam-app from the appstore works. And I tried some barcode scanner from the appstore, but with no success...
[Galaxy Tab 4 Android Development] html6405:
You have to setup the apn setings before,

if you don't do this, nothing will change (selinux is enforcing again after a reboot...).

And what happens if you upgrade to the latest version, is mobile data still working or is it lost again?

Maybe non of the barcode scanners will ever work because of the old Samsung blob,

I don't have time and energy to focus more on this ROM.
[Galaxy Tab 4 Android Development] lm089:
Just reverted the tablet to its latest stock ROM (Android 5.1.1). Basic setup, then installed a basic qr code scanner plus a separate product scanning app.

Tested stock camera + QR code scanner plus barcode scanner from the product testing app. Apart from the fact that the device is now much slower than with LOS, and the picture quality is just lousy, all those apps and features are just working - no crashes etc.

I'm about to give up on that device, at least in terms of using custom ROM and custom recovery. Don't get me wrong please, I'm not blaming anyone, the least this ROM's dev or anyone else involved in supporting the device. I think it is just too old, and also too "strange" to be properly supported (I had quite a few android devices, in the end all were running on LOS, or CyanogenMod in earlier days, but never had that much trouble as with this tablet). When I got it I quite liked the size and the apparent robustness.

I'll try to use it as it is now for a while, or maybe even try to give it away

That's perfectly understood. Thanks for your efforts!
[Galaxy Tab 4 Android Development] buddy_67:
When I do a dirty flash with the latest version over the first version, I will lose mobile date... if I then reflash the older version mobil data is back again...

I'll stay on the first version of this rom, for using the device as ebike-navi it is perfect :) Thank you again html6405 for this rom!!!
[Galaxy Tab 4 Android Development] The4anoni:
If you still need these logs I can send them. Do you need logcat or something else?
[Galaxy Tab 4 Android Development] html6405:
A complete logcat with an inserted SIM could point me to the missing rule.
[Galaxy Tab 4 Android Development] The4anoni:
I have sent you logcat, check DM ;)
[Galaxy Tab 4 Android Development] 101AjA101:
how to root this Rom?
[Galaxy Tab 4 Android Development] SugiuraAyano:
Hi @html6405,

First of all, thanks for all of the hard working on this rom. very appreciated.

I have a problem with my SM-T235Y device.

I'm using tools to go to Download & Recovery Mode(cause my home button is broken:(, the Download mode seems working right(cause i can flash twrp via odin and it said pass on it.) but when i trigger recovery mode it always goes to stock recovery mode.

Did you have any solution on it?
[Galaxy Tab 4 Android Development] lijubu:
Hi, I am wondering if anyone of competence for this rom is still watching this thread. I am here because i have upgraded my tab only recently, too.

I tried to do things with older version of odin first and things went wrong. Only then I realized that I had overlooked details of specific versions. You didn´t, did you?

There should be a folder TWRP:

begin quote

The location depends on what mode is the Android currently running in. When you use adb while running recovery, the location is like /data/media/TWRP (or /data/media/0/TWRP). When you have the system running, the location is /sdcard/TWRP.

end quote

See here please.

What "tool" is it that you use to boot into recovery.

Does it make a difference when you let boot into system after flashing TWRP?

I hope for you that there will be more answers....
[Galaxy Tab 4 Android Development] mariusz112:
How to root Samsung Galaxy TAB 4.7.0 sm-t235/sm-t235y device in lineage 16 android 9.0 SuperSU,superuser,magician step by step tip,tipsed for me
[Galaxy Tab 4 Android Development] Azukegi:
Got it working on my SM-T217S by flashing latest version of Magisk via twrp but after you reboot you'll need to than manually install Magisk.apk because for some reason it doesn't show up in app drawer. Than You will have to flash one more time in Magisk app than reboot and than you should have Root
[Galaxy Tab 4 Android Development] mariusz112:
I already have it,I have it on a Samsung Galaxy tab 4 Sm-T235,Sm-t235y tablet.One more questionnbo I have selinux enforcing.What should I do?
[Galaxy Tab 4 Android Development] mariusz112:
I already have rooting on tablet sm-t235,sm-t235y I did as you wrote,now I have the problem selinux enforcing what should I do
[Galaxy Tab 4 Android Development] mariusz112:
Enforcing no
[Galaxy Tab 4 Android Development] Azukegi:
Is it causing you any issues?
[Galaxy Tab 4 Android Development] mariusz112:
Yes
[Galaxy Tab 4 Android Development] marisn:
I run 20210917 (no gapps) on my device and there is a bug in the included dialer. I had to call local emergency number (112 in my case), dialer displayed "emergency call" but all I got was an automatic answer from phone company "wrong number". Lucky for me, my so had phone with stock android where emergency call to 112 was possible. Thus be ware — you might not be able to make emergency calls with this rom!
[Galaxy Tab 4 Android Development] mariusz112:
On custom ROM system linegea 16.00 android 9.0 can you have Samsung Galaxy account,Samsung galaxy store ?How to install Samsung account SamsunggGalaxyy through custom ROM system linegeab16.00 android 9.0

Przetłumaczono za pomocą DeepL https://www.deepl.com/app/?utm_source=android&utm_medium=app&utm_campaign=share-translation
[Galaxy Tab 4 Android Development] masterpro0415:
This can be use for SM-T2397??
[Galaxy Tab 4 Android Development] ACT_Thang:
deleted
[Galaxy Tab 4 Android Development] AS_Allen_Shih:
How can I download now?
[Galaxy Tab 4 Android Development] Selicular:
Flashed recovery.img on top of existing version of TWRP and got stuck in a bootloop with no recovery. I can get into download mode but odin refuses to setup a connection on two different pcs with many different cables. Anything I can try?
[Galaxy Tab 4 Android Development] html6405:
How did you flash TWRP and do you have a T235?
[Galaxy Tab 4 Android Development] Selicular:
Realized late last night that I don't have the right device I've got a SM-T230NU. That what I get for trying to flash devices so late. Thanks for the timely response
[Galaxy Tab 4 Android Development] html6405:
Ok than it's clear, this device has a different SOC, so it can't boot with this TWRP.
[Galaxy Tab 4 Android Development] wEER1234:
Thank you for making this! I will test drive this tomorrow and let y'all know how it goes.
[Galaxy Tab 4 Android Development] wEER1234:
After using for several days here are my thoughts:

I am suprised to see this rom is smooth on this old device which was released close to a decade back. Some parts of the OS did have hicups but most of it was very smooth. I have not tested gaming for obvious reasons, but for a streaming and checking social media this OS is good enough for that purpose.

The battery is excellent, totally wasnt expecting this!

I am glad the rotation works in this OS, my previous rom was the Android 6 ROM which had broken rotation support.

Not everything is perfect about this ROM and yes I did notice some parts where the OS would'nt respond.

Every now and then the OS runs out of memory causing the device to crash and restart. totally expected from a device like this but I hope someone has a way to handle memory more efficiently.

Mobile data sometimes crashes the signal bars are there but like the tablet wouldnt connect to a network like LTE, 3G. (Keep in mind only happened to me once, quick restart fixed it)

Those are some of the noticable stuff i found using this ROM, but end of the day thank you so much for the dev who made this! Your work contributes alot for the people still using this old device.

Thank you html6405 !
[Galaxy Tab 4 Android Development] html6405:
Thanks for your feedback,

what we could try next is to configure this devices as a low ram device, but side effects would be:

no multiuser support

no picture in picture support
[Galaxy Tab 4 Android Development] prkfsz:
is it just on my unit that videos (for instance on New Pipe) 720p and above are hacking a lot?
[Galaxy Tab 4 Android Development] prkfsz:
Weren't there apps that can help make a part of an extern sd card work as ram?
[Galaxy Tab 4 Android Development] html6405:
Hmm I don't know, but it could depend on the video format the app uses.

If the device need's to software decode, it will run less smooth as it would via hardware decoding.

I guess you mean swap, this is already integrated. (it's not good to keep much data in swap, because our internal memory is really slow)
[Galaxy Tab 4 Android Development] prkfsz:
Is there any way to prevent this?
[Galaxy Tab 4 Android Development] html6405:
No it just depends on the used video format.

For example our device can't hardware decode vp9, so the google.omx.vp9 software decoder will be used

for this.

But maybe I will find a way to improve this a little bit.
[Galaxy Tab 4 Android Development] chatmaster20:
Any chance there will be a non LTE version of this ROM uploaded at some point (T530NU)?

Thank you!
[Galaxy Tab 4 Android Development] matteo0026:
https://xdaforums.com/t/rom-unofficial-matisse-millet-lineageos-16-0.4032901/

It exists since more than one year...
[Galaxy Tab 4 Android Development] wEER1234:
Hey is it okay if I install Magisk on this ROM?
[Galaxy Tab 4 Android Development] html6405:
Sure.
[Galaxy Tab 4 Android Development] ¯\(ツ)/¯:
Can I use this ROM on SM-T230 degaswifi (7.0)?
[Galaxy Tab 4 Android Development] html6405:
I'm sorry, but this device is having a different hardware.
[Galaxy Tab 4 Android Development] Bluefire20216:
which functions are not yet possible with Android 9 pie on the SM-T235 Tab 4 ??
[Galaxy Tab 4 Android Development] html6405:
At the moment only what you can read in this thread.
[Galaxy Tab 4 Android Development] Tomasz1987:
Hi

Can you look about otg + charging in one time ?

Please 😅
[Galaxy Tab 4 Android Development] stefek90:
Hello, great Rom! Good work!

Problem: Bluetooth audio streaming does not work. It breaks off again and again and then no longer connects. There is also no sound. Do you have a solution for that?
[Galaxy Tab 4 Android Development] Bluefire20216:
Where can I download the Android 9pie and also the Android 7 Nougat for the SM-235?

Do you have a link for me, please?
[Galaxy Tab 4 Android Development] html6405:
Are you using the most recent version?

Because there was a bluetooth fix included.

You can download my LineageOS at the start post and for android 7 you have to look in the development forum.
[Galaxy Tab 4 Android Development] kieni111:
thanks a lot - this ROM was unexpected!
[Galaxy Tab 4 Android Development] Bluefire20216:
Thank you for saving my Tab4, thanks for your work. Also that you got the last errors with bluetooth. Have you also developed an Android for the SM-T211 and SM-T230? My friend still has such devices and would prefer Android 9pie for them
[Galaxy Tab 4 Android Development] html6405:
No I'm sorry, these devices are having a different SOC and I don't own one of them, so I cant.
[Galaxy Tab 4 Android Development] Tomasz1987:
Hi, can you port or propose new google caller.

Whit a Floating Bubble Feature​