yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] Prowler665:
Since you upgrade to a SELinux enabled ROM a clean install is advised and you will need the latest TWRP.

If you wanna try a dirty flash you can set the SELinux context for /data by hand, but all kinds of errors might occur.

Do this while in TWRP before you reboot. You can either use "adb shell" from your pc or "Advanced/Terminal Command" from within TWRP.

restorecon -DFRv /data/

Doing a TitaniumBackup as well as a Nandroid Backup before flashing is strongly recomended.

If after a clean install you have any problems with your user-data use:

restorecon -DFRv /data/media/

A bootloader upgrade is only necessary if you upgrade from HC. All other ROMs use the ICS bootloader. So no, you don't need to flash the bootloader again.

A "dirty" flash should be sufficient. So all you need to flash is the ROM & TWRP. GApps and SuperSu are taken care of by backup-scripts. You might have to install the script for SuperSu first thou. There should be no need to restore any backups. Just make it a habit to backup your data before flashing - just in case...

Regards
[Galaxy Tab 10.1 Android Development] kioshio:
Hi! I cant install last update for my p4wifi with last two recoverys, the instalation fails. Can somebody help me, please? Log: https://www.dropbox.com/s/wc84tjkhgwa2178/recovery.log?dl=0

Thanks for this wonderful rom
[Galaxy Tab 10.1 Android Development] Prowler665:
Extracting /system
minzip: zlib inflate call failed (zerr=-3)
minzip: Can't extract entry to file.
minzip: Error extracting "/system/priv-app/SystemUI/SystemUI.apk"
minzip: Extracted 1065 file(s)

Most likely a corrupt zip-archive. Check the md5-hash of the file you downloaded - it should be

e767d1126119b3aafbdf98a27c4ab3bb p4wifi-lollipop-20150225-selinux.zip .

Google for "windows md5 hash" if you need a utility for windows.

Regards
[Galaxy Tab 10.1 Android Development] wavemaster02:
I:Copying file /cache/recovery/log to /cache/recovery/last_log

tw_get_context got selinux context: u:object_r:unlabeled:s0

I:Got default contexts and file mode for storage files.

I:Attempt to load settings from settings file...

I:Loading settings from '/data/media/TWRP/.twrps'.

I:Backup folder set to '/data/media/TWRP/BACKUPS/C1690615279175E'

I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab

I:Version number saved to '/cache/recovery/.version'

__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

I:TWFunc::Set_Brightness: Setting brightness control to 255

I:Enabling MTP during startup

I:Starting MTP

Starting MTP

I:Get_Max_FileSize::maxFileSize: 17592186044416

I:sending message to add 65537 '/data/media' 'Internal Storage'

I:Message sent, add storage ID: 65537

MTP Enabled

I:Switching packages (TWRP)

created new mtpserver object

MtpServer::run fd: 46

mtppipe add storage 65537 '/data/media'

MtpStorage id: 65537 path: /data/media

I:Set page: 'install'

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

Installing '/sdcard/Download/p4wifi-lollipop-20150219-selinux.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

E:twmtp_MtpServer::mtppipe_thread unexpected read_count 0

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

Starting TWRP 2.8.5.0 on Wed Feb 25 15:15:40 2015

(pid 118)

BOARD_HAS_NO_REAL_SDCARD := true

TW_NO_REBOOT_BOOTLOADER := true

RECOVERY_SDCARD_ON_DATA := true

I:CPU temperature file '/sys/class/thermal/thermal_zone0/temp' not found, disabling CPU temp.

TW_NO_USB_STORAGE := true

TW_HAS_DOWNLOAD_MODE := true

TW_INCLUDE_CRYPTO := true

I:TW_BRIGHTNESS_PATH := /sys/devices/platform/cmc623_pwm_bl/backlight/pwm-backlight/brightness

I:Found brightness file at '/sys/devices/platform/cmc623_pwm_bl/backlight/pwm-backlight/brightness'

I:TWFunc::Set_Brightness: Setting brightness control to 255

Starting the UI...Pixel format: 1280x800 @ 32bpp

Pixel format: RGBX_8888

Not using qualcomm overlay, 'tegra_fb'

framebuffer: fd 4 (1280 x 800)

=> Linking mtab

=> Processing recovery.fstab

I:Processing '/efs'

I:Processing '/boot'

I:Processing '/recovery'

I:Processing '/modem'

I:Processing '/cache'

I:Processing '/system'

I:Processing '/data'

I:Setting up '/data' as data/media emulated storage.

I:mount '/data/media' '/sdcard' process ended with RC=0

I:Processing '/extra'

I:Backup folder set to '/data/media/TWRP/BACKUPS/C1690615279175E'

I:Settings storage is '/data/media'

Updating partition details...

I:Data backup size is 5MB, free: 11488MB.

...done

I:Unmounting main partitions...

Just downloaded the 0225 version and it installed just fine.
[Galaxy Tab 10.1 Android Development] kioshio:
Thanks, I try it, and download the rom again
[Galaxy Tab 10.1 Android Development] Prowler665:
First of all your user-data have not been migrated to multiuser yet so you either are comming directly from HC or something went wrong while updating to ICS previously. So what exactly is your upgrade-path?

Since for some reason TWRP restarts when trying to access your user-data I guess the easiest way would be to flash the ICS-stock ROM via odin to get a clean start and upgrade to LP from there. You should get it here. Make sure to backup your user-data first.

Have a look here for a step-by-step guide on how to upgrade your tab if comming from stock HC or jump to here if already on ICS.

Regards
[Galaxy Tab 10.1 Android Development] wavemaster02:
I started out a few days ago on CM 4.1.1.

Did a wipe.

Installed TWRP from the link in the OP.

Then I tried 0219 version and the log from my reply is part of that.

Today I download 0225, that installed fine. LP is up and running.
[Galaxy Tab 10.1 Android Development] Prowler665:
For whatever reason according to AnTuTu the performance dropped to an average of ~14.500 (dropping to ~12.000 at the worst run) compared to ~17.000 for the previous ROM (~17.200 on F2FS). I don't see any obvious candidate for this thou... (OC 1.4 GHz, interactive/bfq)

Did you have time to take a look at the CM-code for macloader? This might be an opportunity to get rid of yet another blob ;)

Althou I'm not sure what the cid-file is about...But it might be a good base.

Edit:

The cid-file is used to store the manufacturer of the wifi-chipset. This seems to be the only purpose of CM's macloader, so I guess it won't be a drop-in replacement...

I really don't see why macloader should be able to change ownership on "/efs/wifi/.mac.info" so it would have been nice to get rid of this blob and replace it with some clean open source code...

A little OT, but this Tegra 2 TRM might be handy too...

Regards
[Galaxy Tab 10.1 Android Development] no3gra:
keyboard problem

need help:

i can instal this rom p4-lollipop-20150225-selinux.zip and previos. i already wipe all but not internal storage n work fine after reboot.

the problem show when i instal gapps for lolipop why keyboard doesnt show up when i wanna wrote like password or messege .

but before instal it work fine. i already klik botton on keyboard hardware. it just me or anyone have same problem?

thanks
[Galaxy Tab 10.1 Android Development] armidaamica:
No G+

Great Rom, so far works quite smoothly :good:

I cannot, however, install G+, neither from Play nor using the APK. Anybody has a suggestion? Thanks...

Ah, other thing, I wonder if we'll be ever able to use this tablet with this ROM to make phone calls...
[Galaxy Tab 10.1 Android Development] eushaun99:
Use the gapps from OP, not any other gapps.
[Galaxy Tab 10.1 Android Development] ENRIQUEMM:
google+

To work full install google + lp gapps , not the minimum and google + is installed ...
[Galaxy Tab 10.1 Android Development] armidaamica:
Yep, like this it worked ;)

