How to flash eu rom on Redmi note 7 pro - Xiaomi Redmi Note 7 Pro Questions & Answers

Today I will teach you how I change my rom from miui china to miui eu rom. I am having problems regarding the tutorials on youtube because as of now there is still no English tutorials on it. But first let me give you some idea on how I did it. I am only using windows 7 professional and so I did tried to download the following:
1. platform tools
2. adb set up
3. adb folder
4. Disable_Dm-Verity_ForceEncrypt_02.04.2019
5. Patched_fstab+vbmeta+thermal
6. TWRP-3.2.3-TwrpBuilder-violet-2019-03-22_20-44.img
7. Latest EU Rom on your redmi note 7 pro
The following guides that I use is from Technobuzz "https://www.youtube.com/watch?v=uDcrO61AnZg" Its not me who made this but only modified some methods to make it work on mine.
But to no avail the platform tools doesnt work because of missing dll issues so possible its because I use an older model of windows. I tried to use adb folder but encountered some problems that in no luck i cant format the userdata till i got messed up my device and so Im having this error on recovery saying that system doesnt work anymore and need to press powerbutton in order for me to shut down my phone. and thus I brick my phone.
Ok fast forward, so I did brick my phone then and I go the recovery due to system has been corrupted and so I tried to go to download "violet_images_V10.2.5.0.PFHCNXM_20190316.0000.00_9.0_cn_8e2009cdc7.tgz" in order to reflash my phone using miflash. Btw I came from miui 10.3.5.0 China stable rom so this means I downgraded my phone. Its okay for me cause I can root or install custom recovery more efficiently.
Instructions:
1. Install the adb set up
2. Make sure you unlock your bootloader already.
3. Put the TWRP-3.2.3-TwrpBuilder-violet-2019-03-22_20-44.img and rename it to recovery.img
4. Put the Disable_Dm-Verity_ForceEncrypt_02.04.2019 and Patched_fstab+vbmeta+thermal on your memory card and your latest eu rom zip file.
5. Downgrade your phone to miui 10.2.5.0 china rom to ensure a good installation of your twrp
6. Go to adb folder open cmd from there(right click and click open command window here)
7. Switch off your phone then hold volume down then power button to enter fastboot mode
8. Connect your phone to the computer via USB
9. Type: fastboot devices(It will list down the devices attach with the number to be able to make sure that your device is attached)
10. Type: fastboot erase userdata and press enter(It will run wait for it to end)11. Type: fastboot flash recovery (It will run wait for it to end)
9. Disconnect your phone then hold volume up then click power button to enter recovery mode
10. Go to wipe section then format type yes( It will run wait for it to end)
11. Go to Installation click select storage then choose memory card
12. Install Patched_fstab+vbmeta+thermal and Disable_Dm-Verity_ForceEncrypt_02.04.2019
13. Go to wipe section then Advance wipe wipe the ff: dalvik cache, cache, system and data just ignore the vendor then swipe to wipe.
14. Install your latest eu rom on your sd card.
15. Install Disable_Dm-Verity_ForceEncrypt_02.04.2019 for assurance
16. Install Magisk optional
17. Reboot your phone
and thats it. Pls do credits to the developer not mine thank you. Technobuzz

Related

[Q] Im stuck in recovery

So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
gamehero said:
So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
Click to expand...
Click to collapse
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
GuiltyGod said:
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
Click to expand...
Click to collapse
So I got to step 4 and I see the mount system but I don't see umount sdcard
Then mount system or skip this part
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
GuiltyGod said:
Then mount system :S
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
Click to expand...
Click to collapse
adb push ROM.zip /sdcard/ROM.zip if I dont have the sdcard umonted will this still work?
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
GuiltyGod said:
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
Click to expand...
Click to collapse
so I wrote the command and it sad "5143kb/s «241840314 bytes in 45.912s»"
then i went install the zip and I can't find it
ok i went and mounted the data , pushed the file and installed it, thank you so much
But now i need to install the stock backup that I did with TWRP
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
GuiltyGod said:
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
Click to expand...
Click to collapse
it's all good now but now i have CWM and i need TWRP to install my stock backup
Watch this video (shows you how to change recovery in general):
http://m.youtube.com/watch?v=jnESTcH2ioA
And read this instructions if you still have some doubts and want to go for sure (recovery for LG2 D802):
http://forum.xda-developers.com/showthread.php?t=2472223
Sry I am a bit lazy right now xD Came back from work

