Twrp Internal storage (0mb) in f2fs partition - Android Q&A, Help & Troubleshooting

Internal storage not showing in f2fs partition. Everytime i switch back to ext4 it shows internal storage but when i switch back to f2fs partition it showed internal storage (0mb)

Chris2203 said:
Internal storage not showing in f2fs partition. Everytime i switch back to ext4 it shows internal storage but when i switch back to f2fs partition it showed internal storage (0mb)
Click to expand...
Click to collapse
Hello and good morning, @Chris2203
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Chris2203 said:
Internal storage not showing in f2fs partition. Everytime i switch back to ext4 it shows internal storage but when i switch back to f2fs partition it showed internal storage (0mb)
Click to expand...
Click to collapse
Which phone and which version of twrp? It hear like the recovery don't support f2fs. Maybe an other recovery? Ask the dev of the recovery?

joke19 said:
Which phone and which version of twrp? It hear like the recovery don't support f2fs. Maybe an other recovery? Ask the dev of the recovery?
Click to expand...
Click to collapse
Realme 6 pro device and recovery Twrp 3.6.2. I am using Custom rom on f2fs partition Evolution X 13.

Chris2203 said:
Realme 6 pro device and recovery Twrp 3.6.2. I am using Custom rom on f2fs partition Evolution X 13.
Click to expand...
Click to collapse
Realme 6 Pro
The Realme 6 Pro is a 6.6" phone with a 1080x2400p resolution display. The Qualcomm SM7125 Snapdragon 720G chipset is paired with 6/8GB of RAM and 64/128GB of storage. The main camera is 64+12+8+2MP and the selfie camera is 16+8MP. The battery has a 4300mAh capacity.
forum.xda-developers.com
It's a big forum for your phone? Why you don't ask in the question thread?

you can add the line for f2fs in twrp.fstab yourself and see if that makes the difference. you need twrp image (boot or recovery) Notepad++ and AIK.
.\unpackimg.bat
open ramdisk\system\etc\twrp.fstab with Notepad++
duplicate the line for userdata partition, change f2fs
.\repackimg.bat
flash image-new.img

Related

Wiping Internel Storage? Missing?

I cant seem to find a way to wipe INTERNAL storage? Normally an option under wipe in TWRP is no longer there?
why is this? any way to do it?
Paul
there should be an option for factory data reset. that's what that does
Sent from my Nexus 7 using Tapatalk 4 Beta
Please read forum rules before posting
Questions and help issues go in Q&A and help sections
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Thank u .. that was it..
TWRP is different. I thought format data was the /data partition but if u go to wipe and click format data and enter YES. it does wipe internal
Thanks,
Sry I posted in the wrong spot.
Stupid question maybe but I just couldn't see it.
Paul

[Q] Understanding the android system partitions

