vold-posix icon indicating copy to clipboard operation
vold-posix copied to clipboard

vold via Magisk delete all app data

Open GlitchedCod opened this issue 7 years ago • 18 comments

Hello, After the installation of the Vold module created by noname8964, my phone have deleted all app data and set the memory of the phone as "read only". My phone is a Xiaomi Redmi Note 5 Official MIUI 9 ROM unlocked.

Please solve this error. 😢

Thank you.

GlitchedCod avatar Oct 24 '18 13:10 GlitchedCod

I said it only works for AOSP-like system:( MIUI or other UI rom has not tested. and in my opinion, MIUI support exfat, why you use this module?

null4n avatar Oct 28 '18 00:10 null4n

but not NTFS, i have just installed that in the case of if i wanted to watch a movie in a hard drive or something like that... I have see that i have flash the RU ROM (so the bad one) so I will take the opportunity to change to the original ROM now...

GlitchedCod avatar Oct 28 '18 22:10 GlitchedCod

i am no expert but adding the libs and bin of ntfs integrated successfully and worked perfectly on a rom that had vold for exfat but not ntfs

you may give it a try

https://forum.xda-developers.com/mi-max-2/development/stable-msm-xtended-v2-5-t3805375/post78002283

kalawy avatar Oct 29 '18 04:10 kalawy

i am no expert but adding the libs and bin of ntfs integrated successfully and worked perfectly on a rom that had vold for exfat but not ntfs

you may give it a try

https://forum.xda-developers.com/mi-max-2/development/stable-msm-xtended-v2-5-t3805375/post78002283

Nope, he's on official MIUI that didnt support these vold binary or fuse libraries. In my opinion, vold binary may can run, but libraries may crash. Since MIUI is close source, I won't plan to support miui or other custom ui rom.

The v1 version will occurs weird issue, but v2 mostly fixes this. maybe v2 can work with miui but I can't promise anything

null4n avatar Oct 29 '18 09:10 null4n

I had the same problem on MIUI. I have two identical Xiaomi Redmi Note 5s (whyred) in my family. At the same time, the Vold module v1 was installed and working fine on one of the devices, and the other device erased the data and turned the memory into read only mode. Vold module v2 - does not work, when you boot the device, the password input dialog is displayed .. As I understand it, this is due to the fact that encryption is not disabled in the reassembled kernel.

Please, if possible, solve this problem. NTFS support on MIUI is needed like air.

Xiaomi Redmi Note 5 (whyred) MIUI 10.0.3.0 Global Stable Magisk 17.3

diletantEG avatar Nov 06 '18 03:11 diletantEG

@diletantEG Once again, this module didn't support non AOSP-like system. All bugs with these system won'r fix. And encryption isn't the issue. my Nokia phone works fine with encrypt user data. Maybe MIUI has some custom methods in there boot image, but I can't fix this. If you really need ntfs driver, maybe you can try Paragon driver from Google Play or flash LineageOS/etc.

null4n avatar Nov 06 '18 08:11 null4n

@diletantEG maybe this have a relationship with the ROM of the phone, when i have installed the latest version of vold, i used MIUI 9.2 Russian model

GlitchedCod avatar Nov 06 '18 12:11 GlitchedCod

@GlitchedCod I have two absolutely identical phones, with the same system (miui 10.0.3.0 global stable) and a similar set of software. This is surprising, why everything was installed perfectly on one thing, and this problem arose on the other.

diletantEG avatar Nov 06 '18 14:11 diletantEG

Same problem here, with BQ Aquaris X2 pro (zangyapro), on firmware 1.5.0: device reports defect encryption, and factory-resets. What does "AOSP-like" mean in this context? It is a "Android One" device, so it should not have few vendor-specific adjustments. BQ shamingly does not ship exfat/ntfs drivers, so having this module would be really nice. Is there anything I can help to debug?

blaueente avatar Nov 17 '18 13:11 blaueente

Android one should work. past the logcat. use adb logcat|grep -i vold to get the logcat. maybe also need adb logcat|grep avc: PS: in Windows you can use find instead of grep -i, but idk if find is case-sensitive or not. it need ignore case.

blaueente [email protected] 于 2018年11月17日周六 21:18写道:

Same problem here, with BQ Aquaris X2 pro (zangyapro), on firmware 1.5.0: device reports defect encryption, and factory-resets. What does "AOSP-like" mean in this context? It is a "Android One" device, so it should not have few vendor-specific adjustments. BQ shamingly does not ship exfat/ntfs drivers, so having this module would be really nice. Is there anything I can help to debug?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/noname8964/vold-posix/issues/2#issuecomment-439616277, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae6HdlD4GvGZIwDhFH8Ja-VVd7c4lfyfks5uwAyWgaJpZM4X35t7 .

null4n avatar Nov 17 '18 13:11 null4n

When should I get the logs? During normal runtime, without the vold module? During Module installation? During the failed boot, but will this work at all? Will it help to make a backup of some partition such that I can try restore the phone without wiping and re-installing? There's no TWRP available, but i can use fastboot.

blaueente avatar Nov 17 '18 13:11 blaueente

nope, this only get the log that I can find something in it. run it on boot up. but if you don't have TWRP at all, I don't recommend you use this module until I find the problem. you can flash your boot image backup to restore what this module changed. iirc when decrypt failed it will warn you to do a factory reset but if you don't touch anything it won't do anything. BTW, what's your phone's status atm?

blaueente [email protected] 于 2018年11月17日周六 21:50写道:

When should I get the logs? During normal runtime, without the vold module? During Module installation? During the failed boot, but will this work at all? Will it help to make a backup of some partition such that I can try restore the phone without wiping and re-installing? There's no TWRP available, but i can use fastboot.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/noname8964/vold-posix/issues/2#issuecomment-439618363, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae6HdtDQTLCaBak6rimLJdElTzJ-PLyXks5uwBQrgaJpZM4X35t7 .

null4n avatar Nov 17 '18 14:11 null4n

Thanks for your help! My phone is working again, after a the factory reset, magisk is still on there. I'll now just re-format my sdcard for now, and wait for TWRP being available. Just for theory, maybe I want to experiment later; if I do the following:

  1. pull a boot image backup
  2. install vold module
  3. reboot, (immediately?) start adb logcat | tee debug.log
  4. get warning, don't touch anything
  5. reboot into bootloader, re-flash bootloader backup

Do you think step 5 will work without factory-reset? I understand, its my risk anyway ;-)

