• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[DEBLOAT][H815/20g] DebloatEx v1.4 (inc. NFC mod)

Search This thread

hasenbolle

Senior Member
Sep 20, 2008
72
67
DebloatEx v1.4​

For me, every additional app which i don't use is too much. Why should an app be installed, if i don't use it? So i wrote a little debloater script, which i can flash over every rom i install. Also i added some extras which i need for my daily use.

Information:
First: This is NOT a full rom. It's a script to flash over a rom. The script uses a aroma installer. Every app can be selected manually for removal. Also the apps are not removed entirely. The are moved to a backup folder. So they can be easily restored if an app, which was removed, is missing after the flash. Additionally you can choose if you want to remove the gallery images, ringtones and notifications ringtones.
Because you can remove the lg launcher and/or the lg sms app, i decided to add nova launcher and google messenger as replacement apps. Of course they are also optional to install.
Furthermore i added a nfc mod, to enable nfc while screen is off or while screen is on and lockscreen is on. And of course this is also optional. You can choose to use stock nfc behavior. Aaaaand there is more. I added the CTT mod from Robshr to eliminate lags. This one is not selectable because i think this mod is essential for our device.

Attention:
The script is in a very early state. There can be bugs, so be sure to make a backup from your rom with TWRP before you flash the zip.

DebloatEx and hasenbolle are not responsible for any possible damage done to your device as a result of flashing.
I will not take any responsibility for bricked phones or lost data.

Requirements:
  • LG G4 H815. Maybe also H811. Not tested this device. Wait for your report here.
  • Rom Version 20g
  • TWRP recovery installed

Installtion:
  1. Full backup
  2. Flash zip with TWRP over your current rom
  3. Reboot and enjoy

Selectable removable apps:
  • CloudHub
  • DrmService
  • FaceLock
  • GCUV
  • GnssAirTest
  • GnssLogCat
  • GnssPosTest
  • GnssTest
  • GoogleTTS
  • HiddenMenu
  • HiddenSIMUnlockMenu
  • HTMLViewer
  • LGAirDrive
  • LGDrm
  • LGEasySettings
  • LGEIME_THEME_BLACK3
  • LGHome_Theme_Optimus
  • LGLDB
  • LGMusicShare
  • LGPartnerBookmarksProvider
  • LGSmartcardService
  • LGSpringCleaning
  • LGStk
  • LGTouchControlAreas
  • LGWeatherService
  • LGWernickeManager
  • LGWfdsServices
  • PacProcessor
  • SmartShare
  • SmartShareDLNA
  • SmartShareProvider
  • WfdService
  • WVTest
  • elt_test
  • rspermlge
  • servicemenu
  • BioITPlatform_SDService
  • DualSimStatus
  • EdenService
  • EodEngine
  • Leccp
  • LGBackup
  • LGConciergeBoard
  • LGCover
  • LGDMSClient
  • LGEasyHome
  • LGFormManager
  • LGGestureAnswering
  • LGHome
  • LGIFTTT
  • LGLDB
  • LGLIA
  • LGLiveWallpapersPicker
  • LGLW_MultiPhoto
  • LGMapUI
  • LGMessage
  • LGMusic
  • LGMusicWidget
  • LGMyGuide
  • LGMyPlacesEngine
  • LGMyPlacesSettings
  • LGRcsCall
  • LGRCSServices
  • LGSmartSharePush
  • LGSnapPage
  • LGTasksProvider
  • LGTTS
  • LGUpdateCenter
  • LGVidClip
  • LGVideo
  • LGVoiceRecorder
  • LIAInformant
  • LIAS4URecommender
  • SmartSetting
  • SplitWindowService
  • Velvet
  • VpnDialogs
  • WapService
  • LGCalendarProvider
  • LGCalendar
  • LGAlarmClock
  • PrintSpooler
  • BackupRestoreConfirmation
  • GoogleBackupTransport
  • GoogleFeedback
  • InputDevices
  • SharedStorageBackup
  • LGFileManager
  • LGBackupLauncher
  • LGBrowser
  • LGCb
  • LGEmail
  • LGExchange
  • LGPCSuite
  • LGPCSuiteService
  • MirrorLinkCertUpdate
  • MirrorLinkServer
  • LG360Wallpaper (New in 1.2)
  • LiveWallpapers_Cat (New in 1.2)
  • LiveWallpapers_Kaleidoscope (New in 1.2)
  • LGCalculator (New in 1.3)
  • LGContacts (New in 1.4)
  • LGInCallUI (New in 1.4)
  • LGFavoriteContactsWidget (New in 1.4)
  • LGGallery (New in 1.4)

Please help me here to add more apps which can be safely removed.

Selectable removable folder:
  • Gallery images
  • Ringtones
  • Notification ringtones

Please help me here to add more folders which can be safely removed.

Selectable extras:
  • Nova Launcher (as a replacement for the LG Home launcher)
  • Google messenger (as a replacement for the LG SMS app)
  • Google phone (as a replacement for the LG Contacts app)
  • Google contacts (as a replacement for the LG Contacts app)
  • Google photos (as a replacement for the LG Gallery app)
  • 540 DPI Mod
  • LG adoptable storage mod
  • NFC screen off mod
  • NFC screen on/lockscreen on mod

Extras:
  • CTT Mod v4 to eliminate lag and more. This is a must have. It really helps to improve the lag behavior of the G4.

Restoring apps:
No app/folder will be deleted. Every app will be just moved to the folder: system/__Backup

From there you should move the apps to either /system/app or /system/priv-app back. You should move the folder (and not copy), otherwise the permissions will be messed up. Just use a root file manager for that (Solid Explorer etc.)

Download:

DebloatEx_LG_G4_MM_v1_4.zip

Changelog:
Version 1.0 (22/03/2016)
  • Initial release

Version 1.1 (20/05/2016)
  • NFC Mod is now compatible with 20g
  • Updated Nova Launcher
  • Updated Google Messenger
  • LGAlarmClock will be not removed by default
  • Added some new help description to the bloat list
  • Removed the CTT Mod

Version 1.2 (22/05/2016)
  • Added LG360Wallpaper for removal
  • Added LiveWallpapers_Kaleidoscope for removal
  • Added LiveWallpapers_Cat for removal

Version 1.3 (23/05/2016)
  • Added 540 DPI Mod (thx to michiil)
  • Added option to enable LG adoptable storage (thx to michiil)
  • Added LGCalculator for removal
  • Updated Google Messenger

Version 1.4 (24/05/2016)
  • Added LGContacts for removal
  • Added LGInCallUI for removal
  • Added LGFavoriteContactsWidget for removal
  • Added LGGallery for removal
  • Added Google Phone for installation (Replacement for LGContacts)
  • Added Google Contacts for installation (Replacement for LGContacts)
  • Added Google Photos for installation (Replacement for LGGallery)

GitHub Repository:

DebloatEx

Credits:
michiil: For his 540 DPI and LG adoptable storage mod
moly82: For his idea on the Z3 Compact and his script which my script is based on.
slim80: For his wonderful G4 rom and kernel
Robshr: For his awesome thermal mod
amarullz: For the aroma installer

XDA:DevDB Information
DebloatEx, ROM for the LG G4

Contributors
hasenbolle
ROM OS Version: 6.0.x Marshmallow
ROM Firmware Required: 20g

Version Information
Status: Alpha

Created 2016-03-22
Last Updated 2016-05-24
 

Attachments

  • Screenshot_2016-03-12-17-48-36.jpg
    Screenshot_2016-03-12-17-48-36.jpg
    182.7 KB · Views: 4,129
Last edited:

ZuLa

Senior Member
Dec 2, 2005
87
28
Really nice app, I've tried with imperium 1.1 and everything worked as expected.

Thanks for this useful tool!
 
  • Like
Reactions: hasenbolle

thewhisper

Senior Member
Jan 13, 2010
169
52
Varna
Hi,
Thank you for your script. It worked great ! It seems I accidently removed the smartnotice widget and clock programs, including the alarm manager and now I cannot set an alarm. Can you please tell me which packages I have to restore in order to get my alarm manager and smartnotice back again ? Otherwise all is fine and I find it very usefull, thank you !
 
Last edited:
  • Like
Reactions: hasenbolle

hasenbolle

Senior Member
Sep 20, 2008
72
67
Hi,
Thank you for your scrip. It worked great ! It seems I accidently removed the smartnotice widget and clock programs, including the alarm manager and now I cannot set an alarm. Can you please tell me which packages I have to restore in order to get my alarm manager back again ? Otherwise all is fine and I find it very usefull, thank you !
It should be the "LGAlarmClock" package for the alarm clock. Maybe i should that one leave unchecked. So that it wont be removed by default.
For SmartNotice i think these two packages should be moved back to the app/priv-app folder: LIAInformant and LIAS4URecommender

I will write a note in the aroma installer under the app. Thanks for your post :)
 
  • Like
Reactions: thewhisper

thewhisper

Senior Member
Jan 13, 2010
169
52
Varna
It should be the "LGAlarmClock" package for the alarm clock. Maybe i should that one leave unchecked. So that it wont be removed by default.
For SmartNotice i think these two packages should be moved back to the app/priv-app folder: LIAInformant and LIAS4URecommender

I will write a note in the aroma installer under the app. Thanks for your post :)

Thank you for pointing this out. I will fix the problems now. I'm happy that I helped :) Keep up the good work !
 

ZuLa

Senior Member
Dec 2, 2005
87
28
In my case I applied the script after a fresh install of imperum rom. I tryed to apply directly and got that play services fc...so i dirty flashed imperium and applied the script with no errors so far
 

hasenbolle

Senior Member
Sep 20, 2008
72
67
I wiped my phone yesterday and flashed also imperium 1.1 and then directly without a reboot the debloat script. This procedure worked for me everytime without a fc from google play services.

Do you have a H815 EU?
 
  • Like
Reactions: popy2006

popy2006

Senior Member
Mar 22, 2007
1,400
230
I wiped my phone yesterday and flashed also imperium 1.1 and then directly without a reboot the debloat script. This procedure worked for me everytime without a fc from google play services.

Do you have a H815 EU?

thx for your answer.
Please let us know, if the FCs doesnt come back in some days.
I have now disabled Amplify to see if it is the culprit....
Will let you know about my results.

Do you have Xposed + AMplify running?

pOpY
 

stegalli

Senior Member
Mar 22, 2015
56
11
which packages should I move to :
1. to return to work the settings icon on the notification bar
2. to return to work the "delete all " on the recent app (which is now infinite ) @hasenbolle
i'm on stock MM V20e
 

hasenbolle

Senior Member
Sep 20, 2008
72
67
thx for your answer.
Please let us know, if the FCs doesnt come back in some days.
I have now disabled Amplify to see if it is the culprit....
Will let you know about my results.

Do you have Xposed + AMplify running?

pOpY
I hadn't any fc from google play services till now. I would try to restore GoogleBackupTransport, GoogleFeedback, Velvet, HTMLViewer.
Yes i have amplify and xposed running with several modules. For Amplify i set it up like in the extreme battery guide here on xda.

which packages should I move to :
1. to return to work the settings icon on the notification bar
2. to return to work the "delete all " on the recent app (which is now infinite ) @hasenbolle
i'm on stock MM V20e
1. Try the LGEasySettings package
2. what do you mean with "infinite"? For me the delete all button in the recent menu, still work as it should.
 

thewhisper

Senior Member
Jan 13, 2010
169
52
Varna
Hi,

is reinstall of this mod necessary after flashing new kernel or new version of kernel?

Sub8

Hi,
It's not necessary to reinstal the mod after flashing a new kernel. The mod actually moves unnecessary programs and services in a folder on your phone in case you need to restore them so no need to reflash it again as it already done it's job.

I like it very much ! It improved my phone performance and battery life as it remove many programs and services I don't use. The only problems I met are that it removes the clock, the calendar and smartnotice programs and widgets. But it was easy to restore them from the backup folder and setting the permissions so now everything works fine. Just a quick suggestion - maybe in the next version it would be great if there is an option to choose if these programs to be removed. Thanks !
 
  • Like
Reactions: Sub8

hasenbolle

Senior Member
Sep 20, 2008
72
67
thx for your answer.
Please let us know, if the FCs doesnt come back in some days.
I have now disabled Amplify to see if it is the culprit....
Will let you know about my results.

Do you have Xposed + AMplify running?

pOpY
Now two times my google play services had an fc also. It occured when i was using the c:geo geocaching app and therefore using locations services. Do you use the location services (gps)?

I like it very much ! It improved my phone performance and battery life as it remove many programs and services I don't use. The only problems I met are that it removes the clock, the calendar and smartnotice programs and widgets. But it was easy to restore them from the backup folder and setting the permissions so now everything works fine. Just a quick suggestion - maybe in the next version it would be great if there is an option to choose if these programs to be removed. Thanks !
You can choose which programs you want to remove. You just need to untick the app in aroma and it wont be removed. The clock will not be removed by default in the new version.
 