Hello all. Somewhat of a n00b to android. I recently got the new nexus 7 (2013) and have been playing around with flashing roms and using a custom recovery. So i know how to do all of that now but my main questions are:
1. When flashing a ROM(ie CM) what partitions are affected? What is actually being flashed on the device? System partition? Kernel too? Because i notice when i factory reset and then flash a new rom, the same data is still on the internal storage.
2. I know that there's a system, dalvik, cache, recovery and boot partition. Well im trying to figure out what exactly does flashing a rom do? Is internal storage a separate partition from those main partitions?
I apologize if this topic has already been covered somewhere else. I have searched the threads and cannot find a straightforward answer. Thanks for your help guys!
Your device has a fake sdcard this your internal storage which flashing a ROM through your custom recovery does not touch
For the most part when flashing a ROM it will only write to the system and boot partition (occasionally data) but you should be wiping cache, userdata and dalvik and this may be in the updater-script if the ROM you are flashing.
Of course depending on the device there are lots of other partitions namely, bootloader (sometimes split between primary and secondary and sometimes even a third SPL) and recovery, some have a separate splash1, radio/modem partitions, and then you can keep going with a slue of others that aren't affected by a normal flash, a quick search will certainly find you a list of all partitions to your device
Sent from my Nexus 4 using xda premium
bynarie said:
Hello all. Somewhat of a n00b to android. I recently got the new nexus 7 (2013) and have been playing around with flashing roms and using a custom recovery. So i know how to do all of that now but my main questions are:
1. When flashing a ROM(ie CM) what partitions are affected? What is actually being flashed on the device? System partition? Kernel too? Because i notice when i factory reset and then flash a new rom, the same data is still on the internal storage.
2. I know that there's a system, dalvik, cache, recovery and boot partition. Well im trying to figure out what exactly does flashing a rom do? Is internal storage a separate partition from those main partitions?
I apologize if this topic has already been covered somewhere else. I have searched the threads and cannot find a straightforward answer. Thanks for your help guys!
Click to expand...
Click to collapse
1. When you flash a rew rom, the files are maily written to system partition. User apps (or if you download from play store) are stored to data partition. Yes, kernel is being flashed, too! Try to open a rom.zip before flashing and you will see, which files are in which partitions.
2.On my old HTC Desire internal storage was a seperate partition. But on my HTC One i dont really know...wanted to know this, too Sometimes i think its not..
Correct me if i am wrong
Hope i could help you somehow! :laugh:

[Q] Problems increasing internal memory with link2sd

