[HELP] Settings app not showing after edition - Android General

So, I started creating a custom ROM for my device, I edited '/system/priv-app/Settings/Settings.apk' signed with ZipSigner, as i saw a tutorial, i signed with one option marked as platform, then I replace the app and rebooted my phone. When I open menu, Settings is not showing anymore. What did I do wrong?
I'm using Android 5.0.2.
I just edited some strings and an image.
I'm just 'editing' a custom ROM with custom apps.
The ROM works perfectly in my phone and I just edited some things that were already modified by the porter of the ROM.
Can anyone help me?
Thanks everybody and sorry for bad english!

hadagalberto said:
So, I started creating a custom ROM for my device, I edited '/system/priv-app/Settings/Settings.apk' signed with ZipSigner, as i saw a tutorial, i signed with one option marked as platform, then I replace the app and rebooted my phone. When I open menu, Settings is not showing anymore. What did I do wrong?
I'm using Android 5.0.2.
I just edited some strings and an image.
I'm just 'editing' a custom ROM with custom apps.
The ROM works perfectly in my phone and I just edited some things that were already modified by the porter of the ROM.
Can anyone help me?
Thanks everybody and sorry for bad english!
Click to expand...
Click to collapse
What you're already edit mate?
Check again with apktool logcat. Does it true signed or get any problem when compile this apk?

Levered said:
What you're already edit mate?
Check again with apktool logcat. Does it true signed or get any problem when compile this apk?
Click to expand...
Click to collapse
The edited part is the phone info, I just edited the older developer name.
How to sign the apk with apktool?

hadagalberto said:
The edited part is the phone info, I just edited the older developer name.
How to sign the apk with apktool?
Click to expand...
Click to collapse
For my trick, i used stock signed folder(Meta-inf) into your new apk.

Levered said:
For my trick, i used stock signed folder(Meta-inf) into your new apk.
Click to expand...
Click to collapse
Thanks Man! This worked for me.

Related

[Q] framework-res.apk problem

In "framework-res.apk/res/layout" when I edit the "status_bar_expanded.xml",
even if I add one dot and delete it again and save the file, it doesn't work
anymore and it stucks on my bootanimation, and loops over and over.
I use "apk manager" for decompiling and compiling the framework-res.apk.
Does any one know what the problem is?
Thank you?
sohrab1985 said:
In "framework-res.apk/res/layout" when I edit the "status_bar_expanded.xml",
even if I add one dot and delete it again and save the file, it doesn't work
anymore and it stucks on my bootanimation, and loops over and over.
I use "apk manager" for decompiling and compiling the framework-res.apk.
Does any one know what the problem is?
Thank you?
Click to expand...
Click to collapse
what do you mean add one dot?
kay_kiat88 said:
what do you mean add one dot?
Click to expand...
Click to collapse
To the code obviously. ie he cant seam to save file without it breaking, even if removing what he added prior to saving.
TheATHEiST said:
To the code obviously. ie he cant seam to save file without it breaking, even if removing what he added prior to saving.
Click to expand...
Click to collapse
i know it's obviously to the code. upload your .xml let me take a look.
also ensure that the /(yourdirectory)/apktool/framework/1.apk where 1.apk is your original framework-res.apk and /(yourdirectory)/apktool/framework/2.apk where 2.apk is your original tw-framework-res.apk
statusbarexpanded
Hey
Do any know what @id/plmnLabel and @id/spnLabel refers to? Im speculating it has something to do with service provider.. Since the theme of framework is set to Black, the service provider text color is black as well, so ive made edits to
...Color=?textColorSecondary on both (removed Inverse) ive not tested this, maybe u have Kay?
biopsin said:
Hey
Do any know what @id/plmnLabel and @id/spnLabel refers to? Im speculating it has something to do with service provider.. Since the theme of framework is set to Black, the service provider text color is black as well, so ive made edits to
...Color=?textColorSecondary on both (removed Inverse) ive not tested this, maybe u have Kay?
Click to expand...
Click to collapse
nope i haven't tested it but u can read here: http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
android:id="@id/plmnLabel". This is the Carrier name
android:id="@id/spnLabel". This is the Provider name
this post is useful for froyo.
but i'm already on gingerbread. for gingerbread, read: http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
all working great ..
Tnx k - ur right still on froyo
kay_kiat88 said:
what do you mean add one dot?
Click to expand...
Click to collapse
I mean you even can't make a small change in that xml.
kay_kiat88 said:
i know it's obviously to the code. upload your .xml let me take a look.
also ensure that the /(yourdirectory)/apktool/framework/1.apk where 1.apk is your original framework-res.apk and /(yourdirectory)/apktool/framework/2.apk where 2.apk is your original tw-framework-res.apk
Click to expand...
Click to collapse
Here is my "status_bar_expanded.xml"
I just want to change some colors. I did the same thing for other xmls like
"status_bar_latest_event_content.xml" and it works perfectly, but for that
one, it stucks on my bootanimation. when I compile the xml I get no error
but I don't know what the problem is.
For that 1.apk and 2.apk, no I didn't do that.
I'll try it and report back.
sohrab1985 said:
Here is my "status_bar_expanded.xml"
I just want to change some colors. I did the same thing for other xmls like
"status_bar_latest_event_content.xml" and it works perfectly, but for that
one, it stucks on my bootanimation. when I compile the xml I get no error
but I don't know what the problem is.
Click to expand...
Click to collapse
If u use wrong definisions it wil stall.. What color is this in your file android:textColor="#ff7bad00" ?
After compiling did u copy the manifest and metainf folder to the new framework Res?
Sent from my GT-P1000 using XDA Premium App
biopsin said:
If u use wrong definisions it wil stall.. What color is this in your file android:textColor="#ff7bad00" ?
Click to expand...
Click to collapse
it's the color of operator name in status bar and that "clear" button, and I changed it to "#ff000000"
zenkinz said:
After compiling did u copy the manifest and metainf folder to the new framework Res?
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
Honestly, I don't know what those "manifest" and "metainf" are, because I changed some xmls and I'd had no problem with them, So I thought that's the way to compile and decompile framework-res.apk.
Could you plz tell me what should I do? Thanks.
sohrab1985 said:
Honestly, I don't know what those "manifest" and "metainf" are, because I changed some xmls and I'd had no problem with them, So I thought that's the way to compile and decompile framework-res.apk.
Could you plz tell me what should I do? Thanks.
Click to expand...
Click to collapse
I thought u already have this covered because it sounded like you have no problem with other XML except this.
But if u have not heard of the two files/folder I have hightlighted chances are you don't have them in your newly compiled apk which will cause bootloop.
After compiling ur apk you should see that meta-inf folder is missing. U need to copy that from the original API, along with manifest.XML to the new apk.
Sent from my GT-P1000 using XDA Premium App
zenkinz said:
I thought u already have this covered because it sounded like you have no problem with other XML except this.
But if u have not heard of the two files/folder I have hightlighted chances are you don't have them in your newly compiled apk which will cause bootloop.
After compiling ur apk you should see that meta-inf folder is missing. U need to copy that from the original API, along with manifest.XML to the new apk.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
that's right, I've had no problem with any xmls without copying those files until now, but thanks to you I can edit this one, too.
Thank you so much.

Carrier Name

Hey i searched this forum to make sure that this wasnt already posted didnt see it i guess i will post it. i was able to change the carrier name to what i want it to be with this apk check it out currently on ravers miui rom
credit goes to Holabalola here is the thread
http://forum.xda-developers.com/showthread.php?t=901865
here is the apk below
That is awesome it works. I can't remember if I tried that app using a different rom on this phone or on a different phone but it did not work properly. I am too on MIUI and my carrier name now says Google.
Good find. Thanks for the apk
jigglynuts said:
That is awesome it works. I can't remember if I tried that app using a different rom on this phone or on a different phone but it did not work properly. I am too on MIUI and my carrier name now says Google.
Good find. Thanks for the apk
Click to expand...
Click to collapse
no problem glad that i could help out.
If you're running miui, you can simply push the files from the extended settings mod zip. and change it. Even better, you can apply pngs by pushing the images to a theme mtz.
did not work on VB final

[Mod] Remove "Swipe to unlock" text from lockscreen for Sony KK framework

