[HOW] [Mi 3] [CM 13] [ERROR: 7] How to update CyanogenMod weekly updates - Mi 3 General

My device Mi3 is running on CyanogenMod 13 and latest TWRP recovery. Unable to install weekly updates of CyanogenMod. Recently, got an update cm-13.0-20160516-NIGHTLY when i tried to install that there is an dialog box of "Apply Update" You are about to update bla bla bla... Note: This feature requires a compatible Recovery or updates will need to be installed manually. I didn't get what it means and i thought TWRP is a valid recovery so proceeded from that. After few minutes it rebooted the device top recovery and nothing happened from that. So i rebooted the system again searched over Internet about the issue haven't found any perfect solution (within what i found) but i tried by copying the update file to /sdcard (i mean root directory) and tried to install the update manually by using TWRP recovery but it is showing an error "Updater process ended with ERROR: 7 Error installing zip file '/sdcard/cm-13.0-20160516-NIGHTLY-cancro.zip' Updating partition details......done"
Can you help me out how to install the update and also tell me what I've done wrong so that i will not do that again.
Thanks in advance.

Dude, the answer to your question is in the first post of CM13 FAQ.
Go in here and follow the guide.
https://jrizzoli.github.io/dotfiles/

Hi @diongdyh
sorry for late reply, please help me with a step that is mentioned in the link you've given.
"Run flash_all.bat (on windows) or flash_all.sh (on OS x and Linux - it's suggested to open it from a terminal in these systems)"
Does it mean to run in cmd or what. Please help me out. If you can please elaborate that step.

manideeproyal said:
Hi @diongdyh
sorry for late reply, please help me with a step that is mentioned in the link you've given.
"Run flash_all.bat (on windows) or flash_all.sh (on OS x and Linux - it's suggested to open it from a terminal in these systems)"
Does it mean to run in cmd or what. Please help me out. If you can please elaborate that step.
Click to expand...
Click to collapse
Just connect your device and double click on "flash_all.bat"(I'm assuming you to be on Windows) and it'll do the rest

Well I encountered the same problem a while ago.. I just flashed miui 8 through twrp.. and booted and again flashed latest cm13 and it worked.. No problems so far..
Sent from my MI 3W using XDA-Developers mobile app

@ssasin.monish said:
Just connect your device and double click on "flash_all.bat"(I'm assuming you to be on Windows) and it'll do the rest
Click to expand...
Click to collapse
ok i'll do the same. I doubt whether the device needs to be in fastboot mode or normal system. If you can clear this i'll proceed because previously i tried the same but in fastboot and the device is recognized i checked by 'fastboot devices'.

manideeproyal said:
ok i'll do the same. I doubt whether the device needs to be in fastboot mode or normal system. If you can clear this i'll proceed because previously i tried the same but in fastboot and the device is recognized i checked by 'fastboot devices'.
Click to expand...
Click to collapse
{
"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"
}
It is literally written in the second step. Bootloader=Fastboot mode.

diongdyh said:
It is literally written in the second step. Bootloader=Fastboot mode.
Click to expand...
Click to collapse
i've done the same @diongdyh, after selecting run something went in a flash on the desktop screen and nothing happened on my device and its still in fastboot mode. i think booting to miui 8 and then installing cm13 will be a better option as suggested by @sidhg for me as i'm not getting exactly what to do

even I am having the same problem, I nothing happpens on clicking on flash all file.........

manideeproyal said:
i've done the same @diongdyh, after selecting run something went in a flash on the desktop screen and nothing happened on my device and its still in fastboot mode. i think booting to miui 8 and then installing cm13 will be a better option as suggested by @sidhg for me as i'm not getting exactly what to do
Click to expand...
Click to collapse
Yes it'd be best that you flash miui 8 with fastboot/bootloader
http://bigota.d.miui.com/6.6.1/cancro_alpha_images_6.6.1_20160516.0000.22_6.0_cn_2231b4fcb7.tgz

Related

HTC One Bootloop - Can't access Recovery

Hey guys,
I have an HTC One running Android Revolution HD and while upgrading to version 30 I chose full wipe. AROMA installer ran and everything went fine with the installation... Or so it seemed.
After AROMA was done, I was in CWM and rebooted the device and it went into a bootloop. It automatically tried going into recovery (CWM) but that didn't work.
I finally got into HBoot and tried using fastboot from my windows 8 PC but for some reason Command Prompt couldn't detect my phone using fastboot or ADB! So now I have a bootlooped HTC One which isn't being detected while running fastboot and cannot open recovery either.
Anyone know what to do?
ShanayAbbas said:
Hey guys,
I have an HTC One running Android Revolution HD and while upgrading to version 30 I chose full wipe. AROMA installer ran and everything went fine with the installation... Or so it seemed.
After AROMA was done, I was in CWM and rebooted the device and it went into a bootloop. It automatically tried going into recovery (CWM) but that didn't work.
I finally got into HBoot and tried using fastboot from my windows 8 PC but for some reason Command Prompt couldn't detect my phone using fastboot or ADB! So now I have a bootlooped HTC One which isn't being detected while running fastboot and cannot open recovery either.
Anyone know what to do?
Click to expand...
Click to collapse
I don't know how to delete this thread but I've resolved the problem. I finally managed to access fastboot (windows 8 seems to have a problem with fastboot) and flashed TWRP... Then I flashed my old ROM and everything's okay.
I'm having a similar issue! Except I was able to get into fastboot and flash a new recovery but it's still looping.
Fixed it, had to clear the cache using "fastboot clear cache" but now I'm having trouble accessing the sd card in recovery. It says "Can't mount/ sdcard"
Same problem here
BerryCrunch said:
I'm having a similar issue! Except I was able to get into fastboot and flash a new recovery but it's still looping.
Fixed it, had to clear the cache using "fastboot clear cache" but now I'm having trouble accessing the sd card in recovery. It says "Can't mount/ sdcard"
Click to expand...
Click to collapse
Have you resolved this issue? I'm having the same problem with my phone.
BerryCrunch said:
I'm having a similar issue! Except I was able to get into fastboot and flash a new recovery but it's still looping.
Fixed it, had to clear the cache using "fastboot clear cache" but now I'm having trouble accessing the sd card in recovery. It says "Can't mount/ sdcard"
Click to expand...
Click to collapse
How do you "Fastboot Clear Cache"?
racosta201045 said:
How do you "Fastboot Clear Cache"?
Click to expand...
Click to collapse
the correct command is
fastboot erase cache
it's always done after flashing recovery
Hi guys,
Need ur help..i have got my device relocked from revo hd rom..now i cannot go into recovery and stuck in bootloader
Pls help
This is what i get and im.not sure how to.move forward coz this phone was just given to me and i need to flash to stock to claim warranty for the purple tint issue
{
"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"
}
cynd_05 said:
Hi guys,
Need ur help..i have got my device relocked from revo hd rom..now i cannot go into recovery and stuck in bootloader
Pls help
This is what i get and im.not sure how to.move forward coz this phone was just given to me and i need to flash to stock to claim warranty for the purple tint issue
Click to expand...
Click to collapse
whats with the OS version ? 2.x.707.x
is it an AT&T phone ?
clsA said:
whats with the OS version ? 2.x.707.x
is it an AT&T phone ?
Click to expand...
Click to collapse
Nope it's an asia unit, from singtel. I need help on how I can boot up normally so I can get the purple tint issue repaired under warranty. I might have messed up everything after trying to restore to stock

Root, How do adb fastboot commands work? need help

Hello, I am student at my university studying Computer Science. I work in tech support at my school. This is the first time I have modified the android os. The community on xda has been really helpful and knowledgeable. I have created an account to see if anyone else has done the same thing I have. Anyway read below for my post.
I am trying to change the recovery on my phone to twrp. Let me start out by saying I rooted my phone before on build number 130 (KIW-L24,Android 5.1,EMUI 3.1,C567B130,United States, Channel-Others). I used the instructions here and it worked http://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190.
I then decided to update through the huawei updater to build number 151 (KIW-L24, Android 5.1, EMUI 3.1, C567B151, United States, Channel-Others). It eventually got to a black EMUI menu with installing 0%. So I powered it off even though it warned against it. So my phone was bricked so I followed instructions at http://forum.xda-developers.com/honor-5x/help/bricked-honor-5x-t3328308 and my phone worked again.
Okay so now I want to root my phone so I follow the instructions for rooting. Problem is that I can not replace the EMUI recovery with twrp recovery. I am guessing that it may be because 151 is a security update.
I use these commands on adb with the twrp_kiwi.img in my adb folder(named .android by default)
adb reboot bootloader
fastboot flash recovery twrp_kiwi.img
fastboot reboot
adb reboot recovery
So I wanted to see if I could put the old firmware back so I followed the instructions for bricked device. But the fastboot commands don't seem to do anything with the .img files.
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot
Yea so I am lost as to why fastboot commands arent working as it says finished and any advice would be appreciated.
Also is it possible to format the phone similar to a pc and use adb to flash the firmware back on.
I want to eventually backup my phone and put cyanogenmod on it.
... I am guessing that it may be because 151 is a security update
Click to expand...
Click to collapse
If your bootloader is unlocked, you should be able to flash what you want.
Have you tried reinstalling the Android device drivers on your PC?
JT-on said:
If your bootloader is unlocked, you should be able to flash what you want.
Have you tried reinstalling the Android device drivers on your PC?
Click to expand...
Click to collapse
{
"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"
}
Arobase40 said:
Is this really for a private use unless you are trying to ask us to do your university exercises for you ? LOL
And as you felt need to mention "I am student at my university studying Computer Science. I work in tech support at my school.", you should know first University mission is to teach you to search and exercise by yourself, to do things step by step and to guess by yourself what was wrong. ^^
Just one tip and advice : read up your own post carefully and you should find out what you've done wrong...
Click to expand...
Click to collapse
That was just background information unrelated to my post. I am currently trying to see if I can put the old firmware back to see if it fixes the problem.
honor5x_student said:
That was just background information unrelated to my post. I am currently trying to see if I can put the old firmware back to see if it fixes the problem.
Click to expand...
Click to collapse
TWRP works just fine on B151
plug in usb / Shut down the phone
boot to the bootloader (power + vol down)
open command prompt on PC
fastboot flash recovery twrp_kiwi.img
hold volume up + volume down + power till you see TWRP (about 14 seconds)
In TWRP choose reboot / recovery
Say yes to Root
recovery will reload / flash your rom
If you want to return to Stock use this >> https://www.androidfilehost.com/?fid=24459283995315154
instructions are in the zip

Unable to install TWRP on the 4x Mido

hey so, as the title says, i'm currently unable to install the recovery on my phone and have been trying for the past 3 hours or so now :/
Phone's unlocked, adb and fastboot are working ecc.
but whenever i try to flash the TWRP recovery or even boot it i get the FAILED (remote: 'size too large') error and idk what to do about it.
It worked weirdly with the nikel recovery but even then it installed badly and wouldnt let me flash mido roms for whatever reason and yes im 100% sure my phone is a 4x with a snapdragon.
Thanks to anyone that replies and tries to help
biggestpoyo said:
hey so, as the title says, i'm currently unable to install the recovery on my phone and have been trying for the past 3 hours or so now :/
Phone's unlocked, adb and flashboot are working ecc.
but whenever i try to flash the TWRP recovery or even boot it i get the FAILED (remote: 'size too large') error and idk what to do about it.
It worked weirdly with the nikel recovery but even then it installed badly and wouldnt let me flash mido roms for whatever reason and yes im 100% sure my phone is a 4x with a snapdragon.
Thanks to anyone that replies and tries to help
Click to expand...
Click to collapse
Describe how are you trying to flash the file, like using cmd window or mi flash tool or by already rooted phone?
Ebebeeh said:
Describe how are you trying to flash the file, like using cmd window or mi flash tool or by already rooted phone?
Click to expand...
Click to collapse
So, downloaded the ADB and Fastboot tools, downloaded TWRP, went to the CMD and changed the directory to the adb.
From here i just used the adb reboot bootloader command to get into the fastboot.
Next i used the fastboot flash recovery x.img command to try to flash it but didnt work simply giving me a "FAILED (remote: 'size too large')" on the last part.
I even tried the fastboot boot x.img command.
Also yes when i said flashboot prieviously i meant fastboot mb
{
"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"
}
biggestpoyo said:
So, downloaded the ADB and Fastboot tools, downloaded TWRP, went to the CMD and changed the directory to the adb.
From here i just used the adb reboot bootloader command to get into the fastboot.
Next i used the fastboot flash recovery x.img command to try to flash it but didnt work simply giving me a "FAILED (remote: 'size too large')" on the last part.
I even tried the fastboot boot x.img command.
Also yes when i said flashboot prieviously i meant fastboot mb
Click to expand...
Click to collapse
Which rom are you using currently? If it is android nougat based then read below, if higher the commands are a bit different I guess,
That is the same way i did it but it might be cause you are flashing wrong recovery.
Try this one :-
https://dl.twrp.me/mido/twrp-3.3.1-0-mido.img
Let me know if it works.
Ebebeeh said:
Which rom are you using currently? If it is android nougat based then read below, if higher the commands are a bit different I guess,
That is the same way i did it but it might be cause you are flashing wrong recovery.
Let me know if it works.
Click to expand...
Click to collapse
I'm using the MIUI global 10.2.1 so marshmellow but yeah, i've been trying that img along with older versions and what not but it just keeps giving the same error for whatever reason
Ebebeeh said:
Which rom are you using currently? If it is android nougat based then read below, if higher the commands are a bit different I guess,
That is the same way i did it but it might be cause you are flashing wrong recovery.
Try this one :-
https://dl.twrp.me/mido/twrp-3.3.1-0-mido.img
Let me know if it works.
Click to expand...
Click to collapse
Try using mi flash tool with the same image file, you will find the tool on their official website.
biggestpoyo said:
I'm using the MIUI global 10.2.1 so marshmellow but yeah, i've been trying that img along with older versions and what not but it just keeps giving the same error for whatever reason
Click to expand...
Click to collapse
You have MTK variant (Nikel) and trying to flash Snapdragon (Mido) TWRP.
updated to 11.0.2 MIUI and root disapeared , using ADB for TWRP installing , everything goes ok, but after command fastboot reboot , when phone reboots, there is no TWRP , only standart recovery, What I am doing wrong?

Question TWRP Wont Install

Hi Folks,
I have a Xiomi Note 10 (camellian), unlocked and has USB Debugging switched on.
No matter what I do, I can't install TWRP or Orangefox because it fails with "FAILED: Too Many Links"
I've followed so many guides on how to fix this and they all fail. I tried to flash the stock rom with Mi Flash and that failed too (Constant "Unhandled exception" error as it doesnt seem to want to install drivers and wont continue without them). I've manually updated the ADB drivers for the Note and that worked fine. Mi Pc Suite doesnt recognise my phone unless i "Update your phone before you connect" (The phone is fully updated)
Please, for the love of the baby jesus and the little donkey, tell me what I can do to try and figure out what the smeg is going wrong
EDIT:
Ive changed ports/cables, tried compatibilty on programs, reinstalled ADB drivers
trying "fastboot flash boot recovery.img" (for orange fox) throws up "FAILED: remote: size too large"
hellfirehound said:
Hi Folks,
I have a Xiomi Note 10 (camellian), unlocked and has USB Debugging switched on.
No matter what I do, I can't install TWRP or Orangefox because it fails with "FAILED: Too Many Links"
I've followed so many guides on how to fix this and they all fail. I tried to flash the stock rom with Mi Flash and that failed too (Constant "Unhandled exception" error as it doesnt seem to want to install drivers and wont continue without them). I've manually updated the ADB drivers for the Note and that worked fine. Mi Pc Suite doesnt recognise my phone unless i "Update your phone before you connect" (The phone is fully updated)
Please, for the love of the baby jesus and the little donkey, tell me what I can do to try and figure out what the smeg is going wrong
EDIT:
Ive changed ports/cables, tried compatibilty on programs, reinstalled ADB drivers
trying "fastboot flash boot recovery.img" (for orange fox) throws up "FAILED: remote: size too large"
Click to expand...
Click to collapse
i see none TWRP and O.F for camellian, can you post the links +Miflash log?
The TWRP is unofficial https://forum.xda-developers.com/t/unofficial-twrp-camellia-camellian.4304717/
There is no MiFlash log anywhere. Sorry im new to this
I think I need to flash the original rom before trying to install a recovery rom
hellfirehound said:
The TWRP is unofficial https://forum.xda-developers.com/t/unofficial-twrp-camellia-camellian.4304717/
There is no MiFlash log anywhere. Sorry im new to this
Click to expand...
Click to collapse
The Mi Flash logs are in the Miflash Log folder (post the last + or - 20/22ko
This twrp seems not to work (closed thread).
Try the command: fastboot boot twrp.img
The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP
And what do you want to do with the TWRP, your device has a Mediatek soc and there is little or no development for Xiaomi with a Mediatek soc.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
{
"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"
}
It looks like a mediatek device.
Never Mind, ill keep the phone as is. Thanks for trying to help
Download and extract to the root of the disk.C:/platform....
https://developer.android.com/studio/releases/platform-tools
rename the Twrp to twrp.img
Put it in the Platform tools folder
Execute the command from this folder
Since no custom is available for your phone I guess you want to update or downgrade for these 2 cases use Miflash not TWRP.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
this error
is frequent with certain version of W10.
Disable driver verification.
.

Question ADB Problem

Hello guys can someone help me on my redmi note 10,
So basically my problem is adb can detect my phone when its power on but when my phone switches to fastboot adb cannot detect it anymore. I also try the adb reboot bootloader command, it work and it go to fastboot but after that it didnt detected anymore.
Please help me.
{
"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"
}
I'm not sure, but it looks like you need install usb/device drivers from MiFlash.
And after, try enable/allow usb debugging
missingN said:
I'm not sure, but it looks like you need install usb/device drivers from MiFlash.
And after, try enable/allow usb debugging
Click to expand...
Click to collapse
i already tried that still the same
@ibanezred16 May be you missing add Environment Variables path?
Adb-fastboot PE guide
ibanezred16 said:
...when my phone switches to fastboot adb cannot detect it anymore. ...
Click to expand...
Click to collapse
This is intended behavior, if your phone is in fastboot mode it can only be detected by fastboot (try command 'fastboot devices'). Devices can only be detected by adb in recovery when sideload is enabled or in OS with debugging on.
Mthw said:
This is intended behavior, if your phone is in fastboot mode it can only be detected by fastboot (try command 'fastboot devices'). Devices can only be detected by adb in recovery when sideload is enabled or in OS with debugging on.
Click to expand...
Click to collapse
sorry im new here, can you tell me a way to flash the twrp? because the regular method don't work with me
ibanezred16 said:
sorry im new here, can you tell me a way to flash the twrp? because the regular method don't work with me
Click to expand...
Click to collapse
What do you mean by regular method? This should work: 'fastboot boot twrp.img' and once it boots up go to Advanced and there is an option called 'flash current recovery'.
Mthw said:
What do you mean by regular method? This should work: 'fastboot boot twrp.img' and once it boots up go to Advanced and there is an option called 'flash current recovery'.
Click to expand...
Click to collapse
that's also one of my problem when it boots to twrp the touch screen is not working can't touch or click anything when im in twrp
Are you using this one? https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4268563/ Either way you should probably ask there.
Mthw said:
Are you using this one? https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4268563/ Either way you should probably ask there.
Click to expand...
Click to collapse
yes, thank you very much for your help
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Mthw said:
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Click to expand...
Click to collapse
yeah im trying to install Evox
Mthw said:
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Click to expand...
Click to collapse
Im succesfully installed twrp I used mouse via otg connector to touch the screen

Categories

Resources