how can i remove the stock toggles - Galaxy S III Themes and Apps

how can i remove the stock toggles in Notification bar
I want it similar to the real ics

Mohad.O.F said:
how can i remove the stock toggles in Notification bar
I want it similar to the real ics
Click to expand...
Click to collapse
It's very easy
Just edit SystemUI.apk/res/layout/tw_status_bar_expanded.xml
Add
Code:
android:visibility="gone"
into this line
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller"

raubkatze said:
It's very easy
Just edit SystemUI.apk/res/layout/tw_status_bar_expanded.xml
Add
Code:
android:visibility="gone"
into this line
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller"
Click to expand...
Click to collapse
thnx but how i can edit the tw_status_bar_expanded.xml (What is the program) to open the .xml to add the line

Mohad.O.F said:
thnx but how i can edit the tw_status_bar_expanded.xml (What is the program) to open the .xml to add the line
Click to expand...
Click to collapse
http://code.google.com/p/android-apktool/

raubkatze said:
It's very easy
Just edit SystemUI.apk/res/layout/tw_status_bar_expanded.xml
Add
Code:
android:visibility="gone"
into this line
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller"
Click to expand...
Click to collapse
again learned something

leamoor said:
again learned something
Click to expand...
Click to collapse
Enjoy but there are much more here - http://developer.android.com/reference/android/widget/package-summary.html

raubkatze said:
Enjoy but there are much more here - http://developer.android.com/reference/android/widget/package-summary.html
Click to expand...
Click to collapse
Thank you for sharing this link,
and you has been to teach,i really thank you!

leamoor said:
Thank you for sharing this link,
and you has been to teach,i really thank you!
Click to expand...
Click to collapse
You're welcome

Is there a before and after pic for this? Also can this be used to remove the sideways slide motion when you open the pull down?

StormtrooprDave said:
Is there a before and after pic for this? Also can this be used to remove the sideways slide motion when you open the pull down?
Click to expand...
Click to collapse
It should be added once into the line I've pointed and it has noting to do with auto scroll effect when open notification pulldown. It only hides current frame from the screen.

raubkatze said:
It's very easy
Just edit SystemUI.apk/res/layout/tw_status_bar_expanded.xml
Add
Code:
android:visibility="gone"
into this line
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller"
Click to expand...
Click to collapse
Toggle buttons are deleted, but will remain only blank space... how this blank space remove? (notifications moved completely up!) Thank you very much!
PS. I have Samsung Note II ROM v.4.1.2

Related

[Q] Transparent Statusbar/Dropdown Menu Gingerbread

Hello People!
I was wondering if someone knows if there is someone who can make a semi-transparent statusbar and dropdown menu? Or is there a ''how to'', to make it my own?
Hope this thread is on the right place.
Greets
[B-shorty]
Transparent status bar when on home screen on launcher pro is something I'm dying for since a very very long time...
you can make the background of the statusbar. The file ist in the framework-res.apk. Named "status_bar_background.9.png"
I uploaded an example for you
Ok thank you!
Had how can i implement and apply this adjustment?
Thank you!
Gunny© said:
you can make the background of the statusbar. The file ist in the framework-res.apk. Named "status_bar_background.9.png"
I uploaded an example for you
Click to expand...
Click to collapse
Doesn't work for gingerbread.
Have a look at SystemUI.apk/res/layout/status_bar_tracking.xml
scheichuwe said:
Doesn't work for gingerbread.
Have a look at SystemUI.apk/res/layout/status_bar_tracking.xml
Click to expand...
Click to collapse
How can i adjust that xml file? I'm totally new in adjusting such files.
Thank you!
B_sHorTy said:
How can i adjust that xml file? I'm totally new in adjusting such files.
Thank you!
Click to expand...
Click to collapse
scheichuwe is right. Change the status_bar_tracking.xml to point the background to a drawable.. Something like :-
<View android:background="@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Then make your drawable transparent. I've attached the one I use but you can always make your own if you want.
Hope this helps..
EDIT: The attachment should be called shade_bg.png. It seems to have been renamed when I attached it????
Rimmer1966 said:
scheichuwe is right. Change the status_bar_tracking.xml to point the background to a drawable.. Something like :-
<View android:background="@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
Then make your drawable transparent. I've attached the one I use but you can always make your own if you want.
Hope this helps..
EDIT: The attachment should be called shade_bg.png. It seems to have been renamed when I attached it????
Click to expand...
Click to collapse
Do i need to past those lines in that XML file? how can i apply the changes i made?
Thanks!
Is this project finished?
Is it possible someone send modified xml file for transparent status bar in gingerbread ( 2.3.4)?
I would like that too..
I tried to make it my self but with no success.
Every time I changed something, the statusbar was gone. (like the whole status bar)
any progress on this?
same question.. somebody know?

[Q] Screen Density Issues

Is there a fix for the resize issues that apps have when you change the screen density or are you just stuck dealing with it
T1RKazz said:
Is there a fix for the resize issues that apps have when you change the screen density or are you just stuck dealing with it
Click to expand...
Click to collapse
There is a way, you would have to decompile the apks before they would work right.
Code:
<supports-screens
android:largeScreens="true"
android:smallScreens="true"
android:normalScreens="true"
/>
or
Code:
android:anyDensity
lithid-cm said:
There is a way, you would have to decompile the apks before they would work right.
Code:
<supports-screens
android:largeScreens="true"
android:smallScreens="true"
android:normalScreens="true"
/>
or
Code:
android:anyDensity
Click to expand...
Click to collapse
Where do you apply this to? The Android manifest xml???
mazdarider23 said:
Where do you apply this to? The Android manifest xml???
Click to expand...
Click to collapse
Yes sir, that would be where.
Thanks!!
Swyped from my cyanogenized HTC EVO.....
Thank you for this.
~ I'm a fungi

[Q] remove clock on stat bar jb

hi guys
i just want to ask if there's an available app or flashable zip that can remove the clock from the status bar?
i've search the threads but i only found 1 but only applicable to gingerbread.
i'm currently using an ls8 based rom from biftor
tia
chwoiy said:
hi guys
i just want to ask if there's an available app or flashable zip that can remove the clock from the status bar?
i've search the threads but i only found 1 but only applicable to gingerbread.
i'm currently using an ls8 based rom from biftor
tia
Click to expand...
Click to collapse
send your SystemUI.apk,I will make.
thanks. but i wouldn't want to trouble you
thanks. but i wouldn't want to trouble you
i would want something that i could do myself easily and undo it anytime i want.
Thank you very much anyway, highly appreciated. i've seen you offer help on the other threads.
:good::angel::good:
chwoiy said:
thanks. but i wouldn't want to trouble you
i would want something that i could do myself easily and undo it anytime i want.
Thank you very much anyway, highly appreciated. i've seen you offer help on the other threads.
:good::angel::good:
Click to expand...
Click to collapse
Decompile SystemUI.apk
Navigate to SystemUI>res>layout>tw_status_bar.xml
Find this line
HTML:
<com.android.systemui.statusbar.policy.Clock..............
Change value at 2 place
HTML:
android:layout_width="wrap_content" android:layout_height="fill_parent"
to
HTML:
android:layout_width="0.0dip" android:layout_height="0.0dip"
That's over,Now you haven't clock on statusbar,very easy.
thanks dr30ma
thanks dr30ma,
appreciate your help. i'll try to do what u said but i still have to find myself and xml editor and i don't know how to recompile the apk.
also, i'm not using the stock TW launcher. does it matter if i use a different launcher? i also have a different rom
thanks
chwoiy said:
thanks dr30ma,
appreciate your help. i'll try to do what u said but i still have to find myself and xml editor and i don't know how to recompile the apk.
also, i'm not using the stock TW launcher. does it matter if i use a different launcher? i also have a different rom
thanks
Click to expand...
Click to collapse
Doesn't matter which launcher you used.
systemUi and launcher are both different system apps.
Google and Google......
It's your friend,take help.
I learn only from search,Never take any help in my mods from any dev.
Do And do.... you will learn everything.
For giving thanks a button is situated on lower rt. side.
And for center clock?
Install AllianceMod.
GreatVortex said:
And for center clock?
Click to expand...
Click to collapse
For Centre Clock
Read this Guide
http://forum.xda-developers.com/showthread.php?t=1830994
---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------
tariq2kn said:
Install AllianceMod.
Click to expand...
Click to collapse
Tarique Bhai someone want to do himself.
thanks dr30ma
thanks again dr30ma
i tried installing apk multi tool
and read some instructions on how to edit the systemui but i always get stuck at decompile apk.
"an error occured pls check the log"
some tutorials even says that we should set the max size or option 22.
i get lost in it
tia
i tried alliancemod but
tariq2kn said:
Install AllianceMod.
Click to expand...
Click to collapse
i tried alliance mod looks great but the toggles are not my style and you have to use on of the toggles so that your preferences would reflect. also it interferes with the multiwindow of the biftor rom that i'm using.
i also tried the alliancerom but same problem with toggles. the settings look also changed. i'm aiming for a more stock like look.
but thanks for the recommendation, at first i really liked the customization but it just didn't suit my taste.
:angel:
i think i have decompiled
dr30ma said:
Decompile SystemUI.apk
Navigate to SystemUI>res>layout>tw_status_bar.xml
Find this line
HTML:
<com.android.systemui.statusbar.policy.Clock..............
Change value at 2 place
HTML:
android:layout_width="wrap_content" android:layout_height="fill_parent"
to
HTML:
android:layout_width="0.0dip" android:layout_height="0.0dip"
That's over,Now you haven't clock on statusbar,very easy.
Click to expand...
Click to collapse
hello dr30ma
i think i have decompiled the systemui.apk. i found it in the projects folder.
i've double clicked the tw_status_bar.xml and the IExplorer opened showing the code.
i've also found the line that u were stating above but i don't know how to edit it.
do i need to download an xml editor?
tia:good:
chwoiy said:
hello dr30ma
i think i have decompiled the systemui.apk. i found it in the projects folder.
i've double clicked the tw_status_bar.xml and the IExplorer opened showing the code.
i've also found the line that u were stating above but i don't know how to edit it.
do i need to download an xml editor?
tia:good:
Click to expand...
Click to collapse
Use Notepad++ (google and download it, it's free) if you have windows on your PC.
recompiling
hi dr30ma
i'm really not sure if i've done everything correctly.
in decompiling i keep on getting an error occured
but i checked projects folder, the systemui directory is there
so i looked for the tw_status_bar.xml file and made the changes u listed by just using notepad. i'm not really sure if this is correct but i tried it anyway.
now when i go back to script in apktool, i press 11 to recompile apk. but there is again an error.
i tried to look for the keep directory but it does not appear. so i think i wasn't successful.
any help would be appreciated. tia!
is notepad++ same as the stock notepad available in windows7?
churapa said:
Use Notepad++ (google and download it, it's free) if you have windows on your PC.
Click to expand...
Click to collapse
is notepad++ same as the stock notepad available in windows7? i just used that
and was i successful in decompiling?
tia!
chwoiy said:
is notepad++ same as the stock notepad available in windows7? i just used that
and was i successful in decompiling?
tia!
Click to expand...
Click to collapse
Don't use stock notepad it is not same. Download ++ or pspad
Sent from my GT-I9100 using xda app-developers app
grisoxxl said:
Don't use stock notepad it is not same. Download ++ or pspad
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
thanks for the help. but have i done the steps right? i'm not sure about the steps i did in apktool
tia

[Tutorial][How-to][Guide] StatusBar Mods [CORNER OPTION - TRAFFIC - MORE]

StatusBar Mods For All Xperia Devices​
Requirements​
ApkTool
SystemUI.apk
Knowledge to Decompiling and Compiling APKs
Notepad++
Add Corner Options on StatusBar
Decompile with APKTool SystemUI.apk
Go to res/layout/status_bar.xml
Add this Line ( <com.android.systemui.statusbar.policy.KeyButtonView android:layout_gravity="right" android:id="@id/home" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/screen_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" androidrientation="vertical" /> ) between this " </LinearLayout> " and this " <ImageView android:layout_gravity="top|left|center" android:id="@id/rounded_corner_ul" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/rounded_corner_ul" /> "
Than Make a Transparent Image 20x35 with Photoshop in .PNG , rename it in ( screen_lock ) and copy in" res/drawable-xhdpi "
Compilng and Done
Add Traffic Meter to StatusBar
Decompile systemUI.apk
Go to res/layout and open status_bar.xml
Add this line ( <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" /> ) two line above the line " <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" /> "
now go to res/values and open ids.xml and add this line at the end " <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" /> "
Now go to res/values and open styles.xml and copy this code at the end "
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style> "
Now download this Package and extract it to smali/com/android/systemui/statusbar/policy/HERE
Compile and Done
Change Color StatusBar
Decompiling SystemUI.apk
Go to res/values , open drawables.xml
Change in <item type="drawable" name="status_bar_background">#ff14374f</item> the #ff14374f in ur prefered colour , to choose color i suggest to open Photoshop and in colors pick up ur colour code and paste with this " 14374f " in Drawables.xml file.
Compiling and Done
More Mods Soon​
Appreciate your work but these mods can already be done using Xposed framework without any flashing.
PünchUp said:
Appreciate your work but these mods can already be done using Xposed framework without any flashing.
Click to expand...
Click to collapse
And for who dont want xposed?!? Hahah
Sent from my LT26ii using XDA Premium 4 mobile app
savergiggio said:
And for who dont want xposed?!? Hahah
Sent from my LT26ii using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That's why I said I appreciate your work
PünchUp said:
That's why I said I appreciate your work
Click to expand...
Click to collapse
nice!!
Can u post screenshots of end-effect of edited statusbar?
Thanks master @savergiggio
Sent from my LT26w using XDA Premium 4 mobile app
Great tutorial mate! I really appriciate it ?
EDIT: how about tutorial on putting close all button on taskswitcher?
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
rockernaxo said:
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
Click to expand...
Click to collapse
i didnt copy these codes
HitFan said:
Can u post screenshots of end-effect of edited statusbar?
Click to expand...
Click to collapse
i will
rockernaxo said:
Why don't you never give credits? You haven't made up these mods... you should give credits to whoever you have copied the code from.
Click to expand...
Click to collapse
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
Oh Really?
Same as this link : http://forum.xda-developers.com/showthread.php?t=2241739
And you give TRAFFIC.zip on this thread.
You Reported "freeloader" !!
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
Are you kidding? Who are you trying to decieve?
I don't say you can't post "your guide" here, but at least give credits to those who have really done this stuff.
These mods are the result of hours of hardwork and not of your hardwork. Give credits man, that's not the spirit of xda.
Hi , i guess that OP never use searh button. 
Dzol Cp said:
Hi , i guess that OP never use searh button. 
Click to expand...
Click to collapse
But he uses well Ctrl-C and Ctrl-P
Btw thanks you for this tuturial...
rockernaxo said:
Are you kidding? Who are you trying to decieve?
I don't say you can't post "your guide" here, but at least give credits to those who have really done this stuff.
These mods are the result of hours of hardwork and not of your hardwork. Give credits man, that's not the spirit of xda.
Click to expand...
Click to collapse
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
Simple, you can start giving credits to RC @Dzol Cp.
The same I'd recommend with your ROM
savergiggio said:
i didnt copy these codes
Click to expand...
Click to collapse
@rockernaxo is right, i think u get the tutorial on adding traffic meter on statusbar here: http://forum.xda-developers.com/showthread.php?t=2241739 right?
savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
You're not successful on lying as hijack. I gave the source thread (which you take(hijack) TRAFFIC.zip) You must give Dzol Cp to credits.
This is not your work, and you're saying i didint take the codes, they are my made. So Sorry for you!
savergiggio said:
bro u are right but i pick up these codes from different source i can't give credit to only one person... i serched for them in others site too .... different from XDA...
Click to expand...
Click to collapse
I check your zip file and all the smali code is belong to me and my group project! what are you gonna say? still refuse to add real link and credits?
then your thread has still not report to FORUM MODERATOR.. i give you chance by today.. and if still nothing on progress. then you will know.
Regards
Dz

[GUIDE] Proximity Sensor to Lockscreen (UPDATE! less battery consumption)

Lock your Galaxy Young Like a Boss
​
THREAD UPDATED
I manager to do this (and think of this) when I type *#*#0588#*#* on dialer.
It gives me an idea to go to lockscreen using our proximity sensor. This will also
avoid you to use the power button frequently, because power button is easy to
be broken
Update:​Less battery consumption! hehe. How? I catch intents if the screen was off or on,
if the screen is off, it unregisters the proximity so it will not drain your batt
when your phone is on your pocket, or any tiny place that will always
use the proximity sensor. It just activates when screen is on.
Watch this video on how this thing work:
https://www.youtube.com/watch?v=OH3j44UUTgM
WARNING! :
Doing this guide makes your battery to drain
faster than before. (Because Sensor is always active).​
Click to expand...
Click to collapse
​
Steps:
1.) Decompile SystemUI.apk
2.) Extract ProximityLock.zip on smali folder.
3.) Go to res/layout/status_bar.xml and add this code below line with an @id/icons:
Code:
<com.tenten.SensorLock android:layout_height="0.0dip" android:layout_width="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk to enable/disable it.
6.) Flash and Do some action like a boss. (Dont forget to jump high xD) if not working, please post a logcat!
Java source: (OUTDATED)https://github.com/tentenponce/Proximity_and_Shake/tree/Gingerbread
Credits
StackOverflow.com
*#*#0588#*#* Samsung Code xD
LenoxDevs
PotatoInc​
Reserve for more actions
EDIT: Actions were canceled.
Play/Pause: Proximity detects two times, so it just pause then play again music and vice versa. (It f*cks me).
STILL feel free to suggest what kind of action on proximity except going to lockscreen. Make sure it will be good/useful (And also make sure i can do it, because im not a magician and will just magic it for you xD)
wow! gonna try it
EDIT: works great! thanks..
waiting for the next update
This is too awesome
Thanks sir :good:
tentenponce said:
Lock your Galaxy Young Like a Boss
​Watch this video on how this thing work: https://www.youtube.com/watch?v=OH3j44UUTgM
How I made it: Type *#*#0588#*#*. This thing inspires me to do this xD
Steps:
1.) Decompile SystemUI.apk
2.) Extract ProximityLock.zip on smali folder.
3.) Go to res/layout/status_bar.xml and add this code below line with an @id/icons:
Code:
<com.tenten.SensorLock android:layout_height="0.0dip" android:layout_width="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk to enable/disable it.
6.) Flash and Do some action like a boss. (Dont forget to jump high xD) tell me if not working.
Credits
StackOverflow.com
*#*#0588#*#* Samsung Code xD
LenoxDevs
PotatoInc​
Click to expand...
Click to collapse
Freaking awesome man! Could you please make a single app ? For this mod? I MEAN, without the other options of the other mods of yours I hope you can. THANKS FOR THIS MOD. (Y)
Thx. it`s work for my LG P713 4.1.2
Pls make app for this mod without the other options of the other mods of yours
And can you make Proximity Unlock?
RikudouSennin said:
Freaking awesome man! Could you please make a single app ? For this mod? I MEAN, without the other options of the other mods of yours I hope you can. THANKS FOR THIS MOD. (Y)
Click to expand...
Click to collapse
Just transfer the checkbox preference to your settings, or just uninstall it because it will still work
tentenponce said:
Just transfer the checkbox preference to your settings, or just uninstall it because it will still work
Click to expand...
Click to collapse
Sorry for this question here, but, can you make a guide for this (put a preference of an app in settings)?
I already tried using smalis, ids, values, res, of original app to implement in a new activity of settings but i never can recompile again because give "short id" or others unknown (unknown to me xD) errors in smali's...
Sorry again for question, but i always wanted to learn this.
Thanks.
RBDoMGaM said:
Sorry for this question here, but, can you make a guide for this (put a preference of an app in settings)?
I already tried using smalis, ids, values, res, of original app to implement in a new activity of settings but i never can recompile again because give "short id" or others unknown (unknown to me xD) errors in smali's...
Sorry again for question, but i always wanted to learn this.
Thanks.
Click to expand...
Click to collapse
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id:
Code:
0x7f04
to:
Code:
(yourpublicid)
then go to res/xml/settings.apk and add this code BEFORE </PreferenceScreen>:
Code:
<com.android.settings.IconPreferenceScreen android:title="Proximity Settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.tenten" android:action="android.intent.action.MAIN" android:targetClass="com.tenten.tenten" />
</com.android.settings.IconPreferenceScreen>
go again to res/xml/main and remove the preference you dont want.
It will make a shortcut to your settings.apk to customizableparts.
tentenponce said:
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id:
Code:
0x7f04
to:
Code:
(yourpublicid)
then go to res/xml/settings.apk and add this code BEFORE </PreferenceScreen>:
Code:
<com.android.settings.IconPreferenceScreen android:title="Proximity Settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.tenten" android:action="android.intent.action.MAIN" android:targetClass="com.tenten.tenten" />
</com.android.settings.IconPreferenceScreen>
go again to res/xml/main and remove the preference you dont want.
It will make a shortcut to your settings.apk to customizableparts.
Click to expand...
Click to collapse
Can we make it without install Customizableparts.apk ? So preference in Customizableparts.apk moved to settings.apk
GSculerlor said:
Can we make it without install Customizableparts.apk ? So preference in Customizableparts.apk moved to settings.apk
Click to expand...
Click to collapse
Follow it and you dont need to install customizableparts.apk.
tentenponce said:
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id:
Code:
0x7f04
to:
Code:
(yourpublicid)
then go to res/xml/settings.apk and add this code BEFORE </PreferenceScreen>:
Code:
<com.android.settings.IconPreferenceScreen android:title="Proximity Settings" settings:icon="@drawable/ic_settings_about">
<intent android:targetPackage="com.tenten" android:action="android.intent.action.MAIN" android:targetClass="com.tenten.tenten" />
</com.android.settings.IconPreferenceScreen>
go again to res/xml/main and remove the preference you dont want.
It will make a shortcut to your settings.apk to customizableparts.
Click to expand...
Click to collapse
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id: -- Sorry sir but i dont really get it Can you please explain further sir ? Im so slow
very cool,i try for sure.great work.thx hitted!!!!
tentenponce said:
Lock your Galaxy Young Like a Boss
​Watch this video on how this thing work: https://www.youtube.com/watch?v=OH3j44UUTgM
How I made it: Type *#*#0588#*#*. This thing inspires me to do this xD
Steps:
1.) Decompile SystemUI.apk
2.) Extract ProximityLock.zip on smali folder.
3.) Go to res/layout/status_bar.xml and add this code below line with an @id/icons:
Code:
<com.tenten.SensorLock android:layout_height="0.0dip" android:layout_width="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk to enable/disable it.
6.) Flash and Do some action like a boss. (Dont forget to jump high xD) tell me if not working.
Credits
StackOverflow.com
*#*#0588#*#* Samsung Code xD
LenoxDevs
PotatoInc​
Click to expand...
Click to collapse
can you make a video step by step to do this ? i don't have any idea. decompile bla bla. please tell me how to do this step by step process. thanks in advanced. Good Job.
ChristianMonteon said:
can you make a video step by step to do this ? i don't have any idea. decompile bla bla. please tell me how to do this step by step process. thanks in advanced. Good Job.
Click to expand...
Click to collapse
Sorry
, but all i can make is a guide, before doing this, you need basic knowledge about decompiling/using apktool and a little xml thing.
RikudouSennin said:
Decompile CustomizableParts.apk and get the smali and the res/xml/main, recompile then get the public id of the main.xml, go to tenten.smali find this line and replace it to your public id: -- Sorry sir but i dont really get it Can you please explain further sir ? Im so slow
Click to expand...
Click to collapse
Learn first how to decompile using apktool, then after that, decompile customizableparts.apk, get the smali and transfer it on settings.apk, (you must also decompile settings.apk) then also the main.xml that will be found on customizableparts/res/xml/main.xml to settings.apk also. then follow the above instructions. I know there's a guide on how to add extra activity on settings.
Pls make app for this mod without the other options of the other mods of yours
And can you make Proximity Unlock?
the_vanya1 said:
Pls make app for this mod without the other options of the other mods of yours
And can you make Proximity Unlock?
Click to expand...
Click to collapse
try to follow the guide that i quote on rikudousennin. If i will put proximity unlock, it will be bug maybe if you put your phone on you pocket, facedown on something, etc.. because it will unlock, lock, unlock, lock , infinite. xD but still finding a solution, but for now, it will be impossible
-CALIBAN666- said:
very cool,i try for sure.great work.thx hitted!!!!
Click to expand...
Click to collapse
Thanks sir xD just got the idea on *#*#0588#*#* xD thanks to samsung xD
i know it, but it can be on or off, and you can upgrade this function later

Categories

Resources