Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Great tip! Had I known about this when I started, it would've saved me a lot of time.So, to use this feature, you could do this:

Great tip! Had I known about this when I started, it would've saved me a lot of time.
By the way, should "update-binary 3 0 test.zip" be "update-binary 3 1 test.zip"? Since stdout is fd 1...
.
You're probably right. Arguments to update-binary are meant to interface with the recovery environment, so perhaps their meanings aren't what I expect. I've been using shell scripts in place of update-binary myself, so I haven't bothered with an actual update-binary for a while...Not sure about the fd 0 vs. fd 1...


"slick"
and
"beautiful"
to show you.
. So, you might need/want to restrict your flashable to certain known devices for the time being...No, I realized that the names/locations would most definitely different. I wish they were the same. This would've been easy then. LolYeah, not all devices have a "fota" partition...
Also, I'm not sure that clearing the "misc" partition on other devices than the ones you've tested on or had direct access to would fix a bootloop that you described.
In fact, wiping / clearing the "misc" partition on some devices I'm pretty sure would result in an inoperable device. So, you might need/want to restrict your flashable to certain known devices for the time being...
I've got some code at home on my development PC that I could share with you about how to see/find various partitions. /proc/mounts is one way, but probably for the bulk of fairly-new(er) devices, you can look for the /dev/block/platform/*/by-name directories--not 100% foolproof since some devices do not support that path (or have the name aliases), but you'll get a lot of devices that way.
Also, you'd have to keep in mind the manufacturers don't consistently name (or use) the partitions identically as other companies. For example, "recovery" vs. "SOS", etc..
you can look for the /dev/block/platform/*/by-name

Can an (*) be used as a wild card?? Hmm... , I never tried that.
.ScaryAlien@LV-426 ~
$ adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
shell@hammerhead:/ $ ls /dev/block/platform/*/by-name/*
/dev/block/platform/*/by-name/*: Permission denied
1|shell@hammerhead:/ $ su
root@hammerhead:/ # ls /dev/block/platform/*/by-name/*
/dev/block/platform/msm_sdcc.1/by-name/DDR
/dev/block/platform/msm_sdcc.1/by-name/aboot
/dev/block/platform/msm_sdcc.1/by-name/abootb
/dev/block/platform/msm_sdcc.1/by-name/boot
/dev/block/platform/msm_sdcc.1/by-name/cache
/dev/block/platform/msm_sdcc.1/by-name/crypto
/dev/block/platform/msm_sdcc.1/by-name/fsc
/dev/block/platform/msm_sdcc.1/by-name/fsg
/dev/block/platform/msm_sdcc.1/by-name/grow
/dev/block/platform/msm_sdcc.1/by-name/imgdata
/dev/block/platform/msm_sdcc.1/by-name/laf
/dev/block/platform/msm_sdcc.1/by-name/metadata
/dev/block/platform/msm_sdcc.1/by-name/misc
/dev/block/platform/msm_sdcc.1/by-name/modem
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
/dev/block/platform/msm_sdcc.1/by-name/pad
/dev/block/platform/msm_sdcc.1/by-name/persist
/dev/block/platform/msm_sdcc.1/by-name/recovery
/dev/block/platform/msm_sdcc.1/by-name/rpm
/dev/block/platform/msm_sdcc.1/by-name/rpmb
/dev/block/platform/msm_sdcc.1/by-name/sbl1
/dev/block/platform/msm_sdcc.1/by-name/sbl1b
/dev/block/platform/msm_sdcc.1/by-name/sdi
/dev/block/platform/msm_sdcc.1/by-name/ssd
/dev/block/platform/msm_sdcc.1/by-name/system
/dev/block/platform/msm_sdcc.1/by-name/tz
/dev/block/platform/msm_sdcc.1/by-name/tzb
/dev/block/platform/msm_sdcc.1/by-name/userdata
root@hammerhead:/ # busybox find /dev/block/platform -name 'by-name'
/dev/block/platform/msm_sdcc.1/by-name
root@hammerhead:/ # ls $(busybox find /dev/block/platform -name 'by-name')
DDR
aboot
abootb
boot
cache
crypto
fsc
fsg
grow
imgdata
laf
metadata
misc
modem
modemst1
modemst2
pad
persist
recovery
rpm
rpmb
sbl1
sbl1b
sdi
ssd
system
tz
tzb
userdata
root@hammerhead:/ # ls $(busybox find /dev/block/platform -name 'by-name')/*
/dev/block/platform/msm_sdcc.1/by-name/DDR
/dev/block/platform/msm_sdcc.1/by-name/aboot
/dev/block/platform/msm_sdcc.1/by-name/abootb
/dev/block/platform/msm_sdcc.1/by-name/boot
/dev/block/platform/msm_sdcc.1/by-name/cache
/dev/block/platform/msm_sdcc.1/by-name/crypto
/dev/block/platform/msm_sdcc.1/by-name/fsc
/dev/block/platform/msm_sdcc.1/by-name/fsg
/dev/block/platform/msm_sdcc.1/by-name/grow
/dev/block/platform/msm_sdcc.1/by-name/imgdata
/dev/block/platform/msm_sdcc.1/by-name/laf
/dev/block/platform/msm_sdcc.1/by-name/metadata
/dev/block/platform/msm_sdcc.1/by-name/misc
/dev/block/platform/msm_sdcc.1/by-name/modem
/dev/block/platform/msm_sdcc.1/by-name/modemst1
/dev/block/platform/msm_sdcc.1/by-name/modemst2
/dev/block/platform/msm_sdcc.1/by-name/pad
/dev/block/platform/msm_sdcc.1/by-name/persist
/dev/block/platform/msm_sdcc.1/by-name/recovery
/dev/block/platform/msm_sdcc.1/by-name/rpm
/dev/block/platform/msm_sdcc.1/by-name/rpmb
/dev/block/platform/msm_sdcc.1/by-name/sbl1
/dev/block/platform/msm_sdcc.1/by-name/sbl1b
/dev/block/platform/msm_sdcc.1/by-name/sdi
/dev/block/platform/msm_sdcc.1/by-name/ssd
/dev/block/platform/msm_sdcc.1/by-name/system
/dev/block/platform/msm_sdcc.1/by-name/tz
/dev/block/platform/msm_sdcc.1/by-name/tzb
/dev/block/platform/msm_sdcc.1/by-name/userdata
root@hammerhead:/ #

I didn't know (think) about the busybox cmd.Couple of examples / options for you (note: I purposely tried to list things while not rooted just to point-out that root will likely be needed for this):
![]()
If have been real busy, will post back when I completed the teacher(s) lessons.
Just bear with me, I really do want accomplish this the right way.
.Well I tried multiple things and still getting failed binary errors, I've changed multiple binaries out and rewrote the script a dozen times (plus all the user failed installs). I'm stumped.No worries or hurry, HasH_BrowN.
Well I tried multiple things and still getting failed binary errors, I've changed multiple binaries out and rewrote the script a dozen times (plus all the user failed installs). I'm stumped.
Do you see where my error might be (with the download resource)? Even with different logfiles I'm still not able to narrow it down.
.Sorry, I forgotWhich specific link can I find it it (or can you post/attach it here)?
Usually the update-binary errors are caused by simple syntax errors or having carriage-returns included in the script.
Point me to the .zip and I'll take a peek at it for you.

Yes, failed every time.Thanks!
So, does this version have an issue (you get errors with this version)?
It did pass in the HBlog script.Thanks!
So, does this version have an issue (you get errors with this version)?
It did pass in the HBlog script.

Tell me if I'm wrong, but to try to make this non-device reliant I would have to make this a sh styled script (of course with proper references, variables, and arguments). Otherwise binary would only work for this device (LG LS660). Correct??