Related
*Includes version for Android 4.0.4 now*
I know some people do not like the remote management restrictions that are applied to their Android devices when they hook up their Email application to Exchange.
Many enterprising developers have developed Email.apk's that ignore any remote management restrictions without limiting access to Exchange email. In other words, you can use your work email without having to put a password into your device, or encrypt your data, or whatnot.
Now, I do not advocate you do this; I don't do it. If you do it and get caught, you may very well be fired!
In any case, if you're still interested in this, then you may download the modified Email.apk's for 2.3.5 and 2.3.6
Instructions:
1. Make sure you're rooted
2. Using Root Explorer, in /System/App rename Email.apk and Email.odex to Email.apk.bak and Email.odex.bak (needed in case you ever need to restore the original)
2. Extract the appropriate zip file for your OS version that you've just downloaded
3. Take the resulting Email.apk file and copy it to your device
4. Using Root Explorer, copy the new Email.apk to /System/App
5. Reboot and set-up your Exchange info again, you should not have any restrictions any more!
Note: I do not take credit for this. I used rustamabd's excellent Email.apk modifier at http://forum.xda-developers.com/showthread.php?t=1117452. I'm just providing the modified Email.apks specific for the Captivate Glide for your convenience.
Moderators: This should probably go under Development, but I do not have access. Could you move this?
Moderators?
It's now been updated for ICS by the way.
Will these APKs fit Samsung SGS1 (stock GB 2.3.6)?
4.0.4 fail
Hi, I tried above procedure on my 4.0.4 (HTC Sensation). Could it be there is no 'Email.odex.bak' in system/app?
Just renaming the Email.apk and copying the version from the zip did not do the trick for me. No email client shown after reboot,
Renaming the original Email.apk did restore the client.
Edit: cas my rom is deodexed that's why. Got it to work through another procedure: http://forum.xda-developers.com/showthread.php?t=1117452 (don't forget to change file permissions as set on original .apk files :fingers-crossed
I'd recommend to use TochDown, as soon as it is not free you can try the trial version.
It also allows to get his calendars events outside of the app, so it really convinient.
A word of warning:
If you handle information your employer considers confidential, there's a very good chance that their IT department will find out that you're using this hack, and it's very likely to result in your termination, which may even be followed by legal action. Opt for IMAP/POP3 if at all possible; if Exchange is a requirement, request a company-provided device.
Be careful out there.
I am using Samsung Galaxy SL GB2.3.6 and tried using the email app which you have enclosed.
But when i replaced my stock email apk with your email apk, i get an error "email app force closed".
Only one difference I found out is, my system/app folder didn't have email.odex file.
Could you provide some suggestions
Thanks
pradeeprajr said:
I am using Samsung Galaxy SL GB2.3.6 and tried using the email app which you have enclosed.
But when i replaced my stock email apk with your email apk, i get an error "email app force closed".
Only one difference I found out is, my system/app folder didn't have email.odex file.
Could you provide some suggestions
Thanks
Click to expand...
Click to collapse
Hi!
These files are for the Samsung Captivate Glide specifically. If you wish to update for another phone, follow the link I included in my original post. You can generate for each phone individually.
Thanks!
Thanks. It run on IcePop ROM 1.3
Hi!
Thanks to all developers for your work.
I prove this app in Icepop ROM 1.3 that have not email aplicattion installed. And it work perfect. After I try with k9 email app but did not work my 1and1 account (SMTP error to send messages)
I try to write this recomendation in development forum in icePop ROM thread but I am noob
Thanks
koximo
I searched the forum. It seems a rare case that misdeleting the service application.
The story is quite simple. I wish to maximize the use of internal memory so I moved some applications from /system/app to /vendor, where roughly has 120mb unused space. All these files had been created symbol links under /system/app. Most of them worked fine, except the GoogleServicesFramework.apk, which I reckon verifying its physical path.
So I moved it back. The sad part was that I forgot the symbol link was still there. The file overrode the symbol link which linked to itself therefore axed it to 0 byte. Soon I found how serious it was. All google related service were down, the play store, the talk, the map, etc. The google service must do some verification so I can't simply find a GoogleServicesFramework.apk to replace it. I can't install it either. It failed instantly.
I don't know the background of GoogleServicesFramework.apk. Maybe I should remove all related applications then find a package to install all of them. Is there anyone knowing how to fix this problem?
My Xperia Play is 800a, version 2.3.4 kernel 2.6.32.9-perf build 4.0.2.A.0.42. It is my first andriod device and here is my first post so please be kind.
Wait for someone here to upload the file for you or back up your files and reflash.
well as you said you tried to install it and it instantly failed, it will
you should get that app and copy paste it to system/framework and before that CHANGE ITS PERMISSIONS
how? copy it to system folder go to permissions using root explorer and change them to r-w-r-r i.e tick first three row buttons and 2 column buttons
creative_md said:
well as you said you tried to install it and it instantly failed, it will
you should get that app and copy paste it to system/framework and before that CHANGE ITS PERMISSIONS
how? copy it to system folder go to permissions using root explorer and change them to r-w-r-r i.e tick first three row buttons and 2 column buttons
Click to expand...
Click to collapse
yeah, I've checked the permission. It's rw-r-r. But every GoogleServicesFramework.apk I've downloaded are slightly different in size. I suspect this file is highly sensitive to versions.
xiyue077 said:
yeah, I've checked the permission. It's rw-r-r. But every GoogleServicesFramework.apk I've downloaded are slightly different in size. I suspect this file is highly sensitive to versions.
Click to expand...
Click to collapse
i think you should try them and what you have got to lose? if you want your system (without GSF.apk) back just make a nandroid backup.
and you always got option of flashing stock firmware......
Another thing you can try is download a stock .ftf file, extract it and look for the file within the system files.. Copy paste and Bobs your uncle!
albanezi said:
Another thing you can try is download a stock .ftf file, extract it and look for the file within the system files.. Copy paste and Bobs your uncle!
Click to expand...
Click to collapse
The problem has been fixed. Thanks to every one. You guys gave me a lot of hints. The solution was like that:
1, uninstalled the play store from setup and removed the incorrect version GoogleServicesFramework.apk under /system/app
2, extracted the GoogleServicesFramework.apk from a ftf package carried 2.3.4 version. It should be 2MB around. The previous downloaded one was only 1MB. Maybe that's the reason it failed to install.
3, installed it, not to copy to /system/app! Then there will be a file like com.xxx.gsp.apk under /data/app directory.
4, rebooted the phone and would see the google store appeared. All services returned normal. Hooray!
I didn't try to move it back to /system. Most apps in /data had been moved to /system and /vendor so there are 200mb left in /data, fare enough to me
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
SilveradoZ71 said:
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
Click to expand...
Click to collapse
I'm no expert, but have you restored gallery back to /system/app or did you just click on .apk and chose to install it? Because if you installed it, it went to /data/app - maybe that's the reason it does not function as it supposed to?
And second, try to run it as an app - see if it starts in first place, maybe there's something else missing. Perhaps you deleted odex file as well, and because of this it does not start?
Just did a little experiment - restored apk and odex files back to /system/app - and option to change wallpaper appeared again. No reboot needed.
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
akp.ajinkya said:
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
Click to expand...
Click to collapse
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
SilveradoZ71 said:
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
Click to expand...
Click to collapse
You need to remount /system as read-write, just like you did before removing apps (if you removed them manually). Go to your terminal emulator or use ./adb shell get superuser (by typing "su") and type: mount -o rw,remount /system
After that you can move files to*/system. Just don't forget to reboot or remount /system as read-only when done.
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
SilveradoZ71 said:
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
Click to expand...
Click to collapse
I'm using 4.1.2 stock, so here are files from my /system/app:
http://ge.tt/11an8Gz
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Userius said:
I'm using 4.1.2 stock, so here are files from my /system/app:
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Click to expand...
Click to collapse
Any specific way to install it all back? I put everything back in system/app and rebooted. Nothing changed, it's not installed, and Android didn't "Update Apps" on the reboot. I try to install it with package installer like any other app and that fails. I've tried your odex and mine (which was never deleted).
That's great advice!
Hello
If anyone can help me- I'm running Magazine UX rom and ran a couple others like s tab for note. Anyway, I found the hancom office apk file in my root explorer, extracted them, moved them to system app folder corrected permissions, then installed. After doing so I cannot find it anywhere but back in root explorer. Can anyone tell me how to get this on a screen , open and finally use?
Thanks
Why go through the trouble of moving them into /system and setting permissions? Have you tried just installing them like normal apps?
Also, which APKs are you using? You need the shared component and the viewers and/or the editors.
blindmanpb said:
Why go through the trouble of moving them into /system and setting permissions? Have you tried just installing them like normal apps?
Also, which APKs are you using? You need the shared component and the viewers and/or the editors.
Click to expand...
Click to collapse
Hi hopefully I can explain this correctly… I found all the hancom apk files in one pf the previpus roms (s tab) in the root explorer. I know that to get an apk to work, it has to be put in the system/app folder and the permissions have to be changed to rw rr or whatever it is to match all the others in the folder. After doing so, extracting all of them and trying to open, the only one that finally appeared in my apps was hancom office viewer. The other 4 had 'done' for an option buttom unlike the viewer which also had 'open'. When I hit the open buttom I get the touchwhiz error. Anyway, heres spme pictures- I am beginning to thinks its this magazine ux rom that Im using. What is your opinion of all this and what rom do you use?
Hello all
Forgive me for any ignorance for any part of this, kinda still learning the Android stuff.
Basically I got a Tab Pro 8.4 for Xmas, an like a lot of it, but really don't care for the huge Weather widget, or how it's designed. But I do want to stay with a Accuweather version.
My first learning of Android came from a Stratosphere II phone I have, an I kinda like that weather widget. Plus I think it would be a little smaller.
To mention, I rooted that device as it was pretty easy, (an way out of warranty), but I have yet to root the 8.4 as seems to be more complicated and I kinda almost don't want to unless I really have too as I really don't want to trip the Knox.
Anyway, so my goal here was to try the Strat's weather widget in the 8.4, so I went into the system folder of the Strat, got all the files that had to do with anything of the weather widget, copied them to my PC, put them in the doc's folder of the 8.4, and then tried to copy them to same system folder, which I was able to view with Root Explorer, but when I went to paste them in, it told me I couldn't as the device was not rooted.
So is there any way I can get these files into there?
Thanks for any help.
To write or modify with '/' or '/system' files you will need root, really anything outside of the /mnt/sdcard directory(s) are mostly read only or 'locked' with permissions to a certain user (each "app" is a separate user).
Anyways I don't see why you would need to put the file there anyways as you should be able to just install it as a normal "User" application regardless where it was installed on the other device, all you need is the .apk file from the other device then install it on the 8.4, you will first need to enable "unknown Sources" in Settings.
(First on device that has the app you want - look in "/system/app/" ," /system/priv-app/" - there should be some files with a ".apk" extension find the one for the weather app /widget you want to use, and copy it to your pc, then copy the file to the tab 8.4, click on it in a file manager such as root explorer or the one that came with the tablet, it should prompt you to enable Unknown Sources under settings , enable the option, then proceed to install it - you shouldn't need any other files besides the apk )
If it doesn't work then the apk could be coded to a certain device (as some Samsung apps are) or just too old to run on kitkat.
See my screenshots for some basic example (the apk file will probably be called something else on the other device)
Thanks so much otyg, you are always such a great help.
So just to reply a few things . . . yes, the files were in the system/apps folder from the original device. Second, when I first got the 8.4, I went through all the settings menus, an found that thing on "Unknown Sources" an clicked it, kinda remember that from something I learned with the smartphone, so knew right off to check that. Guess the only reason am mentioning, is to mention that I have been using a few Explorer apps, but none have promoted me for what you mentioned, an am guessing as it was already checked(?).
So at the moment I have the files sitting in a documents folder of the 8.4, but now to ask on those . . . when I went into the app folder of the org device, there were several files that had the accuweather in them.
First on this point, there were three that had the apk ext, an those were, AccuweatherDaemon.apk, AccuweatherWidget_Main.apk and, AccuweatherWidget.apk.
Then to mention too, each one had a corresponding worded file with a .odex ext.
So not knowing much, I copied all six.
So don't know if you could answer this, but do you have any idea of which I should install, or should I install all of them? An again just to remind, what I am looking for here is the Widget from my org device, but I do want it to work. Then one more question on this point, is there anyway to uninstall these if any cause some kind of issue?
Lastly an just to mention, as I posted, I don't know much about the Android system, so just didn't know that a .apk file is basically a install file. KInda thought they were application execution files, which I think they are(?) . . . but they can be app install files a well? Sorry to ask such a knob question as well as so many others, but is how I will learn.
Again, thanks so much for the help.
WBFAir said:
Thanks so much otyg, you are always such a great help.
So just to reply a few things . . . yes, the files were in the system/apps folder from the original device. Second, when I first got the 8.4, I went through all the settings menus, an found that thing on "Unknown Sources" an clicked it, kinda remember that from something I learned with the smartphone, so knew right off to check that. Guess the only reason am mentioning, is to mention that I have been using a few Explorer apps, but none have promoted me for what you mentioned, an am guessing as it was already checked(?).
So at the moment I have the files sitting in a documents folder of the 8.4, but now to ask on those . . . when I went into the app folder of the org device, there were several files that had the accuweather in them.
First on this point, there were three that had the apk ext, an those were, AccuweatherDaemon.apk, AccuweatherWidget_Main.apk and, AccuweatherWidget.apk.
Then to mention too, each one had a corresponding worded file with a .odex ext.
So not knowing much, I copied all six.
So don't know if you could answer this, but do you have any idea of which I should install, or should I install all of them? An again just to remind, what I am looking for here is the Widget from my org device, but I do want it to work. Then one more question on this point, is there anyway to uninstall these if any cause some kind of issue?
Lastly an just to mention, as I posted, I don't know much about the Android system, so just didn't know that a .apk file is basically a install file. KInda thought they were application execution files, which I think they are(?) . . . but they can be app install files a well? Sorry to ask such a knob question as well as so many others, but is how I will learn.
Again, thanks so much for the help.
Click to expand...
Click to collapse
Apk files used for installing apps like an exe file on windows or a dmg on mac, when you install something from the play store it is delivered as an APK file but it just happens "behind the scenes" so to speak, you are just bypassing the play store and directly installing the app but it's the same process...
When you install a app this is what happens in most cases.
1. The APK(s) gets stored in /data/app/<applicationname.apk> (this will get removed on uninstall.)
2. it creates a unique directory under /data/data/<applicationname> (this will get removed on uninstall)
3. it can create a directory under /mnt/sdcard/Android/data/<applicationname> (these files usually get left behind on uninstall but since it's on the user storage the user can remove them, it usually contains settings or cache files)
You don't need the .odex files, these are encrypted and probably wont work on other devices, it's basically the apk optimized for the device so it starts faster.
Just install the 3 apk's, the widget probably needs the main program for support and the daemon service probably runs in the background for updates ..etc, since you are installing them as a normal user it won't do much harm and you can always remove them if they do cause an issue, Applications are self contained and when you remove them the corresponding data folders are removed too (on the device) so it is unlikely to do any lasting damage.
To remove them go to Settings -> General -> Application Manager -> Downloaded and remove the apps from there . (if you don't see them swipe right until you see All )
Thanks so much for the reply an the education otyg
Did just as you suggested, deleted the odex files an tapped on the apk's to install, an don't know for why, but while it seemed to go as normal, in the end, I got a message saying they did not install, for all three.
Replaced the odex's back an that didn't seem to make a dif.
Perhaps it didn't work as could not install as device is not rooted?
Just to mention, I did have something with my Strat II device back a few months ago, where I placed another version of a accuweather widget in the systems/app folder, an it did show up.
At any rate, was a good try an thanks again for all the info.
Perhaps if I can get this device rooted, I can try again by just putting the apps in the folder.