I ran rm -rf / * - Xiaomi Poco X3 NFC Questions & Answers

Hello.
I made a typo on the phone and ended up doing rm -rf / * ...
I have unlocked the boot loader and have introduced custom recovery, but when I flush the ROM it doesn't boot at all.
I did a clean install of the stock ROM using Mi Flash or Xiaomi ADB / Fastboot Tool, but it doesn't boot. Boot loop.
Can I fix the phone?
(I'm using Google Translate.)

try to reflash recovery version of full MIUI ROM (cca 2.4 GB) - download from here, try to boot it, if boot loop format data (not wipe), reboot recovery, reboot system

jeryll said:
try to reflash recovery version of full MIUI ROM (cca 2.4 GB) - download from here, try to boot it, if boot loop format data (not wipe), reboot recovery, reboot system
Click to expand...
Click to collapse
I tried using TWRP, but it flashes normally, but Android cannot start
Freezes with the first POCO logo and boot loops…

Try with latest version of Orange fox recovery

jeryll said:
Try with latest version of Orange fox recovery
Click to expand...
Click to collapse
I used Orangefox to flash MIUI, but it flashes successfully but I can't start it ...
I noticed that some folders in / system_root / are empty.
(Even if you mount system, vendor, product)
Is this causing the boot to be blocked?

I decided to try a clean install again using the Xiaomi ADB / Fastboot Tool
But I have already tried this and I don't think it will be solved ...

I did a clean install but it failed ...
I want a Super partition of POCO X3 NFC, or a backup of everything.
It's a straightforward idea, but I think you can boot if you restore a system that is working properly ...
Please help me ... I don't want to make this phone a brick ...

I ran df -h.
Is this information correct? To me, rootfs usage seems strange.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Amatsu1805 said:
I ran df -h.
Is this information correct? To me, rootfs usage seems strange.View attachment 5194031
Click to expand...
Click to collapse
Contact someone online who has an EDL license. At this point, its best to minimize the damage and let an expert handle it.

Amatsu1805 said:
I ran df -h.
Is this information correct? To me, rootfs usage seems strange.View attachment 5194031
Click to expand...
Click to collapse
can't see firmware partition there, wasn't it mounted when you did df -h, or you actually missing it? if it's not present, there could be your problem

jeryll said:
can't see firmware partition there, wasn't it mounted when you did df -h, or you actually missing it? if it's not present, there could be your problem
View attachment 5194327
Click to expand...
Click to collapse
Mounted all partitions.
It will be displayed like this.

My phone is back!‼
It seems that it was fixed by flashing the image file taken out from the fastboot ROM with Orangefox.
Thank you for your support!

Related

twrp - can't install this package on top of incompatible data

i have followed all the steps using NRT to unlock boot-loader and root the phone.
Installed TWRT manager and flashed the recovery.
Now i am trying to flash CM12 for the first time and stuck with error message "can't install this package on top of incompatible data" during flashing .
downloaded the following flash zip from CM website: cm-12.1-20150901-SNAPSHOT-YOG4PAO237-hammerhead.zip (281.77 MB)
Can any one help me what needs to be done to proceed further.
i didnt wipe the data before. Now its working and closing the thread
I wiped everything on my phone via TWRP. Still getting this error!
This topic is old but in case someone else gets here I got a solution - Change /data partition filesystem to ext4 or other supported by ROM
mesaj said:
This topic is old but in case someone else gets here I got a solution - Change /data partition filesystem to ext4 or other supported by ROM
Click to expand...
Click to collapse
How did you do that?
dsarcinelli said:
How did you do that?
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-4/help/guide-detailed-f2fs-manual-format-guide-t3264185
This guide might help, you do it in TWRP by going to Format > Advanced > select partition > Change filesystem > Ext4
Wiping data worked for me
2sumanth said:
i didnt wipe the data before. Now its working and closing the thread
Click to expand...
Click to collapse
In twrp, I had to fumble around to find advance wipe to clear data but worked like charm after that.
Thank you!
xiaomi note 4g dior
Let me tell my story,
My friend gave me an old xiaomi note 4g which was stuck at the MI icon on boot,
Luckily the phone did not lock boot-loader
So I use xiaomi flash rom to flash global room , it worked after i tried sometimes.
Then I booted to the phone, and other problem came, the phone was linked with an Mi Account , and my friend forgot everything about it
not email, no phone number
I did a search and they said the only way to bypass the MiAccount is using a Resurrection ROM or balallala
so I ended up with using
1. fastboot to install twrp
2. open twrp --> open adb sideload mode.
3. Open window command line and install Resurrection ROM though adb sideload
While installing rom though adb slideload , i got the same issue with topic
SO i cleared data and tried again,
IT WORKED , NO MORE ****ING MiAccount
THANK a lot
:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi
Playing with my wife's Nexus 5, bootloader unlocked, rooted, and latest TWRP installed but when trying to flash from android 6.0.1 to Lineage, I'm getting an error 7 image shown I hope.....
Is this just because I haven't wiped the data first ? (I'm fairly sure but...)
I dont dare try 'cause if it's not that she'll kill me, so would like to be sure before I wipe all her data..
Thanks
Update, it was that I just wiped all except the SD and flashed, all is just great