popy2006

Senior Member
Mar 22, 2007
1,400
230
Now two times my google play services had an fc also. It occured when i was using the c:geo geocaching app and therefore using locations services. Do you use the location services (gps)?


You can choose which programs you want to remove. You just need to untick the app in aroma and it wont be removed. The clock will not be removed by default in the new version.

i am using location services all the time with tasker but i have set it to "battery saving".
After resetting my Amplify settings and using default (nlpwakelock -> location services) my phone didnt had any FC since days now.
Maybe its worth a try...

pOpY
 

Unchange

Member
Jan 4, 2014
6
0
I just installed this and get stuck at the lockscreen. I try entering my pattern and it recognises it but then doesn't actually unlock the screen. Thoughts?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    DebloatEx v1.4​

    For me, every additional app which i don't use is too much. Why should an app be installed, if i don't use it? So i wrote a little debloater script, which i can flash over every rom i install. Also i added some extras which i need for my daily use.

    Information:
    First: This is NOT a full rom. It's a script to flash over a rom. The script uses a aroma installer. Every app can be selected manually for removal. Also the apps are not removed entirely. The are moved to a backup folder. So they can be easily restored if an app, which was removed, is missing after the flash. Additionally you can choose if you want to remove the gallery images, ringtones and notifications ringtones.
    Because you can remove the lg launcher and/or the lg sms app, i decided to add nova launcher and google messenger as replacement apps. Of course they are also optional to install.
    Furthermore i added a nfc mod, to enable nfc while screen is off or while screen is on and lockscreen is on. And of course this is also optional. You can choose to use stock nfc behavior. Aaaaand there is more. I added the CTT mod from Robshr to eliminate lags. This one is not selectable because i think this mod is essential for our device.

    Attention:
    The script is in a very early state. There can be bugs, so be sure to make a backup from your rom with TWRP before you flash the zip.

    DebloatEx and hasenbolle are not responsible for any possible damage done to your device as a result of flashing.
    I will not take any responsibility for bricked phones or lost data.

    Requirements:
    • LG G4 H815. Maybe also H811. Not tested this device. Wait for your report here.
    • Rom Version 20g
    • TWRP recovery installed

    Installtion:
    1. Full backup
    2. Flash zip with TWRP over your current rom
    3. Reboot and enjoy

    Selectable removable apps:
    • CloudHub
    • DrmService
    • FaceLock
    • GCUV
    • GnssAirTest
    • GnssLogCat
    • GnssPosTest
    • GnssTest
    • GoogleTTS
    • HiddenMenu
    • HiddenSIMUnlockMenu
    • HTMLViewer
    • LGAirDrive
    • LGDrm
    • LGEasySettings
    • LGEIME_THEME_BLACK3
    • LGHome_Theme_Optimus
    • LGLDB
    • LGMusicShare
    • LGPartnerBookmarksProvider
    • LGSmartcardService
    • LGSpringCleaning
    • LGStk
    • LGTouchControlAreas
    • LGWeatherService
    • LGWernickeManager
    • LGWfdsServices
    • PacProcessor
    • SmartShare
    • SmartShareDLNA
    • SmartShareProvider
    • WfdService
    • WVTest
    • elt_test
    • rspermlge
    • servicemenu
    • BioITPlatform_SDService
    • DualSimStatus
    • EdenService
    • EodEngine
    • Leccp
    • LGBackup
    • LGConciergeBoard
    • LGCover
    • LGDMSClient
    • LGEasyHome
    • LGFormManager
    • LGGestureAnswering
    • LGHome
    • LGIFTTT
    • LGLDB
    • LGLIA
    • LGLiveWallpapersPicker
    • LGLW_MultiPhoto
    • LGMapUI
    • LGMessage
    • LGMusic
    • LGMusicWidget
    • LGMyGuide
    • LGMyPlacesEngine
    • LGMyPlacesSettings
    • LGRcsCall
    • LGRCSServices
    • LGSmartSharePush
    • LGSnapPage
    • LGTasksProvider
    • LGTTS
    • LGUpdateCenter
    • LGVidClip
    • LGVideo
    • LGVoiceRecorder
    • LIAInformant
    • LIAS4URecommender
    • SmartSetting
    • SplitWindowService
    • Velvet
    • VpnDialogs
    • WapService
    • LGCalendarProvider
    • LGCalendar
    • LGAlarmClock
    • PrintSpooler
    • BackupRestoreConfirmation
    • GoogleBackupTransport
    • GoogleFeedback
    • InputDevices
    • SharedStorageBackup
    • LGFileManager
    • LGBackupLauncher
    • LGBrowser
    • LGCb
    • LGEmail
    • LGExchange
    • LGPCSuite
    • LGPCSuiteService
    • MirrorLinkCertUpdate
    • MirrorLinkServer
    • LG360Wallpaper (New in 1.2)
    • LiveWallpapers_Cat (New in 1.2)
    • LiveWallpapers_Kaleidoscope (New in 1.2)
    • LGCalculator (New in 1.3)
    • LGContacts (New in 1.4)
    • LGInCallUI (New in 1.4)
    • LGFavoriteContactsWidget (New in 1.4)
    • LGGallery (New in 1.4)

    Please help me here to add more apps which can be safely removed.

    Selectable removable folder:
    • Gallery images
    • Ringtones
    • Notification ringtones

    Please help me here to add more folders which can be safely removed.

    Selectable extras:
    • Nova Launcher (as a replacement for the LG Home launcher)
    • Google messenger (as a replacement for the LG SMS app)
    • Google phone (as a replacement for the LG Contacts app)
    • Google contacts (as a replacement for the LG Contacts app)
    • Google photos (as a replacement for the LG Gallery app)
    • 540 DPI Mod
    • LG adoptable storage mod
    • NFC screen off mod
    • NFC screen on/lockscreen on mod

    Extras:
    • CTT Mod v4 to eliminate lag and more. This is a must have. It really helps to improve the lag behavior of the G4.

    Restoring apps:
    No app/folder will be deleted. Every app will be just moved to the folder: system/__Backup

    From there you should move the apps to either /system/app or /system/priv-app back. You should move the folder (and not copy), otherwise the permissions will be messed up. Just use a root file manager for that (Solid Explorer etc.)

    Download:

    DebloatEx_LG_G4_MM_v1_4.zip

    Changelog:
    Version 1.0 (22/03/2016)
    • Initial release

    Version 1.1 (20/05/2016)
    • NFC Mod is now compatible with 20g
    • Updated Nova Launcher
    • Updated Google Messenger
    • LGAlarmClock will be not removed by default
    • Added some new help description to the bloat list
    • Removed the CTT Mod

    Version 1.2 (22/05/2016)
    • Added LG360Wallpaper for removal
    • Added LiveWallpapers_Kaleidoscope for removal
    • Added LiveWallpapers_Cat for removal

    Version 1.3 (23/05/2016)
    • Added 540 DPI Mod (thx to michiil)
    • Added option to enable LG adoptable storage (thx to michiil)
    • Added LGCalculator for removal
    • Updated Google Messenger

    Version 1.4 (24/05/2016)
    • Added LGContacts for removal
    • Added LGInCallUI for removal
    • Added LGFavoriteContactsWidget for removal
    • Added LGGallery for removal
    • Added Google Phone for installation (Replacement for LGContacts)
    • Added Google Contacts for installation (Replacement for LGContacts)
    • Added Google Photos for installation (Replacement for LGGallery)

    GitHub Repository:

    DebloatEx

    Credits:
    michiil: For his 540 DPI and LG adoptable storage mod
    moly82: For his idea on the Z3 Compact and his script which my script is based on.
    slim80: For his wonderful G4 rom and kernel
    Robshr: For his awesome thermal mod
    amarullz: For the aroma installer

    XDA:DevDB Information
    DebloatEx, ROM for the LG G4

    Contributors
    hasenbolle
    ROM OS Version: 6.0.x Marshmallow
    ROM Firmware Required: 20g

    Version Information
    Status: Alpha

    Created 2016-03-22
    Last Updated 2016-05-24
    4
    DebloatEx v1.3 online. Now with LG adoptable storage and DPI mod (thx to michiil). See first post for download.
    3
    DebloatEx v1.1 online. Now compatible with 20g. See first post for download.
    3
    Made a version which works with every stock rom version. When installing nfc mod if you want to stick with the stock then it does not touch nfs apk at all. Also updated all included google apps.
    Download from here: http://drg.fi/debloater_drg_mod.zip
    2
    I've detected that whenever I use this mod causes lockscreen wallpaper reset to default everytime I reboot.

    Don't remove the LG Home Selector - I think I narrowed it down to that in the past.