Hey all, so it appears that I screwed my phone, I am not sure how.
I was running LineageOS, and wanted to update to Android 10 one, so I followed the steps, and I think I screwed the sideloading part, so... long story short now when rebooting from OrangeFox RecoveryProject it says no OS detected, and when it boots it says encryption unsuccessful, I tried wiping and installing DisableForceEncryption_Treble_v17.2 and restarting, and the same thing happens.
I tried to flash through recovery both, and did not work:
https://xiaomifirmwareupdater.com/firmware/beryllium/
https://xiaomifirmwareupdater.com/archive/vendor/beryllium/
And when trying to flash through miFlash it doesn't work:
I go to fastboot in poco, hit refresh in miflash, it shows a device in the list, but the phone goes dark with 'something key to shutdown` written in the top left corner and if I hit the flash button nothing happens.
Can anyone assist with that please?
kishikaisei said:
Hey all, so it appears that I screwed my phone, I am not sure how.
I was running LineageOS, and wanted to update to Android 10 one, so I followed the steps, and I think I screwed the sideloading part, so... long story short now when rebooting from OrangeFox RecoveryProject it says no OS detected, and when it boots it says encryption unsuccessful, I tried wiping and installing DisableForceEncryption_Treble_v17.2 and restarting, and the same thing happens.
I tried to flash through recovery both, and did not work:
https://xiaomifirmwareupdater.com/firmware/beryllium/
https://xiaomifirmwareupdater.com/archive/vendor/beryllium/
And when trying to flash through miFlash it doesn't work:
I go to fastboot in poco, hit refresh in miflash, it shows a device in the list, but the phone goes dark with 'something key to shutdown` written in the top left corner and if I hit the flash button nothing happens.
Can anyone assist with that please?
Click to expand...
Click to collapse
This happened to me when I accidentally deleted the OS when flashing the latest MIUI 11 build (using TWRP). THIS IS HOW I FIXED IT.
Find a full firmware of whatever you wanted to flash, either Lineage or MIUI 11. Then flash via your recovery (you said you have orangefox). Use an external sd card, external USB or HDD since you technically wouldn't have access to your internal data. After flashing, same process as most updates, clear cache and dalkiv. Then flash a newer DFE (if you still want to decrypt, there is a page here in xda with it. Or go to miui forums Happybuddhist, the mod there, made a new one prebuilt with Magisk). Then reboot into recovery to make sure you keep your custom recovery. Once booted to recov. Boot to system. Should fix the issue.
You could check my guide here on how to unbrick your pocophone:
https://forum.xda-developers.com/poco-f1/how-to/unbrick-flashing-stable-rom-pocophone-t3901152
mecoromeo said:
This happened to me when I accidentally deleted the OS when flashing the latest MIUI 11 build (using TWRP). THIS IS HOW I FIXED IT.
Find a full firmware of whatever you wanted to flash, either Lineage or MIUI 11. Then flash via your recovery (you said you have orangefox). Use an external sd card, external USB or HDD since you technically wouldn't have access to your internal data. After flashing, same process as most updates, clear cache and dalkiv. Then flash a newer DFE (if you still want to decrypt, there is a page here in xda with it. Or go to miui forums Happybuddhist, the mod there, made a new one prebuilt with Magisk). Then reboot into recovery to make sure you keep your custom recovery. Once booted to recov. Boot to system. Should fix the issue.
Click to expand...
Click to collapse
I tried that, now I am a step forward I think, I flashed the stock firmware I found, and installed the latest stock ROM, rebooted (doesn't say no os anymore), but the only thing I see is a DELETE ALL DATA button and at the bottom 'Encryption was interrupted and can't be completed. As a result, the data on your phone is no longer accessible.
To resume using your phone, you need to perform a factory reset. When you set up your phone after the reset, you'll have an opportunity to restore any data that was backed up to your Google account.'
Darklouis said:
You could check my guide here on how to unbrick your pocophone:
https://forum.xda-developers.com/poco-f1/how-to/unbrick-flashing-stable-rom-pocophone-t3901152
Click to expand...
Click to collapse
I have an issue with the MiFlash part, it seems that it doesn't work as I mentioned...
Aight all, formatting data partition to ext4 worked, now it is booting
kishikaisei said:
Aight all, formatting data partition to ext4 worked, now it is booting
Click to expand...
Click to collapse
Works now?
mecoromeo said:
Works now?
Click to expand...
Click to collapse
So I had an OS-less phone that don't get recognised in MiFlash, and I had orangeFox recovery.
The steps to fix were:
- Flash a full stock Firmware
- Flash the stock ROM
- Flash DFE
- Format data to ext4
- Reboot and it works
So thanks all for your help
Related
Ok... So...
I installed fulmics through TWRP and all worked great
After that, I installed a v30 Rom also with TWRP and that worked great, too, but i decided i like fulmics more and wanted to go back
Retried TWRP and kinda worked, but some errors were popping up all the time, so i decide to reinstall it
Now here i am. When it boots, goes straight in TWRP. I tried a stock zip to flash with TWRP, no luck.
When in TWRP I can see the phone on pc, internal storage in empty.
Fastboot works.
When i load up LGUP, under the version tab, it shows fulmics mod and i can't take any action
How fried is it?
Roti23 said:
Ok... So...
I installed fulmics through TWRP and all worked great
After that, I installed a v30 Rom also with TWRP and that worked great, too, but i decided i like fulmics more and wanted to go back
Retried TWRP and kinda worked, but some errors were popping up all the time, so i decide to reinstall it
Now here i am. When it boots, goes straight in TWRP. I tried a stock zip to flash with TWRP, no luck.
When in TWRP I can see the phone on pc, internal storage in empty.
Fastboot works.
When i load up LGUP, under the version tab, it shows fulmics mod and i can't take any action
How fried is it?
Click to expand...
Click to collapse
Try doing a complete wipe, wipe cache, Dalvik, data, system. Then wipe internal storage via the format data option and reboot recovery. I am guessing that you're on the h850 variant so Flash the 20s complete firmware zip then flash SuperSU or magisk. See if it boots into system.
I do still suggest hooking it up to your PC and flashing stock firmware kdz 20s using uppercut. If if it is recognizing fastboot commands then you should have no issue flashing a new recovery image after you load the stock kdz, you may even be able to flash a new recovery image instead of going through all the other steps that I listed. Which may some your issue. But it's best to format data entirely before flashing anymore ROMs, and use lgup via uppercut to flash stock firmware and let it boot entirely before reflashing fulmics.
But formatting data is key to reset the system folders which were leftover from other ROMs and likely the cause of the issues you experienced.
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.
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
So, where to start.. I just got my redmi note 5 to test all sorts of things on, and my first goal was to successfully unlock it, install TWRP, and root through Magisk.
For this, I've used the 'Flashing TWRP on Redmi 5 Plus (and Root)' guide on the miui blog (can't post the link, unfortunately.)
I unfortunately keep running into a strange problem, which I'm going to explain briefly, because this is the second time that it happened, and I have no idea what to do, to be completely honest.
So, I successfully unlocked my redmi 5 plus, enabled USB debugging, installed ADB Fastboot on my PC, and went on to flash TWRP 3.3.0.0. This worked, the recovery image was properly read, although I could only boot it from fastboot into recovery, by holding the button combination. When trying to reboot after flashing, going into recovery from the system via the console on my pc put me in the normal MIUI recovery. So, I had to flash TWRP again, and do it the way I described. I forgot to mention, but I also copied both Magisk and no-verity to the root folder of my internal storage before installing TWRP, but, when going into TWRP to install, I could not find those zip files.
The internal storage showed as 0MB, and I read that you're supposed to wipe the data, with TWRP, which did in fact let me see the amount of MB on my internal storage, but unfortunately it did not let me find those files either. The sad part is, now my phone is stuck on a bootloop, again, and I can only run either recovery or fastboot, the latter of which I'm going to use to flash stock recovery and do a factory reset, once again.
At this point I'm lost as to what I should do, I'm following the advice from many different sources, and nothing seems to work. Maybe I'm missing something obvious, but being the noob I am, I cannot figure it out .
Give it a shot by trying orange fox recovery
Also I might be wrong but I think there is a fix for 0mb problem
Try OrangeFox Recovery, for me its better than twrp. Internal storage is 0mb because its encrypted, OragneFox can decrypt that partition and make it accessible.
Good luck!
dmrszr said:
Give it a shot by trying orange fox recovery
Also I might be wrong but I think there is a fix for 0mb problem
Click to expand...
Click to collapse
skrubxgt said:
Try OrangeFox Recovery, for me its better than twrp. Internal storage is 0mb because its encrypted, OragneFox can decrypt that partition and make it accessible.
Good luck!
Click to expand...
Click to collapse
Thanks for the advice! I did try one last thing by just installing magisk on my phone normally, and.. well, it actually worked! I don't have a custom recovery, but I was able to root the phone without any issue, so I think this will suffice for now? In the future though, I'll keep the OrangeFox Recovery in mind.
Minik9988 said:
Thanks for the advice! I did try one last thing by just installing magisk on my phone normally, and.. well, it actually worked! I don't have a custom recovery, but I was able to root the phone without any issue, so I think this will suffice for now? In the future though, I'll keep the OrangeFox Recovery in mind.
Click to expand...
Click to collapse
Nice to see that your problem has been solved! You can thank by hitting "Thanks!" button
Flash twrp
Format data
Then flash twrp in twrp
Flash no variety
Reboot to recovery..
Now you will have your twrp permanently installed as recovery
Now do whatever u like with twrp
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