Can't access to sdcard in TWRP. - Moto G7 Power Questions & Answers

I unlocked the bootloader today, uploaded TWRP, flashed the magisk. I cannot use sdcard in TWRP. There are folders with random characters. I also can't backup in twrp. How to fix access to sdcard? It has an android 10 stock rom.

Noob9496 said:
I unlocked the bootloader today, uploaded TWRP, flashed the magisk. I cannot use sdcard in TWRP. There are folders with random characters. I also can't backup in twrp. How to fix access to sdcard? It has an android 10 stock rom.
Click to expand...
Click to collapse
Format it in TWRP or in windows or Linux box

roadkill42 said:
Format it in TWRP or in windows or Linux box
Click to expand...
Click to collapse
Factory reset?

Noob9496 said:
Factory reset?
Click to expand...
Click to collapse
That might work to

Noob9496 said:
Factory reset?
Click to expand...
Click to collapse
Did you look here???
https://twrp.me/motorola/motorolamotog7power.html

WoKoschekk said:
Did you look here???
https://twrp.me/motorola/motorolamotog7power.html
Click to expand...
Click to collapse
Yes. I have twrp flashed.

Noob9496 said:
Yes. I have twrp flashed.
Click to expand...
Click to collapse
I know you flashed it. But sometimes it might be helpful to read the installation guide:
NOTE-1: Monthly security updates may (or may not) break decryption of /data in TWRP. NOTE-2: Decryption of /data works only when installing TWRP permanently!
Click to expand...
Click to collapse
Did you install TWRP permanently before you tried to access /sdcard?

WoKoschekk said:
I know you flashed it. But sometimes it might be helpful to read the installation guide:
Did you install TWRP permanently before you tried to access /sdcard?
Click to expand...
Click to collapse
I install twrp permanently. When i go to /sdcard or /data/media/0/ in twrp i have many folder with random characters.

Noob9496 said:
I install twrp permanently. When i go to /sdcard or /data/media/0/ in twrp i have many folder with random characters.
Click to expand...
Click to collapse
Start TWRP, grep a log and upload it here or on a filehoster. The size of the log doesn't matter.

WoKoschekk said:
Start TWRP, grep a log and upload it here or on a filehoster. The size of the log doesn't matter.
Click to expand...
Click to collapse
Log

Noob9496 said:
Log
Click to expand...
Click to collapse
Link is dead... Gives me an error 404. Try Drive, MEGA or sth else.

WoKoschekk said:
Link is dead... Gives me an error 404. Try Drive, MEGA or sth else.
Click to expand...
Click to collapse
https://www42.zippyshare.com/v/t8Af8Pgw/file.html

Noob9496 said:
https://www42.zippyshare.com/v/t8Af8Pgw/file.html
Click to expand...
Click to collapse
That's interesting... zippyshare.com blocks german ip addresses by default. I'm glad to have tor browser installed on my device.
Ok, you have to format /data. TWRP can't decrypt your storage the way it should normally work.
Make sure you don't wipe it! It must be formatted!
On TWRP mainscreen open wipe > in the lower right corner you find format. Your data gets only encrypted when booting into system. So let your device boot once before starting TWRP again.

WoKoschekk said:
That's interesting... zippyshare.com blocks german ip addresses by default. I'm glad to have tor browser installed on my device.
Ok, you have to format /data. TWRP can't decrypt your storage the way it should normally work.
Make sure you don't wipe it! It must be formatted!
On TWRP mainscreen open wipe > in the lower right corner you find format. Your data gets only encrypted when booting into system. So let your device boot once before starting TWRP again.
Click to expand...
Click to collapse
Format data partition didn't help. I still have it encrypted.

Noob9496 said:
Format data partition didn't help. I still have it encrypted.
Click to expand...
Click to collapse
Sure you selected "format data"? Did you have to confirm it by typing "yes"?
Stock ROM?

WoKoschekk said:
Sure you selected "format data"? Did you have to confirm it by typing "yes"?
Stock ROM?
Click to expand...
Click to collapse
Yes, stock rom and format data. Can I do a factory reset?

Noob9496 said:
Yes, stock rom and format data. Can I do a factory reset?
Click to expand...
Click to collapse
A wipe only erases all single files and folders that are stored on /data while it keeps encrypted.
This flag is a part of the metadata/partition table.
I don't know... try an older version of TWRP.

WoKoschekk said:
A wipe only erases all single files and folders that are stored on /data while it keeps encrypted.
This flag is a part of the metadata/partition table.
I don't know... try an older version of TWRP.
Click to expand...
Click to collapse
I flashed the Havoc OS rom and the problem is gone. Thanks for your time.

Noob9496 said:
I flashed the Havoc OS rom and the problem is gone. Thanks for your time.
Click to expand...
Click to collapse
Some times have to unchecked the zip verication and then u can flash I had to do that every thing works

Related

[Q] deleted internal storage by accident

NOOOB accident,
but it is done. I've erased my internal storage and now, when I boot, theres no notification or menu bar (bottom). I can't access my "SD card" cuz it doesn't exist anymore. So even If I download a ROM and try to flash it, I can't even find the download.
Any help would be greatly appreciated.
To note that I don't have access to a computer!
What exactly did you do and how?
What exactly is the current state of your phone?
rootSU said:
What exactly did you do and how?
What exactly is the current state of your phone?
Click to expand...
Click to collapse
From Recovery I wiped the internal storage... I thought that would just erase the content of it, guess I was wrong. lol
My phone wokrs, I just can't leave any application once I've opened it, I also can't install new apps. So right now I'm running XtraSmooth 3.2 with ElementalX 2.05 Kernel.
In TWRP, erase storage just wipes sdcard. Though maybe since youre on lollipop, you need to run the restorecon commands. Please tell mW you have a terminal emulator installed?
rootSU said:
In TWRP, erase storage just wipes sdcard. Though maybe since youre on lollipop, you need to run the restorecon commands. Please tell mW you have a terminal emulator installed?
Click to expand...
Click to collapse
DId, not there anymore for a reason all apps disapeared upon boot (after erasing internal storage)
Update... Phone turned off and stuck booting.. lol It's going to be an awesome! Ima bout to just throw it on the ground then in the garbage! lol
Do a full factory reset. If that doesn't work, you WILL need a computer
You could try repairing your system partition in recovery then flash a ROM or factory image.
Sent from my Nexus 7 using XDA Free mobile app
EverDawn4 said:
You could try repairing your system partition in recovery then flash a ROM or factory image.
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
His system partition is fine. Its his /data/media/0 or /sdcard partition.
Since he has no storage. He can't download a ROM. Hr just needs to run a basic command from terminal to fix it, but he is struggling to install apps
rootSU said:
Do a full factory reset. If that doesn't work, you WILL need a computer
Click to expand...
Click to collapse
I'll need a computer it seems. Thanks for trying!
Kukussi said:
I'll need a computer it seems. Thanks for trying!
Click to expand...
Click to collapse
If you get one, best bet is flash entire latest (5.0.1) factory image. Then you can flash recovery if you want and root from there.
how do I do that without the developer option and USB Debug enabled? I have search and they all say to enable it... ill try to figure it out until someone tells me how...lol
Kukussi said:
how do I do that without the developer option and USB Debug enabled? I have search and they all say to enable it... ill try to figure it out until someone tells me how...lol
Click to expand...
Click to collapse
USB debugging is nothing to do with this. USB debugging works in android only. Factory images are flashed from the bootloader using fastboot.
rootSU said:
USB debugging is nothing to do with this. USB debugging works in android only. Factory images are flashed from the bootloader using fastboot.
Click to expand...
Click to collapse
Done and fixed...
Kukussi said:
how do I do that without the developer option and USB Debug enabled? I have search and they all say to enable it... ill try to figure it out until someone tells me how...lol
Click to expand...
Click to collapse
Who the hell keeps spreading this misinformation? Developer options and USB debugging are irrelevant to fastboot mode and recovery. USB debug mode is only pertinent to issuing ADB commands within the OS. It is completely meaningless to the bootloader.
rootSU said:
In TWRP, erase storage just wipes sdcard. Though maybe since youre on lollipop, you need to run the restorecon commands. Please tell mW you have a terminal emulator installed?
Click to expand...
Click to collapse
just trying to change ext4 to f2fs through TWRP. as i remmember i only wipe data, cache and dalvik. But after i formatted my data, system, partition to f2fs, my internal storage (pic, music, Tibu Backup, downloaded Zip Files) are gone. is this re-formatting thing is also wipe my internal storage? or i also just accidently klik to wipe internal storage?
Formatting implies wiping. It is starting a filesystem from fresh, even if you are formatting in the same format.

