I have read like 15 different ways to root, S-off, and install custom ROM's on my phone, but i have a few questions.
To install a custom ROM, do i need to root my phone first?
I have read so many Root directions and i dont know which one to use, and idk how to make a goldcard on my mac, does anyone know a specific one that they have experience with.
I cannot find the CID number of my SD card and that is ruining my whole root experience.
please, do not treat me as rudely as people have before because of "stupid questions"..and dont refer me to videos because ive watched them all and have had no success.
Yes, you do need to root your phone before you can install a custom ROM, as for the other questions I can't answer them since I don't have any experience with the Inspire 4G. If you only have access to a mac and the tools are windows-oriented you could try running a windows OS in a VM (virtual machine)
oh, and another question, do you have to have a goldcard to to the root?
I have a Mac and I followed the instructions here to make my gold card
http://www.mikesouthby.co.uk/2010/08/htc-desire-creating-goldcard-using-mac-or-linux/
i tried to use this already before, but i cant find the CID number on my SD card and i downloaded astro file manager and everything. i have a samsung 8GB SD card.
noccaedm said:
i tried to use this already before, but i cant find the CID number on my SD card and i downloaded astro file manager and everything. i have a samsung 8GB SD card.
Click to expand...
Click to collapse
with the sd card in the phone and the phone plugged into your mac, in disk drive mode do this at a command prompt
adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid
from your android sdk tools directory that should give CID
i appreciate all the help! im trying it now!
as i am new to this, how can i access adb? i cant find it anywhere in any folder i have...fml, i sound so stupid prob but hey, we're all beginners sometimes.
noccaedm said:
as i am new to this, how can i access adb? i cant find it anywhere in any folder i have...fml, i sound so stupid prob but hey, we're all beginners sometimes.
Click to expand...
Click to collapse
you have to have installed the android SDK on your computer.
http://developer.android.com/sdk/index.html
gunnyman said:
you have to have installed the android SDK on your computer.
http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
it's also part of the hack kit look in the tools/osx directory
i just installed the SDK and all i have in the ace hack kit V9 is adb and i cant do anything on it. it just runs and i cant enter anything into it. is there an app that i have to get on my phone?
noccaedm said:
i just installed the SDK and all i have in the ace hack kit V9 is adb and i cant do anything on it. it just runs and i cant enter anything into it
Click to expand...
Click to collapse
ok open a command prompt in the directory the hack kit is located
then type adb then the command
how do you open a command prompt in the directory. do i just go t the terminal application and type in adb shell cat /sys/class/mmc2/mmc2:*/cid
because i tried that in the terminal emulator on my phone and it says access denied
Open terminal on the Mac. Drag the advanced program to that window. Then type the rest of the command
Sent from my Desire HD using Tapatalk
what is the advanced program? im so sorry im asking stupid questions.
and another thing, should i place the hack kit on my phone's sd card?
Adb. Program. Stupid autocorrect. Btw have you read the hack kit readme?
Sent from my Desire HD using Tapatalk
noccaedm said:
and another thing, should i place the hack kit on my phone's sd card?
Click to expand...
Click to collapse
Create a folder on your desktop called "Inspire". Extract all of the files within the hack kit to this folder on your computer, not your SD card. Drag this folder to the terminal, hit Return. Now follow the instructions in the Linux/OSX readme (it will be one of the files you extracted)
i read the readme, and i guess things didnt make sense to me. im backing up my sd card again just for sure, then im going format it and try to get the CID number. i tested dragging the adb program into the terminal window and everything worked, but i didnt have my phone plugged it.
i dragged the adb command into terminal and typed in the command: adb shell cat /sys/class/mmc2/mmc2:*/cid
and i got the response: adb, no such file or directory. i just cant make the goldcard. wtf, i cant get the CID number, i mean really. i downloaded ace hack kit v9, and the sdk thing.
also, i just got the platform-tools folder for the sdk, so i will try the things in the folder.
Related
Hi, I'm fairly new at developing android. Im having the hardest time making a virtual sdcard. can someone please give a some tips or a walkthrough. i've read all the how to's n googles dev forum.
ive gotten to the point where im in cmd.exe on windows
i opened the mksdcard.exe
the when i go to type in mksdcard 64M sdcard.iso
it says its not recogized as an internal or external command, operable program or batch file.
CAN ANYONE PLZ tell me whats going wrong. im so anxious to start deving for android!!
SimPRoBer20 said:
Hi, I'm fairly new at developing android. Im having the hardest time making a virtual sdcard. can someone please give a some tips or a walkthrough. i've read all the how to's n googles dev forum.
ive gotten to the point where im in cmd.exe on windows
i opened the mksdcard.exe
the when i go to type in mksdcard 64M sdcard.iso
it says its not recogized as an internal or external command, operable program or batch file.
CAN ANYONE PLZ tell me whats going wrong. im so anxious to start deving for android!!
Click to expand...
Click to collapse
You need to either add the sdk\tools folder to your path (PATH environment variable), or actually cd to the tools folder or fully specify the path. The error is Windows telling you it has no idea what this mksdcard thing you're talking about is because it can't find it.
This is pretty basic command line stuff, not Android specific--you can develop without knowing about it, but it's worth spending some time learning. (I recommend DOS for Dummies for DOS 6.2, if you can find it. Seriously. I've probably read that book a dozen times and I don't think there's anything like it for Windows. The modern cmd.exe isn't that different from command.com.)
Of course, you can also specify a virtual SD card when creating an AVD from the graphical SDK and AVD Manager, and skip the command line business.
ok i get what ur saying.
like i find the file through
c:\android-sdk-windows\tools\mksdcard.exe
then when it finds it
c:\android-sdk-windows\tools\mksdcard.exe mksdcard 64M sdcard.iso?
im confused
and when i make a sdcard in avd manager or watever its called my emulator cant find the sdcard. and even droid explorer cant see any of the emulators files. an idea what the problem could be or am i just blatently missing something?
SimPRoBer20 said:
ok i get what ur saying.
like i find the file through
c:\android-sdk-windows\tools\mksdcard.exe
then when it finds it
c:\android-sdk-windows\tools\mksdcard.exe mksdcard 64M sdcard.iso?
im confused
and when i make a sdcard in avd manager or watever its called my emulator cant find the sdcard. and even droid explorer cant see any of the emulators files. an idea what the problem could be or am i just blatently missing something?
Click to expand...
Click to collapse
You're making it too complicated.
Code:
> c:\android-sdk-windows\tools\mksdcard 64M sdcard.iso
Where "> " is just the prompt that's already printed on the screen. You only need the name of the command once.
ok so after i do that. it just gives me a fresh cmd line like i never typed anything in in the first place.
and when i go to look for the file its nowhere to b found.
is this normal?
wait!! i think i may have just found them
whats the most common method of emulating zip files that ppl make?
i would like to take the stock ui off of my phone and i would like to know how to pull my system folder to my PC and create an update zip and sign it. bc i used nandroid backup but it says that i don''t have a sd card in my phone and skips the backup to my sd card. i have the htc hero and the 2.1 update
Is your phone rooted? Did you install Google sdk on your pc? If so go to your command prompt. And CD to the folder that you installed sdk and go to the tool folder.
Do adb romount then adb pull system system once the system folder is pulled create a update zip. Do a search here on xda and you will find the signing zip and instructions can't post it replying from my phone.
still need help
i haven't used the command prompt for nothing on my phone so?? i don't know how to use the command prompt or what to type in on their. plz help
Take a look at this post may help you out.
http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
wow..ok i gave you the benefit of the doubt in the other thread..but you made 2 threads of the same thing in the wrong section of this forum. Thats a blatant disregard for the rules. if you needed things worked out that much you should have used the IRC chat.
Been trying all day to get ADB working with no chance, just my laptop is just too screwed up i guess. Wont go into details too much, but I did everything by the book from three different sources and everytime i tried to check it with cmd under the right tools directory, after hitting adb or adb kill-server or adb devices i always get the error that adb is that excutable in that directory so im at a lost.
But off of that matter, i found a great program called Sideload Wonder Machine, that automatally sideloads app with out the sdk or rooting (which ive already done anyways) and works find.
But my question is, why bother? Becuase i have download apk's to my computer, connect and monuted my g with debbuging on and just transfered the file to download and then opened it with any file opener and it easily installed no problem.
So my question is, does sideloading thru the computer which installs it on the device its self do a little trick or something that makes it better to do it that way, or is just moving the file myself to the download folder on my g tab and installing it through the g tab the same?
Thanks for your time.
P.S. sorry for being a windbag.
o and if your intersted in the sideloading program im talking about heres the link:
forum.androidcentral.com/android-sideload-wonder-machine/40770-ac-sideload-wonder-machine-windows.html
sorry about the old school copy n paste method, dont think i can post links yet.
Same idea i usually just use dropbox or bluetooth transfer ive only used adb a handful of times, if you get rootexplorer its even easier, no mounting /system the hard way
KushyMansbridge said:
Been trying all day to get ADB working with no chance, just my laptop is just too screwed up i guess. Wont go into details too much, but I did everything by the book from three different sources and everytime i tried to check it with cmd under the right tools directory, after hitting adb or adb kill-server or adb devices i always get the error that adb is that excutable in that directory so im at a lost.
But off of that matter, i found a great program called Sideload Wonder Machine, that automatally sideloads app with out the sdk or rooting (which ive already done anyways) and works find.
But my question is, why bother? Becuase i have download apk's to my computer, connect and monuted my g with debbuging on and just transfered the file to download and then opened it with any file opener and it easily installed no problem.
So my question is, does sideloading thru the computer which installs it on the device its self do a little trick or something that makes it better to do it that way, or is just moving the file myself to the download folder on my g tab and installing it through the g tab the same?
Thanks for your time.
P.S. sorry for being a windbag.
o and if your intersted in the sideloading program im talking about heres the link:
forum.androidcentral.com/android-sideload-wonder-machine/40770-ac-sideload-wonder-machine-windows.html
sorry about the old school copy n paste method, dont think i can post links yet.
Click to expand...
Click to collapse
Hi. I don't see a download folder on my gtab. Is that a folder you created, or am I just missing something?
Bob
BobK58 said:
Hi. I don't see a download folder on my gtab. Is that a folder you created, or am I just missing something?
Bob
Click to expand...
Click to collapse
If you don't have it yet, the Download folder will create itself when you download something via the web browser.
It looks like we may have some users that are new to rooting or to Android all together.
I posted these instructions in the perm root thread, but I figured putting them in their own thread would make it easier to find.
This is meant as a basic pre-cursor to following BCNice's perm root instructions.
I've added a link to TrueBlue_Drew's adb/fastboot guide here
If you use the method that I outline below just download his zip and extract the files to your desktop. Then move the fastboot file into your AndroidSDK\platform-tools sub directory. Thanks to Drew for putting together a great guide!
You will need fastboot installed to install BCNice20's recovery.img.
Make sure you have HTC Sync installed on your computer HTCSync
First download the SDK here
Make sure to dowload the installer_r09-windows.exe
Now install the SDK when prompted for the install path paste C:\AndroidSDK over the default path
Once you have installed it open it from the start menu
Select install packages
The main one we are concerned with is "Platform Tools"
Go to the start menu and right click on My Computer in XP Computer in Windows 7.
Select properties, then select advanced/advanced system settings in Windows 7, then environment variables, now go to the lower box (system variables) and select path then edit.
Paste the following as your path C:\AndroidSDK\platform-tools then select o.k.
Make sure you have temp root via Visionary or Z4.
On your phone go to Settings, Applications, Development, and make sure USB Debugging is checked.
Now connect your phone to your computer and leave the connection type as "charge only"
On your computer select Start, then run, type in CMD
Once in the Command Prompt enter
Code:
cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in
Code:
adb
If adb runs you are ready to start!
Type
Code:
adb shell
Then type
Code:
su
Allow Superuser on your phone
You are now in and ready to follow BCNice's directions
Here's some adb stuff that I found from the evo days that has linux, mac, and windows adb and some of the files it needs. I flashed the evo with it so it should work for the shift too. I used an all in one for the epic to root mine in windows. I just extracted the zip and ran adb inside it. I could have included that or instead but there were a lot more files in there pertaining to recovery, root exploits, and images of things I didn't know if they could safely be removed and still work or not. I used the mac version of the file in this package instead of running back and forth from win to mac. I purposely keep the win partition off the internet. Yeah, vmware works but sometimes it doesn't and I didn't want to risk anything when flashing a phone.
As usual, use at your own risk. It worked for me in the past so I don't see any reason why it won't work now. Make note of the adb program naming schemes because they aren't just "adb". I uploaded this because it was very useful to me in the past and I've always failed or got lost when trying to set up sdk per google's instructions. It's very stripped down so don't expect it to be as fully functional as the sdk would be.
If you want to do it the way I did then head over to the epic section and get the all in one root and recovery in the dev section, unzip it, then use the adb.exe inside. Don't use any bat files or scripts in there, you might brick the phone.
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
JigSawMan said:
As a Win7 64bit user, I had the additional steps of downloading and installing HTC Sync so that Win7 would install the proper drivers for my phone before I could use adb shell to access my shift.
Click to expand...
Click to collapse
Yes, of course, how could I forget that? You definitely need drivers for windows.
Anybody care to link me to a good guide for Linux mint/Ubuntu 64 bit?
I've done it on 32, but I can't find good resources for 64.
I used adbwireless and it worked first shot!
Time to work on some roms...;-)
Sent from my PG06100 using XDA App
So is there like a video review or a picture review of this. I am trying to do the steps, but the process is different from your steps. I have tried this on xp and windows 7
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
koolkid09 said:
When I get to this step
"On your computer select Start, then run, type in CMD
Once in the Command Prompt enter cd C:\AndroidSDK\platform-tools
The next line should pop up C:\AndroidSDK\platform-tools>
Now test adb by typing in adb"
It tells me "The system cannot find the path specified"
Can anyone help me.
all of my drivers are installed for my phone.
Click to expand...
Click to collapse
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
BrandoKC said:
You need to locate the SDK and rename it. It should be on your C drive in the program files folder and the android sub folder.
Once you have located the folder I believe is named android-sdk-windows right click on it and rename it to AndroidSDK.
Then open up a new window in My Computer on Windows XP or Computer on Windows 7.
Open the C drive and then drag the renamed AndroidSDK file over to the root of the C drive.(not in any folder)
Click to expand...
Click to collapse
Ok. I deleted everything and I am going to try over.
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
I've updated the original post with some more specific instructions for Windows 7.
I had to reboot my computer before I could move the SDK to the C drive and rename it.
The first time I entered the command prompt adb wouldn't work, but I closed it out and the second time it worked flawlessly.
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
koolkid09 said:
OK.. When I'm first trying to install it do I install it to C:\Program Files (x86)\Android\android-sdk-windows. That is the defualt place it wants me to install it to. (I am on Windows 7)
Click to expand...
Click to collapse
That will work! Once installed there and updated rename it to AndroidSDK and move it to the root of the C drive. You may need to reboot your computer before it allows you to edit the folder.
alanherrera59 said:
Ok thanks BrandoKc. Coming from windows mobile it would of tooken me a while to figure this adb stuff I out. I have a question??? I just finished rooting... if I hard reset does this break the root???
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
UGH! Now my SDK manager is not working. It pops up then goes away and I can keep it up. This is happening on this step "Once you have installed it open it from the start menu". I'm probably going to wait until the morning or somebody makes a video on how to do this because I'm getting frustrated.
Koolkid come to the IRC so we can help you
BrandoKC said:
Koolkid come to the IRC so we can help you
Click to expand...
Click to collapse
I sent you a PM.
BrandoKC said:
By hard reset I assume you mean factory reset. It may but you can re root if it does.
I'm glad to have helped. I know when I rooted my Hero I nearly shatted a bricked Hero.
Click to expand...
Click to collapse
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
alanherrera59 said:
Lol. As from my language... You can tell I come from windows mobile, in those forums we refered a factory reset as a hard reset and a soft reset as a battery pull
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Once we have a recovery you will definitely be able to wipe/hard reset/factory reset without losing root.
I would imagine at this point you should be able to without losing root also.
Left WinMo when the G1 came out and haven't looked back. Enjoy Android!
I downloaded the Android SDK on the website and the drivers from MotoDev and placed them on my desktop. I ran the drivers and they installed fine. I unzipped the SDK, created a new folder in my C: drive called AndroidSDK and placed the unzipped folder in that folder.
I opened Command Prompt and entered:
cd C:\AndroidSDK\android-sdk-windows\tools
then entered:
fastboot oem unlock
and got this error:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this issue.
I then went into the SDK and read the readme where it says that adb was moved. It says it was moved to platforms. When I open the folder there is nothing in there.
try the path that ends with "platform-tools" instead
Sent from my Xoom using XDA Premium App
Ok I figured it out. I clicked on something and it brought up a repo. I download the missing platform-tools.
I ran the commands again and I'm still getting the errors. Should I copy everything from platform-tools into the tools directory?
gqstatus0685 said:
I tried that also. I forgot to add that in my first post. There is nothing inside that folder. Am I missing adb? Is there a way to download it and drop it into that folder? I'm lost on this.
Thanks.
Click to expand...
Click to collapse
Did you open the SDK Manager and make sure all your packages are updated?
gnackattack said:
Did you open the SDK Manager and make sure all your packages are updated?
Click to expand...
Click to collapse
I did do that but cancelled after it installed the platform-tools. Should I let it download everything? It looked like it was going to take a long ass time.
**** I ended up downloading all the updates for 3.1 and entered the commands again. This time it was able to cd into the platform-tools but I can't enter the command fastboot oem unlock because I get error:
"fastboot" is not recognized as an internal or external command, operable program or batch file
Just my luck...
fastboot is in the "tools" folder, not the "platform-tools" folder.
gnackattack said:
fastboot is in the "tools" folder, not the "platform-tools" folder.
Click to expand...
Click to collapse
Ok I changed CD but now it's telling me it can't find a file that's located in platform-tools. Should I copy all the files from platform-tools and move them into the tools folder?
*********************************************************
Ok. I moved the file and it worked. My Xoom is unlocking. I have the worst luck when I borrow someone else's laptop.
Copy any files it tells you it can't find. I haven't encountered that issue myself, but that's the solution I've seen others recommend.
I'd like to thank Gnac and the other people who helped me achieve root with the issues I was having.
Anyway I have an SD card in my Xoom and I don't think it's working like it should. I downloaded a file manager, loaded a .zip on there of a theme I want to install but when I boot into recovery it's not there.
I've verified it's in the SDcard with the file manager and it's in .zip format. I'd prefer to flash it instead of adb'ing it because I keep all my .zip organized in folders on my SD card. Before inserting the SD card in the Xoom I did wipe it.
I'm rooted 3.1 and I have Busybox installed. I'm running:
[email protected] #2
Any ideas how I can get the files to be seen in recovery?