• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Renaming Apps

That won't change the name as it appears in your app drawer

I think you need to edit the manifest to change the displayed name
 
I liked ctmods 3.75 camera icon, so I replaced stock camera app with ctmod 3.75 camera on my moms rooted prevail. I then tried to do the same on my phone but with CAMERA ICS by moblyx, but I want to activate the camera by using the button on the side of the phone, the phone doesn't recognize camera ics as my new stock camera because its official name is camera ics not camera, so I want to rename camera ics so that it works with the button.
 
I'm pretty sure the camera button only works with the stock camera app. I don't think changing the name would work


Also, what does that have to do with 'building a rom'? (which you stated is your original purpose)


In the case that I'm wrong, and renaming it would work, you would need to decomplie it with apktool (or something similar) and edit androidmanifest.xml

There are plenty of guides on how to do this (just Google it)
 
oh i thought he meant just to be easier to work with.


The app name is a string, not in the manifest. But pretty sure you're right, i doubt changing the string is gonna let it open.
 
You could rename the file in question to "camera.apk" (without quotes), connect your phone via usb, and type:
[HIGH]adb push camera.apk /system/app[/HIGH]

Note that this would replace the stock camera app for whatever ROM you're running
 
You could rename the file in question to "camera.apk" (without quotes), connect your phone via usb, and type:
[HIGH]adb push camera.apk /system/app[/HIGH]

Note that this would replace the stock camera app for whatever ROM you're running

But is that name what it searches for when using the hardware button? Or is it the 'displayed name'?
 
I'm wondering if it needs to match the system signature to launch from a hardware button.

Which would be a whole other ball of worms.
 
I think that the system will only look for a "camera" app, an app whose name is camera.

I think you mean, the camera button statically launches any app registered as intent: 'com.android.camera' rather than whatever app is set as default to service camera events

it was found easier to just set the camera app project name to com.android.camera and compile it like that.

Modifying an app post compile to do the same is a bit touchier
 
Back
Top Bottom