enter your password to start android

when i flash a rom everything goes well until after 1 min a message pop up and tells me to enter a password to start android ... whatever i enter a new messge pop up and tells me that decryption unsuccessful " the password you entered is correct, but unfortunately your data is corrupt ..... to resume using your phone , you need to preform a factory reset "
i have done this and this message appear again .... so please if anyone knows how to fix this help me please
22trika said:
when i flash a rom everything goes well until after 1 min a message pop up and tells me to enter a password to start android ... whatever i enter a new messge pop up and tells me that decryption unsuccessful " the password you entered is correct, but unfortunately your data is corrupt ..... to resume using your phone , you need to preform a factory reset "
i have done this and this message appear again .... so please if anyone knows how to fix this help me please
Click to expand...
Click to collapse
wipe system and data partition and cache and internal and external storage manually using TWRP and then flash again and report back
Rohi09 said:
wipe system and data partition and cache and internal and external storage manually using TWRP and then flash again and report back
Click to expand...
Click to collapse
i have done all of this and done it with another rom and the same problem
22trika said:
i have done all of this and done it with another rom and the same problem
Click to expand...
Click to collapse
did you try repairing the file system of data partition? also, see this link https://www.xda-developers.com/how-to-manually-change-your-android-encryption-password/
Rohi09 said:
did you try repairing the file system of data partition? also, see this link https://www.xda-developers.com/how-to-manually-change-your-android-encryption-password/
Click to expand...
Click to collapse
how do i fix the file system of data partition ..... the file system is ext4 ... do i have to change it to something else !!!
22trika said:
how do i fix the file system of data partition ..... the file system is ext4 ... do i have to change it to something else !!!
Click to expand...
Click to collapse
data partitiopn should be f2fs as far as i know
Rohi09 said:
data partitiopn should be f2fs as far as i know
Click to expand...
Click to collapse
thanks ... the device boot up normally now
thank you very much <3
22trika said:
thanks ... the device boot up normally now
thank you very much <3
Click to expand...
Click to collapse
that's good to know, you are welcome mate.
decryption unsuccessful..
hi, sorry for my english, I'm using google translator .. I tried to change the file system in both ext4 and f2fs but I still have the same problem, android continues to ask me the password and any password I tell you that is correct but the my data is corrupt..please help..
Rohi09 said:
data partitiopn should be f2fs as far as i know
Click to expand...
Click to collapse
PERFECT!
I leave DATA stock FS (f2fs) - only cleaned - and works fine. TKS :good::good:

TWRP differences/limitations in Android Q

