[Q] TWRP shows 0 MB Internal storage, cannot mount Data - Nexus 5 Q&A, Help & Troubleshooting

My Nexus 5 is running Cyanogenmod 11 and seems to be working just fine. However, when I get a prompt to install a Cyanogenmod update, the phone reboots to recovery, attempts to install the update, and fails. I have found that this seems to be caused TWRP showing 0 MB internal storage and not being able to mount Data. Again, the phone works fine except for this weirdness.
I should also add that it does strange things after I reboot from recovery. First, the Phone app continually stopped, then was fine a while after. Then Google Play Services was constantly crashing, so I uninstalled the updates and it started working. And finally, Cyanogenmod gave the initial setup screen the last time I rebooted from recovery, though it only went through language and time zone.
As a final note, I don't really know a whole lot about Android in terms of the more advanced things, so try to keep any suggestions relatively noob friendly. Thanks.

Please can you open the zip you're flashing and get the updater-script from meta-inf/com/Google/android, rename to a .txt file and upload here?
I think cm updates are using wrong /sdcard location.
Sent from my Nexus 5 using Tapatalk

rootSU said:
Please can you open the zip you're flashing and get the updater-script from meta-inf/com/Google/android, rename to a .txt file and upload here?
I think cm updates are using wrong /sdcard location.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
There ya go.

windoge said:
There ya go.
Click to expand...
Click to collapse
Thanks.
That looks fine actually...
What's the actual error message you get? Are there any logs in /cache/recovery?

restorecon sdcard
su
restorecon -rF /data/media/0

rootSU said:
Thanks.
That looks fine actually...
What's the actual error message you get? Are there any logs in /cache/recovery?
Click to expand...
Click to collapse
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
hrbwaxdoll said:
su
restorecon -rF /data/media/0
Click to expand...
Click to collapse
Not sure what to do with that. Terminal editor? TWRP?

windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and dirty flash it. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app

windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and dirty flash it in recovery. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app

windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and dirty flash it in recovery. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app

windoge said:
Here's a log.
Should also mention that, since posting this thread, the details of the issue seem to have changed. TWRP now shows the proper amount of space rather than 0MB and is able to mount all partitions. At this point, installing the update just fails for some reason.
Not sure what to do with that. Terminal editor? TWRP?
Click to expand...
Click to collapse
Download the zip and flash it in recovery. Skip the updater http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 06:20 PM ---------- Previous post was at 06:19 PM ----------
Wtf?
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Download the zip and dirty flash it. Skip the updater
http://download.cyanogenmod.org/?device=hammerhead
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Still doesn't work, causes same problem.
Also, here's the error message:
Code:
assert failed: apply_patch_check("/system/priv-app/SystemUI.apk","db0ed1023cv7e3ef6b1a02beab40a3042e078b68","78af477050e20251e9f5eebb39bf57b68ca8ad74")
E:Error executing updater binary in zip '/cache/cm-hammerhead-1f023a4eca-to-a3225bddbd-signed.zip'
Updating partition details...

windoge said:
Still doesn't work, causes same problem.
Also, here's the error message:
Code:
assert failed: apply_patch_check("/system/priv-app/SystemUI.apk","db0ed1023cv7e3ef6b1a02beab40a3042e078b68","78af477050e20251e9f5eebb39bf57b68ca8ad74")
E:Error executing updater binary in zip '/cache/cm-hammerhead-1f023a4eca-to-a3225bddbd-signed.zip'
Updating partition details...
Click to expand...
Click to collapse
Are you using the latest version of twrp?
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Are you using the latest version of twrp?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Must be. I just reinstalled it and get the same error.

windoge said:
Must be. I just reinstalled it and get the same error.
Click to expand...
Click to collapse
I got the same error in my Samsung Galaxy S3. Either TWRP 2.8.1.0 or 2.6.3.1 didn't work. It may be some securities don't allow to read storage.
I got my phone rooted by towelroot and install TWRP using Flashify.

same problem

