[Q] How to remove "No Signal" text in MIUI notification bar - Android Q&A, Help & Troubleshooting

Hello all,
I am working on a rom for the Samsung captivate that essentially makes the captivate a captivate touch. I've tried messing with spn-conf.xml and because "No Signal" isn't tied to a carrier number, I can't remove it. Do you know of any ways I could remove it from the notification bar?

What I do in the miui EVO 3d that digitalhigh and I make is edit the framework-res.apk to change it to say sprint, but you can make it say whatever you want. It's located in framework-res.apk/res/values/strings.xml I think its called carrier text or something. Just open in an editor and search for 'No Signal'.
Sent from my HTC x515d using Tapatalk 2

cmbaughman said:
What I do in the miui EVO 3d that digitalhigh and I make is edit the framework-res.apk to change it to say sprint, but you can make it say whatever you want. It's located in framework-res.apk/res/values/strings.xml I think its called carrier text or something. Just open in an editor and search for 'No Signal'.
Sent from my HTC x515d using Tapatalk 2
Click to expand...
Click to collapse
Hi cmbaughman, i don't see any values folder in framework-res.apk, should i create my own string.xml file ??
Thanks

any help about my question?
thanks

In response to your question, if no solution, can brush system
In response to your question, if no solution, can brush system

Miui Toolbox
Miui Toolbox has a custom carrier name option that seems to override everything whether you are connected or not. I think you can either use that or figure out what file it is modifying and change it yourself from there.

Thank you for yours hints but it didn't works, i found the solution and here what you have to do if you want to remove the "No Service" , "No Signal" or "Non connecté" strings :
1- Unzip the MIUI rom file.
2- Go to \system\app and copy the MiuiSystemUI.apk file to desktop.
3- Rename the MiuiSystemUI.apk file to MiuiSystemUI.zip and open it without doing extract.
4- Exctract the file resources.arsc to Desktop, i used Winrar and left the window opened for step 8.
5- Open resources.arsc with any binaries edition tool, i used HexEdit.
6- Search for the string : "No service" and replace it with what you want.
7- Save the file.
8- Drag the "resources.arsc" file into the winrar window, this will replace the file.
9- Close Winrar and rename the file MiuiSystemUI.zip back to MiuiSystemUI.apk.
10- Copy back the modified file to \system\app.
11- Compress your rom file and flash your tablet.
Enjoy!
Note: If you decide to modify the rom file, i should say that you will do it at your own risk :angel:

donzee said:
Thank you for yours hints but it didn't works, i found the solution and here what you have to do if you want to remove the "No Service" , "No Signal" or "Non connecté" strings :
1- Unzip the MIUI rom file.
2- Go to \system\app and copy the MiuiSystemUI.apk file to desktop.
3- Rename the MiuiSystemUI.apk file to MiuiSystemUI.zip and open it without doing extract.
4- Exctract the file resources.arsc to Desktop, i used Winrar and left the window opened for step 8.
5- Open resources.arsc with any binaries edition tool, i used HexEdit.
6- Search for the string : "No service" and replace it with what you want.
7- Save the file.
8- Drag the "resources.arsc" file into the winrar window, this will replace the file.
9- Close Winrar and rename the file MiuiSystemUI.zip back to MiuiSystemUI.apk.
10- Copy back the modified file to \system\app.
11- Compress your rom file and flash your tablet.
Enjoy!
Note: If you decide to modify the rom file, i should say that you will do it at your own risk :angel:
Click to expand...
Click to collapse
I am using Xiaomi Mi-2 phone come with stock MIUI JBL7.0.
I tried ur method, by doing it on phone itself. it failed and the whole notification bar has gone.
I restore the rom.
Need help.

This should be simple enough. In theory, all we'd need to do is remove the relevant line from the relevant xml. If someone's happy to share their files, I can take a look?
Sent from my SK17i using xda premium

Related

[Q] Editing an APK, any APK.

