Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<WizardScript wizard:version="2"
xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard">
<WizardAction wizard:uri="intent:#Intent;action=com.android.setupwizard.OEM_PRE_SETUP;end" id="oem_pre_setup" />
<WizardAction wizard:uri="intent:#Intent;package=com.google.android.setupwizard;action=com.android.setupwizard.WELCOME;end" id="welcome">
<result wizard:action="check_user_unlock_qr" wizard:name="start_qr_provision" wizard:resultCode="101" />
<result wizard:action="check_user_unlock_dpm_user_complete" wizard:name="dpm_user_complete" wizard:resultCode="111" />
<result wizard:action="check_user_unlock_dpm_user_complete" wizard:name="dpm_profile_complete" wizard:resultCode="112" />
<result wizard:action="check_user_unlock_work_setup_interrupted_qr_scan" wizard:name="check_user_unlock_work_setup_interrupted_qr_scan" wizard:resultCode="114" />
<result wizard:action="check_user_unlock_work_setup_interrup

Go to settings->system->developer options, and enable usb debugging and rooted debugging.
Then do these adb commands to fix data on sprint.

adb root
adb shell
content insert --uri content://telephony/carriers --bind name:s:"SprInternet" --bind numeric:s:"312530" --bind type:s:"default,supl,mms,cbs,ia,dun" --bind protocol:s:"IPV4V6" --bind mcc:i:"312" --bind mnc:s:"530" --bind apn:s:"x.ispsn"
[ 96% 6704/6977] target C++: libhistogram <= hardware/qcom/sdm845/display/libhistogram/histogram_collector.cpp
FAILED: out/target/product/blueline/obj/STATIC_LIBRARIES/libhistogram_intermediates/histogram_collector.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++ -I hardware/qcom/sdm845/display/libhistogram -I out/target/product/blueline/obj/STATIC_LIBRARIES/libhistogram_intermediates -I out/target/product/blueline/gen/STATIC_LIBRARIES/libhistogram_intermediates \$(cat out/target/product/blueline/obj/STATIC_LIBRARIES/libhistogram_intermediates/import_includes) -isystem out/target/product/blueline/obj/include -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conv
FAILED: out/target/product/blueline/obj/STATIC_LIBRARIES/libhistogram_intermediates/histogram_collector.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++ -I hardware/qcom/sdm845/display/libhistogram -I out/target/product/blueline/obj/STATIC_LIBRARIES/libhistogram_intermediates -I out/target/product/blueline/gen/STATIC_LIBRARIES/libhistogram_intermediates \$(cat out/target/product/blueline/obj/STATIC_LIBRARIES/libhistogram_intermediates/import_includes) -isystem out/target/product/blueline/obj/include -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-ze
HOSTCC scripts/extract-cert
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/genksyms/lex.lex.o
CC scripts/mod/devicetable-offsets.s
CHK include/generated/utsrelease.h
MKELF scripts/mod/elfconfig.h
CHK scripts/mod/devicetable-offsets.h
/home/razorloves/lineage/prebuilts/openssl/linux-x86/1.1.1/lib/libcrypto.a(threads_pthread.o):threads_pthread.c:function CRYPTO_THREAD_lock_new: error: undefined reference to 'pthread_rwlock_init'
/home/razorloves/lineage/prebuilts/openssl/linux-x86/1.1.1/lib/libcrypto.a(threads_pthread.o):threads_pthread.c:function CRYPTO_THREAD_read_lock: error: undefined reference to 'pthread_rwlock_rdlock'
/home/razorloves/lineage/prebuilts/openssl/linux-x86/1.1.1/lib/libcrypto.a(threads_pthread.o):threads_pthread.c:function CRYPTO_THREAD_write_lock: error: undefined reference to 'pthread_rwlock_wrlock'