Problem with deodex - General Questions and Answers

Hello everyone,
Firstly, I'm sorry if it's not the good place but I didn't found out the right place.
So I'm here because I have a problem with my sanei n10 quad tablet.
I tried to deodex it with smali/baksmali version 1.4.1.
For the apk, no problem. For certain jar, like am.jar no problem either.
But when I deodex a jar like framework.jar, I don't have any error during the process but I get bootloop after replacing it. Same for services.jar.
I specify the right bootclasspath-dir and I tried also with bootclasspath.
I searched on the web, but nothing for that kind of error.
So does anyone know what I am missing/messing ?
Many thanks in advance to anyone who can help me
ps: I also tried to deodex with dsixda's kitchen, bootloop again.

Related

taskbar font color

i was just wondering what the deal is with trying to change the color of the letters and numbers on the taskbar.. i remember reading somewhere that it causes a bootloop but has there been any progress on that?
thanks!
Not sure about the boot loop rumor, but its almost near impossible to change. you have to deodex .odex files to get to the actual file to make the change. The problem is the .odex files can be deodexed, but reassembling them is more difficult. Trust me, im still trying to find a way to get this done.
obannvi said:
Not sure about the boot loop rumor, but its almost near impossible to change. you have to deodex .odex files to get to the actual file to make the change. The problem is the .odex files can be deodexed, but reassembling them is more difficult. Trust me, im still trying to find a way to get this done.
Click to expand...
Click to collapse
I was able to un-odex the file and see the code I needed to change. The problem fo rme was re-odexing the file. I un-odexed the file on the phone and then used utilities to re-odex on my PC. I wonder if I need to re-odex directly on the phone to create a valid file. Has anyone tried this yet?
daryelv said:
I was able to un-odex the file and see the code I needed to change. The problem fo rme was re-odexing the file. I un-odexed the file on the phone and then used utilities to re-odex on my PC. I wonder if I need to re-odex directly on the phone to create a valid file. Has anyone tried this yet?
Click to expand...
Click to collapse
i dont know..
if i had enough skills and knowledge about that stuff i would try but i'm still learning :]
is anyone up for the challenge?

[Q] Extracting source from APK

Hi, I am trying to get the source code of the ToggleWidgets.apk that cames with my Motorola Defy+. I already read many things (since I am new user, I am not able to post outside links) but I was not succesful on doing it. What I did so far:
Copied the frame moto-res.apk, framework-res.apk, and blur-res.apk from my Rom.
Installed it on the apktool, apktool if ...
Runned apktool d ToggleWidgets.apk and it was correctly extracted into the dir ToggleWidgets
Now I was expecting to find a classes.dex file. But there is not, and I got stuck. If someone knows what should I do, or a link with things to clarify, I would be thankful.
I just renamed one of my apps with .zip and opened it, and the classes.dex file was in there. not sure if that helps or not.
@ronaldguilmet: It was the very first thing I tried. Interesting that in my case the file present. Thanks!
I guess the class files generated with the Android SDK uses obfuscation through Proguard. I think you cannot disassemble it.
PS: If you approved the previous answer please click on thanks.
thgramos said:
I guess the class files generated with the Android SDK uses obfuscation through Proguard. I think you cannot disassemble it.
PS: If you approved the previous answer please click on thanks.
Click to expand...
Click to collapse
I do not know why ToggleWidgets.apk does not include classes.dex file. But when I tried different applications, I could get the source code using dex2jar, and then jdgui.
eduardomucelli said:
I do not know why ToggleWidgets.apk does not include classes.dex file. But when I tried different applications, I could get the source code using dex2jar, and then jdgui.
Click to expand...
Click to collapse
did you manage to deodex it? if so, can you tell me how? I've tried differents methods with no success. My ultimate goal is to be able to use the Toggle Widgets in a custom ROM like CM9, I don't even know if this is possible without using the motoblur launcher. Could it be that you are trying to do the same thing? it's just that I like those widgets so much and I would like to keep them in a different ROM.

[Q] About mobile apktool

Have anyone tried this https://github.com/pqy330/apktool/blob/master/README.md
As my lappy is on maintainance this days I try to use it for decompiling/recompiling apk's but I can't seem to get it working on my p6200. Successful on decompiling but error on recompiling without doing any changes on xml/smali files.
Any solution guys?
omike123 said:
Have anyone tried this https://github.com/pqy330/apktool/blob/master/README.md
As my lappy is on maintainance this days I try to use it for decompiling/recompiling apk's but I can't seem to get it working on my p6200. Successful on decompiling but error on recompiling without doing any changes on xml/smali files.
Any solution guys?
Click to expand...
Click to collapse
Confirmed to myself that I'm a complete idiot, hehe...
Somehow I figure out a way to to make these works on my P6200 running cm12.
How to delete this?

[Completed] [Q] need help with ida pro 2 issues

Hello xda im new here and i need help. I use apktool to decompile apk files. Once my file is decompiled i use ida on the .so file. At this point im lost on how to find important points in the hex thats my first problem. My second problem is after replacing the .so file in /data/data/com.app.blah/lib. my game will not load it just crashes this will happen even if i replace the .so with an unedited .so. Thanks for the help fixing my issues
Oops i think i posted in the wrong section

About deodex Rom

Hi I know there are lot of professional Rom mod-er here.
May I know which tool is use for deodex rom?
I'm working on J7108 firmware, I tried Assayed Kitchen, problem is when I flash the standalone file, the wifi is not working anymore. I'm not sure is due to deodexed error or what, I reflashed modem.bin but it's still the same.
Second question, which tool is use for edit service.jar and framework.jar? I have no idea it need dependency or what, I use batchApk but the recompiled file is causing the device stuck on boot screen. 3. What is the right step to do it?

Categories

Resources