Installing ROM on AVD - Hero CDMA General

So, I don't like the stock AVD roms that exist in eclipse. FOr testing out apps so I don't have to screw with my phone, how do I go about installing a ROM to my AVD?

So nobody has any idea, even developers who work with roms and stuff every day that they do it? Please, can someone help?

Honestly, I think most devs here just screw with their phone rather than using a virtual one in Eclipse. At least I do

I guess you could unarchive the zip and then push system and data then reboot.

I don't know how to do that or else I would have... it took me forever to figure out that I can use adb to install apps to a virtual device.
Sent from my HERO200 using XDA App

Related

[Q] System App Replacement

Hey anyone who can help, Ive pulled several apk's from a theme I have and some of them are system apps (such as Settings.apk) how do I replace the system apps I currently have, with the themed ones?
kanox21 said:
Hey anyone who can help, Ive pulled several apk's from a theme I have and some of them are system apps (such as Settings.apk) how do I replace the system apps I currently have, with the themed ones?
Click to expand...
Click to collapse
Is your phone deodexed? It would require a program like root explorer, or you will need the android sdk installed on your pc and adb setup and working to push the files to your phone. Let me know your setup and myself or whoever else sees this next can probably get you on the right track
Sent from my DROIDX using XDA App
I have everything except the adb thing, what is that?
Sent from my X
Oh and also I don't have an android sdk
Sent from my X
ADB / SDK
Did some quick googling and came across this guide for you
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
at step 4, USB drivers, you have to download ones for the DroidX if you dont already have them.
Root explorer may be easier if all you need it for is this one time, although it is a paid app. ADB is free, but takes a bit longer to set up and requires a PC connection. Both are great tools and have their strengths and weaknesses.
I have root explorer, but I'll look at the guide when I'm back near my computer
Sent from my X
SharkBaitDave said:
Did some quick googling and came across this guide for you
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
at step 4, USB drivers, you have to download ones for the DroidX if you dont already have them.
Root explorer may be easier if all you need it for is this one time, although it is a paid app. ADB is free, but takes a bit longer to set up and requires a PC connection. Both are great tools and have their strengths and weaknesses.
Click to expand...
Click to collapse
Ok I've read the guide and have both ADB and the SDK but how will this help me replace my system apps with themed ones?

Cleaner than "clean ec07" ?

I love my Continuum.
But... it is so much "noisier" than all other Android phones that I tried!
By "noisier", I mean constant bombardment of the system log by all the applications that run there and, most annoyingly, random interruption by unsolicited notifications, messages, RSS, etc.
This gets in the way of certain applications that I run in the foreground, so I tried an application called "Android Assistant" to help kill unneeded applications/services on boot. It doesn't help, as the system seems not to allow killing certain processes.
Is there a Continuum ROM that's cleaner than the latest ec07?
Is there a CyanogenMod ROM for the Continuum?
Frankly, I prefer keeping the existing ROM and only install a Market application that kills on boot all the the applications that I don't need (e.g. Market, Gmail, Corporate Email, etc.), but is there such an application that really works?
Thanks!
Titaniumbackup or a root tool to uninstall bloat / apps u don't use. That's short of setting up a kitchen and cooking ur own rom.
PS I'd try tib first cause I remember the trouble u had with flashing the rom to begin with
Pss
Sent from my SCH-I400 using xda premium
My ROM is less bloated, but it still has like Gmail for example
I enjoy a very minimulistic device with very little clutter and apps.. I am currently working on a rom based on nuckin's, with a few tweeks, apks removed and some added to my liking. i am currently flashing the first test. Hopefully with a day or two, or even possibly tonight if it doesn't get to late i will post it up in a beta form.
Thats what Im talking about when are we going to get Cyanogen to make us a rom
Sent from my SCH-I400 using XDA App
ciscogee said:
I'd try tib first cause I remember the trouble u had with flashing the rom to begin with
Click to expand...
Click to collapse
Good memory!
I actually took a look at TIB and the task of deciding which application or service to uninstall looks daunting.
This is especially scary when I am prompted by the following warning when I try to uninstall via TIB:
Some system packages are needed for your phone to work properly. If you un-install the wrong package, it's your fault and you may need to reinstall your ROM !
Click to expand...
Click to collapse
How do I know up front which system packages I can uninstall? For example, if I uninstall Gmail, will the Market stop working?
For example, I uninstalled a few applications that I don't need and now I am getting periodic "Force close" messages for the following:
hiddenmenu - com.android.hiddenmenu
Messaging - com.android.mms
What is "hiddenmenu"?
I am attaching a text file listing all currently installed APKs. If you could provide tips which ones must absolutely remain on the phone, that would be much appreciated.
Thanks!
Penguinrocker said:
Thats what Im talking about when are we going to get Cyanogen to make us a rom
Sent from my SCH-I400 using XDA App
Click to expand...
Click to collapse
well i think we could do something with CM as soon as/if we ever get an open source kernel newer than 2.1update.

[Q] How to sideload apps without rooting or using a file manager app

