i have changed the .bat, and run it.
i think i made the things all right.
but i always get the model erro 100.
that is the .bat ,what i made.
xda3nbftool -x ms_.nbf ms_.nba 0x20040522
xda3nbftool -x nk.nbf nk.nba 0x20040521
xda3nbftool -x radio_.nbf radio_.nba 0x20040523
xda3nbftool -so T-MOB101 -sl CHS ms_.nba
xda3nbftool -so T-MOB101 -sl CHS nk.nba
xda3nbftool -so T-MOB101 -sl CHS radio_.nba
xda3nbftool -c -u NK.nba
xda3nbftool -c -u ms_.nba
xda3nbftool -c -u Radio_.nba
xda3nbftool -x ms_.nba ms_.nbf 0x20040522
xda3nbftool -x nk.nba nk.nbf 0x20040521
xda3nbftool -x radio_.nba radio_.nbf 0x20040523
del *.nba
and devicedata.txt
PM10A 0 A CHS S T-MOB101 1.03 07 0 7 1.03.169 1.05.00 CHS
did i do sth. wrong?
harlemyin said:
i have changed the .bat, and run it.
i think i made the things all right.
but i always get the model erro 100.
that is the .bat ,what i made.
xda3nbftool -x ms_.nbf ms_.nba 0x20040522
xda3nbftool -x nk.nbf nk.nba 0x20040521
xda3nbftool -x radio_.nbf radio_.nba 0x20040523
xda3nbftool -so T-MOB101 -sl CHS ms_.nba
xda3nbftool -so T-MOB101 -sl CHS nk.nba
xda3nbftool -so T-MOB101 -sl CHS radio_.nba
xda3nbftool -c -u NK.nba
xda3nbftool -c -u ms_.nba
xda3nbftool -c -u Radio_.nba
xda3nbftool -x ms_.nba ms_.nbf 0x20040522
xda3nbftool -x nk.nba nk.nbf 0x20040521
xda3nbftool -x radio_.nba radio_.nbf 0x20040523
del *.nba
and devicedata.txt
PM10A 0 A CHS S T-MOB101 1.03 07 0 7 1.03.169 1.05.00 CHS
did i do sth. wrong?
Click to expand...
Click to collapse
me 2
wich model magician do u use?
mdac?o2 mini?or imate?
i got the way.
u must put PM10A into bat
just like this
xda3nbftool -x ms_.nbf ms_.nba 0x20040522
xda3nbftool -x nk.nbf nk.nba 0x20040521
xda3nbftool -x radio_.nbf radio_.nba 0x20040523
xda3nbftool -sd PM10A -so T-MOB101 -sl CHS ms_.nba
xda3nbftool -sd PM10A -so T-MOB101 -sl CHS nk.nba
xda3nbftool -sd PM10A -so T-MOB101 -sl CHS radio_.nba
xda3nbftool -c -u NK.nba
xda3nbftool -c -u ms_.nba
xda3nbftool -c -u Radio_.nba
xda3nbftool -x ms_.nba ms_.nbf 0x20040522
xda3nbftool -x nk.nba nk.nbf 0x20040521
xda3nbftool -x radio_.nba radio_.nbf 0x20040523
del *.nba
if u don't add "-sd PM10A", the file ms_.nbf still contains "PM10A". But if u add "-sd PM10A" in the bat file, it makes "PM10A" to "PM10A.....". I don't know why :shock:
Related
I've been playing Scriabin, it is so difficult, make me think, if someone with unlocked CID G4 can help us to get the CID block for G4 unlocked CID using pdocread.exe it will be harmful only reading his CID block.
So please if someone with G4 CID unlocked use this 2 commands and someone with CID locked too please.
Pdocread.exe -n 1 0 0x40000 cidblock.bin
Pdocread.exe -n 1 0x40000 0x4000 -b 0x4000 gsmdata.bin
And send me the 2 files (cidblock.bin& gsmdata.bin after compressing them solid rar or 7zip please) to my yahoo mail, please not only one CID locked and more CID unlocked, it may help me.
Hoping we can unlock the locked CID in free way.
Code:
pdocread.exe -n 1 0 0x10000 -b 0x4000 backup.bin
Pdocread.exe -n 1 0 0x40000 cidblock.bin
ok, about the harmful reading his CID block, I'll remove the IMEI from the unlocking tool, please trust me
and I'll make one for G3 who has 3.08 and didn't unlock his CID hope it will work
I've an unlocked G4 (I've pay for that).
I join my cidblock.bin.
So I can't extract gsmdata.bin : everytime the same message :
Code:
Pdocread.exe -n 1 0x40000 0x4000 -b 0x4000 gsmdata.bin
CopyTFFSToFile(0x40000, 0x4000, gsmdata.bin)
ERROR: ITReadDisk: outbuf==NULL
If you've a trick for that, I'm ready to help you
I've make a test for gsmdatafile:
I've entered :
Pdocread.exe -n 1 0x4000 0x40000 -b 0x4000 gsmdata.bin
(original is Pdocread.exe -n 1 0x40000 0x4000 -b 0x4000 gsmdata.bin)
I join my file but I'm not sure it's a good method
thank you sir that will help me a lot, I can;t thank you enough
I need locked one g4 if some help me please
can you please do this
Pdocread.exe -n 1 0 allpart.bin
and attach the file
Chopin said:
can you please do this
Pdocread.exe -n 1 0 allpart.bin
and attach the file
Click to expand...
Click to collapse
From unlocked too?
cause it don't work :
Code:
D:\flashSPV\itsutilsbin>pdocread.exe -n 1 0 allpart.bin
HexdumpTFFSToStdout(0x0, 0x0)
no file extracted
thank u sir, that was so helpful, we don't need gsmdata, it not important, I just want to compare
Pdocread.exe -n 1 0 0x40000 cidblock.bin
is enough for the CID unlock tool
but I need more from other g4 and g3 phones it is ok, you can send it to my mail if you afraid to post it, and I'll remove the IMEI from the unlockig tool
ok, if you want more files from unlocked G4 contact me
salut
ca va?
pdocread.exe -n 1 0x000000 0x40000 -b 0x4000 backup.bin
please
ca me fair plsair working with you
in the last file Pdocread.exe -n 1 0x4000 0x40000 -b 0x4000 gsmdata.bin
I can see your Radio data in winhex? what Radio do you use, not 2.69.21 right
so if you change the sector size will read another area?
but thanks you helped me alot
you are using 2.47.21 right
Yes 2.27.21
Code:
pdocread.exe -n 1 0x000000 0x40000 -b 0x4000 backup.bin
make me an error : data error
ok if anyone wanna help I need these 2 fiels
pdocread.exe -n 1 0 0x10000 -b 0x4000 backup.bin
Pdocread.exe -n 1 0 0x40000 cidblock.bin
xvx45 said:
Yes 2.27.21
Code:
pdocread.exe -n 1 0x000000 0x40000 -b 0x4000 backup.bin
make me an error : data error
Click to expand...
Click to collapse
sorry the code was wrong
pdocread.exe -n 1 0 0x10000 -b 0x4000 backup.bin
please we need more fiels
pdocread.exe -n 1 0 0x10000 -b 0x4000 backup.bin
Pdocread.exe -n 1 0 0x40000 cidblock.bin
hope we can make it
Chopin said:
pdocread.exe -n 1 0 0x10000 -b 0x4000 backup.bin
Click to expand...
Click to collapse
not work.
my code :
Code:
D:\Downloads\flashSPV\itsutilsbin-20070705>pdocread.exe -n 0x10000 -b 0x4000 backup.bin
HexdumpTFFSToStdout(0x0, 0x200)
ofs=0 len=00000200 want=00004000 read=00004000 buf=00000000 need=00000200
00000000: fe 03 00 ea 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
*
00000040: 45 43 45 43 5c 5d 05 8c 5c 5d 05 00 00 00 00 00 ECEC\]..\]......
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
*
00000200:
no files generated
and for pdocread.exe -n 1 0x000000 0x40000 -b 0x4000 backup.bin
Code:
D:\Downloads\flashSPV\itsutilsbin-20070705>pdocread.exe -n 1 0x000000 0x40000 -b 0x4000 backup.bin
CopyTFFSToFile(0x0, 0x40000, backup.bin)
ERROR: ITReadDisk : read 00004000 bytes - Data errors.
i see ... i creade soon those files
thanks that will be so helpfull.
please some more
pdocread.exe -n 1 0 0x10000 -b 0x4000 backup.bin
Pdocread.exe -n 1 0 0x40000 cidblock.bin
NetrunnerAT please help me here
To dump Kaiser's ROM use itsutils pdocread.exe from itsme:
LIST NAND PARTITIONS
Code:
$ ./pdocread.exe -l
210.38M (0xd260000) FLASHDR
| 3.12M ([COLOR="DarkRed"][B]0x31f000[/B][/COLOR]) Part00
| 3.50M ([COLOR="DarkOrange"][B]0x380000[/B][/COLOR]) Part01
| 69.38M ([COLOR="Olive"][B]0x4560000[/B][/COLOR]) Part02
| 134.38M ([COLOR="Teal"][B]0x8660000[/B][/COLOR]) Part03
STRG handles:
handle e7489c1a134.38M (0x8660000)
handle 474960e6 69.38M (0x4560000)
handle c74b0fda 3.50M (0x380000)
handle 074b0eee 3.12M (0x31f000)
disk e7489c1a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 474960e6
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk c74b0fda
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 074b0eee
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
DUMP THEM!
Code:
pdocread -w -d FLASHDR -b 0x800 -p Part00 0 [COLOR="DarkRed"][B]0x31f000[/B][/COLOR] Part00.raw
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 [COLOR="DarkOrange"][B]0x380000[/B][/COLOR] Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 [COLOR="Olive"][B]0x4560000[/B][/COLOR] Part02.raw
pdocread -w -d FLASHDR -b 0x800 -p Part03 0 [COLOR="Teal"][B]0x8660000[/B][/COLOR] Part03.raw
and then rebuilding?
Hi, what's the best method (Vista) to upload the orginal HTC rom to a phone? What tool do i search for?
pof said:
To dump Kaiser's ROM use itsutils pdocread.exe from itsme:
Click to expand...
Click to collapse
Thanks for the guide to dump... manage to dump the spanish HTC WM6 ROM, and now i have two questions...
First is easy (i think), what is every partition of the dump? i suppose part03 is the imgfs, but can you give us more information about this?
Second one is do you think can be interesting uploading the dumped ROMs to the wiki (like in the hermes wiki)? If "yes" i can upload the spanish one.
Thanks again for your efforts.
i have followed the links but only downloaded pdocread.cpp
Anyone got pdocread.exe direct link
sparky77 said:
i have followed the links but only downloaded pdocread.cpp
Anyone got pdocread.exe direct link
Click to expand...
Click to collapse
You can download latest version here...
http://www.xs4all.nl/~itsme/projects/xda/tools.html
Think i will leave it untill someone does a site like mrvanx
thanks the only thing i could download "pdocread.cpp". no idea were to go fron here, and don't understand the Wiki (i may leave it to the pro's)
http://nah6.com/~itsme/cvs-xdadevtools/itsutils/src/pdocread.cpp
Thanks a lot!!!
But when i run pdocread.exe an error mag:
"Could not update itsutils.dll to the current version, maybe it is inuse?
try restarting your device, or restart activesync
or maybe your device is application-locked."
I restarted my Kaiser, still the same error...
Anyone could help?
ultimate said:
Thanks a lot!!!
But when i run pdocread.exe an error mag:
"Could not update itsutils.dll to the current version, maybe it is inuse?
try restarting your device, or restart activesync
or maybe your device is application-locked."
I restarted my Kaiser, still the same error...
Anyone could help?
Click to expand...
Click to collapse
ok now
HKLM\Security\Policies\Policies
valuename '00001001' was set to dword:2, change it to dword:1
ok now, I have the
3.12M (0x31f000) Part00
4.38M (0x380000) Part01
73.38M (0x4560000) Part02
129.88M (0x8660000) Part03
From my CHT Hong Kong version Kaiser, how can i flash it to my friend's WWE Kaiser?
ultimate said:
ok now, I have the
3.12M (0x31f000) Part00
4.38M (0x380000) Part01
73.38M (0x4560000) Part02
129.88M (0x8660000) Part03
From my CHT Hong Kong version Kaiser, how can i flash it to my friend's WWE Kaiser?
Click to expand...
Click to collapse
I've uploaded my CHT Chinese version ROM here:
http://www.sendspace.com/file/dc9abe
How do you put the .raw parts together to make a flashable image?
I want to upload t-mobile uk kaiser image.
Harsesis said:
How do you put the .raw parts together to make a flashable image?
I want to upload t-mobile uk kaiser image.
Click to expand...
Click to collapse
For now there is no way to repack the dumpeds ROM, we need to wait and make more research, seems we are near to get the way to do.
You need NBH file and HardSPL/KaiserCustomRUU (thanks to Pof) to flash a Kaiser.
Regards.
T-Mobile UK
210.13M (0xd220000) FLASHDR
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 68.00M (0x4400000) Part02
| 135.50M (0x8780000) Part03
Raw files available online here should anyone want them (62MB).
Russ
Is it possible to use pdocwrite to write back the raw files to your own device?
Deathace said:
T-Mobile UK
210.13M (0xd220000) FLASHDR
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 68.00M (0x4400000) Part02
| 135.50M (0x8780000) Part03
Raw files available online here should anyone want them (62MB).
Russ
Click to expand...
Click to collapse
Strange. On my T-Mob UK...
210.00M (0xd200000) FLASHDR
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 68.00M (0x4400000) Part02
| 135.38M (0x8760000) Part03
Notice the slightly smaller Part03.
Same ROM, same dates. Wierd!
ROM: 1.56.110.4
Date: 01/09/07
Radio: 1.27.12.11
Protocol: 22.45.88.07H
Has anyone figured out how to put the rom back together?
I want to flash my device once I get my rom backed up. I've got the customised cab files for t-mobile uk.
can anyone help?
Dumping my t-mobile NL rom right now.
210.38M (0xd260000) FLASHDR
3.13M (0x31f000) Part00
3.50M (0x380000) Part01
67.25M (0x4340000) Part02
136.50M (0x8880000) Part03
If anyone wants the raw files , please let me know.
On my UK T-Mobile Vario III:
210.25M (0xd240000) FLASHDR
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 68.00M (0x4400000) Part02
| 135.63M (0x87a0000) Part03
Which is really odd...
Recap:
Deathace
210.13M (0xd220000) FLASHDR
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 68.00M (0x4400000) Part02
| 135.50M (0x8780000) Part03
vfrvulcan
210.00M (0xd200000) FLASHDR
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 68.00M (0x4400000) Part02
| 135.38M (0x8760000) Part03
All using T-Mobile Vario IIIs.
jcespi2005 said:
First is easy (i think), what is every partition of the dump? i suppose part03 is the imgfs, but can you give us more information about this?
Click to expand...
Click to collapse
I'd quite like to know this as well - I'm assuming one of the sections is the SPL. It'd be nice to know which, so I can revert back to the factory SPL if needs be.
Sorry but i dont underrstand how i backup my original rom!
I have read something here in the forum but i couldent understand it!
I hhope im not stupid but can somebody post me the link that i understand how i do it perhaps in german?
Thx
http://forum.xda-developers.com/showthread.php?t=334680
Downloade Dir das Programm pdocread.exe
Speichere es in c:\bin
dann musst Du auf Start/ausführen klicken
gebe den Befehl CMD ein ok klicken
gehe in das Verzeichniss c:\bin
rufe das programm exakt so auf: pdocread.exe -l
(ist ein L)
Nun bekommst Du oben die Adressen sind in dem Thread bunt, wie z.bsp:
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 69.38M (0x4560000) Part02
| 134.38M (0x8660000) Part03
ACHTUNG: können bei Dir andere sein!
und danngibst Du jeweils wie im 2 Fenster angeführt für jede Adressse (nacheinander) ein:
pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x380000 Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x4560000 Part02.raw
pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x8660000 Part03.raw
NOCHMALS ACHTUNG DU MUSST EXAKT DIE ADESSEN VERWENDEN DIE DU AUSGELESEN HAST !!!
Das war der erste Teil und dann geht es hier weiter:
http://forum.xda-developers.com/showthread.php?t=337066
Mfg
TQM
Echt
Vielen Dank!
jetzt check ich es endlich!
lange gedauert aber danke
tqm said:
http://forum.xda-developers.com/showthread.php?t=334680
Downloade Dir das Programm pdocread.exe
Speichere es in c:\bin
dann musst Du auf Start/ausführen klicken
gebe den Befehl CMD ein ok klicken
gehe in das Verzeichniss c:\bin
rufe das programm exakt so auf: pdocread.exe -l
(ist ein L)
Nun bekommst Du oben die Adressen sind in dem Thread bunt, wie z.bsp:
| 3.12M (0x31f000) Part00
| 3.50M (0x380000) Part01
| 69.38M (0x4560000) Part02
| 134.38M (0x8660000) Part03
ACHTUNG: können bei Dir andere sein!
und danngibst Du jeweils wie im 2 Fenster angeführt für jede Adressse (nacheinander) ein:
pdocread -w -d FLASHDR -b 0x800 -p Part00 0 0x31f000 Part00.raw
pdocread -w -d FLASHDR -b 0x800 -p Part01 0 0x380000 Part01.raw
pdocread -w -d FLASHDR -b 0x800 -p Part02 0 0x4560000 Part02.raw
pdocread -w -d FLASHDR -b 0x800 -p Part03 0 0x8660000 Part03.raw
NOCHMALS ACHTUNG DU MUSST EXAKT DIE ADESSEN VERWENDEN DIE DU AUSGELESEN HAST !!!
Das war der erste Teil und dann geht es hier weiter:
http://forum.xda-developers.com/showthread.php?t=337066
Mfg
TQM
Click to expand...
Click to collapse
Can you please make this in english ?
Read the links, they are alredy in english and explain it how to do!
TQM
Hi, bei mir kommt immer dass das Programm keine Zulässige Windows 32 Anwenung ist. Mach ich irgendwas falsch?
Hey Guys,
I need a little help with just understanding what this error is, I'm trying to build AOSP 7.1 for a Sony E6853 and keep running in to it.
I haven't posed in the device specific forum as there's a lack of activity in there and this doesn't seem to be a device specific error but it is in the wrong place then please let me know.
The guide I'm following is here: http://developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-nougat-for-unlocked-xperia-devices/
Any help would be greatly appreciated, I'm a .net developer so building Android is pretty new to me .
Code:
[ 65% 31667/48245] target thumb C++: l...venc/src/video_encoder_device_v4l2.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc -I hardware/qcom/media/msm8974/mm-core/inc -I hardware/qcom/media/msm8974/libstagefrighthw -I out/target/product/satsuki/obj/include/qcom/display -I out/target/product/satsuki/obj/include/adreno -I frameworks/native/include/media/hardware -I frameworks/native/include/media/openmax -I hardware/qcom/media/msm8974/libc2dcolorconvert -I frameworks/av/include/media/stagefright -I frameworks/av/include/media/hardware -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc -I out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates -I out/target/product/satsuki/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/satsuki/obj/include -isystem device/sony/common-headers/kernel-headers -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -mfpu=neon -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBUG_LOW -DENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -USINGLE_ENCODER_INSTANCE -DMAX_RES_1080P -DMAX_RES_1080P_EBI -D_MSM8974_ -DUSE_ION -D_ANDROID_ICS_ -fPIC -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d -o out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.o hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp ) && (cp out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d >> out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; rm -f out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d )"
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:412:33: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) {
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:459:5: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
V4L2_EVENT_MSM_VIDC_CLOSE_DONE,
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:467:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1072:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:2771:67: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
DEBUG_PRINT_ERROR("Failed setting color format in in etb %x", m_sVenc_cfg.inputformat);
~~ ^~~~~~~~~~~~~~~~~~~~~~~
%lx
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc/vidc_debug.h:48:23: note: expanded from macro 'DEBUG_PRINT_ERROR'
ALOGE(fmt,##args)
^~~~
system/core/include/log/log.h:156:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
1 warning and 4 errors generated.
[ 65% 31667/48245] target Package: fra...amework-res_intermediates/package.apk)
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'gsm_alphabet_default_charset' is missing 90 required localizations: af_ZA am_ET ar_EG az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
warning: string 'wfcSpnFormat' has no default translation.
warning: string 'wfcSpnFormat' is missing 41 required localizations: az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: no entries written for dimen/password_keyboard_height (0x010500c3)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:50:50 (hh:mm:ss)) ####
Thanks in advance guys.
Hi Guys,
Trying to build 7.1 AOSP for Z5 Premium and keep running in to this, anyone have any idea what it means or how to fix it?
Code:
[ 65% 31667/48245] target thumb C++: l...venc/src/video_encoder_device_v4l2.cpp
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc -I hardware/qcom/media/msm8974/mm-core/inc -I hardware/qcom/media/msm8974/libstagefrighthw -I out/target/product/satsuki/obj/include/qcom/display -I out/target/product/satsuki/obj/include/adreno -I frameworks/native/include/media/hardware -I frameworks/native/include/media/openmax -I hardware/qcom/media/msm8974/libc2dcolorconvert -I frameworks/av/include/media/stagefright -I frameworks/av/include/media/hardware -I hardware/qcom/media/msm8974/mm-video-v4l2/vidc -I out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates -I out/target/product/satsuki/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/satsuki/obj/include -isystem device/sony/common-headers/kernel-headers -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -mfpu=neon -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBUG_LOW -DENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -USINGLE_ENCODER_INSTANCE -DMAX_RES_1080P -DMAX_RES_1080P_EBI -D_MSM8974_ -DUSE_ION -D_ANDROID_ICS_ -fPIC -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d -o out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.o hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp ) && (cp out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d >> out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.P; rm -f out/target/product/satsuki/obj_arm/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device_v4l2.d )"
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:412:33: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) {
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:459:5: error: use of undeclared identifier 'V4L2_EVENT_MSM_VIDC_CLOSE_DONE'
V4L2_EVENT_MSM_VIDC_CLOSE_DONE,
^
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:467:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:1072:26: error: invalid application of 'sizeof' to an incomplete type 'const int []'
int array_sz = sizeof(event_type)/sizeof(int);
^~~~~~~~~~~~
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp:2771:67: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
DEBUG_PRINT_ERROR("Failed setting color format in in etb %x", m_sVenc_cfg.inputformat);
~~ ^~~~~~~~~~~~~~~~~~~~~~~
%lx
hardware/qcom/media/msm8974/mm-video-v4l2/vidc/../vidc/common/inc/vidc_debug.h:48:23: note: expanded from macro 'DEBUG_PRINT_ERROR'
ALOGE(fmt,##args)
^~~~
system/core/include/log/log.h:156:52: note: expanded from macro 'ALOGE'
#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/include/log/log.h:453:38: note: expanded from macro 'ALOG'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:461:37: note: expanded from macro 'LOG_PRI'
android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/include/log/log.h:618:36: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, fmt)
^~~
1 warning and 4 errors generated.
[ 65% 31667/48245] target Package: fra...amework-res_intermediates/package.apk)
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'gsm_alphabet_default_charset' is missing 90 required localizations: af_ZA am_ET ar_EG az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
warning: string 'wfcSpnFormat' has no default translation.
warning: string 'wfcSpnFormat' is missing 41 required localizations: az_AZ be_BY bn_BD bs_BA en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES gu_IN hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP pa_IN si_LK sq_AL ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
warning: no entries written for dimen/password_keyboard_height (0x010500c3)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:50:50 (hh:mm:ss)) ####
Thanks.
7.1 hasn't gotten the kernel source ready yet.
Also you're building with O3? That's bound to break things.