V6 Supercharger for Xperia Arc HOW TO ? - Xperia Arc Q&A, Help & Troubleshooting

Good Evening,
i want to optimize the RAM Managment of my Arc
but idont really now how Supercharger works.
How must i begin ?
Can anyone write a how to ?

dubist said:
Good Evening,
i want to optimize the RAM Managment of my Arc
but idont really now how Supercharger works.
How must i begin ?
Can anyone write a how to ?
Click to expand...
Click to collapse
zeppelinrox said:
Before you start reading, just know that this is not difficult to implement... it's easy.
1. Download a script. 2. Load it. 3.Select what you want. EASY.
It works on ALL Android devices - Custom Roms or Stock Roms, Phones or Tablets, it doesn't matter!
Also Note: Nothing else does what The V6 SuperCharger does!
................Not AutoKiller Memory Optimizer, Not Auto Memory Manager, Not Minfree Manager...
................And NOTHING BEATS IT. PERIOD.
So... if somebody says to you that V6 SuperCharger does the same thing as [pick any app], tell them to first read about what they're talking about so that they can actually have an informed opinion.
Get A Taste of The V8 SuperCharger - Grab the 3G TurboCharger & Kick Ass Kernel Tweaks Installation Scripts!
......................................................... - V8 SuperCharger Alpha for Milestone!
==================================================================================
Memorable User Comments: "Feels like I have a new phone!", "Supercharger rocks bro, I'm actually mad I waited so long to do it...","I wish I hadn't upgraded yet", "Now I can wait to upgrade", "I was about to throw this phone through the wall", "I was about to return it but now I don't have to", "This cured my phone of cancer!", "Oh man... just applied the V6 Supercharger Script by ZeppelinRox on my Android.. I think it fixed everything..", "I can't live without this!", "My phone is better than new!", "my phones has turned god mode on or somthing"
==================================================================================
99SuperCharger Tweaking: Of course, I don't own any rights in regards to the actual tweaks applied to system settings.
This means anybody is free to mess with OOM groupings, OOM prioriteis and minfrees.
So it's fine to modify and share your tweaked 99SuperCharger file as long as you leave the credits intact
Developers may include the attached V6 SuperCharger Installation Script in their roms. (This installs 99SuperCharger)
The attached V6 SuperCharger installation script may NOT be disassembled in any way, or be used as a part of any memory management app or package.
This is because it is no different than an app/apk found in the market. It's an installation program.
I don't own any right to tweak OOM Groupings, OOM Priorities, or minfree values. But I do own this program.
ATTN DEVS: If you want to use the V6 SuperCharger memory system in your ROM, give proper credit and a HTML link to this thread.
..................Of course, baking it into the rom is 100% fine.
..................You can include a copy of the attached installation script in the system/xbin folder so users can use it with terminal emulator
.................. - giving it a short name is fine as it's a pain to type long file names in terminal.
..................Do not modify it, do not rebrand it (ie. It's not called "V6script"). Thank you.
This is the only permissible distribution of the attached installation script - unmodified, in a custom rom and in the system/xbin folder.
Modification and redistribution of the attached installation script is not permitted at all.
This means that you cannot feel free to zip up the attached installation script with other tweaks and this means that it is not be edited and shared.
ATTN USERS: If you use or encounter a ROM with the V6 SuperCharger memory system, without proper credit given and no SuperCharger source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the V6 installation script (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you want to share this, just link to this thread.
If you want to make a thread in other forums telling people about it, that's great.
But I would prefer that you do not post a copy of the V6 SuperCharger installation script in those forums.
If you already have a thread with a copy attached, I won't bother you about it. But please don't attach further updates.
Your co-operation is very much appreciated.
I don't want diluted/broken V6 SuperCharger installations floating around and then have people say it doesn't work.
==================================================================================
What's it do?
It makes your phone FAST... super snappy with better multitasking!
It rearranges and fixes the OOM Groupings and Priorites and lowmemorykiller values.
So basically, it's a COMPLETE MEMORY MANAGEMENT FIX!
It's the ONLY one of it's kind
NO LAUNCHER REDRAWS, faster than ever, multitasking is better... why?
Because it works with the lowmemorykiller and letting it work the way it's meant to work.
Also, because of the rearrangement, it works the same on all roms!
The problem with using minfree tweakers like AMM or AKMO is that it doesn't work the same on all roms.
Secondary apps may be in slot 3 on some roms but in slot 5 in others!
That's why you hear people comment "I tried AKMO but it didn't do anything..."
Most likely it didn't do anything because the apps weren't sitting where they were expected to be.
So fasten your seat belts and enjoy the ride!
==================================================================================
Note: Do this at your own risk, regardless of how little risk there is - since I included UnSuperCharging
........ Well, do a nandroid anyway, if you like
Requirements:
1. Rooted Phone. Milestoners, you can use Universal Androot (not in market ?)
2. Script Manager or Terminal Emulator to run the script. Stock ROMs can also use SM to load up boot scripts!
3. Busybox 1.18.2 OR LOWER - 1.18.3 or newer are VERY much a hassle with errors that should NOT be errors!
4. AutoStart Script by me - Enables Stock ROMS (Milestone) to utilize etc/init.d for boot scripts.
Stock ROMS (Milestone) - Vulnerable recovery is not required!
Installing/Using:
1. Download the attached V6_SuperCharger_for_Android*.txt script and save to your sdcard.
... Do NOT run the V6 SuperCharger install script at boot!
2. Load the script (V6_SuperCharger_for_Android*.txt) into Script Manager and select "Run as Root."
3. Touch the screen for the soft keyboard or slide out the keyboard and get SuperCharged! Just pick an option!
4. READ the script's output!
5. Afterwards, READ the html HELP FILE in the root of your SD Card!
6. Disable "Lock Home in Memory" if your ROM has this option.
7. Optional: For a quick status check, you can put a Script Manager widget for V6 SuperCharger on you desktop
Cool! - Here is a Visual V6 SuperCharger Installation Tutorial (Screen Caps!) by MalarKeY007 (thanks dude)
If you are using compcache and have lag or slow down after SuperCharging,
DISABLE compache, wipe caches and re-enable it.
Also make sure to uncheck/disable lock home in memory! (and leave it unchecked)
Note: V6_SuperCharger-AOR.zip is for use with Milestone's Androidiani OpenRecovery. Even if you have a Milestone, don't run it within Android.
........ AOR Usage: Extract to the root of your sdcard (Directory structure is in the zip)
.......................... You will now have a SuperCharger Menu on the main screen. Simply select the menu and select 1 of the 12 options.
Main points:
- CUST-OOMIZER! Use your settings without Autokiller Memory Optimizer or Auto Memory Manager!
- For newer phones with lots of ram, use the 3rd slot to set how much free ram you want.
- If you have /system/etc/rootfs/init.mapphone_umts.rc, it makes a backup and edits that single file. This is nice and tidy.
... Thank to kabaldan for pointing out the importance of certain things.
- Most Custom ROMs - If you have a /system/etc/init.d folder, it creates 99SuperCharger in there and edits /data/local.prop (20 entries added for adjusting priorities and groupings). You shouldn't need to configure anything else.
- Stock ROMs - If you have neither, it creates /data/99SuperCharger.sh which you can load up on boot (run as root) with Script Manager. The OOM groupings work as well since it happens on boot in local.prop (20 entries added)
Note: For some reason, the minfree levels do not stick on some Custom ROMs. I don't know why this is. Maybe a bug in GingerBread?
........ You can check /res/user.log to see if it ran...
........ If this happens to you, use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root"
In case of any error, you will find a related help file in the root of your SD card.
So... I think this covers ANY Android ROM
It also determines if you're using Script Manager and gives appropriate information/tips/help files depending on what other factors are present.
The above is really ALL YOU NEED TO KNOW.
The V6 SuperCharger script does everything!
Anything below is extra info!
It's just a single file... 806 lines (807 if you count the blank line at the end LOL)
The Nitty Gritty... For Geeks!
If you read Post #3 (History Parts 1-3), you'll see that at first it was only about minfrees and launcher redraw.
But after installing GingerBread, I saw that it needed more work than Froyo LOL.
Groupings were ALL MESSED UP and made NO SENSE to me whatsoever...
So I figured out how to group them more like CM6 (Froyo) but that still wasn't good enough...
So I further rearranged the OOM Groupings and Priorites and lowmemorykiller values and created a SuperCharger for phone memory...
THE ONLY COMPLETE MEMORY MANAGEMENT FIX!
Upon installation, V6 SuperCharger will first clean up any previous supercharging so none of your files get cluttered.
But if you toggle between Hard To Kill and BulletProof launchers, the memory adjustments aren't affected.
So you can leave your minfrees at stock/default settings and apply the Hard To Kill Launcher and still get the OOM Grouping/Priority fixes.
So if you love your ROMs memory settings, just try the HTK Launcher/OOM Fix... you won't regret it
It's pretty awesome
Here are some snaps....
Before...
After...
During....
Bonus....
Say Buh Bye to AKMO or any app that has to load on start up to change minfrees...
So did you notice the difference in groupings?
By default, CM7 has nearly all the apps in slot 5 and the launcher in slot 3.
Slightly aggressive settings will kill any chance of multitasking in that situation.
After SuperCharging, the apps get moved to slot 3 while the launcher is in slot 2 but the most important item in slot 2.
I've read, "oh you don't need to run any scripts for memory management..."
Well that's not true.
Playing with minfree values is one thing... it's playing with minfree levels... it's not really memory management...
Look at the pics above... now THAT's memory management...
If you look below at Post #3... that's how it all started... good background info in case you're wondering what the hell I'm talking about.
Notes: Minfree changes take effect immediately! This means you can switch from Balanced settings to Gaming and back again without rebooting!
.......... Switching between Hard To Kill and BulletProof Launchers require a reboot to take effect.
.......... Disable your OS's "Lock Home in Memory" option, if it has it. This takes effect immediately.
.......... Or use "Lock Home in Memory" as a "Saftey Lock" - to toggle your launcher from "Bulletproof" (0) or HTK (1) to "Weak" (2)
.......... Note: "Lock Home in Memory" is not 1 with my OOM Grouping/Priority Fixes
Cool Tip: Sometimes it's difficult to keep a wanted background app alive, such as an SMS app.
............. If you're in this situation, check out how to Bulletproof Background Apps!
Remember: When using scripts, use the SuperUser app to DISABLE SuperUser permissions for AMM!
................. It can still monitor your OOM groupings but it can't change your custom settings on boot.
................. If you have AKMO installed, disable it's option to Apply Settings at Boot!
If you are using compcache and have lag or slow down after SuperCharging,
DISABLE compache, wipe caches and re-enable it.
Also make sure to uncheck/disable lock home in memory! (and leave it unchecked)
V6_SuperCharger-AOR.zip is for Androidiani OpenRecovery for Milestone!! - For Milestone ONLY!
Click to expand...
Click to collapse

This is my setup for V6 Supercharger:
Download the Supercharger script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) and put in into your SD card.
Load the script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) into Script Manager and select “Run as Root.” (Do NOT run the V6 Supercharger install script at boot!)
Touch the screen for the soft keyboard or slide out the keyboard and Select “MegaRAM 2″
Once it’s applied then choose “Nitro Lag Nullifier“
Then click setting menu, choose config mode, u will see a check box named “browse as root”, tick that box
From the main screen of Script Manager click back twice
Go to data/ and run 99SuperCharger.sh install script at boot and reboot your device

