Modifying GAPPS - EVO 4G Q&A, Help & Troubleshooting

I want to take an existing gapps and modify it with all of my favorite apps to make flashes between roms less painful. Been researching and saw you can use a zip program to easily achieve this. Question, is it that simple or is there more to know? Any advice be welcomed.
Sent from my PC36100 using Tapatalk 2

Yes it is almost that simple. Make sure you add the apks you want in the data/apps folder and have signature verification turned off. If you need to any further help just pm me.
Sent from my PC36100 using xda app-developers app

Yes, this would be very easy
You need: 7zip and the apks of all your favorite apps
1. Grab the zip for the gapps you're using
2. Open the zip using 7zip (DO NOT EXTRACT)
3. There should be a folder named "data". Open it and go into the "app" folder (final path should be gapps.zip/data/app)
4. Now go to where the apks of your favorite programs are and drag all of them into the open 7zip window. Say yes when the prompt comes up
5. Thats it. The flashable zip extracts EVERYTHING thats in the "data" folder so your apps will be included in that
For more info, and to learn how to creat your own flashable zip (its not very hard actually) go to the following thread:
Note however, that it would be easier to just make a whole different flashable zip that contains your favorite apps since gapps vary by rom and by android version
[TUTORIAL]Making FLASHABLE zips, Edify script, Zip signing, and Key creation
Sent from my PG06100

Thanks for the quick feedback guys, some great responses. Excited to have a reason to fire up my pc.
Sent from my PC36100 using Tapatalk 2

Some apk's need lib files added to the zip file. Titanium Backup is one, for example, that I add to all my ROMs before I flash them. Swiftkey is another.

Titanium Backup Pro will allow you to create a flashable zip of all of your installed user apps in a single click
I like to break stuff!

-EViL-KoNCEPTz- said:
Titanium Backup Pro will allow you to create a flashable zip of all of your installed user apps in a single click
I like to break stuff!
Click to expand...
Click to collapse
Can I know how it is done?
_______
Moto G 2014 XT1068 | CM13.0 Official Nightly

sura14 said:
Can I know how it is done?
_______
Moto G 2014 XT1068 | CM13.0 Official Nightly
Click to expand...
Click to collapse
sounds easy

cryptickid715 said:
sounds easy
Click to expand...
Click to collapse
What?

Related

[Q] Any way to get this font for CM7?

This is a theme from CM6. I had it on an Incredible I believe. Anyway, LOVE the font. Sadly when I flashed the zip of it on CM7 RC2 on my G2, it didn't take. ANy ideas how to make it work?
hi,
I use an app called Absolute System to install fonts, there are about 200 to choose from including the one you looking for, which I believe is called Comfortaa. The app lets you download and install fonts quickly and easy with no need to mess about flashing stuff in recovery.
Your best bet is to do this:
1) Unzip the theme.
2) Extract the /system/fonts folder and put it on the root of your SD card.
3) Open your favorite root explorer.
4) Look at each file in the /sdcard/fonts folder.
5) Mount /system as read-write.
6) On your phone's /system/fonts folder, delete the fonts with the same names as the one from /sdcard/fonts.
7) Copy the fonts from /sdcard/fonts into /system/fonts.
Click to expand...
Click to collapse
blackknightavalon said:
Your best bet is to do this:
Click to expand...
Click to collapse
Ahh, didn't think of that. Alrighty.
Sent from my Liquid Metal using XDA App
cjward23 said:
hi,
I use an app called Absolute System to install fonts, there are about 200 to choose from including the one you looking for, which I believe is called Comfortaa. The app lets you download and install fonts quickly and easy with no need to mess about flashing stuff in recovery.
Click to expand...
Click to collapse
Using Liquid rom atm, idk if that's why but couldn't find that in market. Oh well, thank you though!
Sent from my Liquid Metal using XDA App

Rom apps

So I use the OTA that stang posted a while ago. Thing is, I always shell and remove garbage apps. Can I save time by removing them from the flashable zip somehow? That would save me a step.
Sent from my ADR6300 using Tapatalk
zoomy942 said:
So I use the OTA that stang posted a while ago. Thing is, I always shell and remove garbage apps. Can I save time by removing them from the flashable zip somehow? That would save me a step.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
I believe you should be able to open (not extract) the zip with 7zip or other archiver and then go to the app folder and delete the apks by right clicking on them and selecting delete from within the archiver program.
cmlusco said:
I believe you should be able to open (not extract) the zip with 7zip or other archiver and then go to the app folder and delete the apks by right clicking on them and selecting delete from within the archiver program.
Click to expand...
Click to collapse
Thanks!! This is great!
Thanks!! This is great!
Click to expand...
Click to collapse
now I have a custom and slim ota rom. I have removed 37 apk files and it works great. Thanks again!

[CWM][ALL] Base CWM zip packages - just add APPS!

