[Q] Create own gapps package - Nexus 5 Q&A, Help & Troubleshooting

I am on cm11 and I want to create my own gapps package , I downloaded the google stock package from here : http://forum.xda-developers.com/showthread.php?t=2397942 and just removed the apks I don't need.
For example I want the new camera and google gallery but I want to keep the Trebuchet launcher. Unfortunately after I removed the google home apk, the script removed Trebuchet anyway so I ended up with no launcher at all
What do I have to change in order for that to work?
thanks

zsajak said:
I am on cm11 and I want to create my own gapps package , I downloaded the google stock package from here : http://forum.xda-developers.com/showthread.php?t=2397942 and just removed the apks I don't need.
For example I want the new camera and google gallery but I want to keep the Trebuchet launcher. Unfortunately after I removed the google home apk, the script removed Trebuchet anyway so I ended up with no launcher at all
What do I have to change in order for that to work?
thanks
Click to expand...
Click to collapse
Why not download a smaller gapp package, then take what you need from a larger one and place it in the apk? Never remove the home.apk or launcher.apk ever.

vanessaem said:
Why not download a smaller gapp package, then take what you need from a larger one and place it in the apk? Never remove the home.apk or launcher.apk ever.
Click to expand...
Click to collapse
So can I just take this package http://wiki.cyanogenmod.org/w/Google_Apps for example and just add the new google camera apk , does it override the aosp camera and gallery for example?

Take Banks Minimal package: http://forum.xda-developers.com/google-nexus-5/themes-apps/gapps-t2012857
You only have inevitable files then add what you want.

do I have to flash those separately or can i just put them into one zip?

zsajak said:
do I have to flash those separately or can i just put them into one zip?
Click to expand...
Click to collapse
Apps are available on Google Play so install the apps you want then manage them with TiBu.

thanks I managed to do what I wanted

FYI, you would need to modify the updater-script to prevent it from deleting what you want to keep, etc
Sent from my Nexus 5

Related

manoo's addon for Cranium RC7 (now containg xperia launcer)

this addon contains
1 Samsung weather widget (like in galaxy s2)
2 Digital clock two version (samsung s2 version and xepria arc version)
3 social hub and reader hub
4 xepria arc launcher
5 Genie widget
there are no changes in boot.img and superuser.apk
Installation guide
1 install Cranium RC7. (if u already have it then skip this step)
2install the zip file using CMW recovery.
Download link
http://www.multiupload.com/I8QCKA5QRU
thanks..... i will try it..
I think you can call this an addon for Cranium v7, or is it really a ROM?
*Cranium ROm
Well,its not a ROM,its an Addon
alrigth i will rename it as a addon
manoo2 said:
alrigth i will rename it as a addon
Click to expand...
Click to collapse
Change the topic too (no offense)
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Idd, I think nikagl is right, what does boot.img and su.apk do there?
Also you should do the following stuff to make this post more attractive:
1. Add tags [ADDON] or [MOD] to the title. like: [ADDON][CRANIUM] - Manoo's addon for Cranium v7 -
2. Use some formatting for your post, like this:
Manoo's addon for Cranium v7
Description here Description here Description here Description here Description here
Features:
Feature 1
Feature 2
Feature 3
Feature 4
...
Click to expand...
Click to collapse
Installation Instructions
1. ...
2. ...
3. ...
Download
http://....
I think you can figure out the rest yourself
nikagl said:
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Click to expand...
Click to collapse
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Can other rom use this addon too?
1)R u sure Polaris Office works?its depends on a specific library,which u haven't included.
2)*Launcher
U didnt add IncrediControl and No-Frills CPU control!They are a must
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
before you do that please give your main post some formatting, it looks really messy tbh.
http://forum.xda-developers.com/showpost.php?p=21108852&postcount=8
I already posted an example
manoo2 said:
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Click to expand...
Click to collapse
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
piotrsiem said:
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
Click to expand...
Click to collapse
To make flashable zip files u need the following things
1 An unmodified flashable zip ( http://sakindia123.prophecy.li/downloads/RC7/RC7_Update1_CWM.zip) u can get it from here
2 Winrar
follow hese steps
1 open the the zip file in winrar.
2 Click on system directory. then click on the app directory
3 now drag and drop those apks in here and once winrar is done compressing them. copy the zip file into ur sd card and flash with cmw recovery
what in the case when some application is not in the system directory?
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
does this MOD modify the status bar also?I don`t wanna change the 14 buttons I have atm?
no i does not have the status bar mod
piotrsiem just simply drag and drop the apk file u are having into the directory. if still u need help then give me the apk file links and i will make a flashable zip for u and upload that file here
I understood, if I had trouble with this I will ask you for help

install apk extracted from other stock firmware or roms deodexed - help

Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
djskarpia said:
Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
Click to expand...
Click to collapse
I don't think you can just copy over a system apk from one device to another without porting it which I cannot help you with. Same thing goes for the launchers they too would need to be ported over. You could try and use something like apkManager to decompile the app then make the necessary changes to it, i.e. resolution, device name, etc, etc,. then compile it. I have no experience doing this with apps and you might find some help by digging around in the main android development forum, not the one for this device the main one.
http://forum.xda-developers.com/forumdisplay.php?f=524

renaming apk and package name?

I have some apk's that I need to rename the package and install name. for example instead of Facebook showing up as Facebook in the installed apps in settings I want it to show up as contacts2 and instead of the package being com.facebook.katana I want it to be com.android.contacts2. So if anybody can explain to me how to do this I would appreciate it a lot. Or if it is easier for you to just send me the apk I would like that even more. ----------------APK IN LINK BELOW----------------
here is the apk.
samuelrp1998 said:
I have some apk's that I need to rename the package and install name. for example instead of Facebook showing up as Facebook in the installed apps in settings I want it to show up as contacts2 and instead of the package being com.facebook.katana I want it to be com.android.contacts2. So if anybody can explain to me how to do this I would appreciate it a lot. Or if it is easier for you to just send me the apk I would like that even more. ----------------APK IN LINK BELOW----------------
here is the apk.
Click to expand...
Click to collapse
Decompile and edit AndroidManifest.xml, you will find all here.
xpirt
Wont work
Wont work after i signed the zip i get parsing error
:crying:
samuelrp1998 said:
I have some apk's that I need to rename the package and install name. for example instead of Facebook showing up as Facebook in the installed apps in settings I want it to show up as contacts2 and instead of the package being com.facebook.katana I want it to be com.android.contacts2. So if anybody can explain to me how to do this I would appreciate it a lot. Or if it is easier for you to just send me the apk I would like that even more. ----------------APK IN LINK BELOW----------------
here is the apk.
Click to expand...
Click to collapse
Decompile the file Apk and edit the package name from AndroidManifest.

(Request) Inverted Mms.apk and Gmail.apk

Does any one know of an inverted Mms.apk or Gmail.apk that is not white for 4.4?
I have seen a few on here that are only flashable in recovery.
I am on Verizon with a locked BL.
Thanks!!
hackercity said:
Does any one know of an inverted Mms.apk or Gmail.apk that is not white for 4.4?
I have seen a few on here that are only flashable in recovery.
I am on Verizon with a locked BL.
Thanks!!
Click to expand...
Click to collapse
Mms (and Google black Dialer) could be find as described here: http://forum.xda-developers.com/showthread.php?t=2606281. I managed to push the attached inverted gmail to the system/app too (original renamed to Gmail2.apk.bak, renamed the inverted to Gmail2.apk, changed permissions to rw-r-r) and it worked without problems. Soon I got back to the stock app after I experienced notification "Unfortunatelly,Google services has stopped" after every reboot. Later I found out that services crashes because of ART and inverted Gmail has nothing with the issue.
Try 8sms app
Sent from my XT1053 using XDA Premium 4 mobile app
I have MMS but it is color option happy. It is my own work on the stock 4.4.1_r1 MMS app. If your into doing a butt load of colors pm me. Not enough post to post a link.
I made an inverted version of the cm mms app that I use. It works perfectly with stock rom including picture and video messaging. Allows you to send messages out to the groups in your stock contact app as well.
https://drive.google.com/file/d/0B0c5ipb1afd-RGFVVDZ6R0t4TWc/edit?usp=sharing
blackhand1001 said:
I made an inverted version of the cm mms app that I use. It works perfectly with stock rom including picture and video messaging. Allows you to send messages out to the groups in your stock contact app as well.
https://drive.google.com/file/d/0B0c5ipb1afd-RGFVVDZ6R0t4TWc/edit?usp=sharing
Click to expand...
Click to collapse
Blackhand EXCELLENT job! The most simple yet perfect one.
Sent from my Monster Moto X on KangaKat
Team Blacked Out has a ton of black apps.
http://www.designrifts.com/teamblackedoutapp/recently-updated-2/
8sms is a good replacement for MMS app.
Sent from my XT1055 using Tapatalk 2
grad061980 said:
Team Blacked Out has a ton of black apps.
http://www.designrifts.com/teamblackedoutapp/recently-updated-2/
8sms is a good replacement for MMS app.
Sent from my XT1055 using Tapatalk 2
Click to expand...
Click to collapse
Weird but I can not install none of this zips with TWRP - Failed status everytime
200mpx said:
Weird but I can not install none of this zips with TWRP - Failed status everytime
Click to expand...
Click to collapse
You can install them. Just extract apk from zip file, change original apk to apk.bak, push the new one to the same folder, give it original name, change permissions to rw-r-r and reboot. I've already installed inverted mms, gmail, play and music.
200mpx said:
Weird but I can not install none of this zips with TWRP - Failed status everytime
Click to expand...
Click to collapse
I do what piskr does, as I'm on the moto x & have a locked bootloader & no custom recoveries.
Sent from my XT1055 using Tapatalk 2
piskr said:
You can install them. Just extract apk from zip file, change original apk to apk.bak, push the new one to the same folder, give it original name, change permissions to rw-r-r and reboot. I've already installed inverted mms, gmail, play and music.
Click to expand...
Click to collapse
Tried to follow your receipt with Keep but it does not worked. SMS works fine but it was not extracted from zip
200mpx said:
Tried to follow your receipt with Keep but it does not worked. SMS works fine but it was not extracted from zip
Click to expand...
Click to collapse
That's true. SMS wasn't extracted from zip. But everything else were. Did you follow the instruction precisely? You must either rename the original apk files (to apk.bak) or move them to the sd card (you always have chance to get them back from there). Then you must rename the new apps as original ones were named. And copy them to the respective folders from where the original apps were taken. With explorer which could operate with system applications. Then change permissions for every new app to rw-r-r. And reboot the phone. You might be asked after to confirm your gmail login credentials and that's pretty all. You should have all black applications totally worked.
I'm attaching all inverted apps which I have actually installed. And they are the last versions available.
piskr said:
That's true. SMS wasn't extracted from zip. But everything else were. Did you follow the instruction precisely? You must either rename the original apk files (to apk.bak) or move them to the sd card (you always have chance to get them back from there). Then you must rename the new apps as original ones were named. And copy them to the respective folders from where the original apps were taken. With explorer which could operate with system applications. Then change permissions for every new app to rw-r-r. And reboot the phone. You might be asked after to confirm your gmail login credentials and that's pretty all. You should have all black applications totally worked.
I'm attaching all inverted apps which I have actually installed. And they are the last versions available.
Click to expand...
Click to collapse
Are we to only rename the original apk or do we also need to rename the odex file as well? I tried this on my N7 (2012) with the Gmail app and I am getting "Unfortunately, Gmail has stopped."
IT'S WORKING. I don't know why. Since it didn't work initially I renamed the original back from apk.bak to apk and renamed the inverted one blackGmail.apk and just left it in the system/app folder. It is now working but technically it shouldn't be working. Am I correct in my thinking that it shouldn't be working?
Thank You
DanRo80 said:
Are we to only rename the original apk or do we also need to rename the odex file as well? I tried this on my N7 (2012) with the Gmail app and I am getting "Unfortunately, Gmail has stopped."
Thank You
Click to expand...
Click to collapse
Gmail has probably stopped because the odex file is missing. The files I attached are deodexed and the original ones were as well. But, hey, you've got better solution - why shouldn't you give this toolkit a shot: http://forum.xda-developers.com/showthread.php?t=1766475. It looks like an easy way and you'll gain everything: unlock, root, custom recovery, restore option... And with custom recovery you can flash every black zip you wish from here: http://www.designrifts.com/teamblackedoutapp/recently-updated-2/, no need to seek for alternative solutions..:fingers-crossed:.
piskr said:
That's true. SMS wasn't extracted from zip. But everything else were. Did you follow the instruction precisely? You must either rename the original apk files (to apk.bak) or move them to the sd card (you always have chance to get them back from there). Then you must rename the new apps as original ones were named. And copy them to the respective folders from where the original apps were taken. With explorer which could operate with system applications. Then change permissions for every new app to rw-r-r. And reboot the phone. You might be asked after to confirm your gmail login credentials and that's pretty all. You should have all black applications totally worked.
I'm attaching all inverted apps which I have actually installed. And they are the last versions available.
Click to expand...
Click to collapse
piskr said:
Gmail has probably stopped because the odex file is missing. The files I attached are deodexed and the original ones were as well. But, hey, you've got better solution - why shouldn't you give this toolkit a shot: http://forum.xda-developers.com/showthread.php?t=1766475. It looks like an easy way and you'll gain everything: unlock, root, custom recovery, restore option... And with custom recovery you can flash every black zip you wish from here: http://www.designrifts.com/teamblackedoutapp/recently-updated-2/, no need to seek for alternative solutions..:fingers-crossed:.
Click to expand...
Click to collapse
I do have all of that on my N7 by using Wug's Toolkit. I was testing this first on the N7 before attempting this on my Moto X. It all is really to have it working on my Moto X.
DanRo80 said:
I do have all of that on my N7 by using Wug's Toolkit. I was testing this first on the N7 before attempting this on my Moto X. It all is really to have it working on my Moto X.
Click to expand...
Click to collapse
You have nothing to loose. As long as you keep original files somewhere you can always get back with just deleting modified and pushing into the system original ones.
piskr said:
You can install them. Just extract apk from zip file, change original apk to apk.bak, push the new one to the same folder, give it original name, change permissions to rw-r-r and reboot. I've already installed inverted mms, gmail, play and music.
Click to expand...
Click to collapse
I understand, I also managed to install mms, google music, hangouts, but failed with keep (that is most inetresting for me as I hate white stripe in widget) and google now.
By the way I found this topic with themed mms for 4.4.x - works fine for me (bubbles 2 version ). Have not tested contacts and dialer yet: http://forum.xda-developers.com/showthread.php?t=2519733
I can't seem to find Google Now Search or Play Store in the system to rename or copy the Blacked Out one to. What folder would they be in. I looked everywhere that I could think of.
DroidJunk said:
I have MMS but it is color option happy. It is my own work on the stock 4.4.1_r1 MMS app. If your into doing a butt load of colors pm me. Not enough post to post a link.
Click to expand...
Click to collapse
I tried to install via root explorer and it won't. What's the trick??
Sent from my XT1060 using xda app-developers app
mpetruzz said:
I tried to install via root explorer and it won't. What's the trick??
Sent from my XT1060 using xda app-developers app
Click to expand...
Click to collapse
Via RE you will also need to possibly wipe the dalvik file or the whole dalvik if you don't want to locate it. I did not post a link so I don't know which one you have. One had one with the odex and one didn't. If you have the single apk then you should also try to remove the odex file and reboot. Don't just click on the file in RE to install but copy it over. The flash should work via recovery. droidjunk.com/junk/Dev_MotoX_4.4_MMS.zip

Editing downloaded TW themes.

I am using a theme that I downloaded from the theme store, however I wondering if there's any way to edit the downloaded theme. For example I am wanting to keep the stock touchwiz keyboard and still have everything else themed.
shooter445 said:
I am using a theme that I downloaded from the theme store, however I wondering if there's any way to edit the downloaded theme. For example I am wanting to keep the stock touchwiz keyboard and still have everything else themed.
Click to expand...
Click to collapse
I would think you find the keyboard in secsettings2 or whatever file all the system core files are in from the stock theme, copy it and replace it with the themed keyboard apk, and don't forget to set permissions to rx-rx-r? That's my best bet. @SICKMADE ? Am I close?
Sent from my SM-N920T
There's an easy way around it. If you're applying theme from theme store, all you have to do is delete theme.input files
Any app that deletes .apk files, will work.
Example*
https://play.google.com/store/apps/d...roid.optimizer
Just find the .apk and delete than reboot. profit
Hit the thanks button if I helped you out ?
eventheodds1 said:
There's an easy way around it. If you're applying theme from theme store, all you have to do is delete theme.input files
Any app that deletes .apk files, will work.
Example*
https://play.google.com/store/apps/d...roid.optimizer
Just find the .apk and delete than reboot. profit
Hit the thanks button if I helped you out ?
Click to expand...
Click to collapse
Yeah I did something like that, after I found the file I added a .bak extention to the end making it a backup, rebooted, and I got my stock keyboard back.
shooter445 said:
Yeah I did something like that, after I found the file I added a .bak extention to the end making it a backup, rebooted, and I got my stock keyboard back.
Click to expand...
Click to collapse
All you have to do is use a root file manager like root browser then go into your data/app folder there you will find all the apps you have installed onto your device including every individual themed apk from whatever theme you downloaded and installed from Sammy theme store... if there is something that you don't like or want from a particular theme ie. Icons or keyboard just simply scroll until you see all the apps from the theme you installed and delete which ever themed app folder that you don't want. Hope that made some sense lol.

Categories

Resources