i dont have the option MegaRam
i use the Option 1000 HP Number 17
Than i run the Nitro Lag Nullifier
and than i go out to config and tick the browse as root
than i go to data and select that the supercharger99 must start at boot.
Now i have restart my phone how can i see if this tweaks are working ?
now i have only 71 Free Ram and without the Programm i had 190MB Free :S

dubist said:
i dont have the option MegaRam
i use the Option 1000 HP Number 17
Than i run the Nitro Lag Nullifier
and than i go out to config and tick the browse as root
than i go to data and select that the supercharger99 must start at boot.
Now i have restart my phone how can i see if this tweaks are working ?
now i have only 71 Free Ram and without the Programm i had 190MB Free :S
Click to expand...
Click to collapse
It's not physical memory it's virtual memory.

this means ?

Just to update this thread if anyone looking, here's the Supercharger thread that gets regularly updated.
http://forum.xda-developers.com/showthread.php?t=991276

Nitro Lag filter is in the newer beteas, isn't it?
I think I use update 8 (latest non beta update) and I can't remember that I had that option.
Btw if you update with FlashTool and don't wipe data SuperCharger doesn't get cleared, so no need for a fresh install
Sent from my iPad 2 using Tapatalk

Flo95 said:
Nitro Lag filter is in the newer beteas, isn't it?
I think I use update 8 (latest non beta update) and I can't remember that I had that option.
Btw if you update with FlashTool and don't wipe data SuperCharger doesn't get cleared, so no need for a fresh install
Sent from my iPad 2 using Tapatalk
Click to expand...
Click to collapse
Or just take a backup of 99SuperCharger.sh

ShyamSasi said:
This is my setup for V6 Supercharger:
Download the Supercharger script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) and put in into your SD card.
Load the script (V6_SuperCharger_for_Android-update9_beta_6.sh.txt) into Script Manager and select “Run as Root.” (Do NOT run the V6 Supercharger install script at boot!)
Touch the screen for the soft keyboard or slide out the keyboard and Select “MegaRAM 2″
Once it’s applied then choose “Nitro Lag Nullifier“
Then click setting menu, choose config mode, u will see a check box named “browse as root”, tick that box
From the main screen of Script Manager click back twice
Go to data/ and run 99SuperCharger.sh install script at boot and reboot your device
Click to expand...
Click to collapse
for point no.9 i opened the script and when the dialog pops up i press run as root then run...do i need to do anything else or have i done something wrong?

You have to select the tweak you want to apply before you quit.
And then you go data and make 99supercharger.sh run as root and run at boot.
Sent from my iPad 2 using Tapatalk

Flo95 said:
You have to select the tweak you want to apply before you quit.
And then you go data and make 99supercharger.sh run as root and run at boot.
Sent from my iPad 2 using Tapatalk
Click to expand...
Click to collapse
Ive ran the supercharger ive chosen multitasking option dont know if thats wise. But then I ran the 99supercharger script but never ticked run at boot. So do I repply the v6 supercharger tweak then the 99 script or shall I run it again.
Sent from my LT15i using Tapatalk

Just browse to 99supercharger.sh, thick run at boot and you're good to go.
Sent from my iPad 2 using Tapatalk

how to
Hi
Im having issues installing v6 supercharger on my arc. I followed the tutorial:
http://forum.xda-developers.com/showthread.php?t=1334834
I got:
- stock rom+root
- busybox 1.18.2
- script manager setup as described in tutorial
- script on the sdcard
I tick run as root, click run and... the result is in the attachment. I got some syntax error. Any idea what went wrong? pls help!

Use a newer version

