[Q] How to remuve menus from settings.apk? - Android Q&A, Help & Troubleshooting

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

Related

[Q] SystemUI is killing me with force close..please help

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

[Q] App isnt installed message.

I just finished cooking a ROM, but when I touch the messaging app shortcut it says the App isnt installed. Meanwhile if I go and open it up from applications menu it opens up without a problem.
I would like the rom to install without this problem. I think it could be that the shortcut is pointing somewhere else and not to the actual application location.
Any advice on this?
Thanks in advance.
RedSpyderX said:
I just finished cooking a ROM, but when I touch the messaging app shortcut it says the App isnt installed. Meanwhile if I go and open it up from applications menu it opens up without a problem.
I would like the rom to install without this problem. I think it could be that the shortcut is pointing somewhere else and not to the actual application location.
Any advice on this?
Thanks in advance.
Click to expand...
Click to collapse
Remove shortcut maybE its WRONG LINK SHORTCUT Remove nd make new !!!!!
forever king said:
Remove shortcut maybE its WRONG LINK SHORTCUT Remove nd make new !!!!!
Click to expand...
Click to collapse
I mean in a Rom developing way. I know I can remake the shortcut and it will work.
I need to know if theres a way to edit the shortcuts targets inside the android config files.
RedSpyderX said:
I mean in a Rom developing way. I know I can remake the shortcut and it will work.
I need to know if theres a way to edit the shortcuts targets inside the android config files.
Click to expand...
Click to collapse
if permanently den open .apk and rind maniefist. (or sumthing ) den goto 'label' tag change apk name of installing. if u wanna change link search like 'proccess.mms.xxx' replace all like 'process.phone.xxx'
Hey, I am having a different problem but still apk problem, I am Modding the stock keyboard ics apk, I just unzipped it changed the icons and then rezipped into a apk but it won't install the apk, during installation it says app not installed. Can anyone help me, thanks
------------
Sent from a I9000 running Avengers Rom
------------
If I helped you hit thanks
W1nst0n said:
Hey, I am having a different problem but still apk problem, I am Modding the stock keyboard ics apk, I just unzipped it changed the icons and then rezipped into a apk but it won't install the apk, during installation it says app not installed. Can anyone help me, thanks
------------
Sent from a I9000 running Avengers Rom
------------
If I helped you hit thanks
Click to expand...
Click to collapse
u hav to decompil , .modify, compil app thru apktool!$! as if _u unizp! values folder desappers
ps-: mayb u did wrong settings so apk can't install!!
forever king said:
u hav to decompil , .modify, compil app thru apktool!$! as if _u unizp! values folder desappers
ps-: mayb u did wrong settings so apk can't install!!
Click to expand...
Click to collapse
When I use apk tool it says can not decompile
------------
Sent from a I9000 running Avengers Rom
------------
If I helped you hit thanks
W1nst0n said:
When I use apk tool it says can not decompile
------------
Sent from a I9000 running Avengers Rom
------------
If I helped you hit thanks
Click to expand...
Click to collapse
download and extract in 1 folder
code.google.com/p/android-apktool/downloads/detail?name=apktool-install-windows-r04-brut1.tar.bz2
^ maybe u have to install it xD
forum.xda-developers.com/attachment.php?attachmentid=958390&d=1332349570
place .apk in folder , open cmd at directory ( fr win 7 pres n hold ' shift ' n prezs right click n click on open command prop here ' and type fr xample ' apktool d phone.apk ' fr compile type 'apktool b phone ' <<not .apk in it

[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

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

[Q] Need help about modded game apk file.

How can i delete or edit this (screenshot) types of starting text line on any game apk files?
By opening and editing ever game apk or hunting It down in the system apks.
From the looks it is common for this OEM and others from this region of the world.
zelendel said:
By opening and editing ever game apk or hunting It down in the system apks.
From the looks it is common for this OEM and others from this region of the world.
Click to expand...
Click to collapse
I cant understand sir, what are u saying.
I just want Remod the moded apk.
Can you help me how can i do that???
Khem Chand said:
I cant understand sir, what are u saying.
I just want Remod the moded apk.
Can you help me how can i do that???
Click to expand...
Click to collapse
I did. You will have to rip apart every apk in the os to find it. It is not just one apk. It's built into the whole OS

Categories

Resources