Related
So i encrypted my device, i tried to do a full wipe in cwm but it cant access the data path oft the phone, how do i decrypt my phone?
And sorry for my Bad english its not my native language.
Use fastboot to flash a stock image from Google.
You'll need the Android SDK. Use "adb reboot bootloader" to put the phone in fastboot mode. Then use fastboot to flash the image. Once the stock image is on there, you can do whatever you need to do to get it back up and running. This will wipe your data.
twrp allows decryption of the file system.
Sent from my i9250
Well, Long story short, I flashed Freedom OS on my Oneplus 3 and things went poorly. I set up a passcode and when my device booted, the passcode was somehow changed to one other than what I had put. Not only that, I seem to have no recovery on my device either. Basically I can boot into my lockscreen where I'm basically screwed, and I can mess with fastboot but I'm unable to flash a rom, twrp wont flash either. Please help, will do anything.
bparisi15 said:
Well, Long story short, I flashed Freedom OS on my Oneplus 3 and things went poorly. I set up a passcode and when my device booted, the passcode was somehow changed to one other than what I had put. Not only that, I seem to have no recovery on my device either. Basically I can boot into my lockscreen where I'm basically screwed, and I can mess with fastboot but I'm unable to flash a rom, twrp wont flash either. Please help, will do anything.
Click to expand...
Click to collapse
Did you try the mega unbrick guide ? http://forum.xda-developers.com/oneplus-3/how-to/guide-mega-unbrick-guide-hard-bricked-t3405700
bparisi15 said:
Well, Long story short, I flashed Freedom OS on my Oneplus 3 and things went poorly. I set up a passcode and when my device booted, the passcode was somehow changed to one other than what I had put. Not only that, I seem to have no recovery on my device either. Basically I can boot into my lockscreen where I'm basically screwed, and I can mess with fastboot but I'm unable to flash a rom, twrp wont flash either. Please help, will do anything.
Click to expand...
Click to collapse
Recovery:
I assume you are on FreedomOS CE, have you flash the recovery who's recommended for the CE version?
If no, read the op: http://forum.xda-developers.com/oneplus-3/development/rom-freedomos-ce-1-7-t3470660
and use this command in fastboot:
Code:
fastboot flash recovery twrp-3.0.2-19-oneplus3.img
Lockscreen / data:
Because you have set a passcode at the booting time (not the basic lockscreen).
You can't restore all your data, because all the partition is now encrypted, the only way to access to that is to use the passcode.
The only way to fix that is to format your data partition in fastboot (not twrp).
Code:
fastboot format userdata
NevaX1 said:
Recovery:
I assume you are on FreedomOS CE, have you flash the recovery who's recommended for the CE version?
If no, read the op: http://forum.xda-developers.com/oneplus-3/development/rom-freedomos-ce-1-7-t3470660
and use this command in fastboot:
Code:
fastboot flash recovery twrp-3.0.2-19-oneplus3.img
Lockscreen / data:
Because you have set a passcode at the booting time (not the basic lockscreen).
You can't restore all your data, because all the partition is now encrypted, the only way to access to that is to use the passcode.
The only way to fix that is to format your data partition in fastboot (not twrp).
Code:
fastboot format userdata
Click to expand...
Click to collapse
THANK YOU SO MUCH! The data format completely fixed it for me, thank you so much!
I have rooted my OP3 and manually updated to 3.2.6 O2 os,but unfortunately device get unrooted and no custom recovery is there.But now i want to root and install custom recovery but Facing problem with ADB Interface Device can't be detected in Fastboot mode????please help me out.
Hi,
I have a unique problem. I cant go into fastboot. Yes, fastboot on my OPT is not a opltion.
I cant instal TWRP. I can't wipe the OS to flash a new one.
My question is this:
Is there a way to wipe the partitions on a android phone via windows or something?
This problem is created by me. Somehow I flash OOS over CM (??)
So when my phone boots (bootloader is unlocked) I will see 2 boot sequences wich prevents me from accesing the fastboot menu.
The solution I see is this: Enter TWRP --> Wipe all but USB-OTG ...
Anyway, I hope there is a android Einstein here because I'm at a loss..
Feel free to ask any questions and pls help me!
Grt TwoChill
TowChill said:
Hi,
I have a unique problem. I cant go into fastboot. Yes, fastboot on my OPT is not a opltion.
I cant instal TWRP. I can't wipe the OS to flash a new one.
My question is this:
Is there a way to wipe the partitions on a android phone via windows or something?
This problem is created by me. Somehow I flash OOS over CM (??)
So when my phone boots (bootloader is unlocked) I will see 2 boot sequences wich prevents me from accesing the fastboot menu.
The solution I see is this: Enter TWRP --> Wipe all but USB-OTG ...
Anyway, I hope there is a android Einstein here because I'm at a loss..
Feel free to ask any questions and pls help me!
Grt TwoChill
Click to expand...
Click to collapse
Here you can find a recovery guide:
https://forums.oneplus.net/threads/guide-mega-unbrick-guide-for-a-hard-bricked-oneplus-3.452634/
I'd recommend methode 2, because it seems more east to do.
Good luck!
TowChill said:
Hi,
I have a unique problem. I cant go into fastboot. Yes, fastboot on my OPT is not a opltion.
I cant instal TWRP. I can't wipe the OS to flash a new one.
My question is this:
Is there a way to wipe the partitions on a android phone via windows or something?
This problem is created by me. Somehow I flash OOS over CM (??)
So when my phone boots (bootloader is unlocked) I will see 2 boot sequences wich prevents me from accesing the fastboot menu.
The solution I see is this: Enter TWRP --> Wipe all but USB-OTG ...
Anyway, I hope there is a android Einstein here because I'm at a loss..
Feel free to ask any questions and pls help me!
Grt TwoChill
Click to expand...
Click to collapse
If you are getting two boot screens, please confirm if this is what you see in your first boot screen:
some text which goes like "Your device cannot be trusted etc etc. fastboot oem lock something something"
If yes, press the volume buttons at this screen, which will take you to an "Options menu"
This will have options to power off, restart, recovery, fastboot, back to previous page.
use volume down buttons to move selection to fastboot and press power button to select fastboot.
This will take you to bootloader.
Alternatively:
Is the device getting identified by your computer when connected?
If yes, and if you have adb tools installed, try this command, after connecting to computer and selecting usb configuration as transfer files
adb devices
The result of this should show your device
then type:
adb reboot bootloader
This should take you to your bootloader screen.
pvramk said:
If you are getting two boot screens, please confirm if this is what you see in your first boot screen:
some text which goes like "Your device cannot be trusted etc etc. fastboot oem lock something something"
If yes, press the volume buttons at this screen, which will take you to an "Options menu"
This will have options to power off, restart, recovery, fastboot, back to previous page.
use volume down buttons to move selection to fastboot and press power button to select fastboot.
This will take you to bootloader.
Alternatively:
Is the device getting identified by your computer when connected?
If yes, and if you have adb tools installed, try this command, after connecting to computer and selecting usb configuration as transfer files
adb devices
The result of this should show your device
then type:
adb reboot bootloader
This should take you to your bootloader screen.
Click to expand...
Click to collapse
Thank you for your replay.
I have done all of this and i do understand how this works.
I have adb drivers installed, my computer does reconizes my phone and everything works even the reboot to bootloader via CMD. (adb devices, it shows, etc)
When my phone then tries to access the bootloader, it will show those messeges " this devices cant be trusted etc etc." afther 5 seconds again I see the the android logo (with a few lines of static on the bottom) (( that clearly is not right )) but it will show me again the same message " this devices cant be trusted etc etc" ... then it will just show me the battery icon and power precentage (this if I choose to boot to bootloader) or else it starts normally..
Clearly the flashing of CM failed. And with a sideload to install OxygenOS I can use it.. But it does prevents me from accessing the fastboot mode..
So Is there an alternative way to install TWRP without using the fastboot mode? Or is there an other way i can try to wipe the partitions inc. the os?
From there I know what to do.
TowChill said:
Thank you for your replay.
I have done all of this and i do understand how this works.
............
So Is there an alternative way to install TWRP without using the fastboot mode? Or is there an other way i can try to wipe the partitions inc. the os?
From there I know what to do.
Click to expand...
Click to collapse
well if you are rooted you can try using an app called flashify or flashfire to install twrp
pvramk said:
well if you are rooted you can try using an app called flashify or flashfire to install twrp
Click to expand...
Click to collapse
Thanks! Unfortunatly my phone isn't rooted anymore ..
I'm screwed right?
TowChill said:
Thanks! Unfortunatly my phone isn't rooted anymore ..
I'm screwed right?
Click to expand...
Click to collapse
When the display shows the battery % check if fastboot devices shows your device?
If not I'm sorry, I would not be of any more help to you my friend.
Hope someone more knowledgeable comes along and clears your problem....
TowChill said:
Thank you for your replay.
I have done all of this and i do understand how this works.
I have adb drivers installed, my computer does reconizes my phone and everything works even the reboot to bootloader via CMD. (adb devices, it shows, etc)
When my phone then tries to access the bootloader, it will show those messeges " this devices cant be trusted etc etc." afther 5 seconds again I see the the android logo (with a few lines of static on the bottom) (( that clearly is not right )) but it will show me again the same message " this devices cant be trusted etc etc" ... then it will just show me the battery icon and power precentage (this if I choose to boot to bootloader) or else it starts normally..
Clearly the flashing of CM failed. And with a sideload to install OxygenOS I can use it.. But it does prevents me from accessing the fastboot mode..
So Is there an alternative way to install TWRP without using the fastboot mode? Or is there an other way i can try to wipe the partitions inc. the os?
From there I know what to do.
Click to expand...
Click to collapse
If nothing works, try method 2 from the Hard Brick guide from Naman Bhalla.
Hi.
So I was messing around with the twrp custom recovery and (without thinking much of it) wiped everything in the advanced wipe menu :crying: (System, data, EVERYTHING)
I knew I had removed my OS and that I could just use the twrp recovery to install a new rom onto my phone BUT little did I know, when I tried to boot into the custom recovery, it would just loop the screen with the redmi logo
I am still able to boot into fastboot mode, and I have tried to flash the same twrp recovery but with no avail (It still loops the redmi logo screen)
So now I'm here to ask if there is any advice that you could give me to try and fix this problem that I have gotten myself in (I am not worried about deleting any of my personal files. I would just like to get twrp to boot so that I can install another rom)
Thanks in advance to anyone who can help me with this problem :highfive:
Hi, which rom are you trying to install? for android 9 use this recovery https://forum.xda-developers.com/re...overy-unofficial-twrp-recovery-redmi-t4002397, for android 10 this one... https://forum.xda-developers.com/showpost.php?p=82062075&postcount=7...
If what nuvulet said doesn't work, in fastboot, flash the exact same stock ROM you had before, let it boot and then flash TWRP.
nuvulet said:
Hi, which rom are you trying to install? for android 9 use this recovery https://forum.xda-developers.com/re...overy-unofficial-twrp-recovery-redmi-t4002397, for android 10 this one... https://forum.xda-developers.com/showpost.php?p=82062075&postcount=7...
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
The stock android I had before I wiped everything was android 9, MIUI 11. I tried againt to flash the recovery through fast boot but (like before) when I try to boot into the recovery (by holding the volume up button as it reboots), the redmi logo keeps appearing and disappearing and doesn't go to the twrp recovery. At the current moment I don't have any OS installed (since it got deleted when I wiped everything)
Any other leads I could try?
wang1chung said:
If what nuvulet said doesn't work, in fastboot, flash the exact same stock ROM you had before, let it boot and then flash TWRP.
Click to expand...
Click to collapse
I'm not sure how I can flash the stock ROM without the twrp recovery. I had the impression that you needed twrp recovery in order to install ROMs in the first place.
If there is a method to flash a ROM using fastboot, please explain since my unexperienced self has no idea how to do this. :laugh:
Thanks for the fast reply too
Sqorpz said:
I'm not sure how I can flash the stock ROM without the twrp recovery. I had the impression that you needed twrp recovery in order to install ROMs in the first place.
If there is a method to flash a ROM using fastboot, please explain since my unexperienced self has no idea how to do this. :laugh:
Thanks for the fast reply too
Click to expand...
Click to collapse
MiFlash works through fastboot mode. It's also safer to flash with MiFlash, just make sure you have the correct ROM.
I can't find the guide right now, I'm at work
Ok, do you know adb fastboot... if not, follow this guide...
https://forum.xda-developers.com/showthread.php?t=2317790
Install usb adb drivers for RN8P if you don't have, try this for w10...
https://forum.xda-developers.com/redmi-note-8-pro/help/usb-drivers-t4035617
Download twrp for android 9 or android 10 from here...
https://forum.xda-developers.com/showpost.php?p=82115341&postcount=2
Put the recovery (*.img format) into installed adb folder...
Open cmd and navigate to inside adb folder...
Put the phone into fastboot mode (press volume- and power) connect usb and type in console...
adb devices (this start adb server)
Type...
fastboot devices (this return a device number, if not, something is wrong)
Type...
fastboot flash recovery *.img (change * for the name of the recovery file)
Disconnect the phone and press volume+ and power at the same time and now you have twrp intalled...
When start if the data is encrypted, push cancel, go to wipe, go to format data, type "yes", and confirm slide...
Now connect the phone to usb (if not recognize the phone, go to mount, and enable MTP)
Copy the rom in to internal storage for your android twrp version... search here
https://forum.xda-developers.com/redmi-note-8-pro/how-to/redmi-note-8-pro-android-10-public-t4072795
You have several versions... for eu, search in my post...
And the rest, install, select, etc. etc....
nuvulet said:
Ok, do you know adb fastboot... if not, follow this guide...
https://forum.xda-developers.com/showthread.php?t=2317790
Install usb adb drivers for RN8P if you don't have, try this for w10...
https://forum.xda-developers.com/redmi-note-8-pro/help/usb-drivers-t4035617
Download twrp for android 9 or android 10 from here...
https://forum.xda-developers.com/showpost.php?p=82115341&postcount=2
Put the recovery (*.img format) into installed adb folder...
Open cmd and navigate to inside adb folder...
Put the phone into fastboot mode (press volume- and power) connect usb and type in console...
adb devices (this start adb server)
Type...
fastboot devices (this return a device number, if not, something is wrong)
Type...
fastboot flash recovery *.img (change * for the name of the recovery file)
Disconnect the phone and press volume+ and power at the same time and now you have twrp intalled...
When start if the data is encrypted, push cancel, go to wipe, go to format data, type "yes", and confirm slide...
Now connect the phone to usb (if not recognize the phone, go to mount, and enable MTP)
Copy the rom in to internal storage for your android twrp version... search here
https://forum.xda-developers.com/redmi-note-8-pro/how-to/redmi-note-8-pro-android-10-public-t4072795
You have several versions... for eu, search in my post...
And the rest, install, select, etc. etc....
Click to expand...
Click to collapse
Yes, this is the method I used to flash the twrp recovery.
My problem was that even after installing it (using this method), i would still not be able to boot into the recovery.
However, it is fixed now. I used the Mi Flash tool in order to install the stock rom and then installed twrp after that. :good:
wang1chung said:
MiFlash works through fastboot mode. It's also safer to flash with MiFlash, just make sure you have the correct ROM.
I can't find the guide right now, I'm at work
Click to expand...
Click to collapse
I tried this method and IT WORKED!!
After installing Mi flash I was able to download the stock rom and install it through the program without any errors.
I was then able to finally boot into the OS and install twrp recovery, then install the custom rom! :laugh:
Thanks for this method. I would probably still be stuck on the Redmi logo if it weren't for this
Hello friends,
My phone is already unlocked, with the rom Global stock Miui 12 stable installed. I would like to root without loosing data, is it possible or not?
Please, advice for an easy tuto.
Thanks
If you have a PC/laptop and have ADB/fastboot tools installed, and can comfortably use terminal/command line then it's very easy to do.
Use fastboot to flash TWRP to recovery, then flash Magisk from recovery to get root. You won't lose any data.
https://forum.xda-developers.com/mi-9-se/development/twrp-3-3-1-3-mi9se-t3949328
Peace
chris5s said:
If you have a PC/laptop and have ADB/fastboot tools installed, and can comfortably use terminal/command line then it's very easy to do.
Use fastboot to flash TWRP to recovery, then flash Magisk from recovery to get root. You won't lose any data.
https://forum.xda-developers.com/mi-9-se/development/twrp-3-3-1-3-mi9se-t3949328
Peace
Click to expand...
Click to collapse
That's a good news. It's very good to know that it's possible, thank you. I have already ADB/fastboot tools installed on my PC also. However, the process that you are speaking about seems to me not easy (to really understand) as I'm really new.
The last time i tried to root, i had a problem with the encryption (impossible to install Magisk because all Data in TWRP was encrypted and illisible).
Anymore help, someone can explain me with more details, please?
When you go to TWRP it will ask for the device password in order to decrypt your data. This is the pin/unlock code you used when setting up device security, ie fingerprint, to unlock the screen.
After entering the password in TWRP all your files/folders will be visible and you'll be able to flash Magisk.
Hope that helps....
chris5s said:
When you go to TWRP it will ask for the device password in order to decrypt your data. This is the pin/unlock code you used when setting up device security, ie fingerprint, to unlock the screen.
After entering the password in TWRP all your files/folders will be visible and you'll be able to flash Magisk.
Hope that helps....
Click to expand...
Click to collapse
Unfortunately, it's not work for me.
I open ADB, then cmd.exe (from here), when i type ADB devices, it's show my device and while I'm in fastboot on my phone, and i type "fastboot flash recovery twrp-3.4.0-1-grus.img" (this file is in ADB folder) and then my phone turn off by itself with black screen and saying with very small scripts "press key to shutdown" while nothing more on cmd.exe...
I finally successful!!!
I connected my phone to the computer and go to device managers to delete the drivers installed and install again clearly the usb drivers (qualcomm) flash twrp was impossible due to the drivers on the laptop and now everything work well, i follow the steps as indicated and Magisk is installed.
Thank you