[TUT] How to extract .ftf file to make custom rom - and few tips [2012 Xperia] - Sony Xperia Miro, Tipo (Dual), J, E

[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?

Related

[Q] How to merge update.zips

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!

[Q] how to MAKE stock ROM in zip format?? just wanna know!!

Is there anyway how to make stock rom to a flashable zip format??
Please let me know!!
I need help!!
.img to flashable .zip
LioN-HearT said:
Is there anyway how to make stock rom to a flashable zip format??
Please let me know!!
I need help!!
Click to expand...
Click to collapse
Pls let us know if you got something that can do that, especially from image(s) file.
Re
I don't think that that's possible, been searching the forums and google for a week and no answer...
LioN-HearT said:
Is there anyway how to make stock rom to a flashable zip format??
Please let me know!!
I need help!!
Click to expand...
Click to collapse
Yes, Iv'e done this before.
1. Rename the .ftf to .zip and extract system.sin with winrar.
2. Get program Called Internals Linux Reader.
3. With Flashtool use the option extract data from sin and select system.sin and extract data.
4. With Internals Linux Reader Mount Image and Copy everything inside the image to a folder.
5. Go into folder and highlight everything and right click and press add to archive (WINRAR!!!!!!!)
6. CHOOSE ZIP AND DONE THERE YOU GO!
NOTE - YOU DONT HAVE META-INF FOLDER SO YOU WONT BE ABLE TO FLASH!
LioN-HearT said:
Is there anyway how to make stock rom to a flashable zip format??
Please let me know!!
I need help!!
Click to expand...
Click to collapse
http://lmgtfy.com/?q=How+to+make+flashable+zip+from+ftf
or
http://lmgtfy.com/?q=How+to+make+flashable+zip+from+stock+rom
:laugh:
Or just pull system(if u currently using stock fw) folder using root browser to ur sdcard, make update script and some other and zip it. Ure done!!
Sent from my Xperia Miro using xda premium

[TOOL] Apktool : decompile and recompile apk on android

decompile and recompile apk or even extract android boot.img/recovery.img on your android phone using this tool
This tool might come in handy is for all respected devs,modders and themers of our device
How to's :
First Download the package apktool4.4_armhf.zip from
https://code.google.com/p/apktool/downloads/detail?name=apktool4.4_armhf.zip&can=2&q=
Extract archive to /sdcard or if you want Better read write speed use the cache/data folder set permission to rwrr
Install Apktool4.x.apk
Now open the app from app drawer.
And
Make the most out of it !
For boot.img and recovery.img
Copy your boot.img to sdcard or /cache/yourfolder(for fast processing)
Single click boot.img select "extract"You will see new file named "kernel" and new folder "ramdisk"
if extracted properly no error will show up.
You can edit files in ramdisk folder.after editing touch ramdisk and select "repack" you can make the new boot.img which is named as new.img. For recovery.img it's the same way.
Hope this helped
NIKHILALWAYZ said:
decompile and recompile apk or even extract android boot.img/recovery.img on your android phone using this tool
This tool might come in handy is for all respected devs,modders and themers of our device
How to's :
First Download the package apktool4.4_armhf.zip from
https://code.google.com/p/apktool/downloads/detail?name=apktool4.4_armhf.zip&can=2&q=
Extract archive to /sdcard or if you want Better read write speed use the cache/data folder set permission to rwrr
Install Apktool4.x.apk
Now open the app from app drawer.
And
Make the most out of it !
For boot.img and recovery.img
Copy your boot.img to sdcard or /cache/yourfolder(for fast processing)
Single click boot.img select "extract"You will see new file named "kernel" and new folder "ramdisk"
if extracted properly no error will show up.
You can edit files in ramdisk folder.after editing touch ramdisk and select "repack" you can make the new boot.img which is named as new.img. For recovery.img it's the same way.
Hope this helped
Click to expand...
Click to collapse
first thnk u sir for ur tutorial i am mtk user. i put my boot.img into system folder and extracted i got this msg:-
"1250 1 records in
1250 1 records out
2247 blocks". and following folders are created there 1)ramdisk
2)kernal
3)ramdisk.cpio.gz (this file also get created) is it ok? should i go ahead?
prajul1123 said:
first thnk u sir for ur tutorial i am mtk user. i put my boot.img into system folder and extracted i got this msg:-
"1250 1 records in
1250 1 records out
2247 blocks". and following folders are created there 1)ramdisk
2)kernal
3)ramdisk.cpio.gz (this file also get created) is it ok? should i go ahead?
Click to expand...
Click to collapse
yes:good: ,for more info search on xda about decompiling and tools for editing.
I want to make a duplicate apk by using apktool 4.6 for phone.
example wechat.apk to wechat01.apk
And to install both on same device..
PLEASE PROVIDE TUTORIAL FOR DOING IT...
THANKS
Nit Patel said:
I want to make a duplicate apk by using apktool 4.6 for phone.
example wechat.apk to wechat01.apk
And to install both on same device..
PLEASE PROVIDE TUTORIAL FOR DOING IT...
THANKS
Click to expand...
Click to collapse
First,you will have to change the entire framework of the app (sorry,i have no idea how to do that) and secondly, both apps won't work in using the same device because of the android ID. i know to how to edit text/pictures/icons /fonts etc of an app..but no idea relating permissions management , so if you have any questions regarding that feel free to ask

Unpack system.new.dat

Hi guys, I was able to extract system.new.dat from a rom (purity lollipop) and now I have the old good system with folders, so I can change whatever I want. But I tried to flash the zip and only the boot.img gets installed, the rest seems to be ignored.. What should I change in the zip on order to get it to install correctly?
carlese said:
Hi guys, I was able to extract system.new.dat from a rom (purity lollipop) and now I have the old good system with folders, so I can change whatever I want. But I tried to flash the zip and only the boot.img gets installed, the rest seems to be ignored.. What should I change in the zip on order to get it to install correctly?
Click to expand...
Click to collapse
Look at the updater-script
Lethargy said:
Look at the updater-script
Click to expand...
Click to collapse
Can I use the updater from the same rom but kitkat version? The things I install are the same I think..

[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