yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 7.7 Android Development] UpInTheAir:
v5.0.0 FINAL update

>> v5.0.0 FINAL UPDATE >> FINAL RELEASE !!

** Source changes

* Drop to step0 on gpu changes

* Make ISO & UDF FS modules loadable (ExTweaks controlled)

** ExTweaks initramfs changes

* Fixed, added, removed, updated various tweaks and their descriptions

* Added ExTweaks options:

Partitions scan

Data FS repair on boot

extSdCard repair on boot

Fix permissions on boot (zeppelinrox V6SuperCharger Fix Emissions script)

Trim FS partitions (fstrim lagfix) on boot

Trim FS partitions (fstrim lagfix) now

ISO CD-ROM module control

UDF CD-ROM/DVD module control

* Removed ExTweaks options:

Auto mount USB drives

Dual mount

Media cache clean

No-boot logo

* Fixed ExTweaks options:

Update AD blocker task every week (not allowing enough time to connect to server before fail)

DB optimizing (sqlite3) Cron Task

DB optimizing (sqlite3) now

Clean app cache Cron Task

Zipalign Cron Task for all apps (system, preload, data)

Zipalign now for all apps (system, preload, data)

Fix Permissions now

MTP Mass storage mode

* Cleaned up most redunant code for ExTweaks

INSTALLATION

** DO NOT USE ANY 3RD PARTY TWEAKS OR “PERFORMANCE” TYPE APPS & REMOVE

ALL

ROM /KERNEL SCRIPTS FROM /system/etc/init.d FOLDER **

1. NANDROID (just in case)

2. Have installed any Samsung based P6800 JB 4.1.2 ROM

3. Remove any previous CPU control settings from starting at boot, remove any 3rd party tweaks etc

4. Flash in custom recovery (CWM or TWRP) to auto wipe previous kernel profile remnants ie. crontab, logs & /data/.siyah folder

5. If requested by Recovery to install SU, DO NOT. Instead - Let the kernel do it on boot

SUGGESTED CPU CONTROL APP : ExTweaks app

Don't forget to use only one Control app at a time. They will conflict and override ExTweaks. !

CURRENT BUGS :

* Random screen tint (Read Post #3)

ISSUES?

* READ POST #1, #2 & #3 FIRST

CHEERS :D

UITA

.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
FAREWELL

Farewell

Sadly, all things must come to end and move on...... :(

As this is my FINAL kernel release and contribution to our SGT-7.7 forums.

I'd like to personally thank all those Users who have contributed constructively directly and indirectly to this project. :)

Even those who have only thanked and given words of encouragement have been helpful to development. This has helped me keep going to support our device. :good: Also big thanks to [MENTION=3071146]bodivas[/MENTION] :good: for initial JB kernel and ROM port to my much maligned P6810 Wi-Fi device – shame on Samsung ! :mad: Special thanks to [MENTION=1473204]edan1979[/MENTION] for being the initial P6800 Tester prior flashing JB 4.1.2 on my P6810 :good:

As I don't activley use the P6810 anymore, please don't PM me regarding any kernel issues. The thread will still remain open for advanced Users to help out others who have

searched

and read the thread Posts #1-3

before

posting :good:

Will definitely see you regulars around somewhere in other XDA forums. Best of luck and health to all forum Users and happy tweaking, modding and flashing with the XDA spirit ! ;)

Signing out :)

UITA
[Galaxy Tab 7.7 Android Development] Silver-7:
Thank you very much UITA , been using your kernel since I started to use this device :)

Good luck.

Regards
[Galaxy Tab 7.7 Android Development] arinsms:
for those who had bootloop after flashing v5, restart and wipe cache and dalvik solve...

---------- Post added at 02:34 PM ---------- Previous post was at 02:33 PM ----------

