How to remove carrier name ? - Huawei Ascend P7

Does anyone know how to remove from the system tray carrier name ?

If you can edit the systemui.apk after deodexing, it should be easy for you.
Unfortunately it was not possible for me, to deodex our systemui.apk.
The downloadable edited systemui.apk of the p6 is running, if you rename the original systemui.apk and systemui.odex.
But after that you will miss some taskbar functions.

Tippfehler said:
If you can edit the systemui.apk after deodexing, it should be easy for you.
Unfortunately it was not possible for me, to deodex our systemui.apk.
The downloadable edited systemui.apk of the p6 is running, if you rename the original systemui.apk and systemui.odex.
But after that you will miss some taskbar functions.
Click to expand...
Click to collapse
Thanks, but no detailed instructions can not do it .

Hide Operator P6 (You can test apk from #10):
http://forum.xda-developers.com/showthread.php?t=2776681
If you google for these words, you can find instructions:
systemui.apk status_bar.xml TextView paddingLeft

Tippfehler said:
Hide Operator P6 (You can test apk from #10):
http://forum.xda-developers.com/showthread.php?t=2776681
If you google for these words, you can find instructions:
systemui.apk status_bar.xml TextView paddingLeft
Click to expand...
Click to collapse
Its working, thanks:good: I used the apk from first post
I made a simple tutorial here :
http://forum.xda-developers.com/ascend-p7/development/guide-how-to-remove-carrier-tray-t2843461

The systemui.apk from #10 has a house instead of a huawei logo for home.
If you don´t rename systemui.odex, you will get a lot of systemui error messages and it would be difficult, to fix it.
The better way is to edit the original systemui.apk.

Since this is working well, am I able to deodex this SystemUI and make my own changes? Couldn't deodex the original SystemUI.

...
i cannot get it working. all i see is black window when i restart. what deodoxing means? wut
i tried this: http://forum.xda-developers.com/ascend-p7/development/guide-how-to-remove-carrier-tray-t2843461

deodex: http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
deodex tool: http://forum.xda-developers.com/ascend-p7/general/guide-stock-rom-flashables-wip-t2836655

Related

[Q] modding APKs and ODEX files

Hi, just have a question regarding modding apks inside /app in odexed roms.
Have read a few threads regarding deodexing and decompiling apks, and just wish to clarify one thing:
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Here's what I tried:
1. Used xultimate to deodex
2. Used apktool to decompile apk
3. Edited xml
4. Used apktool to compile
5. Added META-INF and AndroidManifest.xml from original apk using 7zip
6. Deleted Contacts.apk and Contacts.odex
7. Copied Contacts.apk over
Thanks in advance!
ock said:
Hi, just have a question regarding modding apks inside /app in odexed roms.
(...)
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Click to expand...
Click to collapse
+1
I am also interested in the answer ...
I would like to theme some widgets and theme the statusbar on a stock ROM. I am not sure is it possible ? And what is the procedure with the odexed files ?

lg widget bar on custom rom

Hi all,
i need some help over here.
I've changed many, many things in my framework folder. Now the next step is to add the notifications bar toggles from lg-res.apk
I took one prebaked lg-res.apk and modified it a bit. Then i zipped it into my rom, but no toggles jet...
My guess is that there are more files to edit to get the toggles working.
Can somebody help me out a little bit.
Every time i give up and post a question how to fix something, i emediatly find a fix..... So i have my toggles working, but want te remove the music widget. How can i decompile the .xml file to remove the lines from there ?
you edit the xml with notepad, you don't decompile an xml
Mjuksel said:
you edit the xml with notepad, you don't decompile an xml
Click to expand...
Click to collapse
ok ok, i decompiled framework-res then edited the xml file, but now i've got some bootloops
could you tell us how you got the toggles working???
can you take these out of the original rom and put them in another?
monkeytown said:
could you tell us how you got the toggles working???
can you take these out of the original rom and put them in another?
Click to expand...
Click to collapse
i extracted the lg-res.apk from a basic rom, edited it and placed in my framework folder.
Then i copied the file: status_bar_extended.xml from framework-res.apk to my own framework-res.apk.
That worked, but the carrier bar is now empty and i don't have a solution for that right now.
peewster said:
Hi all,
Every time i give up and post a question how to fix something, i emediatly find a fix..... So i have my toggles working, but want te remove the music widget. How can i decompile the .xml file to remove the lines from there ?
Click to expand...
Click to collapse
to remove the music widget buttons, you need lg music installed.
you can remove the buttons in menu of lg music ...
peewster said:
i extracted the lg-res.apk from a basic rom, edited it and placed in my framework folder.
Then i copied the file: status_bar_extended.xml from framework-res.apk to my own framework-res.apk.
That worked, but the carrier bar is now empty and i don't have a solution for that right now.
Click to expand...
Click to collapse
how do you know, what "status_bar_...." files you need?? if i wanted to copy the status bar toggles from a working rom, should i copy all staus_bar_ files i find?
monkeytown said:
how do you know, what "status_bar_...." files you need?? if i wanted to copy the status bar toggles from a working rom, should i copy all staus_bar_ files i find?
Click to expand...
Click to collapse
Well i think i had some stupid luck , just looked at all the file names and picked the one that looked the most logical to me
oh i see
but let me take a guess, you deal with the toggles to include them in your rom?
monkeytown said:
how do you know, what "status_bar_...." files you need?? if i wanted to copy the status bar toggles from a working rom, should i copy all staus_bar_ files i find?
Click to expand...
Click to collapse
It's just status_bar_expanded for the pull down, only one file.
@OP - Just change the height of the music control block to '0dip' in status_bar_expanded to hide the music controls - you can not remove them (but hide works fine). You do not need to use the LG Music app to do this.
Or search for my mod posted here and extract the status_bar_expanded xml.

SGS2 transparent statusbar: help me

Ok so I tried to make the statusbar transparent with UOT kitchen like for all the phones I had before, but this time it won't work!
I did a little search and found that it could be the status_bar.xml file that is responsible of that, blocking the statusbar to a black code color.
So I changed it toward a definite file as mentioned in a topic, my problem is that I am new to apktool
The apk didn't decompile completly so I can't recompile it.
So I am attaching the systemui.apk and xml file I edited, can you check it up and recompile this xml (if good) with the systemui.apk please??
http://forum.xda-developers.com/showthread.php?t=1108249
Don't know if this could help you... (look at the end of the page)

[LINKS][TIPS] Edit system files, ROM, Kernel

I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Re: [LINKS][TIPS] Editing system files and more!
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
thank you very much. it was helpful for me too.
Re: [LINKS][TIPS] Editing system files and more!
EvolutionHybrid said:
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
Click to expand...
Click to collapse
eserguei said:
thank you very much. it was helpful for me too.
Click to expand...
Click to collapse
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
El_Dark said:
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
Click to expand...
Click to collapse
I am also S5830i user but this method won't work due to unknown reasons! I'll edit OP!
Otherwise it will work on other devices!
Don't replace framework-res.apk.. U'll get bricked.. If u are doing ui changes just take the pngs and replace in ur framework-res.apk! But make sure resolution is same as that of original one!
Sent from mass relay
El_Dark said:
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Click to expand...
Click to collapse
It is yes, but you can only theme images it seems with NinjaMorph, which is why it doesn't list the folders that consist mainly of xmls, which can only be edited after being decompiled.
Was really a very easy n a extremely noov friendly tutorial.
Thnx guys!
Sent from my GT-I9100 using xda premium
VERY NICE GUIDE !!! Thanks a lot ,, many more to learn
Can u give a guide to add notification toggles in aosp ics
Sent from my GT-S5570 using xda premium
really helpful
thanks (pressed already)
How do I change the Model Number?
js2892 said:
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Click to expand...
Click to collapse
Hi,
How would I change the Model Number?
rasmutu said:
Hi,
How would I change the Model Number?
Click to expand...
Click to collapse
Please don't quote the whole OP.
go to system/build.prop
open the file and change value of ro.product.model
It seems good. I'm going to click. thank you!

lildroid-res.apk missing

hey guys,
i want to modify my toggle-bar.
but for that lidroid-res.apk is necessary, but it is NOT in /system/framework
i need this file for modding...
any ideas?
My ROM: see signature
JackoMJ
For modding toggle bar is necessary to made some smali and xml edit too, only lidroid apk in framework folder is for nothing. Look here for more info.
somin.n said:
For modding toggle bar is necessary to made some smali and xml edit too, only lidroid apk in framework folder is for nothing. Look here for more info.
Click to expand...
Click to collapse
Thx somin, i read the thread and tested it.
And i must confess that i am too silly for that ... :crying:

Categories

Resources