• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help OS update on GNU/Linux (without NPS/Odin)

b4u

Lurker
Oct 6, 2009
2
0
France
Hello,

I'm looking for a way to update the Galaxy without using NPS or Odin (which both don't have a GNU/Linux build).

So I've downloaded the official I5 update (thanks to sephail I think), and here it is after unzipping then extracting the tarball:

amss
cache.img
kernel
recovery
system

Is it feasable to repack this to an update.zip file and apply it via the recovery menu?
If it is indeed safe to try this, could someone please point me to some documentation describing the "update.zip" file format so I could try digging into this a bit more (couldn't find much about it, except that the archive needs to be signed)?

Thanks
 
Hi kam187,

It seems fastboot doesn't work well with large image files (haven't looked at the source code though) but here is what I get if I try to flash the I5 'system' image:

Code:
$ ./fastboot flash system ../workspace/system
sending 'system' (88324 KB)... FAILED (remote: data too large)
Same error if I use a 'system' generated from a nandroid backup (which I know is a valid one) :/

Also, anyone knows what is amss used for?
It's the only file in the archive which is not an image file:

Code:
$ file amss 
amss: ELF 32-bit LSB executable, ARM, version 1, statically linked, corrupted section header size
but for some reason It exists only in the firmware update, I can't find it on the phone...
 
Upvote 0
AMSS is the baseband firmware afaik. I'm not 100% but i think it gets run from the ramdisk to update the radio firmware. The update.zip mechanism doesnt flash the radio firmware, so they usually use a script in /system to do it on first boot.

If fastboot isnt working to flash the partitions then I guess you're only other option is to extract the system partition and make a update.zip
 
Upvote 0
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones