[MOD] Email.apk With Exchange Security Removed - AT&T Samsung Galaxy S II SGH-I777

Tired of having to type in a password or PIN into your phone just because your Corporate Email account requires it? I know I am.
This modified Email.apk will allow you to bypass the password, and possibly other exchange security policies, simply because, when it evaluates the policy to see if it is active, it always returns that it is. And so, when it checks to see if your PIN is active, it simply thinks it is, and continues to go about it's business as normal.
To install do the following:
Code:
adb shell mount -o remount rw /system
adb push Email.apk /system/app/Email.apk
adb shell rm /system/app/Email.odex
adb reboot
Now with MOAR flashable zip.
YMMV, I am not responsible if you get fired for circumventing your company's Exchange Policies.
Appreciate my work? Buy Me a Beer:

Fenny said:
Tired of having to type in a password or PIN into your phone just because your Corporate Email account requires it? I know I am.
This modified Email.apk will allow you to bypass the password, and possibly other exchange security policies, simply because, when it evaluates the policy to see if it is active, it always returns that it is. And so, when it checks to see if your PIN is active, it simply thinks it is, and continues to go about it's business as normal.
To install do the following:
Code:
adb shell mount -o remount rw /system
adb push Email.apk /system/app/Email.apk
adb shell rm /system/app/Email.odex
adb reboot
Now with MOAR flashable zip.
YMMV, I am not responsible if you get fired for circumventing your company's Exchange Policies.
Click to expand...
Click to collapse
Anyone else use this? I'm interested...
My work installs a policy stating pw has to be typed in after 29mins...On Atrix I could hit the power button and it wouldn't require the me to type password until after 29 mins.
With S2, if I let the screen time out, I can awaken it and not type in password. If I hit the power button it makes me type it in.
Would love the behavior my Atrix had, I don't mind typing it in after no usage for 29 mins...but I hate that I have to type it in every time I hit the power button to turn off screen.

Does this still display all of the source formatting and header inform in verbosity that the stock email app displays in messages?
That's a really unpleasant visual experience. Thanks.
--
Sent from a mobile device, all typos are errors in transmission. Please excuse my brevity.

jank0023 said:
Anyone else use this? I'm interested...
My work installs a policy stating pw has to be typed in after 29mins...On Atrix I could hit the power button and it wouldn't require the me to type password until after 29 mins.
With S2, if I let the screen time out, I can awaken it and not type in password. If I hit the power button it makes me type it in.
Would love the behavior my Atrix had, I don't mind typing it in after no usage for 29 mins...but I hate that I have to type it in every time I hit the power button to turn off screen.
Click to expand...
Click to collapse
That behavior is in the system frameworks. This mod will allow you to, for instance use a pattern unlock where your work's exchange policies may require a numeric pin. Or no pin at all, it won't change the behavior of the system's lock/unlock timeout policies, just the exchange enforced ones.
prata said:
Does this still display all of the source formatting and header inform in verbosity that the stock email app displays in messages?
That's a really unpleasant visual experience. Thanks.
--
Sent from a mobile device, all typos are errors in transmission. Please excuse my brevity.
Click to expand...
Click to collapse
It does nothing more than remove exchange policy enforcement.

Thanks for the info.

Do you know if this email.apk supportss multi select for "Mark Read" and "Mark Unread" and "Delete" ?

SNadler said:
Do you know if this email.apk supportss multi select for "Mark Read" and "Mark Unread" and "Delete" ?
Click to expand...
Click to collapse
Fenny said:
It does nothing more than remove exchange policy enforcement.
Click to expand...
Click to collapse
Hope that answers the question!
Also, fyi , all variations of the email client support multiple delete, just choose the delete menu item when viewing your inbox or some other folder.

Thanks. This is awesome I've always hated having zero timeout.

Quick newb question..anyone know why I wouldn't be able to perform:
adb shell mount -o remount rw /system
I get error mount: Operation not permitted
I know I have root and I have debugging enabled....I'm familiar with running adb on my Atrix...for the life of me can't figure out what I may have missed.

Try doing this:
Code:
adb push Email.apk /sdcard/Email.apk
adb shell
su
//Here accept the superuser request on the phone.
mount -o remount rw /system
rm /system/app/Email.odex
cp /sdcard/Email.apk /system/app/Email.apk
chmod 644 /system/app/Email.apk
reboot
If it gives you an error on 'cp' reinstall busybox... you can download the busybox installer from the market.

Will this APK work on other phones? Thinking about giving it a try on my DInc.
Also, any idea if you have to re-add your Exchange account after replacing the APK? Or should all of my Exchange settings (username/pw etc) remain unchanged?

