Hi, just have a question regarding modding apks inside /app in odexed roms.
Have read a few threads regarding deodexing and decompiling apks, and just wish to clarify one thing:
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Here's what I tried:
1. Used xultimate to deodex
2. Used apktool to decompile apk
3. Edited xml
4. Used apktool to compile
5. Added META-INF and AndroidManifest.xml from original apk using 7zip
6. Deleted Contacts.apk and Contacts.odex
7. Copied Contacts.apk over
Thanks in advance!
ock said:
Hi, just have a question regarding modding apks inside /app in odexed roms.
(...)
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Click to expand...
Click to collapse
+1
I am also interested in the answer ...
I would like to theme some widgets and theme the statusbar on a stock ROM. I am not sure is it possible ? And what is the procedure with the odexed files ?
Can someone please extract the Optimus UI v3.0 from the system/app/ folder please?i`m using it for a ROM development!
Hi
I had played with Virtuous Ten Studio and i was trying to learn from scrats.
in the insanly cool sense there is an bad translation to danish in systemUI, in english the automatic brightness translated to automatisk lydstyrker, also automatic sound, in decompiled systemUI with VTS and edited the xml file for danish and then compiled the apk file again and pushed it to the device and checked for permission and edited them as they shoud in the file and rebooted.
i also tryed recompiled the apk and copyed it over on sd card, set permission and copy into system/app folder again and then reboots with same result
results was:
NO STATUSBAR i tryied everything but the only way i could fix it was using the orignial apk file again ?
what did i do wrong?
anders3408 said:
Hi
I had played with Virtuous Ten Studio and i was trying to learn from scrats.
in the insanly cool sense there is an bad translation to danish in systemUI, in english the automatic brightness translated to automatisk lydstyrker, also automatic sound, in decompiled systemUI with VTS and edited the xml file for danish and then compiled the apk file again and pushed it to the device and checked for permission and edited them as they shoud in the file and rebooted.
i also tryed recompiled the apk and copyed it over on sd card, set permission and copy into system/app folder again and then reboots with same result
results was:
NO STATUSBAR i tryied everything but the only way i could fix it was using the orignial apk file again ?
what did i do wrong?
Click to expand...
Click to collapse
Your ROM is deodexed?
and then i cant edit systemUI? :s
claudenegm said:
Your ROM is deodexed?
Click to expand...
Click to collapse
i got the same issue with a deodexed file... tried Vten, apktool but same issue..
but it must be pousible on some how, because the systemUI.apk file in the insanly cool sense 3.6 is not standart, it is modded. but how do we do it ? what are we doing wrong?
anders3408 said:
but it must be pousible on some how, because the systemUI.apk file in the insanly cool sense 3.6 is not standart, it is modded. but how do we do it ? what are we doing wrong?
Click to expand...
Click to collapse
not sure.. didn't find any guide on theming / modding Sense esp 3.6.. u have anything on it?
as i understands it, VTI can maby do it, it supports sense 3 and up, i have maby some link at my home laptop but not here at work
http://forum.xda-developers.com/showthread.php?t=1473293
http://forum.xda-developers.com/showthread.php?t=1645650
there is a start maby
Edit:
after reading the link about modding battery icon it makes sense :
Sense 4.0/3.6 (ICS)
1. Pull /system/app/SystemUI.apk from your phone
2. Rename SystemUI.apk to SystemUI.apk.zip
3. Using WinRAR copy attached "res" folder (in zip) directly into the root of SystemUI.apk.zip
4. Leave the settings and just hit OK.
5. Rename back to SystemUI.apk and push to device
*This method may work for Sense 3.6 ROMs as well. If not, see below.
i had read a place that the systemUI.apk is signed, and only works if it is signed, but when you decompile it and compile it again the sign disapper. therefore as i understands it you may not decompile the original systemUI.apk file, you just push the files that you edited in the file, as it say i point 3. i had not tried it out yet but i do to night and i may think it will work
anders3408 said:
as i understands it, VTI can maby do it, it supports sense 3 and up, i have maby some link at my home laptop but not here at work
http://forum.xda-developers.com/showthread.php?t=1473293
http://forum.xda-developers.com/showthread.php?t=1645650
there is a start maby
Edit:
after reading the link about modding battery icon it makes sense :
Sense 4.0/3.6 (ICS)
1. Pull /system/app/SystemUI.apk from your phone
2. Rename SystemUI.apk to SystemUI.apk.zip
3. Using WinRAR copy attached "res" folder (in zip) directly into the root of SystemUI.apk.zip
4. Leave the settings and just hit OK.
5. Rename back to SystemUI.apk and push to device
*This method may work for Sense 3.6 ROMs as well. If not, see below.
i had read a place that the systemUI.apk is signed, and only works if it is signed, but when you decompile it and compile it again the sign disapper. therefore as i understands it you may not decompile the original systemUI.apk file, you just push the files that you edited in the file, as it say i point 3. i had not tried it out yet but i do to night and i may think it will work
Click to expand...
Click to collapse
I always use the last method that you describe here when modding frameworks and SystemUI's, and had no problem so far with any ROM i modded/themed, not too many to be honest, i modified Sense v3.6's Battery only, but that change was in framework-res.apk not in the SystemUi.apk.
Don't know if this can help you in any way, but i believe feedback is always welcomed
Thanks for sharing guys, but i think i reached a point where i m successful in some thing atleast.. i'll play more & will update u how n what i did
fshami said:
Thanks for sharing guys, but i think i reached a point where i m successful in some thing atleast.. i'll play more & will update u how n what i did
Click to expand...
Click to collapse
Share the goodies with us
Lexmazter said:
Share the goodies with us
Click to expand...
Click to collapse
Sure, will give the exact details in a while
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
Finally i managed to change font colors .. still digging things
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium
keep up the good works
This Is The Mod Which I Made By Myself..And Till Yet I Dint See This Guide In Galaxy Y/Y Duos Dev Thread/Forums
Hope So I Am The First One
Do You All Wanna Use MoD SystemUI By Kenjboy On Odexed Stock Rom..Mainly Those Which Have Swipe2Remove Feature...??
If Yes Then Just Keep Open Your Eyes Its Gonna Be Very Interesting.When I Will Manually Tell You-How To Add This On Odexed Stock Rom
REQUIREMENTS :-
Freshly DeOdexed Stock Rom..(I Used DDLG1 Deodexed Firmware)
XDuos's(Custom Rom=Xduos V3 2.0) Framework.jar Coz ICS Bars Framework Doesnt Boot Up When Odexed
Apktool (Mobile Version) [Its Not So Important]
14 toggles black
In Case If Your Status bar Is Gone
Link---- http://forum.xda-developers.com/attachment.php?attachmentid=1404835&d=1350337506
Mod SystemUI
Link--- http://forum.xda-developers.com/showthread.php?t=2364522
Rom-Odexer For Galaxy Y
Link--- https://www.box.com/s/lcmvrakwugd6n5cwllq5
Root Explorer
STEPS >=< Follow It Carefully
*** [For Bricked Results I Will Not Be Held Responsible] [[Cwm Backup Is Must]]
No Brick Should Occur If You Follow Carefully***
1.Install Deodexd Firmware
2.Extract ICS Bars,Then Delete Framework Folder In It Again Make Zip and ReInstall Ics Bars Mod By Kenjboy **I Used V3 Swipe2Remove+Battery Percent**
If You See Your Status Bar Gone After Installing..Then Just Install 14-black toggles For Stock Rom...And After That Only Again Install The ICS Bars(The Zip Which You Made Just Recently ...Without Framework folder)
3.Use Root Explorer...Open Xduos V3 2.0 Custom Rom.Copy Framework.jar
System>Framework>framework.jar
Copy It To Anywhere On Sd Card
4.Now make Odex of Your Installed SystemUI By Apktool.apk
**Check For The Odex Files Below**
Extract The Required Zip File And rename it to SystemUI.odex
5.Copy The SystemUI.odex File In System/app/Here **No Need Of Setting Permissions**
6.Then Now Make Flashable Zip Of framework.jar Extracted From Xduos Rom and Install It Through CWM
**Or Else You Use Root Explorer To Move It In System/framework/Here
It Will Replace The Stock Framework**No
7.Now Its All Done ..Just Reboot Into Recovery....And Flash Rom-Odexer-For Galaxy Y's Script...Which Will Odex Your Stock Rom For More Free Internal Space..
Now Its Finally Completed
CREDITS
Kenjboy For Awesome SystemUI Mod
If I Dint Mention Any1 Of Yours then please post here I Will Add Too
Enjoy And Press Thanks If I Helped You
where are the credits for 14toggles black?
-CALIBAN666- said:
where are the credits for 14toggles black?
Click to expand...
Click to collapse
Who Is The Dev Of 14 toggles black..Is It U??
you see the name in thread where i have posted it!its from Kundal,but dont mind me ididnt want to flame,its only a suggestion for prevent some problems bro.
-CALIBAN666- said:
you see the name in thread where i have posted it!its from Kundal,but dont mind me ididnt want to flame,its only a suggestion for prevent some problems bro.
Click to expand...
Click to collapse
I dnt knw any1..I Just Found It In Xda Thread and Downloaded...The toggles
Hello Guyz !!
Today i'm gonna teach u how to port Cm rom for Gionee M2 or any other phone without pc
Requirements -
1. Download unpack/repack img.apk
2. Download apk editor
3. Winzip.apk
4. Base rom.zip
5. Port rom.zip
First step -
Install apk editor
Choose base rom framework-res.apk
Extract xml folder
Now Choose port rom framework-res.apk
Replace Storage_list.xml
With the base rom extracted storage_list.xml which is in extracted xml folder
Save apk
2nd step
U have to replace kernal from boot.img of base rom to port rom
I already thread a porting guide check it..
3rd step
Replace these files
Libcamdrv.so
libcam.exif.so
libcamalgo.so
libcameracustom.so
Libaudio.primary.default. so
Hw Folder
etc/firmware
Metainf folder
Now Compress zip of ported rom folder with winzip.apk
Done u became a porter..
Mind Hunter said:
Hello Guyz !!
Today i'm gonna teach u how to port Cm rom for Gionee M2 or any other phone without pc
Requirements -
1. Download unpack/repack img.apk
2. Download apk editor
3. Winzip.apk
4. Base rom.zip
5. Port rom.zip
First step -
Install apk editor
Choose base rom framework-res.apk
Extract xml folder
Now Choose port rom framework-res.apk
Replace Storage_list.xml
With the base rom extracted storage_list.xml which is in extracted xml folder
Save apk
2nd step
U have to replace kernal from boot.img of base rom to port rom
I already thread a porting guide check it..
3rd step
Replace these files
Libcamdrv.so
libcam.exif.so
libcamalgo.so
libcameracustom.so
Libaudio.primary.default. so
Hw Folder
etc/firmware
Metainf folder
Now Compress zip of ported rom folder with winzip.apk
Done u became a porter..
Click to expand...
Click to collapse
Do u think this will work
anish001 said:
Do u think this will work
Click to expand...
Click to collapse
I ported 10 roms for my phone with this method..
Sent from my M2 using XDA-Developers mobile app
Mind Hunter said:
I ported 10 roms for my phone with this method..
Sent from my M2 using XDA-Developers mobile app
Click to expand...
Click to collapse
Is it really works bro?
[email protected] said:
Is it really works bro?
Click to expand...
Click to collapse
Yes i ported almost 10 rom from this method
Sent from my M2 using XDA-Developers mobile app
Nice...
It will work on cm14?
Is this for same android version or lower?Can I port an higher Android version using your method?