I upgraded to the latest Q4 beta. When doing this following instructions when flashing in TWRP it said to flash the file from USB otg since you couldn't flash from internal storage.
my question is, once you have Q installed as I do can you never flash files from internal storage? i assume this must be the case, or i have something very wrong with what i'm doing. I can't mount my internal storage at all in TWRP or see any of the files.
knives of ice said:
I upgraded to the latest Q4 beta. When doing this following instructions when flashing in TWRP it said to flash the file from USB otg since you couldn't flash from internal storage.
my question is, once you have Q installed as I do can you never flash files from internal storage? i assume this must be the case, or i have something very wrong with what i'm doing. I can't mount my internal storage at all in TWRP or see any of the files.
Click to expand...
Click to collapse
Everything works but decryption.
We may have to wait until official q comes before decryption works.
You may find ways to run unencrypted using search function. I know it has been talked about in the forum.
twinnfamous said:
Everything works but decryption.
We may have to wait until official q comes before decryption works.
You may find ways to run unencrypted using search function. I know it has been talked about in the forum.
Click to expand...
Click to collapse
Do you have any idea what could be wrong with my install or setup? I can't mount system. It can't even see my internal sd card it lists it as 0. Never had anything like this happen
knives of ice said:
Do you have any idea what could be wrong with my install or setup? I can't mount system. It can't even see my internal sd card it lists it as 0. Never had anything like this happen
Click to expand...
Click to collapse
U can't see anything in SD card if decryption doesn't work.
What twrp and what where your steps to get where you are now?
twinnfamous said:
U can't see anything in SD card if decryption doesn't work.
What twrp and what where your steps to get where you are now?
Click to expand...
Click to collapse
yes, i know what you are saying with encryption when you can't decrypt it still shows everything with crazy decrypted numbers like 8784322qzzwerei, etc. Even if i turn off my security and boot into twrp (i'm running the latest version i believe 3.3.1-50 according to the twrp menu) it can't see anything on internal storage. when you go to select storage it shows 0mb under internal storage. if i plug in a usb otg it immediately shows and reads that.
if i want to select a file it says select file from internal storage (0 mb)
I have things installed to slot A. these slots i'm not used to using but maybe someone when it boots to twrp its not on the right slot or something? any ideas?
knives of ice said:
yes, i know what you are saying with encryption when you can't decrypt it still shows everything with crazy decrypted numbers like 8784322qzzwerei, etc. Even if i turn off my security and boot into twrp (i'm running the latest version i believe 3.3.1-50 according to the twrp menu) it can't see anything on internal storage. when you go to select storage it shows 0mb under internal storage. if i plug in a usb otg it immediately shows and reads that.
if i want to select a file it says select file from internal storage (0 mb)
I have things installed to slot A. these slots i'm not used to using but maybe someone when it boots to twrp its not on the right slot or something? any ideas?
Click to expand...
Click to collapse
Has the rom booted yet? Did u wipe? Nevermind forgot on q it just shows 0mb
U can try switching slots but it might put u back to rom u had before.
As was previously stated, TWRP cannot decrypt data on q. TWRP will have to be updated to address this. It will be the same for everyone.
Once you boot into rom, all your data will be accessible.
Maybe try fastboot boot twrp.img as that may allow decryption
miffymiffy said:
As was previously stated, TWRP cannot decrypt data on q. TWRP will have to be updated to address this. It will be the same for everyone.
Once you boot into rom, all your data will be accessible.
Maybe try fastboot boot twrp.img as that may allow decryption
Click to expand...
Click to collapse
even if i remove all encryption from my device the system still shows at 0mb. which means you can't flash anything in twrp from the sd card.
i'm trying to figure out why i can't get magisk vanced to work and i assume it is because the flashing in magisk isn't occurring correctly.
so does everyone show a system in twrp for q at 0mb? if what i have is normal and the norm, fine but that was the reason for this thread to list the differences/limitations of twrp in q.
I believe TWRP can't access the internal sdcard due to the change in Q called Scoped Storage:
https://developer.android.com/preview/privacy/scoped-storage
This is also why Magisk vanced isn't installing properly
docnok63 said:
I believe TWRP can't access the internal sdcard due to the change in Q called Scoped Storage:
https://developer.android.com/preview/privacy/scoped-storage
This is also why Magisk vanced isn't installing properly
Click to expand...
Click to collapse
i agree.
the problem is, some are reporting no problems with youtube vanced through magisk. others are claiming that they can see the data on their sd card. i have no idea, maybe some of these people don't even have the q beta installed.
knives of ice said:
i agree.
the problem is, some are reporting no problems with youtube vanced through magisk. others are claiming that they can see the data on their sd card. i have no idea, maybe some of these people don't even have the q beta installed.
Click to expand...
Click to collapse
I've been on DP2, 3, and now 4 and never been able to see internal in TWRP. All flashes have had to be done via OTG after the initial Q install.
docnok63 said:
I've been on DP2, 3, and now 4 and never been able to see internal in TWRP. All flashes have had to be done via OTG after the initial Q install.
Click to expand...
Click to collapse
ok awesome, thanks for confirming. have no idea what some are claiming in the ver 4 thread.
have you found a way to get youtube vanced working? even the non rooted version force closes for me. that is the one thing in my routine that is tough to live without.
knives of ice said:
ok awesome, thanks for confirming. have no idea what some are claiming in the ver 4 thread.
have you found a way to get youtube vanced working? even the non rooted version force closes for me. that is the one thing in my routine that is tough to live without.
Click to expand...
Click to collapse
I have YouTube Premium so I don't mess with vanced. Sorry...
knives of ice said:
ok awesome, thanks for confirming. have no idea what some are claiming in the ver 4 thread.
have you found a way to get youtube vanced working? even the non rooted version force closes for me. that is the one thing in my routine that is tough to live without.
Click to expand...
Click to collapse
Because if your run your device unecrypted you can access the data partitions in TWRP while running Q.
Namolas said:
Because if your run your device unecrypted you can access the data partitions in TWRP while running Q.
Click to expand...
Click to collapse
i remove all fingerprints/pins and have no security. i should be able to boot into TWRP and see data then correct?
it still shows 0mb for me and won't mount.
knives of ice said:
i remove all fingerprints/pins and have no security. i should be able to boot into TWRP and see data then correct?
it still shows 0mb for me and won't mount.
Click to expand...
Click to collapse
Currently decrypted state, and running the device unencrypted aren't the same. Even with your fingerprints pins removed if you look in Settings/Security you'll see your device still shows as encrypted.
OnePlus 7 forces encryption by default. To run your device unencrypted you have to format the internal storage (wipes everything pictures media etc) and make sure you flash a special disable force encrypt zip every time you flash anything system related in TWRP.
Its a lengthy process to get it running unencrypted and if you forget to flash the special script even one time OP7P will force encrypt on boot and you have to start over. Its not for everybody but I know a lot of people running this way, myself included.
This should all be fixed with and update to TWRP but who knows how long that will take.
Not sure if this is worth anything or not, but it's decryption related: https://gist.github.com/mauronofrio/af29bad34ad87a1a957d193794f0bf5f
Namolas said:
Currently decrypted state, and running the device unencrypted aren't the same. Even with your fingerprints pins removed if you look in Settings/Security you'll see your device still shows as encrypted.
OnePlus 7 forces encryption by default. To run your device unencrypted you have to format the internal storage (wipes everything pictures media etc) and make sure you flash a special disable force encrypt zip every time you flash anything system related in TWRP.
Its a lengthy process to get it running unencrypted and if you forget to flash the special script even one time OP7P will force encrypt on boot and you have to start over. Its not for everybody but I know a lot of people running this way, myself included.
This should all be fixed with and update to TWRP but who knows how long that will take.
Click to expand...
Click to collapse
Thanks for your post.
So if I want to "dirty flash" a rom on android q, is it still possible with data encrypted or should I format internal storage anyway ? (and clean flash...)
Gabrech said:
Thanks for your post.
So if I want to "dirty flash" a rom on android q, is it still possible with data encrypted or should I format internal storage anyway ? (and clean flash...)
Click to expand...
Click to collapse
On my Pixel (original) with TWRP 3.3.0-0 and Q, I am able to do everything normally, including decrypting, dirty flash, cutstom ROMs, factory, nandroids, etc .... However, /system and /vendor won't mount. But, it works anyway!
The scoped storage is still a pain in the butt.

