This App can move updated Systemapps Like Maps,Market or Search, back to /system/app and save space on /data/app
AND... you'll get a notification if such an app is updated via Market !!! (if you Like )
for this is *** ROOT *** required !!
### if something doesnt work Please use the "SendDump" function of SystemCleanup and write me a short description of your problem its better then writing your problem in Market Comments. i cant answer there nor can i ask you for details. ###
if aktual version doesnt work well on your phone here is the latest "known to work" on pre android 5 (lollipop) phones !!!
http://forum.xda-developers.com/showpost.php?p=64542544&postcount=552
from Android 5 and up Systemcleanup can only work correct if you set SELinux to "permissive mode" (i.e. on Samsung Phones you need a Custom Kernel) !!!
Credits:
big thx to VoB[in for the translation (ru)
big thx to tokafondo fot translation (es)
Features:
-Freeze/Remove Bloatware (it include a short description of common Apks)
-Move Userapps to /System/App to save Space
-Completely Odexfile aware (it shows the odex/dalvik file in detailview)
-Odex Apps directly On Phone to save Space on /data
-cleanup App cache
-cleanup *dead* "/data/data/<application>/*.*" folder if apk is removed
-cleanup "/system/etc/product/applications/*.*"
-cleanup "/system/etc/customization/applications"
-cleanup ".android_secure/smdl2tmp1.asec"
-cleanup empty or duplicated Playlists
-cleanup dalvik-cache remove unused classes.dex files
-**automaticly checks for updated systemfiles wenn a package is updated (i.e. market) and shows a notify if a package exists in /system AND /data. (systemcleanup doesnt need to run in background! it register itself for 'package_replaced' intent ;o) **
-shows memoryusage of running apps
-search for unknown packagenanme with Google on a Single Click
-you can send me an updated/missing description for a System.apk per eMail ;o)
-in settings you can set the default installation location for packagemanager (auto,internal,sdcard)
get it here ->
https://market.android.com/details?id=com.SystemCleanup.Inteks.org
have fun
inteks
update version 2.0:
-multiselect for all item types
-progressbar wenn processing multiple items at once
-enable/disable Activities and Services (i.E. disable the "Latitude" component of Maps if you dont need it)
-enable/disable Autoruns
-Freeze items by PackageManager "disable component" or simply by rename with undescore
update version 2.03:
-bugfix Size behind cleanuptask allways 0MB
-bugfix FC on Cleanup Duplicate Or Empty Playlists
-fix a few Translations
-CleanupTasks now Backuped to "\sdcard\.SystemCleanup_Backup" too.
-updated app descriptions
update version 2.04:
-added an option to sort/show autoruns first
-bugfix on disable autoruns for apps with special character in classname
update version 2.07:
-added support for ICS 4.0.4
-added /system/vendor/app as systempath
update version 2.08:
-updated app descriptions
update version 2.09:
-updated app descriptions
-systemcleanup can now remember apps (for easy reinstall if you wipe your phone)
-extended logging
-some function now works on nonrooted phones
update version 2.10:
-hotfix
update version 2.11:
-better error handling. if error occured on startup...
update version 2.16:
-added an Option to exclude ignored Items
-added an Option to exclude frozen Items
-you can mark cleanuptasks to automaticly checked on next startup
update version 2.18:
-splitted multiselection of cleanuptasks and file ops
-updated app descriptions
update version 2.20:
-bugfix for missing menuentrys
-fixed spelling errors
-added cache folder from /sdcard/Android/data/*/cache for Cleanup
update version 2.21:
-added a textbox to filter results
-googlemaps cache is excluded to keep offlinemaps
update version 2.22:
-fixed a bug where the dalvik part of an app is not deleted
update version 2.23:
-added "/vendor/overlay/framework/" to cleanup paths
-donation dialog doesnt come on every start anymore
update version 2.24:
-changed the way systemcleanup reinstalls apps after i.e. factory reset
update version 2.25:
-UI update (see screenshots)
update version 3.00:
-UI now splitted in 4 pages
-new: backup/restore function for apk+data
update version 3.04:
-backups are now stored in zip files to preserve permissions. please (re)backup your files if you already use this feature
-tabs can now be clicked (in addition to swiping between pages)
-new experimental feature is moving app libs to /system/libs (has to be enabled in setting, use at your own risk!)
-show apps installed on sdcard to manage autoruns
-bugfixes
update version 3.07:
-fixed sorting apps by name
-fixed lists sometime empty till app is restarted
-added "Move app to Sdcard"
update version 3.08:
-backup function is splitted. you can restore only the apk or only the app data now
-you can negate the search with an "!" as first char
-bugfixes
update version 3.09:
-now you can send your backups to you google drive, dropbox, bluetooth, wifi direct or just via email.
-you can restore your backups i.e. directly from your google drive
update version 3.10:
-bugfixes and code optimisations
update version 3.12:
-few GUI changes
-new "Cleanup All" contextmenu
update version 3.17:
-it shows now if an app has libs (because apps with libs more likely not properly work in the system partition)
-added the MEDIA_BUTTON to autostarts menu (to prevent the wrong (media)app to start on headsetbutton)
update version 3.20:
-added a "help" button
update version 3.21:
-added App Descriptions for Samsung Galaxy S3
update version 3.27:
-added App Descriptions
-added support for Alcatel Phones ( custpack partition )
update version 3.28:
-added App Descriptions
update version 3.29:
-added App Descriptions
-added an ultrafast reboot option in settings (does not work on all phones!)
update version 3.33:
-added a setting to delete or not delete the classes.dex from APK
-bug fix when restore backups created on your old/other device
-updated apk database
update version 3.34:
-hotfix GMail BUG
update version 3.35:
-fixed odexing on android 4.1
-added zipalign
update version 3.37:
-added translations de,ru
(i hope everything is correct translated! if you find something wrong pls mail me)
-added support for android 4.2 "/data/app-lib"
update version 3.42:
-new contextmenu
-added "translate description" function
-fixed the bug in freespace display
update version 3.44:
-fixed the bug where settings are not saved!
-reduced the memoryusage by not caching all app icons anymore
-added option to disable zipalign (do not enable this on lowend phones!)
-added translation to Spanish (thx to tokafondo)
update version 3.45:
-bugfixes
-added an option to mark systemapks to "allways delete this file" they appear on the cleanup tab as cleanuptasks ;o)
update version 3.49:
-removed the root requirement from updateservice to prevent ANR
-bugfixes
-added translations
update version 3.50:
-added "show applicaiondetails"
update version 3.57:
-systemcleanup can now do automaticly/planned autocleanups. it listen for a
sendBroadcast(new Intent("com.SystemCleanup.Inteks.org.AUTOCLEANUP"));
(this can be used i.e. in my tool smartQRTags)
update version 3.60:
-updated apkdatabase
-bugfixes
update version 3.62:
-bugfix for backup/restore on JB
update version 3.63:
-bugfix enable/disable autostart
update version 3.70:
-speedimprovments wenn searching for apps
-sort by "app currently running"
-colors for drive freespace bars
update version 3.72:
-updated apk database
-optimized itemsort
-bugfixs
update version 4.00:
-complete refactoring of internal root access lib (big speed improvment)
-updated busybox to 1.20
-updated apkdatabase
update version 4.01:
-some UI changes
update version 4.02:
-bugfixes
update version 4.03:
-a few GUI changes
-bugfixes
update version 4.10:
-it now fully support symlinks now
-you can move files directly from vendor to system without moving them to data first
-added /preload partintion
-*experimental: you can use /cache partition for systemapps !!! dont wipe cache if you do this !!! to use this feature create this folder "/cache/symlink/system/app"
update version 4.12:
-haptic feedback on contextmenu only if enabled in systemsettings
-fixed a bug in handling of /system/vendor
-other bugfixes
update version 4.18:
-fixed wrong filename on updating systemapps
-fixed FC on "ignore this item"
-added "reinstall apk" to reinstall app if i.e. not working in /system/app
-added memory detailinfo on click memorybar
update version 4.24:
-added /flex/app as vendor location
update version 4.26:
-a few performance optimizations
-a few ui changes
update version 4.35:
-settings page is now a tab in main app
-new progress bar.
update version 4.37:
-added support for android 4.3
update version 4.40:
-bugfixes & optimizations
update version 4.52:
-this hopefully fix the bug where systemcleanup doesn't start anymore...
-no need to update if systemcleanup starts normally
update version 4.54:
-autostart of systemcleanup only if really needed
update version 4.57:
-some speed improvements
update version 4.66:
-speed improvements
-added pathes to vendor for alcatel phones
update version 4.67:
-changed the "working" progressbar style
-fixed the bug where sometimes the list stays empty
-now it close the "key"app if no longer needed
update version 4.71:
-support for 4.3/4.3
-you can search now for i.e. all system apps without libs "system -libs" or you can search for all "data or sdcard"
-it shows symlinks in the list with i.e. ">system"
-bugfixes
update 4.78:
-made the contextmenu less transparent
-added the option to explorer the selected Item with i.e SolidExplorer
update 4.80:
-improved KitKat support
-bugfixes (CM11)
-small UI changes
update 4.81:
-it looks like the "zip" binary that systemcleanup use, is reported as trojan by avast. (but i still think that this is a false positive report!)
systemcleanp use now an "other" zip binary! scaned an declared as clean by virustotal.com / Avast ....
update 4.82:
-fixed the bug where app are shown twice
-fixed the FC when "systemapp updated"
-reorg some menu entries
update 5.20:
-running background services are now listed and and can be disabled from "tasks" tab
-disabled services are now listed and can be enabled on the "frozen" tab
-switched from eclipse 2 android studio
-bug fixes
---reserved
Hello inteks,
nice work so far, but: Neither "Update" nor "Freeze" works on my rooted Xperia Neo. After calling "Update System Files" on the Market app (i also tried Facebook and Youtube) i pressed return and the app asks to reboot which i did. After the reboot nothing changed. The app's updates are still on the /data partition and no memory was gained.
Am i missing something? I already tried removing and reapplying su rights from superuser, but it did not help.
cheers,
m.
mhoofe said:
Hello inteks,
nice work so far, but: Neither "Update" nor "Freeze" works on my rooted Xperia Neo. After calling "Update System Files" on the Market app (i also tried Facebook and Youtube) i pressed return and the app asks to reboot which i did. After the reboot nothing changed. The app's updates are still on the /data partition and no memory was gained.
Am i missing something? I already tried removing and reapplying su rights from superuser, but it did not help.
cheers,
m.
Click to expand...
Click to collapse
sorry, till now i only test it on a custom kernel where the systempartion is RW mounted per default.
i'll fix that asap
ps:you can try mounting system partition RW with rootexplorer
Hello inteks,
i tried to remounting via adb and ... it worked! Thanks! Now i can regain preciouos space on my (xperia neo limited) /data partition.
If you implemented automatic "rw-remounting" now (for the folks who still use the good old stock kernels), we'd have an even greater app!
cheers,
m.
mhoofe said:
Hello inteks,
i tried to remounting via adb and ... it worked! Thanks! Now i can regain preciouos space on my (xperia neo limited) /data partition.
If you implemented automatic "rw-remounting" now (for the folks who still use the good old stock kernels), we'd have an even greater app!
cheers,
m.
Click to expand...
Click to collapse
version 1.3 remounts the system partition. update is in the market
Is it using busybox?
Fr4gg0r said:
Is it using busybox?
Click to expand...
Click to collapse
yepp busybox is needed. but it's part of a rooted system, or not ?
update version v1.5:
-automaticly checks for updated systemfiles wenn a package is updated (i.e. market) and shows a notify if a package exists in /system AND /data. (systemcleanup doesnt need to run in background! it register itself for 'package_replaced' intent ;o)
I gave it a try with V1.5 on my Neo, here are my results.
I moved the updated Maps, Market, YouTube and Flash Player to system:
1. These packets do not replace the old ones in system so you get more space in data but you waste space in system. Though you can delete the old apps by hand.
2. After moving these apps to system and rebooting the phone SystemCleanup gets force closed while searching for apps.
3. After manually deleting the old Maps, Market and YouTube system apps, and renaming the updated apks accordingly (i.e. com.bla.vending-1.apk to Vending.apk) the FC of SystemCleanup stopps and it can be used again.
So it's a nice app but it still needs more work before I would consider donating.
Guhrasoh said:
I gave it a try with V1.5 on my Neo, here are my results.
I moved the updated Maps, Market, YouTube and Flash Player to system:
1. These packets do not replace the old ones in system so you get more space in data but you waste space in system. Though you can delete the old apps by hand.
2. After moving these apps to system and rebooting the phone SystemCleanup gets force closed while searching for apps.
3. After manually deleting the old Maps, Market and YouTube system apps, and renaming the updated apks accordingly (i.e. com.bla.vending-1.apk to Vending.apk) the FC of SystemCleanup stopps and it can be used again.
So it's a nice app but it still needs more work before I would consider donating.
Click to expand...
Click to collapse
You are wrong. The app cleans up the duplicates in system/app on reboot, which you are prompted to do on exit. You are probably getting force closes because you are deleting the duplicates by hand instead of letting the app do it's job.
Drunk texted from my MIUI Thunderbolt.
onestoploser said:
You are wrong. The app cleans up the duplicates in system/app on reboot, which you are prompted to do on exit. You are probably getting force closes because you are deleting the duplicates by hand instead of letting the app do it's job.
Click to expand...
Click to collapse
Nope, I let the phone reboot from the prompt of SystemCleanup and after getting the FCs I did reboot it a few times by hand. Deleting the duplicates by hand actually fixed the FCs in the end.
Maybe it's a similiar error to what mhoofe had, because im on stock rom and kernel the system partition is mounted read-only after a reboot.
Guhrasoh said:
I gave it a try with V1.5 on my Neo, here are my results.
I moved the updated Maps, Market, YouTube and Flash Player to system:
1. These packets do not replace the old ones in system so you get more space in data but you waste space in system. Though you can delete the old apps by hand.
2. After moving these apps to system and rebooting the phone SystemCleanup gets force closed while searching for apps.
3. After manually deleting the old Maps, Market and YouTube system apps, and renaming the updated apks accordingly (i.e. com.bla.vending-1.apk to Vending.apk) the FC of SystemCleanup stopps and it can be used again.
So it's a nice app but it still needs more work before I would consider donating.
Click to expand...
Click to collapse
has you select 'update system file' or just 'move to system' ?
Sent from my MT15i using Tapatalk
inteks said:
has you select 'update system file' or just 'move to system' ?
Click to expand...
Click to collapse
There is no "update system file" choice, I only have "Move App to /system/app", "Uninstall App", "Launch App" and "Search Market for Updates". That's even when it informs me when I updated a system app from the market.
Guhrasoh said:
There is no "update system file" choice, I only have "Move App to /system/app", "Uninstall App", "Launch App" and "Search Market for Updates". That's even when it informs me when I updated a system app from the market.
Click to expand...
Click to collapse
do you have a locked system partition ? systemcleanup cant overcome such a limitation , sorry ...
Sent from my MT15i using Tapatalk
Just what I was looking for. Thnx4this!
Sent from my LG-P509 using Tapatalk
inteks said:
do you have a locked system partition ? systemcleanup cant overcome such a limitation , sorry ...
Click to expand...
Click to collapse
I don't think so, root explorer can move apps to system without a problem. So manually updating and moving system apps isn't a problem. Moving normal apps from data to system also isn't a problem with your app, it's just system apps that don't work right.
Or is the "update system file" option only available in the donate version?
Guhrasoh said:
I don't think so, root explorer can move apps to system without a problem. So manually updating and moving system apps isn't a problem. Moving normal apps from data to system also isn't a problem with your app, it's just system apps that don't work right.
Or is the "update system file" option only available in the donate version?
Click to expand...
Click to collapse
nope its not limited!
maybe one thing ... is your phone connected to pc ? the prog makes a backup to sdcard befor overwriting the org file. if the backup fails it breaks the action.
Sent from my MT15i using Tapatalk
Guhrasoh said:
Moving normal apps from data to system also isn't a problem with your app, it's just system apps that don't work right.
Click to expand...
Click to collapse
I've used this app twice in the past couple of days to move the Market and Gmail updates to system and it worked flawlessly both times so I'm going to have to say that your problem is specific to your device.
Drunk texted from my MIUI Thunderbolt.
update version v1.6:
-in settings you can now set the default installation location for packagemanager (auto,internal,sdcard)
-you can also decide if you like to get a notification when system apps are updated.
Related
This is a tool I created to help me with my X10 and ARC. I thought it might be useful to some of you so I made some fixes and here it is! Keep in mind that this is a beta version so use at your own risk. Some of the features are:
• push, pull, install apps and transfer between System <=> User apps and between SD <=> Device
• remove & uninstall apps, clean data from deleted apps and delete orphan files
• change min & max CPU frequency (from available steps)
• view and edit: gps.conf, Hosts, build.prop, hw_config, media_profiles.xml, vdd_levels and install-recovery
• view and kill running processes
• zipalign
• keyboard functionality
• search files / folders
• basic file explorer
• push and pull Bootanimation, framework-res and Framework jar files
• clean cache & temp folders and application data cache
• enable Market to show paid apps
• create phone log (logcat, dmesg)
• view device info
• and others.
I tested it on X10, X10 mini, X8, PLAY, Mini Pro, Mini, Neo and ARC.
The tool works both with USB (recommended) and wireless phone connection.
For any questions, problems or suggestions please leave a message
It's better to backup your data before Zipaligning, because some launchers don't work correctly when they are zipaligned, causing a reboot loop.
Please use the link below instead of uploading the tool on other hosts, so that I can see the downloads. Thanks
ADB Mask Controller V2.02a
ADB Mask Controller V2.01a
ADB Mask Controller V1.04b
2.02a
New features:
- Basic file explorer
- Battery log
- Minfree editor
- Governor changer
- Mount SD and umount SD function (USB mass storage)
- View and Edit vdd_levels and install-recovery
- Zipalign SDcard apps (mnt/asec)
- Support for Xperia Neo and Xperia Play on sleep button setup
Optimizations / Fixes:
- Install apps function (show not installed apps)
- Uninstall function
- CPU state function
- Push any file to function
- Push busybox, push sqlite, push zipalign
- Clean cache and tmp function
- Logcat function (main, radio, events, system)
- Zipalign
- Battery info
- Keyboard functions
- Bug fixes & optimizations
2.01a
New features:
- keyboard functionality
- push text to textbox function
- Read battery info
- Read deep sleep time
- Read connection speed
- Market client id
- Search function
- dmesg log function
- mount r/w and mount r/o (for system) function
- View and Edit media_profiles.xml for android 2.2 - 2.3
- Transfer apps (SD<=>Device)
- pull framework and convert to *.zip (Amend script)
- dropbox log enable - disable function (/data/system/dropbox) for Android 2.2 - 2.3
Optimizations / Fixes:
- Optimizations in Check connection
- Optimizations in Pull and Push function
- Improved logcat function
- Improved fix permission function
- Overall speed improvements
- Bug fixes & optimizations
1.04b
- Added support for X8 on sleep button setup
- Added Zipalign for system apps
- Bug fixes & optimizations
To launch the tool
- unzip the package
- run "ADB Mask Controller.exe"
- connect your phone (enable USB debugging)
- If this is the first time you use this tool click on "Check root access and busybox". If you are sure that your phone is rooted and the tool says otherwise, make sure that your phone allows the program to have SuperUser access.
- Busybox is required in order to use this tool. If you get the result "NO" next to the Busybox Version then you must push/install it on your phone.
Buttons explained:
- Green: No Root access necessary
- Black: Root access needed
- Red: Use with caution
Hints for Wireless connection:
- To connect your phone by wireless you must install and turn on adbWireless, adb over Wifi or another similar app
- Wireless connection is slower than USB connection. It is not recommended to do advanced tasks using wireless since the connection can be interrupted more easily than USB connections.
- The display must be turned on while connected with wifi (or a wakelock must be enabled through an app e.g. Waketimer) in order to prevent the cpu from going to sleep mode while it's working with wireless adb.
Hints:
- To uninstall the apps that cannot be uninstalled with Broken Link Cleaner you must push them on the phone, reboot and uninstall them using the Delete Feature (make sure Uninstall is selected).
- It's good to click on "Fix permissions" since it fixes many system & data permissions.
Notes on the new features:
- Keyboard functionality: Some features may not work on all devices
- Push Text to textbox: This feature is still in its early steps. Speed optimization removes unnecessary spaces, empty lines etc.
- Market client id: For devices with the old version of Market, it replaces the "Sony Ericsson" channel from the main page with "My apps" channel
- Battery Status: Some info may not be available for your device
- Framework.res recovery zip (Amend script): Framework.res is converted to a zip, signed and it is ready to install in Recovery (no need to flash the phone when you use a faulty framework) Just move it to sdcard and install it in Recovery
Not bad, thanks.
Great!
I have an issue though. It says my device is not rooted although it is. When i press "shell root" a pop-up dialog says "try again". No luck with that.
My device is an X10 mini
DaRk_dOg said:
Great!
I have an issue though. It says my device is not rooted although it is. When i press "shell root" a pop-up dialog says "try again". No luck with that.
My device is an X10 mini
Click to expand...
Click to collapse
Hi and thanks.
If you have SuperUser installed on your phone, when you click on "Check Root access and busybox" a popup will appear on your phone, asking for Superuser rights. Click on "Allow" to give access to the program
Mask-1 said:
Hi and thanks.
If you have SuperUser installed on your phone, when you click on "Check Root access and busybox" a popup will appear on your phone, asking for Superuser rights. Click on "Allow" to give access to the program
Click to expand...
Click to collapse
already done it.
It keeps saying "no root busybox ok"
DaRk_dOg said:
already done it.
It keeps saying "no root busybox ok"
Click to expand...
Click to collapse
i have just done a minor fix and checked it, it should fix that problem. Could you check out version 1.01b and let me know if it's working for you?
Thanks
Seems very comprehensive. Thanks
Thanks. I like it alot and its much easier then the normal way.
Mask-1 said:
i have just done a minor fix and checked it, it should fix that problem. Could you check out version 1.01b and let me know if it's working for you?
Thanks
Click to expand...
Click to collapse
Yeap fixed!
I have another problem but that seems to occur due to my setup:
When i press the "User Apps" tab, while the progress bar is moving, the result i get in the app browser window, is /data/app.
I have the App2SD script running (/data/app linked at /system/sd/app) so could this be why the user app list is not populating?
Thanks in advance though, everything else seem to work great!
I just added Version 1.01c
DaRk_dOg said:
Yeap fixed!
When i press the "User Apps" tab, while the progress bar is moving, the result i get in the app browser window, is /data/app.
I have the App2SD script running (/data/app linked at /system/sd/app) so could this be why the user app list is not populating?
Thanks in advance though, everything else seem to work great!
Click to expand...
Click to collapse
can you see if the app list is shown now?
Thanks
Mask-1 said:
I just added Version 1.01c
can you see if the app list is shown now?
Thanks
Click to expand...
Click to collapse
It is working GREAT!
Also zipalign works perfect.
*EDIT*
I dont know if this is a bug or i'm doing something wrong:
On the third tab (push and pull), i cant push files to my phone. I try to drag and drop apps inside the window dialog, but it does not let me drop it anywhere inside.
DaRk_dOg said:
It is working GREAT!
Also zipalign works perfect.
*EDIT*
I dont know if this is a bug or i'm doing something wrong:
On the third tab (push and pull), i cant push files to my phone. I try to drag and drop apps inside the window dialog, but it does not let me drop it anywhere inside.
Click to expand...
Click to collapse
thanks for the quick response
Make sure you drag and drop the apps inside the white area just above the Send button.
Mask-1 said:
thanks for the quick response
Make sure you drag and drop the apps inside the white area just above the Send button.
Click to expand...
Click to collapse
Yeap that's what i do. Still no luck.
DaRk_dOg said:
Yeap that's what i do. Still no luck.
Click to expand...
Click to collapse
Drag and drop not working on mine also!
Drag and drop worked for me, but zipalign system/sd/app didn't work. My phone (x10 mini pro) stuck at SE orb logo, but there was adb communication (i don't know if I name it right, but the program identified the phone and was able to accomplish some functions). I don't know exactly how, I removed the card in some point, a lot of reboots, but after one reboot it suddenly booted successfully, I think I pressed shell root). I had noticed that the program had stuck in "wait..." when I pressed "zipalign system/sd/app", and that launcherpro didn't work, so I pushed and installed launcherpro and magically it (LP) started working. All system apps work well, NO widget/app installed in system/sd/app works, they all crash. If I press zipalign system/sd/app again, everything is zipaligned according to the program, except launcherpro, which stops working after that and needs re-installing.
I hope I have helped you and not smothered you with this decription.
UPDATE: I started playing with root explorer, and noticed that when I added the "execute" permission to "user" some (astro, TiB) worked again, but others didn't (handcent, documents to go). Is is a matter of permissions?
I also had the same problem with KreAch3R and a mini pro.
The difference is that I pressed all three options under zipallign and all completed.
Only after i pressed "zipalign system/sd/app" launcher pro stopped working though everything else worked fine.
Then I closed the application at the pc removed the phone from the usb (safely) and rebooted the phone and i am stuck in the sony ericsson orb.
I did the reboot from my phone not the application.
thnx in advance
KreAch3R said:
Drag and drop worked for me, but zipalign system/sd/app didn't work. My phone (x10 mini pro) stuck at SE orb logo, but there was adb communication (i don't know if I name it right, but the program identified the phone and was able to accomplish some functions). I don't know exactly how, I removed the card in some point, a lot of reboots, but after one reboot it suddenly booted successfully, I think I pressed shell root). I had noticed that the program had stuck in "wait..." when I pressed "zipalign system/sd/app", and that launcherpro didn't work, so I pushed and installed launcherpro and magically it (LP) started working. All system apps work well, NO widget/app installed in system/sd/app works, they all crash. If I press zipalign system/sd/app again, everything is zipaligned according to the program, except launcherpro, which stops working after that and needs re-installing.
I hope I have helped you and not smothered you with this decription.
UPDATE: I started playing with root explorer, and noticed that when I added the "execute" permission to "user" some (astro, TiB) worked again, but others didn't (handcent, documents to go). Is is a matter of permissions?
Click to expand...
Click to collapse
In order to zipalign, first you have to push zipalign binary and zipalign scripts. There is an option for that on the homescreen of the app.
this application has everything to be essential however...
i must be retarded or something
i`ve usb debbuging on and first thing i do is "check connection" yet...check pic
i´m on AOSP 2.1 007 btw
This Programm is really awsome. Please dont stop to refine it.
Thx for your hard work and support.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
JaggyRom for HTC explorer
An optimized, european, stock-based custom rom.
1. Features
Rooted
Kernel by yannou90.
Ext-2,3,4 partition support.
task killer tweak for speed
Apps2sd enabled (no need of link2sd anymore, don't use it).
BusyBox installed
Booting HTC Sound dissabled
Bash shell support
/etc/init.d scripts support
Dalvic-cache to SD enabled
Deodexed
Zipaligned to optimize Ram usage at every boot.
+135mb free internal memory at startup.
"ES file explorer", "Easyinstaller" and "A2SDGUI" preinstalled.
Dissabled scrolling cache.
Blue theme with scrolling glow.
CRT on/off animation. (thanks to pchandra)
Advanced quick settings.
Swipe to remove notifications.
2.Version History
Code:
JaggyRom_1.0
JaggyRom_1.0_clean-With nearly every stock app wiped out .
JaggyRom_1.032
- Added custom battery indicator (watch [URL="http://forum.xda-developers.com/showpost.php?p=22437285&postcount=106"]here[/URL])
- Data will not erase anymore when flashing rom, install to apply update.(wipe cache before through recovery, not dalvic cache)
- Improved scroll on many apps.
- Added ScreenFlashlight.apk, small system flashlight app with full brightness (thanks to deepaktom and cosmoon)
JaggyRom_1.13
- Implemented swipe to remove notifications, you can now remove individual notifications from status bar by sliding your finger over them.
- Fixed eventual stuck on HTC white screen when booting.
JaggyRom_1.44
-Implemented advanced power menu(watch [URL="http://forum.xda-developers.com/showpost.php?p=23444649&postcount=338"]here[/URL])
-Implemented Beats Audio sound mod
-Reapplied Scroll improvement (tweak was not operative on previous version, sorry about that)
-Dalvic heap size set to 32m by default
-Updated Google maps, youtube, gmail and easyinstaller to latest version
JaggyRom_1.5.0
-improved image and video quality with Bravia Engine hack
JaggyRom_2.0.1
-(NEW) now based on OTA update Europe 1.28.401.1 !!
clean up system partition before installing
JaggyRom_2.2.15
- Fixed notification not deleting from status bar when pressing 'clear' button.
- Updated su binary to latest.
- Disabled the automatic check for OTA updates by default.
- Disabled the 'tell HTC' pop up after a sudden shutdown by default.
- Added "Russian", "Czech", "Danish", "Swedish" and "Dutch" languages to stock keyboard. (full support)
- Added support for the following languages:
English (United States)
Español (España!)
Français (France)
Italiano (Italia)
Ukrainian (Ukraine)*
Czech (Czech republic)*
Vietnamese (Vietnam)*
Arabic (Egipt)*
Portugês (Portugal)*
Corean (Corea)*
Nederlands (Nederland)*
Japanese (Japan)*
Rusian (Rusia)*
Chinese (Simplified)*
Chinese (Tradicional)*[INDENT]*System will not show up on these languages but every app that supports that language (for example all Google apps) will change.
The default system language for these will be English.
If you are using a custom launcher (Go launcher, for example) you will probably have all your system on your selected language except the settings menu.
[/INDENT]For the new languages and the default settings to show up you will have to format system/cache and make a factory reset, I am afraid. (make app backup)
JaggyRom_2.3.4
- Rebuilded boot.img back from stock to ensure no errors being made. It may solve some booting problems on some people.
- Now dalvic cache is moved automatically at first boot. No need to do it manually. (150 mb free memory at first boot after factory resset)
- Init.d scripts support. They were not supported on previous v2 versions.
- Removed debugging mode persistent notification on status bar.
- Recompiled SystemUI.apk, now suitable with UOTkitchen.
- (new) Fixed eventual adb debugging notification showing again on notification bar.
- (new) Set vm heap size back to 20m by default. Found to be the fastest value. Set it manually in with a2sdgui (recommended).
JaggyRom_2.5.1
- Added arabic shaping support.
- Removed ads from all applications/games!
- Applied [URL="http://forum.xda-developers.com/showthread.php?t=991276"]V6Supercharger tweak.[/URL]
- Zipalign on every boot.
- Removed carrier name on notifications panel and made the clear notification button BIG.
- changed the battery icon.
- Many other init.d and build.prop tweaks.[IMG]http://media.xda-developers.com/images/smilies/smile.gif[/IMG]
JaggyRom_2.5.5
- Rebuided SystemUI.apk, fix possible error when using uot kitchen.
- Added Serbian and Hungarian language. (supported languages)
- Added Gps tweak for faster and better locking to satellites.
JaggyRom_2.5.8
- Removed warez app
- Added "ES File Explorer"
- Added build prop tweaks from "smurfed out" script
.JaggyRom_2.6.1
- Removed Supercharger and smurf out tweaks. (some people were noticing battery leaks)
- Updated system apps to latest version.
JaggyRom_2.7
- Removed Beats audio mod.
- Implemented Cranium Kernel rel#2
JaggyRom_2.8
- Moved back to 800mhz kernel by yannou90 as people requested (no benchmark improvements but it does improve the overall feeling)
- Added CRT on/off animation effect. (Many thanks to [URL="http://forum.xda-developers.com/member.php?u=4629880"]pchandra[/URL]) Watch video example [URL="http://www.youtube.com/watch?v=zdWaDS_CIqI"]here[/URL]
Wiping dalvic cache before installation is strongly recommended.
you may also need to fix permissions inside advance options inside recovery.
JaggyRom 3
---3.0---
- Fixed CRT issue (sometimes rebooting after a call)
- Added advanced quick settings (thanks to pchandra)
- Added Adreneline engine: (thanks nilot27 for the tip )
✔ Increase touchscreen sensitivity
✔ Less RAM usage through zipalign. | World first smart zipaligning
✔ Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access. | World first smart sqlite optimizing
✔ Faster disk access through remount script (noatime, disabled barrier etc) | World first smart remounting
✔ Better network throughput from TCP tweaks and 3G tweaks
✔ Tons of prop tweaks
✔ Overall Better Performance and Battery Life
✔ Less lags through LMK Tweak and Various VM Tweaks
✔ Faster SDCARD Read/Write Speed
✔ Bypass website like thepiratebay.se
- Added Bravia and Xloud engline.
Bravia engine: Improve screen quality of the display (You'll see improvements when you view a photo, watch movies, play games
Xloud engine: will make the volume more louder, sound quality is crispier and very clear than stock, and bass issues from stock will be fixed
-Blue Theme (system, dialer, keyboard, etc...)
---3.0.3---
- Fixed/edited many icons.
- Added modified build.prop to skip gameloft compatibility check.
- Modified battery indicator. Black background. Now stays blue and changes to red under 15%.
---3.1---
- Fixed/changed some remaining icons and camera app buttons (blue).
- Changed background of slide menu (dialer, apps list, clock..) It was to ligh, hardly visible.
- Changed header and clear buttons from status bar.
- Changed bootanimation. (Thanks to akya22!)
- Changed settings icons (now ICS style)
- Removed last build.prop (caused conflicts on some networks).get it from here.
- Changed default walpaper.
- Fixed blank area between notification and quicksettings tab.
- Updated Google play, Es file browser, Superuser, Maps, Streetview and Gmail to latest versions.
---3.1.1---
- Fixed possible bugs with calls.
---3.2.1---
-Fixed adrenaline engine script, no more memory leaks in /data/local.
-Fixed brightness Seekbar on Quicksettings, length was longer than actual visible area.
-Changed new unread mesage/call notification dot to blue.
-Removed recent apps from status bar.
-Removed Volume and Settings shortcuts from quicksettings.
-Some little changes in statusbar theme.
-Increased decode memory capability for progressive jpg file (hopefully better camera images) Thanks to nilot27!
-Added carrier name on satus bar.
-Fixed some icons (gmail stars)
-Removed some unnecesary lib files from lite version. Thanks to Nukeblitz!Versions:
Full: with every HTC widget and apps.
Lite: Removed all bloatware, widgets, Htc logging apps... (+25 apps, see list here, thanks to nukeblitz)
Md5:
05D962D7AC3D4D8FCC1957B20F978FFF *JaggyRom_3.2.1.zip
4016AE15154413382914A74434236999 *JaggyRom_3.2.1_lite.zip
Download
previous versions
To update to a newer version you dont need to wipe anything, it will all be done automatically. Wiping dalvic cache is recommended. No fixing permissions or any other thing is necessary.
3. Instructions, please read carefully
IMPORTANT: you need recovery by yannou90 with ext support to use this rom, please follow step 3 from this tutorial (or 1 to 3 if you have not rooted your phone yet).
(not needed from version 2.3.1) To move your Dalvic cache open "A2SDGUI" app and press "move" in the dalvic tab. Free up +60mb!
use "Titanium backup" to move data to sd card ext partition, choose apps you want to move their data, long press on them and select "move app data to sd". Both data and lib files will move. You can also select batch option to move several applications data at the same time. select a single app first so data folder is created.Check what apps are using the data with "DiskUsage" browsing /data
Install the .zip in the recovery menu (install zip to sd option) once you unlocked your bootloader and flashed your recovery. Tutorial by me here.
First time installing this rom? Take a look at the first time user detailed tutorial by mahmudaq(thankyou dude )
Do a factory reset after making backup of your apps (with titanium backup... etc.) if you have a different rom (stock...).
Apps will install automatically to your SD partition. Partition your sd card before (before flashing recommended) to Ext2,3,4 (not fat32) format using programs like Minitool partition wizzard, or using recovery option (no swap needed). Around 500mb-1Gb partition would be fine to start with (depends of how many apps installed). (don't make it greater than 2gb). If you use "Minitool partition wizard" remember to leave the first fat32 partition at the left and then a primary Ext2/3/4 partition.
To check used/free memory on SD partition browse /system/sd with "DiskUsage". Internal memory in /data
NOTE: If you want to be able to make a full nandroid backup, including your ext partition, you need the custom recovery made by "yannou90". I updated the recovery (on february 21st) on my rooting tutorial, just download it and flash it.
screenshots
4. FAQ Never post a question before reading.
Q Phone freezes and reboots randomnly. I have installed the rom following the correct procedures. Whats going on?
A Some phones have problems with the overclocked kernel provided with this rom, the best alternative is cranium kernel by sakinda123. Follow this link to flash it.
Q After installing many apps one or a few have stopped working, force closing. Phone reboots when updating apps. Rebooting phone doesnt solve the probem.
A Some people reported this problem, fix it by going to APP2SDGUI and pressing "rebuild" ig you are experiencing force close of apps. If the phone shows a black screen when trying to install an app and shows the bootanimation for a short time, do a normal restart to fix it.
Q Apps still install on the instarnal memory, I have to move them manually using link2sd or simillar.
A Apps will appear to your system that they are on the internal memory but they are NOT, they are just linked to it. To check the memory go to /system/sd with "DiskUsage" for the sd partition and internal memory in /data. select [root required] to be able to select them in the application.
Q I want to modify battery mod, add scrolling glow or make other customization to them rom, how can I do it? Could you upload it?
A As every person has different likes about customizations of icons and colours, If you want to customize your rom visit http://uot.dakra.lt/kitchen/
upload the required system files from the zip and after downloading the modified ones swap them and install the rom normally.
Q I just installed the rom and every time i try to install an app,the screen goes blank and I get the startup animation...this happens even after I restarted my cell twice...any help?
A Go to A2SDGUI and rebuild dalvic cache. If this doesnt work remember you had to use the recovery from rooting tutorial here, step 3. NOT the recovery installed from "Rom manager" and make factory reset with it before installing the rom.
I will kindly answer to your questions but please not repeated ones, try to search the thread before you post.5. Themes, flashable through recovery
Blue theme 2 by immortal_yash:
View attachment BlueTheme_2_Immortal_yash_JaggyRom.zip
transparent version: View attachment BlueTheme_2_Immortal_yash_JaggyRom_transparent.zip
Green-Transparent theme by acedexplorerABL
Green_theme_v3_by acedexplorerABL.zip
Blue-Mod Theme By jinjamal
Download on this thread
Boot animations by momo.martinovic
View attachment BootAnimation1_by_momo.zip
View attachment BootAnimation2_by_momo.zip
1
2
Move clock to the center of the status bar. (only for version 2.5.1+)
View attachment Center_clockv2_JaggyRom.zip
If you made your own theme and want to share it, send me a PM.
Thanks to everyone who donated!
Send me a PM with the transaction number if you want your name to be shown here.
thanks
I'm waiting for this
kieuqtoan said:
thanks
I'm waiting for this
Click to expand...
Click to collapse
by the way, just reuploaded without setCPU, it wont work in the system memory, install it manually if you wish.
http://forum.xda-developers.com/showthread.php?t=505419
jaggyjags said:
by the way, just reuploaded without setCPU, it wont work in the system memory, install it manually if you wish.
http://forum.xda-developers.com/showthread.php?t=505419
Click to expand...
Click to collapse
Yes, SetCPU not work
SetCPU has stopped unexpectedly. Would you like to tell HTC?
Click to expand...
Click to collapse
it have portuguese language ?
Cumps.
pedrofidalgo said:
it have portuguese language ?
Cumps.
Click to expand...
Click to collapse
no, sorry
German, english, spanish, french, Italian, polish
jaggyjags said:
no, sorry
German, english, spanish, french, Italian, polish
Click to expand...
Click to collapse
Grrrrr
Can you put portuguese language ?
Cumps.
pedrofidalgo said:
Grrrrr
Can you put portuguese language ?
Cumps.
Click to expand...
Click to collapse
It's not in my to-do list
sorry
what the f...?
jaggyjags said:
no, sorry
German, english, spanish, french, Italian, polish
Click to expand...
Click to collapse
why i have only english, german, french and italian? what's wrong?
i've check another rom "[ROM] HTC PICO (a310e, explorer), Customised EU verzion" and the problem is same. no other language
Nice work
But gotta wait until there´s more languages
Or maybe I´ll learn how to insert languages, when there´s some free time...
But Thanks anyway for the work!
it´s cool to have ppl developing for Htc explorer, since it isn´t very known..
You always need link2sd, because linking apps to sd is different of moving them to sd..
Linking is always better because just create a image of the app in a micro sd partition and only a few kb go to ROM
I want to add vietnamese language,who can help me? or the tutorial?
axlop said:
why i have only english, german, french and italian? what's wrong?
i've check another rom "[ROM] HTC PICO (a310e, explorer), Customised EU verzion" and the problem is same. no other language
Click to expand...
Click to collapse
Are you sure about that?
Cleared cache before flashing?
Look again for "italiano" and "Español"..
The rest of you don't have this issue,right??
kadji9 said:
You always need link2sd, because linking apps to sd is different of moving them to sd..
Linking is always better because just create a image of the app in a micro sd partition and only a few kb go to ROM
Click to expand...
Click to collapse
Check differences by yourselves, link2sd won't link systems dalvic-cache that takes around 60mb (talking about the clean version, stock should be worse)
Deodexed roms just need to create big chunks of dalvic from systems apps, that's the thing..
If someone knows a better way just feel free to comment.
I want to add vietnamese language,who can help me? or the tutorial?
bug in stock application
Hi,
Thanks for your rom.
I test it today with the version stock.
No problem for the install, but after several installations of appli in the market, i have a error in the stock application called "messages" in french. It's the stock application for sms...
After reboot, same error " force closed... send to htc"
If somebody have an idea, it will be nice...
flo21800 said:
Hi,
Thanks for your rom.
I test it today with the version stock.
No problem for the install, but after several installations of appli in the market, i have a error in the stock application called "messages" in french. It's the stock application for sms...
After reboot, same error " force closed... send to htc"
If somebody have an idea, it will be nice...
Click to expand...
Click to collapse
try rebuild dalvik cache in A2SDGUI
Hey there.
Just flashed this and works like a charm.
Tried a lot of ROMS and none would install except this and the chinese one.
Ill stick to this rom for now. Thanks a lot
p.s. I have the Portuguese ROM backup (but .android_secure is broken), is it possible to take the language files to your rom?
Again, huge thanks for the ROM, made my day!
jaggyjags said:
try rebuild dalvik cache in A2SDGUI
Click to expand...
Click to collapse
Thanks. That's work.
And for setcpu ? It will be fixed or not ?
flo21800 said:
Thanks. That's work.
And for setcpu ? It will be fixed or not ?
Click to expand...
Click to collapse
Not preinstalled in rom, install it manually. Fully working
Hi all,
I took a bit of time (and restoring nandroids) to create an AROMA installer script.
It works on 5.0 stock (based) ROMs as well, please test and report back.
What it does:
Debloat your system
- Remove LG apps
- Remove Google Apps (which can be downloaded from Play Store)
- Remove boot/shutdown animations/sounds
- Remove all other UI/Camera/Alarm/Notification/Ringtone sounds - see 2nd post if you need to restore these easily
Install KitKat external SD fix or restore to stock
CPU Thermal Throttling (CTT) Mod by @Robshr
Sharpening Mod by @Skin1980 - see 2nd post if it bootloops
Click to expand...
Click to collapse
The script currently is in English and German, more localizations welcome.
Disclaimer:
THIS SCRIPT SHOULD BE SAFE TO USE ON STOCK 4.4, 5.0 AND STOCK BASED CUSTOM ROMS AS WELL, INDEPENDENT OF YOUR DEVICE MODEL.
STILL, USE THIS AT YOUR OWN RISK.
ONLY REMOVE APPS YOU DO NOT USE.
I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE LIKE BOOTLOOPS/BRICKS/HAVING TO FLASH STOCK.
MAKE SURE YOU HAVE A CURRENT AND WORKING NANDROID BACKUP.
Click to expand...
Click to collapse
Changelog:
1.2 (2015.09.16):
- updated Sharpening Mod to v3.5
- updated CTT Settings to latest from 2015.09.06
- if you remove GApps after updating or moving them to userspace, only the system part and all app settings will get deleted
1.0 (2014.12.14):
- Moved boot/shutdown animations and sounds, plus all system sounds to extra section for removal - holy crap, nearly 600kb code for this.
- Merged LG PC Sync + Service into one entry and added the USB Autorun ISO for removal.
0.9 (2014.12.12): please test, need feedback
- Added support for 5.0 stock (based) ROMs
0.8.1 (not officially released):
- Added list of "Extremely Dangerous Sh!t!" apps for testing purposes. Works on 4.4 only and most probably will cause (non-physical) damage to your device
0.8 (2014.12.06):
- Included Sharpening Mod by @Skin1980
- More warnings, less terms
- Beautified icon selection (?)
- Updated update-binary-installer with version from Skin1980's mod
0.71 (2014.12.06):
- fixed reset settings problem
- all google apps can now be safely removed (except search, might lead to setup loop - be careful) (thx @tobitege for Google Search info)
0.7 (2014.12.01):
- added approximate file sizes to Debloat module
0.6 (2014.12.01):
- added CPU Thermal Throttling (CTT) Mod by @Robshr
- removed sleep(300) during debloat from original demo script
0.5 (2014.12.01):
- KitKat SD fix added
- Reduced size
0.4 (2014.12.01):
- Code cleanup
0.3 (2014.12.01):
- Actually deletes stuff now
- Testing debloating, re-categorizing apps, enhancing notes
0.2 (2014.11.30):
- Added localizations
0.1 (2014.11.29):
- Initial skeleton release
- Figure out aroma and edify
Click to expand...
Click to collapse
Todo / coming soon:
- Provider-specific apps
- Battery efficient Governor + ReadAhead mod
- volume mod
- Other mods?
- Split aroma code into several files, can't get it to work
Click to expand...
Click to collapse
Known (possible) side-effects:
- After removing everything the debloater offers at once, the phone sometimes would not find the mobile network. Turning off and on again Wifi and Data helped
- Sometimes all settings (new profile) or just language get lost. Restore nandroid and try again.
- It is heavily recommended to setup an alternative keyboard and home screen before removing LG Home and LG Keyboard.
- Removing LGInstallService causes "App Updates" to download LG apps, but not install them.
- Removing Update Center causes Settings->About Phone->Update Center to FC, and you have no (direct) way to open App Updates (LG app updater) or Software Update (OTA updates). Removing Update Center, App Updates and Software Update causes Update Center to not even appear and not cause any issues.
- Removing Google Search is said to lead to a bootloop if you factory reset your device (see this thread) - I don't intend on resetting my device, so no idea.
Click to expand...
Click to collapse
Requirements:
- TWRP recovery
- Stock (based) 4.4/5.0 ROM
Click to expand...
Click to collapse
Usage:
- Create a nandroid backup
- Download the attached .zip and copy it to the root of your external SD card (/storage/external_SD)
- Reboot into recovery
- Install downloaded zip
- Select options
- If debloating, make sure you select the correct OS version. I will not assist if you debloat a 4.4 ROM in 5.0 mode or vice versa.
- If you debloated, wiping dalvik/cache might be a good idea
- Reboot
Click to expand...
Click to collapse
Help requests:
- If you find any bugs or issues, please post here with a detailed description.
- more info on quite a few apps
- As I moved all my Google apps to userspace, please test and report back if removing GApps works (they can be reinstalled to userspace from market)
- Localizations besides DE and EN
- If you know more mods that I should ask the author for permission to include, please link them in here. No build.prop mods.
Click to expand...
Click to collapse
GitHub repository:
https://github.com/subworx/ImproveG3
Click to expand...
Click to collapse
Credits:
@Skin1980 for his Screen Oversharpening Fix kernels and Sharpening Mod
@Robshr for CPU Thermal Throttling (CTT) Mod
@DelBoy for the noob friendly G3 Q&A thread
@amarullz for AROMA Installer
@jasonkx for pointing out changes in L
anyone else I might have forgotten
Click to expand...
Click to collapse
If you miss an app, let me know and I will try to add it as soon as possible.
If you encounter side-effects I did not notice, post here.
If this helped you, please press Thanks
Regards,
Sub
In Case the Sharpening Mod does not work for you ("dirty" boot partition, code security verification error or something like that)
Restore the nandroid Boot backup you did create... didn't you?
If you are using a ROM currently:
- Extract "boot.img" from your ROM zip (should work).
If you are using a custom kernel:
- Extract "boot.img" from the kernel zip (should work).
If you are using stock:
- Download your correct version stock firmware image (KDZ). Extract it using "WindowsLGFirmwareExtract", then extract "boot_xxxxxx.bin" from the resulting .DZ file. Rename it to boot.img. (Guaranteed to work)
For Mac/Linux, there are Python scripts linked around the G3 forums, searching "extract KDZ" or visiting the G3 Index Thread in G3 -> General should help.
Sorry I cannot provide more information for these systems. All commands below should be the same except "adb push /path/to/boot.img /sdcard/boot.img".
Here's a stock 10L kernel for D855 . Extract the zip and rename the .bin file to boot.img.
Connect your phone to pc, open a command prompt, and type everything that is not in ():
Code:
adb push c:\path\to\boot.img /sdcard/boot.img
(copy boot image to internal memory)
adb shell
su
(start a ADB shell and get root permissions)
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/boot
(overwrite current boot partition with all zeros - WILL throw an error, don't worry.)
dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
(overwrite now empty boot partition with kernel image)
exit
exit
adb reboot
(reboot the device)
This completely wipes your boot partition with 0000's, then fills it up with the kernel image you used before.
Now the Sharpening Mod will work.
If you copy the boot.img to the SD manually, you can execute all commands starting from 'su' up to the second exit in a terminal app on the phone itself as well.
Make sure you don't make any typos, and reboot afterwards!
Click to expand...
Click to collapse
If you deleted too many animations/sounds or want them back:
Here's a flashable audio-restore.zip.
Flash it using Flashify or TWRP.
It will restore all animations and sounds to stock state.
Click to expand...
Click to collapse
Safe to remove:
Accessibility
Answer me
EasyHome
E-Mail
Face Unlock
File Manager
Home selector
LG Backup
LG Health
LG Keyboard Black Theme
LGSearchWidgetProvider
McAfee Security
Music widget
Music app
Smart Notice
Smart Tips
and all animations/sounds
Click to expand...
Click to collapse
Safe to remove but have a replacement installed (and better set that to default before debloating).
Also, if doing a Factory Reset, this can lead to Setup Wizard loops. I can not confirm if integrating
alternatives into the system before wiping solves this.:
Home
Home Theme Optimus
Internet
LG Keyboard
LG Keyboard XT9
Click to expand...
Click to collapse
Google Apps:
Chrome
Drive
Gmail
Google Play Books
Google Play Games
Google Play Movies
Google Play Music
Google Play Newsstand
Google Text-to-speech Engine
Google+
Hangouts
Maps
Street View
TalkBack
YouTube
Click to expand...
Click to collapse
Potentially dangerous, can lead to FCs in specific combinations.
See list of Possible side-effects in first post before removing these:
App Updates
Google Search (can lead to Setup Wizard loops after Factory Reset)
LGInstallService
Software Update
Update Center
Click to expand...
Click to collapse
Definitely dangerous, will cause FCs for sure or other issues - not included:
com.lge.sui.widget - causes Settings FC after boot, then Settings to FC on open
LG System Service - makes the LED blink wildly
Click to expand...
Click to collapse
and here go at least 2 characters so my message is not too short.....
Always liked this debloating things.
Will test it later.
Can you feel the difference in speed?
from the moment i flash this mod i have no settings and from soft buutons the only one that is working is the back one...
any ideas??
redcom7 said:
from the moment i flash this mod i have no settings and from soft buutons the only one that is working is the back one...
any ideas??
Click to expand...
Click to collapse
Not yet. What exactly did you select?
I installed/ran/removed everything on my device except the unsafe apps without issues.
Cam you provide some sort of log?
E.g. the one created by the recovery after running
subworx said:
Not yet. What exactly did you select?
I installed/ran/removed everything on my device except the unsafe apps without issues.
Cam you provide some sort of log?
E.g. the one created by the recovery after running
Click to expand...
Click to collapse
i reflash cloudy 1.2 rom and i notice that there is no problem with unistalled apps but the problem is with thermal control mod ...
wrong ... also without flash thermal mod there are problem after this mod/...
redcom7 said:
i reflash cloudy 1.2 rom and i notice that there is no problem with unistalled apps but the problem is with thermal control mod ...
wrong ... also without flash thermal mod there are problem after this mod/...
Click to expand...
Click to collapse
Unfortunately there currently is no way for me to find out what went wrong on your device.
Hoping for a few more people to test the mod and report back if they encounter the same.
After the installer did its job (Mounting partitions, removing stuff, unmounting partitions), you are offered a "save log" button on the bottom left.
Is there a chance you'd be willing to try once more and then attach the log?
This might help with analysis.
Regards,
sub
subworx said:
Unfortunately there currently is no way for me to find out what went wrong on your device.
Hoping for a few more people to test the mod and report back if they encounter the same.
After the installer did its job (Mounting partitions, removing stuff, unmounting partitions), you are offered a "save log" button on the bottom left.
Is there a chance you'd be willing to try once more and then attach the log?
This might help with analysis.
Regards,
sub
Click to expand...
Click to collapse
i will do it when i will find some spare time ....
anyway thank you .....
I tried the mod out and I encountered no problems at all on cloudy. I only removed apps but all is good. So thanks a lot, saved me some time
p70shooter said:
I tried the mod out and I encountered no problems at all on cloudy. I only removed apps but all is good. So thanks a lot, saved me some time
Click to expand...
Click to collapse
Thank you very much for your feedback.
Great work. Is lghome and keyboard also safe to uninstall in case of a factory reset. On the G2 with my debloater removing those together or individually caused a "setup loop".
Going to flag this on the Vs985.
fr4nk1yn said:
Great work. Is lghome and keyboard also safe to uninstall in case of a factory reset. On the G2 with my debloater removing those together or individually caused a "setup loop".
Going to flag this on the Vs985.
Click to expand...
Click to collapse
Hi,
no they are NOT factory reset safe.
I will add a note to the "Safe with Alternative" section of the "readme" before the actual module selection, thank you.
Either you can integrate an alternative launcher and keyboard into the ROM (should work, never tried this before), or create a flashable zip just with these two. If you need to factory reset again, just flash the zip (copying home and keyboard to the correct /system/(priv-app)/ folder) and after the initial setup remove them again.
Edit: Oh nearly forgot, another thread (linked to in the OP) states that moving Google Search to userspace (or deleting it) and then factory resetting the device would lead to some loop (dunno if Boot, Setup or whatever) as well. That is why it's in the "Potentially dangerous" section until I had time (and interest to restore an old backup...) to actually test.
Regards,
sub
I used this on My SPRINT version Unlocked and it was unable to search the Network for some reason Had to restore a NAND Backup.
aukhan said:
I used this on My SPRINT version Unlocked and it was unable to search the Network for some reason Had to restore a NAND Backup.
Click to expand...
Click to collapse
Thanks for the info.
I saw this as well, worked again once I turned Wi-Fi and mobile Data off and on again.
Does the network zip provide any real noticable changes?
Mikessv said:
Does the network zip provide any real noticable changes?
Click to expand...
Click to collapse
What do you mean by network zip?
@subworx: in case you still need Google Search package: it's called "velvet.apk". Use Titanium Backup to display the package and apk names.
tobitege said:
@subworx: in case you still need Google Search package: it's called "velvet.apk". Use Titanium Backup to display the package and apk names.
Click to expand...
Click to collapse
Thank you very much
As I said, I moved the app to userspace, so my Titanium says "APK path: /data/appcom.google.android.googlequicksearchbox-1.apk" - no Velvet to be seen.
I saw Velvet.apk in the unpacked system image, but could not find out what it is/does.
Will add it to the script right away
Not sure if one should remove it though, might be needed by the LG initial setup wizard, could be that the wizard loops without Google.
WHAT IS THIS?
CosmicTweaks is my personal collection of changes and tweaks for MIUI. As of 2017.05.05 it is designed for Xiaomi.eu ROM's but it should work with official and probably any other MIUI mod (make a TWRP backup and report any problems you find!). It is not a full ROM, but modifies existing ROM to act like a customized MIUI ROM.
Highlights:
A tested and proven minimal set of tweaks, modular selection with no fluff or nonsense
Designed for Xiaomi.eu ROM's, but is based on AnyKernel2 scripts so should technicall work on *any* MIUI 8 ROM for Redmi Note 4 as it dynamically patches the system and kernel
Does NOT need a 'deodexed' firmware, and provides a tool in the main menu to move 'dalvik-cache' (ART cache) back to system partition which will reclaim space on /data
Option to add minimal Google apps for Chinese ROM's (thanks to Xiaomi.eu for reference on this)
Fully documented list of changes and hosted on GitHub. I encourage other aspiring modders to check out my work as I've done a lot of tricks here e.g. with Aroma and AnyKernel scripts
About updates, license and future:
I am a busy guy with fickle interests, I tend to contribute to XDA/Android stuff in sporadic and intense burts. I made this patch pack with the goal of minimal maintenence and future-proofing. I will try my best to kee it up to date, but no guarantees (we all do this for fun in our spare time afterall.) If I make no reply to this thread for THREE MONTHS, I give permission for moderators to lock it and another XDA member can fork and take over the work (as long as they make it clear that it's only *based* on my work and not endorsed by me).
MY TIPS FOR MIUI:
Can't press "Allow" in Permissions prompt: This is a long-standing MIUI bug. See my explanation of the bug along with workarounds here.
Titanium Backup: Having trouble restoring apps? Be sure to also enable "Install via USB" in Developer Options. If you get a "This device is temporarily restricted" error, just disable your internet access and toggle it again.
Global icon packs via Unicon: If you want to apply Nova/Apex/etc Launcher icon packs on a global scale with Unicon Xposed module, you will need to clear the icon cache after applying icon theme. This can be done by applying default/any theme in MIUI Themes app, OR you can manually delete the folder at /data/system/theme_magic/ (a root explorer required obviously) and THEN REBOOT IMMEDIATELY.
xMIUI Xposed Module: Highly recommended. It's not as extensive as GravityBox, but it's still got a lot.
Broken/crap Weather info: If using Chinese MIUI and you want working Weather, or just want better weather in general, get "Weather M8" from Play Store. The MIUI weather is actually a cut-down version of M8. If using xMIUI, you can also change the weather info in the notification shade to use M8 instead of stock MIUI.
Encryption: Don't be afraid to enable encryption. The Helio X20 is a beast with it thanks to hardware-level AES (benchmarks better than top snapdragons!).
Whetstone removal: It was terribly broken in older MIUI, but in later 7.x.x versions it seems far better. If you remove it, there is no point to "lock" app in memory (with recents) anymore unless you want to keep whole app loaded as long as possible. You will still need to enable Autostart however (in Settings > Permissions) and this will keep app background services (e.g. Push Notifications) running in background, even when you clear memory in recents screen. In short - without Whetstone there's no need to "lock" an app in memory anymore, just enable Autostart.
Push Notifications sometimes not working? Even though you enabled Autostart for source app already? Disable Battery Saver - either globally (recommended) or for that app only via "Settings > Battery and Performance > Manage apps battery usage".
Automatic Brightness is horrible on this device. Try Velis Auto Brightness on Play Store - it looks horrid but works beautifully, once you tune it for your own use.
For better power-savings get 'ForceDoze' from the Play Store. This tweak pack does enable doze capability, but this app will enforce it and providessome fine tuning.
I'll add some more tips here if I remember or find anything I think is worth knowing.
IMPORTANT INFO FIRST for Systemless Root (all SuperSU) users:
If you use Systemless Root via SuperSU, or plan to, make sure you flash it BEFORE this tweak/patch pack. Installing CosmicTweaks after a fresh ROM flash but before SuperSU will result in a broken or missing busybox install!
I have had severe stability issues with Systemless root (SuperSU) and latest China Stable MIUI. Or it could of been a bug/incompatibility with Magisk v9 and Systemless Xposed for MIUI, not sure. If you get a bunch of FC's suddenly for no reason, or any other problems, please try going back to traditional superuser before complaining to me (use phh's superuser) as many apps and the MIUI system seem to have trouble understanding the complexity or being compatible with systemless mods. Right now I am using phh's and SolarWarez xposed and have had no problem.
If you are on Systemless root and you factory reset, be sure to re-flash your SuperSU followed by this ZIP (you should already know that systemless is located on userdata partition) because the systemless busybox is needed by the MIUI system.
If you want to use Unicon Xposed module, use phh's Superuser instead - incompatible with SuperSU.
THINGS I CANNOT CHANGE WITH THIS PATCH PACK:
China ROM App Store (Mi Market) cannot be removed from China ROM without modifying app/framework code, which requires full deodex (beyond the scope of this tweak pack). It also cannot be disabled/frozen, it will either re-enable itself or bootloop as if it's been removed.
China ROM Video and Game Center are kept, despite being Chinese, to prevent the system reporting "System Modification detected" security alert. You can manually disable/freeze these apps yourself with e.g. Titanium Backup.
ADDITIONAL PERFORMANCE RECOMMENDATIONS THAT I CANNOT INCLUDE:
Developer Options - Disable animations (the the three different scales) will frees almost 100MB RAM.
Developer Options - Memory optimization. Turn it to Middle or High tp enable zRAM (trade a little CPU to provide RAM compression. I strongly recommend it, the X20 can handle it). Note that this may also kill background apps prematurely if you still have Whetstone installed (and don't lock the app in memory with Recents).
LIST OF CURRENT FEATURES:
Code:
- boot.img changes:
- Disabled dm-verity (aka verified boot) in fstab, permits /system modification and probably improves read performance.
- Disabled forced userdata encryption in fstab, now optional. If you want to disable encryption, you need to do "Format Data" (not just swipe to wipe in TWRP, it's the second button) which will also erase internal storage.
- init.d support
- /cust partition changes:
- Completely wiped, it was all either unwanted Chinese stuff or was moved to system partition
- BusyBox installer/upgrader
- v1.25.1 build by YashdSaraf - http://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
- Any existing version of Busybox will be cleanly removed beforehand
- Systemless support
- init.d tweaks
- asusm930's Tweaks - "UPDATE 3.0 (C)"
- Set noop scheduler for internal storage only (better for faster storage)
- OOM/LMK tweaks (overcommit_ratio to 80%, less aggressive LMK = much better RAM utilization)
- Clear icon cache on boot (may be useful for Unicon or other themers)
- additional tools:
- Integrate ART Cache. Useful for deodexed ROM's and those using Xposed to reclaim some space on /data
- Enable insecure ADB On Boot, and an optional rootmode-hacked adbd I compiled myself. Useful for hackers and developers.
- /system changes:
- Disable OTA app ZIP validation (etc/device_features/nickel.xml)
- Remove everything in /system/data-app/ (Chinese stuff)
- Delete install-recovery.sh and recovery-from-boot.p
- Remove Chinese carrier app selection (install_app_filter.xml)
- Remove from system (optional):
- Disable MTK PerfService (May help battery life but also cause lag and gaming FPS issues)
- AMAPNetworkLocation (only exists on China ROM, must be removed for Google Location to work)
- AnalyticsCore; Xiaomi stats collection. Has a LOT of suspicious dataminer-like permissions. Already removed on EU
- AutoTest; MTK engineering and diagnostics app. Should be safe to remove
- SogouInput; Chinese IME (Keyboard). Check to let Google Keyboard be the default on China ROM.
- Whetstone; MIUI's memory manager. Buggy on some older versions. See CosmicTweaks thread for details.
- YellowPage; Only useful for China. EU ROM seems to have a custom/translated version so will only be default checked for removal on official ROM.
- Various Chinese-only services
- build.prop (non-optional):
- ro.product.locale=en-US
- ro.setupwizard.mode=OPTIONAL
- build.prop (optional)
- Camera quality tweaks; various improvements to camera image/video quality and capability
- Fast Dormancy; Improves battery life if carrier supports it. RELEVENCE UNCONFIRMED FOR MTK DEVICES (but won't hurt if not)
- Force 4G Disabled; fix deep sleep issue for users with 3G-only SIM cards
- Set Google location service as default; useful for China ROM
- Disable MIUI Optimization; it causes compatibility issues with many apps. You can manually re-enable in Developer options if you want it back
- Scrolling Tweaks; Smaller scrolling cache (saves memory) and fling velocity tweak
- /system additions (all are optional):
- Google apps:
- BookmarkProvider
- GoogleCalendarSyncAdapter
- GoogleContactsSyncAdapter
- GoogleTTS
- GoogleBackupTransport
- GoogleFeedback
- GoogleLoginService
- GoogleKeyboard
- GoogleOneTimeInitializer
- GooglePartnerSetup
- GoogleServicesFramework
- MusicFX (already exists in /apps, but Xiaomi.eu also has two MusicFX.apk... not sure if this is right)
- Phonesky (Google Play Store)
- PrebuiltGmsCore (Google Play Services)
- AOSP Provision (replace MIUI setup wizard, DOES NOT BYPASS ACTIVATION)
- vendor/overlay RRO:
- framework-res (includes all of these):
- Add Google's Location Provider
- Change NTP server to Europe
- Enable Doze, but using ForceDoze app still recommended
- Enable Network Location Overlay
- Disable unsafe media volume warning
- Quick Search Box
- Global-ize and English-ify (useful for China ROM)
CHANGELOG:
Code:
2017.05.05
- Tested with Xiami.eu 7.4.27 but should still work with all others
- New - 'Integrate ART Cache' tool
- New - 'Disable PerfService' and 'asusm930's Tweaks' options
- Change - Google Apps now optional, default-checked for official ROM's only
- Change - Quick Search Box RRO default-checked for official ROM's only
- Change - Update Whetstone description, now unchecked by default as it's not a broken mess like it used to be
- Remove - Google Feedback option (not actually useful, I was confused by ignorance on how system vs data app bug reports work)
2017.02.07
- New - Aroma Installer
- Made lots of existing features optional
- Add Insecure ADB On Boot option
- Probably more awesome stuff that I can't remember because I didn't take full notes
- New - QuickSearchBox translation/globalize overlay
- New - Init.d script - Clear icon cache every boot (useful for Unicon users... Unicon still only works sometimes sadly)
- Remove - MiRemote APK replacement (not very interesting, just keep the original firmware one)
- Remove - WallpaperCarousel APK replacement (as above)
- Remove - /cust wipe feature (no longer useful)
- Fix - Init.d scripts shouldn't block flow control
2016.11.26
- Initial release
- Based on China Stable 8.1.3.0
DOWNLOAD:
Please read all above info AT LEAST once!
Please see Post #2 for known problems/compatibilities and bug reporting guidelines!
Factory Reset should NOT be required, UNLESS you select the Google Apps option. Feel free to report any bugs resulting from dirty flashing as long as Google Apps were left alone.
Download flashable ZIP's from the GitHub releases page
Old Version (Not recommended):
v2016.11.26 @ Google Drive
CREDITS AND THANKS:
asusm930 for some useful tweaks
YashdSaraf for his BusyBox installer script
phhusson for his sepolicy-injector builds & scripts used in his Superuser (I used them as reference for injecting init.d support)
osm0sis for AnyKernel2, it's totally awesome
Xiaomi.eu ROM's and community for some tweak references and some translated/globalized resources
icons8.com for Aroma icons
Known Problems
If you want to report a bug, you MUST do the following first:
Ensure that the bug is not already reported (it will be listed in this post if so)
Make sure that the problem does NOT exist on the base ROM before installing this tweak/patch pack
PLEASE share a TWRP recovery log (Advanced > Copy Log) from when you installed the pack along with the Aroma install log. Many errors can be hidden and not reported to the display text.
Xiaomi.eu weekly
v2017.05.05 working OK on 7.4.27 (and probably later versions) - this is my personal setup
Others?
Assumed OK, please report any problems if not!
Hi !
I'm on the weekly version of xiaomi.eu 6.10.20.
Nobody tried yet ?
benda95280 said:
Hi !
I'm on the weekly version of xiaomi.eu 6.10.20.
Nobody tried yet ?
Click to expand...
Click to collapse
Make a TWRP backup and try
But that is quite an old version. I may only support latest Xiaomi.eu version (6.11.24)
Good...it is work in global stable 8.0.4.0 ?
Sent from my Redmi Note 4 using Tapatalk
I'm on the CN 8.1.3 and applied it without wiping data.
So far just one unusual reboot and a little lower Antutu value (74k vs. 79k before) but these values can change with air pressure and temperature
Thanks for that! I will try!
You tried to remove Mi Market and you get a boot loop right? How can you change the default application for market: links to Google Play Store? Thanks!
ale144101 said:
Good...it is work in global stable 8.0.4.0 ?
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Thanks for the report!
_Derk_ said:
I'm on the CN 8.1.3 and applied it without wiping data.
So far just one unusual reboot and a little lower Antutu value (74k vs. 79k before) but these values can change with air pressure and temperature
Click to expand...
Click to collapse
That's very concerning, I've never had a random reboot! Let us know if it happens again....
Antutu score, hmm yeah... try clearing memory in Recents while Antutu is active (a good idea to clear memory manually for any heavy gaming) and see if you get a better score. Since I've removed Whetstone and tuned LMK, the ROM will perform much better with multitasking but could have a slight hit to foreground performance if you don't clear memory. Not sure, could just be fickle Antutu as you say
prismk said:
Thanks for that! I will try!
You tried to remove Mi Market and you get a boot loop right? How can you change the default application for market: links to Google Play Store? Thanks!
Click to expand...
Click to collapse
Yeah, I've even decompiled and inspected the framework (smali code) - in services.jar, Xiaomi has code that specifically and intentionally stops the system from booting if the MiuiSuperMarket APK is missing or modified. We will have to wait for global stable if we want to be free of it completely.
I have not had any issue with it opening the wrong market. Tapatalk asked me to Rate the app, and it asked me which Market to open. And another app had a Pro upgrade prompt, it opened Google market automatically. Maybe it only happens with some apps?
CosmicDan said:
Yeah, I've even decompiled and inspected the framework (smali code) - in services.jar, Xiaomi has code that specifically and intentionally stops the system from booting if the MiuiSuperMarket APK is missing or modified. We will have to wait for global stable if we want to be free of it completely.
I have not had any issue with it opening the wrong market. Tapatalk asked me to Rate the app, and it asked me which Market to open. And another app had a Pro upgrade prompt, it opened Google market automatically. Maybe it only happens with some apps?
Click to expand...
Click to collapse
Yeap, we will need to wait for a Xiaomi.eu Global
I tried to change default market to Google Market, but its no possible. So a clean permissions and defaults for Mi Market and when I open a market:/ link I was able to choose the default app for market:/ link
I tried your patch with China Global and I get error with Google Play Store:
Code:
java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
I tried to fix running this in a terminal:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
But it doesn't work. Return something like "could not access the package manager. is the system running". Im investigating this and I will try to fix today
OK so just FYI, I've discovered two bugs which I'm working on fixing:
1) If using phh's superuser, busybox is broken (bug in Busybox installer, already fixed at my end)
2) init.d support not working because I need to patch SELinux
So the init.d tweaks (not much, but still nice) are currently ineffective.
CosmicDan said:
OK so just FYI, I've discovered two bugs which I'm working on fixing:
1) If using phh's superuser, busybox is broken (bug in Busybox installer, already fixed at my end)
2) init.d support not working because I need to patch SELinux
So the init.d tweaks (not much, but still nice) are currently ineffective.
Click to expand...
Click to collapse
Yeap, I discovered the init.d problem too. I was trying to do
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
in init.d and I discover that isn't working
Maybe you can put this code in a github repository? So we can make PRs to upgrade the patches
Do you know why Im getting the ACCESS_FINE_LOCATION permission error?
good tweaks, battery usage is more better than stock miui
update this pack to xiaomi.eu stable rom, and first of thing is a battery usage is more better than with any other rom.
i not use the fingerprint sensor, and any other rom has stay in sense condition(when touch 2 times the display is turn on), but here is not working, i think it use less energy!
keep it up
good works
prismk said:
Yeap, we will need to wait for a Xiaomi.eu Global
I tried to change default market to Google Market, but its no possible. So a clean permissions and defaults for Mi Market and when I open a market:/ link I was able to choose the default app for market:/ link
I tried your patch with China Global and I get error with Google Play Store:
Code:
java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
I tried to fix running this in a terminal:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
But it doesn't work. Return something like "could not access the package manager. is the system running". Im investigating this and I will try to fix today
Click to expand...
Click to collapse
CosmicDan said:
WHAT IS THIS?
CosmicTweaks is my personal collection of changes and tweaks for MIUI. I made it for my own use on latest China stable (8.1.3.0) because I was tired of Xiaomi.eu's current weekly builds having too many problems, and global stable is currently old. Thought I'd package it up and share for others to enjoy. It is not a full ROM, but modifies existing ROM to act like a customized MIUI ROM.
Highlights:
In my experience, China 8.1.3.0 + this patch = smoothest, most stable, most capable MIUI experience yet for the Redmi Note 4
Designed for China Stable, but is based on AnyKernel2 scripts and should work on *any* MIUI 8 ROM for Redmi Note 4 as it patches the system and kernel and only replaces or adds files that are generic and universal
A tested and proven minimal set of tweaks, no fluff or nonsense
Not a full ROM but a patch, does NOT deodex the stock firmware
Adds Google apps and Services for Chinese ROM's (thanks to Xiaomi.eu for reference here), should be safe for any ROM
Completely documented list of changes so you can see exactly what you are getting (see list below)
Can manually customize it if you have a bit of know-how. A decent template for making a ROM mod pack. I encourage other aspiring modders to check out the bottom of anykernel.sh and the updater-binary script (it's not a binary) for how to make higher-quality, more generic mod/tweak packs.
About updates, license and future:
I am a busy guy, in fact I am preparing to join the army in next few months so please don't expect me to keep this updated and help everyone out. I will be around for a while, I may continue to make changes and additions to this in my spare time but I don't know how long I will even care about my Note 4 device, let alone modding in. If I do not reply to this thread for THREE MONTHS, I give permission for moderators to lock it and any other person on XDA can take over this work.
MY TIPS FOR MIUI:
Titanium Backup: Having trouble restoring apps? I found out that you need to (a) use phh's superuser (SuperSU broken, (b) Disable SELinux temporarily while restoring apps, and (c) Change restore method to INDIRECT. If you must use SuperSU, you will need to use the update.zip method of restoring apps - I couldn't find any other way.
Global icon packs via Unicon: If you want to apply Nova/Apex/etc Launcher icon packs on a global scale with Unicon Xposed module, you will need to clear the icon cache after applying icon theme. This can be done by either applying default/any theme in MIUI Themes app, OR manually delete the folder at /data/system/theme_magic/ and REBOOT IMMEDIATELY.
xMIUI Xposed Module: Highly recommended. It's not as extensive as GravityBox, but it's still got a lot. Another option is exMIUI, but it has nothing useful for me.
Broken Weather info: If using Chinese MIUI and you want working Weather, get "Weather M8" from Play Store. Literally the same as stock MIUI weather, but actually works (and has more features). Using xMIUI module, the notification pulldown weather display can be changed to show Weather M8 info.
Encryption: Don't be afraid to enable encryption. The Helio X20 is a beast at AES performance (uses hardware acceleration, benchmarks better than top snapdragons at AES) and I can vouch for it personally.
Whetstone removal: With this horrible feature gone, there is no point to "lock" app in memory (with recents) anymore unless you want to keep whole app loaded as long as possible. Instead, enabling Autostart (in Settings > Permissions) for it will make sure the app keeps any services (e.g. Push Notifications) running in background, even when you clear memory in recents screen! In other words, for background operations like Push Notifications, there is no need to lock whole app in memory anymore - just enable Autostart for it instead.
Push Notifications sometimes not working? Even though you enabled Autostart the source app already? Disable Battery Saver - either globally (recommended) or for that app only via "Settings > Battery and Performance > Manage apps battery usage".
Automatic Brightness is horrible on this device. Get Velis Auto Brightness on Play Store - it works beautifully, now that Whetstone is removed (didn't before) - just remember to enable Autostart for it.
I'll add some more tips here if I remember or find anything I think is worth knowing.
IMPORTANT INFO FIRST for Systemless Root (SuperSU) users:
If you use Systemless Root via SuperSU, or plan to, make sure you flash it BEFORE this tweak/patch pack. Installing CosmicTweaks after a fresh ROM flash but before SuperSU will result in a broken or missing busybox install!
I have had severe stability issues with Systemless root (SuperSU) and latest China Stable MIUI. Or it could of been a bug/incompatibility with Magisk v9 and Systemless Xposed for MIUI, not sure. If you get a bunch of FC's suddenly for no reason, or any other problems, please try going back to traditional superuser before complaining to me (use phh's superuser) as many apps and the MIUI system seem to have trouble understanding the complexity or being compatible with systemless mods. Right now I am using phh's and SolarWarez xposed and have had no problem.
If you are on Systemless root and you factory reset, be sure to re-flash your SuperSU followed by this ZIP (you should already know that systemless is located on userdata partition) because the systemless busybox is needed by the MIUI system.
THINGS I SADLY CANNOT CHANGE WITH THIS PATCH PACK:
App Store (Mi Market) cannot be removed from China ROM without modifying app/framework code, which requires full deodex (beyond the scope of this tweak pack). It also cannot be disabled/frozen, it will either re-enable itself or bootloop as if it's been removed.
Video and Game Center are kept, despite being Chinese, to prevent the system reporting "System Modification detected" security alert. You can manually disable/freeze these apps yourself with e.g. Titanium Backup.
ADDITIONAL PERFORMANCE RECOMMENDATIONS THAT I CANNOT INCLUDE:
Developer Options - Disable animations (the the three different scales). Frees almost 100MB RAM.
Developer Options - Memory optimization. Turn it to Middle or High tp enable zRAM (trade a little CPU to provide RAM compression. I strongly recommend it, the X20 can handle it). Whetstone service has been removed, so this setting will only change zRAM function - it will NOT affect background app count.
LIST OF CURRENT FEATURES:
Code:
- boot.img changes:
- Disabled dm-verity (aka verified boot) in fstab, permits /system modification and probably improves read performance.
- Disabled forced userdata encryption in fstab, now optional. If you want to disable encryption, you need to do "Format Data" (not just swipe to wipe in TWRP, it's the second button) which will also erase internal storage.
- init.d support
- /cust partition changes:
- Completely wiped, it was all either unwanted Chinese stuff or was moved to system partition
- BusyBox installer/upgrader
- v1.25.1 build by YashdSaraf - http://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
- Any existing version of Busybox will be cleanly removed beforehand
- Systemless support
- init.d tweaks
- Set noop scheduler for internal storage only (better for faster storage)
- OOM/LMK tweaks (overcommit_ratio to 80%, less aggressive LMK = much better RAM utilization)
- vendor/overlay RRO:
- Add Google's Location Provider
- Change NTP server to Europe
- Enable Doze
- Enable Network Location Overlay
- Disable unsafe media volume warning
- /system changes:
- Disable OTA app ZIP validation (etc/device_features/nickel.xml)
- Remove everything in /system/data-app/ (Chinese stuff)
- Delete install-recovery.sh and recovery-from-boot.p
- Remove Chinese carrier app selection (install_app_filter.xml)
- Removed apps:
- AnalyticsCore (Phone-home backdoor app)
- AutoTest (Engineering diagnostics)
- SogouInput (Chinese IME), replaced by Google Keyboard
- Whetstone. This is the built in "app killer". Even with memory optimization off and an app locked, Whetstone will STILL sometimes kill apps when there is plenty of free RAM.
- Various Chinese-only services
- build.prop:
- ro.product.locale=en-US
- ro.setupwizard.mode=OPTIONAL
- persist.sys.miui_optimization=false
- MIUI Optimization causes compatibility issues with many apps. You can manually re-enable in Developer options if you want it back.
- Disable scrolling cache and tweak fling speed
- Enable Fast Dormancy
- Camera quality and Media encoding/decoding tweaks
- Enable Google location services on boot
- /system additions:
- apps added:
- BookmarkProvider
- GoogleCalendarSyncAdapter
- GoogleContactsSyncAdapter
- GoogleTTS
- MiRemote (XMRemoteController) from Global 8.0.x firmware
- WallpaperCarousel (moved MiGalleryLockscreen from cust partition)
- priv-apps added:
- GoogleBackupTransport
- GoogleFeedback
- GoogleLoginService
- GoogleKeyboard
- GoogleOneTimeInitializer
- GooglePartnerSetup
- GoogleServicesFramework
- MusicFX (already exists in /apps, but Xiaomi.eu also has two MusicFX.apk... not sure if this is right)
- Phonesky (Google Play Store)
- PrebuiltGmsCore (Google Play Services)
- Some Google related etc's and framework's
- Add some missing fonts (not sure if they're important but meh)
CHANGELOG:
Code:
2016.11.26
- Initial release
DOWNLOAD:
Please read all above info AT LEAST once!
Please see Post #2 for known issues, bug reporting guidelines, and compatibility with different MIUI ROM's!
v2016.11.26 (Latest) @ Google Drive
CREDITS AND THANKS:
Xiaomi.eu ROM's for reference material
YashdSaraf for his BusyBox installer script
adrianom for his modded boot image, it was inspiration/motivation for me to try out a non-weekly ROM
Click to expand...
Click to collapse
prismk said:
Yeap, we will need to wait for a Xiaomi.eu Global
I tried to change default market to Google Market, but its no possible. So a clean permissions and defaults for Mi Market and when I open a market:/ link I was able to choose the default app for market:/ link
I tried your patch with China Global and I get error with Google Play Store:
Code:
java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
I tried to fix running this in a terminal:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
But it doesn't work. Return something like "could not access the package manager. is the system running". Im investigating this and I will try to fix today
Click to expand...
Click to collapse
I had this problem once but then never did again, not sure what causes it.
pm grant for this particular permission does not work, even with root this permission has been "locked" since marshmallow (can't be granted or revoked by pm command at all).
Did you flash this mod pack on a fresh ROM (clean data) or did you flash it after already booting before? I think if you wipe data it may solve it, but I'm not sure.
Sent from my Redmi Note 4 using Tapatalk
CosmicDan said:
I had this problem once but then never did again, not sure what causes it.
pm grant for this particular permission does not work, even with root this permission has been "locked" since marshmallow (can't be granted or revoked by pm command at all).
Did you flash this mod pack on a fresh ROM (clean data) or did you flash it after already booting before? I think if you wipe data it may solve it, but I'm not sure.
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
I flashed a clean MIUI China Stable, booted and flashed your tweaks. I will try wipe data and flash before boot the ROM
What you think about using a Github Repository for these tweaks? Can you update with busybox installer fix? Thanks!
prismk said:
I flashed a clean MIUI China Stable, booted and flashed your tweaks. I will try wipe data and flash before boot the ROM
What you think about using a Github Repository for these tweaks? Can you update with busybox installer fix? Thanks!
Click to expand...
Click to collapse
It's definitely a bug in AOSP (see this fix that exists in most custom ROM's) that requires Gapps only be installed on fresh, brand new systems - so a factory reset will be needed. I can't include this this fix in the patch since framework mods need a deodex, and I don't want to make a whole custom ROM.
Github repo done, you can download the latest HEAD and flash-away (has the busybox and init.d fixes already, but I won't do a release yet - still want to do more translations). https://github.com/cosmicdan/CosmicTweaks_HMNote4
CosmicDan said:
It's definitely a bug in AOSP (see this fix that exists in most custom ROM's) that requires Gapps only be installed on fresh, brand new systems - so a factory reset will be needed. I can't include this this fix in the patch since framework mods need a deodex, and I don't want to make a whole custom ROM.
Click to expand...
Click to collapse
So, I flash MIUI ROM and flash tweaks after that and I get a bootloop So I flash MIUI, booted, wipe Dalvik, cache and data and flash tweaks and it's working perfect
prismk said:
So, I flash MIUI ROM and flash tweaks after that and I get a bootloop So I flash MIUI, booted, wipe Dalvik, cache and data and flash tweaks and it's working perfect
Click to expand...
Click to collapse
But you will probably get FC's when you try to use Google Location....
...can anybody else confirm bootloop on clean flash in latest GitHub patch?
I will do a backup and wipe and try myself. Are you running "miui_HMNote4_V8.1.3.0.MBFCNDI_5a92469285_6.0.zip"?
I will make a seperate ZIP patch to enable insecure ADB from boot (so we can debug clean flash bootloops, and also incase anybody wants root-mode ADB access e.g. push files directly to /system). I need to download the MM source and compile a hacked adbd binary for this, so it could take a day or two.
CosmicDan said:
But you will probably get FC's when you try to use Google Location....
...can anybody else confirm bootloop on clean flash in latest GitHub patch?
I will do a backup and wipe and try myself. Are you running "miui_HMNote4_V8.1.3.0.MBFCNDI_5a92469285_6.0.zip"?
I will make a seperate ZIP patch to enable insecure ADB from boot (so we can debug clean flash bootloops, and also incase anybody wants root-mode ADB access e.g. push files directly to /system).
Click to expand...
Click to collapse
I don't get FC when I used Google Location and yes, Im running the same version of MIUI.
prismk said:
I don't get FC when I used Google Location and yes, Im running the same version of MIUI.
Click to expand...
Click to collapse
Well that just makes the GMS FC spam even MORE confusing! Wish I knew what caused it, as I said it only happened to me once.... *sigh* I sure don't miss being a professional Android OS engineer lol, this "sometimes it happens" stuff comes all too often!
Anyway, the intention is to still flash the patch on a clean system (because it erases all the preinstall stuff, and sets some default settings in framework overlay) so I will look into that issue. Just need to finish downloading the AOSP MM sources before I can continue debugging that.
Thank you. Going to try it after i get some more courage, because now i'm on stock MIUI 8.0.4.0 & locked bootloader.
From what i read, to unlock bootloader i need to flash China Dev Rom with SP Flash, and only after that i will be free to try any Roms.
What does this do?
This flashable ZIP file attempts to speed up Android OS by implementing tweaks and removing programs that the average Android user may not utilize. It also adds build.prop tweaks, init.d tweaks and a hosts file all aimed at one goal, to reach Android's maximum performance.
Before doing anything, be sure to backup with recovery since things might go wrong.
How to install/update:
First things first, YOU HAVE TO DOWNLOAD A 3RD PARTY LAUNCHER AS THIS MOD REMOVES THE DEFAULT LAUNCHER. I recommend Nova Launcher
1. Download ZIP and transfer it onto your phone's downloads folder (much easier if you download it through phone)
2. Boot into recovery mode and make a BACKUP first before flashing!
3. Flash the downloaded ZIP file.
4. After the process, wipe dalvik-cache and cache partitions (you do not need to format data)
5. Done! Now boot into the system and wait for the boot process to take you to lock screen (should take longer than usual, maybe about 1-10min. Don't be scared if your phone is taking longer than usual)
6. Open Settings > Apps > ::: (3 dots on the top right corner) > Reset app preferences (If you do not have this step, you can skip)
7. Done! After flashing, I recommend calibrating battery (you do not need to do this every update!)
NOTE: For a while, it may seem that Android's performance is worse and the battery is slower. Give it some time to adapt to the new changes
For updates, just download the updated ZIP and follow the installation steps again! Easy peasy.
Common Issues:
Boot Loops
Black Screen on Startup
Phone won't boot
Settings do not respond when opened
Certain apps lost functionality
Spam messages saying: "Unfortunately android.app has stopped working"
Notifications not working
Any issue that comes up, restore it from backup. Usually, uninstalled system apps are what cause these issues. To prevent them, you will need to remove some lines in the updater-script in my ZIP and reflash it. Be sure to report any bugs you find so they can be fixed right away!
Compatibility:
This ZIP file should be compatible with all ROMs (stock-based, AOSP-based and even stock), mods, devices and Android versions, but it was specifically tested and built around an S7 Edge (G935W8) running stock-based ROM (Superman ROM v3.0.1).
Tested on:
- LineageOS 16.0 ROM Android P
- Superman ROM v3.0.1
- The Galaxy Project
Changelog:
1.5.2
- Added more programs to debloat list
- More ads blocked in the hosts file
- Added more build.prop tweaks
1.5.1
- Tested and working
- Programs in updater-script are now sorted in alphabetical order for easier finding
1.5beta3 *UNTESTED*
- Added a LOT more BuildProp tweaks (115+ lines!)
- Added mxt224_ts_input.idc (makes touch screen better and responsive)
- System apps are now included in Doze
- Added sysctl.conf (extra protection)
- Added a LOT more init.d tweaks
- Added local.prop (values for performance)
- For older versions, visit - https://forum.xda-developers.com/s7-edge/themes/roms-android-acceleration-strip-t3841643
1.5beta2 *UNTESTED*
- Fixed the HOSTS file
. - Remove invalid rows
. - Added 13,000 new lines (now containing over 61,000 lines!)
. - Removed useless lines
. - Sorted alphabetically
. - Removed empty lines
1.5beta *UNTESTED*
- Added a LOT more Init.d tweaks (increases performance by managing cpu and ram better and many more)
- Added a LOT more BuildProp tweaks (increase performance)
- Added a hosts file (contains over 48,000 lines!) that blocks malware and ads, thus increasing speed
1.4.1
- Tested and fixed some issues. Includes all changes below.
- Ignore the error, "failed to mount /cache". It will function regardless
1.4beta3 *UNTESTED*
- This version has not yet been tested so it might not work and will probably give an error 7 in TWRP (if it does not give an error, please let me know)
- Included v1.3.3 changes
1.4beta2 *UNTESTED*
- This version has not yet been tested so it might not work and will probably give an error 7 in TWRP (if it does not give an error, please let me know)
- Added buildprop tweaks
- Does not include v1.3.3 changes
1.4beta *UNTESTED*
- This version has not yet been tested so it might not work and will probably give an error 7 in TWRP (if it does not give an error, please let me know)
- Added init.d tweaks
- Does not include v1.3.3 changes
1.3.3
- Added ADAPT SOUND and PRINTERS to debloat list
1.3.2
- Added a build prop tweak to utilize hyperthreading
1.3.1
- Added more apps to debloat list. Expect more apps to be added in the future
1.3
- Added more to debloat list
- Added buildprop tweaks
- This should fix error 7 in TWRP
- COMING SOON: Init.d tweaks
1.2.1
- I'll add build.prop and init.d tweaks when I can
- More apps to added to debloat. BACKUP
- After flashing be sure to wipe cache and dalvik
1.2 - DO NOT DOWNLOAD. ERROR IN UPDATER-SCRIPT. FIXING IN v1.3
- Added init.d tweaks
- Added BuildProp tweaks
- Added more to debloat list
1.1
-Added more to debloat list, be sure to backup just in case anything goes wrong!
1.0
- Init
Permissions:
- Feel free to take anything from the zip file, however, you must credit me as creator.
- If you are reuploading this on another website, add a link to this xda thread.
123keelos said:
1. Download ZIP (much easier if you download it through phone)
Click to expand...
Click to collapse
It is better if a mirror link also available...
Thanks
HemanthJabalpuri said:
It is better if a mirror link also available...
Thanks
Click to expand...
Click to collapse
I'll try to get a mirror up. Also, how does a mirror link being available make it better?
123keelos said:
I'll try to get a mirror up. Also, how does a mirror link being available make it better?
Click to expand...
Click to collapse
Since I cant able to download the attachment.. it shows error..
Thanks
HemanthJabalpuri said:
Since I cant able to download the attachment.. it shows error..
Thanks
Click to expand...
Click to collapse
I see. Check the description, I uploaded a mirror link
Hi it's really efficient for battery and performance or not? I've a custom kernel and custom stock rom. I use ex Kernel manager for tweaking my kernel with naptime and servicely too, thx in advance. In deepsleep my phone loose only 4% in 8 hours.
narco14 said:
Hi it's really efficient for battery and performance or not? I've a custom kernel and custom stock rom. I use ex Kernel manager for tweaking my kernel with naptime and servicely too, thx in advance. In deepsleep my phone loose only 4% in 8 hours.
Click to expand...
Click to collapse
- Battery Life: Will be a bit better since it removes aps that would run in the background. It also adds performance settings that would drain the battery a little bit, but overall, it would be better
- Performance: It will improve since not as many apps are running in the background as opposed to stock
I, too, use a custom ROM and kernel.
Can I flash by Magisk Manager? or TWRP only?
My device arch is x86. can I use?
Hi! I have a problem, I can't access system or any data from TWRP, so I can't flash your zip even through sideload.
Can you make a Magisk version? It would be great!
dhampire said:
Can I flash by Magisk Manager? or TWRP only?
My device arch is x86. can I use?
Click to expand...
Click to collapse
I dont know about flashing with Magisk so I think it's best that TWRP is used.
No devices (are known) are incompatible with this zip file so you can flash it on any Android
evilarthas said:
Hi! I have a problem, I can't access system or any data from TWRP, so I can't flash your zip even through sideload.
Can you make a Magisk version? It would be great!
Click to expand...
Click to collapse
I dont have any experience with making a Magisk version.
Go to TWRP, click on Mount and check System then press BACK (dont click mount system). This probably would fix your issue.
Hi, first of all thank you for your effort.
I can't get your mod working on my phone. I removed some essential lines from update script, then I even formatted data in order to have access to my system and data and then flashed. It says that it can't get access to /cache. However, as I can observe, the patch is applied. I boot up my phone and have another welcome application, I proceed and then it is stuck on "Android is starting". Very disappointed, wanted this mod to work and to get the bloat out of my phone.
My phone is sm-935s. TWRP is installed, as well as Magisk.
Stock oreo 8.0.0
evilarthas said:
Hi, first of all thank you for your effort.
I can't get your mod working on my phone. I removed some essential lines from update script, then I even formatted data in order to have access to my system and data and then flashed. It says that it can't get access to /cache. However, as I can observe, the patch is applied. I boot up my phone and have another welcome application, I proceed and then it is stuck on "Android is starting". Very disappointed, wanted this mod to work and to get the bloat out of my phone.
My phone is sm-935s. TWRP is installed, as well as Magisk.
Stock oreo 8.0.0
Click to expand...
Click to collapse
For me, it says that cache cant be accessed after I flash it. It still works for me even though. This error can be ignored
As for the Android starting stuck, it means that the updater-script is removing some applications that are necessary for a functioning phone. You will have to do some experimenting and remove lines until you find the issue.
Hi, 1.5.1 working without issues and without deleted some lines in updater script ?
It works on S7 Edge ?
dawidk750i said:
It works on S7 Edge ?
Click to expand...
Click to collapse
man, did you read OP???
Compatibility:
This ZIP file should be compatible with all ROMs (even stock), mods, devices and Android versions, but it was specifically tested and built around an S7 Edge running stock-based ROM (Superman ROM v3.0.1).
Click to expand...
Click to collapse
I tried v1.5.1 on my Moto X4 (Android 9) and have error 7 in TWRP..
My phone just become worse
In the first message, there are so many errors written that unfortunately the human is hesitant to install.
For this reason, many people may think again when they want to install it.
Error in flashing on GT-N7000
Failed to mount '/cache (No such file or directory)'