[HELP] Error executing updater binary - General Questions and Answers

Ok so i've compiled a ROM from source and am trying to flash it, but every time I flash I get this error:
Code:
E:Error executing updater binary in zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
Error flashing zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
I haven't really been able to find much on this through a 3 day google search. I found one topic that suggested it's the recovery but I know this is not the recovery, this is a ROM zip issue.
This is the recovery.log
Code:
Installing '/external_sd/Flash This/full_xt926.bdh.signed.zip'...
Checking for MD5 file...
I:Cannot find file /external_sd/Flash This/full_xt926.bdh.signed.zip.md5
Skipping MD5 check: no MD5 file found.
line 4 col 37: syntax error, unexpected STRING, expecting $end
1 parse errors
E:Error executing updater binary in zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
Error flashing zip '/external_sd/Flash This/full_xt926.bdh.signed.zip'
Any help is greatly appreciated.

More than likely there is something wrong in your updater script. About two threads down is a guide I'm working on how to create flashable.zips, haven't gotten to ROMs yet but thered may be stuff there that will help you.
If you want give me a copy of your updater-script and ill look it over for you, actually if you don't mind posting this along with your question again in the other thread that would be awesome. The less threads on similar stuff in xda the less clutter there is to sift through and easeir to find answers
Sent from my myTouch_4G_Slide using xda premium

demkantor said:
More than likely there is something wrong in your updater script. About two threads down is a guide I'm working on how to create flashable.zips, haven't gotten to ROMs yet but thered may be stuff there that will help you.
If you want give me a copy of your updater-script and ill look it over for you, actually if you don't mind posting this along with your question again in the other thread that would be awesome. The less threads on similar stuff in xda the less clutter there is to sift through and easeir to find answers
Sent from my myTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
Posted Thank you sir!

hi
I am getting the same problem as you ,not easy to find out how to sort t on google

Johnt880 said:
I am getting the same problem as you ,not easy to find out how to sort t on google
Click to expand...
Click to collapse
Updater script error, it's expecting the end of the line but it encounters something else instead
Use the column and line numbers it gives you to narrow down the part of the script that is going wrong.

Thank you 1
CNexus said:
Updater script error, it's expecting the end of the line but it encounters something else instead
Use the column and line numbers it gives you to narrow down the part of the script that is going wrong.
Click to expand...
Click to collapse
I found out that the script it wrong for xperia phones in the kitchen ,What we need is Emmc not the Amend script
If you could show me the code the right way i would appreciate it

Johnt880 said:
I found out that the script it wrong for xperia phones in the kitchen ,What we need is Emmc not the Amend script
If you could show me the code the right way i would appreciate it
Click to expand...
Click to collapse
You should find the info you need here
http://forum.xda-developers.com/showthread.php?t=2290009
If you need further help just upload a copy of your updater-script
Sent from my Nexus 4 using XDA Premium 4 mobile app

Oh wow this is a awesome link i will like to get to know how to sort out scripts,Thank you very much .I just had a quick look at your link and i think i should easily learn from you ,Great work keep it up

Related

How do i sign Zip Files?

