[Q] Stock ROM eMail app without admin restriction - Samsung Galaxy SL i9003

I have rooted my phone. Now would like to remove the admin access in my stock email application.
I found out the following link http://forum.xda-developers.com/showthread.php?t=1768549, but the author had mentioned that the email app is created specific for Samsung Captivate.
I followed the instructions mentioned in the thread,
1. Using Root Explorer, in /System/App rename Email.apk (no Email.odex found) to Email.apk.bak
2. Using Root Explorer, copy the new Email.apk to /System/App
But my email app is not working. Getting an error, the email force closed.
Kindly help.
Thanks for your support.

Completed
Hi Team,
I have followed the parent thread http://forum.xda-developers.com/showthread.php?t=1768549 to get my email admin restriction removed from my stock ROM email app.
Had difficulties in setting up java, jre and calss path, but finally got through it.
I will soon share the patched email app.

Related

HELP Reinstall APK!!!

I have tried EVERYTHING I can read. For one thing, when I try
adb install TouchWizCalendar.apk
-> I get an error that says INSTALL_FAILED_DEXOPT
--> I have 64mb of phone memory, and my phone is rooted...
adb push TouchWizCalendar.apk /system/app
-> Permission Denied
I finally copied the TouchWizCalendar.apk back over along with the odex file to the system/app folder using Root Explorer, but the program isn't in my app drawer, and I can't even access it from my calendar widget on launcher pro.
Any help is appreciated... Thank you
EDIT:: I really don't care if it's the TouchWiz calendar that I install or the default stock calendar, I would just like A calendar... Any help is appreciated.. I'm still trying to get it worked....
EDIT::: I just checked logcat and I'm getting an error "Package does not include classes.dex" when trying to install. Anyone know why?
Okay, I figured it out... Sort of.
If anyone else gets this problem you should go to
forum.cyanogenmod.~com/topic/395-cyanogenmod-5-for-nexus-one-kang-central-station-v508-06192010/
Without the ~ before com. I can't post links.
Download Cyanogen's mod, and extract the file, navigate to system/apps and retrieve Calendar.apk and CalendarProvider.apk. Put those on your phone's SD card and install like any regular apk file.
This worked for me. It's not the TouchWizCalendar, but it's A Calendar, that is working atleast...
Have you tried moving the apk to the phone and installing from there and capture the log, it might give some useful information

Deleted mail.apk

I rather stupidly deleted my LG mail.apk from the sys directory last night so now I've lost my exchange mail client. Can someone hook me up with the apk please?
edit, found it, and a THANKS to Protochip
edit again, that didn't work out so well. The icon is there but won't load. Is there a permissions thing?
edit, again, fixed permissions with CWM, that didn't help.
Did you try giving right permissions + ownership with root explorer instead?
Sent from my LG-P920 using XDA App
in the end I found a way to migrate everything to gmail which saves me running 2 mail apps in the first place so I've just deleted it again. Thanks for the response though.

Need stock Gingerbread email apk - can someone help?

I accidentally removed the email app on a rooted version of gingerbread. I backed it up, but apparently, it didn't back up successfully. Can someone provide the APK and installation instructions? I need it for my work email.
Thanks
In case no one provides it briefly and you need it urgently, you can download any GB Rom and extract the email.apk from its /system/app directory.
Then copy it to your phones /system/app using a root browser, and set it's permissions to rw-r-r (644)
Reboot & you should be good
Thanks so much for the response. I'll give that a try. What's the .odex file in the app directory?
Email.apk? That's all you should need

4.4.2 Exchange Email APK's

