1.Adb sideload commend just load a zip file from the computer to the phone. The creator of the zip control in what it do (the recovery just upload it from the computer and look at a specific file).
- Adb sideload command just loads a zip file from the computer to the phone. The creator of the zip controls what it does (the recovery just uploads it from the computer and looks at a specific file).
You can do a lot with it, but it's not a full rom, it's nitcannot replace a rom. Here is an example of an update.zip for iI once wrote and sideloadsideloaded it to a phone: mount("yaffs2", "MTD", "userdata", "/data"); delete("/data/system/gesture.key"); delete("/data/system/password.key"); ui_print("Done!");
`mount("yaffs2", "MTD", "userdata", "/data");
delete("/data/system/gesture.key");
delete("/data/system/password.key");
ui_print("Done!");`
It deletedeletes a couple of files, and printprints a successful result.
2.The commend fastboot flash allcommand fastboot flash all
can replace an entire rom, because it's doit does a bunch of operationoperations like format a partition and install a new rom. But you can flash other files that don't do those things (but often this commendcommand do exactly that.)
3.You can do a lot of things in the adb commendcommand line, like delete a partition a flash or just copy something else to it. What exactly do you want to do? On which portionpartition?
Hope this is helpful, and check out the android developers page on adb ( http://developer.android.com/tools/help/adb.html ).