Bricked S3 (E: failed to mount /efs (Invalid argument)) - Galaxy S III Q&A, Help & Troubleshooting
I've backup efs for samsung gs3 i9305 by efs pro v1.2.6 and i tried restor efs , but after restar mobile it not work,stands on the logo samsung
when entering a Recovery This image shows
http://imageshack.us/f/809/photookc.jpg/
Is there a way to push efs file to mobile I've copied efs the way Root Explorer program and tried, but to no avail for the entry way to efs to the device
I tried with the pc suit for Andorad when entering recovry mode I see all files system for mobil, but when you try to push efs appears that not enough space
http://imageshack.us/f/688/95833739.png/
http://imageshack.us/f/547/42574038.png/
Any help or thought about push file efs to phone. to restore life for mobil and I do not know if there was frimware of three files Will addresses the issue.
thanks
sorry for bad english
Wrong section, post in the 9305 QA
Glebun said:
Wrong section, post in the 9305 QA
Click to expand...
Click to collapse
Hit Thanks if I deserve it >
U dont
---------- Post added at 09:20 PM ---------- Previous post was at 09:03 PM ----------
nabel_sweed said:
I've backup efs for samsung gs3 i9305 by efs pro v1.2.6 and i tried restor efs , but after restar mobile it not work,stands on the logo samsung
when entering a Recovery This image shows
Is there a way to push efs file to mobile I've copied efs the way Root Explorer program and tried, but to no avail for the entry way to efs to the device
I tried with the pc suit for Andorad when entering recovry mode I see all files system for mobil, but when you try to push efs appears that not enough space
Uploaded with ImageShack.us
Any help or thought about push file efs to phone. to restore life for mobil and I do not know if there was frimware of three files Will addresses the issue.
thanks
sorry for bad english
Click to expand...
Click to collapse
---------------------------------------------------------------------------------------------------------------------------
Sorry but u in serious problems i had exact same problem and struggled in several days to sort it out
U efs dir is corrupted for sure - u should have made a fresh backup before starting any flashing
This is with no doubt the most complicated dir on our phone, and if u dont have a 100% working backup before starting messing around theres absolutely NO way to restore it - I was lucky i now a guy with a SPT box he hardcoded my modem bin file and imei, and then copy imei folder 1 file after another, then set permissions right with efspro - and then network/imei came back - but this way i cant ever change modem file again has to use the patched one (and it must be flashed through spt box not odin/heimdal it wont work then)
This means i ever cant flash a rom with aroma installer, because it forces u to choose another modem file
Sorry but without a spt patched modem u wont ever be able to use network again
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TO ALL OF YOU OUT THERE !!!! MAKE A BACKUP OF EFS FOLDER WITH KTOOL AND KEEP IT A SAFE PLACE - JUST IN CASE
Glebun said:
Wrong section, post in the 9305 QA
Click to expand...
Click to collapse
Sorry to put the question on the location inappropriate please amendment of supervision.
spoonymoon said:
Hit Thanks if I deserve it >
U dont
---------- Post added at 09:20 PM ---------- Previous post was at 09:03 PM ----------
---------------------------------------------------------------------------------------------------------------------------
Sorry but u in serious problems i had exact same problem and struggled in several days to sort it out
U efs dir is corrupted for sure - u should have made a fresh backup before starting any flashing
This is with no doubt the most complicated dir on our phone, and if u dont have a 100% working backup before starting messing around theres absolutely NO way to restore it - I was lucky i now a guy with a SPT box he hardcoded my modem bin file and imei, and then copy imei folder 1 file after another, then set permissions right with efspro - and then network/imei came back - but this way i cant ever change modem file again has to use the patched one (and it must be flashed through spt box not odin/heimdal it wont work then)
This means i ever cant flash a rom with aroma installer, because it forces u to choose another modem file
Sorry but without a spt patched modem u wont ever be able to use network again
Thanks for the reply and assistance
So the solution you think with box spt.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TO ALL OF YOU OUT THERE !!!! MAKE A BACKUP OF EFS FOLDER WITH KTOOL AND KEEP IT A SAFE PLACE - JUST IN CASE
Click to expand...
Click to collapse
Have a look here >http://forum.xda-developers.com/showthread.php?t=1896470
Best thing u can do is follow this guide, and send for repair saying it happend during kies update they wont/cant charge u then :silly:
http://forum.xda-developers.com/showthread.php?t=1846451
And yes spt box did the trick, but they are hard to get around, and sertenly not easy to use
One more thing if youre to play around with a spt DONT use windows 8 it has a lot of new low level security crap build in that makes spt box fail !! use 7
spoonymoon said:
Have a look here >http://forum.xda-developers.com/showthread.php?t=1896470
Best thing u can do is follow this guide, and send for repair saying it happend during kies update they wont/cant charge u then :silly:
http://forum.xda-developers.com/showthread.php?t=1846451
And yes spt box did the trick, but they are hard to get around, and sertenly not easy to use
One more thing if youre to play around with a spt DONT use windows 8 it has a lot of new low level security crap build in that makes spt box fail !! use 7
Click to expand...
Click to collapse
Thank you very much I follow the instructions
i used the following commands to do so manually in terminal
Code:
mke2fs / dev/block/mmcblk0p3
mount-w-t ext4 / dev/block/mmcblk0p3 / efs
Then restart the Mobile and it work normal and i copy efs with program Root exploer and returned everything in its natural form
hi help please my phone GS3 i9300 international ver
when im trying to re mount efs with code in cmd manually my phone path not shown in device on my computer and when start it stuck on Samsung logo but i can enter recovery mode and download mode when i enter recovery mode error msg (E:\failed to mount efs (invalid argument)) i flash this roms I9300XXELL5_I9300OJVELL2_KSA nothing change.
advice plz
bricked s3
i bricked my s3 (hard brick, not soft as you are reporting), i sent mine off to mobiletechvideos.com and got it back within a week. HIGHLY recommended. don't know if you can fix your soft brick or not, but you may need JTAG repair like i did. i didn't have the hardware to perform the JTAG myself, but i had the software. needless to say, it was cheaper to send it off to be fixed than to report it to my insurance or to buy the hardware. hope this helps!
nabel_sweed said:
Thank you very much I follow the instructions
i used the following commands to do so manually in terminal
Code:
mke2fs / dev/block/mmcblk0p3
mount-w-t ext4 / dev/block/mmcblk0p3 / efs
Then restart the Mobile and it work normal and i copy efs with program Root exploer and returned everything in its natural form
Click to expand...
Click to collapse
Hello, I've got the same problem here.
I managed to ODIN flash a stock I9300XXDLJ4_I9300PHEDLI1_PHE ROM with CWM root.
It keeps giving me this 'E: failed to mount /efs (Invalid argument)' error.
then I got in with ADB SHELL and executed:
mke2fs / dev/block/mmcblk0p3
sh: mke2fs: not found
I investigated a bit and found out that it's a busybox command, so as I only can ADB do things, (doesn't boot), i pushed the busybox_android binary to my S3 and now when I execute the mke2fs command through:
./busybox_android mke2fs /dev/block/mmcblk0p3
I get
./busybox_android mke2fs /dev/block/mmcblk0p3
Segmentation fault
Any ideas?
Thank you in advance.
Flash a stock rom via Odin .
jje
JJEgan said:
Flash a stock rom via Odin .
jje
Click to expand...
Click to collapse
I already did that but phone won't boot up. Is there any special recommendation/procedure to fix this?
I flashed a stock I9300XXDLJ4_I9300PHEDLI1_PHE ROM with CWM root.
In the Galaxy Note N7000 we had 'full wipe stock ROMs', I wonder if there is anything similar in the S3...
Thank you in advance.
We finally fixed it. I'll post the solution in case it can help anyone else...
The S3 got stuck in the Samsung logo screen:
{
"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"
}
When entering the recovery it gave us this error "E: failed to mount /efs (Invalid argument)"
As we already know, the /efs folder contains all the personalized information of the mobile (IMEI number, carrier lock, etc). So if we like to play with ROMs, we should be aware of this detail and make several backups of this VERY IMPORTANT folder, and preferably store them out of the mobile, in the computer for example.
in case we mess up the /efs folder, we are likely to have no other solution than bringing it to the authorized Samsung dealer for repair. No one is going to lend us the EFS backup from their mobile, as doing that we would likely clone their IMEI -which is, BTW, unlegal.
So we first flashed with PC-ODIN a STOCK ROM (I9300XXDLJ4_I9300PHEDLI1_PHE). We tried different ones (one file, 4 files) and none of them solved our problem as the problem was with the /efs partition and I don't think any ROM will touch that...
After flashing the ROM we also flashed Chainfire's CF-Root (CF-Auto-Root-m0-m0xx-gti9300)
We boot up the mobile in recovery mode (Volume UP + Power + Home), we connected to the PC through ADB SHELL.
Our first surprise, trying to partition:
#mke2fs / dev/block/mmcblk0p3
sh: mke2fs: not found
It seems that mke2fs is a command provided by busybox, and it's not present in the stock ROM.I downloaded a precompiled busybox version from busybox.net and pushed it in the S3
Code:
PC> adb shell mkdir /data/busybox
PC> adb push busybox /data/busybox
PC> adb shell
$su
#cd /data/busybox
#chmod 775 busybox
#./busybox --install
once installed we could use mke2fs command properly:
Code:
# busybox mke2fs /dev/block/mmcblk0p3
busybox mke2fs /dev/block/mmcblk0p3
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
5136 inodes, 20480 blocks
1024 blocks (5%) reserved for the super user
First data block=1
Maximum filesystem blocks=262144
3 block groups
8192 blocks per group, 8192 fragments per group
1712 inodes per group
Superblock backups stored on blocks:
8193
and after that mounting the partition in the /efs folder
Code:
#busybox mount -w -t ext4 /dev/block/mmcblk0p3 /efs
busybox mount -w -t ext4 /dev/block/mmcblk0p3 /efs
With the EFS folder fixed, we ADB PUSHED the backup of ur efs folder (efs.tar), we unpackaged it (busybox tar xfv efs.tar) and moved it's content to the newly fixed /efs folder.
Reboot and ready to go:
ptolomeo said:
Code:
#busybox mount -w -t ext4 /dev/block/mmcblk0p3 /efs
busybox mount -w -t ext4 /dev/block/mmcblk0p3 /efs
Click to expand...
Click to collapse
I did everything as told but after that command I get this:
mount: mounting /dev/block/mmcblk0p3 on /efs failed: file too large
Rockwell_ said:
I did everything as told but after that command I get this:
mount: mounting /dev/block/mmcblk0p3 on /efs failed: file too large
Click to expand...
Click to collapse
You're on luck.
In the Spanish forum where I also posted the solution (www.htcmania.com/showthread.php?t=541264), another guy came with the same problem. In his case, he was using latest busybux v.20 which he downloaded from busybox.net instead of using the one I provided (v.19).
http://www.nobutaka.es/web/files/S3.zip
We substituted v.20 with v.19 and it worked instantly.
Hope it works for you.
Offtopic, but how did you manage to mess up EFS at first.
I am asking, so taht I can avoid it in future.
eggman89 said:
Offtopic, but how did you manage to mess up EFS at first.
I am asking, so taht I can avoid it in future.
Click to expand...
Click to collapse
I didn't mess the EFS. I don't even have a S3 (I have a Note N7000) .
My friend claims that he also didn't do anything at all. The S3 just drained the battery and then it didnt boot any more.
Hope it helps.
My conclusion: if you own an S3 do a backup of the EFS folder.
ptolomeo said:
You're on luck.
In the Spanish forum where I also posted the solution (www.htcmania.com/showthread.php?t=541264), another guy came with the same problem. In his case, he was using latest busybux v.20 which he downloaded from busybox.net instead of using the one I provided (v.19).
http://www.nobutaka.es/web/files/S3.zip
We substituted v.20 with v.19 and it worked instantly.
Hope it works for you.
Click to expand...
Click to collapse
Ok, I see. Thanks.
Now I get error after ./busybox --install
busybox: /bin/[: No such file or directory
edit: Got it working after removing the new busybox and mkdir /bin
Now the only problem is restoring efsbackup.tar. I have two different backups. Others size is over 6MB and other is 5.3MB. Should I do something with the .img files? I tried to push the smaller one in to phone and unpacked it in /efs folder. Still no IMEI.
Bricked S3
Hi guys. I am a new member of xda developers. i brought a galaxy s3 2 months back, and it was fine until yesterday. suddenly found it stuck on the samsung logo screen. I took it to a dealer, and got the answer that the imei is null, and can't do anything but to change the board for 300 USD.
Also i am getting the following error: failed to mount /efs (invalid argument) when pressing menu, volume up and power buttons.
Please help me, .:crying::crying::crying::crying:
LebAndroider said:
Hi guys. I am a new member of xda developers. i brought a galaxy s3 2 months back, and it was fine until yesterday. suddenly found it stuck on the samsung logo screen. I took it to a dealer, and got the answer that the imei is null, and can't do anything but to change the board for 300 USD.
Also i am getting the following error: failed to mount /efs (invalid argument) when pressing menu, volume up and power buttons.
Please help me, .:crying::crying::crying::crying:
Click to expand...
Click to collapse
So, did you read any of the previous messages? I'm guessing not...
Please take the time and trouble to read the messages on a thread before posting.
Now stop :crying: :crying: :crying: and start READING!
Permission denied
PC> adb shell mkdir /data/busybox
PC> adb push busybox /data/busybox
PC> adb shell
$su
#cd /data/busybox
#chmod 775 busybox
#./busybox --install[/CODE]
Please help me...Iam stuck on the first line. When i try "adb shell mkdir /data/busybox"...it states cannot create directory data /busybox: Permission denied. What am i supposed to do? I flashed with the stock ROM and chainfire auto root from the above links. Earlier i had another stock ROM installed and with that i tried everything and got stuck in the last step while trying to mount efs. It stated" file too large to mount". I downloaded the busybox version from the links stated in this thread. Iam desperate. Pls help!!!! What should i do now??
Related
[Q] No service, no IMEI, no IMSI problem..
Hi! I installed Toolbox Rom, I wanted to change the boot animation (animation I've successfully changed) but I noticed that I have access to the network. I found some instructions for repair, but none helped. whenever I want to copy the backup of the EFS system have their own copies. when I delete the EFS there now appears old EFS system has generated. Can you please somehow fix it? Thank you. (sorry for my English, I do not know good English and translate through Google traslator)
Try this: in adb shell, i ran Code: su busybox tar zcvf /sdcard/efs/efs-backup.tar.gz /efs i then downloaded 7-zip, used it to open the .tar file i deleted the corrupt files; nv_data.bin nv_data.bin.md5 i then renamed; .nv_data.bak > nv_data.bin .nv_data.bak.md5 > nv_data.bin.md5 after closing and saving the changes, i then went back to adb shell and ran Code: su umount /efs mke2fs /dev/block/mmcblk0p1 mount -w -t ext4 /dev/block/mmcblk0p1 /efs busybox tar zxvf /sdcard/efs-backup.tar.gz -C / reboot and voila! i was prompted to select my network provider, check status and all my IMEI, IMEI SV and other info was back to normal! Thanks to @dickie2007
how to use adb shell? you do not have any instructions on how to proceed step by step? sorry.. i am a lame..
http://forum.xda-developers.com/showthread.php?t=502010
Thank you. I made it through the terminal emulator. network to find me, to be called from the can. IMEI 004999010640000 I and my IMEI SV 01 Does it matter?
sorry I do not understand you
phone is ok, but my imei is: 004999010640000. is this okay?
i dont know your imei, possible it is
i have original IMEI on the box: 358XXX...
repeat the procedure, may help you. I had the same problem, this link is me helped http://forum.xda-developers.com/showthread.php?t=1300071
[Help] Mistyped - I accidentally remounted /efs with rw
Hey, I just mistyped a command in the adb-root-console shame on me!! I accidentally remounted /efs with rw which I didn't wanted to do originally. I did execute the following command in a adb shell session while the phone was normally booted up... $ su # mount -o rw,remount /dev/block/mmcblk0p1 /efs now I'm in fear that /efs is mounted incorrectly for ever... is this possible, or does a reboot reset the "mountings" anyways? when I enter #mount I get: .... /dev/block/mmcblk0p1 /efs ext4 rw,relatime,barrier=1,data=ordered 0 0 .... is this normal for a SGS2 2.3.4 with stock rom? is /efs mounted this way (rw,relatime,barrier=1,data=ordered 0 0) by default or did I messed it up? I'd appreciate it very much if someone could paste their output of the "mount" command when they execute it as root... thanks a lot! I'm so sad, that this happened and I probably messed up my phone... I hope I didn't
mount is a single session command unless you write it into a init.d script or the fslab. Once you reboot, anything you remounted will be back to default. If you still have your IMEI your fine. Backup your EFS with ktool (search market).
Only I can add is that /efs is mounted rw by default
My efs is rw on cm9 fwiw
EFS is always RW, even (or esp.) on stock ROMs as the system keeps writing stuff into it. If you think you did something wrong, just reboot to restore normal, default state. By now you should've made a backup of the EFS anyways, so nothing perma-bad can happen.
Help with terminal emulator
I am trying to restore an efs back up using a command line however when I run it I get /system/bin/sh: suumount: not found. What do I do to rectify this
1Chef said: I am trying to restore an efs back up using a command line however when I run it I get /system/bin/sh: suumount: not found. What do I do to rectify this Click to expand... Click to collapse Hi, according to what Sale adviced you: - every line constitutes a separated command - it's not "sumount" but "su" [enter], "unmount /efs" [enter] etc. Regards
Yay thank you so much except now I have a new problem I can't unmount efs as it is busy how do I stop efs
1Chef said: Yay thank you so much except now I have a new problem I can't unmount efs as it is busy how do I stop efs Click to expand... Click to collapse Ok, try "umount /efs" and see what happens.
Many40 said: Ok, try "umount /efs" and see what happens. Click to expand... Click to collapse Yes I type in in terminal emulator unmount/efs and the replie is umount: can't umount /efs: device or resource busy I am trying to do it in aroma file manager in recovery but that doesnt work either
This is what happens
oh dude there is a space in between umount and /efs like this umount /efs there is a space in between
1Chef said: This is what happens Click to expand... Click to collapse But from you screenshot I see that you didn't put [space] between "umount" and "/efs" so try again with "umount /efs" with space between.
If i am using a terminal emulator in recovery I won't need to type in adb shell or su I'll just start with umount /efs??? edit I need su
In recovery in terminal I'm getting ~#adb shell error device not found ~# su [email protected]:/ # umount efs umount efs: can't umount efs: invalid argument
busybox tar zxvf /sdcard/efs-backup.tar.gz -C / for this line to work were would i need to save my efs.tar.gz
Ok I'm nearly there ON the last line see above I get tar: invalid tar magic
I"ve given up as I get stuck on the last line and after alot of googling there is no clear answer on how to fix the tar magic problem I can go back to the standard neat rom with not mods and it doesnt appear to lose its IMIE:laugh:
[Q] falied to mount /efs -->> How to fix ?
Guys I need help with my S3 Device can't boot.. Samsung Logo loop... E:failed to mount /efs (Invalid argument) # Manual Mode # -- Appling Multi-CSC... Applied the CSC-code : Unknow Succefuly applied multi-CSC.
Where does the error message come from? ----------------------- Sent via tapatalk. I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
kar3ka said: Guys I need help with my S3 Device can't boot.. Samsung Logo loop... E:failed to mount /efs (Invalid argument) # Manual Mode # -- Appling Multi-CSC... Applied the CSC-code : Unknow Succefuly applied multi-CSC. Click to expand... Click to collapse Thanks to BaDaB!ng505 Must odin back to original rom to work Assuming you have CWM installed on device and have androidsdk store on computer C: drivedevice must be rooted 1..Plug Device to Computer.. Reboot Device in CWM recovery/ mount storage/ mount system 2 on computer Shift+Ctrl +right click to open command window command window type cd c:/androidsdk/tools adb shell su mke2fs /dev/block/mmcblk0p3 ( skip to next step if fail) mount -w -t ext4 /dev/block/mmcblk0p3 reboot this will create a generic EFS files on device*when you reboot you will see your screen with a yellow text..now time to get rid of it root explorer/efs and delete factorymode(OFF) and replace with factorymode(ON)reboot in recovery wipedata factory reset...done factorymode: http://forum.xda-developers.com/attachment.php?attachmentid=1772304&d=1362190578 Now you can back up your efs.tar(for 8000 user only) Reboot and everthing should be back to normal Dont Think About What To Do Just Hit The THANK Button ---------- Post added at 10:00 AM ---------- Previous post was at 09:59 AM ---------- But I didnt find for the s3 I am going do not download for the n8000 Dont Think About What To Do Just Hit The THANK Button
big thanks !!! problem solved
kar3ka said: big thanks !!! problem solved Click to expand... Click to collapse You are welcome I am here to help you. I am not asking for Donations to help you find solutions I am just asking for a little click on the Thanks Button
hi, I can't get pass the last command to mount it. it says can't find /dev/block/mmcblk0p3 in /etc/fstab any ideas?
very think, unbridled my sgs3. dear friend, my phone was bricked and the only tutorial that really worked was this here. but adbshell used to enter another command was desperate required. even more thanks.
Lalssa said: Thanks to BaDaB!ng505 Must odin back to original rom to work Assuming you have CWM installed on device and have androidsdk store on computer C: drivedevice must be rooted 1..Plug Device to Computer.. Reboot Device in CWM recovery/ mount storage/ mount system 2 on computer Shift+Ctrl +right click to open command window command window type cd c:/androidsdk/tools adb shell su mke2fs /dev/block/mmcblk0p3 ( skip to next step if fail) mount -w -t ext4 /dev/block/mmcblk0p3 reboot this will create a generic EFS files on device*when you reboot you will see your screen with a yellow text..now time to get rid of it root explorer/efs and delete factorymode(OFF) and replace with factorymode(ON)reboot in recovery wipedata factory reset...done factorymode: http://forum.xda-developers.com/attachment.php?attachmentid=1772304&d=1362190578 Now you can back up your efs.tar(for 8000 user only) Reboot and everthing should be back to normal Dont Think About What To Do Just Hit The THANK Button ---------- Post added at 10:00 AM ---------- Previous post was at 09:59 AM ---------- But I didnt find for the s3 I am going do not download for the n8000 Dont Think About What To Do Just Hit The THANK Button Click to expand... Click to collapse i need a help , i got this on the last step: can't find /dev/block/mmcblk0p3 in /etc/fstab
Lalssa said: Thanks to BaDaB!ng505 Must odin back to original rom to work Assuming you have CWM installed on device and have androidsdk store on computer C: drivedevice must be rooted 1..Plug Device to Computer.. Reboot Device in CWM recovery/ mount storage/ mount system 2 on computer Shift+Ctrl +right click to open command window command window type cd c:/androidsdk/tools adb shell su mke2fs /dev/block/mmcblk0p3 ( skip to next step if fail) mount -w -t ext4 /dev/block/mmcblk0p3 reboot Click to expand... Click to collapse big thanks !!!
TWRP , extracttarfork() process ended with error=255, How to Fix.. ?
Hello .. Someone help me. i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this. it happens when i am trying to restore FIRMWARE partition. any solution . anyone facing this issue.. ? { "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" }
FurqanHanif said: Hello .. Someone help me. i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this. it happens when i am trying to restore FIRMWARE partition. any solution . anyone facing this issue.. ? Click to expand... Click to collapse Answered you in the TWRP thread. Check again.
FurqanHanif said: Hello .. Someone help me. i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this. it happens when i am trying to restore FIRMWARE partition. any solution . anyone facing this issue.. ? Click to expand... Click to collapse Just restore system, data,and boot , don't forget flash frimware..Done , solved.
sachin n said: Answered you in the TWRP thread. Check again. Click to expand... Click to collapse I am stuck with the same problem. Can you link me to your answer to him or just again tell me what's the solution? Firmware was 90MB before, after trying to restore it, TWRP wiped it and now it's 23MB.
nilanko said: I am stuck with the same problem. Can you link me to your answer to him or just again tell me what's the solution? Firmware was 90MB before, after trying to restore it, TWRP wiped it and now it's 23MB. Click to expand... Click to collapse The answer is to just restore system, data and boot. That's the way to go. Sent from my mido using XDA Labs
I just restore system and data, but problem was occur like that. Any solution?
From my experience, i think it is because of miui rom?? After trying many time, I used this method ..... 1. first wipe everything 2. flash original zip rom 3.then flash your backup 4. Flash lazyflasher It will show error though but you will get radio working
Firmware Problem "extractTarFork process ended with ERROR 255" In My case Firmware is not restoring shoiwing error "extractTarFork process ended with ERROR 255" so to solve it 1.Wipe data dalvik cache and system 2.Just flash the new rom which u had earlier. for exp. i had lineage 14.1 3.After installing it ask for wipe dalvik and cache do it then dont wipe it from the main menu. 4.just restore the backuped file without ticking the firmware Note-Firmware must be untick while restoring 5.done Problem of fingerprint scanner and network problem also solved by this Note-Dont restart in between if it helps you Subscribe to My Youtube Channel youtube.com/AnonymAb
AmanBhagat said: In My case Firmware is not restoring shoiwing error "extractTarFork process ended with ERROR 255" so to solve it 1.Wipe data dalvik cache and system 2.Just flash the new rom which u had earlier. for exp. i had lineage 14.1 3.After installing it ask for wipe dalvik and cache do it then dont wipe it from the main menu. 4.just restore the backuped file without ticking the firmware Note-Firmware must be untick while restoring 5.done Problem of fingerprint scanner and network problem also solved by this Note-Dont restart in between if it helps you Subscribe to My Youtube Channel youtube.com/AnonymAb Click to expand... Click to collapse does not work for me. do you have any other method?
FurqanHanif said: Hello .. Someone help me. i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this. it happens when i am trying to restore FIRMWARE partition. any solution . anyone facing this issue.. ? Click to expand... Click to collapse sohanaw said: does not work for me. do you have any other method? Click to expand... Click to collapse That happened to me twice, loosing the imei. To fix it, just restore or flash any rom you want, and follow this steps: Extract NON-HLOS.bin file from official ROM. Copy extracted NON-HLOS.bin to the adb/fastboot folder. Boot your device into fastboot mode. Connect your device to PC In the folder with adb/fastboot tools press “Shift” key + right mouse button and select “Open command window here”. Enter these commands in order: Code: Fastboot devices Fastboot.exe erase modem Fastboot.exe flash modem NON-HLOS.bin Fastboot.exe reboot Check your IMEI. It should be restored now.
ramping said: That happened to me twice, loosing the imei. To fix it, just restore or flash any rom you want, and follow this steps: Extract NON-HLOS.bin file from official ROM. Copy extracted NON-HLOS.bin to the adb/fastboot folder. Boot your device into fastboot mode. Connect your device to PC In the folder with adb/fastboot tools press “Shift” key + right mouse button and select “Open command window here”. Enter these commands in order: Code: Fastboot devices Fastboot.exe erase modem Fastboot.exe flash modem NON-HLOS.bin Fastboot.exe reboot Check your IMEI. It should be restored now. Click to expand... Click to collapse modem is okay i am able to flash that. but for me persist is showing 0mb in twrp and i am unable to flash persist i have tried fastboot miflash none worked for me . please if you have any other method then share.
Go back to StockROM with the help of Xiaomi's tools Had the same problem. The methods above didn't work for me, either. I went back to StockROM with the tools provided on the Xiaomi website, the process will re-flash the firmware, too and all described problems will be solved. Make sure you'll untick "firmware" on the next time when trying a restore
ramping said: That happened to me twice, loosing the imei. To fix it, just restore or flash any rom you want, and follow this steps: Extract NON-HLOS.bin file from official ROM. Copy extracted NON-HLOS.bin to the adb/fastboot folder. Boot your device into fastboot mode. Connect your device to PC In the folder with adb/fastboot tools press “Shift” key + right mouse button and select “Open command window here”. Enter these commands in order: Check your IMEI. It should be restored now. Click to expand... Click to collapse Well what can i said??u really save my poor soul last night!!been 2 days searching for solution after error 255 on my redmi 5 plus,ur solution work perfectly n thank you brooooo!!!??? Sent from my Redmi 5 Plus using XDA Labs
well this is weird. I'm having error 255 on firmware partition restore, no matter what I do (redmi note4x snapdragon global, nandroid backups from stock miui8.5-9.2 and LAOS15.1) However using (at least some of) my backups with firmware unticked and then installing firmware from TWRP package does the trick, like this one below: https://forum.xda-developers.com/re...irmware-firmware-miui-9-china-stable-t3697976
I had this problem on a Redmi Note 3 Pro/Qualcomm recently. It seems to me to be loosely correlated to the /data backup size, and seems to manifest just below 4GB, looks suspiciously like some 32bit counter/offset ... but .... in my case this seems to happen only in the first tar/win file which much < 2GB uncompressed anyway. Interestingly, not all tar binaries are equal. The binary from LineageOS 14.1 crashes reading win000 files often if I try to test this from a terminal session when the phone is booted normally, however tar from TWRP does work and doesn't crash. Using tar from ubuntu 18.04 I can see all the files, however there are numerous reports of Code: tar: Malformed extended header: missing equal sign Maybe this tar crash is also what is happening for the TWRP GUI using it's internal tar? Although this seems to be crashing when the recovery is nearing 4GB, however my tar crash seems to happen on the first segmented win000 file? Maybe it is related in some way to pigz which seems to be used by the TWRP GUI to compress/uncompress and it does multi-threading. I haven't looked at TWRP code. I tried TWRP 3.1.1-0, and downloaded the latest 3.2.3-0 from twrp.me. Both failed in the same way. I inspected some of the backups I had, finding decrypted /data space usage less /data/media: Code: $ ls -1 2018-09-06--12-41-18_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f 2018-11-10--11-08-53_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f 2019-01-10--10-01-22_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f 2019-01-26--16-04-54_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f $ grep Data.backup.size */recovery.log|uniq|sed 's/\// /;s/--[^ ]* / /;s/:/ /' 2018-09-06 recovery.log I:Data backup size is 3464MB, free: 14062MB. 2018-09-06 recovery.log I:Data backup size is 3464MB, free: 11552MB. 2018-11-10 recovery.log I:Data backup size is 4622MB, free: 11065MB. 2018-11-10 recovery.log I:Data backup size is 4622MB, free: 7576MB. 2019-01-10 recovery.log I:Data backup size is 4041MB, free: 11284MB. 2019-01-10 recovery.log I:Data backup size is 4041MB, free: 8192MB. 2019-01-26 recovery.log I:Data backup size is 652MB, free: 24414MB. $ I could restore 2018-09-06 and 2019-01-26 using TWRP GUI while the other 2 failed with error=255. Of the backups I could restore with the TWRP GUI, both backups are easily < 4GB. 2019-01-10 is just below, still no idea if it is related to 4GB. In each case I formatted /data before hand, so /data/media was empty, so there was 24GB of free space, so there was always at least 2 times, sometimes 5 times, the actual space required for the recovery available. Irrespective of the actual failure mode, I was able to restore the other backups manually. Interestingly when I examine the .win and .win000 files with Code: tar tvf file | sed 5q I find that the single .win file backups need to be restored while current directory is /data whereas the multipart backups need to be restored while current directory is /. Manual restore process from TWRP recovery shell : Backup everything to storage external the phone, and then backup the backup. Wipe /data. I prefer to format /data while also wipes /data/media = /sdcard as this guarantees /data is clean, however if your backups are stored in /sdcard/TWRP then you are going to need to either not format /data or restore them from your PC, or not store them in /sdcard/TWRP and store them on an external sdcard or external USB OTG drive. Actual location may vary depending on TWRP build. Determine the b= lines below appropriately. Connect using adb shell. You could type this in using the TWRP Advanced Terminal, but error prone. Make sure you have enough free space on /data to do the restore. You should have, but this is the manual process so cross check. Restore the .win0?? files with tar. Code: ... # PS1="# " # optional # cd /location/TWRP/BACKUPS/serialnumber/2019-01-10* # location: sdcard sdcard1 usb-otg # pwd # verify backup directory /location/TWRP/BACKUPS/.../2019-01-10--10-01-22_... # b=$(pwd) # remeber backup folder location # ls -l data.*.win000 # verify backup file exists -rw-rw---- 1 root sdcard_rw 1109681843 2019-01-26 11:02 data.ext4.win000 # for m in data*md5; do md5sum -c $m; done # verify md5 checksums of each tar/win file. data.ext4.win000: OK data.ext4.win001: OK data.ext4.win002: OK # cd / # for w in $b/data*win0??; do echo recover $w; tar xpvf $w > $w.rec; echo; done recover /.../data...win000 tar: removing leading '/' from member names recover /.../data...win001 tar: removing leading '/' from member names recover /.../data...win002 tar: removing leading '/' from member names # cd $b # wc -l data*rec # verify recovery of reasonable number of files 29346 data.ext4.win000.rec 343 data.ext4.win001.rec 1831 data.ext4.win002.rec 31520 total # df /data Filesystem 1K-blocks Used Available Use% Mounted on /dev/block/dm-0 25667344 15051056 10599904 59% /data # Reboot
Download latest mido firmware and flash through twrp.
If you are on mido here is the solution i used I flashed the last rom i had ( for my case :miui.eu 10.3 oreo port ) Then wipe data The flashed the miui 10.1.1.0 for mido And wait for it to boot up and you will be fine You can update after to 10.2.3.0
The good fix!!! TWRP always skip data/media in backup or restore. This is a problem! Restoring procedure "automatic format" skipped data/media folder, only delete other folders. "Wiping data without wiping data/media ..." To delete data partition completly: 1. Go to Wipe menu 2. Wipe Data 3. Yes (all data, audio, video, etc deleted) 4. Go to Restore menu 5. Restore Data partition Restore completed without error!
samarium said: I had this problem on a Redmi Note 3 Pro/Qualcomm recently. It seems to me to be loosely correlated to the /data backup size, and seems to manifest just below 4GB, looks suspiciously like some 32bit counter/offset ... but .... in my case this seems to happen only in the first tar/win file which much < 2GB uncompressed anyway. Interestingly, not all tar binaries are equal. The binary from LineageOS 14.1 crashes reading win000 files often if I try to test this from a terminal session when the phone is booted normally, however tar from TWRP does work and doesn't crash. Using tar from ubuntu 18.04 I can see all the files, however there are numerous reports of Code: tar: Malformed extended header: missing equal sign Maybe this tar crash is also what is happening for the TWRP GUI using it's internal tar? Although this seems to be crashing when the recovery is nearing 4GB, however my tar crash seems to happen on the first segmented win000 file? Maybe it is related in some way to pigz which seems to be used by the TWRP GUI to compress/uncompress and it does multi-threading. I haven't looked at TWRP code. I tried TWRP 3.1.1-0, and downloaded the latest 3.2.3-0 from twrp.me. Both failed in the same way. I inspected some of the backups I had, finding decrypted /data space usage less /data/media: Code: $ ls -1 2018-09-06--12-41-18_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f 2018-11-10--11-08-53_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f 2019-01-10--10-01-22_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f 2019-01-26--16-04-54_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f $ grep Data.backup.size */recovery.log|uniq|sed 's/\// /;s/--[^ ]* / /;s/:/ /' 2018-09-06 recovery.log I:Data backup size is 3464MB, free: 14062MB. 2018-09-06 recovery.log I:Data backup size is 3464MB, free: 11552MB. 2018-11-10 recovery.log I:Data backup size is 4622MB, free: 11065MB. 2018-11-10 recovery.log I:Data backup size is 4622MB, free: 7576MB. 2019-01-10 recovery.log I:Data backup size is 4041MB, free: 11284MB. 2019-01-10 recovery.log I:Data backup size is 4041MB, free: 8192MB. 2019-01-26 recovery.log I:Data backup size is 652MB, free: 24414MB. $ I could restore 2018-09-06 and 2019-01-26 using TWRP GUI while the other 2 failed with error=255. Of the backups I could restore with the TWRP GUI, both backups are easily < 4GB. 2019-01-10 is just below, still no idea if it is related to 4GB. In each case I formatted /data before hand, so /data/media was empty, so there was 24GB of free space, so there was always at least 2 times, sometimes 5 times, the actual space required for the recovery available. Irrespective of the actual failure mode, I was able to restore the other backups manually. Interestingly when I examine the .win and .win000 files with Code: tar tvf file | sed 5q I find that the single .win file backups need to be restored while current directory is /data whereas the multipart backups need to be restored while current directory is /. Manual restore process from TWRP recovery shell : Backup everything to storage external the phone, and then backup the backup. Wipe /data. I prefer to format /data while also wipes /data/media = /sdcard as this guarantees /data is clean, however if your backups are stored in /sdcard/TWRP then you are going to need to either not format /data or restore them from your PC, or not store them in /sdcard/TWRP and store them on an external sdcard or external USB OTG drive. Actual location may vary depending on TWRP build. Determine the b= lines below appropriately. Connect using adb shell. You could type this in using the TWRP Advanced Terminal, but error prone. Make sure you have enough free space on /data to do the restore. You should have, but this is the manual process so cross check. Restore the .win0?? files with tar. Code: ... # PS1="# " # optional # cd /location/TWRP/BACKUPS/serialnumber/2019-01-10* # location: sdcard sdcard1 usb-otg # pwd # verify backup directory /location/TWRP/BACKUPS/.../2019-01-10--10-01-22_... # b=$(pwd) # remeber backup folder location # ls -l data.*.win000 # verify backup file exists -rw-rw---- 1 root sdcard_rw 1109681843 2019-01-26 11:02 data.ext4.win000 # for m in data*md5; do md5sum -c $m; done # verify md5 checksums of each tar/win file. data.ext4.win000: OK data.ext4.win001: OK data.ext4.win002: OK # cd / # for w in $b/data*win0??; do echo recover $w; tar xpvf $w > $w.rec; echo; done recover /.../data...win000 tar: removing leading '/' from member names recover /.../data...win001 tar: removing leading '/' from member names recover /.../data...win002 tar: removing leading '/' from member names # cd $b # wc -l data*rec # verify recovery of reasonable number of files 29346 data.ext4.win000.rec 343 data.ext4.win001.rec 1831 data.ext4.win002.rec 31520 total # df /data Filesystem 1K-blocks Used Available Use% Mounted on /dev/block/dm-0 25667344 15051056 10599904 59% /data # Reboot Click to expand... Click to collapse Did your instructions. When running the recover command, I have some errors: Cannot remove file: Is a directory / Or "File exists" When I am finished, I run "df" and 30% of disk is used which seems ok. But when I check /sdcard folder, nothing appears there... It is like it was recovered but somewhere else. Do you have any clue?
Sorry, today for the first time i must restore a nandroid backup (recovery 3.2.1.2) in my xiaomi mi a1: i meet the exact error of this thread, "extractTarFork process ended with ERROR 255". How can i restore all my backup without problem? tnx