Hi,
I tried to install CM10 on my Motorola Defy+ (MB526), which was successful to some extent.
When I tried to install the latest gapps through CWM, it froze at the starting applications part.
I force restarted it, seeing that there was no change for a while.
When I restarted the phone, it kept on rebooting, with limited functionality, so I downgraded to CM9.
An error message pops up which says with Encryption Unsuccessful. A reset button was available, but didn't help.
I then re-upgraded to CM10, but the phone has limited functionality.
After researching the problem, I realised that the /data partition is not mounted as it is probably corrupted.
Is there any fix to this problem? Will flashing a sbf recreate the /data partition?
Please advise as the phone is basically useless without /data (no apps and constant reboots)
Thanks,
neiljain
neiljain said:
Hi,
I tried to install CM10 on my Motorola Defy+ (MB526), which was successful to some extent.
When I tried to install the latest gapps through CWM, it froze at the starting applications part.
I force restarted it, seeing that there was no change for a while.
When I restarted the phone, it kept on rebooting, with limited functionality, so I downgraded to CM9.
An error message pops up which says with Encryption Unsuccessful. A reset button was available, but didn't help.
I then re-upgraded to CM10, but the phone has limited functionality.
After researching the problem, I realised that the /data partition is not mounted as it is probably corrupted.
Is there any fix to this problem? Will flashing a sbf recreate the /data partition?
Please advise as the phone is basically useless without /data (no apps and constant reboots)
Thanks,
neiljain
Click to expand...
Click to collapse
Hi Buddy,
I went through the same process last evening, earlier i was on 2nd boot then it was very slow hence I decided to move to CM9 for better UI and good battery life. but while doing so my phone also got encrypted.
I did following and installed CM9 yestrday night.
Removed SD card, read it through computer (CArd reader) and put CM9 in one folder along with GAPPS.
Charged my battery till green light pops up.
Entered the SD card again and then started the phone in Custome Recovery.
Full data Wipe
Dalvik Cache wipe
Install CM9 and Gapps.
again clear Cache and dalvik and reboot.
It should work, let me know if it doesnt work post that as well.
Regards,
Amit Sharma
Plz hit thanks button if this work
[email protected] said:
Removed SD card, read it through computer (CArd reader) and put CM9 in one folder along with GAPPS.
Charged my battery till green light pops up.
Entered the SD card again and then started the phone in Custome Recovery.
Full data Wipe
Dalvik Cache wipe
Install CM9 and Gapps.
again clear Cache and dalvik and reboot.
Click to expand...
Click to collapse
Hi,
If the /data partition is corrupted (which I believe it is), will this still work?
Also, did you get any "Can't mount /cache/recovery/command" errors in CWM at anytime.
Thanks,
neiljain
[email protected] said:
Hi Buddy,
I went through the same process last evening, earlier i was on 2nd boot then it was very slow hence I decided to move to CM9 for better UI and good battery life. but while doing so my phone also got encrypted.
I did following and installed CM9 yestrday night.
Removed SD card, read it through computer (CArd reader) and put CM9 in one folder along with GAPPS.
Charged my battery till green light pops up.
Entered the SD card again and then started the phone in Custome Recovery.
Full data Wipe
Dalvik Cache wipe
Install CM9 and Gapps.
again clear Cache and dalvik and reboot.
It should work, let me know if it doesnt work post that as well.
Regards,
Amit Sharma
Plz hit thanks button if this work
Click to expand...
Click to collapse
Hi,
I tried the above procedure, yet there was no success.
Please advise any alternative methods.
Thanks for your quick reply though.
Regards,
neiljain
neiljain said:
Hi,
I tried the above procedure, yet there was no success.
Please advise any alternative methods.
Thanks for your quick reply though.
Regards,
neiljain
Click to expand...
Click to collapse
remove SD card, log into Stable recovery mode. wipe data / factory reset and try rebooting.
if problem still persist, read your phone through RSD and flash CM7.2 file. let me know if you need link for the same.
It will work.
Regards,
Amit Sharma
This will format your data partition, be warned!
neiljain said:
Hi,
I tried to install CM10 on my Motorola Defy+ (MB526), which was successful to some extent.
When I tried to install the latest gapps through CWM, it froze at the starting applications part.
I force restarted it, seeing that there was no change for a while.
When I restarted the phone, it kept on rebooting, with limited functionality, so I downgraded to CM9.
An error message pops up which says with Encryption Unsuccessful. A reset button was available, but didn't help.
I then re-upgraded to CM10, but the phone has limited functionality.
After researching the problem, I realised that the /data partition is not mounted as it is probably corrupted.
Is there any fix to this problem? Will flashing a sbf recreate the /data partition?
Please advise as the phone is basically useless without /data (no apps and constant reboots)
Thanks,
neiljain
Click to expand...
Click to collapse
Boot to recovery and turn on adb (in Advanced). Open a shell on the phone through adb from a PC. Try to find out if data is mounted, and if so what filesystem type it uses:
Code:
$ adb shell
~ # mount|grep /data
/dev/block/mmcblk1p25 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=1,nobh,data=writeback 0 0
If /data is corrupted it will not be mounted. On my phone /data and /cache are formatted ext4, which is only supported in the latest CM10. If yours happens to be formatted ext4 as well and you want to go back to CM9 you'll have to reformat both to ext3. If /data is corrupted you can also reformat the filesystem as you don't seem to have data worth keeping on it anyway (seeing that you talk about doing a full SBF flash to 'recreate the /data partition'). This can be done manually or - if you have not nuked the scripts installed by CM10 - using one of the scripts made for that purpose. Those scripts live in /system/bootmenu/script:
Code:
~ # ls /system/bootmenu/script/|grep format
format_ext3.sh
format_ext4.sh
If you have access to these scripts you can just run format_ext3.sh to reformat /cache and /data in ext3:
THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST!
Code:
~ # /system/bootmenu/script/format_ext3.sh
If you don't have access to them you can achieve the same effect using the following commands:
THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST!
Code:
PART_CACHE=/dev/block/mmcblk1p24
PART_DATA=/dev/block/mmcblk1p25
umount /data
umount /cache
# if you want to check the filesystems you can run these commands...
#/system/bin/e2fsck -y $PART_DATA
#/system/bin/e2fsck -y $PART_CACHE
# to format the filesystems to ext3 use these commands
/system/bin/mke2fs -j $PART_DATA
/system/bin/mke2fs -j $PART_CACHE
mount -t ext3 -o nosuid,nodev,noatime,nodiratime,barrier=1 $PART_CACHE /cache
Once you have formatted /data and /cache you should be able to install CM9 - no need for any SBF flashing unless your phone is really messed up (as in 'deleted the stock kernel' or something like that).
THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST! Or did I say that already?
No matter. THIS WILL FORMAT YOUR DATA PARTITION - ALL DATA WILL BE LOST! Just to be clear...
YetAnotherForumUser said:
Boot to recovery and turn on adb (in Advanced). Open a shell on the phone through adb from a PC.
Click to expand...
Click to collapse
Hi,
Highly appreciate your efforts.
I am new to Android, so could you please explain what "adb" is.
Thanks,
neiljain
SBF flash and data wipe in stock recovery should work too...
The other method is a bit more nondestructive, but probably harder for you
Sent from my MB526 using xda premium
thekguy said:
SBF flash and data wipe in stock recovery should work too...
Click to expand...
Click to collapse
Hi,
Could you please advise an SBF suitable for this.
I have a Defy+ that is locked to Telstra (Australia).
Thanks,
neiljain
Hi Everyone,
I will be taking the following steps to fix my Defy+.
I would like to reinstall CM9 (ICS) by quarx2k
Please advise if anything needs to be changed.
CWM
/data is corrupted, so no point in trying to wipe data and cache.
SBF
Flash DEFYPLUS_U3_4.5.1-134_DFP-231_CN_SIGN_UCADEFYEMARAB1B50AA009.0R_PDS03C_USAJRDNGIBRIRD15_P015_A030_Service1FF.sbf
Rooting
Flash firmware.sbf
2ndinit
Install SndInitDefy_2.3.apk
CWM
Wipe data and cache and Dalvik cache in recovery.
Install from zip CM9-NIGHTLY-120716-Defy+.zip
Install from zip gapps-ics-20120317-signed.zip
Install from zip Baseband_change(EP93_U_00.59.01).zip
Install from zip ICS_Defy_softunlock_v1.3(EPU_U_00.59.01).zip
Wipe cache and Dalvik cache
Reboot.
Thanks,
neiljain
Hi,
I tried flashing DEFYPLUS_U3_4.5.1-134_DFP-231_CN_SIGN_UCADEFYEMARAB1B50AA009.0R_PDS03C_USAJRDNGIBRIRD15_P015_A030_Service1FF.sbf.
The flash was successful, but the phone looping the boot animations, not actually loading Android.
I have also lost access to CWM and recovery.
Please help.
Thanks,
neiljain
[email protected] said:
remove SD card, log into Stable recovery mode. wipe data / factory reset and try rebooting.
if problem still persist, read your phone through RSD and flash CM7.2 file. let me know if you need link for the same.
It will work.
Regards,
Amit Sharma
Click to expand...
Click to collapse
Hi Amit,
Could you please send me the link to the CM7.2 SBF.
Highly appreciate your efforts.
Thanks,
neiljain
neiljain said:
Hi Amit,
Could you please send me the link to the CM7.2 SBF.
Highly appreciate your efforts.
Thanks,
neiljain
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1820282 its working, step by step guide, just flash the first SBF file through RSD lite and it should start. charge your battery first please.
All the best.
neiljain said:
Hi,
Could you please advise an SBF suitable for this.
I have a Defy+ that is locked to Telstra (Australia).
Thanks,
neiljain
Click to expand...
Click to collapse
adb is the Android Debug Bridge, a program running on both the phone as well as your PC which makes it possible to access your phone (through either a command line shell or some GUI-thing layered on top of it).
Are you also new to Linux and/or computers in general? In that case you're probably better off flashing the phone as detailed, even though that takes way more time and does involve more risks. If you feel comfortable running commands from a command line I'd advice you to install the ADK (Android Development Kit) on your PC, get adb working and run the commands as I explained. That way you regain access to your phone without all the hassle and risks involved in flashing all the way from SBF. Both methods work, so the end result should be the same.
I'm intentionally not going into excruciating detail on the task of installing and running adb as I don't think you should use your phone as a guinea pig to start experimenting with adb - for that use the emulator which comes with the ADK.
Success
Hi Everyone,
Thanks for your very helpful suggestions.
I was able to recover my phone after flashing the SBFs
Just to be on the safe side, I will stick with CM9.
I will also post the instructions on XDA for other people who have the same problem.
Once again, thanks everyone,
neiljain
neiljain said:
Hi Everyone,
Thanks for your very helpful suggestions.
I was able to recover my phone after flashing the SBFs
Just to be on the safe side, I will stick with CM9.
I will also post the instructions on XDA for other people who have the same problem.
Once again, thanks everyone,
neiljain
Click to expand...
Click to collapse
Thanks Buddy, I too stick to CM9, which is giving best battery 2 days and awesome UI. will move to CM 10 once we have stable version.
Njoy your Defy.
how were u able to flash any file... neither the bootmenu nor the recovery is working... please revert back.
i used CM10, after i flashed a CM7 and it stuck in red logo M,then i flashed CM10 new buil, after that i can not install apps from Play store
and how can i flash CM7 from CM10. i have flash normal, but it stuck at red logo M
ensure you're using ext3, flash cm7, factory reset from stock recovery, test. maybe install cm7 again.
If that doesn't work then flash the sbf. Sbf to cm7 only takes about 15 minutes.
I had the exact cm10 to cm7 issue. I've posted all the ways I've seen to fix it. I sbf'd after trying different things for an hour.
As for market apps not installing, sort of had that issue too. It wouldn't install old versions when I went to My Apps>All. Had to search Play for the latest versions. Happened with hacked and regular market. No real fix, but a dalvik/cache wipe plus a market cache wipe and I haven't had that problem since.
EXT3 ?
is what ?
kevins547 said:
EXT3 ?
is what ?
Click to expand...
Click to collapse
Ext3 and ext4 are different Linux file systems. By default (stock kernel) our file systems were mounted as either ext3. Custom kernels give us support for mounting /data, /cache, /sd-ext as ext4 (and ntfs/ext4 support on /sdcard -- no 4gb file size limit). Data on ext4 file systems should be better protected in case the phone freezes and you have to pull the battery.
Needless to say, if you're not sure if you're on ext3 or 4 and you didn't mess with the option in the bootmenu, you're formatted as ext3.
Hi there,
is it normal that /system is full? I'm on Quarx CM10.
Please see screenshot.
Thanks,
Matthias
Not ok.
I've asked in CM10 FAQs tread why system is full after clean install, answer is Full Gapps is the culprit.
http://forum.xda-developers.com/showpost.php?p=36151535&postcount=816
So, do a clean install again and use this minimal Gapps instead. http://d-h.st/lxT
Thanks.
Here is what I did:
Boot into custom recovery
Selected factory reset
wipe cache / dalvik
Installed CM10 20121118 nightly
Installed JB Mini GApps
Wipe cache / Dalvik again
When I do that I get to 9MB free system....
Does the factory reset format the system partition?
Is of no importance if you have free space on /system. If you wanna make some room on ROM partition you can remove some system app. But again, no benefit.
To finish this thread, I found help here: http://forum.xda-developers.com/showpost.php?p=36380618&postcount=2
Got the ext4 full wipe script here: http://forum.xda-developers.com/showthread.php?t=1818520
Did a full wipe and flashed CM 10 + mini apps and back to 50mb.
I think I will do this all the time now so stuff does not stay in the system partition.
Anyone can help how I can do this without a working CWM ? I updated from 7.2 to Quarx CM10 but failed to see that I should only install the minimal gapps (the howto (wrongly?) mentioned "Use the last gapps-jb-2012XXXX-signed.zip" http://forum.xda-developers.com/showthread.php?t=1795647 )
First CM10 didnt boot at all (only saw the rotating ring, and had to remove the battery), then I entered stock recovery and wiped data/factory reset. Now it boots somehow, but it asks me for google account etc. each time and is quite slow overall. I then saw /system only has some kilobytes free space. If I boot to system menu or recovery, it just normally reboots.
Remounting /system RW as root didnt work.
Any way to still be able to clean up /system ?? I also couldnt write a SBF with sbf_flash in linux. Do I need windows with RDS Lite and a specific SBF ? I tried the SBF mentioned there below "Common Problems/Questions" for recovery: http://forum.xda-developers.com/showthread.php?t=1216982 "JORDN_U3_97.21.51"
------
EDIT:
I am sorry, I was too stupid to press the down button in the right moment when the blue led is on.
But I am wondering why no howto mentions to clean up /system .. I always thought this is handled by some script in the update.zip files. It is clearly a very bad idea to NOT clean up system. It will be stuffed full with data garbage between your normal files ...
I found my data and cache partition corrupted, and i dont know why.
I don't know anyway to fix it but do SBF flash (so far I am doing the THIRD SBF flash today, really frustrating)
[edit] why i think data and cache partition corrupted:
1. I couldn't mount data and cache and psd partition in recovery, but i can mount sdcard (and can't unmount system partition, is it supposed that system can't be unmounted?)
2. when i booted up the system(Kayant's AOKP), the size of internal memory is 0.0B, as shown in the settings->storage
[/edit]
Is there any to fix without doing SBF flash?
another question:
How to prevent it/any precaution so that the partition wont mess up? (I probably did some wrong thats why the partition was messed up, but I have no idea what I had done wrong)
here is what i did:
I had had this problem before so I do a SBF flash and the problem is gone.(I installed Kayant's AOKP rom -4.1jb)
Yesterday I decided to flash another rom (that was Quarx's cm10.1 rom) i did a nandroid backup first, then installed the rom and installed some apps, after that I installed Kayant's Slim rom(from the new aokp paradise), i found some bug and at last decide to return to Kayant's AOKP rom. I installed the 2nd Init boot menu(coz i did the nandroid backup with CWMrecovery, not TWRP), and problems came while restoring it. It failed to restore /data partition, I tried more times but couldn't fix this. So at last I turned to SBF flashing.
I flashed and rooted it with SuperOneClick and installed 2nd Init boot menu then install the AOKP rom(didn't restore the nandroid this time) then factory reset-ed it with stock recovery, and I found the /data and /cache partition messed up again(obviously the partition isn't messed up right after SBF flashing because i can install the 2nd Init app).
Now I am doing the third SBF flash.
You shouldn't have formatted data and cache with stock recovery. That was a mistake in your second attempt.
hotdog125 said:
You shouldn't have formatted data and cache with stock recovery. That was a mistake in your second attempt.
Click to expand...
Click to collapse
should I use aroma wiper and do a ext4 wipe if i am going to flash jb roms (like cm10/android 4.1 or higher), to prevent messing it up?
is it necessary to do wipe before or after install a new rom?
besides, any idea why the partition messed up/ failed to restore data when i do a nandroid restore, when i tried to restore with cwm recovery within 2nd Init boot menu installed on Kayant's Slim rom?
dicksonlok said:
besides, any idea why the partition messed up/ failed to restore data when i do a nandroid restore, when i tried to restore with cwm recovery within 2nd Init boot menu installed on Kayant's Slim rom?
Click to expand...
Click to collapse
Yes, format to ext4 for JB ROMs. Full wipe not necessary but recommended.
Start afresh, install the ROM and restore data.
Plus, you shouldn't have installed 2ndinit again. You should have installed dual recovery and tried.
Got same problem, data and cache partition corrupted.
Fortunately I have TWRP installed so I went to File System utility and format data and cache (I choose ext3).
Then restored previous backup and everything worked like before!
After installing Quarx's CM 10.2 october 30th nightly (defy, not plus) the device seemed to be working normal but I then soon noticed that no internal storage is detected. (meaning I also could not install apps from the play store) Upon restarting, I go through the entire 'first time' sequence again and any thing I did before I restarted was not saved. I think this is because, when entering TWRP and going to mount, data is the only partition that it will not allow me to mount. Attempting to wipe the data partition yields the result 'unable to mount /data'. Is it possible to mount somehow in adb or terminal? Is anyone else having this issue? And is there any known fix?
InhibitorIota said:
After installing Quarx's CM 10.2 october 30th nightly (defy, not plus) the device seemed to be working normal but I then soon noticed that no internal storage is detected. Upon restarting, I go through the entire 'first time' sequence again and any thing I did before I restarted was not saved. I think this is because, when entering TWRP and going to mount, data is the only partition that it will not allow me to mount. Attempting to wipe the data partition yeilds the result 'unable to mount /data'. Is it possible to mount somehow in adb or terminal? Is anyone else having this issue? And is there any known fix?
Click to expand...
Click to collapse
Well , I had this problem too , but not with this ROM , enter in Motorola stock recovery , and make a wipe , after that , you should flash again a SBF , and put it again.. , or if you can still flash something , try to flash the 10.2 CM again.
Danarkin22 said:
Well , I had this problem too , but not with this ROM , enter in Motorola stock recovery , and make a wipe , after that , you should flash again a SBF , and put it again.. , or if you can still flash something , try to flash the 10.2 CM again.
Click to expand...
Click to collapse
But it won't let me. :/ Like I said before, attempting to wipe the data partition just gives me 'Unable to mount /data'. Does that mean the partition is corrupted, or can it be mounted somehow in the terminal? This has really become a headache...
As an update, I actually was able to wipe in the stock recovery, but going back to TWRP now shows that both my data and cache partitions cannot be mounted (or still corrupted). Would flashing a new sbf fix that? I can still access cyanogen if I boot normally but it is the same as before, no internal storage and nothing is saved after reboot.
InhibitorIota said:
But it won't let me. :/ Like I said before, attempting to wipe the data partition just gives me 'Unable to mount /data'. Does that mean the partition is corrupted, or can it be mounted somehow in the terminal? This has really become a headache...
As an update, I actually was able to wipe in the stock recovery, but going back to TWRP now shows that both my data and cache partitions cannot be mounted (or still corrupted). Would flashing a new sbf fix that? I can still access cyanogen if I boot normally but it is the same as before, no internal storage and nothing is saved after reboot.
Click to expand...
Click to collapse
Did you try to wipe data and cache in stock recovery ? I don't know if you will flash a SBF will fix that , try to wipe data and cache too , and after that if you can't boot , flash a SBF.