Need a fix: "Couldn't install on USB storage or SD" - Android Software/Hacking General [Developers Only]

Yes, I've read the threads. I've done the search.
I have an HTC Aria running liberated FR008.
It's been working brilliantly for as long as I can remember but the error popped up "Couldn't install on USB storage or SD".
There is no "smdl2tmp1.asec" file on my phone, never was that I can tell. That is not related to the problem.
Yesterday, at great expense of time, I removed everything from the 16GB SD card, reformatted it, and put it all back (about 12GB worth of data). This did not fix the problem.
One thing that may be related, I recently was running into the issue of not having enough space, so I moved the dalvik cache to SD using "a2sd cachetosd" or whaver the command is. HTC Aria having limited space for apps is a known major problem that I was trying to fix. Is this related? I don't know. I did this before it began having this new error.
Someone has to know a legit fix for this issue. There is 1.65GB of free space on my SD card and 34.48MB on the internal storage. There should be more than enough space to do updates.
What's the scoop? can someone help?

Anyone have a hint on this? My search ninja skills on the net are not giving me any answers.

Continuing the theme of one hand clapping:
I found for a couple of apps that could not update due to this problem, they happened to be apps installed on the SD. I moved them back to the phone and they updated successfully. I have not attempted to move them back to the SD.
Perhaps this data point aids in diagnosing this issue. If this proves to be a consistent pattern, then I will just apply this work around as long as I have space on the phone to move apps over one at a time and update them that way. Even though the solution to this bug doesn't seem to be at hand, perhaps this is a work around.

Related

[Q]: Applications not loading from Storage Card

All of a sudden apps on storage card fail to load.
After a few reboots they reappear at random, but disappear again on reset.
Did not have that problem with stock, but after flashing Infused 1.14 (and on) the issue appears even with the (rooted) stock rom.
Any ideas?
I am trying to determine if I need to return and replace the phone before I lose the option.
Thank you in advance.
Answering the question by myself, in case others encounter the same issue.
The external card had something corrupted, and when the system was mounting it, all mess ensued.
Backed up all the data and reformatted.
System appears ok for now
I just had this same problem or at least something very similar to it. Initially I thought it was the 32GB SD card being too big since I read Android had a 16GB external card limit. But those posts were from a year ago and when I searched deeper I read that 32GB cards were being use without size problems now. There was one issue that seemed to affect some people and that was that android could have problems formatting a card that big and that's how I installed it in my Infuse initially- I let the Infuse format it, then popped in in my Macbook Pro (in OSX) to copy over the contents from the previous 8G card. I believe I have hidden files set to show, so I should be copying over everything- though, could this method of upgrading the card be a problem too?
It worked for a couple days, but last night during a reboot I tried to access the app tray and didn't know the card was still being scanned. It froze and I couldn't get past the secondary media scan after many tries. I didn't realize that apps were being automatically installed to the card.
Anyway, I was gonna return the card, but after reading your post, I'm thinking again about corruption due to poor formatting as the problem, so I'll try it again when I get home. Thanks for your post. I really want to be able to use this larger card so I'm keeping my fingers crossed this will solve the problem.
BTW, how did you format the card? I have Win7 x64Pro on my MBP as well if I need to use windows, but did you use FAT, FAT32, ExFat? I'm still a 'droid noob ;P. Thanks again!
-- Infuse 4G Rooted with stock ROM

[Q] Apps on SDcard go missing? usually??

Is anyone running into a problem with apps that have been moved to sdcard just disappearing? Most of the time I see little green droid icons all over my launcher (ADW), and lots of missing apps in the app drawer. I can reboot several times and eventually all show up.
I'm running ee4_debloated-v421 / 0730_charge_voodoo kernel / sdcard_patch. Am on my second handset (first one had a clicky button go dead). The earlier handset occasionally did the same thing.
I presume the sdcard is the culprit, as it is the common element. But I have popped it out, run fdisk and defrag all with no errors.
Any theories??
I had this happen when I first got my charge. How I fixed it was I took the SDCard out of my phone and put it into my flash media reader, and then did a full format using HP's Format tool with default device settings. It took a long time to do the full format, but after doing so, I didn't have any more issues with apps disappearing that were installed to the SDCard.
Full format, huh... (gulp) well it's certainly worth a try! I'll report back.
Thanks,
Larry
ljcorsa said:
Full format, huh... (gulp) well it's certainly worth a try! I'll report back.
Thanks,
Larry
Click to expand...
Click to collapse
I know when the phone first came out, there were several users with SDCard problems. I'm not sure how others fixed them, but a full format and a half hour or so fixed mine
Well, I'm disappointed to report that the problem did not disappear :-( Could it be the contents? I copied *everything* from the card before full formatting with the HP tool (which tooks hours as you said), then copied it all back. Same result... if I reboot enough times it will come up with all apps showing.
I've ordered a Class 10 card. Plan to use the HP tool on it straight away. What else would you recommend? Maybe move all the apps back to the phone? Would you start from a fresh load of the ROM?
Many thanks,
Larry
ljcorsa said:
Well, I'm disappointed to report that the problem did not disappear :-( Could it be the contents? I copied *everything* from the card before full formatting with the HP tool (which tooks hours as you said), then copied it all back. Same result... if I reboot enough times it will come up with all apps showing.
I've ordered a Class 10 card. Plan to use the HP tool on it straight away. What else would you recommend? Maybe move all the apps back to the phone? Would you start from a fresh load of the ROM?
Many thanks,
Larry
Click to expand...
Click to collapse
I know that DroidXcon over in the Android Central forums advises NOT to move apps over to the SDcard because of problems like you have experienced...the higher (class) speed card may help. I've noticed that on my stock class 2 card when I view a subdirectory that contains large wallpaper files using QuickPic or Gallery, the thumbnails will often "time out" and not display towards the end of the list unless I refresh the listing several times. I would assume it is for the same reason that recording video to the class 2 card will time out after a few minutes.
Good luck with the Class 10 card...keep us posted!!!
Well, the Class 10 arrived in time to try again, so formatted with HP Utility and copied all the saved files over. Same behavior.
If it's the sheer quantity of apps on the SD card and there is a timeout involved, that might explain it! Reformatting the card would effectively defrag it which would speed it up, perhaps explaining imnuts' observation. And if reading in all those apps at startup is not I/O bound but maybe CPU bound, that would explain my experience.
I'm going to try moving apps back to the phone just to see.
Wow, this is persistent. Moved all the apps from SD back to phone using TiB, which seemed to hang sometimes. Tried different access methods with no clear winner. Anyway, after a reboot, the situation was unchanged. Unreal.
So I am starting from scratch with a freshly-formatted Class10 card, a full data/cache wipe, and a new ROM: GummyChargedFE1.9.1. Haven't had a problem yet, but haven't restored anything to SD either. Proceeding cautiously.
Ok, I'm converted. GummyChargedFE1.9.1 solved this problem. Everything seems to run better. Added the V6 SuperCharger thing which tweaks minfree levels and much more, and the combination runs extremely well.
Biggest problem for me is that I'm satisfied... spent the last two years trying to get my "original" Droid to run well, then got the Charge, started over. What do I do for an encore?
Fast Boot option may be the culprit
In case anyone is following this old thread ...
I did not need to install a new ROM
CUT TO THE SOLUTION BELOW -- SEARCH FOR ////
Some (not all) of my apps moved to SD (all by Titanium Backup Pro) have begun to disappear and (sometimes) reappear without warning after I began to add and delete large Virtual Machines created in QEMU from my 16GB SanDisc class 10 microSD card on my HTC Droid Incredible running rooted stock Verizon Android Froyo 2.2.3. I know this thread is far from my phone's "home base", but from what I can tell this problem with disappearing apps located on an sdcard is NOT determined by hardware or even Android version.
I also happen to use LauncherPro by Federico Carnales instead of the built-in HTC Sense launcher. I noted elsewhere on XDA that a user had suggested that because at least some (maybe all) launchers start before the SD Card that this may be a problem, especially if changes are made to the sdcard that the launcher did not perform, or was not active during their performance by other apps such as Titanium Backup. That fits my situation, because I unmounted the SD, physically removed it to a PC, and added/deleted large VM files to save (lots) of time. No problems of this sort before I did this, so there must be some connection.
I noted that other users have tried reformatting SD, substituting different brands of SD, using newer/older SD etc. None of these reliably helped. So I skipped these options.
//// The (simple!) solution I tried that SEEMS to work (only time will tell!) is buried in the main Android Settings (accessed from the Menu button while in Home screen). Under "Applications" there is a setting "Fast Boot" that I checked long ago and forgot about (it seemed like a good thing to do at the time). The text warns "Turn off to use some Market apps" (that shows the age of my 2-yr old used phone and Android OS -- ohmygosh!-- because it refers to Market rather than Google Play Store!) Anyway, I unchecked the option and rebooted the phone.
Yes, it took a bit longer to boot (maybe a whole minute!), but after waiting about another minute ALL my home screen apps had normal icons and loaded properly. Titanium Backup Pro batch scenarios confirmed there were no apps in a forced uninstalled state (i.e. I had not done the deed, the system somehow had done it or at least rendered the apps "invisible" to Titanium, which decided they needed reinstallation).
The only odd behaviour was that auto brightness was turned off after I unchecked Fast Boot and rebooted. Going into Android Settings > Display and rechecking "auto brightness" took care of that. No other oddities or strange behaviours thus far (but it has only been about an hour).
I will report back here on this thread only (Samsung Fascinate > Fascinate Q&A > What just happend? apps on sdcard) if anything else requires reporting. Silence implies success!
link: http://forum.xda-developers.com/showthread.php?t=1873670
(I am copying this post to other relevant threads, but will not post anything further elsewhere -- only there. This is a bit arbitrary (although this thread appears to be the most recent active one on this topic), but I hope this approach pleases the XDA sysops/admins) :angel:

[Q] Apps gone

Hi after having to switch my phone off, when I turned it on again it appears that all the apps I moved to the SD card are no longer there. I have just spent some time downloading them from the market again.
Question is why has this happened and how do I stop it from happening again
Thanks in advance
Solution
Hi Nexus.
I think you'll find that the apps still exist, they're just fragmented on the SD
card. This has happened to me plenty of times.
I've found it's only apps that are installed on the SD card and it's never
happened with apps on the phone's internal ROM.
A good way to check is to go into: Settings- Applications- Manage applications-
then tap the SD card tab. That list shows all of your apps installed on the SD
card. I found that when apps here got fragmented/corrupt they didn't show their
original app icon. Instead they showed the stock android app icon. This is a good
way to tell if the missing apps in question are still there but are just fragmented.
The way to solve this, the way that's worked for me, is to plug the phone into a
pc and mount the SD card as a disk. Then on the PC access the SD card via
explorer and right click- properties- tools- then click de-fragment.
This may take up to 30 mins as it's not as fast as a HDD.
From using this technique my apps have always returned and I can use them
with no problems again.
I've also noticed that this issue only happens if I restart or turn the phone off. I
don't understand what is corrupting the apps as the SD card is mounted
correctly and is the one supplied as standard.
I hope I've helped, and I guess this will save you from re-downloading all of your
apps again.
I'm happy to hear anyone's thoughts/suggestions onto why this is actually
happening in the first place too.
Cheers, Dms
Hi thanks so much for the answer. This has been bugging me for ages and even though I have been searching I have not had any joy solving it until your reply.
As you said it only seems to happen to apps on the sd card, and I would like to know why they are not "persistent" There must be a developer who understands the Android system who can explain why this happens and what you can do to make apps you have on your sd card permanent.
As you said it only happens to me when I re start my phone.
Thanks again for the answer
Hi. It's no problem. Yes I havn't seen anything about this issue being mentioned either.
I'd like to know what's causing it. Whether it's a hardware fault or something in the software.
It's a real pain having to hook it up to my pc to sort it out. Especially when I'm away from a pc, I can't use half of my apps.
Sent from my HTC Desire S using XDA App

[Completed] Can't read SD Card anymore: hardware failure?

I have some problems with my SD card on a THL T100s running a custom Kitkat 4.4.2 ROM.
I recently noticed that Android didn't see my SD anymore. I thought it was corrupted, so I put in on my pc and fixed file system and all. It didn't work. I tried with another SD, formatted it, but Android either didn't see the card at all, or say it was empty/corrupted. Then i booted into TWRP recovery mode to see if it was some software misconfiguration issue. TWRP saw the SD, so I rebooted and finally Android could read the card. Then something very strange started to happen. In a minute or so, my file explorer that previously could read and write on the SD, showed an empty folder instead, and no read or write operations could be performed anymore. Whenever I reboot, sometimes TWRP and/or Android can read/write on the SD card, sometimes not, and when it does it stops in a few minutes. Unmounting and remounting the SD from Settings->Memory result in a "Empty/Corrupted SD card" notification. I even hopelessly tried to wipe cache and dalvik cache (resulting in an annoying "Upgrading Android" at every boot)
I tried to logcat since boot, but honestly I spent all day long trying to figuring out what happens to no avail. I'm no expert and the logcats are huge: filtering only errors, or "sdcard1", "Volume", "Vold*" (which seemed to be related to the sdcard) didn't help me. I'm afraid it is a harware failure and that I can't do much about it.
Can anyone help me to search for the right things in logcats or has anyone else have an idea about what might happen? Any other suggestions?
I'll post a logcat if necessary but even filtering them out there are several hundreds if not thousands rows.
Thanks.
Hi
Welcome to XDA Assist.
Check this thread to know the basics of logcat .
http://forum.xda-developers.com/showthread.php?t=2274119
Though ,you are pretty much right . vold service manages SD card and volumes mounted such a SD card. And most probably your hardware is failing . Or the slot can't read the card properly.
A good way is to clean the contacts with isopropyl alcohol or some other cleaner. Dab some on tissue and clean it gently. You can also use a pencil eraser to clean contacts gently.
If you have any other issues ,you can sign up on forums and post in general Q/A
http://forum.xda-developers.com/android/help
Have a good day !
Just to add to this, Google has decided to limit sd card access in KitKat and Lollipop. You can also seek an app on Google Play called Sdfix which may be resolve the issue you are having. Also contact the developers of the custom ROMs you are using to see if they incorporated the known fix in their ROMs.
Thanks for the replies. I'll try to clean the contacts though they look pretty clean to me. I know about new Android restrictions, but I have root and the right permissions set. Previously it worked indeed.
I'm sure it probably is hardware related since a few days ago I had the phone repaired due to a broken micro USB port, and now sometimes even the camera can't connect. Perhaps the phone had been mounted incorrectly. I tried to dismantle it myself, but I can't see anything strange or out of place. A little pressure near the camera seemed to solve that problem. The micro SD slot isn't anywhere near the micro USB one, so this seemed strange to me. I hope the repairman didn't solder any circuitry it shouldn't.
If I don't solve with the cleaning I'll bring the phone back to him to see if he can handle that.
Thanks again

K1: Post 1.3 OTA, paired/married SD causes tablet lock, bootloops, and a ton of heat.

This is a strange one for me. Stumped. Been working on it all night, no improvement. New one for me, long-ish description (with detail), but a TL;DR too.
Last night I applied the 1.3 OTA for the K1. Being my K1 was rooted, I followed the process I have always followed by restoring the system images to stock, applying the OTA via recovery, then re-rooting. Process:
Shutdown tablet
Swap married/paired SD card with temp SD containing flashables (OTA, SuperSU)
Boot to bootloader, fastboot (re)flash tablet's current system images (recovery was already stock but flashed again for good measure, boot, system, blob -> staging)
Boot to custom recovery using fastboot boot -recovery image-
Flash OTA from temp SD, wipe caches, apply SuperSU
Shutdown, replace married SD, boot, enjoy life
This time I didn't immediately apply SuperSU, as I thought I'd flash 1.3 and let it go fully stock a bit to ensure no other updates were pending (nVidia seems to like incremental updates, so flashing to 1.1 won't give you an OTA to 1.3 directly, but to 1.2 first, then 1.3). I've also followed this process with the K1 for every update since 1.1 without a hitch, and although there haven't been many OTAs, it has still worked perfectly every time. Because of this and because I've done this a billion times on a million different devices with zero issues ever, I didn't take a backup before the update. Woe is me.
When I rebooted this time after flashing the OTA (no root), it booted up seemingly fine to the "Android is upgrading" modal, so I left the tablet alone for a bit to let it do its thing. When I came back, the tablet was HOT, was at a completely black screen save for the status bar (no wallpaper/launcher besides the clock/wifi icon which showed a connection, that's it). I tried to interact with it and couldn't (totally locked up, also a first), then it rebooted on its own. Subsequent times, during troubleshooting, I noticed that it's totally locked -- NOTHING responds, unless you can get to it before it reboots and hold power to kill it.
First thought was a bad flash. NBD, so went back and reflashed, double-checking everything and carefully following the same process. No dice. I did use a newer TWRP recovery from April of this year initially, which was a recommended version for the K1 specifically, rather than a really buggy but working one from last year. To test I did I try using the older TWRP on one of the next flashes thinking maybe the new one borked the partitions, or at least wasn't writing the partitions/symlinks properly (and the older one was the TWRP I had used for previous updates, with no issues). But, no change..
It took me a long time and many reflashes and cache formatting and digging before I realized if I pulled the married SD out, it booted just fine. Weird, and gets weirder. After leaving the married SD out and booting, and having the tablet working just as expected (except for missing the SD), Android shows a notification saying to reinsert the married SD. Once the married SD is reinserted, things seem OK for a few seconds before the whole system goes unresponsive again, heats up, and begins bootlooping. Before it sh'ts the bed, the message on the status notification asking to reinsert the married SD card doesn't change, but in the Storage settings, it shows it's "checking" the card, followed by a sudden hot death spiral into non-function. If you select the SD from Storage settings to take a look around its contents, the tablet basically locks up instantly. Inserting other SDs works fine (for the most part, still some other weirdness), it's just the married SD that totally kills the device without fail.
Obviously I'd like to avoid wiping and reinstalling the whole thing if it can be avoided, not just because my dumb ass didn't take a backup so I'd lose a ton of app/game data, but also because it's a just huge pain. A lot of the sites that offered "fixes" for these types of problems say to just wipe data, which is not a solution and is the nuclear option (like telling someone to to replace a car due to a flat tire).
Ideas? Is this as simple as recreating some symlinks that somehow disappeared and refuse to come back after all the flashes, and if so, how? I've been looking for hours and haven't found anyone with this particular issue or steps to correct.
[size=+2]TL;DR[/size]: Applied K1 1.3 OTA, married/paired SD card is no longer recognized, causes tablet to hard-lock and enter bootloop when inserted (other SDs do not cause this issue).
Other potentially pertinent bits:
Initial flash was dirty, second and subsequent flashes included a wipe of system first
Installed 1.2 images first, then tried going back to 1.1.1 and taking nVidia's OTAs to get back up to 1.3
1.1.1 does not recognize the married SD but doesn't kill the tablet, while 1.2 and 1.3 kill the tablet when the SD is inserted
When married SD is not inserted, using shell or ES Explorer or otherwise, not seeing a /storage/emulated/0, or /sdcard, or /data/media, or any other familiar storage related directories
When married SD is inserted, it dies too fast to look around much or try to do anything to check/fix the SD itself
/storage is totally empty except for a folder called "self", and inserting a working SD creates a directory under /storage labeled with the SD's serial number (not an emulated/0 directory or anything similar)
Not sure if this is expected behavior since the SD was married -- do those directories/symlinks live on the SD now since it's married, and won't show up in the device filesystem until everything's properly mounted?
Tried following these steps, which although written in the N5 forum, still seemed relevant.. no change
Tried the referenced SD permissions update with the card inserted and not, in case of the directories it touches only being visible/available with the card inserted, no change
Noticed even within TWRP, going to the "mount" menu seemed flaky, labored, and didn't show what I expected, but this could be because there isn't a "proper" or official custom recovery for the K1 yet and things are just buggy
ES File Manager still seems to think an /sdcard directory exists and tries to open to it, and just spins in an open directory.. as expected
Going to /data in ES File Manager shows me an empty directory with a message stating the SD card is missing
Using a working, freshly formatted SD in the tablet and trying to point Titanium to a directory on the SD gives me messages about the directory being unwritable, no matter where I go on the SD
Titanium's app permissions (including r/w storage) are proper, SD is not write protected (freshly formatted on the tablet)
Tried using SDFix, which also gave me an error re: "platform permission file is invalid"
There's probably more I'm missing, but can't remember it all -- I have tried everything, I feel like, and have been at it for 13 hours now (apologies if this is written spotty, fighting to keep my eyes open).
So is it totally hosed, or is this recoverable? Is there a way to fix the tablet to recognize the SD, or fix the SD itself if that's the issue (but I'd wonder how it got corrupted in the first place, since it has only been removed once fully powered down)? Is there at least a way to check the married SD for corruption or issues?
Thoughts?
EDIT: Formatting
You removed the sdcard that was set as internal storage? Well you probably broke it/the data on it because that's not what you should do at all
GtrCraft said:
You removed the sdcard that was set as internal storage? Well you probably broke it/the data on it because that's not what you should do at all
Click to expand...
Click to collapse
And why is that? When the OS is running, sure, you can't. It'd be equivalent to just deleting /data while the OS was running. It seems pretty unlikely that removing and reinserting it while it's powered off, though, would make it suddenly unable to read the SD or forget its pairing. Adopted storage is "married" to the device via a generated encryption key, which is stored on the device's internal storage. It's all handled in software, not like the SD fuses itself to the device Removing the SD (while off) would not (and does not) break this pairing method, unless the internal storage or SD decides to spontaneously erase itself while the device was off.
The process outlined is the recommended process for upgrading rooted devices with adopted storage. I've followed this process on multiple tablets/phones with adopted storage with zero issues, including this one several times, like I mentioned.
If it WERE the case that simply removing it (again, while off) made it forget the SD, I could understand the tablet reading the card and saying "nope not going to accept it, you done f'd up" and spitting out a dialog telling me to format it or whatnot.. lesson learned, if that were the case. However it's completely hard-locking the device (again, NOTHING works, no physical buttons, screen is unresponsive, only holding power to kill it works) when it's just reading the SD, and apparently pinning the CPU when doing so (hence the absurd heat)..? It's not just a matter of the tablet forgetting the SD
grivad said:
When the OS is running, sure. Maybe that is the case, but it seems pretty unlikely that removing and reinserting it while it's powered off would make it spontaneously unable to read the SD or forget its pairing.
This is the recommended process for upgrading rooted devices with adopted storage. I've followed this process on multiple tablets/phones with adopted storage with zero issues, including this one several times, like I mentioned.
If it WERE the case that simply removing it (again, while off) made it forget the SD, I could understand the tablet reading the card and saying "nope not going to accept it, you done f'd up" and spitting out a dialog telling me to format it or whatnot.. lesson learned, if that were the case. However it's completely hard-locking the device (again, NOTHING works, no physical buttons, screen is unresponsive, only holding power to kill it works) when it's just reading the SD, and apparently pinning the CPU when doing so (hence the absurd heat)..? It's not just a matter of the tablet forgetting the SD
Click to expand...
Click to collapse
Still, you better off formatting it
Sent from my XT1562 using XDA Labs
Been running adopted storage in my mxpe since mm was released and have never removed the card to flash.
Sent from my SHIELD Tablet using Tapatalk
lafester said:
Been running adopted storage in my mxpe since mm was released and have never removed the card to flash.
Sent from my SHIELD Tablet using Tapatalk
Click to expand...
Click to collapse
Cool.
Regarding the YOU CAN'T REMOVE IT belief (which is categorically false), if this were a serious issue like people speculate it is, Android would simply not ALLOW you to remove it. Meaning if it was ever detected as being removed or missing, first time, Android would tell you "too bad, now it's unpaired", and would also make it REEEEALLY clear not to remove it at all, ever, during the pairing process, which it does not. Nor would it let you eject adopted storage, which you can, safely. Like I mentioned above, when booting without the SD present, the system runs fine and has a persistent notification asking you to reinsert the paired SD, and begins to check the SD as soon as it's inserted so it can be remounted. If you select the notification before putting the SD back in, it takes you to a panel explaining how the SD has all your apps, so you really should put it back in, or you can choose to "forget" the SD and you're back to square one. If you REALLY weren't supposed to remove the SD EVER, none of this would exist.
Additionally, pretty much every piece of documentation around adoptable storage says it can be removed just fine (but is only readable/usable by the device it was paired to), but the system kinda needs it to, you know, run all the apps you put on the thing, and will persistently remind you to reinsert it, unless you choose to break the adoption. So there's that.
Storage adoption isn't this magical, complicated thing. It mounts certain directories to your SD instead of internal storage (e.g., /storage/emulated), generates a key, then encrypts the card to prevent it from being read outside of the device it was paired with. That's really pretty much all there is to it. None of those things necessitate a or even imply that removal of an adopted SD would lead to sudden disaster. That's like believing if you take your hard drive out of your computer, but then plug it right back in, that it's going to be unbootable and dead. Doesn't work that way.
I appreciate you guys trying to help, but the problem is not simply that I removed the SD so now it's broken.
The thing that should get your attention is that when the SD is inserted, it begins to scan the SD and subsequently HARD-LOCKS. And PEGS THE CPU. Also that I cannot write to a working SD with Titanium. These things are pretty abnormal for Android devices, to say the least. There is something else going on here besides "You took the SD out and you weren't supposed to."
grivad said:
Cool.
Regarding the DON'T REMOVE IT belief, if this were an issue like people speculate it is, Android would simply not ALLOW you to remove it. Meaning if it was ever detected as being removed or missing, first time, Android would tell you "too bad, now it's unpaired", and would also make it REEEEALLY clear not to remove it at all, ever, during the pairing process, which it does not. Nor would it let you eject adopted storage, which you can, safely. Like I mentioned above, when booting without the SD present, the system runs fine and has a persistent notification asking you to reinsert the paired SD, and begins to check the SD as soon as it's inserted so it can be remounted. If you select the notification before putting the SD back in, it takes you to a panel explaining how the SD has all your apps, so you really should put it back in, or you can choose to "forget" the SD and you're back to square one. If you REALLY weren't supposed to remove the SD EVER, none of this would exist.
Additionally, pretty much every piece of documentation around adoptable storage says it can be removed just fine (but is only readable/usable by the device it was paired to), but the system kinda needs it to, you know, run all the apps you put on the thing, and will persistently remind you to reinsert it, unless you choose to break the adoption. So there's that.
Storage adoption isn't this magical, complicated thing. It mounts certain directories to your SD instead of internal storage (e.g., /storage/emulated), generates a key, then encrypts the card to prevent it from being read outside of the device it was paired with. That's really pretty much all there is to it. None of those things necessitate a or even imply that removal of an adopted SD would lead to sudden disaster. That's like believing if you take your hard drive out of your computer, but then plug it right back in, that it's going to be unbootable and dead. Doesn't work that way.
I appreciate you guys trying to help, but the problem is not simply that I removed the SD so now it's broken.
The thing that should get your attention is that when the SD is inserted, it begins to scan the SD and subsequently HARD-LOCKS. And PEGS THE CPU. Both of those things are pretty abnormal for Android devices, to say the least. There is something else going on here besides "You took the SD out and you weren't supposed to."
Click to expand...
Click to collapse
Well you tried with another sd and there is no problem. So the cause of the freezing problem is your sd.
But be my guest and find another solution. I just gave an answer to your question and a solution for the problem. If you don't believe that then you shouldn't ask it in the first place
GtrCraft said:
Well you tried with another sd and there is no problem. So the cause of the freezing problem is your sd.
But be my guest and find another solution. I just gave an answer to your question and a solution for the problem. If you don't believe that then you shouldn't ask it in the first place
Click to expand...
Click to collapse
It's not that I don't believe the solution, I don't believe the premise because it is provably false There is absolutely nothing unsafe about ejecting adopted storage, which is why the OS lets you do it, even while it's running and using the storage. Even less of a risk if the thing is off. The "solution" offered wasn't much of a solution, and in the OP it was stated that I wasn't looking for that answer (already know that's an option, which is why I mentioned in the OP).
I appreciate you trying to help, but simply saying "format it", again, is the nuclear option. Not what I'm looking for. Either information as to what's happening (if anyone else has dealt with this) with a justification as to why it's irrepairable, or things to try based on the information I gave. Spending a lot of time being thorough just to get a "format it" response, to be frank, isn't very helpful It's like telling someone to reinstall their entire OS because they can't figure out how to install a driver, or to raze their house because a painting fell off the wall.
The SD didn't spontaneously corrupt itself in the 5 mins it was out of the device. No gamma bursts or EM storms in my area that I know of, either Because the only thing that changed was installing the OTA, this really seems to be a software problem (albeit a bit bizarre, to me) so it should be fixable via software. The fact it's pegging the CPU when the SD is inserted makes me wonder if it's getting stuck in a loop, maybe due to partition changes (looking for a file or partition it can't find). If that's the case, again, that should be fixable via software, with instruction from someone knowledgeable on how the Android FS and mounts work.
Again thanks for trying to help. I know formatting is an option (the easiest one), but I'm looking for just that -- options.
You did update the firmware with the sd out, nothing to do with lightning or gamma bursts.
Did you try downgrading firmware back to where it was?
lafester said:
You did update the firmware with the sd out, nothing to do with lightning or gamma bursts.
Did you try downgrading firmware back to where it was?
Click to expand...
Click to collapse
True, the SD was out, however this is how I've both read to do it in multiple places, and how I've applied every OTA so far without issue (with the same adopted SD every time). As part of my troubleshooting, I did try flashing the OTA with the adopted SD inserted, though. It didn't make a difference.
I did try downgrading.. When I started the tablet was on 1.2, OTAd to 1.3. Every time I'd reflash I would do so to 1.2. I did try flashing down to 1.1.1 (the "recovery OS image") and OTAing back up, and like I mentioned that allowed me to use the device with the SD inserted, but it wouldn't recognize it as the adopted storage.. just kinda did nothing, as if the card wasn't inserted at all. This happened in 1.2 as well (OTAd from 1.1.1), and once it got up to 1.3 from 1.2 it all started all over again.
I'm creating an image of the SD right now (using dd) to try restoring it to another SD. I've read that doing this preserves the pairing information, so if it's a bad SD, this would hopefully fix it. I also wanted to try flashing directly to 1.3, but the images aren't available yet Only 1.2 and 1.1.1..
Honestly I would divorce the card before update then redo it after this whole method is janky anyway no reason to remap the data links like they do and all it would be required is if app devs were forced to comply with a data space method... The feature of installing to SD card should be available to non married storage.
Old thread, haven't been on in a while, but thought I'd post an update.
The problem ended up being a hardware issue. I contacted nVidia after absolutely nothing I tried resolved the issue (different SDs, different OS versions, different process to set up, etc.). I simply explained the problems I was having and my troubleshooting attempts, asked if it was a known issue or if they had any suggestions, and they immediately responded with RMA info, no questions asked. The replacement turnaround time was very fast (within a week IIRC), and the new K1 has had zero issues.

Categories

Resources