I have j710F with stock android 6.0.1,I flashed twrp two but when i booted into recovery I was facing the problem of 0 mb internal storage so I formatted the data and the problem was fixed but when I rebooted my phone into system and made the whole setup again and after that I again booted into recovery the problem was again the same so i again repeated the whole process and the result is same....
I wamt to flash a custom rom but couldn't due to this problem can anybody help me?

Related

CWM 3+ / Edify compatible DK28 mods - Updated 13 Jan 2011

Gents,
This didn't take much effort, but I wanted to provide it since I think others can benefit from it.
The updated mods are available at http://android.linuxkidd.com/edify/ due to the size restrictions of attachments here at XDA. These are compatible with both the older Clockwork Mod versions as well as with the new 3.0.0.x which only supports Edify scripting.
I have flashed and verified the aosplock.zip to be 100% functional.
The remaining files have been modified in the same way, but were not tested. Any reports regarding errors received during the flashing process are desired.
NOTE: Original credit for these mods go to Dameon87 and were downloaded from his google code site, then modified with the new scripting.
All available mods:
Code:
297411 Jan 13 20:44 aosplock.zip
4644739 Jan 13 20:44 huluflash.zip
10191121 Jan 13 20:44 samapps.zip
11931285 Jan 13 20:44 samwidgets.zip
7692093 Jan 13 20:44 sprintapps.zip
1453370 Jan 13 20:44 stockemail.zip
Installation Instructions
----------------------------------
* adb reboot recovery
* Flash the Zip file(s)
* Reboot
If you don't get any errors during the flashing of the Zip files, then all should be fine. If for some reason, the desired outcome is not obtained, please post to this thread. However, keep in mind... I simply updated the installation script for the add-ons. I did not create the add-ons. Hopefully, someone from the community can help figure out where things went wrong.
Enjoy!
LK
--- NOTE: These have been updated as of Jan 13 to correct the installation script. Please report on the new format.
Nice! I'm stoked on this.
Umm this is weird...are there prerequisites for this?
I'm still running di18, still on rfs, rooted with baked snack and app2sd (the whole paritioned sd card thing). I wanted to try out the hulu. Flashed with cwm, nothing failed...but I can't find it anywhere. Is the app2sd messing it up? Its not in system/app, system/sd/app, or system/data
Sent from my baked and emotionless SPH-D700
These mods are specifically targeted at DK28 ROMs, so your milage may vary.
Aside from that, there won't be anything noticable on the device. But, if you browse to Hulu ( make sure you have Plugins turned completely ON, and not 'On-Demand' in the browser ), you should be able to watch Hulu content.
LK
linuxkidd said:
These mods are specifically targeted at DK28 ROMs, so your milage may vary.
Aside from that, there won't be anything noticable on the device. But, if you browse to Hulu ( make sure you have Plugins turned completely ON, and not 'On-Demand' in the browser ), you should be able to watch Hulu content.
LK
Click to expand...
Click to collapse
tried the hulu flash but when i opened it, there was a message that said that hulu is working on providing streaming to mobile phones and that its not supported on my phone as of now? it was after installing the huluflash
I am on Quantum Rom v2.7.0.DK28 via CWM 3.0.0.5. I just attempted the hulu flash mod and it doesn't seem to work. I did make sure that flash updates were uninstalled, auto updates turned off, plugins set to always on, and Dolphin browser HD User Agent was set to Desktop.
There was no error during the flash. I got:
ClockworkMod Recovery v3.0.0.5
Checking for ext4 partitions...
Checking /system...
Checking /data...
Checking /cache...
Done!
--Installing: /sdcard/huluflash.zip
Finding update package...
Opening update package...
Installing update...
Install from sdcard complete.
Hulu gives the usual error of "unfortunately, Hulu is not supported by your platform..."
I just tried aosp lockscreen and samapps and both did not work. It said install complete but cw 3005 did not automatically reboot. It just said installation complete. I had to reboot manually and when phone started no change to lockscreen and samapps were not installed.
Dont think it was the right link...upload dates are from last year...
Sent from my SPH-D700 using XDA App
I could be wrong but are you guys making sure to reboot recovery into the EXT4 version before you flash?
USMC_LOPEZ said:
Dont think it was the right link...upload dates are from last year...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Jan 6 2011 was last year?
Sent from my SPH-D700 using XDA App
I stand corrected it works... once flash go to your sd and look for the hulu app in data and then install.hope this helps and thanks kidd.
Sent from my SPH-D700 using XDA App
Lol I clicked on the wrong link...sorry guys
Sent from my SPH-D700 using XDA App
USMC_LOPEZ said:
I stand corrected it works... once flash go to your sd and look for the hulu app in data and then install.hope this helps and thanks kidd.
Click to expand...
Click to collapse
Sadly, it still shows:
"Unfortunately Hulu is not supported on your platform..."
On another note, I also flashed the AOSPLock, but my lock screen did not change upon reboot. Anything else that needs to be done (like the Hulu install)?
nubsors said:
I could be wrong but are you guys making sure to reboot recovery into the EXT4 version before you flash?
Click to expand...
Click to collapse
CWM 3.0.0.5
Checking for EXT 4
All pass
I do believe so
They install correctly but neither the AOSP lockscreen appears or the Samsung widgets.
Hold on I got a working link for the aosp...i have it on my cell
Sent from my SPH-D700 using XDA App
http://www.multiupload.com/QFZIDHARQ9
Sent from my SPH-D700 using XDA App
Thats should work
Sent from my SPH-D700 using XDA App
Dude... If you installed the flashes the hulu zip... Reboot and go into your sd card and look for the zip you flashed... then select it and open it... you then see data folder... click on that and select the hulu apk file... install... I noticed that its an app not available on the market and it totally wotks.
Sent from my SPH-D700 using XDA App
*
Sent from my SPH-D700 using XDA App
USMC_LOPEZ said:
http://www.multiupload.com/QFZIDHARQ9
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Watch the quintuple post there my friend
But thank you sir, looking at this script told me why it isn't working.
TO ANYONE TRYING TO INSTALL AN EDIFY SCRIPT, AND UPON REBOOT THE INSTALLED .ZIP IS NOT SHOWING:
Make sure you wipe Cache and Dalvik Cache before installing .zips.
Wipe both
Install .zip
Reboot
Profit

