error: preprocess_file : Can not open file RUU.zip. Help!pls - One (M7) Q&A, Help & Troubleshooting

anyone know how I can fix that mistake , I flash my ruu but I get this error and do not know how to fix it:
C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip.

novatord said:
anyone know how I can fix that mistake , I flash my ruu but I get this error and do not know how to fix it:
C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip.
Click to expand...
Click to collapse
Post your fastboot getvar all and a link to RUU you're trying to flash. Be sure to delete your IMEI and serial no from getvar all
dey tuuk ur juurbs

novatord said:
anyone know how I can fix that mistake , I flash my ruu but I get this error and do not know how to fix it:
C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip.
Click to expand...
Click to collapse
Please don't start more than 1 thread for the same problem
http://forum.xda-developers.com/htc-one/help/htc-one-m7-help-t3349507
http://forum.xda-developers.com/announcement.php?a=81

Related

How To SetOperator

Hi everybody.
This worked for me so hope it helps you.
Extract Rom files, copy nk:nbf to your device folder ieH20B, copy SetOperator &
xda3nbftool(found in PH20B1) into PH20B copy this folder into C drive (C:\PH20B) or whichever is your
local/main drive
Now click Start-run,type cmd click ok
in the command line window type the following (where [ENTER] means hit the ENTER key)
cd \ (space after cd) [ENTER]
cd PH20B [ENTER]
SetOperator O2UK001 (your code) [ENTER]
when completed type exit [ENTER}
basically cd means change directory.
starting from c:\, and wanting to get to c:\my documents\pocket pc\helmi rom\ph20b, you would type:
cd c:
cd my documents\pocket pc\helmi rom\ph20b
setoperator .....................
I copied the folder Ph20B to C: drive to simplify the command prompt
if you type cd C: it just copies the same line of text
Type cd \
you get
C:\>
Type cd PH20B after >
you get
C:\PH20B> then type SetOperator & code after > and hey Presto you get
Setting Operator to[???????] for ROM
updated checksum to ????????
Completed
C:\PH20B> type exit after > to close prompt
stealph said:
if you type cd C: it just copies the same line of text
Click to expand...
Click to collapse
sorry, typo - i meant c:\
No problem
After searching for ages for a step by step guide, i remembered i'd done something with command prompt to intergrate XPsp2 into XP and it helped me to understand this.
Just hope it helps others

Modifications to the System and Structure of a Himalaya Part.2

