yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] DaDiablo:
Hey Andi,

First of all, thank you for the great rom!

What I wanted to ask you .. is it possible to change the places on the "Back button" and "Recent apps" like they are on the original samsung roms. And like you made it possible in the last CM11 rom.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Alessandrotischer:
I'd like also to have arrows on the navbar when using the keyboard
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
A Request:

Thank you Andi. A request:

I remember you talked about some AV patches and added it in older builds. It did RESOLVE the issues with 1080p playback and all videos worked perfectly:

http://xdaforums.com/show...&postcount=953

I am facing lagging issues with 1080P video playback. May I request you to add this AV patch again in the latest build?

Thank you.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] VitorGalaxy:
Netflix app does not work is only charging when I choose something to watch. Help me.

GT-P3100

Sorry my English, google translator.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] @roKiLL:
Read the top of this page.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] VitorGalaxy:
Yes , I read and did the editing as explained here but still did not work. I'm using the latest version of the SlimLP GT-P3100
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] webdroidmt:
Thanks again, this fix of editing "adaptive playback" in the xml file also works on my Nook HD+ running LP. :) I also clicked a thanks for @stargo for his commits.

Btw, Netflix works even without the drm libs committed by @stargo. I tried this on both my Nook HD+ and my wife's Gtab with an older Slim version and it worked just by editing that xml file.

Again, terrific work and glad you're still here. ;) :D

Mike T
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] putr4s:
I've just tried changing my screen lock to pattern, reset trusted face and set it up again. Nothing crashed. That was on CM12 build 20150206, in case that matters.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] devarshi84:
Hey Andi, Thanks for the great work. But I have faced an issue with Philz Recovery. Now my recovery says that my tab is P3110 (its P3100). I did successfully flash SLIM LP for P3100 but now Rashr shows recoveries only for p3110 and I cannot flash Mokee Lollipop for P3100. If possible I would prefer to skip installing the stock rom and then re rooting the device. Please suggest.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Android-Andi:
[MENTION=6027846]devarshi84[/MENTION] then you flashed the wrong recovery.

Flash p3100 recovery using odin and you'll be good to go.

Send from OnePlus One using Tapatalk
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] andrefly:
How to get root acces on the latest build? I tried the ezee.zip but it stuck at the bootanimation
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Tight Git:
Have you enabled developer settings (7 taps on build number in about tablet ) then developer options root access apps and adb?

HTH
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] doomalikaw99:
Need a clarification: should I wipe cache partition when updating ROM or just dalvik cache?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
+1

I am facing the same issue too. I even tried chainfire SU flash which gave the same results.

I restored my backup for the latest build. However, lost root.

Hopefully, someone will help here, how to get root back for the latest build.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] doomalikaw99:
Tried enabling it via developer options?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
Yes, I did; however, it did not help :(
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] motisu:
The only conclusion that I can make is that there is a difference between the P3100 and the P3113. I again wiped all and installed the CM12 from 0206 and then installed the Slim mini Gapps. Trusted face still crashes.

I would like to confirm this if possible by someone with a P3110/P3113 being able to repeat the crash. Until then, we can't be sure that it isn't only on my unit. If it is confirmed, that at least we know where the problem is.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] wolfpacknwo:
For those who want to root the device, follow this steps:

1. Enable Dev Options

2. Enable root+adb

3. Get zip from here

4. Flash it and reboot.

