how to repartition the internal storage (storage partition bricked) - Xperia Z5 Q&A, Help & Troubleshooting

Hey! Today I made a clean installation of the newest Android N build 2.33 via flashtool. As usual I wiped everything and before flashing the ftf I wiped everything via TWRP which was on the old Marshmallow build installed. After installing nougat I flashed a patched kernel and booted directly into the twrp recovery before the first boot! there I wasnt able to find my internal storage partition! In the file manager there was suddenly no sdcard0, only sdcard1 which is the external sd card. So headed to the wiping options and wanted to wipe the internal storage but I only got a red error log line saying something with "-o". Then I plugged the Z5 into my computer for transfering the deodex patch while the phone was in recovery and the cmputer detected a 8.4GB internal storage partition, but normally it should be 22GB useable storage! how can I fix this?!?! I can boot up the xperia though!
sorry about any writing mistakes I use my laptop for 1 year now but I still hate the steelseries keyboard, sometimes the space bar isn't working and I have to apply more pressure than I want to during smooth writing....

Related

[Q]No Internal Storage,Cant intsall Rom,PLSS HELP

I have a THOMSON MID 1002 tablet. I flashed the stock ROM successfully twice a long ago. Now, I've faced the following problem all of a sudden-
1. Whenever I shut it down, it restarts and resets the device; never shuts down.
2. The internal storage and internal SD shows 0.0B (I have 1GB internal storage,16GB internal SD, external SD not inserted)
3. No app can be installed (maybe due to internal storage being 0B)
I cant install the stock ROM anymore, it now says , cant wipe data,cant wipe media,cant wipe cache.I found that there's a stock recovery manager named "reboot manager" which has the option- Hot Reboot,Reboot recovery,Reboot bootloader,power Off.
Pls see the attached image for my storage settings and the picture of what I get during installing stock ROM (vendor's official firmware) -
I m very new in installing n flashing, should I install a custom recovery (CWM) and custom ROM? Pls help me someone. U can check the tablet by googling - Thomson MID1002
bump
bump plsss help

Unable to write a large file to the Internal Storage

Hello,
I have a problem after doing a reset of my phone.
It is rooted and has TWRP 2.8.6.2 installed.
I did a full wipe with TWRP including the internal storage.
But now, if i want to upload through TWRP's USB mount, i have to following issue.
I see the internal storage on my PC when both are connected by USB, it has the TWRP folder.
I tried to upload a small text file, that went OK, then i uploaded the new ROM file and after 5-8 sec i get a popup on the PC telling me the "device has either stopped working or has been disconnected".
When i boot the phone it is stuck on the boot logo, Samsung text.
Does anyone knows what i can do to fix this problem.
Thank you in advance.
I fixed the problem.
As i could use TWRP, but could not write a image to the internal storage i used a microUSB to SDcard plug that i picked up for 2 Euros at the local shop ( Dutch Blokker ).
I did a full wipe including the internal storage and installed the image from the SD2USB plug.
After installation i was again able to write to the internal storage.
Alto i seems like a permission issue, it was not.
I gave the internal storage folder full rights ( chmod 777 ) and even then i could not write.
I'm happy the new flash of XtreStoLite Deodexed Mod Edition 1.4a did the trick.
(Was really worried a 2 week old phone was bricked )

TWRP

Next time I go to flash a new custom rom I'm thinking of wiping internal storage just to really clean things out. Since I use my external SD card for TWRP to store backups etc... There's still the required TWRP directory on the internal storage which remains empty. If I wipe internal storage how will that effect that directory?
melp57 said:
Next time I go to flash a new custom rom I'm thinking of wiping internal storage just to really clean things out. Since I use my external SD card for TWRP to store backups etc... There's still the required TWRP directory on the internal storage which remains empty. If I wipe internal storage how will that effect that directory?
Click to expand...
Click to collapse
I don't know how that will affect the directory but I can tell you for sure it won't affect ROM installation. Every time I flash a new ROM, I always wipe internal storage and I haven't faced any problems​.
It won't really effect it, unless you use themes or changed the stock configuration... those are the only things stored in the twrp directory of internal storage. You will notice the next time you start TWRP it will likely give you the warning screen about an unmodified system partition and ask you to allow changes.

[Fixed]Need some help

Alright, I've tried everything I could, looked online(/in the forums) for solutions or help, but I just can't figure this out... After struggling a great deal installing the 5.2 update on my K1, I decided to simply flash the 5.2 recovery os image and start from there.
That went fine, so I went to install Magisk to root my tablet, but that didn't go as well. I ran into the same issue I was running into trying to update to 5.2 which is that my storage doesn't properly mount in TWRP (it works normally when using a file manager on the tablet itself and gets detected as it should by the storage manager in settings). I formatted the SD-card I'm using as partially Internal/adaptable storage and partially external, which is probably what causes the problem as TWRP shows the external SD card perfectly, but of the internal storage it only shows the contents of a folder named "InternalStorage' (presumable /sdcard/internal storage, however I can't actually see this to confirm) which is present on the root of the internal SD card. Any files that are in for example my Downloads folder on the internal storage aren't shown in TWRP. I thought installing a factory image would fix this issue, but it hasn't.
In either case, to get around this issue I sideloaded the Magisk zip file to root and it wen't as expected, didn't get any errors. But after booting my tablet, the Magisk Manager app wouldn't finish loading, it's stuck on the flash screen with the Magisk logo. Used the uninstaller and reinstalled through TWRP by placing the zip files on the external SD card and the app still won't load properly. I figure it has something to do with the way I have my SD card setup/partitioned, but I'm at my wits end as to how to fix this atm...
Any help will be appreciated! Preferably something that doesn't include re-partitioning the SD card :angel:
PS: The tablet was rooted with SuperSU before the factory reset, but I'm wanting to make the switch to Magisk because I want to install the Sony Framework to use Remote Play. If there is any other way to install the Sony Framework, using Xposed for example, I can maybe try rooting with SuperSU again.
EDIT: I fixed the issue, turned out the app was installed on the external sd card, moved it to internal storage and it worked!

URGENT HELP needed - Oneplus 6 lost access to internal storage

I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
UPDATE:
problem not solved yet, but what I found is, the main problem is the root directory for the internal storage has changed somehow. By default, it resides in root/storage/emulated/0, but now it has changed to root/storage/emulated, so the apps cannot access it. Now how can I turn it back to default?
Android_Attitude said:
I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
Click to expand...
Click to collapse
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
SAMSUNG_MANIX_64 said:
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
Click to expand...
Click to collapse
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Android_Attitude said:
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Click to expand...
Click to collapse
Wipe vs format. Wipe is just removing files from partition without destroying the partition. Format is rebuilding the partition fresh. You did not format phone because that would fix this problem. Format data partition and this will be fixed.
I also had the same issue so i flashed stock through pc. Now its fine. Only issue is on Twrp data shows encrypted, i think i have to flash dm verity zip to decrypt it

Categories

Resources