L
Luismanson
Neues Mitglied
- 3
- Themenstarter
- #21
ok... lests start... these are windows instructions but you need basic linux knowledge
you need:
from: drop.io MilestoneUpdateZIP
Milestone 2.0.1 update.zip - this is the unmodified update (DONT apply)
volez-winBIN.zip - my compiled version (to save you time)
cygwin Cygwin Information and Installation
maybe:
volez-src-20091211.tar.gz http://zenthought.org/content/project/volez
----------
1) install cygwin
* OPTINAL add make, gcc and cpp if you want to compile volez
2) with windows explorer go where you installed cygwin
then home/YOUR-usersname
I.E.: c:\cygwin\home\luismanson
3) extract volez-winBIN.zip
you will also have 2 new directories, you need to put your files inside there...
just look the hacked update.zip to understand
so, if you were to create the root patch you would:
put "su" in \system\bin
and "Superuser.apk" in \system\app
that way they would be copied to system/app and system/bin (with some help)
there is also a file in META-INF\com\google\android named updater-script
thats the file you need to edit, it contain the update actions, in my case i had to delete 2 Facebook files, this is what i did:
if you want to learn a bit more open the original update.zip and read the same file in the same path
4) add those 2 directories to a new zip called payload.zip
* BASIC zip has to work, in store mode, no compression
5) copy "Milestone 2.0.1 update.zip" and rename it to original.zip where volez.exe is
6) start cygwin shell and cd into the volez directory
7) ./volez.exe -o tail.bin -x "*" original.zip payload.zip
* run ./volez.exe to see parameters
you will now have a new file named tail.bin
8) cat signed-update.zip tail.bin > update.zip
there is... now go and flash the new update.zip
* i hope i did not forget anything...
you need:
from: drop.io MilestoneUpdateZIP
Milestone 2.0.1 update.zip - this is the unmodified update (DONT apply)
volez-winBIN.zip - my compiled version (to save you time)
cygwin Cygwin Information and Installation
maybe:
volez-src-20091211.tar.gz http://zenthought.org/content/project/volez
----------
1) install cygwin
* OPTINAL add make, gcc and cpp if you want to compile volez
2) with windows explorer go where you installed cygwin
then home/YOUR-usersname
I.E.: c:\cygwin\home\luismanson
3) extract volez-winBIN.zip
you will also have 2 new directories, you need to put your files inside there...
just look the hacked update.zip to understand
so, if you were to create the root patch you would:
put "su" in \system\bin
and "Superuser.apk" in \system\app
that way they would be copied to system/app and system/bin (with some help)
there is also a file in META-INF\com\google\android named updater-script
thats the file you need to edit, it contain the update actions, in my case i had to delete 2 Facebook files, this is what i did:
Code:
mount("MTD", "system", "/system");
ui_print("Deleting Facebook...");
delete("/system/app/Facebook.apk");
delete("/system/app/Facebook.odex");
ui_print("listo el borrado...");
unmount("/system");
if you want to learn a bit more open the original update.zip and read the same file in the same path
4) add those 2 directories to a new zip called payload.zip
* BASIC zip has to work, in store mode, no compression
5) copy "Milestone 2.0.1 update.zip" and rename it to original.zip where volez.exe is
6) start cygwin shell and cd into the volez directory
7) ./volez.exe -o tail.bin -x "*" original.zip payload.zip
* run ./volez.exe to see parameters
you will now have a new file named tail.bin
8) cat signed-update.zip tail.bin > update.zip
there is... now go and flash the new update.zip
* i hope i did not forget anything...