[Q] SystemUI is killing me with force close..please help - Android Q&A, Help & Troubleshooting

Hello,
I added a language values folder to the systemui.apk and then compile it back.
but always force close .
I am using honeycomb 3.2 and tried many apktools to do so.
any help will be nice.
thanks.

did you check the permissions settings ?

logic5 said:
Hello,
I added a language values folder to the systemui.apk and then compile it back.
but always force close .
I am using honeycomb 3.2 and tried many apktools to do so.
any help will be nice.
thanks.
Click to expand...
Click to collapse
system folders shouldn't be signed. Make sure you didn't sign it.

jonnypinkeyes said:
did you check the permissions settings ?
Click to expand...
Click to collapse
sorry, I don't know where are the permissions settings .
lithid-cm said:
system folders shouldn't be signed. Make sure you didn't sign it.
Click to expand...
Click to collapse
I Decompiled with dependencies.. then edited what I need then compile then the tool asked if it is a system apk I said yes then I deleted the recources.arsc and compile.
when the system boot I get a force close then the system bar disappear.
any idea please.
thanks

Related

[Q] How to remuve menus from settings.apk?

i want to ask if any body tried already to remove menus from settings like i want to hide the about phone on stock settings.apk deodexed on jb 4.2 i want to get rid of some menus in my settings i ported dakele os to mtk6589 so i would like to ask if how to? since it is a ported rom some of the menus are not a feature of my stock rom and i want to hide or remove them just to prevent boot loop for example like this in the attachment below i want to get rid of the ad block or sensor_cali .. ..
i badly need help kinda excited to release my ported rom hehe
TIA:good::fingers-crossed:
uppdate: ive done some experement in settings_header.xml i tried to change the name of about phone to phone only and it works so my conclusion is settings_headers changes the appearance of the settings menu
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
iamareebjamal said:
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
Click to expand...
Click to collapse
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
marc2777 said:
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
Click to expand...
Click to collapse
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
iamareebjamal said:
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
Click to expand...
Click to collapse
sorry gotta bad english here tnx gonna check it out
marc2777 said:
sorry gotta bad english here tnx gonna check it out
Click to expand...
Click to collapse
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
XperienceD said:
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
Click to expand...
Click to collapse
since im using multi tool i dont know if that resource.asrc is original from my original apk for example i already compiled my modded settings.apk shud i keep the resource.asrc or shud i get the resource.asrc from the original and unmodded settings.apk?
1757 fuchet
iamareebjamal said:
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
Click to expand...
Click to collapse
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
marc2777 said:
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
Click to expand...
Click to collapse
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
iamareebjamal said:
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
Click to expand...
Click to collapse
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
marc2777 said:
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
Click to expand...
Click to collapse
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
iamareebjamal said:
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
Click to expand...
Click to collapse
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
marc2777 said:
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
Click to expand...
Click to collapse
Upload your apk.
XperienceD said:
Upload your apk.
Click to expand...
Click to collapse
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
marc2777 said:
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
Click to expand...
Click to collapse
Access denied?
XperienceD said:
Access denied?
Click to expand...
Click to collapse
access denied ? where sir? in the links?
marc2777 said:
access denied ? where sir? in the links?
Click to expand...
Click to collapse
Works now, but no Settings.apk?
XperienceD said:
Works now, but no Settings.apk?
Click to expand...
Click to collapse
o my god my settings.apk is gone reuploading demet

[Q][Help] Recompile/Decompile apk's

