How I unbricked "Decryption unsuccessful" The password is correct but... (Apps2SD) - Huawei P9 Guides, News, & Discussion

How I unbricked "Decryption unsuccessful" The password is correct but... (Apps2SD)
Hello, I don't usually post in tech forums, I usually the guy that only reads,
but this is the time when i could not find the straight answer to my problem and had to google the solution out of similar posts, so I decided to glue everything together and write my solution to this particular situation,
so I might save a lot of time to someone who got in exact or similar situation.
Sorry for my crappy English, but here we go.
What this post trying to solve:
You stuck at boot loop: "Decryption unsuccessful" The password that you entered is correct but unfortunately your data is corrupt.
and how to make it work Apps2SD with Huawei P9 SD card with enabled password protection.
Basically my Huawei P9 (EVA L-19) with Android 7.0 Nougat got running out of internal space, and i am really a heavy user on apps. Kirin 955 handles just fine as long as it has at least 10Gb of internal free space.
I have SD card 64Gb, but huawei stopped support, native move apps to SD, long time ago. My device is rooted, so I was searching for a solution. There is few apps that can transfer your internal memory apps to SD by using root, but the one that actually worked for me is Apps2SD. The thing is, my SD card is password protected (Huawei native function) I want to keep this function in case of device getting stolen.
Problem is, many third party apps that move your apps to SD, does not know anything about Huaweis SD card password feature. In fact (as far as i tested) only Huawei phone allows you to enter password and show contents of SD card, no PC, or for example Samsung phone will recognize this SD card.
So i was messing with Apps2SD, partitioned my SD card in to 2 primary partitions, 1- exfat, 2- Ext3. It works kinda fine, but after reboot, there is delay, Huawei unlocks SD card after main boot part, and Apps2SD does not understand this and show that it failed to mount second partition.
In this case, Apps2SD starts giving you solutions, one of them is this ADVANCED mounting option. It does not tells u about any dangers, nothing really.
I chose that option to see if it will be able to see second partition contents faster, rebooted - boom bricked.
You see the message: "Decryption unsuccessful" and asks you for decryption password. It might be SD card password, not sure, it does not matter, because you can type ANYTHING and it always say:
"The password that you entered is correct but unfortunately your data is corrupt". And gives you only option: fully data factory reset. Now hold your horses, dont press that. I just knew that this is bull**** and no way
my personal data is corrupted, its just some hadshake issue. (I was right i fully recovered everything up n running)
Assuming you got in this mess, your device must be rooted and you probably have TWRP recovery, cause Apps2SD work only with rooted devices.
To recover from "Decryption unsuccessful" boot message and restore all data and settings:
Got to TWRP recovery by holding power button and volume UP (after phone vibrates, hold both buttons 2sec more and then release power button, and then after 2sec more release volume up, cause if
you do this too fast, u will end up in wifi recovery by Huawei, and it wont work anyway cause your device rooted).
Then go to advanced and file manager, locate sdcard folder (this will be internal memory, not external), you should be able to see all of your personal files! Copy them to flash drive by connecting with OTG.
What we gonna do now is: do a full nandroid backup: TWRP, backup, check: BOOT, SYSTEM, DATA. and do a backup to flash drive connected with OTG or hard drive if it works for u.
After backup is done, go to WIPE, select format data, select DATA partition and see what original file system it uses. Now format in any other system, then reformat again to your original file system.
DATA partition somehow lost its encryption handshake key and this caused the problem, reformatting fixes it.
Now do a full wipe as if you would install new rom, wipe: system, data, storage, cache, dalvic cache.
Restore your previous nandroid backup, reboot to system,now your phone should boot with all the apps and settings just as you left.
You might be missing some pictures and other media in main storage, just connect your P9 with usb cable to pc, and restore previously backed up media from flash drive manually in pc interface (copy paste, replace all),
some small minority files might wont copy, don't worry about it, Im not sure but they are mostly indexing files, all ur media will be back in place.
Now, how to make Apps2SD work with this configuration?
Don't use that advanced method to find SD cards second partition, use any of first 3, the 3rd one worked for me just fine, cause its SU library based one.
Don't move your apps fully to SD, or they will "disappear", move everything except APK, ODEX, DEX (Lib is optional, you usually can move this one just fine). SO basically app core will stay in main storage but cache and app data will be on second SD card. This way, after you reboot your phone, you will have to wait like 3mins and App2SD will link your files to apps itself just fine. It might will show some errors right after reboot, but after Huawei unlocks its card, files will be linked, and apps wont be "gone" cause app core still stays in main storage.
This way i managed to save a lot of space and move most of app storage to SD card, P9 became very responsive, even in 2018 this is a really fast smartphone.
Sorry for a messy post, I'm not a writer, but I hope this helps to someone!

Thanks a lot, you saved my phone-config! ) This step "...and see what original file system it uses. Now format in any other system, then reformat again to your original file system." was unclear to me, as TWRP didn't give me the option to choose a file system, but in the end it worked out fine without just as well.

dalektehgreat said:
Thanks a lot, you saved my phone-config! ) This step "...and see what original file system it uses. Now format in any other system, then reformat again to your original file system." was unclear to me, as TWRP didn't give me the option to choose a file system, but in the end it worked out fine without just as well.
Click to expand...
Click to collapse
So glad this helped someone

dalektehgreat said:
Thanks a lot, you saved my phone-config! ) This step "...and see what original file system it uses. Now format in any other system, then reformat again to your original file system." was unclear to me, as TWRP didn't give me the option to choose a file system, but in the end it worked out fine without just as well.
Click to expand...
Click to collapse
How did you run into this issue?
If it was due to updating Magisk to v19.x (on Huawei with Nougat / EMUI 5)?
In that case, there is an easier solution, just flash back Boot img with Magisk v18 1 and everything will continue to work as it did (without any need to reformat, factory reset, etc), see
https://forum.xda-developers.com/ap...v1-universal-systemless-t3432382/post79493919

zgfg said:
How did you run into this issue?
If it was due to updating Magisk to v19.x (on Huawei with Nougat / EMUI 5)?
In that case, there is an easier solution, just flash back Boot img with Magisk v18 1 and everything will continue to work as it did (without any need to reformat, factory reset, etc), see
https://forum.xda-developers.com/ap...v1-universal-systemless-t3432382/post79493919
Click to expand...
Click to collapse
I'm not entirely sure what caused it, but I suspect Apps2SD just like in the original post (I installed/tried to use it shortly before the problem occured).

Related

Can't format G-Tab, nvflash does nothing, all apps and settings are still there!

