[ASK] F2FS Convert Failed on Santoni - Xiaomi Redmi 4X Guides, News, & Discussion

[Solved] thx ash975
Hello, I am using latest TWRP 3.2.x ,,, my procedure format all data and after that I am convert ext4 to f2fs but log show cannot mount data (I trying convert data partition to f2fs). I see the data partition is not detected (0mb size). did I make a procedural error while converting to f2fs? if so, what the best procedure?
Sorry my bad english.

Use oreo twrp

ash975 said:
Use oreo twrp
Click to expand...
Click to collapse
I use redwolf TWRP, is it the same as TWRP for oreo?

MattHdH said:
I use redwolf TWRP, is it the same as TWRP for oreo?
Click to expand...
Click to collapse
No, there is twrp by Team Ghost. You can find it on worldGiz blog.

ash975 said:
No, there is twrp by Team Ghost. You can find it on worldGiz blog.
Click to expand...
Click to collapse
Okay thx. Solved.
Anyway,, why system partition always back to ext4? After flashing or restore

MattHdH said:
Okay thx. Solved.
Anyway,, why system partition always back to ext4? After flashing or restore
Click to expand...
Click to collapse
Yes, leave the system EXT4, only data and cache

Related

Successfully Revert back to OOS 3.2.8 (MM) from Open Beta 8 (N)

I installed the N beta and have to say it was not working for me as I had a few bugs with it. There is a way to easily revert back to MM.
Boot into TWRP.
Go to advanced wipe and select everything including system. (This will delete everything including os from your phone)
Reboot and go into twrp again.
Flash 3.2.8 and SuperSu (optional)
Thats it. No need for any special build as OP said.
Thx for that Info. Have you been on F2fs or on ext4?
In my case I guess i can´t got beta 8 installed and twrp ask for pin did you think if i wipe data and flash 3.2.6 i manage to revert?
Blubber120 said:
Thx for that Info. Have you been on F2fs or on ext4?
Click to expand...
Click to collapse
i was on ext4. to get on f2fs you have to hard reset your device after flashing beta.
Crash said:
In my case I guess i can´t got beta 8 installed and twrp ask for pin did you think if i wipe data and flash 3.2.6 i manage to revert?
Click to expand...
Click to collapse
I think you have enabled pin on bootup. You can try disabling it and then you should be able to get to recovery.
Thx. I am afraid, if on f2fs, it wouldnt be that easy, but good to know that it works if we stayed on ext4
Blubber120 said:
Thx. I am afraid, if on f2fs, it wouldnt be that easy, but good to know that it works if we stayed on ext4
Click to expand...
Click to collapse
you can clean reflash the open beta 8 instead of 3.2.8 which would take you back to ext4 then you can flash 3.2.8.
what is the file system by default in op3 and will installing open beta 8 change file system to f2fs or to ext4?? thanks
Ext4 is default. Whether ob8 changes it or not, i got no aim.
bonham1988 said:
I installed the N beta and have to say it was not working for me as I had a few bugs with it. There is a way to easily revert back to MM.
Boot into TWRP.
Go to advanced wipe and select everything including system. (This will delete everything including os from your phone)
Reboot and go into twrp again.
Flash 3.2.8 and SuperSu (optional)
Thats it. No need for any special build as OP said.
Click to expand...
Click to collapse
Thanks for sharing :good:
Very useful info.
Correct me if I am wrong, but this method to revert back to 3.2.8 will only work only if you have flashed open beta 8 with official twrp as the partition will remain to EXT4.
If you have flashed the update through stock or modded twrp recovery then your system partition will become F2FS so this method to revert back to 3.2.8 will not work as it need EXT4 system partition.
daninantro said:
Correct me if I am wrong, but this method to revert back to 3.2.8 will only work only if you have flashed open beta 8 with official twrp as the partition will remain to EXT4.
If you have flashed the update through stock or modded twrp recovery then your system partition will become F2FS so this method to revert back to 3.2.8 will not work as it need EXT4 system partition.
Click to expand...
Click to collapse
I'm on the latest twrp by eng.stk, twrp-3.0.2-1.28
bonham1988 said:
I'm on the latest twrp by eng.stk, twrp-3.0.2-1.28
Click to expand...
Click to collapse
So I am guessing your system partition is ext4 and f2fs , right? Coz, after a clean flash the system will become f2fs partition (thats what I read)
EDIT: Oh, You need to do hard reset for f2fs..
Also, did you read another thread? the users who did a remote session with OP said that u need some certificate file to downgrade to official OTA. something related to encryption
daninantro said:
So I am guessing your system partition is ext4 and f2fs , right? Coz, after a clean flash the system will become f2fs partition (thats what I read)
Click to expand...
Click to collapse
No it remains on ext4 even after a clean flash. You have do a hard reset to change it to f2fs.
I wonder what happens if file system is changed to f2fs. Should we change the partition to ext4 in twrp before installing OOS 3.2.8?
bonham1988 said:
I installed the N beta and have to say it was not working for me as I had a few bugs with it. There is a way to easily revert back to MM.
Boot into TWRP.
Go to advanced wipe and select everything including system. (This will delete everything including os from your phone)
Reboot and go into twrp again.
Flash 3.2.8 and SuperSu (optional)
Thats it. No need for any special build as OP said.
Click to expand...
Click to collapse
Buddy,
"wipe everything", that includes internal storage.. I read that it's not a good ideea to wipe internal storage.
But, thanks for info.
When you say wipe everything do you also mean internal storage? I really don't want to wipe that if it isn't absolutely necessary.
I am on Arter's CM13 Rom with modified kernel and with cache, system and data, all on f2fs.
What all do i have to keep on f2fs and what on ext4 to install Beta8.
After that i can follow all the steps with modified recovery, right? Or do i have to flash 3.5.5 or Beta7 first?
GaugeX said:
I am on Arter's CM13 Rom with modified kernel and with cache, system and data, all on f2fs.
What all do i have to keep on f2fs and what on ext4 to install Beta8.
After that i can follow all the steps with modified recovery, right? Or do i have to flash 3.5.5 or Beta7 first?
Click to expand...
Click to collapse
I know that the OP3T only uses F2FS for the DATA partition.
All other partitions are EXT4.
So I guess they will probably keep it that way on Nougat.
The beta 8 kernel might actually support F2FS for the other partitions, but without the source code I think you can only try.
Personally I am running Nougat Beta 8 as mentioned with DATA only on F2FS.
it might be a silly question, but now reading a lot about ext4 and F2FS everything I am totally messed up. Below are the confusions/queries-
1. How can I come to know I am on which files system, ext4 or f2fs ? (if I have twrp installed)
2. can it be changed from on to other, if yes, how?
3. Two latest builds - stock 3.2.8 and beta 8 are on ext4 and f2fs respectively, is it correct?
4. If I am on beta8 (flashed via modded twrp), how can I downgrade to stock 3.2.8 ?

Everytime i reboot into TWRP, my phone get wiped...

Does anyone have encountered this issue?? It's really damn annoying... Thanks for any help
I did have it and it is very annoying, I installed TWRP Blue Spark and it solved the issue. I will look for it and if I find it I will share it with you.
What version of TWRP are you using? 3.0.3-1, 3.0.4 and 3.0.4-1 have all been working well so far.
Anova's Origin said:
What version of TWRP are you using? 3.0.3-1, 3.0.4 and 3.0.4-1 have all been working well so far.
Click to expand...
Click to collapse
This happens if yu are f2fs formatted and swipe in allow for modifications when booting in §TWRP. If you don't swipe, you can still flash roms. Not sure what's changing anyway...I formatted ext4 and have no issues right now.
iam using f2fs with latest twrp (3.0.4.x) and no such issues.
but i was losing apps randomly after booting into recovery, on older TWRP versions.
Installed TWRP 3.0.4 and everything seems back to normal. Thanks for ur help guys.
Now my next problem is 4g reception in France..
Cheers thanks a lot
PS: how do I know if I'm using f2fs or ext4?
I believe there was an option somewhere in TWRP to view all your partitions and their file formats. By default, only the data partition is formatted in f2fs, everything else should be ext4 (and maybe fat?)
Edit: If you select Wipe in TWRP, then advanced wipe, and select the Data partition, you can click partition options to see what the file format is (don't swipe right if you don't want to wipe it). Aside from data, every other partition should be ext4 by default.
There's also apps like disk info that can tell you the file system used as well.
piffa_ said:
Installed TWRP 3.0.4 and everything seems back to normal. Thanks for ur help guys.
Now my next problem is 4g reception in France..
Cheers thanks a lot
PS: how do I know if I'm using f2fs or ext4?
Click to expand...
Click to collapse
there is a app on playstore disk info
and there is new twrp avaliable 3.0.4.1

