Aller au contenu

CM7 personnalisation


p2olo28

Recommended Posts

Bonjour, je voudrais rendre ma status bar transparent et avoir l'horloge au milieu avec l'opérateur a gauche.

J'ai vu qu'il fallait faire le patch mais je comprend rien.

Merci de bien m'aider :emo_im_angel:

edit : j'ai trouver cela http://zdune.mod2xtreme.com/android/tweaks.php mais je ne comprend rien !

aide please

si c'est langlais je peux traduire ...

Lien vers le commentaire
Partager sur d’autres sites

The new patcher doesn't need to be placed at SystemRoot anymore what will be more handy for all of you I guess, it also doesn't need any specific tools, because I already attached required files, so all you have to install on your own is JDK, JRE, SDK and ApkTool (just in case).

On n'est plus obligé de passer le patch dans le "systemRoot" ce qui sera plus pratique pour tout le monde je suppose. Il nécessite non plus , de logiciel ou outils spécifique, j'ai attaché les fichiers requis, donc ce que vous devez installer c'est le JDK, JRE, SDK and ApkTool (au cas où)

Video how to use it: click (old tutorial, but new one works the same way)

Download for Windows: click

Important

As you should already know not each launcher supports transparent statusbar, but if you will use MultiPicture Live Wallpaper you can get transparent statusbar using any launcher :), so I added wallpaper.png to the archive.

tutoriel video ( vieux tuto mais le nouveau marche de la même façon)

téléchargement pour window : LE LIEN

IMPORTANT

Comme vous devez déjà le savoir tous les launcher ne supporte pas les statutsbar transparents, mais si vous utiliser MultiPicture live Wallpaper, vous pouvez avoir cette barre transparente sur tous les launchers. Donc j'ai ajouté le wallpaper.png à l'archive.

I need to mention that there is two types of CM7 roms: based' and native'. My patcher works well with native' ones. I will write below how to patch based' roms:

Je dois également indiquer qu'il y a deux types de rom cyanogen : les "based et native" ( j'ai pas compris la différence ) . Le patch marche bien avec les ROM "native". J'écrirais un tuto pour les "based" ( surement plus tard)

install latest apktool (1.4.1) click

download framework-res.apk and systemui.apk from your rom

copy files to /WINDOWS

run CMD and type:

apktool if framework-res.apk

apktool d -f SystemUI.apk

install le dernier apktool

télécharge le frameword-res.apk et systemui.apk de ta rom

copies les fichiers dans "/window"

lances CMD ( demarer exécuter => cmd) et écris :

apktool if framework-res.apk

apktool d -f SystemUI.apk

then go to /WINDOWS/SystemUI/ and follow step 6.2: click

after that go to /res/layout/status_bar.xml look for: com.android.systemui.statusbar.DateView

and replace whole line with mine:

<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center|center" android:id="@id/date" android:background="@drawable/statusbar_background2" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />

Ensuite vas dans /window/systemUI/ et suis l"étape 6.2.

Ensuite va dans /res/layout/status_bar.xml et remplace la ligne entière contenant "com.android.systemui.statusbar.DateView" par "<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center|center" android:id="@id/date" android:background="@drawable/statusbar_background2" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />"

now go to /WINDOWS/SystemUI//res/drawable-hdpi or mdpi, copy statusbar_background.png and raname that copy to statusbar_background2.png

then go back to CMD and type:

apktool b -f SystemUI SystemUInew.apk

once it's done: sign apk, rename to SystemUI.apk, install in internal memory (/system/app)

to sign use drag2sign click (just drag and drop SystemUI.apk on bat file )

Maintenant va dans /window/systemeUI.//res/drawable-hdpi ou mdpi, copie statusbar_background.png et renomme le statusbar_background2.png

ensuite retourne sur le CMD et tapes :

apktool b -f SystemUI SystemUInew.apk

Une fois que c'est fait signe l'aapk, renome le systemUI.apk et installe le dans la mémoire interne ( /system/app)

pour signer utilise drag2sign ( fais glisser et dépose le systemeUi.apk sur la fichier BAT )

Désolé pour traduction un peu rapide :)

Lien vers le commentaire
Partager sur d’autres sites

  • 4 weeks later...

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...