Text editor apps crash when writing to the external sd card with root - SuperSU

I have a Moto E 2015 LTE (surnia) running the latest version of SuperSU (2.79) on CypherOS 3.6.1 (Nougat 7.1.1). I flashed SuperSU with TWRP, and there were not any errors. Root works fine for everything else I have tried. This problem started happening out of nowhere. There were not any updates to either SuperSU or the text editors when this started happening. I tried this with QuickEdit Pro and Turbo Editor. They both freeze the phone and make it reboot when I try to save to the external SD card with root. I have tried different SD cards, and both FAT and F2FS. The SuperSU logs are blank. I cannot take a logcat which has anything meaningful because it freezes before showing anything useful in the logs. After this happening twice, my phone went into a bootloop. I needed to reinstall everything. I did, and the problem still happens after the second time saving to the external sd.
Is this a known bug or does anyone have any ideas about the possible causes and fixes of this?
Thanks in advance.

Related

[Q] External SD Card disappeared

Could use a little help please, after full wipe and flashing the new TEAMBAKED rom, I have lost access to my external SD Card, however when I boot into recovery it is there and all contents are still on it.
Plugging into the computer opens the Note with only internal storage. Like it doesn't see my external card anymore. Prior to this flash, I have never had issues before. So I restored my last Nandroid backup, but the problem still exists.
I have googled plenty, and tried fixing permissions, but to no avail.
Removing the SD Card and plugging directly into the PC it shows up straight away, so it seems not an issue with the card.
I am at a loss, any suggestions please?
Well my last gasp attempt fixed the problem, I flashed Philz latest kernel then a stock rom, after wiping everything and now I magically have access to the sd card again. So I am not sure if it is a CM 10.1 bug (been on CM for best part of 6 months) as I haven't seen it before, but the stock fixed it. Now to reflash back to CM.
Hope that helps someone if they have the same issue I had.

[Q] HTC One - Couldn't Install on USB Storage or SD Card

Hey,
I purchased the Swiftkey.
after the update to 4.4.2 it stopped working and after reinstalling He wrote me a message that the installation failed.
Couldn't Install on USB Storage or SD Card
Click to expand...
Click to collapse
I have searched all over the internet and found two possible solutions, which don't work. These solutions were:
Unmount the SD card. Install app, remount the SD card. This won't work as the HTC One does not have an SD card
In the secure/asec folder, find and delete "smdl2tmp1.asec". Although I found the folder, it was empty and therefore I was unable to delete the file.
*Before update Swiftkey is worked.
This same thing is happening to me on my One with 4.4.2, none of my purchased apps installed before the update appear and I can't reinstall any of them. Tried both of those, didn't work.
Yotam.B said:
Hey,
I purchased the Swiftkey.
after the update to 4.4.2 it stopped working and after reinstalling He wrote me a message that the installation failed.
I have searched all over the internet and found two possible solutions, which don't work. These solutions were:
Unmount the SD card. Install app, remount the SD card. This won't work as the HTC One does not have an SD card
In the secure/asec folder, find and delete "smdl2tmp1.asec". Although I found the folder, it was empty and therefore I was unable to delete the file.
*Before update Swiftkey is worked.
Click to expand...
Click to collapse
Same thing is happening with my HTC one Google play edition 4.4.2.
I did a mass install from the playstore, and all of a sudden i start getting flooded with "Couldn't Install on USB Storage or SD Card" errors. I looked for the 'smdl2tmp1.asec' file and had no luck finding it.
a df of the system shows free space on all partitions: http://i.imgur.com/4IiVLjy.png
I was able to 'adb install rootexplorer.apk' and it was successfull, but the update from the playstore gives the above error.
I did not understand, you can find the file smdl2tmp1.asec?
And what command you noted in the screenshot you attached?
I'm having the same issue. Updated HTC One GPE to 4.4.2 and noticed that some of my apps were missing. I tried to download again from the Play Store, only to receive the "Couldn't Install on USB Storage or SD Card" error message popup.
For what it's worth.. I switched to CM 11 4.2.2 (nightlies) and the storage error went away. I would still love to know whats causing the error in the Google play edition rom.
I posted this in another thread but I figured I would repeat it here since there seems to be a lot of people having this problem.
I had tried all of the methods on the web to fix it but none of them applied to the HTC One. The only way I was able to get rid of the error was to flash the 4.4.2 update using the stock recovery. I had tried with TWRP three times but everytime I kept getting that error message with a bunch of my apps.
artmunkie said:
I posted this in another thread but I figured I would repeat it here since there seems to be a lot of people having this problem.
I had tried all of the methods on the web to fix it but none of them applied to the HTC One. The only way I was able to get rid of the error was to flash the 4.4.2 update using the stock recovery. I had tried with TWRP three times but everytime I kept getting that error message with a bunch of my apps.
Click to expand...
Click to collapse
Yes there seem to be two threads running on this. I have the same problem that I posted on the other thread: http://forum.xda-developers.com/showpost.php?p=48618286
I too have TWRP so I wonder if it is related to that?
Nick
Update: I was flashed sinlessrom (Google play edidtion 4.2.2) with TWRP, and ran into 0 storage issues. It sounds like it's not related to 4.2.2 directly, but maybe the 4.2.2 OTA update bundled by HTC?
same problem
Just like the first post i bought swiftkey that worked on 4.4 and after the OTA 4.4.2 i can not install it anymore.
Now I want to install threema and it's the same...
can some one verify that it has something to do with apps we bought?
i bought another app... same issue
playstore cache wiped
dalvik wiped
cache wiped
can not find smdl2tmp1.asec which was mentioned in many boards
image: d3j5vwomefv46c.cloudfront.net/photos/large/840639568.png
kampa133 said:
Just like the first post i bought swiftkey that worked on 4.4 and after the OTA 4.4.2 i can not install it anymore.
Now I want to install threema and it's the same...
can some one verify that it has something to do with apps we bought?
i bought another app... same issue
playstore cache wiped
dalvik wiped
cache wiped
can not find smdl2tmp1.asec which was mentioned in many boards
image: d3j5vwomefv46c.cloudfront.net/photos/large/840639568.png
Click to expand...
Click to collapse
I had this same problem it effected all my paid apps. I couldn't install on sd card or internal storage from play store, I could restore them from titanium backup but then updates would fail with the same error.
interestingly it didn't happen to me when I updated to ARHD 4.2.2 custom Rom. But a month or so later when my carrier released their 4.2.2 OTA. Which I extracted firmware.zip. from and flashed manually. So maybe it's a firmware issue.
I can't say exactly what fixed it but after trying the usual clearing caches, uninstalling play store updates etc. I decided to do a full wipe. After making a backup with twrp 2.6.3.3 and backup of internal storage to my pc i wiped everything all partitions including internal storage.
Then connected usb in recovery and
unmount all partitions with twrp menu
adb shell
e2fsck -fvy /dev/block/mmcblk0p35
To ensure there were no partition errors on my internal storage. Then adb push and reflashed ARHD clean setup as normal then tried to install my paid apps and it worked. [emoji106][emoji1]
After that I restored all my other apps and setting with titanium and all was right with the world once more
Maybe it needed the clean install after firmware update or maybe there was indeed some type of error with my internal storage but something about that procedure fixed it for me. Hope it helps somebody good luck.
Windows users be aware wipeing your phone this way may cause problems with drivers and adb to fail. Please be carefull !!!! I use Linux so drivers are not a problem for me.

How does Android MM, 'Use SD as internal memory' work, and how to prevent data loss?

Hi, I just upgraded yesterday my XT1068 to Android MM (Nexus Experience [http://goo.gl/Qc87Q7]).
And I was delighted to see the option to use my Samsung MicroSD card as internal memory. I installed all the apps I use frequently, restarted the phone and everything was fine till here.
I formatted my micro SD as internal memory, copied music, pictures and stuff using MTP to my SD, installed several apps and uninstalled some other that I didn't need anymore (Like 'Facebook Lite'). Wanted then to restart my phone to recovery mode, but it was restarting for ever and stuck with the rebooting animation, so I decided to press the power button for 3-5 sec to force shutdown the phone. But when my phone started again, everything I copied to the SD was gone, and files I removed were there again, apps like 'Facebook Lite' were mysteriously installed again as if I would have never uninstalled them.
In the launcher, all my icons and folders I organized, reverted to the positions and state I had before, last time I restarted my phone (before the forced restart when I lost the data).
What happened here? Looks somehow as if the partition table is being written back to the SD or phone memory when you are turning off the phone.. and remains in RAM during use.. Seriously?
Did such a thing happen to anybody else here? Is this how the new Android works? Every time your phone crashes or something, you'll loose all pictures and data that changed since last restart?..
Any information on this is highly appreciated.. Thanks.
similar
i have a similar situation with my sd card and my xt1063, at the beggining i choose the option which makes the sd to save files and media. today the phone turned off because the battery was empty, at the time that i tried to turn on the phone it says that the sd card need format and now when i connect the sd card to the pc it is in RAW format. i think that the new system for "initializating" sd cards is broken or something, or simply we have bad luck or else.
edit: i have stock android 6.0 retla
sorry for my english pls

Sdcard write protected-Facebook is suspect

My phone is rooted. I am using Lenovo A7000 phone with AOSP 6.0 by Risma Ermaya.
I have formatted my SD card as internal storage using the default feature of marshmallow.
Few months back, I started facing the issue of Facebook and Messenger updates. Whenever I used to update my facebook or messenger from the playstore, these apps stopped opening and used to crash. But after I used to restart my phone, these applications ran fine. A week ago, I installed instgram for the first time in this phone. Similar thing happened with it too. After installation from Google Play store, it did not open. However, after restarting the phone, everything went well.*
Yesterday, I was updating facebook, I got the error 403. I cleared up data of my playstore app after forced stopping it, removed all my google accounts from the phone, and rebooted the device. After rebooting, the error was still showing up in the playstore. Feeling frustrated, I forced stopped Google Play services framework application, cleared it data and rebooted my phone. But, the problem was still there.
I have got into deeper trouble now. My microSD card has become write protected. I did not remove my SD card at all since months. It is of sandisk brand and has class 10.*
I cannot take screenshots. I cannot download any file from chrome browser. I cannot download images sent to me by my friends through whatsapp.*
I cannot even copy one file in its folder to another folder in the memory card. I have tried using the default file explorer and Solid Explorer application. I have just 587 MB remaining in my phone. However, I can access any file I want to. My videos and music are playing just fine.*
I am also able to delete any files within the file explorer, so that I can make a nandroid backup of my files in TWRP. Even TWRP does not allow me to delete my music and videos within the SD card. What should I do to fix this trouble? I do not want to format my SD card as it has lot of important data. Even if I connect my phone to my PC and try to copy the files, the process hangs after few seconds and Windows explorer hangs which is displaying the content in my SD card. I am running windows 8.1.
I have also tried unmounting and remounting my sd card using the in built feature of Marshmallow, but this trick still doesn't solve my trouble.*
I have also tried clearing cache and dalvic from TWRP but still no progress. I feel that facebook is the culprit because while clearing cache in TWRP, it gives the error that it could not clear cache from com.facebook.katana folder.

Question Magisk on Edge 20

Hi guys,
has anybody tried to root this device with Magisk, yet? Does it work?
Yes, I bought the unlocked version directly from Motorola in December and used Magisk to root it without any issues. I am in the US and found the exact same version of the firmware online that was loaded on the phone. I followed the instructions on Github and have not had any problems.
Only issue I've had since rooting mine with magisk is that it some times acts a little wired, i.e. backspace turning into emoji button, resetting certain app settings after reboot. It doesn't like the SD card I have and has to format it every reboot so I've just wondered if that was the cause of the other issues. Otherwise, it roots perfectly fine. I used kali nethunter and magisk to root, then removed nethunter, reflashed magisk img.
aGuyWith2Feet said:
Only issue I've had since rooting mine with magisk is that it some times acts a little wired, i.e. backspace turning into emoji button, resetting certain app settings after reboot. It doesn't like the SD card I have and has to format it every reboot so I've just wondered if that was the cause of the other issues. Otherwise, it roots perfectly fine. I used kali nethunter and magisk to root, then removed nethunter, reflashed magisk img.
Click to expand...
Click to collapse
SD Card? This phone does not have an SD card to my knowledge, how did you put an SD card in it?
Username: Required said:
SD Card? This phone does not have an SD card to my knowledge, how did you put an SD card in it?
Click to expand...
Click to collapse
I'm starting to ask myself the same question... This phone does not have a SD slot.
My mistake. It's just the edge. I can't now get the SD card out

Categories

Resources