[Reference] Firefox Hacks - Nexus 7 General

Firefox Hacks
Desktop UA:
To set Firefox to use a Desktop UA by default, type in about:config in the address bar and then click on Add a New Setting, select String, and enter general.useragent.override, click ok and enter:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20130406 Firefox/23.0 for a Firefox User Agent.​
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1468.0 Safari/537.36 for a Chrome User Agent.
Mozilla/5.0 (compatible; MSIE 10.6; Windows NT 6.1; Trident/5.0; InfoPath.2; SLCC1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727) 3gpp-gba UNTRUSTED/1.0 for a Internet Explorer User Agent.
Finally type in agent in the search box and find general.useragent.enable_overrides and toggle it to true
Make Firefox Faster​Enable Pipelining:
Browsers are normally very polite, sending a request to a server then waiting for a response before continuing. Pipelining is a more aggressive technique that lets them send multiple requests before any responses are received, often reducing page download times. To enable it, type about:config in the address bar, type in pipelining in the search box and hit enter. Find network.http.pipelining.agressive and toggle it to true and network.http.pipelining.maxrequests and click on modify and change it to 50(use a lower number if you have a low speed connection)
Render quickly:
Large, complex web pages can take a while to download. Firefox doesn't want to keep you waiting, so by default will display what it's received so far every 0.12 seconds (the "content notify interval"). While this helps the browser feel snappy, frequent redraws increase the total page load time, so a longer content notify interval will improve performance. To enable it type about:config in the address bar and click on Add a New Setting select Integer Type content.notify.interval as your preference name, click OK, enter 500000 and then click on Add a New Setting and select Boolean create a value called content.notify.ontimer and set it to True
Faster loading:
If you haven't touched your screen for .75 second, then Firefox enters a low frequency interrupt mode, which means its interface becomes less responsive but your page loads more quickly. Reducing the content switch threshold can improve performance, then, and it only takes a moment. To enable it type about:config,in the address bar and click on Add a New Setting select Integer Type content.switch.threshold, as your preference name, click OK, enter 250000 (quarter of a second)
Increase the cache size:
As you browse the web so Firefox stores site images and scripts in a local memory cache, where they can be speedily retrieved if you revisit the same page. If you have plenty of RAM, leave Firefox running all the time and regularly return to pages then you can improve performance by increasing this cache size. To enable it type about:config,in the address bar and click on Add a New Setting select Integer Type browser.cache.memory.capacity as your preference name, click OK, enter 18432
Enable TraceMonkey:
TraceMonkey is a new Firefox feature that converts slow JavaScript into super-speedy x86 code, and so lets it run some functions up to 20 times faster than the current version. To enable it type about:config, in the address bar and then type jit in the search box and hit enter. Find javascript.options.methodjit.chrome and toggle it to true and javascript.options.methodjit_alwaysand toggle it to true.
Cache:
Unfortunately Firefox collects copious amounts of data and there is no way to prevent it.
This was adapted from: http://www.techradar.com/us/news/software/applications/8-hacks-to-make-firefox-ridiculously-fast-468317 and http://useragentstring.com/pages/useragentstring.php​

This makes Firefox blazingly fast on my tablet and so far every website works perfectly.
To save settings for easy restoring navigate to data/data/org.mozilla.firefox/files/mozilla/widlm1lw.default/ and make a copy of prefs.js

Some more possibly useful settings:
[FONT=&quot]
Type about:config in the address bar, type in browser in the search box and hit enter[/FONT]
browser.download.manager.displayedHistoryDays set to 1 (set to whatever you like)
browser.enable_automatic_image_resizing set to true
browser.enable_click_image_resizing set to true
browser.helperApps.deleteTempFileOnExit set to true
browser.history_expire_days set to 1 (set to whatever you like)
browser.history_expire_days_min set to 1 (set to whatever you like)
browser.zoom.full set to true
browser.zoom.reflowOnZoom set to true
browser.cache.disk_cache_ssl set to false

If anyone finds any more useful settings that can be changed or settings that work best, post them here.

ABSOLUTE BEAUTY.
I knew about 90% of these on the Desktop version, don't know why it didn't click it may be the same on Tablet, BOOKMARKED for Later, THANKS!!

Wilks3y said:
ABSOLUTE BEAUTY.
I knew about 90% of these on the Desktop version, don't know why it didn't click it may be the same on Tablet, BOOKMARKED for Later, THANKS!!
Click to expand...
Click to collapse
It's rather ironic, that this is the only real desktop browser on android, yet most of the desktop settings aren't enabled or set by default. This is only browser that I have ever used that I can use all day on flash heavy sites and never crash. I've only had one FC in the past month.

