[TOOL/BATCH] [BETA] Bloatware remover for CM - Xperia Play Android Development

Hi there!
I've made a little tool that helped me removing some unneeded apps which come with Cyanogenmod (7.2).
It's designed to work for me, but you can use it as wel, you just have to review the code and see which apps you don't want to remove.
This comes with no warranty, take a backup before using this!
All the apps that will be removed are named in the 'Bloatware'-section. If you want to keep a listed app, just remove the line and save the code!
Note: This tool has been made in a short amount of time and my coding skills aren't that good. If you want to help me on this tool or you have a suggestion for an extra function I can give it in the future, let me know!
Sources:
http://wiki.cyanogenmod.com/wiki/Barebones
http://forum.xda-developers.com/showthread.php?t=1089470
Sorry for my awful english..

why not make a simple update.zip, which u can flash via recovery to delete these apps

DooMLoRD said:
why not make a simple update.zip, which u can flash via recovery to delete these apps
Click to expand...
Click to collapse
'cause I think it will be harder for other people to edit it and I will add more functions to this in the future.

DooMLoRD said:
why not make a simple update.zip, which u can flash via recovery to delete these apps
Click to expand...
Click to collapse
this is what i usually do so much easier and effective.

I've always found it easier to just manually delete apks from the archive before flashing

Related

How to create roms by ourselves?

Hello,everyone
How to create roms by ourselves? I mean, create the tar file that can be used by odin and all the files in the tar file, such as factoryfs.rfs.
coolshadow said:
Hello,everyone
How to create roms by ourselves? I mean, create the tar file that can be used by odin and all the files in the tar file, such as factoryfs.rfs.
Click to expand...
Click to collapse
I'm not sure if you were hoping it's easier than it is, but this is not a small endeavour. Also, there really isn't any one tutorial on it because it's a very broad concept. If you are interested, however, there are tons of threads and tutorials on everything from building custom kernels to theming.
I'd suggest you start with what you most want to change about a rom, and look up how to do that one thing. Then work your way up from there.
MWBehr said:
I'm not sure if you were hoping it's easier than it is, but this is not a small endeavour. Also, there really isn't any one tutorial on it because it's a very broad concept. If you are interested, however, there are tons of threads and tutorials on everything from building custom kernels to theming.
I'd suggest you start with what you most want to change about a rom, and look up how to do that one thing. Then work your way up from there.
Click to expand...
Click to collapse
Thanks
In detail, I want to customize the rom, so as to delete or add some apps in the rom. such as the official rom, it has lots of tmobile apps, I want to delete them
coolshadow said:
Thanks
In detail, I want to customize the rom, so as to delete or add some apps in the rom. such as the official rom, it has lots of tmobile apps, I want to delete them
Click to expand...
Click to collapse
well if that's what you want to accomplish then root the phone. download root explorer or titanium backup from the market to delete your unwanted stock apps.
*try titanium backup - i think it'll be easier on you to start with.
as for everything else.. it's more of a search and read, search and read, search and read, trial and error, trial and error, trial and error, repeat process.
xtone said:
well if that's what you want to accomplish then root the phone. download root explorer or titanium backup from the market to delete your unwanted stock apps.
*try titanium backup - i think it'll be easier on you to start with.
as for everything else.. it's more of a search and read, search and read, search and read, trial and error, trial and error, trial and error, repeat process.
Click to expand...
Click to collapse
Yes, those will work well. Also, there's a nice little small footprint app made by our own birgertime called Bloater you can find here: http://forum.xda-developers.com/showthread.php?t=939451&highlight=bloater
It was made for our phones and will only add/remove apps that are safe to mess with. I recommend this because some apps will cause you problems if you try to remove them.
OK, thank you guys

--(Tool)-- CustomSuperZipBuilder/Batch apk installer. Please post your requests.

