Does anyone know how to make gapps?
???
Gapps are already made, just flash it.
If you want to declude apps, unzip it, delete files from /system/app and data/app and re-zip
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
I understand the question I think... as I have a similar one. How can one make their own gapps package? Or is that even necessary?
I am tempting to build an AOSP rom and would need gapps to be flashed with it. Do I just include the latest from cm, or, can I package my own in order to be the owner of them?
Sent from my Evo using xda premium
When i build a aosp rom, the zip file doesn't contains with google apps so i want to make a own google apps. How do i get the apk and how to re-package the apk to zip (using dsixda?)
echo_rc said:
When i build a aosp rom, the zip file doesn't contains with google apps so i want to make a own google apps. How do i get the apk and how to re-package the apk to zip (using dsixda?)
Click to expand...
Click to collapse
To include in your zip, just paste inside the WORKING_FOLDER.
You can grab the GAPPS from Android development and hacking > Themes and Apps, from CM web-page, and lots of more.
Just google it!
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
I am pretty sure this thread is pertaining to the question, How did someone create gapps before you could just download them. That is easy.
There are applications that are google proprietary software that is bundled with roms. Rather it be sense, blur, touchwiz or AOSP. These google prop bits are there.
The easiest way to "create your own gapps" is to:
1) Look inside an existing gapps package and see what they used. Then use those same packages.
2) Grab all the google related jars, apks that are not available on the market, and are not included after compiling your own aosp rom. The extra apps for the most part are used for googles prop bits.
If there is a need for more detail. Please let me know.
To my understanding, you cannot include gapps in the rom for various general public license rules, hence you have to flash with cm
Sent from my Evo using xda premium
Ok thanks guys i will try grab from Android development and hacking > Themes and Apps, from CM web-page, and lots of more
Sorry guys but this is the only forum that is talking about this and i would really like to be able to do this. Does anyone know how to make gapps from an official rom update. And is there a program that will allow to make my own gapps to flash.
serranom said:
Sorry guys but this is the only forum that is talking about this and i would really like to be able to do this. Does anyone know how to make gapps from an official rom update. And is there a program that will allow to make my own gapps to flash.
Click to expand...
Click to collapse
I already explained it, and no.
mDroidd said:
???
Gapps are already made, just flash it.
If you want to declude apps, unzip it, delete files from /system/app and data/app and re-zip
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
Click to expand...
Click to collapse
Very informative and much appreciated.
mDroidd said:
???
Gapps are already made, just flash it.
If you want to declude apps, unzip it, delete files from /system/app and data/app and re-zip
Click to expand...
Click to collapse
So I took Micro Modular Package, purged all .apk from \system\app and \system\priv-app, except GoogleLoginService.apk, GoogleServiceFramework, Phonesky.apk (which are, AFAIK, required minimum for GooglePlay) - but got en error during flashing: "file_getprop: failed to stat "/tmp/gapps.prop": No such file or directory"
The unaltered package is installing fine through, but that is not what I need
Samsung YP-G70EB, CM11 ROM.
XAN_ said:
So I took Micro Modular Package, purged all .apk from \system\app and \system\priv-app, except GoogleLoginService.apk, GoogleServiceFramework, Phonesky.apk (which are, AFAIK, required minimum for GooglePlay) - but got en error during flashing: "file_getprop: failed to stat "/tmp/gapps.prop": No such file or directory"
The unaltered package is installing fine through, but that is not what I need
Samsung YP-G70EB, CM11 ROM.
Click to expand...
Click to collapse
Silly me. While repacking, I failed to add delete-list.txt, gapps-list.txt, install-prep.sh files to resulting archive :laugh:
So I only added 2 folders, which apparently, isn't enough for correct installation
I was curious about this also.
I was looking to just update an existing gapps. My goal was to add a few extra apks not included in the standard gapps I'm using and delete a few to replace with black versions. Like youtube, google+ calender ect. Can I just add extra apps or do I need to update a file somewhere.
I noticed one file updater-script. But thats about it.
chopt51 said:
I was curious about this also.
I was looking to just update an existing gapps. My goal was to add a few extra apks not included in the standard gapps I'm using and delete a few to replace with black versions. Like youtube, google+ calender ect. Can I just add extra apps or do I need to update a file somewhere.
I noticed one file updater-script. But thats about it.
Click to expand...
Click to collapse
Yes you add it like you can see below it just extract the system directory in the gapps zip file and set it to the right permissions.
package_extract_dir("system", "/system");
set_perm(0, 0, 0755,
XAN_ said:
So I took Micro Modular Package, purged all .apk from \system\app and \system\priv-app, except GoogleLoginService.apk, GoogleServiceFramework, Phonesky.apk (which are, AFAIK, required minimum for GooglePlay) - but got en error during flashing: "file_getprop: failed to stat "/tmp/gapps.prop": No such file or directory"
The unaltered package is installing fine through, but that is not what I need
Samsung YP-G70EB, CM11 ROM.
Click to expand...
Click to collapse
I want to do this also. I want to install needed files (apk and needed libs maybe) so i can add my google account and log in to the account (so i can use Blogger official app). Simple apk extraction and installation didnt work (i did extract and install GoogleLoginService.apk but still couldn't add any google account). So should i modify gapps zip and delete all apks but GoogleLoginService.apk?
salmanfarisy said:
I want to do this also. I want to install needed files (apk and needed libs maybe) so i can add my google account and log in to the account (so i can use Blogger official app). Simple apk extraction and installation didnt work (i did extract and install GoogleLoginService.apk but still couldn't add any google account). So should i modify gapps zip and delete all apks but GoogleLoginService.apk?
Click to expand...
Click to collapse
Nope, GoogleLoginService.apk isn't enough you also need GoogleServiceFramework.apk, Phonesky.apk and some other .apk, but I forgot which one. The entire Micropackage isn't needed, though, it contains some extra .apk, which isn't needed for goggle login.
And yes, you need to flash gapps, just installing them won't do.
XAN_ said:
Nope, GoogleLoginService.apk isn't enough you also need GoogleServiceFramework.apk, Phonesky.apk and some other .apk, but I forgot which one. The entire Micropackage isn't needed, though, it contains some extra .apk, which isn't needed for goggle login.
And yes, you need to flash gapps, just installing them won't do.
Click to expand...
Click to collapse
you are right.
other apk needed is GmcCore.apk
Help with building gapps?
With TKruzzle shutting down his PA gapps packages and thread.
Just wondering how to get/build/use updated gapps as no one else is building them that I can see?
How can we get new gapps packages from google and compile them or whatever is needed.
Just wondering what would have to be done, and if I can do it.
Also liked the idea of flashing google login info into the gapps package as that would be pretty handy but not sure how to do it. Thanks.
L0X0R said:
With TKruzzle shutting down his PA gapps packages and thread.
Just wondering how to get/build/use updated gapps as no one else is building them that I can see?
How can we get new gapps packages from google and compile them or whatever is needed.
Just wondering what would have to be done, and if I can do it.
Click to expand...
Click to collapse
Almost everybody has a flashable gapps package somewhere. Download an official Nexus image for your Android architecture and version, and just replace the appropriate files in the zip.
There are sites that explain how to extract a system.img.
Hi guys,
I am been working a on an an android app called Inomail that is available on the android market. I have done an overhaul changing the background colours, buttons to blue and green neon colours, change all icons and change text such app name plus other strings elsewhere.
Everthing work fine and I am certain it will be popular download if published.
I have been using APK Manger and Eclipse and Java decompilers to convert smali to java codes.
I successfully signed with a private key and it worked but this the obvious problem renaming the package when changing it crashes. I done everthing including refactoring and renaming in Eclipse, also renamed all the package name to all sub packages but to no avail.
If rename tthe package name back to original name it works but changing it crashes.
Now I have done some search on here there also a code to the package name which the reason for it to crash and the best way it to use a rooted device which I have and install the app.
So my 2 questions would anyone know where is the folder on smartphone would I find the file or code and second question have anyone manage to rename package published app on the market and how please?
Your help greatly appreciated.
rename of installed android app
Darkfunnyguy said:
Hi guys,
I am been working a on an an android app called Inomail that is available on the android market. I have done an overhaul changing the background colours, buttons to blue and green neon colours, change all icons and change text such app name plus other strings elsewhere.
Everthing work fine and I am certain it will be popular download if published.
I have been using APK Manger and Eclipse and Java decompilers to convert smali to java codes.
I successfully signed with a private key and it worked but this the obvious problem renaming the package when changing it crashes. I done everthing including refactoring and renaming in Eclipse, also renamed all the package name to all sub packages but to no avail.
If rename tthe package name back to original name it works but changing it crashes.
Now I have done some search on here there also a code to the package name which the reason for it to crash and the best way it to use a rooted device which I have and install the app.
So my 2 questions would anyone know where is the folder on smartphone would I find the file or code and second question have anyone manage to rename package published app on the market and how please?
Your help greatly appreciated.
Click to expand...
Click to collapse
pls, help how to change my android app label name and logo ?
Hi,
I modified "SamsungCamera2" from my Note 3 and would like to install it now on my Note 3. My phone is not rooted and doing so would currently trip the knox counter (I don´t want that).
If I try to install the apk I get the message "application not installed".
Is it somehow possible to convert the apk so that I can install it as a "normal app"?
Best wishes,
Klaus
oclock said:
Hi,
I modified "SamsungCamera2" from my Note 3 and would like to install it now on my Note 3. My phone is not rooted and doing so would currently trip the knox counter (I don´t want that).
If I try to install the apk I get the message "application not installed".
Is it somehow possible to convert the apk so that I can install it as a "normal app"?
Best wishes,
Klaus
Click to expand...
Click to collapse
no root no party, however i think that its possible to root the phone over knox without count
to install system apk you can do in 3 ways
1.install normally by a file manager as normal apk but in this way you can only install ORIGINAL APK like official update NO MOD
2.copying the apk and maybe the odex in /system/app NEED ROOT
3.using clockworkmod NEED ROOT,or maybe using the stock samsung recovery need a flashable zip of your app
enjoy
AXD96 said:
no root no party, however i think that its possible to root the phone over knox without count
to install system apk you can do in 3 ways
1.install normally by a file manager as normal apk but in this way you can only install ORIGINAL APK like official update NO MOD
2.copying the apk and maybe the odex in /system/app NEED ROOT
3.using clockworkmod NEED ROOT,or maybe using the stock samsung recovery need a flashable zip of your app
enjoy
Click to expand...
Click to collapse
Thank you for your answer.
With my current firmware there is no known method to get root without knox=0x1.
If I develop my own app I can install it without problems. So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
oclock said:
Thank you for your answer.
But if I develop my own app I can install it without problems.
So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
Click to expand...
Click to collapse
Android expects applications installed by opening the APK to be signed.
It's quite easy to sign them with a generic certificate: but when apps are updated both the old (in /system) and the new version must be signed with the same one.
(Extreme problems lead to extreme solutions: if you need Samsung service, flash a bad bootloader so that's permanently bricked and doesn't even get to Odin...)
Ryccardo said:
Android expects applications installed by opening the APK to be signed.
It's quite easy to sign them with a generic certificate: but when apps are updated both the old (in /system) and the new version must be signed with the same one.
Click to expand...
Click to collapse
Thank you for the explanation and thank you for the hint
But how does Android know that I am trying to Update an already existing app? Is it just because of the class names of the MainActivity? Is it possible to refactor the app, so that it looks like a brand new app?
oclock said:
Thank you for the explanation and thank you for the hint
But how does Android know that I am trying to Update an already existing app? Is it just because of the class names of the MainActivity? Is it possible to refactor the app, so that it looks like a brand new app?
Click to expand...
Click to collapse
I believe, but have never tried, that it goes by the package ID
Ryccardo said:
I believe, but have never tried, that it goes by the package ID
Click to expand...
Click to collapse
It seems to be the correct way. However, something seems to be odd:
I the log I get the following:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
[...]
Do you have any ideas why this permission isn´t recognized?
oclock said:
Thank you for your answer.
With my current firmware there is no known method to get root without knox=0x1.
If I develop my own app I can install it without problems. So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
Click to expand...
Click to collapse
dont said me thanks, just click the thanks button on the left of message
no you can't
every APK has got a signature when you modify an apk or the mali code the signature became invalid so you cant install that apk anymore until you sign again the apk
if the signature is different you cant install system apk when you has already installed an app with the same packace address
else if the signature is the same (only the author of the app has got the original key of signature) you can install it
there is a critical bug in android until 4.2.2 version, the MASTERKEY BUG
google fix it in android 4.3
i got root with this bug using cydia impactor
with this bug/exploit you was able to modify system partition bypassing signature protection and then get root so you was able to have full access to your phone
---------- Post added at 01:16 PM ---------- Previous post was at 01:12 PM ----------
oclock said:
It seems to be the correct way. However, something seems to be odd:
I the log I get the following:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
[...]
Click to expand...
Click to collapse
where did you find the log?
AXD96 said:
dont said me thanks, just click the thanks button on the left of message
no you can't
every APK has got a signature when you modify an apk or the mali code the signature became invalid so you cant install that apk anymore until you sign again the apk
if the signature is different you cant install system apk when you has already installed an app with the same packace address
else if the signature is the same (only the author of the app has got the original key of signature) you can install it
Click to expand...
Click to collapse
OK. This was already made clear some posts above. My new question was: Can I change the signature to install it as a "new" app.
I tried it out by myself. I modified the manifest file to change the android package name from "com.sec.android.app.camera" to "com.sec.android.app.cameraoc". The java package is unchanged.
With this modification i could install the app without any problems, but I get a permission exception, when I try to execute the App:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCA LE"/>
[...]
So, i do not understand why I get this Exception. Do you have any ideas?
Klaus
I got the exact same issue when modding the S5's camera apk. The trick is to open your original apk with an archive manager and only replace the classes.dex and resources.arsc. I then copied the apk to /system/app/ and after a reboot I could successfully launch the camera.
More details about hacking system apk's can be found here: https://code.google.com/p/android-apktool/wiki/FAQ (My recompiled apk Force Closes (FCs). What gives?)
Hello, everyone.
Is there any way to take a backup of all AndroidManifests.xml on an Android Device?
ALL Free Apps
ALL Paid Apps
ALL System Apps
And where can you find them on the ES-File Explorer or any other File Explorer?
The app „Android System Information" can actually view all AndroidManifests.xml - System/Paid and Free apps. Every single one.
If an app is able to Display them, there must be a way to backup them or copy them to another folder.
Thanks in Advance.
It most likely workes like an archive veiwer. All those files are stored into the apks. You will have to decompile each apk
Android Installation Packages
zelendel said:
It most likely workes like an archive veiwer. All those files are stored into the apks. You will have to decompile each apk
Click to expand...
Click to collapse
INSIDE of the APK's?
Don't think so...
AndoridManifest includes things like
API Version
App Version
Installation Date and Time (also with seconds)
Some Metadata
Package Name
etc.
Hannah Stern said:
INSIDE of the APK's?
Don't think so...
AndoridManifest includes things like
API Version
App Version
Installation Date and Time (also with seconds)
Some Metadata
Package Name
etc.
Click to expand...
Click to collapse
I am aware of just what it is. They are stored inside the apk. Just unzip one and you will see it, might need to decompile it to read it though.
zelendel said:
I am aware of just what it is. They are stored inside the apk. Just unzip one and you will see it, might need to decompile it to read it though.
Click to expand...
Click to collapse
Are the AndroidManifests also included in an ADB-Backup of one or multiple apps?
Hannah Stern said:
Are the AndroidManifests also included in an ADB-Backup of one or multiple apps?
Click to expand...
Click to collapse
In a way as they back up the whole apk. If you are just wanting those files you will have to rip each one apart. No way around it.
Hello
First of all I want to say that I use BLISS OS x86 7.1.2 system on the mini pc Alfawise X5
then extract a LAUNCHER.apk from the GEMBOX F500 device at this link: https://forum.xda-developers.com/showthread.php?t=2692843&page=69
but I can not install it because I have the error "app not installed the package conflicts with an existing package". The problem is that this launcher has never been installed on my device, this error occurs with other applications that were made exclusively for satelite android receivers of my country, already tried to install and the same error occurs, but they were never installed on my device, someone knows the can I do to install LAUNCHERf500.apk ??????
Sorry for my english I'm using google translate, thanks for the attention !!
Decompile the apk and change its package name in the Android manifest
Or
Use an app cloner that might be able to do it for you
However doing this may cause problems eg some features may not work or app may force close
You can also find out what the package name is & try uninstalling it via adb so you can install the apk with the same package name
Also Iv no idea why you have posted this in the mx player xda section as it's nothing to do with it so I'll get it moved
TheFixItMan said:
Decompile the apk and change its package name in the Android manifest
Or
Use an app cloner that might be able to do it for you
However doing this may cause problems eg some features may not work or app may force close
You can also find out what the package name is & try uninstalling it via adb so you can install the apk with the same package name
Also Iv no idea why you have posted this in the mx player xda section as it's nothing to do with it so I'll get it moved
Click to expand...
Click to collapse
I already did this but did not install apk
I already cloned, and changed the package name.
is there a lock, or a way of knowing that apk is being installed on hardware other than GEMBOX F500 ???
Can I change the application to install on my device?
or changing Build.prop ??
Sorry for posting in the wrong place, I'm not familiar with the site
dividafox said:
I already did this but did not install apk
I already cloned, and changed the package name.
is there a lock, or a way of knowing that apk is being installed on hardware other than GEMBOX F500 ???
Can I change the application to install on my device?
or changing Build.prop ??
Sorry for posting in the wrong place, I'm not familiar with the site
Click to expand...
Click to collapse
Since it's a launcher I assume you are rooted and placing the apk in system/priv-app (system/app if pre lollipop) and giving it the correct permissions then restarting the device
Some launchers are only designed to work on certain devices & would require porting to work on others
Anyway - best to actually post in your device forum or the general if your device does not have its own forum
Iv asked the mods to move this as it has nothing to do with mx player