I decompiled systemui.apk using apk manager . ,added some smali's and edited xmls. Now I am going to recompile it. Do I need do delete the smali's and xmls from keep folder or the recourses file.?? Also after compilation it shows unsignedsystemui.apk if I sign it using 12 option it gives error please help
Note- don't post any links of tutorials as I have checked dem
Would really thankful
Sent from my GT-S5570 using xda premium
arpitkh96 said:
I decompiled systemui.apk using apk manager . ,added some smali's and edited xmls. Now I am going to recompile it. Do I need do delete the smali's and xmls from keep folder or the recourses file.?? Also after compilation it shows unsignedsystemui.apk if I sign it using 12 option it gives error please help
Note- don't post any links of tutorials as I have checked dem
Would really thankful
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Not so expert in this but maybe this question solved could help you
http://forum.xda-developers.com/showthread.php?t=1852321
It didnt
Sent from my GT-S5570 using xda premium
arpitkh96 said:
It didnt
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
The keep folder contains the stock files unchanged..So if you changed a smali in your project folder you'll have to delete the classes.dex in the keep folder,if you changed xml you'll have to delete the resources.arsc in the keep folder..
Sorry for my question but i have a big problem with my PC so i can't compile the apk inside the .rar in the attachment file...
Can someone compile it for me please?
Thanks in advance
G.Galante said:
Sorry for my question but i have a big problem with my PC so i can't compile the apk inside the .rar in the attachment file...
Can someone compile it for me please?
Thanks in advance
Click to expand...
Click to collapse
I pressed the thanks button by error somehow. I need the source apk file to compile it.
ImSoBored said:
I pressed the thanks button by error somehow. I need the source apk file to compile it.
Click to expand...
Click to collapse
I have added the original APK
Open apktool.yml
And under ids
-1 add -2
Then compile
Then it wont fc
Its lidroid framework app so make sure u add that - 2
And install framework res and twframework note:
Twframework not twframeworks
Sent from my ST25i using xda app-developers app
R: [Q] Help to compile APK
SpaceCaker said:
Open apktool.yml
And under ids
-1 add -2
Then compile
Then it wont fc
Its lidroid framework app so make sure u add that - 2
And install framework res and twframework note:
Twframework not twframeworks
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
The problemi si that my PC si not working
Sent from my GT-P3110 using xda app-developers app
G.Galante said:
The problemi si that my PC si not working
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
How u decomplliled it then?
Sent from my ST25i using xda app-developers app
R: [Q] Help to compile APK
SpaceCaker said:
How u decomplliled it then?
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
With my PC! When it worked
Sent from my GT-P3110 using xda app-developers app
when recompiling I get an error messages:
Code:
[*] /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk
rebuilding /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk...
recompiling _INPUT_APK/twframeworks-res.apk.apk...
W: Could not find sources
I: Building resources...
/home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res/layout/power_widget_scrollview.xml:2: error: No resource identifier found for attribute 'overScrollMode' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4977741146867658710.tmp, -x, -I, /home/muelra/apktool/framework/1.apk, -S, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res, -M, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4977741146867658710.tmp, -x, -I, /home/muelra/apktool/framework/1.apk, -S, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res, -M, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Can anybody help please?
Some errorr message recompiling under ubuntu12.04 64bit or win7 prof. 64bit.
Is it a problem, running that under a 64bit OS?
muelra said:
when recompiling I get an error messages:
Code:
[*] /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk
rebuilding /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk...
recompiling _INPUT_APK/twframeworks-res.apk.apk...
W: Could not find sources
I: Building resources...
/home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res/layout/power_widget_scrollview.xml:2: error: No resource identifier found for attribute 'overScrollMode' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4977741146867658710.tmp, -x, -I, /home/muelra/apktool/framework/1.apk, -S, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res, -M, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4977741146867658710.tmp, -x, -I, /home/muelra/apktool/framework/1.apk, -S, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res, -M, /home/muelra/android-sdk-linux/platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Can anybody help please?
Some errorr message recompiling under ubuntu12.04 64bit or win7 prof. 64bit.
Is it a problem, running that under a 64bit OS?
Click to expand...
Click to collapse
platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res/layout/power_widget_scrollview.xml:2: error: No resource identifier found for attribute 'overScrollMode' in package 'android'
Thats the error
Sent from my ST25i using xda app-developers app
SpaceCaker said:
platform-tools/XAutoAPKTool1.0.4/_INPUT_APK/twframeworks-res.apk/res/layout/power_widget_scrollview.xml:2: error: No resource identifier found for attribute 'overScrollMode' in package 'android'
Thats the error
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Thanks.
How can I resolve it? I decompiled the apk and than recompiled the folder.
muelra said:
Thanks.
How can I resolve it? I decompiled the apk and than recompiled the folder.
Click to expand...
Click to collapse
It pretty much says what your error is and a bit how to solve
Sent from my ST25i using xda app-developers app
muelra said:
Thanks.
How can I resolve it? I decompiled the apk and than recompiled the folder.
Click to expand...
Click to collapse
I found it.
I edit inside power_widget_scrollview.xml the value
Code:
android:overScrollMode=
from "2" to "never"
and recompiled it.
I will send you the apk to PM.
Regards
3. CRT OFF ANIMATION.
Decompile framework-res.apk with apktool or similar.
Go to framework-res.apk\res\values\ and open bools.xml with notepad++
Search for line
Quote:
<bool name="config_animateScreenLights">true</bool>
Replace true with false. As shown below
Quote:
<bool name="config_animateScreenLights">false</bool>
Save the file and close it.
Now compile back apk file and push back to system/framework.
Now open your build.prop with root explorer or similar on your phone.
search for
Quote:
debug.sf.hw=1
add # infront of this line. Like this
Quote:
#debug.sf.hw=1
save it and restart your phone.
write your roms name if itll work
thanks
Wont work... tried on many ROM, can't remember on which ones...but fact is, it wont work
btw: have you tried by yourself? when i edited the first value i was getting bootloop..
kewkie said:
Wont work... tried on many ROM, can't remember on which ones...but fact is, it wont work
btw: have you tried by yourself? when i edited the first value i was getting bootloop..
Click to expand...
Click to collapse
i cant decompile apk
(my brains ate are small)
can decompile apk(imll sent it to you) and this decompiled files pass in zip arhive?
Sent from my GT-S5830i using xda premium
oxxxymiron said:
i cant decompile apk
(my brains ate are small)
can decompile apk(imll sent it to you) and this decompiled files pass in zip arhive?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Read older posts
It is confirmed that CRT won't work on our phone except for CM7 ROMs
i decompiling framework-res.apk and With out change anything
but when i compiling framwork-res apktool show this
aapt: warning: string 'add_region_in_locale_picker_dummy_string' has no default
translation in D:\apktool\framework-res\res; found: en_HK en_JM en_PH es_AR es_B
O es_CL es_CO es_CR es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY
es_SV es_UY es_VE kn_IN ml_IN mr_IN ta_IN te_IN
I: Building apk file...
how to fix it
thanks a lot
It's a warning not an issue, but you will always have that
But there is no method yet for decompiling and recompiling without bootloop for Xperia Z.
Sent from my C6603 using xda app-developers app
krabappel2548 said:
It's a warning not an issue, but you will always have that
But there is no method yet for decompiling and recompiling without bootloop for Xperia Z.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
yes, when i use this apk, my Xperia Z will bootloop, so i cannot decompiling and recompiling to change softkey ?
because i want change the softkey to 32dpi
krabappel2548 said:
It's a warning not an issue, but you will always have that
But there is no method yet for decompiling and recompiling without bootloop for Xperia Z.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
I'm having the same issue but persisting on as ZeroInfinity seems to have managed it HERE? I'm just using their framework in the meantime.
In file included from development/tools/emulator/system/camera/EmulatedCamera2.h:28:0,
from development/tools/emulator/system/camera/EmulatedFakeCamera2.h:26,
from development/tools/emulator/system/camera/EmulatedCameraFactory.cpp:28:
hardware/libhardware/include/hardware/camera2.h:112:39: error: 'HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED' was not declared in this scope
make: *** [/home/syafiq0408/slim/out/target/product/janice/obj/SHARED_LIBRARIES/camera.goldfish_intermediates/EmulatedCameraFactory.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
can someone please help me.. i'm trying to build slim rom but during build, this error appear and i dont to how to deal with HAL_PIXEL_FORMAT_IMPLEMENTATION..
Grab the string from system/core/graphics.h and add it to the camera2.h file
Sent from my GT-I9070 using Tapatalk 4 Beta
Maybe you are missing the framework mods for camera hal, pixel format, vibrator, etc from github cause they don't sync automatically with a repo init and sync I guess unless you manually edit your default.xml in .repo folder
Sent from my GT-I9070 using xda app-developers app
Shaaan said:
Grab the string from system/core/graphics.h and add it to the camera2.h file
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I will look into graphic.h and try as u suggested..thanks shaan
frapeti said:
Maybe you are missing the framework mods for camera hal, pixel format, vibrator, etc from github cause they don't sync automatically with a repo init and sync I guess unless you manually edit your default.xml in .repo folder
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
No2 i did not manually edit the default.xml..so what is your suggestion then?btw, i will try as shaan suggested and report back here..
Sent from my GT-I9070 using xda premium