yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Currently issues we have are

Random freezes (zram)

Vendor mismatch

Landscape touch (?) - If tab boots in landscape touch is unusable (Ideally should not happen as we set the hwrotation)

GPS

RIL

SELinux

First issue fixed by disabling zram in builds, future reference we can use zram from the 3.0 kernel.

Second, by removing the vendor lines in device tree

Third, its hard to reproduce, getting any logs would be useful

GPS needs a few more things to be added to device tree

RIL No idea, there's no 3G SIM for me to test

SELinux - A huge pain, will touch only when everything else works

Anything else/feature requests?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
wdym what vendor lines? anything that references vendor in the device tree?

i dont get any sort of rotation issues on 10.1" (last time i checked at least, cant check anymore as mine has just suffered the curse of 0% and i got the joy of finding out i didnt patch it correctly!)

most carriers are shutting down 3G tho, so its getting harder to test now

didnt SELinux work on UA?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Catfish78:
With switched off zram, i now have three times used the tablet until battery had 30 %, no chrash, no freeze.

A wish would be, that video playback would work. In my foreign tv app, video stream and playback of videos isn't working. If i remember right, in ua it was working (but not every time). Videos at different websites won't work, too.

GPS would be fine.

Needed things should have imho priority, optional ones only if the rest is done.

Ah, and thanks for your work!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ginore:
Sorry, how do I disable zram on my 5110?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
you can use adb shell and type swapoff /sys/block/zram0 (if i remember correctly) or fiddle with the settings in an app called smartpack kernel manager (or kernel adiutor, smartpack is more up to date tho)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
yep, so we just need to disable zram in future builds (will do once i figure out how to fix my 0% soft/hardbricked tablet. i hope i dont have to open up the tablet and inject voltage to get it working again, because at that point i might aswell just solder some damn UART wires and get logs that way, its 20x more reliable)

ive noticed that in newpipe too, mind getting some logs of the issue? (i would, but you know the drill by now..)

video playback seems to be working in the browser, and 2D gpu acceleration seems to be working too, but im pretty sure these omap4 devices decode video with some cortex m0 chips, so its a little more complicated than gpu.

just use adb logcat (or whatever other method to get a logcat) and provide it (make sure to use -d all so all the logs are collected

yeah, SELinux isnt super important since:

1: this version of android is extremely behind security patches anyways

2: this kernel is extremely behind security patches anyways

3: the only fix to issue 1 is to get android 10+ running on this device, which you can guess isnt exactly an easy thing to do..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
The build fingerprint https://github.com/MightyM17/androi...mmit/cd1ca0d34ded27d134faf2c3c9074bf2d3b39329

I can confirm rotation issue occurs, will debug more on it.

@html6405 had fixed it iirc. Also I remember it working on UA so definitely was fixed.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ah okay

on the 7" model? cus on 10" i had no issues like that..

dont they have very different display panels tho?

maybe they could help with this one too?

but atm SELinux isnt really important

could anyone try to get logs of the video playback issue?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Lets just say P31xx (7 inch models) are special :P

We set the rotation to 270 on boot, but sometimes that fails thus the issue.

Landscape after booting works fine for me

Yeah but if it works in UA it should here as well

Did you add the frameworks/av patch as I sent before? That fixed video on UA and should fix here as well
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ohh okay

lineageos still has many patches on top of it tho (frameworks arent the same as UA) so its not trivial to get working (i already see quite a few SELinux denials in the logs..)

i thought i did, but i guess i may have broken something at the end, im not sure..

ill likely build again, but since i cant test for now anything that i build is untested and could cause problems

ive opened up my tablet and the battery is at 3v but i dont know how i can charge it externally
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] curiousde2002:
Hello everybody,

my espresso3g is on the latest build, lineage-15.1-20230124-UNOFFICIAL-espresso3g.

Video playback is not working for me either in YouTube and newpipe, however, when selecting external video player in newpipe I can playback in VLC player even 720p videos almost perfectly.

TV streaming app also works.

Thanks to all working on this!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] curiousde2002:
This did not work for me, the file just did not save the entry.

So offline charging still doesn't work.

Is deep sleep working?

My device loses about 20% battery overnight and according to kernel adiutor's list of used frequencies deep sleep isn't used.

Otherwise everything seems to be working.

Thank you very much again for your work!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
yeah i noticed that (when my tablet was still working!!) that newpipe wouldnt playback video, but other video players (namely, the browser) would playback videos (and properly, too)