Hello all,
few days ag I asked how to move internal apps to SD with Titanium Backups. Hitesh2626 recommeded me to use another method : http://forum.xda-developers.com/showthread.php?t=2082465 and I did so.
I've followed the guide but I did not succeed and I think I konw why: when I run CWM I don't have any /sd-ext partition.
I've followed all the steps under "Partition SD Card" , and I've used ext2 for formatting the new "memory" .
Anyone has had the same problem? Anyone could help me to find what am I doing wrong?
TIA,
Arnau
pelacables79 said:
Hello all,
few days ag I asked how to move internal apps to SD with Titanium Backups. Hitesh2626 recommeded me to use another method : http://forum.xda-developers.com/showthread.php?t=2082465 and I did so.
I've followed the guide but I did not succeed and I think I konw why: when I run CWM I don't have any /sd-ext partition.
I've followed all the steps under "Partition SD Card" , and I've used ext2 for formatting the new "memory" .
Anyone has had the same problem? Anyone could help me to find what am I doing wrong?
TIA,
Arnau
Click to expand...
Click to collapse
Were you able to create the mount scripts? Can you elaborate the problem that you are facing?
mahithm said:
Were you able to create the mount scripts? Can you elaborate the problem that you are facing?
Click to expand...
Click to collapse
Hello, first of all, thanks for your answer.
I guess you are talking about step 11, just after chossing the filesystem type:
10) First , Choose ext2. If it don't work then restart Link2SD and when then don't choose ext2 but ext4. ( Don't worry , it works )
11) It will say mount script created. Reboot your phone now.
Click to expand...
Click to collapse
If so, yes, after chossing ext2 it does not complain. After reboot I see a second partition "/data/sdext2" : Total:0.89GB used 64,91MB Free: 850MB.
(is it ext2? If I plug the mobile into my linux box it says it's FAT32):
Code:
Device Boot Start End Blocks Id System
/dev/sdc1 1 13564453 6782226+ c W95 FAT32 (LBA)
/dev/sdc2 13564454 15564799 1000173 83 Linux
Teh "problem" comes when doing "Placing the 2nd partition of SD Card to internal." :
18) Foramt /data /sd-ext /system
Click to expand...
Click to collapse
I don't have that "/sd-ext" partition, so I cannot format it.
But I've continued with the manual and tried to install an app (whatsapp). Now Link2sd says that the app has been linked, the /data/sdext2 partitoin now shows 85,97MB used but when I go to apps, manage apps, I see that my mem has decreased in ~ 20 MB . Is that the expected behaivour?
This I explain myself clear? if not, sorry but I'm newb to this world
TIA,
Arnau
pelacables79 said:
Hello, first of all, thanks for your answer.
I guess you are talking about step 11, just after chossing the filesystem type:
If so, yes, after chossing ext2 it does not complain. After reboot I see a second partition "/data/sdext2" : Total:0.89GB used 64,91MB Free: 850MB.
(is it ext2? If I plug the mobile into my linux box it says it's FAT32):
Code:
Device Boot Start End Blocks Id System
/dev/sdc1 1 13564453 6782226+ c W95 FAT32 (LBA)
/dev/sdc2 13564454 15564799 1000173 83 Linux
Teh "problem" comes when doing "Placing the 2nd partition of SD Card to internal." :
I don't have that "/sd-ext" partition, so I cannot format it.
But I've continued with the manual and tried to install an app (whatsapp). Now Link2sd says that the app has been linked, the /data/sdext2 partitoin now shows 85,97MB used but when I go to apps, manage apps, I see that my mem has decreased in ~ 20 MB . Is that the expected behaivour?
This I explain myself clear? if not, sorry but I'm newb to this world
TIA,
Arnau
Click to expand...
Click to collapse
Yes, that's how Link2SD works. It will link the data associated with the app to ext partition. If you go to the Settings> Storage, you will see that the total internal memory remains the same. But you can still see the available memory has increased due to linking to ext. To see how much of the ext partition is used, just go to Link2SD> Storage. Now if you are not satisfied with Link2SD, you can try the CronMod Unofficial. First backup all the SD Card data. Also if you want to try CronMod Unofficial after installing Link2SD, it better to flash the custom rom again after formatting /system and /data from CWM. This will get rid of all Link2SD files which can otherwise mess with CronMod Official. Now go to CWM> Format /sdcard. This will delete the ext partition. Now CWM> Advanced> Partition SD Card> Size (Max 1GB, anymore and system will lag)> Swap (0MB) and wait for it to say "Partitioning done". Now download and place CronMod Unofficial to SD Card. Now again go to CWM> Mounts & Storage> Mount /system then flash the Cronmod Unofficial zip from CWM and finally unmount /system. Reboot and you are good to go. Now go to Settings>Storage to see the newly increased internal memory. Here is the link,
Cronmod Unofficial
Hope I Helped
Hi mahithm,
mahithm said:
Yes, that's how Link2SD works. It will link the data associated with the app to ext partition. If you go to the Settings> Storage, you will see that the total internal memory remains the same. But you can still see the available memory has increased due to linking to ext. To see how much of the ext partition is used, just go to Link2SD> Storage.
Click to expand...
Click to collapse
ops... I expected more space for installing apps, not just for data. Ok, I can install more apps than before, but not all the ones I want.
Now if you are not satisfied with Link2SD, you can try the CronMod Unofficial. First backup all the SD Card data. Also if you want to try CronMod Unofficial after installing Link2SD, it better to flash the custom rom again after formatting /system and /data from CWM. This will get rid of all Link2SD files which can otherwise mess with CronMod Official. Now go to CWM> Format /sdcard. This will delete the ext partition. Now CWM> Advanced> Partition SD Card> Size (Max 1GB, anymore and system will lag)> Swap (0MB) and wait for it to say "Partitioning done". Now download and place CronMod Unofficial to SD Card. Now again go to CWM> Mounts & Storage> Mount /system then flash the Cronmod Unofficial zip from CWM and finally unmount /system. Reboot and you are good to go. Now go to Settings>Storage to see the newly increased internal memory. Here is the link,
Cronmod Unofficial
Click to expand...
Click to collapse
A couple of questions:
1.-) So, with this method I'll be able to install all the app in SD?
2.-) 7-Flash your desired script : what does it refer to?
3.-) It also refer to sd-ext, but I can't format that partition... (as it was my original problem). is cronmod going to use it even if I don't format it? (as link2sd has done).
Hope I Helped
Click to expand...
Click to collapse
Yes!! Thanks a lot!
Arnau
pelacables79 said:
Hi mahithm,
ops... I expected more space for installing apps, not just for data. Ok, I can install more apps than before, but not all the ones I want.
A couple of questions:
1.-) So, with this method I'll be able to install all the app in SD?
2.-) 7-Flash your desired script : what does it refer to?
3.-) It also refer to sd-ext, but I can't format that partition... (as it was my original problem). is cronmod going to use it even if I don't format it? (as link2sd has done).
Yes!! Thanks a lot!
Arnau
Click to expand...
Click to collapse
1. Yes with this method you'll be able to install all apps to the ext partition of the SD Card as long as you have free space on ext partition
2. Flashing the desired script refers to flashing the script in question, i.e., CronMod Unofficial
3. Can you tell me what happens when you try Mounts & Storage> Format /sd-ext? CronMod uses you ext partition even if you don't format it. Its not compulsory and CronMod should work fine.
Sorry for the late reply. If you have anymore doubt, post here. I'll be glad to help
mahithm said:
1. Yes with this method you'll be able to install all apps to the ext partition of the SD Card as long as you have free space on ext partition
Click to expand...
Click to collapse
Great. But since yesterday I've been experience speed "problems". I'm wondering if makes snes to gain space but lose speed... Maybe I try and decide with this new method. (Maybe the ROM also affects? ace-i-sure 8 to 12 could cause such speed issues?)
2. Flashing the desired script refers to flashing the script in question, i.e., CronMod Unofficial
Click to expand...
Click to collapse
Why just say so thanks!
3. Can you tell me what happens when you try Mounts & Storage> Format /sd-ext? CronMod uses you ext partition even if you don't format it. Its not compulsory and CronMod should work fine.
Click to expand...
Click to collapse
I'll let you know after trying it, it will take a couple of days
Sorry for the late reply. If you have anymore doubt, post here. I'll be glad to help
Click to expand...
Click to collapse
You don't have to apologise!! Many thanks for your detailed answers and for your time!!
Cheers,
Arnau
Hi,
after a couple of days I've seen that the speed problems do not compensate teh fact of having more apps installed, so I'm not going to try this new approach.
I've re-flashed the rom without using externad SD and it's running really fine.
Many thanks for your help dude!
Cheers,
Arnau
pelacables79 said:
Hi,
after a couple of days I've seen that the speed problems do not compensate teh fact of having more apps installed, so I'm not going to try this new approach.
I've re-flashed the rom without using externad SD and it's running really fine.
Many thanks for your help dude!
Cheers,
Arnau
Click to expand...
Click to collapse
Glad I could help And yes irrespective of what method you choose to increase the internal memory, there will always be a lag after you exceed a certain number of app install. This is because in all cases the /data is moved to ext partition of the SD Card. SD Card R/W speed is always lesser than internal memory R/W speed. You can control this lag to a certain extend by using class 8 or higher SD Card and only installing necessary apps.

