Can't transfer roms through TWRP - Xiaomi Poco F1 Questions & Answers

Hi
A couple of months ago i decided to change my battery because it was draining for nothing, before that i tried to downgrade to miui 9 and 10, and it didn't change anything, so i thought that the battery was the problem.
But even after changing the battery, i still had this drain issue, so i thought " Miui 11 and kernel?" , so i downgraded again, flashed the optimusdrunk kernel and nothing !
So this morning i decided to tried another rom, the pixel experience, i didn't wanted to do that in the first place because i wanted to keep features such as native call recorder or screen recorder. But i've rather loose thoses features if that can help with my battery issues.
I follow the steps of this tutorial : https://forum.xda-developers.com/poco-f1/development/rom-pixel-experience-t3967593
And after i wiped dalvik, cache, system, data in TWRP, flashed the rom then factory reset, the rom was succesfully installed, i booted the phone, google logo appeared quite fast, then gave me this " Enable Encryption, please wait a while blablabla" , so i wait, at least 15min , so i figured something was wrong right?
So i rebooted the phone after flashing the twrp recovery again (it always dissapeared when i flash a rom i don't know why..), boot into TWRP and i wanted to see if i did something wrong, but i realized that my sd card didn't show up, and all of my roms was not there anymore , and TWRP says that there is no space available (0mb) (because of the factory reset), so i plug my phone into my computer, but i can't transfer anything to it!!
Now i'm stuck with a phone with no system, and no ability to transfer a simple zip file to flash another rom/firmware
Is there any other way to transfer files or flash a rom with adb command ?
Does that have to do with the encyption thing ?
Cheers

Related

Headsup: What to do when stuck in bootloop on every custom rom

Hi there,
Today I received my Xperia Tablet Z and sure enough, the first thing I did was flash a custom Rom
But my device wouldn't boot up anymore...
Basically I unlocked the bootloader via Sony's key, flashed a boot.img via fastboot and then flashed the Rom via the recovery.
All I got was a bootloop - regardless of which custom Rom I used (AOKP, Cyanogen stable, Cyanogen nightly, Cyanogen unofficial, ...)
I tried doing a factory reset but to no avail.
I manually checked for each delete / wipe option in the recovery, but the device simply would not boot further than the boot animation.
However, after some time I stumbled across a Rom that contained the TWRP recovery instead of CWM.
And this one asked me for a password when I booted.
"A password? What for?!"
Well, simply cancelling the request works.
But it seems that my whole problem had to do with that password request
As it turns out, the data partition was encrypted would not let me access it.
For some reason unknown to me, it was not wiped in CWM (some error popped up when trying to format /data).
TWRP allows for doing a format on this one ("full wipe" if my memory does not fool me) and voila - the tablet would boot!
So to sum it up:
After unlocking the tablet, there might still be an encrypted /data that can't be accessed by any custom Rom.
Wiping this /data solves the problem - and can be done via TWRP.
I just banged my head on that issue for 5 straight hours - downloading new custom roms, looking for similar bootloops, ...
Maybe this information will help someone
FrozenLord said:
Hi there,
Today I received my Xperia Tablet Z and sure enough, the first thing I did was flash a custom Rom
But my device wouldn't boot up anymore...
Basically I unlocked the bootloader via Sony's key, flashed a boot.img via fastboot and then flashed the Rom via the recovery.
All I got was a bootloop - regardless of which custom Rom I used (AOKP, Cyanogen stable, Cyanogen nightly, Cyanogen unofficial, ...)
I tried doing a factory reset but to no avail.
I manually checked for each delete / wipe option in the recovery, but the device simply would not boot further than the boot animation.
However, after some time I stumbled across a Rom that contained the TWRP recovery instead of CWM.
And this one asked me for a password when I booted.
"A password? What for?!"
Well, simply cancelling the request works.
But it seems that my whole problem had to do with that password request
As it turns out, the data partition was encrypted would not let me access it.
For some reason unknown to me, it was not wiped in CWM (some error popped up when trying to format /data).
TWRP allows for doing a format on this one ("full wipe" if my memory does not fool me) and voila - the tablet would boot!
So to sum it up:
After unlocking the tablet, there might still be an encrypted /data that can't be accessed by any custom Rom.
Wiping this /data solves the problem - and can be done via TWRP.
I just banged my head on that issue for 5 straight hours - downloading new custom roms, looking for similar bootloops, ...
Maybe this information will help someone
Click to expand...
Click to collapse
I usually just hit the thanks tab but feel I have to than you personally for this post. After hours of messing about I found this post, flashed the TWRP recovery, wiped data and was able to flash and boot my xperia..
Thank you for sharing this info..
For others searching you can get the twrp recovery in this rom http://forum.xda-developers.com/showthread.php?t=2383800

Stuck on boot animation (cyanogenmod)

I was using my phone and all had been working fine for ages. It was in my pocket for a while and when i took it out to use it I saw that it was on the boot animation of CM11. My phone was already on when I last used it so I had assumed it had crashed. I took the battery out and turned the phone on again but it got stuck on the CM boot animation. The last time I turned on my phone before that was when I flashed a supersu zip file to make my root work as I was having some problems. After flashing the supersu zip and told my CWM recovery to restart the system, it prompted me to "fix root" or something like that, and I clicked yes and it booted normally. That was the last time it booted normally before being stuck as it is now. First thing I did after it got stuck was go into recovery and reflash my current rom ( a CM11 snapshot) I then got faced with a status 7 error and so couldnt flash the rom. So then I flashed multiple other CM11 roms, none of which worked, so I flashed a CM10.2 stable rom which worked. I then got faced with the fix root before reboot thing and so I clicked yes. Still had the stuck booting thingy. I tried many things, flashing kernals roms gapps etc and nothing made a difference. I wiped cache, dalvik cache and no difference. I even wiped the system and tried to flash roms but only the 10.2 one would work, still got a status 7 with the CM11 ones. When I wiped my data however and flashed CM 10.2, it booted. I still couldn't flash the CM11 roms though even after a factory reset. So I have the reason to believe something in the data is wrong, not cache system or anything like that. What could it be? I don't want to have to lose all my data in order to be able to use my phone again, even then, something is still wrong as my phone won't flash CM11 roms anymore. So my questions are;
What things could have caused this?
Can this be a problem from flashing the supersu zip (a root issue)
Is it possible to somehow view or copy the internal data on a computer (since I cant get into the operating system), and this would allow me to get all my pictures contacts music etc anything so I can use my phone by wiping data?
Thanks, sorry this is quite long and probably hard to understand whats going on, but help is appriciated thanks
Don't fix root if you wish to use SuperSU instead builded-in cm superuser. Also try to flash via Odin latest recovery. TWRP should be fine. You can mount partitions from recovery level to download data to your computer. Of course if it still exists. If not, if they are corrupted you need to flash stock ROM and repeat whole cm11 adventure again. If Odin successfully flash the stock then it's a chance your partition layout and user data are untouched.
____________________________________________
P3110 / I9300 / I9100 / NEXUS 5 / iPAD2

Please help - phone in bootloop but file system and TWRP are still present

Hi,
First I apologise for not having made a back up of my filesystem, I had grown overconfident from previous successful projects ;-/
I have unlocked the phone and installed TWRP recovery. I then used SUPERSU to root the phone under TWRP. After SUPERSU the phone did not boot, it stayed on the WARNING BOOTLOADER UNLOCKED splash for over an hour and did not boot after a reset.
I read through the forums and looked for a kernel to try as I had read that the OS may be damaged, and I wanted to flash a ROM in any case. I read to clean the boot partition before flashing so I did this. The kernel I tried was Squid. This made the phone display "fall through from normal boot mode". So I tried Cyanogen Mod 14, which put the phone on a very rapid bootloop cycle (about every 15 secs), then tried Squid Kernel R22B which put the phone on a long (about 8 minute) bootloop cycle.
Not sure what else I can do. I don't want to give up on the phone as it still mostly works (it has a bootloader, recovery and a file system). I have tried to find a stock ROM to install but proving difficult to track down - links seem to be down)
I apologise if I have got any technical terms wrong. I hope you can help!
Thanks,
Caroline
Caroline300 said:
Hi,
First I apologise for not having made a back up of my filesystem, I had grown overconfident from previous successful projects ;-/
I have unlocked the phone and installed TWRP recovery. I then used SUPERSU to root the phone under TWRP. After SUPERSU the phone did not boot, it stayed on the WARNING BOOTLOADER UNLOCKED splash for over an hour and did not boot after a reset.
I read through the forums and looked for a kernel to try as I had read that the OS may be damaged, and I wanted to flash a ROM in any case. I read to clean the boot partition before flashing so I did this. The kernel I tried was Squid. This made the phone display "fall through from normal boot mode". So I tried Cyanogen Mod 14, which put the phone on a very rapid bootloop cycle (about every 15 secs), then tried Squid Kernel R22B which put the phone on a long (about 8 minute) bootloop cycle.
Not sure what else I can do. I don't want to give up on the phone as it still mostly works (it has a bootloader, recovery and a file system). I have tried to find a stock ROM to install but proving difficult to track down - links seem to be down)
I apologise if I have got any technical terms wrong. I hope you can help!
Thanks,
Caroline
Click to expand...
Click to collapse
Assuming you've the Lineage 14 zip in your internal storage or micro sd,. Enter TWRP, select wipe, advanced wipe, check system data cache and dalvik, swipe to wipe. Now you've clean wiped your phone.
Then go "install", select the Lineage zip and flash it.
Hi DroidFreak32, thank you for your help. The phone is now booting for the first time since it's "adventure".
Hi,
Unfortunately the phone is still in the boot logo screen. It stayed on the Lineage logo for 2 hours. I have powered off and rebooted once more, and it is still in the boot logo screen now (1 hour later). I'll wipe and install again and post an update.
Hi,
I reflashed Lineage, same problem. I did notice that each time I installed a zip file, SUPERSU asked me to install it prior to reboot to root the phone and I have always hit Yes. On the final flash, I powered off the phone when it prompted me to install SUPERSU, and the phone booted normally. Very nice design on the mod, I like the way the apps are displayed alphabetically. Good work Lineage Team!

Bricked the phone by wiping every partition in TWRP

My Redmi 5 plus won't boot as I messed up everything while trying to flash a couple of ROMs. At first the two ROMs that I flashed were working well. But after some time, whatever ROM I flashed, the phone started to restart while setting up the first boot (choosing language, region, etc.) and no further. So I tried wiping every partition there is under the TWRP wipe section (cache, system, vendor, data, internal storage, and so forth). Then flashed a custom ROM again with and without GApps but no success. I noticed that the phone even started to restart before the first boot finished. Also, after flashing stock ROM, TWRP said no OS installed. I even tried flashing stock MIUI ROM in fastboot mode. Although it went well, still bootloop and the device keeps restarting. However, before all of these problems, I did take a backup of every partition, leaving nothing behind, so I restored everything but again the "No OS installed, are you sure to boot?" message. Now I'm freaking out, not knowing what to do. I read somewhere that flashing via QPST tool may help but I'm having problems with installing it.
If I manage to make my phone work again, I will not flash any other ROM, ever.
Try installing new firmware with recovery, if that doesnt help you can try flashing with EDL mode.
Just open your phone and bridge these points ( on photo ) and connect phone to PC.
It should appear in XiaoMiFlash as COM[number].
Good luck!
steve_i7 said:
My Redmi 5 plus won't boot as I messed up everything while trying to flash a couple of ROMs. At first the two ROMs that I flashed were working well. But after some time, whatever ROM I flashed, the phone started to restart while setting up the first boot (choosing language, region, etc.) and no further. So I tried wiping every partition there is under the TWRP wipe section (cache, system, vendor, data, internal storage, and so forth). Then flashed a custom ROM again with and without GApps but no success. I noticed that the phone even started to restart before the first boot finished. Also, after flashing stock ROM, TWRP said no OS installed. I even tried flashing stock MIUI ROM in fastboot mode. Although it went well, still bootloop and the device keeps restarting. However, before all of these problems, I did take a backup of every partition, leaving nothing behind, so I restored everything but again the "No OS installed, are you sure to boot?" message. Now I'm freaking out, not knowing what to do. I read somewhere that flashing via QPST tool may help but I'm having problems with installing it.
If I manage to make my phone work again, I will not flash any other ROM, ever.
Click to expand...
Click to collapse
Did u have the global or Chinese rom installed?
And which twrp version do u have?

After unsuccessfully trying to switch ROM's i can't flash any custom ROM

Today i wanted to upgrade from Nitrogen OS android 9 to PixelExperience android 10 and it didn't work at all...
At first i wiped:
Dalivik / ART Cache
cache
system
Data
And now I just don't know what to do, because after flashing PixelExperience, I got the message: "No OS installed! Are you sure you wish to reboot?".
After that I flashed disable force encryption and rebooted anyway just to see the fastboot screen.
Then i wiped everything again and tried flashing my old ROM without any success (error 7) after that message,
I wiped everything once more and flashed vendor-firmware (it was an old version the name of the file is: "fw_beryllium_miui_POCOF1Global_V10.3.7.0.PEJMIX")
and it still didn't work...
Now I searched online for any solutions and just downloaded a new firmware (filename: beryllium-9.4.1-9.0-vendor-firmware.zip) flashed it,
and after trying to install any of the above mentioned ROM's i got the same results.
I'm kind of desperate right now and don't know what to do. I though that i could maybe format my phone,
I saved all my important files on my PC so that isn't really a problem.
Please help me! (Please let me know if you need to know more info, I hope I didn't forget anything)
xueru said:
Today i wanted to upgrade from Nitrogen OS android 9 to PixelExperience android 10 and it didn't work at all...
At first i wiped:
Dalivik / ART Cache
cache
system
Data
And now I just don't know what to do, because after flashing PixelExperience, I got the message: "No OS installed! Are you sure you wish to reboot?".
After that I flashed disable force encryption and rebooted anyway just to see the fastboot screen.
Then i wiped everything again and tried flashing my old ROM without any success (error 7) after that message,
I wiped everything once more and flashed vendor-firmware (it was an old version the name of the file is: "fw_beryllium_miui_POCOF1Global_V10.3.7.0.PEJMIX")
and it still didn't work...
Now I searched online for any solutions and just downloaded a new firmware (filename: beryllium-9.4.1-9.0-vendor-firmware.zip) flashed it,
and after trying to install any of the above mentioned ROM's i got the same results.
I'm kind of desperate right now and don't know what to do. I though that i could maybe format my phone,
I saved all my important files on my PC so that isn't really a problem.
Please help me! (Please let me know if you need to know more info, I hope I didn't forget anything)
Click to expand...
Click to collapse
I found a old backup, that i made in twrp and after loading that, i was able to flash stuff again, sorry if i inconvenienced anyone
Same happened with me when i flashed PE 10 from PE 9 PIE..
So i flashed Letest Miui 11 (pie) via fastboot then
Installed PE 10 via twrp..
so this is the fix.

Categories

Resources