yashsingh1/xdaforums huggingface dataset:
[Onetouch Idol 3 Android Development] Bradlee22:
I'm trying to create a backup of the 6039S (North American 16GB, 1-SIM/1-SD model), and am having some issues with fastboot.

ADB is working flawlessly, and I can boot into the bootloader. As petrov.0 noted earlier in this thread there is no dedicated bootloader screen, just the onetouch splashscreen displays.

I can enter:

fastboot -i 0x1bbb devices

and the device shows up: "6346ce6d fastboot".

However, when I go to run any of the OEM commands, e.g.

fastboot -i 0x1bbb oem device-info

it shows:

...

FAILED (remote: unknown command)

finished. total time: 0.016s

Any ideas? By all appearances the alcatel driver seems to be working, but could this still be a driver issue?
[Onetouch Idol 3 Android Development] petrov.0:
Probably this problem is not related to the driver. Something is different in your device. By the way can you boot this recovery ?
[Onetouch Idol 3 Android Development] Bradlee22:
No, I can't boot this TWRP recovery either. I get the same error message: FAILED (remote: unknown command).
[Onetouch Idol 3 Android Development] petrov.0:
I must admit that the internal sd card has not been mounted properly until now. I found the proper way however how to do it. The first post has been updated and now contains a link to the recovery which includes the corrections. The configuration files with which I do these recoveries, are also publicly available now and can be found here. Nothing special but ...
[Onetouch Idol 3 Android Development] petrov.0:
Any output from

fastboot -i 0x1bbb getvar secure
fastboot -i 0x1bbb getvar version-bootloader
fastboot -i 0x1bbb getvar all
[Onetouch Idol 3 Android Development] Bradlee22:
Nothing useful from any of those.

fastboot -i 0x1bbb getvar secure

Output is:

secure:

finished. total time: 0.016s

fastboot -i 0x1bbb getvar version-bootloader

Output is:

version-bootloader:

finished. total time: -0.000s

fastboot -i 0x1bbb getvar all

Output is:

all:

finished. total time -0.000s

P.S. Thanks for your help. It's much appreciated!
[Onetouch Idol 3 Android Development] petrov.0:
remote: unknown command is a protocol error, as long as I understand the source. What is the host OS ? Windows ... which version ... did you try to start cmd.exe as administrator ? Which drivers you use ? On what port is your device connected (USB 2 or USB 3). Do you have access to a Linux box ? If you have try from there. I'm not sure how Windows handles the sharing of the USB ports with a virtual machine. You can try to start a distro in VirtualBox, which have option to expose a device connected on the host to the guest system and then to try fastboot from there.
[Onetouch Idol 3 Android Development] Bradlee22:
I'm on Windows 7, using a USB 3.0 port, and I did try running cmd.exe as administrator after your suggestion. The driver listed under "Android Composite ADB Interface" is provided by TCL and is version 6.0.0.0. If there's a separate driver for fastboot I'm not sure where to find it, though. I installed the Alcatel Qualcom USB drivers, so I'm assuming my machine is using those...

I'll load Ubuntu in VirtualBox when I get a chance and see if the linux route shows any promise. That's a great idea.
[Onetouch Idol 3 Android Development] Bradlee22:
Well, I won't clutter up this thread anymore with help requests, but attempting fastboot communication with my 6039S in Linux yielded the same results as in Windows: FAILED (remote: unknown command). ADB is fine, but fastboot refuses to cooperate.

If anyone else has this issue and finds a solution, please send me a message. Thanks. :)
[Onetouch Idol 3 Android Development] plumbe0:
Hi,i've tried to install TWRP using the fastboot command but, after running it several times, everytime i boot into recovery (via adb reboot recovery) i always get the stock recovery (see picture). When i run the fastboot command everything seems fine:

C:\Users\[hidden]\Desktop>fastboot -i 0x1bbb flash recovery twrp-2.8.7.0-idol3.img
target reported max download size of 268435456 bytes
sending 'recovery' (22018 KB)...
OKAY [ 0.704s]
writing 'recovery'...
OKAY [ 1.204s]
finished. total time: 1.908s

What can i do?
[Onetouch Idol 3 Android Development] petrov.0:
Did you install SuperSU from the TWRP recovery ? If not, the custom recovery is overwritten by the system. SuperSU removes the script which does this.
[Onetouch Idol 3 Android Development] plumbe0:
Damn, i just realized i replied to the wrong thread, i have the 6045y. I'll post in the other thread as well as trying your tip.
[Onetouch Idol 3 Android Development] Bostrot:
Is there a way to downgrade the device to reenable the fastboot commands?
[Onetouch Idol 3 Android Development] petrov.0:
No, for the moment. Check the Q&A section of this thread for more info.
[Onetouch Idol 3 Android Development] petrov.0:
First post has been updated with a link to a new recovery image for installation of modified updates.
[Onetouch Idol 3 Android Development] Rorshan:
Is there any reason other than convenience to flash TWRP instead of just booting it from a computer whenever needed?
[Onetouch Idol 3 Android Development] lohanbarth:
Hello,

link to google drive does not work,

can you give me another link.

thank you in advance.
[Onetouch Idol 3 Android Development] petrov.0:
Looks like google have some problems at the moment. The files are still shared according to google drive and the links are the same. I'm receiving error 502 too.
[Onetouch Idol 3 Android Development] lohanbarth:
Thank you,

so I'll wait until drive working again.

Thank you for your work.
[Onetouch Idol 3 Android Development] Scutariu:
Hello, I managed to install the root trought TWRP and then from the app, but everything I do..TWRP doesn't stuck fter rebooting, i did slide to flash the supersu from twrp, it just doesn't stuck..

Thank you for you work :D
[Onetouch Idol 3 Android Development] petrov.0:
If you want to flash the recovery use

fastboot -i 0x1bbb flash recovery <filename of the image>
[Onetouch Idol 3 Android Development] petrov.0:
... There is a button for this :p
[Onetouch Idol 3 Android Development] Scutariu:
A little heads up for those who want to wipe sd card/cache/dalvik cache, and data, after wiping (In my experience), when I hit reboot, I was stuck in a bootloop because TWRP folder was not created, so i had to go into twrp, and hit reboot again.

If you want to skip the annoying bootloop phase(Wich I think u do), u should proceed as next:

1. Wipe sdcard/data/cache/dalvik cache

2. Power off your device

3. Power back your device in recovery mode, and hit reboot, u should be prompted with the creation of twrp folder, after that, u should be ready to go, without any bootloop :D
[Onetouch Idol 3 Android Development] petrov.0:
The missing TWRP folder cannot be the cause. Why do you think that the system cares about its existence ?
[Onetouch Idol 3 Android Development] Scutariu:
Hmm, well, I think it's an conflict, considering that all the data(sdcard->where I think the twrp folder was located) was wiped, on bootup, the system was looking for that folder ? I don't know exactly, the "odd" thing is why twrp isn't prompting the creation of twrp folder after wiping the data? only after an reboot/shotdown of the device
[Onetouch Idol 3 Android Development] petrov.0:
Probably because the check which TWRP performs for its settings folder is only at boot time :p ... I don't see anything odd in this
[Onetouch Idol 3 Android Development] Scutariu:
Probably, I just posted my experience if interests anyone :)
[Onetouch Idol 3 Android Development] petrov.0:
Me too. This is a forum after all :)

By the way probably soon I will make a new version of the recovery which should include a fix for the wrong timestamps. I don't have enough space in the virtual machine for the source code at the moment :( ...
[Onetouch Idol 3 Android Development] evilinheaven:
The 6039J is a Brazilian dual sim. 16Gb. no SDCard.

Should any of the files work for me? mine doesn't seen to boot to fastboot.
[Onetouch Idol 3 Android Development] petrov.0:
Update

The first post has been updated. Now it includes only one link to the final version of the recovery. The date and the time are shown correctly now which means that the year of your backups will not be 1970 anymore :D. As I don't see any other bugs I think there will be no further versions from now on.
[Onetouch Idol 3 Android Development] sman789:
How does one remove TWRP and reinstall the stock recovery?
[Onetouch Idol 3 Android Development] petrov.0:
Either by first making a backup of the stock one and then flash the TWRP or by applying the install-recovery.p patch (if it is available) from the system (please don't ask me how).
[Onetouch Idol 3 Android Development] solquest3:
Hello.

I've recently got this phone (6039Y) and had updated immediately to firmware 5.0.2/01005.

I want to root it and to repartition the internal memory as you've shown in your precious guide, so before that I've followed this guide (for 6039Y with 8GB) for having back the fastboot commands.

I haven't had any problems doing it, and if I keep pressing power button and volume up I get in recovery mode.

In the Custom Recovery TWRP 2.8.7.0 thread you say "Please do not forget first to make a backup of the system partition by selecting System Image from the Backup settings. The backup image will be needed in order to install future OTA updates if available".

How do I do that backup? In recovery I don't see a Backup voice (I have install from sd card, from adb, then wipe, reboot...)

And after that how do I install TWRP recovery 2.8.7.0 so then I can flash the 6039Y_repartitioning.zip?

Sorry if these are stupid questions, but I rooted my previous device ages ago and I really can't remember anything...

Thanks for your job!

Sorry, I started writing it here, but now I realise I should have written to the Custom Recovery TWRP 2.8.7.0 thread...
[Onetouch Idol 3 Android Development] Moscow Desire:
Don't worry, I took the liberty of moving it into the proper thread.

In answer to your issues, I advise you to fastboot "boot" the correct TWRP recovery, and not actually flash it. Make sure the recovery is for your specific device (6039). That will be the one in the first post of this thread.

Note that it will take a few seconds for the TWRP recovery to actually display. Once TWRP is opened, Swipe the slider bar if prompted. The you can select the Backup button, and select what you wish to backup. In this case, you probably want "System". The backup button should be directly under the "Install" button.

Once that's done, you probably want to root it. Depending on what permutation of TWRP, you will either find an option to install SuperSU, or, you can attempt to exit out of TWRP and it will prompt you to install Superuser. It will give you 2 options, install from TWRP or Play. Use the TWRP option. Then reboot.

Depending on if you hold your mouth right, and the groundhog doesn't see his shadow, you may have to go to the Play Store and download the SuperSU app to get the GUI interface. This happened to me on my 6039, but not on my 6045.

Once that's done, and SuperSU works, then go back to TWRP and install the partitioning zip. Note that I have no need to use the zip, as I already have 16gb.
[Onetouch Idol 3 Android Development] Moscow Desire:
I have no idea. Original post was merged into the correct recovery thread in the 6039 forum. I suspect there is a bug somewhere, as it's not the first time things have been created in other forums. Most likely an indexing issue.
[Onetouch Idol 3 Android Development] solquest3:
Thanks a lot for everything, I'll try that tomorrow!!

In the other thread you say

Do you mean the drivers I can find here: mobile-upgrade-q-4-8-7-setup.zip?
[Onetouch Idol 3 Android Development] Moscow Desire:
Yeah, you're gonna need that one, but, you will need an additional small set of files that contain fastboot.exe and adb.exe with a couple of windows drivers. I've attached it to this post. Jst unzip it, and run the install to an easy location. By default it goes in Program files (x86).

Also, Alcatel pushed an update that killed the ability to use Fastboot. If you cantopen a Command window, and type adb reboot-bootloader, then type adb devices to make sure you only have one device attached, then type fastboot devices. If you get some funky error, then you need to go to the Dev thread that has the fix for enabling Fastboot after recent OTA. It's pretty simple.

Then, you will have fastboot back.

If you've been around flashing as long as a lot of have, then you get used to OEMs changing the playing field to make it annoying for us.

My guess is that Alcatel saw that we were repartitioning the memory and other things (as they were using 16gb nanos to save reordering and manufacturing costs) and they were probably losing a little money. So, take away fastboot. :eek:

Oh, and make sure you have USB Debugging set to on in your phone settings under "Developer Options". If you haven't, then scroll down and rapidly tap the "build number" several time to enable the option.
[Onetouch Idol 3 Android Development] solquest3:
Hmm...I'm stuck in the beginning..

Have extracted the drivers you kindly attached in the folder Minimal ADB and Fastboot, added twrp_recovery-2.8.7.0-idol347.img to same folder, opened command line from there but with adb devices I can't see anything.

Phone is on, connected to pc (and from pc I can see phone's folders), and with USB debug on.

What do I miss?

A couple of days ago I applied the fix for enabling Fastboot after recent OTA.. but maybe something went wrong and this is connected to that?

Thanks!
[Onetouch Idol 3 Android Development] Moscow Desire:
Not sure what went awry. ADB "should" be ok, as it only effected Fastboot. I usually keep my windows device manager open when I have issues connecting, as to insure the proper USB drivers are installed via the Alcatel Mobile Upgrade program. So check there when you plug in the phone. Also, when you plug in the phone, you "may" get a security notice on it, about connecting to this device. Put a check in the box, then allow it.
[Onetouch Idol 3 Android Development] solquest3:
Hello.

When I plug in the phone I only get the Auto Play windows asking me if I want to open the device for cheking files or to sync the media file with device....

In windows device manager I find the phone under the voice 'portable devices'.

When I first type 'adb devices' I get:

List of devices attached

* daemon not running. starting it now on port 5037 *

* daemon started succesfully *

If I type again 'adb devices' I only get

List of devices attached

When I tryed getting the fastboot back I installed the Mobile Upgrade Q 4.8.7 Setup.exe so now I have the folder Mobile Upgrade Q with its files. Do I have to do something there?

Cause when I go in windows device manager for Onetouch Idol 3 (4.7) in Drivers details I see drivers in C:\\Windows\system32..

Is it correct?

You can find screenshots attached.

Thanks as usual.
[Onetouch Idol 3 Android Development] Moscow Desire:
First off, it is necessary to enable USB Debug in the Developer Settings of the device. Go to Settings/About Phone and tab the "build number about 10 times quickly. It sounds like you do not have this enabled yet, and when you plug it in, you should see a strange icon in the status bar of the phone.

Also, like I said, when you plug it in, make sure the display is on so you can grant permission.
[Onetouch Idol 3 Android Development] solquest3:
USB Debug is enabled..when I plug it in the phone I have the icon you mean and the message "USB debug enabled" (and also "Connected as media device").

I tried now plugging phone with screen on but in the computer nothing else is happening apart from the Auto Play questions.. No question about granting something...

In windows device manager is coorect that I see those drivers that I attached in the previous post?

---------- Post added at 12:46 AM ---------- Previous post was at 12:11 AM ----------

Ok, I found it out.

Earlier I had the usb option 'media device (MTP)' set.

If I check the 'charge only' instead of that nothing changed, but if I check 'photocamera (PTP)', I got a popup asking for grants and then I saw the phone in adb devices.

So I've reboot into bootloader and booted the twrp recovery and had a backup of boot and system (couldn't do also the data and system image backup) cause I didn't have enought free space for all of them.

In TWRP I have Install - Wipe - Backup - Restore - Mount - Settings - Advanced - Reboot.

Do I have to press 'Install' for installing SuperSu and rooting? Or is that for something else? Cause I tried to Reboot it but had no prompt asking to install SuperSu..

Thanks again!
[Onetouch Idol 3 Android Development] Moscow Desire:
No problem. Glad you got it figured out.

Well, as far as installing SuperSu, there are a couple ways of doing it. It all depends on the version of TWRP.

Note that I am running the earlier version posted here.

1) when going to Reboot System, you get prompted to install SuperSU

