Error on MOUNTING CACHE, DATA AND SYSTEM - Android One (First-Generation) Cross-Device Genera

Error on mounting cache, system and data while factory data reset. Please help me someone as soon as possible.

flash userdata.img and cache.img which you can get from SP flash tools kernel, see this video,,,,,https://www.youtube.com/watch?v=U6VDsZ_2tTE

Saurabh K said:
flash userdata.img and cache.img which you can get from SP flash tools kernel, see this video,,,,,https://www.youtube.com/watch?v=U6VDsZ_2tTE
Click to expand...
Click to collapse
Tried but flashing done. But again same issue.

Related

[Q] recovery mode problems with cache

whenever i go into recovery mode i get an error on the bottom of the screem
BUILD : RA-dream-v1.7.0
E:Error in CACHE:recovery/log
(No Space left on device)
i cant nand backup or anything
rickyiswhite said:
whenever i go into recovery mode i get an error on the bottom of the screem
BUILD : RA-dream-v1.7.0
E:Error in CACHE:recovery/log
(No Space left on device)
i cant nand backup or anything
Click to expand...
Click to collapse
There are two possibilities:
1) The log is occupiing really the whole space on cache. In that case try to remove the log file from cache directory
2) Did you mess up with custom partion tables? To me this happened some time ago when I forgot to flash fr_boot_xxx.zip onto a boot.img while having installed custom partitions. In that case you have to clean everything. Eventually you need also to flash recovery again. If you have a recent backup, you can try to do a
fastboot erase system -w
then boot into recovery and see, if everything works for you again. If not you need to flash a new recovery:
fastboot flash recovery recovery.img
After that everything should work again, i.e. you can install your backup or you can install a new ROM.
AndDiSa said:
There are two possibilities:
1) The log is occupiing really the whole space on cache. In that case try to remove the log file from cache directory
2) Did you mess up with custom partion tables? To me this happened some time ago when I forgot to flash fr_boot_xxx.zip onto a boot.img while having installed custom partitions. In that case you have to clean everything. Eventually you need also to flash recovery again. If you have a recent backup, you can try to do a
fastboot erase system -w
then boot into recovery and see, if everything works for you again. If not you need to flash a new recovery:
fastboot flash recovery recovery.img
After that everything should work again, i.e. you can install your backup or you can install a new ROM.
Click to expand...
Click to collapse
hmm ok ill try that... thanks... and sometimes it says cant open cache or something

[Q&A]To solve when flash system.img tips "sp space is not enough"

I think a lot of people have this problem when use TWRP recovery wipe system.When flash system.img use mfastboot or RSD,fastboot tips "sp space is not enough"
I'm sorry my English is not very good.
But in fact,I don't know why this happens,In theory,TWRP recovery impossible to rewrite the SP partition,however,tragedy has occurred yet.
I found format this partition will not be error occurred.but it is not allowed formatted this partition on the fastboot mode,It tips you Permission denied.So,I used another method.
I created an empty partition fill with 0(I named sp-empty.img),and put it into the internal storage,then import it use adb shell.
Code:
Code:
adb shell
su
cat /sdcard/sp-empty.img > /dev/block/mmcblk0p26
Miracle happened,this error don't show again when I flashed the system.img again.
But I found a BUG,In the official recovery,I can't wipe cache partition,the phone will be forced restart!!!
It is not affect to OTA.I can wipe the data partition normally.
empty sp download:
http://forum.xda-developers.com/attachment.php?attachmentid=2868807&stc=1&d=1406222848
I'm hope who can tell me why really.thanks everyone.
Dusty tears said:
Miracle happened,this error don't show again when I flashed the system.img again.
But I found a BUG,In the official recovery,I can't wipe cache partition,the phone will be forced restart!!!
It is not affect to OTA.I can wipe the data partition normally.
Click to expand...
Click to collapse
Any news about "sp space is not enough" after TWRP wipe data/system?
Causes, consequences?
Maybe we should do a dump of /dev/block/mmcblk0p26 from stock firmware and flash it in this way?
..
Zorge.R said:
Any news about "sp space is not enough" after TWRP wipe data/system?
Causes, consequences?
Maybe we should do a dump of /dev/block/mmcblk0p26 from stock firmware and flash it in this way?
Click to expand...
Click to collapse
Maybe you should make a backup.
Thank you, Dusty Tears!
This solved my problem perfectly. I was getting the "sp space is not enough" error when flashing to system because I accidentally wiped it in TWRP. The instructions were a little unclear, so if bigger novices than me come across this, you must have root access and enter these commands with USB debugging enabled. These commands are used while running the OS, not in bootloader or recovery.
UltimatePG said:
Thank you, Dusty Tears!
This solved my problem perfectly. I was getting the "sp space is not enough" error when flashing to system because I accidentally wiped it in TWRP. The instructions were a little unclear, so if bigger novices than me come across this, you must have root access and enter these commands with USB debugging enabled. These commands are used while running the OS, not in bootloader or recovery.
Click to expand...
Click to collapse
So how do we do it from fastboot/bootloader? fastboot or mfastboot flash sp sp-empty.img??
stealtheye said:
So how do we do it from fastboot/bootloader? fastboot or mfastboot flash sp sp-empty.img??
Click to expand...
Click to collapse
I don't know. The problem didn't prevent me from flashing a rom, so it wasn't a big deal for me to do it through the OS.
I would like to know if this SP partition will remain empty or if after flashing system.img it will be rewrited? I'm a little concerned, because when people brick their motos for downgrading, among the error messages that appear in the bootloader there's this one: "No SP partition found".
deleted.
xt1052 sp space is not enough
please help me i do the mfastboot flash system system.img but there is a red words that tells "sp space is not enough", i do the instruction you gave about the adb shell, it tells /system/bin/sh: su: not found and about the cat /sdcard/sp-empty.img > /dev/block/mmcblk0p26 when i hit enter it said permission denied can you help me fix the "sp space is not enough", and also when im inside the TWRP i cannot wipe anything and TWRP cant read the internal storage. :crying::crying::crying::crying::crying::crying::crying::crying::crying::crying::crying:

[Request]Does someone can give me a F2FS formated cache partion img?

Hi,
I know this is a strange requset.
Because my Nexus 6 is stuck at Google logo and can't boot into system or TWRP.
This is begin at when I try to flash 5.11 OTA(TWRP flashable) file.
After install without error, I have stuck at Google logo.
Then I notice that my system is rooted, noforce encrypt and use F2FS filesystem.
I gusee that the problem is new kernel didn't support F2FS, so I flashed Zen kernel with fastboot.
This step let me can boot in to system normally, but I still can't get into TWRP.
Because I want to fix TWRP, so I tried fastboot erase cache.(This is big mistake.....I should backup all file before try this command)
After fastboot erase cache, I still can't get into TWRP, and I lose system again.(Stuck at boot Animation)
I think it is cause by "fastboot erase cache" didn't create F2FS filesystem cache partition.
Does someone can help me that give me a F2FS filesystem cache partition img file?
I just want to get into system and backup all file.
Then do a full factory reset, hope this can bring back my TWRP.
chowtom said:
Hi,
I know this is a strange requset.
Because my Nexus 6 is stuck at Google logo and can't boot into system or TWRP.
This is begin at when I try to flash 5.11 OTA(TWRP flashable) file.
After install without error, I have stuck at Google logo.
Then I notice that my system is rooted, noforce encrypt and use F2FS filesystem.
I gusee that the problem is new kernel didn't support F2FS, so I flashed Zen kernel with fastboot.
This step let me can boot in to system normally, but I still can't get into TWRP.
Because I want to fix TWRP, so I tried fastboot erase cache.(This is big mistake.....I should backup all file before try this command)
After fastboot erase cache, I still can't get into TWRP, and I lose system again.(Stuck at boot Animation)
I think it is cause by "fastboot erase cache" didn't create F2FS filesystem cache partition.
Does someone can help me that give me a F2FS filesystem cache partition img file?
I just want to get into system and backup all file.
Then do a full factory reset, hope this can bring back my TWRP.
Click to expand...
Click to collapse
do fastboot format cache then fastboot format userdata. Then TWRP should work.
Thanks for quick reply,
That is what I want to do.
But it will wipe all my data, so I want to get into system and backup data before do fastboot format userdata.
danarama said:
do fastboot format cache then fastboot format userdata. Then TWRP should work.
Click to expand...
Click to collapse
chowtom said:
Thanks for quick reply,
That is what I want to do.
But it will wipe all my data, so I want to get into system and backup data before do fastboot format userdata.
Click to expand...
Click to collapse
Oh I see.
Have you tried adb access whilst bootloop?
Failing that, another option would be edit the ramdisk to change the /cache mount to ext4. I imagine the kernel you have has set it as f2fs
I'll happily format my cache as f2fs and take a nandroid of it to create a cache image, but im not sure if that would be fastboot flashable?
danarama said:
Oh I see.
Have you tried adb access whilst bootloop?
Failing that, another option would be edit the ramdisk to change the /cache mount to ext4. I imagine the kernel you have has set it as f2fs
I'll happily format my cache as f2fs and take a nandroid of it to create a cache image, but im not sure if that would be fastboot flashable?
Click to expand...
Click to collapse
Try it and I can know is flashable or not.
I have tried adb access, adb can connect my device, but can't access sdcard,
Code:
/system/bin/sh: cd: /sdcard: No such file or directory
/system/bin/sh: cd: /storage/sdcard0: No such file or directory
chowtom said:
Try it and I can know is flashable or not.
I have tried adb access, adb can connect my device, but can't access sdcard,
Code:
/system/bin/sh: cd: /sdcard: No such file or directory
/system/bin/sh: cd: /storage/sdcard0: No such file or directory
Click to expand...
Click to collapse
You can try /data/media/0 for sdcard
Nandroid isnt in .img format.
I've just dd'd a cache.img and fastboot flashed that. Lets see if it boots. If it does, I'll format it and dd it again.
Edit > Well it booted (though it is optimising now)...
I'll try and format and dd the image for you, though not sure it will work. Do I need a special version of TWRP to format F2FS?
danarama said:
You can try /data/media/0 for sdcard
Nandroid isnt in .img format.
I've just dd'd a cache.img and fastboot flashed that. Lets see if it boots. If it does, I'll format it and dd it again.
Edit > Well it booted (though it is optimising now)...
I'll try and format and dd the image for you, though not sure it will work. Do I need a special version of TWRP to format F2FS?
Click to expand...
Click to collapse
https://twitter.com/dhacker29/status/568070387306766336
This one can format F2FS, but I am not sure TWRP will check kernel support F2FS or not.
And I can't access /data/media via adb.
Code:
[email protected]:/ $ cd data
cd data
[email protected]:/data $ cd media
cd media
/system/bin/sh: cd: /data/media: Permission denied
chowtom said:
https://twitter.com/dhacker29/status/568070387306766336
This one can format F2FS, but I am not sure TWRP will check kernel support F2FS or not.
And I can't access /data/media via adb.
Code:
[email protected]:/ $ cd data
cd data
[email protected]:/data $ cd media
cd media
/system/bin/sh: cd: /data/media: Permission denied
Click to expand...
Click to collapse
Yeah I found that one eventually and it let me format.
Now I just need to find somewhere to upload a 256MB image
danarama said:
Yeah I found that one eventually and it let me format.
Now I just need to find somewhere to upload a 256MB image
Click to expand...
Click to collapse
MEGA or Google driver?
chowtom said:
MEGA or Google driver?
Click to expand...
Click to collapse
Dev-host.
---------- Post added at 10:40 AM ---------- Previous post was at 10:17 AM ----------
Had to go Mega in the end
Here you go:
https://mega.co.nz/#!UoF0RIpA!ew9AYAqn-C2vxxO8VMjXnp1jOM8eD6JqXdsrEyJimGM
Not sure it will work though.
danarama said:
Dev-host.
---------- Post added at 10:40 AM ---------- Previous post was at 10:17 AM ----------
Had to go Mega in the end
Here you go:
https://mega.co.nz/#!UoF0RIpA!ew9AYAqn-C2vxxO8VMjXnp1jOM8eD6JqXdsrEyJimGM
Not sure it will work though.
Click to expand...
Click to collapse
It works!!!
Huge thanks for your help.
Now I can start to backup my data.:laugh:
chowtom said:
It works!!!
Huge thanks for your help.
Now I can start to backup my data.:laugh:
Click to expand...
Click to collapse
wow, that was surprisingly easy.
Well dd copies at block level, so it *should* have worked, but I've never really tested it before.
Finally, I recover my data and didn't lost any one.
The step what I do is:
1. Use fastboot to flash cache img which provided by danarama.
2. Reboot to test, result is System ok and TWRP still fail.
3. Boot to system and backup all data with MTP.
4. Use fastboot erase userdata to factory reset my Nexus 6.
5. After step 4, I can get into TWRP. Redo the Convert to F2FS procedure.
6. Reboot to system and skip all initial SETUP. Copy all sdcard data to nexus 6 by MTP.
7. Back to TWRP, restore the data partition(F2FS) which backup a weekago.
8. Reboot to test, both System and TWRP boot correctlly.

Moto G 2nd gen xt1068 help

I can't boot my phone, after the boot animation it goes into a black screen, there is a faint black light. I can go into fastboot and recovery, but I can't flash anything, I can't do a data wipe or clear partition, all I get is: Wiping data... Formatting /data... E: blkdiscard on partition /dev/block/plaform/msm_sdcc. 1/byname/userdata faled ormatting /cache... E: blkdiscard on partition /dev/block/plaform/msm_sdcc. 1/byname/ cache failed Wiping clogo... Data wipe complete. When I boot twrp all I get is a flashing Motorola symbol. Help:crying:
Newb1337 said:
I can't boot my phone, after the boot animation it goes into a black screen, there is a faint black light. I can go into fastboot and recovery, but I can't flash anything, I can't do a data wipe or clear partition, all I get is: Wiping data... Formatting /data... E: blkdiscard on partition /dev/block/plaform/msm_sdcc. 1/byname/userdata faled ormatting /cache... E: blkdiscard on partition /dev/block/plaform/msm_sdcc. 1/byname/ cache failed Wiping clogo... Data wipe complete. When I boot twrp all I get is a flashing Motorola symbol. Help:crying:
Click to expand...
Click to collapse
try the easy installer in my signature and report back
reefuge said:
try the easy installer in my signature and report back
Click to expand...
Click to collapse
Still nothing
Newb1337 said:
Still nothing
Click to expand...
Click to collapse
try factory reset option 3 then try to flash option 1
reefuge said:
try factory reset option 3 then try to flash option 1
Click to expand...
Click to collapse
Phone still doesn't go past the boot animation
Newb1337 said:
Phone still doesn't go past the boot animation
Click to expand...
Click to collapse
sounds like you MAY have a corrupt emmc - there's several threads about this and as far as I know no fix yet
just to check you have installed mdm2.5.4 and tried flashing in AP fastboot mode ?
reefuge said:
sounds like you MAY have a corrupt emmc - there's several threads about this and as far as I know no fix yet
just to check you have installed mdm2.5.4 and tried flashing in AP fastboot mode ?
Click to expand...
Click to collapse
Explain noob friendly please
Newb1337 said:
Explain noob friendly please
Click to expand...
Click to collapse
motorola device manager 2.5.4. exe from motorola website
this installs ALL required hidden drivers
then plug in usb cable and use the keys (power and volume down) to put phone in AP Fastboot Mode then run easy installer (read instructions in extracted folder)

Can't boot into system only twrp

So i was trying to install Liquid Remix rom on my op3t i wiped everything as the manual and have flashed opengapps magisk and the rom but when rebooted into the rom it asked me for my pin ive entered my pin but it said ur pin is correct but ur data has been corrupt u have to factory reset and automatically boots into twrp and when i try to boot into the system the process over and over again and i factory reset it nothing again says data is corrupt and ive flashed my recovery and try to boot into system nothing boots into fastboot iveand being a dummy i am i delted the system everything heard that u can fix it with adb sideloader but my question is can i flash a custom rom notthe stock rom please help me
Try to format data instead of wiping, either do it within TWRP (Wipe > Format Data > type "yes") or fastboot:
Code:
fastboot format userdata
Please note that all data is going to be lost, in case you didn't make a backup yet (if it's even possible to do it, since it says that data is corrupted).
przemcio510 said:
Try to format data instead of wiping, either do it within TWRP (Wipe > Format Data > type "yes") or fastboot:
Code:
fastboot format userdata
Please note that all data is going to be lost, in case you didn't make a backup yet (if it's even possible to do it, since it says that data is corrupted).
Click to expand...
Click to collapse
i already did that on accidentand deleted everything even the backups
Something similar happen to me. I was in twrp and was performing a full wipe(not factory reset), I installed RR, kernel, and then when I was installing gapps, the phone rebooted, and when I tried anything, it said e: legacy property not found( or something similar) and would not boot to system, would not flash anything, wouldn't boot to bootloader, but I was able to transfer files and use adb so I plugged into the computer and used adb reboot fastboot and booted to bootlaoder, now everything works
tergeltengo said:
i already did that on accidentand deleted everything even the backups
Click to expand...
Click to collapse
Backups are supposed to be stored outside the device you make a backup of, keep that in mind for future
Immortalis said:
Try to format data instead of wiping, either do it within TWRP (Wipe > Format Data > type "yes") or fastboot:
Code:
fastboot format userdata
Please note that all data is going to be lost, in case you didn't make a backup yet (if it's even possible to do it, since it says that data is corrupted).
Click to expand...
Click to collapse
Thank You, saved my phone.

Categories

Resources