[Q] SystemUI problems.. - Android Q&A, Help & Troubleshooting

Hi,
I have a theme for my Tab 10.1 ...
the theme has a systemui and framework-res..
if I put the theme files in the ROM zip and flash then I get a bootanimation loop.
so I desided to decomple the systemUI and see the problem..
if I decomile then I see this:
--------------------------------------------------------------------------
|Mon 05/03/2012 -- 15:11:39.07|
--------------------------------------------------------------------------
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Could Not Find C:\Users\NOMAD\Desktop\Apk_Multi-Tool\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Users\NOMAD\Desktop\Apk_Multi-Tool\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\NOMAD\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-sw600dp-mdpi/status_bar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw600dp-mdpi/traybar_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw600dp-mdpi/list_selector_background_focused.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw600dp-mdpi/quickpanel_panel_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-sw600dp-mdpi/recents_blue_glow.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Click to expand...
Click to collapse
and when I compile I see the attached log file
the funny thing is ..If I flash the theme files separately with recovery ..the tab boot ok.
any help guys please.
Thanks.

One man before you had the same issue.
If you flash them at once, be sure to wipe cache and dalvik, and set permissions!
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.

Related

[SOLVED] Decompiling Fail

xDA, I had an issue when decompiling a stock app for my Sony Ericsson. It's running 4.0.4,
C:\Users\Callison10\Desktop\Programs\Android\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Callison10\apktool\framework\Conversations.apk
C:\Users\Callison10\Desktop\Programs\Android\apktool>apktool d Conversations.apk MMS
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Callison10\apktool\framework\Conversations.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0202000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0202000d
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.​
I solved this issue,
C:\Users\Callison10\Desktop\Programs\Android\apktool>apktool if SemcGenericUxpRes.apk
I: Framework installed to: C:\Users\Callison10\apktool\framework\2.apk
C:\Users\Callison10\Desktop\Programs\Android\apktool>apktool d Conversations.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Callison10\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Callison10\apktool\framework\2.apk
I: Loaded.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Callison10\Desktop\Programs\Android\apktool>​
To solve the issue, use SemcGenericUxpRes.apk !
I get the same error when trying to decompile stock Conversations.apk. But I can decompile any other apks without errors. I tried by installing different frameworks. But nothing solved the problem. If you (OP) are successful decompiling Conversations.apk, let me know.
RavinduSha said:
I get the same error when trying to decompile stock Conversations.apk. But I can decompile any other apks without errors. I tried by installing different frameworks. But nothing solved the problem. If you (OP) are successful decompiling Conversations.apk, let me know.
Click to expand...
Click to collapse
I found out how! I'll let you know soon as the needed file is on my computer.
Callison10 said:
I found out how! I'll let you know soon as the needed file is on my computer.
Click to expand...
Click to collapse
Thanks! Waiting for your reply
Solved !
RavinduSha said:
Thanks! Waiting for your reply
Click to expand...
Click to collapse
The answer is to Use SemcGenericUxpRes.apk !
Re: [Q] Decompiling Fail?
Add solved to title if you problem is solved it would save precious time of users and moderators
Sent from my A116 using Tapatalk 2
sak-venom1997 said:
Add solved to title if you problem is solved it would save precious time of users and moderators
Sent from my A116 using Tapatalk 2
Click to expand...
Click to collapse
Your wish is my command.
Callison10 said:
The answer is to Use SemcGenericUxpRes.apk !
Click to expand...
Click to collapse
Thats right!! Successfully decompiled my Conversations.apk

Need help....... Can't decompile lockscreen apk

Hello guys. .. I m using neo v gingerbread.... Bt wgenever I was trying to decompile lockscreen nd other apk... Apk tool gives me some error bt thus error show most of time. .. I Cant find a way to overcome from this problem..
Pls help if u can
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0209006f
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Sent from my Neo v using ginger2jellybean 2.5 with my own modification
Gggj
@PRAKASHPANDEY193 have you tried installing semcgenericuxpres.apk too?
if not the add these lines to apktool
Code:
apktool if [I]framework-res.apk[/I]
apktool if [I]semcgenericuxpres.apk[/I]
and then decompile your lockscreen
Code:
apktool d [I]lockscreen.apk[/I]
this will pretty muck solve your error

Need help for decompiling apk

Hello guys. .. I m using neo v gingerbread.... Bt wgenever I was trying to decompile lockscreen nd other apk... Apk tool gives me some error bt thus error show most of time. .. I Cant find a way to overcome from this problem..
Pls help if u can
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: ?/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0209006f
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Sent from my Neo v using ginger2jellybean 2.5 with my own modification
Sent from my Neo v using ginger2jellybean 2.5 with my own modification
Did you install correct framework for apk tool to work?
In admin> documents and settings> apk tool post framework of rom u using.
P.S. Rename as 1.apk and paste it there. Then try to decompile. It will work.
Btw mate this is not correct section to post. You have any sort of questions related to xperia neo please post here http://forum.xda-developers.com/showthread.php?t=2276094 . All noob friendly questions are welcome too...

[need help] apktool framework for ID : 4

