[GUIDE] introduction to edify updater script (installer zip)

Miche1asso

Senior Member
Apr 11, 2012
680
500
0
Treviso
Yeah, but it doesn't feel quite right talking about PX or another guy kernel in Merruk's thread. But I've found your kernel thread, I'll ask there!! I see you don't mind.. :D
 

Baskhara

Senior Member
Jul 19, 2012
433
66
0
Pelaihari
I doubt about this, but when I try to format ext4 when using merruk I can't install other kernel :sly: it always invalid argument so need flash the rom via odin or install other rom I think :confused:;)

Sent from my GT-S5360 using xda premium
 

Nathan.7118391

Senior Member
Jul 30, 2012
712
221
73
Arlington
This is a great help! I'm trying to find the syntax to display the files being installed one at a time on the same line like it does in cwm. Can anyone help me with this? I already have my updater script working but I just want to tweak it. Since I will be sharing this update I would like for the people downloading it to know exactly what is being installed.
 

kurotsugi

Senior Member
Feb 12, 2012
2,507
1,794
0
yogyakarta
you can't do it with getprop but it can be done easily by test scheme in a shell script
Code:
if [ -e /path/to/file ] <act one>
else <act2>
fi
sorry for late replying, I'm not monitoring this thread.
 
  • Like
Reactions: SHA20

PascalA

Member
Jun 12, 2014
19
3
0
Syntax for comments/comment/commenting: #

Code:
*file beginning*
# Some comment, conforming to the UNIX syntax
ui_print("Some print");
# Some other comment
ui_print("Some other print");
# Multiline comments are
# not supported, but are emulated this way
// Some comment, conforming to the C syntax --> FAILs script
/* Some multiline comment, conforming to the C syntax --> FAILs script
*/
/*
* FAILs script also
*/
/*
 * FAILs script also
 */
Just tested each of those possibilities in separate update zips.