This is how i`ve done it and it works like a charm.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
Will try it tonight and would let you know if it works fella :)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] andrefly:
Ok thanks, it's worked ?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Haanrii:
Nice performance boost and battery life improvement over stock JB ?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] silverstream:
May I know how do I enable battery percentage ?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] softtechiez:
U can use enable battery percentage app in play store.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] chadmasta5:
I am unable to install the latest version on the p3110. I get a status 7 in cwm.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] softtechiez:
Update your recovery cwm to 6.0.5.1
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] chadmasta5:
That's what it's on.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] doomalikaw99:
? :crying:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] InsaneCricket:
Errors when installing

Hey guys, I just installed the rom and I followed the instructions exactly

Wiped dalvik, cache, system and data, flashed rom and flashed gapp.

After reboot it did the android is upgrading thingy and when it finished i had the error "Unfortunately, setup wizard has stopped" appear a couple of times and can only see a screen where is says "Your recent screens appear here"

Versions installed:

- Slim-p3110-5.0.2.alpha.0.94-UNOFFICIAL-20150214-2140

- Slim-Addons-normal_gapps.4.4.4.build.9-20150107

How can I fix this? Thanks in advance :)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] putr4s:
I usually wipe the cache partition along with dalvik cache when updating the ROM.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] sinisthro:
Use 5.0 beta gapps
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] InsaneCricket:
Could you give me a link for it? I cant find it on the Slimroms site
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
I do not if this would help. However, you can find the up to date GAPPS from the following link:

http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900

Please let us know if this worked :)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] InsaneCricket:
Fixed it completely! :D Tnx for the help
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
Sweet, its amazing :) Enjoy the new ROM fella :good:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ech68:
I see the same problem with the latest SlimLP and mini gapps installed on my P3113. (fully wiped before installing)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] fooiskandar:
Trying to update your cwm or try to remove assert tag code on update-script ...
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Android-Andi:
Recovery for wrong device (P3100?), or wrong rom(p3100?)

Send from OnePlus One using Tapatalk
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] motisu:
Thank you for the confirmation. At least now I know that it isn't just my P3113. (misery loves company:crying:)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] chadmasta5:
All are correct but it is saying I need to do a data wipe even though I am installing over a previous version of slimlp.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Android-Andi:
Wipe system, cache and dalvic before flashing, flash gapps after rom.again.

Send from OnePlus One using Tapatalk
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] scyclone:
Official SlimLP

I know this is probably a ETA thing but are we going to get Official SlimLP for our tab 2? I mean it's old and all but i just want to see if we are likely or gonna get it/not get it etc.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Writenow:
It is not likely that there will be an official SlimLP. You are absolutely correct that the galaxy tab 2 is an old device. That being said, we should be very grateful for the amount of work and dedication that has been shown to the development of ROMs for this device. So this is likely the best we will have. Note that there are other lollipop ROMs for the GT 2. I have this one installed on my p3113 and can say that it is very stable right now.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
+1

Agreed, We should be grateful to [MENTION=5153662]Android-Andi[/MENTION] for cooking the latest ROM for our OLD devices :good: :highfive:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ralston:
question

I read on a previous page we should flash d the new recovery.. And it stated that it can be done through recovery no need for a PC...

My question is if I am coming from quite an old philz recovery to the cwm... Can I still flash it through recovery?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] putr4s:
You should still be able to do that without problems.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
Here is a flashable zip file that will automatically apply the Netflix patch so you dont have to do it manually.

cm-12-h264-adaptive-playback-signed.zip

#!/tmp/busybox sh
/tmp/busybox sed -i '/OMX.google.h264.decoder/{n;n;n;n;n;n;n;/adaptive-playback/d;}' /system/etc/media_codecs_google_video.xml

The code is designed so that the patch can not be applied twice on accident.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] kenundrem:
Face Unlock sets up just fine and works without a problem on my gtp3113. It pretty much always worked for me though.

Sent from my XT1034

---------- Post added at 10:23 PM ---------- Previous post was at 10:21 PM ----------

Face unlock works as expected for me on my gtp3113.

Sent from my XT1034
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] motisu:
Now I am truly confused. How can it be that on 2 units it doesn't work and on the 3rd on it does? AFAIK we are all doing completely clean installs and yet there is a difference. Can anybody think of a logical explanation?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] putr4s:
This is the second time I saw this kind of anomaly happen. The first was on my old tablet, after I flashed and booted into an ICS rom for it, it asked for an encryption key, but I've never encrypted it before. Weird stuff.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] jak978:
on beginning era of LP ;), thanks to Andi

Every time restoring kitkat nandroid, tab shows encryption process on first boot and failed, got to do force reboot and tab working fine afterward.

no idea what's the causes, perhaps due to default LP is art n encrypted, never really know :confused:
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] fastlane765:
I'm back again Android-Andi... been lurking in this thread in a while, then played around with your latest build... Man, this works like charm... I just did the usual things when we are testing your builds back way on SlimKat... been using your build for a bout 5 days now I think...Never had any problems., everything I use works as it should...

Thanks a lot!
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] ech68:
gapps version? I used the latest _mini_ gapps for LP from the slimroms website. Perhaps the working setup used a different gapps?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
For all, looking for latest up to date GAPPS from the following link:

http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900

Please let us know if this worked :)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] motisu:
I usually use the PA gapps version from Tkruzze and I tried this as well as the Dankoman slimGapps version. Same result with both of them; Trusted face crashes. It must be something else.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] + = Bunty = +:
Kwel :):)
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
In order to use lollipop, the omap4 drivers have gone to an open source version for p31xx. If I recall, the camera drivers are slightly different between p3100 and p311x. My guess is that there is a problem in the open source omap drivers.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Android-Andi:
[MENTION=5227588]Deltadroid[/MENTION] we only changed the name of the blob and the line to detect it in camerawrapper. Same blob and wrapper on all 7".

We aren't using the OpenSource camera blob and domx - this would need a lot of debugging :P

Send from OnePlus One using Tapatalk
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] motisu:
What is even more strange is that the camera app itself does work.. Even Google Camera works without any problems. Really strange..
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Android-Andi:
[MENTION=293957]motisu[/MENTION] did you use any other kernel? Camera works just fine on clean flash without gapps here.

Send from OnePlus One using Tapatalk
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] mario_roman:
Hello friends

I'd like to know what are the main bugs today, because I think the section of bugs reports isn´t updated and I don't know if I can use this ROM in the day-to-day.

Also, sorry if I speak English badly.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] shsagnik:
This ROM don't bugs, It is bug free for normal users

My English is not bag I intentionally typed like that so you can understand [emoji1]
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] mario_roman:
OK, thank you very much, now I'm going to install it.

Thanks:o:o
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] warren021:
Can I install xposed after I flash this ROM. And does TiBu is working in this ROM?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] shsagnik:
Yes it's working without any boot loop
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] motisu:
No, I am using both ROM's (SlimLp and the CM12) straight with no modifications. As I stated above, Camera works fine, both the built in and the Goggle app in the PA Gapps stock package. The problem is specifically with Trusted Face, not Camera. AFAIK, Trusted Face is not part of the base ROM so there is no way for me to test it without any Gapps. If I had it as a stand alone install, I would give a try of installing it only immediately after a clean Rom install without any Gapps.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] bebez:
anyone have miscellaneous battery drain? can i know how to fix it?

http://tinypic.com/r/2ihwd9f/8
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Android-Andi:
Disable ok google. Turn off wifi during sleep.

Send from OnePlus One using Tapatalk
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] shsagnik:
You can also save battery by using some darker pro theme
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] bebez:
thanks sir , i'll try it
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] lokesh.3440:
Try downloading wakelock detector app from play store and see which app is keeping your device awake all the time
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
Trying to get this done. I have the Slim-p3110-5.0.2.alpha.0.94-UNOFFICIAL-20150214-2140.zip ROM installed, with the Slim_normal_gapps.BETA.5.0.x.build.0.x-20150221-486.zip installed. I enabled root mode via tapping build # 7 times, then going into Developer options and enabled root for Apps and ADB. I flashed the cm-12-h264-adaptive-playback-signed.zip - no joy. And, when I view the file, it still has the "adaptive playback" line. Does this file only work with the CM ROM? If it's supposed to work with both, then I suspect the sed line is at fault (haven't checked, but it might be looking for too many or too few lines after finding the key, and before finding the "adaptive playback" line - so the sed command fails on the Slim ROM).

I can access the XML file via ES File Explorer (what I've used for a few years), but can't enable root mode on it (get a "failed" message). I'm assuming that this means ES File Explorer doesn't work with Lollipop and it's root access (although it worked with 4.4.4).

So - what do I use to edit and save the file? And what "File Explorer" works with this ROM?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
Hmm, I've tested the sed command on my Linux box and it works. Could there be a problem with the version of busybox that I included? Can anyone confirm?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
You've tested with that version of SlimROM? Or only the CM ROM? Just curious, as there might be a slight difference in the XML file between the two.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
The xml should be the same.

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

Perhaps that sed command is too complex for busybox. I could try a simpler command, but it would not be as full proof.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
Ok, been a while since I've used busybox, but can you use "-f" to feed the command from an input file?

Don't have Linux handy, but did run it on a Mac with their sed, and it worked, but I had to tweak the command line to accept the input. I cannot use the "-i" with sed there. I get "-i may not use with stdin".

And, if by what you meant by "running it on Linux" means you ran the Linux sed, busybox and Linux commands ain't the same. busybox is a subset of commands, and several command line options for the various commands are different. And there are lots of busybox variants running around. So unless you are running the exact same busybox, YMMV.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
Yes,I think the command is too complex for the sed built into busybox. I'll make one without the regex. I think the regex is the problem.

---------- Post added at 07:21 PM ---------- Previous post was at 07:18 PM ----------

Instead of regex, I'll just tell sed to look for the line in between certain line numbers.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
That could be. Could always rename the file to ".sav", then run the sed on that and output the .xml too. All too often, the "old ways" work, since they are simpler and don't involve command switches that might, or might not work as intended.

---------- Post added at 12:32 PM ---------- Previous post was at 12:22 PM ----------

Been a while since I've seriously used sed, but as I recall, the line number option ONLY printed those lines within range - not changed those lines within range....

awk might be a tad more hairy, but you could use a "3 line" match:

<MediaCodec name="OMX.google.h264.decoder" type="video/avc">

<!-- profiles and levels: ProfileBaseline : Level51 -->

<Limit name="size" min="2x2" max="2048x2048" />

<Limit name="alignment" value="2x2" />

<Limit name="block-size" value="16x16" />

<Limit name="blocks-per-second" range="1-983040" />

<Limit name="bitrate" range="1-40000000" />

<Feature name="adaptive-playback" />

</MediaCodec>

Look for those 3 lines, and only output the first two lines.... They should provide a unique match. I'll have to dust off some brain cells.....

---------- Post added at 12:42 PM ---------- Previous post was at 12:32 PM ----------

Ok - this worked on the command line:

sed -e '43d' media_codecs_google_video.xml

It deletes ONLY line 43, which is the offensive line (never a process I needed to do - it was always altering words, or using regex to find the matches). This does mean, however, that the file needs to be an exact match across platforms. It also means that busybox (the one installed in the ROM), obviously would have to provide this command line option for sed (and it means the same thing).

I have NOT been able to use the "-i" command as part of the command line on a Mac. I know there are some differences, but it simply won't accept it, UNLESS I used this as the command line:

sed -i "" -e '43d' media_codecs_google_video.xml

That leaves a "NULL" extension for the output, so it will change the file in place. Wondering if the problem was that you provided the "-i" with nothing to complete it's requirement to give it an extension, so the command was failing? So you might try the one I've bolded above....
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
The "-i" switch is required to actually edit the file, otherwise no changes will be made.

The 43d option works, but a small range might with better.

How about,

sed '40,60{/adaptive-playback/d;}' media_codecs_google_video.xml
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
That can work, as long as there's not another "adaptive-playback" string within that range.

And, while the "-i" does "edit", it's really more of a "change in place" - not the normal operation for sed: http://www.grymoire.com/Unix/Sed.html#uh-62h

That explains the command, and, I found, the reason I have to supply an option to the "-i" command. It's a BSD-thing (OSX is derived from BSD).

---------- Post added at 02:04 PM ---------- Previous post was at 02:02 PM ----------

Meanwhile, could someone answer my other questions - what File Explorer/Manager to use with this version of the ROM, and what text editor may be used that provides root access, so I can edit other files, if necessary? Or a basic shell that I can use and gain root access and use "vi" (via "su vi <file to edit>)?
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
I will make the range a little smaller than the example I just posted, but I think that is our best option.

This time I will make sure and test the command with busybox also. The flashable zip contains busybox, so it should be fine across platforms. I'll post a fix in an about hour or so.
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
I'll be waiting :D
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] Deltadroid:
Ok... I've done some testing and the problem seems to be with busybox and not the sed command with regex.

shell@v500:/sdcard/Download $ sed -i '/OMX.google.h264.decoder/{n;n;n;n;n;n;n;/adaptive-playback/d;}' media_codecs_google_video.xml
shell@v500:/sdcard/Download $ diff -u media_codecs_google_video.xml.orig media_codecs_google_video.xml
--- media_codecs_google_video.xml.orig
+++ media_codecs_google_video.xml
@@ -47,7 +47,6 @@
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="1-983040" />
<Limit name="bitrate" range="1-40000000" />
- <Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc">
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->

So, this proves that it works with the CM12 busybox. I must have included an older version of busybox in the first zip file, because the updated version of busybox works fine with the current sed command with regex.

I've updated the flashable zip with a newer version of busybox and it should be ok now. Please let me know.

cm-12-h264-adaptive-playback-2-signed.zip

diff -ru cm-12-h264-adaptive-playback-signed cm-12-h264-adaptive-playback-2-signed
Binary files cm-12-h264-adaptive-playback-signed/run/busybox and cm-12-h264-adaptive-playback-2-signed/run/busybox differ
[Galaxy Tab 2 (Unified 7" + 10.1") Android Developm] tundrwd:
Yep - checked the file, and the adaptive-playback option is no longer there. Loaded up the latest Netflix, and it started playing. Thank you very much!

Now - can anyone answer the question as to which File Explorer/manager that would be better suited to Lollipop now that ES File Explorer seems to have a few options that are now 'dead', as well as what file/text editor (allowing root access) would work best? Thx.