[Q] Upgrade to 4.3.3 problem with recovery twrp

Hi!
I've a big problem...
My nexus 5 configuration: TWRP recovery - Root privileges - Android 4.2.2
The smartphone notified me the availability of Android 4.3.3. I accepted and the package has been downloaded. The phone has rebooted, but there was no trace of the installation. The phone is divided into TWRP recovery.
I rebooted the system from recovery. The system is still Android 4.2.2 and tells me that the system is updated. In fact he says "last update check xx.xx" (where xx.xx is the hour).
Do you have suggestions on how to proceed?
You're my only hope!!
Thank you,
xSliv3r
you have to manually select the ota file to install with twrp. its in /cache i think, but im not 100% sure of that location
Zepius said:
you have to manually select the ota file to install with twrp. its in /cache i think, but im not 100% sure of that location
Click to expand...
Click to collapse
thanks zeus, I think ... I try immediately! I'll keep you updated!
nope...
In cache there is a file called d173d.....signed . I've try to install it but it's failed...
xSliv3r said:
nope...
In cache there is a file called d173d.....signed . I've try to install it but it's failed...
Click to expand...
Click to collapse
You can get the update zip here and info on how to install it http://forum.xda-developers.com/showthread.php?p=47369234
Sent from my Nexus 5 using XDA Free mobile app

App not installed

