yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] giuliomvr:
xRenamer

rename your apps universally​

This Xposed module allows you to rename your apps as you want. Some launchers have a feature that allows you to change the label of the apps on the launcher. For me this isn't satisfying enough, as the name actually stays the same and if you get an "choose an action" dialog the real name jumps out. The problem is easy, there is no way to. After noticing this module, which is created to rename QuickPic, I got the idea to create an app that allows you to rename any app(almost, see below). I developed the code further(my first android app ^^) to be able to change all the names at runtime and here it is: xRenamer.

Screenshots:

View attachment 2707229View attachment 2707230View attachment 2707228View attachment 2707227View attachment 2707226

Requirements:

The Xposed Framework

Min sdk version of 11, which should be no problem

Installation:

Install the app.

Activate the module in the xposed settings.

Reboot.

Rename!

Permissions:

KILL_BACKGROUND_PROCESSES to restart the launcher

WRITE_EXTERNAL_STORAGE to save the settings

Limits:

At the moment, xRenamer is not able to rename:

System apps

Some rare apps(e.g the amazon app)

I am looking for a way to be able to rename these as well.

As long as this isn't the case, there are color tags in the app list dialog.

Green indicates that the app is an user application

Red indicates that the app is an system application

Yellow indicates that the app is neither in /data, nor in /system stored. Most of the time the app is an user application stored in /mnt/asec

Usage:

To rename an app tap the add button and either enter the package name of the app you want to rename by yourself or press the list button and choose an app from the list of installed apps. When an app has been identified, the icon will show up and a text is shown. Keep in mind that the add button won't be activated until the app has been identified. The add button also doesn't show up if you havn't entered a new name or if an entry for the app already exists.

To remove an entry tap the remove button. The actionbar will turn red and you are now able to delete an entry by simply tapping

it. Tab the button again to exit the remove mode.

To change an entry simply tab it and a dialog will pop up where you can change the name.

Although changes are applied during runtime, you may need to restart various apps for them to realize the change. For this purpose there is a button to restart the launcher hidden in the overflow menu.

Download:

Xposed Repo: Link

From xda: View attachment 2707231

I tested the app on my Note 3, running 4.4.2 and it's running fast and stable.

If you find any bugs, want to give your opinion or have an idea, feel free to do so.

Thanks to:

pyler for the idea and the basic code

rovo89 for the xposed framework
[Xposed Framework Modules] RSDamasceno:
Hey! Thanks for this man!

Work for most apps.

Doesn't work for: Dolphin Browser, .Sprit2 (FM radio) & Google Camera (in data, non in system).

Edit:

Working
[Xposed Framework Modules] Jesellers88:
I have been in need of this functionality for so long. Thank you! Did not work on DialApp and Today Calendar, but that is it.

Would it be possible to add the ability to change app icons too? With Apex launcher, I can change them on the home screen, but I can't do anything if it is in the drawer and a theme I'm using doesn't cover some of my more obscure apps. That would be the icing on the cake.

Sent from my Nexus 5
[Xposed Framework Modules] RSDamasceno:
Would be amazing!
[Xposed Framework Modules] giuliomvr:
Thats actually a really nice suggestion. I will look over it today. It would also be a nice Addition to unicon which doesnt allow single items to change.

Gesendet von meinem SM-N9005 mit Tapatalk
[Xposed Framework Modules] Jesellers88:
It's one of those things that always bug me about apps with horrible icons. I've deleted apps before because I couldn't stand look at them in my drawer. Even better would be to link it directly to installed icon packs and incorporate an icon picker.

I wish I could do this myself, but I'm glad you find the idea interesting.

EDIT: the more I think about it, the more I want to give it a try myself. I have yet to make an app, and I think this would be a great thing to start with.

