HELP | Forced 9008 mode | Nokia 8 | TA-1004 - Android Q&A, Help & Troubleshooting

Hi developers
I have a hard bricked Nokia 8 | TA-1004 | nb1 phone which is not responding to flashing the firmware. I have tried QFIL, OST-LA and other flashing softwares but the problem is that after flashing raw program & patch file, it reboots back to 9008 mode which unables any flashing software to flash the firmware. QFIL flashes only raw program & patch file, but not the firmware. My phone is not detected in adb or fastboot mode. There is no input on screen except when I force reboot it, battery low symbol is shown. I think only abl is being flashed but xbl is not being flashed. I am attaching log file of tool "OST628forAll_by_heineken78". After all processes mentioned in this log, the process stucks at Rebooting phone, where it disconnects and reconnect back to 9008 mode. Please help me in resolving this error. I have a basic knowledge of all this & no third party hardware is available with me.
14:08:21: INFO: Overall to target 9.907 seconds (1.89 MBps)
14:08:21: INFO: {percent files transferred 100.00%}
Writing log to 'C:\Users\S V J\Desktop\ost\port_trace.txt', might take a minute
Log is 'C:\Users\S V J\Desktop\ost\port_trace.txt'
Writing patch...
Binary build date: May 4 2016 @ 10:02:58
Build version: 16.05. 4.10.02.58
14:08:21: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
fh_loader.exe --port=\\.\COM6 --search_path=C:\435j\ --sendxml=NB1-0-435J-patch0.xml,NB1-0-435J-patch1.xml,NB1-0-435J-pa
tch2.xml,NB1-0-435J-patch3.xml,NB1-0-435J-patch4.xml,NB1-0-435J-patch5.xml --noprompt --showpercentagecomplete --zlpawar
ehost=1 --memoryname=UFS
************************************************
14:08:21: INFO: Current working dir (cwd): C:\Users\S V J\Desktop\ost\
14:08:21: INFO: Showing network mappings to allow debugging
14:08:21: INFO:
14:08:21: INFO: Trying to store 'NB1-0-435J-patch0.xml' in string table
14:08:21: INFO: Looking for file 'NB1-0-435J-patch0.xml'
14:08:21: INFO:
14:08:21: INFO: Trying to store 'NB1-0-435J-patch1.xml' in string table
14:08:21: INFO: Looking for file 'NB1-0-435J-patch1.xml'
14:08:21: INFO:
14:08:21: INFO: Trying to store 'NB1-0-435J-patch2.xml' in string table
14:08:21: INFO: Looking for file 'NB1-0-435J-patch2.xml'
14:08:21: INFO:
14:08:21: INFO: Trying to store 'NB1-0-435J-patch3.xml' in string table
14:08:21: INFO: Looking for file 'NB1-0-435J-patch3.xml'
14:08:22: INFO:
14:08:22: INFO: Trying to store 'NB1-0-435J-patch4.xml' in string table
14:08:22: INFO: Looking for file 'NB1-0-435J-patch4.xml'
14:08:22: INFO:
14:08:22: INFO: Trying to store 'NB1-0-435J-patch5.xml' in string table
14:08:22: INFO: Looking for file 'NB1-0-435J-patch5.xml'
14:08:22: INFO: User wants to talk to port '\\.\COM6'
14:08:22: INFO: Took 0.00000000 seconds to open port
14:08:22: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
14:08:22: INFO: If you don't want this, use --dontsorttags
14:08:22: INFO: Sending <configure>
14:08:22: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''
14:08:22: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
14:08:22: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
14:08:22: INFO: TARGET SAID: 'Patched sector 2 with 00ED3FFA'
14:08:22: INFO: TARGET SAID: 'Patched sector 15548411 with 00ED3FFA'
14:08:22: INFO: TARGET SAID: 'Patched sector 1 with 00ED3FFA'
14:08:22: INFO: TARGET SAID: 'Patched sector 15548415 with 00ED3FFA'
14:08:22: INFO: TARGET SAID: 'Patched sector 1 with 00ED3FFF'
14:08:22: INFO: TARGET SAID: 'Patched sector 15548415 with 00ED3FFF'
14:08:22: INFO: TARGET SAID: 'Patched sector 15548415 with 00ED3FFB'
14:08:23: INFO: TARGET SAID: 'crc start sector 2, over bytes 4096'
14:08:23: INFO: TARGET SAID: 'Patched sector 1 with E0C809E2'
14:08:23: INFO: TARGET SAID: 'crc start sector 15548411, over bytes 4096'
14:08:23: INFO: TARGET SAID: 'Patched sector 15548415 with E0C809E2'
14:08:23: INFO: TARGET SAID: 'Patched sector 1 with 00000000'
14:08:23: INFO: TARGET SAID: 'crc start sector 1, over bytes 92'
14:08:23: INFO: TARGET SAID: 'Patched sector 1 with 6B25F7BF'
14:08:23: INFO: TARGET SAID: 'Patched sector 15548415 with 00000000'
14:08:23: INFO: TARGET SAID: 'crc start sector 15548415, over bytes 92'
14:08:23: INFO: TARGET SAID: 'Patched sector 15548415 with C5B736FF'
14:08:23: INFO: TARGET SAID: 'Patched sector 2 with 000003FA'
14:08:23: INFO: TARGET SAID: 'Patched sector 1019 with 000003FA'
14:08:23: INFO: TARGET SAID: 'Patched sector 1 with 000003FA'
14:08:23: INFO: TARGET SAID: 'Patched sector 1023 with 000003FA'
14:08:24: INFO: TARGET SAID: 'Patched sector 1 with 000003FF'
14:08:24: INFO: TARGET SAID: 'Patched sector 1023 with 000003FF'
14:08:24: INFO: TARGET SAID: 'Patched sector 1023 with 000003FB'
14:08:24: INFO: TARGET SAID: 'crc start sector 2, over bytes 4096'
14:08:24: INFO: TARGET SAID: 'Patched sector 1 with F0212066'
14:08:24: INFO: TARGET SAID: 'crc start sector 1019, over bytes 4096'
14:08:24: INFO: TARGET SAID: 'Patched sector 1023 with F0212066'
14:08:24: INFO: TARGET SAID: 'Patched sector 1 with 00000000'
14:08:24: INFO: TARGET SAID: 'crc start sector 1, over bytes 92'
14:08:24: INFO: TARGET SAID: 'Patched sector 1 with 28BF3994'
14:08:24: INFO: TARGET SAID: 'Patched sector 1023 with 00000000'
14:08:24: INFO: TARGET SAID: 'crc start sector 1023, over bytes 92'
14:08:24: INFO: TARGET SAID: 'Patched sector 1023 with 00612B09'
14:08:25: INFO: TARGET SAID: 'Patched sector 2 with 000003FA'
14:08:25: INFO: TARGET SAID: 'Patched sector 1019 with 000003FA'
14:08:25: INFO: TARGET SAID: 'Patched sector 1 with 000003FA'
14:08:25: INFO: TARGET SAID: 'Patched sector 1023 with 000003FA'
14:08:25: INFO: TARGET SAID: 'Patched sector 1 with 000003FF'
14:08:25: INFO: TARGET SAID: 'Patched sector 1023 with 000003FF'
14:08:25: INFO: TARGET SAID: 'Patched sector 1023 with 000003FB'
14:08:25: INFO: TARGET SAID: 'crc start sector 2, over bytes 4096'
14:08:25: INFO: TARGET SAID: 'Patched sector 1 with BF82F588'
14:08:25: INFO: TARGET SAID: 'crc start sector 1019, over bytes 4096'
14:08:25: INFO: TARGET SAID: 'Patched sector 1023 with BF82F588'
14:08:25: INFO: TARGET SAID: 'Patched sector 1 with 00000000'
14:08:26: INFO: TARGET SAID: 'crc start sector 1, over bytes 92'
14:08:26: INFO: TARGET SAID: 'Patched sector 1 with F6144B6F'
14:08:26: INFO: TARGET SAID: 'Patched sector 1023 with 00000000'
14:08:26: INFO: TARGET SAID: 'crc start sector 1023, over bytes 92'
14:08:26: INFO: TARGET SAID: 'Patched sector 1023 with DECA59F2'
14:08:26: INFO: TARGET SAID: 'Patched sector 2 with 00002FFA'
14:08:26: INFO: TARGET SAID: 'Patched sector 12283 with 00002FFA'
14:08:26: INFO: TARGET SAID: 'Patched sector 1 with 00002FFA'
14:08:26: INFO: TARGET SAID: 'Patched sector 12287 with 00002FFA'
14:08:26: INFO: TARGET SAID: 'Patched sector 1 with 00002FFF'
14:08:26: INFO: TARGET SAID: 'Patched sector 12287 with 00002FFF'
14:08:27: INFO: TARGET SAID: 'Patched sector 12287 with 00002FFB'
14:08:27: INFO: TARGET SAID: 'crc start sector 2, over bytes 4096'
14:08:27: INFO: TARGET SAID: 'Patched sector 1 with 8B066F54'
14:08:27: INFO: TARGET SAID: 'crc start sector 12283, over bytes 4096'
14:08:27: INFO: TARGET SAID: 'Patched sector 12287 with 8B066F54'
14:08:27: INFO: TARGET SAID: 'Patched sector 1 with 00000000'
14:08:27: INFO: TARGET SAID: 'crc start sector 1, over bytes 92'
14:08:27: INFO: TARGET SAID: 'Patched sector 1 with CF11F92C'
14:08:27: INFO: TARGET SAID: 'Patched sector 12287 with 00000000'
14:08:27: INFO: TARGET SAID: 'crc start sector 12287, over bytes 92'
14:08:27: INFO: TARGET SAID: 'Patched sector 12287 with A72144D9'
14:08:27: INFO: TARGET SAID: 'Patched sector 3 with 0000C7FA'
14:08:27: INFO: TARGET SAID: 'Patched sector 51196 with 0000C7FA'
14:08:27: INFO: TARGET SAID: 'Patched sector 1 with 0000C7FA'
14:08:28: INFO: TARGET SAID: 'Patched sector 51199 with 0000C7FA'
14:08:28: INFO: TARGET SAID: 'Patched sector 1 with 0000C7FF'
14:08:28: INFO: TARGET SAID: 'Patched sector 51199 with 0000C7FF'
14:08:28: INFO: TARGET SAID: 'Patched sector 51199 with 0000C7FB'
14:08:28: INFO: TARGET SAID: 'crc start sector 2, over bytes 8192'
14:08:28: INFO: TARGET SAID: 'Patched sector 1 with 339D1567'
14:08:28: INFO: TARGET SAID: 'crc start sector 51195, over bytes 8192'
14:08:28: INFO: TARGET SAID: 'Patched sector 51199 with 339D1567'
14:08:28: INFO: TARGET SAID: 'Patched sector 1 with 00000000'
14:08:28: INFO: TARGET SAID: 'crc start sector 1, over bytes 92'
14:08:28: INFO: TARGET SAID: 'Patched sector 1 with BDF78EC5'
14:08:28: INFO: TARGET SAID: 'Patched sector 51199 with 00000000'
14:08:28: INFO: TARGET SAID: 'crc start sector 51199, over bytes 92'
14:08:28: INFO: TARGET SAID: 'Patched sector 51199 with 8CD1D601'
14:08:29: INFO: TARGET SAID: 'Patched sector 2 with 00001FFA'
14:08:29: INFO: TARGET SAID: 'Patched sector 8187 with 00001FFA'
14:08:29: INFO: TARGET SAID: 'Patched sector 1 with 00001FFA'
14:08:29: INFO: TARGET SAID: 'Patched sector 8191 with 00001FFA'
14:08:29: INFO: TARGET SAID: 'Patched sector 1 with 00001FFF'
14:08:29: INFO: TARGET SAID: 'Patched sector 8191 with 00001FFF'
14:08:29: INFO: TARGET SAID: 'Patched sector 8191 with 00001FFB'
14:08:29: INFO: TARGET SAID: 'crc start sector 2, over bytes 4096'
14:08:29: INFO: TARGET SAID: 'Patched sector 1 with 0F57F912'
14:08:29: INFO: TARGET SAID: 'crc start sector 8187, over bytes 4096'
14:08:29: INFO: TARGET SAID: 'Patched sector 8191 with 0F57F912'
14:08:30: INFO: TARGET SAID: 'Patched sector 1 with 00000000'
14:08:30: INFO: TARGET SAID: 'crc start sector 1, over bytes 92'
14:08:30: INFO: TARGET SAID: 'Patched sector 1 with 82405947'
14:08:30: INFO: TARGET SAID: 'Patched sector 8191 with 00000000'
14:08:30: INFO: TARGET SAID: 'crc start sector 8191, over bytes 92'
14:08:30: INFO: TARGET SAID: 'Patched sector 8191 with A93DD645'
14:08:30: INFO: ==============================================================
14:08:30: INFO: Files used and their paths
14:08:30: INFO: 1 'C:\Users\S V J\Desktop\ost\port_trace.txt'
14:08:30: INFO: 2 'C:\435j\NB1-0-435J-patch0.xml'
14:08:30: INFO: 3 'C:\435j\NB1-0-435J-patch1.xml'
14:08:30: INFO: 4 'C:\435j\NB1-0-435J-patch2.xml'
14:08:30: INFO: 5 'C:\435j\NB1-0-435J-patch3.xml'
14:08:30: INFO: 6 'C:\435j\NB1-0-435J-patch4.xml'
14:08:30: INFO: 7 'C:\435j\NB1-0-435J-patch5.xml'
14:08:30: INFO: _ (done)
14:08:30: INFO: | |
14:08:30: INFO: __| | ___ _ __ ___
14:08:30: INFO: / _` |/ _ \| '_ \ / _ \
14:08:30: INFO: | (_| | (_) | | | | __/
14:08:30: INFO: \__,_|\___/|_| |_|\___|
14:08:30: INFO: {All Finished Successfully}
14:08:30: INFO: FILE ACCESS SLOW!! 0.00 B in 0.015 seconds ( 0.00 Bps) --- Overall to target 8.235 seconds (0.0
0 Bps)
Writing log to 'C:\Users\S V J\Desktop\ost\port_trace.txt', might take a minute
Log is 'C:\Users\S V J\Desktop\ost\port_trace.txt'
Rebooting phone...

My phone has Snapdragon 835 chipset, UFS memory, 4x64 gb.

Hi
Did you get the issue solved. I've got the exact problem now.
Thanks

Related

[Q] 2011-11-26|Compile CM for vivo get "libaudio.so" error

Code:
Install: out/host/linux-x86/framework/layoutlib_create.jar
Install: out/host/linux-x86/framework/makedict.jar
Install: out/host/linux-x86/framework/mkstubs.jar
Install: out/host/linux-x86/framework/xmlwriter.jar
Install: out/host/linux-x86/framework/ninepatch.jar
host Prebuilt: osgi (out/host/common/obj/JAVA_LIBRARIES/osgi_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/preload.jar
Install: out/host/linux-x86/framework/screenshot2.jar
Install: out/target/product/vivo/data/app/test_algorithm_host
Install: out/target/product/vivo/data/app/test_char_traits_host
Install: out/target/product/vivo/data/app/test_functional_host
Install: out/target/product/vivo/data/app/test_iomanip_host
Install: out/target/product/vivo/data/app/test_ios_base_host
Install: out/target/product/vivo/data/app/test_ios_pos_types_host
Install: out/target/product/vivo/data/app/test_iostream_host
Install: out/target/product/vivo/data/app/test_iterator_host
Install: out/target/product/vivo/data/app/test_limits_host
Install: out/target/product/vivo/data/app/test_list_host
Install: out/target/product/vivo/data/app/test_memory_host
Install: out/target/product/vivo/data/app/test_set_host
Install: out/target/product/vivo/data/app/test_sstream_host
Install: out/target/product/vivo/data/app/test_streambuf_host
Install: out/target/product/vivo/data/app/test_string_host
Install: out/target/product/vivo/data/app/test_type_traits_host
Install: out/target/product/vivo/data/app/test_uninitialized_host
Install: out/target/product/vivo/data/app/test_vector_host
target Non-prelinked: init (out/target/product/vivo/symbols/init)
Install: out/target/product/vivo/system/lib/libdl.so
target Non-prelinked: adbd (out/target/product/vivo/symbols/sbin/adbd)
target Non-prelinked: recovery (out/target/product/vivo/symbols/system/bin/recovery)
Install: out/host/linux-x86/lib/libESR_Shared.so
Install: out/host/linux-x86/bin/dx
target Non-prelinked: libandroidterm2 (out/target/product/vivo/symbols/system/lib/libandroidterm2.so)
Install: out/target/product/vivo/system/app/Androidian.apk
Copying: out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/droiddoc.jar
Install: out/host/linux-x86/lib/libneo_cs.so
Copying: out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/target/product/vivo/system/app/Cyanbread.apk
target Non-prelinked: InputChannel_test (out/target/product/vivo/symbols/system/bin/InputChannel_test)
target Non-prelinked: InputDispatcher_test (out/target/product/vivo/symbols/system/bin/InputDispatcher_test)
target Non-prelinked: InputPublisherAndConsumer_test (out/target/product/vivo/symbols/system/bin/InputPublisherAndConsumer_test)
target Non-prelinked: InputReader_test (out/target/product/vivo/symbols/system/bin/InputReader_test)
target Non-prelinked: Looper_test (out/target/product/vivo/symbols/system/bin/Looper_test)
target Non-prelinked: ObbFile_test (out/target/product/vivo/symbols/system/bin/ObbFile_test)
target Non-prelinked: String8_test (out/target/product/vivo/symbols/system/bin/String8_test)
target Non-prelinked: libnfc_ndef (out/target/product/vivo/symbols/system/lib/libnfc_ndef.so)
target Non-prelinked: applypatch (out/target/product/vivo/symbols/system/bin/applypatch)
target Non-prelinked: applypatch_static (out/target/product/vivo/symbols/system/bin/applypatch_static)
target Non-prelinked: libFLAC (out/target/product/vivo/symbols/system/lib/libFLAC.so)
target Non-prelinked: libstagefright_enc_common (out/target/product/vivo/symbols/system/lib/libstagefright_enc_common.so)
target Non-prelinked: libstagefright_foundation (out/target/product/vivo/symbols/system/lib/libstagefright_foundation.so)
target Prelink: libstagefright_color_conversion (out/target/product/vivo/symbols/system/lib/libstagefright_color_conversion.so)
target Non-prelinked: libext2_com_err (out/target/product/vivo/symbols/system/lib/libext2_com_err.so)
target Non-prelinked: libext2_uuid (out/target/product/vivo/symbols/system/lib/libext2_uuid.so)
target Non-prelinked: libext2_e2p (out/target/product/vivo/symbols/system/lib/libext2_e2p.so)
libelfcopy: Warning: Range lists in .debug_info section aren't in ascending order!
libelfcopy: Warning: Range lists in .debug_ranges section start at 0x1d8
target Non-prelinked: bluetoothd (out/target/product/vivo/symbols/system/bin/bluetoothd)
target Non-prelinked: bootanimation (out/target/product/vivo/symbols/system/bin/bootanimation)
target Non-prelinked: brcm_patchram_plus (out/target/product/vivo/symbols/system/bin/brcm_patchram_plus)
target Non-prelinked: bugreport (out/target/product/vivo/symbols/system/bin/bugreport)
target Non-prelinked: toolbox (out/target/product/vivo/symbols/system/bin/toolbox)
target Non-prelinked: check_prereq (out/target/product/vivo/symbols/system/bin/check_prereq)
target Non-prelinked: dalvikvm (out/target/product/vivo/symbols/system/bin/dalvikvm)
target Non-prelinked: dbus-daemon (out/target/product/vivo/symbols/system/bin/dbus-daemon)
target Non-prelinked: debuggerd (out/target/product/vivo/symbols/system/bin/debuggerd)
target Non-prelinked: dexopt (out/target/product/vivo/symbols/system/bin/dexopt)
target Non-prelinked: dhcpcd (out/target/product/vivo/symbols/system/bin/dhcpcd)
target Non-prelinked: dnsmasq (out/target/product/vivo/symbols/system/bin/dnsmasq)
target Non-prelinked: dump_image (out/target/product/vivo/symbols/system/bin/dump_image)
target Non-prelinked: dumpstate (out/target/product/vivo/symbols/system/bin/dumpstate)
target Non-prelinked: dumpsys (out/target/product/vivo/symbols/system/bin/dumpsys)
target Non-prelinked: dvz (out/target/product/vivo/symbols/system/bin/dvz)
target Non-prelinked: erase_image (out/target/product/vivo/symbols/system/bin/erase_image)
target Non-prelinked: flash_image (out/target/product/vivo/symbols/system/bin/flash_image)
target Non-prelinked: fsck_msdos (out/target/product/vivo/symbols/system/bin/fsck_msdos)
target Non-prelinked: gdbjithelper (out/target/product/vivo/symbols/system/bin/gdbjithelper)
target Non-prelinked: gzip (out/target/product/vivo/symbols/system/bin/gzip)
target Non-prelinked: hciattach (out/target/product/vivo/symbols/system/bin/hciattach)
target Non-prelinked: installd (out/target/product/vivo/symbols/system/bin/installd)
target Non-prelinked: iptables (out/target/product/vivo/symbols/system/bin/iptables)
target Non-prelinked: keystore (out/target/product/vivo/symbols/system/bin/keystore)
target Non-prelinked: keystore_cli (out/target/product/vivo/symbols/system/bin/keystore_cli)
target Non-prelinked: linker (out/target/product/vivo/symbols/system/bin/linker)
target Non-prelinked: logcat (out/target/product/vivo/symbols/system/bin/logcat)
target Non-prelinked: logwrapper (out/target/product/vivo/symbols/system/bin/logwrapper)
target Non-prelinked: lsof (out/target/product/vivo/symbols/system/bin/lsof)
target SharedLib: libaudio (out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so)
target SharedLib: libaudiopolicy (out/target/product/vivo/obj/SHARED_LIBRARIES/libaudiopolicy_intermediates/LINKED/libaudiopolicy.so)
target SharedLib: libcameraservice (out/target/product/vivo/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so)
target Non-prelinked: mkyaffs2image (out/target/product/vivo/symbols/system/bin/mkyaffs2image)
target Non-prelinked: libOmxVdec (out/target/product/vivo/symbols/system/lib/libOmxVdec.so)
target Non-prelinked: libOmxVenc (out/target/product/vivo/symbols/system/lib/libOmxVenc.so)
target Non-prelinked: mm-video-driver-test (out/target/product/vivo/symbols/system/bin/mm-video-driver-test)
target Non-prelinked: mm-video-encdrv-test (out/target/product/vivo/symbols/system/bin/mm-video-encdrv-test)
target Non-prelinked: mtpd (out/target/product/vivo/symbols/system/bin/mtpd)
target Non-prelinked: ndc (out/target/product/vivo/symbols/system/bin/ndc)
target Non-prelinked: netcfg (out/target/product/vivo/symbols/system/bin/netcfg)
target Non-prelinked: netd (out/target/product/vivo/symbols/system/bin/netd)
target Non-prelinked: pand (out/target/product/vivo/symbols/system/bin/pand)
target Non-prelinked: ping (out/target/product/vivo/symbols/system/bin/ping)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::AudioHardware::setMicMute_nosync(bool):hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:868: error: undefined reference to 'msm_device_mute'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::AudioHardware::AudioHardware():hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:521: error: undefined reference to 'msm_reset_all_device'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::AudioHardware::AudioHardware():hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:521: error: undefined reference to 'msm_reset_all_device'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o: in function android::updateDeviceInfo(unsigned int, unsigned int, unsigned int, unsigned int):hardware/msm7k/libaudio-msm7x30/AudioHardware.cpp:423: error: undefined reference to 'msm_device_mute'
collect2: ld returned 1 exit status
target Non-prelinked: pppd (out/target/product/vivo/symbols/system/bin/pppd)
make: *** [out/target/product/vivo/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so] 错误 1
make: *** 正在等待未完成的任务....
target Non-prelinked: qemu-props (out/target/product/vivo/symbols/system/bin/qemu-props)
got the same problem right now on vivo and glacier.

HELP ME!!!!

I downloaded the latest webOS doctor to update my touchpad and the webOS doctor won't go beyond 12%.....I run webos doctor in linux using the terminal and this the output I got..
Code:
INFO: Trenchcoat: File descriptor 3 (/dev/mmcblk0) leaked on lvm.static invocation. Parent PID 2849: sh
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Current LVM configuration, 1 volume groups:
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Volume Group 0: name store physicalextentsize 8388608, 12 logical volumes
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 0: name media size 12440305664 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 1: name swap size 536870912 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 2: name swap size 536870912 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 3: name cm-system size 318767104 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 4: name cm-cache size 209715200 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 5: name cm-data size 1610612736 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 6: name root size 595591168 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 7: name var size 67108864 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 8: name update size 16777216 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 9: name log size 25165824 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 10: name mojodb size 268435456 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Logical Volume 11: name filecache size 142606336 stripes 1 stripesize 0 chunksize 0
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Volume group 'store' current configuration: 12 logical volumes
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Volume group 'store' new configuration: 8 logical volumes
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> LVM configuration changed
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Adjusting LVM logical volumes
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "lvm.static vgchange -an store"
May 21, 2012 12:26:44 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: File descriptor 3 (/dev/mmcblk0) leaked on lvm.static invocation. Parent PID 2851: sh
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: 0 logical volume(s) in volume group "store" now active
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Volume cm-system removed
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Volume cm-cache removed
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Volume cm-data removed
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Extend volume 'media' partition from 12440305664 to 29553065984 bytes
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "lvm.static lvextend -L 28860416K /dev/mapper/store-media"
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: File descriptor 3 (/dev/mmcblk0) leaked on lvm.static invocation. Parent PID 2880: sh
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: Insufficient free space: 2040 extents needed, but only 1786 available
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: Extending logical volume media to 27.52 GB
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "lvm.static vgchange -ay store"
May 21, 2012 12:26:45 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: File descriptor 3 (/dev/mmcblk0) leaked on lvm.static invocation. Parent PID 2882: sh
May 21, 2012 12:26:46 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The requested major:minor pair (254:6) is already used
May 21, 2012 12:26:46 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The requested major:minor pair (254:7) is already used
May 21, 2012 12:26:46 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: 9 logical volume(s) in volume group "store" now active
May 21, 2012 12:26:46 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Increase volume 'media' filesystem from 12440305664 to 29553065984 bytes
May 21, 2012 12:26:46 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> About to call: resizefat /dev/mapper/store-media 29553065984B
May 21, 2012 12:26:46 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "resizefat /dev/mapper/store-media 29553065984B"
May 21, 2012 12:26:47 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: dosfsck 2.11, 12 Mar 2005, FAT32, LFN
May 21, 2012 12:26:47 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: /dev/mapper/store-media: 1874 files, 148643/379553 clusters
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: New size reduced to maximum available of 24297472 sectors
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "lvm.static vgchange -ay store"
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: File descriptor 3 (/dev/mmcblk0) leaked on lvm.static invocation. Parent PID 2924: sh
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The requested major:minor pair (254:6) is already used
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The requested major:minor pair (254:7) is already used
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: 9 logical volume(s) in volume group "store" now active
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Executing /tmp/do_format_dev_mapper_store-root.sh
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: Could not stat /dev/mapper/store-root --- No such file or directory
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The device apparently does not exist; did you specify it correctly?
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "/sbin/fsck -a /dev/mapper/store-root"
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck 1.41.4 (27-Jan-2009)
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck.ext2/dev/mapper/store-root: : No such file or directory while trying to open /dev/mapper/store-root
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The superblock could not be read or does not describe a correct ext2
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: filesystem. If the device is valid and it really contains an ext2
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: filesystem (and not swap or ufs or something else), then the superblock
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: is corrupt, and you might try running e2fsck with an alternate superblock:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: e2fsck -b 8193 <device>
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Executing /tmp/do_format_dev_mapper_store-var.sh
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: Could not stat /dev/mapper/store-var --- No such file or directory
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The device apparently does not exist; did you specify it correctly?
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "/sbin/fsck -a /dev/mapper/store-var"
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck 1.41.4 (27-Jan-2009)
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck.ext3/dev/mapper/store-var: : No such file or directory while trying to open /dev/mapper/store-var
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: The superblock could not be read or does not describe a correct ext2
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: filesystem. If the device is valid and it really contains an ext2
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: filesystem (and not swap or ufs or something else), then the superblock
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: is corrupt, and you might try running e2fsck with an alternate superblock:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: e2fsck -b 8193 <device>
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:11 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Executing /tmp/do_format_dev_mapper_store-update.sh
May 21, 2012 12:27:12 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "/sbin/fsck -a /dev/mapper/store-update"
May 21, 2012 12:27:12 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck 1.41.4 (27-Jan-2009)
May 21, 2012 12:27:12 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: /var/lib/update: clean, 11/4096 files, 1163/4096 blocks
May 21, 2012 12:27:12 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Executing /tmp/do_format_dev_mapper_store-log.sh
May 21, 2012 12:27:14 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "/sbin/fsck -a /dev/mapper/store-log"
May 21, 2012 12:27:14 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck 1.41.4 (27-Jan-2009)
May 21, 2012 12:27:14 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: /var/log: clean, 11/6144 files, 1228/6144 blocks
May 21, 2012 12:27:14 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Executing /tmp/do_format_dev_mapper_store-mojodb.sh
May 21, 2012 12:27:20 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "/sbin/fsck -a /dev/mapper/store-mojodb"
May 21, 2012 12:27:20 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck 1.41.4 (27-Jan-2009)
May 21, 2012 12:27:20 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: /dev/mapper/store-mojodb: clean, 11/65536 files, 6193/65536 blocks
May 21, 2012 12:27:21 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Executing /tmp/do_format_dev_mapper_store-filecache.sh
May 21, 2012 12:27:25 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "/sbin/fsck -a /dev/mapper/store-filecache"
May 21, 2012 12:27:25 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: fsck 1.41.4 (27-Jan-2009)
May 21, 2012 12:27:25 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: /dev/mapper/store-filecache: clean, 11/34816 files, 6307/34816 blocks
May 21, 2012 12:27:25 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "resizefat -r /dev/mapper/store-media"
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: dosfsck 2.11, 12 Mar 2005, FAT32, LFN
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: /dev/mapper/store-media: 1874 files, 148643/379553 clusters
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> mount /dev/mapper/store-root on /tmp/tcmnt_2734 as ext3
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: mount: mounting /dev/mapper/store-root on /tmp/tcmnt_2734 failed: No such file or directory
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <ERROR> Unable to mount partition /dev/mapper/store-root at /tmp/tcmnt_2734
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "rm -rf /tmp/tcmnt_2734"
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <INFO> Running "lvm.static vgchange -an store"
May 21, 2012 12:27:26 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: File descriptor 3 (/dev/mmcblk0) leaked on lvm.static invocation. Parent PID 2978: sh
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: 0 logical volume(s) in volume group "store" now active
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: <ERROR> CPU-specific initialization failed
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat: Broken pipe
May 21, 2012 12:27:27 PM com.palm.novacom.internal.NovacomSocketStream logWarning
WARNING: SocketException Cmd: file:///sbin/trenchcoat
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: Trenchcoat:
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: <ERROR> CPU-specific initialization failed
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController logPrint
INFO: trenchcoat retries exhausted
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController postFlashEvent
WARNING: Flash Failure
Trenchcoat error: <ERROR> CPU-specific initialization failed
at com.palm.nova.installer.core.stages.TrenchcoatStage.run(TrenchcoatStage.java:104)
at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:472)
at java.lang.Thread.run(Thread.java:679)
May 21, 2012 12:27:27 PM com.palm.nova.installer.recoverytool.CardController postFlashEvent
INFO: Flash End time (Fail) 1337592447402
May 21, 2012 12:27:27 PM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: from /tmp/PalmWebOsRecoveryToolLog0.log.2
May 21, 2012 12:27:27 PM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: to /tmp/palmInstallerError0.log
May 21, 2012 12:27:27 PM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: from /tmp/PalmWebOsRecoveryToolLog0.log.0.lck
May 21, 2012 12:27:27 PM com.palm.nova.installer.core.RdxUtils saveLogs
INFO: to /tmp/palmInstallerError1.log
May 21, 2012 12:27:29 PM com.palm.nova.installer.recoverytool.CardController handleFailCase
INFO: something failed, query to see if device is plugged in
May 21, 2012 12:27:29 PM com.palm.nova.installer.recoverytool.CardController handleFailCase
INFO: exiting handleFailCase()
Trenchcoat error: <ERROR> CPU-specific initialization failed
at com.palm.nova.installer.core.stages.TrenchcoatStage.run(TrenchcoatStage.java:104)
at com.palm.nova.installer.core.FlasherThread.run(FlasherThread.java:472)
at java.lang.Thread.run(Thread.java:679)
May 21, 2012 12:27:30 PM com.palm.nova.installer.recoverytool.runner.DeviceDiscoveryRunner$DeviceDiscoveryThread run
INFO: got controller
May 21, 2012 12:27:30 PM com.palm.nova.installer.recoverytool.runner.DeviceDiscoveryRunner$DeviceDiscoveryThread run
INFO: got devices 1
May 21, 2012 12:27:30 PM com.palm.nova.installer.recoverytool.CardController runnerFinished
INFO: device runner done
May 21, 2012 12:27:30 PM com.palm.nova.installer.recoverytool.CardController runnerFinished
WARNING: flashing failed, move to failed card
Can Somebody have a look at this and help me???
Have a look at this : http://forums.webosnation.com/webos-internals/295881-webos-doctor-12-issue-fixed.html
I hope it helps, good luck.
chicle_11 said:
Have a look at this : http://forums.webosnation.com/webos-internals/295881-webos-doctor-12-issue-fixed.html
I hope it helps, good luck.
Click to expand...
Click to collapse
I tried that and this is what I get
[email protected]:/# dosfsck -r /dev/mapper/store-media
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
open /dev/mapper/store-media:No such file or directory
Please help me!!!!
vipaman said:
I tried that and this is what I get
[email protected]:/# dosfsck -r /dev/mapper/store-media
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
open /dev/mapper/store-media:No such file or directory
Please help me!!!!
Click to expand...
Click to collapse
Have you tried running it in Windows? It shouldn't make any difference, but just to eliminate......
Yup.....Still no luck!!!
do you happen to have the same problem that a bunch of us in this thread have http://forum.xda-developers.com/showthread.php?t=1483066 where the touchpad appears to be stuck in read only mode, hopefully you dont cos it doesnt look like there is a fix atm
I didn't parition the disk manually......I cannot use novaterm properly cuz I get this issue
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.OverflowException: Arithmetic operation resulted in an overflow.
at WalburySoftware.TerminalEmulator.uc_Keyboard.KeyDown(Message KeyMess)
at WalburySoftware.TerminalEmulator.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4971 (win7RTMGDR.050727-4900)
CodeBase: file:///W:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
novaterm
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///W:/Program%20Files%20(x86)/HP%20webOS/SDK/bin/novaterm.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4977 (win7RTMGDR.050727-4900)
CodeBase: file:///W:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4971 (win7RTMGDR.050727-4900)
CodeBase: file:///W:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4974 (win7RTMGDR.050727-4900)
CodeBase: file:///W:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
TerminalControl
Assembly Version: 1.0.3493.42185
Win32 Version: 1.0.3493.42185
CodeBase: file:///W:/Program%20Files%20(x86)/HP%20webOS/SDK/bin/TerminalControl.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///W:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///W:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
So anytime I type something it shows me this ...
I can't even sent the touchpad to HP cuz I am not in US at the moment...
Found the solution...........
http://forum.xda-developers.com/showthread.php?t=1426244
vipaman said:
Found the solution...........
http://forum.xda-developers.com/showthread.php?t=1426244
Click to expand...
Click to collapse
Good..... Were you able to get to 3.0.5?
yup...via the touchpad itself......didn't want to go thru webos doctor...

Does BootcardMaker work with S912?

I tried using BootcardMaker v2.0.0.2 and booting off of a sdcard it made on my S912 box and it doesn't appear to even look at it.
Does anyone know if this actually works anymore?
Code:
GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 118535
BL2 Built : 19:41:49, Jun 20 2016.
gxl ge299011 - [email protected]
set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 2
CPU clk: 1200MHz
DDR3 chl: Rank0+1 @ 912MHz - PASS
DQS-corr enabled
DDR scramble enabled
Rank0: 1024MB(auto)-2T-13
Rank1: 1024MB(auto)-2T-13
DataBus test pass!
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00014400
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x000a7600
NOTICE: BL3-1: v1.0(debug):c813a61
NOTICE: BL3-1: Built : 14:39:44, Jun 16 2016
aml log : bl31 normal boot !
[Image: gxl_v1.1.3137-2517a7a 2016-06-24 11:31:11 [email protected]]
OPS=0x82
2b c1 3a 4d 9c 87 d8 6b 3e fe 40 85 [0.364033 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR: Error initializing runtime service opteed_fast
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
U-Boot 2015.01 (Aug 02 2016 - 10:30:44)

[GUIDE] unbrick and flash Official ROM in EDL on linux

Introduction
Hey guys! In my journey to completely go from windows to linux I was trying to see if there was a qfil alternative for linux, seeing that the program barely works on wine nor on a WIndows VM, so after a lot of digging i found an open source alternative to that, so today I'm going to show how you could flash any rom using qdl on linux (in my case I have a lenovo z5 pro gt so the guide will help you specifically with that)
You need some things before we start:
Your rom file, which you can get from lolinet
A few dependencies, which you can install with
Code:
sudo apt install fastboot libxml2-dev libudev-dev git build-essentials make
QDL binaries, downloadable via the command
Code:
git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git
Preparing files and Building QDL
Once you got all the files you need to first extract the files stored on the *.zip of the rom you downloaded on a folder (for simplicity's sake you should call the folder something easy and sort such as z5pro). You should now look for a few files on the newly unzipped folder, especially for
patch0.xml
rawprogram_unparse0.xml,
prog_firehose_ddr.elf (could have also a .mbn file extension, it's the same)
Some Linux distributions come with ModemManager, a tool for configuring Mobile Broadband. You should stop this service because it interferes with the process
Code:
sudo systemctl stop ModemManager
After that open a terminal and cd to the qdl folder that you downloaded with git and run make. If everything went to plan you should now have a qdl file. Test if it works by just typing on the terminal "./qdl"
At this point you are nearly done! start building your command without pressing enter. it should have this scruture:
Code:
./qdl --debug --storage ufs --include /path/to/z5pro /path/to/prog_firehose_ddr.elf /path/to/rawprogram0_unparse0.xml /path/to/patch0.xml
Before pressing enter you should send your device in EDL mode. You can do this in a variety of ways:
From fastboot
Code:
fastboot reboot edl
By pressing both vol up and vol down and connecting the phone to the computer
Press send on the terminal to start the process. Beware, you should do this as quickly as you can, otherwise it could just error you out
Wait at least 10 minutes for the process to complete and congratulations, you should have a working rom installed on your phone!
Thanks a lot to 96boards.org for telling me the necessary dependencies to run the program, it really helped me a lot on the process.
If my guide helped you leaving a thanks would be greatly appreciated!
hi, i'm with issues here...
the device - xiaomi redmi note 5A (ugg) - is dead. i'm managed for put it in edl mode, just blink the led, and this is what i receive in terminal:
$ ./qdl --debug --storage ufs --include /home/tuga/ugg_global/images/ /home/tuga/ugg_global/images/prog_emmc_firehose_8937_ddr.mbn /home/tuga/ugg_global/images/rawprogram0.xml /home/tuga/ugg_global/images/patch0.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
READ image: 13 offset: 0x34 length: 0x120
READ image: 13 offset: 0x1000 length: 0x1000
READ image: 13 offset: 0x2000 length: 0xa48
and just it, no error messages, nothing.
the system is MX-linux 19, debian like.
thanks in advance and sorry for my poor english.
I have the exact same output issue as anton above.
Except...my command is
sudo qdl <prog.mbn> <rawprogram.xml> <patch.xml>
from the extracted firmware directory.
Alcatel tru metropcs 5065n
cannot boot. cannot adb.
fastboot is recognized at boot logo but doesnt accept commands.
edl mode (vol up+vol down black screen)
qdl mode (vol up+vol down white screen)
cant flash either one. at least qdl gets recognized in mAid
with op's commands i get this error:
I/O warning: failed to load entity "ufs"
[PATCH] failed to parse ufs
qdl: failed to detect file type of ufs.
maybe ufs is wrong for this phone. but ill keep a look if anton above gets a solution.
Arch users can install it trough the AUR: https://aur.archlinux.org/packages/qdl/
Please keep in mind when using QDL tool on Linux, be sure to remove ModemManager
U can try the following:
Bash:
sudo apt remove --purge modemmanager
The command I use for flashing is (Run after cd into the folder containing the files)
Bash:
qdl --storage ufs --include . prog_firehose_ddr.elf rawprogram_unsparse0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Be sure to know what is your storage type before hand. I think the possible values are: emmc, ufs etc.
Also, try to verify that
Bash:
lsusb
lists a "QDLoader 9008" device
The last thing I can think of is you can use --debug flag to see what's going on. Like:
Bash:
qdl --debug --storage ufs ...
I'm using this project: QDL Github
You need to git clone the project, the cd into it, and run make command. If make fails, then it's usually just a few missing libraries. You can easily find on Google, which packages you need to install to get it to compile.
Once it is compiled, you will get a qdl file.
Usually I have a ~/bin folder in my Home Dir like /home/sam/bin
In my bashrc I have added lines
Code:
PATH="${HOME}/bin:$PATH"
export PATH;
# You can add any number of directories to Path. I also have a /home/sam/scripts folder where I place my scripts
# Next you can do
cd ~/bin
# ln -sf (forced symlink) source dest
ln -sf ${HOME}/qdl/qdl qdl
# To create a symlink from git cloned folder's generated qdl executable into ${HOME}/bin
Then you can run qdl from anywhere
anton vier said:
hi, i'm with issues here...
the device - xiaomi redmi note 5A (ugg) - is dead. i'm managed for put it in edl mode, just blink the led, and this is what i receive in terminal:
$ ./qdl --debug --storage ufs --include /home/tuga/ugg_global/images/ /home/tuga/ugg_global/images/prog_emmc_firehose_8937_ddr.mbn /home/tuga/ugg_global/images/rawprogram0.xml /home/tuga/ugg_global/images/patch0.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
READ image: 13 offset: 0x34 length: 0x120
READ image: 13 offset: 0x1000 length: 0x1000
READ image: 13 offset: 0x2000 length: 0xa48
and just it, no error messages, nothing.
the system is MX-linux 19, debian like.
thanks in advance and sorry for my poor english.
Click to expand...
Click to collapse
Sure you have solved by now but for others that will look at this in future, you have to select correct file system for storage. ufs or emmc makes a difference in command, I had to use emmc as per firehose loader.
Hello,
Firstly, thank you for your guide, it is very clear.
My issue is that the phone is still not booting up after these steps.
I believe I managed to correctly flash my bricked phone, here is the log :
Code:
sudo ./qdl/qdl --storage emmc --include /dev/ttyUSB0 prog_emmc_firehose_8937_ddr.mbn rawprogram_unsparse_8937_tw_no_fsg.xml patch0_8937.xml
Waiting for EDL device
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
READ image: 13 offset: 0x34 length: 0x120
READ image: 13 offset: 0x1000 length: 0x1000
READ image: 13 offset: 0x2000 length: 0xa48
READ image: 13 offset: 0x60ef8 length: 0x1000
READ image: 13 offset: 0x61ef8 length: 0x1000
READ image: 13 offset: 0x62ef8 length: 0x87c
READ image: 13 offset: 0x63774 length: 0xb28
READ image: 13 offset: 0x3000 length: 0x1000
READ image: 13 offset: 0x4000 length: 0x1000
READ image: 13 offset: 0x5000 length: 0x1000
READ image: 13 offset: 0x6000 length: 0x1000
READ image: 13 offset: 0x7000 length: 0x1000
READ image: 13 offset: 0x8000 length: 0x1000
READ image: 13 offset: 0x9000 length: 0x1000
READ image: 13 offset: 0xa000 length: 0x1000
READ image: 13 offset: 0xb000 length: 0x1000
READ image: 13 offset: 0xc000 length: 0x1000
READ image: 13 offset: 0xd000 length: 0x1000
READ image: 13 offset: 0xe000 length: 0x1000
READ image: 13 offset: 0xf000 length: 0x1000
READ image: 13 offset: 0x10000 length: 0x1000
READ image: 13 offset: 0x11000 length: 0x1000
READ image: 13 offset: 0x12000 length: 0x1000
READ image: 13 offset: 0x13000 length: 0x1000
READ image: 13 offset: 0x14000 length: 0x1000
READ image: 13 offset: 0x15000 length: 0x1000
READ image: 13 offset: 0x16000 length: 0x1000
READ image: 13 offset: 0x17000 length: 0x1000
READ image: 13 offset: 0x18000 length: 0x1000
READ image: 13 offset: 0x19000 length: 0x1000
READ image: 13 offset: 0x1a000 length: 0x1000
READ image: 13 offset: 0x1b000 length: 0x1000
READ image: 13 offset: 0x1c000 length: 0x1000
READ image: 13 offset: 0x1d000 length: 0x1000
READ image: 13 offset: 0x1e000 length: 0x1000
READ image: 13 offset: 0x1f000 length: 0x1000
READ image: 13 offset: 0x20000 length: 0x1000
READ image: 13 offset: 0x21000 length: 0x1000
READ image: 13 offset: 0x22000 length: 0x1000
READ image: 13 offset: 0x23000 length: 0x1000
READ image: 13 offset: 0x24000 length: 0x1000
READ image: 13 offset: 0x25000 length: 0x1000
READ image: 13 offset: 0x26000 length: 0x1000
READ image: 13 offset: 0x27000 length: 0x1000
READ image: 13 offset: 0x28000 length: 0x1000
READ image: 13 offset: 0x29000 length: 0x1000
READ image: 13 offset: 0x2a000 length: 0x1000
READ image: 13 offset: 0x2b000 length: 0x1000
READ image: 13 offset: 0x2c000 length: 0x1000
READ image: 13 offset: 0x2d000 length: 0x1000
READ image: 13 offset: 0x2e000 length: 0x1000
READ image: 13 offset: 0x2f000 length: 0x1000
READ image: 13 offset: 0x30000 length: 0x1000
READ image: 13 offset: 0x31000 length: 0x1000
READ image: 13 offset: 0x32000 length: 0x1000
READ image: 13 offset: 0x33000 length: 0x1000
READ image: 13 offset: 0x34000 length: 0x1000
READ image: 13 offset: 0x35000 length: 0x1000
READ image: 13 offset: 0x36000 length: 0x1000
READ image: 13 offset: 0x37000 length: 0x1000
READ image: 13 offset: 0x38000 length: 0x1000
READ image: 13 offset: 0x39000 length: 0x1000
READ image: 13 offset: 0x3a000 length: 0x1000
READ image: 13 offset: 0x3b000 length: 0x1000
READ image: 13 offset: 0x3c000 length: 0x1000
READ image: 13 offset: 0x3d000 length: 0x1000
READ image: 13 offset: 0x3e000 length: 0x1000
READ image: 13 offset: 0x3f000 length: 0x1000
READ image: 13 offset: 0x40000 length: 0x1000
READ image: 13 offset: 0x41000 length: 0x1000
READ image: 13 offset: 0x42000 length: 0x1000
READ image: 13 offset: 0x43000 length: 0x1000
READ image: 13 offset: 0x44000 length: 0x1000
READ image: 13 offset: 0x45000 length: 0x1000
READ image: 13 offset: 0x46000 length: 0x1000
READ image: 13 offset: 0x47000 length: 0x1000
READ image: 13 offset: 0x48000 length: 0x1000
READ image: 13 offset: 0x49000 length: 0x1000
READ image: 13 offset: 0x4a000 length: 0x1000
READ image: 13 offset: 0x4b000 length: 0x1000
READ image: 13 offset: 0x4c000 length: 0x1000
READ image: 13 offset: 0x4d000 length: 0x1000
READ image: 13 offset: 0x4e000 length: 0x1000
READ image: 13 offset: 0x4f000 length: 0x1000
READ image: 13 offset: 0x50000 length: 0x1000
READ image: 13 offset: 0x51000 length: 0x1000
READ image: 13 offset: 0x52000 length: 0x1000
READ image: 13 offset: 0x53000 length: 0x1000
READ image: 13 offset: 0x54000 length: 0x390
READ image: 13 offset: 0x54390 length: 0x1000
READ image: 13 offset: 0x55390 length: 0x1000
READ image: 13 offset: 0x56390 length: 0x1000
READ image: 13 offset: 0x57390 length: 0x1000
READ image: 13 offset: 0x58390 length: 0x1000
READ image: 13 offset: 0x59390 length: 0x1000
READ image: 13 offset: 0x5a390 length: 0x1000
READ image: 13 offset: 0x5b390 length: 0x1000
READ image: 13 offset: 0x5c390 length: 0x1000
READ image: 13 offset: 0x5d390 length: 0x1000
READ image: 13 offset: 0x5e390 length: 0x1000
READ image: 13 offset: 0x5f390 length: 0x1000
READ image: 13 offset: 0x60390 length: 0xb68
END OF IMAGE image: 13 status: 0
DONE status: 0
qdl: firehose operation timed out
LOG: [email protected] [email protected]
ERROR: n = -1, errno = 110 (Connection timed out)
LOG: [email protected] [email protected]
qdl: firehose operation timed out
LOG: start 131072, num 172032
LOG: Finished sector address 303104
[PROGRAM] flashed "modem" successfully at 10752kB/s
LOG: start 393234, num 723
LOG: Finished sector address 393957
[PROGRAM] flashed "sbl1" successfully
LOG: start 394258, num 723
LOG: Finished sector address 394981
[PROGRAM] flashed "sbl1bak" successfully
LOG: start 395282, num 365
LOG: Finished sector address 395647
[PROGRAM] flashed "rpm" successfully
LOG: start 396306, num 365
LOG: Finished sector address 396671
[PROGRAM] flashed "rpmbak" successfully
LOG: start 397330, num 2991
LOG: Finished sector address 400321
[PROGRAM] flashed "tz" successfully
LOG: start 401426, num 2991
LOG: Finished sector address 404417
[PROGRAM] flashed "tzbak" successfully
LOG: start 405522, num 119
LOG: Finished sector address 405641
[PROGRAM] flashed "devcfg" successfully
LOG: start 406034, num 119
LOG: Finished sector address 406153
[PROGRAM] flashed "devcfgbak" successfully
LOG: start 406546, num 32768
LOG: Finished sector address 439314
[PROGRAM] flashed "dsp" successfully at 8192kB/s
LOG: start 530352, num 1
LOG: Finished sector address 530353
[PROGRAM] flashed "sec" successfully
LOG: start 786432, num 1186
LOG: Finished sector address 787618
[PROGRAM] flashed "aboot" successfully
LOG: start 788480, num 1186
LOG: Finished sector address 789666
[PROGRAM] flashed "abootbak" successfully
LOG: start 790528, num 55695
LOG: Finished sector address 846223
[PROGRAM] flashed "boot" successfully at 13923kB/s
LOG: start 921600, num 60563
LOG: Finished sector address 982163
[PROGRAM] flashed "recovery" successfully at 10093kB/s
LOG: start 1054720, num 262160
LOG: Finished sector address 1316880
[PROGRAM] flashed "system" successfully at 10923kB/s
LOG: start 1318792, num 16
LOG: Finished sector address 1318808
[PROGRAM] flashed "system" successfully
LOG: start 1322848, num 256176
LOG: Finished sector address 1579024
[PROGRAM] flashed "system" successfully at 11644kB/s
LOG: start 1583064, num 258064
LOG: Finished sector address 1841128
[PROGRAM] flashed "system" successfully at 11730kB/s
LOG: start 1841152, num 16
LOG: Finished sector address 1841168
[PROGRAM] flashed "system" successfully
LOG: start 1843080, num 16
LOG: Finished sector address 1843096
[PROGRAM] flashed "system" successfully
LOG: start 1847136, num 256176
LOG: Finished sector address 2103312
[PROGRAM] flashed "system" successfully at 10674kB/s
LOG: start 2107352, num 13360
LOG: Finished sector address 2120712
[PROGRAM] flashed "system" successfully
LOG: start 2365440, num 16
LOG: Finished sector address 2365456
[PROGRAM] flashed "system" successfully
LOG: start 2367368, num 16
LOG: Finished sector address 2367384
[PROGRAM] flashed "system" successfully
LOG: start 2371424, num 256176
LOG: Finished sector address 2627600
[PROGRAM] flashed "system" successfully at 9852kB/s
LOG: start 2631640, num 258104
LOG: Finished sector address 2889744
[PROGRAM] flashed "system" successfully at 11732kB/s
LOG: start 2891656, num 16
LOG: Finished sector address 2891672
[PROGRAM] flashed "system" successfully
LOG: start 2895712, num 256176
LOG: Finished sector address 3151888
[PROGRAM] flashed "system" successfully at 11644kB/s
LOG: start 3155928, num 1288
LOG: Finished sector address 3157216
[PROGRAM] flashed "system" successfully
LOG: start 3414016, num 16
LOG: Finished sector address 3414032
[PROGRAM] flashed "system" successfully
LOG: start 3415944, num 16
LOG: Finished sector address 3415960
[PROGRAM] flashed "system" successfully
LOG: start 3420000, num 256176
LOG: Finished sector address 3676176
[PROGRAM] flashed "system" successfully at 11644kB/s
LOG: start 3680216, num 240
LOG: Finished sector address 3680456
[PROGRAM] flashed "system" successfully
LOG: start 3938304, num 16
LOG: Finished sector address 3938320
[PROGRAM] flashed "system" successfully
LOG: start 3942360, num 88
LOG: Finished sector address 3942448
[PROGRAM] flashed "system" successfully
LOG: start 4200448, num 16
LOG: Finished sector address 4200464
[PROGRAM] flashed "system" successfully
LOG: start 4204504, num 88
LOG: Finished sector address 4204592
[PROGRAM] flashed "system" successfully
LOG: start 4462592, num 16
LOG: Finished sector address 4462608
[PROGRAM] flashed "system" successfully
LOG: start 4466648, num 258104
LOG: Finished sector address 4724752
[PROGRAM] flashed "system" successfully at 11732kB/s
LOG: start 4728792, num 24568
LOG: Finished sector address 4753360
[PROGRAM] flashed "system" successfully at 6142kB/s
LOG: start 4986880, num 16
LOG: Finished sector address 4986896
[PROGRAM] flashed "system" successfully
LOG: start 5249024, num 16
LOG: Finished sector address 5249040
[PROGRAM] flashed "system" successfully
LOG: start 5511168, num 16
LOG: Finished sector address 5511184
[PROGRAM] flashed "system" successfully
LOG: start 5773312, num 16
LOG: Finished sector address 5773328
[PROGRAM] flashed "system" successfully
LOG: start 6035456, num 16
LOG: Finished sector address 6035472
[PROGRAM] flashed "system" successfully
LOG: start 6297600, num 16
LOG: Finished sector address 6297616
[PROGRAM] flashed "system" successfully
LOG: start 6559744, num 16
LOG: Finished sector address 6559760
[PROGRAM] flashed "system" successfully
LOG: start 6821888, num 16
LOG: Finished sector address 6821904
[PROGRAM] flashed "system" successfully
LOG: start 7084032, num 16
LOG: Finished sector address 7084048
[PROGRAM] flashed "system" successfully
LOG: start 7346176, num 16
LOG: Finished sector address 7346192
[PROGRAM] flashed "system" successfully
LOG: start 7608320, num 16
LOG: Finished sector address 7608336
[PROGRAM] flashed "system" successfully
LOG: start 7610248, num 16
LOG: Finished sector address 7610264
[PROGRAM] flashed "system" successfully
LOG: start 7614304, num 256176
LOG: Finished sector address 7870480
[PROGRAM] flashed "system" successfully at 11644kB/s
LOG: start 8132608, num 16
LOG: Finished sector address 8132624
[PROGRAM] flashed "system" successfully
LOG: start 8134536, num 16
LOG: Finished sector address 8134552
[PROGRAM] flashed "system" successfully
LOG: start 8138592, num 256136
LOG: Finished sector address 8394728
[PROGRAM] flashed "system" successfully at 11642kB/s
LOG: start 8394752, num 16
LOG: Finished sector address 8394768
[PROGRAM] flashed "system" successfully
LOG: start 8656896, num 16
LOG: Finished sector address 8656912
[PROGRAM] flashed "system" successfully
LOG: start 8660952, num 258088
LOG: Finished sector address 8919040
[PROGRAM] flashed "system" successfully at 10753kB/s
LOG: start 9043968, num 3952
LOG: Finished sector address 9047920
[PROGRAM] flashed "cache" successfully
LOG: start 9306112, num 16
LOG: Finished sector address 9306128
[PROGRAM] flashed "cache" successfully
LOG: start 9306312, num 16
LOG: Finished sector address 9306328
[PROGRAM] flashed "cache" successfully
LOG: start 9568256, num 16
LOG: Finished sector address 9568272
[PROGRAM] flashed "cache" successfully
LOG: start 9572008, num 11240
LOG: Finished sector address 9583248
[PROGRAM] flashed "cache" successfully at 5620kB/s
LOG: start 9826304, num 1
LOG: Finished sector address 9826305
[PROGRAM] flashed "misc" successfully
LOG: start 10095616, num 26853
LOG: Finished sector address 10122469
[PROGRAM] flashed "mdtp" successfully at 13426kB/s
LOG: start 10223616, num 394
LOG: Finished sector address 10224010
[PROGRAM] flashed "cmnlib" successfully
LOG: start 10224128, num 394
LOG: Finished sector address 10224522
[PROGRAM] flashed "cmnlibbak" successfully
LOG: start 10224640, num 500
LOG: Finished sector address 10225140
[PROGRAM] flashed "cmnlib64" successfully
LOG: start 10225152, num 500
LOG: Finished sector address 10225652
[PROGRAM] flashed "cmnlib64bak" successfully
LOG: start 10225664, num 442
LOG: Finished sector address 10226106
[PROGRAM] flashed "keymaster" successfully
LOG: start 10226176, num 442
LOG: Finished sector address 10226618
[PROGRAM] flashed "keymasterbak" successfully
LOG: start 10354688, num 26
LOG: Finished sector address 10354714
[PROGRAM] flashed "apdp" successfully
LOG: start 10355200, num 26
LOG: Finished sector address 10355226
[PROGRAM] flashed "msadp" successfully
LOG: start 10486800, num 327680
LOG: Finished sector address 10814480
[PROGRAM] flashed "APD" successfully at 10922kB/s
LOG: start 10814480, num 86016
LOG: Finished sector address 10900496
[PROGRAM] flashed "ADF" successfully at 14336kB/s
LOG: start 10967056, num 20480
LOG: Finished sector address 10987536
[PROGRAM] flashed "factory" successfully at 10240kB/s
LOG: start 11141120, num 8728
LOG: Finished sector address 11149848
[PROGRAM] flashed "userdata" successfully at 4364kB/s
LOG: start 11403264, num 16
LOG: Finished sector address 11403280
[PROGRAM] flashed "userdata" successfully
LOG: start 11407880, num 16
LOG: Finished sector address 11407896
[PROGRAM] flashed "userdata" successfully
LOG: start 11665408, num 16
LOG: Finished sector address 11665424
[PROGRAM] flashed "userdata" successfully
LOG: start 11669520, num 258048
LOG: Finished sector address 11927568
[PROGRAM] flashed "userdata" successfully at 11729kB/s
LOG: start 11932168, num 16
LOG: Finished sector address 11932184
[PROGRAM] flashed "userdata" successfully
LOG: start 12189696, num 16
LOG: Finished sector address 12189712
[PROGRAM] flashed "userdata" successfully
LOG: start 12451840, num 16
LOG: Finished sector address 12451856
[PROGRAM] flashed "userdata" successfully
LOG: start 12456456, num 16
LOG: Finished sector address 12456472
[PROGRAM] flashed "userdata" successfully
LOG: start 12713984, num 16
LOG: Finished sector address 12714000
[PROGRAM] flashed "userdata" successfully
LOG: start 12976128, num 16
LOG: Finished sector address 12976144
[PROGRAM] flashed "userdata" successfully
LOG: start 12980744, num 16
LOG: Finished sector address 12980760
[PROGRAM] flashed "userdata" successfully
LOG: start 13238272, num 16
LOG: Finished sector address 13238288
[PROGRAM] flashed "userdata" successfully
LOG: start 13500416, num 16
LOG: Finished sector address 13500432
[PROGRAM] flashed "userdata" successfully
LOG: start 13505032, num 16
LOG: Finished sector address 13505048
[PROGRAM] flashed "userdata" successfully
LOG: start 13762560, num 16
LOG: Finished sector address 13762576
[PROGRAM] flashed "userdata" successfully
LOG: start 14024704, num 16
LOG: Finished sector address 14024720
[PROGRAM] flashed "userdata" successfully
LOG: start 14286848, num 16
LOG: Finished sector address 14286864
[PROGRAM] flashed "userdata" successfully
LOG: start 14548992, num 16
LOG: Finished sector address 14549008
[PROGRAM] flashed "userdata" successfully
LOG: start 14811136, num 16
LOG: Finished sector address 14811152
[PROGRAM] flashed "userdata" successfully
LOG: start 15073280, num 16
LOG: Finished sector address 15073296
[PROGRAM] flashed "userdata" successfully
LOG: start 15335424, num 16
LOG: Finished sector address 15335440
[PROGRAM] flashed "userdata" successfully
LOG: start 15597568, num 16
LOG: Finished sector address 15597584
[PROGRAM] flashed "userdata" successfully
LOG: start 15859712, num 16
LOG: Finished sector address 15859728
[PROGRAM] flashed "userdata" successfully
LOG: start 16121856, num 16
LOG: Finished sector address 16121872
[PROGRAM] flashed "userdata" successfully
LOG: start 16384000, num 16
LOG: Finished sector address 16384016
[PROGRAM] flashed "userdata" successfully
LOG: start 16646144, num 16
LOG: Finished sector address 16646160
[PROGRAM] flashed "userdata" successfully
LOG: start 16908288, num 16
LOG: Finished sector address 16908304
[PROGRAM] flashed "userdata" successfully
LOG: start 17170432, num 16
LOG: Finished sector address 17170448
[PROGRAM] flashed "userdata" successfully
LOG: start 17432576, num 16
LOG: Finished sector address 17432592
[PROGRAM] flashed "userdata" successfully
LOG: start 17694720, num 16
LOG: Finished sector address 17694736
[PROGRAM] flashed "userdata" successfully
LOG: start 17699336, num 16
LOG: Finished sector address 17699352
[PROGRAM] flashed "userdata" successfully
LOG: start 17956864, num 16
LOG: Finished sector address 17956880
[PROGRAM] flashed "userdata" successfully
LOG: start 18219008, num 16
LOG: Finished sector address 18219024
[PROGRAM] flashed "userdata" successfully
LOG: start 18223624, num 16
LOG: Finished sector address 18223640
[PROGRAM] flashed "userdata" successfully
LOG: start 18481152, num 16
LOG: Finished sector address 18481168
[PROGRAM] flashed "userdata" successfully
LOG: start 18743296, num 16
LOG: Finished sector address 18743312
[PROGRAM] flashed "userdata" successfully
LOG: start 19005440, num 16
LOG: Finished sector address 19005456
[PROGRAM] flashed "userdata" successfully
LOG: start 19267584, num 16
LOG: Finished sector address 19267600
[PROGRAM] flashed "userdata" successfully
LOG: start 19529728, num 16
LOG: Finished sector address 19529744
[PROGRAM] flashed "userdata" successfully
LOG: start 19791872, num 16
LOG: Finished sector address 19791888
[PROGRAM] flashed "userdata" successfully
LOG: start 20054016, num 16
LOG: Finished sector address 20054032
[PROGRAM] flashed "userdata" successfully
LOG: start 20316160, num 16
LOG: Finished sector address 20316176
[PROGRAM] flashed "userdata" successfully
LOG: start 20578304, num 16
LOG: Finished sector address 20578320
[PROGRAM] flashed "userdata" successfully
LOG: start 20840448, num 16
LOG: Finished sector address 20840464
[PROGRAM] flashed "userdata" successfully
LOG: start 21102592, num 16
LOG: Finished sector address 21102608
[PROGRAM] flashed "userdata" successfully
LOG: start 21364736, num 16
LOG: Finished sector address 21364752
[PROGRAM] flashed "userdata" successfully
LOG: start 21626880, num 16
LOG: Finished sector address 21626896
[PROGRAM] flashed "userdata" successfully
LOG: start 21889024, num 16
LOG: Finished sector address 21889040
[PROGRAM] flashed "userdata" successfully
LOG: start 22151168, num 16
LOG: Finished sector address 22151184
[PROGRAM] flashed "userdata" successfully
LOG: start 22413312, num 16
LOG: Finished sector address 22413328
[PROGRAM] flashed "userdata" successfully
LOG: start 22675456, num 16
LOG: Finished sector address 22675472
[PROGRAM] flashed "userdata" successfully
LOG: start 22937600, num 16
LOG: Finished sector address 22937616
[PROGRAM] flashed "userdata" successfully
LOG: start 23199744, num 16
LOG: Finished sector address 23199760
[PROGRAM] flashed "userdata" successfully
LOG: start 23461888, num 16
LOG: Finished sector address 23461904
[PROGRAM] flashed "userdata" successfully
LOG: start 23724032, num 16
LOG: Finished sector address 23724048
[PROGRAM] flashed "userdata" successfully
LOG: start 23986176, num 16
LOG: Finished sector address 23986192
[PROGRAM] flashed "userdata" successfully
LOG: start 23990792, num 16
LOG: Finished sector address 23990808
[PROGRAM] flashed "userdata" successfully
LOG: start 24248320, num 16
LOG: Finished sector address 24248336
[PROGRAM] flashed "userdata" successfully
LOG: start 24510464, num 16
LOG: Finished sector address 24510480
[PROGRAM] flashed "userdata" successfully
LOG: start 24772608, num 16
LOG: Finished sector address 24772624
[PROGRAM] flashed "userdata" successfully
LOG: start 25034752, num 16
LOG: Finished sector address 25034768
[PROGRAM] flashed "userdata" successfully
LOG: start 25296896, num 16
LOG: Finished sector address 25296912
[PROGRAM] flashed "userdata" successfully
LOG: start 25559040, num 16
LOG: Finished sector address 25559056
[PROGRAM] flashed "userdata" successfully
LOG: start 25821184, num 16
LOG: Finished sector address 25821200
[PROGRAM] flashed "userdata" successfully
LOG: start 26083328, num 16
LOG: Finished sector address 26083344
[PROGRAM] flashed "userdata" successfully
LOG: start 26345472, num 16
LOG: Finished sector address 26345488
[PROGRAM] flashed "userdata" successfully
LOG: start 26607616, num 16
LOG: Finished sector address 26607632
[PROGRAM] flashed "userdata" successfully
LOG: start 26869760, num 16
LOG: Finished sector address 26869776
[PROGRAM] flashed "userdata" successfully
LOG: start 27131904, num 16
LOG: Finished sector address 27131920
[PROGRAM] flashed "userdata" successfully
LOG: start 27394048, num 16
LOG: Finished sector address 27394064
[PROGRAM] flashed "userdata" successfully
LOG: start 27656192, num 16
LOG: Finished sector address 27656208
[PROGRAM] flashed "userdata" successfully
LOG: start 27918336, num 16
LOG: Finished sector address 27918352
[PROGRAM] flashed "userdata" successfully
LOG: start 28180480, num 16
LOG: Finished sector address 28180496
[PROGRAM] flashed "userdata" successfully
LOG: start 28442624, num 16
LOG: Finished sector address 28442640
[PROGRAM] flashed "userdata" successfully
LOG: start 28704768, num 16
LOG: Finished sector address 28704784
[PROGRAM] flashed "userdata" successfully
LOG: start 28966912, num 16
LOG: Finished sector address 28966928
[PROGRAM] flashed "userdata" successfully
LOG: start 29229056, num 16
LOG: Finished sector address 29229072
[PROGRAM] flashed "userdata" successfully
LOG: start 29491200, num 16
LOG: Finished sector address 29491216
[PROGRAM] flashed "userdata" successfully
LOG: start 29753344, num 16
LOG: Finished sector address 29753360
[PROGRAM] flashed "userdata" successfully
LOG: start 29757456, num 36064
LOG: Finished sector address 29793520
[PROGRAM] flashed "userdata" successfully at 18032kB/s
LOG: start 11010048, num 1
LOG: Finished sector address 11010049
[PROGRAM] flashed "version" successfully
LOG: start 0, num 34
LOG: Finished sector address 34
[PROGRAM] flashed "PrimaryGPT" successfully
LOG: start 61071327, num 33
LOG: Finished sector address 61071360
[PROGRAM] flashed "BackupGPT" successfully
Update last partition 53 'userdata' with actual size in Primary Header.
LOG: Patched sector 15 with 03A3DFDE
Update last partition 53 'userdata' with actual size in Backup Header.
LOG: Patched sector 61071340 with 03A3DFDE
Update Primary Header with LastUseableLBA.
LOG: Patched sector 1 with 03A3DFDE
Update Backup Header with LastUseableLBA.
LOG: Patched sector 61071359 with 03A3DFDE
Update Primary Header with BackupGPT Header Location.
LOG: Patched sector 1 with 03A3DFFF
Update Backup Header with CurrentLBA.
LOG: Patched sector 61071359 with 03A3DFFF
Update Backup Header with Partition Array Location.
LOG: Patched sector 61071359 with 03A3DFDF
Update Primary Header with CRC of Partition Array.
LOG: crc start sector 2, over bytes 7168
LOG: Patched sector 1 with 17C1FAC8
Update Backup Header with CRC of Partition Array.
LOG: crc start sector 61071327, over bytes 7168
LOG: Patched sector 61071359 with 17C1FAC8
Zero Out Header CRC in Primary Header.
LOG: Patched sector 1 with 00000000
Update Primary Header with CRC of Primary Header.
LOG: crc start sector 1, over bytes 92
LOG: Patched sector 1 with 964C7190
Zero Out Header CRC in Backup Header.
LOG: Patched sector 61071359 with 00000000
Update Backup Header with CRC of Backup Header.
LOG: crc start sector 61071359, over bytes 92
LOG: Patched sector 61071359 with 2A632198
LOG: Set bootable drive to 0.
partition 0 is now bootable
Despite having a "bootable partition 0" and somewhere among the log "flashed "boot" successfully at 13923kB/s" it seems that the phone is stuck in QDL mode.
When I unplug the phone and try to power it on or start the bootloader nothing happens. Connecting it back to the PC shows that it is still in QDL mode. So I tried to unplug the battery, plug it back, same thing. I went so far as to connect the phone with an unplugged battery and the PC immediately detects it in QDL mode.
My only concern is with the "qdl: firehose operation timed out"...
I searched info on the internet, the only thing useful I found and tried is to use a different QDL version, but it failed. And I stumbled upon 3 different firmware versions.
So I am wondering what it might be, is it a normal behavior and do I need an additional step to boot?
I made sure before posting to try all the tips listed above.
Thanks in advance for your help.
If you didn't restart anything after firehose timed out I don't think it was flashing anything. It said it was but I don't believe it, if the loader timed out and failed, what was it flashing ?
Do anyone has an idea what can be wrong:
./qdl --debug --storage emmc --include /home/rudi/Downloads/9008/prog_emmc_firehose_8953_ddr.mbn /home/rudi/Downloads/9008/rawprogram0.xml /home/rudi/Downloads/9008/patch0.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
END OF IMAGE image: 13 status: 20
received non-successful result
Thanks!
rudi.timmer said:
Do anyone has an idea what can be wrong:
./qdl --debug --storage emmc --include /home/rudi/Downloads/9008/prog_emmc_firehose_8953_ddr.mbn /home/rudi/Downloads/9008/rawprogram0.xml /home/rudi/Downloads/9008/patch0.xml
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ image: 13 offset: 0x0 length: 0x34
END OF IMAGE image: 13 status: 20
received non-successful result
Thanks!
Click to expand...
Click to collapse
include directory /home/rudi/Downloads/9008 then path to firehose, rawprogram and patch.
edit: Like below. Path to folder so it knows where to get all files then firehose rawprogram and patch.
Code:
./qdl --debug --storage emmc --include /home/rudi/Downloads/9008 /home/rudi/Downloads/9008/prog_emmc_firehose_8953_ddr.mbn /home/rudi/Downloads/9008/rawprogram0.xml /home/rudi/Downloads/9008/patch0.xml
tek3195 said:
include directory /home/rudi/Downloads/9008 then path to firehose, rawprogram and patch.
Click to expand...
Click to collapse
Ok thanks!
rudi.timmer said:
Ok thanks!
Click to expand...
Click to collapse
I edited post above. It has full command if you want to copy paste.
tek3195 said:
I edited post above. It has full command if you want to copy paste.
Click to expand...
Click to collapse
Ok thanks but i have found it out myself when you have posted the first message and it worked out OK so everything is fixed ! Thanks!!
Ricky0178 said:
Introduction
Hey guys! In my journey to completely go from windows to linux I was trying to see if there was a qfil alternative for linux, seeing that the program barely works on wine nor on a WIndows VM, so after a lot of digging i found an open source alternative to that, so today I'm going to show how you could flash any rom using qdl on linux (in my case I have a lenovo z5 pro gt so the guide will help you specifically with that)
You need some things before we start:
Your rom file, which you can get from lolinet
A few dependencies, which you can install with
Code:
sudo apt install fastboot libxml2-dev libudev-dev git build-essentials make
QDL binaries, downloadable via the command
Code:
git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git
Preparing files and Building QDL
Once you got all the files you need to first extract the files stored on the *.zip of the rom you downloaded on a folder (for simplicity's sake you should call the folder something easy and sort such as z5pro). You should now look for a few files on the newly unzipped folder, especially for
patch0.xml
rawprogram_unparse0.xml,
prog_firehose_ddr.elf (could have also a .mbn file extension, it's the same)
Some Linux distributions come with ModemManager, a tool for configuring Mobile Broadband. You should stop this service because it interferes with the process
Code:
sudo systemctl stop ModemManager
After that open a terminal and cd to the qdl folder that you downloaded with git and run make. If everything went to plan you should now have a qdl file. Test if it works by just typing on the terminal "./qdl"
At this point you are nearly done! start building your command without pressing enter. it should have this scruture:
Code:
./qdl --debug --storage ufs --include /path/to/z5pro /path/to/prog_firehose_ddr.elf /path/to/rawprogram0_unparse0.xml /path/to/patch0.xml
Before pressing enter you should send your device in EDL mode. You can do this in a variety of ways:
From fastboot
Code:
fastboot reboot edl
By pressing both vol up and vol down and connecting the phone to the computer
Press send on the terminal to start the process. Beware, you should do this as quickly as you can, otherwise it could just error you out
Wait at least 10 minutes for the process to complete and congratulations, you should have a working rom installed on your phone!
Thanks a lot to 96boards.org for telling me the necessary dependencies to run the program, it really helped me a lot on the process.
If my guide helped you leaving a thanks would be greatly appreciated!
Click to expand...
Click to collapse
this what i keep getting...any help is appreciated
[email protected]:~$ chmod u=rwx,g=r,o=r qdl
[email protected]:~$ sudo qdl --storage ufs --include /Home/downloads/9008 /Home/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /Home/downloads/9008 /Home/qdl/rp2-edl/rawprogram0xml /Home/downloads/9008 /Home/qdl/patch0.xml
I/O error : Permission denied
I/O error : Permission denied
I/O warning : failed to load external entity "/Home/downloads/9008"
[PATCH] failed to parse /Home/downloads/9008
qdl: failed to detect file type of /Home/downloads/9008
ATACELITE said:
this what i keep getting...any help is appreciated
[email protected]:~$ chmod u=rwx,g=r,o=r qdl
[email protected]:~$ sudo qdl --storage ufs --include /Home/downloads/9008 /Home/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /Home/downloads/9008 /Home/qdl/rp2-edl/rawprogram0xml /Home/downloads/9008 /Home/qdl/patch0.xml
I/O error : Permission denied
I/O error : Permission denied
I/O warning : failed to load external entity "/Home/downloads/9008"
[PATCH] failed to parse /Home/downloads/9008
qdl: failed to detect file type of /Home/downloads/9008
Click to expand...
Click to collapse
try with chmod a+x qdl
tek3195 said:
try with chmod a+x qdl
Click to expand...
Click to collapse
what is going on? howmto fix this? Thankyou in advance
[email protected]:~/qdl/rp2-edl$ qdl --debug --storage ufs --include /home/android/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /home/android/qdl/rp2-edl/rawprogram0.xml /home/android/qdl/rp2-edl/patch0.xml
Waiting for EDL device
*** buffer overflow detected ***: terminated
Aborted (core dumped)
ATACELITE said:
what is going on? howmto fix this? Thankyou in advance
[email protected]:~/qdl/rp2-edl$ qdl --debug --storage ufs --include /home/android/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /home/android/qdl/rp2-edl/rawprogram0.xml /home/android/qdl/rp2-edl/patch0.xml
Waiting for EDL device
*** buffer overflow detected ***: terminated
Aborted (core dumped)
Click to expand...
Click to collapse
You have to tell it where it is going to get all the files it is supposed to flash. Need the folder where they are located. Looks like you need to add /home/android/qdl/rp2-edl to your --include. Run qdl as root or with sudo.
tek3195 said:
You have to tell it where it is going to get all the files it is supposed to flash. Need the folder where they are located. Looks like you need to add /home/android/qdl/rp2-edl to your --include. Run qdl as root or with sudo.
Click to expand...
Click to collapse
So there should be no space after --include so like this...--include/home/android...etc. I will try with root privileges as well. I've been working on unbricking this razor phone 2 since 2020...I have more updated devices but the razer company makes it nearly impossible so it's personal at this point haha!
ATACELITE said:
So there should be no space after --include so like this...--include/home/android...etc. I will try with root privileges as well. I've been working on unbricking this razor phone 2 since 2020...I have more updated devices but the razer company makes it nearly impossible so it's personal at this point haha!
Click to expand...
Click to collapse
Also tek, thank you for taking time out of your day to continue to help on an outdated thread and for free. I really appreciate you.
ATACELITE said:
So there should be no space after --include so like this...--include/home/android...etc. I will try with root privileges as well. I've been working on unbricking this razor phone 2 since 2020...I have more updated devices but the razer company makes it nearly impossible so it's personal at this point haha!
Click to expand...
Click to collapse
There wil be a space after --include like this example for your system. Copy paste if you want.
Code:
--include /home/android/qdl/rp2-edl /home/android/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /home/android/qdl/rp2-edl/rawprogram0.xml /home/android/qdl/rp2-edl/patch0.xml
@ATACELITE you include that folder with all your rom files so when rawprogram and patch tell it what partitions to flash it will know where to get them.

Help - Unpack/Repack an Encrypted rootfs on Allwinner H6

Hello everyone,
I am in need of some help with decrypting the locked rootfs on my Allwinner H6 (sun50iw6p1) SoC. I have been trying to access the rootfs for a while now, but with no success.
I have unpacked the image using imgrepacker, I was able to repack the image with success, The issue I face is that the rootfs is encrypted, and I need to decrypt it to access it. I have searched online for solutions, but there isn't much information available on how to decrypt the rootfs on this particular SoC.
This rootfs is accessable/unlocked and mounted on boot but this SoC has all UART write disabled and no SSH access.
I am hoping to decrypt the drive to gain access to the rootfs to modify some core functions such as UCI and other bash files and repack using imgrepacker.
If anyone has experience with this and knows how to decrypt the locked rootfs, please do share your knowledge and expertise.
Please note my knowledge is very limited but willing to learn.
I have attached:
- LUKS Encryption Header
- RAMDISK Logs
- BINWALK Signatures
Spoiler: View Luks Encryption
Code:
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 256
MK digest: 80 18 47 cf b6 62 fd 22 d6 24 22 45 0b c8 69 dc 85 3b 67 4d
MK salt: 78 55 50 2d 86 d8 ad ab 31 52 c3 09 41 39 cf 8b
c1 66 1d c8 4c 71 e4 7a 05 74 fc 92 b0 a1 a7 65
MK iterations: 225986
UUID: 03e0a71e-ce09-4ec0-b459-93e973f0304c
Key Slot 0: ENABLED
Iterations: 178633
Salt: 8e 41 7d 59 d5 a0 9e c4 e1 8b 94 b0 8a 9f 41 7f
f3 af b3 f7 3d ac 11 c3 68 3b 7d 1f 44 b4 37 e3
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
Spoiler: View RAMDISK Logs
Code:
01-02 08:00:00.27 W kernel: [ 4.802070] [ramdisk]: ======================ramdisk start====================
01-02 08:00:00.27 W kernel: [ 4.816451] [ramdisk]: [/init]: RootDevice is "/dev/system"
01-02 08:00:00.27 W kernel: [ 4.822840] [ramdisk]: [/init]: Boot_type is "0"
01-02 08:00:00.27 W kernel: [ 4.842118] [ramdisk]: [/init]: Try to load Nand ...
01-02 08:00:00.27 I kernel: [ 6.513301] device-mapper: crypt: xts(aes) using implementation "xts-aes-ce"
01-02 08:00:00.27 W kernel: [ 6.557444] [ramdisk]: /dev/mapper/rootfs already has journal
01-02 08:00:00.27 W kernel: [ 6.564081] [ramdisk]: e2fsck -y /dev/mapper/rootfs
01-02 08:00:00.27 W kernel: [ 6.575236] [ramdisk]: mount nand /dev/mapper/rootfs on /root temporarily
01-02 08:00:00.27 W kernel: [ 6.589585] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
01-02 08:00:00.27 I kernel: [ 6.617284] EXT4-fs (dm-0): mounted filesystem with journalled data mode. Opts: data=journal
01-02 08:00:00.27 W kernel: [ 6.627217] [ramdisk]: check partition /dev/by-name/data
01-02 08:00:00.27 W kernel: [ 6.708009] [ramdisk]: mount /dev/by-name/data on /mnt
01-02 08:00:00.27 I kernel: [ 6.734417] EXT4-fs (nandf): mounted filesystem with journalled data mode. Opts: data=journal
01-02 08:00:00.27 E kernel: [ 6.770892] [NAND]unknow cmd 0x4c01!
01-02 08:00:00.27 W kernel: [ 6.775302] [ramdisk]: /dev/by-name/data has ext4
01-02 08:00:00.27 W kernel: [ 6.780658] [ramdisk]: check_and_mount_data_parts
01-02 08:00:00.27 W kernel: [ 6.786059] [ramdisk]: check partition /dev/by-name/data
01-02 08:00:00.27 W kernel: [ 6.797751] [ramdisk]: mount /dev/by-name/data on /mnt
01-02 08:00:00.27 I kernel: [ 6.817645] EXT4-fs (nandf): mounted filesystem with journalled data mode. Opts: data=journal
01-02 08:00:00.27 E kernel: [ 6.854879] [NAND]unknow cmd 0x4c01!
01-02 08:00:00.27 W kernel: [ 6.859282] [ramdisk]: /dev/by-name/data has ext4
01-02 08:00:00.27 W kernel: [ 6.864638] [ramdisk]: mount /dev/by-name/data on /root/data
01-02 08:00:00.27 I kernel: [ 6.880546] EXT4-fs (nandf): mounted filesystem with journalled data mode. Opts: data=journal
01-02 08:00:00.27 W kernel: [ 6.890563] [ramdisk]: check partition /dev/by-name/data_bak
01-02 08:00:00.27 W kernel: [ 6.968366] [ramdisk]: mount /dev/by-name/data_bak on /mnt
01-02 08:00:00.27 I kernel: [ 6.995460] EXT4-fs (nandg): mounted filesystem with journalled data mode. Opts: data=journal
01-02 08:00:00.27 E kernel: [ 7.030895] [NAND]unknow cmd 0x4c01!
01-02 08:00:00.27 W kernel: [ 7.035305] [ramdisk]: /dev/by-name/data_bak has ext4
01-02 08:00:00.27 W kernel: [ 7.041056] [ramdisk]: mount /dev/by-name/data_bak on /root/data_bak
01-02 08:00:00.27 I kernel: [ 7.057376] EXT4-fs (nandg): mounted filesystem with journalled data mode. Opts: data=journal
01-02 08:00:00.27 W kernel: [ 7.075673] [ramdisk]: ======================ramdisk end====================
Spoiler: View Binwalk of Extracted Files
binwalk *.fex
Code:
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/arisc.fex
MD5 Checksum: f9f8acd107fc4eeda65a709c943c1212
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/aultls32.fex
MD5 Checksum: 3ef6e294e5db103f666cd9663f6ab62a
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
141311 0x227FF Unix path: /home/user/lichee/tools/pack/out_android/
142030 0x22ACE Unix path: /home/user/lichee/tools/pack/out_android/boot.img /home/user/imgdata/boot
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/aultools.fex
MD5 Checksum: 53c1610f722fd281f1e479ce6a20b6bc
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
154631 0x25C07 Unix path: /home/user/lichee/tools/pack/out_android/
155490 0x25F62 Unix path: /home/user/lichee/tools/pack/out_android/boot.img /home/user/imgdata/boot
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/board.fex
MD5 Checksum: 962f9346fd771aa3659d48016a255b4d
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/boot0_nand.fex
MD5 Checksum: 2be93fa43b62dfc0350d3d69de19b5e8
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/boot0_sdcard.fex
MD5 Checksum: c9161a4455bbfb49a1d8fec081f5d530
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/boot_package.fex
MD5 Checksum: 0ffaa05834e907c9362cc65c8c86559f
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
489984 0x77A00 SHA256 hash constants, little endian
592493 0x90A6D Certificate in DER format (x509 v3), header length: 4, sequence length: 5416
745084 0xB5E7C CRC32 polynomial table, little endian
746540 0xB642C Intel x86 or x64 microcode, sig 0x0000000c, pf_mask 0x01, 2000-07-02, rev 0x4a0cec49, size 2
781880 0xBEE38 Android bootimg, kernel size: 2037543936 bytes, kernel addr: 0x206F7420, ramdisk size: 1684104562 bytes, ramdisk addr: 0x72617020, product name: "ash read :offset %x, %d bytes %s"
783386 0xBF41A Copyright string: "Copyright (C) 2010 Charles Cazabon."
1561600 0x17D400 Flattened device tree, size: 134167 bytes, version: 17
1700864 0x19F400 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: -1 bytes
Scan Time: 2023-04-07 23:57:03
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/boot-resource.fex
MD5 Checksum: 59a8cdc4034da50def07f0c7c8ac7c84
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
281088 0x44A00 PC bitmap, Windows 3.x format,, 1280 x 720 x 32
4315648 0x41DA00 PC bitmap, Windows 3.x format,, 246 x 257 x 24
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/cardscript.fex
MD5 Checksum: e4f356976ba71d8793e12195295527d9
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/cardtool.fex
MD5 Checksum: 1f4762529fb56865d97257345fa7abf1
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Microsoft executable, portable (PE)
47876 0xBB04 Intel x86 or x64 microcode, sig 0xffffffe0, pf_mask 0x01, 1E2C-10-01, size 1
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/config.fex
MD5 Checksum: 09ed242e0e0d4e4198edde482544352f
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/data.fex
MD5 Checksum: c9bb33f2a10c1ce1be952964f5b8a98b
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Linux EXT filesystem, blocks count: 8192, image size: 8388608, rev 2.0, ext4 filesystem data, UUID=57f8f4bc-abf4-655f-bf67-946fc0f9c0f9
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/dlinfo.fex
MD5 Checksum: 3dcf38789b7d901b414ef43969bf6489
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/env.fex
MD5 Checksum: 1227c5c850bd07b15f8c66b522354cec
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/fes1.fex
MD5 Checksum: 45078a8d866278ddab9cd2fc757065d1
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:04
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/fit-image.fex
MD5 Checksum: 94f9cb25dbd42e8c1824e892faa96fd3
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Flattened device tree, size: 4600731 bytes, version: 17
220 0xDC gzip compressed data, maximum compression, from Unix, last modified: 1970-01-01 00:00:00 (null date)
Scan Time: 2023-04-07 23:57:05
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/rootfs.fex
MD5 Checksum: 0aa27d708ef48cd9b7d4e936d0d50358
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 LUKS_MAGIC version 0x1 aes sha256
44597269 0x2A88015 MySQL MISAM index file Version 6
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/split_xxxx.fex
MD5 Checksum: 2d2624044f1e232bd241a715e5a1f6e1
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/sunxi.fex
MD5 Checksum: c6dc189788e7c9de9df189dfaa7d39a9
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Flattened device tree, size: 134167 bytes, version: 17
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/sunxi_mbr.fex
MD5 Checksum: 8d2446421ab43775894d321781084e11
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
76 0x4C LZMA compressed data, properties: 0x65, dictionary size: 0 bytes, uncompressed size: 128 bytes
16460 0x404C LZMA compressed data, properties: 0x65, dictionary size: 0 bytes, uncompressed size: 128 bytes
32844 0x804C LZMA compressed data, properties: 0x65, dictionary size: 0 bytes, uncompressed size: 128 bytes
49228 0xC04C LZMA compressed data, properties: 0x65, dictionary size: 0 bytes, uncompressed size: 128 bytes
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/sys_config.fex
MD5 Checksum: c3b711269b46003723e72bc14b2ef9f4
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/sys_partition.fex
MD5 Checksum: 21af51dfa675a97744e052c8107d4456
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/toc0.fex
MD5 Checksum: e257f181c14a4020211370442475f703
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/toc1.fex
MD5 Checksum: b51ad39c87e98314ba53cedb090a0930
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/u-boot-crash.fex
MD5 Checksum: be07519778e697b6b716e410b5bea85d
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:11
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/u-boot.fex
MD5 Checksum: e25cce6dcf4578c9c6a9f1a3da2b8acc
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
486912 0x76E00 SHA256 hash constants, little endian
589421 0x8FE6D Certificate in DER format (x509 v3), header length: 4, sequence length: 5416
742012 0xB527C CRC32 polynomial table, little endian
743468 0xB582C Intel x86 or x64 microcode, sig 0x0000000c, pf_mask 0x01, 2000-07-02, rev 0x4a0cec49, size 2
778808 0xBE238 Android bootimg, kernel size: 2037543936 bytes, kernel addr: 0x206F7420, ramdisk size: 1684104562 bytes, ramdisk addr: 0x72617020, product name: "ash read :offset %x, %d bytes %s"
780314 0xBE81A Copyright string: "Copyright (C) 2010 Charles Cazabon."
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/usbtool_crash.fex
MD5 Checksum: 6dadd3708ab6ca078c9fc4aa99664fa6
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Microsoft executable, portable (PE)
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/usbtool.fex
MD5 Checksum: 3432a655c6538edcda599f0aae265eb2
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 Microsoft executable, portable (PE)
130824 0x1FF08 Intel x86 or x64 microcode, pf_mask 0x00, 1918-10-02, rev 0x10021910, size 2048
132132 0x20424 Intel x86 or x64 microcode, sig 0x19930522, pf_mask 0x01, 1DFC-10-02, rev 0x0001, size 2048
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/Vboot-resource.fex
MD5 Checksum: f885e16904bda1f7f699fd2904f2cffe
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/Vdata.fex
MD5 Checksum: f869eb23e402940059cb3ec761dde81f
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/Venv.fex
MD5 Checksum: fe31c777c7957410bf7c8246e76ef9ab
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/Vfit-image.fex
MD5 Checksum: 1cd297409cd6d19f55983f7ae6ab6040
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/vmlinux.fex
MD5 Checksum: b8f97a4ddd7b48a17ea22b90b716490e
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
0 0x0 bzip2 compressed data, block size = 900k
Scan Time: 2023-04-07 23:57:12
Target File: /home/ap/Firmwares/H6OS/h6os.img.dump/Vrootfs.fex
MD5 Checksum: 55e7e002eb9bfb9268e84cc81c2dd2c9
Signatures: 411
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------

Categories

Resources