[Galaxy Tab 3 General] r2d23cpo:
I forgot to mention, there is an issue with USB. When hook to USB it does not allow me to se the Internal and external SDCARDs.

Now I went to Ubuntu and find that lsusb show

Bus 003 Device 106: ID 18d1:4ee7 Google Inc.

That is wrong. I check the initramfs and it seesm ok. init.rc

**
import /init.usb.rc
import /init.${ro.hardware}.rc
**

init.usb.rc is the one that is assigning

***
on property:[COLOR="Red"]sys.usb.config=adb[/COLOR]
# write /sys/class/android_usb/android0/enable 0
# write /sys/class/android_usb/android0/idVendor 18d1
# write /sys/class/android_usb/android0/idProduct [COLOR="Red"]4EE7[/COLOR]
***

So as you see sys.usb.config=adb

That gave me the idea to check default.prop.

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=1
ro.opengles.version=131072
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=512
ro.hwui.texture_cache_size=24.0
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote32
ro.dalvik.vm.native.bridge=libhoudini.so
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
persist.sys.usb.config=[COLOR="Red"]none[/COLOR]

so I changed to

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=1
ro.opengles.version=131072
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=512
ro.hwui.texture_cache_size=24.0
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote32
ro.dalvik.vm.native.bridge=libhoudini.so
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
#persist.sys.usb.config=none
persist.sys.usb.config=[COLOR="Blue"]mtp,adb[/COLOR]

But it does not work. No mater what i do it always show "persist.sys.usb.config=adb".

I did many test. In fact i spent 3 hours. No lock. So at the end I did change init.usb.rc and change it commented the blue and added the red.

# adb only USB configuration
# This is the fallback configuration if the
# USB manager fails to set a standard configuration
initon property:sys.usb.config=adb
[COLOR="Blue"]# write /sys/class/android_usb/android0/enable 0
# write /sys/class/android_usb/android0/idVendor 18d1
# write /sys/class/android_usb/android0/idProduct 4EE7
# write /sys/class/android_usb/android0/functions ${sys.usb.config}
# write /sys/class/android_usb/android0/enable 1
# start adbd
# setprop sys.usb.state ${sys.usb.config}[/COLOR]

[COLOR="Red"] write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 0x04e8
write /sys/class/android_usb/android0/idProduct 0x6860
write /sys/class/android_usb/android0/functions mtp,acm,adb
write /sys/bus/pci/devices/0000:00:02.3/sdis 1
write /sys/class/android_usb/android0/enable 1
start adbd
setprop sys.usb.state ${sys.usb.config}
setprop persist.sys.usb.config mtp,adb
setprop sys.usb.config ${persist.sys.usb.config}[/COLOR]

Now here is even the estranges thing. It did not work at first. I tried lsusb and show nothing connected related to the tab!!! So I got tire and start typing this post. And in a few minutes It came back and Ubuntu notified me that I have mounted the 2 sdcrads!!!!!!!!!!!!!! now is giving me the 2 sdcars as it should. So I have no explanation to this behaviors other than the SELinux stuff is making act weird. You see this is why I went back to 4.2.2.

Any way that red/blue changes I made are the uglies hack i have do. I let you decide how you are going to correct that.