chrikenn said:
Will this APK work on other phones? Thinking about giving it a try on my DInc.
Also, any idea if you have to re-add your Exchange account after replacing the APK? Or should all of my Exchange settings (username/pw etc) remain unchanged?
Click to expand...
Click to collapse
this one probably will not work on your device. However, if you can get me a deodexed version of that Email.apk I can probably mod it for you.

Sweet, thanks for the offer! I'm actually in the process of switching phones, but once I actually get one that I'm gonna hang on to for awhile I might drop you a line.

What is a MOAR flashable zip (ref OP)? I googled this and still found nothing.
I flashed the zip file with my CWR and it didn't seem to change my EMAIL.APK app. I added my Exchange account and it went through the same wizard with password and both USB and SD card file encryption requirement. I was not sure what file encryption they were going to use, so I removed the account from "Accounts and sync" before rebooting. But still when I rebooted, it prompted for the password, but so far has not encrypted any of my data. I then removed the password and was back to normal with no Exchange email. Any thoughts?

Try http://forum.xda-developers.com/showthread.php?t=775007 -- I can't speak for the SGS II, but works fine on SGS4G under Froyo

tone_la said:
What is a MOAR flashable zip (ref OP)? I googled this and still found nothing.
Click to expand...
Click to collapse
It's a comical corruption of the word "more," meaning that the zip is now flashable. Imagine a cat saying it.

Could someone please confirm if this has worked on AT&T Samsung galaxy s2 that is rooted but still on Stock ROM?
Basically I would like to get rid of password (PIN, alphanumeric) requirement for Microsoft exchange email setup on my phone, would like to use "Draw pattern Unlock" , simple and good lock mechanism.
My problem is I got used to iphone's 4 digit unlock pin and this password screen does not show boxy fields and in iphone once you type in 4 digits it automatically opens up, you don't need to specifically press "OK" button as in S2.

rav4kar said:
Could someone please confirm if this has worked on AT&T Samsung galaxy s2 that is rooted but still on Stock ROM?
Basically I would like to get rid of password (PIN, alphanumeric) requirement for Microsoft exchange email setup on my phone, would like to use "Draw pattern Unlock" , simple and good lock mechanism.
My problem is I got used to iphone's 4 digit unlock pin and this password screen does not show boxy fields and in iphone once you type in 4 digits it automatically opens up, you don't need to specifically press "OK" button as in S2.
Click to expand...
Click to collapse
Yeah, it works perfectly on rooted stock, enjoy!

Massael said:
Yeah, it works perfectly on rooted stock, enjoy!
Click to expand...
Click to collapse
Thanks much for confirming this..

Okay folks, I applied this and worked fine but got panicked!
For those who try this be advised from my experience...once you follow the steps as given in the original post, it may remove the Email icon (shortcut) on the home screen and all email setup, so do not get panicked please make sure you save important details such as Exchange server name, etc. beforehand that you can reconfigure later.
Thanks!

Related

[Q] WiFi issue (unable to scan networks)