so its an issue with the android frameworks and most likely not a driver

could you get some logs of this issue? i would but my tablet is dead atm and ive got no way of fixing it..

when building the rom you need to add this, i thought i added it to my espressowifi builds but clearly not as my tablet will not charge offline (when i needed it the most)

seemingly not, at least on my builds (and now seemingly @Mighty's builds as well)

hmm, i never looked into that..

can you still manually set clock speeds lower in kernel adiutor and does it actually save battery at lower speeds?

if so, its likely not that complicated (android just doesnt enter doze for whatever reason)

if not, its likely more complicated (android cannot change cpu clock speeds)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Did you add the change as i told? I havent gotten time to put a new build with that iirc
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Also @RDS5 offline charging is set by the bootloader (rom just sets the indication, hardware bits shuld be set) so just plug it in (not with pc/laptop) and give it a few hours, it should atleast boot up
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
it lights up with the battery indicator and then attempts to start the android offline mode charging but then it stays black with only the backlight on (usually after a while it turns off the backlight)

i dont think i added the change to my build (i remember adding it but i dont remember building it with that change, i mustve broken it somewhere)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Catfish78:
I've put an usb test tool between charger and cable, mine charges offline with 650 - 700 mA by now, so charging should be possible while black screen with backlight on.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
I've made it live after having mainline linux (ie no charger driver at all) from 0% so this is definitely not an issue, just let it be for sometime
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
how long? ive had it on for a few hours now and it doesnt let me boot

im pretty sure the issue here is that the charger driver is here but doesnt allow it to charge

at least im guessing..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
3-4 hours I guess, and no it's not like that the driver won't allow, the charger driver just sets some bits in the hardware (smb136/347). Everything is mostly managed by the hardware itself. On wall power it should take in 1.5A as well
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
oh, my cable doesnt allow <500ma charging (iphone cable only allows usb charging when used on a samsung tablet)

ive left it for over 4 hours now and it still doesnt seem to work..

im guessing im going to have to inject voltage externally or hook up a different battery to this one temporarily so i can get some charge in this one

but for now, its a brick..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Catfish78:
That's a good idea, with the second battery. But i would recommend a resistor between both batteries, to prevent too much amperage (example, 250 to 500 ohms). Under normal circumstances, there will happen nothing. But you know... if a fire hazard happens, it's been your choice. Empty lithium batteries (below 2.5 volts) could be dangerous, and charging amps should be very, very low (better take a new battery). Maybe the tab 2 does this? With 10 or 20 milliamps, it needs more time.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ive charged batteries that were at absolute 0% and they never caught on fire, but those were removable batteries and they're made to be safer than regular batteries..

im aware of the fire hazard in this case and thats why i might just wait until i can get myself a proper lithium battery charger to fix this, or an adjustable power supply where i can limit the amps to just a few milliamps, but my tablet is above 3.0v (or at 3.0v) so its not dangerously low..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Catfish78:
Fine, 3 V is ok. I won't get boring, but we have a battery institute near, an professor says, that it's not a question that it will get damaged when really deep cycled, it is just a question of time. You are measuring i.e. 3.6 v, but you do not know how high the positive and the negative plate is charged, you measure only the difference.

If only "no boot" or crash/freeze could be the problem, i could flash your build to check what's happening. I'm very busy now, but for that will be time i think.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Ah i get it now, maybe it isnt egtting enough power and hence not booting :/

Maybe try getting a Samsung 30 pin cable and hope that works :D

GPS is still half broken, I'll check videos again and try to get SELinux then, and with that we're done right?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
no the problem is only offline charging, and yeah i know recharging a battery from really low is going to damage it but its better than no battery at all..

if i can find my 30pin samsung cable ill for sure charge it!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Alotheone:
Is there a new build?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ginore:
It's not there yet... but we're close
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
New build will take a while, cleaned up some SELinux mess, but Video is weirdly working only half times (like in browser but not newpipe), and GPS is still broken.

https://pastebin.com/jvvXb9ha Cant find out whats broken :/
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] S5fanboy:
My GT-P5110 does not install. in TWRP it gives error E3004, says my device is not compatbile. Using TWRP v2.8.5.0. What version of TWRP are you guys using? Cuz I just cant get it to work.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Use the common twrp by Andi, what version were you using?