prestige777 said:
It's rather ironic, that this is the only real desktop browser on android, yet most of the desktop settings aren't enabled or set by default. This is only browser that I have ever used that I can use all day on flash heavy sites and never crash. I've only had one FC in the past month.
Click to expand...
Click to collapse
Yeah FF is hands down a quality browser, I'd be using it on Desktop if it wasn't so weird about my Cookies (never keeps me signed in on Forums[XDA] etc)
But I can't believe these options are just as usable on desktop, and yeah, even without these settings enabled I must say FF has never crashed on me on my tablet (even with flash heavy sites as you say).
Whereas Chrome just stutters, cries and gives up.
Boat just freaks out and FC's
Dolphin just isn't my pick.
Opera I don't like at all.
SO WEEEE Thanks for these tips my friend !

Wilks3y said:
Yeah FF is hands down a quality browser, I'd be using it on Desktop if it wasn't so weird about my Cookies (never keeps me signed in on Forums[XDA] etc)
But I can't believe these options are just as usable on desktop, and yeah, even without these settings enabled I must say FF has never crashed on me on my tablet (even with flash heavy sites as you say).
Whereas Chrome just stutters, cries and gives up.
Boat just freaks out and FC's
Dolphin just isn't my pick.
Opera I don't like at all.
SO WEEEE Thanks for these tips my friend !
Click to expand...
Click to collapse
No problem, if you have any good tips or variations please feel free to post them here.

Thanks for the post, very interesting.
I applied your tips to firefox running on my Nexus 4, but I did not see much of an improvement. Just doing some casual/typical browsing that I would normally do it felt almost the same as before without the tweaks, although I wasn`t doing any timing with a stopwatch or anything of that matter so I can`t say for sure that there wasn`t an improvement. Maybe these tweaks would benefit lower/older end devices more than the newer high speed quadcores.

SkyandDirt said:
Thanks for the post, very interesting.
I applied your tips to firefox running on my Nexus 4, but I did not see much of an improvement. Just doing some casual/typical browsing that I would normally do it felt almost the same as before without the tweaks, although I wasn`t doing any timing with a stopwatch or anything of that matter so I can`t say for sure that there wasn`t an improvement. Maybe these tweaks would benefit lower/older end devices more than the newer high speed quadcores.
Click to expand...
Click to collapse
Its really noticeable when you start with a fresh install of Firefox with no data, once Firefox starts collecting data it starts really slowing down. Firefox really needs to deal with this data collection issue. For me it collects over 100mb of data in just a couple of weeks despite clearing everything from within the app. I don't think most of settings affect Firefox's performance if its not being used with a desktop user agent since that is handled completely different than if you're using the default android user agent.

prestige777 said:
Finally type in agent in the search box and find general.useragent.enable_overrides and toggle it to true
Click to expand...
Click to collapse
This is not true, general.useragent.enable_overrides has no effect on general.useragent.override (which is always enabled) and instead affects overriding the User Agent on a per-domain basis as described here.
prestige777 said:
Increase the cache size:
As you browse the web so Firefox stores site images and scripts in a local memory cache, where they can be speedily retrieved if you revisit the same page. If you have plenty of RAM, leave Firefox running all the time and regularly return to pages then you can improve performance by increasing this cache size. To enable it type about:config,in the address bar and click on Add a New Setting select Integer Type browser.cache.memory.capacity as your preference name, click OK, enter 18432
Click to expand...
Click to collapse
You should tell people the integer is the cache size in KB. My config already had this setting and it was set to 1024. According to mozillaZine, the default is set according to RAM size but as mine defaulted to 1024, perhaps this is different for mobiles. Setting it to your apparently random value of 18432 could work, but after reading the tweaks page you referenced and mozillaZine, I opted to set it to -1 which should let Firefox decide according to how much RAM I have and if it follows the table in mozillaZine, will make a substantially bigger cache than you suggested.
Thanks for bringing my attention to these useful features.
Sent from my GT-N7100 using Tapatalk 4

Related

Opera mini 5 beta in the market.

Its great, go get it. Huge improvement over the last opera browser, especially for people like me with below EDGE speeds.
A browser can't make your internet connection any faster than it is. Data is data. And don't talk about data compression -- ALL browsers compress data.
Opera might be ok, IF they throw out their trash proprietary rendering engine in favor of something that actually works (like khtml, or even better, gecko).
I tried it and didn't like it much. It renders pages in a zoomed out format with only one level of zoom. Using the trackball for the mouse was very imprecise.
I still like Loccy's BetterBrowser.
least you can upload with it.
lbcoder said:
A browser can't make your internet connection any faster than it is. Data is data. And don't talk about data compression -- ALL browsers compress data.
Opera might be ok, IF they throw out their trash proprietary rendering engine in favor of something that actually works (like khtml, or even better, gecko).
Click to expand...
Click to collapse
Do all browsers compress data the same way Opera Mini does? Opera uses special servers at which pages are compressed before being sent to your device. All other Android browsers do not do that (such as the Eclair browser in CyanogenMod).
It's for that reason tha Opera Mini really can speed up your browsing experience over slow connections.
Just don't do any online banking, etc...The Opera server approach has always creeped me out, but I guess it's no different than your ISP tracking you. This beta is pretty nice, but needs to be more configurable to remove some of the cutesy stuff. Anyone know what the user agent string is for this, because some sites tell me "not allowed for your device"?
TeeJay3800 said:
Do all browsers compress data the same way Opera Mini does? Opera uses special servers at which pages are compressed before being sent to your device. All other Android browsers do not do that (such as the Eclair browser in CyanogenMod).
It's for that reason tha Opera Mini really can speed up your browsing experience over slow connections.
Click to expand...
Click to collapse
lbcoder said:
A browser can't make your internet connection any faster than it is. Data is data. And don't talk about data compression -- ALL browsers compress data.
Opera might be ok, IF they throw out their trash proprietary rendering engine in favor of something that actually works (like khtml, or even better, gecko).
Click to expand...
Click to collapse
yes, data is data, but the time spent waiting for a page to load is not only downloading data, it's also spend rendering. if you eliminate the time spend rendering by using powerful servers to do the grunt work, all you have to wait for is data. that's why nobody uses this on the nexus one, it can easily render pages quickly. our g1s and mt3gs and cliqs etc. are do not have that beast of a cpu (obviously) that is snapdragon
lbcoder said:
A browser can't make your internet connection any faster than it is. Data is data. And don't talk about data compression -- ALL browsers compress data.
Opera might be ok, IF they throw out their trash proprietary rendering engine in favor of something that actually works (like khtml, or even better, gecko).
Click to expand...
Click to collapse
lol
mini opera use proxy - mini opera proxy big fast machine with fast internet - big fast machine with fast internet compresses web page - big fast machine sends compressed web page to phone - phone gets smaller page faster/cheaper - win
its fast , it works, its not great on Android as we are used to more functionality ( but its fast )
you just seem to be missing its goal.. which tbh is aimed at mobiles with slow/expensive data connections, not smartphones with 'data plans'
im on it right now its blazing fast all it needs is multi touch and it would be set
lbcoder said:
A browser can't make your internet connection any faster than it is. Data is data. And don't talk about data compression -- ALL browsers compress data.
Opera might be ok, IF they throw out their trash proprietary rendering engine in favor of something that actually works (like khtml, or even better, gecko).
Click to expand...
Click to collapse
lol you are an idiot for reasons listed above
it's pretty fast.. but it irks me that i can't easily select links to open in another tab.
I love the speed. It's ridiculously fast. But I wish it would use a different user agent screen as it treats my phone like I'm on my old Nokia 6101/3 lol. It doesn't realize I'm at least on a smartphone. I dont get the enhanced Google/Gmail/ESPN webpages, I get the uglier mobile ones.
I can see this taking over Dolphin as my default browser because the speed is just incredible. Just needs more functionality.
The thing is blazing fast. Its a pretty good browser in its own right. BTW, double tap to zoom
TeeJay3800 said:
Do all browsers compress data the same way Opera Mini does? Opera uses special servers at which pages are compressed before being sent to your device. All other Android browsers do not do that (such as the Eclair browser in CyanogenMod).
It's for that reason tha Opera Mini really can speed up your browsing experience over slow connections.
Click to expand...
Click to collapse
The correct way to implement data compression is to use gzip/deflate from the actual web server you are connecting with rather than proxying through someone's overloaded extra-slow server.
gonintendo said:
yes, data is data, but the time spent waiting for a page to load is not only downloading data, it's also spend rendering. if you eliminate the time spend rendering by using powerful servers to do the grunt work, all you have to wait for is data. that's why nobody uses this on the nexus one, it can easily render pages quickly. our g1s and mt3gs and cliqs etc. are do not have that beast of a cpu (obviously) that is snapdragon
Click to expand...
Click to collapse
Remote rendering? Not likely.
Rendering must be done locally, otherwise things like links won't be clickable.
And as far as rendering locally goes... well nice thing is that a REAL browser will become available in a not-so-distant time.... https://wiki.mozilla.org/Android
Until then, google/khtml will do.
Firerat said:
you just seem to be missing its goal.. which tbh is aimed at mobiles with slow/expensive data connections, not smartphones with 'data plans'
Click to expand...
Click to collapse
So... android... smartphone with data plan... in other words, this platform is not its goal.
Big fast machine that make data small is the job of every web server that you connect to.
razster said:
lol you are an idiot for reasons listed above
Click to expand...
Click to collapse
Same to you.
You obviously don't know how the internet works.
lbcoder said:
Same to you.
You obviously don't know how the internet works.
Click to expand...
Click to collapse
Evidently you did not, because you were unaware of concepts to reduce page rendering speeds.
Opera Mini 5 is a vast improvement over the stock browser. I was jealous of my friend's iPhone browser the other day. I am pleased to say after downloading Opera, this is not the case anymore
lbcoder said:
So... android... smartphone with data plan... in other words, this platform is not its goal.
Big fast machine that make data small is the job of every web server that you connect to.
Click to expand...
Click to collapse
yes,
and no
your totally missing the point of opera mini
edit: just tried opera mini 5, and you know what it is faster !!!
I'm not overly keen on it, but I can see myself using it when I find connection is not all that great..
so lbcoder,
have you actually tried it?
or are you afraid that your conclusion will not match your preconception?
Firerat said:
yes,
and no
your totally missing the point of opera mini
edit: just tried opera mini 5, and you know what it is faster !!!
I'm not overly keen on it, but I can see myself using it when I find connection is not all that great..
so lbcoder,
have you actually tried it?
or are you afraid that your conclusion will not match your preconception?
Click to expand...
Click to collapse
I've tried various versions of opera before and my conclusion is that their rendering engine is a piece of trash. I'm not willing to waste any more of my time on it.

Occasional Lag

Has anyone else had an occasional scrolling lag in situations? It's happened to be on the Program List where the Program icons don't load immediately. Also, most noticeably in apps such as Beezz the scrolling is laggy... Is it just me, or are others experiencing the same...?
Early bump as I'm trying to decide whether a Hard Reset is in order, maybe I installed something that didn't fare too well. Thanks guys.
80% (if not more) of the 3rd apps are NOT optimized (or rushed diplomatically saying) for Windows Phone 7 OS. HTC Hub for example wasn't as fast as the new update for it.
I can make a slight lag (more of a chopping than lag) ONLY IF I visit WPCentral page which chops on my browser than after 4-5 minutes it disappears. So I am pretty sure it's not optimised well rather than a lag because let's face it , the hardware is there and the OS is damn fast.
Have you also experienced start menu icons taking their sweet times to show up?
I've seen some choppiness on 3rd party apps. Agreed that it is a developer issue as they learn how to make apps for wp7. beezz is better than it was, but for best results, m.twitter.com is your best option.
FiyaFleye said:
Have you also experienced start menu icons taking their sweet times to show up?
Click to expand...
Click to collapse
In almost 1 month of use, never I have. To continue my initial post, that is one of the reason why I haven't installed many 3rd apps. Personally I hate having a sleek OS and then enter an app and feel like Android.. In fact besides YouTube and Adobe Reader I have only 4 other apps installed.
Same here. I can repeatedly reproduce the program list icon thing by scrolling to the bottom of the list, then hitting the home key, it'll fly to the top of the list and you'll see "white stars" before it switches to the home screen instead of the icons. Happens in random situations too, this is just a consistent occurrence..
I'd like to point out that as a developer, the choppy scrolling is a platform issue with the way Microsoft have design listbox scrolling - Silverlight defaults to virtualising the list box and recycling the listbox items - and this works fine of the PC where there is enough processing power to recycle and virtualise whilst you scroll. However, with Windows Phone 7's limited processing power, and Microsoft's very unoptimised seeming implementation, listboxes can't virtualise data fast enough. Ergo, voodoo is needed to get it working to scroll smoothly You could turn off virtualisation, but then that greatly increases RAM usage, which in Silverlight is already and lot, and then you get comparatively long load & draw & render times, and blargh. There's no one good way to do it yet for long lists - not until Microsoft go and optimise the Silverlight platform better.
I'm assuming the program list icon thing is to save RAM - you can also get it with the Home screen tiles if you have a lot of tiles on it - and saving RAM is something Windows Phone is going to like to do, seeing as the apps and the Silverlight platform use up so much RAM
i had my hd7 for almost a month now and experienced lag on it. there was also an instance that icons of the apps i installed via market place took a few seconds to load up. theres also this occasional slow response time of the unlock screen. i still have 9gb of space 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

