Nexus 5 E:primary block device,y-name/userdata for mount point /data is not present! - Nexus 5 Q&A, Help & Troubleshooting

Hi guys,
I've got a trouble. My phone has turned off and had a google screen loader . I can turn on TWRP and the phone is shown on the computer, but i can't push any file in "can not copy file" and the phone is empty. A few months ago i had the same trouble, on my phone all the files dissapeared and after 15 times of reloading it turned on and all the files appeared and it was working a week then it repeated when the phone turned on again i reinstalled SuperSu and the phone was working for 2 months correctly, but this trouble repeated tomorrow again.
When i turn it off i can see this
E: primary block device /dev/block/platform/msm_sdcc/1./b
y-name/userdata for mount point /data is not present!
E:unable to mount /data
E:unable to find partition size for /boot
E:unable to find partition size for /recovery
E:unable to find partition size for /misc
E:unable to find partition size for /radio
E:unable to find partition size for /sbl1
E:unable to find partition size for /tz
E:unable to find partition size for /rpm
E:unable to find partition size for /sdi
E:unable to find partition size for /aboot
E:unable to find partition size for /imgdata
E:unable to find partition size for /efs1
E:unable to find partition size for /efs2
I'm so sorry for my English, but people on my native forum couldn't help me.

I have solved this problem I have just installed recovery 3.0 from fastboot and it has worked, there are all the files on my phone.

Related

CWM won't restore image

When trying to restore a backup image in CWM recovery i get an error. log shows the following:
Code:
Error while restoring /system!
block groups: 12
reserved block group size: 95
Created filesystem with 11/96000 inodes and 12609/384000 blocks
unable to copy file ./app/accuweatherdaemon.apk
system
lost+found
app
accuweatherdaemon.apk
error while restoring /system!
I:Can't partition non-vfat: datamedia
I:Can't partition unsafe device: /dev/block/mmcblk1p1
I:Can't format unknown volume: /emmc
phone won't boot now, trying to avoid having to download an image and flash via odin.
any help is much appreciated!
rocktonic said:
When trying to restore a backup image in CWM recovery i get an error. log shows the following:
Code:
Error while restoring /system!
block groups: 12
reserved block group size: 95
Created filesystem with 11/96000 inodes and 12609/384000 blocks
unable to copy file ./app/accuweatherdaemon.apk
system
lost+found
app
accuweatherdaemon.apk
error while restoring /system!
I:Can't partition non-vfat: datamedia
I:Can't partition unsafe device: /dev/block/mmcblk1p1
I:Can't format unknown volume: /emmc
phone won't boot now, trying to avoid having to download an image and flash via odin.
any help is much appreciated!
Click to expand...
Click to collapse
could this be because the backup is on an external SD card? if so, is there any way to move it without being able to boot?

[HELP] Phone stucks at booting!

Okay, i had Marcel's CM10 with his kernel and i wanted to try miui v4 (http://forum.xda-developers.com/showthread.php?t=1527336) ...so i did a backup, wiped all, (factory reset/dalvik wipe), then flashed miui and strarted...but it stuck at bootlogo!
I retried the whole process, the last time i did factory reset again after flashing, but still the same... Then i wanted to restore backup...so i first wiped all, flashed CM10 again, installed my app2script, and restored. But i aborted at data restore cause of mount error...of course, i retried, this time only wipe and cm10, but it still stucks...only formatting data gives error "[E] format_volume make_extf4fs failed on /dev/block/st17.
/data not wiped"... Please help!
Sent from my Nexus 7 using Tapatalk 4 beta
Here is the CWM log at wiping with the error:
Starting recovery on Tue Jul 16 11:29:45 2013
framebuffer: fd 4 (240 x 400)
CWM-based Recovery v5.0.2.8
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /boot bml boot (null)
2 /cache rfs /dev/block/stl8 (null)
3 /data ext4 /dev/block/stl7 (null)
4 /system ext4 /dev/block/stl6 (null)
5 /sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
6 /sd-ext ext4 /dev/block/mmcblk0p2 (null)
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
I:Completed outputting fstab.
Irocessing arguments.
I:Checking arguments.
I:device_recovery_start()
stat() of /dev/block/stl7 succeeded on try 1
Command: "/sbin/recovery"
/*Build props*/
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
-- Wiping data...
Formatting /data...
Need size of filesystem
E:format_volume: make_extf4fs failed on /dev/block/stl7
Formatting /cache...
I:Formatting unknown device.
Formatting /sd-ext...
Creating filesystem with parameters:
Size: 511539200
Block size: 4096
Blocks per group: 32768
Inodes per group: 7806
Inode size: 256
Journal blocks: 1951
Label:
Blocks: 124887
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/31224 inodes and 4013/124887 blocks
Formatting /sdcard/.android_secure...
I:Formatting unknown device.
Data wipe complete.
Try this: Flash a rom in Odin and then install cm10 again and when its installed reboot recovery and try with restore. That always helped me on my old g3 when i had problems
Sent from my GT-I9100 using xda app-developers app
Worked after temporarely flashing CM7 via CWM!
Sent from my Nexus 7 using Tapatalk 4 beta
DELETED
DELETED
Sent from my GT-I8160 using xda app-developers app
G3 - Made a mistake
Hi there !
I'm new to this forum just for the Samsung Galaxy 3 Apollo GT-I5800 even I've got a Samsung Galaxy S3 LTE (GT-I9305) I still wanted that one to work after reading different threads on this forum...
What I've done is I've wiped the phone without making any backup before that, which is my first mistake... Before that I did not root the phone :crying: Which is my another mistake... Now the phone is getting stucked on the boot with a Samsung GT-I5800 writing on the screen...
The Memory Card is completely new so I ain't got any data on it... I am very new to the phone systems and I'd need step by step instructions if any1 could be that kind and do it for me please.
The phone is on 2.2 Android and I'd like that phone to be for gaming for my gf so I need some good performance ROM I thought something like KEvolution v1.1 or Kyrillos' ROM
Wiping the phone should not cause a bootloop, especially if you aren't rooted and have no custom ROM...
Flash another rom with ODIN.
I've already tried it. It won't work. That's the problem. If u need any info about it just let me know what is it that u want and I'll get it for ya.
Writin on my Phone usin tt.

