Script to remove bloatware - Verizon Galaxy Note 3 Q&A, Help & Troubleshooting

I figured this would be a good time to learn instead of always relaying on the devs. Does anyone know how to create a script to remove bloatware that is flashable in recovery or executable in terminal?

http://forum.xda-developers.com/showthread.php?t=2370164
I know it's not gonna be the same as the note3, but it gives you an idea as how others have done it.
And this one is an aroma package, so it cannot be simply edited. This is more of an example for how to proceed.
♢NoteIII♢

LeftyGR said:
http://forum.xda-developers.com/showthread.php?t=2370164
I know it's not gonna be the same as the note3, but it gives you an idea as how others have done it.
And this one is an aroma package, so it cannot be simply edited. This is more of an example for how to proceed.
♢NoteIII♢
Click to expand...
Click to collapse
I've been searching around but I can't find a system that work. There's a rom on the Sprint Note 3 forum and the Dev posted a super simple script to run in terminal using
mount -o rw,remout /system
rm /system/app/Accuweatherphone2013.apk
reboot.
to execute in terminal sh/ sdcard/*filename*.sh (file has to be on root of internal memory)
for whatever reason it's not working,

Try making a flashable zip to delete a specific app you don't want and see if that works. If it does then that should be the direction to take.
It should work... should.
♢NoteIII♢

@scrosler
I know you are a very busy man and you have already given the community so much. If you could provide any advice it would be greatly appreciated.

I've been testing this script for hours and can't figure out why it will not debloat... Does anyone know working script to debloat roms?

2swizzle said:
I've been testing this script for hours and can't figure out why it will not debloat... Does anyone know working script to debloat roms?
Click to expand...
Click to collapse
As I was implying before, there is another way besides scripts in a terminal emulator...
Make a zip you can flash in safestrap. I've made you one that you can expand on.
This zip will remove a font apk file. I chose this in particular, because it's benign and won't mess up any functionality of anyone's system.
Here is the file I chose to delete:
View attachment 2460606
Using Notepad++ (available free, just google notepad plus plus) I put together this updater-script:
View attachment 2460610
Then created a zip using 7zip (also available free, use google again).
Booted into safestrap recovery and installed it.
Rebooted system and file is now gone:
View attachment 2460614
The highlighted section inside updater-script would need to have a line in it for each apk you want to delete. If it has an .odex file associated with it, you need to also include a line to delete that as well.
Try it out!

LeftyGR said:
As I was implying before, there is another way besides scripts in a terminal emulator...
Make a zip you can flash in safestrap. I've made you one that you can expand on.
This zip will remove a font apk file. I chose this in particular, because it's benign and won't mess up any functionality of anyone's system.
Here is the file I chose to delete:
View attachment 2460606
Using Notepad++ (available free, just google notepad plus plus) I put together this updater-script:
View attachment 2460610
Then created a zip using 7zip (also available free, use google again).
Booted into safestrap recovery and installed it.
Rebooted system and file is now gone:
View attachment 2460614
The highlighted section inside updater-script would need to have a line in it for each apk you want to delete. If it has an .odex file associated with it, you need to also include a line to delete that as well.
Try it out!
Click to expand...
Click to collapse
hahahaha I hate programming.... I already had all this code done, the problem I was having, I was zipping with the file with the built in windows zip compresser. For what ever reason it wouldn't flash, I installed 7zip and it worked perfectly hahahaha. Thank you so much my friend :good:

Check the Verizon Note 2 ROMs ... I know @mikeyxda had a script to debloat posted in his thread. Perhaps you could take a peak at it for some clues???
Sent from my SM-N900V using Tapatalk

YankInDaSouth said:
Check the Verizon Note 2 ROMs ... I know @mikeyxda had a script to debloat posted in his thread. Perhaps you could take a peak at it for some clues???
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
I remember that mikeyxda, he had the brilliant instant wake feature on his rom!!! I figured out how to run it using a zip. I think I would prefer that method so I don't have to run terminal every time I flash a rom. Thanks for looking out though, I will also create a script for terminal in case any one wants it.

Ah ... gotcha. I just remembered he had some kind of debloat
Sent from my SM-N900V using Tapatalk

Related

[Q] editing framework-res.apk

Hey guys I need a bit of help..... I was trying to edit the drawables on my gf 's Eris in the framework-res.apk and when I recompiled the Rom and tried to flash my changes recovery tells me that the update script couldn't be verified due to framework-res.apk and aborts the installation.... what am I doing wrong? Do I need to sign this apk or something to make it work correctly? I did this on my Droid incredible the other day with no problem. I know there was another thread on this further down in Dec but unfortunately it didn't give me the answers I need...
Sent from my ADR6300 using XDA App
elixir911911 said:
Hey guys I need a bit of help..... I was trying to edit the drawables on my gf 's Eris in the framework-res.apk and when I recompiled the Rom and tried to flash my changes recovery tells me that the update script couldn't be verified due to framework-res.apk and aborts the installation.... what am I doing wrong? Do I need to sign this apk or something to make it work correctly? I did this on my Droid incredible the other day with no problem. I know there was another thread on this further down in Dec but unfortunately it didn't give me the answers I need...
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I assume from reading your post that you updated the framework png's inside a Rom Zip package... You don't need to sign the framework, but you do have to resign the Rom Zip file. Try re-signing the rom file, that should get it working...
Macrodroid said:
I assume from reading your post that you updated the framework png's inside a Rom Zip package... You don't need to sign the framework, but you do have to resign the Rom Zip file. Try re-signing the rom file, that should get it working...
Click to expand...
Click to collapse
Any input on how to sign Rom files? I've never signed anything before
elixir911911 said:
Any input on how to sign Rom files? I've never signed anything before
Click to expand...
Click to collapse
You can sign it using gnarlycs kitchen.
Edit: another thing you could have done is just pushed your modded frameworkres to its folder and rebooted the phone.
Sent from my Incredible using Tapatalk
elixir911911 said:
Any input on how to sign Rom files? I've never signed anything before
Click to expand...
Click to collapse
find zip signer i believe its called u can use that
tazzpatriot said:
find zip signer i believe its called u can use that
Click to expand...
Click to collapse
Sterricson Zip Signer, or get SignApkTool from the market and sign it on your phone... Just make sure you use the test-keys for the rom file...
I used zip signer from the market.... is there anyway I can use this to sign apk 's like HTC messaging and HTC IME so that I can edit drawables in those apps?
Sent from my ADR6300 using XDA App
elixir911911 said:
I used zip signer from the market.... is there anyway I can use this to sign apk 's like HTC messaging and HTC IME so that I can edit drawables in those apps?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Y don't u just download the kitchen so u can do it easier and do a bunch together...I think someone said this already I forget lol I need to look haha
Well I know how to sign sips I just want to know if I can sign apps like HTC messaging so they'll install on my device.... if I unzip and rezip afile it won't install on my device... will signing it fix this?
Sent from my ADR6300 using XDA App
i could never get that **** to recompile correctly. i gave up.
I use apk manager to decompile, compile, and sign apks. Unless I'm adding pngs I'm which case I use apktool. If your just editing or replacing what already exists apk manager is the easiest way in my opinion.
Sent from my ERIS using XDA App
elixir911911 said:
Well I know how to sign sips I just want to know if I can sign apps like HTC messaging so they'll install on my device.... if I unzip and rezip afile it won't install on my device... will signing it fix this?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Those won't install...you need to push them to system/app and reboot. No need to sign them unless you resign a whole rom.zip
Conap said:
Those won't install...you need to push them to system/app and reboot. No need to sign them unless you resign a whole rom.zip
Click to expand...
Click to collapse
That's right.. thanks for adding that Conap. Also I was re-reading and just wanted to add as well that you don't want to unzip an apk to modify it and then zip it.. Use one of the other tools mentioned.. apktool or apkmanager
CondemnedSoul said:
That's right.. thanks for adding that Conap. Also I was re-reading and just wanted to add as well that you don't want to unzip an apk to modify it and then zip it.. Use one of the other tools mentioned.. apktool or apkmanager
Click to expand...
Click to collapse
Also for pc 7zip works good also. Just right click the file 7zip open archive drop your png where you want it. Close the apk and push it to system/app or where ever it came from.
If your on ubuntu just click your apk and drop your pngs. You don't even need an apk tool.
dinc¦rockin' the stock root
wildstang83 said:
Also for pc 7zip works good also. Just right click the file 7zip open archive drop your png where you want it. Close the apk and push it to system/app or where ever it came from.
If your on ubuntu just click your apk and drop your pngs. You don't even need an apk tool.
dinc¦rockin' the stock root
Click to expand...
Click to collapse
That does work as well but doing it that way you will need to optimize the .9's if you change them also. xultimate works great for that.
CondemnedSoul said:
That does work as well but doing it that way you will need to optimize the .9's if you change them also. xultimate works great for that.
Click to expand...
Click to collapse
Oh cool. I never really optimized any of them. What does that do?
dinc¦rockin' the stock root
ok big time mess up...I downloaded apk manager....I used the command prompt to adb pull Browser.apk. I put this in the modding folder and used the script.bat file to extract the apk....I edited my files annd hit re zip apk and chose the option to retain signature for system apps. Then when I adb push back it seems to work fine but when I reboot browser doesnt show up in my app list!!!!! help please!!! where did I mess up? I even tried to zip align to see if that would fix it.....If I try to use coommand prompt to adb push the original browser.apk back into place it says error read only file system.....I'm locked out! ah!
elixir911911 said:
ok big time mess up...I downloaded apk manager....I used the command prompt to adb pull Browser.apk. I put this in the modding folder and used the script.bat file to extract the apk....I edited my files annd hit re zip apk and chose the option to retain signature for system apps. Then when I adb push back it seems to work fine but when I reboot browser doesnt show up in my app list!!!!! help please!!! where did I mess up? I even tried to zip align to see if that would fix it.....If I try to use coommand prompt to adb push the original browser.apk back into place it says error read only file system.....I'm locked out! ah!
Click to expand...
Click to collapse
To push the original browser, /system needs to be mounted as r/w which can be done with the command "adb remount"
As for the problem with the modded browser not showing up, try this:
Code:
adb shell chmod 644 /system/app/Browser.apk
adb shell chown 0:0 /system/app/Browser.apk
#now reboot into recovery, wipe cache and dalvik-cache, and reboot
the string you typed for the modded browser....i type that into a normal command prompt not into apk manager correct? I tried to put my normal browser back with adb remount and it still doesnt show in my app list but if i look with a file explorer the apk is in the right place....why wont it show up?
OK i actually pushed my old browser successfully and it wouldnt show in my app list....I then followed your instructions and did adb shell chmod and chown and reboot wipe dalvik and cache and it still wouldnt show up. I really dont wanna have to flash a recovery image....
edit: If it has any importance this is actually on a droid incredible i was testing for my gf's eris. So idk if it changes anything that this is actually an inc.

Battery mod links

Ok, So after copying 200 or so png's in the Drawable_xlarge_mdpi and the drawable_mdpi folder, I get my image mods after flashing.
But, they still only show the stock number of images, 9 or 10. Charging works ok.
So somewhere, there are some xml files I need to edit to reflect the filename additions?
Or am I missing something else?
A501 HC 3.2
Thanks guys and girls!
Battery_Charge.xml & Battery_Discharge.xml should be what your looking for.
Sent from my DROIDX using Xparent Red Tapatalk
DRTMI said:
Battery_Charge.xml & Battery_Discharge.xml should be what your looking for.
Sent from my DROIDX using Xparent Red Tapatalk
Click to expand...
Click to collapse
Thanks. I kind of figgured those were the xml files I was looking for. Problem is, I'm playing hell with de-compiling my framework-res to be able to edit the xml files.
Can't make much progress with the apktools available, even when including the dependancy apk's. So clearly I am a noob with decompiling framework-res
So my next question, is there any difference between a com gen 1 stat_battery_charge.xml; for the a500 and 501? If not, is it feasible to switch the modified xml to replace the current stock one?
here is how i mod those files as well as the icons and so on
i copy the system ui.apk to a folder on my desktop
i open it with winrar.. DO NOT EXTRACT IT.. pull out the folder containing the png files or xms you want to edit.. Just drag and drop them to another folder..
edit them to your hearts desire.
open the system.ui apk again in win rar.. drag the edited folder back into the system.ui.. push it to your tablet.. to say download folder..
then copy it to the original place it will ask you to replace say yes.. your tablet will CRASH .. REBOOT then if you edited the files corectly it will boot and show your changes.
i dont know if this is the correct way easiest way .. but IT DID WORK FOR ME.. USE AT YOUR OWN DESCRESSION..
I could send you the apktool I am using. Its the only one I have found that works worth honeycomb.
Sent from a phone.
NunHugger said:
I could send you the apktool I am using. Its the only one I have found that works worth honeycomb.
Sent from a phone.
Click to expand...
Click to collapse
Would be much appreciated Just send a link, and thanks!
erica_renee said:
USE AT YOUR OWN DESCRESSION..
Click to expand...
Click to collapse
Thanks Erica! That's what I've been doing Actually, wanted to do some editing to the xml files itself. It's easy for png's, at they don't get compiled.
Anytime we take the first step, and install iconiaroot, we do so at our own discretion
Here's an updated apk_manager if you prefer that method.
I normally use a CWM zip since I have to reboot anyway. You can usually start with any theme zip and just make sure their updater-script copies /system to /system and just look through the zip to see what it copies, and if it looks normal, you can make the directory structure the same but copy your own over the old ones (and delete any orginal files that you won't be overwriting). i.e. it should look like:
system/app/SystemUI.apk
system/framework/framework-res.apk
system/fonts/blah.ttf
Just drag your files into the zip in the same place and use it.
And then as a precautionary measure, just do this once or any time you mess with more files (for inexperienced modders): Make a 2nd copy of that zip and call it blah-revert.zip then copy the orginal files over those modified files. Once you have both zips on the device, if anything goes wrong you can flash the revert to get back quick.

Flashable File manager( ES Explorer)

Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
mohitmoudgil said:
Can any one make a flashable zip with a free root file manager in it.
Click to expand...
Click to collapse
I've never used it but why not try es file explorer? It claims to have a root explorer included.
I need flash able zip...some roms does not include any file manager.. like aokp
Sent from my SGH-T959 using Tapatalk
You could always download one from the market.
Or use 7-zip to open another ROM.zip, system/app and pull it out. Then use 7-zip again to unzip AOKP, put the file manager into system/app, rezip it and then flash it.
File managers are freely available. Is there a reason why you can't get one from the market. No SIM or WIFI access, maybe?
thank you
OP-thank you.
Many timse now I have flashed on the run. Some times I am on limited data or in a no coverage area. And then the times I don't want to install gapps.... yes... this is very useful.
@woodrube- thanks for the tip on the 7zip trick... I don't know why but I never thought about that. I extract stuff like that all the time... I feel stupid not thinking of that. That will be most use full next time I pan fry bacon. thank you. :highfive:
Xplore is a pretty good file manager. Its user interface us really great for copying files and stuff
Sent from my SGH-T959 using Tapatalk 2
+1
Sent from my HTC One X using xda premium
The easiest way is to open a rom zip file with 7zip and simply drag your favorite file manager to to /system/app/ folder.
Or you can use this premade flashable zip file and put in your own apks to flash: http://forum.xda-developers.com/showthread.php?t=1572962
eksasol said:
The easiest way is to open a rom zip file with 7zip and simply drag your favorite file manager to to /system/app/ folder.
Or you can use this premade flashable zip file and put in your own apks to flash: http://forum.xda-developers.com/showthread.php?t=1572962
Click to expand...
Click to collapse
Thank you for linkng that . Just took a look at that. I am going to check this out later. I am on the galaxy s3 (T-Mobile US) and a lot of things that I use to do in dsixda's Android Kitchen I have to find new ways for.
A big Thank you... you saved me in time
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
i found this quite helpful. i use wifi to connect to the market and having a file explorer from the get-go helps me enter my wifi credentials through a text file vs having to manually enter ridiculously complicated passwords by hand. not to mention my google account credentials. thanks
does this works on every phone?
Nope, just on Android phones
i was looking every where for this. hope works. ty
big thanks.worked perfect on my s advance (aicp rom,4.4)
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
Do you know how this helped me...
I have installed ported android l n my cell and there is a bug that we cant install apps. So i flashed this.
You have no idea how handy this came in.. Thanks
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
thanx a million for this, I've installed a custom ROM with no file file explore preinstalled and this helped a lot!
hkfan said:
Ok..Here it is flashable "ES Explorer". Might be useful for someone else also
Note : If it's illegal to do this then then just delete the post
Click to expand...
Click to collapse
5 years later I have found your little flashable lifesaver. thanks mate
Thank You
hkfan

[mod] ICS apk de/recompile script for APK Tool - Windows

ICS Framework-res.apk does not like to be decompiled and recompiled by APK tool.
The work around is to use 2 different versions of APK tool and keep swapping files for decompile and recompile.
I have put this in a handy little batch file package to manage all this. It really is basic stuff, but hopefully for those who are not quite sure, it will ease the pain a little.
Please feel free to test it. Enjoy:
This is an updated script to modify ICS *.apk using APK tool.
I take no credit for Apk tool or the process.
I have simply automated it for Windows as there are issues with ICS framework-res modification
Pre -requisites
1. WinRar
2. Java
Click to expand...
Click to collapse
Initial setup
1. Extract the apk folder from the .zip to the root of C:\
The structure should then look like c:\apk\ACTIONS
2. Go into c:\apk\ACTIONS\Install_files
3. Double click "Setup_Install.bat"
Click to expand...
Click to collapse
Usage
Simply double click START.bat and follow the instructions
Click to expand...
Click to collapse
Limitations
Can decompile any one .apk with any name at a time. Do not put any .apk files into the "in" folder until prompted to.
Click to expand...
Click to collapse
Thanks to Rob222 for confirming the method.
Updated the OP. Now can decompile / recompile any name .apk
Simple script. Double Click start and follow prompts.
hi!
got this problem
Ficheiro não encontrado
1 ficheiro(s) copiado(s).
Error: Unable to access jarfile C:\Windows\System32\\apktool.jar
Click to expand...
Click to collapse
any hint ?
i already made the java paths .. tryed java6 and java7
but always that error
ruizit0 said:
hi!
got this problem
any hint ?
i already made the java paths .. tryed java6 and java7
but always that error
Click to expand...
Click to collapse
What command did you run when you did that?
Did you run the setup file first?
You will need to be an administrator. Are you? If so try right click on the start script > Run as administrator
Just realised I somehow had left part of the usage instructions for the old version in the post by mistake. That maybe why some of you have issues.
Nice one bro... that was surely something that many have tried.. nice work..
Sent from my GT-I9300 using Tapatalk 2
Did not work
I set up the script as per the OP but I get the error attached
Think I need this. Getting errors trying to build apks.
Sent from my GT-I9300 using xda premium
Phone_Guru said:
I set up the script as per the OP but I get the error attached
Click to expand...
Click to collapse
Please walk me through, step by step what you did from downloading to receiving this error
Sent from my GT-I9300 using Tapatalk 2
Hey I'm a total noob with apktool on win. But I have unzipped apks on my phone using root explorer swapping res files and made working theme mods...
Could you guide to a good guide to doing this stuff on windows with a GUI I'm code illiterate virtually but know what's going on
Sent from my GT-I9300 using xda premium
I was able to get the CM 10 Framework-res to decompile and recompile using this version:
http://www.mediafire.com/?clk29i70rg7n8i9
The beauty of apks is that if you're swapping oranges for oranges, you don't need to decompile. You only really need to decompile if you're changing XML files.
To swap one image for another image with the same name is easy.
1)Download winrar (or 7zip - but I use winrar).
2)Open the apk with winrar (do NOT extract)
3)Delete the images you want to change
4)Drag the replacement images back in. When the window pops up with options, change "compression" to "store"
5)Close winrar
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
The beauty of apks is that if you're swapping oranges for oranges, you don't need to decompile. You only really need to decompile if you're changing XML files.
To swap one image for another image with the same name is easy.
1)Download winrar (or 7zip - but I use winrar).
2)Open the apk with winrar (do NOT extract)
3)Delete the images you want to change
4)Drag the replacement images back in. When the window pops up with options, change "compression" to "store"
5)Close winrar
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Oh... yeah cool so this automates replacing different images in the apk with the same location... I just use a vrtheme skeleton CMW.zip folder and zip it when done for flashing.
So how do you decompile the arsc archive and mess with deeper stuff?
Sent from my GT-I9300 using xda premium
thankssssssssssssssssssssss Alot
first i Run Setup_instal.bat as administrator in "C:\apk\ACTIONS\Install_Files"
after that my problem solve (i have problem like post 2 and 3)
and thats Awsome ,
graffixnyc said:
content removed
Click to expand...
Click to collapse
Kindly remove your link. This thread is about the mod I am sharing, which I scripted. It is not about other mods.
rlorange said:
Oh... yeah cool so this automates replacing different images in the apk with the same location... I just use a vrtheme skeleton CMW.zip folder and zip it when done for flashing.
So how do you decompile the arsc archive and mess with deeper stuff?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
No, you don't use this at all if you're going to be changing images. This is for the deeper stuff.
rootSU said:
Please walk me through, step by step what you did from downloading to receiving this error
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I did exactly what the OP says, extracted the files into the root of the C drive, ran the setup and clicked on the start.bat and followed instructions. I now ran the setup again and took a screenshot of what appeared because it was so fast I couldn't see it. It said access denied and 0 files copied. I then took ownership of the System32 folder and ran setup again and it said 1 file copied. I now ran the start.bat again and got the attached error.
So am I right in thinking that you can't simply merge folders/files and zip like you can with root explorer because windows is not a Linux system?
Sent from my GT-I9300 using xda premium
Phone_Guru said:
I did exactly what the OP says, extracted the files into the root of the C drive, ran the setup and clicked on the start.bat and followed instructions. I now ran the setup again and took a screenshot of what appeared because it was so fast I couldn't see it. It said access denied and 0 files copied. I then took ownership of the System32 folder and ran setup again and it said 1 file copied. I now ran the start.bat again and got the attached error.
Click to expand...
Click to collapse
can you try right clicking the start.bat and run as administrator please? You're still getting access denied messages.
rlorange said:
So am I right in thinking that you can't simply merge folders/files and zip like you can with root explorer because windows is not a Linux system?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
You can swap anything like-for-like. You can put in a replacement folder, xml file or png as long as everything has the same name.
If you want to edit an existing XML, you cannot do this without decompiling as when an xml is compiled, it does not appear as plain text. Similarly if you want to add more pngs or xml files, resources changed so it has to be decompiled too.
But if its simply swapping like-for-like, you can just use winrar or 7zip as mentioned earlier.
rootSU said:
can you try right clicking the start.bat and run as administrator please? You're still getting access denied messages.
Click to expand...
Click to collapse
I tried that and still got the error messages.

Bloatware Script S8, little help

After I install a rom I delete about 130 apk with Titanium Backup.
Can somebody point me in a direction on how I can make a flashable zip for removal?
I do not know where to find the full names of the apk's and where to start.
I have screenshots of all apk's I delete with TB.
LyLu said:
After I install a rom I delete about 130 apk with Titanium Backup.
Can somebody point me in a direction on how I can make a flashable zip for removal?
I do not know where to find the full names of the apk's and where to start.
I have screenshots of all apk's I delete with TB.
Click to expand...
Click to collapse
I might be able to help with this.
I wished to created one and managed to seek help on XDA on accomplishing this.
I've attached the debloat script.
In order to edit it you'll need to open it up on a computer and use Notepad++, thought when I used that I seemed to always get an error then when attempting flashing in TWRP. So I used my phone to do so.
Navigate to:
META-INF/com/google/android and open the updater-script file
You'll need to add/remove the lines such as:
delete_recursive("/system/app/AAAService");
Just make sure that you keep all formatting the same, such as making sure no unnecessary spaces are left in between lines and that each line keeps the semi-colon at the end of each sentence.
Then flash in TWRP.
Be mindful that there is part in that script that will wipe the caches too. Also the script is a little messy and I need to get round to deleting some as I think there are some duplicates. It's a huge heavy debloat list at present, inclusive of alot of Samsung stuff. So edit accordingly.
I've settled just for freezing them so far but it's my intention to finalise this debloat script and use after flashing a new rom.
Let me know how it goes.
cd993 said:
I might be able to help with this.
I wished to created one and managed to seek help on XDA on accomplishing this.
I've attached the debloat script.
In order to edit it you'll need to open it up on a computer and use Notepad++, thought when I used that I seemed to always get an error then when attempting flashing in TWRP. So I used my phone to do so.
Navigate to:
META-INF/com/google/android and open the updater-script file
You'll need to add/remove the lines such as:
delete_recursive("/system/app/AAAService");
Just make sure that you keep all formatting the same, such as making sure no unnecessary spaces are left in between lines and that each line keeps the semi-colon at the end of each sentence.
Then flash in TWRP.
Be mindful that there is part in that script that will wipe the caches too. Also the script is a little messy and I need to get round to deleting some as I think there are some duplicates. It's a huge heavy debloat list at present, inclusive of alot of Samsung stuff. So edit accordingly.
I've settled just for freezing them so far but it's my intention to finalise this debloat script and use after flashing a new rom.
Let me know how it goes.
Click to expand...
Click to collapse
Thank you very much! I will have a look and test
LyLu said:
Thank you very much! I will have a look and test
Click to expand...
Click to collapse
You're welcome.
I've still yet to test if but waiting in a new version of my favourite rom to be released.
I'm tempted to get a Note 8 port rom and debloat the hell out of it, even all Samsung stuff and try make as pure android as possible experience. Or do the same with an S8 rom. But for now just settled with freezing
would love a reliable list for debloating, this is a great step, thanks
cd993 said:
You're welcome.
I've still yet to test if but waiting in a new version of my favourite rom to be released.
I'm tempted to get a Note 8 port rom and debloat the hell out of it, even all Samsung stuff and try make as pure android as possible experience. Or do the same with an S8 rom. But for now just settled with freezing
Click to expand...
Click to collapse
Now I have taken away some of the lines that makes the phone not boot, like smartcardmanager etc, these can be frosen but not uninstaled from phone, or the phone wont boot!
I have a problem with the script tough, when I try to flash I get error: 6 in TWRP
LyLu said:
Now I have taken away some of the lines that makes the phone not boot, like smartcardmanager etc, these can be frosen but not uninstaled from phone, or the phone wont boot!
I have a problem with the script tough, when I try to flash I get error: 6 in TWRP
Click to expand...
Click to collapse
Ahh really? Sorry to hear this! Like I say I hadn't actually used it as such.
How did you edit the script? As I kept getting that error too, though when I used my phone to edit it rather than using my computer, that worked without that error 6
cd993 said:
Ahh really? Sorry to hear this! Like I say I hadn't actually used it as such.
How did you edit the script? As I kept getting that error too, though when I used my phone to edit it rather than using my computer, that worked without that error 6
Click to expand...
Click to collapse
Notepad+
What app you use to edit on your phone?
LyLu said:
Notepad+
What app you use to edit on your phone?
Click to expand...
Click to collapse
I used X-plore and open as a text document. Then used the edit button (top right), made ammendments and then save
This script will be a massive benefit to those (like me) you want a lite ROM with minimal Samsung stuff, thanks.
cd993 said:
I might be able to help with this.
I wished to created one and managed to seek help on XDA on accomplishing this.
I've attached the debloat script.
In order to edit it you'll need to open it up on a computer and use Notepad++, thought when I used that I seemed to always get an error then when attempting flashing in TWRP. So I used my phone to do so.
Navigate to:
META-INF/com/google/android and open the updater-script file
You'll need to add/remove the lines such as:
delete_recursive("/system/app/AAAService");
Just make sure that you keep all formatting the same, such as making sure no unnecessary spaces are left in between lines and that each line keeps the semi-colon at the end of each sentence.
Then flash in TWRP.
Be mindful that there is part in that script that will wipe the caches too. Also the script is a little messy and I need to get round to deleting some as I think there are some duplicates. It's a huge heavy debloat list at present, inclusive of alot of Samsung stuff. So edit accordingly.
I've settled just for freezing them so far but it's my intention to finalise this debloat script and use after flashing a new rom.
Let me know how it goes.
Click to expand...
Click to collapse
Thanks...but it´s possible add system apps too?? After the debloat i need to install some system apps to my rom....if the script do that it was very very nice tooo ....can you help me???

Categories

Resources