i've updated the original post (url removed by andrei, i can't post links) with a new version that does preserve uid, gid (need to run as root) and timestamps
Thanks! I just tested it and it works fine!.
I'm also attaching the mbntool equivalent here.
@purdeaandrei have you tried to flash back a 1.5 rom? It should still be possible given the way you upgraded right? I'd also be interested if you could document a bit more what you did to flash a firmware without using windows
I did use windows to extract the .kdz file into .mbn files. I only used a remote rdesktop machine. _Locally_ i didn't have to use windows to flash the phone.
So in windows:
1) I downloaded LG-Utils-0.4.2.zip (somewhere google found it for me, can't remeber exactly where)
2) I ran KP500-Utils-EN, Extract files from kdz file, extracted the resulting .cab file, that yielded a .DZ file.
3) I downloaded DZExtract.exe, and i run it with "DZExtract.exe -x filename.dz". It produced a bunch of .mbn files that i transfered back to my linux box.
Maybe all this might be doable with Wine, if some needed dlls are copied. I was too lazy to try it.
Now in linux:
1) i attached a modified version of the original raburton's unyaffsmbn, this doesn't care about the yaffs filesystem, it just passes over the LG-added junk, and it is perfect for zImage_Ramdisk.mbn
2) gcc unmbn.c -o unmbn; ./unmbn zImage_Ramdisk.mbn (this produces zImage_Ramdisk.mbn.new)
3) get the phone into fastboot mode; fastboot flash boot zImage_Ramdisk.mbn.new
4) get unyaffsmbn (the recently updated one), compile. cp System.mbn_0 sys.mbn; cat System.mbn_1 >> sys.mbn; cat System.mbn_2 >> sys.mbn
5) mkdir tempfolder; cd tempfolder, and as root run: ../unyaffsmbn ../sys.mbn
6) cd ..; ./mkyaffs2image-i686 tempfolder system.img
(mkyaffs2image can be found in nandroid)
7) fastboot flash system system.img
8) you might need to run fastboot -w
I haven't written back 1.5 yet, but there's no reason it shouldn't work. The device still goes into fastboot, when booted with the space button pressed.
EDIT: i just reflashed my 1.5 backup, and it works as expected.
i noticed that there are loads of CPU ABI Incompatible errors when trying to install some applications.
pdanet doesn't work.
I've got the same errors with the 1.6 rogers rom. (for example with connectbot). Does the korean 1.6 suffer from this? Are there any other 1.6 roms currently out there?
Another thing i noticed is that Wifi seems less stable. Sometimes i lists certain access points as not in range when i am standing a few meters away. I can't tell for sure, because my router is already buggy, but it feels less stable. Can anybody confirm this? btw. i used WPA2, and a super long passphrase.
EDIT: also, anyone has any idea how to turn off the vibration every time i touch one of the capacitive buttons or the screen?