[App] Patched Gmail to allow permission for third party notification widgets - Android Apps and Games

This is a modified version of Gmail that fixes the database permissions of Gmail so third party notification widgets (such as Missed It!, Go Notification, and Pure Messenger Widget) can determine which emails are read and which emails are unread for a true unread email count.
Code:
diff -ru Gmail.org/AndroidManifest.xml Gmail/AndroidManifest.xml
--- Gmail.org/AndroidManifest.xml 2011-08-02 22:49:48.356157842 +0200
+++ Gmail/AndroidManifest.xml 2011-08-02 22:52:05.603773155 +0200
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="169" android:versionName="2.3.5" package="com.google.android.gm"
xmlns:android="http://schemas.android.com/apk/res/android">
- <permission android:label="@string/read_perm_label" android:name="com.google.android.gm.permission.READ_GMAIL" android:protectionLevel="signature" android:permissionGroup="android.permission-group.MESSAGES" android:description="@string/read_perm_desc" />
- <permission android:label="@string/write_perm_label" android:name="com.google.android.gm.permission.WRITE_GMAIL" android:protectionLevel="signature" android:permissionGroup="android.permission-group.MESSAGES" android:description="@string/write_perm_desc" />
- <permission android:label="@string/auto_send_perm_label" android:name="com.google.android.gm.permission.AUTO_SEND" android:protectionLevel="signature" android:permissionGroup="android.permission-group.MESSAGES" android:description="@string/auto_send_perm_desc" />
+ <permission android:label="@string/read_perm_label" android:name="com.google.android.gm.permission.READ_GMAIL" android:protectionLevel="normal" android:permissionGroup="android.permission-group.MESSAGES" android:description="@string/read_perm_desc" />
+ <permission android:label="@string/write_perm_label" android:name="com.google.android.gm.permission.WRITE_GMAIL" android:protectionLevel="normal" android:permissionGroup="android.permission-group.MESSAGES" android:description="@string/write_perm_desc" />
+ <permission android:label="@string/auto_send_perm_label" android:name="com.google.android.gm.permission.AUTO_SEND" android:protectionLevel="normal" android:permissionGroup="android.permission-group.MESSAGES" android:description="@string/auto_send_perm_desc" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" android:maxSdkVersion="10" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
Requirements:
a) Your device does not come preinstalled with gmail so the original version can be completely uninstalled first before installing the modified version. After uninstalling original version of Gmail, install modified Gmail.apk as normal by running it.
OR
b) If you have root and your device has Gmail preinstalled in /system/app/Gmail.apk, then you have two choices. Either remove /system/app/Gmail.apk and install the modified version of Gmail normally by running the apk (to /data/app/Gmail.apk) OR replace /system/app/Gmail.apk with the modified version of Gmail. It is probably easier to remove Gmail.apk from the system partition and install it as a normal user application in /data/app/. However you want to do it..Gmail will install as a system or data application. To save space, I would not have it installed in both places.
Note: To simplify the installation of Gmail to the system partition for S-ON devices, I have added Gmail in a recovery flashable zip file format. This method requires busybox to be installed on your device. Make sure you uninstall any Gmail updates first, if possible. This method is only recommended if you have Gmail preinstalled to /system/app/Gmail.apk and you want to replace it with the modified version.
Note: After initially replacing or reinstalling Gmail with the modfied version, the notification widget (ie; Go Notification, Missed It!, or Pure Messenger Widget) needs to be reinstalled to regain premissions.
Note: Gmail 2.x is for Gingerbread. Gmail 3.x is for Honeycomb. Gmail 4.x is for ICS (but version 4.0.1 and 4.0.2 are reported working in Honeycomb too). At the time of this writing, ICS and Honeycomb support is limited. AFAIK, Pure Messenger Widget is the only third party notification widget that supports the ICS/Honeycomb Gmail protocol. Hopefully, more third party notification widgets will add support for ICS/Honeycomb in the future.
Updating from previous modified version of Gmail:
If you already have an older modified version of Gmail installed, the newer modified version of Gmail can be installed on top to perform the update. No need to remove the previously installed modified version of Gmail first.
Sources:
The latest versions of Gmail for ICS/Honeycomb are extracted from firmware from: http://www.sammobile.com/firmware/
Process:
1) Download latest Firmware from link above.
2) Extract files (this process requires linux)
a) Unzip or Unrar accordingly with samsung password (usually it is "samfirmware.com")
b) Extract again (tar -xf filename.tar.md5)
c) Extract again the largest file (a file.tar.md5 that is ~900MB) from the previous extraction. The largest file that is extracted contains the necessary system files. The system files can be found in two formats (system.rfs or factoryfs.img).
3) Process for reading system.rfs format (if system.rfs does not exist, skip to step #4)
a) Mount system.rfs using the following commands:
Code:
mkdir ~/tempdir
sudo losetup /dev/loop0 ./system.rfs
sudo mount -t vfat /dev/loop0 ~/tempdir
b) Copy necessary files to a writable location:
Code:
mkdir ~/workspace
cp -a ~/tempdir/system/framework ~/workspace/
cp -a ~/tempdir/system/apps ~/workspace/
c) Unmount and clean up
Code:
sudo umount /dev/loop0
sudo losetup -a
sudo losetup -d /dev/loop0
4) Process for reading factoryfs.img
a) Build ext4_utils from the following post: http://forum.xda-developers.com/showthread.php?t=1081239
b) Convert factoryfs.img to readable format with simg2img utility found in ext4_utils
Code:
simg2img factoryfs.img output.img
c) Mount output.img
Code:
mkdir ~/tempdir; sudo mount -o loop output.img ~/tempdir
d) Copy necessary files to a writable location:
Code:
mkdir ~/workspace
cp -a ~/tempdir/system/framework ~/workspace/
cp -a ~/tempdir/system/apps ~/workspace/
e) Unmount and clean up
Code:
sudo umount /dev/loop0
5) Creating classes.dex from Gmail.odex
a) Copy Gmail.odex into new framework directory from firmware image
Code:
cp ~/workspace/app/Gmail.odex ~/workspace/framework/
cd ~/workspace/framework/
b) Decompile odex file (api-level must be set accordingly) http://code.google.com/p/smali/
Code:
baksmali --api-levl 14 -x Gmail.odex
c) Compile output into classes.dex (api-level must be set accordingly)
Code:
smali --api-level 14 -o classes.dex out
6) Insert classes.dex into Gmail.apk
Code:
cp ~/workspace/app/Gmail.apk ~/workspace/framework/
mv Gmail.apk Gmail.zip
zip Gmail.zip -d META-INF/*
zip -o Gmail.zip classes.dex
mv Gmail.zip Gmail.apk
7) Decompile Gmail.apk with apktool (at the time of this writing it is apktool v1.4.3) http://code.google.com/p/android-apktool/
Code:
apktool d Gmail.apk
8) Edit AndroidManifest.xml (replacing "signature" with "normal"). See patch above for details.
9) Compile modified version of Gmail with apktool.
Code:
apktool b Gmail Gmail.mod.apk
Note: The current released version of apktool (1.4.3) will not be able to compile the resources for the new ICS api. Therefore, you will have to go into the res directory and delete all the resource directories that cause errors within apktool. After you delete those directories, you will see that apktool will also start showing errors in public.xml because resources are now missing. You will have to edit public.xml and delete the lines that show up as errors when compiling with apktool. Once you get the Gmail.mod.apk to build, extract the apk with unzip tool (unzip Gmail.mod.apk) and copy the extracted AndroidManifest.xml (in binary form) into an unaltered Gmail.apk that includes classes.dex. Rename original Gmail.apk to a zip file and insert the modified AndroidManifest.xml, then rename zip back to apk.
10) Sign Gmail with test keys:
Code:
java -jar /usr/local/bin/signapk.jar /usr/local/bin/testkey.x509.pem /usr/local/bin/testkey.pk8 Gmail.apk Gmail.mod-signed.apk

Not working on an HD2 with Android 2.3.2.
Uninstalled all Gmail updates to go back to stock --> mod didn't install.
Updated to gmail 2.3.5 --> mod didn't install.
Deleted the updates and installed Gmail 2.3.4 --> mod didn't install

u sure this can work?
I thought about the same, but gmail surely requires permissions from talk.apk for google connection... which is again signature protected.

I would assume you have to be rooted and use some kind of file manager to force this into place and even then, if as mentioned, you don't have any of the other files patched that are required... not gonna help so much.
Thanks for trying though.
I'm afraid gmail is sort of dead in the water until google decides to back down or provide some reasonable means of interaction for 3rd party applications.

This will only work if:
a) your phone does not come preinstalled with gmail so that it can be removed first before installing the modified version.
b) if you have root and can rename this file to Gmail.apk and copy it to system/app/ (replacing the original).
This fixes the database permissions of Gmail so third party applications can get the email count (such as Missed It! and Go Notification.
Note: After replacing or reinstalling Gmail, the notification widget (ie; Go Notification or Missed It!) needs to be reinstalled to regain premissions.

Fr4gg0r said:
u sure this can work?
I thought about the same, but gmail surely requires permissions from talk.apk for google connection... which is again signature protected.
Click to expand...
Click to collapse
This is unrelated to Talk.apk.

Alright, got it to work.
Updated to 2.3.5 from market from 2.3.4.
FC with "SMS unread count" and "Email Notifier"
Uninstalled these 2 apps.
Deleted gmail.apk from systems/apps (made back up first) with Root Explorer
Renamed modded version from Tsjoklat to gmail.apk and copied to system/apps with Root Explorer and set permissions to rw-rwe-re
Rebooted.
Installed Sms Unread Count and Email Notifier again and it's working. No FC's yet.

Definitely will try this tonight.

This is awesome! Can use the latest Gmail and SMS Unread Count widgets, I can't believe more don't know about this or use it!

another workarround
in order to have widgets working with gmail 2.3.5 you only need to resign the gmail 2.3.5 and widgets.
actions:
- download original gmail 2.3.5 from the android market
- copy the apk to your pc
- resign with apkmanager (you don't need to make any change in manifest.xml)
- uninstall original gmail in your android
- install resigned gmail in your android
make the same actions with your widgets...
works fine with "sms unread notifications", "gmail notifier", etc.
note 1: note that this method prevents other applications to access to your messages
note 2: when the widgets or gmail are updated in market, you need to uninstall resigned app in order to update. next, make the same actions...

Bunecarera said:
Alright, got it to work.
Updated to 2.3.5 from market from 2.3.4.
FC with "SMS unread count" and "Email Notifier"
Uninstalled these 2 apps.
Deleted gmail.apk from systems/apps (made back up first) with Root Explorer
Renamed modded version from Tsjoklat to gmail.apk and copied to system/apps with Root Explorer and set permissions to rw-rwe-re
Rebooted.
Installed Sms Unread Count and Email Notifier again and it's working. No FC's yet.
Click to expand...
Click to collapse
niiice...ive been trying to get this working since the gmail update

Bunecarera said:
Alright, got it to work.
Updated to 2.3.5 from market from 2.3.4.
FC with "SMS unread count" and "Email Notifier"
Uninstalled these 2 apps.
Deleted gmail.apk from systems/apps (made back up first) with Root Explorer
Renamed modded version from Tsjoklat to gmail.apk and copied to system/apps with Root Explorer and set permissions to rw-rwe-re
Rebooted.
Installed Sms Unread Count and Email Notifier again and it's working. No FC's yet.
Click to expand...
Click to collapse
don't need to use the patched version. do you only need to resign the gmail (original)
and resign all your mail based widgets (like "sms unread count", "email notifier", at all)

bartito said:
in order to have widgets working with gmail 2.3.5 you only need to resign the gmail 2.3.5 and widgets.
actions:
- download original gmail 2.3.5 from the android market
- copy the apk to your pc
- resign with apkmanager (you don't need to make any change in manifest.xml)
- uninstall original gmail in your android
- install resigned gmail in your android
make the same actions with your widgets...
works fine with "sms unread notifications", "gmail notifier", etc.
note 1: note that this method prevents other applications to access to your messages
note 2: when the widgets or gmail are updated in market, you need to uninstall resigned app in order to update. next, make the same actions...
Click to expand...
Click to collapse
I can never do things the straight forward simple way. Let's say I've got a 2.3.5 transparent gmail.apk and I want to do the above, will that work? To further complicate things apkmanager always errors out on me, I've been using android-utility on Mac. When I try to sign the apk it wants to know what to use to sign it - test key or private key. I chose test key for the gmail.apk and it installed fine. Tried the same with Launcher Pro and it would not install. Am I overlooking something simple or is this a can of worms?

scorpio333 said:
I can never do things the straight forward simple way. Let's say I've got a 2.3.5 transparent gmail.apk and I want to do the above, will that work? To further complicate things apkmanager always errors out on me, I've been using android-utility on Mac. When I try to sign the apk it wants to know what to use to sign it - test key or private key. I chose test key for the gmail.apk and it installed fine. Tried the same with Launcher Pro and it would not install. Am I overlooking something simple or is this a can of worms?
Click to expand...
Click to collapse
i have tried to resign gmail, sms unread count, gmail notifier and launcherpro with success. i don't have tried to modify the gmail, only resign. sorry, i don't known if is possible.

How do you resign

[email protected] said:
How do you resign
Click to expand...
Click to collapse
use apkmanager (search for it in xda)

Thank you
Thank you. LauncherPro Gmail widget is working again.
Just uninstall Gmail,
install patched one,
re-install LauncherPro.
Done

I use a transparent copy. do I just uninstall it. resign it then install it?

worked for me s5660
No problems here. I used root uninstaller to remove gmail. Did not see gmail.apk in system/app prior to doing this even though gmail was working. Then simply copied and renamed modified gmail file to system/app (not sure if that's needed) and ran it to install. It requested some sort of permission for gmail to read my emails. I then reinstalled the 3rd party application and everything was working. Thanks for the file!

.
@OP
Please use tags, edited your post

Related

[HOW TO]Port Haykuro's Sapphire Apps To JF1.5 [Updated 20/5/2009]

Hey Guys !!!
This Will Be the Ultimate Thread For The Currently Ported Haykuro's Build Applications To JF1.5 & Also Future Application Ports
I will Be Updating This Thread As Soon As More New Ports Will Be Done.
Currently Ported Applications In this Tutorial:
1. Haykuro's H-Virtual KeyBoard (Done By Me)
2. PDF-viewer Application (strazzere)
3. Camera Application(Done By Twistedumbrella)
4. Gallery Application (Force closes on opening Videos, Images work fine)
5. Music Application (works)
Note:
1. Now The Update.zip contains all The applications listed above
2. The Handwriting Input Force Close Is Now Fixed, So U have 3 types of VK to choose from, which are swappable from the Settings -> Locale & Text
3. The HTC-Camera app Force Close Is now Fixed, But still Effects & menu options Except Settings Dont Work(Thanks to twistedumbrella)
4. The new HTC_IME.apk need the clicker.apk for calibration which is now added.
5. Please Download the update.zip & Flash It as if U flash any new firmware
IF U HAVE THEME INSTALLED, PUT THE Camera.apk & Music.apk FROM THE THEME IN THE BACKUP FOLDER​
Download: The update.zip archeive from here & Copy It to The root of Ur Sdcard i.e. /sdcard/update.zip
Link to update.zip : http://sharebee.com/9d4d5712
Changing / Swapping the Virtual Keyboards
i.) Go to Settings -> Locale & Text & Tick Which ever Virtual Keyboard is needed & untick others...
NOTE: Installing the HTC Camera will also remove the old Gallery app with the old Camera, So HTC Gallery is also provided But It is Not able to Play Videos Currently, So try installing Astro or any video player, Meredian Player too works It Has An Video Player
Search Market For 'astro' or 'Meredian'
For Advance Users:
If u want add only some of the applications, or remove any applications from the above update.zip, These are the names of files for each app:
IF U ARE GOING TO INSTALL THEMES U LL LOSE ALL THIS SO JUST USE ADB PUSH ALL THESE FILES TO APPROPRIATE FOLDERS & REBOOT ONCE
Note: I prefer U to Add these files with # for all the Stuff Below & even are Commonly Needed & all these files can be taken from the update.zip provided above:
# NECESSARY FILES
Code:
SYSTEM - FRAMEWORK FOLDER
i.) com.htc.android.pimlib.jar
ii.) com.htc.framework.jar
iii.) com.htc.resources.apk
iv.) ime.jar (Cant say if needed, it already has But still can have differencs)
SYSTEM - ETC - PERMISSIONS FOLDER
i.) platform.xml (MUST BE REPLACED VERY IMPORTANT FOR VIRTUAL KEYBOARD & HTC APP FRAMEWORK)
1. NEW IME
Code:
SYSTEM - APP FOLDER
i.) HTC_IME.apk
ii.) Clicker.apk
SYSTEM - LIB FOLDER
i.) libt9.so
2. HTC CIME
Code:
SYSTEM - APP FOLDER
i.) HTC_CIME.apk
SYSTEM - LIB FOLDER
i.) The whole zi Folder
ii.) All the files Zi8Dat***_**.z8d
iii.) libimezi.so
3. HTC CAMERA (Camera.apk)
Code:
SYSTEM - APP FOLDER
i.) Camera.apk
SYSTEM - LIB FOLDER
i.) libcamera.so
ii.) libcameraservice.so
iii.) libqcamera.so
4. PDF VIEWER
Code:
SYSTEM - APP FOLDER
i.) FilePicker.apk
ii.) PDFViewer.apk
SYSTEM - LIB FOLDER
i.) libpdfreader.so
5. MUSIC
Code:
SYSTEM - APP FOLDER
i.) Music.apk
SYSTEM - LIB FOLDER
i.) libhtcmusic_jni.so
6. HTCALBUM (Gallery) [The Videos Dont Work So cant say these libraries are complete files needed]
Code:
SYSTEM - APP FOLDER
i.) HTCAlbum.apk
SYSTEM - LIB FOLDER
i.) libexif_htcalbum.so
More applications Comming Soon....
Hope H-Dialer & HTC Mail Gets Fixed soon...
Messaging, H-Dialer, etc. are linked to each other, so if we get It running, The rest would be really easy...
At last, The Biggest Credits Goes To Haykuro For His Sapphire Dream Port
Then The Credits for HTC-Camera App Goes to Twistedumbrella
Code:
http://code.google.com/p/cupcake-frosting/
Note: We both are working together so Keep Checking Both places for update
&
PDF viewer to strazzere
Rest all like HTC/Haykuro's Virtual Keyboard, Other Applications, etc... to ME...
Reserved for more applications
sangeet.003 said:
3. Camera Application(I dint Got It working From the Post Below, So As Soon as it will Be done I ll Post It Here)
Click to expand...
Click to collapse
i will patiently wait for this to be port to JF1.5.... =D
Installed the keyboard and it works nicely. It force closes a few times, but that's a minor annoyance.
THANKS for the Keyboard port!!! Works great on Lucid JF 1.5.
Your BAT file worked perfect... no issues.
I LOVE the Blackberry Pearl like Compact QWERTY keyboard for sending texts... my fat fingers work better on those bigger keys. Less mistakes.
thanks for the ports man..waiting for more..
Hi,
Is the 2g or 3g only option missing in the jf 1.5 builds?
I am still using 5.02h R4 that has it.
Thanks
aad4321 said:
i guess theirs no posibilty of the exchange bring brought over? I also like how it had a 2G and 3G only option in network settings.
Click to expand...
Click to collapse
I need the HTC's Mail from Haykuro 5.0.2 Hr4 o Build HTC because it's have Exchange.
Thanks.
I found something strange here. The Touch Input Calibration feature which I love the most. When I press the Calibration Tool, it force to close.
"The application Touch Input (process com.htc.android.htcime) has stopped unexpectedly. Please try again"
Please fix this error!
Thats Haykuro's new IME it does need some plugin of calibration,
I am trying my hard for Mail & Dialer but they keep crashing on start
New update available !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
sangeet.003 said:
Thats Haykuro's new IME it does need some plugin of calibration,
I am trying my hard for Mail & Dialer but they keep crashing on start
Click to expand...
Click to collapse
Any chance you can try to get the messenging app over? I'd try to push it, but I don't have a copy of the H-build one.
I'm referring to the H-build one with the dark bg and white text.
Not work on ADP1.5H
Can someone reupload it Rapidshare says its been downloaded to many times.
Can you upload that clicker.apk? I already have the HTC_IME running on JF1.5 but the calibration is the only thing missing
Clicker.apk
Beast84 said:
Can you upload that clicker.apk? I already have the HTC_IME running on JF1.5 but the calibration is the only thing missing
Click to expand...
Click to collapse
See attachment
How do i port the Keyboard on a MAC?? HELP!!!
corypressley said:
How do i port the Keyboard on a MAC?? HELP!!!
Click to expand...
Click to collapse
I ll Post steps tommorow currently my exams are going on...
After wait 15-18 hours...
or if someone else wishes, can post it will be very helpfull...
Have installed your latest update. Calibration works like a charm. Thanks so much for porting HTC soft to the fastest JF 1.5 ADP
I keep running the bat files but it keeps saying device not found. Am I doing something wrong.

Themed Gmail & Market

I am providing these Apks for Gmail and Market (vending) to install on the tablet. I am only providing because I have installed and they work for me. The dark theming on the galaxy tab section is nice but there is now matching Gmail & Market.
This is taken from Glasstopia theme created by MWBehr on the g2x forum.
Translucent & Inverted GMail
Translucent Market (From theimpaller747)
OPTIONAL .Nandroid or Backup your existing Gmail and or Market (vending) apk. If you don't like these you can revert back. Tested on Overcome 1.6.0 & 1.6.1 should work up to 1.6.4. Should be able to install on any device.
Instructions for installing apk with root explorer:
1. download apk or apks your sd card
2. navigate to file and copy or move apk or apk's
3. navigate to system/app
4. tap on r/w at the top
5. paste all apks
6. change permissions to match the other apks's in the system/app directory.
7. reboot

If your (alarm) clock isn't working with CM11 Experimental

Hi there,
I had problems to use the DeskClock.apk in cm-11-20131203-EXPERIMENTAL-mmmmm....chocolate_selinuxon-apexqtmo-45.zip.
But I really like this app for my daily alarms.
So I checked the log for this apk (with SystemTunerPro). There seems to be a problem with android.database.sqlite:
Code:
SQLiteException: Can't downgrade database from version 11 to 10
My solution: Download the official nightly cm-11-20131210-NIGHTLY-apexqtmo.zip; go to /system/app/; delete or rename DeskClock.apk; copy the same apk out of the zip into the folder; set the rights to 644 and reboot.
Worked for me - maybe for you too.

List of system apps safe to delete - bloatware!

Since there is no HTC One SV list of apps safe to delete, I decided to reserch my self and make list for One SV. In general I used as guide line HTC One series...HTC stuff should be more or less all the same, and can be applyed on more phones...also, if it can be freezed without root, should be also safe to remove with root. I cut/paste apps and odex files from /system to /microsd for backup (with es file explorer). Dont like scripts and deleting forever. Posts and threads I used as refference guide are on the bottom! Thx
Im not programer, so this is my small contribution as satisfied OneSV and XDA user!
This is /system/app folder from my phone (HTC One SV - K2_UL), Croatia T-mobile
My phone is htcdev bootloader unlocked, twrp, rumrunner s-off, rooted. Stock OTA 4.2.2
I will write if I know what is app for, and if it is safe to delete. Bold apps I removed and phone is ok (up and running). If something is needed again, I can cut/paste back to /system/app and restart phone.
This post is work in progres, so help is most welcome! I have 3 goals:
1. Pinpoint and delete battery drain apps
2. Determin for every app if it is a) safe, b) maybe or c) DO-NOT-REMOVE
3. Gain space by removing unused, unwanted apps
For now I did Bold apks I removed. Later I will write app description...
For those who dont know, why I deleted apps if I could freeze:
I deleted Gmail app on system because I updated Gmail app (so I have newer version on /data also). When removed from /system/app I cut paste version from /data/app to /system/app. Same for PlayStore, Google TTS, GMS, etc.
SuperSu i updated through TWRP option! Works ok.
Also, some apps cant be freezed, and sucks on battery. I dont like that if I dont use them!
Gain in space is cca 500MB cca 160 apps
7digital3.0.apk - crapware
AndroidHtcSync.apk - HTC Mobile Sync
Automotive_Home.apk - Car in app drawer, Carmode
Automotive_InternetRadio.apk -
Automotive_Traffic.apk -
BackupRestoreConfirmation.apk
Basic.apk - Livewallpaper
BasicDreams.apk - Daydreams
Bluetooth.apk - i think it can be deleted, but then there is no BT functionality, so NO GO.
Books.apk - Google Play Books crapware
BrcmBluetoothServices.apk
Browser.apk - Stock Browser
Calculator.apk - RealCalc is way better
CalculatorWidget.apk - widget
Calendar+nonprime.apk
CalendarProvider.apk
Camera.apk -
CertInstaller.apk
CheckinProvider.apk
ChromeBookmarksSyncAdapter.apk
ChromeWithBrowser.apk - Chrome Browser, install new version from PlayStore
CIMEXT9.apk - Chinese
ConfigUpdater.apk
ContactsProvider.apk
COTAClient.apk
CustomizationSettingsProvider.apk
CustomizationSetup.apk
DefaultContainerService.apk
DemoFLOPackageInstaller.apk - Some HTC stuff that "drains battery"? dont know
DeviceManagement.apk
DownloadProvider.apk
DownloadProviderUi.apk
DrmProvider.apk
Dropbox.apk - Install new from playstore
EAGamebox.apk - crapware
Facebook.apk - crapware, but install new from playstore
FacebookEngine.apk -
Facebook_Client.apk -
FaceLock.apk -
FDHttpd.apk - HTC Sync
FilePicker.apk
Flashlight.apk - can use another from playstore
FlexNet.apk
Flickr.apk -
FlickrEngine.apk
FMRadioService.apk
FM_Radio.apk
Frisbee.apk
FusedLocation.apk
GenieWidget.apk
Gmail2.apk - can update new version from playstore
GmsCore.apk - can delete if in /data/app is new version
GMS_Maps.apk - download from playstore new version
GoogleBackupTransport.apk
GoogleCalendarSyncAdapter.apk
GoogleContactsSyncAdapter.apk
GoogleFeedback.apk
GoogleLoginService.apk
GooglePartnerSetup.apk
GoogleServicesFramework.apk
GoogleTTS.apk - safe to delete, can download new from playstore
GSD.apk - if new downloaded from playstore, after deleting this one, cut/paste version from /data/app to /system/app
Hangouts.apk - new from playstore
HoloSpiral.apk - LiveWallpaper
HomePersonalize.apk
Htc3DRichNotesWidget.apk
HtcAirplaneModeWidget.apk - dont like widgets in general, at least stock ones
HTCAlbum.apk - can be freezed, so why not? MMS needs this to show pics, didnt try receive mms after...
HtcAlbumMapView.apk
HtcAutoRotateWidget.apk
HtcBackgroundDataWidget.apk
HTCBackup.apk
HtcBackupReset.apk
HtcBluetoothLeProfiles.apk
HtcBtWidget.apk
HtcCalendarWidgets.apk
HtcCarGps.apk
HtcCompressViewer.apk
HtcContacts.apk
HtcContactsDNATransfer.apk
HtcContactWidgets.apk
HtcCupd.apk
HtcDataRoamingWidget.apk
HtcDataStripWidget.apk
HtcDeals.apk - crapware
HtcDialer.apk
HtcDLNAMiddleLayer.apk
HtcDropboxGLRPlugin.apk
HtcFMRadioWidget.apk
HtcGetStarted.apk
HtcGpsWidget.apk
HtcHotspotWidget.apk
HtcImageWallpaper.apk
HtcInternalSettingsProvider.apk
HtcLavaLiveWallpaper.apk
HtcLocationService.apk
HtcLockScreen.apk
HtcMailWidgets.apk
HTCMediaAutoUploadSetting.apk
HtcMediaCacheService.apk
HtcMediaUploader.apk
HtcMessageProvider.apk
HtcMessageUploader.apk
HtcMobileNetworkWidget.apk
HtcModeClient.apk
HtcMsgWidgets.apk
HtcMusic.apk
HtcMusicEnhancer.apk
HtcMusicWidget.apk
HtcNotes.apk
HtcNotesPainterView.apk
HtcNotesProvider.apk
HtcPhotoEnhancer.apk
HtcPhotoWidget.apk
HtcPowerManager.apk
HtcPowerStripWidget.apk
HtcProfilesWidget.apk
HtcResetNotify.apk
HtcRingtoneTrimmer.apk - dont trim my ringtones...
HtcRingtoneWidget.apk
HtcScreenBrightnessWidget.apk
HtcScreenTimeoutWidget.apk
HtcSettingsProvider.apk
HTCSetupWizard.apk
HTCShoeboxEngine.apk
HtcSkydriveGLRPlugin.apk
HtcSoundRecorder.apk - use other sound recorder
HTCSyncManager.apk
HtcSyncWidget.apk
HtcVideoPlayer.apk
HtcWeatherClockWidget.apk
HTCWeatherClockWidgetAgent.apk
HtcWeatherLiveWallpaper.apk
HtcWiFiWidget.apk
HTC_IME.apk - I installed first SmartKeyboard, so I dont need this keyboard...
HTC_Widget_ShowMe.apk
HTMLViewer.apk - think is safe, was safe to delete on Xperia Ray...
Idlescreen_Base.apk - dont delete, phone wont boot after deleting 5 of this. You can try one by one to remove, maybee not needed
IdleScreen_Music_WVGA.apk - if wont boot, copy paste back to system/app and set permisions
IdleScreen_No_lock_screen.apk -
IdleScreen_Photo.apk
Idlescreen_productivity.apk
idlescreen_shortcut.apk
IdleScreen_Widget.apk
IMEHWRPenPower.apk
IMEXT9Arabic.apk
IMEXT9BahasaIndonesia.apk
IMEXT9BahasaMalaysia.apk
IMEXT9Bulgaria.apk
IMEXT9Croatian.apk - I use it
IMEXT9Czech.apk
IMEXT9Danish.apk
IMEXT9Dutch.apk
IMEXT9English.apk - Let it stay
IMEXT9Estonian.apk
IMEXT9Finnish.apk
IMEXT9French.apk
IMEXT9German.apk - I plain to refresh my german...
IMEXT9Greek.apk
IMEXT9Hebrew.apk
IMEXT9Hungarian.apk
IMEXT9Italian.apk
IMEXT9Kazakh.apk
IMEXT9Latvian.apk
IMEXT9Lithuanian.apk
IMEXT9Norwegian.apk
IMEXT9Polish.apk
IMEXT9Portuguese.apk
IMEXT9Romanian.apk
IMEXT9Russian.apk
IMEXT9Serbian.apk
IMEXT9Slovak.apk
IMEXT9Slovenian.apk
IMEXT9Spanish.apk
IMEXT9Swedish.apk
IMEXT9Turkish.apk
IMEXT9Ukrainian.apk
InputDevices.apk
Instagram_SN_Plugin.apk
install_flash_player.apk
JETCET_PRINT_Resources.apk - wirelles printing, like I will use it
JETCET_PRINT_S50.apk - same
KeyChain.apk
LinkedIn_Fsplugin.apk -
LMIRescue.apk - can be freezed, dont need rescue i think...
LMIRescueSecurity.apk - can be freezed
LMW.apk
LocationPicker.apk - crapware navigation or what
Locations.apk - crapware
Magazines.apk - crapware
Mail+nonprime.apk - I use Gmail, not stock mail
MediaProvider.apk
MediaUploader.apk
Message+Nonprime.apk
Music2.apk
MusicVisualization.apk
MyBreeze.apk
MyDropbox.apk - there is dropbox on playstore, why this extras then...
[leTaskPlugin.apk[/B] - gTask
MyHTC.apk
MyPen.apk
MySketcher.apk
MySkydrive.apk
MyTask.apk
MyTaskWidget.apk
NetworkLocation.apk
NewsPlugin.apk - crapware, for new opera mini is ok (it have rss option)
Nfc.apk
NoiseField.apk - Livewallpaper
OneTimeInitializer.apk - Google One Time Init
PartnerBookmarksProvider.apk
PDF_Viewer_F_A.apk - crapware
PermissionToAccessLocApi.apk
PhaseBeam.apk
Phone.apk - DONT DELETE - i think, if you want to make calls
Phonesky.apk - new is autodownloaded, so if present updated app in /data/app, then this is obsolete
Picasa_GLRplugin.apk
PlayGames.apk - crapware
PluginManager.apk
PlusOne.apk - G+ new from playtore if you like crapware
PolarisOffice.apk
Prism.apk - SENSE
Prism_AppUpdate_DummpPackage.apk - Sense stuff
Prism_AppUpdate_UpdatingScreen.apk - more sense
Prism_LocalFeedProvider.apk - sense
Prism_SocialFeedProvider.apk - sense
PrivInit.apk
PureC_ApplicationsProvider.apk
PureC_PackageInstaller.apk
PureC_UserDictionaryProvider.apk
RebootWarningWin.apk
SelectPlayer.apk
SenseTV_Home.apk
Settings.apk - DONT DELETE i think
SettingsProvider.apk
SetupWizard.apk
SharedStorageBackup.apk
SmartcardService.apk
SmartDim.apk
SocialManager.apk - Maybe something with fiendstream
SoundHound_Freemium.apk - have it on playstore
SoundSetDownloadManager.apk
Stk.apk - provider crapware, let it be - must see what interesting is with this
Stock.apk - crapware
StockWidget.apk - crapwareWidget
Street.apk - crapware if you ask me, didnt use it ever...can be downloaded from playstore
Superuser.apk - root (not there by stock, haha)
SystemUI.apk - NO NO NO, DONT DELETE i think
Tag.apk
talkback.apk - can be downloaded from playstore i think
Tips_Help.apk
Transfer.apk
Trim_n_Slow.apk
Tube2_Configuration.apk
TuneIn.apk - download new from playstore
Twitter.apk - download from playstore
TwitterEngine.apk -
Twitter_Client.apk -
UDove.apk
Updater.apk -
Usage.apk
Velvet.apk - download new from playstore, google quick searchbox
Videos.apk
VoiceSearchStub.apk
VpnDialogs.apk - VPN services, i dont use them
Watch.apk
Weather.apk
WeatherProvider.apk
WeatherSyncProvider.apk
WifiRouter.apk
WorldClock.apk
YouTube.apk - delete new from playstore
ZeroEditing.apk - Galery Video Highlights
Libs and files that go with some of apps and I deleted:
/system/lib/libpdfviewer.so
/system/lib/libpolarisoffice_Clipboard.so
/system/media/weather -->cca 60mb
/system/lib/libfacelock_jni.so
/system/vendor/pittpatt
/system/lib/liblaputaEngine.so
/system/lib/libLaputaLbJni.so
/system/lib/libLaputaLbProviderJni
/system/lib/LaputaLogJni.so
/system/etc/laputa/map_data.zip
/system/tts/lang_pico
/system/lib/libnotes_jni.so
/system/lib/libnotesprovider_jni.so
Added screenshots of /system/app before deleting apps - only Superuser is not stock one.
Added list.txt (in command prompt i go in folder with apps and "dir >list.txt")
- i will add final list of deleted apps, when delete max apps
Usefoul threads:
http://forum.xda-developers.com/showthread.php?t=2277438
http://forum.xda-developers.com/showthread.php?t=2247656
Awesome job bro!
Sent from my C525c using Tapatalk
what's happening?
(I think I like it)
Sent from my C525c using Tapatalk
Job is not done yet. Theres more apps I think can be deleted but not sure. I deleted those I not use and I am sure are safe to delete...Now coms the hard part - to dare delete questionable apps...! Thats why I need help - if someone know that some apps are NO GO, that I dont mess up my phone...Or if some of not bolded are sure to delete... There are some I didnt delete and are safe to delete but I use them...
In next days I will for sure delete some more - lockscreen themes etc. HTC stuff is most questionable - dont know what did they connect them with...
But if I mess up - i think twrp have file manager, so I can get critical apps back!? Is that correct?
mlesic said:
Job is not done yet. Theres more apps I think can be deleted but not sure. I deleted those I not use and I am sure are safe to delete...Now coms the hard part - to dare delete questionable apps...! Thats why I need help - if someone know that some apps are NO GO, that I dont mess up my phone...Or if some of not bolded are sure to delete... There are some I didnt delete and are safe to delete but I use them...
In next days I will for sure delete some more - lockscreen themes etc. HTC stuff is most questionable - dont know what did they connect them with...
But if I mess up - i think twrp have file manager, so I can get critical apps back!? Is that correct?
Click to expand...
Click to collapse
Yes, if you have twrp backup or even a ruu you will be good to go
Sent from my C525c using Tapatalk
---------- Post added at 08:37 PM ---------- Previous post was at 08:33 PM ----------
@mlesic
Check out this thread as well. You should take a look at the .zip and review the text inside to determine what is also good too. I have used it and had no personal issues running 4.1.2.
Edit: forgot to add link lol
http://forum.xda-developers.com/showthread.php?t=1217664
Sent from my C525c using Tapatalk
I have twrp backup. But dont want to go through restore alredy...
About romcleaner 6.0 - i go through that also, must look for those apps i am unsure, but it is for sense 4 not 5...there are some differences, some app dont extist any more, new are present etc. So rom cleaner for HTC One is closes call i think.
Dont like that grouping of apps - alphabetical order is better. I go from top to botom and delete. With rom cleaner lists is torture...but, im getting there!
If I need RUU, then I would need to downgrade to ICS, downgrade hboot or something like thet? Because there is no 4.2.2 RUU, just OTA?
mlesic said:
I have twrp backup. But dont want to go through restore alredy...
About romcleaner 6.0 - i go through that also, must look for those apps i am unsure, but it is for sense 4 not 5...there are some differences, some app dont extist any more, new are present etc. So rom cleaner for HTC One is closes call i think.
Dont like that grouping of apps - alphabetical order is better. I go from top to botom and delete. With rom cleaner lists is torture...but, im getting there!
If I need RUU, then I would need to downgrade to ICS, downgrade hboot or something like thet? Because there is no 4.2.2 RUU, just OTA?
Click to expand...
Click to collapse
you could just move the apps from /system/apps to somewhere like /sdcard/ext_sd/questionable_apps_to_delete
then if anything "Bugs out" on you just place them back to /system/apps and set permissions to rw-r--r abd reboot to fix.
Sent from my C525c using Tapatalk
I did just that, deleted few apps more and phone wont start now. Stays htc One beats audio white screen...I moved back apps to system app and changed chmod to 644 but it still wont to start. What did I wrong? I used twrp file manager to get apps and odex files back.
1. Mount System
2. copy paste apps back to system app
3. change chmod to 644 each app and odex i moved back
4. clear dalvik and cashe
5. dont want to boot
--> update, it is ok now. It was IdleScreen_ files.
I didnt get them back, just 6 of others. And those 5 i disregarded...It seems they are important.
About twrp and getting files back:
1. mount system
2. File manager copy paste apps from sd card to system/app one by one (apk and odex)
3. Change permisions apks and odexes one by one to chmod 755 (big button in twrp)
4. Click big button Fix permission - just in case...
5. Reboot
There is no fear, twrp is powerful!
More apps safe to delete:
MyGoogleTaskPlugin.apk
MyTask.apk
MyTaskWidget.apk
HtcNotes.apk
HtcNotesProvider.apk
HtcNotesPainterView
/system/lib/libnotes_jni.so
/system/lib/libnotesprovider_jni.so
FDHttpd.apk
OneTimeInitializer.apk
SocialManager
VpnDialogs.apk
HTCShoeboxEngine.apk
ZeroEditing.apk
SenseTV_Home.apk
DO NOT DELETE:
IdleScreen_Widget; .._shortcut; .._productivity; _photo; _Music_WVGA;
there is also basic and without lockscreen i think...
Phone wont boot if you delete those (even if you dont use them).
Didnt, check with and without each and everyone - but when removed those 5 phone stuck at htc white screen!
it's safe to delete all of the lock screen, face lock, and idle_screen apks.
I never tried just deleting one or two, so I've always delete all of them.
thanks for the heads up.
Sent from my C525c using Tapatalk
When I get them back, phone turned on! I also was thinking they are unimportant...so was thinking vpndialog is fault or fdhttp...so i put them back and stil nothing.. until idle screens i returned..
Maybe it didnt turn on because I selected without lockscreen one idllescreen..and you basic? What are your settings and are deleted now your idlescreens?
UPDATE 14.3.2014 - I notice that in stock sms app I cant add photo from gallery, just take new photo. Maybe because I deleted galery and quickpic isnt listed there...also in quickpic when option share selected, there is no sms app to select. But thats not important since MMS isnt used much. Handcent solves that problems. I prefer handcent because it is more confugurable - notifications etc....
I don't use any of the idle screens so I delete them all.
plus the HTC lock screen
plus the face lock....
everything is fine when I do this, nothing hangs phone still boots like normal......
Sent from my C525c using Tapatalk
More space, faster operation
Sent from my C525c using Tapatalk
I guess I should note, and probably back out of this thread.....
I'm still Sense 4.5 Android 4.1.2
this could possibly be different repercussions, I apologize I didn't click that you were Sense 5 Android 4.2.2
Sent from my C525c using Tapatalk
Difference info also helps!
you can safely remove GoogleContactsSyncAdapter and GoogleCalendarSyncAdapter if you don’t wish to sync your contacts and calendar to google. also GoogleBackupTransport if you don't wish to backup your data to google.
I know. There is more safe to delete apps. Must write it down. But thats not big crapware...most people use it..
How can i get default gallery apk?
I use JBStocklight by Matlevo12 ROM (JB 4.1.2). When i extraclean the ROM, i delete by mistake default gallery apk from system/app . How can i extract that default gallery apk from rom image? (i don't know the exact name).
I still can view photos with QuickPic or File Manager, but i can't add photo to any contact, because the phone.apk use default gallery ( i supose). That's the reason because i what back that standard gallery viewer. (when i try it to add/change contact photo, i get the error "No pictures are available on your phone.")
Thanks.
Getodacul said:
I use JBStocklight by Matlevo12 ROM (JB 4.1.2). When i extraclean the ROM, i delete by mistake default gallery apk from system/app . How can i extract that default gallery apk from rom image? (i don't know the exact name).
I still can view photos with QuickPic or File Manager, but i can't add photo to any contact, because the phone.apk use default gallery ( i supose). That's the reason because i what back that standard gallery viewer. (when i try it to add/change contact photo, i get the error "No pictures are available on your phone.")
Thanks.
Click to expand...
Click to collapse
I think, what you are searching is HTCAlbum.apk.
Extract it from the zip (system/app/) and copy it in the same place on your phone (using a root explorer).
Set permission to rw- r-- r-- (like the other apks) and reboot.
Try to setup contact photo from web - on gmail and then sync.
Also maybe you can setup photo from quickpic - set photo as contact...
I deleted the android system webview folder. Email folder and exchange services folder on system/app. Will bringing them back solves whitescreens and force stops in my phone when it wants to go to web?

Removing Android 11 Notification Headers: status_bar_notification_section_header.xml

Hi,
What's a clean way to apply changes made to SystemUI.apk in an Android 11 ROM (and have those changes take effect) that I don't maintain? Direct overwriting is fine, but I need the changes applied/running. I'm fine with breaking things, have root, and have resolved boot breakages via ADB etc. I'm trying to get rid of the annoying notification section headers (Conversation, Silent, etc..) that waste screen real estate. I overwrite the XML file in the APK (status_bar_notification_section_header.xml) with 0 padding, and re-sign that APK with LuckyPatcher (its test key). What's a good way to apply my patched APK so that it works like the original, but with my changes? pm install patched_file.apk isn't perfect - APK is internal. And there's ODEX/VDEX files generated for the original APK (/system_ext/priv-app/SystemUI/ .... SystemUI.apk, oat/arm/*.odex, *.vdex). I had to do a pm grant to reading contacts when I applied a revised SystemUI.apk. Assume I don't have Android Studio and just want to work on the mobile.
What I'm attempting:
packages/SystemUI/res/layout/status_bar_notification_section_header.xml - platform/frameworks/base - Git at Google
status_bar_notification_section_header.xml:
<com.android.systemui.statusbar.notification.stack.SectionHeaderView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/notification_section_header_height"
androidaddingStart="0dp"
androidaddingEnd="0dp"
android:focusable="true"
android:clickable="true"
>

Categories

Resources