Hi guys !
I'm having a problem recompiling the systemui.apk, i'm modding some .xml files and everything goes fine, it recompiles ok but when i push it to my phone there's no change i decompile the modified apk and the xml files aren't change either it's like i didn't change anything from them.
Every single time a recompile an apk it goes back to normal
Does anyone else has that problem or is just me , and does someone knows how can i fix that problem?
INFO :
Windows 8 pro
Using : Apktool , Auto apktool and tickle my android (in all of them i get that same problem)
Thanks in advance, regards
Give the Command Prompt Editing section a read, might clear it up. - [Advice/Reference/Guide] The Definitive APK Modding & Theming Thread...
XperienceD said:
Give the Command Prompt Editing section a read, might clear it up. - [Advice/Reference/Guide] The Definitive APK Modding & Theming Thread...
Click to expand...
Click to collapse
Already read it and that's what i've been doing, and like i said the changes aren't saved. Every time i delete o put some codes in the xml file with notepad++ i save them but after i recompile the apk i decompile it again to check if everything's alright but the files look like the original ones.
monster30 said:
i decompile it again to check if everything's alright but the files look like the original ones.
Click to expand...
Click to collapse
Is this apk in the dist folder?
XperienceD said:
Is this apk in the dist folder?
Click to expand...
Click to collapse
Yep. I really don't know why i can't make it work a week ago i didn't have this problem. (i didn't change anything in my laptop etc)
Sent from my WT19i using xda premium
..
monster30 said:
Yep. I really don't know why i can't make it work a week ago i didn't have this problem. (i didn't change anything in my laptop etc)
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
here, pls try this to de-/recompile using his TuT; BUT recompile TuT has a bug:
''apktool b -f -d semcmusic.apk ( can be whatever name you give to your apk )'' <-- justtype in without ''.apk'' --> will work
i use this mostly bcuz for me, it dont maked any problem's (like some other tools), also allways work
bejunk said:
here, pls try this to de-/recompile using his TuT; BUT recompile TuT has a bug:
''apktool b -f -d semcmusic.apk ( can be whatever name you give to your apk )'' <-- justtype in without ''.apk'' --> will work
i use this mostly bcuz for me, it dont maked any problem's (like some other tools), also allways work
Click to expand...
Click to collapse
i tried that one a couple of times and it didn't worked ,right now i try it again and the changes were saved but when i push it to my phone the status bar was gone (i did copy the META.INF folder to the new apk)
monster30 said:
i tried that one a couple of times and it didn't worked ,right now i try it again and the changes were saved but when i push it to my phone the status bar was gone (i did copy the META.INF folder to the new apk)
Click to expand...
Click to collapse
and this apktool says recopiling was fine??
also: which rom is this systemUI from; what for a mod u will do?? (will try it on my pc, maybe the problem is win8 ?)
bejunk said:
and this apktool says recopiling was fine??
also: which rom is this systemUI from; what for a mod u will do?? (will try it on my pc, maybe the problem is win8 ?)
Click to expand...
Click to collapse
Yep, the recompile goes ok. I wanna change the toggle icons and wanna move the icons in the status bar.
And actually ticklefish already help me with that and when i push it nothing happen either, so i don't think it's a prob with win8 cuz before i didn't had that problem, it started this week
The systemUi is from honami i1 rom from aneel, i already install the framework from the rom.
Sent from my WT19i using xda premium

recompile apk

