Related
Im trying to root my g2. 2 weeks ago i stumbled on a web page that explained how to do this but I was at a work computer and i can't find it anymore. what i remember is that u dont have to install adb on your computer. u put it in a folder in your sdcard and run terminal emulator to start the rooting process. But thats all i remember. Im missing something. I don't know what. Please somebody help me. Any advice?
This method can be done from the phone for the G2, but apparently people were having issues with the Desire Z.
http://forum.xda-developers.com/showthread.php?t=928160
Just go to the Dev forum and check the Wiki. Most rooting methods that require ADB can be accomplished with manually putting the files in the correct directories on your SD card and using the Terminal Emulator app on the phone to execute the commands.
Hi..!! Everyone I tried everything, I was going to unlock and root my xoom but I got stuck at this step:
7. fastboot flash boot rootboot.img
I get this error: "can't load rootboot.img"
I run fastboot reboot command and works, after reboots I try adb devices and my xoom shows but if I run adb remount I get this error:
"remount failed: Operation no permitted"
I tried everything search everywhere, update everything and NADA, I'm on a Windows 7 64bit.
Thanks and I hope somebody can direct me to the right path..
You will want to grant root access again using the adb commands. This happened to me once. You don't have permission to do this because it needs to have root access to carry on this operation. Try the root commands again to grant root access and then see what it does when trying to flash the rootboot files.
If that's not it come let us know. XDA will have your answer for sure.
Sent from my Droid using XDA Premium App
diablo2224 said:
You will want to grant root access again using the adb commands. This happened to me once. You don't have permission to do this because it needs to have root access to carry on this operation. Try the root commands again to grant root access and then see what it does when trying to flash the rootboot files.
If that's not it come let us know. XDA will have your answer for sure.
Sent from my Droid using XDA Premium App
Click to expand...
Click to collapse
I get stuck on step 7 of this guide below, so I think I never get to the point of getting root, but if I'm doing something wrong and I have to run some other commands please let me know.
1. Download the Motorola Xoom Root Zip file and unzip it. Download
2. Place the files in the SDK Tools folder.
3. adb reboot bootloader (You can skip the next 3 steps if you’ve unlocked with fastboot previously)
5. fastboot oem unlock (wait for reboot)
6. adb reboot bootloader
7. fastboot flash boot rootboot.img
7. fastboot reboot (wait for reboot)
8. adb remount
9. adb shell push su /system/bin
10. adb shell ln –s /system/bin/su /system/xbin/su
11. adb shell chmod 4755 /system/bin/su
12. adb push Superuser.apk /system/app
And thanks for making some time to reply, I try to get some help on other threads with no response.
dumb question: is rootboot.img in the same directory as everything else?
It sounds to me like your flashboot can't find it.
That's a good point from the poster above. I had trouble at the start with this and the SDK tools folder because I never messed with the adb shell too often because there never really has been a need for me to do so up until I got the Xoom.
OP... like this reply says above me, I am agreeing to as well. It looks like it might not be finding your rootboot. Make sure all root files are located in the very root of the SDK tools folder, and make sure all root files are not inside a folder. If they are please drag them into the tools folder and slap them all in there. It looks like a mess but it works. Do the same type of thing if you plan on flashing an overclock kernel. Always make sure that all files are NOT in folders when flashing something like this, and that they are always placed in the very root of the tools folder located within the SDK folder. Hope this helps.
About my above post... woops. I wasn't paying attention totally. It was late. I was thinking about when you are trying to install an overclock kernel and run into this problem that says that you cannot remount in adb. It does have to do with root access though.
Thank you very much guys I found what was my problem, I was running ADB straight from CMD window without navigating to my tool folder and always worked so I thought running step 7 will work, but NO I had to cd c:.....bla bla navigate to tool folder and do step 7.
Now I'm happily Rooted thanks again for your time guys, now to set up again my beautiful screens.
I'm having that problem where i'm trying to flash Tiamat Kernel on my Xoom and when i get to the remount i'm getting - remount failed: Operation not permitted . When you say grant root access again you talking about pointing it to the platform folder ?.
It sounds like those having problems are not very familiar with adb. Don't worry, we have all been there at one point. I would suggest that you use the one click method. No its not really a one click, more like a one click at a time method. But, it goes slow and you can see what it is doing as it goes along and has a nice tutorial from the op.
Sent from my HTC HD2 using XDA Premium App
jase33 said:
It sounds like those having problems are not very familiar with adb. Don't worry, we have all been there at one point. I would suggest that you use the one click method. No its not really a one click, more like a one click at a time method. But, it goes slow and you can see what it is doing as it goes along and has a nice tutorial from the op.
Sent from my HTC HD2 using XDA Premium App
Click to expand...
Click to collapse
No i'm not so good at it but i'm willing to or i want to learn . I used it for the first time when my Xoom was soft brick from installing a theme , i restored it with ADB and then use ADB to root ,so that's twice , the first time i rooted my Xoom i used the one click method because i was so afraid of ADB . Today the third time i was using it to flash a Kernel and at the remount i got into the problem above .
jawonder said:
No i'm not so good at it but i'm willing to or i want to learn . I used it for the first time when my Xoom was soft brick from installing a theme , i restored it with ADB and then use ADB to root ,so that's twice , the first time i rooted my Xoom i used the one click method because i was so afraid of ADB . Today the third time i was using it to flash a Kernel and at the remount i got into the problem above .
Click to expand...
Click to collapse
Are you trying to push something thru a ADB...???
Sent from my Xoom using XDA Premium App
lokko21 said:
Are you trying to push something thru a ADB...???
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Yes i'm trying to flash a kernel but at the remount step it's telling that : remount failed : operation is not permitted .
Please forgive me if this is covered in an earlier thread. I searched several different ways and found nothing.
I've been temp rooted with Visionary for a several months now with no real problems. Recently I decided to perma-root and try some other ROMs. I double checked all my settings and downloaded the appropriate root files and loaded them to the root directory of my sd card. When I open the Terminal Emulator and start going through the commands:
su
cd/sdcard/root
I get a "cd/sdcard/root: not found" response...?
I've double checked the location of the Root folder both using a file explorer and connecting to my computer. Is it my sd card? I haven't had any problems that I know of...?
Any help would be appreciated...
What bootloader do you have
pedaler said:
Please forgive me if this is covered in an earlier thread. I searched several different ways and found nothing.
I've been temp rooted with Visionary for a several months now with no real problems. Recently I decided to perma-root and try some other ROMs. I double checked all my settings and downloaded the appropriate root files and loaded them to the root directory of my sd card. When I open the Terminal Emulator and start going through the commands:
su
cd/sdcard/root
I get a "cd/sdcard/root: not found" response...?
I've double checked the location of the Root folder both using a file explorer and connecting to my computer. Is it my sd card? I haven't had any problems that I know of...?
Any help would be appreciated...
Click to expand...
Click to collapse
Sent from my HTC Glacier using XDA Premium App
You're missing the spaces.
And "root directory" means - NO directory. You should have copied the files to your SD card without putting them into any directory on it.
The command looks like that/:
cd /sdcard/
Make sure you didn't unzip the files...
Edit: sorry, don't unzip roms! But you haven't gotten that far! Sorry about that, my mistake.
Sent from my HTC Glacier using XDA App
pedaler said:
Please forgive me if this is covered in an earlier thread. I searched several different ways and found nothing.
I've been temp rooted with Visionary for a several months now with no real problems. Recently I decided to perma-root and try some other ROMs. I double checked all my settings and downloaded the appropriate root files and loaded them to the root directory of my sd card. When I open the Terminal Emulator and start going through the commands:
su
cd/sdcard/root
I get a "cd/sdcard/root: not found" response...?
I've double checked the location of the Root folder both using a file explorer and connecting to my computer. Is it my sd card? I haven't had any problems that I know of...?
Any help would be appreciated...
Click to expand...
Click to collapse
If i remember correctly its cd /data/local not cd/data/local make sure you hit the space bar between cd and /
This was the culprit....I didn't have a space in the correct place. I can't believe I over looked that one...Thanks
Ok guys, i have truly screwed up. Im not sure if this is the right thread, but i need some serious help! I had my kindle fire rooted and flashed with cm9. It was running great then next thing i know i was getting spammed with "Sorry but the process com.android.phone has stopped working." everytime i click ok it would pop up again instantly. I looked online and it suggested a double-system wipe. So i did, but without thinking, i wiped the SD folder too! Which deleted my rom! My back ups are gone, i cant restore to anything! I still have TWRP v2.1.1 on it though. But when i boot normal it just sits at a black screen, help me please....
Are u able to open in recovery mode ?
Sent from my GT-S5830 using xda premium
Manvendra05 said:
Are u able to open in recovery mode ?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
If you mean from the boot menu where it loads TWRP, then yes.
Josepho1997 said:
Mount your SD Card and transfer a new ROM, and then flash it. If you can't Mount, transfer the ROM via
adb push ROM /sdcard
And then flash it.
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
Im kind of new to the twrp, how do i mount my SD Card specifically? i can select mount but nothing shows up on my computer as Removable Disk like it did when i first put the ROM on there. I think my best bet would be pushing the ROM via adb, but could you explain more on how to do so?
Here let me help. I accidently did that this morning. If ur new to kf. adb is complicated. This adb free way. Not steppin on any ones shoes.launch twrp. Then go to mount it should be the bottom left button. Plug ur kf in . Then click mount usb. Then your kf should be connected to ur computer. From there you can go 2 ways download the stock rom. Or download any other custom rom. So download it and google apps on your comp. then copy and paste it somewhere on the kf sd card that you remember. On ur kf after the file is done copying hit unmount. Then reboot kindle and launch it into twrp again. then just hit install then locate the rom and coresponding g.apps then install it. Then ur good to go. I would back that up on the kf using twrp and create a folder on the comp and copy and paste the folders from kf to that just incase this happens again.
Jarodroll said:
Im kind of new to the twrp, how do i mount my SD Card specifically? i can select mount but nothing shows up on my computer as Removable Disk like it did when i first put the ROM on there. I think my best bet would be pushing the ROM via adb, but could you explain more on how to do so?
Click to expand...
Click to collapse
No he said he didnt know how.
Sent from my Amazon Kindle Fire using xda app-developers app
Nv ur right
If your having trouble when you go to mount in twrp make sure there are no checks in the boxes of data and system then select mount you should then see your sdcard contents likely you will only see the twrp folder if not you will need to adb push a ROM zip file and a gapps zip to your sdcard to have something to flash as Josepho instructed above if you can't figure out how to do this maybe someone can assist via teamviewer to do so
Josepho1997 said:
Copy the tools folder from KFU to your local disk.
Then copy your ROM to your local disk.
Then open cmd and type:
cd c:\tools
adb
adb push c:\ROM'SNAME.zip /sdcard
Then flash it in TWRP(Select Install and then select your ROM)
Note that you do need to have the drivers for your kindle fire installed.
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
Okay i typed
cd c:\tools then
adb then
adb push c:\cm9-02-24.zip /sdcard
^Is there supposed to be a space?
and it said
"daemon not running. Starting it now"
"daemon started successful"
"error: device not found"
I think its because its not connected through adb? In order for this to work my adb status must be online, correct?
Josepho1997 said:
Copy the tools folder from KFU to your local disk.
Then copy your ROM to your local disk.
Then open cmd and type:
cd c:\tools
adb
adb push c:\ROM'SNAME.zip /sdcard
Then flash it in TWRP(Select Install and then select your ROM)
Note that you do need to have the drivers for your kindle fire installed.
Sent from my Kindle Fire using xda premium
Click to expand...
Click to collapse
Okay, i typed
cd c:\tools
adb
adb push c:\cm9-02-24.zip /sdcard
There is a space between .zip and the / right?
Well anyways, the first time i attempted this, it came back with "error: device not found"
I later realized my adb status was offline, so i tried letting it boot through, but since i have no rom on there, it was just a black screen, but i rechecked my device stats and it said
"adb status: online
boot status: unknown" i then re-attempted to push the rom, but it took a few seconds and came back with a different message
"failed to copy 'cm9-02-24.zip' to '/sdcard' : is a directory"
I know the boot status is supposed to be like, 4000, but i cant figure out how to get it to say that. In TWRP, i can click mount and i have the four options for my cache, sdcard, so on and so on. Should i tick the sd card to where it says "mount sdcard" or "unmount sdcard" and should that be the only thing i mount or should i also mount something else with it? Im sorry for being such a pain in the you know what, but thanks for all yalls help.
Thepooch said:
If your having trouble when you go to mount in twrp make sure there are no checks in the boxes of data and system then select mount you should then see your sdcard contents likely you will only see the twrp folder if not you will need to adb push a ROM zip file and a gapps zip to your sdcard to have something to flash as Josepho instructed above if you can't figure out how to do this maybe someone can assist via teamviewer to do so
Click to expand...
Click to collapse
Okay, when i mount, it should show up under my computer folder im pretty sure, because i dont know where else it would come up. If that is the case, my kindle doesnt like to connect to my computer...The only time it comes up is when im in twrp and it says "Removeable Disk (E' But when i open it, there is absolutely nothing inside where all my files used to be...
Thepooch said:
If your having trouble when you go to mount in twrp make sure there are no checks in the boxes of data and system then select mount you should then see your sdcard contents
Click to expand...
Click to collapse
Is there any other possible way to see if my /sdcard is mounted???
i need help guys, please!
Jarodroll said:
Okay, i typed
cd c:\tools
adb
adb push c:\cm9-02-24.zip /sdcard
There is a space between .zip and the / right?
Well anyways, the first time i attempted this, it came back with "error: device not found"
I later realized my adb status was offline, so i tried letting it boot through, but since i have no rom on there, it was just a black screen, but i rechecked my device stats and it said
"adb status: online
boot status: unknown" i then re-attempted to push the rom, but it took a few seconds and came back with a different message
"failed to copy 'cm9-02-24.zip' to '/sdcard' : is a directory"
I know the boot status is supposed to be like, 4000, but i cant figure out how to get it to say that. In TWRP, i can click mount and i have the four options for my cache, sdcard, so on and so on. Should i tick the sd card to where it says "mount sdcard" or "unmount sdcard" and should that be the only thing i mount or should i also mount something else with it? Im sorry for being such a pain in the you know what, but thanks for all yalls help.
Click to expand...
Click to collapse
Try "adb push c:\cm9-02-24.zip /sdcard/" instead, I mean, since /sdcard is a directory...it sounds like it is trying to prevent you from overwriting a directory with a same-named file.
Also, it looks like your Fire is visible to ADB, but to be sure try "abd devices" and see if your Fire's serial number shows up. Probably does once you boot it through to the point where you get the error message about the directory.
Deleted everything on kindle fire hd 8.9
Hi Guys, i have been a complete idiot, managed to root kindle fire hd 8.9 installed twrp then found I couldn't add custom roms as computer was no longer seeing KF. couldn't mount usb. after two weeks of frustration and trying all combinations of installing and un-installing drivers etc got frustrated and instead of factory wipe I deleted everything. KF now doesn't show up on computer, turns on and stops at logo. occasionally unplug usb and plug back in it briefly shows up as Jem-tv- or something. so does it go in the bin or can it be rescued.
Mediamania
Ok..
I cleared delvik cache.. battery and decided to try out a new kernel.. now it hangs..
Now I only have an 8 gig.. I guess i cleared out the backup to save space because as I went to look for it, it was gone. Now I cant get any roms on the phone to reflash.. and i deleted the ROMs on there...
How do I get a rom on the phone to reflash it. Any help would be greatly appreciated.
Thanks
Chris
Bump
Can anybody help with this? Basically is there a way to get files on the phone in recovery mode?
I'm sort of new... I see the side load but not sure how to use it. Says load the files on once activated but not sure how the relates to the computer. Or where I put the commands to do it. Thanks.
Chris
Sent from my SGH-I747 using xda app-developers app
You are running a custom recovery right?
You can use adb to push files when booted into a custom recovery.
The command used would be
Code:
adb push nameofzip /storage/emulated/0
To read more on adb check out efrants sicky http://forum.xda-developers.com/showthread.php?t=2010338 adb commands are about half way down on the OP.
When u say custom recovery do u mean CWM? I do have that... and my computer registers the phone when I plug it in. But nothing pops up. I don't think USB debugging is on...
I'll check out the link.
Sent from my SGH-I747 using xda app-developers app
Yep, that is a custom recovery. If you have questions post them here. I'll be around for a little while.
I think I am so close.
I got the adb and fastboot files, and upon checking devices in fastboot, it does say that my device is connected.
But I cant get the adb driver to put the files on my phone.
Im using "adb push -d C:\android1\cm-10.1-20121214-NIGHTLY-mako.zip
And it says device not found?
Sorry for the questions, but thank you for the help.
Chris
(and im in the directory where the adb file is located)
(Once I get this resolved... im always gonna have one backup on my phone)
wizshaw said:
I think I am so close.
I got the adb and fastboot files, and upon checking devices in fastboot, it does say that my device is connected.
But I cant get the adb driver to put the files on my phone.
Im using "adb push -d C:\android1\cm-10.1-20121214-NIGHTLY-mako.zip
And it says device not found?
Sorry for the questions, but thank you for the help.
Chris
(and im in the directory where the adb file is located)
(Once I get this resolved... im always gonna have one backup on my phone)
Click to expand...
Click to collapse
Ok. The best way is to open the command prompt from the folder in which you have adb. The easy way to do that is hold down shift and right click. Then choose open window here.
Next, once you are booted into recovery type
Code:
adb devcies
If it returns a number then proceed to push the file. (Its easy to make a typo so change the file to something easy like cm10.zip)
So you would type
Code:
adb push cm10.zip /storage/emulated/0
I erased everything the other day by mistake and total noobishness Lol. I just used wugs tool kit to flash the stock image back. Might be useful if struggling with adb etc.
Sent from my Nexus 4
slymobi said:
I erased everything the other day by mistake and total noobishness Lol. I just used wugs tool kit to flash the stock image back. Might be useful if struggling with adb etc.
Sent from my Nexus 4
Click to expand...
Click to collapse
What is anyone going to learn by using a toolkit?! I commend the OP for putting in the time to learn how to use adb. So in the future if they were to run into a problem they would know how to easily fix it.
Sent from my Nexus 4
I got it guys.
I realized that fastboot and adb only get activated in their respective UI's... And i refined my CMD commands a bit after a little more reading.
Problem solved. And i learned more about the android platform in the process. Time well spent.
I want to formally thank you guys. This is why this community is great.
Chris