[GUIDE] Hide Status Bar in ICS like Jelly Bean - Sony Xperia P, U, Sola, Go

it's very simple ...
1. decompile SystemUI
SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
2 find and change 0x7e1 (sola ICS have it line 5101 and 5189) on 0x7de
3 find .method updateExpandedViewPos(I)V and delete this
Code:
.line 1936
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-virtual {v8}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->getHeight()I
move-result v3
and lower find
Code:
.line 1948
:cond_1
const/16 v8, -0x2711
if-ne p1, v8, :cond_5
and insert const/4 v3, 0x0 after line :cond_1 must be so:
Code:
.line 1948
:cond_1
const/4 v3, 0x0
const/16 v8, -0x2711
if-ne p1, v8, :cond_5
result like in JB and I'm sorry for the my English
modified SystemUI.apk from stok ICS rom

Anyway to hide it by double tapping n make it reappear again if u double tap again?

Kaushik.Vapiwala said:
Anyway to hide it by double tapping n make it reappear again if u double tap again?
Click to expand...
Click to collapse
it's working on this systemui
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

There is already a guide howto for ICS by @ZN6
Verstuurd van mijn LT22i met Tapatalk

M using Xperia Sola. Can you provide me link to the systemui?

Pandemic said:
There is already a guide howto for ICS by @ZN6
Verstuurd van mijn LT22i met Tapatalk
Click to expand...
Click to collapse
i thinks its different coz wallpaper is static, not auto resizing

@garynych thanks a lot, worked for me. :highfive: Xperia U

inunxelex said:
it's working on this systemui
Click to expand...
Click to collapse
mind sharing it?
sorry i don't know how to decopile apks .

Edit: forgot one line xD. its working perfectly
How do i make the statusbar all black? on mine, the icons is visible in the clock portion due to it being semi transparent

thanks for share,, it's works

menonita_rocker said:
mind sharing it?
sorry i don't know how to decopile apks .
Click to expand...
Click to collapse
thats not mind, check this thread http://forum.xda-developers.com/showthread.php?t=2345681&highlight=ics+quick+settings

inunxelex said:
thats not mind, check this thread http://forum.xda-developers.com/showthread.php?t=2345681&highlight=ics+quick+settings
Click to expand...
Click to collapse
i meant if you could share your systemui since im a completly noob at compiling apks ,

garynych said:
...
Click to expand...
Click to collapse
Thinking about this idea is great, but when I applied it on my sola ICS SystemUI.apk, it looked like the attached screenshot (a layer is covering the notifications and quick settings toggles ). Tell me did I missed something??
(I have to tell you that when I edited PhoneStatusBar.smali, the ".line xxxx" were not like that you have. I found the places which I should edit with different numbers).

menonita_rocker said:
i meant if you could share your systemui since im a completly noob at compiling apks ,
Click to expand...
Click to collapse
i think you dont like it, coz battery percent and clock are removed

JohnHK said:
Thinking about this idea is great, but when I applied it on my sola ICS SystemUI.apk, it looked like the attached screenshot (a layer is covering the notifications and quick settings toggles ). Tell me did I missed something??
(I have to tell you that when I edited PhoneStatusBar.smali, the ".line xxxx" were not like that you have. I found the places which I should edit with different numbers).
Click to expand...
Click to collapse
Give me your unedited phonestatusbar.smali, i edit for you

TakuyaZ said:
Give me your unedited phonestatusbar.smali, i edit for you
Click to expand...
Click to collapse
Hi! i have the same problem, can you modify my PhoneStatusBar.smali please?
You can download here my original phonestatusbar.smali

Ghabryyl said:
Hi! i have the same problem, can you modify my PhoneStatusBar.smali please?
You can download here my original phonestatusbar.smali
Click to expand...
Click to collapse
Sure
Sent from my SO-04E using XDA Premium 4 mobile app

Ghabryyl said:
Hi! i have the same problem, can you modify my PhoneStatusBar.smali please?
You can download here my original phonestatusbar.smali
Click to expand...
Click to collapse
Done, rename to PhoneStatusBar.smali and compile

TakuyaZ said:
Give me your unedited phonestatusbar.smali, i edit for you
Click to expand...
Click to collapse
If you want to help me in that, take my unedited PhoneStatusBar.smali in the attachments area. After editing successfully, please give the method that you made (I like to learn ). Thanks in advance. :good:

