fails at 5%For XT2 with unlocked BL, unrooted, stock recovery:
Do NOT try
fastboot format userdata
It will brick the device
Solution: boot to Stock Recovery -> do a Factory reset
fails at 5%For XT2 with unlocked BL, unrooted, stock recovery:
Do NOT try
fastboot format userdata
It will brick the device
Solution: boot to Stock Recovery -> do a Factory reset
CONFIG_F2FS_FS_ENCRYPTION=y
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_SECURITY=y
dd if=/external_sd/userdata.img.bz2 | bzip2 -dc | dd of=/dev/block/bootdevice/by-name/userdata
Fails
Code:target reported max download size of 531628032 bytes Invalid sparse file format at header magi erasing 'userdata'... OKAY [ 0.085s] sending sparse 'userdata' (161 KB)... OKAY [ 0.009s] writing 'userdata'... FAILED (remote: Chunk data size exceeds partition size) finished. total time: 92.673s
---------- Post added at 04:43 AM ---------- Previous post was at 04:40 AM ----------
now /data cannot be mounted
Sorry, the partition size is too big for a single image.
SparseConverter XDA page
Use this userdata.img.bz2 as it's much smaller.
For simplicity, let's flash this from twrp / Advanced / Terminal:
Let me know if that works. If not, I'll try to split up the image into pieces.Code:dd if=/external_sd/userdata.img.bz2 | bzip2 -dc | dd of=/dev/block/bootdevice/by-name/userdata
now i just need /system and it will boot i think (i have multiple issues due to my own stupidity)Note: I just performed the below on my device, and it successfully returns the device (/data) to factory. It will take a while (5-10min) to boot, then start up with the Google setup screen.
now i just need /system and it will boot i think (i have multiple issues due to my own stupidity)
Tell me step by step what you are doing. And what's happening in most detail as possiblethink im getting storage issues again on the image
What you do. So if someone else experiences thisfixed and working now!!!!
You can only mount the ext4 partitions and neglect f2fs, my twrp was fully functional this way.i don't know why it fail as f2fs is enabled, the default XT2 kernel source does have f2fs enabled too but the stock kernel doesn't boot so there is no way to confirmed whether it is the kernel or TWRP problem.And i have completely forgotten that TWRP does have logs so i need you to repeat your whole process then attach the logs here. There are two ways, At TWRP => Advanced => Copy Log to SDCard or adb pull /tmp/recovery.logCode:CONFIG_F2FS_FS_ENCRYPTION=y CONFIG_F2FS_FS=y CONFIG_F2FS_STAT_FS=y CONFIG_F2FS_FS_XATTR=y CONFIG_F2FS_FS_POSIX_ACL=y CONFIG_F2FS_FS_SECURITY=y
Hopefully that will give some clues to unbrick your XT2 :fingers-crossed:
What you do. So if someone else experiences this
---------- Post added at 10:57 PM ---------- Previous post was at 10:55 PM ----------
Also got new TWRP and setting up a new thread. Cause this one is a train wreck. And I can update it more efficiently. As things get improved and added
It already works?Anyone know how to be able to write to the system so things like BusyBox and Xposed can install and work?
---------- Post added at 11:53 PM ---------- Previous post was at 11:51 PM ----------
Looking forward to it ?
It already works?
It already works?
Already did that too?? Not for me. Idk what I did wrong. Would you please do me a favor and download the app ''BusyBox'' from the play store and install it and tell me if it installs for you?
Is there something I did wrong? Here's what I did:Everyone just wait for the new thread I'll stay up late and work on it.
---------- Post added at 01:03 AM ---------- Previous post was at 01:02 AM ----------
Already did that too
Odd... Get termux and see if you can suIs there something I did wrong? Here's what I did:
1. Flash TWRP (the first one that was posted)
2. Backed up system and boot to my SD card just in case
3. Flashed the Super SU zip, then rebooted and then downloaded Phh's superuser
I know I'm rooted, but I cannot install BusyBox or Xposed no matter how many times I try.
Odd... Get termux and see if you can su