Hello!
Is it possible to remove Sign 'Swipe to unlock' on stock 4.4 firmware?
P.S. Screenshoot from 4.3
v0rtex604 said:
Hello!
Is it possible to remove Sign 'Swipe to unlock' on stock 4.4 firmware?
P.S. Screenshoot from 4.3
Click to expand...
Click to collapse
a simple (decompile, edit, recompile) for your ROM's XperiaLockScreen.apk would be enough to remove it for good
if you wan't help with that, just tell me which you're using and I'll edit its XperiaLockScreen.apk and upload it for you as flashable Zip
omarainea said:
a simple (decompile, edit, recompile) for your ROM's framework-res.apk would be enough to remove it for good
if you wan't help with that, just tell me which you're using and I'll edit its framework-res.apk and upload it for you as flashable Zip
Click to expand...
Click to collapse
Thanks for help!
This is framework-res.apk from my phone
http://rghost.ru/53765023
v0rtex604 said:
Thanks for help!
This is framework-res.apk from my phone
http://rghost.ru/53765023
Click to expand...
Click to collapse
I'm terribly sorry about this delayed reply, after hours of trying, it turned out, Samsung puts the lockscreen hint in framework-res.apk,
while Sony puts it in an individual app (it was in UxpNxtLockScreen.apk in the previous Sony lockscreen),
and now that they have changed there lockscreen to a brand new one, they changed the lockscreen apk name as well,
to become (XperiaLockScreen.apk).
Anyway, all that might be not important, all you need is something to remove that silly hint with, right!!
this is a flashable zip that contains a modded XperiaLockScreen.apk from Sony KK Generic firmware,
it should work on all Sony KK official or based ROMs, and the message won't appear in all languages
Tested on my Z1C using [KITKAT] D5503_14.3.A.0.681_Generic by Munjeni
Enjoy
omarainea said:
I'm terribly sorry about this delayed reply, after hours of trying, it turned out, Samsung puts the lockscreen hint in framework-res.apk,
while Sony puts it in an individual app (it was in UxpNxtLockScreen.apk in the previous Sony lockscreen),
and now that they have changed there lockscreen to a brand new one, they changed the lockscreen apk name as well,
to become (XperiaLockScreen.apk).
Click to expand...
Click to collapse
Does it means we can extract the apk from 4.3 and use it in 4.4? Or will it not work due to some internal change in 4.4? I like 4.3 lockscreen betetr
trewelu said:
Does it means we can extract the apk from 4.3 and use it in 4.4? Or will it not work due to some internal change in 4.4? I like 4.3 lockscreen betetr
Click to expand...
Click to collapse
I don't think it is that simple, cuz there are some other files (maybe in /framework or /lib),
if you look for it in google for example (port Sony lock screen) you should find all the info about what files you need to change to get 4.3 lockscreen on KK, [I'll look into it but I might not post anything about it, will see]
I am really missing AOSP lockscreen. I tried it myself with the help of set of modules Xposed but fails. Is there a way?
1jkan said:
I am really missing AOSP lockscreen. I tried it myself with the help of set of modules Xposed but fails. Is there a way?
Click to expand...
Click to collapse
Simply remove the lockscreen apk on whatever ROM/FW you're using. You're stuck with a black background on JB though but works a treat on KK.
Ooooooooooooooo! I'll try! Thanks!
Big thanks! Its work!
I post link to this thread on local russian forum
v0rtex604 said:
Big thanks! Its work!
I post link to this thread on local russian forum
Click to expand...
Click to collapse
If you're talking about the zip I provided under your request, then I'm glad to hear that.
also one last thing, it would be better if you change this thread's title to (something like):
[Mod] Remove "Swipe to unlock" text from lockscreen for Sony KK framework
So that if anyone is searching for the same thing would find the solution easily
have a nice day
omarainea said:
If you're talking about the zip I provided under your request, then I'm glad to hear that.
also one last thing, it would be better if you change this thread's title to (something like):
[Mod] Remove "Swipe to unlock" text from lockscreen for Sony KK framework
Click to expand...
Click to collapse
Done!
Hello,
Possible to do it for the last ROM D5503_14.3.A.0.757 ? under KitKat OR explain me how to do this ... and i'll do it
Thanks in advance
Is there any way to install it without rooting/flashing ??
TwistedFate_ said:
Is there any way to install it without rooting/flashing ??
Click to expand...
Click to collapse
Nope, you ether need root or recovery, without one of these you can't use this mod.
omarainea said:
Nope, you ether need root or recovery, without one of these you can't use this mod.
Click to expand...
Click to collapse
Hi, Last week purchased Z1 Compact and updated to KitKat 14.3.A.0.757 and rotted via Towelroot. Sha I download the zip file replace it for the mod work ?
Regards,
Shashi
shashidharga said:
Hi, Last week purchased Z1 Compact and updated to KitKat 14.3.A.0.757 and rotted via Towelroot. Sha I download the zip file replace it for the mod work ?
Regards,
Shashi
Click to expand...
Click to collapse
yes works fine for me, KitKat 14.3.A.0.757 and rooted via Towelroot.
paulle said:
yes works fine for me, KitKat 14.3.A.0.757 and rooted via Towelroot.
Click to expand...
Click to collapse
Thank you Sir
shashidharga said:
Thank you Sir
Click to expand...
Click to collapse
I have to thank you
For all, there is xposed module which can do that too : Screen Tweaks (thread, download)

[Q] help modded SystemUI

I mod my SystemUI and share it with my friends. Some of my friend can use my SystemUI but some cannot they always ended with no statusbar and navigation. they also used my framework-res.apk.
my question is, is the build version the reason of this? is there any fix for this problem?or do I need some file to include when I recompiling my SystemUI?
Please help me guys. thanks in advance.
plz help
Up
ethandub said:
I mod my SystemUI and share it with my friends. Some of my friend can use my SystemUI but some cannot they always ended with no statusbar and navigation. they also used my framework-res.apk.
my question is, is the build version the reason of this? is there any fix for this problem?or do I need some file to include when I recompiling my SystemUI?
Please help me guys. thanks in advance.
Click to expand...
Click to collapse
well actually there can be a number of ways for this to happen...being a rom chef i have myself encountered these problems while rom development
the major cause is the SIGNATURE CHECK.every app and dex file is signed with a key if an app is different from the rest of the apps by signature the the syatem fails to execute or install it this ends with the no statusbar error
as for build number sonty hasnt modeified the systemui in current updates so i dont think that build is any problem
tnx for reply
abhishekr700 said:
well actually there can be a number of ways for this to happen...being a rom chef i have myself encountered these problems while rom development
the major cause is the SIGNATURE CHECK.every app and dex file is signed with a key if an app is different from the rest of the apps by signature the the syatem fails to execute or install it this ends with the no statusbar error
as for build number sonty hasnt modeified the systemui in current updates so i dont think that build is any problem
Click to expand...
Click to collapse
tnx bro, this is what happen, i've choose one systemui thats works perfectly with them and start to modify that systemui, some of them can use that modified ui some cannot , as you said maybe the signature check is the one reason so we can fix this if i will used the androidmanifest and meta-inf of that unmodified systemui to my modified systemui?again thanks for your response bro.
ethandub said:
tnx bro, this is what happen, i've choose one systemui thats works perfectly with them and start to modify that systemui, some of them can use that modified ui some cannot , as you said maybe the signature check is the one reason so we can fix this if i will used the androidmanifest and meta-inf of that unmodified systemui to my modified systemui?again thanks for your response bro.
Click to expand...
Click to collapse
yes as much as i know if u dont edit androidmanifest.xml the signature remains the same so it should work
I already tried that thing bro same not working.

Need Help --> Modifying SystemUI?

Hey guys,
so I tried to modify the SystemUI.apk to get a stock Nougat feeling but it does not work for me.
I used APKTOOL (java -jar apktool.jar d SystemUI.apk for decompiling and b SystemUI/ for compiling).
But when I flashed it, there is no Statusbar anymore, the SystemUI.apk is broken. I only changed a few colors in res/values/colors.xml.
Don't know what I did wrong.
Maybe someone can give me a simple Guide to make it.
Thank you!
greetz
Did you sign it correctly?
kornelkahh said:
Did you sign it correctly?
Click to expand...
Click to collapse
I thought so. Can you tell me how you do it correctly?
Hatary said:
I thought so. Can you tell me how you do it correctly?
Click to expand...
Click to collapse
Well, I'm not an expert, and the last time I modified a SystemUI was on a Sony device, months ago, so it might be different for Samsung/new devices, I don't know, really.
But if I remember correctly you need the framework-res apk too, somewhere from the /system/framework.
Here is a thread that might help.
Also, you need to set the right permission for system apps.
Best regards.

Categories

Resources