EDIT: Figured it out.
Care to share?
Yeah, will be nice if you could share this information with others
aitorTheRed said:
Yeah, will be nice if you could share this information with others
Click to expand...
Click to collapse
Man, I hate it when people do that...
1. Search for APK Manager in XDA and install it on your PC
2. Download and Install the Android SDK kit on your PC
3. Follow the instructions for APK Manager and place the APK file in the modding folder
4. Open APK Manager and select Decompile APK (Your APK file will be placed in a separate folder for you to work on)
5. Change what you want to change in the APK
6. Recompile the APK and sign it (unless it's a system file like framework, those are not signed)
A lot more is involved in modding an APK file and you really should know something about how the files inside the APK work before you go changing things, but in a nutshell, that's the basics.
Hope that helps!
What I have learned.
I had a specific question, but here is what I can tell you.
1. Setup APK Manager, it saves a lot of command line typing.
2. Pretty much always use option 9 and 11, never 1 or 3.
3. If you are simply changing graphics and not smali or XML files, don't use this, open it in 7zip and drag the files. Decompiling changes the image darkness sometimes.
4. Unless you are working on your own apk file, always say yes to 'is it a system apk', when it asks you to keep existing files, say yes. Delete from the 'keep' folder what you edited.
5. If you edit XLM files, delete resources.arsc from the file, this is where they all get compiled to.
6. You can use this for jar files, just rename to apk then back to jar when finished.
7. If you get an error try using option 20 to increase the memory to 1024.
8. If you edit jar files, delete classes.dex in the 'keep' folder when compiling.
9. Treat all files as signed system files (as noted above) and you will be much safer. If the file has a signature on it, this will save it.
Thanks for the info
Is there anything that can install system files. They won't install with ap manager so does it have to be pushed?
Sent from my Desire HD using XDA Premium App

[Q] theme skinning help???

Anyone mind sharing a link or some directions on skinnning themes?
I've had someone give me these instructions:
1) extract/Decompile the .apk file you want to MOD or make changes to. Use m10 editor for this.Select the option "decomplie all"
2) Minimize the m10 editor, and open the folder where you m10 editor is installed. There you would find a folder with the name of the .apk file you just decomplied. Go to folder assests>"base theme name">drawble>shared folder.
3) now select the .png files you want to edit. Install Paint.net, and edit with them, it was easy process for me. Remeber to "flip image vertical" after you are done with editing.
4) now go back to m10 editor, and Save the file.
5) You should have AndroidSDK installed.If not, do it. Then go to the folder where you have installed it. open the "autosign" file. It will open command prompt. There select the option to sign the file manually. Give the path for the file. It will sign it then. Exit from that program.
6) you are done, you can install it now.
I've gotten this far, but i can't find out how to change these 3 things below:
In de-compiled files changes have to b made in three places.
1. Androidmanifest.xml (name of package). how do u change this?
2. Res\values\strings.xml (name of theme). how/where do u change this?
3. Assets\shared(change this to theme name) h0w/where do u change this?
Also everytime I replace the background images, when I recompile it, my background images don't stay.
Any help would be much appreciated...
okay so i hate to tell you to download something else but i use .apk manager and it is a lot more straight forward.
decompile the apk using that.
go into the projects folder, you will see the Androidmanifest.xml
what are you trying to change in there exactly? if its just icons things like that those are easy but if you are trying to change the packageID it will just cause FC's
strings.xml hangs out in the following
projects->*.apk(this will be the name of what you decompiled)->res->values->strings.xml
then go into the xml and it will have a line with the name of the apk that you can change
assets has it's own folder i haven't hung out in there at all i haven't really had a need but it is in the same file tree with the res folder
now the issue upon recompiling, when doing the recompile in apk manager press y and y to the 2 options, it will create a keep folder go into that and delete the classes.dex if you messed with any images in the drawable folders, and the resources.arsc if you changed any of the xmls. then go into the keep directories sub folders and delete the items you changed then finish the compiling
sorry if i am not the best at explaining this
Yes, what exactly do you want to change? Taskbar and other icons are very easy to do, however, I haven't done any M10 files, yet.
In the manifest you need to change the name of the apk to what you are naming it. you will see a line which will have package="com.htc.skin."apkname".
So for my zombie skin example my line says "com.htc.skin.zombie"
Also to that point what ever you name it you need to navigate to the foler that holds the m10 file and change the folder to the same name or the m10 file wont be used.
jkrough0728 said:
In the manifest you need to change the name of the apk to what you are naming it. you will see a line which will have package="com.htc.skin."apkname".
So for my zombie skin example my line says "com.htc.skin.zombie"
Also to that point what ever you name it you need to navigate to the foler that holds the m10 file and change the folder to the same name or the m10 file wont be used.
Click to expand...
Click to collapse
exactly the same, boy did that drive me nutty for a few days!!
jkrough0728 said:
In the manifest you need to change the name of the apk to what you are naming it. you will see a line which will have package="com.htc.skin."apkname".
So for my zombie skin example my line says "com.htc.skin.zombie"
Also to that point what ever you name it you need to navigate to the foler that holds the m10 file and change the folder to the same name or the m10 file wont be used.
Click to expand...
Click to collapse
using apk manager are u guys decompiling using option 9 or 10 and if ur using option 10 what framework are u dragging into it?
keedog said:
using apk manager are u guys decompiling using option 9 or 10 and if ur using option 10 what framework are u dragging into it?
Click to expand...
Click to collapse
I use apktool but if your using manager it would be 9.
sent from my Evo 3D from xda app

