/data remount as RO after device sleep (Teclast T10) - Android Q&A, Help & Troubleshooting

Hi guys, I have the Teclast T10, which is running Android 7.01. I'm aware there's a specific forum for this device but none of the user there face the same problem as I do. And since I think this more like an android issue, I'll try posting this here.
So, the problem: Apps force close after device sleep for a while, including core ones like google services, android.media, settings, basically everything.
How do I know this? Because if I keep using the device, it will never happen. I've also tested this with running something like the amoled always on screen app to keep the screen on and it does not happen. The device will work normally until the battery is depleted. But if I let the device to sleep for a while (screen off), say 30 minutes (it's random, sometimes it can survive for 2 hours, other times 10 minutes is enough), the first thing it greets me with when I turn it back on is, "Settings has stopped". At that point, most apps will force close when I open them. There's no cure other than rebooting, in which case it will work fine again until it's next nap time.
I checked the logcat and most errors are complaining that the file system is readonly, sqlite cannot write to the DB, cannot open file for writing, etc. And indeed when I check with "mount", the /data partition has been mounted "ro". I don't know what trigger this. I tried formatting the partition in TWRP, success. Check with e2fsck and there are no error.
So, any idea what's causing this and how to fix it? I'm willing to forego the internal storage entirely and move all my /data to the slower external sd card as long as it works, but I haven't find a way to easily do that with this tablet. Oh did I mention that if I use my external SD card as adaptable storage and move my apps to that, those apps will not force close. Only apps remaining in this damn (sorry) /data partition are doomed.
Appreciate any idea to try, It's driving me nuts for weeks now.
Thanks

Related

Foliomod 1.3 - Issues and bugs

This thread should be used for bugreporting and troubleshooting.
Foliomod 1.3 ONLY.
Please make sure to post a detailed description of the issue, under what curcumstances it occures, and which processes are running.
Use the search function to make sure your issue hasn't already been solved before you post.
the process mmcqd sometimes hogs 100 % of the cpu. load goes up to about 5,5 and stays there. makes the tablet very unresponsive.
usually happens when using the browser / quicksearch / voice search.
FolioButtons Not working
shpitz said:
FolioButtons Not working
Click to expand...
Click to collapse
details please
kepler1982 said:
the process mmcqd sometimes hogs 100 % of the cpu. load goes up to about 5,5 and stays there. makes the tablet very unresponsive.
usually happens when using the browser / quicksearch / voice search.
Click to expand...
Click to collapse
mmcqd is the mmc driver kernel process which handles writes to SD so if it runs at 100% is because some program is intensively using the disk.
remember that the Folio has no ROM in it but a Sandisk 16 GB SD card
Bug :
about Foliowidget :
I have checked the Light (enabled) => lights are ON.
Sometimes, after pushing the ON/OFF buttons, light went OFF, and I am obliged to go under foliowidget ...
but under foliowidget, Light check box is already at ON, then I push twice on the check box to re-activate lights.
kepler1982, will you make a summary of bugs listed in this thread in first post ?
Games crashses the folio, totaly freeze and force shutdown is necesary.
Dungeon hunter
Dungeon defenders
and others.
teknoraver said:
mmcqd is the mmc driver kernel process which handles writes to SD so if it runs at 100% is because some program is intensively using the disk.
remember that the Folio has no ROM in it but a Sandisk 16 GB SD card
Click to expand...
Click to collapse
But what program would that be? I closed the browser/searchapps and devtools doesnt show any processes out of the ordinary. Still the cpu stays at 100 percent until you reboot
kepler1982 said:
But what program would that be? I closed the browser/searchapps and devtools doesnt show any processes out of the ordinary. Still the cpu stays at 100 percent until you reboot
Click to expand...
Click to collapse
after 2 days running, i got a folio waking up from standby with 0.1/0.5/0.5 is uptime cpu load..
i do note the wifi issue in the begining when its just rebooted, but it dissappear and i dont feel anything affected by the 2.0/2.x/2.x is see sometimes..
Movies do hit 3.x, but it quickly goes down to 1.x after movie is stopped.
olipheus said:
I've tried 1.3b all day and I love how responsive it is!
Now for some bug report: I've got the "wake up" back again. Seems like it worse than ever. I also have some problem with the browser. Sometimes links stop working and I have to longpress and press open. The foliowidget icon seems messed up, like it's too big.
Other than that it's great!
Hope the input comes to use
Btw, I wiped it and flashed the rom all fresh.
Click to expand...
Click to collapse
Thought I'd post it here to
rccheca said:
Games crashses the folio, totaly freeze and force shutdown is necesary.
Dungeon hunter
Dungeon defenders
and others.
Click to expand...
Click to collapse
patience!!!
CES2011 is flooded with Tegra2 tablets, and alot of focus seems to be on Nvidia's chipset, so games might not work now, but expect alot of gameloft releases to be for our tegra2 cpu, and fully compatible very soon..
right now all gameloft HD games are for the different range of cpu's so all binaries crash on our folio.. but that'll change very,very soon..
Freeze and need force shutdown
freeze and force shutdown happened to me always while in
1) games (Dexter had answered)
2) web browsing
3) android market too
no problems when i keep scrolling but when i stop for a moment reading the contents, it sometimes freezed and need force shutdown
i am wondering is it i updated my folio incorrectly?
no hesitate to reinstall 1.3b by tonight and then test the app 1 by 1.
waii69 said:
freeze and force shutdown happened to me always while in
1) games (Dexter had answered)
2) web browsing
3) android market too
no problems when i keep scrolling but when i stop for a moment reading the contents, it sometimes freezed and need force shutdown
i am wondering is it i updated my folio incorrectly?
no hesitate to reinstall 1.3b by tonight and then test the app 1 by 1.
Click to expand...
Click to collapse
it's probably a stupid question, but it has to be asked: did you do a factory wipe before and after installing the mod?
Problem ready phitos and videos from SD CARD
Hello,
I have a lot of problems reading my photos either in Galerie or in Toshiba media player rrombmy SD CARD. 16GB SDHC.
Apps keep on saying there is no volume mounted but it is!!!!
mizreh said:
Hello,
I have a lot of problems reading my photos either in Galerie or in Toshiba media player rrombmy SD CARD. 16GB SDHC.
Apps keep on saying there is no volume mounted but it is!!!!
Click to expand...
Click to collapse
Same here, seems some SD card features are not supported by the kernel/driver. Try a Windows formatted card instead.
Still have some issues with the storage which may be related to the filesystem optimizations.
I see messages like this in logcat output:
Code:
01-04 23:26:55.953: ERROR/ApplicationContext(2384): Couldn't create directory for SharedPreferences file /data/data/com.metago.astro/shared_prefs/com.metago.astro_preferences.xml
I've checked and the directory exists and permissions looked OK as well. However I was not able to modify/delete the directory doing so ended up in a I/O Error.
Code:
sh-4.1# rm -r shared_prefs/
rm failed for shared_prefs/, I/O error
So i pulled the whole partition over to my pc and made a filesystem check:
Code:
Entry 'com.metago.astro_preferences.xml' in /data/com.metago.astro/shared_prefs (2074) has deleted/unused inode 2059. Clear<y>?
Seems like the filesystem indeed was corrupted for whatever reason.
(had several freezes and reboots during the usage of the Folio)
So if this data can become corrupted somehow, this may be a reason why applications are crashing on one device or not storing their preferences/data.
The main question is, can this be handled on the device, like doing a fsck before these partitions are mounted.
Flashing the fixed partition back to the device solved the initial error.
Happend on FolioMod v1.3b (Wiped several times since installing the 'b' patch)
Btw, also checked /data partition and it turns out there were even more errors on that.
weeds2000 said:
Happend on FolioMod v1.3b (Wiped several times since installing the 'b' patch)
Btw, also checked /data partition and it turns out there were even more errors on that.
Click to expand...
Click to collapse
can you confirm that e2fsck is in place (system/bin)?
its running in the init.d/01data2ext script at every bootup... i have no fs problems or errors in dmesg here, and i do reboot alot (meaning dirty reboots)
edit: i think i located the issue :-( (and made a small patch update to fix the 01data2ext script)
Ill test if we can use ext4 in my next update, so a fsck should be less needed.
weeds2000 said:
Btw, also checked /data partition and it turns out there were even more errors on that.
Click to expand...
Click to collapse
/data is ext3 and journalised? so that should only occur if you tried a fsck on a mounted filesystem.
kepler1982 said:
it's probably a stupid question, but it has to be asked: did you do a factory wipe before and after installing the mod?
Click to expand...
Click to collapse
yes, after installed v1.3 i did a factory reset, sorry i didn't mention it.
last night i use it with wifi turned off and no more freeze n fs issue,
play games
read pdf
playing music n video
going thru others app as setting, phto app etc
all were so smooth and never froze.
only d game "slice it" rebooted itself twice.
bumping the waking up problem a bit. Any idea why it's back? It seems my folio freezes in sleep everytime I leave it alone for a couple of mins. I've seen a few else reporting it, but isn't everyone experiencing it?
2 issues with 1.3b
I am happy owner of folio for 2 days From the very first day on FolioMod 1.3b.
Great work and quite happy. Without yours mods, I wouldn't buy this device. Many thanks to devs.
But 2 issues which frustrates me:
1) After reboot for several minutes one core heavy loaded => CPU ussage > 50% . According to process manager it's Android system itself (somebody mention wifi driver).
I have noticed that during this period the HW home button doesn't respond while the others do. SW home button works immediately.
When the load drops, the home button starts responding immediately.
2) Repeating wakeup from suspend. Together with the heavy load after wakeup together drains memory very badly.

[Q] Phone will not scan media on sd card?

Hello, I was hoping someone could help me fix this:
For some time I have had this issue that every time my phone locks up while taking photos or video (I often switch camera apps multiple times when taking photos) my phone reboots and no longer will scan the media card (well, I should be precise and say that a notification briefly pops up that it is scanning but it does not completely scan). It's odd because I have no problem connecting by usb, unmounting and remounting the card (I've tried this over-and-over yet when it is remounted it will still not scan), and I can open a file manager and navigate through my files and even move them but it will not let me open anything for instance music or photos (which made me question if the permissions had been changed but everything is still fully readable/writable). In the past it has fixed it by restoring from a backup (sometimes of which I have had to do several times) but this time I deleted all but one recent backup and it is not fixing the problem this time... I feel I have exhausted my options but would definetely like to avoid a total data wipe (I do have recent Titanium Backups done on all my apps and data but I would also like to avoid having to use the time to restore them and all my settings, etc. back to exactly how I had my phone configured). Also, I would appreciate a solution that does not involve hours and hours of reconfiguration and loading as I am consistently using my camera apps all the time and I am really really getting sick of rebooting, restoring, ect. over and over.
I am running MIUIwiz with ED01, OTB v1.6 and CWM 3.x although I dont think this issue necessarily has anything to do with any of these because I had the same problem on stock froyo anyway.. (if anything might it be a kernel issue?)
Thank you in advance for any input!​
gOofeye​
any ideas?
Almost sound like the SD card is corrupt but you said you can access it and move items.
If it was me, I would back it up and try a restore.

Installed apps disappear

Hi, i'm having a problem with my installed apps. Some apps disappear from my app drawer, and in menu installed apps this apps have a system logo and system name, they are still installed but do not work.
I guess it might have something to do when I disconnect phone from PC USB, apparently internal storage is not mounted back correctly and corrupts apps, some time after the apps go back to original working state, and some others break. Did this happen to anyone? Does anyone have a clue about what's happening?
Many thanks in advance.
Sent from my MB860 using XDA App
this happens to me sometimes but after i reboot my phone, everything shows up but ya it does happen time to time
Are you moving apps to the sd card? I've experienced similar problems when doing so....so I just stopped moving apps to the sd card.
con_ritmo said:
Are you moving apps to the sd card? I've experienced similar problems when doing so....so I just stopped moving apps to the sd card.
Click to expand...
Click to collapse
Had the same problem and used the same fix
Had the same problem once, restarting phone or launcher fixes the issue...
This problem is also for Galaxy S2.
I think that the problem born because you have 2 sd on the phone.
This problemi in my Atrix is very annoying.
In Titanium Backup, go into Batch>Move/Integrate and make sure that all user apps are on the Internal memory. Chances are your "disappearing" apps are on the external sd.
So if there is any number other than 0 next to "Move user apps to internal memory," run that batch operation, reboot and you shouldn't have the issue. My XDA app installs to external by default, which is stupid, and I have to redo this process for that app after every titanium restore.
Try going to the android market on a laptop or desktop. If you are loved in it will say if it is compatable with your device.
This problem happens often with ADW launcher for me. For some reason the launcher doesn't update its app list instantly and restarting the launcher is needed. I haven't researched the problem though.
It used to happen on my old phone (dell steak) it was not mounting and un mounting properly, even downloads were disapearing no matter what rom. Or computer I tried it still didn't work and it turned out that my SD card was f#$ked
Sent from my MB860 using XDA App
disappearing apps
I noticed this on my Atrix when running Titanium backup. Rebooting the phone will restore the missing apps. If there are a lot of apps missing it may take 2 reboots, but they will come back along with their icons.
I just had to restart the launcher, then all is back.
I had similar problems in the past. My solution = Don't restore apps + data from titanium backup. This also caused 'rogue' apps that prevented my phone from sleeping. Would have to charge my phone at least twice a day. Completely wiped my phone and went back to Wet Dream and haven't used Titanium Backup since. Both issues were fixed.
I had this same problem once I started using jokersax's CM9 alphas. It turned out that, for whatever reason, a few apps were being installed to the SD card. Rebooting the phone or connecting to my PC (basically any time the SD card was mounted/unmounted) would break those apps.
So I can confirm that if the app has disappeared from the app tray, but you can still find it in Manage APPs (with a system icon and probably it's pacakge name (like "com.appname.something")) then your best bet is to uninstall the app, reinstall it, and double check from Manage APPs that it's installed to the phone (bottom right button will say "Move to SD card" rather than "Move to phone").
[tl;dr - apps don't like being on SD card, install to phone]
I've been having this problem for a long time now. Searched the web everywhere, xda, lot's of forums. I have not found a solution to this yet, because i have come the conclusion that it's an internal android problem. This happens to everyone that has many apps on their phone, but they don't realise that it's happening until they look for an app they know that is installed but can't find it.
This happened to me with:
Android:
* stock 2.2
* stock 2.3
* blur mod roms
* cyanogenmod
Launchers:
* Launcher pro
* ADW
* SPB Shell
* Go Laucher
* Blur Launcher
Root:
* When rooted
* When not rooted
It seems that the problem is that the internal drive, when mounting does not take the enough time to mount all of the installed apps, that's why if you plug you phone to the USB, after it get's unmounted and mounted back, the status of your apps change (people who had this problem, know what i'm talking about).
The only solution I found so far is with Cyanogenmod, becuase it's the only rom i tried that has the possibility to unmount the internal drive (as you can always do with the external SD card).
If you have this problem that you check the installed apps in the configuration, and you see that some correctly installed apps have the system icon and not the correct one, the unmount the internal drive and mount back, you will see all apps appearing correctly.
horsage said:
It seems that the problem is that the internal drive, when mounting does not take the enough time to mount all of the installed apps, that's why if you plug you phone to the USB, after it get's unmounted and mounted back, the status of your apps change (people who had this problem, know what i'm talking about).
The only solution I found so far is with Cyanogenmod, becuase it's the only rom i tried that has the possibility to unmount the internal drive (as you can always do with the external SD card).
If you have this problem that you check the installed apps in the configuration, and you see that some correctly installed apps have the system icon and not the correct one, the unmount the internal drive and mount back, you will see all apps appearing correctly.
Click to expand...
Click to collapse
Thanks for the advice!!!
Greetings.
Fast Boot option may be the culprit
This is actually a long-standing problem in Android OS, going back at least two years (donkey's years in this technology!)
Something about the interaction of the OS and an sdcard formated for holding apps creates odd behaviours.
Lots of complicated suggestions have been made, including reformatting sdcard, reinstalling ROMs, changing launchers (the one suggested here) and such.
None of these approaches seems really to solve the problem even in most cases.
Mentioned here is internal phone storage -- I NEVER use it for anything related to apps or downloads (from what I can tell it can be much less reliable than an sdcard and much less portable or capable of being backed up in a timely way). I only use phone memory & sdcard, yet I have the same disappearing app problem everyone else has here. Avoiding apps on sdcard is not an option for me -- my phone memory is too limited for that (and again, I don't trust internal phone storage).
Also, worries about Titanium Backup mentioned here. But other backup apps and ROMS that move apps to sdcard appear to have the same problem. I have had no problems myself with Titanium Backup Pro, but I have experienced disappearing apps after mounting sdcard as a disk when USB cabled to a PC. Others have reported the same. I would bet the problem lies with the mounting process, not backups or ROMs
So ... What seems to be working for me (at least for the last week or so) is the following very simple tweak.
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 anything further 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 (especially now that the chosen thread no longer is the most recent active one on this topic), but I hope this approach pleases the XDA sysops/admins) :angel:
kirkers said:
:
Click to expand...
Click to collapse
I have not posted it here but before I forgot. I have found an app that has solved this issue at least the 95% of the time. Also if an app disappears, reboot, when comes back, move to internal and back to sd with this app, always. This app moves apps differently from other app2sd's apps.
It's called link2sd.
Can be found in Google play store and XDA forum.
A great life saver, for an unsolvable problem. Not the super solution, but the best I found so far.
Regards
Enviado desde mi MB860 usando Tapatalk 2

[Q] gallery and other apps freezing, battery burning quicly

Hi folks,
so heres the thing, I recently partitioned and formatted my sd card (16gb), it all worked fine, now however some apps are freezing to open or they open quite slow, like the gallery, music player, winamp, etc, is like it was trying to read the filesystem but is just sitting there like in a loop, after a while android tell me the app is not responding and asks me if I want to force kill it. So, the phone doesnt become unresponsive, everything else still works, ES file explorer for example can get into the FS's and I can check all my files just fine, is just that maybe because of this extra effort, even when those apps are not running the OS itself is probably hanging on accesing the filesystem as well and this is consuming too much cpu and IO, the phone goes real hot, hence the battery runs out darn fast, from full charged to death will be no more than 8 hours.
In the terminal I ran "df" and checked the /proc/mounts and I can see /mnt/sdcard mounted twice, along with other mounts repeated as well, Im not sure if this ir normal or not, though they are not identical, they differ on the device file or type of FS.
Is like if android was having a very hard time trying to read the files.
Last time when I first got the sd card same thing happened when I installed it and trasnferred some files, the only way to fix it was doing a hard reset and reinstalling all my apps. I dont want to do this again because this phone is now too much customized and would take hours to set it back
So, has anyone come across with this issue and has any idea on how to fix it without the hard reset?? ... and no, normal reboot doesnt fix it neither soft reset.
Im running the ATT atrix 4g with v2.3.
thanks

Question OP9R internal storage crashing

Hi everyone,
My OnePlus 9R often crashes, and it looks like it's related to the internal storage. Read and write operations stop working, to the point where apps won't open and restarting hangs until I do a hard reset.
When I do restart, the same apps always fail in the same ways - mainly apps like Instagram and Sync for Reddit sign me out, indicating that there might be a problem with secure storage?
I think it may be triggered by me using a certain amount of space, though I'm not entirely sure about that.
This happens on custom ROMs as well as on Oxygen OS.
Has anyone ever seen anything like this before? If there are indeed bad blocks in my internal storage, is there a way to avoid them?
You have a memory leak?
blackhawk said:
You have a memory leak?
Click to expand...
Click to collapse
I doubt it, when this happens it will generally keep happening within minutes of rebooting until I go into TWRP and delete some files.

Categories

Resources