yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Droidinside:
I most often use twrp from andi, AOSP rom, SLIM, LineageOS, Omni, I tried and it's the same.

the error is still the same

and finally my roms returned to the default version

and everything works normally, but im only use rom in version 4.1.2 :(
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
That is very weird, like even other espresso3g roms refuse to install for you... Do you have a replaced display panel or something?? Coz this shouldnt happen, the kernel should detect its espresso3g
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
Maybe reflash P5100 3g stock rom in odin, and try and reflash the custom rom?

disclaimer i am not responsible if you blew up your tab
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Droidinside:
can you give me tutorial how to flash the custom roms
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Droidinside:
i only follow tutorial on andi only
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] zer0_Clover:
remove the model check script. had this problem on some jellybean roms
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Not a great idea, but if it works it works
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Zozo919:
the tablet is really hard to unlock on 7 inch model, and battery saver doesnt seem to work for me

btw, good job getting oreo to work on this tablet
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Hard to unlock? what do you mean? I'll have a look on battery saver...
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Zozo919:
when i slide up, it doesnt unlock on first try, i will send video later
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Zozo919:
the problem might be that im on the 7 inch model, and the rom was made for the 10 inch model
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
I have only 7 inch model xD but it was made for both of them :)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Zozo919:
https://streamable.com/ytalx6 this is what i meant by "hard to unlock"
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
It seems like on certain pure AOSP builds, you need to swipe from bottom all the way up to top of screen to unlock.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
Update:

If you want to fix your tab at your own risk, try this:

1. Download both espressowifi and espresso3g zip

2. Extract both

3. Put the META-INF folder from espressowifi zip, and all other files from espresso3g zip, into a single folder (The other files are not placed into the META-INF folder, but alongside one another in the folder).

4. Go into the folder (which should contain META-INF, system.img, and boot.img, maybe more), select all files, right click, then click compress into zip file. Then flash that zip.

5. Happy testing
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] CoreNameJhay:
What TWRP version are you using?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Freemaurer:
EDIT: I got it to work. l had the wrong TWRP installed. Works also with TWRP 3.3.0-2.

Thanks to developers pushing this G.Tab 2 thru Android Oreo, but lm having trouble flashing the coffee onto the device GT-P5100 3G Europe. I followed all of the updated instructions from the first page of this Thread. Installed Odin to Comp, flashed the twrp, was successful.

I followed also the instructions after installing the TWRP that flashing multidisabler might be neccessary for it to unlock. That failed (picture).

Then tried flashing espresso 3G, also failed. Device was normally wiped and after also advanced wiped; dalvik,system,cache data. I watched this video (

), but it doesnt go thru the install like in the video.

Any solutions ?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] CoreNameJhay:
you are using a older TWRP well that causes problems to install Android 8.1, you need atleast TWRP 3.4.0-0 to install it without problems
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Freemaurer:
Thank you for response, but it didnt work with TWRP 3.4.0-0, it failed, but it was successful with TWRP 3.3.0-2

Look at Page 19, I posted the solution where it worked for me. TWRP 3.3.0.-2 and coffee 3g 20220213