or

2) Go to Install and select the option to install SuperSU (I haven't seen this yet, so I'm not exactly sure where it's located)

or

3) regardless of TWRP version, go to

http://xdaforums.com/showthread.php?t=1538053

and download the latest TWRP/CWM/Philz etc, flashable zip. Copy it to your SD card, boot TWRP and install it. After installing and re-booting, open it once and let it update the binary if applicable. Pretty sure this will work for you also.
[Onetouch Idol 3 Android Development] solquest3:
Done (with the third option)!

The only thing is that I haven't been asked for updating the binary once opened SuperSU.

But everything seems to work -and had also the repartitioning of the internal memory.

Now I only have to solve the problems installing xposed framework..

Thanks!
[Onetouch Idol 3 Android Development] gyb001:
This file can flash it? Does it work?

fastboot flash recovery twrp_recovery 0x1bbb i-2.8.7.0-idol3-6039y.img ??

Unlocked Bootloader, 6039H, Returned fastboot, repartitoned memory
[Onetouch Idol 3 Android Development] wiemar:
this commands working for me:

adb reboot-bootloader

fastboot -i 0x1bbb devices

fastboot -i 0x1bbb boot twrp_recovery-2.8.7.0-idol3-6039y.img

there is chance to install this from qpst when someone got broken boot? because your twrp can update modified ota. its only question
[Onetouch Idol 3 Android Development] pivoq:
Would you mind giving me some hints about how you fixed the time stamps issue?

I'm experiencing this on my own twrp builds aswell..
[Onetouch Idol 3 Android Development] petrov.0:
You need the following line

TARGET_RECOVERY_QCOM_RTC_FIX := true

in BoardConfig,mk
[Onetouch Idol 3 Android Development] XdxH62:
everything works fine so far. I'm just missing a piece of information. How do I _install_ this version? Is there a reason why you don't provide a zip file for it?

Thanks for your work!
[Onetouch Idol 3 Android Development] CornelisJ:
Assuming that fastboot is working or re-enabled, you have two options:

1) Boot into the TWRP recovery image, and leave the stock recovery intact => follow instructions in opening post of this thread

2) Flash the TWRP recovery image into your Idol3 6039 model, overwriting the Stock recovery image.

If you want to use option 2 you should use fastboot with option "flash" instead of "boot". In other words, you should then type:

