Redmi Note 3 Pro Snapdragon FULL MIUI Debloating - Xiaomi Redmi Note 3 Guides, News, & Discussion

This is the result of many work hours and reflashes after brick, enjoy!
======================
1) on the phone
======================
Security > Permissions > Allow root (must be china dev rom and unlocked bootloader to be availabile)
Display > Color & Contrast > Standard (Disable automatic contrast)
Lock screen & Fingerprint > Sleep > Set display 2 minutes delay
Sync > Off
Privacy > AD personalisation > Turn Off
Battery & performance > Battery indicator > percentage
Battery & performance > Manage battery usage > Off
Battery & performance > Hide system animations
Developer options > Enable USB debugging
Developer options > Disable MIUI optimizations
Transfer on the phone and install the following apk:
Install MiXplorer Beta 6
Install "WSZF root uninstaller"
Activate app MiXplorer & WSZF as ROOT
================================================
2) from computer, with phone connected
make /system partition modifiable
================================================
adb root
adb disable-verity
adb reboot
=======================================================
3) delete from /system/app with app "MiXplorer"
=======================================================
AMAPNetworkLocation
AnalyticsCore
AntHalService
Antispam
AntiTheftDemo
BarcodeScanner
BasicDreams
BatteryGuruSystemApp
BugReport
CloudService
DataMonitor
Email
FileExplorer
Galaxy4
GameCenter
GuardProvider
HoloSpiralWallpaper
jjcontainer
jjhome
jjknowledge
jjstore
KingSoftCleaner
LiveWallpapers
LiveWallpapersPicker
Metok
MiLinkService
Mipay
MiuiCompass
MiuiVideo
MiWallpaper
NetworkAssistant2
NoiseField
Notes
PaymentService
PhaseBeam
PhotoTable
PowerKeeper
QtiBackupAgent
QtiFeedback
QuickSearchBox
SecurityAdd
SystemAdSolution
ThemeManager
TrafficControl
VisualizationWallpapers
VoiceAssist
Whetstone
XiaomiAccount
XiaomiVip
XMPass
=======================================================
4) delete from /system/priv-app with app "MiXplorer"
=======================================================
Backup
BackupRestoreConfirmation
BatterySaver
Browser
CellBroadcastReceiver
CleanMaster
CloudBackup
FindDevice
MiDrop
MiGameCenterSDKService
Mipub
MiuiVoip
Music
WallpaperCropper
Weather
WeatherProvider
YellowPage
=======================================================
5) delete from /system/data-app with "MiXplorer"
=======================================================
delete everything from here, is full of spyware!
=======================================================
6) delete from /cust/app/customized with app "MiXplorer"
=======================================================
delete everything from here, is full of spyware!
also erase this too:
/etc/WhetstonePermission delete
=================================================================
7) disable autoruns with Autorun Manager Pro v4.3.96_upload_by_NF.apk
=============================================================
App Store, disable all intents
Updater, disable all intents
Xiaomi service framework, disable all intent's and make it frozen
======================================================
8) install from f-droid an open source firewall to disable everything except browser, email, dns, etc (apps installed by you, not the default ones
======================================================
Only in the above conditions I can say that the phone is secure.
Everything works after that: GPS, Dual SIM, Internet, fingerprint unlock, etc.

this works for chinense and global rom?
may you put some screenshots about how it looks?
how many time has you tested it?

If frozen Xiaomi service framework fingerprint stop working.
Thanks for the info.

How it looks and fingerprint...
After debloating phone looks perfectly normal.
Chinese icons will dissapear. "Weibu" and some other strange chinese Youtube-like and Chinese online music services will dissapear too.
From "Settings" the Cloud spyware services will dissapear too.
After the open source firewall installation, I was endessly bugged by the "No Network Conectivity" notification. Some program was not happy that I had cut its conectivity with the modership Xiaomi.
It was "Xiaomi service framework". After I frozen it, I got rid of the permanent network notification.
Here the fingerprints works perfectly.
I use China Beta ROM, with english language. There are no chinese in the Settings menu or apps.
The programs can be removed from other rom editions too.
Without the 50 useless system apps and with 20-30 chinese user apps removed, everything is better (battery usage, disk usage both on system partition and user partition, private data - photos & contacts no longer shared with the chinese servers, etc.)

roasm said:
After debloating phone looks perfectly normal.
Chinese icons will dissapear. "Weibu" and some other strange chinese Youtube-like and Chinese online music services will dissapear too.
From "Settings" the Cloud spyware services will dissapear too.
After the open source firewall installation, I was endessly bugged by the "No Network Conectivity" notification. Some program was not happy that I had cut its conectivity with the modership Xiaomi.
It was "Xiaomi service framework". After I frozen it, I got rid of the permanent network notification.
Here the fingerprints works perfectly.
I use China Beta ROM, with english language. There are no chinese in the Settings menu or apps.
The programs can be removed from other rom editions too.
Without the 50 useless system apps and with 20-30 chinese user apps removed, everything is better (battery usage, disk usage both on system partition and user partition, private data - photos & contacts no longer shared with the chinese servers, etc.)
Click to expand...
Click to collapse
Mate, Thanks is very useful. May you tell debloat the chinense rom vs the global rom is there any other difference that the root option?
thanks

Is it safe you do it with locked bootloader
Can i do it with locked bootloader.
Else i have to unlock it and flash the rom again after delted these files from the phone.
After doing this the phone will work good and how much of ram and storage space is available

Am I the only one who has no problem at all with the chinese dev rom...? I uninstalled all the useless chinese apps and disabled 2-3 apps which can't be uninstalled by default, but if I want to, I could uninstall it.

balazs312 said:
Am I the only one who has no problem at all with the chinese dev rom...? I uninstalled all the useless chinese apps and disabled 2-3 apps which can't be uninstalled by default, but if I want to, I could uninstall it.
Click to expand...
Click to collapse
Bro i m running 6.4.28 dev rom working greate for me with all apps installed and some are disabled.
No issues i have faced till now.

pkvce said:
Bro i m running 6.4.28 dev rom working greate for me with all apps installed and some are disabled.
No issues i have faced till now.
Click to expand...
Click to collapse
that's it...
For unlock go to this site and apply for unlocking, type your reason why you want to unlock, wait... and you will be eligible to unlock (just a tip from me: post your submission on miui forum and say you registered more than 10 days ago, this will make things much faster )

It goes well on my mobile (global 7.2.5 stable). But i don't see anything difference from stock rom.

bahuy2003 said:
It goes well on my mobile (global 7.2.5 stable). But i don't see anything difference from stock rom.
Click to expand...
Click to collapse
Why you have 7.2.5? If this is for pro?
balazs312 said:
that's it...
For unlock go to this site and apply for unlocking, type your reason why you want to unlock, wait... and you will be eligible to unlock (just a tip from me: post your submission on miui forum and say you registered more than 10 days ago, this will make things much faster )
Click to expand...
Click to collapse
Sent from my Redmi Note 3 using XDA-Developers mobile app

Links for required .apk's?
---------- Post added at 09:17 AM ---------- Previous post was at 08:39 AM ----------
After typing 'adb root' my phones disappeared on all my terminals!!!!!!! Help!!!!!!!

Hi,
after doing so, and after a reboot - the phone wont boot
It is doing a loops of MI logo and that loading bar at the bottom and repeats itself
any ideas?
I am on 6.10.13 beta (global dev)

shose said:
Hi,
after doing so, and after a reboot - the phone wont boot
It is doing a loops of MI logo and that loading bar at the bottom and repeats itself
any ideas?
I am on 6.10.13 beta (global dev)
Click to expand...
Click to collapse
Same with me...

I just freeze with TB, just what I dont need and it works fine Kenzo 6.10.11

After debloating I lost the ability to "Search" in the Settings app. - is this Quicksearchbox? If so, don't delete this app - it's useful.

Can we use the cleaning method on miui eu rom or dont have to do ?

tried your method on miui 8 Global stable
deleated the apps u listed everything works excepet i can't give permission to and file manager for deletating media files from sd card document recognise external sd card as internal sd

Thanks, finally removed the xiaomi ****s, phone is million times faster.

kate (Special Edition) is different
I was trying to do something similar with the kate device and it brought me to the endless boot. Finally the working way I found is:
* install TWRP and reboot into it (like fastboot boot twrp-3.0.2-2-kenzo.img)
* get root shell there and run the following:
Code:
mount /system
mount /cust
rm -rf /cust/app/customized/
rm -rf /etc/WhetstonePermission/
rm -rf /system/data-app/
rm -rf /system/priv-app/YellowPage/
rm -rf /system/priv-app/CleanMaster/
rm -rf /system/priv-app/Velvet/
rm -rf /system/priv-app/MiDrop/
rm -rf /system/priv-app/Mipub/
rm -rf /system/priv-app/CloudBackup/
rm -rf /system/priv-app/Backup*
rm -rf /system/app/Whetstone/
rm -rf /system/app/YouTube/
rm -rf /system/app/Hangouts/
rm -rf /system/app/jj*
rm -rf /system/app/Maps/
rm -rf /system/app/Gmail2/
rm -rf /system/app/Music2/
rm -rf /system/app/Photos/
rm -rf /system/app/Drive/
rm -rf /system/app/Chrome/
rm -rf /system/app/Duo/
rm -rf /system/app/Videos/
rm -rf /system/app/KingSoftCleaner/
rm -rf /system/app/HoloSpiralWallpaper/
rm -rf /system/app/Xiaomi*
rm -rf /system/app/MiPlay/
rm -rf /system/app/MiPicks/
rm -rf /system/app/MiDiscover/
rm -rf /system/app/MiWallpaper/
rm -rf /system/app/MiLinkService/
rm -rf /system/app/MiuiCompass/
rm -rf /system/app/Notes/
rm -rf /system/app/Security*
rm -rf /system/app/FileExplorer/
That's it. No need to change settings. Also it deletes almost all Google files, but Play Store will continue working.

Related

[HowTo] Remove System Apps + Description

Hi, i just went through the online ROM cooking app from Modaco for the desire ROM...after 10 Minutes i got to the bottom where i read "only for paid users". Well it's their right, but i find it lame nevertheless.
Right. to the Howto. You need:
1. Rooted Nexus. You can follow this thread if you haven't done it:
2. You need Explorer or any Explorer like app (the first one is FREE in the Store)
3. Navigate to /system/app/ - Here are all the installed apps, you will want to swipe through and remember the EXACT name you want to remove (Case sensitive!)
Ex.: com.htc.FriendStreamWidget.apk
4. On the Phone navigate to SETTINGS -> PROGRAMS -> DEVELOPMENT -> activate USB Debugging
5. On the PC Open a CMD and navigate to the Android SDK
a. Test if the connection is working:
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT9CVP815983 device
b. adb shell
#
c. #su -ENTER
su
d. #cd /system/app
cd /system/app
e. mount -o rw,remount /system
f. Now here you start to uninstall. To uninstall an app you will need to use the following command together with the exact name you remembered at point 3. The names ARE Case Sensitive!
rm -r teeter.apk (for the Teeter game app for ex.)
That's IT!
Other apps i removed:
rm -r Browser.apk - Default Internet Browser
rm -r com.amazon.mp3.apk - Amazon bloatware
rm -r com.htc.FriendStreamWidget.apk - Integrates Flickr and Facebook Widget
rm -r com.htc.StockWidget.apk - If you use STOCKs you might want this
rm -r DCSStock.apk - Stock App
rm -r FriendStream.apk - Integrates Flickr and Facebook
rm -r HtcTwitter.apk - HTC Twitter App
rm -r com.htc.TwitterWidget.apk - Twitter Widget
rm -r NewsReader.apk - RSS News Reader
rm -r com.htc.NewsReaderWidget.apk - RSS News Reader
rm -r RSS.apk - Another RSS app
rm -r com.htc.MusicWidget.apk - Default Music Widget (i use the icon)
rm -r HtcFootprints.apk - Footprints
rm -r HtcFootprintsWidget.apk - Widget
rm -r /system/app/com.htc.MusicWidget.apk - Music Widget
rm -r /system/app/com.htc.NewsReaderWidget.apk - RSS News Reader Widget
rm -r /system/app/Gmail.apk - Gmail app (i use the normal MAIL app for syncing my gmail account)
rm -r /system/app/GmailProvider.apk (the Gmail provider)
rm -r /system/app/HtcTwitter.apk (i`m sure you use a different app for twitter)
rm -r /system/app/HTCSetupWizard.apk (the initial setup app that i went through one time)
P.s: if you want to add something back just look into the ZIPPED ROM image and take the apk from /system/app
Other apps and what they do (this are reflected by my own research). Please feel free to add applications and a description as there are still a few that i have no idea what they do (and i haven't found a complete list):
HTC_IME.apk - The android keyboard
Clicker.apk - if you want to improve typing experience through calibration
Rosie.apk - Main interface app of SenseUI (same as Launcher.apk)
Launcher.apk - Main interface app of Stock Cupcake1.5 UI - it hosts all application, manage widgets and more...
PCSCII.apk - client for syncronization via HTC Sync
HtcStreamPlayer.apk - Player for streamed audio
iWnnIME.apk - Japanese keyboard
CNSoftKeyboard.apk - Chinese soft Keyboard
Feel free to add to the guide. If it is useful i`ll edit it!
Cheers
teeter.apk is the HTC game called Teeter. The one with the silver ball you roll around into the appropriate hole.
qiuness said:
Hi, i just went through the online ROM cooking app from Modaco for the desire ROM...after 10 Minutes i got to the bottom where i read "only for paid users". Well it's their right, but i find it lame nevertheless.
Right. to the Howto. You need:
1. Rooted Nexus. You can follow this thread if you haven't done it:
2. You need Explorer or any Explorer like app (the first one is FREE in the Store)
3. Navigate to /system/app/ - Here are all the installed apps, you will want to swipe through and remember the EXACT name you want to remove (Case sensitive!)
Ex.: com.htc.FriendStreamWidget.apk
4. On the Phone navigate to SETTINGS -> PROGRAMS -> DEVELOPMENT -> activate USB Debugging
5. On the PC Open a CMD and navigate to the Android SDK
a. Test if the connection is working:
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT9CVP815983 device
b. adb shell
#
c. #su -ENTER
su
d. #cd /system/app
cd /system/app
e. Now here you start to uninstall. To uninstall an app you will need to use the following command together with the exact name you remembered at point 3.
rm -r teeter.apk (for the Twitter app)
That's IT!
Other apps i removed:
rm -r Browser.apk - Default Internet Browser
rm -r com.amazon.mp3.apk - Amazon bloatware
rm -r com.htc.FriendStreamWidget.apk - Integrates Flickr and Facebook Widget
rm -r com.htc.StockWidget.apk - If you use STOCKs you might want this
rm -r DCSStock.apk - Stock App
rm -r FriendStream.apk - Integrates Flickr and Facebook
rm -r HtcTwitter.apk - HTC Twitter App
rm -r com.htc.TwitterWidget.apk - Twitter Widget
rm -r NewsReader.apk - RSS News Reader
rm -r com.htc.NewsReaderWidget.apk - RSS News Reader
rm -r RSS.apk - Another RSS app
rm -r com.htc.MusicWidget.apk - Default Music Widget (i use the icon)
rm -r HtcFootprints.apk - Footprints
rm -r HtcFootprintsWidget.apk - Widget
Other apps and what they do (this are reflected by my own research). Please feel free to add applications and a description as there are still a few that i have no idea what they do (and i haven't found a complete list):
HTC_IME.apk - The android keyboard
Clicker.apk - if you want to improve typing experience through calibration
Rosie.apk - Main interface app of SenseUI (same as Launcher.apk)
Launcher.apk - Main interface app of Stock Cupcake1.5 UI - it hosts all application, manage widgets and more...
PCSCII.apk - client for syncronization via HTC Sync
HtcStreamPlayer.apk - Player for streamed audio
iWnnIME.apk - Japanese keyboard
CNSoftKeyboard.apk - Chinese soft Keyboard
Feel free to add to the guide. If it is useful i`ll edit it!
Cheers
Click to expand...
Click to collapse
HTC_IME is the HTC keyboard called Touch Input, and it used Clicker.apk to calibrate it.
Felt this should be addressed since non Desire ROM's don't have this by default. Unless you add it in of course.
I was actually thinking of how to do this prom the PC...just now. Thanks for the guide. But what's the command to list files in current directory...ls?
Unfortunately i cant uninstall the Amazon App.
Where is the mistake?
C:\android-sdk\tools>adb devices
List of devices attached
HT9CRP802817 device
C:\android-sdk\tools>adb shell
# su -ENTER
su -ENTER
# cd /system/app
cd /system/app
# rm -r com.amazon.mp3.apk
rm -r com.amazon.mp3.apk
rm: remove 'com.amazon.mp3.apk'? y
y
rm: can't remove 'com.amazon.mp3.apk': Read-only file system
#
Click to expand...
Click to collapse
Domskibus said:
Unfortunately i cant uninstall the Amazon App.
Where is the mistake?
Click to expand...
Click to collapse
Type
Code:
adb remount
before you do the commands.
what is the difference between rm -r xxxxx.apk to adb uninstall xxxx.apk? They both uninstall them right? Or am I missing something...
You can always boot into recovery and:
adb shell mount /system
adb shell rm /system/app/xxxx.pk
To look what is there:
adb shell ls /system/app
Okay...I've removed all ringtones from the phone. Now I want to put in my own ringtones from the computer. How do I copy all the ringtones I have all at once to the phone instead of one by one?
Damn i deleted the CalendarProvider which i`m guessing handles the sync with google.
Can someone with a Desire Alpha 14 upload the CalendarProvider.apk somewhere?
Thanks!
EDIT: Nevermind i just unzipped the contents of the ROM and pulled it out from there... working again
SiNJiN76 said:
Okay...I've removed all ringtones from the phone. Now I want to put in my own ringtones from the computer. How do I copy all the ringtones I have all at once to the phone instead of one by one?
Click to expand...
Click to collapse
Just put em on your sdcard, the phone will find them automatically. For mp3's you may have to install ring droid or rings extended.
Why not just use Root Explorer (or equiv), navigate to system/app, mount as r/w, find the file you want and rename it to file.apk.bak, revert back to r/o there you go?
You don't need and PC and you can get it back any time this way.
TurboTsi said:
what is the difference between rm -r xxxxx.apk to adb uninstall xxxx.apk? They both uninstall them right? Or am I missing something...
Click to expand...
Click to collapse
Previously, I was using:
Code:
adb remount
adb shell
adb rm -r xxxxx.apk
I tried using:
Code:
adb remount
adb uninstall xxxx.apk
It keeps saying
Code:
Failure
Does adb uninstall work? If so what am I doing wrong?
setzer715 said:
You can always boot into recovery and:
adb shell mount /system
adb shell rm /system/app/xxxx.pk
To look what is there:
adb shell ls /system/app
Click to expand...
Click to collapse
this way worked fantastic!!!
+1 for this. Very helpfull
updated the app list with some more that were present on the latest A19 Desire ROM
I don't understand the insistence on using adb; all of this can be done from within the terminal emulator just fine.
I just removed Music.apk via this method, via the phone, no connection to a PC needed. Also backed it up first via the terminal.
shograt said:
I don't understand the insistence on using adb; all of this can be done from within the terminal emulator just fine.
I just removed Music.apk via this method, via the phone, no connection to a PC needed. Also backed it up first via the terminal.
Click to expand...
Click to collapse
some prefer to type on a full-sized keyboard when available?
Sure, I guess I can understand that.
I guess from my end, it's more spite, defiance, etc - one of the things I detested about the iphone was the requirement of attaching it to a PC (and of having to keep a windows install running, no itunes on linux). Being able to do damned close to everything directly on the phone, is one of the things I love about this phone.
Any Way I can remove Read only Files Like The Amazon mp3 Store without Rooting my Phone ? ?

Removing unwanted sense applications.

So i have rooted my HTC desire phone, now i wonder if is it posibble to remove any stock applications from it, without flashing someones rom.
Apps like, Flick, Footprints, Google Talk, Peep, Quickoffice, Stocks.
This are the apps i would like to remove, or atleast make them stop starting and restarting each time i kill them with some task manager.
Yes, it's possible.
You have to do all the steps of rooting till you'll reach "recovery" mode (just before wipe and flash).
than just run the debugger
Code:
./adb shell
withing the shell
Code:
mount /system
list your apps with:
Code:
ls /system/app
now you can delete app:
Code:
rm /system/app/FriendStream*
and so on
It's good idea to backup your apps on sdcard
Code:
mount /sdcard
mkdir /sdcard/backup
cp /system/app/* /sdcard/backup
after work is finished
Code:
umount /sdcard
umount /system
reboot and you're done
It's good idea to wipe data after removing apps to avoid some junk in app manager.
Wow! Thanks a lot for that!
I was trying adb commands with the phone in USB Disk Drive mode (debugging enabled) and I couldn't touch anything off the /system partition.
It never occurred to me to try in Recovery mode though
by saying it's a good idea to wipe data after removing some apps do you mean hard reset ??? or this just deletes the junk files?????
also do i need to flash the rooted update for this or just enter recovery mode ?

[TOOLS/APP] [CM7/9] dpi/cleaner.zip template & MTP-MassStorage switcher

Hello,
This thread is about two subject. I know, it is odd but considered the enthousism to post about it it would be a waste of anyone's time to have two threads. Besides that, there is not much to say about it anymore, both tools just work.
TOOL 1: CWM flashable tool to clean unwanted apps and sounds and set your desired dpi on the go. You won't even notice you upgraded of you don't look for it!
-sets DPI to 210
-removes a lot of apps and sounds
-wipe cache and dalvic cache
-fix permissions RomManager way​
I understand that nobody has the same preferences I have so the .zip file is setup as simple as possible and can easily be adjusted:
dpi setting:
change the value in the setdpi.sh script​remove apps, sounds, files:
change the cleaner.sh script (done in a sh script because it is very easy to read and almost impossible to **** other things up​tweaks:
adjust the tweaks folder in the zip to your likings.​
To modify the .sh scripts I use Notepad++
To repack the zip i use 7zip. It is not signed anyway so you dont need to bother that
How to use the dpi_cleaner_V1g.zip:
-boot into CWM
-flash the CyanogenMod upgrade (either a nightly, a stable or a snapshot)
-flash dpi_cleaner_Vxx.zip
-flash a kernel (or not, just what you like)
-reboot, done​
Or in RomManager:
-tick "Advanced Mode" in RomManagers Settings
-choose "install Rom from SD card"
-browse to the desired CyanogenMod build and select.
-choose "add zipp"
-browse to dpi_cleaner_V1g.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
Previous versions could be used as a cleaning script like Lippols but I removed it, Lippol is now removing modules as well. I don't know why but he does it. If I would include that feature you couldn't stay at stock kernel but needed a custom kernel.
I commented this out in the cleaner.sh. If you like it you can uncomment it but I don't recommend it. The nightly itself will fix it anyway!
Download it here:
CM7_dpi_cleaner_V1g.zip - mediafire.com
CM9_dpi_cleaner_V2b.zip - mediafire.com
credits for: Chainfire, Muff99, Backhead92, Lippol94, WiwiPouPou and FadeFx (and many more!)
On request: major part of cleaner.sh to see what will be removed.
YOU SHOULD EDIT THIS YOURSELF
cleaner.sh for CM7 - pastebin
cleaner.sh for CM9 - pastebin
TOOL 2: USB mode switch for SGS1 on CM
This miniature app is to change your usb mode from MTP to mass storage and vice versa.
It will only work on the Samsung GalaxyS running ICS by teamhacksung. In time it will be redundant because I think this function will be incorporated by the rom.
FROM NOW ON YOU CAN FIND THE FUNCTION OF THIS APP NATIVELY IN CM9. IT IS UNDER SETTINGS-STORAGE-MENU BUTTON. THANKS FOR USING!
It needs USB-debugging enabled (and a Samsung GalaxyS with rootacces of course)​
Download it on Google Play.
Changes:
V1b
-Upgraded to GAPPS 613, me and others had problems with market and I don't care about the video on talk anymore.
-Removed additional fixing permissions, not needed since they are in CM7 updater-script as well.
-unmount /system and /data when the script is finished flashing
V1c
-Updated cleaning script with modules, logger.co and more init.d scripts (in line with lippols V2)
-Removing also FM.apk, I prefer Spirit FM app nowadays (although the dev of it doesn't anymore)
V1d
-Cleaned the cleaner.sh. Now it is not removing init.d anymore. I removed this because I started thinking about he purpose of my script. It is not needed in here because the nightly will take care of the init.d. Besides that, Lippol is now also deleting the modules. If I did the same you couldn't use the stock kernel with this script.
-Repaired the dalvic-cleaning, before it didn't really clean the part in /data, now it does.
V1e
-new mounting with thanks to Muff99. Before it was more or less accidental that the dalvic-cache in /data was cleaned. Now it is the result of the updater-script. Before it was in the cleaner.sh. Also the logger.ko is now actually removed, before it wasn't.
It is still the gapps 613 because the new market sucks with slower internet connection.
V1f
- added the "stackable mounts" for the time being. I hope this will bring it to the nightlies, it is a good feature. also added the "umsdirtyratio" to speed up USB transfer speeds. And, last but not least, updated the FadeFx tweaks, should improve GPS performance (for us Europeans).
V1g
-removed FadeFx tweaks and changed bootanimation. Stopped adding Gapps, if you want to flash them, do it yourself!
cm101_sX_dpi.zip
- by special request, a version that sets dpi to 210 (SGS1) or 241(sgs3). To be flashed in cwm, both have an addon.d script that will keep the dpi set to 210 on the Samsung Galaxy S GT-i9000 or 241 on the Samsung Galaxy S GT-i9300. And, as a special feature: some output during flashing the nightly, first seen on this addon script (with ofc still a huge thanks to Chainfire).
Thanks Zatta, I'll adjust it to my needs and try it with the next nightly.
It saves some finetuning time after each update.
Sent from my GT-I9000 using XDA Premium App
Do i need to change also the updater-script if i don´t want to remove a specific apk or is it enough to change the cleaner.sh?
CitizenX said:
Do i need to change also the updater-script if i don´t want to remove a specific apk or is it enough to change the cleaner.sh?
Click to expand...
Click to collapse
Just the cleaner. Did you notice that there are also most sounds and ringtones to be cleaned, maybe you like to keep those (or some) as well...
Tapatalked u see
Thanks, yes i saw that, already chnaged the script a little bit.
Zatta said:
Hello,
I am using CM7 for quite a while. Since it got into CM-mainline the flashingrate increased dramaticaly and so did the neccesairy steps to update lately.
So, I created a cwm-flashable zip to do all tasks that I do in one step:
-Flash GAPPS with video for talk: gapps-gb-2011503
-install some tweaks (from FadeFX): Angry GPS with .conf file and nice bootanimation
-sets DPI to 210
-removes a lot of apps, sounds and init.d files (like Lippol94s script and more)
-wipe cache and dalvic cache
-fix permissions RomManager way
-fix additions permissions FadeFx way​
I understand that nobody has the same preferences I have so the .zip file is setup as simple as possible and can easily be adjusted:
dpi setting:
change the value in the setdpi.sh script​remove apps, sounds, files:
change the cleaner.sh script (done in a sh script because it is very easy to read and alost impossible to **** other things up​tweaks:
adjust the tweaks folder in the zip to your likings.​
To modify the .sh scripts I use Notepad++
To repack the zip i use 7zip. It is not signed anyway so you dont need to bother that
How to use the gapps_dpi_cleaner.zip:
-boot into CWM
-format /system
-flash cm_galaxysmtd_full-X.zip
-flash gapps_dpi_cleaner.zip
-flash a kernel (or not, just what you like)
-reboot, done​
Or in RomManager:
-tick advanced in options
-choose "install Rom from SD card"
-browse to the cm_galaxysmtd_full-X.zip and select
-choose "ad zipp"
-browse to gapps_dpi_cleaner.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
It can also be used before flashing a kernel only, the famous Lippol94 script is included.
Where to download?
Download it here: http://dl.dropbox.com/u/33044194/gapps_dpi_cleaner.zip
credits for: Chainfire, Backhead92, Lippol94, WiwiPouPou and FadeFx (and many more!)
Note:
I found out that Derrzredeem has done pretty much te same though I like mine better and more easy to adjust hahaha :
http://forum.xda-developers.com/showthread.php?t=1127758
On request: major part of cleaner.sh to see what will be removed.
YOU SHOULD EDIT THIS YOURSELF
Code:
# --- actual script for removing various things ---
# inspired by Insanity Roms and Backhead92
# cleaning init.d inspired by Lippol94 and others
ui_print " Removing unwanted system apps";
rm /system/app/ADWLauncher.apk
rm /system/app/Androidian.apk
rm /system/app/BooksPhone.apk
rm /system/app/GenieWidget.apk
rm /system/app/Calculator.apk
rm /system/app/Calendar.apk
rm /system/app/CalendarProvider.apk
rm /system/app/CarHomeGoogle.apk
rm /system/app/CMWallpapers.apk
rm /system/app/Cyanbread.apk
rm /system/app/DeskClock.apk
rm /system/app/Development.apk
rm /system/app/DSPManager.apk
rm /system/app/Email.apk
rm /system/app/FileManager.apk
rm /system/app/GoogleQuickSearchBox.apk
rm /system/app/HTMLViewer.apk
rm /system/app/Protips.apk
rm /system/app/SoundRecorder.apk
rm /system/app/SpareParts.apk
rm /system/app/Stk.apk
rm /system/app/VisualizationWallpapers.apk
rm /system/app/VoiceDialer.apk
rm /system/fonts/DroidSansArabic.ttf
rm /system/fonts/DroidSansFallback.ttf
rm /system/fonts/DroidSansHebrew.ttf
rm /system/fonts/DroidSansThai.ttf
ui_print " Removing unwanted sounds";
rm /system/media/audio/alarms/Alarm_Beep_01.ogg
rm /system/media/audio/alarms/Alarm_Beep_02.ogg
rm /system/media/audio/alarms/Alarm_Buzzer.ogg
rm /system/media/audio/alarms/Alarm_Classic.ogg
rm /system/media/audio/alarms/Alarm_Rooster_02.ogg
rm /system/media/audio/notifications/Aldebaran.ogg
rm /system/media/audio/notifications/Altair.ogg
rm /system/media/audio/notifications/Antares.ogg
rm /system/media/audio/notifications/arcturus.ogg
rm /system/media/audio/notifications/Beat_Box_Android.ogg
rm /system/media/audio/notifications/Betelgeuse.ogg
rm /system/media/audio/notifications/CaffeineSnake.ogg
rm /system/media/audio/notifications/Canopus.ogg
rm /system/media/audio/notifications/Capella.ogg
rm /system/media/audio/notifications/Castor.ogg
rm /system/media/audio/notifications/CetiAlpha.ogg
rm /system/media/audio/notifications/Cricket.ogg
rm /system/media/audio/notifications/DearDeer.ogg
rm /system/media/audio/notifications/Drip.ogg
rm /system/media/audio/notifications/F1_MissedCall.ogg
rm /system/media/audio/notifications/F1_New_MMS.ogg
rm /system/media/audio/notifications/F1_New_SMS.ogg
rm /system/media/audio/notifications/Fomalhaut.ogg
rm /system/media/audio/notifications/Heaven.ogg
rm /system/media/audio/notifications/Highwire.ogg
rm /system/media/audio/notifications/KzurbSonar.ogg
rm /system/media/audio/notifications/Merope.ogg
rm /system/media/audio/notifications/moonbeam.ogg
rm /system/media/audio/notifications/pixiedust.ogg
rm /system/media/audio/notifications/pizzicato.ogg
rm /system/media/audio/notifications/Plastic_Pipe.ogg
rm /system/media/audio/notifications/Polaris.ogg
rm /system/media/audio/notifications/Pollux.ogg
rm /system/media/audio/notifications/Procyon.ogg
rm /system/media/audio/notifications/regulus.ogg
rm /system/media/audio/notifications/sirius.ogg
rm /system/media/audio/notifications/Sirrah.ogg
rm /system/media/audio/notifications/SpaceSeed.ogg
rm /system/media/audio/notifications/TaDa.ogg
rm /system/media/audio/notifications/Tinkerbell.ogg
rm /system/media/audio/notifications/tweeters.ogg
rm /system/media/audio/notifications/vega.ogg
rm /system/media/audio/notifications/Voila.ogg
rm /system/media/audio/ringtones/ANDROMEDA.ogg
rm /system/media/audio/ringtones/Aquila.ogg
rm /system/media/audio/ringtones/ArgoNavis.ogg
rm /system/media/audio/ringtones/BeatPlucker.ogg
rm /system/media/audio/ringtones/BentleyDubs.ogg
rm /system/media/audio/ringtones/Big_Easy.ogg
rm /system/media/audio/ringtones/BirdLoop.ogg
rm /system/media/audio/ringtones/Bollywood.ogg
rm /system/media/audio/ringtones/BOOTES.ogg
rm /system/media/audio/ringtones/BussaMove.ogg
rm /system/media/audio/ringtones/Cairo.ogg
rm /system/media/audio/ringtones/Calypso_Steel.ogg
rm /system/media/audio/ringtones/CANISMAJOR.ogg
rm /system/media/audio/ringtones/CaribbeanIce.ogg
rm /system/media/audio/ringtones/Carina.ogg
rm /system/media/audio/ringtones/CASSIOPEIA.ogg
rm /system/media/audio/ringtones/Centaurus.ogg
rm /system/media/audio/ringtones/Champagne_Edition.ogg
rm /system/media/audio/ringtones/Club_Cubano.ogg
rm /system/media/audio/ringtones/CrayonRock.ogg
rm /system/media/audio/ringtones/CrazyDream.ogg
rm /system/media/audio/ringtones/CurveBall.ogg
rm /system/media/audio/ringtones/Cygnus.ogg
rm /system/media/audio/ringtones/DancinFool.ogg
rm /system/media/audio/ringtones/Ding.ogg
rm /system/media/audio/ringtones/DonMessWivIt.ogg
rm /system/media/audio/ringtones/Draco.ogg
rm /system/media/audio/ringtones/DreamTheme.ogg
rm /system/media/audio/ringtones/Eastern_Sky.ogg
rm /system/media/audio/ringtones/Eridani.ogg
rm /system/media/audio/ringtones/EtherShake.ogg
rm /system/media/audio/ringtones/FreeFlight.ogg
rm /system/media/audio/ringtones/FriendlyGhost.ogg
rm /system/media/audio/ringtones/Funk_Yall.ogg
rm /system/media/audio/ringtones/GameOverGuitar.ogg
rm /system/media/audio/ringtones/Gimme_Mo_Town.ogg
rm /system/media/audio/ringtones/Glacial_Groove.ogg
rm /system/media/audio/ringtones/Growl.ogg
rm /system/media/audio/ringtones/HalfwayHome.ogg
rm /system/media/audio/ringtones/hydra.ogg
rm /system/media/audio/ringtones/InsertCoin.ogg
rm /system/media/audio/ringtones/LoopyLounge.ogg
rm /system/media/audio/ringtones/LoveFlute.ogg
rm /system/media/audio/ringtones/Lyra.ogg
rm /system/media/audio/ringtones/Machina.ogg
rm /system/media/audio/ringtones/MidEvilJaunt.ogg
rm /system/media/audio/ringtones/MildlyAlarming.ogg
rm /system/media/audio/ringtones/Nairobi.ogg
rm /system/media/audio/ringtones/Nassau.ogg
rm /system/media/audio/ringtones/NewPlayer.ogg
rm /system/media/audio/ringtones/Noises1.ogg
rm /system/media/audio/ringtones/Noises2.ogg
rm /system/media/audio/ringtones/Noises3.ogg
rm /system/media/audio/ringtones/No_Limits.ogg
rm /system/media/audio/ringtones/OrganDub.ogg
rm /system/media/audio/ringtones/Orion.ogg
rm /system/media/audio/ringtones/Paradise_Island.ogg
rm /system/media/audio/ringtones/Pegasus.ogg
rm /system/media/audio/ringtones/PERSEUS.ogg
rm /system/media/audio/ringtones/Playa.ogg
rm /system/media/audio/ringtones/Pyxis.ogg
rm /system/media/audio/ringtones/Revelation.ogg
rm /system/media/audio/ringtones/Rigel.ogg
rm /system/media/audio/ringtones/Ring_Classic_02.ogg
rm /system/media/audio/ringtones/Ring_Digital_02.ogg
rm /system/media/audio/ringtones/Ring_Synth_02.ogg
rm /system/media/audio/ringtones/Ring_Synth_04.ogg
rm /system/media/audio/ringtones/Road_Trip.ogg
rm /system/media/audio/ringtones/RomancingTheTone.ogg
rm /system/media/audio/ringtones/Safari.ogg
rm /system/media/audio/ringtones/Savannah.ogg
rm /system/media/audio/ringtones/Scarabaeus.ogg
rm /system/media/audio/ringtones/Sceptrum.ogg
rm /system/media/audio/ringtones/Seville.ogg
rm /system/media/audio/ringtones/Shes_All_That.ogg
rm /system/media/audio/ringtones/SilkyWay.ogg
rm /system/media/audio/ringtones/SitarVsSitar.ogg
rm /system/media/audio/ringtones/Solarium.ogg
rm /system/media/audio/ringtones/SpringyJalopy.ogg
rm /system/media/audio/ringtones/Steppin_Out.ogg
rm /system/media/audio/ringtones/Terminated.ogg
rm /system/media/audio/ringtones/Testudo.ogg
rm /system/media/audio/ringtones/Third_Eye.ogg
rm /system/media/audio/ringtones/Thunderfoot.ogg
rm /system/media/audio/ringtones/TwirlAway.ogg
rm /system/media/audio/ringtones/URSAMINOR.ogg
rm /system/media/audio/ringtones/VeryAlarmed.ogg
rm /system/media/audio/ringtones/Vespa.ogg
rm /system/media/audio/ringtones/World.ogg
rm /system/media/audio/ui/camera_click.ogg
rm /system/media/audio/ui/LowBattery.ogg
rm -r /system/tts/
ui_print " Cleaning init.d files";
rm /system/etc/init.d/89system_tweak
rm /system/etc/init.d/S98system_tweak
rm /system/etc/init.d/90screenstate_scaling
rm /system/etc/init.d/S98screenstate_scaling
rm /system/etc/init.d/04modules
rm /system/etc/init.d/70zipalign
rm /system/etc/init.d/S70zipalign
rm /system/etc/init.d/S97ramscript
rm /system/etc/init.d/S98SD
rm /system/etc/init.d/07defaulttheme
rm /system/etc/init.d/00banner
rm /system/etc/init.d/02firstboot
rm /system/etc/init.d/S90scheduler
rm /system/etc/init.d/S_volt_scheduler
ui_print " Fixing permissions";
progress 0.50 5;
sleep 3s;
set_progress 1.00;
fix_permissions
#sleep 3s;
Click to expand...
Click to collapse
The "addzip" in RM hasn't worked on CWM_v.4.0.x. It worked only on CWM_v3.x.
saszseb said:
The "addzip" in RM hasn't worked on CWM_v.4.0.x. It worked only on CWM_v3.x.
Click to expand...
Click to collapse
That is correct, I hoped actually that this issue would get corrected somewhere in the recent past. Now I'll wait for the (near) future.
Edit: also backup from RM does not work on CWM 4, it has issues.. That is not related to my zip.
Tapatalked u see
Wonderful!
I currently manually remove things from CM7 I don't need (flash a 1 nightly per week, but still quite some work). Will adapt your script to suit my needs
on cm nigltly 29 i think wifi worked ~10 min... but that's another problem
thank you for the script
Just flashed it on #36:
-from #34 boot in cwm with "reboot to recovery"
-flashed cm7_galaxysmtd_full-36.zip
-flashed gapps_dpi_cleaner.zip
-rebooted. Got stuck on the bootanimation (or got impatient, but waited a couple of minutes)
-rebooted again by pressing the powerbutton for some time
Now running in stock kernel to test it somewhat. Google acounts are still intact, I did not format /sytem.
Hmm, might not be related, but also could be .
First of all thanks! Saves me 7 minutes after every flash
The issue:
Today I wasnt able to update apps, it was just unsuccessful from the market. (or install)
1. cleaned market data > didnt help
2. uninstalled updates > erased market
3. installed gapps > market still gone
4. run your scritp again (this time with the vending from 613) > works
So anyone else experiencing this? Is the market in your script somehow different? Or something else was wrong on install
Just asking if anyone else from here has it. If not I will search somewhere else (have some other ideas which did something to the market, but this started after I started using the script, might be coincidence or not )
Nice to read that someone is using my script with succes, I do it every time myself offcourse.
Today I had also some problems with market, just wrote about it on the CM7 mainthread. Eventually, after doing everything the script does manually and flashing two earlier builds without using my script, market still didn't work. At the end I did an factory reset, inconvenient enough!
With the vending from 613 you mean the newer gapps, as in gapps-gb-2011613.zip ?
I am using the older, withdrawn gapps-gb-2011503.zip within my script to be able to use ffc in talk (not that I use it but it's nice to have...)
What are your other ideas about the market? Maybe I'll change the whole gapps packet to 0613 if more people are facing this problem. Or maybe just leave the talk thing with .so and update the rest, I don't know where this thing is going anyway
Zatta said:
Nice to read that someone is using my script with succes, I do it every time myself offcourse.
Today I had also some problems with market, just wrote about it on the CM7 mainthread. Eventually, after doing everything the script does manually and flashing two earlier builds without using my script, market still didn't work. At the end I did an factory reset, inconvenient enough!
With the vending from 613 you mean the newer gapps, as in gapps-gb-2011613.zip ?
I am using the older, withdrawn gapps-gb-2011503.zip within my script to be able to use ffc in talk (not that I use it but it's nice to have...)
What are your other ideas about the market? Maybe I'll change the whole gapps packet to 0613 if more people are facing this problem. Or maybe just leave the talk thing with .so and update the rest, I don't know where this thing is going anyway
Click to expand...
Click to collapse
Ah yes I meant the new gapps as you wrote . The others, was using chainfire 3d fix for market but that was long ago. So I guess it was the market from the 5 in our case if you experienced it too. So wouldn't be so bad to change them. Btw from the 5 vs 6 I think only market and talk are different all other apps had the same size I guess.
But the fix was easy enough. As said changed the apps in your script and done
again thx
Sent from my GT-I9000 using Tapatalk
I had some gapps problems the first time I used your script. Since then, I switched back to doing all the work manually (using the latest gapps) and don't have problems with gapps anymore...
Means I will change to 613 gasps, including talk. I don't use video calls myself anyway. Update tonight: done!
Edit: Today, 28th of June, I flashed build#41:
format /system
flash cm_galaxysmtd_full-41.zip
flash G613_dpi_cleaner.zip
Everything perfect!
Zatta said:
Or in RomManager (did not work on builds #30 up to #35, flawless since #36):
-tick advanced in options
-choose "install Rom from SD card"
-browse to the cm_galaxysmtd_full-X.zip and select
-choose "add zipp"
-browse to G613_dpi_cleaner_V1B.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
Click to expand...
Click to collapse
where is the "add zipp" option? When I select the ROM-zip I only get the wipe/backup options and that's it?
Edit: never mind, I had to use the advanced options in the settings...
Added that to the "How to use" in the op, thanks. Personally I don't use the RomManager way anymore because as a precaution I do the "format /system" trick, though Antin anounched that the problem that is solved by this trick is not in CM anymore. Will you let me know if it worked for you?
This is a great little tool, it's saved me so much time! Will you continue to update and support it with new versions of gapps etc.? Thanks
What a surprise to see someone actually use it, I already started to think I was the only one
Actually, I am testing/using a different approach with the same goal but this only works with fugumod kernel and has a difficult "howto" so I can't post it here (yet).
To give you an idea: one (flashable) script to find latest nightly on your sd, latest gapps, a modified version of the zip in this thread and latest fugumod and run all that in cwm.
But, progress is slow since I am not a die hard coder and have to spent numerous hours to get it all running without bugs.
If you would like to see how far I got, sent a pm.
Tapatalked u see

[Q] CM10.1 camera app

HI,
So I am in CM10.1 (latest nightlies). I love the customization options of it compared to GAPPS camera. Though CM10 camera (or OVERALL CM10 system) lags/framedrops occasionally, I still like it because it has customization unlike stock camera app.
But I also want to install GAPPS on my device. The problem is once I flash GAPPS, the camera app of CM10 is overwritten.
I tried using Titanium back up prior flashing GAPPS. Since I can't find the camera/gallery app, I just backed up all system apps. Then I flashed gapps. After flashing, I used titanium again to restore all system apps. I restarted the phone, but the cm10 camera app isnt restored.
Is there another way to this? Like selective gapps installation(i have the flashable zip)?
Thanks!
wakoko79 said:
HI,
So I am in CM10.1 (latest nightlies). I love the customization options of it compared to GAPPS camera. Though CM10 camera (or OVERALL CM10 system) lags/framedrops occasionally, I still like it because it has customization unlike stock camera app.
But I also want to install GAPPS on my device. The problem is once I flash GAPPS, the camera app of CM10 is overwritten.
I tried using Titanium back up prior flashing GAPPS. Since I can't find the camera/gallery app, I just backed up all system apps. Then I flashed gapps. After flashing, I used titanium again to restore all system apps. I restarted the phone, but the cm10 camera app isnt restored.
Is there another way to this? Like selective gapps installation(i have the flashable zip)?
Thanks!
Click to expand...
Click to collapse
You could use 7-zip to delete the gallery.apk in system/media in your zip.
traybourne said:
You could use 7-zip to delete the gallery.apk in system/media in your zip.
Click to expand...
Click to collapse
It didn't work.
I checked the gapps package, the apk (gallerygoogle.apk) is NOT in the system/app folder.
It is in optional/photosphere/mako/app.
I believe the package is signed. When I removed gallerygoogle.apk from the mako/app folder, then flashed it, no GAPPS were installed. Not just to camera app, but literally no gapps at all.
wakoko79 said:
It didn't work.
I checked the gapps package, the apk (gallerygoogle.apk) is NOT in the system/app folder.
It is in optional/photosphere/mako/app.
I believe the package is signed. When I removed gallerygoogle.apk from the mako/app folder, then flashed it, no GAPPS were installed. Not just to camera app, but literally no gapps at all.
Click to expand...
Click to collapse
Edit the install-optional.sh script in the G-Apps package to remove reference to photosphere, use wordpad++ to edit it.
This is the part you want to delete
Code:
if (grep -qi "mako" /proc/cpuinfo ); then
echo "Installing Mako-specific google bits"
rm -f /system/app/Gallery2.apk
cp -a /tmp/photosphere/mako/* /system/
cp -a /tmp/photosphere/lib/* /system/lib/
chmod 755 /system/addon.d/73-gapps-mako.sh
fi
if (grep -qi "tuna" /proc/cpuinfo ); then
echo "Installing Tuna-specific google bits"
rm -f /system/app/Gallery2.apk
cp -a /tmp/photosphere/tuna/* /system/
cp -a /tmp/photosphere/lib/* /system/lib/
chmod 755 /system/addon.d/74-gapps-tuna.sh
fi
if (grep -qi "manta" /proc/cpuinfo ); then
echo "Installing Manta-specific google bits"
rm -f /system/app/Gallery2.apk
cp -a /tmp/photosphere/manta/* /system/
cp -a /tmp/photosphere/lib/* /system/lib/
chmod 755 /system/addon.d/75-gapps-manta.sh
fi

[Q] removing stock apps correctly (busybox and terminal emulator)

Alright, so checking up the system folder with root explorer I noticed that there are several applications related to the stock music player.
I can't just simply remove these "apks", right? Pretty certain there'd be leftovers of this app somewhere.
So, I realize, there's no "uninstall" script for the music app, but I was wondering, what is the most correct way to delete music application?
Simple doing this won't cut it, right?
Code:
su
cd system/app
mount -o rw,remount /system
rm -r MusicCommonUtility
rm -rMusicLiveShare2.apk
rm -rMusicPlayerWT.apk
mount -o remount,ro /system
For that kind of things I use Titanium backup app. With that app you can backup ANY app before uninstalling it or just simply uninstalling it. After that reboot the phone and that app is gone.

Categories

Resources