[Question]How to gain root using F2FS partition on stock MIUI 8 stable?

I hope I'm on the right channel to ask this..
I successfully booted MIUI 8 stable with F2FS partition (data and cache) but root fails to install..I've heard it's much faster (or better) than ext4..in LOS, with F2FS, you can easily gain root using su add-in..been searching answers for almost a week now..any inputs would be appreciated.. TIA!
viking_kong16 said:
I hope I'm on the right channel to ask this..
I successfully booted MIUI 8 stable with F2FS partition (data and cache) but root fails to install..I've heard it's much faster (or better) than ext4..in LOS, with F2FS, you can easily gain root using su add-in..been searching answers for almost a week now..any inputs would be appreciated.. TIA!
Click to expand...
Click to collapse
and how did you do it i mean miui f2fs partition
gowtham300 said:
and how did you do it i mean miui f2fs partition
Click to expand...
Click to collapse
I format both data and cache through twrp then flash global stableb rom from xiaomi's download page..that's it..
viking_kong16 said:
I format both data and cache through twrp then flash global stableb rom from xiaomi's download page..that's it..
Click to expand...
Click to collapse
thats impossible miui doesnt support f2fs
viking_kong16 said:
I hope I'm on the right channel to ask this..
I successfully booted MIUI 8 stable with F2FS partition (data and cache) but root fails to install..I've heard it's much faster (or better) than ext4..in LOS, with F2FS, you can easily gain root using su add-in..been searching answers for almost a week now..any inputs would be appreciated.. TIA!
Click to expand...
Click to collapse
Check whether your partitions have been reformatted to ex4. Regardless, try PHH superuser, it worked great for me.
viking_kong16 said:
I hope I'm on the right channel to ask this..
I successfully booted MIUI 8 stable with F2FS partition (data and cache) but root fails to install..I've heard it's much faster (or better) than ext4..in LOS, with F2FS, you can easily gain root using su add-in..been searching answers for almost a week now..any inputs would be appreciated.. TIA!
Click to expand...
Click to collapse
Are you using a custom kernel, or is f2fs supported in the stock kernel?
SuperSu is not working because of chainfire is using mount -t ext4 to mount data and cache. With a f2fs formatted partition that is failing for sure.
Gesendet von meinem Xiaomi Mi MIX

TWRP 3.1.0

