[Q] How to disable backbutton - Samsung Galaxy W I8150

how to disable backbutton? i can't found folder value in framework :crying:

i think you need to decompile sumthing as stated on this thread..
http://forum.xda-developers.com/showthread.php?t=2045281

Related

Disabling Soft Buttons - The "Bee" Trick

Hey everyone,
I've just donloadest the newest version of the game "Tiny Bee"(its a copy of dillo hills)
I started the game and just saw that the soft buttons were disabled
I went back to the homescreen and there they are!
If we could use this (how they are able to disable the Soft Buttons) we could use this
Until now, just Archos applications (music,video,...) were able to do so.
If you're interested in that i could send an e-mail to the developers of the game, they're german too
what do you think about this? let me know..
I'm not a developer, but these settings are in the Manifest, aren't they?
So, if we had the command for this, we could put this in the local.prop for those people where the other method doesn't work, like me. I will look.
But does the other trick to remove the buttons is working for you?
Flix123 said:
I'm not a developer, but these settings are in the Manifest, aren't they?
So, if we had the command for this, we could put this in the local.prop for those people where the other method doesn't work, like me. I will look.
But does the other trick to remove the buttons is working for you?
Click to expand...
Click to collapse
Thanks for interest
I dont try the other ways, but i need the soft buttons in the browser, but in games i dont need them, and if we could set up for each app if we want the buttons or not, that would be cool!
I dont like the other ways, because you cant do that...
Yep, i also think there are in the manifest xml file could you look? that would be assome!
I could look, but how can I do this? Do I need the SDK or somethinglike this?
Flix123 said:
I could look, but how can I do this? Do I need the SDK or somethinglike this?
Click to expand...
Click to collapse
Noo^^
You have WinRar right?
Open the apk with this and you will get the manifest.xml
do need a link to the apk? (Warning:Warez) I would send to you per PM
I've the apk and it's extracted. But I can't open the AndroidManifest.xml. When I open it with notepad++, there are only some 00000.
How I can open it?
Forget, what I said.
I think, I found it: There's the permission: a r c h o s . p e r m i s s i o n . F U L L S C R E E N . F U L L
I will try to put that into other games.
Flix123 said:
Forget, what I said.
I think, I found it: There's the permission: a r c h o s . p e r m i s s i o n . F U L L S C R E E N . F U L L
I will try to put that into other games.
Click to expand...
Click to collapse
Wonderfull! Thank you!
I lay in bed otherwise i would do it, but i'm just on my archos
It really looks like this permission is the key
I'm testing it in the moment.
You're German, right? So could I send you a german PM?
I don't know, how we could put the permission in apps. Maybe we need the SDK for this?
Is there a developer, that could help us?
And does this work for you? It doesn't work. In connection with button savior it could solve the problem, too.
Okey, i'll send you a german pm easier..
For fhe others:
If there will be any updates i post them here
I have done it before..
Here's how to do it:
1. Decompile the apk using APK tool or other tool that have same function
2. Add this (without quotes) --> "<uses-permission android:name="archos.permission.FULLSCREEN" />" to AndroidManifest.xml
3. Recompile back the apk
4. Sign the apk, I use zip signer
5. Install the apk
I've done this to ezPDFReader, but I think this method is lots of work and after an update, you have to done it again..
Here's thread from archosfans - http://forum.archosfans.com/viewtopic.php?f=63&t=46665
akmalhisyam said:
I have done it before..
Here's how to do it:
1. Decompile the apk using APK tool or other tool that have same function
2. Add this (without quotes) --> "<uses-permission android:name="archos.permission.FULLSCREEN" />" to AndroidManifest.xml
3. Recompile back the apk
4. Sign the apk, I use zip signer
5. Install the apk
I've done this to ezPDFReader, but I think this method is lots of work and after an update, you have to done it again..
Here's thread from archosfans - http://forum.archosfans.com/viewtopic.php?f=63&t=46665
Click to expand...
Click to collapse
Okey, thanks
I it would be much work but could we create an app that decompile the apk and add the line in the manifest?
I'm new in apps develop but i read me in atm
Do you know if android can decompile a apk from built-in?
I'm sure this function hided anwhere, because if theres no function like the we wouldnt be able to install a apk
1. Doesn't "decompile" just mean "unzip"? apk files are just zip files, with some alignment and signing, and you can just unzip them.
2. Dumb question: If you get rid of the buttons, how do you leave the app?
arpruss said:
1. Doesn't "decompile" just mean "unzip"? apk files are just zip files, with some alignment and signing, and you can just unzip them.
2. Dumb question: If you get rid of the buttons, how do you leave the app?
Click to expand...
Click to collapse
1. normally yes, but then the manifest.xml file nearly isnt redable
2. With an button insie the app
Lenn said:
Okey, thanks
I it would be much work but could we create an app that decompile the apk and add the line in the manifest?
I'm new in apps develop but i read me in atm
Do you know if android can decompile a apk from built-in?
I'm sure this function hided anwhere, because if theres no function like the we wouldnt be able to install a apk
Click to expand...
Click to collapse
It would be nice if we can decompile apk inside the device itself. But I think there's no such thing yet
Guys that arent new news
Sorry i am too lazy to search the link, but in the Archosfans forum an Archos Staff said that they implemented the fullscreen permission in one of the last firmware updates...
U have to put the permission line into the manifest...
I tested it and it worked. I am not a developer, u just have to use the Apk Edit tool.
Edit: Okay here is your solution
http://forum.archosfans.com/viewtopic.php?f=63&t=46665
akmalhisyam said:
It would be nice if we can decompile apk inside the device itself. But I think there's no such thing yet
Click to expand...
Click to collapse
Actually, you can compile command-line unzip/zip utilities, and then use a zip-signer app.
(Nevermind--I forgot that the xml files are binary compressed. Sorry, can't see how to delete my reply.)
Just found that there is a way to do this without editing the manifest (and changing the signing keys, thereby losing app data). Instead, just edit /data/system/packages.xml. I just tried it with Angry Birds Seasons, and it worked fine, except that without the buttons it was hard to get out (I just rebooted).
Basically, you pull packages.xml to the PC, find the <package> section you need, and add
<item name="archos.permission.FULLSCREEN.FULL" /> to its <perms> section. If it doesn't have a <perms> section, just add:
<perms>
<item name="archos.permission.FULLSCREEN.FULL" />
</perms>
Then put packages.xml back in /data/system/. Of course you'll need root, but you don't need rw system (/data/system is not in the system partition).
And then reboot (no way around that as far as I can see).
It wouldn't be at all hard to write a little app to do this. It would take less than half an hour for someone who knows how to use SAX (I don't).
One thing this shows, which I didn't know, is that the system gets the permissions from packages.xml, not the manifest. So modifying the manifest in the apk wouldn't help unless you re-installed the apk. And it also means that one can change which permissions one gives an app after one has installed it (though it's probably going to crash if you deny it something it needs).
Of course, be careful. If the xml is malformed, you'll probably get a reset loop. So backup your system first. (I basically tar /data)
arpruss said:
Just found that there is a way to do this without editing the manifest (and changing the signing keys, thereby losing app data). Instead, just edit /data/system/packages.xml. I just tried it with Angry Birds Seasons, and it worked fine, except that without the buttons it was hard to get out (I just rebooted).
Basically, you pull packages.xml to the PC, find the <package> section you need, and add
<item name="archos.permission.FULLSCREEN.FULL" /> to its <perms> section. If it doesn't have a <perms> section, just add:
<perms>
<item name="archos.permission.FULLSCREEN.FULL" />
</perms>
Then put packages.xml back in /data/system/. Of course you'll need root, but you don't need rw system (/data/system is not in the system partition).
And then reboot (no way around that as far as I can see).
It wouldn't be at all hard to write a little app to do this. It would take less than half an hour for someone who knows how to use SAX (I don't).
One thing this shows, which I didn't know, is that the system gets the permissions from packages.xml, not the manifest. So modifying the manifest in the apk wouldn't help unless you re-installed the apk. And it also means that one can change which permissions one gives an app after one has installed it (though it's probably going to crash if you deny it something it needs).
Of course, be careful. If the xml is malformed, you'll probably get a reset loop. So backup your system first. (I basically tar /data)
Click to expand...
Click to collapse
Thaaaank you!
Thanks for the work sou made!
Great news!
Actually i start with app developement at the moment, but jow i just can give out test and buttons and such very first stadium...
You really mean this would be easy? For someone who can create an app?
I could ask the deceloper of the Uruconfig app, solune
But maybe he have to do much at the moment...
We could also create a thread on general xda to ask for somebody who could do this

[Q] mod framework-res.apk to include the CRT screen off animation

Hi
I already find this topic ..Does anyone tested this on ICS?
http://forum.xda-developers.com/showthread.php?t=1109363
I decompiled file and Already False on
<bool name="config_animateScreenLights">false</bool>
so I changed it to true to test whats happen..but now I cant recompile and build it again and many errors ocures while I am try to recompile it..
Can someone helps me with this?

Change LCD density of AOKP jellybean build 1 & Centered lockscreen & incall UI phone

Change LCD density of AOKP jellybean build 1 & Centered lockscreen & incall UI phone
1. change file "/system/build.prop
let
"ro.sf.lcd_density=241"
save and reboot
you'll find the multiwaveview widget of lockscreen and phone are not centered. then you need to
2. replace "system/framework/framework-res.apk" and "system/app/phone.apk"
before paste, you MUST change the permission of above apks.
if you want to decompile the apks by yourself, you may need apktool(fit for jellybean).
References:
How to Center Align the Lock screen and Answer screen in Jellybean
http://forum.xda-developers.com/showthread.php?t=1848475
How-To: Decompile/Recompile apk's with ApkTool
http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
Apktool v1.5.0 - a tool for reverse engineering apk files
http://forum.xda-developers.com/showthread.php?t=1755243
word911 said:
1. change file "/system/build.prop
let
"ro.sf.lcd_density=241"
save and reboot
you'll find the multiwaveview widget of lockscreen and phone are not centered. then you need to
2. replace "system/framework/framework-res.apk" and "system/app/phone.apk"
before paste, you MUST change the permission of above apks.
if you want to decompile the apks by yourself, you may need apktool(fit for jellybean).
References:
How to Center Align the Lock screen and Answer screen in Jellybean
http://forum.xda-developers.com/showthread.php?t=1848475
How-To: Decompile/Recompile apk's with ApkTool
http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
Apktool v1.5.0 - a tool for reverse engineering apk files
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
I cant upload those apks, anyone help?
word911 said:
1. change file "/system/build.prop
let
"ro.sf.lcd_density=241"
save and reboot
you'll find the multiwaveview widget of lockscreen and phone are not centered. then you need to
2. replace "system/framework/framework-res.apk" and "system/app/phone.apk"
before paste, you MUST change the permission of above apks.
if you want to decompile the apks by yourself, you may need apktool(fit for jellybean).
References:
How to Center Align the Lock screen and Answer screen in Jellybean
http://forum.xda-developers.com/showthread.php?t=1848475
How-To: Decompile/Recompile apk's with ApkTool
http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
Apktool v1.5.0 - a tool for reverse engineering apk files
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
This is really nice, but why is this on Q&A forum? Just wonderin
kyokeun1234 said:
This is really nice, but why is this on Q&A forum? Just wonderin
Click to expand...
Click to collapse
cause I am a newbie in xda-developer, my posts are less than 10,
word911 said:
cause I am a newbie in xda-developer, my posts are less than 10,
Click to expand...
Click to collapse
Oh lol ok. Didn't even notice that.

[HELP] Want to remove the status bar clock...

...but I'm having issues installing the required java & android sdk files to my PC so I'm unsuccessful when trying to decompile the SystemUI.apk. Has anyone done that mod to a TW 4.1.2 ROM (Im on JMTJB v6 btw). If so think you could share the edited xml file(s) or the SystemUI apk? I also posted a link of my SystemUI.apk to see if anyone is willing to edit the needed xml files. Just name your price Thx ahead.
I can't be the only one wanting this mod, right? There has to be someone else who got it done on TW 4.1.2
http://forum.xda-developers.com/showthread.php?t=2109973 this should help you out
krazierokz said:
http://forum.xda-developers.com/showthread.php?t=2109973 this should help you out
Click to expand...
Click to collapse
Thank you...but as you see (and I stated on the o.p.) I have problems with my old-ass pc and I can't get the necessary files installed for me to decompile any apk. I have tried and tried but it just won't do it and I'm left unable to decompile crap. I know EXACTLY what I need to do but I CAN'T DECOMPILE the SystemUI.apk to do it. . That's the reason I'm asking if someone (that knows how to decompile, edit the status_bar.xml & tw_status_bar.xml, & compile again) could hook me up...and of course I'm willing to pay for their time.

[Q] enable/disable charger connected sound

hi friends.
i want to disable my charger connected sound without deleting the related file in system\media\ui/
i decompile secsetting.apk , secsettingprovider.apk and some other files.
i guess it's is related to secsetting.apk
but i can't find any codes about it.
anyone know about that?
i want to do this work without any software or module.
00ehsan00 said:
hi friends.
i want to disable my charger connected sound without deleting the related file in system\media\ui/
i decompile secsetting.apk , secsettingprovider.apk and some other files.
i guess it's is related to secsetting.apk
but i can't find any codes about it.
anyone know about that?
i want to do this work without any software or module.
Click to expand...
Click to collapse
Its in system/media/audio/ui/ Charger_Connection.ogg
You can rename it and it wont come.
Sureshtuty said:
Its in system/media/audio/ui/ Charger_Connection.ogg
You can rename it and it wont come.
Click to expand...
Click to collapse
i say without deleting or renaming any file.
i mean in som roms this feature don't work and i want to enable it or add it
i want the code/xml/smali/or anything that control that.

Categories

Resources