[ROM][5.1.1_r34][p6800/p6810](6April2016-Build1.8)SlimLP 5.1.1-.beta.0.15-UNOFFICIAL

Search This thread

LeonardoD93

Member
Jun 21, 2015
41
2
Banja Luka
Omni

I just tested Facebook Messenger with the davlik memory value set at 320m, and it uploaded a photo fine in my test, no crash. So it may be a memory limitation. SlimLP seems to be lighter on Ram, it may even be ok with 384m, but 320m seems to working ok for me. Next build, I'll increase the /system/build.prop Ram value to at least 320m, possibly 384m.

I use for 2 days Omni Rom and i must say i am amazed,how well it go,tested FB+Messenger,and it is like 80% faster then on Cyanogenmod,Carbon and Slim,but 1 thing,i tested today asphalt 8 just to se how it go with stronger games,and i must say there is just no way that i cann play it,it just lag,and dont responde,but that is not mather to me :D,i dont play ho demanding games,because i know that my tab is not the best for it :)
 

p3dboard

Senior Member
Oct 20, 2013
1,003
616
I use for 2 days Omni Rom and i must say i am amazed,how well it go,tested FB+Messenger,and it is like 80% faster then on Cyanogenmod,Carbon and Slim,but 1 thing,i tested today asphalt 8 just to se how it go with stronger games,and i must say there is just no way that i cann play it,it just lag,and dont responde,but that is not mather to me :D,i dont play ho demanding games,because i know that my tab is not the best for it :)

The reason why Asphalt 8 is running so bad, is the default /system/etc/build.prop value for opengles in Daniels builds is set to opengles 3.0, but our tablets gpu only supports 2.0. Not many games use opengles 3, but Asphalt 8 does. So it downloads from the play store the wrong version for our tablet.

The right value for opengles 2 is, ro.opengles.version=131072, after you set that, you will need to reboot, then clear the playstore apps data so it refreshes it's value. Then you can download the right version of Asphalt 8 that will work.
 

sas_sas

Senior Member
Sep 13, 2007
943
96
İzmir
Thanks for your efforts.

I attemted to test your rom on my P6800 but the last 24/09 release has an essensial problem.. Keyboard not appearing at all... It is obvious w/o keyboard no progress...


SM-T700 cihazımdan XDA Forums kullanılarak gönderildi
 

philipnzw

Senior Member
Jul 5, 2012
167
49
Thanks for your efforts.

I attemted to test your rom on my P6800 but the last 24/09 release has an essensial problem.. Keyboard not appearing at all... It is obvious w/o keyboard no progress...


SM-T700 cihazımdan XDA Forums kullanılarak gönderildi

Go settings input and languages
Turn of the physical keyboard input thingy
Its somewhere it there
 
  • Like
Reactions: sas_sas

p3dboard

Senior Member
Oct 20, 2013
1,003
616
Thanks for your efforts.

I attemted to test your rom on my P6800 but the last 24/09 release has an essensial problem.. Keyboard not appearing at all... It is obvious w/o keyboard no progress...


SM-T700 cihazımdan XDA Forums kullanılarak gönderildi

Yes, that's the next bug i am working on fixing, but as mentioned in my opening posts, there is a work around. You have to cancel any setup if you have Google play services installed. After go into language and input under settings and flip the hardware switch under current keyboard

I think i might have found some code to fix the problem at https://gerrit.omnirom.org/#/c/903/2

Edit: Looking over Cyanogenmod code, they have already implemented this fix, but SlimLP hasn't added it to their code base, so I have added it to the source code and am doing a compile now. The only thing I think I need to work out is if I need a true / false value, but hopefully this should fix it.