fastboot -i 0x1bbb flash recovery twrp_recovery-2.8.7.0-idol347.img

After you have flashed TWRP into your phone, you can Boot to Recovery Mode as follows:

- Power Off your Idol 3

- Press Volume UP + POWER buttons at the same time
[Onetouch Idol 3 Android Development] builderkage:
please help, it doesn´t matter what i do, everytime i get this message (i can't use linux and have drivers by android sdk)
[Onetouch Idol 3 Android Development] JordyXtz:
installed TWRP but does not work the wipe cache and wipe cache davilk my model is 6039J :crying:
[Onetouch Idol 3 Android Development] JordyXtz:
Screenshots
[Onetouch Idol 3 Android Development] JordyXtz:
help?????
[Onetouch Idol 3 Android Development] titub69:
Hi everyone, thanks for your help!

I'm sorry, I'm a but confused, is there currently a way to root a 6039Y model, with Android 5.0.2-01007? I'm stuck with only 4Go of storage, and it's really not enough, a lot of applications crash. I've checked thanks to a command on Terminal Emulator, and I really have a 8Go chip, but I hope that with a rooted phone, I could manage better the storage!

Last question, does WinDroid 3.0 work for my model?

Thank you very much!
[Onetouch Idol 3 Android Development] BeggarSifon:
worked for 6039s

worked for my 6039s which had the latest update. респект братухе Петрову.
[Onetouch Idol 3 Android Development] dimarzio49:
Stock rom for TWRP recovery?

Did somebody stock rom for TWRP recovery? ...6045Y
[Onetouch Idol 3 Android Development] Azanath:
Hi!

I have a strange problem

I can boot this recorvery by:

And every think works fine.

But when i try to flash it by:

i got this:

What im doing wrong?

Is this possible to flash ROM (like CM12.1) in booted TWRP? or it must be flashed?

I Would be greatfull if someone could help me

A.A.

Edit:

Och... i wrote "recorvery" not "recovery" .... that's why i was the only one guy in whole universe having this problem :D

Now everything works fine ;)
[Onetouch Idol 3 Android Development] futanarchy:
I'm using model 6039S. I've installed this via kingroot and dd to circumvent the fastboot problems in my firmware. Unfortunately it seems this recovery cannot wipe cache or dalvik? /cache appears to be unmounted and i'm not sure where dalvik is

here are the results of calling "mount" from recovery

~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=712376k,nr_inodes=157532,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=712376k,nr_inodes=157532)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/mmcblk1p1 on /external_sd type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/mmcblk0p25 on /system type ext4 (rw,seclabel,relatime,data=ordered)
~ # mount -a #to mount everything listed in /etc/fstab
mount: mounting /dev/block/mmcblk0p31 on /cache failed: Invalid argument
mount: mounting /dev/block/mmcblk0p37 on /data failed: Invalid argument
mount: mounting /usb-otg on vfat failed: No such file or directory
[Onetouch Idol 3 Android Development] petrov.0:
Perhaps a different partition table ?!? What is the output from

ls -l /dev/block/bootdevice/by-name/
[Onetouch Idol 3 Android Development] stayboogy:
6039s

anyone know why this recovery is yellow instead of blue? the images in the .img are blue but show yellow.

what gives?
[Onetouch Idol 3 Android Development] stayboogy:
i fixed the color resolution for the 6039s

it now shows cyan as it should instead of orange/yellow

http://www.mediafire.com/file/g9r0qcx2cffbst9/stayboogy-idol347-twrp-recovery.img
[Onetouch Idol 3 Android Development] thomas1313:
how you've flashed recovery? via fastboot flash command?
[Onetouch Idol 3 Android Development] maatty18:
hola, tengo un alcatel idol 3 (4.7) instale el root con kingroot empezo a dar errores como en superusuario, o no me deja restaurar de fabrica el telefono, tampoco puedo entrar en modo recovery, queda colgado en el logo del alcatel,y cuando quiero actualizar con mobile upgrade de alcatel me sale error porque no encuentra el puerto com..... no tiene el recovery TWRP.. nunca me dejo instalar xq en el fastboot me sale faild.. que solucion pueden darme?
[Onetouch Idol 3 Android Development] maatty18:
hola, encontraste solucion? en el mio pasa lo mismo
[AT&T LG G3] mrwilson1991:
Hey guys,

Not sure if this is a glitch or what is happening but the widget with smart notice the layout is all outta wack, I've tried to remove the widget, and replace it. And still have the issue tired rebooting same thing... It's really annoying have y'all had this issue and how did y'all fix it?