I have built a EPM for 4.2.2 and 4.3. But it seems Kit Kat is somewhat different. My method doesn't work.
From what I have seen is now you must also mod framework-res.apk as well as android . policy jar.
Is there a sure fire method for T - Mobile S4?
Git Cha Sum Kit Kat
Deviant Development Team Member
Oh Yea, That THANKS Button is Your Friend.....Dont Be Shy
In Kitkat it's actually inside like 5 files, but I think you also need to use services.jar to succeed,
but Xposed + GravityBox ftw
broodplank1337 said:
In Kitkat it's actually inside like 5 files, but I think you also need to use services.jar to succeed,
but Xposed + GravityBox ftw
Click to expand...
Click to collapse
Yea I read about the service jar. Oh well guess I will dig in.
No Xposed. I'm cooking this into my rom.
Thanks for the help bro..
Git Cha Sum Kit Kat
Deviant Development Team Member
Oh Yea, That THANKS Button is Your Friend.....Dont Be Shy
The Sickness said:
Yea I read about the service jar. Oh well guess I will dig in.
No Xposed. I'm cooking this into my rom.
Thanks for the help bro..
Git Cha Sum Kit Kat
Deviant Development Team Member
Oh Yea, That THANKS Button is Your Friend.....Dont Be Shy
Click to expand...
Click to collapse
I think this will help you
https://github.com/SuperNexus/andro...mmit/f14f6e5d38ed9e714b9813104699229c01eac055
basically it's core.jar / framework.jar / frameworks-res.apk / android.policy.jar and services.jar xd
broodplank1337 said:
I think this will help you
https://github.com/SuperNexus/andro...mmit/f14f6e5d38ed9e714b9813104699229c01eac055
basically it's core.jar / framework.jar / frameworks-res.apk / android.policy.jar and services.jar xd
Click to expand...
Click to collapse
Thanks again bro.....i will check it out
Git Cha Sum Kit Kat
Deviant Development Team Member
Oh Yea, That THANKS Button is Your Friend.....Dont Be Shy
The Sickness said:
Thanks again bro.....i will check it out
Git Cha Sum Kit Kat
Deviant Development Team Member
Oh Yea, That THANKS Button is Your Friend.....Dont Be Shy
Click to expand...
Click to collapse
First thing to check is that ShutdownThread.smali location is correct ex.Lcom/android/server/pm/ShutdownThread; this can be found in services.jar and needs to be matched in GlobalAction99$1.smali.
Also the mcontext field needs to be the same ex. access$700, you need to search globalaction.smali for this line "(Lcom/android/internal/policy/impl/GlobalActionsLandroid/content/Context;" you should see the access$XXX number there, these need to match in globalaction99.smali and globalaction99$1.smali.
Ahh.....so missed a part. Thanks bro. Very helpful
I Got Me A Kit Kat
Deviant Development Team Member
The Sickness said:
Ahh.....so missed a part. Thanks bro. Very helpful
I Got Me A Kit Kat
Deviant Development Team Member
Click to expand...
Click to collapse
You can also look at the source code for gravity box.
Oh, and why no xposed? I understand you are making it into your ROM, but xposed makes things SO much easier. I prefer it over smali for some things. Its a lot quicker too (my main reason for using it) i don't have oodles of time to test all the smali mods i used to make.
I agree. This takes time. But I like details I guess.
My S4 Is Kit Kat Insane
Deviant Development Team Member
Related
Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
bbowerman said:
Hello I would like to learn how to develop a Custom Rom based off of another ROM I understand kitchens but want more than just odex de-odex and apktool I would like to learn some more in depth android development and was needing some input on a good link or just someone to flat out explain it to me . thanks
Thought this was a good place for this thread if not feel free to move it.
Click to expand...
Click to collapse
Start by learning c+ and java coding. Then get good with a linux machine
zelendel said:
Start by learning c+ and java coding. Then get good with a linux machine
Click to expand...
Click to collapse
pretty familiar with linux, know a little C, java not so much.
So first of all
This topic should be correct ( to someone who sent me the link of how to create a good topic title)
Short Introduction
I am a themer officially themed my old SGA , made a team we rocked and we are rocking SGA for now
I am really interested now in Developing ...
So, Now Question is
What are essential courses ( like C++ , JAVA and stuff ) are needed for basic knowledge for cooking a ROM and What should be my First Step!
Thanks in Advance
Man i"m not a developer(i am a beginer)but i thing the next link is usefull:
http://forum.xda-developers.com/showthread.php?t=916814
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
http://blogs.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
http://forum.xda-developers.com/showthread.php?t=633246
umarian said:
Man i"m not a developer(i am a beginer)but i thing the next link is usefull:
http://forum.xda-developers.com/showthread.php?t=916814
http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
http://blogs.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Well thank you for the links but i already know to Theme
INTRODUCTION
WELL XDA IS FULL OF TUTORIALs AND HOW TOs SO I HACE DECIDED TO MAKE A THREAD WHERE ALL THE HOW to IS THERE..IT WILL REALLY HELP THE NEWBIES AROUND THE XDA.
LIST OF HOW TOs-
HOW TO COMPILE A KERNEL [When We Get Kernel Sources]
HOW TO UNBRICK
HOW TO BUILD ROM
HOW TO PORT ROM
HOW TO USE AROMA INSTALLER
HOW TO USE GITHUB
HOW TO MAKE AN APP
HOW TO MAKE BOOTANIMATIONS
HOW TO PORT BOOTANIMATIONS
HOW TO UNPACK APK
HOW TO DECOMPILE/COMPILE APK
HOW TO USE ANDROID SDK
HOW TO SETUP DSIXDA'S KITCHEN
HOW TO CREATE A FLASHABLE ZIP
HOW TO THEME KEYBOARD
HOW TO THEME
HOW TO METAMORPH
HOW TO SET PERMISSIONS TO RW-R-R
HOW TO CREATE GAME
HOW TO EDIT BUILD.PROP FILE
HOW TO USE UOT KITCHEN
HOW TO EDIT SystemUI.apk
HOW TO USE SEARCH BAR
HOW TO SIGN A ROM
HOW TO INSTALL APP DIRECTLY THROUGH PC
HOW TO RE-ODEX A ROM
HOW TO DE-ODEX A ROM
HOW TO CONVERT .dex TO .jar FILE
Credits- Theawesomeguy4 & Me..
For Kernel Sources We Can Make Petition And Send Email to MMX And Force To Release Kernel Sources
Regards;
Megatron007
Rerserved For Future :laugh:
This should help a lot of us here! Good work....
Apparently Acer released kernel sources for their phone having MT6589... I am sure that by just making some changes we can make kernel for A1160...
Also.. OP, Please edit the thread name.. It looks too fancy and also organize the thread in a good way
The way it is now.. Looks like mess *No Offence*
Sent from my GT-S5360 using Tapatalk 2
Arnav.G said:
Apparently Acer released kernel sources for their phone having MT6589... I am sure that by just making some changes we can make kernel for A1160...
Also.. OP, Please edit the thread name.. It looks too fancy and also organize the thread in a good way
The way it is now.. Looks like mess *No Offence*
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
is it for 5'0 inch hd device? varun chitre has also kernel source for MT6589 But it is for 4.5' inch devices n our is 5'0 So..we cant make a kernel..
Megatron007 said:
is it for 5'0 inch hd device? varun chitre has also kernel source for MT6589 But it is for 4.5' inch devices n our is 5'0 So..we cant make a kernel..
Click to expand...
Click to collapse
*facepalm* Kernel Source isn't compared with Screen Size! Puny Noob -_-
You can make a kernel with some modifications in the kernel source which we have now
Arnav.G said:
*facepalm* Kernel Source isn't compared with Screen Size! Puny Noob -_-
You can make a kernel with some modifications in the kernel source which we have now
Click to expand...
Click to collapse
okk listen give me the sources of acer mtk 6589 ..i will try to compile it :fingers-crossed:
it will be useful thank you
Megatron007 said:
INTRODUCTION
..... Deleted for brevity !!!
Regards;
Megatron007
Click to expand...
Click to collapse
Dear Friend,
Your efforts are commendable. :good:
Kindly update the post with the latest developments. Since this is a sticky, it would help to have updated links atleast once in a few days.
Thanks a lot.
colour issue on my scrren
hey..i have colour issue on my mmx chd....colours are looking like washed out...pls hlp..reply.. :crying:
and i can see a bad white line on top of the screen..
nice thread
Thanks for creating this thread, helpful.
Very useful thread.......thnx for sharing
Sent from my Micromax A117 using XDA Premium 4 mobile app
Megatron007 said:
INTRODUCTION
WELL XDA IS FULL OF TUTORIALs AND HOW TOs SO I HACE DECIDED TO MAKE A THREAD WHERE ALL THE HOW to IS THERE..IT WILL REALLY HELP THE NEWBIES AROUND THE XDA.
LIST OF HOW TOs-
HOW TO COMPILE A KERNEL [When We Get Kernel Sources]
HOW TO UNBRICK
HOW TO BUILD ROM
HOW TO PORT ROM
HOW TO USE AROMA INSTALLER
HOW TO USE GITHUB
HOW TO MAKE AN APP
HOW TO MAKE BOOTANIMATIONS
HOW TO PORT BOOTANIMATIONS
HOW TO UNPACK APK
HOW TO DECOMPILE/COMPILE APK
HOW TO USE ANDROID SDK
HOW TO SETUP DSIXDA'S KITCHEN
HOW TO CREATE A FLASHABLE ZIP
HOW TO THEME KEYBOARD
HOW TO THEME
HOW TO METAMORPH
HOW TO SET PERMISSIONS TO RW-R-R
HOW TO CREATE GAME
HOW TO EDIT BUILD.PROP FILE
HOW TO USE UOT KITCHEN
HOW TO EDIT SystemUI.apk
HOW TO USE SEARCH BAR
HOW TO SIGN A ROM
HOW TO INSTALL APP DIRECTLY THROUGH PC
HOW TO RE-ODEX A ROM
HOW TO DE-ODEX A ROM
HOW TO CONVERT .dex TO .jar FILE
Credits- Theawesomeguy4 & Me..
For Kernel Sources We Can Make Petition And Send Email to MMX And Force To Release Kernel Sources
Regards;
Megatron007
Click to expand...
Click to collapse
Update The Kernal Section....Its Not Based On Our Kernal
The Kernel Are Out...But This Guide Is Not Suitable For Us.......
Useful thread
Very useful thread.. Thank you sir...
thank you sir for this infos
Thank You very much
Great Work.
Thank you very much for sharing such valuable information.
Really useful
Great thread, one stop spot for beginner developers, really useful!
Thanks for sharing!
Thanks a lot !
Its really helpful
:good:
Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
This tool is now deprecated in favor of SuperR's Kitchen
Batch Lollipop Deodex Tool for Linux
This tool has successfully deodexed the framework, app, and priv-app of the Moto E 2015, Samsung Galaxy Note 4, and Nexus 6. It should work on many others so please let us know your experience.
If you ask a question like "Will this work for the (Android device name here)?" the answer will almost certainly be "I don't know".
There is a readme included in the zip that explains general usage so please have a look there before asking. If there are issues, I will do my best to fix them.
Please do not repost this information or mirror the downloads. Feel free to post a link to this thread anywhere you like.
Enjoy!
Download:
deodex_lollipop_linux_v1.9.4.zip
Dependencies: (more info)
p7zip-full (7za)
java 7 (openjdk-7-jre works well)
Source
Thanks to:
testwhat - for SmaliEx
JesusFreke - for smali/baksmali
Changes:
v1.9.4
Added support for xz compressed odex files (Galaxy s5 and probably others)
v1.9
Adjustments for deodexing arm64 and x86_64 roms
Fixed a problem with deodexing apk's in framework dir
Better auto-detection of arch and api
UI improvments
Sped up performance by eliminating checks for things we already know
Squashed a few other random bugs
v1.8
Added support for ROMs with fake odexed files
Added support for odexed apk's in the framework directory
Added ARCH auto detection
Added API auto detection if build.prop is present
v1.7
Cleaned up the code a bit
Sped up framework deodexing by at least double
v1.6
Added support for gzipped odex files
v1.5
Cleaned UI more
Script will no longer let you pass with the wrong arch variable
v1.4
Cleaned up the UI a bit
Now it will only allow Lollipop API levels to be entered
Sped up the process by eliminating redundancy for frameworks with multiple classes
v1.3
Added check for dependencies
v1.2
Initial release
Welcome
Welcome back @SuperR. great way to make an entrance
Thanks for the Deodex script.
bigrammy said:
Welcome back @SuperR. great way to make an entrance
Thanks for the Deodex script.
Click to expand...
Click to collapse
Thanks for the warm welcome I hope the script helps some people out.
SuperR. said:
Thanks for the warm welcome I hope the script helps some people out.
Click to expand...
Click to collapse
Guaranteed! [emoji89] The most often repeated question I hear repeated over & over is: "How do deodex LP.. Does this or that Kitchen do so?" No, no current Kitchens do so yet and NO more Windows OS required to deodex LP with your new program!! This is Phenomenal. Thanx SuperR!! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
bcrichster said:
Guaranteed! [emoji89] The most often repeated question I hear repeated over & over is: "How do deodex LP.. Does this or that Kitchen do so?" No, no current Kitchens do so yet and NO more Windows OS required to deodex LP with your new program!! This is Phenomenal. Thanx SuperR!! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
Click to expand...
Click to collapse
Thanks for the kind words
I would thank your post but apparently I am only allowed to thank 8 posts per day and have reached my quota lol
[emoji16] Ur the Mann & this just proves it! I'm very glad to help in any way I can, You're helping way more ppl than anything I could do and I'm excited for you. I hope this takes off in all the right directions and I'm glad you posted here.. But AF was rocking you first!. Props bro! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
bcrichster said:
[emoji16] Ur the Mann & this just proves it! I'm very glad to help in any way I can, You're helping way more ppl than anything I could do and I'm excited for you. I hope this takes off in all the right directions and I'm glad you posted here.. But AF was rocking you first!. Props bro! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
Click to expand...
Click to collapse
Thanks again.
Pretend I pushed the thanks button What an interesting concept to limit thanking people for their work and helpful comments
v1.4 is up. Changes are in post #2.
Also added some screenshots
SuperR. said:
v1.4 is up. Changes are in post #2.
Also added some screenshots
Click to expand...
Click to collapse
GitHub!! Gonna clone this..
Gratefully Sent from my rooted N9510 JollyRoger 4G
thanks for your work! i downloaded the tool & extracted as instructed... unfortunately, the tool doesn't work for me...
the tool seems to does what it says it should do, deodexing system/app, frameworks & priv-apps...
while deodexing system/app & priv-apps, an error/warning message is generated for each odexed file:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "/home/samadhi/Downloads/deodex_v1.4/system/priv-app/Telecom/arm/smali"
at org.jf.smali.main.main(main.java:179)
Click to expand...
Click to collapse
i load the finished files back in the zip, copy it to my device & flash... no probs, unfortunately, my device just bootloops @ the first cyanogen image...
Device: OnePlusOne
ROM: CM 12.1 - odexed
hope you can help!!
laperry1 said:
thanks for your work! i downloaded the tool & extracted as instructed... unfortunately, the tool doesn't work for me...
the tool seems to does what it says it should do, deodexing system/app, frameworks & priv-apps...
while deodexing system/app & priv-apps, an error/warning message is generated for each odexed file:
i load the finished files back in the zip, copy it to my device & flash... no probs, unfortunately, my device just bootloops @ the first cyanogen image...
Device: OnePlusOne
ROM: CM 12.1 - odexed
hope you can help!!
Click to expand...
Click to collapse
Please post a link to the rom you are trying to deodex and I will have a look.
SuperR. said:
Please post a link to the rom you are trying to deodex and I will have a look.
Click to expand...
Click to collapse
Thanks! Try this...
https://www.dropbox.com/s/r7crvwj3lbi8igx/cm-12.1-20150722-UNOFFICIAL-bacon.zip?dl=0
laperry1 said:
Thanks! Try this...
https://www.dropbox.com/s/r7crvwj3lbi8igx/cm-12.1-20150722-UNOFFICIAL-bacon.zip?dl=0
Click to expand...
Click to collapse
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
SuperR. said:
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
Click to expand...
Click to collapse
oh, ok... i'll upload it a little later... thanks again...
SuperR. said:
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
Click to expand...
Click to collapse
Try this one...
https://www.dropbox.com/s/yzmlhi15lq07gtn/cm-12.1-20150720-UNOFFICIAL-bacon.zip?dl=0
laperry1 said:
Try this one...
https://www.dropbox.com/s/yzmlhi15lq07gtn/cm-12.1-20150720-UNOFFICIAL-bacon.zip?dl=0
Click to expand...
Click to collapse
I found the problem. Please try this script. Make sure it is executable.
You have my respect SuperR. I love the way you respond and reply to issues concerning this thread. Keep up the good work
Sent from my C6602 using Tapatalk
SuperR. said:
I found the problem. Please try this script. Make sure it is executable.
Click to expand...
Click to collapse
cool! currently at work. i'll provide an update later this evening!
laperry1 said:
cool! currently at work. i'll provide an update later this evening!
Click to expand...
Click to collapse
I removed the test zip from the post above and posted v1.6 which incorporates the change. Thanks for helping me with this one. It will add a large number of devices to the supported list
Hi everyone, I was trying to use this mod ( WAMOD, you can find it in github by Brian Valente ) but in order to use it, I have to merge the mod with the apk, I can decompile the apk but then I dont know how to merge the apk with the mod. Thanks.
pasatmalo said:
Hi everyone, I was trying to use this mod ( WAMOD, you can find it in github by Brian Valente ) but in order to use it, I have to merge the mod with the apk, I can decompile the apk but then I dont know how to merge the apk with the mod. Thanks.
Click to expand...
Click to collapse
Hello and welcome to the XDA Forums!
The WAMOD you are talking about is a mod that seems like a nice concept, so I understand you'd like to get it. Hopefully this can answer your questions regarding on how to merge the apk with the mod since you'll have to understand some parts of smali. You'll also need android studio (Google how to get that) and the java development kit (get it before installing android studio from here) to compile the WAMOD from the source (in this case, github!) so you can decompile and get the smali code.
Hope that helps and leave a thanks if it did
RAZERZDAHACKER said:
Hello and welcome to the XDA Forums!
The WAMOD you are talking about is a mod that seems like a nice concept, so I understand you'd like to get it. Hopefully this can answer your questions regarding on how to merge the apk with the mod since you'll have to understand some parts of smali. You'll also need android studio (Google how to get that) and the java development kit (get it before installing android studio from here) to compile the WAMOD from the source (in this case, github!) so you can decompile and get the smali code.
Hope that helps and leave a thanks if it did
Click to expand...
Click to collapse
Hi, I already have android studio and java development kit. So now what should I do exctly? Thanks.
pasatmalo said:
Hi, I already have android studio and java development kit. So now what should I do exctly? Thanks.
Click to expand...
Click to collapse
Follow the links I refered to in my post .
RAZERZDAHACKER said:
Follow the links I refered to in my post .
Click to expand...
Click to collapse
Ok, I postes It before I read It, I cant Download your tool, anyway to compile It Will do?