yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] SubwayChamp:
Do you mean that through TWRP no files are visible to the PC? You can try with a simple trick by disabling MTP and re-enabling MTP again, or due to the encryption the first time you reboot to TWRP you'd need to format data.

The fact that your device boots to fastboot instead of system is because you don't have actually a ROM installed.

Double-check the steps indicated, you should miss something, maybe vendor, mdtp, dtbo, vbmeta, DM-verity or the latest firmware required that serves as base for that custom ROM.
[General Questions and Answers] Tisla_haki:
So i think i have FDE storage or something but i cant mount it OR even FORMATE IT. And the thing is i cant even list partitions via TWRP shell on adb.

What i do

after entering TWRP recovery img and with a black screen becasue it is not working correctly for me.

$ adb -d shell --enter adb shell

~ # bash ---enter bash

vince / # fdisk -l -- type fdiks -l

vince / # - but there is no output

how is this posible?

On orange fox there is not fdisk at all.

And yes TWRT and OrangeFox does not have parted either.

UPD

okay i see the problem that im not root. But su or sudo does not work so what should i do?
[General Questions and Answers] Slender Troll:
Could anyone help me out here?

https://xdaforums.com/t/having-prob...-5-to-latest-android-12-beta-version.4336035/
[General Questions and Answers] Droidriven:
Trying to move the TWRP file from PC to TWRP is pointless in your situation.

You need to flash your stock system.img via fastboot or flash your full stock firmware using whatever tool is used flash devices made by your manufacturer. Then try moving the TWRP file from PC to your device's internal storage then boot into TWRP and flash that TWRP file then go back to home screen in TWRP and select the "Reboot" option, then select the "reboot recovery" option, then use the newly flashed version of TWRP to flash your ROM.

If you don't already have TWRP installed on your device, you can flash a TWRP.img via fastboot, then boot into TWRP and flash your ROM.
[General Questions and Answers] SubwayChamp:
If you are not rooted, how su could work?

You first have to get it working, either TWRP or Orange Fox. No sense to keep it trying that thing you are trying to do.

Why you don't simply start by restoring all the partitions correctly flashing the latest stock Miui ROM through Mi Flash tool applying Format All and Flash Option taking care to not re-lock bootloader.

And from there start again…
[General Questions and Answers] Tisla_haki:
You right i kinda broke it, now i can only boot to fastboot and Mi-recovery after wiping data in Mi-recovery. I will try Mi Flash tool now.
[General Questions and Answers] Tisla_haki:
Actually, what should i do? When i installed Mi Flash tool and booted up phone it started default MIUI installation so i should proceed with it or i should press something in program on computer?
[General Questions and Answers] SubwayChamp:
Yes, set it up at least to can enable USB debugging, check that OEM unlock remains enabled (probably is greyed out in "unlocked"), connect your device to a PC and run ADB commands, from there you can reboot to fastboot and install orange Fox, then reboot to it through commands, backup the most important partitions (probably first you need to format data), then transfer the BACKUP folder from Fox directory to the PC, and finally sideload the custom ROM you want to flash it onto your device.
[General Questions and Answers] Tisla_haki:
Okay i reinstalled MIUI (it works) but OrangeFox still asks for password for encrypted data partition to mount. I tried TWRP and the screen is still dark. And i tried PitchBlack Recovery (it asks for password too) but, screen does not react to touches. My phone is chinese (box is on chinese) but flash is global i think? So how can this be that nothing works fine on it?
[General Questions and Answers] SubwayChamp:
Display not working is regards to the driver supported on that specific version, I remember from one of my two Vince devices but the latest stable from here fixed it https://orangefox.download/en/device/vince

In the case of Orange Fox you have to boot to it, and then you have to flash the zip to have the add-ons available.

This device is extremely easy to deal with, sorry, but keep in mind that you are doing something wrong (flashing Global ROM on a Chinese device?).

TWRP or any recovery asking for password is a known "thing", you just have to swipe and go straight forward.
[General Questions and Answers] BlueZep:
Hi there, even if i have this issue on a specific phone (Redmi note 7 on PE), I think this issue can be encoutered in any phone, so I ask here.

