I've been looking everywhere on how to get the CRT effect on my gs2. I found this post that details how to get it working (http://forum.xda-developers.com/showthread.php?t=1152668) but when I try recompiling with apktool or apkmanager, I get recompile errors. Can someone help me out?
haippa123 said:
I've been looking everywhere on how to get the CRT effect on my gs2. I found this post that details how to get it working (http://forum.xda-developers.com/showthread.php?t=1152668) but when I try recompiling with apktool or apkmanager, I get recompile errors. Can someone help me out?
Click to expand...
Click to collapse
This is the error I get :
--------------------------------------------------------------------------
|Thu 03/29/2012 -- 16:30:29.24|
--------------------------------------------------------------------------
--2012-03-29 16:30:29-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 9.53M=0s
2012-03-29 16:30:29 (9.53 MB/s) - `apkver.txt' saved [152/152]
'java' is not recognized as an internal or external command,
operable program or batch file.
--------------------------------------------------------------------------
|Thu 03/29/2012 -- 16:33:08.26|
--------------------------------------------------------------------------
--2012-03-29 16:33:08-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 9.53M=0s
2012-03-29 16:33:08 (9.53 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
--------------------------------------------------------------------------
|Thu 03/29/2012 -- 16:35:54.73|
--------------------------------------------------------------------------
--2012-03-29 16:35:54-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 3.74M=0s
2012-03-29 16:35:54 (3.74 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
The system cannot find the path specified.
The system cannot find the path specified.
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: f (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: f (The system cannot find the file spe
cified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
... 3 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: f (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: f (The system cannot find the file spe
cified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
... 3 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: f (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: f (The system cannot find the file spe
cified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
... 3 more
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: f (The system cannot find the file specified)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:406)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: f (The system cannot find the file spe
cified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:374)
... 3 more
--------------------------------------------------------------------------
|Thu 03/29/2012 -- 16:37:56.65|
--------------------------------------------------------------------------
--2012-03-29 16:37:56-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80
... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 3.24M=0s
2012-03-29 16:37:56 (3.24 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external comman
d,
operable program or batch file.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\bnmb\AppData\Local\Temp\AP
KTOOL2902430766482753313.tmp, -x, -S, C:\Users\bnmb\Desktop\APKTool\projects\fra
mework-res.apk\res, -M, C:\Users\bnmb\Desktop\APKTool\projects\framework-res.apk
\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\bnmb\AppData\Local\Temp\APKTOOL2902430766482753313.tmp, -x, -S, C:\Users\bn
mb\Desktop\APKTool\projects\framework-res.apk\res, -M, C:\Users\bnmb\Desktop\APK
Tool\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Press any key to continue . . .
Anyone?...
For a more stable ROM, plus CRT animation you could try SHOstock 2.
Sent from my Galaxy S II (i777)
quarlow said:
For a more stable ROM, plus CRT animation you could try SHOstock 2.
Sent from my Galaxy S II (i777)
Click to expand...
Click to collapse
I tried it. But the wallpaper functionality seems broken. Native res wallpapers are blown up, even with the panoramic stuff is disabled.
haippa123 said:
I tried it. But the wallpaper functionality seems broken. Native res wallpapers are blown up, even with the panoramic stuff is disabled.
Click to expand...
Click to collapse
Haven't tried that, I'm a live wallpaper type of guy.
I believe Mystic's Pride also enables the CRT animation, and I know AOKP does. I'm a little scared of the i777 leak, until more devs start playing with it.
Sorry I can't be more help. But, after seeing no one else respond I figured I'd give an alternative solution.
Sent from my Galaxy S II (i777)
I am trying to edit an .apk I've edited xml files before, just small lines of code nothing impressive but when trying to decompile this .apk I am getting this error. Any help would be great and I will make sure to leave a thanks!!
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
i am getting following error while decompiling whatsapp.apk using apk tool
C:\apktool>apktool d WhatsApp_2.11.528.apk
I: Using Apktool 2.0.0-Beta7 on WhatsApp_2.11.528.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:615)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
at brut.androlib.Androlib.getResTable(Androlib.java:54)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:216)
at brut.androlib.ApkDecoder.setAnalysisMode(ApkDecoder.java:173)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:88)
at brut.apktool.Main.cmdDecode(Main.java:166)
at brut.apktool.Main.main(Main.java:85)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
1)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 9 more
please help me how can i successfully decompile this file
Hi ! everbody!
i have problem on decompile an apk file ... when i try APK Multi-Tool .. i got this erorr :
Code:
--------------------------------------------------------------------------
|Thu 04/23/2015 -- 18:42:38.04|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Press any key to continue . . .
apk file is com.ngb.wpsconnect.aps that i attach here
anyone help me ?
jovee said:
Hi ! everbody!
i have problem on decompile an apk file ... when i try APK Multi-Tool .. i got this erorr :
Code:
--------------------------------------------------------------------------
|Thu 04/23/2015 -- 18:42:38.04|
--------------------------------------------------------------------------
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Press any key to continue . . .
apk file is com.ngb.wpsconnect.aps that i attach here
anyone help me ?
Click to expand...
Click to collapse
Code:
D:\TOOL\apk build\cong cu>apktool d com.ngb.wpsconnect.apk
I: Using Apktool 2.0.0-RC4 on com.ngb.wpsconnect.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Androidhero\apktool\framework\1.ap
k
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
D:\TOOL\apk build\cong cu>
please check apktool of you
---------- Post added at 05:44 AM ---------- Previous post was at 05:37 AM ----------
: Laugh:
androidhero.vn said:
Code:
D:\TOOL\apk build\cong cu>apktool d com.ngb.wpsconnect.apk
I: Using Apktool 2.0.0-RC4 on com.ngb.wpsconnect.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Androidhero\apktool\framework\1.ap
k
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
D:\TOOL\apk build\cong cu>
please check apktool of you
---------- Post added at 05:44 AM ---------- Previous post was at 05:37 AM ----------
: Laugh:
Click to expand...
Click to collapse
HI ty For your help
can you tell me what is your windows version and 64 or 32 bit ? and your java version too
tanx again
jovee said:
HI ty For your help
can you tell me what is your windows version and 64 or 32 bit ? and your java version too
tanx again
Click to expand...
Click to collapse
win 7 32bit java jre7
Humm now work on 32 bit ! But on 64 bit have problem ... Ty brother ?
Please help.
I try to descompile some apk and my result:Error
I use:Apktool 2.0 latest,APK Manager,APK Multitool,APKtool on Android.
I tried to decompile Settings.apk and result is this:
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
No se pudo encontrar C:\Users\Andy921\Desktop\11\apkmanager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk
No se pudo encontrar C:\Users\Andy921\Desktop\11\apkmanager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f020018 drawable/avatar_default_1, config=-mdpi
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:105)
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(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java: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:120)
at brut.apktool.Main.main(Main.java:57)
Why this?
I need help,It's because I'm creating a ROM -based Kitkat