MODIFICATIONS
In this part of the course, as a general rule, we modify our system.
It connects to the addition and removal of various types: application, file or even substitutions skins and overlays system. But we must remember not to reload the ROM to us, because when it comes to our device is limited to 32 MB.
Let's start now, modify the presentation of the sample. This applies in particular for new cooks. In this process, we can breathe lightly and not to think that somehow our uwalimy device. It is rare that the phone is not included in the substitution or deletion of a program.
Remember - all the changes shown in this article are just an example. The need to know (for this example) which add and remove what ... .. To do the work ....
​
First what we need in our oven, and a folder to obtain "dump"
Open kitchen, based on the command line, which is created in the first part of this course:
We viewed the 4 position, select:
[1] - This ROM dump
I wait until the process is complete ... ... ..
Upon completion, we can see each other, exactly the folder.
Then, for the subsequent work click on:
[2] - REGISTRY. dv To. rgu
In the root, we have established the following two files:
-default.hv
-user.hv
Both files opened with - Notepad + + . See a string, something like this:
Code:
REGEDIT4
[HKEY_CLASSES_ROOT \. Zip]
@ = "zipfile"
[HKEY_CLASSES_ROOT \. Rar]
@ = "PocketRAR"
[HKEY_CLASSES_ROOT \ SimToolkit.UI]
@ = "UI Toolkit"
[HKEY_CLASSES_ROOT \ SimToolkit.UI \ CLSID]
@ = "(7B58F1D9-1C13-440f-894B-B90680570A2D)"
[HKEY_CLASSES_ROOT \ ExSMime.MimeReader.1]
@ = "MIME Reader"
Important:
-> In the beginning we have to enter the registry:REGEDIT4
-> Also, see if between each key is at least one blank line, ie there is no entry
-> All files. Rgu save in UNICODE, so we have opened such as default.rgu in Notepad + + click File> Encoding> Unicode
-> New keys entered by us, can not double the old
In this way we have prepared a record, we can now freely edit.
Now, we'll file Initflashfiles.dat
With this file we will not have in total, no problems. The only thing we will be interested to add or remove tracks, of course, they are dependent on the arrangement of folders and applications, or the peaks appearing in them.
For a deeper understanding of an application to add a ROM, but it must be in OEM format, how to do this? This is described at some length on the Internet. The second of the output, are designed for the software, which of the files. Cab form OEM
Insert into the application:
Consider, for example, the Pocket RAR in OEM format. Open the folder, we are interested in it:
- inietflaszfiles.txt,
- *. rgu - Registry File
- PocketRAR.exe - program
- PocketRAR.lnk - shortcut
In the first instance, to copy the folder dump: - PocketRAR.exe - software
I PocketRAR.lnk - shortcut
Open your file initflaszfiles.txt to the OEM:
Code:
Directory ( "\ Windows \ Start Menu \ Programs"):-Directory ( "Accessories")
Directory ( "\ Windows \ Start Menu \ Programs \ Accessories"):-File ( "Pocket RAR.lnk", "\ Windows \ RAR.lnk Pocket")
copy its contents to the main Initflashfiles.dat from the dump. This is to look like this.
This is the end of the passage of this file:
Code:
......
;================================================= =========================
; SAP MASD customization settings
;================================================= =========================
Directory ( "\ Windows \ AppButtons"):-File ( "Calendar.lnk", "\ Windows \ calendar.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Contacts.lnk", "\ Windows \ addrbook.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Tasks.lnk", "\ Windows \ tasks.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Record.lnk", "\ Windows \ voice.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Camera.lnk", "\ Windows \ camera.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Messaging.lnk", "\ Windows \ tmail.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Camera.lnk", "\ Windows \ Camera.lnk")
Directory ( "\ Windows \ AppButtons"):-File ( "Comm Manager.lnk", "\ Windows \ CommManager.lnk")
Directory ( "\ Windows \ StartUp"):-File ( "BPInsert.lnk", "\ Windows \ BPInsert.lnk")
Directory ( "\ Windows \ StartUp"):-File ( "coldinit.lnk", "\ Windows \ coldinit.lnk")
Directory ( "\ Windows \ StartUp"):-File ( "bugtrap.lnk", "\ Windows \ bugtrap.lnk");
Directory ( "\ Windows \ StartUp"):-File ( "poutlook.lnk", "\ Windows \ poutlook.lnk")
Directory ( "\ Windows \ StartUp"):-File ( "HandsFree.lnk", "\ Windows \ HandsFree.lnk")
Directory ( "\ Windows \ StartUp"):-File ( "Welcome.lnk", "\ Windows \ welcome.lnk")
Directory ( "\ Windows \ StartUp"):-File ( "ScreenRotate.lnk", "\ Windows \ ScreenRotate.lnk")
;================================================= =========================
; End - SAP MASD customization settings
;================================================= =========================
;================================================= ================================================
; Pocket RAR Home
;================================================= ================================================
Directory ( "\ Windows \ Start Menu \ Programs"):-Directory ( "System")
Directory ( "\ Windows \ Start Menu \ Programs \ System"):-File ( "Pocket RAR.lnk", "\ Windows \ RAR.lnk Pocket")
;================================================= ================================================
; Pocket RAR End
;================================================= ================================================
Then, open *.rgu and copy its contents to default.rgu or user.rgu.
Writing kluchy, is dependent on its path. Each new path has to be in this part of the registry where the key begins in the same way.
An example of a registry entry for PocketRAR:
Code:
[HKEY_CLASSES_ROOT \. zip]
@ = "PocketRAR"
[HKEY_CLASSES_ROOT \. Rar]
@ = "PocketRAR"
So we have to place it where keys start with:
Code:
[HKEY_CLASSES_ROOT]
If the operation completed successfully, that the application will work poprawnie.Do modify the registry, are the various outputs, my way is not a last resort. This type of keys, and their removal also save our memory, which is extremely low.
We can also replace the driver or a new version of the program such as File Explore - in this case, replace the virtual memory address and the address of relocation, because otherwise this application does not start. Saved as a module, which is different from the file? Look up to our dump, you can see the difference at first glance, the content is located in the directory.
The fact is that the conversion module, with the newer ROM version, we also need to replace these two values as described above. Podmieniając file, we do not have the obligation to relocate, even under the old addresses.
Welcome to Part three of this Course
To translate the system - the relationship and functionality of files and modules ....
​