(excuse my english, it's not my native langage).

Suddenly my phone freezes and turns off. I try to reboot but it stays stuck on the G logo. I've waited for an hour, it doesn't boot. I try to save as many data as I can, beggining with my sd card. But I have some data stored on my internal storage (pictures, recording and my podcast log) that is encrypted.

My plan was to back up all I could, reset the phone and restore what I've saved. but each time i try to back up (Orange recovery fox project), it crashes at the data back up. On the log it says that it is a file stored on data/misc that causes the issue. Thinking its a corrupt one, i delete and try again. But it crashes again, because of another file on the same data/misc file. I've tried two times to delete those files whitout any success.

I'm kind of desperate here, what can i do to save those precious files?

Any help appreciated, have a nice day
[General Questions and Answers] SubwayChamp:
It seems that the misc partition is missed, the bootloader needs to read it to can boot properly.

If this is the issue, get the misc.img file from your stock ROM; the last one that was previously as a stock Miui ROM base for Pixel Experience.

And flash it back fastboot flash misc misc.img
[General Questions and Answers] BlueZep:
Double post here, don't mind
[General Questions and Answers] BlueZep:
Thank you for your fast answer. It's a great relief knowing it might not be lost.

But unfortunately, i think I'll need more informations.

Where can i find this misc.img ? I've downloaded the last MIUI rom for my phone, i can't find no img.misc in it....

And then, how do I just flash this file and not the rest?

I've just been following guides two years ago when I flashed PE on my phone, sorry...
[General Questions and Answers] SubwayChamp:
This file might be in the fastboot ROM (not in the recovery ROM).

You can flash almost any partition through fastboot without need of the others to be flashed.

Some recoveries include the option to back up this partition, also persist, vendor and mdtp can be helpful for these cases.
[General Questions and Answers] BlueZep:
So, to be really sure not to mess this up.

1) I've downloaded the Redmi note 7 (lavender) Global MIUI 12.5 V12.5.1.0.QFGMIXM Fastboot ROM from this link.

2) I plug my phone to the pc while in fastboot mode (power + vol down).

3) (where I am now) Back to the pc, I unzip the file, i find the misc.img, i shift right click on the file where is misc.img and i run "fastboot flash misc misc.img" in powershell

Do you agree with what i'm about to do?
[General Questions and Answers] SubwayChamp:
Yes, that's it.
[General Questions and Answers] BlueZep:
New problem, it directly boots to OrangeFox Recovery Project. I've tried to launch a new data backup, it doesn't even show progress now.

The phone says "backing up"

an error for making a sdcard/fox directory

Updating partition details....

...doen.

*Total number of partitions to back up : 1

etc.

[BACKUP STARTED]

*backup folder: sdcard etc...

Backing up data . . .

Backups of data do not include any files in internal storage such as pictures or downloads."

There is no progress shown.

And i'm a little worried about my images and documents not being saved since it's the very goal of the operation.

What can I do ?

EDIT : there's a twist

I relaunched the backup and now i have the same error as before, files in the misc folder not being added
[General Questions and Answers] SubwayChamp:
If previously your misc partition got missed some files might be gone.

Save some files from your internal memory directly through PC and check that data partition can be mounted.
[General Questions and Answers] BlueZep:
The folders on internal storage that i can access from my pc have strange names like "C3uFRzde3EkaHJeb3v+1MQzB,YDwnnqM" and are all either empty or with strange folders and files. When i try to copy them on my PC i get a "non-specified error".
[General Questions and Answers] SubwayChamp:
This is due to the encryption, Flash and try with: one by one rebooting to recovery,

- Flashing DM-verity .

- Flashing Magisk.

- Flashing a different recovery that can disable force encryption.
[General Questions and Answers] BlueZep:
Excuse me, it's getting late and frustrating, I'll try tomorrow.

Just to be sure. I flash them using fastboot right?

I flash one, I reboot to recovery, then to fastboot, then I flash another, then to recovery etc. ?

And if my system doesn't boot after DM-verity and Magisk, I flash TWRP and disable force encryption? So I can have access to my pictures and documents or to reboot on my os "as usual"?