come to note 3 community for with awesome kernel.. :D:D:good::good:
[Galaxy Tab 7.7 Android Development] UpInTheAir:
There are plenty of real developers there. I've already download the latest Samsung source for international N9005 and compiled basic zImage. Still need the ramdisk which I'm still downloading official firmware so I can try split the boot.img. As you're probably aware, selinux is used, something I've not had anything to do with (I never really tweaked,.... my S4, just used it).

I'm heading away again, so would struggle to learn and setup what's required before then. Anything I do would be as "self education" for now, but if I manage to compile anything of actual use, I'll definitely share. :) I just do things for the fun, challenge and help out. ;)
[Galaxy Tab 7.7 Android Development] meteornk:
thanks very much.

i update it when you have update.

but .... only update. i dont know what's the better....
[Galaxy Tab 7.7 Android Development] UpInTheAir:
I have know idea what you mean :what:

1. Nothing to hide, source changes are there as per GPL. Link is in thread OP.

2. Read the CHANGE-LOG !! ........

3. I have included descriptions in ExTweaks app for most functions, If you wish to learn more, then (as requested in OP & thread) please SEARCH.

You can then have your own INFORMED opinion "what's the better" and what's not ;)

Edit: After all the searching, and if you still don't understand, I can only suggest to leave the kernel or values in "SkyHigh default" configuration - revert to v4.2.0. - or stock. There are functions in ExTweaks that if used improperly could damage device or data. All appropriate warnings are in kernel thread and ExTweaks.
[Galaxy Tab 7.7 Android Development] kriegschluesser:
A briliant works

Thx for the awesome kernel... dont know what to say...

:good::good::good::good::good:
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Do you use GPU VPLL or MPLL mode etc?
[Galaxy Tab 7.7 Android Development] kriegschluesser:
im using MPLL. VPLL make my device restarting on standby :( But i changed it into vpll whenever i want to play game. for daily use, im using upintheairs profile, but i turned off the vpll (using mpll).
[Galaxy Tab 7.7 Android Development] so_ang:
After install this V.5 I feel my TAB7.7 is slower thn first time, but after format sd card it feel a little fast but still slow....

How can I fix it?

Do I need to wipe all after update?
[Galaxy Tab 7.7 Android Development] so_ang:
Great ROM
[Galaxy Tab 7.7 Android Development] ayamgoreng:
just flash stock kernel.

shouldn't need to wipe all. Just delete init.d
[Galaxy Tab 7.7 Android Development] kriegschluesser:
cant connect to pc

:confused:
[Galaxy Tab 7.7 Android Development] Thedalamsyh:
flashed this kernel, and the SuperSU app asked me to update binaries, and then said "Installation failed!" from updating through normal mode. and now i cant get root access. any solutions?
[Galaxy Tab 7.7 Android Development] ayamgoreng:
if you use cwm/twrp just reflash supersu.zip from chainfire website
[Galaxy Tab 7.7 Android Development] Jack123hello:
Can anyone upload the V5? Because there download link is down..... Really appreciate you guys' help
[Galaxy Tab 7.7 Android Development] stasyankz:
Hello, everybody!

Could you give me download link too? I can't find it
[Galaxy Tab 7.7 Android Development] sg10:
I wonder if anyone here use voodoo louder.

I encounter weird bug with 1.03 + voodoo louder. the "slider" showing crazy db.

working normal with 0.7.

anyway,

Thanks for the great kernel.
[Galaxy Tab 7.7 Android Development] CPmillenia94:
Wow i just topped 5000 with quadrant this is crazy!
[Galaxy Tab 7.7 Android Development] UpInTheAir:
From Google Play;

The dev says (my words) that maybe need to mod the kernel for

proper

app support and also ICS / JB isn't supported (not to say it doesn't work though).
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Preview update v2.x.x

Preview

change-log update v2.x.x no ETA

Working on my P6810 ICS - still need to compile for P6800 JB and send for Quality Control !

UNABLE TO COMPILE GPU MODS FOR P6800 JB YET - STILL WORKING ON IT...