How to root MI4I and install custom rom with the help of TWRP custom recovery.

How to root, how to install custom recovery last but not the least how to install custom ROM and make your Mobile FAST
How to ROOT
Step 1. You need to download MI4I TOOLKIT.
Step 2. Once file is downloaded extract .zip file.
Step 3. Go to your Phone Settings-About phone-Click MIUI version option and tap it for 7 times. After 7 taps, a notification should appear saying " You are now a developer"."Developer mode has been enabled" or "You have enabled Developer Options".
Step 4. Go to Settings-Additional Settings-Developers Options. Turn on USB Debugging.
Step 5. Go to the folder where you had downloaded the Toolkit . Open the folder you will found Start Command Prompt file (CMD FILE), and Right click on Start and Run as Administrator. (Make sure Xiaomi PC suit is not working in background to end the PC suit process , open Task Manager click on the process find Mi PC Suit select the process and click End Process).
Step 6. For rooting your phone:- press 1 and Press Enter and there will be a notification in your phone Allow this notification and your phone will go into Bootloader, have patience it will take 5 minutes.
After your phone is restarted you will find the APP called SUPERSU. Open supersu and update binary, click the Normal button and reboot your phone.
How to install CUSTOM RECOVERY
Step 1. Go to the folder where you downloaded the Toolkit. Open the folder you will found Start Command Prompt file (CMD FILE) and Right click on Start and Run as Administrator.
Step 2. Press 2 and Hit Enter and there will be a notification in your phone, Allow this notification and your will go into Bootloader, it will take 2 minutes. After your phone restarted TWRP CUSTOM RECOVERY is successfully installed.
Step 3. To find your phone is having custom recovery, you will have to press Volume UP and Power Button/Lock Button together about 6 or 7 seconds your phone will restarted in TWRP CUSTOM RECOVERY MODE.
How to install Custom ROM
BACKUP YOUR PHONE DATA IN SECURE PLACE for backup your data Download BACKUP App
Step 1. First thing first you need to select and download the custom rom. For ROMS click here.
Step 2. You need to download GAPPS (Google Apps i.e Play Store). For MI4I you will select PLATFORM-ARM64, ANDROID-it depends upon on your rom android version, VARIANT-if don't want lots of google apps download PICO either you need to download STOCK.
Step 3. Copy these zip file into your OTG Pen-drive or with the help of OTG cable and insert your pen-drive in your phone.
Step 4. Open your Custom Recovery (press Volume UP and Power/Lock Button together).
Step 5. When Custom Recovery is open click on WIPE-ADVANCED, WIPE-Tick Dalvik Cache, System, Cache and Data. Slide Swipe to Wipe Left to Right.
Step 6. Click On Home Button and now click install then Click UP A LEVEL swipe down you will found USB_OTG and Navigate your Custom Rom and GAPPS.
Step 7. Install Custom Rom, after installation wipe cache and install GAPPS when gapps is installed successfully, you need to wipe cache and format the data when data is formatted click on REBOOT-System.
​This Process will take max 15 minutes.
​Now you are successfully installed the ROM enjoy . PEACE
'fastboot' is not recognised as an internal or external command, operable program or batch file.
what did it mean. and im getting this when i press 1 to root my mi 4i .
i turned on usb debugging successfully .
what shall i do now
Pavankumar1999 said:
'fastboot' is not recognised as an internal or external command, operable program or batch file.
what did it mean. and im getting this when i press 1 to root my mi 4i .
i turned on usb debugging successfully .
what shall i do now
Click to expand...
Click to collapse
install fastboot drivers
https://www14.zippyshare.com/v/ufYG71o0/file.html
thwn follow process

Problem flashing Android 7