I broke my phone somehow using this?
So, I followed the instructions & here's what happened.
After the phone rebooted asking to do a clean? the screen went blank & stuck there for 15 minutes. I'm pretty sure that the instructions said that it might get stuck in a boot loop. IF that happened, just take out the battery. So that's what I did.
Apparently, big mistake.
Now, My LT15A won't do anything. When I push the power button, I get a big fat nothing. Not vibration. no LED.
So I've tried to flash the phone with a Generic UK firmware, but the phone doesn't even connect to flashtool.
The phone was under warranty, so I'm wondering if what I've tried will have voided it (pretty sure, but I'm new to this)
Here's what I (used to ) have:
LT15A rooted with Titanium & bloatware removed
Rogers - bootloader locked
Android 3.4.3 *.42

Hi,
You have to remove the battery, put it again, and start your phone. Repeat two or three times.

Maybe I wasn't clear. The phone won't turn on. Period. No vibration, no LED. Nothing.

Tried with wotan? If you can connect it in fastboot?
Sent from my LT15i using XDA App

I've tried to use FlashTool & I can't connect. I haven't tried Wotan. What is that.
I've since sent my phone in for a repair under warranty. I haven't unlocked the bootloader (as far as I know) to see if they will repair/replace it. If they won't honour the warranty, I'll try that.
Thanks.

Related

[APP][OUTDATED]One Click Lag Fix APK

This thread is now deprecated in favor of the APK2 thread.
APK2 thread can be found here:
http://forum.xda-developers.com/showthread.php?t=784691
This is an APK (Normal Android App) that will install an EXT2 lag fix for you.
The APK itself can support a number of different lag fixes, but currently only a simple EXT2 lag fix is available in it.
Currently Included Lag Fixes:
Root + Superuser - The APK includes an update.zip that will root+superuser your device. Android 2.1 does not support auto-running/recovery mode from apps, so you will have to manually enter recovery mode. Android 2.2 does support this, so it may be added in the future.
EXT2Tools - This installs the correct busybox and some ext2 tools for checking the filesystem, etc.
OneClickLagFix V1+ - The included lag fix is called 'OneClickLagFix V1+' and is a heavily checked version of the original 1.0 One Click Lag Fix Script. It contains additional checking, the app and app-private folders, as well as filesystem checking on boot. It has a slider that controls how much space the lagfix will use. Further to right will mean you can install more apps, but you may have to remove some when undoing the lagfix. Further to the left means less space for new apps, but will make it much easier to uninstall.
OneClickLagFix V1+ Remover - This should painlessly remove the lag fix for you.
Space Checker - You can check the amount of free space still available for apps after the lag fix is installed using the option in the app. Works for all lag fixes.
Change Scheduler - Changes the kernel I/O scheduler. More details in app.
What is this lag fix version for?
A lot of people have trouble with the script versions. This aims to make a simple lag fix that anybody can use. It has a lot of checks, and does not remove any files that the system is using. This hopefully means that this lag fix will cause zero problems. In the event that a lag fix fails, the app should undo the lag fix and leave your device as it started. You will have the option to mail the log to the lag fix developer (me in the case of the stock lag fixes).
This is currently in RELEASE status. Feel free to report any issues/bugs in this thread!
How to use this:
Copy over the APK file onto your phone, and run/install it as normal using 'My Files'. There will be a 'One Click Lag Fix' app installed. Run that, and select the option you want!
The app will automatically kill all running tasks, and enable flight mode. You should probably not use the device while the lag fix is running. If you accidentally hit back or home by mistake, re-enter the app and re-select the lag fix. It should still be running.
Vibrant users who are having issues can check out this awesome writeup: http://jjroid.wordpress.com/2010/08/25/one-click-lag-fix-for-samsung-galaxy-s-vibrant/
Notes on V1+
You may see a delayed splash screen on boot. This is because the EXT2 filesystem is being checked at this point.
Quadrant scores should be around 2100.
Use the included uninstall option before applying an OTA update, or updating using Kies. Updates using Odin will overwrite the lagfix.
You do not need to reinstall this lagfix when the app is updated. The version on the V1+ lagfix itself has not changed. You will only need to reinstall for V2 or other changes. Coming soon.
Android Market
Kryptyx has uploaded the app to the android market - It is listed as "RyanZA's One Click Lag Fix".
1.1, 1.2, 1.3, 1.4 Updates
New options:
+ Captivate Jupiter GPS Logging fix for certain firmwares.
+ Unroot
+ Restore boot logo
Fixes:
- Restore boot logo now correctly sets permissions.
- Fixed about dialog.
- EXT2Tools fix should now properly create the required directory.
- Buffer is now correctly 100mb for minimum size, and 200mb for maximum size.
1.5 Updates
New Options
+ Remove EXT2 Tools
Fixes
- Certain actions can now be forced
- Root/Unroot options can now correctly write the update.zip file
- Fixed busybox missing message for installing OCLF - now prompts to install EXT2Tools
1.5.1-1.5.5 Updates
New Options
+ Change Scheduler
Fixes
- Hopefully the broken pipe issue is fixed.
- New Icon by Kryptyx.
- Scheduler now affects all block devices. Will skip non-present devices.
1.6.0 Updates
New Features
+ Main view has tabs now: 'All', 'Enabled', 'Disabled'
New Options
+ Install Font option - EXPERIMENTAL
1.6.5 Updates
New Features
+ GUI Updates to help make the interface more understandable
+ 'Set On Boot' option for 'Change Scheduler' to automatically re-apply the selected scheduler on boot.
+ Adverts on the main page. These can be permanently disabled by pressing 'menu' on the main page and choosing to disable them. Feel free to click em before doing that.
Changes
- Default EXT2 size slider is now in the middle instead of the far right.
1.6.6 Updates
New Features
+ Option to repair / clean up any known lagfix issues.
Fixes
- Unroot will now work on any device (including Captivate), and on any firmware.
1.6.7 Updates
New Features
+ Minfree settings (Like autokiller)
+ New help dialog
1.6.7 Known Issues
If you use up more space inside the EXT2 than is available outside the EXT2, you will have to remove apps/delete data until you have enough space to copy your data back when you want to uninstall. To help avoid this, don't set the space bar all the way on the far right.
On Froyo (Android 2.2) this lag fix will refuse to install if the apps2sd feature is in use. The error you will see if Apps2SD is in use on installation will be that the loopback cannot be mounted.
Workaround: In order to install the lagfix on froyo, you will need to set each app that is on the external SD back to regular. Once the lagfix is installed, you can move apps back to the SD.
FAQ
A FAQ about what this lag fix does is available here: http://forum.xda-developers.com/showpost.php?p=7620940&postcount=2
Donations
Since a lot of people have been asking, I set up a paypal account and got a donate link: https://www.paypal.com/cgi-bin/webs...=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted
Feel free to donate if you want, but I'm happy if you don't donate too.
Full Source Code is available under GPLv3 at http://code.google.com/p/oclf/
Does this one have the same backup issue as your other one?
decepticon said:
Does this one have the same backup issue as your other one?
Click to expand...
Click to collapse
Backups should work fine. Give me a heads up if they don't.
EDIT: Backups should also work in the other lag fixes. People report them as working, so...
They work but mine takes forever backing up linux.ex2. Ill test this one soon
Sent from my GT-I9000 using XDA App
decepticon said:
They work but mine takes forever backing up linux.ex2. Ill test this one soon
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Ah, that issue! This lag fix will also take a long time to back up. It is not a different lag fix from the others, just a safer and easier to use lag fix. People who can already install the more advanced lag fixes should rather use those! This is aimed more at people who don't want the complications of those methods.
Seems to work great on the Vibrant!
Gets rid of the issues I had with 2-2 and 2-3 lagfixes, where I would get the message that I have low internal memory, which would prevent me from being able to receive text messages. Do you know why this would have been happening, Ryan?
hurrpancakes said:
Seems to work great on the Vibrant!
Gets rid of the issues I had with 2-2 and 2-3 lagfixes, where I would get the message that I have low internal memory, which would prevent me from being able to receive text messages. Do you know why this would have been happening, Ryan?
Click to expand...
Click to collapse
The script lag-fixes are dumb lag fixes, they don't check how much space is available and that. This one does a lot of checking and tries to make it all pain free.
RyanZA said:
The script lag-fixes are dumb lag fixes, they don't check how much space is available and that. This one does a lot of checking and tries to make it all pain free.
Click to expand...
Click to collapse
Well it certainly does make it pain free. Any intentions to release a 2-x .apk version?
Hi Ryan, is it recommended to run after a fresh install? Will it cause problem otherwise?
dereknas said:
Hi Ryan, is it recommended to run after a fresh install? Will it cause problem otherwise?
Click to expand...
Click to collapse
It should work perfectly on any install.
If it won't work, it should be disabled on the menu, and clicking on it will tell you what is wrong. If it somehow manages to run and something goes wrong, it is designed to roll-back and put your phone back how it started.
So it should be fine without a fresh install. Give me a heads up if you hit any issues though!
Thanks mate. Will give it a go after my next battery charge.
This is an awesome idea! Thanks for this apk.
May I ask: let's say I have a custom rom with it's own lagfix and I want to use this one. Will it move the /data dir? Will I get black screen after reset? Can it check for previous fixes?
I know the Quadrant scores increase, but is there any actual noticable difference between using v1 and v2.3 of your lagfixes?
Got a quadrant score of 1900 with this fixfix
Awesome. Thanks a bunch. I've also voted to front page
Ryan,
I just followed the steps and stuck onto OneClickLagFix V1+. It keeps showing me that I don't have enough free space in /data to use this fix. When I check Free space, I got 594MB out of 942 MB available. Isn't it enough or how do I free up some space?
update: I just ran quadrant test and result was around 2000. Did it mean I did complete this lag fix? I thought I only did upto install EXT2 tools and Check Free Space.
Ryan, works great! Stock vibrant+root, ran the apk, and got 2114
voted to front page
Thanks for this, My score 2100, Although it seems that the more I test it the lower the score gets, Is this normal?
shma00 said:
Ryan,
I just followed the steps and stuck onto OneClickLagFix V1+. It keeps showing me that I don't have enough free space in /data to use this fix. When I check Free space, I got 594MB out of 942 MB available. Isn't it enough or how do I free up some space?
update: I just ran quadrant test and result was around 2000. Did it mean I did complete this lag fix? I thought I only did upto install EXT2 tools and Check Free Space.
Click to expand...
Click to collapse
Sounds like you have a previous lag fix installed with a total of 1GB instead of 2GB. You have to undo the first before you do this one.

[MOD][15/06/12] Improve your One X multi tasking using script

Improve your One X multi-tasking using this simple and quick script!
User Feedback from this script:
"Nubzori: Thank you so much. After 10mins of testing, loaded bunch of apps, news, twitter, pulse, xda, chrome, clock, task manager, none of these refreshed"
Note: this script only works on roms that support init.d, it's been brought to my attention that init.d is not supported on some stock roms/kernels although it must be said; Why the hell would anyone want a stock rom??
UPDATE 15/06/12 - Thanks to Orical who has advised me this link here is a solution to those having problems with getting init.d scripts to work. This basically gives you the ability to enable init.d scripts in any rom!!!
Steps to installing script - EASIEST METHOD
1. Download this script of your choice and transfer to your phone (using USB cable or download direct to your phone or AIRDROID or whatever)
2. Rename from multitasking.txt to just multitasking (without any extensions) and place this in your /etc/init.d/ or system/etc/init.d (if you cannot see this, make sure your es file explorer is showing hidden files and folders which can be changed within the settings of es file explorer, also you need to make sure you go up to root directory which is again enabled within es file explorer)
3. You must be rooted to access this folder (make sure you set es file explorer to go up to root directory). These scripts alter the minfree values in your lowmemorykiller system module.
4. Once you have moved script file to init.d to mark as executable by clicking on script and setting permissions as executeable within es file explorer.
5. OR Just open the file and you can find several options, one you need is 'linux handler', choose that and next select execute option. It will now executed automatically.
Alternative method of installing script:
adb remount
adb push C:\Users\your name here\Desktop\multitaskingxtremextra system/etc/init.d
adb shell
chmod 644 system/etc/init.d/multitaskingxtremextra
adb reboot
From what I know of, the android system generally handles around about 5/6 apps in memory without any problems, any more apps and then you start getting refreshes, I've tested using LBE firewall (running as service), battery status, firefox with multible tabs open, gmail, messaging, gallery and the sense launcher (as this is an app as well). Any more and it starts recycling ram for some reason and you will get refresh on some apps (depends on which app)
Troubleshooting:
Can't find init.d, here is the answer:
Use the root explorer to copy it to system/etc/init.d
Just open the file and you can find several options, one you need is 'linux handler', choose that and next select execute option. It will now executed automatically.
The default values for the One X are:
STOCK ONE X TEGRA:
8192, 10240, 12288, 14336, 16384, 20480
My multitasking script alters this to:
2560,4096,6144,7680,8704,10240
My multitaskingxtreme script alters values to:
1536,2048,3584,5120,8704,10240
My multitaskingxtremeextra has the xtreme script as well as:
Dirtybackgroundratio 70
Dirty Ratio 90
VFScachepressure 10
And kill oom allocating task 1
my multitaskingultimate has the same as multitaskingextremeextra except the minfree values are more aggressive for the best multi tasking you can get on the one x
512,1024,1280,2048,3072,4096 - this is the best settings I have used for multitasking and have run 6/7 apps and some cases more without refreshing on a full SENSE 4 rom which is impressive if you ask me, the combination of apps where Firefox, Chrome, Gallery, Youtube, Dialer, etc.
You should notice that most apps will not reload when multitasking (except if you are intense gaming such as shadowgun or something intense like riptide), in some cases too many apps running will cause refresh if multi tasking, take note in the fact that htc senses software uses up alot of ram leaving little free as it is for other apps.
If you want to return to default values, simply delete the script from your init.d and reboot your android phone
If this has helped you please hit the Thanks button rather than post thanks!!
My test was using chrome beta, ebay, gallery, file explorer, ebookdroid, whatsapp, gmail, text message and all did not refresh whilst using,
I will also experiment with different scripts & methods and post any alternatives that may further improve multi tasking on the one x.
NOTE: I hold no responsibility should you damage your phone in anyway using this script. However damage is unlikely.
Information:
min free kbytes (vm.min_free_kbytes)
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
dirty ratio (vm.dirty_ratio) and dirty background ratio (vm.dirty_background_ratio)
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
VFS Cache Pressure (vm.vfs_cache_pressure)
Now here is where it gets interesting! File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
oom allocating task (vm.oom_kill_allocating_task)(enable or disable, generally in Linux this value is either a "1" or a "0," representing as on or off.)
This enables or disables killing the OOM-triggering task in out-of-memory (oom) situations. If this is set to zero, or disabled, the OOM killer will scan through the entire task list and select a task based on heuristics to kill. This normally selects a rogue memory-hogging task that frees up a large amount of memory when killed. If this is set to non-zero, or enabled, the OOM killer simply kills the task that triggered the out-of-memory condition. This avoids the expensive task list scan, which can take mass amounts of time and "hang" or freeze the system.
This thread would like to thank the following:
rayford85 - for pointing out #!sysbin in script which i stupidly left out and alternative installation method
Nubzuri - for pointing out to those who could not find init.d
rycon33 - for pointing out that init.d not supported on some stock kernels/roms
My MODS
----------------------------------------------------
[MOD] Improve Multi-tasking on HTC One X
----------------------------------------------------
[Currently owned devices]
- HTC One X Tegra 3
- Motorola Xoom
- HTC Sensation
- HTC Desire HD
Thanks a lot, much better multitasking now
Sent from my HTC One X using XDA
i thought it's about time we got something like this and decided to bother modifying the values, it is a noticeable difference!
Would this be the same or similar script to the one in this thread?
http://forum.xda-developers.com/showpost.php?p=26437514&postcount=93
My phone is rooted but I can't find the init.d folder. I have \etc but no init.d. Should I create the folder or just place it in etc?
nope its my own script, for some reason the op hasn't replied back yet about his script so i couldnt test it and decided to make my own, so far it is better than the original minfree on the htc one x tegra 3,
also you need to be using es file explorer make sure you can view all files/folders (including hidden) in settings of es file explorer
Does the phone need to be rooted ?
I downloaded es file explorer and set the hidden file/folder option. I still can't find /etc/init.d
I can see other hidden files and folders in other directories but can't locate init.d
Any ideas?
thanks for this
Thanks for your contribution .
@silentkill @john9 please hit the thanks button and you are welcome,
creepinchi: make sure you have access to your root directory, follow my instructions above in the first post, you need to be able to go up to root directory then you will see etc folder then go into init.d folder then place script here
I don't want to root my machine yet, is it possible to modify the files the other way?
don't you need to make the script executable chmod +X ?
yes executable, sorry forgot to mention this, will update main post
quick question if you/i made this as a cwm zip would you need to Mark it as executable In es?
Sent from my HTC One X using xda premium
I'm not sure I've not really tried, why don't you give it a go
Thanks! Only a quick test but seems much better on my One X. Chrome Beta has gone from reloading every time I dared to leave it to only reloading if I open 5 or so apps. Great job, makes the shiny sense multitasking screenshots seem a bit less silly now
mox123 said:
I'm not sure I've not really tried, why don't you give it a go
Click to expand...
Click to collapse
Will do when I get back on my pc.
Sent from my HTC One X using xda premium
P.m' d you with values.
I am rooted and have show hidden files enabled but still can't find the file. Is this only for the tegra 3 version?

{Script} [App] CPU1 disabler while in sleep!!! 07/12/2012 Release 2.1

App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App
What is it?
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.
How does it work?
Since we have Dual & Quad core CPUs, we have a CPU 0 and a CPU 1/2/3, core 0/1/2/3, while the screen is off we really only need to have 1 core active "CPU0", this App will make sure CPU 1/2/3 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
Battery Saving?
Battery savings all depends on Usage & idle times.
App Download: CPUSleep.apk
Credits:
Handlerexploit for co-creation of this wonderful App.
Script Version!
Code:
This time I present to you a script that will in theory (and so far for me, in reality) save us some battery without having to risk our hardware with undervolting! I present to you...
[B]CPU Sleeper[/B]
[QUOTE]Honestly the Script can be made to work with any Dual Core / Quad Core! The Only Problem is you need to be Rooted!
~ Currently the issue with CM9, is that the boot becomes incomplete while in init.d folder without Modification to the sysinit..
~ however, with any rooted device you can download the script & continue to use it via a script manager app on every boot.
~ With the Script Manager App, this script virtually can run on any Multi-Processor CPU
Hope that clears things Up,
~~Eugene[/QUOTE]
[U]What is it?[/U]
Its a fairly simple script that will put CPU 1 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1 back ONLINE.
[U]How does it work?[/U]
Since we have dual core CPUs, we have a CPU 0 and a CPU 1, core 1 and core 2, while the screen is off we really only need to have 1 core active, this script will make sure CPU 1 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
[B][COLOR="red"]WARNING! READ THIS![/COLOR][/B]
This script relies on init.d OR script manager! CM9, for some reason, tends to run this at the exact same time it runs some other script (I forget atm which) and it will clash, causing no boot! CM9 users MUST use the script manager version install! Flex Reaper appears to work fine with it as init.d. I strongly urge you to use the script manager version of this, NOT the flashable version. Always make a nandroid backup before modifying the system, including this!
[U][COLOR="Red"]Instructions[/COLOR][/U]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
[I]Version 1: Flashable[/I]
Same as any of my flashable releases, I did most of the work for you!
Make a full backup
Download to external SD card
Install from SD card
Pick the cpu sleeper zip file
it'll be almost instant
reboot
Shouldn't be any need to clear caches or anything like that.
[I]Version 2: Script only[/I]
This can be run in 2 ways, via init.d support, or via script manager. Both are pretty similar, and can be done a number of ways, however this is the basis of how.
[U]Init.d supported kernel:[/U]
Make a backup!
Download the script file, making sure no extensions get added onto the file. Copy the file to /system/etc/init.d and set the permissions to the following:
XOX
XOX
XOX
Once done, reboot the system, and it will take effect when your system is finished rebooting.
[U]Script Manager[/U]
This method is probably the better method, and should work with any kernel/ROM. Download the script file, making sure no file extensions get added, and copy it to /system/etc. Set the file permissions to:
XOX
XOX
XOX
Once done, load up script manager, select browse as root (if it isn't already set from the crossix mod method in the guide) then browse to /system/etc and select the script file S98cpu_sleep, then select ROOT and BOOT options. After this is set, reboot system.
[U]What do I do if I can't boot after using this?[/U]
You made that backup, right? Ok, then here is what you do.
Hold the power button until the tablet powers off
Press and hold the volume down button, next to the screen lock switch
Press and hold Power (while holding volume down)
Once the recover kernel message comes up, release the buttons
In CWM go to advanced, mounts, mount system, then format system
In TWRP, go to wipe, then wipe system
In CWM go to restore, advanced restore, restore ONLY system
In TWRP select restore, then uncheck all so ONLY system is checked
After restoring system, wipe cache and dalvik cache, then reboot system.
System should boot normally.
[B]Downloads[/B]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Dual Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[URL="http://d-h.st/N1N"]CPU Sleeper script only[/URL]
Quad Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[url=http://www66.zippyshare.com/v/9249467/file.html]cpusleep[/url]
Thanks to [COLOR="DarkGreen"]pio_masaki[/COLOR] for rewriting the OP
Seems really cool, gonna check it out
Sent from my Sprint Samsung Galaxy S3
tarheelsmj12001 said:
Seems really cool, gonna check it out
Sent from my Sprint Samsung Galaxy S3
Click to expand...
Click to collapse
Thanks, Proof it's working!
http://forum.xda-developers.com/showthread.php?t=1739457
flashed over diet ics 6.30 build and my phone has not exploded. Hopefully you'll save us all some battery
I flashed it through CWM Recovery then i reboot and go to system/etc/ but did not see "init.d".
wings76 said:
I flashed it through CWM Recovery then i reboot and go to system/etc/ but did not see "init.d".
Click to expand...
Click to collapse
Same here :-(
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
question
Ive been testing battery life for a week now with cpu 1 stock and forced on, According to system tuner apk. cpu 1 is not even running 95% percent of the time with screen on and off /using phone, seems the kernel controls this pretty damn good, so.unless that app is not working correctly would something like this script even help at all?
What have your results/ testing been?
jiggytom said:
Same here :-(
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Yeah, did you also try the script manager method? I used the script manager to copy the file S98cpu_sleep to system/etc but it said "You cannot paste here because the file system is read-only." Any suggestions?
wings76 said:
Yeah, did you also try the script manager method? I used the script manager to copy the file S98cpu_sleep to system/etc but it said "You cannot paste here because the file system is read-only." Any suggestions?
Click to expand...
Click to collapse
I know we can do the script manager method but the init.d is cleaner.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
If this is so simple why manufactureres not have this as default option?
wings76 said:
Yeah, did you also try the script manager method? I used the script manager to copy the file S98cpu_sleep to system/etc but it said "You cannot paste here because the file system is read-only." Any suggestions?
Click to expand...
Click to collapse
Use root explorer and mount system as R/W... then you can do it. Long press after to set permissions... and then mount it back as R/O
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Deleted, shouldn't have been this rude...
Please don't flash T989 /I727
I think people assumed that because you included it in the post that it would work on GS3's which is understandable.
Guessing you copied and pasted from your original thread.
y2whisper said:
I think people assumed that because you included it in the post that it would work on GS3's which is understandable.
Guessing you copied and pasted from your original thread.
Click to expand...
Click to collapse
I'm sorry, but lol if you didn't Read the OP?
Don't put this oof on me, after All I didn't invent reading & everything is laid out in the OP....
Fact is, Learn to Read!!!!
eugene373 said:
I'm sorry, but lol if you didn't Read the OP?
Don't put this oof on me, after All I didn't invent reading & everything is laid out in the OP....
Fact is, Learn to Read!!!!
Click to expand...
Click to collapse
Why would you post a link that doesn't work for the phone/forum you are posting in?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
jiggytom said:
Why would you post a link that doesn't work for the phone/forum you are posting in?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I can not help but to laugh at this... Please Re-Read the OP regarding your Question and maybe you'll under stand it....
I'm happy to help in any shape / forum I can, but at the same level, people need to do the research as well..... As much as I want to help everyone at hand... What part of I727 / T989 did you not understand?????????
I'm sorry to be rude in this matter! But reading goes a long ways!!!
Also, The script works Perfect for all!! The .zip which is clearly labeled, well do the math~~
I Love android & Just want to help everyone, but at the same time people needs to learn to read & be liable for there own actions as well!
~Eugene
eugene373 said:
I can not help but to laugh at this... Please Re-Read the OP regarding your Question and maybe you'll under stand it....
I'm happy to help in any shape / forum I can, but at the same level, people need to do the research as well..... As much as I want to help everyone at hand... What part of I727 / T989 did you not understand?????????
I'm sorry to be rude in this matter! But reading goes a long ways!!!
Also, The script works Perfect for all!! The .zip which is clearly labeled, well do the math~~
I Love android & Just want to help everyone, but at the same time people needs to learn to read & be liable for there own actions as well!
~Eugene
Click to expand...
Click to collapse
I understand the label, but there are times where the flash able zips are cross device. No where in your post do you say DO NOT FLASH. again, no reason to post it or instructions for it if it doesn't work for our device. I understand you want praise and people thanking you, but don't spam it across different device forums and expect people not to be upset.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Sorry not trying to spam it... Just wanted everyone to be aware of it is all.
OP has a new format now... I recommend using the App now
& removed the .zip as well to prevent any further issues.
I'm confused. I've read the whole thread (not that big yet), including the OP...and the posts about it 'not working for this device'.
Does this work on the AT&T Galaxy S III or not?
ewingr said:
I'm confused. I've read the whole thread (not that big yet), including the OP...and the posts about it 'not working for this device'.
Does this work on the AT&T Galaxy S III or not?
Click to expand...
Click to collapse
yes it works.... I recommend using the App though.

[ROM] Subinmanaladil Rom - Solve heating issues, Ram Issues and Battery Problems

Subinmanaladil Rom for Redmi 1S FINAL RELEASE!​
This is a rooted and optimzied version of MIUI V45(Now based on Adria Rom as I like its features) that gets rid of the heating issues and increases performance. Its absolutely smooth!!!!
This will be the final release. There are no bugs present. Enjoy!
Changes made over Adria Rom:
1. Uninstalled some unnecessary Apps.
2. Odexed the whole rom for speed and battery Life.
3. Optimized system with pureperformance and ram management patches
4. Puregraphics engine for better graphics
5. Added my own improved thermal config for lagless heating control.
6. Added a cool screen off animation and other apps usefull for redmi 1s.
7. Many more minor optimizations
Change log for R2
1. Added TheNewPureAudioEngine - Audio quality is much better now
2. Fixed permissions for odex files, works better and reboot times are reduced.
3. Got rid of xextstorage app as it was causing problems.
4. Link2sd integrated for unfreezing certain apps
I AM NOT RESPONSIBLE FOR YOU BRICKING YOUR PHONE OR IF YOUR PHONE CATCHES FIRE OR THE ALARM DOESNT RING ON TIME AND YOU LOSE YOUR JOB. USE THIS AT YOUR OWN RISK.
DO NOT APPROACH ME IF YOUR PHONE SLOWS DOWN AFTER YOU RESTORE APP DATA WITH TITANIUM BACKUP. DO IT CLEAN
Click to expand...
Click to collapse
Instructions(FINAL RELEASE)​
1. Install Custom TWRP Recovery
Get it from this thread
http://en.miui.com/thread-43304-1-1.html
1. Download the flashable build, place in root folder of internal sd.
2. Go to system "settings", go to "about phone" at bottom, click "system update"
4. Click menu button and select "select update package" and browse and select TWRP 2.8.02.ZIP
5. Once flashing is done, reboot into recovery by pressing volume up+ power button after turning phone off. If it doesnt work, try flashing by above method again
2. Download and Unzip the backup
1. Download all 4 files from this link(389 mb total. 97 mb each)
https://www.mediafire.com/folder/c7ch9w7shqao6/Redmi_1S_Rooted_Rom_Subinmanaladil
2. Put all files in same folder and extract ONLY the file "Subinmanaladil Rom Redmi 1S FINAL RELEASE.zip.001". If you cant open it, get 7zip
http://www.7-zip.org/
3. You should now get a folder named "Subinmanaladil Rom Redmi 1S FINAL RELEASE".
4. Reboot into recovery and select backup, swipe to start creating a backup. When backup process starts, press down power button until phone restarts. Using a file manager, go into TWRP-BACKUP-"folder with random name". Here you should paste above extracted folder.
5. Reboot to recovery click restore and select "Subinmanaladil cusotm MIUI Rom Redmi 1S" Change location from internal storage to external storage according to weather your backup fodler is in internal or external sd.
3. Setup
1. Click security app in home screen. Select Permissions. Now enable root permissions. Disable permission manager.
2. Go to settings--toolbox---wsm tools. Install the framework and enable greenify, screen animation modules
3. Add apps like facebook and messenger to greenify list and setup auto reboot app to keep phone running smoothly
4. Turn on init.d in universal init.d app and reboot.
5. Charge from 2% to 100% and leave it on charger for 20 minutes extra. Do this about 3 times before you can get good battery life.
6. (OPTIONAL) I disabled limiting background process in battery option in settings. This setting causes apps to not sync. This happens in stock rom too. Doing this can decrease battery and icnrease heating but it works fine for me.
Antutu Benchmark and Battery Stats attached
CREDITS:
@BalcanGSM for the amazing Adria Rom.
@Jeeko for the amazing pureperformance script(I hope he updates it for kitkat)
@fivefour for crossbreedor script used in pureperformance(I tried pureperformance originally because it had crossbreedor integration)
@Ch02 For pointing out instructions at which people were likely to get confused.
@ whoever that made the stuff for root and recovery. I am not sure who all.
Have fun
Been using with this setup for some time now and there are absolutely no heating issues. No other problems either. No apps or music player force close.
Gonna consider patching services.jar soon
subinmanaladil said:
I was experiencing heating and battery issues on this device. I decided to root the device and added a few modifications that seem to have magically cured the problem. The phone now heats less than a samsung device. Seriously major difference.
The phone also got a whole lot faster and smoother.
1. Root Your Phone
This method is from the following link:
U can unroot easily and get OTA Updates and obtain warranty by following instructions in that link. Below is the procedure to root.
1. Download the file update.zip to your PC (because download via browser on phone often is not working properly)
2. Connect your Redmi 1S via USB
3. Copy the file update.zip to the folder 'Computer\HM 1S\Internal storage' (root of internal storage, meaning the top most folder)
4. Disconnect your Redmi 1S properly from USB (use 'Safely Remove Hardware and Eject Media' from USB icon in Windows SysTray)
6. Boot into Mi-Recovery (for this launch the Updater app, press the menu/options button and from the menu choose 'Reboot to recovery mode')
7. In the Mi-recovery select and confirm 'English' (or Chinese if you are capable to understand)
8. Select and confirm 'Install update.zip to System', this will take one second
9. Select and confirm 'Reboot'
10. After reboot go to Security -> Permission and activate Root permission
11. Enjoy your rooted Redmi 1S
2. Uninstall unnecessary software
Taken from the following link:
List of apps that can be safely Freezed to free up the RAM
I use link2sd from play store to freeze apps. Just select an app and click on actions and select freeze option. you can also use app quarantine
https://play.google.com/store/apps/details?id=com.ramdroid.appquarantine&hl=en
ANT HAL Service
Browser (Using Crome)
Drive
Facebook
Flipkart
Google Hindi Input
Google Pinyin Input
Google Play Book
Google Play Movies
Google Play Music
Google Play Newsstand
Google+
Google Search
Hangouts
Mail
Mi Cloud (Required for themes)
MiTalk
Play Games
SIM Toolkit
Sync with Mi Cloud (Required for themes)
Updater (Needed to update firmware)
Video Player (using MX player)
Xiaomi Assistant
3. Install Universal init.d app by Androguide.fr from Play store and enable init.d support in the app
4. Install Custom CWM Recovery
1. Download attached file "signed_cwm_update redmi.zip"
2. rename it to update.zip and paste in root folder of internal storage.
3. Go to settings, then to about phone and click system update button
4. Press menu button adn press "reboot to recovery"
5. Select language English and then select flash update.zip option.
6. When done, turn phone off, press volume up+ power until you enter cwm recovery
5. Install the performance mod
1. Download pureperformance for CM from this link
http://forum.xda-developers.com/showthread.php?t=2360670
2. Put it in your external sd card's root folder.
3. Boot into cwm recovery, make a backup
4. Flash pureperformance mod and reboot
6. Change ram manager script(optional)
I just find this ram manager to be better
1. Download fly on mod from following link
http://forum.xda-developers.com/showthread.php?t=2226373
2. Extract the zip file, browse to etc/init.d folder in it and copy the ram manager file to root folder of sd card
3. Use root browser from palystore and copy this file from sd card nad paste it in etc/init.d folder of your phone(not the extracted folder of the zip file)
4. Delete ram_optimize script
I think we have to patch services.jar for ram maanger ot work but i am not sure. Will update with instructions if i do so.
Thats it. Just wait 15 minutes for system to settle down. Additionally you can go to developer otpions and put animation speeds back to normal and reboot one more time. I did this much and all my heating issues are gone! Absolutely no heating even while gaming!!! I didnt even underclock! Its like a magical fix guys!!! I was amazed. The performance has increased phenominally too. MIUI should hire jeeko or exit_only for working on their performance front. I think exit_only made the ever amazing crossbreedor script.
I am also getting great great battery life and speed. I am 100% happy with this phone now. I have noticed in this hsort time that battery charging time has drastically decreased too. Phone doesnt heat much during charging either. :laugh:
NOTE: If you are still unhappy with battery life or the slight heat, then install No frills CPU from play store and put min frequency to 300 and max frequency to either 1.4 or 1.19 and test. That reduces heating too. Also check apply on boot. Also go to security app in desktop and click on power(the one that has antivirus and cleaner in it) and select default and change cpu mode to power saving and then click ok. Now select apply for default setting. I didnt need this.
CREDITS:
@Jeeko for the amazing pureperformance script(I hope he updates it for kitkat)
@fivefour for crossbreedor script used in pureperformance(I tried pureperformance originally because it had crossbreedor integration)
@ whoever that made the stuff for root and recovery. I am not sure who all.
Have fun :laugh:
Click to expand...
Click to collapse
Thanks for the post. I am also face the same issue. While i start to apply the points you mentioned, unable to identify the 'Computer\HM 1S\Internal storage. Please let me request you to post with some snap shot to understand the points easily to recover from this issue of heat and battery issue.
Thanks & Regards,
Saravanan
bsshare said:
Thanks for the post. I am also face the same issue. While i start to apply the points you mentioned, unable to identify the 'Computer\HM 1S\Internal storage. Please let me request you to post with some snap shot to understand the points easily to recover from this issue of heat and battery issue.
Thanks & Regards,
Saravanan
Click to expand...
Click to collapse
Dont quote the whole OP.
If you havent inserted sd card, then ur only storage is internal storage. that is what is meant. you can open using explorer. Paste in root of internal storage
Thanks for your reply regarding my query.
Please don't mistake me to ask again the same question. It's my first smartphone, so i unable to know in depth about android.
You had mention to store in internal root.
While i connect my phone with my system i get the following folders in my phone, Android,Bluetooth,data,DCIM,Document. Inside android two folder in the name of data and obb. Please let me know where i store the "Unrootnative_Redmi1S.zip and the other two file Update.zip and signed_cwm_update_redmi.zip.
I am not installed any game apps and heavy files. For my business purpose added some 6 apps in my phone and out of this i use very limited period. But the charge with 100% in the morning drain to bellow 10% before evening. If i speak more then 10 min feel the heat very much in my ears.
Please help me to solve this issues.
Thanks & Regards,
Saravanan
bsshare said:
Thanks for your reply regarding my query.
Please don't mistake me to ask again the same question. It's my first smartphone, so i unable to know in depth about android.
You had mention to store in internal root.
While i connect my phone with my system i get the following folders in my phone, Android,Bluetooth,data,DCIM,Document. Inside android two folder in the name of data and obb. Please let me know where i store the "Unrootnative_Redmi1S.zip and the other two file Update.zip and signed_cwm_update_redmi.zip.
I am not installed any game apps and heavy files. For my business purpose added some 6 apps in my phone and out of this i use very limited period. But the charge with 100% in the morning drain to bellow 10% before evening. If i speak more then 10 min feel the heat very much in my ears.
Please help me to solve this issues.
Thanks & Regards,
Saravanan
Click to expand...
Click to collapse
Put it in that location itself. You dont need to enter any of the folders like android nad bluetooth. Batteryw ill improve tremendously with 5-7 charging cycles. drain to 2, charge to 100% and keep plugged in for half an hour additional
xiaomi redmi 1s ( india )
subinmanaladil said:
I was experiencing heating and battery issues on this device. I decided to root the device and added a few modifications that seem to have magically cured the problem. The phone now heats less than a samsung device. Seriously major difference.
The phone also got a whole lot faster and smoother.
Click to expand...
Click to collapse
heyy thanks for guide
i was wondering if you can write a full post regarding same ( with addition of info a\bout other roms , like mokee etc )
and make it more simpler for first time users
also i was wondering if the xda community ( be it you ot linuxxx or others contributing to Mi devices) have a group and presence on xiaomi official fourms and guide the people there too
a
zohansinha11 said:
heyy thanks for guide
i was wondering if you can write a full post regarding same ( with addition of info a\bout other roms , like mokee etc )
and make it more simpler for first time users
also i was wondering if the xda community ( be it you ot linuxxx or others contributing to Mi devices) have a group and presence on xiaomi official fourms and guide the people there too
a
Click to expand...
Click to collapse
I have posted this guide on MIUI forums too.
Am not an expert, just put together things that I know. I never tried any other custom OS because I bought this phone with MIUI software features in mind.
I tried patching services.jar but it gave me erros such as all apps crashing if i wiped dalvik cache and newly installed apps seemed to not open. So it has been dropped
Nice
Sent from my HM 1SW using XDA Free mobile app
Installing CWM means loss of warranty right????? And also we cant unroot and get OTA updates????? Correct me if m wrong......... And what will happen if i skip CWM step???
great tips
Really the tips you had share with us is working fine.
Yes, the phone can be returned back to stock just by following unroot instructions.
I have updated original post with a better guide and more instructions :good:
I flashed the pure performance script following your instructions and also underclocked the
CPU which helped to reduce heating...but battery life remains as it was..I ran a benchmark after turning back the clock speed to maximum and cpu to high performance in the security app,I get scores lower than stock ROM..
Any thoughts??
And also can you provide a guide to turn back the phone to stock.
Sent from my HM 1SW using XDA Free mobile app
bobinx said:
I flashed the pure performance script following your instructions and also underclocked the
CPU which helped to reduce heating...but battery life remains as it was..I ran a benchmark after turning back the clock speed to maximum and cpu to high performance in the security app,I get scores lower than stock ROM..
Any thoughts??
And also can you provide a guide to turn back the phone to stock.
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
In my experience, underclocking doesnt seem to really get rid of heating. Am not sure but I get best experience at 1.6 Ghz itself.
The guide has been updated with a major improvement of ram management with the services.jar patched. Make sure you do that step too. :good:
For me, underclocking does reduce heating...
And about the battery status screenshot you have provided... I get such battery life only when I am sleeping. The battery drops like 1 percent/min with just whatsapp and data on
And I get 416 mb ram in stock ROM without modding..just that it get reduced to around 250mb when I am using my fone..
Your screenshot shows that screen uses less power than android system...in my experience, it is not possible unless you use the phone just for fone calls...as redmi has a 720 p display which definitely uses a lot of power
Can u give us some info about how you use your phone...
And y patch services.jar??
Sent from my HM 1SW using XDA Free mobile app
a
my battery is draining 20% per 50 minute . . . . :'( and i dont have pc to do all the steps
U need pc only for patching services.jar
Sent from my HM 1SW
Possibly a stupid question, but in step 6, why do you recommend downloading PurePerformance for CM if we are running stock MIUI 41.1 Rom? Just want to be sure what I'm flashing.
Thanks a lot for the instructions. Few questions from my side if you can help that will be great.
Will I be able to update the phone when a new firmware is released?
What will happen with this workaround once you install an update, do you need to start again from start?
does anyone have patched service.jar and framework.jar for MIUI Global 4.1 ?
because i have dificulty tu run ultimatic jar patcher tool on my win 8 x64 environment

[DEBLOAT] [OOS, Customs] Tomatot Debloater 4.1 (+++Battery, RAM, Privacy)

Hello guys,
Introduction
Today is my first step in the android development world. And I'm starting with something very little. I've created this tool for myself but I thought I could share it, as it could be useful to you as well and you could help me to improve it.
Big announcements
1) Officially supported custom ROMs:
-OmniRom
-LiquidRemix
-Skydragon
-ArrowOS
-AEX
What can you expect from flashing my script?
I think my script is interesting because its utility is completely complementary with a custom ROM or kernel: what it does has nothing to do with the kernel, so it doesn't interfere at all. And it's concrete stuff, not some supposed-to-be optimization where you're not even sure it's going to do something. I'm usually not a huge fan of these apps / modules.
-You'll get more privacy: I've removed Qualcomm telemetry, OnePlus telemetry as well as some Google Telemetry (but you can't expect too much as long as you use gapps)
-You'll get better battery life: less apps running in the background, less wakelocks, less services communicating with servers to send telemetry.
-You'll get better performance: for the same reasons. Don't expect a huge difference as our phone is very smooth already.
-The feeling of having a clean device. And this has no price.
As a proof, see this (both screenshots were taken after a fresh boot):
Extreme script:
https://imgur.com/2O47su8
19 system apps running, for a total of of 31 services running. I'm not counting Google Play services as the number of services running keep changing.
No script:
https://imgur.com/E5cEr7P
36 apps running, for a total of 60 services running! I find the difference quite huge.
What does it do?
The point is to be very very basic. Obviously I don't intend to to share something as powerful and exhaustive as xXx. My objective is to only focus on bloatwares, not features.
Also, I wanted to make a script simple enough so anybody can use it, understand it and modify it depending on your needs.
I think I can call myself a flasholoic, as I flash ROMs quite often, even when I'm happy with the current one. There are many time consuming and boring tasks when it comes to clean flash a new ROM. However, for most of them, there's a solution. For example, Titanium Backup, to mention just one.
With this script, you'll be able to skip the very boring process of removing/freezing all the system apps you don't use.
You can use this script with no worries whenever you flash your new ROM.
Why don't i Freeze apps instead of removing them?
Ideally, I would prefer to only freeze apps so the setup can stick after an update or a dirty flash, however, I don't know how to do it from recovery. Freezing works with the command from package manager "pm disable {package_name}", however, it's only available when the phone is running.
What version should I install?
-Invisible script: Install it, enjoy. I basically removed only apps related to telemetry or that don't have any function. You should still have all the apps you're using and all the features you like.
-Light Script: Invisible + apps that I consider rarely use (because they're useless or because alternatives are much popular). It should fit to 80% people without any change to make.
-Extreme script: Invisible + light + a few Google Apps (most of them can be reinstalled) and features that are not absolutely necessary but useful for some people, like face unlock for example. I wouldn't recommend it to anyone who hasn't check the .txt file first. The light script is almost as good anyway.
How to Install?
Simply reboot to TWRP, flash the zip, reboot and enjoy.
If this doesn't work, you can try three different things:
-Try to use blu spark Recovery instead of other ones.
-Try to mount system in recovery before flashing my .zip.
-Try to install Magisk and this module: https://github.com/Magisk-Modules-Repo/busybox-ndk
-Try to install the script on both slots
At least one of these options should fix things for you.
Known incompatibilities
-If the script doesn't do anything, check installing instructions.
-If an app keeps force closing when you try to open it (for example the Google app, gmail, amazon, etc.), it's because you don't have any webview selected. You can select one in the developer settings and if you don't have any you can install one from the play store (Android System Webview).
-If some apps are remaining, it's because it's system apps you updated and they became user apps. You can just uninstall them like any other user apps and it will completely disappear.
-If an app that is included in the script freezes, but it's also available in the playstore, uninstall it with Titanium Backup, reboot and reinstall the app from play store.
-If you're using substratum, you must edit my script and remove this line: "/system/system/app/OpSkin",
-If your bank app doesn't work, you can try to add back Stk (sim toolkit), as the app helps for authentication.
-In general, search this thread if you want more details / understand why.
F.A.Q.
-I don't want to use this debloater anymore or it broke something I miss, how can I go back to normal?
=> Dirty flash your current setup (ROM, twrp, reboot to twrp, magisk, kernel, anything else you want)
-Does this script work for X or Y ROM? Can you make a debloater for X or Y ROM?
=> If you understand how my tool work, then you will understand that my scripts can potentially work on any ROMs, but each ROM has its specific apps so some bloatware won't be removed, most likely. I won't support any new ROM except if I end up trying it myself. I prefer to avoid to create new scripts blindly especially if I've never experienced the ROM.
-I flashed your deblaoter and now some apps keep force closing
=> "If an app keeps force closing when you try to open it (for example the Google app, gmail, amazon, etc.), it's because you don't have any webview selected. You can select one in the developer settings and if you don't have any you can install one from the play store (Android System Webview)."
Where can I get more info?
Check the .txt file in the download section. It lists all the apps included in the different scripts AND all the apps not included (so you can see what apps you want to potentially add, it's much easier to work like that)
How are the apps sorted in the .txt file?
-First, by categories (each category starting with #) (invisible, light, extreme, etc.)
-Then, they're sorted by their type (reserve / app / priv-app / other)
-Then, simply by alphabetic order.
-At the end of the document file, there are some explanations about some apps that can sound... mysterious about whether it's safe or not to delete them.
How to edit the script and make it work? (TUTORIAL)
Prerequisites
-Root (ideal but not mandatory)
-File manager (ideal but not mandatory, I recommend Amaze https://play.google.com/store/apps/details?id=com.amaze.filemanager&hl=en_AU )
-TWRP
Then you have two alternatives
a) Use your computer (Windows): you will need Zip Builder https://forum.xda-developers.com/an...g/tool-zip-builder-v4-2-1-build-sign-t3739556
b) Use your phone: then you will need MiXplorer ( https://forum.xda-developers.com/showthread.php?t=1523691 )
Steps to follow
1) Download my script.
2) Unzip it. Browse to META-INF\com\google\android and open "updater-script" in a notepad. (I'd recommend you notepad++ ( https://notepad-plus-plus.org/download/ )
3) Add some apps you want to delete, or remove the apps you want to keep. To see what apps are on your device, use a file manager that can use root and check the apps you have in /system/app and system/priv-app. The priv-app are usually more sensitive so be cautious with them.
4) Don't forget that on every line, you need a comma at the end, except for the last app of the list.
5) You don't need to touch any other lines, except if you want to have fun and change what TWRP will display: it's the lines with
Code:
ui_print("")
6) Save your file.
7) a) Windows alternative. Follow instructions to install properly Zip Builder. Then shift + right click on the parent folder of the META-INF folder and click on "Build Zip...". If Zip Builder is set up properly, you will see the option I just mentioned. You can also open the program and browse to the parent folder where META-INF is.
Copy the .zip to your phone and you're good to go!
7) b) Android alternative: Install MiXplorer. Long press on the META-INF folder. Confirm the creation of the archive, pick the name you want and make sure that "store" is selected, below "zip". Then select the newly created zip, and click on the "Sign" option. Choose Testkey. It will create yourzip-signed.zip. That's the file you need to flash in TWRP.
8) Flash in TWRP
Let me know if you need any help or if something is not clear to you.
Downloads, risks, credits, Information
Where to download?
Check the attachments!
What are the risks, or why is it actually pretty safe to use it?
1) If you use my scripts, as I've tried all builds, I can assure you in the worst scenario you will loose a few features you might have wanted to keep.
2) If you try to make your own script:
a) You misspell a system folder: (it's case sensitive, careful): well the script will just ignore it and try to remove a folder which doesn't exist, so no consequence at all, just a useless line in your script.
b) you mess up with how you're meant to write the script: for example, you forget a comma or you leave it on the line of the last app you want to delete. Well, no worries, TWRP will just not flash the script so nothing happens. Just check your code to find the mistake.
c) Your script is fine but delete a core app that the system needs. Again, no worries! You will bootloop. In this case, you need to dirty flash your current setup (for example, flash OOS, flash TWRP, reboot to recovery, flash Magisk, flash your favorite kernel, reboot). Then you can try to find the culprit in your code, remove it, and try again your script.
Just in case, you know the XDA saying: "flash at your own risk!"
Credits!
First of all, I'd like to credit @Primokorn for his tutorial which helped me a lot. Basically everything in my script I owe him. I've just made it even more simple and focused on only debloating. Also, and obviously, it's adapted for our OnePlus 6. Right now, it's optimized for OOS 9.0.3, but depending on how the project evolves and how popular it will get, I could make "special editions" for open betas as well as AOSP ROMs.
I would also like to thank @TKruzze for his amazing tool "Zip Builder", which makes me save a lot of time everytime I want to try / build a new script.
Thanks to @Zios01 for inspiring me about "optimizing" OOS.
Information
"Tomatot- Debloater"
Contributors
@Tomatot-
Source Code: everything is in the zip.
Created 2018-11-20
Last Updated 2019-12-23
Changelog
Tomatot Debloater 4.1 for OOS
-REMOVED FROM THE SCRIPT:
Light:
TeleService (necessary for some operators)
Extreme:
SdCardService (necessary for file managers)
ModuleMetadataGooglePrebuilt (necesary for permissions)
Tomatot Debloater 4.0 for OOS
REMOVED/CHANGED :
- All folders (and there are lots of them) that don't exist anymore (usually they got moved to another path)
ADDED
- "/data/india/india.img"; (let me know if it works)
- A few new apps that are most likely useless.
Previous updates:
Tomatot Debloater 3.3
-All apps in /reserve are now deleted in the invisible script. If new apps are added by OP, they'll be automatically deleted as I added the whole folder (you can check the script to understand). Thanks to @nirogu325 for the idea!
-Moved DiracManager to the light script since some people like using it.
-Added OPWidget, it seems to be a new app added by OP
-Added OPWallpaperResources to the extreme script as I'm not sure what it does
-Removed OPSimContacts since it breaks the OP phone app.
Tomatot Debloater 3.2
-Added amazon apps hidden in /vendor/etc/apps
-Removed Rftoolkit on the Omni script
Thanks to @bojiokia and @nirogu325 for pointing me out they existed and that they were on all devices.
Tomatot Debloater 3.1.1
Thanks to @nirogu325 for his help to figure out how to mount /vendor and how to remove Rftoolkit properly
Removed also a folder that doesn't exist (LiveWallpapers)
Tomatot Debloater 3.1
I have decided to only use " run_program("/sbin/mount", "/system"); " to mount system from now on. It seems to be the most reliable / universal way to do so.
The Omni update has no change except I switched to the new mounting way.
### New entries for Invisible Script
OPCommonLogTool
Traceur
Rftoolkit
### New entries for Light Script
ARCore_stub
CarrierDefaultApp
CtsShimPrebuilt
CtsShimPrivPrebuilt
### New entries for Extreme Script
LiveWallpapersPicker
LiveWallpapers
OPSafe
SdCardService
uimremoteclient
WAPPushManager
DocumentsUI
IFAAService
OnePlusGallery
VpnDialogs
Tomatot Debloater 3.0
-All main scripts that are up to date are now 3.0 for a purpose of clarity.
-Except the LiquidRemix script, no apps have been added/removed from the scripts.
-Omni/Liquid/Skydragon have a similar level of debloating.
-Since a lot of users reported issues of the script not working, I figured out it was because for some reasons some recoveries don't execute busybox commands properly. I switched to edify commands. The main benefit is that it should work for everyone 100% of the time. The disadvantage is that it won't work for other devices. It might be the same path for the 6T but I need people to check. For other devices it won't work 100%. What you can try however, is to mount system before flashing. It should make the script work.
OOS 2.5.2
-Removed DeskClock as it's the clock app that a lot of people need. I thought it was the widget, my bad.
OOS 2.5.1
-Removed WebViewStub from all scripts since it may affect the webview selecting setting.
OOS 2.5
-Added BluetoothMidiService to the extreme script because 99% people won't use it (check Google to check what it is)
-Added ProxyHandler for the same reason
-Added ManagedProvisioning for the same reason, in the light script. ( Work Profile Setup apk. It's useless for most people. Obviously don't delete it if your company gave you this phone, but then you shouldn't flash it in the first place! )
OOS 2.4
-Removed a few useless lines in the script.
-Cleaned up the .txt file, now all packages explained are sorted alphabetically.
-Moved CNEService to the extreme script as it breaks wifi calls.
-Moved HotwordEnrollmentXGoogleWCD9340 to the extreme script as it might break OK Google.
-Moved WebViewStub to the invisible script
-Added YouTube to the light script as it doesn't break YT Vanced.
-Added Chrome to the extreme script. Don't forget to have a working/activated webview!
OOS 2.3
HotwordEnrollmentXGoogleWCD9340 : moved to extreme as it breaks ok google
EmergencyInfo : moved to extreme as it could break double press power button to open camera
datastatusnotification : moved to extreme as it allows the system to cap data.
Added DeskClock to the light script
Added WebViewStub to the light script
OOS 2.2.1 / custom 1.2
-Unified numbers for all OOS sripts / all custom ROMs scripts so it's just easier to follow / maintain.
-OOS: moved OPBackup to the extreme script as it breaks system updates. It doesn't matter since if you have Magisk and TWRP you can't update via OTA but some people like having all settings working so... Now with the light script you shouldn't have any "broken" feature.
-Custom: removed DocumentsUI so it's possible to access external storage.
v2.2
-Removed Chrome from the script as it can break webview. There is not reliable fix as Android system struggles to properly select "Android System Webview". Feel free to freeze or uninstall Chrome as long as you update android system webview and make sure it's selected in developer settings.
-Put back Gmail2 in the script as now installing it as a user app shouldn't break the app anymore.
-Now the script should be completely bug free.
-if you had issues with gmail, dirty flash your current setup first.
v2.1
-Fixed a broken setting on ALL scripts, see this for more info: https://forum.xda-developers.com/showpost.php?p=78287566&postcount=103
-Added setup apps to the light script as I intended in the first place
-If you come from an older script, you should dirty flash your current setup again because otherwise the broken setting won't come back. Sorry for the mistake.
v2.0.2
-Fixed OPFilemanager on light and extreme scripts.
v2.0.1
-Fixed a few mistakes I wrote, extreme script will work now.
v2.0
-Completely resorted the apps so it makes more sense. I have a little more hindsight and for most apps I actually know what they do and if it's dangerous to remove them or not. Hence, the extreme script hasn't changed but the light is significantly different. It will remove more useless apps but not remove apps that most users use. A bit smarter I'd say.
-And I would like to introduce you the invisible script, the ones who really can't deal with making sure the script works for them, they just want to make their phone lighter. Easy peasy, hassle free.
-To see how I resorted apps, please check "List of systems apps SORTED & EXPLAINED v2.0.txt" or just have a look at the end of this post.
v1.8.1
-Removed Rftoolkit as it's a vendor app and I can't make it disappear for some reasons. I'd recommend you to freeze the app.
-Removed "datastatusnotification" as it's necessary to keep track on data usage.
v1.8
-Only the extreme script is updated
-Added a few more apps, including OPSes which sens telemetry I think. I couldn't find anything explaining exactly what it does but I've been running my script for some time now and 0 issue.
-Here is the list:
Code:
"/system/system/app/OPSesAuthentication",
"/system/system/app/SeempService",
"/system/vendor/app/Rftoolkit",
-Yes, changelogs are shorter and shorter
-However, 92 apps included now!
v1.7.2
-Added Music2 to both scripts.
v1.7.1
-Removed from the script OPAppCategoryProvider as it was breaking battery stats.
v1.7
-Only uploaded the extreme version as it's experimental and the light version would be the same
-I'm trying a few more apps that seem useles, but I need more feedback. Some telemetry from Qualcomm should be gone as well.
-Here are the new apps
Code:
"/system/system/priv-app/OnePlusWizard",
"/system/system/app/AutoRegistration",
"/system/system/app/datastatusnotification",
"/system/system/app/PlayAutoInstallConfig",
"/system/system/app/RFTuner",
"/system/system/priv-app/OPAppCategoryProvider",
v1.6
-Added more apps in both scripts
-Now the light script includes this category " #APPS THAT CAN BE FOUND ON PLAY STORE" as you can reinstall them very easily (and you won't even loose them if you updated them once).
-Expect more privacy as I've deleted more telemetry from both OP and Qualcomm.
-Documentation updated
-Here is the list
Code:
"/system/system/app/GoogleContactsSyncAdapter",
"/system/system/app/OpSkin",
"/system/system/app/HTMLViewer",
"/system/system/app/uimremoteclient",
"/system/system/priv-app/CallLogBackup",
"/system/system/priv-app/CNEService",
"/system/system/priv-app/OPAod",
"/system/system/priv-app/SharedStorageBackup",
v1.5
-Fixed a few entries as they were not written properly. So some apps that were already included will actually be removed this time. Thanks to @zyvex_14 for his help and support.
-I've added these apps that can be safely removed.
Code:
"/system/system/app/Account",
"/system/system/app/QdcmFF",
"/system/system/app/WapiCertManage",
"/system/system/priv-app/DiracAudioControlService",
"/system/system/priv-app/OPCellBroadcastReceiver",
-As always, I've updated the advanced documentation.
-You can now download a .txt file with all the documentation: all system apps are sorted and the shady ones are explained.
Now, Tomatot Debloater Extreme v1.5 removes 72 apps and your device still runs perfectly, if not better
Tomatot Debloater Light v1.5 42 apps and you basically don't loose any feature
v1.4
-Quite satisfying build: I feel like the script is almost final.
-Here are the new lines I added, to the different versions.
"/system/system/app/OPBackup",
Code:
"/system/system/priv-app/BackupRestoreConfirmation",
"/system/system/priv-app/Tag",
"/system/system/priv-app/OPFaceUnlock",
"/system/system/priv-app/EmergencyInfo",
"/system/system/priv-app/Turbo",
v1.3
I forgot to update the scripts when they're flashed so TWRP will display "v1.2 when it's actually v1.3, so no worries
-Merged with xXx all the apps where I was sure they could be removed without risks. Still some apps I need to sort out.
-Now I have 2 scripts
LIGHT = SAFE TO DELETE FOR ALMOST EVERYONE + APPS THAT CAN BE FOUND ON PLAY STORE (they will just become user apps if you updated them at least once)
EXTREME= SAFE TO DELETE FOR ALMOST EVERYONE + APPS THAT CAN BE FOUND ON PLAY STORE + SAFE TO DELETE IF YOU USE ALTERNATIVE APPS OR JUST DON'T NEED THE APP + EXPERIMENTAL STUFF SOMETIMES
To see their content, check advanced documentation.
v1.2
-Added OP user apps (that you can uninstall without root when to flash a new ROM). I didn't think of them at first because they're easy to remove and once you do, they don't come back after you reinstall the ROM. However, with the script, they will leave the system partition for good, which is cleaner. And it will be useful for people who didn't delete them already.
-Removed "usb_drivers.iso." it's what makes the windows explorer show the OP6 as a CDROM when you plug it to your computer. So you can have access to drivers. It's pretty useless except for the first time you plug your phone to your computer. And still, there are plenty other ways to install drivers.
-I've updated the list of the apps in the first post.
v1.1
-Fixed the "card" app.
v1
-Initial release
Works like a charm for me, many thanks.
I just had to edit your file for the "card" app, + few others lines I deleted to keep some apps I use, such as 'Duo'.
In your file, it is written "Card", but my app was named 'card' and apparently the C in capital letter makes it not work (for this app specifically).
zyvex_14 said:
Works like a charm for me, many thanks.
I just had to edit your file for the "card" app, + few others lines I deleted to keep some apps I use, such as 'Duo'.
In your file, it is written "Card", but my app was named 'card' and apparently the C in capital letter makes it not work (for this app specifically).
Click to expand...
Click to collapse
Wow, you're already a pro! Well done mate. I don't know if it was your experience with editing a script but if it is, I'm glad my my guide makes sense and that some users already benefit from it. And thank you for pointing out my mistake.
I'm uploading a 1.1 update with the fix.
Don't forget to flash again your script if you update your ROM.
First time I manipulated and edited this kind of file, so many thanks for your tuto, very helpful in my case.
Just one additionnal question, is there somewhere a list of all bloatwares that can be safely removed? Or is your list exhaustive for our OP6?
zyvex_14 said:
First time I manipulated and edited this kind of file, so many thanks for your tuto, very helpful in my case.
Just one additionnal question, is there somewhere a list of all bloatwares that can be safely removed? Or is your list exhaustive for our OP6?
Click to expand...
Click to collapse
Humm usually on different when you search for it on Google, you find threads that explain what services to disable, but 99% of the time they're also device specific.
I've never found a universal list with all the bloatware common to all Android phones. If you have a doubt about an app in particular, google it and you'll have your answer. However, what I've found out trying different scripts is that there are some apps i can freeze without any consequences, whereas if I try to delete them with my script, the phone will end up in a bootloop.
Unfortunately, this project is very recent for me and I didn't do any exhaustive testing so I don't know exactly what apps were breaking my script.
Ideally, i'd have to create another script that bring back the apps I remove so I can try one by one and see which apps are safe to remove. Because right now, everytime, flashing back OOS, rebooting to make sure it works, then going back, flashing my script, checking again, etc. it takes a lot of time so it will take some time before I can be more accurate.
At least right now I have a good base of what apps I'm sure I can remove.
Now when I'll have enough time I could try one by one to delete apps and see how it goes. I just to find a way to not have to reflash the whole system every time.
If anyone has a suggestion he's welcome!
I'd say that @Zios01 knows a lot about the topic since he probably tried himself what apps are safe to debloat.
You can read his script as well to see what apps he removes and you can assume it's safe to add them to my script.
I perfectly understand that you can't try one-by-one all of them, it gonna turn you crazy otherwise to flash-reboot-check and so on...
As you wrote, this is a good start and a good base, let's see also if someone has more experience with the others apps/bloatwares.
Anyway, thanks again for your answers and contact provided, I will try to find his script as well.
zyvex_14 said:
I perfectly understand that you can't try one-by-one all of them, it gonna turn you crazy otherwise to flash-reboot-check and so on...
As you wrote, this is a good start and a good base, let's see also if someone has more experience with the others apps/bloatwares.
Anyway, thanks again for your answers and contact provided, I will try to find his script as well.
Click to expand...
Click to collapse
Here it is.
I had to add the .txt extension to upload it. Also, I changed the name so it won't work. It's just for "science".
You will see he doesn't use the same "language" at all, and it's way more complicated than my script. However, it's not hard to spot the apps he's referring to.
Btw, as I already said, the good thing with this script is that it will ignore errors. So if you add a line to your current script, you can flash it and it will just remove the one app you added. You don't have to make an entire new file for your v2.
OK, so I added several lines based on XxX script.
I did a reboot and no bootloop, that is already a good point .
Now I am going to test my phone and if everything works ok and still flawless, I will share my file.
zyvex_14 said:
OK, so I added several lines based on XxX script.
I did a reboot and no bootloop, that is already a good point .
Now I am going to test my phone and if everything works ok and still flawless, I will share my file.
Click to expand...
Click to collapse
When I did my little experiments and I was deleting the wrong files, it was just not booting, stucking on OnePlus logo. Just once it booted, but shut down immediately and took me to recovery.
So you should be fine. But yeah maybe only after a week or something we'll find out that a tiny but sometimes useful feature doesn't work.
Thanks for your work! I would suggest using Magisk if possible as the changes aren't permanent. Except if you want to achieve that it's permanent
Tomatot- said:
When I did my little experiments and I was deleting the wrong files, it was just not booting, stucking on OnePlus logo. Just once it booted, but shut down immediately and took me to recovery.
So you should be fine. But yeah maybe only after a week or something we'll find out that a tiny but sometimes useful feature doesn't work.
Click to expand...
Click to collapse
Indded, that is what I worry about, that everything looks fine and finally after some days (maybe earlier :crying something doesn't work like it should be.
That is why I would like to test prior sharing my file.
Macusercom said:
Thanks for your work! I would suggest using Magisk if possible as the changes aren't permanent. Except if you want to achieve that it's permanent
Click to expand...
Click to collapse
It does sound like a good idea! I will investigate this possibility and let you know. I'm not sure I have enough knowledge and experience.
https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163
So I've found this Magisk Module which seems quite impressive tbh. It seems quite easy to use and safe as well. It's honestly way more advanced than my script.
But at the same time, I feel like it doesn't do much more than a classic freeze with Titanium Backup.
You still have to go every time you install a ROM through all the apps you want to remove. You could write down numbers but it's risky, if you change ROM or even you update your ROM and numbers change, it could mess up everything. So I still think my solution had advantages compared to this Magisk Module.
However, I might use the module to see what apps break the device or not. Then I can improve my script a little. I will also think about making a Magisk Module out of it, but I'm not sure it will make things much better.
My ultimate goal is just to "flash it and forget about it until you flash a new ROM/update". So it wouldn't matter if you can remove it or not.
There are 2 possibilities when using my idea:
1) I (I isn't me, I speak for users in general) am happy with the script, I don't loose any features. So I don't need to touch it. Flashing it once in TWRP isn't a burden at all. Especially since it takes like 2 seconds to flash. Then it's the best solution since, once you have your script you like, you can always keep it.
2) I am happy with the script but I want a few apps back. Sure, having a Magisk module could make things easier as I could just remove the module (considering it has a restore feature), but I would need to edit the module or the script, and then apply it again. It one of the apps break the system and makes the device bootloop, even with a Magisk module, it will be hassle to fix it. It's just more simple to flash the ROM again like I'm doing now.
Now you need to ask yourself this:
1) Do you prefer to have more features at the cost of spending some time setting up your device every time you flash a ROM? Then use Titanium Backup or Terminal Debloater.
2) Do you prefer to take some time once to setup your script properly but then you won't have to care about it for, theoretically, until you get a new device? Then go with my script.
If my script gets some attention, I'm pretty sure within a few weeks I / we will be able to propose enough scripts to make (almost) everybody happy.
Like script 1 extreme debloating
Script 2 medium debloating
Script 3 light debloating
So 99% users are satisfied, and then the pickiest ones can always make their own script since it's very easy to edit my script.
Am I making a point?
What's with the .iso file and /system/reserve?
Tomatot- said:
https://forum.xda-developers.com/apps/magisk/module-terminal-debloater-debloat-t3584163
If my script gets some attention, I'm pretty sure within a few weeks I / we will be able to propose enough scripts to make (almost) everybody happy.
Like script 1 extreme debloating
Script 2 medium debloating
Script 3 light debloating
I think this will be a great way to debloat to each individual preference. Will be watching this thread for these updates:good:
Click to expand...
Click to collapse
Sh0X31 said:
What's with the .iso file and /system/reserve?
Click to expand...
Click to collapse
I didn't know about /system/reserve, thankj you for sharing. From what I understand, it's the apps that come pre installed but are removable. It seems like once you delete them they don't come.baxk after a dirty flash. However I can remove them so the script is useful after a clean flash. Thanks!
What are you referring to with the .iso though?
Tomatot- said:
I didn't know about /system/reserve, thankj you for sharing. From what I understand, it's the apps that come pre installed but are removable. It seems like once you delete them they don't come.baxk after a dirty flash. However I can remove them so the script is useful after a clean flash. Thanks!
What are you referring to with the .iso though?
Click to expand...
Click to collapse
I mean the usb_driver.iso
Sh0X31 said:
I mean the usb_driver.iso
Click to expand...
Click to collapse
What about it?
Sh0X31 said:
I mean the usb_driver.iso
Click to expand...
Click to collapse
Not sure what it is, but xXx has it available for debloat on his room as well

Categories

Resources