[Q]Noob question about cwm flashable zip - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

I can create cwm flashable zip using skeleton zip provided by many thread on xda. but, I want to create my own zip.
I took apk, meta-inf for a flashable zip, but when I zip them using 7zip on windows or archive mounter in linux, it shows flashing aboard.
I want to know the zip technique of cwm zip files. How can i create them?

39 view, still no reply. Disappointed
Sent from my WT19i using XDA

Zip file should directly contain meta-inf folder and the folder where you wish to replace/copy apk in the phone's root.
I think you have created a folder, consider 'x', placed meta-inf and ___ folder in 'x', and then zipped the whole 'x' folder as 'x.zip'.

The name of the folder/zip doesn't matter at all.
Also, you need to understand how the updater-script works and edit it according to what files you need to replace/edit.

I can understand update-script.
you mentioned that, I have to create a meta-inf folder and an /system/app folder and directly zip both of them? am I write?
Which zip software do you use for that?

Don't use any compression (storage) in 7zip
Sent from my WT19i using xda premium

i use 7zip....

Related

Modifying stock rom

I am very interested in ROM developing, the problem is i am a beginner. I tried to look for some guides, but they are quite hard to find to be honest. If i would want to modify stock rom what should i do? Although i could not find it i thought this could be an option:
- flash stockrom through odin
- modify stockrom
- make backup and copy system.img
- in a flashable zip you have the system directory, but how do you obtain this directory from system.img, what program do i need? Simple mounting program poweriso didn't recognize the image. I thought it might be possible to directly extract the required files from the odin package, but not find a guide for this?
Use MagicISO to extract system.img
Sent from my GT-S5830 using Tapatalk
Use 7zip to extract system.img from odin's md5 file.
Sent from my GT-S5830 using Tapatalk
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Dragonoid said:
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Click to expand...
Click to collapse
dsiXDA kitchen should be used only to zip-align, deodex and repack everything to flashable zip. It isnt really good at extracting .img files (personal opinion).
Read ketut's blackhawk rom's 2nd post for more info about dsiXDA kitchen
Sent from my GT-S5830 using Tapatalk
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
acceleratus said:
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
Click to expand...
Click to collapse
Open magicISO. Click on open -> navigate to system.rfs. It will load up all folders inside system.rfs. Select all -> right click -> extract all
Sent from my GT-S5830 using Tapatalk
Use my guide to get a better understanding of roms.
Sent from my GT-S5830 using XDA
I'm interested in extracting a stock rom from my s5830i to computer
Can someone help me with that. I'm not a newbie

[Q] Anyone know the correct format of update.zip for the 10.1 tab?

I have downloaded the update from the link below, and am confused.
it is a zip, with a 7zip in it, with a TAR in it. shouldn't the update just be the update.zip with the .img and .bin in the zip? Or is it really 3 layers of packages?
http://forum.xda-developers.com/showthread.php?t=1444714&highlight=el01
here is the link to the update.zip http://goo.gl/6XtFD
Thanks
Rob
It should be named "update.zip" so you can flash it properly.
Use 7zip to rename it to update.zip
If you do decide to rename it from windows, most of the time it will have .zip at the end already, but won't show it. So if you add .zip manually, it will turn out update.zip.zip
Sent from my SGH-T989 using xda premium
Questions go in the Q&A section

[Tutorial] LG-P715 kdz to Flashable zip

Here I'm posting how to convert .kdz file into a Flashable zip file, The list of files you needed are
Official kdz file
kdz extractor
LGwinTools
ext2explore
Cygwin (If you are a windows user) from here
dsixda's kitchen This Thread
1. Extract the kdz extractor to the new folder, just drag and drop the kdz file to the unpack_kdz.bat. You will find the .cab file in the same directory where you have kdz.
2. Drag and drop the cab file to unpack_cab.bat. The dz file will be extracted to /dz folder in the same directory.
3. Now extract and open LGwinTools file->open locate the dz file. Items will be displayed in bin files, now click on save to any new folder.
4. We need two files SYSTEM and APPS. Extract and run ext2explore then locate the SYSTEM file, it will load. Now click on save to any new directory(make sure the folder name is system)
5. Now rename the file APPS to "boot.img" (you have extracted from LGwinTools)
6. Make an archive .zip containing \system boot.img \META-INF(attached below)
6 Next process will be installing "Cygwin" read this
7. Installing dsixda's Kitchen read this
8. After you installation you have move the created zip file to \kitchen\original_update (In my case it is "C:\Cygwin\home\Santhoosh\Kitchen\original_update")
9. Run Cygwin
Code:
cd kitchen
./menu
10. Setup working folder and go to Advanced option select "Deodex files in your rom" MAKE SURE YOU SET THE API LEVEL TO 19 and choose both system and framework
11. After this "Rename the app folder in /system to app1" "priv-app to app" in WORKING Directory
12. Now again go for Deodex and deodex the remaining files. after completion rename app to priv-app and app1 to app.
13. Make sure the updator-script is untouched
14. Do zip align(optional) and make any other changes you want.
15. Remove unnecessary app like GooglePlus etc. Remove the Qtranslator and Polarisviewer apk and odex files.
Note: After Deodexing the LG Keyboard will not work, Remove it and add any other keyboard to app folder.
16. Now move to working folder and make a zip file of all. (/system /META-INF boot.img)
17. FLASH IT :laugh::laugh:
18. To Gain root access you have to download this and flash SU
I tried to unpack kdz file, but the programm (unpack_kdz.bat) didn't work. The text in a window is : "Error! LGExtract.exe is not internal or external command, programm or batch file". Why did this error happened? I use windows 7 x64
explains better.. please no root l7 ii p715 kitkat 4.4.2 ....
:
santhoosh said:
Here I'm posting how to convert .kdz file into a Flashable zip file, The list of files you needed are
Official kdz file
kdz extractor
LGwinTools
ext2explore
Cygwin (If you are a windows user) from here
dsixda's kitchen This Thread
1. Extract the kdz extractor to the new folder, just drag and drop the kdz file to the unpack_kdz.bat. You will find the .cab file in the same directory where you have kdz.
2. Drag and drop the cab file to unpack_cab.bat. The dz file will be extracted to /dz folder in the same directory.
3. Now extract and open LGwinTools file->open locate the dz file. Items will be displayed in bin files, now click on save to any new folder.
4. We need two files SYSTEM and APPS. Extract and run ext2explore then locate the SYSTEM file, it will load. Now click on save to any new directory(make sure the folder name is system)
5. Now rename the file APPS to "boot.img" (you have extracted from LGwinTools)
6. Make an archive .zip containing \system boot.img \META-INF(attached below)
6 Next process will be installing "Cygwin" read this
7. Installing dsixda's Kitchen read this
8. After you installation you have move the created zip file to \kitchen\original_update (In my case it is "C:\Cygwin\home\Santhoosh\Kitchen\original_update")
9. Run Cygwin
Code:
cd kitchen
./menu
10. Setup working folder and go to Advanced option select "Deodex files in your rom" MAKE SURE YOU SET THE API LEVEL TO 19 and choose both system and framework
11. After this "Rename the app folder in /system to app1" "priv-app to app" in WORKING Directory
12. Now again go for Deodex and deodex the remaining files. after completion rename app to priv-app and app1 to app.
13. Make sure the updator-script is untouched
14. Do zip align(optional) and make any other changes you want.
15. Remove unnecessary app like GooglePlus etc. Remove the Qtranslator and Polarisviewer apk and odex files.
Note: After Deodexing the LG Keyboard will not work, Remove it and add any other keyboard to app folder.
16. Now move to working folder and make a zip file of all. (/system /META-INF boot.img)
17. FLASH IT :laugh::laugh:
18. To Gain root access you have to download this and flash SU
Click to expand...
Click to collapse
Ilyazzzz said:
I tried to unpack kdz file, but the programm (unpack_kdz.bat) didn't work. The text in a window is : "Error! LGExtract.exe is not internal or external command, programm or batch file". Why did this error happened? I use windows 7 x64
Click to expand...
Click to collapse
use this, i have uploaded wrong file
https://www.dropbox.com/s/ko3s25r0wxf2ext/kdz_extractor.zip?dl=0
rodrigorafaelb said:
:
Click to expand...
Click to collapse
you can root by flashing this file
SuperSU
kdz_extractor modified
download and use this, dont download the kdz_extractor in the main thread.
So.. for the last step is, we don't have to build using kitchen but just archive the working folder instead?
santhoosh said:
you can root by flashing this file
SuperSU
Click to expand...
Click to collapse
how to flash it??
riskey95 said:
how to flash it??
Click to expand...
Click to collapse
In cwm.
sasa g said:
In cwm.
Click to expand...
Click to collapse
my device not rooted yet
riskey95 said:
my device not rooted yet
Click to expand...
Click to collapse
So root it follow author tutorial i already rooted my p715 thanks ts
i managed to make a flashable .zip and rooted with your tutorial ,thanks,but do you know how to make the inverse proccess? make this .zip into a kdz firmware??????
will this work for l5 II? I'm having trouble using lg mobile support tool. this is my only option for now..
It will work
Sent from my LG-P715 using XDA Free mobile app
santhoosh said:
It will work
Sent from my LG-P715 using XDA Free mobile app
Click to expand...
Click to collapse
thanks. by the way, will the custom recovery and root access be removed when I flash the zip?
It won't be removed
Sent from my LG-P715 using XDA Free mobile app
santhoosh said:
It won't be removed
Sent from my LG-P715 using XDA Free mobile app
Click to expand...
Click to collapse
ts i did a flashable zip of my country kitkat firmware its philppine kitkat firmware http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW808706432109876543213/V20A_00.kdz
after i flashed .zip it success is version is 4.2.2 but the software version is v10h? not v20a? did you have any idea for this?
May be you have to wait for the kitkat update or simply download any other country firmware.
Sent from my LG-P715 using XDA Free mobile app
what does the bat file do? nothing happens when I drag and drop the kdz file in the batch file.
Which one you downloaded, i have attached a modified kdz_extractor.zip try that
Sent from my LG-P715 using XDA Free mobile app

why i cant copy apk file from system folder in a rom to another rom?

I'm using V7 MIUI rom, I downloaded V8 rom from miui.com (both of them are Chinese's rom). I find that I can copy apk files in "Data" folder and install it normally. But apk files in "System"--->"Data" and "Priv-Data" cant do like that. I cant install them like files in "Data" folder does, and I notice that those file have a folder in same directory, inside that folder have a ".odex" file.
So, i wonder that those file must be install in special ways? And How can I install them?
Thank you for my poor english.:good:
Those system apk files usualy need to be flashed. You could copy and paste them in in a ROM.ZIP you are currently using and install them via a recovery (TWRP or CWM).
How it is actually done I am not realy sure (no experience) but in theory it should work this way.

Question about creating flashable zip

Hi,
I build aosp for my Xperia X, the output are 3 .img files, system.img, boot.img, userdata.img.
So I wanted to ask if it's possible to create a flashable zip for those .img files instead of flashing them using fastboot.
If yes, what should the folder structure look like?
Also could I use a META-INF folder from an other rom? (omnirom for example)
Greetings.

Categories

Resources