[AVD][Q] Using the AVD Emulator sdcard for ROMs? - Android Q&A, Help & Troubleshooting

I'm looking to use the AVD emulator (running 2.3.3 right now) to see about running custom ROMs from the SDCard. Thing is I can access the SDcard from the emulator, but to push files to it I'd imagine I'd have to use adb. I'm curious to see if there is an easier way (or quicker for that matter) to put files to the SDcard without having to push single files and then copy to the SDcard via adb. Does anyone know if there is another way?
What I plan to do next after pushing a ROM to the SDcard is to see if I can change the bootloader or have the bl point to the sdcard to run the ROM from there. But one thing at a time first. Thanks!

Hi Climber Ty,
Firstly, as your title indicates, this is a question and therefore it shpuld be in q and a I think.
I tried the AVD myself too and if you type adb devices is adb it shows up fine, so pushing via that way should work.
As you stated, this probably can be done easier. I believe the installer makes an .img file for the AVD, which is somewhere in the sdk/avd folder. There are editors available for img files (just search google and you'll find them) I think you can just copy your files into this img file and then they will be on your sdcard, never tested this though.
Sent from my HTC Desire using XDA App

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Related

Stock 4349 IMG needed

I posted this on the fool proof thread for going from 3588 to 4349. Having troubles and looking for help.
NVFlash confuses me.
I basically just want to install a good 1.2 based ROM and stick with it. Have no intention of going back top 3588.
How do i make it so that if i ever do brick the device or have a need to go back, it just starts as if 4349 is my starting point?
My problems using the foolproof method is that the external SD card i purchased an loaded the necessary files to was not recognized when i followed the choose sdcard/update from sdcard instruction. I am thinking it might be looking for internal SD card as i definitely put the files on it and partioned per intructions...
Anyway, did work or i messed up somehow - looking for alternatives.
Thanks
Okay...I located the file from one of Robeet's threads.
New/additional question to any who view and have know-how/skills:
In his thread he mentions to flash to 4349 DO NOT use CWM. Well, that was teh first thing i did - install CWM.
How do i go about uninstalling?
I also noticed mybe some of my earlier troubles were in that my command file was created in notepad (he warns against file extensions).
Hendge said:
Okay...I located the file from one of Robeet's threads.
New/additional question to any who view and have know-how/skills:
In his thread he mentions to flash to 4349 DO NOT use CWM. Well, that was teh first thing i did - install CWM.
How do i go about uninstalling?
I also noticed mybe some of my earlier troubles were in that my command file was created in notepad (he warns against file extensions).
Click to expand...
Click to collapse
You can still use CWM to flash the stock firmware from teh source he provides. Let me guess, his file is a rar file, when unzipped, you are left with a file called "update.zip" and a folder called "recovery" with a command file in it.
What this is, is the format used to flash something using stock recovery. If you do not have CWM, you'd turn on your tablet, holding +, and it will "see" the recovery file, which will let it know to run the update.zip file.
Since you HAVE CWM, all you need to do is "install zip from SD" and install the update.zip file, just like you would any other rom.
to keep it organized, I suggest you rename it 4349.zip, or stockfirmware.zip, etc.
but yeah, it's completely possible to do it through CWM
as for the "command" file, yes, if it's created in notepad on a windows machine, it will be command.txt. you can't have the .txt part. I use notepad++ to creat files without extensions. You can also do it on the tablet using ES file explorer, root explorer, etc...
Thanks so much for replying!!
Let me ask you or anyone else who knows - When you write "install zip from SD" are you referring to the external or internal?
One more possibly one of the silliest questions that can be asked: How do you move files from one drive to another on this device? I was toying around last night with teh file explorer program and honestlt could not figure it out. I do not use a mouse or anything - normally i would cut/copy and paste teh file to desired location.
Please Help. Thanks again!
SD is generally the internal, MICROSD or SDCARD2 is the external.
Re: The windows notepad. If you want to save a file without the .txt extension or to change the extension simply Save As and put quotes around the name.

Rooting with Mac?

Hey guys,
Been searching trying to find out if it's possible to use the one-click root with a mac but can't find anything. Can someone point me in the right direction to help me root the Rezound since I only have a mac? Thanks.
The long and the short of it is that you need to supplement the windows commands with Mac/Linux commands. I'll put up my port of it this weekend...I've been meaning to do it anyway.
if you install AmonRA recovery one option is to root the rom your currently using (aka stock rom with an unlock, all other roms are rooted already afaik) put this on the root of your sd card and install with hboot, or pull the recovery from the .zip and flash it in fastboot (put the recovery.img in same folder as your fastboot.exe and run the command fastboot flash recovery recovery.img)
If you want to root than I'm assuming you are already unlocked correct? If so I would read post #1 in this thread
http://forum.xda-developers.com/showthread.php?p=20833039
Use the Amon version and follow the directions to the exact letter. It was very quick and very easy to do but if you are new to rooting, etc. read very carefully Especially when it comes to the naming of the file and the exact spot to place it on your sd card.
_pank said:
If you want to root than I'm assuming you are already unlocked correct? If so I would read post #1 in this thread
http://forum.xda-developers.com/showthread.php?p=20833039
Use the Amon version and follow the directions to the exact letter. It was very quick and very easy to do but if you are new to rooting, etc. read very carefully Especially when it comes to the naming of the file and the exact spot to place it on your sd card.
Click to expand...
Click to collapse
Nice this looks simple enough. So basically all I need is to Unlock via HTC, flash Amon recovery and use it to intall su? I had a Tbolt which I rooted with a mac but involved a variety of commands. I guess since HTC unlocks the bootloader, this is no longer needed. Simply flash a recovery with hboot and obtain su access?
after you flash to amonRA recovery you go to developer menu and choose install su and superuser (not sure why but i remember someone saying DO NOT use the eng unguarded SU)
Cool yea I read that too.
TeamSPD said:
Nice this looks simple enough. So basically all I need is to Unlock via HTC, flash Amon recovery and use it to intall su? I had a Tbolt which I rooted with a mac but involved a variety of commands. I guess since HTC unlocks the bootloader, this is no longer needed. Simply flash a recovery with hboot and obtain su access?
Click to expand...
Click to collapse
Right, but if you are not unlocked do some reading up on that first. You will need to download the sdk from Google. Then basically you
1. unzip it / move it to your root os x drive and I normally rename the folder to just sdk to save on typing
2. Double click on the android file inside of the /tools folder
3. Under tools download the Android SDK tools and SDK platform
Once you have the SDK installed and tools installed it's basically just a matter of CD'ing to the /platform-tools and then you can run fastboot and adb
There are a couple of cheater .zips out there that just contain the necessary adb and fastboot files for Mac that works as well. When you see instructions on how to do something using windows it's going to be pretty much the same. Just remember for most things you are going to have to add a ./ to the front of the command.
It sounds and looks harder than it really is but you need to make sure you really read up on this stuff before jumping in Don't be afraid to experiment but just have a failsafe backup plan. And if you are not sure about something ask first
_pank said:
Right, but if you are not unlocked do some reading up on that first. You will need to download the sdk from Google. Then basically you
1. unzip it / move it to your root os x drive and I normally rename the folder to just sdk to save on typing
2. Double click on the android file inside of the /tools folder
3. Under tools download the Android SDK tools and SDK platform
Once you have the SDK installed and tools installed it's basically just a matter of CD'ing to the /platform-tools and then you can run fastboot and adb
There are a couple of cheater .zips out there that just contain the necessary adb and fastboot files for Mac that works as well. When you see instructions on how to do something using windows it's going to be pretty much the same. Just remember for most things you are going to have to add a ./ to the front of the command.
It sounds and looks harder than it really is but you need to make sure you really read up on this stuff before jumping in Don't be afraid to experiment but just have a failsafe backup plan. And if you are not sure about something ask first
Click to expand...
Click to collapse
I second this. I just use a folder with a adb and fastboot-mac in it and make sure I cd the folder with it in terminal. As long as you use the ./ in front of the commands in terminal and have these files in the folder you cd to you will be
good to go. Just remember that you have to use ./fastboot-mac. The first time I did it I kept.forgetting to put the Mac part on lol. Good luck!
Sent from my ADR6425LVW using Tapatalk

Adding CWM to my tablet?? (poss dev question)

I have a Zenithink Z282 C91 upgrade tablet on a custom rom and a custom kernel running 1.2ghz with a 2GB recovery data partition, is there a way to add cwm recovery to it?
have you downloaded the cwm app? if you have try installing from there?
or maybe check check around to see if cwm has been ported to your device yet, if its not you may have to do that yourself or ask one of the friendly devs round here
It doesn't work off the app. I can't seem to find that anyone has done it either. How hard is it to do yourself?
Ben36 said:
It doesn't work off the app. I can't seem to find that anyone has done it either. How hard is it to do yourself?
Click to expand...
Click to collapse
im not a dev so im not entirely sure, but i think you might be able to download a zip of cwm for a similar tablet and manually push the files to the right places in your root folders yourself?
so:
1) download a cwm zip for a similar tablet.
2) extract to a folder on your computer.
3)push the files using adb into the correct folders on the root of your device(or use an app such as es file explorer)
whitest0rm said:
im not a dev so im not entirely sure, but i think you might be able to download a zip of cwm for a similar tablet and manually push the files to the right places in your root folders yourself?
so:
1) download a cwm zip for a similar tablet.
2) extract to a folder on your computer.
3)push the files using adb into the correct folders on the root of your device(or use an app such as es file explorer)
Click to expand...
Click to collapse
I don't mean to offend, just inform..but you can't push files into a directory on the device to give it a custom recovery, there's actually a hidden 'recovery' partition that stores what basically amounts to a stripped down kernel, a basic menu and some utilities. In most cases, due to the type of storage and layout of the storage, the recovery has to be specifically made for the device in question, which usually requires that the manufacturer complies with GPL and gives out the kernel source code.
if two given devices are 'close enough' and use the same hardware and mapping, a custom recovery can be used on both devices, but that's not usually the case. your best bet is to check in the development forums for your given tablet to see if a recovery is available, or if someone is working on one.
I did a quick google search and didn't find any custom recoveries for the zenithink, but I really don't know much about the tablet to begin with so I may have searched incorrectly.

