Very strange! All files are hidden somewhere. - Moto G4 Plus Questions & Answers

So I unlocked the bootloader on my phone and installed TWRP.
When in TWRP, I put all my files, photos in the phone through TWRP's MTP mode.
Amongst those files was LineageOS 14.1 and GApps.
I installed them, the phone booted but now, all my files are missing. They are nowhere to be seen. Even the LineageOS and OpenGApps ZIP file.
But the phone shows 12 GB of data has been occupied.
Even through the TWRP's file manager I don't see my files. What exactly is going on in here?
How do I fix it?

[email protected] said:
So I unlocked the bootloader on my phone and installed TWRP.
When in TWRP, I put all my files, photos in the phone through TWRP's MTP mode.
Amongst those files was LineageOS 14.1 and GApps.
I installed them, the phone booted but now, all my files are missing. They are nowhere to be seen. Even the LineageOS and OpenGApps ZIP file.
But the phone shows 12 GB of data has been occupied.
Even through the TWRP's file manager I don't see my files. What exactly is going on in here?
How do I fix it?
Click to expand...
Click to collapse
Can you see the files in an file manager?

strongst said:
Can you see the files in an file manager?
Click to expand...
Click to collapse
Nevermind, I found them.
I copied them via TWRP recovery MTP, so they landed in '/data/media' instead of '/data/media/0'.

[email protected] said:
Nevermind, I found them.
I copied them via TWRP recovery MTP, so they landed in '/data/media' instead of '/data/media/0'.
Click to expand...
Click to collapse
That's not a standard media path. Good if problems can be fixed so easy :good:

Related

Help with F2FS and getting files onto a wiped tablet

I am trying to get the F2FS file structure and I can't find the SlimKat Rom or GAPPS files on my tablet. All I have is a laptop with Win8, which has copies of the needed files on there. Is there a way that I can get the .ZIP files onto my tablet, or make my laptop work like an OTG-USB? I'm not in the US and I don't know if I can get an OTG cable any time soon.
Thanks.
steve626 said:
I am trying to get the F2FS file structure and I can't find the SlimKat Rom or GAPPS files on my tablet. All I have is a laptop with Win8, which has copies of the needed files on there. Is there a way that I can get the .ZIP files onto my tablet, or make my laptop work like an OTG-USB? I'm not in the US and I don't know if I can get an OTG cable any time soon.
Thanks.
Click to expand...
Click to collapse
So is your situation:
Tablet is wiped
Partitions are formatted to f2fs
Recovery still functioning
If that is the case, then just use the sideload function. For TWRP, its under the advanced menu. Start sideload mode in TWRP, then on the PC open a command window in the directory where the files are (google to see how to add that function to the windows right click menu...really handy). Then:
adb sideload yourfilenamehere
Do it for both files.
Done.
brizey said:
So is your situation:
Tablet is wiped
Partitions are formatted to f2fs
Recovery still functioning
If that is the case, then just use the sideload function. For TWRP, its under the advanced menu. Start sideload mode in TWRP, then on the PC open a command window in the directory where the files are (google to see how to add that function to the windows right click menu...really handy). Then:
adb sideload yourfilenamehere
Do it for both files.
Done.
Click to expand...
Click to collapse
Even Recovery was stuck in a loop. I used a toolkit to flash back to all stock, it's working. Maybe I'll mess around with it again. Thanks.

[Q] how to recover data from a phone that will not boot