Thank you so much for your help and your time. What you're doing here is great and very appreciated.
[General Questions and Answers] SubwayChamp:
The idea is trying on multiple ways to can have access to your data, some Orange Fox have in-built this feature, search for it in your own recovery.

By flashing DM-verity (through recovery) you also can do that device can boot up and from there pull out the data through ADB or some of them manually.

And achieving root with Magisk also you could do it through ADB commands on your recovery, you need root for that, also Magisk can by-pass force encryption in some devices.
[General Questions and Answers] Sourpunch41:
I have a question, I've tried following this (https://jimcofer.com/2016/03/10/marshmallow-lg-and-adoptable-storage/) to get micro sd card (128gb) to become internal storage on my A02s and it's not working. When I do "adb shell sm partition disk:179,64 private" (179,64 is my sd card id thingy), my phone will act like the sd card isnt inserted. However if I do "adb shell sm partition disk:179,64 public" or "adb shell sm partition disk:179,64 mixed 90" it shows up but seems to still be portable storage.

Non-rooted btw.
[General Questions and Answers] DiamondJohn:
This feature of anndroid requires a min level of android. Do you meet that requirement. Also, I used to see the option to convert my external sdcard to internal memory when I initialised my phone. I *think* it was an option in the settings after that. ie I did not need to do any adb commands, but I also explicitly chose not to do it when it was prompted as an option.
[General Questions and Answers] Sourpunch41:
Im not sure but I think I do. My phone is Android 11.

I looked and factory reset my phone earlier and haven't seen an option to format/convert to internal memory
[General Questions and Answers] DiamondJohn:
thats more than new enough.

Have you tried the following

And I am assuming you are talking about an external SD Card which is visible to android.
[General Questions and Answers] SubwayChamp:
If your SD Card is compatible with this device, and it is detected, In Samsung you will see the option mentioned by DiamondJohn under /Settings/Device Care/Storage/Advanced
[General Questions and Answers] lolvatveo:
Root explorer can't delete empty folder in system private app in rooted j700h , twrp doesn't show empty folder com... but only shows folder where application is installed in mounted system part, when deleting by es file explorer it says in use or busy, turning off magisk module can't solve it, help
[General Questions and Answers] Sourpunch41:
My micro SD card is visible under there but I only get the option to format (not as internal. Only says "Format") and to unmount it.
[General Questions and Answers] Sourpunch41:
I don't get an option to format as internal memory. and yeah I believe im talking about that. I bought a Samsung 128gb evo select micro sd card and since my phone is a samsung phone id imagine itd be compatible and that it's a external micro sd card.
[General Questions and Answers] SubwayChamp:
And if you tap Format?
[General Questions and Answers] Sourpunch41:
It formats the sd card, same options stay as before, and it seems I can only use it for music/videos/pics/and files I think. But I cant seem to get games on it
[General Questions and Answers] Droidriven:
I have a Samsung with android 10 and a Samsung external sdcard, I'm also not finding the adoptable storage option. Maybe it isn't included in some models. Not that I need it, just thought I'd look and make a comparison. I have a J7 variant that I'm going check also and post results here.

It's the same way on my J7 variant, doesn't show on settings. As we know, some devices don't have the setting in the OS but can be enabled via ADB.
[General Questions and Answers] Droidriven:
In the process of checking the J7 to see if it had the adoptable storage option in default settings, I rediscovered a sdcard that I used to root a nook tablet years and years ago. The process involved burning the files onto the sdcard as bootable RAW. I've tried over the years to convert the sdcard back into a usable storage medium, I've tried various formatting software, I've used windows powershell commands, I've used CMD commands, you name it, yet I still can't get it repaired. I'm wondering if I'd have better luck using gparted in Linux, if so, I'll give it a try, I don't have a Linux system or a live USB on hand so I'd have to take time to get it together to use it.

Does anyone have any ideas that might be more forceful or useful to fix this sdcard? It isn't important, just a problem that I never found a solution for and I'd like to find a trick that works for future reference.
[General Questions and Answers] DiamondJohn:
I have had a LOOoooong history with external SDCards, since my first gingerbread phone. I purchased a 64GB SDCard with a lifetime warranty and had to use that warranty two or three times when I first got the card in quick succession. I learnt (after killing a card or two) that it required a few GB at the start to be unformatted (not documented by SanDisk). Anyway, end of rant..