Probably old news but I couldn't find it on this Moto X forum:
http://goo.gl/ZtLZdN
If you want working exchange email on 4.4 do this (root required)
1) Download the above file, unzip, and copy the two apk's to your phone
2) Use root explorer to navigate to /system/app
3) Rename "Exchange2.apk" to "Exchange2_old.apk" (you'll need to rename this file back to "Exchange2.apk" to accept an OTA)
4) Rename Email.apk to "Email_old.apk" (you'll need to rename this file back to "Email.apk" to accept an OTA)
5) Paste the two apk's you downloaded into the /system/app folder
6) (optional) If you don't want 2 email services running go into Settings>Apps>All and select then Disable "Email" (version 4.4-5) and "Exchange Services" (version 4.4-5)
7) Reboot your phone
Now you can set up Exchange service without it failing to download new messages or draining your battery.
Thanks... great timing... I'm surprised how little info I can find on this. Any idea if this impacts calendar as well?
cscimmia said:
Thanks... great timing... I'm surprised how little info I can find on this. Any idea if this impacts calendar as well?
Click to expand...
Click to collapse
It fixes the exchange sync issue, so if you were having calendar problems they should be resolved with this.
Restola said:
Probably old news but I couldn't find it on this Moto X forum:
http://goo.gl/ZtLZdN
If you want working exchange email on 4.4 do this (root required)
1) Download the above file, unzip, and copy the two apk's to your phone
2) Use root explorer to navigate to /system/app
3) Rename "Exchange2.apk" to "Exchange2_old.apk" (you'll need to rename this file back to "Exchange2.apk" to accept an OTA)
4) Rename Email.apk to "Email_old.apk" (you'll need to rename this file back to "Email.apk" to accept an OTA)
5) Paste the two apk's you downloaded into the /system/app folder
6) (optional) If you don't want 2 email services running go into Settings>Apps>All and select then Disable "Email" (version 4.4-5) and "Exchange Services" (version 4.4-5)
7) Reboot your phone
Now you can set up Exchange service without it failing to download new messages or draining your battery.
Click to expand...
Click to collapse
I know this is an old thread but I'm wondering if the apks are still avaliable somewhere, the Drive folder in the link is empty.
I'm having exchange issues on 4.4.2 and have tried com.google.android.gm.exchange-6.5-1791555-500065-minAPI19.apk from a different source but Exchange Services keeps crashing and my emails aren't syncing.
Unfortunately I'm running Funtouch OS 2.0 (4.4.2) on a Vivo Xshot and it doesn't look like I'll be getting an updated version of Android any time soon, if ever.

[solved] crashing accessibility app

To the Admins, I'm not entirely sure where you guys would want this thread...troubleshooting seemed to be the most sensible.
all right everyone, I'll explain here how I fixed this, but keep in mind I have the ATT LG G2 running KitKat with TWRP 2.7.0.0 and I'm rooted. I only recommend this for advanced users. If you aren't an advanced user, well, make sure you have a backup. I'm sure there was a faster way to fix this, but my goal wasn't to find the fastest way initially, it was to find a working way. For example, you could just ADB everything. You could also, assuming you know how to use your OS to search that deep into the device files, done a rename, copy/paste etc. etc. Not all devices are made equal, so be CAREFUL! BTW, I was in debugging mode + charge only.
WARNING: I AM ONLY OFFERING THIS FOR INSIGHT TO ADVANCED USERS THAT KNOW WHAT THEY ARE DOING - I DON'T OFFICIALLY RECOMMEND THAT ANYONE DO THIS. I AM NOT RESPONSIBLE FOR ANY TRANSMUTATION FROM LG G2 TO BRICK.
Here's what I did:
1) I opened accessibility while hooked up to the debugger in Android Studio to see that it was producing a Null Pointer Exception.
2) I have a slightly modified version of the TOT file so that I can run TWRP and still be rooted in KitKat.
3) I am rooted, so I used Root Explorer to search for accessibility and found that the file is called "LGSettingsAccessibility.apk" and .odex - it's under (WITH ROOT ONLY) /system/priv-app/
4) I searched for a system dump copy online...I found this site: http://hunterspad.com/Domains/StorageCow/Xda/Users/garyd9/Extracted System/priv-app/
I found that by typing "LGSettingsAccessibility.apk" and initially found a Google Drive version but it was posted in September of 2013 - unlikely to be the odex and apk from KitKat hahaha. I used a Google Search that searched custom range between Feb 1st and today. I found 2 links, one of which is the above.
NOTE: I don't recommend anyone do the following unless you KNOW what you are doing and definitely have a backup to restore to if things go wrong
5) I sent the link for each file to myself on Google Hangouts. I used Hangouts to download the March 14th upload of the LGAccessibilitySettings.apk and LGAcessibility.odex
5.5) I copied each of the original files (.apk and .odex) from /system/priv-app/ to my /sdcard/LGBackup folder I created using the Root Explorer app.
6) I went into the app "Root Explorer" again after downloading both files (DID NOT INSTALL IT, though it probably won't let you anyway). I checked both files and copied them.
7) I went back to /system/priv-app/ and renamed the existing files to be replaced with the extension ".bak" so that the system no longer points to those files (NOTE: Root Explorer asked me to remount as R/W (read and write vs. read-only) a good feature of root explorer to be in read-only by default; dangerous territory.
8) Bottom right corner of Root Explorer it was waiting for me to "Copy Here" when arriving at the location where I wanted to copy the files: /system/priv-app/ and after copying them I decided to be a fool and install the apk and it told me something like "app not found" or something.
9) FINALLY went into Settings and touched Accessibility and VOILA! It worked! A lot of luck involved - the odexed and apk files may not have been the proper version. I could have checked with relative ease (though likely time-consuming) by using some of my android dev skills/utilities.
WARNING: I AM ONLY RECOMMENDING THIS FOR ADVANCED USERS THAT KNOW WHAT THEY ARE DOING.
Thanks to garyd9 on XDA - without your uploaded files on storage cow, I couldn't have fixed this problem!

Categories

Resources