How to Change MTU on REVO - LG Revolution

Does anyone know how to change the MTU on the Revolution? I was on the Tbolt forums, and people are getting huge speed increases by changing their MTU to 1500. I looked in the build.prop file but didn't find anything.
Thanks

Samsuck said:
Does anyone know how to change the MTU on the Revolution? I was on the Tbolt forums, and people are getting huge speed increases by changing their MTU to 1500. I looked in the build.prop file but didn't find anything.
Thanks
Click to expand...
Click to collapse
I believe the MTU settings need to be changed through a terminal emulator
Join the revolt!

I found a path in root explorer to a file titled MTU.. Maybe it can be edited there?
Sys/class/net/lo/MTU
Join the revolt!

elreydotcom said:
I found a path in root explorer to a file titled MTU.. Maybe it can be edited there?
Sys/class/net/lo/MTU
Join the revolt!
Click to expand...
Click to collapse
Odd, I see "lo" but it's not a folder that leads me to MTU, it's just blank.

Samsuck said:
Odd, I see "lo" but it's not a folder that leads me to MTU, it's just blank.
Click to expand...
Click to collapse
That's strange. I was able to open up the mtu file I had, and the setting was 16436.. I set it to 1500, and my phone would not connect to 4g
Join the revolt!

Yes, it can be changed using a terminal emulator. It requires root, and I have heard that changing the mtu has led others to being unable to connect to 4G.
I just had to do this to tether my wife's revolution to my ASUS Transformer. Rather than changing the mtu on the REVO, I changed it on the Transformer. Didn't want to risk her not being able to connect to 4G.

MeshiaSamurai said:
Yes, it can be changed using a terminal emulator. It requires root, and I have heard that changing the mtu has led others to being unable to connect to 4G.
I just had to do this to tether my wife's revolution to my ASUS Transformer. Rather than changing the mtu on the REVO, I changed it on the Transformer. Didn't want to risk her not being able to connect to 4G.
Click to expand...
Click to collapse
is there a thread you followed to do this? have a transformer as well

revo_65 said:
is there a thread you followed to do this? have a transformer as well
Click to expand...
Click to collapse
There was a short article. I was going to post a link, but I don't have enough posts on this forum to do so.
If you go to Google and search for "Tether Another Android Device to a Motorola Triumph" it should be the first result that pops up. Your Transformer must be rooted, and you need to get a terminal emulator app. There's a QR code in the article leading straight to the market to download it.
Don't be like me and think it didn't work when the terminal emulator tells you "Permission Denied" when you enter the first command. That's supposed to happen. Just type "su", hit Enter and you're good to go.
Also, set the mtu to 1428 for best results, if you are tethering the Transformer to the REVO.

Following the tutorial I changed the MTU settings to 1500 (default was 1428) and my speed test scores seem to have improved. Just before the change I got scores of 32.17mbps, 37.73mbps, and 32.02mbps down. Afterwards I got scores of 45.99mbps, 38.37mbps, 36.93mbps, and 44.6mbps down. While not conclusive, the small sample size suggests faster downloads.
To change to the mtu I used terminal emulator:
$su
#ip link set dev bond0 mtu 1500
That was it. to put it back to stock:
$su
#ip link set dev bond0 mtu 1428
Do at your own risk. I haven't seen any ill effects yet, but I'm not responsible if you kill your phone. Wifi still works after the change too, at least to tether my laptop, I'll check to see if my hp touchpad still works later tonight. I also can't promise that it actually helps =)

It should still work to tether to most devices. Seems like most out there default to 1500. Can you let me know if you have any trouble connecting to 4G? Sounds like some folks are having issues connecting to 4G after changing their default mtu.
Also, I noticed that after a reboot, my Transformer reverted to stock mtu. Would not be surprised to see the revo do the same.

I do have 4g still after setting to 1500, but it does revert back to 1428 on a reboot. I also am not sure if it's the mtu setting, but i've had issues using wifi tether causing my phone to reboot itself today. I also have determined after running many more speed tests in different areas of town, that if there is a speed increase it's pretty much negligible. It might actually even reduce speed. It's hard to tell with the speedtest.net app, though, since three tests in a row can produce 3 very different results.
Anyway, it was kind of a fun experiment, but don't think it helps at all.
@MeshiaSamurai, if you decide that you need it to run at 1500 even after boot, it would be really easy to create a script that would run at boot with script manager so that it would stay at 1500.

When you say easy to create, realize you are talking to someone who has barely touched a line of script in his life. That would be nice though. It's not too difficult to pop into terminal emulator and change my mtu settings, but it would sure be easier if I only had to keep the phone at 1500, rather than adjusting everything else to 1428.

JohnnyAn said:
I do have 4g still after setting to 1500, but it does revert back to 1428 on a reboot. I also am not sure if it's the mtu setting, but i've had issues using wifi tether causing my phone to reboot itself today. I also have determined after running many more speed tests in different areas of town, that if there is a speed increase it's pretty much negligible. It might actually even reduce speed. It's hard to tell with the speedtest.net app, though, since three tests in a row can produce 3 very different results.
Anyway, it was kind of a fun experiment, but don't think it helps at all.
@MeshiaSamurai, if you decide that you need it to run at 1500 even after boot, it would be really easy to create a script that would run at boot with script manager so that it would stay at 1500.
Click to expand...
Click to collapse
Something I notice when people use the SpeedTest app to compare results is that they fail to verify that the same exact server is being used. It's displayed at the top and can be selected through options.
Something I though I would point out for those wanting to assure a true test/change...
-Cybie

MeshiaSamurai said:
When you say easy to create, realize you are talking to someone who has barely touched a line of script in his life. That would be nice though. It's not too difficult to pop into terminal emulator and change my mtu settings, but it would sure be easier if I only had to keep the phone at 1500, rather than adjusting everything else to 1428.
Click to expand...
Click to collapse
To create the script (should take about 5 minutes)
1. Download script manager (free in the market.
2. On the main page hit the menu softkey and choose "new", then new script, and enter a file name.
3. If prompted, choose SM editor as the program to use
4. In the editor type in the command that you use to set the mtu, but you don't need type su. The end result should look like:
#!/system/bin/sh
ip link set dev bond0 mtu 1500
But the second line should be the one that works for your phone. Also make sure the second line is all lower case, autocorrect will probably try to capitalize IP.
5. Save and go back to the main page of script manager.
6. Scroll down and tap on the file you just created.
7. Click on su and boot so that they're highlighted and hit save.
8. Exit, and you're good to go.
9. Reboot and use terminal emulator to make sure it worked.
@Cybie, yup, same server. I was more referring to how 3 tests in a row can each vary by up to 10mbps even using the same server.
Sent from my VS910 4G using xda premium

My mtu is at like 16k sumthing whats better a higher number or lower??
lg revo 2.3.4 with gingervolt 1.3 and dread ginger v1.3

Got that script running on my Transformer just fine. It boots and adjusts the mtu to what I desire; in this case 1428.
Tried doing it with the REVO. It will not run the script successfully on boot. It will run it just fine if I go to my script editor and run it manually, though. Doesn't seem to be anything wrong with the script itself. It just isn't running it properly on boot.
---------- Post added at 05:17 AM ---------- Previous post was at 05:08 AM ----------
Better is not necessarily higher as far as mtu is concerned. It stands for maximum transmission unit, and it governs the packet size of incoming or outgoing data. Theoretically, higher would be more efficient. However, the larger the packets, the more likely any given packet will contain corrupted data. Packets containing corrupted data have to be sent again. Thus, having packets that are too large can actually slow down your connection.
The default broadband mtu is 1500. Most devices also default to 1500. However, for some wacky reason, the REVO defaults WiFi Tethering to 1428. Setting it to 1500, or setting the device you are tethering it to down to 1428 will allow you to tether successfully.

O ok... thanks and if u get a script running do u think u can put a dl link or sumthing so we can all use it also??
lg revo 2.3.4 with gingervolt 1.3 and dread ginger v1.3

Related

RAM in Froyo: welcome to Hell

I have been using the latests builds to see if they mitigate a common problem in our devices (mine is a Polaris). The insufficient memory makes it lag until forever when switching amongst applications, not only the heavy ones, but also the supposed light applications like Messaging, Phone, Contacts, etc.
The system has to work under really hard conditions: 20 - 28 MB when starting up. Every application I run is a fire proof. Applications like Navigation makes our devices literally crawl and bite the dust. Not far away, I was driving and tried to play some music at the same time. It was impossible. The waiting was unbearable and it finally hung like a pro.
My question is: is there any chance to free up memory or use it more efficiently in order to avoid these undesirable situations?
Did polaris get back some memory with Froyo kernel like vogue did? From the video buffer or something... what res do you run at?
I'm running at 240x320 - 120 dpi
I made a screenshot of a "free" command in a terminal (see attachment image).
My kernel is this one (converted with Atools):
http://androidhtc.git.sourceforge.n...=2.6.32/VOGUIMG-320-FROYO-10-4-10.NBH;hb=HEAD
Thanks for your interest!
Im not sure.. but is there a way to use the sd as ram?
I think its not fast enough, but i havent seen any "benchmarks" yet how fast the ram on the polaris works.
Maby its slower but fast enough to work as swap etc?
Enabling compcache will help you.
Still, our little devices cannot multitask very well with Android, but I can navigate and play music at the same time, with compcache.
You will need drivers that match your kernel, in /system/lib/modules. I have packaged some in the first post of this thread that should work for each of the two popular kernel versions.
n2rjt said:
Enabling compcache will help you.
Still, our little devices cannot multitask very well with Android, but I can navigate and play music at the same time, with compcache.
You will need drivers that match your kernel, in /system/lib/modules. I have packaged some in the first post of this thread that should work for each of the two popular kernel versions.
Click to expand...
Click to collapse
Alright, I'm downloading the modules for 2.6.32. After applying the update, what should I do to enable compcache? Some time ago, this setting was in Spare Parts.
SuperJMN said:
Alright, I'm downloading the modules for 2.6.32. After applying the update, what should I do to enable compcache? Some time ago, this setting was in Spare Parts.
Click to expand...
Click to collapse
Open terminal
type: Su
and then
compcache.sh enable
-Arturo- said:
Open terminal
type: Su
and then
compcache.sh enable
Click to expand...
Click to collapse
any way to confirm that it worked?
margosmark said:
any way to confirm that it worked?
Click to expand...
Click to collapse
type FREE in terminal and look under swap if it shows zero then it's not active.
-Arturo- said:
type FREE in terminal and look under swap if it shows zero then it's not active.
Click to expand...
Click to collapse
yea, try doing free from a terminal you should have an amount of memory for the swap row
For testing...
Thank you SuperJMN for this thread : I hope this help us for better use of our phone.
Like you, when I try to use my GPS navigation (Navigon or Igo8) I'm bored that's too slow !! Impossible to change anything if I want...
I try now with Compcache enable, I can see 130024 (total and 104156 used) instead of 104024 : swap = 26000
Cheers.
manu33xtro said:
Thank you SuperJMN for this thread : I hope this help us for better use of our phone.
Like you, when I try to use my GPS navigation (Navigon or Igo8) I'm bored that's too slow !! Impossible to change anything if I want...
I try now with Compcache enable, I can see 130024 (total and 104156 used) instead of 104024 : swap = 26000
Cheers.
Click to expand...
Click to collapse
any better luck with comcache on??
Report
I installed this update for my .32 kernel (dated September, the 30th):
http://forum.xda-developers.com/attachment.php?attachmentid=409422&d=1285714954
My build is the latest: http://sourceforge.net/projects/androidhtc/files/system-froyo-01-10-10_16.tgz/download
When I open a terminal and type
su
compcache.sh enable
it states that compcache will be enable in 120 seconds.
After that time, a free command doesn't reveal any change.
I've also tried typing
su
compcache.sh start
When doing this, it processes the command and after 30 seconds or so, some lines are displayed:
Code:
insmod: can't insert '/system/lib/modules/lzo_compress.ko': File exist
insmod: can't insert '/system/lib/modules/lzo_decompress.ko': File exist
insmod: can't insert '/system/lib/modules/ramzswap_compress.ko': File exist
swapon: /dev/block/ramzswap0: Function not implemented
vm.swappiness = 30
After that, a free command doesn't reveal any change, too.
SuperJMN said:
I installed this update for my .32 kernel (dated September, the 30th):
http://forum.xda-developers.com/attachment.php?attachmentid=409422&d=1285714954
My build is the latest: http://sourceforge.net/projects/androidhtc/files/system-froyo-01-10-10_16.tgz/download
When I open a terminal and type
su
compcache.sh enable
it states that compcache will be enable in 120 seconds.
After that time, a free command doesn't reveal any change.
I've also tried typing
su
compcache.sh start
When doing this, it processes the command and after 30 seconds or so, some lines are displayed:
Code:
insmod: can't insert '/system/lib/modules/lzo_compress.ko': File exist
insmod: can't insert '/system/lib/modules/lzo_decompress.ko': File exist
insmod: can't insert '/system/lib/modules/ramzswap_compress.ko': File exist
swapon: /dev/block/ramzswap0: Function not implemented
vm.swappiness = 30
After that, a free command doesn't reveal any change, too.
Click to expand...
Click to collapse
Try this one
http://dl.dropbox.com/u/7688082/androidupdate.tar
Also is terminal added to the white list in super user app.?
Try with this update...
l1q1d said:
Try with this update...
Click to expand...
Click to collapse
It worked! Thanks!
By the way, the touchscreen behaves erratically with 4-oct NBH. Test with calibration app and tap the screen. You will notice abrupt lines.
Edit: if you want to see which behavior I'm referring to, watch this video: http://www.youtube.com/watch?v=DPLu41BUB1Y
It happened sometime in the past, but with this one it happens the same (although the abruptness is not as much as in this video).
Edit 2: Strangely enough, it is fixed on reboot, but after some time running the touchscreen starts to behave crappy again. It happens with the newest .NBHs made in October.

[MOD] Uncapped Data For Your ROMS (Skyraider, Virtuous, OMGB, ETC)

I have taken the steps that was said below and have edited the the services.jar to include the uncapped data mod. I did not do this on my own I used the steps BThomas22x gave. Flash the zip in recovery, one includes the 6 bar status mod and the other is the 4bar mod which comes stock on skyrader sense. Flash at your own risk but they worked for me... and please nandroid first
Also if you need it made for your rom send me your services.jar
*Known to create forced closes on the mobile networks menu*
Skyraider 3.5
6bar
http://www.mediafire.com/?1zvzlfhgo8chlc1
4 bar or regular skyraider
http://www.mediafire.com/?8i4b9jbh6dc7le6
Since no one knows how well these work, if you are not satisfied flash these to go back to stock:
6bar stock
http://www.mediafire.com/?4ei0zp92j7c7j03
4bar stock
http://www.mediafire.com/?obyahckab7g16w0
Other ROMS
Athena
http://www.mediafire.com/?81ibn35zuagh61z
Virtous Rom
http://www.mediafire.com/?4zdcxim6iutypjy
Incredible Gingerbread OMGB
http://www.mediafire.com/?dfd0xjjh8y4a1c4
CM Nightly 184
http://www.mediafire.com/?551c8btbtjoj8ec
MIUI 12.24
http://www.multiupload.com/01SV6SIEF9
IncRom
http://www.mediafire.com/?v1av18itj18yebv
Ultimate Droid 2.5
http://www.mediafire.com/?i0eqbiw9r1qw14y
Originally Posted by BThomas22x
Ok first things first... I just came to the EVO from the Epic, so I'm gonna join this community now .
..::..Disclaimer..::..
You are voluntarily flashing this at your own risk. I can not be held accountable for anything you choose to do on your own. If you try to blame me, I will laugh at you. ....While pointing.
..::..Data Service Governer Killer..::..
1. What does this do?
This is a modification to the services.jar framework file, that allows you to have an un-throttled internet.
2. Will this make my internet faster?
Yes and No. This will not "Upgrade" your internet. This only takes the trottle off, so you can download, or play games and not have to worry about it hitting a certain peak and lagging from that point on. It doesn't provide you with a new internet, only a warm fuzzy feeling from knowing you don't have to worry about it capping off.
3. If I flash this, will it break my phone?
If it did, yours would be the first case I heard of. I've personally flashed it NUMEROUS times.
4. Will this work on any ROM?
Yes. This is not based off a particular ROM, and can be used with ANY EVO ROM. ALTHOUGH If you're Dev has made changes to the services.jar file, this could wipe those changes out. If you are unsure, send me your services.jar file, and i will look for you. Hopefully, i'll be able to make a download list in a couple days with all the Dev's services.jar files, so you can download that specific one. You can always ask your Dev.
5. Do I have to be rooted?
Yes. In order to be able to flash this, you are going to need to have root with a custom recovery. I.E. Amon_Ra.
..::..Install Instructions..::..
Simply download, and place on the root of your sdcard. Then go into recovery and flash it as you would a ROM. Done.
..::..Download..::..
Data Service Governer Killer
..::ALTERNATIVELY::..
You can follow this method if you're Services.jar framework is already modified, or if you aren't sure.
1. Download these 2 files:
Smali_Baksmali
2. Create 2 folders on your C: Drive labeled "Smali" and "Baksmali". (This is for easy access to the folders when being cd'd)
3. Place the 2 downloaded files in the C: Drive folders accordingly. (I.E. Smali.jar in "Smali" folder, and Baksmali.jar in "Baksmali" folder.)
4. Using 7zip or WinRAR (or any other zip program) open the services.jar file that you pulled from your phone. Copy the "classes.dex" file and paste it into the "Baksmali" folder.
5. Open your command prompt and type the following:
cd C:/Baksmali
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
6. Open the newly created "classes" folder (its inside your Baksmali folder that you should already be in) and navigate through "/com/android/server/". Scroll down till you see the 6 or 7 "Throttle" files. They will be located between "TelephonyRegistry" and "TVCableObserver$1$1". DELETE ONLY THE "THROTTLE" FILES.
7. Back out of the folders until you are in the "Baksmali" folder again. Now open the "Smali" folder you created earlier. Place the "classes" FOLDER in the "Smali" folder.
8. Return to your command prompt and type this:
cd C:/Smali
java -Xmx512M -jar smali.jar -o classes.dex classes/
9. You should now see a "classes.dex" file in your "Smali" folder. This is the NEW compiled services.jar classes.dex file. Pull up the 7zip or WinRAR file you had open earlier, delete the current classes.dex file from the services.jar, and place the newly compiled one in it's place.
10. Place the services.jar file back into your ROM, and boot up. You are now running Unthrottled.
11. If you do not see the "Throttle" files, don't complain they're not there, your Dev may have already taken them out.
What this mod will do for you:
Originally Posted by gmichaelow
I think a bit of clarity is needed here. This mod will only stop Verizon from slowing down your data speeds.
It will NOT help you avoid overage charges.
For example let's say you're on a 250mb a month plan. This mod only ensures that you will get 250mb at unrestrcited speeds. Going over 250mb will still result in an overage charge.
Also, the reason people keep referring to 5gb on their "unlimited" plan is because Verizon starts to throttle data speeds after 5gb of data. That doesn't mean you get charged more, Verizon just slows you down. This mod will prevent that, and only that.
I hope that clears things up.
Click to expand...
Click to collapse
*Big Thanks to sino8r for being the Original person to come up with this.*
Just loaded the 6-signal bar version on my SR3.5 phone. Used Speed Test to get speed numbers.
Before the install: 300 down/500 up
After the install: 1400 down/650 up
I should qualify that last night (8:30pm EST) I clocked 2000 down/900 up.
Also, I've used a paltry 1.6GB this billing cycle, so I shouldn't be hit by the governing service if everyone's assumptions are correct. It's possible that my results are simply from the reboot and being connected to a different tower, or maybe the throttling is also controlled by the time of day.
ill check this out
im getting 800 down and 500 up... i never tested it before i did it bc i was just following the directions..
now i just got 1200 down when my service was higher... so it could be a service thing?
In my completely non-scientific experience, I've found that 3G download speeds seem to depend more on the tower itself than the quality of the connection to it. For example, I've had 2-3 bars (out of 6) in a busy DC suburb, and clocked my download speed at 2400. Then I'll go to a more out-of-the-way area where I'll have 6/6 bars and only get 450.
I think there's definitely something to the idea that speeds might be throttled during "peak" hours to alleviate network strain. I suppose it'll take more input from others before a conjecture can be reached though.
agreed... but ill make some zips do put the stock back in for those that want a faster way back
While wireless tethered to my laptop, in Southern Maryland @ 1445, I went to speedtest.net and before the mod I had the following:
DL = 0.61Mb/s
UL = 0.62Mb/s
After the mod same location @ 1500:
DL = 1.16Mb/s
UL = 0.68Mb/s
Is there another means of testing this which I'm not aware of? I assume the speed test you've referenced is in fact this site?
Dangit! hahaha I just followed the "Alternatively" directions and got this going on my wifes SK3.5 inc.
Look, If your going to beat me to the punch every time. please be a little quicker about it!!!
Seriously, nice work. I may flash your zip just to be sure...
My #'s before: down/up - 1.41/34 ,, 1.61/.30 ,, 2.06/.37
My #'s after: down/up - 2.31/.43 ,, 1.99/.49 ,, 2.08/.48
Now going to check and see if anyone has generated this mod for Myn's RLS4... may wait a bit. Clicking the thanks button.... ... now.
haha sorry ^ i kept refreshing the section to see if anyone has tried it but no one did so i took a crack at it... it was rather simple and strait forward.
I just tested this, and it seems to work great. I did 12 speedtests, 6 before applying and 6 after.
the average of the 6 speedtest results before: ping: 235 down: 389 up: 271
average of the 6 post tests, ping: 182 down: 867 up: 561
I conclude that this works!
Thank you very much!
Edit: all of these tests where done within the same 30 minutes, and I have used 326.74MB of data so far in my billing cycle.
mrlanrat said:
I just tested this, and it seems to work great. I did 12 speedtests, 6 before applying and 6 after.
the average of the 6 speedtest results before: ping: 235 down: 389 up: 271
average of the 6 post tests, ping: 182 down: 867 up: 561
I conclude that this works!
Thank you very much!
Click to expand...
Click to collapse
thanks for your test!
YoJoe,
Since I'm not smart enough... and too lazy to learn would you be willing to help with http://forum.xda-developers.com/showthread.php?p=10146527#post10146527
Well although without baseline data to compare it with, I did a few speed tests using the speed test app and here are some numbers I ran in sequential tests.
DL: 1124 kbps UL: 819 kbps
DL: 583 kbps UL: 791 kbps
DL: 647 kbps UL: 783 kbps
bradatz said:
YoJoe,
Since I'm not smart enough... and too lazy to learn would you be willing to help with http://forum.xda-developers.com/showthread.php?p=10146527#post10146527
Click to expand...
Click to collapse
sure! but its not allowing me to download it upload somewhere or try and not have it locked
Seems to have helped my upload speeds. I did 3 tests before and after with the Speedtest.net app. I put the phone on a table outside and kept it in the same spot for each test; that's the only scientific measure I took.
Avg kbps down/up:
Before: 1214/525
After: 1210/877
I'm sorry, but I have to call shenanigans here.
deficitism said:
I'm sorry, but I have to call shenanigans here.
Click to expand...
Click to collapse
Care to elaborate?
deficitism said:
I'm sorry, but I have to call shenanigans here.
Click to expand...
Click to collapse
I'm skeptical myself, but my tests show better upload speeds each time, with the same relative download speed. I'd be interested to see a more comprehensive set of tests at an off-hour in several locations against several different towers.
King Speedy said:
Care to elaborate?
Click to expand...
Click to collapse
I don't think verizon would be clumsy enough to bury hidden data caps inside of a jar file. On top of that, I have never heard of ANYONE being throttled in such a manor.
As far as speed testing, I can get drastically different numbers if I ran the benchmark several times. Same case if I ran a bandwidth analysis on my computer or router.
Hope I'm wrong, but I sense the placebo effect.
i have no idea if this works or not lol i just did the mod for myself and others since i know how
I did three tests before and after.
Before:
D/U
1671/869
1736/884
1851/901
Average: 1752.6/884.6
After:
D/U
2027/868
1841/876
2156/913
Average: 2008/885.6
Seems to have worked well. I didn't move the phone through the whole process. It did take a while to boot the first time though.

Stagefright, VM Heap, SYSCTL and other performance related options

With the recent release of Spz0s rom and Adrynalyne getting this beat over clocked these settings are becoming obsolete. Use at your own discretion.
I recently restored my phone to stock, with basic settings, meaning I did not use any of the settings listed here. I scored a 1013 on a bench with stock everything. Now that I have VTL Launcher as stock again and have everything set back up for me, I'm scoring 1000s and 990s regularly. Again without any of these settings enabled. Which is leading me to believe that a stable system is the fastest thing when it comes to performance and benchmark scores. The settings listed below did help me out, with an unstable system. Now that I am running on a stable system, none of the settings below helped my performance or bench scores, they only hurt them. So these settings below will help anyone with an unstable system to not feel the lag of said unstability. If you try these settings and they don't do anything, or hurt your performance or score, turn them back to stock and revel at how much you rock for having a super stable system! I have also noticed that the app AUTO KILLER MEMORY OPTIMIZER virtually replaces sysctl. If you run AUTO KILLER I would suggest setting sysctl back to stock! I would recommend AUTO KILLER MEMORY OPTIMIZER from the Market to EVERYONE with a Zio. Nice app, set it to Aggressive!
FIRST OFF, THESE SETTINGS ARE ONLY CHANGEABLE IF YOU ARE ROOTED!! If you are not I cannot help you!!
I am making this thread to address performance issues with the Zio. If you have done a benchmark score with just basic settings, it's already apparent to you the Zio is not the best phone. I have found some tweaks to make the phone run faster and score better on benches.
USE THESE SETTINGS AT YOUR OWN RISK. IF YOU SCREW SOMETHING UP, DON'T CRY TO ME.
Stagefright: Stagefright is part of the stock media player that comes disabled on the Zio. Turning on stagefright will increase your benchmark score by a lot, and has also been reported to make Video Playback much better, getting rid of jumpy lagging videos.
You need to make sure you have r/w(read/write) access in your file manager. Root Explorer has r/o(read/only) and r/w. You cannot change any files without r/w access in your file manager.
To Enable Stagefright you open your file explorer(i.e. root explorer, astro, etc.) and navigate to the system folder. Open build.prop in your text editor. Scroll down to where you find stagefright. There are four settings for it grouped together near the bottom of the script. Next to each setting it says =false. You need to edit the false to say true. Once that is done, go up just slightly from that spot, there is also another spot to enable stagefright. Change that to true as well. Also notice that just above this last stagefright script, there is something about the vm.heap and dalvik cache. This is where you change your VM Heap size.
(NOTE: ENABLING THE HTTP SETTING IN STAGEFRIGHT ALLOWS FOR A RICHER HTTP BROWSING EXPERIENCE BUT WILL ALSO PUT A GREEN BAR ON YOUTUBE VIDEOS. KEEPING IT SET TO FALSE WILL AVOID THIS GREEN BAR AND SHOULD NOT AFFECT OVERALL PERFORMANCE!)
VM Heap-Not exactly sure what the technical aspect of it is, but increasing the vm.heap gives the dalvik cache more room to work with, thus making your memory faster. THIS NUMBER SHOULD NOT BE SET BELOW ANDROID DEFAULT WHICH IS 24. And should also not be set above 44. If you want to change this number, add or subtract 4 within the above values, 24-44. This can go down to 16 but you'll see the results and why I said to leave it up pretty fast.
SYSCTL- To edit these settings, open your file explorer, hit the ETC folder. Scroll to bottom and find sysctl.conf, long press and open in text editor. So far I can only say there are three settings here you need to adjust.
To edit SYSCTL settings you must first download and install the app sysctl config from the Market. After you set it up initially it can be uninstalled and leave behind the settings folder for further settings changes by manually editing or you can keep it and just use it to make the changes.
First is MIN FREE KB. This number will not be the same for everyone, although I can tell you setting this number above 4096 seems to slow the system way down. Although you may try any of the following numbers..
1536, 2048, 4096, 5120, 5632, or 6144.
These are the only numbers I would suggest using as they are parameters that came out of the phone itself.
sys/module/lowmemorykiller/parameters. <----DO NOT CHANGE the numbers in this location, they are system defined parameters and are NOT to be changed!
The second setting is vfs.cachepressure. I have this set to 10. Default is 50. Basically what I've read about this, it opens more room by setting it lower, leaving more memory free from constantly checking and clearing the cache. Read more here http://forum.xda-developers.com/showthread.php?t=523707&page=12
The Third setting is oom. It's the last value in sysctl.conf and needs to be set to 1 or 0. Instead of your phone starting to kill apps when it's out of memory, it does something else that I didn't quite understand, which is supposed to boost memory performance. Some people are seeing great results with this setting. Some people say it doesn't do anything. Seems to be specific to the user, and I have yet to find anything in common between two users who say this helps. Although bench scores are higher with it set to 1.
For these settings to take effect you must reboot your phone. Changes to these settings are only applied by a reboot, so any time you change anything, REBOOT!
If you do not know how to change settings manually, there are two apps in the market to help. VM Heap Tool will change your VM Heap for you, no need to manually edit if you don't want to. sysctl config is an app that will allow you to easily change the sysctl settings.
There is an App that will change your stagefright settings for you called Blade Buddy. I did not have a good expeience with this program and would suggest that you edit stagefright manually since it's pretty easy with a superuser file manager.
I can say with certainty that turning on stagefright and adjusting and playing with the rest of the settings that your phone will turn in to a beast compared to how it came out of the box.
As far as battery performance goes, I've noticed a 10-15 percent increase(estimated) over the life of a charge(depending on amount of usage and type). I have noticed more battery use. But not so much that these settings wouldn't be worth using. I gave numerous variations of these settings tries over 2 very long months of restarts and three different benchmark programs. Any additional information or discoveries are welcome.
If this helped, please hit Thanks!!
Muchos Gracias to everyone in #openzio as always. Spz0 n Mattix are always a big part of anything I do. They are always nice enough to save me from myself. And much thanks to anyone that helps out with the Zio at all. Lets own this phone!
Nice write-up bro.
Well, good guide. Hopefully Kyocera calls me back in regards to the kernel source code so we can really overclock this thing.
Sent from my Zio using XDA Premium App
Their lawyer in San Diego got a hold of me on Facebook. Asked me to call her back. Three calls and no dice. Waiting on her response now. Hopefully soon. She said they are "working the bugs out". Which is a load of BS since we have phones in our hands, the source is done. They just have to give it to us and I told her bluntly just that.
Tell them to call me lol, I want the source. Give us the source!
Sent from my Zio using XDA Premium App
So what happened to getting it? Teacher not know the right trick? Have you heard about using git to get the source? I dunno what git is but it may help? Ever heard of it?
Sent from my Zio using XDA Premium App
http://en.wikipedia.org/wiki/Git_(software).
Google is your friend???
Also, I don't have a sysctl.conf file. At least not where you said it is or one that root explorer can find...
Yeah if I actually understood any of that I wouldn't be asking.
Ok here is the best benchmark average I have gotten so far. These are the settings I used to achieve it.
Avg Benchmark - 795
High - 900 (omitted from average)
Low - 710 (omitted from average)
Avg with high and low only changed by 6 points.
Sysctl Support - Enabled ( I am using the Sysctl app form the market.)
Min free Kbytes - 4096
Dirty Ratio - 80
Dirty BG Ratio - 40
Oom Allocating Tasks - Enabled
VM Heap Tool - VM Heap set to 36m
Stagefright settings are all set to "True"
What we need to know now is what setting are going to speed up the UI. Like cutting load times on FB and other apps, what is making the phone just lightning fast? Doesn't seem to matter too much as long as you don't go above 4096. Finally started to see some system lag with 8192. We need to figure out what makes the phone the most responsive, fastest, beast of a phone.
Messing with the radio numbers only seems to slow me down. And still can't really find anything on what vm.swapiness does either.
sinisin said:
What we need to know now is what setting are going to speed up the UI. Like cutting load times on FB and other apps, what is making the phone just lightning fast? Doesn't seem to matter too much as long as you don't go above 4096. Finally started to see some system lag with 8192. We need to figure out what makes the phone the most responsive, fastest, beast of a phone.
Messing with the radio numbers only seems to slow me down. And still can't really find anything on what vm.swapiness does either.
Click to expand...
Click to collapse
Well, I have also downloaded Link2SD from the market and put every app (except system apps) on the SD card and That has given me a little over 100MB free on phone storage and I am using Memory booster lite to free up memory on the phone. All of these things have made a huge difference in the speed and performance of the phone including page load times. (facebook opens and loads almost instantly).
Be careful. Don't move things like Widgets that need to refresh or themes for your launcher or the launcher itself. Seems fine at first until you run for a while and Widgets stop and launcher always reloads.
Sent from my Zio using XDA Premium App
Are you on Wi-Fi while opening apps or 3G and if 3G how many bars?
Sent from my Zio using XDA Premium App
Using Root Explorer /ect/sysctl.conf I'm not seeing this file...
sinisin said:
Serious changes coming soon. New numbers up for min free KB below already.
Stagefright: Stagefright is part of the stock media player that comes disabled on the Zio. Turning on stagefright will increase your benchmark score by a lot, and has also been reported to make Video Playback much better, getting rid of jumpy lagging videos.
To Enable Stagefright you open your file explorer(i.e. root explorer, astro, etc.) and navigate to the system folder. Open build.prop in your text editor. Scroll down to where you find stagefright. There are four settings for it grouped together near the bottom of the script. Next to each setting it says =false. You need to edit the false to say true. Once that is done, go up just slightly from that spot, there is also another spot to enable stagefright. Change that to true as well. Also notice that just above this last stagefright script, there is something about the vm.heap and dalvik cache. This is where you change your VM Heap size. (NOTE: ENABLING THE HTTP SETTING IN STAGEFRIGHT ALLOWS FOR A RICHER HTTP BROWSING EXPERIENCE BUT WILL ALSO PUT A GREEN BAR ON YOUTUBE VIDEOS. KEEPING IT SET TO FALSE WILL AVOID THIS GREEN BAR AND SHOULD NOT AFFECT OVERALL PERFORMANCE!)
VM Heap-Not exactly sure what the technical aspect of it is, but increasing the vm.heap gives the dalvik cache more room to work with, thus making your memory faster. THIS NUMBER SHOULD NOT BE SET BELOW ANDROID DEFAULT WHICH IS 24. And should also not be set above 44. If you want to change this number, add or subtract 4 within the above values, 24-44.
Phone Edit- Found numbers for min free KB. sys/module/lowmemorykiller/parameters. 1536, 2048, 4096, 5120, 5632, 6144. Assuming these are new guidelines. Will edit fully tomorrow. Don't change these settings. They are system parameters and should NOT be changed.
SYSCTL- To edit these settings, open your file explorer, hit the ETC folder. Scroll to bottom and find sysctl.conf, long press and open in text editor. So far I can only say there are three settings here you need to adjust. First is MIN FREE KB. This number will not be the same for everyone, although I can tell you setting this number above 8192 will slow the phone down, most people report anything over 4096 slowing the phone down. The default is 2048, I would suggest going up to 4096 or 8192.
The second setting is vfs.cachepressure. I have this set to 10. Default is 50. Basically what I've read about this, it opens more room by setting it lower, leaving more memory free from constantly checking and clearing the cache. Read more here http://forum.xda-developers.com/showthread.php?t=523707&page=12
The Third setting is oom. It's the last value in sysctl.conf and needs to be set to 1 for everyone. Instead of your phone starting to kill apps when it's out of memory, it does something else that I didn't quite understand, and this should add speed to everything you do, like surfing or Facebook. Everything should load faster and smoother with this setting enabled. Remember stock value is Zero and may only be set to 1 or 0.
If this helped, please hit Thanks!!
Click to expand...
Click to collapse
Try /system/etc micro. Same thing.
Sent from my Zio using XDA Premium App
Current settings.
4096
95
60
50
Oom
VM heap 30
Stqgefright all but http
Running fast and stable. Launcher pro Orientation from portrait to landscape is faster. Home loads instantly even though I am not using a launcher from /system/app
I will be doing some more tweaks to speed this up but maintain some battery life.
Sent from my Zio using XDA Premium App
I have Stagefright fully enabled. Running 2048 Free KB. Stock radio and background. Turned oom to 0. Zoomin right along.
Sin. How did you edit sysctl.conf I can't find it in ETC
Sent from my Zio using XDA Premium App
Thanks! /system/etc still nothing. I have rtecdc_apsta.bin and void.fstab no luck still.
sinisin said:
Try /system/etc micro. Same thing.
Sent from my Zio using XDA Premium App
Click to expand...
Click to collapse
Looks like we need to include sysctl.conf in the next theme update.
Sent from my Zio using XDA Premium App

Ad-hoc vs Infrastructure switch

Okay, I think I understand that to get an Adhoc connection on the Nook you have to use a terminal emulator to get all fancy in the file system to flip a setting from 1 to 0 and then back again to go the other way, yes? (not going to try and link the post because that part isn't important)
So, what I'm wondering, is there a way to write a program that would allow you to utilize root access and make that change for you on the touch of a widget? That way you can go back and forth faster and easier?
It couldn't be too hard. I mean for someone who knows more about that sort of thing. I can turn sound on and off and stuff like that, but file system level changes are a little beyond my programming ability. However, the experts here...what do you think?
take a look at this thread:
http://forum.xda-developers.com/showthread.php?t=872521
not really a widget... but it could semplify the switch...
I'm using a nexus one to theter my NC, and with CM7 I'm able to use infrastructure wifi, but not the adhoc (with Wireless Tether app)... I tried all the tricks (replacing wpa_supplicant and/or editing the twlan.ini) but I can only use infrastructure...
do you know which is the difference between this two connection types?
You could use GScript Lite to run the .sh script in the post above, it's not a widget but at least it's only one touch to run the script once you set it up.
I'm still running phiremod v 6.1, and this switch method doesn't work either. Anyone know how to get this going? I don't have wifi at work so I usually tether to my phone. I was able to use the method in that posted thread when I was running rooted stock, but not anymore.

[OVERCLOCK]XT860/XT862 Overclock

Had a few minutes today to play around and wrote a few quick programs in native code to overclock the OMAP4430 to run at 1.1GHz or 1.2GHz instead of the stock 1GHz. You need to force the CPU to run at it's highest clock rate at all times if you want to verify that it works but this is not required if you take my word for it. Long story short, it is possible to change the maximum clock speed by directly manipulating the registers responsible for the clocking of the OMAP4430 but doing so in this manner doesn't alter the frequency tables that the kernel looks to, so as a result the phone thinks it is still capping out at 1000MHz. I'm working on this, don't worry.
This requires root privileges. To set the max clockspeed to 1.1GHz, run "1100" from the adb shell or terminal. Make sure the permissions are set to 755, ie: "chmod 755 1100" in the terminal in the directory you have placed the executable. (I just placed them both in /data/local/)
To reset it back to 1GHz, run "1000", same permissions as before.
To try out 1.2GHz, use "1200". 1.3GHz, use "1300".
It doesn't survive a reboot, so it won't do much damage. That being said, I take no responsibility whatsoever for any damage done to your phone, this is extremely experimental. I also take no credit for this, yang.felix was the one who figured out how to do this first:
http://forum.xda-developers.com/showthread.php?p=17669227#post17669227
Now, the real fun part is making this persist a reboot, and notify the kernel about the changes so that overclocking/underclocking can be easily performed with SetCPU or other apps.
**** EDIT ****
I removed the 1400 and 1500 binaries because in layman's terms... I screwed up. I don't have much time to work on this tonight but I'll try and put something better up; in the meantime, I removed the binaries because they are useless. I'm suspicious that the 1300 binary is destined to fail as well but apparently some of you out there are able to execute it without an immediate reboot so maybe it is a voltage problem. I'll keep you all posted.
**** N00B INSTRUCTIONS ****
Here's how I do it. If you don't already have them, I suggest downloading the following from the Market: "SetCPU", "Root Explorer" and "Better Terminal Emulator". I bought them; the $5 or so was well spent as these three apps are probably ones that I use the most. If you don't want to pay, you can find SetCPU here on xda-developers if you search for it; Root Explorer you'll have to pony up the $1.99 or whatever it is, Better Terminal Emulator you can do without if you look for "Terminal Emulator" in the Market.
Connect your phone via USB to your PC, select from the drop-down in your status bar "USB Storage" or whatever it says, and browse to your phone on your PC. Unzip the attachment from the first post to the root of your sdcard, ie: don't unzip it into any folders after browsing to your phone on your PC, just put them in the root of the drive. You can put them in whatever folder you like but if you want to keep it simple, don't bother putting them in a random folder unless you know what you're doing.
First, open up SetCPU and slide the sliders for Maximum and Minimum all the way to 1000. You can leave everything else alone, after sliding the bars just exit the app. This step is important so don't skip it.
Open Root Explorer. Navigate to "/system/xbin". Press the button at the top that says "Mount RW". This will allow you to save the binaries in this folder as it is normally mounted as read-only.
Now, open Better Terminal Emulator (or whichever terminal program you like, or even use adb if you are so inclined... although if you know how to use adb the following probably goes without saying) and assuming you followed my instructions earlier and saved the files "1000", "1100" and "1200" to the root of your sdcard, type the following commands in, pushing Enter/Return after each one:
Code:
su
(Click on Allow)
cd /sdcard
cp 1000 /system/xbin/
cp 1100 /system/xbin/
cp 1200 /system/xbin/
cd /system/xbin
chmod 755 1000
chmod 755 1100
chmod 755 1200
Now you can run the binaries from anywhere in your terminal without the requirement of being in the folder you've saved them because /system/xbin is typically included in your $PATH variable. Simply put, your phone always looks in this folder for any executable file you try to run if it doesn't find it in the current working directory.
In order to run "1000", simply type:
Code:
1000
And push Enter. You can do this from anywhere on your phone. You should see a message that says your phone has been reset to 1GHz.
To run "1100", you guessed it:
Code:
1100
Rinse and repeat.
Thank you. Works great, love it. I like the confirmation, noticing a solid performance increase and my phone doesn't seem to be heating up any more than normal after a few hours use.
Thanks! Will this work with the XT862 too?
I don't see why not; both the XT860 and XT862 have the same OMAP4430 chipset so the memory addresses tweaked in order to increase the maximum clock frequency ought to be identical.
Sent from my XT860 using xda premium
Never mind my problem was that I accidentally set the permissions to 775 not 755.
AcidRoot said:
Just tested on the XT862, it froze the device and required a reboot.
Click to expand...
Click to collapse
Just tested on my XT862. works fine, no reboot. make sure you have setcpu set to performance mode, and in the terminal (move to directory where the files are located) and run chmod 755 1100
---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------
To the OP, what ROM are you running? I'm running Liberty, at 1100mhz, and I'm getting 35 MFLOPs single thread, 25 multi thread..
Keeps saying aborted
Sent from my DROID3 using XDA App
what do i put in adb to make this work. this is good news have been waiting to see this oc thanks.
oostah said:
what do i put in adb to make this work. this is good news have been waiting to see this oc thanks.
Click to expand...
Click to collapse
Read the whole first post, 2nd or 3rd paragraph answers your question 100%
ChaoticWeaponry said:
Just tested on my XT862. works fine, no reboot. make sure you have setcpu set to performance mode, and in the terminal (move to directory where the files are located) and run chmod 755 1100
---------- Post added at 03:35 PM ---------- Previous post was at 03:32 PM ----------
To the OP, what ROM are you running? I'm running Liberty, at 1100mhz, and I'm getting 35 MFLOPs single thread, 25 multi thread..
Click to expand...
Click to collapse
That's about what mine gets without the overclock sometimes higher/lower. 36 multi and 43 single just now, was as low as 8 yesterday with an average of 30. On liberty also.
Edit: haven't tried it yet
Slow down
I am noticing a consistent slow down when I perform the overclock. I did several tests and dropped the lowest and highest values and took the average. My single-thread (st) and multi-thread (mt) results for stock 1000 are 41st/49mt and for the overclock 1100 they are 38st/45mt. I am running stock ota gingerbread. Any ideas?
Not sure what I was thinking when I mentioned my Linpack results earlier; I'm getting nowhere near 75 MFlops. Before setting the max clock frequency to 1100MHz I consistently get a rate of about 27 MFlops, increasing to about 33 MFlops afterwards. Could have sworn I remembered it being higher but I must have been mistaken.
The Linpack results are highly subjective to quite a few other factors though and isn't very indicative of much but since it's a rather quick benchmark it is pretty easy to see that there is a significant increase in performance that isn't attributed to random error.
It shouldn't be too much more work to be able to alter the clock speed in a way where SetCPU or other clock-related applications can see and manipulate the hardware but I haven't had much free time at all lately and was pretty happy I was able to get this working.
It would be really nice to not have to rely on forcing the OMAP4430 to run full out with the "performance" governor but this was really just a proof of concept for me.
Sent from my XT860 using xda premium
we should be able to go to 1.2 with no problems on all of our phones. the RAZR is 1.2 with the same processor we have in the D3.
Rick#2 said:
Not sure what I was thinking when I mentioned my Linpack results earlier; I'm getting nowhere near 75 MFlops. Before setting the max clock frequency to 1100MHz I consistently get a rate of about 27 MFlops, increasing to about 33 MFlops afterwards. Could have sworn I remembered it being higher but I must have been mistaken.
The Linpack results are highly subjective to quite a few other factors though and isn't very indicative of much
Click to expand...
Click to collapse
Increase from 1000 to 1100 = 10%, 27 to 33 >= 10%. Better than can be expected imo.
Stock bell I'm getting ~43 single, ~67(saw a few 70+) multi at 1ghz
at 1.1ghz I'm getting ~48 single , ~78 multi, solid improvement averaged over 10 runs.
I'm running CM7.1, and when I try running 1100, it says "can't open /dev/mem/"
diceroll123 said:
I'm running CM7.1, and when I try running 1100, it says "can't open /dev/mem/"
Click to expand...
Click to collapse
Are you trying to run it as root? "su" first
did you run chmod 755 1100? I would like to see the phone go to 1.2, as idroidnow said it is the same processor. Its amazing that the razr and d3 have such similar specs, and the razr bumped out 5501 on my benchmark, and stock d3 only grabbed 3500
Willis111 said:
Are you trying to run it as root? "su" first
Click to expand...
Click to collapse
Teehee, woopsie.
All it does after that is ask for SU permission, and nothing is output afterward. That's...normal, yes? ಠ_ಠ
diceroll123 said:
Teehee, woopsie.
All it does after that is ask for SU permission, and nothing is output afterward. That's...normal, yes? ಠ_ಠ
Click to expand...
Click to collapse
Yes, when you type "su" into a command prompt(gives you root) it might make the prompt look a little different but there's no confirmation that it worked, there would be if it didn't though. Once you're root it should work no problems, without root it will throw up errors about anything that it tries to change and perhaps some things that it just tries to read even.
Willis111 said:
Yes, when you type "su" into a command prompt(gives you root) it might make the prompt look a little different but there's no confirmation that it worked, there would be if it didn't though. Once you're root it should work no problems, without root it will throw up errors about anything that it tries to change and perhaps some things that it just tries to read even.
Click to expand...
Click to collapse
Wonderful! I haven't been using my phone much today, but I'm sure I'll notice a slight difference. Thanks!

Categories

Resources