Re-compile framework-res.apk (Custom Rom)

I got this figured out already, sorry about that.
Who ever thanked me, I wasn't posting a guide but a question.
I am trying from a fresh firmware base to learn from scratch but no idea how to get that framework to compile correctly.
did you install framework first?
Code:
apktool if framework-res.apk
Easy
I had problems with the apk tool and recompiling. The way I ended up doing it is:
I didnt decompile the framework-res.apk.
rename the file framework-res.apk.zip
open it with 7zip.
Extract the files you are wanting to work on
Do what ever work on the files you need done
Drag and drop the files back in the directories they go into while file is open in 7zip
Close 7zip
Rename file back to framework-res.apk
push to phone with adb
No decompile or recompile.
Hope this helps
Chadw1985 said:
I had problems with the apk tool and recompiling. The way I ended up doing it is:
I didnt decompile the framework-res.apk.
rename the file framework-res.apk.zip
open it with 7zip.
Extract the files you are wanting to work on
Do what ever work on the files you need done
Drag and drop the files back in the directories they go into while file is open in 7zip
Close 7zip
Rename file back to framework-res.apk
push to phone with adb
No decompile or recompile.
Hope this helps
Click to expand...
Click to collapse
If you just want to modify one of the 'normal' XML files or an image then that approach will work fine. The problem is he wants to edit the bool.xml file and that is contained in the 'resources.asrc' file and you need to decompile it first.
I am in the same situation although someone managed to edit the file for me and recompile it so I got there in the end, just not by doing it myself.
I followed the instructions you describe and the file never recompiled properly - or at least my device never booted with the one I recompiled
Try it like this:
1. Place APK in "place-apk-here-for-modding"
2. Choose "9" to Decompile
3. Grab resource "resources.arsc" from framework-res.apk
4. Do my edit in projects\framework-res.apk\res\values\bools.xml
5. Compile - Yes (system app) - Yes (copy files)
6. Go to "keep" folder and delete "resources.arsc" and the bools.xml file
7. Press any key
8. Either push by ADB or Root Explorer or Flash
nickiberli said:
Try it like this:
1. Place APK in "place-apk-here-for-modding"
2. Choose "9" to Decompile
3. Grab resource "resources.arsc" from framework-res.apk
4. Do my edit in projects\framework-res.apk\res\values\bools.xml
5. Compile - Yes (system app) - Yes (copy files)
6. Go to "keep" folder and delete "resources.arsc" and the bools.xml file
7. Press any key
8. Either push by ADB or Root Explorer or Flash
Click to expand...
Click to collapse
I have tried exactly like this and it didn't work for me. I downloaded lots of different APK tools and tried them all - there were comments about using older versions of apktool.jar etc. I kept getting different sizes of the output file depending on which one I used. I gave up in the end as someone edited the file for me and it was only one specific entry in bool.xmls I wanted changing. As far I could tell we were both doing exactly the same thing.
The last thing I said I was going to do was wipe the PC I was attempting to do this on. I never got round to doing it... I'd be interested to know why I could never get this working though
Andy
Give me the framework and tell me what u want to do.
I will do that for u
Btw is the framework ICS based?
Sent from my Micromax_A70 using Tapatalk 2 Beta-4
You have resigned?
Greets!

[Q] how can i sign framework-res.apk?