* 4-step GPU freq : 114-160-267-400 (stock : 160-267)

* 4-step GPU voltages : 925-950-1000-1100mV (stock : n/a-950-1000-n/a mV)

* in-built frandom (support for CrossBreeder)

* in-built entropy generator

* update SuperSu v1.30+ binary

* disabled some module logging

* UDF/ISO file system support (BluRay - not tested)

* compression LZMA - reduce zImage size

VERY BRIEF FIRST TEST ON MY P6810 ICS TAB

Your JB results will most likely vary from mine, hopefully better :)

BEFORE

AFTER
[Galaxy Tab 7.7 Android Development] UpInTheAir:
The GPU changes for P6800 JB aren't that straight forward and cannot directly mirror the code from my ICS tab. :(

Driver error during compile

Edit: Looks like I "jumped the gun" with your build

Edit 2 : Yeah ! Compiled it. Making flashable zip and off to the QC !!

Need to look further..............
[Galaxy Tab 7.7 Android Development] UpInTheAir:
v2.0.7

v2.0.7 is officially released !

Change-log :

v1.0.3 -> v2.0.7

* Increase CPU 1600 MHz vdd 1350mV to 1375 mV for better stabilty

* In-built 4-step GPU freq : 114-160-267-400 (stock 2-step : 160-267)

* In-built 4-step GPU voltages : 925-950-1000-1100 mV (stock : n/a-950-1000-n/a mV)

* In-built frandom support (CrossBreeder ready)

* In-built entropy generator sits at approx 3600

* Update SuperSu v1.30 + su binary

* Disabled some module logging

* UDF/ISO file system support (BluRay - not tested)

* Compression = LZMA - reduce zImage size

For the benchmark peeps, if AnTuTu crashes or find instabilty, read Post #3 first :cool:

Download in Post #2 THANKS TO edan1979 FOR TESTING & FEEDBACK !

:) ENJOY :)

.
[Galaxy Tab 7.7 Android Development] freaksamael:
Quadrant 5312!!!

Still cannot activate WiFi.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
OK pulling it again and sending for QC, like I should have done !:eek:

Edit: Did you flash tar or zip ?
[Galaxy Tab 7.7 Android Development] schen:
Same here 2.0.7 Wifi cannot turn on....I flash the TAR through mobile Odin
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Have v2.0.8 ready for test,... by a willing user. Anyone willing to test it?
[Galaxy Tab 7.7 Android Development] freaksamael:
Flashed zip. Send on PM the kernel for test ;)
[Galaxy Tab 7.7 Android Development] UpInTheAir:
v2.0.8 update

v2.0.8 is now up . WiFi is working!!

Thanks for the quick test freaksamael
[Galaxy Tab 7.7 Android Development] schen:
Wow very quick fix. Wifi working. Will give it a run for a day. Performance seems to be improve a lot on both cpu dan gpu. No freeze or crash yet
[Galaxy Tab 7.7 Android Development] Redtabs:
Thank you for your hard work mate. downloading now. :)

Edit: Tested!! working like butter!! I can see this kernel future a head!! Keep it up mate! You doing great!

tested software:

Mame4droid Emulator: Now running smooth very2 less lag better than using Tegrak overclock

Need for speed Most wanted: Extra textured. water on road.

PPSSPP (PSP emulator): 8-9% speed increased. better than Tegrak overclock.
[Galaxy Tab 7.7 Android Development] freaksamael:
May I suggest implementing FIOPS I/O Scheduler?

https://github.com/arco/samsung-kernel-msm7x30/pull/29
[Galaxy Tab 7.7 Android Development] Diabl0z:
Can install on paranoid 3.56?

_______________

I notice it its only work on 4.1.2 I should read before act :)
[Galaxy Tab 7.7 Android Development] hong25:
Wifi is workin thanks but seeder app fail on ur latest kernel but it work on 1.0.3
[Galaxy Tab 7.7 Android Development] freaksamael:
no need for seeder. random memory available is around 3600. you can check-it yourself with this: https://play.google.com/store/apps/details?id=com.promethylhosting.checkrandentropyavail

