Help. Android fastboot oem off-mode-charge 0 for car install

Help. Android fastboot oem off-mode-charge 0 for car install

Author
Discussion

mattrosersv

Original Poster:

579 posts

232 months

Tuesday 5th August 2014
quotequote all
I now have my 7" tablet installed in my new TVR dash (ASUS Memo Pad 7HD). Runs my MSDROID, Shadowdash, Music (Via Bluetooth box to Aux port) and Nav.

The following command (Credit to sgrimshaw): fastboot oem off-mode-charge 0 - would be ideal for turning the tab on , if it works with this tablet.

I have got as far as rooting using framaroot direct from the device, enabling developer options and putting the tablet into Fastboot mode I am now stuck.

sgrimshaw posted a useful set of instructions here: http://www.pistonheads.com/gassing/topic.asp?t=142... but I am stuck as I cannot find R3Superboot.zip as the link does not work and I cannot find it elsewhere - also as I have already rooted (Or at least I think I have) do I still need to do this - Oh and is rooting the same as Unlocking bootloader?

I found a think called Eclipse, but frankly this just confused me. All the other instructions I can find just say enter the fastboot command and away you go, however this is obviously far too complex for my small brain to fathom.

So I have spent about 6 hrs trying to understand all this, but am still clueless and trying to avoid creating a brick that is now installed in the dash.

I am hoping some kindly soul can give me some very simple instructions to try this command.

Cheers!!

bulldog5046

1,495 posts

180 months

Tuesday 5th August 2014
quotequote all
I'm afraid i know bugger all about Android specifically but i did locate the superboot for you, here:

http://www.modaco.com/topic/348161-superboot-galax...

Regards,

mattrosersv

Original Poster:

579 posts

232 months

Tuesday 5th August 2014
quotequote all
Thanks for that! I did try searching, honest!! I was looking for V3 though Duh!

It talks about this rooting the device and installing SU and Superuser which I believe I already did with Framaroot direct from the device (Not sure if doing this has helped or not). I might give it a go tonight anyway (he says nervously while contemplating a bricked device…

Unless anyone else has any bright ideas….

Matt

OllyMo

596 posts

214 months

Tuesday 5th August 2014
quotequote all
Hi,

You don't need to root to unlock the bootloader and give the fastboot charge mode command.

Are you on PC or Mac? Have you connected the device, and does the command 'fastboot devices' give you anything in the terminal/command prompt?


bulldog5046

1,495 posts

180 months

Tuesday 5th August 2014
quotequote all
Matt, this would be my best guess at what you need to do (bear in mind i know nothing about Android devices):

1. Download the Superboot zip file above and extract to a directory
2. Put your device in bootloader mode - Turn off the phone then turn on with the 'volume up' and 'volume down' buttons both pressed to enter the bootloader
3. Command Prompt CD to your superboot directory (wherever you extracted it to in step 1).
4. Type "fastboot oem unlock"
By default, it should automatically be selected to "YES". Simply hit the POWER button ONCE and wait for a few seconds until it says "DONE" on the top left side of the screen

5. type "fastboot oem off-mode-charge 0"
6. THAT'S IT!!! Now reboot your tablet and test it out!

OllyMo

596 posts

214 months

Tuesday 5th August 2014
quotequote all
Essentially, you need the following steps:

1) Enter USB debugging mode on the device

2) Reboot the device into recovery mode (some combination of buttons, usually hold power+volume buttons on nexus devices - different for other manufacturers), and plug the device into your computer.

3) Install the android SDK on your computer. You need this to be able to run 'fastboot' commands.(http://developer.android.com/sdk/index.html)

4) In your command prompt/shell/terminal you need to move into the folder containing fastboot. (this is the stuff with the 'cd' command as shown in the other thread). You'll know you are in the right folder, when you can run fastboot commands. Try 'fastboot devices' and you should get a device name/number or some feedback as long as you have the device plugged in.

5) Once you get a response from 'fastboot devices', run the 'fastboot oem unlock' command to unlock the bootloader (click yes on the device screen as it will be asking y/n)

6) Run the charge mode command 'fastboot oem off-mode-charge 0'

All done. Reboot the device, power off, and plug it in to charge. All being well, it will startup.

OllyMo

596 posts

214 months

Tuesday 5th August 2014
quotequote all
Wizard above me just beat me to it. It's a lot simpler than the other thread was making out!

bulldog5046

1,495 posts

180 months

Tuesday 5th August 2014
quotequote all
OllyMo said:
Wizard above me just beat me to it. It's a lot simpler than the other thread was making out!
Your descriptions are better, i just copied the info from the other threads.

I'd probably just compile my own bootloader from the SDK. But I'm an iPhone users so we don't have a need to :P

OllyMo

596 posts

214 months

Tuesday 5th August 2014
quotequote all
Should probably add that, if you do brick it, don't blame me! But it is a pretty straightforward process, and there's nothing really that can go awry. It's not like you are flashing custom ROMs/rooting or anything with the method I've proposed

mattrosersv

Original Poster:

579 posts

232 months

Tuesday 5th August 2014
quotequote all
Thanks All. I'll give it a go tonight if I get to completing the final parts of the install (and the kids stay asleep while I am on babysitting duty).