That i wanna flash?
xda search function
feefeeboomboom said:
xda search function
Click to expand...
Click to collapse
Agree , but here it is http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
derekstory said:
Agree , but here it is http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
Click to expand...
Click to collapse
Tried no luck on finding it....but thanx! lol
rogerbean101 said:
Tried no luck on finding it....but thanx! lol
Click to expand...
Click to collapse
Q: How do I sign my zip or apk?
A: First you must have java installed on whatever OS you're running. Windows users download the Win-sign.zip attachment. Linux users download Linux-sign.zip attachment.
derekstory said:
Q: How do I sign my zip or apk?
A: First you must have java installed on whatever OS you're running. Windows users download the Win-sign.zip attachment. Linux users download Linux-sign.zip attachment.
Click to expand...
Click to collapse
What do i do next? lol im HELLA NOOB at all this
rogerbean101 said:
What do i do next? lol im HELLA NOOB at all this
Click to expand...
Click to collapse
unzip and read the text file for directions
derekstory said:
unzip and read the text file for directions
Click to expand...
Click to collapse
LMAO Still lost
rogerbean101 said:
LMAO Still lost
Click to expand...
Click to collapse
go to the link i posted. At the bottom of the post #1 there are 2 zip files. one for Windows and one for Linux, pick the one for your OS. After download double click then read the Readme.txt file and it will tell you what to do
derekstory said:
go to the link i posted. At the bottom of the post #1 there are 2 zip files. one for Windows and one for Linux, pick teh one for your OS. After download right double click then read the Readme.txt file and it will tell you what to do
Click to expand...
Click to collapse
i did that and all it says is
"SignApk.jar is a tool included with the Android platform source bundle.
testkey.pk8 is the private key that is compatible with the recovery image included in this zip file
testkey.x509.pem is the corresponding certificate/public key
Usage:
java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip"
You must have the linux android sdk installed to use this.
Place the sign folder inside the android sdk tools folder so you have a path IE ~/android-sdk-linux/tools/sign
Place the androsign file the tools folder.
Open a terminal and cd into the android sdk tools folder
Type the following command to sign your .zip/.apk:
sudo androsign ~/folder_containing_zip/nameofzip.zip
This will output a file with original zip name plus -signed IE rom-signed.zip
Actually, I think it would be cool if we could have something like this on the "All Current Guides" wiki page or something. Trying to figure out how to do pretty minuscule stuff like signing a zip requires some pretty deep thread searching. Want to learn how to customize a ROM? Search the threads. Unfortunately, that thread will refer to another one. Only to have that one point to another.
It would be nice to have a How-To guide for things like rooting, signing zips, customizing, etc. I just think that a How-To wiki for all these things would reduce the number of threads like this. And I'm saying this as someone who knows how to do all those things. I just remember the confusion and frustration.
bigronaldo said:
Actually, I think it would be cool if we could have something like this on the "All Current Guides" wiki page or something. Trying to figure out how to do pretty minuscule stuff like signing a zip requires some pretty deep thread searching. Want to learn how to customize a ROM? Search the threads. Unfortunately, that thread will refer to another one. Only to have that one point to another.
It would be nice to have a How-To guide for things like rooting, signing zips, customizing, etc. I just think that a How-To wiki for all these things would reduce the number of threads like this. And I'm saying this as someone who knows how to do all those things. I just remember the confusion and frustration.
Click to expand...
Click to collapse
Yeaaa i Deff Agree cuz im beyond lost right now with this! lol Its nuts lol
you must be using windows. let me do some more resesarch. I will send a PM if I find out anything so we are not using up thread space.
derekstory said:
you must be using windows. let me do some more resesarch. I will send a PM if I find out anything so we are not using up thread space.
Click to expand...
Click to collapse
Yeaa windows xp! lmao Thanx!!

Need help with updater-script

Im trying to learn how to port as along with creating a rom but anyways.im having trouble with the updater-scripts. I dont know how to re write them so that the Base's script is like the Ported script, without messing up the symlinks. Ive tried writing them about 7 times. Then when I come to flash the rom and doesn't work and im pretty sure the updater-script is my problem.
Ty113096 said:
Im trying to learn how to port as along with creating a rom but anyways.im having trouble with the updater-scripts. I dont know how to re write them so that the Base's script is like the Ported script, without messing up the symlinks. Ive tried writing them about 7 times. Then when I come to flash the rom and doesn't work and im pretty sure the updater-script is my problem.
Click to expand...
Click to collapse
Most of what I learned from updater-scripts (edify) comes from googling and downloading many of the firmware from the i997 and other devices for comparison.
If you are creating new or editing another, make sure you use a linux text editor like Note++. Notepad, Word or other text editor will give you errors. Note++ is also free.
Syntax is also very important. Edify is not very forgiving.
gl
Ty113096 said:
Im trying to learn how to port as along with creating a rom but anyways.im having trouble with the updater-scripts. I dont know how to re write them so that the Base's script is like the Ported script, without messing up the symlinks. Ive tried writing them about 7 times. Then when I come to flash the rom and doesn't work and im pretty sure the updater-script is my problem.
Click to expand...
Click to collapse
Along with qkster's advice, id like to also suggest actually looking at other ROM's updater scripts.. Or any flashable zip package as a matter of fact.. Just look through it and see if you can put together what does what.. It doesnt hurt to use something as a base if you are using it to further your own knowledge and actually trying to understand what your doing.. If you have any questions send me a PM and ill help the best i can.

[Q] How to install Jhinta Kernel ?

Somebody could please tell me the right way to install the Jhinta Kernel on a Dualboot tablet ?
Well, i know I have to dowload these files and replace it in the OLiFE folder.
but how about the rest of the files ? (the initrd folder and 3.1.10-g8c2655b-dirty.tar.gz)
Thanks and advance my friends
when you using linux the best way is to biuld it by yourself, you can do that on tablet itself.
i'll rite you an script which do it by itself okay?
NoDiskNoFun said:
when you using linux the best way is to biuld it by yourself, you can do that on tablet itself.
i'll rite you an script which do it by itself okay?
Click to expand...
Click to collapse
That would be amazing man, I've never been able to compile jhintas kernel I always get errors (its hard debugging the problem when you have no idea about the commands your using lol)
JoinTheRealms said:
That would be amazing man, I've never been able to compile jhintas kernel I always get errors (its hard debugging the problem when you have no idea about the commands your using lol)
Click to expand...
Click to collapse
kernel.tar.gz
extract it in home directory and run ./kernel-updater.sh from terminal ... needs about an hour so plug in AC
Trying this.
You're awesome man !
FLAWLESS !!! After all the script, all i need to do was flash the kernel files by way of OLiFE.
prog19 said:
Trying this.
You're awesome man !
FLAWLESS !!! After all the script, all i need to do was flash the kernel files by way of OLiFE.
Click to expand...
Click to collapse
normally the script should flash it by itself ...
this one should flash it ... make an mistake in last one
NoDiskNoFun said:
normally the script should flash it by itself ...
this one should flash it ... make an mistake in last one
Click to expand...
Click to collapse
So just to make sure im doing this right, Ive deleted tf101-gnu-kernel from the previous script and ran the new version (Here comes the really noob question) how do i know if jhintas kernel has been installed, would uname -a work?
JoinTheRealms said:
So just to make sure im doing this right, Ive deleted tf101-gnu-kernel from the previous script and ran the new version (Here comes the really noob question) how do i know if jhintas kernel has been installed, would uname -a work?
Click to expand...
Click to collapse
you can see it in systemonitor ...
uname -r should give you 3.1.10-(blah)-dirty ... the you have jhinta's kernel on it ...
Hey man Ive ran the script 3 times and im still on 2.6, I get:
"Cloning into 'abootimg'...
fatal: unable to connect to gitorious.org:
gitorious.org[0: 42.2.0.192]: errno=Connection timed out
gitorious.org[1: 2a02:c0:1014::1]: errno=Network is unreachable
/home/josh/kernel-updater.sh: 11: cd: can't cd to abootimg
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat `abootimg': No such file or directory
chmod: cannot access `/usr/bin/abootimg': No such file or directory"
This is the error i get when ive tried manually.
Hi,
I've been trying out NoDiskNoFun's net-install ubuntu as well as this script but i've been getting this message on the terminal:
INFO: task kinteractiveup:61 blocked for more than 120 seconds
Can anyone point me in the right direction on how to fix this?
I have been able to get to the point where only trackpad is not working, but after a few minutes while using it the window manager crashes and the only thing i can do is open a new terminal (via Ctrl+Search+TrackpadToggle). I'm wondering if the problem i mention above is the cause.
jammerkiai said:
Hi,
I've been trying out NoDiskNoFun's net-install ubuntu as well as this script but i've been getting this message on the terminal:
INFO: task kinteractiveup:61 blocked for more than 120 seconds
Can anyone point me in the right direction on how to fix this?
I have been able to get to the point where only trackpad is not working, but after a few minutes while using it the window manager crashes and the only thing i can do is open a new terminal (via Ctrl+Search+TrackpadToggle). I'm wondering if the problem i mention above is the cause.
Click to expand...
Click to collapse
first: wrong thread! post this in Net-Install thread please
this:INFO: task kinteractiveup:61 blocked for more than 120 seconds means nothing and does nothing, just ignore it. i don't know where it comes
i need more details, i don't know hich windows manager you mean. please post used version and your configfuration: Display Manager, Desktop Environment, etc
AND post this in right thread please
---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------
JoinTheRealms said:
Hey man Ive ran the script 3 times and im still on 2.6, I get:
"Cloning into 'abootimg'...
fatal: unable to connect to gitorious.org:
gitorious.org[0: 42.2.0.192]: errno=Connection timed out
gitorious.org[1: 2a02:c0:1014::1]: errno=Network is unreachable
/home/josh/kernel-updater.sh: 11: cd: can't cd to abootimg
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat `abootimg': No such file or directory
chmod: cannot access `/usr/bin/abootimg': No such file or directory"
This is the error i get when ive tried manually.
Click to expand...
Click to collapse
try to run script while you have internet connection
I did have an internet connection because i downloaded the script before hand lol, Even when i tried compile it manually on my Ubuntu desktop i got the same error, I'm so confused lol
JoinTheRealms said:
I did have an internet connection because i downloaded the script before hand lol, Even when i tried compile it manually on my Ubuntu desktop i got the same error, I'm so confused lol
Click to expand...
Click to collapse
may you can't connect to github cause of your proxy settings like you can't in china ... try ping github.org
I have tried running the script manually. Everything goes smooth until i get to where i am supposed to copy the zImage from /TF101-GNU-kernel...
The zImage is not in that folder.
Rinkydink said:
I have tried running the script manually. Everything goes smooth until i get to where i am supposed to copy the zImage from /TF101-GNU-kernel...
The zImage is not in that folder.
Click to expand...
Click to collapse
It is in ./TF101-GNU-Kernel/arch/arm/boot/ if the build process was succesfull
Rinkydink said:
I have tried running the script manually. Everything goes smooth until i get to where i am supposed to copy the zImage from /TF101-GNU-kernel...
The zImage is not in that folder.
Click to expand...
Click to collapse
it isn`t build right ...
So i have been following these posts for the past week trying to find out how to get jhintas kernel to work with my tab. Finally i got it through compiling, after fixing a couple bugs, but now i am not sure what to do. I have used OLife and i am running dual boot. I've tried making the flashable image using the dualboot.cfg found in OLIfe and i have tried a couple different initrd found on xda but nothing works. After flashing the proper partition, found by dissecting lilstevie's update script, the system now crashes during boot. It complains about read-only filesystem. This is very frustrating and would greatly appreciate assistance.
nazbert said:
So i have been following these posts for the past week trying to find out how to get jhintas kernel to work with my tab. Finally i got it through compiling, after fixing a couple bugs, but now i am not sure what to do. I have used OLife and i am running dual boot. I've tried making the flashable image using the dualboot.cfg found in OLIfe and i have tried a couple different initrd found on xda but nothing works. After flashing the proper partition, found by dissecting lilstevie's update script, the system now crashes during boot. It complains about read-only filesystem. This is very frustrating and would greatly appreciate assistance.
Click to expand...
Click to collapse
you don't need dualboot.cfg ... you need bootimg.cfg
NoDiskNoFun said:
you don't need dualboot.cfg ... you need bootimg.cfg
Click to expand...
Click to collapse
I am having the very same problem. I managed to compile the kernel and now i have my zImage and I have been trying to use different initramfs. After editing dualboot.cfg i managed to get rid of the read only problem by changing ro to rw. Now it boots but freezes at boot. Sometimes it gets as far as to a black screen with the cursor but then it just freezes again. I am a total noob and i dont know if i need a different initramfs or if i need to configure something else.
I am using second boot partition for Ubuntu.
My dualboot.cfg now looks like this
bootsize = 0x8d6000
pagesize = 0x800
kerneladdr = 0x10008000
ramdiskaddr = 0x11000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name =
cmdline = [email protected] [email protected] vmalloc=128M gpt video=tegrafb console=tty0 usbcore.oldscheme_first=1 [email protected] root=/dev/mmcblk0p8 rw quiet splash
If anyone would be able to help me i would be very glad since I am litteraly going insane over this.

[Q] Recmod and Reversmode not working

I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
ckv said:
I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
Click to expand...
Click to collapse
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Diablo67 said:
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Click to expand...
Click to collapse
Yeah, that's the thread that first got me into the recmod tool. Great thread, just out of date. /:
Thanks for the reply though.
This may help
This may help someone help me a little. When I use recmod through the command line, I get an error saying "Error! ProcessCase0: bit 5 is zero!"
and this is the .dll file that I get out of it:
View attachment a.zip
I renamed the file name to a so it would be shorter to type because I was trying a lot of different command prompt things. It was originally k.senscmdd.dll, not that it really matters. All of the modules I tried came out almost exactly like this.

How to create update-binary file....??

Hi guys,
plz tell me how to create and edit update-binary file.
Thank you
Umn... Update-binary file or updater script?
utsha.saha.58 said:
Umn... Update-binary file or updater script?
Click to expand...
Click to collapse
tell about binary
miyuru priyawadan said:
Hi guys,
plz tell me how to create and edit update-binary file.
Thank you
Click to expand...
Click to collapse
If you are trying to modify the binary to be able to downgrade to an older firmware on a Samsung device, that is not going to work at all, it requires things that a user does not have access to, so don't waste your time trying. Without extensive knowledge of how the bootloader on your device is designed and intimate knowledge of what your hardware components expect from the software that you design, it would take years of time for you to gain the necessary knowledge and enough understanding to implement that knowledge. By then, your device would be too old to use and you will have moved on to a newer device.
Sent from my SM-S767VL using Tapatalk

Categories

Resources