I have jamal2367's [AOSP] official 4.4.2 - S4 Google Edition ROM installed (final R1.2) a SGH-1337M.
The other day it started getting stuck on boot; the blue, red, yellow, green circles just continually go in and out without anything else happening. I have booted into CWM Recovery (v6.0.4.4) and done a wipe cache partition and wipe dalvik cache but it did not help.
Can anyone provide advice/steps on how to copy the data (mostly pics and WhatsApp history) off this phone? SMS history would also be nice but not necessary.
toggly said:
I have jamal2367's [AOSP] official 4.4.2 - S4 Google Edition ROM installed (final R1.2) a SGH-1337M.
The other day it started getting stuck on boot; the blue, red, yellow, green circles just continually go in and out without anything else happening. I have booted into CWM Recovery (v6.0.4.4) and done a wipe cache partition and wipe dalvik cache but it did not help.
Can anyone provide advice/steps on how to copy the data (mostly pics and WhatsApp history) off this phone? SMS history would also be nice but not necessary.
Click to expand...
Click to collapse
I would make a backup in your recovery and then flash the rom you had installed. See if that helps.
Edit: You didn't try to update. I changed my comment saying you had tried.
1. Download Aroma File Manager
2. Put a external sd into your phone.
3. Boot into the custom recovery and flash the Aroma file.
4. It will boot into a file browser and you can copy all the files from internal to your external.
ps it's possible that your custom recovery already has a filemanager build in. Then all these steps are obsolete.
I boot into AROMA Filemanager but I can't see anything on the internal SD card (see attachment).
Any ideas? Does that folder icon mean the "sdcard" folder is encrypted?
toggly said:
I boot into AROMA Filemanager but I can't see anything on the internal SD card (see attachment).
Any ideas? Does that folder icon mean the "sdcard" folder is encrypted?
Click to expand...
Click to collapse
Is it encrypted? Then probably it won't work. In that case just reflash the rom you are on without wiping.
toggly said:
Does that folder icon mean the "sdcard" folder is encrypted?
Click to expand...
Click to collapse
Lennyz1988 said:
Is it encrypted? Then probably it won't work. In that case just reflash the rom you are on without wiping.
Click to expand...
Click to collapse
I don't know, that's why I am asking what that icon means?
You say CWM is working, so you can just adb pull everything you need. Applications usually save data in a directory under /data/data or /sdcard/Android/data.
You should find the directories you want with adb shell, then you can adb pull them, then if you reflash your rom you can adb push them back into the same locations. Also, depending where they are saved, your pictures will most likely not be deleted when you reflash your rom. Better safe than sorry though.
If you don't have adb you'll have to download the binary, or you can install the entire Android SDK. Which operating system do you use?
toggly said:
I don't know, that's why I am asking what that icon means?
Click to expand...
Click to collapse
The icons means that it's symlinked. If it's not encrypted then you should find the data. It can be in an other place then where you are looking. Try looking in /data/media or some other maps in /data
Or just flash the rom you are currently on without wiping.
soldier9599 said:
You say CWM is working, so you can just adb pull everything you need. Applications usually save data in a directory under /data/data or /sdcard/Android/data.
You should find the directories you want with adb shell, then you can adb pull them, then if you reflash your rom you can adb push them back into the same locations. Also, depending where they are saved, your pictures will most likely not be deleted when you reflash your rom. Better safe than sorry though.
If you don't have adb you'll have to download the binary, or you can install the entire Android SDK. Which operating system do you use?
Click to expand...
Click to collapse
Adb won't work unless he already has authorized adb when his device was booted.
toggly said:
I boot into AROMA Filemanager but I can't see anything on the internal SD card (see attachment).
Any ideas? Does that folder icon mean the "sdcard" folder is encrypted?
Click to expand...
Click to collapse
You need to mount partitions to see the contents.. Go to Aroma File Manager Settings and check the option "Moumt automatically partition on boot".. then restart your recovery and flash again the Aroma File Manager
Lennyz1988 said:
Adb won't work unless he already has authorized adb when his device was booted.
Click to expand...
Click to collapse
I've had devices where the first thing I did with them was unlock bootloader, fastboot flash recovery, and then go into recovery and adb sideload, all without booting the system.
peppe130 said:
You need to mount partitions to see the contents.. Go to Aroma File Manager Settings and check the option "Moumt automatically partition on boot".. then restart your recovery and flash again the Aroma File Manager
Click to expand...
Click to collapse
That did the trick, thanks!!
Nothing
soldier9599 said:
I've had devices where the first thing I did with them was unlock bootloader, fastboot flash recovery, and then go into recovery and adb sideload, all without booting the system.
Click to expand...
Click to collapse
Yes and I believe that. But from version 4.2.2 android forces rsa encryption. So you need to boot into your rom and enable it. Unless the custom rom/kernel has disabled it, but I haven't seen any that have.

[SOLVED] Unable to read/write internal storage

