Adding support for encrypted /data partition into TWRP - Honor 5X Questions & Answers

Is it possible to make a build of TWRP with support for encrypted /data partitions in TWRP? Currently, if the phone is encrypted, and I want to flash a new nightly of CM 13, then I can't wipe the dalvik cache from TWRP.

If u can't wipe dalvik cache from twrp when data is encrypted , then just do this .
After your phone is booted , open any root file explorer (ES / root explorer) .
Navigate to data/dalvik-cache .
Delete full dalvik-cache folder and reboot .
Make a backup before doing this , being data encrypted , it may result in bootloops too
Sent from my KIW-L22 using XDA-Developers mobile app

That's what I ended up doing, but it would be better if that could be done through TWRP itself, to make sure there are no side effects.

Related

Using CWM formats before flashing new roms?

Hi
When you want to do a clean install of Windows OS, you all know that the right way to go is to format the primary partition first..
I was wondering: why can't we do the "same" in Android?
I've noticed that in CWM recovery there are many format options in addition to just doing Wipes...
So what if instead of doing the old Wipe data/cache and factory reset before flashing new rom, especially when migrating from Sammy to AOSP, we use the FORMAT function of the CWM recovery console?
So this bring up my new line of questions:
Which Formats are safe (as in terms of not bricking only, since we all know that we must backup first)?
Is Format data safe and recommended before flashing?
Is Format system safe and recommended before flashing?
Is Format SD card safe and recommended before flashing?
Does Format system erases the entire OS, meaning the ROM with it's kernel? If kernel is wiped does it mean that CWM will be lost upon next boot?
Same goes for Format SDCARD. Will this erase the entire internal memory? So the new ROM.ZIP should be placed in the external SD first?
I'd really appreciate if someone could answer all of the above questions
Many thanks
EB
If you don't have bad chip then all are safe. If you have bad chip then make sure you have safe kernel.
General steps before flashing a new ROM.
1. Backup your present ROM just incase
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII
Jokesy said:
General steps before flashing a new ROM.
1. Backup your present ROM just incase
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
Thanks
Just 2 more questions:
1. what about format Format SDcard (internal)? Is it also safe/recommended? What does it do exactly?
2. can any of the the above formats delete the IMIE? Where i it stored? On internal SDcard? Will formatting it delete it?
Thanks
EB10000 said:
Thanks
Just 2 more questions:
1. what about format Format SDcard (internal)? Is it also safe/recommended? What does it do exactly?
2. can any of the the above formats delete the IMIE? Where i it stored? On internal SDcard? Will formatting it delete it?
Thanks
Click to expand...
Click to collapse
Formatting the Internal Sd card wipes all your data (music, photos, videos) on the internal memory of the phone.
Doing all those wipes doesnt affect the IMEI as far as I know...
Sent from my Galaxy S2 GT i9100
EB10000 said:
Thanks
Just 2 more questions:
1. what about format Format SDcard (internal)? Is it also safe/recommended? What does it do exactly?
2. can any of the the above formats delete the IMIE? Where i it stored? On internal SDcard? Will formatting it delete it?
Thanks
Click to expand...
Click to collapse
1. You're first question has been answered in the post before mine.
2. About IMEI:
-Your IMEI is stored in your root folder /efs inn your system reserved partition.
-Flashing Roms and kernel shouldn't mess with this folder but sometimes it happens.
-most of the Roms Agnes kernels made by recognized developers will backup your efs folder before flashing.
-too be on a safer side though, you can visit the thread below to backup your efs (imei) folder yourself before messing with your phone.
Look here: forum.xda-developers.com/showthread.php?t=1308546
Swyped from my Samsung Galaxy SII
Jokesy said:
1. You're first question has been answered in the post before mine.
2. About IMEI:
-Your IMEI is stored in your root folder /efs inn your system reserved partition.
-Flashing Roms and kernel shouldn't mess with this folder but sometimes it happens.
-most of the Roms Agnes kernels made by recognized developers will backup your efs folder before flashing.
-too be on a safer side though, you can visit the thread below to backup your efs (imei) folder yourself before messing with your phone.
Look here: forum.xda-developers.com/showthread.php?t=1308546
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
Thanks again
My problem is that I keep thinking in MS Windows terms.. I was sure that "Format SDCARD" is the parallel to formatting the entire "Hard drive", just like to delete the system partition..
Know let me see if I got everything right:
Format system is like deleting the Windows folder - no more OS (ROM)
Format data is like deleting all user account = deleting the "Programs data" folder in Windows - no more app data
Formatting SDCARD is like deleting the "Users" folder including "my documents" - no more user private data
So by using the 3 above formats, there is no need to do a Factory reset. But what about Wipe cache and Dalvik? shouldn't System format take care of those two caches? Or perhaps Cache and Dalvik are to separate partitions?
And for the few last question, so I can finally declare myself an Android expert :
(1) Format boot is a very bad idea right? It will delete the bootloader, meaning one must flash a rom that includes one of it's own?
(2) Are all roms intended for CWM flashing come with their own boot partition?
(3) So if Format boot is risky, I can conclude that the CWM recovery must be part of the boot partition right?
Many thanks for all the help. Once I get all of this right, I will feel confidant to start flashing roms on my own for the first time (I already got my phone rooted and CWMed by flashing Siyah kernel using Odin
EB10000 said:
Thanks again
My problem is that I keep thinking in MS Windows terms.. I was sure that "Format SDCARD" is the parallel to formatting the entire "Hard drive", just like to delete the system partition..
Know let me see if I got everything right:
Format system is like deleting the Windows folder - no more OS (ROM)
Format data is like deleting all user account = deleting the "Programs data" folder in Windows - no more app data
Formatting SDCARD is like deleting the "Users" folder including "my documents" - no more user private data
So by using the 3 above formats, there is no need to do a Factory reset. But what about Wipe cache and Dalvik? shouldn't System format take care of those two caches? Or perhaps Cache and Dalvik are to separate partitions?
And for the few last question, so I can finally declare myself an Android expert :
(1) Format boot is a very bad idea right? It will delete the bootloader, meaning one must flash a rom that includes one of it's own?
(2) Are all roms intended for CWM flashing come with their own boot partition?
(3) So if Format boot is risky, I can conclude that the CWM recovery must be part of the boot partition right?
Many thanks for all the help. Once I get all of this right, I will feel confidant to start flashing roms on my own for the first time (I already got my phone rooted and CWMed by flashing Siyah kernel using Odin
Click to expand...
Click to collapse
1) As far as I know, the boot partition is reserved for kernel. So, if you format it, phone won't be able to boot further than the initial Sgs2 logo. But it will still be flashable in Download mode.
2) If kernel is a part of boot partition, and most roms come with their own kernels, the you could say that the come with their own boot data.
3) If you format boot, you will also loose Cwm as it is a part of the kernel. Download mode would be still accessible as it is a part of the (secondary) bootloader which can be only overriden with Odin.
But again, I'm not 100% sure about this.
Sent from my Galaxy S2 GT i9100
Thanks
Jokesy said:
General steps before flashing a new ROM.
1. Backup your present ROM just incase
1. Wipe data/ factory reset
2. Wipe cache partition
3. Wipe dalvik cache (under advanced)
4. Format /system (under mount)
5. Flash your desired Rom/zips
6. Fix permissions (under advanced)
Notes:
- If you are moving from from an AOSP ROM to Samsung (vice versa), perform all the steps above.
- If you are upgrading / downgrading from one android version to another e.g ICS to jellybean or 4.0.3 to 4.0.4, also perform all the steps above.
- If you are upgrading from a Samsung ROM to another wipe the same android version, you may skip step 1.
- if you are upgrading your Aosp/aokp Rom with another with the same android version e.g 4.0.4 Aosp to 4.0.4 aokp, you may also skip step 1.
*******Important******
If you are presently running a Samsung based 4.0.4 Rom that is using Samsung based kernel e.g CF-ROOT or stock kernel, please flash Siyah kernel before performing any of the above steps. You will end up with ash unusable device if you don't adhere to this important information.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
You saved a noob a whole lot of troble:cyclops:
I want to erase all my previous data in internal storage. More specifically, erase the OS and data (app data, user data, media, etc), then I'm gonna flash new ROM.
But of course, I don't want to erase boot system and recovery system.
1. Can I do above by using CWM - Mounts : format /sdcard ?
2. Does format /sdcard include format /system, /data, /cache, and wipe dalvik cache?
3. Is format /sdcard safe to do?
The answer !!!
immanuel77 said:
I want to erase all my previous data in internal storage. More specifically, erase the OS and data (app data, user data, media, etc), then I'm gonna flash new ROM.
But of course, I don't want to erase boot system and recovery system.
1. Can I do above by using CWM - Mounts : format /sdcard ?
2. Does format /sdcard include format /system, /data, /cache, and wipe dalvik cache?
3. Is format /sdcard safe to do?
Click to expand...
Click to collapse
I've found the answer here:
http ://www .addictivetips. com/mobile/android-partitions-explained-boot-system-recovery-data-cache-misc/
(eliminate all spaces, as I cannot post URL yet)
Now we know what to wipe or format (and what to not format)
immanuel77 said:
I want to erase all my previous data in internal storage. More specifically, erase the OS and data (app data, user data, media, etc), then I'm gonna flash new ROM.
But of course, I don't want to erase boot system and recovery system.
1. Can I do above by using CWM - Mounts : format /sdcard ?
2. Does format /sdcard include format /system, /data, /cache, and wipe dalvik cache?
3. Is format /sdcard safe to do?
Click to expand...
Click to collapse
To install a new rom, you don't have to wipe the internal sdcard, just wipe data & cache and navigate to advanced and wipe dalvik cache, and then to mount and format system, then flash your rom, or use TWRP it's easier, press wipe then advanced wipe and mark (data, cache, dalvik cache, system) and swipe to wipe, then flash your rom.
Ps: all app data is removed from internal storage (data in sdcard\android) when you wipe data, so you don't have to wipe internal storage

