hi there, im on firmware JDQ39.I9505XXUBMF8 DEODEXED Firmware, as far as im aware there's no mods to the system apart from being deodexed.. im wanting to disable the sms to mms conversion.. ive followed tutorials ive found on here using the mms_config.xml, and the smali files.. but nothing seems to work.. I can decompile, edit and recompile without any problems or errors, but when i transfer the file to the phone and set its permissions nothing changes, the messages still convert to mms when they get to 4 or above.. and im now at a loss as to why its not having an effect..
can anyone shed any light? i can decompile the file i transferred and see the changes ive made but the system just doesnt seem to register them...
would appreciate any help anyone could give me..
Related
Could someone help walk me through this? I've decompiled/recompiled plenty of apks, however the framework-res.apk is being relatively stubborn. After recompiling the apk I get force closes in random areas of settings, etc.
I use apktool (as I need to edit an xml file's value), to decode, then build.
Are there any random steps I'm missing?
I've tried this over and over to get the same results everytime.
Someone said it is because of corrupted xml, and if so how do I prevent the problem from happening?
Anyway, thanks in advance.
Check out the theme guides in epic themes and apps forum, grab apk manager, the op says to decompile and recompile without making any changes as some apks can just be problematic and error. But you should be able to edit xmls (no pngs! Drag and drop after!) And recompile with no prob, use like notepad++ as windows notepad adds junk characters tat cause issues too.
Sent from my SPH-D700 using Tapatalk
I definitely wouldn't call my self a noob but also would never call myself a programmer or a pro by any means. I can change the framework-res.apk with out any problems and am getting the hang of different theming from messing around with that. I have read just about every tutorial that I can get my hands on too but haven't found anything regarding com.htc.resources.apk. The are files in that apk that I want to change but every time I even change the smallest png in there when I push with adb or droid explorer or simply copy and paste with root exp I get bootloops no matter what. I've tried signed unsigned nothing seems to work. If it matters Im running CMYLXGO's HD build on NAND. And I've been told that com.htc.resources.apk is a "sensitive" file but based on others themes and build I imagine that there has to be a way to modify it. So please any advice or ideas are very welcome...thanks so much in advance.
+1
I can replace com.htc.resources, BUT millions of FCs
Even if I replace it with the original file!!
Can somebody help us?
I think you need to set permissions
Hello i was wondering if anyone would be able to help me enable spell checker on the s5. (not autocorrect or predictive text on the keyboard).
I know other people have been able to do it on previous versions of the galaxy and also on the note, By editing Secsettings.apk & framework2.jar, such as in this following link: http://forum.xda-developers.com/showthread.php?p=34856343
Now i am not sure if it would be as simple as this, but i am sure someone on here would be able to enable the spell checker on our s5. If this is all it involves i am able to compile and decompile these two things and edit them myself, but i am pretty sure these files have changed due to the new 4.4.2 touchwiz on the s5.
If it was possible to create a flashable zip file that would edit the certain files or apps needed, that would be helpful and lot easier for a lot of people out there. But i am not sure if that's possible.
I am sure im not the only out there that would like this feature on our new s5, so you would be helping a few of us out.
anyone that would be able to give me some insight or would be able to do this, it would be much appreciated. cheers.
[SOLVED]
With this guide http://forum.xda-developers.com/showthread.php?t=2543967&page=4 and this one http://forum.xda-developers.com/showthread.php?t=2251719 I modified framework2.jar (in system/framework folder)
SecSettings.apk is in system/priv-app for S5.
Do not forget to set the correct permissions of files after copy in system memory.
Menu was enabled, but no RED UNDERLINE appear for errors (with google keyboard installed and all options checked).
The Mod is in this way useless!
It fully run only in ART runtime. (Why??)
.
Have you tried?
.
Rulesless said:
Have you tried?
.
Click to expand...
Click to collapse
sorry i only just saw your reply! I am having troubles with my phone at the moment so once i fix it i will try decompiling those apps and adding those lines.
thank you for your reply and sorry for my late reply!
Hi, guys. I need your help.
I was trying to flash SlimSystem onto my LG L5 II (E451g) and I ended up with no LGSystemUI.apk file, only the .odex one.
After trying several restore methods, I ended up with none of those two files, hehe. If someone gave me their stock .apk and .odex files, would my phone have a status bar again?
Right now, I'm using SlideLock and some widgets to make up for the lack of a status bar/notifications, but I'd like to have it back.
By the way, weird (or at least I think it's weird): Obviously I can't have a static wallpaper because, of course, no LGSystemUI.apk BUT, live wallpapers work like a charm. I thought they were both handled by my missing .apk
Anyways, thanks in advance to anyone who uploads his/hers files.
nzdroid said:
Hi, guys. I need your help.
I was trying to flash SlimSystem onto my LG L5 II (E451g) and I ended up with no LGSystemUI.apk file, only the .odex one.
After trying several restore methods, I ended up with none of those two files, hehe. If someone gave me their stock .apk and .odex files, would my phone have a status bar again?
Right now, I'm using SlideLock and some widgets to make up for the lack of a status bar/notifications, but I'd like to have it back.
By the way, weird (or at least I think it's weird): Obviously I can't have a static wallpaper because, of course, no LGSystemUI.apk BUT, live wallpapers work like a charm. I thought they were both handled by my missing .apk
Anyways, thanks in advance to anyone who uploads his/hers files.
Click to expand...
Click to collapse
@slipsystem
is it fixed ?
Hi
I try to decompile SecSettings by apktool and i get this:
Code:
C:\apktool>apktool d secsettings.apk SecSettings23
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f020052 drawable/avatar_default_6, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
What to do ??
Thanks
Please any help?
Same issue here
osherdadon said:
Please any help?
Click to expand...
Click to collapse
Using a Note 3 from T-Mobile, I pulled the file with the adb command, with root explorer, and extracted it from the stock ROM file all giving me the same error. For some reason I also don't get any smali files out of my SystemUI.apk which has been driving me crazy. I can't seem to find any working answers yet... Fail...
Basically bumping this thread a half a year later...
SOMEONE HELP US
You have the relevant frameworks installed and java in your path?
Learned a lot in 24 hours
DSA said:
You have the relevant frameworks installed and java in your path?
Click to expand...
Click to collapse
Summary/Lessons Learned in the last 24 hours:
I must have been too tired, went to sleep got up again and went at it. I realized a few things, main thing was deodexing, I learned all about that. Converting the .odex file to a class.dex file inside the SystemUI.apk and SecSettings.apk so decompiling would work properly (I was originally missing the smali folder without deodexing my app). Second I needed to pull all the framework files from my device instead of just the two I had, then I used "apktool if framework-res.apk" then "apktool if twframework-res.apk" then "apktool d SystemUI.apk" then "apktool d SecSettings.apk". This time it actually worked, I proceeded to try and re-compile them just to test. The SystemUI.apk worked flawlessly but the the SecSettings.apk had errors then I realized I needed to copy the AndroidManifest.xml and resources.arsc from the original app to the decompiled folder and the SecSettings.apk compiled with no issues. I had to get the original file out of the stock ROM, it had gotten damaged somehow with zipping/raring/7zipping so quicktip no one should be zipping the files you're about to work on get it fresh from the ROM.
Current Issue:
Now that all that's done I'm onto what I was trying to get at when I started this whole project. I need to modify both of these apps which are now perfectly deodexed and on my stock device. Every time I try to modify these files I lose my status bar and my settings stop working, I'm obviously breaking it, this is the XDA guide I was following.
Any help or redirection on where to post would be greatly appreciated, thanks
Easiest thing - put your mod back in and get the status bar to disappear/fc whatever
Then, pull a log (catalog from appstore works fine)
Post that log at pastebin and link it here
We won't be able to solve your issue without knowing what it is, in the first place
Like this?
This was before I restarted: Log 1
Then I recorded for a little after I restarted probably pointless but that's where the error would have been: Log 2
DSA said:
Easiest thing - put your mod back in and get the status bar to disappear/fc whatever
Then, pull a log (catalog from appstore works fine)
Post that log at pastebin and link it here
We won't be able to solve your issue without knowing what it is, in the first place
Click to expand...
Click to collapse
Not sure exactly how to record it and send it to you, I pressed record but when the phone finished rebooting CatLog was closed so I reopened it and it keeps scrolling endlessly.
Research progressed a little
I came across a post here in the Flashlight Mod development thread which made me realize I'm not getting the ID's correct. They suggest compiling the modded SystemUI.apk to get the ID's into the apk file under the /res/values/public.xml file, then decompiling it to read the ID values. I'm missing a step or doing something wrong, I can't replicate it to find the ID values I need so I can add them to the .smali file and recompile a final time. I'm sure this is the only reason for the missing status bar and the force closes. I guess I need help understanding, a different set of instructions or just more detailed?
I can't post in that thread yet so I'm getting my posts up over here, I already posted in the Q&A thread but no one has responded yet, any help is greatly appreciated!
I get this when decompiling the modded apk: Modded SystemUI ApkTool Decompile
All these errors look like the file is broken now or something, I'm just lost at this point. I tried ApkTool 1.5.2 and 2.0 as well.
EDIT:
Additional info below for troubleshooting purposes since it seems my issue recompiling at the end to get the values for my public.xml
STEPS:
1. deodex (universal deodexer v5)
2. decompile (apktool 1.5.2 & 2.0 separate tests)
3. modify (add flashlight .png's and .smali file from 4.4kk flashlight mod files)
4. recompile (apktool)
5. decompile (apktool)
=
Errors <<<<< These errors solved in edit below
EDIT:
I forgot to use "apktool if SystemUI.apk" when loading "framework-res.apk" & "twframework-res.apk" now I get through decompiling and recompiling like I thought I should be and I even located the values int he public.xml, replaced them in the .smali and everything went peachy. Only problem is I never get the status bar after I reboot, not really getting any FC's but the status bar, if my goal were to get it to be invisible I would be so happy omg lol If you're curious I've also tested by signing and even another test with zipalign, nothing zip/zero/zilch...
EDIT... Again I know still no sleep, durp durp:
So my main issue was not using apktool v1.5.2 to decompile and v2.0 to compile EVERY SINGLE TIME, NO EXCEPTIONS. When I followed that simple rule I get it onto my device and she has no status bar... Hmmmmm..... And a logcat for anyone smart enough to help me
EDIT:
Maybe I'm in the right direction with an error I saw in the log at this post? I thought it was so I installed the DisableSignatureVerification Mod from the Xposed Modules and still nothing.
Calling All Developers
It's been like 2 weeks just curious if anyone has even looked at this, I haven't been able to make any progress so I started learning how to develop apps. I made two small apps basic flashlight and a counter app but I really want to know why I'm totally unable to mod a file on my phone. I can't get the ink effect to work with finger input either I've been really trying to get this flashlight mod and the ink effect for months. If I could get pointed in the direction of a developer that can actually help me I don't see why I couldn't donate like $10 or $20 to the one who helps me. I'm on android 4.4.2 (NK3) on my Note 3 from T-Mobile.