Mate 9 Encryption :( - Huawei Mate 9 Questions & Answers

Hi, i´am searching for two days now. Someone says, the mate 9 is encrypted, because since lollipop all devices must be encrypted.
huawei support (three attempts) said the mate 9 is "not" encrypted.
Someone says the "data" partition is encrypted, thats all. If...is that enough for encrypt gmail, whatsapp and so on....?
It´s drivin me nuts.
I need a fully encrypted phone, that when i loose or stolen no one can get the data out of it.
I love the mate 9, but if there is no encryption and no other chance to encrypt it, i have to sell it.
I understand that the huawei "data safe" is for that. but what´s about the rest of all the data like, whatsapp, photos, files, excel.... in a root folder of internel sd for example.
Please give a answer for that if possible.
thank you !

Pitamerica said:
Hi, i´am searching for two days now. Someone says, the mate 9 is encrypted, because since lollipop all devices must be encrypted.
huawei support (three attempts) said the mate 9 is "not" encrypted.
Someone says the "data" partition is encrypted, thats all. If...is that enough for encrypt gmail, whatsapp and so on....?
It´s drivin me nuts.
I need a fully encrypted phone, that when i loose or stolen no one can get the data out of it.
I love the mate 9, but if there is no encryption and no other chance to encrypt it, i have to sell it.
I understand that the huawei "data safe" is for that. but what´s about the rest of all the data like, whatsapp, photos, files, excel.... in a root folder of internel sd for example.
Please give a answer for that if possible.
thank you !
Click to expand...
Click to collapse
/data is encrypted with file-encryption, meaning it is encrypted. Difference to fileencryption and forceencrypt is that with file-encryption you don't need a pin to start the phone. You get the least stuff you need from /data to get to lockscreen. After this you need pin to fully decrypt.
With forceencrypt the whole /data partition would be encrypted.
You can read more here: https://source.android.com/security/encryption/file-based

Thank you very much for your answer.
Is data the place wich Android saves all the data a user creates? Is it a default place where all apps must save data by design including Gmail WhatsApp and so on ?
If yes, I think I don't have to worry to lose my phone...
I will now read your link.

Pitamerica said:
Thank you very much for your answer.
Is data the place wich Android saves all the data a user creates? Is it a default place where all apps must save data by design including Gmail WhatsApp and so on ?
If yes, I think I don't have to worry to lose my phone...
I will now read your link.
Click to expand...
Click to collapse
Yes, /data is where all userdata is saved, app settings etc.
That's also where internal sdcard is located.
Only thing that's not encrypted is your external sd card.

ante0 said:
Yes, /data is where all userdata is saved, app settings etc.
That's also where internal sdcard is located.
Only thing that's not encrypted is your external sd card.
Click to expand...
Click to collapse
So is it possible to test the encryption without rooting the device ?

Related

How to encrypt external sd card In case its compromised

Ive read this can be done incase your external sd card is stolen or lost where u can passcode encrypt the entire card where if someone trys to view jpgs images or video anything for that matter they get a blank image..
Is this a Computer pc encryption deal or native to being done right from the device or an app.
And are they're any downsides to doing it and being able to view yourself from your device while encrypted
Sent from my SGH-T889 using xda app-developers app
lojak29 said:
Ive read this can be done incase your external sd card is stolen or lost where u can passcode encrypt the entire card where if someone trys to view jpgs images or video anything for that matter they get a blank image..
Is this a Computer pc encryption deal or native to being done right from the device or an app.
And are they're any downsides to doing it and being able to view yourself from your device while encrypted
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Settings -> Security -> Encrypt External SD Card (and Encrypt Device).
Keep in mind that it's not worth much if your phone is turned on when the attacker steals it. No matter what.
Against the ordinary thief it'll do fine.
Soooo
stealing the phone gives the person 100% access to the SD card? atleast the iphone has the numeric or alphanumeric password feature and 10 mistakes before Wipe.
L1gh7n1ng said:
Keep in mind that it's not worth much if your phone is turned on when the attacker steals it. No matter what.
Against the ordinary thief it'll do fine.
Click to expand...
Click to collapse
Absolutely right. Still looking for a way to lock out federal forces in case my phone gets "arrested". Any ideas or recommendations?
Encryption of external sd... still is supposed to make any file on sd pass code required. .. as in if someone takes the card out tries it in a pc or other phone they'll see black or blank images .
Essentially making it like Iphone proof .
Only thing can be done is a fat 32 format to clear card.
But I havent tried cause I don't wanna take risks of loosing vital info .
As far as the last post about federal people compromising your phone .... well trust me if they get your phone they can hack anything
Sent from my SGH-T889 using xda app-developers app
what you really need is truecrypt.org/
It might be possible to port it to Android and then use it on the SD card.
In fact it appears it has been done here: code.google.com/p/cryptonite/
stupid 10 message posting crap gawd, someone covert those to real links for people.
shaten said:
what you really need is truecrypt.org/
It might be possible to port it to Android and then use it on the SD card.
In fact it appears it has been done here: code.google.com/p/cryptonite/
stupid 10 message posting crap gawd, someone covert those to real links for people.
Click to expand...
Click to collapse
It seems to only encrypt sdcard contents. I'd probably want my /data encrypted as well.
Product F(RED) said:
Settings -> Security -> Encrypt External SD Card (and Encrypt Device).
Click to expand...
Click to collapse
Sorry to ressurect an old thread. But there is no such option for Cyanogenmod cm-12.1 (Lollipop+). is there a way to encrypt the external sd card?
mrplice said:
Sorry to ressurect an old thread. But there is no such option for Cyanogenmod cm-12.1 (Lollipop+). is there a way to encrypt the external sd card?
Click to expand...
Click to collapse
I once hacked me an EncFS-script that mounts an encrypted folder on my sdcard as sdcard0 and the rest of the sdcard as sdcard1. I use it on my phone since more than a year now without any problems:
http://forum.xda-developers.com/htc-sensation/development/mod-encrypt-sdcard-encfs-t3027711
It may run without any changes on your phone, too. Otherwise you only have to change some paths in the script or ask me for help.
bastei said:
I once hacked me an EncFS-script that mounts an encrypted folder on my sdcard as sdcard0 and the rest of the sdcard as sdcard1. I use it on my phone since more than a year now without any problems:
http://forum.xda-developers.com/htc-sensation/development/mod-encrypt-sdcard-encfs-t3027711
It may run without any changes on your phone, too. Otherwise you only have to change some paths in the script or ask me for help.
Click to expand...
Click to collapse
Thanks for the advice. By looking at that thread I see that you are using encFS. What i have in mind is a full partition encryption (just like LUKS, for instance). Do you know if that would be possible?
mrplice said:
Thanks for the advice. By looking at that thread I see that you are using encFS. What i have in mind is a full partition encryption (just like LUKS, for instance). Do you know if that would be possible?
Click to expand...
Click to collapse
I think by "full partition encryption" you mean "encryption of the file system".? Because if you only mean encryption of "all files on the sdcard" - that's what I actually do. I also wrote three points about my decision for EncFS.
You could try to use TrueCrypt in the same way I use EncFS, but with an encrypted partition. Apart from that I'm not aware of any (easy) way to encrypt the file system. Android uses dm-crypt for internal encryption, but I don't know if and how you can use it to encrypt the sdcard.
The latest luks manager (2.5.1) allows you to encrypt external sdcard, which should me mounted on boot or manually and unlike Encfs, no password is stored in plain text. To have a password stored in plain text is no security at all.
optimumpro said:
[..] unlike Encfs, no password is stored in plain text. To have a password stored in plain text is no security at all.
Click to expand...
Click to collapse
Only out of interest:
I wanted to prevent access to the data on my sdcard if I lose my device. The password is stored on encrypted /data, only readable by root. In what way do you consider that "no security at all"?
bastei said:
Only out of interest:
I wanted to prevent access to the data on my sdcard if I lose my device. The password is stored on encrypted /data, only readable by root. In what way do you consider that "no security at all"?
Click to expand...
Click to collapse
In 2 ways: First, a security model that relies on a separate encryption process that is not provided in that model is not secure. What if data partition is not encrypted? Second, you can't rely on permissions only, if permissions alone were enough, we wouldn't need disk encryption at all. Textsecure used to have a glaring security hole: all sms were stored on disk in plain text. Moxie didn't say encrypt your data, he instead fixed the issue.
optimumpro said:
In 2 ways: First, a security model that relies on a separate encryption process that is not provided in that model is not secure. What if data partition is not encrypted? Second, you can't rely on permissions only, if permissions alone were enough, we wouldn't need disk encryption at all.
Click to expand...
Click to collapse
Funnily enough Android M is saving the encryption key for adopted storage in the exact same way as I did it for my Enfs-folder.
bastei said:
Funnily enough Android M is saving the encryption key for adopted storage in the exact same way as I did it for my Enfs-folder.
Click to expand...
Click to collapse
You still remember? I meant no offence.
Adopted storage: even if this is true, it is still OK, because I don't think you can encrypt adopted storage without encrypting data partition. In other words, there is no way in M the encryption key could be read without first decrypting data. In your case, it is possible, since encrypting SD is independent from encrypting internal data partition. But if I were Google, I would still not save the encryption key in plain...

Encrypt... and Decrypt?

Hey everyone,
I am wanting to encrypt my D6616. So, a couple of questions:
If I encrypt the phone without the SD card, can I encrypt the SD card later?
If I encrypt the device, can I decrypt it?
Lastly, if you know your PIN, can you recover from a factory reset on your SD card?
Thanks everyone,
Johnathan
johnathanamber said:
Hey everyone,
I am wanting to encrypt my D6616. So, a couple of questions:
If I encrypt the phone without the SD card, can I encrypt the SD card later?
If I encrypt the device, can I decrypt it?
Lastly, if you know your PIN, can you recover from a factory reset on your SD card?
Thanks everyone,
Johnathan
Click to expand...
Click to collapse
1. I am pretty sure, Yes
2. Yes, but during startup, so it would pay to copy the contents to a computer if you wish to remove encryption. then you have to factory reset.
If you go through the process, it will advise you just prior to starting the encryption
@danw_oz,
Thanks for the reply.
I assume that decrypting wouldn't require any external intervention... i.e. there are menu prompts under Security that will do it as opposed to using the shell, etc.
Thanks again,
Johnathan
johnathanamber said:
@danw_oz,
Thanks for the reply.
I assume that decrypting wouldn't require any external intervention... i.e. there are menu prompts under Security that will do it as opposed to using the shell, etc.
Thanks again,
Johnathan
Click to expand...
Click to collapse
Have a read of this http://www.howtogeek.com/141953/how-to-encrypt-your-android-phone-and-why-you-might-want-to/
danw_oz said:
Have a read of this http://www.howtogeek.com/141953/how-to-encrypt-your-android-phone-and-why-you-might-want-to/
Click to expand...
Click to collapse
@danw_oz,
According to the article you've provided, there is no decryption, unlike what you've informed:
"Encryption is One-Way Only: After encrypting your device’s storage, you can only disable encryption by resetting your phone to its factory default settings. This will also erase all the data stored on your phone, so you’ll have to set it up from scratch."
If your Z3/Z3C is encrypted... do you have a decrypt option now?
Thanks.
Johnathan
Evidently the process isn't reversible... at least during the encryption process, it informs before confirming that it is irreversible.
Thanks for the help,
Johnathan
johnathanamber said:
Evidently the process isn't reversible... at least during the encryption process, it informs before confirming that it is irreversible.
Thanks for the help,
Johnathan
Click to expand...
Click to collapse
The decryption occurs during entering of your pin or password, at which time you would need to copy anything you want to keep off the phone onto a computer.
---------- Post added at 03:07 PM ---------- Previous post was at 03:02 PM ----------
To be honest there is no real benefit of this over just locking your phone, because if you loose your phone it can still be hacked until it is rebooted. If you have find my xperia, you can erase the phone which I am sure includes the SD Card
danw_oz said:
The decryption occurs during entering of your pin or password, at which time you would need to copy anything you want to keep off the phone onto a computer.
Click to expand...
Click to collapse
I understand your reply. The data has to be decrypted before it can be used by the phone and other apps, etc, this only makes logical sense to use decrypted data. since it can't used encrypted data.
I suppose I should have been more clear in my original posting. Once a phone has been encrypted, can the encryption be removed to use the data in its decrypted form? i.e. if I encrypt my SD card, decrypt it, remove it, then place it elsewhere to be used in other devices... the answer is no. Once encrypted, the encryption can't be removed to allow the card to be used elsewhere.... without losing all of the data.
Sorry for the miscommunication.
Thanks,
Johnathan

Recovering Deleted files with unrooted unlocked devices [Android 6.0] [2 Questions]

Hello every one,
I have a complicated situation with deleted files (photos and videos) recovery,
Phone : Nexus 5
Android: M (6.0) BN: (MRA58N)
Root/unlock: Unrooted and Unlocked
Some one has deleted all the files in the camera folder in the gallery, i want to restore these deleted files. After hours of digging the internet, i found a lot of applications that doesn't work (almost all of it either require root or require USB Mass storage), and as you know we are only able to connect to the PC using MTP protocol.
Rooting the device requires unlocking it which will cause the whole phone to be wiped.
I have two questions:
1) Is there any (REAL) way to recover the deleted files (Images and videos) with the current circumstances (Unrooted, Unlocked, MTP Connection) ?
2) If the answer of question 1 is NO, if i unlocked (and for sure wiped) the phone then rooted it, can i still have the ability to recover these files, i mean how badly the wipping process will affect the internal phone storage?
I really appreciate your help in advance.
Best regards,
kldoon said:
Hello every one,
I have a complicated situation with deleted files (photos and videos) recovery,
Phone : Nexus 5
Android: M (6.0) BNMRA58N)
Root/unlock: Unrooted and Unlocked
Some one has deleted all the files in the camera folder in the gallery, i want to restore these deleted files. After hours of digging the internet, i found a lot of applications that doesn't work (almost all of it either require root or require USB Mass storage), and as you know we are able to connect to the PC using MTP protocol.
Rooting the device requires unlocking it which will cause the how phone to be wiped.
I have to questions:
1) Is there any (REAL) way to recover the deleted files (Images and videos) with the current circumstances (Unrooted, Unlocked, MTP Connection) ?
2) If the answer of question 1 is NO, if i unlocked (and for sure wiped) the phone then rooted it, can i still have the ability to recover these files, i mean how badly the wipping process will affect the internal phone storage?
I really appreciate your help in advance.
Best regards,
Click to expand...
Click to collapse
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
opssemnik said:
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
Click to expand...
Click to collapse
Its Unfortunate to hear that , i hoped there will be a small chance to recover the deleted data after wiping the phone and rooting it.
I Would like to hear if there is any other options.
Best thanks @opssemnik
Is the same true for HTC One M8?
opssemnik said:
1 - no
2 - no
phones uses emmc nand cards, they are basicly ssds, no mechanical parts, instant access time, etc... . because of that,when a file is deleted, its actually deleted, not just "masked".
and if you unlock, you delete all userdata, apps,files,etc, no way of recovering. Altought on early n4s bootloader the wipe was glitched(you could restore your data), on the n5 it fully wipes
Tip: next time you could use google´s free auto backup(google photos)
Click to expand...
Click to collapse
The original questioner had a Nexus.
Does your answer also apply to HTC One M8?
Thanks.
PhilBill said:
The original questioner had a Nexus.
Does your answer also apply to HTC One M8?
Thanks.
Click to expand...
Click to collapse
i don´t know about the bootloader unlock part wiping the data on the M8 (since those were never sold here in Brazil) however the rest still applies. on HDDs and other mechanical drives, the deletation process is just removing the file from the index on the drive, so it cant find anymore, thats due to mechanical drives having fragmentation, not instant access times and other things(such as lower read/write speeds, bad sectors, etc). since those dont apply to solid state devices, such as ssds or emmcs, every file operation is permanent

