Hi
I had to clean flash my ROM since i messed up with some apps, so I decided to wipe internal as well and format it and then go for a clean flash
I wiped everything and flash AICP13.1 - O ( use this ROM as daily driver ) and flashed Magisk and Gapps and then rebooted as usual
I thought of encrypting the device ( since it would decrypt if its format obviously ) but encryption is not happening
The moment I hit encrypt, An android BOT logo appears and device reboots normally.
Next I tried to clean flash the ROM only ( No gapps and Magisk this time ) and tried to encrypt , but same problem
I also tried with different ROM - checked with CrDroid-O , same here too
Am I missing something here?
Please help
Thanks in Advance
PS: I am using latest global stable firmware 9.6.2XX
Changed recovery to orange fox, formated via orange fox and it helped.
encryption success
Related
Hello Friends i am using redmi note 4 (SD) 3 GB 32 GB with orange fox R7 recovery and using MIUI 10 Global Beta Rom this issue is start after i flashed MSM Xtended Pie 9.0 flashing successful and reboot to ROM. after reboot ROM ask for password why i dont know after that i format all data including internal also but the issue is same then i decide to flash pixel experience with same recovery error 7 is come after that i tired and flashed the MIUI 10 global Beta again from Mi Flash Tool after that Flashing hangs. i tried again then its successful flashed but not booting screen turn off after MI logo again i flashed but the phone blanked no fastboot nothing and my phone is come EDL mode its showing me to COM1 connected then again i tried to flashed from mi flash the error shown cannot receive hello packet after that i removed back case and reconnect the battery connector and flashed again same error after that i removed the battery connector and flashed without battery :laugh: its flashed don't know how but its flashed :laugh: MIUI 10 but the issue is same again screen is off after mi logo but fastboot file is come. after that i clean all the data from fastboot and connect to PC with Orange fox R8.1 and try to flashed but i got new issue data partition error memory is corrupt (not showing in pc) again i try to clean from fastboot memory is showing here after that i reboot the device memory is show 8 gb only in 32 gb again i flashed Orange fox R7 and reboot the device Thank god memory is showing now:good: after that i flashed miui10 from orange fox R7 and finally phone is booted but without persist partition:crying::crying: (i cant receive a phone calls also) again i download the file from mi updater and flashed again after that finally my device is working fine.
1. want to know what is my issue what i do wrong?
2. this issue is with my device only or some one others also?
3. i want to try custom ROMs Also but what happen if the same issue again?
4. can i try again CUSTOM ROMs or use only MIUI
5. sorry for my English
6. please give me solution why its happen with my device
7. Thanks in Advance for replying
8. this is recovery error?
Reply me Friends
ismail.ahmed84 said:
Reply me Friends
Click to expand...
Click to collapse
Your first mistake was to flash a Treble ROM with a recovery which doesn't support Treble (Error 7, asks for a password and internal storage is empty).
Update your TWRP. OrangeFox recovery works fine. Just make sure you are using the latest version.
If you flash a custom ROM, just following the instructions:
Make the necessary wipes, format Data (format and not only wipe) and flash things in the correct order.
It's working for everyone else, so it will also work for you
u tell mi.
Noter2017 said:
Your first mistake was to flash a Treble ROM with a recovery which doesn't support Treble (Error 7, asks for a password and internal storage is empty).
Update your TWRP. OrangeFox recovery works fine. Just make sure you are using the latest version.
If you flash a custom ROM, just following the instructions:
Make the necessary wipes, format Data (format and not only wipe) and flash things in the correct order.
It's working for everyone else, so it will also work for you
Click to expand...
Click to collapse
Thanks for Reply but i was used Orange fox R7 (Treble/Non Treble Support Recovery)
i was wiped (System + Data + Cache + Dalvik ART Cache & Vendor ) first but the ROM ask me for password thats why i formatted the device and re-flash the ROM.
right now i am using same recovery (Orange Fox R7)with out any issue i was flashed Latest Recovery orange fox R8.1 after this issue. come back to old version R7.
Anti roll back is enabled for MIUI 10 BETA
hello everyone
i had a lineage ROM on my phone and i wanted to format my phone so i tried to flash my ROM again with TWRP and when it finished the phone reboot him self and ask for me a PIN - and i know my PIN but when i try it this writes me that this is not right .
what can i do ?
BTW- tried to flash the ROM again and i have nothing in my memory/SDcard (seems like everything removed)
pls help
TY so much !
its encryption error,
got back to twrp,
FORMAT DATA, (you will loose all your data/internal storage)
flash rom again and everything again!
if you wana avoid encryption errors, do flash DFE
you forgot to flash DFE(DISABLE FORCE ENCRYPTION) . do flash it after you've flashing your rom.
Disregard unless you want to laugh at me~
Right well i thought it was a good idea to flash ANXcamera through Magisk on the PE+ rom.
After downloading and installing the zip through magisk, i restarted my device and it go stuck in a bootloop. So i went into TWRP and installed uninmod which failed to mount magisk.img. I didnt have a lot of stuff on my phone, so i thought id just reflash the rom again. instead of PE+ which was not stable for my use, i decided to go with the EvolutionX rom. So i put EvoX rom and DFE on an external micro sd card and threw that in the phone. Following the instructions they have on their post, I managed to clear data/cache/system and internal storage (because there was something on there causing it not to boot (most likely ANX)). Flashed EvoX rom and DFE. Restarted the device to the system and managed to forget the Vendor firmware (after i scrolled down to the first comment on the EvoX post that says the flash it). I thought it was a great idea to restart the phone halfway through its first initial boot to go back to TWRP to flash the vendor firmware. But now TWRP is asking for a password. i have tried default_password and still nothing. Didn't think EvoX would boot without the vendor firmware.
Do i have any options from now? Love to hear any suggestions.
Cheers
EDIT: Should've pressed READ ONLY on TWRP. rookie maneuver, completely forgot. ended up flashing a different rom and worked fine.
Simply reflash TWRP via ADB
Heaclan said:
Disregard unless you want to laugh at me~
Right well i thought it was a good idea to flash ANXcamera through Magisk on the PE+ rom.
After downloading and installing the zip through magisk, i restarted my device and it go stuck in a bootloop. So i went into TWRP and installed uninmod which failed to mount magisk.img. I didnt have a lot of stuff on my phone, so i thought id just reflash the rom again. instead of PE+ which was not stable for my use, i decided to go with the EvolutionX rom. So i put EvoX rom and DFE on an external micro sd card and threw that in the phone. Following the instructions they have on their post, I managed to clear data/cache/system and internal storage (because there was something on there causing it not to boot (most likely ANX)). Flashed EvoX rom and DFE. Restarted the device to the system and managed to forget the Vendor firmware (after i scrolled down to the first comment on the EvoX post that says the flash it). I thought it was a great idea to restart the phone halfway through its first initial boot to go back to TWRP to flash the vendor firmware. But now TWRP is asking for a password. i have tried default_password and still nothing. Didn't think EvoX would boot without the vendor firmware.
Do i have any options from now? Love to hear any suggestions.
Cheers
EDIT: Should've pressed READ ONLY on TWRP. rookie maneuver, completely forgot. ended up flashing a different rom and worked fine.
Click to expand...
Click to collapse
1. evolution x has its own vendor so you didnt have to flash any! even if you forgot it was fine!
2. seems like initially before flashing that modded cam via magisk, that rom was flashed without DFE (treble) (global) .
3. hence when you booted, the encryption stepped in.
however now
the only thing you can do is to reflash everything AFTER "FORMATING DATA"
1. use twrp from https://forum.xda-developers.com/showpost.php?p=80122987&postcount=305
2. format data , change data partition's file system to xFAT and then back to ext4. (if necessary)
3. flash firmware 9.6.27-9.0 ( is popular)
4. don't flash pe, flash some other Custom rom, I would say Bootleggers
5. flash DFE Treble
6. flash Magisk20
reboot
got her working. cheers boys
Hello, I now have 8 days note 10 lite today I unlocked bootloader, installed TWRP via adb after that I installed lineage os and wiping data etc. After that I faced a bootloop and lineageos bootscreen doesnt go away after 15 minutes.
So I tried to reflash the rom again, but twrp isnt able to reinstall the rom. I then used miflash to get original rom again.
Started all over installed twrp, flashed lineage os after this install after reboot I get everytime back into TWRP and looked on my pc and all files suddenly are encrypted on my phone and cant get lineage os rom again on my phone..
So I used miflash again and decided to ask here first. Does anybody know if I maybe use a wrong TWRP or missed a step?
I really dont understand it, I tried it for a 3th time. Here is exactly what I did.
- installed TWRP through ADB (TWRP-3.4.0-0_Android11_Roms_AndroidHQ254)
- In TWRP put rom on my internal storage
- Wipe Dalvik, data and cache
- Install rom (TWRP-3.4.0-0_Android11_Roms_AndroidHQ254)
- data wipe (where I had to type yes to confirm)
- Reboot to system and then it doesnt do anything and goes back into TWRP where I cant do anything, and I have to flash original rom back through MiFlash.
I run now MIUI 12.0.2
Android 10
Try using orangefox recovery. And i think you have to wipe data before installing rom, not after it.
ApexPrime said:
Try using orangefox recovery. And i think you have to wipe data before installing rom, not after it.
Click to expand...
Click to collapse
Thank you, I was able to do it with Orangefox.
Hi, I've recently repaired my mido with a new screen after a fall. After this I tried some custom roms. Initially I managed to install lineage 18.1. After I switched to dotOS. From this point on, the phone restarts a few seconds after the launcher appears. To fix this I used MiFlah to install latest MIUI, formatted data, wiped everything, tried TWRP and Orangefox, tried other custom roms with no changes. Now only stock MIUI11 works. Other custom roms (included lineage) gets the phone continuously rebooting. Could be an hardware problem? What am I doing wrong? It is the first time in ages I have problems flashing ROMS .-.
Thanks.
gabritb01 said:
Hi, I've recently repaired my mido with a new screen after a fall. After this I tried some custom roms. Initially I managed to install lineage 18.1. After I switched to dotOS. From this point on, the phone restarts a few seconds after the launcher appears. To fix this I used MiFlah to install latest MIUI, formatted data, wiped everything, tried TWRP and Orangefox, tried other custom roms with no changes. Now only stock MIUI11 works. Other custom roms (included lineage) gets the phone continuously rebooting. Could be an hardware problem? What am I doing wrong? It is the first time in ages I have problems flashing ROMS .-.
Thanks.
Click to expand...
Click to collapse
The vendor partition could have some code/ file that persists stock ui or system
and make sure your phone was rooted before flashing custom rom
and also via twrp flashing. from what Ive seen flash in twrp before flash custom rom( https://www.google.com/search?client=firefox-b-d&q=disable+encryption+treble ) then flash the "verity and encryption disabler ,theres another one to re enable encyption only " then flash custom rom
after flashing custom rom reboot poweroff(switch phone off via twrp)
reboot into twrp and flash whatever else you need
now reboot to system and your phone should work fine
Thanks, it worked!
I did:
Flash last miui with miflash
Flash recovery
Flash you suggested zip
Format data
Flash lineage 17.1 (android10)
WIpe system, data, cache, art cache
Flash any android 11 ROM
gabritb01 said:
Thanks, it worked!
I did:
Flash last miui with miflash
Flash recovery
Flash you suggested zip
Format data
Flash lineage 17.1 (android10)
WIpe system, data, cache, art cache
Flash any android 11 ROM
Click to expand...
Click to collapse
Holy **** how did you come up with this.
Either the zip with Magisk somehow fixed it or installing the android 10 rom somehow. Either way doesn't make sense
flairepathos.info said:
The vendor partition could have some code/ file that persists stock ui or system
and make sure your phone was rooted before flashing custom rom
and also via twrp flashing. from what Ive seen flash in twrp before flash custom rom( https://www.google.com/search?client=firefox-b-d&q=disable+encryption+treble ) then flash the "verity and encryption disabler ,theres another one to re enable encyption only " then flash custom rom
after flashing custom rom reboot poweroff(switch phone off via twrp)
reboot into twrp and flash whatever else you need
now reboot to system and your phone should work fine
Click to expand...
Click to collapse
Didn't work for me,
- did all the steps , exactly - flashed stock fastboot , then flashed Android 10 based rom crDroid + pico gapps. worked fine for 2 hours or so .
but interesting enough , phone freezes then shutdown without restarting , then i would go and trun it back on , but fingerprint not working now
heroboy107 said:
Didn't work for me,
- did all the steps , exactly - flashed stock fastboot , then flashed Android 10 based rom crDroid + pico gapps. worked fine for 2 hours or so .
but interesting enough , phone freezes then shutdown without restarting , then i would go and trun it back on , but fingerprint not working now
Click to expand...
Click to collapse
i think somewhere in the process the persist partition gets damaged .
heroboy107 said:
i think somewhere in the process the persist partition gets damaged .
Click to expand...
Click to collapse
so if you have magisk you can use a zip file to chmod 744 or 644 (it may be "chmod root 744" )the /persist partiton and thatll mean only true root has access
so 7 is read write execute 6 is read and write 4 is read only 5 is read execute i forgot which number was execute only 1 maybe?
so play with the permissions or look in the root folder for boot.p or permissions.sh then you can modify in there the permissions, it can cause bootloop , so always keep an original copy or youll hae to reflash(DISCLAIMER)
so you can pull the file using adb+root / or a root explorer
Copy it to phone then edit then copy to SDCARD
reboot to twrp then use shell/terminal "chmod 777" the partition where the file is / or read write everything
then copy the file and overwrite the original