I recently updated my TWRP to the latest and official version of 3.1.0, but now after updating it i am facing a new bug.
Whenever i wipe cache and dalvik cache it say's in the end "Unable to mount Storage"
Someone please help
You have some partitions encrypted.
Decrypt your phone and try again.
Some ROM have encryption activated, initially.
Testerofroms said:
You have some partitions encrypted.
Decrypt your phone and try again.
Some ROM have encryption activated, initially.
Click to expand...
Click to collapse
Could you please tell me how to decrypt? I am using RR rom 7.1.1 official
Prayas29 said:
Could you please tell me how to decrypt? I am using RR rom 7.1.1 official
Click to expand...
Click to collapse
Mmmh it seems, that you can not.
please go there and read:
http://forum.le.com/us/index.php?threads/issue-whit-leeco-update.2383/
In addition you should also google for "android encrypt" or perhaps for "android 7 encrypt" ?
This feature exists already since Android 5...
Testerofroms said:
Mmmh it seems, that you can not.
please go there and read:
http://forum.le.com/us/index.php?threads/issue-whit-leeco-update.2383/
In addition you should also google for "android encrypt" or perhaps for "android 7 encrypt" ?
This feature exists already since Android 5...
Click to expand...
Click to collapse
Even though it says unable to mount storage i am able to see all the files in my storage and access them
Prayas29 said:
Even though it says unable to mount storage i am able to see all the files in my storage and access them
Click to expand...
Click to collapse
Please read this thread:
Indian stock ROM LeMax2 EUI 5.8 15s
/data is encrypted with a factory password
-> no way to make it accessable for TWRP.
so you need to copy the content and after that, you need to wipe this partition
Testerofroms said:
Please read this thread:
Indian stock ROM LeMax2 EUI 5.8 15s
/data is encrypted with a factory password
-> no way to make it accessable for TWRP.
so you need to copy the content and after that, you need to wipe this partition
Click to expand...
Click to collapse
I had done that earlier when i flashed TWRP for the first time and after that nothing like this showed. I am seeing this again after updating it again to 3.1.0.
So i will have to factory reset it again to make itwork properly?
And do i have to do it every time i update my TWRP?
And also what all should i wipe?
Should i wipe my whole phone storage?
Prayas29 said:
And also what all should i wipe?
Should i wipe my whole phone storage?
Click to expand...
Click to collapse
wipe /date and /cache
---------- Post added at 17:49 ---------- Previous post was at 17:46 ----------
Prayas29 said:
I had done that earlier when i flashed TWRP for the first time and after that nothing like this showed. I am seeing this again after updating it again to 3.1.0.
So i will have to factory reset it again to make itwork properly?
And do i have to do it every time i update my TWRP?
Click to expand...
Click to collapse
the stock boot is always checking of /data is encrypted or not.
if /data is not encrypted, it will start encrypting while booting.
decrypt key is not known.
Testerofroms said:
wipe /date and /cache
---------- Post added at 17:49 ---------- Previous post was at 17:46 ----------
the stock boot is always checking of /data is encrypted or not.
if /data is not encrypted, it will start encrypting while booting.
decrypt key is not known.
Click to expand...
Click to collapse
Thanks for the help but one more question is that will this happen again if i dont update my TWRP? Or only while updating it encrypts the data?
Sorry for all the noob questions. I am not so techy guy so these things are new to me
Prayas29 said:
Thanks for the help but one more question is that will this happen again if i dont update my TWRP? Or only while updating it encrypts the data?
Sorry for all the noob questions. I am not so techy guy so these things are new to me
Click to expand...
Click to collapse
You will never have access to /data with TWRP,
if you can not provide the correct password.
This password is set by the manufacturer and not public yet.
If you boot the system you will have access to /data.
If you boot the TWRP you will not have access to /data.
This is not related to any update..
Testerofroms said:
You will never have access to /data with TWRP,
if you can not provide the correct password.
This password is set by the manufacturer and not public yet.
If you boot the system you will have access to /data.
If you boot the TWRP you will not have access to /data.
This is not related to any update..
Click to expand...
Click to collapse
But i used to wipe my cache and do flash ROMs earlier and it never said unable to mount storage. It started doing this recently
Prayas29 said:
But i used to wipe my cache and do flash ROMs earlier and it never said unable to mount storage. It started doing this recently
Click to expand...
Click to collapse
Believe me or read the other threads regarding default encrypting Android versions..
/cache is cache
/data is all your userdata and apps
/system is the os
/boot is bootloader
/recovery is the TWRP
there are more mountpoints, you can see them if you click on mount in TWRP.
I wrote /data encrypted and you wrote /cache wiping.
Testerofroms said:
Believe me or read the other threads regarding default encrypting Android versions..
/cache is cache
/data is all your userdata and apps
/system is the os
/boot is bootloader
/recovery is the TWRP
I wrote /data and you wrote /cache.
Click to expand...
Click to collapse
Dude i meant that how suddenly it happened on its own i used to wipe cache and other stuff but never it has shown the unable to mount storage error thats what i meant i believe you i just want answers
Prayas29 said:
Dude i meant that how suddenly it happened on its own i used to wipe cache and other stuff but never it has shown the unable to mount storage error thats what i meant i believe you i just want answers
Click to expand...
Click to collapse
Also it doesn't ask for any password or anything just says unable to mount storage at the end while wiping cache and dalvik cache. I havn't flashed anything since some time soo can't tell if flashing ROM will work or will it show some error.
But a few months ago NO error was displaying and everything was fine
Prayas29 said:
Also it doesn't ask for any password or anything just says unable to mount storage at the end while wiping cache and dalvik cache. I havn't flashed anything since some time soo can't tell if flashing ROM will work or will it show some error.
But a few months ago NO error was displaying and everything was fine
Click to expand...
Click to collapse
You think, it's perhaps related to TWRP version?
Well then you can boot the version before or another version w/o flashing...
Guide to start TWRP remotely
enable OEM unlocking in developer settings
boot into fastboot mode (power and Volume down)
fastboot boot twrp.img
TWRP chinese version
You need to switch the language away from chinese.
Other TWRP versions are listed here
http://www.hackleaks.in/2017/01/all-about-leeco-le-2-x522-x526-x527.html