Okay I am super confused. I've successfully used FORMAT utility and also nvflash restore...but the tablet won't format!!! All my apps and settings are still there when I nvflash restore it!
I ran the nvflash_gtablet.bat from the Format utility..and it looked liked it worked: at the end of the process the tablet showed the red font with the kernel mismatch and bootloader not found, or something along those lines..
Just to be safe, I did it a second time. lol
Then I used nvflash restore to restore it back to original shipping.
I noticed right away something was wrong when as soon as it booted to the tap and tap home screen, the screen started to go dim after 15 seconds (that was the screen timeout time I'd set before formatting and all that).
But I thought maybe it was a fluke, so I checked the app drawer, and all my apps are there!!!! Not only that, it connected to my password protected wifi right away!!
Can someone please help me delete the f_ck out of this thing? I want there to be NOTHING left, so I can get a clean start.
The reason I wanted to format is because, I'm having a sound issue with my gtablet (whenever entering the volume control and adjusting the volume the processes always force closes...no matter what ROM I'm on). I wipe data, try to start fresh, but the problem always occurs after a few hours of use on any ROM (even the brand new TNT 5).
And I don't know if this matters or not, I'm on Windows 7, 64 bit...but I obviously have the USB drivers working because I'm using these utilities.
Please somebody? Today is my only day off work for a long long time.
I "THINK" I remember reading that you could flash CWM and from there wipe user data, then run nvflash to get back to stock recovery. Never tried it myself & I'm new here, so take the info for what it is worth.
Don't panic....
I don't think you have anything to worry about. If you read the post (http://forum.xda-developers.com/showthread.php?t=974422), it states in rather large red letters at top :"This fully erases the ROM but this will NOT affect the internal SD card. You MUST be able to use nvflash to restore the stock firmware."
Since your apps are installed on the internal SD, that's why you see them when you reload the ROM.
Edit: If I were you, I'd run the Format and load stock, then reload Clockwork and format the internal SD. That should get you back to a rather vanilla slate.
You can also refer to the posting below as another source. If you go down to the Homebrew link found in the posting, it's is used to revert the gtab back to it's original TnT state.
http://forum.xda-developers.com/showthread.php?t=842000&highlight=stock
format and nvflash do not erase personnal data, a full reflash of difference firmware might format your personnal data, if you want to wipe out data, use the Factory wipe in the CW menu
Ronin916 said:
I don't think you have anything to worry about. If you read the post (http://forum.xda-developers.com/showthread.php?t=974422), it states in rather large red letters at top :"This fully erases the ROM but this will NOT affect the internal SD card. You MUST be able to use nvflash to restore the stock firmware."
Since your apps are installed on the internal SD, that's why you see them when you reload the ROM.
Edit: If I were you, I'd run the Format and load stock, then reload Clockwork and format the internal SD. That should get you back to a rather vanilla slate.
Click to expand...
Click to collapse
Thank you all for your replies. But I am a little confused still. AFAIK the apps aren't on the sd card...wouldn't I be able to see them when I mount the sd card on the computer?
ksc6000,
Storage devices on the G-Tablet are named as follows:
/sdcard -- main memory
/sdcard2 -- external mini-SD card
/usbdisk -- USB key
Rev

[Q] SD card error and launcher pro force close loop