Sent from my Nexus 5
[Xposed Framework Modules] letmedanz:
This looks awesome. Thank you
[Xposed Framework Modules] drsood:
Dint work for me for Quickpic :( I tried it with Lightning Launcher
[Xposed Framework Modules] sbk299:
I get this message every time I open the app. Please help! :(
[Xposed Framework Modules] defim:
[MENTION=5267689]GalaxyInABox[/MENTION]: Great idea!

I've a feature request: Please add an option to change the app-icon, so everybody could use custom icons (some complained about my "ugly icons :p)

Why does you store the settings on the sd card? /data/data/<packagename>/files sould also be okay.

If it does not work for some apps, it could be because of the wrong/multiple android.intent.action.MAIN/android.intent.category.LAUNCHER activities in the Manifest.xml.

The yellow package names are not good to read on white background, i recommend blue :D
[Xposed Framework Modules] giuliomvr:
This happens if the app isn't able to write to your internal sdcard. What device are you using? It could be the case that your device or rom doesnt link /emulated/0 correctly.

I already have some idea how to do the icon replacer.

And writing to the sdcard will be removed in the next patch. I found a better way to do!
[Xposed Framework Modules] sbk299:
I'm using Galaxy S2 (I9100) running Cyanogenmod 4.3.1. I think it isn't working because my internal sdcard is not at the location /storage but at /storage/sdcard0 or directly /sdcard. Is there any way to resolve the issue?:rolleyes:
[Xposed Framework Modules] giuliomvr:
I have written a kind of hotfix which discards the use of the sdcard. The drawback is that it requires a reboot after changing the settings(like adding or deleting an entry). I try to find the issue, but if I don't find it quickly, I will upload the hotfixed version as a beta branch.
[Xposed Framework Modules] sbk299:
Alright. Thanks a tonne! :D Been waitin' for this app a long time. A little longer I guess.. But atleast I know it's coming :victory: Thanks again!
[Xposed Framework Modules] giuliomvr:
I uploaded the hotfix version, which should only be used if you get the error toast.
[Xposed Framework Modules] frankee207:
[MENTION=5267689]GalaxyInABox[/MENTION]

Hey, thank you, it's exactly what I needed. I'm going test your app.
[Xposed Framework Modules] body150165:
As far as I experience, most Xposed modules require reboot after I apply changes. So, where is the problem?
[Xposed Framework Modules] giuliomvr:
1.0 doesn't require it so I wanted to mention it.
[Xposed Framework Modules] geo307cc:
Problem

Nothing happens at my device!II changed the names,I also rebooted but still no different name! :silly: With the initial release,it showed me the error toast,now with the updated version it doesn't show the message but still not working!
[Xposed Framework Modules] sharkie405:
Love the idea, but it's not working on my Verizon Samsung Galaxy S4. When I press "Restart Launcher", the launcher restarts and then a couple seconds later xRenamer force closes and no changes are applied.

So far, I've tried it on S Educate, Tetris, and aLogcat. All of which are user apps and not stored on SD card.

- Sent from my Galaxy S4 using Tapatalk.
[Xposed Framework Modules] sbk299:
The names of some apps do change... But many apps that show up in green don't... Sorry for my previous post... I was only checking for a couple of apps that I wanted to rename:rolleyes:
[Xposed Framework Modules] giuliomvr:
All of these are really strange issues. Thank god i'm on vacation.
[Xposed Framework Modules] gridironbear:
You're the greatest ever homie. Thanks!

---------- Post added at 10:55 AM ---------- Previous post was at 10:24 AM ----------

Update: seems as though it may not be working with 'paid' apps. As I've tried changing 'Today' Calendar which is a paid app. As well a Transit Tracking app that I purchased.
[Xposed Framework Modules] frankee207:
I tested your app. First I got the same issue that sbk299 so I updated it via xposed installer... and all is fine now.

Your app works great on my wiko cink peax. Need to reboot the phone to see the new name of the apps.

Good job! Perfect app!
[Xposed Framework Modules] RBDoMGaM:
Working good!

But can you add a scrollview (or limit icon size) here? Icon of a various apps is much big and this impossibility to change the name.

Sorry for my bad english
[Xposed Framework Modules] giuliomvr:
Thank you, and nice to hear that it works for you!

Well, this was a thing i didn't think about when developing. I will publish a solution tommorrow.

And to the guys who suggested an icon change feature: i found a pretty nifty way to change most of them, I will try to develop it further.
[Xposed Framework Modules] Kocane:
Seems to work fine here. Been missing this functionality! But even more, a function to change app icons without digging into the APKs. If you could make this a reality I would be extremely grateful.

Keep up the good work.
[Xposed Framework Modules] bmg1001:
Great module! I hope one day System App rename support is added so I can finally ditch Nova.
[Xposed Framework Modules] letmedanz:
Just confirming to be working on the Nexus 5

did not work on the first 2 attempts for some reason, but then it did :)
[Xposed Framework Modules] sharkie405:
So, apparently it is working. I did reboot after I changed them the first time, but nothing happened. Maybe you have to reboot twice or something, I dunno. Then this morning, I noticed that two of the names did change. Tetris and Messenger didn't change though, not sure what's up with that. Anyway, thanks for the great module.

- Sent from my Galaxy S4 using Tapatalk.
[Xposed Framework Modules] giuliomvr:
Quick update regarding the re-icon feature. this is what it looks like atm:

View attachment 2709832

The issue is that most apps call their icon "ic_launcher", which is hooked fine, but some call it differently: root explorer calls its icon "re_icon" and facebook "icon_katana", thus i need to treat them differently(with something like a exception list). I will try to finish this today, but then still i would need to be able to hook your own item from cache.

School starts at monday, so this weekend I will try to code as much as possible. lol
[Xposed Framework Modules] defim:
That's great! The icon of BootManager is named bootmanager, but you should find that in Manifest.xml
[Xposed Framework Modules] giuliomvr:
Unfortuantly no. As far as I can tell, whenever I am opening the Manifest of apks I am getting something like "@id/0xSOMETHING", I know it's meant to be hex but I don't know how do "transform" it. I will try to get the icon name through PackageInfo, through. At the moment I have problems reading the (X)SharedPrefs in the module, that prevent me from digging further into this.
[Xposed Framework Modules] agayabag:
Mr. Dev, your app is amazing. But, it doesn't work on apps that has root permission. Please take a look on this problem.

Thank you.
[Xposed Framework Modules] giuliomvr:
Hey guys,

I just wanted to share the the newest development step: xSuite, it's able to rename any user app as long as you give it the right identifier, and it's also able to give every user app a new icon as long as it has the right icon id to change!

I will show you how to use it atm: take a look at the attached screenshot.

View attachment 2712422

when you activate the rename switch you can enter a new name(like xrenamer), if the application you want to rename got renamed with xRenamer as well, you have to leave the TextBox below(the one saying "app_name") with it's text. If the app can't be renamed, you have to get the id of the android:label, the only way I know to do this, is by decompiling the apk(not just extracting) and look in the Android manifest for the following line:

android:label="@string/THETHINGYOUHAVETOENTER"

, if it says something in this style

android:label="0xBLABLABLA"

it has not been decompiled.

Now how to give an app a new icon:

create a folder called "xsuite_icons" on you internal sdcard(the one normally called /sdcard/ or /storage/emulated/0) and put the icon there, while the name is the package name. An example, if I want to change the icon of the Apollo music player, I have to get the package name first. Apollo's package name is "com.andrew.apollo", now I call the icon file: "com.andrew.apollo.png", jp(e)g should work as well but I only tried it with pngs. Now you can go back to the app specific settings(you can also reach them by tapping the name of the app in the app info screen(where you can wipe cache etc) Great thanks to MohammadAG for giving me his code which allows me to do this(when the app is done, i will make a new thread and a better thank list^^) and look at the right, if you can see the icon there you just put into the folder, it has been recognized(youc can see the icon on the screenshot as well, but really small).After that, you canactivate the change icon switch.and (soft) restart to see if it worked. If it didn't, you have to get the icon id from the manifest(do it like above but search for

android:icon="@drawable/THETHINGYOUHAVETOENTER"

. You can also find the icon by opening the apk with root explorer or at you computer(no need to decompile) and go to the /res folder, there are folders called /drawable you have to go through all of them and find the icon. If the icon is called "re_icon.png", enter "re_icon" as icon name in my app. This way you dont have to decompile, but you have to look through all drawable folders.

If you want to test it, simply download, try it out and tell me if you find any bugs. If you have suggestions, tell me! And if you are a developer and have an idea how to find out the label or icon id without decompiling, go ahead and tell me! :)
[Xposed Framework Modules] sulpher:
So I decompiled a couple of the apps that refused to rename and found that the android:label="@string/THETHINGYOUHAVETOENTER" part was android:label="@string/app_name just like in the app... so what am I missing?
[Xposed Framework Modules] giuliomvr:
Can you tell me about which app you are talking? This is the only way I can take a closer look into that.
[Xposed Framework Modules] bartidirsun:
very work in my phone , thankyou:laugh:
[Xposed Framework Modules] sulpher:
https://play.google.com/store/apps/details?id=com.digipom.easyvoicerecorder.pro
[Xposed Framework Modules] giuliomvr:
For me, it doesnt work either, so its a problem with the way renaming is done. At the moment I have no idea what the problem is(and also not the time to find out). I am going to put the source of xSuite on github or something like this. So if another developer is interested in enhancing the Hook, he can work with me:
[Xposed Framework Modules] SyCoREAPER:
Any chance that you could get this to rename the package name? Not sure how difficult that would be.

Purpose: Install two of the same app side-by-side.
[Xposed Framework Modules] giuliomvr:
Thats a really good idea, but i doubt it will ever work. The code checks what app it is with its package Name, and if you have two and rename one package, the second one would be renamed as well And the module would trick it self.

Gesendet von meinem SM-N9005 mit Tapatalk
[Xposed Framework Modules] mattdm:
Has anyone been able to successfully rename Hangouts? It won't work for me. I'm on SlimKat Build 4.8.
[Xposed Framework Modules] giuliomvr:
For me it doesn't work either. It is some kind of restriction I don't fully understand. Maybe there will be method to hook PackageManager calls directly, which would be great, but would require some research I don't have much time for. There WILL be a way to rename or re-icon these as well, but at the moment I am short of time. Sorry.
[Xposed Framework Modules] mattdm:
No worries dude! This module is still awesome. It's not a huge deal; I just wanted to make sure it wasn't a problem isolated to my phone. ;)
[Xposed Framework Modules] giuliomvr:
Okay, haha. Thank you!

