[CWM] BloatWare Remover V2 - Galaxy S Plus I9001 Android Development

It took me a hour to make, a lots of restoring backup and a lot of Error 6 and stupid typo's inside the script xD (oops).
But I finnaly get a working script! :highfive:
Reminder: It is my first work here so be nice to me ​
The script is based of the one you can find here: click I have modified this completly.
This script simply removes bloatware apps.
The script:
Code:
ui_print(" Bloatware Remover Script ");
ui_print("+++++++++++++++++++++++++++");
ui_print(" prepared by ");
ui_print(" [email protected] ");
ui_print(" ");
ui_print("+++++++++++++++++++++++++++");
ui_print(" Modified by ");
ui_print(" [email protected] ");
ui_print("+++++++++++++++++++++++++++");
ui_print(" ");
ui_print("Start to remove the Bloatware");
show_progress(0.500000, 0);
ui_print(" ");
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" ");
ui_print("Deleting bloatware applications...");
delete("/system/app/aldiko-standard-1.2.6.1-samsung-s1.apk");
delete("/system/app/BuddiesNow.apk");
delete("/system/app/DualClock.apk");
delete("/system/app/Dlna.apk");
delete("/system/app/Days.apk");
delete("/system/app/Exchange.apk");
delete("/system/app/FactoryTest.apk");
delete("/system/app/GenieWidget.apk");
delete("/system/app/InfoAlarm.apk");
delete("/system/app/KiesAir.apk");
delete("/system/app/lcdtest.apk");
delete("/system/app/MiniDiary.apk");
delete("/system/app/PressReader.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/signin.apk");
delete("/system/app/SocialHub.apk");
delete("/system/app/Stk.apk");
delete("/system/app/syncmldm.apk");
delete("/system/app/syncmlds.apk");
delete("/system/app/wssyncmlnps.apk");
delete("/system/app/MusicHub.apk");
delete("/system/app/Layar-samsung.apk");
delete("/system/app/SamsungappsUNA3.apk");
delete("/system/app/Telegraaf.apk");
delete("/system/app/thinkdroid.apk");
delete("/system/app/WriteandGo.apk");
delete("/sytem/app/YouTube.apk");
delete("/system/app/MMM_for_Smartphone.1.7.3.apk");
delete("/system/app/Talk.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/UnifiedInbox.apk");
ui_print("DONE");
ui_print(" ");
ui_print("Deleting bloatware odexfiles...");
delete("/system/app/BuddiesNow.odex");
delete("/system/app/DualClock.odex");
delete("/system/app/Dlna.odex");
delete("/system/app/Days.odex");
delete("/system/app/Exchange.odex");
delete("/system/app/FactoryTest.odex");
delete("/system/app/GenieWidget.odex");
delete("/system/app/InfoAlarm.apk");
delete("/system/app/KiesAir.odex");
delete("/system/app/lcdtest.odex");
delete("/system/app/MiniDiary.odex");
delete("/system/app/PressReader.odex");
delete("/system/app/SamsungApps.odex");
delete("/system/app/signin.odex");
delete("/system/app/SocialHub.odex");
delete("/system/app/Stk.odex");
delete("/system/app/syncmldm.odex");
delete("/system/app/syncmlds.odex");
delete("/system/app/wssyncmlnps.odex");
delete("/system/app/WriteandGo.odex");
delete("/system/app/YouTube.odex");
delete("/system/app/Talk.odex");
delete("/system/app/PlusOne.odex");
delete("/system/app/UnifiedInbox.odex");
ui_print("DONE");
ui_print("Unmounting system...");
unmount("/system");
ui_print(" ");
ui_print(" ");
ui_print("Removing complete! YAAY");
ui_print("++++++++++++++++++");
show_progress(0.900000, 0);
ui_print(" ");
ui_print(" ");
ui_print("Reboot your phone! And leave a Thanks!");
show_progress(1.000000, 0);
I am very proud of it mainly because its my first work here on XDA!!
Instructions:
- Download attachment
- Put on SD
- Reboot recovery
- Flash Bloatware remover V2
- Reboot phone
- Done
REMINDER: The touchwiz launcher of Samsung is bugged as hell so you can do three thing to prevent pointless holes in your launcher
- Perform factory reset
- Reboot phone go to settings > apps > Manage apps > all > Touchwizlauncher/TWlauncher> delete data
- Apply this mod/zip right after flashing stock rom (CWM is required so flash that after flashing stock)
You can easy mod this script by your self.
To save any app remove the lines:
Example: You want to save youtube remove these two lines:
Code:
delete("/system/app/YouTube.odex")
delete("/system/app/YouTube.apk")
If you want to add files:
Add these lines inside the script
Code:
delete("/system/app/nameofapp.odex")
delete("/system/app/nameofapp.apk")
REMINDER: The script is pretty sensitive so copy/paste the name perfect (it will either results in an error or not removed app)
Lists of apps that can be removed safely:
Link 1
Link 2
CREDITS:
XeLLaR* and Stepie22 for help inside OT thread
encik_racun for original script
Regards and leave a thanks
Edit: Thread needs to be moved by a mod (reported already)

Nice! I used it for my gaming backup and worked very good! Thanks!
Gesendet von meinem QW TB-1517 mit Tapatalk 4

Related

Creation flashable zip sys-part CM10

Hi the crazy flash,
I open this topic for help creating a fix
CM10 ROM is Divided into 2 parts and some of the applications are installed on the / data partition due to Lack of space for full Jellybean installation.
Hence you will Have to reflash the rom you factory reset or Effective wipe / data partition.
Click to expand...
Click to collapse
After a restart install CM10 patch to system/app did not effect ?§!
Here is the solution I use busybox to inject App
I take this opportunity to fix some permission
If you have time of need flashable zip of this topic and for you!
Kernel or gapps or questions to ask permission
FixSysPartCM10
Code:
assert(getprop("ro.product.device") == "galaxysl" || getprop("ro.build.product") == "galaxysl" ||
getprop("ro.product.device") == "GT-I9003" || getprop("ro.build.product") == "GT-I9003");
ui_print(" ");
ui_print(" ********************************************** ");
ui_print(" * Fix reboot sys-parts/app by LoLaTiOn * ");
ui_print(" ********************************************** ");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/stl9", "/system");
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p3", "/data");
package_extract_dir("data", "/data");
symlink("/data/sys-parts/app","/system/app");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework");
set_perm_recursive(0, 0, 0755, 0644, "/data/app");
unmount("system");
run_program("/sbin/reboot");
instruction
Open zip with winrar
Add your app in \data\sys-parts\app
Create other folder in the system if time of need
Made you happy to share your patch and help the community
Enjoy...
my rom do not need this fix
Worked perfectly for me! Thanks
This is needed because CM10 with gapps does not fit our NAND aka ROM size.
Hence, the system apps are pushed into /data/sys-apps so that the entire ROM can work properly.. else full /system of jellybean does not fit on our small partition.

Unroot my phone in recovery mode

I've just updated a firmware from archos website (OTA972121_8916_V007049.zip)
for the archos 40 titanium.
I reboot in recovery mode, and after plugin the USB, I selected update from ADB. SO I ran
Code:
adb sideload OTA972121_8916_V007049.zip
in cmd, everything seemed to work.
I reboot and now my cell phone doesn't work anymore: i got a bootloop .
I must precise that I performed full adb backups just before. I tried to reset cache and data, didn't worked. My cellphone is already rooted.
I contacted Archos they asked me to return them the phone. Since I rooted the guarantee isn't available anymore, unless I "unroot" it. How to do it?
After searching a while I know there is a way but only for I9001. After extracting it I could open update-script and see pastebin.com/LqyqwwKq, so I edited it to make it work for my phone (the partition name I got it in the official archos firmware update)
Code:
ui_print("***********************************************");
show_progress(1.000000, 0);
ui_print(" Mounting SYSTEM...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
set_progress(0.100000);
ui_print(" Deleting SYSTEM:xbin/su...");
delete("/system/xbin/su");
set_progress(0.200000);
ui_print(" Deleting SYSTEM:app/Superuser.apk...");
delete("/system/app/Superuser.apk");
set_progress(0.300000);
ui_print(" Deleting SYSTEM:app/XPosedInstaller.apk...");
delete("/system/app/XPosedInstaller.apk");
set_progress(0.400000);
ui_print(" Deleting SYSTEM:app/XPrivacy.apk...");
delete("/system/app/XPrivacy.apk");
set_progress(0.500000);
ui_print(" Deleting SYSTEM:app/GravityBox.apk...");
delete("/system/app/GravityBox.apk");
set_progress(0.600000);
ui_print(" Deleting SYSTEM:app/Busybox.apk...");
delete("/system/app/Busybox.apk");
set_progress(0.700000);
ui_print(" Unmounting SYSTEM...");
unmount("/system");
set_progress(0.900000);
ui_print("Install complete. Bye Bye!");
set_progress(1.000000);
But is this script correct? Particulary, I'm not sure for GravityBox, XposedInstaller, XPrivacy, Busybox and SU (since when I root it it was w/ Boromir from Framaroot).

Recovery Flashable ZIP Error

Hi All,
I am trying to create a flash-able zip to remove some apps and I am getting this error
E: error executing updater binary in zip
Now here comes me question: is there a universal update-binary that I can use with CM11 / CM12 and is there a sample how to use it.
This is the updater-script I have written so far
Code:
ui_print("");
ui_print("Moutings Partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" ");
ui_print("Cleaning System Apps");
delete("/system/app/BasicDreams/");
ui_print("Adding Codename Lungo Sounds & Apex Launcher")
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
ui_print(" ");
ui_print("Unmounting partitions");
ui_print(" ");
ui_print("Finish");
I am using a Mac if that makes a difference..

How to remove bloatware by flashing zip

Make updater-script like this
ui_print("");
ui_print("REMOVE_BLOATWARE");
ui_print("*For Android *");
ui_print("");
ui_print("");
run_program("/sbin/busybox", "mount", "/system");delete("/system/app/folder/application.apk");
ui_print("");
unmount("/system");
ui_print("finish");
ui_print("CoOlstArDeViL");
ui_print(" with smiley ");
you have to replace folder and apllication.apk of you apk .
and use your brain
I'm new user so add url

Stuck at Sony bootloop after *.zip

Hey,
today I got my Z5 and tried to make myself a Deodexed rom. but somehow after I flash it my phone stucks at the Sony logo for a few seconds and then reboots.
I extracted the /system from the ext4 file, deodexed priv-app, app, framework, and put them into a .zip as well as the updater-script file. It seems to be installed properly, just yea, it boot loops.
Thats my "update-script"-File
show_progress(0.2, 1);
run_program("/sbin/busybox", "mount", "/");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" Extracting files... ");
ui_print(" ");
package_extract_dir("system", "/system");
ui_print(" Setting Permissions... ");
set_perm_recursive(0, 0, 0755, 0644, "/system");
ui_print(" Done... ");
run_program("/sbin/busybox", "umount", "/system");
show_progress(1, 1);
ui_print(" Please Reboot! ");
Click to expand...
Click to collapse

Categories

Resources