Newbie needs help - myTouch 3G, Magic Android Development

Hi,
yesterday I got my HTC Magic.
It is a german vodafone branded, and the internal memory gadget says it has 295mb memory
I am interested in flashing it with the hero rom.
I tried to read how to do it, but I can not find anything for newbies.
What do I need to flash it? Do I need "root"(whatever this means).
If I flash my phone with hero's firmware will everything work - bluetooth, wi-fi, gps, gadgets? Will the battery die faster(it dies for 48 hours right now ... slower will be terrible)? Will it be glitchy and slower than the original firmware? If I flash it, can I flash it back with the original firmware?
Sorry for the stupid questions, but for a few months you have made big progress in android hacking
Thanks in advance

todd.kazakov said:
Hi,
yesterday I got my HTC Magic.
It is a german vodafone branded, and the internal memory gadget says it has 295mb memory
I am interested in flashing it with the hero rom.
I tried to read how to do it, but I can not find anything for newbies.
What do I need to flash it? Do I need "root"(whatever this means).
If I flash my phone with hero's firmware will everything work - bluetooth, wi-fi, gps, gadgets? Will the battery die faster(it dies for 48 hours right now ... slower will be terrible)? Will it be glitchy and slower than the original firmware? If I flash it, can I flash it back with the original firmware?
Sorry for the stupid questions, but for a few months you have made big progress in android hacking
Thanks in advance
Click to expand...
Click to collapse
you need to download android sdk 1.5 r2 and also the usb driver all in the wiki. then extract files to desktop. connect magic to pc and install driver from loaction when prompted. once that is done place tools folder in android sdk main folder on desktop. follow steps here:
http://forum.xda-developers.com/showthread.php?t=530492
this is a safer method as it installs recovery options in case you kill device.
sdk tools and usb driver here:
http://android-dls.com/wiki/index.php?title=Magic_Rooting
use jerps method as it is easier

# Enable USB debugging on the device in settings->applications->development->"USB Debugging"
# Ensure you have the Android SDK downloaded, and the included USB driver installed correctly on your desktop.
# Open up a DOS prompt and "cd" to the tools subdirectory of your SDK folder.
# Make sure your usb cable is inserted and you have Fastboot and ADB installed and ready to use.
# Type the following command at your DOS prompt:
*
adb devices
You should see your Android phone's serial in the list. If you get an empty list, you need to sort out your USB driver.
on the 2nd link do only these steps above then carry using steps in 1st link!

Related

[Q] Modding From A to B Guide?

Sorry to sound pig ignorant about phones but I am ... my expertise is in PCs. So anyway I want to upgrade the Hero with CyanogenMod.
I backed up my contacts, apps, etc and rooted the phone with unrevoked ... lost everything in memory in the process, but that's OK -- the important stuff is backed up.
Rebooted into stock 21. ROM and skipped all the new user stuff ...
OK, here's where I'm lost ... to load the CyanogenMod ROM I apparently need something like Amon-RA, but to load Amon-RA image file I need to install the SDK pack.
So I downloaded the SDK pack, but it is nothing like what is described in all the install SDK posts I've been able to find. What I have found are instructions about running ASroot and other files that don't exist in the SDK version I have.
So like what do I do now, more important ... is there an A to B thread for doing this mod starting from a stock phone, going to unlocking, than loading SDK, than installing Amon-RA (or equivalent) and than installing CyanogenMOD.
I know all this info is out there, but it seems like most of the files I've found don't interface well in the sense that the ones that talk about doing step one aren't terribly relevant to ones that talk about step 2, etc.
Thanks
Yes. Its a sticky at the top of the page. Search "guides" lol...
Sent from my HERO200 using XDA App
All you need to do with the sdk is download it and extract it. I just put it in the root of my C: drive. Then open a cmd prompt in windows by going to Start > Run > cmd (press enter). Then in the command prompt you need to change directories to the sdk folder you extracted. For example, mine is in C:\android-sdk-windows. I just type "cd c:\android-sdk-windows" then "cd tools" to get into the directory where you can run the adb program. Make sure your phone is in debugging mode by going to settings > applications > development > check the USB Debugging box. Then you can hook the phone up to the usb and run the command "adb devices". If everything is working correctly then you should see a device serial number show up. If that doesn't work make sure you have the htc drivers installed by downloading htc sync from their website and installing it.
Once adb can see the phone then you should run the command "adb shell" and then when you get a $ prompt type su in order to elevate to root. Make sure you put a recovery image on the phones sd card using step 4 from this guide: http://forum.xda-developers.com/showthread.php?t=694572 I think he has a link to download the recovery in that guide but just in case here is a direct download link for the recovery: http://www.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-heroc-v1.6.2.img Feel free to rename it to recovery.img so that the commands in the guide can be used as is.
Now you should be able to start at step nine from the guide in that thread (you should be in an adb shell when you start). It should be the adb command to flash a recovery image. Once you do that installing roms is as simple as putting them on your sd card and booting into recovery to select the flash option.

