[Q] framework question - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

hi guyz i want to know how can we add multiple signature support in framework-res.apk
it means that you can install apps with different signatures on the phone in system\app

I will answer this in pm

marcussmith2626 said:
I will answer this in pm
Click to expand...
Click to collapse
one more question
is there a way to enable the unknown sources option in settings by default.i mean which enabes us to install other app than on google play

abhishekr700 said:
one more question
is there a way to enable the unknown sources option in settings by default.i mean which enabes us to install other app than on google play
Click to expand...
Click to collapse
decompile settingsprovider.apk with apktool
goto res/values
open bools.xml
find the following
Code:
<bool name="def_install_non_market_apps">false</bool>
change false to true

Related

Help Req. Regarding Settings.apk Of Y Duos

I Want To Remove Some Of This Parts From My Settings.apk
Touchwiz parts inside which there are Adaway.apk
Cpucontrol.apk
Spareparts.apk
netbooster.apk
etc etc..For Which I Have To Install Those Apps
Have A Glance At My Attachment...You Will Surely Understnd
Himan Boro said:
I Want To Remove Some Of This Parts From My Settings.apk
Touchwiz parts inside which there are Adaway.apk
Cpucontrol.apk
Spareparts.apk
netbooster.apk
etc etc..For Which I Have To Install Those Apps
Have A Glance At My Attachment...You Will Surely Understnd
Click to expand...
Click to collapse
Try To Mod Your Settings.apk..By Decompiling It.There Is Many Guides In XDA To Do That....And Then Just Delete The Apks That You Want To Remove....With Any Root Explorer App...:thumbup:
[[Note:Search "How To Invoke An App From Settings" In Xda Or Google To Do That]]
TECHNO_THUNDER said:
Try To Mod Your Settings.apk..By Decompiling It.There Is Many Guides In XDA To Do That....And Then Just Delete The Apks That You Want To Remove....With Any Root Explorer App...:thumbup:
[[Note:Search "How To Invoke An App From Settings" In Xda Or Google To Do That]]
Click to expand...
Click to collapse
TY For D link...But I just wan2 remov tht Invokd app from my settings.apk...i.dont want to view that apps name/icons inside my settings.apk..
Himan Boro said:
TY For D link...But I just wan2 remov tht Invokd app from my settings.apk...i.dont want to view that apps name/icons inside my settings.apk..
Click to expand...
Click to collapse
remove it from the manifest xml and also remove any strings in strings xml then resign it
Open settings.xml under res/xml/here
Then find the preferencescreens and delete them.
And your problem will be solved.
Sent from my GT-S5360 using Tapatalk 2
san122 said:
Open settings.xml under res/xml/here
Then find the preferencescreens and delete them.
And your problem will be solved.
Sent from my GT-S5360 using Tapatalk
Recompiling Gives Error..but the app is in dist foldr...
Click to expand...
Click to collapse
marcussmith2626 said:
remove it from the manifest xml and also remove any strings in strings xml then resign it
Click to expand...
Click to collapse
lil confusing 1
Himan Boro said:
lil confusing 1
Click to expand...
Click to collapse
you can locate some things in the androidmanifest.xml or as san said in settings.xml
depends where its locoted - just follow the path
marcussmith2626 said:
you can locate some things in the androidmanifest.xml or as san said in settings.xml
depends where its locoted - just follow the path
Click to expand...
Click to collapse
i dint find in Androidmanifest.xml..
i found in settings.xml
san122 said:
Open settings.xml under res/xml/here
Then find the preferencescreens and delete them.
And your problem will be solved.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Recompiling gives error ;(..but the new compild app is in dist folder.
Himan Boro said:
Recompiling gives error ;(..but the new compild app is in dist folder.
Click to expand...
Click to collapse
read the error that apk tool tells you - it will say in which file and what line the error is - you may have public values or strings that also need deleting - cant help if you just say its an error
Himan Boro said:
TY For D link...But I just wan2 remov tht Invokd app from my settings.apk...i.dont want to view that apps name/icons inside my settings.apk..
Click to expand...
Click to collapse
Just Do Reverse The Whole Process Bro....Delete The Layout Lines And The Apps....
marcussmith2626 said:
read the error that apk tool tells you - it will say in which file and what line the error is - you may have public values or strings that also need deleting - cant help if you just say its an error
Click to expand...
Click to collapse
Ok Bro....
TECHNO_THUNDER said:
Just Do Reverse The Whole Process Bro....Delete The Layout Lines And The Apps....
Click to expand...
Click to collapse
Ow K...
Himan Boro said:
Ow K...
Click to expand...
Click to collapse
Maybe you are getting language not found error.If yes then there is no problem.
Sent from my GT-S5360 using Tapatalk 2
TY all for d supports and guides
marcussmith2626 said:
you can locate some things in the androidmanifest.xml or as san said in settings.xml
depends where its locoted - just follow the path
Click to expand...
Click to collapse
@marcussmith2626
It is not located in manifest. (It will never will be located there)
It is in /res/xml/settings.xml
Himan Boro said:
Recompiling gives error ;(..but the new compild app is in dist folder.
Click to expand...
Click to collapse
You need to install framework-res.apk and twframework-res.apk before decompiling and before recompiling.
Himan Boro said:
TY all for d supports and guides
Click to expand...
Click to collapse
I think you want to remove them from xduos v3 rom(as per screenshoots)....So decompile Settings.apk and go to res/xml,and find "kenj1.xml" from there, edit them and delete preferences from there...and recompile,sign and push apk to system....enjoy for personal use only...:thumbup::thumbup:

[Q] Need help with apktool mobile

Hello I want to ask when I tried to decompile via apktool in SGY it shows error . How to fix it? And I tried to import as framework the framework-res.apk, it shows the same error Hellp
since I dont know what the error it is could be 1 of 2 things
1 - apktool is not installed correctly
2 - you are using the wrong framework-res.apk - dont forget most 3rd party apps and some roms system apps are built using jellybean framework
if you get a resources error you are using the wrong framework
marcussmith2626 said:
since I dont know what the error it is could be 1 of 2 things
1 - apktool is not installed correctly
2 - you are using the wrong framework-res.apk - dont forget most 3rd party apps and some roms system apps are built using jellybean framework
if you get a resources error you are using the wrong framework
Click to expand...
Click to collapse
Here the ss
GalKill said:
Here the ss
Click to expand...
Click to collapse
I already answered you on the duplicate thread
make sure you have installed apktool mobile correctly
uninstall all what you have done and follow the guide here with the files on that thread
http://forum.xda-developers.com/showthread.php?t=2488697
marcussmith2626 said:
I already answered you on the duplicate thread
make sure you have installed apk correctly
uninstall all what you have done and follow the guide here with the files on that thread
http://forum.xda-developers.com/showthread.php?t=2488697
Click to expand...
Click to collapse
Sorry that thread that you answered is the wrong one Btw, thank for your answer
GalKill said:
Hello I want to ask when I tried to decompile via apktool in SGY it shows error . How to fix it? And I tried to import as framework the framework-res.apk, it shows the same error Hellp
Click to expand...
Click to collapse
If ur trying to modify system apk, then import the second framework(i.e. twframework-res.apk) too! You should use ics/JB framework as mentioned above to mod 3rd party apps! And, which app are you trying to modify?

[Q] create a rom.

hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
saltalabanca said:
hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
Click to expand...
Click to collapse
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
marcussmith2626 said:
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
Click to expand...
Click to collapse
i replace the framework, and the systemUI dont think how to edit all, im very noob
saltalabanca said:
i replace the framework, and the systemUI dont think how to edit all, im very noob
Click to expand...
Click to collapse
again too vague - you cant just say you want to replace the SystemUI - that is an entire apk - Unless you are just going to replace it with a SystemUI.apk from another rom but I would not recommend that as if you are going to release the rom you wouldn't have permission to do so plus the apk may have dependences of other apks and mods that you would also need to include
You need to know exactly what you want to mod
If you want to mod the SystemUI.apk you would need to decompile the apk with apktool and edit what you want - You will find guides to do this if you search google - You will find a guide to decompiling apks in my signature which has all my threads.
If you want to add lidroid toogles for example search for galaxy y xda how to add lidroid toggles in google
Same if you want to edit the framework to add extended power menu search for that
You cant just say I want to replace this and that apk
Also calling yourself a noob is no excuse - You have to learn how to use google and how to use the search feature to find what you want to do and then read everything - Once you have understood the basics and you know what you want to achieve only then if after trying you can post in the respective threads for any support relating to the thread

how to decompile and decompile setting.apk ???

how to decompile and decompile setting.apk
I always fail to do decompline or recompline setting.apk when I did not edit at all also still failed to file. where the problem lies ?? setting.apk the error of his or her apktol ?? but if decompline or recompline SystemUI or fremawork successfully ...
darw andi said:
how to decompile and decompile setting.apk
I always fail to do decompline or recompline setting.apk when I did not edit at all also still failed to file. where the problem lies ?? setting.apk the error of his or her apktol ?? but if decompline or recompline SystemUI or fremawork successfully ...
Click to expand...
Click to collapse
Chances are that you havent loaded the correct framework
If it is a touchwiz rom (based on stock rom) you also need to load tw-framework using the if command
Also some roms are compiled with framework of a higher version than the rom eg compiled with jellybean framework so load that framework-res instead eg from cm10
But the chances are its because you didnt also load the tw framework from the rom
Also please note that questions should be posted in the question and answe section
marcussmith2626 said:
Chances are that you havent loaded the correct framework
If it is a touchwiz rom (based on stock rom) you also need to load tw-framework using the if command
Also some roms are compiled with framework of a higher version than the rom eg compiled with jellybean framework so load that framework-res instead eg from cm10
But the chances are its because you didnt also load the tw framework from the rom
Also please note that questions should be posted in the question and answe section
Click to expand...
Click to collapse
thanks before
My problem has been resolved
I use apk manager via pc
Hey guyzz
Since m not the developer,can anyone decompile apk for me please:what::what:
Thank u
vai8080 said:
Hey guyzz
Since m not the developer,can anyone decompile apk for me please:what::what:
Thank u
Click to expand...
Click to collapse
Which apk ?
Islam2001 said:
Which apk ?
Click to expand...
Click to collapse
It is the setting apk:what::what:
Can u do it for me
vai8080 said:
It is the setting apk:what::what:
Can u do it for me
Click to expand...
Click to collapse
U mran the stock ?
Islam2001 said:
U mran the stock ?
Click to expand...
Click to collapse
It is the zip in which there is settings apk as well as keyguard apk , which I want to modify it
Can u help ..
vai8080 said:
It is the zip in which there is settings apk as well as keyguard apk , which I want to modify it
Can u help ..
Click to expand...
Click to collapse
Learn how to decompile apks yourself
It's easier doing it on a pc but can also be done on a phone if you don't have a pc
My pc guide can be found in the link in my signature
For phone guide Google search apktool mobile (you need armv6 version)
marcussmith2626 said:
Learn how to decompile apks yourself
It's easier doing it on a pc but can also be done on a phone if you don't have a pc
My pc guide can be found in the link in my signature
For phone guide Google search apktool mobile (you need armv6 version)
Click to expand...
Click to collapse
I have tired to decompile apk with pc but I was failed
So can u do it for me:what::what:
vai8080 said:
I have tired to decompile apk with pc but I was failed
So can u do it for me:what::what:
Click to expand...
Click to collapse
No - much better to learn how to do it yourself else how are you going to mod it & recompile it or do anything else in the future
If you can't decompile it you are most likely using the wrong framework-res.apk - use framework-res.apk from cm10
Without screenshot of your cmd window I can't see how you are trying to do it
Full guide in my signature - Just use correct framework-res.apk - note just because it's a Gingerbread rom doesn't mean it was built with Gingerbread framework - so if it doesn't decompile use cm10 framework
marcussmith2626 said:
No - much better to learn how to do it yourself else how are you going to mod it & recompile it or do anything else in the future
If you can't decompile it you are most likely using the wrong framework-res.apk - use framework-res.apk from cm10
Without screenshot of your cmd window I can't see how you are trying to do it
Full guide in my signature - Just use correct framework-res.apk - note just because it's a Gingerbread rom doesn't mean it was built with Gingerbread framework - so if it doesn't decompile use cm10 framework
Click to expand...
Click to collapse
K thanks man

Possible way to enable double press power for camera gesture on stock ROM????

I need someone to test if this enables the double tap power for camera gesture and possibly others on the stock ROM.
I am assuming you know how to use APKTool for Windows or Linux.
Decompile Settings_ZTE and open res/values/bools.xml
Change
Code:
<bool name="config_gesture_settings_enabled">false</bool>
to
Code:
<bool name="config_gesture_settings_enabled">true</bool>
Recompile Settings_ZTE.
Decompile framework-zte-res.apk and open res/values/bools.xml
Change
Code:
<item type="bool" name="zte_configcameraDoubleTapPowerGestureEnabled">@null</item>
to
Code:
<item type="bool" name="zte_configcameraDoubleTapPowerGestureEnabled">true</item>
Recompile framework-zte-res.apk
I'll try but couldn't decompile apk.
edit: decompiled but no bools on values
it work on stock, search "camera" in setting
WesTD said:
I'll try but couldn't decompile apk.
edit: decompiled but no bools on values
Click to expand...
Click to collapse
Are you using APKTool on Windows? Did you install the frameworks?
Angelo_0 said:
it work on stock, search "camera" in setting
Click to expand...
Click to collapse
Doesn't work on A2017U B32. ZTE remove the ability to search for hidden settings.
bkores said:
Are you using APKTool on Windows? Did you install the frameworks?
Click to expand...
Click to collapse
Yes but still same.
WesTD said:
Yes but still same.
Click to expand...
Click to collapse
What's the error APKTool gives you?
bkores said:
What's the error APKTool gives you?
Click to expand...
Click to collapse
Log
WesTD said:
Log
Click to expand...
Click to collapse
Looks like you didn't install all the frameworks. You need to install framework-zte-res.apk in addition to framework-res.apk.
bkores said:
Looks like you didn't install all the frameworks. You need to install framework-zte-res.apk in addition to framework-res.apk.
Click to expand...
Click to collapse
Oh thanks then. But do not need to try right? You said that it is not working on b32
WesTD said:
Oh thanks then. But do not need to try right? You said that it is not working on b32
Click to expand...
Click to collapse
I said the search in settings doesn't work. This might work.

Categories

Resources