Ok I'm building this out some more. I added to the bottom of this post with future changes and am asking for requests of what the community wants in a this. Please read entire op. It's not that long yet..... Yet. Lol. It will be I forgot to nab a couple for changelog. I will get on Ubuntu and format this for the site but I'm on tapatalk til that happens.
So..
How many times have you flashed a new ROM or an update and had to go through the hassle of reinstalling or restoring all your must have apps? I usually have about 60 to 80 apps that I was installing/restoring with titanium backup. It's a pain. You gotta sign into Google and go DL titanium backup or whatever app you use. Wait while it installs all your apps. That, I guess, is if you have TiBu pro, if not its one by one. A painstaking process to say the least.
Well I was sick of it so I did something about it. I made a flashable zip you can add your apps to and flash from recovery to bulk install as many apps as you like all at once.
Here is a simple but endlessly useful tool I whiped up. What this allows the user to do is take any amount of apk files that you want (granted you have enough room) and restore them in a painless onetime flash from recovery.
Simple to use. Just follow this quick guide to get started.
Step 1. Download the file at the bottom of this post. Save it to your SD card wherever you can remember where it is.
Step 2. Using root explorer extract the zip folder to wherever you want to, I recomend makeing a temp folder to work in.
Step 3. Using root explorer or astro file manager navigate to your data/app folder.
Step 4. Start a multiple selection and choose all apps that you would like from your data/app folder to be automatically flashed back to your device next time you need to do so.
Step 5 COPY don't MOVE your selections to the data/app folder of the bulk-installerV1 that you extracted earlier.
Step 5.5 At this time if you have other apks you want to use that are not in there already now is your chance to get them in there as well.
Step 6. Rezip with root explorer or astro. And if you so choose rename the zip to update.zip and place on the root of your sd card. Or leave the original name if you prefer.
That's all, now next time you flash a new ROM or wipe your data and want your base apps back all you need to do is flash it from recovery. Or if you renamed it to update.zip and put in sdcard root you can choose apply sdcard update.zip and it will do it thing.
I have tested this on my evo3d and it works great, I wrote it on my phone with root explorers file editor so I made sure to test it with both twrp and cwm5.
***Disclaimer***
As always if it makes your phone do crazy things or kicks your dog. Or steals your wallet. Well that sucks. Sorry.
***Disclaimer***
If you find it useful remember to hit the thanks button.
Hope you all enjoy it, and I hope it makes life a bit easier for you all.
Download link.
https://www.dropbox.com/s/nwodh0grer1rdhf/bulk-installerV1.zip
FAQ..
alammori said:
Does that restore your apps and data or just the apps?
Click to expand...
Click to collapse
No it will not save data of any sort. Next version I will see about writing some more to the updater to be able to add data to. That's more reading. This is my first albiet simple script, and ill add to it for sure. However you can put TiBu in the update folder and when you boot up it'll be a few seconds extra to restore just data for certain apps instead of the whole app.
Update...
I'm working on building my "superzip". I will update the op when I get there.
But expected additions are..
Incorporate init.d path for custom scripts.
system/app option.
Cleanup after flash (cache and dalvik)
Path for themes, add what you want.
Two versions also, one with system tweaks from our awesome devs. I'm currently building it and asking permissions to bake in stuff from certain developers and various mods and tweaks from various developers on xda. I want to add the stuff. But further, I would ask everyone what tweaks they might want written in. Please throw stuff out and ill get to putting this together.
Till then.
Sent from my PG86100 using Tapatalk
nice bro ill have to give this a shot......
i was just thinking about this. this is really the only reason i'm not more flash happy. going through the hassle of restoring my apps has been the main reason i havent been trying out all the evo 3d roms lately. i will definitely give this a try. thank you.
Awesome!
Now if you could create something similar that would place all of my non-Sense Widgets back on my homescreens in their proper places I would be your friend forever
Thanks man I have been using it LOL I just rewrite the update script to show what it was and who made it. Decided to share it. I hope people find it useful
Sent from my PG86100 using Tapatalk
mitchellvii said:
Awesome!
Now if you could create something similar that would place all of my non-Sense Widgets back on my homescreens in their proper places I would be your friend forever
Click to expand...
Click to collapse
I wish I new where to even start on that LOL. Sorry
Sent from my PG86100 using Tapatalk
Thanks. Downloading now and will give it a try my next flash : )
Does that restore your apps and data or just the apps?
alammori said:
Does that restore your apps and data or just the apps?
Click to expand...
Click to collapse
Added a FAQ section to OP the answer is there.
Once you use this respond with your thoughts guys. Much appreciated.
Sent from my PG86100 using Tapatalk
Awesome, thanks for this. Seems to be the simplest way of restoring apps. My girlfriend on the other hand does not appreciate it bc your feeding my flashing addiction lol
I think i will create two of them, one for Sense roms and the other for AOSP. =)
I use the same setup for both but all my apps are pretty much compatible with both sense and aosp. Remember no data goes just fresh apps on a fresh ROM. Simple and as custom as you make it.
Sent from my PG86100 using Tapatalk
mikedavis120 said:
I use the same setup for both but all my apps are pretty much compatible with both sense and aosp. Remember no data goes just fresh apps on a fresh ROM. Simple and as custom as you make it.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
I tend to use a lot more apks on aosp because of theme builder themes, go launcher and go sms themes, and certain apps to replace sense widgets.
It worked beautifully. Thanks. That temp file is still in the extracted section of root explorer. So in the future as I am adding more apps can I just put them in there and rezip? also I renamed the temp file to update and I had to flash it. Thats not a problem but it sounded like changing the name to update would give an easier way to install. How does that work? Either way I'll be using this from now on. It kind of reminds me of the sashimi days( I think that is what it was called) from windows mobile
mjcole2003 said:
It worked beautifully. Thanks. That temp file is still in the extracted section of root explorer. So in the future as I am adding more apps can I just put them in there and rezip? also I renamed the temp file to update and I had to flash it. Thats not a problem but it sounded like changing the name to update would give an easier way to install. How does that work? Either way I'll be using this from now on. It kind of reminds me of the sashimi days( I think that is what it was called) from windows mobile
Click to expand...
Click to collapse
That's what I usually do. Just keep a working directory going. Glad it worked for you.
Sent from my PG86100 using Tapatalk
DL link not working... thx !
vizionforever said:
DL link not working... thx !
Click to expand...
Click to collapse
Second thing I've tried to download from dropbox and it said 404. May be dropbox.
Sent from my PG86100 using Tapatalk
vizionforever said:
DL link not working... thx !
Click to expand...
Click to collapse
speedracerbubba said:
Second thing I've tried to download from dropbox and it said 404. May be dropbox.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
here you go:
I actually did this with a gapps flashable... Remived all google apps and added root explorer and TiBu...
Sent from my PG86100 using xda premium
MFD00M said:
Awesome, thanks for this. Seems to be the simplest way of restoring apps. My girlfriend on the other hand does not appreciate it bc your feeding my flashing addiction lol
I think i will create two of them, one for Sense roms and the other for AOSP. =)
Click to expand...
Click to collapse
The simplest way is just restoring the data partition from recovery. It restores both the apps and the associated data, so you don't lose anything.
btw, nice work, just not for me, too much work for such little return.
mikedavis120 said:
Ok I'm building this out some more. I added to the bottom of this post with future changes and am asking for requests of what the community wants in a this. Please read entire op. It's not that long yet..... Yet. Lol. It will be I forgot to nab a couple for changelog. I will get on Ubuntu and format this for the site but I'm on tapatalk til that happens.
So..
How many times have you flashed a new ROM or an update and had to go through the hassle of reinstalling or restoring all your must have apps? I usually have about 60 to 80 apps that I was installing/restoring with titanium backup. It's a pain. You gotta sign into Google and go DL titanium backup or whatever app you use. Wait while it installs all your apps. That, I guess, is if you have TiBu pro, if not its one by one. A painstaking process to say the least.
Well I was sick of it so I did something about it. I made a flashable zip you can add your apps to and flash from recovery to bulk install as many apps as you like all at once.
Here is a simple but endlessly useful tool I whiped up. What this allows the user to do is take any amount of apk files that you want (granted you have enough room) and restore them in a painless onetime flash from recovery.
Simple to use. Just follow this quick guide to get started.
Step 1. Download the file at the bottom of this post. Save it to your SD card wherever you can remember where it is.
Step 2. Using root explorer extract the zip folder to wherever you want to, I recomend makeing a temp folder to work in.
Step 3. Using root explorer or astro file manager navigate to your data/app folder.
Step 4. Start a multiple selection and choose all apps that you would like from your data/app folder to be automatically flashed back to your device next time you need to do so.
Step 5 COPY don't MOVE your selections to the data/app folder of the bulk-installerV1 that you extracted earlier.
Step 5.5 At this time if you have other apks you want to use that are not in there already now is your chance to get them in there as well.
Step 6. Rezip with root explorer or astro. And if you so choose rename the zip to update.zip and place on the root of your sd card. Or leave the original name if you prefer.
That's all, now next time you flash a new ROM or wipe your data and want your base apps back all you need to do is flash it from recovery. Or if you renamed it to update.zip and put in sdcard root you can choose apply sdcard update.zip and it will do it thing.
I have tested this on my evo3d and it works great, I wrote it on my phone with root explorers file editor so I made sure to test it with both twrp and cwm5.
***Disclaimer***
As always if it makes your phone do crazy things or kicks your dog. Or steals your wallet. Well that sucks. Sorry.
***Disclaimer***
If you find it useful remember to hit the thanks button.
Hope you all enjoy it, and I hope it makes life a bit easier for you all.
Download link.
https://www.dropbox.com/s/nwodh0grer1rdhf/bulk-installerV1.zip
FAQ..
No it will not save data of any sort. Next version I will see about writing some more to the updater to be able to add data to. That's more reading. This is my first albiet simple script, and ill add to it for sure. However you can put TiBu in the update folder and when you boot up it'll be a few seconds extra to restore just data for certain apps instead of the whole app.
Update...
I'm working on building my "superzip". I will update the op when I get there.
But expected additions are..
Incorporate init.d path for custom scripts.
system/app option.
Cleanup after flash (cache and dalvik)
Path for themes, add what you want.
Two versions also, one with system tweaks from our awesome devs. I'm currently building it and asking permissions to bake in stuff from certain developers and various mods and tweaks from various developers on xda. I want to add the stuff. But further, I would ask everyone what tweaks they might want written in. Please throw stuff out and ill get to putting this together.
Till then.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
the link down bro