Strange, however, I couldn't install just that,....
[Galaxy Tab 10.1 Android Development] dillfever:
Was on BeeGee ROM now this LP ROM and must say I really like.... smooth fast and no problems so far, +10 for this ROM tanks
[Galaxy Tab 10.1 Android Development] EdeNBaruch:
Crashes, Automatic restarts and very buggy.

Going to the CM11.
[Galaxy Tab 10.1 Android Development] Just_Another_N00b:
Sorry to see you go

Are you sure you followed all the steps of the OP correctly and installed the correct product? Most people have little or no issues with this ROM. I have been using this for quite some time, and other than some generic LP-related issues in previous versions (like memory leak) the ride was smooth and pleasant.

But, the good news is, that, if you do not like this one, there are many other products you can set up on this tablet. This ROM, and I have tried all of them, is the best I have seen until now, closely followed by the Omni ROM 5.0.2... You could try that one if you would like to stay on LP.
[Galaxy Tab 10.1 Android Development] Prowler665:
Very constructive post. Given the information supplied I'd suspect the problem is within the range of 20" around the touchscreen.

<*((((><

Regards
[Galaxy Tab 10.1 Android Development] xonelith:
Wow... I literally laughed out loud.
[Galaxy Tab 10.1 Android Development] Just_Another_N00b:
For PC's and the like it would be PEBKAC, don't know any tablet-equivalent, but your assessment is very accurate. Thank you for the clear answer.

--- EDIT ---

My guess is for tablets it could be referred to as PEBTAC...

Spoiler:

For the less-informed: Problem Exists Between Keyboard and Chairback. Not as bad as an ID10T problem
[Galaxy Tab 10.1 Android Development] Mazzarion:
Question

A big sorry. But could you please tell me what should i download and install now? Was 1 file, but now they are 3. So what should i donload and install. Explain me please or give a link.

p4wifi-lollipop-20150225-selinux.zip

p4wifi-bootimage-20150225-permissive.zip

p4wifi-bootimage-20150225-enforcing.zip

Thank you in advance!
[Galaxy Tab 10.1 Android Development] Just_Another_N00b:
If you have a p4wifi you only need to load the first file you mentioned above, together with the gapps minimal selinux zip and Supersu zip.

When coming from another ROM you need to do the "deep clean", otherwise just "dirty flash" and clear cache.

Even the gapps and Supersu are optional when doing the "dirty thing" dance.

The p4wifi lollipop selinux zipfile already contains the permissive bootimage, which is like the old way before the selinux option. The enforcing bootimage is for when you would want to try out the selinux itself. But, when going for that option, you will need to flash like coming from another ROM as the filesystems will be different because of the security-labels add-on.

Hope this clears things out. OP and second post should give you enough, but the selinux stuff can be found throughout this thread. Methinks the OP should be cleaned up a little/expanded to explain selinux a wee bit more (on what is needed and what is optional). Your post is proof of that.
[Galaxy Tab 10.1 Android Development] Mazzarion:
Thank you for good answer! I have p4, so i need only first file?

Yes, topic starter should make things more clear to understand what is needed and what doesnt.

Thank you again!
[Galaxy Tab 10.1 Android Development] Just_Another_N00b:
If you have a p4 (P7500 with GSM), then you will need the p4* files, NOT the p4wif* files (some are dedicated, one is generic [Supersu]).

But you MUST have a custom recovery set up first if not yet done, as the standard recovery by Samsung cannot load these zip-files. There are quite a few threads at XDA on how to do that.

The TWRP selinux as mentioned in the OP is what you need to get installed BEFORE attempting to load the ROM as you will need to locate and load the zip-files from non-standard locations.
[Galaxy Tab 10.1 Android Development] orkan95:
Sorry, I still haven't got it. I'm still on the build of Feb, 8th (p4,3G version) and just want to dirty flash the most current version. Dirty as I can't get my settings to be restored after a blank installation. What file do I need to use?

Btw: I have twrp2830-p4_experimental-20150101
[Galaxy Tab 10.1 Android Development] Prowler665:
A "dirty" flash is

NOT

recomended since you upgrade to a SELinux enabled ROM. Have a look here if you wanna try anyway.

The ROM has SELinux enabled in "permissive" mode by default and the bootimages are provided only to switch the mode from "permissive" to "enforcing" and vice versa in a convenient way. So all you need is p4-lollipop-20150225-selinux.zip and the latest TWRP.

Regards
[Galaxy Tab 10.1 Android Development] orkan95:
Ok, thanks. I will NOT experiment with a dirty flash. This will probably cause more work. Any idea how I can get my apps and settings back after a clean installation?
[Galaxy Tab 10.1 Android Development] Technical:
In this order (imho):

1. Titanium Backup.

2. Rom Toolbox.

3. Helium.
[Galaxy Tab 10.1 Android Development] Prowler665:
Use TitaniumBackup for your user-apps as well as account, wifi and APN-settings. Hit the checkbox like icon next to menu and you will see predefined batch-jobs. You can use backup system & user-apps, but make sure to restore only your user-apps & settings via the batch-job and select account, wifi and APN-settings by hand - otherwise you might mess up your system.

To make things easier download the TitaniumBackup.apk and store it on your tab. This way you can install it right after the initial setup and restore everything else from there.

Regards
[Galaxy Tab 10.1 Android Development] thomsontam:
Thanks for the ROM! This one a lot faster than Stock rom and I cannot believe my tablet can be this SMOOOOOOOOOTH!

Just a quick question, if I will not use 3G function, can I install P4 Wifi so I can totally disable the 3G module rather than keeping on Flight Mode?
[Galaxy Tab 10.1 Android Development] tpsnjs:
Hey I can answer this question.

I have the 7500, and you certainly can install the P4Wifi Rom.

In fact I've only ever used the P4Wifi roms.

You're right about this Rom, it is quite amazing.

Cheers
[Galaxy Tab 10.1 Android Development] VagabondZ:
Dear Decatf,

Thanks for the ROM, it's great, smooth and fast. Everything is ok but my tab doesn't work 3G (cellular network).

I installed:

twrp2850-20150222-p4_experimental.zip

p4-lollipop-20150225-selinux.zip

p4-bootimage-20150225-permissive.zip

gapps

Pls help me this issue, thanks and hope u have a good time! :good:
[Galaxy Tab 10.1 Android Development] Prowler665:
Have a look here.

...and you installed the ROM and both bootimages ? ...forget about it ;)

It seems like this is really confusing for the novice... So again, the ROM has SELinux enabled in "permissive" mode by default and the bootimages are provided only to switch the mode from "permissive" to "enforcing" and vice versa in a convenient way. So all you need is p4-lollipop-20150225-selinux.zip, GApps and SuperSu - plus TWRP of course.

Regards
[Galaxy Tab 10.1 Android Development] rmvw:
When you do a factory reset in TWRP do you have to wipe/format internal storage as wel ?

I'm now on build P4 8-2 and want to go to build P4 25-2
[Galaxy Tab 10.1 Android Development] Prowler665:
No. The only reason to wipe internal storage would be changing or reformating the FS.

Regards
[Galaxy Tab 10.1 Android Development] decatf:
Anyone run into problems with F2FS?

I ran into an error on mine resulting in total data loss. The filesystem check did not detect any problems but it kernel panicked on checks in the F2FS code during boot. I had to flash back to stock ROM with Odin to recover since TWRP wouldn't boot either. I am running an unreleased kernel with a lot of changes but none directly in F2FS so I don't know if any of those changes caused it. I think f2fs.fsck is not completely reliable yet.

If you're using F2FS back up your data and go back to EXT4.

I get around 13,000 at 1GHZ with CFQ. The biggest factor I've noticed with Antutu score is the storage benchmark. I have not noticed such a large drop that you mention though. I know one big improvement comes from dynamic fsync (/sys/kernel/dyn_fsync/Dyn_fsync_active). When I disable that the storage score drops and the overall score is around 11,000.

This storage for this tablet seems to be as bad as the Nexus 7 2012 that so many people complain about. On top of that we do not have TRIM enabled because of the brickbug.
[Galaxy Tab 10.1 Android Development] Prowler665:
It seems like F2FS was the culprit for the performance issue too. I still had /cache on F2FS and after reverting to ext4 the performance was back to the usual range... This was a little unexpected since the initial tests with F2FS showed the best performance for the tab yet and the main differences were in the single-thread performance...

For everyone who want's to migrate back to ext4, here are some hints.

Regards
[Galaxy Tab 10.1 Android Development] gunner33333:
Do you recommend using those exact same commands that you previously suggested after the ADB pull/push and reformat to ext4?

echo "3" > /data/.layout_version

chmod 600 /data/.layout_version

chown -R media_rw:media_rw /data/media/

restorecon -FRv /data/media/

reboot
[Galaxy Tab 10.1 Android Development] Prowler665:
Sure, it's the same scenario ;)

Most likely your user-data have been migrated to multiuser already (/data/media/0). Setting "/data/.layout_version" simply informs android about that. In a first-start scenario (Factory-reset) android is checking for this file. Without it your data will be migrated to multiuser again and end up in "/data/media/0/0"... In a normal wipe the custom-recovery is restoring this file to prevent this.

If on the other hand you want your data to be migrated, simply skip this step.

ADB is runnig as root while restoring the files so you will have to set the correct owner for "/data/media".

Setting the SELinux context is optional since the right permissions should have been set while copying the files - but it doesn't hurt.

Well, "reboot" is doing exactly what it sounds like ;)

Regards
[Galaxy Tab 10.1 Android Development] honhan0904:
What is your SOT on this rom?? Why my tablet always only reach 2h~2h30m. Overclocked min 312 max 1400, enabled kernal same-page merging.
[Galaxy Tab 10.1 Android Development] decatf:
I don't know to be honest. I rarely use mine off the charger. What was your SOT before?
[Galaxy Tab 10.1 Android Development] honhan0904:
I think it usually 4h~4h30p with overclockeda and kernel same-page merging enabled in previous OS.
[Galaxy Tab 10.1 Android Development] honhan0904:
The previos Rom i have used is Android 4.4.4 by Beegee and CM11 by twa_priv. They have the same SOT 4h30 usually. Is there something problem with my battery or it just Rom bug?
[Galaxy Tab 10.1 Android Development] Prowler665:
Very nice performance, looks like BFQ got quite a polish together with the other fixes and updates :)

...for the AnTuTu-score: OC 1.4 GHz, interactive/bfq...

Regards
[Galaxy Tab 10.1 Android Development] zvranic:
Just to confirm:

I don't have to do a factory reset if I already have earlier version of this ROM (19.02)? Right?
[Galaxy Tab 10.1 Android Development] xonelith:
Is there some way to change the hostname? Or will I need to install Trickster to do this?

Thanks! Been using this ROM since you released it :good:
[Galaxy Tab 10.1 Android Development] Prowler665:
If you already have a SELinux enabled ROM - starting with Feb. 12'th - simply "dirty " flashing the ROM-file only should be sufficient. Just wipe cache & dalvik cache and you should be fine. I'd suggest doin' a Titanium & nandroid -backup before flashing any ROM thou... Just in case.

Regards
[Galaxy Tab 10.1 Android Development] gunner33333:
wow! My Antutu benchmark on this ROM is 13670. Where my scores most differ from yours are Multitask and Runtime. If you're not overclocking, and I'm not, then I must be doing or have done something wrong. Any suggestions for a fix? Reformat?

Also note that I'm using the p4wifi and you're using the p4
[Galaxy Tab 10.1 Android Development] Prowler665:
Using getprop/setprop will temporarily change the name for your device.

setprop net.hostname your_desired_hostname

...veryfy...

getprop net.hostname

You can do this via "adb shell" or terminal. Restart your wifi to activate the new name.

For a permanent change you could add "net.hostname=your_desired_hostname" to "/system/build.prop"...

su
mount -o remount,rw /system
cp /system/build.prop /sdcard/build.prop.backup
echo "net.hostname=your_desired_hostname" >> /system/build.prop
mount -o remount,ro /system

I didn't test it, but it should work ;)

Just a little MHz-magic ;)

