[ROM][MIUI][4.4.X] Stock Kitkat MIUI 6 fastboot ROM flashing guide for Redmi 2 - Xiaomi Redmi 2 Guides, News, & Discussion

After xiaomi decided to push an update of miui with lollipop, they decided to change partitions and firmware is new too which is bad (as it causes bootloop) if you want to switch to Cyanogenmod 13 which has got official support recently.
So its good to get back on kitkat MIUI to switch to Cyanogenmod.
Let's get started!
THINGS YOU'LL NEED:
1. ADB and Fastboot tools: http://d-h.st/oFLb
2. Stock MIUI kitkat ROM: http://bigota.d.miui.com/V6.7.1.0.K...ICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
3. 7zip (Probably the best file manager) http://www.7-zip.org/download.html
4. Drivers: http://d-h.st/a5kA
How to install drivers: Download and extract the above zip contents in a folder. Right click on My Computer > Manage > Device Manager. If your drivers are not installed correctly, it will show as unknown device in device manager. Right click unknown device > Click update driver software > Browse and select the extracted folder. If warning is shown, ignore it and proceed.
5. Patience and some brain xD :silly:
INSTALLATION:
Windows 7/8/8.1 is recommended
1. Extract the adb and fastboot tools in folder on your desktop named Redmi 2.
2.Download and extrack the fastboot ROM in the same folder too. Use 7zip software here to extract it.
3.Now move mouse to empty space in folder and while pressing shift, press right click. A menu will open. Select " open command prompt here" option. A command prompt window will open.
4.Power off your phone. Let it vibrate. Press and hold "Volume down and power" buttons until it enters fastboot mode.
5.Connect the phone to PC/Laptop in fastboot mode itself. Let the OS install drivers, make sure you have working internet connection.
6.Type the following command:
Code:
fastboot devices
Fastboot will return serial number of device(It can be any number don't worry if it looks weird). Click button below to see screenshot:
{
"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"
}
7.If a blank space is returned, make sure drivers are installed correctly and phone is connected correctly.
8.If everything is okay, type the following commands one after another when previous process is complete.
I have shown a example for flashing recovery image below. Likewise you have to proceed for others.
Code:
1.fastboot flash boot boot.img
2.fastboot flash system system.img
3.fastboot flash userdata userdata.img
4.fastboot flash recovery recovery.img
5.fastboot flash cache cache.img
9.After this is completed, type the last command:
Code:
fastboot reboot
10.DONE.
Your phone will now boot in MIUI kitkat and you are ready to flash the official CM13!
Follow this guide for CM13:http://forum.xda-developers.com/redmi-2/how-to/rom-install-official-cyanogenmod-13-t3374589
HIT THANKS AND FEEL FREE TO ASK QUESTIONS HERE.

bootloader isn't locked, only partitions change bro

I flashed the images via fastboot and got bootloop...........

PROdelision said:
I flashed the images via fastboot and got bootloop...........
Click to expand...
Click to collapse
Device variant?
Did you try cm13? Try and tell.
Sent from my 2014818 using Tapatalk

is this how to the same with if i use MiFlash?

sennayan said:
is this how to the same with if i use MiFlash?
Click to expand...
Click to collapse
Yes. I'll try to update this with screenshots etc today.
Sent from my 2014818 using Tapatalk

Is this working with 2014813?

frosty234 said:
Is this working with 2014813?
Click to expand...
Click to collapse
It should.
Sent from my 2014818 using Tapatalk

noobpremium said:
It should.
Sent from my 2014818 using Tapatalk
Click to expand...
Click to collapse
I made it with 2014813, and now I am stuck at boot with MI logo.
What can I do?

bisato said:
I made it with 2014813, and now I am stuck at boot with MI logo.
What can I do?
Click to expand...
Click to collapse
Flash twrp and go for cm13 :good:
Sent from my 2014818 using Tapatalk

I was now able to once Start after installing "your" twrp. I wiped data etc, but now it gives me error 7.
Edit: solved by once again flash twrp IMG through twrp itself. THX noobpremium

Device variant: 2014811, a.k.a. Wt88047, a.k.a. Redmi 2 WCDMA
I exactly followed your post and flashed the images via fastboot and got a bootloop.
Then used fastboot to install & boot a twrp-3.0.0-0-wt88047-20160309.img and proceed to install a cm-13.0 NIGHTLY-wt88047 ROM and, again, got a bootloop

plasticdoc said:
Device variant: 2014811, a.k.a. Wt88047, a.k.a. Redmi 2 WCDMA
I exactly followed your post and flashed the images via fastboot and got a bootloop.
Then used fastboot to install & boot a twrp-3.0.0-0-wt88047-20160309.img and proceed to install a cm-13.0 NIGHTLY-wt88047 ROM and, again, got a bootloop
Click to expand...
Click to collapse
Did you follow cm13 guide properly?
Did you wipe system partition
Sent from my 2014818 using Tapatalk

Hey so, I'm running HM2014811 redmi 2 on lollipop miui. I've followed your article, but when i try to flash system.img, fastboot comes up with an error (remoteata too large). So what should i do.

Luke T. Kirk said:
Hey so, I'm running HM2014811 redmi 2 on lollipop miui. I've followed your article, but when i try to flash system.img, fastboot comes up with an error (remoteata too large). So what should i do.
Click to expand...
Click to collapse
First erase data partition with this command:
Code:
fastboot erase userdata
And then flash userdata again
Edit: Maybe you'll need to erase system partition too and flash again.
Sent from my 2014818 using Tapatalk

noobpremium said:
First erase data partition with this command:
Code:
fastboot erase userdata
And then flash userdata again
Edit: Maybe you'll need to erase system partition too and flash again.
Sent from my 2014818 using Tapatalk
Click to expand...
Click to collapse
Nope, It's still saying 'remote: Data too large" on trying to flash either system.img or userdata on fastboot
Any other suggestions?

Luke T. Kirk said:
Nope, It's still saying 'remote: Data too large" on trying to flash either system.img or userdata on fastboot
Any other suggestions?
Click to expand...
Click to collapse
I was finally able to install the ROM listed at the 1st post, i.e., ROM wt88047_global_images_V6.7.1.0.KHJMICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
This how I did it from a computer running Ubuntu Linux 14.04.04 LTS:
1. @ PHONE: put phone in fastboot mode
2. @ PC:
2.1. unarchive the file wt88047_global_images_V6.7.1.0.KHJMICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
2.2. go to the unarchived directory and execute:
sudo ./flash_all.sh (this command executed from an Ubuntu Linux terminal)
2.3. After a while it reboots and then it takes a long time (>5min.?) to show you the MIUI 6 interface
Done.
D.

plasticdoc said:
I was finally able to install the ROM listed at the 1st post, i.e., ROM wt88047_global_images_V6.7.1.0.KHJMICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
This how I did it from a computer running Ubuntu Linux 14.04.04 LTS:
1. @ PHONE: put phone in fastboot mode
2. @ PC:
2.1. unarchive the file wt88047_global_images_V6.7.1.0.KHJMICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
2.2. go to the unarchived directory and execute:
sudo ./flash_all.sh (this command executed from an Ubuntu Linux terminal)
2.3. After a while it reboots and then it takes a long time (>5min.?) to show you the MIUI 6 interface
Done.
D.
Click to expand...
Click to collapse
Super thanks. I'll add it to OP for ubuntu guys. I have ubuntu too but i dont use it for flashing [emoji14]
Sent from my 2014818 using Tapatalk

plasticdoc said:
I was finally able to install the ROM listed at the 1st post, i.e., ROM wt88047_global_images_V6.7.1.0.KHJMICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
This how I did it from a computer running Ubuntu Linux 14.04.04 LTS:
1. @ PHONE: put phone in fastboot mode
2. @ PC:
2.1. unarchive the file wt88047_global_images_V6.7.1.0.KHJMICH_20150826.0000.7_4.4_global_dcc2d135ee.tgz
2.2. go to the unarchived directory and execute:
sudo ./flash_all.sh (this command executed from an Ubuntu Linux terminal)
2.3. After a while it reboots and then it takes a long time (>5min.?) to show you the MIUI 6 interface
Done.
D.
Click to expand...
Click to collapse
Thank you, i'll try it out. I should have included the fact that im running os x. So yes, i'll execute the flash all from terminal.

"flash_all.bat" will work alternative of typing commands manually? (2014818)

Related

[HOW-TO] Easily resize system + data partitions!

BIG THANKS TO MUR4IK FOR THIS TOOL! Be sure to donate to him and support his work!
Cannot get the builder to run or use Linux/Mac? Solution here!
In this guide I will be showing you how to resize your data + system partitions for more/less space.
Things you will need:
LG GT540 w/ A Fastboot ROM installed
LG drivers and Fastboot/ADB drivers installed
Windows (with .NET Framework 3.5 SP1 installed. If you have trouble launching the program, (re)install .NET 3.5 SP1. Also this tool will not work with Wine on Linux.)
Your phones USB cable.
WARNING: MAKE SURE TO NANDROID BACKUP YOUR ROM BEFORE CHANGING THE PARTITION SIZES! YOU MAY NEED IT LATER. ALSO, THIS TOOL DOES NOT REMOVE RECOVERY.
First of all, grab the SwiftBootloaderBuilder.zip from http://kulkoff.com/swift/ or from here.
(Mur4ik's site is recommended)
Next, put your phone into Fastboot Mode (Camera+Power)
Extract the files to your Desktop using any archiving program. Then go to the folder you extracted. Right Click and Select 'Run as Administrator'
{
"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 will see a window like this pop up:
Now we can alter the partition sizes. If you want the same effects as Mur4ik's 234MB DATA KDZ, choose 150MB system, and the data column will change accordingly. If you want a bit more system space (eg. To run airbus360's LG Optimus One ROM) Select 190 system. Basically, adjust the settings to how you want. My recommendations are:
For SwiftDroid, joe.stone AOSP, airbus360 AOSP, EleganceSwift, MMXTREM 2.1 Lite, Quarx Black ROM: 150 system 234 data
For airbus360 Optimus One: 190 system 194 data
For stock 2.1: 250 system 134 data
Once you have decided on the size you want, hit 'Flash New Bootloader' and confirm you really want to do this. You will get a 'Done' message and then click OK. Select 'Wipe Data' and then Reboot Device. After you click reboot, hold down HOME until recovery pops up.
Now you have two choices. Either install a new ROM from scratch, or restore your nandroid backup you made earlier.
This tool also has the option to remove fastboot and recovery from the device, so you can return to stock firmware, and possibly use regular LG updates again.
Thats it!
If you've got any questions, PM me or reply to the thread.
Also, don't forget to say
if I helped!
Anyone with WinXP SP3 32-bit has got it working successfully?? I still can't make it work. Resizing, removing fastboot & recovery doesn't work for me.
not sure it works on 32bit. it was tested by mur4ik using a 64bit windows7 computer.
bs828 said:
not sure it works on 32bit. it was tested by mur4ik using a 64bit windows7 computer.
Click to expand...
Click to collapse
It works on 32bit Win7
Sent from my GT540 using XDA Premium App
Works perfectly for me on win7 32bit! thanks for making this!!!
tejasdj12 said:
Anyone with WinXP SP3 32-bit has got it working successfully?? I still can't make it work. Resizing, removing fastboot & recovery doesn't work for me.
Click to expand...
Click to collapse
I have only tried on Windows 7, but i'll try it on my netbook soon (that runs XP)
Working fine for me (XP SP3 w/ .NET 3.5 SP1) No issues at all, also partitions resize ok too.
Hi. Thats should be added in header that this "tool" has a requirements MS .NET frameworks 3.5 SP1 and adove.
Mur4ik,
Because this tool can save the bootloader instead of flashing it, would it work to save the bootloader using the tool in Wine, then flashing it with fastboot (maybe a solution for Linux users) What would the command be to flash this boot bootloader?
Thanks.
effortless. said:
Mur4ik,
Because this tool can save the bootloader instead of flashing it, would it work to save the bootloader using the tool in Wine, then flashing it with fastboot (maybe a solution for Linux users) What would the command be to flash this boot bootloader?
Thanks.
Click to expand...
Click to collapse
Code:
fastboot flash APPSBL your_file_filename.mbn
Mur4ik said:
Code:
fastboot flash APPSBL your_file_filename.mbn
Click to expand...
Click to collapse
Thanks, I will try later!
EDIT: Doesn't matter, .NET 3.5 SP1 wont install, also using Winetricks didn't help. But what I might do is, create a load of bootloader files (on my Windows machine) and then upload them, so users can flash w/ fastboot.
Anyone knows how to get fastboot on fresh stock ROM without that KDZ stuff? Coz I'd just bricked my phone (dead phone), but the LG people in India are too generous to fix it in two hours.
I won't take any risks with KDZ. But I'm missing Swiftdroid and other stuff. Please can someone tell how do I install fastboot somehow without using KDZ?
tejasdj12 said:
Anyone knows how to get fastboot on fresh stock ROM without that KDZ stuff? Coz I'd just bricked my phone (dead phone), but the LG people in India are too generous to fix it in two hours.
I won't take any risks with KDZ. But I'm missing Swiftdroid and other stuff. Please can someone tell how do I install fastboot somehow without using KDZ?
Click to expand...
Click to collapse
You could root your phone then use root explorer and copy the flash image file to the bin folder then run the command mur4ik posted in this thread but change fastboot to flash_image run the command in terminial that should work.
This is the command
su
flash_image APPSBL your_file_filename.mbn
Sent from my GT540 using XDA Premium App
eoghan2t7 said:
flash_image APPSBL your_file_filename.mbn
Click to expand...
Click to collapse
Which file should I flash? The one that's created by Swift Bootloader Builder? Will it enable fastboot? (ATM I don't have fastboot in my phone)
tejasdj12 said:
Anyone knows how to get fastboot on fresh stock ROM without that KDZ stuff? Coz I'd just bricked my phone (dead phone), but the LG people in India are too generous to fix it in two hours.
I won't take any risks with KDZ. But I'm missing Swiftdroid and other stuff. Please can someone tell how do I install fastboot somehow without using KDZ?
Click to expand...
Click to collapse
You might be able to flash it using flash_image. But either: flash_image may not be able to access the appsbl partition or it may not be able to be changed 'on the fly' so to speak. You can try this, not sure if it will work, root is needed, not sure if it will brick your phone, I have not tried this method.
Download either:
150 system 234 data
250 system 134 data
and also download flash_image from here
Put the .mbn and flash_image file on your SDCard.
Open a terminal emulator and type the following:
Code:
su (press allow when prompt comes up)
cd /sdcard/
chmod +x ./flash_image (if this doesn't work, try chmod +x flash_image)
./flash_image appsbl appsboot_150_234_64.mbn (or appsboot_250_134_64.mbn)
sync
Now try entering fastboot and flash recovery. In theory, it should work.
oh snap, Eoghan beat me to it
@eoghan and effortless.
Thanks for your help, I'll try that later.
EDIT: One doubt, I don't think it's possible to resize partitions while using them.
Lets hope it works, then once at 2.1, there is no need for KDZ anymore (sort of)
tejasdj12 said:
@eoghan and effortless.
Thanks for your help, I'll try that later.
EDIT: One doubt, I don't think it's possible to resize partitions while using them.
Click to expand...
Click to collapse
It will resize, as the partition table is only changed on boot (as far as I know)
Nope, it says "Can't find appsbl partition"
tejasdj12 said:
Nope, it says "Can't find appsbl partition"
Click to expand...
Click to collapse
It might be case sensitive, try APPSBL instead

Asus zenfone 4 aosp rom

Finally,the wait is over, found a CUSTOM ROM for Asus Zenfone 4 A400CG
thanks to the developer Anwar Movic,Tuan Torres and zenphoneviet.com
To install the aosp rom
1) Backup data using Titanium Backup
2)Download the rom here
2)Restart on Droidboot and factory reset, then plug the cable into the back in Droidboot
3)On the PC, extract boot.img and system.img into adb folder
4)Go adb folder, hold down Shift + Right-click -> Open command window here
5) type fastboot flash boot boot.img
fastboot flash system system.img
found bugs
*No self-scanning directories
*No self wave (find craft)
*Camera blurred
*Bluetooth forced to stop when paired
*Some forced to stop Google apps
hit thanks if you liked :good::good::good::good::good::good:
joel george alex said:
Finally,the wait is over, found a CUSTOM ROM for Asus Zenfone 4 A400CG
thanks to the developer Anwar Movic,Tuan Torres and zenphoneviet.com
To install the aosp rom
1) Backup data using Titanium Backup
2)Download the rom here
2)Restart on Droidboot and factory reset, then plug the cable into the back in Droidboot
3)On the PC, extract boot.img and system.img into adb folder
4)Go adb folder, hold down Shift + Right-click -> Open command window here
5) type fastboot flash boot boot.img
fastboot flash system system.img
found bugs
*No self-scanning directories
*No self wave (find craft)
*Camera blurred
*Bluetooth forced to stop when paired
*Some forced to stop Google apps
hit thanks if you liked :good::good::good::good::good::good:
Click to expand...
Click to collapse
screenshots
https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/s206x206/10891837_384352245069326_8895022668177902861_n.jpg?oh=c8d9d1b07546bd77d72d0dd51927ce1f&oe=5583C28C&__gda__=1434752362_7ccc1fd142e86914f2747577b528a544
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/s206x206/522135_384352231735994_2889919058120350430_n.jpg?oh=a4d9c293f60ceb2295069e598a8169b4&oe=55840E7E&__gda__=1431070651_0c6b2bceefa6c78c0a98ec3e02ebd7fc
https://scontent-sjc.xx.fbcdn.net/hphotos-xap1/v/t1.0-9/s206x206/10888465_384352215069329_1388157218258722994_n.jpg?oh=38b23dc1ff2b3a825be4eeaeef8e987e&oe=5548C37D
https://scontent-sjc.xx.fbcdn.net/hphotos-xpa1/v/t1.0-9/p320x320/10885472_384352205069330_2372847021787298005_n.jpg?oh=e220c64abe44d2d1481f968420d2d1bd&oe=555219AA
{
"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"
}
joel george alex said:
Click to expand...
Click to collapse
great job mate!
crying
i am too much disappointed that no one is hitting thanks :crying::crying::crying::crying::crying::crying::crying::crying:
why guys?
up up up! :good:
jiyoohji said:
up up up! :good:
Click to expand...
Click to collapse
i dont meant that, i
what i want is to click on the thanks button at the right corner of every post
are the bugs fixed yet????
arun483 said:
are the bugs fixed yet????
Click to expand...
Click to collapse
FOR FIXING BUGS
camera blured
1) Open Build.prop find the line " ro.product.model = AOSP on a400cg "
2) Change into ro.product.model = ASUS_T00I and Reboot
bluetooth fix
1)open build.prop
2)edit like this in the image here
VERSION2
FIXED gps,gapp system.img.gz link
joel george alex said:
Finally,the wait is over, found a CUSTOM ROM for Asus Zenfone 4 A400CG
thanks to the developer Anwar Movic,Tuan Torres and zenphoneviet.com
To install the aosp rom
1) Backup data using Titanium Backup
2)Download the rom here
2)Restart on Droidboot and factory reset, then plug the cable into the back in Droidboot
3)On the PC, extract boot.img and system.img into adb folder
4)Go adb folder, hold down Shift + Right-click -> Open command window here
5) type fastboot flash boot boot.img
fastboot flash system system.img
found bugs
*No self-scanning directories
*No self wave (find craft)
*Camera blurred
*Bluetooth forced to stop when paired
*Some forced to stop Google apps
hit thanks if you liked :good::good::good::good::good::good:
Click to expand...
Click to collapse
Is it possible to decompile system.img? I wanted to port CM
Cm_11 for asus zenfone 5 for developers only
arun483 said:
Is it possible to decompile system.img? I wanted to port CM
Click to expand...
Click to collapse
donno for sure ,you could use android kitchen for decompiling
http://forum.xda-developers.com/showthread.php?t=633246
found cm11 for zenfone 5 for developers(booting problems ,may be you could fix it)
CM_11 FOR ASUS ZENFONE 5 LINK HERE
joel george alex said:
donno for sure ,you could use android kitchen for decompiling
http://forum.xda-developers.com/showthread.php?t=633246
found cm11 for zenfone 5 for developers(booting problems ,may be you could fix it)
CM_11 FOR ASUS ZENFONE 5 LINK HERE
Click to expand...
Click to collapse
I thought we could only port roms on same chipset/processor. Zenfone 4 use Intel Atom Z2520 whereas ZenFone 5 uses Intel Atom Z2580. Are you sure it would be safe to port rom from a different processor?
joel george alex said:
FIXED gps,gapp system.img.gz
Click to expand...
Click to collapse
sir how can flash this?can you give me some instructions?
jiyoohji said:
sir how can flash this?can you give me some instructions?
Click to expand...
Click to collapse
first please dont call me sir,(im not a developer)
full credit goes to x anwar wjr
instructions:
1)download intel drivers and install it click here
2)download adb here and extract it and place it in a folder click here
3)download the system.img.gz on previous post and place it in the adb folder
4)replace the boot.img in the adb folder with your phone's boot.img
5)go into fast boot mode (switch off and power+vol up) ,run cmd.exe and and move to adb folder in it, type this
fastboot erase cache
fastboot erase userdata
fastboot erase system
fastboot reboot-bootloader
fastboot flash system system.img.gz
fastboot flash boot boot.img
fastboot reboot-bootloader
this factory reset your phone with erasing system, so before doing get stock system.img.gz for your phone ,do it at your own risk
i am not responsible for anything
arun483 said:
I thought we could only port roms on same chipset/processor. Zenfone 4 use Intel Atom Z2520 whereas ZenFone 5 uses Intel Atom Z2580. Are you sure it would be safe to port rom from a different processor?
Click to expand...
Click to collapse
you know better than me,i just gave you the link.lot of changes are needed to port from different chipset
hitting thanks will be appreciated
joel george alex said:
first please dont call me sir,(im not a developer)
full credit goes to x anwar wjr
instructions:
1)download intel drivers and install it click
2)download adb here and extract it and place it in a folder click
3)download the system.img.gz on previous post and place it in the adb folder
4)replace the boot.img in the adb folder with your phone's boot.img
5)go into fast boot mode (switch off and power+vol up) ,run cmd.exe and and move to adb folder in it, type this
fastboot erase cache
fastboot erase userdata
fastboot erase system
fastboot reboot-bootloader
fastboot flash system system.img.gz
fastboot flash boot boot.img
fastboot reboot-bootloader
this factory reset your phone with erasing system, so before doing get stock system.img.gz for your phone ,do it at your own risk
i am not responsible for anything
Click to expand...
Click to collapse
ok thanks! should i flash the v1 first?
by the way i just saw this on the other forums.just sharing.
it hasn't support dual sim yet, I tested and found that it needs stock support dual sim, aosp rom does not
jiyoohji said:
ok thanks! should i flash the v1 first?
by the way i just saw this on the other forums.just sharing.
Click to expand...
Click to collapse
YOU CAN DO IT AS YOU WISH