Also do other roms install fine? Also did you replace you display?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] S5fanboy:
You're right, I had to use the common twrp. I was using the specific twrp for my device, somehow it did not work that way. Thanks for your help!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] KappaTheCapper:
Yeah I recommend getting a proper 30pin charging cable from samsung! I have an official one for my Samsung Galaxy Tab Note 10.1, which uses the same connector. It charges way faster than the other cables I have
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
@RDS5 just booted from 0% on this rom from usb charging :P

I'd advice to try getting a proper cable :D
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
alright, ill make sure to purchase one next time im shopping on ebay
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] QusiGamer:
Is it worth to install this? I currently have Android 6 OmniROM on my P5100
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Boblee101:
Will there be any Gapps support anytime soon?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
Hi android Andy, i was porting Tab 3 rom for Tab2. it got stuck at bootanimation. I wonder if you can help me to port it. You have a link in my xda thread to download the rom. Thanks
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
im not android andy, and he's quit android development for the most part (he worked so hard before he left tho)

but tab 3's a pretty different tablet than tab 2? pretty sure they have entirely different SoC manufacturers so i doubt it'd be easy..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
i think i replay to andy.Thanks for replay. they have same ram,gpu and cpu core number and type.... only big difference is buttons... its not easy i post a xda thread with link, if you know someone that can help , sent him link of the rom. Thanks
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
yes but the actual SoC is completely different, these cpu's arent copies of eachother?

your missing the rest of the components of the SoC (a good example is the ducati subsystem in the ti omap 4430)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
yes, omap 4 have same core number and type but different speed, p3110 have piranha mother borb but tab 3 PXA...Is it posible to port any galaxy tab touchwiz to tab 2? If its not posible do you know any custom rom that have mini apps liek on stock
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
its relatively difficult to port samsung's touchwiz from one device to another (because its all proprietary), and this older version of touchwiz is likely even harder since alot of useful resources for it are likely lost to time.

and im not sure what you mean by "mini apps"

but why do you want touchwiz anyways? it usually runs slower than close-to-aosp roms, and the tab 3's rom is a very similar version to the tab 2's anyways..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
mini apps, serach for tab 2 photos, you will see up arrow to system ui, when you press here you can open apps like calculator etc. when you press on app it will open in mini format, i like touchwiz options that bc im porting it, i was tryng to port Tab 3 Kitkat rom bc tab 2 never got kitkat
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] nishant_713:
My device powered down to 0. Now connecting the charger momentarily shows battery Icon with a spinner and then goes to black screen with backlight on with no signs of booting or charging. Attempts to force reboot or rebooting to recovery also fails. Any known solution to this?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
try on different chargers, or let it to charge and reboot one time it will start to charge
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ohh so like freeform apps on android 7?

this tablet's whopping 1G of ram doesnt handle multitasking that well for heavier apps, but if your just using a browser and watching a video it should (barely) be able to handle it (semi)smoothly.

look for apps like "taskbar" and stuff, it should work with this rom (android 7+, this one's based on oreo)

as for porting touchwiz, ive got no idea where to start on that.. (maybe bringing over all the apks from touchwiz to a generic aosp 4.4? but 4.4 is dying so it wouldnt be worth the effort bringing up such an old version, reimplementing touchwiz features in newer versions of android is a better option)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
Try to do that, it boots but all touchwiz apps crash, would try to port android 5 or 6 to it

search for mini apps for P3110, you would see whats it
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Le Vagabond:
thanks for the build, my sister's tablet might be dying though... it's freezing a lot, but a bit less with zram disabled.

I tried changing the espressowifi.fstab file to stop having to run the command every boot and the system is read-only, do you know how I could make that change permanent?

or could you make a zram disabled build, please?

it's weird how those old tablets and phones become so slow, even on an Android version that's not very different from the original and without anything installed :/
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
Download super su and twrp with odin and you have root acces
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
thats a bug with the rom tho, its because of zram, likely not the tablet (hopefully not, otherwise it'd be emmc related)

probably with root and change the fstab from within twrp (using twrp terminal) to automatically mount /system as rw

id like to but my tab currently experienced the wonderful 0% and i dont have a functional charging cable other than an iphone 30pin (which only works when the kernel is booted properly).

i might be able to make some but i wont be able to test (which should be fine since its just changing a single setting).

ill try too this week (maybe during it weekend)

its a tad strange why this tablet performs so poorly compared to some other androids running custom roms its age, even on stock version it was laggy.

samsung messed something up on this one, probably the emmc..

hmm we're probably missing some system apps and binaries (.so)

not sure what those'd be tho

mini apps looks like freeform on newer android versions, but just limited to a select few

try freeform with apps like taskbar on any android 7+ rom
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Le Vagabond:
hm, I didn't think of this. I tried chmod'ing it but it wouldn't stick, I'll look more into using TWRP directly.

thanks for the answer and the initial build :)

as for the cable, I ordered this one on Amazon and it works well.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
yes know about 7, but nougat works slow on stock android not even on samsung, i would like cm11 or cm12 as a base rom and touchwiz rom as a port and mace it... I copied all image from touchwiz, framework res from tw is not booting on cm with touchwiz, libs and bins
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
i dont really know why touchwiz home wont start when you bring over the libs, but theres probably some other weird files in some strange directory that need to be copied over

dont copy over bins (yet), better for now is to get a logcat and every time it crashes we see what dependency is missing in the log and add that back in until it stops crashing

have you tried oreo? it ran pretty well for me (i could even play some games like minecraft) after leaving it for a while (something to do with dexpreopt i think)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] An2rejKK:
i try oreo on some bad rom, works slow really really slow, TW need tw framwerk, jar and framweork res, logcat says media.audio.policy died, camera died audio flinger... and libjhead is missing, i download slim and copy jhead from it and never got that error