[Q]"I:Can't format unknown volume: /external_sd" in CTRecovery

Hi XDA Users,
Before asking help, i would like to say that I'm newbies, i'm little bit lost here, and i don't know if i have the permission to post this question here. Sorry if i make a mistake
I have an error when i try to launch a CWM(Edify) script. :
I:Can't format unknown volume: /external_sd
Click to expand...
Click to collapse
I tried to change updater-binary(No change) and I tried to use empty updater-script: this error is not linked at a command line in my script(No change)
The recovery used is Carliv Touch Recovery porting on my device(Wiko Highway)(link: http://forum.xda-developers.com/showthread.php?t=2471479) he works without problems, but i noticed that i have some bad line in my /etc/fstab. I tried to repack a new .img whith good /etc/fstab version but my device was stay on boot image. I have restore my first recovery.img
My question is: CWM try to mount all partition in /etc/fstab at start of updater-script? And if yes, can i disable this function.
I you see something for my recovery problems, i take all tips!
Thanks for you attention,
Antoine
PS: I have forgot to say that I'm french with a very bad english level, but don't worry, i work on this x)
YES!
I have finally found the error in my recovery: my Fstab has some bad device. Now, it's work!
but update-binary will not work
I have this:
-- Installing: /sdcard/update.zip
Finding update package...
I:Update location: /sdcard/update.zip
Opening update package...
Installing update...
E:Error in /sdcard/update.zip
(Status 0)
Installation aborted.
I:Can't partition unsafe device: /dev/block/mmcblk0p8
I:Can't format unknown volume: /external_sd
I:Can't format unknown volume: /emmc
Click to expand...
Click to collapse
For info, this is my /etc/fstab:
# mount point fstype device [device2]
/boot emmc /dev/bootimg
/cache ext4 /dev/block/mmcblk0p6
/data ext4 /dev/block/mmcblk0p7
/misc emmc /dev/misc
/recovery emmc /dev/recovery
/system ext4 /dev/block/mmcblk0p5
/sdcard vfat /dev/block/mmcblk0p8
/sd-ext auto /dev/block/mmcblk0p2
Click to expand...
Click to collapse
I feel that the error is in recovery... but i don't found an fonctionnal ROM for my phone(remember: Wiko Higway)
Thanks for you attention
Bummer
Sent from my One S using xda app-developers app
Can you please give me your recovery for the Highway?
Thank you.

[Completed] internal memory brick by twrp recovery (0mb left internal storage)

hello accidently i brick my internal storage memory...
what i've done :
twp recovery > partition sd card>Change value (EXT Swap/ swap size)
now if i go in file mannager (twarp> (internal memory 0 / external storage XXXX)
If i try to Advanced wipe
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount Storage.
If i try to install rom... same
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount Storage.
please i need help step by step
Lenovo a328
yonut32 said:
hello accidently i brick my internal storage memory...
what i've done :
twp recovery > partition sd card>Change value (EXT Swap/ swap size)
now if i go in file mannager (twarp> (internal memory 0 / external storage XXXX)
If i try to Advanced wipe
Updating partition details...
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount Storage.
If i try to install rom... same
E:Unable to mount '/cache'
E:Unable to mount '/data'
E:Unable to mount '/system'
E:Unable to mount Storage.
please i need help step by step
Lenovo a328
Click to expand...
Click to collapse
Hello. You can try asking here http://forum.xda-developers.com/android/help where someone might help you with your issue.
Good luck

Mount errors when using compiled TWRP with UBIFS support

I have compiled the TWRP custom recovery using @yuweng 's excellent AIO-TWRP-Compiler script on BBQLinux.
I cloned the OmniROM repositories, and chose the Android 5.1 branch. (My device, the Tinashi DigiLand DL718M, runs Android 5.1)
When I made the device tree, it directed me to this Gerrit request from @Dees_Troy , so I downloaded and applied that patch to my omni/bootable/recovery directory, and removed that check from twrp shell script.
I then compiled TWRP and had one error:
Code:
In file included from bootable/recovery/ui.cpp:36:0:
bootable/recovery/roots.h:30:1: error: 'Volume' does not name a type
Volume* volume_for_path(const char* path);
I found someone with a similar problem who said to just comment out the line, which fixed the problem and allowed it to build successfully.
I then flashed it using SP Flash Tool and it booted (amazing in itself since I didn't unlock the bootloader), but had the following errors, presumably because /system, /cache, and /data are UBIFS partitions:
Code:
I:Processing '/boot'
E:Unable to find partition size for '/boot'
I:Processing '/recovery'
E:Unable to find partition size for '/recovery'
I:Processing '/cache'
E:bad mtd index for /dev/cache
I:Processing '/data'
I:Setting up '/data' as data/media emulated storage.
I:Created '/sdcard' folder.
E:bad mtd index for /dev/usrdata
E:bad mtd index for /dev/usrdata
E:Unable to recreate /data/media folder.
I:Processing '/misc'
E:Unable to find partition size for '/misc'
I:Processing '/system'
I:Processing '/sd-ext'
I:Created '/sd-ext' folder.
I:Backup folder set to '/data/media/TWRP/BACKUPS/DL718M'
I:Settings storage is '/data/media'
Updating partition details...
E:bad mtd index for /dev/cache
E:bad mtd index for /dev/usrdata
E:bad mtd index for /dev/android
I:Unable to mount '/sd-ext'
I:Actual block device: '', current file system: 'vfat'
...done
E:bad mtd index for /dev/usrdata
E:Unable to mount storage.
Here is the output of all of the commands I used to find the partitions on my device (cat /proc/dumchar_info and more), as well as recovery.fstab (used in building) and recovery.log.
Note: Since slashes are invalid in filenames, I have replaced slashes in the commands I ran with periods.
How can I get it to mount my UBIFS partitions properly?
Any help is appreciated.
If any more information is needed, please let me know!
UPDATE: I've now gotten it to work using mtd names in recovery.fstab (kind of). I have updated my recovery.fstab in the link.
However, now all of the SELinux contexts on /system, /data, and /cache are
Code:
u:object_r:unlabeled:s0
.
@Dees_Troy will your patch work with SELinux?
UPDATE 2: I have confirmed by attempting chcon that @Dees_Troy 's patch does NOT implement SELinux support.
I know its over a year old this post but your problem was that you were setting your mount points as /dev/boot etc only emmc devices use such layout also using dumchar and mtd commands will not isaue the correct mount points for it nor the fstabs unfortunately,
To mount ubifs properly you need to set mounts out for all ubifs partitions see the example below
/system..... ubifs......system
/cache....... ubifs......cache
/data...........ubifs......userdata
/fat............. vfat.......fat
/expdb.......yaffs2....expdbd
/nvram.......yaffs2....nvram
/sec_ro.......mtd.......sec_ro
/pro_info....mtd.......pro_info
/boot..........mtd.......boot
/recovery...mtd.......recovery
/misc.........mtd.......misc
Alternatively you can also add the second block device mount also which would look something like this for example
/system....ubifs....system.../dev/ubi0_0
/cache....yaffs2....cache..../dev/block/mtdblock15
/boot.........mtd......boot....../dev/block/mtdblock8
any chance you have a link at all to your recovery?? id be keen to port it over for my MT6572 ubifs china phone if you wouldnt mind me doing so ? ive got ubifs chinaphone ive built CM 11 for and also got a TWRP 2.7 for ubifs to work after some porting but is very very buggy to say the least and dosent flash roms properly also got twrp 3.1.0 to work BUT wont mount ubifs will only mount yaffs, emmc and ext4 and im not keen on the ancient CWM stuff at all,
Id appreciate any help if you still got it

Categories

Resources