PS: now testing CrossBreeder: http://xdaforums.com/showthread.php?t=2113150 Let's see :D

EDIT: +200 in Quadrant; now is up to 5400!!! Available entropy - 4094 !!! Entire system feels a lot more snappier!

EDIT 2: with CrossBreeder IronMan game hung at startup...
[Galaxy Tab 7.7 Android Development] xrayA4T:
What is auto root and why is it included? I specifically need an unrooted phone as the software I used to receive my work email locks itself if it detects rooting. The software is Good Technology which I think is used ironically as it is crap.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Because of the frandom implementation.

I have included (as per the change-log) a entropy generator that doesn't create overhead (extra CPU cycles, according to zeppelinrox/V6SuperCharger thread). You don't need to run another app such as Seeder.

If you want to take advantage of the potential frandom speed, try CrossBreeder. Always Nandroid first though.

I'll put a link for further info on frandom and also CrossBreeder in Post #3.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
I'll have a look into it, haven't heard of it.

For governors, zzmove looks promising but built for quad core. Maybe I can find a modded one somewhere.

Allot of the governors in this kernel I don't think are properly optimised, so of anyone that comes up with better thresholds, sampling rates etc, please post you findings.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
I try and build an all-in-one kernel and only one build, particularly for a model I don't actually own.

As per OP, will auto root your device. Installs Superuser.apk (SuperSU), su binary and BusyBox).

There will be some that can flash the .tar to root their device and keep their stock ROM and some can flash .zip from custom recovery. For most, one less step having to worry about rooting or keeping root. I like it that way.

This is a development forum, but if you must,..... try the unroot option in SuperSU. In your case, no idea if it'll work.

Without root (edit: and what you can do with it), you are severely limiting the power of your device :) I never drive with the handbrake on ;)
[Galaxy Tab 7.7 Android Development] hong25:
Oh okok thank you for the info anyway your latest kernel is great :)
[Galaxy Tab 7.7 Android Development] UpInTheAir:
CPU & GPU freq/vdd table

Added CPU & GPU freq / voltage table to OP,

Included my current

personal

(mild) CPU UV settings (used app to test, but now run init.d script on boot, saves app/service running in background).

The table should make it easy to understand what CPU/GPU changes I have made within the kernel.

"Default" SkyHigh Kernel - there is no UV with any stock CPU or GPU freq. You can change the CPU vdd yourself to suit your own device. GPU control interface has not yet been implemented, I am still trying.

For those wishing to UV the CPU, maybe my settings are a place to start. For further info, please read Post #3 and warnings before hand

Other than that, look through my git. ;)

I''l also need to upload my initrd folder at some stage too............

.
[Galaxy Tab 7.7 Android Development] caveman_78:
Thank you Up In, my Wifi Is switching prperly and my Tab runs Smooth.

Enviado desde mi GT-P6800 usando Tapatalk 2
[Galaxy Tab 7.7 Android Development] freaksamael:
Here; better source for FIOPS:

https://github.com/KangBangKreations/KangBanged-7x30/tree/kb-stable/block
[Galaxy Tab 7.7 Android Development] UpInTheAir:
I'll have a look this weekend. Cheers.

Edit: internet and phone is down again. Probably same as last weekend - which was all of it. :banghead:

Anyone tested most of the governors and any feedback on you would call "useless" and why. ? I want to weed them out, but don't have the time to tweak or properly test each.
[Galaxy Tab 7.7 Android Development] schen:
I want to change the read ahead cache to 512 because I think it is the best cache for our tab. How to do that without using seperate app? Is it in the init.d file?
[Galaxy Tab 7.7 Android Development] UpInTheAir:
sdcard read ahead cache