[Q] need help to get my phone working again

hey guys.
My M7 is stuck in the bootloop. I tried to install a new rom like 2 years ago and it didnt worked out, but i already had a new phone, so i didnt care too much. now id like to reactivate my old m7 but dont know how.
here is a link to a picture of my fastboot
imgur.com/tzQe7Xi
Im running Windows 10 on my computer
thanks in advance
zuppiger said:
hey guys.
My M7 is stuck in the bootloop. I tried to install a new rom like 2 years ago and it didnt worked out, but i already had a new phone, so i didnt care too much. now id like to reactivate my old m7 but dont know how.
here is a link to a picture of my fastboot
imgur.com/tzQe7Xi
Im running Windows 10 on my computer
thanks in advance
Click to expand...
Click to collapse
Boot into fastboot mode and install the latest version of TWRP, which is 2.8.7.0. You can download it from the TWRP official website.
Code:
fastboot flash recovery recovery-file-name.img
Boot into recovery and connect your phone to the PC.
Download any ROM from the forum, transfer it to the phone and flash it. Don`t since we don`t know anything about your previous ROM wipe cache, dalvik, data and system before flashing your chosen ROM.
Since you`re S-On, extract the boot.img file from the ROM zip and flash it manually in fastboot mode
Code:
fastboot flash boot boot.img
Reboot phone and enjoy.
proone said:
Boot into fastboot mode and install the latest version of TWRP, which is 2.8.7.0. You can download it from the TWRP official website.
Code:
fastboot flash recovery recovery-file-name.img
Boot into recovery and connect your phone to the PC.
Download any ROM from the forum, transfer it to the phone and flash it. Don`t since we don`t know anything about your previous ROM wipe cache, dalvik, data and system before flashing your chosen ROM.
Since you`re S-On, extract the boot.img file from the ROM zip and flash it manually in fastboot mode
Code:
fastboot flash boot boot.img
Reboot phone and enjoy.
Click to expand...
Click to collapse
No need to extract anything. S-on doesn't matter for kernel flashing on this phone. So, flash ROM.zip and enjoy
proone said:
Boot into fastboot mode and install the latest version of TWRP, which is 2.8.7.0. You can download it from the TWRP official website.
Code:
fastboot flash recovery recovery-file-name.img
Click to expand...
Click to collapse
Code:
fastboot flash recovery recovery-file-name.img
fastboot erase cache
fastboot reboot-bootloader
Always erase the cache and reboot the bootloader after flashing a recovery to avoid problems booting the recovery.
Download any ROM from the forum
Click to expand...
Click to collapse
"any ROM" from the forum won't work on his phone. For example, his actual firmware is way to old to run roms based on Sense + Lollipop. With this firmware version (2.24.401.8), he is limited to JellyBean or Kitkat Roms.
Since you`re S-On, extract the boot.img file from the ROM zip and flash it manually in fastboot mode
Code:
fastboot flash boot boot.img
Reboot phone and enjoy.
Click to expand...
Click to collapse
Won't hurt but not needed on the M7 (unlike some other HTC phones). The kernel partition isn't secured and is flashed with the rom from twrp.
@zuppiger
If you want the phone back to stock and be able to intall ota updates (or if you want to install a custom lollipop + sense rom), flash this rom using twrp recovery. Select "yes" for stock recovery and stock radio, select "no" to root. then reboot the phone to the OS, install all the ota updates (a lot) until your version is 7.19.401.30. Then you can use the phone like this or you'll be ready to flash a lollipop custom rom. Otherwise you can go like suggested above but with older (JB or KitKat) Sense rom or any CM/AOSP roms.
Thanks guys.
but i think i might need some more help.
i downloaded the sdk manager to install TWRP, but when i try to write "adb reboot bootloader" it says "is not recognized as an internal or external command, operable program or batch file" (not entirly sure if this is the correct translation, in german it says the command is either wrong or could not be found)
i think it could be because of some driver issues.
any advice??
zuppiger said:
Thanks guys.
but i think i might need some more help.
i downloaded the sdk manager to install TWRP, but when i try to write "adb reboot bootloader" it says "is not recognized as an internal or external command, operable program or batch file" (not entirly sure if this is the correct translation, in german it says the command is either wrong or could not be found)
i think it could be because of some driver issues.
any advice??
Click to expand...
Click to collapse
Download the android sdk tools:
https://developer.android.com/sdk/index.html#Other
Make sure you have the latest htc drivers installed:
http://www.mediafire.com/download/2lyl151pt5pah2v
Make sure you don't have HTC Sync installed on your computer, if yes, uninstall it since it will interfere with fastboot/adb commands
To use adb or fastboot commands, open a command window from the same folder where adb.exe and fastboot.exe are located on your computer (C::\Programs\Android SDK Tools\platform-tools). To start a command window from this folder, hold your left "shift" key and right click a blank space in that folder, then in the contextual menu, select "open a command window here".
Don't forget that adb commands can only works when the phone is booted in the OS with "USB debugging" turned on from the developer option menu or from a custom recovery. Fastboot commands only works from the bootloader (in the fastboot menu).
{
"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"
}
alray said:
Download the android sdk tools:
https://developer.android.com/sdk/index.html#Other
Make sure you have the latest htc drivers installed:
http://www.mediafire.com/download/2lyl151pt5pah2v
Make sure you don't have HTC Sync installed on your computer, if yes, uninstall it since it will interfere with fastboot/adb commands
To use adb or fastboot commands, open a command window from the same folder where adb.exe and fastboot.exe are located on your computer (C::\Programs\Android SDK Tools\platform-tools). To start a command window from this folder, hold your left "shift" key and right click a blank space in that folder, then in the contextual menu, select "open a command window here".
Don't forget that adb commands can only when the phone is booted in the OS with "USB debugging" turned on from the developer option menu or from a custom recovery. Fastboot commands only works from the bootloader (in the fastboot menu).
Click to expand...
Click to collapse
Thanks. I installed everything like explained.
It worked better this time, but now I get "waiting for device".
On the phone itself it says "FASTBOOT USB"
zuppiger said:
but now I get "waiting for device".
Click to expand...
Click to collapse
When using what command?
alray said:
When using what command?
Click to expand...
Click to collapse
"fastboot flash recovery c:\twrp.img"
zuppiger said:
"fastboot flash recovery c:\twrp.img"
Click to expand...
Click to collapse
what is the output of "fastboot devices" ?
alray said:
what is the output of "fastboot devices" ?
Click to expand...
Click to collapse
Nothing.
I made the command again in the platform-tools folder
Anyone some more help? :good:
zuppiger said:
Anyone some more help? :good:
Click to expand...
Click to collapse
Well without any connectivity to the phone there is nothing we can do unfortunately. Might worth to try on another computer. Otherwise if you are 100% sure that the problem isn't the usb cable, the drivers or the computer then the phone usb port might be broken. This can be replaced (probably the "easiest" part to replace on that phone), you'll need to open the cover and replace that small usb/front mic board.
But the fact that your phone says FASTBOOT USB when in bootloader makes me believe its more a driver/computer problem since it would only says FASTBOOT if there were no connection detected...
thanks a lot for your help. I don't think I will get it working again anytime soon.
But i will look for a way

Root mi5

Hi I've been trying to root this phone all day and I'm getting to the stage were this phone might fly out my window if i can get this sorted soon so I'm asking for some help with the issues I'm having i managed to unlock the phone i can boot into fast boot but i cant boot into twrp i have read numerous guides but I'm still stuck and Iv never really used command prompt either so I'm lost with that if anyone can talk me through this
Sent from my MI 5 using Tapatalk
Are you on miui MM or N?
I'm on miui global 8.2|stable 8.2.2.0 (naamieb)
Sent from my MI 5 using Tapatalk
I'm assuming you have usb debugging, adb drivers and all set up.
If you've set any password or pattern lock or PIN, remove it
Download this https://drive.google.com/open?id=0B8rqkXJNwRqLa1JIY1B5TGpkN2M
Extract to your desktop
Download latest twrp 3.1.0-x . Link is available in another thread in this forum
Place the downloaded image on your phone's internal memory
Power off and enter fastboot mode. Connect to your PC
Open the folder you had extracted earlier. Rename the recovery image to twrp.img
Press shift+right click and open command window
Execute this code
fastboot devices (to make sure if phone is being detected properly.)
fastboot boot twrp.img
Now it will boot into the recovery. The recovery is in chinese by default. In the main screen, select the sixth option which is settings, then select the rightmost tab on the next screen and change the language.
Next install the latest twrp image you had placed on phone memory earlier, select "Recovery" and reboot. You will have installed twrp permanently.
Then flash supersu 2.79 and you're set
when I extract the files it dosent create a folder just the files I can just make the folder but what do I name it also theres no recovery image file
casuk said:
when I extract the files it dosent create a folder just the files I can just make the folder but what do I name it also theres no recovery image file
Click to expand...
Click to collapse
Just create a new folder on desktop and extract to it. The file named ZCX-TWR-3.0.2-X... Is the image file which you need to rename to "twrp"
thanks mate I done that when I try to drag n drop the twrp-3.0.2-0-gemini file to my phone it it fails saying the device has either stopped responding or has been disconnected
casuk said:
thanks mate I done that when I try to drag n drop the twrp-3.0.2-0-gemini file to my phone it it fails saying the device has either stopped responding or has been disconnected
Click to expand...
Click to collapse
You're having issue with copying files to your phone storage?
Reinstall the Xaiomi drivers
how do I reinstall the drivers, also when the phone is connected to the pc if I go to the phone it says portable media player and its empty inside.
and when I go to command prompt and type fastboot devices I get a code then fastboot and then I type fastboot boot twrp.img it says could not load twrp.img : no error
I can't get this working i done all in you guide i have downloaded the drivers but still can't get by the phase i posted above what do i do next
Sent from my MI 5 using Tapatalk
It's okay if it shows portable media player but if it's not showing any files inside it, you have a problem. Go to developer options > enable USB debugging and click Revoke USB authorisations. Device drivers install automatically when the device is connected but you can get them seperately as well, just search for mi 5 drivers and install them. Now connect to PC and see if you can access files on your device. If you can, proceed with the guide I've given
When you say device drivers install automatically when the device is connected do you mean they install to the PC
Sent from my HTC One using Tapatalk
I have installed the drivers as far as I'm aware
{
"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"
}
Sent from my HTC One using Tapatalk
Hi I'm still not able to install/flash twrp so i can root my device i think it's something to do with the device not the pc as phone storage is empty any ideas what i should do
Sent from my MI 5 using Tapatalk
download mi flash http://api.bbs.miui.com/url/MiFlash
install mi flash if you are on windows 8 or above, you need to disable driver singnature enforcement - how to? google it.
during mi flash installation some windows will pop up, just click install this driver anyway. after installation go to c: > xiaomiflash > source > thirdparty > google > android then shift + right click > open command window here. Power off your phone and boot into fastboot then connect to pc. On command window type fastboot devices if xxxxxxx fastboot or something show up on next line, you successfully install fastboot driver.
I have already done that and got f******9 fastboot
then I type fastboot boot twrp.img and I get
cannot load 'twrp.img' = no error
that's exactly what comes up in command prompt and that's as far as I can get also if I boot into recovery I get 3 options reboot, wipe or im assistant so twrp has not installed,
iv been at this for 3 days now and im not any further than I was back then
See if i factory reset my phone and start fresh would i loss my unlocked status
Sent from my MI 5 using Tapatalk
casuk said:
I have already done that and got f******9 fastboot
then I type fastboot boot twrp.img and I get
cannot load 'twrp.img' = no error
that's exactly what comes up in command prompt and that's as far as I can get also if I boot into recovery I get 3 options reboot, wipe or im assistant so twrp has not installed,
iv been at this for 3 days now and im not any further than I was back then
Click to expand...
Click to collapse
Try to install twrp, fastboot flash recovery xxx.img.
And if you want temporarily, fastboot boot recovery xxx.img.
If you are on miui, you must use zcx twrp or else it won't boot.
Good luck.
done as you say still no boot into twrp
casuk said:
done as you say still no boot into twrp
Click to expand...
Click to collapse
I think something is wrong with your twrp.img. Try redownloading. Use latest twrp from twrp.me or zcx from afh.
fastboot flash recovery xxx.img, then disconnect the phone. Press and hold power+vol_up until you see mi logo.

Soft BRICKED A2 (bootloop)

I have bricked my A2 today. I first unlocked the bootloader then insatlled GCAM.
everything was fine, but i tried to install XPOSED (sdk 27) from Magisk module, then rebooted from magisk. My set is stuck at android one animation.
I downloaded official firmware of A2 and tried to flash via mi flash tool, always gets an error of "FLASH_DEVCFG_A ERROR" . Then i tried by clicking on "flash_all_except_data.bat" file, cmd just opened and closed very soon, Same thing happended with "flash_all_lock.bat" ,again cmd just opened and closed.
Still my phone is stuck at Android one animation, and i cant flash or boot my set.
EDIT :: USED. /FASTBOOT -W TO UNBRICK PHONE
Just follow this instructions on the link bellow.
https://forum.xda-developers.com/showpost.php?p=77302899&postcount=4
minnuss said:
Just follow this instructions on the link bellow.
https://forum.xda-developers.com/showpost.php?p=77302899&postcount=4
Click to expand...
Click to collapse
should i flash only those images? because i have some more image files than the llist, kindly check the screen shot
minnuss said:
Just follow this instructions on the link bellow.
https://forum.xda-developers.com/showpost.php?p=77302899&postcount=4
Click to expand...
Click to collapse
Now stuck at devcfg
PS C:\Users\KSN\Desktop\platform-tools> fastboot flash devcfg_b C:\Users\KSN\Desktop\images_V9.6.10.0.ODIMIFE_8.1\images\devcfg.img
target reported max download size of 536870912 bytes
sending 'devcfg_b' (47 KB)...
OKAY [ 0.005s]
writing 'devcfg_b'...
FAILED (remote: Flashing is not allowed for Critical Partitions
)
finished. total time: 0.007s
bluetooth_a , bluetooth_b was flashed successfully
try fastboot flashing unlock_critical
munchy_cool said:
try fastboot flashing unlock_critical
Click to expand...
Click to collapse
This appears everytime . :/
{
"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"
}
Syed Shahriar said:
This appears everytime . :/View attachment 4581400
Click to expand...
Click to collapse
xposed would have not messed with those partitions. did you flash system partition yet?
if not just flash system, vendor and boot
once you have flashed those, do fastboot -w (will loose all data).
and then reboot
fastboot reboot
munchy_cool said:
xposed would have not messed with those partitions. did you flash system partition yet?
if not just flash system, vendor and boot
once you have flashed those, do fastboot -w (will loose all data).
and then reboot
fastboot reboot
Click to expand...
Click to collapse
i just flashed bluetooth_a, bluetooth_b, and then went to devcf_a, failed , and did nothing else.
and what will be the command to flash system, vendor and boot ? kindly give me an example please
Syed Shahriar said:
i just flashed bluetooth_a, bluetooth_b, and then went to devcf_a, failed , and did nothing else.
and what will be the command to flash system, vendor and boot ? kindly give me an example please
Click to expand...
Click to collapse
GOT THESE ERROR::
PS C:\adb> fastboot flash system_a C:\adb\images\system.img
error: cannot load 'C:\adb\images\system.img'
my system iso is there in that location
but successfuly done fastboot flash vendor_b C:\adb\images\vendor.img
and fastboot flash vendor_a C:\adb\images\vendor.img
What are you even doing with all those commands
You need to download latest ADB, that is the first that you need to do, and second, copy all of the images from stock rom to your adb folder, it will be easier for commands to work.
And then start your cmd.exe with administrative privileges (right click on cmd in search bar of windows start, and "run as administrator").
Then move yourself from directory to your adb directory with commands from DOS, like "cd.." for going back from directory, and "cd nameofdir" to go into directory.
So move yourself in adb directory, then type the commands from the upper link to flash those .img one by one.
Oh yes, one other thing, you need to check if you see your mobile device in fastboot, did you install correct drivers.
When you are in adb folder, in cmd type fastboot devices, and you should see your mobile connected, if not, then you can type all you want, the phone is not recognized with pc connection.
Right, so... follow this guide to make sure you've unlocked your bootloader successfully. After you've finished, also add in the command "fastboot flashing unlock_critical". I'm not sure why it didn't work for you in the first place - but I know for a fact it works, because I did it to my own A2.
Make sure you've installed adb/drivers as attached by that link above. Why? 'Cause that's what I did, so I know it should work.
Then go here, extract the files to the same folder as platform-tools (the adb and fastboot tools folder), and run flash-all.bat.
Hey bro i do it too, tô solve, just do a fastboot unlock_critical
https://forum.xda-developers.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585
I had the same issue, no OS installed.
Adb Sideload and OTG didn't worl no matter what I tried.
I followed this thread, and it worked properly without errors, not even one.
It took me 5 minutes to recover my dead MiA2 device to a smooth original/official ROM built.
Locled OEM, rebooted the device and everything is working perfectlt.
Thank you all for the info.

Categories

Resources