[Q]Deodexing smali Problem - LG Optimus Black

Hi i makin deodexing my rom bu i taking error
I baksmali and success take out folder but i cant compile out folder to classes.dex
with this command.I download latest smali and baksmali jar files.
java -Xmx1024m -jar smali.jar out -o classes.dex
erors about ".smali[0,0] No enum const class org.jf.dexlib.AnnotationVisibility.RUNTİME"

George Jetson said:
Hi i makin deodexing my rom bu i taking error
I baksmali and success take out folder but i cant compile out folder to classes.dex
with this command.I download latest smali and baksmali jar files.
java -Xmx1024m -jar smali.jar out -o classes.dex
erors about ".smali[0,0] No enum const class org.jf.dexlib.AnnotationVisibility.RUNTİME"
Click to expand...
Click to collapse
Edit: disregard

I solve problem with myself
I add -Duser.language=en parameter in code.
java -Xmx1024m -Duser.language=en -jar smali.jar out -o classes.dex
now i have deodexed 20b

George Jetson said:
I solve problem with myself
I add -Duser.language=en parameter in code.
java -Xmx1024m -Duser.language=en -jar smali.jar out -o classes.dex
now i have deodexed 20b
Click to expand...
Click to collapse
V20b batch deodexing
{
"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"
}

Related

Help with skinning widgets

I'm trying to skin the Weather Channel widget so the background is transparent. These are the steps I followed-
1) Decompile in APK Manager
2) Change relevant PNGs to what I wanted them to be (transparent)
3) Zip the project folder, rename with apk extension
4) Compile that APK through APK manager
5) Sign and Zipalign
When I transfer the APK to my phone, this is what happens-
{
"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"
}
What am I doing wrong? Am I supposed to create the APK file in another way? Any help would be appreciated.
- download 7-zip
- right-click apk
- open archive
- drag any png file you want into a folder
- edit the png
- drag the edited png back into the archive window
- close archive window
- sign apk
- install on the phone the apk
What's the easiest way to sign an APK? Is there an automated tool for it?
ilangoadigal said:
What's the easiest way to sign an APK? Is there an automated tool for it?
Click to expand...
Click to collapse
If you decompile & compile your apk with apk manager, sign it with apk manager.
That´s the easiest way.
this is the easiest way and the way I do it
http://forum.xda-developers.com/showpost.php?p=3175518&postcount=2

[Q] Problem when using LGExtract Tool?

Hi everyone! I'm a newbie with LG Optimus Bright. When i use LGExtract Tools to Extract .kdz file but i have this problem.
{
"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"
}
Please help me to solve it.
Thank you so much!
PS: I'm using Windows 7 SP1
hi, disable uac => config panel => account user
run in cmd administrator, make sure you have enough space on your HDD
try with another kdz, check the md5 or sha1
move on root of c:\ " directory LGE" also
your computer is overclocked ?
hey, what the cmd7.exe ?, a .bat compiled in exe ?
place in directory LGE, open cmd as administrator , LGExtract -kdz V10B_00.kdz
Maybe your kdz file is corrupted.
Download a new .kdz
OR
You are using LGExtract 0.1.0
Try using LGExtract 0.2.0
thanks guy! my problem here is cmd7.exe. cmd7.exe is Microsoft Windows [Version 6.1 7601] and cmd.exe is Microsoft Windows [Version 6.1 7600]
Now i can extract kdz file using cmd.exe.
THanks!
This issue is fixed in 0.2.1 release.
[]'s

[DEV] Mms apk

{
"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"
}
Changelog:
0.02
- fixed a bug that would crash if the status of the message was "sending..."
0.01
- added the ability to switch between keyboard layouts (emoticons vs enter key)
- ability to hide avatars in conversation list
- ability to hide avatars in message view
- ability to hide names in message view
- ability to remove the sent: / expires: prefix on messages
Download link here
How to install:
Download the apk and run
adb shell mount -o remount -rw -n /system
adb push Mms.apk /system/app
adb shell mount -o remount -r -n /system
what is the diffrence between this and the original one?
oh men, what a bummer.
crzfish said:
what is the diffrence between this and the original one?
Click to expand...
Click to collapse
well i would have thought the screenshots and the changelog would speak for themselves
It's more customizable than the original cm7.2 apk
I think this thread not belong here..maybe u should move it to THEME N APP SECTION..

[Solved] Apktool problem

Edit: Well, I found out what was wrong, had to copy META-INF from original file.
Hello guys, It's the first time I use this thing and I'm doing something really wrong.
I used adb tool + apktool to pull and edit 'android.policy.jar' and 'SecSettings.apk' in order to enable AOSP Locker.
I failed and ended with a bootloop.
First I thought I messed it up my SecSettings.apk (I'd get bootloop when making chmod 644 in it, android.policy.jar didn't give me errors), so after wasting a lot of time redoing all the job again and failling again, I did a test:
A decompiled SecSettings.apk and after it I recompiled (without editing any file inside it) and TaDa, got a Bootloop, also file size changed.
I think the problem is with this screen:
{
"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"
}
Would that be a problem because the rom is russian?
But that doesn't make any sense to me
Editing this god damn file I found it has the Weather widget hidden, I'm thinking in 'unhide' it to check if would work too!
Did you sign app?
If not do this:
Use WINRAR, open compiled app - get classes.dex and resources.arsc from it and put in old one (original, the one that you decompiled first time). Use STORE compression when you replace those files, otherwise you will probably get bootloop.
P.S. I was writing when you added that edit. That META-INF is sign.

Create Zip or Tar archive on Tasker [SOLVED]

Hi all!
I'm facing some problems when I try to create a zip or tar compressed file from any single file or directory (what I'm actually looking for now) with shell code. How is done it on Android?
Note: I have latest version of Busybox Pro installed.
{
"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"
}
I know these commands, also I can't see zip ones on mine (are not installed)
I have this error while trying to compress by tar command:
Well done!
I have fixed the error by changing the syntaxis shell code: cd /dir && tar -cvf file.xxx FileOrFolder ; gzip -x file.xxx
-v = as the code is executed in tasker it would not need this argument, but have added it because I'll give an export function data to a variable.
.x = because I want to compress the file.
.xxx = I have not put directly the obvious: .tar, because I would like to later use 3 container types (.zip, .rar, .tar).
Thanks for your help!

Categories

Resources