Can I flash an encrypted device? - General Questions and Answers

Hi,
I have a Galaxy Note 4, running on TWRP 2.8.5 and on OS 6.0.1. I am into a tricky issue as the device is encrypted, and I am unable to load to it, as upon booting into the OS it throws a tantrum about the device being encrypted. I'm unable to factory data reset it via the TWRP as well. The device is not rooted. Long story short, I dont care about the contents and I'm willing to flash to the OEM firmware. Will I be able to do this? The device is not carrier locked. Is there any pre-requisites to check?
Please advise, and many thanks.

abhishek_turbo911 said:
Hi,
I have a Galaxy Note 4, running on TWRP 2.8.5 and on OS 6.0.1. I am into a tricky issue as the device is encrypted, and I am unable to load to it, as upon booting into the OS it throws a tantrum about the device being encrypted. I'm unable to factory data reset it via the TWRP as well. The device is not rooted. Long story short, I dont care about the contents and I'm willing to flash to the OEM firmware. Will I be able to do this? The device is not carrier locked. Is there any pre-requisites to check?
Please advise, and many thanks.
Click to expand...
Click to collapse
I would flash the latest TWRP image, format all partitions and then flash the stock firmware or a new rom to get rid of the issue.

LS.xD said:
I would flash the latest TWRP image, format all partitions and then flash the stock firmware or a new rom to get rid of the issue.
Click to expand...
Click to collapse
Hi, thanks for your reply.
When trying to install the rom, I received the error as below.
{
"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"
}
I tried the following as well but I received the same error when I attempted to install the rom:
1. Go to Wipe > Advance Wipe > Selected system & data > swipe to wipe
2. Went to Wipe > Format Data > typed yes > and wiped successfully.

Hello, what is your phone's model?

LS.xD said:
I would flash the latest TWRP image, format all partitions and then flash the stock firmware or a new rom to get rid of the issue.
Click to expand...
Click to collapse
-Hope- said:
Hello, what is your phone's model?
Click to expand...
Click to collapse
Hi, It is Galaxy Note 4 N910G

Hello, here is the latest twrp for your device
flash it through Odin:
https://dl.twrp.me/trlte/twrp-3.1.1-0-trlte.img.tar.html
Allow modification then go to wipe > format data > type yes
Then reboot to recovery again and flash the rom

-Hope- said:
Hello, here is the latest twrp for your device
flash it through Odin:
https://dl.twrp.me/trlte/twrp-3.1.1-0-trlte.img.tar.html
Allow modification then go to wipe > format data > type yes
Then reboot to recovery again and flash the rom
Click to expand...
Click to collapse
This actually helped. I was able to flash emotion rom, but I'm unable to flash the official samsung rom downloaded from sammobile. I downloaded the rom file twice, but it simply refuses to install, with the error "failed to map file" and "error installing zip file".

Hello,
Official Samsung ROMs are flashed using Odin, twrp only flashes image and zip files not tar files

Related

[URGENT HELP NEEDED]Stuck at flashing stock image

Hi guys,
I just tried to revert my nexus 5 to stock. I was running the stock rom with a custom kernel which caused a lot of lag issues for me.
What I did: fully wiped the device in TWRP and afterwards I let the Nexus Root Toolkit download and install the default 4.4.2 factory image. (flash stock + unroot)
However, during the process, it stucks at erasing userdata.
{
"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"
}
So afterwards, I decided to plug the device out and let it reboot. However, stucks at the bootanimation.
I am however able to boot into the bootloader and do the flashstock process again. Time after time it stucks at erasing userdata. Is this the final step of the process? the system is flashed to in theory it should be able to boot. When I try to boot into the recovery, it shows a 'dead' android.
Can someone please tell me what to do? I might have wiped the internal memory in TWRP which might be the cause.
sjondenon said:
Hi guys,
I just tried to revert my nexus 5 to stock. I was running the stock rom with a custom kernel which caused a lot of lag issues for me.
What I did: fully wiped the device in TWRP and afterwards I let the Nexus Root Toolkit download and install the default 4.4.2 factory image. (flash stock + unroot)
However, during the process, it stucks at erasing userdata.
So afterwards, I decided to plug the device out and let it reboot. However, stucks at the bootanimation.
I am however able to boot into the bootloader and do the flashstock process again. Time after time it stucks at erasing userdata.
Can someone please tell me what to do? I might have wiped the internal memory in TWRP which might be the cause.
Click to expand...
Click to collapse
Use a USB 2 port. USB 3 doesn't work well with adb.
aooga said:
Use a USB 2 port. USB 3 doesn't work well with adb.
Click to expand...
Click to collapse
I gave my usb 2 port a try and now it has finished flashing. THANK YOU VERY MUCH
sjondenon said:
I gave my usb 2 port a try and now it has finished flashing. THANK YOU VERY MUCH
Click to expand...
Click to collapse
No problem. Just remember that for next time

[cofface] [3.1.1-0]Twrp recovery for Huawei Nova2

Hi guys,
I made the TWRP from TeamWin official sources for Huawei Nova2 . You can download the img and flash it from fastboot.
Bootloader unlocked required!
Installation:
Unlock bootloader (skip if you have already unlocked it)
Reboot into fastboot mode
Flash using
Code:
HTML:
fastboot flash recovery cofface_pic_al00_recovery_en.img
Reboot
Download:
AndroidFileHost
Bugs:
When device is encrypted you can't see the files into recovery
Let me know if there are others
if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc:fingers-crossed:
PAYPAL DONATION LINK
email:[email protected]
Unfortunately It is not working!
After flashing your file there is still the Huawei EMUI Bootloader and no TWRP. Bootloader was unlocked before. Fastboot was working fine.
Any idea?
Problem with Google GAPPS
Hi,
Thank you for your tuto and your ROM
I have bought my nova 2 in china.
Do you know how to install GAPPS. I have tried different version (stock, pico,.. ) but it's no use.
Do you know if I have to change the region first ?
Is it ok with your ROM ?
Regards
Perfect
Perfect, thank you!
Not working
Hello,
TWRP ist not working for me, I still have the EMUI bootloader after flash and reboot.
Boot into TWRP Recovery ("fastboot boot cofface_pic_al00_recovery_en.img") is aborted with:
"FAILED (remote: Command not allowed)"
Is there anything I've done wrong?
Thx!
dr.luther.1517 said:
Perfect, thank you!
Click to expand...
Click to collapse
did it work with your Nova 2?
i have got a demo device ( from germany ). Can some one upload his OEM info for a normal device ?
And yeah... it works
Success
Works very well, Thanks !
But ... while playing with it I lost the stock ROM for my Huawei Nova 2.
Since there is no download source available, could anybody share a stock ROM backup so I could restore using Twrp ?
Thanks !
My Nova 2 (PIC-LX9C432) automatically encrypts the disk after the first run, and then TWRP is unable to read /data partition nor do nandroid backups as a result. Can someone guide on how to disable encryption or get TWRP to decrypt data.
I read elsewhere that newer versions of TWRP are able to decrypt if you set a password / screen lock.
WARNING!!!! DO NOT FLASH THIS RECOVERY
Ideally cofface should remove this thread as flashing this recovery causes harm and no good. This TWRP port does not detect nor decrypt encryption on the 'data' partition and hence you will not be able to root your device nor take a nandroid backup.
What's worse, you will loose your recovery partition and will not be able to flash any other stock Nova 2 firmware updates.
If you have not yet flashed recovery and have the stock, please do a backup of your stock recovery and upload for the benefit of those who have lost it because of this recovery. See this thread...
https://forum.xda-developers.com/nova-2/help/help-restore-stock-recovery-t3741034
jusma said:
WARNING!!!! DO NOT FLASH THIS RECOVERY
Ideally cofface should remove this thread as flashing this recovery causes harm and no good. This TWRP port does not detect nor decrypt encryption on the 'data' partition and hence you will not be able to root your device nor take a nandroid backup.
What's worse, you will loose your recovery partition and will not be able to flash any other stock Nova 2 firmware updates.
If you have not yet flashed recovery and have the stock, please do a backup of your stock recovery and upload for the benefit of those who have lost it because of this recovery. See this thread...
https://forum.xda-developers.com/nova-2/help/help-restore-stock-recovery-t3741034
Click to expand...
Click to collapse
Perhaps you could get some tips from nova (1) thread there we had the same problems. But so long we have a working twrp with backup possibility.
Hi, i used this Twrp, but did not notice the error mesaje when i "create" a back up for all my data, then when deleting some things, i went off the road and ended deleting the complete operative system, and know i dont seem to be able to find a room for my phone is a huawei p10selfie(in my country) or huawei nova 2 plus (in the rest of the world) model BAC-L03, sry if i dont use the correct words, since english is not my native lenguaje
I was installing this twrp in Nova 2i and it get bricked ...I can only open TWRP which is just usless i can't flash anything from TWRP coz TWRP is not able to mount anything .Bootloader won't start and even my pc can't detect my phone. Any hope ?
iamramanlmc said:
I was installing this twrp in Nova 2i and it get bricked ...I can only open TWRP which is just usless i can't flash anything from TWRP coz TWRP is not able to mount anything .Bootloader won't start and even my pc can't detect my phone. Any hope ?
Click to expand...
Click to collapse
Nova 2i is Mate 10 Lite! https://forum.xda-developers.com/ma...e--roms-kernels-recoveries--other-development
{
"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"
}