Ok forum, so I got this idea: because a lot of people ask for CWM packages of this and that, why not let them create CWM flashable stuff without having to beg devs or other users to make them?
I think it saves them (yes, I am talking about YOU!) and us the trouble. So I created these two base CWM flashable zips to get everyone started:
Data_Skeleton.zip - Used for apps that you can uninstall afterwards.
System_Skeleton.zip - Used for anything that should be installed as a system app
Now, a short guide on how to use them:
1. Download the appropriate ZIP for what you plan to package. If you want to make a regular app package use Data_Skeleton.zip, for system apps, use System_Skeleton.zip.
2. Open the zip file with anything else other than Windows Explorer! Use 7zip, winzip, winrar or anything else, just not Explorer!
3. Look inside the zip! DO NOT DELETE ANYTHING! All you need to do is ADD STUFF!
4. Browse into the "data" or "system" zip folders, then down into the "app" folder inside.
5. After you get to the "app" folder, copy and paste the APKs you want to flash in the folder.
REMEMBER: do not DELETE anything! ADD APK files ONLY in the "app" folder.
6. Wait for the APK files you copy to get added to the archive.
7. Close the archive.
8. Rename and copy the archive to your SD card.
9. Boot into CWM and flash the copied zip file you just created.
10. Enjoy!!
Sooooo, quick 10-step process into cooking you own CWM Zips. You can do much more with them than flashing apps, but for general purpose usage, this should be enough!
Thanks and complaints go underneath.
PS: this idea was given to me by lambstone in a separate thread! Thanks a lot mate!!!
Peace,
C.
Nice thread, waiting for other..............
There's market apps that does this I.e apps2zip
Sent from my LG-P999 using Tapatalk 2 Beta-2
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
cheatman said:
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
Click to expand...
Click to collapse
Your right, I was not trying to deny your effort in any way
Sent from my LG-P999 using Tapatalk 2 Beta-2
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
cheatman said:
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
Click to expand...
Click to collapse
have trying to put 5 apk files on data/app exactly doing what it's in your post, then rename it to apk.zip, but when i'm trying flashing from cwm it's geting error
E:Can't open /sdcard/apk.zip
(bad)
Installation aborted
do I miss something??
edit: i'm using data_skeleton.zip
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
cheatman said:
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
Click to expand...
Click to collapse
No dude, I do not extract the zip file, I do exzctly what you said in 1st post, just open it with winrar, look for Data-app, then adding apk files on app section/folder inside the zip files, i just try once again to make sure, and i just add 1 different apk file, but still not work, btw i always use this same method before when I' want to replace boot animation for ICS CM9 ROM and adding some apk file to ROM file, and it's always work.
cheatman said:
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
Click to expand...
Click to collapse
will try this one..,
EDIT: have try your 2nd Data_skeleton.zip, it's work when flashing from cwm with or without add apk files, but not with previous zip file, thought the problem it's coming from your zip file..,
Glad the second one works!
Thanks for letting me know the first zip was borked!
Its a good thread man, makes creating flash able zips simple, you should also look into zipsigner2 on the play market
Sent from my LG-P999 using Tapatalk 2 Beta-2
Thx for the great work!!
Does this one only works for apks?? say i would like to add some files to system/bin or system/lib what do i need to add??
Thx again
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Sounds more complicated than it is. With these CWM Zips you can create any zip that changes either "/data/*" or "/system/*"
Anything, including full ROMs, libs, firmware etc (i.e. except kernel!) can go inside. Play with them. You can't mess your tab with them. Worst case, you need to flash again your ICS copy and factory reset...
Peace,
C.
yeah jejeje i just mess up i am trying to flash a sound driver for my phone (by the way it works in my live with walkman) but they are not working so.
but it is great because i was able to use your file to flash my phone it seems to be universal.
thx again for your work.
Is it possible for this to work for radio images?
Sent from my Nexus S 4G using Tapatalk 2 Beta-5
No, it can't be used for radio images.
First off, radio images need to be flashed (i.e. not copied to a folder as this script does) and secondly because as far as I know with the latest versions of CWM don't support this anymore.
The old zips used to flash radio don't seem to be supported anymore. I recently encountered this problem while flashing a friend's HTC Buzz/Wildfire. So, no, I have no idea how to flash radio using CWM anymore. You can flash using Odin, though...
Peace,
C.
cheatman said:
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Click to expand...
Click to collapse
Ah, this explains how come my /system/app zips were coming out fine but my /system/framework were messed up, thanks for the explanation.
I wonder if it's possible for a small tutorial in how to add our own text to a zip when it's being flashed.
I guess I could reupload the zips without the intro section (stating my nickname and galaxy tab / version etc.) if I weren't so lazy...
The problem with changing the text is that although a tutorial can be made, it requires external tools and such, which would make this waaay to complicated and out of the scope of this thread.
For your purposes (I assume you are using some version of Windows), here's my advice: extract the Zip archive, look for the "updater-script" file, change it and make sure you run it through a "dos2unix" tool to convert CR/LFs. Then add it back to the archive.
To everyone else: if this doesn't work for you, just stick to adding apps to the zip. You should be safe, there's no need to edit any files anyway!
Peace,
C.
Great, apparently it was just that simple, worked great, <3
Dumb question - is this only for Galaxy tab? Or can I use it on my Captivate?

EMOJI in CM9 Nightly

So after much tinkering
I managed to inject an emoji font into CM9
I am now able to see iphone peoples emojis (in black n white) in ALL apps
On the latest CM9 Nightly for Maguro
I would asume you can do this on ANY AOSP rom and its REALLY REALLY EASY!!
I couldnt manage to make a flashable zip from the files they kept failing trying to flash in TWRP
INSTRUCTIONS
1. Download this zip:
https://www.dropbox.com/s/t9ge0djys3wlean/Droid.zip
2. Install 7zip
3. extract the Droid.zip to a folder on your pc
4. Open your CM9/AOSP/AOKP zip in 7zip (dont extract it, just right click and open with 7zip)
5. Navigate to /system/fonts in the zip (Double click system, then double click fonts)
6. Open the folder where you extracted the contents of Droid.zip
7. Drag and drop EVERYTHING from the Droid.zip into the fonts folder
8. Click YES when it asks are you sure you want to add the files
9. Once it finished adding to the zip archive close 7zip
10. Copy newly Emoji enabled rom to your sdcard and flash as normal
11. Profit!!
Credit goes to this thread: http://forum.xda-developers.com/showthread.php?t=1093197
I got Droid.zip from there
RESERVED
For non XDA members:
Yo, Sweetness is hot.
If she's your girlfriend, I have nothing more to say.
Sent from the future.
Oh yeah, nice mod.
Sent from the future.
write up!
i would love a write up for this, im sick of having to use a third party sms app to stay in the loop
alec801 said:
i would love a write up for this, im sick of having to use a third party sms app to stay in the loop
Click to expand...
Click to collapse
The thing is this
It will SEE emoji in ALL apps
But to write emoji, you need to install emoji keyboard
Thats the combo i have been using
1. Download this zip:
https://www.dropbox.com/s/t9ge0djys3wlean/Droid.zip
2. Install 7zip
3. extract the Droid.zip to a folder on your pc
4. Open your CM9/AOSP/AOKP zip in 7zip (dont extract it, just right click and open with 7zip)
5. Navigate to /system/fonts in the zip (Double click system, then double click fonts)
6. Open the folder where you extracted the contents of Droid.zip
7. Drag and drop EVERYTHING from the Droid.zip into the fonts folder
8. Click YES when it asks are you sure you want to add the files
9. Once it finished adding to the zip archive close 7zip
10. Copy newly Emoji enabled rom to your sdcard and flash as normal
11. Profit!!
havent emoji been added a while ago to cm9
Mine is in full color .. but I have a modified/inverted mms.apk
Sent from my Galaxy Nexus using xda premium
dcowboys2184 said:
Mine is in full color .. but I have a modified/inverted mms.apk
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
mine are in color also
In MMS they are full color
But in MMS ONLY
This mod allows you to see them EVERYWHERE in b/w and in color in SMS/MMS
Im thorough;ly confused why we can see and use them in mms but not everywhere else
updating rom
have you tried updating to another cm9 nightly yet? i was wondering if we will need to reinstall this after every nightly
alec801 said:
have you tried updating to another cm9 nightly yet? i was wondering if we will need to reinstall this after every nightly
Click to expand...
Click to collapse
If your wipe data/factory reset then yes you will have to
I havent updated my nightly yet ti see if flashing over an existing build will remove the emojis
Just got a Transformer and I been tinkering with that.
So I have tried it on a Sensation with a Sense rom, Transformer Tablet with stock rom, cm9 and aokp, Galaxy nexus aokp and cm9
And it worked in ALL of those
Jellybean actually has it included though
i'm on jellybean stock and i don't see any emoji -_-

Flashable zip

So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
You will need to make a folder called update,inside make a folder called META-INF,in the META make folders called com/google/android,so the structure looks like this... META-INF/com/google/android,this thread will tell you how to make an updater script... http://forum.xda-developers.com/showthread.php?t=641223 ,after you've created an updater and update scripts,after that in the same area you made the META folder,make a folder called system,inside system make one called apps,then put your apps in there and add the symlinks pointing to the apps,which is in the same thread as above.After you have finished that,right click the update folder and add to archive,in compression settings use "store" method and type of compression,use zip,then zip it up and theres your flashable update script.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
Or u could just find a flashable zip of a mod or apk in the themes and apk section for evo and then just add ur apps to it. Should work as long as updater script mounts and unmounts /system.
U can use 7zip or winrar to open the zip up. Open up system folder then app folder. Add ur apks and delete the things the script originally added unless u want them. Easy as that.
Name of flashable zip doesn't matter btw
XDA Moderator

Categories

Resources