Debloat - safe apps to remove? - Sony Xperia XA Questions & Answers

What are some system apps that are safe to completely remove?
What is the bare minimum?
Have you been able to reach either of these?
I'm just not sure what to remove and what to keep - like "Xperia Configurator" or even "Xperia Services".

goldblot said:
What are some system apps that are safe to completely remove?.
Click to expand...
Click to collapse
See this thread - [MM / N] [UB] [COMBINED] System/OEM Debloat Script - v1.7

Related

[MOD][AROMA][2015.09.16]ImproveG3 v1.2

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.

[MODS][UNLOCKED BL][AROMA][GITHUB] CosmicTweaks v2017.05.05

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.

PIXELize your S8/S8+ and debloat

This is for those who does not really want all the fancy features that are present in Stock Touchwiz ROM and prefer to only have what is on Stock Android or Pixel-like experience.
All credits goes to the creator of each mod involved.
Requirements:
- Custom recovery like TWRP
- Rooted Phone (SuperSU / Magisk)
- File Manager with Root Access. I use Root Explorer
- OpenGApps (arm64,7.0) (package: stock/super/aroma) - This will enable some Nexus/Pixel exclusive features and install Google Apps that are preloaded on Nexus/Pixel Devices including apps that usually can't be installed as normal apk such as below:
- Google Phone
- Google Contacts
- Google Camera (Slow Motion isn't working)
- Google Now Card (swipe to right)
- Google Search Pill
- "OK Google" voice detection
Instructions:
* First thing to do is to flash OpenGApps via TWRP
Link: http://opengapps.org
* Install a navbar overlay from below thread to get Stock Android (AOSP) NavBar or Pixel NavBar. Install it as normal apk.
Link: https://forum.xda-developers.com/galaxy-s8+/themes/substratum-inversion-ui-overlay-overlays-t3604341
* Replace the stock Pixel Launcher (located at '/root/system/priv-app/NexusLauncherPrebuilt/NexusLauncherPrebuilt.apk') with this modded Launcher (link below). This launcher is basically the same as the stock Pixel Launcher with enabled features like round icons for app that supports it. More information on the original thread.
Link: https://forum.xda-developers.com/android/apps-games/launcher3-pixel-launcher-features-t3620972
* Below are some apps i'm using that are supported:
- Google Photos
- Google Play Music
- Google Drive
- Google Calendar
- Google Calculator
- Google Keep
- Google News&Weather
- Google Playstore
- Google Drive
- Google Calendar
- Youtube
- Gmail
- XDA Labs
- XDA Feed
- Twitter
And now that you got all that is required to have a Pixel-like UI / Experience, it's time to make your ROM lightweight.
* Create a folder in your Internal Storage or SD Card named "system" and inside it, create folders "app" and "priv-app". This is to make sure that you can always revert back the changes that you'll make.
* Open your File Manager with root access and navigate to "root/system/app" or "root/system/priv-app"
This is where you can find all the installed apps in your system. In my case, what i do is "cut and paste" the whole folder to Internal Storage and then reboot to remove the bloat that i don't need.
I am currently on Renovate Ice ROM - r98 build (AQF7 FIRMWARE) and below is the list of what i have removed.
[system/app]
AAAService
AdvSoundDetector2015
AllShareFile
AllShareMediaShare
ANTPlusTesy
ApexServicr
apps_brasil_signed_aligned
BasicDreams
BeamService
BookmarkProvider
CarmodeStub
ChocoEUKor
ChromeCustomizations
ClockPackage_N
CloudPrint2
CocktailQuickTool
CoolEUKor
DictDiotek_update
EasymodeContactsWidget81
FBAppManager_NS
FlipboardBriefing
InteractivePanoramaViewer_WQHD
MirrorLink
MotionPanoramaViewer
My_Singtel_4.4_com.singtel.mysingtel
MyGalaxy
NaverV_N
Panorama360Viewer
papergarden
RoseEUKor
SamsungCalendar_Stable_4012
SamsungConcierge_stub
Samsungconnect
SamsungIMEv5
SamsungPayStub
SecCalculator_N_R
SelfMotionPanoramaViewer
shahid
ShareLink_2017
SLocation
SlowMotion_Dream_N
SmartcardService
SmartClipEdgeService
SmartMirroring
SmartReminder
SmartSwitchAgent
SPdfNote
SPrintSpooler7
STalkback
StoryEditor_Dream_N
ubank_samsung
UserManual
Videos
VideoTrimmer_Dream
VirtualTour_N_OS
VisionIntelligence
Weather2017
WeatherWidget2017
WebManual
yandex.search
[system/priv-app]
AODService_v25
AppLock
AppsEdgePanel_v3
BeaconManager
CocktailBarService_v3
ColorBlind_N
Crane
DayLite
EasySetup
FBInstaller_NS
GalaxyAppsWidget_Phone_Dream
Gear360Editor_WQHD_Dream
HealthService
Ignite-Singtel_1.7.306_releaseProduction
KnoxDesktopLauncher
LedCoverAppDream
LedCoverService
Messaging_SEP81
NFusedLocation_v3.0_DREAM
OMCAgent
PeopleStripe
PersonalPageService
PreloadInstaller
RiCE
RNB
RNBShell
SamsungAccount_Dream
SamsungCloudDreamNewIcon
SamsungContacts81
SamsunGInCallUI
SamsungMagnifier3
SamsungThemes
SamsungVideoPlayer2016
SecGallery2015
SEMFactoryApp
SmartcardManager
SmartManager_v5
SmartManager_v5_DeviceSecurity
SMusicPicker
SNS_v2_N
SoundAlive_51
SPPPushClient_Prod
SVoicePLM
TaskEdgePanel
ThemeCenter
TouchWizHome_2017
UnifiedProfile
Upday
VisionCloudAgent
VoiceServiceFramework
VoiceWakeup
VRSetupWizardStub
I am not getting any Force Closes / Crashes / Errors. Just make sure to reboot your device after cutting and pasting system apps to your Internal Storage.
When you realized that you needed something back, just copy and paste the whole folder to where you got them and set the correct permission.
For the folder, set the permission to "rwxr-xr-x".
For the apk inside, set the permission to "rw-r-r".
then reboot your device.
If you want to have an updated google apps as soon as it becomes available, you may download latest apks at apkmirror website then replace existing apk in the system, set the correct permission, and reboot. I've done it to almost all google apps without any issue.
I will try to update this thread to include all apps that can be removed based on stock firmware that's freshly installed.
*Screenshots provided on post#3*
reserved
Screenshots
Sweet! Could you please provide the applock apk. Thanks
Sent from my SM-G950F using Tapatalk
Sweet, I've actually a similar setup, except I'm just freezing apps and didn't bother flashing Gapps.
Also I'd recommend modifying key layout and use ASSIST for the key function. Having Google assistant on bixby button is dope !
@MarkerBeanXDA
If you delete Device Manager you can't access your battery stats.
iamnotkurtcobain said:
@MarkerBeanXDA
If you delete Device Manager you can't access your battery stats.
Click to expand...
Click to collapse
Yes. I am aware of that but i don't really need it as i am having a great battery life and performace. Also, it can easily be installed back in less than a minute if i want to.
MarkerBeanXDA said:
Yes. I am aware of that but i don't really need it as i am having a great battery life and performace. Also, it can easily be installed back in less than a minute if i want to.
Click to expand...
Click to collapse
I am Stock but rooted ROM, tried to flash Super GAPPS but its failed throwing ERROR 70 telling that GAPPS are already installed but in fact I haven't. Is this could be limitation due to STOCK ROM?
asif4self said:
I am Stock but rooted ROM, tried to flash Super GAPPS but its failed throwing ERROR 70 telling that GAPPS are already installed but in fact I haven't. Is this could be limitation due to STOCK ROM?
Click to expand...
Click to collapse
I am always getting that message even with custom roms but it always proceed anyway. I also have tried flashing gapps on stock rooted rom successfully before on my S8. Maybe your gapps is corrupt or not fully downloaded.
MarkerBeanXDA said:
I am always getting that message even with custom roms but it always proceed anyway. I also have tried flashing gapps on stock rooted rom successfully before on my S8. Maybe your gapps is corrupt or not fully downloaded.
Click to expand...
Click to collapse
Ok, thanx for the reply, i'll try downloading again and flash, regards
---------- Post added at 05:33 PM ---------- Previous post was at 05:18 PM ----------
asif4self said:
Ok, thanx for the reply, i'll try downloading again and flash, regards
Click to expand...
Click to collapse
I have tried again flashing newly downloaded gapps file but again same error. The message thrown is "insufficient storage space available in system partition. You may want to use a smaller Open GApps package or consider removing some apps using gapps-config."
iamnotkurtcobain said:
@MarkerBeanXDA
If you delete Device Manager you can't access your battery stats.
Click to expand...
Click to collapse
You can. Download shortcutter, grant it necessary permissions. Add a battery tile from shortcutter to the quick settings and anytime you click on it, it takes you to the battery stats. I have also disabled device manager.
Sent from my SM-G950F using Tapatalk
asif4self said:
I have tried again flashing newly downloaded gapps file but again same error. The message thrown is "insufficient storage space available in system partition. You may want to use a smaller Open GApps package or consider removing some apps using gapps-config."
Click to expand...
Click to collapse
I got the "stock" gapps package and can confirm that it works on stock rooted rom.

[vernee M5] [CUSTOM STOCK MOD ROM] [180609-1-BETA-FIXED] 3lm ROD

-- Disclaimer --
Files provided in this post are made for my personal use. I'm just sharing.
Therefore:
If you make use of them in any way, you do this on your own risk.
I can not be held responsable in any kind of way, wether for bricked phones, sd cards or any other kind of damage.
By downloading the file/s you agree to the conditions mentioned above.
-- Recommendations --
I personally recommend you to make a full TWRP backup before flashing this ROM.
The TWRP file and flashing instructions can be found here.
TWRP is not necessarily needed to flash this ROM, but recommended.
-- About the ROM --
The ROM is based on the latest official stock build vernee_M5_171106_59960-ota-1509963705 provided by vernee
Features / changes in comparison to the stock build (excerpts):
- deodexed
- rooted with Magisk
- BusyBox
- signature spoofing enabled
- signature verification disabled
- Google Play Services replaced by microG with original Google Play Store, Google Calendar, Gboard, GoogleSyncAdapters, ...
- Xposed Framework
- substratum support
- debloated (TouchPal, most GApps, .. )
- apps added (excerpts)
- Ruthless (Pixel 2) Launcher
- MiXplorer
- Material Xposed Installer
- ViPER4AndroidFX Materialized
- Google Markup PORT
- Mie Alcatel Camera
- original AOSP apps
- . . .
- UI and framework tweaks and mods
- fully classic material themed
- faster default animation speed (1 -> 0.5)
- changed DPI (320 -> 282), which results in displaying everything a little smaller
- material shapeless launcher icons (Lollipop/CM12-14.1 style)
- android P style nav- and status bar
- . . .
- and many more ..
-- How to install --
Method I
Flash via TWRP recovery
- Copy the zip file somewhere to your device (internal/external storage)
- Boot into TWRP
- *optionally, but definitely recommended* Factory reset **A dirty flash may work, since this ROM is stock based, but there is no guarantee for that
- Flash the zip
- Reboot
Method II
Flash via SPFlashtool
(NOT RECOMMENDED, BECAUSE YOU WILL MISS SOME MAGISK FEATURES, WHICH YOU HAVE TO RE-INSTALL MANUALLY)
- Extract the zip file
- Open SPFlashtool
- Load the scatter file from the extracted zip folder
- Turn off your phone
- Connect ONLY your usb cable to your pc
- Click "Download"
- Connect your device to the cable
- Let the process finish
- Disconnect your device
- Turn on your device
-- Download --
[MEGA] vernee-m5-3lm-xda-180609-1-beta-FIXED ~ 1.26 GB
[MEGA] vernee-m5-3lm-xda-180512-1-alpha ~ 1.96 GB
CREDITS & THANKS TO ALL THE GREAT DEVS -MAINLY HERE ON XDA- FOR SHARING THEIR WORK AND KNOWLEDGE! :fingers-crossed::good::highfive:
without you, this rom would not have been possible!
3lm
good insertion
Thanks bro!
TOP rom! Thansk! But settings Gboard Always shut down. And Google Play RH-01 error..
How result this problems? Thansk!
Lot of bugs.. Gboard has been stoped.. Many apk shut down..
fantom004 said:
TOP rom! Thansk! But settings Gboard Always shut down. And Google Play RH-01 error..
How result this problems? Thansk!
Click to expand...
Click to collapse
try this:
1. clear data of all google and microg related apps (incl. the three backends)
2. in microg settings enable google device registration and setup the nlp backends
3. start playstore and log in to your google account (now the RH-01 error shows up, right?)
4. reboot
play store and all other google account related things should work now..
fantom004 said:
Lot of bugs.. Gboard has been stoped.. Many apk shut down..
Click to expand...
Click to collapse
which apps force close? gboard for example works perfectly fine for me..
drei.liter.milch said:
try this:
1. clear data of all google and microg related apps (incl. the three backends)
2. in microg settings enable google device registration and setup the nlp backends
3. start playstore and log in to your google account (now the RH-01 error shows up, right?)
4. reboot
play store and all other google account related things should work now..
which apps force close? gboard for example works perfectly fine for me..
Click to expand...
Click to collapse
Ikariam Mobile sometimes shut down, Facebook.
I try reinstall
I tried reinstalling. Unfortunately it did not help.
Bugs:
The Gboard setting causes the application to close.
SMS and MMS settings will cause the application to close.
Even though I'm connected to WiFi, mobile data will be reloaded.
SMS And MMS background black? WTF..
Gallery, when i want edit aby photo, apk will to close..
Emoticons in Gboard
fantom004 said:
I tried reinstalling. Unfortunately it did not help.
Bugs:
The Gboard setting causes the application to close.
Click to expand...
Click to collapse
can not confirm that
SMS and MMS settings will cause the application to close.
Click to expand...
Click to collapse
can not confirm that
Even though I'm connected to WiFi, mobile data will be reloaded.
Click to expand...
Click to collapse
can not confirm that
SMS And MMS background black? WTF..
Click to expand...
Click to collapse
this is due to some wrongly themed elements in the substratum overlays for these apps. will fix it in the next update
Gallery, when i want edit aby photo, apk will to close..
Click to expand...
Click to collapse
confirmed. I guess this happens because there is no app which can handle the picture editing request
Emoticons in Gboard
Click to expand...
Click to collapse
can not confirm that. working fine on my device
Are you installing over TWRP?
fantom004 said:
Are you installing over TWRP?
Click to expand...
Click to collapse
yes, usually i use twrp. but i also flashed with flashtool..
i also installed it coming from the 250917-version.
but i could not reproduce the bugs on my phone. really weird..
perhaps something country related or microg related..
can you upload your logcat? are you familiar with that?
drei.liter.milch said:
yes, usually i use twrp. but i also flashed with flashtool..
i also installed it coming from the 250917-version.
but i could not reproduce the bugs on my phone. really weird..
perhaps something country related or microg related..
can you upload your logcat? are you familiar with that?
Click to expand...
Click to collapse
Somehow, mysteriously, I tried to reinstall the entire TWRP and it works !!! But Ikariam always stopped.
But I still solve the low volume of calls. Even though I have a full volume. How do you solve this problem?
I am glad that it works for you now
fantom004 said:
But I still solve the low volume of calls. Even though I have a full volume. How do you solve this problem?
Click to expand...
Click to collapse
I dont really have this Problem.. Sound is not the best, but way good enough to understand the caller..
I just noticed a little HD icon while I am in a call on the left side of the screen. Do you see it, too?
drei.liter.milch said:
I am glad that it works for you now
I dont really have this Problem.. Sound is not the best, but way good enough to understand the caller..
I just noticed a little HD icon while I am in a call on the left side of the screen. Do you see it, too?
Click to expand...
Click to collapse
Yes I seed it..
fantom004 said:
Yes I seed it..
Click to expand...
Click to collapse
hmm ok, then i don't know..
but there is a magisk module which fixes (or tries to fix) the low incall volume.
in the download section of magisk manager search for "Android Mic Fix".
it is actually targeting qualcomm hardware, but it might work for mtk too, so give it a try..
regarding your ikariam problem: enable google cloud messaging (gcm) in microg settings, then clear data of ikariam and restart the app.. should work now..
drei.liter.milch said:
hmm ok, then i don't know..
but there is a magisk module which fixes (or tries to fix) the low incall volume.
in the download section of magisk manager search for "Android Mic Fix".
it is actually targeting qualcomm hardware, but it might work for mtk too, so give it a try..
regarding your ikariam problem: enable google cloud messaging (gcm) in microg settings, then clear data of ikariam and restart the app.. should work now..
Click to expand...
Click to collapse
Error..
fantom004 said:
Error..
Click to expand...
Click to collapse
:laugh:
You have to install magisk again from magisk manager to use modules
Magisk consists of two parts:
1. Patched boot image
2. Some files in data Partition
Unfortunately I am not able to create a proper userdata image at the moment (I'm working on it)
Therefore the magisk files in data Partition are missing, when you flash the ROM.
Follow these steps:
1. Open magisk manager
2. Go to magisk settings
3. Choose update channel "beta"
4. Go back to magisk main screen
5. Click "install" -> "install" -> "direct install (recommended)"
6. Let installation finish
7. Reboot
Now you are able to use magisk modules.
You have to repeat these steps after every data wipe or factory reset to use modules.
BTW: have you activated Besloudness in sound settings?
And have you tried ikariam again? Is it working now?
Cheers
How is battery life? I get horrible battery life on my stock rom
whise1 said:
How is battery life? I get horrible battery life on my stock rom
Click to expand...
Click to collapse
It is way better than on stock rom. There are a few build.prop tweaks which aim at battery life.
But the main factor is the microg replacement. I would guess, it saves at least 1/3 of battery life..
just give it a try!
btw: today I will post an update with some small, but important changes. so look out!

Question Can it be made miui_VAYUGlobal_V12.0.4.0.RJUMIXM?

Can it be made miui_VAYUGlobal_V12.0.4.0.RJUMIXM lite without Google Apps
miui_VAYU Global_V12.0.4.4.RJUMIXM
i can not use Google Apps
MARK
yes
249384000 said:
Can it be made miui_VAYUGlobal_V12.0.4.0.RJUMIXM lite without Google Apps
miui_VAYU Global_V12.0.4.4.RJUMIXM
i can not use Google Apps
Click to expand...
Click to collapse
use d/gapps app from fdroid. which instantly freeze or delete all gapps in 1 second. also it disable or remove miui bloatware. it will make your device instantaneously gapps build to vanilla build vice versa.

Categories

Resources