btw, it is basically this method(From PackageInfoItem.class):

public CharSequence loadLabel(PackageManager pm) {
if (nonLocalizedLabel != null) {
return nonLocalizedLabel;
}
if (labelRes != 0) {
CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo());
if (label != null) {
return label.toString().trim();
}
}
if (name != null) {
return name;
}
return packageName;
}

I think that the problem is, that for some apps nonLocalizedLabel is not null, which return nonLocalizedLabel directly and doesn't allow the app to change the name. I will try to find something to hook the method and return my own name.

Forget it, I got it
[Xposed Framework Modules] Celestial Fury:
Will there be any problems when it comes to updating the applications as the names of the applications have been changed?
[Xposed Framework Modules] giuliomvr:
No, definitely not as android identifies apps by their package names, not the label. That's why you can install/rename two apps with the same name. But can't install two with the same package name.
[Xposed Framework Modules] Celestial Fury:
I've renamed, hit the restart launcher and even restarted the phone but the name hasn't changed. I tried to change three different app names. I'm using Smart Launcher, Xperia z1 4.3 rooted.
[Xposed Framework Modules] giuliomvr:
Unfortuantely it has its limitations, but I have a new app(code finished) which is able to rename ANYTHING. i will release it when i find a way to change any icon in the launcher(i can change any icon when its loaded in settings, in the app itself, in lists. But not in the launcher)

