Jump to content

[TUTO] CM10 Modifier fond Barre d'état (Background Statusbar)


Recommended Posts

1352614185.png

Test effectuer sur CM10 officiel (gt-n7000) FAIRE UN BACKUP AVANT

Pré-requis:
  • Apktool (v1.4.9)
  • Une rom cm10
  • Un éditeur de texte valable
  • Bonus: Pour ceux qui ont rien compris ou/et qui ont la flemmingite aiguë un zip (cwm) est joint ;) .

Mise en œuvre:

1}
Extraire SystemUI.apk de votre appareil (system/app/)

2}
Dé-compiler:
apktool d -f -t nozomi SystemUI.apk

3}
Aller au dossier suivant:
 /SystemUI/smali/com/android/systemui/statusbar/phone/

4}
Éditer le fichier suivant:
PhoneStatusBar$FastColorDrawable.smali

Chercher & remplacer:

 iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I

Par

const v0, 0xbf000000

Voir parti
Bonus
pour la couleur ici transparent à 25%

5}
Éditer le fichier suivant:
/SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali

Chercher cette parti de code

invoke-static {v0}, Landroid/app/ActivityManager;->isHighEndGfx(Landroid/view/Display;)Z

move-result v0

et remplacer
les 3 lignes
par celle-ci

const v0, 0x0

6}
Compiler

7}
Aller dans le dossier
[size=4]\SystemUI\build\apk[/size]

Copier le fichier
classes.dex

8}
Ouvir
(ne pas dezipper)
SystemUI.apk (l'original celle que vous avez précédemment extrait de votre appareil)

& remplacer classes.dex par celui que vous avez creer.

9}
Remplacer SystemUI.apk par la nouvelle attribuer lui les bon droit: 644

10}
Reboot

BONUS:

Les couleurs sont en Hexadecimal exemple pour un fond transparent:

ff
000000
---couleur blanche en rgb

|
__
transparence

Liste des couleurs hexa rajouter par exemple ff ou bf devant pour la transparence

Sources

xda & moi

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...