[GUIDE] How to install TWRP and root - Miscellaneous Android Development

First, you’ll need ADB and fastboot, which can be downloaded here. To set up ADB, go to Settings/About Phone/Software Info and tap on build number until you get a toast notification saying “You are now a developer!” You will now have a new category in Settings called Developer Options. Go into developer options and enable USB debugging and OEM Unlock. You won't be able to turn it on if your phone is plugged in to your PC. Once you've turned it on, go to your PC, open Terminal or Command Prompt and type “adb devices”. Then plug in your phone and hit enter. You'll get a prompt on your phone to “Allow connections to this PC?”. Check Always allow and Allow. Now run “adb devices” again. Your device should now appear in Terminal.
If you have a SD card, download the latest zips from here and here onto your​ SD card. It'll save you a step later on.
Then you'll need to reboot to fastboot by holding down VOL- and plugging in USB while power is off. Alternatively​, you can type “adb reboot bootloader” in Terminal or Command Prompt.
Next, you'll need to unlock the bootloader. Bootloader unlocking​ will factory reset your phone! Once you're in fastboot, run “fastboot oem unlock” in Terminal or Command Prompt. Now the bootloader is unlocked.
Now it's time to flash TWRP, a custom recovery for Android. It's going to be the way you install custom ROMs and add-ons. Download TWRP here. Once you've extracted​ the recovery.img, run this command: “fastboot flash recovery path/to/recovery.img”. Once the file has flashed, disconnect the USB cable and battery. The next step is important! You're going to need to boot into TWRP for the first time. With the phone off, hold down VOL- and press power until the phone vibrates and the LG logo appears. While still holding down VOL-, release and immediately press and hold power. You should now be at a white screen that says “Reset all data and restore to factory settings?” Use the volume and power keys to select yes and yes again. If you've installed​ TWRP successfully​, it won't actually factory reset your phone. Now you should see the TWRP screen. If you don't see the TWRP screen and instead see a floating ring that says “Erasing”, don't worry. Let if complete and try flashing TWRP in fastboot again.
In TWRP, you'll be greeted by a screen that says “Swipe to allow modifications?” Swipe it, then go to the Wipe tab. Go to Wipe, then Format Data, then type yes, then go to the Reboot tab and select Recovery to reboot into TWRP again. If you're prompted to install the TWRP app, don't bother.
Once you've rebooted into TWRP again, it's time to disable encryption​ and root the phone. Download the latest zips here and here. Skip downloading them if you already put them on your SD card earlier. On your PC, push the files to your phone using the command “adb push path/to/file.zip /sdcard/”. You can drag and drop the file into Terminal or Command Prompt to copy file path. Then go to the Install tab in TWRP and select the no-verity-opt-encrypt.zip, tap Add more zips, then add the root zip, then swipe to flash. Let the zips flash, then tap the Reboot System button when it's done. Your phone will take a little longer to boot and might reboot a couple times.
Once you're back in the OS, go through the setup wizard. Set up Magisk. If you stay on stock, you should install an app like Quick Reboot Pro from the Play Store to make it easier to reboot into recovery. Now reboot back into TWRP and go to the Backup tab. If you have a SD card, set it as the backup location. You can enable compression if you want. This will make a full system backup that you can restore from as long as you have TWRP. If the backup takes up too much space, you can put it in Google Drive or your PC later on.

Related

Nexus One to CyanogenMod How Do You Do It

So i read a story on Engadget that would allow the Nexus One to record videos in 720p. I wanted to do that but i was told that i had to modify my phone with some program called cyanogenmod. I was linked to this guide:
edit: well i'm not allowed to post links on this forum, that sucks. I'll just post a snippit of the webpage.
Prerequisites
In order to flash a fully stock Nexus One with any ROM, you must first unlock the bootloader of your Nexus One and flash a Recovery Image. If your Nexus One's bootloader is already unlocked, and you already have a Recovery Image installed, skip this section.
WARNING: UNLOCKING THE NEXUS ONE'S BOOTLOADER WILL VOID YOUR WARRANTY!
You will need the fastboot shell on your computer to use the commands to unlock the bootloader. Follow the Install the Latest Android sdk guide, to get the ADB and Fastboot shell on your computer.
Before continuing, you should first copy all the necessary files to your SD Card. Doing so will make the entire process much easier and faster. Please do the following to copy the files from your computer to SD card root if your Mass storage is not mounted or you get error when trying to access the mass storage drive.
Connect Nexus One to Computer
Make sure the computer picks up the newly connected device and shows a new mass storage drive
On the phone, pull down the top notification slider, you should see an item called "USB Connected"
Click on the "USB Connected" and click Mount. This will make the phone SD Card available for use with computer
Copy the required files
Files you will need:
Download the latest release of CyanogenMod for the Nexus One and the Google Addon from here Mirror1 Mirror2 Mirror3 Mirror4 Mirror5 Mirror6 Copy these two to your SD Card
Download the latest release of Amon_Ra's Nexus One Recovery Image from - Leave the recovery.img on your pc
Rename Amon_Ra's recovery file "Recovery.img", and make sure you have copied the above two zip files to the root of your SD Card.
Power off your phone.
Boot into Bootloader Mode.
Hold down the trackball, and press the power button. Do not let go of the trackball until the phone boots into bootloader mode (You will see a white screen with three skating bugdroids).
Unlock the Bootloader.
Make sure your phone is connected to your PC.
On your PC, navigate to the AndroidSDK\tools folder.
Hold down the Shift key, Right click on an empty space inside the folder, and press "Open command window here". (note: on Windows XP, this might not work. Instead, you may need to open the command window by going to Start - Run - Type "cmd" - press Enter, then type "cd c:\AndroidSDK\tools" (without the quotes), press Enter)
Inside the command prompt that opens up, type in the following command:
fastboot oem unlock
On your phone, a prompt will open up, asking you if you are sure you want to unlock your bootloader, and again warning you that doing so will void your warranty. If you agree to these terms, press Volume Up to select Yes, and then press the Power button to confirm.
Your phone will restart. Let the phone boot into Android. Switch the phone back to usb debugging (unlocking bootloader causes a wipe, reseting settings), and then Power Off the phone.
Once again, boot into bootloader mode.
Flash Recovery.
Note: The Recovery.img should NOT be on the SD Card, it should be in the current working directory.
On the command prompt you opened earlier, type in the following command:
fastboot flash recovery Recovery.img
The recovery image should now be installed on your Nexus One.
Click to expand...
Click to collapse
But i'm lost. I downloaded all the necessary files so far but i'm confused up to this point:
Boot into Bootloader Mode.
Hold down the trackball, and press the power button. Do not let go of the trackball until the phone boots into bootloader mode (You will see a white screen with three skating bugdroids).
Unlock the Bootloader.
Make sure your phone is connected to your PC.
On your PC, navigate to the AndroidSDK\tools folder.
Hold down the Shift key, Right click on an empty space inside the folder, and press "Open command window here". (note: on Windows XP, this might not work. Instead, you may need to open the command window by going to Start - Run - Type "cmd" - press Enter, then type "cd c:\AndroidSDK\tools" (without the quotes), press Enter)
Inside the command prompt that opens up, type in the following command:
Click to expand...
Click to collapse
I'm on a Mac so i dunno if that makes a difference to how i approach this. but when i power my phone down and boot it into bootloader mode, i can't access the phone on the computer because the phone isn't mounted, its at the white screen. how can i access this androidSDK/tools folder?

[Q] weird problem on Nexus S - please assist