Speed up your Google Chrome Browser

The workaround works very easy, even less technology-savvy people can easily perform this. To do this simply open the Chrome browser . In the address field, type :
Chrome://flags/#max.-tiles-for-interest-area
An Android system menu pops up, where you can now make settings. Once there, you choose the highest possible value (512 instead of 128 set for example). This value represents the total memory that the Android system is available for the Chrome browser. After changing this value, choose "Relaunch Now" (restarting) and the phone reboots. As of now, the Chrome browser you can enjoy again in old freshness. In older models, it may be that the adjustable memory size only goes up to 256 and not to 512 .Here you have to test what is possible.
GREEEEEETZ!!!!!!!
Great finding bro ! Thanks for the tutorial !
Thank ! our friend -caliban666-
-CALIBAN666- said:
The workaround works very easy, even less technology-savvy people can easily perform this. To do this simply open the Chrome browser . In the address field, type :
Chrome://flags/#max.-tiles-for-interest-area
An Android system menu pops up, where you can now make settings. Once there, you choose the highest possible value (512 instead of 128 set for example). This value represents the total memory that the Android system is available for the Chrome browser. After changing this value, choose "Relaunch Now" (restarting) and the phone reboots. As of now, the Chrome browser you can enjoy again in old freshness. In older models, it may be that the adjustable memory size only goes up to 256 and not to 512 .Here you have to test what is possible.
GREEEEEETZ!!!!!!!
Click to expand...
Click to collapse
Sent from my Nexus 4 using XDA Free mobile app
I'm doing it here. Thanks!
I'cant find the field where I have to change the value
maybe its changed in newer versions,i take a look at this.
Thanks
Sent from my LG-E610 using XDA Free mobile app
I tryed to use chrome on my l3 e400 but it's so slow....
I'm gonna try to do this.
Thanks so much!!!
<3 i like this so much

Firefox heating N6, compared to Chrome

Hi,
I'm privacy and security aware person (as far as possible,of course).
In this respect I've dropped using Opera once in the hands of chinese company. I missed Opera much.
Tried few others (on second phone ) and narrowed the list to Chrome and Firefox.
I prefer FF but have to admit the scroll slowdown is skipping, I need to do custom DPI because otherwise it switches to tablet mode (awful on N6).
And more over I believe the battery is fast discharging, back of the phone heats much more than using Chrome.
Have to admit Chrome is much more fluent, responsive looms like lighter on battery. But I can't trust it fully...
What is your experince? Can something be done at all? Is it me that face those?
Why don't you use chromium instead? it's basically the open source part of chrome.
Hi, I use it on my Linux machine but which one is the build for Android?
TodNex said:
Hi, I use it on my Linux machine but which one is the build for Android?
Click to expand...
Click to collapse
https://chromium.woolyss.com/#android
Kiristiba said:
Why don't you use chromium instead? it's basically the open source part of chrome.
Click to expand...
Click to collapse
Was going to recommend this but you beat me to the punch! I haven't used FireFox on either my desktop or phone in a long time. Last I remember it does feel noticeably slower than Chrome/Chromium. Another browser to check out is Brave Browser. It's based on Chromium and was founded by the co-founder of the Mozilla Project.
Going to evaluate it today ... Appreciated
You could pull a logcat. See what could be causing it as I use FF as well as do most of the mods. Chrom and Chromium are just not that great for many people.
hi, I will pull one.
do you use any optimizations of FF, I've tried to force GPU rendering from dev option of Android, also disabled animations of OS. Trying to play with AdBlocker plus to see it ads suck in the CPU'. GPU rendering seems to cool the CPU somehow, still for 4-5h of usage FF has consumed 28% where my hungry display consumed 25% of all. Usually when using Chrome display was on top.
Just an idea, can the sync be causing mhch more CPU.
I will play with wiping it again and reinstall. Previous time did not help.
TodNex said:
hi, I will pull one.
do you use any optimizations of FF, I've tried to force GPU rendering from dev option of Android, also disabled animations of OS. Trying to play with AdBlocker plus to see it ads suck in the CPU'. GPU rendering seems to cool the CPU somehow, still for 4-5h of usage FF has consumed 28% where my hungry display consumed 25% of all. Usually when using Chrome display was on top.
Just an idea, can the sync be causing mhch more CPU.
I will play with wiping it again and reinstall. Previous time did not help.
Click to expand...
Click to collapse
Yes the sync is badly coded. I dont use it myself as I have no use for syncing that type of info even though I use FF on all my personal stuff and it is used on all the company PC.

Categories

Resources