Assistant
REPLY |
Scripts, tweaks, collect them all | Android All devices |
Message#1 02.10.11, 09:51 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 737 Check in: 18.10.08 Oneplus one Reputation: 108 | �������, ����� Android. ��� ���������� - Android scripts and tweaks downloadI am not responsible for zakirpichennye phones, all information is taken from the site of partners. If you even have no idea what it is - leave the topic. You need a Custom ROM installed on your device, and having the Init.d folder initially, stupid creation and stuffing tweaks there will not have any effect! Recently, the authors of the firmware began to climb XDA-Developers and add various tweaks and scripts to their firmware, thereby improving something, the most part of tweaks, their installations and the like are suggested below. I divided all tweaks and scripts into several levels of difficulty during installation. First level. Editing Build.prop using Root Explorer, but I recommend that you throw Build.prop off to your computer and edit it from there, since the file already contains lines you want to add, and a double combination of lines can lead to an increase in phone boot time, and if different values are also hammered in there, then you have every chance of sticking to the booty. An asterisk indicates tweaks with inaccurate values. With a question mark - the information is required. You can fix me. All files in the init.d folder must be set to the appropriate permissions. LEVEL 1. BUILD.PROP
Level 2. Adding files to the init.d folder. Take a sample fileLST.zip(158.33 KB) Add the necessary command to the file and call it like “12Tweaks” and throw it in init.d. You can not enter all the commands in one file - the effect will not be. Instructions for implementing init.d support Attention. Each file in init.d must begin with the line: #! / system / bin / sh one*. strict minfree handler tweak (?) echo "2048,3072,6144,15360,17920,20480">/ sys / module / lowmemorykiller / parameters / minfree 2. Tweak internet speed. echo "0">/ proc / sys / net / ipv4 / tcp_timestamps; echo "1">/ proc / sys / net / ipv4 / tcp_tw_reuse; echo "1">/ proc / sys / net / ipv4 / tcp_sack; echo "1">/ proc / sys / net / ipv4 / tcp_tw_recycle; echo "1">/ proc / sys / net / ipv4 / tcp_window_scaling; echo "5">/ proc / sys / net / ipv4 / tcp_keepalive_probes; echo "30">/ proc / sys / net / ipv4 / tcp_keepalive_intvl; echo "30">/ proc / sys / net / ipv4 / tcp_fin_timeout; echo "404480">/ proc / sys / net / core / wmem_max; echo "404480">/ proc / sys / net / core / rmem_max; echo "256960">/ proc / sys / net / core / rmem_default; echo "256960">/ proc / sys / net / core / wmem_default; echo "4096,16384,404480">/ proc / sys / net / ipv4 / tcp_wmem; echo "4096,87380,404480">/ proc / sys / net / ipv4 / tcp_rmem; 3 *. VM management tweaks (Dalvik-cache?) echo "4096">/ proc / sys / vm / min_free_kbytes echo "0">/ proc / sys / vm / oom_kill_allocating_task; echo "0">/ proc / sys / vm / panic_on_oom; echo "0">/ proc / sys / vm / laptop_mode; echo "0">/ proc / sys / vm / swappiness echo "50">/ proc / sys / vm / vfs_cache_pressure echo "90">/ proc / sys / vm / dirty_ratio echo "70">/ proc / sys / vm / dirty_background_ratio 4. Other kernel tweaks (Kernel) echo "8">/ proc / sys / vm / page-cluster; echo "64000">/ proc / sys / kernel / msgmni; echo "64000">/ proc / sys / kernel / msgmax; echo "10">/ proc / sys / fs / lease-break-time; echo "500,512000,64,2048">/ proc / sys / kernel / sem; 5. Increase battery life. echo "500">/ proc / sys / vm / dirty_expire_centisecs echo "1000">/ proc / sys / vm / dirty_writeback_centisecs Script Swap on sdcard Script switching processor modes and stop background processes Universal script to save battery Weak phones recommendBolt siyah "Heavy" Scripts Juwe's RAM Opimization Script(From myself: yes, applications started to eat less, but the work (transition from task to task, for example) applications by sensations decreased by 15%) The author claims that this script will significantly improve the multitasking of our phone, there isVideo! 1. Download the Juwes_RAM_Script.zip file -Juwes_RAM_Script.zip(475 bytes) 2. Unpack it in init.d, in the Root Explorer set the rights "777" ie all jackdaws 3. We rebuke Source: xda-developers.com Additions from users are presented below, all the information about them asking those who posted it! Additions from users:scorpio92 Transferring Dalvik-Cache to increase the system memory of the phone (Observe the installation rules from Level 2 !!) # Move dalvik-cache to / cache if [! -d / cache / dalvik-cache] then busybox rm -rf / cache / dalvik-cache / data / dalvik-cache mkdir / cache / dalvik-cache / data / dalvik-cache fi busybox chown 1000: 1000 / cache / dalvik-cache busybox chmod 0771 / cache / dalvik-cache # bind mount dalvik-cache so we can still boot without the sdcard busybox mount -o bind / cache / dalvik-cache / data / dalvik-cache busybox chown 1000: 1000 / data / dalvik-cache busybox chmod 0771 / data / dalvik-cache SreenOff Script bySnegovikRZN(Not suitable for CyanogenMod, the result is an eternal boot) Originally made for the LGP500, work on other devices is not guaranteed Scripts, Tweaks, Collect them all (Post # 9233459) Memory optimization script for deviceswith 256-512 MB of RAM from the userigaryasha94 Link. Configuring sysctl.conf with newlinesfrom userXren4eg From usermainbord Link to posts 1. Increasing Quadrant Results on Motorola Devices Why does the HTC show such great results in the Quadrant compared to Motorola? It works exactly on motorola, on other devices it did not check. mainbord Date • 03/31/2011, 19:15 Quadrand is a synthetic test, and it does not reflect real performance. HTC firmware optimized for Quadrant, and therefore give such great results. a) Increasing points in a quadrant by 600, perhaps productivity will grow somewhere else. Spoiler (+/-) I did everything right on the phone, through root explorer But you can unload /system/build.prop and change the cherished properties on the computer if you are not confident in your abilities. 1) Go to the folder / system / 2) Mount the system as rw 3) Long tap on build.prop 4) In the context menu, select Punt - Open in Text Editor 5) Find the cherished lines (towards the end, approximately 80% of the document) media.stagefright.enable-player = false media.stagefright.enable-meta = false media.stagefright.enable-scan = false media.stagefright.enable-http = false 6) Change false to true 7) Save the file back 8) Mount the system back to ro 9) Reboot the phone b) A patch that improves performance when processing 3D graphics. After installing the last two tests in the Quadrant go without brakes and glitches. The 3D test produces 2 times more. (A source) - Run RootExplorer - go to the folder / system / lib / egl - We translate into read / write mode - Open the file egl.cfg in a text editor - Register instead of the line that appears: 0 1 POWERVR_SGX530_125 - Reboot. After these manipulations, overclocking and Froyo firmware, Defy shows 2700-3000 points in Quadrant. But after these actions there may be glitches, some users complain about the inoperability of the video. Benchmark - Results With problems with the market (can not find any applications) I can not find some applications in the market, what to do? It should work on any device. It does not find some applications on the market, although these applications are compatible with the device. This is usually due to the fact that the firmware is unofficial (or stock 2.3). In order for the market to "see" the programs that "saw" earlier on the stock firmware, you need to change some lines in /system/build.prop in order for the market to take your firmware as stock For example, you have CyanogenMod 7 RC1.5 installed (Android 2.3.5). Open any file with root access file /system/build.prop and look for the line Code ro.build.description = umts_jordan-user 2.3.5 JOREM_U3_3.4.2-179-4 1315058180 release-keys ro.build.fingerprint = MOTO / MB525_JOREM_U3 / umts_jordan / jordan: 2.3.5 / 3.4.2-179-4 / 1315058180: user / release-keys We change them to the following: ro.build.description = umts_jordan-user 2.2.2 JEM_3.4.3-33-1 release-keys ro.build.fingerprint = MOTO / MB525_HKTW / umts_jordan / jordan: 2.2.2 / JEM_3.4.3-33-1 / 1302851583: user / release-keys Save the modified file and check the permissions (must be rw-r - r--), make wipe caches. Try setting the time manually at 11:55 and let it go past midnight. Check the market again. If you still do not see the applications, then there are two options: 1. you need to save the program data using titanim backup and make a full wipe, then restore the data. 2. If you have a custom firmware that is installed via CWM, then you need to correct the file /system/build.prop in the firmware source, delete the signature files (files CERT.RSA, CERT.SF and MANIFEST.MF, located in the folder ] .zip / META-INF /) and reflash the phone again, without a full wipe (wipe cache only). In this case, data loss can be avoided. Improving GPS performance by entering APN (Probably increase traffic consumption - waiting for confirmation) How to improve the performance of GPS? should work on all devices Edited the /etc/location.cfg file as follows: DL_LCS_SUPL_SECURITY_ON = 0 hslp_address = supl.google.com:7276 default_hslp_address = supl.google.com:7276 DL_LCS_DEFAULT_DATA_PROFILE = Your_APN Instead of your_APN, you need to enter the name of your access point, for example, internet.beeline.ru Removed the /data/location/location.cfg file In the settings of the access point in the APN type, I added a comma supl, in general, I now have default, dun, supl there Reboot. In the GPS Status program: Menu - Tools - Manage A-GPS state first Reset, then Download. Disable CPU Rendering Pak tvikov from meat_hooliganTyk Turbobooster Sample tweak from paragraph 2(Content) Several tweaks to increase energy savingfromSirUI Autorun scripts on AndroidfromSeryoga The script that deletes the folder with the logs Tweak disconnect core_control Multiwindow with floating windows CPU temperature control script CPU frequency control script from Wixejfrom 01/24/15;Sample frequency control script for MT6582 processor; Final CPU scripts MT6589; CPU frequency control script (4 cores) Tweak disables unnecessary Google services How to check most scripts Fstrim Acceleration Read / Write Script to control the processor MT6592 1.7GHz Script to control the frequency and on / off of the cores with different load on the processor with 8 cores Record simple logs of init.d scripts to identify errors in them Topics CuratorTrykath Post has been editedTrykath - 27.04.19, 18:47 Reason for editing: Editing caps |
Message#22 06.10.11, 20:19 | |
Experienced [offline] Group: Friendssavagemessiahzine.com Messages 501 Check in: 28.04.07 Reputation: 86 | 15. Turning off butanimation for a faster boot, ideal for those who often reload their devicedebug.sf.nobootanimation = 1 Download speed does not increase ...: hysterics: -------------------- Huawei MediaPad M3 Lite 10 / Samsung NP305E7A-S01RU / Samsung DP700A3D-X01 / Honor 8X / Samsung NC-10 / Sony VPCW21Z1R With my little help from my friends ... |
Message#23 06.10.11, 20:50 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 737 Check in: 18.10.08 Oneplus one Reputation: 108 | Added a link to the source)dokkkI took in the version as it was written - in fact, did not check) -------------------- You are alone. |
Message#24 07.10.11, 11:30 | |
Veteran [offline] Group: Friendssavagemessiahzine.com Messages 4077 Check in: 04.03.11 Xiaomi Redmi Note 5 3/32 Reputation: 1839 | Hello! I wrote here recently that I add a line to the init.d with the copy command date / date (data from the program I backup - the browser there is SMS, etc.) Today I finally figured out the ZIP binary and I can immediately package my backup in zip (update). Here only they with one name are obtained. Poorly. Tell me how to make the file name different? For example, date / time. Who needs this zip:zip.zip(220.77 KB) (they say non-swing) here is anotherzip.rar(107.09 KB) His keys: Copyright © 1990-2008 Info-ZIP - Type 'zip "-L"' for software license. Zip 3.0 (July 5th 2008). Usage: zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list] Zipfile entries from list, which can include the special name - to compress standard input. If zipfile and list are omitted, zip compresses stdin to stdout. -f freshen: only changed files -u update: only changed or new files -d delete entries in zipfile -m move into zipfile (delete OS files) -r recurse into directories -j junk (don't record) directory names -0 store only -l convert LF to CR LF (-ll CR LF to LF) -1 compress faster -9 compress better -q quiet operation -v verbose operation / print version info -c add one-line comments -z add zipfile comment - @ read names from stdin -o make zipfile -x exclude the following names -i include only the following names -F fix zipfile (-FF try harder) -D do not add directory entries -A adjust self-extracting exe -J junk zipfile prefix (unzipsfx) -T test zipfile integrity -X eXclude eXtra file attributes link of the referenced file -e encrypt -n don't compress these suffixes -h2 show more help Syntax: / data / tmp / zip -r update (archive name) your file is your folder or another: D> /sdcard/zip.log Post has been editedfinist1 - 07.10.11, 15:55 |
Message#25 07.10.11, 14:06 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | -------------------- |
Message#26 07.10.11, 14:57 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | [email protected], 22:41 I can advise only one. Download from the market free prog Downloadall.apk And you will download everything, always and everywhere ... If after downloading the file will be called zip.zip, then rename it to zip. I mean, I downloaded from a computer and WinRaR does not open your file with me -------------------- |
Message#27 09.10.11, 11:55 | |
Chill [offline] Group: Friendssavagemessiahzine.com Messages 6105 Check in: 04.12.10 Oneplus 6T 8/128 Reputation: 2205 | I can edit the screenoff, adding there all the modes to fit any kernel |
Message#28 09.10.11, 14:06 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | I can edit the screenoff, adding there all the modes to fit any kernel For some reason, I do not plow this script. -------------------- |
Message#29 09.10.11, 20:24 | |
Chill [offline] Group: Friendssavagemessiahzine.com Messages 6105 Check in: 04.12.10 Oneplus 6T 8/128 Reputation: 2205 | but what does not plow mean? I threw two scripts, set rights Threw the binary, set the rights. look like that's it |
Message#30 10.10.11, 06:54 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | but what does not plow mean? I threw two scripts, set rights Threw the binary, set the rights. look like that's it Well, I only threw the script that changes the frequency when the screen is off, the remaining 2 files are not needed. That just does not work. -------------------- |
Message#31 11.10.11, 07:33 | |
Veteran [offline] Group: Friendssavagemessiahzine.com Messages 4077 Check in: 04.03.11 Xiaomi Redmi Note 5 3/32 Reputation: 1839 | Completed theauto-jab The contents of the file that I insert into the init.d #! / system / bin / sh busybox mount -o remount, rw / dev / block / stl12 / system; busybox chmod 644 / system / app / *; busybox chown root.root / system / app / *; busybox chmod 644 / system / framework / *; busybox chown root.root / system / framework / *; busybox chmod -R 777 / data / data *; ########################################### busybox mount -t vfat / dev / block / mmcblk0p1 / mnt / sdcard; busybox mkdir / sdcard / Backupdata2SD; busybox mkdir / sdcard / Backupdata2SD / data; busybox cp -Rf / data / data / * / sdcard / Backupdata2SD / data; cd / sdcard / Backupdata2SD; zip -r update data META-INF system chmod.sh; mv update.zip `date +% F`_`date +% H`-` date +% M`-`date +% S`.zip; cd /; rm -R / sdcard / Backupdata2SD / data; busybox umount / sdcard; ########### auto-killer ############## #busybox echo "1536,3072,4096,38400,40960,43520"> / sys / module / lowmemorykiller / parameters / minfree; busybox echo "1024,2048,3840,4096,5888,10752"> / sys / module / lowmemorykiller / parameters / minfree; On the sd in the Backupdata2SD folder you need to put an update to insert the backup data. Each time you reboot the body in this folder will create an update with the name of the date / time. Post has been editedfinist1 - 11.10.11, 07:43 |
Message#32 11.10.11, 12:34 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | #busybox echo "1536,3072,4096,38400,40960,43520">/ sys / module / lowmemorykiller / parameters / minfree; busybox echo "1024,2048,3840,4096,5888,10752">/ sys / module / lowmemorykiller / parameters / minfree; When you set up an auto-killer it is more noticeable? I personally set it up as aggressively as possible, but I didn’t see any difference. -------------------- |
Message#33 11.10.11, 14:43 | |
Veteran [offline] Group: Friendssavagemessiahzine.com Messages 4077 Check in: 04.03.11 Xiaomi Redmi Note 5 3/32 Reputation: 1839 | scorpio92, This is noticeable not in performance, but in how the programs work. That is, with aggressive tuning, the running program works well, and the rest are extinguished according to the scheme, freeing the memory of the running one. With the option with low settings, on the contrary, the programs in the background are not quenched. This is convenient when you constantly have to switch between programs - you will not lose data. |
Message#34 11.10.11, 14:56 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | Is it possible to somehow configure the memory so that it is as clean as possible, for example, when loading and turning off the screen? those. write a script or how to modify the necessary files in the system? -------------------- |
Message#35 11.10.11, 15:04 | |
Honorary KroleG [offline] Group: Friendssavagemessiahzine.com Messages 2798 Check in: 14.12.10 Xiaomi Mi A1 4/64 Reputation: 1501 | Is it possible to somehow configure the memory so that it is as clean as possible, for example, when loading and turning off the screen? those. write a script or how to modify the necessary files in the system? Why reinvent the wheel, if there is a whole bunch of taskkillers together with widgets that are optionally customizable as you like, one click and all the processes are killed! -------------------- LG 22MP56HQ-S / Intel i3-4130 / 16gb-1600Mhz / ASUS Radeon R9 270X DirectCU II TOP / Creative X-FI Xtreme Gamer SB0770 Hendrix / Seagate - ST3500320NS + Transcend TS120GSSD220S + Philips SHL1705WT / 10 + Samsung YP-5104GSSD220S + Philips SHL1705WT / 10 + Samsung YP-5P Denon RCD-M40 + Canton Plus S + Phillips SW3000 |
Message#36 11.10.11, 15:19 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | Why reinvent the wheel, if there is a whole bunch of taskkillers together with widgets that are optionally customizable as you like, one click and all the processes are killed! programs, that is, but at the same time with good functions, there are also minuses: they themselves weigh in memory and take up, not so much a lot, but still ... the same script weighs kilobytes and agree this is a plus -------------------- |
Message#37 11.10.11, 17:26 | |
Honorary KroleG [offline] Group: Friendssavagemessiahzine.com Messages 2798 Check in: 14.12.10 Xiaomi Mi A1 4/64 Reputation: 1501 | scorpio92, No, I do not agree! multitasking will be gone! And in CM6 / 7, for example, the chip is such and without third-party programs, hold the soft-key back - and the applications are kicking! -------------------- LG 22MP56HQ-S / Intel i3-4130 / 16gb-1600Mhz / ASUS Radeon R9 270X DirectCU II TOP / Creative X-FI Xtreme Gamer SB0770 Hendrix / Seagate - ST3500320NS + Transcend TS120GSSD220S + Philips SHL1705WT / 10 + Samsung YP-5104GSSD220S + Philips SHL1705WT / 10 + Samsung YP-5P Denon RCD-M40 + Canton Plus S + Phillips SW3000 |
Message#38 11.10.11, 17:56 | |
Veteran [offline] Group: Friendssavagemessiahzine.com Messages 4077 Check in: 04.03.11 Xiaomi Redmi Note 5 3/32 Reputation: 1839 | scorpio92, Is it possible to somehow configure the memory so that it is as clean as possible, for example, when loading and turning off the screen? those. write a script or how to modify the necessary files in the system? I'm afraid this is contrary to the whole concept of android. From multitasking you will not get to anywhere. You can kill processes with terminal commands, I don’t know only from under the init.d it will work or not. Easier to increase the speed of other methods. |
Message#39 12.10.11, 02:27 | |
Programmer [offline] Group: Friendssavagemessiahzine.com Messages 1756 Check in: 24.05.11 Nokia Lumia 1520 Reputation: 415 | Quote (scorpio92 @ 10/11/2011, 15:56) Is it possible to somehow configure the memory so that it is as clean as possible, for example, when loading and turning off the screen? those. write a script or how to modify the necessary files in the system? on the droid does not mean that little memory is bad .. -------------------- Nokia Lumia 1520- Windows 10 AU Mobile Samsung Galaxy Tab 8.9- CM10.2 |
Message#40 12.10.11, 10:18 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | eg? I understand what does not mean, there are just such cases when you need to free up a lot of memory (right now, and not wait until the standard android task closes open). For games, for example, this is useful, let's say a normal 3D toy like Gangstar requires a minimum of 100mb for its launch - otherwise it will just fly out. Of course, you can kick all open applications before launching (I’m doing this), but I have another idea: what if you make an application (service, I don’t know how to say: rolleyes :) which can be configured to distribute itself resources between other applications launched - set the processor frequency and the amount of RAM for each application - you get high performance when you need it and save battery power. It seems to me it would be perfect! Post has been editedbald1984 - 15.10.11, 16:31 -------------------- |
Message#41 12.10.11, 13:51 | |
Veteran [offline] Group: Friendssavagemessiahzine.com Messages 4077 Check in: 04.03.11 Xiaomi Redmi Note 5 3/32 Reputation: 1839 | yes methods full. For example, completely please. Swap section to connect or link from date something to free up memory. I've even sent some of the contents of the systems section to the SD-eht. On my device, with the advent of custom kernels, the file system can be changed - the performance increased immediately by three times. At httz, people change the size of partitions - the systems are smaller, the date is larger, again the performance is improved. Especially powerful readers of the kernel collect their modified parameters. etc |
mobile version | Now: 04/29/19 1:03 |