Kilrah 11 Posted July 7 Share Posted July 7 (edited) 1 hour ago, JJB said: (the mentioned page refers to OEM USB driver which do NOT include Pro1X or FxTec, can't find the mentioned generic driver and the Google USB Driver is meant for Google devices like Nexus, Pixel etc.) https://adb.clockworkmod.com/ 1 hour ago, JJB said: (it keeps me looping like forever between start page and Google login, there is no skip button, there is only "accept Google Services" even if WIFI is blocked for that MAC address specifically) As mentioned you must accept the terms (doesn't matter, you're offline anyway...) to continue. Then you're asked for login that you can skip. Edited July 7 by Kilrah 1 Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 9 hours ago, claude0001 said: As far as remember, you do have to "accept" the Google terms, even if you skip connecting the device to a Google account. That's probably because the Google Services are already installed in the Stock ROM, whether you want to use them or not. It's been a long time for me though ... That being said, the only point with enabling USB debugging in Stock Android is to trigger that initial reboot to the bootloader, which you can indeed also just do manually with the "Volume Dn + Power" combo. While there really is no special trick about it, let me try a step-by-step: Power off the device. In powered-off state, press and keep holding "Volume Down". Long press the power button to start the device, still keeping Volume Down pressed. Keep "Volume Down" pressed until the bootloader screen appears. Concerning adb and fastboot: I unfortunately have always only run the tools from a Linux PC (that being the natural environment for building Android), where installing them is trivial. The requirement for that USB driver is specific to Windows, so I unfortunately cannot help much there. However, afaik (and as @Kilrah wrote several times) there is nothing specific to the Pro1-X there. That "Google OEM driver" simply enables some low-level serial communication with the phone that is standard across all Android devices. This leads me to a black screen with a robot saying no command. Device seems frozen until it shuts off due to power save I guess. "ADB devices" tells "deamon not running" no adb.exe there to kill "adb kill-server" tells deamon not running" Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 9 hours ago, Kilrah said: https://adb.clockworkmod.com/ As mentioned you must accept the terms (doesn't matter, you're offline anyway...) to continue. Then you're asked for login that you can skip. Installed that drivers, no difference. Accepting Google services and singing contracts with dark emperor leads me to the UI finally. Activated USB debugging and developer mode. Tried to do that fastboot thing. See black screen with a robot mentioned above. Quote Link to post Share on other sites
Hook 2,940 Posted July 7 Share Posted July 7 58 minutes ago, JJB said: This leads me to a black screen with a robot saying no command. Device seems frozen until it shuts off due to power save I guess. This post that @Kilrahlinked you to says what to do at the No Command screen, Doing as instructed should take you to the recovery menu which should have the reboot to bootloader option. EDIT: Would have helped if I had actually included the link. Sorry. 1 Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 I see, volume up not down. Worked now. Can see bootloader screen. But still "adb devices" won't work. Also fastboot commands won't react. I have a Win 7 x64 here. Is it incompatible to the adb data loaded from https://wiki.lineageos.org/adb_fastboot_guide ? Do I need the complete Android studio instead ? Quote Link to post Share on other sites
Kilrah 11 Posted July 7 Share Posted July 7 adb won't work in bootloader, only fastboot. It's known to be finicky on Windows, I had to use a linux machine to flash ubuntu touch. Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 The target system actively refused connection: But the antivirus and firewall are all shut down. The Device shows a screen telling: "Press volume key to select..." and "FastBoot Mode" in red letters. I am in the right place, am I ? And what did you mean ? Is it a matter of Windows not being able to put images on android devices ? Quote Link to post Share on other sites
Kilrah 11 Posted July 7 Share Posted July 7 Adb doesn't run in bootloader. 5 minutes ago, JJB said: I am in the right place, am I ? Sounds like it 5 minutes ago, JJB said: And what did you mean ? Is it a matter of Windows not being able to put images on android devices ? just the tools can be unreliable on Windows. Supposed to work but sometimes just doesn't. Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 So I am in the right place/state sending the right commands ? Sorry for asking so silly, but I'm kinda lost in translation. I'm no native English speaker. I thought all these installation instructions are ready to use, the images are ready to use and it refers windows systems. Currently it looks like Windows (in my case Win7) is not a good place to try connect to android systems. So what chance do I have to get Lineage onto my phone finally ? Quote Link to post Share on other sites
Kilrah 11 Posted July 7 Share Posted July 7 5 minutes ago, JJB said: So I am in the right place/state sending the right commands ? Only command you showed was adb, so no. Instructions are here: https://wiki.lineageos.org/devices/pro1x/ Skip the unlocking bootloader page as it's already done, and any adb commands until after recovery flashing since you're already in bootloader. Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 (edited) I see, so I need to start with step 6 ? And should I skip: fastboot flash recovery recovery.img though they tell me other recoveries may not work for installation or updates ? Or is the placed stock recovery already similar with the one meant for lineageOS ? And what about the installation command ? It is a adb command also: adb -d sideload filename.zip "Fastboot device" at least seems to answer with an ID. Edited July 7 by JJB Quote Link to post Share on other sites
Hook 2,940 Posted July 7 Share Posted July 7 1 hour ago, JJB said: I see, so I need to start with step 6 ? And should I skip: fastboot flash recovery recovery.img though they tell me other recoveries may not work for installation or updates ? Or is the placed stock recovery already similar with the one meant for lineageOS ? And what about the installation command ? It is a adb command also: adb -d sideload filename.zip "Fastboot device" at least seems to answer with an ID. No you need to start with step 4. At the beginning of step 4, you are booted into the bootloader, where you can issue fastboot commands from the PC. You then use the command to flash dtbo.img (step 4) followed by the fastboot command to flash recovery.img (Step 5). As long as you stay connected in fastboot mode, you don't need to reboot to bootloader during these two steps. At the end of step 5, you can use the bootloader menu on the phone to reboot to recovery. Then you are ready for step 6. When you are in the Lineage recovery is when you can use adb commands. 1 Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 7 Share Posted July 7 Also remember that both ports and cables can be problematic with fastboot on newer PC's For me going through a hub helped connecting (It is still USB3.0, but something is different from when connecting directly), I guest that even a Thunderbolt hub, adds a tiny extra delay in the communication, and that helps getting fastboot working. Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 2 hours ago, Hook said: No you need to start with step 4. At the beginning of step 4, you are booted into the bootloader, where you can issue fastboot commands from the PC. You then use the command to flash dtbo.img (step 4) followed by the fastboot command to flash recovery.img (Step 5). As long as you stay connected in fastboot mode, you don't need to reboot to bootloader during these two steps. At the end of step 5, you can use the bootloader menu on the phone to reboot to recovery. Then you are ready for step 6. When you are in the Lineage recovery is when you can use adb commands. Everything works fine until I try to sideload. ADB commands are not accepted. Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 3 minutes ago, EskeRahn said: Also remember that both ports and cables can be problematic with fastboot on newer PC's For me going through a hub helped connecting (It is still USB3.0, but something is different from when connecting directly, i guest that even a Thunderbolt hub, adds a tiny extra delay in the communication, and that helps getting fastboot working. You mean if I change something on the physical connection it might support the ADB commandos ? Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 7 Share Posted July 7 9 minutes ago, JJB said: You mean if I change something on the physical connection it might support the ADB commandos ? I mean that the flashing is likely to fail on some connections. What is the error message you get from adb? After you have flashed the recovery image with fastboot you need to boot into recovery mode, bootloader mode on the phone does not understand adb-commands directly Here is the batch-file I use on windows for flashing: @ECHO off if %2.==. goto :EOF ECHO * Wait for boot to bootloader to finish (or do manually holding VolDown+Power) adb reboot bootloader pause echo * sending %~n1 fastboot --set-active=a fastboot flash boot %1 TimeOut 5 /nobreak>nul shift REM fastboot reboot recovery does not work, so do manually: ECHO * Roll down to "Recovery Mode" with VolDown, and press Power to select. :REPEAT ECHO * Await recovery boot. Select "Apply update", "Apply from ADB" for flash of ECHO * %~n1 pause ECHO * If prompted (shortly after 47%%) tap "yes" to "...Install anyway" adb sideload %1 TimeOut 5 /nobreak>nul shift if %1.==. goto :NORM ECHO * Back to main menu, select Advanced, "Reboot to recovery". goto :REPEAT :NORM ECHO * Back from the main menu, select Reboot. ECHO **DONE** Should now boot into the new rom Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 4 minutes ago, EskeRahn said: I mean that the flashing is likely to fail on some connections. What is the error message you get from adb? After you have flashed the recovery image with fastboot you need to boot into recovery mode, bootloader mode on the phone does not understand adb-commands directly Here is the batch-file I use on windows for flashing: @ECHO off if %2.==. goto :EOF ECHO * Wait for boot to bootloader to finish (or do manually holding VolDown+Power) adb reboot bootloader pause echo * sending %~n1 fastboot --set-active=a fastboot flash boot %1 TimeOut 5 /nobreak>nul shift REM fastboot reboot recovery does not work, so do manually: ECHO * Roll down to "Recovery Mode" with VolDown, and press Power to select. :REPEAT ECHO * Await recovery boot. Select "Apply update", "Apply from ADB" for flash of ECHO * %~n1 pause ECHO * If prompted (shortly after 47%%) tap "yes" to "...Install anyway" adb sideload %1 TimeOut 5 /nobreak>nul shift if %1.==. goto :NORM ECHO * Back to main menu, select Advanced, "Reboot to recovery". goto :REPEAT :NORM ECHO * Back from the main menu, select Reboot. ECHO **DONE** Should now boot into the new rom It looks like this: Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 7 Share Posted July 7 5 minutes ago, JJB said: It looks like this: "could not read ok from ADB server" That could be communication issues. Try a slower port. Have your PC got a USB2.0 port? If not try a hub. An ancient very primitive hub supporting USB 1.0 only, worked for me - quite slow, but it worked. Just to be sure that it not the issue. Could be driver also of course. Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 7 Share Posted July 7 BTW I do not use the -d option - I have no clue if that makes a difference Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 Just now, EskeRahn said: BTW I do not use the -d option - I have no clue if that makes a difference Tried with hub and without -d no difference. Quote Link to post Share on other sites
JJB 24 Posted July 7 Author Share Posted July 7 It might be driver. But which to take ? Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 8 Share Posted July 8 I had various issues when I got a new PC, and I posted them in here, but I forgot where, and also what driver I used, but i did 'something', it did not work out of the box as I recall it.... Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 8 Share Posted July 8 7 minutes ago, JJB said: It might be driver. But which to take ? It might be this posthttps://community.fxtec.com/topic/3462-usb-drivers-in-windows-10/?tab=comments#comment-61186 Quote Link to post Share on other sites
JJB 24 Posted July 8 Author Share Posted July 8 1 minute ago, EskeRahn said: I had various issues when I got a new PC, and I posted them in here, but I forgot where, and also what driver I used, but i did 'something', it did not work out of the box as I recall it.... From an official side there is no support for FxTec: https://developer.android.com/studio/run/oem-usb It might be that FxTec is similar to another manufacturer maybe. Quote Link to post Share on other sites
EskeRahn 5,421 Posted July 8 Share Posted July 8 I also found thishttps://community.fxtec.com/topic/3774-known-hardware-that-works-for-flashing/?tab=comments#comment-65063 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.