Error 255 - P8 Lite (2017) Discussion

Hello i try to go back to stock rom from rom v3 now i follow all the steps as mention in the thread but unfortunately when i try to restore the backup i get extract fork () end with error 255 any solution for that
Thanks in advance

for who face this error like me i solve this problem by:
Go to recovery ( TWRP ) then Go to mount then un-check data then check it and check all the options ... then restore the backup from cris (@ChinHon ) after thet do not reboot just flash stock recovery from twrp as install img file as recovery then reboot because the phone will lock again .. then just reboot and have fun...

Related

how to restore nandroid

befor flashing rom i was do backup to sd card named nandroid..but when i want enter to android system recovery and select backup/restore and select nand restore it give me : Error : run'android-mobile.sh restore' via adb!
any one know how i can backup it??
thanks for advance
Which Recovery image do you have? I suggest you to install recovery image from Amon_RA...i have it too and it saved my life...
TheSSJ said:
Which Recovery image do you have? I suggest you to install recovery image from Amon_RA...i have it too and it saved my life...
Click to expand...
Click to collapse
but how to installe it?and how i can use nandroid backaup to get the first rom
Okay, back to basics:
1. Root your tattoo (this is the one click method)
2. Get the flash_image binary, upload it to your device and flash Amon_RA recovery image:
Code:
# /path/to/flash_image/flash_image recovery /sdcard/Amon_RA_recovery.img
Don't forget that you need root-priviledges for this
3. Download any ROM and put it on your SD card.
4. Shutdown your Tattoo and press FIRST Home-Button and then Power Button...you'll get into recovery mode and you can backup, restore, flash an update.zip and so on
Next time you can use the search feature or take a look at the sticky topics here - they are very self-explanatory

[Q] recovery mode problems with cache

whenever i go into recovery mode i get an error on the bottom of the screem
BUILD : RA-dream-v1.7.0
E:Error in CACHE:recovery/log
(No Space left on device)
i cant nand backup or anything
rickyiswhite said:
whenever i go into recovery mode i get an error on the bottom of the screem
BUILD : RA-dream-v1.7.0
E:Error in CACHE:recovery/log
(No Space left on device)
i cant nand backup or anything
Click to expand...
Click to collapse
There are two possibilities:
1) The log is occupiing really the whole space on cache. In that case try to remove the log file from cache directory
2) Did you mess up with custom partion tables? To me this happened some time ago when I forgot to flash fr_boot_xxx.zip onto a boot.img while having installed custom partitions. In that case you have to clean everything. Eventually you need also to flash recovery again. If you have a recent backup, you can try to do a
fastboot erase system -w
then boot into recovery and see, if everything works for you again. If not you need to flash a new recovery:
fastboot flash recovery recovery.img
After that everything should work again, i.e. you can install your backup or you can install a new ROM.
AndDiSa said:
There are two possibilities:
1) The log is occupiing really the whole space on cache. In that case try to remove the log file from cache directory
2) Did you mess up with custom partion tables? To me this happened some time ago when I forgot to flash fr_boot_xxx.zip onto a boot.img while having installed custom partitions. In that case you have to clean everything. Eventually you need also to flash recovery again. If you have a recent backup, you can try to do a
fastboot erase system -w
then boot into recovery and see, if everything works for you again. If not you need to flash a new recovery:
fastboot flash recovery recovery.img
After that everything should work again, i.e. you can install your backup or you can install a new ROM.
Click to expand...
Click to collapse
hmm ok ill try that... thanks... and sometimes it says cant open cache or something

Flashed Miui rom, now black screen

Hi guys! Followed the simple guide of flashing a miui rom>
Install:
-1. Put MI-ustone-UIVxx.zip on Internal or External Storage
-2. Goto Recovery and Install MI-ustone-UIxx.zip
-3. Reboot to Recovery
-4. Goto Wipe Menu->Advanced Wipe and Check everything except USB OTG and SD (or what you want;- )
-5. Install again MI-ustone-UIxx.zip
-6. Wipe Cache/Dalvik after successfully install
-7. Reboot & Enjoy!
(Give it time to boot !)
I have rooted phone, places zip on internal. Installed the bootmanager that you install with a .apk file...XZ recovery? In that app I chose boot into recovery and worked. I then Installed zip file. Wiped some stuff and then wiped cache&dalvik. I went back to menu and tried to install zip again but did nothing. I then pressed BOOT and BOOT TO RECOVERY. After this I am experiencing black screen and bootloop. I press volume- volume+ and power etc but just get vibration on phone and nothing else.
What to do now?
Update: Trying to flash recovery with fastboot but getting error:
FAILED remote: command not allowed
Update: Downloaded stock 244 rom and flashed it and now phone is back to normal but no root So what was wrong?

