Eloszor is kell egy blobtools nevu cucc:
test:~# git clone git://github.com/AndroidRoot/BlobTools.git
Initialized empty Git repository in /BlobTools/.git/
remote: Counting objects: 71, done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 71 (delta 28), reused 62 (delta 19)
Receiving objects: 100% (71/71), 13.11 KiB, done.
Resolving deltas: 100% (28/28), done.
test:~# cd BlobTools/
test:~/BlobTools# make
g++ -c -o blobunpack.o src/blobunpack.cpp -I. -Ishared -Wall -ggdb
g++ -I. -Ishared -Wall -ggdb -o blobunpack blobunpack.o
g++ -c -o blobpack.o src/blobpack.cpp -I. -Ishared -Wall -ggdb
g++ -I. -Ishared -Wall -ggdb -o blobpack blobpack.o
test:~/BlobTools# cd ..
test:~# cp BlobTools/blobpack BlobTools/blobunpack .
test:~#
Le kell tolteni a legfrissebb FW-t az asus oldalarol, majd a zipbenzip-et ki kell csomagolni:
test:~# wget http://dlcdnet.asus.com/pub/ASUS/EeePAD/TF101/WW_epaduser9_2_1_27UpdateLauncher.zip
--2012-09-11 13:29:56-- http://dlcdnet.asus.com/pub/ASUS/EeePAD/TF101/WW_epaduser9_2_1_27UpdateLauncher.zip
Resolving dlcdnet.asus.com... 80.239.200.27, 80.239.200.17
Connecting to dlcdnet.asus.com|80.239.200.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 312801706 (298M) [application/zip]
Saving to: `WW_epaduser9_2_1_27UpdateLauncher.zip'
100%[=====================================================================================================================================================>] 312,801,706 2.32M/s in 1m 56s
2012-09-11 13:31:53 (2.56 MB/s) - `WW_epaduser9_2_1_27UpdateLauncher.zip' saved [312801706/312801706]
test:~# unzip WW_epaduser9_2_1_27UpdateLauncher.zip
Archive: WW_epaduser9_2_1_27UpdateLauncher.zip
extracting: WW_epad-user-9.2.1.27.zip
test:~# unzip WW_epad-user-9.2.1.27.zip
Archive: WW_epad-user-9.2.1.27.zip
signed by SignApk
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/rule
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: blob
Ezutan a fenti blobtools-al szetszedjuk a blobot:
test:~# ./blobunpack blob
Header size: 60
4 partitions starting at offset 0x3C
Blob version: 65536
Partition 0
Name: EBT
Offset: 124 (0x7C)
Size: 1454712 (0x163278)
Writing file blob.EBT (1454712 bytes)
Partition 1
Name: SOS
Offset: 1454836 (0x1632F4)
Size: 4284416 (0x416000)
Writing file blob.SOS (4284416 bytes)
Partition 2
Name: LNX
Offset: 5739252 (0x5792F4)
Size: 4151296 (0x3F5800)
Writing file blob.LNX (4151296 bytes)
Partition 3
Name: APP
Offset: 9890548 (0x96EAF4)
Size: 536870912 (0x20000000)
Writing file blob.APP (536870912 bytes)
Minket az blob.APP erdekel, ez egy ext4 FS, csatoljuk fel:
test:~# mkdir app
test:~# mount blob.APP app -o loop
Lehet haxolni amit akarunk.
Ha vegeztunk, akkor lecsatolas, es blobot visszagyurjuk:
test:~# umount app
test:~# ./blobpack blob EBT blob.EBT SOS blob.SOS LNX blob.LNX APP blob.APP
Found 4 partitions as commandline arguments
Partname: EBT Filename: blob.EBT
Partname: SOS Filename: blob.SOS
Partname: LNX Filename: blob.LNX
Partname: APP Filename: blob.APP
Size: 60
4 partitions starting at offset 0x3C
Offset: 124
Mivel megvaltozott a blob, az alairast le kell szedni:
test:~# sed '/blob/{N;N; d;}' -i META-INF/MANIFEST.MF
Vegul ossze kell csomagolni a cuccot:
test:~# zip -9 -r asus.zip META-INF blob
Ezutan siman fel lehet frissiteni ezzel a zip-pel (nekem CWM alapu recovery van fenn, azzal par "kattintas").
- Elbandi blogja
- A hozzászóláshoz be kell jelentkezni
- 1143 megtekintés