Before I install Android N. Is there a way to disable encryption on Nexus 9 on Android N or will disabling it on Marhsmallow stop Android N from booting?
kalinskym said:
Before I install Android N. Is there a way to disable encryption on Nexus 9 on Android N or will disabling it on Marhsmallow stop Android N from booting?
Click to expand...
Click to collapse
You can try this .zip. I use on Marshmallow, and it works great. Flash it in TWRP > http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
Thanks for the reply. Can I flash it in Android N on stock recovery without losing data? If flashed on TWRP will I lose my data
kalinskym said:
Thanks for the reply. Can I flash it in Android N on stock recovery without losing data? If flashed on TWRP will I lose my data
Click to expand...
Click to collapse
You can't flash it in stock recovery. Only TWRP. And after you flash it you have to wipe/format data to get to an unencrypted state. Sorry, no other way.
I flashed it in TWRP and it didn't work in Android N. I'm very confused , not sure what I can do next
kalinskym said:
I flashed it in TWRP and it didn't work in Android N. I'm very confused , not sure what I can do next
Click to expand...
Click to collapse
Did you read, and understand what I posted above? It won't "work" until you wipe/format storage in TWRP or fastboot, after you flash the .zip.
Ah. Now that I flashed it, can I just wipe the data and it will remember it from a couple of hours ago when flashed.
Thanks for the reply.
Will it be possible to backup my userdata in TWRP and then wipe and restore, it will be not encrypted anymore?
Thanks! You have helped me solve it.
Just to clarify - if you're unencrypted and flashed this patch before booting Android N, did it work to keep your unencrypted device from getting encrypted?
Thanks
badwiring said:
Just to clarify - if you're unencrypted and flashed this patch before booting Android N, did it work to keep your unencrypted device from getting encrypted?
Thanks
Click to expand...
Click to collapse
If you are unencrypted before flashing N (and you already TWRP installed), you can flash system.img, boot.img, and vendor.img in fastboot. After flashing the last .img file, take your hands off your keyboard, pick up your device and use the volume key to navigate to "Recovery". Select that with the power button. You will boot to TWRP. Flash the .zip file I posted in the 2nd post, above. Yes, you should remain unencrypted.
is a wipe/format data the same as a factory reset?
waiting4mynexus said:
is a wipe/format data the same as a factory reset?
Click to expand...
Click to collapse
I don't think so. Format Data completely formats the Data partition, which erases everything. Factory Reset typically deletes a bunch of folders in the Data partition (/data/data, /data/apps, /data/dalvik-cache, etc.), but not the entire partition.
The thing I'm not clear on is, there are 3 places to do a Factory Reset (Fastboot/bootloader, TWRP/Recovery, From The OS (Settings>Backup&Reset)), and I'm not sure they all do exactly the same thing.
sorry for dumb question..what are function unencrypted for..and how to know my device unencrypted or not..thank you
I have a brand new Motorola G5 Plus Stock Rom, i had the same issue of encrypted phone under Settings/Security, i unlock the bootloader and flash the recovery TWRP 3.2.1, i had the same problem, TWRP asked for password for decrypt partitions, i downloaded the TWRP 3.1.1, reboot recovery and that was all, i was enable to read all my content in SDCARD and flash root.... I didn't wipe data or format or factory reset, no data loss.
Related
Hello guys, i have a problem, i tried to install RR 5.7.4 via TWRP ZCX, but the first boot asks me for a password
PS: I tried flashing RR while i was in MIUI 8 global stable
Factory reset in TWRP.
using TWRP filemanager go to /data/system
Delete all .key files and also delete locksettings.db file.
Reboot enjoy
Guys, my TWRP ZCX crashed, it is stuck on its logo
theoneofgod said:
Factory reset in TWRP.
Click to expand...
Click to collapse
HI, I am also facing same issue. For every boot I am being asked to draw the pattern. Factory reset in TWRP will not effect my current rom and data stuff ????
[email protected] said:
HI, I am also facing same issue. For every boot I am being asked to draw the pattern. Factory reset in TWRP will not effect my current rom and data stuff ????
Click to expand...
Click to collapse
Yes it will.
Do what's said here https://forum.xda-developers.com/showpost.php?p=70354200&postcount=3
theoneofgod said:
Yes it will.
Do what's said here https://forum.xda-developers.com/showpost.php?p=70354200&postcount=3
Click to expand...
Click to collapse
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
[email protected] said:
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
Click to expand...
Click to collapse
What he suggested will delete the lockscreen password/passcode etc so you can boot the phone without any prompts. You do this within TWRP.
theoneofgod said:
What he suggested will delete the lockscreen password/passcode etc so you can boot the phone without any prompts. You do this within TWRP.
Click to expand...
Click to collapse
Many thanks guys..You are quite supportive :angel:
[email protected] said:
Thanks for the info
Can you explain what is this feature? because I didn't get this when i am in miui 8. But as soon as I flashed ZCX TWRP and installed RR I started getting this. Thanks in Advance
Click to expand...
Click to collapse
this is because force encryption of internal storage. do a factory reset in twrp after flashing lazy flasher. and if its stuck on twrp boot logo thn u have to flash latest fastboot dev rom through miflash. thn unlock bootloader thn flash twrp thn flash lazy flasher thn factry reset. .
hope it helps
smustafasms said:
this is because force encryption of internal storage. do a factory reset in twrp after flashing lazy flasher. and if its stuck on twrp boot logo thn u have to flash latest fastboot dev rom through miflash. thn unlock bootloader thn flash twrp thn flash lazy flasher thn factry reset. .
hope it helps
Click to expand...
Click to collapse
oh in that case, should I have to factory reset everytime I flash a rom through my TWRP? I use ZCX TWRP, so Lazy flasher is not required after rom flashing right?
you just need it once . to decrypt your storage
[email protected] said:
oh in that case, should I have to factory reset everytime I flash a rom through my TWRP? I use ZCX TWRP, so Lazy flasher is not required after rom flashing right?
Click to expand...
Click to collapse
In the information about the ZCX TWRP I found below:
ZCX TWRP : http://forum.xda-developers.com/redm...persu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
Should I have to tweak anything in TWRP settings to remove this dm-verify flag everytime?
[email protected] said:
In the information about the ZCX TWRP I found below:
ZCX TWRP : http://forum.xda-developers.com/redm...persu-t3462448
- Based on official TWRP 3.0.2-0
- Patches boot.img automatically (Removes dm-verity flag)
- Disables forced encryption
Should I have to tweak anything in TWRP settings to remove this dm-verify flag everytime?
Click to expand...
Click to collapse
no ,but you should flash lazy flasher once . to decrypt ur internal storage. dm-verity flag does nothing to decrypt storage
smustafasms said:
no ,but you should flash lazy flasher once . to decrypt ur internal storage. dm-verity flag does nothing to decrypt storage
Click to expand...
Click to collapse
Thank you very much :angel:
gulshanstrider said:
using TWRP filemanager go to /data/system
Delete all .key files and also delete locksettings.db file.
Reboot enjoy
Click to expand...
Click to collapse
I tried it. Earlier i did not have any issue even if i install custom rom on my Redmi note 3. But today i thought of trying Pure Nexus *Substratum* rom. And on the first boot it asked me to enter password. though i have never kept password for my mobile, i tried all the passwords that i remember, which didnt solve my issue. then saw ur reply and tried it, and still it didnt work for me. Any other way?:crying:
AnilLonely said:
I tried it. Earlier i did not have any issue even if i install custom rom on my Redmi note 3. But today i thought of trying Pure Nexus *Substratum* rom. And on the first boot it asked me to enter password. though i have never kept password for my mobile, i tried all the passwords that i remember, which didnt solve my issue. then saw ur reply and tried it, and still it didnt work for me. Any other way?:crying:
Click to expand...
Click to collapse
Are you coming from MIUI? If so then MIUI encrypts the data partition, hence the new ROM asking for a password.
Before you install the ROM, you must "format data" on wipe in TWRP, this is different from wipe data.
Note that this will delete all your data obviously.
kimxk said:
Are you coming from MIUI? If so then MIUI encrypts the data partition, hence the new ROM asking for a password.
Before you install the ROM, you must "format data" on wipe in TWRP, this is different from wipe data.
Note that this will delete all your data obviously.
Click to expand...
Click to collapse
Yes i am coming from MIUI. I had done that But no use. Tried what ever that has been discussed in the following thread as well, but that also did not work for me.
http://en.miui.com/thread-324522-1-1.html
Posted a thread on MIUI forum as well. Waiting for some sort of help. Earlier i was able to install Custom Rom's without any issue, (though i am coming from MIUI), but now what ever may be the rom that i am trying to flash, the first boot is asking me for password. Unable to understand what is the issue.
AnilLonely said:
Yes i am coming from MIUI. I had done that But no use. Tried what ever that has been discussed in the following thread as well, but that also did not work for me.
http://en.miui.com/thread-324522-1-1.html
Posted a thread on MIUI forum as well. Waiting for some sort of help. Earlier i was able to install Custom Rom's without any issue, (though i am coming from MIUI), but now what ever may be the rom that i am trying to flash, the first boot is asking me for password. Unable to understand what is the issue.
Click to expand...
Click to collapse
Are you sure that you used "format data"?
Wipe data doesn't remove the encryption.
See this page for an image:
http://xiaomitips.com/media/2016/07/Format-Data-TWRP.png
kimxk said:
Are you sure that you used "format data"?
Wipe data doesn't remove the encryption.
See this page for an image:
http://xiaomitips.com/media/2016/07/Format-Data-TWRP.png
Click to expand...
Click to collapse
Perfect. Worked bro. Thanks a lot for the help. I was wiping cache,and internal storage. Now only came to know this. :highfive:
I am on miui 8.1.4.0 rooted rn3p. So my question is can i use dual boot patcher and dual boot lineage os 14.1
Anyone ??
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots, go back into TWRP and check your log again.
Filip013 said:
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots go back into TWRP and check your log again.
Click to expand...
Click to collapse
Thanks buddy trying it now
Filip013 said:
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots go back into TWRP and check your log again.
Click to expand...
Click to collapse
One more thing its a bit off topic but still i am using radon kernel and i am seeing that when i sweep on the black screen it unlocks how to turn this off as its consuming a lot of battery
Androbots said:
One more thing its a bit off topic but still i am using radon kernel and i am seeing that when i sweep on the black screen it unlocks how to turn this off as its consuming a lot of battery
Click to expand...
Click to collapse
Umm... not sure what you're talking about. Maybe DT2W? I tried out Radon, but I haven't tried that feature. I think you just need to reflash Radon and choose default options. If that doesn't work for you, just reflash MIUI, it will get rid of Radon.
Filip013 said:
OK. I'll try to help. Boot into TWRP and press the button on the bottom left (four lines). This will open TWRP log. If you see something like "attempting to decrypt with default password" it means your data is encrypted. An alternative solution is to flash TWRP by dadi11 and see if it asks you for password.
How to decrypt? You must format data in TWRP. This will wipe your /data and the entire internal storage so make sure you make a backup on your SD card or PC. Then boot into TWRP, select Wipe menu and press Format data. After this, immediately flash either SuperSU or Magisk or Lazy flasher (which ever one of the three you like) and only then reboot. Once the system boots go back into TWRP and check your log again.
Click to expand...
Click to collapse
Filip013 said:
Umm... not sure what you're talking about. Maybe DT2W? I tried our Radon, but I haven't tried that feature. I think you just need to reflash Radon and choose default options. If that doesn't work for you, just reflash MIUI, it will get rid of Radon.
Click to expand...
Click to collapse
Yes d2tw I was talking about that only and now i have disabled it using kernel audiutor as it was consumping a lot of abttery thanks anyway
Androbots said:
Yes d2tw I was talking about that only and now i have disabled it using kernel audiutor as it was consumping a lot of abttery thanks anyway
Click to expand...
Click to collapse
OK. Let me know if you manage to get DBP to work.
Filip013 said:
OK. Let me know if you manage to get DBP to work.
Click to expand...
Click to collapse
Yup
Edit: i forgot that i checked twrp log (my bad)unfortunately it is encrypted so can't use dbp as of now but next month i might factory reset on miui and then use super su to stop encryption. Hope it works...
Filip013 said:
OK. Let me know if you manage to get DBP to work.
Click to expand...
Click to collapse
Ok so here is what i got in the results of this experiment :
I was able to patch minz1 lineage os and gapps pico 7.0 and then booted to zcx and flashed both files i removed the fingerprint and any kind security measures on miui and i flashed both files and it was successful!!!
But now i am not able to boot to either miui or lineage os!!!
Conclusion: DO NOT TRY THIS!!!
Androbots said:
Ok so here is what i got in the results of this experiment :
I was able to patch minz1 lineage os and gapps pico 7.0 and then booted to zcx and flashed both files i removed the fingerprint and any kind security measures on miui and i flashed both files and it was successful!!!
But now i am not able to boot to either miui or lineage os!!!
Conclusion: DO NOT TRY THIS!!!
Click to expand...
Click to collapse
Weird... It seems to me that you are still encrypted. Have you tried flashing DualBootUtilities and switching to MIUI that way? It is possible that you messed up your primary ROM boot image, I think that happened to me once. Whatever the case, reflashing MIUI should allow you to boot into MIUI.
---------- Post added at 04:08 PM ---------- Previous post was at 04:03 PM ----------
Androbots said:
Yup
Edit: i forgot that i checked twrp log (my bad)unfortunately it is encrypted so can't use dbp as of now but next month i might factory reset on miui and then use super su to stop encryption. Hope it works...
Click to expand...
Click to collapse
I didn't see this post until now. Well, of course you can't use DBP when you're encrypted. If you want to try DPB, you have to format data.
Filip013 said:
Weird... It seems to me that you are still encrypted. Have you tried flashing DualBootUtilities and switching to MIUI that way? It is possible that you messed up your primary ROM boot image, I think that happened to me once. Whatever the case, reflashing MIUI should allow you to boot into MIUI.
Click to expand...
Click to collapse
Flashing back miui kicked me out of the situation and btw i backed up the boot.img as well as tried switching roms none worked and also it was glitching zcx a bit.
Its quite irritating seeing xiaomi and miui enforcing so many security measures a bad day for people who like to customize things a lot!
Androbots said:
Flashing back miui kicked me out of the situation and btw i backed up the boot.img as well as tried switching roms none worked and also it was glitching zcx a bit.
Its quite irritating seeing xiaomi and miui enforcing so many security measures a bad day for people who like to customize things a lot!
Click to expand...
Click to collapse
OK. Good to know that at least you have a working system now. I only experienced issues with booting MIUI after I flashed a custom kernel on MIUI and forgot to update the kernel in DBP app, but like we established flashing MIUI solves the problem.
But again, there's no use in experimenting with DBP until you format data. So please report back when you get around to doing that.
As for Xiaomi policies, I don't know the details, but I don't think it's their fault. It seems that Google can be very strict when certifying devices and allowing the OEMs to include Gapps. Google forces OEMs to ship phones with locked bootloaders and forced encryption.
Filip013 said:
OK. Good to know that at least you have a working system now. I only experienced issues with booting MIUI after I flashed a custom kernel on MIUI and forgot to update the kernel in DBP app, but like we established flashing MIUI solves the problem.
But again, there's no use in experimenting with DBP until you format data. So please report back when you get around to doing that.
As for Xiaomi policies, I don't know the details, but I don't think it's their fault. It seems that Google can be very strict when certifying devices and allowing the OEMs to include Gapps. Google forces OEMs to ship phones with locked bootloaders and forced encryption.
Click to expand...
Click to collapse
Anyways I will be resting my device next month maybe and then I can try and let u know
Filip013 said:
OK. Let me know if you manage to get DBP to work.
Click to expand...
Click to collapse
Ok so i installed epic rim today and i erased data 3times here are results:
Data erase#1 reboot recovery data is is still encrypted
Installing epic rim did not help either flashed super su 3 times still data is encrypted!!!!
What to do???
Androbots said:
Ok so i installed epic rim today and i erased data 3times here are results:
Data erase#1 reboot recovery data is is still encrypted
Installing epic rim did not help either flashed super su 3 times still data is encrypted!!!!
What to do???
Click to expand...
Click to collapse
The order of steps is very important.
1st step: Boot to recovery.
2nd step: Format data (not wipe and I don't know what you mean by erase).
3rd step: Flash ROM (Epic ROM should be good, but it also works for Global Stable and others).
4th step: Flash SuperSU.
5th step: Reboot system.
Filip013 said:
The order of steps is very important.
1st step: Boot to recovery.
2nd step: Format data (not wipe and I don't know what you mean by erase).
3rd step: Flash ROM (Epic ROM should be good, but it also works for Global Stable and others).
4th step: Flash SuperSU.
5th step: Reboot system.
Click to expand...
Click to collapse
Gotcha that means in wipe section i have to go to format data right??
Androbots said:
Gotcha that means in wipe section i have to go to format data right??
Click to expand...
Click to collapse
Yes. Good luck.
Filip013 said:
Yes. Good luck.
Click to expand...
Click to collapse
See I have setup everything on epic rom deleting everything again will be tough I will try it next month when I am bored with epic rom
Androbots said:
See I have setup everything on epic rom deleting everything again will be tough I will try it next month when I am bored with epic rom
Click to expand...
Click to collapse
LOL. Fine. Next month then.
So i installed Pixel E as said in the forum post and videos and it was working fine, TWRP was fine and installed with no problems, then i went back to MIUI for the L1 certificate update and decided that i wanna try oxygen OS
i install TWRP like i did the first time but this time i didnt get the menu that says swipe to allow modifications, after that i went and mounted vendor and system like i did the first time, and i went to wipe the data i didnt find the vendor option there, it was weird and i thought there`s something wrong with the phone
i go back to the install, i install the disable force encyption file and try to install the rom, i get the success thingy
i restart and it says encrypting your phone and i boots back to recovery
can anyone help with that please? i tried 4 different roms all are the same
and how can i show the vendor option again?
OxygenOS Comes With A Modified Vendor So When You Flashing OOS You Need To Flash DFE Due To Encryption Problem.
Decrypt Your Data By Formatting internal Storage.
Go To Wipe format Data Type Yes Reboot to system.
Just Allow that modification when you decrypt your phone and flashing a Rom that TWRP modification sign comes.
When you wipe data system , Vendor Partition will be Automatically Wiped.
Flash Orange Fox Recovery You Will Also Get that Vendor Partition.
iHookar said:
So i installed Pixel E as said in the forum post and videos and it was working fine, TWRP was fine and installed with no problems, then i went back to MIUI for the L1 certificate update and decided that i wanna try oxygen OS
i install TWRP like i did the first time but this time i didnt get the menu that says swipe to allow modifications, after that i went and mounted vendor and system like i did the first time, and i went to wipe the data i didnt find the vendor option there, it was weird and i thought there`s something wrong with the phone
i go back to the install, i install the disable force encyption file and try to install the rom, i get the success thingy
i restart and it says encrypting your phone and i boots back to recovery
can anyone help with that please? i tried 4 different roms all are the same
and how can i show the vendor option again?
Click to expand...
Click to collapse
just download
https://mirror.akhilnarang.me/MIUI/beryllium/beryllium-9.4.8-9.0-vendor-firmware.zip
and flash it via twrp! and reboot
Olystem said:
OxygenOS Comes With A Modified Vendor So When You Flashing OOS You Need To Flash DFE Due To Encryption Problem.
Decrypt Your Data By Formatting internal Storage.
Go To Wipe format Data Type Yes Reboot to system.
Just Allow that modification when you decrypt your phone and flashing a Rom that TWRP modification sign comes.
When you wipe data system , Vendor Partition will be Automatically Wiped.
Flash Orange Fox Recovery You Will Also Get that Vendor Partition.
Click to expand...
Click to collapse
I did that and it worked, thanks but the swipe to allow modifications page still didn't appear, it booted right to main page of TWRP
YasuHamed said:
just download
https://mirror.akhilnarang.me/MIUI/beryllium/beryllium-9.4.8-9.0-vendor-firmware.zip
and flash it via twrp! and reboot
Click to expand...
Click to collapse
I downloaded Vendor firmware but it still gave me the same problem, what fixed it is installing DFE after the rom not before, thanks a lot appreciate you helping
iHookar said:
I did that and it worked, thanks but the swipe to allow modifications page still didn't appear, it booted right to main page of TWRP
Click to expand...
Click to collapse
That Sign Comes Only One Time.
Swipe To Allow Modification Means You will not getting any error while Flashing.
Check in Mount Partition System Keep Read Only If It's Enabled Simply Remove that Mark or Tick Reboot To System.
I have a Sony Xperia XZ Premium and i decided to enter the world of tinkering with my device. I successfully unlocked by bootloader, installed TWRP but as i was figuring out how it all worked something went wrong. i can no longer boot into my device (its stuck on the sony/carrier boot screen) and i belive that i may have completely removed by OS from my device. A website told me that i should to something with changing the file system and i think that has something to do with it. I have tries re-installing a stock rom but i cant seem to get it to work (I am noob). When i try to flash the zip it says 'invalid zip file format!' i really dont know what to do. Any help would be grealty appreciated as this is my only phone. I dont care if it has to be reset to factory settings.
THANK YOU.
jakessavage said:
I have a Sony Xperia XZ Premium and i decided to enter the world of tinkering with my device. I successfully unlocked by bootloader, installed TWRP but as i was figuring out how it all worked something went wrong. i can no longer boot into my device (its stuck on the sony/carrier boot screen) and i belive that i may have completely removed by OS from my device. A website told me that i should to something with changing the file system and i think that has something to do with it. I have tries re-installing a stock rom but i cant seem to get it to work (I am noob). When i try to flash the zip it says 'invalid zip file format!' i really dont know what to do. Any help would be grealty appreciated as this is my only phone. I dont care if it has to be reset to factory settings.
THANK YOU.
Click to expand...
Click to collapse
First, let's start with the small stuff, just in case. Try booting into TWRP and select the Wipe option, then select advanced wipes, then choose only the cache partition and the dalvik cache partition, DO NOT choose any other partitions, after choosing cache and dalvik cache, swipe the slidee at the bottom to run the wipes, then reboot the device.
The stock .zip that you tried to flash probably isn't made for flashing via TWRP. It is probably meant for extracting the .zip to get the flashable form of your stock firmware and then flashing that firmware using your device's specific flashing tool on PC. Flashing the firmware will remove TWRP. After you get the firmware flashed and you get the device working again, you will have to reinstall TWRP the same way you did the first time. When you get TWRP reinstalled, immediately use the Backup option in TWRP to create a backup of everything on your device(do not include internal storage in the backup). Store that backup on your external sdcard and/or on your PC. Do this BEFORE you attempt any kind of modification ms to the device. This backup can be used to restore your device if you mess it up again.
After creating the backup and storing it in a safe place, then you can try making the modifications that you were originally trying to do.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
First, let's start with the small stuff, just in case. Try booting into TWRP and select the Wipe option, then select advanced wipes, then choose only the cache partition and the dalvik cache partition, DO NOT choose any other partitions, after choosing cache and dalvik cache, swipe the slidee at the bottom to run the wipes, then reboot the device.
The stock .zip that you tried to flash probably isn't made for flashing via TWRP. It is probably meant for extracting the .zip to get the flashable form of your stock firmware and then flashing that firmware using your device's specific flashing tool on PC. Flashing the firmware will remove TWRP. After you get the firmware flashed and you get the device working again, you will have to reinstall TWRP the same way you did the first time. When you get TWRP reinstalled, immediately use the Backup option in TWRP to create a backup of everything on your device(do not include internal storage in the backup). Store that backup on your external sdcard and/or on your PC. Do this BEFORE you attempt any kind of modification ms to the device. This backup can be used to restore your device if you mess it up again.
After creating the backup and storing it in a safe place, then you can try making the modifications that you were originally trying to do.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
After clearing the 2 caches the phone is still stuck on the boot screen. I will try to figure out how to flash the ROM with flash tools now...
jakessavage said:
After clearing the 2 caches the phone is still stuck on the boot screen.
Click to expand...
Click to collapse
Your phone's Android 7 has neither a Dalvik cache nor an ART cache. TWRP is misleading in this respect.
Try to re-flash phone's Stock ROM ( Android 7 ) by means of Sony Xperia Flash Tool.
jwoegerbauer said:
Your phone's Android 7 has neither a Dalvik cache nor an ART cache. TWRP is misleading in this respect.
Try to re-flash phone's Stock ROM ( Android 7 ) by means of Sony Xperia Flash Tool.
Click to expand...
Click to collapse
Yes I managed to do this. The only problem now is that my phone is on Android 7. Before it was on Android 9. I've went to the software update section on the phone but there's no update available. Will I have to flash an android 9 ROM to get the update or will it eventually come to my phone
Thanks
@jakessavage
Moving from one Android version ( e.g. 7 ) to another one ( e.g. 9 ) istn't an update but an upgrade.
Don't think your phone's OEM/Carrier automatically supply an upgrade, but only updates if recognized to be necessary.
IMHO in case of Android 9 for your phone is not provided by OEM/Carrier, you have to flash a Custom ROM based on Android 9.
jakessavage said:
Yes I managed to do this. The only problem now is that my phone is on Android 7. Before it was on Android 9. I've went to the software update section on the phone but there's no update available. Will I have to flash an android 9 ROM to get the update or will it eventually come to my phone
Thanks
Click to expand...
Click to collapse
Find the android 9 firmware for your device and flash it via flashtool.
Sent from my SM-S767VL using Tapatalk
Plz anybody help this out...
I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery.
Initially console shows decrypted FBE device with default password. But Encryption status : Encryped
So I went into wipe & Formatted Data inorder to get rid of encryption. Then I rebooted recovery & it shows Unable to decrypt FBE device.
[UPDATE] (24/12/20) : The console output Unable to decrypt FBE device was nothing but to tell us that incompatible operating system flashed.
I flashed global version roms which are the main cause for bootloops. I flashed stock rom, then immediately worked out of the box.
1. Format data after going into twrp *It will wipe you device*
2. If you don't want to install a custom rom just mod MIUI, remove your lock screen password or flash orange fox and if it asks for password just put your lock screen password.
3. Else if you want to install a custom rom
Open recovery
Wipe data cache davilk
Flash rom
Format data
Reboot.
LoadOP2 said:
1. Format data after going into twrp *It will wipe you device*
2. If you don't want to install a custom rom just mod MIUI, remove your lock screen password or flash orange fox and if it asks for password just put your lock screen password.
3. Else if you want to install a custom rom
Open recovery
Wipe data cache davilk
Flash rom
Format data
Reboot.
Click to expand...
Click to collapse
Thnx for reply. I've tried Orange fox too. When I format data, internal storage doesn't decrypt. Also when I flash custom roms, they flash, but I'm gonna stuck in bootloop.
My main problem is that I can't decrypt storage. Phone boots only when I'm on MIUI stock. Am I missing something ?
That is odd but still flash fastboot rom and then flash twrp , flash a rom of your choice then format data . Maybe it will help . Btw which rom are you installing.
LoadOP2 said:
That is odd but still flash fastboot rom and then flash twrp , flash a rom of your choice then format data . Maybe it will help . Btw which rom are you installing.
Click to expand...
Click to collapse
Thnx for the reply. I'm trying to have lineage 17.1 & resurrection remix official build. I think rom's not the issue here. I need to know one thing.
To exactly say my issue, I can do flashing. But when I do & then reboot, Internal storage doesn't show the size & mtp doesn't work too, with bootloop issues along together.
There is no official LineageOS for the device.
kalehrl said:
There is no official LineageOS for the device.
Click to expand...
Click to collapse
Oh, I've mistaken, I was about to say resurrection remix official build & lineage unofficial one. Btw what do you think my device is going up to ? How can I decrypt & use internal storage successfully? I can't use internal storage when I flash a rom. Bcaz internal storage renders useless because of encryption.
Which recovery are you using?
Try flashing magisk 20 or 21.
Flash twrp by marounfurio( I am sorry if I slaughtered the name) which is available on xda.
And format data.
It's midnight here and I am going to sleep I will help to tommorow morning.
LoadOP2 said:
Which recovery are you using?
Try flashing magisk 20 or 21.
Click to expand...
Click to collapse
Right now I'm on Pitchblack beta latest build.
I tried magisk on MIUI stock through patched boot method, it worked, but no apps able to access root. I checked all magisk settings...
I think encrypted data partition is the whole culprit here. How can I decrypt it ?
MPK99 said:
Right now I'm on Pitchblack beta latest build.
I tried magisk on MIUI stock through patched boot method, it worked, but no apps able to access root. I checked all magisk settings...
Click to expand...
Click to collapse
And what about flashing magisk in twrp.
MPK99 said:
Right now I'm on Pitchblack beta latest build.
I tried magisk on MIUI stock through patched boot method, it worked, but no apps able to access root. I checked all magisk settings...
I think encrypted data partition is the whole culprit here. How can I decrypt it ?
Click to expand...
Click to collapse
Formatting data normally decrypts it . I don't know why something like this is happening here.
Follow my guide again maybe? Give it a shot step by step.
LoadOP2 said:
Formatting data normally decrypts it . I don't know why something like this is happening here.
Follow my guide again maybe? Give it a shot step by step.
Click to expand...
Click to collapse
Yah, I'm feeling weird too. Normally there are 3 ways to remove decryption...I tried all those.
1. Formatting Data by typing "yes"
2. Formatting data partition from f2fs to ext4
3. Installing Decrypt script v2 zip immediately after flashing stock rom.
I tried everything I could. I know all sorts of common flashing things. I caz I always used to try so many roms on my previous redmi's, but this one is special case.
I'd suggest you use LineageOS recovery. That's how I removed decryption.
kalehrl said:
I'd suggest you use LineageOS recovery. That's how I removed decryption.
Click to expand...
Click to collapse
Sure. Encryption is the whole culprit for me to say exactly. I'm trying to decrypt & flash builds. I'll notify if it works. Nice to get help from you guys.
Try this.
How to decrypt rom/storage so you can easily switch roms without format
First I would thankx to @sakhatlonda for koutiliy.zip
Steps to download file
1. Download koutility.zip from below.
2. Documentation related to koutility
Read from below link (recommended)
Just a utility zip which can be flashed on every rom flash, to do some pre-defined tasks.
Can be used either to copy everything you place in sdcard/sudeep/system_root to respective dirs or to set config and use that to do predefined tasks
This is how it works:
Flash in recovery, every option has Note with it
Available Configs:
brbootdtbo - auto backup/restore boot & dtbo, will do backup if no backup present and will do restore if backup is there
bbootonly - always backup boot
bdtboonly - always backup dtbo
resbootdtbo - always restore boot & dtbo (brbootdtbo won't work if this is enabled)
enalways - encrypt always (edauto won't work if this is enabled)
dealways - decrypt always (enalways & edauto won't work if this is enabled)
edauto - auto change encryption state on each flash
avb - removes avb flags (if decrypted)
quota - removes quota flag (if decrypted)
keep - doesn't over-writes boot/dtbo backups
debloat - removes bloats
rebloat - restore removed bloats
patchD - same as flash but set in config
productsize - makes a product image from your currently flashed rom to sdcard/sudeep and adds 600mb to it. So you can flash gapps etc. without error. (PC needed to flash product.img)
Steps to decrypt rom/storage
1. Flash roms
2. Flash koutility.zip tested on aosp only
3. Format data (required only first time after flashing koutility)
4. Reboot to recovery
5. Flash gapps (optional)
6. Boot into system
Congratulations your storage/rom is decrypted , you can switch roms without format
Next time when you want to switch roms
Steps
1. Wipe data,caches and dalvik caches
2. Flash rom
3. Flash koutility.zip
4. Reboot to recovery
5. Flash gapps (optional)
6. Boot into system
Notes
Remember you need to config koutility.zip in recovery
How to config koutility for decryption
Volume down (set config) > yes
After that "No" till 5th option
Then "yes" for 6th option
Rest "No" till 15th option
Last "yes" to flash
@LoadOP2 Thanx for providing KoUtil & its read me.
But I think we shouldn't reboot to recovery immediately after formatting the data. Because the stock rom will start it's initial encryption process by then & I won't get decrypted storage. Isn't it ?
I think this is the case that's happening to me. I always reboot recovery after formatting data, my storage will encrypt again because of stock rom's existence.
Yes you have to reboot to recovery. Otherwise you won't be able to use data partition.
LoadOP2 said:
Yes you have to reboot to recovery. Otherwise you won't be able to use data partition.
Click to expand...
Click to collapse
Yes, you're correct, we should do that. But can you read my 1st post in this thread. This is about that specific problem. I'm rebooting recovery after formatting data, then recovery shows Unable to decrypt FBE device
Send your recovery logs after formatting data.
LoadOP2 said:
Send your recovery logs after formatting data.
Click to expand...
Click to collapse
That would help. I'll attach screenshots too. Currently I'm on stock & being busy. I'll do this by today night & post logs & screenshots.