Hey guys,
I've searched high and low in this forum and others for a solution to my problem, I have been unable to find one. I'm looking for a way to sideload apps onto a Kindle Fire so that, after the third party app has been installed, I can clear the Launcher data and the next time I start the device it boots to the setup and welcome screens like the very first boot.
The reason I want to avoid rooting or having to download a file manager app to the device is that I am planning to create a script for the process.
Any advice or links to a helpful guide?
lama1130 said:
Hey guys,
I've searched high and low in this forum and others for a solution to my problem, I have been unable to find one. I'm looking for a way to sideload apps onto a Kindle Fire so that, after the third party app has been installed, I can clear the Launcher data and the next time I start the device it boots to the setup and welcome screens like the very first boot.
The reason I want to avoid rooting or having to download a file manager app to the device is that I am planning to create a script for the process.
Any advice or links to a helpful guide?
Click to expand...
Click to collapse
Now I'm confused, on the Android Forums you said it was so you could give it to someone as a gift and you wanted to give them the "first-time use" experience. I really don't see anyone needing a script for something like this but I may be wrong.
It's more of a fun project for me than anything else, a Kindle Fire loaded with apps makes for a great and affordable gift and I have other family members who I intend to give the Kindle Fire to as a gift. But I don't want them to feel as though I've been mucking with it
lama1130 said:
It's more of a fun project for me than anything else, a Kindle Fire loaded with apps makes for a great and affordable gift and I have other family members who I intend to give the Kindle Fire to as a gift. But I don't want them to feel as though I've been mucking with it
Click to expand...
Click to collapse
I completely understand, I still think the easiest way would be to just use ES file explorer, or something similar, to install them and then just delete the app. Maybe someone here will have a different idea.
I may be confused, but couldn't youbjust build a rom with the apps loaded in and flash it?
Sent from my ADR6300 using XDA App
Twisted politiks said:
I may be confused, but couldn't youbjust build a rom with the apps loaded in and flash it?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Perhaps. Can you link me to any guides on this?
Are you trying to make a script that will be run on a computer or on the Fire itself? If you're running the script on an actual device (terminal emulator, gscript, etc):
Code:
pm install /path/to/file.apk
In that case the .apk will need to be copied onto the device first. If you're running a script from a computer and have the device plugged in via USB you can use:
Code:
adb install /path/to/file.apk
...and for that one the .apk needs to be on your computer somewhere. I know 'adb install' doesn't require root. I don't remember if 'pm install' does, but I think it doesn't. Either way, you just need to get a copy of the .apks you want to install.
Cant you just reset the device to factory defaults from the settings?
iroctheworld said:
Cant you just reset the device to factory defaults from the settings?
Click to expand...
Click to collapse
That gets rid of your apps as well.
eldarerathis said:
Are you trying to make a script that will be run on a computer or on the Fire itself? If you're running the script on an actual device (terminal emulator, gscript, etc):
Code:
pm install /path/to/file.apk
In that case the .apk will need to be copied onto the device first. If you're running a script from a computer and have the device plugged in via USB you can use:
Code:
adb install /path/to/file.apk
...and for that one the .apk needs to be on your computer somewhere. I know 'adb install' doesn't require root. I don't remember if 'pm install' does, but I think it doesn't. Either way, you just need to get a copy of the .apks you want to install.
Click to expand...
Click to collapse
I don't have any experience using adb, but I'll start looking into it.

SnowMOD: Custom ROM for Black and White Ereaders. [STILL NEED DEVS AND BETA TESTERS]

Alright, this mod is dedicated to mariog, who helped me to not give up on this idea.
Now, on to the MOD...
This mod is a ROM that gives the NST an experience that is as-close-as-possible to legitimate Android. This mod will be flashed using the CWM for NST. There's one problem, I had a release ready, but when I tested it, well that's another story. The point is, I deleted alpha-1 in a fit of rage over it not working, so, I need more devs to help me build this, because A.) I can't dedicate my every waking hour to this. (I'm in school most of the time) B.) Because my first attempt failed even though I looked it over like a Trillion times. Obviously I'm doing something wrong.
In the future, I hope to branch this mod out to other black and white Readers, But at this point, I'm just worried about the NST.
THE MOD WILL INCLUDE:
-The best homescreen possible for the NST (Was using stock 2.1 Eclair launcher, not sure what is best. Launcher 7 looks good)
-Barnes & Noble stock reading apps
-B&N OOBE. (Modified?)
-Android Market/Gapps
-Dropbox included in install
-No bloatware (ie: phone.apk etc)
-Best NST internet browser (opera mini) installed as default browser
-"Chef's freezer" app (look it up)
-Probably more.
-I will also include a minimalistic version. (No: dropbox, browser, freezer, Gapps other than Gmail)
All I need is devs willing to devote just a little bit of their time to this project.
Note: ROM based on android 2.1, I will try to do 2.3 once CM7 support is made for the NST.
Note2: All you readers will be lucky if I get any sort of release anytime soon. Don't rush me. If you want to get this fast, then you can help me! I need beta-testers and devs anyways. No unofficial releases will be made to non beta-testers. If you want them, become a beta-tester!
Origins of SnowMOD
Original Thread: .
First betatester of course.
And I have made progress! Couldn't unzip the stock update file in Mac or Raspbian Linux. (yes I code with a R-PI) Now, I have borrowed my friends windows machine and success! But, it is slow, and not a permanent fix. How do I unzip the update in Linux or OSX? When I try in OSX the .zip file unzips to .tar.gz and THAT unzips to .zip and so on. I am using the regular OSX unarchiver. In Linux, the unarchive just fails. (Any suggestions on that? I'm good with android, but OSX is a mystery to me)
Anyway, I have most of /system/app done, and I am REALLY exited. It looks like this project isn't going to fail, but I NEED MORE DEVS!!!
Mineturtle33 said:
And I have made progress! Couldn't unzip the stock update file in Mac or Raspbian Linux. (yes I code with a R-PI) Now, I have borrowed my friends windows machine and success! But, it is slow, and not a permanent fix. How do I unzip the update in Linux or OSX? When I try in OSX the .zip file unzips to .tar.gz and THAT unzips to .zip and so on. I am using the regular OSX unarchiver. In Linux, the unarchive just fails.
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
It might be because the B&N zips are signed and that causes problems with some unzip programs. Stripping the first 0x1a3 (419) bytes off the start of the file takes the signature off and turns it into a unsigned zip that most unzip programs don't have problems with.
I can become a beta tester
Sensation / Tapatalk
I forgot to say thanks for the dedication
Don't mention it, its only fair.
Sent from my NookColor using xda app-developers app
straygecko said:
It might be because the B&N zips are signed and that causes problems with some unzip programs. Stripping the first 0x1a3 (419) bytes off the start of the file takes the signature off and turns it into a unsigned zip that most unzip programs don't have problems with.
Click to expand...
Click to collapse
Cool, what program can I use to perform this action? BTW winrar is working on windows, but I don't have permanent access to that computer.
Sent from my NookColor using xda app-developers app
Mineturtle33 said:
Cool, what program can I use to perform this action? BTW winrar is working on windows, but I don't have permanent access to that computer.
Sent from my NookColor using xda app-developers app
Click to expand...
Click to collapse
dd if=signed.zip of=unsigned.zip bs=419 skip=1
YES! Thank you. i will try that.
Getting to work now... Using my Raspberry Pi.
Sent from my NookColor using xda app-developers app
If you still need beta testers
Or a designer, i would like to help out!
I've decided to stick with reader only mode for a while after I accidentally triggered a wipe with the NookColor Tools application, but I'll reroot and test as well if needed when the time comes.
Mimefly: yes, I still need testers, and by designer, I'm guessing you mean dev.
Neoman: OK, I'm including NC tools unless you know of a different way to enable 3rd party apps.
Sent from my NookColor using xda app-developers app
Mineturtle33 said:
unless you know of a different way to enable 3rd party apps.
Click to expand...
Click to collapse
Code:
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
sqlite3 settings.db
update secure set value=1 where name='install_non_market_apps';
.q
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
Thank you Renate NST.
Now I just want to know, how many people want NookColor Tools in this?
How many people want an alternative?
Sent from my NookColor using xda app-developers app
NCT is quite useful, just also useful to know that certain options within it trigger a no confirmation reset to stock. I wasn't intending to deride it. Haven't rerooted since I realized the only tablet mode features I'd been using with any regularity were replacing the screensaver banner with an "if lost, contact" message and a persistent battery bar, with occasional use of a third party reader to download new books without connecting it to the computer
I was already aware of this issue with factory resets. That is why I am wary of including NCT in the ROM.
PROGRESS:
After getting tons of help from friends, I am pleased to announce that release #1 is coming VERY soon. Lots of help has significantly sped up the development process.
What I did:
-adb pushed my modified /system/app (Everything worked great!)
Release will include:
-Launcher7
-Amazon App Store. (No Android Market YET, sorry)
-ADB Konnect.
-Device Registrator
-Opera Mobile
What I don't have working YET:
-Bloatware still exists in /system/app (ie: Phone.apk, Messaging.apk) I don't yet know if it is safe to simply delete them. Release #2 will include a fix.
-No Chef's Freezer. (I have no excuse, sorry)
-No NookColor Tools. (3rd party apps is enabled)
-I don't think that this will be CWM flashable. It will probably be a dd .IMG file, but I am currently not sure.

How do I properly set up android manifest?

I developed an app but it refuses to install and i think this must have something to do with the androidmanifest.xml. And of course, i googled about this already. Could you guys lighten up things for me. How do i properly set up the androidmanifest.xml?
Sent from my GT-I9190 using Tapatalk
Can you provide us with a screenshot of the structure of your project and the actual manifest file? And what does it say when installing? Does it happen when installing via adt or when installing from an actual apk file?
It happened when im installing it on my phone. Its just a simple app im trying to develop but im stuck at the installing process. I didnt use adt to debug the app because its taking forever to open on my pc. What is the most basic must have data on androidmanifest.xml in order for apps to install? I'll get back with the screenshots once i got access to my pc.
Sent from my GT-I9190 using Tapatalk

Categories

Resources