ok suddenly today my phone just rebooted while using a camcorder app called ancorder. but after reboot, it kept saying that it was checking sd card for errors. my sd card was unaccessible except for my second partition (where all my apps are stored via link2sd). then i just uninstalled the camcorder app and all the folders associated with it. after that i rebooted the phone a couple of times to see if the sd card error would go away but instead it got worse. now after rebooting, and after entering my pattern for pattern lock, it kepps saying launcher pro force close. it keeps on force closing again and again. what do i do to save my phone? Any help would be deeply appreciated.
(I own a milestone xt720 that is rooted and apps are stored via link2sd in sd card second partition. i am using stock 2.1.)
androidlover123 said:
ok suddenly today my phone just rebooted while using a camcorder app called ancorder. but after reboot, it kept saying that it was checking sd card for errors. my sd card was unaccessible except for my second partition (where all my apps are stored via link2sd). then i just uninstalled the camcorder app and all the folders associated with it. after that i rebooted the phone a couple of times to see if the sd card error would go away but instead it got worse. now after rebooting, and after entering my pattern for pattern lock, it kepps saying launcher pro force close. it keeps on force closing again and again. what do i do to save my phone? Any help would be deeply appreciated.
(I own a milestone xt720 that is rooted and apps are stored via link2sd in sd card second partition. i am using stock 2.1.)
Click to expand...
Click to collapse
I think this has happened to many of us.
Remove the SD card and put it directly into a computer to do filesystem repair. (If you aren't able to put it directly into a computer, second best is USB mode from OpenRecovery followed by whatever your computer's safely remove/eject proceedure is and an immediate phone reboot or battery pull when you're done just to be safe). If that fails, copy what you can and reformat the FAT partition. Basically the phone's FAT filesystem repair doesn't seem to be sophisticated enough to handle some types of corruption that seem to happen.
Some people will say it's not necessary to use the safely remove/eject procedure when using USB access because FAT is designed for unsafe removal, but my experience says otherwise. I've started to safely remove religiously (since late Feb-ish) and I've gone from nearly weekly corruption to only once when I forgot to do that. In any case using safely remove won't do any harm.
Another thing to know about the ext partition--the phone does not unmount /sd-ext when it is exported over USB (that's why widgets and such can be stored there safely but not on the main FAT partition). This may also be true in OpenRecovery (it's mounted as /sddata there). When it's exported over USB, the ext partition becomes a live filesystem managed by both your phone and your computer and neither seems to understand that the other can be changing the filesystem simultaneously. Probably if you're using Windows or MacOS this isn't a problem (unless you're modifying partitions or reformatting) because they're don't know what to do with ext partitions (by default that is). On the other hand, linux systems may automount it (I know Ubuntu does). This can lead to corruption and data loss on the ext partition if you monkey with the ext partition over USB mode (i.e. repartitioning etc).
THX a lot for the advice! it really helped me a lot!! ur advice has helped me fix my sd card problem!! but unfortunately now how do i get out of the launcher pro force close loop?? by spamming the keys i managed to get to the notifications bar and from there with more spamming i managed to get to aadvanced task manager but i cant kill any open apps from there. Is that of any use?? i have attached some images of my phone's constant force closing.
androidlover123 said:
THX a lot for the advice! it really helped me a lot!! ur advice has helped me fix my sd card problem!! but unfortunately now how do i get out of the launcher pro force close loop?? by spamming the keys i managed to get to the notifications bar and from there with more spamming i managed to get to aadvanced task manager but i cant kill any open apps from there. Is that of any use?? i have attached some images of my phone's constant force closing.
Click to expand...
Click to collapse
I'm not sure. Have you tried disabling Advanced Task Killer?
I think the worst case solution is factory reset, but you'll lose your data and configurations. It looks like you have OpenRecovery installed so you could try backing up System, Data, Cache, and SD Data using nandroid and then try a factory reset to test.
Boot into OpenRecovery, wipe Dalvik-cache & cache partition, rebbot, it's worth a shot.
3rdstring said:
Boot into OpenRecovery, wipe Dalvik-cache & cache partition, rebbot, it's worth a shot.
Click to expand...
Click to collapse
Is there anyother way?? Im not so sure what these operations actually do to my phone although i do have openrecovery installed on my phone.would you care to explain? i can just go to the openrecovery app and go into recovery from there right?
THX for the advice anyways!!
androidlover123 said:
Is there anyother way?? Im not so sure what these operations actually do to my phone although i do have openrecovery installed on my phone.would you care to explain? i can just go to the openrecovery app and go into recovery from there right?
THX for the advice anyways!!
Click to expand...
Click to collapse
This will just clear out some temporary files & the phone will rebuild the dalvik-cache on reboot (which will take a little longer).
3rdstring said:
This will just clear out some temporary files & the phone will rebuild the dalvik-cache on reboot (which will take a little longer).
Click to expand...
Click to collapse
Ok i finally wiped my dalvik cache and cache partition but when rebooted it was still the same D:. the launcher pro was in a continuous force close loop...... Any help to solve this major problem would be greatly apprecited!!!
androidlover123 said:
Ok i finally wiped my dalvik cache and cache partition but when rebooted it was still the same D:. the launcher pro was in a continuous force close loop...... Any help to solve this major problem would be greatly apprecited!!!
Click to expand...
Click to collapse
First make nandroids of system and data. Then upgrade your OpenRecovery to Androidiani OpenRecovery (basically update files on your sd card). In Androidiani OpenRecovery try to use the Application Management Menu to uninstall Launcher Pro. Hopefully you will be able to get the stock launcher after a reboot then. If so, delete all of Launcher Pro's data from the /data partition and then reinstall Launcher Pro from the market.
If you don't mind losing all your preferences and reinstalling your apps, it may just be faster to jump directly to "Wipe Data / Factory Reset" in Open Recovery. If that doesn't work it means your /system partition is corrupted.
Mioze7Ae said:
First make nandroids of system and data. Then upgrade your OpenRecovery to Androidiani OpenRecovery (basically update files on your sd card). In Androidiani OpenRecovery try to use the Application Management Menu to uninstall Launcher Pro. Hopefully you will be able to get the stock launcher after a reboot then. If so, delete all of Launcher Pro's data from the /data partition and then reinstall Launcher Pro from the market.
If you don't mind losing all your preferences and reinstalling your apps, it may just be faster to jump directly to "Wipe Data / Factory Reset" in Open Recovery. If that doesn't work it means your /system partition is corrupted.
Click to expand...
Click to collapse
Thanks a lot for the advice!! Is this the link on how to install Androidiani to xt720?? http://forum.xda-developers.com/showthread.php?t=1011882
How will i be able to access androidiani openrecovery?? Thanks a lot for ur help!!
androidlover123 said:
Thanks a lot for the advice!! Is this the link on how to install Androidiani to xt720?? http://forum.xda-developers.com/showthread.php?t=1011882
How will i be able to access androidiani openrecovery?? Thanks a lot for ur help!!
Click to expand...
Click to collapse
Short form:
Download OpenRecovery-3_3.zip from here http://code.google.com/p/androidiani-openrecovery/
Rename /sdcard/OpenRecovery directory to /sdcard/OpenRecovery.bak (directory only, leave /sdcard/OpenRecovery.zip alone it should stay the same as before you started anything)
Extract OpenRecovery-3_3.zip into /sdcard (will create a new /sdcard/OpenRecovery folder and add /sdcard/update.zip)
Copy contents of /sdcard/OpenRecovery.bak/updates into new /sdcard/OpenRecovery/updates (Optional)
Reboot into OpenRecovery (same methods as before)
That's all folks!
Just a word of warning: Androidiani is very Milestone A853 centric. I wouldn't touch any of their baseband utilities with a 10-foot pole.
Mioze7Ae said:
Short form:
Download OpenRecovery-3_3.zip from here http://code.google.com/p/androidiani-openrecovery/
Rename /sdcard/OpenRecovery directory to /sdcard/OpenRecovery.bak (directory only, leave /sdcard/OpenRecovery.zip alone it should stay the same as before you started anything)
Extract OpenRecovery-3_3.zip into /sdcard (will create a new /sdcard/OpenRecovery folder and add /sdcard/update.zip)
Copy contents of /sdcard/OpenRecovery.bak/updates into new /sdcard/OpenRecovery/updates (Optional)
Reboot into OpenRecovery (same methods as before)
That's all folks!
Just a word of warning: Androidiani is very Milestone A853 centric. I wouldn't touch any of their baseband utilities with a 10-foot pole.
Click to expand...
Click to collapse
I'd just llike to ask: is it possible to uninstall the launcher via adb?
Mioze7Ae said:
Short form:
Download OpenRecovery-3_3.zip from here http://code.google.com/p/androidiani-openrecovery/
Rename /sdcard/OpenRecovery directory to /sdcard/OpenRecovery.bak (directory only, leave /sdcard/OpenRecovery.zip alone it should stay the same as before you started anything)
Extract OpenRecovery-3_3.zip into /sdcard (will create a new /sdcard/OpenRecovery folder and add /sdcard/update.zip)
Copy contents of /sdcard/OpenRecovery.bak/updates into new /sdcard/OpenRecovery/updates (Optional)
Reboot into OpenRecovery (same methods as before)
That's all folks!
Just a word of warning: Androidiani is very Milestone A853 centric. I wouldn't touch any of their baseband utilities with a 10-foot pole.
Click to expand...
Click to collapse
I managed to uninstall launcher pro by switching to the voice dialler in advanced task manager. from there, i said to the device "settings" and it brought me to the settings!!! from there i just uninstalled the launcherpro app. THX a lot for ur help and time, Mioze7Ae!!!

Accidentally clicked 'FACTORY RESET' in HBOOT