I saw on xda thats posible to port tab4 kk rom to tab2, i would try that
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
im going to try and build this rom again, this time with zram disabled

that libjhead compilation error sounds familiar, but i forget how i fixed it..

okay, after compiling this rom ill see if i can try to compile this rom with touchwiz
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
THIS IS COMPLETELY UNTESTED - WILL REMOVE ONCE SOME PEOPLE TEST​

NOZRAM = without zram (should stop crashing)

MOD = zram built as a module (@Mighty's change, not sure if it helps with crashing or not).

NOZRAM build is up! md5sum: 34c643199072f9dc64c0269890b68c57

please provide feedback and logs if you experience issues

knowing if you were able to dirty flash over the previous versions would be nice to know too (you should, not accounting for addons of course)

i need more feedback because i have no way of charging my tablet. even performance issues might be interesting to know about, especially if they didnt happen in UA. i cant collect any data for myself, so bugs cant be reproduced on my side either.

logs are much prefered!! (adb logcat, /proc/last_kmsg for crashes)

i also forgot to get the md5sum of the MOD build.. oops
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Alotheone:
Im stuck on the splashscreen for over a hour unfortunately when attempting both MOD and NOZRAM builds.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
did a clean flash or dirty flash? check in last_kmsg for a log, it could tell us why its hanging (strange tho since the only difference with this rom from last time is that i built it with changed zram, that shouldnt break anything).

maybe @Mighty's other handful of changes broke something but i highly doubt it (ill still build a pair without them just in case)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Le Vagabond:
edit: nvm, apparently it didn't flash at all, retrying.

edit2: wiped data & system, flashed properly, stuck at the boot animation. attached log files from TWRP, there's no /proc/last_kmsg file.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
im starting to think theres something wrong with whatever stores /proc/last_kmsg, because it seems to rarely appear..

theres only one real way to get logs from that which is to solder to uart/get a uart cable..

i might get one since im starting to get sick of rebooting reboot rebooting and getting no proper logs..

that is after i figure out how to charge my tablet
[MTCD Android Head Units General] 4ringsa6:
I'm having issue on a vertical screen where the android auto using Zlink is very compact and causing hard to type and see clearly. What can I do for this? I have a vertical style screen and this image attached is from Zlink AA. Notice the edges are about 1 inch blank all around
[MTCD Android Head Units General] marchnz:
Is it an MTCD type head unit, post Android system information including MCU version
[Honor 8 Questions & Answers] Bakgrund:
Hello. I have a few old Android phones that I would like to reset to complete stock in case I want to use them in the future, first out was an old FRD-L09 but I have run into some trouble. I installed omnirom using Openkirin's guide a few years ago.

I have extracted the original partitions and all, but I am unable to flash it in fastboot due to the fact that the bootloader on the phone says FRP Lock. Phone Unlocked.

I have access to the phone running Omnirom from Openkirin. How can I proceed to remove the FRP lock so I can go ahead and flash the original system, recovery and kernel?