I dont know how to sign framework-res.apk
who will teach me?
What are you trying to do exactly? Why do you need to sign it? Have you decompiled it? Recompiled? Some more info may help you get more/better answers.
If you have decompiled it and made some changes to it, then recompiled it and now have an unsigned-framework-res.apk then what I usually do it use 7zip (WITHOUT UNZIPPING the .apk file and ONLY OPEN ARCHIVE)and remove the AndroidManifest.XML and meta-inf folder. Next use 7Zip to unzip the ORIGINAL framework-res.apk, then select the AndroidManifest.XML and meta-inf folder and DRAG it into the unsigned-framework-res.apk that you also have OPENED ARCHIVE, hit OK to add it on the popup. Now I then usually copy the unsigned-framework-res.apk to my phone, use root explorer to rename it framework-res.apk (so remove the "unsigned" part of the name). Then I use root explorer and copy it into /system, long press on the framework-res.apk and choose permissions, then set the permissions correctly , then long press again and select move, navigate to /system/framework and hit paste. Then reboot phone.
IF you have a issue where it doesn't boot up correctly then there is something g wrong with your framework-res.apk and you will HAVE TO go back to recovery and reinstall your ROM to fix it (or restore a nandroid backup). This last part is just FYI in case you have an issue.
Hope this helps. If it is not what you have done or trying g to do then give some more details as to what your trying to do and why.
Sent from My SGH-I777 Running Spiderman Themed AOKP or Spiderman Themed CM10

[THEMING] [GUIDE] For Begginers

Hello Friends U want to use ur own themed systemUI or Contacts.apk etc etc etc... i just sharing Work of some One
@credit
 @emompong for his guide 
 @ShadeSK for sharing
Just a basic background on how to theme your ROMS. - ofcourse, give thanks to the developer of your ROMs! .
I made this thread for those users who have personal wishes for their Phones. Ofcourse, ROM developers cannot please all of its users. so just make your own and be happy!.
I just made it easy for easy understanding and for the newbies.
Tried so many times and tested
I've already tried editing the systemUI.apk of different ROMs.
Here's what I did :
FIRST : Download 7zip to open the archived apk. - that's free.
Extracting first the Zip File..
(make sure you copy the original before extracting it for back up)
1. Download the ROM.zip and extract it to your PC.
2. Go to \system\app\SystemUI.apk\res\drawable-ldpi\
3. View the PNG files you wanted to change and make sure to remember its' file name.
4. After editing/changing the file/image you wanted, you can save it anywhere from your PC, let's say on your Desktop.
- Make sure that the file name still remains as is..
*After you're done editing, updating the PNG files you wish to change, follow this steps to update the zip file :
NOTE : You can apply transparency by editing the PNG file to photoshop by reducing the opacity of the image
1. Go to the original ZIP file of ROM.Zip from your PC
2. Right Click the folder and select 7 ZIP -->> open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res\drawable-ldpi\ and it will open a new window of 7zip showing the files inside the zip.
5. Now, given your edited PNG files or downloaded png files (assuming that files are located in your desktop). - Click and simply DRAG the file(s) from your desktop to \system\app\SystemUI.apk\res\drawable-ldpi\ .
6. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
7. Make sure that the file name of the one you edited/downloaded are THE SAME. -
8. After dragging and replacing the files you wanted, then you're good to go!
9. Close the 7zip window and that's it!.
You can now install the .zip by copying the UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not the backed up one)
Install the zip file from the original thread's instructions and reboot twice.
After that, you have now a customized systemUI.apk.
For those who do not want to reinstall the whole package.. follow these steps:
1. I assumed that you have the zip file of your ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->> extract here - just to view the files you wanted to change.
Just go the folder and search for the PNG files.
4. Right Click SystemUi.apk and select 7 ZIP -->> open archive.
5. Go to \res\drawable-ldpi\
6. Click and simply DRAG the PNG file(s) from your desktop to \res\drawable-ldpi\
7. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
8. Make sure that the file name of the one you edited/downloaded are THE SAME. -
9. After dragging and replacing the files you wanted, then you're good to go!
APPLYING :
1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes for the exixsting systemui is currently being used by your phone. - just ignore it a lot and scroll down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select permissions:
from the pop up, make the checked one like this :
•___•____ •
•___ .____.
•___ .____.
where Dots are the checked one - B
How to make a cwm flashable file of a system ui
Sent from my GT-S5282 using XDA Free mobile app
You can use zipme app
Great

Categories

Resources