Latest Brave wont work. I installed Brave v1.35.100 , one of the first versions. It works fluid for a 1GB RAM (but dont get to excited). It crashed and rebooted the Tab when l tried to open Discord Web app.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
To clear this TWRP confusion, after wiping system, data and so on, you cannot install a zip, you need to reboot back to recovery zip after that to make it work. I use twrp 3.4 myself and it has worked for me using this method and will work on all unified recoveries by Andi (https://github.com/andi34/samsung_galaxy_tab2_secrets/blob/master/FAQ#L11)

I don't exactly know why this happens, even firefox crashes and makes the tab reboot. Hard point is to get the logs (maybe last_kmsg or some service that writes logcat to a file)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Freemaurer:
I tested it last night so l wanted to give my feedback.

Bluetooth is working with mp3 and pdf/word files, but wont support transfer even small APK files, it says its not supported by Galaxy Tab 2, works with wireless headphones.

charging is recognised after couple of minutes (battery icon gets lightning sign), Brave works, but only the first versions like Brave v1.35.100 - l invite you to try others starting from there, latest Brave wont even start. Discord Web app is not working, in fact it tries to load in Brave but then crashes the Tablet and reboots the sistem UPDATE: after that crash, l tried again, and possibly after it loaded the page once again, l got presented with a QR Code. Feels kinda slow, but i dont need it for anything else but reading text. Vanced works, l installed it thru latest Vanced Manager. It sets the first page with Videos quite fast. Background playback works but if yu exit to home screen, yu will only hear sound, "try new features" doesnt show in Settings even if its the latest version of Vanced (17.03.38 - Build - 01.55.00) ; that small video screen wont appear over other apps. Videos run smooth after they load a bit after few seconds, except the FPT videos, they are lagging, but he probably doesnt use compression on his video content. scrcpy doesnt work even with USB - tethering turned on in Dev settings. WIN-Comp pushes the command, Tab freezes and than shows "snow" on the screen, after which yu have to reboot it over Power button. And the last part; Windows wont let yu safely remove Tablet from USB.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Freemaurer:
since lm new to this, its my first rooting/flashing Android on a device, lm unfamiliar with all of the terms. If l can help providing sum logs, please give me a holla (and "how to").
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
holla! :D

to get logs you need to run `logcat` maybe through adb as in connected to a pc, or just through a terminal on the device, no worries if you dont know how, I'll try to get those myself on my device
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
First of all thanks for the detailed review! About bluetooth i never tried copying files so thats a nice catch. Charging works fine for me, on usb as well, dunno what the issue is (bad cable?). Why use web app when discord app exists? About Vanced, please contact their developers, I have no clue about that. About scrcpy, please send in some logs and maybe create an issue on their github, so even their devs can help us out! Windows wont let you safely remove the tablet, this is new I'll have to dig into this once i get time. Anyways I'll add these to my ever expanding list of todos :P
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Droidinside:
TWRP 3.4.0
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ginore:
Can you confirm that the latest rom available for GT-5110 (wifi only) is ua_espresso-8.1.0-20220213?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
most likely yes. whats the problem
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ginore:
no problem, the rom is very good, thanks!

I was just wondering if any updates had been made to the February rom.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Can't do much yet, busy with life plus don't have a pc to build it on for now
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Freemaurer:
Its still original Samsung cable. The device was barely used before, so its like brand new. Charging got little laggie after running thru sum processing with the apps. When its not connected to a PC right before, it shows "charging battery instantly. For the Discord, I will try the app also on the weekend, just wanted to pack as small amount of apps on that "1GB RAM bad boy" as possible, so just tried it thru Brave browser. But it worked eventually (l updated the first review). Will send you the logs or post it here on the weekend; l will try to get them over PC and also report it on Github. Vanced also. You (and other devs) actually resurected my old tablet, so lm glad l can help 🙂
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
stupid question:

how does this rom compare to others? is it as fast/nearly as fast?

also, ive heard about ways to optimize android compiler to make android run faster, would that be applicable here? (uber toolchain or something).

sorry this question is so noobish xd, i just got this tablet from e-waste and im trying to squeeze some speed out of it (it has some half decent speakers, so ideally for media consumption).

also, could anyone help point me in the right direction for a fast custom rom? just looking for decent battery life and usable speeds.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] zer0_Clover:
check out Orion OS. Havent tried this because keeps giving me corrupt zip error
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
I know, you did the docking fix for tab 2 :D, would be great if you could help out, I have posted my sources and logcat above
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Uhm as far as i know (im new to rom development so sorry if i did something stupid) here's my logcat https://pastebin.ubuntu.com/p/7F4N6SDsBZ/ (removed stuff like my wifi name and dns/ip) `Netd : Error adding IPv4 rule: Invalid argument` this seems very suspicious

Edit: seems like ubuntu pastebin now requires you to log in to view paste, even I cannot access it without logging in, I will move the paste to different service

Edit 2: https://paste.debian.net/1209097/ logcat
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
Did you see my post?

https://xdaforums.com/t/rom-aosp-8-1-oreo-unlegacy-android-unofficial.4323203/post-85534997

You can instantly check if its working with:

adb shell

su

ip rule add from all lookup main pref 1