I accidentally hit the FACTORY RESET option in HBOOT, and it seems the phone just rebooted into TWRP without doing anything. However it seems my SDcard is now empty and unformatted. Earlier I had two "Internal SDcard" options in TWRP\Mount but now I just have one, and if I try to click on Mount USB storage, the removable disk appears as an unformatted disk on my PC. Is there any to fix this? Is the SD gone for good or can I recover the data?
Run a Ruu and your phone should be fine again (dont forget to relock your bootloader)
I think your data you wiped is hopelessy gone..
Sent from my HTC One S using xda premium
I made a nandroid luckily, but I just realised that the problem is due to the sdcard not actually being able to mount. It says
E:unable to mount '/sdcard'
I'm using TWRP 2.5, maybe I will try with 2.3.1.0.
EDIT: Okay that didn't help. If I run a RUU won't it erase my SD card? I don't want to lose what's on there, is there any way to fix it and be able to mount it again?
Bottom line: I need the data on my SD... is there any way to recover it?
djsubtronic said:
Bottom line: I need the data on my SD... is there any way to recover it?
Click to expand...
Click to collapse
No its gone sorry and no need for ruu just flash stock recovery and factory reset again.
Ten years of data just destroyed within the blink of an eye.
FML.
reformat the sd card and use recovery tools (google for them). most of your stuff will be easily brought back from the dead.
speedfreak007 said:
reformat the sd card and use recovery tools (google for them). most of your stuff will be easily brought back from the dead.
Click to expand...
Click to collapse
I did. It seems everything on the card was nuked. I tried about ten different recommended apps, none of them could find a single file even with deep searches.
djsubtronic said:
Ten years of data just destroyed within the blink of an eye.
FML.
Click to expand...
Click to collapse
I'm sorry for your loss. Now, not to be a douche, but 10 years? Have you traveled through time with your One S?
Fruktsallad said:
I'm sorry for your loss. Now, not to be a douche, but 10 years? Have you traveled through time with your One S?
Click to expand...
Click to collapse
It easily could have been downloaded data. I'm really sorry to hear about your loss, but always keep a copy of your SD card on your PC, no matter what.
djsubtronic said:
I accidentally hit the FACTORY RESET option in HBOOT, and it seems the phone just rebooted into TWRP without doing anything. However it seems my SDcard is now empty and unformatted. Earlier I had two "Internal SDcard" options in TWRP\Mount but now I just have one, and if I try to click on Mount USB storage, the removable disk appears as an unformatted disk on my PC. Is there any to fix this? Is the SD gone for good or can I recover the data?
Click to expand...
Click to collapse
before going through the trouble of an RUU, if you can see the unformatted disk from your computer just try formatting it there into a FAT32 partition like you would any other drive. This has worked for folks successfully. But as for data recovery....
Dang that sucks... was there some sort of confirmation before starting the wipe? I've always been paranoid that I might fat finger it randomly and it just wipes without some kind of second check
Reflash the recovery img from fastboot then boot into recovery, you should be able to mount sd
Zero help to anyone, but I did exactly the same thing myself and had to mount the SD card in recovery and format.
It hurts!!
Well it's official. All my data is forever gone. And no there was no notification, I hit "FACTORY RESET", and it just paused for a second then rebooted into TWRP with my SD instantly destroyed. I tried every possible trick in the book. The problem for me wasn't just getting it to mount and work again, I could have done that in 20 seconds. The problem was to try and get it back WITH all my data, which I failed.
In the end, I made a RAW disk image backup of the sd card partition which for some bizarre reason ended up with a file that was 6 MB in size instead of 10 GB... I knew my data had somehow got nuked. I decided to just reformat it (Quick Format) as FAT32 on the PC, then I ran a host of data recovery programs, even those that were specialised in finding stuff from formatted drives. None of them could even find ONE file. But after format I was able to use it as normal.
I have really no clue how the entire drive was nuked within a fraction of a second, even all the data on it, but it is what it is.
On the bright side, for some reason my phone seems MUCH faster now, especially when installing apps, and the battery seems to last noticeably longer too.
djsubtronic said:
Well it's official. All my data is forever gone. And no there was no notification, I hit "FACTORY RESET", and it just paused for a second then rebooted into TWRP with my SD instantly destroyed. I tried every possible trick in the book. The problem for me wasn't just getting it to mount and work again, I could have done that in 20 seconds. The problem was to try and get it back WITH all my data, which I failed.
In the end, I made a RAW disk image backup of the sd card partition which for some bizarre reason ended up with a file that was 6 MB in size instead of 10 GB... I knew my data had somehow got nuked. I decided to just reformat it (Quick Format) as FAT32 on the PC, then I ran a host of data recovery programs, even those that were specialised in finding stuff from formatted drives. None of them could even find ONE file. But after format I was able to use it as normal.
I have really no clue how the entire drive was nuked within a fraction of a second, even all the data on it, but it is what it is.
On the bright side, for some reason my phone seems MUCH faster now, especially when installing apps, and the battery seems to last noticeably longer too.
Click to expand...
Click to collapse
Hmm. Maybe I should do it too lol.
You should automatically upload your photos or files somewhere. Mine upload to Dropbox so if anything bad happens, nothing too bad can go wrong.
djsubtronic said:
In the end, I made a RAW disk image backup of the sd card partition which for some bizarre reason ended up with a file that was 6 MB in size instead of 10 GB... I knew my data had somehow got nuked. I decided to just reformat it (Quick Format) as FAT32 on the PC, then I ran a host of data recovery programs, even those that were specialised in finding stuff from formatted drives. None of them could even find ONE file. But after format I was able to use it as normal.
Click to expand...
Click to collapse
It's hard to do recover because normal format recovery might not work but you can try the old ver of Easy Recovery Pro 6.x(I don't know why but the lastest ver seems removed RAW recovery) and use the RAW recovery, it usually could find some stuffs. You can also try out Diskgenius.

Unroot Android (remove symlinks by Link2SD)

Before posting this, I tried looking at other forum threads and over the internet in the last week, but could not find a solution so far.
I have a Huawei Y300 with Android 4.1.1. It was rooted and was pretty much fine except for some issues (they happened in time, are not caused by the rooting itself). Meanwhile, I changed the SD card and the defects include:
- cannot set contact photos (it stops when it tries to crop image)
- cannot change theme (it shows it empty and says "internal storage full" - which is not true, plenty of free space shows up in app manager)
- can't use file manager - doesn't see anything from Local
- without a card in it, gallery and camera don't work at all
I did a factory reset and cleaned the davlik folder, but didn't change anything.
The problems come, I think, because Link2SD creates symbolic links to some folders, and those folders are not the same in a new card. For instance, when I use Root Browser and click Properties on some folders, I get:
Path: /sdcard
Symlink:/storage/sdcard0
But, when I use phone's File Manager, it does not see the files from "storage0", it shows only files located in "storage/sdcard1"
I tried to do a system update, by putting a firmware zip (or app) on the card. But it does not see it there, because it sees what the symlink tells it to see. So I'm stuck in a loop.
Because it was impossible to make Link2SD see the new card, I used another phone, with Android 4.4. After endless attempts, I got that phone to see the two partitions on the card and function. (I had to make Link2SD system app and chose ext4 for second partition.)
I took the card back to the problem phone and only sees the first partition, not the ext4 one.
In Link2SD storage info it shows:
Internal (69% free)
SD Card (unmounted)
External SD (93% free)
Second Partition (not found)
System (33% free)
Cache
When I click Recreate mounting script - it says sd card not found.
Relink files: /data/sdtext2 not found
I basically would like to get the folder structure back to the original settings, maybe use the phone without card or with a new card, with or without rooting - just the simplest way possible, but to be able to use photos for contacts and wallpapers.
update
After numerous attempts, I managed to get into recovery mode from Link2SD (the same ) and started firmware update.
It lists doing some operations, but very soon it says wiping cache... and installation aborted.
Should I try with a different ROM? This one is from Huawei website, official, general version.
it's done!
Not that anyone answered, but in case you have the same problem: it's fixed!
Again with Link2SD. Made a third partition on the card, than in Link2sd click the left upper corner for more options. Scroll down for Restart. It gives options for recovery. Deleted everything with the two options to wipe cache and I don't know what else. And than chose restart from volume keys and upper button as enter.
It didn't do an upgrade, rather a downgrade to a previous factory version but i'm happy with it.
Won't risk another rom change.

