[Desire 816 Android Development] qaliza:
De-Sense patch

For

Desire 816

I am not a developer, I am just an advanced user who likes playing around with android.

I am a big fan of HTC sense roms mainly because of their stability. After I updated to the latest version of lollipop 5.02, everything was smooth until i realized lagging and slowness in the system with prolonged use. So i decided to unlock bootloader, flash custom recovery and try out different custom roms.

I must say there are some nice roms out there but my favorite is the Resurrection-Remix-LP-v5.5.6. This rom is very fast, smooth, snappy, with a ton of customization and most important its very stable. But like all other Cyanogenmod roms there where some bugs, that to me where critical. So I decided to go back to stock sense rom and make this patch.

The aim of the patch is to make a stable clean fast Sense-less rom.

It is made for Stock roms only​

The patch:

Removes all the sense apps and widgets in the stock 5.02 rom

Removes all 3rd party apps that can be downloaded from the playstore

Installs Nova launcher as a replacement to the HTC launcher

Installs SELinuxModeChanger by MrBIMC (needed if you are planning to install xposed framework

Replaces the stock wallpapers and bootanimation with the new Marshmallow ones

Removes bootup sound

List of all the removed stuff (850 MB)

[B]app folder[/B]

AntHalService
BasicDream
Books
CalculatorWidget
CaptivePortalLogin
CertInstaller
ChromeWithBrowser
ConfigUpdater
dir.txt
Drive
DriveActivator
Dropbox
Facebook_Client
FilePicker
Gmail2
GoogleTTS
Hangouts
HoloSpiralWallpaper
HtcAutoRotateWidget
HtcBackgroundDataWidget
HTCBackup
HtcBackupReset
HtcCarGps
HtcPowerStripWidget
Htcpowertogive
HtcProfilesWidget
HtcRingtoneWidget
HtcScreenBrightnessWidget
HtcScreenTimeoutWidget
HtcSyncWidget
HTMLViewer
IMEXT9ArabicLight
IMEXT9ArmenianLight
IMEXT9BulgariaLight
IMEXT9CatalanLight
IMEXT9CroatianLight
IMEXT9CzechLight
IMEXT9DanishLight
IMEXT9DutchLight
IMEXT9EnglishLight
IMEXT9EnglishUKLight
IMEXT9EstonianLight
IMEXT9FarsiLight
IMEXT9FinnishLight
IMEXT9FrenchLight
IMEXT9GermanLight
IMEXT9HebrewLight
IMEXT9HungarianLight
IMEXT9ItalianLight
IMEXT9KazakhLight
IMEXT9LatvianLight
IMEXT9LithuanianLight
IMEXT9NorwegianLight
IMEXT9PolishLight
IMEXT9PortugueseLight
IMEXT9RomanianLight
IMEXT9RussianLight
IMEXT9SerbianLight
IMEXT9SlovakLight
IMEXT9SlovenianLight
IMEXT9SpanishLight
IMEXT9SwedishLight
IMEXT9TurkishLight
IMEXT9UkrainianLight
KidMode-google
LiveWallpapers
mcRegistry
Media_output
Music2
Newsstand
NewsWeather
NoiseField
PartnerBookmarksProvider
PhaseBeam
PlayGames
PlusOne
PrintSpooler
QXDM2SD
SmartcardService
Street
talkback
Twitter_Client
UserDictionaryProvider
Videos
VisualizationWallpapers
YouTube

[B]priv-app Folder[/B]

AndroidForWork
AndroidHtcSync
Automotive_Home
Automotive_Traffic
BackupRestoreConfirmation
Browser
Calendar
DemoFLOPackageInstaller
dir.txt
DrawingBoard
Facebook
FlexNet
Frisbee
GoogleFeedback
GoogleOneTimeInitializer
GooglePartnerSetup
GooglePlusPlugin
GSD
HTCAdvantage
HtcBrowserProxyProvider
HtcBtWidget
HtcCalendarWidgets
HtcCompressViewer
HtcContactsDNATransfer
HtcContactWidgets
HtcDataRoamingWidget
HtcDataStripWidget
HtcExtremePowerSaverLauncher
HtcFMRadioWidget
HtcGpsWidget
HtcHotspotWidget
HtcMobileNetworkWidget
HTCOOBEAdvantage
HTCRecommend
HtcRingtoneTrimmer
HtcSoundRecorder
HtcWiFiWidget
HTCZero
Instagram_SN_Plugin
LauncherUpdateScreen
LinkedIn_Fsplugin
LMIRescue
LMIRescueSecurity
Lucy
MirrorLink_MirrorLinkService
MyDropbox
MyGoogledrive
MyGoogleTaskPlugin
MyHTC
MyTask
NeroHTCInstaller
PNSClient
PolarisOffice
Prism
SetupWizard
SharedStorageBackup
SMSBackup
Stock
Tag
Tips_Help
Transfer
Twitter
UDove
Updater
VoiceDictation
WallpaperCropper

Did not remove

HTC clock

HTC weather and widget

HTC Music and widget

(Sense widgets can be enabled in any launcher after installing xposed framework)

Iam Sure that there are a lot of other useless stuff that can be removed, so if u have any suggestions please share.

I AM NOT RESPONSIBLE FOR BRICKING YOUR DEVICE

Please make a backup of your current Rom before installing​

Requirements

1- Unlocked bootloader with custom recovery (prefer TWRP)

2- Rooted Stock 5.02 rom

Installation (Clean Install is preffered)

1- download De_sense_patch_v1.x.zip

2- copy to sd card

3- boot into recovery

4- wipe data factory reset

5- install patch

6- reboot (First boot will take a while)

Download and changelog

De-Sense patch v1.1

Optional

1- Before flashing the patch you can unzip it and edit it the way you like

for example:

if you want to keep the stock htc browser goto META-INF\com\google\android and open the updater-script using notepad++ and remove the following line

delete_recursive("/system/priv-app/Browser");

2- After updating all your system apps you can move them back to the system partition to free up space in the user storage partition using the Move_apps_to_system_partition.zip (download and extract on your device or pc)

for example updated htc lock screen

using any root explorer go to root/data/app (contains all downloaded apps) and copy the updated htc lock screen folder to Move_apps_to_system_partition/system/priv-app (same as its location in the system partition) and rename to HtcLockScreen (both folder and apk inside) (name should be exactly the same as the one in system partition)

re zip and flash from recovery (make sure its .zip not rar or 7z)

This will replace the system apk with the updated one and remove it from the user storage.

You can also do this for any app to free up space on the user storage partition (copy them to the app folder)

3- Install Xposed framework (Install this version xposed-v75-sdk21-arm.zip)

Download

-Sense tool box for sense 6,7 module for lots of cool customization.

-Ifont module for many cool fonts

Enjoy

Screenshot