[Q] about ADB

where can i download this ADB and i need a full guide about adb. step by step.
cause i have a problem in my vibrant, (fixing the partition "mbr error")
thanks to who are willing to help
You'd be wise to read up on the Android SDK before you attempt anything to do with ADB, or flashing Android stuff in general.
Read all you can, because it will kill your phone if you don't know what you're doing. You don't just 'download' ADB. It's part of a set of tools.
Sitting down and reading through the information on the SDK will give you the added bonus of being able to help others as well
Good luck.
can't find my devices
How should I do
If it can't find your device, download a program called usbdeview. Open the program (make sure you run as administrator). Delete all drivers associated with your device. Make sure you have USB debugging checked on your phone and then plug it back into your computer. This should automatically download the drivers necessary to run ADB.

[Q] Trouble with fastboot

Hi all,
I had a nice, long, detailed post typed out but then my browser at work crashed, so here is the revised edition:
I recently (three days ago) bought a TF300T tablet. Absolutely love it. As any android fan does, I immediately wanted to root it to get the full benefit of the device. I followed the step-by-step guide on the cyanogenmod wiki and have been successful (after a few hours of figuring things out) in unlocking the device. I am aware at this point that my device is unlocked and my Asus warranty is voided. I am also aware I may have to follow different steps to root it, and am willing to do so accordingly.
I'm not set on using cyanogenmod, but that seems to be the most popular and well-known one so I'd like to use one that is established.
So, up until now I have followed that guide but I am having an issue with flashboot. When I go to do the 'fastboot devices' command, I get nothing. It just jumps to the next line, as if I sent a blank command. When I type 'adb devices' it works fine and shows some letters&numbers so I know my device is recognized.
With all that being said, can anyone advise me on which step I'm doing wrong, if any?
Also, I'm -really- cautious about potentially bricking this thing. I still have 30 days at Best Buy but I'm also an employee there and my co-workers know I'm trying to root so if I brick it, it may not be as easy to return it as with a normal customer. I also have the Accidental Damage & Handling plan so if I DO brick it, I can smash it and get a new one without too much incident, if it comes down to it (which obviously is a LAST resort)
My device is as following:
Asus Transformer Pad TF300T unlocked, firmware .29.
I' have about 15 tabs open in Google Chrome right now after SEARCHing the forums, specifically the TF300 forum, and I'm filtering through all the posts right now. If I find a solution I will post asking for this thread to be deleted.
I'm very tech-savvy, but completely new to android. I don't own a smartphone, and this is my first android device, so this is an incredible learning experience. If anyone feels so kind, could you please explain the different terminiologies used in the rooting scene? I hear stuff about blobs, .build files, DE, WW, US stuff. What's what? And what does it all mean?
Thanks so much, and here's to hoping my computer doesn't crash as soon as I press "post"!!
-Opethfan89
*edit* Forgot to add that when I use the command
fastboot flash recovery recovery-clockwork-5.5.0.4-tf300t.img
Click to expand...
Click to collapse
the command prompt just stays stuck on "waiting for device", while my device is stuck on "Starting fastboot USB download protocol"
Slight resolution
So I am just posting with a slight update to what I've been trying to get this working. I uninstalled the ADK, all drivers, and started over from scratch. I installed ADB using the method listed on the CyanogenMod wiki, and it works fine (I can use all ADB commands from command prompt and it lists my device when I use the 'adb devices' command.
So I'm continuing to follow the steps on the CyanogenMod wiki page and I get back to the part about Fastboot. I boot into fastboot mode, plug the device in, and the new development is that my computer DOES recognize fastboot only in device manager. I do have a yellow exclamation mark near it meaning I don't have the proper driver installed.
So now my newest question is, how do I install the driver for -just- fastboot, or where can I find the .inf file so I'm able to install it myself?
I'm SO close to rooting this device I can just taste it!! Any device is very much appreciated
Thanks!
Opethfan89
Are you following this guide?
http://forum.xda-developers.com/showthread.php?t=1668173
Pretty easy to follow and the easiest way to install recovery and root device.
Yes I have followed that guide and like I said I get to the step where fastboot SHOULD be recognized by my computer but it isn't. It shows up in my device manager with a yellow exclamation point so I literally just need the driver to make things work and I should be rooted.
This thread has the drivers you need: http://forum.xda-developers.com/showthread.php?t=1661653
There are no special fast boot drivers. Just install the Asus drivers, and you'll be good to go.
Also, I know this is off-topic, and I mean no offense to you, but every time I see a thread about driver problems in Windows, I feel a thousand times better about using Linux. No drivers to install. It just works.
Have you tried to see the index on tf300t development?
Hope you have all you need and all process.
For Fastboot : [GUIDE] Help for flash more faster when you use Fastboot Line Command
And for Drivers:
ASUS Android USB Drivers.zip - 2012/04/13 - MD5 Sum: 43af8f39ed421caabecd6c4a2de17212 - Size: 8.28 MB (8687221 bytes)
ASUS Pad PC Suite (PC version V1.0.41) - MD5 Sum: 02d7661affefeb0ae05f577b6b24b37a - Size: 145.09 KB (148570 bytes)
ASUS Sync V1.0.82 - MD5 Sum: a7d229ee2f2678819e6a99711d1f572d - Size: 62.18 MB (65195236 bytes)
You will find all you need for your TF300t in this index
As long as you have the android sdk installed and the asus pad suite driver installed it should work no problem
vel0city said:
As long as you have the android sdk installed and the asus pad suite driver installed it should work no problem
Click to expand...
Click to collapse
You don't need to use android sdk except if you to use commands line.
Use the guide about [URL "http://forum.xda-developers.com/showpost.php?p 27218675&postcount 20"][GUIDE] Help for flash more faster when you use Fastboot Line Command[/URL] and you will see than it's easy and faster to push something
I haven't use android sdk though it's installed on my laptop
philos64 said:
You don't need to use android sdk except if you to use commands line.
Use the guide about [URL "http://forum.xda-developers.com/showpost.php?p 27218675&postcount 20"][GUIDE] Help for flash more faster when you use Fastboot Line Command[/URL] and you will see than it's easy and faster to push something
I haven't use android sdk though it's installed on my laptop
Click to expand...
Click to collapse
I think you do need to install android sdk because of the fastboot files are in there and need it to use fastboot that could be the reason why his computer does not recognize the tablet when he is in fastboot mode. If you look at your android manager you will see a file under android tools that fastboot files are installed.
you need to specify device id
fastboot -i 0x0b05 flash recovery recovery-clockwork-5.5.0.4-tf300t.img
Click to expand...
Click to collapse
try that op
IT WORKED!!!!
EndlessDissent said:
This thread has the drivers you need: http://forum.xda-developers.com/showthread.php?t=1661653
There are no special fast boot drivers. Just install the Asus drivers, and you'll be good to go.
Also, I know this is off-topic, and I mean no offense to you, but every time I see a thread about driver problems in Windows, I feel a thousand times better about using Linux. No drivers to install. It just works.
Click to expand...
Click to collapse
See, I think that's where I messed up. None of the guides say to download ASUS' drivers, and in my anxiousness to root I must have overlooked that step. I will try this today and post my results accordingly!! Also, no offense taken by the linux comment, and I've used linux in the past, but I've had quite a few times where it doesn't "just work" (Like using a broadcom wireless card on my old laptop. I had to learn how to use ndiswrapper and whatnot, not a pleasant experience for a linux newb at that time!!)
I recently removed my Linux partition (was using ubuntu 10.10 because I hate unity!!) and can re-install it if it will make my rooting process easier?
vel0city said:
As long as you have the android sdk installed and the asus pad suite driver installed it should work no problem
Click to expand...
Click to collapse
Yea I didn't download the asus pad suite drivers, and I think that is what is causing my issue. I wish I could post links to the guides I am following but none of them specify that. They just say to download the android SDK and all drivers are included.
FlyingPoo said:
you need to specify device id
try that op
Click to expand...
Click to collapse
I did do that, flyingpoo. At one point my cmd line showed "Sending file recovery.img (5***kb)" but the tablet never picked it up, so I know there is just some miscommunication between the tablet and the PC. When I typed adb devices in cmd line, I see the device listed, but when I type fastboot devices in cmd line, it just goes to a blank line.
I will try the above listed solutions and hope that something works. Thank you all so much for your help!
*edit* This guy, right here? Yea, he's freakin ecstatic! I installed the drivers from EndlessDissents' post, and it worked!! As soon as I booted into fastboot mode, my computer recognized the device. I then used the command that FlyingPoo used (which I tried in the past), and it showed:
Code:
c:\recovery1>fastboot -i 0x0b05 flash recovery recovery.img
sending 'recovery' <5306 KB>...
OKAY [2.417s]
writing 'recovery'...
OKAY [2.053s]
finished. total time: 4.473s
So now I'm following the next few steps to root it. I've backed up my apps using Astro as well as the ASUS backup suite, and I'm using CWM for a backup of my entire system at the moment.
Thank you again to everyone who responded. I always get hung up on the simplest step, but once that is overcome everything else is a smooth ride downhill
One last noobish question to ask, and then I think I'll be done:
I've downloaded the root-signed.zip file, as well as the latest CyanogenMod file I could find (The official wiki didn't have one listed for any asus products, for some reason?) as well as a google apps for cyanogenmod. I put the files on my SD card but nothing on there is detected within CWM. So the noobish question is which directory do I need to put the files in for CWM to detect it?
That being said, I'm also wanting to backup my system to my external SD card and I selected the option in CWM to backup but it said no sd\ext was detected. Any thoughts?
Thanks again everyone for your responses.
*EDIT* For anyone following this thread, I did figure it out. Another guide I referenced specifies that you copy the files to the INTERNAL SD card (which is kind of confusing, as SD card explicitly refers to an external memory card) and then choose it from CWM. So for me, I downloaded the files on my computer, copied them to my SD card, put the SD card in my tablet, and copied the files to the root directory of the internal storage on my tablet.
Thanks again everyone, I now have root (at least, I'm pretty sure I do?)
Mod, please feel free to close this thread as necessary.

Help.Install your apk via USB

Help.I want to install apk for android phones via my PC.
I have two programs but.They are not work for all phones,They work bad ,I have a shop people come to here to install it for them.They like to install it directly not in file manager.
Two program i use are
1-android injector
2-wondershare mobilego for android
Set up ADB ( android debug bridge) on the computer.
Install drivers for device.
Plug device in through usb - allow to identify and install.
Safely eject device.
Enable usb debugging on device and allow non-market install, then plug back into computer.
Open terminal window, navigate to where adb is ( if not set to global call)
Type:
adb devices
...and hit enter. Should show device as connected and start adbd. ( android debug bridge deamon)
Next type:
adb install app.apk
... and hit enter.
app.apk = name of app.
assumes you are in the directory where the. apk file is located when you execute the command.
Blue6IX said:
Set up ADB ( android debug bridge) on the computer.
Install drivers for device.
Plug device in through usb - allow to identify and install.
Safely eject device.
Enable usb debugging on device and allow non-market install, then plug back into computer.
Open terminal window, navigate to where adb is ( if not set to global call)
Type:
adb devices
...and hit enter. Should show device as connected and start adbd. ( android debug bridge deamon)
Next type:
adb install app.apk
... and hit enter.
app.apk = name of app.
assumes you are in the directory where the. apk file is located when you execute the command.
Click to expand...
Click to collapse
thank you so much ,
can you put drivers and softwares and programs you mentioned in here for me ,Cuz i'm new it's hard for me to find the best ones.
I want to tell you i have a shop every day 20 diffrent android phones are coming here to sync them apk directly to there phones.
u can chose ?
Dylan Bay said:
thank you so much ,
can you put drivers and softwares and programs you mentioned in here for me ,Cuz i'm new it's hard for me to find the best ones.
I want to tell you i have a shop every day 20 diffrent android phones are coming here to sync them apk directly to there phones.
Click to expand...
Click to collapse
sr about edit , because i must have 10 post to post into Delopment TOPIC
Dylan Bay said:
thank you so much ,
can you put drivers and softwares and programs you mentioned in here for me ,Cuz i'm new it's hard for me to find the best ones.
I want to tell you i have a shop every day 20 diffrent android phones are coming here to sync them apk directly to there phones.
Click to expand...
Click to collapse
You can find the drivers here.
The ADB tool is installed as part of the Android SDK.
Dylan Bay said:
thank you so much ,
can you put drivers and softwares and programs you mentioned in here for me ,Cuz i'm new it's hard for me to find the best ones.
I want to tell you i have a shop every day 20 diffrent android phones are coming here to sync them apk directly to there phones.
Click to expand...
Click to collapse
It's always good to see new aspiring developers!
The answers you seek are here, here and here - as well as on the individual manufacturers websites of the specific devices and other android resources online.
What you want to do requires a level of technical knowledge and learning that will take time, patience and more then a little frustration. Wizardry, they used to call it.
There is no 5 minute solution, your best bet would be to install the android sdk and java jdk, start learning how to use them, and install and learn linux if you aren't already using it.
What you want is what most of us want, and what we are here learning to do - welcome to the journey, it's certainly an exciting one!
Why don't you copy your apk to your sd card then use appinstaller from googleplay to install them? You can manually take out your sd card, plug into your pc, copy then plug sd card back to your phone OR download "Myphoneexplorer client" from googleplay to your phone, also download it to your pc, now you can transfer files wirelessly from your computer to your phone.

MK802 II, adding APK to rom.

Hello XDA-members,
Im want to customize the rom for my MK802 device, the manufacture send me the stock rom file (android4.0.4..img). My goal is to add software (apk files) to the rom, so that they cant be removed in android itself. I have googled a lot and I can't figure out how to do this at the .img file.
Is it possible to modify this .img file and add apk's?
Other ways to do this?
I hope you guys can help me figure out, looking foward for reply's!
Thanks in advance,
Simon
This IS How I Added App To System Though ADB To MK802 & MK802 II
sjansen5 said:
Hello XDA-members,
Im want to customize the rom for my MK802 device, the manufacture send me the stock rom file (android4.0.4..img). My goal is to add software (apk files) to the rom, so that they cant be removed in android itself. I have googled a lot and I can't figure out how to do this at the .img file.
Is it possible to modify this .img file and add apk's?
Other ways to do this?
I hope you guys can help me figure out, looking foward for reply's!
Thanks in advance,
Simon
Click to expand...
Click to collapse
i would not recomend trying to edit the img file lots of reports of bricking The device from flashing custom img file
and alot of devices that no longer have wifi support do to incompatible wifi driver's OR BAD FLASH
(IF THIS HAPPENS TO YOU PM ME AND AND I WILL SEND U STOCK IMG FILE AND COMPLETE FLASHING INSTRUCTIONS)
(I HAVE BOTH STOCK PREROOTED IMG FILES) (UHOST ORIGINAL FIRMWARE) AND (STOCK XW-18 MODEL FIRMWARE)
if u would like to add an app to the device that way if u erase of factory default the mk802 it will still be there u must add it as a system App
You can do this easly through adb (Andriod Debugging)
You Must Have Usb Debugging Enable...and windows pc or laptop
and android sdk installed (]http developer.android com/sdk/index html)
YOUR MK802 OR MK802 II MUST HAVE ROOT...See This Guides in this forum (http www rikomagic co uk/forum/viewforum php?f=2&sid=bbfa80e8467e65d3cd46b25fdf27e517)
If You Have The Original MK802 Ur Pre Rooted Just Download SuperUser From Market and go to the letter i At the top of the right page then click update binarys on next page
1. plug into tv and power on (make sure u use the dc-voltige port for power)
2. navigate to Setting/Developer Options/Usb Debugging and Check This
3. plug usb cord into mk802 (make sure its the OTG port) and plug the other end into pc or laptop
4. windows will find the multimedia mass storage drivers and if u have sd card in it will find that also.. windows wont find the driver for the mk802
dont worry skip this
5. navigate to windows device manager and click on the yellow icon with triangle should say android something....lol (cant remember) and right click it and select update driver and then choose browse my computer for software click browse button and navigate to where android sdk was installed C:\Android\android-sdk\ and then select extra folder then select google folder so the directory should look like this C:\Android\android-sdk\extras\google now click let me pick from a list of device drivers on my computer and then scroll down till u see Android Interface And Select it Then select
Android Sooner Single ADB Interface....it should pop up and say windows cant verify if it the right driver click install anyways wait for a min then it should pop up and say windows successfully installed device driver.
6. navigate to windows command line and and type (cd C:\Android\android-sdk\platform-tools) hit enter then typ (adb devices) it will say list of attached devices and a nubmer line under that if there is no number or there just a space there then u need to start back at step 5 if u see ur device proseed to step
if u know adb commands ur good...if not sorry its to long to explain please refer to this here for most adb commands
http developer.android com/tools/help/adb html

Categories

Resources