Hello!
Background:
I flashed aokp_maguro_jb-mr1_build-3 yesterday and everything worked fine until I wanted to change kernel to a franco one. I already had the fraco.kernel updater free installed so I figured I'd just download and flash it automaticly. though somehow it downloaded and flashed an older version (milestone4 I think) so after I rebooted it got stuck at "Google".
I tried rebooting a few times and changed to a kernel.zip I had on the phone from earlier (not the one that came with the original aokp) and the phone got stuck at "starting apps" after the upgrading android sequence.
Anyhow I then read up on some stuff on how to push a proper kernel and pushed the newest nightly franco(r364) through adb.
The actual problem:
So I now had a phone that booted properly again! Only problem was that somewhere along the line something happened and now non of my apps have access to the storage..
If I use my phone explorer total commander I can access the file system root but under /storage there's only a file that takes 0B that's called "sdcard0". All the stuff I had on my sdcard is still under /data/media/0/. There's also the /data/media/legacy and /data/media/obb.
Something to note is that I can still use clockwork recovery as normal and access the sdcard through /sdcard/0/.
What I'm wondering now is what my next course of action should be. I read that some people with similar problems didn't get it fixed through a simple wipe/reflash so I figured I'd ask the pros here first before I do something more stupid..
If something is unclear, feel free to ask and I'll try to rephrase it or explain it further.
Thank you for your time!
Update: Grew tired and factoryreset/wipe + dalvik wipe and reflash seems to have sorted the issue. rebooted a few times and changed kernel to the same franco nightly as before and I still don't get the problem again.
although my stuff seems to be mirrored to a few places now including in storage where I'm used to be seeing the stuff (storage/0) but also under legacy and in root where there's a new folder called "sdcard". But I'm guessing this is normal with 4.2.
i wanted to install new stock rom from here but fastboot wont install it so i went to twrp and tried to flash it from there but during flashing twrp just rebooted itself and saying installation wasnt sucessful, i figured this is due to S-On but prior to flashing it i did possibly the stupidest thing, i went to ADVANCED WIPE and wiped every option on the list(dalvik,system,data,internal storage,cache) except for micro sdcard ofcourse. i then went to FIX PERMISSIONS and stupidly select the ALSO FIX SELINUX CONTEXTS. when those done i then went and install another image which is on the sdcard that i downloaded from here E9pw_Android5.0_Sense70_E1.zip . the installation went well and rebooted itself and got to the homescreen and whatnot. but the troubles came when i tried to install apps from playstore and it gave me all kind of errors known to man, even going into file manager to access the internal storage gave me problem it says something along ACCESS IS DENIED or CANT ACESSS EMULATED OR SOMETHING LIKE THAT. when i opened chrome to download something the browser just crashed because apparently it wont able to access the emulated storage. yeah i fcked up badly here. dont know whatelse to do.
see below of the files that i currently have in my external microsd card:
E9pw_Android5.0_Sense70_E1.zip -WORKS
open gapps arm64 android 5.0 stock
RUU 0PJXIMG_A55ML_DTUL_L50_SENSE70_hTC_Asia_WWE_1.35.7 07.2 - DONT WORK
0PJXIMG_A55ML_DTUL_L50_SENSE70_hTC_Asia_WWE_1.35.7 07.2 - DONT WORK
Thanks!
Got it fixed! by going to TWRP-->WIPE-->FORMAT DATA and reinstall the ROM. if anybody experiencing the same problem please do the same.
Zorg The Great said:
Got it fixed! by going to TWRP-->WIPE-->FORMAT DATA and reinstall the ROM. if anybody experiencing the same problem please do the same.
Click to expand...
Click to collapse
hy i am in exactly same situataion. S ON with twrp installed i accidentaly formatted all and it showd no storage later on i formatted system too and now device has no os. I can still boot in to recovery. DOnt kow what to do now
Hi,
I recently upgraded to Lineage 14.1 bacon for my Oneplus One. I installed it using TWRP. I had made a backup of important apps via Titanium Pro Rooted (Dunno if this is relevant).
Also I made a backup of the system and data via TWRP just in case. After the first successful install, like a fool I tried to revert to the old build from TWRP Backup by using the restore process, where I tried to just restore the data part of the backup and not the system as well.
It got stuck at 50% during this process for more than 6 hours. I just rebooted the phone midway during the restore process, wiped the phone again to factory and re-installed Lineage 14.1 (with Gapps Micro which I did the first time as well).
Now for some reason after that, some of the apps that I try to install, just refuse to download from the App Store. They are permanently stuck at the downloading stage where the download progress bar never shows. After a few minutes they return with an Error 492. This is happening for apps like google chrome, microsoft excel, powerpoint & word, Line, Snapchat, Candy Crush, Magic Rush Heroes and few more apps. The rest of the apps just download fine.
My guess (since I am not an expert at any of this stuff) is that the restore process is where things got screwed up. I have wiped everything except internal storage (including dalvik cache and cache) to reinstall Lineage with gapps a few times and there is still no success in installing those few apps mentioned before. I have no clue how to solve this issue.
The Lineage and Gapps packages to be flashed are in internal storage and this device doesn't have an external SD Card. So I cannot wipe internal storage as well. IF there is a way to install Lineage with Gapps in spite of wiping internal storage then I dunno that process.
I am in a major fix here. Please help!
You can use adb push to put data on your internal memory. Ensure that you have usb debugging on when connect your phone.
rk92 said:
You can use adb push to put data on your internal memory. Ensure that you have usb debugging on when connect your phone.
Click to expand...
Click to collapse
Thanks for the suggestion! But here is the issue now! My friend in haste, wiped the whole internal storage. Now I had the data backed up luckily. But, there is no ROM or gapps zip available to flash and I am using TWRP 2.7.0.0 and I am unable to find an option to connect TWRP to an external memory such as USB OTG or USB Mass Storage to load the flash files onto the phone. It seems like my phone is bricked with only TWRP as the only recovery mode! Any way I can flash to Lineage again?
Here is the issue now! My friend in haste, wiped the whole internal storage. Now I had the data backed up luckily. But, there is no ROM or gapps zip available to flash and I am using TWRP 2.7.0.0 and I am unable to find an option to connect TWRP to an external memory such as USB OTG or USB Mass Storage to load the flash files onto the phone. It seems like my phone is bricked with only TWRP as the only recovery mode! Any way I can flash to Lineage again?
Ok I was able to push the zip files for Lineage and Gapps using adb from the computer. But now the problem is that TWRP is stuck in a permanent loop mode. The Teamwin screen appears and refreshes back to the same screen all the time. Should I switch to CWM?
Upon further research I found that using fastboot mode I can flash the latest TWRP image. I did that and thankfully the image that I had sideloaded through ADB was available and I was able to install Lineage and Gapps. Question now remains is that should I install SuperSU and root my device as it still says that the device is unrooted!
Ok back to square one! The apps listed in my original question still dont seem to be installing even after completely wiping the phone and installing Lineage OS 14.1 and gapps afresh. Any suggestions???
rk92 said:
You can use adb push to put data on your internal memory. Ensure that you have usb debugging on when connect your phone.
Click to expand...
Click to collapse
Thanks for the suggestion @rk92. I used adb push to install the rom and gapps per your suggestion! But the issue of above said apps not installing still persists in spite a clean wipe of the phone.
GanZ
When I login to Google Play Store using my google account, the apps that wont install show as installed. I do not own any other device except the oneplus one that I flashed from Cyanogenmod 12.1 to Lineage 14.1 Bacon Nightly. The apps are showing as installed in the same device, whereas they are clearly not! I checked all apps under the settings section and not one of these apps are installed. This is really something strange as an issue! Any ideas forum members? Is there any thread on XDA with a solution to this problem? Please help!
ganz.dev said:
When I login to Google Play Store using my google account, the apps that wont install show as installed. I do not own any other device except the oneplus one that I flashed from Cyanogenmod 12.1 to Lineage 14.1 Bacon Nightly. The apps are showing as installed in the same device, whereas they are clearly not! I checked all apps under the settings section and not one of these apps are installed. This is really something strange as an issue! Any ideas forum members? Is there any thread on XDA with a solution to this problem? Please help!
Click to expand...
Click to collapse
What is your version of Gapp. I think for Lineage 14.1 you need 7.1.1. Sometime back I had an issue when the play service would suddenly stop. I had flashed from cm13 to slimrom. I flashed the stock rom and then flashed to slimrom and this didn't happen. May this is not properly cleaning up your /system.
rk92 said:
What is your version of Gapp. I think for Lineage 14.1 you need 7.1.1. Sometime back I had an issue when the play service would suddenly stop. I had flashed from cm13 to slimrom. I flashed the stock rom and then flashed to slimrom and this didn't happen. May this is not properly cleaning up your /system.
Click to expand...
Click to collapse
I flashed gapps nano arm Nougat 7.1.. So guess that isnt the issue?
Ok even my storage seems to be blocked! I am not able to transfer files via MTP, OTG, Shareit and my camera isnt recognising the internal shared storage. The camera has permissions to access storage though. Using all file explorers available in the market, I am still not able to create folders, transfer files etc. Could this be a corrupt storage????
I have the exact same problem. I use Lineage 14.1 (2017 04 10) and android 7.1.1. I Also have certain apps which don't install (facebook, facebook messenger, snapchat). The download does not progress and after a couple minutes i also get error code 492. I just got this phone off a friend of mine, meaning i just did a factory data reset, but that didn't solve the problem.
I've always used apple or nokia in my life, thus i am a real noob at android. If a solution is found in this forum thread i'd be really happy as i can than fully use my 'new' oneplus one.
rk92 said:
What is your version of Gapp. I think for Lineage 14.1 you need 7.1.1. Sometime back I had an issue when the play service would suddenly stop. I had flashed from cm13 to slimrom. I flashed the stock rom and then flashed to slimrom and this didn't happen. May this is not properly cleaning up your /system.
Click to expand...
Click to collapse
@rk92 which Stock Rom did you flash? Coz as far as I remember reading there is no AOSP Build for OPO.
Kees de Groot said:
I have the exact same problem. I use Lineage 14.1 (2017 04 10) and android 7.1.1. I Also have certain apps which don't install (facebook, facebook messenger, snapchat). The download does not progress and after a couple minutes i also get error code 492. I just got this phone off a friend of mine, meaning i just did a factory data reset, but that didn't solve the problem.
I've always used apple or nokia in my life, thus i am a real noob at android. If a solution is found in this forum thread i'd be really happy as i can than fully use my 'new' oneplus one.
Click to expand...
Click to collapse
@Kees de Groot Welcome to the club! Hope there are other active expert devs who can solve our problem!
@rk92 thanks a lot for your help! My internal storage permissions was the problem. It got fixed when I ran some adb shell commands from my laptop with USB Debugging enabled. Everything is normal now. Error 492 fixed.
@Kees de Groot I have a feeling that your app permissions are a problem. Check access to your internal storage. If you are able to access internal storage on your Oneplus using File Explorer to modify internal storage data, then fixing app permissions for the ones not installing will help you install them. Because all the apps that you are unable to install are due to permissions issues. These apps are not able to get access to internal storage. If internal storage access is the issue for you as well (in spite of being a rooted user), then run the commands posted on this thread. https://forum.xda-developers.com/showthread.php?t=2222297
It should fix your permissions.
Hope that helps.
Could a moderator close this thread as solved?
Regards,
GanZ
Hello,
I posted this question a few days ago on the Samsung 10.1 (2014) forum. After many reads, but no answers, it could actually be that my problem is unrelated to the tablet, but to Lineage in general.
A couple of weeks ago, /storage/emulated/0 disappeared. I was then running the latest lineage. No problem until then with previous versions. I have tried everything I could think of:
- looked for my data to see if it had disappeared. No. Everything was still in /data
- scoured the internet for people with the same problem. A few interesting posts, but nobody with the exact same problem and no solutions.
- recreating the links through a terminal with root access. No luck.
- reflashed stock ROM. Same problem. Impossible to launch the file manager.
- reinstalled twrp and lineage. No help. (Lineage is installed, works well apart from the problem remaining). In addition, the external sdcard is now impossible to read or re-format (both as adoptable or normal storage).
- my normally good knowledge of Linux proved useless since the Android boot/mount process looks very different. I tried to get my head around it, but didn't go far and I couldn't find and fstab or mount scripts to tweak or recreate. In any event, the full re-install should have taken care of resetting them.
Note that twrp in recovery mounts the internal card under /sdcard, and storage manager in Lineage settings also sees the internal storage.
I am at a complete loss.
I attach a picture of the filesystem as xplore with root access sees it. (No screenshot since android can't access the card to save at the usual place.
Link: (https)://drive.google.com/file/d/1HwEeKj5nPFtFRcmkOOe-6IgY9T_I_HbT/view?usp=drivesdk/
Any clue or lead will be appreciated!
M
Hello
The same here but in an OnePlus 3 and Lineage 14.1 since the December, 15th update and beyond (the update December, 8th works well). I don't know how to resolve it besides stay stuck in that update.
I will soon try updating to a more recent version using an external OTG USB drive. I'll let you know if successful.
Can anybody think of another forum where I could find some hints?
20171221 doesn't solve anything.
2018 01 18 didn't help.
Running logcat and inserting a USB drive i see a lot of:
readlink("/proc/self/fd/46") failed: Permission denied [fd=46]
warning: unable to get realpath for the library "/system/lib/hw/gralloc.msm8974.so". Will use given path.
The 46 changes to many different values. /dev/fd links to /proc/self/fd
The line with /proc/self/fd is always the same.
dmesg shows that the Usb key is seen. The problem might occur at mount time. Something with appfuse?
Using a logcat reader and inserting USB key, I see a lot of:
readlink("/proc/self/fd/46") failed: Permission denied [fd=46]
warning: unable to get realpath for the library "/system/lib/hw/gralloc.msm8974.so". Will use given path.
/dev/fd links to /proc/self/fd. The 46 changes to many different numbers. The second line is always the same.
dmesg shows that the USB key is seen.Problem seems to happen at mount time.
Any other logs to dig into?
(I have attached pictures of the gibberish below)
Last night I tried to root my Chinese Redmi Note 8 Pro. It was running the Global Rom 12.0.4.0. I followed the instructions in this video. However, when I booted into TWRP and copied the Magisk apk from my pc onto the phone, the internal storage had turned into gibberish. I thought this was just a bug as the files on the SD card were still fine. When I tried to boot the phone up, it would get to the MIUI splashscreen, before bootlooping into TWRP. I used the wipe feature to do a basic wipe of the phone, after which I was able to boot back into Android, but the phone had been reset. However, the internal storage is still gibberish, so I can't take pictures or download apps or anything. I was wondering whether there was any way to fix this or is the device a write off, since I just bought it two weeks ago. Thanks
FaDEdImmortalz said:
(I have attached pictures of the gibberish below)
Last night I tried to root my Chinese Redmi Note 8 Pro. It was running the Global Rom 12.0.4.0. I followed the instructions in this video. However, when I booted into TWRP and copied the Magisk apk from my pc onto the phone, the internal storage had turned into gibberish. I thought this was just a bug as the files on the SD card were still fine. When I tried to boot the phone up, it would get to the MIUI splashscreen, before bootlooping into TWRP. I used the wipe feature to do a basic wipe of the phone, after which I was able to boot back into Android, but the phone had been reset. However, the internal storage is still gibberish, so I can't take pictures or download apps or anything. I was wondering whether there was any way to fix this or is the device a write off, since I just bought it two weeks ago. Thanks
Click to expand...
Click to collapse
This latest TWRP is meant to fix encryption.
I'm not sure if it can fix your state (maybe it only prevents encryption), but I guess it's worth trying.
Read this: https://forum.xda-developers.com/t/...xperience-official-aosp.4196041/post-84853709
TWRP Download: https://sourceforge.net/projects/be...3.5.1_10-begonia_UNOFFICIAL_1604.img/download
Compass.