blaueente avatar Nov 17 '18 14:11 blaueente

I think it's yes. didn't know why Android one will occur this issue.

blaueente [email protected] 于 2018年11月17日周六 22:14写道:

Thanks for your help! My phone is working again, after a the factory reset, magisk is still on there. I'll now just re-format my sdcard for now, and wait for TWRP being available. Just for theory, maybe I want to experiment later; if I do the following:

  1. pull a boot image backup
  2. install vold module
  3. reboot, (immediately?) start adb logcat | tee debug.log
  4. get warning, don't touch anything
  5. reboot into bootloader, re-flash bootloader backup

Do you think step 5 will work without factory-reset? I understand, its my risk anyway ;-)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/noname8964/vold-posix/issues/2#issuecomment-439620113, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae6HdvfJaZmzd7hzFbLYuM4OiMv6tarKks5uwBmrgaJpZM4X35t7 .

null4n avatar Nov 17 '18 14:11 null4n

I said it only works for AOSP-like system:( MIUI or other UI rom has not tested. and in my opinion, MIUI support exfat, why you use this module?

Most AOSP roms have NTFS support than what is the use of this module? Module for stock Miui roms have exfat support where the file integrity is doubtful which arises the Need for ext or NTFS support for SD card

dariods8474 avatar Aug 20 '20 20:08 dariods8474

Most AOSP roms have NTFS support than what is the use of this module? Module for stock Miui roms have exfat support where the file integrity is doubtful which arises the Need for ext or NTFS support for SD card

stock pixel and some stock aosp-like system didn't support exfat and etc. I made this module only for these systems. miui has lots of changes from aosp, so I won't support it. you can still use it in your risk, but don't tell me any bug or losing data

null4n avatar Aug 21 '20 01:08 null4n

Most AOSP roms have NTFS support than what is the use of this module? Module for stock Miui roms have exfat support where the file integrity is doubtful which arises the Need for ext or NTFS support for SD card

stock pixel and some stock aosp-like system didn't support exfat and etc. I made this module only for these systems. miui has lots of changes from aosp, so I won't support it. you can still use it in your risk, but don't tell me any bug or losing data

I wish you could make a universal module. You are the only one who has attempted. My bad luck not to have one.

dariods8474 avatar Aug 22 '20 15:08 dariods8474

I wish you could make a universal module. You are the only one who has attempted. My bad luck not to have one.

I don't think so, vold has lots of changes between different api level. the only way maybe compile all of theme, but this take too many time and disk space. amd I need different system to test it. unfortunately I only have 8.1

null4n avatar Aug 22 '20 15:08 null4n