[Q] Help adding menus to Setting app - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hello,
I've been trying to add a section to Settings, but whenever I recompile the app and push, setting permissions, it to my phone, my device will say "App not installed". I've just added a few lines to settings.xml, and then stated the string on values/strings.xml. It gives no error when recompiling, am I doing something wrong?
Thanks in advance.

ImSoBored said:
Hello,
I've been trying to add a section to Settings, but whenever I recompile the app and push, setting permissions, it to my phone, my device will say "App not installed". I've just added a few lines to settings.xml, and then stated the string on values/strings.xml. It gives no error when recompiling, am I doing something wrong?
Thanks in advance.
Click to expand...
Click to collapse
You have to sign the apk coz android won't allow unsigned apk to be the system app. Use signapk for signing the apk file. Its very common tool for signing u can find it in the forums or just Google it.
Sent from my GT-S5830 using xda premium

BhawaniSingh said:
You have to sign the apk coz android won't allow unsigned apk to be the system app. Use signapk for signing the apk file. Its very common tool for signing u can find it in the forums or just Google it.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Thanks, but it didn't work. I thought system apps didn't have to be signed unless AndroidManifest was touched...

That true
To add links to mai settings.xml
Make sure the packagenames are correct of the apk you want to link in the settings
An also add proper strings and icon resources
Sent from my GT-S5830 using xda premium

DeadSp1d3r said:
That true
To add links to mai settings.xml
Make sure the packagenames are correct of the apk you want to link in the settings
An also add proper strings and icon resources
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
With that's true, you mean signing the apk? I tried to sign it still, but still no luck. Thanks

ImSoBored said:
With that's true, you mean signing the apk? I tried to sign it still, but still no luck. Thanks
Click to expand...
Click to collapse
No sign apk
Did u replaced your res folder of compiled apk !
Sent from my GT-S5830 using xda premium

Related

Help with Pushing apps

Ok so I am trying to get friend stream to work in the new fresh rom. I got the apk from damages rom along with the widget. In cmd I successfully push the apps /system/app/ after typing in adb remount. However after I reboot the app is not there. How do I get this to work? Also was wondering how to port a system app from a darchlegend rom to work on any other rom. Any advice is welcome.
-------------------------------------
Sent via the XDA Tapatalk App
Wont work, period. It needs an .odex for both the widget and the normal .apk for it to work in the latest release.
Wont work, period. It needs an .odex for both the widget and the normal .apk for it to work in the latest release.
Click to expand...
Click to collapse
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompiling?
-------------------------------------
Sent via the XDA Tapatalk App
rejectedkid said:
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompiling?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
If you want to learn, you tell me where you think it goes...
Ok I can pull the odex file but where does that go? Or is that something created when the apk is compiled if so any good tuts for editing and recompil
Click to expand...
Click to collapse
If you want to learn, you tell me where you think it goes...
Click to expand...
Click to collapse
I suppose I will search the forums. Was just being lazy.
-------------------------------------
Sent via the XDA Tapatalk App
I was kind of hoping TitaniumBackup would give me this one...
I can't find the odex...
But I read from the other Hero forum that Friendstream may require an update package.

Changing apps names?

Is it possible to change the name of the apps? Like I am having Merriam Webster Unabridged and Medical too.. But the two apps are shown as "Medical" n "Unabridged" which has moved the apps in the app drawer to different positions.. I want to add "Merriam Webster" in front of their names.. Is it possible?
Sent from my Nexus One using XDA App
You should create a folder and put those apps in there. They'll be right next to each other.
If you have apk of that app, you can unpack it using apktool (search on google) .. change it's name in xml file, pack it back, sign and install it to phone.
El Daddy said:
You should create a folder and put those apps in there. They'll be right next to each other.
Click to expand...
Click to collapse
Yeah I know this but I dont want to create folders..
Sent from my Nexus One using XDA App
houmles said:
If you have apk of that app, you can unpack it using apktool (search on google) .. change it's name in xml file, pack it back, sign and install it to phone.
Click to expand...
Click to collapse
Ok.. Thnx.. I'll try..
Sent from my Nexus One using XDA App
With FolderOrganizer you can customize the name. You go into the program, and rename the app you want. Then instead of adding the app directly to the desktop, you press and hold, and add a shortcut, a FolderOrganizer shortcut, then choose the app you just renamed.
You can also customize the icon this way.
houmles said:
If you have apk of that app, you can unpack it using apktool (search on google) .. change it's name in xml file, pack it back, sign and install it to phone.
Click to expand...
Click to collapse
Can you plz tell which xml file are you talking about.. There is one androidmanifest.xml file.. But I cant find where to change the name.. Is it the correct file you were talking about?
Sent from my Nexus One using XDA App
Really, give FolderOrganizer a try. It is a very simple way to do it. You are trying to use a sledgehammer when a screwdriver would do.
I think FolderOrganizer will be perfect for what you need.

Where is it???

Hi,
So guys I just want to ask you where is the file that contains the original settings of :
1.app(any apk)
2.rom
(I know some settings could be set through build.prop)
Thank ya all in advance, the thanks button is reserved for all who have something to say here.
Sent from my GT-S5830 using xda premium
Huh Wat do u mean by original settings maybe for app try clearing data of app?
Sent from my GT-S5830 using xda premium
Sikorsky96 said:
Hi,
So guys I just want to ask you where is the file that contains the original settings of :
1.app(any apk)
2.rom
(I know some settings could be set through build.prop)
Thank ya all in advance, the thanks button is reserved for all who have something to say here.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Its not one file. Its a set of folders. All user settings and data is stored in /data
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
Explain a bit please Search in /system/app and /data/data and /data/app
And if u get the correct dir then u will see a bunch of .so files
Sent from my GT-S5830 using xda premium
Well basically I want to modify an apk. Launcherpro.apk for example. I Meant the default settings. E.g by default the ani speed of launcherpro is set to 4 I wanna change it to 6 for example. By the way I know that This could be done once the app is installed either by changing it in the settings menu of the app itself or modifying the XML file in data/data/com.fede.launcher/shared_prefs. so long story short I want to modify the default settings of an app just any.
Hope that's clear enough. Cheers everyone!!!
Sent from my GT-S5830 using xda premium
Well, it depends on how the app works. Decompiling, editing and recompiling seems to be what you're lpoking for. You need to know how the app works to know where to start screwing with it.
If you're looking to do it for a rom or flashable zip, flashing the app's external data (/data/data for example) to the correct location will keep its settings. For example, use an app, change settings, go to data/data and extract the app's data, put it in your flashable zip and edit the updater-script of the zip to mount /data and flash the app's data to /data/data.
Oki, cheers bro. Yes I am looking into compiling apps. Well I have extracted a couple of apps and they all seem to have the same basics. Same folders and stuff. What I thought it would be like is that it might have some sort of XML file named style or settings or preferences or ... and all the default values are stored there which could be modified. Like I said I find such file in the data directory of an app but is there a simular file in the actual apk
Sent from my GT-S5830 using xda premium
Settings.xml
Then you can change some stuff but not all
Others are in the smali
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Settings.xml
Then you can change some stuff but not all
Others are in the smali
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Cheers bro. Ill try that out right away
Wish me luck
=============
Where is it though can't find it. Where are these kinda file normally stored. And more thing when I open some xmls it's full of question mark signs. What is the correct way of opening these xmls. I opened them with dreamweaver cs5.
Sent from my GT-S5830 using xda premium
Sikorsky96 said:
Cheers bro. Ill try that out right away
Wish me luck
=============
Where is it though can't find it. Where are these kinda file normally stored. And more thing when I open some xmls it's full of question mark signs. What is the correct way of opening these xmls. I opened them with dreamweaver cs5.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
it should be under the layout folder.
masterex567 said:
it should be under the layout folder.
Click to expand...
Click to collapse
no its in res/xml/settings.xml
first decompile the apk with apktool
oh yup.
y was i daydreaming.
Ok great. Cheers guys. now how do I open these files. I mean if this is a XML then why does it show some weird unreadable characters ? is there a special way for opening XML files in android or to be precise in android apps
Sent from my GT-S5830 using xda premium
Sikorsky96 said:
Ok great. Cheers guys. now how do I open these files. I mean if this is a XML then why does it show some weird unreadable characters ? is there a special way for opening XML files in android or to be precise in android apps
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Try notepad++, it supports lots of formats and funky sht.
You seem to be a newbie. Try reading some more. You just cannot decompile apks, open/edit them and recompile without errors. I suggest you try basic modding first. Then go for smali.
Just my suggestion though!
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
It's a fact which can't be denied but Im absolutely willing to learn I mean this is why I'm here so where would you suggest I shall start from? Any references anything would be appreciated bro.
Cheers!!!
Sent from my GT-S5830 using xda premium
Well as i said. Try basic moding first..
Try to understand apks.
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________

edit & sign ur apk "application not install problem" (for newbi)

