Patching core.jar & service.jar in Kit Kat - Optimus L3, L5, L7 General

Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others...
We will need 1 ) Root Explorer or another file manager. 2 ) Lucky Patcher.
And so, we go through the Root Explorer to system/framework and look there for a couple of files with names core.jar and services.jar, found means to copy to SD card for further action with them.
Go to Lucky Patcher and select the function to "Rebuild and install". We are looking for in the open filemanager copied our files, click on each of them and choose the function "Patch file firmware", patched both files close Lucky Patcher.
Open Root Explorer find our patched copy and rename them from the core-patched.jar in the core.jar, and so did a services-patched.jar in services.jar.
Put them in the firmware in two ways.
The first :
Through the Root Explorer to replace the first system/framework file core.jar and put it right (rw-r - r--).
Reboot and look at the first two Lucky Patcher android patch applied. Good!!!
Replace the same in system/framework file services.jar and the phone itself will go into a reboot may reboot itself again, nothing wrong with that.
Go through the Root Explorer on the road system/framework to the file services.jar and give him the right to (rw-r - r--).
Watch in Lucky Patcher all three patch applied android.
The second method:
For him, we need the establishment of recovery TWRP or CWM and Aroma Filemanager. Earnest request before to do something, then test Aroma FM on your device !!!
We go in and start recovery Aroma Filemanager. After that, everything just as in Root Explorer, substitute core.jar on patched us exhibiting rights (rw-r - r--) and reboot.
Again in recovery and launch Aroma Filemanager. And substitution of services.jar but rights can and should be put immediately (rw-r - r--).
Reboot and you're done.
One piece of advice if something goes wrong as we would like it keep copies non patching core.jar and services.jar.
You can always get them back into place and put right through Aroma Filemanager.
Addition to those who have odex firmware :
In odex firmware need to copy the core.odex and sevices.odex on sdcard.
Go to Lucky Patcher, and on the bottom panel to select "Install and rebuild".
Then, select a file core.odex and select to patch the firmware file, then select services.odex and also choose to patch the firmware file, then rename and put them back into the system/framework.

Ms_Julia said:
Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others
Click to expand...
Click to collapse
Why patch these files?

AXDFREEDOM said:
Why patch these files?
Click to expand...
Click to collapse
To disable signature verification in the package manager.

AXDFREEDOM said:
Why patch these files?
Click to expand...
Click to collapse
...

Ms_Julia said:
...
Click to expand...
Click to collapse
Which ROM you now use??
No need to patch this files, because you can install paid apps from google without this, playstore dont chech it for verificatio, better leave this files alone, I dont know how to say. Xd
You dont need to patch anything.
And if you dont know Lucky patcher is illegal on xda.
Your guide is good
But, that dont need to do.

Paget96 said:
Which ROM you now use??
No need to patch this files, because you can install paid apps from google without this, playstore dont chech it for verificatio, better leave this files alone, I dont know how to say. Xd
You dont need to patch anything.
And if you dont know Lucky patcher is illegal on xda.
Your guide is good
But, that dont need to do.
Click to expand...
Click to collapse
Thank you, I know it. But sometimes it is necessary for example to amend the application to the best of his work. And to set it is necessary to use patches to disable signature verification.

Ms_Julia said:
Thank you, I know it. But sometimes it is necessary for example to amend the application to the best of his work. And to set it is necessary to use patches to disable signature verification.
Click to expand...
Click to collapse
That can make problems in ROM, that is maybe good with some apps, but I dont know which app need this??

Paget96 said:
That can make problems in ROM, that is maybe good with some apps, but I dont know which app need this??
Click to expand...
Click to collapse
I think u don't need to use these patches. As u said they lead to illegal activities. I have no key problems they cause only help with all applications. Because I have a direct hands. How well do u know the android ?

Ms_Julia said:
I think u don't need to use these patches. As u said they lead to illegal activities. I have no key problems they cause only help with all applications. Because I have a direct hands. How well do u know the android ?
Click to expand...
Click to collapse
I know pretty much, but I dont know anythig about coding.

Paget96 said:
I know pretty much, but I dont know anythig about coding.
Click to expand...
Click to collapse
U know the only thing is the top of android. But the essence of not even examined, it's clear that u are not a programmer or developer. Just once again I say to u for u my user guide is useless , unless u want to learn everything. And to know a lot more than it is now at the moment.