Can someone write a flashable debloater for ICS leaked.

You read the title.
Someone please write a debloater for the new leaked ICS!
This Ruu is awesome but too much crapware XD
Thanks ahead!
SharpNick said:
You read the title.
Someone please write a debloater for the new leaked ICS!
This Ruu is awesome but too much crapware XD
Thanks ahead!
Click to expand...
Click to collapse
It can and will be done, however everyone's idea of crapware varies. You can remove the apps you don't want by using RootExplorer and delete the unwanted .apks in /system/app
Or titanium backup if u don't know what's safe/unsafe to remove. You can freeze to test.
Sent from my HTC Ruby running Sense 3.6
thanks! good idea with titanium backup! and I tried /system/app but it says its read only, i know everything about permission and all and i just think its because the apps where running in back ground but ill try with titanium backup i remember it was easier last time i did it
SharpNick said:
thanks! good idea with titanium backup! and I tried /system/app but it says its read only, i know everything about permission and all and i just think its because the apps where running in back ground but ill try with titanium backup i remember it was easier last time i did it
Click to expand...
Click to collapse
If you are using RootExplorer, click the mount r/w icon up at the top right. You have to use a file explorer that supports changing read permissions to writeable. Otherwise Titanium Backup is a great and safe alternative.
What all IS safe to remove that won't break anything? I froze a bunch of stuff and then all hell broke loose and I had to reflash everything so I don't want to risk removing essential stuff again...
ill make a list if you guys want and post up
mrmako777 said:
ill make a list if you guys want and post up
Click to expand...
Click to collapse
That'd be really nice haha
SharpNick said:
You read the title.
Someone please write a debloater for the new leaked ICS!
This Ruu is awesome but too much crapware XD
Thanks ahead!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1217664
I always use this! You could always edit the text file to add or remove applications you don't want.
I just posted a list of everything that I have found is safe to remove here - http://forum.xda-developers.com/showpost.php?p=25316549&postcount=87
I think system tuner is free or really cheap, in the one click part of the app you can backup, freeze, or uninstall system apps if you have root..

