How can I factory reset a European Huawei phone in China without access to Google?


Question

Well, as you can see in the title......I am having a hard time in China. :)
My phone is from Spain and I had to factory reset it (it got soft-bricked...just on its own. Weirdest thing ever). It is a Huawei P8 Lite 2017 with literally no support. Whatever is on the internet (PC suite) can't be used because it says it is not a supported phone.



Is there a way to continue the factory reset without the Google service? It is blocked here.



This is the screen where I am stuck atm:



FRP


Answer

To reach Google and proceed with the next steps, you need to set up a PC that's capable of penetrating through that wall (e.g. with VPN), and make it a proxy server on the local network for your phone to use. Here's the way I do it:




  1. On your PC, install Privoxy and let it through your firewall (if exists)

  2. Go to its installation directory and open config.txt. You might need to open it with administrator privilege to be able to save it later.

  3. Search for "listen-address" and you should get something like this:




    listen-address 127.0.0.1:8118




    It should be right above the chapter "4.2 toggle" and not have a "#" before it. Edit it to:




    listen-address 0.0.0.0:8118




    Now save the file.


  4. Determine the LAN IP of your PC, usually by running ipconfig in the Command Prompt. Suppose it's 192.168.0.1.


  5. Fire up Privoxy and connect to the VPN you use. Now your PC is ready; move on to the phone.

  6. While in Setup Wizard, connect your phone to the same network as your PC. If you have already connected to the network, make the phone forget it and set it up from scratch. When entering setup details, check Advanced Options, then choose "Manual" for Proxy. Enter the IP and port you got previously. It should look like this:





    Proceed to connect.




Your phone should now use your PC as a proxy, and therefore should be able to reach Google. Follow the on-screen guidance afterwards.


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