[Q] Which files are left untouched after flashing new roms? - Kindle Fire General

Hello everyone,
I have a problem with my wifi stuck at turning on.
flashing new roms or kernels doesn't help.
20 seconds reset doesn't help.
reset router doesn't help.
Now I can only think of the files in the internal storage get damaged.
anyone can help me please!

Have you been wiping /data and /cache between flashing ROMs? If not I would do that, reinstall, and see what happens.

Jake33108 said:
Have you been wiping /data and /cache between flashing ROMs? If not I would do that, reinstall, and see what happens.
Click to expand...
Click to collapse
yes, I wiped everything except for sdcard using TWRP.

Related

error mounting /data- brick? LOL

I tried reflashing a sense 3.0 2.3.3 rom because of some minor issues. Now I may have nuked my /data partition. first it wouldn't format so I pulled battery numerous times. and Mounted it through mounts and storage menu, then I hit format, and it formatted, so I hit mount again and flashed the rom. and when I restarted the phone after splash screen the phone restarted and went into recovery
Tried everything including mounting /data again and it keeps saying error mounting /data. am I screwed?
I have .2007 eng bootloader btw. shoud I try the pd15img?
_ice_ said:
I tried reflashing a sense 3.0 2.3.3 rom because of some minor issues. Now I may have nuked my /data partition. first it wouldn't format so I pulled battery numerous times. and Mounted it through mounts and storage menu, then I hit format, and it formatted, so I hit mount again and flashed the rom. and when I restarted the phone after splash screen the phone restarted and went into recovery
Tried everything including mounting /data again and it keeps saying error mounting /data. am I screwed?
I have .2007 eng bootloader btw. shoud I try the pd15img?
Click to expand...
Click to collapse
I don't think you need to do that. You could do a fastboot erase, then go back into recovery and wipe data to reformat it /data, effectively starting from nothing.
jdkoren said:
I don't think you need to do that. You could do a fastboot erase, then go back into recovery and wipe data to reformat it /data, effectively starting from nothing.
Click to expand...
Click to collapse
Now I am getting mount /cache errors. aww man I think my phone is done....
edit: used the pd15img and I am back on stock :| s= off but I have the stock bootloader wtf.... how do I get my eng bootloader back?
this is how I fixed it:
I was on eng bootloader, but then I got reverted back to the stock bootloader.
This is how I encountered the problem. first of all I was having issues with raffy's fusion 3.0 rom, so I decided to reflash it, but it wouldn't flash or format /data, then I mounted it to through mounts and storage on the latest cwm 3.0.2.4 and hit format.
After that I tried reflashing his rom, it flashed but, after splashscreen I was redirected to my recovery instead. that's when I freaked because when I tried mounting data it said error cannot mount /data. so I fired up adb and did fastboot erase system -w and it erased it including cache.
then I popped up into recovery and BOOM started having cache mount errors experienced by a lot of people lately.
I thought I was SOL, but nope I downloaded the pd15img from http://www.megaupload.com/?d=V4NAODYZ
and put it on the root of my sd card and it worked....
so if anyone of you dudes are having similar problems try that ^

cannot delete from from internal sdcard

I searched but could not find the answer. I'm sure it's a simple fix, but I am a semi-noob.
I've been trying to find the right rom for me and I installed cm10 with no problems.
After that, I tried cleanrom v1.1, but it would not boot.
Since then I cannot write or remove files from internal sdcard.
Can someone point me in the right direction to remedy this situation?
can you not remove from it when you are booted into the rom or when u r on PC ?
format it and do data reset, wipe cache in recovery, flash the rom afresh .
rraaka said:
can you not remove from it when you are booted into the rom or when u r on PC ?
format it and do data reset, wipe cache in recovery, flash the rom afresh .
Click to expand...
Click to collapse
I was unable to remove files when booted into the rom. I did not try from PC.
Formatting the internal sdcard did the trick. I wasn't sure if that would be destructive.
Thanks for your help.
formatting storage solves 60 percent of most of our small time problems, even for symptoms like rebooting / freezing etc
but keep a back up

[TPT] CM10 Cannot wipe cache

Hi everyone, I recently rooted my 16GB WE TPT and installed cm10 v.0.8.1 and I love the performance and everything, if only there were no reboots. After reading in this forum I wanted to try to reinstall things from scratch wiping everything. For some reason I don't seem to be able to to anything with the data that is on my TPT. Neither can I do a factory reset from settings nor can I wipe data from Recovery. It doesn't display an error but it just doesn't delete anything. Then I tried to restore my backup from my original rom but this doesn't work either: it says error while restoring data (after recovery and system).
Can anyone help me? Could I have accidentally locked the data or anything?
Btw, Google Play has stopped working after my last try to restore stock and then install cm10 again.
In cwm you find under advanced a setting called "fix permissions". Try that
emuandco said:
In cwm you find under advanced a setting called "fix permissions". Try that
Click to expand...
Click to collapse
Doesn't do anything.
idewis said:
Doesn't do anything.
Click to expand...
Click to collapse
Hi, i had big problems with my Data-Partition. The Partition was read-only. No wipe with CWM was possible. Is that the same problem what you have? Do you have an logcat? Any error-messages?
Wiping was only possible with adb...
Here is my post: http://forum.xda-developers.com/showthread.php?t=1944759
When it is the same problem, it exist an solution...
Greetings
tpauli said:
Hi, i had big problems with my Data-Partition. The Partition was read-only. No wipe with CWM was possible. Is that the same problem what you have? Do you have an logcat? Any error-messages?
Wiping was only possible with adb...
Here is my post: http://forum.xda-developers.com/showthread.php?t=1944759
When it is the same problem, it exist an solution...
Greetings
Click to expand...
Click to collapse
I don't have the same error messages you have/had, but I could image that my data partition is also read only since I can neither delete or install anything. What did you do to get rid of that problem?
The solution was to completely format the data permission. This can't be done in CWM directly because CWM tries to keep the folder /data/media, which is your internal sd-card and only deletes the other files (That's obviously not formating). In the link you can find a zip files that you can "flash" in CWM, it will format the data partition and does nothing else. After using it you should also manually wipe the cache using CWM.
Like i said, this will include your internal sdcard! Make backups first if you have important data stored on it!
http://ubuntuone.com/4zKT1jqeqhR8qdGh2y4TaM
I need to clear it - if I do "wipe data/factory reset" in stock ICS recovery menu - will it cause deleting ROM (and reboot will make brick) OR just will get it back to clean factory ROM?
I found few threads here about "wipe data"-thing, but it seems to me, that every version of Android / custom ROM / recovery type could behave different.

[Solved] Encryption Unsuccessful Fix

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.

[Q] Cache and Data mount issues

So I've been using various JB ROM's on my Defy for the past couple of years, but this time I made the mistake of using the factory reset within the stock recovery. I found a thread that mentioned using the "ultimate wipe" for defy and then reflashing my ROM of choice would fix issue, but when I use the wipe the custom recovery still tells me it is unable to mount /cache or /data on my phone.
My phones internal storage is also showing as 0, so I am unable to install any apps etc.
I'm completely stumped right now, so any help at all would be greatly appreciated. I'll provide any further information I can if its needed, thanks in advance
DSpartox said:
So I've been using various JB ROM's on my Defy for the past couple of years, but this time I made the mistake of using the factory reset within the stock recovery. I found a thread that mentioned using the "ultimate wipe" for defy and then reflashing my ROM of choice would fix issue, but when I use the wipe the custom recovery still tells me it is unable to mount /cache or /data on my phone.
My phones internal storage is also showing as 0, so I am unable to install any apps etc.
I'm completely stumped right now, so any help at all would be greatly appreciated. I'll provide any further information I can if its needed, thanks in advance
Click to expand...
Click to collapse
I think you need to start over from SBF.
Sent from my Nexus 7 using Tapatalk
DSpartox said:
So I've been using various JB ROM's on my Defy for the past couple of years, but this time I made the mistake of using the factory reset within the stock recovery. I found a thread that mentioned using the "ultimate wipe" for defy and then reflashing my ROM of choice would fix issue, but when I use the wipe the custom recovery still tells me it is unable to mount /cache or /data on my phone.
My phones internal storage is also showing as 0, so I am unable to install any apps etc.
I'm completely stumped right now, so any help at all would be greatly appreciated. I'll provide any further information I can if its needed, thanks in advance
Click to expand...
Click to collapse
Your partitions might have a problem and the wipe script doesn't format them, it just deletes their contents. In the bootmenu you can format your /data and /cache partitions (ext4); if that doesn't work, then yes, gotta start over from SBF.
Antiga Prime said:
Your partitions might have a problem and the wipe script doesn't format them, it just deletes their contents. In the bootmenu you can format your /data and /cache partitions (ext4); if that doesn't work, then yes, gotta start over from SBF.
Click to expand...
Click to collapse
Thank you heaps for the help. I just decided to go ahead and reflash SBF. That all went fine, RSDlite gave a pass. I then went into the stock recovery in order to do the factory reset again before I root, and Data now formats, but Cache throws up the error "E:Can't mount CACHE:recovery/log".
The actual phone seems to work fine if I boot it up, but that error just makes me wonder as I'm not sure how much of a problem it really is

Categories

Resources