Overclocked to 1.4 GHz and I/O scheduler set to bfq...

If you wanna try it you're on your own -

do this at your own risk

:D

Regards
[Galaxy Tab 10.1 Android Development] decatf:
Were you checking Disable HW Overlays before? Because checking that will use a slower but lower power consumption rendering method. Also the bug that broke HWC rendering exists in twa_priv CM-11.0. So the CM-11.0 ROM for this tablet was effectively always running in the Disable HW Overlays mode. This bug did not exist in Nameless ROM though.

He is overclocking to 1.4Ghz Your benchmark score is normal for 1Ghz.
[Galaxy Tab 10.1 Android Development] Osirus71:
What are you using to Overclock????:confused:

Thanks.....
[Galaxy Tab 10.1 Android Development] kioshio:
[MENTION=2817365]Osirus71[/MENTION] Use this app

http://xdaforums.com/showthread.php?t=3021092 ?
[Galaxy Tab 10.1 Android Development] Prowler665:
No-frills. Whenever I can I use the f-droid repo. Have a look here ...

Regards
[Galaxy Tab 10.1 Android Development] xonelith:
I prefer Kernel Adiutor. It's on xda too:)
[Galaxy Tab 10.1 Android Development] HaMaHe:
Hi people, I was wondering how this ROM compares to the nameless 4.4.4 ROM. Does anybody have experience with both?