[Q] Customizing CyanogenMod 10.2 prior to installing

As the topic states, there are a bunch of prebundled apps that come with cyanogen I'd like to remove & replace (listed below); is it as simple as removing them from the .zip and adding the ones I want? Or is there more to it?
Also the apps I want to add, can I also include their backup data from the /data folder or does that have to be done after?
I think its just as simple as, extracting the zip files, removing the apks, and adding the ones I want, then repacking the zip?
Replace:
- Apollo with Poweramp
- Trebeck (or w/e it is) with Nova Prime
- AOSP Keyboard with SwiftKeyboard
- a custom kernel (just copy/replace the kernel zips files with whatever comes in cyanogens zip?)
- some others, but you get the gist
Remove:
- DSP Manager
- Exchange Services
- Email
- News & Weather
- some others (I know about the list(s) of safe apps to delete [1][2])
Add:
- Fonts
- Apps that I always install on a fresh install (Titanium Backup, Busybox, ROM Toolbox, etc)
I know about This Thread explaining how to build your own ROM, but I feel like that is more complicated process for (what seems simple) what I want to do.
BUMP
Bumping this question
I have done this with mr-cook's cooked ROM but have never tried it on a cm one. Sammy roms you just cut and paste the apk into the preload folder. I don't see why couldn't do that with the gapps zip. If it doesn't work you can just wipe and start over.
Also you can use titanium back up pro to do the same thing within the ROM
razen_kain said:
I have done this with mr-cook's cooked ROM but have never tried it on a cm one. Sammy roms you just cut and paste the apk into the preload folder. I don't see why couldn't do that with the gapps zip. If it doesn't work you can just wipe and start over.
Also you can use titanium back up pro to do the same thing within the ROM
Click to expand...
Click to collapse
i would put them in the /preload folder? i thought i would put them with the other .apks (/system/app/)?
ksaul said:
i would put them in the /preload folder? i thought i would put them with the other .apks (/system/app/)?
Click to expand...
Click to collapse
That is if you were using a Samsung based ROM. I don't think cm will be the same but like i said you can try it.
On a Samsung ROM it would need to be placed in preload/symlink/system/app in the zip file before you flash it. I don't think cm has this file.
You could try putting it in the system app file But like i said if it doesn't work, the worst thing that could happen is the ROM doesn't flash, doesn't boot, or it boots and you get a bunch of fc of apps. All you have to do is wipe and start over.
ksaul said:
is it as simple as removing them from the .zip and adding the ones I want?
Click to expand...
Click to collapse
Yes.
ksaul said:
Also the apps I want to add, can I also include their backup data from the /data folder or does that have to be done after?
Click to expand...
Click to collapse
Not as easy as the apps as it would require changes to the updater script. Plus it could cause issues.
ksaul said:
I think its just as simple as, extracting the zip files, removing the apks, and adding the ones I want, then repacking the zip?
Click to expand...
Click to collapse
Actually your better off if you just use 7zip or WinRAR and open the zip instead of extract it. Navigate to the system apps folder and delete or add what your need to. It's as simple as drag and drop.
ksaul said:
Add:
- Fonts
- Apps that I always install on a fresh install (Titanium Backup, Busybox, ROM Toolbox, etc)
Click to expand...
Click to collapse
The fonts I have no clue. These apps would require changes to the updater script to put them in data where they belong.
Sent from my SGH-S959G
mr-cook said:
Yes.
Not as easy as the apps as it would require changes to the updater script. Plus it could cause issues.
Actually your better off if you just use 7zip or WinRAR and open the zip instead of extract it. Navigate to the system apps folder and delete or add what your need to. It's as simple as drag and drop.
The fonts I have no clue. These apps would require changes to the updater script to put them in data where they belong.
Sent from my SGH-S959G
Click to expand...
Click to collapse
great thank you mr-cook!
and the .apks that i put in the system/app folder, (specifically Nova launcher), i put the install .apk correct, as thats the only .apk i have for it.
And I also want to replace Browser.apk with Chrome; same procedure as the rest?
I guess its really just a trial-and-run scenario instead of asking questions... best way to learn
for those curious, or come across the same question: it worked out perfectly.
As far as the fonts go, I just added them to the system/fonts folder- worked as planned!

