I want to be able to sign system apps with my own signature - without having to patch services.jar to disable signature verification.
Is it possible to replace the default signature keys in an AOSP KK rom? If yes, how?
And no, I'm not talking about signing a flashable rom zip.
Had a look at system/etc/security folder in rom, might this be a place to start?
Anyone?
WhiteNeo said:
Anyone?
Click to expand...
Click to collapse
I don't think it can be possible ....platform key is only the way to sign system application
Sent from my x604 using Tapatalk
Where do I find this platform key in a rom (or its) sources?
Related
I am working on making a few flashable zips for when I flash new roms. I have read that to make flashable zips that i need to sign them so I downloaded and installed signapktic. When I go to sign the zip file there are 4 options (testkey, media, platform, shared) which one should I use? Also, I would appreciate it if some one could also explain the differences between the keys. Thanks in advance.
shreddintyres said:
I am working on making a few flashable zips for when I flash new roms. I have read that to make flashable zips that i need to sign them so I downloaded and installed signapktic. When I go to sign the zip file there are 4 options (testkey, media, platform, shared) which one should I use? Also, I would appreciate it if some one could also explain the differences between the keys. Thanks in advance.
Click to expand...
Click to collapse
Also Does Anyone Know How To Direct The Path To System/App/
Sent from my HERO200 using XDA App
Hi,
thanks to all the rooted ROMs here I was able to do some changes, like removing the SMS app and placing back the stock one. I am sure that something like it can be done with the phone/contacts as those APKs are around too.
What I don't know how to do is to get rid of the aweful touchwiz gray status bar, colored settings and mostly hideous 2.3-like dialogs that touchwiz uses.
I thought I just replace SystemUI.apk but that did not work at all, kept force-closing.
Can anone point me the right direction? Do I have to change the resources (png and XML) inside the systemui.apk and then repackage it? I know how to edit layout xmls since I am an app developer, but I never repackaged apks, especially when they come with OBEX classes.
Or is it not even possible without completely new ROM?
Some rooted roms here have black notification bar.
You might wanna check them out
Sent from my GT-I8190 using xda app-developers app
Hi no only systemUI test change also in settings.apk and framwork-res.apk now for change on apk need deodexed one
Well I have tried the apktool to decompile, but that fails, surely because of it being odex apk.
What suprised me though is that the Minecraft-method fails too. That is removing META-INF and simply changing a few PNGs. That I thought would work. I did use zipalign 4 after changing those PNGs...
Give it time. They're still working on getting us a functional recovery.
blackknightavalon said:
Give it time. They're still working on getting us a functional recovery.
Click to expand...
Click to collapse
Well I actually wanted to get into it and provide the stock-like SystemUI.apk for others
If anyone still interested...
I finally found a nice guide for deodexing here, did everything like I should - deodex, repackage, sign and zipalign, but SystemUI keeps crashing.
I never found anything about having a special signing key, but that's the only thing that I can think of that can be wrong.
try attached and if need complet rom try with mediafire link
http://www.mediafire.com/#bakk51bwngb9t i have cuted on 5 files just dezip using 7zip
and here have an autopatcher http://forum.xda-developers.com/showthread.php?t=1719408
spawk said:
try attached
Click to expand...
Click to collapse
Thanks, the deodexed attached apk works.
The question is what I did wrong Will try re-signing this one and if that fails I must be f-ing up the signing process I guess
(I should really stop double-posting)
So I tried to remove META-INF and sign manually using the debug.keystore from eclipse (used to develop apps) and SystemUI force-closes.
What am I doing wrong in the signing process that mine does not work and yours does?
Plague_CZ said:
(I should really stop double-posting)
So I tried to remove META-INF and sign manually using the debug.keystore from eclipse (used to develop apps) and SystemUI force-closes.
What am I doing wrong in the signing process that mine does not work and yours does?
Click to expand...
Click to collapse
haha i am used only xdakitchen and deodexed all rom now need recovery for flash i have tested to flash but no chance hihihi in link have all rom deodexed is backup from my phone use it as you need
---------- Post added at 12:17 AM ---------- Previous post was at 12:14 AM ----------
and if need more control with - FC you can also change your launcher touchewiz have special framwork-res and if you searche on forum you find touchewiz ported from GIII and patched perhaps this can fix some FC
and files is from this ROM ver : I8190XXALJL_I8190LUXALJ2_LUX
spawk said:
haha i am used only xdakitchen
Click to expand...
Click to collapse
Oh now I get it, you just created deodexed APK, which actually does not need resigning because you added classes.dex which was not there before.
It is still signed by Samsung original key and that's why your works.
So now my problem is how to get around the signature
Thanks anyway for steering me on the right track.
Plague_CZ said:
Oh now I get it, you just created deodexed APK, which actually does not need resigning because you added classes.dex which was not there before.
It is still signed by Samsung original key and that's why your works.
So now my problem is how to get around the signature
Thanks anyway for steering me on the right track.
Click to expand...
Click to collapse
signature are generated when kitchen deodex and zipaligne your apk all tool are in kitchen you can add more like git bash and more now you can try and see remove manifest etc etc and test to deodex and in finale you can see new created files with signature for ur apk's but need very corect install to work because using JAVA
Does anyone know how to deodex LewaOS? I tried various tools but every tools got error
lozohcum said:
Does anyone know how to deodex LewaOS? I tried various tools but every tools got error
Click to expand...
Click to collapse
You could manually deodex the files using baksmali, I would recommend taking a look at this guide here for instructions on how to deodex the files.
shimp208 said:
You could manually deodex the files using baksmali, I would recommend taking a look at this guide here for instructions on how to deodex the files.
Click to expand...
Click to collapse
thank yoy I will try
api_level is always the same for all odex?
lozohcum said:
thank yoy I will try
api_level is always the same for all odex?
Click to expand...
Click to collapse
Yes you should use the same api level for all the apps you want to deodex to avoid inconsistencies.
So should I deodex each app individally using this scheme
baksmali -a 15 -x APP.odex -d framework -o APP
Click to expand...
Click to collapse
where APP is name of app I want to deodex (app from system/app and from system/framewok)
Am I right?
I want to be sure that I understand this process
Did you try dsixda kitchen?
lozohcum said:
So should I deodex each app individally using this scheme
where APP is name of app I want to deodex (app from system/app and from system/framewok)
Am I right?
I want to be sure that I understand this process
Click to expand...
Click to collapse
Correct that is the syntax that should be used, you could technically make the output directory name whatever you want it to be put for simplicity and organization I recommend making it the same as the app you are deodexing (So if your deodexing calculator it would be best to make the output directory calculator as well to keeps things organized).
I've just run deodexing on dsixda kitchen and it seems working, I had to set API level to 10.
I have problem with spktool. I have newest release and the problem is that I can decompile every app but when I try to compile anything back, there is no apk file in folder and lot's of errors in console. I tried it manually and using terminall tools but every way doesn't work for compiling :/
(I'm trying to translate MokeeOS and LewaOS)
Hello to all. I want to change the name of the Rom in "lidroid," but I have some problems about.
1) I Use APK Multi Tool.
2) I Decompil the file "lidroid."
3) With Notepad + + correctly I modify the name of the Rom in "Values / strings".
4) Save all and re compile.
5) All ok, the program does not provide errors at compile time, but ...
6) When I replace the new File "lidroid" in the Phone Directory it does' nt works (the notifications barr disappears).
I followed all the guides here, on XDA present, the operations are corrects, but nothing.
Can anyone help me? What could be wrong? Thanks.
glowerita said:
Hello to all. I want to change the name of the Rom in "lidroid," but I have some problems about.
1) I Use APK Multi Tool.
2) I Decompil the file "lidroid."
3) With Notepad + + correctly I modify the name of the Rom in "Values / strings".
4) Save all and re compile.
5) All ok, the program does not provide errors at compile time, but ...
6) When I replace the new File "lidroid" in the Phone Directory it does' nt works (the notifications barr disappears).
I followed all the guides here, on XDA present, the operations are corrects, but nothing.
Can anyone help me? What could be wrong? Thanks.
Click to expand...
Click to collapse
If you mean lidroid-res.apk, did you 'if' the three additional frameworks before decompiling (and modify apktool.yml before recompiling)?
Reference
Spannaa said:
If you mean lidroid-res.apk, did you 'if' the three additional frameworks before decompiling (and modify apktool.yml before recompiling)?
Reference
Click to expand...
Click to collapse
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"? If I have Add "Twframewprk-res.APK" and "SystemUI" in the "others" Folders ?
Thanks for the answer in the meantime.
glowerita said:
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"?
Thanks for the answer in the meantime.
Click to expand...
Click to collapse
Like in my link to wanam's "How to mod Lidroid framework for JellyBean Roms" post:
wanam said:
Code:
apktool.bat if path_to/framework-res.apk
apktool.bat if path_to/twframework-res.apk
[COLOR="Red"]apktool.bat if path_to/wanam3.apk
apktool.bat if path_to/wanam4.apk
apktool.bat if path_to/wanam5.apk[/COLOR]
Click to expand...
Click to collapse
glowerita said:
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"? If I have Add "Twframewprk-res.APK" and "SystemUI" in the "others" Folders ?
Thanks for the answer in the meantime.
Click to expand...
Click to collapse
The "if" means "Install Framework".
wanam said:
The "if" means "Install Framework".
Click to expand...
Click to collapse
Thank you again. Not this one, I had not done. Should be added into the folder "others" in these three files APK Tool?
glowerita said:
Thank you again. Not this one, I had not done. Should be added into the folder "others" in these three files APK Tool?
Click to expand...
Click to collapse
I'm not sure - I use Apktool not APK Multi-Tool.
Spannaa said:
I'm not sure - I use Apktool not APK Multi-Tool.
Click to expand...
Click to collapse
When i'll come back home (now i'm at work) will try.
Thanks again for your kindless.
Inviato dal mio GT-I9100 utilizzando Tapatalk
Edit: Lidroid works great! Thanks Spannaa, I will never cease to thank you!
Click to expand...
Click to collapse
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