App Installation Issues Lineage OS 14.1 nightly OPO, Error 492 - LineageOS Questions & Answers

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

Related

[Q]SD Card/Partion [Solved]

Ok, so I went to do a backup today and got an error and noticed not enough space to backup. I plugged it into my PC and it showed that I only had 1.5 gb of free space out of a possible 13.3 gb. So I started looking for a folder/file that was taking up room on the "sd card" and could not find anything out of the ordinary. So I downloaded an app from the play store called storage analyzer and it is showing 6.4 gb of free space in storage/emulated/0. Is there something I am missing with this? All my other phones had a physical SD card and I could just clean it up if I had issues. I am a bit nervous formatting the SD card on my GN so can someone shed some light on why there would be such a discrepancy between what my PC, Recovery, and an analyzer app would see or the best way to format/clean my SD card. Any tips/help/advice will be greatly appreciated.
The same problem i had a while ago. The thing is that your data that is missing is in /sdcard/emulated/ (my recovery was only doing backups there) and your phone while booted reads only /sdcard/emulated/0 . At least that was my problem. Try reflashing the whole phone again. That means backup of sdcard reflashing to newest recovery, wipe all including sdcard and install from sideload whatever rom you want.
It did the trick for me.
Sent from my Galaxy Nexus using xda app-developers app
KekeJr said:
The same problem i had a while ago. The thing is that your data that is missing is in /sdcard/emulated/ (my recovery was only doing backups there) and your phone while booted reads only /sdcard/emulated/0 . At least that was my problem. Try reflashing the whole phone again. That means backup of sdcard reflashing to newest recovery, wipe all including sdcard and install from sideload whatever rom you want.
It did the trick for me.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Thank you for the reply, glad to know that I am not crazy or alone. :silly:
I may give this a try soon, I would like to give some of the 4.4 roms a try but want to get my storage lined out before I try one.
ThePhantom97 said:
Thank you for the reply, glad to know that I am not crazy or alone. :silly:
I may give this a try soon, I would like to give some of the 4.4 roms a try but want to get my storage lined out before I try one.
Click to expand...
Click to collapse
Alright, more help needed. Damn its been too long since I have used ADB and I am using an new laptop so bear with me. Also I have searched for several hours on this and just not coming up with a solution. Ok, I managed to get TWRP v. 2.6.3.2 installed on my GN via fastboot. And my goal is to format/wipe my SD card and sideload a 4.4.2 rom. I have a good understanding of the process and have found several videos on the subject. Now here is where my problems begin. First off I have Android SDK installed and have the google drivers installed and I have downloaded the drivers from Samsung again on this laptop. I have backed up my SD card and am ready to begin, but I wanted to verify I could open sideload in TWRP and now the frustrations start. When I try to open sideload under "Advanced" I get the following text:
"Updating partition details...
Starting ADB sideload feature..."
And nothing else happens, even after waiting several minutes, and this happened on v. 2.6.3.1 and that is why I updated to the newest version of TWRP. I have a feeling it has something to do with the drivers but I have not figured out which drivers are needed with TRWP. Is it the Samsung drivers or the Google drivers from SDK. I have unistalled the drivers via Device Manager and let windows install the drivers automatically, and I have uninstalled and re-installed manually using the Google USB drivers. So if anyone has ran into this or knows how to assist me I would greatly appreciate the help. Also keep in mind that I am not a complete noob when it comes to my android phones, but I am a bit out of practice. I am just having some issues locating an answer via these forums and many other searches.
Also, if I format my SD card would it be possible to push a rom to my phone via ADB? I am willing to try an alternate method just want to be able to install a 4.4 rom after formatting my SD card. Anyway any assistance would be awesome at this point. Thanks for reading my long explanation.
One of the other issues was that when I started sideload in TWRP and then typed ADB devices in terminal no devices were present (why I thought could be a driver issue). However, for some weird reason beyond my understanding it is working fine today. I plugged in my phone to begin my trials again today and tada it works, I typed "adb devices" in terminal and now it shows up with a sideload status and I am able to sideload a rom. Sometimes I hate computers/electronics and I chose a career in them.
ThePhantom97 said:
One of the other issues was that when I started sideload in TWRP and then typed ADB devices in terminal no devices were present (why I thought could be a driver issue). However, for some weird reason beyond my understanding it is working fine today. I plugged in my phone to begin my trials again today and tada it works, I typed "adb devices" in terminal and now it shows up with a sideload status and I am able to sideload a rom. Sometimes I hate computers/electronics and I chose a career in them.
Click to expand...
Click to collapse
Most probably you did not have the proper drivers for fastboot installed since i had the exact same problem on Win 8.1 x64 . Now i hope you got your phone fixed. Be just very careful when it comes to /factory partition as that one holds your IMEI and if you erase that only a backup will save you or some mobile service. I know i have to fix mine since i formatted that and did not do a backup before
KekeJr said:
Most probably you did not have the proper drivers for fastboot installed since i had the exact same problem on Win 8.1 x64 . Now i hope you got your phone fixed. Be just very careful when it comes to /factory partition as that one holds your IMEI and if you erase that only a backup will save you or some mobile service. I know i have to fix mine since i formatted that and did not do a backup before
Click to expand...
Click to collapse
I know what you mean, I am so nervous when it comes to erasing/deleting/formatting with all the that is why I spend a lot of time reading up and researching and hitting up the folks here at XDA before I commit to something. I have been addicted to android and flashing all the cool roms uploaded by all the great devs around here. I would not know how I would spend my time if this place wasn't here...lol. But yes, I was able to wipe/format my internal SD card and side load a rom and get most of my storage space back. I have came to the conclusion that the actual rom takes up some of the internal storage because after formatting the internal storage and flashed a rom and gapps there was 1.5gb used. I did not move a single file into the storage, but there was still that much used.

[Q] Unable to connect to PC properly after rooting

Hello,
I have had my HTC One M8 for a while now but I wasn't really happy with the soundquality while playing through my headphones, so I looked for ways to improve it. I found a few methods and finally decided to give it a try. These methods require a root so yesterday I have rooted my phone for the first time. Unfortunately I am experiencing some problems now.
The rooting process went without too much trouble. I used hasoon2000's toolkit and have TWRP version 2.7.0.2 installed as recovery and used it to install the provided SuperSU, which didn't work at first. On the forums I found a newer version and installed that one, updated it and got it to work.
Now this is where I think I messed up: I read somewhere that when rooted, you are able to delete pre-installed apps from the phone. I downloaded SD maid and deleted Kid Mode, Zoe and 7digital. When I deleted Kid Mode I got an error saying it has crashed. I tapped away the error but from this point I couldn't go back to my homescreen anymore because my launcher kept crashing (com.htc.launcher crashed). I rebooted the phone and the launcher worked again, but the phone still seemed to be buggy.
After this I tried to install the snapdragon audio+ (this was my first choice for an equalizer). I downloaded the apk and moved it to the system folder using ES file manager. I installed but when I tried to use it (through settings in google play music app) my phone would crash. I uninstalled it and tried again, but when I tried to move the apk to the system map like before, my phone would crash everytime. I then found out the file I used doesn't work for lollipop so I figured that's what caused the crashes.
My next move was to try and install viper4android. I downloaded it from the Play Store and opened it. It told me it needed an installation of BusyBox so I downloaded that too. But when I opened the BusyBox app and clicked install my phone would crash again. After some searching I found that the HTC One M8 requires BusyBox to be flashed manually so I downloaded the file but when I tried to load it onto my phone I noticed this wasn't possible anymore.
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
I have tried to reset the phone through settings, wipe with TWRP and fix permissions with TWRP. I also tried reinstalling Sync Manager and the drivers on my PC. What I'm thinking now is I maybe have done something wrong in the ES file explorer that would make the folders unaccessible.
My phone is running stock android 5.0.1 and my PC Windows 7 64-bit.
I hope someone can help me, Thanks.
P.S: Sorry for the long post, I figured I'd give as much info as possible.
@Steef076 First update recovery to the latest one (2.8.6.0)
Second if you go and delete vital or integrated parts of the stock rom you will get a lot of bugs. Third, viper4android requires to write system and you can't write system with the stock kernel, you need an unsecured kernel or unsecure it yourself.
10GB is right since 6 is eaten by android. At this point I would just revert to a backup or install any custom rom around here. Most are close to stock and with no bloatware and come with root. You can even clean them further using a tool called ROM Cleaner. It will most likely solve all your problems
Did the deleted system apps reappear after reboot, or do they remain "uninstalled"? If the system is write protected like TempestZ states, any deleted system apps should reappear after a reboot.
Revert your nandroid to restore the system apps. And you didn't make a nandroid, you really should before making any system modifications for the very reason that it allows you to revert if you run into problems.
Another good practice, is if you don't know what effect deleting a system app will have (such as "safe to delete" lists that can sometimes be found on XDA) you should first freeze the app with Titanium Backup. If freezing doesn't cause any issues, then go ahead and delete. If you do have issues, just unfreeze the app.
Steef076 said:
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
Click to expand...
Click to collapse
No, Windows will never show 16 GB. It only shows "internal storage" partition, or the user accessible portion of the storage. A good chunk is reserved for the OS.
Does what is shown in Windows differ from what is shown in ES if you browse to internal storage?
Thanks for the replies. @TempestZ @redpoint73
First of all I managed to update twrp to 2.8.6.0 using adb/fastboot.
To answer your question @redpoint73 the system apps I had deleted indeed reappeared after reboot. Also I didn't make a nandroid before I deleted the files, as I did not even know this was possible. Now I have made a nandroid of my stock ROM that is working decently, except for the TV app keeps crashing (I'm not opening it) and the connection to the PC is not working properly (not sure if this is ROM based?). I have noticed when the phone is in recovery I CAN see the folders through windows explorer. HTC sync manager still doesn't find it though. I am working on finding a proper stock ROM or maybe flash a custom one to see if that will fix it.
I understand now that the OS is taking up the storage space. The space windows is showing is the same as ES file manager so I guess this is fine.
HTC Sync is a hot mess. It often causes more troubles than it solves.
One thing you can try (to see if it fixes the USB connectivity) is uninstall HTC Sync and all HTC drivers. Than connect the phone. Don't let it install HTC Sync. Go to Windows Device Manager, find the device. Then pick the option to manually select the drivers, and pick the generic "Android MTP device" (or something to that effect) drivers.
This doesn't work for everyone. But it worked for me to be able to "see" the internal storage of my M8 on my home PC (Win 7). Annoyingly, it seems to vary from one PC to another. My work laptop (also Win 7) works fine with HTC Sync.
Steef076 said:
So if I understand correctly, 'version-main' is the same as 'firmware' and 'software number' (found in settings)? If so, my current firmware seems to be 4.19.114.2.
Now, what you're saying is I should do an OTA but this isn't possible because I have a custom recovery right?
Also, when I want to flash stock rom and stock recovery or do a nand don't I need the files that fit my cidnum? How would your file work for me?
Click to expand...
Click to collapse
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
ckpv5 said:
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
Click to expand...
Click to collapse
Hello, sorry for the late reply.
I have decided to give a custom ROM a try. I now have ARHD 41.0 installed and it seems this took care of my problems. All the maps are showing in windows explorer and HTC sync manager is connecting properly with my phone again. Also no more crashing apps. Your backup would still be of much use for me as I am not sure I want to stick with a custom ROM and therefore would like to have a stock ROM backup.
Thanks in advance.

NEED HELP! Cant/Denied access internal/emulated storage

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

No permission for Download Folder in Lineage OS 14.1 on Nexus 5

Hi,
sorry if I ask something that was maybe already answered, but i didnt find a matching Thread. If i am in the wrong section please move the Thread to the correct one.
I have a Nexus 5. Lately i replaced the original Marshmallow with Lineage 14.1. The process seemed to word as I could launch and use it. But when I tried to download something through my Browser i get an error. I tried Chrome, Firefox and Opera, too. When i wanted to copy a File by MyPhoneExplorer into Download Folder igot an error "unautorized". When i try to create a folder in Download i get prompted that I need root.
So I think somehow I dont have writing permissions there. Is this a known thing?
For installing i unlocked Bootloader by adb and flashed latest TWRP (3.0.3.-0) formated userdata and then copied lineage-14.1-20170124-nightly-hammerhead-signed.zip and a gapps.zip.
My old Backup from google was restored, i can use camera, take calls, play games, install apps etc. So I think the installation worked. Any ideas why I cant write in Download folder? (I can write in Movies though, tried it with MyPhoneexplorer)
I also tried the nightlys from January 31 and February, still no change.
Thank you very much in advance.
I had a similar problem with my Music directory, but after a reboot it came good.
Sent from my Nexus 6 using Tapatalk
I already did several reboots. I also tried to switch back to older images or the latest one. Still no change. You think i should wipe it an do fresh install?
Edit: Did wipe System, Cache and Data before giving it a new try. Now it works.

Rooted A320FL, how to achieve permanently mounted adoptable storage?

Hello!
This is my first post in this forum, please be indulgent if I don't understand some stuff or abbreviations immediately.
I recently bought a Galaxy A3 2017 (SM-A320FL) to replace my old one with shattered screen and back cover. I tried the new Poco X3 for two weeks, but I wasn't satisfied with it since it was just wayyy too large for me, and also the phone speaker was unbearably loud (all people around me could follow the conversation on phone, even on lowest volume), which then led to the decision of sending it back and buying another used A3 2017 in good condition, as I was very satisfied with it, except of limited internal storage which continued to be an issue over months and years. And since the spare parts would have cost the same as the smartphone costs used at the moment, the decision was easy.
To avoid the single problem I had with the old phone, I wanted to root the phone right from the start so I could adopt the SD card as internal storage and/or change the folder some apps (especially WhatsApp) are storing their data and media in. Since the phone is factory reset and I have the other one which is still functioning, I don't have to take much care while trying things, which is great. I took yesterday evening until late night for that plan, and although a lot of threads and posts I read said that rooting the stock OS with latest update of Android 8 is not possible, I did it after some trial and error with flashing the custom recovery TWRP through Odin and then flashing SuperSU through TWRP. If a tutorial is needed, I'd happily write down how I did it, just ask.
But I still have a problem with adopting the storage. And as far as I understood, this is related to the storage encryption of Android/Samsung. Please explain if someone knows, I'd really like to understand the mechanisms that make all of this so laborious. I tried to mount the storage in TWRP when I started it first after flashing (it persists btw, as some people said it is gone and no recovery system can be found after the phone booted normally once, why?), but ran into the problem of "internal storage (0MB)". This was solved by wiping it, then I was able to mount the SD card as internal storage and the internal storage also was shown with a reasonable size in MB. I then started the phone which was obviously factory reset by the wiping. Unfortunately I couldn't see any results in the OS (does stock Android or file manager even show these changes in some way?) and also noticed the adopted storage was not anymore adopted when inspecting it in the TWRP recovery and again the internal storage was at 0MB. I then stumbled upon the app "Root Essentials" which is said to be able to adopt the storage, but needs a zip file which must be flashed by the recovery for that process. I tried it, but the flashing process does not work, as it can't find an installation of the app - my guess is, that this also is related to encrypted storage and the 0MB problem, how should the flash be able to look for something in encrypted space?
Soo, my problem now is, that I want to adopt the storage and don't know how to continue & where to begin. I also don't know if that app "Root Essentials" is any good, just read it at several places while googling so gave it a try. The phone is rooted with TWRP (0MB problem persisting) and stock OS now, and the adoptable storage per se is no must-have for me - if there is any other solution to migrate apps and more importantly their data to the SD card, please let me know, I'd be perfectly fine with that also.
Thank you!
Flo
Hey there Flo,
I am facing the same issues like you, always having to clear up space (e.g. Chrome cache) because the internal storage is not enough for the apps. And you cannot move many of the apps to the SD card, only their data. Last time I had to rermove Teams altogether because it was eating up 500+MB, and I couldn't afford it anymore as the free space dropped below 600MB.
Sooo, here are some basics I have learnt while looking for solutions.
Current custom ROMs are not an option for me as I use this phone for banking and production tasks, and I could not find any of them stable and issue-free enough to switch from the stock one.
The stock ROM is full of bloatware, especially Samsung stuff I do not need, and some others, like the Facebook app. However, you cannot extend internal storage with your SD card as Samsung does not allow this, and this is impossible with the stock ROM.
So I am stuck here, as I cannot leave the stock ROM, but I am constantly running out of space. Currently, I have rooted my device and installed TWRP, too, and I am planning to try one of the debloated stock ROMs to see if they can solve at least my problem with running out of free space on the internal storage.
In any case, what I can confirm is that you either have the stock ROM, and then you can only install apps on the internal storage, or if you want to extend your internal storage with the SD card, you'll have to choose one of the custom ROMs that allow this and wave goodbye to Knox and some other features.
I hope the above helps.
Hi!
Thanks for your detailed answer!
I didn't find a way to adopt the storage persistently, and I think at this point I'll just take your word that it won't be possible with the stock ROM. I knew that the stock ROM adopt storage option isn't able to be brought back by some adb shell commands as it was possible earlier (until 6.0 Marshmallow I think), but I thought that it maybe is possible by tricking the storage the OS sees with the mount in TWRP before the first start. Doesn't seem to work at all (for mostly unknown reasons, at least for me ).
And same for me, I don't know if the custom ROMs nowadays are better a lot, but doesn't sound like that as you described it. I flashed Resurrection Remix on my Galaxy S4 a few years ago, and although I liked the customizability and slimness, I too often ran into bugs and errors with it, which is why I abandoned the phone in the end.
However, I kind of found a fix I can live with on the SM-A320FL: I downloaded Link2SD from Playstore and also upgraded to the plus version, which is reasonably priced. This enables to also store app data on the SD card. I tried it with the 64GB SD card I had rolling around, partitioned it with MiniTool Partition Wizard following this guide to conform Link2SD requirements, and it worked perfectly. I also uninstalled all sorts of bloatware, and as far as i saw the shift to external storage of the apps I tried works fine. All data, including app, cache and app data is moved (and/or linked, not sure) to the ext2 partition on the SD card (which is shown to be a broken partition in Android storage settings btw, but that's fine). If any, only <1KB of file size per app remains in internal storage, which seems great!
I am currently waiting for my ordered 256GB SD card (U3, A2) to arrive next week, then I will do the full port from the old to the new A3 and I'll see how WhatsApp and Spotify behave being stored in external storage. Hopefully Link2SD is able to shift them, especially WhatsApp, since that was the main factor in cluttering the internal storage very fast and efficient.
If the Link2SD doesn't work for WhatsApp media, I'll give FolderMount a try, the direct mount then seems to work for many.
Since you mentioned it: What are the great features of Knox? The secure folder? Data encryption by screen lock? I can't remember using Knox features knowingly in the past three years. Is Knox not already blown by flashing a custom recovery?
Thanks for your help!
Flo
The internal storage data partition not mounting in TWRP is due to the partition being encypted when Android is booted, but also due to quota being enabled and latest version of TWRP for this phone (3.2.3-0 AFAIK) being unable to mount this. Fix for this is to flash a zip from Zackptg5 which disables both these options. See https://forum.xda-developers.com/t/...y-a3-sm-a320f-fl-y-2017.3562302/post-79260952 for full details
I see that OrangeFox is available now (https://orangefox.download/device/a3y17lte), so maybe this is able to mount without these problems, I am going to flash this soon so I will let you know!
FYI I am using H-ROM by Astrako. Very close to stock (it is a port from the A7) and seems to work well. VoWiFI is working in this ROM which was essential for me.
lastsaskatchewanpirate said:
The internal storage data partition not mounting in TWRP is due to the partition being encypted when Android is booted, but also due to quota being enabled and latest version of TWRP for this phone (3.2.3-0 AFAIK) being unable to mount this. Fix for this is to flash a zip from Zackptg5 which disables both these options. See https://forum.xda-developers.com/t/...y-a3-sm-a320f-fl-y-2017.3562302/post-79260952 for full details
I see that OrangeFox is available now (https://orangefox.download/device/a3y17lte), so maybe this is able to mount without these problems, I am going to flash this soon so I will let you know!
FYI I am using H-ROM by Astrako. Very close to stock (it is a port from the A7) and seems to work well. VoWiFI is working in this ROM which was essential for me.
Click to expand...
Click to collapse
Did “orange fox” work?
King p1n said:
Did “orange fox” work?
Click to expand...
Click to collapse
Yes, with OrangeFox I didn't need to flash the zip file from Zackptg5 which removes quota. I didn't get on with the latest H-ROM 6.0 (too many niggles, particularly ambient light sensor doesn't work so no adaptive brightness; fingerprint scanner doesn't work in apps; video call doesn't work in WhatsApp), but OrangeFox worked really well, definitely recommend it. Sorry for not remembering to come back and update sooner!
lastsaskatchewanpirate said:
Yes, with OrangeFox I didn't need to flash the zip file from Zackptg5 which removes quota. I didn't get on with the latest H-ROM 6.0 (too many niggles, particularly ambient light sensor doesn't work so no adaptive brightness; fingerprint scanner doesn't work in apps; video call doesn't work in WhatsApp), but OrangeFox worked really well, definitely recommend it. Sorry for not remembering to come back and update sooner!
Click to expand...
Click to collapse
Thank you
Which rom do you use and recommend?
Or can orange fox be used with the stock rom?
Doing this on behalf on a friend who is struggling with storage issues, been years since I’ve touched android
King p1n said:
Thank you
Which rom do you use and recommend?
Or can orange fox be used with the stock rom?
Doing this on behalf on a friend who is struggling with storage issues, been years since I’ve touched android
Click to expand...
Click to collapse
Currently I use H-ROM 2.0 (https://forum.xda-developers.com/t/...7-port-v2-0-pie-oneui-64-bits-treble.3940532/) which works well. Only two main niggles that I might change back to stock - video doesn't work in WhatsApp (but is OK in WhatsApp Business) and some VoWiFi calls have echo, but this might just be normal for VoWiFi, not had echo on normal cell network calls. Stock ROM is now available with Android 8 (Oreo) so when I have time I was intending to try that again, maybe with debloat to remove some of the stock apps.
I would recommend OrangeFox, and although I started with TWRP and flashed this over the top, I think you should be OK to just flash this straight from Odin. TWRP would only flash in old version of Odin, I would guess OrangeFox maybe would be the same. Flash in AP using older version Odin3 v3.12.10. Untick auto reboot, when complete power off with vol down + power, then force to recovery using volume up, home and power
lastsaskatchewanpirate said:
Currently I use H-ROM 2.0 (https://forum.xda-developers.com/t/...7-port-v2-0-pie-oneui-64-bits-treble.3940532/) which works well. Only two main niggles that I might change back to stock - video doesn't work in WhatsApp (but is OK in WhatsApp Business) and some VoWiFi calls have echo, but this might just be normal for VoWiFi, not had echo on normal cell network calls. Stock ROM is now available with Android 8 (Oreo) so when I have time I was intending to try that again, maybe with debloat to remove some of the stock apps.
I would recommend OrangeFox, and although I started with TWRP and flashed this over the top, I think you should be OK to just flash this straight from Odin. TWRP would only flash in old version of Odin, I would guess OrangeFox maybe would be the same. Flash in AP using older version Odin3 v3.12.10. Untick auto reboot, when complete power off with vol down + power, then force to recovery using volume up, home and power
Click to expand...
Click to collapse
just to clarify I could use Orange fox with stock rom and enable adopted storage? So I can use SD for apps when necessary.
I did get adopted storage working of sorts, but certain screens were missing from storage in the setting menu (I think Samsung didn't include or removed these as the phone was not intended to work with Adopted Storage), so it would crash when trying to perform certain actions. I can't actually remember now if you could move apps to the Adopted Storage using the standard system menus, it was so flakey that I stopped using that and switched to using Link2SD (which I had already used before so had a Plus license for) and this does exactly what I needed. These are the steps I used to get Link2SD working: https://forum.xda-developers.com/t/app-1-6-link2sd.919326/post-82757807. I don't think you need the Plus version, but it doesn't cost much, removes the ads and lets you move a few more files. Hope that helps

Categories

Resources