Seltado27
Hi, when I search for an update for my ZT3 Pro, I get an error "OKhttp3". Any help would be helpful.
#1 · closed · 5 comments
Hi, when I search for an update for my ZT3 Pro, I get an error "OKhttp3". Any help would be helpful.
You'd have to dump the exact stack trace from the app's log and specify, which mod configuration you used - e.g. if you injected a custom payload.
ok nevermind I am able to replicate the issue.
loaded real libc.so 2025-06-19 11:23:05.596 31697-31697 nbdrift com.ninebot.segway D found libnesec base at: 0x7aea300000 2025-06-19 11:23:05.658 31697-31697 nbdrift com.ninebot.segway D found init array offset: 0xecb18 2025-06-19 11:23:05.659 31697-31697 nbdrift com.ninebot.segway D hooked third init array func 2025-06-19 11:23:05.757 31697-31697 nbdrift com.ninebot.segway D my_init_array_3() invoked! 2025-06-19 11:23:06.276 31697-31697 nbdrift com.ninebot.segway D ori_init_array_3() finished! 2025-06-19 11:23:06.310 31697-31697 nbdrift com.ninebot.segway D hooked integrity check func 2025-06-19 11:23:06.310 31697-31697 nbdrift com.ninebot.segway D Found JNI_OnLoad at 0x7aea38b0d8 2025-06-19 11:23:06.311 31697-31697 nbdrift com.ninebot.segway D hooked JNI_OnLoad 2025-06-19 11:23:06.311 31697-31697 nbdrift com.ninebot.segway D my_JNI_OnLoad() invoked! 2025-06-19 11:23:06.327 31697-31697 nbdrift com.ninebot.segway D orig_JNI_OnLoad() finished! 2025-06-19 11:23:07.040 31697-31697 nbdrift com.ninebot.segway D hooking env initialized! 2025-06-19 11:23:07.041 31697-31697 nbdrift com.ninebot.segway D Begin DEX injection 2025-06-19 11:23:07.048 31697-31697 nbdrift com.ninebot.segway D injectDex(): ressources released 2025-06-19 11:23:07.062 31697-31697 nbdrift com.ninebot.segway I Initializing ClassLoader hooks... 2025-06-19 11:23:07.105 31697-31697 nbdrift com.ninebot.segway I Hook created for java.lang.ClassLoader with 1 parameters 2025-06-19 11:23:07.114 31697-31697 nbdrift com.ninebot.segway I Hook created for java.lang.ClassLoader with 2 parameters 2025-06-19 11:23:07.127 31697-31697 nbdrift com.ninebot.segway I dalvik.system.PathClassLoader inherits loadClass with 1 parameters - already hooked via parent 2025-06-19 11:23:07.128 31697-31697 nbdrift com.ninebot.segway I dalvik.system.DexClassLoader inherits loadClass with 1 parameters - already hooked via parent 2025-06-19 11:23:07.129 31697-31697 nbdrift com.ninebot.segway I dalvik.system.InMemoryDexClassLoader inherits loadClass with 1 parameters - already hooked via parent 2025-06-19 11:23:07.129 31697-31697 nbdrift com.ninebot.segway I dalvik.system.BaseDexClassLoader inherits loadClass with 1 parameters - already hooked via parent 2025-06-19 11:23:07.131 31697-31697 nbdrift com.ninebot.segway I java.lang.BootClassLoader inherits loadClass with 1 parameters - already hooked via parent 2025-06-19 11:23:07.165 31697-31697 nbdrift com.ninebot.segway I Hook created for java.lang.BootClassLoader with 2 parameters 2025-06-19 11:23:07.170 31697-31697 nbdrift com.ninebot.segway I dalvik.system.DelegateLastClassLoader inherits loadClass with 1 parameters - already hooked via parent 2025-06-19 11:23:07.178 31697-31697 nbdrift com.ninebot.segway I Hook created for dalvik.system.DelegateLastClassLoader with 2 parameters 2025-06-19 11:23:07.178 31697-31697 nbdrift com.ninebot.segway D DEX injection completed sucessfully! 2025-06-19 11:23:10.406 31697-31697 nbdrift com.ninebot.segway D BaseParametersInterceptor hook installed successfully with simulated response support! 2025-06-19 11:23:10.408 31697-31697 nbdrift com.ninebot.segway D Added simulated response with callback for pattern: /app-api/app-version/v1/check 2025-06-19 11:23:10.435 31697-31697 nbdrift com.ninebot.segway E Cannot access storage. Permission may be missing. 2025-06-19 11:23:10.451 31697-31697 nbdrift com.ninebot.segway D UserPermissionProviderImpl hook installed successfully 2025-06-19 11:23:10.520 31697-31697 nbdrift com.ninebot.segway D setupHookDeviceBean(): Hook installed successfully 2025-06-19 11:23:10.520 31697-31697 nbdrift com.ninebot.segway E Cannot access storage. Permission may be missing. 2025-06-19 11:23:23.039 31697-32224 nbdrift com.ninebot.segway D ######## BEGIN REQUEST ######## Request{method=POST, url=https://eu-oms-gateway.ninebot.com/app-api/privacy-policy/v1/latest, tags={class retrofit2.Invocation=cn.ninebot.commonlibs.app.ApiService.getAgreementVersion() []}} {"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMzc3NzkxODk3MjU4NTYxNTM2IiwiYXVkaWVuY2UiOiJtb2JpbGUiLCJ1c2VyX25hbWUiOiJudl82OTg3Nzk1MTExIiwiY2xpZW50X2lkIjoiYXBwX2NsaWVudF9pZF92ZWhpY2xlX292ZXJzZWFzIiwicmVnX2RhdGUiOjE3NDg1MzI3ODYsImF1ZCI6WyJpb3Qtd2ViYXBwIl0sImFyZWFDb2RlIjpudWxsLCJwaG9uZSI6bnVsbCwic2NvcGUiOlsicmVhZCJdLCJleHAiOjE3NTI5MDg2MjQsInJlZ2lvbiI6ImZyYSIsImp0aSI6Ing1WktYOGlkczdOSzNsa3M4N29fM1lYT3hJVSIsImVtYWlsIjoieWFubmlzLnNvbHRhbmViZW5hbGxvdUBnbWFpbC5jb20ifQ.wABrzwqteh-HuKx-ndyKskMnZIk8lqkVbainewDG3hJ3MbnKqc5NqFPdeTPkV1TNfpvAeDUMHPsYKaFGDjmNgeKnGSa5Ii_7IBeEe_86KH_9BxD-YjGGHjd18xJwONfrzAT9kQcskToCMCzDRNyO74zhO0aFnYOFZ57LjLI4BNU","uid":"212226994","sys_language":"fr-fr","client_ver":"609011439","device_id":"6873b808b627c3e5ce0e1b56a3248ea2","regionx":"fra","language":"fr","ostype":"and","lang":"fr","platform_ver":"11 samsung_SM-A405FN","platform":"android"} Response{protocol=h2, code=200, message=, url=https://eu-oms-gateway.ninebot.com/app-api/privacy-policy/v1/latest} {"code":1,"desc":"Successfully","data":{"version":"4"},"t":1750325003446} ######## END REQUEST ######## 2025-06-19 11:23:23.126 31697-32327 nbdrift com.ninebot.segway D ######## BEGIN REQUEST ######## Request{method=POST, url=https://eu-oms-gateway.ninebot.com/app-api/system-time/v1/get-time, tags={class retrofit2.Invocation=cn.ninebot.commonlibs.app.ApiService.getTime() []}} {"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMzc3NzkxODk3MjU4NTYxNTM2IiwiYXVkaWVuY2UiOiJtb2JpbGUiLCJ1c2VyX25hbWUiOiJudl82OTg3Nzk1MTExIiwiY2xpZW50X2lkIjoiYXBwX2NsaWVudF9pZF92ZWhpY2xlX292ZXJzZWFzIiwicmVnX2RhdGUiOjE3NDg1MzI3ODYsImF1ZCI6WyJpb3Qtd2ViYXBwIl0sImFyZWFDb2RlIjpudWxsLCJwaG9uZSI6bnVsbCwic2NvcGUiOlsicmVhZCJdLCJleHAiOjE3NTI5MDg2MjQsInJlZ2lvbiI6ImZyYSIsImp0aSI6Ing1WktYOGlkczdOSzNsa3M4N29fM1lYT3hJVSIsImVtYWlsIjoieWFubmlzLnNvbHRhbmViZW5hbGxvdUBnbWFpbC5jb20ifQ.wABrzwqteh-HuKx-ndyKskMnZIk8lqkVbainewDG3hJ3MbnKqc5NqFPdeTPkV1TNfpvAeDUMHPsYKaFGDjmNgeKnGSa5Ii_7IBeEe_86KH_9BxD-YjGGHjd18xJwONfrzAT9kQcskToCMCzDRNyO74zhO0aFnYOFZ57LjLI4BNU","uid":"212226994","sys_language":"fr-fr","client_ver":"609011439","device_id":"6873b808b627c3e5ce0e1b56a3248ea2","regionx":"fra","language":"fr","ostype":"and","lang":"fr","platform_ver":"11 samsung_SM-A405FN","platform":"android","login_country":"FR"} Response{protocol=h2, code=200, message=, url=https://eu-oms-gateway.ninebot.com/app-api/system-time/v1/get-time} {"code":1,"desc":"Successfully","data":{"time":1750325004,"translateSwitch":1,"event_tracking_info":{"url":"YXBwOkFvaDk5SkxRV2dRaEx0WWc=","key":"https://datasink-fra.ninebot.com/app_v6"}},"t":1750325004049} ######## END REQUEST ######## 2025-06-19 11:23:23.166 31697-32515 nbdrift com.ninebot.segway D ######## BEGIN REQUEST ######## Request{method=POST, url=https://eu-oms-gateway.ninebot.com/app-api/settings/v1/set-pushid, tags={class retrofit2.Invocation=cn.ninebot.ninebot.mainshell.PushApiService.setPushRegId() [e-1joKc1TiCpoa9QrK58GX:APA91bEVPI50_kH1Pnn7Kcv0tGQlqSag2binbs0yFxU45D80c4M--UFq2waC0itwdm_qPY7PKRP85LmavgPPTpJUWVURu3Fl9RGpJikFtCvCC2tHwq34WD0]}} {"jpush_regid":"e-1joKc1TiCpoa9QrK58GX:APA91bEVPI50_kH1Pnn7Kcv0tGQlqSag2binbs0yFxU45D80c4M--UFq2waC0itwdm_qPY7PKRP85LmavgPPTpJUWVURu3Fl9RGpJikFtCvCC2tHwq34WD0","access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMzc3NzkxODk3MjU4NTYxNTM2IiwiYXVkaWVuY2UiOiJtb2JpbGUiLCJ1c2VyX25hbWUiOiJudl82OTg3Nzk1MTExIiwiY2xpZW50X2lkIjoiYXBwX2NsaWVudF9pZF92ZWhpY2xlX292ZXJzZWFzIiwicmVnX2RhdGUiOjE3NDg1MzI3ODYsImF1ZCI6WyJpb3Qtd2ViYXBwIl0sImFyZWFDb2RlIjpudWxsLCJwaG9uZSI6bnVsbCwic2NvcGUiOlsicmVhZCJdLCJleHAiOjE3NTI5MDg2MjQsInJlZ2lvbiI6ImZyYSIsImp0aSI6Ing1WktYOGlkczdOSzNsa3M4N29fM1lYT3hJVSIsImVtYWlsIjoieWFubmlzLnNvbHRhbmViZW5hbGxvdUBnbWFpbC5jb20ifQ.wABrzwqteh-HuKx-ndyKskMnZIk8lqkVbainewDG3hJ3MbnKqc5NqFPdeTPkV1TNfpvAeDUMHPsYKaFGDjmNgeKnGSa5Ii_7IBeEe_86KH_9BxD-YjGGHjd18xJwONfrzAT9kQcskToCMCzDRNyO74zhO0aFnYOFZ57LjLI4BNU","uid":"212226994","sys_language":"fr-fr","client_ver":"609011439","device_id":"6873b808b627c3e5ce0e1b56a3248ea2","regionx":"fra","language":"fr","ostype":"and","lang":"fr","platform_ver":"11 samsung_SM-A405FN","platform":"android","login_country":"FR"} Response{protocol=h2, code=200, message=, url=https://eu-oms-gateway.ninebot.com/app-api/settings/v1/set-pushid} {"code":1,"desc":"Successfully","data":{},"t":1750325004149} ######## END REQUEST ######## 2025-06-19 11:23:23.795 31697-32252 nbdrift com.ninebot.segway D ######## BEGIN REQUEST ######## Request{method=POST, url=https://eu-oms-gateway.ninebot.com/app-api/package-config/v1/search-content, headers=[Cache-Control:no-cache], tags={class retrofit2.Invocation=cn.ninebot.device.network.DeviceApiService.getSearchConfigContent() [https://eu-oms-gateway.ninebot.com/app-api/package-config/v1/search-content, no-cache, 609011439, 2]}} {"version":"609011439","environment":"2","access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMzc3NzkxODk3MjU4NTYxNTM2IiwiYXVkaWVuY2UiOiJtb2JpbGUiLCJ1c2VyX25hbWUiOiJudl82OTg3Nzk1MTExIiwiY2xpZW50X2lkIjoiYXBwX2NsaWVudF9pZF92ZWhpY2xlX292ZXJzZWFzIiwicmVnX2RhdGUiOjE3NDg1MzI3ODYsImF1ZCI6WyJpb3Qtd2ViYXBwIl0sImFyZWFDb2RlIjpudWxsLCJwaG9uZSI6bnVsbCwic2NvcGUiOlsicmVhZCJdLCJleHAiOjE3NTI5MDg2MjQsInJlZ2lvbiI6ImZyYSIsImp0aSI6Ing1WktYOGlkczdOSzNsa3M4N29fM1lYT3hJVSIsImVtYWlsIjoieWFubmlzLnNvbHRhbmViZW5hbGxvdUBnbWFpbC5jb20ifQ.wABrzwqteh-HuKx-ndyKskMnZIk8lqkVbainewDG3hJ3MbnKqc5NqFPdeTPkV1TNfpvAeDUMHPsYKaFGDjmNgeKnGSa5Ii_7IBeEe_86KH_9BxD-YjGGHjd18xJwONfrzAT9kQcskToCMCzDRNyO74zhO0aFnYOFZ57LjLI4BNU","uid":"212226994","sys_language":"fr-fr","client_ver":"609011439","device_id":"6873b808b627c3e5ce0e1b56a3248ea2","regionx":"fra","language":"fr","ostype":"and","lang":"fr","platform_ver":"11 samsung_SM-A405FN","platform":"android","login_country":"FR"} Response{protocol=h2, code=200, message=, url=https://eu-oms-gateway.ninebot.com/app-api/package-config/v1/search-content} 2025-06-19 11:23:23.795 31697-32252 nbdrift com.ninebot.segway D {"code":1,"desc":"Opération réussie.","data":{"name":"DeviceSearch","version":600000167,"server_config":{"steeldust":{"host":"https://steeldust.ninebot.com","test_host":"https://steeldust-test.ninebot.com"},"ebike":{"host":"https://ebike.ninebot.com","test_host":"https://ebike-test.ninebot.com"},"os_steeldust":{"host":"https://steeldust-os.ninebot.com","test_host":"https://os-st-test2.ninebot.com"},"os_ebike":{"host":"https://ebike-os.ninebot.com","test_host":"https://os-eb-test2.ninebot.com"},"assisted_ebike":{"host":"https://cnnx-omsgw.ninebot.com","test_host":"https://sg-test1-oms-gateway.segwaydiscovery.com"},"assisted_ebike_os":{"host":"https://eu-oms-gateway.ninebot.com","test_host":"https://sg-test1-oms-gateway.segwaydiscovery.com"}},"supports_devices":[{"vehicle_category_zh":"赛格威电动越野摩托车","icon_dark":"https://oms-oss-public-test.ninebot.com/dsIKKa6d22/series/config/images/1672972418722_file","comm_module":"ble","support_connect":false,"name":"eallMountain","icon":"http://jhcx-app-v6-static.ninebot.com/icon/vehicle_search/other/eallMountain.png","vehicle_category_en":"Segway E-All mountain","model":"other","server_id":"9","hardware_id":"74","modules":[{"s_id":"48","name":"ble","r_id":"48"}]},{"vehicle_category_zh":"九号智能指纹U型锁","icon_dark":"https://oms-oss-public-test.ninebot.com/dsIKKa6d22/series/config/images/1672972962118_file","comm_module":"ble","support_connect":false,"icon":"http://jhcx-app-v6-static.ninebot.com/icon/vehicle_search/other/ulock.png","vehicle_category_en":"Ninebot Fingerprint Lock","name":"ulock","ble_protocol":"2","model":"other","server_id":"104","hardware_id":"241","modules":[{"s_id":"1","name":"ctrl","r_id":"1"},{"s_id":"241","name":"ble","r_id":"241"}]},{"vehicle_category_zh":"Lumina-500","icon_dark":"https://oms-oss-public.ninebot.com/device-config/vehicle-images/2024-05-31/1717126317323_%E5%9B%BD%E6%A0%87-dark%403x%283%29.png","support_connect":true,"vehicle_category_en":"Lumina-500","icon":"https://oms-oss-public.ninebot.com/device-config/vehicle-images/2024-05-31/1717126341658_%E5%9B%BD%E6%A0%87-light%403x%283%29.png","server_id":"20752","modules":[{"s_id":"18","name":"ble","r_id":"18"},{"s_id":"65","name":"bms1","r_id":"65"},{"s_id":"66","name":"bms2","r_id":"66"},{"s_id":"67","name":"bms3","r_id":"67"},{"s_id":"68","name":"bms4","r_id":"68"},{"s_id":"69","name":"bms5","r_id":"69"},{"s_id":"22","name":"invp","r_id":"22"},{"s_id":"17","name":"invs","r_id":"17"},{"s_id":"21","name":"pv","r_id":"21"},{"s_id":"6","name":"mcu","r_id":"6"}],"mtu":true,"encrypt":"2","direct_connect":true,"comm_module":"ble","model":"cube","ble_protocol":"2","hardware_id":"10752"},{"vehicle_category_zh":"超级滑板车CT1","icon_dark":"https://oms-oss-public-test.ninebot.com/dsIKKa6d22/series/config/images/1672979709701_file","encrypt":"2","comm_module":"ble","name":"segway_ct1","icon":"http://jhcx-app-v6-static.ninebot.com/icon/vehicle_search/scooter/SegwayGT1.png","vehicle_category_en":"Segway CT1","model":"scooter","server_id":"542","modules":[{"s_id":"32","name":"mcu","r_id":"32"},{"s_id":"33","name":"ble","r_id":"33"},{"s_id":"7","name":"bms","r_id":"7"},{"s_id":"35","name":"dis","r_id":"35"}],"hardware_id":"132","mtu":true},{"vehicle_category_zh":"超级滑板车ST1 Pro","icon_dark":"https://oms-oss-public-test.ninebot.com/dsIKKa6d22/series/config/images/1672979709701_file","encrypt":"2","comm_module":"ble","name":"segway_st1_pro","icon":"http://jhcx-app-v6-static.ninebot.com/icon/vehicle_search/scooter/SegwayGT1.png","vehicle_category_en":"Segway ST1 Pro","model":"scooter","server_id":"543","modules":[{"s_id":"32","name":"mcu","r_id":"32"},{"s_id":"33","name":"ble","r_id":"33"},{"s_id":"7","name":"bms","r_id":"7"},{"s_id":"35","name":"dis","r_id":"35"}],"hardware_id":"135","mtu":true},{"vehicle_category_zh":"Ninebot E","icon_dark":"https://oms-oss-public-test.ninebot.com/dsIKKa6d22/series/config/images/1672972994732_file","support_connect":false,"icon":"http://jhcx-app-v6-static.ninebot.com/ico 2025-06-19 11:23:23.795 31697-32252 nbdrift com.ninebot.segway D ######## END REQUEST ######## 2025-06-19 11:23:28.786 31697-32327 nbdrift com.ninebot.segway D ######## BEGIN REQUEST ######## Request{method=POST, url=https://api-jhcx-v6-fra.ninebot.com/user/automation/successful-v2, tags={class retrofit2.Invocation=cn.ninebot.device.network.DeviceApiService.dynamicConfigUpdateSuccessV2() [609011439, 600000167, 2, null]}} {"current_version":"609011439","version":"600000167","type":"2","access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMzc3NzkxODk3MjU4NTYxNTM2IiwiYXVkaWVuY2UiOiJtb2JpbGUiLCJ1c2VyX25hbWUiOiJudl82OTg3Nzk1MTExIiwiY2xpZW50X2lkIjoiYXBwX2NsaWVudF9pZF92ZWhpY2xlX292ZXJzZWFzIiwicmVnX2RhdGUiOjE3NDg1MzI3ODYsImF1ZCI6WyJpb3Qtd2ViYXBwIl0sImFyZWFDb2RlIjpudWxsLCJwaG9uZSI6bnVsbCwic2NvcGUiOlsicmVhZCJdLCJleHAiOjE3NTI5MDg2MjQsInJlZ2lvbiI6ImZyYSIsImp0aSI6Ing1WktYOGlkczdOSzNsa3M4N29fM1lYT3hJVSIsImVtYWlsIjoieWFubmlzLnNvbHRhbmViZW5hbGxvdUBnbWFpbC5jb20ifQ.wABrzwqteh-HuKx-ndyKskMnZIk8lqkVbainewDG3hJ3MbnKqc5NqFPdeTPkV1TNfpvAeDUMHPsYKaFGDjmNgeKnGSa5Ii_7IBeEe_86KH_9BxD-YjGGHjd18xJwONfrzAT9kQcskToCMCzDRNyO74zhO0aFnYOFZ57LjLI4BNU","uid":"212226994","sys_language":"fr-fr","client_ver":"609011439","device_id":"6873b808b627c3e5ce0e1b56a3248ea2","regionx":"fra","language":"fr","ostype":"and","lang":"fr","platform_ver":"11 samsung_SM-A405FN","platform":"android","login_country":"FR"} Response{protocol=h2, code=200, message=, url=https://api-jhcx-v6-fra.ninebot.com/user/automation/successful-v2} {"code":1,"data":[],"desc":"Opération réussie."} ######## END REQUEST ######## here are the logcat logs
> Cannot access storage. Permission may be missing. First issue here, your likely haven't given the app `Allow management of all files`, that's why it sais `Cannot access storage. Permission may be missing.` i made new fixes for the okhttp error: - https://github.com/trueToastedCode/nbdrift/commit/0211854f0236131fe36dbf1034b5a55d5cdb8689 - https://github.com/trueToastedCode/nbdrift/commit/ee1717894d4b713d0fb2031d2f3c5b9ba78c1152 You can download the new pre build injection lib from the readme.
fix has been confirmed, so i am closing now.