What I have used to work with formatting my SDCard(s)/adding and resizing and moving/creating partitions on my SDCard has been some free software called "MiniPartition Wizard Free" CAREFUL when you install it as it defaults to install other bloat and include you in their feedback system.

MiniTool Partition Wizard | Best partition magic alternative for Windows PC and Server

As a partition magic alternative, MiniTool Partition Wizard is the latest partition manager software that can be used to manage partitions on Windows 11/10/8/7 and Server 2003/2008/2012/2016/2019.

www.partitionwizard.com

I like it as it can format EXT4,3,2 & Swap Partitions and other "Linux" style things, while in windows.

As for using external SDCard for internal, I used to have a boot script (sourced here in XDA) that enabled this feature before it was enabled within android! I used to run it on my first Android phone (GB/ICS) which only had 512MB internal storage, so I had a 3GB partition on my 64GB external SDCard used for my internal. ie i Only converted part pof the SDCArd to internal storage, which I dont think is an option with googles simplified implementation.
[General Questions and Answers] Droidriven:
Not trying to use adoptable storage, just trying to learn a solution that fixes the sdcard where other methods haven't been successful.
[General Questions and Answers] Droidriven:
No luck with that tool so far, all wipe and format options I've tried says its successful in the Minitool window but the drive disappears from the list requiring me to remove and replace the card for the system to see it again and it remains unchanged. I think the file system is corrupted in a manner that requires a more in depth approach or it may not be recoverable at all. Considering the many different methods and tools that "should" have worked but haven't, it appears it might be a lost cause. No big deal, its only a 16GB card that I'll probably never use anyway. It would be nice to find a solution if one exists just for the sake of knowing how to do it, I hate problems I can't find a solution for, they drive me nuts. It seems like there should be some kind of solution, maybe pretty complicated but still possible.
[General Questions and Answers] DiamondJohn:
That tool worked for me EXCEPOT% when I borked (ie broken beyond repair) the card by not including a reserved space at the start of the card. After I created a partition from the start of the card, NO tool was able to rescue/recover that SDCard. Since learning this, I have noted that all my USB flash drives also come pre-formatted with an unused area at the start of the card.

And to state the obvious, you did click the apply button before exiting....

Simply out of interest, maybe post a screen shot/clip of the card partitions and shown in the above tool before you format the card.
[General Questions and Answers] Droidriven:
I think I "borked" this card the same way you borked yours, lol.

I don't know why, if I had taken my time and considered the possibility that I may need/want the card for other purposes, at some point, I would have known better than to format it the way I did.

I have a DoD full secure wipe program(DBAN), do you think it might do anything? It would take many, many hours to run its multiple passes. Not sure that would do anything other than just wipe it, I think the problem is a file system, FAT, MBR, header type of issue.

Still seems there should be a way to reverse any operation, its all just code, after all.

Or could it be that the operation did some kind of physical damage to card.
[General Questions and Answers] DiamondJohn:
To be clear, I actually broke more than one SDCard. SanDisk support were no help (but they did offer to send me 2 32GB cards at no extra cost, as my device "didnt support 64GB" by the phone manufacturers web site), I stumbled across some random web page that noted the fact (the need for reserved space at start); after I broke the second card. I sent the card back to SanDisk under warranty, and instead of fixing it and sending the same one back, they sent me a new card. That may of been simply lazy, but I think it actually causes some irreversible damage (the web page I found), that even Sandisk thought was easier to send me a new card for.

