Hey guys,
a friends 32GB Nexus 5X only shows 10GB of userdata, he never unlocked the bootloader or rooted the phone. I have tried everything, first a factory reset, then i have flashed various factory images, installed twrp and tried resizing and repairing the data and system partition, i have erased userdata and system via fastboot and finally i have flashed lineage os. Nothing helped. Is there a way to maually resize the partiton?
Thanks for your help!
RoterAdler said:
Hey guys,
a friends 32GB Nexus 5X only shows 10GB of userdata, he never unlocked the bootloader or rooted the phone. I have tried everything, first a factory reset, then i have flashed various factory images, installed twrp and tried resizing and repairing the data and system partition, i have erased userdata and system via fastboot and finally i have flashed lineage os. Nothing helped. Is there a way to maually resize the partiton?
Thanks for your help!
Click to expand...
Click to collapse
Sounds like your friend might have a 16gb variant, they end up with about 10gb usable.
Sent from my SHIELD Tablet K1 using Tapatalk
Exile1975 said:
Sounds like your friend might have a 16gb variant, they end up with about 10gb usable.
Click to expand...
Click to collapse
I had that idea too, but the system partition occupies 18gb and in bootloader it says that the phone is the 32gb variant.
Related
Well, i heard about the new releases of Cyanogenmod 11 for the tablet and i'm really excited. I have experience with roms and i read that i need to wipe everything, even the fake sd card partition and i have like 20gb of data there, is it really necesary to wipe it? I tought i could change rom just wiping system data but if it is necessary i would move all that to my pc.
Thanks so much in advance.
By the way, if anyone is using cyanogenmod, does it improve the perfomance on battery and all that? Thanks again for answering.
DiegoConD said:
Well, i heard about the new releases of Cyanogenmod 11 for the tablet and i'm really excited. I have experience with roms and i read that i need to wipe everything, even the fake sd card partition and i have like 20gb of data there, is it really necesary to wipe it? I tought i could change rom just wiping system data but if it is necessary i would move all that to my pc.
Click to expand...
Click to collapse
No need to wipe the SD, a simple factory reset/system format when going from one Rom base to another (from stock to CM in this case) is enough.
Pfeffernuss said:
No need to wipe the SD, a simple factory reset/system format when going from one Rom base to another (from stock to CM in this case) is enough.
Click to expand...
Click to collapse
So the factory reset on twpr recovery wouln't wipe all my data stored on the sd? Have you tried it by yourself? Does Cm11 worth the change? Thank s for the answer and sorry for the lot of questions haha
DiegoConD said:
So the factory reset on twpr recovery wouln't wipe all my data stored on the sd? Have you tried it by yourself? Does Cm11 worth the change? Thank s for the answer and sorry for the lot of questions haha
Click to expand...
Click to collapse
Yup, won't touch the SD at all... Doing it all the time using TWRP 2.6.3.1.
CM11 runs nice here, am using a non-Caf version so more kernels are compatible. Using ElementalX myself :good:
i did something stupid....
i did wipe my sd card.
This is what i get for not paying attention and watching football while i was wiping.
this is what i did:
1) downloaded cm 11 and gapps on tablet
2) went into twrp and did a nandroid.
3) went into advance wipe & wiped everything: dalvic, system, data, internal storage, cache
4) went to install and it was blank so i slapped the forehead
5) went to https://developers.google.com/android/nexus/images#razor and downloaded https://dl.google.com/dl/android/aosp/razor-krt16s-factory-7235eb0d.tgz on the computer
6) also went ahead and downloaded http://download.cyanogenmod.org/get/jenkins/50524/cm-11-20131208-NIGHTLY-flo.zip on the computer
7) also downloaded http://www.mediafire.com/download/ahbnc2k5u5op501/pa_gapps-full-4.4-20131126-signed.zip on the computer
so i am still in twrp.
can i boot into bootloader? is it there?
i thought the image file extension ended in .img
what was downloaded was a .tgz file.
since i dont have an os on the tablet i can not enable usb debugging so will adb work?
im a bit of a noob with adb but i think im about to get a crash course.
Thanks in advance for some advice
error629 said:
i did wipe my sd card.
This is what i get for not paying attention and watching football while i was wiping.
this is what i did:
1) downloaded cm 11 and gapps on tablet
2) went into twrp and did a nandroid.
3) went into advance wipe & wiped everything: dalvic, system, data, internal storage, cache
4) went to install and it was blank so i slapped the forehead
5) went to https://developers.google.com/android/nexus/images#razor and downloaded https://dl.google.com/dl/android/aosp/razor-krt16s-factory-7235eb0d.tgz on the computer
6) also went ahead and downloaded http://download.cyanogenmod.org/get/jenkins/50524/cm-11-20131208-NIGHTLY-flo.zip on the computer
7) also downloaded http://www.mediafire.com/download/ahbnc2k5u5op501/pa_gapps-full-4.4-20131126-signed.zip on the computer
so i am still in twrp.
can i boot into bootloader? is it there?
i thought the image file extension ended in .img
what was downloaded was a .tgz file.
since i dont have an os on the tablet i can not enable usb debugging so will adb work?
im a bit of a noob with adb but i think im about to get a crash course.
Thanks in advance for some advice
Click to expand...
Click to collapse
ok so i cheated and used wugfreshs nexus toolkit.
i did have my bootloader there.
just flashed stock and root.
I think I got myself a Maguro Galaxy Nexus (on ATOM ROM, Android 4.2.2) with a corrupted /data partition.
(Not 100% sure though, so if you think I'm wrong, please tell me)
I can't wipe the /data partition in CWM, nor perform a partial restore for data from nandroid backup. When I try that, CMW crashes and my phone reboots.
I can however still boot the phone normally. Everything else works, just can't do a factory reset in CWM, which I want to do to flash a new ROM.
Any ideas how I can solve this? I'm alright if I loose my data, I got backup. Would like to avoid erasing the virtual sdcard though (takes ages to copy).
Djalaal said:
I think I got myself a Maguro Galaxy Nexus (on ATOM ROM, Android 4.2.2) with a corrupted /data partition.
(Not 100% sure though, so if you think I'm wrong, please tell me)
I can't wipe the /data partition in CWM, nor perform a partial restore for data.
I can however still boot the phone normally. Everything else works, just can't do a factory reset in CWM, which I want to flash a new ROM.
Any ideas how I can solve this?
Click to expand...
Click to collapse
Try via fastboot
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
Try via fastboot
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Try using what command? I can flash roms n gapps no problem, but I can't do factory reset. Is there a command for factory reset in fastboot?
P.S. We are almost neighbours, Schiedamer hier.
*EDIT*
Lol, feel a bit stupid now. I didn't know there was the fastboot command "erase". I erase userdata using fastboot, however, now I got a whole new problem... It got rid of the whole folder, not just the contents. Now there is no data folder. And I forgot that the virtual sdcard is also inside the data folder... Now I got no data at all, nothing to flash...
I'll try to find out what to do, but if anyone reads this soon, perhaps you can help me.
*EDIT2*
Alright, I tried something I've wanted to try a long time now - I connected my USB memory stick (OTG mode) while in CWM. It worked wonders. I have all my zip files (ROM,Gapps,Kernels) on it, so I flashed from there.
EVERYTHING WORKS NOW.
Though my sdcard data is gone, but luckily I backed it up this morning.
P.S. For those of you who don't know, I found out you can restore nandroid from, and backup to the USB memory. I think I won't even put my nandroid and zip files on my phone anymore. I'll keep it on my usb memory.
currently running pure nexus rom 6.0.1 on my n5x and want to upgrade to android n
any way to flash android n update without any data or app loss?
ps: n5x rooted with twrp recovery
Sent from my Nexus 5X
Download the N factory image and extract it. Use fastboot to first flash the bootloader. Then re-boot into the bootloader. Then flash the boot, system, radio, and vendor images. It's always good to back everything up first, just in case. You might have to uninstall then re-install some apps. You'll have to re-flash twrp and SU.
Sent from my Nexus 9 using XDA-Developers mobile app
but i guess
flashing factory image will wipe my internal storage too?
if not then how?
Sent from my Nexus 5X
gtsfreak said:
but i guess
flashing factory image will wipe my internal storage too?
if not then how?
Click to expand...
Click to collapse
He literally just explained step by step how to do it. You can do it this way or use ADB sideload like I did. Some apps needed to be reinstalled, but all of my internal storage was kept.
Okay thanks
Sent from my Nexus 5X
So I was running my Op3 encrypted since I bought it, and got sick of twrp asking me for password every time I want to flash something and I decrypted it, formated userdata, flashed ROM and flashed elementalx kernel to avoid encryption upon first boot, and now, my phone has only about ~24gb storage left, when I go into settings>storage my system is occupating about 29gb, can someone tell me how to solve this?
Bump! Anyone please?
Nothing?
Try doing a factory reset.
Had a similar issue after returning my nexus 5x to stock (~10gb free instead of ~25). Factory reset from Settings > Backup and Reset fixed it. Not sure if a wipe from TWRP will do the same, but you can give it a shot.
coomac said:
Try doing a factory reset.
Had a similar issue after returning my nexus 5x to stock (~10gb free instead of ~25). Factory reset from Settings > Backup and Reset fixed it. Not sure if a wipe from TWRP will do the same, but you can give it a shot.
Click to expand...
Click to collapse
Tried wipe from twrp, and fastboot format userdata, and it didnt work, nevermind, im back CB, waiting for Nougat...
ach3fck said:
So I was running my Op3 encrypted since I bought it, and got sick of twrp asking me for password every time I want to flash something and I decrypted it, formated userdata, flashed ROM and flashed elementalx kernel to avoid encryption upon first boot, and now, my phone has only about ~24gb storage left, when I go into settings>storage my system is occupating about 29gb, can someone tell me how to solve this?
Click to expand...
Click to collapse
I also faced this problem few days back..
I think problem comes when i do format data with fastboot command.
Then i do this..
1 Flash stock rom any
2 Flash superuser, ex kernel/bluspark.
3 Reboot phone
I got whole storage about 54 gb but phone is still encrypted.
4 Then reboot to recovery i wiped whole data including internal storage via twrp.
5 Than flash any custom rom.
I finally got PN on my PixelXL and just looked at storage and it says the system uses 19.9 GB and I'm wondering if I can clean the alternate slot to free up this space
My 128gb XL on latest update only use 6.79gb system
Sent from my Pixel XL using XDA-Developers Legacy app
You need to flash a factory image which will wipe all data as I had the same issue I believe its the only fix as you need a full wipe to fix and if your going to full wipe your better off to just flash a full factory image and be 100% factory fresh.
M9guy said:
You need to flash a factory image which will wipe all data as I had the same issue I believe its the only fix as you need a full wipe to fix and if your going to full wipe your better off to just flash a full factory image and be 100% factory fresh.
Click to expand...
Click to collapse
I had the same issue. This ^^^ was the only fix.
toknitup420 said:
I had the same issue. This ^^^ was the only fix.
Click to expand...
Click to collapse
Did you try > fastboot format userdata
cam30era said:
Did you try > fastboot format userdata
Click to expand...
Click to collapse
Formatting didn't work for me. I needed fresh system image too
What I did was flash the new Google image then I locked the boot loader then unlocked it again. When I booted up, my storage was back to normal. After that I flashed the custom ROM. This has happened to me often.
Yamalito said:
What I did was flash the new Google image then I locked the boot loader then unlocked it again. When I booted up, my storage was back to normal. After that I flashed the custom ROM. This has happened to me often.
Click to expand...
Click to collapse
If you are on Verizon, DO NOT LOCK BOOTLOADER! Just a friendly reminder.
Yamalito said:
What I did was flash the new Google image then I locked the boot loader then unlocked it again. When I booted up, my storage was back to normal. After that I flashed the custom ROM. This has happened to me often.
Click to expand...
Click to collapse
That's a silly way of wiping data. Factory reset from os or fastboot erase userdata will accomplish the same thing.
tiny4579 said:
That's a silly way of wiping data. Factory reset from os or fastboot erase userdata will accomplish the same thing.
Click to expand...
Click to collapse
If someone is going to format user data they might as well flash the newest factory image. It just makes sense its also preventative maintenance and can keep your phone running at top performance.
M9guy said:
If someone is going to format user data they might as well flash the newest factory image. It just makes sense its also preventative maintenance and can keep your phone running at top performance.
Click to expand...
Click to collapse
Flashing the image is fine. Locking and unlocking the bootloader is unnecessary and should not be done if you're just trying to format. Locking th bootloader while playing around with a messed up system is the perfect storm for a bricked device.
toknitup420 said:
Flashing the image is fine. Locking and unlocking the bootloader is unnecessary and should not be done if you're just trying to format. Locking th bootloader while playing around with a messed up system is the perfect storm for a bricked device.
Click to expand...
Click to collapse
Oh definitely, I never would recommend to relock the bootloader that would be just asking for trouble. I replied to the guy saying to just wipe user data, which if your going to do that it just makes sense to flash the newest factory image and make good use of wiping user data and get back to factory fresh in the process that is just a no brainer.
I agree that locking and unlocking bootloader is silly, it can cause trouble, I'm aware of that, however that was the ONLY thing that worked for me in this case. I tried everything and the storage was still at 19 GB. I'm sorry if the method that worked for me is silly and unorthodox but for me that is all that worked. It's happened to me three times.