[Solved] Accidentally Wiped OS From Smartphone

Hello.
I was trying to do a factory reset when I accidentally wiped the os from 'my' phone.
I still can access to bootloader and I have TWRP installed.
I have no backups and no experience in the field.
How can I have 'my' phone back on track again?
Thank you very much.
YellowV said:
Hello.
I was trying to do a factory reset when I accidentally wiped the os from 'my' phone.
I still can access to bootloader and I have TWRP installed.
I have no backups and no experience in the field.
How can I have 'my' phone back on track again?
Thank you very much.
Click to expand...
Click to collapse
download a custom rom
boot to twrp and flash it
if you are on S-ON after rom installation flash the boot.img of the rom via fastboot command
the command is fastboot flash boot boot.img
rzr86 said:
download a custom rom
boot to twrp and flash it
if you are on S-ON after rom installation flash the boot.img of the rom via fastboot command
the command is fastboot flash boot boot.img
Click to expand...
Click to collapse
Thanks for the reply.
I'm trying to do that. But so far without success, i'm having this error:
' E: unable to open zip file. '
(I found a video of someone in a similar situation youtube/xpRyv0b-pfY #I can't post the complete link due to xdadevelopers restrictions)
Any Ideas why and how can I solve it?
YellowV said:
Thanks for the reply.
I'm trying to do that. But so far without success, i'm having this error:
' E: unable to open zip file. '
(I found a video of someone in a similar situation youtube/xpRyv0b-pfY #I can't post the complete link due to xdadevelopers restrictions)
Any Ideas why and how can I solve it?
Click to expand...
Click to collapse
change the recovery
http://d-h.st/rG7
extract the recovery.img and flash it via fastboot command
fastboot flash recovery recovery.img
also what rom did you download ?
rzr86 said:
change the recovery
http://d-h.st/rG7
extract the recovery.img and flash it via fastboot command
fastboot flash recovery recovery.img
also what rom did you download ?
Click to expand...
Click to collapse
I was finishing to do that when you made this post.
That solved the problem, but now I am with a new one:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ROM: http://forum.xda-developers.com/htc-sensation/development/rom-cyanogenmod11-ivanich-t2911152
YellowV said:
I was finishing to do that when you made this post.
That solved the problem, but now I am with a new one:
ROM: http://forum.xda-developers.com/htc-sensation/development/rom-cyanogenmod11-ivanich-t2911152
Click to expand...
Click to collapse
redownload the rom
rzr86 said:
redownload the rom
Click to expand...
Click to collapse
By distraction I put the wrong zip file.
I will try now with the proper one. Thanks.

[Bricked Nexus 5] can't mount /persisit ,/data; Currupt Partition; Flashing Failed

My rooted Nexus 5 has got bootloop issue because of faulty power button. It keeps restarting on its own. After replacing the power button with new One from LG Service center, now it stuck
at marshmellow boot screen, that boot keep running entire day untill battery died. LG Service center guys told me to replace the mother board. Since i was not convinced, i decided to make sure
if it is really required. My Nexus 5 has CWM recovery ver 6.0.4 with usb debugging on. Fastboot, adb everything is working. But if i tried to flash / wipe or mount i simply get error
can't mount /persist
cant mount /data
I tried following links to fix it-
https://forum.xda-developers.com/go...-unbrick-nexus-5-stucked-qualcomm-hs-t3043301
https://forum.xda-developers.com/go...orial-how-to-flash-factory-images-lg-t2713833
and some other first hand advice like run "Flash-all.bat" from stock rom, use WUG Toolkit to fix soft brick and flash stock rom or try flashing another custom recovery. But no matter what i try
CWM never get replaced and again same error. i was able to flash TWRP ( only untill reboot)and able to see folders under File Manager. But can't select Data, persist if try to wipe or mount from there.
One thing though, While using LG Flash tool my device never got detected in the tool even though i could see LG USB Serial Port under device manager in PC.
Please suggest if there is anything can be done to get it into working mode ,or motherborad replacement is the only way to go ahead.
You could try repartitioning device. try doing this:
https://forum.xda-developers.com/go...guide-repartition-nexus5-to-increase-t3509880
Actually resizing system partition also deletes userdata partition and it should work after recreating it. You have nothing to loose if it is already broken.
Try flashing the oldest stock ROM from the Google site. Make sure to flash userdata.img and perform a factoru wipe before booting the phone for the first time.
aciupapa said:
You could try repartitioning device. try doing this:
https://forum.xda-developers.com/go...guide-repartition-nexus5-to-increase-t3509880
Actually resizing system partition also deletes userdata partition and it should work after recreating it. You have nothing to loose if it is already broken.
Click to expand...
Click to collapse
Okay. Let me just try what you said. Will post the result
Edit1 -
I was not able to unmount /cache, /data .
On umount /cache it restart on its own and for other unmount /data and unmount /system invalid argument.
This is what happend (See image)--
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
audit13 said:
Try flashing the oldest stock ROM from the Google site. Make sure to flash userdata.img and perform a factoru wipe before booting the phone for the first time.
Click to expand...
Click to collapse
I am really sceptical if this will work. Since I have already tried flashing oldest rom of marshmallow (6.0.0).
Anyways, it won't take much time so will try to flash KitKat and let you know.
Edit -
Result was as expected
remote : failed to erase partition
remote : flash write failure
Any other Help ?? How to make sure if its really hard brick and not soft brick?
Sounds like the internal memory chip is damaged. I had one phone where I could not flash anything so I changed the motherboard and everything worked perfectly after the change.
I think I have a similar issue. Someone please help!

Recovery issue - Stock on boot-loop after patriation changes

Hi,
I tried to Root my POC F2 Pro device today, and I got stuck on boot-loop.
After installing TWRP I didn't manage to find the files in the internal storage (Something to do with storage encryption.) so I saw some videos and Change the partition to exFAT and then to EXT4 and from that moment everything went to hell.
I can't do anything and the device is not botting up. When I try do to anything like installing and new Global room/Wipe/Repair - I get this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I saw several posts about it, but nothing works for me. like:
- https://forum.xda-developers.com/t/cant-mount-system-vendor-odm.4143981/
I will appreciate any help that I can get
Thanks,
Aviran
AviranBhahar said:
Hi,
I tried to Root my POC F2 Pro device today, and I got stuck on boot-loop.
After installing TWRP I didn't manage to find the files in the internal storage (Something to do with storage encryption.) so I saw some videos and Change the partition to exFAT and then to EXT4 and from that moment everything went to hell.
I can't do anything and the device is not botting up. When I try do to anything like installing and new Global room/Wipe/Repair - I get this:
View attachment 5421729
I saw several posts about it, but nothing works for me. like:
- https://forum.xda-developers.com/t/cant-mount-system-vendor-odm.4143981/
I will appreciate any help that I can get
Thanks,
Aviran
Click to expand...
Click to collapse
Can you enter in fasboot mode?
If yes https://forum.xda-developers.com/t/guide-use-xiaomi-flash-tool.4262425/
DAAMMM WOW man...! I searched for a solution all night and didn't find anything no matter how hard I tried.
In one comment you fixed everything! Really (really) appreciated!
Thanks again!
@NOSS8 Maybe you can help me root my phone...?
After I installed the TWRP, I enter recovery mode and I see 0MB in the 'Internal Storage'.
I have PIN to the phone, but it's not asking me to write it down when I boot to recovery.
What can I do?
AviranBhahar said:
@NOSS8 Maybe you can help me root my phone...?
After I installed the TWRP, I enter recovery mode and I see 0MB in the 'Internal Storage'.
I have PIN to the phone, but it's not asking me to write it down when I boot to recovery.
What can I do?
Click to expand...
Click to collapse
Which Twrp did you use?
Which rom?
NOSS8 said:
Which Twrp did you use?
Which rom?
Click to expand...
Click to collapse
I manage to do it. I created a new boot image using Magisk and it worked.
Thanks again for the quick reply!

How To Guide [TB-J716F] Flashing Pseudo_Global firmware (many languages inside)

If you not like ZUI firmware - you can flash Pseudo_Global to your tablet. I've tested this way and sharing it here.
Pseudo_global fw was built on ZUI, it has A11 inside and you never can to get some system updates - no one is doing them.
Your data will gone away.
YOU ARE WARNED !
And so:
I've tryed this on ZUI 14.0.127 with unlocked bootloader and active slot _a. Active slot can be checked with
Code:
adb shell /bin/getprop ro.boot.slot_suffix
and answer must be _a
If not, you need change boot slot with command in fastboot mode:
Code:
fastboot set_active other
And now you can reboot in EDL mode and start to flash all needed partitions from unpacked archive Pseudo_ROW_J716Fl.7z
You need unpacked ZUI 12.6.211 from lolinet https://mirrors.lolinet.com/firmware/lenovo/Tab_P11_Pro_2021/TB-J716F/ for working with QPST Partition Manager.
How it looks you can see in this video:
You must flash ALL partitions archive contains. Files in Add.rar not need, it for any case.
MANDATORY ! After flashing you need at first to boot in recovery and make reset to factory settings, it will format userdata. Without this action you can't boot.
Spoiler: IS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Good Luck !
f1tm0t said:
If you not like ZUI firmware - you can flash Pseudo_Global to your tablet. I've tested this way and sharing it here.
Pseudo_global fw was built on ZUI, it has A11 inside and you never can to get some system updates - no one is doing them.
Your data will gone away.
YOU ARE WARNED !
And so:
I've tryed this on ZUI 14.0.127 with unlocked bootloader and active slot _a. Active slot can be checked with
Code:
adb shell /bin/getprop ro.boot.slot_suffix
and answer must be _a
If not, you need change boot slot with command in fastboot mode:
Code:
fastboot set_active other
And now you can reboot in EDL mode and start to flash all needed partitions from unpacked archive Pseudo_ROW_J716Fl.7z
You need unpacked ZUI 12.6.211 from lolinet https://mirrors.lolinet.com/firmware/lenovo/Tab_P11_Pro_2021/TB-J716F/ for working with QPST Partition Manager.
How it looks you can see in this video:
You must flash ALL partitions archive contains. Files in Add.rar not need, it for any case.
MANDATORY ! After flashing you need at first to boot in recovery and make reset to factory settings, it will format userdata. Without this action you can't boot.
Spoiler: IS
View attachment 5783891View attachment 5783993View attachment 5783995
Good Luck !
Click to expand...
Click to collapse
It was exactly what I was looking for and trying for days, but following your tutorial I still couldn't, it didn't turn on, I had to upload the rom 12.6.211 again. I wanted to leave it with multiple languages.
augustobfe said:
still couldn't, it didn't turn on
Click to expand...
Click to collapse
OK, I will re-check it in 2-3 days. Although I think you did something wrong.
f1tm0t said:
will re-check it in 2-3 days
Click to expand...
Click to collapse
Dude, I have some bad news for you. Your hands are crooked. That needs to be fixed.
My method works without fail. It only takes half an hour.
Try it again.
Spoiler: Look this:

Categories

Resources