[GUIDE][GB 2.3+]Add Android-N PlatLogo App To Your Device - Android Software/Hacking General [Developers Only]

{
"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"
}
SOURCE CODE AVAILABLE!
(Check At The End Of Post)​
/*I 'm Not Responsible For Any Damage Of Your Phone. Take Necessary Backup If You Are Indoubt.*/
Android is the most Popular, Flexible OS at present.
The number of smarphones users are increasing day-by-day, So as the Android Users.
Apparently, Android Official Updates are not availabe for all devices. So, some of you-Well Beings, Raise Up, Develop further their device's OS, Modify, Customize, and bring up the Android-Customization to its zenith.
Well, Customizing the Android is what makes us SMILE
So, I have a good news for you all Users (Devs & Noobs both)
Today, I, Aryan or you all can call me (A.R.), proudly presenting:
THE-​
Not wasting your that much precious time, lets jump on to the features:
Features:
1. All Density Support. No Matter, Whats Your Screen Size, This PlatLogo Will Surely Work Fine.
2. Customize your PlatLogo
3. Multiple Themes/Games
4. Beautiful Animations.​
Requirements:
1. De-compile your framework.jar. (In some cases like some Samsung Roms, and kitkat Roms it can be framework2.jar).
2. Know how to decompile JARs
3. PlatLogo app Download From-
mod edit - links removed
(If You Need To Just Test This App, You Are Free To Download It From Above)​
Procedure:
1. Decompile framework.jar
2. Go to smali/com/android/internal/app and open PlatLogoActivity.smali
3. Select all and replace it with this code:
Code:
.class public Lcom/android/internal/app/PlatLogoActivity;
.super Landroid/app/Activity;
.source "PlatLogoActivity.java"
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 12
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
.registers 7
.parameter "savedInstanceState"
.prologue
.line 16
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
.line 18
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 19
.local v1, intent:Landroid/content/Intent;
new-instance v2, Landroid/content/ComponentName;
const-string v3, "com.aryan.nplatlogo"
const-string v4, "com.aryan.nplatlogo.PlatLogoActivity"
invoke-direct {v2, v3, v4}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
.line 23
:try_start_16
invoke-virtual {p0, v1}, Lcom/android/internal/app/PlatLogoActivity;->startActivity(Landroid/content/Intent;)V
:try_end_19
.catch Landroid/content/ActivityNotFoundException; {:try_start_16 .. :try_end_19} :catch_1d
.line 39
:goto_19
invoke-virtual {p0}, Lcom/android/internal/app/PlatLogoActivity;->finish()V
.line 41
return-void
.line 31
:catch_1d
move-exception v0
.line 35
.local v0, e:Landroid/content/ActivityNotFoundException;
const-string v2, "Install AndroidN PlatLogo By Aryan"
const/4 v3, 0x0
invoke-static {p0, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2}, Landroid/widget/Toast;->show()V
goto :goto_19
.end method
4. Recompile framework.jar, Push it into system/framework. Set correct permissions(rw-r--r--).
5. Install My Android-N Platlogo.
​
Credits:
iamareebjamal
[email protected]
Droidbuster​
If You Are Using This PlatLogo In Your ROM, Just Give A Credit To My Work.
If Your Liked My Work, Just Press Thanks Below:laugh:
-----------------------------------------------------------------------
LATEST EDIT: SOURCE CODE
mod edit - links removed ​

[emoji6] [emoji106]
https://youtu.be/DR2nhF3gf7E
Sent from my YU5510 using Tapatalk

thx, I wiil try

Awesome thank you

Awesome...I will try it asap...

awensome bro ???

Error recompiling... Here's the log and my modded file. Can you take a look? (I changed the extension of platlogo file, bc I can't attach smali files)

levone1 said:
Error recompiling... Here's the log and my modded file. Can you take a look? (I changed the extension of platlogo file, bc I can't attach smali files)
Click to expand...
Click to collapse
Well I have solved this before,,,
i know dont know what's the exact method...a bit confused...so i m posting two methods,
try each of them,,,hope it might work.
1. Use ROM TOOL BOX,, no other tool for decompiling nd recompiling jars.
VISIT HERE
2. Open PlatLogoActivity.java, paste my code, search ".parameters", and rename it to ".param"

I got the same error while recompiling what should I do ??

aryan_ar said:
Well I have solved this before,,,
i know dont know what's the exact method...a bit confused...so i m posting two methods,
try each of them,,,hope it might work.
1. Use ROM TOOL BOX,, no other tool for decompiling nd recompiling jars.
VISIT HERE
2. Open PlatLogoActivity.java, paste my code, search ".parameters", and rename it to ".param"
Click to expand...
Click to collapse
Thank you now its working fine ...

jayent said:
Thank you now its working fine ...
Click to expand...
Click to collapse
Which method did you use, 1 or 2? Did you just change parameter to param?

Thanks.Maybe I will try it.

Again same problem brother.I changed .parameter to .param in platlogoactivity.smali after pasting your code but unable to recompile framework2.jar.I attached my framework2.jar file.Can you do it for me?It will be nice of you

harsh09046 said:
Again same problem brother.I changed .parameter to .param in platlogoactivity.smali after pasting your code but unable to recompile framework2.jar.I attached my framework2.jar file.Can you do it for me?It will be nice of you
Click to expand...
Click to collapse
Sorry About That Problem, I Figured Out, The Problem Was In My smali Code.
Now, I 've Updated That.
By The Way, Here's Your Modded framework file:

aryan_ar said:
Sorry About That Problem, I Figured Out, The Problem Was In My smali Code.
Now, I 've Updated That.
By The Way, Here's Your Modded framework file:
Click to expand...
Click to collapse
Thanks brother.Thank You so much!

TJANKS