I also note that my SSD's, and even HDD's all have an unused space at the start of the drive.
[General Questions and Answers] freetobe0:
anyone please if they have a few minutes... I'd like to learn how to create roms for android phones and learn all this rooting etc... please if someone could point me in the right direction as to the reading i need to do...any good books to read.. courses to take if i get good at this stuff i might even put roms in this forum for all of us
[General Questions and Answers] lolvatveo:
I have ROOTED, rooted mean now you are Administrator of all in your phone. But live is not like a dream, I can't delete or modify anything in system folder on my rooted samsung phone, when using Z Archiver to delete empty and junk folder it says failed even sometimes it says Access Denied ( maybe the problem is here) converted RO->RW, tried through ES File it says in use or busy, Root Explorer is useless even if I adds write permission, but when using lucky patcher to uninstall & install an app as system then it can creates or delete in system app, which means there may be a way for me to modify it, if the trash can't be deleted then the system partition will be filled with garbage forever and can only get fatter. Who know how to solve it?
[General Questions and Answers] Oswald Boelcke:
@lolvatveo I can fully understand your frustration and that you're searching for help. However, you posted this totally six times. I've deleted five of your posts.

Please review the XDA Forum Rules with special emphasis on rule no. 5 and post only ONCE! Thanks for your cooperation.

If you're unhappy with the thread in that you've posted, just contact me or any other moderator (best via the report function) and get your post moved to the new desired location.

Regards

Oswald Boelcke

Senior Moderator
[General Questions and Answers] lolvatveo:
sure, but what do i do if i don't get an best answer, this is why i post everywhere.
[General Questions and Answers] Oswald Boelcke:
First, be patient. Second, respect the rules of this private platform. I assume you've meanwhile read them and also realised that we expect you to wait for at least 24 hours before you bump an unanswered question. I'm convinced you agree that a forum like XDA with 11+ million members, 3.5+ million threads and 78+ million posts can only be positively maintained to the benefit of its members if there're rules that are enforced.

Thanks for your understanding.

Regards

Oswald Boelcke
[General Questions and Answers] SubwayChamp:
https://xdaforums.com/t/modo-lectura-carpeta-sistema.4336159/
[General Questions and Answers] masterox1:
Hey guys,

I have this phone called Stonexone and it got a problem with installing apps past a few gigs used of storage. I have 30% of my storage filled and I can't install apps anymore. No matter what method I could think of, apps just wouldn't install. I tried play store, I tried downloading the apk, I tried from twrp recovery and sideloading with adb. Nothing worked.

I can fill up my storage without issues, but when I try to install apps, it just doesn't let me.

Also my second issue is that I can't use sdcard as internal storage, whenever I format it as that, it just stays corrupted. I tried using adb cli for that too, didn't work

One more thing, I had this "insufficient storage" issue even with stock rom android 5.1 (nothing added, even twrp). And I thought that upgrading and rooting it might solve that problem, but it didn't. Any expert can help me, please

EDIT: I didn't change anything with my phone, and it seems to have fixed itself. I will keep watching if the problem appears again, but feel free to answer this question for future uses by me others who might encounter the same problem. Also the issue with SDcard wasn't solved, I would like some insight on how to fix it
[General Questions and Answers] mrrocketdog:
hey everyone. hope all are doing well.

a question , i have latest adb/fastboot (platform tools v.r31.03) installed on windows.

while phone is on and in "regular" user mode , "adb devices" shows phone's serial no.

when i put phone in fastboot mode (still connected to pc. and have tried disconecting from pc , put into fastboot and then reconnecting) and "adb devices" shows nothing.

any ideas how to get phone to show up in fastboot?

all ideas and suggestions welcomed. :)
[General Questions and Answers] xunholyx:
You can't use adb commands while booted to bootloader. You can only use fastboot commands.

What you want to enter is: fastboot devices
[General Questions and Answers] festeban:
Hi, I'm having a problem with my phones battery.

I have a OnePlus 5T. Had it for more than 3 years, everything's been fine. Since yesterday I've noticed two problems:

- First, most google applications don't work: Google search bar, weather, calendar; but others work: gmail, maps.

- Second, the battery is being drained extremely fast. I have the app Accubattery installed and it says that on average it's draining at 775mA (891mA with screen on and 637mA with screen off). The phone app also says that most of the battery usage comes from Google.

Are these things related? Is there anything I can do? Tried restarting the phone but it's the same still. I don't want to do a factory reset unless I'm sure it can fix the issue.
[General Questions and Answers] PugzAreCute:
Hi, Is there any way i can force my moto G5+(ArrowOS 11) to roam with signal coverage?