Closed Bug 994191 Opened 11 years ago Closed 11 years ago

[Tarako] Unable to update PAC files on Tarako devices on pvtbuilds

Categories

(Mozilla QA :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nkot, Unassigned)

Details

(Keywords: smoketest, Whiteboard: [b2g])

Opening this bug as we're currently blocked from fully testing Phone app on Tarako devices due to inability to update PAC files on Tarako pvtbuilds. Bug 988786, Bug 982531 (and possibly 993564) are some of the issues which confirmed to be reproducible only with old PAC file (Dialer-PAC_0121) There is a work in progress, will close this tracking bug once we get this issue resolved.
Failing Smoketest Bluetooth headset test case to this as I am unable to make/receive calls therefore I am unable to test the functionality of the headset. (See bugs in Comment 0) Device: Tarako 1.3T MOZ BuildID: 20140409004001 Gaia: 643f3e6676cbb89c62708a9f7cbef2edc795a552 Gecko: e757fdd55426
Component: GonkIntegration → General
Product: Firefox OS → Mozilla QA
As I understand it, you guys have the flash tool up and running but are unable to get the phone properly into download mode. Please see (and try) the updated instructions here: Personal tools Jhammink@mozilla.com Talk Preferences Watchlist Contributions Log out Navigation Main page Recent changes Random page Forum Phonebook PTO notification Toolbox What links here Related changes Upload file Special pages B2G Team/Tarako Contents [hide] 1 Downloading and Flashing Base Builds 1.1 Required Files 1.2 Instructions 1.2.1 Installation 1.2.2 Tool 1.2.3 Nightly Builds 2 Downloading and Flashing Builds in Ubuntu 2.1 Required Files 2.2 Instructions 2.2.1 Installation 2.2.2 Download 3 Q&A 3.1 ADB can't find the device. 3.2 fastboot seems stuck 3.3 Unable to install driver for x86-64 windows 3.4 Black screen after a make install-gaia? 3.5 Operation failed in windows downloading tool [edit] Downloading and Flashing Base Builds You must flash base builds from Windows. Need to disable driver signature enforcement on Win 7 x64: http://www.killertechtips.com/2009/05/06/disable-driver-signing-in-windows-7-using-group-policy-editor/ [edit] Required Files You'll need to download the following files from Google Drive, logged in with your Mozilla account. When a Google Drive page presents multiple files, be sure to download them all. Flashing Tools (Please see the instruction in Doc for detail) http://goo.gl/9Qc4UR USB Driver (DriverCoding), Last update: 27-2-2014 http://goo.gl/C43926 FFOS full image for Flashing Tools http://goo.gl/io4IzS (20140121) http://goo.gl/4Q9YAT (20140402) Android full image for Flashing Tools http://goo.gl/b0dfMy [edit] Instructions [edit] Installation You'll need to download the tool, driver, and the pac you need. 1. (Only for Windows 7 64bit) Reboot your PC and press F8 to enter boot options, choose "Disable Driver Signature Enforcement" http://goo.gl/kzt9R2 ( Another way is : bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS bcdedit -set TESTSIGNING ON See security risk warning above. If it doesn't work for whatever reason you can just remove loadoptions with bcedit and switch testsigning off. bcdedit /deletevalue loadoptions bcdedit -set TESTSIGNING OFF) 2. Install the "DirverCoding/DriverCoding/amd64/drivers/dpinst.exe" 3. Double click on "ResearchDownload/bin/ResearchDownload.exe" 4. Click the first icon on the top left to load target PAC release 5. (Optional) Click the second icon "Settings" to change system.img, userdata.img, and/or boot.img you want to flash 6. Press the start button 7. Remove the battery of Tarako device, press volume down button, connect the device to PC, and install the battery You should see the device start to download images [edit] Tool To download system.img, userdata.img or boot.img with oem tool, 1. load a PAC packet release by vendor. 2. click "setting" on oem tool, there will a "Download setting". On main page of Download setting, "system, userdata and boot" can be replaced by browse to the corresponding file. Then click start to download to finish. [edit] Nightly Builds Please refer to https://intranet.mozilla.org/QA/B2G_Tips_and_Tricks#Flash_PVT_Builds_via_autoflash_tool to flash the nightly builds from PVT server. [edit] Downloading and Flashing Builds in Ubuntu Now we support flash tarako pac in Ubuntu 12.04. [edit] Required Files You'll need to download these files from Google Drive, logged in with your Mozilla account. When a Google Drive page presents multiple files, be sure to download them all. Ubuntu linux usb driver http://goo.gl/8ZnLGq Flash Tool http://goo.gl/zOK6yf FFOS full image (2014/4/8) http://goo.gl/5WD0os [edit] Instructions [edit] Installation 1. Install Ubunut linux usb driver 2. Enter ttyUSB-sprd-driver_linux_20140406 folder 3. In command line: $sudo sh install.sh [edit] Download 1. extract sp6821a_gonk4.0.pac.gz 2. extract DLoader_20140401.zip 3. Enter DLoader_20140401 folder 4. Get Tarako into download mode: Remove battery from Tarako. Hold Volume rocker down. (Keep holding it down until step 6). Plug in USB. Install Battery. 5. In command line: $sudo ./DLoader -pac <pac file path> -dev /dev/ttyUSB0 -baud 460800 -nvbk false 6. press enter key again to start download. (Once it starts downloading, you can release the Volume rocker). (see also https://intranet.mozilla.org/B2G_Team/Tarako#Instructions). Please ni? me or ping me directly if you still can't get this working.
Sorry, ignore that last pastebomb - this is the important part: 4. Get Tarako into download mode: Remove battery from Tarako. Hold Volume rocker down. (Keep holding it down until step 6). Plug in USB. Install Battery. 5. In command line: $sudo ./DLoader -pac <pac file path> -dev /dev/ttyUSB0 -baud 460800 -nvbk false 6. press enter key again to start download. (Once it starts downloading, you can release the Volume rocker). (see also https://intranet.mozilla.org/B2G_Team/Tarako#Instructions).
Peter was able to get this running on the 32 bit windows machine over at the Seattle QAnalydocs site. He'll be flashing all the Tarako devices with the newer build that should have this fix. If this resolves the issue please close the bug.
I was also able to flash the PAC file using a 32 bit windows machine.
Marking as resolve dfixed by installing on windows 32 bit machine.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.