Android status bar Landscaping related tutorials

Source: Internet
Author: User

"Little white Anti-compilation tutorial to make you a little God"

Collect this tutorial
Let's learn.
There's no forever little white
Only the lazy little white

will simply beautify (change the icon) to see this article Oh.
Simple refers to: what is the right to understand (3-1-0)
What is the status bar (systemui.apk)
What the framework is (FRAMEWORK-RES.APK)
Document route to know where! Route I won't say it here.
Summarize two words: skilled!


This is a novice anti-compilation must see the tutorial, at the time of the first step into the anti-compilation (of course, I am not very force, boring time to play landscaping)
It's okay to watch these novice tutorials, see more, practice more will be.
Don't look at the English more, too troublesome!
Then you are not welcome to watch this tutorial!

(If you don't see the tutorial, you can choose to ask me to teach you.) No one is forcing you to pay your own bills. But I collected the tutorial enough detail, I believe you will. )
2. Signal left Shift
This is simpler (provided that you understand the method above)
Time-Centered code we look back, change the content first, then change the location.
And the change of the signal only to change the position on the line.
The same file we are going to change is status_bar.xml or XML file with Status_bar and Gemini file name (for example, Zzz_status_bar_gemini.xml) "depends on the dual card (see system), The latter of the dual sim (not necessarily the name of Zzz_status_bar_gemini.xml), the former of the single card "
In the code snippet of the signal, there must be android:id= "@id/signal_cluster", and all we have to do is move this section to the code snippet with the android:id= "@id/icons".
The principle is also very simple, with android:id= "@id/icons" of the code snippet is to determine the status bar part of the icon, this part of the reading order is from the top down. Move the code snippet with android:id= "@id/signal_cluster" to the code snippet with the android:id= "@id/icons", and the system will read the code of the signal first so that the signal is naturally on the far left.
Tools: Apktool (anti-compilation package), download please baidu bar or paste download
920 text editor, download to the software store (such as: Baidu Mobile Assistant, pea pod ...) )

Anti-compilation status bar ~

Emphasize! : Anti-compilation is the depth of the Android phone, the risk is also large, as long as follow the tutorial will not go wrong. Or that sentence, causing the mobile phone to stop in the first screen, the status bar is missing and so on, please bear it yourself!
Please refer to the following tutorials in practice!


"Important tips, back to compile successfully, what should I do?"

Back to compile, do not tube that back to compile good software, first the software just copied over the point, and then point to extract the signature files, and then point back to the compiled software and then point to add the signature file, you can. Then use the RE manager to move to the root directory, with the same name and permissions!
"Look, novice back to compile after the change must see"
(For example, I have just returned to compile the status bar, of course, in advance to succeed.)
I just go back to the compilation of the success of the status bar, the direct point to copy over the systemui.apk, and then point to extract the signature file, extract later we point just back to compile the good systemui_old_src.apk
Then click Add Signature File,
Finally open the RE manager to move to the root directory, with the same name as systemui.apk, then permissions 3-1-0, and finally move the system to overwrite! )

Tip: Look at the tutorial you know that the above tutorial tube doesn't work.
This replacement tutorial is best used when the core of the mobile phone is cracked.
(Lucky cracker) Baidu a bit of Chinese version.

This is my back to compile a good replacement method, simple and practical ...


"Anti-compilation package installation using detailed article"
① Download this apktool anti-compilation package, and then find the anti-compilation package to move to the SD card root directory (is placed in the SD card, not the SD card file Oh, and then extract (extract) The Apktool file of the anti-compilation package, extract (extract), Move the extracted files (also Apktool) to the SD card root directory. Then install the APK (only one) and complete it.
Emphasis: SD card files do not use Chinese when the name. )
Note: Whether it is 4.5,-,4.4-... And so on, the anti-compilation package uses the installation in this way.
Download well then please everyone to Baidu or paste download
② do not open after installation, use the RE manager into the root directory of the System~framework file, and then locate framework-res.apk and then copy the Apktool file to the SD card.
Then exit the RE manager, open the anti-compilation software (that is, the APK software installed in the previous step) and then go to the SD card Apktool file, find the framework~res.apk that just copied over, then click Framework~res.apk, then click on the following import Framework (Import framework).
Then you can start to decompile it.
(emphasis here-there are some mobile phone framework files There is another res apk, some words directly copied, up a bit to import on it.)
There is only one of the 0.4 mobile phones in the cloud. )

③ two steps to finish, then start the anti-compilation trip, make your phone more beautiful.
"Do not decompile the Chinese software, if you want to decompile, please change the English number in Chinese."

(The above is what I have learned from the anti-compilation experience written, not copied)
Please revise the party's self-esteem!