So a lot of apps just refuse to install on my Nexus 5. They just don't install. After I press Install on the permissions screen, it just gives me an error "App Not Installed". I've tried installing from the apk as well. I have tried deleting all the /data folders. I have changed my ROM too. Anyone has a fix for this?
harsh2193 said:
So a lot of apps just refuse to install on my Nexus 5. They just don't install. After I press Install on the permissions screen, it just gives me an error "App Not Installed". I've tried installing from the apk as well. I have tried deleting all the /data folders. I have changed my ROM too. Anyone has a fix for this?
Click to expand...
Click to collapse
This is the wrong place to ask. Is your storage full?
Sent from my Nexus 5 using XDA Free mobile app
luisangel89 said:
This is the wrong place to ask. Is your storage full?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Oh sry. Mistakenly posted in the wrong section. Got confused by the multiple tabs. Solved the issue anyway. Thanks!
harsh2193 said:
Oh sry. Mistakenly posted in the wrong section. Got confused by the multiple tabs. Solved the issue anyway. Thanks!
Click to expand...
Click to collapse
So?
What was it? Some display dimming app?
beekay201 said:
So?
What was it? Some display dimming app?
Click to expand...
Click to collapse
Nope. It was actually something in android itself. Had to change the default app install location from Auto to Internal using the terminal. Since the nexus 5 doesnt have and external SD, apps cant be installed on it but sometimes androids "Auto" install location doesnt work and tries to install apps into the external sd card. Thats why the app installs fail.

Help!! Can't restore from a nandroid backup

I cant restore from a nandroid backup.
I get error messages
E: Unable to find file system (first period)
E: Cannot restore system -- mounted read only
Can anybody help? Please!
david_inuk said:
I cant restore from a nandroid backup.
I get error messages
E: Unable to find file system (first period)
E: Cannot restore system -- mounted read only
Can anybody help? Please!
Click to expand...
Click to collapse
Fixed by updating to the latest version of TWRP
Sent from my MI 4i using XDA-Developers mobile app
david_inuk said:
Fixed by updating to the latest version of TWRP
Sent from my MI 4i using XDA-Developers mobile app
Click to expand...
Click to collapse
Can you share link for latest version of TWRP?
0967894983 said:
Can you share link for latest version of TWRP?
Click to expand...
Click to collapse
I used the TWRP app which downloaded and flashed the correct version for me automatically.
The app is however slightly confusing to use!
You need to click on the + icon to get at the options.

[H918] TWRP Flashable Stock Firmwares