Stock RECOVERY

Can Anyone Upload The Stock EMUI Recovery ?!
Please !!!
Here the stock recovery
https://mega.nz/#!lf4jxCIB!nHkmOkDs_yQOUTBGyxjFkN7bgtvouta3vwcrI1Bajv0
I aspect some collaboration from pra-lx1 users to upload stock single and dual sim firmware to let other restore it in case of brick, not just waiting to download custom roms / recoveries.
Thanks for understanding
haky 86 said:
Here the stock recovery
https://mega.nz/#!lf4jxCIB!nHkmOkDs_yQOUTBGyxjFkN7bgtvouta3vwcrI1Bajv0
I aspect some collaboration from pra-lx1 users to upload stock single and dual sim firmware to let other restore it in case of brick, not just waiting to download custom roms / recoveries.
Thanks for understanding
Click to expand...
Click to collapse
Thanks
haky 86 said:
Here the stock recovery
https://mega.nz/#!lf4jxCIB!nHkmOkDs_yQOUTBGyxjFkN7bgtvouta3vwcrI1Bajv0
I aspect some collaboration from pra-lx1 users to upload stock single and dual sim firmware to let other restore it in case of brick, not just waiting to download custom roms / recoveries.
Thanks for understanding
Click to expand...
Click to collapse
I have PRA-LX1 single rom and I can do this but I do not know how.
How to extract the rom?
erreira said:
I have PRA-LX1 single rom and I can do this but I do not know how.
How to extract the rom?
Click to expand...
Click to collapse
You can flash twrp via fastboot, reboot to recovery and do a "backup" of all partitions to sdcard.
once done you'll find a folder called TWRP on your external sdcard, compress and upload to mega website then
haky 86 said:
You can flash twrp via fastboot, reboot to recovery and do a "backup" of all partitions to sdcard.
once done you'll find a folder called TWRP on your external sdcard, compress and upload to mega website then
Click to expand...
Click to collapse
twrp backup failed to backup the data partition.
Do you know how to solve
erreira said:
twrp backup failed to backup the data partition.
Do you know how to solve
Click to expand...
Click to collapse
try with honor 6x twrp or revolution recovery from [how to root] guide, i forget to tell my one need some of for data partitions.
haky 86 said:
try with honor 6x twrp or revolution recovery from [how to root] guide, i forget to tell my one need some of for data partitions.
Click to expand...
Click to collapse
data partition with revolution.img does not appear and with twrp 3.1.0.2 appears.
With revolution.img I have the partitions:
Boot
Cache
Cust
OEMinf
System
Vendor
Product
erreira said:
data partition with revolution.img does not appear and with twrp 3.1.0.2 appears.
With revolution.img I have the partitions:
Boot
Cache
Cost
OEMinf
System
Vendor
Product
Click to expand...
Click to collapse
If you wait I will edit it fstab and make data partition appear on revolution recovery, once ready I'll pm you.
@erreira hi
I manage to backup data partition, as I see you have to unmount all partition except external sdcard, so go to Mount and uncheck Cache, Data & system and will done with backup.
haky 86 said:
@erreira hi
I manage to backup data partition, as I see you have to unmount all partition except external sdcard, so go to Mount and uncheck Cache, Data & system and will done with backup.
Click to expand...
Click to collapse
Sorry, just answer now.
I'm going to twrp revolution mount-> and unchek everything only sdcard gets checked
Then I backup and I get the error:
Failed to mount '/ data' (invalid argument)
twrp-3.1.0-2-v2-prague I get the error: 255
erreira said:
Sorry, just answer now.
I'm going to twrp revolution mount-> and unchek everything only sdcard gets checked
Then I backup and I get the error:
Failed to mount '/ data' (invalid argument)
twrp-3.1.0-2-v2-prague I get the error: 255
Click to expand...
Click to collapse
it's work only if you unmount everything, this bug is related to FBE encryption I will try to fix it tomorrow.
Hello. I need stock recovery to P9 Lite 2017. Anyone have it?

Categories

Resources