[ROM L7 II] P714 rooted

Hi mates i made a flashable.zip for CWM recovery based of the ISR/ISRAEL V20A firmware
It has all the same things of the KDZ file i just extracted a rooted it.
INSTALLATION:
MAKE A NANDROID BACKUP OF YOUR CURRENT ROM AND APPS,RECOVERY,TITANIUM BACKUP ETC
Go into CWM recovery
then go to :
Mounts and Storage
mount /data
mount /sdcard
mount /system
under that options select this ones:
format /cache
format /data
format /system
go back to the main menu
then wipe Cache partition
after that go to advanced and wipe dalvik cache
go back to main menu then
wipe data/factory reset
Install Rom from SDCARD
after installation its completed wipe cache and dalvik cache again
Restart the phone.
Go to superSU app
it will show a warning telling you that something its wrong with the SU access.
Reboot into CWM and flash the SuperSU providen by chainfire.
http://download.chainfire.eu/396/SuperSU/
Reboot the phone then superSU app should be gone from the app drawer,just reinstall it from google play and update the binaries via normal mode.
Reboot the phone again ,now you wil have complete root access
also dont forget to disable MLT from hidden menu,just dial:
3845#*714#
DONE :good:
DOWNLOAD:
https://mega.co.nz/#!rUwkEYDD!QIQlPGO9ctfazAQ_HhqTDmt0vkDy5VBsXTiFD7-ndWU
P.S. PLEASE DONT REUPLOAD THE ROM TO ANOTHER HOST BECAUSE I TAKE A COUNT OF THE DOWNLOADS,PLEASE,AND THANKS.
Have a nice day,evening,etc
Dont work the phone calls :/
MarcosJoeel said:
Dont work the phone calls :/
Click to expand...
Click to collapse
Flash this zip
http://forum.xda-developers.com/showpost.php?p=56661337&postcount=177

