Install custom Android version on a foreign phone


Question

I'm sorry if this has already been answered or is obvious, I'm not experienced with Android. I recently got a new Android phone from ZTE, but it turns out that it was made for the local market (China) and as such most apps are in Chinese, and Google Play Store and Services are not installed (I tried manually installing from the .apk several times and the app either did not install or did not launch). I'm wondering, can I just wipe the phone and just install another Android version on it, one that would let me install GP Store?



If it matters, my phone is the ZTE Axon 7.


Answer

Installing Play Store and other Google Apps requires functionality not give to ordinary use apps thus these apps need to be installed in the system partition.



However, the system partition is inaccessible to unmodified phones without root (admin) permissions. Also installing Play Store requires to perform some modifications to the system which cannot be done when Android is running (regardless of Android version). Thus these tasks are done by a special mode known as the recovery mode. The default recovery mode shipped with the phones are designed to prevent modifications to the system and thus the Android Modding community has created custom versions like (CWM, TWRP, Philz, etc).






First you need to configure you computer to connect to you phone via ADB (Android Debug Bridge).



Download ADB and Fastboot drivers (Windows | Mac) and install it on your computer. This will also install the drivers.



Then you need to install a custom recovery:




  1. Download TWRP recovery for your device here.

  2. On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging.

  3. From your computer, open a command prompt in the folder you specified when installing the drivers and type: adb devices. You should see an entry like: <Sl. No.> device.
    Note that you might see a prompt on your phone asking for permission, if so, accept it.

  4. Type: adb reboot bootloader. Your phone will switch on and will be in the fastboot mode.

  5. Your device needs to be unlocked before it can flash custom images. To unlock your device type: fastboot oem unlock.

  6. Rename the file you downloaded in Step 1 to twrp.img and copy it to the folder you specified when installing the drivers and then type fastboot flash recovery twrp.img followed by fastboot reboot.



Now to install Play Store:




  1. Download Google Apps from here after selecting ARM64, 6.0.1 and pico (I assume you are on the stock ROM).

  2. Store it on your phone in an easily accessible location and type: adb reboot recovery on your computer.

  3. Let the recovery start and when presented with the options press Install.

  4. Navigate to the location where you save the file in Step 2, select it, and swipe across the slider to confirm.

  5. After it is done press Wipe Dalvik cache followed by Reboot System.



That's all you need for Play Store.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes