Root method thru ADB with a Mac-Please - Motorola Photon 4G

Can someone please list the correct steps line by line for us peeps with Mac computers. Maybe a stickie? Please. P.S. sorry if this was already posted somewhere but I could not find one relating to the MoPho.

Are you stuck anywhere in particular? Do you know how to use ADB? The only difference between windows and OSX when executing adb commands is needing to add ./ before adb

Ive used ADB back in the day to root the HTC Hero and knew there was that extra command to put but couldnt remember what it was. What u put ./ was what I forgot.

I rooted my photon from my mac and didn't need to use any special commands. I found a post online that explained how to create a hidden profile with a text document to the location of ADB on my comp and now when i go to terminal i don't need to CD to anything i just type adb and the command and it works like a charm i just copy pasted the commands from here into terminal.

laraiza said:
Ive used ADB back in the day to root the HTC Hero and knew there was that extra command to put but couldnt remember what it was. What u put ./ was what I forgot.
Click to expand...
Click to collapse
your welcome feel free to hit the thanks button

laraiza said:
Can someone please list the correct steps line by line for us peeps with Mac computers. Maybe a stickie? Please. P.S. sorry if this was already posted somewhere but I could not find one relating to the MoPho.
Click to expand...
Click to collapse
you should start a mac thread or request a mac section.

Related

Better shell ?

does anyone know how to add new commands to shell ? or it is possible to install bash or something similiar inside, once we have root now ?
this shell inside is really "cuted" and almost all "ordinary(standart)" command I am missing
e.g: more vi and so on
maybe it works in different way , if yes just correct me
Any try to help is appreciated , but please stay on topic. because I can see it is one of the biggest problem here ..
Have you downloaded the newest version of busybox in the marked? This gives you a lot more commands then the first version posted with the initial root, one if them is vi.
thermoska said:
does anyone know how to add new commands to shell ? or it is possible to install bash or something similiar inside, once we have root now ?
this shell inside is really "cuted" and almost all "ordinary(standart)" command I am missing
e.g: more vi and so on
maybe it works in different way , if yes just correct me
Any try to help is appreciated , but please stay on topic. because I can see it is one of the biggest problem here ..
Click to expand...
Click to collapse
I did this:
Download bash binary from here: http://forum.xda-developers.com/showthread.php?t=537827
You can either replace the default "sh" with this (warning: the "sh" binary is the one that gives you root privileges in the first place, so you might loose them, I'm about to experiment with this and would post more details soon) or keep them both.
Download ASE from here: http://code.google.com/p/android-scripting/
This gives you an easy bridge to Android java using a scripting language of your preference.
When you use adb you will have VI and such available. I don't know much about the varios unix/linux shells available but I know that ADB is offering a lot of ****
Diabolico said:
When you use adb you will have VI and such available. I don't know much about the varios unix/linux shells available but I know that ADB is offering a lot of ****
Click to expand...
Click to collapse
no.. that's what busybox is for

Root atrix with Mac OS X?

Anyone accomplished this?
If so, elaborate.
Thanks,
Its possible to do it with adb and the command line. Are you familar with using one?
Im very familiar with my mac. I've only used terminal twice to run some java code I wrote.
Sent from my MB860 using XDA App
dmappdev said:
Im very familiar with my mac.
Click to expand...
Click to collapse
i think he meant ADB and the command line
Ok, so the extent of my knowledge, as it pertains to ADB and terminal, is limited. I can search my mac for files using terminal. Thats it..
I too would appreciate someone to break it down for a n00b such as myself. I don't have a copy of windows so if there is a way without bootcamp that would be awesome!
I've ported DG's aRoot script to a mac form, but I've never done anything like this before so at the moment I'm waiting him to respond to a PM asking permission to post it.
I thought I remembered him saying somewhere that he gave public permission to use the script, but I've been unable to find it. If anyone can find me this link, I'll post it, otherwise I will as soon as I get DG's blessing (assuming he gives it).
Would you be able to use VMware Fusion for something like this - with windows installed? I was about to try that until I read this thread. May have dodged a bullet there. I've been reading this forum for weeks, very informative. Learnin' a bunch.
Cheers.

[Q] cr--rw---- error, can not get past it

So as the title suggests whenever I run the crackin.bat file in order to prepare my legend to be downgraded, it always displays the
cr--rw---- 1 1001 2002 90 line instead of the needed crwxrwxrwx 1 1001 2002 90 line.
I have looked everywhere to find a solution to this problem yet no matter where I look, everybody seems to be able to fix this by just either turning off and on their phone or wiping it. But I have tried all of those and, I have also tried doing this step on a different computer and reinstalling the needed files yet to no avail.
So if anybody has a possible workaround please do share it so I can finally root my phone after many tedious hours.
Sorry for the noob question and many thanks in advanced to anyone who can help me.
Azaruc said:
- Get visionary+
- Temproot your legend with it
- Use commandline with adb on your pc to flash misc1-2.img.
type the following commands from the folder where you have adb;
Code:
adb shell
su
accept the notification on your phone if one comes up
and then in the command line type this;
Code:
/data/local/flash_image misc /data/local/misc1-2.img
That should be enough to make it possible to run the 1.31 RUU.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=11863394&postcount=2
Ahh, thank you. I had come across that before but i just didn't think that it would help! Silly me.
Ok, is there an IRC chat for the legend somewhere, im STILL getting this error. I can't find visionary+ anywhere where im sure enough its not going to mess up my phone, and i aparently am missing the files needed however none of the guides have downloads of everything i need.
PLEASE can someone help me? im so confused nothing is making sense. I get to copying files from DxDrx but that is nonexistant, what am i missing?
Ok, i got passed this step by doing these steps
1: download visonary here
http://forum.xda-developers.com/atta...3&d=1290501865
or here
http://content.modaco.net/dropzone/com.modaco.visionaryplus.r13.apk
or you can get it off the market
Then download hack4legend here http://www.multiupload.com/I3ZALKWB6A and unzip it somewhere (this is adb and the rooting tools)
2: install and open up visonary on your phone and do a temp root on your phone.
3: open up cmd and type in the following
cd "your hack4legend path here but with out the "" "
adb shell
su
4: after you do that on your computer you should see a notification on your phone come up, it might take a little. Accept it.
5: type this into the command promt
/data/local/flash_image misc /data/local/misc1-2.img
6: run the 1.31 RUU and your good.
Hope this helps
Unreal_628 said:
Ok, i got passed this step by doing these steps
5: type this into the command promt
/data/local/flash_image misc /data/local/misc1-2.img
Click to expand...
Click to collapse
/data/local/flash_image: not found
what am i doing wrong? i had to copy the contents of hack4legend to my adb folder so i have adb, is that it? do i have to change the drectory somewhere?
Mmm, if their is a platform tools sub folder in the android sdk try putting the hack 4 legend in there and re trying. It will either have to go in there or the tools sub folder in the android sdk.
And also make sure that when you use the cd command make sure to not just go to the android ask folder but into the platform - tools/tools depending on where you put your hack, try putting it in both and using different paths. Also you might wanna try updating the adb module "android sdk platform - tools revision 3" through the sdk manager.
And as allways make sure you have usb debugging on and have your phone connected to the computer through charge mode only.

[Q] sbf_flash on mac

below is a short preface and introduction before the main point of this thread. you can skip the preface if you want.
PREFACE/INTRODUCTION
i am relatively new here. i owned a nexus one a year ago and sold it for an iPhone 4. left the iOS world and jumped over to the "fastest phone in the world" (GS2 doesn't count yet). had my device for 3 days and i love it. jailbreaking iOS was very easy for me and i am *somewhat* comfortable rooting and unlocking bootloaders on android. Nexus One was very easy from what I can remember. fastboot oem unlock i believe it was? CWM, flashing *.zips, etc. So I would like to think I am not a complete n00b, but when it comes to motorolas, i have no experience. i currently own a macbook pro as my main computer, however, i do have limited access to a notebook running vista. now to get to my point of this thread.
***************************************
MAIN POINT OF THREAD: sbf_flash tool
SBF_FLASH (Mac and Linux) executable for flashing *.sbf files to motorola android phones in lieu of RSDlite. **ATRIX is said to be supported
link: http: //blog.opticaldelusion.org/2011_04_01_archive.html (wouldn't let me post real link, sorry)
*note: originally the developer wrote separate scripts for linux and mac as mac uses mach-o executables while linux uses ELF, however, the updated version works on both linux and mac platforms.
i searched the forums and only found 4 posts related to the tool sbf_flash and none of them were related to the motorola atrix. therefore i felt compelled to write this post and see if anyone has used this tool. if you read my preface it stated that I have a mac and only limited access to a windows computer therefore . my main question is. has anyone used this tool to flash *.sbf files to their atrix? if so, were there any issues whatsoever?
**if no one has used this tool before, I will hold my breathe and take the plunge. I will gladly be the guinea pig for all you mac/linux users out there (mainly mac users as if I am not mistaken, linux users have someway of flashing *.sbf files?)
thank you for reading this post. if I do not receive any input in terms of user's experiences with this tool by July 12th 9:00PM (EST), I will attempt to use it and see what happens. very anxious to get the bootloader on my device unlocked and flash CWM and flash 2.3.4. but i will wait.
**EDIT: i am aware of the fact that I can use bootcamp, VMware, Parallels or essentially any Virtual Box to run Windows on my mac and use RSDlite, however, I feel that if a simple executable such as sbf_flash worked, if would save a ****load of time/frustration/hassles.
I have used it
I use sbf_flash daily for script making purposes and it works flawlessly with the Atrix. Make sure to make the script executable by typing the follwing command in the directory where u have it.
sudo chmod +x sbf_flash.sh
For example if u have the script in the downloads folder type this into the the terminal:
sudo sudo chmod +x /Users/username/Downloads/sbf_flash.sh
Then to flash an SBF type ./Users/username/Downloads/sbf_flash.sh name-of-sbf.sbf
Hope this helps. I have made a script for myself that automates this and would be happy to share it with you. However this is rather basic and I don't think you need a script. If you have any questions let me know.
ionstorm3 said:
I use sbf_flash daily for script making purposes and it works flawlessly with the Atrix. Make sure to make the script executable by typing the follwing command in the directory where u have it.
sudo chmod +x sbf_flash.sh
For example if u have the script in the downloads folder type this into the the terminal:
sudo sudo chmod +x /Users/username/Downloads/sbf_flash.sh
Then to flash an SBF type ./Users/username/Downloads/sbf_flash.sh name-of-sbf.sbf
Hope this helps. I have made a script for myself that automates this and would be happy to share it with you. However this is rather basic and I don't think you need a script. If you have any questions let me know.
Click to expand...
Click to collapse
I run windows 7 on ny mac so... yea
Sent from my MB860 using XDA Premium App
thanks for all the input (from both of you). im assuming if i cd into the directory where the sbf_flash file resides I don't need to include the path every time? i have some knowledge of C and limited C++ or object oriented programming knowledge as well. i would love to use your script that automates the entire procedure if you don't mind giving it to me. once again thanks for the advice.
correct me if i am wrong, but chmod -x essentially gives the file permission to execute? trying to remember all the different unix commands. sudo, cd, and ls are only ones i use on a consistent basis
I have realized that it is not necessary to chmod +x the script file. All you have to do is include a ./ in front of it. For example ./sbf_flash filename.sbf. Btw saw your guide on how to sbf flash under *nix, so not sure if this information is still useful to you.
oh and yes cd, sudo and ls are the commands to use on a constant basis.
hey guys, kinda new to linux and the atrix. running 10.04 im not sure if i have the sbf_flash.sh. i have a file that shows as a shell script, i hope thats right. anyway. i have followed the direction above and cant seem to get it to run. this is what i have.
sudo chmod +x /home/serooted/Desktop/sbf_flash.sh
I in return get.No such file or directory. any ideas that would get me rolling? really want to get rid of the "unlocked" from my moto splash screen
type the following in at the terminal. ls /home/serooted/Desktop/ and see if the sbf_flash file appears in the output.
ionstorm3 said:
type the following in at the terminal. ls /home/serooted/Desktop/ and see if the sbf_flash file appears in the output.
Click to expand...
Click to collapse
Yes the sbf_flash does show up in the output. so my question would be, how now do i get it to flash the file?
is there any way that someone can post a step-by-step guide to unlocking the bootloader for the mb860 running 4.5.91 on a mac as i don't have access to a pc and am un able to find a clear method to doing so. sorry I'm new to this :/

Revone 0.2 failing to map memory with no error code

For the last two days I have been trying this Ive been getting this error... EVERYTIME! I cant see that I am doing anything wrong in cmd. No clue what to do.
No luck with moonshine either
Also, installed Ubuntu, ran distiller... Nothing. It tells me to "run distiller again and READ" BTW, all radios were off when this happened
I'm not an expert by any means. But when you downloaded adb, did you download the sdk for android? If so, go to sdk manager and make sure you have all the options under tools installed. Secondly, did you rename it to revone.2.0? I used revone.DNA, and while it took me 24+ hours, and 100s of tries, I finally got it to go through. Just to confirm, so far you have pushed adb revone to the device via the adb push revone.2.0 /data/local/tmp, then adb shell, cd /data/local/tmp, chmod 755 revone.2.0? I have found that some people have gotten success from removing -P from the command.
---------- Post added at 06:42 AM ---------- Previous post was at 06:38 AM ----------
It may work easier if you move adb to a folder in C: and title the folder something like adb_android, and move the revone file in there as well. From there, you can go to the search bar, enter cmd.exe and it will bring you in directly at C:\ adb_android.
Why don't you post this as a reply to the revone thread? We don't need a new thread every single time someone runs into an issue s-offing their phone...
So Im not entirely sure how to open the sdk manager. I unzipped the adb folder (it was the ADT package), renamed it DNA and placed it under my C:\ drive. Also, I had downloaded the updated revone (revone-0.2) and just removed the dash and have tried removing and adding the -P with identical results.. I have also done many factory resets and still the same problem. From what it seems like, my problem would be with the sdk manager?
shobon said:
Why don't you post this as a reply to the revone thread? We don't need a new thread every single time someone runs into an issue s-offing their phone...
Click to expand...
Click to collapse
Im a new member and I'm not allowed to post in that section. Ive gone through darn near every page of that thread and it seems my problem was unique. Sorry for flooding the forum, I was just looking for some help.
jenniferstough said:
I'm not an expert by any means. But when you downloaded adb, did you download the sdk for android? If so, go to sdk manager and make sure you have all the options under tools installed. Secondly, did you rename it to revone.2.0? I used revone.DNA, and while it took me 24+ hours, and 100s of tries, I finally got it to go through. Just to confirm, so far you have pushed adb revone to the device via the adb push revone.2.0 /data/local/tmp, then adb shell, cd /data/local/tmp, chmod 755 revone.2.0? I have found that some people have gotten success from removing -P from the command.
---------- Post added at 06:42 AM ---------- Previous post was at 06:38 AM ----------
It may work easier if you move adb to a folder in C: and title the folder something like adb_android, and move the revone file in there as well. From there, you can go to the search bar, enter cmd.exe and it will bring you in directly at C:\ adb_android.
Click to expand...
Click to collapse
I installed java and got the sdk manager working, everything is installed and I still cant get it to work. ugh
SpacemanJake said:
I installed java and got the sdk manager working, everything is installed and I still cant get it to work. ugh
Click to expand...
Click to collapse
Tbh it took about my tenth time. I don't know why but if you don't want to switch to linux just keep trying
Sent from my HTC6435LVW using Tapatalk 2
SpacemanJake said:
For the last two days I have been trying this Ive been getting this error... EVERYTIME! I cant see that I am doing anything wrong in cmd. No clue what to do.
Click to expand...
Click to collapse
they released an updated zip... maybe try that. mine worked first time this morning no problems
i also cannot post a reply in the regular revone section.
when i download revone-0.2.1 it is not a .zip file...its just a file that cmd wont recognize when i try to push it to the device, it says its not a recognizable file. when i download revone, do i need to move the file to the same directory as adb and fastboot or what?
yes it needs to be in same folder as adb and fastboot
munchy_cool said:
yes it needs to be in same folder as adb and fastboot
Click to expand...
Click to collapse
do i need to change it to a .exe or anything?
nopes...
one last question (which probably should've been my first)...does the DNA already have to be unlocked and/or rooted to use revone? i thought i read that it needed to have an unlocked bootloader to use this.
Got it! Although revone did not work for me at all! I tried to install ubuntu but failed due to windows 8 issue. Downloaded MintLinux 64 bit, used LinuxLive USB Creator to put my .iso on thumb drive, and boot with usb hard disk. In Mint download the 32-bit libraries, download moonshine and run. Done! No adb needed in mintlinux, reboot pc without usb drive if you didnt want to install mint. worked flawlessly.

Categories

Resources