Thank you for this Guide sir.

@aryan_ar
This works well on Lollipop 5.1.1,but when I run this on GB 2.3,the Lollipop Land theme give me a force close.
来自华为荣耀畅玩4C CHM-TL00H -天生急性子 Android 小楼阁

cool! adding to my rom and will mention your name in credits

nice change works

Related

[MOD][GB][GUIDE] how to added 4 way boot to your rom

hello guys im here to share my knowledge since alot off member ask for this mod i mean how to added this option to ur rom
its not hards guide but seems like u must have EPM [extended power menu] first before do this mod go to this threads for futher info how to added EPM to your rom http://forum.xda-developers.com/archive/index.php/t-811532.html or u can experimenting by this mod
here original threads about 4wayboot itself http://forum.xda-developers.com/showthread.php?t=1573032
Requirment:
-Brains
-Patient
-notepad++
-apktool,baksmali.jar or vts(use vts its awesome)
-attached file
ok here we go:
What you need to do is:
-Decompile android.policy.jar of your rom
-Copy attached folder to yours
-Open GlobalActions.smali
-Search line "Lcom/android/internal/policy/impl/GlobalActions$5;" ( some roms might have different number on shutdown button. You find right one by for example tracing shutdown icon id )
-Change number 5 to 99 ( two of them )
Before
Code:
Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$5;
const v3, 0x1080030
const v4, 0x1040121
invoke-direct {v2, p0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$5;->(Lcom/android/internal/policy/impl/GlobalActions;II)V
After
Code:
Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$99;
const v3, 0x1080030
const v4, 0x1040121
invoke-direct {v2, p0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$99;->(Lcom/android/internal/policy/impl/GlobalActions;II)V
-Open GlobalActions$SinglePressAction.smali
-Before line "# instance fields"
paste following code
Code:
Code:
# static fields
.field protected static rebootMode:I
.field protected static final rebootOptions:[Ljava/lang/String;
-Then after line "# direct methods"
paste following code
Code:
Code:
.method static constructor <clinit>()V
.registers 3
const/4 v0, 0x5
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "Reboot"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "Hot Boot"
aput-object v2, v0, v1
const/4 v1, 0x2
const-string v2, "Download"
aput-object v2, v0, v1
const/4 v1, 0x3
const-string v2, "Recovery"
aput-object v2, v0, v1
const/4 v1, 0x4
const-string v2, "Shutdown"
aput-object v2, v0, v1
sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;
return-void
.end method
-So your file should look something like this after those changes
Code:
Code:
.class abstract Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
.super Ljava/lang/Object;
.source "GlobalActions.java"
# interfaces
.implements Lcom/android/internal/policy/impl/GlobalActions$Action;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/policy/impl/GlobalActions;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x40a
name = "SinglePressAction"
.end annotation
# static fields
.field protected static rebootMode:I
.field protected static final rebootOptions:[Ljava/lang/String;
# instance fields
.field private final mIconResId:I
.field private final mMessageResId:I
# direct methods
.method static constructor <clinit>()V
.registers 3
const/4 v0, 0x5
new-array v0, v0, [Ljava/lang/String;
const/4 v1, 0x0
const-string v2, "Reboot"
aput-object v2, v0, v1
const/4 v1, 0x1
const-string v2, "Hot Boot"
aput-object v2, v0, v1
const/4 v1, 0x2
const-string v2, "Download"
aput-object v2, v0, v1
const/4 v1, 0x3
const-string v2, "Recovery"
aput-object v2, v0, v1
const/4 v1, 0x4
const-string v2, "Shutdown"
aput-object v2, v0, v1
sput-object v0, Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;->rebootOptions:[Ljava/lang/String;
return-void
.end method
.method protected constructor (II)V
.registers 3
.parameter "iconResId"
.........
.........
compile jar and u are done
enjoy ur new mod
ss:
http://img.tapatalk.com/6703df6f-8b96-e620.jpg
enjoy
this is the mod file requireds
http://forum.xda-developers.com/attachment.php?attachmentid=974608&d=1333178584
credit:
untermensch(EPM mod GUide)
kahvitahra(4way boot mod):good::highfive::laugh:
reserved for future mod:
How to change shutdown method popup name to everything u desire
open globalaction$99
it look like this
# virtual methods
.method public onPress()V
.registers 7
const/4 v5, 0x5
new-instance v1, Landroid/app/AlertDialog$Builder;
iget-object v2, p0, Lcom/android/internal/policy/impl/GlobalActions$99;->this$0:Lcom/android/internal/policy/impl/GlobalActions;
#getter for: Lcom/android/internal/policy/impl/GlobalActions;->mContext:Landroid/content/Context;
invoke-static {v2}, Lcom/android/internal/policy/impl/GlobalActions;->access$000(Lcom/android/internal/policy/impl/GlobalActionsLandroid/content/Context;
move-result-object v2
invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/ContextV
const-string v2, "shutdown Method" ---------------------------(change this to your desire menu name)
invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequenceLandroid/app/AlertDialog$Builder;
move-result-object v1 bla bla bla.......
Click to expand...
Click to collapse
const-string v2, "shutdown Method" (change this to your desire menu name)
recompile and enjoy
reserved for Q&A
Q: When I press restart/shutdown button I can only see title and "ok" and "cancel" -buttons. See photo
{
"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"
}
A: You have incorrect number of empty lines between lines you pasted in GlobalActions$SinglePressAction.smali. You should have two (2) empty lines to previous "# annotations" and to next "# instance fields" from "# static fields" that you pasted.
Also check that added method have <clinit> at the end. See following screenshot.
Thanks to chudy_85 and mialwe for pointing these to all. [/QUOTE]
reserved for fun
Thank's for create a 4way boot
:thumbup::thumbup:
Sent from my GT-S5360 using xda app-developers app
GREATE GUIDE
work in galaxymini sir ?
For gb only bro
Sent from my GT-S5360 using xda app-developers app
evanlocked said:
reserved for fun
Click to expand...
Click to collapse
One night with 4 cup of coffee to find "id's" on public.xml...... :laugh::laugh:
zalzondabuzz said:
One night with 4 cup of coffee to find "id's" on public.xml...... :laugh::laugh:
Click to expand...
Click to collapse
Monggo brad patient on it
Sent from my GT-S5360 using xda premium
This is definitely a must-try. Thanks for this.
bumslayer said:
This is definitely a must-try. Thanks for this.
Click to expand...
Click to collapse
Yow bro its usefull insteads epm its hards to do,
This method more simple than epm
Sent from my GT-S5360 using xda premium
thanks bro! nice guide! i manage to make it for COD Rom. cheers!:good:
ianczarina said:
thanks bro! nice guide! i manage to make it for COD Rom. cheers!:good:
Click to expand...
Click to collapse
Sure bro just try it
Sent from my GT-S5360 using xda premium
ianczarina said:
thanks bro! nice guide! i manage to make it for COD Rom. cheers!:good:
Click to expand...
Click to collapse
Did you have to do the EPM mod as well in order to make it work. I skipped it because my eyes were getting watery and my head was spinning. However, 4way-boot didn't work for me. I guess evanlocked was right when he said the EPM mod is needed.
bumslayer said:
Did you have to do the EPM mod as well in order to make it work. I skipped it because my eyes were getting watery and my head was spinning. However, 4way-boot didn't work for me. I guess evanlocked was right when he said the EPM mod is needed.
Click to expand...
Click to collapse
No bro u can trick it I think u must tracing ur power off icon I'd first in ur framework then change it
Sent from my GT-S5360 using xda app-developers app
@bumslayers he made it posted for cod rom :good:
Sent from my GT-S5360 using xda app-developers app
Well I managed to make it work without making the very difficult EPM mod, hurray! Thank you so much, evanlocked!
However, download mode does not work on my deodexed DXLF2 ROM. Any ideas?
bumslayer said:
Well I managed to make it work without making the very difficult EPM mod, hurray! Thank you so much, evanlocked!
However, download mode does not work on my deodexed DXLF2 ROM. Any ideas?
Click to expand...
Click to collapse
Post ss here I wanna see bro
Edit:download mode not exactly works its becouse the path of it same like lidroid rom download mode not work properly
Sent from my GT-S5360 using xda app-developers app
EPM is hard.Should invest some time on it.May be this weekend.
sent while doin' some burnouts
b16h22 said:
EPM is hard.Should invest some time on it.May be this weekend.
sent while doin' some burnouts
Click to expand...
Click to collapse
Nope bro u can implement 4way boot by seeking the poweroff icon I'd in ur frameworks like bumslayers did he already implemented it without epm in stock deodexed dxlf2
Sent from my GT-S5360 using xda app-developers app

[GUIDE][MOD] jelly bean pattern lock screen customization

This is for sharing what i learned.
I only tested it only on my cm10.1 based rom.(htc desire, jb4.22_VJCM10.1_vijendrahs_20130407)
So this may not work on other rom.
You need to have knowledge of decompiling.
I used APK-Multi-Tool, baksmali and smali to do this.
1. Increase widget maximum size.
{
"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"
}
Decompile framework-res.apk
In \res\layout-port\
Modify keyguard_widget_pager.xml
Change left, right, top padding and pageSpacing as follows.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardWidgetPager
android:id="@id/app_widget_container" android:paddingLeft="[COLOR="red"]0dip[/COLOR]"
android:paddingTop="[COLOR="red"]0dip[/COLOR]" android:paddingRight="[COLOR="Red"]0dip[/COLOR]"
android:paddingBottom="@dimen/kg_widget_pager_bottom_padding"
android:clipToPadding="false" android:pageSpacing="[COLOR="red"]0dip[/COLOR]"/>
2. Disable initial page hint
Decompile android.policy.jar
in com\android\internal\policy\impl\keyguard\KeyguardViewStateManager.smali
Remove following red string.
Code:
.method public showUsabilityHints()V
...
.line 307
iget-object v0, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardViewStateManager;->mKeyguardWidgetPager:Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;
[COLOR="Red"]invoke-virtual {v0}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetPager;->showInitialPageHints()V[/COLOR]
...
.end method
3. Disable white box while scrolling
Decompile android.policy.jar
in com\android\internal\policy\impl\keyguard\
Modify KeyguardWidgetPager.smali
Change red string to green one as follows
Code:
.method animateOutlinesAndSidePages(ZI)V
...
.line 708
[COLOR="Red"].local v7, finalOutlineAlpha:F[/COLOR]
:goto_4e
invoke-virtual {v3, p0, p1, v7, p2}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetFrame;->fadeFrame(Ljava/lang/Object;ZFI)V
...
.end method
Code:
.method animateOutlinesAndSidePages(ZI)V
...
.line 708
[COLOR="Lime"]const/4 v7, 0x0[/COLOR]
:goto_4e
invoke-virtual {v3, p0, p1, v7, p2}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetFrame;->fadeFrame(Ljava/lang/Object;ZFI)V
...
.end method
4. Disable page hint when dragging beyond first or last page
Decompile android.policy.jar
in com\android\internal\policy\impl\keyguard\
Modify KeyguardWidgetPager.smali
Remove red string in the follwing.
Code:
.method protected screenScrolled(I)V
...
.line 533
invoke-static {v5}, Ljava/lang/Math;->abs(F)F
move-result v9
cmpg-float v7, v5, v10
if-gez v7, :cond_61
const/4 v7, 0x1
:goto_51
[COLOR="Red"]invoke-virtual {v6, v9, v7}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetFrame;->setOverScrollAmount(FZ)V[/COLOR]
...
.end method
5. (similar to 4 but) Only disable white gradiant
Decompile android.policy.jar
in com\android\internal\policy\impl\keyguard\
Modify KeyguardWidgetFrame.smali
Change red string to green one.
Code:
.method setOverScrollAmount(FZ)V
...
.line 497
const/high16 v1, 0x3f00
mul-float/2addr v1, p1
const/high16 v2, 0x437f
mul-float/2addr v1, v2
[COLOR="Red"] invoke-static {v1}, Ljava/lang/Math;->round(F)I
move-result v1[/COLOR]
iput v1, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetFrame;->mForegroundAlpha:I
...
.end method
Code:
.method setOverScrollAmount(FZ)V
...
.line 497
const/high16 v1, 0x3f00
mul-float/2addr v1, p1
const/high16 v2, 0x437f
mul-float/2addr v1, v2
[COLOR="Lime"]const/4 v1, 0x0[/COLOR]
iput v1, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetFrame;->mForegroundAlpha:I
...
.end method
6. Only show bounding box boarder
decompile framework-res.apk
in /res/drawable-hdpi
Modify kg_bouncer_bg_white.9.png as follows
7. Remove carrier, emergency call, battery infomation
decompile framework-res.apk
in res\layout
modify keyguard_emergency_carrier_area.xml as follows (for emergency and carrier removal)
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout ... >
<com.android.internal.policy.impl.keyguard.CarrierText [COLOR="Lime"]android:visibility="gone"[/COLOR] ... />
<LinearLayout [COLOR="Lime"]android:visibility="gone"[/COLOR] ... >
<com.android.internal.policy.impl.keyguard.EmergencyButton ... />
<Button ... />
</LinearLayout>
</LinearLayout>
modify keyguard_message_area.xml as follows (for battery stat removal)
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardMessageArea ... [COLOR="Lime"]android:textSize="0sp"[/COLOR] ... />
8. Change small widget height
small widget height is determined by unlock UI height.
decompile framework-res.apk
in res\layout-port
modify keyguard_host_view.xml as follows.
change green number as you want.
If you set larger number, the widget height will be smaller.
Code:
<com.android.internal.policy.impl.keyguard.KeyguardHostView ...>
...
<com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer ... androidprv:layout_height="[COLOR="Lime"]410dp[/COLOR]" >
...
</com.android.internal.policy.impl.keyguard.KeyguardHostView>
9. Change widget inner padding
decompile android.policy.jar
in com\android\internal\policy\impl\keyguard\
modify KeyguardWidgetFrame.smali.
Add green text and change red number as you want.
you can remove default padding by setting 0.
Code:
.line 109
.local v0, density:F
invoke-virtual {v2}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
move-result-object v3
iget v3, v3, Landroid/util/DisplayMetrics;->density:F
const/high16 v4, 0x4100
mul-float/2addr v3, v4
float-to-int v1, v3
[COLOR="Lime"]const v1, 0x[/COLOR][COLOR="Red"]20[/COLOR]
.line 110
.local v1, padding:I
invoke-virtual {p0, v1, v1, v1, v1}, Lcom/android/internal/policy/impl/keyguard/KeyguardWidgetFrame;->setPadding(IIII)V
10. Move pattern input section
You can move pattern input section by setting padding.
Decompile framework-res.apk
in res\layout-port\
Modify keyguard_host_view.xml
Inside KeyguardSecurityContainer element set padding value as you want.
Code:
<com.android.internal.policy.impl.keyguard.KeyguardHostView ... >
...
<com.android.internal.policy.impl.keyguard.KeyguardSecurityContainer ... [COLOR="Lime"]androidprv:paddingTop="80dp" [/COLOR] ... >
...
</com.android.internal.policy.impl.keyguard.KeyguardHostView>
:good::good::good::good::good::good::good:
can you just make this mod flashable via CWM..??
or just instal like common .apk..??
Sorry, I can't
adeza69 said:
can you just make this mod flashable via CWM..??
or just instal like common .apk..??
Click to expand...
Click to collapse
I don't have ability to do that.
sonulohani said:
:good::good::good::good::good::good::good:
Click to expand...
Click to collapse
It's AMAZING!!! Going to recompile my files, now. Thanks for this. Awesome job! :thumbup::thumbup::thumbup:
lock screen
I can not find the lock screen when charging the developer with the font size to modify these two paths do not know if you know
I changed my dpi now this couldn't hide I want to decompile this so please tell me which file should I select to decompile??
Sent from my GT-I9082 using XDA Premium 4 mobile app
Not virtual buttons are fonts
yasirj said:
I changed my dpi now this couldn't hide I want to decompile this so please tell me which file should I select to decompile??
Sent from my GT-I9082 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not virtual buttons are fonts
wil it be applicable for gb
I would love to see an XPOSED Mod with these customizations to the lock screen!
Anyone know if this is possible or having the skills to do so?
Thank you for the info, but how to change the wallpaper?? Setting either a color different than black or a picture?
why?
I'm not really seeing the usefulness of this?

[APP] [XPERIA JB 4.2.2] Serajr Swiping Power Toggles - SystemUI - v2 - 28/11/13

I proudly brought to you my new creation, it´s titled: Swiping Power Toggles
Here´s a brief explanation:
As you can see here, android has been used Navigation Drawer as its main options panel on apps like Gmail, Play Store, and so on. And it has been used as main options panel on many other 3th party apps too.
Navigation Drawer was developed meant for Activites with Action Bar and Fragments (regular apps), and not be used within android services... worse, core system services like SystemUI (aka Status Bar).
But... why not? Here´s the funniest and the best part of this short history, IT SUITS THERE TOO!!!
Not directly with its DrawerLayout, but with mine one, tittled CustomDrawerLayout. That´s it!!
Here are some proofs:
Watch HD 720p video
Status Bar and Swiping Power Toggles v2
{
"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"
}
Swiping Power Toggles v2 - Preferences
Install:
TRY AT YOUR OWN RISK!!!
Requeriments:
- Xperia L deodexed Stock JB 4.2.2 firmware (any other one starting with 4.0.3, if properly ported)
- System signatures compare disabled (super-user mod) inside Services.jar (see 3th post for further info)
Download mirros:
- Dev-Host
- G-Drive
Flash
1. Download Serajr_Swiping_PowerToggles_v2.zip and put it on your sdcard root
2. Flash it while on recovery
3. Done!
Manually
1. Download Serajr_Swiping_PowerToggles_v2.zip to your computer
2. Extract its contents
3. Push SystemUI.apk and Settings.apk to system/app/ with rw-r--r-- permissions
4. Reboot phone
5. Done!
Developers/Rom cookers info:
How can I show up Power Toggles settings screen from my own code?
Power Toggles settings screen activity has "exported" flag set to "true", so:
Under Java:
PHP:
Intent intent = new Intent("com.serajr.powertoggles.preferences.intent.PREFERENCES");
startActivity(intent);
or
Inside Settings.apk \xml preferences folder:
Code:
<com.sonymobile.settings.preference.IntentPreference android:key="power_toggles" settings:dependOnResource="true" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.android.systemui" android:targetClass="com.serajr.powertoggles.preferences.PowerTogglesPreferencesActivity" />
</com.sonymobile.settings.preference.IntentPreference>
Known issues:
- Some animations will seem slow due the system is processing its toggle in background
- Delaying top edge while swiping to open or close Power Toggles drawer (minor DrawerLayout bug?!)
- Sometimes Battery toggle icon becomes completly colored with accent color (minor issue, I´ll fixed it asap!)
To do:
You tell me!!
Special thanks: (if I forgot someone, please remember me!!)
- Sony
- CM Team
- @niaboc79 for "brainstorming" with me about everything you see here
- Other ones inside Power Toggles "About" screen
If you like it, press thanks... Simple so!!
.
.
Changelog
v2 - 28/11/2013
- Entirely new look and feel
- Fully working new Camera toggle (Tap it to start camera preview, tap it again to take pictures. Long-press it to stop camera preview)
- 29 toogles set (added Camera toggle)
- Double colored static icons with current theme accent color
- New icons set (A very big THANKS to my friend @niaboc79)
- New toggling flip animation
- Fixed "take screenshot" issue
v1 - 18/11/2013
- Initial 4.2.2 release
- New and unprecedented android Navigation Drawer (DrawerLayout) widget inside SystemUI service!!
- Swipe expanded status bar left edge to show up Power Toggles
- 28 toogles set
- Power Toggles buttons and preferences according to theme accent color
How to disable your system applications signature check
TRY IT AT YOUR OWN RISK!!
1. Decompile your deodexded services.jar
2. Open ...\com\android\server\pm\PackageManagerService.smali with notepad++
3. Find compareSignatures method (Original method)
4. Replape Original method with Patched method:
Original method:
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 9
.parameter "s1"
.parameter "s2"
.prologue
.line 2338
if-nez p0, :cond_8
.line 2339
if-nez p1, :cond_6
const/4 v6, 0x1
.line 2358
:goto_5
return v6
.line 2339
:cond_6
const/4 v6, -0x1
goto :goto_5
.line 2343
:cond_8
if-nez p1, :cond_c
.line 2344
const/4 v6, -0x2
goto :goto_5
.line 2346
:cond_c
new-instance v3, Ljava/util/HashSet;
invoke-direct {v3}, Ljava/util/HashSet;-><init>()V
.line 2347
.local v3, set1:Ljava/util/HashSet;,"Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
move-object v0, p0
.local v0, arr$:[Landroid/content/pm/Signature;
array-length v2, v0
.local v2, len$:I
const/4 v1, 0x0
.local v1, i$:I
:goto_14
if-ge v1, v2, :cond_1e
aget-object v5, v0, v1
.line 2348
.local v5, sig:Landroid/content/pm/Signature;
invoke-virtual {v3, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
.line 2347
add-int/lit8 v1, v1, 0x1
goto :goto_14
.line 2350
.end local v5 #sig:Landroid/content/pm/Signature;
:cond_1e
new-instance v4, Ljava/util/HashSet;
invoke-direct {v4}, Ljava/util/HashSet;-><init>()V
.line 2351
.local v4, set2:Ljava/util/HashSet;,"Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
move-object v0, p1
array-length v2, v0
const/4 v1, 0x0
:goto_26
if-ge v1, v2, :cond_30
aget-object v5, v0, v1
.line 2352
.restart local v5 #sig:Landroid/content/pm/Signature;
invoke-virtual {v4, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
.line 2351
add-int/lit8 v1, v1, 0x1
goto :goto_26
.line 2355
.end local v5 #sig:Landroid/content/pm/Signature;
:cond_30
invoke-virtual {v3, v4}, Ljava/util/HashSet;->equals(Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_38
.line 2356
const/4 v6, 0x0
goto :goto_5
.line 2358
:cond_38
const/4 v6, -0x3
goto :goto_5
.end method
Patched method:
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 9
.parameter "s1"
.parameter "s2"
.prologue
.line 2338
const/4 v2, 0x0
return v2
.end method
5. Compile it
Now you need to try to replace your services.jar with patched one... again, TRY IT AT YOUR OWN RISK!!
6. With Root Explorer copy patched services.jar to /system/ and give it rw-r--r-- permissions
[x] [x] [ ]
[x] [ ] [ ]
[x] [ ] [ ]
Thumbs
Proofs!!
serajr said:
- @niaboc79 for "brainstorming" with me about everything you see here
If you like it, press thanks... Simple so!!
.
.
Click to expand...
Click to collapse
Yeah :highfive:
Will port and try that right now :laugh:
Awesomenes I saw somwhere that this will be available for ICS?
Sent from my ST21i using Tapatalk 2
nice:good:
Working great on my Xperia Z my friend-
I am loving it!
Envoyé de mon C6603 en utilisant Tapatalk
it works but i cant make screenshot
Awesome!!
Nice work serajr. Cant describe how beauty this little baby
via Tapatalk.
djedjy said:
Awesomenes I saw somwhere that this will be available for ICS?
Sent from my ST21i using Tapatalk 2
Click to expand...
Click to collapse
Yep... It is!! I´m gonna prepare a guide showing how to implement Navigation Drawer inside SystemUI, and believe me, it´s easy with my CustomDrawerLayout widget!!
niaboc79 said:
Working great on my Xperia Z my friend-
I am loving it!
Envoyé de mon C6603 en utilisant Tapatalk
Click to expand...
Click to collapse
Oh... really fast bro!!! So porting it is easy isn´t it?
Please, if you create a thread for it, let me know!!
ZN6 said:
Awesome!!
Nice work serajr. Cant describe how beauty this little baby
via Tapatalk.
Click to expand...
Click to collapse
Thanks bro... This is just its begining!!
Its really awesome! Thank you Serajr!
You did it again @serajr, bravo...
thanks friends....for power toggle on 422
great...good...:good::good:
Serajr... my phone is kinda crazy after replacing services.jar... it boots, and after one minute, it reboots and shows "android is upgrading" and "optimizing 55 apps"...
I have a services.jar backup... how can i restore it?
You are the boss in xperia L development, i would also like to learn how you edited smali files , if you can write some tutorial for it !
Thanks serajr for the awsome toggles.
but by using this, I lost my "swipe up anywhere on the notification area to close notifications" feature of 4.2.2 I have to use the handler line (below carrier label) to close it as normal in previous versions please fix it when you have some time
Awesome work bro! Working perfectly!!
Can you increase width little? As in Xperia home launcher
Sent from my C2104 using Tapatalk
Can this be ported to Xperia p?
Sent from my Xperia P Running MoonWalker Rom and Nemesis Kernel Using XDA Premium
Svartehjerte said:
Serajr... my phone is kinda crazy after replacing services.jar... it boots, and after one minute, it reboots and shows "android is upgrading" and "optimizing 55 apps"...
I have a services.jar backup... how can i restore it?
Click to expand...
Click to collapse
Bro... just replace it manually with proper permissions, but at first boot (only on first) after replace services.jar system will create its dalvik-cache again!!
aniketroxx said:
You are the boss in xperia L development, i would also like to learn how you edited smali files , if you can write some tutorial for it !
Click to expand...
Click to collapse
Thanks bro... You can´t imagine amount of people asking me same thing!!! I think so.
It´s an old request and I´ll prepare something about... ok!!
shivamcheat said:
Thanks serajr for the awsome toggles.
but by using this, I lost my "swipe up anywhere on the notification area to close notifications" feature of 4.2.2 I have to use the handler line (below carrier label) to close it as normal in previous versions please fix it when you have some time
Click to expand...
Click to collapse
That is the onus from the bonus feature!
I guess I will not be able to fix that, cuz built-in Navigation Drawer consumes all touch events! But at least, I´m gonna try to fix ok!!
skad00sh said:
Awesome work bro! Working perfectly!!
Can you increase width little? As in Xperia home launcher
Sent from my C2104 using Tapatalk
Click to expand...
Click to collapse
Yep... If you want to do it by yourself, change dimens.xml red values (both same size):
Code:
<dimen name="custom_drawer_layout_width">[COLOR="Red"]210.0dip[/COLOR]</dimen>
<dimen name="power_toggles_button_height">70.0dip</dimen>
<dimen name="power_toggles_grid_width">[COLOR="red"]210.0dip[/COLOR]</dimen>
serajr;
Oh... really fast bro!!! So porting it is easy isn´t it?
Please said:
Don't you know that I am a serial porter
I will port it to JB 4.1.2 too
Of course I will ask you before to publish
Envoyé de mon C6603 en utilisant Tapatalk
Click to expand...
Click to collapse

[MOD][GUIDE]Enable %battery in 4.4 KitKat

Things you'll need:
APKTool
Notepad++
SystemUI.apk from your 4.4 ROM
{
"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"
}
1. Using APKTool, decompile SystemUI.apk
2. Open \smali\com\android\systemui\BatteryMeterView.smali in Notepad++
3. If you don't already have the white %battery enabled, enable it now. Find:
Code:
const-string v7, "status_bar_show_battery_percent"
const/4 v9, [COLOR="Red"]0x0[/COLOR]
and change 0x0 to 0x1
4. Now find:
Code:
iget-object v7, p0, Lcom/android/systemui/BatteryMeterView;->mTextPaint:Landroid/graphics/Paint;
[COLOR="Red"]const/4 v7, -0x1[/COLOR]
and change "const/4 v8, -0x1" to "const/high16 v8, -0x100" (this is changing white (-0x1) to black (-0x100))
5. Save the changes and recompile the APK making sure to retain the original signature. Push back to /system/priv-app/ and set with RW/R/R permissions. Voila, now you have black text for your %battery
downlad Enable _battery in 4.4 KitKat N900.zip
http://sourceforge.net/projects/vnr...able _battery in 4.4 KitKat N900.zip/download
nguyenxuanhoa said:
Things you'll need:
APKTool
Notepad++
SystemUI.apk from your 4.4 ROM
1. Using APKTool, decompile SystemUI.apk
2. Open \smali\com\android\systemui\BatteryMeterView.smali in Notepad++
3. If you don't already have the white %battery enabled, enable it now. Find:
Code:
const-string v7, "status_bar_show_battery_percent"
const/4 v9, [COLOR="Red"]0x0[/COLOR]
and change 0x0 to 0x1
4. Now find:
Code:
iget-object v7, p0, Lcom/android/systemui/BatteryMeterView;->mTextPaint:Landroid/graphics/Paint;
[COLOR="Red"]const/4 v7, -0x1[/COLOR]
and change "const/4 v8, -0x1" to "const/high16 v8, -0x100" (this is changing white (-0x1) to black (-0x100))
5. Save the changes and recompile the APK making sure to retain the original signature. Push back to /system/priv-app/ and set with RW/R/R permissions. Voila, now you have black text for your %battery
Click to expand...
Click to collapse
thank you for the instruction.
would you mind to do the flashable change?
thank you in advance
Daster_x said:
thank you for the instruction.
would you mind to do the flashable change?
thank you in advance
Click to expand...
Click to collapse
download:good:
http://sourceforge.net/projects/vnr...able _battery in 4.4 KitKat N900.zip/download
nguyenxuanhoa said:
download:good:
http://sourceforge.net/projects/vnr...able _battery in 4.4 KitKat N900.zip/download
Click to expand...
Click to collapse
thank you very much!!!
---------- Post added at 01:42 PM ---------- Previous post was at 01:28 PM ----------
nguyenxuanhoa said:
download:good:
http://sourceforge.net/projects/vnr...able _battery in 4.4 KitKat N900.zip/download
Click to expand...
Click to collapse
after I flashed it... no percentage (I'm on stock 4.4.2, n900)
it's for stock or custum rom ?
It works perfectly on Sweet Rom 7.01
Bold fonts
Find in BatteryMeterView.smali
Code:
.line 263
const-string v7, "sans-serif-condensed"
const/4 v8, 0x0
replaced
Code:
.line 263
const-string v7, "sans-serif"
const/4 v8, 0x1
result:
nguyenxuanhoa said:
Things you'll need:
APKTool
Notepad++
SystemUI.apk from your 4.4 ROM
Click to expand...
Click to collapse
termit901 said:
Bold fonts
result:
View attachment 2536151
Click to expand...
Click to collapse
Both codes confirmed to work. Thanks heaps guys great work :good:
Red text
Code:
.line 262
iget-object v7, p0, Lcom/android/systemui/BatteryMeterView;->mTextPaint:Landroid/graphics/Paint;
const/high16 v8, -0x30
------
max brighter
Code:
-0x1
Thanks for share guys nice work
Hugs
Sent from my SM-N9005
Appreciated if you provide flashable zip for all your mod.
One by one.
Thanks.
Sent from my SM-N9005 using Tapatalk
I'm on echo rom v7, which is based on official stock 4.4.2
I flashed the above soundforge file and the battery background color didn't change. It's still white.
The only issue is that when the battery becomes less than 70%, the percentage text is hard to read! So I prefer the yellow background.
nguyenxuanhoa said:
Things you'll need:
APKTool
Notepad++
SystemUI.apk from your 4.4 ROM
1. Using APKTool, decompile SystemUI.apk
2. Open \smali\com\android\systemui\BatteryMeterView.smali in Notepad++
3. If you don't already have the white %battery enabled, enable it now. Find:
Code:
const-string v7, "status_bar_show_battery_percent"
const/4 v9, [COLOR="Red"]0x0[/COLOR]
and change 0x0 to 0x1
4. Now find:
Code:
iget-object v7, p0, Lcom/android/systemui/BatteryMeterView;->mTextPaint:Landroid/graphics/Paint;
[COLOR="Red"]const/4 v7, -0x1[/COLOR]
and change "const/4 v8, -0x1" to "const/high16 v8, -0x100" (this is changing white (-0x1) to black (-0x100))
5. Save the changes and recompile the APK making sure to retain the original signature. Push back to /system/priv-app/ and set with RW/R/R permissions. Voila, now you have black text for your %battery
downlad Enable _battery in 4.4 KitKat N900.zip
http://sourceforge.net/projects/vnr...able _battery in 4.4 KitKat N900.zip/download
Click to expand...
Click to collapse
termit901 said:
Bold fonts
Find in BatteryMeterView.smali
Code:
.line 263
const-string v7, "sans-serif-condensed"
const/4 v8, 0x0
replaced
Code:
.line 263
const-string v7, "sans-serif"
const/4 v8, 0x1
result:
View attachment 2536151
Click to expand...
Click to collapse
termit901 said:
Red text
Code:
.line 262
iget-object v7, p0, Lcom/android/systemui/BatteryMeterView;->mTextPaint:Landroid/graphics/Paint;
const/high16 v8, -0x30
View attachment 2536312
------
max brighter
Code:
-0x1
View attachment 2536408
Click to expand...
Click to collapse
thank you all for the guides, successfully made one for Omega 7 rom.:good:
tried to flash the file attached but nothing after reboot.. i am on 4.4.2 kitkat stock rom

[GUIDE][JB 4.1+]Android Easter Eggs- Oreo: Add Android-O PlatLogo To Your Device

{
"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"
}
THANK YOU TO MORE THAN 20,000 USERS WHO MADE ANDROID-N PLATLOGO A HUGE SUCCESS!​
/*I 'm Not Responsible For Any Damage Of Your Phone. Take Necessary Backup If You Are Indoubt.*/
Bringing PlatLogo customization to its NEXT LEVEL, It’s me Aryan here again, presenting my next app to all Modders & Developers:
The-
Not wasting your time, lets jump on to the features-
Features:
All Screen Density Support, No Matter What’s Your Screen Size, This App Will Surely Work Fine.
[*]Customize Your PlatLogo. This Time Not Only The Android-O, The App Itself Contains Multiple Logos. Just Click & Choose.
[*]On User’s Demand, Introducing The New Cat Catcher & Marshmallow Land Game. The App Itself Contains Multiple Games. Just Click & Choose.
The Whole New OTA Updates Section Is Added. Now Users Will Receive The OTA Updates Downloaded Directly To Your Device Because This Time, The App WON’T STOP At Just Android-O. Updates Will Be Provided.
Highly Customization Settings Section. (TAP 5/7/10/15 TIMES ON LOGO TO OPEN SETTINGS-UPDATED)
Requirements:
Knowledge Of De-compilation & Re-compilation of jars.
framework.jar. (In Some Case Like Samsung & Kitkat Roms, It May Be framework2.jar).
And Of-course The ANDROID-O APP Itself,
DOWNLOAD FROM HERE​
UPDATE EDIT: VERSION 1.5.5 [STABLE]
ANDROID-O EASTER EGG "OCTOPUS" ADDED)
HIDDEN FROM LAUNCHER
TO TEST THE HIDDEN APP DIAL *#*#1101#*#* IN DIALPAD
AND MANY MORE FEATURES ADDED
Click to expand...
Click to collapse
(If You Just Need To Test The App, You Can Also Download From Above Link)[/CENTER]
Procedure:
De-compile framework.jar
Go to smali/com/android/internal/app and open PlatLogoActivity.smali
Select all & replace it with this code-
Code:
.class public Lcom/android/internal/app/PlatLogoActivity;
.super Landroid/app/Activity;
.source "PlatLogoActivity.java"
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 12
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
.registers 7
.parameter "savedInstanceState"
.prologue
.line 16
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
.line 18
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 19
.local v1, intent:Landroid/content/Intent;
new-instance v2, Landroid/content/ComponentName;
const-string v3, "com.aryan.platlogo"
const-string v4, "com.aryan.platlogo.MainActivity"
invoke-direct {v2, v3, v4}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {v1, v2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
.line 23
:try_start_16
invoke-virtual {p0, v1}, Lcom/android/internal/app/PlatLogoActivity;->startActivity(Landroid/content/Intent;)V
:try_end_19
.catch Landroid/content/ActivityNotFoundException; {:try_start_16 .. :try_end_19} :catch_1d
.line 39
:goto_19
invoke-virtual {p0}, Lcom/android/internal/app/PlatLogoActivity;->finish()V
.line 41
return-void
.line 31
:catch_1d
move-exception v0
.line 35
.local v0, e:Landroid/content/ActivityNotFoundException;
const-string v2, "Install Android O PlatLogo By Aryan"
const/4 v3, 0x0
invoke-static {p0, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v2
invoke-virtual {v2}, Landroid/widget/Toast;->show()V
goto :goto_19
.end method
Re-compile framework.jar, push it into system/framework folder with correct permissions (rw-r–r–).
Install Android-O Platlogo.
If You Are Using This PlatLogo In Your ROM, Just Give A Credit To My Work.
If Your Liked My Work, Just Press Thanks Below:laugh::laugh::good::laugh:​
how can i use this mod for kitkat on my tab 4 i decompiled framework.jar but i dont have platlogo.smali
---------- Post added at 10:14 AM ---------- Previous post was at 10:03 AM ----------
never mind i found it it was in framework 2 jar
---------- Post added at 11:30 AM ---------- Previous post was at 11:14 AM ----------
Just tested this on my tab 4 running kitkat and this mod works perfect and is amazing
One suggestion though and im not hating is try to remove the ads in the app completely or have them be banner ads instead of popups its really annoying and if you added a donate paypal option i would happily give you a couple bucks but pop up ads every two to 5 minutes is not fun but anyways thanks for your awesome work its cool to change easter eggs i will be including your mod in my rom and i will give ya credit
Cheers
JT1510365 said:
how can i use this mod for kitkat on my tab 4 i decompiled framework.jar but i dont have platlogo.smali
---------- Post added at 10:14 AM ---------- Previous post was at 10:03 AM ----------
never mind i found it it was in framework 2 jar
---------- Post added at 11:30 AM ---------- Previous post was at 11:14 AM ----------
Just tested this on my tab 4 running kitkat and this mod works perfect and is amazing
One suggestion though and im not hating is try to remove the ads in the app completely or have them be banner ads instead of popups its really annoying and if you added a donate paypal option i would happily give you a couple bucks but pop up ads every two to 5 minutes is not fun but anyways thanks for your awesome work its cool to change easter eggs i will be including your mod in my rom and i will give ya credit
Cheers
Click to expand...
Click to collapse
I can totally understand your point. More Ads decrease more User Experience. But I 'am a small Developer & get small amount of earning from these ads...
But don't worry, I have perfect solution for this and will provide checkbox option, so that user can opt to remove ads in my future update... for my "Android -P Platlogo"
Link not working
Hey,
I tapped on the link "Download from here", but it redirected me to the same page where I was. Please provide a working link for both android O app, and platlogo.
Thanks in advance
What's the benefit to this? I don't get it..
azamz said:
Hey,
I tapped on the link "Download from here", but it redirected me to the same page where I was. Please provide a working link for both android O app, and platlogo.
Thanks in advance
Click to expand...
Click to collapse
Link working fine now.
storm68 said:
What's the benefit to this? I don't get it..
Click to expand...
Click to collapse
this app is basically for rom developers who build custom roms and finally need to add a platlogo in the settings>about phone section..
this post helps one to setup this app in settings>about phone

Categories

Resources