RECOVERY - postrecoveryboot.sh - ERROR: 2

Google has no answer for me.
Every time I enter into the recovery and push the message button I get this ERROR: 2.
Everything works fine, its latest TWRP 3.0.2.
Could you tell me something about this error message 2?
What is 'postrecoveryboot.sh'?
How can I get this red message off / without error?
thanx in advance
How do I edit my boot script?
MichaBit said:
Google has no answer for me.
Every time I enter into the recovery and push the message button I get this ERROR: 2.
Everything works fine, its latest TWRP 3.0.2.
Could you tell me something about this error message 2?
What is 'postrecoveryboot.sh'?
How can I get this red message off / without error?
thanx in advance
Click to expand...
Click to collapse
Hi,
I have the same problem. Also on TWRP 3.0.2. and everything seems to work.
Can't find anything about this 'postrecoveryboot.sh' Error 2.
Did you find a solution in the meantime?
Thanks for any help in advance.
Arninho said:
Did you find a solution in the meantime?
Click to expand...
Click to collapse
No, unfortunately not.
If XDA has no solution, who else?
I have the same problem, this is inside the file
Code:
#!/sbin/sh
# Include device-specific vars
source /sbin/bootrec-device
# Turn the LED off
echo 0 > ${BOOTREC_LED_RED}
echo 0 > ${BOOTREC_LED_GREEN}
echo 0 > ${BOOTREC_LED_BLUE}
that error is because this file bootrec-device located at sbin folder always missing when reboot system or recovery
I have try many way
-flash stock rom with flashtool
-flash rom via recovery
-wipe via adb and fastboot
-chmod this file bootrec-device to read only
-remove this file postrecoveryboot.sh just come back after reboot recovery
all that way doesn't work
my Xperia unable to boot right know :crying:
maybe i'll try search what's file that create this??? postrecoveryboot.sh
where's boot script locate???
any help would be apreciated
InAMovies said:
my Xperia unable to boot right know :crying:
Click to expand...
Click to collapse
Thanks for that much information. :good:
A possible 'emergency solution' so that your device reboots again could be attached link.
What really surprised me, no one else has this ERROR: 2, and if not, why not?
http://www.flashtool.net/index.php
You can fix this 'postrecoveryboot.sh' Error 2 with a lower version twrp
I use twrp 2.8.7 which has been uploaded by someone from here androidfilehost.com/?fid=24052804347811669
flash with "fastboot flash boot boot.img" only if you UB, on LB try downgrade your twrp version
and then via file manager, just chmod the file bootrec-device located at sbin folder with read only access
my phone can only be booted only with rom existenz, and it was frequently rebooted and my battery status is unclear, sometimes 65% during the initial boot, and then only a 5% reboot afterwards
I have flash using flashtool with many based rom from 10.5.1.A, 10.6.1.A, 10.7.1.A latest, but it still does not make my phone work just to show sony screen flickered and died with the indicator is still red
all the problems occurred after I had this problem 'postrecoveryboot.sh' Error 2
I still do not know how to turn off the script, when I delete the file after reboot definitely go back there
hoping my phone can be normal again sometime
InAMovies said:
I still do not know how to turn off the script, when I delete the file after reboot definitely go back there
Click to expand...
Click to collapse
Could the cause for the error be a kind of provider branding?
So deeper implemented than the usual firmware.
My device was delivered via German Telekom.
[B]Solution![/B]
After installing Multirom v33 the error message is gone!
Dont ask why, both recoverys, the new one into the FOTA partition from attached link und the older, normal one 3.0.2.0 are error-free! :good:
https://forum.xda-developers.com/xperia-z/orig-development/mod-multirom-v33x-xperia-z-t3432385
I have installed the Modified recovery FOTA, before this error happen all working fine any custom rom working
but after this error, i can boot into recovery and install rom then reboot got bootloop, charger just show blip screen logo
just wanna try your idea with the Multirom v33 non modified
MichaBit said:
Google has no answer for me.
Every time I enter into the recovery and push the message button I get this ERROR: 2.
Everything works fine, its latest TWRP 3.0.2.
Could you tell me something about this error message 2?
What is 'postrecoveryboot.sh'?
How can I get this red message off / without error?
thanx in advance
Click to expand...
Click to collapse
Can You be so Kind to tell me how to flash in the correct way the latest version of TWRP with no error? Thank You very much!!
Ricky_Karmator said:
Can You be so Kind to tell me how to flash in the correct way the latest version of TWRP with no error? Thank You very much!!
Click to expand...
Click to collapse
Download latest recovery 'twrp-3.0.2-0-yuga.img' from link 1.
Put it to your Phone, turn of, push volume + and insert USB-cable for flashmode.
Blue LED-light appears.
Type -fastboot flash boot boot.img
-fastboot reboot
in ADB-connection CMD on your PC --> thats all.
Optional you can use the Tool in link 2.
*Flashing recovery successfully*
https://dl.twrp.me/yuga/
https://twrp.me/app/
MichaBit said:
Download latest recovery 'twrp-3.0.2-0-yuga.img' from link 1.
Put it to your Phone, turn of, push volume + and insert USB-cable for flashmode.
Blue LED-light appears.
Type -fastboot flash boot boot.img
-fastboot reboot
in ADB-connection CMD on your PC --> thats all.
Optional you can use the Tool in link 2.
*Flashing recovery successfully*
https://dl.twrp.me/yuga/
https://twrp.me/app/
Click to expand...
Click to collapse
I wa sure to copy the .img file in "platform-tools" folder in my PC and with cmd type "-fastboot flash boot boot.img" and not to have the file inside the internal memory of my Xperia Z. Obviously i think to rename "Twrp-3.0.blablabla" into boot.img
Ricky_Karmator said:
I wa sure to copy the .img file in "platform-tools" folder in my PC and with cmd type "-fastboot flash boot boot.img" and not to have the file inside the internal memory of my Xperia Z. Obviously i think to rename "Twrp-3.0.blablabla" into boot.img
Click to expand...
Click to collapse
Yes, very correct, copy and rename the file into 'boot.img' to your ADB-folder and flash it. :angel:
Finally with some free time i unlocked and flash the latest TWRP on my old Xperia Z. And yes i've got the same error "ERROR: 2". But everything works from backup to restore and flash Custom ROM. So i think we can nevermind about that
I have the same.
Sometimes my phone randomly reboot, and seems to be some app cause this reboots.
It was happend more and more often. And suddenly couple days ago my phone start to bootloop (just endlesly booting at xperia logo).
I have F5121 stock 8.0 Oreo and done all like in this manual https://forum.xda-developers.com/t/...els-latest-34-4-a-2-118-25-sept-2018.3594502/
So I was have rooted kenrnel twrp 3.2.3.0+DRM-Fix +magisk +FCS_1.3 +debloat script.
Almost 2 years of no problems and this surprise.
When I load to twrp and press menu button i see this:
Updating partition details...
...done
Unable to mount storage
So I was trying do backup of all partitions and after that I go in in wipe menu => advanced wipe => checkbox cache partition => fix patition
than I try to fix all patitions - it doesn't help.
So I do this:
wipe menu => advanced wipe => checkbox data partition => change to exFAT filesystem then => change back to EXT4 filesystem and restore data from backup. And do system/data partitions
and try to restore my backup - and it don't work.
EVEN my older backups don't works - I always become bootloop on xperia logo.
When I download twrp backup to PC and unpack cache.ext4.win\recovery I see file with name last_log.
Thats how last strings of file last_log look like:
~
ro.bootimage.build.date.utc=1533015130
ro.bootimage.build.fingerprint=Sony/omni_suzu/suzu:8.1.0/OPM4.171019.021.R1/4:eng/test-keys
ro.bootloader=s1
ro.debuggable=1
ro.property_service.version=2
init.svc.adbd=running
init.svc.ueventd=running
init.svc.recovery=running
init.svc.ldconfigtxt=stopped
init.svc.set_permissive=stopped
twrp.crash_counter=0
keyguard.no_require_sim=true
tombstoned.max_tombstone_count=50
Running boot script...
I:/sbin/postrecoveryboot.sh process ended with RC=0
Done.
I would like to hear some ideas why that may happen (Unable to mount storage). Coz i lost part of my data and don't wanna have the same experience again and again in future.

What I do?

I was on Oreo then I go to twrp make clean wipe
Then I flashed stock recovery but I forgot rename rom to update.zip ...how I can install ROM on my device pls help me.
How I can access my phone's internal storage .
1st Alternative : You can just reflash TWRP from fastboot and rename using TWRP's file manager. Then you can re-flash stock recovery from twrp itself.
2nd Alternative: If you have access to ADB in recovery, try this ADB file manager utility:
http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip

Categories

Resources