How do I remove entries in secsettings.apk - Galaxy Ace II Q&A, Help & Troubleshooting

I own a Galaxy Ace IIx and I would like to remove two menu entries in secsettings.apk (my ROM is deodexed). I already know how to decompile it with apktool and I know how to edit XML files once the app is decompiled but I don't know where to look (in which XML file), in order to remove these two two entries.
Here's a screenshot, I circled in white what I want to remove:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Does anyone know where to look? It's just that those two menu entries requires SamsungApp to be installed in order to work but I removed SamsungApp because I wanted to debloat my phone. Now the SecSettings app crash each time I select one of those entries. I know it's just a minor hassle but anyway, maybe someone can help me..

Nico3d3 said:
I own a Galaxy Ace IIx and I would like to remove two menu entries in secsettings.apk (my ROM is deodexed). I already know how to decompile it with apktool and I know how to edit XML files once the app is decompiled but I don't know where to look (in which XML file), in order to remove these two two entries.
[ยท] Now the SecSettings app crash each time I select one of those entries. I know it's just a minor hassle but anyway, maybe someone can help me..
Click to expand...
Click to collapse
Whoa, I failed trying to address the same issue (in Gingerbread though)...
Apparently, the security section isn't generated from a single file but from a sequence of them... and I haven't found the Samsung part either...

For now, the stock ROM isn't so bad after removing all bloatware but I really hope the CM11 version will be completed soon. There's already someone doing great work on it, but bluetooth isn't working yet.

Related

[Q] Contacts.apk Padding and Spacing

Hi.
I've started to theme my sgs with darky v9.5 for my needs.
And now I also wanna mod the app's xml-files.
I read about it in some tutorials and I understand that trying is the best to learn.
But I have 2 starter-questions:
1.) For example I have a concrete modding-wish: The padding on the sides of the contact list seems very annoying to me. (Pointed in pic). I wanna reduce it and downsize the whole list to get faster overview. Somebody already modded this or knows the xml-file to do?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2.) Modding (esp. system apks) seems to be very time-consuming, because as far as I know the changes can't be viewed directly (with any tool), but the apk have to be pushed to phone and reboot.
Is there a way of faster modding / previewing the changes with the emulator or sth?
Thanks for your help,
Max
pullmoll89 said:
2.) Modding (esp. system apks) seems to be very time-consuming, because as far as I know the changes can't be viewed directly (with any tool), but the apk have to be pushed to phone and reboot.
Is there a way of faster modding / previewing the changes with the emulator or sth?
Thanks for your help,
Max
Click to expand...
Click to collapse
I dont know any faster method.
I know something that could help you in situation while you are hammering your head against the wall, I mean -> you just 'cant get the layout right, no matter you try'
Before I begin:
You would need to be familiar with eclipse and creating layouts there.
So..
Create new android project in eclipse
edit layout.xml; paste the contents of the file you are modding...
Workaround all errors that WILL happen
You will see layout rendered in xml file wysiwyg...
Its not easy, but if NOTHING works, it really helps.
This was the thing I did while modding the phone to have big caller picture...
Thanks, if nothing else works, I'll try this
Max

Edit phone.apk??

Any chance someone can edit the stock odex phone.apk and insert this image for the unknown number png, please?? I dont like the stock silhouette guy.. Thank you.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ummmm.. 7zip! Lmfao
Contacts.apk/res/drawable-hdpi/contacts_default_*.png
It should work like that right? Even though its odex version. Because I always had problems when I used 7zip and replaced some png images on odex files..
noodles2224 said:
It should work like that right? Even though its odex version. Because I always had problems when I used 7zip and replaced some png images on odex files..
Click to expand...
Click to collapse
Deodex the apk (contacts/phone apks & dependancies), make your edits, & re-odex? Or just go deodexed? xD
Sorry for l8 reply, been busy & hardly on xda xD
Yeah if needed, apk sign it. There are a couple new ics work around out. I am actually going to rip it open soon and change the picture compression. Those pictures in aosp are too big!
noodles2224 said:
Any chance someone can edit the stock odex phone.apk and insert this image for the unknown number png, please?? I dont like the stock silhouette guy.. Thank you.
Click to expand...
Click to collapse
This might help.
Ive done it before, its a PITA and very tedious. Dont rush it. Oh and get a custom deodexd rom flashed already

stock /system/app folder needed - with all apps and .odex files - NO THEME please.

I have the stock framework, but since I used the motomoto theme, alot of apps are themed.
If someone with a i317 could copy their /system/app folder, zip it up and send it to me, i would be much appreciative. That was I can get out a stock de-odedex files with an extended power menu.
Its already done on mine, its just all my stuff is themed at the moment.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No one? Really? Its only been an hour but cmon.
few min ill have it on db
https://www.dropbox.com/s/28najjcic3k4s7o/framework-res.apk
Not sure if I got it from the right place (system/framework) but here you go:
https://www.dropbox.com/s/a21flhlxt80wg91/framework-res.apk
That's the right place. And I assume both of these are stock?
I'm on my way home now. Give me a few hours and I'll have them up.
im rooted thats all. pulled them to my db a few min ago
drksilenc said:
im rooted thats all. pulled them to my db a few min ago
Click to expand...
Click to collapse
Same.
Ah crap. I need more files than that. I themed to many. I'll get a hold of them somehow
Unless one of you guys who is stock, no theme will zip up your entire /system/app folder and send it to me?
Send me a PM with what you need.
nevermind... I just PM'd you with a link. if there's a problem with it, let me know - I also pulled a copy of the non-sparse partition that can be mounted via a loopback device.

Error Recompiling SemcPhone JB.200

hello,
I'm doing a black theme for Xperia S JB ...200
After dozens of attempts, I can not recompile the SemcPhone.apk
If anyone can help me by explaining the error
(The same error occurs even if I recompile without changing anything)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
stef67000 said:
hello,
I'm doing a black theme for Xperia S JB ...200
After dozens of attempts, I can not recompile the SemcPhone.apk
If anyone can help me by explaining the error
(The same error occurs even if I recompile without changing anything)
Click to expand...
Click to collapse
Delete the following folders and then try -
1.All folder starting with "values-mcc454".
2.values-pt-rpt
Then it will recompile properly. These folders are translations for some other language. I am not sure if the apk will work properly but no harm in trying
abcdjdj said:
Delete the following folders and then try -
1.All folder starting with "values-mcc454".
2.values-pt-rpt
Then it will recompile properly. These folders are translations for some other language. I am not sure if the apk will work properly but no harm in trying
Click to expand...
Click to collapse
it works!
Thank you very much for your help :good::good::good:
abcdjdj said:
Delete the following folders and then try -
1.All folder starting with "values-mcc454".
2.values-pt-rpt
Then it will recompile properly. These folders are translations for some other language. I am not sure if the apk will work properly but no harm in trying
Click to expand...
Click to collapse
Same thing here after doing as you said same error come up when recompiling

Any way to remove grey circle background from lockscreen shortcuts?

If anyone could offer some advice I'd be very grateful!
I used Unicon to apply an icon pack across my device, so my home screen currently looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My lockscreen on the other hand displays the shortcut icons in grey circles:
What I'd like to do is remove those grey circles such that the shortcuts look like the ones on my home screen. I do have G3 Tweaksbox but it doesn't seem to offer a solution to this.
Thanks!
Open "lgkeyguard.apk" in /system/priv-apps/
via apk-decompile / winrar (extract the res/drawable-xxxhdpi folder)
Search the picture corresponding with the background you want to change.
Copy the recompiled apk back after recopying the picture.
Done.
-Rye- said:
Open "lgkeyguard.apk" in /system/priv-apps/
via apk-decompile / winrar (extract the res/drawable-xxxhdpi folder)
Search the picture corresponding with the background you want to change.
Copy the recompiled apk back after recopying the picture.
Done.
Click to expand...
Click to collapse
Great, thanks! Unfortunately I've never dealt with decompiling/recompiling apk's before, so I'll have to approach this stuff carefully. I actually can't find lgkeyguard.apk in /system/priv-app/ using Root Browser though - is it possible that is has a different name / location in Lollipop?
/system/priv-app/LGKeyguard.apk
is the exact path for me (KK 4.4.2)
You could do a search for it using your filebrowser if it isn't there in LP.
Replacing pictures in apk files via Winrar is rather save.
I'd suggest that if you haven't tinkered with apk's b4.
Thanks for the advice, I appreciate it!

Categories

Resources