Htc one m7 help ?

Good morning my phone does not work , try putting on other software for the HTC SYNC and ****ed me . My phone is an HTC M7 VERIZON , I can access the hboot and recovery and when turned on shows black screen .
I tried to unlock the HTCDev and has not worked for me that is what shows me the bootloader
LOCKED *** ***
M7_WLV PVT SHIP S -ON RH
HBOOT - 1.61.0000
RADIO- 1.13.41.1209
OpenDSP - v35.120.274.0718
OS - 6.22.605.6
eMMC -boot 2048MB
November 30, 2015 , 16: 34: 38.0
novatord said:
Good morning my phone does not work , try putting on other software for the HTC SYNC and ****ed me . My phone is an HTC M7 VERIZON , I can access the hboot and recovery and when turned on shows black screen .
I tried to unlock the HTCDev and has not worked for me that is what shows me the bootloader
LOCKED *** ***
M7_WLV PVT SHIP S -ON RH
HBOOT - 1.61.0000
RADIO- 1.13.41.1209
OpenDSP - v35.120.274.0718
OS - 6.22.605.6
eMMC -boot 2048MB
November 30, 2015 , 16: 34: 38.0
Click to expand...
Click to collapse
You can't unlock a Verizon phone from HTCDev, Verizon asked HTC to block their phone from being bootloader unlocked.
Flash the 6.22.605.6 RUU
using instructions from this post
alray said:
You can't unlock a Verizon phone from HTCDev, Verizon asked HTC to block their phone from being bootloader unlocked.
Flash the 6.22.605.6 RUU
using instructions from this post
Click to expand...
Click to collapse
his method tells me it can not open the file ruu.zip you put the following look : C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip
novatord said:
his method tells me it can not open the file ruu.zip you put the following look : C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip
Click to expand...
Click to collapse
are you using htc_fastboot.exe?
Are you sure your RUU.zip file isn't named something else? Maybe double file extension (RUU.zip.zip)
Can you post a screenshot of your adb folder and a screenshot of your command window.

Unlocking Bootloader on HTC One M7

I can't unlock bootloader on my HTC One M7 (android 5.0.2).
When I type in cmd fastboot flash unlocktoken Unlock_code.bin I get error: can not load 'Unlock_code.bin'. My phone (in fastboot usb mode) is connected to a computer and all the files needed for it are in one folder
EDIT: I did what on this video and it worked https: //www youtube com/ watch?v=QU7vi388dMk
Silverowe Plejsy said:
I can't unlock bootloader on my HTC One M7 (android 5.0.2).
When I type in cmd fastboot flash unlocktoken Unlock_code.bin I get error: can not load 'Unlock_code.bin'. My phone (in fastboot usb mode) is connected to a computer and all the files needed for it are in one folder
Click to expand...
Click to collapse
Make sure that your fastboot device is detected. Type "Fastboot Devices" and make sure your device is detected. Double check spelling of the bin file and its location ( bin must be located in the same directory as fastboot unless you specify the full file path i.e. c:\SomeRandomFolder\unlock_code.bin).
Silverowe Plejsy said:
I can't unlock bootloader on my HTC One M7 (android 5.0.2).
When I type in cmd fastboot flash unlocktoken Unlock_code.bin I get error: can not load 'Unlock_code.bin'. My phone (in fastboot usb mode) is connected to a computer and all the files needed for it are in one folder
Click to expand...
Click to collapse
"can no load" is the generic error fastboot will output when it can't find the specified file. Most of the time it's because the file is not in the same folder as fastboot.exe (or wrong path to file in your command). It can also be caused by double file extension. Try to use your "TAB" key to autocomplete the file name:
"fastboot flash unlocktoken Unlo" then press TAB and it should auto-complete to "fastboot flash unlocktoken Unlock_code.bin" by itself if the file is in the right folder.

