[Q] gapps-config.txt Help - Android Software Development

I'm probably not posting this in the correct forum, but my device isn't on this forum so I figured this is the next best spot for general help.
So I read in the TK Gapps thread a way to disclude certain things from installing/overwriting stock apps. One major one I do NOT want installed is Google Now Launcher. Among a few other things... However, I cannot quite figure out how to create this file, keep it from overwriting/flat out deleting some of the stock apps, and where exactly I should put the gapps-config file when flashing. If someone has done the custom install, if you can post your script and inform me of where it goes (I'm assuming you just flash the zip as you normally do with the config file in the same folder as the zip), I can easily figure it out. Just not sure where to start.
I found this but I'm having a hard time understanding if it's saying to just type Include at the top of the config file, and then only those apps will be installed WITHOUT removing things such as the stock Launcher. Or, if I have to add a separate section to keep it from deleting some of the stock options. Essentially, I want the Full edition installed, replacing things such as the default keyboard. But I don't want it to install things such as Google Now Launcher, Camera, or some of the Play (Movies, Games, etc) things, but I don't want it to delete the stock camera or stock Launcher... Things like that.
Assistance would be highly appreciated.

I've now posted this question on 5 forums looking for an answer... Sure, the majority of you that read this probably think I am some pathetic idiot loser that needs to get a clue. All I'm asking for is some clarification on how to write the config file and how it's handled by the flashing process so I can make sure I am doing it correctly. For the love of all that is good in this world, will someone, somewhere, PLEASE provide some assistance?!

This is what I'm wanting....
What I WANT installed:
Google System Base
Off-line Speech Files
Google Exchange Services
Chrome Browser
Google Clock
Cloud Print
FaceUnlock
Gmail
Google+
Google Calendar
Google Calendar Sync
Google Keep
Google Keyboard
Google News & Weather
Google Play Music
Google Play services
Google Play Store
Google App (Search)
Google Text-to-Speech
Google Wallet
Maps
Messenger
Sound Search for Google Play
Street View on Google Maps
TalkBack
YouTube
What I DO NOT want installed, but DO NOT want the Stock/AOSP versions removed:
Google Camera
Google Now Launcher
Photos
What I DO NOT want installed:
Google Docs
Google Drive
Google Earth
Google Play Books
Google Play Games
Google Play Movies & TV
Google Play Newsstand
Google Sheets
Google Slides
Hangouts
Now... How would I structure the config file to do this?

Why did you even make a thread to begin with?
This doesn't belong here, it belongs at the bottom of a Q&A after being answered many many times.
Put the entries for:
Google Docs
Google Drive
Google Earth
Google Play Books
Google Play Games
Google Play Movies & TV
Google Play Newsstand
Google Sheets
Google Slides
Hangouts
in your gapps-config.
That's it, it won't install them.

where the **** is Gapps Config.
Thats what i cant figure out.

Carefully read the opengapps wiki under https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options
All your questions like where to put the gapps-config.txt file and much more are answered there.

How can i use the gapps-config file ?
i just heard about it but i can't find how to use it anywhere

Are you kidding??? I just posted the wiki link above your post!!!

meiser said:
Are you kidding??? I just posted the wiki link above your post!!!
Click to expand...
Click to collapse
I read the instructions. But I don't seem to find the gapps_config.txt file.
I downloaded gapps for nougat stock. Please help
is there any other ways to find it

**The gapps-config file must be placed in one of the following folders:
the folder containing the Open GApps installer (takes precedence)
Now I'm going to read
/sdcard/Open-GApps
/persist
/tmp/install
Going out on a limb here but I understand the above to say you have to create gapps-config file and put it in one of the above folders.
I'm a newb but recognize file structure, so I went into the terminal type #slocate gapps-config - search returned nothing. So I have to create directory /Open-GApps-folder and put gapps-config in it, within the /sdcard/ parent directory.
Basically I create the dir /Open-GApps/gapps-config in the /sdcard/ folder. Hope above provides some orientation.
I'm going to the following:
http://forum.xda-developers.com/showpost.php?p=60944096&postcount=4

you create a text file called "gapps-config.txt" and you put it in your external memory, sdcard, whatever... it can be in lots of folders... in that file you configure your install.

I am trying to install Pico GApps. My gapps-config here shown does not work... insufficient space...
[my gapps-config-grouper.txt]
# try it this way
Include
Core
# stock removals -- these would work
LUpdater
LSetupWizard
LRecorder
Email
ExchangeStock
PicoTTS

Related

Google Calendar

Hi, sorry for the noob question, my google skills are failing me on this one...
Is there a way to get the stock google calendar on the Vega... the one that comes with it does not sync with the online google calendar which has all my dates already in it.
Can I simply copy the Calendar.apk and Calendar_Storage.apk from my Galaxy S and install on the Vega, or is there more to it?
Modaco has a pack that installs all the google apps, however, I only want to Calendar.
I have downloaded the r8-vega-update-modacocustomrom-unsigned.zip
From it extracted the following:
Calendar.apk
CalendarProvider.apk
GoogleCalendarSyncAdapter.apk (already on my device)
If I run the first two (install as normal .apk), will this work? I am at work now so don't have the vega with me to test.
Well to answer my own question... I installed the 2 .apk files, which it warned would overwrite existing files... But now i can sync my online calendar as i wanted.

I have got Google dictation working on the new Kindle Fire

Google dictation working on my Kindle Fire here are the steps
1. Goto Goo.im/gapps
2. Download the ICS gapps
3. Extract them somewhere where you can find it later
4. Rename Google quick search. APK to universalsearch.apk
5. Copy to system/app and do the rw-r-r stuff
6. Make voice search. APK a sys app
7.copy the voice search(i forgot the rest). Lib and test it
HOPE IT WORKED!
Sent from my KFTT
Voice Search working on KFHD
It Works! I copied the Universalsearch.apk but was nor able to install it. However, I copied anyway the Voice Search apk to system folder and inslalled it. And a little - working! - microphone magically appeared in the search box.
Thanks indeed
Filename: gapps-ics-20120429-voicesearch.zip on goo.im
hope you can help me
Hope you can help me i cant get google voice search working, can you please upload some image guide on how you do it? please. Thanks a lot.
ralfy172 said:
Hope you can help me i cant get google voice search working, can you please upload some image guide on how you do it? please. Thanks a lot.
Click to expand...
Click to collapse
Its a one time thing I can't redo it
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
nora_noob said:
It Works! I copied the Universalsearch.apk but was nor able to install it. However, I copied anyway the Voice Search apk to system folder and inslalled it. And a little - working! - microphone magically appeared in the search box.
Thanks indeed
Filename: gapps-ics-20120429-voicesearch.zip on goo.im
Click to expand...
Click to collapse
The universalaerch was never installable it just randomly works
Sent from my jelly bean s3
tried...didn't work too well
Hi all, I tried doing the exact same thing but I couldn't get either of them to install successfully. I put both apk's in the system folder and set the rw-r-r type permissions for both. I get the search box and I get the little microphone logo to appear in the corner of input fields but when I hit it, it says "Voice search has stopped." Any ideas? Do you guys actually have the dictation running and are able to speak into the native microphone? Getting this to work would be huge.
---------- Post added at 07:13 PM ---------- Previous post was at 06:39 PM ----------
Someone on another forum on a related topic was sayng google voice search needs the libspeech.so library into /system/lib/ to work. I put that in there, and the service no longer stops. The tiny dictation circle appears for like 2 seconds and disappears after that. I tried talking to it, but it doesn't ever light up red for me both just kind of yelling at it directly and thru a 3-prong headset. There's a little settings icon that appears in the corner, when you hit it quickly, you see the settings menu but it's gone after 2 seconds like nothing ever happened...
Btw, I have the 8.9 with firmware 8.1.3, rooted via bin4ry's method with Google Play and some apps from there installed.
Fantastic work. Got voice search working flawlessly on my Fire HD 8.9. I think the next step is to get it working with the keyboard, so that we have a microphone button on our keyboard for voice input typing.
EDIT: found a possible bug after installing dictation as it relates to the keyboard. After installing dictation features, the settings> keyboard option now defaults to Google voice typing settings, blocking the ability to set a default keyboard. To set a keyboard input method, you have to create a custom shortcut to keyboard> settings in a launcher to access the traditional default keyboard input options selector.
An upside that i noticed is after i installed a secondary keyboard (Korean) and changed the default to it, the familiar voice input microphone button is back.
KFHD uses a custom Swype and different layout from other Swype keyboard I've used in the past so getting Swype + voice input typing combined will be a bit tricky. Ideally, I'd like Swype with a button to cycle between input languages + voice input button
Okay, I got this to work...the lib step confused me at first. You need to copy /system/lib/libvoicesearch.so from the ICS package to the corresponding folder on your device. I also copied libspeech.so and libspeexwrapper.so for good measure, although I don't know if that was neccessary. Trying to install the apk packages failed on both counts for me, but that did not hinder the process Interesting that I can get all the other languages just by copying such small files.
Anyone have the ICS keyboard running so one can access the dictation feature in things like emails as well? Is there an apk for that? Kindle keyboard annoys me...
Google Dictation
Thank you, it is indeed working. Here is what I did to get the dictation to function:
1) Downloaded the correct package here: VoiceSearch
2) Extract VoiceSearch.zip to VoiceSearch on your Desktop
3) Copy libvoicesearch.so, UniversalSearch.apk and VoiceSearch.apk from the folder VoiceSearch to the Download folder on your Kindle Drive
4) Using Root Explorer, copy /sdcard/download/libvoicesearch.so to /system/lib/libvoicesearch.so change the libvoicesearch.so permissions to Owner: Read Write Group: Read Others: Read
5) Using Root Explorer, copy /sdcard/UniversalSearch.apk to /system/app change the UniversalSearch.apk permissions to Owner: Read Write Group: Read Others: Read
6) Using Root Explorer, copy /sdcard/VoiceSearch.apk to /system/app change the VoiceSearch.apk permissions to Owner: Read Write Group: Read Others: Read
7) Reboot the Kindle
8) Now go into Apps, you will see a new Icon named Search. Launch Search, then click on the little Microphone, speak clearly (I used the word Test).
9) The application will next ask you which browser do you want to use to display the results (I use Opera). Then just like that, your new journey begins!
you can also add the new google now stuff and just set voice search as the default voice dictation then you have google now and dictation except it doesn't work with google now itself