My OnePlus 5 is unable to read or write the internal storage. I don't see any file in Gallery or any other app that lists media files. File explorer shows how much space is used up but it says my storage is empty. Can't download files, can't create folders or files. Sometimes it fixes itself and I could access all my files. Or sometimes rebooting the phone fixes it. I tried some command lines in adb trying to fix permissions, but got no luck out of it. Somebody, please help!
P.S.: My phone is rooted with SuperSU, runs on the latest OOS build, has Xposed installed and I haven't tried switching roms.
Update: Uninstalling Xposed solved it.
zTweaked said:
My OnePlus 5 is unable to read or write the internal storage. I don't see any file in Gallery or any other app that lists media files. File explorer shows how much space is used up but it says my storage is empty. Can't download files, can't create folders or files. Sometimes it fixes itself and I could access all my files. Or sometimes rebooting the phone fixes it. I tried some command lines in adb, but got no luck out of it. Somebody, please help!
P.S.: My phone is rooted with SuperSU, runs on the latest OOS build and I haven't tried switching roms.
Click to expand...
Click to collapse
Flash this zip file via TWRP and see if it helps.
shadowstep said:
Flash this zip file via TWRP and see if it helps.
Click to expand...
Click to collapse
Let's see
zTweaked said:
My OnePlus 5 is unable to read or write the internal storage. I don't see any file in Gallery or any other app that lists media files. File explorer shows how much space is used up but it says my storage is empty. Can't download files, can't create folders or files. Sometimes it fixes itself and I could access all my files. Or sometimes rebooting the phone fixes it. I tried some command lines in adb, but got no luck out of it. Somebody, please help!
P.S.: My phone is rooted with SuperSU, runs on the latest OOS build and I haven't tried switching roms.
Click to expand...
Click to collapse
Try fixing contexts in TWRP
zTweaked said:
My OnePlus 5 is unable to read or write the internal storage. I don't see any file in Gallery or any other app that lists media files. File explorer shows how much space is used up but it says my storage is empty. Can't download files, can't create folders or files. Sometimes it fixes itself and I could access all my files. Or sometimes rebooting the phone fixes it. I tried some command lines in adb, but got no luck out of it. Somebody, please help!
P.S.: My phone is rooted with SuperSU, runs on the latest OOS build and I haven't tried switching roms.
Click to expand...
Click to collapse
Did you install Xposed? If yes, it gives this problem for which I had to uninstall Xposed.
Even I faced this issue in my unrooted device
Fix contexts in TWRP. I had this exact problem when the phone first came out.
zTweaked said:
Let's see
Click to expand...
Click to collapse
Is it the same when browsing your files with twrp ?
0xTJ said:
Try fixing contexts in TWRP
Click to expand...
Click to collapse
Doesn't work.
smartbuddy said:
Did you install Xposed? If yes, it gives this problem for which I had to uninstall Xposed.
Click to expand...
Click to collapse
Yes, I have xposed installed. How did you uninstall it? There's no uninstaller zip for Nougat yet. Did you just restore your rom?
nosphor said:
Is it the same when browsing your files with twrp ?
Click to expand...
Click to collapse
Haven't checked yet.
zTweaked said:
Yes, I have xposed installed. How did you uninstall it? There's no uninstaller zip for Nougat yet. Did you just restore your rom?
Click to expand...
Click to collapse
There is Uninstaller available for Xposed on Nougat :
Download and Flash this in TWRP, wipe cache and Reboot :
http://fastkit.org/xposed/classic/Uninstaller /xposed-uninstaller-20170719-arm64.zip
zTweaked said:
My OnePlus 5 is unable to read or write the internal storage. I don't see any file in Gallery or any other app that lists media files. File explorer shows how much space is used up but it says my storage is empty. Can't download files, can't create folders or files. Sometimes it fixes itself and I could access all my files. Or sometimes rebooting the phone fixes it. I tried some command lines in adb, but got no luck out of it. Somebody, please help!
P.S.: My phone is rooted with SuperSU, runs on the latest OOS build and I haven't tried switching roms.
Click to expand...
Click to collapse
I had this issue on the first boot after rooting using Magisk, a simple reboot fixed it. So maybe try rooting using Magisk? I know it's not a complete solution but just throwing a thought out there.
smartbuddy said:
There is Uninstaller available for Xposed on Nougat :
Download and Flash this in TWRP, wipe cache and Reboot :
http://fastkit.org/xposed/classic/Uninstaller /xposed-uninstaller-20170719-arm64.zip
Click to expand...
Click to collapse
Thanks, this fixed it
muddynoodle said:
I had this issue on the first boot after rooting using Magisk, a simple reboot fixed it. So maybe try rooting using Magisk? I know it's not a complete solution but just throwing a thought out there.
Click to expand...
Click to collapse
Uninstalling xposed fixed the issue
I have the same issue, thank you for the solution. I hope it was only because of xposed
zTweaked said:
My OnePlus 5 is unable to read or write the internal storage. I don't see any file in Gallery or any other app that lists media files. File explorer shows how much space is used up but it says my storage is empty. Can't download files, can't create folders or files. Sometimes it fixes itself and I could access all my files. Or sometimes rebooting the phone fixes it. I tried some command lines in adb, but got no luck out of it. Somebody, please help!
P.S.: My phone is rooted with SuperSU, runs on the latest OOS build and I haven't tried switching roms.
Click to expand...
Click to collapse
I've written a fix for this in the xXx no limits thread, go take a look. Easy can be done from terminal.
dladz said:
I've written a fix for this in the xXx no limits thread, go take a look. Easy can be done from terminal.
Click to expand...
Click to collapse
If it's fixing permissions via terminal then sorry, that didn't work. As I said, xposed was the problem. Uninstalling it fixes the problem.
Happend to me 2 times... a simple reboot solved it.
zTweaked said:
If it's fixing permissions via terminal then sorry, that didn't work. As I said, xposed was the problem. Uninstalling it fixes the problem.
Click to expand...
Click to collapse
]This fixed it for me.
Cannot download due to SD card missing" Error.
Simply open a terminal emulator and type in the following.
su
restorecon -FR /data/media/0
Reboot and it should work thereafter.
dladz said:
]This fixed it for me.
Cannot download due to SD card missing" Error.
Simply open a terminal emulator and type in the following.
su
restorecon -FR /data/media/0
Reboot and it should work thereafter.
Click to expand...
Click to collapse
Glad it worked for you. Sadly for me, fixing permissions or contexts didn't help. Anyways, I said it earlier, uninstalling Xposed fixed it.
@SynisterWolf please close this thread. The issue is fixed.
Yea I didn't have xposed installed you see, plus mine reoccurred. Was only trying to help.
---------- Post added at 01:30 PM ---------- Previous post was at 12:51 PM ----------
Re ran the command i wrote earlier, seems to isn't working for me either, great
dladz said:
]This fixed it for me.
Cannot download due to SD card missing" Error.
Simply open a terminal emulator and type in the following.
su
restorecon -FR /data/media/0
Reboot and it should work thereafter.
Click to expand...
Click to collapse
Oh man, thanks. I spent hours trying to solve this.

