PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : [MOD]مد CrossBreeder 6.30.13 جهت افزایش سرعت و کارائی رام و افزایش سرعت اینترنت و حذف تبلیغات



JIMA
28-06-2013, 16:08
با سلام

در این تاپیک مد CrossBreeder که از 5 روش و متد کلیدی متفاوت برای افزایش سرعت و عملکرد و کاهش لگ رام ، افزایش سرعت اینترنت، حذف تبلیغات سایت ها و... استفاده می کند ، معرفی می گردد.

این 5 متد و ماژول عبارتند از:


DNS caching, parallelising and tether boost

Modulate OS entropy levels

Change kernel parameters

Remove /dev/random as it's blocking

( Frandom support (Optional


نحوه نصب

فایل های CrossBreeder_6.30.13.zip (http://d-h.st/H4u) و CrossBreeder_Uninstall_6.30.13.zip (http://d-h.st/rk3) رو دانلود و به مموری منتقل کنید
وارد ریکاوری شده و از رام فعلی خود بکاپ بگیرید
سپس مد CrossBreeder_6.30.13.zip را نصب کنید
سپس ریستارت کنید
برای حذف این مد ، فایل CrossBreeder_Uninstall_6.30.13.zip را از ریکاوری نصب کنید

* اگر می خواهید ورژن جدیدتر این مد را نصب کنید، حتما قبل از نصب، مد قبلی را، با فلش CrossBreeder_Uninstall_6.30.13.zip از ریکاوری، حذف کنید.
* توصیه میشه تمام انیمیشن ها را (از settings/Developer options) غیر فعال کنید یا اینکه حداکثر روی 0.5 قرار دهید.
* همچین توصیه میشود که haptic feedback و keypress sounds را از تنظیمات غیر فعال کنید.
* به گفته دولوپر، این مد برای تمام دیوایس های اندرویدی قابل استفاده است.



تغییرات از ابتدا


*** UPDATE 6.30.13 *** Major improvements to DNS changer module. Event based instead of poll. Much more battery friendly now. ENTROPY_FEED_FREQUENCY_SECS at 0.5 seconds for ICS/ICS- and 1.0 for JB/JB+ ( if file is not present, default is 1.0 seconds). Namecoin .BIT support. Transparent. You don't have to do anything! I/O Tweaks are disabled by default. Governor tweaks are disabled by default except that sampling rate is increased to 40000 if found below or 100000 if found above for all governors where the metric is found.

*** UPDATE 6.26.13_v2 *** Governor tweaks disabled by default. Except for sampling_rate for all governors( timer_rate for interactive). This value is set to 40000 if found to be below and 100000 if found to be above. If you want to fully tweak your governor, you can use the ENABLE/DISABLE GOVERNOR_TWEAKS commands. Bugfix for governor tweaks to honour /data/STOP_TWEAKING_ME. Installer now clears the entire dalvik cache again.

*** UPDATE 6.26.13 *** Governor Tweaks! Values from Thunderbolt mostly. All governors tweaks installed but only ondemand and interactive tweaks are active. You can use the ENABLE_GOVERNOR_TWEAKS command to enable all. Flag files are honoured. I/O tweaks from Thunderbolt. Network buffer sizes back to V6 values. Various improvements to the DNS monitor loop to make it more battery friendly. Second startup option also removed to help bootloops. Only one startup method - debuggerd. Removed scripts are in the mod directory if one wants to use them.

*** UPDATE 6.23.13_v2 *** IRQ Flush at 60 mins and configurable. Entropy feed at 1 second opposed to 0.25 seconds earlier. Responsiveness helped as a result. Also configurable. DNS Changer improved. Battery life improvements. Bug fixes and fairly large improvements to the deep sleep code. Ondemand governor tweaks. Network buffer memory tweaks remove. Thunderbolt network buffer size tweaks added. Small bug which made governor directory readonly fixed.

*** UPDATE 6.20.13 *** IRQ flush now at 3 hours. DNS change module bugfixes and improvements. init.d script removed. Only two mechanisms for auto startup.

*** UPDATE 6.19.13 *** Nothing much, except for the block file is back to full strength ( all default Adaway lists) for all devices. I had no idea that this was that popular/reducing the file size would be that unpopular http://forum.xda-developers.com/images/smilies/wink.gif NOTE - You don't need to run anything to enable Adblock. It's enabled by default.

*** UPDATE 6.18.13_v2 *** IRQ Flush tuned to very smooth now. Secret may be to disable scheduler sleepers. Smoothness is enhanced now on a long term basis. Battery life is also improved significantly if using the correct governor. Interactive governor only tweaked for battery friendly profile (only if running) . If you're getting high freq usage on Ondemand, do try Interactive and reboot for CrossBreeder to tweak it. Basically the idea is that the best governor for your phone may be different now that CrossBreeder is installed. Network connect code changed to remove kill -HUP dnsmasq. Should solve any issues with connectivity lost after some time.

*** UPDATE 6.18.13 *** IRQ Flush now at 60 minutes. Battery savings. master file is sorted if found to be not so. You don't need a reboot after updating it from an external source. Just toggle any network connection. Adblock again enabled for everyone. Adblock list now smaller for everyone (the Winhelp one), saving around 1 MB RAM. Bugs in DNS script fixed. Earlier they were not working on some devices. ENABLE_BYPASS_ISP command now available.

توضیحات از زبان دولوپر

What is CrossBreeder?

This is a new take at improving Android and reducing GUI lag.

It's lightweight and won't consume battery. Users have reported drastic improvements in usability and battery life. It will show noticeable improvements.

All you need to try it is custom recovery. It is for all Android devices. ( not x86 ones ).

This is a combination of 5 different key methodologies to improve the Android experience:

1. It's a big new feature, DNS caching, parallelising and tether boost . A lot of the lag in a lot of apps, apart from the GUI lag, is due to slow DNS querying, specially on the mobile network.

CrossBreeder now runs a caching, parallelising DNS client on the device. So now most of your DNS queries will be served from the cache and if not found, the query will be sent in in parallel to multiple DNS servers including the two Google DNS servers, the two L3 DNS servers and your two ISP servers and the quickest reply will be served to you, hot and transparently. You can read the rationale for this approach - http://ma.ttwagner.com/make-dns-fly-...q-all-servers/ (http://ma.ttwagner.com/make-dns-fly-with-dnsmasq-all-servers/)

This speeds up network access and networked apps, like Browsers of course, and Tapatalk, Gmail and thousands of others drastically. And removes a lot of the lag where it was due to DNS querying. This will not increase your network or download speed but pages will load much faster.

This will future proof your devices as more and more apps start using HTML5 and/or reside completely as web pages or the like.

CrossBreeder boosts your tethering connection. Client devices to your device will take advantage of the new DNS. Hence their usage is also improved! In many cases this update might even fix a broken tethering feature on your phone. So if your ROM doesn't have a working tethering support, you an try and install this update. It might magically start working!

CrossBreeder blocks ads and spyware in an efficient manner by blocking access to the host. It does this using a static block list of known ad sites and behaving as an authoritative DNS server for these sites and redirecting them to a dummy address. CrossBreeder runs a simple web server serving empty images and pages, so ads completely disappear instead of showing an ugly Page/Image Not found error.

You can update this block list from an external specialised tool like Adaway if you need.

CrossBreeder now includes the bypass censor functionality. This allows you to circumvent DNS based censors as used by most authoritarian countries. This basically works by bypassing your ISP's DNS servers and querying the 2 Google DNS servers and 2 L3 DNS servers only. These are usually faster anyway, more so due to the caching and parallelizing nature of the query. Thus if your ISP is blocking websites without telling you, you have a way out if this. You can enable it using the following command:

su -c "/system/etc/CrossBreeder/ENABLE_BYPASS_ISP"

and rebooting. You can read this for some more info ( http://forum.xda-developers.com/show...postcount=2748 (http://forum.xda-developers.com/showpost.php?p=42240441&postcount=2748) )

You can also choose your custom DNS servers by updating the /etc/CrossBreeder/REMOTE_DNS file with each custom DNS server in a separate line.

NOTE: CrossBreeder DNS (Boost/Adblock/Censor Bypass) will not work (as in it won't be used ) if your ISP APN contains an entry for a ..... server. Do edit the APN and remove the ..... entry and see if you can browse fine. That will allow CrossBreeder DNS to work.

CrossBreeder also renames any existing /etc/hosts file on your device. Testing has proven that keeping a system wide /etc/hosts file as is used by most other Ad blocking software actually slows down your system. So it is recommended to use this method instead. Check this out for the demonstration of the slowdown and how to test it yourself - http://forum.xda-developers.com/show...php?p=41877518 (http://forum.xda-developers.com/showthread.php?p=41877518)

In order to achieve all this DNS related functionality, CrossBreeder relies on the excellent open source utilities - DNRD and Dnsmasq

2. Modulate OS entropy levels for lag reduction ala Seeder. The whole OS reads either /dev/random or /dev/urandom and both need entropy. However this mod uses a completely different, lightweight and efficient random number generator called Havege . This sharply reduces cpu consumption and corresponding battery life loss compared to Seeder. It also does a better job at keeping entropy levels high hence your device is more responsive. It doesn't run in a CPU intensive loop either. The extend queue functionality has also been added to CrossBreeder. See here for another rationale favouring Havege compared to Rngd - ( http://code.google.com/p/csrng/ - Look for the limitations.)

3. Change kernel parameters specially the wakeup threshold ones so read blocks are released instantly and writes never wake up as we have an external entropy generator. And a host of other fail safe and working tweaks from the community for each key subsystem. ( one can look inside /etc/CrossBreeder/zzCrossBreeder ).

4. Remove /dev/random as it's blocking . Link it to non-blocking /dev/urandom. Since /dev/random is blocking and designed to protect us from Quantum alien cryptographers with mathematical certainty and urandom is non blocking pseudo-random device that most apps and OSs are using anyway and with Haveged running, is as secure anyway as it's very difficult to empty the entropy pool faster than Havege can replenish it. Pre ICS devices have a lot to gain with this but ICS+ devices show visible gains too.

5. Frandom support (Optional) - CrossBreeder now supports linking both your random devices to the extremely fast alternative - Frandom ( http://billauer.co.il/frandom.html ). This module is orders of magnitude (10-50 times) faster than the standard character devices ( Check this out - http://forum.xda-developers.com/show...&postcount=134 (http://forum.xda-developers.com/showpost.php?p=37409586&postcount=134) ). The erandom character device also installed by Frandom doesn't use up system entropy at all on top of being fast. You will need to ask your ROM developer to develop the kernel module for you and then place it in /system/lib/modules. CrossBreeder will then try and load it and if successful, make all the necessary adjustments so that both /dev/random and /dev/urandom are pointing to /dev/frandom and /dev/erandom respectively. The speed benefits are to be seen to be believed. But since each ROM requires a unique kernel module, this option is left optional ( but auto detect ). Advanced users can even try and load the frandom module built for other kernels if they don't have one readily available for their own kernel version using the Punchmod utility. Read this: http://forum.xda-developers.com/show...5#post41920265 (http://forum.xda-developers.com/showthread.php?p=41920265#post41920265)



منبع (http://forum.xda-developers.com/showthread.php?t=2113150)

JIMA
30-06-2013, 18:47
پست 1 با ورژن 6.30.13 بروزرسانی شد./