Which .apk can be deleted?

Hello!
Can anybody tell me which .apk files I am safe to delete? My setup:
-NookManager
-GApps
-Kindle
-Will not be using *any* B&N Apps (however removing them using NookManager stops the Market from working)
The only GApp I am really interested in is the Market - Is it possible to side load this *only*? It's just lots of other stuff is installed as part of GApp which I have no need for... But there are so many .apk files in system/app and I'm concerned removing some may cause instabilities.
Thanks.
LavaChild0809 said:
Hello!
Can anybody tell me which .apk files I am safe to delete? My setup:
-NookManager
-GApps
-Kindle
-Will not be using *any* B&N Apps (however removing them using NookManager stops the Market from working)
The only GApp I am really interested in is the Market - Is it possible to side load this *only*? It's just lots of other stuff is installed as part of GApp which I have no need for... But there are so many .apk files in system/app and I'm concerned removing some may cause instabilities.
Thanks.
Click to expand...
Click to collapse
No you can't install just the Market. The Market is dependent on the Google Talk and other backend apks. There are patches to system files to get Android setup to work to activate the market. Better to install NTGAppsAttack and then delete what you don't need. After installing NTGappsAttack you can probably remove GenieWidget.apk, Calculator.apk, Calendar.apk, Gmail.apk and Talk.apk. These are all frontends so they shouldn't cause trouble. Before you do this you probably want to use Gmail to get into account and sync settings to turn off mail, calendar and contacts sync. Then you can try removing some of the backend stuff - GmailProvider.apk, CalendarProvider.apk, ContactsProvider.apk and GoogleContactsSyncAdapter.apk. I would start with renaming these apk's and seeing how it goes then if all is well you can delete them. Everything else I would leave alone.
Read through the NookManager and NTGAppsAttack threads. There is a discussion there somewhere about the disabling of B&N apps and the affect on the market.