create flashable apps file ?

Question is how can i create a zip file that includes the apps i want to install through the RecoveryMenu through CWM !?
like for example apps like viber/dolphin browser/etc. <<<< those backin up as a flashable zip file where its easier to install just through CWM installin all in one package takin less time to install the apps, i hope u understand ! is there an app that lets u do that ?! i tried one called Flashbackup < but it wouldnt work .
Maybe you could take an existing 'removed apps' CWM flashable package (there are plenty of these around for different devices/roms), take all the apps out of it, add the ones you want, and change the updater script (if necessary) ?
Never done this myself & just thinking aloud, might be a starting point for more research for you.
i will try that ! XD
Titanium Backup does this.....I have used it to do just that on several occasions........mind you, the version I use is the paid version.....not sure if the free version offers this function.......
This might be my S2, or it might be my W...but it's definitely CM
keithross39 said:
Titanium Backup does this.....I have used it to do just that on several occasions........mind you, the version I use is the paid version.....not sure if the free version offers this function.......
This might be my S2, or it might be my W...but it's definitely CM
Click to expand...
Click to collapse
how exactly do you do it !? i want to back up multiple apps into a flashable .zip file
step by step pls.
Oh yeah, of course. Forgot about that (have never used it). Good suggestion Keith, way easier than my idea.
In Ti click the green tick, then scroll down to recovery mode/create update.zip from app + data backup, then choose the apps you want & whether you want apps/data/both (don't choose system apps), hit the green tick again & wait while it does it's thing.
But yeah, you do need to pay ($6.50 if I were to buy it now) for the pro version. Well worth the money if you don't already have it/even if you don't use it for this.
+1^………totally agree with @MistahBungle. It's one of the most useful apps that anybody running a rooted phone can install......
This might be my S2, or it might be my W...but it's definitely CM
yosh, awesome guys thanks .

Categories

Resources