Changing refresh rate - Xiaomi Mi 10 Ultra Questions & Answers
Can we downgrade the refresh from 120hz to 90hz via adb like samsung s20 devices
Its really save some battery and also smooth
here is the display dumpsys from my device i see the 90hz mode but didnt know what is the commend to make it work
Spoiler: dumpsys display
DISPLAY MANAGER (dumpsys display)
mOnlyCode=false
mSafeMode=false
mPendingTraversal=false
mGlobalDisplayState=OFF
mNextNonDefaultDisplayId=1
mViewports=[DisplayViewport{type=INTERNAL, valid=true, displayId=0, uniqueId='local:19260527152667265', physicalPort=-127, orientation=0, logicalFrame=Rect(0, 0 - 1080, 2340), physicalFrame=Rect(0, 0 - 1080, 2340), deviceWidth=1080, deviceHeight=2340}]
mDefaultDisplayDefaultColorMode=0
mSingleDisplayDemoMode=false
mWifiDisplayScanRequestCount=0
mStableDisplaySize=Point(1080, 2340)
mMinimumBrightnessCurve=[(0.0, 0.0), (2000.0, 50.0), (4000.0, 90.0)]
Display Adapters: size=4
LocalDisplayAdapter
VirtualDisplayAdapter
OverlayDisplayAdapter
mCurrentOverlaySetting=
mOverlays: size=0
WifiDisplayAdapter
mCurrentStatus=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[[TV] Samsung 7 Series (55) (66:1c:b0:1a:ef:00), isAvailable false, canConnect false, isRemembered true], sessionInfo=WifiDisplaySessionInfo:
Client/Owner: Client
GroupId:
Passphrase:
SessionId: 0
IP Address: }
mFeatureState=2
mScanState=0
mActiveDisplayState=0
mActiveDisplay=null
mDisplays=[[TV] Samsung 7 Series (55) (66:1c:b0:1a:ef:00), isAvailable false, canConnect false, isRemembered true]
mAvailableDisplays=[]
mRememberedDisplays=[[TV] Samsung 7 Series (55) (66:1c:b0:1a:ef:00), isAvailable false, canConnect false, isRemembered false]
mPendingStatusChangeBroadcast=false
mSupportsProtectedBuffers=true
mDisplayController:
mWifiDisplayOnSetting=false
mWifiP2pEnabled=true
mWfdEnabled=false
mWfdEnabling=false
mNetworkInfo=null
mScanRequested=false
mDiscoverPeersInProgress=false
mDesiredDevice=null
mConnectingDisplay=null
mDisconnectingDisplay=null
mCancelingDisplay=null
mConnectedDevice=null
mConnectionRetriesLeft=0
mRemoteDisplay=null
mRemoteDisplayInterface=null
mRemoteDisplayConnected=false
mAdvertisedDisplay=null
mAdvertisedDisplaySurface=null
mAdvertisedDisplayWidth=0
mAdvertisedDisplayHeight=0
mAdvertisedDisplayFlags=0
mAvailableWifiDisplayPeers: size=0
Display Devices: size=1
DisplayDeviceInfo{"Built-in Screen": uniqueId="local:19260527152667265", 1080 x 2340, modeId 2, defaultModeId 1, supportedModes [{id=1, width=1080, height=2340, fps=60.000004}, {id=2, width=1080, height=2340, fps=120.00001}], colorMode 0, supportedColorModes [0, 7, 9], HdrCapabilities [email protected], density 440, 386.366 x 386.701 dpi, appVsyncOff 1000000, presDeadline 8333333, cutout DisplayCutout{insets=Rect(0, 90 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 177, 90), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}, touch INTERNAL, rotation 0, type BUILT_IN, address {port=129, model=0x446d58ef1f1a}, state OFF, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
mAdapter=LocalDisplayAdapter
mUniqueId=local:19260527152667265
[email protected]
mCurrentLayerStack=-1
mCurrentOrientation=0
mCurrentLayerStackRect=Rect(0, 0 - 1080, 2340)
mCurrentDisplayRect=Rect(0, 0 - 1080, 2340)
mCurrentSurface=null
mPhysicalDisplayId=19260527152667265
mAllowedPhysIndexes=[1]
mAllowedModeIds=[2]
mAllowedModeIdsInvalid=false
mActivePhysIndex=1
mActiveModeId=2
mActiveColorMode=0
mDefaultModeId=1
mState=OFF
mBrightness=0
mBacklight=LightImpl{mDisabled=false, mColor=0, mMode=0, mOnMS=0, mOffMS=0, mBrightnessMode=0, mId=0, mLastColor=0, pkg_name='null', mUid=0, mLastLightStyle=-1, mIsShutDown=false}
mDisplayInfos=
PhysicalDisplayInfo{1080 x 2340, 60.000004 fps, density 2.75, 386.366 x 386.701 dpi, secure true, appVsyncOffset 1000000, bufferDeadline 16666666}
PhysicalDisplayInfo{1080 x 2340, 120.00001 fps, density 2.75, 386.366 x 386.701 dpi, secure true, appVsyncOffset 1000000, bufferDeadline 8333333}
mSupportedModes=
DisplayModeRecord{mMode={id=1, width=1080, height=2340, fps=60.000004}}
DisplayModeRecord{mMode={id=2, width=1080, height=2340, fps=120.00001}}
mSupportedColorModes=[0, 7, 9]
Logical Displays: size=1
Display 0:
mDisplayId=0
mLayerStack=0
mHasContent=true
mAllowedDisplayModes=[2]
mRequestedColorMode=0
mDisplayOffset=(0, 0)
mDisplayScalingDisabled=false
mPrimaryDisplayDevice=Built-in Screen
mBaseDisplayInfo=DisplayInfo{"Built-in Screen, displayId 0", uniqueId "local:19260527152667265", app 1080 x 2340, real 1080 x 2340, largest app 1080 x 2340, smallest app 1080 x 2340, mode 2, defaultMode 1, modes [{id=1, width=1080, height=2340, fps=60.000004}, {id=2, width=1080, height=2340, fps=120.00001}], colorMode 0, supportedColorModes [0, 7, 9], hdrCapabilities [email protected], rotation 0, density 440 (386.366 x 386.701) dpi, layerStack 0, appVsyncOff 1000000, presDeadline 8333333, type BUILT_IN, address {port=129, model=0x446d58ef1f1a}, state OFF, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, removeMode 0}
mOverrideDisplayInfo=DisplayInfo{"Built-in Screen, displayId 0", uniqueId "local:19260527152667265", app 1080 x 2206, real 1080 x 2340, largest app 2250 x 2206, smallest app 1080 x 946, mode 2, defaultMode 1, modes [{id=1, width=1080, height=2340, fps=60.000004}, {id=2, width=1080, height=2340, fps=120.00001}], colorMode 0, supportedColorModes [0, 7, 9], hdrCapabilities [email protected], rotation 0, density 440 (386.366 x 386.701) dpi, layerStack 0, appVsyncOff 1000000, presDeadline 8333333, type BUILT_IN, address {port=129, model=0x446d58ef1f1a}, state ON, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, removeMode 0}
DisplayModeDirector
mSupportedModesByDisplay:
0 -> [{id=1, width=1080, height=2340, fps=60.000004}, {id=2, width=1080, height=2340, fps=120.00001}]
mDefaultModeByDisplay:
0 -> {id=1, width=1080, height=2340, fps=60.000004}
mVotesByDisplay:
-1:
PRIORITY_USER_SETTING_PEAK_REFRESH_RATE -> Vote{width=-1, height=-1, minRefreshRate=0.0, maxRefreshRate=120.0}
PRIORITY_USER_SETTING_MIN_REFRESH_RATE -> Vote{width=-1, height=-1, minRefreshRate=90.0, maxRefreshRate=Infinity}
SettingsObserver
mDefaultPeakRefreshRate: 120.0
AppRequestObserver
mAppRequestedModeByDisplay:
BrightnessObserver
mRefreshRateInZone: 0
Callbacks: size=68
0: mPid=1652, mWifiDisplayScanRequested=false
1: mPid=2397, mWifiDisplayScanRequested=false
2: mPid=2677, mWifiDisplayScanRequested=false
3: mPid=2766, mWifiDisplayScanRequested=false
4: mPid=2781, mWifiDisplayScanRequested=false
5: mPid=2818, mWifiDisplayScanRequested=false
6: mPid=2840, mWifiDisplayScanRequested=false
7: mPid=2869, mWifiDisplayScanRequested=false
8: mPid=2878, mWifiDisplayScanRequested=false
9: mPid=2913, mWifiDisplayScanRequested=false
10: mPid=3394, mWifiDisplayScanRequested=false
11: mPid=3423, mWifiDisplayScanRequested=false
12: mPid=3871, mWifiDisplayScanRequested=false
13: mPid=4127, mWifiDisplayScanRequested=false
14: mPid=4194, mWifiDisplayScanRequested=false
15: mPid=4232, mWifiDisplayScanRequested=false
16: mPid=4242, mWifiDisplayScanRequested=false
17: mPid=4274, mWifiDisplayScanRequested=false
18: mPid=4295, mWifiDisplayScanRequested=false
19: mPid=4318, mWifiDisplayScanRequested=false
20: mPid=4341, mWifiDisplayScanRequested=false
21: mPid=4360, mWifiDisplayScanRequested=false
22: mPid=4382, mWifiDisplayScanRequested=false
23: mPid=4411, mWifiDisplayScanRequested=false
24: mPid=4433, mWifiDisplayScanRequested=false
25: mPid=4461, mWifiDisplayScanRequested=false
26: mPid=4479, mWifiDisplayScanRequested=false
27: mPid=4502, mWifiDisplayScanRequested=false
28: mPid=4533, mWifiDisplayScanRequested=false
29: mPid=4568, mWifiDisplayScanRequested=false
30: mPid=4577, mWifiDisplayScanRequested=false
31: mPid=4645, mWifiDisplayScanRequested=false
32: mPid=4733, mWifiDisplayScanRequested=false
33: mPid=4805, mWifiDisplayScanRequested=false
34: mPid=4820, mWifiDisplayScanRequested=false
35: mPid=4987, mWifiDisplayScanRequested=false
36: mPid=5500, mWifiDisplayScanRequested=false
37: mPid=5762, mWifiDisplayScanRequested=false
38: mPid=5777, mWifiDisplayScanRequested=false
39: mPid=6557, mWifiDisplayScanRequested=false
40: mPid=6692, mWifiDisplayScanRequested=false
41: mPid=7796, mWifiDisplayScanRequested=false
42: mPid=7974, mWifiDisplayScanRequested=false
43: mPid=8551, mWifiDisplayScanRequested=false
44: mPid=8689, mWifiDisplayScanRequested=false
45: mPid=8804, mWifiDisplayScanRequested=false
46: mPid=8882, mWifiDisplayScanRequested=false
47: mPid=10914, mWifiDisplayScanRequested=false
48: mPid=12989, mWifiDisplayScanRequested=false
49: mPid=20329, mWifiDisplayScanRequested=false
50: mPid=21465, mWifiDisplayScanRequested=false
51: mPid=21704, mWifiDisplayScanRequested=false
52: mPid=21723, mWifiDisplayScanRequested=false
53: mPid=21765, mWifiDisplayScanRequested=false
54: mPid=21784, mWifiDisplayScanRequested=false
55: mPid=21830, mWifiDisplayScanRequested=false
56: mPid=21887, mWifiDisplayScanRequested=false
57: mPid=21910, mWifiDisplayScanRequested=false
58: mPid=21932, mWifiDisplayScanRequested=false
59: mPid=22031, mWifiDisplayScanRequested=false
60: mPid=22111, mWifiDisplayScanRequested=false
61: mPid=22156, mWifiDisplayScanRequested=false
62: mPid=22234, mWifiDisplayScanRequested=false
63: mPid=22312, mWifiDisplayScanRequested=false
64: mPid=22417, mWifiDisplayScanRequested=false
65: mPid=22451, mWifiDisplayScanRequested=false
66: mPid=22489, mWifiDisplayScanRequested=false
67: mPid=22524, mWifiDisplayScanRequested=false
Display Power Controller Locked State:
mDisplayReadyLocked=true
mPendingRequestLocked=policy=DOZE, useProximitySensor=false, screenBrightnessOverride=-1, useAutoBrightness=false, screenAutoBrightnessAdjustmentOverride=NaN, screenLowPowerBrightnessFactor=1.0, blockScreenOn=false, lowPowerMode=false, boostScreenBrightness=false, dozeScreenBrightness=4095, dozeScreenState=OFF
mPendingRequestChangedLocked=false
mPendingWaitForNegativeProximityLocked=false
mPendingUpdatePowerStateLocked=false
Display Power Controller Configuration:
mScreenBrightnessDozeConfig=17
mScreenBrightnessDimConfig=13
mScreenBrightnessRangeMinimum=12
mScreenBrightnessRangeMaximum=4095
mScreenBrightnessDefault=1072
mScreenBrightnessForVrRangeMinimum=1264
mScreenBrightnessForVrRangeMaximum=4095
mScreenBrightnessForVrDefault=1376
mUseSoftwareAutoBrightnessConfig=true
mAllowAutoBrightnessWhileDozingConfig=false
mBrightnessRampRateFast=2466
mBrightnessRampRateSlow=1973
mSkipScreenOnBrightnessRamp=false
mColorFadeFadesConfig=false
mColorFadeEnabled=true
mDisplayBlanksAfterDozeConfig=false
mBrightnessBucketsInDozeConfig=false
Display Power Controller Thread State:
mPowerRequest=policy=DOZE, useProximitySensor=false, screenBrightnessOverride=-1, useAutoBrightness=false, screenAutoBrightnessAdjustmentOverride=NaN, screenLowPowerBrightnessFactor=1.0, blockScreenOn=false, lowPowerMode=false, boostScreenBrightness=false, dozeScreenBrightness=4095, dozeScreenState=OFF
mUnfinishedBusiness=false
mWaitingForNegativeProximity=false
mProximitySensor={Sensor name="Xiaomi Proximity", vendor="Xiaomi", version=1, type=8, maxRange=5.0, resolution=1.0, power=0.5, minDelay=0}
mProximitySensorEnabled=false
mProximityThreshold=5.0
mProximity=Unknown
mPendingProximity=Unknown
mPendingProximityDebounceTime=-1 (4015823 ms ago)
mScreenOffBecauseOfProximity=false
mLastUserSetScreenBrightness=0
mCurrentScreenBrightnessSetting=272
mPendingScreenBrightnessSetting=-1
mTemporaryScreenBrightness=-1
mAutoBrightnessAdjustment=0.0
mBrightnessReason=screen_off
mTemporaryAutoBrightnessAdjustment=NaN
mTemporaryAutoBrightnessAdjRatio=0.0
mPendingAutoBrightnessAdjustment=NaN
mScreenBrightnessForVr=1376
mAppliedAutoBrightness=false
mAppliedDimming=false
mAppliedLowPower=false
mAppliedScreenBrightnessOverride=false
mAppliedTemporaryBrightness=false
mDozing=true
mSkipRampState=RAMP_STATE_SKIP_NONE
mInitialAutoBrightness=0
mScreenOnBlockStartRealTime=5147019
mScreenOffBlockStartRealTime=5149184
mPendingScreenOnUnblocker=null
mPendingScreenOffUnblocker=null
mPendingScreenOff=false
mReportedToPolicy=REPORTED_TO_POLICY_SCREEN_OFF
mScreenBrightnessRampAnimator.isAnimating()=false
mColorFadeOnAnimator.isStarted()=false
mColorFadeOffAnimator.isStarted()=false
Display Power State:
mScreenState=OFF
mScreenBrightness=0
mScreenReady=true
mScreenUpdatePending=false
mColorFadePrepared=false
mColorFadeLevel=0.0
mColorFadeReady=true
mColorFadeDrawPending=false
Photonic Modulator State:
mPendingState=OFF
mPendingBacklight=0
mActualState=OFF
mActualBacklight=0
mStateChangeInProgress=false
mBacklightChangeInProgress=false
Color Fade State:
mPrepared=false
mMode=1
mDisplayLayerStack=0
mDisplayWidth=1080
mDisplayHeight=2340
mSurfaceVisible=false
mSurfaceAlpha=0.0
Automatic Brightness Controller Configuration:
mScreenBrightnessRangeMinimum=12
mScreenBrightnessRangeMaximum=4095
mDozeScaleFactor=1.0
mInitialLightSensorRate=250
mNormalLightSensorRate=250
mLightSensorWarmUpTimeConfig=0
mBrighteningLightDebounceConfig=1000
mDarkeningLightDebounceConfig=1000
mResetAmbientLuxAfterWarmUpConfig=true
mAmbientLightHorizon=10000
mWeightingIntercept=10000
Automatic Brightness Controller State:
mLightSensor={Sensor name="tcs3701 Ambient Light Sensor Non-wakeup", vendor="ams AG", version=257, type=5, maxRange=1.0, resolution=0.01, power=0.09, minDelay=0}
mLightSensorEnabled=false
mLightSensorEnableTime=0 (4015823 ms ago)
mCurrentLightSensorRate=-1
mAmbientLux=0.0
mAmbientLuxValid=false
mAmbientBrighteningThreshold=0.0
mAmbientDarkeningThreshold=0.0
mScreenBrighteningThreshold=0.0
mScreenDarkeningThreshold=0.0
mLastObservedLux=0.0
mLastObservedLuxTime=0 (4015823 ms ago)
mRecentLightSamples=0
mAmbientLightRingBuffer=[]
mScreenAutoBrightness=-1
mDisplayPolicy=DOZE
mShortTermModelTimeout=300000
mShortTermModelAnchor=-1.0
mShortTermModelValid=false
mBrightnessAdjustmentSamplePending=false
mBrightnessAdjustmentSampleOldLux=0.0
mBrightnessAdjustmentSampleOldBrightness=0
mForegroundAppPackageName=null
mPendingForegroundAppPackageName=null
mForegroundAppCategory=-1
mPendingForegroundAppCategory=-1
PhysicalMappingStrategy
mConfig=BrightnessConfiguration{[(0.0, 5.0), (1.0, 5.0), (2.0, 5.0), (4.0, 17.0), (6.0, 24.0), (8.0, 31.0), (10.0, 34.0), (15.0, 46.0), (20.0, 59.0), (25.0, 76.0), (30.0, 81.0), (35.0, 82.0), (40.0, 82.0), (45.0, 82.0), (50.0, 83.0), (55.0, 83.0), (60.0, 83.0), (65.0, 84.0), (70.0, 84.0), (75.0, 85.0), (80.0, 85.0), (85.0, 85.0), (90.0, 85.0), (95.0, 86.0), (100.0, 86.0), (120.0, 87.0), (140.0, 89.0), (160.0, 90.0), (180.0, 91.0), (200.0, 93.0), (220.0, 94.0), (240.0, 96.0), (260.0, 97.0), (280.0, 99.0), (300.0, 100.0), (320.0, 101.0), (340.0, 104.0), (360.0, 105.0), (380.0, 106.0), (400.0, 108.0), (420.0, 109.0), (440.0, 111.0), (460.0, 112.0), (480.0, 114.0), (500.0, 116.0), (700.0, 137.0), (900.0, 157.0), (1100.0, 180.0), (1300.0, 205.0), (1500.0, 226.0), (1700.0, 257.0), (1900.0, 280.0), (2000.0, 295.0), (2500.0, 369.0), (3000.0, 434.0), (3500.0, 500.0)], {}, ''}
mBrightnessSpline=MonotoneCubicSpline{[(0.0, 5.0: 0.0), (1.0, 5.0: 0.0), (2.0, 5.0: 0.0), (4.0, 17.000002: 4.75), (6.0, 24.0: 3.5), (8.0, 31.000002: 2.500001), (10.0, 34.000004: 1.95), (15.0, 46.0: 2.4999995), (20.0, 59.0: 3.0000007), (25.0, 76.00001: 2.2), (30.0, 81.0: 0.59183633), (35.0, 82.0: 0.0), (40.0, 82.0: 0.0), (45.0, 82.0: 0.0), (50.0, 83.00001: 0.0), (55.0, 83.00001: 0.0), (60.0, 83.00001: 0.0), (65.0, 84.00001: 0.0), (70.0, 84.00001: 0.0), (75.0, 85.0: 0.0), (80.0, 85.0: 0.0), (85.0, 85.0: 0.0), (90.0, 85.0: 0.0), (95.0, 86.0: 0.0), (100.0, 86.0: 0.0), (120.0, 87.00001: 0.075), (140.0, 89.0: 0.075), (160.0, 90.00001: 0.05000019), (180.0, 91.00001: 0.07499981), (200.0, 93.0: 0.075), (220.0, 94.00001: 0.075), (240.0, 96.0: 0.07499981), (260.0, 97.0: 0.07500019), (280.0, 99.00001: 0.075), (300.0, 100.0: 0.049999997), (320.0, 101.00001: 0.1), (340.0, 104.0: 0.1), (360.0, 105.00001: 0.05000019), (380.0, 106.00001: 0.07499981), (400.0, 108.0: 0.075), (420.0, 109.00001: 0.075), (440.0, 111.0: 0.075), (460.0, 112.00001: 0.07500019), (480.0, 114.00001: 0.1), (500.0, 116.00001: 0.10250002), (700.0, 137.00002: 0.102499984), (900.0, 157.0: 0.1075), (1100.0, 180.00002: 0.120000035), (1300.0, 205.00002: 0.114999995), (1500.0, 226.00002: 0.12999997), (1700.0, 257.0: 0.13499996), (1900.0, 280.0: 0.13250016), (2000.0, 295.00003: 0.14900015), (2500.0, 369.00003: 0.139), (3000.0, 434.00003: 0.13099997), (3500.0, 500.0: 0.13199994)]}
mNitsToBacklightSpline=LinearSpline{[(0.12210012, 2.4420026E-4: 0.002), (500.0, 1.0)]}
mMaxGamma=1.0
mAutoBrightnessAdjustment=0.0
mUserLux=-1.0
mUserBrightness=-1.0
mDefaultConfig=BrightnessConfiguration{[(0.0, 5.0), (1.0, 5.0), (2.0, 5.0), (4.0, 17.0), (6.0, 24.0), (8.0, 31.0), (10.0, 34.0), (15.0, 46.0), (20.0, 59.0), (25.0, 76.0), (30.0, 81.0), (35.0, 82.0), (40.0, 82.0), (45.0, 82.0), (50.0, 83.0), (55.0, 83.0), (60.0, 83.0), (65.0, 84.0), (70.0, 84.0), (75.0, 85.0), (80.0, 85.0), (85.0, 85.0), (90.0, 85.0), (95.0, 86.0), (100.0, 86.0), (120.0, 87.0), (140.0, 89.0), (160.0, 90.0), (180.0, 91.0), (200.0, 93.0), (220.0, 94.0), (240.0, 96.0), (260.0, 97.0), (280.0, 99.0), (300.0, 100.0), (320.0, 101.0), (340.0, 104.0), (360.0, 105.0), (380.0, 106.0), (400.0, 108.0), (420.0, 109.0), (440.0, 111.0), (460.0, 112.0), (480.0, 114.0), (500.0, 116.0), (700.0, 137.0), (900.0, 157.0), (1100.0, 180.0), (1300.0, 205.0), (1500.0, 226.0), (1700.0, 257.0), (1900.0, 280.0), (2000.0, 295.0), (2500.0, 369.0), (3000.0, 434.0), (3500.0, 500.0)], {}, ''}
HysteresisLevels
mBrighteningThresholds=[2.0, 5.0, 10.0, 30.0, 100.0, 400.0, 600.0, 1000.0]
mDarkeningThresholds=[0.8, 0.8, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]
mThresholdLevels=[2.0, 10.0, 30.0, 100.0, 800.0, 2000.0, 4000.0]
HysteresisLevels
mBrighteningThresholds=[0.0]
mDarkeningThresholds=[0.0]
mThresholdLevels=[]
BrightnessTracker state:
mStarted=true
mLastBatteryLevel=0.48
mLastBrightness=500.0
mLastSensorReadings.size=0
mEventsDirty=true
mEvents.size=0
mWriteBrightnessTrackerStateScheduled=false
mSensorRegistered=false
mColorSamplingEnabled=false
mNoFramesToSample=0
mFrameRate=0.0
AmbientBrightnessStats:
0 2021-01-03 {0.0, 0.1, 0.3, 1.0, 3.0, 10.0, 30.0, 100.0, 300.0, 1000.0, 3000.0, 10000.0} {155.02701, 0.0, 21.075016, 90.18783, 1270.1056, 118.42189, 1638.2092, 72.84, 0.0, 0.0, 0.0, 0.0}
Sunlight Controller Configuration:
mSunlightSettingsEnable=false
mSunlightSensorEnableTime=3633258
mLastObservedLux=58.0
mLastObservedLuxTime=3632995
mCurrentAmbientLux=58.570957
mSunlightSensorEnabled=false
mBelowThresholdBrightness=true
mSunlightModeActive=false
mSunlightModeDisabledByUser=false
mAmbientLightRingBuffer=[]
mScreenIsHangUp=false
Sunlight Controller Noticationcation Helper:
mHasReachedLimitTimes=false
mLastShowNotificationTime=0
mAppliedSunlightMode=false
mLastSettingsBrightnessBeforeApplySunlight=0
mLastSlideProgressDuration=850
PersistentDataStore
mLoaded=true
mDirty=false
RememberedWifiDisplays:
0: [TV] Samsung 7 Series (55) (66:1c:b0:1a:ef:00), isAvailable false, canConnect false, isRemembered false
DisplayStates:
StableDeviceValues:
StableDisplayWidth=1080
StableDisplayHeight=2340
BrightnessConfigurations:
Sry for posting here didnt realise it
Admin pls move
You can select 60 or 120 in the display menu.
Sathelp said:
You can select 60 or 120 in the display menu.
Click to expand...
Click to collapse
1st thanks for your reply
i know i can switch between 60,120 hz in settings
but i want to downgrade the high refresh rate from 120hz to 90hz
i see the 90hz mode in ADB but i dont know what is the right commend to set it to 90hz
i will put the dumpsys display hope someone figure how to change it.
Related
Solved-How To change My Sprint TP2 hardware keyboard to Spanish-Solved
Hi all. I have a Sprint TP2. I want to change my hardware keyboard to spanish layout. I searched al the night and i cant found the way. so any body knows how to change my keyboard to spanish??? Thanks in advance. SOLVED After a long search I found the solution: YESSSSSSSSS The keyboard mapping it's setting by the ".txt" file in the REG KEY: "HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\Ime\Keyboar dLayouFiles\07FF:"Name of the file.txt") The ".txt" specifies the hardware keyboard mapping. These file are located in the \windows\ directory in the TP2. We can edit the file as we want. I edited my file like this: " // // N O T E: This file must be saved as Unicode // // This file contains the virtual keys mapping table for the // Raphael device World-Wide English QWERTY layout. // The mapping table is defined as follows // // VK_TPOUND = 0x78 // VK_TSTAR = 0x77 // VK_TAB = 0x09 // // We do not support escape value yet. So the key/char values should be // entered explicitly or by encoding start with 0x // // Format: // {VK VK1 VK2 CH1 CH2} // VK -> value from keyboard driver // VK1 -> key mapped, interpret by IME // VK2 -> key to interpret when for press and hold // CH1 -> symbols produced by Fn + key // CH2 -> symbols in 123 mode // CH4 -> Key Index // Row 1 {1 1 1 ! ! 0xff} {2 2 2 @ @ 0xff} {3 3 3 # # 0xff} {4 4 4 $ $ 0xff} {5 5 5 % % 0xff} {6 6 6 ^ ^ 0xff} {7 7 7 & & 0xff} {8 8 8 * * 0xff} {9 9 9 ( ( 0xff} {0 0 0 ) ) 0xff} // Row 2 {Q Q Q ¡ ¡ 0x00} {W W W - - 0x01} {E E E É É 0x02} {R R R R R 0x03} {T T T + + 0x04} {Y Y Y = = 0x05} {U U U Ú Ú 0x06} {I I I Í Í 0x07} {O O O Ó Ó 0x08} {P P P _ _ 0x09} // Row 3 {A A A Á Á 0x0a} {S S S S S 0x0b} {D D D : : 0x0c} {F F F F F 0x0d} {G G G G G 0x0e} {H H H \ \ 0x0f} {J J J / / 0x10} {K K K ' ' 0x11} {L L L " " 0x12} {0x08 0x08 0x08 0xF02E 0xF02E 0xff} // BACKSPACE - 0x08 = VK_BACK, 0x2E = VK_DELETE // Row 4 {0x10 0x10 0x10 0x14 0x00 0xff} // CAPS - 0x14 = VK_CAPITAL {Z Z Z ¿ ¿ 0x13} {X X X X X 0x14} {C C C Ç Ç 0x15} {V V V V V 0x16} {B B B ; ; 0x17} {N N N Ñ Ñ 0x18} {M M M ? ? 0x19} {0x26 0x26 0x26 0xF021 0xF021 0xff} // UP - 0x26 = VK_UP, 0x21 = VK_PRIOR (PAGE UP) {0x0D 0x0D 0x0D 0x0D 0x0D 0xff} // ENTER - 0x0D = VK_RETURN // Row 5 {0xEC 0xEC 0x00 0x00 0x00 0xff} // FN - 0xEC = FN {0xF2 0xF2 0x00 0x00 0x00 0xff} // MSG - 0xF2 = MSG {0xEB 0x93 0x00 0x00 0x00 0xff} // SMS - 0x93 = SMS {0xBC , , 0xE9 0x00 0xff} // SYM - 0xE9 {0x20 0x20 0x20 0x12 0x20 0xff} // SPACE - 0x20 = VK_SPACE, 0x12 = XT9 Menu {0xBE . . 0x00 0x00 0xff} {0x25 0x25 0x25 0x92 0x00 0xff} // LEFT - 0x25 = VK_LEFT {0x28 0x28 0x28 0xF022 0xF022 0xff} // DOWN - 0x28 = VK_DOWN, 0x22 = VK_NEXT (PAGE DOWN) {0x27 0x27 0x27 0xF3 0x00 0xff} // RIGHT - 0x27 = VK_RIGHT {0xE9 0xE9 0xE9 0x00 0x00 0xff} // SYM - 0xE9" Like you can see, it's pretty easy. If i want a accent vocal I just press the FN key follow by the vocal key, and voila. Cheers Actualization: After solved my issue, "Sonje" from the "HTC Manía" forum (http://www.htcmania.com/showthread.p...d=1#post678520) suggest me the next link. http://www.htcmania.com/showthread.php?t=67632 In the link "Superjuani" suggest a program, but I didn't test it, buy I share the link if you want to try it http://www.htcmania.com/showpost.php...2&postcount=10
Could You helpme??? Hi, any body???
please, i need your help. This don´t run over touch pro2, please other solution. http://wiki.xda-developers.com/index.php?pagename=Raphael_Keyboard THanks.
[DEV] Discussion about USB-TTL UART JIG
Hey all, I've created this thread to gather all the info and doubts about UART JIG (also so <I> don't pollute OpenFIMG's thread ). Readings of interest: Fun with resistors Setup in a Nexus S (with pictures) UART / Serial / JTAG Odd serial port on Spica (samdroid) Galaxy S UART JIG & Debugging connector Developing methods to recover bricks without JTAG Kernel serial console on i9100 UART Output / Bootloader Hacking / Kernel debugging Configuration: Vcc (Pin 1) -> Disconnected. D- (Pin 2) -> RXD. D+ (Pin 3) -> TXD. ID (Pin 4) -> Connected to GND with 523k ohm attached. GND (Pin 5) -> GND Baud rate: 115200, 8N1. No control flow. Boot from the SBL: Code: SBL>loadkernel SBL>loadmodem SBL>boot How to get output from kernel.
tom3q said: <Quote Snipped>. Click to expand... Click to collapse Awesome. Thanks donator! You've got the uart jig there? Can you test it? (I'm not getting any output.. not [X]BL, nor kernel)
moikop said: Awesome. Thanks donator! You've got the uart jig there? Can you test it? (I'm not getting any output.. not [X]BL, nor kernel) Click to expand... Click to collapse This is what I get from the serial port of G3: Code: Secondary Boot Loader(SBL) Built for apollo rev02 by root on Oct 27 2010 17:10:33 Copyright (C) SAMSUNG Corporation 2006-2010 [PAM: ] ++FSR_PAM_Init [PAM: ] OneNAND physical base address : 0xb0000000 [PAM: ] OneNAND virtual base address : 0xb0000000 [PAM: ] OneNAND nMID=0xec : nDID=0x50 [PAM: ] --FSR_PAM_Init fsr_bml_load_partition: pi->nNumOfPartEntry = 10 partitions loading success ==== PARTITION INFORMATION ==== ID : IBL & PBL (0x0) ATTR : RO SLC PREWRITING (0x9002) FIRST_UNIT : 0 NO_UNITS : 1 =============================== ID : SBL (0x1) ATTR : RO ENTRYPOINT SLC BOOTLOADING PREWRITING (0xd402) FIRST_UNIT : 1 NO_UNITS : 5 =============================== ID : PARAM (0x2) ATTR : RW SLC (0x1001) FIRST_UNIT : 6 NO_UNITS : 2 =============================== ID : EFS (0x18) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 8 NO_UNITS : 32 =============================== ID : KERNEL (0x4) ATTR : RO SLC PREWRITING (0x9002) FIRST_UNIT : 40 NO_UNITS : 30 =============================== ID : FACTORYFS (0x15) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 70 NO_UNITS : 880 =============================== ID : DATAFS (0x16) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 950 NO_UNITS : 810 =============================== ID : CACHE (0x17) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 1760 NO_UNITS : 152 (*mismatch* 152 should be 150) =============================== ID : TEMP (0x3) ATTR : RW SLC (0x1001) FIRST_UNIT : 1912 NO_UNITS : 28 (*mismatch* 28 should be 30) =============================== ID : MODEM (0x5) ATTR : RO SLC PREWRITING (0x9002) FIRST_UNIT : 1940 NO_UNITS : 64 =============================== Read image(PARAM) from flash ....... ..Done read 2 units. Normal Case : MAIN(O) & BACKUP(O) main: Debug Level Low RST_STAT = 0x00000004 WAKEUP_STAT = 0x00000000 s5p_fb_info_init start s5p_fb_info_init end s5p_fimd_info_init start s5p_fimd_info_init end LoadPNG: width:240, height:400, bpp:32, color_type:6, channels:4, rowbytes:960 lcd_gpio_init start lcd_gpio_init end lcd_backlight_ctrl start lcd type: 1 ldi mtpdata: 52 9 11 lcd type is smd set brightness:0x43 lcd_backlight_ctrl end SBL:Phone Boot Mode=0 AST_POWERON usb_download_mode:0 Autoboot (0 seconds) in progress, press any key to stop AST_ERROR Autoboot aborted Type "help" to get a list of commands SBL> SBL> SBL> SBL> help Following commands are supported: * setenv * savedefault * saveenv * printenv * help * sec_log * kernel * boot * reset * nandwrite * nandread * nkernel * readcheck * savepart * delpart * addpart * showpart * loadmodem * loadkernel * eraseall * erasepart * close * open * format * getreg * setreg * getadc * sleep To get commands help, Type "help <command>" SBL> When I let the kernel boot instead of entering the console I get no output from the kernel, possibly because UART switch is being reconfigured to modem somewhere in the kernel, kernel doesn't have serial console enabled or the serial port passed to the kernel in kernel arguments by the bootloader isn't the serial port accessible from microUSB connector. For reference: Code: Secondary Boot Loader(SBL) Built for apollo rev02 by root on Oct 27 2010 17:10:33 Copyright (C) SAMSUNG Corporation 2006-2010 [PAM: ] ++FSR_PAM_Init [PAM: ] OneNAND physical base address : 0xb0000000 [PAM: ] OneNAND virtual base address : 0xb0000000 [PAM: ] OneNAND nMID=0xec : nDID=0x50 [PAM: ] --FSR_PAM_Init fsr_bml_load_partition: pi->nNumOfPartEntry = 10 partitions loading success ==== PARTITION INFORMATION ==== ID : IBL & PBL (0x0) ATTR : RO SLC PREWRITING (0x9002) FIRST_UNIT : 0 NO_UNITS : 1 =============================== ID : SBL (0x1) ATTR : RO ENTRYPOINT SLC BOOTLOADING PREWRITING (0xd402) FIRST_UNIT : 1 NO_UNITS : 5 =============================== ID : PARAM (0x2) ATTR : RW SLC (0x1001) FIRST_UNIT : 6 NO_UNITS : 2 =============================== ID : EFS (0x18) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 8 NO_UNITS : 32 =============================== ID : KERNEL (0x4) ATTR : RO SLC PREWRITING (0x9002) FIRST_UNIT : 40 NO_UNITS : 30 =============================== ID : FACTORYFS (0x15) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 70 NO_UNITS : 880 =============================== ID : DATAFS (0x16) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 950 NO_UNITS : 810 =============================== ID : CACHE (0x17) ATTR : RW STL SLC (0x1101) FIRST_UNIT : 1760 NO_UNITS : 152 (*mismatch* 152 should be 150) =============================== ID : TEMP (0x3) ATTR : RW SLC (0x1001) FIRST_UNIT : 1912 NO_UNITS : 28 (*mismatch* 28 should be 30) =============================== ID : MODEM (0x5) ATTR : RO SLC PREWRITING (0x9002) FIRST_UNIT : 1940 NO_UNITS : 64 =============================== Read image(PARAM) from flash ....... ..Done read 2 units. Normal Case : MAIN(O) & BACKUP(O) main: Debug Level Low RST_STAT = 0x00000004 WAKEUP_STAT = 0x00000000 s5p_fb_info_init start s5p_fb_info_init end s5p_fimd_info_init start s5p_fimd_info_init end LoadPNG: width:240, height:400, bpp:32, color_type:6, channels:4, rowbytes:960 lcd_gpio_init start lcd_gpio_init end lcd_backlight_ctrl start lcd type: 1 ldi mtpdata: 52 9 11 lcd type is smd set brightness:0x43 lcd_backlight_ctrl end SBL:Phone Boot Mode=0 AST_POWERON usb_download_mode:0 Autoboot (0 seconds) in progress, press any key to stop FOTA Check Bit Read BML page=1e4ff, NumPgs=1 FOTA Check Bit (0x0) Load Partion idx = (4) ..............................done Kernel read success from kernel partition setKernelParam: setting param.serialnr=3930c0cf08x 0x159100ec setKernelParam: setting param.board_rev=0x2 setKernelParam: setting param.cmdline=console=ttySAC1,115200 loglevel=4 version=Sbl(1.0.0) 2010-10-27 17:10:33 Starting kernel at 0x22000000...
moikop said: Awesome. I think ttySAC1 is defined as s3c2410_serial1 in the kernel. And maybe you'll have to change SWITCH_SEL from the sbl console (from 65 to 6543). I still don't understand why all I get this � weird character :/ Vcc connected to 3.3v, 150k ohm (though tried with 619k too) resistor and baud rate 115200 8N1, right? Click to expand... Click to collapse Maybe something wrong with your level converter? Also, if I decoded color codes of resistors correctly, I have 522k ohms connected between GND and ID pins (two 1M connected in parallel and additional 22k after them). Edit: Would make sense, as according to http://forum.xda-developers.com/showthread.php?t=820275 it would be Code: RID_FM_BOOT_OFF_UART, /* 1 1 1 0 0 523K Factory Mode Boot OFF-UART */
tom3q said: Maybe something wrong with your level converter? Also, if I decoded color codes of resistors correctly, I have 522k ohms connected between GND and ID pins (two 1M connected in parallel and additional 22k after them). Edit: Would make sense, as according to http://forum.xda-developers.com/showthread.php?t=820275 it would be Code: RID_FM_BOOT_OFF_UART, /* 1 1 1 0 0 523K Factory Mode Boot OFF-UART */ Click to expand... Click to collapse Tried with both, 522k & 523k (just in case) and still the same.. So it's gotta be my level converter... that's weird :S
moikop said: Tried with both, 522k & 523k (just in case) and still the same.. So it's gotta be my level converter... that's weird :S Click to expand... Click to collapse Just for reference, my level converter: http://translate.google.com/transla...unikacja-przez-usb---modul-em212.html&act=url EDIT: Maybe we should create new topic for discussion on such things?
tom3q said: Just for reference, my level converter: http://translate.google.com/transla...unikacja-przez-usb---modul-em212.html&act=url EDIT: Maybe we should create new topic for discussion on such things? Click to expand... Click to collapse You're right. So here it is. I don't see why my level converter wouldn't work, since it supports the right voltage, baud rate, etc. mmm, some weird idea: what's you're bootloader version? (I mean from which release). I'm thinking maybe the bootloader version is my problem? (since I have Samsungs latest installed)
moikop said: You're right. So here it is. I don't see why my level converter wouldn't work, since it supports the right voltage, baud rate, etc. mmm, some weird idea: what's you're bootloader version? (I mean from which release). I'm thinking maybe the bootloader version is my problem? (since I have Samsungs latest installed) Click to expand... Click to collapse I don't know the exact version as it was already on the phone as I got it. The only thing saying a bit about the version is its output: Code: Built for apollo rev02 by root on Oct 27 2010 17:10:33 Have you tried different baud rates? Common ones other than 115200 are 9600 and 38400. Also this thread would become a bit more informative if all the posts on this topic would get moved here from OpenFIMG thread. EDIT: Also make sure that ground signal is properly connected, otherwise the converter might not recognize voltage levels correctly. What's exactly your connection layout? I have only 4 lines wired to the microUSB connector, RX, TX, GND and ID with VCC left unconnected.
tom3q said: I don't know the exact version as it was already on the phone as I got it. The only thing saying a bit about the version is its output: Code: Built for apollo rev02 by root on Oct 27 2010 17:10:33 Click to expand... Click to collapse mmm.. I have JPU, so my bootloader is at least from 2011.. tom3q said: Have you tried different baud rates? Common ones other than 115200 are 9600 and 38400. Click to expand... Click to collapse Tried with those 3. With 9600 and 38400 I don't get anything, when with 115200 I get the "?" character. tom3q said: Also this thread would become a bit more informative if all the posts on this topic would get moved here from OpenFIMG thread. Click to expand... Click to collapse I'll contact a mod and see what can be done. tom3q said: EDIT: Also make sure that ground signal is properly connected, otherwise the converter might not recognize voltage levels correctly. What's exactly your connection layout? I have only 4 lines wired to the microUSB connector, RX, TX, GND and ID with VCC left unconnected. Click to expand... Click to collapse Double checked my GND connection and is ok. My layout is the following: VCC -> 3.3v Tx & Rx with their corresponding pins. ID connected to GND with 523k ohm in between and GND connected to GND.
Could you try without VCC connected? I really don't think that Samsung would disable bootloader console used in service centers for phone diagnostics...
tom3q said: Could you try without VCC connected? Click to expand... Click to collapse Exact same result. With GND disconected also same result. If Tx is disconnected there's no output (obviously). So a badly soldered/connected Pin2 can be discarded. Checked Rx too, So a badly soldered/connected Pin3 can be discarded as well.. tom3q said: I really don't think that Samsung would disable bootloader console used in service centers for phone diagnostics... Click to expand... Click to collapse You must be right.. Edit: I changed pin2 & pin3 (now Pin2 is to Rx and Pin3 to Tx). Also connected GND (but left vcc disconnected as you) and got it working Thanks for the help!
moikop said: Edit: I changed pin2 & pin3 (now Pin2 is to Rx and Pin3 to Tx). Also connected GND (but left vcc disconnected as you) and got it working Thanks for the help! Click to expand... Click to collapse So what good is this that you are doing? Benefits etc. And are we meant to be doing something similar to make phone work better? Sent from the Persian Sphinx's private Galaxy
PersianSphinx said: So what good is this that you are doing? Benefits etc. And are we meant to be doing something similar to make phone work better? Sent from the Persian Sphinx's private Galaxy Click to expand... Click to collapse With this, we can get into the SBL console, get information about kernel panics (not yet) and this will help us debug kernel ports, drivers ports, etc. And no. This would be useless for a normal user. Unless that (s)he wants to make a Download JIG (to get into download mode without having to use the three-button combo). In that case, a different resistor value (301k) is needed (and no level converter, of cource )
@PersianSphinx This wud resurrect a hard bricked phone...this JTAG thing Sent from my GT-I9100 using Tapatalk
Orr.Penn.18 said: @PersianSphinx This wud resurrect a hard bricked phone...this JTAG thing Sent from my GT-I9100 using Tapatalk Click to expand... Click to collapse This is not JTAG.
moikop said: Edit: I changed pin2 & pin3 (now Pin2 is to Rx and Pin3 to Tx). Also connected GND (but left vcc disconnected as you) and got it working Thanks for the help! Click to expand... Click to collapse This is common fault people are doing - phone Rxd must be connected to converter Txd and vice versa.
Kernel output: To get kernel output, all you need to do is: Code: setenv SWITCH_SEL 6543 And then boot normally from SBL. To make this setting permanent: Code: setenv SWITCH_SEL 6543 saveenv Result: Code: SBL> boot setKernelParam: setting param.serialnr=3830f5ff08x 0xd44100ec setKernelParam: setting param.board_rev=0x2 setKernelParam: setting param.cmdline=console=ttySAC1,115200 version=Sbl(1.0.0)2 Starting kernel at 0x22000000... Uncompressing Linux............................................................. <6>Initializing cgroup subsys cpu <5>Linux version 2.6.32.9 ([email protected]) (gcc version 4.5.2 (Sourcery G++ Lite2 CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv6TEJ), cr=00c5387f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: GT-I5800 Memory policy: ECC disabled, Data cache writeback <7>On node 0 totalpages: 65536 <7>free_area_init_node: node 0, pgdat c0aa7640, node_mem_map c0c3e000 <7> Normal zone: 512 pages used for memmap <7> Normal zone: 0 pages reserved <7> Normal zone: 65024 pages, LIFO batch:15 <7>On node 1 totalpages: 0 <7>free_area_init_node: node 1, pgdat c0aa7cf8, node_mem_map c0e47800 <4> Normal zone: 1 pages exceeds realsize 0 <7>On node 2 totalpages: 0 <7>free_area_init_node: node 2, pgdat c0aa83b0, node_mem_map c0e4f880 <4> Normal zone: 1 pages exceeds realsize 0 <7>On node 3 totalpages: 0 <7>free_area_init_node: node 3, pgdat c0aa8a68, node_mem_map c0e57900 <4> Normal zone: 1 pages exceeds realsize 0 CPU S5P6442 (id 0xababab00) <7>s5p6442_init_clocks: initialising clocks <6>S3C24XX Clocks, (c) 2004 Simtec Electronics <7>s5p6442_setup_clocks: registering clocks <6>mout_apll: source is fout_apll (1), rate is 667000000 <6>mout_epll: source is fout_epll (1), rate is 48000000 <6>mout_mpll: source is mpll (1), rate is 166000000 <6>mout_d0: source is mout_mpll (0), rate is 166000000 <6>mout_d1: source is mout_mpll (0), rate is 166000000 <6>mout_d0sync: source is mout_d0 (0), rate is 166000000 <6>mout_d1sync: source is mout_d1 (0), rate is 166000000 <6>mmc_bus: source is mout_mpll (6), rate is 83000000 <6>mmc_bus: source is mout_mpll (6), rate is 83000000 <6>mmc_bus: source is mout_mpll (6), rate is 83000000 <6>sclk_uart: source is mout_mpll (6), rate is 166000000 <6>sclk_uart: source is mout_mpll (6), rate is 166000000 <6>sclk_uart: source is mout_mpll (6), rate is 83000000 <6>spi-bus: source is mout_epll (7), rate is 48000000 <6>sclk_lcd: source is mout_mpll (6), rate is 166000000 <6>sclk_cam0: source is mout_mpll (6), rate is 166000000 <6>sclk_cam1: source is mout_mpll (6), rate is 166000000 <6>lclk_fimc: source is mout_mpll (6), rate is 166000000 <6>lclk_fimc: source is mout_mpll (6), rate is 166000000 <6>lclk_fimc: source is mout_mpll (6), rate is 166000000 <6>clk_g2d: source is mout_mpll (1), rate is 166000000 <6>i2sclk: source is i2smain_clk (0), rate is 48000000 <6>audss_hclk: source is i2smain_clk (0), rate is 48000000 <6>i2smain_clk: source is fout_epll (1), rate is 48000000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 <5>Kernel command line: console=ttySAC1,115200 version=Sbl(1.0.0) 2011-05-27 142 <6>PID hash table entries: 1024 (order: 0, 4096 bytes) <6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) <6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) <6>Memory: 256MB = 256MB total <5>Memory: 247040KB available (7488K code, 1639K data, 2972K init, 0K highmem) <6>SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=4 <6>NR_IRQS:287 <7>s5p64xx_init_irq: initialising interrupts <6>VIC @f4000000: id 0x00041192, vendor 0x41 <6>VIC @f4010000: id 0x00041192, vendor 0x41 <6>VIC @f4020000: id 0x00041192, vendor 0x41 <3>vic_pm_register: too few VICs, increase CONFIG_ARM_VIC_NR Console: colour dummy device 80x30 s3c24xx_serial_initconsole s3c24xx_serial_init_ports: initialising ports... s3c24xx_serial_init_port: port=c0ad8a60, platdev=c0aabb10 s3c24xx_serial_init_port: c0ad8a60 (hw 0)... ...
moikop said: To get kernel output, all you need to do is: Code: setenv SWITCH_SEL 6543 And then boot normally from SBL. To make this setting permanent: Code: setenv SWITCH_SEL 6543 saveenv Result: Code: SBL> boot setKernelParam: setting param.serialnr=3830f5ff08x 0xd44100ec setKernelParam: setting param.board_rev=0x2 setKernelParam: setting param.cmdline=console=ttySAC1,115200 version=Sbl(1.0.0)2 Starting kernel at 0x22000000... Uncompressing Linux............................................................. <6>Initializing cgroup subsys cpu <5>Linux version 2.6.32.9 ([email protected]) (gcc version 4.5.2 (Sourcery G++ Lite2 CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv6TEJ), cr=00c5387f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: GT-I5800 Memory policy: ECC disabled, Data cache writeback <7>On node 0 totalpages: 65536 <7>free_area_init_node: node 0, pgdat c0aa7640, node_mem_map c0c3e000 <7> Normal zone: 512 pages used for memmap <7> Normal zone: 0 pages reserved <7> Normal zone: 65024 pages, LIFO batch:15 <7>On node 1 totalpages: 0 <7>free_area_init_node: node 1, pgdat c0aa7cf8, node_mem_map c0e47800 <4> Normal zone: 1 pages exceeds realsize 0 <7>On node 2 totalpages: 0 <7>free_area_init_node: node 2, pgdat c0aa83b0, node_mem_map c0e4f880 <4> Normal zone: 1 pages exceeds realsize 0 <7>On node 3 totalpages: 0 <7>free_area_init_node: node 3, pgdat c0aa8a68, node_mem_map c0e57900 <4> Normal zone: 1 pages exceeds realsize 0 CPU S5P6442 (id 0xababab00) <7>s5p6442_init_clocks: initialising clocks <6>S3C24XX Clocks, (c) 2004 Simtec Electronics <7>s5p6442_setup_clocks: registering clocks <6>mout_apll: source is fout_apll (1), rate is 667000000 <6>mout_epll: source is fout_epll (1), rate is 48000000 <6>mout_mpll: source is mpll (1), rate is 166000000 <6>mout_d0: source is mout_mpll (0), rate is 166000000 <6>mout_d1: source is mout_mpll (0), rate is 166000000 <6>mout_d0sync: source is mout_d0 (0), rate is 166000000 <6>mout_d1sync: source is mout_d1 (0), rate is 166000000 <6>mmc_bus: source is mout_mpll (6), rate is 83000000 <6>mmc_bus: source is mout_mpll (6), rate is 83000000 <6>mmc_bus: source is mout_mpll (6), rate is 83000000 <6>sclk_uart: source is mout_mpll (6), rate is 166000000 <6>sclk_uart: source is mout_mpll (6), rate is 166000000 <6>sclk_uart: source is mout_mpll (6), rate is 83000000 <6>spi-bus: source is mout_epll (7), rate is 48000000 <6>sclk_lcd: source is mout_mpll (6), rate is 166000000 <6>sclk_cam0: source is mout_mpll (6), rate is 166000000 <6>sclk_cam1: source is mout_mpll (6), rate is 166000000 <6>lclk_fimc: source is mout_mpll (6), rate is 166000000 <6>lclk_fimc: source is mout_mpll (6), rate is 166000000 <6>lclk_fimc: source is mout_mpll (6), rate is 166000000 <6>clk_g2d: source is mout_mpll (1), rate is 166000000 <6>i2sclk: source is i2smain_clk (0), rate is 48000000 <6>audss_hclk: source is i2smain_clk (0), rate is 48000000 <6>i2smain_clk: source is fout_epll (1), rate is 48000000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 <5>Kernel command line: console=ttySAC1,115200 version=Sbl(1.0.0) 2011-05-27 142 <6>PID hash table entries: 1024 (order: 0, 4096 bytes) <6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) <6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) <6>Memory: 256MB = 256MB total <5>Memory: 247040KB available (7488K code, 1639K data, 2972K init, 0K highmem) <6>SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=4 <6>NR_IRQS:287 <7>s5p64xx_init_irq: initialising interrupts <6>VIC @f4000000: id 0x00041192, vendor 0x41 <6>VIC @f4010000: id 0x00041192, vendor 0x41 <6>VIC @f4020000: id 0x00041192, vendor 0x41 <3>vic_pm_register: too few VICs, increase CONFIG_ARM_VIC_NR Console: colour dummy device 80x30 s3c24xx_serial_initconsole s3c24xx_serial_init_ports: initialising ports... s3c24xx_serial_init_port: port=c0ad8a60, platdev=c0aabb10 s3c24xx_serial_init_port: c0ad8a60 (hw 0)... ... Click to expand... Click to collapse Yep, on Spica setenv SWITCH_SEL 3 is enough. According to SBL sources, bit 0 selects USB switch mode and bit 1 selects UART swtich mode.
Orr.Penn.18 said: @PersianSphinx This wud resurrect a hard bricked phone...this JTAG thing Sent from my GT-I9100 using Tapatalk Click to expand... Click to collapse this is not jtag.... this is UART...this gives us info on what went wrong when the phone dosnt boot up properly when devs are testing new things.
I just received my level converter and it's working fine, I can get SBL logs. But how to access the SBL prompt ? I tried with some key combinaison but nothing work :/
somthing intresting help unbrick
[PWRAP] pwrap_init_preloader [PWRAP] pwrap_init [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=0 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=1 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=2 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=3 rdata=5AA5 [PMIC_WRAP]wrap_init pass,the return value=0. pl pmic init start pl pmic efuse start pl pmic efuse BUCK trim [0x1C8]=0xF802 [0x1CA]=0x807F [0x20E]=0xE0 [0x260]=0xF0 [0x286]=0xF0 pl pmic efuse end pl pmic en rst [0x126]=0x13 [0xE]=0x1 [0x540]=0xA0 Battery exist [0xE]=0x1 [0x540]=0xA0 pl vm read [0x290]=0x50 pl vm set [0x290]=0x52 pl vm check [0x290]=0x52 pl pmic init done [PLFM] Init I2C: OK(0) [PLFM] Init PWRAP: OK(0) [PLFM] Init PMIC: OK(0) [PLFM] chip[CA00] [I2C][PL] [i2c0 write] i2c transaction complate [BLDR] Build Time: 20140218-141828 ==== Dump RGU Reg ======== RGU MODE: 75 RGU LENGTH: FFE0 RGU STA: 40000000 RGU INTERVAL: FFF RGU SWSYSRST: 0 ==== Dump RGU Reg End ==== RGU: g_rgu_satus:2 mtk_wdt_mode_config mode value=35, tmp:22000030 PL RGU RST: ?? SW reset with bypass power key flag Find bypass powerkey flag mtk_wdt_mode_config mode value=70, tmp:22000071 kpd register for pmic set! mt_usb_calibraion: input_reg = 0x0 mt_usb_calibraion: term_vref = 0x0, clkref = 0x0, vrt_vref = 0x0, [RTC] bbpu = 0x5, con = 0x426 [RTC] irqsta = 0x0, pdn1 = 0x0, pdn2 = 0x201, spar0 = 0x40, spar1 = 0x800 [RTC] new_spare0 = 0x0, new_spare1 = 0x1, new_spare2 = 0x1, new_spare3 = 0x1 [RTC] bbpu = 0x5, con = 0x424 SW reset with bypass power key flag SW reset with bypass power key flag [PLFM] WDT reboot bypass power key! p1 pmic read INT_RSV(bit7)[0x138][0x80] [RTC] rtc_bbpu_power_on done [SD0] Bus Width: 1 [SD0] SET_CLK(260kHz): SCLK(259kHz) MODE(0) DDR(0) DIV(193) DS(0) RS(0) [SD0] Switch to High-Speed mode! [SD0] SET_CLK(260kHz): SCLK(259kHz) MODE(2) DDR(1) DIV(96) DS(0) RS(0) [SD0] Bus Width: 8 [SD0] Size: 3696 MB, Max.Speed: 52000 kHz, blklen(512), nblks(7569408), ro(0) [SD0] Initialized [SD0] SET_CLK(52000kHz): SCLK(50000kHz) MODE(2) DDR(1) DIV(0) DS(0) RS(0) msdc_ett_offline_to_pl: size<2> m_id<0x90> msdc <0> <HYNIX > <H4G1d> msdc <1> <xxxxxx> <H4G1d> msdc failed to find *******EMMC_INFO******* eMMC partition size(1 block = 512Bytes): BOOT1:<4096> blocks BOOT2:<4096> blocks RPMB :<4096> blocks GP1 :<0> blocks GP2 :<0> blocks GP3 :<0> blocks GP4 :<0> blocks USER :<7569408> blocks *******EMMC_INFO******* fw id len:1 found:1,i:1 [EMI] DDR2 [EMI] eMMC/NAND ID = 90,1,4A,48,34,47,31,64,4 [EMI] MDL number = 1 [MEM] 1066 MHZ rank 0 coarse = 15 rank 0 fine = 48 10:| 0 0 1 1 1 0 opt_dle value:8 rank 1 coarse = 15 rank 1 fine = 48 10:| 0 0 1 1 1 0 opt_dle value:8 byte:0, (DQS,DQ)=(8,8) byte:1, (DQS,DQ)=(8,A) byte:2, (DQS,DQ)=(8,8) byte:3, (DQS,DQ)=(8,A) [EMI] DRAMC calibration passed [EMI] DQSINCTL:50000 [MEM] complex R/W mem test pass [PLFM] Init Boot Device: OK(0) [ROM_INFO] 'v2','0x2700000','0x20000','0x46C0000','0x2C00' [SEC_K] SML KEY AC = 0 [SEC_K] SBC_PUBK Found [SEC] AES Legacy : 0 [SEC] SECCFG AC : 1 [SEC] read '0x2700000' 0x41,0x4E,0x44,0x5F,0x53,0x45,0x43,0x43, [LIB] SecLib.a '20121226-155014' [LIB] CFG read size '0x4000' '0x1860' [LIB] Name = SOMC [LIB] Config = 0x11, 0x11 0x31,0x41,0x35,0x35 0x6F679858 [LIB] HW DEC 0x49494949 [LIB] SEC CFG 'v3' exists [LIB] Status = 0x43434343 [LIB] ty = 0 , ld = 0 [PART] Image with part header [PART] name : LK [PART] addr : FFFFFFFFh [PART] size : 316772 [PART] magic: 58881688h [PART] load "UBOOT" from 0x0000000003960200 (dev) to 0x81E00000 (mem) [SUCCESS] [PART] load speed: 9374KB/s, 316772 bytes, 33ms [LIB] HW DEC [SECRO] secroimg '0x41414141' [SECRO] secroimg '0x35353535' [SECRO] factory mode enabled [AUTHEN] rsa.N length = 1024 bytes [AUTHEN] rsa.E length = 20 bytes [LIB] Verify 'UBOOT' 0x43434343 [LIB] part load '0x3960000' [AUTHEN] 0x53,0x53,0x53,0x53 [AUTHEN] verify signature ... pass [LIB] Verify 'LOGO' 0x43434343 [LIB] part load '0x4D40000' [AUTHEN] 0x53,0x53,0x53,0x53 [AUTHEN] verify signature ... failed, error is 7 [SECLIB_IMG_VERIFY] Signature Fail. [LIB] Fail (0x0) <ASSERT> sec_boot.c:line 181 0 [PLFM] preloader fatal error... [PLFM] emergency download mode(timeout: 30s). mtk_arch_reset at pre-loader! this is console with serial interface i will post picture with pin layaut
how to unbrick?
botioni said: [PWRAP] pwrap_init_preloader [PWRAP] pwrap_init [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=0 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=1 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=2 rdata=5AA5 [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=3 rdata=5AA5 [PMIC_WRAP]wrap_init pass,the return value=0. pl pmic init start pl pmic efuse start pl pmic efuse BUCK trim [0x1C8]=0xF802 [0x1CA]=0x807F [0x20E]=0xE0 [0x260]=0xF0 [0x286]=0xF0 pl pmic efuse end pl pmic en rst [0x126]=0x13 [0xE]=0x1 [0x540]=0xA0 Battery exist [0xE]=0x1 [0x540]=0xA0 pl vm read [0x290]=0x50 pl vm set [0x290]=0x52 pl vm check [0x290]=0x52 pl pmic init done [PLFM] Init I2C: OK(0) [PLFM] Init PWRAP: OK(0) [PLFM] Init PMIC: OK(0) [PLFM] chip[CA00] [I2C][PL] [i2c0 write] i2c transaction complate [BLDR] Build Time: 20140218-141828 ==== Dump RGU Reg ======== RGU MODE: 75 RGU LENGTH: FFE0 RGU STA: 40000000 RGU INTERVAL: FFF RGU SWSYSRST: 0 ==== Dump RGU Reg End ==== RGU: g_rgu_satus:2 mtk_wdt_mode_config mode value=35, tmp:22000030 PL RGU RST: ?? SW reset with bypass power key flag Find bypass powerkey flag mtk_wdt_mode_config mode value=70, tmp:22000071 kpd register for pmic set! mt_usb_calibraion: input_reg = 0x0 mt_usb_calibraion: term_vref = 0x0, clkref = 0x0, vrt_vref = 0x0, [RTC] bbpu = 0x5, con = 0x426 [RTC] irqsta = 0x0, pdn1 = 0x0, pdn2 = 0x201, spar0 = 0x40, spar1 = 0x800 [RTC] new_spare0 = 0x0, new_spare1 = 0x1, new_spare2 = 0x1, new_spare3 = 0x1 [RTC] bbpu = 0x5, con = 0x424 SW reset with bypass power key flag SW reset with bypass power key flag [PLFM] WDT reboot bypass power key! p1 pmic read INT_RSV(bit7)[0x138][0x80] [RTC] rtc_bbpu_power_on done [SD0] Bus Width: 1 [SD0] SET_CLK(260kHz): SCLK(259kHz) MODE(0) DDR(0) DIV(193) DS(0) RS(0) [SD0] Switch to High-Speed mode! [SD0] SET_CLK(260kHz): SCLK(259kHz) MODE(2) DDR(1) DIV(96) DS(0) RS(0) [SD0] Bus Width: 8 [SD0] Size: 3696 MB, Max.Speed: 52000 kHz, blklen(512), nblks(7569408), ro(0) [SD0] Initialized [SD0] SET_CLK(52000kHz): SCLK(50000kHz) MODE(2) DDR(1) DIV(0) DS(0) RS(0) msdc_ett_offline_to_pl: size<2> m_id<0x90> msdc <0> <HYNIX > <H4G1d> msdc <1> <xxxxxx> <H4G1d> msdc failed to find *******EMMC_INFO******* eMMC partition size(1 block = 512Bytes): BOOT1:<4096> blocks BOOT2:<4096> blocks RPMB :<4096> blocks GP1 :<0> blocks GP2 :<0> blocks GP3 :<0> blocks GP4 :<0> blocks USER :<7569408> blocks *******EMMC_INFO******* fw id len:1 found:1,i:1 [EMI] DDR2 [EMI] eMMC/NAND ID = 90,1,4A,48,34,47,31,64,4 [EMI] MDL number = 1 [MEM] 1066 MHZ rank 0 coarse = 15 rank 0 fine = 48 10:| 0 0 1 1 1 0 opt_dle value:8 rank 1 coarse = 15 rank 1 fine = 48 10:| 0 0 1 1 1 0 opt_dle value:8 byte:0, (DQS,DQ)=(8,8) byte:1, (DQS,DQ)=(8,A) byte:2, (DQS,DQ)=(8,8) byte:3, (DQS,DQ)=(8,A) [EMI] DRAMC calibration passed [EMI] DQSINCTL:50000 [MEM] complex R/W mem test pass [PLFM] Init Boot Device: OK(0) [ROM_INFO] 'v2','0x2700000','0x20000','0x46C0000','0x2C00' [SEC_K] SML KEY AC = 0 [SEC_K] SBC_PUBK Found [SEC] AES Legacy : 0 [SEC] SECCFG AC : 1 [SEC] read '0x2700000' 0x41,0x4E,0x44,0x5F,0x53,0x45,0x43,0x43, [LIB] SecLib.a '20121226-155014' [LIB] CFG read size '0x4000' '0x1860' [LIB] Name = SOMC [LIB] Config = 0x11, 0x11 0x31,0x41,0x35,0x35 0x6F679858 [LIB] HW DEC 0x49494949 [LIB] SEC CFG 'v3' exists [LIB] Status = 0x43434343 [LIB] ty = 0 , ld = 0 [PART] Image with part header [PART] name : LK [PART] addr : FFFFFFFFh [PART] size : 316772 [PART] magic: 58881688h [PART] load "UBOOT" from 0x0000000003960200 (dev) to 0x81E00000 (mem) [SUCCESS] [PART] load speed: 9374KB/s, 316772 bytes, 33ms [LIB] HW DEC [SECRO] secroimg '0x41414141' [SECRO] secroimg '0x35353535' [SECRO] factory mode enabled [AUTHEN] rsa.N length = 1024 bytes [AUTHEN] rsa.E length = 20 bytes [LIB] Verify 'UBOOT' 0x43434343 [LIB] part load '0x3960000' [AUTHEN] 0x53,0x53,0x53,0x53 [AUTHEN] verify signature ... pass [LIB] Verify 'LOGO' 0x43434343 [LIB] part load '0x4D40000' [AUTHEN] 0x53,0x53,0x53,0x53 [AUTHEN] verify signature ... failed, error is 7 [SECLIB_IMG_VERIFY] Signature Fail. [LIB] Fail (0x0) <ASSERT> sec_boot.c:line 181 0 [PLFM] preloader fatal error... [PLFM] emergency download mode(timeout: 30s). mtk_arch_reset at pre-loader! this is console with serial interface i will post picture with pin layaut Click to expand... Click to collapse how did you check this out?
theonecallednick said: how did you check this out? Click to expand... Click to collapse I found uart pin on mainboard for debuging . with serial usb cable pl2303
This is the red light only and unknown hardware found (the unknown hardware is in fact mtk usb vcom driver buth sony version ) if you try sp flash tool for mtk then it comunicates with de phone buth it needs some authentication file.
Help.. I am also having same problem..I falshed wrong rom.. It just shows red led and does not detects by PC... Were you able to solve the problem..if yes..please help..
botioni said: [PWRAP] pwrap_init_preloader [PWRAP] pwrap_init [PWRAP] _pwrap_init_sidly [Read Test] pass,SIDLY=0 rdata=5AA5 ......................... this is console with serial interface i will post picture with pin layaut Click to expand... Click to collapse Samuel Wankhede said: I am also having same problem..I falshed wrong rom.. It just shows red led and does not detects by PC... Were you able to solve the problem..if yes..please help.. Click to expand... Click to collapse Try the guide given in thread linked below http://forum.xda-developers.com/showpost.php?p=57614511&postcount=13
Please share uart pinout Baudrate should be 115200?? Thanks
uart please share the uart pinout , thanks
[Resolved] Building LIneage OS error : IOError: [Errno 28] No space left on device. Help!
Hi XDA community! I have been trying to build Lineage OS for Redmi NOTE 3 PRO and almost everything in the building its ok. However, when the building get 100% and it's trying to generate the image I received this error "IOError: [Errno 28] No space left on device". OS: Arch Linux 64 bits List of commands: export JAVA_HOME=/usr/lib/jvm/java-x-openjdk virtualenv2 venv source venv/bin/activate (This is to avoid Python problms) repo init -u https://github.com/LineageOS/android.git -b cm-14.1 repo sync source build/envsetup.sh breakfast kenzo export USE_CCACHE=1 export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G" (This is to avoid Jack memory problems) prebuilts/misc/linux-x86/ccache/ccache -M 125G croot brunch kenzo Build log: [ 99% 2054/2062] build /home/mrencrypt...t/target/product/kenzo/obj/NOTICE.html Combining NOTICE files into HTML Combining NOTICE files into text [ 99% 2058/2062] Target system fs imag...G/systemimage_intermediates/system.img BuildImage: in_dir = /home/mrencrypted/LineageOS/out/target/product/kenzo/system, out_file = /home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/systemimage_intermediates/system.img fs type is not ext4 Running: mkuserimg.sh -s /home/mrencrypted/LineageOS/out/target/product/kenzo/system /home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 2684354560 -D /home/mrencrypted/LineageOS/out/target/product/kenzo/system -L system /home/mrencrypted/LineageOS/out/target/product/kenzo/root/file_contexts.bin make_ext4fs -s -T -1 -S /home/mrencrypted/LineageOS/out/target/product/kenzo/root/file_contexts.bin -L system -l 2684354560 -a system /home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/systemimage_intermediates/system.img /home/mrencrypted/LineageOS/out/target/product/kenzo/system /home/mrencrypted/LineageOS/out/target/product/kenzo/system Creating filesystem with parameters: Size: 2684354560 Block size: 4096 Blocks per group: 32768 Inodes per group: 8192 Inode size: 256 Journal blocks: 10240 Label: system Blocks: 655360 Block groups: 20 Reserved block group size: 159 Created filesystem with 3283/163840 inodes and 304476/655360 blocks Running ['mkuserimg.sh', '-s', '/home/mrencrypted/LineageOS/out/target/product/kenzo/system', '/home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/systemimage_intermediates/system.img', 'ext4', 'system', '2684354560', '-D', '/home/mrencrypted/LineageOS/out/target/product/kenzo/system', '-L', 'system', '/home/mrencrypted/LineageOS/out/target/product/kenzo/root/file_contexts.bin'] command, exit code = 0 [ 99% 2059/2062] Install system fs ima...OS/out/target/product/kenzo/system.img /home/mrencrypted/LineageOS/out/target/product/kenzo/system.img+/home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=2740531200 blocksize=135168 total=1209454035 reserve=27709440 [ 99% 2060/2062] Package target files:...eage_kenzo-target_files-4e567fe648.zip using prebuilt recovery.img from BOOTABLE_IMAGES... using prebuilt boot.img from BOOTABLE_IMAGES... putting script in bin/install-recovery.sh running: unzip -o -q /home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/target_files_intermediates/lineage_kenzo-target_files-4e567fe648.zip -d /tmp/targetfiles-TPGd6X ++++ boot ++++ using prebuilt boot.img from BOOTABLE_IMAGES... ++++ recovery ++++ using prebuilt recovery.img from BOOTABLE_IMAGES... ++++ system ++++ creating system.img... BuildImage: in_dir = /tmp/targetfiles-TPGd6X/system, out_file = /tmp/system-8A9YBm.img fs type is not ext4 Running: mkuserimg.sh -s /tmp/targetfiles-TPGd6X/system /tmp/system-8A9YBm.img ext4 system 2684354560 -T 1230789600 -C /tmp/targetfiles-TPGd6X/META/filesystem_config.txt -B /tmp/system-blocklist-pJZNp2.map -L system /tmp/targetfiles-TPGd6X/META/file_contexts.bin make_ext4fs -s -T 1230789600 -S /tmp/targetfiles-TPGd6X/META/file_contexts.bin -C /tmp/targetfiles-TPGd6X/META/filesystem_config.txt -B /tmp/system-blocklist-pJZNp2.map -L system -l 2684354560 -a system /tmp/system-8A9YBm.img /tmp/targetfiles-TPGd6X/system loaded 3275 fs_config entries Creating filesystem with parameters: Size: 2684354560 Block size: 4096 Blocks per group: 32768 Inodes per group: 8192 Inode size: 256 Journal blocks: 10240 Label: system Blocks: 655360 Block groups: 20 Reserved block group size: 159 Created filesystem with 3285/163840 inodes and 304857/655360 blocks Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-TPGd6X/system', '/tmp/system-8A9YBm.img', 'ext4', 'system', '2684354560', '-T', '1230789600', '-C', '/tmp/targetfiles-TPGd6X/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-pJZNp2.map', '-L', 'system', '/tmp/targetfiles-TPGd6X/META/file_contexts.bin'] command, exit code = 0 ++++ userdata ++++ creating userdata.img... BuildImage: in_dir = /tmp/tmpatwxzG/data, out_file = /tmp/tmpZ0y9R0 fs type is not ext4 Running: mkf2fsuserimg.sh /tmp/tmpZ0y9R0 26838785024 in mkf2fsuserimg.sh PATH=/home/mrencrypted/LineageOS/out/host/linux-x86/bin:/home/mrencrypted/LineageOS/out/host/linux-x86/bin/:/usr/lib/jvm/java-8-openjdk-amd64/bin:/home/mrencrypted/LineageOS/out/host/linux-x86/bin:/home/mrencrypted/LineageOS/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/home/mrencrypted/LineageOS/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/mrencrypted/LineageOS/development/scripts:/home/mrencrypted/LineageOS/prebuilts/devtools/tools:/home/mrencrypted/LineageOS/external/selinux/prebuilts/bin:/home/mrencrypted/LineageOS/prebuilts/android-emulator/linux-x86_64:/home/mrencrypted/LineageOS/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl make_f2fs -l 26838785024 /tmp/tmpZ0y9R0 Info: zone aligned segment0 blkaddr: 512 Info: Overprovision ratio = 1.250% Info: Overprovision segments = 323 (GC reserved = 167) Running ['mkf2fsuserimg.sh', '/tmp/tmpZ0y9R0', '26838785024'] command, exit code = 0 userdata size (14) is 0.00% of limit (26838785024) ++++ extrauserdata ++++ ++++ cache ++++ creating cache.img... BuildImage: in_dir = /tmp/tmp1Pei6Z/cache, out_file = /tmp/tmpiP27lz fs type is not ext4 Running: mkf2fsuserimg.sh /tmp/tmpiP27lz 268435456 in mkf2fsuserimg.sh PATH=/home/mrencrypted/LineageOS/out/host/linux-x86/bin:/home/mrencrypted/LineageOS/out/host/linux-x86/bin/:/usr/lib/jvm/java-8-openjdk-amd64/bin:/home/mrencrypted/LineageOS/out/host/linux-x86/bin:/home/mrencrypted/LineageOS/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/home/mrencrypted/LineageOS/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/mrencrypted/LineageOS/development/scripts:/home/mrencrypted/LineageOS/prebuilts/devtools/tools:/home/mrencrypted/LineageOS/external/selinux/prebuilts/bin:/home/mrencrypted/LineageOS/prebuilts/android-emulator/linux-x86_64:/home/mrencrypted/LineageOS/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl make_f2fs -l 268435456 /tmp/tmpiP27lz Info: zone aligned segment0 blkaddr: 512 Info: Overprovision ratio = 15.000% Info: Overprovision segments = 35 (GC reserved = 21) Running ['mkf2fsuserimg.sh', '/tmp/tmpiP27lz', '268435456'] command, exit code = 0 cache size (14) is 0.00% of limit (268435456) done. [ 99% 2061/2062] Package OTA: /home/mr...kenzo/lineage_kenzo-ota-4e567fe648.zip FAILED: /bin/bash -c "(echo "./build/tools/releasetools/ota_from_target_files" > /home/mrencrypted/LineageOS/out/target/product/kenzo/ota_script_path ) && (PATH=/home/mrencrypted/LineageOS/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/mrencrypted/LineageOS/out/host/linux-x86/bin/mkbootimg ./build/tools/releasetools/ota_from_target_files -v --block -p /home/mrencrypted/LineageOS/out/host/linux-x86 -k build/target/product/security/testkey --backup=true /home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/target_files_intermediates/lineage_kenzo-target_files-4e567fe648.zip /home/mrencrypted/LineageOS/out/target/product/kenzo/lineage_kenzo-ota-4e567fe648.zip )" unzipping target target-files... running: unzip -o -q /home/mrencrypted/LineageOS/out/target/product/kenzo/obj/PACKAGING/target_files_intermediates/lineage_kenzo-target_files-4e567fe648.zip -d /tmp/targetfiles-6bTfOZ --- target info --- blockimgdiff_versions = (str) 1,2,3,4 blocksize = (int) 131072 boot_size = (int) 67108864 build.prop = (dict) {'persist.audio.dirac.speaker': 'true', 'ro.sys.sdcardfs': 'true', 'persist.audio.fluence.speaker': 'true', 'bluetooth.hfp.client': '1', 'audio.safx.pbe.enabled': 'true', 'dalvik.vm.isa.arm.variant': 'cortex-a53.a57', 'ro.product.cpu.abilist': 'arm64-v8a,armeabi-v7a,armeabi', 'debug.enable.sglscale': '1', 'ro.build.product': 'kenzo', 'ro.build.id': 'NOF27B', 'ro.hwui.gradient_cache_size': '1', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'ro.build.selinux': '1', 'ro.qc.sdk.audio.fluencetype': 'fluence', 'tunnel.audio.encode': 'false', 'ro.frp.pst': '/dev/block/bootdevice/by-name/config', 'af.fast_track_multiplier': '1', 'dalvik.vm.lockprof.threshold': '500', 'ro.build.fingerprint': 'Xiaomi/kenzo/kenzo:6.0.1/MMB29M/6.11.24:user/release-keys', 'ro.product.manufacturer': 'Xiaomi', 'dalvik.vm.isa.arm64.features': 'default', 'audio.offload.pcm.24bit.enable': 'false', 'persist.radio.cs_srv_type': '1', 'ro.hwui.layer_cache_size': '48', 'ro.build.description': 'kenzo-user 6.0.1 MMB29M 6.11.24 release-keys', 'ro.bootimage.build.fingerprint': 'Xiaomi/lineage_kenzo/kenzo:7.1.1/NOF27B/4e567fe648:userdebug/test-keys', 'ro.product.cpu.abi': 'arm64-v8a', 'ro.sys.fw.dex2oat_thread_count': '4', 'ro.product.brand': 'Xiaomi', 'wifi.interface': 'wlan0', 'ro.cm.build.version.plat.sdk': '7', 'ro.product.model': 'Redmi Note 3', 'persist.radio.redir_party_num': '0', 'media.camera.ts.monotonic': '0', 'ro.cmlegal.url': 'https://lineageos.org/legal', 'persist.audio.fluence.voicecall': 'true', 'persist.cne.feature': '1', 'media.msm8956hw': '1', 'audio.offload.multiple.enabled': 'false', 'persist.demo.hdmirotationlock': 'false', 'ro.build.host': 'deadcrackers', 'ro.build.version.security_patch': '2017-03-05', 'telephony.lteOnCdmaDevice': '1', 'media.sf.extractor-plugin': 'libffmpeg_extractor.so', 'ro.product.locale': 'en-US', 'audio.offload.min.duration.secs': '30', 'ro.btconfig.vendor': 'qcom', 'persist.audio.fluence.voicerec': 'true', 'audio.offload.video': 'false', 'dalvik.vm.isa.arm64.variant': 'generic', 'mmp.enable.3g2': 'true', 'persist.radio.NO_STAPA': '1', 'persist.hwc.downscale_threshold': '1.15', 'persist.sys.dalvik.vm.lib.2': 'libart.so', 'persist.loc.nlp_name': 'com.qualcomm.location', 'ro.board.platform': 'msm8952', 'voice.playback.conc.disabled': 'true', 'ro.product.cpu.abilist64': 'arm64-v8a', 'audio.playback.mch.downsample': 'true', 'net.tcp.2g_init_rwnd': '10', 'ro.vendor.extension_library': 'libqti-perfd-client.so', 'persist.radio.multisim.config': 'dsds', 'persist.rild.nitz_long_ons_3': '', 'persist.rild.nitz_long_ons_2': '', 'persist.rild.nitz_long_ons_1': '', 'persist.rild.nitz_long_ons_0': '', 'ro.build.flavor': 'lineage_kenzo-userdebug', 'dalvik.vm.isa.arm.features': 'default', 'audio.deep_buffer.media': 'true', 'rild.libargs': '-d /dev/smd0', 'ro.gps.agps_provider': '1', 'persist.rild.nitz_short_ons_0': '', 'ro.build.version.release': '7.1.1', 'ro.build.version.codename': 'REL', 'DEVICE_PROVISIONED': '1', 'audio.offload.disable': '1', 'net.bt.name': 'Android', 'persist.data.netmgrd.qos.enable': 'true', 'ro.hwui.text_large_cache_width': '2048', 'persist.audio.fluence.audiorec': 'false', 'persist.radio.VT_HYBRID_ENABLE': '1', 'ro.opengles.version': '196609', 'use.voice.path.for.pcm.voip': 'true', 'persist.rild.nitz_plmn': '', 'ro.hwui.text_small_cache_height': '1024', 'ro.build.display.id': 'lineage_kenzo-userdebug 7.1.1 NOF27B 4e567fe648 test-keys', 'audio.offload.pcm.16bit.enable': 'false', 'persist.radio.hw_mbn_update': '0', 'ro.config.ringtone': 'Orion.ogg', 'persist.radio.force_on_dc': 'true', 'persist.gps.qc_nlp_in_use': '1', 'debug.egl.hw': '0', 'ro.storage_manager.enabled': 'true', 'ro.carrier': 'unknown', 'ro.product.board': 'msm8952', 'ro.build.version.preview_sdk': '0', 'ro.com.google.clientidbase': 'android-xiaomi', 'persist.radio.start_ota_daemon': '1', 'ro.cm.build.version.plat.rev': '0', 'persist.timed.enable': 'true', 'ro.build.date': 'Sun Mar 12 11:16:42 CST 2017', 'ro.use_data_netmgrd': 'true', 'persist.radio.sib16_support': '1', 'qcom.bluetooth.soc': 'smd', 'ro.build.date.utc': '1489339002', 'audio.offload.buffer.size.kb': '64', 'keyguard.no_require_sim': 'true', 'ro.qc.sdk.audio.ssr': 'false', 'voice.conc.fallbackpath': 'deep-buffer', 'persist.dpm.feature': '5', 'ro.cm.display.version': '14.1-20170312-UNOFFICIAL-kenzo', 'ro.build.version.all_codenames': 'REL', 'mm.enable.smoothstreaming': 'true', 'ro.btconfig.if': 'smd', 'persist.dbg.vt_avail_ovr': '1', 'dev.pm.dyn_samplingrate': '1', 'ro.build.type': 'userdebug', 'ro.hwui.text_small_cache_width': '1024', 'voice.record.conc.disabled': 'false', 'ro.cm.version': '14.1-20170312-UNOFFICIAL-kenzo', 'persist.radio.sw_mbn_update': '0', 'ro.product.name': 'lineage_kenzo', 'ro.hwui.drop_shadow_cache_size': '6', 'ro.build.version.base_os': '', 'ro.telephony.call_ring.multiple': 'false', 'voice.voip.conc.disabled': 'true', 'persist.data.mode': 'concurrent', 'media.sf.omx-plugin': 'libffmpeg_omx.so', 'ro.expect.recovery_id': '0x55964bed7d97eba9319ef1e465a1a86de830e81d000000000000000000000000', 'ro.telephony.default_network': '22,20', 'ro.wifi.channels': '', 'ro.hwui.r_buffer_cache_size': '8', 'persist.camera.HAL3.enabled': '1', 'ro.modversion': '14.1-20170312-UNOFFICIAL-kenzo', 'ro.build.characteristics': 'default', 'debug.mdpcomp.logs': '0', 'audio.offload.gapless.enabled': 'true', 'ro.build.version.incremental': '4e567fe648', 'ro.config.alarm_alert': 'Hassium.ogg', 'ro.hwui.text_large_cache_height': '1024', 'rild.libpath': '/vendor/lib64/libril-qc-qmi-1.so', 'ro.build.tags': 'test-keys', 'ro.sf.lcd_density': '480', 'ro.build.version.sdk': '25', 'ro.cm.releasetype': 'UNOFFICIAL', 'audio.dolby.ds2.enabled': 'true', 'persist.audio.fluence.spk.mono': 'true', 'ril.subscription.types': 'RUIM', 'persist.dpm.nsrm.bkg.evt': '3955', 'ro.build.user': 'mrencrypted', 'persist.dbg.volte_avail_ovr': '1', 'ro.hwui.path_cache_size': '32', 'ro.product.device': 'kenzo', 'debug.sf.hw': '0', 'persist.rild.nitz_short_ons_1': '', 'persist.rild.nitz_short_ons_2': '', 'persist.rild.nitz_short_ons_3': '', 'persist.radio.rat_on': 'combine', 'ro.btconfig.dev': '/dev/smd3', 'ro.hwui.texture_cache_flushrate': '0.4', 'ro.hwui.texture_cache_size': '72', 'ro.cm.device': 'kenzo', 'audio_hal.period_size': '192', 'ro.btconfig.chip': 'WCN3680', 'ro.telephony.default_cdma_sub': '0', 'persist.radio.apm_sim_not_pwdn': '1', 'persist.hwc.mdpcomp.enable': 'true', 'persist.radio.custom_ecc': '1', 'persist.sys.dun.override': '0', 'ro.config.notification_sound': 'Argon.ogg', 'audio.offload.track.enable': 'false', 'media.aac_51_output_enabled': 'true'} cache_fs_type = (str) ext4 cache_size = (int) 268435456 default_system_dev_certificate = (str) build/target/product/security/testkey device_type = (str) MMC extfs_sparse_flag = (str) -s extra_recovery_keys = (str) vendor/cm/build/target/product/security/lineage fs_type = (str) ext4 fstab = (dict) {'/cache': <common.Partition object at 0x7fd310749690>, '/boot': <common.Partition object at 0x7fd3107492d0>, '/system': <common.Partition object at 0x7fd310749290>, '/dsp': <common.Partition object at 0x7fd3107490d0>, '/frp': <common.Partition object at 0x7fd310749150>, '/persist': <common.Partition object at 0x7fd3107496d0>, '/recovery': <common.Partition object at 0x7fd310749750>, '/firmware': <common.Partition object at 0x7fd310749250>, '/data': <common.Partition object at 0x7fd310749810>, '/misc': <common.Partition object at 0x7fd310749610>} fstab_version = (int) 2 mkbootimg_args = (str) --ramdisk_offset 0x01000000 --tags_offset 0x00000100 mkbootimg_version_args = (str) --os_version 7.1.1 --os_patch_level 2017-03-05 multistage_support = (str) 1 ota_override_device = (str) kenzo ota_override_prop = (str) recovery_api_version = (int) 3 recovery_as_boot = (str) recovery_mount_options = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc recovery_size = (int) 67108864 selinux_fc = (str) /tmp/targetfiles-6bTfOZ/META/file_contexts.bin squashfs_sparse_flag = (str) -s system_size = (int) 2684354560 tool_extensions = (str) device/xiaomi/kenzo/../common update_rename_support = (str) 1 use_set_metadata = (str) 1 userdata_size = (int) 26838785024 unable to load device-specific module; assuming none using prebuilt recovery.img from BOOTABLE_IMAGES... using system.img from target-files Total of 655360 4096-byte output blocks in 6149 input chunks. Finding transfers... Generating digraph... Finding vertex sequence... Reversing backward edges... 0/0 dependencies (0.00%) were violated; 0 source blocks stashed. Improving vertex order... Revising stash size... Total 0 blocks (0 bytes) are packed as new blocks due to insufficient cache size. Reticulating splines... 1205592064 1205592064 (100.00%) new __DATA max stashed blocks: 0 (0 bytes), limit: 214748364 bytes (0.00%) Traceback (most recent call last): File "./build/tools/releasetools/ota_from_target_files", line 2234, in <module> main(sys.argv[1:]) File "./build/tools/releasetools/ota_from_target_files", line 2190, in main WriteFullOTAPackage(input_zip, output_zip) File "./build/tools/releasetools/ota_from_target_files", line 703, in WriteFullOTAPackage system_diff.WriteScript(script, output_zip) File "/home/mrencrypted/LineageOS/build/tools/releasetools/common.py", line 1515, in WriteScript self._WriteUpdate(script, output_zip) File "/home/mrencrypted/LineageOS/build/tools/releasetools/common.py", line 1666, in _WriteUpdate '{}.new.dat'.format(self.partition)) File "/home/mrencrypted/LineageOS/build/tools/releasetools/common.py", line 1167, in ZipWrite zip_file.write(filename, arcname=arcname, compress_type=compress_type) File "/usr/lib64/python2.7/zipfile.py", line 1187, in write self.fp.write(buf) IOError: [Errno 28] No space left on device ninja: build stopped: subcommand failed. make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1 make: Leaving directory '/home/mrencrypted/LineageOS' #### make failed to build some targets (01:14:23 (hh:mm:ss)) #### I don't know why I'm is getting an error about cache or space or even Python (I don't think that is about storage space because I have 1TB only for this) Thanks for any help! PD: I know that copy & paste the build log in this way is kind of annoying, I tried to upload a text file but it didn't work.
---SOLVED--- My /tmp (tmpfs) partition was full and that's why the building was failing. Solution: Increase the size of the partition. sudo mount -o remount,size=15G,noatime /tmp (This will increase your partition size temporarily, but make sure that your root partition has enough free space to that. ) NOTE: I use LVM2
david_pjimenez said: ---SOLVED--- My /tmp (tmpfs) partition was full and that's why the building was failing. Solution: Increase the size of the partition. sudo mount -o remount,size=15G,noatime /tmp (This will increase your partition size temporarily, but make sure that your root partition has enough free space to that. ) NOTE: I use LVM2 Click to expand... Click to collapse Bro after this, still same error.. any idea to fix?
Mi Stick stuck on boot logo (bricked?)
Hello everybody. A couple of years ago I bought a Mi Stick for my mother, to use connected to an old LED tv she had. She used just 3 o 4 times tops with a Netflix account my brother shared with her. The device was practically new. My brother stopped paying Netflix a couple of months ago so she stopped using the device altogether so I disconnected it. But yesterday she told me my brother started paying Netflix again and told me to connect the MiStick to her TV again. Surprisingly, the device is now stuck on the boot logo: { "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" } I'm really angry because the device had very little use and especially because I live in third world ****hole: a new MiStick costs almost 4 times more now. It's not like I have couple of dollars getting dust on a drawer somewhere and I can go buy another one. Anyway, I know it's possible to flash/unbrick a MiBox, I did it some time ago. Anybody knows if it's possible to the same with the Mi Stick??? I googled about it but I didn't find anything. Thank you for your time.
hello, my Mi TV Stick MDZ-24-AA also unfortunately hangs all the time on the logo, checked on various cables and on a decent power supply through the remote control (arrow + OK) does not want to enter the bootloader I have purchased PL2303HX converter According to the instructions from https://forum.xda-developers.com/t/help-pleas...-no-power-led-no-video.4452819/#post-87044521 and partially supported by Ruslan's film With a backup downloaded from https://disk-yandex-ru.translate.goog/d/aL5Xo...en&_x_tr_hl=en&_x_tr_pto=wapp&_x_tr_hist=true Using Putty and ADB I went through the entire installation process Unfortunately, my mi stick still hangs on the logo: / What could be the cause? Is my mi stick still salvageable?
kedzior.kedzior said: I have purchased PL2303HX converter Using Putty and ... I went through the entire installation process Unfortunately, my mi stick still hangs on the logo Click to expand... Click to collapse With the PL2303HX connected to the uart while the device is booting (to a hung state), what is shown in the uart log while the device is trying to boot? Are you able to get a prompt over the uart as shown in the video?
Functioner said: With the PL2303HX connected to the uart while the device is booting (to a hung state), what is shown in the uart log while the device is trying to boot? Are you able to get a prompt over the uart as shown in the video? Click to expand... Click to collapse GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0; TE: 138335 BL2 Built : 10:18:52, Sep 14 2020. gxl g9f162b4-dirty - [email protected] set vcck to 1120 mv set vddee to 1000 mv id=3 DDR4 board CPU clk: 1200MHz DDR scramble enabled DDR4 chl: Rank0+1 @ 1056MHz - FAIL DDR4 chl: Rank0 @ 1056MHz bist_test rank: 0 19 05 2e 28 16 3a 17 02 2d 2b 1d 3a 17 02 2c 2c 1c 3d 18 02 2f 27 16 38 706 - PASS Rank0: 1024MB(auto)-2T-18 AddrBus test pass! eMMC boot @ 0 sw8 s emmc switch 3 ok BL2: rpmb counter: 0x00000020 emmc switch 0 ok Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000, part: 0 aml log : R1024 check pass! New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01700000, size: 0x0000d600, part: 0 aml log : R1024 check pass! Load bl31 from eMMC, src: 0x00020200, des: 0x01700000, size: 0x0002b400, part: 0 aml log : R1024 check pass! Load bl32 from eMMC, src: 0x0004c200, des: 0x01700000, size: 0x0003e200, part: 0 aml log : R1024 check pass! Load bl33 from eMMC, src: 0x0008c200, des: 0x01700000, size: 0x00080e00, part: 0 aml log : R1024 check pass! NOTICE: BL3-1: v1.0(release):129a6bc NOTICE: BL3-1: Built : 17:09:37, Apr 25 2019 [BL31]: GXL CPU setup! NOTICE: BL3-1: GXL secure boot! NOTICE: BL3-1: BL33 decompress pass mpu_config_enable:system pre init ok dmc sec lock [Image: gxl_v1.1.3377-2941e55e3 2020-07-08 17:19:09 [email protected]] OPS=0xb4 21 0d b4 00 6b a3 4a 05 e8 35 9e 81 38 16 4f b7 [0.733983 Inits done] secure task start! high task start! low task start! INFO: BL3-2: ATOS-V2.4-239-g48b8c37d #1 Wed Feb 5 09:34:09 UTC 2020 arm INFO: BL3-2: Chip: GXL Rev: D (21 - B0:2) INFO: BL3-2: crypto engine DMA INFO: BL3-2: secure time TEE INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e U-Boot 2015.01-g2e3e77d-dirty (Nov 07 2020 - 00:20:15), Build: jenkins-aquaman-664 DRAM: 1 GiB Relocation Offset is: 36e80000 gpio: pin gpiodv_24 (gpio 43) value is 1 register usb cfg[0][1] = 0000000037f4c4f8 [CANVAS]canvas init MMC: aml_priv->desc_buf = 0x0000000033e80ab0 aml_priv->desc_buf = 0x0000000033e82df0 SDIO Port B: 0, SDIO Port C: 1 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [mmc_startup] mmc refix success init_part() 297: PART_TYPE_AML [mmc_init] mmc init success aml log : R1024 check pass! start dts,buffer=0000000033e85640,dt_addr=0000000033e85640 get_partition_from_dts() 71: ret 0 parts: 17 00: logo 0000000000800000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dtbo 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 set has_boot_slot = 0 07: rsv 0000000001000000 1 08: tee 0000000002000000 1 09: vendor 0000000006400000 1 10: odm 0000000001400000 1 11: metadata 0000000001000000 1 12: vbmeta 0000000000200000 1 13: system 000000005ac00000 1 14: product 0000000006a00000 1 15: cache 0000000010000000 2 16: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML eMMC/TSD partition table have been checked OK! crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!! crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!! crc32_s:0x7fd3b243 == storage crc_pattern:0x7fd3b243!!! mmc env offset: 0x17400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-2755: calc 6955a20f, store 6955a20f _verify_dtb_checksum()-2755: calc 6955a20f, store 6955a20f dtb_read()-2972: total valid 2 update_old_dtb()-2953: do nothing aml log : R1024 check pass! vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666666667Hz(0x300) vpu: vpu_clk_gate_init_off finish vpp: vpp_init hpd_state=0 vpp: vpp_matrix_update: 2 cvbs performance type = 6, table = 0 cvbs_config_hdmipll_gxl cvbs_set_vid2_clk the HHI_VDAC_CNTL0 =b0001 the HHI_VDAC_CNTL0 =b0200 the HHI_VDAC_CNTL1 =0 the HHI_VDAC_CNTL1 =8 amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [BL31]: tee size: 0 [BL31]: tee size: 0 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[region] not programed yet CONFIG_AVB2: avb2 Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 reboot_mode:::: cold_boot [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x3f800000 [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x3f800000 [OSD]VPP_OFIFO_SIZE:0xfff00fff [CANVAS]addr=0x3f800000 width=5760, height=2160 [OSD]osd_hw.free_dst_data: 0,719,0,575 Command: bcb uboot-command Start read misc partition datas! BCB hasn't any datas,exit! do_monitor_bt_cmdline gpio: pin GPIOX_17 (gpio 17) value is 0 gpio: pin GPIOX_17 (gpio 17) value is 1 gpio: pin GPIOX_18 (gpio 18) value is 1 hw_config_start:state = 3 bt_cmdline: fw downloaded no recovery mod! gpio: pin GPIOX_8 (gpio 8) value is 1 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 CONFIG_SYSTEM_AS_ROOT: systemroot system_mode: 1 CONFIG_AVB2: avb2 active_slot: normal avb2: 1 Err imgread(L328):Fmt unsupported!genFmt 0x0 != 0x3 InUsbBurn [MSG]sof Set Addr 4 Get DT cfg Get DT cfg Get DT cfg set CFG Get DT cfg Get DT cfg Get DT cfg Get DT cfg waitIdentifyTime(751) > timeout(750) (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** active_slot: normal Err imgread(L328):Fmt unsupported!genFmt 0x0 != 0x3 gxl_aquaman_v1#
kedzior.kedzior said: Err imgread(L328):Fmt unsupported!genFmt 0x0 != 0x3 Click to expand... Click to collapse The above error might be an issue. at the prompt: gxl_aquaman_v1# type: printenv and post the output.
Functioner said: The above error might be an issue. at the prompt: gxl_aquaman_v1# type: printenv and post the output. Click to expand... Click to collapse gxl_aquaman_v1#printenv 1080p60hz_deepcolor=444,12bit 480p60hz_deepcolor=rgb,8bit EnableSelinux=permissive active_slot=normal avb2=1 baudrate=115200 bcb_cmd=get_avb_mode;get_valid_slot; boardid=3 boot_part=boot bootargs=init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 ro rootwait skip_initramfs reboot_mode_android=normal androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz frac_rate_policy=1 cvbsmode=576cvbs hdmitx=,444,12bit cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=00:00:00:00:00:00 androidboot.wifimac=00:00:00:00:00:00 androidboot.wificountrycode=US androidboot.bootloader= androidboot.serialno=26919800002433906 androidboot.boardid=3 androidboot.region=none androidboot.reboot_mode=cold_boot page_trace=on androidboot.rpmb_state=0 aml_dt= recovery_part={recovery_part} recovery_offset={recovery_offset} aml_dt= recovery_part={recovery_part} recovery_offset={recovery_offset} bootcmd=run storeboot bootdelay=1 bootup_offset=0x1133b50 bootup_size=0x5eec7a btmac=00:00:00:00:00:00 cmdline_keys=keyman init 0x1234; setkeys; colorattribute=444,12bit cvbs_drv=0 cvbsmode=576cvbs display_bpp=24 display_color_bg=0 display_color_fg=0xffff display_color_index=24 display_height=576 display_layer=osd1 display_width=720 dtb_mem_addr=0x1000000 factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; fb_addr=0x3d800000 fb_height=1080 fb_width=1920 fdt_high=0x20000000 firstboot=0 frac_rate_policy=1 fs_type=ro rootwait skip_initramfs hdmimode=1080p60hz identifyWaitTime=750 init_display=get_rebootmode;echo reboot_mode:::: ${reboot_mode};if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else if test ${reboot_mode} = recovery_quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else setenv reboot_mode_android normal;run storeargs;osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale; fi;fi; initargs=init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 jtag=apao loadaddr=1080000 lock=10001000 maxcpus=4 outputmode=576cvbs page_trace=on preboot=run cmdline_keys;run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;bcb uboot-command;run switch_bootmode; reboot_mode=cold_boot reboot_mode_android=normal recovery_from_flash=get_valid_slot;echo active_slot: ${active_slot};if test ${active_slot} = normal; then setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;else setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part=${boot_part} recovery_offset=${recovery_offset};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;fi; recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi; recovery_offset=0 recovery_part=recovery region=none rpmb_state=0 sdc_burning=sdc_burn ${sdcburncfg} sdcburncfg=aml_sdc_burn.ini serialno=26919800002433906 sn2=3236393139383030303032343333393036 stderr=serial stdin=serial stdout=serial storeargs=get_rebootmode;setenv bootargs ${initargs} ${fs_type} reboot_mode_android=${reboot_mode_android} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} frac_rate_policy=${frac_rate_policy} cvbsmode=${cvbsmode} hdmitx=${cecconfig},${colorattribute} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=${btmac} androidboot.wifimac=${wifimac} androidboot.wificountrycode=${wifi_ccode} androidboot.bootloader=${bootloader} androidboot.serialno=${serialno} androidboot.boardid=${boardid} androidboot.region=${region} androidboot.reboot_mode=${reboot_mode};setenv bootargs ${bootargs} page_trace=${page_trace};setenv bootargs ${bootargs} androidboot.rpmb_state=${rpmb_state}; storeboot=get_system_as_root_mode;echo system_mode: ${system_mode};if test ${system_mode} = 1; then setenv fs_type ro rootwait skip_initramfs;run storeargs;fi;get_valid_slot;get_avb_mode;echo active_slot: ${active_slot} avb2: ${avb2};if test ${active_slot} != normal; then setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};fi;if test ${avb2} = 0; then if test ${active_slot} = _a; then setenv bootargs ${bootargs} root=/dev/mmcblk0p23;else if test ${active_slot} = _b; then setenv bootargs ${bootargs} root=/dev/mmcblk0p24;fi;fi;fi;if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run update; switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then setenv reboot_mode_android normal;run storeargs;run recovery_from_flash;else if test ${reboot_mode} = update; then setenv reboot_mode_android normal;run storeargs;run update;else if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;else if test ${reboot_mode} = recovery_quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;run recovery_from_flash;else if test ${reboot_mode} = cold_boot; then setenv reboot_mode_android normal;run storeargs;else if test ${reboot_mode} = fastboot; then setenv reboot_mode_android normal;run storeargs;fastboot;fi;fi;fi;fi;fi;fi;if monitor_bt_cmdline; then run update; fi; system_mode=1 try_auto_burn=update 700 750; update=run try_auto_burn; if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash; upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi; upgrade_step=2 usb_burning=update 1000 wifi_ccode=US wifimac=00:00:00:00:00:00 wipe_cache=successful wipe_data=successful Environment size: 7334/65532 bytes
I'm not sure if imgread is being called by the normal boot process, or a recovery process because the device failed to boot. At the uart prompt type: imgread dtb boot 0x1000000 imgread kernel boot 0x1080000 bootm 0x1080000 and post the output. If it's the same error as before, the boot partition might not be flashed with the correct image.
gxl_aquaman_v1#imgread dtb boot 0x1000000 Err imgread(L220):Fmt unsupported! only support 0x3 gxl_aquaman_v1#imgread kernel boot 0x1080000 Err imgread(L328):Fmt unsupported!genFmt 0x0 != 0x3 gxl_aquaman_v1#imgread kernel boot 0x1080000 Err imgread(L328):Fmt unsupported!genFmt 0x0 != 0x3 gxl_aquaman_v1#<INTERRUPT> gxl_aquaman_v1#bootm 0x1080000 aml log : Sig Check 1830
kedzior.kedzior said: gxl_aquaman_v1#imgread dtb boot 0x1000000 Err imgread(L220):Fmt unsupported! only support 0x3 Click to expand... Click to collapse Are you able to flash the boot partition with the boot image again? Which version of the firmware did you flash?
Are you able to flash the boot partition with the boot image again? Yes Which version of the firmware did you flash? https://disk.yandex.ru/d/aL5XolrdAbTJ0g How to check it? Other than this one I have no other Did you flash it with fastboot or burn mode? According to the instructions from the post https://forum.xda-developers.com/t/help-please-mdz-24-aa-no-power-led-no-video.4452819/post-87044521 but one of the commands "fastboot oem unlock" not working "astboot flashing unlock" worked "fastboot flashing unlock_critical" worked I notice from the environment that the bootloader is currently locked. The russian guy in the video mentioned that it is important to keep the older version of the bootloader, because the newer version could lock you out. What I would try is starting fastboot, and then using the ota source files, flashing all of the partitions again, except NOT the bootloader. What you could try first is just flashing the boot partition again from whatever firmware you used the last time. Unfortunately, I do not have the previous works version :/
kedzior.kedzior said: https://disk.yandex.ru/d/aL5XolrdAbTJ0g How to check it? Click to expand... Click to collapse I will check that version, and will also check which version is the newest version.
At the uart prompt, type: get_bootloaderversion and post the version.
Functioner said: At the uart prompt, type: get_bootloaderversion and post the version. Click to expand... Click to collapse gxl_aquaman_v1#get_bootloaderversion Nieznane polecenie 'get_bootloaderversion' - spróbuj 'help' C:\adb>fastboot getvar version-bootloader version-bootloader: U-Boot 2015.01-g2e3e77d-dirty Finished. Total time: 0.003s
The version of the firmware in backup-Restore.rar from the above yandex link is r293: Xiaomi/aquaman/aquaman:9/PI/293:user/release-keys This is quite old. It's from May 26 2020. If you flashed the tee image from that download, it could have corrupted your device.
thank you very much for your help and your time. I will continue to try to bring my stick back to life
kedzior.kedzior said: thank you very much for your help and your time. I will continue to try to bring my stick back to life Click to expand... Click to collapse sure, good luck.