[Q] Can't extract NANDROID backup

I apologize if this question has been asked before; I have done some digging through the forums but I have been unable to find a complete solution/explanation for this problem. Essentially, I cannot copy NANDROID backups created through twrp recovery to my computer. I am using an HTC one AT&T version and a win7 computer. Obviously I have no sd card so I need to copy the backups from the internal storage. I find the backup folder just fine along with the backups I want (upwards of 3gb in size). However, when I try to copy them via USB or network transfer through an android file browser on the phone, only a few mb of files are copied, and no errors are generated. Other forum posts indicate that a simple copy and paste should work. While others indicate some sort of vague copy permissions setting preventing this action. The only solution that I've not tried is using "adb pull". I have no idea how to do that as I have zero experience playing with adb. Before digging into that and trying to figure out how to set up adb and find the relevant commands to do what I want, I would like to know if there is a simpler method of accomplishing copying my NANDROID backups. Any help would be appreciated, sorry if this is a noob question.

[Q] Can't find certain directory's

Hello, first of all, this pertains to the Galaxy Player 4.2. However, I couldn't find a section devoted to that device, so I will post here.
I would like to root my device. I did a lot of googling and research on the topic, and came up with this thread being the agreed upon method.
I read through it and saw the issue with the WiFi not working after the process is finished. I also saw the solution people recommended being to copy the contents of /etc/wifi and paste them back after rooting.
My problem is this. I am new to Android, and I don't know where to find this directory in order to copy the files.
I tried to look using the My Files app, but that appears to only explore the internal SD card. I did some research on the subject, and most people said that it is in the /system folder. I can't find that either. I also found mention that you need root privileges to access that folder. But I don't understand: how can I copy the files before rooting, if I need root privileges to do it?
Maybe I am totally off, but if so please correct me. Where are these files stored?
Thanks!
OK, I have been messing with the Android Terminal Emulator and found the directory where the files are stored. I am trying to figure out how to copy them to the internal SD card now so that I can access them from my laptop. I did some reading and found out that the command for copy is "cp". I tried to use that command to copy the file, but it just tells me "cp: not found". I am not sure what this means, but I assume it means that it is not a valid command. Am I doing something wrong? Thanks!

Categories

Resources