JohnHK said:
If you want to help me in that, take my unedited PhoneStatusBar.smali in the attachments area. After editing successfully, please give the method that you made (I like to learn ). Thanks in advance. :good:
Click to expand...
Click to collapse
Replaced 0x7e1 to 0x7de in line 5181 and 5273
Removed
Code:
.line 2006
iget-object v8, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-virtual {v8}, Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;->getHeight()I
move-result v3
line 6776. added
Code:
const/4 v3, 0x0
between
Code:
:cond_1
const/16 v8, -0x2711
And done, Smali in rar file in attachment

Related

Add reboot option

I can't find a clear guide on how to modify policy.jar to incorporate reboot options. Anyone know where I can look?
[email protected] said:
I can't find a clear guide on how to modify policy.jar to incorporate reboot options. Anyone know where I can look?
Click to expand...
Click to collapse
if your already rooted just download quick boot, it's what i use for a fast reboot
A2CKilla said:
if your already rooted just download quick boot, it's what i use for a fast reboot
Click to expand...
Click to collapse
Thanks I was aware of other options what I was really looking for is how the android policy jar needs to be modified to add the option to the reboot menu.
[email protected] said:
Thanks I was aware of other options what I was really looking for is how the android policy jar needs to be modified to add the option to the reboot menu.
Click to expand...
Click to collapse
I too would like to see this implemented. Similar to what the Epic or Evo had on it's custom roms. If you ever figure it out...could ya pass it along?
Nerorising said:
I too would like to see this implemented. Similar to what the Epic or Evo had on it's custom roms. If you ever figure it out...could ya pass it along?
Click to expand...
Click to collapse
Sure. Work is a pita right now but afterwords I am going to try and tackle this.
[email protected] said:
Sure. Work is a pita right now but afterwords I am going to try and tackle this.
Click to expand...
Click to collapse
Greetings and Salutations Max
Are there any apps for rebooting your phone if you're not rooted?
I would love to see something like this done to the Photon!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[email protected] pull some XML files from CyanogenMod and compare them to ones from the Photon. CM has reboot options built in.
mrinehart93 said:
[email protected] pull some XML files from CyanogenMod and compare them to ones from the Photon. CM has reboot options built in.
Click to expand...
Click to collapse
I found this guide here, but its for the Vibrant I think. Maybe I can pull CM from a MOTO phone and figure it out... I will try this this weekend.
[email protected] said:
I found this guide here, but its for the Vibrant I think. Maybe I can pull CM from a MOTO phone and figure it out... I will try this this weekend.
Click to expand...
Click to collapse
That was pretty sick. What do you use to open/edit XML files?
KTT16 said:
That was pretty sick. What do you use to open/edit XML files?
Click to expand...
Click to collapse
you can use any text editor. I use Gedit in linux
Boot/Reboot/Recovery Options in Power Off Menu
[email protected] said:
I found this guide here, but its for the Vibrant I think. Maybe I can pull CM from a MOTO phone and figure it out... I will try this this weekend.
Click to expand...
Click to collapse
Any luck with this Mod and/or creating a .zip file for it? I would love to see this option modded in Magnifier!!!!
I used the vibrant guide when I ported it to the echo I had to edit policy.jar framework.jar and framework.apk also had add the options to the powercontrol file I can try to tackle this if no one has got it yet
Sent from my MB855 using XDA App
chrystal0925 said:
I used the vibrant guide when I ported it to the echo I had to edit policy.jar framework.jar and framework.apk also had add the options to the powercontrol file I can try to tackle this if no one has got it yet
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Please go for it!
ok guys i got it working im on skinny rev unlocked with dark fire theme so that is the framework apk i used but its easy to modify for the developers wanting to add this to there theme or rom.. just use my files android.policy.jar and framework.jar
to do this decompile and edit this xml in your framework.apk
"framework-res.apk\res\values\strings.xml"
add
Reboot
Recovery
next add png icons here
"framework-res.apk\res\drawable-hdpi"
make sure they are named
"ic_lock_reboot.png
"ic_lock_recovery.png
then recompile/build etc.. after you have build apk decompile it again
go here
frameworkres.apk\res\values\public.xml
you will see this with different id #s
and
these are what you need to change in the android.policy.jar
com\android\internal\policy\impl\GlobalActions.smali"
at line 661
const v3, 0x1080501 (reboot icon)
const v4, 0x10404ed (reboot string)
invoke-direct {v2, p0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$10;->(Lcom/android/internal/policy/impl/GlobalActions;II)V
aput-object v2, v0, v1
const/4 v1, 0x5
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;
const v3, 0x1080502 (recovery icon)
const v4, 0x10404ee (recovery string)
the first set of icon ids are for reboot
first # is drawable icon second is string #
second set is recovery as in the ( ) 's
so now change these numbers to those in the public.xml as i described above
next recompile your android.policy.jar and its ready to add
thanks!
screenie here http://dl.dropbox.com/u/46879286/20120214113758.jpeg
colors are off sorry

[Guide][GB]Transparent Statusbar.

[Guide]Transparent Statusbar.
Here is the original guide Transparent Bar - DIY
From which I got to learn,and modify to Xperia Sola,.
This method can be used for other GB phones too.
For Xperia S ICS,you can try to follow original guide by pendo.
**********************************************************************************************************************************************************************************************************
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is how I got transparent bar
There maybe better way to do it.If you got it working please share it.
1.Decompile SystemUI.apk
Drawable Edits:
2.Find res/drawable-hdpi/statusbar_background.9.png.
3.Erase everything in that statusbar_background.9.png, everything except borders as it 9.png using GIMP or Photoshop or similar image editor.
3.Find values/drawables.xml.
In that change
<item type="drawable" name="shade_bgcolor">#ff282828</item>
Click to expand...
Click to collapse
to
<item type="drawable" name="shade_bgcolor">#00000000</item>
Click to expand...
Click to collapse
Smali Edits
4.Find smali/com/android/systemui/statusbar/StatusBarService.smali
5.Open it with Notepad++.
Find and change
const/4 v6, 0x2
iput v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mPixelFormat:I
Click to expand...
Click to collapse
to
const/4 v6, -0x3
iput v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mPixelFormat:I
Click to expand...
Click to collapse
Then find and change
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getOpacity()I
move-result v6
iput v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mPixelFormat:I
Click to expand...
Click to collapse
to
invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getOpacity()I
move-result v6
const/4 v6, -0x3
iput v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mPixelFormat:I
Click to expand...
Click to collapse
That's all.
Compile systemui.apk back,
Copy meta-inf from your original systemui.apk to this modded one.
Then copy to system/app ,change permissions to -rw-r-r.
or make a flashable zip.
Hit thanks if helps..
Can you provide the result of this guide please?
not works on S
PrometheusV18 said:
Can you provide the result of this guide please?
Click to expand...
Click to collapse
Updated.
valday456 said:
not works on S
Click to expand...
Click to collapse
What happend?
not include "shade_bgcolor" , StatusBarService.smali
valday456 said:
not include "shade_bgcolor" , StatusBarService.smali
Click to expand...
Click to collapse
Try status_bar_bg_tile.png and PhonStautbar.smali instead?
Make status_bar_bg_tile.png transparent.
Since I had an xperia s I was dying to have a transparent status bar so I searched a lot but no success so Iam hoping someone could manage to do it asap
And thanks in advance for anyone helping us to have what we need
Sent from my LT26i using xda premium
Thanks,
If someone could upload deodexed framework-res.apk and framework.jar of latest firmware,I could try.
Sent from my MT27i using xda app-developers app
guide only for 237 firmware?
valday456 said:
guide only for 237 firmware?
Click to expand...
Click to collapse
It was created for GB.But it could adopted to any firmware.
Sent from my MT27i using xda app-developers app
Thanks man..looks like good.. will try it later and give feedback
Sent from my Amfir Mimi BEK' Xperia™ active "ST17i" using xda premium
Thanks man..looks like good.. will try it later and give feedback
Sent from my Amfir Mimi BEK' Xperia™ active "ST17i" using xda premium
neectron said:
If someone could upload deodexed framework-res.apk and framework.jar of latest firmware,I could try.
Sent from my MT27i using xda app-developers app
Click to expand...
Click to collapse
Would be nice, here you go
This is the files from newest firmware (6.1.A.2.45)
http://www.mediafire.com/?yi9jblivfju75dz
EDIT: Oh.. Don't think it's deodexed..
whooper90 said:
Would be nice, here you go
This is the files from newest firmware (6.1.A.2.45)
http://www.mediafire.com/?yi9jblivfju75dz
EDIT: Oh.. Don't think it's deodexed..
Click to expand...
Click to collapse
Thank you.No need.I successfully decompiled and compiled systemui.apk.
neectron said:
Thank you.No need.I successfully decompiled and compiled systemui.apk.
Click to expand...
Click to collapse
Here is modded SystemUI I dont know from which firmware version it is from.If it causes force closes,pls upload latest one I'll try again.
And Please have backup before testing.If statusbar disappears,try stock one then again try modded one.
Install this through CWM, STransV2.zip
Edit:File removed as it is not working.
neectron said:
Here is modded SystemUI I dont know from which from firmware version it is from.If it causes force closes,pls upload latest one I'll try again.
And Please have backup before testing.If statusbar disappears,try stock one then again try modded one.
Install this through CWM, STransV2.zip
Click to expand...
Click to collapse
It's from http://forum.xda-developers.com/showthread.php?t=1851668
But it isn't working. Statusbar isn't transparrent But it isn't crashing either
whooper90 said:
It's from http://forum.xda-developers.com/showthread.php?t=1851668
But it isn't working. Statusbar isn't transparrent But it isn't crashing either
Click to expand...
Click to collapse
Upload your stock SystemUI.?
my pc can't decompile systemui.apk it say java not installed. but i have install JRE.. can someone help me?
sorry bad english
Sent from my LG-E400
Zeref_Dragneel said:
my pc can't decompile systemui.apk it say java not installed. but i have install JRE.. can someone help me?
sorry bad english
Sent from my LG-E400
Click to expand...
Click to collapse
It needs 7zip..do u use it?
Sent from my Amfir Mimi BEK' Xperia™ S "LT26i" using xda premium

[Q] Port BB10 lockscreen to Stock JB

Hi everyone! I'm trying to port this lockscreen: http://forum.xda-developers.com/showthread.php?p=32385441 to stock JB but I have some problems
The mod basically replace the stock aosp lockscreen editing files in framework.jar and android.policy.jar. ICS_XD told me that it's only for aosp but maybe he's worng.I think he's wrong because of this thread : http://forum.xda-developers.com/showthread.php?t=1538828
How to change the Samsung Circle lockscreen to the Ice Cream Sandwich lockscreen on XXLPH:
1) Decompile android.policy.jar
2) Edit the file called: LockPatternKeyguardView.smali
3) change the line:
iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
to
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
it's in the beginning of the init contructor (about line 152)
What this does is that it tells the createLockScreen method to use the Lockscreen class instead of the CircleLockscreen class.
4) Compile the android.policy.jar again and you are done.
Click to expand...
Click to collapse
So if it's posible to change the createLockscreen method use LockScreen instead of the stock sammy lockscreen the mod probably work
I'm not a developer and I don't know much about java programming but I am reading a lot and I need some help
There's no iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z on LockPatternKeyguardView, I'm sure it's because it's ics and not jb, and I don't know what to change on similar lines so that's basically what I'm asking
This is my LockPatternKeyguardView : https://www.dropbox.com/s/bkv8uztpfsntutt/LockPatternKeyguardView.smali
the createLock method that I've changed it's on line 1319
All the help will be rewarded with smile faces and many thanks
Of course ICS_XD is wrong!!! Lol! How do I know?....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
...thats on LSJ.
I cant view your lockpatternkeygyardview. Dropbox says i dont belong there!
You need a logcat of the error.
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Of course ICS_XD is wrong!!! Lol! How do I know?....
View attachment 1519712
...thats on LSJ.
I cant view your lockpatternkeygyardview. Dropbox says i dont belong there!
You need a logcat of the error.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Here's a logcat ; https://www.dropbox.com/s/kur11w8lwi3q89a/logcat-default.txt
I've found this line on the logcat:
W/LockPatternKeyguardView( 2158): Couldn't find transport control widget
Click to expand...
Click to collapse
at the end of the createLockScreen method :
.line 1325
.local v0, lockView:Landroid/view/View;
invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View; )V
Click to expand...
Click to collapse
And here ends my knowledge
Hmmm....not much help. When you get a loop you get dumpstate_sys_error.txt.gz in data/log. That will help more
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Hmmm....not much help. When you get a loop you get dumpstate_sys_error.txt.gz in data/log. That will help more
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Here you go good sir I've flashed the lockscreen, end in bootloop, restored and then pulled out the files it's ok?
https://www.dropbox.com/s/xvufn9iungkfvd4/dumpstate_sys_error.txt.gz
This one was also on /data/log, I don't know if it helps
https://www.dropbox.com/s/xvqb7zqmyrth80c/dumpstate_app_error.txt.gz
Looks to me like your Lockscreen smali is already modified and not compatible
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Looks to me like your Lockscreen smali is already modified and not compatible
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Should I leave it unmodified? I've changed only 3 or 4 things from the patch file on de nexus thread.
I've seen a lot of these lines to:
"11-29 17:00:41.825 1852 1852 I dalvikvm: DexOpt: mismatch dep signature for '/data/dalvik-cache/[email protected]@[email protected]'"
Perhaps I just messed up a lot of smalis Maybe I'll wait to JB AllianceROM