First boot TWRP recovery select read-only or allow system changes?

Hi guys, I unlocked the bootloader in my HTC ONE A9 and I installed the TWRP recovery it asks me how to screen whether to keep the read-only and therefore without modifying the partition system or allowing the changes ... I have the official rom and honestly not I currently intend to change rom..I haven't received + OTA updates for several years now ... I don't know what to choose in this screen because as I should put Magisk and how do you know the "safetyNet" check if it finds the modified system folder pass the control ... now you who are + experts than me I ask you the courtesy to clarify this doubt ... there is a fact that even a zip could modify the system folder ... so if I choose allow changes and install the Magisk zip automatically makes changes to the system folder and then the SafetyNet does not pass?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@Captain_Throwback
I ask for your help please, because only you can help me in this problem ... I just don't know how to solve. I am desperate
Practically I put the TWRP latest version 3.4 from this link h**ps://dl.twrp.me/hiae/ (I can't put the full link because I don't have 10 posts yet, it seemed right to write it to make you understand where I downloaded them from) , I load it via the windows cmd command and until I access recovery everything is working, as soon as I enter recovery the first time TWRP asks me as per the screen in the first post whether to keep the read only or allow the changes and I choose "allow changes by swiping down" ... then I restart and from that moment the phone restarts continuously in loop ... I then reflected the original rom (even before I had the original rom) , I change version this time and put the twrp 3.2.1.0 as usual, everything works before accessing recovery, as soon as I access recovery, a problem appears in the decryption and then manages to start the twrp menu I always put allow changes to the file system, I go out and loop again, restarting continuously ... now I am thinking possible that the problem is that I have to select keep read only? otherwise I can't explain why everything works and as soon as I enter recovery for the first time and I swipe on allow the changes then restart the phone in loop ... When it goes in loop I can access recovery and the strange thing is that the language is always in English although I select the Italian language, it is also strange that the setting is not saved ....
android version is 7.0 (software 2.17.401.2)
so now I'm reflecting the original rom a second time without putting any twrp waiting for your answer in understanding where the problem lies .. I hope you can help me .. thank you very much in advance. @Captain_Throwback
fabulas_ said:
@Captain_Throwback
I ask for your help please, because only you can help me in this problem ... I just don't know how to solve. I am desperate
Practically I put the TWRP latest version 3.4 from this link h**ps://dl.twrp.me/hiae/ (I can't put the full link because I don't have 10 posts yet, it seemed right to write it to make you understand where I downloaded them from) , I load it via the windows cmd command and until I access recovery everything is working, as soon as I enter recovery the first time TWRP asks me as per the screen in the first post whether to keep the read only or allow the changes and I choose "allow changes by swiping down" ... then I restart and from that moment the phone restarts continuously in loop ... I then reflected the original rom (even before I had the original rom) , I change version this time and put the twrp 3.2.1.0 as usual, everything works before accessing recovery, as soon as I access recovery, a problem appears in the decryption and then manages to start the twrp menu I always put allow changes to the file system, I go out and loop again, restarting continuously ... now I am thinking possible that the problem is that I have to select keep read only? otherwise I can't explain why everything works and as soon as I enter recovery for the first time and I swipe on allow the changes then restart the phone in loop ... When it goes in loop I can access recovery and the strange thing is that the language is always in English although I select the Italian language, it is also strange that the setting is not saved ....
so now I'm reflecting the original rom a second time without putting any twrp waiting for your answer in understanding where the problem lies .. I hope you can help me .. thank you very much in advance. @Captain_Throwback
Click to expand...
Click to collapse
Just don't allow changes. It's not that hard, lol.
Captain_Throwback said:
Just don't allow changes. It's not that hard, lol.
Click to expand...
Click to collapse
@Captain_Throwback
you are right, but since everywhere it says that you have to allow the changes it seemed very strange that if I allowed the changes it would go in a loop ... I reflected the rom again, put the Twrp 3.4 back and this time I gave "keep read only "and the problem did not arise ... but there are still a series of problems in TWRP, at the beginning when I start TWRP immediately after entering the encryption sequence, the screen appears where it says:" unable to mont storage "in red and then successfully decrypted and immediately the TWRP menu appears ..... I tried to make a backup but there are a series of errors as you can see from the screen below ... I also flashed magisk v21 from twrp and here too it gave me errors at the beginning similar to the ones it gave me for backup, although in this case it told me successfully installed at the end. After I did a check with a root checker and it tells me that the root was not done, also with magisk manager I did a SafetyNet check and it gives me both false, both CTS certified and base intefrity ... so there is something that it's not working properly ....
Before loading Magisk from recovery I had checked the SafetyNet with an app and it gave me CTS false and basic integrity true, then after loading Magisk both false ...
Then each time I select the Italian language in Twrp and the next time it always starts in English ... I don't understand why it didn't save the setting.
is there any particular version compatible with HTC One A9 of TWRP? I downloaded the hiae version from the link posted in the previous post ... I honestly don't know how to fix ..
Can you help me please to solve? thank you
fabulas_ said:
@Captain_Throwback
you are right, but since everywhere it says that you have to allow the changes it seemed very strange that if I allowed the changes it would go in a loop ... I reflected the rom again, put the Twrp 3.4 back and this time I gave "keep read only "and the problem did not arise ... but there are still a series of problems in TWRP, at the beginning when I start TWRP immediately after entering the encryption sequence, the screen appears where it says:" unable to mont storage "in red and then successfully decrypted and immediately the TWRP menu appears ..... I tried to make a backup but there are a series of errors as you can see from the screen below ... I also flashed magisk v21 from twrp and here too it gave me errors at the beginning similar to the ones it gave me for backup, although in this case it told me successfully installed at the end. After I did a check with a root checker and it tells me that the root was not done, also with magisk manager I did a SafetyNet check and it gives me both false, both CTS certified and base intefrity ... so there is something that it's not working properly ....
Before loading Magisk from recovery I had checked the SafetyNet with an app and it gave me CTS false and basic integrity true, then after loading Magisk both false ...
Then each time I select the Italian language in Twrp and the next time it always starts in English ... I don't understand why it didn't save the setting.
is there any particular version compatible with HTC One A9 of TWRP? I downloaded the hiae version from the link posted in the previous post ... I honestly don't know how to fix ..
Can you help me please to solve? thank you
Click to expand...
Click to collapse
If you're having issues with TWRP, please post them in the TWRP thread, and follow the instructions in that thread's OP for posting a log. I can then review the log and reply there.
P.S. And while you're at it, you should read the FAQ in the TWRP thread to get some better understanding of why that read-only page is there.
P.P.S. Ugh, I forgot my TWRP thread got lost when they flattened the forum. Well, recovery.log is in /tmp, so you can use adb pull to retrieve it, or if you have an SD card in the device, you can switch to it as your default storage in the Mount page and then use Advanced -> Copy Log.
P.P.P.S. I'm using TWRP and Magisk 21 without any issue on my device, but if you're on old firmware, then that could be why it's not working for you. Let me upload a debug TWRP version and we can see exactly where things are going wrong. Give me an hour or so to build it.
Captain_Throwback said:
If you're having issues with TWRP, please post them in the TWRP thread, and follow the instructions in that thread's OP for posting a log. I can then review the log and reply there.
P.S. And while you're at it, you should read the FAQ in the TWRP thread to get some better understanding of why that read-only page is there.
P.P.S. Ugh, I forgot my TWRP thread got lost when they flattened the forum. Well, recovery.log is in /tmp, so you can use adb pull to retrieve it, or if you have an SD card in the device, you can switch to it as your default storage in the Mount page and then use Advanced -> Copy Log.
P.P.P.S. I'm using TWRP and Magisk 21 without any issue on my device, but if you're on old firmware, then that could be why it's not working for you. Let me upload a debug TWRP version and we can see exactly where things are going wrong. Give me an hour or so to build it.
Click to expand...
Click to collapse
the firmware version is not old, it is android version is 7.0 (software 2.17.401.2) taken here on xda and it is the same version I had received via OTA.
Since the root with Magisk was not successful and, moreover, the safetyNET gave me both CTS and false basic integrity I reflected the rom again now so that we have a clean phone .. first we solve the problems with TWRP and then after I see to put Magisk ... now so I reflashed the rom and checking the Safetynet without having put the Twrp yet it gives me false CTS and basic integrity true, I then put the twrp 3.4 and the Safetynet remained the same ... my fear is that when I put Magisk back even the base integrity becomes false as before ... but for the moment I don't put Magisk ...
I did the backup again with the twrp to see if anything had changed but nothing, same errors ...
I am very willing to do what you ask me, the problem is that I am not an expert, so I can only do it if you tell me step by step what to do ...
You asked me for the recovery.log but I didn't understand how to recover it, could you explain me step by step in detail? you told me that you were preparing the debug that then I should load I don't know if this is enough or you always need the recovery.log ... anyway yes i have an sd card in the phone ...
As for writing in the TWRP room, I initially searched for it but couldn't find it and so I wrote in my phone section.
thank you very much for your willingness to help me
fabulas_ said:
the firmware version is not old, it is android version is 7.0 (software 2.17.401.2) taken here on xda and it is the same version I had received via OTA.
Since the root with Magisk was not successful and, moreover, the safetyNET gave me both CTS and false basic integrity I reflected the rom again now so that we have a clean phone .. first we solve the problems with TWRP and then after I see to put Magisk ... now so I reflashed the rom and checking the Safetynet without having put the Twrp yet it gives me false CTS and basic integrity true, I then put the twrp 3.4 and the Safetynet remained the same ... my fear is that when I put Magisk back even the base integrity becomes false as before ... but for the moment I don't put Magisk ...
I did the backup again with the twrp to see if anything had changed but nothing, same errors ...
I am very willing to do what you ask me, the problem is that I am not an expert, so I can only do it if you tell me step by step what to do ...
You asked me for the recovery.log but I didn't understand how to recover it, could you explain me step by step in detail? you told me that you were preparing the debug that then I should load I don't know if this is enough or you always need the recovery.log ... anyway yes i have an sd card in the phone ...
As for writing in the TWRP room, I initially searched for it but couldn't find it and so I wrote in my phone section.
thank you very much for your willingness to help me
Click to expand...
Click to collapse
TWRP thread has been re-created here: https://forum.xda-developers.com/one-a9/recovery-twrp-touch-recovery-t4185995
Please note the in the OP there how to pull a log, and then post your recovery log there. You don't need to perform a backup, just boot TWRP and then pull the log.
Captain_Throwback said:
TWRP thread has been re-created here: https://forum.xda-developers.com/one-a9/recovery-twrp-touch-recovery-t4185995
Please note the in the OP there how to pull a log, and then post your recovery log there. You don't need to perform a backup, just boot TWRP and then pull the log.
Click to expand...
Click to collapse
I have recovered the recovery.log file
I started the Twrp -advanced-copy log and saved it in the SD card .. is that correct?
I'm sorry I didn't understand if I have to post the log in the thread you linked from the TWRP or I have to put it here ... the file recovery.log I upload it to a host site and I'll put the link .. just tell me in which thread. Thanks.
fabulas_ said:
I have recovered the recovery.log file
I started the Twrp -advanced-copy log and saved it in the SD card .. is that correct?
I'm sorry I didn't understand if I have to post the log in the thread you linked from the TWRP or I have to put it here ... the file recovery.log I upload it to a host site and I'll put the link .. just tell me in which thread. Thanks.
Click to expand...
Click to collapse
TWRP thread.
Captain_Throwback said:
TWRP thread.
Click to expand...
Click to collapse
log loaded into the thread
fabulas_ said:
Ok perfect .. very kind. Thanks.
Before unlocking the bootloader and then doing the root I had a space problem as the internal memory is only 16gb ... now since the phone is still fine I wanted to find a solution.
And I saw that through the Link2SD app I can move some apps to the microsd (maybe the apps I use less), to do this I read that you have to make a partition in the microsd so that you can move the apps and that it is seen as "an extension of the internal memory" ... so I should connect the microsd to the pc to create the partition ... then there is another way which is to format the microsd as internal memory but this is not recommended ... while instead do as I wrote before a partition in the microsd and use it as an "extension of the internal memory" do you think it is a good solution to solve the app space problem? because I only have the apps in the internal memory ... the media are automatically saved on microsd ... so in theory by making a partition in the microsd the partition is an extension of the internal memory and the non-partitioned part should be used by the camera to save photos and videos .. do you think it's feasible?
One last thing as an app to remove the various system apps that I don't use like some Google apps, now that I have root I can do it ... which app do you recommend to do this?
Click to expand...
Click to collapse
Replying here as this conversation is no longer related to TWRP.
I'd actually recommend partially formatting the SD card as internal memory (depending on the size and speed of your SD card). If you have a large capacity UHS-3 card, you can set it up in Android with mixed adoptable storage, so that part of the SD card gets allocated as additional Phone Storage, and the rest can still be used as a standard SD card. That's how I have the card in my A9 set up because of the memory issues you mentioned.
The thread I used to convert mine is here: https://forum.xda-developers.com/idol-3/general/make-sd-card-semi-adopted-t3399510
An alternative link is here: https://android.stackexchange.com/q...into-two-parts-part-adoptable-storage-and-par
(both describe the same process)
Once that's done, you'll have an option to move data for each supported app to the SD card, or you can migrate all of your data to the new partition.
I don't recommend removing any system apps - rather I would just disable apps that you don't need in Settings. You can't really reclaim the space and do anything with it, since system is read-only. There are also ways to "remove" the apps systemlessly using Magisk, but you'll have to research that on your own if you choose to go that route.
EDIT: I have a 128GB card which I split into two 64GB partitions to give me more internal space, while retaining portable storage. This is what that looks like in Android.
EDIT 2: FYI - The TWRP you're currently using fully supports identifying and mounting mixed Adoptable storage, while the official TWRP doesn't. So you'll want to make sure you stay on that one if you decide to go that route.
Captain_Throwback said:
Replying here as this conversation is no longer related to TWRP.
I'd actually recommend partially formatting the SD card as internal memory (depending on the size and speed of your SD card). If you have a large capacity UFS-3 card, you can set it up in Android with mixed adoptable storage, so that part of the SD card gets allocated as additional Phone Storage, and the rest can still be used as a standard SD card. That's how I have the card in my A9 set up because of the memory issues you mentioned.
The thread I used to convert mine is here: https://forum.xda-developers.com/idol-3/general/make-sd-card-semi-adopted-t3399510
An alternative link is here: https://android.stackexchange.com/q...into-two-parts-part-adoptable-storage-and-par
(both describe the same process)
Once that's done, you'll have an option to move data for each supported app to the SD card, or you can migrate all of your data to the new partition.
I don't recommend removing any system apps - rather I would just disable apps that you don't need in Settings. You can't really reclaim the space and do anything with it, since system is read-only. There are also ways to "remove" the apps systemlessly using Magisk, but you'll have to research that on your own if you choose to go that route.
EDIT: I have a 128GB card which I split into two 64GB partitions to give me more internal space, while retaining portable storage. This is what that looks like in Android.
EDIT 2: FYI - The TWRP you're currently using fully supports identifying and mounting mixed Adoptable storage, while the official TWRP doesn't. So you'll want to make sure you stay on that one if you decide to go that route.
Click to expand...
Click to collapse
so if I understand correctly you did exactly what I would like to do and that is a partition in the microsd to be used as an extension of the internal memory and the rest to be used as an external memory .... in any case you are confirming that it is not convenient to format the microsd as internal memory but only make a partition .. you have 32gb of internal memory I think with only 16gb it is really insufficient memory.
I have a 64gb Lexar class 10 microsd (633x microSDXC UHS I class 10) it's not slow but not even super fast ... do you think it's good for performance or will I have to buy another one?
Now I take a look at the 2 links you gave me ..
As for the system apps that I would like to uninstall they are the various apps like:
Chrome (I use another browser)
documents
Drive
Sheets
Photo
Google Play Movies
Google Play Music
Presentations
and some others
You told me that I can not do it because I have the system in read only, but it would be that famous TWRP screen where I put "keep read only" or would it be something else?
I sincerely would like to uninstall them, they just take up space and put them in my apps just to mess with them so I'd rather delete them ..
fabulas_ said:
so if I understand correctly you did exactly what I would like to do and that is a partition in the microsd to be used as an extension of the internal memory and the rest to be used as an external memory .... in any case you are confirming that it is not convenient to format the microsd as internal memory but only make a partition .. you have 32gb of internal memory I think with only 16gb it is really insufficient memory.
I have a 64gb Lexar class 10 microsd (633x microSDXC UHS I class 10) it's not slow but not even super fast ... do you think it's good for performance or will I have to buy another one?
Now I take a look at the 2 links you gave me ..
As for the system apps that I would like to uninstall they are the various apps like:
Chrome (I use another browser)
documents
Drive
Sheets
Photo
Google Play Movies
Google Play Music
Presentations
and some others
You told me that I can not do it because I have the system in read only, but it would be that famous TWRP screen where I put "keep read only" or would it be something else?
I sincerely would like to uninstall them, they just take up space and put them in my apps just to mess with them so I'd rather delete them ..
Click to expand...
Click to collapse
Deleting them saves you no space. They are on the system partition, and you can't put anything else there anyway. Disabling them is the best way to go, and like I said before, because system is read-only, you can't really delete them anyway (I'm sure you recall what happened when you allowed modifications before in TWRP). But you'll have to deal with that yourself.
I'd recommend a UHS-3 card like I said before, but you can try it with the one you have and see how it performs, just to make sure you understand the process.
Captain_Throwback said:
Deleting them saves you no space. They are on the system partition, and you can't put anything else there anyway. Disabling them is the best way to go, and like I said before, because system is read-only, you can't really delete them anyway (I'm sure you recall what happened when you allowed modifications before in TWRP). But you'll have to deal with that yourself.
I'd recommend a UHS-3 card like I said before, but you can try it with the one you have and see how it performs, just to make sure you understand the process.
Click to expand...
Click to collapse
Ok then I turn them off as you said ..
The fact of having put "keep read only", in the future this thing can create problems for me? you wrote about "But you'll have to deal with that yourself." this sentence worries me because it makes me think that maybe that choice can create problems for me in the future ...
Thinking about it, about the fact that I had that loop problem when I put "allow changes", it could not be that the reason was because the memory was compromised given the various errors it gave me and having made the "format data" that I did it fix the errors I could also do "allow changes" without anything happening?
fabulas_ said:
Ok then I turn them off as you said ..
The fact of having put "keep read only", in the future this thing can create problems for me? you wrote about "But you'll have to deal with that yourself." this sentence worries me because it makes me think that maybe that choice can create problems for me in the future ...
Thinking about it, about the fact that I had that loop problem when I put "allow changes", it could not be that the reason was because the memory was compromised given the various errors it gave me and having made the "format data" that I did it fix the errors I could also do "allow changes" without anything happening?
Click to expand...
Click to collapse
I've guided you as much as I can - at this point you should research and figure out where to go from here. Or you can try allowing modifications and see what happens. If it works, great. If not, well then you know what you have to do. You should be able to recover from any situation at this point. If you run into issues with TWRP, you know where the thread is .
Captain_Throwback said:
I've guided you as much as I can - at this point you should research and figure out where to go from here. Or you can try allowing modifications and see what happens. If it works, great. If not, well then you know what you have to do. You should be able to recover from any situation at this point. If you run into issues with TWRP, you know where the thread is .
Click to expand...
Click to collapse
if you tell me that being read only will not give me problems in the future I keep it like this ... I certainly know what to do by now as you say ... only if you tell me that being read only it will give problems and it will be a strong limitation then I try to make the last effort and try again ... if instead you tell me that I could leave it even so that it will not be a problem then I leave it like this ... now in TWRP this screen does not appear + which allows me the choice although I have always chosen "keep read only" but I never checked the box "do not ask me again" .... the possibility to write to the file system is only from TWRP or could I get it in another way?
@Captain_Throwback
I mention you because it may be that you have already read my post and therefore you would not have seen this addition.
I managed to successfully uninstall some apps like play music and play movies via adb with commands given via cmd..it worked perfectly.
practically just enter on
adb shell
and then through this command:
pm uninstall -k --user 0 com.google.android.videos (just enter the package name)
obviously you will know these things for sure it was just to tell you how I did it.
as for what I had written before .. if in the future I need to write on the system I have the possibility to modify this in some way since the choice screen on TWRP does not appear +?
As for the partition of the Microsd I gave a reading and I saw that it is done via adb so if I understand correctly always where I deleted those apps from the system ...
In the meantime I would try with the microsd that I already have is 64gb .. I would put 32gb the internal partition and the rest external ...
In this case I insert the microsd in the pc and open adb and give these commands
adb shell sm list-disks adoptable
The name of my microsde will appear then in case it is disk: 179,128 I give this other command:
adb shell sm partition disk: 179,128 mixed 50
so to do 50% internal and 50% external ... only these 2 commands I have to do and stop? Thanks
@Captain_Throwback
I made the partition to the microsd, I take the liberty of writing to you just because you recommended this method ... if you prefer I ask in the thread you indicated ..
Basically the result is that I see the partition correctly while the remaining external memory tells me that it is damaged if I click on it it tells me "configure" and makes me format the microsd, doing this obviously also removes the partition ...
I tell you exactly the steps I took ..
I ejected the microsd from Settings / Storage after which I gave these commands:
adb shell sm list-disks adoptable
adb shell sm partition disk: 179.32 mixed 65
I didn't do anything else ... the result is what I wrote you before. I am attaching a photo so you can see it. I recognize that you have already helped me enough and thank you very much ... let me know .. Thanks.
fabulas_ said:
@Captain_Throwback
I made the partition to the microsd, I take the liberty of writing to you just because you recommended this method ... if you prefer I ask in the thread you indicated ..
Basically the result is that I see the partition correctly while the remaining external memory tells me that it is damaged if I click on it it tells me "configure" and makes me format the microsd, doing this obviously also removes the partition ...
I tell you exactly the steps I took ..
I ejected the microsd from Settings / Storage after which I gave these commands:
adb shell sm list-disks adoptable
adb shell sm partition disk: 179.32 mixed 65
I didn't do anything else ... the result is what I wrote you before. I am attaching a photo so you can see it. I recognize that you have already helped me enough and thank you very much ... let me know .. Thanks.
Click to expand...
Click to collapse
Did you read both links I posted?
Pretty sure one describes that scenario...
EDIT: You can also boot into TWRP and format your portable storage and that should fix it.
Captain_Throwback said:
Did you read both links I posted?
Pretty sure one describes that scenario...
EDIT: You can also boot into TWRP and format your portable storage and that should fix it.
Click to expand...
Click to collapse
I went to re-read both the link as per your indication and perhaps I found the solution in the second link (located at the bottom of the page) I will report here what is written for convenience.
____________________________
In addition though, you might get the error that your SD card on your device storage is corrupted. If so follow these steps.
After you have partitioned the disk and while your SD card is corruped enter In the terminal the following:
$> adb shell sm list-volumes all
Which will list your volumes, for example:
private mounted null
public:179,1 mounted B5B1-140C
private:179,3 unmountable null
emulated mounted null
Then enter the following replacing 179,3 with whichever disk numbers you are given:
$> adb shell sm format private:179,3
$> adb shell sm mount private:179,3
Now your SD card in device storage should be properly mounted and your portable storage will still be there.
______________________________
Attached I have put what I see in adb with the command
adb shell sm list-volumes all
In my case as you can see it is a little different there are some voices in + and also a little different ... for example there are 2 voices one "unmonted" and one "unmountable" according to the explanation it should be the unmountable one but it is " public "and not" private "as in the example.
So in my specific case I also have to change the command to be given after and write "public" instead of "private" like this?
adb shell sm format public: 179.33
adb shell sm mount public: 179.33
As for the formatting you told me in TWRP you had to do it now with the partition already done I guess, but doing it from TWRP does not format the entire microsd by canceling the partition (as happens if you format it from the phone menu) but only formats the external partition?
Can you tell me the exact procedure to do from TWRP because I tried but can't find how to format it ...
I tried to go to Advanced-partition SD, here it makes me select only Sd card lexar 21017Mb (which would be the internal partition), then there is Microsd card (0MB) which is not selectable because it is the one that says damaged ... not i know if this is the correct path..can you let me know please? Thanks always
fabulas_ said:
I went to re-read both the link as per your indication and perhaps I found the solution in the second link (located at the bottom of the page) I will report here what is written for convenience.
____________________________
In addition though, you might get the error that your SD card on your device storage is corrupted. If so follow these steps.
After you have partitioned the disk and while your SD card is corruped enter In the terminal the following:
$> adb shell sm list-volumes all
Which will list your volumes, for example:
private mounted null
public:179,1 mounted B5B1-140C
private:179,3 unmountable null
emulated mounted null
Then enter the following replacing 179,3 with whichever disk numbers you are given:
$> adb shell sm format private:179,3
$> adb shell sm mount private:179,3
Now your SD card in device storage should be properly mounted and your portable storage will still be there.
______________________________
Attached I have put what I see in adb with the command
adb shell sm list-volumes all
In my case as you can see it is a little different there are some voices in + and also a little different ... for example there are 2 voices one "unmonted" and one "unmountable" according to the explanation it should be the unmountable one but it is " public "and not" private "as in the example.
So in my specific case I also have to change the command to be given after and write "public" instead of "private" like this?
adb shell sm format public: 179.33
adb shell sm mount public: 179.33
As for the formatting you told me in TWRP you had to do it now with the partition already done I guess, but doing it from TWRP does not format the entire microsd by canceling the partition (as happens if you format it from the phone menu) but only formats the external partition?
Can you tell me the exact procedure to do from TWRP because I tried but can't find how to format it ...
I tried to go to Advanced-partition SD, here it makes me select only Sd card lexar 21017Mb (which would be the internal partition), then there is Microsd card (0MB) which is not selectable because it is the one that says damaged ... not i know if this is the correct path..can you let me know please? Thanks always
Click to expand...
Click to collapse
You seem to have figured out the command so you should just try it. You seem to want confirmation before you do any steps, and I'm not really here to hand-hold - you're going to have to just try these things and see what happens. I've found that's the best way to learn.
In TWRP, to format the portable partition on the SD card just Wipe -> check "Micro SD card" -> swipe to complete action.
Hopefully one of those methods will resolve your corrupted issue and you can use the card. I don't plan on replying here any further so please don't ask me anymore questions or mention me. Thanks.

Categories

Resources