i've been messing around between hydrogen en ogygen OS, and for some reason now my 64gb phone only shows 16gb space.
can i reformat or repartition my device to show the right amount of space ?
Try to install twrp, wipe system, caches, data and internal, then flash OOS. See if that helps.
FPSUsername said:
Try to install twrp, wipe system, caches, data and internal, then flash OOS. See if that helps.
Click to expand...
Click to collapse
i found that i installed the 16_gb version by sending the command flash userdata_16gb.img ....
solution was simple, just did
Code:
fastboot flash userdata userdata_64G.img
Related
I haven't been able to find an answer upon searching and haven't come across this in my time reading forum posts.
So if I go to settings - backup and reset and do a factory reset from there.
I will lose all my data on internal storage, yes. But will the Android system boot into the same rom with Gapps and all just without any data at all? Allowing me to set it up as a new phone completely.
I'm on official Resurrection remix.
Edit - here's what I did. Thanks @Sam Nakamura
1. Clean flashed the ROM I wanted to use. (wipe everything except internal storage)
2. Booted into the ROM and set up Google account.
3. Booted into twrp and wiped internal storage.
4. Rebooted into system.
Everything is good as new. Setting it up from scratch now.
Isn't better doing it from recovery?
fabrquila said:
Isn't better doing it from recovery?
Click to expand...
Click to collapse
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
pranayysharma29 said:
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
Click to expand...
Click to collapse
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
fabrquila said:
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
Click to expand...
Click to collapse
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
pranayysharma29 said:
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
Click to expand...
Click to collapse
Not if you don't wipe system partition, where ROM and Gapps are located. Just if something goes wrong, you should have a way to flash these zips. You can use TWRP to transfer them.
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
pranayysharma29 said:
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
Click to expand...
Click to collapse
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Sorry for taking so much to reply, I didn't see notifications in the forum.
fabrquila said:
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Click to expand...
Click to collapse
Thanks for the explanation about the partitions.
I managed to achieve what I set out for.
Did a clean flash of my ROM. Then went on to wipe internal storage in twrp. Now have a new rom and everything. But clean slate for internal storage.
I installed twrp using adb in my lenovo k4 note (A7010a48) after which the internal memory of my device reduced to 450 mb from 16 GB and I installed official resurrection remix in it. Though the storage option from settings shows 16 GB memory out of which 14 GB is used by system while in twrp it shows only 450 mb. Now due to this I would like to reinstall my stock ROM and stock recovery and get my storage and volte back. Please tell me if there are any ways. Also when I try to open my recovery there is a black screen only. Thanks in advance.
Actually that happened for me too.. I found that it happens when I unlock the bootloader, boot to recovery , deleting "boot_from_recovery.p" and WITHOUT flashing super su nor booting to system, directly flashing any other twrp recovery or wiping the Dalvik cache, system, data, the recovery finds our sdcard (internal storage) partition as 774 MB or in your case 450 MB. So to get rid of these things, flash s232 firmware again unlock bootloader, boot to recovery, delete the file "boot from recovery.p", flash SuperSU, clear Dalvik cache and cache, let the phone boot to system ( normal startup) and then reboot to recovery and voila! You will find internal storage as usual .:good:
Vijay Jadaun said:
I installed twrp using adb in my lenovo k4 note (A7010a48) after which the internal memory of my device reduced to 450 mb from 16 GB and I installed official resurrection remix in it. Though the storage option from settings shows 16 GB memory out of which 14 GB is used by system while in twrp it shows only 450 mb. Now due to this I would like to reinstall my stock ROM and stock recovery and get my storage and volte back. Please tell me if there are any ways. Also when I try to open my recovery there is a black screen only. Thanks in advance.
Click to expand...
Click to collapse
perform factory reset in twrp recovery, to fix that issue
akurativinod said:
Actually that happened for me too.. I found that it happens when I unlock the bootloader, boot to recovery , deleting "boot_from_recovery.p" and WITHOUT flashing super su nor booting to system, directly flashing any other twrp recovery or wiping the Dalvik cache, system, data, the recovery finds our sdcard (internal storage) partition as 774 MB or in your case 450 MB. So to get rid of these things, flash s232 firmware again unlock bootloader, boot to recovery, delete the file "boot from recovery.p", flash SuperSU, clear Dalvik cache and cache, let the phone boot to system ( normal startup) and then reboot to recovery and voila! You will find internal storage as usual .:good:
Click to expand...
Click to collapse
Is there any way I can skip flashing the firmware and do this with the custom rom installed? Also, where is the "boot_from_recovery.p" file located? xda says /system but I can't find it there.
dubdex420 said:
Is there any way I can skip flashing the firmware and do this with the custom rom installed? Also, where is the "boot_from_recovery.p" file located? xda says /system but I can't find it there.
Click to expand...
Click to collapse
Try factory resetting from twrp as mohan mentioned above.. if it did not worked, probably that's the only way.
Figured out how to get rid of this issue: After installing stock rom, unlocking bootloader and flashing TWRP through ADB: you have to reboot into system (stock ROM), go through the setup and only then are you able to go back into TWRP to wipe and flash the custom ROM of your choice (in this case RR, without having full internal storage).
regarding internal storage issue
Is your solution will fix my internal storage problem
Fixed it for me so yes
While flashing RR, I also ended up in the same position. Here's how I fixed it:
1) Post flashing RR, goto bootloader and flash recovery-mohan-n.img
2) reboot to recovery
3) click on wipe and then select format data (option next to advance wipe).
4) Once format is complete, go back to main screen and Reboot to system.
Hence the problem shall be resolved.
PLS HELP!!!
pkimtani said:
While flashing RR, I also ended up in the same position. Here's how I fixed it:
1) Post flashing RR, goto bootloader and flash recovery-mohan-n.img
2) reboot to recovery
3) click on wipe and then select format data (option next to advance wipe).
4) Once format is complete, go back to main screen and Reboot to system.
Hence the problem shall be resolved.
Click to expand...
Click to collapse
I formatted it now i have more space free.....But internal storage is not detected.....I cannot take screenshots and all ....i cannot open camera ....and when i open file manager its failing to detect internal storage.........
Recently I installed nitrogen os, everything work fine. the problem is when i boot into twrp, it only can mount system and cache. I cannot format data in twrp. I tried to install different version of twrp but the result is the same. Anyone know how to fix it?
This is known, it's some bug in the Oreo builds of some ROM. This method will wipe all your data, including your internal storage: Go to fastboot mode, and type in: fastboot format userdata, then wait for it after that you can flash any ROM again. Good luck :good:
Thx a lot
Internal storage Mount in twrp
Same issue I'm having RR Rom i use
Hello everyone.
Usually I just format things through TWRP and flash a new ROM, but I found the following in a Nexus 6 thread:
As to what I usually do for a really clean install (likely overkill):
Reboot to Bootloader
Wipe everything (fastboot erase all)
Do flash-base.sh from latest factory image (this reflashes modem partitions; this is required after erase all)
Boot to Recovery
Wipe everything from TWRP
Reboot to Recovery
Wipe everything again from TWRP (old habit from when the first wipe didn't actually get rid of everything on older devices)
fstrim Data, Cache, System, and Firmware partitions
Reboot to Recovery
ROM
GApps (I don't use GApps, but if I did, this is when they are to be flashed)
Reboot to Recovery
Wipe everything except System from TWRP
Format Data and Cache to F2FS
fstrim Data and Cache partitions
Reboot to Recovery
Kernel
Magisk
Reboot to System
Do set-up and copy files over to device
Reboot to Recovery
Wipe Dalvik Cache (I guess the button in TWRP would work; I do rm -Rf /data/dalvik-cache)
Use filesystem tools to check and repair partitions (e2fsck for ext4 being System and Firmware partitions, and fsck.f2fs for F2FS being Data and Cache partitions)
fstrim Data, Cache, System, and Firmware partitions
Reboot to System
Click to expand...
Click to collapse
Is there anything similar for Moto G5 Plus? I would really like to make a deep cleanup in my phone before flashing a new ROM.
Thanks in advance.
vitorsubs said:
Hello everyone.
Usually I just format things through TWRP and flash a new ROM, but I found the following in a Nexus 6 thread:
Is there anything similar for Moto G5 Plus? I would really like to make a deep cleanup in my phone before flashing a new ROM.
Thanks in advance.
Click to expand...
Click to collapse
Except part 1: flash-base.sh from latest factory image (we have no factory image) you can do everything on the Moto G5+ too.
The question is if that is really needed.
Wiping twice with TWRP isn't necessary anymore but you can do it if you want.
fstrim isn't really needed imo, but you can do it from terminal if you want.
And checking the partitions for errors may be a good thing but if the partitions are faulty you would recognise it when you try to flash anything. But this is a thing you can do too if you want to.
You can find the exact usage of the commands for fstrim and e2fsck and fsck.f2fs by googling for it.
If I want to be sure that everything is cleaned up I wipe all partitions except external SD with TWRP, reformat data (you'll have to do that as the F2FS formatted data partition is encrypted) and flash my usual stuff like ROM, gapps, kernel, magisk etc.
Sent from my Moto G5 Plus using XDA Labs
Hi guys can someone help me? I have rn7 128 global with corvus rom for almost 2years now and recently my device shutdown and stuck in bootlogo so i try to navigate it using twrp and once i click reboot it says no OS installed so i decided to go back to stock rom i downloaded the fastboot stock rom and while I'm trying to flash it using fashboot in miflash tool it always says Flashing for almost 30 minutes and nothing happens and i try to disconnect it on my laptop and try to go on recovery mode the twrp is gone. So i decided to install again the twrp.img on cmd and i got the twrp and i transferred the corvus v7.0 again from my laptop to my device while im in twrp but i just noticed from 128 it says 9gb available so after flashing the corvus rom again i set it up and try to install messenger and fb but it says no storage available and once i check the storage it showing i only have 9gb I don't know what happened my device is having 128 but it only showing 9gb total and 8.93 gb available i dont know what to do
You format not wipe in twrp the data partition?
I wipe the cache dalvik and the system. I already fixed the issue of the partition now it showing the true 128gb on my rn7 but the problem is still on bootloop i already have the corvus rom I don't know how to go back on stock rom or what rom can i flash to use my device like before?
joke19 said:
You format not wipe in twrp the data partition?
Click to expand...
Click to collapse
kenmark28 said:
I wipe the cache dalvik and the system. I already fixed the issue of the partition now it showing the true 128gb on my rn7 but the problem is still on bootloop i already have the corvus rom I don't know how to go back on stock rom or what rom can i flash to use my device like before?
Click to expand...
Click to collapse
Not wipe, format the data partition after flashing