with little to no activity lately for the LGV20, specifically the H918 T-Mobile variant I decided to look into creating a TWRP flashable package for the recent H91810k release. these zips flash every partition included in the latest KDZ package with the exception of recovery to keep TWRP. standard disclaimer applies, you do all of this at YOUR OWN risk! I've tested this on my device after backing up and so far so good on the latest 10k release. please report back in this thread on whether it was successful or not.
NOTE: you can find the partitions that will be flashed in the updater-script. to be extra cautious you can back up all of the partitions that will be overwritten with the following: dd if=/dev/block/bootdevice/by-name/{partition} of=/external_sd/backup/{partition}.img.
Instructions:
download H91810k.zip file listed below and put on microSD card
backup any data from internal "SD card"
boot into TWRP (requires TWRP recovery to already be installed)
create a TWRP backup of the device
flash zip from microSD card by using "Install"
flash your choice of root, either Magisk or SuperSU *Note: v12.0 of Magisk does not work with the LGV20 device in general and v11.6 is recommended.
reboot
profit!
Download:
H91810k
md5sum: ab181ec82315b656a7af48f0017f4e8c - version 1 with misc partition included (SORRY)
md5sum: 8ad07ae70c4299b3ea6e2bf747dbec1c - version 2 with misc partition removed
Flashing Process:
flash necessary partition images with the exception of recovery (to keep TWRP) from the KDZ
rename /system/recovery-from-boot.p to /system/recovery-from-boot.bak to prevent stock recovery from being installed on boot
wipes dalvik-cache and cache
BIG thanks to @McNutnut on guidance, as well as his script to put all of this together!
also thanks to @bullghost for the KDZ extractor (https://forum.xda-developers.com/showthread.php?t=2600575)
@Tilde88 for the original updater-script template w/root (https://forum.xda-developers.com/v20/development/us996-nrd90m-modded-notsostock-rom-v5-1-t3526542)
First! This is sweet!
I just tried this and it works great. I prefer to use the stock rom and to get a rooted 10k that doesn't have any known security vulnerabilities is awesome. Some notes for others:
Copy SuperSU to the external SD card and flash it after this zip in TWRP.
Make sure to select all the partitions for back up in TWRP.
On the first boot after flashing, the phone will reboot by itself. This is probably normal. You will get an "Android is upgrading..." white screen. This is expected since the cache was wiped by the script. This will take a while to complete. Even when you get back into the system, an "Android is upgrading..." message will appear in the notification bar.
Clarification: The data on /sdcard doesn't get wiped, but it's a good idea to back it up just in case. The TWRP backup of the data partition does NOT include this stuff in the backup.
I had Busybox installed before, but I didn't have to reinstall it after the flash. I'm not sure why. I assumed that wiping out system would have required me to re-install Busybox. I guess Busybox doesn't get installed on the system partition?
Adblocking using apps like AdAway need to be rerun since the hosts.txt file will be reset.
Ignore the stuff under "Process" in the OP. It's explaining what the script does. You don't have to do any of that.
The script disables the updater software. You never have to worry about the next stock release causing you trouble!
I am having problems downloading this? I tried twice and it downloads but I cant find it?
Sent from my LG-H918 using XDA-Developers Legacy app
Big thanks for this! Have been patiently waiting for a 10k stock rom with firmware!
Sent from my LG-H901 using Tapatalk
what the hell man! I lost my twrp!!!! Now I only see stock recovery! DONT INSTALL THIS ROM!!!!
Hsinghr said:
what the hell man! I lost my twrp!!!! Now I only see stock recovery! DONT INSTALL THIS ROM!!!!
Click to expand...
Click to collapse
pretty sure if that's the case then YOU did something wrong... the recovery image is NOT in this package at all so TWRP is left untouched.
jason504 said:
I am having problems downloading this? I tried twice and it downloads but I cant find it?
Sent from my LG-H918 using XDA-Developers Legacy app
Click to expand...
Click to collapse
what are you using to download?
I HAD TWRP and and after a while it went back to stock recovery
You did something other than flash the rom in this thread. Maybe you're confusing this thread with this one? https://forum.xda-developers.com/v20/how-to/t-mobile-lgv20-h91810k-kdz-t3618021
If that's what you flashed, you will definitely end up with stock recovery and no root.
I've tried to install this ROM but it skips through each of partition rather quickly and it never installs. I'm on H91810j with root and TWRP installed. Any ideas? Thanks.
ctalbot said:
I've tried to install this ROM but it skips through each of partition rather quickly and it never installs. I'm on H91810j with root and TWRP installed. Any ideas? Thanks.
Click to expand...
Click to collapse
Did you have an external MicroSD card installed in your phone? Are you using that external MicroSD card to store the files to be flashed? What version of TWRP are you using?
Yep, on microsd. TWRP 3.0.2-1
OP says 10k, but you're on 10j?
Correct, currently on 10j
ctalbot said:
I've tried to install this ROM but it skips through each of partition rather quickly and it never installs. I'm on H91810j with root and TWRP installed. Any ideas? Thanks.
Click to expand...
Click to collapse
I would verify the md5sum of the downloaded file you have to what it should be, which is ab181ec82315b656a7af48f0017f4e8c
dimm0k said:
what are you using to download?
Click to expand...
Click to collapse
I got it I had to download it on my PC then send it to my phone. I flashed it and everything went fine thanks. I don't know why I was having problems downloading on my phone.
Sent from my LG-H918 using XDA-Developers Legacy app
-edit- bad cuestion, sorry
dimm0k said:
I would verify the md5sum of the downloaded file you have to what it should be, which is ab181ec82315b656a7af48f0017f4e8c
Click to expand...
Click to collapse
Hmm...the zip I downloaded has a checksum of 76bbccc0c9640d7f0005b529abf3873a and it uncompresses without issue!? Was there an earlier release?
Going to download again...
Hsinghr said:
I HAD TWRP and and after a while it went back to stock recovery
Click to expand...
Click to collapse
Can you provide more detail on what you did? You made a pretty strong statement that you lost TWRP.
Did you follow and flash what was written by the OP? Did you do flash something else after flashing what was provided by the OP? Or did you really have TWRP the whole time?
Not looking to cause an an argument but your 2 posts in this thread have made me hesitate flashing.
Sent from my LG-H918 using Tapatalk

Categories

Resources