yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] LetMeKnow:
These tweaks should improve your Wifi speed and load the pages faster...:)

Hund v3.4.0:

Available TCP Congestion Control: reno and cubic

Hund v3.4.2:

Available TCP Congestion Control: westwood, reno, bic, cubic, highspeed, hybla, htcp, vegas veno, scalable, lp, yeah, and illinois

Change the TCP Congestion Control: /system/xbin/sysctl -w net.ipv4.tcp_congestion_control=cubic

You need to replace the red TCP name with your choice of the other TCP Control name...:)

1. westwood (Prefer and works best in my area)

2. cubic

3. reno

4. Have not test others yet...:)

5. (Worst)

Requirements:

You need a working "init.d" folder in order to use these tweaks.

Installation:

1. You need to install the "WiFi-Optimizing v1.0" in your custom recovery. It will create a file in your init.d folder for you. For some reason, you don't like these tweaks. You can use the "remove-WiFi-Optimizing" to remove those tweaks and back to the previous setting that you have.

2. The alternative method is to copy those tweaks below and paste them in one of the files in your init.d folder and save it with a reboot.

### WiFi Tuning and Optimizing

/system/xbin/sysctl -w net.ipv4.tcp_congestion_control=cubic

/system/xbin/sysctl -w net.ipv4.tcp_mem="4000000 4054304 4194304"

/system/xbin/sysctl -w net.ipv4.udp_mem="4000000 4054304 4194304"

/system/xbin/sysctl -w net.core.somaxconn=65536

/system/xbin/sysctl -w net.core.optmem_max=2097152

/system/xbin/sysctl -w net.core.rmem_max=4194304

/system/xbin/sysctl -w net.core.rmem_min=8192

/system/xbin/sysctl -w net.core.rmem_default=131072

/system/xbin/sysctl -w net.core.wmem_max=2097152

/system/xbin/sysctl -w net.core.wmem_min=4096

/system/xbin/sysctl -w net.core.wmem_default=65536

/system/xbin/sysctl -w net.ipv4.tcp_rmem_min=8192

/system/xbin/sysctl -w net.ipv4.tcp_rmem_default=131072

/system/xbin/sysctl -w net.ipv4.tcp_rmem="8192 131072 4194304"

/system/xbin/sysctl -w net.ipv4.tcp_wmem_min=4096

/system/xbin/sysctl -w net.ipv4.tcp_wmem_default=65536

/system/xbin/sysctl -w net.ipv4.tcp_wmem="4096 65536 2097152"

/system/xbin/sysctl -w net.ipv4.udp_rmem_min=8192

/system/xbin/sysctl -w net.ipv4.udp_rmem_default=131072

/system/xbin/sysctl -w net.ipv4.udp_rmem="8192 131072 4194304"

/system/xbin/sysctl -w net.ipv4.udp_wmem_min=4096

/system/xbin/sysctl -w net.ipv4.udp_wmem_default=65536

/system/xbin/sysctl -w net.ipv4.udp_wmem="4096 65536 2097152"

/system/xbin/sysctl -w net.ipv4.tcp_tw_reuse=1

/system/xbin/sysctl -w net.ipv4.tcp_tw_recycle=1

/system/xbin/sysctl -w net.ipv4.route.flush=1

/system/xbin/sysctl -w net.ipv6.route.flush=1

Notes: There are a few more tweaks that could help your wifi speed but you have to implement them in the build.prop. So I will introduce them when I work on the ROM part on post #3....:)
[Asus Transformer TF700] LetMeKnow:
The kernel is one of the important part of your device because it controls how your device is running and behaving. So it is a good place for users to tweak and change the settings the ways that users want..:) I will change my plan and apply these tweaks on _that kernel so I hope that there are more testers to test these tweaks..:) This will bring _that on board so we can be all benefit from his knowledge...;) I am working on these at the moment and will post update soon..

Mounting options: This will be the last explanations because I need more time to dig up information to answer _that questions...:p

Governors: Update soon..

I/O Schedulers: Update soon..
[Asus Transformer TF700] LetMeKnow:
Reserve for Rom tweaks and explanations

Warning: Please backup your system and personal stuff before installing this zip, just in case you need it. Also, please research or ask what are the advantages and disadvantages before using it...:)

TF700t users can install the zip below to Enable/Disable their journal on System, Caches, and Data partitions... The Enable Zip file will also add the mounting option for Journal_Data_Writeback which will helps the overall improvement on the slow I/O performance..:)

For _that's users, you can install the Enable zip file to convert the Journal_Data_Order to Journal_Data_Writeback. I believe that _that's kernel is using the default setting which is Data_Order...:)