Question about deleting partitions and boot

Hi!
- I have LG G2 mini D620r with stock 5.0.2 Android. Phone has unlocked bootloader, is rooted and TWRP 3.0.2 recovery is flashed.
Few days ago I installed CM13 just to try it and then returned to stock OS. Before flashing custom ROM i used to wipe dalvik, system, data and cache partitions. Now my question is what would happen if I add interal memory partition to list of 4 aforementioned partitions? I know that it would delete all the data in internal memory (and that's what I want to do, because I want my phone to be like it was before it was used for the first time), but would it be able to boot up to OS? I don't won't to flash a kdz file or something like that.
- Also, I can't seem to enter recovery through button combination. I tried all combinations I could find on the internet. When holding volume down + power button for a few seconds i gat an option to hard reset the phone. Only way to get into TWRP is to use QuickBoot app. Anyone having any ideas what could I do?
Triggering a hard reset with a custom recovery installed boots into that recovery.
Wiping internal memory will wipe everything under /sdcard. Not the external one. The built-in one.
To do a complete factory reset, in recovery choose /data and format it as ext4. Don't simply wipe it, or it will leave everything under /sdcard there, while a format will delete them.
Sent from my LG-D620 using XDA Labs
Vagelis1608 said:
Triggering a hard reset with a custom recovery installed boots into that recovery.
Wiping internal memory will wipe everything under /sdcard. Not the external one. The built-in one.
To do a complete factory reset, in recovery choose /data and format it as ext4. Don't simply wipe it, or it will leave everything under /sdcard there, while a format will delete them.
Sent from my LG-D620 using XDA Labs
Click to expand...
Click to collapse
Well you just keep on helping!
Thanks.
Just to be clear these are the steps:
TWRP> Wipe> Advanced Wipe> select partitions: Dalvik, Data, Internal Storage, Cache, System
After that I go to:
TWRP> Wipe> Format Data> type yes
Is that correct procedure?
After all this has been done will my phone boot up to stock Android 5.0.2 or would I have to flash some kdz or custom ROM?
Where can I find option to format /data partition as ext4?
1. Yes your steps are correct.
2. Your phone will not boot up to Android because you don't have ANYTHING on your phone. You just wiped the rom that was running on it. There are a few threads that have flashable stock Android that you can use. Worst case scenario you can always flash kdz. HERE under Custom Rom>lollipop you will see links to [stock] zips.
3. Pretty sure formatting data will format it by default to ext4.
mobiusm said:
1. Yes your steps are correct.
2. Your phone will not boot up to Android because you don't have ANYTHING on your phone. You just wiped the rom that was running on it. There are a few threads that have flashable stock Android that you can use. Worst case scenario you can always flash kdz. HERE under Custom Rom>lollipop you will see links to [stock] zips.
3. Pretty sure formatting data will format it by default to ext4.
Click to expand...
Click to collapse
Thank you. I'm gonna try that and see how it works.

[FIX] How to solve "unable to mount data" error

Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
aleksandar9999a said:
I had this problem, but not always just formatting helps. First time when I install LOS 15.1 I didn't format internal storage then LOS crypt my storage and TWRP couldn't mount it and I can't just format it, I have error when I try to format it in ext4 by default. Then I try to format it to another file system and select ext2. TWRP succesful format data and then I select again to format it to ext4 and install other rom. I don't know why first time TWRP couldn't format data.
I use google translate. Sorry if I have misspellings
Click to expand...
Click to collapse
I didn't just suggest to format anything...
The important thing is to reflash twrp via fastboot.
The point is that after doing this you might even be able at all again to format data...
If you follow the further steps I think you're good to go and don't need to change any file system.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
Thats because maybe on a backup you select another storage that nota the internal storage....maybe you select otg storage ir something....put the selection on Internal storage....and it resolves
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Stonner_99 said:
I've same problem in my redmi note 4 (mido). I tried the same but it not works.
After update of resurrection remix oreo (30-05-2018), I unable to install any zip through twrp.It shows "unable to mount /vendor". I also search for vendor partition in mount menu but I cant found any options for it.
If you found any solution plz tell me......... thanks
Click to expand...
Click to collapse
me either, my problem. RRD. pls anyhelp?
Hutabarat said:
me either, my problem. RRD. pls anyhelp?
Click to expand...
Click to collapse
Hi, I had the same problem. (Redmi Note 4, Mido)
But after installing RedWolf (Build 27)
with adb/fastboot and everything works fine - without formating everything.
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
solution about unable to mount data on s7 edge
Hi,
Make sure to do a backup of your data, all data will be erased
after many attempts to find the solution
i tried to go to recovery latest twrp:
go to wipe
select data
for me i choosed ext3 and make repair
than i select Fat and again ext3
you can choose another file system
Thank you
Thanks this worked for me
This is the best answer to solve the problem:
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Thanks to you I was able to recover my wife's Redmi 5. Cheers :good:
could not mount data and unable to find crypto error
Good morning guys im using Xiaomi Redmi note 4x(mido) i installed LineageOS 15.1 then the gapps, but the google photos and other google apps keep crashing and recommended me to uninstall and install again. so i wen to twrp and installed the gapps again, then it keeps crashing again. so what i did is to wipe in twrp then installed linneage and the gapps but when rebooting it asked my password then after than i can't no longer boot it keep sayingf could not mount/data and unable to find crypto. i tried all the steps and fix i found here and in other sites but it does not work when i try changing it to other file system it says mke2fs -t ext3 -b 4096 /dev/block/mmcblk0p49, and error 64. Please help thank you
Still not able to mount storage.
Phil_Smith said:
Hey,
recently many are facing the problem to suddenly receive the above error and aren't able to solve it by formatting data (well, it cannot be mounted).
Here are the steps that I suggest in case you find yourself in that situation (obviously all data including internal storage content will be gone afterwards, so make external backups of important stuff if you can before continuing)
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
This helped a few people already, but please comment if it also does (or doesn't) for you!
Cheers and greetings,
Phil the Thrill
Click to expand...
Click to collapse
I tried everything that is:
-changing file system also gives "unable to mount storage " in every format like fat, ext2, ext3, ext4.
-factory reset also gives same error "unable to mount storage"
-I also tried different recovery.
Please someone help me!!!
Wachuwey said:
This worked for me.
- (re-)flash lastest twrp (currently 3.2.1.1) via fastboot
- boot to recovery
- wipe dalvik, cache, vendor, system, data
- format data (the one where you need to type "yes")
- reboot to recovery before flashing anything
- now flash your stuff
I was in Xiaomi.EU 9.3.28 in a "encrypted storage" situation
After messing it up I endend in a situation where I can not mount the data partition.
Follow your steps and now I'm setting up xiaomi.eu 9.5.9 without a problem.
Thank you very much.
Click to expand...
Click to collapse
Format data solved everything. But before format data, you better backup all your files. Because all of it will be erased like new.
Thank you.
CHoozen said:
This maybe can help,
first i enter wipe menu on twrp and advanced wipe, mark data partition then repair or change file system, after that change file system, change to what ever except ext4 (i use ext2 one) then change again to ext 4. Done you get data partition back
*this method will wipe your data on that partition
Click to expand...
Click to collapse
I LOVE YOU!!! U saved me when nothing worked. Ty so much !!
Hey King,
I do not use a Redmi Note 8, yet I had the same problem with my Moto G5 Plus.
Until I read your post and now my phone works.
Thank you!
Hi, i have TWRP 3.6.0 installed on my mi 11 lite (courbet), and then it shows "unable to mount /data". I know, formatting helps, but what to do if i don't want to format it, only i want to update the rom?

How to flash the stock rom on Realme 1 after a custom rom flash

Hi, I used multiple roms and almost all have a few issues mostly with VoLTE, although I love the ROMs and the Devs' work but I need to go back to stock for functionality purposes. Please provide reliable links for stock ROM zip files. Thank you.
Found it
Back up your data first
1. Follow this link select your device and download the ozip
https://realmeupdater.com/
2. Put the ozip in an external drive(Pen Drive or Micro SD)
3. Boot into twrp and format the phone then wipe Dalvik, Cache, System
4. Navigate to the ozip throught twrp and flash it
5. The data might get encrypted post a successful flash so Format data again then wipe Dalvik, Cache, System
6. Reboot into system and there you go.
i_dev_mishra said:
Found it
Back up your data first
1. Follow this link select your device and download the ozip
https://realmeupdater.com/
2. Put the ozip in an external drive(Pen Drive or Micro SD)
3. Boot into twrp and format the phone then wipe Dalvik, Cache, System
4. Navigate to the ozip throught twrp and flash it
5. The data might get encrypted post a successful flash so Format data again then wipe Dalvik, Cache, System
6. Reboot into system and there you go.
Click to expand...
Click to collapse
bro my real me 1 device keep booting into twrp recovery will the above steps work for me ?

Categories

Resources