Hello All, I need little help, i am using apk tool 2.2.1 by ibotpeaches,
and everything is working fine for almose all apks that i decompiled,
but i have created xperia theme now, by xperia theme creator, now i want to decompile that theme to add some more features menually, and when i try to decompile it shows an error ,
i have searched over internet but could not find any solution.
I: Using Apktool 2.2.1 on theme.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Abuzar Shaheen\AppData\Local\apkto
ol\framework\1.apk
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 4. You must install proper fra
mework files, see project website for more info.
Click to expand...
Click to collapse
i am using framework-res from marshmallow as framework id :1
and SemcGenericUxpRes.apk as id:2
but what should i use as id:4 .
Thanks XDA-Community..

Apktool error

Hi all guys
I read all the guides I found
And I can't find why I got an error
D:\>D:\apktool d -f D:\SecSettings.apk
I: Using Apktool 2.4.1 on SecSettings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\office\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files.
D:\>D:\apktool b D:\SecSettings
I: Using Apktool 2.4.1
W: Could not find sources
I: Checking whether resources has changed...
I: Copying raw resources...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
in fact . The app does not work. Even without changing anything.
phone : samsung Young android 4.1.2
app : SecSettings.apk
dvash01 said:
Hi all guys
I read all the guides I found
And I can't find why I got an error
D:\>D:\apktool d -f D:\SecSettings.apk
I: Using Apktool 2.4.1 on SecSettings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\office\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files.
D:\>D:\apktool b D:\SecSettings
I: Using Apktool 2.4.1
W: Could not find sources
I: Checking whether resources has changed...
I: Copying raw resources...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
in fact . The app does not work. Even without changing anything.
phone : samsung Young android 4.1.2
app : SecSettings.apk
Click to expand...
Click to collapse
You need to install your framework-res.apk into apktool first.
Code:
apktool if framework-res.apk
Then try to decompile your settings app. After you've made your changes and recompiled the app, open the original apk and your new apk in WinRAR or 7zip, and copy meta-info folder & AndroidManifest.xml from the original apk to your new one. Drag it from one apk to the other, don't extract them at all. This will resign your app with the original system signature. This is usually needed if you're working on system apps or you'll get a bootloop and/or force closes. Hope this helps!
Spaceminer said:
You need to install your framework-res.apk into apktool first.
Code:
apktool if framework-res.apk
Then try to decompile your settings app. After you've made your changes and recompiled the app, open the original apk and your new apk in WinRAR or 7zip, and copy meta-info folder & AndroidManifest.xml from the original apk to your new one. Drag it from one apk to the other, don't extract them at all. This will resign your app with the original system signature. This is usually needed if you're working on system apps or you'll get a bootloop and/or force closes. Hope this helps!
Click to expand...
Click to collapse
Thanks my friend for the answer
I did
And if I do as you say. I get more errors See:
D:\>D:\apktool b D:\SecSettings
I: Using Apktool 2.4.1
W: Could not find sources
[Fatal Error] :1:1: Content is not allowed in prolog.
I: Checking whether resources has changed...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
That's why I also took the resources.arsc file from the original
And so I only get this error
dvash01 said:
You need to install your framework-res.apk into apktool first.
Thanks my friend for the answer
I did
And if I do as you say. I get more errors See:
D:\>D:\apktool b D:\SecSettings
I: Using Apktool 2.4.1
W: Could not find sources
[Fatal Error] :1:1: Content is not allowed in prolog.
I: Checking whether resources has changed...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
That's why I also took the resources.arsc file from the original
And so I only get this error
Click to expand...
Click to collapse
So if I understand you try to decompile and APK and it doesn't work ?
Usually it means that you've made an error modifying your APK.
You already tried to decompile-recompile your APK without modifying anything, but I'll ask you to do it once again, just enter those commands:
apktool d [name of the app].apk
apktool b [name of the app].apk -c
(-c allows to keep the original signature when recompiling)
Tell me if you go an error.
Also, when doing that, don't move any other file in the the decompiled apk, I need to know what happens when the only thing you do is decompile-recompile.
Thanks !
Raiz said:
So if I understand you try to decompile and APK and it doesn't work ?
Usually it means that you've made an error modifying your APK.
You already tried to decompile-recompile your APK without modifying anything, but I'll ask you to do it once again, just enter those commands:
apktool d [name of the app].apk
apktool b [name of the app].apk -c
(-c allows to keep the original signature when recompiling)
Tell me if you go an error.
Also, when doing that, don't move any other file in the the decompiled apk, I need to know what happens when the only thing you do is decompile-recompile.
Thanks !
Click to expand...
Click to collapse
First of all thank you very much for your patience
I tried to disassemble without changing anything
Now I added C as you said
That's what came out
D:\>D:\apktool d -f D:\SecSettings.apk
I: Using Apktool 2.4.1 on SecSettings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\משרד\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
D:\>D:\apktool b D:\SecSetting -c
-c/--copy-original has been deprecated. Removal planned for v2.5.0 (#2129)
I: Using Apktool 2.4.1
brut.directory.DirectoryException: java.io.FileNotFoundException: D:\SecSetting (The system cannot find the file specified)
And if I add the two original files,
AndroidManifest.xml resources.arsc
that's what came out
D:\>D:\apktool b D:\SecSettings -c
-c/--copy-original has been deprecated. Removal planned for v2.5.0 (#2129)
I: Using Apktool 2.4.1
W: Could not find sources
I: Checking whether resources has changed...
I: Copying raw resources...
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
But please explain to me
Opening Is Not An Error
W: Skipping "android" package group

Categories

Resources