[Q] How to merge update.zips - Galaxy 3 Q&A, Help & Troubleshooting

Hello,
I am running CM7 A8.1, and I am wondering how to merge the following update.zip files into 1 update.zip so I don't have to install 1 by 1?
Here is the order in which I install the following zips after flashing the Alpha8 through Odin:
1. CM7.2.0-GT-I5800_Alpha8.1a_CWM.zip (http://cm7-i5800.googlecode.com/files/CM7.2.0-GT-I5800_Alpha8.1a_CWM.zip)
2. Google Apps (http://goo.im/gapps)
3. Deodexed version of A8 (http://forum.xda-developers.com/showthread.php?t=1415179)
4. ICS Complete patch by AChep (same as above)
5. MegaBassBeats audio (http://forum.xda-developers.com/showthread.php?t=1602753)
6. Hillbeast's test002 kernel of G3Mod (http://db.tt/PteQpsdY)
If someone could merge all of these into 1 update zip I would be very grateful, if not just tell me what I should do to merge them
And if that's not possible could you link me a thread on how to make my own rom with the current things i have installed (all of the above update.zips) and convert it into a tar so i can just flash that instead of update.zips

mrdjibrilo said:
Hello,
I am running CM7 A8.1, and I am wondering how to merge the following update.zip files into 1 update.zip so I don't have to install 1 by 1?
Here is the order in which I install the following zips after flashing the Alpha8 through Odin:
1. CM7.2.0-GT-I5800_Alpha8.1a_CWM.zip (http://cm7-i5800.googlecode.com/files/CM7.2.0-GT-I5800_Alpha8.1a_CWM.zip)
2. Google Apps (http://goo.im/gapps)
3. Deodexed version of A8 (http://forum.xda-developers.com/showthread.php?t=1415179)
4. ICS Complete patch by AChep (same as above)
5. MegaBassBeats audio (http://forum.xda-developers.com/showthread.php?t=1602753)
6. Hillbeast's test002 kernel of G3Mod (http://db.tt/PteQpsdY)
If someone could merge all of these into 1 update zip I would be very grateful, if not just tell me what I should do to merge them
And if that's not possible could you link me a thread on how to make my own rom with the current things i have installed (all of the above update.zips) and convert it into a tar so i can just flash that instead of update.zips
Click to expand...
Click to collapse
This can be done via Aroma Installer Script which is a full GUI Mode for Installing which Runs in Recovery.. I think Rubensollie was making one.. Not sure when he will release..

aimad100 said:
This can be done via Aroma Installer Script which is a full GUI Mode for Installing which Runs in Recovery.. I think Rubensollie was porting one.. Not sure when he will release..
Click to expand...
Click to collapse
Can I try and overwrite one after another with total commander and then apply the zip that is made of all the overwritten files (also delete the .odex files and the unnecessary apps from system/app)?

mrdjibrilo said:
Can I try and overwrite one after another with total commander and then apply the zip that is made of all the overwritten files (also delete the .odex files and the unnecessary apps from system/app)?
Click to expand...
Click to collapse
Sorry but can't understand what you mean. You asking how to Deodex?

aimad100 said:
Sorry but can't understand what you mean. You asking how to Deodex?
Click to expand...
Click to collapse
Not only that, I am thinking about overwriting the files in that particular order which I would usually run update.zip, so I can get 1 instead of 6 update.zips

mrdjibrilo said:
Not only that, I am thinking about overwriting the files in that particular order which I would usually run update.zip, so I can get 1 instead of 6 update.zips
Click to expand...
Click to collapse
Ah! now I get what you actually meant. Actually what you want can be done without Aroma Installer.. You just need files at proper place directories..
1.Take CyanogenMod Alpha 8.1 Extract the ZIP.
2.Remove zImage and add the zImage of HB Kernel
3.Remove Apps and Framework folder from /system and add from Deodexed CyanogenMod
4.Go to each folder in Achep Patch and replace the files in the CyanogenMod 7 Folder..
5.Do similarly and replace file for MegaBassBeats and Gapps.. Be careful to place in correct directory.
Repack the META-INF, system and zImage folder at Store Compression Level. Apply it and there you go!

aimad100 said:
Ah! now I get what you actually meant. Actually what you want can be done without Aroma Installer.. You just need files at proper place directories..
1.Take CyanogenMod Alpha 8.1 Extract the ZIP.
2.Remove zImage and add the zImage of HB Kernel
3.Remove Apps and Framework folder from /system and add from Deodexed CyanogenMod
4.Go to each folder in Achep Patch and replace the files in the CyanogenMod 7 Folder..
5.Do similarly and replace file for MegaBassBeats and Gapps.. Be careful to place in correct directory.
Repack the META-INF, system and zImage folder at Store Compression Level. Apply it and there you go!
Click to expand...
Click to collapse
Thanks that's the guide i've been looking for!

Related

manoo's addon for Cranium RC7 (now containg xperia launcer)

this addon contains
1 Samsung weather widget (like in galaxy s2)
2 Digital clock two version (samsung s2 version and xepria arc version)
3 social hub and reader hub
4 xepria arc launcher
5 Genie widget
there are no changes in boot.img and superuser.apk
Installation guide
1 install Cranium RC7. (if u already have it then skip this step)
2install the zip file using CMW recovery.
Download link
http://www.multiupload.com/I8QCKA5QRU
thanks..... i will try it..
I think you can call this an addon for Cranium v7, or is it really a ROM?
*Cranium ROm
Well,its not a ROM,its an Addon
alrigth i will rename it as a addon
manoo2 said:
alrigth i will rename it as a addon
Click to expand...
Click to collapse
Change the topic too (no offense)
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Idd, I think nikagl is right, what does boot.img and su.apk do there?
Also you should do the following stuff to make this post more attractive:
1. Add tags [ADDON] or [MOD] to the title. like: [ADDON][CRANIUM] - Manoo's addon for Cranium v7 -
2. Use some formatting for your post, like this:
Manoo's addon for Cranium v7
Description here Description here Description here Description here Description here
Features:
Feature 1
Feature 2
Feature 3
Feature 4
...
Click to expand...
Click to collapse
Installation Instructions
1. ...
2. ...
3. ...
Download
http://....
I think you can figure out the rest yourself
nikagl said:
Hi Manoo,
Thanks for sharing, always good to see addons, tweaks and new ROMs.
Nevertheless, some questions:
Isn't this just a set of apk's? Why use the whole RC7u1 script for this?
Also, what did you change in the following components (they are all different than the ones included in RC7u1):
boot.img
superuser.apk
su
I don't think any of these new apk's need other boot.img, superuser or su, right?
Regards,
Nika.
Click to expand...
Click to collapse
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Can other rom use this addon too?
1)R u sure Polaris Office works?its depends on a specific library,which u haven't included.
2)*Launcher
U didnt add IncrediControl and No-Frills CPU control!They are a must
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
before you do that please give your main post some formatting, it looks really messy tbh.
http://forum.xda-developers.com/showpost.php?p=21108852&postcount=8
I already posted an example
manoo2 said:
i had to make a flashable zip since the some of the apks (live weather widget from samsung and digital clock) could not be simiply installed or even by placing it in the system/apps so i made this flashable zip
As for the components i did not change any of them
Click to expand...
Click to collapse
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
piotrsiem said:
Can you wirte how you make this flashable zip?
I need install few apps, eg. gtalk
Click to expand...
Click to collapse
To make flashable zip files u need the following things
1 An unmodified flashable zip ( http://sakindia123.prophecy.li/downloads/RC7/RC7_Update1_CWM.zip) u can get it from here
2 Winrar
follow hese steps
1 open the the zip file in winrar.
2 Click on system directory. then click on the app directory
3 now drag and drop those apks in here and once winrar is done compressing them. copy the zip file into ur sd card and flash with cmw recovery
what in the case when some application is not in the system directory?
manoo2 said:
i will add that in my next release and also i will include the lib files for polarises office also i will include lp sense in it and some screenshot but i have exams coming up so i will make a release sometime later
Click to expand...
Click to collapse
does this MOD modify the status bar also?I don`t wanna change the 14 buttons I have atm?
no i does not have the status bar mod
piotrsiem just simply drag and drop the apk file u are having into the directory. if still u need help then give me the apk file links and i will make a flashable zip for u and upload that file here
I understood, if I had trouble with this I will ask you for help

[Guide]Create Custom ROMs | Modify Apks

Hello xda.
This is a Guide to help anyone who wishes to create custom ROMs. This Guide aims to be as complete as possible, and will give all information related to creating a custom ROM... editing apks, adding or removing apps, de-odexing apps, and so on.
Al suggestions to improve upon this guide are welcome.
0. Pre-requisites
Click to expand...
Click to collapse
Credits to...
1. puppet13th... My mentor, teacher, and a great friend.
2. Wanman... ApkTool for ICS
3. langthang... For a great Guide on Creating Update Script
4. lokeshsaini94... For lots of help
Downloads
You need to Download the following...
1. Apk Tool [link(ICS)|link(GB)]... A tool for De-Compiling apks
2. 7 zip [link]... A tool for un-compressing any sort of compressed file
3. ROM signer [link]... Restores the signing of the ROM zip file, which is messed up while uncompressing
4. Any Image Resizer​
Setting up your PC
You need to do the following...
1. Create a folder (preferably in Desktop, and name it "Android")
2. Create Sub-Folders by the names "Base ROM" and "Custom ROM". Also make Sub Folders by the name...
a. ApkTool... Extract contents of ApkTool Here
b. Signer... Extract Autosigner here​
I. Let's get our Base ROM
Click to expand...
Click to collapse
You need to get the base ROM in the ./Desktop/Base ROM folder. It is also recommended that you flash the Base ROM into your phone, as it will help in testing the mods, as you make them.
The process of getting the base ROM will depend on the scenario your situation fits in, from amongst the following...
1. You want an already made Custom ROM as your Base... Download the ROM [willl come in .zip folder], and extract it in /Desktop/Android/Base ROM folder
2. You want to base your ROM on a stock firmware, which came in an ftf package... Use the following tool to extract the files from the ftf file.
3. You want to base your ROM on a stock firmware, which is instaled on your phone...
Take a back up of the ROM using ClockWork Mod, and copy the back up files (from /sdcard/clockworkmod/backup), somewhere to your computer. Then, using this tool, extract the files to /Destktop/Android/Base ROM
Copy the following folders from /system of your phone using Root Browser
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop​
4. You want to base your ROM on a stock firmware, that comes as a ready to flash .zip file on the internet... Download the ROM, and extract it in /Desktop/Android/Base ROM folder
After completion, the Base ROM will have the following Folder Structure
Desktop
Android
Base ROM
META-INF [only if you got your base from another Custom ROM][/INDENT][/INDENT][/INDENT]
system
apps
bin
etc
.
.
.
data [may be]
Click to expand...
Click to collapse
*ScreenShots*
Copy the contents of Base ROM folder to Custom ROM folder.
We now have the foundation of our ROM laid out in front of us, inviting us to show our creativity.
II. Let's work on the Base ROM... Creation of the Custom ROM
Click to expand...
Click to collapse
A. Apks Make up the Android System...
We will now work, only on the /Desktop/Android/Custom ROM Folder
1. Look into the /system/apps...
You will find apk files which will be raninging frm 100 to 200 in number. Err, half or more are known as "Crapware". You need to remove files which are useless, that's a very important step to enhance performance of your final ROM. Look into your device's forums, to get the list of Safe-To-Remove appks from the respective firmware. In case your base is an already built custom ROM, you will have to remove lesser or none of the files.
2. Here, you can add your desired files as well, keeping compaitability in mind.
3 [Optional]. On a .txt file, keep a record of all the apps your removed or added, as it will help in troubleshooting at a later stage.​
B. Implementing Already-Built-MODs in your ROM...
1. Download any Mod you want to keep in your ROM [Make sure your device, and the Base ROM is compaitable]
2. Extract the zip file and you will get a system folder.
3. Copy the files from the system folder to /Custom ROM/sytem, making sure the files go into the folders they came from.
That is, all apk files from /system/apps folder of the Mod should go to /Custom ROM/system/app folder, and so on...​
C. Changing the Interface... Let's Mess with SystemUI[nterface].apk
Go to /system/app and copy SystemUI.apk to
/Desktop/Android/ApkTool/place-apk-here-for-modding
Working with ApkTool
The link provided in this post is of an easy to use software called ApkTool.
1. Double Click on the Script.bat file to open up the software.
*Screenshot*
2. Decompress the SystemUI.apk using option '9'.
Wait for the process to complete
3. Go to /Projects, and you will find a folder called SystemUI.
Open the /SystemUI.apk/res/drawable folders and you will find lots and lots of .png files
*Screenshot*
4. Look into the files carfully.
Bingo, they correspond to the various system elements of the SystemUI of the Base ROM.
5. Open any file you want to edit, edit it, and save in the original location, replacing the original un-edited file. [On a temporary notepad file, note which all files you edit]
Note: You will notce that there are .png files for, say the Battery Icon. You will find that there are files for each state of the Battery Icon. So if you intend to edit the Battery Icon, you need to edit all the files corresonding to each of the states.
5.A. A common exaple of such editing is making the elements of a Gingerbread SystemUI.apk look like ICS SystemUI.apk. For this get hands on any ICS SystemUI.apk and extract both the files in seprate locations, and then copy the files from the ICS SystemUI folder to GB SystemUI folder. However, here you must make sure that the names of the files coming from ICS SystemUI are changed to corresponding values of the GingerBread SystemUI.apk. Here, also ensure that the new files, which replace the original files, have the same dimensions as the original files. If not use any image resizing tool.
*Screenshot*
6. If you want to edit some values in the .xml files, carry on. Edit the files as you wish, and replace the original files. Once you are done with the editing...
7. Open the Script.bat file and run command 11. [Say NO when it asks if the file is a system file]You will have a new SystemUI.apk file called unsignedSystemUI.apk in /place-apk-here-for-modding folder.
Go and fill your pockets with some cookies from the kitchen. Start having them.
8. Keep the temporary notepad file on one side and open the unsignedSystemUI.apk with 7zip, and open the original SystemUI.apk using 7zip besides it.
*Screenshot*
9. Drag and extract the files you edited to a temporary folder.
10. Drag the extracted files to the SystemUI.apk, replacing the older files, making sure all the edited files go to the proper place. [That's why I asked to keep a note of which all files were edited].
*Screenshot*
11. If you edited some .xml files, then you MIGHT need to copy the resources.acrc file at the root of the unsignedSystemUI.apk file to the root of the original SystemUI.apk file.
Once done, the original SystemUI.apk has now become a modded SystemUI.apk, with your creativity embedded into it. Time to test the SystemUI.apk.
12. Using Quick ADB, push the edited SystemUI.apk to your phone.
*Screenshot*
13. Re-boot your phone and you shoud see the changes you made in the UI. .
In case it gives force close message, you messed up somewhere. So you will have to push the original SystemUI.apk [from /Base ROM/system/apps folder], and try to mod the file from scratch again.
14. Copy the sucessfully modded SystemUI.apk from /Apktool/place-apk-here-for-modding folder to /Custom ROM/system/app folder, replacing the older file.​
D. Changing the Interface... Editing other .apks
1. As earlier, copy the apk you want to edit from /Custom ROM/System/app to /Apktool/**** folder, and perform the modification to optain a new modded .apk file.
2. Test this file if you wish, by pushing it using Qucik ADB.
3. If the modded file wrks, copy this new file to /Custom ROM/System/app and replace the original file​
E. Changing the Interface... Editing the font
1. Take your desired font.ttf file and rename it as DroidSans.ttf..
2. Go to the folder system/fonts/
3. Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
4. To change the lock screen clock font...replace the Clocktopia.ttf with your desired one (rename first)...​
If you did a good job in the above steps, the /Custom ROM folder should be having the contents of a wonderful ROM in making.
Here, I will like to mention that, if you want to upload your custom ROM on the internet and share it, you must ensure that you did lots of hard work in the above steps. There's no point making a custom ROM without modifying lots of files and adding lots of tweaks.
Just make sure that you do so much of modding that, say, your Gingerbread ROM looks like Jellybean, or say, your ROM made for Galaxy Y works as smooth as an SIII.
III. Compiling the Custom ROM
Click to expand...
Click to collapse
A. If you got your base ROM as in [1 or 4] in step I above
1. Copy the META-INF folder from /Base ROM to /Desktop/Android/Custom ROM
2. Rename the Custom ROM folder to whatever-you-want-your-ROM-to-be-called.
3. Add the Folder to a zip file using 7zip.
4. Take this zip file to /Desktop/Android/Signer folder and run sign.bat.​
X. The new zip file called Update.zip is your ROM.
Copy this file to the SD Card of your phone, format /system, /data, /cache using CWM and flash your .zip file. And enjoy your custom ROM.
B. If you got your base ROM as in [2 or 3] in step I above... Creating your own Update script
Read the following Tutorial. [link]
Once you are done, try the ROM on your phone. Share it if you feel it's great. And hit Thanks Button.
Reserved
Reserved2
nice guide!
thanks for the tutorial.
Nice guide, continue finish it.:good:
Awesome
Adds some more tutorial please:thumbup:
Thanks for your work
Inviato dal mio GT-N7000 con Tapatalk 2
Please also add link to original thread....
Btw .. Nice guide....
In 1. Looking into system apps... you should delete .apk as well as .odex files when you want to remove an app... Like browser.apk and browser.odex... Many peoples won't delete them....
Sent from my GT-S7500 using xda premium
Thanks for this nice guide. :highfive:
Please add the placeholder *Screenshot* s :good:
beautiful
Thanks a lot for this beautiful guide. Loved it
i tried it ............
i followed the guide n tried editin my custom rom technoduos on sgy duos GT-s6102
all i did was extract the rom using CWM and then added removed some apps at /system/apps
no other tweaks just addin n removin apps dats all then compressed it n signed it
then wen i flashed it on my set it worked (yayyyyyyy)
but there were some problems the apps which i del were gone but the ones i added were not there ..........
also wen i flashed the rom again the apps which were del were back how is it possible i made sure i had del em
plz help
thank you very much for your tutorials are very helpful to me
nice guide! thx
Nice Guide...
Thanks for the hard work to track down all this information and publish for us.
Thanks
Thanks... im gonna give this a whirl
Sent from my SGH-T999 using Tapatalk 2
R: [Guide]Create Custom ROMs | Modify Apks
Very useful giude thanks ; )
Inviato dal mio GT-N7100 con Tapatalk 2
:Good:
Sent from my potato oO
thanks

[TUT] How to extract .ftf file to make custom rom - and few tips [2012 Xperia]

[TUT] How to extract .ftf file to make custom rom - Flashable ZIP [2012 Xperia]
This tutorial is for developers who want to make their own custom rom based on official firmware. OK, let's start.
Explanations:
Inside every flashable zip file there are two folders - system and META-INF:
1) system folder - That is actually your ROM and all it's content (If you ROOT your device you gain access to this folder in your device).
2) META-INF folder - That folder gives instructions to your device (ClockWorkMod) how to flash ROM, sets permissions...
This is method to get Stock/Official system folder that you need to edit to make custom ROM.
You will need to find/make yourself contents of META-INF folder - You may took it from another ROM and (maybe) edit.
NOTE: If you use this method your ROM will work for both Locked/Unlocked bootloaders, and it will require that you have firmware your ROM is based on already installed before flashing.
Click to expand...
Click to collapse
How to get contents of stock/official system folder - Extract .ftf file:
1. Download .ftf file for your device.
2. Extract .ftf file using 7Zip.
3. You will get system.sin and other files. You only need system.sin file so delete others.
4. Open flashtool and inside flashtool open SIN Editor to dump data from system.sin - you will get an ext4 file.
5. Open ext2Read and extract ext4 file.
6. Done.
Click to expand...
Click to collapse
How to put CWM into your ROM:
OK, Now you ask - Why do I have to put CWM into ROM? Let's explain:
CWM is custom recovery that you use to flash zip files to your device. There are two types of CWM:
1. For both Locked and Unlocked bootloaders - Recovery is in the system folder of the ROM.
2. Only for Unlocked bootloaders - Recovery is somewhhere else (You don't need that).
Because your ROM is based on official firmware it will be for both Locked/Unlocked bootloaders.
Therefore, you will flash your ROM in CWM for both Locked/Unlocked bootloaders.
And if you flash you will replace system folder of previous ROM. Because CWM was in that folder of previous ROM - You will lose CWM.
That is why you need to put CWM.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Find CWM for both bootloaders for your device.
1. Copy sh file inside files folder to system/xbin.
2. Copy other files inside files folder to system/bin.
3. Go to META-INF/com/google/android/ and you will find updater-script.
4. Add the following lines to it
Code:
set_perm(0, 0, 0755, "/system/bin/recovery.tar");
set_perm(0, 0, 0755, "/system/bin/battery_charging");
set_perm(0, 0, 0755, "/system/bin/battery_charging_help");
set_perm(0, 0, 0755, "/system/xbin/sh");
Thanks srl3gx for tutorial.
Click to expand...
Click to collapse
How to add ROOT into your ROM:
Want your custom rom to be rooted? Here is how:
1. First you need to choose from two great root management apps: Superuser (choose ARM one) and SuperSU(I prefer SuperSU).
2. Download zip file.
3. Go to "system" folder in downloaded zip and copy files within their folders to its place in your rom (same directory - if was "app" then copy in "app".
4. Edit updater-script to set correct permissions - Find that on someone elses rom, it should look just like for CWM, but for those files.
5. Done.
Click to expand...
Click to collapse
Useful notes:
1. Don't edit any file in zip with Windows Notepad or else you will get an error in CWM - you need Notepad++.
2. When you put system and META-INF folders into zip set compression to - Store.
Click to expand...
Click to collapse
thanks.....
very helpful :good:
Option58 said:
[TUT] How to extract .ftf file to make custom rom - flashable ZIP [2012 Xperia]
This tutorial is for developers who want to make their own custom rom based on official firmware. Note that as of 2012 our Xperias use ext4 file system so other tutorials won't work.
Inside every flashable zip file there are two folders - system and META-INF...System folder is ROM content...and META-INF gives instructions to CWM how to flash ROM Content....This is method to get contents of SYSTEM folder, you must find META-INF yourself....​
1. Download .ftf file for your device.
2. Extract .ftf file using 7Zip.
3. You will get system.sin and other files..You only need system.sin file so delete others...
4. Open flashtool and inside flashtool open SIN Editor to dump data from system.sin - you will get an ext4 file.
5. Open ext2Read and extract ext4 file...
6. Done...you will get contents of system folder that you need to modify...
7. IMPORTANT - When you later make zip choose compression - Store
PS: Don't edit files with Windows Notepad or else you will get an error in CWM - you need Notepad++...
Maybe later I will make Screenshots
Click to expand...
Click to collapse
any idea on how I can edit boot.img? the one used for this device are different from what I know.. I am trying dual boot..
you can pack and repack boot img with Android kitchen i think
Great tut
Sent from my Xperia Tipo using xda app-developers app pro
I already knew this method. However I congratulate you for your initiative. :highfive:
Well I learned something else. Before it only used to extract some files. I did not know we could do this way the custom roms.
I'll try to make a custom rom.
However verified that the file size of system.ext4 is 665,654 KB. Once extracted using ext2read, is only 467 MB.
It is normal for this situation? Instead of decreasing, should not increase after extracted?
Kind regards,
Jorge Moreira
drummer1839 said:
you can pack and repack boot img with Android kitchen i think
Click to expand...
Click to collapse
nope.. you cant.. It says android magic header not found. researching a bit, found out that this is a cpio archive.. I did manage to extract it to get 2 .gz files.. but they cannot be opened..
Jorge Moreira said:
I already knew this method. However I congratulate you for your initiative. :highfive:
Well I learned something else. Before it only used to extract some files. I did not know we could do this way the custom roms.
I'll try to make a custom rom.
However verified that the file size of system.ext4 is 665,654 KB. Once extracted using ext2read, is only 467 MB.
It is normal for this situation? Instead of decreasing, should not increase after extracted?
Kind regards,
Jorge Moreira
Click to expand...
Click to collapse
That was my problem too I ended up with an ext2read error and less size
But ext4 is Linux system partition and not zip file. Maybe flashtool made partition that big so every file could go there easily and it couldn't set exact size.
There is no other tool on internet, only ext2read.
Option58 said:
That was my problem too I ended up with an ext2read error and less size
But ext4 is Linux system partition and not zip file. Maybe flashtool made partition that big so every file could go there easily and it couldn't set exact size.
There is no other tool on internet, only ext2read.
Click to expand...
Click to collapse
Anyway I will try this weekend, make a custom rom lighter and functional.
Kind regards,
Jorge Moreira
Jorge Moreira said:
Anyway I will try this weekend, make a custom rom lighter and functional.
Kind regards,
Jorge Moreira
Click to expand...
Click to collapse
OK, don't forget to add CWM and root into your ROM. Actually I will rewrite my post in few days.
OK, the tutorial is rewritten. But it is not done. I will finish the rest later.
i did these steps[even without adding CWM ,just making a flashable stock rom(not included cwm) from cwm] ,but while want to install zip (my custome rom) from recovery ,installation after 2 seconds facing with error("installation aborted")
what is it's reason?
thanks
Jamal_RS said:
i did these steps[even without adding CWM ,just making a flashable stock rom(not included cwm) from cwm] ,but while want to install zip (my custome rom) from recovery ,installation after 2 seconds facing with error("installation aborted")
what is it's reason?
thanks
Click to expand...
Click to collapse
There's some error in updater script, upload it...
Have you edited with notepad or Notepad ++
Option58 said:
There's some error in updater script, upload it...
Have you edited with notepad or Notepad ++
Click to expand...
Click to collapse
i didn't edit updater script
Jamal_RS said:
i didn't edit updater script
Click to expand...
Click to collapse
And you took it from who?
Option58 said:
And you took it from who?
Click to expand...
Click to collapse
oh understood!!
i want to combine your tutorial and this thread
to make a rooted and included cwm custom rom
so i used from "META-INF folder and ROOTING files" that presented on that thread
i think this is my fault!
is it right?
thanks
Jamal_RS said:
oh understood!!
i want to combine your tutorial and this thread
to make a rooted and included cwm custom rom
so i used from "META-INF folder and ROOTING files" that presented on that thread
i think this is my fault!
is it right?
thanks
Click to expand...
Click to collapse
I understand now.
First that zip should only make use to you to learn a little bit more about development. To install that you need already to be rooted with CWM installed.
Second it doesn't install because our devices use a little bit different things. Edit and change every MTD to EMMC and every yaffs (or similar) to ext4. (Notepad ++)
I have only one recovery, from this thread : http://forum.xda-developers.com/showthread.php?t=2034639
Where I need to put it? in zip file or in system folder?
lozohcum said:
I have only one recovery, from this thread : http://forum.xda-developers.com/showthread.php?t=2034639
Where I need to put it? in zip file or in system folder?
Click to expand...
Click to collapse
Read my tut again, that recovery wont do the job.
Does anybody want help me about the new project. Extract ftf. Look at Q&A section.
I read it several times and still can't get it. So please explain. And can You reupload flashtool?

<req>Add toggles to stock LSZ

Hi all!
Is there a way to get a mod in order to add toggles (airplane, reboot, power off buttons) for a odex stock rom LSZ Rooted?
TNX a lot
try this!!! http://forum.xda-developers.com/showthread.php?t=2151953
diruengeru said:
try this!!! http://forum.xda-developers.com/showthread.php?t=2151953
Click to expand...
Click to collapse
Won't work because he's using a odexed Rom whereas the Mods only work in a deodexed Rom
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
majdinj said:
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
Click to expand...
Click to collapse
I have Odex firmware, but I put all the fashion, because I can make the necessary files Odex
odexer4_update_external_sd.zip: http://yadi.sk/d/CQSFNoCO2uNMD
odexer_4_update_internal_sd.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF - Who's supposed to, I can write a guide on how to do it, it is elementary
majdinj said:
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
Click to expand...
Click to collapse
I've tried it doesn't work...
ThaiDai said:
Won't work because he's using a odexed Rom whereas the Mods only work in a deodexed Rom
Click to expand...
Click to collapse
Yes it's true...
Klementiy said:
I have Odex firmware, but I put all the fashion, because I can make the necessary files Odex
odexer4_update_external_sd.zip: http://yadi.sk/d/CQSFNoCO2uNMD
odexer_4_update_internal_sd.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF - Who's supposed to, I can write a guide on how to do it, it is elementary
Click to expand...
Click to collapse
Sorry I've not understood. Do you have a way to add toggle on LSZ odex stock rom? If it works, can you write a little guide to do it, please?
updated instructions and changed the translator http://forum.xda-developers.com/showpost.php?p=38715726&postcount=14
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Klementiy said:
Instructions on how to make Odex:
1. For First you need to open an archive with modifications and see what sort of files
2. Look on your phone or at this address https://docs.google.com/folder/d/0B...ring&pli=1&docId=0B_tjIX7pV_liQjR3VGhoY0VMSWM which of these files have a second file Odex
3. Install this archiver https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver ZArchiver.apk: http://yadi.sk/d/qhsL2d8n31-w8 and in the settings set compression "uncompressed"
4. From the archive with modifications extract the Deodex files for which you want to create files Odex
5. With an archiver to open our tool odexer_4_update_internal.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF and on the way tmp / MOD add the Deodex file to the appropriate folder for which you want to make a file Odex
6. Exit from the archiver, go to CWM and install the resulting archive
7. After application of the archive in the internal memory card appears folder odexer, in which be necessary apk and odex and which is necessary to put a hands in system, framework and preload, because when they wrote the script, then the preload section has not yet been activated by the system
... shorter than anyone should, he will understand, good luck !
Click to expand...
Click to collapse
R: <req>Add toggles to stock LSZ
Klementiy said:
Instructions on how to make Odex:
1. For First you need to open an archive with modifications and see what sort of files
2. Look on your phone or at this address https://docs.google.com/folder/d/0B...ring&pli=1&docId=0B_tjIX7pV_liQjR3VGhoY0VMSWM which of these files have a second file Odex
3. Install this archiver https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver ZArchiver.apk: http://yadi.sk/d/qhsL2d8n31-w8 and in the settings set compression "uncompressed"
4. From the archive with modifications extract the Deodex files for which you want to create files Odex
5. With an archiver to open our tool odexer_4_update_internal.zip: http://yadi.sk/d/ZLLm-1Qw2uNMF and on the way tmp / MOD add the Deodex file to the appropriate folder for which you want to make a file Odex
6. Exit from the archiver, go to CWM and install the resulting archive
7. After application of the archive in the internal memory card appears folder odexer, in which be necessary apk and odex and which is necessary to put a hands in system, framework and preload, because when they wrote the script, then the preload section has not yet been activated by the system
... shorter than anyone should, he will understand, good luck !
Click to expand...
Click to collapse
Thank you very much
Inviato dal mio GT-N8000 con Tapatalk 2
R: <req>Add toggles to stock LSZ
shardul_seth said:
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Click to expand...
Click to collapse
Do I understand right ? Is possible a zip file in order to add toggles by Klementiy way for odex LSZ stock rom ? I'd like it a lot!
Inviato dal mio GT-N8000 con Tapatalk 2
R: <req>Add toggles to stock LSZ
Sorry, I'm trying the klementiy way but I have some problem...For example: why is it necessary to check which files are there in my stock rom and where are they? How many LSZ are there? I thought only one from sammobile site...
Inviato dal mio GT-N8000 con Tapatalk 2
Instructions for installing mods for Odex-firmware:
1. Extract all apk and jar files from the archive for modding
2. Install this archiver ZArchiver: http://yadi.sk/d/gkKGRw3e3_lID and in his settings select the compression method "No compression"
3. With an archiver ZArchiver open archive odexer_4_update_internal.zip: http://yadi.sk/d/lkaVBHxc3_kkG and on the way: tmp/MOD to the appropriate folders to throw the files with modifications, You can throw in any number of
4. Exit from the archiver, go to CWM and install the resulting archive
5. After running the script on the internal memory card appears folder odexer with the new apk and odex files, which must be manually placed in folders on the device, do not forget to set the permissions and ownership are the same as in the original file
CAUTION:
1. This script was created when not yet used section preload, so the script does not know section preload, ready archives use only for sections system/app and system/framework, for working with the section preload/symlink/system/app use only hands
2. If you move any files to the section preload, do not forget to make sure that the system/app to these files have the proper labels symlink, if the symlink is missing, it can easily be created by using Root Explorer: http://yadi.sk/d/dWKFeyRX3_lEh
3. After all the manipulations with the replacement files do not forget to delete the folder: data/dalvik-cache and reboot the device
shardul_seth said:
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Click to expand...
Click to collapse
Thank you, can I have Ink Effect for LSB Stock ?
majdinj said:
Sounds silly but what if he just delete SystemUI.apk and SystemUI.odex, services.jar and services.odex files then flash the mentioned mod, will it be OK???
tbh, I didn't test this method, although it works in some other mods!!!
Click to expand...
Click to collapse
this will never work, cause you need the framework jar files completely odexed or deodexed - no mix possible (except some google or third party stuff also working as deodexed in an odexed version)...whereas it is no prob to have a mixture in apps with odexed and deodexed
" odexer_4_update_internal.zip"
Прикольно, у меня такой же есть
finist1 said:
" odexer_4_update_internal.zip"
Прикольно, у меня такой же есть
Click to expand...
Click to collapse
so this is you gave it to me
shardul_seth said:
Thanks a lot Klementiy. I went through odexer.sh, and it seems so simple now.
I can confirm that this works.. If someone want the CWM package for Odexed LSZ, I can post it here.
Click to expand...
Click to collapse
Hello shardul_seth
could you share the mod to add the airplane toggle for a stock rooted rom LSZ?
Thank you very much
ask
hai,.
any one have guide for add stock toggle for samsung 4.1.2 ???
help..

[SOLVED]deodex zip D6603_Customized US_1288-7827_23.4.A.1.232_R6C

Wondering if anybody around here has some experience on using SVADeodexerForArt?
Trying to deodex D6603_Customized US_1288-7827_23.4.A.1.232_R6C and from what I gathered this is the tool to use, but been bouncing from thread to thread trying to understand how to make use of it and the more I read the more confusing it has become and I'm still at square one...
Anybody willing to shade to light and give direction on how to proceed?
Thanks
-Deodex-
Ok, so after a few days of reading I figured how to deodex my rom, took the long way since I didn't have the rom on my phone, just started from the xperifirm file...
Want to give a big THANKS @serajr for answering my questions and letting me use his zip to add my files for flashing!
This deodex zip is only for the D6603_Customized US_1288-7827_23.4.A.1.232_R6C firmware with root and recovery so be sure you're on that exact firmware before flashing!
-BACK UP before you even think of flashing this-
there is no debloat in the zip , you'll end up with a full stock D6603_Customized US_1288-7827_23.4.A.1.232_R6C deodexed, rooted and dualrecovery firmware
just flash the zip through recovery, wipe cache and dalvik and then boot...
get the deodex zip to flash here
-DM- said:
Ok, so after a few days of reading I figured how to deodex my rom, took the long way since I didn't have the rom on my phone, just started from the xperifirm file...
Want to give a big THANKS @serajr for answering my questions and letting me use his zip to add my files for flashing!
This deodex zip is only for the D6603_Customized US_1288-7827_23.4.A.1.232_R6C firmware with root and recovery so be sure you're on that exact firmware before flashing!
-BACK UP before you even think of flashing this-
there is no debloat in the zip , you'll end up with a full stock D6603_Customized US_1288-7827_23.4.A.1.232_R6C deodexed, rooted and dualrecovery firmware
just flash the zip through recovery, wipe cache and dalvik and then boot...
get the deodex zip to flash here
Click to expand...
Click to collapse
Hello there,
Can you please share how you did that? I am not able to find any way.
I wanna deodex D6653 firmware 23.4.A.1.232 Customized IN
I have .ftf, PRF Creator and SVA Deodexer
Thanks in advance
Mohitash said:
Hello there,
Can you please share how you did that? I am not able to find any way.
I wanna deodex D6653 firmware 23.4.A.1.232 Customized IN
I have .ftf, PRF Creator and SVA Deodexer
Thanks in advance
Click to expand...
Click to collapse
First make sure that you have the firmware you want to deodex, rooted with recovery and installed on your phone already so in your case D6653 firmware 23.4.A.1.232 Customized IN , if not then create a prerooted zip with that ftf file, SuperSu and latest dual recovery with PRFcreator then flash it and boot....Once that exact firmware is on your phone, you can follow those steps below to create a deodex zip.
Here is the process:
-download the zip that I provided in this thread (you'll need it later to swap my files with yours)
-open the ftf with 7-Zip to copy the system.sin file
-then use Flashtool Sin Editor to extract data to get System.ext4
-from there, use ext2explore (download it here) to open the system.ext4
-Once you opened system.ext4, locate those 3 folders (app, framework and priv-app) and build.prop
-create a folder called deodex on your C drive (so C:\deodex) and copy those 3 folders mentioned above and the build.prop file to it
-then move SemcGenericUxpRes folder from framework folder to app folder and take the 2 containing folders from vendor\app and move them to the app folder as well
- then run SVADeoderForArt.exe and selected the path to C:\deodex folder, check deodexing framework, app and private-app, let the tool run (it should tell you if it ran without errors when done)
-now you should have app, dex, framework, odex and priv-app folders (inside the SVADeodexerforart folder) after the tools finished the deodexing process (you can delete the dex and odex as they're not needed anymore)...now move SemcGenericUxpRes folder back to framework folder...also move back the 2 folders that you took from vendor\app, just put them anywhere on your desktop you're going to need them in a minute
-now when you open the deodex zip that you first downloaded, go into the system folder and you'll see 4 folders, app, framework, priv-app and vendor....delete the 3 folders app (but before, move the supersu folder from my app folder to your app folder, otherwise you'll end up without supersu) , framework and priv-app folders and move your 3 corresponding folders in there...now open vendor\app and delete the 2 folders and put yours instead
-your deodex zip should be good to flash now, put it on your sdcard...reboot to recovery, choose your zip to flash , then clear cache and dalvik cache and then boot....now you should have a full stock deodexed D6653 firmware 23.4.A.1.232 Customized IN (if you want to debloat, remove what you don't want from the app and private app folder in the zip before flashing, but you're on your own for that)
And as always make a backup before you start all this
Also, you should thank @serajr, as he's the one that wrote the script to clean and replace the system odexed folders, he nicely let me use it as a base to make my changes
-DM- said:
First make sure that you have the firmware you want to deodex rooted with recovery installed on your phone..............Also, you should thank @serajr, as he's the one that wrote the script to clean and replace the system odexed folders, he nicely let me use it as a base to make my changes
Click to expand...
Click to collapse
Thanks a lot for taking your time to write this and to give me good guide. This will help others too.
Ok i will follow the guide and now i am good to go. In case, any help needed, i will post here
And i think you saying to download your deodexed.zip only for meta inf and SuperSU, so i am not going to download that because i can do it myself so why to download ~800mb zip
And ya, Big thanks to @serajr. I dont know where to post exactly. So i am thanking you @serajr here.
Thanks and Regards
Mohitash
Mohitash said:
And i think you saying to download your deodexed.zip only for meta inf and SuperSU, so i am not going to download that because i can do it myself so why to download ~800mb zip
Thanks and Regards
Mohitash
Click to expand...
Click to collapse
yes, but looks like that you know what you're doing so you should be good to go
-DM- said:
yes, but looks like that you know what you're doing so you should be good to go
Click to expand...
Click to collapse
Ya, you got me right. May be you checked my profile or you can check now my history on XDA
I am just very very new to Sony and lollipop
Sent you pm.....
Regards
Mohitash
-DM- said:
First make sure that you have the firmware you want to deodex, rooted with recovery and installed on your phone already so in your case D6653 firmware 23.4.A.1.232 Customized IN , if not then create a prerooted zip with that ftf file, SuperSu and latest dual recovery with PRFcreator then flash it and boot....Once that exact firmware is on your phone, you can follow those steps below to create a deodex zip.
Here is the process:
-download the zip that I provided in this thread (you'll need it later to swap my files with yours)
-open the ftf with 7-Zip to copy the system.sin file
-then use Flashtool Sin Editor to extract data to get System.ext4
-from there, use ext2explore (download it here) to open the system.ext4
-Once you opened system.ext4, locate those 3 folders (app, framework and priv-app) and build.prop
-create a folder called deodex on your C drive (so C:\deodex) and copy those 3 folders mentioned above and the build.prop file to it
-then move SemcGenericUxpRes folder from framework folder to app folder and take the 2 containing folders from vendor\app and move them to the app folder as well
- then run SVADeoderForArt.exe and selected the path to C:\deodex folder, check deodexing framework, app and private-app, let the tool run (it should tell you if it ran without errors when done)
-now you should have app, dex, framework, odex and priv-app folders (inside the SVADeodexerforart folder) after the tools finished the deodexing process (you can delete the dex and odex as they're not needed anymore)...now move SemcGenericUxpRes folder back to framework folder...also move back the 2 folders that you took from vendor\app, just put them anywhere on your desktop you're going to need them in a minute
-now when you open the deodex zip that you first downloaded, go into the system folder and you'll see 4 folders, app, framework, priv-app and vendor....delete the 3 folders app (but before, move the supersu folder from my app folder to your app folder, otherwise you'll end up without supersu) , framework and priv-app folders and move your 3 corresponding folders in there...now open vendor\app and delete the 2 folders and put yours instead
-your deodex zip should be good to flash now, put it on your sdcard...reboot to recovery, choose your zip to flash , then clear cache and dalvik cache and then boot....now you should have a full stock deodexed D6653 firmware 23.4.A.1.232 Customized IN (if you want to debloat, remove what you don't want from the app and private app folder in the zip before flashing, but you're on your own for that)
And as always make a backup before you start all this
Also, you should thank @serajr, as he's the one that wrote the script to clean and replace the system odexed folders, he nicely let me use it as a base to make my changes
Click to expand...
Click to collapse
I understand the problem but somehow I do follow instructions whose results have been bootloop
đạt gao ô said:
I understand the problem but somehow I do follow instructions whose results have been bootloop
Click to expand...
Click to collapse
Sent you a pm

Categories

Resources