Hi
There was mod/ built in script to kill apps by longpress of back key in SGS. is it available for SGS3....??
+1
Sent from my GT-I9300 using xda app-developers app
It comes buit in it Slim, so i'm guessing that cm9/10 or aokp have that feature. I'm also guessing that it's a part of the framework itself.
shaharofir said:
It comes buit in it Slim, so i'm guessing that cm9/10 or aokp have that feature. I'm also guessing that it's a part of the framework itself.
Click to expand...
Click to collapse
Yeah its quite easy to build it into AOSP roms. At the source code level you modify policy/src/com/android/internal/policy/impl/PhoneWindowManager.java which would end up as android.policy.jar in /frameworks
If you can decompile it, it can be added but you would probably also want to decomcpile SecSettings.apk to allow it to be added.
Can't you just enable it in "Settings" » "Developer Options" » "Kill app back button"? This should kill the current app if you hold the back button.
brins0 said:
Can't you just enable it in "Settings" » "Developer Options" » "Kill app back button"? This should kill the current app if you hold the back button.
Click to expand...
Click to collapse
That's what this thread is requesting. In fact that's what my post adds. Obviously this is not a standard option
Sent from my GT-I9300 using Tapatalk 2
brins0 said:
Can't you just enable it in "Settings" » "Developer Options" » "Kill app back button"? This should kill the current app if you hold the back button.
Click to expand...
Click to collapse
I don't have "Kill app back button" under "Developer options"
code72 said:
I don't have "Kill app back button" under "Developer options"
Click to expand...
Click to collapse
No of course not. This is a Development community mod. Not a factory one
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Yeah its quite easy to build it into AOSP roms. At the source code level you modify policy/src/com/android/internal/policy/impl/PhoneWindowManager.java which would end up as android.policy.jar in /frameworks
If you can decompile it, it can be added but you would probably also want to decomcpile SecSettings.apk to allow it to be added.
Click to expand...
Click to collapse
Could you post what has to be modified / added in that file, I wouldn't mind having a bash at adding that to the stock rom.
webwolf_3000 said:
Could you post what has to be modified / added in that file, I wouldn't mind having a bash at adding that to the stock rom.
Click to expand...
Click to collapse
To be clear, I only know how to do it at a source code level, and then I've not done it since Gingerbread so I don't know if the code needs changing. It may be simpler to google it.
However,
This is what would be added for Settings:
packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
Code:
packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
public class DevelopmentSettings extends PreferenceActivity
implements DialogInterface.OnClickListener, DialogInterface.OnDismissListener {
private static final String KILL_APP_LONGPRESS_BACK = "kill_app_longpress_back";
private CheckBoxPreference mKillAppLongpressBack;
addPreferencesFromResource(R.xml.development_prefs);
mKillAppLongpressBack = (CheckBoxPreference) findPreference(KILL_APP_LONGPRESS_BACK);
}
@Override
protected void onResume() {
super.onResume();
mKillAppLongpressBack.setChecked(Settings.Secure.getInt(getContentResolver(),
Settings.Secure.KILL_APP_LONGPRESS_BACK, 0) != 0);
}
@Override
public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) {
} else if (preference == mKillAppLongpressBack) {
Settings.Secure.putInt(getContentResolver(), Settings.Secure.KILL_APP_LONGPRESS_BACK,
mKillAppLongpressBack.isChecked() ? 1 : 0);
}
And for frameworks:
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Code:
Runnable mBackLongPress = new Runnable() {
public void run() {
if (Settings.Secure.getInt(mContext.getContentResolver(),
Settings.Secure.KILL_APP_LONGPRESS_BACK, 0) == 0) {
return;
}
try {
performHapticFeedbackLw(null, HapticFeedbackConstants.LONG_PRESS, false);
IActivityManager mgr = ActivityManagerNative.getDefault();
List<RunningAppProcessInfo> apps = mgr.getRunningAppProcesses();
for (RunningAppProcessInfo appInfo : apps) {
int uid = appInfo.uid;
// Make sure it's a foreground USER application
if (uid >= Process.FIRST_APPLICATION_UID && uid <= Process.LAST_APPLICATION_UID
&& appInfo.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND) {
// Kill the entire pid
Toast.makeText(mContext, com.android.internal.R.string.app_killed_message, Toast.LENGTH_SHORT).show();
Process.killProcess(appInfo.pid);
break;
}
}
I think thats everything. Below are the full files so you can see them in context:
138 lines of code - DevelopmentSettings.java
2535 lines of code - PhoneWindowManager.java
good luck!
thanks for that, I'll unpack the the stock ROM when I have some time and figure out how to hook it together, shouldn't be too dificult I'll post the results when I've gaffered it.
dineshh said:
Hi
There was mod/ built in script to kill apps by longpress of back key in SGS. is it available for SGS3....??
Click to expand...
Click to collapse
+1 Any developer please...
Sent from my GT-I9300 using xda premium
ill make one
Sent from my GT-I9300 using xda premium
Has anyone made this mod yet?
Every phone I've had did have this feature on AOSP but not stock. It would be great to have it on Samsung ROMs.
Sent from my GT-I9300 using xda premium
CuBz90 said:
Every phone I've had did have this feature on AOSP but not stock. It would be great to have it on Samsung ROMs.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
+1000!
deliad said:
ill make one
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
looking forward to it.
anything new here?
someone?
Look for JKay's framework in original android dev section.
His framework can do this!
Related
FIRST THINGS FIRST........ this Rom is not by me I was just posting a link This is by Roman (birgertime)
Attention: Birgertime (Roman) Has posted his work now in this thread :
http://forum.xda-developers.com/showthread.php?t=1402341
I recommend you go there for his work from now on as I will have this thread Closed
Thanks to all for Supporting this Developers work ~oka1 12-20-11 3 pm pst
Downloading now. Roman has awesome stuff for the Sensation.
Sent from my Galaxy Nexus using xda premium
The Brightness Slider option sounds nice!
Great, another AOSP project, congratulations;
Could we have a link for the sources?
bk201doesntexist said:
Great, another AOSP project, congratulations;
Could we have a link for the sources?
Click to expand...
Click to collapse
Already? ROMs aren't even GPL
Github.com/teamkang
Sent from my Galaxy Nexus using Tapatalk
Romanbb said:
Already? ROMs aren't even GPL
Github.com/teamkang
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Thanks.
slang, gtest, oprofile - the well known trio
edit: although oprofile/libpp fix has already been commited in master branch.
bk201doesntexist said:
Thanks.
slang, gtest, oprofile - the well known trio
edit: although oprofile/libpp fix has already been commited in master branch.
Click to expand...
Click to collapse
Yeah, but I just decided to stay on the 4.0.1_r1.2 tag for stability, etc. Also I'm on mint 12, and I didn't wanna switch
Sent from my Galaxy Nexus using Tapatalk
Diggin the launcher prefs. Good stuff.
Anybody having problems with the market? Loads but server can't find my apps.
Sent from my Galaxy Nexus using xda premium
Does this have camera working and if so where did you get the libs for the camera since they are not part of aosp?
Sent from my GT-P7310 using Tapatalk
nice to see a kang rom built specifically for this phone..
Seeing as its a Lang is there any chance of kanging Paul obriens extra search buttons and constant menu buttons ?
Thanks for your work
Sent from my Galaxy Nexus using xda premium
termleech said:
Does this have camera working and if so where did you get the libs for the camera since they are not part of aosp?
Sent from my GT-P7310 using Tapatalk
Click to expand...
Click to collapse
"This is Rogue 2. I found them. I repeat: I found them."
"Good morning! How nice of you to drop by!"
I've got camera working.
1- just flash stock (i used ITL41F);
2- cd device/samsung/maguro/
3- connect phone to adb
4- ./extract-files.sh
5- from the top of the tree, 'make clobber' and 'make clean'
6- rebuild
MontAlbert said:
nice to see a kang rom built specifically for this phone..
Seeing as its a Lang is there any chance of kanging Paul obriens extra search buttons and constant menu buttons ?
Thanks for your work
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes !! I downloaded this rom yes its nice but coming from pauls rom (modoco) i missed the invisable search buttons !! Had to go back to pauls rom . I realy hope those invisable search buttons becomes standard . Jmo
oka1 said:
FIRST THINGS FIRST........ this Rom is not by me I am just posting a link This is by Roman (birgertime)
IT is an AOSP type rom and this is the 1st build
This will be an infinite work in progress.
Build 2- 12-9-11
Added CM Power Menu
Added CM Launcher (includes a few options) -- enabled options menu on the home screen
Adjusted auto-brightness values.
build 1
Android 4.0.1 -- ITL41F
Unsecure boot.img (stock AOSP kernel)
Superuser & Busybox preinstalled
Deodexed of course
Added a brightness slider -- long press settings icon in drop down
more neat things on the way!
flashing instructions
Make sure you have Koush's CWM installed
MAKE A NANDROID
wipe data/factory reset in recovery -- a must if coming from a stock-based ROM
flash ROM
flash gapps
reboot!
Download link :
BUILD 2: http://goo-inside.me/roms/edt/maguro/maguro_aokp_b2.zip
md5 : 97aa0725951225dcae873d5d8b595b8c
AOKP build 1, md5 --- 12d4531befa65e22a5f4d4ae1edf3a79
Gapps, md5--- 2a305ff4cc9711f89d9b19bdea241455
More things to come as I add them . Let me know what you think!
Source : http://rootzwiki.com/topic/11455-rom-aokp-android-open-kang-project-build-1/
Click to expand...
Click to collapse
How I can add busybox to AOSP?
Sent from my GT-I9100
It's a bit offtopic, but..
When you guys lunch, do you see arm-v7-neon in target arch? Shouldn't it be omap? This has been bugging me for a while now, do I need to pass another argument to lunch or make?
bk201doesntexist said:
It's a bit offtopic, but..
When you guys lunch, do you see arm-v7-neon in target arch? Shouldn't it be omap? This has been bugging me for a while now, do I need to pass another argument to lunch or make?
Click to expand...
Click to collapse
That's right, gn has a armv7-a-neon.
Sent from my GT-I9100
bk201doesntexist said:
It's a bit offtopic, but..
When you guys lunch, do you see arm-v7-neon in target arch? Shouldn't it be omap? This has been bugging me for a while now, do I need to pass another argument to lunch or make?
Click to expand...
Click to collapse
OMAP is the type of chip. ARM v7 is the type of instruction-set architecture it uses.
Many chips use the ARM set.
Bluetooth wasn't working for me on this for some reason. I have stereo bluetooth headphones so this is a must. You did good stuff on the vibrant and G2X so I'm looking forward to seeing what you come up with.
wu_wei_lion said:
Bluetooth wasn't working for me on this for some reason. I have stereo bluetooth headphones so this is a must. You did good stuff on the vibrant and G2X so I'm looking forward to seeing what you come up with.
Click to expand...
Click to collapse
This was fixed in build 3
Romanbb said:
This was fixed in build 3
Click to expand...
Click to collapse
Are you the rom Creator?
Sent from my Galaxy Nexus using XDA App
Can you add the screen saver option that is on the cm9 build and Google tts engine keeps crashing every time I launch the browser.
Sent from my Galaxy Nexus using xda premium
Hi
I saw this method on how to enable soft-keys mod .
Here we go.
navigate to system/build.prop
go to the bottom of the page ( document )
add this line
qemu.hw.mainkeys=0
save
reboot
check
Peace
That's great, now, how can I disable the samsung buttons? Not the home one, but the menu and back one...
eXtremeDevil said:
That's great, now, how can I disable the samsung buttons? Not the home one, but the menu and back one...
Click to expand...
Click to collapse
Sorry , but I don't know
as I noticed .. I saw this method in other sites .
and8res said:
Hi
I saw this method on how to enable soft-keys mod .
Here we go.
navigate to system/build.prop
go to the bottom of the page ( document )
add this line
qemu.hw.mainkeys=0
save
reboot
check
Peace
Click to expand...
Click to collapse
Will it works in aosp Rom?
Sent from my GT-I9300 using xda premium
and8res said:
Hi
I saw this method on how to enable soft-keys mod .
Here we go.
navigate to system/build.prop
go to the bottom of the page ( document )
add this line
qemu.hw.mainkeys=0
save
reboot
check
Peace
Click to expand...
Click to collapse
thats a nice share, really appreciate your thought for sharing it here
edit:
one drawback is that the touch vibration and sound is not getting turned off for those buttons...
Give it a try ^
eXtremeDevil said:
That's great, now, how can I disable the samsung buttons? Not the home one, but the menu and back one...
Click to expand...
Click to collapse
Oh man
you are lucky
I found a method to do it
navigate to /system/usr/keylayout/Generic.kl
put a hash tag in front of the lines
key 139 menu
key 158 back
so they will look like
#key 139 menu
#key 158 back
save and reboot
Cheers
Thanks man worked great.
and8res said:
Oh man
you are lucky
I found a method to do it
navigate to /system/usr/keylayout/Generic.kl
put a hash tag in front of the lines
key 139 menu
key 158 back
so they will look like
#key 139 menu
#key 158 back
save and reboot
Cheers
Click to expand...
Click to collapse
It worked! Thanks a lot!
Please tell me how to disable button lights , as they become on even after disabling buttons
Sent from my GT-I9300 using xda app-developers app
drnishant123 said:
Please tell me how to disable button lights , as they become on even after disabling buttons
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
under settings ---> screen, the one above battery percentage show ( sorry i don't know how is in english that words)
drnishant123 said:
Please tell me how to disable button lights , as they become on even after disabling buttons
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Setting - display - touch key light duration and set it to always off.
Any screenshots
Sent from my GT-S5570 using xda premium
It works for me with out any problems.
Thanks mate....
Working great for me, thanks.
Sent from my GT-I9300 using Tapatalk 2
hellmainia said:
Any screenshots
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Sure
hellmainia said:
Any screenshots
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Sent from my GT-I9300 using Tapatalk 2
Great but:
- Photo app and Photo Editor are strange.. App is below the navigation bar
- Music app show a second bar :/
Work great and very simple, thanks !
Envoyé depuis mon GT-I9300 avec Tapatalk
I think you are using a modded launcher like me
apps icons come overlap right ?
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
works great. Thanks
killphillxr said:
works great. Thanks
Click to expand...
Click to collapse
You are welcome mate!!!
thanks you
I can see that option in the file. Is that mean I need to add this key in the file?
Sent from my HTC Desire using xda premium
wongb said:
I can see that option in the file. Is that mean I need to add this key in the file?
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Yes mate go to build.prop located into /system open it with a text editor and add the line i am writing at first post save it restart your phone and you ll have the softkeys enabled!!!
Thanks, it works well
Sent from my Galaxy Nexus using xda premium
Thanks,work in Jellybean rom! :thumbup:
Sent from my MP711I using xda app-developers app
Is there a way to reduce the size of the soft keys. Thanks
bedi.gursimran said:
Is there a way to reduce the size of the soft keys. Thanks
Click to expand...
Click to collapse
No mate you cant do that with this mod. To do that you need to modify other system file manually
Wait,am i missing something?? Do we need to download app for softkeys??
Sent from my GrenadeLauncher Equiped Motorola XT910
MarkelofRazr said:
Wait,am i missing something?? Do we need to download app for softkeys??
Sent from my GrenadeLauncher Equiped Motorola XT910
Click to expand...
Click to collapse
Nope just edit build.prop as I say at first post and u are done that is of course if your Rom does not have them enabled
Sent from my HTC Desire using xda app-developers app
purelook hd rom
I'm using purelook hd rom and it has xperia engine in it. Can't get the soft keys on it. Need help as I can't survive without these.
LMT
hi, as an alternative to standard softkeys, you could use the app LMT (requires root)
it supports gestures, expanded desktops and Pie Softkeys with long press function as in Paranoid rom and some more nice features
Could be interesting for some
halaros2 said:
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
Click to expand...
Click to collapse
works. thanks
Can't believe it's so simple!
Works great!
Lot of thanks!
halaros2 said:
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
Click to expand...
Click to collapse
Is there a way to customize the "Recent" soft key to "Menu"? When I added the script while using the CM10 rom, I could change them around in the navigation settings. I recently switched back to the stock JB version, but added soft keys because my hardkeys stopped working after I dropped it in a spa
Any advice would be much appreciated!
Cheers!
kamirza said:
I'm using purelook hd rom and it has xperia engine in it. Can't get the soft keys on it. Need help as I can't survive without these.
Click to expand...
Click to collapse
U mean u tried this mod and it doesn't work?
penguinmaster said:
Is there a way to customize the "Recent" soft key to "Menu"? When I added the script while using the CM10 rom, I could change them around in the navigation settings. I recently switched back to the stock JB version, but added soft keys because my hardkeys stopped working after I dropped it in a spa
Any advice would be much appreciated!
Cheers!
Click to expand...
Click to collapse
Nope u can't edit it with this mod... For doing this u have to edit other files
Is there any way to make the Soft Keys smaller.. (at least 50% smaller than its original size/height)... its because my phone (the Galaxy S Advance) has a resolution of only 480x800.... I just feel like there is not enough space on my screen to be honest, that's why I'm asking this....
(Post Added)
- I can't take Screenshots anymore, using my Home + Power Button
- My dialer app is getting covered with the Soft keys.. so I can't call anyone because I can't tap on the call button
halaros2 said:
To all those who want softkeys enabled at their rom if they don't have that option you can edit build.prop ( it must work with most jelly bean and ics roms)
qemu.hw.mainkeys=0
Reboot
Softkeys enabled
Click to expand...
Click to collapse
Awesome thanks!
Sent from my GT-I9082 using Tapatalk 4
Fixed htc dhd Headset Remote control button is invalid
find dhd kernel Source code (Flemmard or KangBanged)
/arch/arm/mach-msm/board-spade.c
open the board-spade.c file . find
/* HTC_HEADSET_MICROP Driver */
static struct htc_headset_microp_platform_data htc_headset_microp_data = {
.remote_int = 1 << 5,
.remote_irq = MSM_uP_TO_INT(5),
.remote_enable_pin = 1 << 4,
.adc_channel = 0x01,
.adc_remote = {0, 33, 38, 82, 95, 167},
};
Change into
/* HTC_HEADSET_MICROP Driver */
static struct htc_headset_microp_platform_data htc_headset_microp_data = {
.remote_int = 1 << 13,
.remote_irq = MSM_uP_TO_INT(13),
.remote_enable_pin = 1 << 4,
.adc_channel = 0x01,
.adc_remote = {0, 33, 38, 82, 95, 167},
};
ok, it work perfect and special headset working.
I'm from China.sorry I'm not very good at English
Thank you very much!
:victory:Thank you..
ah nice catch!!
ucxl can u give us and source for no wake delay plsssss Thx for your work you are verry good man to post here source code
Nice man !! 你真了不起 ( u are awesome ) !
Sent from my DHD+ loaded with ViperDHD V1.2.1 using xda premium
Compiling a kernel now with headset fix
edit : kernel done waiting for feed back
Sent from my Desire HD using xda premium
p2pjack said:
Compiling a kernel now with headset fix
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
Great news, hope a new kernel
You rock bro! Chinese all the way
Sent from my Desire HD using xda app-developers app
So i guess every sense rom dev will include this in their next update?
Now the headset is working, i'll pick the most stable ICS sense 4 ROM
0℃ Team
NiCk.JaY said:
You rock bro! Chinese all the way
Sent from my Desire HD using xda app-developers app
Click to expand...
Click to collapse
I am only on behalf of the team expression U of selfless apologize and immense gratitude!
---------- Post added at 01:07 PM ---------- Previous post was at 01:03 PM ----------
ucxl said:
Fixed htc dhd Headset Remote control button is invalid
find dhd kernel Source code (Flemmard or KangBanged)
/arch/arm/mach-msm/board-spade.c
open the board-spade.c file . find
/* HTC_HEADSET_MICROP Driver */
static struct htc_headset_microp_platform_data htc_headset_microp_data = {
.remote_int = 1 << 5,
.remote_irq = MSM_uP_TO_INT(5),
.remote_enable_pin = 1 << 4,
.adc_channel = 0x01,
.adc_remote = {0, 33, 38, 82, 95, 167},
};
Change into
/* HTC_HEADSET_MICROP Driver */
static struct htc_headset_microp_platform_data htc_headset_microp_data = {
.remote_int = 1 << 13,
.remote_irq = MSM_uP_TO_INT(13),
.remote_enable_pin = 1 << 4,
.adc_channel = 0x01,
.adc_remote = {0, 33, 38, 82, 95, 167},
};
ok, it work perfect and special headset working.
I'm from China.sorry I'm not very good at English
Click to expand...
Click to collapse
I am only on behalf of the team expression U of selfless apologize and immense gratitude!
I am willing to put my camera the transplantation technology dedicated to the DHD machine Friends of
all can support ucxl by using his brownser available on google play This man deserve that without it we would have been more back And i have to say its more stable than chrome or maxthon
It's a little bit off topic but, Is there any way to change skip keys in headset to Vol+ and Vol-, and keep skip track functionality with long press?
Sent from my Desire HD using xda app-developers app
I'm sorry I doubted you. Glad to see your stuff here.
well done.thanks
Sent from my Desire HD using xda app-developers app
BIG BROTHER U : Genius man. The most important point in HDD history. Yr Rom is also the best.
Sent from my HTC Desire HD Telus using Tapatalk 2
---------- Post added at 09:15 PM ---------- Previous post was at 08:36 PM ----------
torxx said:
ah nice catch!!
Click to expand...
Click to collapse
You are ready to include in your ROM now?
你真是個天才 !!! (((you're a genius))
ucxl said:
Fixed htc dhd Headset Remote control button is invalid
Click to expand...
Click to collapse
Thanks, my urBeats Monster InEar Headset work perfekt
Sent from my HTC Desire HD using xda app-developers app
@makey404
There are some apps in the play store that allow you to change what the button presses do. I can't remember for sure but I think this was possible.
Sent from my Desire HD using xda app-developers app
bananagranola said:
I'm sorry I doubted you. Glad to see your stuff here.
Click to expand...
Click to collapse
Never mind, I began to do wrong
Here is a quick How To on adding the Driving Mode button to the Quick Settings drop down.
REQUIREMENTS
Knowledge on how to decompile and recompile SystemUI.apk
GUIDE
1. Decompile your SystemUI.apk
2. Navigate to and open \SystemUI\res\values\arrays.xml
3. In your text editor you will see this list:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Location</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Sync</item>
</string-array>
Click to expand...
Click to collapse
3. Add the following line where you want the Driving Mode Button to be:
<item>DrivingMode</item>
Click to expand...
Click to collapse
For example:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Location</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>DrivingMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Sync</item>
</string-array>
Click to expand...
Click to collapse
4. Save, recompile and replace your SystemUI.apk on your device - either reboot or flash via recovery (which ever method you prefer)
5. DONE!
NOTES:
Even though no notification pops up confirming it is enabled IT IS, if you goto system settings and find the enable button you will see it is ON.
You can also delete, rearrange your buttons to how ever you like.
The graphic for Driving Mode IS included in our devices ROMS, so no need to add any images either. (Along with other buttons that aren't enabled)
You can also add Airplane Mode:
<item>AirplaneMode</item>
MalekoUK said:
You can also add Airplane Mode:
<item>AirplaneMode</item>
Click to expand...
Click to collapse
Hi, how to add a torch as an ite
Sent from my GT-I8190 using xda app-developers app
bymicol said:
Hi, how to add a torch as an ite
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
I don't know if it's possible, you would have to create some icons for it and add maybe:
<item>Torch</item>
or
<item>FlashLight</item>
But may not even work with our device.
MalekoUK
nice one works nicely
now to get my other changes i was trying to do to work
Great and thanks. Do you know if there's any way to add a 2g/3g toggle?
tys0n said:
Great and thanks. Do you know if there's any way to add a 2g/3g toggle?
Click to expand...
Click to collapse
That would be a nice addition! Maybe one for 3G on/off....hhmm...
<item>MobileData</item> ????
efaustino84 said:
<item>MobileData</item> ????
Click to expand...
Click to collapse
That turns all data off unfortunately.
Maybe AssistiveLight?
Sent from my SIII Mini using Tapatalk
MalekoUK said:
Maybe AssistiveLight?
Sent from my SIII Mini using Tapatalk
Click to expand...
Click to collapse
I would assume something like that. Nice find.
Sent from the dark side using my gt-I8190
iKlutz said:
I would assume something like that. Nice find.
Sent from the dark side using my gt-I8190
Click to expand...
Click to collapse
Doesn't work, nothing shows up, even after adding icons for AssistiveLight, might need more files editing somewhere...
i cant find values folder?!!!!!
Hey MalekoUK, where can I find some rough guides to get started up with roms, apps and modding? I want to be able to help out I'm quite experienced in coding.
Sent from the dark side using my gt-I8190
[GS] said:
i cant find values folder?!!!!!
Click to expand...
Click to collapse
Decompile systemUi.apk, don't extrax..
Sent from my GT-I8190 using xda premium
iKlutz said:
Hey MalekoUK, where can I find some rough guides to get started up with roms, apps and modding? I want to be able to help out I'm quite experienced in coding.
Sent from the dark side using my gt-I8190
Click to expand...
Click to collapse
also keen to do some stuff
first thing i did was download the toolkit with all the goodies we need to mod roms etc
iKlutz said:
Hey MalekoUK, where can I find some rough guides to get started up with roms, apps and modding? I want to be able to help out I'm quite experienced in coding.
Sent from the dark side using my gt-I8190
Click to expand...
Click to collapse
Right here on XDA
XDA is the place I found out how to do all the stuff I do, many tutorials, just search for the right thing
ask and ye shall find
the power of the search is great on this forum
it shall provide you with all that you need and stuff that you could need
Are you signing the apk? In walkthroughts is written dont sign when its system apk, which is.
Tried to decompile,recompile, did not change anything and on phone it is not working.
Also, odexed or deodexed? This file is in both versions. Tried them both,no success.
It would be great to find out full list of possible items. I will decompile stock systemUI and take a look for full list