If your internet is working then, you could apply this automatically with my commits.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Currently doing that! Building takes 10 mins for me :p and my tab is out of juice
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
But also check it with adb, for the case that it's not working automatically on your first attempt.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Checked with adb and still shows no internet to me
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
Ok, then I will check it by my own and contact you as soon I know something.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
08-26 10:41:29.471 264 358 D ConnectivityService: NetworkAgentInfo [WIFI () - 102] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTED
08-26 10:41:29.475 264 358 D ConnectivityService: Adding iface wlan0 to network 102
08-26 10:41:29.480 137 164 E Netd : Error adding IPv4 rule: Invalid argument
08-26 10:41:29.480 137 164 E Netd : failed to add interface wlan0 to netId 102
08-26 10:41:29.482 264 358 E ConnectivityService: Exception adding interface: java.lang.IllegalStateException: command '93 network interface add 102 wlan0' failed with '400 93 addInterfaceToNetwork() failed (Invalid argument)'
08-26 10:41:29.487 137 164 E Netd : interface wlan0 not assigned to any netId
08-26 10:41:29.494 264 358 E ConnectivityService: Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '95 network route add 102 wlan0 Removed in paste' failed with '400 95 addRoute() failed (No such device)'
08-26 10:41:29.497 264 358 E ConnectivityService: Exception in addRoute for gateway: java.lang.IllegalStateException: command '96 network route add 102 wlan0 0.0.0.0/0 Removed in paste' failed with '400 96 addRoute() failed (No such device)'
08-26 10:41:29.497 264 358 D ConnectivityService: Setting DNS servers for network 102 to [/Removed DNS in paste]
08-26 10:41:29.492 137 164 I chatty : uid=0(root) Binder:137_2 identical 1 line
08-26 10:41:29.495 137 164 E Netd : interface wlan0 not assigned to any netId

Is this the error?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Also i had to revert this commit as it would complain about there being no vendor group. Just another thing that needs fixing (but later)

Also i have

E HalDeviceManager: isSupported: called but mServiceManager is null!?

earlier in logcat, this is very confusing
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
Ok this is good to know,

I'm already downloading AOSP oreo, this still could take a while but afterwards I can debug much better.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
I'm using Unlegacy-Android (which is basically AOSP for omap4 devices)

Also wdym by good to know
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
Upps oh yeah, I forgot, will resync...
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
You will need newer device tree, kernel (linked in 1st post, use wip branch), vendor will be in the source you download, and get hardware_ti_omap4 from here
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] npjohnson:
I've got nothing to do with this device, or this ROM - to top it off - I know nothing about the SoC - probably shouldn't mass ping developers randomly.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Inkypen:
Not really a good idea to randomly ping a load of developers asking for help, sure fire way to get ignored or blocked. That being said I don't have this device and know nothing of the internal hardware so I'm not sure what you expect me to bring to your table. I had a quick peek at your logs and it would appear the answer is staring you in the face: all your warnings about invalid arguments and errors about null interfaces are because "wlan0" doesn't exist. Probably something to do with the kernel driver for the WiFi module, but I can't really help you any further.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
You're quoting the wrong guy ;).
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Inkypen:
My bad, I clicked the wrong post but my message still stands. Good luck figuring it out :)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] html6405:
Thx, I think we will manage this :).
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
Sorry about that, but you seem to be right about something missing in the kernel, went through a lot of commits on devices with similar SoC/wifi chip but to no avail
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ananjaser1211:
Not familiar with this platform but it is likely to be a kernel config issue, i would look and mess with netfilter configs
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
will do, flashing it right now.

i prefer more modern versions of android (i dont like sticking to older versions of android), but im willing to try this to see if performance is alot better than others (like omni7 and this rom).

i might end up coming to this rom again if orion has similar battery life tho, since this rom did run 720p youtube (although barely, with newpipe) and ran brawl stars (a semi-intensive mobile game, usually its optimized) and well.. it managed to run "playable" but it entered some "low graphics" mode and most models werent loading. i think it detected that im using a mali 400mp and tried to not cook this tablet and enter that low graphics mode. come to think of it, it makes alot of sense. this thing has no thermal sensor, so it can, quite literally, cook itself to death.

are you using the latest version of twrp? at least for me, on espressowifi (GT-P5113), everything made for it seems to be flashing fine. if you are on the latest official version of twrp (espresso3g or espressowifi).
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] zer0_Clover:
Using twrp 3.3. Cant update because my data cable broke
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ah.

im using 3.4 so thats probably where the issue is..

you could probably buy one for cheap off ebay, thats where i got mine. i tested this tablet before that using a 30 pin iphone cable, but of course you know this tablet works already, so really you only need to get the cable from somewhere like ebay.

in any case, wish you good luck.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
im going with orion for now, but ill probably switch to oreo once it gets a proper SEPolicy.

