So I spread the modified system.img, vydrany of
(Un) Official FirmwareHe added until just su and Superuser.apk
File
system.imgInstructions on firmware:
1. We connect our device, do not forget to include an item in the menu - "to demonstrate how" ->"Development" ->"USB debugging" (yes, that's how we Russified firmware)
2. connect the cord to the computer and the folder with fastboot and adb (download the system.img in the same folder) give the command "adb reboot bootloader"
3. After the reboot into bootloader (the screen will be red and will be written in fastboot)
3a. We give the command fastboot erase system (Clear partition system, then do not be afraid if something goes wrong, you can always pull out and plug in the battery, with his advance on the memory card to a folder image firmware to clamp and hold the VOL + - and power and zashitsya sink iOS ), by the way as far as I understand poorly in Android all your data and settings will not be affected
3b. Next, give the command "fastboot flash system system.img" - sewn section system
4. Wait as stitching process takes one minute after the terminal is the decree of successful records, distort the battery and load the phone.
5. All Ruth is present.
How did it happen?!
Preabula:
0. Almost all the actions carried out in Ubuntu
1. My first steps were related to CWM porting our device ZTE V790 and LG Optimus L3 Dual, because iron is the same in terms of processor and graphics. CWM collected and sewn via fastboot recovery section
2. After the release of the firmware identified core (unfortunately ramdisk highlight and did not work), and Campiglio olpyat result 0 - do not ship on logo
AS?!
3. Since it is impossible to collect the CWM and fastboot allows us to easily host partitioning (flashing / erasing), decided to partition system in yaffs2 file system
3a. To do this, factory.mbn firmware file using WinHEX found starting position section yaffs2 - 069D500->110972928 (position from the beginning, the search string is 03 00 00 00 01 00 00 00 FF FF 00 00 00 00 00 00)
3b. Then in Ubuntu dd cut the necessary section, we command
dd if = factory.mbn of = system.img bs = 1024 skip = 108372 270560 count =
Block Size - 1 KB, the offset first - 108372 KB, ie 069D500, size - 270560 KB, ask why so many, I will answer - just in case the size of the partition system is 0x0be00000, if we translate 199 229 440 B, but we must understand that I pulled yaffs2 image of the file system, and then in addition to useful information contains also a service and it is not known how many, because it is not a standard (not page_size / spare_size 2048/64 4096/128 8192/256)
3c. Utilities downloads unyaffsmbn and extract the files from system.img
sudo ./unyaffsmbn system.img
Raspokoval files in the current folder
3g. For rutovaniya threw and put the necessary permissions for files and su Superuser.apk
3d. I am going back to the image of the utility mkyaffs2image
sudo ./mkyaffs2image system system.img
sytem - a folder with our files
4. All that is then transferred to the image vindovozny computer and sews through fastboot
P.S. Principle all just sort of like, most importantly come to this it was necessary to
yaffs2.zip(12.09 KB)
The next step is a normal Russification and possibly porting CM
P.SS. do not forget to thankPost has been editedlea81 - 13.02.13, 20:55