Hello every body...
when I turn on the WI-FI the massage appear Unable to Scan Networks Then the wi-fi turns itself off.
Help me please guys...
i would suggest reflashing the stock firmware with ODIN. I had an issue like this on my Nexus One. Nothing helped. I had to fully wipe the phone and start over.
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
Awesome! Many thanks for the tip! You've made my day! That file's gotta be deleted from time to time, as it can get quite clogged. (And when you think I could've re-flashed my phone as per the previous post...!)
I having the same problem as this. after i removed and re entered my wifi login. also i had been on holiday and logged into a few other wifi routers.
when i re entered my home wifi it just kept turning off and saying "unable to scan networks"
its a vodafone UK contract Galaxy S (if that makes any difference)
I tried to root my phone using
[PROGRAM] One Click Root/UnRoot I9000 (Eclair and Froyo) Mac and PC
it seemed to work . i had an extra app for changing a few settings. but i still couldn't find the wifi file i need to delete? Had it not been rooted properly?
I'd really like to fix this without having to do a master reset every time?
What are my options?
Could i take an image of the mobile and remove the file from the image? then restore the image. A bit crazy if routing is not a possibility?
Can anyone help?
Thank you, unable to scan networks solved
How did you solve it?
with master reset?
Latest update to DI07 fixed this issue for me
The update was DI07 for the Samsung Epic 4G, not the Vibrant.
llamaunix said:
This weekend's update to DI07 from DG27 has fixed my "Unable to scan" Wifi issues. Since a few days ago when I would turn on Wifi it would turn itself off after about 10-20 seconds. It would also show a message saying "unable to scan for networks".. Previously I read that a factory reset would fix this problem but I held out for the new update to be pushed to my phone today (9/19) and indeed it fixed my problem. After the update rebooted, my Wifi turned on with no problem and it showed my previously added networks as well.
Good luck!
Click to expand...
Click to collapse
Is this update for the galaxy S?
or is there going to be a similar update?
I haven't logged onto another WIFI since I had to reset the phone (apart from my home WIFI). so i don't have to go through setting it up again.
cheers for the extra info
quick update
I am backing up with titanium backup manger now (free)
so hopefully it will restore the wifi it goes wrong again
(the phone needs to be ROOTED for the Titanium backup to work)
I rooted my phone with
http://forum.xda-developers.com/showthread.php?t=742403
one click rooter ( i couldn't run the "Galaxy S I9000 One-Click Root" file. i ran "rootme" file for 2.1 android, the rootme2.2 is for 2.2 it says dont run both)
And have 'astro file manager'(Free) and can explore more of my phone by pressing the up button a few times.
in astro file manger I searched for the word 'wifi' and got about 3 results. So its probably one of these.
We'll it working for the moment but I'm posting the more info for anyone else.
(I still don't know which file to delete to reset the wifi though.) but the titanium backup should be able to restore the wifi settings
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
hello alsatea,
I have the wifi problem as well, and my galaxy s is rooted by running rootme but I can't find the bcm_supp.conf file. How do I fix the problem without applying factory reset?
thanks
chanXda said:
hello alsatea,
I have the wifi problem as well, and my galaxy s is rooted by running rootme but I can't find the bcm_supp.conf file. How do I fix the problem without applying factory reset?
thanks
Click to expand...
Click to collapse
Hi,
You have first to open 'adb shell' and in the shell enter 'su' (you must allow superuser access on your phone).
Next execute 'rm /data/wifi/bcm_supp.conf' and finaly 'reboot'
Good luck,
Mark
CommanderTux said:
Hi,
You have first to open 'adb shell' and in the shell enter 'su' (you must allow superuser access on your phone).
Next execute 'rm /data/wifi/bcm_supp.conf' and finaly 'reboot'
Good luck,
Mark
Click to expand...
Click to collapse
THANK YOU SO MUCH.
I spent over an hour on the phone with AT&T and then with Samsung trying to resolve the "unable to scan networks" issue. Absolutely worthless.
I rooted my phone just to try this and avoid doing the factory reset, and it worked!
Now if only I knew how to avoid this in the future...
thanks this actually worked for my fascinate as well.. saved me some hassle!
I had the unable to scan networks problem on my Bell Canada Samsung Galaxy S Vibrant.
Have been attaching to static IP in my house using Wifi Static app. (great app, by the way. stores configurations for multiple static ips and then configures wifi and connects automatically when you're in range of one of them. no more manual fiddling with settings for every static IP)
But I guess this precipitated whatever happens to the "conf" file mentioned above.
Initially installed ES Strong file manager to see if I could see the contents of the /data folder. Showed up as empty. (apparently not a high enough level of access to see if there's anything in there)
So needed to go for "root" access.
Rooted my phone with One Click Root:
http://forum.xda-developers.com/showthread.php?t=742403
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
The terminal procedure could probably be put into a script.
Next time it happens, I'll just do the same.
Once Bell releases Froyo in Mid-dec, maybe this will be solved. But I'll probably hold off and watch the forums for a while before jumping to Froyo just in case it buggers up something else.
Good luck!
dietrite said:
Now if only I knew how to avoid this in the future...
Click to expand...
Click to collapse
android market
titanium backup
free version
paid is very fast
titanium backup
phone menu button
batch
backup all apps and user data (look for the highest number on the right)
it backs up everything
maybe set a schedule to back up
--
if wifi goes wrong
select backup restore tab
and restore wifi settings
--
xdacalfun said:
I had the unable to scan networks problem on my Bell Canada Samsung Galaxy S Vibrant.
Have been attaching to static IP in my house using Wifi Static app. (great app, by the way. stores configurations for multiple static ips and then configures wifi and connects automatically when you're in range of one of them. no more manual fiddling with settings for every static IP)
But I guess this precipitated whatever happens to the "conf" file mentioned above.
Initially installed ES Strong file manager to see if I could see the contents of the /data folder. Showed up as empty. (apparently not a high enough level of access to see if there's anything in there)
So needed to go for "root" access.
Rooted my phone with One Click Root:
http://forum.xda-developers.com/showthread.php?t=742403
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
The terminal procedure could probably be put into a script.
Next time it happens, I'll just do the same.
Once Bell releases Froyo in Mid-dec, maybe this will be solved. But I'll probably hold off and watch the forums for a while before jumping to Froyo just in case it buggers up something else.
Good luck!
Click to expand...
Click to collapse
Had the same problem. Then I was having problems getting Superuser to allow my ADB shell, so I followed the steps above with a terminal emulator and got my Wi-fi on my Captivate back. thx
xdacalfun said:
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
Click to expand...
Click to collapse
Beautiful, works great, and I can do this with out a PC, and much more simple. Very nice when you are traveling. Thanks for the tip.
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
Thanks a lot alsatea. Deleting /data/wifi/bcm_supp.conf and rebooting resolved the problem and I got back wi-fi. All the networks remembered previously came back. Thanks mate.
Just in case anyone is reading this topic but is unable to find the bcm_supp.conf file, try this instead:
> adb shell
$ su
# cd /data/misc
# chown wifi.wifi wifi
Then try enabling the wifi again. It should work.

Error “Can’t establish a reliable data connection to the server”

I recently got my Samsung captivate and whenever i try to open market, gmail etc i need to sign in with my google account. This is fine, however it doesnt let me. I enter all my details correctly and i get "Error Can’t establish a reliable data connection to the server".
Im doing it over wifi and ive tried with my SIM in and out. Ive also tried the youtube workaround but i get "There was a network error while trying to sign in". My phone is parallel imported and has Android 2.2 with lidroid.
I have factory reset 3 times now but nothing has helped, each time i am presented with a chinease setup screen which i cannot understand.
Could someone please help me
- Doc
anyone know what to do?
I read this...
1. adb remount
2. adb shell
3. su
4. rm /data/data/com.android.providers.settings/databases/settings.db
Not good with android, could someone explain if the above would work?
doctorwhobbc said:
anyone know what to do?
I read this...
1. adb remount
2. adb shell
3. su
4. rm /data/data/com.android.providers.settings/databases/settings.db
Not good with android, could someone explain if the above would work?
Click to expand...
Click to collapse
I went to /data/data/com.android.providers.settings/ and there was only a folder called lib and nothing was in it. would this be the problem? does anyone know what the correct files should be in /data/data/com.android.providers.settings/
thanks
call your cellular provider. i had this issue before. it is server issue in my cellular provider

Wifi mobile AP keeps resetting?

Every time I try to use it, it always renames the access point back to "Android AP" and wipes the password as well - anyone come across a fix?
I'm running the official 2.3.5 firmware.
superdx said:
Every time I try to use it, it always renames the access point back to "Android AP" and wipes the password as well - anyone come across a fix?
I'm running the official 2.3.5 firmware.
Click to expand...
Click to collapse
I am not quite sure what your problem is.
Do you mean tethering?
And your phone does not keep the AP name and password for its own WLAN hotspot?
I am sure that there are some tethering apps on the Market.
Maybe one of them can help you to configure a customized AP name and password and saves it for later use.
Yep that's it exactly, tethering. The AP name and password keep resetting!
http://forum.xda-developers.com/showpost.php?p=18711488&postcount=128
clefster said:
This is because the permissions for the wifi settings got messed up so it can't write out your new permissions. The error handling isn't too good so it doesn't tell you about it
To fix, in a rooted terminal run this command:
chmod 770 /data/misc/wifi
Click to expand...
Click to collapse
After struggling with root, I tried your command and it doesn't work, says Operation not permitted

[APP] ICS/JB AOSP Email Client for Motorola RAZR HD.

So while I am quite satisfied with the factory firmware on the XT925/926 as-is, the email client is rather clunky and I prefer the AOSP version. Good news guys, the factory firmware can use the AOSP Email.apk!
Credit goes to kabadisha for the original, easy to follow instructions.
Before You Start...
[MANDATORY] First and foremost, the phone needs to be rooted. If you haven't done so, check out this thread: http://forum.xda-developers.com/showthread.php?t=1943851
[MANDATORY] ADB on your computer or Terminal Emulator app on the phone. If you want ADB, the email-policy-patch in this thread has the file in the 'lib' folder: http://forum.xda-developers.com/showthread.php?t=1117452
[RECOMMENDED] Titanium Backup for backing up and removing the stock Motorola Email client. If you want to save these files, do this before proceeding to the instructions below. The APK files you need to backup/remove are MotoEmail.apk and MotoEmailConfig.apk.
Instruction for ADB Users
Connect the phone to the computer.
Download the corresponding Email.apk and Exchange.apk in the attachment section at the end of this post. Get the ones with the prefix 'ICS_' if you are on 4.04 Ice Cream Sandwich firmware, OR 'JB_' if you are on the 4.1.2 Jellybean firmware. DO NOT mix them or use the wrong ones, as they may not work correctly. Rename them to Email.apk and Exchange.apk respectively and place them in the root directory of your phone's internal SD card.
Go to the directory where you put your ADB executable. Hold SHIFT key, right-click anywhere in the window in this directory and select 'Open Command Prompt Here'.
Type the following in the command prompt and press Enter:
Code:
adb shell
If the Motorola driver is installed correctly and the phone is plugged to the PC, it should change the prompt to '[email protected]'. Type the following and press Enter, and the prompt should change to '[email protected]':
Code:
su
Now you're ready to actually do the work of getting the AOSP Email client on the phone. First, we need to set the /system partition to allow us to read/write to that directory, and remount it to make sure the permissions are updated. Type the following and press Enter:
Code:
mount -o rw,remount /system
...Let's change the current active directory to where all of the phone's installed apps are kept. Type the following in the command prompt and press Enter:
Code:
cd /system/app
Type the following in the command prompt and press Enter to copy the Email.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Email.apk /system/app/Email.apk
Type the following in the command prompt and press Enter to copy the Exchange.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Exchange.apk /system/app/Exchange.apk
Almost there! The last thing we need to do is change the permissions of these copied files so the OS can handle them properly. Type the following and press enter:
Code:
chmod 744 Email.apk
Code:
chmod 744 Exchange.apk
*Thanks to vrus1 for pointing this out*
Code:
Go to Settings > Manage App > Email and select 'Clear Data'.
Reboot the phone. Do this the ol' fashion way by directly interfacing with the device or enter the following in the prompt:
Code:
exit
Code:
exit
Code:
adb reboot
Click to expand...
Click to collapse
Instruction for Terminal Emulator Users
Connect the phone to the computer.
Download the corresponding Email.apk and Exchange.apk in the attachment section at the end of this post. Get the ones with the prefix 'ICS_' if you are on 4.04 Ice Cream Sandwich firmware, OR 'JB_' if you are on the 4.1.2 Jellybean firmware. DO NOT mix them or use the wrong ones, as they may not work correctly. Rename them to Email.apk and Exchange.apk respectively and place them in the root directory of your phone's internal SD card.
Open the Terminal Emulator app. Type the following in the command prompt and press Enter:
Code:
su
Now you're ready to actually do the work of getting the AOSP Email client on the phone. First, we need to set the /system partition to allow us to read/write to that directory, and remount it to make sure the permissions are updated. Type the following and press Enter:
Code:
mount -o rw,remount /system
...Let's change the current active directory to where all of the phone's installed apps are kept. Type the following in the command prompt and press Enter:
Code:
cd /system/app
Type the following in the command prompt and press Enter to copy the Email.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Email.apk /system/app/Email.apk
Type the following in the command prompt and press Enter to copy the Exchange.apk that you downloaded earlier into this directory:
Code:
cp /sdcard/Exchange.apk /system/app/Exchange.apk
Almost there! The last thing we need to do is change the permissions of these copied files so the OS can handle them properly. Type the following and press enter:
Code:
chmod 744 Email.apk
Code:
chmod 744 Exchange.apk
*Thanks to vrus1 for pointing this out*
Code:
Go to Settings > Manage App > Email and select 'Clear Data'.
Reboot the phone.
Click to expand...
Click to collapse
Once the phone has been rebooted, you should now have the AOSP Email Client in the application menu. Set it up as normal and you should be ready to roll. So far I have not run into any sync issues or anything out of the ordinary. If you are experiencing otherwise, please let us know!
Closing Notes
If you encounter any issues following these steps, please let me know so I can correct it.
Other Motorola ICS/JB device users: This should work for your devices as well as the firmwares between our devices are nearly identical.
Using the AOSP Email client will now allow you to use the Exchange Security Policy Bypass script that is not compatible with the Motorola client. Please be aware that by doing this, you may be violating your company's security policies which may place you under severe disciplinary actions or job termination at your company's discretion. Others that have provided the tools and instructions to perform this, including myself, cannot be held responsible if the worse case scenario occurs. You have been warned.
Sorry to bother.
Could these files be used for ICS 4.0.4 Samsung Galaxy SIII?
I've been trying like crazy to get the AOSP Email apk working.
Thanks for any feedback or recommendation.
Sent from my Nexus 7 using Tapatalk 2
Hobbes2099 said:
Sorry to bother.
Could these files be used for ICS 4.0.4 Samsung Galaxy SIII?
I've been trying like crazy to get the AOSP Email apk working.
Thanks for any feedback or recommendation.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
No guarantees. While this method uses generic Unix commands that all Android devices will understand, it all depends on how the manufacturer has their firmware setup since some may have the Email client integrated into their launcher framework for notification counters, widgets, etc. You can attempt this and see if it works, and worst case scenario, simply delete the two files from \system\app to reverse the process.
For the Galaxy S III, I believe your Email client is SecEmail.apk and Exchange.apk. Backup and remove those before using the files in the attachment.
Worked great on my Droid Razr Maxx - thanks!
Thankss
Anybody try this on the RAZR Max HD with vrz
Sent from my DROID RAZR HD using Tapatalk 2
This is awesome. Thanks for posting this info. Works great on Bionic ICS.
Is this the black version?
Sent from my XT910 using xda app-developers app
Does this disable the exchange security?
mikeymax said:
Anybody try this on the RAZR Max HD with vrz
Sent from my DROID RAZR HD using Tapatalk 2
Click to expand...
Click to collapse
Yes, this procedure was done successfully on a RAZR MAXX HD.
zhzaen said:
Does this disable the exchange security?
Click to expand...
Click to collapse
No, it takes you halfway there -- getting the AOSP Email client on your phone, which is compatible with the email-policy-patch script that can modify these APKs. You cannot disable the exchange security on the stock Email that comes on your Motorola phones because it is custom.
anyone able to get these or actual AOSP JB Email apks to work with the JB leak?
Ive tried these ICS apk and some JB apks I found. No luck on either.
I assume we could just use root explorer to do this as well right?
Gave this a go to see if it can see folders within my inbox of my corporate exchange account.. nope. back to stock for now.
Apparently the 4.0.4 version doesnt work properly in this regard and the 4.1.x can do it..
Thank you anyway.
Doesn't work on mine.. FC as soon as you try to open Email app.
I am running stock 4.0.4 Razr HD LTE from Rogers. I followed instructions to a "T". Everything worked as expected but it just wont run.
Ok.. Got it working... Before removing/renaming old Email client, go into Manage Apps, Email, CLEAR DATA.
Then rename old files and push new ones.
Reboot.
Go back into Manage Apps, Email, CLEAR DATA.
Reboot.
Works great and thank you for sharing!!! I hate the stock app because it doesnt synchronize Email Reply/Forward status and drove me crazy.
Jelly Bean Official. Now Let's Do This.
OK. So now that JB is pushed out, I really need to get working on this. If anyone has any direction or ideas, please share. The blur email is awful, plus I really want to disable Exchange security policy.
Other than the email app, the HD Maxx is the best phone out there. I went back to it from a HTC DNA.
AOSP FTW.
vrus1 said:
Ok.. Got it working... Before removing/renaming old Email client, go into Manage Apps, Email, CLEAR DATA.
Then rename old files and push new ones.
Reboot.
Go back into Manage Apps, Email, CLEAR DATA.
Reboot.
Works great and thank you for sharing!!! I hate the stock app because it doesnt synchronize Email Reply/Forward status and drove me crazy.
Click to expand...
Click to collapse
Following this procedure got it working for me. Thanks for the Clear Data tip. I think users should note, you MUST reboot after clearing data. Simply clearing data and relaunching the app does not work.
My setup is rooted OTA JB. I used rootkeeper to retain root through the OTA update. After following the OP directions, I kept getting force closes and crashes. I simply thought it was because of JB and it may have been. However after reading through the rest of the post, user VRUS1's tip got it working. This step should be added to the OP.
Thanks to both of you. I couldn't stand the MotoEmail.apk...
Thanks for this!! This was a life saver for me!!
Thank you for the feedback guys. I disappeared for a bit and now have a XT925 RAZR HD and I'm running JB firmware with AOSP Email client right now. I will update the original post with the comments and Jellybean APKs tonight.
It's been updated with Jellybean APKs and revised instructions. As usual, please provide feedback if something is off in the instructions or you experience abnormal issues.

FydeOS with full Google sync and without using a FydeOs account

FydeOs is a good chromium fork and it supports android, but it lacks a full google sync and that’s not so good, since sync across multiple devices is the best thing ever and that’s where Google services do play their best. At least I think so.
Moreover, FydeOs by default sends the user’s data to their servers. They do such thing in an open way, through a FydeOs account, so they shouldn’t be blamed, but we are free to use the Os which is in our device without sharing our data with FydeOs so as some don’t like sharing their data with Google.
So, I have found a quite easy way to remove those limitations. The purpose is to use FydeOs without a FydeOs account, without sharing our data (passwords and so on) with them, while retaining a fully functional play store and a full google sync.
This is a simple how-to written in a few spare time. If I get more time, I will make it less rough.
First of all, press CTRL + ALT + T
then use this commands
shell
sudo su
and you’ll have got to insert the password chronos
then go on and mount the system to read and write
sudo mount -o remount,rw /
then remove a couple of files
cd /etc/chromium/policies/managed
sudo rm *.*
Then edit the conf file
cd /etc
sudo vim chrome_dev.conf
(disclaimer: please google for vim commands, it’s preinstalled in chrome os)
comment the lines referring to FydeOs account like that and add a line referring to google account (maybe useless)
#--fydeos-account-enabled
#--fydemina
--google-account-enabled
Close the tab and open a chromium tab in incognito mode, then type
chrome://flags
Look for the flag Support secondary accounts for Sync standalone transport
and switch it on.
Then reboot and you’ll be able to add a secondary account, then you'll be prompted to insert your google account.
Follow the usual steps to configure the device and your apps and settings will be restored (if you already have got another chromebook). The file manager now will show your google drive folder
To install the play store you have got to edit chrome_dev.conf, by uncommenting the lines which you had previously commented, and reboot...
Then you can use the app provided by FydeOs to install the Play store. This step will remove the google sync and you won’t see google drive inside the file manager.
Now you can comment those lines again and reboot and everything will be fine i.e. google sync will be back.
After rebooting, you can go to chromium extensions and remove the FydeOs extension (the one which sends your data to their servers) and you can go to the shelf and remove the installer with the chinese name, by simply clicking it.
Now you can use the secondary account, which is fully working and syncing to google servers (only) and forget about the other one (i.e. the FydeOs one).
I tested these steps once only and maybe not all of them were required, but my device has been working fine for 3 days straight without any issue.
lucaoldb said:
FydeOs is a good chromium fork and it supports android, but it lacks a full google sync and that’s not so good, since sync across multiple devices is the best thing ever and that’s where Google services do play their best. At least I think so.
Moreover, FydeOs by default sends the user’s data to their servers. They do such thing in an open way, through a FydeOs account, so they shouldn’t be blamed, but we are free to use the Os which is in our device without sharing our data with FydeOs so as some don’t like sharing their data with Google.
So, I have found a quite easy way to remove those limitations. The purpose is to use FydeOs without a FydeOs account, without sharing our data (passwords and so on) with them, while retaining a fully functional play store and a full google sync.
This is a simple how-to written in a few spare time. If I get more time, I will make it less rough.
First of all, press CTRL + ALT + T
then use this commands
shell
sudo su
and you’ll have got to insert the password chronos
then go on and mount the system to read and write
sudo mount -o remount,rw /
then remove a couple of files
cd /etc/chromium/policies/managed
sudo rm *.*
Then edit the conf file
cd /etc
sudo vim chrome_dev.conf
(disclaimer: please google for vim commands, it’s preinstalled in chrome os)
comment the lines referring to FydeOs account like that and add a line referring to google account (maybe useless)
#--fydeos-account-enabled
#--fydemina
--google-account-enabled
Close the tab and open a chromium tab in incognito mode, then type
chrome://flags
Look for the flag Support secondary accounts for Sync standalone transport
and switch it on.
Then reboot and you’ll be prompted to insert your google account.
Follow the usual steps to configure the device and your apps and settings will be restored (if you already have got another chromebook). The file manager now will show your google drive folder
Click to expand...
Click to collapse
Thanks for the walkthrough! Thankfully I'm familiar with VIM so your instructions were easy peasy.
I did up until here on my flash drive with my main laptop but since it's AMD and won't run Android apps or Linux, I switched to my Intel. First boot let me log into Google right away and appeared to have Android enabled but kept erroring when trying to connect so I proceeded with the steps to progress and was successful. I don't even have a fydeos account on here at all!
I assume you could follow these steps the way I did to get it on a he's without having the fydeos account as well (this was all on a flash drive)
coolloser said:
Thanks for the walkthrough! Thankfully I'm familiar with VIM so your instructions were easy peasy.
I did up until here on my flash drive with my main laptop but since it's AMD and won't run Android apps or Linux, I switched to my Intel. First boot let me log into Google right away and appeared to have Android enabled but kept erroring when trying to connect so I proceeded with the steps to progress and was successful. I don't even have a fydeos account on here at all!
I assume you could follow these steps the way I did to get it on a he's without having the fydeos account as well (this was all on a flash drive)
Click to expand...
Click to collapse
Yes, I had just reported the way I had gone, but I was quite sure that some steps were redundant
lucaoldb said:
Yes, I had just reported the way I had gone, but I was quite sure that some steps were redundant
Click to expand...
Click to collapse
I'm just glad you were successful, I knew there had to be a way to do it!
I'll try installing it onto the hard drive maybe tonight, it'll be a triple boot setup with win 7 and 10 though so I may try and find a different old computer to try instead to save the head ache...
I have fyde os on USB working but my issue is full install on my laptop is using EMMC storage and when installing it aborts at the end. What are the commands to install on EMMC drive? Thanks again.
primod808 said:
I have fyde os on USB working but my issue is full install on my laptop is using EMMC storage and when installing it aborts at the end. What are the commands to install on EMMC drive? Thanks again.
Click to expand...
Click to collapse
I just followed these instructions https://neverware.zendesk.com/hc/en-us/articles/213131287-Manual-Installation-Via-the-Cmd-Line
Hello. Thank you very much for these instructions.
But i got stuck at this point
"After rebooting, you can go to chromium extensions and remove the FydeOs extension (the one which sends your data to their servers) and you can go to the shelf and remove the installer with the chinese name, by simply clicking it."
I can't delete these apps because they seem to be installed with enterprise policies. Can someone help please?:silly:
Ah... I did a powerwash and logged in with my Google account. I could then delete the fydeos extensions
Ok feeling stupid I did his before but now I'm having trouble putting the commands. Stuck after incognito enabled secondary account sync flag then it ask to reboot browser. Not the computer reboot but chrome browser reboot but it doesn't prompt me to login to my Google account. Went back to she'll mount remount to try again but get this. After cd etc/chromium/policies/managed hit enter add sudo rm *.* It say cannot remove no such file found. When i did it the first time I can get to the vim part I commented last 2 lines and added the Google enabled line then i :wq to save and quit. Do suppose save and quit right or does it save automatically?
primod808 said:
Ok feeling stupid I did his before but now I'm having trouble putting the commands. Stuck after incognito enabled secondary account sync flag then it ask to reboot browser. Not the computer reboot but chrome browser reboot but it doesn't prompt me to login to my Google account. Went back to she'll mount remount to try again but get this. After cd etc/chromium/policies/managed hit enter add sudo rm *.* It say cannot remove no such file found. When i did it the first time I can get to the vim part I commented last 2 lines and added the Google enabled line then i :wq to save and quit. Do suppose save and quit right or does it save automatically?
Click to expand...
Click to collapse
The file is removed which is why it can't find it. wq saves and quits the editor so that's ready. Try a full reboot and see if adding a new account goes through Google now instead of fyde servers.
coolloser said:
The file is removed which is why it can't find it. wq saves and quits the editor so that's ready. Try a full reboot and see if adding a new account goes through Google now instead of fyde servers.
Click to expand...
Click to collapse
Thanks I tried but still didn't work.
primod808 said:
Thanks I tried but still didn't work.
Click to expand...
Click to collapse
Open up the chrome_dev.conf and see if your changes are there perhaps?
coolloser said:
Open up the chrome_dev.conf and see if your changes are there perhaps?
Click to expand...
Click to collapse
I checked it's like it never saved the first time i don't see google-account-enabled I always have to keep adding the line.
[
primod808 said:
I checked it's like it never saved the first time i don't see google-account-enabled I always have to keep adding the line.
Click to expand...
Click to collapse
you'll have to mount the drive as read and write again then apply changes.
shell
sudo su (enter your pw)
sudo mount -o remount,rw /
Then edit the conf file
cd /etc
sudo vim chrome_dev.conf
coolloser said:
[
you'll have to mount the drive as read and write again then apply changes.
shell
sudo su (enter your pw)
sudo mount -o remount,rw /
Then edit the conf file
cd /etc
sudo vim chrome_dev.conf
Click to expand...
Click to collapse
Strange I always do that but it never keeps my changes every time I check to see if my changes applied it never saves it. In the instructions op it didn't say to save I use :wq close tab and go to chrome://flags enabled secondary account let it reboot also did full system reboot and still doesn't prompt me for my Google account. Check again in vim and I always see that my changes never is saved.
primod808 said:
Strange I always do that but it never keeps my changes every time I check to see if my changes applied it never saves it. In the instructions op it didn't say to save I use :wq close tab and go to chrome://flags enabled secondary account let it reboot also did full system reboot and still doesn't prompt me for my Google account. Check again in vim and I always see that my changes never is saved.
Click to expand...
Click to collapse
It is weird!
Try saving the file with :w before quitting with :q to see if there are errors shown
coolloser said:
It is weird!
Try saving the file with :w before quitting with :q to see if there are errors shown
Click to expand...
Click to collapse
Damn have to head in to work I'll give a try when I get home. Thanks for the help and advise and will report my findings.
primod808 said:
Damn have to head in to work I'll give a try when I get home. Thanks for the help and advise and will report my findings.
Click to expand...
Click to collapse
Have fun at work! Hope it works out for you in the end, sorry if I haven't helped
What is chrome.dev.conf.swp I see this after entering vim command. Do I suppose to delete this ?
primod808 said:
What is chrome.dev.conf.swp I see this after entering vim command. Do I suppose to delete this ?
Click to expand...
Click to collapse
It's like a temp copy of the configuration file, you shouldn't need to delete it but it won't hurt if you do.

Categories

Resources