As we all know android pie is not flashable on encrypted phones. Can somebody guide me to how to decrypt phone so that i could flash android pie roms
Thanks
The only way "To decrypt" is to copy all internal storage to your computer, wipe the internal storage, put back all copied data, then flash.
The faster way to copy back and fourth it is via adb shell (pull and push command). Because the native file explorer of the computer OS is much slower due to MTP protocol transfer.
You can refer to this guide if you want to proceed further https://forum.xda-developers.com/oneplus-3/how-to/unencrypt-oxygenos-loosing-data-t3412228
Related
This is the first time I've done this so I have NO idea how to fix it . I was just flashing a new rom
when I accidently checked off system in WIPE. Everything is gone obviously. Can someone please tell me what to do from here? I have no access to a computer till later today. Any help is appreciated thank you!
Update: internal storage is also deleted. The phone has nothing. No OS what so ever.
What do i do?
Thanks for any help
You deleted system or internal storage? If just system then reflash the rom. The zip should still be on your phone
your sdcard contents are still there, since sdcard "lives" in /data/media NOT in /system
proceed to flash whatever ROM+gapps you were going to install, wiping system is actually one of the steps many people do when doing a clean install
if internal storage is deleted you have 2 options
1. copy ROM and gaps on a USB flash drive , use a OTG cable to connect them, reboot into recovery , mount USB-OTG, you can install whatever zips you have on the flash drive
2. push the files to the sdcard from your computer using ADB push
sgloki77 said:
if internal storage is deleted you have 2 options
1. copy ROM and gaps on a USB flash drive , use a OTG cable to connect them, reboot into recovery , mount USB-OTG, you can install whatever zips you have on the flash drive
2. push the files to the sdcard from your computer using ADB push
Click to expand...
Click to collapse
TWRP Supports MTP connections. Plug the phone in via USB then go into "Mounts" and "enable MTP". Then just drag and drop the files into internal storage
the babadook! ?
Hello guys, i was trying to update my CM 13 today and it didn't work. It made the download but once in the recovery, nothing happened :S i'm trying to understand why and i hope some of you know of this.
By the way, my TWRP version is the 2.8.7.0 if it helps..
ugh...Can't really understand what happened
You installed via OTA/cm updater? meaning you downloaded with your phone
Just download the zip directly and flash it with twrp
You'll also need to re-flash gapps unless you're using TWRP 3.0.0
Make sure that you have not installed any additional mods which alters system partition (kernels, soundmods etc.) If not, easiest solution would be to dirtyflash new one or clean install.
Same problem here.
405. CM13. TWRP 3.0.0. Merged SD card with internal storage.
In Recovery I can see folder structure but no files. I know its because of SD-encryption but I hoped I could at least see files in internal storage to update. Hope there's a solution soon. Does anyone have a workaround?
Gesendet von meinem LG-D405 mit Tapatalk
Filesystem of sdcard mount point
What is your /sdcard mount point filesystem? Mine is 'auto' (Maybe that might be causing the problem?) , and you can check by going into TWRP -> Wipe -> sdcard -> Repair or Change File System
Thank you for your answer. I checked that quickly, but couldn't find the option 'repair or change filesystem' without actually wiping the storage... I'll check again later if there's more time.
I found and changed the option from exFAT to ext4. All folders on the SD were lost in TWRP. Changed back to exFAT: couldn't see them either..
When using adopted storage (i.e. formatting external SD and using it as internal storage), then /sdcard in Android becomes /emmc in TWRP. At least it's what I see here using TWRP 3.0.0 Dark Blue.
From what I've looked, all internal storage is used only for app and app data once I started using adopted storage, so the only way I can think of using internal storage in TWRP to flash anything is either sideloading or using MTP in TWRP.
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
kreativpause said:
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
Click to expand...
Click to collapse
What did you wipe prior to your sideload? I want to do a wipe and fresh install of gapps and cm13, but I am afraid I could soft brick my phone.
I chose both. Dalvik and the other option ( I believe cache). No issues.
kreativpause said:
I chose both. Dalvik and the other option ( I believe cache). No issues.
Click to expand...
Click to collapse
Mine gets stuck at "detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system" then it just reboots to TWRP again. Sideload says "
serving: 'cm-13.0-20160322-NIGHTLY-w7.zip' (~0%) * failed to read command: No error". Did you wipe system before you sideloaded?
I did not wipe anything beforehand.
Hello everybody,
I am in desperate need for help.
Received my OP3T yesterday and followed the instructions to flash Sultan's CM13 ROM, unlocking bootloader, running "fastboot OEM unlock", deleting data and system partitions, attempting to flash TWRP and even using the SuperSu root afterwards.
I now have an issue where the internal memory of the phone does not show up on PC. It does not show when I am running CM13, and does not show when I'm in the TWRP recovery menu.
- Using the mount feature in TWRP does not work.
- All my file systems are currently set to ext4.
- USB debugging is on, off course.
- Tried accessing internal memory on a different PC, and still doesn't show.
I've tried completely deleting all the partitions, re-flashed TWRP and re-flashed CM13. Also tried re-flashing the original recovery and the original OxygenOS rom.
As a result, I can only access the TWRP recovery now. I have no way to copy the CM13 zip file or any other file to the internal memory.
Anyone know what's going on?
to see internal storage in TWRP you need to enter the password you definied as android login.
to see internal storage on pc go to "Settings/developer options/usb configuration and use again "file transfer" (i hope this is the english word for "dateiübertragung")
i have 4 questions, with short answers
my MI5 has TWRP3.1 + root+ bootloader unlocked+ global developer rom 8.3
all ok perfect. with TWRP i did factory reset ( which contains data and chache wipe) to have everything clean.
But
i still have some old application folders, files, even my old media inside the phone!
how to clean them? i want to delete all files which is not about new system.
1) in TWRP;
advanced - wipe system
or
advanced - wipe internal storage?
which one?
2) and if i delete all, i want to reflash new rom without quiting from TWRP,
, but new rom zip file will be deleted also i think ! so how can i reflash?
3)
i ve changed imei number of my phone , i hope my new imei number will not be deleted?
1. You also need to wipe internal storage.
2. You can still use mtp to pc or usb otg in twrp.
3. I don't know, sorry.
kazzien said:
1. You also need to wipe internal storage.
2. You can still use mtp to pc or usb otg in twrp.
3. I don't know, sorry.
Click to expand...
Click to collapse
thanks,
while on TWRP its possbile to mtp to pc, but
after internal storage wipe, its not possbile to mtp to pc while on TWRP.
so, without quiting twrp screen, i used adb side load option of TWRP and flashed the rom from PC. ( i dont have otg cable)
and now its full clean system :good::good:
EDiT: imei numbers still exists.
gimmeluck2 said:
thanks,
while on TWRP its possbile to mtp to pc, but
after internal storage wipe, its not possbile to mtp to pc while on TWRP.
so, without quiting twrp screen, i used adb side load option of TWRP and flashed the rom from PC. ( i dont have otg cable)
and now its full clean system :good::good:
EDiT: imei numbers still exists.
Click to expand...
Click to collapse
After wiping internal storage, reboot twrp and reconnect to pc again. This way you can see internal storage in pc.
Flash zips via Adb Sideload is very useful when you have a computer with ADB cmd.
You can easily use MTP from TWRP.
or get an OTG cable.
As you changed your IMEI, Keep a backup of EFS partition from TWRP and upload it to Google drive.
if you get any error on network then just restore the efs backup from twrp.
Z4HD said:
Flash zips via Adb Sideload is very useful when you have a computer with ADB cmd.
Click to expand...
Click to collapse
Please advise the command Adb Sideload to upload the zip file.
Thanks
Is it possible to mount data partition on PC or USB to recover data?
Edit: I meant userdata partition
I have tried backing up data partition using TWRP, but it prompted me that pictures and downloads will not be backed-up!
Isn't the data partition that holds my camera and download folder?
I am looking for a tool or and app that can let me take a disk image of internal SD partition, or create a whole image of my phone; so that I can use data recovery in my PC.
Making Dump Files Out of Android Device Partitions
have u try this
Thanks I have tried it but when I execute
Code:
noblelte:/ # dd if=/dev/block/sda17 of=/sda17.img
Gives me
Code:
dd: /sda17.img: Read-only file system
Just to be sure : I ran the adb code while the phone is on normally not in TWRP.
I also ran the code in TWRP terminal, while connecting a USB and mounting it.
It created the image inside the USB , however it stopped at 4GB saying the file is too large.
SilverDove said:
I also ran the code in TWRP terminal, while connecting a USB and mounting it.
It created the image inside the USB , however it stopped at 4GB saying the file is too large.
Click to expand...
Click to collapse
Are you just wanting to back up pictures, download folder, etc etc? Backing up the data partition the way you are is pointless as you're just accomplishing what twrp already does. Data partition is apps, system configurations, texts, calls, etc. Not pictures you've taking, download folder, etc.
And is there a reason you want an img file? Seems pointless to me when you can just copy it all over by drag and drop or adb pull the internal storage lol
I want to make a userdata partition image because it holds the camera album I deleted by mistake. I want to take the image and try to recover the deleted files using PC recovery software.
I found out that my problem was the 4GB limit of FAT32, so I formatted my USB flash memory using both exFat and ext4 and recovered the partition using TWRP terminal with the code above.
However I am still unable to read the image through Linux Reader and I can't attach the image as VHD.
Is what I am doing is useless? Because it came to my mind that if the recovered userdata partition is encrypted I will not be able to opened it, however, TWRP can browse the files so I guess it is not encrypted.
SilverDove said:
I want to make a userdata partition image because it holds the camera album I deleted by mistake. I want to take the image and try to recover the deleted files using PC recovery software.
I found out that my problem was the 4GB limit of FAT32, so I formatted my USB flash memory using both exFat and ext4 and recovered the partition using TWRP terminal with the code above.
However I am still unable to read the image through Linux Reader and I can't attach the image as VHD.
Is what I am doing is useless? Because it came to my mind that if the recovered userdata partition is encrypted I will not be able to opened it, however, TWRP can browse the files so I guess it is not encrypted.
Click to expand...
Click to collapse
You may need to convert the file type of the img using simg2img, make_ext4fs, etc
You can see what the file system type of the img you have by running:
file blahblah.img
But still don't think you're going to recover them but possibly lol never tried as I sync everything to a cloud
SilverDove said:
Is it possible to mount data partition on PC or USB to recover data?
Edit: I meant userdata partition
Click to expand...
Click to collapse
For backing up app data, I'm more of a Titanium Backup person myself and for backing up partitions I generally prefer TWRP, but there are also apps for backing up all the different partitions as well. This is just one. Never tried it, but Wanam is a much trusted developer in the XDA community for Samsung devices.
https://play.google.com/store/apps/details?id=ma.wanam.partitions
NOTE: You can always save these backups to a USB OTG device if you need to as well. That's what I do with my Titanium Backup app data files and the information is with me all the time hanging on my key chain.(More info about that under "No SD Card Slot" on this post HERE.) This information can of course always be copied to a PC too.