Post Reply

[Q] keep kitkat email app, no 5mb limit?

OP toth42

5th December 2013, 08:06 AM   |  #1  
OP Member
Thanks Meter: 1
 
77 posts
Join Date:Joined: Aug 2009
I like 4.4, and I like the brushed up email. I use it for My work exchange. At work, I often snap pics of samples etc, and email to colleagues. I cant do it anymore, the app limits me to 5mb, just 2 pics! Any workaround, or is 3rdP-app my only option?
9th December 2013, 10:52 AM   |  #2  
OP Member
Thanks Meter: 1
 
77 posts
Join Date:Joined: Aug 2009
Shameless bump. Really noone else out there using the default app and expiriencing this? Can I roll back the email-app to 4.2.2 version somehow?
12th December 2013, 03:37 PM   |  #3  
Junior Member
Thanks Meter: 1
 
8 posts
Join Date:Joined: Dec 2013
kitkat email 5mb limit
Hello,

I modified "AttachmentInfo.java" and "AttachmentUtilities.java" from

android 4.4 source code, then I rebuild the "Email.apk" application.

The problem is that after all those source code modifications, the 5MB attachment restriction it is still there.

What other files need to be modified?
16th December 2013, 01:00 AM   |  #4  
carm01's Avatar
Senior Member
Flag Ohio - land of the boring
Thanks Meter: 158
 
384 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by JohnRieser

Hello,

I modified "AttachmentInfo.java" and "AttachmentUtilities.java" from

android 4.4 source code, then I rebuild the "Email.apk" application.

The problem is that after all those source code modifications, the 5MB attachment restriction it is still there.

What other files need to be modified?

Do you have the email apk. is this 4.4.2 google/nexus email perhaps?
16th December 2013, 12:01 PM   |  #5  
Junior Member
Thanks Meter: 1
 
8 posts
Join Date:Joined: Dec 2013
I did not want to decompile someone elses Email.apk because I wanted to be sure that it is malware clean (after all, I give it access to my email accounts), so I downloaded Android 4.4 source code (yes, 14GB of data downloaded only to compile my email app!)

So, the steps until today:

- Install all required software packages in my Debian linux partition to compile the WHOLE Android OS
- Download Android 4.4 source code (it has the Email app too in it)
- Modify Email app source code and make a lot of tests to see if the problem was solved
- Compile Email app and test the apk in my phone (it compiles and runs succesfull on my device)

- Still no success bypassing the 5MB limit...!!!

There are many places in Email source code wich refers to the message size limit, but I could not find the magic place wich is actually triggered.

The search continue...
16th December 2013, 02:13 PM   |  #6  
carm01's Avatar
Senior Member
Flag Ohio - land of the boring
Thanks Meter: 158
 
384 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by JohnRieser

I did not want to decompile someone elses Email.apk because I wanted to be sure that it is malware clean (after all, I give it access to my email accounts), so I downloaded Android 4.4 source code (yes, 14GB of data downloaded only to compile my email app!)

So, the steps until today:

- Install all required software packages in my Debian linux partition to compile the WHOLE Android OS
- Download Android 4.4 source code (it has the Email app too in it)
- Modify Email app source code and make a lot of tests to see if the problem was solved
- Compile Email app and test the apk in my phone (it compiles and runs succesfull on my device)

- Still no success bypassing the 5MB limit...!!!

There are many places in Email source code wich refers to the message size limit, but I could not find the magic place wich is actually triggered.

The search continue...

can you attach it and post what you are using in this thread?
17th December 2013, 08:09 AM   |  #7  
Junior Member
Thanks Meter: 1
 
8 posts
Join Date:Joined: Dec 2013
I attached both source codes:
- original Email source code from Google
- the above source code, but with my modification (unsuccesful. the file limit is still NOT BYPASSED).

I modified the following files mainly: AttachmentInfo.java, AttachmentUtilities.java and VendorPolicyLoader.java

Best regards.
17th December 2013, 03:55 PM   |  #8  
carm01's Avatar
Senior Member
Flag Ohio - land of the boring
Thanks Meter: 158
 
384 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by JohnRieser

I attached both source codes:
- original Email source code from Google
- the above source code, but with my modification (unsuccesful. the file limit is still NOT BYPASSED).

I modified the following files mainly: AttachmentInfo.java, AttachmentUtilities.java and VendorPolicyLoader.java

Best regards.

I need them in .apk format please not the source code as i never compiled it, nor have even tried.

Thanks
17th December 2013, 08:05 PM   |  #9  
Junior Member
Thanks Meter: 1
 
8 posts
Join Date:Joined: Dec 2013
Here I attached the apk build from the above posted original sources (not with my modification) Email app.

The Email is from Android version 4.4.2
Attached Files
File Type: zip Email.zip - [Click for QR Code] (4.52 MB, 58 views)
19th December 2013, 08:33 PM   |  #10  
carm01's Avatar
Senior Member
Flag Ohio - land of the boring
Thanks Meter: 158
 
384 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by JohnRieser

Here I attached the apk build from the above posted original sources (not with my modification) Email app.

The Email is from Android version 4.4.2

ok, i dont have the proper framework to deodex these files, and that is where wee need to be as i need the classes.dex file out of the deodex apk

Do you know how to deodex this file?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank