[Nexus 10 Android Development] DragonFire1024:
UPDATE: New kernel version 3.4.84

Sorry guys as well of you probably know a lot of things have been going on around the world and one thing had led to another and I had put this on the back burner for a minute. But good news is I have some updates and an updated link and an updated kernel that I am going to be posting here. So here it goes. Listed below are the most significant additions and or updates.

- Updated kernel to version 3.4.84

- Re-enabled SWAP (will provide further instructions on how to create a SWAP file which drastically improves performance. DO NOT use an app like Apps2sd to create any swap files as they do not properly create them on this device and will cause more lag and performance issues than good!)

- Profiling support

- GCOV kernel based profiling enabled

- Set SELinux to permissive via default kernel cmdline and set kernel to "always use default kernel cmdline".

- Enable CPU frequency scaling and options attached to it to include all of: performance, powersave, userspace, ondemand, interactive and conservative.

- Enable 'Advanced Power Management Emulation'.

- Include more to the following options to TCP advanced congestion control: BIC, CUBIC, Westwood, H-TCP, Highspeed, TCP-Hybla congestion control algorithm, TCP Vegas, Scalable TCP, TCP Low Priority, TCP Veno, YeAH TCP, TCP Illinois.

Problems:

- When the battery goes down to 20%, the tablet will likely shut off immediately. The only way to wake it back up is to plug it into a wall charger. This seems to happen only once and then happens very rarely, but for no other apparent reason. I have not been able to determine the cause of this other than the advanced power emulation or fuel gauge resetting after installing the new kernel. If it becomes a continuing or persistent problem please let me know and I will try to track it down.

To install the new kernel, reboot to recovery (TWRP), wipe dalvik and cache. Simply download the attached boot image in the link my Google Drive and Flash via TWRP. I am rooted with SuperSU, so if that is not your choice for routing options then simply flash your choice after flashing the boot image. You may want to go here and download the ARM zip to remove your current super user binaries before flashing a new or different Superuser to your boot image.

SWAP File

To make a swap file simply follow the instructions below. You do not have to modify anything in these instructions just simply open a root shell on your device using ADB or a terminal emulator and type the following commands. This will create a 2GB swap file in your data directory.

Open a root shell with ADB or terminal emulator on your device, type the commands:

adb shell
su
free

Next to the SWAP option should be all zeros. Follow the steps below, typing the next commands:

dd if=/dev/zero of=/data/local/swap.file bs=1024 count=2048000
mkswap /data/local/swap.file
swapon /data/local/swap.file

Now type the command 'free' again and you should see in the SWAP option, several rows of several numbers indicating your SWAP is active. Proceed to the next step.

Now create a folder in /system/etc called init.d (if there isn't already one) and give it permissions 755. Inside that folder create a file named 'swapon' and open it in a text editor (I use root explorer). You need to create a script that tells the system to start SWAP when your device reboots, otherwise you will have to turn on the swap file each time you reboot. Add the following text below, to the 'swapon' file you just created:

#!/system/bin/sh
su
swapon /data/local/swap.file

Save the file in the init.d folder and set the permissions to 777 and reboot.