Update:

Oop, I made a wrong statement that it does improve Read/Write....:( I/O scheduler does improve r/w speed, not mounting option...:p Haha, I think that I am buzz a little when I wrote this...

Good luck everyone...:fingers-crossed:
[Asus Transformer TF700] awilson77584:
How about if we install an earlier version with sdbag's kernel installer and the add your 1.3? Is that away to avoid wiping /data? Also, i see notes about performance and battery. How about the heat. I'd like to stay under 58c.

Thx
[Asus Transformer TF700] LetMeKnow:
I always use this command "fsck.ext4 or e2fsck" in the ET which will checks your System partition, Cache partition, and Data partition for a potential or corrupted problems. Especially on your Data partition, those commands will take forever to fix and clean up errors on it...

Also most of the time, if I run those commands with a good backup from the TWRP, I am end up with the issue here and there or even a bootloop.. I think that they are trying to convert the ext4 to ext3 system when it is restored from the backup. I don't have a solid evidence to confirm it...:)

To answer your question, if your system is not from a backup, then you can follow this method to see if it works for you.

1. Backup your system if you need to restore it

2. Format your data partition and wipe everything on your internal SD. You need to save your personal data some where because you will loose them if you format your data partition..

3. Using the kernel installer to install the ET version on your device so you have the ET build.prop

4. Reboot your device for it to setup and boot back into the TWRP so you can install the ET v1.3

5. Reboot your device again for the new version to setup

6. If everything is working, then you can restore backup for the data only from the TWRP and you should have the same settings and all apps as before.

Otherwise, you have to do a clean installation with a format of your data partition.

Or you can remove these commands from my v1.3 zip file in the updater-script. You can find it here: "/META-INF/com/google/android/updater-script". Then dirty installation...

ui_print("--->Tuning & Optimizing System...");

run_program("/tmp/fsck.ext4", "-Dfyv", "/dev/block/mmcblk0p1");

ui_print("--->Tuning & Optimizing Cache...");

run_program("/tmp/fsck.ext4", "-Dfyv", "/dev/block/mmcblk0p2");

ui_print("--->Tuning & Optimizing Data...");

run_program("/tmp/fsck.ext4", "-Dfyv", "/dev/block/mmcblk0p8");

About the performance and battery:

It is very fast and smooth comparing to the non ET version. At least it is on my device. For the battery, it will consume more battery because all 4 cores are running in a higher frequency to _that's kernel. You can always lower the frequencies to where _that settings then you should expect about the same battery usage..:)

For the heat issue: it should be depended on the load and frequency settings. For the light load on the balance mode, it should not be that high. However, you can lower your frequencies as describing above then you should not see any heat higher than your previous settings. I hope that I answer most of your questions...:)

Good luck...:fingers-crossed:
[Asus Transformer TF700] awilson77584:
Thanks!
[Asus Transformer TF700] LetMeKnow:
Does it work for you? Please give me feedback if it works and your opinion....:fingers-crossed: I will try to explain all the tweaks in the ET so users have better understanding how things work and how to use them properly...;)

Thanks..:)
[Asus Transformer TF700] Essentrix:
Thanks for the heads up LMK. Worked well but unfortunately had continued FCs using ondemand governor regardless of IO used though improved performance. Still good work mate. Cheers
[Asus Transformer TF700] LetMeKnow:
Thanks for the feedback. You will not see the performance if you use the Ondemand governor because it is not optimized yet...:( The ET is only optimized with the Interactive governor for now. Can you please leave it as a default setting for testing? I will try optimize the Ondemand governor for the next release...:)

Maybe you can help me out with the Ondemand optimization for the next release...;)

Update: It is totally wrong answer and deleted...:o
[Asus Transformer TF700] bluewr:
So, how long should a new install take usually?
[Asus Transformer TF700] LetMeKnow:
For a clean installation, it should only take around two minutes or less...:) If it is more than 5 minutes, you can use the power button to force it off. You can check the message during the tuning to see what partition is causing issue...:)
[Asus Transformer TF700] bluewr:
Mine is at Tuning & Optimizing Data and the bar is at...98% for the last two hour.

TWRP 2.6.1.0

So I should try reinstalling it, or start all over again?
[Asus Transformer TF700] LetMeKnow:
You can use the power button to force it off so it can boot to your system. When device is up and running, you may want to reboot it back to your recovery and try this.

1. Use a Format option under Wipe and Format you data partition.