[HELP] Device unsuable, need urgent help :(

Hello erveryone,
I have a very weird issue. I tried to install the last one oxygen today but when I gone to TWRP, it didn't ask me for the decryption password, so I couldn't find the download folder.
I looked on forums and found a solution, swipe file extension to ext2 then ext4. I worked, at least, I could mount the data partition but I couldn't find the download folder.
So I tried, to wipe data and reset data factory but now, the device is just booting, you know, I see the two small with balls rolling around the red one.. I waited for more than 20 minutes but nothing happen.
How I can fix this ? For now my device is not usuable !!
Thank you in advance
Regards
https://forum.xda-developers.com/sho...79741581#posts
adam3914 said:
https://forum.xda-developers.com/sho...79741581#posts
Click to expand...
Click to collapse
404 ?
Fendry02 said:
swipe file extension to ext2 then ext4. I worked, at least, I could mount the data partition but I couldn't find the download folder.
Click to expand...
Click to collapse
I have no idea what you did there
If it does not currently boot, try this:
in the TWRP->Reboot menu, switch to the other (currently not active) Slot and reboot
If this fails, go to the TWRP wipe menu, then use the button to format data, and try both slots again
This kills all your data, including the internal storage with your pictures etc, be aware
If that fails, get back in touchmaybe you accidentally formatted data to ext4
Fendry02 said:
404 ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=79741581#posts
Next time, (if you don't use twrp super often) if twrp fails to decrypt, disable or erase the password to the phone in the settings. This way twrp will not ask you for a password to decrypt the internal storage. After your phone is all flashed up, put in a password for your phone via the settings.

Question Most ROMs bootloop after reboot

Hey, I've been using a bunch of ROMs for a while, and recently this has become a problem.
Basically, when using Project Elixir or a MIUI ROM, everything works fine.
But, for example, when using crdroid, Evolution X or AncientROM, after rebooting the device, it just doesn't boot, it bootloops.
This might be related to something about Magisk, but not sure.
Also, this only happens after doing the setup.
Can anyone help, and is anyone else facing this problem?
wipe /data ? I'm almost sure that's the step yo're missing.
aurocha said:
wipe /data ? I'm almost sure that's the step yo're missing.
Click to expand...
Click to collapse
Before or after flashing?
Hahayes7 said:
Before or after flashing?
Click to expand...
Click to collapse
If you are changing ROMs you should format (note: format - not wipe) the data partition after flashing the new ROM. Of course this will also delete the contents of your internal storage, so you should backup your internal storage before formatting data.
DarthJabba9 said:
If you are changing ROMs you should format (note: format - not wipe) the data partition after flashing the new ROM. Of course this will also delete the contents of your internal storage, so you should backup your internal storage before formatting data.
Click to expand...
Click to collapse
I always use the instructions provided by the ROM developer, so I don't think I'm doing anything wrong...
DarthJabba9 said:
If you are changing ROMs you should format (note: format - not wipe) the data partition after flashing the new ROM. Of course this will also delete the contents of your internal storage, so you should backup your internal storage before formatting data.
Click to expand...
Click to collapse
Just tried it, didn't seem to work
Hahayes7 said:
Just tried it, didn't seem to work
Click to expand...
Click to collapse
Then it seems to me that the problem may be with something that you are installing after installing the ROM.
Perhaps start with a clean flash, setup the ROM, and do not install Magisk.

Categories

Resources