[Galaxy Tab 7.7 Android Development] p3dboard:
Peter's Test Build - Change Log

[MENTION=4722212]philipnzw[/MENTION] - Sure - Here are my changes

Rom Download for my First Test Builds - https://www.androidfilehost.com/?w=files&flid=37443

25/8/2015

Added local_manifest.xml and the list of code changes required (attached as a .zip to this post) to compile the Rom for p6800 and p6810 - More will be required to build without any bugs, but this is what I have done so far - You will need to follow Daniels instructions on how to build a rom to understand what to do.

Edit: I've now uploaded a p6800 and p6810 build with the same Davlik VM settings as mentioned below, Build 20150824 (same source code)

24/8/2015

Updated CM 12.1 Source Code Date - 2015-08-23 (built a new cm12.1 repo to fix issue with CM source code not updating).

P6810 build is uploaded, I haven't made a P6800 build yet. Same bugs as below, just source code update.

This build also implements the new VM Davlik values mentioned below (heapsize=256m etc)

23/8/2015

CM 12.1 Source Code Date - 2015-08-12

(My attempts to Sync after the initial sync haven't updated the source code - Asking Daniel if he has any tips as to why it doesn't sync to Today's version, it's probably a parameter to the "repo sync" command that's needed)

Change Log (Build Date 2015-08-22)

---------------

# Common to both P6800 and P6810 Builds - This for me has fixed the game Asphalt 8, which is an OpenGL ES 3.0 compatible game, this makes it drop back to OpenGL ES 2.0 and thus the in game graphics display correctly

OpenGL ES 2.0 value set in build via /android/rom/device/samsung/smdk4210-tab/device.mk

ro.opengles.version=131072

# P6810 - Galaxy S2 Davlik VM settings (P6800 is just at the stock values)

Davlik VM /system/build.prop

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=128m

dalvik.vm.heaptargetutilization=0.75

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=2m

# Known Bugs / Issues

- GPS not working

- RIL (Mobile Data) libraries not compiled (due to errors in compiling) - P6800 means that Wifi will work but maybe not mobile Data (I say maybe, as from Daniels feedback to me - and my lack of properly reading his feedback :), and my then looking a bit over the build code from Daniel, I think he's supplied a pre-compiled RIL library in his Github, and it get's copied into place during the build - since I don't have a p6800 I can't confirm this)

- Quick Settings Torch - Torch turns on but not off

- Wifi - ES File Explorer (probably root explorer someone mentioned in another thread) - still have the issues mentioned by others, Samba and ES Explorer Send to another Device causes a reboot

- ASOP keyboard initially doesn't start for me, I have to skip past the setup, and then go into language and input, and turn the hardware keyboard on in the Change Keyboard settings, then after that the keyboard starts working (maybe something is not initialised properly)

# Extra Notes

I have manually been playing with increasing the davlik.vm.heapsize, and for CM 12.1, I think 256m is the optimal value. 128m is slightly too small for some Games (Real Racing 3 - playing Video's in the game can sometimes freeze, 256m seems better).

Like I said, I am just trying to give a little bit of Support to Daniel who has done so much for our Galaxy Tab 7.7.

I think Omnirom at the moment is the best of the Android 5.1.1 rom's as far as performance and less Lag, Daniel's Github code currently isn't fully complete for Omnirom 5.1.1, so it's not as easy to build as CM12.1. All I can say is thank you Daniel and the others who were before you for keeping our device alive. I am also really pleased that I have managed to compile a Rom that run's on my Tablet :)

Edit: I have just been looking around at other CM 12.1 rom's that are similar in Screen Dimension (1280x800) and Ram to our Tab (http://xdaforums.com/galaxy-tab-2/10-inch-development/rom-cyanogenmod-12-cm12-t2997928) - The Galaxy Tab 2 10.1 (p5100) is similar, and they have also set the /system/etc/build.prop values as follows, so I'll keep with these for my builds as well.

ro.opengles.version=131072

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=256m

dalvik.vm.heaptargetutilization=0.75

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=2m

Edit: bit further testing of opengl values, So I flashed carbon ROM, Daniels cm 12 and omnirom after installing Asphalt 8 with my build, and using a backup of the Apk I reinstalled it and it works fine on Daniels builds. However the play store is offering an update to the opengl es 3.0 version which doesn't work properly on our tab even after I set /system/build.prop manually to the right values. I don't know how it detects opengl 3.0, but I only know that when I compile cm 12.1 with the opengl es 2.0 value, the play store offers and installs the right version of the game and content that is compatible with our device.