[Q] How can I rename a sensor's BlueStacks name? - Android Q&A, Help & Troubleshooting

I want to change a Sensor's BlueStacks name, more specifically, I want to Rename it.
Is it possible to change it's name, and if so how can I do it?
Because I can change the value "Android.os.Build.Product" by renaming "ro.product.name" in the file "build.prop" in "system" folder. So is there any similar ways to rename the sensor?

I'm going to assume you mean the Bluetooth connection name.
# Bluetooth name
net.bt.name=xxxxxxx
Sent from my Nexus 7

Related

[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

[Q] System Font

Okay, maybe I'm retarded, I've dug through the suspected files and searched all over the internet.
Where does android specify the system fonts?
I would prefer to change it the right way, rather than just renaming files.
Is that possible?
Thanks
D
Weird no-one has replied to this.
In the android source code, navigate to this directory:
android/system/frameworks/base/data/fonts
Once there, copy paste any fonts into the folder (I usually just rename it to DroidSans.ttf and DroidSans-Bold.ttf so that the system picks it up without much configuration),
If you aren't going to rename or you want to add extra fonts, this needs to be specified in the Android.mk file in the same directory so it gets added and utilized by the system correctly.
Hope I helped and Happy ROM-ing
What about leaving the font name as it is? The system won't recognize it as a font even with the ttf type?
Sent from my HTC Desire HD using XDA App

[Q] Modifying .apk

Hello guys. There's this problem that I have with TTR4 for Android, and that problem probably can be solved by modyfing one string in the app's config file (located in /System/App directory), but since it's inside the application file and I can only take a look at it using the Root Explorer - I can't make any changes to that file.
So, my question is: how can I unpack/decompile (dunno which variant is the correct one), change the string in that config file, and pack/compile the .apk back to its state? What tools do I need to do that?

[Q] Ringtones: Renaming for specific contacts

I know how to associate ringtones with contacts.
I want to rename ringtones with the name of the contact so they are easier to find by file name.after flashing a ROM
The problem is that changing the file name doesn't always change the name of the ringtone. Or editing the title in the text file breaks the ringtone so it won't play.
For example:
"Orion" ring tone file can be renamed "Friend1", and will show up in file managers as Friend1. But under Sound/Select Ringtones, it will still show up as Orion. Opening the file in Text Editor and changing the title will break the ringtone.
Solution?
Are you renaming the file name through the phone or on a pc? Might make a difference. Not sure though.
Nefariouss said:
Are you renaming the file name through the phone or on a pc? Might make a difference. Not sure though.
Click to expand...
Click to collapse
I probably renamed them on a PC, then transferred the folder to the phone sdcard. My plan is to then replace the systen/media/audio/ringtones folder with one that avoids the ringtones I don't like, and only includes options I like.
That works, but doesn't allow my new names to show up under ringtone selection lists. The old name then appears, twice if I also keep the old file with the original ringtone name.
In a text editor, I can change the "title" inside the text of the file, but that breaks the ringtone.
2 Ringtones are exceptions, and don't include 'titles" in the text file. They don't revert, but show up as I have renamed them.
Robtao said:
I probably renamed them on a PC, then transferred the folder to the phone sdcard. My plan is to then replace the systen/media/audio/ringtones folder with one that avoids the ringtones I don't like, and only includes options I like.
That works, but doesn't allow my new names to show up under ringtone selection lists. The old name then appears, twice if I also keep the old file with the original ringtone name.
In a text editor, I can change the "title" inside the text of the file, but that breaks the ringtone.
2 Ringtones are exceptions, and don't include 'titles" in the text file. They don't revert, but show up as I have renamed them.
Click to expand...
Click to collapse
On a computer in a media player, you should be able to "edit tag info" or something similar. that is where you add in the track name, artist, album info and all of a MP3.
**EDIT**
Easier way, on a Windows machine you can just right click the file and select properties, then the details tab, change it there.
If the files are edited properly, they will work, and show up properly. The "text edit" method just broke the files so they wouldn't play. But an MP3 tag editor which can also handle .ogg files will allow the title to be changed and whatever else is needed in there to make it work.
So the solution for me is:
1. Copy the ringtone you want.
2. Rename the file with a R/W capable root explorer, or do it on a PC.
3. Retag with a tag editor to change the Title in the tag if needed, so it shows up properly in the Ringtone selection screens
4. Place the file in the right place with a root explorer, in the case of a Verizon Note 2, the system place is system/media/audio/ringtones
5. I also rename the original ringtones folder, and replace it with one that has all of the ringtones I want, without the ones I don't.

How to change folder of a system app...

I made some stupid things to my smartphone and now I am close of solving them...
My question is...Does anybody know how I can change the name of a folder from /system/priv-app/ so my device still considers the app as installed?
The app that I'm talking about is Google Services Framework and my device says it's installed but he says the app takes 8,00KB instead of 3,28MB(the size of the apk as told by Apps2SD)
Also Apps2SD seems to identify where is the app located after the folder name change but my system doesn't...
I change the file's name from "com.google.android.gsf-1" to "GoogleServicesFramework" so that the .odex file can work...
So anybody knows how should I set the permissions and owners of the folders and files so that the system finds where the .apk and .odex are located?

Categories

Resources