[Q] How to deodex SystemApps and Framework apps - Galaxy Tab 2 Q&A, Help & Troubleshooting

I have searched about it on Xda and outside Xda ..
i found 2 Resources that can help ...
1)Dsixda's Kitchen (well i am downloading it , but i guess i will have to backup my whole rom ? and then extract apks from it and then deodex them ?) (quite a lengthy process , as i am using FastDream rom by Mythi and i just want to odex it after i mod it but would like to deodex it everytime i need a new mod and then reodex it again , you get my point !)
2)xUltimate (v2.3.3/v2.4) Not detecting my device ("Wating for phone") So i tried a work around , i pulled my apps manually from app and framework folder , then tried deodexing i got errors.. (if you want screenshot of the errors i will post it ..)
Soo does any one know any other methods of deodexing ?? If so then let me know i will make up a tutorial once i am done .. (cuz i see no proper tutorials (except the DSIXDA's kitchen (deodexing the whole rom and then copying the apps_) ) )
Thanks ...

Related

[CLOSED][THEME] Stock Triumph Deodex Template[CLOSED]

Thread closed because I no longer own this device. The download links no longer work. Sorry for any inconvenience.
Hey man howd u get the wifi going? And do u mind if i link to this in my post in development for the stock odex and deodex roms? Because i and i know alot of people tend to skip over the theme section
Sent from my PG06100
I don't know what exactly fixed it for sure. I just took the stock system.img from the complete non powered on nandroid backup posted, extracted all the files(using unyaffs.exe) and went through and auto deodexed framework and app using an auto deodexer tool found on xda, then the files taht wouldnt auto deodex using that .bat script, I used the baksmali and smali jar files to manually deodex the rest. I kept geting erros on the DbgCfgTools.apk(but ir ead up on the erros i was gettinmg and some of the htc sense roms were getting erros on some of there files like that and they said to use the -I option when baksmali'ing the odex file and it ignores the errors I guess, but that app was refering to bootclass paths that are no where in any .jar file on the phone so it's likely that apk didnt work in the first place cause if it was called to, it would display the same bootclass errors.
Yeah you can link to this, and I will make a stock deodexed rom that also formats and replaces everything in the /hidden partition(i.e. all the bloatware) as well as a bone stock rom so someone who has messed up the hidden partition can get back to bone stock easily!
Mediafire is down, and I just lost wifi with my phone when installing your bone stock ROM... you know, the one that doesn't have working wifi.
So here I go bumping your thread and adding some mirrors. This thread needs to be stickied or something.
Yes, mirror would be good!
√ HTC Evo 3D GSM
√ Android JB 4.1.2
√ Disarmed Toaster
√ 4EXT Recovery Touch
√ Anthrax Kernel 3.7.0 @ 1.6ghz

[MOD] DSIXDA kitchen v0.202 updated tools 24.09.2012 NEW option to use SuperSU NEW

1st post: updates by others
2nd post: updates by me
I present you my package of recent updates for DSIXDA kitchen v0.202
This package is for Windows, Linux and Mac.
To use the updates, replace kitchen files with files from package.
Dk202u23092012; this package includes:
* added support for endeavoru credits to theintelligent
* updated wireless tether to v3.2-beta2 credits to harald
* updated busybox to v1.20.2 credits to Denys Vlasenko
* updated Superuser to v3.2-RC3 credits to ChainsDD
* updated zipalign to vR20.0.3 credits to Google
* updated apps2sd to v2.7.5.3 Beta 04 credits to tkirton
* updated unyaffs to v0.9.4 credits to ehlers
Click to expand...
Click to collapse
I take NO credits for these tools, only for sharing my package with the community, happy cooking!
Here you'll find experimental mods made by me. Please test it and give me some feedback.
NEW em2Dk202u24092012; this package includes:
* NEW added option to root your rom with chainfire's SuperSU v0.96 NEW
* removed option "old" incl. Superuser.apk and su binary
Click to expand...
Click to collapse
To use this update, replace su_files folder and do_root file from your kitchen with su_files folder and do_root file from package.
Plz test and report me back, enjoy!
emDk202u24092012+; this package includes:
* added support for primo aka HTC One V
* added support for ville aka HTC One S
Click to expand...
Click to collapse
To use the updates, add files from package in kitchen folder.
Remember these updates are experimental! I don't own these devices so can't test them myself!
I hope this helps you !:angel:
updated post 2, enjoy!
I can use this to build for the Samsung galaxy tab 2 7.0
Sent from my SGH-T679 using Xparent Blue Tapatalk 2
hatememarkz said:
I can use this to build for the Samsung galaxy tab 2 7.0
Sent from my SGH-T679 using Xparent Blue Tapatalk 2
Click to expand...
Click to collapse
Samsung Galaxy Tab 2.7.0 not supported yet...
updated 2nd post, added a great new experimental option! plz test it and give me feedback.
i dont know what im doing wrong here.. im getting this error
E: Error in /sdcard/Arquivo/roms/MIUI_X/MIUI_X_2.9.21_RC1.zip
(Status 6)
Installation aborted.
ill descrive my steps
1. Copyed endeavoru (without .txt extension) to tools/edify_defs/
2. Extracted ROM and converted updater-script to update-script like kitchen recomends
3. Made my changes
4. Builded ROM in interactive mode (1) in kitchen
5. Kitchen converted automaticaly to updater-script
6. Selected option "Proceed: updater-script and update-binary will be moved to the ZIP file.."
7. sign, copy to phone, etc
and when i go to flash it, i got that error ...
im using your kitchen...
this in HTC ONE X (enderavou)
any clue about this ?
3. Made my changes
Click to expand...
Click to collapse
What changes? tell me in detail plz
im using your kitchen...
Click to expand...
Click to collapse
not mine, kitchen owner is DSIXDA
l3inky said:
What changes? tell me in detail plz
not mine, kitchen owner is DSIXDA
Click to expand...
Click to collapse
nothing special ... deleted some apks in system/app (bloatware) and added some (gaaps) and edited build.prop with notepad++ just to change timezone
sorry .. your kitchen mod
im going now to build and untouched rom .. just to see if the problem is from my changes .. but i didnt changed anything special .. so i supose thats not the problem .. but just in case.. im going to test it ..
im going to extract the rom "miuiportugal_OneX_2.9.21_Signed.zip" and build it with kitchen defaults
convert updater like it recomends on extract..
and convert again to updater in building like it recommends
just to see if the problem is in the kitchen or my changes
---------- Post added at 07:48 PM ---------- Previous post was at 07:24 PM ----------
same problem .. same error ...
didnt change anything this time ...
just extracted rom and build it again with kitchen defaults
dont understand .. kitchen recognizes the device when converting scripts ...
maybe because the source rom its MIUI ? i tryed miui eng / pt / ch / rd .. and same problem ..
maybe java path invalid (\Java\jre7\bin) dont know if kitchen uses java ..
maybe cygwin version ?
lol .. what a strange thing ... do i need to change more files in kitchen ? i just downloaded the last kitchen release and applyed your mod ...
btw i founded this on changelog
Version 0.190 (March 26, 2012):
Change end-of-line characters in update(r)-script to proper format when building ROM. This gets done in case a noob modified the file with non-Unix compliant editor. Prevents 'Status 6' error when flashing ROM in custom recovery.
but it doesnt make sense because im not doing edits and i dont have < 0.190 kitchen
ruizit0 said:
nothing special ... deleted some apks in system/app (bloatware) and added some (gaaps) and edited build.prop with notepad++ just to change timezone
Click to expand...
Click to collapse
You don't need the kitchen for these changes mate!
+ I don't know what goes wrong with you, aosp and kitchen not a good match i guess
Mayb you can contact dsixda for your problem but again, if these are the only changes you wanna make you don't need the kitchen!
l3inky said:
You don't need the kitchen for these changes mate!
+ I don't know what goes wrong with you, aosp and kitchen not a good match i guess
Mayb you can contact dsixda for your problem but again, if these are the only changes you wanna make you don't need the kitchen!
Click to expand...
Click to collapse
yeah i know .... but i dont plan to make only that changes
it was only to test the kitchen ... i cant contact dsixda he stopped development of the kitchen :\
dont know what to do .. do you have an HOX ? i need to find someone with an hox to zip me the kitchen folder and send me just to see if it works ... or if its from my computer setup ...
i installed everything with a tutorial i saw here on forum .. maybe it wasnt the best tutorial to setting up the kitchen .. dont know :| damn
just in case someone can give me a clue...
here's some info and logs .. i think kitchen is converting wrong the updater-script... but why .. i dont know.. differente HOX versions ?
the part of flashing
Code:
-- Installing: /sdcard/Arquivo/roms/MIUI_X/endeavoru_signed_092512_200944.zip
Finding update package...
I:Update location: /sdcard/Arquivo/roms/MIUI_X/endeavoru_signed_092512_200944.zip
Opening update package...
Installing update...
line 4 col 20: syntax error, unexpected STRING, expecting $end
1 parse errors
E:Error in /sdcard/Arquivo/roms/MIUI_X/endeavoru_signed_092512_200944.zip
(Status 6)
Installation aborted.
and here's the full log
https://www.dropbox.com/s/f5b97a4tt2rlbqu/recovery.log
and here's the updater-script created by the kitchen
https://www.dropbox.com/s/7h8wl5a5vizen08/updater-script
For now use this workaround: when rom is builded replace meta inf folder with original, when im home i,ll take a look at it.
Sent from my HTC One X using xda app-developers app
l3inky said:
For now use this workaround: when rom is builded replace meta inf folder with original, when im home i,ll take a look at it.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
thanks l3inky!
detailed problem in here if you can check logs and specs etc
i didnt mentioned your mod in there to not cause more confusion .. but using your mod or not, the problem is the same, so the problem is not from your mod
http://forum.xda-developers.com/showthread.php?t=1906605
thanks again
Can u plz send me this: original updater-script, converted update-script and final updater-script.
Problem solved thanks to "backfromthestorm" hint!!
The problem is the Kitchen update to updater conversion.
The kitchen doesnt make correctly the conversion.
So the solution is:
not give any script to kitchen for conversion, remove META-INF folder from original zip and let kitchen create a fresh updater..
It doesn't fix the converting problem does it, also very interesting you prefer removing meta inf en make a new one then just changing 2 lines in updater script, 2 workarounds in my opinion, anyway can u send me those 3 files i asked for cause i wanna fix this problem.
Sent from my HTC One X using xda app-developers app
l3inky said:
It doesn't fix the converting problem does it, also very interesting you prefer removing meta inf en make a new one then just changing 2 lines in updater script, 2 workarounds in my opinion, anyway can u send me those 3 files i asked for cause i wanna fix this problem.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
you are right .. but i prefer to create a new one because its less work, i have to remove the ui_print and other symlinks, so for me its easyer create a new one.
but the perfect is if the kitchen can make correctly the conversion ...
here it is what you asked
https://www.dropbox.com/s/7fd3kboz0htiur7/updaters.zip
it will be great if you can fix that.. if you need something from me just ask!
thanks
made another test .. but this time with other rom...
the kitchen converts the updater bad again but with other errors ..
this time it add spaces to lines
here is the files from the another test ...
https://www.dropbox.com/s/vim2rpgrgmij3j9/updaters_2.zip
the kitchen is all messed up when converting updater .. i think the best is to stick to the original updater dont make conversion and make manual changes on the end ..
and hope DSIXDA gets back to kitchen development, or maybe someone makes another kitchen and give support to it :\
EDIT: found some bugs when removing META-INF folder from original zip and let kitchen create updater by his own .. for example in MIUI rom some functions stop working ... like theme applying etc... i think kitchen jumps something maybe permissions .. when creating updater
for now, and for me, the best option is to let META-INF in original zip, and when extrating rom when kitchen asks to convert updater to update, dont convert, and after edit original updater mannualy and make the changes
ruizit0 said:
made another test .. but this time with other rom...
the kitchen converts the updater bad again but with other errors ..
this time it add spaces to lines
here is the files from the another test ...
https://www.dropbox.com/s/vim2rpgrgmij3j9/updaters_2.zip
the kitchen is all messed up when converting updater .. i think the best is to stick to the original updater dont make conversion and make manual changes on the end ..
and hope DSIXDA gets back to kitchen development, or maybe someone makes another kitchen and give support to it :\
EDIT: found some bugs when removing META-INF folder from original zip and let kitchen create updater by his own .. for example in MIUI rom some functions stop working ... like theme applying etc... i think kitchen jumps something maybe permissions .. when creating updater
for now, and for me, the best option is to let META-INF in original zip, and when extrating rom when kitchen asks to convert updater to update, dont convert, and after edit original updater mannualy and make the changes
Click to expand...
Click to collapse
You probably have a problem with mount points & update binary. Make sure your device is supported by kitchen else manually create edify_defs for your device or Replace update binary in kitchen cooked meta inf folder with the one from original rom and edit kitchen updater script - change the lines with mount(...........) in new updater script to look exactly like the one in original rom's updater script. You can search xda forum for more info on edify language used in updater scripts. Most of changes you need make in updater sript will be within first 5lines. You can pm me if problem but also post response here
Sent from my GT-B5512 using Tapatalk 2

[Q] regarding odexing and deodexing

hello devs,
should i deodex all files in framework folder or enough framework.odex only , the thing is im trying to use madmack patch for arabic lang and it needs a deodexed rom , its a zte v9c-1 and i've tried everysingle other rom than (reliance's original) the touch just tends to stop , only that reliance rom work.
i've tried to deodex the framework.odex using the kitchen and did put it in the rom using yaffey and the device wont boot up
for more info i that rom's version is 2.3.4 its completely unrootable as far as i know and i've tried different cm roms touch wont work also couldnt flash a custom recovery
im using yaffey to push files into the system.img then reflash using the zte tool thingie
any ideas ?

[MOD] [GT-S5360] 4 way reboot methode for stock ROM

This simple little Mod For your galaxy y , 4 way reboot method
---------------------------------DWOYR-----------------------------------------
Instruction instalation
Base Band DXLL1 Build number DXMA1
Your ROM must be
*- DEODEX
*- Rooted (Optional)
backup your original framework-res.apk and android.policy.jar
downloads in attachment
Flash via CWM or Extract the zip and put file on system/framework folder set permision rw-r-r and replace
Reboot and
DONE ....................
Thanks to who make is possible
bumslayer
kahvitahra
evanlocked
zoe kura kura
triemo galanescreamo
and you
Screenshot
Good work
:good: :good: :good:
Great work!
Sent from Nemesis Pheonix
AW: [MOD] [GT-S5360] 4 way reboot methode for stock ROM
:thumbup:
MANY INSANE GREEETZ WITH TAPATALK BEATZ!!!
Hi, could you do it for me on a XXLH2 firmware please? I'm having computer problems at the moment and I can't work on it like that. I'll hand you the needed files if you need to.
Hii
You can try your self with this DXLL1 to your stock rom .
Make sure pull the framework-res.apk and android.policy.jar with rootexplorer or any file manager simillar with
Duplicate this stock DXLL1 on your sdcard and extract and replace file on it and zip again for
Antitipate bootloop
And now go into recovery mode and flash with my mod
Tell me if work on your stock rom
anyone here to make it working for duos?
Superb hight five om.
έ..έ..έ..έ.. :thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
sembre said:
Hii
You can try your self with this DXLL1 to your stock rom .
Make sure pull the framework-res.apk and android.policy.jar with rootexplorer or any file manager simillar with
Duplicate this stock DXLL1 on your sdcard and extract and replace file on it and zip again for
Antitipate bootloop
And now go into recovery mode and flash with my mod
Tell me if work on your stock rom
Click to expand...
Click to collapse
Thanks but I've done such experiments before and foreign system files always seem to either cause me bootloops or force-closing on certain apps once the phone starts up.
It's not a problem for me and I'm willing to try because I could make a nandroid backup now, etc, but the problem is I have trouble restoring my sd-ext and all of my installed apps are stored there so a nandroid backup and restore could remove all of my important apps or I'm not sure maybe it won't but I can't take the risk for now.
Please if you could do the procedure I would be very grateful. I've attached my framework-res.apk and android.policy.jar if you decide to do it.
Mitko said:
Thanks but I've done such experiments before and foreign system files always seem to either cause me bootloops or force-closing on certain apps once the phone starts up.
It's not a problem for me and I'm willing to try because I could make a nandroid backup now, etc, but the problem is I have trouble restoring my sd-ext and all of my installed apps are stored there so a nandroid backup and restore could remove all of my important apps or I'm not sure maybe it won't but I can't take the risk for now.
Please if you could do the procedure I would be very grateful. I've attached my framework-res.apk and android.policy.jar if you decide to do it.
Click to expand...
Click to collapse
ok ill try this night to mod your apk and jar
Sent from my GT-S5360 using xda premium
Bootloop on DXLC1 stock rom.
Put method instead of Zip
You should post a full method of adding files in framework-res.apk and android policy instead of posting the zip.
SO that other users can use it also.
GOOD JOB my BRO...
Regard
Error 404
Can you please do one for firmware S5360TAJKK3? My S5360 is from AU, which is S5360T with S5360TAJKK3 firmware. Thanks in advance.
Great work
Good job .. Flashing is easy than modifying system files each time uh get back to stock
But can you please add a screenshot button too ??? :0

[Q] Hey guys, I need some advice please

What is the best way to decompile Apks? Is apk tool the best option? As i feel like it's a complicated tool.......
And is there any way to decompile Apks and edit xmls on android without using a computer?
Another think is that i am thinking about making some kind of rom for our device, so just want to know the basics for doing this(making a flashable zip - modifying SystemUI - Framework).....
My rom is not going to be such a huge development because i am still a starter,so i am thinking about making a rom that contains all of the awesome things that other developers made ........
It will be based on one of the custom roms available,and for now, this is what i think it will contain(Xperia Z3 Apps by strayder~007,smart social camera, working sound enhancements,one of the cool frameworks,Xperia lollipop firmware Icons already included........etc).......
You should know that I will never use any of the ports that others made without their permission.....
Please let me know your opinion!! Don't read and just leave without replying......
If anyone wants to help me, let me know, i will start building my rom after 17 /6......
But i need your help starting from know......
The first step is knowing how make a flashable zip right?
Saelfos Emaka said:
Please let me know your opinion!! Don't read and just leave without replying......
If anyone wants to help me, let me know, i will start building my rom after 17 /6......
But i need your help starting from know......
The first step is knowing how make a flashable zip right?
Click to expand...
Click to collapse
Bro to be honest..don't try to build roms...
First try how to port apps and solve fc's it will help you..
but yes indeed how to make a flashable zip is the first part..
Samuel Wankhede said:
Bro to be honest..don't try to build roms...
First try how to port apps and solve fc's it will help you..
but yes indeed how to make a flashable zip is the first part..
Click to expand...
Click to collapse
Ok thanks for your advice,and about the rom, it will be based on an already built custom rom by someone else with some apps ported by others and some small modifications by me, just to make sure it won't lead troubles.
Would you like to help me with flashable zip?
I will be ready when you are ..
And about your phone, what happened with it?
Is it working now? How did it brake?
Saelfos Emaka said:
What is the best way to decompile Apks? Is apk tool the best option? As i feel like it's a complicated tool.......
And is there any way to decompile Apks and edit xmls on android without using a computer?
Another think is that i am thinking about making some kind of rom for our device, so just want to know the basics for doing this(making a flashable zip - modifying SystemUI - Framework).....
My rom is not going to be such a huge development because i am still a starter,so i am thinking about making a rom that contains all of the awesome things that other developers made ........
It will be based on one of the custom roms available,and for now, this is what i think it will contain(Xperia Z3 Apps by strayder~007,smart social camera, working sound enhancements,one of the cool frameworks,Xperia lollipop firmware Icons already included........etc).......
You should know that I will never use any of the ports that others made without their permission.....
Click to expand...
Click to collapse
1) Best way to decompile apk files is to decompile them using Advanced APK Tools (this tool is specially made for Xperia software)
2) To make ROM you need
* Rooted Device with CWM installed.
* Build Version of the Deodexed Stock Backup / base ROM should be same as build version of your Device.
* Deodexed Stock System / Any base ROM
* You can edit SystemUI.apk, Home.apk, framework.jar, framework_res.apk,build.prop,settings.apk other system apps and files, Media Folder, Bootanimation.zip file, you can add more apps and animation and tones etc and what else you want to... depends upon your creativity.
* Tools Required : Advanced APK Tools(java should be installed to use this tool) , Photoshop, BootAnimation Creator, Notepad++, Windows Image Re-sizer, 7-Zip etc.
* Meta-INF folder which you can get from any existing ROM, boot.img which you can get from CWM backup of your device.
* Firmware ftf file and Wmshua Tool for in case you get wrong with your device.
* Permission from the OP of the Threads from where you get the Raw Material and also give Credits to them.
-Deodexed Stock System (16.0.B.2.16) : Click HERE
-Base ROM (16.0.B.2.16) (A ROM be me) : Click HERE
-Advanced APK Tools : Click HERE
-16.0.B.2.16 ftf : Click HERE
-Wmshua (opth the installation directory and rename the language folder to folder_x to set language as English): Click HERE
Other Useful Links :
http://forum.xda-developers.com/sony-xperia-c/general/guide-how-to-add-rom-developer-t2999668
http://forum.xda-developers.com/sony-xperia-c/themes-apps/how-to-custom-home-button-t2828974
iSiddharth said:
1) Best way to decompile apk files is to decompile them using Advanced APK Tools (this tool is specially made for Xperia software)
2) To make ROM you need
* Rooted Device with CWM installed.
* Build Version of the Deodexed Stock Backup / base ROM should be same as build version of your Device.
* Deodexed Stock System / Any base ROM
* You can edit SystemUI.apk, Home.apk, framework.jar, framework_res.apk,build.prop,settings.apk other system apps and files, Media Folder, Bootanimation.zip file, you can add more apps and animation and tones etc and what else you want to... depends upon your creativity.
* Tools Required : Advanced APK Tools(java should be installed to use this tool) , Photoshop, BootAnimation Creator, Notepad++, Windows Image Re-sizer, 7-Zip etc.
* Meta-INF folder which you can get from any existing ROM, boot.img which you can get from CWM backup of your device.
* Firmware ftf file and Wmshua Tool for in case you get wrong with your device.
* Permission from the OP of the Threads from where you get the Raw Material and also give Credits to them.
-Deodexed Stock System (16.0.B.2.16) : Click HERE
-Base ROM (16.0.B.2.16) (A ROM be me) : Click HERE
-Advanced APK Tools : Click HERE
-16.0.B.2.16 ftf : Click HERE
-Wmshua (opth the installation directory and rename the language folder to folder_x to set language as English): Click HERE
Other Useful Links :
http://forum.xda-developers.com/sony-xperia-c/general/guide-how-to-add-rom-developer-t2999668
http://forum.xda-developers.com/sony-xperia-c/themes-apps/how-to-custom-home-button-t2828974
Click to expand...
Click to collapse
Thanks man!!! You are awesome! This is all what I need to start, i love you
Saelfos Emaka said:
Thanks man!!! You are awesome! This is all what I need to start, i love you
Click to expand...
Click to collapse

Categories

Resources