bootloop in recovery after forced OTA update.

Hi,
I was running the latest stock Android 8 firmware for the op6 with magisk & twrp.
I delayed the firmware update since month then yesterday I was forced to update.
My phone reboot everything was fine. no twrp & no root anymore because of the update.
I booted in latest twrp (fastboot boot twrp.img....) then I flashed the twrp.zip. After reboot I flashed magisk.zip.
After the latest reboot phone stuck for ~30 sec at the warning message saying boot-loader unlock blablalbla. then the phone reboot again and put me in twrp.
What can I do from there ?
Thanks for you help.
Julian.
Do I need to use this method to start from scratch ?
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
You have used the latest blue spark TWRP? If not you should do it
Try booting to the other slot
Deacon-Frost said:
You have used the latest blue spark TWRP? If not you should do it
Click to expand...
Click to collapse
I installed the last twrp on official website its not the one ?
I manage to boot the OS with a factory reset on twrp but I lost all my apps. only magisk app what installed. (because it was installed as a system app?)
I flashed the zip again and now it's everything is working but I can't install netflix... so it seems I'm not systemless :/
if you have any idea on how to make all the things right again it will be nice :good:
thanks for you help
foomanjackel said:
Try booting to the other slot
Click to expand...
Click to collapse
I'm still struggling with this A & B. last time I was on twrp it show me I was on B I think
you need to flash two times the full rom, flash rom flash twrp reboot to twrp, flash rom flash twrp, reboot to twrp flash magisk, reboot
Toni Moon said:
you need to flash two times the full rom, flash rom flash twrp reboot to twrp, flash rom flash twrp, reboot to twrp flash magisk, reboot
Click to expand...
Click to collapse
two time like on A and on B ?
how to boot A to B or B to A ?
when you flash one time and reboot to recovery and flash the rom again,you flash the rom in two slots, you didn't need change slots
I had the same problem, boot loops after rooting the recent OTA update. after soem troubleshooting with TWRP and not really getting anywhere I accidentally wiped the phone (stuck in the Chinese menus, was a mistake). prolly for the best, working great after re-flashing the OTA.
Toni Moon said:
when you flash one time and reboot to recovery and flash the rom again,you flash the rom in two slots, you didn't need change slots
Click to expand...
Click to collapse
Understood !
When I flash magisk for the last step do I need to swipe right "to allow modification"? if I want to be systemless?
A guy is talking about that here and I'm confuse about that => https://forum.xda-developers.com/showpost.php?p=76564294&postcount=6
{
"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"
}

Problem with Magisk

