[DEV] Froyo on Nexus One - building from google source
I have downloaded froyo source from google and trying to build and run it on nexus one (N1). N1 is untampered (locked bootloader/non-rooted/original recovery image).
I followed the build steps as given at google website with required modifications.
I got one build error about librpc.so needed by libgsp.so. Resolved it by building librpc.so mannually and then continuing the build.
OTA package was created successfully. But when I put the zip as update.zip on sdcard and try to update from recovery, I get signature verification failed error.
Exact error is:
-- Install from sdcard...
Finding update package...
Opening update package..
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
Anyone knows whats going wrong?
If I do the update process with zip provided by Google (signed-passion-ota-43546.cc653ee4.zip) then it works.
Is unlocking the bootloader is required if you want to use custom build image?
Does google use different key to sign its packages than the one available at (build/target/product/security/testkey.x509.pem) by any chance?