Change Device Model in Android Emulator - android.os.Build.MODEL - Android Q&A, Help & Troubleshooting

Is there a way to change/add the device model in Android emulator?
If I try to get device model programatically, it always return "android-sdk" or "sdk" in emulator.
I want to set the real device name in emulator for testing purpose.

You can download ROM toolbox and it'll allow to change almost everything
Sent from my Nexus 7 using xda premium

Where to download ROM toolbox?
jkuczy16 said:
You can download ROM toolbox and it'll allow to change almost everything
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thanks for the quick reply.
Can you pls tell where to download this ROM toolbox? and does it support all the SDKs?

bbsbec.2001 said:
Thanks for the quick reply.
Can you pls tell where to download this ROM toolbox? and does it support all the SDKs?
Click to expand...
Click to collapse
Search in Google play for ROM Toolbox Lite. This version is free and support the build.prop edit you want.
Caution: Prior applying any changes please make a backup of your current build.prop file

I believe you can just also navigate to the system folder and find it there. Use es file explorer and under settings check up to root, root explorer, and mount system.
Sent from my SGH-T999 using xda app-developers app

how change it?

Related

File manager

Hi.
Im looking for an app that can move .apk files to the folder system/app
NOT ROOT EXPLORER or any other apps which I have to pay for because i don't have a credit card!..
I've tried file expert & astro!...I've waisted hours already trying to move the files so if its possible to do it with a free app could you guys please let me know!..
I had to setup an account on here to hopefully find out.
PLEASE!!!
Use rom toolbox ..... got file explorer
Sent from my GT-S5830 using xda premium
You can use Room Tool Box... It has a root explorer... It's available in the market!
Es file explorer.
Sent from my GT-S5830 using xda premium
Here is what u need. It's called Root Browser, it has Same function as Root Explorer but author provides free now:
http://forum.xda-developers.com/showthread.php?t=1338582&highlight=Root+Browser
Click to expand...
Click to collapse
Ta!
Used rom toolbox and it work first time!
Didn't even try the rest but i'm sure they would have worked too
devilsking said:
Here is what u need. It's called Root Browser, it has Same function as Root Explorer but author provides free now:
Click to expand...
Click to collapse
you should use it in your work instead of the one you use now. he is fine with it being in a rom as long as you give credit. i think its nicer to use too.
Sent from a phone with an app.

[How To] Enable Custom Boot Animation (1.4.0 +1.4.1)

Here is a simple fix to enable custom bootanimation
Steps:
1. flash the attached zip using CWM
2. copy your favorite bootanimation.zip to /system/media folder and set permission to 644 (all read, top write)
3. reboot
Notes:
1. Make sure you use the correct zip or you'll end up in bootloop
2. 1.4.1 fix requires change to the kernel (boot.img), so please do a CWM backup first and do it at your own risk
cm7
I have succesfully changed boot animation in CM7 alpha with rom toolkit from Google Market. There are over 50 animations to choose from. Maybe you can figure out a script to add these to stock rom or will they flash over wifhout bootloop?
C64assembly said:
I have succesfully changed boot animation in CM7 alpha with rom toolkit from Google Market. There are over 50 animations to choose from. Maybe you can figure out a script to add these to stock rom or will they flash over wifhout bootloop?
Click to expand...
Click to collapse
Can't find this app in market. Can you post it here so l can test?
Sent from my BNTV250 using Tapatalk
cobrato said:
Can't find this app in market. Can you post it here so l can test?
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
Here's the rom manager app
This does require superuser right via root to work
download.clockworkmod.com/recoveries/RomManager.apk
Sent from my BNTV250 using xda premium
shadowrealm25 said:
Here's the rom manager app
This does require superuser right via root to work
download.clockworkmod.com/recoveries/RomManager.apk
Sent from my BNTV250 using xda premium
Click to expand...
Click to collapse
Thanks but this Rom Manager I can find from market.
I'm referring to the Rom Toolkit that c64 mentioned which has 50 bootanimations. That I can't find.
cobrato said:
Thanks but this Rom Manager I can find from market.
I'm referring to the Rom Toolkit that c64 mentioned which has 50 bootanimations. That I can't find.
Click to expand...
Click to collapse
Oh that called rom toolbox
market.android.com/details?id=com.jrummy.liberty.toolbox
Sent from my BNTV250 using xda premium

[Q] Superuser app need it after root . . . .?

I already Root my Samsung Galaxy note i717 at&t, do i need to install the Superuser app or not ?, what is the purpose of superuser aplication install ?
Yes u need it u can dl it from market if ur already rooted! ! Post back and let me know if you got it
Sent from my SAMSUNG-SGH-I717 using xda premium
armyboy11b said:
Yes u need it u can dl it from market if ur already rooted! ! Post back and let me know if you got it
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
I already install the superuser app, do i need to configure something else ?
Superuser will prompt you when it's needs root access for something (i.e. using a application requiring root) and you will have the option to allow or deny this access. You shouldn't need to configure the application itself unless you just want to change some basic settings. Hope it helps!
Sent from my AT&T SAMSUNG Galaxy Note using XDA Premium HD app
alex5213 said:
I already install the superuser app, do i need to configure something else ?
Click to expand...
Click to collapse
Give Titanium Backup a try. It needs root and can backup your apps+data. A must have tool.
4.468 euventri
is superuser to root

Android Kitchen

hey guys, i'm newbie in making a rom.... so i had installed everything including the Android Kitchen and Cygwin... I type the cygwin terminal :
- cd kitchen
- ./menu
everything went well... i pressed number 1 which is make a working rom.... the terminal detects my Xperia sola .54_ftf.zip... i click that and they said extracting rom from zip file, then suddenly they say error: no system folder found... Help me please, anyone?? i promise i'll click your thanks button if anyone gets to help me.... :good:
This is the terminal :
Welcome to dsixda's Android Kitchen
Please wait ...........
============================================================
Android Kitchen 0.221 - by dsixda (xda-developers.com)
============================================================
> MAIN MENU
1 - Set up working folder from ROM
2 - Add root permissions
3 - Add BusyBox
4 - Disable boot screen sounds
5 - Zipalign all *.apk files to optimize RAM usage
6 - Change wipe status of ROM
7 - Change name of ROM
8 - Show working folder information
0 - ADVANCED OPTIONS
00 - LEGACY OPTIONS (old and rarely used)
99 - Build ROM from working folder
u - Kitchen Info/Update/Donate
x - Exit
Enter option: 1
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
?
Before you proceed:
The existing working folders under the main folder can be backed up
to the folder 'original_update' for later use; otherwise they will be
deleted.
Found the following:
WORKING_xperia
Move to original_update? (default: y): n
Removing ...
Please wait ...
Available ROMs:
(1) Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
(2) Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
Enter selection number (default=1, cancel=0, r=refresh): 1
Selected Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
The new working folder will be named WORKING_030613_184247
Change the name (y/n)? (default: n): y
Enter a new name (using this prefix): WORKING_xperia
Creating working folder WORKING_xperia ...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Sherwinnn said:
...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Click to expand...
Click to collapse
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Do some search buddy...... you will gain more if you search yourself......
Nyways heres the LINK which may be of great help.........
This was my first guide for development......
What you can do is flash stock rom and get cwm to it
Then go to backup in cwm and create firmware.zip
It will do all the stuff for u and just place this file in the input folder!
So can I create gaming ROM by using this Android Kitchen??
Sent from my Galaxy Nexus using xda app-developers app
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Min3r said:
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Click to expand...
Click to collapse
Someone is back
Nothing is like a real gaming rom unless u overclock gpu and give it more ram
Term we(not me) use as gaming Rom is that we keep more ram free and high minfree values so that good amount of ram is available for the game
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Yup Take a look at some of the roms released here to get an idea of the tweaks normally used
Sherwinnn said:
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
you will have to tweak so as to reduce lag and also get more free RAM which can be used to play games.........
Take a look at OOM Groupings, Dalvik Cache and also tweaking the CFS ( Thunderbolt Script would be an ideal base to start with ) These give the most noticeable improvements
The most famous tweaks is thunderbolt right?? Do I have to do manually or what?? Step by step instruction to do a custom ROM please..... if not then nevermind!!!
Sent from my Galaxy Nexus using xda app-developers app
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Min3r said:
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Click to expand...
Click to collapse
You are smart, that's why you understand the thunderbolt codes....
Sent from my Galaxy Nexus using xda app-developers app
Its not very hard mate Just go through a few simpler scripts first and then you'll quickly understand it too I started understanding what these scripts do a week into my development start, but it wasnt till later i realised its just basic Shell scripts Learn Shell Scripting for linux and you'll be able to understand these commands easily
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Meta.INF contains just the updater script which is run when you select the .zip file in CWM.......
any more knowledge would be more helpful......... :cheers:

[Q] Edit build.prop file

Hello people,
I have a rooted phone and i'm trying to edit build.prop file. The problem is that whenever i try to do this the file reverts back after minutes to a backuped version the phone is handling. I tried everything: App to edit the file, switch to r/w under esexplorer, rename the file. The modifications are accepted at first, but only for minutes.
Does anyone know how to deal with this? Thank you for all your contributions.
Use Rom Toolbox app
Sent from my LG-P880 using xda premium
akshay.mehta9 said:
Use Rom Toolbox app
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
I used builprop application which is included in rom toolbox with the same unsucessfull result
If you are rooted then can use any editor like anything.
Yes my phone is rooted. Wy are my modification volatile ? In other words how can I prevent the phone from reverting back to the original version of the file ? I searched for that particular version In the whole phone and found a couple of them which i changed olso. The result Remains the same but not for \system\build.prop
please help!!!

Categories

Resources