I have a problem installing Magiks on Motorola G7 Power.
I unlocked bootloader and installed TWRP
Then i flashed Magik and DisablebDM Verity.
My phone was rooted, Installed apps and modules. I renamed Magisk Manager to hide it.
Everything was fine. But then one od apps was still able to see that my bootloader was unlocked so i restored Magisk Manager and renamed it again and i wanted to reboot my device, but it fot stuck in a bootloop so i turned on TWRP to flash Magisk again but all phone files were encrypted. I wiped dataand the files seemed fine. But now if I flash Magisk the phone is stuck in a bootloop and the only thing that is fixing it is using TWRP bootloop fix grom advanced options but the device boots up root checker data it's not rooted properly.
What can I do to fix this and install Magisk?
Re-flash Stock ROM.
jwoegerbauer said:
Re-flash Stock ROM.
Click to expand...
Click to collapse
Can I just flash it through TWRP? Or do I need to use other method?
Sorry but this is my first time rooting device.
You flash a device's Stock ROM by means of ADB
Code:
adb devices
adb reboot sideload
adb sideload <PATH-TO-STOCK-ROM-ZIP-FILE-ON-PC>
dude reading this thread give me headache and some magisk modules could cause bootloop due to incompatibility with your OS going back to stock rom will be provably your best choice or you can try to uninstall the magisk module before the bootloop has happened
Thanks for help but I don't think I'm going to flash my stock rom, I am too scared to do that
Also I don't have any modules installed right now because i wiped my device using TWRP
Sarreos said:
Also I don't have any modules installed right now because i wiped my device using TWRP
Click to expand...
Click to collapse
well at least you can still acccess TWRP thats a good thing
I managed to reboot my system without magisk it just bootloops when I flash it
Sarreos said:
I managed to reboot my system without magisk it just bootloops when I flash it
Click to expand...
Click to collapse
have you tried wipe data/factory reset and wipe cache partition via recovery mode?
I wiped data in recovery mode because the files were encrypted but after that whenever I flash Magisk my phone just gets stuck in bootloop
Sarreos said:
I wiped data in recovery mode because the files were encrypted but after that whenever I flash Magisk my phone just gets stuck in bootloop
Click to expand...
Click to collapse
have you tried tried not using TWRP to install Magisk and using the Magisk Manager apps instead ??
you can download the latest version apk here https://github.com/topjohnwu/Magisk/releases/tag/manager-v8.0.7
You mean the patched image?
Sarreos said:
You mean the patched image?
Click to expand...
Click to collapse
you already have the patched image that the Magisk Manager apps provided?
I have flashable Magisk-v21.4.zip
I was installing it using TWRP
I just remembered that before I rebooted and got stuck in a bootloop I deleted BusyBox module using Magisk Manager.
Sarreos said:
I was installing it using TWRP
Click to expand...
Click to collapse
Currently does your Magisk Manager tell the Magisk version installed ?? if not you don't have Magisk successfully flashed Magisk yet
{
"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"
}
.

Question Poco X3 Pro Bricked - Boots to Fastmode

I unlocked my phone, installed TWRP through fastboot, booted recovery, wiped and installed LineageOS. System didnt wanted to boot up so I went back to recovery where I wanted to wipe all and try installing again.
TWRP didn't saw my internal storage. I didnt know what to do, so I decided to download MiFlash and install stock rom, but I got error: "error:Sending sparse 'userdata' 1/3 (740908 KB) FAILED (Error reading sparsefile)" and now my phone boots to fasboot mode.
When I try to go recovery I get stock recovery. Is there anyway to revive my phone? It's m2101j20sg model.
crashykk said:
I unlocked my phone, installed TWRP through fastboot, booted recovery, wiped and installed LineageOS. System didnt wanted to boot up so I went back to recovery where I wanted to wipe all and try installing again.
TWRP didn't saw my internal storage. I didnt know what to do, so I decided to download MiFlash and install stock rom, but I got error: "error:Sending sparse 'userdata' 1/3 (740908 KB) FAILED (Error reading sparsefile)" and now my phone boots to fasboot mode.
When I try to go recovery I get stock recovery. Is there anyway to revive my phone? It's m2101j20sg model.
Click to expand...
Click to collapse
Reboot your phone and observe on the top part of the phone while there is the POCO logo showing.
1) If there is an unlocked lock icon on the top, you should be able to rescue with TWRP.
{
"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"
}
Type the fastboot code to get to TWRP again so you can flash ROMs.
Read here for ROM flashing tutorial.
https://forum.xda-developers.com/t/4288121/post-85137963
Step 16 is a must.
2) If you did not see this icon during booting POCO logo, chances are you accidently locked your bootloader with MiFlash. In this case, find Xiaomi repair center for warranty support.
I know how to flash a rom, but TWRP does not see my internal storage. Like it wasnt there.
edit:
I flashed Orangefox recovery and it did the trick. I was able to place some rom on internal storage and install it, but now i have 12 gb of storage instead of 233gb?
edit:2
I formated data and it went back to normal. Now i have my 256gb back.
I think you were encrypted, please read more online and follow rom flashing instructions. You didn't follow it that's why you were in trouble.
I flashed, rooted, unbricked a lot phones back in the Samsung S6 days. Even Redmi Note 5 Pro from xiaomi, but never heard of something like rom encrypting your access in recovery.
I didnt flashed custom roms on my Samsung s8 and s9, cuz they had fine software. MIUI 12 is so bad that I considered selling that Poco.
You didn't follow instructions, TWRP works perfectly fine. And the step you missed is Formatting Data partition after flashing ROM which decrypts it. (thus why you couldn't access internal storage or boot)
And you will run into same issue with OrangeFox aswell if you do the same mistake. Flashing procedure is a lot different in new smartphones.
I didn't follow, cuz I didn't know that flashing procedure is a lot different in new smartphones. I looked at it, it looked very similar, so I went with old habits. Now I know what to expect.

Categories

Resources