Thanks!
[Galaxy Tab 10.1 Android Development] Skippernl:
I find this rom faster and netflix and maps are working

It is still in early stages but i am not going back to kitkat
[Galaxy Tab 10.1 Android Development] HaMaHe:
I use my tab a lot with Spotify and a Bluetooth speaker (JBL Flip2). Does that work in this ROM?
[Galaxy Tab 10.1 Android Development] Skippernl:
Sorry do not know not using bt on this tab
[Galaxy Tab 10.1 Android Development] ENRIQUEMM:
I've tried both and nameless rom is very fluid , since this have not changed flashes . Currently working to my liking. Very smooth and stable ext4 .
[Galaxy Tab 10.1 Android Development] CraigWiggins:
I use Spotify and BT Memorex speaker. It generally works well. I had some random volume adjustments and the BT audio would drop out completely for awhile, but that settled down about 3 updates ago. Very smooth since.
[Galaxy Tab 10.1 Android Development] bobtelco123:
Netflix?

I'm new to this ROM.

Everything is working fine for me except NETFLIX.

The app load and then goes to the red circle ... but then it fails to connect to the netflix service

is there any way to get NETFLIX working on this ROM?

I have the 20150305 version for P4
[Galaxy Tab 10.1 Android Development] cmetz:
In the OP, Encryption is specifically called out as working. I just installed the 3/5/15 version on my p4wifi (7510) with a fresh wipe data. I then start it up and go to Settings -> Security and set Screen Lock to a Password, go to Encrypt Tablet and hit the Encrypt Tablet button, enter my password, and hit Encrypt Tablet again. The wireframe unlocking Android icon comes up briefly, then the Lollipop android boot animation, and then I'm back at my launcher screen.

EDIT: Found the answer in an earlier post, but it didn't work exactly as posted. With 3/15/15 boot/system and TWRP 2.8.5.0 recovery, the trick is to create the data filesystem in TWRP as follows:

make_ext4fs -l -16384 /dev/block/mmcblk0p8

OP, Is there a way to make TWRP do this by default, and is there a way to make the system encryption fail with an error if this isn't done?

Thanks - this ROM is great work!
[Galaxy Tab 10.1 Android Development] CraigWiggins:
Hmm. Netflix was working prior to 0305. I have beennhaving thesame problem, butvhad changed SO many things with that update that I wanted to rule those out first. Log file.