Minimal GApps install on Marshmallow 6.0.0/6.0.1
I'll give an overview of my install procedure for Untouched AOSP on my Nexus 5, then I'll follow with the DeltaGApps install procedure.
General ROM & GApps Install Procedure:
--------
- Flashed MOB31E factory ROM via PC
- Installed TWRP via adb
- Created empty text files as per directions
HERE
- Copied ROM, empty text files, and install items to phone from PC
- Booted to recovery (TWRP), rebooted from within TWRP to recovery (TWRP)
- Wiped everything but internal storage
- Installed ZIPs: ROM, TimeService, bootanimation
- Rebooted to system (Android)
- Setup APN and WiFi
- Rebooted to recovery (TWRP)
- Flashed Delta GApps MM base package using this
PROCEDURE
- Rebooted to system (Android)
- Fixed Google Contacts Sunc, Google Play Services, and PlayStore permisions using this
PROCEDURE
- Added google accout via Settings -> Accounts
- Rebooted to system (Android)
For a Minimal GApps install on Marshmallow 6.0.0/6.0.1 on "unpatched" AOSP ROMs:
--------
1. Download Deltadroid's Marshmallow Base Gapps package for 6.0.0 or 6.0.1 (From
THIS GApps thread):
http://forum.xda-developers.com/showpost.php?p=58047099&postcount=1 (Post #1)
(There are packages for 6.0.0 and 6.0.1 - all the way down, towards the bottom, "Marshmallow Base Gapps Package:").
2. Create and install these empty text files (0-byte) on the "root" of your Internal Storage (Ex: "/sdcard/" or "/storage/emulated/0"):
(NOTE: The end of this post has a mini walk-thru for creating these empty text files using Notepad on a PC and TurboEditor on Android)
/sdcard/.removefacelock
(prevents Google Facelock from being installed and removes existing installation of Facelock)
/sdcard/.removesetupwizard
(keeps the "stock provision" Setup Wizard and does not replace it with Google's Setup Wizard)
3. Install GApps via TWRP
4. Boot to System (Yes, you'll probably get Play Services "FC" messages until you perform #5 below)
5. Immediately toggle application permissions to "ON" under:
Settings -> Apps -> ... -> System show
For:
- Google Contacts Sync
- Google Play Services
- Google Play Store
- Contacts (I had to add permission for SMS on AOSP MOB31E)
6. Reboot the phone
7. Add your Google Account via "Settings -> Accounts -> Add account -> Google"
8. Verify that Contacts are synced and Play Services is functional.
9. Enjoy!
Walk-through for creating empy "zero-byte" text files:
--------
On Windows, use Notepad or the text editor of your choice:
1. Select "New file".
2. Without typing any text, press "Save as".
3. Under "Name", type ".removefacelock" (without the quotes, with the preceding period, and without the .txt extension)
4. Press OK.
5. repeat steps 1 and 2.
6. Under "Name", type ".removesetupwizard" (without the quotes, with the preceding period, and without the .txt extension)
7. Press OK.
8. Copy both files from Windows to "/storage/emulated/0" or "/sdcard" on Android.
On Android, using Turbo Editor for illustrative purposes (
https://play.google.com/store/apps/details?id=com.maskyn.fileeditor&hl=en or
https://f-droid.org/repository/browse/?fdid=com.maskyn.fileeditorpro):
1. Download and install a text editor on Android.
2. Open the text editor.
3. Select "New file".
4. Without typing any text, press the three dots in the upper right corner.
5. Press "Save as".
6. Under "Name", type ".removefacelock" (without the quotes, with the preceding period, and without the .txt extension)
7. Verify that the destination folder is "/storage/emulated/0", or "/sdcard", or whatever your storage area is named.
8. Press OK.
9. Press the back arrow until you get to the menu.
10. repeat steps 3-5.
11. Under "Name", type ".removesetupwizard" (without the quotes, with the preceding period, and without the .txt extension)
12. Repeat steps 7 and 8.
Done.