This is going to be pretty long and have had the problem for months so please bear with me, read and see if you could assist.
Borrowed a friends Nexus S a while back. Used it for a few days, turned it on one day and it stays on the black google screen with the open padlock at the bottom
I am able to enter Fastboot mode is shown in image 2; lock state is unlocked.
I followed the instructions as in post 2 on the following thread
HTML:
http://forum.xda-developers.com/showthread.php?t=1787169
and as copied below but when i got to the part where i needed to mount my sdcard i get the error " unable to write to ums lunfile (no such file)".
Originally Posted by SamuelDebruyn View Post
Ok, you'll need a Windows computer to fix this. Linux should work too but if you're using Linux I guess you could figure out what would be the instructions for Linux yourself. Mac would work too but I don't know how.
Download and install the Android SDK on your computer from http://developer.android.com/sdk/index.html
Open the SDK Manager (there should be a shortcut in your start menu) and install "Android SDK Tools" and "Android SDK Platform-tools" and "Google USB Driver" (it's in Extra).
Turn your phone off, take the battery out, look at the bottom of the phone and write down the model number.
Now go to https://developers.google.com/android/nexus/images and download the factory image for your model for version 4.0.4.
You'll need something like 7-Zip (http://www.7-zip.org/) to open it.
Copy image-so....zip, radio-crespo...img and bootloader-crespo...img from the factory image to the platform-tools directory (on most computers it will be C:\Program Files (x86)\Android\android-sdk\platform-tools and you'll need Administrator rights).
Now open the platform-tools directory from the Android SDK and right click on an empty space while holding the SHIFT button and select "Open command prompt here".
Put the battery back in your phone and press Power while holding the Volume-Up button so it will boot into fastboot mode. Then connect it to your pc.
If Windows starts complaining about drivers then point it your SDK installation directory (include subfolders) or use 7-Zip to unpack http://www.mediafire.com/?5a7gou9droidi53 and point Windows to the directory where you unpacked it. More info on http://www.sevenforums.com/tutorials...e-manager.html
When you type "fastboot devices" and press Enter in the command prompt you opened before it should list one device (being your phone).
If you haven't unlocked your phone before type "fastboot oem unlock" and press Enter. Follow the instructions on the screen on your phone to complete the unlock.
Next type "fastboot flash bootloader bootloader-crespo...img" (you can press TAB to auto-complete) and press Enter. (THIS IS THE MOST IMPORTANT STEP, IF THIS GOES WRONG YOUR PHONE IS SCREWED. Don't continue if another step didn't succeed. If this works, then you can do anything with it.)
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot flash radio radio-crespo...img" (you can press TAB to auto-complete) and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next type "fastboot -w update image-....zip" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Next download http://download2.clockworkmod.com/re...0.7-crespo.img and also put it in the platform-tools directory.
Then type "fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img" and press Enter.
Now type "fastboot reboot-bootloader" and press Enter and wait for your phone to reboot into fastboot mode.
Now use the volume keys on your phone to navigate to the word Recovery and press the Power button to boot into recovery.
You're now in CWM Recovery, use the volume keys and the power button to go to Mounts & Storage > Mount USB Storage (you might have to scroll down). Now it will come up on your pc and you can transfer the update file for Jelly Bean to your phone. You can find it here: http://forum.xda-developers.com/show...68&postcount=1 (use the one for your model for IMM76D).
Unmount the usb storage, go back to the main menu and go to Install Zip from sdcard > Choose zip from sdcard and open the update file you just transferred to your phone.
You can now go back to the main menu and choose "reboot system now". It will ask you if you want to remove the auto recovery installation, do that.
That's all, you now have a clean and working Jelly Bean installation.
Someone else wrote down the same instructions if mine are not clear enough: http://forum.xda-developers.com/show....php?t=1785672
Click to expand...
Click to collapse
This prevented me from putting the stock image on the sdcard for flashing via CWM.
is there another way i can get this working, maybe via fastboot or via ODIN so i can return my friends phone.
Thank you.
Hi I had this problem to, mine was from a bad flash / bad firmware.
First I suggest http://forum.xda-developers.com/showthread.php?t=2284670 better recovery.
After from recovery
select factory reset, wipe cache, and from advance wipe dalvic cache.
then select mount usb, copy to card slim bean 3.1.0 http://www.slimroms.net/index.php/downloads/dlsearch/viewdownload/465-crespo/2505-slim-ns-3-1-0-official plus gaps http://www.slimroms.net/index.php/downloads/dlsearch/viewdownload/461-addonsfullpackages-412/2501-aio-addons, flash them in this order.
After first boot and config u can use http://www.wugfresh.com/nrt/ to write the OEM firmware.
Sorry this didn't work because nothing can be written to system and the sdcard is still not able to mount
Sent from my GT-N7100 using xda app-developers app

[Tutorial][Recovery][Root] Intex Aqua Music [Mediatek MT6735]

Hi there!!
Well I was trying to root this phone since a month but due to lack of developers, it wasn't possible. So I tried and at last succeeded in rooting and porting TWRP recovery for Intex Aqua Music.
I tried to elaborate every step as much as I can so the tutorial becomes user friendly for everyone.
Disclaimer: Rooting immediately voids your phone's warranty, you should consider very carefully whether you need to gain root privileges. And this tutorial will format your phone. So backup you important files at the very first.
Tutorial
First download all the files which i left and the end of the thread and proceed with the tutorial.
First of all you need to install ADB Drivers.
Once drivers are installed, you need to enable USB Debugging in your phone.
(goto phone settings->About phone->scroll down and you’ll see an entry labelled ‘Build number.’ Keep on tapping till you see a prompt that says ‘You are now a developer)
Now in phone settings you will see a new option called Developer Options.
Now goto Developer Options and enable OEM Unlocking(for unlocking the bootloader so you can flash the TWRP recovery) and USB Debugging.
Now connect you phone with usb cable to computer and open the adb and fastboot folder which you downloaded.
Then open command prompt there(shift+right click) and type:
Code:
adb devices
You will see a popup on you phone screen, Select allow and ok
Now you will see your device listed there in command prompt.
Now type the following commands:
Code:
adb reboot bootloader
Phone will switch off and go into bootloader. Then type
Code:
fastboot oem unlock
Now you phone will ask for confirmation. Use Volume UP Button to select yes then type
Code:
fastboot continue
.
Now your device will reboot(it will take some time so don't worry)
Now once your phone boot up you will see its formatted and bootloader will be unlocked.
Now again goto setting and enable USB Debugging like before and connect you phone with pc.
Now copy the recovery.img from recovery zip which you downloaded to adb and fastboot folder.
Then in adb command prompt type the following commands like before
Code:
adb reboot bootloader
Wait for the phone to go into bootloader mode, then
Code:
fastboot flash recovery recovery.img
fastboot continue
Now twrp is flashed in your phone. Now to root your device copy the supersu zip to you phone.
Switch off your mobile, then press Volume Up + Power button together then choose recovery mode with Volume UP Button and
press Volume Down Button.
Now phone will boot into TWRP recovery mode.
Click Install and choose the Super Su zip from file manager then install it.
The click reboot and once your phone boots up its rooted now.
Enjoy!
Thanks button will be appreciated if the tutorial works for you.
Thanks
Thanks man, helpful

TCL 562,Alcatel flash plus 2,Alcatel pop 4s Rooting and Twrp installation tutorial.

1. Download and extract all the files In the description
2. Install VCOM/MTK drivers according to your Windows O.S.
3. Open ADB and Fastboot folder and install adb-setup-1.4.3.exe & UniversalAdbDriverSetup6.msi
4. In your Flash Plus 2(TCL 562,Alcatel Pop 4S), create a TWRP folder in your SD Card. TWRP-backups-(your device serial number will be the name of this folder, go to About phone-Status-Long press the Device Serial number to copy)
5. Copy this folder “2017-03-25--20-01-00” from TWRP-Backup_boot_patched.rar to TWRP folder that you’ve created. Also copy the SuperSU.zip to the root of your SD Card.
6. Enable USB Debugging and OEM unlocking in your phone. Go to About phone tap 5x the Build number to enable Developer options.
7. Now we will enable fastboot mode and unlock the OEM.
8. Open flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the fastboot folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
9. Turn off your phone, click download, then connect your Flash Plus 2 to your PC via USB cable. 10. Wait to finish, you will see a pop-up with green check icon.
11. Turn on your phone, make sure USB Debugging and OEM unlocking are still enabled.
12. In your PC, open MAF32.exe from ADB and Fastboot-- Minimal ADB and Fastboot folder.
13. Turn off again your Flash Plus 2 then go to Fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
14. Connect your phone to PC, in the command prompt (MAF32.exe) type this: fastboot oem unlock Then press enter, in your phone press volume up to unlock the oem (this will format your phone) and wait to finish.
15. After oem unlocking turn off your phone, just long press the power button for about 10 seconds. 16. In your PC, open again the flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the FP2-V6-OPT-Flashtool folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
17. Click Download then connect your phone to PC, wait to finish.
18. Reboot again to fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
19. In your PC, open again MAF32.exe from ADB and Fastboot--Minimal ADB and Fastboot folder. 20. Then type this: fastboot boot recovery.img
21. Press Enter, then connect your phone to PC.
22. Your phone will boot into TWRP Recovery mode
23. Go back to the main screen, Select Install and select the SuperSU.zip from your SD card then Swipe to confirm
24.Flashthe TWRP Recovery, go to Restore then select “2017-03-25--20-01-00” from the TWRP backup folder that you created, then swipe to Restore.
25. Wait to finish, go back to main screen Select Reboot-System
26. Wait for your phone to boot up, it might take a while.
27. Done. Your Flash Plus 2 is now rooted.
*** IF YOUR PHONE GOES TO RED STATE Turn off the phone by pressing the power button for about 10 seconds, then repeat the steps 18-23. Reboot, it should be in orange state.
*** To enable 4G dial this: *#857857# ***
All file links are attached to the link in the zip file
drive.google.com/open?id=1Nm8MPpGODLzxCB2NWseapZO6IgFB2uhn
Please install Adb drivers and device drivers(optional)
Thank you
IMEI invalid for both SIM1 1 and SIM 2
amaljohnofficial said:
1. Download and extract all the files In the description
2. Install VCOM/MTK drivers according to your Windows O.S.
3. Open ADB and Fastboot folder and install adb-setup-1.4.3.exe & UniversalAdbDriverSetup6.msi
4. In your Flash Plus 2(TCL 562,Alcatel Pop 4S), create a TWRP folder in your SD Card. TWRP-backups-(your device serial number will be the name of this folder, go to About phone-Status-Long press the Device Serial number to copy)
5. Copy this folder “2017-03-25--20-01-00” from TWRP-Backup_boot_patched.rar to TWRP folder that you’ve created. Also copy the SuperSU.zip to the root of your SD Card.
6. Enable USB Debugging and OEM unlocking in your phone. Go to About phone tap 5x the Build number to enable Developer options.
7. Now we will enable fastboot mode and unlock the OEM.
8. Open flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the fastboot folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
9. Turn off your phone, click download, then connect your Flash Plus 2 to your PC via USB cable. 10. Wait to finish, you will see a pop-up with green check icon.
11. Turn on your phone, make sure USB Debugging and OEM unlocking are still enabled.
12. In your PC, open MAF32.exe from ADB and Fastboot-- Minimal ADB and Fastboot folder.
13. Turn off again your Flash Plus 2 then go to Fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
14. Connect your phone to PC, in the command prompt (MAF32.exe) type this: fastboot oem unlock Then press enter, in your phone press volume up to unlock the oem (this will format your phone) and wait to finish.
15. After oem unlocking turn off your phone, just long press the power button for about 10 seconds. 16. In your PC, open again the flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the FP2-V6-OPT-Flashtool folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
17. Click Download then connect your phone to PC, wait to finish.
18. Reboot again to fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
19. In your PC, open again MAF32.exe from ADB and Fastboot--Minimal ADB and Fastboot folder. 20. Then type this: fastboot boot recovery.img
21. Press Enter, then connect your phone to PC.
22. Your phone will boot into TWRP Recovery mode
23. Go back to the main screen, Select Install and select the SuperSU.zip from your SD card then Swipe to confirm
24.Flashthe TWRP Recovery, go to Restore then select “2017-03-25--20-01-00” from the TWRP backup folder that you created, then swipe to Restore.
25. Wait to finish, go back to main screen Select Reboot-System
26. Wait for your phone to boot up, it might take a while.
27. Done. Your Flash Plus 2 is now rooted.
*** IF YOUR PHONE GOES TO RED STATE Turn off the phone by pressing the power button for about 10 seconds, then repeat the steps 18-23. Reboot, it should be in orange state.
*** To enable 4G dial this: *#857857# ***
All file links are attached to the link in the zip file
drive.google.com/open?id=1Nm8MPpGODLzxCB2NWseapZO6IgFB2uhn
Please install Adb drivers and device drivers(optional)
Thank you
Click to expand...
Click to collapse
Tried this method for rooting on TCL 562 3GB/32GB. Rooting works fine. However, after rooting, the call function is NOT working and shows IMEI as invalid for both SIM1 1 and SIM 2 when you dial *#06#. Any idea how to fix this issue.
droidvijayan said:
Tried this method for rooting on TCL 562 3GB/32GB. Rooting works fine. However, after rooting, the call function is NOT working and shows IMEI as invalid for both SIM1 1 and SIM 2 when you dial *#06#. Any idea how to fix this issue.
Click to expand...
Click to collapse
Please download this rom and flash again
drive.google.com/file/d/0Bxtu2tI5I1o2RXV4ZHhLREVQZ2M/view
No fastboot mode , invalid IMEI with FP2
amaljohnofficial said:
Please download this rom and flash again
drive.google.com/file/d/0Bxtu2tI5I1o2RXV4ZHhLREVQZ2M/view
Click to expand...
Click to collapse
Thanks for the quick response. I installed this Stock-FP2 ROM. I still see the issue of invalid IMEI. I have attached the screenshots for your reference. With this ROM I am not able to boot to fastboot mode. I have enabled developer mode and USB debugging. It boots back to system if I select reboot to bootloader. I am not able to use it as a phone. How do I get the IMEI back.
https://forum.xda-developers.com/attachment.php?attachmentid=4497533&stc=1&d=1525956654
https://forum.xda-developers.com/attachment.php?attachmentid=4497534&stc=1&d=1525956663
https://forum.xda-developers.com/attachment.php?attachmentid=4497535&stc=1&d=1525956663
https://forum.xda-developers.com/attachment.php?attachmentid=4497536&stc=1&d=1525956663
Please follow the tutorial it will work...
Else,just notify me...
androidmtk.com/download-sugar-mtk-sp-flash-tool
Full format using SP-flashtool and then fresh installation of Stock-FP2 did the trick
amaljohnofficial said:
Please follow the tutorial it will work...
Else,just notify me...
androidmtk.com/download-sugar-mtk-sp-flash-tool
Click to expand...
Click to collapse
sugar-mtk-sp-flashtool checks for rootingand doesnot work if the device is rooted and hence was failing to update the device.
Full format of the device using mtk-SP-flashtool and then fresh installation of Stock-FP2 did the trick. Installed without selecting 'simlock' and 'md3img' as I was getting error:STATUS_SEC_TYPE_MISMATCH.
Installation went fine and restored the IMEI. Thanks for all the help.
No VoLTE Option
Can enable 4g with *#857857#
But for VoLTE?
volte enabled in build.prop, but not showing in settings
amaljohnofficial said:
1. Download and extract all the files In the description
2. Install VCOM/MTK drivers according to your Windows O.S.
3. Open ADB and Fastboot folder and install adb-setup-1.4.3.exe & UniversalAdbDriverSetup6.msi
4. In your Flash Plus 2(TCL 562,Alcatel Pop 4S), create a TWRP folder in your SD Card. TWRP-backups-(your device serial number will be the name of this folder, go to About phone-Status-Long press the Device Serial number to copy)
5. Copy this folder “2017-03-25--20-01-00” from TWRP-Backup_boot_patched.rar to TWRP folder that you’ve created. Also copy the SuperSU.zip to the root of your SD Card.
6. Enable USB Debugging and OEM unlocking in your phone. Go to About phone tap 5x the Build number to enable Developer options.
7. Now we will enable fastboot mode and unlock the OEM.
8. Open flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the fastboot folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
9. Turn off your phone, click download, then connect your Flash Plus 2 to your PC via USB cable. 10. Wait to finish, you will see a pop-up with green check icon.
11. Turn on your phone, make sure USB Debugging and OEM unlocking are still enabled.
12. In your PC, open MAF32.exe from ADB and Fastboot-- Minimal ADB and Fastboot folder.
13. Turn off again your Flash Plus 2 then go to Fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
14. Connect your phone to PC, in the command prompt (MAF32.exe) type this: fastboot oem unlock Then press enter, in your phone press volume up to unlock the oem (this will format your phone) and wait to finish.
15. After oem unlocking turn off your phone, just long press the power button for about 10 seconds. 16. In your PC, open again the flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the FP2-V6-OPT-Flashtool folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
17. Click Download then connect your phone to PC, wait to finish.
18. Reboot again to fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
19. In your PC, open again MAF32.exe from ADB and Fastboot--Minimal ADB and Fastboot folder. 20. Then type this: fastboot boot recovery.img
21. Press Enter, then connect your phone to PC.
22. Your phone will boot into TWRP Recovery mode
23. Go back to the main screen, Select Install and select the SuperSU.zip from your SD card then Swipe to confirm
24.Flashthe TWRP Recovery, go to Restore then select “2017-03-25--20-01-00” from the TWRP backup folder that you created, then swipe to Restore.
25. Wait to finish, go back to main screen Select Reboot-System
26. Wait for your phone to boot up, it might take a while.
27. Done. Your Flash Plus 2 is now rooted.
*** IF YOUR PHONE GOES TO RED STATE Turn off the phone by pressing the power button for about 10 seconds, then repeat the steps 18-23. Reboot, it should be in orange state.
*** To enable 4G dial this: *#857857# ***
All file links are attached to the link in the zip file
drive.google.com/open?id=1Nm8MPpGODLzxCB2NWseapZO6IgFB2uhn
Please install Adb drivers and device drivers(optional)
Thank you
Click to expand...
Click to collapse
techiemad said:
Can enable 4g with *#857857#
But for VoLTE?
volte enabled in build.prop, but not showing in settings
Click to expand...
Click to collapse
download mtk engineering tools,and select ims then select CDMA500 in the below list.Pls mail me [email protected]
hi there is there any chance that i can change my primary gmail (protection) on my phone Alcatel flash plus 2 I forgot my gmail account.
amaljohnofficial said:
1. Download and extract all the files In the description
2. Install VCOM/MTK drivers according to your Windows O.S.
3. Open ADB and Fastboot folder and install adb-setup-1.4.3.exe & UniversalAdbDriverSetup6.msi
4. In your Flash Plus 2(TCL 562,Alcatel Pop 4S), create a TWRP folder in your SD Card. TWRP-backups-(your device serial number will be the name of this folder, go to About phone-Status-Long press the Device Serial number to copy)
5. Copy this folder “2017-03-25--20-01-00” from TWRP-Backup_boot_patched.rar to TWRP folder that you’ve created. Also copy the SuperSU.zip to the root of your SD Card.
6. Enable USB Debugging and OEM unlocking in your phone. Go to About phone tap 5x the Build number to enable Developer options.
7. Now we will enable fastboot mode and unlock the OEM.
8. Open flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the fastboot folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
9. Turn off your phone, click download, then connect your Flash Plus 2 to your PC via USB cable. 10. Wait to finish, you will see a pop-up with green check icon.
11. Turn on your phone, make sure USB Debugging and OEM unlocking are still enabled.
12. In your PC, open MAF32.exe from ADB and Fastboot-- Minimal ADB and Fastboot folder.
13. Turn off again your Flash Plus 2 then go to Fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
14. Connect your phone to PC, in the command prompt (MAF32.exe) type this: fastboot oem unlock Then press enter, in your phone press volume up to unlock the oem (this will format your phone) and wait to finish.
15. After oem unlocking turn off your phone, just long press the power button for about 10 seconds. 16. In your PC, open again the flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the FP2-V6-OPT-Flashtool folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
17. Click Download then connect your phone to PC, wait to finish.
18. Reboot again to fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
19. In your PC, open again MAF32.exe from ADB and Fastboot--Minimal ADB and Fastboot folder. 20. Then type this: fastboot boot recovery.img
21. Press Enter, then connect your phone to PC.
22. Your phone will boot into TWRP Recovery mode
23. Go back to the main screen, Select Install and select the SuperSU.zip from your SD card then Swipe to confirm
24.Flashthe TWRP Recovery, go to Restore then select “2017-03-25--20-01-00” from the TWRP backup folder that you created, then swipe to Restore.
25. Wait to finish, go back to main screen Select Reboot-System
26. Wait for your phone to boot up, it might take a while.
27. Done. Your Flash Plus 2 is now rooted.
*** IF YOUR PHONE GOES TO RED STATE Turn off the phone by pressing the power button for about 10 seconds, then repeat the steps 18-23. Reboot, it should be in orange state.
*** To enable 4G dial this: *#857857# ***
All file links are attached to the link in the zip file
drive.google.com/open?id=1Nm8MPpGODLzxCB2NWseapZO6IgFB2uhn
Please install Adb drivers and device drivers(optional)
Thank you
Click to expand...
Click to collapse
Any custom rom for flash plus 2?
Hello: Serious trouble here. I went through this process, but at this point:
23. Go back to the main screen, Select Install and select the SuperSU.zip from your SD card then Swipe to confirm
Click to expand...
Click to collapse
...there was no SuperSU.zip on the SD card. I know for certain that it successfully copied before I began.
My phone is now stuck in an orange state. I can get to a boot menu but there is no bootloader and no system image.
EDIT: Sorry; mine is a 5095i (Pop 4s).
voo-oompa said:
Hello: Serious trouble here. I went through this process, but at this point:
...there was no SuperSU.zip on the SD card. I know for certain that it successfully copied before I began.
My phone is now stuck in an orange state. I can get to a boot menu but there is no bootloader and no system image.
EDIT: Sorry; mine is a 5095i (Pop 4s).
Click to expand...
Click to collapse
Aaaaaaand now the phone is utterly dead. No power, no boot menu; I get an LED when I plug in but that's it.
Okay, I think I see the problem. Although my phone is a Pop 4S as specified in the title, mine is a TCL 5095i, as opposed to a 5095k which seems to be what this root is for. That would explain the "type mismatch" error and subsequent brickification. :/ Looks like I'm just screwed.
NO MORE ALCATEL products for me, EVER.
shinhosuck1973 said:
Any custom rom for flash plus 2?
Click to expand...
Click to collapse
No official
amaljohnofficial said:
No official
Click to expand...
Click to collapse
How about a non-official? Anything?
shinhosuck1973 said:
How about a non-official? Anything?
Click to expand...
Click to collapse
I didn't use custom rom... actually i changed the device..Now i am using Asus Zenfone max pro M1
amaljohnofficial said:
I didn't use custom rom... actually i changed the device..Now i am using Asus Zenfone max pro M1[/QUOTE
That is a good phone. But my Alcatel flash plus 2 is still very smooth and never had issues. Maybe because it is 3GB version. Battery life is still good. About 80 to 85 percent capacity. Only bad thing about flash plus 2 is that no support in Philippine. The company went out of business.
Click to expand...
Click to collapse
amaljohnofficial said:
1. Download and extract all the files In the description
2. Install VCOM/MTK drivers according to your Windows O.S.
3. Open ADB and Fastboot folder and install adb-setup-1.4.3.exe & UniversalAdbDriverSetup6.msi
4. In your Flash Plus 2(TCL 562,Alcatel Pop 4S), create a TWRP folder in your SD Card. TWRP-backups-(your device serial number will be the name of this folder, go to About phone-Status-Long press the Device Serial number to copy)
5. Copy this folder “2017-03-25--20-01-00” from TWRP-Backup_boot_patched.rar to TWRP folder that you’ve created. Also copy the SuperSU.zip to the root of your SD Card.
6. Enable USB Debugging and OEM unlocking in your phone. Go to About phone tap 5x the Build number to enable Developer options.
7. Now we will enable fastboot mode and unlock the OEM.
8. Open flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the fastboot folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
9. Turn off your phone, click download, then connect your Flash Plus 2 to your PC via USB cable. 10. Wait to finish, you will see a pop-up with green check icon.
11. Turn on your phone, make sure USB Debugging and OEM unlocking are still enabled.
12. In your PC, open MAF32.exe from ADB and Fastboot-- Minimal ADB and Fastboot folder.
13. Turn off again your Flash Plus 2 then go to Fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
14. Connect your phone to PC, in the command prompt (MAF32.exe) type this: fastboot oem unlock Then press enter, in your phone press volume up to unlock the oem (this will format your phone) and wait to finish.
15. After oem unlocking turn off your phone, just long press the power button for about 10 seconds. 16. In your PC, open again the flash_tool.exe in the SP_Flash_Tool_v5.1636_Win folder, choose the Scatter loading file from the FP2-V6-OPT-Flashtool folder (“MT6755_Android_scatter.txt”), then choose the Authentication fie from the SP_Flash_Tool_v5.1636_Win folder (“MT6755_SHINE_PLUS.auth”).
17. Click Download then connect your phone to PC, wait to finish.
18. Reboot again to fastboot mode, press VOLUME UP + POWER BUTTON, (Power button to select) select English--Reboot to bootloader then long press power button, you should see Fastboot mode at the bottom left of the screen.
19. In your PC, open again MAF32.exe from ADB and Fastboot--Minimal ADB and Fastboot folder. 20. Then type this: fastboot boot recovery.img
21. Press Enter, then connect your phone to PC.
22. Your phone will boot into TWRP Recovery mode
23. Go back to the main screen, Select Install and select the SuperSU.zip from your SD card then Swipe to confirm
24.Flashthe TWRP Recovery, go to Restore then select “2017-03-25--20-01-00” from the TWRP backup folder that you created, then swipe to Restore.
25. Wait to finish, go back to main screen Select Reboot-System
26. Wait for your phone to boot up, it might take a while.
27. Done. Your Flash Plus 2 is now rooted.
*** IF YOUR PHONE GOES TO RED STATE Turn off the phone by pressing the power button for about 10 seconds, then repeat the steps 18-23. Reboot, it should be in orange state.
*** To enable 4G dial this: *#857857# ***
All file links are attached to the link in the zip file
drive.google.com/open?id=1Nm8MPpGODLzxCB2NWseapZO6IgFB2uhn
Please install Adb drivers and device drivers(optional)
Thank you
Click to expand...
Click to collapse
thanks for this valuable post. definitely going to follow this.
supersu.zip
Please, which supersu.zip should you copy?
must It be copied on the external sd?
(on the internal sd root it is not possible)
Thank for your hard-workings
At this stage (step 10), my phone is still connected to my PC! So, from before step 11 to step 13, should I remove the USB cable from the PC in step number?

Root, Magisk, xPosed Framework, LineageOS -- do it in what order?

Hi,
For background.. I have rooted and customized several phones so I am not a total n00b. But, I tend to keep my phones for a while, so I do this every 3 years or so and I don't remember the order to do it.
I have a "new" Pixel 3a sitting here.
I want to end up with a Rooted 3a with LineageOS and xPosed Framework (for xPrivacy LUA) and AFWall.
There are step-by-steps I can search for for each of those but I'm not sure on what order and also what recovery to use. Previously I have used TWRP. Also, previously I used edXposed and now there is another option for that too.
Much help if someone can give me the order to do these!
A) To unlock bootloader
Run through the initial setup if you haven't already, if you haven't don't bother logging into your google account.
Enable dev options(settings>about phone>build number>tap it 7 times).
Go into settings>system>advanced>dev options>oem unlocking, click the toggle.
While still in dev options scroll down a little and enable usb debugging.
Plug your phone into your pc.
if/when the phone asks you to trust the computer make sure to check the "always allow this computer" check box.
Open up command prompt type into the cmd window
adb reboot bootloader
The phone will reboot into fastboot mode.
Now type into the cmd window
fastboot devices
See if it lists a device, if not, you need to install the latest drivers to your PC (google adb). If you had to install the drivers try the fastboot devices command again after installing them, it should list the device now.
type in
fastboot flashing unlock
You will then have to use the phone to select yes to the unlock. you use the volume keys to select and the power button to confirm.
Your bootloader is now unlocked. Reboot.
B) To root
Grab the system image from https://developers.google.com/android/images unzip the folder and inside of it you will find another zip. Open that 1,6 Gb zip file up, pull the boot.img out and copy it your phone.
In your case you would grab LineageOS i guess.
Install Magisk app on your phone and use it to patch that and then copy patched boot back to your PC.
Open the "flash-all.bat" and remove the -w from the end (this is important as it stops your device from being wiped) save the bat file,
If updateing, remove all Magisk scripts. Systemless may stay.
Now type into the cmd window:
adb reboot bootloader
flash-all.bat
The update may take 180 seconds and then your phone will reboot. Disconnect the phone from PC. Please be patient while rebooting with G underline going on for 3 minutes.
Flash the patched boot image.fastboot reboot
Now type into the cmd window:
adb reboot bootloader
fastboot getvar current-slot
(in this case partition b is active)
fastboot flash boot_b magisk_patched.img
fastboot reboot
In case boot fails… (no valid slot to boot), please flash again above.
TROUBLESHOOT
If you bootloop on "G"
Hold power to reboot
Press power to pause
volume up + power to bootloader mode
Flash stock boot.img
Or try this:
connect your phone to your computer (while bootlooping or stuck on loading)
run the command: adb wait-for-device shell magisk --remove-modules
hold your power button until the phone restarts,
run the command again while the phone powers up
it will restart itself and if you're lucky it will boot properly this time
markd89 said:
and also what recovery to use. Previously I have used TWRP. Also, previously I used edXposed and now there is another option for that too.
Click to expand...
Click to collapse
TWRP recovery does not work on Android 10+ but it is really not needed for root.
I have not used Xposed for many years, but generally everything is done through Magisk addons now.

Categories

Resources