Unable to modify /system folder

I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Edit: found out I'm unable to uninstall system apps for some reason. So the issue isn't space related.
Toilet Clauger said:
I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Click to expand...
Click to collapse
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Sent from my OnePlus6T using XDA Labs
Mannan Qamar said:
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Click to expand...
Click to collapse
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Toilet Clauger said:
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Click to expand...
Click to collapse
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
toolhas4degrees said:
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
Click to expand...
Click to collapse
I was actually able to find the issue. Space was the issue. I guess there's a space buffer needed from what a file explorer says is left and what's actually left. I uninstalled a couple system apps I disable anyway and was able to insert files/apps into system again.
I made space easy I have the new OnePlus camera apk 125mb the old one is 67mb

TWRP can't copy to storage or sideload

Hello guys,
i want to install LOS16, but running into problems at the beginning:
I updated my adb and OP Usb drivers.
I booted and flashed twrp-3.2.3-x_blu_spark_v9.91_op6
Now I tried to sideload OOS 9.0.17 -> Error: Cannot read file
I accessed the internal storage and tried to copy the file -> The Dialog to copy the files starts, but closes after some time, without any error.
Can anyone help?
Im sorry, I had already read about flash-all-partions.bat and forgot.
Now, after booting to bootloader and starting the bat i get many errors, that every .img file is nocht found
*sigh*
Yeah, everything is so obvious. unpacked all zips now its working....
delete pls

Categories

Resources