hi,guys.. i know all of you wanna create or mod an android apps and wanna use it or share.
i think newb like me already tried to change the image files from res folder of apk but the problem is edited apk files just dont install,it always say application not installed,the problem is the apk isn't signed,you have to sign it.. most of newb dont know how to sign apk. so here is an android app "ZIP SIGNER" it can sign your apk file. in this app just input your edited apk and chose output location and press Sign,and your apk will be signed. and you will be able to install your edited apk...... so try it.
here is the link www.4shared.com/android/rIOfv0YR/zip_signer.html
press the THANK button is my post was helpfull
Thank you for the application
dr_crx said:
Thank you for the application
Click to expand...
Click to collapse
Welcome
Thanks after testing..
Sent from my GT-S5360 using xda premium
Is there another site I can download from?
Sent from my HTC Desire HD using Tapatalk 2
mushtafa said:
Is there another site I can download from?
Sent from my HTC Desire HD using Tapatalk 2
Click to expand...
Click to collapse
there u go dropbox link http://db.tt/aYHqo4OY
But we can edit system apps.
And no need sign it..
Signing requires only for 3rd party applications.
Sent from my GT-S5360 using xda premium
jerryn70 said:
But we can edit system apps.
And no need sign it..
Signing requires only for 3rd party applications.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yeah and this only used only for edit 3rd party app...
hmahadi98 said:
hi,guys.. i know all of you wanna create or mod an android apps and wanna use it or share.
i think newb like me already tried to change the image files from res folder of apk but the problem is edited apk files just dont install,it always say application not installed,the problem is the apk isn't signed,you have to sign it.. most of newb dont know how to sign apk. so here is an android app "ZIP SIGNER" it can sign your apk file. in this app just input your edited apk and chose output location and press Sign,and your apk will be signed. and you will be able to install your edited apk...... so try it.
here is the link www.4shared.com/android/rIOfv0YR/zip_signer.html
press the THANK button is my post was helpfull
Click to expand...
Click to collapse
Can you please explain in detail. how to sign by using what???
GLADS said:
Can you please explain in detail. how to sign by using what???
Click to expand...
Click to collapse
I Will tell you.
1) do you know how to change application icons and backgrounds. (if no reply me i Will tell you.)
2)after editing the icons,backgrounds when we try to install the app it shows app not installed.
3)so before installing the app open the signer and browse the app that you have edited.
4) click sign.
5)after signing the edited apk the signer Will popup signing completed.
Then go to my files you Will see your signed apk.
If you signed opera.apk
The you Will see opera.apk and opera_signed.apk.
Install opera_signed.apk.
The app Will install successfully..
Hit thanks if i helped you!
jerryn70 said:
I Will tell you.
1) do you know how to change application icons and backgrounds. (if no reply me i Will tell you.)
2)after editing the icons,backgrounds when we try to install the app it shows app not installed.
3)so before installing the app open the signer and browse the app that you have edited.
4) click sign.
5)after signing the edited apk the signer Will popup signing completed.
Then go to my files you Will see your signed apk.
If you signed opera.apk
The you Will see opera.apk and opera_signed.apk.
Install opera_signed.apk.
The app Will install successfully..
Hit thanks if i helped you!
Click to expand...
Click to collapse
Okay How to change icon and background?
By the way is this signing process important for creating your own mod?
Extract the application using 7zip and change the icons in the res folder.
After changing the icons right click the application .apk - open archive
And drag the modified res to it and click ok if it ask to replace.
Then copy app to phone and sign it.
HIT THANKS IF I HELPED YOU!
jerryn70 said:
Extract the application using 7zip and change the icons in the res folder.
After changing the icons right click the application .apk - open archive
And drag the modified res to it and click ok if it ask to replace.
Then copy app to phone and sign it.
HIT THANKS IF I HELPED YOU!
Click to expand...
Click to collapse
Yes, very helpful!
Now I can sign apps with new icon
Thanks so much!
I dont know how to thank you. You saved my life
thank dude
thank,,it is so simple ,,
Yes it is
m.h.mahadi said:
Yes it is
Click to expand...
Click to collapse
Not working for handcent SMS, didnt try any other..
Whats wrong ?
Working great here! Thank You!!!
great!
nice app.so now i can edit 3rd party app and sign it using this.thanks man!i tried editing application name but after editing using apktool it says "application not installed" even i already copied the META-INF folder in my edited apk.but using this app,it did install.hehe.
Apk Modding
Nice Work..:good:

How to change text below the toggle buttons

i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium

Categories

Resources