[SCRIPT] Nougat DEBLOAT Script - Galaxy S6 Android Development

Samsung Nougat DEBLOAT script
Hello everyone,
Galaxy S6 comes with much more bloatware than most other phones, it has apps preinstalled that some of us probably will never use.
Some of those apps may even run at boot and consume RAM and CPU. For this purpose I made a small very effective script and that will remove huge amount of applications. This script works on de-odexed and odexed ROMs and you can use it even for Marshmallow ROMs, so this is ALL-IN-ONE solution.
I created the script when Nougat came out and I use it all the time without any problems.
* You can easily edit script and add character ' # ' to exclude certain APP from deleting *
REMOVED STUFF:
https://docs.google.com/document/d/1UQ5RqlQSDXi9AZkKWhCdv21bTWNyDrx4Sf1jsbox-Nk/edit?usp=sharing

Wow I was looking for something like this... cant wait to try on different roms!!!!

No problems with VoLte when I install??

jackherer72 said:
No problems with VoLte when I install??
Click to expand...
Click to collapse
For me no problem.

Thanks. I'm going back to stock rom and try it out:good:
---------- Post added at 09:26 AM ---------- Previous post was at 09:00 AM ----------
Windforce0511 said:
For me no problem.
Click to expand...
Click to collapse
Can it also be used on note5 port rom? I'm on NNE2.1

jackherer72 said:
Thanks. I'm going back to stock rom and try it out:good:
---------- Post added at 09:26 AM ---------- Previous post was at 09:00 AM ----------
Can it also be used on note5 port rom? I'm on NNE2.1
Click to expand...
Click to collapse
Yes, you can also use it on Note 5 Port ROM!

Sir i have flashed this zip..again wanted to instal gmail..but cant..plz help..thx

Deleted

How do i install the script?

Worked perfectly :good:

what is the best way to flash this script. after clean install?

jackherer72 said:
what is the best way to flash this script. after clean install?
Click to expand...
Click to collapse
Doesn't really matter. I did it well after o setup my Rom and still face no issues

bootlop with a fresh 7.0 rom
one of the latest

bootloop

You may want to keep YouTube. If you delete it then Google Play will crash if you click on a video. Still not a problem because you can always install it back from the market.
I strongly suggest that you keep one of the two browsers. Android must have at least one browser to function properly. Google Play also needs one browser. So either keep the samsung browser or chrome. Don't delete both at the same time.
If the device already upgraded chrome then your script will only delete the "rom" version of it, so everything will be ok and still working fine because the newer version resides in "ram". On a new/clean device, that will boot a rom for the very first time, and/or google play is not yet registered, deleting both browsers might cause problems.
Some programs are there to run only once at the very first boot, just to populate the file system with the default config values and data files/folders needed for the device to function. If a device had its first (long 5-10 minute) boot then deleting those is fine, always assuming you will not run a factory reset at some point in the future.
Other programs are there and run only if you dial specific codes at the dialer. The camera upgrade firmware or the wlan test for example. They don't run if they are not needed. A lot of debloat guides suggest that you remove those but i don't see a reason why.
You can always create some ScriptBackup/{app,priv-app} folders and move the bloatware apks there instead of deleting them. I would like to be able to bring back the QuickConnect and Gear apks back because i have a gear watch and a samsung tv for example.

AeonXDA said:
You may want to keep YouTube. If you delete it then Google Play will crash if you click on a video. Still not a problem because you can always install it back from the market.
I strongly suggest that you keep one of the two browsers. Android must have at least one browser to function properly. Google Play also needs one browser. So either keep the samsung browser or chrome. Don't delete both at the same time.
If the device already upgraded chrome then your script will only delete the "rom" version of it, so everything will be ok and still working fine because the newer version resides in "ram". On a new/clean device, that will boot a rom for the very first time, and/or google play is not yet registered, deleting both browsers might cause problems.
Some programs are there to run only once at the very first boot, just to populate the file system with the default config values and data files/folders needed for the device to function. If a device had its first (long 5-10 minute) boot then deleting those is fine, always assuming you will not run a factory reset at some point in the future.
Other programs are there and run only if you dial specific codes at the dialer. The camera upgrade firmware or the wlan test for example. They don't run if they are not needed. A lot of debloat guides suggest that you remove those but i don't see a reason why.
You can always create some ScriptBackup/{app,priv-app} folders and move the bloatware apks there instead of deleting them. I would like to be able to bring back the QuickConnect and Gear apks back because i have a gear watch and a samsung tv for example.
Click to expand...
Click to collapse
Just edit the script to not delete those things.. even states how to do it in the O.P.

Bootloop on latest 7.0 - To see if one of the apps being removed is causing the bootloop I commented out all but a couple of apps (the Microsoft stubs) and tried that on a fresh install, but it still causes a bootloop.

I had the same problem... just look for this: Orel_MadK_Extreme_Debloater_V5_Final worked on my SM-G928F fresg Nougat install IMPORTANT: Dont tick one app for yourself...just leave it standard.

Works perfectly, even added all google apps so device runs better

Can we get this as a Aroma installer ?

Related

[FIX] Laggy browser with deodexed XXKG1, using odexed browser.apk and framework files