Mate 9 Encryption

Hi everyone,
i hope someone can help me with my Question.
Is the Mate9 encrypted by default?
Unfortunately there is no Option to encrypt the Phone manually.
Which enryption Type will be used? File Based or Full?
Will SD-Cards encrypted by default?
Is there any way to check this?
Update:
The Mate 9 is NOT encrypted.
This will be available in the future.
Pretty sad
Mate 9 is loaded with Android 7.0 Nougat which uses File-based Encryption by default rather than Full-Disk Encryption.
http://www.howtogeek.com/269422/how...ats-direct-boot-for-less-annoying-encryption/
For SD card, I don't know because I don't use SD card on my device.
no sorry, i called the Huawei Support Hotline, the Mate internal storage is not encrypted.
Only the SD Card can be encrypted.
btw: in the developer section there isn´t the point "convert to file encryption"
xacidx said:
Mate 9 is loaded with Android 7.0 Nougat which uses File-based Encryption by default rather than Full-Disk Encryption.
http://www.howtogeek.com/269422/how...ats-direct-boot-for-less-annoying-encryption/
For SD card, I don't know because I don't use SD card on my device.
Click to expand...
Click to collapse
I recall seeing in settings a way to encrypt SD and/or some kind of passcode protect for it.
Sent from my Huawei Mate 9 using XDA Labs
Internal storage is not encrypted by default? That's kinda surprising and disappointing considering how much Huawei was talking about security in their last few events. The file-based encryption should have a negligible performance impact.
Try : settings - fingerprint ID - fingerprint administration - security access - Enable - internal memory / Sd card
Yo can enable encryption there
Enviado desde mi MHA-L29
i think this is not real encryption, this is only a "passcode / fingerprint" safe
https://source.android.com/security/encryption/
Is there any way to check the Filesystem (encrypted or not)?
https://forum.xda-developers.com/mate-9/help/decrypt-internal-storage-t3530224
Someone has trouble seeing files via TWRP.. not sure.. maybe it has internal encryption afterall?
Confuuuzing
Not to get political here but you do know where the Mate series is made? The Chinese Government doesn't want device encryption - so it's not there. And even if it was, I wouldn't trust it.
i dont see this setting. may have to return the phone if i cant encrypt the whole device.
Nexus-Nerd said:
no sorry, i called the Huawei Support Hotline, the Mate internal storage is not encrypted.
Only the SD Card can be encrypted.
Click to expand...
Click to collapse
I can't say whether it is or isn't, but if I go to Settings, Memory & Storage, Default location, and try to switch the default from internal to SD card, I get a message saying my phone has been encrypted and to make sure the external storage is too before proceeding.
Everydevice which comes with nougat installed from huawei is encrypted with (filebased encryption) and every device which gets nougat update like honor 8 and p9 etc gets full diskencryption so the statement is false it's encrypted. The full disk encryption is one encryption step.
The filebased encryption is two way encryption. It uses default hard disk encryption and per app encryption so yes it's encrypted.
LastStandingDroid said:
Everydevice which comes with nougat installed from huawei is encrypted with (filebased encryption) and every device which gets nougat update like honor 8 and p9 etc gets full diskencryption so the statement is false it's encrypted. The full disk encryption is one encryption step.
The filebased encryption is two way encryption. It uses default hard disk encryption and per app encryption so yes it's encrypted.
Click to expand...
Click to collapse
I would like to add that we are talking about the encryption of the /data partition only.
Other parts of your internal memory (like /system) or the SD card are *not* encrpyted
Code:
> adb shell mount | grep cryp
/dev/block/bootdevice/by-name/userdata on /data type f2fs (rw,seclabel,nosuid,nodev,noatime,background_gc=on,discard,user_xattr,inline_xattr,acl,inline_data,extent_cache,[B]inline_encrypt[/B],active_logs=6)
File-based encryption should still be active on internal storage unless you have rooted.
st_voss said:
I would like to add that we are talking about the encryption of the /data partition only.
Other parts of your internal memory (like /system) or the SD card are *not* encrpyted
Code:
> adb shell mount | grep cryp
/dev/block/bootdevice/by-name/userdata on /data type f2fs (rw,seclabel,nosuid,nodev,noatime,background_gc=on,discard,user_xattr,inline_xattr,acl,inline_data,extent_cache,[B]inline_encrypt[/B],active_logs=6)
Click to expand...
Click to collapse
There's no needed for system to be encrypted as there's no sensual data that any vendor will release there. So yes only /data is encrypted
Would u see a reason why system would be encrypted?
Sent from my FRD-L09 using Tapatalk
---------- Post added at 10:00 PM ---------- Previous post was at 09:58 PM ----------
ResonanceZero said:
File-based encryption should still be active on internal storage unless you have rooted.
Click to expand...
Click to collapse
Well technically yes since on nougat it should encrypt all files on storage. Isn't it how it is? Because you still can get into internal storage but files are random names right?
Also I don't see why phone would encrypt your external sd because usually when setup you don't have any sd card inserted so why only /data partition is encrypted is how it should be since u have an option to encrypt external
Sent from my FRD-L09 using Tapatalk
Correct. And we know that this part is working because we see people trying to root struggling with it.
LastStandingDroid said:
There's no needed for system to be encrypted as there's no sensual data that any vendor will release there. So yes only /data is encrypted
Would u see a reason why system would be encrypted?
Sent from my FRD-L09 using Tapatalk
...
Click to expand...
Click to collapse
No, I don't see a reason for an encrypted system partition.
I wanted to make clear that when we talk about Android encryption only encryption of the data partition is meant.
So I was just supporting your point that the Mate 9 is indeed using encryption.
ResonanceZero said:
Correct. And we know that this part is working because we see people trying to root struggling with it.
Click to expand...
Click to collapse
I'm rooted and encrypted.
Everything but magisk.img and /data/magisk/ is encrypted in /data and it runs fine. I don't see why it doesn't encrypt other things when you reboot, but I guess files outside of /data/data, apps, etc are kept as they are since you're not supposed to install things straight to the root of /data anyway.
ante0 said:
I'm rooted and encrypted.
Everything but magisk.img and /data/magisk/ is encrypted in /data and it runs fine. I don't see why it doesn't encrypt other things when you reboot, but I guess files outside of /data/data, apps, etc are kept as they are since you're not supposed to install things straight to the root of /data anyway.
Click to expand...
Click to collapse
Huh. What method are you using? The last instructions I saw all pretty much started with TWRP, and the TWRP thread says that encryption isn't working.
st_voss said:
No, I don't see a reason for an encrypted system partition.
I wanted to make clear that when we talk about Android encryption only encryption of the data partition is meant.
So I was just supporting your point that the Mate 9 is indeed using encryption.
Click to expand...
Click to collapse
Ah i see, sometimes missreading help you to miss the point
Sent from my FRD-L09 using Tapatalk
---------- Post added at 06:56 AM ---------- Previous post was at 06:54 AM ----------
ante0 said:
I'm rooted and encrypted.
Everything but magisk.img and /data/magisk/ is encrypted in /data and it runs fine. I don't see why it doesn't encrypt other things when you reboot, but I guess files outside of /data/data, apps, etc are kept as they are since you're not supposed to install things straight to the root of /data anyway.
Click to expand...
Click to collapse
It should encrypt it if it doesn't there's something wrong. Because it should encrypt on each boot
Sent from my FRD-L09 using Tapatalk

How I unbricked "Decryption unsuccessful" The password is correct but... (Apps2SD)

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).

Categories

Resources