Gesendet von meinem SM-N9005 mit Tapatalk
[Xposed Framework Modules] gridironbear:
Can't wait. Will be anxiously waiting for it.
[Xposed Framework Modules] Sas0ri:
[MENTION=5267689]GalaxyInABox[/MENTION] there is a beta version of unicon that can change single icons.. Maybe you can get in contact with the developer

Gesendet von meinem R819 - Wer Fehler findet, darf sie behalten!
[Xposed Framework Modules] giuliomvr:
I'd like to do, but the developer abandond his project on xda afas and I dont know if he wants to help because he makes his money with his mod(which i have not problem with)

Gesendet von meinem SM-N9005 mit Tapatalk
[Xposed Framework Modules] mattdm:
Awesome progress! Any chance you'd release the updated xRenamer while you're working on the icon changing part of it?
[Xposed Framework Modules] giuliomvr:
I am going to release it today(was going to write tomorrow but its midnight now :D). Finished the logger today, which was i thing i urgently wanted to add. i talked with the creator of resOverload and the next step will be adapting his module and me writing an interface for it.

Gesendet von meinem SM-N9005 mit Tapatalk
[Xposed Framework Modules] mattdm:
Awesome, you rock!
[Xposed Framework Modules] giuliomvr:
Thank you very much! I am now cleaning up code and In the "worst case", I will release the app after the europa league finals this evening.

Here it is! Click
[Xposed Framework Modules] Moore74:
Has anyone been able to successfully rename Settings? Thanks :confused:
[Xposed Framework Modules] giuliomvr:
Use xSuite instead

Gesendet von meinem SM-N9005 mit Tapatalk
[Xposed Framework Modules] Moore74:
Thank you.

I've used xSuite. The app name is changed, but not in the drawer. :rolleyes:

Solutions?
[Xposed Framework Modules] mirsaeed.namdar:
Hi, is it possible to install the application which name is changed by this module(xrename),twice at the same time. For example is it possible to rename tapatalk application and install original tapatalk again, together with renamed app?
[Xposed Framework Modules] RSDamasceno:
No.

