I have already tried to push the new friends and news programs and widgets to the phone but they will not install on the hero under v1.5
I am guessing cuz the SDK version is wrong and when they were compiled it was at version level 7 for the 2.1 rom
Is there anyway to edit the program and change the SDK level so they will install?
I remember reading somewhere that the a lot of the HTC Sense Programs were signed a special way with UID's or something like that so that if we just resign it with our testsign.jar that they will not work.
Anyone know any info on this?
I have already used the FlashPlayer.apk from the desire rom and it works on the hero but does not really change anything.
I have also pulled and shrunk the .png icons from the desire rom and have loaded them into the 1.5 apks. I am running half 2.1 icons posted on here somewhere and half desire icons.
I know there is more we can use from this rom but what?
You can't push them, you need to do adb install.
zippy-man said:
I have already tried to push the new friends and news programs and widgets to the phone but they will not install on the hero under v1.5
I am guessing cuz the SDK version is wrong and when they were compiled it was at version level 7 for the 2.1 rom
Is there anyway to edit the program and change the SDK level so they will install?
I remember reading somewhere that the a lot of the HTC Sense Programs were signed a special way with UID's or something like that so that if we just resign it with our testsign.jar that they will not work.
Anyone know any info on this?
I have already used the FlashPlayer.apk from the desire rom and it works on the hero but does not really change anything.
I have also pulled and shrunk the .png icons from the desire rom and have loaded them into the 1.5 apks. I am running half 2.1 icons posted on here somewhere and half desire icons.
I know there is more we can use from this rom but what?
Click to expand...
Click to collapse
can you post a zip for the sense 2.0 icons, and the flash apk?
zippy-man said:
I have already tried to push the new friends and news programs and widgets to the phone but they will not install on the hero under v1.5
I am guessing cuz the SDK version is wrong and when they were compiled it was at version level 7 for the 2.1 rom
Is there anyway to edit the program and change the SDK level so they will install?
I remember reading somewhere that the a lot of the HTC Sense Programs were signed a special way with UID's or something like that so that if we just resign it with our testsign.jar that they will not work.
Anyone know any info on this?
I have already used the FlashPlayer.apk from the desire rom and it works on the hero but does not really change anything.
I have also pulled and shrunk the .png icons from the desire rom and have loaded them into the 1.5 apks. I am running half 2.1 icons posted on here somewhere and half desire icons.
I know there is more we can use from this rom but what?
Click to expand...
Click to collapse
well the first thing you need to try is open the build.properties file from whatever rom you are running and there is where you can edit the sdk version. I havent tried this my self yet as I havent had the time but thats a start
edit: also I wouldnt mind getting my hands on the icons if you could.
wtphoto said:
well the first thing you need to try is open the build.properties file from whatever rom you are running and there is where you can edit the sdk version. I havent tried this my self yet as I havent had the time but thats a start
edit: also I wouldnt mind getting my hands on the icons if you could.
Click to expand...
Click to collapse
Yeah editing the sdk version in the build.prop will allow them to install. But most likely the apks will have dependencies from the new sdk version that 1.5 won't have. It's worth a shot though but u will most likely have issues. Good luck though.
HeroMeng said:
You can't push them, you need to do adb install.
Click to expand...
Click to collapse
I know I tried that and I also made an update.zip to see if t worked that way.
I will try to edit the build.prop tonight and see if they install.
I will also get you guys the zip files for the flash and the icons when I get home
im currently working on porting flash 10 to our heros. so far i have gotten pretty far. im not going to release any new info until im sure that i am correct about but i think its down to a browser dependency issue. two things stand out to me in the apk of the desire rom. 1-it does not have an icon for when flash 10 is not missing. unlike our browser does. and the file video_loading_process.xml is different than ours. other than that i have gotten all library files and the flash plugin installed and working correctly. now i can not get the browser to open in the rom i am using (darchstar) anyone else who can test this on toasts rom by editing the buildprop and installing this would save me alot of trouble
Here are the files you guys requested.
Here is a pic of the icons that were changed. Some are from the 2.1 ROMs and the others from the desire ROM. The apks are the original 1.5 apks so it will not add blue at all like the 2.1 icons zip found somewhere on here. It will look and work the same as now just different icons.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download put on root of sdcard and flash from recovery. Nandroid backup Before just incase blah blah blah
Modified 2.1 Icons
Also here is the flash player apk from the desire ROM. Again download put on root of sdcard and flash from recovery. I am not sure but i do not think flashing this changed anything besides it saying 2.1 under version in astro and the old one did not. Nandroid backup Before just incase blah blah blah
Desire Flash Player
thank you!!!
Well i modified the sdk version to 7 and loaded the update.zip again
it will now install the Friends Stream and News Reader programs but they force close upon being opened.
Now i have to learn how to debug a program and find out what is causing them to crash.
Anybody know how to do this or point me in the direction of some good documentation?
wish I could help with that but I am still trying to figure out the actual dev stuff. but I really hope you get this working I really like the news reader but thus far toast 2.1 build is still a little buggy for me to use as a daily driver. keep up the good work man.
edit: I would assume you need to be running DDMS with the phone connected while trying to open the app to see where its crashing.
wtphoto said:
wish I could help with that but I am still trying to figure out the actual dev stuff. but I really hope you get this working I really like the news reader but thus far toast 2.1 build is still a little buggy for me to use as a daily driver. keep up the good work man.
edit: I would assume you need to be running DDMS with the phone connected while trying to open the app to see where its crashing.
Click to expand...
Click to collapse
I am trying to get this running on 1.5 right now. I will try 2.0.1 later and see if it works. It might but i am guessing they have hidden other needed files inside other .apk's and maybe some framework files but since they are pretty simple apps it might just be something simple to get working.
I am really just trying to learn linux and android so taking on a new task is always fun
zippy-man said:
Here are the files you guys requested.
Here is a pic of the icons that were changed. Some are from the 2.1 ROMs and the others from the desire ROM. The apks are the original 1.5 apks so it will not add blue at all like the 2.1 icons zip found somewhere on here. It will look and work the same as now just different icons.
Download put on root of sdcard and flash from recovery. Nandroid backup Before just incase blah blah blah
Modified 2.1 Icons
Also here is the flash player apk from the desire ROM. Again download put on root of sdcard and flash from recovery. I am not sure but i do not think flashing this changed anything besides it saying 2.1 under version in astro and the old one did not. Nandroid backup Before just incase blah blah blah
Desire Flash Player
Click to expand...
Click to collapse
I get Messages FC's after trying to update to this icon set.
the sdk is 8 on the desire rom i believe, i havent tried anything to see if it works
Moguledyouth said:
I get Messages FC's after trying to update to this icon set.
Click to expand...
Click to collapse
any chance of getting these in png format?
Any chance we can get the friends and news apks working now that we have some pretty good 2.1 roms out in the wild?
I have been trying to get this to work but nothing is working so far. Upon opening the programs they just FC right away
I am not a great dev so getting these working is tough.
I am not sure how to read the debug info all that great yet so i am not sure why they are FC'ing right away.
Once I learn some more debug info or just get lucky I guess they are not gonna work.
I dont think any of the smart dev's are worried about these working as of right now. I dont blame them they are trying to get 2.1 to work fully before getting into apps that dont launch
If anybody wants to help let me know and maybe we can get farther in this
This is as far as i can get them. You can see the Widgets and Load them but the friends stream one looks strange.
If tying to open them they FC
here is the ddms Log after opening the programs
03-08 19:25:40.836: WARN/dalvikvm(1011): threadid=3: thread exiting with uncaught exception (group=0x4001e390)
03-08 19:25:40.836: ERROR/AndroidRuntime(1011): Uncaught handler: thread main exiting due to uncaught exception
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.htc.friendstream/com.htc.friendstream.FriendStream}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.htc.friendstream/com.htc.friendstream.AllUpdates}: java.lang.ClassCastException: android.widget.TextView
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2621)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.access$2200(ActivityThread.java:126)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.os.Handler.dispatchMessage(Handler.java:99)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.os.Looper.loop(Looper.java:123)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.main(ActivityThread.java:4595)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at java.lang.reflect.Method.invokeNative(Native Method)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at java.lang.reflect.Method.invoke(Method.java:521)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at dalvik.system.NativeStart.main(Native Method)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.htc.friendstream/com.htc.friendstream.AllUpdates}: java.lang.ClassCastException: android.widget.TextView
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.startActivityNow(ActivityThread.java:2411)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.widget.TabSwitchHost$IntentContentStrategy.getContentView(TabSwitchHost.java:1119)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.widget.TabSwitchHost.setCurrentTab(TabSwitchHost.java:608)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.widget.TabSwitchHost.addTab(TabSwitchHost.java:352)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.friendstream.FriendStream.initTabs(FriendStream.java:45)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.friendstream.FriendStream.onCreate(FriendStream.java:23)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): ... 11 more
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): Caused by: java.lang.ClassCastException: android.widget.TextView
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.friendstream.BaseStreamActivity.initLayout(BaseStreamActivity.java:211)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at com.htc.friendstream.BaseStreamActivity.onCreate(BaseStreamActivity.java:187)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)
03-08 19:25:40.856: ERROR/AndroidRuntime(1011): ... 21 more
03-08 19:25:40.886: ERROR/dalvikvm(1011): Unable to open stack trace file '/data/anr/traces.txt': Permission denied
03-08 19:25:50.000: WARN/ActivityManager(96): Launch timeout has expired, giving up wake lock!
03-08 19:25:50.276: WARN/ActivityManager(96): Activity idle timeout for HistoryRecord{44efd278 com.htc.friendstream/.FriendStream}
03-08 19:26:10.546: WARN/ActivityManager(96): Activity pause timeout for HistoryRecord{44efd278 com.htc.friendstream/.FriendStream}
Related
can anyone on a leak v3/OTA please run the following commands and post the files here.
adb pull /system/etc/apns-conf.xml
adb pull /data/data/com.android.providers.telephony/databases/telephony.db
With those two files I HOPE to be able the MMS issues for all roms once and for all.
Note, if you ran APN Backup/Restore, you're no good to me . I need someone who is fully STOCK.
andrizoid already tried that. he put out an apn-conf.xml that includes the apns from ivans-apn, the stock eris, and the apns included in the conf file when built from source.
dont think its going to be that easy, but if you get it working i am totally switching
can you please post his apn-conf here? and its not exactly the same. I want these files from a fully non root untouched build.
i think he pulled it from the plain jane rom
stupid xml file
thanks... i think we have a winner... gonna test and see. the problem with his file is he left in all of cyanogens gsm apns, and thats probably mucking things up.
ha, now i know where i must of gotten the 935 apns (btw, never used WW... must of been from previous Cyanogen i guess).
in any case... bout to try something myself
good luck vinyl! thanks for all your hard work!
whatever your trying, be sure to report back
well mms works for me on sense based roms but its always broken on any rom where the dev replaced the apk with the stock android one. my theory is that its broken because the stock mms.apk the everyone is using is for gsm phones while the eris is a cdma phone. i may be wrong but who knows lol just wish i could get my hands on a stock one from an android phone on like verizon to test it out.
vinylfreak89 said:
can anyone on a leak v3/OTA please run the following commands and post the files here.
adb pull /system/etc/apns-conf.xml
adb pull /data/data/com.android.providers.telephony/databases/telephony.db
With those two files I HOPE to be able the MMS issues for all roms once and for all.
Note, if you ran APN Backup/Restore, you're no good to me . I need someone who is fully STOCK.
Click to expand...
Click to collapse
Have you reviewed what what TopazAaron has already done for the Ic3 ROM mms fix at http://forum.xda-developers.com/showthread.php?t=677715 ? If you look at his .zip flash fix it seems like a similar path to your effort...
I could be missing something but from my research watching the Dalvik monitor is that there is an issue with the Vanilla mms.apk for the ERIS platform and not nessessarily the apn values. the fact that Handcent works seems to support this. If helpful below is a dump of the error I get
Code:
06-15 21:44:28.044: ERROR/WorkingMessage(1039): Failed to send message: content://mms/drafts/7, threadId=1
06-15 21:44:28.044: ERROR/WorkingMessage(1039): java.lang.ClassCastException: java.lang.String
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at android.app.ApplicationContext$SharedPreferencesImpl.getInt(ApplicationContext.java:2607)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.transaction.MmsMessageSender.updatePreferencesHeaders(MmsMessageSender.java:107)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.transaction.MmsMessageSender.sendMessage(MmsMessageSender.java:76)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.data.WorkingMessage.sendMmsWorker(WorkingMessage.java:1033)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.data.WorkingMessage.access$000(WorkingMessage.java:64)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at com.android.mms.data.WorkingMessage$1.run(WorkingMessage.java:922)
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at java.lang.Thread.run(Thread.java:1096)
Do we know where the version of mms.apk we are try origionally came from?
Actually, White Widow is built from the newest cyanogen commits according to the wave. and if you check, it s the cyanogen 5.0.8 DS-test4 rather than test0
thats the apn conf from the ota.
can you upload that as a pure file, not a patch.
its not a patch. thats how it is in the ota .img
its an xml.p file
that file is in /system/etc?
Hello,
I had the same issue with the same exception in the log :
java.lang.ClassCastException: java.lang.String
06-15 21:44:28.044: ERROR/WorkingMessage(1039): at android.app.ApplicationContext$SharedPreferencesImpl.getInt(ApplicationContext.java:2607)
in fact looking in the code the issue is linked to acces MMS preferences. I fixed the pb by reseting to defaut prefs for MMS.
Hope it helps
Hi everyone,
Alokbina and I have created a tool which allows users to very easily deodex apks from a rom. This tool is very useful for Rom developers too. For now only windows is supported but we will try our best to make the same tool for linux too and make the tool as user friendly as possible. And, please don't forget to thank alokbina too.
NOW EVEN ON XDA PORTAL - http://www.xda-developers.com/android/deodex-all-the-things-with-universal-deodexer/
NOW WITH A BEAUTIFUL NEW GUI
Requirements:-
--->Java installed on your PC
--->system/framework folder from your rom
--->apks from that SAME ROM with the respective .odex file
--->Patience and a calm head (common sense included)
Instructions :-
1. Download and extract the zip. You will get a folder called "Universal_Deodexer_VX"
2. Open the folder and place your framework files [/system/framework] in the "framework" folder.
3. Place all your apks or jars in the "source" folder. No need to manually check if a apk has the corresponding .odex file or not. Apks or Jars which do not have .odex files are automatically deleted.
4. Double click on Launcher.bat to start the tool.
5. Select the various options (android version, compression level).Then chose the deodex option. The deodexing process can be seen in the cmd window, and the log for the process can be found in the "working" folder.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6. Deodexed files will be found in the "done" directory. This is how the window looks after the process is complete :-
Download link -
V5 - http://www.mediafire.com/download/dz5z7oa3mbmwwom/Universal_Deodexer_V5.zip
V4 - http://d-h.st/bMp
V3 [FIXED] - http://d-h.st/QGo [MIRROR OF V3 - https://dl.dropboxusercontent.com/s...rxa7Thm9776KkEFAN87WMgcsF5NwDgiQ8CpkUFA&dl=1]
V2 - http://d-h.st/MZR
V1 - http://d-h.st/jGf
Source Code - https://github.com/abcdjdj/Universal_Deodexer
To do:-
--->Add JAR support for deodexing
--->Make linux version
--->Make it more of a "one-click deodexing"
--->Multiple apk support
Credit:-
---> iBotPeaches (apktool)
---> Google and all the guys who wrote tutorials on creating batch files
---> My teachers who teach me Java
import java.iForgotYou.*;
Changelog
Code:
V5
-->Re-wrote the entire tool from scratch (improved code, more efficient and professional code)
-->Added KitKat support
-->Updated to latest Smali and Baksmali (2.0.3)
-->Fixed the logging mechanism. Now everything gets logged properly in the file.
-->No more annoying windows opening and closing. Everything gets done in one window silently.
-->Added a verification check to see if the deodexing is successful
-->Added an option to reset tool to default (clears all files, makes it just as it was when downloaded)
-->Using a single script to deodex jar and apk files
-->Removed the flashy multi-coloured background. Switched to a simple Holo blue background
-->Lots of other small fixes and changes
V4
--->Made the tool a GUI based tool/software!:D
--->Lightweight Java Swing API is being used.
--->Added option to set compression level from the GUI.
--->Added option to set api level from the GUI.
--->Added a debug mode which can be easily enabled from the GUI. Debug mode prevents the deodexing window from closing
automatically so that it is easier to diagnose any errors if present.:)
--->Moved the framework files to a separate "framework" folder. It looks much cleaner now:)
--->Apks/Jars which do not have .odex files are now automatically deleted. No need to manually go through the files and delete anything.
--->Randomly assign a colour to each button on every run.
--->Fixed some other minor bugs.
--->As this has become a big project with a big source code, I will be uploading the source code on Github:D
V3
---> Added option to deodex JAR files.
---> Added option to pull framework files from phone.
---> Fixed a very important logical error in the Java code
V2
---> Built from scratch again.
---> Added multiple apk deodexing support. Deodex all apks at once.
Completely one-clickish!
---> No need for apktool now. 7z is used instead
---> Updated some Java code and added "clear framework" and logs option
---> Java source code is now open source!:)
V1
---> Initial Release
FAQ -
Q1) I could see some kind of errors while
deodexing but the cmd window closes very
quickly and automatically..
A - Before starting the doedexing process, be
sure to check the debug mode option. Now
the cmd windows won’t close automatically,
so you can post a screen shot here.
Q2) After following all the instructions, I
double clicked on Universal Deodexer VX.jar
but nothing happens.
A- Open up a cmd window by holding shift
and right clicking anywhere in the folder and
chose open command window here. Then
type this command –
Code:
Java –jar “Universal Deodexer VX.jar”
Now you will be able to identify the problem.
Q3) After typing the above command, I get
this error -
Exception in thread "main"
java.lang.UnsupportedClassVersionError:
Control : Uns
upported major.minor version 51.0
at
java.lang.ClassLoader.defineClass1(Native
Method)
at java.lang.ClassLoader.defineClassCond
(Unknown Source)
at java.lang.ClassLoader.defineClass
(Unknown Source)
at
java.security.SecureClassLoader.defineClass
(Unknow n Source)
at java.net.URLClassLoader.defineClass
(Unknown Source)
at java.net.URLClassLoader.access
$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown
Source)
at
java.security.AccessController.doPrivileged
(Native Method)
at java.net.URLClassLoader.findClass
(Unknown Source)
at java.lang.ClassLoader.loadClass
(Unknown Source)
at sun.misc.Launcher
$AppClassLoader.loadClass(Unknown
Source)
at java.lang.ClassLoader.loadClass
(Unknown Source)
Could not find the main class: Control.
Program will exit.
A- Please uninstall all previous versions of
java and download the latest version of Java
for your OS.
Q4) During the deodexing process, I get
some error like this –
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext:
regCount does not match the number of
arguments of the method
at
org.jf.dexlib.Util.ExceptionWithContext.withContex
t(ExceptionWithContext.java:54)
at
org.jf.dexlib.Code.InstructionIterator.IterateInst
ructions(InstructionIterator.java:92)..
A – Before starting the deodexing process,
be sure to select the correct Android Version
in the list on the right side of the screen.
That should solve the problem. If it still
persists then please provide us with the rom/
device/android version etc.
Q5) My apks and jar files got deodexed
properly but my phone is stuck in a
bootloop.
A- Try deodexing the apk with a lower
compression level. If this does not help then
fix permissions in your recovery. If nothing
helps in please post a logcat.
Q6) One or two applications are force
closing after deodexing them.
A- Deodex those particular apks with the
compression level as 0.
Q7) I get this error while my files are getting
deodexed –
‘xcopy’ is not recognized as an internal or
external command, or operable program or
batch file.
A- Your environment variables are not set
properly. Check this - http://
developer.appcelerator.com/qu...ternal-
command
Q8) The deodexing process has got stuck..
A- Leave it for some time. It takes some
time to convert the .odex file into smali and
then into classes.dex. If nothing happens
after some time, please let us know by
leaving your comment below along with your
device name/rom/android version etc.
Click to expand...
Click to collapse
Nice maddy. Keep up the good work.
Re: [TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
Great
Keep it up
Sent from my GT-S5360 using HYPERION 8 via XDA app
Me Likey:good:
Great work.. Thank you..
Very nice! Im porting it to linux - easy work once I remember how bat files works haha long time since im a bash rat.. i still miss using .bat files anyway, but sticking to the subject, i'll try to port it
Source Code..? (The Slow.class)
Re: [TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
Good work guys. :thumbup:
Peteragent5 said:
Source Code..? (The Slow.class)
Click to expand...
Click to collapse
Well uh um, is it compulsary to make it open source?(I don't know much about those GPL licenses but I thought that was only for the Linux kernel) Anyway, I will provide it with the V2 update.
@everyone - V2 will be much much more user-friendly.
Thank you for using our tool guys.
Hi guys!
V2 is completely ready. Completely one click to deodex now. No need to enter anything extra. Just click on one button and deodex all apks. Support for deodexing multiple apks has been added. No need to use apktool at all now. Will update OP very soon..
Thank you,
abcdjdj
abcdjdj said:
Hi guys!
V2 is completely ready. Completely one click to deodex now. No need to enter anything extra. Just click on one button and deodex all apks. Support for deodexing multiple apks has been added. No need to use apktool at all now. Will update OP very soon..
Thank you,
abcdjdj
Click to expand...
Click to collapse
That's great. Can't wait as I'm actually using the tool right now.
Stealyourface said:
That's great. Can't wait as I'm actually using the tool right now.
Click to expand...
Click to collapse
OP updated. V2 has been released!!
Peteragent5 said:
Source Code..? (The Slow.class)
Click to expand...
Click to collapse
Source code has been added in the first post.:good:
Thanks for the tool! I´m deodexing apks now, works fine, but is slowly...
Why not select a folder and deodex the folder? 1 to 1 is more slowly, is better select a folder CCCC:
Jaizu said:
Thanks for the tool! I´m deodexing apks now, works fine, but is slowly...
Why not select a folder and deodex the folder? 1 to 1 is more slowly, is better select a folder CCCC:
Click to expand...
Click to collapse
I think that you are using V1. Please use V2 because you can deodex multiple apks at once and it is completely one clickish. Please check the OP for more info.
Thank you for using my tool.
Sent from my LT26i using xda app-developers app
Awesome!
Anyone tried V2?
Sent from my LT26i using xda app-developers app
Hey there. I'm trying to use your deodexer as we speak and a couple issues I've had with it were fixable by me, namely a pathing error regarding java. However, I am getting this:
Deodexing apk..
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:218)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
6)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:111)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:94)
at org.jf.baksmali.main.main(main.java:308)
C:\Users\blarg\Downloads\Compressed\Deodex_V2\apks\AccuweatherDaemon.apk
1 File(s) copied
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/"
at org.jf.smali.main.main(main.java:180)
File not found - classes.dex
Any idea what I can do to fix this?
Whenever I create a new Android application project, my gen folder is missing thus giving me the error of R cannot be resolved to a variable.
I've searched around and tried cleaning and building but that did not fix the issue.
Has anyone dealt with this issue before? If so, how did you fix it?
Thanks
I had this issue when there was an error in one of my xml files. Have a close look at every layout again.
nikwen said:
I had this issue when there was an error in one of my xml files. Have a close look at every layout again.
Click to expand...
Click to collapse
I've also read somewhere that it was the xml files causing this issue.
Could you clarify if I should only be looking at the xml files in my layout folder?
Thanks
InfiniteStratas said:
I've also read somewhere that it was the xml files causing this issue.
Could you clarify if I should only be looking at the xml files in my layout folder?
Thanks
Click to expand...
Click to collapse
There should be a red X in Eclipse if there is an error. Sometimes it just appears in the file but not in the project tree.
Since the new sdk update (22) I need to check all boxes under project properties - java build path - import / export.
Taptalked u see .. əəs n pəʞlɐʇdɐʇ
I've had a similar issue some days ago. My R.java was not regenerated after I cleaned my project.
Here is what fixed it for me: It seems like as of SDK version 22, which I had recently downloaded, there is an additional package you have to download from the SDK manager called "Android SDK build-tools". I installed it, restarted Eclipse and everything was working again.:good:
I had found the solution on StackOverflow: http://stackoverflow.com/a/16643060/1691231
Check for any XML Errors Drawables/Layout/Menu/XML (Major issue in Eclipse)
As mentioned above, Update to latest SDK and Add-ons from the SDK Manager and Eclipse Updater
Remove any R.Android Imports in your Java Classes
And make sure your using a capadible fit version of Eclipse for android Development. Easiest Setup is to use the ADT Combo Package (Altho consumes more Ram)
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.
This tool is simply awesome created by
abcdjdj
But because of new version of smali.
Their is a problem in the tool
while deodexing you may face error like
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/"
at org.jf.smali.main.main(main.java:174)
Which is now fixed by a simple tweak
Download from below
abhimortal6 said:
This tool is simply awesome created by
abcdjdj
But because of new version of smali.
Their is a problem in the tool
while deodexing you may face error like
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/"
at org.jf.smali.main.main(main.java:174)
Which is now fixed by a simple tweak
Download from below
Click to expand...
Click to collapse
Great, I used this and it deleted half the files on my desktop.
SkeeterPan said:
Great, I used this and it deleted half the files on my desktop.
Click to expand...
Click to collapse
Simply not possible!
abhimortal6 said:
Simply not possible!
Click to expand...
Click to collapse
@abhimortal6
this did not hurt my computer, works great!