cgapps / vendor_google Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
#16 was fixed with symlinks but the created zip don't contains them.
Zipping with --symlinks
is not a solution since symlinks are extracted as regular files with the target as file content.
Maybe creating a .tar.gz
file could solve this problem, though I don't know if these archives can be flashed on an Android device with regular tools?
Otherwise I was thinking of a hook script that would create the symlinks once the zip extracted, but I'm not sure this is possible, I'm really not confident with Android right now.
An other solution would be to make a plain copy of the library files instead of symlinks, but this is a waste of space.
Any idea?
Thanks!
getmd5 function does not write md5sum file for zip. Isn't an md5sum useful for installation on devices?
function getmd5(){
if [ -x $(which md5sum) ]; then
echo "md5sum is installed, getting md5..." >> $GLOG
echo "Getting md5sum..."
GMD5=$(md5sum $OUT/$GARCH/$BUILDZIP)
return 0
else
echo "md5sum is not installed, aborting" >> $GLOG
return 1
fi
}
update google play services plz.
Where are the binary files obtained from? Is it "another random zip" retrieved from XDA?
Failing to find an auditable track for the files last week, I started documenting the required files at https://github.com/Lekensteyn/make-gapps-zip (which might help you as well).
Hi!
First of all, thanks for providing a solid gapps package. It runs really well.
I was wondering how you plan to maintain this repository in the future, because the Git history is growing rapidly because of the binary archives.
My sugggestion is to put them at a separate place for download, and have the build script fetch them from wherever that is (outside of the Git repository).
Another interesting approach is found in the Open Gapps project (https://github.com/opengapps/opengapps), who are maintaining a separate repository for binaries of each architecture. However, they are also downloading everything during build, so the result is currently the same regarding disk usage...
My wish would be that this is a really small repository with just some scripts and certificates, and everything else is downloaded during build. That should not make more than 100 MB according to the size of the builds...
Hey,
On master
(a73691b) looks like the arm
output directory is cloned at different places (probably due to mv
destination issues with multiple builds without distclean
):
out/arm
out/arm/arm
out/arm/arch/arm
I believe out/arm/arm
and out/arm/arch/arm
should be deleted. It appears out/arm/arm
is ignored by flashing software, and out/arm/arch/arm
is installed in /system/arm
which is useless to the system and just takes more space (and is a plain duplicate of what's installed in /system
anyway).
Also, do you think anything in the out
directory should be tracked by Git? I'd rather leave the out
directory empty so we begin with a clean build just after cloning.
What do you think?
Thanks!
logcat says that libgoogle_recognizer_jni.so can't be found. So I renamed copy of libgoogle_recognizer_jni_l.so to libgoogle_recognizer_jni.so and that helped. Gapps version: gapps-5.1-arm-2015-07-17-13-29.zip
How to recreate:
Open Google app. Try to use currency converter. E.g type "USD to Yen" in Google search. Click the drop down menu to change to another currency i.e. by clicking the "USD" or "YEN". Google now crash. Doesn't happen with my other devices using a different gapps package. Please fix this.
It seems like it's over here... This was the most reliable GApps I had found and placed them in the OP of Official CM12. Replaced with Open GApps but they are bleeding edge and produced some bloody fingers already.
The 20 KB/s from github is pathetic, please just upload .torrent files.
Hello,
I am installing the CM 12.1 nightlies along with gapps-5.1-2015-05-23-24.zip
but the AOSP keyboard gesture typing does not work. A lot of people have confirmed this and have suggested that libjni_latinimegoogle.so
be installed into /system/lib
but I find that, after a clean flash, libjni_latinimegoogle.so
is in /system/lib/lib
instead.
Flashing is done via TWRP on a Samsung Galaxy S5 (SM-G900F):
/system
, /cache
and Dalvikcm-12.1-20150524-NIGHTLY-klte.zip
gapps-5.1-2015-05-23-24.zip
Any ideas?
The zips have the wrong directory structure and just fail to flash. Everything that should be in the root of the zip is actually in a folder.
Hi in the version 24052015 Arm, TrustedFace not work (Force Close), in the previous version instead just it works if you flasha Along with Roma ( not held up ) .
com.google.android.googlequicksearchbox crashes due to it looking for libgoogle_recognizer_jni.so and can't find it. Copying libgoogle_recognizer_jni_l.so and naming it ibgoogle_recognizer_jni.so fixes it temporarily.
If you want, I can upload x86 files from my 5.0.1 running tablet.
E/AndroidRuntime( 8921): FATAL EXCEPTION: main
E/AndroidRuntime( 8921): Process: com.android.facelock, PID: 8921
E/AndroidRuntime( 8921): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/app/FaceLock/FaceLock.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libfacelock_jni.so"
E/AndroidRuntime( 8921): at java.lang.Runtime.loadLibrary(Runtime.java:366)
E/AndroidRuntime( 8921): at java.lang.System.loadLibrary(System.java:988)
E/AndroidRuntime( 8921): at com.android.facelock.FaceLockUtil.(FaceLockUtil.java:338)
E/AndroidRuntime( 8921): at com.android.facelock.SetupFaceLock$SetupFaceLockFragment.onCreateView(SetupFaceLock.java:302)
E/AndroidRuntime( 8921): at android.app.Fragment.performCreateView(Fragment.java:2053)
E/AndroidRuntime( 8921): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894)
E/AndroidRuntime( 8921): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
E/AndroidRuntime( 8921): at android.app.BackStackRecord.run(BackStackRecord.java:834)
E/AndroidRuntime( 8921): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)
E/AndroidRuntime( 8921): at android.app.Activity.performStart(Activity.java:6005)
E/AndroidRuntime( 8921): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2319)
E/AndroidRuntime( 8921): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
E/AndroidRuntime( 8921): at android.app.ActivityThread.access$900(ActivityThread.java:154)
E/AndroidRuntime( 8921): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
E/AndroidRuntime( 8921): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 8921): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 8921): at android.app.ActivityThread.main(ActivityThread.java:5293)
E/AndroidRuntime( 8921): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 8921): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 8921): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 8921): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
W/ActivityManager( 748): Force finishing activity 1 com.android.facelock/.SetupFaceLock
Just some cleanup of unnecessary duplicate error code. exit 0 only occurs one place. Everything else is an error.
diff --git a/build/gapps.sh b/build/gapps.sh
index b800cf2..2528f68 100644
--- a/build/gapps.sh
+++ b/build/gapps.sh
@@ -100,15 +100,8 @@ if [ "$LASTRETURN" == 0 ]; then
printdone "Build completed: $OUT/$GARCH/$BUILDZIP"
printdone " md5: $GMD5"
exit 0
else
printerr "Build failed, check $GLOG"
exit 1
fi
printerr "Build failed, check $GLOG"
exit 1
See here: http://forum.xda-developers.com/htc-one-s/help/cm-12-1-nighty-20150503-ok-google-t3100265
Google hotword detection as well as regular voice search is not working with this gapps-package. The user in the thread tried another gapps-package with the same ROM version and it is working.
Are the Google Play Services not included in "gapps-5.1-2015-04-20-15-56-24.zip"? I cannot add my Google account and the Google Play app immediately stops. Or am I doing something wrong?
In the newest build of gapps for arm (gapps-5.1-2015-07-03-13-41.zip), i've discover'd this issue :
run_program("/systen/gapps_scripts.sh", ""); - Should be : run_program("/system/gapps_scripts.sh", "");
Hi,
I just installed in a fresh new Moto Maxx (quark). When I try to configure Face Unlock I get an error saying that libfacelock_jni.so is missing.
Regards
Can you add a way to exclude apps that are not strictly necessary?
Or should we just manually delete the folders from app
/ priv-app
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.