[DONE][GUIDE]StatusBarBrightness! Fully Working!

this is my second MOD, today i wana share you how to control the brightness by dragging your StatusBar.
Files needed:
Attached smali files
your brain
step:
decompile you SystemUI.apk
extract my smali to your smali folder
open status_bar.xml and find this code:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
put this code below the '@id/icons' layout:
Code:
<com.example.ucupui.StatusBarBrightness android:layout_width="fill_parent" android:layout_height="wrap_content">
don't forget to close the layout before '</LinearLayout>'
open you AndroidManifest.xml and insert this code:
Code:
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
re-compile the SystemUI
SIGN your SystemUI.apk
Push it to /system/app with rw-r--r--
Fix:
Open StatusBarBrightness$2.smali
find this line:
.line 38 and .line 39
Click to expand...
Click to collapse
rename it to:
.line 39 and .line 40
Click to expand...
Click to collapse
put this code above .line 39:
Code:
.line 38
const-string v2, "power"
invoke-static {v2}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;
move-result-object v2
invoke-static {v2}, Landroid/os/IPowerManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/os/IPowerManager;
move-result-object v2
invoke-interface {v2, v5}, Landroid/os/IPowerManager;->setBacklightBrightness(I)V
Tester:
Fuad [email protected]
attach ss or video it much better bro
ocoot said:
attach ss or video it much better bro
Click to expand...
Click to collapse
i'm now using CM7, search control brightness from statusbar on youtube.
AuliaYF said:
i'm now using CM7, search control brightness from statusbar on youtube.
Click to expand...
Click to collapse
post the link over here, there is lot of videos in the search results
also there s no such video on your channel
Post any ss....if u any??
Hit
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Button If This Post Helped You
SS sir. You have? Theres another guide by sir evanlocked. Whats the difference sir?
Too all of you~
http://www.youtube.com/watch?v=qCs6PimukDY
evanlocked's mod using seekbar right? im using statusbar.
AuliaYF said:
http://www.youtube.com/watch?v=qCs6PimukDY
evanlocked's mod using seekbar right? im using statusbar.
Click to expand...
Click to collapse
you said u using cm7. cm7 has statusbar brightness slider by default. how can we be sure if you dont post screenies or a video? the video u showed was:
1.of a htc
2: using cm7
edit: i am not flaming on you, just wanna be sure that this mod is working
SaketJoshi said:
you said u using cm7. cm7 has statusbar brightness slider by default. how can we be sure if you dont post screenies or a video? the video u showed was:
1.of a htc
2: using cm7
edit: i am not flaming on you, just wanna be sure that this mod is working
Click to expand...
Click to collapse
i build this about a month ago with stockrom, but i love cm7 haha
but i tried this and i have some tester outside xda.
AuliaYF said:
i build this about a month ago with stockrom, but i love cm7 haha
but i tried this and i have some tester outside xda.
Click to expand...
Click to collapse
ok then tell that tester to post the video
can you tell where to put the smali files? your instruction was not clear.
Also the codes it <com.example.ucupui.StatusBarBrightness android:layout_width="fill_parent" android:layout_height="wrap_content">
But the attach files includes:
ryan_joshua said:
Also the codes it <com.example.ucupui.StatusBarBrightness android:layout_width="fill_parent" android:layout_height="wrap_content">
But the attach files includes:
Click to expand...
Click to collapse
wtf-_- edited man, thx for reporting :good::good::good::good:
AuliaYF said:
wtf-_- edited man, thx for reporting :good::good::good::good:
Click to expand...
Click to collapse
wrong attachment of smali files?
ryan_joshua said:
wrong attachment of smali files?
Click to expand...
Click to collapse
yah!-__- good luck man:highfive:
youtube tut plz..
<Edited >
i wanna add this mod to my statusbar, but i'm stuck at the part where i have to sign it, do i only need to sign systemui? or do i need to sign the other apks as well? and could anybody please post a link to a guide to signing apks?
mjz2cool said:
i wanna add this mod to my statusbar, but i'm stuck at the part where i have to sign it, do i only need to sign systemui? or do i need to sign the other apks as well? and could anybody please post a link to a guide to signing apks?
Click to expand...
Click to collapse
check the general section, there's a tut how to disable signature check, im using opera mini, i forget the link.
AuliaYF said:
check the general section, there's a tut how to disable signature check, im using opera mini, i forget the link.
Click to expand...
Click to collapse
isn't that for flashable zips?