My 2048 read ahead cache setting is built into the kernel initramfs and seems to be the "best" all round for our device internal sdcard emmc and my Lexar Class 10 32MB external sdcard.

A lot of test apps are quite inconsistent, but need many tests to average the results.

Speed also depends on class of sdcard, name and quality, type of memory, format type, and file size. Too large a read-ahead cache will lead to slightly extra use of RAM & CPU.

One setting I have haven't properly tested : V6SuperCharger setting of 1664. There is reference to it somewhere in his gigantic thread though.

This is the code I'm using, so if someone sees there can be a working code improvement, please feel free to contribute. :) The setting and speed tests I'm not really concerned with, and can be posted in a thread elsewhere. Final results of your proven testing may be posted here though for consideration into future builds.

#!/system/bin/sh
#
# Part info sourced from various places in XDA & elsewhere
# Script written by UpInTheAir@XDA for SGT 7.7 P6800

sleep 10
echo "512" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo "512" > /sys/devices/virtual/bdi/179:8/read_ahead_kb
echo "512" > /sys/devices/virtual/bdi/default/read_ahead_kb
echo "512" > /sys/block/mmcblk0/queue/read_ahead_kb
echo "512" > /sys/block/mmcblk1/queue/read_ahead_kb

Just flash the CWM.zip in custom recovery and reboot. This will change both your internal and external sdcard read-ahead cache to 512KB.

This will install 01sdcard512 to your system/etc/.init.d/ folder with correct permissions.

It will persist every boot, unless overwritten, deleted or another app/script overrides it.

To remove, mount system/etc/.init.d/ R/W with a root type file explorer and delete, then reboot.

If trying another sdcard tweak, ensure you remove the init.d script first, then reboot.

Cheers

UITA
[Galaxy Tab 7.7 Android Development] UpInTheAir:
1664 KB read ahead cache is the best I have found (On my device) for BOTH internal and external sdcard.

I will post my full report (in this post) from benchmark testing when I return home.

BTW, 512 KB was by far the worst I tested ;)

All tests done consecutively and no reboot. Use app to change cache size immediately before test.

SO next build, I'll be changing BOTH internal and external sdcard read-ahead to 1664 KB. Zeppelinrox@XDA definitely got it right ! ;)

Any improvement, no matter how small, is still an improvement ;)

.
[Galaxy Tab 7.7 Android Development] schen:
Thank you. I use 512 or otherwise the default 128 simply because I get the "right feeling' at those setting. Tried many setting above those values although giving me a better score I keep going back to default or 512! But I will try your 1669 for a while...Thanks again.

---------- Post added at 10:30 AM ---------- Previous post was at 09:54 AM ----------

Tried both script. Dont seems to work. My read ahead cache still 2048 after reboot. Script install fine into the init.d folder. Probably the init.d support doesnt work properly?
[Galaxy Tab 7.7 Android Development] UpInTheAir:
My internet just crashed out again.....

Can't check right now, but can say that init.d support works fine mirror to my device.

The scripts work, all I had to do for you device was change the mount for the CWM updater-script.

I'll have another look to make sure I didn't change anything.

Make sure you have no other sdcard apps overriding the settings etc.

Also ensure the script permissions are actually 777. If not, change them and reboot.
[Galaxy Tab 7.7 Android Development] bassem.mohsen:
for some reason i don't know, the new kernel 2.0.8 seems slower in the ui to me, and even it scored in the quadrant standard 3600.

while the previous kernel scored over 5200 score.
[Galaxy Tab 7.7 Android Development] schen:
Tried using CWM with no effect.

Tried manually move the script to init.d folder and change permission to 777 and reboot with no effect also.

Finally tried running the script manually using ROM Toolbox and yes the script do work. I have no other apps overiding the read ahead cache.

For some reason when using 2048 read ahead cache I experience some kind of lagging like for example when I first open setting -> application manager there is a short several second freeze before it started to load the apps list. If I change to 128 pr 512 first after booth and go to application manager it will load almost instantly.