Hi,
I want to upgrade my Nexus 5 (Android 6.0.1, not rooted) to Android 7 unofficially, so I downloaded Santhosh's Android 7 Build for Nexus 5.
After downloading it, I booted my Nexus 5 (connected to my MBP) to fastboot then using Terminal I had unlocked the bootloader, and I flashed the latest TWRP image for Nexus 5 to my Nexus 5. After I rebooted my Nexus 5 to recovery where it showed a screen (postimg(dot)org/image/rw3zdlmyt/), after which my phone kept rebooting in a boot loop.
I booted to fastboot after using the key combination, and used fastboot to erase the recovery and the system.
Now I'm all ears to get my Nexus 5 to Android 7.
Please help me out. I appreciate all your help.
Thanks,
Agneev
I recommend flashing back to stock, make sure everything works on stock, flash twrp, boot into recovery frlom fastboot right after flashing TWRP.
audit13 said:
I recommend flashing back to stock, make sure everything works on stock, flash twrp, boot into recovery frlom fastboot right after flashing TWRP.
Click to expand...
Click to collapse
How should I flash back to stock since I've used the fastboot command fastboot erase system and fastboot erase recovery. Does my erasing of these 2 internal partitions change anything?? Since I've erased recovery, how do I get stock recovery back??
P.S. Thank you for replying.
agneev55 said:
How should I flash back to stock since I've used the fastboot command fastboot erase system and fastboot erase recovery. Does my erasing of these 2 internal partitions change anything?? Since I've erased recovery, how do I get stock recovery back??
P.S. Thank you for replying.
Click to expand...
Click to collapse
http://forum.xda-developers.com/goo...l-06-03-14-one-click-factory-restore-t2513937
you can also instal twrp with this tool http://forum.xda-developers.com/goo...olkit-wugs-nexus-root-toolkit-v1-8-3-t2517778
agneev55 said:
How should I flash back to stock since I've used the fastboot command fastboot erase system and fastboot erase recovery. Does my erasing of these 2 internal partitions change anything?? Since I've erased recovery, how do I get stock recovery back??
P.S. Thank you for replying.
Click to expand...
Click to collapse
Steps to recover back to stock Android 6.0.1 MOB31E
1) Visit.... https://developers.google.com/android/nexus/images
to download latest official from for nexus 5.
2)download NEXUS TOOLKIT application for flashing and everything from here...http://www.wugfresh.com/nrt/
3)install driver for nexus in order to detect your phone from here...http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
4)unzip the stock file two times to get all the .IMG files (boot.img,recovery.img,userdata.img,system.img,etc)..
5) install and open nexus toolkit (but remember before opening turn on laptop internet) ,select your model and build to latest Android 6.0 version.
And click on LUNCH under Advanced utilities.
Then under fastboot flash select system ,click ok then browse option. Now select your folder containing system.img inside your unzipped firmware.
6) first turn your nexus 5 in bootloader mode and now connect it to pc.
7)and flash system.img file..but atleast battery should be 30℅
Or you can directly use option Flash stock + unroot and click other browse and I downloaded a factory image option and hit ok.Then search your zip firmware in folder that you have downloaded and go...but make sure to turn your phone in bootloader mode before flashing..
Now after successful stock flashing...
FOR FLASHING ANDROIND 7.0 AOSP
1) go to setting >about phone,tap build number 3-4 to activate developer option and enable debugging mode...and connect to pc
2)open nexus root toolkit and first unlock bootloader(take full backup of internal storage before unlocking)..to take backup when your phone is bricked just enter in bootloader mode,launch nexus root toolkit,go to Advanced utilities and click custom recovery under fastboot boot option..
After booting in two recovery connect your phone to pc..and you will be able to see your internal storage in pc..
3) after bootloader unlock..use Root option in toolkit and download necessary file it it says to download....allow debugging if pop-up come in your phone after connecting..
4)after rooting go to fastboot boot under Advanced utilities and click custom twrp and hit...
5)but make sure you have transfered Android 7.0 zip files and Gapps in your internal storage
6) and flash one by one..
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
zameer hassan said:
Steps to recover back to stock Android 6.0.1 MOB31E
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
Click to expand...
Click to collapse
Thank you for the reply, as I currently don't have recovery mode installed so does that change anything?
Also I'm flashing Android 7 directly, so if there is any other thing I need to know, please tell me as I would appreciate that.
To flash directly to 7, put the phone into fastboot mode and flash TWRP, boot into TWRP, mount data, copy the 7.0 ROM to the phone, and flash it.
audit13 said:
To flash directly to 7, put the phone into fastboot mode and flash TWRP, boot into TWRP, mount data, copy the 7.0 ROM to the phone, and flash it.
Click to expand...
Click to collapse
apparently, TWRP says "Failed to mount '/data' (Invalid argument)"
In this case, I would start over by flashing the latest stock ROM, including the userdata.img, and then perform a factory wipe using stock recovery, flash twrp, flash 7.
audit13 said:
In this case, I would start over by flashing the latest stock ROM, including the userdata.img, and then perform a factory wipe using stock recovery, flash twrp, flash 7.
Click to expand...
Click to collapse
So should I download the 6.0.1 image for Nexus 5 and then use Nexus Root Toolkit and flash all the .img files individually or should I just launch the batch file inside the 6.0.1 image and let it install automatically?
I would go with the latest stock MM ROM.
I always flash manually but the NRT accomplishes the same thing. Not sure if NRT flashes userdata.img. If the phone hangs at the boot animation and NRT did not flash userdata.img, you should manually flash of userdata.img and factory reset using stock recovery.
agneev55 said:
So should I download the 6.0.1 image for Nexus 5 and then use Nexus Root Toolkit and flash all the .img files individually or should I just launch the batch file inside the 6.0.1 image and let it install automatically?
Click to expand...
Click to collapse
Try this first...
First install nexus 5 Driver in you PC
1) put your phone into bootloader mode and connect it to pc.
2) open Nexus Root ToolKit ,select your device as nexus 5 and android build version as android 6.0.1 (MOB31E) and click ''Lunch" under ''Advanced Utilities'''.Now under ''Fastboot Boot'' select ''Custom Recovery'' and then OK.you nexus will automatically booot into TWRP recovery(you don't need to flash twrp recovery before",since it will boot your phone into twrp for temporary when you click ''custom recovery'' option)
3) if your phone boot into Twrp then its ok otherwise you may have not properly installed or missing nexus 5 drivers in your pc.
GUIDE FOR PROPER INSTALLATION OF NEXUS 5 DRIVER(see attached image).
4) Now transfer your (android 7.0+gapps) zip files in your nexus 5.since you can access you internal storage in PC in TWRP mode.
5) Before doing this step..please backup your current ROM because this step will erase everything from your phone except your internal storage.
Now select WIPE> Advance wipe and select Dalvik cache,system,data,cache and leave unchecked ''INTERNAL STORAGE''..Otherwise you will end up wiping you internal storage.
6) After wiping finised,go back to main menu option and select ''INSTALL'' and navigate to your Android 7.0 zip file folder and swipe to install..
7) after successfull installation you may get red error at last but ignore it and select system to boot..
8) if everything goes well then again boot into TWRP as described above and flash gapps and reboot.
9) after your phone starts you may get some apps errors like forced close or stop working or not responding..In this case just go to setting >Apps >just click 3 dots at top right corners and select show system and find that apps if it is a system app or user app and Grant all permission to that app.
10) now root your android 7.0 if you want to use rooted applications. like Adaway
(to block ads),Greenify(to increase battery life and performance),SCR Pro(to record screen),MiXplorer(advance file manager),LMT Launcher(to increase your display size),
CF.lumen(for eye comfort),Link2SD,Tubemate etc
11) But remember Since android 7.0 has been released recently..there are more chances of bugs in ROM,many apps may not compatible with android 7.0...as myself rolled back to android 6.0.1 after using android 7.0 for few days due to some issues with my favourite apps.
IF YOU STILL UNABLE TO FLASH ANDROID 7.0 DUE TO SOME ERRORS...
THEN TRY THIS METHOD...
first download nexus 5 factory image 6.0.1
1) connect your phone to pc in bootloader mode and open nexus root toolkit.
2) now look up for option ''Flash Stock+Unroot'' then hit and press OK.
3) now do as i shown in attached images (load factory image 1 and 2) and wait if it ask to download hatch like thing then allow,it may require internet connection and watch it..
4) process will begin automatically in cmd and reboot into system after completion.
5) now after system boots up to stock rom,just enable ''developer option'' by tapping 3,4 times in ''build number'' under setting >about phone and turn on ''developer option'' and enable ''usb debugging'' option.
6) now keep your phone connected to pc and click ''ROOT'' option in Nexus Root Toolkit.
It may require internet connection to download root files if its already not downloaded and wait till root.
7) after rooting your nexus 5.Again boot your phone into twrp mode (temporarly or else you can flash twrp permanently) using nexus root toolkit and backup your whole system file if you need it to restore at future.
GUIDE FOR FLASHING TWRP PERMANENTLY IN NEXUS 5...
a) download twrp recovery from here... https://twrp.me/devices/lgnexus5.html
and rename it to recovery.img (to replace your stock recovery)
b) now select ''advanced utilities'' in nexus root toolkit and slect ''Browse/other'' under ''Fastboot Boot'' option and click ok and browse your recovery.img(i.e renamed twrp recovery.img)
c) now it will automatically flashes twrp and will replace your stock recovery.
8) now in twrp recovery select wipe >advance wipe> Dalvik cache,system,data,cache and leave unchecked ''INTERNAL STORAGE''..Otherwise you will end up wiping you internal storage.
9) after this follw the same steps mentioned in previous first method...
for sake of more information you can also change your boot animation logo on nexus 5 startup..just by going to system >media>replace (bootanimation.zip) to your desired boot animation but before replacing change your new boot animation to (bootanimation.zip) and set permission as RWRR in properties.
zameer hassan said:
Steps to recover back to stock Android 6.0.1 MOB31E
1) Visit.... https://developers.google.com/android/nexus/images
to download latest official from for nexus 5.
2)download NEXUS TOOLKIT application for flashing and everything from here...http://www.wugfresh.com/nrt/
3)install driver for nexus in order to detect your phone from here...http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
4)unzip the stock file two times to get all the .IMG files (boot.img,recovery.img,userdata.img,system.img,etc)..
5) install and open nexus toolkit (but remember before opening turn on laptop internet) ,select your model and build to latest Android 6.0 version.
And click on LUNCH under Advanced utilities.
Then under fastboot flash select system ,click ok then browse option. Now select your folder containing system.img inside your unzipped firmware.
6) first turn your nexus 5 in bootloader mode and now connect it to pc.
7)and flash system.img file..but atleast battery should be 30℅
Or you can directly use option Flash stock + unroot and click other browse and I downloaded a factory image option and hit ok.Then search your zip firmware in folder that you have downloaded and go...but make sure to turn your phone in bootloader mode before flashing..
Now after successful stock flashing...
FOR FLASHING ANDROIND 7.0 AOSP
1) go to setting >about phone,tap build number 3-4 to activate developer option and enable debugging mode...and connect to pc
2)open nexus root toolkit and first unlock bootloader(take full backup of internal storage before unlocking)..to take backup when your phone is bricked just enter in bootloader mode,launch nexus root toolkit,go to Advanced utilities and click custom recovery under fastboot boot option..
After booting in two recovery connect your phone to pc..and you will be able to see your internal storage in pc..
3) after bootloader unlock..use Root option in toolkit and download necessary file it it says to download....allow debugging if pop-up come in your phone after connecting..
4)after rooting go to fastboot boot under Advanced utilities and click custom twrp and hit...
5)but make sure you have transfered Android 7.0 zip files and Gapps in your internal storage
6) and flash one by one..
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
Click to expand...
Click to collapse
OK, I have flashed stock Android 6.0.1, now please tell me how to go to unofficial nougat.
zameer hassan said:
Steps to recover back to stock Android 6.0.1 MOB31E
1) Visit.... https://developers.google.com/android/nexus/images
to download latest official from for nexus 5.
2)download NEXUS TOOLKIT application for flashing and everything from here...http://www.wugfresh.com/nrt/
3)install driver for nexus in order to detect your phone from here...http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
4)unzip the stock file two times to get all the .IMG files (boot.img,recovery.img,userdata.img,system.img,etc)..
5) install and open nexus toolkit (but remember before opening turn on laptop internet) ,select your model and build to latest Android 6.0 version.
And click on LUNCH under Advanced utilities.
Then under fastboot flash select system ,click ok then browse option. Now select your folder containing system.img inside your unzipped firmware.
6) first turn your nexus 5 in bootloader mode and now connect it to pc.
7)and flash system.img file..but atleast battery should be 30℅
Or you can directly use option Flash stock + unroot and click other browse and I downloaded a factory image option and hit ok.Then search your zip firmware in folder that you have downloaded and go...but make sure to turn your phone in bootloader mode before flashing..
Now after successful stock flashing...
FOR FLASHING ANDROIND 7.0 AOSP
1) go to setting >about phone,tap build number 3-4 to activate developer option and enable debugging mode...and connect to pc
2)open nexus root toolkit and first unlock bootloader(take full backup of internal storage before unlocking)..to take backup when your phone is bricked just enter in bootloader mode,launch nexus root toolkit,go to Advanced utilities and click custom recovery under fastboot boot option..
After booting in two recovery connect your phone to pc..and you will be able to see your internal storage in pc..
3) after bootloader unlock..use Root option in toolkit and download necessary file it it says to download....allow debugging if pop-up come in your phone after connecting..
4)after rooting go to fastboot boot under Advanced utilities and click custom twrp and hit...
5)but make sure you have transfered Android 7.0 zip files and Gapps in your internal storage
6) and flash one by one..
OR IF YOU JUST DIRECTLY WANT TO FLASH ANDEOID 7.0....TRY THIS SHORTCUT STEPS..
1) TURN YOUR NEXUS 5 IN BOOTLOADER MODE..
2) CONNECT IT TO PC...BUT BE SURE THAT NEXUS 5 DRIVERS ARE INSTALLED IF NOT DO THAT FIRST
3)LAUNCH NEXUS ROOT TOOLKIT AND CLICK ADVANCED UTILITIES >Fastboot Boot >custom recoveryand wait till it boots into twrp..
4) now swipe for factory reset and select install option and find your Android 7.0 zip file in internal storage and go..if you have not transferred Android 7.0 zip files and Gapps you can still transfer that time in TWRP mode as in twrp mode ours internal storage in accessible..so transfer and flash Android 7.0 first and then after successful flashing you may get red error at last but ignore it..and boot your phone..now again after your phone boot to Android 7.0 ..select custom recovery option in root toolkit and enter twrp mode and now flash Gapps better download micro Gapps around 130mb..
If u still face any difficulty let me know..
Click to expand...
Click to collapse
Ok, I've flashed 7.0 nougat, how can I get Play Store and Google Apps and there is no option to sign-in to my Google account.
agneev55 said:
Ok, I've flashed 7.0 nougat, how can I get Play Store and Google Apps and there is no option to sign-in to my Google account.
Click to expand...
Click to collapse
1) download gapps first from here...http://opengapps.org/
then select Platform: ARM,
Android:7.0 or 7.1 as per your installed nougat version,
Variant: micro or nano.
2) flash gapps after entering into twrp recovery mode and reboot.
3) if any application crashes or forced closed then go to setting ,apps and enable all permission for that particular application.
4) root your Nougat using Nexus Root Toolkit
5) to maximize your screen use lmt launcher (see attached image)
setting for lmt launcher
> activation area position : bottom
>activation area thickness: 18
>activation area length : 580
> show status info: disabled
> PIE setting(pie item 1: recent apps
pie item 2:home
pie item 3:Back)
and important things is to remove soft bottom navigation keys on the screen using these steps
> visit root folder using any root explorer like mixplorer apk or es file explorer apk
> go to system folder and open ''build.prop'' file and add ''qemu.hw.mainkeys=1'' at last.
excluding ('') and save and reboot.

How I installed madOS (Oreo 8.1) on BLU Life One X (2016)

I finally succeeded it, after literally months of trial and error! So, I am writing this post in hope that someone who wants to install Oreo on Life One X in the future would find this post through Google search.
Here are the steps.
0. From this page (https://forum.xda-developers.com/android/development/rom-official-mados-wiko-fever-clones-t3762800), download the TWRP recovery and the madOS Oreo ROM.
1. Download the BLUEFEVER ROM from this page (https://www.npcglib.org/~stathis/blog/2016/04/13/turned-blu-life-one-x-wiko-fever-4g/).
2. Download the SP Flash Tool from the page above or through Google search. The version I used was 5.1812, which seemed to be the latest version.
3. Download the Universal ROM from this page (https://forum.xda-developers.com/android/development/flashable-wiko-fever-stock-marshmallow-t3720484)
4. The critical things is you should not flash the Universal ROM as it is, because that bricked my One X. You need to copy "preloader_l5460.bin" and "secro.img" from BLUEFEVER in step 1 and overwrite them to the Universal ROM.
5. You need to install the Mediatek Driver. I used "MT65XX USB VCOM" driver. I found it using Google search, but forgot where I got it from. But with that name, I think you can find it.
6. Now start the Flash Tool, and and select the download agent in the Flash Tool directory (MTK_AllInOne_DA.bin), and select the scatter file in the Universal rom (MMX BLU), and then select "Format all + Download". Then, this is very important, press the download button BEFORE connecting the phone, otherwise it will not work.
7. Now, turn off the phone (I mean, power off, not just screen off) and then connect it to the PC. If the tool does not recognise the phone, press volume up + down at the same time when you connect it until the device connected sound comes from Windows.
8. Now the tool flashs the rom. Wait. It may take a few minutes.
9. If it is bricked, just leave it for a month until the battery drains and completely turns off, and then try flashing again.
10. Now, boot up the phone, go to Settings -> About and hit the build number several times to enable the developer menu.
11. In the developer menu, enable OEM unlocking.
12. Now, install the Google USB Driver. This can be easily found through a Google search. You need to get the "platform-tools" directory of the Android SDK, which can also be easily found.
13. Now, turn off the phone, and hold volume up + power button. The phone shows tiny menu (really tiny...). The first is recovery, the second is fast boot, and the third is normal. Choose fast boot. Type "fastboot oem unlock". You need to press the volume up button on the phone now.
14. Now the phone is unlocked. Type "fastboot.exe flash recovery twrp_wiko_fever_oreo.img" to flash the recovery.
15. Restart in the recovery using the 13th step.
16. Go to Wipe -> Format data and format the data, otherwise the recovery will not recognise the storage and will not boot.
17. Go to Open Gapps and get ARM64, 8.1, micro. Editions above micro will NOT install with an error message that says insufficient storage.
18. Now connect the phone to the PC. The TWRP recovery automatically mounts the storage to the PC so that you can copy files into it. Copy the mad OS rom ZIP from step 0 and the OpenGapps from step 17.
19. Flash the two using the install menu of TWRP.
20. Done.
I do not use One X as a phone, so I skipped the radio flashing steps. It currently shows the baseband is unknown. If you want to use the phone feature, I think you need to flash the radio img or something using the instructions somewhere in the linked posts.
Find here SP Flash Tool

[OnePlus6] Phone frozen (bricked?) while installing Kali NetHunter.

Wanted to install NetHunter on my phone to learn. Here is a story of a foolish student decided to make his life difficult:
Device: OnePlus 6
Model: A6000
Android 10
Here are the steps I followed:
Followed these two documentations:
1) https://www.kali.org/docs/nethunter/installing-nethunter/#1-nethunter-support-and-pre-built-images
2) https://www.kali.org/docs/nethunter/
So downloaded the zip image > put android in developer mode with OEM and advanced reboot and debugging enabled > Fastboot menu
Then I followed this guide for step 3-5 from link 1:
https://forum.xda-developers.com/t/...-flash-twrp-root-nandroid-efs-backup.3792643/
(a little bit google reading said TWRP takes care of A/B style devices by itself no special steps needed)
Set up the windows machine with fastboot, adb and device drivers > run the command "fastboot oem unlock" > transferred twrp zip to the device internal storage > then flashed the new recovery mode "fastboot boot twrp.img" > install and selected the twrp zip that I had saved in internal storage before > reboot > system.
So far worked perfectly.
Then I downloaded the Magisk apk from github and installed it by transferring it to internal storage.
Next for step 6 from link 1:
I again download the ForceEncrypt disabler from zip and transfer it to internal storage then flash it using TWRP.
So far no errors.
Now the final step should have been to flash the nethunter zip image and this is where the problems started:
I tried to flash it using TWRP but it gave me an error about there not being enough storage.
Saw a YT video where he extracts the nethunter zip and via the magisk app does a install on the tar file found inside the extracted folder. This also failed.
After a bit google it said it was because I did not have custom ROM and chroot and lineageOS should solve my problem.
I flash the LineageOS zip image using TWPR > successful but says I should switch the slot to complete the zip files installed.
After switching and rebooting, fastboot goes to lineage always and its a bootloop , so no matter what I select its always reaching the same screen and I cant tranfer zip to internal anymore to try a different build.
So now I run the command fastboot boot twrp.img again and go back to slot A.
Now my phone is stuck in bootloader. No matter what option I select out of the 4:
Start
Recovery mode
restart bootloader
power off
(latter two work as expected technically)
I always end up on the same screen.
After connecting the phone it is showing it as connected in "fastboot devices" now but fastbood is not able to flash or boot any image to it: either freezes or unknown error. "adb devices" shows no devices.
Practically begging for help right now.
To fix your phone, you should use this recovery tool.
https://forum.xda-developers.com/t/op6-latest-10-3-8-collection-of-unbrick-tools.3914109/
You can follow a tutorial like this one
Good luck
You haven't chosen the right place to ask for help. delete your post or change it to "Questions and answer". Have a good day.
d
CarlosTime said:
You haven't chosen the right place to ask for help. delete your post or change it to "Questions and answer". Have a good day.
Click to expand...
Click to collapse
Thank you. I am trying the suggested video right now.
Do you also know why I get the storage error while trying to flash nethunter?
take it easy, relax i have a long story with oneplus too
send me msg on telegram so i can help u 98%
uaername : NotReal0
stay safe bro, and dont worry i dont need you money just bc im noob with english so i just know that u damaged ur phone and i know how to fix
saffron_jedi said:
Wanted to install NetHunter on my phone to learn. Here is a story of a foolish student decided to make his life difficult:
Device: OnePlus 6
Model: A6000
Android 10
Here are the steps I followed:
Followed these two documentations:
1) https://www.kali.org/docs/nethunter/installing-nethunter/#1-nethunter-support-and-pre-built-images
2) https://www.kali.org/docs/nethunter/
So downloaded the zip image > put android in developer mode with OEM and advanced reboot and debugging enabled > Fastboot menu
Then I followed this guide for step 3-5 from link 1:
https://forum.xda-developers.com/t/...-flash-twrp-root-nandroid-efs-backup.3792643/
(a little bit google reading said TWRP takes care of A/B style devices by itself no special steps needed)
Set up the windows machine with fastboot, adb and device drivers > run the command "fastboot oem unlock" > transferred twrp zip to the device internal storage > then flashed the new recovery mode "fastboot boot twrp.img" > install and selected the twrp zip that I had saved in internal storage before > reboot > system.
So far worked perfectly.
Then I downloaded the Magisk apk from github and installed it by transferring it to internal storage.
Next for step 6 from link 1:
I again download the ForceEncrypt disabler from zip and transfer it to internal storage then flash it using TWRP.
So far no errors.
Now the final step should have been to flash the nethunter zip image and this is where the problems started:
I tried to flash it using TWRP but it gave me an error about there not being enough storage.
Saw a YT video where he extracts the nethunter zip and via the magisk app does a install on the tar file found inside the extracted folder. This also failed.
After a bit google it said it was because I did not have custom ROM and chroot and lineageOS should solve my problem.
I flash the LineageOS zip image using TWPR > successful but says I should switch the slot to complete the zip files installed.
After switching and rebooting, fastboot goes to lineage always and its a bootloop , so no matter what I select its always reaching the same screen and I cant tranfer zip to internal anymore to try a different build.
So now I run the command fastboot boot twrp.img again and go back to slot A.
Now my phone is stuck in bootloader. No matter what option I select out of the 4:
Start
Recovery mode
restart bootloader
power off
(latter two work as expected technically)
I always end up on the same screen.
After connecting the phone it is showing it as connected in "fastboot devices" now but fastbood is not able to flash or boot any image to it: either freezes or unknown error. "adb devices" shows no devices.
Practically begging for help right now.
Click to expand...
Click to collapse
I had the same issue after trying to install nethunter myself. Unfortunately for me the MSMDownload tool wouldn't work because I couldn't get the phone to stay off, it would just boot back up into bootloader/fastboot mode as soon as I connected to the computer via usb cable.
Here's the solution that will work 100%. Go to this website below and download the stock OOS zip file for your phone, in my case it was the Oneplus 6T fastboot ROM. Unpack the files into your platform-tools folder, click skip all if it asks you if you want to replace any files in that folder, then run the flash-all.bat and it will unbrick your device. Keep in mind that it will unroot your device and remove twrp as well. There's a thread here that explains how to do it manually so that doesn't happen but its a bit of work to get it done that way.
FastbootRoms Activity
sourceforge.net

Categories

Resources