[Guide] How to get Transparent App Drawer [Homescreen.apk]

Based on this guide here
Description:
Transparent app drawer by definition means you can see the homescreen wallpaper whilst in app drawer instead of the default black background.
Tools needed:
1) apktool
2) notepad++
3) 7zip
Files needed: (Depending on ROM type)
1) Homescreen.apk
Steps [HOW TO]:
1) decompile Homescreen.apk
2) go to \res\layout\apps_customize_pane.xml
replace android:background="#ff000000"
There are two instances in this file.
Here
#00000000 - 100%transparency
#3F000000 - 75% transparency
#7F000000 - 50% transparency
#BF000000 - 25% transparency
2) now SMALI CODE.
go to
\smali\com\motorola\homescreen\
3) open Launcher.smali and delete the following method: updateWallpaperVisibility
Also delete all its references in Launcher.smali and other smali files. Usually this method is referenced in Launcher$19.smali and Launcher$22.smali
However, it could be different from file to file depending on how it was built from source. Therefore, to know the file names exactly, just use notepad++ and use Search in Files feature and search for updateWallpaperVisibility in the decompiled apk samli folder. It will tell you where this method is referenced.
Example of Smali:
Having done this deletion, use notepad++ to search for updateWallpaperVisibility
Use fine in files function in Notepadd++, it will tell you exactly where this method is referenced. Then delete all the lines containing this method reference.
Example:
Code:
invoke-virtual {v0, v1}, Lcom/motorola/homescreen/Launcher;->updateWallpaperVisibility(Z)V
or
Delete all this method starting from .method to .end mothod.
This code is in Launcher.smali.
Code:
.method updateWallpaperVisibility(Z)V
.locals 3
.parameter
.prologue
const/high16 v1, 0x10
.line 4162
if-eqz p1, :cond_1
move v0, v1
.line 4163
:goto_0
invoke-virtual {p0}, Lcom/motorola/homescreen/Launcher;->getWindow()Landroid/view/Window;
move-result-object v2
invoke-virtual {v2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;
move-result-object v2
iget v2, v2, Landroid/view/WindowManager$LayoutParams;->flags:I
and-int/2addr v2, v1
.line 4165
if-eq v0, v2, :cond_0
.line 4166
invoke-virtual {p0}, Lcom/motorola/homescreen/Launcher;->getWindow()Landroid/view/Window;
move-result-object v2
invoke-virtual {v2, v0, v1}, Landroid/view/Window;->setFlags(II)V
.line 4168
:cond_0
return-void
.line 4162
:cond_1
const/4 v0, 0x0
goto :goto_0
.end method
so, you have to delete the above line completely, and also any lines in all smali files containing "updateWallpaperVisibility"
After deleting the method and all of its references, just compile the apk and make your flashsable zip.
I use APKTOOL and 7zip for that.
Home;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks
Aweosome will try this
Or use free nova launcher. Just an fyi.
Great guide nonetheless, OP.
Sent from my XT910 using xda app-developers app
thanks, will give it a shot.:laugh:
edit: hey it's worked, thank you very much for the sharing!
waiting more guides like this~
hrishi21007 said:
Aweosome will try this
Click to expand...
Click to collapse
R3dbeaver said:
Or use free nova launcher. Just an fyi.
Great guide nonetheless, OP.
Sent from my XT910 using xda app-developers app
Click to expand...
Click to collapse
Lzto1320 said:
thanks, will give it a shot.:laugh:
edit: hey it's worked, thank you very much for the sharing!
waiting more guides like this~
Click to expand...
Click to collapse
Thanks
Just gotta say that this guide helped me out a bunch. I am using it on a Bionic with a modified RAZR M launcher and it worked without a hiccup. Thanks for this guide.
$3π+ £®m€ ×X× BiOπI¢ oπ $ø|/|£ťhïñğ ¢ű$ț¤|/|

Categories

Resources