[APP][2.3+] APK Extractor • APP Share/Backup(v.3.7) [APP]

Play Store Link: https://play.google.com/store/apps/details?id=com.asif.apkextractor
A very useful tool for android users..
The Best And Easy To Use Apk Extractor/App Manager Is Here...
Now BackUp/Send/Restore/Delete Apps On The Go..
Features:
*Can Backup/Share/Restore/Delete Single or Multiple Apps in One Click.
*Compatible With Latest Version Of Android 5.0
*Awesome, Fast, Smooth, Clean and Convenient User Interface.
*No ROOT Access Required.
*Easily Back-Up/Extract apk of Installed Applications With Just A Simple Click.
*Easily Send Multiple Apps Via Bluetooth or Email and So On...
*Single or Multiple App Uninstall Feature.
*Restore Apps Section:
-View Already Extracted Apps
-Restore single or multiple Extracted Apps in one click from within the App
-Delete single or multiple Extracted Apk's in one click from within the App
*Ability To Select Your Desired Backup Path To Anywhere In The Internal Or External Memory Easily.
*Shows Whether An App Is Already extracted or not.
*Keeps Backup of Different Versions Of Apps Separately.
*Displays User-Apps And System-Apps Separately So That You Can Find Any App Quickly.
*Sorts The List Of Apps In Alphabetical Order To Make Finding Any App More Easier.
*MultiSelect Option To Extract Many or All Apks At a Time.
*Search Option To Find Any App Easily.
*Displays ProgressBar While Extraction.
*Displays The Details Of Every Installed App:
-App Name, App Icon, Size, Version, Package Name,Install/Backup Status
*Renames The Extracted App/Apk As, "App Name(Version)(PackageName).apk",
e.g ApkExtractor(3.0)(com.asif.apkextractor).apk
NOTE: The Extracted Apk's Are Stored In "APKBACKUP" Folder.
FAQ:
Why Extraction or Backup failed??
Answer: In 99% Cases Backup/Extraction fails Because of Full Memory i.e No Memory Space left in your Selected Storage Media..
Give your opinion about my App friends???
Play Store Link: https://play.google.com/store/apps/details?id=com.asif.apkextractor
I am a young Indie Android Developer(17),if you like my app then do rate it on the play store also do share it, Thanks..
Some Screen Shots And Apk Attached..
Updated thread

