[Guide] How To Run 'Pokemon Go' Flawlessly on Moto E Gen 2 - E 2015 Q&A, Help & Troubleshooting

Tested On XT1526 from the stock 5.1.1 firmware surnia. PLEASE check your settings->about phone and look to make sure the model is surnia before going forward! Please reply in the comments if you were able to get this to work on another model other than the XT1526!
So you have the Moto E Gen 2. You may have even got this phone specifically to play the game that's sweeping the world, 'Pokemon Go'. You felt great having installed the APK like a true hacker, you went to play and......oh no. What's this? The phone takes ages to boot up? Restarts all the time while trying to log into your account? Or you FINALLY get far enough into the load that the game starts (or gets close to it) and the phone gets soo hot in your hands it's unbearable and the game begins to **** out? Perhaps it runs terribly from the get go?!
This. Guide. is. For. You.
This guide will help you to set up your Moto E Gen 2 to run perfectly with the game! It will also cause your phone to run almost 3x faster, and have the battery last almost 2.5x longer! I would recommend this guide to ANY person using the Moto E. I have NOT tested this guide with the Gen 1 or any other phone.
I do not take ANY responsibility if your phone ****s out on you in any way, shape or form. Messing with your phone's system like this can ALWAYS cause issues if you don't take your time and know a bit of what you are doing. Or, if you are new to this and daring, I have constructed this guide to be extremely easy to follow. As long as you follow step by step, you should be goldeen...erm...golden! If not, it's not on me. Your fault !
If you encounter a step you have previously done, go to the next one! This guide is step-by-step for someone with a stock Moto E (2015)!
Step One: Unlock The Bootloader
So the first thing we need to do on this journey is unlock our bootloader!
1. Back up ALL of your data! Do it. Or if this fails, you will be SOL.
2. Download the Android SDK or get the Minimal Version (this is what I did)
3. When you install the SDK, install it to your desktop (during installation it will ask you for location. Make a new folder on your desktop called SDK and install it there for easy access).
3. You will want to install the drivers for your phone so you don't have problems connecting from your computer to your phone! Download them HERE.
4. Now we need to get into fastboot. To achieve this there are a few things we need to do.
-With your device powered on, go to your Settings->About Phone and click on the 'Build Number' 7 times to enable Developer mode!
-Go into your settings->developer options and enable 'USB Debugging'
-While in Developer Options, make sure 'OEM unlocking' is ENABLED.
-Open the directory on your desktop where you installed ADB. You should see some programs such as 'fastboot' and 'adb' in there. Should NOT be an empty folder containing another folder!
5. Once you are in the directory of your ADB on your computer, and you have done all steps above, hold down the SHIFT KEY and RIGHT CLICK inside the ADB folder containing your 'fastboot' and 'adb' programs. Choose the option that says 'Open Command Window Here'.
6. Once the command window opens, connect your phone (while powered on) to your PC.
7. In the command window, enter the following command to make sure your device is connected: 'fastboot devices' Now, enter the following command: 'fastboot reboot bootloader'
8. When your phone restarts, you will be in the bootloader screen. Once here, enter the following string into your command window: 'fastboot oem get_unlock_data'
9. You will get a nice long string of text. Copy it by right clicking on it->Mark->then mark the string of text by holding the shift key. Ctrl+C to copy it.
10. Open a Notepad and copy the string into it by pressing Ctrl+V. Make the string of text ALL ONE LINE by deleting the spaces.
11. Head over to the Motorola site HERE and log in using your google+ account.
12. Scroll to the bottom of the page, and in step 6 paste your string code from your notepad (step 10) into the blank box. Click on the 'Can My Device Be Unlocked' link. There should be a new button that comes up that says 'Request Unlock Key'. You will be emailed your unlock key after clicking the 'I Agree' prompt!
13. Go into your email, and open up the new one that contains your unlock key. Copy the 20 character string that is your unlock key.
14. Back in your command window, enter the following command again: 'fastboot devices' to ensure your device is still connected. Your device should STILL be in your bootloader screen. If so, and you see your device in the command prompt, enter the following command: 'fastboot oem unlock YOUR_UNLOCK_CODE'
15. After a while, you should get a 'Bootloader Unlocked' notification on your phone.
If so, you're done with this step! On to the next one . KEEP YOUR CMD WINDOW OPEN FOR ADB
Step Two: Rooting Your Phone and Installing TWRP
1. Turn your phone back on like normal. Connect your phone to the computer so you can see into the storage (should be under My Computer->Your Device).
2. Download the following files. TWRP Recovery and SuperSU.
3.Take your 'recovery.img' and move it to the folder with your ADB and Fastboot (on your desktop). Make SURE it is in the same folder with the adb and fastboot programs and is named 'recovery.img'.
4. Take your 'SuperSu' zip file you downloaded (DON'T UNZIP IT) and move it to your phones SD card (preferred) or Internal Storage.
5. Once your recovery image is in the ADB folder and the SuperSU zip file is on your phone's storage, type the following command: 'adb reboot bootloader'
6. Your phone will reboot into the, now familiar, bootloader screen! For this tutorial, we are actually going to flash TWRP onto the phone so it is the phone's default recovery program. To do this, while in the bootloader screen on your phone, type the following command into your command console on your computer: 'fastboot flash recovery recovery.img'
7. Once it is done and successful, enter the following command into your CMD console to make sure TWRP in installed on your phone: 'fastboot reboot bootloader'. On your phone, use the Volume+ and Volume- keys to navigate to the 'Recovery' option. Press the Power key when it is highlighted!
8. Once you are in your TWRP, press the 'install' button. Navigate to the storage folder on your phone that contains the SuperSU zip file you moved from your computer onto your phone in step #4. When you see it, click on it and use the slider to flash it onto your phone. Once it is done, (as you should ALWAYS do after a flash), click the 'Wipe cache/dalvik' button and do the 'Swipe to Wipe'. Once done, click the 'Reboot System' button!
Step Three: Now your phone is rooted and has TWRP installed! It is time we install Cyanogenmod CM13!
1. Go HERE and download the 'Latest Nightly' rom at the top of the page. It will download a .zip file to your computer. Then go HERE, select ARM->6.0->Stock and hit the green download button (it's pretty big). Once both are downloaded, boot up your phone (if not already done) and connect it to your computer. Move both these .zip files to your phone's SD card (recommended) or internal storage.
2. Boot into recovery after the transfer is complete by holding the Power+Volume Down buttons. When the screen turns black, let go of the power button and continue to hold Volume Down.
3. Once in the bootloader, use the Volume+/Volume- buttons to navigate to the Recovery option. Hit the power button when it is selected.
4. Once in TWRP recovery go to install. Navigate to where you just transferred the two .zip files you just downloaded ONLY TO MAKE SURE THEY ARE THERE ALONG WITH THE SUPERSU .zip FILE YOU DOWNLOADED EARLIER. If it isn't, figure out why and correct it! If it is, continue (DO NOT INSTALL EITHER LOL)
5. Go to the 'Wipe' option on the homescreen of TWRP. REMEMBER TO HAVE BACKED UP ALL YOUR DATA BY THIS POINT. Move the slider to complete the wipe.
6. NOW we can install the rom! Go back to 'Install' on the homescreen of TWRP. Navigate back to the .zip file of the Nightly Build rom again (NOT THE GAPPS), and select it! Once selected, move the slider to flash Cyanogenmod CM13 to your phone. WE WILL NOT BE INSTALLING THE GAPPS YET. YOU WILL FIND OUT WHY SHORTLY.
7. Once it is done, hit the 'Wipe cache/dalvik' button. Once completed, go ahead and reboot the system! The first boot will take awhile to set everything up. Have patience!
8. Once everything installs, you will be at the setup screen. As you go through the setup screen, something weird will eventually happen...you won't be able to hit the 'Next Button'. The only thing that will happen is when you hit 'next' your phone will bring the system tray down from the top. It took me AGES to figure this out people...but NOT installing the GAPPS at the start is literally the only way to get past this (with GAPPS installed, it takes too long to proceed through setup and you will keep getting killed by the drop down screen). Get through it in step 9!
9. Once you get to the point in setup that the dropscreen comes down, position your right thumb so its hovering above the 'Next Button' and DON'T MOVE IT. Using your left hand, hold the power button until you see an option to 'Restart' the phone. Do it. And from the moment your phone restarts, RAPID TAP (and I mean it, tap as fast as your thumb will allow you) WITH YOUR RIGHT THUMB WHERE THE 'NEXT' BUTTON WILL BE. Do NOT stop until you have successfully got through the setup process and are on the android's home screen! At this point, you MAY have an issue hitting the middle gray button at the bottom of your phone (next to messages and chrome icons) without it bringing down the stupid drop screen. To fix this, once again position your thumb on the gray button that sends you to your apps and hover it there. Restart the phone again, and rapid tap where this gray button will appear upon boot. Once booted and you have successfully clicked the button, the error goes away! You can navigate your phone normally and reset it without the problem coming back! (if it does, simply repeat this past step to get rid of it).
10. NOW we can reboot back into the bootloader by holding the Power/Volume- keys. Once in the bootloader, navigate with the Volume+/Volume- keys to the recovery option, and hit the power button to boot up TWRP.
11. Once in TWRP, click the 'install' button. Navigate to where your GAPPS .zip file is (the one you just downloaded along with the nightly rom), click on it, and move the slider to flash it. Once it finishes, make sure to wipe the Cache/Dalvik. Do not reboot yet!
12. Navigate back to the 'Install' button of TWRP, and find your SuperSU .zip you installed earlier. Install it again for safe measures and wipe the Cache/Dalvik once it is done!
13. Boom. Restart the phone and you now have working CM13 6.0 on your Moto E 2015 Device! Now the moment you have all been waiting for, POKEMON GO !
Step 4: How to make Pokemon Go run GREAT
1. Once booted up, go to your system->about phone. Click on the 'Build Number' 7 times to unlock developer mode.
2. Go to your system->Developer options and make the following changes
-Advanced Reboot->ON
-Root Access->APPS and ADB
-Select USB Configuration->MTP (Media Transfer Protocol)
-Window Animation Scale-> changed to 0.5x
-Transition Animation Scale-> changed to 0.5x
-Animator Duration Scale-> changed to 0.5x
-Don't Keep Activities-> Turn ON
-Background Processes limit-> Change to 'At most 1 process'
3. Now, head to your system->Apps settings. Force Stop and Disable the following (unless you actually use it...)
-Cloud Print
-Docs
-Drive
-Fit
-Gmail (unless you use it, using chrome browser to access it is better option to keep phone running fast)
-Google Play Books
-Google Play Games
-Google Play Movies & Tv
-Google Play Music
-Google Play Newsstand
-Google+
-Hangouts
-Keep
-News & Weather
-Screen Recorder
-Sheets
-Slides
-Youtube
4. Go to your settings->security and enable 'Unknown Sources'
5. Go to settings->memory and hit 'Apps Started on Boot' and make the following changes
-Photos: deselect 'keep awake' and 'start at boot'
-Keep: deselect 'keep awake' and 'start at boot'
-Hangouts: deselect 'keep awake' and 'start at boot'
-Camera: deselect 'keep awake'
-Gmail: deselect 'keep awake' and 'start at boot'
-Exchange Services: deselect 'start at boot'
-Media Storage: deselect 'keep awake' and 'start at boot'
-Download Manager: deselect 'keep awake' and 'start at boot'
-CM Updater: deselect 'keep awake' and 'start at boot'
-Talk Back: deselect 'keep awake' and 'start at boot'
-YouTube: deselect 'keep awake' and 'start at boot'
-Google Play Movies & TV: deselect 'keep awake' and 'start at boot'
-Fit: deselect 'keep awake' and 'start at boot'
-Google Play Music: deselect 'keep awake' and 'start at boot'
6. Reboot the system! (hit the power button and hit reboot->reboot)
7. Go into the google play store, and login using your normal account settings.
8. Once logged in, download 'Kernel Adiutor (ROOT)' and open it up. Allow it to use root access (screen will pop up be looking for it).
9. Once opened, hit the tray button to the left of 'Kernel Information' (the three lines) and go to CPU. Slide the 'Apply On Boot' bar to the right to enable. Set your 'CPU Maximum Frequency' to '1209MHz' and 'CPU Minimum Frequency' to '400MHz'. Then, change the CPU Governor to 'Performance'.
10. Now that your phone is running faster than ever, go to chrome on your phone and google search 'Pokemon Go APK'. I used the 'APKPURE Pokemon Go APK 0.31.0' from m.apkpure.com. Your phone might glitch a tiny bit (it did for me the first time) and do a soft reboot. It's fine! Re-open chrome and hit the 'Download APK 59.9MB) bar beneath 'Verification Passed' and it will start downloading. Once it is done, open your 'File Manager' and go to the 'Internal Storage' then go to 'Download'. Click on the 'Pokemon Go' icon and allow it to install!
11. Start up the app, and MAKE SURE you only have ONE google email on the device. Let the game load, and set everything normally. When it asks you to login (if you use the google account one) right after you hit the google account, click on the screen in the middle rapidly. It SHOULD keep the game from re-setting. If the game does reset, don't fret. Restart it and try again. Once you get past this point? You phone should be running the game 2x if not 3x better than before! The final step is once the game is loaded, click on your pokeball icon and go to settings. Turn on battery saver mode!
Boom Bada Bing! Your phone should not only load the game ridiculously fast now, your battery life will be extended 2x-5x and the game will run at a steady rate keeping your CPU cooler than ever before!
This guide is compiled based on the struggles I faced getting the game to work properly. I got the phone from my wife while I wait and wait and wait for Pokemon Go to POSSIBLY come to my Windows Phone 1020 lol. When she gave it to me, it ran terribly and would overheat after 20 minutes of play in the sun. These are the ways I got the phone to run soo smoothly that now she ALMOST wants the phone back haha!
Any errors you see? Any fixes not mentioned? Give some feedback in the comments below!

Any reason for using stock gapps? You seem to disable most of the gapps anyway so perhaps it may be good to just go with nano or pico?

I put it in there in case someone wanted to use one of the stock gapps in the future.

Dude.... I already have CM 14 since a month....and I simply downloaded the app and followed the steps as you said..... Pokemon Go's still not working

RayShah_N said:
Dude.... I already have CM 14 since a month....and I simply downloaded the app and followed the steps as you said..... Pokemon Go's still not working
Click to expand...
Click to collapse
What error are you getting?

shaktiman01 said:
What error are you getting?
Click to expand...
Click to collapse
Unable to authenticate. Please try again

RayShah_N said:
Unable to authenticate. Please try again
Click to expand...
Click to collapse
That's due to Pokemon go now don't run on rooted phones.
For this you have to delete su files from following directory :
/System/bin
/System/xbin
Give it a try.... But you'll lose root access

Related

[Q] how to install linux. backtrack without adb

Any guide
Possibly using linux machine
I think you should be able to perform all the steps done in adb using a linux machine. If you don't have a linux machine go to http://www.linuxmint.com/download.php and download the 32-bit DVD. You can burn it to a DVD and boot your PC to the DVD. I can get you more instructions if you need them.
I'm going to try this out this weekend. (Hopefully, Friday night.) I'll let you know if it works, and get you a step-by-step.
I have ubuntu
11.04
waiting for the instructions
thanks
Working on it now.
Downloading bt5.tar.bz2 now. It'll be a bit. 667MB... about an hour remaining.
The basic idea is to format the sdcard to ext3 using Gparted. (That WILL wipe all of your data!)
Then copy the files listed in bt5 post in the development forum by slimm609, and follow his instructions from that point on.
It should be simple.... (Please realize this is an over simplified summary, not instructions.)
I'm still going to try it out myself, and post a step-by-step as an alternate means for the command line phobic.
OK. Just booted to BackTrack
OK. It worked. It'll take me a few minutes to type up the step-by-step.
BT5 Setup - the GUI method (Ubuntu)
First of you will need a micro SDcard Reader for your Ubuntu machine, a recovery kernel, (like clockwork mod) and a application called Gparted (Graphical Partition Editor) on the Ubuntu machine. If you don't have it installed it is available in the repos.
1. Download the necessary .zip files from the original thread.
http://forum.xda-developers.com/showthread.php?t=1075054
(This would also be a good time to back up your data from the Tablet to another storage medium just in case.)
2. Mount the micro SDcard to your Ubuntu Machine. Copy anything from the SDcard you wish to keep. You WILL lose the data on this card when it is formatted.
3. Open Gparted. In the upper right hand corner select the micro SDcard device name. (Typically /dev/sdb or /dev/sdc, please be certain before proceeding.)
4. The partitions on the device should appear in the lower window. Right click on the partition you want to format, (usually /sdb1) and select "unmount".
I cannot stress enough that the following step will erase the data off of what ever device you have chosen! Choose wisely.
Right click the same partition and select "Format to" > ext3.
Select "Edit" from the menu up top, and "Apply all Operations"
5. Remount the SDcard. Copy the bt5.tar.bz2 file to the SDcard. This will take a minute or two. Once it is finished copying. Right click on the bt5.tar.bz2 icon, and select "open as administrator" This should open Archive manager as root. (It should ask for a password.)
It will take it a minute or two to read the archive and present the contents. (It's Large.)
6. Click the "Extract" button up top. In the window that pops up double check that you are pointed to the micro SDcard. (Usually /media/Random-Characters) Click the "Extract" button at the bottom right. You should get a progress bar and see folders begin to populate the File manager's window. This will take several minutes. Get a cup of coffee...
7. Once this is finished, delete the bt5.tar.bz2 file.
8. On your Gtablet, download the three (3) kernel .zip files listed in the original thread.
Move them to a folder you can easily find. (I did AA_kernels, so it's first in the list and easy to remember.)
9. Reboot the G-tab. Enter recovery mode, by pressing the volume up (+) key while pressing the power button. In the recovery mode flash the droid-kern_backup.zip to backup your current android kernel. This will allow you to switch back to the android install you have now.
For Clockwork Mod (CWM) its "install zip from sdcard" > "choose zip from sdcard" > folder you named earlier > droid-kern_backup.zip.
10. After it is finished, selec the bt5kern-01-20110525.zip . This will set the tablet to boot to the BT5 load. Press the back button until you see the option to "reboot system now" and select it.
Once you reboot you should boot into BackTrack5. The screen may go dark and/or have a few white blocks, before it pops up some indeterminable text. Don't worry, be patient.
The login screen should say Clemintine and allow you to position the mouse over the "user name" block. Tap to select. In order to type you will need a physical keyboard plugged in, or you should see a man in a circle at the bottom right of the screen. Clicking that Icon will bring up options for assistance which include an on screen keyboard.
Enter "root". (Without quotation marks.) for the user name.
Enter "toor" for the password.
That should have you set to play. To return to the android install, reboot to recovery mode, and select the restore_droid-kern.zip . Another warning! Don't select the backup.zip at this time or you may over write the saved kernel.
I hope this helps. If I seemed to explain things to a painful detail, it's not to insult anyone's intelligence. You just never know who may be reading this post next, and what his/her experience level may be. If this manages to help you please click the "Thanks" button below and be sure to return to the original thread to Thank slimm609 and the others who put so much work into this project.
@argusvision
+1
That is lovely.
How about a dual boot setup? has that been tried?
Dual boot
This is a dual boot solution. To switch between distros, boot into recovery mode, and select the kernel you want.
BT5_kern.zip for BackTrack, or restore_droid-kern.zip to restore the kernel you backed up in the 9th step.
Look at the next to last paragraph.
argusvision said:
First of you will need a micro SDcard Reader for your Ubuntu machine, a recovery kernel, (like clockwork mod) and a application called Gparted (Graphical Partition Editor) on the Ubuntu machine. If you don't have it installed it is available in the repos.
1. Download the necessary .zip files from the original thread.
http://forum.xda-developers.com/showthread.php?t=1075054
(This would also be a good time to back up your data from the Tablet to another storage medium just in case.)
2. Mount the micro SDcard to your Ubuntu Machine. Copy anything from the SDcard you wish to keep. You WILL lose the data on this card when it is formatted.
3. Open Gparted. In the upper right hand corner select the micro SDcard device name. (Typically /dev/sdb or /dev/sdc, please be certain before proceeding.)
4. The partitions on the device should appear in the lower window. Right click on the partition you want to format, (usually /sdb1) and select "unmount".
I cannot stress enough that the following step will erase the data off of what ever device you have chosen! Choose wisely.
Right click the same partition and select "Format to" > ext3.
Select "Edit" from the menu up top, and "Apply all Operations"
5. Remount the SDcard. Copy the bt5.tar.bz2 file to the SDcard. This will take a minute or two. Once it is finished copying. Right click on the bt5.tar.bz2 icon, and select "open as administrator" This should open Archive manager as root. (It should ask for a password.)
It will take it a minute or two to read the archive and present the contents. (It's Large.)
6. Click the "Extract" button up top. In the window that pops up double check that you are pointed to the micro SDcard. (Usually /media/Random-Characters) Click the "Extract" button at the bottom right. You should get a progress bar and see folders begin to populate the File manager's window. This will take several minutes. Get a cup of coffee...
7. Once this is finished, delete the bt5.tar.bz2 file.
8. On your Gtablet, download the three (3) kernel .zip files listed in the original thread.
Move them to a folder you can easily find. (I did AA_kernels, so it's first in the list and easy to remember.)
9. Reboot the G-tab. Enter recovery mode, by pressing the volume up (+) key while pressing the power button. In the recovery mode flash the droid-kern_backup.zip to backup your current android kernel. This will allow you to switch back to the android install you have now.
For Clockwork Mod (CWM) its "install zip from sdcard" > "choose zip from sdcard" > folder you named earlier > droid-kern_backup.zip.
10. After it is finished, selec the bt5kern-01-20110525.zip . This will set the tablet to boot to the BT5 load. Press the back button until you see the option to "reboot system now" and select it.
Once you reboot you should boot into BackTrack5. The screen may go dark and/or have a few white blocks, before it pops up some indeterminable text. Don't worry, be patient.
The login screen should say Clemintine and allow you to position the mouse over the "user name" block. Tap to select. In order to type you will need a physical keyboard plugged in, or you should see a man in a circle at the bottom right of the screen. Clicking that Icon will bring up options for assistance which include an on screen keyboard.
Enter "root". (Without quotation marks.) for the user name.
Enter "toor" for the password.
That should have you set to play. To return to the android install, reboot to recovery mode, and select the restore_droid-kern.zip . Another warning! Don't select the backup.zip at this time or you may over write the saved kernel.
I hope this helps. If I seemed to explain things to a painful detail, it's not to insult anyone's intelligence. You just never know who may be reading this post next, and what his/her experience level may be. If this manages to help you please click the "Thanks" button below and be sure to return to the original thread to Thank slimm609 and the others who put so much work into this project.
Click to expand...
Click to collapse
I have tryed the above directions 15 times. 1st using the whole partition of my external micro SD, 16 gig. Also tryed shrinking the partition and only having 4 gig availble without success. The bootload kernal loads but it sits there the black screen after wiping the birds out. What am I doing wrong.
Edit ( fixed issue ): My Ubuntu machine wouldn't let give me permission to extract the .tar file onto the newly formated micro SD. Ended up creating a app in the task bar to open thing under root user. Fixed and works but they sayed wifi works and it doesn't. Even tryed changing the 2 files that were posted from the creator of the 1.2 boot kernal for BT and still nothing. I guess I am on my own from there. TY.
Stuck
mine gets stuck after it has some txt roll down the screen then the screen go black and it just stays there. any help?

This is how you install a Rom?

Hey folks,
Just ordered the Droid DNA off of eBay. It's factory condition, so it's not rooted or unlocked or anything.
I want to install the GPE rom on it from Newt. I've been reading as much as I can on how to do this and want to confirm my understanding. Forgive my noobness. These are the high level steps that I think I have to go through:
1) Run Moonshine. This will give me S-Off and an unlocked bootloader. This is all I need to put on a custom recovery.
2) Install Clockwork Mod recovery. This will allow me to flash kernels and put new roms on
3) Use Clockwork Mod to first backup the device and then put the GPE rom on. I don't need to flash a kernel
Am I right here?
Thanks a lot!
You are go for launch. Before flashing GPE, you may also want to get Titanium Backup and backup your apps.
Sent from my HTC6435LVW using Tapatalk 4
tfrank10 said:
You are go for launch. Before flashing GPE, you may also want to get Titanium Backup and backup your apps.
Click to expand...
Click to collapse
Sweet thanks man! This thing can't arrive soon enough.
Have fun!
Sent from my HTC6435LVW using Tapatalk 4
just dont so any type of phone data wipe untill you transfer a rom to it and dont do system wipe ever
you cant reliably transfer roms in recovery so it will cause you some hassle
You got it. I prefer TWRP for recovery myself. But it's all just personal taste.
hyphydragon said:
just dont so any type of phone data wipe untill you transfer a rom to it and dont do system wipe ever
you cant reliably transfer roms in recovery so it will cause you some hassle
Click to expand...
Click to collapse
Can you elaborate on that? Everything I'm reading says it's fine to do a factory days reset on custom roms. Are you referring to something else? Thanks
MSmithXDA said:
Can you elaborate on that? Everything I'm reading says it's fine to do a factory days reset on custom roms. Are you referring to something else? Thanks
Click to expand...
Click to collapse
Disregard that post. You must wipe system when flashing different ROM bases, if you don't you'll have issues if the ROM doesn't wipe on install. Factory reset is perfectly fine and 100% recommended for flashing ROMs. Don't wipe internal storage until after you flash a ROM unless you want to side load or push a ROM to flash, this is what he meant, I think, just provided false information with it.
Tapatalked from my HTC DNA - Carbon
I compiled a list of instructions on how to do it. This is starting with a brand new phone, all the way to installing the GPE custom rom using TWRP on a Windows PC. If anyone has a few minutes to look it over, I'd love the feedback (like maybe there are better ways to do this). But regardless, I thought this could be helpful to someone else in the future:
Disclaimer: I am not an expert and you should take my advice with a grain of salt. You can brick your phone by doing this and I'm not responsible if you do, even if you followed my instructions exactly. If you do run into a problem I won't be able to help you as again, I am not an expert. You're on your own and doing this at your own freewill and you are accepting responsibility from any good or bad that comes from it. Good Luck
Prerequisite: You must be on Firmware 2.06
1. Download and install HTC Sync Manager (to get drivers for phone) from:
http://www.htc.com/www/software/htc-sync-manager/
2. Now Uninstall HTC Sync Manager (drivers will remain behind)
3. Now install Android MiniSDK to get Fastboot and adb from:
http://androidforums.com/attachment...81-adb-guide-updated-2013-05-21-sdk-tools.zip
4. Right-click My Computer, click Properties, Advanced System Settings, and Environment Variables. Under User Variables, click Path, Edit, and at the end of the line, add a semicolon and the directory to your SDK tools. Do the same for the Path under System Variables and click OK to close the several windows we used to get here.
5. Download Moonshine from:
http://moonshine.io
6. Disable the lock screen, disable fast boot, and enable USB debugging
Settings -> Personalize -> Lock screen style and select No lock screen.
Settings -> Battery -> UNcheck “fast boot”
Settings -> Developer Options, turn them on (the toggle is at the top right), and check the box next to USB debugging.
7. Connect phone to computer using original USB cable (preferably to a USB 2.0 port as 3.0 has some issues)
8. Extract Moonshine Zip file
9. Run distiller.exe from the folder where you extracted Moonshine. Read all the messages and answer Yes to any prompts.
Steps 1-9 at: http://htc-one.wonderhowto.com/how-to/set-your-htc-one-s-off-using-moonshine-windows-0147992/
10. Disconnect phone
11. Install GooManager onto phone from:
https://play.google.com/store/apps/details?id=com.s0up.goomanager
12. Launch GooManager once it has been installed and grant it Super User permissions if asked
13. Press Menu and select the ‘Install OpenRecoveryScript’ option. Confirm any prompts that you get after that, and provide the app with root access if it requests for it.
14. Wait patiently till the app downloads the latest TWRP recovery for your device, and installs it. It may look done and nothing is happening, but may still be installing, so be patient. I used the notification window to see if it was still downloading.
15. Once the recovery has been installed, confirm that it installed successfully by booting into it. You can do that right from GooManager itself by pressing Menu and selecting the ‘Reboot Recovery’ option.
Steps 11-15 at: http://www.addictivetips.com/mobile/how-to-install-a-custom-recovery-to-an-android-phone-device/
16. Boot into TWRP by going into GooManager --> Menu --> ‘Reboot Recovery’
17. Click Backup
18. Set backup name. Use TWRP in the file name because backups aren't compatible with Clockword Mod
19. Swipe to backup. During the backup process, screen may turn off. Don't panic..it's just a screensaver. Tap the screen and it will turn on. Then swipe to unlock. Happened a few times.
20. Click Reboot System
To restore a backup in the future:
a. Boot into TWRP by going into GooManager --> Menu --> ‘Reboot Recovery’
b. Click Restore
c. Click on Back Up File
d. Swipe to restore
e. Click Reboot System
Steps 16 - 20 at: http://www.youtube.com/watch?v=laBKgRCpMeI
21. This technically isn't necessary, but I chose to backup my backup file onto my PC. It's located in the TWRP file. Just copy and paste it from windows explorer and put it on your computer.
22. Download GPE Rom from:
http://forum.xda-developers.com/showthread.php?t=2392799
23. Copy Rom onto phone. Keep as zip. You can put it anywhere, like Downloads
24. Boot into TWRP by going into GooManager --> Menu --> ‘Reboot Recovery’
25. Choose Wipe
26. Choose Factory Reset
27. Swipe To Wipe
28. Click Back
29. Click Home button
To install Rom/Kernel/Add-On/Patch
30. Reboot into TWRP
31. Click Install
32. Navigate to Rom zip file (if not there, perform step 23)
33. Click on it
34. Swipe to Flash
35. Click Wipe Cache/Dalvik
36. Swipe to wipe
37. Click Back
38. Click Reboot
Steps 22 -38 at: http://www.youtube.com/watch?v=IlAVk7qaEJ4
When I ran Moonshine in Windows, I ran into an issue where it wouldn't complete (it was stuck "waiting for fastboot"). So I switched to running Moonshine with Linux. This worked successfully and in many way is overall easier, so here's the instructions for that.
How To Install GPE Rom on a brand new Droid DNA (works for other roms too)
Disclaimer: I am not an expert and you should take my advice with a grain of salt. You can brick your phone by doing this and I'm not responsible if you do, even if you followed my instructions exactly. If you do run into a problem I won't be able to help you as again, I am not an expert. You're on your own and doing this at your own freewill and you are accepting responsibility from any good or bad that comes from it. Good Luck
Prerequisite: You must be on Firmware 2.06
1. Download Ubuntu Linux from:
http://www.ubuntu.com/
(I used version 13.04)
2. Burn downloaded image to a DVD (make sure to burn it as an image and not just place the file on the dvd). See instructions on Ubuntu website if having difficulty.
3. Boot your computer into Ubuntu selecting "Try Ubuntu" when asked. See instructions on Ubuntu website if having difficulty.
Steps 1-3 at: http://www.ubuntu.com/
4. Open a terminal window by clicking top left button and typing in Terminal.
5. Open Firefox and download Moonshine from below URL and make sure to save it in your ~/Downloads folder. Don't do this in Windows ahead of time...it must be done in Linux:
http://moonshine.io
6. On your phone, disable the lock screen, disable fast boot, and enable USB debugging
Settings -> Personalize -> Lock screen style and select No lock screen.
Settings -> Battery -> UNcheck “fast boot”
Settings -> Developer Options, turn them on (the toggle is at the top right), and check the box next to USB debugging.
7. Connect phone to computer using original USB cable (preferably to a USB 2.0 port as 3.0 has some issues)
8. In the terminal window type in:
cd ~/Downloads and hit enter, and then
tar -zxf moonshine_filename.tgz (replacing it with your filename) and hit enter, and then finally
sudo ./distiller
9. Read all the messages and answer Yes to any prompts. Let it do it's thing. It will take a while (20-30 minutes) and it will tell you when it's done. If you're not sure if it's done, then it's not, so just let it keep going.
Steps 5-9 at: http://moonshine.io/instructions/
10. Disconnect phone
11. Install GooManager onto phone from:
https://play.google.com/store/apps/details?id=com.s0up.goomanager
12. Launch GooManager once it has been installed and grant it Super User permissions if asked
13. Press Menu and select the ‘Install OpenRecoveryScript’ option. Confirm any prompts that you get after that, and provide the app with root access if it requests for it.
14. Wait patiently till the app downloads the latest TWRP recovery for your device, and installs it. It may look done and nothing is happening, but may still be installing, so be patient. I used the notification window to see if it was still downloading.
15. Once the recovery has been installed, confirm that it installed successfully by booting into it. You can do that right from GooManager itself by pressing Menu and selecting the ‘Reboot Recovery’ option.
Steps 11-15 at: http://www.addictivetips.com/mobile/how-to-install-a-custom-recovery-to-an-android-phone-device/
16. Boot into TWRP by going into GooManager --> Menu --> ‘Reboot Recovery’
17. Click Backup
18. Set backup name. Use TWRP in the file name because backups aren't compatible with Clockword Mod
19. Swipe to backup. During the backup process, screen may turn off. Don't panic..it's just a screensaver. Tap the screen and it will turn on. Then swipe to unlock. Happened a few times.
20. Click Reboot System
To restore a backup in the future:
a. Boot into TWRP by going into GooManager --> Menu --> ‘Reboot Recovery’
b. Click Restore
c. Click on Back Up File
d. Swipe to restore
e. Click Reboot System
Steps 16 - 20 at: http://www.youtube.com/watch?v=laBKgRCpMeI
21. This technically isn't necessary, but I chose to backup my backup file onto my PC. It's located in the TWRP file. Just copy and paste it from windows explorer and put it on your computer.
22. Download GPE Rom from:
http://forum.xda-developers.com/showthread.php?t=2392799
23. Copy Rom onto phone. Keep as zip. You can put it anywhere, like Downloads
24. Boot into TWRP by going into GooManager --> Menu --> ‘Reboot Recovery’
25. Choose Wipe
26. Choose Factory Reset
27. Swipe To Wipe
28. Click Back
29. Click Home button
To install Rom/Kernel/Add-On/Patch
30. Reboot into TWRP
31. Click Install
32. Navigate to Rom zip file (if not there, perform step 23)
33. Click on it
34. Swipe to Flash
35. Click Wipe Cache/Dalvik
36. Swipe to wipe
37. Click Back
38. Click Reboot
Steps 22 -38 at: http://www.youtube.com/watch?v=IlAVk7qaEJ4
Enjoy!

[Q] Flashing ZTE Grand Memo 5S (aka ZTE Memo V5S) - help needed

Hi,
I bought this phone from China and I wanted to convert it to an international regular android phone.
This sounds easy, the theory is that, root the phone to get rid of Chinese apps then install Google Play... that would be sufficient for me.
The problem is that in practice that proved to be more complicated especially if one have not done this before.
The Phone
ZTE V5S / Grand Memo 5S
Hardware Platform: MT6589
Cores: Quad Core
CPU: 1.5G Hz
GPU: PowerVR SGX544MP
RAM: 1GB
ROM: 8GB
Display Size: 5.7 inch HD
Screen Resolution: 720×1280
Screen Type: IPS-LCD, Multi-Touch Capcitive Screen
Display Colour: 16 Million Colors
Operating System: Android 4.2
I have read forums in the last couple of days and managed to:
- root the device
- remove china stuff
- installed Google Play
The store is working but the Google apps such as YouTube are giving this error:
"Google Play services, which some of your applications rely on, is not supported by your device. Please contact the manufacturer for assistance."
I understand (from googling) that I have to instal a new ROM which is modified to support this.
I have downloaded couple of ROMs from Chinese sites but following their instructions, I could not install the ZIP files.
Not speaking Chinese, used web translation.
Ideally, I am looking to install a multilingual ROM for my device.
Later edit: I have installed the google play posted here and now youtube works but play is crashing if i try to install anything.
Any help highly appreciated.
Thank you.
[Resolved] Flashing ZTE Grand Memo 5S (aka ZTE Memo V5S)
Managed to resolve my problem... here is the step by step guide.
As usual, I'm not responsible if you brick your pone, is your decision to follow the below steps.
Some advices:
- Use a good quality USB cable which plugs firmly in the phone and PC
- Make sure that eventual power outage does not power off pc (ie use laptop)
- Do not unplug cable (accidentally) from PC/Phone while program running and last message is not: --- task is complete ---
- Try not using PC for other (resource consuming) activities.
- Be patient... some processes take quite long time
- Upload ROM which is designed for Your device!
- If you want to download ROM using SP Flash Tool, you need to dismount the phone as battery is not removable. Make an NANDROID
backup as this will backup absolutely everything... including user data.
1. Download MTK Droid Tools (because this is a MediaTek device)
2. Download SP Flash Tool (not used... just to have it in case you need to flash back a backup)
3. DOwnload a ROM (ZTE_V5S_WCDMA_Google_ROOT_140522.zip)
4. DOwnload a Patch for splash screen in Zip format (optional).
5. Copy to sd card:
- The downloaded ROM, rename to "update.zip". This is important otherwise will might give an error when flasing.
- The splash screen patch if you have it.
- Insert sd card in the phone.
6. Open MTKdroidTools.exe
- in few minutes your phone details should show up on Phone information tab.
7. Connect Phone via USB to PC
8. In USB computer options choose to connect with option "Connect to PC software", this will turn on USB debug
9. Root the phone, follow these steps:
- MTK Droid tools, after phone is read, press Root
- When prompted to create backup of ROM, press Yes (For the subsequent restoration of bla, bla... To make it now?)
- When prompted pack the backed up ROM, press Yes
- When Prompted choose between SuperSU or Superuser, choose SuperSU. SuperSU is still supported by develper, this is why.
- Click on IMEI/NVRAM and press backup... you may need that as well if something goes wrong.
Now you have you phone rooted and the original ROM zipped in the backup folder under MTK Droid Tools folder.
- Reboot the phone. You might have to root again but no need to save anything.
10. MTK Droid tools, after phone is read, go to the other tab: root, backup, recovery
11. If you wish, you can make another backup of your ROM with ROOT privileges this time... Press Backup and wait to complete.
12. Press button "To prepare blocks for Flashtool", select .md5 file from the last backup folder you made.
- Now you have the copy of the original software
13. Position radio buttton on the option: "To use boot from phone"
14. Press button "Recovery and Boot"
- When prompted "To make CWM recovery automatically?", press Yes
- When prompted to upload ony if phone is loaded, press Yes
- When prompted to "Install created recovery to phone?", press Yes
- when prompted "To reload phone in recovery to phone?", press Yes
15. You are now in recovery mode, to navigate up-down use Volume button, to choose/execute an item use power button.
16. Navigate to "wipe data/factory reset" then execute, on the next screen navigate to "Yes - ..." then choose it
17. Navigate to "whipe cache partition" then execute, on the next screen navigate to "Yes - ..." then choose it
18. Navigate to "install zip from sdcard" then execute, on the next screen navigate to "choose zip from sdcard"
19. Now you see content of SD Card, navigate to ROM file (update.zip) then execute, on the next screen navigate to "Yes - ..."
then choose it
20. Once finished GO back then reboot the phone
21. It will take a bit longer to load first time
22. To install the splash screen go to recovery mode again, choose to update from SD then confirm... same steps as for the ROM.
23. Open google play, login, a number of updates will show up, update all Google Play components
To get into recovery mode you have few options, i'll give one:
a. Turn off phone
b. Press and keep pressed Volume Up
c. Press and keep pressed Power button
d. Keep both pressed until splash screen shows up then release both
Now you may want to get rid of chinese stuff. To do so, folow these steps:
1. Power your phone
2. Open MTKdroidTools.exe
3. Connect Phone via USB to PC
4. In USB computer options choose to connect with option "Connect to PC software", this will turn on USB debug
5. After phone is loaded press Root (just to get privileges)
6. When prompted "Receive root privileges bla, bla...", choose yes
7. Press Super User... choose to user SuperSU
8. Press Build.Prop
9. Press Delete china... this will remove the only keyboard as well which is chinese so skip this step.
10. Press reboot
11. Now most of the chinese stuff is gone
12. Download and install:
- More locale or locale 2 if you want interface in a certain language
- Swiftkey to get a decent keyboard (disable chinese one)
- 3D Digital weather
- Anything else yo may want.
13. Use system optimiser to uninstall the rest of the Chinese apps
You are done... I have done this walkghrough while I was mooding my phone. Dont ask questions on errors as I have no idea. These
steps where collected while various forums for ready 3 days.
Hope someone will find useful... good luck.

MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process

First of All, these are my knowledge which was gained through hard reading from XDA Developers Forum, GitHub, reddit, different websites & watching YouTube Videos.​DISCLAIMER: ​Here, I will explain all the process of unlocking Bootloader, Flashing Recovery & Rooting Your Xiaomi Phone, though the general idea is the same, so you can read it from TOP TO BOTTOM because you can use this knowledge FOR ANY ANDROID PHONE GENERALLY. Here, I also explained ALL THE PROBLEMS YOU MIGHT FACE WHILE DOING THIS, AND HOW TO GET OUT OF THOSE PROBLEMS, BECAUSE XDA THREADS AND YOUTUBE VIDEOS DOES NOT ANSWER YOUR PROBLEMS IN ONE THREAD OR IN ONE VIDEO, ONLY WHILE DOING IT, WE FIND THAT, DOING THESE WEREN'T SO EASY LIKE YOUTUBE VIDEOS OR XDA THREADS
AND OF COURSE, DO THESE ON YOUR OWN RISK, IF SOMETHING HAPPENS TO YOUR DEVICE AND YOU BLAME ME, I WILL LMAO AT YOU.
REQUIREMENTS: 1. PC/LAPTOP 2. PENDRIVE WITH OTG CABLE (FOR PRECAUTION, GO TO STEP 4.3 TO LEARN WHY)
Step Number 01: Backup All Your Data:​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
YOU HAVE BACKUP ALL YOUR DATA, INCLUDING APP DATA, GALLARY PHOTOS, ALL OF THEM BECUASE UNLOCKING BOOTLOADER WILL RESET EVERYTHING, IT WILL START FROM THE MOMENT WHEN YOU BOUGHT YOUR PHONE FIRST & SWITCHED IT ON.
STEPS:​
To Backup All Your Data-
Go to settings "backup and restore" in additional setting (or in MY DEVICE - BACK UP & RESTORE) you can use either mobile or computer backup, both are same, after backing up, transfer it to computer.
Backup your contact from "contacts" (optional, because "step a" includes this)
Then connect your phone with your pc & backup all the necessary files, for example, create a backup of these folders:
DCIM
Download
Pictures
MIUI (Gallery, recorder etc.)
Shareit, vidmate folder
Whatsapp folder (you can also backup it in google, goto SETTINGS - CHATS - CHAT BACKUP)
and others as per your necessity
My process is a manual process, so no app is required.
READ IT: in internet, you will find that you can use rooted app to backup these, like TITANIUM, or take a NANDROID BACKUP (SYSTEM AND APPS) USING TWRP RECOVERY, my boy, listen well, you haven't yet unlocked your bootloader, how can you have a rooted device and twrp recovery? (well you can have a rooted device but that also requires unlocked bootloader which will reset everything on your phone)
Step Number 02: Unlock Your Bootloader​
STEPS:​
Enable developer option by clicking on MIUI version 7 times
from "Additional setting", go to "developer option". there, do these:
enable OEM UNLOCKING
in device unlocking, add your MI account. if shows problem or error, remove your MI account then add it again from device unlocking, (NOT FROM MY DEVICE, ADD ACCOUNT) then, it will take you to main settings, just come back and click add again, it will work in Sha Allah.
now in your pc, download MI Flash Unlock from official MI website, HERE (better to install the latest)
Unzip it, run it using "batch_unlock", add your mi account
in additional settings again, in developer option, enable "USB DEBUGGING"
now in pc, connect your phone in fastboot mood, (swithing off then holding power button and volume down will take you to fastboot mood, there is another process of going to fastboot mood, which is described in step 3)
if your device is recognized IN MIUI UNLOCK TOOL but after connecting it in miui unlock tool, fastboot mood turns of and says "PRESS ANY KEY TO SHUTDOWN" in your phone, you may try swithing to USB port 2 but it didn't work for me. Instead, I ran this bat file code "AS ADMINISTRATOR" from XDA developer forum, you can do it too. I renamed it as "a.bat" first thing to come it my mind. then disconnect USB and connect again in your fastboot mood. Click Refresh in unlock tool.
(OR, IF YOUR DEVICE IS NOT RECOGNIZED IN MIUI UNLOCK TOOL, FOLLOW THESE:
remove MI account from unlock tools and again add, if password shows error even after typing correctly, use phone number and pass to log in, in stead of email and password. Check if device if recognized or not.
If not, try these, Download MIUI Flash Tool and unzip it, run XiaoMiFlash.exe. At the top line, find DRIVER, install all DRIVERS.
IF YOU FACE LOG FILE ERROR,
SOLUTION: JUST CREATE A FOLDER NAMED "log" in the same directory. DONE, YOUR DRIVER WILL BE INSTALLED, CLICK YES EVERY TIME, THEN CONNECT YOUR PHONE WITH MIUI UNLOCK TOOL AND CLICK REFRESH.
your device will be shown in "batch_unlock" in sha Allah. Click unlock. Remember, your phone will loose all data, just full factory reset.
8. after 99% it will show "unlock sign" at the top of your phone, and your phone will reboot, just let it reboot. It will take at best 12 minutes to reboot. Don't worry, seat tight, watch a YouTube Video of Dr. Zakir Naik or Ahmed Deedat Sir <3.​9. setup your phone as if it's a new device. (it is necessary, because after this, we will flash recovery and root your phone, because it is really important to take a backup of your original "PERSIST.IMG" . it is possible for rooted device only. (though it can be done through recovery, but from magisk, it's the best way and safest).​10. you can restore all backup from your pc now. (not necessary, if you want to change ROM)​
Step Number 03: Install ADB (PC) & TWRP RECOVERY (Android)​STEPS:​
download latest SDK from OFFICIAL WEBSITE.
2. name of the download will be "platform-tools_r31.0.2-windows.zip" unzip it in DESKTOP (IMPORTANT). it's name will be "platform-tools", open it. (ADB COMMAND WILL RUN ONLY IN THIS FOLDER.​
ALTERNATIVE ADB: you can also do it by one click adb installer, just install the file, and cmd will work at any position. File is given in the telegram, in my .rar file. But sometimes it shows problem, adb command is not recognized by the windows. then, above platform tools folder is useful as it always works.
3. downlead latest TWRP specific for your device from HERE. website guide: >find your device name> device model> Download Links > click either "Primary (Americas)" or "Primary (Europe)" or you can download them from XDA too (XDA process: search in google "TWRP for MI 9 se (your specific device with model number, not Mi9SE) XDA" then, go to the thread, below you will find GITHUB or any other download link, go there and you can download it from there.​
4. (YOU CAN IGONORE THIS STEP, LET ME KNOW IF YOU FACED ANY PROBLEM, THOUGH YOU SHOULDN'T) rename the twrp file to twrp.img (not necessary though, check if your device extension is hidden or not, if hidden, you will not see any extension after any file, in that case, you can just rename "twrp" because img extention is already there and it's hidden. How to check hidden extention: in that folder, go to view at the top of the screen of that folder, (at beginning - beside cross, minimize then click "view"> click "option" in one row down, at extreme right side of it > click "view"> in downwards, untick "hide extensions for known file type"> click "apply">click "ok" then close it.)​
5. keep the "twrp.img" (the file you downloaded, no need to rename, .img will show depending on unhidden condition) in the "platform tools" folder.​
6. now go to "platform tools" folder. it's better to keep the folder in "desktop". go to the folder address, it is above the "Name, Date Modified, Type, Size" row, where it is written all the folders name that you have clicked to come to this folder. Now, click on the folder address, write "cmd", hit enter.​
7. now connect your phone making sure "USB DEBUGGING IS STILL ON" because after unlocking bootloader, it will automatically be set to OFF.​
write these commands: (after each command hit enter)
adb devices (it will show your device number if it is connected properly, if shows unauthorized, g0 to your phones home screen, disconnect and connect the usb again, in cmd write adb devices, a permission will pop up in your phone at bottom, not in notifications, click YES, your device will be authorized)
adb reboot bootloader (it will take you to fastboot mood instantly)
fastboot devices (it will show your device number it it is connected properly, to make sure it is still connected)
fastboot flash recovery (give space after recovery, then drag the twrp.img file here)
fastboot boot (give space after boot, then drag the twrp.img file here, your phone will boot into recovery.) ALTERNATIVE TO THIS STEP: fastboot reboot (it will reboot, but stop it instanlty by holding "power and volum up button", it is a must, it will take you to twrp manu, if you don't go now, later twrp will be removed by your phone)
AND OF COURSE, YOU HAVE TO ROOT YOUR PHONE RIGHT NOW, EVEN IF YOU DON'T WANT IT, CAUSE IF YOU DON'T, YOUR PHONE WILL REMOVE TWRP AS YOUR RECOVERY.
8. you will see twrp screen, then asking you "to keep system files as read only or swipe to allow modification, tick in DON'T SHOW AGAIN AND SWIPE TO ALLOW MODIFICATION". Then it will ask for a password to decrypt your phone, give the password to decrypt your phone. (to learn about encryption decryption, go to step number 4.3).​
IF YOU FACE BOOTLOOP OR ANY OTHER ISSUE LIKE TWRP RECOVERY IS NOT STARTING AS IT SUPPOSED TO:
Again, go to fastboot mood by pressing power + volume down button. Download this vbmeta file. Go to platform tools > cmd > type
fastboot --disable-verity --disable-verification flash vbmeta (space, then drag the vbmeta file and hit enter, then follow step number 3.7
(3 is step number, 7 is the point number under step number 3)
Step Number 04: Install Magisk​STEPS:
1. you should stay in TWRP manu from the last step of STEP NUMBER 3 and your phone is connected with your computer via USB.​
2. In your computer, download MAGISK FROM OFFICIAL GITHUB PAGE . Copy the magisk.apk and paste it twice in the same folder, now you have three magisk apk, rename the second one removing the "copy from name and just add .zip in stead of .apk at last. Rename the third one as this: "uninstaller.zip"​
3. Now listen carefully, this is very important part of this topic:​
your phone has two state: a. encrypted b. decrypted
a. IF ENCRYPTED AND CAN'T BE DECRYPTED THROUGH TWRP, that is TWRP IS NOT ASKING PASSWORD AT THE BEGINNING TO DECRYPT YOUR PHONE, THEN: some china rom's security is so encrypted, LIKE MY MI9SE, THAT TWRP CAN'T DECRYPT IT, EVERYTIME I HAVE TO RESET THE PHONE TO DECRYPT, IN THIS CASE ,YOU CAN'T ACCESS YOUR PHONE'S INTERNAL STORAGE NEITHER FROM TWRP NOR FROM PC (TWRP ACTS AS MTP, MEDIA TRANSFER PROTOCOL, MEANING YOU CAN TRANSFER FILE BETWEEN PHONE AND ANDROID IN RECOVERY MOOD), SO YOU CAN'T ACCESS YOUR INTERNAL STORAGE, YOU CAN'T INSTALL MAGISK. HERE, PENDRIVE WITH OTG COMES HANDY. Disconnect your phone Keep those three files in pendrive and connect it in OTG with your phone. go to twrp > install > select storage at bottom > select pendrive > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.​
b. IF YOUR PHONE IS DECRYPTED BY TWRP AFTER GIVING PASSWORD:​
Copy those three magisk file from your computer and drop it in your phones internal storage. go to twrp > install > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4. Reboot Your Phone (If your phone is bootlooped, which never happened to anyone I know, still for safety, again go to recovery by holding POWER + VOLUME UP BUTTON. go to twrp > install > select uninstaller.zip > swipe to flash. This will uninstall magisk from your phone and then reboot to system, your phone will reboot normally)​
5. A Magisk app will be shown among your apps which is not like magisk logo. Don't touch it, Goto file manager, find those three magisk files, one file is the original magisk.apk file you downloaded, install it normally like any other app.​
6. CONGRATULATIONS, YOUR PHONE IS COMPLETELY ROOTED.​
Step Number 05: Backing up your PERSIST.IMG (MOST IMPORTANT)​STEPS:
You will know from my other threads about what is persist partition of your phone. But let's just back it up now without knowing it. Copy it to your computer, cloud so that you never loose it.
Assuming you still have your phone connected through usb to the computer.
Install TERMUX from playstore or from HERE if you don't have play store.
in termux, type su to obtain root permission. A pop up will be shown to grant root permission, if it doesn't work, leave termux app, go to magisk app, at bottom, you will be 4 options, click the second one, you will see this screen.
grant super user permission for termux from here.
4. again go to termux, type this:
su (hit enter)
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (hit enter)
5. your persist.img is backed up in your internal storage.
6. you can transfer it to pc manually or
use this process because it is relatively safe, though I never found any difference,
go to platform tools in cmd, type this:
adb pull /sdcard/persist.img D:\
it will take around 10 seconds, you will find the file persist.img in your PC's D drive folder, whatever the name is, the next folder to C drive, okay? Copy the persist.img wherever you want to keep it. I am again saying, it's not mandatory to do it in this way, just do normal copy paste from your phone's internal storage to your PC, it will do the work.
THANK YOU GUYS FOR READING IT ATTENTIVELY, FROM TOP TO BOTTOM, AND IF YOU DIDN'T, WHAT CAN I SAY. IT TOOK MORE THAN 30 DAYS TO ACQUIRE ALL THESE KNOWLEDGE AND YOU ARE GETTING IT WITHOUT ANY EFFORT, FREE, WHAT MORE DO YOU WANT?
My Other Threads according to "how should you read them" serial:
1. MIUI 12.5 Chinese ROM Google PlayStore Stopped Working
2. MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process (This Thread)
3. Android Terminology You Must Know Before Toying with Your Android
4. ROM Naming & CUSTOM ROM, AOSP ROM, TREBLE ROM, GSI ROM, PORTED ROM
shafi1885 said:
First of All, these are my knowledge which was gained through hard reading from XDA Developers Forum, GitHub, reddit, different websites & watching YouTube Videos.​DISCLAIMER: ​Here, I will explain all the process of unlocking Bootloader, Flashing Recovery & Rooting Your Xiaomi Phone, though the general idea is the same, so you can read it from TOP TO BOTTOM because you can use this knowledge FOR ANY ANDROID PHONE GENERALLY. Here, I also explained ALL THE PROBLEMS YOU MIGHT FACE WHILE DOING THIS, AND HOW TO GET OUT OF THOSE PROBLEMS, BECAUSE XDA THREADS AND YOUTUBE VIDEOS DOES NOT ANSWER YOUR PROBLEMS IN ONE THREAD OR IN ONE VIDEO, ONLY WHILE DOING IT, WE FIND THAT, DOING THESE WEREN'T SO EASY LIKE YOUTUBE VIDEOS OR XDA THREADS
AND OF COURSE, DO THESE ON YOUR OWN RISK, IF SOMETHING HAPPENS TO YOUR DEVICE AND YOU BLAME ME, I WILL LMAO AT YOU.
REQUIREMENTS: 1. PC/LAPTOP 2. PENDRIVE WITH OTG CABLE (FOR PRECAUTION, GO TO STEP 4.3 TO LEARN WHY)
Step Number 01: Backup All Your Data:​
YOU HAVE BACKUP ALL YOUR DATA, INCLUDING APP DATA, GALLARY PHOTOS, ALL OF THEM BECUASE UNLOCKING BOOTLOADER WILL RESET EVERYTHING, IT WILL START FROM THE MOMENT WHEN YOU BOUGHT YOUR PHONE FIRST & SWITCHED IT ON.
STEPS:​
To Backup All Your Data-
Go to settings "backup and restore" in additional setting (or in MY DEVICE - BACK UP & RESTORE) you can use either mobile or computer backup, both are same, after backing up, transfer it to computer.
Backup your contact from "contacts" (optional, because "step a" includes this)
Then connect your phone with your pc & backup all the necessary files, for example, create a backup of these folders:
DCIM
Download
Pictures
MIUI (Gallery, recorder etc.)
Shareit, vidmate folder
Whatsapp folder (you can also backup it in google, goto SETTINGS - CHATS - CHAT BACKUP)
and others as per your necessity
My process is a manual process, so no app is required.
READ IT: in internet, you will find that you can use rooted app to backup these, like TITANIUM, or take a NANDROID BACKUP (SYSTEM AND APPS) USING TWRP RECOVERY, my boy, listen well, you haven't yet unlocked your bootloader, how can you have a rooted device and twrp recovery? (well you can have a rooted device but that also requires unlocked bootloader which will reset everything on your phone)
Step Number 02: Unlock Your Bootloader​
STEPS:​
Enable developer option by clicking on MIUI version 7 times
from "Additional setting", go to "developer option". there, do these:
enable OEM UNLOCKING
in device unlocking, add your MI account. if shows problem or error, remove your MI account then add it again from device unlocking, (NOT FROM MY DEVICE, ADD ACCOUNT) then, it will take you to main settings, just come back and click add again, it will work in Sha Allah.
now in your pc, download MI Flash Unlock from official MI website, HERE (better to install the latest)
Unzip it, run it using "batch_unlock", add your mi account
in additional settings again, in developer option, enable "USB DEBUGGING"
now in pc, connect your phone in fastboot mood, (swithing off then holding power button and volume down will take you to fastboot mood, there is another process of going to fastboot mood, which is described in step 3)
if your device is recognized IN MIUI UNLOCK TOOL but after connecting it in miui unlock tool, fastboot mood turns of and says "PRESS ANY KEY TO SHUTDOWN" in your phone, you may try swithing to USB port 2 but it didn't work for me. Instead, I ran this bat file code "AS ADMINISTRATOR" from XDA developer forum, you can do it too. I renamed it as "a.bat" first thing to come it my mind. then disconnect USB and connect again in your fastboot mood. Click Refresh in unlock tool.
(OR, IF YOUR DEVICE IS NOT RECOGNIZED IN MIUI UNLOCK TOOL, FOLLOW THESE:
remove MI account from unlock tools and again add, if password shows error even after typing correctly, use phone number and pass to log in, in stead of email and password. Check if device if recognized or not.
If not, try these, Download MIUI Flash Tool and unzip it, run XiaoMiFlash.exe. At the top line, find DRIVER, install all DRIVERS.
IF YOU FACE LOG FILE ERROR,
SOLUTION: JUST CREATE A FOLDER NAMED "log" in the same directory. DONE, YOUR DRIVER WILL BE INSTALLED, CLICK YES EVERY TIME, THEN CONNECT YOUR PHONE WITH MIUI UNLOCK TOOL AND CLICK REFRESH.
your device will be shown in "batch_unlock" in sha Allah. Click unlock. Remember, your phone will loose all data, just full factory reset.
8. after 99% it will show "unlock sign" at the top of your phone, and your phone will reboot, just let it reboot. It will take at best 12 minutes to reboot. Don't worry, seat tight, watch a YouTube Video of Dr. Zakir Naik or Ahmed Deedat Sir <3.​9. setup your phone as if it's a new device. (it is necessary, because after this, we will flash recovery and root your phone, because it is really important to take a backup of your original "PERSIST.IMG" . it is possible for rooted device only. (though it can be done through recovery, but from magisk, it's the best way and safest).​10. you can restore all backup from your pc now. (not necessary, if you want to change ROM)​
Step Number 03: Install ADB (PC) & TWRP RECOVERY (Android)​STEPS:​
download latest SDK from OFFICIAL WEBSITE.
2. name of the download will be "platform-tools_r31.0.2-windows.zip" unzip it in DESKTOP (IMPORTANT). it's name will be "platform-tools", open it. (ADB COMMAND WILL RUN ONLY IN THIS FOLDER.​
ALTERNATIVE ADB: you can also do it by one click adb installer, just install the file, and cmd will work at any position. File is given in the telegram, in my .rar file. But sometimes it shows problem, adb command is not recognized by the windows. then, above platform tools folder is useful as it always works.
3. downlead latest TWRP specific for your device from HERE. website guide: >find your device name> device model> Download Links > click either "Primary (Americas)" or "Primary (Europe)" or you can download them from XDA too (XDA process: search in google "TWRP for MI 9 se (your specific device with model number, not Mi9SE) XDA" then, go to the thread, below you will find GITHUB or any other download link, go there and you can download it from there.​
4. (YOU CAN IGONORE THIS STEP, LET ME KNOW IF YOU FACED ANY PROBLEM, THOUGH YOU SHOULDN'T) rename the twrp file to twrp.img (not necessary though, check if your device extension is hidden or not, if hidden, you will not see any extension after any file, in that case, you can just rename "twrp" because img extention is already there and it's hidden. How to check hidden extention: in that folder, go to view at the top of the screen of that folder, (at beginning - beside cross, minimize then click "view"> click "option" in one row down, at extreme right side of it > click "view"> in downwards, untick "hide extensions for known file type"> click "apply">click "ok" then close it.)​
5. keep the "twrp.img" (the file you downloaded, no need to rename, .img will show depending on unhidden condition) in the "platform tools" folder.​
6. now go to "platform tools" folder. it's better to keep the folder in "desktop". go to the folder address, it is above the "Name, Date Modified, Type, Size" row, where it is written all the folders name that you have clicked to come to this folder. Now, click on the folder address, write "cmd", hit enter.​
7. now connect your phone making sure "USB DEBUGGING IS STILL ON" because after unlocking bootloader, it will automatically be set to OFF.​
write these commands: (after each command hit enter)
adb devices (it will show your device number if it is connected properly, if shows unauthorized, g0 to your phones home screen, disconnect and connect the usb again, in cmd write adb devices, a permission will pop up in your phone at bottom, not in notifications, click YES, your device will be authorized)
adb reboot bootloader (it will take you to fastboot mood instantly)
fastboot devices (it will show your device number it it is connected properly, to make sure it is still connected)
fastboot flash recovery (give space after recovery, then drag the twrp.img file here)
fastboot boot (give space after boot, then drag the twrp.img file here, your phone will boot into recovery.) ALTERNATIVE TO THIS STEP: fastboot reboot (it will reboot, but stop it instanlty by holding "power and volum up button", it is a must, it will take you to twrp manu, if you don't go now, later twrp will be removed by your phone)
AND OF COURSE, YOU HAVE TO ROOT YOUR PHONE RIGHT NOW, EVEN IF YOU DON'T WANT IT, CAUSE IF YOU DON'T, YOUR PHONE WILL REMOVE TWRP AS YOUR RECOVERY.
8. you will see twrp screen, then asking you "to keep system files as read only or swipe to allow modification, tick in DON'T SHOW AGAIN AND SWIPE TO ALLOW MODIFICATION". Then it will ask for a password to decrypt your phone, give the password to decrypt your phone. (to learn about encryption decryption, go to step number 4.3).​
IF YOU FACE BOOTLOOP OR ANY OTHER ISSUE LIKE TWRP RECOVERY IS NOT STARTING AS IT SUPPOSED TO:
Again, go to fastboot mood by pressing power + volume down button. Download this vbmeta file. Go to platform tools > cmd > type
fastboot --disable-verity --disable-verification flash vbmeta (space, then drag the vbmeta file and hit enter, then follow step number 3.7
(3 is step number, 7 is the point number under step number 3)
Step Number 04: Install Magisk​STEPS:
1. you should stay in TWRP manu from the last step of STEP NUMBER 3 and your phone is connected with your computer via USB.​
2. In your computer, download MAGISK FROM OFFICIAL GITHUB PAGE . Copy the magisk.apk and paste it twice in the same folder, now you have three magisk apk, rename the second one removing the "copy from name and just add .zip in stead of .apk at last. Rename the third one as this: "uninstaller.zip"​
3. Now listen carefully, this is very important part of this topic:​
your phone has two state: a. encrypted b. decrypted
a. IF ENCRYPTED AND CAN'T BE DECRYPTED THROUGH TWRP, that is TWRP IS NOT ASKING PASSWORD AT THE BEGINNING TO DECRYPT YOUR PHONE, THEN: some china rom's security is so encrypted, LIKE MY MI9SE, THAT TWRP CAN'T DECRYPT IT, EVERYTIME I HAVE TO RESET THE PHONE TO DECRYPT, IN THIS CASE ,YOU CAN'T ACCESS YOUR PHONE'S INTERNAL STORAGE NEITHER FROM TWRP NOR FROM PC (TWRP ACTS AS MTP, MEDIA TRANSFER PROTOCOL, MEANING YOU CAN TRANSFER FILE BETWEEN PHONE AND ANDROID IN RECOVERY MOOD), SO YOU CAN'T ACCESS YOUR INTERNAL STORAGE, YOU CAN'T INSTALL MAGISK. HERE, PENDRIVE WITH OTG COMES HANDY. Disconnect your phone Keep those three files in pendrive and connect it in OTG with your phone. go to twrp > install > select storage at bottom > select pendrive > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.​
b. IF YOUR PHONE IS DECRYPTED BY TWRP AFTER GIVING PASSWORD:​
Copy those three magisk file from your computer and drop it in your phones internal storage. go to twrp > install > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4. Reboot Your Phone (If your phone is bootlooped, which never happened to anyone I know, still for safety, again go to recovery by holding POWER + VOLUME UP BUTTON. go to twrp > install > select uninstaller.zip > swipe to flash. This will uninstall magisk from your phone and then reboot to system, your phone will reboot normally)​
5. A Magisk app will be shown among your apps which is not like magisk logo. Don't touch it, Goto file manager, find those three magisk files, one file is the original magisk.apk file you downloaded, install it normally like any other app.​
6. CONGRATULATIONS, YOUR PHONE IS COMPLETELY ROOTED.​
Step Number 05: Backing up your PERSIST.IMG (MOST IMPORTANT)​STEPS:
You will know from my other threads about what is persist partition of your phone. But let's just back it up now without knowing it. Copy it to your computer, cloud so that you never loose it.
Assuming you still have your phone connected through usb to the computer.
Install TERMUX from playstore or from HERE if you don't have play store.
in termux, type su to obtain root permission. A pop up will be shown to grant root permission, if it doesn't work, leave termux app, go to magisk app, at bottom, you will be 4 options, click the second one, you will see this screen.
grant super user permission for termux from here.
4. again go to termux, type this:
su (hit enter)
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (hit enter)
5. your persist.img is backed up in your internal storage.
6. you can transfer it to pc manually or
use this process because it is relatively safe, though I never found any difference,
go to platform tools in cmd, type this:
adb pull /sdcard/persist.img D:\
it will take around 10 seconds, you will find the file persist.img in your PC's D drive folder, whatever the name is, the next folder to C drive, okay? Copy the persist.img wherever you want to keep it. I am again saying, it's not mandatory to do it in this way, just do normal copy paste from your phone's internal storage to your PC, it will do the work.
THANK YOU GUYS FOR READING IT ATTENTIVELY, FROM TOP TO BOTTOM, AND IF YOU DIDN'T, WHAT CAN I SAY. IT TOOK MORE THAN 30 DAYS TO ACQUIRE ALL THESE KNOWLEDGE AND YOU ARE GETTING IT WITHOUT ANY EFFORT, FREE, WHAT MORE DO YOU WANT?
My Other Threads according to "how should you read them" serial:
1. MIUI 12.5 Chinese ROM Google PlayStore Stopped Working
2. MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process (This Thread)
3. Android Terminology You Must Know Before Toying with Your Android
4. ROM Naming & CUSTOM ROM, AOSP ROM, TREBLE ROM, GSI ROM, PORTED ROM
Click to expand...
Click to collapse
I have redmi k40 bootloader locked and stuck on fastboot mode and can't unlock it through mi unlock tool so any solution for that problem beside edl ? And if I go with edl which flashing tool i will use ??
Hussein Gbr said:
I have redmi k40 bootloader locked and stuck on fastboot mode and can't unlock it through mi unlock tool so any solution for that problem beside edl ? And if I go with edl which flashing tool i will use ??
Click to expand...
Click to collapse
have you flashed any rom? or flashed anything? if you haven't, just restart your phn using power button. and if you have flashed anything already, how on earth you did it without unlocking your bootloader?
shafi1885 said:
have you flashed any rom? or flashed anything? if you haven't, just restart your phn using power button. and if you have flashed anything already, how on earth you did it without unlocking your bootloader?
Click to expand...
Click to collapse
My bootloader was unlocked but when i try to use mi flash tool by mistake or by default flash and lock bootloader option with there and the flash didnt go through in last second
Is there a way to unlock the phone if it only turns on in fastboot mode and is not associated with a xiaomi account?
Hello there, I would like to contribute to this tutorial if you agree
There is a way for people that have encrypted storage and no usb otg pendrive:
Step 4.3:
a-alternative. If encrypted, but no OTG Pendrive at your disposal:
You still can use the adb push command to send your Magisk folder into a decrypted part of your phone’s root folder. You are going to use your phone “/tmp” folder.
“/tmp” folder is suitable for temporary files just as our files (We will not need these files anymore after this tutorial). There is no risk to add files into this folder while it is not encrypted but do not delete any files already present into your /tmp folder!
1.Copy your Magisk folder containing your three Magisk files into the Plateform-tool folder:
2.Then in the cmd execute: adb push [replace_brackets_by_your_Magisk_folder_address_location] /tmp
3.Your Magisk folder should be now copied into your /tmp folder
4.twrp > install > select tmp/magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4.5-alternative. (This step only for those that processed through the “a-alternative” step) After rebooting your phone, you might have no chance to access the Magisk folder you’ve pushed earlier into the /tmp folder. However, now you have booted into your MIUI usual OS, you can copy the Magisk folder again into your internal storage using the classical drag and drop thanks to MTP protocol, to continue through this tutorial.
Hope this will help

(ROOT) Removing Uttar Pradesh government (India) privacy invasion and software restrictions in Samsung Galaxy A03

The govt. in my state has been distributing free phones and tablets recently. But there is a catch, it's loaded with work policies. There is an app running 24/7 in background all the time. You cannot change the wallpaper, and they can snoop on your personal data anytime. And it's all because of KNOX!
Note that this guide requires root. It was possible without root but Android 13 has made it nearly impossible to do it to this point that it's easier to root it.
Prerequisites:
- Root access. This guide is to be followed after you reach the welcome screen. In case you didn't and you have set it up, then you'll have to flash stock firmware then flash patched boot.tar again because factory reset is disabled as part of the work policies.
- This guide assumes that you are on the latest firmware.
- Magisk APK and Termux APK already downloaded and stored in USB drive and it's connected or in SD card but not in internal storage.
Guide:​If you are connected to the internet with mobile data (sim card) then continue. If you aren't then just go 2 steps to the wifi screen in the Android setup, put in your password and then immediately press the back button. If you wait then it will continue automatically. You only need to be connected if you didn't download the APKs before. If you did then it's not required to be connected to the internet!
1. At the welcome screen tap on "accessibility".
2. Toggle "Assistant menu".
3. Tap on the menu.
4. Swipe until you find the "menu settings" option and tap on it.
5. Keep pressing the back arrow on the top left until the main accessibility window shows up.
6. Tap on "recommended for you".
7. Tap on "go to modes and routines".
- If you downloaded the APKs as stated beforehand:
8. Create a new routine, set it to execute manually and select the files app.
9. Execute it and the files app will open, allow it to access files.
10. Tap on SD card and install Magisk APK first and then Termux APK and then open Termux when it prompts so.
- If you didn't do so:
11. Create a new routine and do the same as before but set it to open chrome.
12. Go to https://hyperio546.github.io/knox-bypass-samsung/.
13. Click on Termux and download the APK.
14. Click on Magisk and download the APK.
(If you are worried about the safety then check the markdown source, it's linked to their original GitHub repos.)
15. Install in the same order as specified in rule no. 10.
16. Open Termux and type
Code:
su
17. Grant it superuser access from the popup.
18. Type this command and press enter
Code:
pm uninstall -k –user 0 com.sec.enterprise.knox.cloudmdm.smdms
19. Type exit, and then type exit again.
20. Keep pressing back button in the bottom left until it gets to "Welcome!" again.
21. Setup your device like normal.
22. You have *your* device back!
Optional:
If you want to remove the assistant menu then just repeat step 4 and then toggle it off.
Thank You so Much for this Guide

Categories

Resources