Hi there!
I am completely out of ideas in this situation:
HTC M8 stock, Lollipop
SD card formatted as internal
Android upgraded some apps into it
at the next boot it gives "Android is starting. Optimizing app 13 of 14" on the SD card and it just hangs at 13, reboots, and does not boot at all.
If I reboot the HTC M8 with volume up and power, it boots, checks the SD, and reboots again to do exactly the same.
I believe the problem is the SD is full and it cannot optimize because it has no space to save the cache or whatever it saves at that point.
Any ideas how to fix this?
I believe it would be as easy as interrupting the apps optimization, make some room in the SD and then let it do that. But, how?
Unfortunately, as soon as it finishes checking the SD it goes into optimizing in less than 10 secs and I am not that fast to delete stuff in the SD
Also, the SD is encrypted so I have no way to recover any data elsehow on another machine/device!
Can you use adb to clear some space? Or maybe boot into recovery and clear dalvik cache?
Good ones, Dan!!
I have tried recovery and clearing the cache but I guess it only clears the internal one, not the SD as it is encrypted and decryptable only by the full system active
Instead, the adb path seems feasible. Just got adb up and running.
Now I need to be faster than the optimization process to delete some folder / files, right?
I was thinking the easiest is to get rid of the Tidal folder which has tons of songs!
Can you suggest the commands to use in adb to delete a full folder and the path of apps data? If you know Tidal's, even better
Is this helpful for adb commands? http://forum.xda-developers.com/showthread.php?t=1521097
To find the folder location I would use adb shell and ls -l my way from the mnt directory. (Or see if uncle google knows!)
You made it so easy mate, that I switched to the "ask everything" mode
I used a friend phone to discover the path and....
......job done
It is really ugly Android has these kind of issues, though! This is a big system bug
Related
Are there any deep erasing apps out there that can zero the bytes or perform dod style erase methods? I'm trying to erase the internal memory (not the microsd) of the phone. How can I make sure its not recoverable when selling it?
Its just that it contains work related information that I wouldn't want someone trying to recover if they happen to be that type of person.
Ι guess, reflashing it should do the job, and then just mess around with install-uninstall applications, a lot!
The only way to recover data from phone memory if deleted is with taking phone apart and taking flash memory out(this includes melting down pins). And than put this flash on some other circut board.
Just so that you know how hard is it, enough for most people.
For exstremist what the poster before me said, writing and deleting many times. You could do that on rootet phone with some root explorer program. If you didn use custom ROMs you only need to take care of /data partition, if you did flash a bit DATA partition can move maybe(no sure) so you should do same for /system. Flashing ROM writes to some of system partition, the remainder fill it us with some trash files and to again
I heard 20 times is what makes it 100% FBI secure. But 2 times should make it 99.999% secure anyway
Edit: That 20 number is for hard drives with same special machines. I am not sure how it is with flash, maybe one rewrite makes it totaly unrecoverable already. If you only worried for softwere recovery once is enough.
I will also give an example. Suppose you have some critical info on your SD card. If you delete that info, you can't rest assured that your critical info has been deleted. Because system just shows it has been deleted. Until something else fills up the same sectors /space on your card, it wont be permanently deleted. But now, if you fill up your whole SD card with, say, videos and songs, then your critical info is really gone. Though simpler solution to do this is to format the SD card.
Same applies for internal memory. You must flash a new rom and fill the data space fully with other apps. Do it without activating/logging in your gmail. Once it's done, you can reflash it with wiping everything from recovery and give/sell to someone as a fresh phone.
In other words fill ur SD with trash,.
I haven't rooted the phone yet. If I do root just to flash a rom and fill space, will I be able to flash back the original rom and make it so that it was never rooted in the first place?
i wud "dd" all my phone's partition in recovery mode(manually mount them use df in normal mode to know wats mounted) and then flash stock rom using that kdz thing...
PS ..u cud also "dd" your sdcard using
dd if=/dev/random of=/dev/sdb bs=5M count=1000
(/dev/sdb is assumed as your sdcard drive )
5M*1000=5000MB wiped multiply acc to your card's capacity
beastfromtheeast said:
I haven't rooted the phone yet. If I do root just to flash a rom and fill space, will I be able to flash back the original rom and make it so that it was never rooted in the first place?
Click to expand...
Click to collapse
Yes flashing some original ROM with KDZ (there is a thread with instructions somewhere) makes it like it was from the factory.
You r not rooted. In this case:
1.factory reset.
2.install futile apps till your internal memory is full.
3.factory reset again and you are done.
is there any way to install apps without adding a google account and d/l from the market?
yes
download them to your pc
move them to your sd card and install them from there
it would b flashing the new rom alover, of flashing the lg original firmware.
to flash another rom your phone must be rooted and have custom recovery
thanks guys, I flashed the stock rom with kdz then installed futile apps via adb until I couldn't install anymore (adb error when phone hit the 20mb mark). One hard reset later, I think its good to go.
shredroid
i have another gmail address that i use for signing up to websites that might start sending me junk. after ive reset the phone i just add that account to the phone and can get access to the market that way without messing up my other main google account settings... then use Shredroid to give the internal memory a good wipin'.
i never tried the other way but using shredroid sounds way quicker that installing apps until youve filled the internal memory, especially if you have a phone with a lot of it
ategtre sky
sarfaraz1989 said:
i wud "dd" all my phone's partition in recovery mode(manually mount them use df in normal mode to know wats mounted) and then flash stock rom using that kdz thing...
PS ..u cud also "dd" your sdcard using
dd if=/dev/random of=/dev/sdb bs=5M count=1000
(/dev/sdb is assumed as your sdcard drive )
5M*1000=5000MB wiped multiply acc to your card's capacity
Click to expand...
Click to collapse
is there actually a dd binary in recovery mode / android at all?
Hi all
I have just installed CyanogenMod 7 on my HTC Desire.
I partitioned my 16GB Class 10 MicroSD card into a 14GB FAT32 partition and a 2GB ext3 partition. I installed DarkTremor's apps2sd scripts, and the apps2sd gui. I set it to save apps to the SD card, and to move the dalvik cache to the SD card.
Everything was working well: I was able to install apps, and they were going to the SD card (had they not, I would have hit the limit of the Desire's internal storage!). Rebooting didn't negatively affect anything - I rebooted several times and the apps were still there.
Then, when I opened the Theme Explorer, the phone just hung. It didn't respond to any input, from the touch screen to pressing or long pressing the power button. Eventually, in desperation, I took the battery out to do a hard reset.
When the phone booted back up, all the apps I had just installed were gone. Their icons remained on the homepage, but with the generic Android icon instead of their actual icon. They were missing from the ADWLauncher panel. The apps are still present in the list of apps, but are missing their icons and proper names. Instead they are displayed with a generic Android icon, and their "long-form" name, for example "com.amazon.kindle".
In addition to all the apps I had installed being missing, certain apps that came with CyanogenMod were also missing, such as: ROM Manager and the program that lists the apps with root permissions (I forget the name). Also, the Market application is missing. However, the calendar, messages, Google Talk, Theme Chooser, etc are all still present and working.
I tried rebooting the phone multiple times, as well as unmounting and remounting the SD card, with no improvement.
Using the terminal emulator, I can see that /sd-ext still has five directories: app, app-private, dalvik-cache, data, lost+found. However, all these directories, including the /sd-ext/app directory, are empty.
Running a2sd reinstall goes through the list of apps, but for each app that is missing, it says that it cannot find the .apk file for that app.
I suppose, then, that I have two questions:
1. Can I restore my apps somehow?
2. If not, and I have to reinstall, how can I prevent this from happening again?
(At the root of both of these is the question "why did this happen?" so if anyone knows that, that would be a great help too!)
Thank you all in advance - please let me know if there's any other information I can provide.
I have a similar problem with my Samsung Galaxy S2 on Sprint. I used Apps2SD by Sam Lu to move many of my apps over to my new 32 gig SD Card. After a bit I realized that I had moved many of the apps over that should have stayed on the main internal storage, mainly because of widgets. So I moved many of them back.
Shortly after doing that I was at a retreat with my phone on airplane mode to preserve battery life. I took some pictures and videos, read my Kindle app and Bible and then plugged it in to charge. The next day several of the pictures and videos I took showed up as a black icon and were not accessible. Then I noticed that all the apps that I had moved to the SD card were "greyed out" and even some of the apps that I had moved back to the internal storage. The phone then told me the SD card needed to be formatted.
Since then I have tried to use file recovery software to recover missing files on the SD card and it finds hundreds of photos and several videos, but nothing else. So the big question is, where are my apps? I hope you find a solution to your issue because it may be the same solution for my issue.
Sincerely,
Nathan
Hi all,
I bought a Proscan PTL7035-PL (preloaded with Android ICS 4.04) last Christmas. I rooted with a great success and have it running a full-fledged Google Play store. The only drawback is that all apps go to the internal sd which has only 2gb of storage space. I tried a couple of ways swapping the internal and external sds. None of them has worked. Then I followed one from http://forum.xda-developers.com/showthread.php?t=1991583. Basically by modifying the mount point of the internal flash and external sd as described in the file vold.fstab , the hope was to make the system use the big sd storage for apps and data storage etc.
Here is where my nightmare began. After reboot, my tablet stuck at the android logo and the booting never finished. I kind of know that my mounting points messed things up. The fix can be as easy as just restore the backup copy of vold.fstab which I have on the tablet. The problems are that:
1) There is no way to access the system folder of the android device now as the device itself cannot finish booting; and it can't communicate with a PC via USB.
2) Even if I can force it boot into the Android System Recovery 3e, it is not much a help as it needs a certified ROM or backup copy to recover. The official ROM is not out yet and I don't have a backup copy.
It looks like my device has been soft bricked. So how to pull it out?
Anyone ever solve this?
Android2013_ said:
Hi all,
I bought a Proscan PTL7035-PL (preloaded with Android ICS 4.04) last Christmas. I rooted with a great success and have it running a full-fledged Google Play store. The only drawback is that all apps go to the internal sd which has only 2gb of storage space. I tried a couple of ways swapping the internal and external sds. None of them has worked. Then I followed one from http://forum.xda-developers.com/showthread.php?t=1991583. Basically by modifying the mount point of the internal flash and external sd as described in the file vold.fstab , the hope was to make the system use the big sd storage for apps and data storage etc.
Here is where my nightmare began. After reboot, my tablet stuck at the android logo and the booting never finished. I kind of know that my mounting points messed things up. The fix can be as easy as just restore the backup copy of vold.fstab which I have on the tablet. The problems are that:
1) There is no way to access the system folder of the android device now as the device itself cannot finish booting; and it can't communicate with a PC via USB.
2) Even if I can force it boot into the Android System Recovery 3e, it is not much a help as it needs a certified ROM or backup copy to recover. The official ROM is not out yet and I don't have a backup copy.
It looks like my device has been soft bricked. So how to pull it out?
Click to expand...
Click to collapse
Long story short, similar issue. Has Rooted my 9 year olds Tablet, (Same as Op), and actually had it running great. Well, I was installing Gapps, via root explorer, and my Son was talking, and I forgot to Mount the System Folder that I was Replacing with the gapps one, R/W - it stayed R/O and never got replaced.
Thus the other 2 folders I changed to R/W are stuck that way. I think it was the entire Root Folder, and One more. I can elaborate.
Is there a way to fix this, as the tablet will not boot properly. (Hangs on Splash Screen), then if I attempt recovery, it gets stuck at the Android with the Red Triangle coming out of his belly, but no Menu Choices.
Anyone?
The other day the phone seems to have just reset itself without user interaction. All apps and contacts and such are gone but the device memory is full (10mb free after clearing cache and doing delete dumpstate/logcat). The phone memory was also quite full before this happened. Before I perform a factory reset I wanted to ask if it's possible that the data is still there and could be recovered by rooting the phone or something.
Are the chances of recovering anything so low I might as well just do the reset? I'm also worried that the the low amount of available memory is a problem with rooting - is this a valid concern?
The phone is an GT-I9100 with stock Android 4.1.2 (not rooted)
Thanks in advance
So I rooted the phone and can now access the data on the phone using adb. However, I don't know how to copy e.g. the data folder to my computer or the usb memory because "cp" isn't recongnized and I'm not able to install busybox (or a file explorer) on the phone because of insufficient memory. I also can't seem to use adb pull to get the folders (adb pull /data/data outputs "0 files pulled, 0 files skipped").
EDIT: /data/lost+found seems to be taking all the space and looks like the lost data is there. After deleting some files I was able to install busybox and copy the folder where I can access it.
EDIT2: I indeed seem to be able to restore the data (so far tried with mini diary and was succesful) so I'll mark this as solved.
If you've got files in lost+found, they're there because the on-boot filesystem check, fsck, put them there because it found the filesystem to be corrupt. Best thing is to factory wipe as there may still be lurking errors. If it keeps happening, your phone's flash is probably defective (either worn out from use, or manufactured that way) like that in my i9100.
Sent from my Nexus 7 using Tapatalk
I've downloaded the lastest official ROM, and installed it within TWRP.
Everything seemed to be okay after rebooting into the system.
While I found i was not able to download the wallpaper from web browseror to take pictures due to lack of storage.
I'm not able to upload pictures here, so will try my best to describe the situations:
1. after opening camera, it pops out "Turn off camera? /n Insert an SD card before using the camera. /n Cancel or Turn off"
2. when i try to save something from web browser, it says "couln't save due to limited storage space."
3. opening the file manager, I do find internal storage shown at the bottom, indicating 50.20 GB/total 64.00 GB. But opening it, only two folders appear, namely "Android" and "TWRP".
I wondered if it was caused by some read-only issue to the system drive, but I did allow TWRP to modify the system partition upon booting the rec.img.
I've tried a few rounds, the problem is still there. and my yota 3 is kind of a brick to me now.
Help me, please.
My yota3+ also lost the ability to write to the internal memory (possibly after I've inserted a sd card and decline formatting it). Searching for a solution only come up with a very old thread on HTC which involved commands on a rooted phone like msdos_fcsk and restorecon. I couldn't try these commands as my phone is not rooted. You can try these if your phone is rooted.