Edit: This is the code and files I am modifying and compiling now (notes added to my change log.txt which I'll upload with a new build if I find it fixes the problem)
Code:
FILE:/frameworks/base/services/core/java/com/android/server/wm/WindowManagerService.java
# add after this line -final DisplayManager mDisplayManager;

    private boolean mForceDisableHardwareKeyboard = false;

# add after mAnimator = new WindowAnimator(this);
        mForceDisableHardwareKeyboard = context.getResources().getBoolean(
                com.android.internal.R.bool.config_forceDisableHardwareKeyboard);

# add/modify - standard line boolean  boolean hardKeyboardAvailable = config.keyboard != Configuration.KEYBOARD_NOKEYS;

            // Determine whether a hard keyboard is available and enabled.
            boolean hardKeyboardAvailable = false;
            if (!mForceDisableHardwareKeyboard) {
                mHardKeyboardAvailable = config.keyboard != Configuration.KEYBOARD_NOKEYS;
            }

FILE:/frameworks/base/core/res/res/values/slim_symbols.xml
# Add this line just above <java-symbol type="bool" name="skip_radio_power_off_on_sim_refresh_reset" /> entry

<java-symbol type="bool" name="config_forceDisableHardwareKeyboard" />

FILE:/frameworks/base/core/res/res/values/config.xml
# Add this line after <integer name="config_toastDefaultGravity">0x00000051</integer>

<!-- Workaround for devices with broken keyboards -->
    <bool name="config_forceDisableHardwareKeyboard">false</bool>

Edit: This bit of code I don't believe fixes the error after my initial test. What it does do is hide the Hardware option from the language and input, which allows us to fix the problem, but it's probably in this same bit of code I need to add the fix / default value.

Edit: My testing has confirmed that this code only removes the hardware option, doesn't set it. But I might be able to use this bit of code to help me start to find the option. I just need to find where the Default Value of this toggle switch is set, and then adjust the default to be turned on, instead of off.
 
Last edited:
  • Like
Reactions: sas_sas

philipnzw

Senior Member
Jul 5, 2012
167
49
Does this build have rro layers support?
Installed the rro managers but it says plugin not supported
Feel like messing around with themes but seems like it could be super memory hungry
 

p3dboard

Senior Member
Oct 20, 2013
1,003
616
Does this build have rro layers support?
Installed the rro managers but it says plugin not supported
Feel like messing around with themes but seems like it could be super memory hungry

I haven't specifically added it to the SlimLP build, so it's probably not there. I can probably find out what needs to be included to add RRO layers, but I would say it will add to the memory overhead of the build, but not sure by how much.
 
  • Like
Reactions: philipnzw

p3dboard

Senior Member
Oct 20, 2013
1,003
616
Does this build have rro layers support?
Installed the rro managers but it says plugin not supported
Feel like messing around with themes but seems like it could be super memory hungry

I've done a little bit more research, and the current SlimLP rom's that have RRO layers, have cherry-picked extra code from http://xdaforums.com/android/apps-games/official-layers-bitsyko-apps-rro-t3012172

So to add Layers, I'll have to incorporate that. Once I get the keyboard and torch bugs sorted, I'll look at that.

Just found a github source https://github.com/SlimBit that might have all the RRO Layers bits added... anyway I'll look at this later.
 
Last edited:
  • Like
Reactions: philipnzw

curtislin

Member
May 10, 2013
29
6
Test report 1.4

I flashed the new 1.4 rom.
Performance is excellent. There are 2 problems…
1. When boot new rom after wipe, during account login keyboard did not show up.
2. Wifi ap cannot be turned on due to error.

Thanks for great works!
 
  • Like
Reactions: p3dboard

p3dboard

Senior Member
Oct 20, 2013
1,003
616
I flashed the new 1.4 rom.
Performance is excellent. There are 2 problems…
1. When boot new rom after wipe, during account login keyboard did not show up.
2. Wifi ap cannot be turned on due to error.

Thanks for great works!

Thanks for the feedback.
1. I am trying to work on fixing the keyboard at initial boot, the Samsung Dock driver is incorrectly reporting a physical keyboard is connected, so it doesn't show the touch keyboard - For the moment the work around is mentioned in my opening post - It's in a Pink colour.
2. I'll have to check to see if I have Daniel's latest code fixes, as he's just fixed the hotspot in his Omnirom build, but I wasn't sure if my last code sync got all his fixes. Thanks for the feedback.

Btw, if you are just upgrading from a previous build, you don't need to do a full wipe (but if you are coming from another rom you do). The System Patching also preserves the existing Google Play services, so you can just flash the main rom if you were on a previous build and then reboot.
 

curtislin

Member
May 10, 2013
29
6
Thanks a lot. I am upgrading from slimkat 4.4.4 , if i didn't wipe i got an google play service stopped error. Is there ways to fix that?
 

p3dboard

Senior Member
Oct 20, 2013
1,003
616
Thanks a lot. I am upgrading from slimkat 4.4.4 , if i didn't wipe i got an google play service stopped error. Is there ways to fix that?

Possibly a wipe of the Data, but I also had problems going from Slimkat 4.4.4 straight to 5.1.1. I found that in this scenario, it was best to do a full wipe, not just an upgrade.
 
  • Like
Reactions: curtislin

Cluey

Senior Member
May 13, 2011
154
57
Melbourne
Looks like I should wait for 1.5 to be uploaded then.

I forgot about the keyboard not working on first boot and wasn't home at the time, I tried forcing a reset from the settings menu and it booted to TWRP but kept fading in and out the splash screen. That had me freaked out for a while, I couldn't work out how to power it off. In the end it just went flat!
Managed to sort out a USB drivers problem and have it working again, just testing some ROM's now to give to a friend to use.
 

p3dboard

Senior Member
Oct 20, 2013
1,003
616
Looks like I should wait for 1.5 to be uploaded then.

I forgot about the keyboard not working on first boot and wasn't home at the time, I tried forcing a reset from the settings menu and it booted to TWRP but kept fading in and out the splash screen. That had me freaked out for a while, I couldn't work out how to power it off. In the end it just went flat!
Managed to sort out a USB drivers problem and have it working again, just testing some ROM's now to give to a friend to use.

Build 1.5 is available. I am still playing with optimal Davlik settings for better Ram management under various conditions / apps
 
  • Like
Reactions: Cluey

Cluey

Senior Member
May 13, 2011
154
57
Melbourne
Build 1.5 is available. I am still playing with optimal Davlik settings for better Ram management under various conditions / apps

Cheers mate, I'll give it a crack.

I had various problems getting different ROMS to install, I kept getting a setup error crash but fully formatting it and starting from scratch seems to have sorted that out.
I've got OMNI on it currently, and as you said in one of your posts it is pretty smooth but it is lacking some features I'd like from Slim so I'll give your build after I've slept.

/me wonders how many non-locals he confused with the first line. ;)
 