[Guide] CWM ReParted

CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache (ext4 or f2fs) and /sdcard (vfat)
4) restore your data
5) swap storages via Novathor settings app
Thanks to @AntaresOne for a good starting point for this guide.
UPD. repartition scripts for ext4
620.000 SYSTEM
10.000 CACHEFS
3.112.931 DATAFS
100.000 UMS
100 HIDDEN
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=57177356&postcount=44
and F2FS
620.000 SYSTEM
130.000 CACHEFS
3.002.931 DATAFS
100.000 UMS
100 HIDDEN
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=57126553&postcount=41
Thanks @fluffi444
Thank you for your guide. I looked into it and have some questions. I also study repartition script to know what it is doing.
It would be nice if someone can answer these questions:
We are able to deal with all partitions but no with UMS and HIDDEN. What is the purpose of these and why are they needed?
Is it possible to modify ROM and remove them? If so.. How to do that? It would be nice if we can have one big internal memory and one sdcard.
Now, there is one big data and one little 51kb UMS if I understood it correctly.
Fota can be removed totaly I think.
Thank you.
BoogeyCZ said:
We are able to deal with all partitions but no with UMS and HIDDEN. What is the purpose of these and why are they needed?
Click to expand...
Click to collapse
Why not UMS and HIDDEN? UMS is /sdcard and HIDDEN is /preload
Is it possible to modify ROM and remove them? If so.. How to do that? It would be nice if we can have one big internal memory and one sdcard.
Click to expand...
Click to collapse
Probably yes... But I don't know how to do that and I really don't think it is necessary for anyone. I use both of sdcards (yes, 32Gb is not enough for me )
Now, there is one big data and one little 51kb UMS if I understood it correctly.
Fota can be removed totaly I think.
Click to expand...
Click to collapse
Yes, fota will be removed after installation this zip.
I tried to find out where are /preload and /sdcard mounted and maybe it will be ok to edit:
/fstab.samsungcodina to remove mounting preload and sdcard (this file is probably in ramdisk)
and edit build.prop:
persist.sys.vold.switchablepair=sdcard0,sdcard1
but I'm not sure about that.
I did repartition your way but I have problem with Google Photo app. It requires sdcard0 which has no space Is it possible to switch them or use /data as sdcard like in Nexus devices?
BoogeyCZ said:
I did repartition your way but I have problem with Google Photo app. It requires sdcard0 which has no space Is it possible to switch them or use /data as sdcard like in Nexus devices?
Click to expand...
Click to collapse
I forgot to mention, you need to swap memory via Novathor App after repartition. You also can increase size for UMS if you don't want to swap storages.
ChronoMonochrome said:
CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache and /sdcard
4) restore your data
5) swap storages via Novathor settings app
After repartition you'll have:
2,87 Gb on data
~320 Mb on cache (I didn't change cache partition size because I use F2FS and it needs to use more memory in /cache. Anyway, you can edit repartition script as you want)
~51 kb on UMS and HIDDEN
This script will not change your /system partition.
View attachment 2959869
Click to expand...
Click to collapse
I did all of this but I can't reach the sd card and I have 2,64 in internal storage Please how to cancel this changes ?1
---------- Post added at 02:07 AM ---------- Previous post was at 01:32 AM ----------
ChronoMonochrome said:
CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache and /sdcard
4) restore your data
5) swap storages via Novathor settings app
After repartition you'll have:
2,87 Gb on data
~320 Mb on cache (I didn't change cache partition size because I use F2FS and it needs to use more memory in /cache. Anyway, you can edit repartition script as you want)
~51 kb on UMS and HIDDEN
This script will not change your /system partition.
View attachment 2959869
Click to expand...
Click to collapse
when I did all the steps before swapping the sd card . the sd card was good but in the apps section in settings sd card was blank and installed apps won't work after doing the swap the sd card is 0octects in storage !! what's the solution to this problem if not what's the way to get back to old storage ?!
Thank you. Switch storages works ok.
faroukovic3 said:
Please how to cancel this changes ?1
Click to expand...
Click to collapse
Flash *.pit file via Odin.
after doing the swap the sd card is 0octects in storage !!
Click to expand...
Click to collapse
English, please I don't understand you.
ChronoMonochrome said:
Flash *.pit file via Odin.
English, please I don't understand you.
Click to expand...
Click to collapse
I already downgreade to gingerbread and back to jelly bean and now I'm on CM11 Thnx Anyway
Hello i have repartition my internal memory with busote method,can i use your flashable method or i must go back to original partition before i use your flashable file?
nikolas1274 said:
Hello i have repartition my internal memory with busote method,can i use your flashable method or i must go back to original partition before i use your flashable file?
Click to expand...
Click to collapse
I think you should go back to original partitions, or you'll get some errors
Or you can do it by hand if you really know what you are doing and if you are familiar with parted.
I studied script and partition layout and did it manually my way with little help which you can find in the first page of this thread. Essential is to know what partition you have to remove and what you have to leave untouched. Next step is to recreate it in propper layout and sizes. Then you format it and install ROM. Finnally switch Storages by Novathor settings.
any1 can tell me how to set the partiton back to original?
Flash 3 part fw
teddytsen said:
Flash 3 part fw
Click to expand...
Click to collapse
can i flash the pit file only and tick the repartition?
10BIT said:
can i flash the pit file only and tick the repartition?
Click to expand...
Click to collapse
Were do you think your Data is if you did an re-partition... correct: Its away or corrupted..... flash complete 3 parted fw as already said (it's the easiest way now)
fluffi444 said:
Were do you think your Data is if you did an re-partition... correct: Its away or corrupted..... flash complete 3 parted fw as already said (it's the easiest way now)
Click to expand...
Click to collapse
Okay....,thx for the explanation
ChronoMonochrome said:
CWM ReParted is a method of reparition internal SDcard via recovery using flashable zip. It was developed a few months ago, but the message about this method "lost" in a closed thread http://forum.xda-developers.com/showpost.php?p=54157635&postcount=129 so I decided to create separate thread.
It's only for custom (non-stock) based ROMs
Installation method
1) backup your /data partition and /sdcard
2) flash zip archive. It may take a while, be patient.
3) format /data, /cache and /sdcard
4) restore your data
5) swap storages via Novathor settings app
After repartition you'll have:
2,87 Gb on data
~320 Mb on cache (I didn't change cache partition size because I use F2FS and it needs to use more memory in /cache. Anyway, you can edit repartition script as you want)
~51 kb on UMS and HIDDEN
This script will not change your /system partition.
View attachment 2959869
Click to expand...
Click to collapse
I'm using KK CM11. And installed this partitioning + kernel f2fs 1.6.3.
But i cant move apps to sdcard after partitioning. Any suggestion??
Maybe because on CM11 its move the apps to ext sdcard. Since ext sdcard doesnt have anyspace, so it wont move.
Without moving apps, i doubt i can install every apps i need.
riyosakura said:
I'm using KK CM11. And installed this partitioning + kernel f2fs 1.6.3.
But i cant move apps to sdcard after partitioning. Any suggestion??
Since ext sdcard doesnt have anyspace, so it wont move.
Click to expand...
Click to collapse
Try to increase /sdcard partition. I realize now that this is not a good idea to reduce this partitiion to a few kilobytes.

Can't mount internal storage for TWRP

hello smart guys ?
I have a problem with TWRP
don't mount internal storage.. I tried to format data to EXT4
But it works for only one time
After reboot it returned to not mount the internal storage
Who can help
Xiaomi redmi 5 rosy
Miui pro ROM
(Sorry for my English:silly
Which twrp did you install?
mido4ever2000 said:
hello smart guys
I have a problem with TWRP
don't mount internal storage.. I tried to format data to EXT4
But it works for only one time
After reboot it returned to not mount the internal storage
Who can help
Xiaomi redmi 5 rosy
Miui pro ROM
(Sorry for my English:silly
Click to expand...
Click to collapse
There's a bit of a bug regarding this. MIUI encrypts your internal storage so that it cannot be accessed through other means (e.g. the way you are trying to do)
Why do you want to mount internal storage in twrp? There might be a workaround to your problem?
3.2.1
Because now i can't add any magisk module or xposed or flashing any zip file ?
Have you got now Oreo ROM?
You have old TWRP....
You must have Oreo TWRP!
Try this [emoji3504] https://forum.xda-developers.com/redmi-5/help/twrp-oreo-xiaomi-eu-rom-t3871165
Or this [emoji3504] https://forum.xda-developers.com/redmi-5/development/recovery-twrp-t3877630
I have last miui rom and have the TWRP from First link and no problem [emoji6]
Sent from my Redmi 5
solved
:fingers-crossed:Thank you my friend
it solved
u r the best :good:

Categories

Resources