I made this for my own use, after getting annoyed with laggy browser using XXKG1. I like the stock browser, and wanted to "fix" it.
Thanks LeoMar75, I used your odexed files
Flash via CWM.
http://www.multiupload.com/ZNCSCHO5F1
Enjoy!
~Rawat
NOTE: this will NOT work if you use a mod that has made changes to some of your framework files. e.g. madmack.
As always, do a nandroid before flashing.
Reserving this.
Is this basically just an odexed browser? What other files does it touch?
Sent from my GT-I9100 using XDA Premium App
Odexed browser and framework files. Apart from that, it wipes cache. That's it.
So this will overwrite anything that touches the framework like battery mods?
It's a shame there isn't an easier way to do mods than buggering around with the apk's
Thanks for the info!
Sent from my GT-I9100 using XDA Premium App
You can actually open up the zip, and delete framework-res.apk from the framework folder, and then apply it, and your battery mod will stay
And will it still work? This is on a deodexed rom.
Sent from my GT-I9100 using XDA Premium App
Tried it with lite pro rom v2.2 and it got stuck on first boot logo.. Fortunately i did a nandroid backup first :/
I'm playing around with this as we speak.
VR 2.0 LITE.
So .. first problem I encountered: browser always crashed when I start it up BUT it does work with some kinks. Witch I think I can solve.
So how does it work? Well I am a arstechnica reader. In pulse rss reader (if not a subscriber to ars) you get a few lines from the artikel with a button to read the rest of the artikel in the browser. If you press it, you stay in Pulse reader but the engine of the browser is used to display the artikel at it's correct url.
The engine (with all it's hw-acc glory) works. As in: I can browse the page on ars, the comments, even with video's no problem. No laggy **** what so ever.
But ... the frameworks screws **** up a bit. (I think ) So I tried flashing back my old frameworks ... but it didn't work I screwed up my phone
So as we speak I'm reflashing vr2.0 lite.
So what I'll be trying is flashing JUST the browser part (without the frameworks). Lets see if that helps.
Which files does the browser need to work btw? As in: what files should I keep from frameworks? Or is it possible to just delete the whole frameworks folder?
I don't know what happened here! I took my risk and tried to flash it on cognition rom...I delete first framework apk and when I flashed I got an error E: bla bla bla message..I reboot and....no lag at the browser? I don't get it really I don't! Thanks anyway!
Sent from Galaxy!
veyka said:
And will it still work? This is on a deodexed rom.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Yes. Do a nandroid before hand to be sure
@people having problems with FCs. Not sure why you'd be having that problem, I didn't have any ._.
I'd suggest wiping dalvik and cache and updating if you still get FCs.
many issues with android can be related to caching mechanism...
My script *should* be wiping it anyway.
For myself, I did it manually.
Hey Rawat, I have always been under the impression that mixing odex and dex was not a good idea and has caused problems before when I was working on sgs roms.
Care to give any insight as to how this is not breaking everything? Very curious as I really don't want to load my rom with dolphin browser.
tonysac said:
I don't know what happened here! I took my risk and tried to flash it on cognition rom...I delete first framework apk and when I flashed I got an error E: bla bla bla message..I reboot and....no lag at the browser? I don't get it really I don't! Thanks
Click to expand...
Click to collapse
Confirmed, this works on Cognition 1.13!
designgears said:
Hey Rawat, I have always been under the impression that mixing odex and dex was not a good idea and has caused problems before when I was working on sgs roms.
Care to give any insight as to how this is not breaking everything? Very curious as I really don't want to load my rom with dolphin browser.
Click to expand...
Click to collapse
From http://www.netmite.com/android/mydroid/dalvik/docs/dexopt.html:
There are at least three different ways to create a "prepared" DEX file, sometimes known as "ODEX" (for Optimized DEX):
The VM does it "just in time". The output goes into a special dalvik-cache directory. This works on the desktop and engineering-only device builds where the permissions on the dalvik-cache directory are not restricted. On production devices, this is not allowed.
Click to expand...
Click to collapse
So, if I understand correctly the odexed file is optimized, but you don't _need_ to have it as the OS will take care of it with some added CPU cycles (which we have enough to go around ) and swap it out to cache. But having the pre-odexed code would do no harm - as I take it - as it is preferred in terms of CPU time, but not necessary. By deodexing firmware you're not taking the odex interpreting code out, just taking out the odex itself. Please correct any ignorance in my thoughts, but I don't really see why you couldn't mix and match.
Am I making any sense at this hour with my medication?
on VR2.0, flashed via CWM and it does not say its done? it just reboots itself to ROM.. the app is there, but FCs after a few sec.. tried deleting framework res, clear cache and dalvik too.. if any VR2.0 user managed to use it flawless, do share how did u managed to
Hmm, taking out the framework apk didn't allow the browser to work unfortunately.. Android loads fine, but the browser force closes as soon as I attempt to scroll a webpage.. Looks like this will only work with an unmodded framework apk like you mentioned.
Sent from my SGS2
So i have been toying around with getting this to work on VR2.0 lite ... but as my earlier post (#9) said .. something is screwing the browser app up.
The engine runs pretty sweet. In multiple apps that use the browser engine to display content on the web everything works fine.
But the browser fc every time I scroll a page.
I read in some post that mixing odex & deodex stuff in the rom is not appreciated by the os. So it could be just a known thing I'm diving into. (I need a second phone to start experimenting since I really don't want to brik my phone)
So .. until I have time and the patience to actually learn how this works under the hood .. I have bad news

[ROOT[ root for Omni ROM

Hey guys!
I have been using Omni ROM for a while. And yes, its a pretty stable KitKat ROM! Almost everything works fine without any issue. But the thing that bugged me was root. There wasn't root permission in the the ROM. So no link2sd and no other script works for expanding storage.
So basically, the only major problem in the ROM was ROOT.
So I worked it out and present before you an easy method.
Prerequisites:
Omni ROM
Root flashable zip
Method:
Download the required packages
Install Omni ROM (Refer installation from this)
Reboot
Now go back to recovery and flash root.zip
Reboot
Enjoy
NOTE:
You need to have atleast 3mb in /system
This zip is only for ARM based devices and won't work with x86 based devices
P.S. Personally this is the best ROM to use as daily driver
rhar**** said:
Hey guys!
I have been using Omni ROM for a while. And yes, its a pretty stable KitKat ROM! Almost everything works fine without any issue. But the thing that bugged me was root. There wasn't root permission in the the ROM. So no link2sd and no other script works for expanding storage.
So basically, the only major problem in the ROM was ROOT.
So I worked it out and present before you an easy method.
P.S. Personally this is the best ROM to use as daily driver
Click to expand...
Click to collapse
Congrats! Downloading and will give a try
Looks very much like a normal superuser or superSU install.
Very good that will work on other devices as well. I mean, ours would not have all the google apps on system. No room for one of them
The su binary is much smaller than cm-11's.
Comment, should probably go on xbin, be symlinked to bin.
Normally, superuser.apk is installed as a user app and would be updated as such from play. But may try it this way!
Great work.
Dovidhalevi said:
Looks very much like a normal superuser or superSU install.
Very good that will work on other devices as well. I mean, ours would not have all the google apps on system. No room for one of them
The su binary is much smaller than cm-11's.
Comment, should probably go on xbin, be symlinked to bin.
Normally, superuser.apk is installed as a user app and would be updated as such from play. But may try it this way!
Great work.
Click to expand...
Click to collapse
We can have Google apps on our phone as well. I have managed to do so, at least the important ones.
Gonna upload that too soon
rhar**** said:
We can have Google apps on our phone as well. I have managed to do so, at least the important ones.
Gonna upload that too soon
Click to expand...
Click to collapse
They should NOT be on system/app, especially on our phones. Install from Play as user apps, let link2sd symlink them.
Anyway, flash worked like a charm! Neatly got rid of CWM's superuser, installed superSU which I will leave as a system app for now.
Note that it behaves like what I tried, spawns multiple instances of su and daemonsu (should daemonsu be symlinked to su--why have two copies?).
Link2sd played immediately. Tasker took some time. Xposed almost did not make it. Finally, after a blank screen freeze, reboot, a few attempts, got the dialog! Talking a good ten minutes or aggrivation. What is unique about how this asks for root?
Dovidhalevi said:
They should NOT be on system/app, especially on our phones. Install from Play as user apps, let link2sd symlink them.
Anyway, flash worked like a charm! Neatly got rid of CWM's superuser, installed superSU which I will leave as a system app for now.
Note that it behaves like what I tried, spawns multiple instances of su and daemonsu (should daemonsu be symlinked to su--why have two copies?).
Link2sd played immediately. Tasker took some time. Xposed almost did not make it. Finally, after a blank screen freeze, reboot, a few attempts, got the dialog! Talking a good ten minutes or aggrivation. What is unique about how this asks for root?
Click to expand...
Click to collapse
Yes, it takes a bit of time sometimes. It's slow and can't help it .
So here's my suggestion, in settings, set default access to 'grant'. It's a bit faster this way
Sent from my LG-P500 using XDA Premium 4 mobile app
rhar**** said:
Yes, it takes a bit of time sometimes. It's slow and can't help it .
So here's my suggestion, in settings, set default access to 'grant'
Click to expand...
Click to collapse
The problem is unique to Xposed. Everything else comes either immediately to quickly enough. I will post to that dev thread about this.
Dovidhalevi said:
The problem is unique to Xposed. Everything else comes either immediately to quickly enough. I will post to that dev thread about this.
Click to expand...
Click to collapse
Worked fine for me.
Try again by giving root permissions by default
ROM is good.
However, after flash GAPPSLight. Root have gone. It should be not enough space in /system
z1022 said:
ROM is good.
However, after flash GAPPSLight. Root have gone. It should be not enough space in /system
Click to expand...
Click to collapse
Shouldn't happen if the OTA survival mode is present. But ya, the only problem may be the space in /system
z1022 said:
ROM is good.
However, after flash GAPPSLight. Root have gone. It should be not enough space in /system
Click to expand...
Click to collapse
MUST trim the ROM. Omni is no different here, maybe even bigger.
The superSU installation wil temporarily move some stuff to make room for the root install, then move it back. However, none of that stuff belongs on system. There is not enough room for even one of those gapps. GAPPSLight is trivial and should not fill you up. In other words, trim the ROM first.
---------- Post added at 12:36 AM ---------- Previous post was at 12:30 AM ----------
rhar**** said:
Yes, it takes a bit of time sometimes. It's slow and can't help it .
So here's my suggestion, in settings, set default access to 'grant'. It's a bit faster this way
Click to expand...
Click to collapse
First thing I tried (with my simple daemon start method). Never came up. But up and running now, all's well that ends well.
Question: SuperSU offers to make a backup script first time the UI is exercised. Promises to survive further flashes. Does this indeed work (and ... how)?
I will copy files and edit a version of the setup script from this zip and have them available on my sdcard just in case
Modded Omni Rom
@rhar****,
I have a request 4 u. Please make a modded OMNI rom 4 us. Yesterday I flashed the Jenkins 10th march version. I can't use for more than a while, 'cause i can't install any file manager or any .apk, moreover things went wrong after i flash gapps.. But I loved it and want to hav it as a daily driver. So, if u don't hv any project / busy schedule then pls.try. Anyway 2day i will flash this build.
sumansur2008 said:
@rhar****,
I have a request 4 u. Please make a modded OMNI rom 4 us. Yesterday I flashed the Jenkins 10th march version. I can't use for more than a while, 'cause i can't install any file manager or any .apk, moreover things went wrong after i flash gapps.. But I loved it and want to hav it as a daily driver. So, if u don't hv any project / busy schedule then pls.try. Anyway 2day i will flash this build.
Click to expand...
Click to collapse
Smell a rat! Trim that ROM first.
Omni has it own file manager called "Documents." The CMFileManage can be installed as a user app.
BUGs on Omni -- I still am using a daily driver, though:
1. Clock FC's. Widgets appear fine (I use Chronus) but no alarms, stopwatch, wordclocks, etc.
2. GPS apparently not functioning, though location services seem to work. Some apps dependent on GPS FC.
3. Long widget, background process startup times but much better than cm-11
4. About 10 meg worth of apps symlinked by link2sd will be un-symlinked (more probably dereferenced) on start up. Easily cleaned up every few starts. Make sure to recreate link2sd build scripts freshly, reboot after new flash or internal storage mishaps worse than this.
5. Will usually get a wait message on system on startup. Everything works anyway, just open home screen and dismiss.
Those dl builds are genuine "nightlies," scheduled, regardless of whether or not any changes made that will be noticed.
Dovidhalevi said:
Smell a rat! Trim that ROM first.
Omni has it own file manager called "Documents." The CMFileManage can be installed as a user app.
BUGs on Omni -- I still am using a daily driver, though:
1. Clock FC's. Widgets appear fine (I use Chronus) but no alarms, stopwatch, wordclocks, etc.
2. GPS apparently not functioning, though location services seem to work. Some apps dependent on GPS FC.
3. Long widget, background process startup times but much better than cm-11
4. About 10 meg worth of apps symlinked by link2sd will be un-symlinked (more probably dereferenced) on start up. Easily cleaned up every few starts. Make sure to recreate link2sd build scripts freshly, reboot after new flash or internal storage mishaps worse than this.
5. Will usually get a wait message on system on startup. Everything works anyway, just open home screen and dismiss.
Those dl builds are genuine "nightlies," scheduled, regardless of whether or not any changes made that will be noticed.
Click to expand...
Click to collapse
I saw a file manager namely"Documents", but i couldn't install any .apk from there, it said " the file can't be opened" or such that. I flash a file explorer but can't enter enter any subfolder in sdcard. But i will have a another go 2day.
sumansur2008 said:
@rhar****,
I have a request 4 u. Please make a modded OMNI rom 4 us. Yesterday I flashed the Jenkins 10th march version. I can't use for more than a while, 'cause i can't install any file manager or any .apk, moreover things went wrong after i flash gapps.. But I loved it and want to hav it as a daily driver. So, if u don't hv any project / busy schedule then pls.try. Anyway 2day i will flash this build.
Click to expand...
Click to collapse
Yea, I'll try to make a Trimmed ROM soon
sumansur2008 said:
I saw a file manager namely"Documents", but i couldn't install any .apk from there, it said " the file can't be opened" or such that. I flash a file explorer but can't enter enter any subfolder in sdcard. But i will have a another go 2day.
Click to expand...
Click to collapse
For time being, to install any apk, get a file manager. If you cant, then from Documents, navigate to the apk and hold on it. It will be highlighted. Now copy it and from documents' side panel (swipe from left) go to Downloads and paste it there. Now go to Downloads from app drawer and install from there.
The root is working pretty fine. I tried a lot of times. Sorry to say it now when maybe a week passed, but I forgot to comment. Omni seems to be a good project. And this is the first taste of omni and kit kat, so doble pleasure.
chalo99 said:
The root is working pretty fine. I tried a lot of times. Sorry to say it now when maybe a week passed, but I forgot to comment. Omni seems to be a good project. And this is the first taste of omni and kit kat, so doble pleasure.
Click to expand...
Click to collapse
Yeah. I too use it as a daily driver, and so am thinking of mading it a bit. Like Halo))) or multiwindow
But, unfortunately, not anytime soon
rhar**** said:
Yeah. I too use it as a daily driver, and so am thinking of mading it a bit. Like Halo))) or multiwindow
But, unfortunately, not anytime soon
Click to expand...
Click to collapse
Xposed Xhalo will work in cm-11 but not in omni! Omni takes the window's flag for ... its own multiwindow. So ... where is that?
Xposed multiwindow (its own UI) might work in omni or alongside halo or xhalo ... uses a different flag to avoid the conflict.
In any event, Xposed might be the best way to get these things.
Dovidhalevi said:
Xposed Xhalo will work in cm-11 but not in omni! Omni takes the window's flag for ... its own multiwindow. So ... where is that?
Xposed multiwindow (its own UI) might work in omni or alongside halo or xhalo ... uses a different flag to avoid the conflict.
In any event, Xposed might be the best way to get these things.
Click to expand...
Click to collapse
Yea, I was also wondering about multi-window
And never noticed the thing about HALO. Will try to get something done.
Hi rhar****,
I sucessfully flashed the root.zip into my device(Samsung Galaxy Tab2 10.1 GT-P5110, OMNI6.0.1 based on Android 6), but the SuperUser couldn’t work without a binary file.
The screenshot is in Chinese, it said that ‘The SU Binary file is not installed, and it can’t be downloaded and installed via SuperUser. If you just upgraded to Android 4.3, go to the forum and download the binary file, then install it manually. ’
Can you please offer me the binary file? Or give me an URL?

[MOD][Debloat | Black Google bootanimation] Taintless

Going to try and keep this short, sweet, and to the point.
I modified and created a zip for personal use all the way back to my Nexus 5 days and through my N5X use. I like my ROMs extremely minimal. Removal of media files and applications that I didn't deem necessary to have. Even went as far and told the script to remove the stock launcher and replace it with Nova. This little guy worked wonders for me and saved me loads of time. My app drawer (on initial start up) only consisted of the essentials; phone, contacts, messaging, a file manager, and Google Play. Only leaving the rest to be downloaded as needed.
----------------
Since ROMs aren't abundant yet, I'm deciding to share my zip to those who actually want to remove system apps and not settle on them just being disabled. Also, to keep from going into a file manager after every OTA/update removing each app individually.
-----------------
Had to modify this little guy to work on our phones.. It took me a bit to figure out (of course, right? Nothing is 'straight forward' with these phones )
-----------------
1.) I use this for personal use but did take some consideration in other users so majority of what I don't use is still there, this list would be a lot longer (and yes, some apps are for my older phones and didn't feel like removing them from the script).
2.) I will not remove an app from the removal script - if you don't like whats being removed, don't flash the zip.
3.) If I have forgot something that comes on the phone that CAN be downloaded from the Play Store (and can not be uninstalled), let me know. I'll add it to the script.
4.) If apps you are currently using are in the removal script, don't worry. The script makes them a user app instead of a system app (in my case it did anyway).
What's removed: :highfive:
*Clock (Google)
*Maps
*YouTube
*DownloadProviderUi
*HTMLViewer
*Calendar (Google)
*Drive (Google)
*OmaDmclient
*Photos (Google)
*Gallery2
*BasicDreams
*Calendar (Google)
*GoogleJapaneseInput
*Chrome
*CMFileManager
*Email
*Exchange2
*Galaxy4
*GooglePinyinIME
*Music2 (Google Music)
*NoiseField
*OpenWnn
*PhaseBeam
*Gmail
*Videos (Google Movies)
*KoreanIME
*OpenDelta
*Launcher3
What's added: :victory:
*Google stock bootanimation (black background with no text!)
*1 additional ringtone
*2 additional notifications
*4 additional alarm ringtones
Installation: :silly:
1. backup your ROM (there is no 'undo' button, so if you want whatever you want back, do a restore)
2. flash through TWRP (do not wipe cache/dalvik unless you want to get stuck on the Google logo - a hard power reset solves that problem anyways)
3. reboot
Download: :good:
https://www.androidfilehost.com/?fid=889964283620778129
Thanks to @mauam for the awesome bootanimation!
- A picture of the animation (called Pixel 2) and reference to his thread can be found here:
https://forum.xda-developers.com/android/themes/alienware-t3721978
Again, you all are on XDA for a reason and know the risks of modifying your device in any sense. Since everyone else does this, I'll do it too:
I'm not responsible for your device.​
For those that are having force closing issues on certain apps, enabling immersive mode within apps seems to fix the problem..
Things you need:
You need Android Terminal Emulator in the Play Store or cmd on Windows
i would prefer to do this from a PC so you can copy and paste the commands, but it can be done with any terminal emulator also.
Step 1: Connect your phone to your PC enable USB debugging mode
Step2: Open up cmd in Windows or the emulator on your phone and copy/paste or type:
- adb shell
itll give you a '$'
then copy and paste or type:
- settings put global policy_control immersive.full=apps,-com.google.android.googlequicksearchbox
should enable automatically.
so a debloat script and replacing boot ani with a black one? ill give it ago next time i redo my phone lol (i already debloated and have that boot ani)
but nice little addition, i personally love removing bloat my last debloat script i dubbed 'The Purge" lol
Sounds good to me and I hate bloat! thanks for the work!
Caution.,,
This breaks Fi app ... sort of.
the app wont run after zip. uninstall, reload from app store... still cant run app... app prompts to activate phone.. activate runs and app starts to work.
Same with "google" app (the default app that show when you swipe left from home screen.
Gmail too....
elliwigy said:
so a debloat script and replacing boot ani with a black one? ill give it ago next time i redo my phone lol (i already debloated and have that boot ani)
but nice little addition, i personally love removing bloat my last debloat script i dubbed 'The Purge" lol
Click to expand...
Click to collapse
Yep, that's pretty much what it does! The Purge hahah nice name!!
galaxys said:
Sounds good to me and I hate bloat! thanks for the work!
Click to expand...
Click to collapse
Absolutely.. Hope it works out for you.
imaverik said:
This breaks Fi app ... sort of.
the app wont run after zip. uninstall, reload from app store... still cant run app... app prompts to activate phone.. activate runs and app starts to work.
Same with "google" app (the default app that show when you swipe left from home screen.
Gmail too....
Click to expand...
Click to collapse
I don't run the Google Fi app, nor did I even touch anything related to Fi..
My Google app works as intended, and I redownloaded gmail, and that works too.. Idk what could be the issue on your end..
elliwigy said:
so a debloat script and replacing boot ani with a black one? ill give it ago next time i redo my phone lol (i already debloated and have that boot ani)
but nice little addition, i personally love removing bloat my last debloat script i dubbed 'The Purge" lol
Click to expand...
Click to collapse
I think I remember that script. Was that for the S5? ?
Badger50 said:
I think I remember that script. Was that for the S5? ?
Click to expand...
Click to collapse
i believe so haha too lazy to look it up
Those this work with the January update? For some reason when I flash it my device becomes corrupted. I'm using twrp 3.2.1 if that helps
castano22 said:
Those this work with the January update? For some reason when I flash it my device becomes corrupted. I'm using twrp 3.2.1 if that helps
Click to expand...
Click to collapse
Version/update doesn't matter..
Corrupted as in how?
I still use twrp 3.1.1. Beta 2
Corrupted as in it won't let me boot up into the OS. It's with other mods too
So far I've received an issue from a user on here (youll be able to read their issue on the last page) and i assume its user error due to me not having any issues at all..
My question is - has anyone else tried this script with complete success?? Given the 'thanks' i received, im assuming (again lol) that its working fine. In my experience on XDA, people only comment on whats wrong, and keep quiet when things are running as they should.. I'm now asking to voice your success just for reassurance for me
let me know guys, thanks! :good::fingers-crossed:
Just wanted to confirm that the debloat script works on the Feb update.. Just did it myself :highfive:
However, I did have a couple force closes on the Google app and Twitter (weird) -- after some testing, i got it working by enabling 'settings put global policy_control immersive.full=apps,-com.google.android.googlequicksearchbox' again
After I enabled that again, everything functions fine. :good:
Maybe this is needed for some apps that force close after flashing this debloat script (if you like immersive mode in apps)..
I'll post instructions in the 2nd post on the first page
Hey, thanks for this! Any chance of an update to April release?
elliwigy said:
so a debloat script and replacing boot ani with a black one? ill give it ago next time i redo my phone lol (i already debloated and have that boot ani)
but nice little addition, i personally love removing bloat my last debloat script i dubbed 'The Purge" lol
Click to expand...
Click to collapse
do you debloat using TitaniumBackup? Last time I tried that, I got stuck in a bootloop
dr_rick13 said:
do you debloat using TitaniumBackup? Last time I tried that, I got stuck in a bootloop
Click to expand...
Click to collapse
Yeah I find that happens too. Plus despite having busybox titanium isn't even deleting system apps anymore, they are still there after reboot. So for now I stick to freezing...

[ZIP][FLASHABLE][8.0&7.0]Project Deep Clean - Keep only what you actually use

Long story short, this is a zip to debloat your S8 and probably other Samsung devices. Please modify it to suit your firmware. *As long as your rom is from Samsung, regardless of nougat or oreo, most of the package names should be the same thus this zip should still remove quite a lot of them by default, you will need some minor edits to match your rom perfectly though.
The attached zip is what I'm currently using, there's something that I had commented out because I use that feature and never tried disabling it. Please feel free to experiment with it and modify the script as per your need. However, do pay close attention to some of the lines as activating them will cause your phone fail to boot.
If you had any error or knowledge about what certain file does, please provide feedback so that we can improve this script. The ultimate goal is to know what we can stripe off from TouchWiz ROM until close AOSP state without breaking features that we use, that includes .apk files, files of any format and even related lines in build.prop.
Also, for anyone who wishes to use this script in any way, please feel free to do so. No need to inform or give credit.
Since I do not backup my file before testing, I'm using Github to do this for me. The most updated version will be on Github.
For more information please visit Github.
Credit
SoLdieR9312 for his OREO BETA6 Debloat zip as template.
foobar66 for his debloat shell script as a reference.
Google as well as several posts in XDA Developers forum
Hall of fame
1. Debloating Samsung Experience Service might lead to Samsung Account FC / bootloop. By: Saibot.XI
After this zip your phone will be left with:
Stock Samsung Audio (Adapt sound, SoudAlive, etc)
Stock Samsung AOD
Stock Samsung Calculator
Stock Samsung Calendar
Stock Samsung Camera & all plugin
Stock Samsung Clock
Stock Samsung Contacts
Stock Samsung Device maintenance w/ McAfee removed
Stock Samsung Gallery & related editor
Stock Samsung Game Launcher & services
Stock Samsung Live wallpaper picker
Stock Samsung Messages
Stock Samsung Music
Stock Samsung Phone
Stock Samsung Smart capture (Screenshot w/ crop, drawing features)
Stock Samsung Launcher
Stock Samsung Video Player
Samsung Desktop Smart Switch support .apk file
Google play etc among some preloads
And some files that IDK what they do/what will happen after removal
Over hundred of apk files will be removed.
Theme center and Samsung account will also be removed, if you want to use theme, please comment them out before flashing.
They can be removed after you applied your theme and will stick after reboot. This is what I did too.
How do i add themestore and remove it after applying theme? Also, flash in twrp?
Got it working nvm. Awesome work!
I'm on AQGL and used Flashfire but the script doesn't seem to work. I updated the script to reflect the boot device as /dev/block/platform/soc/1da4000.ufshc/by-name/system but that didn't work either. Any other hints or suggestions?
TIA.
kleen3r said:
I'm on AQGL and used Flashfire but the script doesn't seem to work. I updated the script to reflect the boot device as /dev/block/platform/soc/1da4000.ufshc/by-name/system but that didn't work either. Any other hints or suggestions?
TIA.
Click to expand...
Click to collapse
used the updated script from github and works perfectly!
is this working on 955N or 950N variant?
Very good ! VERY SMOOTH AND FAST!
Box3D said:
is this working on 955N or 950N variant?
Click to expand...
Click to collapse
I do expect people here to experiment with it, as I said in Github this is not (completely) noob-friendly.
You can cross check the script with your ROM, majority of the Samsung preloaded app will be the same, the difference usually is carrier apps. Maybe I shouldn't mention that I'm using AQL5.
XDA developer yeah, not XDA noobs.
kleen3r said:
I'm on AQGL and used Flashfire but the script doesn't seem to work. I updated the script to reflect the boot device as /dev/block/platform/soc/1da4000.ufshc/by-name/system but that didn't work either. Any other hints or suggestions?
TIA.
Click to expand...
Click to collapse
I've no idea what is flashfire, sorry about that.
ImbaWind said:
I've no idea what is flashfire, sorry about that.
Click to expand...
Click to collapse
It's an app that flashes zip files similar to TWRP. I have the snapdragon 955u variant so cant use twrp since the bootloader is locked. I do have root though.
kleen3r said:
It's an app that flashes zip files similar to TWRP. I have the snapdragon 955u variant so cant use twrp since the bootloader is locked. I do have root though.
Click to expand...
Click to collapse
I see, good to know. Im using an exynos version so cant really figure that out.
You can even delete folder/file one by one by using terminal/root explorer according to my updater-script, that shouldn't make much of a difference.
Will this work on oreo zra5? Actually tried flashing this but it didnt remove anything at all
I personally use the Package Disabler because I'm not that worried about space but the script helped me extremely on what to disable. Very helpful. (also on aql5 btw)
dr460nf1r3 said:
Will this work on oreo zra5? Actually tried flashing this but it didnt remove anything at all
Click to expand...
Click to collapse
That's weird, it should be able to delete what nougat and oreo have in common and there's quite a few.
porkslapchop90 said:
I personally use the Package Disabler because I'm not that worried about space but the script helped me extremely on what to disable. Very helpful. (also on aql5 btw)
Click to expand...
Click to collapse
System space is quite useless, but it makes people like me feel better when useless stuff is actually gotten rid of.
Plus it is able to remove files, that's beyond the ability of package disabler.
Work on 7.0 aql5? Renovate 7.5
Hey after flashing this tool i have problem : screen write is ereased and when i want to use root file to open system/app my device suddenly reboot what could be the problem?
Nathan5900 said:
Work on 7.0 aql5? Renovate 7.5
Click to expand...
Click to collapse
Im using stock aql5, how do you define 'work' tho?
EDIT: This zip basically removes stuff, so if your ROM contains the stuff that match the updater-script, it gets removed. Nothing magic happening here.
torhect said:
Hey after flashing this tool i have problem : screen write is ereased and when i want to use root file to open system/app my device suddenly reboot what could be the problem?
Click to expand...
Click to collapse
This script doesn't remove the function that allows you to draw on your screenshot cause I'm using that too, one of the actually handy feature added by Samsung...
The reboot part, I'm not sure. Somehow when I try to add back apks directly to system via explorer, my /data partition gets corrupted with
Code:
persist.security.tlc.otp structure needs cleaning
in TWRP, only format data fixes this, and this happened to me twice so I'd recommend you to flash them in instead using the rescue zip template I provided in Github.
The script is really good, I just read it line by line but since I see some issues reported for some people I prefer to try it out later
Edit: i was thinking on replace all Samsung needed apps with Google ones like phone and dialer, anyone knows a port from those?

LG V30 uninstall bloat apps with root?

Hello everyone.
I have an LG V30 US998 (former H931) and want to remove included system apps, such as google movies and tv, google music, chrome, facebook, and other apps which I use, but I always prefer to not have them as system apps. I'm rooted, and have used "System App Safe Remover" (used to be called root uninstaller) to remove this kind of apps for many years, on many different phones, and did mot need to be in a custom rom for this. Issue is, no matter how much I insist, apps are confirmed removed, but even if I reboot (app already has root granted) the apps are still there!
Does the LG V30 have some sort of encryption or something? I also tried batch uninstaller, same results. Tried going into the root system partition using FX Explorer root, and I am not able to delete any app (permission denied, even though I'm root and have granted access to fx).
Any tips? Do I have to use adb debloat (never used before)? What could be the reason? I have "force encrypt" in Magisk set to "off" if that helps. I also flashed the "disable dm verify" and "AK3 rctd" files (don't remember if this was in frankenstein thread or oreo root/unlock thread).
TLDR: How can I remove system apps from LG V30 stock Oreo (Yes, I'm aware of the risks)?
Moonfrost said:
TLDR: How can I remove system apps from LG V30 stock Oreo (Yes, I'm aware of the risks)?
Click to expand...
Click to collapse
The risks are you will increase lag significantly and/or break functionality. Not like the old Android days where every apps (package) is in totally separate silo. Remove and it's gone. Now the software is all tied together. The phone will pause will looking for something before moving on.
You are NOT saving any USER space by removing SYSTEM apps. This is not something you can re-claim.
Similarly, if you use Chrome, what's wrong with having it as a system app? That's MORE space over on the user side for other stuff.
Simply FREEZE the system apps you don't wish to use with Titanium Backup. They will not run, will not be seen, but doing that will not create lag because you shot a hole in the LG firmware web.
---------- Post added at 08:47 AM ---------- Previous post was at 08:45 AM ----------
Moonfrost said:
I have "force encrypt" in Magisk set to "off" if that helps. I also flashed the "disable dm verify" and "AK3 rctd" files (don't remember if this was in frankenstein thread or oreo root/unlock thread).
Click to expand...
Click to collapse
None of that has anything to do with what you are asking about.
---------- Post added at 08:49 AM ---------- Previous post was at 08:47 AM ----------
Moonfrost said:
Any tips?
Click to expand...
Click to collapse
If you remove something you didn't know the system needs, then you have to reinstall your firmware to fix the issue. FREEZING disables the app, and if you find you DO need it after all, you can easily unfreeze it.
ChazzMatt said:
The risks are you will increase lag significantly and/or break functionality. Not like the old Android days where every apps (package) is in totally separate silo. Remove and it's gone. Now the software is all tied together. The phone will pause will looking for something before moving on.
You are NOT saving any USER space by removing SYSTEM apps. This is not something you can re-claim.
Similarly, if you use Chrome, what's wrong with having it as a system app? That's MORE space over on the user side for other stuff.
Simply FREEZE the system apps you don't wish to use with Titanium Backup. They will not run, will not be seen, but doing that will not create lag because you shot a hole in the LG firmware web.
---------- Post added at 08:47 AM ---------- Previous post was at 08:45 AM ----------
None of that has anything to do with what you are asking about.
---------- Post added at 08:49 AM ---------- Previous post was at 08:47 AM ----------
If you remove something you didn't know the system needs, then you have to reinstall your firmware to fix the issue. FREEZING disables the app, and if you find you DO need it after all, you can easily unfreeze it.
Click to expand...
Click to collapse
Oh ok, thanks for the reply. Last phone I used also had Oreo, but same as LG V30, it wasn't the original OS, it got updated to it, I could still remove those apps. To me it was mostly the forced google apps, but if they really don't affect anything, then I guess I'll leave them there. Thanks.
Moonfrost said:
Oh ok, thanks for the reply. Last phone I used also had Oreo, but same as LG V30, it wasn't the original OS, it got updated to it, I could still remove those apps. To me it was mostly the forced google apps, but if they really don't affect anything, then I guess I'll leave them there. Thanks.
Click to expand...
Click to collapse
There is a Magisk Module for it "Debloater" download that along with terminal
And in Terminal app
Command
su (it will prompt for root access)
Debloat (you'll get list of system apps you can remove)
You can select by entering number
Before doing so always backup your data and do it at your own risk ,you can disable the app if not remove that works for me
Sent from my LG-US998 using Tapatalk
techyrock said:
There is a Magisk Module for it "Debloater" download that along with terminal
And in Terminal app
Command
su (it will prompt for root access)
Debloat (you'll get list of system apps you can remove)
You can select by entering number
Before doing so always backup your data and do it at your own risk ,you can disable the app if not remove that works for me
Sent from my LG-US998 using Tapatalk
Click to expand...
Click to collapse
Ok. But let's say I removed Google Chrome and Gmail, would that affect anything? My idea is to not touch anything from LG...but I had the other reply saying I shouldn't remove anything nowadays.
Moonfrost said:
Ok. But let's say I removed Google Chrome and Gmail, would that affect anything? My idea is to not touch anything from LG...but I had the other reply saying I shouldn't remove anything nowadays.
Click to expand...
Click to collapse
Honestly I used to debloat way before Oreo often deleted apk's myself from system/app being lazy maybe Debloater removes an app properly but yes he's right even if you explore apps in system or data folder they are in folders now
If you are backed up and have the kdz thn give it a try I did saw someone using Debloater on Oreo/Pie though
Sent from my LG-US998 using Tapatalk
techyrock said:
Honestly I used to debloat way before Oreo often deleted apk's myself from system/app being lazy maybe Debloater removes an app properly but yes he's right even if you explore apps in system or data folder they are in folders now
If you are backed up and have the kdz thn give it a try I did saw someone using Debloater on Oreo/Pie though
Click to expand...
Click to collapse
But "way before Oreo" means probably on another phone?
There was two or three "debloater" threads going at one point, and people then kept asking in OTHER threads
"Why does AOD no longer work?"
"Why did my VoLTE stop working?"
"Why is my V30 so slow?"
MY V30 isn't slow. MY AOD works.
The common element it turned out was they all were debloating stuff just prior to these issues.
People just now getting this phone don't understand the modern firmware. Nothing is labeled "safe" and "dangerous" to remove. Everything is connected. If it's a system app, just freeze it.
Yes as I mentioned it was on previous versions of Android using explorer method The Debloater thing I came across among top Magisk module list which I had to look up for myself as in other thread I did ask for Magisk and Xposed compatible with V30 didn't get any response
Personally I don't think Removing Chrome or similar app could mess up entire system , one could give it a try in step by step manner
I am not aware if those other users removed some essential LG apps from system because even back in older days debloating if not done properly would often end up with system stopped working boot loop etc
Sent from my LG-US998 using Tapatalk

Categories

Resources