----

i9300

CM11

Android 4.4.4

Boeffla Kernel

PA-GApps
[Xposed Framework Modules] Zeuszoos:
Galaxy (SGH-M819N) Mega, Rooted, JB 4.2.2 - Tried it on 4 apps, followed step by step with 4 apps. None of them were renamed. Does it not work on the Mega? It's the Factory ROM.
[Xposed Framework Modules] RSDamasceno:
Try xSuite or Resflux. Use search.

----

i9300

CM11

Android 4.4.4

Boeffla Kernel

PA-GApps
[Xposed Framework Modules] Zeuszoos:
Okay, thank you.
[Xposed Framework Modules] body150165:
I installed xrenamer first on my stock-ROM of my Samsung S4 i9500 and wondered why I wasn't able to rename more than 2or 3 apps. Even they were all user apps, it was just not possible.

Then I changed to Omega ROM, but it was the same.

Not I am on CM11 and still, I can only rename a fraction of apps. 2 at the moment.

I wonder why I can rename certain user apps and others not, even they are all marked green in xrenamer.
[Xposed Framework Modules] methuselah:
Not working on Motog 4.4.4 official ROM.
[Xposed Framework Modules] :
Try with xSuite, this one is discontinued.
[Xposed Framework Modules] methuselah:
This ain't working too

this is not working either
[Xposed Framework Modules] :
Please go to appropriate thread then explain a bit more your problem (with your setup: rom, version android & launcher) and attach a log, you can find it on storage/sdcard0/Android/data/de.rov.android.xposed.installer/files.
[Xposed Framework Modules] methuselah:
oops sorry i forget...

well i will post into the respective threat. but this i quoted just to inform you that this is not working either..
[Xposed Framework Modules] SnyderGuy:
Not Compatible With SmartLauncher2 Pro

For some reason, the app name won't change in the launcher for smart launcher 2 pro. I can tell it is working because on every other system place it works but the smart launcher 2 pro doesn't work.
[Xposed Framework Modules] Arcadejinx:
Is it also possible to change single icons?

Tapatalk | Samsung Galaxy S4
[Xposed Framework Modules] Greenarcher707:
Does not seem to work on Lollipop Touchwiz
[Xposed Framework Modules] Greenarcher707:
Any plans on updating it for lollipop? Doesn't seem to work at all.
[Xposed Framework Modules] Vagelis1608:
I think I found a bug.

It appears that the module only works for some apps.

Xposed Log: https://drive.google.com/file/d/0B0-xJ2GN_lJlMXd6REgxWWNwYk0/view?usp=docslist_api

LG G2 Mini (D620r) running stock 4.4.2 ROM.
[Xposed Framework Modules] calcel80:
Excellent work! But it seems not support apps with chinese name on my oneplus2 device. Can you fix the problem?
[Xposed Framework Modules] arun483:
Update for lollipop users please, it's not working
[Xposed Framework Modules] :
Don't expect an update, this project is stopped. Install Flipster instead!
[Xposed Framework Modules] GirishSharma:
Is it possible to display the complete name of an app (including system app) in application drawer, i.e in application I am seeing Google Now L.., it should me Google Now and in second line Launcher? Incomplete name of app seems ugly and/or confusing too.
[Xposed Framework Modules] steelew:
In Nova launcher, you can choose single or multiple lines to display. That could be a solution... if you use Nova.
[Xposed Framework Modules] aashishvanand:
Doesnt seem to work in CM12.1

I have N7000 with NightOwl cm12.1 Android 5.1.1 20160413 build custom kernel. it doesn't seem to work whereas other Xposed modules work.
[Xposed Framework Modules] naser_cbe:
Not able to rename "Parallel Space" app

Not able to rename "Parallel Space" app
[Xposed Framework Modules] drgkt:
Hi

I get the following error:

java.io.FileNotFoundException: /storage/emulated/0/replace.map: open failed: ENOENT (No such file or directory)

xposed v2.6.1, module v1.0

gt-n7100 on android 4.1.2
[Xposed Framework Modules] phanduc.bvqtd:
App functionality is great, but it no longer works on android 12. Can someone upgrade it?
[Verizon Galaxy Note 3 General] w4itg:
So I watched the video about how to flash the new KK. I have to say I'm not impressed with the initial look. It doesn't look like it changed anything on the phone. I don't know why everyone was complaining about Verizon being so slow to update. It doesn't look like you gain anything but bragging rights that it now has KK on it. I could be wrong though. Not impressed at all.