In the mean time I will run the script manually after reboot. Still agood kernel thpugh. I can reach somewhere between 5500 to 5900 in quadrant. With ICS the ost I can get was 4900.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
1. I have Flashed back to complete stock

2. Flashed CWM recovery

3. Flashed kernel

4. Flashed scripts

5. Edited scripts

6. Reflashed scripts

7. Tried manually adding the script+permissions

8. Tried manually editing the the required files /sys/................ (reverts after reboot)

9. Looked in init.rc (might have missed it)

10. Changed the values in system/sbin/SkyHigh.sh (no good)

11. ++++tested init.d support +++ WORKS FINE ;)

Sorry, I have not found the answer for you. Maybe someone else can help you there. The kernel overrides any other value on reboot. You will just have to use an app until someone can find a solution. I don't have any more time to devote to it.

In any case, I am still going to set 1664 in next release. Of which I've had no success yet ..........

Edit : Think I found the omission ! stay tuned !

EDIT2 : Done Should work !

OK, please find attcahed the two files, please give them a try . I am going to edit the post I made with the code. Essentially, I forgot the "xxxx" qotation marks. Pretty simple eh ?

EDIT3 : NOPE Not working ....... enough for now, removed the scripts again

.

.
[Galaxy Tab 7.7 Android Development] schen:
No problem. Appreciate your efford to try to look into it. I can manually set it to 512 for now.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
HAve found the solution.

Will post here in a minute !

Edit : should work now. Just added a sleep 10 comand to wait until phone is fully booted before applying settings, otherwise kernel over-ride the script.
[Galaxy Tab 7.7 Android Development] schen:
I used this app to check whether I have init.d support.

http://xdaforums.com/showthread.php?t=1933849

It turn out that your kernel dont have init.d support. I have to use the app to activate it. Would like to see your solution first
[Galaxy Tab 7.7 Android Development] UpInTheAir:
You will have init.d support from kernel flash alone.

Can someone please use this test script attached to check ?? Stock ROM that hasn't init.d in-built to test properly.

1. Extract the script

2. Paste script into the init.d folder system/etc/init.d/........... (may need to give folder R/W permission before)

3. Give permissions 777

4. Reboot

5. Check /data/local.tmp/initid_log_test.txt >> open and you should see "done"

Works fine on my device.!!

Edit: forgot to attach before , sorry

.
[Galaxy Tab 7.7 Android Development] Redtabs:
Tested! Inside .log said "tested"
[Galaxy Tab 7.7 Android Development] schen:
Yes....someone please test the script to change the read ahead cache.

Still no go for me. I cannot change the read ahead cache at boot with thr script even after I set it to wait for 20s.

Even after I manually activated inid.d support through the app.

Somehow ot always revert back to 2048.

I can only change the value by manuLly running the script.

Thanks anyway. I hope it is not o ly me. I only install the xsp jelly bean rom stock. Then flash this kernel.
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Excellent. :thumbup:

Just to double check. ....

Please delete the log and rename the script to only 90test , removing the "S".

Reboot and check again.

.
[Galaxy Tab 7.7 Android Development] schen:
P.s. I dont have the initd_log_test.txt after reboot.
[Galaxy Tab 7.7 Android Development] edan1979:
both test work fine with me...
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Re-flash the kernel.

Working for others.

Sounds like a ROM problem.
[Galaxy Tab 7.7 Android Development] schen:
Oke....the test also work. Both S90... and 90...script executed. And I can find txt file.

But somehow the read ahead cache alwaya revert back to 2048 even after 20s delay.

Can someone please try the read ahead cache script to see whetehr it worked?
[Galaxy Tab 7.7 Android Development] UpInTheAir:
Did you flash the "New" script from a few posts back?

It is named same as previous (non working) script. You didn't flash the wrong one?
[Galaxy Tab 7.7 Android Development] Redtabs:
Done. Screenshot taken after reboot.