[Firmware][Official][GUAMP] How to install Firmware MOTO G9 Play official

This tutorial cover how to install the official motorola firmware in your MOTO G9 Play (Guamp) if you wipe the device. By now do not exist a stable ROM to use in this device, so you can recover the system following these steps. I use a GNU/Linux distro so the steps are using this O.S.
Prerequisites:​
- OEM Unlock: If you wipe the O.S, you already unlock it. To do this follow a tutorial like: https://www.getdroidtips.com/unlock-bootloader-twrp-moto-g9-play/
- Install adb and fastboot
- Check you have a Guamp device
- Get Firmware image.
Pre-Steps:​
First of all, install adb and fastboot if you don't have it:
sudo apt install adb fastboot
Click to expand...
Click to collapse
Second, check if you really have this version of the phone. To do this execute in shell:
fastboot getvar all
Click to expand...
Click to collapse
gives info about the product, check it is a guamp looking something like:
product: guamp
secure: yes
ro.carrier: reteu
ro.build.fingerprint[0]: motorola/guamp_retailen/guamp:10/Q
ro.build.fingerprint[1]: PX30.30-Q3-38-42/18649:user/releas
ro.build.fingerprint[2]: e-keys
ro.build.version.qcom: LA.UM.8.15.r1-05300-KAMORTA.0
Click to expand...
Click to collapse
Third, get a valid firmware. Firmware is normally compressed and will need to be unzipped before use, I used the lolinet mirror:
Go to lolinet guamp PLAYPL section at: https://mirrors.lolinet.com/firmware/moto/guamp/official/PLAYPL/,
Look for a Firmware and download it, I have tests XT2083-3_GUAMP_RETEU_10_QPX30.30-Q3-38-69_subsidy-DEFAULT_regulatory-XT2083-3-EUROPE-SAR_CFC.xml and it works well.
Uncompress it locally
Steps to flash the image​
Flash all binary required with the following command, if you prefer, you can do it one per one (Check that the image uncompressed have all the files in these commands before execute it, it may vary between versions):
fastboot getvar max-sparse-size && \
fastboot oem fb_mode_set && \
fastboot flash partition gpt.bin && \
fastboot flash bootloader bootloader.img && \
fastboot flash vbmeta vbmeta.img && \
fastboot flash radio radio.img && \
fastboot flash bluetooth BTFM.bin && \
fastboot flash dsp dspso.bin && \
fastboot flash logo logo.bin && \
fastboot flash boot boot.img && \
fastboot flash dtbo dtbo.img && \
fastboot flash recovery recovery.img && \
fastboot flash super super.img_sparsechunk.0 && \
fastboot flash super super.img_sparsechunk.1 && \
fastboot flash super super.img_sparsechunk.2 && \
fastboot flash super super.img_sparsechunk.3 && \
fastboot flash super super.img_sparsechunk.4 && \
fastboot flash super super.img_sparsechunk.5 && \
fastboot flash super super.img_sparsechunk.6 && \
fastboot flash super super.img_sparsechunk.7 && \
fastboot flash super super.img_sparsechunk.8 && \
fastboot flash super super.img_sparsechunk.9 && \
fastboot flash super super.img_sparsechunk.10 && \
fastboot flash super super.img_sparsechunk.11 && \
fastboot flash super super.img_sparsechunk.12 && \
fastboot flash super super.img_sparsechunk.13 && \
fastboot flash super super.img_sparsechunk.14 && \
fastboot flash super super.img_sparsechunk.15 && \
fastboot flash super super.img_sparsechunk.16 && \
fastboot erase carrier && \
fastboot erase ddr && \
fastboot oem fb_mode_clear
Click to expand...
Click to collapse
Check that all steps are OK, and then you can reboot the device:
fastboot reboot
Click to expand...
Click to collapse
If everything wen well, you should see the OS fingerprint: 0xc2224571 (or similar) and the device will start with the Motorola firmware normally. Enjoy the device until a stable rom release. Hope this helps.
Nice, but a for loop can be used instead of doing the fastboot flash super super.img_sparsechunk.0 command multiple times.
Code:
for i in {0..16}; do fastboot flash super super.img_sparsechunk.$i ; done
The shell should be bash.
Will it work with moto edge 20?

Categories

Resources