Backing up stock firmware - Xiaomi Redmi Note 3 Questions & Answers

How to backup stock firmware on twrp as i backup stock firmware on twrp n when i want to restore it gives error encryption failure need to reset your phone, am i doing anything wrong in backing up

no need to restore. if u install a custom rom over miui, the miui's firmware partition will not be removed/deleted. u only wipe system+data+cache+dalvik, firmware partition remains the same as before

Encrypt with flash oficial roms. Never use oficial roms.
To solve go to twrp, in wipes menu chose format data partition in ext4.
Use always xiaomi.eu roms.

Related

Unable to install resurrection remix5.8.4

Hi,
I recently unlocked my bootloader after a really long time. I then proceeded to flash twrp and then flashed superSU and rooted my phone. I took a backup of my rom and then proceeded to install RR 5.8.4. I was given a error 7. Tried this method (https://forum.xda-developers.com/showthread.php?t=2522762) but then it gave me a error 6. Would someone help me out ?
Thx.
1) flash latest global developer MIUI ROM via MiFlash to updated firmware and to reset things if they messed up (watch out if you lock your bootloader while flashing, choosing the wrong .bat file);
2) after flash TWRP via fastboot;
3) boot TWRP and "advanced wipe" ALL partitions (except MicroSD if you have a MicroSD inserted and you want to keep its data);
4) reboot to recovery and install the RR .zip file (and the gapps .zip file if you use it);
5) after you boot into RR, you can then reboot to TWRP and install Magisk .zip to get root and other nice things.
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
If you've TWRP installed at the moment then try this :
Boot to TWRP
Take a nandroid backup (just incase)
Wipe > advanced wipe > swipe to confirm
Flash firmware if you're coming from marshmallow based MIUI
Flash ROM & Gapps
Reboot
If you still get errors, probably corrupted zip. Try Re-downloading the zip.
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
You can try. Remember that if you download the full MIUI ROM, you should follow this guide http://en.miui.com/a-234.html
You can also upgrade the firmware without downloading the full ROM, from here https://forum.xda-developers.com/re.../firmware-firmware-update-2017-08-04-t3651537
Will try soon and reply
Even after flashing the firmware, i get the same error 7
I have downloaded this rom (https://www.google.co.in/amp/s/foru...nt/rom-resurrectionremix-5-8-2-t3567023/amp/) and flashed twrp using this guide (http://en.miui.com/thread-536180-1-1.html)
Maybe this is a stupid question, but your phone has MediaTek chipset or Qualcomm chipset?
I'm pretty sure it is qualcomm as the cpu speed is 2.0ghz
Now, i get this error and status error 7.
What should i do?
Where you can format all partitions, you can fix them too.
It looks like your /data is using f2fs, you should fix it converting the partition in ext4 (in official TWRP it's not possible to use f2fs).
Check all partitions, not only /data, to be formatted as ext4
So, what r the steps i should follow?
And btw, is there any unofficial twrp which i could use?
Enter TWRP, choose Wipe > Advanced Wipe
Check the box for "data"
Tap "change or repair file system"
Tap "Change file system"
Tap "ext4"
Swipe the button
Repeat for other partitions
I don't know if there are unofficial TWRP that support f2fs. Probably they exists, but you should also check if the default RR kernel supports f2fs, else you have to flash a custom kernel that supports f2fs.
Just one important question. During this process, if something weird happens ( like i get my phone soft bricked) and i got a nandroid backup. Will i be able to flash it successfully using twrp?
Yes, changing file system is a pretty safe operation (except for the erasing of the data inside the partition, as a normal format).
Flashing the backup or a full fastboot image will reset things back.
But it already shows it as ext4
Oh mahn, it still doesn't resolved?
Flash official TWRP via fastboot mode, skip this step if your already on official TWRP
Boot to TWRP
Wipe
Flash cm14.1 mido firmware
Flash Rom
Flash Gapps
??
Reboot
Note that, you should try Re-downloading all the things, like Rom / Gapps
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
shalom170401 said:
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
Click to expand...
Click to collapse
Yeah man, that's what I'm saying, you should try installing cm14.1 firmware first, then Rom..
Even after flashing the firmware, i get the same errors

OTA update/upgrade vs flash custom ROM

After the stock firmware OTA update/upgrade, the user installed apps and other data will still there left intact.
Why the necessary to wipe /data when flash a custom ROM?

Can't fully restore TWRP backup vendor partition structure needs cleaning

Hi,
I tried to uninstall the security package in stock MIUI Rom, however I started getting bootloops after that. I made a TWRP backup just before trying this out, so I tried to restore it. However even after restore I'm still getting bootloops.
Then I tried to Wipe everything, however TWRP reports error can't mount vendor partition (structure needs cleaning). I can't mount Vendor either in Mounts. It could be restore operation is unable to bring back vendor partition that is why it is still failing ?
What can I do to fix it ? I still would want to restore my backup, don't want to flash another ROM right away..
I'm on stock MIUI 10.2 ROM with official TWRP and Magisk installed.
Apprantly I'm not the only one, it seems TWRP can't properly restore MIUI roms

Forgot to flash DFE, can I flash/restor backup without encryption and remain decrypte

So I just updated my firmware and ROM (RR) and forgot to flash FED/DFE. I have a backup on SD card of previous vendor and ROM img etc. Can I wipe everything and restore that backup, will it be decrypted?
Then proceed to flash updates, this time using FED, will that work? I don't really want to be encrypted...
Cheers
So I managed to flash the old (unencrypted) backup, then re-flashed the new vendor and ROM and hey presto, no more encryption. (just to make sure, I wiped everything then formatted to remove encryption, then flashed backup followed by DFE again, just to be sure)

How to switch between different kernels?

Hell guys!
I recently started flashing custom roms found in the rom section and I'm currently on latest pixel experience Build.
Next I want to flash custom kernels and see how it goes but since I'm fairly new to all this I want to make sure I'm doing it right.
1. So what's the safest way to switch different kernels while being on custom rom such as PE, lineage etc?
2. What's the procedure for flashing these custom kernels through twrp?
3. How to take backup of the current stock kernel that comes with this (PE) Rom and restore safely in case of bugs without losing previous apps/settings/data or causing bootloops, soft bricks etc?
Thank you for your time.
before you flash anything backup your Rom first
(by Boot data system vendor in custom recovery)
Do clean install by Wipe dalvik cache and cache and flash the kernel
Backup:
Backup /boot partition using twrp, this contains the currently installed kernel and ramdisk.
Installation:
Flash the kernel zip, no need to wipe anything.
Restore:
Restore the boot partition you made earlier in twrp.
If you don't have a backup, you can dirty flash your currently installed ROM, this will restore the roms stock kernel and also uninstall magisk which you can reflash.

Categories

Resources