can you help me to recompile phone.apk with one change.
garik345 said:
can you help me to recompile phone.apk with one change.
Click to expand...
Click to collapse
Not really re-compiling, but have you tried xposed framework yet?
chicguy said:
Not really re-compiling, but have you tried xposed framework yet?
Click to expand...
Click to collapse
No, xposed framework bad to use with miui based rom.
garik345 said:
No, xposed framework bad to use with miui based rom.
Click to expand...
Click to collapse
So what do you want to do? de-compile Phone.apk, edit some files, then re-compile it? With apktool, right?
artit said:
So what do you want to do? de-compile Phone.apk, edit some files, then re-compile it? With apktool, right?
Click to expand...
Click to collapse
right, but when i want to do re-compile i get error.
i also take error when re-compile without changes.
garik345 said:
right, but when i want to do re-compile i get error.
i also take error when re-compile without changes.
Click to expand...
Click to collapse
Yes, I got that error when I try to pack Setting.apk. It's because MIUI apk use some directory notation that not standard to apktool.
Ex. values-hugeui
I solve this by changing values-hugeui to values-xxhdpi (or maybe values-xhdpi, don't know that hugeui means exactly). If values-xxhdpi exists, you can try to merge all files and config in it.
garik345 said:
right, but when i want to do re-compile i get error.
i also take error when re-compile without changes.
Click to expand...
Click to collapse
May I correct my wrong answer, MIUI use its own apktool & aapt. So to rebuild MIUI apk you should add ~/path/to//miui/tools to your $PATH environment and it should be at the start of $PATH to override other apktool & aapt.

Top Notification Bar background color..

I previously had a Galaxy Tab that Ive used for 3 years with Android 2.3 that I customized almost everything, mainly on the framework-res.apk and system.apk.
On the Mega 6.3 running stock Android 4.2.2 I am trying to change the background color of the top Notification bar from the greyish tone it has now to just pure black but I cannot find the resource.. should be a PNG somewhere.. I thought to be on framework-res.apk but I dont seem to identify it.
Does anyone know which file it is or how to change the background color of the top Notification bar?
Thanks a lot in advance
what color you want i will edit system ui and upload it
zeyadhan said:
what color you want i will edit system ui and upload it
Click to expand...
Click to collapse
Hi, thank you very much!! I just want it to be pure black (RGB 0,0,0).
Thanks again a lot!
zeyadhan said:
what color you want i will edit system ui and upload it
Click to expand...
Click to collapse
Hi zeyadhan. Any news on this development or share what I would need to do? I can try give it a shot myself if these days you're busy Thanks again
too
VeEuzUKY said:
Hi zeyadhan. Any news on this development or share what I would need to do? I can try give it a shot myself if these days you're busy Thanks again
too
Click to expand...
Click to collapse
here is it http://www.mediafire.com/?mgv6t11i4431n57 after download complete copy apk to system and replace then reboot sorry for make you wait but i been too busy
VeEuzUKY said:
Hi zeyadhan. Any news on this development or share what I would need to do? I can try give it a shot myself if these days you're busy Thanks again
too
Click to expand...
Click to collapse
Can I install this on my unrooted i9205.....???
And if so.... can you give some instruction, please?
Thank alot!!!
jimmbomb said:
Can I install this on my unrooted i9205.....???
And if so.... can you give some instruction, please?
Thank alot!!!
Click to expand...
Click to collapse
no you need to root your phone first
zeyadhan said:
here is it http://www.mediafire.com/?mgv6t11i4431n57 after download complete copy apk to system and replace then reboot sorry for make you wait but i been too busy
Click to expand...
Click to collapse
First of all zeyadhan thank you very much!!!
It looks beautiful. Perfect!! Question, now I have a sticky ANDROID IS UPDATING.. Starting Apps pop-up every time I reboot the system just before the reboot is complete and the home screen comes up. Do you know why? Any way to get rid of it? No harm done, is just annoying and delays slightly the boot-up time..
Can you tell me what you modified on the APK so maybe I can try it do it myself later on a future OS upgrade?
Thanks again
VeEuzUKY said:
First of all zeyadhan thank you very much!!!
It looks beautiful. Perfect!! Question, now I have a sticky ANDROID IS UPDATING.. Starting Apps pop-up every time I reboot the system just before the reboot is complete and the home screen comes up. Do you know why? Any way to get rid of it? No harm done, is just annoying and delays slightly the boot-up time..
Can you tell me what you modified on the APK so maybe I can try it do it myself later on a future OS upgrade?
Thanks again
Click to expand...
Click to collapse
try flash new rom
decompile systemui.apk then go to res-values open drawables with notebad then find this
<item type="drawable" name="status_bar_background">#ff1e1e1e</item>
change it to this
<item type="drawable" name="status_bar_background">#ff000000</item>
then compile it and move it system
zeyadhan said:
try flash new rom
decompile systemui.apk then go to res-values open drawables with notebad then find this
<item type="drawable" name="status_bar_background">#ff1e1e1e</item>
change it to this
<item type="drawable" name="status_bar_background">#ff000000</item>
then compile it and move it system
Click to expand...
Click to collapse
zeyadhan, just to thank you very much for your help. Looks great and works great, aside from the permanent ANDROID IS UPDATING/ Starting Apps pop-up that now I have on every reboot.. I guess i need to live with it.. no idea how to fix it. Anyway, thanks again:laugh:
VeEuzUKY said:
zeyadhan, just to thank you very much for your help. Looks great and works great, aside from the permanent ANDROID IS UPDATING/ Starting Apps pop-up that now I have on every reboot.. I guess i need to live with it.. no idea how to fix it. Anyway, thanks again:laugh:
Click to expand...
Click to collapse
is your phone odexed or deodexd
zeyadhan said:
is your phone odexed or deodexd
Click to expand...
Click to collapse
In fact I have no idea how it goes. I am on stock ROM that I rooted, that's all. I do have ODEX files everywhere on system/apps.. whatever that means
VeEuzUKY said:
In fact I have no idea how it goes. I am on stock ROM that I rooted, that's all. I do have ODEX files everywhere on system/apps.. whatever that means
Click to expand...
Click to collapse
thats means that your rom is odexed you need to deodex your framework folder and app folder so android is updating massage will gone if that not solve the problem searsh on data folder for any odex file and delet it that solved my problem
zeyadhan said:
thats means that your rom is odexed you need to deodex your framework folder and app folder so android is updating massage will gone if that not solve the problem searsh on data folder for any odex file and delet it that solved my problem
Click to expand...
Click to collapse
So U mean just delete the ODEX files and restart the system?
VeEuzUKY said:
So U mean just delete the ODEX files and restart the system?
Click to expand...
Click to collapse
no if you do this you phone will stuck after reboot i mean deodex with any tool use dsixda's Android Kitchen
zeyadhan said:
no if you do this you phone will stuck after reboot i mean deodex with any tool use dsixda's Android Kitchen
Click to expand...
Click to collapse
OK, never done it and don't know how. I'll research it a bit and give it a try. Thanks much

Error while recompiling APK

Hello XDA brothers.
I am running Android APK MULTI TOOL for recompiling and decompiling an APK. When I decompile it, it goes smoothly. But when I attempt recompiling, it gives A LOT of errors stating at the end "... is not defined". This is not an after-mod error because I tried recompiling it right after decompiling, without even opening the decompiled folder. It still gives the same error. Kind of frustrating. So, can anyone help?¿
dominator96 said:
Hello XDA brothers.
I am running Android APK MULTI TOOL for recompiling and decompiling an APK. When I decompile it, it goes smoothly. But when I attempt recompiling, it gives A LOT of errors stating at the end "... is not defined". This is not an after-mod error because I tried recompiling it right after decompiling, without even opening the decompiled folder. It still gives the same error. Kind of frustrating. So, can anyone help?¿
Click to expand...
Click to collapse
comform that you have install proper framework and systemui
Vaibhav Chauhan said:
comform that you have install proper framework and systemui
Click to expand...
Click to collapse
I am not decompiling a system file. Its YA weather apk app. Do I still want the system ui and framework? Btw my phone's not rooted so is it possible to pull these files from phone?
dominator96 said:
I am not decompiling a system file. Its YA weather apk app. Do I still want the system ui and framework? Btw my phone's not rooted so is it possible to pull these files from phone?
Click to expand...
Click to collapse
you need to deodex this files and then install it to the tool then it will compile according to this apks
Vaibhav Chauhan said:
you need to deodex this files and then install it to the tool then it will compile according to this apks
Click to expand...
Click to collapse
Deodex a normal app which is available at PlayStore? :/ Is it possible?
dominator96 said:
Deodex a normal app which is available at PlayStore? :/ Is it possible?
Click to expand...
Click to collapse
nope its not contain odex files
Vaibhav Chauhan said:
nope its not contain odex files
Click to expand...
Click to collapse
But you just said to deodex them files -.- Hold on, lets start again.
I want to decompile a non-system apk file and then recompile. Decompile goes smooth but while recompiling, it states a BUNCH of errors saying "........ is not defined". This is what I want to fix about
dominator96 said:
But you just said to deodex them files -.- Hold on, lets start again.
I want to decompile a non-system apk file and then recompile. Decompile goes smooth but while recompiling, it states a BUNCH of errors saying "........ is not defined". This is what I want to fix about
Click to expand...
Click to collapse
no no
understand properly
firstvyou need to deodex systemui app and framework app
tthen install it to the multitool
then compile the other apps
it will be compile
Vaibhav Chauhan said:
no no
understand properly
firstvyou need to deodex systemui app and framework app
tthen install it to the multitool
then compile the other apps
it will be compile
Click to expand...
Click to collapse
Oh so that's it,
But my phone is not rooted. Can I use any system ui and framework or do I have to use only my phone's system ui and fframewok?
Vaibhav Chauhan said:
no no
understand properly
firstvyou need to deodex systemui app and framework app
tthen install it to the multitool
then compile the other apps
it will be compile
Click to expand...
Click to collapse
hey, can I use your system ui and framework to compile apps?
dominator96 said:
Oh so that's it,
But my phone is not rooted. Can I use any system ui and framework or do I have to use only my phone's system ui and fframewok?
Click to expand...
Click to collapse
yes can use non rooted phones apps but first deodex it
if you will use my phone's apps then it will run on my phone not in yours
Vaibhav Chauhan said:
yes can use non rooted phones apps but first deodex it
if you will use my phone's apps then it will run on my phone not in yours
Click to expand...
Click to collapse
I want to modify an APK and then share it with everyone. How can I make it applicable on all phones?
dominator96 said:
I want to modify an APK and then share it with everyone. How can I make it applicable on all phones?
Click to expand...
Click to collapse
sorry but it can not run on all phones
it will run in that phone on which you sign app or the similar phones

Categories

Resources