Related
This is a list of the apps I remove while in clockwork, with /system mounted etc... My question is, is there a way to have it do these commands automatically? I hate having to copy from notepad the commands as i have them saved, then right click in my cmd, paste, enter each and every single one
rm -r amazonmp3_1.6+24_signed_zipaligned.apk
rm -r AppPack2.0.apk
rm -r YouTube.apk
rm -r IM.apk
rm -r Mail.apk
rm -r vvm-signed.apk
rm -r Faves.apk
rm -r mytouchmusic-signed.apk
rm -r HtcTwitter.apk
rm -r com.htc.TwitterWidget.apk
rm -r FavesWidget.apk
rm -r htcmailwidgets.apk
rm -r HTCSetupWizard.apk
rm -r SelfHelp.apk
rm -r Hoops.apk
rm -r NatureTheme.apk
rm -r Palazzo.apk
rm -r Surf.apk
rm -r Wildflower.apk
rm -r com.htc.FriendStreamWidget.apk
rm -r com.htc.NewsReaderWidget.apk
rm -r com.htc.StockWidget.apk
rm -r com.htc.WeatherWidget.apk
You could create a batch script and put adb shell before each line, then when you have mounted /system just type in the name of the script IE remove.bat
sent from my *ROOTED* myTouch 3G Slide
adb does have an "uninstall" option. I'm not sure it would work in this situation. You could try a batch file that has "adb uninstall AppPack2.0.apk" for example and see if it works.
^ Will that work on the Slide?
<--- ADB newb
I tried removing apps using root explorer but when I mount the system again the phone reboots and the app is still there. Im just trying to find a way to remove some of the pointless apps.
You have to be in recovery mode because the /system NAND is protected otherwise.
Here's what I do:
1. Reboot the phone in recovery.
2. Run Clockworkmod (by applying update.zip in recovery).
3. Mount /system in Clockworkmod.
4. Now using adb shell, you can remove the apps in /system/app.
Thankyou very much
Just want to share my command list to convert Galaxy Ace firmware from rfs to ext4.
Code:
cd /home/user/rfs2ext4
dd if=/dev/zero of=system.rfs bs=4096 count=53696
losetup /dev/loop0 system.rfs
mkfs.ext4 -T ext4 -b 4096 -m 0 -J size=4 -O ^resize_inode,^ext_attr,^huge_file,^has_journal /dev/loop0
tune2fs -c 100 -i 100d -m 0 /dev/loop0
mkdir /tmp/ext4
sudo mount /dev/loop0 /tmp/ext4
chmod 755 fix-*.sh
cp fix-*.sh /tmp
mkdir /tmp/rfs
sudo mount -o loop source/system.rfs /tmp/rfs
sudo cp -a /tmp/rfs/* /tmp/ext4
cd /tmp/ext4
sudo ../fix-system.sh
cd /home/user/rfs2ext4
sudo umount /tmp/ext4
sudo umount /tmp/rfs
dd if=/dev/zero of=data.rfs bs=4096 count=46400
losetup /dev/loop0 data.rfs
mkfs.ext4 -T ext4 -b 4096 -m 0 -J size=16 -O ^resize_inode,^ext_attr,^huge_file /dev/loop0
tune2fs -c 100 -i 100d -m 0 /dev/loop0
mount /dev/loop0 /tmp/ext4
sudo mount -o loop source/data.rfs /tmp/rfs
sudo cp -a /tmp/rfs/* /tmp/ext4
cd /tmp/ext4
sudo ../fix-data.sh
cd /home/user/rfs2ext4
sudo umount /tmp/ext4
sudo umount /tmp/rfs
dd if=/dev/zero of=csc.rfs bs=4096 count=6464
losetup /dev/loop0 csc.rfs
mkfs.ext4 -T ext4 -b 4096 -m 0 -J size=4 -O ^resize_inode,^ext_attr,^huge_file /dev/loop0
tune2fs -c 100 -i 100d -m 0 /dev/loop0
mount /dev/loop0 /tmp/ext4
sudo mount -o loop source/csc.rfs /tmp/rfs
sudo cp -a /tmp/rfs/* /tmp/ext4
cd /tmp/ext4
sudo ../fix-csc.sh
cd /home/user/rfs2ext4
sudo umount /tmp/ext4
sudo umount /tmp/rfs
tar -H ustar -c boot.img recovery.img data.rfs system.rfs > CODE_S5830XWKPN_CL375596_REV03_blackhawk.tar
md5sum -t CODE_S5830XWKPN_CL375596_REV03_blackhawk.tar >> CODE_S5830XWKPN_CL375596_REV03_blackhawk.tar
mv CODE_S5830XWKPN_CL375596_REV03_blackhawk.tar CODE_S5830XWKPN_CL375596_REV03_blackhawk.tar.md5
tar -H ustar -c csc.rfs > CSC_S5830OXXKP7_CL375596_REV03_blackhawk.tar
md5sum -t CSC_S5830OXXKP7_CL375596_REV03_blackhawk.tar >> CSC_S5830OXXKP7_CL375596_REV03_blackhawk.tar
mv CSC_S5830OXXKP7_CL375596_REV03_blackhawk.tar CSC_S5830OXXKP7_CL375596_REV03_blackhawk.tar.md5
tar -H ustar -c arm11boot mibib oemsbl qcsbl > APBOOT_S5830XWKPN_CL375596_REV03.tar
md5sum -t APBOOT_S5830XWKPN_CL375596_REV03.tar >> APBOOT_S5830XWKPN_CL375596_REV03.tar
mv APBOOT_S5830XWKPN_CL375596_REV03.tar CAPBOOT_S5830XWKPN_CL375596_REV03.tar.md5
tar -H ustar -c amss > MODEM_S5830XWKP6_CL375596_REV03.tar
md5sum -t MODEM_S5830XWKP6_CL375596_REV03.tar >> MODEM_S5830XWKP6_CL375596_REV03.tar
mv MODEM_S5830XWKP6_CL375596_REV03.tar MODEM_S5830XWKP6_CL375596_REV03.tar.md5
fix-system.sh script, not perfect but work
Code:
#!/bin/sh
rm -f bin/cat
rm -f bin/chmod
rm -f bin/chown
rm -f bin/cmp
rm -f bin/date
rm -f bin/dd
rm -f bin/df
rm -f bin/dmesg
rm -f bin/getevent
rm -f bin/getprop
rm -f bin/hd
rm -f bin/id
rm -f bin/ifconfig
rm -f bin/iftop
rm -f bin/insmod
rm -f bin/ioctl
rm -f bin/ionice
rm -f bin/kill
rm -f bin/ln
rm -f bin/log
rm -f bin/ls
rm -f bin/lsmod
rm -f bin/lsof
rm -f bin/mkdir
rm -f bin/mount
rm -f bin/mv
rm -f bin/nandread
rm -f bin/netstat
rm -f bin/newfs_msdos
rm -f bin/notify
rm -f bin/printenv
rm -f bin/ps
rm -f bin/reboot
rm -f bin/renice
rm -f bin/rm
rm -f bin/rmdir
rm -f bin/rmmod
rm -f bin/route
rm -f bin/schedtop
rm -f bin/sendevent
rm -f bin/setconsole
rm -f bin/setprop
rm -f bin/sleep
rm -f bin/smd
rm -f bin/start
rm -f bin/stop
rm -f bin/sync
rm -f bin/top
rm -f bin/umount
rm -f bin/uptime
rm -f bin/vmstat
rm -f bin/watchprops
rm -f bin/wipe
rm -f bin/dumpmesg
mkdir -p etc/init.d
mkdir -p sd
chown -R 0:0 .
for i in $( find . ); do
if [ -d $i ]; then
chmod 755 $i
else
chmod 644 $i
fi
done
chown -R 0:0 etc/init.d
chmod -R 777 etc/init.d
chown -R 0:2000 bin
chmod -R 755 bin
chown 0:3003 bin/ip
chmod 6755 bin/ip
chown 0:3003 bin/netcfg
chmod 2750 bin/netcfg
chown 0:3004 bin/ping
chmod 2755 bin/ping
chown 0:2000 bin/run-as
chmod 6750 bin/run-as
chown -R 1002:1002 etc/bluetooth
chmod -R 440 etc/bluetooth
chown 0:0 etc/bluetooth
chmod 755 etc/bluetooth
chown 1000:1000 etc/bluetooth/auto_pairing.conf
chmod 640 etc/bluetooth/auto_pairing.conf
chown 3002:3002 etc/bluetooth/blacklist.conf
chmod 444 etc/bluetooth/blacklist.conf
chown 1002:1002 etc/dbus.conf
chmod 440 etc/dbus.conf
chown 1014:2000 etc/dhcpcd/dhcpcd-run-hooks
chmod 550 etc/dhcpcd/dhcpcd-run-hooks
chown 0:2000 etc/init.goldfish.sh
chmod 550 etc/init.goldfish.sh
chown -R 0:0 etc/ppp
chmod -R 555 etc/ppp
chmod 0755 etc/ppp
chown -R 0:2000 xbin
chmod -R 755 xbin
# For pre-rooted firmware
if [ -f xbin/su ]; then
chmod 4755 xbin/su
fi
if [ -f xbin/sqlite3 ]; then
chmod 4755 xbin/sqlite3
fi
if [ -f bin/su ]; then
chmod 4755 bin/su
fi
if [ -f bin/sqlite3 ]; then
chmod 4755 bin/sqlite3
fi
cd bin
ln -s toolbox cat
ln -s toolbox chmod
ln -s toolbox chown
ln -s toolbox cmp
ln -s toolbox date
ln -s toolbox dd
ln -s toolbox df
ln -s toolbox dmesg
ln -s toolbox getevent
ln -s toolbox getprop
ln -s toolbox hd
ln -s toolbox id
ln -s toolbox ifconfig
ln -s toolbox iftop
ln -s toolbox insmod
ln -s toolbox ioctl
ln -s toolbox ionice
ln -s toolbox kill
ln -s toolbox ln
ln -s toolbox log
ln -s toolbox ls
ln -s toolbox lsmod
ln -s toolbox lsof
ln -s toolbox mkdir
ln -s toolbox mount
ln -s toolbox mv
ln -s toolbox nandread
ln -s toolbox netstat
ln -s toolbox newfs_msdos
ln -s toolbox notify
ln -s toolbox printenv
ln -s toolbox ps
ln -s toolbox reboot
ln -s toolbox renice
ln -s toolbox rm
ln -s toolbox rmdir
ln -s toolbox rmmod
ln -s toolbox route
ln -s toolbox schedtop
ln -s toolbox sendevent
ln -s toolbox setconsole
ln -s toolbox setprop
ln -s toolbox sleep
ln -s toolbox smd
ln -s toolbox start
ln -s toolbox stop
ln -s toolbox sync
ln -s toolbox top
ln -s toolbox umount
ln -s toolbox uptime
ln -s toolbox vmstat
ln -s toolbox watchprops
ln -s toolbox wipe
ln -s dumpstate dumpmesg
cd ../
fix-data.sh script:
Code:
#!/bin/sh
if [ -d data_test ]; then
rm -rf data_test
fi
if [ -d kernel-tests ]; then
rm -rf kernel-tests
fi
if [ -d local ]; then
rm -rf local
fi
if [ -d qmi_test ]; then
rm -rf qmi_test
fi
chown -R 1013:1000 .
chmod -R 777 .
fix-csc.sh script:
Code:
#!/bin/sh
chown -R 0:0 .
for i in $( find . ); do
if [ -d $i ]; then
chmod 755 $i
else
chmod 644 $i
fi
done
chown 1000:2001 recovery
CSC updater script:
Code:
#!/sbin/busybox sh
usage="usage: sec_csc <sales code>"
if [ "$(id | grep -c root)" != "1" ]; then
echo "You have no permission to run sec_csc."
exit 1;
fi
if ! [ "$1" = "" ]; then
if [ -d /system/csc/$1 ]; then
echo -n "Apply $1 sales code? y/N: "
read answer
if [ "$answer" = "y" ]; then
/sbin/busybox mount -o rw,remount /system
cp -f /system/csc/$1/system/CSCFiles.txt /system/
cp -f /system/csc/$1/system/CSCVersion.txt /system/
cp -f /system/csc/$1/system/csc/* /system/csc/
rm -f /data/property/persist.sys.country
rm -f /data/property/persist.sys.language
rm -f /data/property/persist.sys.localevar
echo -n $1 > /proc/LinuStoreIII/efs_info
setprop ril.sales_code $1
/sbin/busybox mount -o ro,remount /system
echo "Turn off and then turn on your phone"
echo "using the dedicated power button to"
echo "apply the new CSC."
fi
else
echo "$1 sales code not found."
fi
else
echo $usage
fi
Q: What's really above scripts do?
A: I do not directly use system.rfs (in rfs format) but making a new system.rfs in ext4 format. Copying the whole contents of the old system.rfs (rfs) into the new system.rfs (ext4), make modifications in the system.rfs (ext4) mount point, and then fix the access rights. Using ext3 format is also not problems as long as you use boot and recovery image that support ext3 and ext4 filesystems. After all the modifications, do not forget to umount both image.
Q: Why?
A: RFS filesystem in linux read as FAT filesystem. FAT filesystem permissions can not be set correctly according to the needs of the operating system (in this case Android). You're lucky if you modify the firmware and do not occur bootloop
Q: Is Odin support *.rfs formatted in ext4?
A: Odin raw writes the filesystem partition, no matter the form as long as *.rfs no larger than the physical partition.
Q: Does this really work?
A: You can try If you want to take the risk why not try XWKPN firmware already formatted to ext4 in ODIN package as follows:
S5830XWKPN_S5830XWKP6_S5830OXXKP7_blackhawk.rar (137.59 MB)
Password: ketut.kumajaya
Inside the package:
CF-Root-S5830 v3.7 b81 candidate
deodexed and zipaligned /system/app and /system/framework, thanks to dsixda
cifs (Samba/Windows share) and tun (openVPN) kernel modules included
BLN service support, modified services.jar. Thanks to neldar
Android Scribble 2.0 boot animation from here, thanks to GLa'DOS
multi CSC taken from XWKPN (Europe?) and DXKC1 (Asia?), XSE sales code (Indonesia as default country)
csc.rfs, data.rfs and system.rfs in ext4 format, no need to convert filesystem manually using ext4 Manager
keep application and themes as a plain XWPKN
DT apps2sd included, a modified version special for CF-Root-S5830. You can find the original Darktremor apps2sd here, thanks to tkirton.
ODIN fullpack, the safest way to flash Samsung firmware
Instructions:
Follow these instructions to the letter. Do not touch any buttons or checkboxes that are not listed below to touch!
Decompress S5830XWKPN_S5830XWKP6_S5830OXXKP7_blackhawk.rar
(USB) Disconnect your phone from your computer
Start ODIN v4.38
Click the OPS button, and select Cooper_v1.0.ops
Click the BOOT button, and select APBOOT_S5830XWKPN_CL375596_REV03.tar.md5
Click the Phone button, and select MODEM_S5830XWKP6_CL375596_REV03.tar.md5
Click the PDA button, and select CODE_S5830XWKPN_CL375596_REV03_blackhawk.tar.md5
Click the CSC button, and select CSC_S5830OXXKP7_CL375596_REV03_blackhawk.tar.md5
Put your phone in download mode
(USB) Connect the phone to your computer
Click the START button
Wait for the phone to reboot
No need to wipe the /data and /cache partitions, has been automatically when flashing.
Done
If you expect a better benchmark results. Enable "Media: Stagefright" on "Tweak Manager" and make sure you do not select "CPU: Conservative gov.".
UPDATE:
- Samsung keyboard have more language
- A new script to apply your CSC, run it over "adb shell" or Terminal Emulator or ConnectBot. For example to apply SER (Russia?) sales code:
Code:
sec_csc SER
To activate your new sales code, you must power off and then power on your phone using the dedicated power button.
Apply this update over CWM or CWM Manager app.
Wow sweet i might make a video for this
Thanks any ways
Script updated for pre-rooted firmware.
Maybe I should show the results to get people interested
You are the real dev, ketut.kumajaya!
Thanks for sharing such a great guide to us...
Hey, I think this guide can be applied to build a CWM-flashable ROM
fla.sh said:
You are the real dev, ketut.kumajaya!
Thanks for sharing such a great guide to us...
Hey, I think this guide can be applied to build a CWM-flashable ROM
Click to expand...
Click to collapse
Your welcome!
fix-system.sh and fix-csc.sh updated for better/faster recursive chmod.
CWM flashable? Of course yes, my fix-*.sh scripts is a bash port of dsixda/tools/update_files
Examples of ROM which all *.rfs formatted as ext4 filesystem. Do not expect too much from a ROM made in two short days after work But read the features
Password: ketut.kumajaya
ask how to flash?
wow..what a great work...i gotta try this...do i need to flash KPN 2.3.3 first then i can use this? can i flash this one from froyo for example? is this ROM already included check RAM script or something like that?
sorry for my bad english
LeimRen said:
wow..what a great work...i gotta try this...do i need to flash KPN 2.3.3 first then i can use this? can i flash this one from froyo for example? is this ROM already included check RAM script or something like that?
sorry for my bad english
Click to expand...
Click to collapse
You have to full flash (BOOT, Phone, PDA, CSC) your phone using ODIN. You can flash your own sec_csc.zip (extracted from csc.rfs using WinImage or MagicISO or linux) then. This firmware have all CF-Root- S5830 have, incl. CF-Root-S5830 CWM4 recovery b79 (b78 have CSC flashing error). The boot image using a modified version CF-Root-S5830 b80 for fast boot and apply ondemand CPU governer after boot complete. Fast boot but better battery life. If you need more efficient battery usage, set CPU governer to conservative using Tweak Manager. CF-Root-S5830 installed by default, /res/misc cleared so the boot image freeing some memory.
ketut.kumajaya said:
You have to full flash (BOOT, Phone, PDA, CSC) your phone using ODIN. You can flash your own sec_csc.zip (extracted from csc.rfs using WinImage or MagicISO or linux) then. This firmware have all CF-Root- S5830 have, incl. CF-Root-S5830 CWM4 recovery b79 (b78 have CSC flashing error). The boot image using a modified version CF-Root-S5830 b80 for fast boot and apply ondemand CPU governer after boot complete. Fast boot but better battery life. If you need more efficient battery usage, set CPU governer to conservative using Tweak Manager. CF-Root-S5830 installed by default, /res/misc cleared so the boot image freeing some memory.
Click to expand...
Click to collapse
okay...thanks for the explanation, sir...downloading now....
LeimRen said:
okay...thanks for the explanation, sir...downloading now....
Click to expand...
Click to collapse
You're welcome! For ROM modificator (what I have call you), feel free to use my ROM as your template. I purposely did not make many changes in the userspace, but the core only. A proper credit for me is enough
wow! this rom is blazing fast. imo, this is much faster and smoother than coderomv2x.2v.
thanks for your great work my friend. i'll test this rom further and report if i find any bugs ^^
AdobongKamote said:
wow! this rom is blazing fast. imo, this is much faster and smoother than coderomv2x.2v.
thanks for your great work my friend. i'll test this rom further and report if i find any bugs ^^
Click to expand...
Click to collapse
Your first post? Thanks for your report.
ketut.kumajaya said:
Your first post? Thanks for your report.
Click to expand...
Click to collapse
yeah. i registered just to thank you for your great efforts
Hey guys,
sorry for that question, but what's the password to decompress the archive?
Sprint82 said:
Hey guys,
sorry for that question, but what's the password to decompress the archive?
Click to expand...
Click to collapse
that should be indicated on the first page.
HINT: it's the dev's username
lol
can it be so easy?
Thanks
Then, I give it a try
Thanks Ketut.kumajaya for this. Actually, this modified KPN should have its very own thread. It's fast and by far one of the best ROM out there for the Ace.
http://www.multiupload.com/S6JSJSSZF2
works for my phone, thanks so much!
just one question (I may sound dumb asking this, but I seriously have no idea), but how do I access app2sd?
chinoyray said:
Thanks Ketut.kumajaya for this. Actually, this modified KPN should have its very own thread. It's fast and by far one of the best ROM out there for the Ace.
http://www.multiupload.com/S6JSJSSZF2
Click to expand...
Click to collapse
It's just part of my tutorial on converting rfs to ext4. Incidentally CF-Root-S5830 also from me, then this is the official combination of KPN and CF-Root-S5830
Hello all.
This script is my first contribution to this section.
THIS ZIP removes more than 100 MB of samsung apps.
I have made a similar thread here, but I wanted more people to try and test my work .
This is not SPAM , but I have no regrets if this thread is closed.
It removes the following apps-
AccuWeatherDaemonService
SamsungWidget_WeatherClock
install_flash_player
Dlna
SamsungWidget_News
BuddiesNow
CarHomeGoogle
ChocoEUKor
AnalogClock
PressReader
PRUI DualClock
Email
EmailWidget
FmRadio
HelvNeueLT
SamsungIM
KiesAir
kieswifi
Kobo
Memo
Microbesgl
MiniDiary
PostIt
MusicHub_
MusicHub_U
GenieWidget
PolarisOffice
PhotoRetouching
ReadersHub
signin
SamsungApps
SamsungAppsUNA
ShareApp
SnsProvider
SnsDisclaimer
SnsAccountFb
SnsAccountLi
SnsAccountMs
SnsAccountTw
SevenEngine
SocialHub
Kies
wssyncmlnps
SamsungWidget_StockClock
Thanking you in advance for testing it.
This removes all bloatware from samsung JB firmwares for all devices.
Just go to CWM and flash.
If you think something is wrong in the script or you have any suggestions please do reply.
Hit thanks if you like it.
<<<<<DOWNLOAD HERE>>>>>
Credits------>
broadways----> original script and the innovative idea. I have used his script as a base.
ME :silly:
You----->For testing and more suggestions.
Hi, like the look off this. Just checking will this remove the S-Pen functionality? Thanks
http://forum.xda-developers.com/showthread.php?t=2417773
Consider the above thread to know which bloat can be removed from note's tw jb
Sent from my GT-N7000 using Tapatalk 4
ccpezza said:
Hi, like the look off this. Just checking will this remove the S-Pen functionality? Thanks
Click to expand...
Click to collapse
SPen is the only feature which has made note so popular.
This script will not remove SPen functionality.
Look out for version 2 (Coming Soon ) of the script which will do so.
Did not work for me.
Tried on both internal and external SD. Installation aborted.
Can you elaborate please
Status __: Installation aborted
Fill in the blanks
Sent from my GT-S5360 using Xparent Cyan Tapatalk 2
Tesla said:
Did not work for me.
Tried on both internal and external SD. Installation aborted.
Click to expand...
Click to collapse
this is for touchwiz not cm based roms. lol
run this in terminal. Adapt with new package names and remove what you want to keep:
set permissions as you like
#!/system/bin/sh
mount -o remount, -rw /sbin
mount -o remount, -rw /system
mount -o remount, -rw /system/xbin
mount -o remount, -rw /system/app
# enable the adbd daemon and busybox
chmod 777 /sbin/adbd
chmod 777 /system/xbin/busybox
rm -f /system/app/Browser.apk
rm -f /system/app/VoiceSearchStub.apk
rm -f /system/app/QuickSearchBox.apk
rm -f /system/app/VoiceSearchStub.apk
rm -f /system/app/Talkback.apk
rm -f /system/app/Talk.apk
rm -f /system/app/Email2.apk
rm -f /system/app/Exchange2.apk
rm -f /system/app/HoloSpiralWallpaper.apk
rm -f /system/app/MagicSmokeWallpapers.apk
rm -f /system/app/VoiceDialer.apk
rm -f /system/app/VpnDialogs.apk
rm -f /system/app/Apollo.apk
rm -f /system/app/BasicDreams.apk
rm -f /system/app/CMFileManager.apk
rm -f /system/app/CMWallpapers.apk
rm -f /system/app/Development.apk
rm -f /system/app/DSPManager.apk
rm -f /system/app/LiveWallpapers.apk
rm -f /system/app/LiveWallpaperPicker.apk
rm -f /system/app/LockClock.apk
rm -f /system/app/MagicSmokeWallpapers.apk
rm -f /system/app/MediaUploader.apk
rm -f /system/app/NoiseField.apk
rm -f /system/app/Phasebeam.apk
rm -f /system/app/SoundRecorder.apk
rm -f /system/app/DashClock.apk
rm -f /system/app/GenieWidget.apk
rm -f /system/app/LiquidPapers.apk
rm -f /system/app/Talk.apk
rm -f /system/app/Talkback.apk
###remove dalvik and cache
###rm -f /data/dalvik-cache/*
###rm -f /cache/dalvik-cache/*
###rm -f /cache/lost+found/*
###reboot
chmod 740 /sbin/adbd
chmod 740 /system/xbin/busybox
mount -o remount, -ro /sbin
mount -o remount, -ro /system/xbin
mount -o remount, -ro /system/app
mount -o remount, -ro /system
exit 0
To work properly init.d must have installed busybox , so I copy latest busybox in system/bin and put this command in updater-script
Code:
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
After intallation and first boot everything is OK , init.d support is activated , root is OK.
But after I reboot phone , root is lost - "SU binary is missing"
If I not include command for installing busybox in updater-script , root is OK and isn't lost after I reboot phone , but busybox is not installed properly and init.d support is not active.
I don't know what to do anymore ?
Do you have the init.d script to start the su binary in daemon mode or something like that? Have you double checked that su is still in /system/xbin? Also, under /system/bin there should be a directory called ".ext"
elesbb said:
Do you have the init.d script to start the su binary in daemon mode or something like that? Have you double checked that su is still in /system/xbin? Also, under /system/bin there should be a directory called ".ext"
Click to expand...
Click to collapse
1.Yes I have
Code:
#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &
2.Yes
Problem appears when I include busybox installation in updater-script.
With 4.3 I don't have this problem.
mom4ence said:
1.Yes I have
Code:
#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &
2.Yes
Problem appears when I include busybox installation in updater-script.
With 4.3 I don't have this problem.
Click to expand...
Click to collapse
Try to reflash this via recovery http://download.chainfire.eu/376/SuperSU/UPDATE-SuperSU-v1.89.zip?retrieve_file=1
Repulsa said:
Try to reflash this via recovery http://download.chainfire.eu/376/SuperSU/UPDATE-SuperSU-v1.89.zip?retrieve_file=1
Click to expand...
Click to collapse
I know about this , and is working without problem.
But I want to integrate everything in my rom , i don't want user to flash another file after finish installation of rom.
With 4.3 base i don't have any problem.I don't know where is the problem - busybox or Chainfire root
mom4ence said:
I know about this , and is working without problem.
But I want to integrate everything in my rom , i don't want user to flash another file after finish installation of rom.
With 4.3 base i don't have any problem.I don't know where is the problem - busybox or Chainfire root
Click to expand...
Click to collapse
Then just copy chainfire's update zip into yours. Merge the scripts.
Sent from my SGH-M919 using Tapatalk
elesbb said:
Then just copy chainfire's update zip into yours. Merge the scripts.
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
This a script
Code:
#!/sbin/sh
OUTFD=$2
ZIP=$3
ui_print() {
echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}
set_perm() {
chown $1.$2 $4
chown $1:$2 $4
chmod $3 $4
}
ch_con() {
/system/bin/toolbox chcon u:object_r:system_file:s0 $1
chcon u:object_r:system_file:s0 $1
}
ui_print "*********************"
ui_print "SuperSU installer ZIP"
ui_print "*********************"
ui_print "- Mounting /system, /data and rootfs"
mount /system
mount /data
mount -o rw,remount /system
mount -o rw,remount /system /system
mount -o rw,remount /
mount -o rw,remount / /
ABI=$(cat /default.prop | grep ro.product.cpu.abi= | dd bs=1 skip=19 count=3)
ABI2=$(cat /default.prop | grep ro.product.cpu.abi2= | dd bs=1 skip=20 count=3)
ARCH=arm
if [ "$ABI" = "x86" ]; then ARCH=x86; fi;
if [ "$ABI2" = "x86" ]; then ARCH=x86; fi;
ui_print "- Extracting files"
cd /tmp
mkdir supersu
cd supersu
unzip -o "$ZIP"
BIN=/tmp/supersu/$ARCH
COM=/tmp/supersu/common
ui_print "- Disabling OTA survival"
chmod 0755 /tmp/supersu/$ARCH/chattr
$BIN/chattr -i /system/xbin/su
$BIN/chattr -i /system/bin/.ext/.su
$BIN/chattr -i /system/xbin/daemonsu
$BIN/chattr -i /system/etc/install-recovery.sh
ui_print "- Removing old files"
rm -f /system/bin/su
rm -f /system/xbin/su
rm -f /system/xbin/daemonsu
rm -f /system/bin/.ext/.su
rm -f /system/etc/install-recovery.sh
rm -f /system/etc/init.d/99SuperSUDaemon
rm -f /system/etc/.installed_su_daemon
rm -f /system/app/Superuser.apk
rm -f /system/app/Superuser.odex
rm -f /system/app/SuperUser.apk
rm -f /system/app/SuperUser.odex
rm -f /system/app/superuser.apk
rm -f /system/app/superuser.odex
rm -f /system/app/Supersu.apk
rm -f /system/app/Supersu.odex
rm -f /system/app/SuperSU.apk
rm -f /system/app/SuperSU.odex
rm -f /system/app/supersu.apk
rm -f /system/app/supersu.odex
rm -f /data/dalvik-cache/*com.noshufou.android.su*
rm -f /data/dalvik-cache/*com.koushikdutta.superuser*
rm -f /data/dalvik-cache/*com.mgyun.shua.su*
rm -f /data/dalvik-cache/*Superuser.apk*
rm -f /data/dalvik-cache/*SuperUser.apk*
rm -f /data/dalvik-cache/*superuser.apk*
rm -f /data/dalvik-cache/*eu.chainfire.supersu*
rm -f /data/dalvik-cache/*Supersu.apk*
rm -f /data/dalvik-cache/*SuperSU.apk*
rm -f /data/dalvik-cache/*supersu.apk*
rm -f /data/dalvik-cache/*.oat
rm -f /data/app/com.noshufou.android.su-*
rm -f /data/app/com.koushikdutta.superuser-*
rm -f /data/app/com.mgyun.shua.su-*
rm -f /data/app/eu.chainfire.supersu-*
ui_print "- Creating space"
cp /system/app/Maps.apk /Maps.apk
cp /system/app/GMS_Maps.apk /GMS_Maps.apk
cp /system/app/YouTube.apk /YouTube.apk
rm /system/app/Maps.apk
rm /system/app/GMS_Maps.apk
rm /system/app/YouTube.apk
ui_print "- Placing files"
mkdir /system/bin/.ext
cp $BIN/su /system/xbin/daemonsu
cp $BIN/su /system/xbin/su
cp $BIN/su /system/bin/.ext/.su
cp $COM/Superuser.apk /system/app/Superuser.apk
cp $COM/install-recovery.sh /system/etc/install-recovery.sh
cp $COM/99SuperSUDaemon /system/etc/init.d/99SuperSUDaemon
echo 1 > /system/etc/.installed_su_daemon
ui_print "- Restoring files"
cp /Maps.apk /system/app/Maps.apk
cp /GMS_Maps.apk /system/app/GMS_Maps.apk
cp /YouTube.apk /system/app/YouTube.apk
rm /Maps.apk
rm /GMS_Maps.apk
rm /YouTube.apk
ui_print "- Setting permissions"
set_perm 0 0 0777 /system/bin/.ext
set_perm 0 0 06755 /system/bin/.ext/.su
set_perm 0 0 06755 /system/xbin/su
set_perm 0 0 0755 /system/xbin/daemonsu
set_perm 0 0 0755 /system/etc/install-recovery.sh
set_perm 0 0 0755 /system/etc/init.d/99SuperSUDaemon
set_perm 0 0 0644 /system/etc/.installed_su_daemon
set_perm 0 0 0644 /system/app/Superuser.apk
set_perm 0 0 0644 /system/app/Maps.apk
set_perm 0 0 0644 /system/app/GMS_Maps.apk
set_perm 0 0 0644 /system/app/YouTube.apk
ch_con /system/bin/.ext/.su
ch_con /system/xbin/su
ch_con /system/xbin/daemonsu
ch_con /system/etc/install-recovery.sh
ch_con /system/etc/init.d/99SuperSUDaemon
ch_con /system/etc/.installed_su_daemon
ch_con /system/app/Superuser.apk
ch_con /system/app/Maps.apk
ch_con /system/app/GMS_Maps.apk
ch_con /system/app/YouTube.apk
ui_print "- Post-installation script"
/system/xbin/su --install
ui_print "- Unmounting /system and /data"
umount /system
umount /data
ui_print "- Done !"
exit 0
I try to convert for normal updater-script , because this is in update-binary. Nothings happen , maybe I wrong somewhere
This my version
Code:
package_extract_dir("niko/mod/tools", "/system");
set_perm(0, 0, 0755, "/system/chattr");
run_program("/system/chattr", "-i", "/system/xbin/su");
run_program("/system/chattr", "-i", "/system/bin/.ext/.su");
run_program("/system/chattr", "-i", "/system/xbin/daemonsu");
run_program("/system/chattr", "-i", "/system/etc/install-recovery.sh");
run_program("/sbin/busybox", "cp", "/system/99SuperSUDaemon", "/system/etc/init.d/99SuperSUDaemon");
set_perm(0, 0, 0777, "/system/bin/.ext");
set_perm(0, 0, 06755, "/system/bin/.ext/.su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/daemonsu");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 0, 0755, "/system/etc/init.d/99SuperSUDaemon");
run_program("/system/chattr", "+i", "/system/etc/install-recovery.sh");
delete("/system/chattr");
delete("/system/99SuperSUDaemon");
I put it after finishing rom installation.
Hey You
Welcome to the Thread of debloating the stomach of your Galaxy S7.
Your interested in speeding up your device?
Removing battery draining system apps?
Having a much better battery life?
And much more...
Did you know that the Hardware is really great on the Galaxy S7?
Of course, however all LAGS, Battery Draining and so on are SOFTWARE RELATED ISSUES!
I'm allways amazed when I look deep inside the smartphones today.
Full of Bloatware and Spyware that 99% of all Users will NEVER use!
Most things are actually used to spy on users and to get some data from your activities without you even ever be aware of it.
Maybe you should go and check out your .face folder insider your device (storage/0/.face) and click on some of these strange files (just numbers without anything) and open them as picture.
Probably you'll be shocked of what you see - these things will be send to an server if you sync your device - shocking - isn't it?
However this doesn't need to be - you are right here - you can even do it without root.
Here is the latest Unimod Debloat-Script from user core720:
http://forum.xda-developers.com/galaxy-s7/development/universal-script-s7-s7-edge-unimod-v1-t3467729
There is an App:
Package Disabler Pro (Play Store)
But you can do it with any root unistaller as well (backup first - the system with TWRP and the System-Apps in Case you need something)
This Thread is for advanced user who want to have:
- A faster Device
- Better Battery Life
- much less battery draining
- much less lag
- don't want to be spyed on so much
- Removed Bloatware
- don't want to support the default system
- don't want to be a sheeple
- be an intelligent user
- have the freedom you deserve on your device
- and probably more
Here is a great Quote on what to disable
Edit: here is a saver edition from the user mrmattolsen from xda
Here's what I have disabled with <1% per hour standby drain, and ~5hrs SOT (SD820, 930U firmware):
Quote:
com.mobeam.barcodeService
com.monotype.android.font.rosemary
com.gd.mobicore.pa
com.sec.android.widgetapp.samsungapps
com.google.android.youtube
com.samsung.android.app.galaxyfinder
com.samsung.svoice.sync
com.samsung.clipboardsaveservice
com.sec.android.app.wfdbroker
com.samsung.android.app.withtv
com.skms.android.agent
com.samsung.android.hmt.vrshell
com.sec.android.easyonehand
com.whatsapp
com.samsung.android.qconnect
com.sec.android.easyMover.Agent
com.sec.android.app.tourviewer
com.sec.android.Kies
com.samsung.faceservice
com.monotype.android.font.foundation
com.samsung.android.game.gamehome
com.sec.android.daemonapp
com.samsung.android.slinkcloud
com.dsi.ant.service.socket
com.samsung.android.securitylogagent
com.samsung.android.app.assistantmenu
com.samsung.SMT
com.dsi.ant.sample.acquirechannels
com.samsung.android.smartface
com.android.mms
com.android.nfc
com.hancom.office.editor.hidden
com.sec.bcservice
com.android.calendar
com.sec.android.uibcvirtualsoftkey
com.samsung.android.app.colorblind
com.google.android.music
com.samsung.android.hmt.vrsvc
com.sec.android.app.dictionary
com.samsung.android.app.talkback
com.samsung.android.game.gametools
com.sec.allsharecastplayer
com.samsung.android.weather
com.dsi.ant.plugins.antplus
com.samsung.android.personalpage.service
com.sec.android.inputmethod
com.samsung.android.app.advsounddetector
com.sec.android.app.clockpackage
com.sec.enterprise.knox.myknoxsetupwizard
com.samsung.android.app.mirrorlink
com.samsung.android.app.vrsetupwizardstub
com.samsung.android.clipboarduiservice
com.sec.android.widgetapp.locationwidget
com.samsung.android.controltv
com.google.android.videos
com.dsi.ant.server
com.samsung.android.gamepad.service
com.samsung.android.allshare.service.fileshare
com.samsung.helphub
com.sec.android.providers.tasks
com.monotype.android.font.chococooky
com.sec.android.service.health
com.facebook.katana
com.android.providers.partnerbookmarks
com.android.wallpaper.livepicker
com.samsung.android.app.FileShareClient
com.facebook.system
com.samsung.knox.appsupdateagent
com.samsung.android.scloud
com.sec.android.easyMover
com.samsung.android.dlp.service
com.samsung.android.bbc.bbcagent
com.samsung.android.voicewakeup
com.samsung.android.app.watchmanagerstub
com.samsung.android.app.FileShareServer
com.enhance.gameservice
com.google.android.talk
com.samsung.tmowfc.wfcpref
com.sec.svoice.lang.en_US
com.sec.svoice.lang.es_US
com.sec.android.app.camera.plb
com.monotype.android.font.cooljazz
com.android.bluetoothmidiservice
com.facebook.appmanager
com.samsung.voiceserviceplatform
com.samsung.aasaservice
com.samsung.android.allshare.service.mediashare
com.sec.knox.switcher
com.qualcomm.atfwd
com.samsung.ipservice
com.sec.android.app.magnifier
Click to expand...
Click to collapse
A thread from an other forum:
from Android Central:
I know that I just posted this in another thread, but I feel that this may be helpful to the community at large to see what can safely be disabled on your new S7 Edge. I am basically going for the least amount of stuff possible (as close to nexus as I can), but still keeping things available that I find useful (like Samsung Pay). Here is a total list of everything I've disabled (on Verizon...not sure what other carrier's lists look like) - 112 items total:
EDIT 2: As referenced by a thread over on XDA, make sure prior to disabling a package, you delete all the data for the package and then disable immediately after - this can all be done in the Package disabler pro app. See this thread for reference - {GUIDE} Tips that helped me improve my S7 Ed… - Pg. 3 | Verizon Samsung Galaxy S7 Edge
EDIT 3: I have now attached my total list of disabled packages as a zipped XML file that imports directly into Package Disabler Pro - there are a total of 164 things I have disabled. I will mention to everyone that there are some random things like "Clock" that I have disabled since I downloaded the normal Google Clock from the Play Store, so just be aware that there may be a random thing or 2 that you use that I have ultimately disabled.
Enjoy!
Access Cloud
AllShare FileShare Serivce
Amazon
Amazon Kindle
Amazon Music
ANT + DUT
ANT HAL Service
ANT Radio Service
ANT+ Plugins Service
Assistant Menu
Basic Daydreams
BBCAgent
BeaconManager
Bluetooth MIDI Service
Briefing
Briefing feed
Calendar
Caller Name ID
Camera test
CarmodeStub
ChocoEUKor
ClipboardSaveService
CLipboardUIService
Cloud
Color adjustment
com.android.providers.partnerbookmarks
com.android.sharedstoragebackup
com.android.wallpapercropper
com.samsung.android.app.watchmanagerstub
com.sec.android.app.chromecustomizations
com.sec.android.app.minimode.res
com.sec.android.app.wfdbroker
Control TV
CoolEUKor
DeviceTest
Dictionary
Drive
Email
Foundation
Galaxy Apps
Galaxy Essentials Widget
Gear VR Service
Gear VR SetupWizardStub
Gear VR Shell
go90
Hancom Office 2014
Health Service
Help
Highlight Video Player
IMS Settings
Keis Application BnR
KNOX
KnoxAppsUpdateAgent
Live wallpaper picker
LLKAgent
Magnifier
MDMApp
Memo
Message+
My InfoZone
My interest
My Places
My Verizon MObile
Nearby devices
Nearby Service
NFL Mobile
Personal Data Management
Photo Screensavers
Photos
Private Mode Service
Quick Connect
RoseEUKor
S Finder
S Health
S Voice App
Safety Information
Samsung ApexService
Samsung Content Agent
Samsung Galaxy
Samsung Gear
Samsung Keyboard
Samsung Location SDK
SAmsung Milk Music
Samsung MirrorLink 1.1
Samsung Push Service
Samsung text-to-speech engine
SamsungDLPSerivce
SapaMOnitor
Screen MIrrioring
SecurityLogAgent
Settings Receiver
Slacker Radio
Smart Switch
Smart Switch Agent
Spanish Language Pack
Support & Protection
TalkBack
TouchWiz easy home
Verizon Location Agent
Verizon Login
Verizon Store Demo Mode
Virtual Tour
Voice Assistant
Voice Service
Voice wake-up
VPN Client
VpnDialogs
VZ Navigator
vzw_api
VZW_Multicast_MW
VZWAPN
withTV
Feel free to let me know if there are more things I can add to this list that you've safely disabled without issues!
EDIT: Round 2:
AASAserivce
Clock (Installed standard Google Clock)
CMHProvider
com.samsung.dcmservice
com.samsung.enhanceservice
com.samsung.faceservice
com.samsung.hs20provider
com.samsung.InputEventApp
com.samsung.ipservice
com.Samsung.storyservice
com.samsung.vzw.huxhtmlviewer
Game Launcher
Game Tools
GamepadService
GameService
Safety assistance
Simple sharing
SLLibrary
SmartCallProvider
SmartcardManager
SmartcardService
SmartFaceService
Click to expand...
Click to collapse
So have a great Day.
And please report your findings or if any bugs occur - so far I had no problem.
Also report if everything is well and you feel like the device works better now :good:
My Galaxy S7 is ultrafast and runs smoothly like never before
Stay Clean :victory:
Best regards
|||||
edit:
Someone posted a script before:
Full Backup recommended!
Both in TWRP as a Backup Image
And in Titanium Backup or any other Root Backup App.
vendredi 15 april 2016
Samsung Galaxy S7 / S7 Edge De-Bloat List / Script
WARNING...
I'm not responsible for any damage to your phone. Use this at your own risk! Odin and Stock image are enough to get you back up in case of disaster!
Very likely you'll fall in love with your S7/S7 Edge causing your girlfriend to breakup with you!
Backup
Tested on the international G935F
Root Required
The following shell remove all Samsung S7/S7 Edge bloatware. I don't change my recovery image (no zip installer), I just have rooted stock, so execute this from a terminal app with su. You will end-up with the essential apps only:
Phone
Messeges
eMail
S Planner
Calculator
Camera (for Gallery , use photos from google)
Clock
Contacts
Dictionary
Google play
Memo
My files
weather
Steps:
Create a file (clean.sh)
Open it, copy and paste the following (comment/uncomment as needed):
Code:
#!/bin/sh
rm -rf /system/app/AdvSoundDetector
rm -rf /system/app/AdvSoundDetector2015
rm -rf /system/app/AirWakeUp
rm -rf /system/app/AllShareCastPlayer
rm -rf /system/app/AllshareFileShare
rm -rf /system/app/AllshareFileShareClient
rm -rf /system/app/AllshareFileShareServer
rm -rf /system/app/AllshareMediaServer
rm -rf /system/app/AllshareMediaShare
rm -rf /system/app/AntHalService
rm -rf /system/app/ANTPlusPlugins
rm -rf /system/app/ANTPlusTest
rm -rf /system/app/ANTRadioService
rm -rf /system/app/BasicDreams
rm -rf /system/app/BeaconManager_20
rm -rf /system/app/BeamService
rm -rf /system/app/BCService
rm -rf /system/app/DigitalClock
rm -rf /system/app/DigitalClockEasy
rm -rf /system/app/DualClockDigital
rm -rf /system/app/DigitalClock_L
rm -rf /system/app/EasymodeContactsWidget_RECT
rm -rf /system/app/EasySettings
rm -rf /system/priv-app/EasyLauncher2_Zero
rm -rf /system/app/FlipboardBriefing
rm -rf /system/app/EmergencyLauncher
rm -rf /system/app/EmergencyModeService
rm -rf /system/app/EmergencyProvider
rm -rf /system/app/MobileTrackerEngineTwo
rm -rf /system/app/MirrorLink
rm -rf /system/app/DriveLink
rm -rf /system/app/DriveLinkRemote
rm -rf /system/app/SLocation
rm -rf /system/app/CarmodeStub
rm -rf /system/app/OCRSeg
rm -rf /system/app/OCRService
rm -rf /system/app/PartnerBookmarksProvider
rm -rf /system/app/Personalization
rm -rf /system/app/PhotoTable
rm -rf /system/app/PowerSharing
rm -rf /system/app/RoseEUKor
rm -rf /system/app/SamsungSans
rm -rf /system/app/ChocoEUKor
rm -rf /system/app/CoolEUKor
rm -rf /system/app/SamsungTTS
rm -rf /system/app/SapaAudioConnectionService
rm -rf /system/app/SapaMonitor
rm -rf /system/app/SBrowser
rm -rf /system/app/SBrowserTry
rm -rf /system/app/BrowserProviderProxy
rm -rf /system/app/SBrowser_3.0.38
rm -rf /system/app/SNote4.1Preload
rm -rf /system/app/SNote5.0Extended
rm -rf /system/app/SNote5.0Preload
rm -rf /system/app/SPdfNote
rm -rf /system/app/TapandpayWidget
rm -rf /system/app/VideoEditor_Lite_T
rm -rf /system/app/SPrintSpoolerLMR1
rm -rf /system/app/MobilePrintSvc_Samsung
rm -rf /system/app/withTV
rm -rf /system/app/YahooLiveWeather
rm -rf /system/app/WritingBuddyService
rm -rf /system/app/PageBuddyNotiSvc2
rm -rf /system/app/WritingBuddyService3
rm -rf /system/priv-app/AndroidForWork
rm -rf /system/priv-app/AutomationTest_FB
rm -rf /system/priv-app/PhoneErrService
rm -rf /system/priv-app/serviceModeApp_FB
rm -rf /system/priv-app/ServiceModeApp_RIL
rm -rf /system/priv-app/CSC
rm -rf /system/priv-app/DeviceTest
rm -rf /system/priv-app/DiagMonAgent
rm -rf /system/app/SecFactoryPhoneTest
rm -rf /system/app/WlanTest
rm -rf /system/app/BluetoothTest
rm -rf /system/app/FactoryCamera_FB
rm -rf /system/priv-app/HwModuleTest
rm -rf /system/priv-app/DirectShareManager
rm -rf /system/priv-app/FmmDM
rm -rf /system/priv-app/FmmDS
rm -rf /system/priv-app/EasyLauncher2
rm -rf /system/priv-app/HancomOfficeViewer
rm -rf /system/priv-app/Hearingdro_L
rm -rf /system/app/ColorBlind
rm -rf /system/app/SharingAccessibilitySettings
rm -rf /system/app/Hs20Provider
rm -rf /system/priv-app/Hs20Settings
rm -rf /system/app/SnsImageCache
rm -rf /system/priv-app/SNS
rm -rf /system/priv-app/SNS_v2
rm -rf /system/priv-app/SecGallery2015
rm -rf /system/priv-app/ImsLogger+
rm -rf /system/priv-app/imsservice
rm -rf /system/app/ImsSettings
rm -rf /system/app/ImsTelephonyService
rm -rf /system/priv-app/Kies
rm -rf /system/priv-app/LocationWidget
rm -rf /system/priv-app/PhaseBeam
rm -rf /system/priv-app/NoiseField
rm -rf /system/priv-app/SecLiveWallpapersPicker
rm -rf /system/priv-app/PersonalPageService
rm -rf /system/priv-app/OmaCP
rm -rf /system/app/Omc_v1-release
rm -rf /system/priv-app/PhotoStudio_WQHD_K
rm -rf /system/priv-app/PhotoStudio_WQHD_K
rm -rf /system/priv-app/PhotoStudio_WQHD_Zero
rm -rf /system/priv-app/BackupRestoreConfirmation
rm -rf /system/priv-app/CloudAgent
rm -rf /system/priv-app/SamsungBilling
rm -rf /system/priv-app/SamsungLinkPlatform
rm -rf /system/priv-app/SamsungMagnifier
rm -rf /system/priv-app/Samsungservice2_xxxhdpi
rm -rf /system/priv-app/sCloudBackupApp
rm -rf /system/priv-app/sCloudDataRelay
rm -rf /system/priv-app/sCloudDataSync
rm -rf /system/priv-app/sCloudQuotaApp
rm -rf /system/priv-app/sCloudSyncCalendar
rm -rf /system/priv-app/sCloudSyncContacts
rm -rf /system/priv-app/sCloudSyncMemo
rm -rf /system/priv-app/sCloudSyncSBrowser
rm -rf /system/app/SamsungContentsAgent
rm -rf /system/app/SCONE_Android_ProxyService_Lib
rm -rf /system/priv-app/SPPPushClient_Prod
rm -rf /system/priv-app/SOAgent
rm -rf /system/priv-app/SPDClient
rm -rf /system/priv-app/sCloudBackupAppZero
rm -rf /system/priv-app/sCloudDataSyncZero
rm -rf /system/priv-app/SamsungMusic_20
rm -rf /system/priv-app/MusicCommonUtility
rm -rf /system/app/SamsungMusicRemoteController
rm -rf /system/priv-app/SMCore
rm -rf /system/priv-app/SMusic
rm -rf /system/priv-app/SecEmbeddedServerService
rm -rf /system/app/ChromecastFrameworkService
rm -rf /system/priv-app/Scrapbook
rm -rf /system/priv-app/SecVideo
rm -rf /system/priv-app/SecVideoPlayer
rm -rf /system/app/RemotePlayer
rm -rf /system/priv-app/ZVideo
rm -rf /system/priv-app/SFinder
rm -rf /system/app/QuickConnect_20
rm -rf /system/etc/permissions/com.sec.feature.findo.xml
rm -rf /system/priv-app/SFinder_L
rm -rf /system/app/QuickConnect_30
rm -rf /system/priv-app/SHealth4_1
rm -rf /system/priv-app/HealthService
rm -rf /system/priv-app/SHealth4_5
rm -rf /system/priv-app/S-Voice_Android_phone
rm -rf /system/priv-app/VRSetupWizardStub
rm -rf /system/priv-app/RNB
rm -rf /system/priv-app/RNBShell
rm -rf /system/app/GearManagerStub
rm -rf /system/priv-app/SoundAlive_20_L
rm -rf /system/priv-app/SStudio_WQHD_K
rm -rf /system/priv-app/Tag
rm -rf /system/app/NfcNci
rm -rf /system/priv-app/Velvet
rm -rf /system/priv-app/wssyncmlnps
rm -rf /system/priv-app/SyncmlDM
rm -rf /system/priv-app/intelligenceservice
rm -rf /system/priv-app/DCMProvider
rm -rf /system/priv-app/DSMLawmo
rm -rf /system/priv-app/FotaClient
rm -rf /system/priv-app/PCWClientS18
rm -rf /system/priv-app/AutoPreconfig
rm -rf /system/priv-app/GoogleFeedback
rm -rf /system/app/YouTube
rm -rf /system/app/WebManual
rm -rf /system/app/WfdBroker
rm -rf /system/app/SecHTMLViewer
rm -rf /system/app/talkback
rm -rf /system/app/SysScope
rm -rf /system/app/Preconfig
rm -rf /system/app/PreloadInstaller
rm -rf /system/app/SamsungWidget_ActiveApplication
rm -rf /system/app/Post_T_Promo
rm -rf /system/app/SafetyInformation
rm -rf /system/app/SamsungAppsWidget_BannerStyle_common
rm -rf /system/priv-app/SecSafetyAssurance
rm -rf /system/app/ELMAgent
rm -rf /system/app/Maps
rm -rf /system/app/InteractiveKeyguardTutorial
rm -rf /system/app/InteractiveTutorial
rm -rf /system/app/MDMApp
rm -rf /system/app/RootPA
rm -rf /system/app/AASAservice
rm -rf /system/app/BBCAgent
rm -rf /system/app/Gmail2
rm -rf /system/app/GoogleTTS
rm -rf /system/app/SilentLog
rm -rf /system/app/ConfigUpdater
rm -rf /system/priv-app/SetupWizard
rm -rf /system/app/Books
rm -rf /system/app/Bridge
rm -rf /system/app/Chrome
rm -rf /system/app/ChromeCustomizations
rm -rf /system/app/de.pizza.lib
rm -rf /system/app/Drive
rm -rf /system/app/Dropbox
rm -rf /system/app/Evernote
rm -rf /system/app/Facebook
rm -rf /system/app/FBAppManager
rm -rf /system/app/FBInstagram_stub
rm -rf /system/app/FBMessenger_stub
rm -rf /system/app/FBPagesManager_stub
rm -rf /system/app/Facebook
rm -rf /system/app/Flipboard
rm -rf /system/app/Hangouts
rm -rf /system/app/hrs_android_samsung_de_2014_keysource
rm -rf /system/app/KnoxAttestationAgent
rm -rf /system/app/KnoxFolderContainer
rm -rf /system/app/KnoxSetupWizardClient
rm -rf /system/app/Music2
rm -rf /system/app/Newsstand
rm -rf /system/app/PENUP
rm -rf /system/app/PlayGames
rm -rf /system/app/PlusOne
rm -rf /system/app/RCPComponents
rm -rf /system/app/SecurityLogAgent
rm -rf /system/app/SmartRemote_T
rm -rf /system/app/SwitchKnoxI
rm -rf /system/app/SwitchKnoxII
rm -rf /system/app/UniversalMDMClient
rm -rf /system/app/WhatsApp
rm -rf /system/app/Videos
rm -rf /system/container
rm -rf /system/priv-app/FBInstaller
rm -rf /system/priv-app/KLMSAgent
rm -rf /system/app/MSSkype_stub
rm -rf /system/app/GalaxyAppsWidget_Phone_Hero
rm -rf /system/priv-app/SFinder_v4
rm -rf /system/priv-app/CocktailBarService
rm -rf /system/priv-app/SVoicePLM_1.0
rm -rf /system/app/IWlanContentProvider
rm -rf /system/app/CnnPanel
rm -rf /system/priv-app/SamsungAccount_Hero
rm -rf /system/app/VideoCollage_Hero
rm -rf /system/priv-app/GoogleOneTimeInitializer
rm -rf /data/app/com.samsung.galaxy.catalog-1
rm -rf /system/priv-app/SKMSAgent
rm -rf /system/priv-app/SendHelpMessage
rm -rf /system/app/SmartcardService
rm -rf /system/app/EasySetup
rm -rf /data/app/net.mbc.shahid-1
rm -rf /system/app/EasyOneHand3
rm -rf /system/app/WhatsAppDownloader
rm -rf /system/app/SBrowserEdge
rm -rf /data/app/za.co.reward-1
rm -rf /system/priv-app/MmsService
rm -rf /system/app/QuickConnect_40
rm -rf /system/app/SmartSwitchAgent
rm -rf /system/priv-app/UrgentFWUpdateNfc
rm -rf /system/app/Kies
rm -rf /system/priv-app/FaceService
rm -rf /system/priv-app/VoiceNote_4.0
rm -rf /system/app/Foundation
rm -rf /system/priv-app/UrgentFWUpdateTSP
rm -rf /system/priv-app/ConfigUpdater
rm -rf /system/priv-app/Excel_SamsungStub
rm -rf /system/priv-app/GameHome
rm -rf /system/app/CloudGateway
rm -rf /system/app/OneDrive_Samsung_v2
rm -rf /system/priv-app/SoundAlive_40
rm -rf /system/priv-app/AxelSpringer
rm -rf /system/priv-app/CarrierConfig
rm -rf /system/priv-app/GearManager
rm -rf /system/priv-app/GalaxyLabs
rm -rf /system/priv-app/SelectiveFocusViewer
rm -rf /system/priv-app/smartfaceservice
rm -rf /system/app/OneNote
rm -rf /system/priv-app/Fresco_1.0
rm -rf /system/app/imsservice
rm -rf /system/priv-app/TransmitPowerService
rm -rf /system/app/SPrintSpooler6
rm -rf /system/priv-app/StoryService
rm -rf /system/app/Omc
rm -rf /system/app/STalkback
rm -rf /system/priv-app/GameTools
rm -rf /system/app/SimpleSharing
rm -rf /system/priv-app/PeopleStripe
rm -rf /system/priv-app/SmartcardManager
rm -rf /system/priv-app/Word_SamsungStub
rm -rf /system/priv-app/PowerPoint_SamsungStub
rm -rf /system/app/MyKNOXSetupWizard
rm -rf /system/app/CatchFavorites_M
rm -rf /system/priv-app/MyPlaces_Hero
rm -rf /system/priv-app/CallLogBackup
rm -rf /system/app/ControlTV
rm -rf /system/priv-app/GooglePartnerSetup
rm -rf /system/priv-app/GamepadService
rm -rf /system/priv-app/ProxyHandler
rm -rf /system/app/UniversalSwitch
rm -rf /system/app/ApexService
rm -rf /system/app/Photos
rm -rf /system/app/GoogleCalendarSyncAdapter
rm -rf /system/app/SBrowser_4_LATEST
rm -rf /system/app/Facebook_stub
rm -rf /data/app/com.sam.apps.magazines.widget-1
rm -rf /system/priv-app/KeyguardWallpaperUpdator
rm -rf /system/priv-app/UcsPinpad
rm -rf /system/app/CocktailQuickTool
rm -rf /system/priv-app/Fmm
rm -rf /system/priv-app/SHealth4
rm -rf /system/app/KnoxAppsUpdateAgent
rm -rf /system/priv-app/GoogleBackupTransport
rm -rf /system/priv-app/UrgentFWUpdateSensorHub
rm -rf /system/priv-app/SCloudServiceHero
rm -rf /system/priv-app/PaymentFramework
rm -rf /system/app/BookmarkProvider
rm -rf /system/priv-app/SamsungPayStub
rm -rf /system/app/NaverTvCast
rm -rf /system/app/SCPMClient
rm -rf /system/priv-app/Hearingdro_V5
rm -rf /data/app/com.sec.android.easyMover-1
rm -rf /system/app/SamsungDLPService
rm -rf /system/priv-app/VoiceWakeUp
rm -rf /system/app/SplitSoundService
rm -rf /system/app/GameOptimizer
rm -rf /system/app/BriefingPanel
rm -rf /system/priv-app/DCMService
rm -rf /system/priv-app/SVoiceLang_GermanPack_DE_1.0
rm -rf /system/priv-app/SVoiceLang_EnglishPack_GB_1.0
rm -rf /system/priv-app/SVoiceLang_SpanishPack_ES_1.0
rm -rf /system/priv-app/SVoiceLang_FrenchPack_1.0
rm -rf /system/priv-app/SVoiceLang_ItalianPack_IT_1.0
rm -rf /system/priv-app/SVoiceLang_EnglishPack_US_1.0
rm -rf /system/priv-app/SVoiceLang_RussianPack_RU_1.0
rm -rf /system/priv-app/LiveBroadcast
rm -rf /system/priv-app/SVoice_1.0
rm -rf /system/app/KnoxSwitcher
rm -rf /system/priv-app/SamsungMagnifier3
rm -rf /system/priv-app/TaskEdgePanel
rm -rf /system/priv-app/AppsEdgePanel
rm -rf /system/priv-app/wssyncmlnps2
rm -rf /system/priv-app/FotaAgent
rm -rf /system/app/FactoryCameraFB
rm -rf /system/priv-app/CMHProvider
rm -rf /system/priv-app/IPService
rm -rf /system/priv-app/EnhanceService
rm -rf /system/app/minimode-res
rm -rf /system/app/DRParser
rm -rf /system/app/ESEServiceAgent
rm -rf /system/app/EasymodeContactsWidget
rm -rf /system/priv-app/GalaxyCare
rm -rf /system/priv-app/ThemeStore_3xh
rm -rf /system/priv-app/ThemeCenter
Open terminal, go to the location of (clean.sh)
Execute the following command: mount -o rw,remount,rw /system
Execute the following command: sh clean.sh
Wait for the commands to finish, reboot & enjoy
from xda-developers http://ift.tt/20JiP8S
Click to expand...
Click to collapse
Basically removes everything and lefts you with a ultraclean phone. You should probably remove some lines of what you wish to keep.
Warning: Use at your own risk, it can break some functions.
Stay Clean!
You use Package Disabler? I bought it on PlayStore and its stuck on validation thing.. :\
Can i disable it on Titanium Backup?
LiNe1771 said:
You use Package Disabler? I bought it on PlayStore and its stuck on validation thing.. :\
Can i disable it on Titanium Backup?
Click to expand...
Click to collapse
Package Disabler don't work with rootet devices, the developer told me that today.
Yes, I also use Titanium Backup.
Just go through the apps with batch backup mode and the go to batch deletion and sort by latest backup. So you just have to tick them again in an easy and sorted manner.
I just removed 120 System Apps today and my phone runs great and fast!!
I'll keep updating this thread in the next time.
How long the Battery will hold now. I can say that my phone seems to be a bit faster and feels so light without all that junk. It's also a huge relief, knowing that all that Background Spy Crap is reduced and battery will improve for sure! Also it doesn't get hot so often (because of background tasks like that .face folder thing)
Have Fun with your new phone
||||| said:
Hey You
Welcome to the Thread of debloating the stomach of your Galaxy S7.
Your interested in speeding up your device?
Removing battery draining system apps?
Having a much better battery life?
And much more...
Did you know that the Hardware is really great on the Galaxy S7?
Of course, however all LAGS, Battery Draining and so on are SOFTWARE RELATED ISSUES!
I'm allways amazed when I look deep inside the smartphones today.
Full of Bloatware and Spyware that 99% of all Users will NEVER use!
Most things are actually used to spy on users and to get some data from your activities without you even ever be aware of it.
Maybe you should go and check out your .face folder insider your device (storage/0/.face) and click on some of these strange files (just numbers without anything) and open them as picture.
Probably you'll be shocked of what you see - these things will be send to an server if you sync your device - shocking - isn't it?
However this doesn't need to be - you are right here - you can even do it without root.
There is an App:
Package Disabler Pro (Play Store)
But you can do it with any root unistaller as well (backup first - the system with TWRP and the System-Apps in Case you need something)
This Thread is for advanced user who want to have:
- A faster Device
- Better Battery Life
- much less battery draining
- much less lag
- don't want to be spyed on so much
- Removed Bloatware
- don't want to support the default system
- don't want to be a sheeple
- be an intelligent user
- have the freedom you deserve on your device
- and probably more
Here is a great Quote on what to disable
from Android Central:
I know that I just posted this in another thread, but I feel that this may be helpful to the community at large to see what can safely be disabled on your new S7 Edge. I am basically going for the least amount of stuff possible (as close to nexus as I can), but still keeping things available that I find useful (like Samsung Pay). Here is a total list of everything I've disabled (on Verizon...not sure what other carrier's lists look like) - 112 items total:
EDIT 2: As referenced by a thread over on XDA, make sure prior to disabling a package, you delete all the data for the package and then disable immediately after - this can all be done in the Package disabler pro app. See this thread for reference - {GUIDE} Tips that helped me improve my S7 Edâ?¦ - Pg. 3 | Verizon Samsung Galaxy S7 Edge
EDIT 3: I have now attached my total list of disabled packages as a zipped XML file that imports directly into Package Disabler Pro - there are a total of 164 things I have disabled. I will mention to everyone that there are some random things like "Clock" that I have disabled since I downloaded the normal Google Clock from the Play Store, so just be aware that there may be a random thing or 2 that you use that I have ultimately disabled.
Enjoy!
Access Cloud
AllShare FileShare Serivce
Amazon
Amazon Kindle
Amazon Music
ANT + DUT
ANT HAL Service
ANT Radio Service
ANT+ Plugins Service
Assistant Menu
Basic Daydreams
BBCAgent
BeaconManager
Bluetooth MIDI Service
Briefing
Briefing feed
Calendar
Caller Name ID
Camera test
CarmodeStub
ChocoEUKor
ClipboardSaveService
CLipboardUIService
Cloud
Color adjustment
com.android.providers.partnerbookmarks
com.android.sharedstoragebackup
com.android.wallpapercropper
com.samsung.android.app.watchmanagerstub
com.sec.android.app.chromecustomizations
com.sec.android.app.minimode.res
com.sec.android.app.wfdbroker
Control TV
CoolEUKor
DeviceTest
Dictionary
Drive
Email
Foundation
Galaxy Apps
Galaxy Essentials Widget
Gear VR Service
Gear VR SetupWizardStub
Gear VR Shell
go90
Hancom Office 2014
Health Service
Help
Highlight Video Player
IMS Settings
Keis Application BnR
KNOX
KnoxAppsUpdateAgent
Live wallpaper picker
LLKAgent
Magnifier
MDMApp
Memo
Message+
My InfoZone
My interest
My Places
My Verizon MObile
Nearby devices
Nearby Service
NFL Mobile
Personal Data Management
Photo Screensavers
Photos
Private Mode Service
Quick Connect
RoseEUKor
S Finder
S Health
S Voice App
Safety Information
Samsung ApexService
Samsung Content Agent
Samsung Galaxy
Samsung Gear
Samsung Keyboard
Samsung Location SDK
SAmsung Milk Music
Samsung MirrorLink 1.1
Samsung Push Service
Samsung text-to-speech engine
SamsungDLPSerivce
SapaMOnitor
Screen MIrrioring
SecurityLogAgent
Settings Receiver
Slacker Radio
Smart Switch
Smart Switch Agent
Spanish Language Pack
Support & Protection
TalkBack
TouchWiz easy home
Verizon Location Agent
Verizon Login
Verizon Store Demo Mode
Virtual Tour
Voice Assistant
Voice Service
Voice wake-up
VPN Client
VpnDialogs
VZ Navigator
vzw_api
VZW_Multicast_MW
VZWAPN
withTV
Feel free to let me know if there are more things I can add to this list that you've safely disabled without issues!
EDIT: Round 2:
AASAserivce
Clock (Installed standard Google Clock)
CMHProvider
com.samsung.dcmservice
com.samsung.enhanceservice
com.samsung.faceservice
com.samsung.hs20provider
com.samsung.InputEventApp
com.samsung.ipservice
com.Samsung.storyservice
com.samsung.vzw.huxhtmlviewer
Game Launcher
Game Tools
GamepadService
GameService
Safety assistance
Simple sharing
SLLibrary
SmartCallProvider
SmartcardManager
SmartcardService
SmartFaceService
So have a great Day.
And please report your findings or if any bugs occur - so far I had no problem.
Also report if everything is well and you feel like the device works better now :good:
My Galaxy S7 is ultrafast and runs smoothly like never before
Stay Clean :victory:
Best regards
|||||
Click to expand...
Click to collapse
Thanks for this info. I have a G930A (AT&T) and i have disabled everything from you list plus some of the AT&T stuff and so far so good.
Thank you for this thread , can i use any app like ( link2sd ) to freeze these apps ? Will i get the same results ?
I don't want to reinstall the rom if i found any problems
Wahaj-GX said:
Thank you for this thread , can i use any app like ( link2sd ) to freeze these apps ? Will i get the same results ?
I don't want to reinstall the rom if i found any problems
And thank you again for this useful thread
Click to expand...
Click to collapse
I'm not sure if you can use link2sd. I suggest using titanium. You'll have to buy the pro version but it's only like $1.00.
good job, with titanium you freeze or desinstall?
gege0202 said:
good job, with titanium you freeze or desinstall?
Click to expand...
Click to collapse
Backup First, then uninstall.
Freeze doesn't work for everything.
Please add new services that you found on your device or just take 1 or more screenshots and use a ocr reader and copy paste the services
Easy going and you'll help to finish up the list.
Which services/apps do i need for a working samsung gallery app? After debloating the gallery asks at start for calendar permissions and then imidediately exits.
citydweller1985 said:
Which services/apps do i need for a working samsung gallery app? After debloating the gallery asks at start for calendar permissions and then imidediately exits.
Click to expand...
Click to collapse
Actually, I didn't found out whats causing it for sure. This is really awkward.
If you find out whats causing this, you can tell us. Probably Calender related
I believe it's somewhat of broker app or middleman, that was introduced since the last update.
However this helped me to fix this issue:
http://forum.xda-developers.com/showthread.php?t=3353794
Google / Samsung do more and more to create dependecies, so if you deactivate one thing it affects another, even if it isn't necessary.
It's like an fake wall or unwanted restriction, but there always should be a work around
citydweller1985 said:
Which services/apps do i need for a working samsung gallery app? After debloating the gallery asks at start for calendar permissions and then imidediately exits.
Click to expand...
Click to collapse
Com.samsung.dcmservice
Sent from my SAMSUNG-SM-G930A using Tapatalk
...
Hey guys...I'm actually running the un-branded SM935U firmware but I had a question. When I try to use SmartView to connect to my Smart TV (Samsung), it sees the TV, connects, and immediately disconnects.
I was wondering if anybody knew which apps were absolutely required for screen mirroring to work. Thank You!
Hey guys, I debloated my S7 right after I bought it and for the past few days my messaging and phone apps have been loading really slowly for no reason, anybody knows any workarounds?
Saarvieen Raj said:
Hey guys, I debloated my S7 right after I bought it and for the past few days my messaging and phone apps have been loading really slowly for no reason, anybody knows any workarounds?
Click to expand...
Click to collapse
Do you have background data enabled?
Us3rNam3d said:
Do you have background data enabled?
Click to expand...
Click to collapse
Yea background data for mobile data aight?
Saarvieen Raj said:
Yea background data for mobile data aight?
Click to expand...
Click to collapse
Yes...and if not try to restore factory settings and try dosabling apps one by one to see what is causing it
Can someone make an XML of the list so we can just download it and import it to package disabler?
Please follow the guidelines, secure / backup apps to disable before and then intelligently disable the apps there.
You can mostly see by it's name, what it does and what it relates to.
If you for example need smart tv for samsung, look for apps related to smart / samsung and try not to disable those
or disable a few, that you think are safe to disable, check back if it still works, disable more, until you find out, what exact apps need to be there.
Also do some research on systemapps where are you not sure, what they do.
If you come accross a list with more explanations from the web or other forums, just quote it here as well, so you help all others.
So have fun, with a clean and smooth running phone
btw. I use superman rom.
||||| said:
Hey You
Welcome to the Thread of debloating the stomach of your Galaxy S7.
Your interested in speeding up your device?
Removing battery draining system apps?
Having a much better battery life?
And much more...
Click to expand...
Click to collapse
Hi mate, love this! Just about to test it. But in first page you mention about the downloadable XML file we can import into package disabler.... Where exactly is that file?