Hi All,
I need to get APK from AOSP (a 4.2.2 Browser in particular), I have an Android SDK with synced 4.2 branch. Is there a way to extract just one APK or do I need to make a ROM?
Thanks in advance!
yes u can do so...
Summer Son said:
Hi All,
I need to get APK from AOSP (a 4.2.2 Browser in particular), I have an Android SDK with synced 4.2 branch. Is there a way to extract just one APK or do I need to make a ROM?
Thanks in advance!
Click to expand...
Click to collapse
u can extract apk code but if u try to build through ecllipse then it wont compile because of missing libraries that are only available in full source...
just look in Android.mk
and try to satisfy the needed libraries...
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?
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?
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?
JohnRieser said:
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?
Click to expand...
Click to collapse
Do you have the email apk. is this 4.4.2 google/nexus email perhaps?
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...
JohnRieser said:
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...
Click to expand...
Click to collapse
can you attach it and post what you are using in this thread?
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.
JohnRieser said:
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.
Click to expand...
Click to collapse
I need them in .apk format please not the source code as i never compiled it, nor have even tried.
Thanks
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
JohnRieser said:
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
Click to expand...
Click to collapse
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?
carm01 said:
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?
Click to expand...
Click to collapse
i have same problem. You sorted this ?
bargyok said:
i have same problem. You sorted this ?
Click to expand...
Click to collapse
Actually as stated above i need this apk de-odexed. So someone needs to do that for me, b/c if i do it it will be for MY ROM ONLY as you need the SPECIFIC FRAMEWORK to de-odex from the rom your are using.
I am not going to be able to do anything until someone does this
Once that is done i can do this
Regards
I figured I would bump this... I hate the unreasonable and random 5MB limit...
I am more a network admin and have no experience compiling google code. I would be happy to do some legwork (I have plenty of spare vm's) if there were clear instructions on how to get what you want.
Richard
EDT: did some googling... does this help? http://forum.xda-developers.com/showthread.php?t=2507415
Hi to all!
I am new in the Android world and I have a mutimidia car system with Android 2.3.4.
The problem i have is to install new applications available on the playstore like Viago.
This application requires at least Android. I have the Android 2.3.4 ROM soucecode and my doubt is if can i make a compilation of the ROM, to upgrada to Android 4 just modifying the sourcecode of the ROM i have.
Or if can i use any other V4 stock ROM, and add the kernel i have and cook it together.
Thanks in advance.
c_verri said:
Hi to all!
I am new in the Android world and I have a mutimidia car system with Android 2.3.4.
The problem i have is to install new applications available on the playstore like Viago.
This application requires at least Android. I have the Android 2.3.4 ROM soucecode and my doubt is if can i make a compilation of the ROM, to upgrada to Android 4 just modifying the sourcecode of the ROM i have.
Or if can i use any other V4 stock ROM, and add the kernel i have and cook it together.
Thanks in advance.
Click to expand...
Click to collapse
Well, what you could do is modify the AndroidManifest.xml in the apk file so that the minSdkVersion is set to API 10. so it would look like this:
minSdkVersion="resource_id:0x10"
Make sure that the app does not require any features that are not in Gingerbread. I hope this helps.
rcunningham said:
Well, what you could do is modify the AndroidManifest.xml in the apk file so that the minSdkVersion is set to API 10. so it would look like this:
minSdkVersion="resource_id:0x10"
Make sure that the app does not require any features that are not in Gingerbread. I hope this helps.
Click to expand...
Click to collapse
Thanks for your quick response. I have some trouble. When I decompile the apk, i am having some errors and dont know what to do. The apk is fully functional in my s4 mini With Android 4.2. this apk (garmin viago) and apktool are not good friends. Initially there are some errors with .9.png images, i've made the Changes in the AndroidManifest.xml and then a recompiled the apk. The result: More and more errors. The only i want to do is modify the min sdk to 10. I Dont know where to follow.
c_verri said:
Thanks for your quick response. I have some trouble. When I decompile the apk, i am having some errors and dont know what to do. The apk is fully functional in my s4 mini With Android 4.2. this apk (garmin viago) and apktool are not good friends. Initially there are some errors with .9.png images, i've made the Changes in the AndroidManifest.xml and then a recompiled the apk. The result: More and more errors. The only i want to do is modify the min sdk to 10. I Dont know where to follow.
Click to expand...
Click to collapse
Trying to get a apk file from Android 4.2 to work on Gingerbread is hard. Getting a apk from ICS to work on Gingerbread is much more simple. But if you only make changes to the AndroidManifest.xml everything should work. If you have more issues, message me on XDA and I could help you a bit more. I might get marked as spam if I post on this page to much.
Is it possible to modify and customize the Android -x86 Project?
UnbredHalflingers said:
Is it possible to modify and customize the Android -x86 Project?
Click to expand...
Click to collapse
If you visit the Android x86 website, you can find the source code and some instructions about compiling your custom kernel and customizing the ROM.
You can try to look for help in the project forum.
Sent from my CM12 LollipOptimus D405n via XDA mobile app.
Hey
I have a question regarding the "best" way to work on an open source app like Lawnchair
Dev made a folder containing all the modifications they wanted to make or add to the base code of launcher 3 right ?
Is this method valid for other open source app ? I don't find that much info on the Internet