p3dboard

Senior Member
Oct 20, 2013
1,003
616
For those using my Rom, let me know if you think performance is better with the new Dalvik.vm values in build 1.5. I think it still might need some tweaking.

Edit: I think the values are a bit excessive for Davlik. I think increasing to dalvik.vm.heapgrowthlimit=64m, instead of dalvik.vm.heapgrowthlimit=100m, provides better responsiveness, but still enough for background apps like facebook (which uses around 60m of ram). For example, with the 64m value, opening a hyperlink from Gmail in Chrome works nicely, but at 100m, it's very laggy.

I think these values are better - I'll put a build 1.5.1 up soon, for those who want to try the different values (or you can manually set it yourself in Build.prop if your comfortable).
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=320m
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m
 
Last edited:

philipnzw

Senior Member
Jul 5, 2012
167
49
For those using my Rom, let me know if you think performance is better with the new Dalvik.vm values in build 1.5. I think it still might need some tweaking.

Edit: I think the values are a bit excessive for Davlik. I think increaseing to dalvik.vm.heapgrowthlimit=64m, instead of dalvik.vm.heapgrowthlimit=100m, provides better responsiveness, but still enough for background apps like facebook (which uses around 60m of ram). For example, with the 64m value, opening a hyperlink from Gmail in Chrome works nicely, but at 100m, it's very laggy.

I think these values are better - I'll put a build 1.5.1 up soon, for those who want to try the different values (or you can manually set it yourself in Build.prop if your comfortable).
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=320m
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m

New values made tablet slightly more responsive
YouTube and browser still crashes if used too much ram tho

Any idea if marshmallow is more ram friendly?
 

p3dboard

Senior Member
Oct 20, 2013
1,003
616
New values made tablet slightly more responsive
YouTube and browser still crashes if used too much ram tho

Any idea if marshmallow is more ram friendly?

Marshmallow is supposed to improve ram management, so we can only hope it will help our tablet. Android 4.4.4 is still the best performing for me, but Android 5.1.1 is becoming more stable with these slight adjustments. I don't think it will match 4.4.4, but Marshmallow could do if Google fixes the memory requirements and memory management.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    60d97b83d354d6c1d6afee38721cc7f6.jpg


    SlimRom is a custom android operating system. The main goal is to offer users a slimmed down but still feature rich alternative to other android operating systems.
    The entire SlimTeam work together to bring you this tailor-made beauty straight from Android Open Source Project (AOSP) source code.
    All of the sources can be publicly viewed through GitHub and Gerrit.

    Code:
    /* #include <std_disclaimer.h>
    *
    *  Your tablet's warranty is now void.
    *  This is a custom ROM developed by p3dboard. 
    *  You are flashing this on your Samsung Galaxy Tab 7.7 at your own peril.
    *  I am not responsible for hard bricks, damages to SD Cards, thermonuclear war, 
    *  or you getting fired because the alarm app failed.
    *  I would definitely help you out if you are stuck somewhere, provided that you give 
    *  me clear details of the mishap.
    *  Don't ask for ETA's cause there is a thing called "LIFE" outside XDA.
    */

    SlimLP is currently in beta stage, some settings are already in place, much is still missing and would come with time. Stay tuned!

    I am also new to development, so not as experienced as Daniel, and I also don't have a lot of extra time, so I'll do what I can, and fix what I can as I learn over time. But I wanted to contribute something new, and from Daniels survey, Slim was the second most popular rom after Carbon.

    WHAT'S INCLUDED: (This is just a standard blurb, some of these SLIM extra's are not in their Beta yet)
    Android Lollipop
    Slim Center
    Slim Launcher
    Slim File Manager
    Slim Heads Up
    The Real Dark Slim User Interface
    SlimPIE (inspired by ParanoidAndroid's PIE with a light touch of Slim)
    Smart Card Service
    Adaptive Backlight
    Adaptive Brightness
    Smart Lock
    Privacy Guard
    Sounds Tweaks(Audio FX and Music FX)
    Status Bar Tweaks
    Battery Saver Mode
    Removed Bloatwares
    Notification Reminder/Snoozer
    Drawer Shortcuts
    Lockscreen Shortcuts
    Custom Quick Settings Tiles
    Improved Performance
    Camera - True View
    Camera - Smart Capture
    and Much More!

    WHAT'S WORKING:
    Camera
    Video Recording
    Wi-Fi
    Bluetooth
    ADB
    Proximity Sensor
    External SD Card
    Internal SD Card
    Video Playback
    Speaker
    Airplane Mode
    RIL(Mobile and Data Network)
    Compass - Can require calibration before being reasonably accurate (moving tablet around in a figure 8 a few times) - Might be a way to recalibrate this?
    Automatic Brightness Sensor
    GPS

    POSSIBLY WORKING - TESTING REQUIRED:
    Mobile Hotspot (can someone with a p6800 tell me if it works for them?)

    BUGS/NOT WORKING:
    Wifi Driver Bug that can reboot (ES Explorer Direct Send between two devices)
    QS Torch Tile (Quick Settings Torch)
    Touch Keyboard at initial boot - you need to either not flash GAPPS immediately or cancel the Setup with GAPPS flashed, then go into SETTINGS -> LANGUAGE&INPUT -> Current Keyboard and then turn on Hardware Input - After that the AOSP keyboard works - need to figure out how to fix this.

    HOW TO INSTALL:
    1. Download the ROM and the GApps and place them on your SD Card/Internal Storage.
    2. Reboot tablet into TWRP recovery.
    3. Wipe data, cache(factory reset), dalvik/art cache and system.
    4. Flash the ROM and the GApps.
    5. Reboot System. (First boot takes 5-6 minutes. Be patient.)

    UPGRADING: If you are upgrading from a previous SlimLP build (not Kit kat Slim rom's, as you will get some issues)
    1. Download the ROM, place it on your SD Card/Internal Storage.
    2. Reboot tablet into TWRP recovery.
    3. Flash the ROM
    4. Reboot System.

    SOURCES:
    Daniel_HK's GitHub
    SlimRoms Website
    Google+
    My code change notes - Download "Slimlp Changes to compile.txt" - How to compile after you have read and understood Daniels Instructions on compiling Rom's - read - read - read - something I didn't and don't always seem to do :)

    CREDITS:
    SlimROMs Team
    @daniel_hk
    and others I may have forgotten.

    DOWNLOADS AND CHANGELOG IN THE SECOND POST

    XDA: DevDB Information
    SlimLP 5.1.1 by SlimRoms, ROM for the Samsung Galaxy Tab 7.7

    Contributors
    @p3dboard
    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.0.x
    ROM Firmware Required: Galaxy Tab 7.7 (p6800,p6810)
    Based On: AOSP

    Version Information
    Status: Build #1.8
    Latest Build Release Date: 2016-04-06

    Created 2015-09-15
    Last Updated 2015-10-28
    5
    Change Log and Downloads

    Slim Gerrit - Slim Rom's change log

    4 April 2016
    SlimLP Beta 0.15 - Build #1.8 - Build Date 20160406 - Download ROM from this URL
    - Updated Source Code to Beta 0.15 (Patch Level is up to February 2016 in Security - Possibly this is the last update Slim might make for Android 5.1.1, CM 12.1 sources have been updated to April 2014, but not Slim so far)
    - P6800 & P6810 builds completed (just the NoZram version)
    - Added Daniel's Performance Control app, but it errors out when going to the Battery tab, I'll leave it in their incase anyone wants to use the CPU / Governor controls - but if you want to tweak memory, use another app like Trickster Mod from the play store.
    - Returned Davlik Memory settings back to stock in this build, as if you don't have too many apps installed that run background services, you can open apps that use larger Ram values.

    I decided to recompile a newer build as I wanted a Rom with a more recent security patch level that also had Google Play Movies working, Android 6.0 currently has issues the the L3 DRM blobs. It's still got the same old issues as mentioned in the first post with workarounds as above - Touch keyboard, and the QS Flashlight not working, along with the reboot bug if you try to transfer data over Wifi using Es Explorer. But apart from that its pretty stable.

    28 Oct 2015
    SlimLP Beta 0.10 - Build #1.7 - Build Date 20151028 - Download ROM from this URL
    - Updated Source Code to Beta 0.10
    - Making two version of the build, one with zRam and one without - you can choose which one you feel performs better
    - Updated RIL libraries for p6800 from Daniels latest CM 12.1 build (October 2015 build)

    - p6800 rom's uploading now for Build 1.7, zRam and no-zRam version
    - The no zRam version still supports zRam but its not turned on by default. If you have the app Trickster Mod from the playstore, (there's probably others) you can turn the zRam off any time you want to while running the rom. If you turn it off and then back on in Trickster Mod however, the new zRam partition is only 10% of the memory, which is smaller then the 256mb zRam I am turning on at boot.
    - P6810 Zram build uploaded, uploading non-zram p6810 rom version now, compiling p6800 rom.
    - P6810 beta 0.10 compile completed (no zRam version), uploading, compiling p6810 zram build. Once this finishes building, i'll start the p6800 build
    - Synced SlimLP Beta 0.10 source code, starting compile of P6810 rom
    - I'll make two builds of each for the next rom, one with Zram turned on and one without.
    - I still haven't had time to look at the Keyboard issue or the QS torch icon, got to many things on at the moment - so just doing source code updates

    14 Oct 2015
    SlimLP Beta 0.9 - Build #1.6.2 - Build Date 20151014 - Download ROM from this URL
    - Added missing blob libsec-ril.so file for p6800
    - Added a 256mb zram swap partition (cm12.1 i9100 nightly just implemented this as they said it can help with low memory situations, so I've added it to see if it helps us at all - give me feedback, we can always turn it off).

    @4:05pm - p6800 build is uploaded.
    @3:35pm - p6800 build complete, checked that libsec-ril.so was in the /system/lib folder. Uploading now (about 30min it should be there)
    @8:44am - build 1.6.2 for p6810 with 256mb zram uploading now. I am building the p6800 rom now.
    @8:25am - I just discovered I missed adding /system/lib/libsec-ril.so to the p6800 build (builds 1.6 and 1.6.1) - so stick with 1.5.1 until I fix this on the p6800, so Mobile services won't be available. I'll recompile the rom for the p6800 today.


    13 Oct 2015
    SlimLP Beta 0.9 - Build #1.6.1 - Build Date 20151013 - Download ROM from this URL
    - New Stagefright security patch and October 1st Android Security patches (see Slim Gerrit changes for today for the latest list of changes)
    - Bug in this build: P6800 rom missing RIL blob - mobile / data won't work

    @6:43pm - p6810 build completed, uploading now.
    @4:55pm - p6800 build 1.6.1 compiled, uploading now. Compiling the p6810 build now.
    @4:00pm - i just noticed that the slimlp source just received the new stagefright security fix, i've synced the new source code updates and am compiling build 1.6.1, it also has the other Google security updates for October. Building p6800 rom now.


    SlimLP Beta 0.9 - Build #1.6 - Build Date 20151012/13 - Download ROM from this URL
    - Sources updated to SlimLP Beta 0.9
    - Bluetooth built using Daniels new Bluetooth packages that allow Bluedroid and Bluez to co-exist
    - Daniels USB-OTG update (from his sources)
    - Bug in this build: P6800 rom missing RIL blob - mobile / data won't work

    @3:08pm - p6800 build is up.
    @2:20pm - p6800 build 1.6 compile completed. Uploading now (should be about 30min)
    @8:23am - p6810 build 1.6 is uploaded
    @8:20am - I'm uploading the p6810 build at the moment, then I'll start compiling the p6800 build

    12 Oct 2015
    - I've just downloaded SlimLP Beta 0.9 source code and sync'd Daniels latest device tries, starting on compile for the p6810 (Android 5.1.1_r20)
    - I'm also going to test adding persist.sys.debug.multi_window=true to /system/build.prop - which might only be a Marshmallow (Android 6.0) setting, but I'll see if it works in 5.1.1_r20 of SlimLP Beta 0.9 source code
    - I'm also going to test building Daniel's updated Bluetooth Package from his Github that allows it to co-exist with Bluedroid Bluetooth, rather then removing it.
    - I haven't had any time to look at the Torch QS tile or the keyboard fault in the last two weeks, eventually I'll get onto those.


    1 Oct 2015
    SlimLP Beta 0.8 - Build #1.5.1 - Build Date 20151001 - Download ROM from this URL
    - Modified /system/build.prop Davlik values again based on some more testing. dalvik.vm.heapgrowthlimit=64m. Previous build 1.5 tends to be laggy when launching multiple apps. You can test Build 1.5 and 1.5.1 and decide which settings give better performance if you like. If you know how to modify build.prop with root access, you don't need to reflash the rom, just set the Build.prop values.

    @11:00am - p6810 build also uploaded.
    @10:20am - p6800 build uploaded. p6810 build uploading now.
    @9:17am - p6800 build compiled. Uploading. Compiling p6810 build now.
    @8:00am - I think the new Davlik values are a bit excessive. I think increasing to dalvik.vm.heapgrowthlimit=64m, instead of dalvik.vm.heapgrowthlimit=100m, provides better responsiveness, but still enough for background apps like facebook (which uses around 60m of ram). For example, with the 64m value, opening a hyperlink from Gmail in Chrome works nicely, but at 100m, it's very laggy. My previous builds had this value set at 48m.

    I think these values are better - I'll put a build 1.5.1 up soon, for those who want to try the different values (or you can manually set it yourself in Build.prop if your comfortable).
    dalvik.vm.heapstartsize=5m
    dalvik.vm.heapgrowthlimit=64m
    dalvik.vm.heapsize=320m
    dalvik.vm.heapminfree=512k
    dalvik.vm.heapmaxfree=2m


    30 Sept 2015
    SlimLP Beta 0.8 - Build #1.5 - Build Date 20150930 - Download ROM from this URL
    - Updated Device Tree's from Daniel, Mobile Hotspot should be fixed for p6800 users
    - GPS fixed
    - Modified /system/build.prop Davlik values based on Article about Ram and Davlik settings, seems to be giving better performance, Games like Asphalt 8 seem to be smoother, more Ram seems to be generally available.


    @7:14pm - p6800 rom uploaded
    @6:34pm - p6800 build completed, uploading now, should be there in 30min
    @6:15pm - P6810 Build #1.5 is uploaded. P6800 build still compiling..
    @6:10pm - playing with Facebook installed in the background, dalvik.vm.heapsize=256m is more friendly for Facebook (dalvik.vm.heapgrowthlimit=100m is what helps Facebook to run more smoothly as a background process) in that games like Asphalt 8 are still playable with the 256m value, rather than dalvik.vm.heapsize=320m. But dalvik.vm.heapsize=320m / 384m is better for Real Racing 3 on High detail level, medium and low detail are fine with 256m.
    @5:30pm - finished p6810 compile, uploading p6810 rom. Compiling p6800 rom now.
    @3:35pm - doing a recompile of the p6800/p6810 with the adjusted Davlik VM settings, after which I will upload the rom's
    @3:30pm - I finished my Davlik memory testing, I'm going with these values for my Build 1.5, a bit larger for the dalvik.vm.heapsize, as games like Real Racing 3 benefit from the larger value, and probably the Chrome Web browser does as well. The article recommended dalvik.vm.heapsize=174m, which is probably better if you have lots of smaller apps, but I'll optimize for some bigger apps using dalvik.vm.heapsize=320m. The dalvik.vm.heapgrowthlimit=100m seems to have given back more base memory, I can get over 460m of free Ram at times now.
    dalvik.vm.heapstartsize=8m
    dalvik.vm.heapgrowthlimit=100m
    dalvik.vm.heapsize=320m
    dalvik.vm.heapminfree=512k
    dalvik.vm.heapmaxfree=8m
    @8:35am - Test Build 1.5 - GPS works - so Non-Pie blob support is working again! Just testing the new Davlik memory settings now.
    @8:00am - p6810 build 1.5 test build completed, if it's working ok I'll upload it as Build 1.5, otherwise I'll have to investigate why the Non-Pie support is not working.

    29 Sept 2015
    - 7:50pm - Starting build 1.5 for p6810 - will test to make sure GPS is working before doing p6800 build.
    -I've manually updated the Bionic libraries with the Non-Pie support, as the Bionic libraries in SlimLP Beta 0.8 had more changes to them then just the non-pie support additions from the previous library which Daniel had given me, which was basically the same Bionic Library as SlimLP Beta 0.7 with the Non-Pie additions.
    - Found interesting article on Davlik Heap values and ART https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1 - I am going to test build my next one with their recommended settings to see the difference in performance (they say this benefits facebook as well due to the way it uses memory).

    28 Sept 2015
    - Looks like Daniel pushed another change to danielhk/proprietary_vendor_samsung_smdk4210 for the Hotspot after I did the Build 1.4 yesterday - https://github.com/danielhk?tab=activity - so I think that when I compile Build 1.5, this will hopefully fix the hostpot as well. I
    - Build's 1.3 and 1.4 have issues with GPS again. I will have to do a recompile, it seems like the non-pie support was not enabled for GPS in those builds. Builds 1.1 and 1.2 the GPS works fine.


    27 Sept 2015

    SlimLP Beta 0.8 - Build #1.4 - Build Date 20150927 - Download ROM from this URL
    - Updated Device Tree's from Daniel, Ambient Sensor should be fixed
    - Mobile Hotspot doesn't seem to be fixed
    - GPS has broken (non-pie support) - It has on my p6810 - will have to do a recompile for Non-Pie support that got missed some how

    @10:15pm - The compile with CONFIG_KEYBOARD_SEC_DOCK=m or CONFIG_KEYBOARD_SEC_DOCK=n failed due to the fact that this causes other issues with the Kernel code. The code would need some adjustments to make this work for us. Anyway, I'll keep on investigating trying to turn the initial value to on for the Hardware switch in the Language and Input settings error. I checked Daniels omnirom build, and he's not turning on the hardware switch, so he must be specifically enabling the Touch Keyboard in the code even if a hardware keyboard is listed as present (I have seen some old code examples of people doing this, but some of the variables are not present in the SlimLP code - so I can't just copy their examples without finding the rest of the additional code needed).

    @10:00pm - I got a reply from a Galaxy Tab 2 developer, he told me how they overcame this same issue, they got the commit included into Cyanogenmod to make the Keyboard Dock driver a module, so for anyone who needs it, the module can be started as an init.d module. I am doing a compile now to see if this fixes the keyboard driver, if so I'll make it build # 1.5...

    http://review.cyanogenmod.org/#/c/83499/

    espresso10: build KEYBOARD_SEC_DOCK as module Our sec_keyboard driver does not properly unregister the input device when no dock is detected, which makes the system believe that a physical keyboard is present at all times, which prevents the software keyboard from being shown. Some user own a Keyboard-Dock and meight miss the ability to use the dock if it gets disabled completely. Building it as module gives the user the ability to add a simple init.d script to start the module at boot if they need it.

    /kernel/samsung/smdk4210/arch/arm/configs/cyanogenmod_p6800_defconfig
    Code change CONFIG_KEYBOARD_SEC_DOCK=y -> CONFIG_KEYBOARD_SEC_DOCK=m
    /kernel/samsung/smdk4210/arch/arm/configs/cyanogenmod_p6810_defconfig
    Code change CONFIG_KEYBOARD_SEC_DOCK=y -> CONFIG_KEYBOARD_SEC_DOCK=m

    @9:41pm - p6800 build compiled, uploading now.
    @7:47pm - p6810 build compiled and uploading, building p6800


    SlimLP Beta 0.8 - Build #1.3 - Build Date 20150926 - Download ROM from this URL
    - SlimLP Source code updated to Beta 0.8
    - GPS has broken (non-pie support) - It has on my p6810 - will have to do a recompile for Non-Pie support that got missed some how


    @3:04pm - p6800 build 1.3 uploaded. P6810 build 1.4 commenced.
    @2:35pm - resetting Code base and Resyncing Daniels Device Library changes for Build 1.4 (Hotspot fix and Ambient Display fix)
    @2:30pm - P6800 SlimLP Beta 0.8 build finished, uploading now (build 1.3)
    @ 8:00am - P6810 SlimLP Beta 0.8 build finished and uploaded. Building P6800 rom. (My Rom build # 1.3)
    - I've just looked at Daniels new Omnirom Change Log for 20150926 build and his new sources (which came out just after I started this new build) fixes the Wifi Hotspot and the Ambient Display issues. Once the first build of Beta 0.8 is compiled, I'll resync my Sources to get his updates and then build 1.4, which will include these fixes.

    26 Sept 2015
    5:30pm - I've just updated my SlimLP code base to Beta 0.8, and am recompiling my p6810 build. I'll leave it compile tonight and compile a p6800 build after that.

    Next week I'll keep on tracking down this Soft Keyboard bug, where it's not initially enabled (I'm only going to try set the initial Toggle value to on - not try and resolve the false positive on the driver believing that there's a keyboard docked).

    5:00pm - My testing has confirmed that this code only removes the hardware option (set to false and the hardware option re-appears), it doesn't set the hardware toggle to on. But I might be able to use this bit of code to help me start to find the option. I just need to find where the Default Value of this toggle switch is set, and then adjust the default to be turned on, instead of off.

    2:30pm - I just had a chance to test the build, the value of config_forceDisableHardwareKeyboard = true, completely hid the Hardware option from the Input and Settings area, preventing the value from being changed. I am just trying a test build with the value of False, but I don't think this is going to turn on the value.... I'll have to try see if I can find where the Hardware Setting is kept (probably in the same part of the code) and work on some sort of fix.
    8:30am - I've made a p6810 test build to see if it fixes the keyboard. I'll test it later today as I have to go out now.

    I've set the config_forceDisableHardwareKeyboard to true via an overlay file (which overrides the default value of false - which I believe turns off the fix and makes things behave as if the extra code was not included). From what I understand from my reading, the keyboard issue is present because the default driver is wrongly reporting that a Keyboard dock is present. Which if you plug in a keyboard via usb, you see that it behaves like one is, the softkeyboard just gives you word predictions on screen, but no keyboard. So I think that is right. Changing that Hardware option in input corrects this wrong assumption and then the soft keyboard appears.

    25 Sept 2015
    10:43pm @ I think i might have found some code to fix the soft keyboard not working at startup issue at https://gerrit.omnirom.org/#/c/903/2
    Edit: Looking over Cyanogenmod code, they have already implemented this fix, but SlimLP hasn't added it to their code base, so I have added it to the source code and am doing a compile now. The only thing I think I need to work out is if I need a true / false value for the config_forceDisableHardwareKeyboard parameter, but once I have that worked out, hopefully this should fix it.


    24 Sept 2015
    SlimLP Beta 0.7 - Build #1.2 - Build Date 20150924 - Download ROM from this URL
    - Media DRM fixed for Google Play Movies / Youtube DRM based content (libraries from p3100)
    - increased dalvik.vm.heapsize=320m - Hopefully should provide a bit more memory for Facebook / Facebook Messenger


    @9:30pm - p6800 build is uploaded
    @8:43pm (10:43am GMT)- Compile finished for p6800, uploading now
    @7:00pm - Build #1.2 - Compiled p6810 build and am uploading. Compiling p6800 build
    @10am - I fixed the Play Movies streaming issue. Using libdrmdecrypt.so from p3100 (https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-12.1/p31xx/common/system/lib) - goes in the /system/lib, also the three libwv*.so files from (https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-12.1/p31xx/common/system/vendor/lib) in the /system/lib folder, the libdrmwv...so file from (https://github.com/TheMuppets/propr...ee/cm-12.1/p31xx/common/system/vendor/lib/drm) in the /system/lib/drm folder and finally, in /vendor/lib/mediadrm (the vendor folder should really be a link to /system/vendor, not a seperate folder as it currently is in our builds), the libwvdrmengine.so from (https://github.com/TheMuppets/propr...-12.1/p31xx/common/system/vendor/lib/mediadrm).
    - Next build if I will try incorporate this fix

    23 Sept 2015
    - I was having a bit of a play last night with Google Play Movies, as to why it doesn't stream. It seems that Lollipop (as compared to kitkat) requires /vendor/lib/mediadrm/libwvdrmengine.so and possibly a few other components. I have gotten a copy of this file from the exynos 4412 smdk files, but there are a few more components missing (this might not even be compatible with our exynos 4210 but its worth a try). But with this file in place, it no longer gives the device is unsupported message, it tries to start streaming and errors out. I had a quick look in the log and I think it also wanted another crypto .so driver file, so I'll see if I can find that driver as well. There's a large collection of samsung blobs at https://github.com/TheMuppets/proprietary_vendor_samsung

    20 Sept 2015
    - 1:25pm - 3:25am GMT - I tested GPS on my P6810 (wifi model) and it now works!
    - 7:51am - 9:51pm GMT - p6800 build is uploaded.
    Daniel has given me some feedback on the i815 and some other things I was wondering about, so I'll go read over his instructions and my code some time next week and see if I can work this out. Once I have it compiling i'll make an update. Thanks @daniel_hk :)
    - 7:24am - 9:24pm GMT - uploading p6800 build. It should be there in the next 20 minutes.

    19 Sept 2015 - 11:18pm - I've uploaded the P6810 build of the rom, I'm waiting on the p6800 build to finish compiling - going to sleep now, so that will probably be in the morning. I've had a report from a tester that the Package Installer was crashing on the p6800 build when trying to manually install an APK package. I haven't had this happen on my P6810 build, so if someone can test the new build and let me know if this is an issue still that would be great.


    SlimLP Beta 0.7 - Build #1.1 - Build Date 20150919 - Download ROM from this URL
    - Rebuilt rom with Bionic Library supplied by Daniel that has Non-Pie Blob / Driver support
    - GPS working
    - Manually copied RIL Libraries into /system/lib folder from Daniels latest Omnirom Build - Hopefully for the p6800 this should enable RIL / Sim Card support - Files copied from Omnirom build are as follows:
    /system/lib/libreference-ril.so
    /system/lib/libril.so
    /system/lib/librilutils.so
    /system/lib/libsecril-client.so
    /system/lib/libsecril-client-sap.so
    /system/bin/rild

    19 Sept 2015 @ 7:14am - Checked my PC this morning and it failed with the same compile error again for the i815. I'll have to keep on looking.

    18 Sept 2015 @7:55pm - 9:55am GMT - Clearing out my build folders to try a fresh compile of the i815 code in case some of the p6800/p6810 build code is causing issues. I'll probably post an update tomorrow on how this went. Once I can compile the i815 code properly, I'll start looking at the other issues.

    Update: 10:48pm - it may have gotten past the error below now, during the build I noticed the following in the output... still a number of hours to go before the i815 compile finishes.
    Code:
    build/core/Makefile:46: warning: overriding recipe for target '/home/peter/android/slimlp/out/target/product/i815/system/lib/hw/sensors.exynos4.so'
    build/core/base_rules.mk:550: warning: ignoring old recipe for target '/home/peter/android/slimlp/out/target/product/i815/system/lib/hw/sensors.exynos4.so'

    15 sept 2015 @10:42pm - 12:42am GMT - My compile of the i815 code hit an error, I'll have to track it down tomorrow if I get a chance

    Code:
    make: *** No rule to make target '/home/peter/android/slimlp/out/target/product/i815/obj/SHARED_LIBRARIES/libinvensense_hal_intermediates/export_includes', needed by '/home/peter/android/slimlp/out/target/product/i815/obj/SHARED_LIBRARIES/sensors.exynos4_intermediates/import_includes'.  Stop.
    make: *** Waiting for unfinished jobs....

    15 sept 2015 @5:38pm - 7 :38am GMT - p6800 rom uploaded
    Around 7hr 15 min for my old e5400 CPU to compile the 21gb of output per device specific folder to build the p6800 rom (there's a common output, and then device specific output). I'm just about to start the i815 build... just moving my cm12.1 code folder off the drive to an external disk so I have enough room to build the i815 rom.

    15 Sept 2015 @ 10:52am - 12:52am GMT - I've uploaded the p6810 rom, I'm currently compiling the p6800 rom and when that's done I'll compile an i815 rom


    SlimLP Beta 0.7 - Build #1.0 - Build Date 20150915 - Download ROM from this URL
    - Built from SlimLP Beta 0.7 Sources
    - Bluetooth Fixed
    - OpenGL ES values set to 2.0 values in /system/etc/build.prop
    - Davlik VM settings adjusted to possible better values
    - Compiled from Daniel's Github sources - check the local_manifest.xml to see which sources where used
    - GPS and ASOP keyboard bugs still present, QS tile for torch not working.
    - Google Play Movies only work if you download locally first then play, not streamed - I have tested this on other Android 5.1.1 roms on my p6810 and it's the same on all of them at the moment.
    - GPS.exynos4.so (GPS driver) from Galaxy S2 i9100 / CM 12.1 rom in this build (it may or may not work with our Exynos 4 processor, but it's a PIE build of the GPS blob for Exynos 4, which means that I didn't need to modify the BIONIC libraries for Non-Pie support). I've uploaded the GPS exynos 4 blob to my Androidhost.com folder for Slim as well - Next build I try for my p6810, I'll use Daniel's older GPS blob's and enable non-pie. However with this PIE based GPS blob, I don't get any GPS Client communication errors / socket not open errors. So I might simply need a different gps config file for this to work

    GApps:
    Official SlimRoms GApps
    4
    Questions and Answers

    Testing- Just a note at the moment, I only have a p6810 (wifi only model) so my testing is limited to this. I am compiling p6800 and i815 rom's based on @daniel_hk's github source tree's, doing the modifications that I do for my p6810 to compile. So if you want to test and let me know about p6800 and i815 issues that would be great

    i815 - Hopefully in a week or two I'll have time to make a build once I sort out a compile error. Daniel's given me some feedback, I just need to find some time to look over it.

    QS Torch - I'll try work out the code for this QS torch tile setting soon

    Memory Settings - Interesting article on Davlik Heap values and ART on android 5.0 and 5.1 https://01.org/android-ia/user-guide...id-5.0-and-5.1. Give me some feedback on performance as i still think we can tweak ram a bit more.

    No time frames on anything, I'll just do what I can when I can.
    2
    Thanks for reporting back, at least I know that it boots on the p6800. Next build I do for the p6800/p6810 I'll be enabling the Non-PIE blob support which should help with some of the older driver libraries for things like GPS and possibly the RIL library which might fix this error for you as well.
    2
    New values made tablet slightly more responsive
    YouTube and browser still crashes if used too much ram tho

    Any idea if marshmallow is more ram friendly?

    Marshmallow is supposed to improve ram management, so we can only hope it will help our tablet. Android 4.4.4 is still the best performing for me, but Android 5.1.1 is becoming more stable with these slight adjustments. I don't think it will match 4.4.4, but Marshmallow could do if Google fixes the memory requirements and memory management.