2. When it is done formatting, you can go ahead and install ET v1.3 again. It should work nicely and cleanly this time...:)

Good luck and please report back, thanks..:fingers-crossed:
[Asus Transformer TF700] bluewr:
Doesn't work, still stuck at the final data part.
[Asus Transformer TF700] LetMeKnow:
Did it boot fine into the system when you tried to force it off with a power button? If it did boot fine, then your installation is successful except that something is not correct on your data partition and the ET should not touch the data partition. It is the reason why I use fsck to check all partitions to prevent any issue down the road. I need the answer from you so I can make better suggestions.. Thanks..:)
[Asus Transformer TF700] bluewr:
No, it just shows the Asus start screen, then it reboots again and again.

I'll need to go into power+Vol down to get into TWRP to wipe and reinstall rom again.

I can boot into it with cromi-x without the ET tweak, but with it, it goes into boot loop.
[Asus Transformer TF700] LetMeKnow:
Hmm, Did format your data partiton and wipe everything on your internal SD except the external SD before installing the Cromi X? Can you tell me what version of Cromi that you are using? How did you proceed with the clean installation? Thanks..
[Asus Transformer TF700] bluewr:
Cromi-X 5.2a

I reboot into recovery, use Wipe on everything except microSD(CromiX and EX tweak)

Then format it(Type yes)

Then go to install in TWRP and choose Cromi-X, and the Hunds OC option, and install and reboot it into Android.

Restart it once.

Then reboot into recovery and run EX tweak for new user.

I tried it 3 time, and it freezes, I can take a picture of it and upload it later tonight.

Currently going back to normal install and that v4 or v5 kernel, v6, makes me unable to see my 64gb microSD card in there
[Asus Transformer TF700] LetMeKnow:
Try to format first before wipe everything

Make sure to choose Hunds and ET options

Then reboot into recovery and run EX tweak for new user.

Yes, it is correct.

I tried it 3 time, and it freezes, I can take a picture of it and upload it later tonight.
[Asus Transformer TF700] LetMeKnow:
I know that _that v6 has a problem reading exfat and ntfs but not v4 or v5.. Something is not correct because your device is not even working properly with other kernel. Are you sure that you format your data partition?
[Asus Transformer TF700] LetMeKnow:
is your device up and running? :)
[Asus Transformer TF700] berndblb:
I wonder if the outdated recovery has anything to do with it?
[Asus Transformer TF700] bluewr:
Got it to boot, after restarting after it get stuck on the /data part on the 2nd try(Wipe Data)

Will run some benchmark and test it for a week.

Thanks for the reply.

And I am sorry for not being clear, I meant that that kernel, v4 and v5 works fine for me, since I watch movie from 64gb micro-SD card and for the kids.

But after updating to v6, it see's t he card, but not able to read/mount it.
[Asus Transformer TF700] LetMeKnow:
Hi berndblb,

I am still using the TWRP 2.6.1.0 and it is fine. Sometime, it does not recognize my external SD. Otherwise, it works perfectly...:)
[Asus Transformer TF700] LetMeKnow:
It is good to hear that you have it up and is running..:good: Yes, _that v6 has issue with exfat and ntfs formatted sd.. He will find a solution soon for users, hang in there..:)
[Asus Transformer TF700] bluewr:
Antutu score - 16327

UX Android 4.2.1

Multitask - 3841

Dav;ovol- 1477

CPU 1900 Mhzx4

Interget- 2630

Floatpoint - 1387

Ram - 482.1/970.4MB

Operation 1590

Speed - 523

GPU Nvidia Tegra 3

2D graphic 1200x1856 858

3D graphic 1200x1856 2810

IO 265327.7/27802.6MB

Storage 546

Database 665

I'll be testing it out for a week or so~

No problem so far, haven't used it heavily for gaming or tried running MMD on it yet.
[Asus Transformer TF700] LetMeKnow:
Hmm, my Antutu score is around 17000 +/- 200. :confused: Maybe the system2sd does help in my score...:) Can you test it when update apps from the google play? It is the issue that I always want to look for a solution. I think that this v1.3 does help a lot in this area if you leave the setting as a default for testing..

Thanks in advance,

LMK
[Asus Transformer TF700] bluewr:
Update what app from google play?

Google's own app?
[Asus Transformer TF700] LetMeKnow:
The tf700 is suffered a lot of lags or freezes during updating or installing any apps from google store. So if you are installing or updating any apps from google store, you can try to search your device or do something on your device to see if it works or even playing games on your device to see there is any lag issue...:) Thanks.
[Asus Transformer TF700] berndblb:
Finally got off my lazy old - ahem - RECLINER and got my nvFlash blobs squared away! :victory:

Burned two copies to CDs, one is on a flash drive, both my PC's have one backup and Google Drive hosts the last one. You think I'm overdoing it? LOL

Getting the APX drivers to work nearly drove me off the cliff. After about 3 hours I finally found out that the "normal" G Naked Drivers for APX are not working for the TF700! Deep in that thread was ONE post where he posted a link to a custom version for the TF700! Grunt!

But now it's: FLASHING TIME! :cowboy:

Your ET will get their fair share of my weekend, but first I want to give ROM2SD a whirl. I'll report later.
[Asus Transformer TF700] LetMeKnow:
Thanks bernd...:) I always remember what you said a while back about the lag about updating apps from the google store. I always try to improve in that area and would be interested to hear your opinion... If you can manage to get it works on you device, then you can see what I mean. It may not be the best but it runs very reasonable speed and smoothness. I can not wait to hear from your honest comments...haha :victory:

Thanks,

LMK
[Asus Transformer TF700] bluewr:
No lag from updating stuff.

I can try downloading a large app(With additional download) and play a game or video.

MicroHDMI out, seems to have a slight lag, when playing large file, in which it won't syn at first on the TV, but will catch up in 1~3 second.
[Asus Transformer TF700] LetMeKnow:
Thanks bluewr...:good: It is a great information that you have...;) Actually, I never use the MicroHDMI but it will help other users with the HDMI.. With your feedback, I can try to improve the issues that users encounter for the next release...

Thanks for feedback and your time...;)

LMK
[Asus Transformer TF700] tiernan22:
I changed the I/O to CFQ and now have zero lag when installing or updating from Play. It feels a little smoother on transitions as well.
[Asus Transformer TF700] LetMeKnow:
Thanks tiernan22.. Currently, I have optimized ROW and deadline..:) I will try to optimize the CFQ on the next release also and have the command available for users to change if they want...;)
[Asus Transformer TF700] LetMeKnow:
Hund v3.4.2!

Is anyone interested in Hund v3.4.2 + ET? Please let me know so I can upload the new ET with it...:)

Thanks,

LMK
[Asus Transformer TF700] tiernan22:
Yes, please. :D
[Asus Transformer TF700] LetMeKnow:
Does CFQ really make that big of differences? I thought that it is just a FIFO like scheduler...:)
[Asus Transformer TF700] tiernan22:
My tab seemed to like it a little better. I'm not sure it needs to be optimized if the user base would rather see your efforts spent elsewhere. CFQ is kind of FIFO-like in that it spreads bandwidth equally but still helps to prioritize requests.

I'm just using my tab for browsing and pretty simple apps. I'm certainly not gaming on it. I could be way off-base, but give it a shot and see what you think.
[Asus Transformer TF700] LetMeKnow:
Thanks for the information..:good: It sounds interesting and I will test it out before releasing the next ET..:) We need all the information from all users in order to improve the ET.... I hope that the ET is a community effort and not a person or a team....;)

I asked Hund to add the westwood + for the tcp congestion control and hope to improve our wifi speed a little bit because of less collisions...:good:

Also, Hund v3.4.2 has the dynamic Fsync and hope to give our tablets a little more reliability when it is not in use..;)
[Asus Transformer TF700] bluewr:
Hmm..

Had problem with the tablet, it get stuck in bootloop(It was fine for the last 2 day), so I had to wipe and format it.
[Asus Transformer TF700] LetMeKnow:
Thanks for the report...:) Do you have a good idea what causing the bootloop? Or how was it happenning?

Thanks.
[Asus Transformer TF700] bluewr:
No idea, My device was working the previous day, I shut it down, and the next day, turn it on, and it get stuck on the Asus boot screen.

If starting over, should I stick with the new user, or the new update zip?
[Asus Transformer TF700] LetMeKnow:
Did you use the power button to shutdown or an app to shut down your device? Would you please use the new user zip for now and I will upload the latest Hund's kernel v3.4.2 with dynamic Fsync and westwood control for the improvements. It will be up tomorrow or the next day the latest..

Thanks..:)
[Asus Transformer TF700] bluewr:
I used normal shut down, hold power button, select shut down, etc.

OK, I'll do the new user update now.
[Asus Transformer TF700] LetMeKnow:
Thanks..:)

If you have not fixed your device yet, please do this for me so I can have a better understand what is going on.

1. Format your data partition

2. Wipe everything on your internal SD except your system

3. Reboot to see if your device is up and running again.