Amazon Fire: Sideload .apks to Kids / Child Profile

After struggling quite some time to get Spotify Kids running in the kids profile I wanted to write down my findings, as after hours of googling I did not find this solution:
Credits: Basic steps are taken from User halcion1 (look here for the PlayStore installation .apks order)
How to: YouTube Kids and other sideloaded (Google services) apps on a Child Profile
How to have side-loaded apps (including those requiring Google services) show up and work on a Child Profile. It its a processes and maybe there is another way, but I couldn't find it. Here's how I did it: Primary Account Install ES File...
forum.xda-developers.com
0)
In the parents profile of the tablet go to the securtiy settings and grant the rights to install apks from unknown origin to the Amazon File manager app.
Remove/uninstall GooglePlaystore and services in the parents profile! Otherwise you will fail later.
1)
Via the Amazon parents content management add the following two apps to the childs profile:
Install File Manager: https://www.amazon.co.uk/dp/B004VOBIE8/ref=pe_33573471_635671331_TE_M1DP
Install RocketApps: https://www.amazon.co.uk/KwarkLabs-RocketApps/dp/B088PVKBRB
2)
Transfer the 4 .apks required for the Google App Store and all other .apks that you like into the childs profile Download folder.
You can use the Rhythm Software File Manager's FTP Server capabilities or a SD Card or whatever you want.
3)
Use RocketApps to add the original Amazon File Manager app to be launchable in the Kids Profile.
4)
Install the APKs (this is where other HowTos suggest various other apps/file managers, but this did not work for me):
Launch Amazon File Manager via RocketApps. This app can navigate to the downloads folder and now has the rights to install .apks. Watch for the right order to install PlayStore. Then install Spotify Kids via .apk or whatever app you want.
5)
Add SpotifyKids to RocketApps. Remove Helper Tools from RocketApps.
Findings with my Fire 7 (12th Gen):I could launch the PlayStore within the ChildsProfile but I could not install new Apps from within the PlayStore. It stuck in endless wait while processing the installation.
@Squelsh Here's a link to a thread which describes the steps you can take to try to resolve the Play Store "endless wait" problem:
https://forum.xda-developers.com/t/...-a-child-profile.3839714/page-3#post-88322947
RocketApps FAQ is here:
https://kwarklabs.com/rocketapps/faq

Categories

Resources