Related
Somehow last night my phone (Galaxy S4 running AOSP 4.4.2) crashed and now it wont reboot. It just sticks on the screen with the four colours animation for ever. I tried deleting the Cache, and Davilik Cache but it has not fixed the problem .. after this is went through the Upgrading Android process for all the apps but then stuck on "Starting Apps" .. so pretty clearly some application is starting and has a problem and so my phone wont boot .. but is there anyway of finding out which application it is?? Im aware I can wipe data and start again but would like to solve the problem without this if its possible. I also tried re-flashing my ROM but it didnt help.
Thanks for any help in advance.
If it helps anybody help me, I plugged my phone into usb while it is stuck in the bootloop and ran
adb logcat *:E .. here is the result
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
E/DataRouter( 198): USB Interface is open with 0x9
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 1 of 10
E/macloader( 210): CID info file will be created!!!
E/wcnss_service( 221): CAL file not found
E/wcnss_service( 221): Failed to open wcnss device : No such file or directory
E/mm-camera( 211): qcamsvr_start: old_mode = 3f
E/INSTHK ( 249): Checked...
E/PPDaemon( 217): Failed to open the config file!
E/PPDaemon( 217): Panel type: 8
E/rmt_storage( 223): Remote storage service is not supported on mdm target
E/AT_Distributor( 212): Failed to init ATD
E/mm-camera( 211): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 211): Cannot init Gesture library
E/mm-camera( 211): camera_plugin_create_func: handle = 0xb6c10008, client_open_fn = 0xb6c0d565, destroy_fn = 0xb6c0db99
E/QC-time-services( 220): Daemon:genoff_boot_tod_init: Unable to set TOD at boot up
E/QC-time-services( 220): Daemon: Unable to set TOD at boot up
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/Diag_Lib( 195): Diag_LSM_Init: Failed to open handle to diag driver, error = 13
E/QCNEA ( 214): CnE Standard Version 4.01
E/QCNEA ( 214): CnE Pro Version 1.01
E/QCNEA ( 214): Cne WQE Version 0.1
E/QCNEA ( 214): Cne NSRM Version 1.01
E/Sensorhubs( 207): couldn't find 'ssp_context' input device
E/Sensorhubs( 207): SSPContext: open sensorhub device failed(-1)
E/PRDrmPlugIn( 202): PRDrmPlugin:RDrmPlugin
E/PRDrmPlugInImp( 202): PRDRMPluginAPI::create
E/PRDrmPlugInImp( 202): PRDRMPluginAPI::SetEventHandler
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 2 of 10
E/PRDrmPlugIn( 202): PRDrmPlugin:nGetSupportInfo, uniqueId = 0
E/Sensorhubs( 207): couldn't find 'gesture_sensor' input device
E/MediaPlayerFactory( 203): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory( 203): calling dlsym on pFactoryLib for FACTORY_CREATE_FN
E/MediaPlayerFactory( 203): registering DASH Player factory...
E/QualcommCamera( 203): Qint android::get_number_of_cameras(): E
E/alsa_mixer( 203): Control open failed
E/ ( 203): [ACDB RTC]->rtc init done!->result [0]
E/Diag_Lib( 203): actp_diag_init: call diag init function with B50181DD
E/ ( 203): [ACDB ACPH]->actp diag init done!
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 148
E/ACDB-LOADER( 203): done with conversion, anc config size is 74
E/ACDB-LOADER( 203): done with conversion, anc config size is 74
E/AndroidRuntime( 201): cannot open customer xml file
E/AndroidRuntime( 201): /system/csc/customer.xml can't open file
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 3 of 10
E/ICD ( 194): There is no file or permission.
E/BootAnimation( 613): Could not open '/sys/devices/w1_bus_master1/w1_master_check_id'
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 4 of 10
E/EmojiFactory_jni( 201): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 5 of 10
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 6 of 10
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 7 of 10
E/Sensors ( 768): getName gyro_sensor name file open error.
E/GyroSensor( 768): GyroSensor : getName of gyro_sensor failed.
E/TemperatureHumiditySensor( 768): Failed to open send_accuracy sysfs
E/Sensors ( 768): sensors__get_sensors_list gyro_sensor name file open error.
E/MagneticSensor( 768): enable, 122, data_fd = -1
E/GyroSensor( 768): enable, 148, data_fd = -1
E/TemperatureHumiditySensor( 768): enable, 216, data_fd = -1
E/TemperatureHumiditySensor( 768): enable, 216, data_fd = -1
E/Sensors ( 768): sensors__get_sensors_list gyro_sensor name file open error.
E/Sensors ( 768): sensors__get_sensors_list gyro_sensor name file open error.
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 8 of 10
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 9 of 10
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/kickstart-qcks( 226): Couldn't find "/dev/mdm", 10 of 10
E/kickstart-qcks( 226): '/dev/mdm' was not found
E/kickstart-qcks( 226): ERROR: Can't bring MDM9K out of reset
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 203): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_mixer( 203): Control open failed
E/ ( 203): csd_client_service_init: Invalid rx device 0, setting to handset
E/ ( 203): csd_client_service_init: Invalid tx device 0, setting to handset
E/alsa_ucm( 203): Invalid current verb value: Inactive - -1
E/alsa_ucm( 203): No valid device Speaker found
E/alsa_ucm( 203): Control device not initialized
E/alsa_ucm( 203): Control device not initialized
E/alsa_pcm( 203): cannot open device '/dev/snd/pcmC0D0p', errno 2
E/ALSADevice( 203): open: Failed to initialize ALSA device 'hw:0,0'
E/AudioHardwareALSA( 203): Device open failed
E/QMI_FW ( 203): xport_open: socket creation failed - 1
E/AudioPolicyManagerBase( 203): Not output found for attached devices 00000003
E/AudioPolicyManagerBase( 203): Failed to open primary output
E/AudioPolicyManagerBase( 203): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION
E/AudioPolicyManagerBase( 203): getDeviceForStrategy() speaker device not found for STRATEGY_SONIFICATION
E/Audio_Control_CSC( 203): /system/csc/sales_code.dat ==> cannot open file
E/AudioPolicyService( 203): couldn't init_check the audio policy (No such device)
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QMI_FW ( 220): QMUXD: WARNING qmi_qmux_if_pwr_up_init failed! rc=-1
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init: qmi_client_get_service_list returned -2num_services 0
E/QC-time-services( 220): Daemon:genoff_modem_qmi_init:retry count exceeds limitQMI init failed continuing withoutserver
E/QC-time-services( 220): Daemon: QMI init failed, QMI calls inactive
E/QC-time-services( 220): Daemon: Time-services: Waiting to acceptconnection
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=18
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=37
E/QMI_FW ( 203): open_lookup_sock_fd: Lookup sock fd creation failed
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=18
E/QMI_FW ( 203): QMUXD: Service_id=20 not found over conn_id=37
E/SensorHubManager( 768): JNI: sensorhubs_get_next_module: getSensorHubList: count= 2
E/SensorHubManager( 768): JNI: sensorhubs_get_next_module: getSensorHubList: count= 2
E/SensorHubManager( 768): JNI: sensorhubs_enabledisable: delay= 0
E/EventHub( 768): could not get driver version for /dev/input/mice, Not a typewriter
E/ConnectivityService( 768): Error in networkAttributes - ignoring attempt to define type 17
E/ConnectivityService( 768): Ignoring protectedNetwork 14
E/MobileDataStateTracker( 768): default: Ignoring feature request because could not acquire PhoneService
E/MobileDataStateTracker( 768): default: Could not enable APN type "default"
F/SystemServer( 768): BOOT FAILURE Creating Connectivity Engine Service
F/SystemServer( 768): java.lang.ClassNotFoundException: Didn't find class "com.quicinc.cne.CNE" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
F/SystemServer( 768): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
F/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
F/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
F/SystemServer( 768): at com.android.server.ServerThread.initAndLoop(SystemServer.java:572)
F/SystemServer( 768): at com.android.server.SystemServer.main(SystemServer.java:1263)
F/SystemServer( 768): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 768): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 768): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1264)
F/SystemServer( 768): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1080)
F/SystemServer( 768): at dalvik.system.NativeStart.main(Native Method)
E/SystemServer( 768): Failed to load CNE class
E/SystemServer( 768): java.lang.ClassNotFoundException: Didn't find class "com.quicinc.cne.CNE" on path: DexPathList[[],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/SystemServer( 768): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/SystemServer( 768): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/SystemServer( 768): at com.android.server.ServerThread.initAndLoop(SystemServer.java:572)
E/SystemServer( 768): at com.android.server.SystemServer.main(SystemServer.java:1263)
E/SystemServer( 768): at java.lang.reflect.Method.invokeNative(Native Method)
E/SystemServer( 768): at java.lang.reflect.Method.invoke(Method.java:515)
E/SystemServer( 768): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1264)
E/SystemServer( 768): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1080)
E/SystemServer( 768): at dalvik.system.NativeStart.main(Native Method)
E/wpa_supplicant( 1981): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/WifiStateMachine( 768): Unexpected BatchedScanResults :null
E/wpa_supplicant( 1981): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/ActivityManager( 768): Attempt to launch receivers of broadcast intent Intent { act=android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED flg=0x4 (has extras) } before boot completion
Hello everyone!
I'm here again to put together a detailed guide on "How To Port FIUI", which is a ROM that's improving each day with an iOS-based interface and CM11-based system.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FIUI is a Chinese ROM based off of CyanogenMod. The Future Interface UI is made by the AZ Fuga Team!
FIUI's concept is simple: Remove redundant features that bloat up the system, maximize functionality, all the while maintaining a gorgeous UI!
Click to expand...
Click to collapse
This guide is applicable to any device and FIUI version.
Click to expand...
Click to collapse
Having said that, let's start!
1. Understanding Porting:
What you'll need:
WinRAR
Notepad++ (recommended; wordpad is ok)
Basic knowledge about copy-paste
Click to expand...
Click to collapse
First of all, you need to know some concepts:
Base ROM:
The ROM which is developed for your device. Important: due to FIUI is CM11 based, you could only use CyanogenMod 11 as base ROM.
Click to expand...
Click to collapse
Port ROM:
The ROM which you want to port to your device. In this case: FIUI (Doesn't matter for which device is made)
Click to expand...
Click to collapse
Once we've learnt that. Let's prepare everything to start working.
2. Setting Up the Environment:
Time to organize files and folders before start porting. :highfive:
Step 1:
Create to different folders in your favourite directory:
CM11 (Base ROM)
FIUI (Port ROM)
Click to expand...
Click to collapse
Step 2:
Take any CM11 which is running on your device and extract it WinRAR. Copy it content in CM11 folder.
Then, do the same with FIUI ROM, pasting it content in FIUI folder.
Click to expand...
Click to collapse
Having done that, you're prepared to port! :laugh:
3. Porting the ROM:
Here's the "difficult" part of this guide.
Firstly, delete those folders of Base ROM
system/app
system/media
system/priv-app
And replace them with "App", "Media" and "Priv-app" folders from Port ROM (FIUI)
Click to expand...
Click to collapse
In FIUI, go to system/etc/permissions folder and look for com.htc.software.market.xml. If it's available, copy it to system/etc/permissions folder of CM11
Do the same procedure with libAppDataSearch.so, which should be located in system/lib folder of FIUI.
*Remember: it doesn't matter if you don't find those files on FIUI ROM*
Click to expand...
Click to collapse
From FIUI, copy "su" file, located at system/xbin. Paste it in system/xbin folder of CM11 and replace it.
Click to expand...
Click to collapse
In CM and FIUI, open framework-res.apk (located at system/framework) with WinRAR, and navigate to the res/xml folder (in both files).
Now, move those files directly from CM11 framework-res.apk into FIUI framework-res.apk :
eri.xml
storage_list.xml
apn.xml
power-profile.xml
One you've done that, copy system/framework folder from FIUI and paste it into CM11 folder. Attention: choose combine content, and replace when asked.
Click to expand...
Click to collapse
Open build.prop of CM11 folder with Notepad++. Paste this code at the bottom of the file:
Code:
#fiui build
fiui.ver.name=beta_x.xx.
fiui.ver=1
fiui.navbar=0
fiui.traffic=1
Change the values according to the FIUI version that you're porting.
Click to expand...
Click to collapse
After that, you've finished the hard work.
4. Repacking the ROM:
Finally, go to CM11 folder and select all the content (Meta-INF, boot.img, system, etcetera) and zip them using WinRAR. Now flash it and enjoy a Future Interactive UI :highfive:
Click to expand...
Click to collapse
Done. You've ported FIUI to your device!
Press thanks if I help you
Click to expand...
Click to collapse
Code:
Don't copy my work without my permission.
I'll be adding screenshots of the procedure for noobs
Click to expand...
Click to collapse
Unfortulately process com.android.systemui has stopped.
@JavierAlonso Can you give me a link to one of the builds?? I really dont read Chinese
MSF Jarvis said:
@JavierAlonso Can you give me a link to one of the builds?? I really dont read Chinese
Click to expand...
Click to collapse
This ROM is the one i used: http://forum.xda-developers.com/galaxy-s3/development/rom-fiui-2-9-0-t3025670
Newbeen said:
Unfortulately process com.android.systemui has stopped.
Click to expand...
Click to collapse
Maybe it's due to the base ROM you've chosen. Also you can try to get logcat.
JavierAlonso said:
This ROM is the one i used: http://forum.xda-developers.com/galaxy-s3/development/rom-fiui-2-9-0-t3025670
Click to expand...
Click to collapse
Thanks man. Will let you know when I do the porting and will link to the thread also
Sent from my HTC Explorer A310e using Tapatalk
thanks man , this guide is good , i took cm armani and took fiui from moto g which was already ported by some one for moto g, the rom is looking quite good . but i m facing problem that SIM are not working , what would you suggest ?
status -
wifi - working ,
soft touch buttons - working
hardware buttons - working
sim -NOT working
mic - working.
MSF Jarvis said:
@JavierAlonso Can you give me a link to one of the builds?? I really dont read Chinese
Click to expand...
Click to collapse
I can help you ,my email :[email protected] com
---------- Post added at 04:16 PM ---------- Previous post was at 04:14 PM ----------
支持支持!
SIMs are not working any solution ?
heliusjing said:
I can help you ,my email :[email protected] com
---------- Post added at 04:16 PM ---------- Previous post was at 04:14 PM ----------
支持支持!
Click to expand...
Click to collapse
Thanks, but I found one and ported using it too.
manuhackzzz said:
SIMs are not working any solution ?
Click to expand...
Click to collapse
Do they work on the base ROM?
MSF Jarvis said:
Thanks, but I found one and ported using it too.
Do they work on the base ROM?
Click to expand...
Click to collapse
sorry my bad , SIMs are working perfectly fine , just later figured out that all i had to do was to enable both sim in sim management . well thank you for your concern .. you are a good dev , I appreciate it .
anyone succeeded with this guide? i want to port fiui for my xperia m
poran123 said:
anyone succeeded with this guide? i want to port fiui for my xperia m
Click to expand...
Click to collapse
I have ported it to my device but haven't opened a thread on XDA.
MSF Jarvis said:
I have ported it to my device but haven't opened a thread on XDA.
Click to expand...
Click to collapse
which device you got and from where you ported.... please tell me.. i want to port to my xperia m..
poran123 said:
which device you got and from where you ported.... please tell me.. i want to port to my xperia m..
Click to expand...
Click to collapse
Which device doesn't matter, but for FIUI ROM, please check the first page where OP has provided the link in the 4th post.
Thanks a lot for this guide. :good: I have successfullly ported this rom to my s4 mini. Everything is good, but I always get system ui error. How can I fix this problem?
Code:
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82c9d30 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82c9f50 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca090 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca1b8 on ou
tput port
W/AwesomePlayer( 326): Trying to create tunnel player mIsTunnelAudio 0,
LPAPlayer::mObjectsAlive 0, TunnelPlayer::mTunnelObjectsAlive =
0, (mAudioPlayer == NULL) 1
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/AudioPlayer( 326): start of Playback, useOffload 0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9d30 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9f50 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca090 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca1b8 successful
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d73a0 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d74a8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d75e8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ca468 on ou
tput port
D/BluetoothManagerService( 722): Message: 20
D/BluetoothManagerService( 722): Added callback: android.bluetooth.IBluetoothMa
[email protected]:true
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/AudioPlayer( 326): Pause Playback at 30
D/AudioPlayer( 326): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9be8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9b30 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82c9a60 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82caca0 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ca468 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d75e8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d74a8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d73a0 successful
I/ExtendedUtils( 326): AV Sync late margin : Intended=40ms Using=0ms
D/AwesomePlayer( 326): Before reset_l
D/ExtendedUtils( 326): printFileName fd(23) -> /system/media/audio/ui/Unlock.og
g
D/PhoneStatusBar( 1876): mSettingsPanelGravity = 55
I/StatusBarManagerService( 722): registerStatusBar bar=com.android.internal.sta
[email protected]
D/ExtendedUtils( 326): extended extractor not needed, return default
D/AwesomePlayer( 326): Tunnel Mime Type: audio/vorbis, object alive = 0, mTunne
lAliveAP = 0
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/AwesomePlayer( 326): maxPossible tunnels = 1
D/AwesomePlayer( 326): Normal Audio Playback
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/OMXCodec( 326): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 326): Codec outputs a different number of channels than the input s
tream contains (contains 2 channels, codec outputs 1 channels).
I/AwesomePlayer( 326): Could not offload audio decode, try pcm offload (16-bit)
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 8192
on input port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cb0a8 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ce860 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccad0 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccb88 on in
put port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccd10 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccf68 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cd0a8 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cd1d0 on ou
tput port
W/AwesomePlayer( 326): Trying to create tunnel player mIsTunnelAudio 0,
LPAPlayer::mObjectsAlive 0, TunnelPlayer::mTunnelObjectsAlive =
0, (mAudioPlayer == NULL) 1
E/AwesomePlayer( 326): LPAPlayer::Clip duration setting of less than 30sec not
supported, defaulting to 60sec
D/AudioPlayer( 326): start of Playback, useOffload 0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccd10 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccf68 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cd0a8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cd1d0 successful
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocating 4 buffers of size 3276
8 on output port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccbe0 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82d6288 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82cce40 on ou
tput port
I/OMXCodec( 326): [OMX.google.vorbis.decoder] allocated buffer 0xb82ccf68 on ou
tput port
D/AudioPlayer( 326): Pause Playback at 0
D/AudioPlayer( 326): reset: mPlaying=0 mReachedEOS=1 useOffload=0
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccb88 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccad0 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ce860 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cb0a8 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccf68 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82cce40 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82d6288 successful
I/OMXNodeInstance( 326): OMX_FreeBuffer for buffer header 0xb82ccbe0 successful
V/NFC ( 1876): this device does not have NFC support
I/QuickSettingsController( 1876): Default tiles being loaded
I/QuickSettingsController( 1876): Tiles list: toggleAirplane|toggleBluetooth|tog
gleMobileData|toggleWifi|toggleBrightness|toggleSettings|toggleAutoRotate|toggle
GPS|toggleFlashlight|toggleWifiAp
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
E/MediaFocusControl( 722): Error updating focussed RCC to RCD
E/MediaFocusControl( 722): java.util.EmptyStackException
E/MediaFocusControl( 722): at java.util.Stack.peek(Stack.java:57)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay_int(MediaFocusControl.java:2238)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eController(MediaFocusControl.java:217)
E/MediaFocusControl( 722): at android.media.AudioService.registerRemoteCont
roller(AudioService.java:4541)
E/MediaFocusControl( 722): at android.media.IAudioService$Stub.onTransact(I
AudioService.java:614)
E/MediaFocusControl( 722): at android.os.Binder.execTransact(Binder.java:40
4)
E/MediaFocusControl( 722): at dalvik.system.NativeStart.run(Native Method)
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
I/QuickSettingsController( 1876): Default tiles being loaded
I/QuickSettingsController( 1876): Tiles list: toggleAirplane|toggleBluetooth|tog
gleMobileData|toggleWifi|toggleBrightness|toggleSettings|toggleAutoRotate|toggle
GPS|toggleFlashlight|toggleWifiAp
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
D/PhoneStatusBar( 1876): disable: < EXPAND* icons alerts ticker system_info BACK
* HOME* RECENT* clock SEARCH* >
D/Sensors ( 722): LightSensor readEvents x = 28.000000, raw = 28
D/NotificationRowLayout( 1876): view added: com.android.systemui.statusbar.Expan
dableNotificationRow{41d872f0 V.E..... ......I. 0,0-0,0}; new count: 1
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/BluetoothAdapter( 1876): 1102105064: getState() : mService = null. Returning
STATE_OFF
D/PhoneStatusBar( 1876): heads up is disabled
W/com.android.server.ThemeService( 722): Not setting lockscreen wp because wall
paper file was not found.
I/Adreno-EGL( 1876): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_
LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.064_msm8960_KK_2.7_RB1__release_AU ()
I/Adreno-EGL( 1876): OpenGL ES Shader Compiler Version: 17.01.12.SPL
I/Adreno-EGL( 1876): Build Date: 07/01/14 Tue
I/Adreno-EGL( 1876): Local Branch:
I/Adreno-EGL( 1876): Remote Branch: quic/kk_2.7_rb1.41
I/Adreno-EGL( 1876): Local Patches: NONE
I/Adreno-EGL( 1876): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.00
7.064 + NOTHING
E/com.android.server.ThemeService( 722): Could not find any audio assets
E/com.android.server.ThemeService( 722): Could not find any audio assets
D/Sensors ( 722): LightSensor readEvents x = 28.000000, raw = 28
D/Sensors ( 722): activate: acc_enable=1, mag_enable=0
D/Sensors ( 722): activate: handle=4, enabled=0
D/Sensors ( 722): LightSensor enable = 0
D/Sensors ( 722): LightSensor enableSensor = 0
I/PowerManagerService( 722): Going to sleep by user request...
E/com.android.server.ThemeService( 722): Could not find any audio assets
I/ThermalDaemon( 331): Sensor 'tsens_tz_sensor0' - alarm raised 1 at 52.0 degC
E/MediaFocusControl( 722): Error updating focussed RCC to RCD
E/MediaFocusControl( 722): java.util.EmptyStackException
E/MediaFocusControl( 722): at java.util.Stack.peek(Stack.java:57)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay_int(MediaFocusControl.java:2238)
E/MediaFocusControl( 722): at android.media.MediaFocusControl.registerRemot
eControlDisplay(MediaFocusControl.java:230)
E/MediaFocusControl( 722): at android.media.AudioService.registerRemoteCont
rolDisplay(AudioService.java:4545)
E/MediaFocusControl( 722): at android.media.IAudioService$Stub.onTransact(I
AudioService.java:593)
E/MediaFocusControl( 722): at android.os.Binder.execTransact(Binder.java:40
4)
E/MediaFocusControl( 722): at dalvik.system.NativeStart.run(Native Method)
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
W/Settings( 1876): Setting airplane_mode_on has moved from android.provider.Sett
ings.System to android.provider.Settings.Global, returning read-only value.
I/Choreographer( 1876): Skipped 99 frames! The application may be doing too muc
h work on its main thread.
E/com.android.server.ThemeService( 722): Could not find any font assets
I/Adreno-EGL( 1876): <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_
LINUX_ANDROID_KK_2.7_RB1.04.04.04.007.064_msm8960_KK_2.7_RB1__release_AU ()
I/Adreno-EGL( 1876): OpenGL ES Shader Compiler Version: 17.01.12.SPL
I/Adreno-EGL( 1876): Build Date: 07/01/14 Tue
I/Adreno-EGL( 1876): Local Branch:
I/Adreno-EGL( 1876): Remote Branch: quic/kk_2.7_rb1.41
I/Adreno-EGL( 1876): Local Patches: NONE
I/Adreno-EGL( 1876): Reconstruct Branch: AU_LINUX_ANDROID_KK_2.7_RB1.04.04.04.00
7.064 + NOTHING
D/OpenGLRenderer( 1876): Enabling debug mode 0
D/Tethering( 722): exception when get active network info:java.lang.NullPointer
Exception
D/SurfaceFlinger( 323): Screen released, type=0 flinger=0xb7d004e0
D/qdhwcomposer( 323): hwc_blank: Blanking display: 0
D/qdhwcomposer( 323): hwc_blank: Done blanking display: 0
D/SurfaceControl( 722): Excessive delay in blankDisplay() while turning screen
off: 404ms
I/ThermalDaemon( 331): Sensor 'tsens_tz_sensor0' - alarm cleared 1 at 46.0 degC
D/Sensors ( 722): activate: acc_enable=0, mag_enable=0
D/Sensors ( 722): activate: handle=0, enabled=0
D/com.android.server.ThemeService( 722): Force stopping org.fiui.launcher for t
heme change
I/ActivityManager( 722): Force stopping org.fiui.launcher appid=10016 user=0: f
rom pid 722
I/ActivityManager( 722): Killing 1289:org.fiui.launcher/u0a16 (adj 0): stop org
.fiui.launcher
I/WindowState( 722): WIN DEATH: Window{41e3cfb0 u0 org.fiui.launcher/org.cyanog
enmod.trebuchet.CustomHomeLauncher}
D/PhoneStatusBar( 1876): disable: < EXPAND icons alerts ticker system_info BACK
HOME RECENT CLOCK* SEARCH >
I/ActivityManager( 722): Force finishing activity ActivityRecord{41dc6ce8 u0
org.fiui.launcher/org.cyanogenmod.trebuchet.CustomHomeLauncher t2}
I/ActivityManager( 722): START u0 {act=android.intent.action.MAIN cat=[android.
intent.category.HOME] flg=0x10000000 cmp=org.fiui.launcher/org.cyanogenmod.trebu
chet.CustomHomeLauncher} from pid 0
V/Zygote ( 1919): Switching descriptor 34 to /dev/null
V/Zygote ( 1919): Switching descriptor 10 to /dev/null
I/ActivityManager( 722): Start proc org.fiui.launcher for activity org.fiui.lau
ncher/org.cyanogenmod.trebuchet.CustomHomeLauncher: pid=1919 uid=10016 gids={500
16, 1028}
I/Choreographer( 1876): Skipped 39 frames! The application may be doing too muc
h work on its main thread.
D/ActivityThread( 1919): handleBindApplication:org.fiui.launcher
D/ActivityThread( 1919): setTargetHeapUtilization:0.75
D/ActivityThread( 1919): setTargetHeapMinFree:2097152
D/Launcher.LauncherProvider( 1919): 11683562 - initializeMaxScreenId(): 1
V/Launcher( 1919): LauncherAppState inited
E/ActivityThread( 1919): Failed to find provider info for com.android.launcher2.
settings
W/Launcher( 1919): setApplicationContext called twice! old=com.android.launcher3
[email protected] [email protected]
1190
C:\adb\progbin>
I've ported fiui to my Galaxy star pro/plus, but right after it boots into the OS, it says "Power off: shutting down". Has anyone had this problem before?
Sent from my Q5 using XDA Free mobile app
_Matsiev_ said:
Thanks a lot for this guide. :good: I have successfullly ported this rom to my s4 mini. Everything is good, but I always get system ui error. How can I fix this problem?
Click to expand...
Click to collapse
Please use a paste service to put up the logcat, avoiding directly pasting it into your post. pastie.org and hastebin.com are good paste sites you can use.
Sent from my Pixel V1 using XDA Labs
im doing smth wrong
but idk what's exectly wrong
may somene help me, please?
---------
upd
Now i stuck on logo after app lunch
Unable to edit framework-res.apk kindly mention in more detail
Sent from my SM-G7102 using Tapatalk[/QUOTE]
Sent from my SM-G7102 using Tapatalk
Lenovo A10-70F KitKat 4.4.4 Stock ROM build A10-70F_S000021_150501_ROW
multi-user mod in build.prop
TWRP2870 recovery
SuperSU
Terminal Emulator as root
This uses a MediaTek MT6620 for Wi-Fi, Bluetooth, GPS & FM
All these functions have stopped working. Attempting to turn on the wi-fi in settings
gives
Code:
adb logcat wpa_supplicant:V *:S
Code:
D/wpa_supplicant(23240): wpa_supplicant v2.1-devel-4.4.4
D/wpa_supplicant(23240): Add randomness: count=1 entropy=0
D/wpa_supplicant(23240): random pool - hexdump(len=128): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=8): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random pool - hexdump(len=128): [REMOVED]
D/wpa_supplicant(23240): random: Added entropy from /data/misc/wifi/entropy.bin
(own_pool_ready=2)
D/wpa_supplicant(23240): random: Trying to read entropy from /dev/random
D/wpa_supplicant(23240): Get randomness: len=20 entropy=1
D/wpa_supplicant(23240): random from os_get_random - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant(23240): mixed random - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random: Updated entropy file /data/misc/wifi/entropy.bi
n (own_pool_ready=2)
D/wpa_supplicant(23240): Global control interface '@android:wpa_wlan0'
D/wpa_supplicant(23240): Using Android control socket 'wpa_wlan0'
I/wpa_supplicant(23240): Successfully initialized wpa_supplicant
D/wpa_supplicant(23240): Override interface parameter: ctrl_interface ('(null)'
-> '/data/misc/wifi/sockets')
D/wpa_supplicant(23240): Initializing interface 'wlan0' conf '/data/misc/wifi/wp
a_supplicant.conf' driver 'nl80211' ctrl_interface '/data/misc/wifi/sockets' bri
dge 'N/A'
D/wpa_supplicant(23240): Configuration file '/data/misc/wifi/wpa_supplicant.conf
' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant(23240): Reading configuration file '/data/misc/wifi/wpa_supplic
ant.conf'
D/wpa_supplicant(23240): ctrl_interface='wlan0'
D/wpa_supplicant(23240): update_config=1
D/wpa_supplicant(23240): manufacturer='MediaTek Inc.'
D/wpa_supplicant(23240): device_name='Wireless Client'
D/wpa_supplicant(23240): model_name='MTK Wireless Model'
D/wpa_supplicant(23240): model_number='1.0'
D/wpa_supplicant(23240): serial_number='2.0'
D/wpa_supplicant(23240): os_version=01020300
D/wpa_supplicant(23240): config_methods='display push_button keypad'
D/wpa_supplicant(23240): p2p_no_group_iface=1
D/wpa_supplicant(23240): driver_param='use_p2p_group_interface=1'
D/wpa_supplicant(23240): Reading configuration file '/system/etc/wifi/wpa_suppli
cant_overlay.conf'
D/wpa_supplicant(23240): p2p_no_group_iface=1
D/wpa_supplicant(23240): driver_param='use_p2p_group_interface=1'
I/wpa_supplicant(23240): rfkill: Cannot open RFKILL control device
D/wpa_supplicant(23240): nl80211: RFKILL status not available
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
I/wpa_supplicant(23240): nl80211: Driver does not support authentication/associa
tion or connect commands
D/wpa_supplicant(23240): netlink: Operstate: linkmode=0, operstate=6
E/wpa_supplicant(23240): Could not read interface wlan0 flags: No such device
D/wpa_supplicant(23240): set wowlan for if wlan0, index 0
D/wpa_supplicant(23240): nl80211: set_wowlan failed; err=-19 No such device)
D/wpa_supplicant(23240): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant(23240): nl80211: Failed to set interface 0 to mode 2: -19 (No s
uch device)
E/wpa_supplicant(23240): wlan0: Failed to initialize driver interface
D/wpa_supplicant(23240): Failed to add interface wlan0
there is no rfkill entry in /sys/class
An unfiltered adb logcat spews this repeatedly
Code:
D/agps ( 197): [agps] WARNING: [CP] cp2_fd_1_reconnect_timeout
E/agps ( 197): [agps] ERR: [CP] get_ccci_uart open failed node=[/dev/ttyC2]
reason=[No such file or directory]
E/agps ( 197): [agps] ERR: [CP] get_eemcs_uart open failed node=[/dev/eemcs
_ipc_uart] reason=[No such file or directory]
E/agps ( 197): [agps] ERR: [CP] ccci_uart_1 open failed
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
however, the expected mt6620 devices are present in /dev, e.g.
Code:
crw-rw---- system system 190, 0 2010-01-02 01:01 stpwmt
Any known fixes, or is MT6620 chip dead ?
Unhappy 7-year-old :crying:
Tab wasn't rooted when wi-fi stopped working - I have only rooted it as part of diagnostics today
Hi,
Just a few questions. I have had a bit of experience with flashing roms (CyanogenMod, LineageOS etc) on the (Nexus S, Galaxy Nexus, Nexus 5 etc) but I haven't done it with a Motorola phone before. I am having some difficulty. It was a lot easier with those phones I bought a Motorola Moto C XT1758 (2018-04-17 date on box) it was bought not from any carrier or on a plan and therefore is unlocked from any carrier.
I have had trouble getting the scatter file. I set up my environment [TUTORIAL]How to setup SP_Flash_Tool_Linux (MTK/MediaTek Soc) with this guide. I am using Ubuntu 18.04.
I looked at [GUIDE][UTIL][MT65xx] Create Scatter File / Dump Full ROM For any MT65xx device, no matter how obscure
Method #1
syserr said:
* Obtain a SPFT ROM that is known good for any phone/tablet
Click to expand...
Click to collapse
I think that requires me to have a recovery ROM. I found that Motorola's Recovery Images are only for the Droid Maxx, Moto G, Moto X and XOOM. They also say you need a "Moto Pure Edition or a Developer Edition device."
Method #2
Code:
$ adb pull /proc/dumchar_info
adb: error: remote object '/proc/dumchar_info' does not exist
I have also read one can do:
Code:
namath:/ $ cat /proc/mtd
dev: size erasesize name
But that didn't work for me either.
I am running out of ideas.
On a side note I have tried to unlock my bootloader but have only gotten the below error. I also tried using mfastboot-v2.zip but that didn't help either.
Code:
$ sudo fastboot oem get_unlock_data
[sudo] password for me:
...
FAILED (remote: unknown command)
finished. total time: 0.002s
I made sure to go into Developer Options and toggle the "OEM unlocking", which asked for my PIN but that didn't help. I did look at Mark_Emeritus's Bootloader Unlock Problems? thread but it seems mine is in the table of unlockable CIDs, being 0x0032.
Any tips on that would be appreciated.
Code:
sudo fastboot getvar all
Code:
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:flashinfo: 1000000
(bootloader) partition-type:flashinfo: raw data
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 19000000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: c0000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:metadata: 2480000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:nvdata: 2000000
(bootloader) partition-type:nvdata: ext4
(bootloader) partition-size:frp: 100000
(bootloader) partition-type:frp: raw data
(bootloader) partition-size:efuse: 80000
(bootloader) partition-type:efuse: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:keystore: 800000
(bootloader) partition-type:keystore: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: raw data
(bootloader) partition-size:oemkeystore: 200000
(bootloader) partition-type:oemkeystore: raw data
(bootloader) partition-size:seccfg: 80000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:lk: 80000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:protect2: a00000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: a00000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) ro.carrier: retapac
(bootloader) radio: 5
(bootloader) kernel.version[0]: Linux version 3.18.35+
(bootloader) kernel.version[1]: ([email protected])
(bootloader) kernel.version[2]: gcc version 4.8 (GCC)
(bootloader) kernel.version[3]: 1 SMP PREEMPT
(bootloader) kernel.version[4]: 2018-01-24:15:35:20
(bootloader) ro.build.fingerprint[1]: motorola/namath_58/namath:7.0/NRD
(bootloader) ro.build.fingerprint[2]: D90M.014/1516778722:user/release-
(bootloader) ro.build.fingerprint[3]: -keys
(bootloader) ro.build.version.mtk[1]: alps-mp-n0.mp1-V1.0.2_wt6737m.65.
(bootloader) ro.build.version.mtk[2]: .n_P109
(bootloader) ro.build.version.full[1]: Blur_Version.25.21.14.namath_58.
(bootloader) ro.build.version.full[2]: retail.en.US
(bootloader) imei1: <CENSORED>
(bootloader) imei2: <CENSORED>
(bootloader) boot reason: wdt_by_pass_pwk
(bootloader) hwrev: M11
(bootloader) CID: 0x0032
(bootloader) SKU: XT1758
(bootloader) CPU: "MT6735"
(bootloader) serialno: <CENSORED>
(bootloader) off-mode-charge: 1
(bootloader) warranty: yes
(bootloader) securestate: no
(bootloader) hwsecure: yes
(bootloader) kernel: lk
(bootloader) board: WT98736B32_DA1
(bootloader) product: WT98736B32_DA1
(bootloader) Ram size: 1GB
(bootloader) emmc: KMFE60012M_B214
(bootloader) storage-type: emmc
(bootloader) version-preloader: 0.1.00
(bootloader) version: 0.5
all: Done!!
finished. total time: 0.005s
I haven't yet tried this [Tutorial] How to create scatter file for Mediatek devices but it looks fairly recent. I am guessing as my phone is fairly recent and has MT6735 the old method using MTK Android Devices won't work. The guide for doing this with [Tutorial] How to use Wwr_MTK + SP Flash tool to backup Mediatek rom is there. Apparently there is an alternative way [Tutorial] How to get length addresses for full ROM dump using PGPT, Wwr_MTK & SP Flash Tool.
It would be nice if there was a way to do this without Windows. Any tips or insight you can provide would be welcome.
So I tried with MTK Droid Root & Tools and obviously my phone is too new to work with it.
For some reason it thought I had a MT6737M which seems to contradicts what I got from "sudo fastboot getvar all", that said I had a MT6735 in my Moto C (XT1758).
Code:
Hardware : MT6737M
Model : Moto C
Build number : NRD90M.014
Build date UTC : 20180124-072506
Android v : 7.0
Baseband v: MOLY.LR9.W1444.MD.LWTG.MP.V110.5.P49, 2018/01/08 19:57
Kernel v : 3.18.35+ ([email protected]) (gcc version 4.8 (GCC) ) #1 SMP Wed Jan 24 15:56:40 CST 2018
Code:
--->>> Connect to device <<<---
--- ERROR : --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
--- Unknown ROM structure, backup NOT possible!
ATTENTION! File /system/recovery-from-boot.p which restore factory recovery in case of phone switching on in a normal mode Is Found!
When I clicked block maps it only showed :
Code:
N 1
Name bmtpool
Scatter 0000000000
Size 0000000000
Byte Size 0
Which doesn't look right.
So I tried [Tutorial] How to use Wwr_MTK + SP Flash tool to backup Mediatek rom from my previous post.
So my next step was to try with the WwR_MTK_v2.30 tools. I exported a MT6735_Android_scatter.
I read this process requires you to remove the battery from the phone and power it off.
I went to the "Readback" tab in Smart Phone Flash Tool v5.1820.000 after putting the scatter-loading file in. I clicked Add, double clicked on the entry and saved ROM_0 to my desktop.
I then set:
Code:
Region: EMMC_BOOT_1
Start Address: 0x0000000000000000
Length: 0x0000000000080000
I got the error: CHIP TYPE NOT match!! target efusse value: 0x94010000
Looking at the logs I see
Code:
06/27/18 23:57:54.494 BROM_DLL[4276][4468]: DEBUG: GetCOMPortWithFilter(): New COM port: Filter index(1), Number(COM3), Friendly(MediaTek PreLoader USB VCOM (Android) (COM3)), Instance(USB\VID_0E8D&PID_2000\5&1EAA782A&0&2), Symbolic(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}) (FlashToolLib/host/windows/com_enum.cpp:1183)
06/27/18 23:57:54.494 BROM_DLL[4276][4468]: com_base::com_base() m_hCOM(FFFFFFFF) (FlashToolLib/host/windows/com_sentry.cpp:117)
06/27/18 23:57:54.494 BROM_DLL[4276][4468]: com_sentry::eek:pen(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, FFFFFFFF, 115200) (FlashToolLib/host/windows/com_sentry.cpp:597)
06/27/18 23:57:54.494 BROM_DLL[4276][4468]: hCOM = 0xcbc, retry [0] times (FlashToolLib/host/windows/com_sentry.cpp:611)
06/27/18 23:57:54.510 BROM_DLL[4276][5112]: ComPortEnumerateByArg: NOT FOUND!! (FlashToolLib/host/windows/com_enum.cpp:514)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: com_sentry::SetRTS(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, 00000CBC): successfully pull high RTS and DTR! (FlashToolLib/host/windows/com_sentry.cpp:713)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: com_sentry::Reset(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, 00000CBC): OK!, baudrate(115200). (FlashToolLib/host/windows/com_sentry.cpp:496)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: WARNING: debugconf::load(C:\Users\Administrator\Desktop\SP_Flash_Tool_v5.1820_Win\libdebug.conf): file doesn't exist (FlashToolLib/source/common/generic/src/debugconf.cpp:117)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: com_sentry::eek:pen(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, 00000CBC): CreateFile("\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}") OK!, baudrate(115200). (FlashToolLib/host/windows/com_sentry.cpp:631)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: DEBUG: DA_cmd::DA_cmd(): m_p_stopflag(0x03F40CB0)=0. (FlashToolLib/sv5/common/generic/src/da_cmd.cpp:82)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: DEBUG: Setup_Connect_Param(): ### debug 111 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1214)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: DEBUG: Setup_Connect_Param(): ### debug 222 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1225)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: DEBUG: Setup_Connect_Param(): ### debug 333 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1230)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: DEBUG: Setup_Connect_Param(): ### debug 444 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1234)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: DEBUG: Setup_Connect_Param(): ### debug 666 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1244)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: FlashTool_Connect_BROM_Ex(03477188)(): AUTO_DETECT_BBCHIP(254), AUTO_DETECT_EXT_CLOCK(254). (FlashToolLib/sv5/common/interface/src/brom.cpp:1050)
06/27/18 23:57:54.760 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): ... (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:209)
06/27/18 23:57:55.010 BROM_DLL[4276][4468]: DEBUG: BRom_Base::SetBRomCommState(): OK!, BaudRate(57600) = 57600 x EXT_CLOCK(2) x Multiple(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:360)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(57600), SEND(0xA0)->RECV(0x52), fail_retry(1). (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:268)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: DEBUG: BRom_Base::SetBRomCommState(): OK!, BaudRate(9600) = 9600 x EXT_CLOCK(2) x Multiple(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:360)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0xA0)->RECV(0x5F), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0x0A)->RECV(0xF5), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0x50)->RECV(0xAF), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0x05)->RECV(0xFA), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): [0] 0xA0 -> 0x5F (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): [1] 0x0A -> 0xF5 (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): [2] 0x50 -> 0xAF (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): [3] 0x05 -> 0xFA (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BRom_GetHWCode() ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1571)
06/27/18 23:57:55.025 BROM_DLL[4276][4468]: DEBUG: BRom_Base::BRom_GetHWCode(): enter ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1999)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xFD) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::BRom_GetHWCode(): HW Code (0x335) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:2022)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::BRom_GetHWCode(): OK! (FlashToolLib/sv5/common/interface/src/brom_base.cpp:2024)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BRom_GetHWCode() Pass! Get HW code(0x335) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1579)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): Try to detect chips with GET_HW_SW_VER .. (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1644)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BBChipIDMap::Find(): Find bbchip (0x335) (FlashToolLib/source/common/generic/src/bbchip_id.cpp:536)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BRom_GetHWSWVer() ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1662)
06/27/18 23:57:55.041 BROM_DLL[4276][4468]: DEBUG: BRom_Base::BRom_GetHWSWVer(): enter ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1944)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xFC) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::BRom_GetHWSWVer(): HW_VER(0xca00), SW_VER(0x0), HW_SUBCODE(0x8a00) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1979)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::BRom_GetHWSWVer(): OK! (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1981)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): Get HW SW version is done. (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1668)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: ChipRemap.lookup(0x0335, 0x8A00, 0xCA00, 0x0000) .. (FlashToolLib/sv5/common/interface/src/brom_base.cpp:205)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): Find the BBChip ID as (157) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1684)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BB chip name(MT6735M_S00): DigitalDie={ hw_ver(0xCA00), sw_ver(0x0000), hw_code(0x0335), hw_subcode(0x8A00) }, AnalogDie={ hw_ver(0x0000), hw_code(0x0000) } (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1724)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: BRom_AutoBoot::BRom_StartCmd(0): Pass! (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:336)
06/27/18 23:57:55.057 BROM_DLL[4276][4468]: DEBUG: BRom_Base::CreateObject(): MT6735M(157), EXT_26M(2), p_bootstop(0x03F40CB0), ms_boot_timeout(268435455), max_start_cmd_retry_count(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1495)
06/27/18 23:57:55.072 BROM_DLL[4276][4468]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xD1) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/27/18 23:57:55.103 BROM_DLL[4276][4468]: BRom_MT6276::BRom_ReadCmd32(): 0x102061B0[1]={ 0x94010000 }. (FlashToolLib/sv5/common/generic/src/brom_mt6276.cpp:675)
06/27/18 23:57:55.119 BROM_DLL[4276][4468]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xD1) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/27/18 23:57:55.150 BROM_DLL[4276][4468]: BRom_MT6276::BRom_ReadCmd32(): 0x102061B0[1]={ 0x94010000 }. (FlashToolLib/sv5/common/generic/src/brom_mt6276.cpp:675)
06/27/18 23:57:55.150 BROM_DLL[4276][4468]: ERROR: BRom_MT6735::IsChipTypeMatch(): CHIP TYPE NOT match!! target efuse value: 0x94010000 (FlashToolLib/sv5/common/generic/src/brom_mt6735.cpp:207)
06/27/18 23:57:55.150 BROM_DLL[4276][4468]: ERROR: FlashTool_Connect_BROM_Ex(): FlashTool_Connect_BROM_Ex() fail, error S_CHIP_TYPE_NOT_MATCH(3184) (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1962)
06/27/18 23:57:55.150 BROM_DLL[4276][4468]: ERROR: FlashTool_Connect_BROM_Ex(): <ERR_CHECKPOINT>[146][error][3184]</ERR_CHECKPOINT> [S_CHIP_TYPE_NOT_MATCH] (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1963)
06/27/18 23:57:55.150 BROM_DLL[4276][4468]: ERROR: FlashTool_Disconnect_BROM(): invalid arguments! *p_ft_handleis NULL (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:2370)
06/27/18 23:57:55.150 BROM_DLL[4276][4468]: ERROR: FlashTool_Disconnect_BROM(): <ERR_CHECKPOINT>[109][error][1002]</ERR_CHECKPOINT> [S_INVALID_ARGUMENTS] (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:2371)
06/27/18 23:57:55.150 BROM_DLL[4276][5112]: RB_ClearAll(): RB_HANDLE->rwlock: WRITE_LOCK ... (FlashToolLib/host/windows/rwlock.cpp:460)
06/27/18 23:57:55.150 BROM_DLL[4276][5112]: RB_ClearAll(): RB_HANDLE->rwlock: WRITE_UNLOCK. (FlashToolLib/host/windows/rwlock.cpp:476)
It thinks I should have a BRom_Base::GetBBChipIDFromTarget(): BB chip name(MT6735M_S00) but according to my get vars I should have a "MT6735".
I tried with the MT6735M to see if that would work but I got the same error.
Code:
06/28/18 00:09:31.105 BROM_DLL[3728][4116]: DEBUG: GetCOMPortWithFilter(): New COM port: Filter index(1), Number(COM3), Friendly(MediaTek PreLoader USB VCOM (Android) (COM3)), Instance(USB\VID_0E8D&PID_2000\5&1EAA782A&0&2), Symbolic(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}) (FlashToolLib/host/windows/com_enum.cpp:1183)
06/28/18 00:09:31.105 BROM_DLL[3728][4116]: com_base::com_base() m_hCOM(FFFFFFFF) (FlashToolLib/host/windows/com_sentry.cpp:117)
06/28/18 00:09:31.105 BROM_DLL[3728][4116]: com_sentry::eek:pen(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, FFFFFFFF, 115200) (FlashToolLib/host/windows/com_sentry.cpp:597)
06/28/18 00:09:31.105 BROM_DLL[3728][4116]: hCOM = 0xae0, retry [0] times (FlashToolLib/host/windows/com_sentry.cpp:611)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: com_sentry::SetRTS(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, 00000AE0): successfully pull high RTS and DTR! (FlashToolLib/host/windows/com_sentry.cpp:713)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: com_sentry::Reset(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, 00000AE0): OK!, baudrate(115200). (FlashToolLib/host/windows/com_sentry.cpp:496)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: WARNING: debugconf::load(C:\Users\Administrator\Desktop\SP_Flash_Tool_v5.1820_Win\libdebug.conf): file doesn't exist (FlashToolLib/source/common/generic/src/debugconf.cpp:117)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: com_sentry::eek:pen(\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}, 00000AE0): CreateFile("\\?\usb#vid_0e8d&pid_2000#5&1eaa782a&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}") OK!, baudrate(115200). (FlashToolLib/host/windows/com_sentry.cpp:631)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: DEBUG: DA_cmd::DA_cmd(): m_p_stopflag(0x0404C1B0)=0. (FlashToolLib/sv5/common/generic/src/da_cmd.cpp:82)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: DEBUG: Setup_Connect_Param(): ### debug 111 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1214)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: DEBUG: Setup_Connect_Param(): ### debug 222 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1225)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: DEBUG: Setup_Connect_Param(): ### debug 333 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1230)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: DEBUG: Setup_Connect_Param(): ### debug 444 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1234)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: DEBUG: Setup_Connect_Param(): ### debug 666 ### (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1244)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: FlashTool_Connect_BROM_Ex(033C30A0)(): AUTO_DETECT_BBCHIP(254), AUTO_DETECT_EXT_CLOCK(254). (FlashToolLib/sv5/common/interface/src/brom.cpp:1050)
06/28/18 00:09:31.371 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): ... (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:209)
06/28/18 00:09:31.621 BROM_DLL[3728][4116]: DEBUG: BRom_Base::SetBRomCommState(): OK!, BaudRate(57600) = 57600 x EXT_CLOCK(2) x Multiple(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:360)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(57600), SEND(0xA0)->RECV(0x52), fail_retry(1). (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:268)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: DEBUG: BRom_Base::SetBRomCommState(): OK!, BaudRate(9600) = 9600 x EXT_CLOCK(2) x Multiple(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:360)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0xA0)->RECV(0x5F), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0x0A)->RECV(0xF5), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0x50)->RECV(0xAF), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0x05)->RECV(0xFA), OK. (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:261)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): [0] 0xA0 -> 0x5F (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): [1] 0x0A -> 0xF5 (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): [2] 0x50 -> 0xAF (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): [3] 0x05 -> 0xFA (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:305)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BRom_GetHWCode() ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1571)
06/28/18 00:09:31.636 BROM_DLL[3728][4116]: DEBUG: BRom_Base::BRom_GetHWCode(): enter ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1999)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xFD) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::BRom_GetHWCode(): HW Code (0x335) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:2022)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::BRom_GetHWCode(): OK! (FlashToolLib/sv5/common/interface/src/brom_base.cpp:2024)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BRom_GetHWCode() Pass! Get HW code(0x335) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1579)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): Try to detect chips with GET_HW_SW_VER .. (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1644)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BBChipIDMap::Find(): Find bbchip (0x335) (FlashToolLib/source/common/generic/src/bbchip_id.cpp:536)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BRom_GetHWSWVer() ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1662)
06/28/18 00:09:31.652 BROM_DLL[3728][4116]: DEBUG: BRom_Base::BRom_GetHWSWVer(): enter ... (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1944)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xFC) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::BRom_GetHWSWVer(): HW_VER(0xca00), SW_VER(0x0), HW_SUBCODE(0x8a00) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1979)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::BRom_GetHWSWVer(): OK! (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1981)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): Get HW SW version is done. (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1668)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: ChipRemap.lookup(0x0335, 0x8A00, 0xCA00, 0x0000) .. (FlashToolLib/sv5/common/interface/src/brom_base.cpp:205)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): Find the BBChip ID as (157) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1684)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::GetBBChipIDFromTarget(): BB chip name(MT6735M_S00): DigitalDie={ hw_ver(0xCA00), sw_ver(0x0000), hw_code(0x0335), hw_subcode(0x8A00) }, AnalogDie={ hw_ver(0x0000), hw_code(0x0000) } (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1724)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: BRom_AutoBoot::BRom_StartCmd(0): Pass! (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:336)
06/28/18 00:09:31.668 BROM_DLL[3728][4116]: DEBUG: BRom_Base::CreateObject(): MT6735M(157), EXT_26M(2), p_bootstop(0x0404C1B0), ms_boot_timeout(268435455), max_start_cmd_retry_count(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1495)
06/28/18 00:09:31.683 BROM_DLL[3728][4116]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xD1) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/28/18 00:09:31.714 BROM_DLL[3728][4116]: BRom_MT6276::BRom_ReadCmd32(): 0x102061B0[1]={ 0x94010000 }. (FlashToolLib/sv5/common/generic/src/brom_mt6276.cpp:675)
06/28/18 00:09:31.730 BROM_DLL[3728][4116]: DEBUG: BRom_Base::Write8DataWithEcho(): =0, cmd(0xD1) (FlashToolLib/sv5/common/interface/src/brom_base.cpp:1325)
06/28/18 00:09:31.761 BROM_DLL[3728][4116]: BRom_MT6276::BRom_ReadCmd32(): 0x102061B0[1]={ 0x94010000 }. (FlashToolLib/sv5/common/generic/src/brom_mt6276.cpp:675)
06/28/18 00:09:31.761 BROM_DLL[3728][4116]: ERROR: BRom_MT6735::IsChipTypeMatch(): CHIP TYPE NOT match!! target efuse value: 0x94010000 (FlashToolLib/sv5/common/generic/src/brom_mt6735.cpp:207)
06/28/18 00:09:31.761 BROM_DLL[3728][4116]: ERROR: FlashTool_Connect_BROM_Ex(): FlashTool_Connect_BROM_Ex() fail, error S_CHIP_TYPE_NOT_MATCH(3184) (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1962)
06/28/18 00:09:31.761 BROM_DLL[3728][4116]: ERROR: FlashTool_Connect_BROM_Ex(): <ERR_CHECKPOINT>[146][error][3184]</ERR_CHECKPOINT> [S_CHIP_TYPE_NOT_MATCH] (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:1963)
06/28/18 00:09:31.761 BROM_DLL[3728][4116]: ERROR: FlashTool_Disconnect_BROM(): invalid arguments! *p_ft_handleis NULL (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:2370)
06/28/18 00:09:31.761 BROM_DLL[3728][4116]: ERROR: FlashTool_Disconnect_BROM(): <ERR_CHECKPOINT>[109][error][1002]</ERR_CHECKPOINT> [S_INVALID_ARGUMENTS] (FlashToolLib/sv5/common/generic/src/flashtool_api.cpp:2371)
06/28/18 00:09:31.761 BROM_DLL[3728][4956]: RB_ClearAll(): RB_HANDLE->rwlock: WRITE_LOCK ... (FlashToolLib/host/windows/rwlock.cpp:460)
06/28/18 00:09:31.761 BROM_DLL[3728][4956]: RB_ClearAll(): RB_HANDLE->rwlock: WRITE_UNLOCK. (FlashToolLib/host/windows/rwlock.cpp:476)
So finally I decided to try with the version MT6737M that MTK Droid Root & Tools suggested was my chip. I did get a different error with that, not surprising it didn't work.
Code:
06/28/18 00:38:47.882 BROM_DLL[7403][7559]: ERROR: FlashTool_Connect_Download_InitDA(): FlashTool_Connect_Download_InitDA() fail, error S_BROM_DOWNLOAD_DA_FAIL(2004) (flashtool_api.cpp:1622)
06/28/18 00:38:47.882 BROM_DLL[7403][7559]: ERROR: FlashTool_Connect_Download_InitDA(): <ERR_CHECKPOINT>[150][error][2004]</ERR_CHECKPOINT> [S_BROM_DOWNLOAD_DA_FAIL] (flashtool_api.cpp:1624)
06/28/18 00:38:47.882 BROM_DLL[7403][7559]: ERROR: FlashTool_Connect_Download_DA(): S_BROM_DOWNLOAD_DA_FAIL(2004),ft_handle(0x44012630): FlashTool_Connect_Download_InitDA(): fail! (flashtool_api.cpp:1476)
06/28/18 00:38:47.882 BROM_DLL[7403][7559]: ERROR: FlashTool_Connect_Download_DA(): <ERR_CHECKPOINT>[149][error][2004]</ERR_CHECKPOINT> [S_BROM_DOWNLOAD_DA_FAIL] (flashtool_api.cpp:1478)
06/28/18 00:38:47.883 BROM_DLL[7403][7559]: FlashTool_Disconnect(0x44012630): mutex: LOCK ... (mutex.cpp:151)
06/28/18 00:38:47.883 BROM_DLL[7403][7559]: DEBUG: CMD_Finish(): Send DA_FINISH_CMD(0xD9), device_status(DISCONNECT_USB_AND_RELEASE_POWERKEY). (da_cmd.cpp:1050)
06/28/18 00:38:57.882 BROM_DLL[7403][7559]: ERROR: ReadData(): Retry(200): ReadComm(0/1): exceed timeout 10000 ms, retry 200 times fail!, total=(140561394696192/1). (da_cmd.cpp:272)
06/28/18 00:38:57.882 BROM_DLL[7403][7559]: ERROR: CMD_Finish(): Error return(2). (da_cmd.cpp:1084)
06/28/18 00:38:57.892 BROM_DLL[7403][7559]: DEBUG: CMD_Finish(): OK! (da_cmd.cpp:1090)
06/28/18 00:38:57.892 BROM_DLL[7403][7559]: ERROR: FlashTool_Disconnect(): (0x44012630): da_cmd.CMD_Finish(): fail! (flashtool_api.cpp:2338)
06/28/18 00:38:57.892 BROM_DLL[7403][7559]: FlashTool_Disconnect(0x44012630): mutex: UNLOCK. (mutex.cpp:166)
06/28/18 00:38:57.892 BROM_DLL[7403][7559]: com_base::close(/dev/ttyACM3): tty(15) OK! (com_base.cpp:455)
06/28/18 00:38:57.892 BROM_DLL[7403][7559]: com_sentry::Close(0x7fd744006260): OK!! (com_sentry.cpp:409)
06/28/18 00:38:57.892 BROM_DLL[7403][7559]: DEBUG: FlashTool_Disconnect(): successfully done. (flashtool_api.cpp:2350)
Same results on Linux using SPFlash there.
Any tips or insight you can provide would be welcome.
Solution! I had to use a custom DA file. See [Tutorial][Recovery] Flash TWRP on Moto C (namath) with locked bootloader
Additionally I used WwR_MTK_2.40_Eng.zip to make a basic skeleton scatter. After using the Custom DA, not that All in One that comes with SPFlashtool I was able to extract EMMC_BOOT_1 and then EMMC_USER.
A full guide about that is over here [Tutorial] How to use Wwr_MTK + SP Flash tool to backup Mediatek rom
Flash custom rom
Hi, can you tried to flash a custom rom in the moto c with the mt6735?
I do this question beacause I do it and never pass of the bootlogo of the custom rom ;(
I have Beelink GT1 Ultimate tv box (Amlogic S912 CPU). One day some app froze and I turned power off and on. After turning power on, I had no signal on TV and it’s been like that ever since. I contacted Beelink and they gave different 2 images (GT1_709D0.img and GT1_708D0) to try flashing with USB Burning Tool. However, USB Burning Tool always gets stuck at 7% formatting with the following error:
Code:
error: [0x32030201]Uboot/Get result/DiskInitial error.
I tried every possible combination (different ports, power on/no power after reset, force erase, etc). The only positive is that the box is detected by USB Burning Tool.
I also tried making bootable sd card with Burn card maker using those images but it didn’t help either – UART output provided.
Can someone tell me based on the UART logs below what is going on and suggest steps to debug/resolve it?
The interesting part is that every time UART output stops at these two lines and when I googled those lines, it seems other people tv boxes logs, where I found these lines, there is more output following them but in my case it always stops at those lines:
Code:
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
Here is the UART output with normal operation – endless loop:
Code:
GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:800;SD:800;USB:8;LOOP:1;EMMC:0;READ:800;SD:800;USB:8;
...
Here is the UART output when trying to flash with USB Burning Tool:
Code:
GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:800;SD:800;USB:8;0.0;
TE: 1981641
BL2 Built : 20:32:17, Sep 8 2017.
gxl g6296b83 - [email protected]
set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 12
CPU clk: 1200MHz
BL2 USB
DQS-corr enabled
DDR scramble enabled
STICKY_REG0: 0x00000000
STICKY_REG1: 0x00000000
STICKY_REG9: 0x00000000
DDR3 chl: Rank0+1 @ 912MHz - PASS
Rank0: 1024MB(auto)-2T-13
Rank1: 1024MB(auto)-2T-13
0.0;
TE: 2129485
BL2 Built : 20:32:17, Sep 8 2017.
gxl g6296b83 - [email protected]
set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 12
CPU clk: 1200MHz
BL2 USB
0.0;
TE: 2192478
BL2 Built : 20:32:17, Sep 8 2017.
gxl g6296b83 - [email protected]
set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 12
CPU clk: 1200MHz
BL2 USB
Load fip header from USB, src: 0x0000c000, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from USB, src: 0x00010000, des: 0x01100000, size: 0x0000d600
Load bl31 from USB, src: 0x00020000, des: 0x05100000, size: 0x0002c600
Load bl33 from USB, src: 0x00050000, des: 0x01000000, size: 0x00065800
NOTICE: BL3-1: v1.0(release):a625749
NOTICE: BL3-1: Built : 11:25:15, Aug 25 2017
NOTICE: BL31: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3243-377db0f 2017-09-07 11:28:58 [email protected]]
OPS=0x82
wdt: reset registers!
c4 68 a7 67 35 33 5f ce 11 6f 7c e2 [2.436513 Inits done]
secure task start!
high task start!
low task start!
ERROR: Error initializing runtime service opteed_fast
U-Boot 2015.01-ge6b8bc9 (May 05 2018 - 10:41:07)
DRAM: 3 GiB
Relocation Offset is: 76eb4000
[MSG]MMC init in usb
aml_priv->desc_buf = 0x0000000073eb4640
aml_priv->desc_buf = 0x0000000073eb6960
SDIO Port B: 0, SDIO Port C: 1
InUsbBurn
[MSG]sof
Set Addr 6
Get DT cfg
Get DT cfg
Get DT cfg
set CFG
Get DT cfg
Get DT cfg
Get str 300
Get DT cfg
Get DT cfg
Get str 300
Get DT cfg
Get DT cfg
ID[16]
tplcmd[ echo 12345]
12345
[MSG]ret = 0
[info]success
BULKcmd[ low_power]
[info]success
ID[16]
tplcmd[ download mem dtb normal 141312]
[MSG]Down(mem) part(dtb) sz(0x22800) fmt(normal)
[MSG]totalSlotNum = 0, nextWriteBackSlot 3
[info]success
[MSG]Burn Start...
[MSG]load dt.img to 0x0000000001000000, sz=0x22800
[MSG]Burn complete
BULKcmd[download get_status]
[info]success
BULKcmd[disk_initial 4]
dtb magic 5f4c4d41
Amlogic multi-dtb tool
Multi dtb detected
Multi dtb tool version: v2 .
Support 3 dtbs.
aml_dt soc: gxm platform: q201 variant: 3g
dtb 0 soc: gxm plat: q201 vari: 1g
dtb 1 soc: gxm plat: q201 vari: 2g
dtb 2 soc: gxm plat: q201 vari: 3g
Find match dtb: 2
start dts,buffer=0000000001000000,dt_addr=000000000100b800
Amlogic multi-dtb tool
Multi dtb detected
Multi dtb tool version: v2 .
Support 3 dtbs.
aml_dt soc: gxm platform: q201 variant: 3g
dtb 0 soc: gxm plat: q201 vari: 1g
dtb 1 soc: gxm plat: q201 vari: 2g
dtb 2 soc: gxm plat: q201 vari: 3g
Find match dtb: 2
parts: 10
00: logo 0000000002000000 1
01: recovery 0000000002000000 1
02: rsv 0000000000800000 1
03: tee 0000000000800000 1
04: crypt 0000000002000000 1
05: misc 0000000002000000 1
06: boot 0000000002000000 1
07: system 0000000080000000 1
08: cache 0000000020000000 2
09: data ffffffffffffffff 4
[MSG]run cmd [store disprotect key; store disprotect hynix]
[store]disprotect key
disprotect hynix
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
Here is the UART output when trying to use bootable SD card:
Code:
GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:800;SD:0;READ:0;0.0;CHK:0;
no sdio debug board detected
TE: 191592
BL2 Built : 20:32:17, Sep 8 2017.
gxl g6296b83 - [email protected]
set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 12
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
STICKY_REG0: 0x00000000
STICKY_REG1: 0x00000000
STICKY_REG9: 0x00000000
DDR3 chl: Rank0+1 @ 912MHz - PASS
Rank0: 1024MB(auto)-2T-13
Rank1: 1024MB(auto)-2T-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from SD, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from SD, src: 0x00020200, des: 0x05100000, size: 0x0002c600
Load bl33 from SD, src: 0x00050200, des: 0x01000000, size: 0x00065800
NOTICE: BL3-1: v1.0(release):a625749
NOTICE: BL3-1: Built : 11:25:15, Aug 25 2017
NOTICE: BL31: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3243-377db0f 2017-09-07 11:28:58 [email protected]]
OPS=0x82
wdt: reset registers!
c4 68 a7 67 35 33 5f ce 11 6f 7c e2 [0.543459 Inits done]
secure task start!
high task start!
low task start!
ERROR: Error initializing runtime service opteed_fast
U-Boot 2015.01-ge6b8bc9 (May 05 2018 - 10:41:07)
DRAM: 3 GiB
Relocation Offset is: 76eb4000
register usb cfg[0][1] = 0000000077f5b0e8
[CANVAS]canvas init
boot_device_flag : 1
set wlan gpio pin 6.
set bluetooth gpio pin 17.
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC: aml_priv->desc_buf = 0x0000000073eb4790
aml_priv->desc_buf = 0x0000000073eb6ab0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
Thanks in advance for your help
Nobody knows what is going on based those UART logs?