Ms_Julia said:
U know the only thing is the top of android. But the essence of not even examined, it's clear that u are not a programmer or developer. Just once again I say to u for u my user guide is useless , unless u want to learn everything. And to know a lot more than it is now at the moment.
Click to expand...
Click to collapse
I dont understand you.

Paget96 said:
I dont understand you.
Click to expand...
Click to collapse
These patches are needed for a more complete control over the android. Do you understand now?

Big thanx for this great tutorial,its very usefull.but one request i have about patching with lucky.maybe its possible to patch the service.jar for full tweaking like v6 supercharger etc. As we know zeppelinrox is working on it and we can do it by hand with very anoying smalipatches one by one,so maybe its possible to make it with luckypatcher too?
GREETZ FROM TEAM-OPTIMA!!!

NmAa said:
I guess what she's trying to impost is that we must own our phone because it's ours not Google and we must live in our own...
#LG #P705
#RECOVERY: TWRP 2.6.3.0/P700
#ROM:CM11/IMER
Click to expand...
Click to collapse
YES!!! :thumbup:

-CALIBAN666- said:
Big thanx for this great tutorial,its very usefull.but one request i have about patching with lucky.maybe its possible to patch the service.jar for full tweaking like v6 supercharger etc. As we know zeppelinrox is working on it and we can do it by hand with very anoying smalipatches one by one,so maybe its possible to make it with luckypatcher too?
GREETZ FROM TEAM-OPTIMA!!!
Click to expand...
Click to collapse
Did not think about it yet, but ask the creator of the LP.

Ms_Julia said:
Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others...
.
Click to expand...
Click to collapse
thank you for this i been working hard trying to get this ported for the nexus 7 2013 "flo" now its patched and working. i tryed to manually edit services.jar my self but resulted in a billion force closing apps. now i am able to sign my apps and they boot p.s this post has been the most helpful than any others

i cant patch the copied files (core.jar and services.jar ) in SD card plz help...!!
Ms_Julia said:
Manual how to apply patches android, for those who do not get it in the standard way. News for firmware based CM11, KitKat, 4.4.4 and others...
We will need 1 ) Root Explorer or another file manager. 2 ) Lucky Patcher.
And so, we go through the Root Explorer to system/framework and look there for a couple of files with names core.jar and services.jar, found means to copy to SD card for further action with them.
Go to Lucky Patcher and select the function to "Rebuild and install". We are looking for in the open filemanager copied our files, click on each of them and choose the function "Patch file firmware", patched both files close Lucky Patcher.
Open Root Explorer find our patched copy and rename them from the core-patched.jar in the core.jar, and so did a services-patched.jar in services.jar.
Put them in the firmware in two ways.
The first :
Through the Root Explorer to replace the first system/framework file core.jar and put it right (rw-r - r--).
Reboot and look at the first two Lucky Patcher android patch applied. Good!!!
Replace the same in system/framework file services.jar and the phone itself will go into a reboot may reboot itself again, nothing wrong with that.
Go through the Root Explorer on the road system/framework to the file services.jar and give him the right to (rw-r - r--).
Watch in Lucky Patcher all three patch applied android.
The second method:
For him, we need the establishment of recovery TWRP or CWM and Aroma Filemanager. Earnest request before to do something, then test Aroma FM on your device !!!
We go in and start recovery Aroma Filemanager. After that, everything just as in Root Explorer, substitute core.jar on patched us exhibiting rights (rw-r - r--) and reboot.
Again in recovery and launch Aroma Filemanager. And substitution of services.jar but rights can and should be put immediately (rw-r - r--).
Reboot and you're done.
One piece of advice if something goes wrong as we would like it keep copies non patching core.jar and services.jar.
You can always get them back into place and put right through Aroma Filemanager.
Addition to those who have odex firmware :
In odex firmware need to copy the core.odex and sevices.odex on sdcard.
Go to Lucky Patcher, and on the bottom panel to select "Install and rebuild".
Then, select a file core.odex and select to patch the firmware file, then select services.odex and also choose to patch the firmware file, then rename and put them back into the system/framework.
Click to expand...
Click to collapse
i cant patch the copied files (core.jar and services.jar ) in SD card plz help...!!
it says a warning
the file ".jar" doesnt contain classes.dex for patch . try patch ".odex" file for this ".jar" file
what to do..?? plz help

Prem_414 said:
i cant patch the copied files (core.jar and services.jar ) in SD card plz help...!!
it says a warning
the file ".jar" doesnt contain classes.dex for patch . try patch ".odex" file for this ".jar" file
what to do..?? plz help
Click to expand...
Click to collapse
Do exactly what the error said. Also are you deodexed? I was able to patch this my self on nexus 7 and my s3 touchwiz.
Sent from my SGH-T999 using XDA Free mobile app

Android 5.0.2
there are this cores...

miguelrivas said:
Android 5.0.2
there are this cores...
Click to expand...
Click to collapse
I'm not sure if the signing is the same way for lollipop as in 4.4 and below I have tried it but it didn't work. You can try and see but you will only have art core to use your os doesn't support davlik anymore
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app

Related

[Q] How to get rid of &amp in LatinIME.apk

so i pulled the LatinIME.apk from the most recent cyanogen nightly, and no there wasn't any problem beforehand with the keyboard.
so i decompiled the apk with apk manager and all i did was change to 9pngs and then i recompiled it, said it was a system app, signed it, and then pushed it.
when i reopened the keyboard, everything was fine except for this. is there a certain xml i need to edit?
thanks in advanced.
Use the keep option.
Only delete files u've modified, leave the rest to stock. It's been long since i last did it but that's wht it was if i recall.
Daneshm90 said:
Use the keep option.
Only delete files u've modified, leave the rest to stock. It's been long since i last did it but that's wht it was if i recall.
Click to expand...
Click to collapse
sorry the keep option? i dont recall seeing that in apk manager 4.9
FaithCry said:
sorry the keep option? i dont recall seeing that in apk manager 4.9
Click to expand...
Click to collapse
If u choose the recompile option,
and say yes to system app. Then say yes to other than signature.
U'll find a keep folder in the root dir. There delete only the file u modified. Then continue in the script.
Daneshm90 said:
If u choose the recompile option,
and say yes to system app. Then say yes to other than signature.
U'll find a keep folder in the root dir. There delete only the file u modified. Then continue in the script.
Click to expand...
Click to collapse
it worked!! thanks a lot!

[Q] Kitchen - problem flashing

i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
marchking said:
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
Click to expand...
Click to collapse
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
maximo360 said:
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
Click to expand...
Click to collapse
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
marchking said:
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
Click to expand...
Click to collapse
You should just do what LDrifta said if your still having problems.
OH and regarding the update-script, heres your answer straight from the op of the kitchen:
QUESTION: Why do I need to convert the ROM's updater-script to an update-script when using the kitchen?
The kitchen can only perform operations on an update-script. UpdateR-scripts are too complicated to check because there are so many combinations of parameters for every command and for different devices; plus they can be written in different formatting styles. Thus the kitchen converts them to update-script so that there is one universal method to modify any device's configuration. If we didn't convert the updater-script then it would take months of work to overhaul the dozens of scripts (plus doubling my work) to accept updater-scripts, which would really NOT make a difference in the end anyway and would likely slow down the kitchen due to extra checks made in the updater-script. So please do not request this again and again, there is no gain in doing it (I also don't have that much free time ...).
When you build the ROM you have the option of converting it back to an updater-script, or the kitchen will convert it automatically if it decides it's necessary. The conversion back to the original updater-script is near-perfect, as I have already spent months on the implementation to get it right.
QUESTION: I have converted my update-script to an updater-script, but after flashing I still have the original ROM on the device.
That means your updater-script did not have the proper mount points defined for the system (and/or data) partition. Refer to this post for more info.
QUESTION: My device only supports ROMs with the updater-script/update-binary files but not the update-script
If you extract a ROM that contains an updater-script, then the kitchen will ask you if it should convert it to an update-script. You *must* use an update-script while customizing the ROM, as the kitchen is not capable of modifying updater-scripts. When you are ready to build the ROM, though, you will need to convert it back to an updater-script if the device requires it. Use the option in the Advanced menu to convert update-script to updater-script, or else the kitchen will ask you to convert it while building the ROM.
Click to expand...
Click to collapse
ldrifta said:
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
Click to expand...
Click to collapse
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
ok well depending on what apk's you are putting in.. if they are system required like a sense app.. it wont work on a froyo base rom.. but if its something like superuser or mail or something and is compatible with your rom than put it in system/app folder.. if its something that you want the choice to uninstall later on like a 'task killer' apk or something, place it in data/app folder..
and to sign it you dont need kitchen, you can download an auto-sign.zip file for windows here on xda.. all you do is unzip it directly to C: drive, place zip file in filder rename it to 'update.zip' than run the 'sign.bat' and it will sign the zip file. than you can flash it
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
maximo360 said:
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
Click to expand...
Click to collapse
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
marchking said:
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
Click to expand...
Click to collapse
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
maximo360 said:
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
marchking said:
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
Click to expand...
Click to collapse
sign them using the sign apk/zip command in the kitchen
maximo360 said:
sign them using the sign apk/zip command in the kitchen
Click to expand...
Click to collapse
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
marchking said:
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
Click to expand...
Click to collapse
I read the thread, and he said he dropped some of the phones he was porting miui for, he was still doing the eris/hero. So seems to me he maybe dropped the g1, not sure tho. I guess you're gonna have to wait til either delsa is done porting it to the g1 or drakko.
Sent from my COS-DS using XDA App

[guide]easy apk modding (linux)

Most of the guides ive read on XDA say you have to decompile and recompile APKS just to make a couple of modifications to the images. Well I dont believe this to be true. I have tested my method on ubuntu 14.10 and with my nexus 5.
This guide is specifically for modifying images inside of the apks, not the code, or xml itself.
- ADB pull the APK file you want to modify (i chose SystemUI.apk)
- Double click it in File Manager on ubuntu, this should open it up in the archive manager. If not, manually open it up in archive manager
- Click on the "Add Files" button and select which files you want to replace. It will automatically overwrite the current ones.
- Make sure that you are keeping the proper directory structure and are putting the images in the proper place with proper names.
- Copy the new APK file back to your device on /sdcard/file.apk
Then, to get the APK file back on your system without causing problems, I rebooted into TWRP, mounted system and went into the file manager and copy/pasted the APK in the appropriate folder. When you get back into android, chmod 644 new-file.apk. I would not suggest trying to copy the modified APK file into your system while android is running live. Thats why I did it in TWRP. It could cause system unstability, crashing, etc... Im sure that I am not the first person to realize this could be done, but I did discover this on my own because I like to try things. PLEASE, make a backup in case something doesnt work correctly after your mod. Good luck!
bynarie said:
Most of the guides ive read on XDA say you have to decompile and recompile APKS just to make a couple of modifications to the images.
Click to expand...
Click to collapse
Mine doesn't.
XperienceD said:
Mine doesn't.
Click to expand...
Click to collapse
Um, not to be rude but the guide on your signature shows using apktool to decompile and recompile. Soo....? Unless its another guide. And Im not saying ALL guides are, but some, and thats ok. Could you link me to your guide please? I would love to take a look at it. Thanks
EDIT - woops im sorry i didnt really read it... i do see where it says drag and drop the images... good deal. sorry
bynarie said:
Um, not to be rude but the guide on your signature shows using apktool to decompile and recompile. Soo....?
Click to expand...
Click to collapse
Edit: No need for my original reply as you found it.
XperienceD said:
Edit: No need for my original reply as you found it.
Click to expand...
Click to collapse
Yes, and your guide is very good. Thank you for that.

Accidentally Parsed "ro.build.description" (In Dire Need Of Help)

Hello ladies and gents. As you may have been able to tell from the title, I made a huge mistake when playing around with my phone's build.prop file. I had tapped on the ro.build.description file and it pulled up the keyboard. I accidentally input an "r", so I deleted it, then saved and left the prop file, thinking everything was fine and proper. Unfortunately, that was not so. Upon my next reboot, I discovered several problems. The Playstore and gallery crash upon every open, and even worse, my internal memory isn't being recognized. I know the problems must be originating from the build description prop file, since that was the only prop file change that had happened since my last reboot. If anyone could give any tips on how to fix this or mount the external sd as internal, that would be wonderful. I need to be able to screnshot, install apps, and perform other functions that require internal storage. Please help me out ASAP.
Lincsbro said:
Hello ladies and gents. As you may have been able to tell from the title, I made a huge mistake when playing around with my phone's build.prop file. I had tapped on the ro.build.description file and it pulled up the keyboard. I accidentally input an "r", so I deleted it, then saved and left the prop file, thinking everything was fine and proper. Unfortunately, that was not so. Upon my next reboot, I discovered several problems. The Playstore and gallery crash upon every open, and even worse, my internal memory isn't being recognized. I know the problems must be originating from the build description prop file, since that was the only prop file change that had happened since my last reboot. If anyone could give any tips on how to fix this or mount the external sd as internal, that would be wonderful. I need to be able to screnshot, install apps, and perform other functions that require internal storage. Please help me out ASAP.
Click to expand...
Click to collapse
extract the build.prop file from your rom.zip
make a flashable zip & flash it. will work normal again
(ifm u dont know how to make flashable zip, just get any flashable mod,
extract all files, delete all files , only leave the meta-inf folder with its data inside untouched & a folder called "system",
put build.prop into system folder, now mark both folders --> right click --> send to zip, put on sd & flash)
good luck!
bejunk said:
extract the build.prop file from your rom.zip
make a flashable zip & flash it. will work normal again
(ifm u dont know how to make flashable zip, just get any flashable mod,
extract all files, delete all files , only leave the meta-inf folder with its data inside untouched & a folder called "system",
put build.prop into system folder, now mark both folders --> right click --> send to zip, put on sd & flash)
good luck!
Click to expand...
Click to collapse
Alright then. I have 2 questions though. Does the flash mod I use have to be specifically for my phone's model? And what do you mean by marking the folders?
Lincsbro said:
Alright then. I have 2 questions though. Does the flash mod I use have to be specifically for my phone's model? And what do you mean by marking the folders?
Click to expand...
Click to collapse
Hey bro, just tell me ur Rom & i will make a flashable zip for you )
bejunk said:
Hey bro, just tell me ur Rom & i will make a flashable zip for you )
Click to expand...
Click to collapse
I'm really sorry, but I don't know what you mean by my Rom. Generally, I'm pretty knowledgeable about my Android, but I've only been rooted for about a week. If by rom you mean like ClockworkMod or something, I'm just on my stock rom. If you mean something else, I don't know. And which slot in Odin would put this in? I only have experience with .tar and .md5.
Lincsbro said:
I'm really sorry, but I don't know what you mean by my Rom. Generally, I'm pretty knowledgeable about my Android, but I've only been rooted for about a week. If by rom you mean like ClockworkMod or something, I'm just on my stock rom. If you mean something else, I don't know. And which slot in Odin would put this in? I only have experience with .tar and .md5.
Click to expand...
Click to collapse
Check in 'Setting>About> copy everything in here and post it here, so people can help with your problem.
Naimlaaa said:
Check in 'Setting>About> copy everything in here and post it here, so people can help with your problem.
Click to expand...
Click to collapse
Thanks, I should have thought to do that sooner
bejunk said:
Hey bro, just tell me ur Rom & i will make a flashable zip for you )
Click to expand...
Click to collapse
Alright, here's my system info:
Model Number: SAMSUNG-SM-G730A
Android 4.4.2
Baseband: G730AUCUBNG3
Kernel Version: 3.4.0-1670137
[email protected] #1
Thu Jul 24 22:04:06 KST 2014
Build Number (My busybox installer said this was my rom, so it might be what you need): KOT49H.G730AUCUBNG3
Hope this helps you out
Lincsbro said:
I'm really sorry, but I don't know what you mean by my Rom. Generally, I'm pretty knowledgeable about my Android, but I've only been rooted for about a week. If by rom you mean like ClockworkMod or something, I'm just on my stock rom. If you mean something else, I don't know. And which slot in Odin would put this in? I only have experience with .tar and .md5.
Click to expand...
Click to collapse
sorry my llate reply, lets go
he bro u know whats the rom ) you say you are on stock rom, thats all i need.
clockwork mod is no rom, its a recovery.
sorry was a small hazzle for me as you use the AT&T version of the phone, now to the solution:
we need to just replace the damaged build prop with original one.
1. download the system image here: http://www.mrcrab.net/viewstockrom/19845-sm-g730a.html (or anywhere if u find, maybe at SAMMOBILE)
2. (try) to extract the parts of it, we need the system image. if u dont know how just google it, maybe some tools needed for diffrent kind of datas. once all extracted the build.prop is inside system (-folder). copy it to SD & replace via any ROOT explorer, set the right permissions, like in this pic LINK, reboot done.
if you CANT extract that image, make you ready for completly new install of your ROM.
Lincsbro said:
Thanks, I should have thought to do that sooner
Alright, here's my system info:
Model Number: SAMSUNG-SM-G730A
Android 4.4.2
Baseband: G730AUCUBNG3
Kernel Version: 3.4.0-1670137
[email protected] #1
Thu Jul 24 22:04:06 KST 2014
Build Number (My busybox installer said this was my rom, so it might be what you need): KOT49H.G730AUCUBNG3
Hope this helps you out
Click to expand...
Click to collapse
:good:
bejunk said:
sorry my llate reply, lets go
he bro u know whats the rom ) you say you are on stock rom, thats all i need.
clockwork mod is no rom, its a recovery.
sorry was a small hazzle for me as you use the AT&T version of the phone, now to the solution:
we need to just replace the damaged build prop with original one.
1. download the system image here: http://www.mrcrab.net/viewstockrom/19845-sm-g730a.html (or anywhere if u find, maybe at SAMMOBILE)
2. (try) to extract the parts of it, we need the system image. if u dont know how just google it, maybe some tools needed for diffrent kind of datas. once all extracted the build.prop is inside system (-folder). copy it to SD & replace via any ROOT explorer, set the right permissions, like in this pic LINK, reboot done.
if you CANT extract that image, make you ready for completly new install of your ROM.
:good:
Click to expand...
Click to collapse
I can do that, but I have a problem. I can't download the file from the link you provided. Could you find me a different place to download the image from, or maybe even give me a direct download link? Thanks.
Lincsbro said:
I can do that, but I have a problem. I can't download the file from the link you provided. Could you find me a different place to download the image from, or maybe even give me a direct download link? Thanks.
Click to expand...
Click to collapse
You can try Mr Google for that. just kidding, but seriously you can do that.
bejunk said:
sorry my llate reply, lets go ................ set the right permissions, like in this pic LINK, reboot done.:
Click to expand...
Click to collapse
Little help here, did Selinux news to set to permissive to make the permission become permanent? Because sometimes when I change a dir perm it didn't stick, it change back when quit i explorer.
Thanks in advance.
Lincsbro said:
I can do that, but I have a problem. I can't download the file from the link you provided. Could you find me a different place to download the image from, or maybe even give me a direct download link? Thanks.
Click to expand...
Click to collapse
@Naimlaaa is right , google for yor model SAMSUNG-SM-G730A firmware there are plenty sites about samsung, i have limited time at the moment..
Naimlaaa said:
You can try Mr Google for that. just kidding, but seriously you can do that.
:good:
Little help here, did Selinux news to set to permissive to make the permission become permanent? Because sometimes when I change a dir perm it didn't stick, it change back when quit i explorer.
Thanks in advance.
Click to expand...
Click to collapse
1st, whats your rom & phone model, because on my ROM theres no SELinux (enabled) & on my otherhandset it works all fine..
also what kind of perm. ?? system r/w or on files ??
bejunk said:
@Naimlaaa is right , google for yor model SAMSUNG-SM-G730A firmware there are plenty sites about samsung, i have limited time at the moment..
1st, whats your rom & phone model, because on my ROM theres no SELinux (enabled) & on my otherhandset it works all fine..
also what kind of perm. ?? system r/w or on files ??
Click to expand...
Click to collapse
i use slimkat 4.4.4 by android-andi on SGS3 Mini (i8190n).
1. using root explorer, changing perm on the first / (the root dir, i believe).
2. this one is new problem, nothing to do with our recent dialogs, hope can get some idea on this one.
yesterday, i install android tweaker app, and set the auto system/device tweak( can't remember exact) and reboot my device
to apply the setting. and got stuck on boot animation (blinking 'SAMSUNG' anim, after the 'GT I8190N' image on ori ROM). it
didn't loop (no bootloop), just stuck on blinking animation, boot image i guest?
Any idea just throw in please, really want to try and confirm on any solution we got in mind.
thanks in advance everyone.

[MOD][TEMPLATE] Magisk Module Template with EvilTheme Patcher

Hello everyone.
This is a little mod to the Magisk Module Template that allows you to patch APK files on-the-fly and have them created as a Magisk Module.
For example, you could have a modified camera module for your ROM, where this patcher would replace the classes.dex file with mods, then pack that as a Magisk Module, using the original file found in the /system (ROM)
For some of the devs that have been around for a while, you would be aware of the old VRTheme modding system, which would allow you to patch files on-the-fly. EvilTheme is basically a newer version of that, so combined with Magisk can be very useful
Here's what this module CAN do:
Replace resources.arsc, classes.dex, AndroidManifest.xml, and META-INF folder
Replace compiled res folders / files
Here's what this module CAN'T do:
Replace files in res/values or smali folders
How to use EVilTheme
(Example using /system/priv-app/SecSettings2.apk)
In the eviltheme folder, go to system and make a folder called priv-app. Inside it, make another folder called SecSettings2.apk
Now make folders as necessary, according to the location of the files you want to theme. For example, battery_icon_50.png is located in res/drawable-hdpi, so make a folder named res inside SecSettings2.apk.
Inside it, create a folder named drawable-hdpi, then paste your new battery_icon_50.png inside.
Repeat step 2 until you've placed your theme files in their appropriate locations.
When you're done, go back to the root folder of the theme (the one that contains eviltheme, engine, etc.) and put all the objects in a ZIP file.
You should use Deflate compression with compression level on Normal, but if your theme is huge, you can safely try compressing using Deflate and the level set to Ultra or whatever high level is available.
Test your mod.
For information regarding the Magisk Module subbmision etc, please read the information HERE
Link to Github Repository: HERE
Enjoy
Nice! Sounds interesting!
I've been using vrtheme for years and even contacted spanna aabout adapting the script to achieve modding of live system files this eliminating the need for recovery zips and even Aroma!
So I have a question about the use and locations of the asset files.
Would it be possible to change, at least the location from which the files get pulled from and placed into the execute folders?
So basically could it be set to pull the image/resource, whatever file from either a data folder or my preference, sd storage?
I've used an asset folder built into my system for similar commands, but with enough options and large files the system partition can get extremely crowded.
Does my question make sense?
Basically i would like to eliminate a big section of my packed 2gb Aroma zip. About 700mb is all vrtheme injected compiled files.
Either way I will definitely be looking into this!
Thanks
stangdriver44 said:
Nice! Sounds interesting!
I've been using vrtheme for years and even contacted spanna aabout adapting the script to achieve modding of live system files this eliminating the need for recovery zips and even Aroma!
So I have a question about the use and locations of the asset files.
Would it be possible to change, at least the location from which the files get pulled from and placed into the execute folders?
So basically could it be set to pull the image/resource, whatever file from either a data folder or my preference, sd storage?
I've used an asset folder built into my system for similar commands, but with enough options and large files the system partition can get extremely crowded.
Does my question make sense?
Basically i would like to eliminate a big section of my packed 2gb Aroma zip. About 700mb is all vrtheme injected compiled files.
Either way I will definitely be looking into this!
Thanks
Click to expand...
Click to collapse
You could, but you would have to look at update-binary and installtheme.sh, then modify it for your needs. So instead of copying the modded files from the flashable zip, you would just have to remove the unzip function and change the path of where they are unzipped to to the location of where the files are on your data partition.
Give it a try
so with this I can technically change the rotation of an app without ever messing with the apk? I've tried editing the AndroidManifest.xml, but after editing I've never been successful putting it back into the apk
dimm0k said:
so with this I can technically change the rotation of an app without ever messing with the apk? I've tried editing the AndroidManifest.xml, but after editing I've never been successful putting it back into the apk
Click to expand...
Click to collapse
If you plan to change androidmanifest.xml you will have to include the newly created META-INF folder for it too.
Could this be used to convert substratum themes to work systemlessly with magisk?
Sent from my Pixel using XDA Labs
qwer777 said:
Could this be used to convert substratum themes to work systemlessly with magisk?
Sent from my Pixel using XDA Labs
Click to expand...
Click to collapse
If you're talking about pre-packaged APK theme files, no it probably won't work, as they still need to be installed.
This is more for files that are already installed that require patching.
Nice work
Got one question - is it possible to modify classes.dex if .apk file is not in system folder? I mean for example, if system app gets updated, it creates new folder in data/app/ with the name of the package and with either -1, -2 or whetever number at the end (ex. data/app/com.google.android.youtube-2).
Do I need to just integrate update into system and then modify it? Or just create new folder in eviltheme one with data/... instead of system/...?
Thanks
I tried to modify system/framework/framework-res.apk/res/drawable-xxhdpi-v4/default_wallpaper.jpg, but unfortunately it did not work. Neither on InFocus M808/mod stock 6.0(mt6753) nor on SamsungS5Neo/mod stock 6.0.1(exynos7580)
Both tried with official Magisk 12.0 and newest beta.
nevermind i didn't read all the way
drei.liter.milch said:
I tried to modify system/framework/framework-res.apk/res/drawable-xxhdpi-v4/default_wallpaper.jpg, but unfortunately it did not work. Neither on InFocus M808/mod stock 6.0(mt6753) nor on SamsungS5Neo/mod stock 6.0.1(exynos7580)
Both tried with official Magisk 12.0 and newest beta.
Click to expand...
Click to collapse
Started another try to replace some icons. did not work. am I missing something or is this template just faulty?
anybody who got this working?
drei.liter.milch said:
Started another try to replace some icons. did not work. am I missing something or is this template just crap?
anybody who got this working?
Click to expand...
Click to collapse
That was a bit rude.
Edit: better to give some details on what you've actually done, maybe even upload your files. Easier to find any faults on your side or possible bugs that way.
I want to add the clock onto my lockscreen statusbar. Would this help me achieve that?
Didgeridoohan said:
That was a bit rude.
Edit: better to give some details on what you've actually done, maybe even upload your files. Easier to find any faults on your side or possible bugs that way.
Click to expand...
Click to collapse
yes ok, the word "crap" maybe was a little bit over the top. i'm sorry for that. I just would like to know, if anybody can report this module/template as working. If so, I would go on looking for the error on my side.
I've actually followed exactly the guide given in OP. (It seems not that tricky to me)
-placed folder tree system/framework/framework-res.apk/res/drawable-xxhdpi-v4/ in the eviltheme-folder and put my default_wallpaper.jpg file in drawable-xxhdpi-v4 folder
-edited module.prop und config.sh
-zipped the whole template folder
-installed via magisk manager
-rebooted
tried with to different phones, beta and official magisk (see my first post)
I'll reproduce my logs and attach them later.
anyway thanks for the hint
drei.liter.milch said:
yes ok, the word "crap" maybe was a little bit over the top. i'm sorry for that. I just would like to know, if anybody can report this module/template as working. If so, I would go on looking for the error on my side.
I've actually followed exactly the guide given in OP. (It seems not that tricky to me)
-placed folder tree system/framework/framework-res.apk/res/drawable-xxhdpi-v4/ in the eviltheme-folder and put my default_wallpaper.jpg file in drawable-xxhdpi-v4 folder
-edited module.prop und config.sh
-zipped the whole template folder
-installed via magisk manager
-rebooted
tried with to different phones, beta and official magisk (see my first post)
I'll reproduce my logs and attach them later.
anyway thanks for the hint
Click to expand...
Click to collapse
Flash Via Recovery, it may work. didnt work for me when i installed from magisk manager.
btw i have a question, is there any way to remove a file from the apk?
shekhawat2 said:
Flash Via Recovery, it may work. didnt work for me when i installed from magisk manager.
btw i have a question, is there any way to remove a file from the apk?
Click to expand...
Click to collapse
thx, i'll try that. which magisk-version do you use? and i guess maybe you can remove a file by placing a dummy.
drei.liter.milch said:
thx, i'll try that. which magisk-version do you use? and i guess maybe you can remove a file by placing a dummy.
Click to expand...
Click to collapse
No brother, I want to delete the file, not to replace it with dummy file. Replacing with dummy file will give system ui FCs.
I saw something delete.list in the installtheme.sh, but I don't know how to use it. If anyone can help, pls help me.
BTW I am using Magisk v12.
shekhawat2 said:
No brother, I want to delete the file, not to replace it with dummy file. Replacing with dummy file will give system ui FCs.
I saw something delete.list in the installtheme.sh, but I don't know how to use it. If anyone can help, pls help me.
BTW I am using Magisk v12.
Click to expand...
Click to collapse
Ok, I see. Perhaps you find sth about it in the vrtheme-topic. Btw. flashing in recovery doesn't work either. I'm not messing around with this anymore and continue using flipster :good:
Where can we download? I want to change Viber's background to pure black so I will change the AndroidManifest. Will this theoretically work?
I was wondering what, if anything, I would need to change for this to work on a pixel. On Pixel's, the install path is system/system. I couldn't tell whether or not this could detect the correct path on its own.
Edit: Never mind. I got it to work.

Categories

Resources