Thanks..
[Asus Transformer TF700] bluewr:
Sorry, already wiped and reinstalled.

And Data still won't finish reading even after 2 hour, so I had to restart, but this time, it booted into android, didn't have to reinstall new user after wiping data.

Second time on the new user.

Using Check Rand Entropy on boot

https://play.google.com/store/apps/details?id=com.promethylhosting.checkrandentropyavail&hl=zh_TW

Value" 777

Antutu

Last score 16112

Current score - 16782

UX - 4.2.1

Multi - 3889

Dalvik - 1520

CPU - 1900

Interger 2922

Flatpoint - 1425

Ram

Operation 1600

Speed 522

GPU

2D 769

3D 2814

IO

Storage 661

Database 660

Powering off(Power button) and going to sleep, will try again tomorrow.
[Asus Transformer TF700] LetMeKnow:
Thanks for the information. It is great. I will remove the data partition check for the next release... About the entropy, it will max out at 4096 when you have your device running more then 10 minutes...You can check it again later. All the numbers are looking good...:)
[Asus Transformer TF700] bluewr:
Started fine today, played movie for 10 hour with no problem.
[Asus Transformer TF700] LetMeKnow:
Thanks for report back...:)

I will upload the new ET v1.4 with Hund v3.4.2 today after work...:) The current users of ET can just flash this new ET on top the existing without any wipes...I will have a change log for the updated information...Thanks...;)
[Asus Transformer TF700] sbdags:
Ooh can't wait :)
[Asus Transformer TF700] LetMeKnow:
Thanks mate for stopping by...:) I finished testing the deadline and working on CFQ scheduler..

BTW, I think that I like the westwood congestion control better than the cubic as an over all. It gives me a better experience when streaming a big file or video from the internet...:)
[Asus Transformer TF700] LetMeKnow:
I have a technical problem with ET v1.4..:( I need to test it a little longer and upload it tomorrow...:)

Thanks everyone,

LMK
[Asus Transformer TF700] Drenus:
Running Great on 1.3

Hey LMK, just wanted to let you know that I've been running ET v1.3 on mini-C-ROM2SD for a few days. Can't wait till 1.4. Thanks for your hard work!
[Asus Transformer TF700] LetMeKnow:
Thanks for the report...:) I am too aggressive on the memory tweaks and kill too many services on the background, LOL. I need to relax it a little and testing it right now. I should have it up and ready for users soon if the test is going smooth...:)

Thanks,

LMK
[Asus Transformer TF700] JoinTheRealms:
[MENTION=5313285]LetMeKnow[/MENTION] just to Let

You

Know, your doing a great job mate (I admittedly haven't tried them yet though:)). I look forward to your explanation of the tweaks, maybe some stuff i can implement in Linux:cool:.
[Asus Transformer TF700] LetMeKnow:
Thanks. I will try my best to explain but you know that my knowledge on android and linux are very limited..:)
[Asus Transformer TF700] LetMeKnow:
The ET v1.4!

I am uploading the ET v1.4 now and please give me feedback so I have a better idea what I need to improve for the next release..

Your wifi and overall performance should be improved for this version. Thanks Hund for a lot more tcp congestion control for his latest release v3.4.2 which gives us about 3-5MBps more on wifi...:) I will have a better explanations later for this version. BTW, I will be on the road shortly and have a very limited wifi access...:( I will try my best to answer any question when I can so please be patience, thanks..:)

For the current ET users, you can go ahead and install this on top of the existing ET without any Wipes or dirty installation if you will....;)

Edit: I am still working on the CFQ Scheduler optimization and update the ET information. I will implement them on the next release...:)

Thanks guys and gals and enjoy,

LMK
[Asus Transformer TF700] LetMeKnow:
How is the ET v1.4 treating you? A side note, if you have a default setting, you should have a quadrant score around 7700+ and antutu of 17500...:) Those scores are running without system2sd... If you get less than 500 points, you may want to wipe dalvik and cache and reinstall the ET v1.4 again....I don't know why after wipe and reinstall, the device is running faster...:)

No news is a good news, I guess..:)
[Asus Transformer TF700] johnlgalt:
Just to be sure, did you mean if either score is 500+ pts less than those values, then to wipe Dalvik / cache and reinstall?

Great work, BTW :D
[Asus Transformer TF700] Drenus:
Running smoothly on mini-C ROM2SD! It feels snappier than 1.3, which was already fantastic! I don't run any games on my tablet and the only time I push my tablet is in playing HD movies, so I can't tell if 1.4 is helping to push the tab further, but browsing/netflix/xbmc are running great! :good: