Can not Access User Folders - LineageOS 17.1 - LineageOS Questions & Answers

Hi!
I have installed LineageOS 17.1 on my s5neolte, but when opening file manager there is no folders. Another example is when starting Camera getting "Insert an SD card before using the camera".
TWRP version is 3.6.0_9-0.
LineageOS 17.1 is official version 20211205
Before installing using ADB sideload I did a wipe of Dalvik/Art Cache, Cace, Data, Internal Storage, and System.
I have also tried previous versions of LOS and TWRP, but with the same result. Also tried "Swipe to Factory Reset" and "Repair or Change File System" in TWRP.
If someone could please help me out to solve this I would very much appreciate it.
Thanks,
Hekja

Solved. Got help from LuK1337 over at Reddit.
The solution is to use format internal storage in the Wipe section of TWRP.

Related

n00b here, needing help with first custom ROM install

Hi everyone,
I'm a n00bie to custom ROM's but have the itch to get moving on one.
I have a Samsung Galaxy Note 2 n7100 (international model).
It is currently running stock android 4.4.2 but I am sick of the Samsung bloatware and want to get it similar to a nexus experience.
I have been reading on different ROM's and like the sound of BlissPOP, Resurrection Remix & of course Cynaogenmod.
So far I have done the following:
1) rooted the stock ROM
2) Installed TWRP 3.0.0-0
3) removed apps and data (to make backup smaller)
4) performed a ROM backup using TWRP
I am wondering if I get some help with the next steps as I have read slightly varying steps.
I think I have my mind set on flashing resurrection remix android 5.1.1, given it has been out since late last year; but have also looked at resurrection remix android 6.0.1 & blissPOP android 6.0.1 ROMS.
I have the ROM + Gapps downloaded and on my ext SD card.
The steps that I am familiar with is:
1) reboot into recovery - TWRP
2) do factory reset/wipe data
3) wipe cache
4) wipe dalvik cache
5) choose ROM zip to install
6) choose Gapps zip and install
However the new TWRP 3.0.0-0 is slightly different.
So I guess my questions are:
1) TWRP 3.0.0-0 has one quick option which does everything. Is this ok to do OR should I go into advanced and select each separately and wipe?
2) Should I have the ROM & Gapps on my ext SD Card or the internal SD card? If on the internal SD card, will this not get wiped with the factory reset/wipe data?
3) Do I removed SD card before first power up after installed?
Thanks for any help. I'm really looking forward to giving my phone and 'update' and seeing better performance.
Just want to make sure that I am doing everything correctly and not missing anything to give myself the best chance of success.
This is my primary phone so don't want anything to go wrong.
Thanks again and look forward to replies and any suggestions you may have.
cheers
darksaber79 said:
Hi everyone,
I'm a n00bie to custom ROM's but have the itch to get moving on one.
I have a Samsung Galaxy Note 2 n7100 (international model).
It is currently running stock android 4.4.2 but I am sick of the Samsung bloatware and want to get it similar to a nexus experience.
I have been reading on different ROM's and like the sound of BlissPOP, Resurrection Remix & of course Cynaogenmod.
So far I have done the following:
1) rooted the stock ROM
2) Installed TWRP 3.0.0-0
3) removed apps and data (to make backup smaller)
4) performed a ROM backup using TWRP
I am wondering if I get some help with the next steps as I have read slightly varying steps.
I think I have my mind set on flashing resurrection remix android 5.1.1, given it has been out since late last year; but have also looked at resurrection remix android 6.0.1 & blissPOP android 6.0.1 ROMS.
I have the ROM + Gapps downloaded and on my ext SD card.
The steps that I am familiar with is:
1) reboot into recovery - TWRP
2) do factory reset/wipe data
3) wipe cache
4) wipe dalvik cache
5) choose ROM zip to install
6) choose Gapps zip and install
However the new TWRP 3.0.0-0 is slightly different.
So I guess my questions are:
1) TWRP 3.0.0-0 has one quick option which does everything. Is this ok to do OR should I go into advanced and select each separately and wipe?
2) Should I have the ROM & Gapps on my ext SD Card or the internal SD card? If on the internal SD card, will this not get wiped with the factory reset/wipe data?
3) Do I removed SD card before first power up after installed?
Thanks for any help. I'm really looking forward to giving my phone and 'update' and seeing better performance.
Just want to make sure that I am doing everything correctly and not missing anything to give myself the best chance of success.
This is my primary phone so don't want anything to go wrong.
Thanks again and look forward to replies and any suggestions you may have.
cheers
Click to expand...
Click to collapse
1. Full wipe is what you need
2. You can copy files after wipe to internal, just mount it
3. Do not remove sd card
Before that make EFS backup
Hi Yaro,
1) Full wipe: is this done from within TWRP?
2) TWRP 3 appears to already work with ext SD. So you say copy from ext SD to phone/int SD card? So I should be able to do this from within TWRP?
I have done a separate EFS backup already
I'm reading good things about RR Android 6.0.1 ROM. Is there any difference in installing that to say RR 5.1.1?
darksaber79 said:
Hi Yaro,
1) Full wipe: is this done from within TWRP?
2) TWRP 3 appears to already work with ext SD. So you say copy from ext SD to phone/int SD card? So I should be able to do this from within TWRP?
I have done a separate EFS backup already
I'm reading good things about RR Android 6.0.1 ROM. Is there any difference in installing that to say RR 5.1.1?
Click to expand...
Click to collapse
1. Yes, in twrp you have option to wipe everything to make a clean install, or you can select everything and wipe it - i.e. internal, cache, dalvik...
2. You can connect your phone after wipe, then copy rom and gapps from pc or just go with external sd.
Do not worry you already did the hardest part.
I was using rr 5.1.1, very good rom, but you have to test dor yourself. Now I'm sticking with cm13 build 9, just pure rom, fast, nice, smooth.
You seems good to go with custom roms, give it a try
Hi Yarro,
sorry to be a pain.
In TWRP I have the following:
- on main screen, select 'WIPE'
- shows this screen will do a 'factory reset' which wipes data, cache and dalvik (not including internal storage)
- there is also a 'FORMAT DATA' button and 'ADVANCED WIPE' button
- under 'ADVANCED WIPE' there is selectable options:
- Davik/ART Cache
- Cache
- System
- Data
- Internal Storage
- Micro SDCard
- USB OTG
Select what is wanted and then use slider to wipe
So, should I....
(1) perform the factory reset which wipes data, cache and dalvik (not including internal storage) in one step?
(2) then install fro ext sd card and choose the rr 5.1.1, wait for completion
(3) then install from ext sd card and choose gapps
- Also is there need to confirm MD5 of the ROM before installing?
Cheers
Hi Yaro,
So I have given it a try.
- Booted into TWRP 3.0.0-0
- Performed factory reset (which does cache, data, dalvik)
- attempted install but got error 7
- phone still boot to factory rom
- I copied blisspop android 6 rom to sd card
- again attempted install but got same error 7
I read somewhere that someone had the same issue and they changed recovery to CWM and then they could install ROMs
I am currently restoring my phone using the backup I did prior.
I will then change recovery to CWM, take a new a new backup and then give it another go
I am having trouble getting CWM recovery installed.
I originally installed CWM via ROM Manager.
I then tried to change to TWRP via ROM Manager but although it said it was installed, CWM was actually installed.
I got TWRP installed by using TWRP Manager ( also installed Busy Box).
I am now trying to use ROM Manager to install CWM again but although it says it has installed it TWRP is still on.
I have now used TWRP manager to backdate/install version 2.8.7.0 which has worked.
Unsure whether to try this earlier version of TWRP or get CWM installed.
Can anyone help with getting CWM installed and why ROM Manager is doing what it says it is?
darksaber79 said:
I am having trouble getting CWM recovery installed.
I originally installed CWM via ROM Manager.
I then tried to change to TWRP via ROM Manager but although it said it was installed, CWM was actually installed.
I got TWRP installed by using TWRP Manager ( also installed Busy Box).
I am now trying to use ROM Manager to install CWM again but although it says it has installed it TWRP is still on.
I have now used TWRP manager to backdate/install version 2.8.7.0 which has worked.
Unsure whether to try this earlier version of TWRP or get CWM installed.
Can anyone help with getting CWM installed and why ROM Manager is doing what it says it is?
Click to expand...
Click to collapse
U are coming from stock rom and u need to format preload etc which TWRP can't format. Go to philz recovery thread somewhere at last posts a member had post a link for a modified version of recovery 6.58 something. Download this zip, install it with TWRP and reboot at recovery again. Now with philz recovery format: preload, system, cache, dalvik and data and after install rom and gapps, wipe cache and dalvik and reboot to system. Prefer latest RR 5.1.1 from varund's thread and don't use earlier version of philz recovery because it can't install latest gapps.
http://forum.xda-developers.com/showthread.php?p=61703745
RR needs sometime for first boot if it does more than 5 minutes to boot means that is in bootloop push the power button some seconds until the phone to reboot and the second time will boot ok
Hi Porto,
Thanks for the advice.
I have Philz recovery installed.
I can see the format options under custom format options.
I found how to perform a backup to ext sd card.
Backup was done on data, system, boot partitions. I will do a separate backup of efs.
Do you recommend any other partition backups?
You mention RR 5.1.1, do you see any issues with flashing RR 6.0.1?
Cheers
thanks

After flashing RR ROM, not able to flash any rom which is not based on CM14

Recently I flashed RR rom then wanted to take nandriod backup of the same but when I tried I was not successful at the same time It is not showing internal storage in TWRP, at the same time it not able to wipe the dalvik caches as well. showing partition cannot be mounted and internal storage is showing zero...
I want to flash MIUI 8 but zip installation is showing failed
is there any solution
akshay12466 said:
Recently I flashed RR rom then wanted to take nandriod backup of the same but when I tried I was not successful at the same time It is not showing internal storage in TWRP, at the same time it not able to wipe the dalvik caches as well. showing partition cannot be mounted and internal storage is showing zero...
I want to flash MIUI 8 but zip installation is showing failed
is there any solution
Click to expand...
Click to collapse
Have you tried acessing in a computer?
Also... you may have wiped everything before flashing RR.

Can't install any Customs Roms - Error 255 in TWRP

Any ideas? I've tried TWRP 3.1.1.0 and 3.2.1.0 but it just reports back "updater process ended with error 255" and terminates?
Please help.
junglebungle said:
Any ideas? I've tried TWRP 3.1.1.0 and 3.2.1.0 but it just reports back "updater process ended with error 255" and terminates?
Please help.
Click to expand...
Click to collapse
You are using the 32bit twrp to try and install a 64bit rom
My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this
Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353
Note - I do not support the unofficial 64bit twrp as I did not build it
TheFixItMan said:
You are using the 32bit twrp to try and install a 64bit rom
My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this
Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353
Note - I do not support the unofficial 64bit twrp as I did not build it
Click to expand...
Click to collapse
Yeah I fixed it now, thanks anyway.
Hi all,
when i use the 64 bit version i cant see any folders other than root folders. So i cant find the zips to flash. Any thoughts please?
grwalker said:
Hi all,
when i use the 64 bit version i cant see any folders other than root folders. So i cant find the zips to flash. Any thoughts please?
Click to expand...
Click to collapse
Select internal storage and it will show all folders in internal memory.
Thanks.
I did that. I see the root folders but nothing in internal storage. And the size of internal storage shows as 0MB
See attachement
Thanks
grwalker said:
Thanks.
I did that. I see the root folders but nothing in internal storage. And the size of internal storage shows as 0MB
See attachement
Thanks
Click to expand...
Click to collapse
Scroll down
Select storage folder
Select something like emulated then 0
If you don't see emulated than 0 or the folder is empty then internal storage isn't mounted - check the mount section of twrp or try using a different twrp
To check external storage it's the same as above but you select emulated then the folder with the sdcard hex value as its name which is different with every sdcard
TheFixItMan said:
Scroll down
Select storage folder
Select something like emulated then 0
If you don't see emulated than 0 or the folder is empty then internal storage isn't mounted - check the mount section of twrp or try using a different twrp
To check external storage it's the same as above but you select emulated then the folder with the sdcard hex value as its name which is different with every sdcard
Click to expand...
Click to collapse
Thanks for the post.
Unfortunately no luck. I cant see anything in the storage folder.
I have tried to mount internal storage also with no luck. Internal storage shows as 0MB
I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)
See attached
grwalker said:
Thanks for the post.
Unfortunately no luck. I cant see anything in the storage folder.
I have tried to mount internal storage also with no luck. Internal storage shows as 0MB
I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)
See attached
Click to expand...
Click to collapse
Looking at your phone it doesn't look like a moto g5
It looks more like a g5 plus or g5s
What is your device xt name eg xt1676 - if it's not a moto g5 codename cedric you are in the wrong device forum and using the wrong twrp
TheFixItMan said:
Looking at your phone it doesn't look like a moto g5
It looks more like a g5 plus or g5s
What is your device xt name eg xt1676 - if it's not a moto g5 codename cedric you are in the wrong device forum and using the wrong twrp
Click to expand...
Click to collapse
Yes it is a G5. Here's a photo from bootloader
FYI... when i flash 32bit TWRP i can see internal storage. But, of course, i cant flash custom roms from there because they are 64bit. Tried with lineage and Res remix. Error255 results
grwalker said:
Yes it is a G5. Here's a photo from bootloader
FYI... when i flash 32bit TWRP i can see internal storage. But, of course, i cant flash custom roms from there because they are 64bit. Tried with lineage and Res remix. Error255 results
Click to expand...
Click to collapse
Try this twrp
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
If you can't mount internal storage your only option might be to format it
This will delete everything in the internal user data - pictures music documents etc - backup first!
Wipe - format data (option on the right)
Restart back to recovery
If it's not mountable wipe advanced wipe data and internal storage
Note if you didn't decrypt data (if asked) when launching twrp you need to format data anyway to remove encryption in order to be able to mount it
Also some 64bit twrp don't support encryption so it might not even ask for decrypt - the one I posted above should support encryption but you still need to format data if flashing a new rom
TheFixItMan said:
Try this twrp
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
If you can't mount internal storage your only option might be to format it
This will delete everything in the internal user data - pictures music documents etc - backup first!
Wipe - format data (option on the right)
Restart back to recovery
If it's not mountable wipe advanced wipe data and internal storage
Note if you didn't decrypt data (if asked) when launching twrp you need to format data anyway to remove encryption in order to be able to mount it
Also some 64bit twrp don't support encryption so it might not even ask for decrypt - the one I posted above should support encryption but you still need to format data if flashing a new rom
Click to expand...
Click to collapse
Thanks, those steps worked.
Interesting on first install i didnt get a question about decrypting.
After reformat the only folder i saw in /sdcard was TWRP. So i dropped the rom and gapps zips in there. No problem flashing from there
Thanks for the help
grwalker said:
Thanks, those steps worked.
Interesting on first install i didnt get a question about decrypting.
After reformat the only folder i saw in /sdcard was TWRP. So i dropped the rom and gapps zips in there. No problem flashing from there
Thanks for the help
Click to expand...
Click to collapse
Unless you set a lock screen pin and enabled encryption you won't
64bit twrp has encryption issues - I think the one I provided allows you to decrypt data on 64bit roms if you do encrypt it (depending on rom)
I don't have this device anymore so I only built the 32bit official twrp when I had it
Also you won't have any other files/folder in internal storage until you boot android for the first time which is why you only had the twrp folder there
grwalker said:
Thanks for the post.
Unfortunately no luck. I cant see anything in the storage folder.
I have tried to mount internal storage also with no luck. Internal storage shows as 0MB
I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)
See attached
Click to expand...
Click to collapse
You device is encrypted, so you need to format the device to gain access to the internal storage, so format the device.
Format<format<yes.
Take a back up of internal storage, so you don't lose Data.
Hello.
After reading, I did a hard reset to bootloader (buttons) and then just plugged USB and flashed your twrp-64 with fastboot; clean install and
Thanks a lot, sir.
trefix said:
Hello.
After reading, I did a hard reset to bootloader (buttons) and then just plugged USB and flashed your twrp-64 with fastboot; clean install and
Thanks a lot, sir.
Click to expand...
Click to collapse
Official twrp now supports 64bit roms
You need version twrp-3.4.0-1-cedric.img
https://dl.twrp.me/cedric/
TheFixItMan said:
You are using the 32bit twrp to try and install a 64bit rom
My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this
Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353
Note - I do not support the unofficial 64bit twrp as I did not build it
Click to expand...
Click to collapse
how can i install twrp 64bit if I am stuck because of error 255?
Neorex111 said:
how can i install twrp 64bit if I am stuck because of error 255?
Click to expand...
Click to collapse
Flash the latest official twrp via fastboot
[Official] [5th April 2021] TWRP 3.5.2_9-0 Moto G5 [Cedric] [32/64bit Roms]
Official TWRP For Moto G5 Cedric Post 1 - Instructions Post 2 - FAQs For full details and notes see Official TWRP for Cedric Site For TWRP news change logs etc see TWRP Official Site Instructions For non rooted and rooted phones...
forum.xda-developers.com
i have the same issue, but i don't know how to install twrp-64 since my OS is wiped with ni backup (a small child got ahold of the phone in twrp recovery mode). how do i do this? install a 32-bit os and then download the twrp-64?
SumoNoob said:
i have the same issue, but i don't know how to install twrp-64 since my OS is wiped with ni backup (a small child got ahold of the phone in twrp recovery mode). how do i do this? install a 32-bit os and then download the twrp-64?
Click to expand...
Click to collapse
Read the instructions on the official twrp thread on how to flash twrp
Just enter bootloader/fastboot mode and flash the latest official twrp
[Official] [5th April 2021] TWRP 3.5.2_9-0 Moto G5 [Cedric] [32/64bit Roms]
Official TWRP For Moto G5 Cedric Post 1 - Instructions Post 2 - FAQs For full details and notes see Official TWRP for Cedric Site For TWRP news change logs etc see TWRP Official Site Instructions For non rooted and rooted phones...
forum.xda-developers.com

Guys Please help. Unable To Mount... error. Tried everythng. Video given.

I have watched a lot of tutorials but nothing is working please someone help
I made a video of the problem and what I tried. Can anyone understand what happened
https://www.youtube.com/watch?v=VaN-y-Worlg
Update: In Data i Changed the file system and went back to original. Didn't work.
I even wiped system. But i guess the only problem is to fix the "data". Since it shows 0 Mb size. But i can't find any way or guide. The ones i did find are too advanced and use cmd commands and toolkits which i don't think an inexperienced user like me should be following.
Some background information: i attempted to install Open gApps and enable Camera2 API. I Entered "read only" mode.
The adb shell commands for enabling it wasn't working (some "proprietary" something shown )
So I tried another method. I downloaded the latest Magisk and flashed it. Then i tried gApps. I don't remember when i started to think what went wrong but yeah..
I found this and I think it may be related.
But I don't understand it properly.
And its and Old post for some other Recovery
https://forum.xda-developers.com/go...o-repairing-corrupted-data-partition-t2577447
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
jaybeeee said:
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
Click to expand...
Click to collapse
DId that in the video. Doesn't work
Did you reboot twrp first? I don't see that
jaybeeee said:
Did you reboot twrp first? I don't see that
Click to expand...
Click to collapse
Oh yeah didn't do it in the video.. But yeah no good.
Crap, sorry to hear it, hopefully someone better than me chimes in. Good luck!
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Sent from my iPad using Tapatalk
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
At this point i can't care less about the data in internal storage. I just need to flash the official MIUI ROM back, enable Camera2 API and live in peace. At this moment I'm halfway through downloading the ROM but I'm not sure if i can flash it due to the Mount Issue of internal storage. I plan on transferring it to my micro SD card and flashing it from there to System Image. Will it work? And Internal Storage formatting failed in case you didn't notice. Practically nothing worked except the file system change of "data". And even that didn't fix the unable to Mount issue.
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
Btw i gave more information on the first post.
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
devcon69 said:
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
Click to expand...
Click to collapse
Hevent tried redwolf recover. Just Fastboot flashed the ROM on intuition. And it Worked!!

Problems to root A5 2017

Helllo,
I tried to root my Samsung A5 2017 and also too change to LineageOS. I installed TWRP. In TWRP I selected my Lineage-Zip and OpenGApps-Zip. TWRP finished the installation succesfully. When I startet the phone, Lineage said, that it isn`t working. Now i flashed the StockROM with Odin and Android worked again. I flashed TWRP a second time and tried to wipe the Phone. This doesen´t works. Log says: "Unable to mount storage" "Failed to mount ´/data´(Invalide argument)". Then I tried to install Lineage without wiping, but the Log brought the same result.
Thank you for any help.
First of all, I think your thread belongs to the Q&A section.
To answer your question, or try at least, I'm guessing that the storage is encrypted by the Samsung stock ROM. This encryption sadly can't be removed in any other way than completely formatting the data partition.
You can do this in TWRP in the "Wipe" section with "Format data". This will also wipe your internal storage, so you should have all the important zips for installation on a microSD card or your PC, so you can install them after the wipe (I'm guessing you already did that, since you installed without having access to /data).
If you want to keep the data partition unencrypted in the future but still use the stock ROM, you can flash Magisk after removing the encryption.
Hope I could help.

Categories

Resources