orion seems alot faster (although i may not have waited long enough for oreo's optimization to do its thing).

i have a question tho, is it just my tablet, or can this rom not handle 1080p youtube on newpipe? im ok with watching in 720p (native resolution of the tablet), but i just want to know if it can handle 1080p youtube.

also, would battery life on this rom be similar to orion?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
The tablet has a resolution of 1024x600 (7 inch) so even enabling 1080p on YouTube wouldn't upgrade the hardware 😂

This has SEPolicy working iirc
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
i didnt know it was that low..

i thought it was in the ballpark of 1280x720, but whatever. i didnt mind that it couldnt play 1080p youtube itself, i just want better battery life and it to handle 720p video. it handles 720p video, but i havent tested for battery life.

is it comparable to other roms in terms of battery life?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
FYI 1280*720 is the 10.1 inch model. This might have been confused some of you.

Samsung Galaxy Tab 2 7.0 P3100 - Full tablet specifications

m.gsmarena.com

Samsung Galaxy Tab 2 10.1 P5100 - Full tablet specifications

m.gsmarena.com
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ah, that makes alot more sense.

i do have the 10.1" model so yeah, my native resolution IS 720p.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Mighty:
I can't comment about my battery life, it's still the same battery it was 10 years ago, so quite degraded, sorry bout that
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
well, at the end of the day, we're all using the same tablet, and mine (from what i can see at least) probably hasnt had its battery replaced. i have no idea of this tablet's history, because it quite literally was found in e-waste, but judging by the fact that someone hated this thing so much they decided to throw it away even tho it still functions pretty much fine means that this thing probably wasnt cared for enough to ever get repaired.

also, side tangent, who the hell throws away a fully functional tablet?! or a 5000$ 4k samsung tv.

who has this money.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
Well, a lot of people don't know about the custom ROMs and the Android 4.1 stock ROM is indeed, not very useful (can't install most apps, and generally slow). But I think to get rid of it, that person should at least have listed it on eBay for 10 bucks or less as an electronic picture frame instead of dumping it, so to reduce e waste.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] SanyoL:
Is there already any fix for the camera?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
Not yet
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
..no offense but uhh.. what do you need this camera for?

this camera is literally a solid 20 miles worse than the galaxy s4's camera, and that phone's from 2013..

..why in the world would anyone need this camera in 2022?

unless you want it for video confrencing? but that front camera is even worse than the back camera..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
Well is worse than the first gen galaxy S camera. (The photos are like have gone to Mars and back.) Because I mean, who will carry a 500g heavy tablet just to take some photos instead of a 200g light phone?

But it may still be useful for video conferencing though, I mean, people only look at whether you have turned on camera or not, to prove that you are here, but will not examine the quality, unless you are the main speaker that gets attention.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] SanyoL:
I'm using the camer for zoom meeteings. It's useful dispite the old camera.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
ah alright that makes more sense

exactly. especially when dslrs are getting cheap nowadays, and phone cameras are getting damn good.

yeah, plus more important is a decent microphone, which this tablet probably has? i havent used it much, i quite literally just got this tablet a few days ago..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
If you really need the camera right now you can use an older android 6.0 rom.

e.g. https://xdaforums.com/t/rom-resurrectionremix-v5-7-4.3502188/
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
orionos works pretty well too, just dont expect any decent gpu acceleration because this thing's gpu is an absolute potato
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
True, in fact, 3 hours ago when I am using the tablet it turned into literal TV static snow for 3 seconds and back to normal. That 3 seconds I jumped out of my chair afraiding that the tab is toast lol:p
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] SanyoL:
Thank you very much! I'll try it!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
this tablet's gpu is so bad brawl stars enters some sort of low graphics mode where everything is literally just squares and basic shapes (mostly black squares).

best bit? it cant even enter a real match. only a test match it was able to run, when i logged into my main account it wasnt even able to load into a real match.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] KappaTheCapper:
Looks like hardware limitations, the game probably requires something that the GPU does not have or support properly and there comes the issues.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] levider:
Yes it can handle. I watch YT on 1080p with youtube vanced, it's smooth, not laggy.

I have P3100 and use Omni6 from Andi
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] KappaTheCapper:
The tablet resolution is smaller than 1080p and you watching on 1080p?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] LR7875:
It must be actually playing on 720p but shown as 1080p.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] RDS5:
its downscaled to 720p, but it is actually playing back 1080p. i forget the actual term but it was something like "downsampling" or something that PCs use. they render an image at something like 4k and then downscale that to your resolution, which makes the image clearer.

its not snakeoil, it can actually increase visual clarity.