Next step is to figure out how to use Tasker, but that is one for another day......

mattrosersv

Original Poster:

579 posts

232 months

Wednesday 6th August 2014
quotequote all
So I downloaded the Superboot R5.

Put the device (Asus Memo Pad) in Fastboot mode.

First I tried to click the BAT file as per instructions. In just came up with waiting for device in Command Prompt.

I then moved the folder to C: and opened a Command Prompt window. CD'd to the Superboot folder and tried fastboot devices, fastboot oem unlock etc and it just comes back with 'fastboot' is not recognised.

So either this Superboot thing does not work on my PC (Windows 7), it is not compatible with my device (Although I would still expect the command 'fastboot' to try and do something??) or I am being a computer illiterate tool....

Any suggestions gratefully received.

I also have a MAC so will give it a go on that.

mattrosersv

Original Poster:

579 posts

232 months

Wednesday 6th August 2014
quotequote all
Well, I had a go on the MAC and got this:

he-rosebud:r5-galaxynexus-superboot mattrose$ ./fastboot-mac oem unlock
ERROR: could not clear input pipe; result -536854449< waiting for device >
./fastboot-mac

Same happened to all the commands I tried.

Looks like I will just go with configuring Tasker for now (this is going to require some learning I think!!) , which should be OK since battery life on standby seems minimal and the screen turns on when power is applied.

Anyway, thanks for your help guys.

sgrimshaw

7,336 posts

252 months

Wednesday 6th August 2014
quotequote all
Stupid question perhaps, but since you don't actually say you did .......

Have you enabled USB Debugging on the Asus?

mattrosersv

Original Poster:

579 posts

232 months

Wednesday 6th August 2014
quotequote all
Thanks sgrimshaw,

I was not sure I had done this, but just checked and the box it ticked.

I had rooted using Framaroot, so unrooted (again using Framaroot) and still not working. I do still have SuperSU (Whatever that is) installed from the original root. I don't suppose this could be the issue??

Matt

sgrimshaw

7,336 posts

252 months

Wednesday 6th August 2014
quotequote all
Quite possibly.

From a quick google, you may need to re-root to be able to uninstall SuperSU.

Wiser men may be along soon though ...........


sgrimshaw

7,336 posts

252 months

Wednesday 6th August 2014
quotequote all
Another thought ..... have you installed the Asus Memo Pad drivers on the PC?

http://forum.xda-developers.com/showpost.php?p=393...

mattrosersv

Original Poster:

579 posts

232 months

Wednesday 6th August 2014
quotequote all
Errrr no..... I will try that tonight. Thanks!

Will report back.

OllyMo

596 posts

214 months

Wednesday 6th August 2014
quotequote all
Try installing the drivers as above if you want to do it on the PC.

Did you move the command prompt into the folder in which you have fastboot? You need the android SDK to be able to run fastboot commands.

Did you get to the point of receiving a device/serial no. when entering the command 'fastboot devices' on the PC/Mac?

Probably easier to attack this in steps!

mattrosersv

Original Poster:

579 posts

232 months

Wednesday 6th August 2014
quotequote all
Try installing the drivers as above if you want to do it on the PC.

Did you move the command prompt into the folder in which you have fastboot? You need the android SDK to be able to run fastboot commands.

- On Windows PC I downloaded Superboot extracted it to desktop and clicked on BAT file which launches command prompt and got 'waiting for device'.
- I then tried moving this folder to c: opened a command prompt and CD'd to the Superboot folder and tried entering the various commands suggested
- I have not done anything with an SDK - (Is this in the Superboot download)

Did you get to the point of receiving a device/serial no. when entering the command 'fastboot devices' on the PC/Mac?
- No it won't connect at all.

Probably easier to attack this in steps!

- I won't get a chance to have another go until tonight with PC drivers installed.

Thanks once again for your patience!

OllyMo

596 posts

214 months

Wednesday 6th August 2014
quotequote all
I think the Superboot part is confusing matters here. Superboot is a rooting tool, to root(!) the device. To accomplish what you want to do, which is issue a 'fastboot' command to the device, you don't need to be rooted, or even changing the boot image on the device, or anything like that.

However, if you have rooted, or installed another recovery image, or anything like that, that's ok - you can still access the fastboot mode, and issue the commands you need to.

The Android SDK I keep talking about is the software that will you allow you to issue Fastboot commands to the device. It's a download from google, and once it's on your computer, it has some folders that look roughly like this:



The fastboot executable, on the right hand side, is the important bit here. If you have the device plugged into your computer, in fastboot mode (i.e hold power and vol buttons or whichever command your Asus uses) with debugging on, then you will be able to issue the commands properly as long as you have CD'ed into the correct folder in your terminal application.

Fastboot mode on the device usually looks something like this: http://cdn.androidpolice.com/wp-content/uploads/2013/07/nexusae0_wm_20130726_143239.jpg.

If you've done all that right, you will be able to test 'fastboot devices' in your terminal and it will return your devices serial number. If that worked, you can then go ahead and do the fastboot oem unlock command and the charging specific command as well.