Open GApps on Galaxy Y GT-S5360B
Hi!
After a week trying to resurrect a Galaxy Y, reinstall the stock ROM, CM-11-totoro and many GApps and apps, I liked this basic setup, which I share with you:
Open GApps on Galaxy Y GT-S5360B
SemcIME Swype Keyboard for ARMv6 for Open GApps installer
1. Download swype keyboard for ARMv6 from [1]
2. Extract "system" folder
3. Rename "system" to "nodpi"
4. Create "common" folder
5. Move "lib" from "system" to "common"
6. Create "semcime-arm" folder
7. Move "nodpi" and "common" to "semcime"
8. Create a tar file, on Linux with: "tar cvf semcime.tar semcime"
GooglePlayServices for ARMv6 for Open GApps installer
1. Download GooglePlayServices version 8.3.01, this is the latest for ARMv6, from sites like APK Mirror
2. Rename it to GooglePlayServices.apk
3. Extract "lib" folder: "unzip GooglePlayServices.apk 'lib/*'"
4. Delete "lib" folder from APK: "zip -d GooglePlayServices.apk 'lib/*'"
5. Download "zipaling" from Andriod SDK, for Linux in my case [2], extract it from downloaded file
6. Align this apk: "./zipalign -f 4 GooglePlayServices.apk GooglePlayServices_aligned.apk"
7. Move aligned apk to final apk: "mv GooglePlayServices_aligned.apk GooglePlayServices.apk"
8. Create folders "gms-arm", "gms-arm/common", "gms-arm/common/lib", "gms-arm/nodpi" and "gms-arm/nodpi/app"
9. Move apk to "gms-arm/nodpi/app": "mv GooglePlayServices.apk gms-arm/nodpi/app/"
10. Move lib* to "gms-arm/common/lib": "mv lib/armeabi/lib* gms-arm/common/lib/"
11. Create a tar file with "tar cvf gms-arm.tar gms-arm"
Preparing Open GApps for ARMv6
1. Download the latest Open GApps from [3] for arm-4.4.4-pico
2. Extract the downloaded zip-file
3. Delete "gmscore-arm.tar.xz" from "Core" folder, no space in /system
4. Delete "vending-all.tar.xz" from "Core" folder, no space in /system
5. Move "semcime-arm.tar" into "Core" folder
6. Move "gms-arm.tar" into "GApps" folder
7. Edit "aap_sizes.txt" and remove "vending-all nodpi 16660"
8. Edit "aap_sizes.txt" and add "semcime-arm nodpi 1000" line, tab delimiter
9. Edit "aap_densities.txt" and remove "Core/vending-all/nodpi/"
10. Edit "aap_densities.txt" and add "GApps/gms-arm/nodpi/" and "Core/semcime-arm/nodpi/"
11. Edit "installer.sh" and:
11.1. Replace "gmscore" by "semcime-arm" in "core_gapps_list"
11.2. Remove "vending" from "core_gapps_list"
11.3. Add "gms" and to "pico_gapps_list"
11.4. delete "/system/lib/libjni_latinime.so" from reqd_list
11.5. Go to line "# Install/Remove SwypeLibs", about 2050, and remove "!" from below line
11.6. Put GooglePlayServices 8.3.01 into /data/, no space in /system:
11.6.1. Go to line "# Handle broken lib configuration on KitKat by putting Hangouts on /data/", about 2100
11.6.2. Copy block and replace "hangouts" and "talk" by "gms" and "Hangouts.apk" by "GooglePlayServices.apk"
11.6.3. The result is like this:
# Handle broken lib configuration on KitKat by putting GooglePlayServices on /data/
if ( contains "$gapps_list" "gms" ); then
ui_print "- Installing gms"
unzip -o "$OPENGAZIP" "GApps/gms-$arch.tar*" -d "$TMP"
which_dpi "gms-$arch" # Keep it simple, only 32 bit arch on kitkat and no weird libs for these apps
kitkatdata_folder_extract "gms-$arch" "$dpiapkpath" "com.google.android.gms" "GooglePlayServices.apk"
gapps_list=${gapps_list/gms}
fi
12. Uncompress all .xz files, because xzdec-arm fails on ARMv6: "find . -iname "*.xz" -exec unxz {} \;"
13. Create a zip file: zip -r ../jhos-open-gapps.zip *
Clean installation - THIS WILL DELETE ALL YOUR DATA
1. Install CWM recovery 6.0.5.3, refer to [4]
2. Format /system
3. Partion your sdcard for create /sd-ext, because /data/ is too small, swap may be good too
4. Wipe data/factory reset
5. Install zip and select cm-11.0.0-GTS5360-totoro.zip
6. Mount USB storage and copy jhos-open-gapps.zip to your sdcard
7. Unmount USB storage on your computer then on Galaxy Y
8. Mount all partitions
9. Install zip and select jhos-open-gapps.zip
10. Unmount all
11. Reboot
12. Install S2E, open and move all to /sd-ext, refer [4]
13. Reboot
14. Download Google Play Store or others APKs from sites like APK Mirror
[1]
http://xdaforums.com/showpost.php?p=15094820&postcount=26
[2]
https://android.googlesource.com/pl...ecec455c3d561ae3829a65/sdk/tools/linux.tar.gz
[3]
http://opengapps.org/
[4]
http://cm11galaxyyoung.blogspot.com.br/