"Status bar Merge Chapter"
Why the status bar to merge, transparent status bar must be merged to achieve!
Not much to say tutorials below (Brother Yun manual typing)
Open Re Manager, enter System~app find systemui.apk, you will find a file called Systemui.odex below
And then we're going to copy the two files into the memory card file (whatever that file, you just remember it.) )
Then turn on the anti-compilation software (Apktool) into the place where you just put those two files, find the Systemui.odex point decompile, and then wait and see.
After that, a new file will appear (Forget ⊙_⊙), then you can click Back (compile), then a file (also forget (>﹏<)), then click on the file, and then pack into the same name APK. The status bar is merged!
(Some mobile systems are merged, so do not merge)

"Status bar Transparency article"
First, click on the status bar to import the frame, and then decompile the status bar all (must be imported, all in reverse compilation OH)
Okay, then open the Systemui_old_src file,
Open res~values to find Drawables.xml, long press, open with a text editor, find Status_bar_background, change the #ff000000 FF to 00, save exit.
Then return to the directory with Res folder, open Smali~com~android~systemui~status ' Bar, find the status ' Bar.smali file, press and hold, open with a text editor, find NEW_INSTANCEV11. Landroid/view/windowmanager$layoutparams
Change const/16v16,0x4 to const16v16,-0x2
Save exit
Then return the file back to compile
Put back the Classes.dex and RESOURCES.ARSC.

(systemui/res/layout) Layout folder

Replace the original apk file don't forget to replace the changed image.

Or simply replace all the finished files back to the original apk is OK
Pro-Test Success!


① status Bar Transparent
(This should not be 4.0 transparent status bar method, more than 4.1 of it, I do not know (? ´ω '?) )

Anti-compilation systemui.apk

Res/layout/statu_bar.xml

Open it, the first piece of code might look like this
Attention! Is the first piece of code!!!

<?xml version= "1.0" encoding= "Utf-8"?>
<com.android.systemui.status ' Bar. Status ' Barview android:orientation= ' vertical "android:background=" #ff000000 "android:focusable=" true "Android: Descendantfocusability= "Afterdescendants"

Did you see that?
Android:background= "#ff000000"
This code is the status bar background Oh! I pointed it to the black! If you want transparency, you can change him to
Android:background= "#00000000"
So it's transparent, oh! Back to save

If there is overlap in transparency, take a look at the following tutorials!

The same is to modify the systemui.apk.
Decompile all after find Smali\com\android\systemui\status ' Bar\status ' Barservice.smali

Found it
New-instance V0, Landroid/view/windowmanager$layoutparams;
CONST/4 v1, -0x1
CONST/16 v3, 0x7d0
CONST/16 V4, 0x48
CONST/4 V5, 0x2

Revision changed to
New-instance V0,
Landroid/view/windowmanager$layoutparams;
CONST/4 v1, -0x1
CONST/16 v3, 0x7d0
CONST/16 V4, 0x48
CONST/4 V5, -0x3
(In fact, only changed the following several code!) )
The postback replaces the Classes.dex.


"Status bar Add text"
Teach you to add custom text in the status bar, non-carrier
I am on the Android 4.0.4 to test the success of the modification
First copy the status bar (systemui.apk) into the SD card's Apktool file.
1. Decompile all (for short, decompile) systemui.apk (how to decompile see above handling)
2. After the decompile is complete, open res/layout/status_bar.xml or Gemini_status_bar.xml or other.
Note: Most of the gemini_ at the beginning of the dual SIM phone reference layout file. Some are different. Basically the same, as long as you find the correct layout file is right.

3. Search for @id/icons, add below this code

<textview android:textsize= "16.0dip" android:textcolor= "#ffffffff" android:gravity= "left" android:layout_width= "Wrap_content" android:layout_height= "Fill_parent" android:text= "cousin he's her"/>
You can modify your cousin, he's the one that she changed to your word.

This adds the custom text to the leftmost display of the status bar
Other locations please feel free to explore
With the previous paragraph on it, save exit!
Then return the file, point to compile (that is, back to compile)

Go back to compile and look at "important tips." Top Again "
Then the RE manager replaces the systemui.apk to restart the phone, OK.
(Note: If the icon you replace the status bar is not in PNG format, it will not be compiled successfully.) )

"Status bar custom add scrolling text"
"Marquee Text status bar"


Anti-compilation status bar

Find Res/layout/status_bar.xml


Direct Search Code:
Android:id= "@id/ticker"

The paragraph in which the code is located (above)


Add the following code:

<include layout= "@layout/diy_yg"/>

Then copy the Diy_yg.xml to the Res/layout directory.

(This file is in the attachment)
This effect is that the text will automatically scroll in the status bar,
A red-letter word like an ad.

"Time Center accurate to seconds"
Or systemui.apk find Res\layout\status_bar.xml?
Open Status_bar.xml (the content will not necessarily be exactly the same, but the same way, Android Universal)

Find the following code and delete them all
<com.android.systemui.status ' Bar. Clock
Android:textappearance= "@android: Style/textappearance.status ' Bar.icon"
Android:gravity= "Left|center" android:paddingright= "4.0dip" android:layout_width= "Wrap_content"
android:layout_height= "Fill_parent"
Android:singleline= "true"/>

Find this sentence again: Xmlns:andr

Android status bar Landscaping related tutorials

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.