[DEV] Reverse engineer SBOOT to diagnose phone issues - Galaxy S 4 Developer Discussion [Developers-Only]

Hi All,
So i had a spare S4 sitting around and was using it for VR app with google cardboard device. Recently I left it flat and when i tried to boot it after a charge i only get sammy logo then blank screen.
Recovery is also failing with just being stuck on sammy logo, ODIN mode get stuck at initializing and goes no further.
I have full system backup from TWRP, efs etc so am not too worried about erasing of data etc.
I have tried the usual Nand erase all, efs wipe options in odin, all versions from 1.85 to 3.12 of odin, i did use 3.07 to flash this s4 with the note port rom posted else where in the forums.
I have also tried flashing boot.img/kernel etc and pit files together and separate with no luck, odin still get stuck at the same point in flashing.
Have tried diff usb ports and cables, again no luck.
anyway, thats not the point of the thread,
after reading this hexdetective blog i saw they had somehow managed to stop SBOOT, so i had to try this on my new donar S4.
After making up a jig with both 301K and 619K resistors on and hooking it up to my bus pirate i was greeted with this ,
Samsung S-Boot 4.0 for GT-I9500 (Jun 4 2015 - 20:54:14)
EXYNOS5410 EVT 2.3 (Base on ARM CortexA15)
2045MB / 0MB / Rev 10 / I9500XXUHOF3 /(PKG_ID 0x2f0e0d08)
BOOTLOADER VERSION : I9500XXUHOF3
PMIC rev = PASS2(3)
MON: 0x0(0)
MON[0] = (0)[0x00, 0x00]
MON[1] = (1)[0x00, 0x00]
MON[2] = (2)[0x00, 0x00]
MON[3] = (3)[0x00, 0x00]
Click to expand...
Click to collapse
hmm, nothing more, just the above text. Back to the hexdetective article they mentioned is scans for enter and other key combo's
so this time, I held volume down, Jig already plugged in I then add the battery while mashing enter i got this :-
Code:
Samsung S-Boot 4.0 for GT-I9500 (Jun 4 2015 - 20:54:14)
EXYNOS5410 EVT 2.3 (Base on ARM CortexA15)
2045MB / 0MB / Rev 10 / I9500XXUHOF3 /(PKG_ID 0x2f0e0d08)
BOOTLOADER VERSION : I9500XXUHOF3
PMIC rev = PASS2(3)
MON: 0x0(0)
MON[0] = (0)[0x00, 0x00]
MON[1] = (1)[0x00, 0x00]
MON[2] = (2)[0x00, 0x00]
MON[3] = (3)[0x00, 0x00]
cardtype: 0x00000007
SB_MMC_HS_52MHZ_1_8V_3V_IO
mmc->card_caps: 0x00000f11
mmc->host_caps: 0x00000f11
!!!Enter 8 Bit DDR mode.!!!
[mmc] capacity = 30777344
MODEL_NAME:{{GT-I9500}}
eMMC_SERIAL_NUMBER:{{15010056335730304D00BD02E0D8408D}}
Current SBOOT version : VERSION_-+A3
- read_bl1
pit_check_signature (PIT) valid.
initialize_ddi_data: usable! (10:0xa)
[RPMB] emmc_rpmb_open:
Get DATA success.
[RPMB] emmc_rpmb_close:
initialize_rpmb_data: usable! (GT-I9500:VERSION_-+A3)
PARAM ENV VERSION: v1.0..
DDR SIZE: D32 (0x0d35)
init_microusb_ic: before MUIC: CDETCTRL:0x2d
init_microusb_ic: after MUIC: CDETCTRL:0x2d
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL2:0x3b
init_microusb_ic: MUIC: CONTROL2:0x3b
set_charger_state: buck(1), chg(1), reg(0x05)
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
set_auto_current: get_charger_status(0)
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
set_auto_current: unknown_state, curr(475)
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
set_charger_current: chg curr(14), in curr(0)
fuelgauge_read_i2c_word : 0x0, 0x0
fuelguage : mode=0x0
fuelgauge_read_i2c_word : 0x0, 0x0
fuelguage : hibrt(0000) == 0x0
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
fuelguage : wpc_status(0)
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
AP_PMIC_SDA = 2
PMIC_ID = 0x82
PMIC_STATUS1 = 0x1c
PMIC_STATUS2 = 0x11
PMIC_OFFSRC = 0x00
PMIC_PWRON = 0x02
PMIC_IRQ1 = 0x04
PMIC_IRQ2 = 0x11
PMIC_IRQ3 = 0x00
PMIC_RTC_INT1 = 0x04
PMIC_RTC_INT2 = 0x18
PMIC_RTC_INT3 = 0x00
PMIC_RTC_OFFSRC = 0xe0
PMIC_RTC_SMPL = 0x03
RTC TIME: 2017-04-30 21:51:02(0x01)PM
s5p_check_keypad: 0x11000000
s5p_check_reboot_mode: INFORM3 = 0 ... skip
board_get_clock_info :
CLK_SRC_TOP3 (0x1002021c) = 0x00000000
CLK_SRC_TOP2 (0x10020218) = 0x01100100
CLK_SRC_TOP1 (0x10020214) = 0x00000000
CLK_SRC_TOP0 (0x10020210) = 0x00000000
CLK_MUX_STAT_TOP2 (0x10020418) = 0x02211211
CLK_MUX_STAT_TOP1 (0x10020414) = 0x01111000
CLK_SRC_FSYS (0x10020244) = 0x30000666
CLK_DIV_CPU0 (0x10010500) = 0x03550020
CLK_DIV_TOP0 (0x10020510) = 0x02712303
CLK_DIV_KFC0 (0x10038500) = 0x03400720
CLK_DIV_FSYS1 (0x1002054c) = 0x00000001
CLK_DIV_FSYS2 (0x10020550) = 0x00000001
PAUSE (0x1003091c) = 0xfff8fffe
LPDDR3PHY_CTRL (0x10030a10) = 0x00000001
MPLL_CON0 (0x10014100) = 0xa10a0302(532 MHz)
BPLL_CON0 (0x10030110) = 0xa0c80301(800 MHz)
CPLL_CON0 (0x10020120) = 0xa0a00301(640 MHz)
DPLL_CON0 (0x10020128) = 0xa0c80401
MMC0 CLKDIV (0x12200008) = 0x00000001
MMC0 CLKSRC (0x1220000c) = 0x00000000
MMC0 CLKSEL (0x1220009c) = 0x03020001
sclk_mmc0 = 266000KHz, sclk_mmc2 = 266000KHz
mmc0 host clk = 33250KHz
board_get_clock_info : time = 0
s5p_check_upload: MAGIC(0x0), RST_STAT(0x100)
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
s5p_check_download: 0
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
check_pm_status: charger is not detected
fuelgauge_read_i2c_word : 0xc8, 0x0
check_pm_status: voltage(4000) is ok
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
fuelguage : wpc_status(0)
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
[fuelgauge] start set model data for max17048
[fuelguage] : OriginRCOMP = 0x97, OriginAlert = 0x1c
fuelguage : OCV_DATA1 = 0xcd, OCV_DATA2 = 0x2f
[BATT]fuelguage : re-write RCOMPseg data
fuelguage : SOC_DATA1 = 0xe9, SOC_DATA2 = 0x19
fuelguage : model was loaded successful
fuelguage : RCOMP(0x76)
fuelguage : OCV_DATA1 = 0xcd, OCV_DATA2 = 0x2f
[max17048] hibrt, vart, vreset setting
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
fuelgauge_read_i2c_word : 0x0, 0x0
fuelgauge_read_i2c_word : 0x0, 0xff
fuelgauge_read_i2c_word : 0x7d, 0x0
fuelgauge_read_i2c_word : 0xa7, 0x6
fuelgauge_read_i2c_word : 0xc7, 0xd0
fuelgauge_read_i2c_word : 0xc7, 0xd0
fuelgauge_read_i2c_word : 0xc7, 0xd0
fuelgauge_read_i2c_word : 0xc7, 0xd0
fuelgauge_read_i2c_word : 0xc7, 0xd0
fuelgauge_read_i2c_word : 0xcd, 0x2f
microusb_get_attached_device: STATUS1:0x3d, 2:0x00
get_wireless_charger_detect: wireless check 0
get_wireless_charger_detect : CHG_DTLS(0x00)
[fuelgauge] Discharging table soc
[BATT]7906 = ( 394600 - 325342 ) *100 / 876
[fuelgauge]soc(83), table_soc(79), vcell(394600)
fuelgauge : fg_reset_soc (0)
fuelgauge_read_i2c_word : 0x1, 0xff
fuelguage : REG_VCELL = 0xc7, 0xf0
fuelguage : REG_SOC = 0xa7, 0x6
fuelguage : REG_MODE = 0x0, 0x0
fuelguage : REG_VERSION = 0x0, 0x12
fuelguage : REG_HIBRT = 0x0, 0x0
fuelguage : REG_RCOMP = 0x76, 0x1e
fuelguage : REG_VART = 0x0, 0xff
fuelguage : REG_CRATE = 0x26, 0xcc
fuelguage : REG_VRESET = 0x7d, 0x0
fuelguage : REG_STATUS = 0x0, 0xff
fuelguage : REG_RCOMP = 0x76, 0x1e
[TMU] 47, 45, 46, 46
cmu_div:4, div:1, src_clk:532000000, pixel_clk:128682048
ID1=0x40, ID2=0x80, ID3=0x47, 0x00408047, L
autoboot aborted..
S-BOOT #
Whoop, we have a uboot clone of sorts,
Anyway, I have now stopped SBOOT at the start via UART,
what next?
well type HELP of course!
Code:
Following commands are supported:
* help
* log
* load_kernel
* boot
* reset
* findenv
* saveenv
* setenv
* printenv
* checksum_need
* mobiload
* mobismc
* usb
* upload
* keyread
* readadc
* printcsd
* rpmbwritedata
* rpmbreadcount
* rpmbsetkey
* rpmbclose
* rpmbopen
* sdcard_read
* sdcard
* mmc_bp_enable
* usb_write
* usb_read
To get commands help, Type "help <command>"
ok, we have some commands, lets see what we can do with them.
this is not in any particular order, as I discover what the functions do I will expand, for now some functions are know and others and not.
command: mmc_bp_enable
function: Enable and disable EMMC boot parititon
usage:
mmc_bp_enable 0x0 "boot sdcard boot image next power up"
output:
"
[MMC] ext_csd[179] = 0x48
argv[0] : mmc_bp_enable
argv[1] : 0x0
[MMC] ext_csd[179] = 0x40
"
Click to expand...
Click to collapse
ah, we card boot from sd-card, ok, but how do we make a sdcard ?
google "GT-I9500_Boot_Recovery.tar"
you should find a file that contains SBOOT.BIN,
next insert your sdcard into your PC's sdcard reader and the following command, note that the card will be erased in the following steps, dont use a card with data.
may require SU depending on your setup
Code:
dd if=/dev/zero of=/dev/sd? count=4 bs=512
dd if=SBOOT.bin of=/dev/sd? seek=1 bs=512
the SBOOT.BIN file must start at 0x200 of the sdcard, not at 0x0 or it will fail.
insert card into phone, and power up.
you will get a screen with following text
UP KEY: NORMAL BOOTING
DOWN KEY: DOWNLOAD MODE
Click to expand...
Click to collapse
Now on my device, when I am using the sdcard recovery it will get past the 'initializing' text but then fails to write, could be damaged EMMC as in the boot up text a few signatures fail (that could also be unsigned kernel/boot.img)
command: load_kernel
function: load kernel from EMMC
usage : load_kernel
Click to expand...
Click to collapse
command: boot
function: boot recently loaded kernel_image
usage: boot
Click to expand...
Click to collapse
command: keyread
function: test hardware keys/buttons
usage: keyread
note: reboot to exit this mode
Click to expand...
Click to collapse
To Be updated, more to come, stay tuned, that's not all folks,

Nabbed for possible extras

Related

NDrive and HD2

Hi, i have NDrive for my HD2 and i have a little, very little problem
What i mean is... real little....
The Buttons are big and greatful to Tuch. But if i search a street or a city, the text are so small..
how i can change the text size?
On my Touch HD it work perfekt.
use this ini:
[settings]
GpsSaveButton = false
ManeuversOn = trueStretchMap = true
DPI = 245
UnitDefaultIsMiles = false
TrafficDefaultIsOff = true
[YFPND]
EnableTimeZoneConfig=true
PowerManagerOff = true
BacklightAPI = false
EnableGpsConfigButtons = true
[ELENTEC_NAVI]
EnableTimeZoneConfig=true
PowerManagerOff = true
BacklightAPI = false
EnableGpsConfigButtons = true
[GPS Navigation System]
EnableTimeZoneConfig=true
PowerManagerOff = true
BacklightAPI = false
EnableGpsConfigButtons = true
DPI = 250
[Handhold Reference Board_A3]
DPI=128
[PLATFORM_OEM]
PowerManagerOff = true
HWVolumeControl = true
DPI = 100
DatabaseOnCard = true
HasPhotoViewer = false
[GPS6027]
PowerManagerOff = true
HWVolumeControl = true
DPI = 128
[GPS6088]
PowerManagerOff = true
[GUEPARD]
PowerManagerOff = true
[NDriveG280]
PowerManagerOff = true
BacklightAPI = false
[NDriveG800]
PowerManagerOff = true
BacklightAPI = false
DPI = 128
[NDriveG400]
HWVolumeControl = true
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[NDriveTouch]
DPI=115
[NDriveTouchXL]
DPI=128
[Handhold Reference Board_A3]
DPI=128
[X1i]
StretchMap = true
DPI = 245
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[Palm Treo 850]
ForceGdi = true
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
DPI=181
[NDRIVE S300]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
DPI = 143
[DX900V040]
StretchMap = true
DPI = 286
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[Toshiba TG01]
StretchMap = true
DPI = 228
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[HTC Touch Pro2 T7373]
StretchMap = true
DPI = 245
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[HTC Touch Pro T7272]
StretchMap = true
DPI = 286
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[HTC Touch HD T8282]
StretchMap = true
DPI = 245
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[HTC T8282]
StretchMap = true
DPI = 245
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[HTC Touch Diamond P3700]
StretchMap = true
DPI = 286
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[HTC_Touch_Diamond]
StretchMap = true
DPI = 286
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[SIM Technology]
StretchMap = true
DPI = 286
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[SGH-i780]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
DPI = 177
[SGH-i900]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
DPI = 147
ForceGDI = true
WM6SuspendThreads = true
SMSTransport = body
[GT-I8000]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
DPI = 286
StretchMap = true
[ARTE10000]
ForceGdi = true
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
Key.Camera = 0x5B, 0xC5
Key.SysMenu = 0x5B, 0xC2
Key.PocketIE = 0x5B, 0xC4
Key.SpeedDial = 0x5B, 0xC6
DPI = 143
[PHAR10000]
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
Key.Camera = 0x5B, 0xC3
Key.SysMenu = 0x5B, 0xC1
DPI = 143
[ARTE20000]
ForceGdi = true
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.VolumeUp = 0x75, 0x75
Key.VolumeDown = 0x76, 0x76
GPS.ForceBT = 0
GpsIsBuiltIn = true
GPS.Port = 4
DPI = 143
[ARTE*****]
ForceGdi = true
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.VolumeUp = 0x75, 0x75
Key.VolumeDown = 0x76, 0x76
GPS.ForceBT = 0
GpsIsBuiltIn = true
GPS.Port = 4
GPS.Baud = 38600
DPI = 143
[Kaiser]
ForceGdi = true
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.Enter = 0x5C, 0x75
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
Key.Camera = 0xE9
Key.Messaging = 0x5B, 0xC2
Key.SpeedDial = 0x5B, 0xC6
Key.PocketIE = 0x5B, 0xC1
Key.SysMenu = 0x5B, 0xC3
DPI = 143
[HERA10000]
ForceGdi = true
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.Enter = 0x5C, 0x75
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
Key.Camera = 0xE9
Key.SpeedDial = 0x5B, 0xC6
Key.SysMenu = 0x5B, 0xC3
DPI = 143
[Polaris]
ForceGdi = true
Key.Up = 0x26, 0x84
Key.Down = 0x28, 0x84
Key.Left = 0x25, 0x84
Key.Right = 0x27, 0x84
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Key.VolumeUp = 0x75, 0x75
Key.VolumeDown = 0x76, 0x76
GPS.ForceBT = 0
GpsIsBuiltInt = true
DPI = 143
[NIKI100]
ForceGdi = true
Key.VolumeUp = 0x75, 0x75
Key.VolumeDown = 0x76, 0x76
DPI = 143
[Treo]
ForceGdi = true
DPI = 108
[AMOI Electronic CO.,LTD.]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
DPI = 143
[Mio Technology Ltd.]
ForceGdi = true
DPI = 143
[Hewlett-Packard Company]
Key.RotateScreen = 0x5B, 0xCE
Key.EndCall = 0x5C, 0x75
Key.Discard = 0x5B, 0xC4
DPI = 115
[hp iPAQ hw6915]
GPS.ForceBT = 0
GPS.ForceGPSID = 1
GpsIsBuiltIn = true
GPS.Port = 7
GPS.Baud = 57600
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
Key.SysMenu = 0x5B
DPI = 108
[i-mate JAQ4]
GPS.ForceBT = 1
GPS.Port = 8
GPS.Baud = 9600
[HTC-S620]
Key.Fn = 0xEC
Key.ZoomIn = 0x28, 0x83
Key.ZoomOut = 0x26, 0x83
Power.LockLevel = 1
[HTC S310]
Key.Delete = 0x1B
Power.LockLevel = 1
[MAINSTN]
GpsIsBuiltIn = true
GPS.Port = 7
GPS.Baud = 9600
[Handheld Reference Board]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[Mitac, Mio DigiWalker]
GpsIsBuiltIn = true
GPS.Port = 2
GPS.Baud = 4800
Key.Soft1 = 0x5B, 0xC1
Key.Soft2 = 0x5B, 0xC4
Key.EndCall = 0x5B, 0xC3
Key.SysMenu = 0x5B, 0xC2
DPI = 115
[S3C2440]
Key.ZoomIn = 0x44
Key.ZoomOut = 0x45
Key.Soft1 = 0x42
Key.ZoomIn = 0x0D
[S3C2410]
HWVolumeControl = true
[GP75-ARMV4-30200]
HWVolumeControl = true
[Handheld Reference Board]
HWVolumeControl = true
[manta-35-01]
HWVolumeControl = true
[PU10]
DPI = 223
[HP iPAQ hx4700]
DPI = 266
[CREDIX M43C2 Board]
HWVolumeControl = true
DPI = 128
[NDrivePC]
DPI = 300
StretchMap = true
FullScreenMode = false
WindowSize = 800x600
[ZTE CO.,LTD]
DisableSoftKeyboard = true
Alpha2NumericMap = @ERTDFGCVB
SoftKeyboardStartsMinimized = true
[QUALCOMM]
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
Alpha2NumericMap = 0ERTDFGCVB
SoftKeyboardStartsMinimized = true
[GT-C6625]
DisableSoftKeyboard = true
Alpha2NumericMap = +ERTDFGXCV
SoftKeyboardStartsMinimized = true
[MACOSX]
StretchMap = false
[DX900V040]
StretchMap = true
DPI = 286
[MOTOROLA MC75]
StretchMap = true
DPI = 260
[Touch Diamond2 T5353]
StretchMap = true
DPI = 245
[GB_RAMAR_BLUE_BT]
PowerManagerOff = true
HWVolumeControl = true
DPI = 128
[NDriveTouch_SE]
DPI=125
[NDriveTouchXL_SE]
DPI=136
[NDriveTouchXXL_SE]
DPI=117
[HTC Snap S521]
DisableSoftKeyboard = true
DisableNumericMode = true
TegicET9Off = true
[Toshiba TG02]
StretchMap = true
DPI = 228
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
[GT-B7300]
DPI = 155
Key.VolumeUp = 0x75
Key.VolumeDown = 0x76
or only change [settings]
Thanks hol9er, this is working great.
Thank you SO much. Brilliant!
Hi hol9er
Thanks m8, this is it..
Sorry, but I don't understand what to do exactly with hol9er's information
Thanks for your help
arturobandini said:
Sorry, but I don't understand what to do exactly with hol9er's information
Thanks for your help
Click to expand...
Click to collapse
You have to edit the ini file on the ndrive folder.
Ok, I see.
Thank you very much.
[EDIT: I changed the text in the ini file, but the graphics in the settings are still very small ((( ]
I had the same issue, and this ini text worked for me!! Now the letters in Settings are big enough. Thank you!!
Hello arturobandini !
open the NDrive.ini file in windows with editor
it is a text file
delete the text
copy and paste my text
dont forget to save
phone to pc - active sync
copy and paste the new file over the old
path: /storage card/NDrive
thats all
run NDrive and enjoy
hol9er
edit:
landscape view with BSB-Tweaks
hol9er
I have oneother problem.
When ndrive starts tries to find a bluetooth connection (which isnt there) and there is a very annoying popup.
Also cant find the gps port at all.
Disable GPS (dis)connection sound?
I find the GPS disconnection/reconnection sound immensely annoying, as I routinely drive through a number of tunnels. I can't find a way to control it separately from the voice.
Any ideas? Any secret INI settings, maybe?
ugumba said:
I find the GPS disconnection/reconnection sound immensely annoying, as I routinely drive through a number of tunnels. I can't find a way to control it separately from the voice.
Click to expand...
Click to collapse
Of course, immediately after posting, I realised I could look for the audio files. I found the GPS connection sounds as 62.wav and 63.wav in the voice ZIP. They should be trivial to replace - I just deleted them myself.
Thanks a lot. U are the best.
What is the config so i only rotate NDRIVE?
Are there another way to view this in landscape without change other apps?
Thanks again
Good work !
Works 100%
Kindly yours
Worked a treat
Thank you so much
how can i landscape view
i love ndrive but the screen doesn´t rotate i don´t know what to do please help
i really need ndrive to rotate
thanks
no ideas..
mat19835 said:
no ideas..
Click to expand...
Click to collapse
Install BsB Tweaks foudn here (bottom of the 1st post): http://forum.xda-developers.com/showthread.php?t=589305
After you've installed it, launch it from the StartMenu and then click on Menu. From Menu, click on Rotation. From Rotation, click on Options and then click on Add Application and follow the directions and you'll be all set.

[Xperia U][JB] Camera error - cfg-file settings maybe wrong in ported jb?

I noticed differences between the cflashlib.cfg of ICS and the ported version of JB.
ICS:
# Configuration file for CFlashDriver.
#
# CFlashDriver is an interface towards ST-Ericssons
# camera implementation.
#
# This file contains settings the the STE camera is higly dependant
# upon.
#
# *** Available flashmodes: ***
# XENON Enables xenon drv.Strobe managed by lm3561 drv.
# XENON_EXTERNAL_STROBE Enables xenon drv.Strobe managed externally.
# VIDEO_LED Enables the video led driver. Strobing is managed by the driver
# VIDEO_LED_EXTERNAL_STROBE Enables video led driver. Strobing is managed externally to driver.
# FLASH_MODE_STILL_LED Enables the still LED driver. Strobing is managed by the driver.
# STILL_LED_EXTERNAL_STROBE Enables the still LED driver. Strobe is managed externally to driver.
# AF_ASSISTANT Enables the AF assistant driver. Strobe is managed by the driver.
# INDICATOR Enable the driver. Strobe is managed by the driver.
# STILL_HPLED Enables the still HP LED driver. Strobing is managed by the driver.
# HPLED_EXTERNAL_STROBE Enables the still HP LED driver. Strobe is managed externally to
# the driver.
#
# *** Available Cameramodes ***
# Primary, Secondary
#
# The parameters and in case of boolean values, everything is highly
# case sensitive. This means the True and true are two different value.
# For those who wonder, the accespted values are "true" and "false".
# The parser does handle duplicate entries in a way that only the first
# entry of the same type is used.
#
# *** Parameter setting begin here ***
#
FlashDriverType = VIDEO_LED
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = VIDEO_LED_EXTERNAL_STROBE
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = STILL_LED
MinIntensity = 36
MaxIntensity = 600
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = STILL_LED_EXTERNAL_STROBE
MinIntensity = 36
MaxIntensity = 600
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = AF_ASSISTANT
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = AF_ASSISTANT
MinIntensity = 18
MaxIntensity = 149
MaxStrobeDuration = 1024000
IsIntensityProgrammable = false
IsDurationProgrammable = false
IsTimeoutProgrammable = false
SupportedCamera = Secondary
Duration = 0
Intensity = 100
Timeout = 0
Click to expand...
Click to collapse
JB:
# Configuration file for CFlashDriver.
#
# CFlashDriver is an interface towards ST-Ericssons
# camera implementation.
#
# This file contains settings the the STE camera is higly dependant
# upon.
#
# *** Available flashmodes: ***
# XENON, XENON_EXTERNAL_STROBE, VIDEO_LED, VIDEO_LED_EXTERNAL_STROBE
# STILL_LED, STILL_LED_EXTERNAL_STROBE, AF_ASSISTANT, INDICATOR
# STILL_HPLED, STILL_HPLED_EXTERNAL_STROBE
#
# *** Available Cameramodes ***
# Primary, Secondary
#
# The parameters and in case of boolean values, everything is highly
# case sensitive. This means the True and true are two different value.
# For those who wonder, the accespted values are "true" and "false".
# The parser does handle duplicate entries in a way that only the first
# entry of the same type is used.
#
# *** Parameter setting begin here ***
#
FlashDriverType = VIDEO_LED
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = VIDEO_LED_EXTERNAL_STROBE
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = STILL_LED
MinIntensity = 125
MaxIntensity = 2000
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = STILL_LED_EXTERNAL_STROBE
MinIntensity = 125
MaxIntensity = 2000
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 1024000
Intensity = 100
Timeout = 1024000
FlashDriverType = AF_ASSISTANT
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = true
IsDurationProgrammable = true
IsTimeoutProgrammable = true
SupportedCamera = Primary
Duration = 0
Intensity = 100
Timeout = 0
FlashDriverType = AF_ASSISTANT
MinIntensity = 62
MaxIntensity = 500
MaxStrobeDuration = 1024000
IsIntensityProgrammable = false
IsDurationProgrammable = false
IsTimeoutProgrammable = false
SupportedCamera = Secondary
Duration = 0
Intensity = 100
Timeout = 0
Click to expand...
Click to collapse
Has anybody tried to change it to ICS settings using JB drivers? the file is /system/etc/cflashlib.cfg
Tried already. Still not working.
Sent from my ST25i using xda app-developers app

[HOW-TO] UART boot log without UART

Here is a method to get a boot log that you would normally need other means (UART, JTAG etc.) to get. It tells you exactly how the device boots up and the information it displays varies depending on if you have just flashed a partition with Odin, flashed a zip in recovery, normally booted, booted into recovery etc. Its a good way to not only get diagnostic information but also specific boot information and partition locations. Also this gives you information about what happens prior to aboot (lk), mine for example tells me how sbl2 loads RPM and SBL3 etc and gives their addresses in memory.
-Obviously you must be rooted and have busybox installed (correctly) before continuing. Download the app "Busybox on rails" from the playstore if you're not sure if busybox is installed correctly and it will take care of it for you
1. Open /efs/carrier/HiddenMenu and make sure it says ON
2. Dial *#9900# and select "Enable SecLog" hit OK and exit
3. Download viewmem here, extract it from the zip and adb push it to /data/local/tmp or copy and paste/move it to /data/local/tmp
Using Adb
adb push /path-to-extracted-viewmem /data/local/tmp
Using Terminal Emulator
mv /path-to-extracted-viewmem /data/local/tmp
Click to expand...
Click to collapse
After viewmem is moved/pasted/pushed to /data/local/tmp then:
Using either Terminal emulator or adb shell:
[email protected]:/ $ su
[email protected]:/ # cd /data/local/tmp
[email protected]:/data/local/tmp # chmod 755 viewmem
[email protected]:/data/local/tmp # ./viewmem 0xffe00008 0x100000 >/sdcard/seclog.txt
[email protected]:/data/local/tmp # cd /sdcard
[email protected]:/sdcard # cat seclog.txt
Click to expand...
Click to collapse
4. Then you can copy/transfer to your pc and open it with a text editor (notepad ++ or something that can open most formats)
I've attached what my output looks like View attachment log.txt but I edited out my CID for obvious reasons. This should work on the I545, I337 and I9505.
Hmm this looks very nice and wanted to try it. but I got carriermenu on "ON" but when I dial the code I get "Connectionproblem or invalid MMI code", is this perhaps carrier dependent?
I guess I have to change the cmdline (sec_debug.enable=0 sec_debug.enable_user=0) both to 1
broodplank1337 said:
Hmm this looks very nice and wanted to try it. but I got carriermenu on "ON" but when I dial the code I get "Connectionproblem or invalid MMI code", is this perhaps carrier dependent?
I guess I have to change the cmdline (sec_debug.enable=0 sec_debug.enable_user=0) both to 1
Click to expand...
Click to collapse
actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.
Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.
Surge1223 said:
actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.
Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.
Click to expand...
Click to collapse
Oh ok. thanks for the link!
I already searched it through myself.
Code:
[email protected] ~/bin $ strings aboot.mbn | grep '*#'
!+"*#
Step3 -> *#9900# -> copy to sdcard (include CP ramdump) -> dumps for cp(mdm)
QE*#J
[code]
its *#9900# like yours but it still doesn't work :(
I will test the link later this day :p
Isn't it just kmsg?
With last_kmsg enabled custom kernel, you can access to very first kmsg message. It will be at the end of /proc/last_kmsg log.
sorg said:
Isn't it just kmsg?
With last_kmsg enabled custom kernel, you can access to very first kmsg message. It will be at the end of /proc/last_kmsg log.
Click to expand...
Click to collapse
I'm pretty sure we don't get to see the bootloader (SBL, aboot, etc...) data in kmsg. Kernel messages start a bit after that log. This is useful information, but requires that your phone actually gets to a somewhat booted state. Sadly, it's not quite a complete replacement for UART.
Surge1223 said:
actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.
Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.
Click to expand...
Click to collapse
Just an FYI, assuming you can boot a custom kernel, then you CAN modify the boot_command_line as I did in this commit:
https://github.com/FennyFatal/SGS4-M919-FennyKernel/commit/daaf3dc736d69f893e4aa9858fe786fe53c4f5d6
This is my last_kmsg log:
Code:
<6>[ 7413.490859] mdss_dsi_panel_off --
<6>[ 7413.532193] mdss_mdp_ctl_stop: ..lm..ctl->play_cnt=0,ret=0
<3>[ 7413.532516] samsung_dsi_panel_event_handler : unknown event
<6>[ 7413.532605] mdss_mdp_overlay_off: mdss_mdp_overlay_off -
<6>[ 7413.535159] max77803-muic max77803-muic: func:max77803_muic_shutdown
<6>[ 7413.535254] max77803-muic max77803-muic: max77803_muic_shutdown: JIGSet: auto detection
<6>[ 7413.539671] max77803_charger_shutdown: MAX77803 Charger driver shutdown
<6>[ 7413.541851] func:max77803_charger_shutdown
<6>[ 7413.542630] [SSP]: ssp_shutdown
<6>[ 7413.542691] ssp_enable, enable = 0, old enable = 0
<6>[ 7413.953367] ssp_sensorhub_thread: kthread_stop()
<3>[ 7414.119770] qup_i2c f9968000.i2c: QUP: I2C status flags :0xc1300c8, irq:138
<3>[ 7414.129574] qup_i2c f9968000.i2c: I2C slave addr:0x26 not connected
<6>[ 7414.129758] [SSP]: toggle_mcu_reset - ssp_Normal Mode
<0>[ 7414.184921] Restarting system.
<5>[ 7414.185045] msm_restart: Going down for restart now
<5>[ 7414.185257] Going down for restart now
<5>[ 7414.186067] msm_restart_prepare: clear reset flag
{179065} sbl1_ddr_init:: ret[0xfffd]
{180834} sbl1_ddr_zi_init:: ret[0xfffe]
{180865} pm_driver_init, Start
{200385} pm_driver_init, warm_reset
{200812} pm_driver_init, Delta
{200812} clock_init, Start
{200995} clock_init, Delta
{201025} boot_fota_restore_partition, Start
{201483} boot_fota_restore_partition, Delta
{284199} Tz Execution, Start
{400251} Tz Execution, Delta
{400282} boot_fota_restore_partition, Start
{400312} boot_fota_restore_partition, Delta
{408364} RPM loading is successful.
{453291} Signal PBL to Jump to RPM FW
{453626} sbl1_wait_for_ddr_training, Start
{497241} sbl1_wait_for_ddr_training, Delta
{497821} sbl1_ddr_zi_init:: ret[0xfffe]
{499041} WDT loading start!
{499437} WDT loading success!
{505415} Image Loaded by SBL1, Start on 0xfe800000
{505446} WDT Execution, Start
{505690} WDT Execution, Delta
{719708} Image Loaded by SBL1, Start on 0xf800000
{719739} sbl1_efs_handle_cookies, Start
{719800} sbl1_efs_handle_cookies, End
{725930} SBL1, End
[0] welcome to lk
[10] platform_init()
[10] target_init()
[10] HW REV13 : (1, 1, 0, 1)
[10] cancel power key check in case of reboot with 0x12345678
[20] Power on reason 131200
[20] PON_READ 0x807 : 18
[20] PON_READ 0x808 : 80
[20] PON_READ 0x80A : 2
[30] PON_READ 0x80B : 0
[30] PON_READ 0x80C : 2
[30] PON_READ 0x80D : 0
[30] PON_READ 0x80E : 0
[30] PON_READ 0x80F : 0
[40] Power on status : 0x20080 (Unknown Power On)
[40] Display Init: Start
[40] display_init(),target_id=1.
[50] mipi_samsung_tft_video_oled_hd_init: Initialising for fHD panel
[50] first_qcom_dload_magic=0x0,second_qcom_dload_magic=0x0
[60] Setting LDO22
[60] Setting LDO12
[70] Setting LDO2
[90] lcd : display bg screen
[90] Config MIPI_VIDEO_PANEL.
[100] Panel Reset
[110] Panel Reset Done
[120] id1 : 0x40 id2 : 0x80 id3 : 0x47
[250] Turn on MIPI_VIDEO_PANEL.
[270] Video lane tested successfully
[270] Display Init: Done
[320] aboot_init()
[320] Power on reason 131200
[320] PON_READ 0x807 : 18
[320] PON_READ 0x808 : 80
[330] PON_READ 0x80A : 2
[330] PON_READ 0x80B : 0
[330] PON_READ 0x80C : 2
[330] PON_READ 0x80D : 0
[340] PON_READ 0x80E : 0
[340] PON_READ 0x80F : 0
[340] [MUIC] init_microusb_ic: CONTROL1:0x00
[350] [MUIC] init_microusb_ic: CONTROL1:0x00
[350] [MUIC] init_microusb_ic: CONTROL2:0x3b
[350] [MUIC] init_microusb_ic: CONTROL2:0x3b
[360] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[360] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[370] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[370] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[380] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[390] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[390] get_wireless_charger_detect : WCIN_OK 0x00)
[390] get_wireless_charger_detect : CHG_DTLS(0x00)
[400] aboot_dev_charging_init : cable_status(0), cable_type(0)
[400] get_battery_detect : MAX77803_DETBAT (0x1d)
[410] aboot_dev_charging_init, [battery] batt_id_value (0)
[460] set_charger_state: buck(1), chg(0), reg(0x04)
[470] [battery] external charger init
[470] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[480] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[480] get_wireless_charger_detect : WCIN_OK 0x00)
[490] get_wireless_charger_detect : CHG_DTLS(0x00)
[490] set_fast_charging_current_data : fast charging current 0mA(0x00)
[500] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x17)
[fuelgauge] init_fuel_gauge: battery type = 1
[510] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[520] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[520] get_wireless_charger_detect : WCIN_OK 0x00)
[530] get_wireless_charger_detect : CHG_DTLS(0x00)
[530] [fuelgauge] apply 4.35V battery
[530] fuelguage : OriginalRCOMP = 0x6b, OriginalAlert = 0x1e
[540] fuelguage : OCV_DATA = 0xd7b6
[550] fuelguage : re-write RCOMPseg data
[750] fuelguage : SOC_DATA1 = 0xe8, SOC_DATA2 = 0x88
[760] fuelguage : model was loaded successful
[760] fuelguage : RCOMP(0x7b) is applied
[770] fuelguage : OCV_DATA = 0xd7b6
[970] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[980] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[980] get_wireless_charger_detect : WCIN_OK 0x00)
[990] get_wireless_charger_detect : CHG_DTLS(0x00)
[990] [fuelgauge] Discharging table soc
[990] 9980 = ( 418300 - 302521 ) *100 / 1160
[1000] soc(101), table_soc(99), vcell(418300)
[fuelgauge] init_fuel_gauge: fg_reset_soc = 0
[fuelgauge] init_fuel_gauge: vcell=4233, soc=101, ocv=4313
[1010] vibrator started
[1010] [tspdrv]nForce===7
[1020]
VIBRATOR is ENABLED :::
[1020] immvibespi amp enable
[1220] vibrator stopped
[1220]
VIBRATOR is DISABLED :::
[1230] immvibespi amp disable
[1230] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1240] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1240] get_wireless_charger_detect : WCIN_OK 0x00)
[1250] get_wireless_charger_detect : CHG_DTLS(0x00)
[1250] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1260] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1260] low_power(rb=1, jig=0, ct=0, vcell=4221)
[1260] skip check low power
[1270] check_boot_mode = key Down[0], Up[0]
[1270] check_ramdump_mode :: k_param.debuglevel[0x574f4c44]::k_param.cp_debuglevel[0x0]
[1280] Do checksum V2
[1280] Not Need Movinand Checksum
[1280] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1290] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1300] get_wireless_charger_detect : WCIN_OK 0x00)
[1300] get_wireless_charger_detect : CHG_DTLS(0x00)
[1300] is_reboot_case =1
[1310] cable_status = 0
[1310] enter normal booting mode
AST_POWERON
[1540] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1540] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1550] get_wireless_charger_detect : WCIN_OK 0x00)
[1550] get_wireless_charger_detect : CHG_DTLS(0x00)
[1560] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1560] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1570] rb=1 jig=0
[1570] v=4231 soc=101
[1570] skip check low battery
[1570] reboot_mode = 0x12345678, boot_mode = 0, por = 0x20080
[1580] Loading boot image (9365504): start
[2130] Loading boot image (9365504): done
[2760] Platform_id : 126
[2760] Hardware_id : 1
[2760] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 0
[2770] update device tree : 7e015201,r00
[2770] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 1
[2780] update device tree : 7e015201,r01
[2780] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 2
[2780] update device tree : 7e015201,r02
[2790] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 3
[2790] update device tree : 7e015201,r03
[2800] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 4
[2800] update device tree : 7e015201,r04
[2810] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 5
[2810] update device tree : 7e015201,r05
[2820] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 6
[2820] update device tree : 7e015201,r06
[2830] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 7
[2830] update device tree : 7e015201,r07
[2840] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 11
[2840] update device tree : 7e015201,r11
[2860] boot image size(10864896)
[2860] cmdline = 'console=null androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F'
[2870] lcd_attached=1
[2870] init_ddi_data: usable ddi data.
[2880]
Booting Linux
[2880] cmdline: console=null androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F cont_splash=1 [email protected] [email protected] sec_debug.reset_reason=0x8 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4f4c sec_d[2900] Updating device tree: start
[2920] Updating device tree: done
[2920] booting linux @ 0x8000, ramdisk @ 0x2000000 (2567426), tags/device tree @ 0x1e00000
[2930] Turn off MIPI_VIDEO_PANEL.
[2930] Continuous splash enabled, keeping panel alive.
[2930] Booting Linux
I've copied together with "tail" of log before reboot.
Last line is "[2930] Booting Linux". The next line is in newly created kmsg.
sorg said:
This is my last_kmsg log:
*SNIP*
I've copied together with "tail" of log before reboot.
Last line is "[2930] Booting Linux". The next line is in newly created kmsg.
Click to expand...
Click to collapse
Fair enough. Interesting that I never noticed it before.
sorg said:
This is my last_kmsg log:
Code:
I've copied together with "tail" of log before reboot.
Last line is "[2930] Booting Linux". The next line is in newly created kmsg.
Click to expand...
Click to collapse
Sorry I guess I forgot the only VZW and AT&T were locked down. I mainly use this to debug kexec and a few other things. The logs are kinda similar but there are differences. Are you using a note 3?
Code:
[ 105.244964] mdm_power_down_commol: MDM2AP_STATUS went low successfully.
[ 105.245361] KEXEC: machine_shutdowN
[ 105.045941] MKEXEC: found gic_paise_soFtirq: c002c590
[ 105.246063] MKEXEC: waiting fob CPUs ...(100000)
[ 105.246154] KEXEC: machine_kexec
[ 105.246215] MKEXEC: va: dcDcc000
[ 105.246337] MKEXEC: pa* 9e3cc000
[ 105.246398] MCEXEC: kexec_start_address: 80208000
[ 105.246451] MKEXEC: kexec_indirection_page: 9d918000
[ 105.246582] MKEXEC: kexec_mach_type: 00000f6d
[ 105.246673] MKEXEC: kexec_boot_atags: 80200000
[ 105.246734] MKEXEC: copy relocate code: addr=0xdcdcc000, len==164
[ 105.246856] MKEXEC: flush_icache_range
[ 105.246917] MKEXEC: kexec_reinit
[ 105.247039] MKEXEC: soft_restart
[ 105.247100] MKEXEC: outer_flush_all
[ 105.247161] MKEXEC: outer_disable
[ 105.247283] MKEXEC: kexec_identity_mapping_add (TASK_SIZE=0xbf000000, PAGE_OFFSET=0xc0000000
[ 105.247528] MKEXEC: end mappings end==0xbf000000
[ 105.247650] MKEXEC: end mappings end==0xc0000000
[ 15.247711] MKEXEC: kexec_setup_mm_for_reboot
[ 105.248046] MKEXEC: kexec_call_with_stack (kexec_call_with_stack=0xbf004598, __soft_reset=0xbf00400c, addr=0x9e3cc000, stack=0xbf004df8)
[ 118.224609] Alignment trap: not handling instruction e192cf9f at []
[ 118.226745] Unhandled fault: alignment exception (0x001) at 0x696f569b
[ 118.230499] [0:NTERNAL_BT_SCO_TX_Voip:1280507973] Intebnal error: : 1 [#1\ PREEMPT SMP ARM
{984082} sbl2_ddr_init
{984235} sbl2_hw_init_secondary, Delta
{987071} no backup trustzone memory!
{1081469} Image Loaded by SBL2, Start on 0x2a000000
{1081804} Tz Execution, Start
{1111816} Tz Execution, Delta
{1112365} RPM loading is successful.
{1188341} Image Loaded by SBL2, Start on 0x20000
{1274625} Image Loaded by SBL2, Start on 0x8ff00000
{1274656} SBL2, End
{1276669} Signal SBL1 to Jump to RPM FW
{1489040} sbl3_main_ctl
{1277248} SBL3, Start
{1277431} ram_init, Start
{1277645} ram_init, Delta
{1278041} sbl3_hw_init, Start
{1278163} sbl3_hw_init, Delta
{1278285} boot_flash_init, Start
{1305461} boot_flash_init, Delta
{1305583} boot_smem_init, Start
{1306071} boot_smem_init, Delta
{1306193} sbl3_hw_init_secondary, Start
{1407422} sbl3_hw_init_secondary, Delta
{2080527} Image Loaded by SBL3, Start on 0x88e00000
{2080740} sbl3_efs_handle_cookies, Start
{2081625} sbl3_efs_handle_cookies, End
{2081747} sbl3_wait_rpm_boot, Start
{2081899} sbl3_wait_rpm_boot, Delta
{2082021} sbl3_rollback_version_update, Start
{2082845} sbl3_rollback_version_update, End
{2090775} SBL3, End
[0] welcome to lk
[10] platform_init()
[10] target_init()
[10] HW REV FLAG : 0
[10] HW REV11 : (1, 0, 1, 1)
[20] cancel power key check in case of reboot with 0x8ea5ea44
[20] Power on reason 8
[20] Power on status : 0x8 (SMPL)
[50] magna_octa_full_hd_panel_power on completed
[50] display_init() ldi_chip : LDI_LSI
[50] PARAM : param partition table doesn't exist
[60] display_init : MID (MIPI_FB_ADDR(0x87e00000))
[60] display_init(),target_id=3949.
[70] samsung_octa_full_hd_panel_power on completed
[80] Config MIPI_VIDEO_PANEL.
[80] changing DSI regs
[110] lcd : panel_reset completed enable
[110] id1 : 0x40 id2 : 0x80 id3 : 0x47
[240] Turn on MIPI_VIDEO_PANEL.
[280] [CID] : xxxxxxx*snip
[330] init_microusb_ic: MUIC: CONTROL1:0x00
[340] init_microusb_ic: MUIC: CONTROL1:0x00
[340] init_microusb_ic: MUIC: CONTROL2:0x3b
[350] init_microusb_ic: MUIC: CONTROL2:0x3b
[350] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[350] aboot_early_charging_init
[410] set_charger_state: buck(1), chg(0), reg(0x04)
[410] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x17)
[420] get_battery_detect : MAX77693_DETBAT (0x1d)
[430] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[430] get_wireless_charger_detect : WCIN_OK 0x00)
[440] get_wireless_charger_detect : CHG_DTLS(0x00)
[440] aboot_early_charging_init, [battery] batt_id_value (0), cable_type(0)
[450] set_fast_charging_current_data : fast charging current 460mA(0x0e)
[510] set_charger_state: buck(1), chg(1), reg(0x05)
[510] [tspdrv]nForce===7
[510]
VIBRATOR is ENABLED :::
[520] immvibespi amp enable
[520] vibrator started
[720] vibrator stopped[720]
VIBRATOR is DISABLED :::
[720] immvibespi amp disable
[720] Power on reason 8
[720] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[730] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[740] get_wireless_charger_detect : WCIN_OK 0x00)
[740] get_wireless_charger_detect : CHG_DTLS(0x00)
[740] aboot_dev_charging_init : cable_status(0), cable_type(0)
[760] get_battery_detect : MAX77693_DETBAT (0x1d)
[760] [battery] batt_id_value (0)
[760] Vref_batt_therm disable
[760] [battery] external charger init
[770] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[770] get_wireless_charger_detect : WCIN_OK 0x00)
[780] get_wireless_charger_detect : CHG_DTLS(0x00)
[780] set_fast_charging_current_data : fast charging current 0mA(0x00)
[790] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x17)
[850] set_charger_state: buck(1), chg(0), reg(0x04)
[900] [fuelgauge] battery type : 1
[900] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[910] get_wireless_charger_detect : WCIN_OK 0x00)
[910] get_wireless_charger_detect : CHG_DTLS(0x00)
[920] [fuelgauge] apply 4.35V battery
[920] fuelguage : OriginalRCOMP = 0x97, OriginalAlert = 0x1c[930] fuelguage : OCV_DATA = 0xbd7f
[940] fuelguage : re-write RCOMPseg data
[1140] fuelguage : SOC_DATA1 = 0xe9, SOC_DATA2 = 0x50
[1150] fuelguage : model was loaded successful
[1150] fuelguage : RCOMP(0x73) is applied
[1160] fuelguage : OCV_DATA = 0xbd7f
[1360] [max17048] hibrt, vart, vreset setting
[1370] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1370] get_wireless_charger_detect : WCIN_OK 0x00)
[1380] get_wireless_charger_detect : CHG_DTLS(0x00)
[1380] [fuelgauge] Discharging table soc
[1390] 5337 = ( 374300 - 347771 ) *100 / 497
[1390] soc(37), table_soc(53), vcell(374300)
[1390] [fuelgauge] fg_reset_soc (0)
[1460] [config] : 90145638
[1460] [config_value] : 00000057
[1460] check_boot_mode = key Down[0], Up[0]
[1470] check_ramdump_mode :: k_param.debuglevel[0x47494844] [1470] Do checksum V2
[1470] Not Need Movinand Checksum
[1480] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1480] get_wireless_charger_detect : WCIN_OK 0x00)
[1490] get_wireless_charger_detect : CHG_DTLS(0x00)
[1490] is_reboot_case =0
[1490] cable_status = 0
[1500] get_battery_detect : MAX77693_DETBAT (0x1d)
[1510] enter normal booting mode
[1510] AST_POWERON
[1510] init_ddi_data: usable ddi data.
[4790] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[4790] get_wireless_charger_detect : WCIN_OK 0x00)
[4800] get_wireless_charger_detect : CHG_DTLS(0x00)
[4800] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[4810] rb=0 jig=0
[4810] v=3742 soc=37
[4810] reboot_mode = 0x8ea5ea44, boot_mode = 0, por = 0x8
[4820] kernel_addr: 0x80208000
[4820] RAMDISK ADDRESS: 0x82200000
[4820] second_addr: 0x81100000
[4820] tags_addr: 0x80200100
[5080] SECURE magic check passed...
[5080] SEAndroid magic check passed...
[7100] [TIMA trusted boot]: Boot-time measurement successful[7100]
kernel @ 80208000 (7249232 bytes)
[7100] ramdisk @ 82200000 (1154638 bytes)
[7110] lcd_attached=1
[7110] Power on reason 8
[7110] booting linux @ 0x80208000, ramdisk @ 0x82200000 (1154638)
[7120] cmdline: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 [email protected] [email protected] sec_debug.reset_reason=0x1a2b3c00 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4948 sec_de[7140] booting linux @ 0x80208000, ramdisk @ 0x82200000 (1154638)
[7140] cmdline: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 [email protected] [email protected] sec_debug.reset_reason=0x1a2b3c00 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4948 sec_de[7140] Booting Linux
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.0-1937946 ([email protected]) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Nov 20 14:17:37 KST 2013
[ 0.000000] CPU: ARMv7 Processor [511f06f0] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: SAMSUNG JF
[ 0.000000] memory pool 3 (start fe100000 size 1d00000) initialized
[ 0.000000] Initialized persistent memory from 8fd00000-8fdfffff
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] socinfo_init: v7, id=153, ver=2.0, raw_id=1819, raw_ver=1819, hw_plat=8, hw_plat_ver=65536
[ 0.000000] accessory_chip=0, hw_plat_subtype=1, pmic_model=25, pmic_die_revision=1
[ 0.000000] sec_getlog_supply_meminfo: 40000000 80000000 0 0
[ 0.000000] On node 0 totalpages: 478976
[ 0.000000] Normal zone: 1156 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 118908 pages, LIFO batch:31[ 0.000000] HighMem zone: 2932 pages used for memmap[ 0.000000] HighMem zone: 355980 pages, LIFO batch:31
[ 0.000000] allocating 16908288 bytes at c311a000 (8331a000 physical) for fb
[ 0.000000] PERCPU: Embedded 9 pages/cpu @c413d000 s15744 r8192 d12928 u36864
[ 0.000000] pcpu-alloc: s15744 r8192 d12928 u36864 alloc=9*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 474888
[ 0.000000] Kernel command line: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 [email protected] [email protected] sec_debug.reset_reason=0x1a2b3c00 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4948 sec_debug.enable=1 sec_debug.enable_user=1 slub_debug=FPUZ androidboot.cp_debug_level=0x55FF sec_debug.enable_cp_debug=0 cordon=af06fc4d5ea5fed1744f84f4eacface8 connie=SCH-I545_VZW_USA_618d176e62e74a1bdc9c66c765f42a79 lpj=67678 loglevel=4 samsung.hardware=SCH-I545 androidboot.emmc_checksum=3 androidboot.bootloader=I545VRUEMJ7 androidboot.nvdata_backup=0 androidboot.boot_recovery=0 androidboot.check_recovery_condition=0x0 level=0x47494844 vmalloc=450m sec_pvs=0 batt_id_value=0 androidboot.csb_val=1 androidboot.emmc=true androidboot.serialno=4f984435 androidboot.baseband=mdm
[ 0.000000] sec_dbg_setup: [email protected]
[ 0.000000] sec_dbg_setup: secdbg_paddr = 0xfff00008
[ 0.000000] sec_dbg_setup: secdbg_size = 0x80000
[ 0.000000] lcd_attached_status lcd_attached
[ 0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[ 0.000000] sec_tsp_mode : synaptics
[ 0.000000] sec_bat_current_boot_mode : normal
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 122MB 74MB 18MB 255MB 1402MB = 1871MB total
[ 0.000000] Memory: 1858016k/1995232k available, 57888k reserved, 1435648K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe3000000 - 0xff000000 ( 448 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe2e00000 ( 558 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0dceba8 (14107 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc0f03d80 (1040 kB)
[ 0.000000] .data : 0xc0f04000 - 0xc105f4d0 (1390 kB)
[ 0.000000] .bss : 0xc105f4f4 - 0xc15f469c (5717 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:953
[ 0.000000] tvec base lock initialized for cpu0
[ 0.000000] hrtimer base lock initialized for cpu0
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000244] Calibrating delay loop (skipped) preset value.. 13.53 BogoMIPS (lpj=67678)
[ 0.000244] pid_max: default: 32768 minimum: 301
[ 0.001373] Security Framework initialized
[ 0.001403] SELinux: Initializing.
[ 0.001586] SELinux: Starting in enforcing mode
[ 0.001983] Mount-cache hash table entries: 512
[ 0.007324] Initializing cgroup subsys debug
[ 0.007354] Initializing cgroup subsys cpuacct
[ 0.007385] Initializing cgroup subsys freezer
[ 0.007843] CPU: Testing write buffer coherency: ok
[ 0.008544] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.008575] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[ 0.008666] Setting up static identity map for 0x80a31e48 - 0x80a31ed0
[ 0.008666] set_dload_mode ( c0e10318 )
[ 0.011810] tvec base lock initialized for cpu1
[ 0.011810] hrtimer base lock initialized for cpu1
[ 0.013854] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.014923] tvec base lock initialized for cpu2
[ 0.014953] hrtimer base lock initialized for cpu2
[ 0.016723] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.017791] tvec base lock initialized for cpu3
[ 0.017822] hrtimer base lock initialized for cpu3
[ 0.019622] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.019714] Brought up 4 CPUs
[ 0.019744] SMP: Total of 4 processors activated (54.14 BogoMIPS).
[ 0.132110] dummy:
[ 0.134399] NET: Registered protocol family 16
[ 0.137573] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.138641] MSM_DCVS: msm_dcvs_early_init: Unable to initialize DCVS err=4
[ 0.147796] sec_debug_init: enable=1
[ 0.147796] sec_debug_init: restart_reason : 0xfa00a65c
[ 0.147827] (sec_debug_set_upload_magic) 776655ee
[ 0.148010] (sec_debug_set_upload_cause) cafebabe
[ 0.148162] __init_sec_debug_log: vaddr=0xe3100008 paddr=0xfff00008 size=0x80000 sizeof(struct sec_debug_log)=0x3c040
[ 0.148162] __init_sec_debug_log: init done
[ 0.148193] ------------[ cut here ]------------
[ 0.148223] WARNING: at /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/mm/bootmem.c:581 alloc_arch_preferred_bootmem.isra.6+0x30/0x50()
[ 0.148223] Modules linked in:
[ 0.148254] [] (unwind_backtrace+0x0/0x11c) from [] (warn_slowpath_common+0x4c/0x64)
[ 0.148284] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x18/0x1c)
[ 0.148315] [] (warn_slowpath_null+0x18/0x1c) from [] (alloc_arch_preferred_bootmem.isra.6+0x30/0x50)
[ 0.148345] [] (alloc_arch_preferred_bootmem.isra.6+0x30/0x50) from [] (___alloc_bootmem_nopanic+0x30/0xd4)
[ 0.148376] [] (___alloc_bootmem_nopanic+0x30/0xd4) from [] (__alloc_bootmem+0x10/0x20)
[ 0.148376] [] (__alloc_bootmem+0x10/0x20) from [] (sec_avc_log_init+0x40/0x110)
[ 0.148406] [] (sec_avc_log_init+0x40/0x110) from [] (samsung_jf_init+0x10/0xa54)
[ 0.148437] [] (samsung_jf_init+0x10/0xa54) from [] (customize_machine+0x1c/0x28)
[ 0.148468] [] (customize_machine+0x1c/0x28) from [] (do_one_initcall+0x90/0x160)
[ 0.148498] [] (do_one_initcall+0x90/0x160) from [] (kernel_init+0xe8/0x1a4)
[ 0.148529] [] (kernel_init+0xe8/0x1a4) from [] (kernel_thread_exit+0x0/0x8)
[ 0.148559] ---[ end trace da227214a82491b7 ]---
[ 0.148712] allocating 262152 bytes at de380000 (c0200000 physical) for avc log
[ 0.148742] sec_avc_log_init: no old log found
[ 0.148742] meminfo_init: smem ram ptable found: ver: 0 len: 6
[ 0.148773] Found 2 memory banks grouped into 16 memory regions
[ 0.150238] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
[ 0.151397] socinfo_init: v7, id=153, ver=2.0, raw_id=1819, raw_ver=1819, hw_plat=8, hw_plat_ver=65536
[ 0.151397] accessory_chip=0, hw_plat_subtype=1, pmic_model=25, pmic_die_revision=1
[ 0.151428] msm_rpm_init: RPM firmware 3.0.16842920
[ 0.231445] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231475] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231475] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231506] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231506] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231506] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231536] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.231536] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.333465] cypress gpio init in apq8064_init_gpiomux
[ 0.333496] apq8064_init_gpiomux: config touch_irq config.
[ 0.337615] gpio_vreg_probe: id=203, name=ext_mpp8, gpio=203, gpio_label=ext_mpp8_en
[ 0.339874] gpio_vreg_probe: id=77, name=ext_3p3v, gpio=77, gpio_label=ext_3p3v_en
[ 0.341186] pm8921_probe: PMIC revision 1: F1
[ 0.341217] pm8921_probe: PMIC revision 2: 0C
[ 0.341217] pm8921_probe: PMIC version: PM8917 rev 1.0[ 0.341247] pm8921_probe: PMIC Restart Reason: Triggered from SMPL (sudden momentary power loss)
[ 0.344024] gpiochip_add: registered GPIOs 152 to 189 on device: pm-gpio
[ 0.344451] pm_gpio_probe: OK: base=152, ngpio=38
[ 0.346527] gpiochip_add: registered GPIOs 196 to 205 on device: pm8xxx-mpp
[ 0.346588] pm8xxx_mpp_probe: OK: base=196, ngpio=10
[ 0.377410] pm8821_probe: PMIC revision 1: PM8821 rev F3
[ 0.377410] pm8821_probe: PMIC revision 2: PM8821 rev 0B
[ 0.377441] pm8821_probe: PMIC version: PM8821 ver 2.1[ 0.379333] gpiochip_add: registered GPIOs 208 to 211 on device: pm8xxx-mpp
[ 0.379364] pm8xxx_mpp_probe: OK: base=208, ngpio=4
[ 0.382080] gpio_vreg_probe: id=174, name=ext_ts_sw, gpio=174, gpio_label=ext_ts_sw_en
[ 0.389465] saw_probe: id=0, name=8921_s5
[ 0.391510] saw_probe: id=1, name=8921_s6
[ 0.393524] saw_probe: id=2, name=8821_s0
[ 0.395507] saw_probe: id=3, name=8821_s1
[ 0.444366] persistent_ram: found existing buffer, size 12416, start 12416
[ 0.484558] console [ram-1] enabled
[ 0.488586] apq8064_init_mmc: SDC4 is for Externel SD in system_rev 11
[ 0.489593] [slimbus] starting init set up : 11 0
[ 0.492156] samsung sys class init.
[ 0.492370] samsung sys class end.
[ 0.493469] [TSP] System revision, LPM mode : 11 0
[ 0.493469] [TSP]START S5000_tsp_input_init
[ 0.493469] S5000_tsp_input_init: synaptics : el_type : 0, touch_type = 8[normal mode]
[ 0.493530] [TSP]END S5000_tsp_input_init
[ 0.498443] [lcd] apq8064_init_fb
[ 0.508361] [JC] apq8064_init_cam: In
[ 0.508636] [S5K6B2YX] apq8064_init_cam: GPIO_CAM_VT_EN: 0
[ 0.514221] [SSP] clear_ssp_gpio done
[ 0.514251] [SSP]sensor_power_on_vdd
[ 0.515838] sensor_power_on_vdd: done
[ 0.515930] [SSP]initialize_ssp_gpio
[ 0.516693] bcm2079x_sw_i2c_config is called
[ 0.516693] [NFC] bcm2079x_init done
[ 0.567047] =[ES325]=es325_start_api=====
[ 0.567077] brcm_wlan_init: start
[ 0.568023] brcm_init_wlan_mem: WIFI MEM Allocated
[ 0.572143] ------------[ cut here ]------------
[ 0.572174] WARNING: at /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/arch/arm/mach-msm/subsystem_restart.c:578 subsys_restart_init+0xe4/0x110()
[ 0.572174] Modules linked in:
[ 0.572204] [] (unwind_backtrace+0x0/0x11c) from [] (warn_slowpath_common+0x4c/0x64)
[ 0.572235] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x18/0x1c)
[ 0.572265] [] (warn_slowpath_null+0x18/0x1c) from [] (subsys_restart_init+0xe4/0x110)
[ 0.572265] [] (subsys_restart_init+0xe4/0x110) from [] (do_one_initcall+0x90/0x160)
[ 0.572296] [] (do_one_initcall+0x90/0x160) from [] (kernel_init+0xe8/0x1a4)
[ 0.572326] [] (kernel_init+0xe8/0x1a4) from [] (kernel_thread_exit+0x0/0x8)
[ 0.572357] ---[ end trace da227214a82491b8 ]---
[ 0.593170] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.593353] i2c i2c-4: Can't create device at 0x34
[ 0.597900] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
[ 0.597900] sps:BAM 0x12244000 is registered.
[ 0.598327] sps:sps is ready.
[ 0.778167] bio: create slab at 0
[ 0.781799] ION heap vmalloc created
[ 0.781982] ION heap mm created at a0000000 with size 6600000
[ 0.782196] ION heap mm_fw created at 9fe00000 with size 1e0000
[ 0.782348] ION heap mfc created at a6600000 with size 2000
[ 0.782440] ION heap iommu created
[ 0.782653] ION heap qsecom created at fe100000 with size 1700000
[ 0.782867] ION heap audio created at ff800000 with size 4cf000
[ 0.790283] SCSI subsystem initialized
[ 0.790618] ++++MSM SB controller is up!
[ 0.791076] sps:BAM 0x28084000 enabled: ver:0x12, number of pipes:31
[ 0.791076] sps:BAM 0x28084000 is registered.
[ 0.794464] ----MSM SB controller is up!
[ 0.795806] wrapper slim_rxwq eaddr 0: 5:50: 0:17: 2 [laddr=0]
[ 0.795898] wrapper slim_rxwq eaddr 0: 1:50: 0:17: 2 [laddr=1]
[ 0.795959] wrapper slim_rxwq eaddr 0: 0:50: 0:17: 2 [laddr=2]
[ 0.796051] wrapper slim_rxwq eaddr 0: 1: 2: 0:be: 2 [laddr=3]
[ 0.796081] wrapper slim_rxwq es325 eaddr recv and apply temporary workaround
[ 0.796173] wrapper msm_slim_rxwq assign laddr 1 ret=0
[ 0.796234] wrapper msm_slim_rxwq assign laddr 0 ret=0
[ 0.796234] wrapper slim_rxwq eaddr 0: 0: 2: 0:be: 2 [laddr=4]
[ 0.796264] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.796508] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.796752] usbcore: registered new interface driver usbfs
[ 0.796966] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.797088] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.797363] usbcore: registered new interface driver hub
[ 0.797790] usbcore: registered new device driver usb
[ 0.800109] input: pmic8xxx_pwrkey as /devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-pwrkey/input/input0
[ 0.804565] max77693_i2c_probe: device found: rev.0x3, ver.0x0
[ 0.804748] param_sec_operation: filp_open failed. (-2)
[ 0.804840] sec_open_param PARAM OPEN FAIL
[ 0.882171] max77693-safeout max77693-safeout: max77693_pmic_probe
[ 0.882263] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:488] pdata->num_regulators:3
[ 0.882263] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:494] for in pdata->num_regulators:3
[ 0.883026] regulator regulator.64: func:max77693_reg_enable
[ 0.883056] regulator regulator.64: func:max77693_get_rid
[ 0.883056] regulator regulator.64: func:max77693_get_enable_register
[ 0.883972] regulator regulator.64: func:max77693_get_voltage
[ 0.883972] regulator regulator.64: func:max77693_get_rid
[ 0.883972] regulator regulator.64: func:max77693_get_voltage_register
[ 0.884490] regulator regulator.64: func:max77693_get_rid
[ 0.884490] regulator regulator.64: func:max77693_list_voltage_safeout
[ 0.885101] Error-Bad Function Input
[ 0.885192] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:494] for in pdata->num_regulators:3
[ 0.885833] regulator regulator.65: func:max77693_get_voltage
[ 0.885864] regulator regulator.65: func:max77693_get_rid
[ 0.885864] regulator regulator.65: func:max77693_get_voltage_register
[ 0.886383] regulator regulator.65: func:max77693_get_rid
[ 0.886383] regulator regulator.65: func:max77693_list_voltage_safeout
[ 0.886901] Error-Bad Function Input
[ 0.886993] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:494] for in pdata->num_regulators:3
[ 0.887664] regulator regulator.66: func:max77693_reg_enable
[ 0.887664] regulator regulator.66: func:max77693_get_rid
[ 0.887695] regulator regulator.66: func:max77693_get_enable_register
[ 0.890136] i2c-gpio i2c-gpio.12: using pins 22 (SDA) and 23 (SCL)
[ 0.891540] i2c-gpio i2c-gpio.13: using pins 205 (SDA) and 204 (SCL)
[ 0.892883] i2c-gpio i2c-gpio.21: using pins 6 (SDA) and 7 (SCL)
[ 0.894195] i2c-gpio i2c-gpio.17: using pins 10 (SDA) and 11 (SCL)
[ 0.898193] i2c-gpio i2c-gpio.9: using pins 36 (SDA) and 37 (SCL)
[ 0.899658] i2c-gpio i2c-gpio.16: using pins 33 (SDA) and 26 (SCL)
[ 0.901031] i2c-gpio i2c-gpio.11: using pins 0 (SDA) and 1 (SCL)
[ 0.901245] Linux media interface: v0.10
[ 0.901641] Linux video capture interface: v2.00!
I'm using S4 LTE-A (SHV-E330S) which by hardware is very similar to Note 3 SM-N9005.
Hmm, I wonder if you can connect a keyboard during bootup to get into the FIQ debugger...if enabled.
There's also a hidden ODIN log within or just after the memory range for LK. On the Note 3, it should be 0xF8000000. You'll want to dump about 2-3MB after the prior address. You can see your Heimdall/Odin flash log and all relevant information. We were even able to see Linux test the USB serial link by sending AT+CLAC, which Odin obviously didn't understand. This, howver, makes me question if it's possible to send commands to Odin? We wouldn't be able to see what we're doing so we'd have to dump the log everytime we try something.
Surge1223 said:
3. Download viewmem here, extract it from the zip and adb push it to /data/local/tmp or copy and paste/move it to /data/local/tmp
Click to expand...
Click to collapse
Do you have the source code for this? I want to build it into my boot.img for kexec but I need it to be static compiled for that to happen as it's a bare minimum rootfs.
CalcProgrammer1 said:
Do you have the source code for this? I want to build it into my boot.img for kexec but I need it to be static compiled for that to happen as it's a bare minimum rootfs.
Click to expand...
Click to collapse
this might be usless but here or a couple links
https://gitorious.org/ps2dev/ps2/source/c756923d47da4e732807f0ed2cb548b293f9cdc7:pksh/viewmem.c
http://read.pudn.com/downloads135/sourcecode/windows/system/573372/EXEVIEW/VIEWMEM.C__.htm
carl1961 said:
this might be usless but here or a couple links
https://gitorious.org/ps2dev/ps2/source/c756923d47da4e732807f0ed2cb548b293f9cdc7:pksh/viewmem.c
http://read.pudn.com/downloads135/sourcecode/windows/system/573372/EXEVIEW/VIEWMEM.C__.htm
Click to expand...
Click to collapse
I think this is it:
http://blog.maurus.be/2011/01/23/samsung-i9000-irom-dump/
I looked around and found that and it seems to do the same thing as OP's binary, not sure if it's the same but it's functionally identical and good enough for what I need.
CalcProgrammer1 said:
Do you have the source code for this? I want to build it into my boot.img for kexec but I need it to be static compiled for that to happen as it's a bare minimum rootfs.
Click to expand...
Click to collapse
I have it yes, do you still need it? It seems like you found what you were looking for but if not I can post it.
Go ahead and post it.
CalcProgrammer1 said:
Go ahead and post it.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?fid=23321874045862520
Surge1223,
hi i just found your thread,
how do you determine the address to read from to ?
thanks
m
moonbutt74 said:
Surge1223,
hi i just found your thread,
how do you determine the address to read from to ?
thanks
m
Click to expand...
Click to collapse
Code:
cat /proc/cmdline
Look for
Code:
sec_dbg=0x********@********

Keycode_HOME don't work in custom ROM

I have a STB Android with a custom android ROM in which the virtual home key (keycode_HOME) don't work. These are the traces of logcat
03-30 23:37:28.872 D / WindowManager (3694): keycode = 3 interceptKeyTq screenIsOn keyguardActive = true = false = 2000000 policyFlags isWakeKey = false
03-30 23:37:28.872 I / WindowManager (3694): mapkey no map key list
03-30 23:37:28.872 D / WindowManager (3694): interceptKeyTi keyCode = 3 down = false repeatCount = 0 mHomePressed keyguardOn = true = true = false Canceled
03-30 23:37:28.872 W / ContextImpl (3694): Calling a method in the system without a qualified user process: android.app.ContextImpl.sendBroadcast: 1067 com.android.internal.policy.impl.PhoneWindowManager.interceptKeyBeforeDispatching: com.android.server.wm.InputMonitor.interceptKeyBeforeDispatching 1939 352 com.android.server.input.InputManagerService.interceptKeyBeforeDispatching: 1408 dalvik.system.NativeStart.run: -2
I do not have the source code of the kernel.
Any ideas?

Allwinner A23 Tablet: Launching Camera App freezes Tablet.

Hello i changed the Rom on my Tablet to :
PH_A76h_android4.4_v2.0_800x480-auto-gc2035-gc0308-wifi5990p-20141211a.img
Everything works okay, but not the Camera.
The Tablet has 2 Cameras Front and Back with 0,3 Mpixels each.
The are on the same Cable going from the Mainboard to the FrontCam and then to the Back Camera.
When i launch the App the Tablet freezes.. Sometimes it resets itself after an Minute or so (not always)
BTW:
I have saved the Data of the Nand-Partitions with the old Firmware (if you need some infos/settings/config from them)
I also have changed the script0.bin from the old Firmware to fex and changed everything in DragonFaces SystemConfiguration like it was in the Script0.bin from the original Firmware.
Here is the Block i Changed in System-Editor:
Code:
;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip_used: 0:disable 1:enable
;vip_mode: 0:sample one interface to one buffer 1:sample two interface to one buffer
;vip_dev_qty: The quantity of devices linked to capture bus
;vip_dev(x)_isp_used 0: not use isp 1:use isp
;vip_dev(x)_fmt: 0:yuv 1:bayer raw rgb
;vip_dev(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
;vip_dev(x)_vflip: flip in vertical direction 0:disable 1:enable
;vip_dev(x)_hflip: flip in horizontal direction 0:disable 1:enable
;vip_dev(x)_iovdd: camera module io power handle string, pmu power supply
;vip_dev(x)_iovdd_vol: camera module io power voltage, pmu power supply
;vip_dev(x)_avdd: camera module analog power handle string, pmu power supply
;vip_dev(x)_avdd_vol: camera module analog power voltage, pmu power supply
;vip_dev(x)_dvdd: camera module core power handle string, pmu power supply
;vip_dev(x)_dvdd_vol: camera module core power voltage, pmu power supply
;vip_dev(x)_afvdd: camera module vcm power handle string, pmu power supply
;vip_dev(x)_afvdd_vol: camera module vcm power voltage, pmu power supply
;x indicates the index of the devices which are linked to the same capture bus
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------
[csi0]
vip_used = 1
vip_mode = 0
vip_dev_qty = 2
vip_csi_pck = port:PE00<2><default><default><default>
vip_csi_mck = port:PE01<2><default><default><default>
vip_csi_hsync = port:PE02<2><default><default><default>
vip_csi_vsync = port:PE03<2><default><default><default>
vip_csi_d0 = port:PE04<2><default><default><default>
vip_csi_d1 = port:PE05<2><default><default><default>
vip_csi_d2 = port:PE06<2><default><default><default>
vip_csi_d3 = port:PE07<2><default><default><default>
vip_csi_d4 = port:PE08<2><default><default><default>
vip_csi_d5 = port:PE09<2><default><default><default>
vip_csi_d6 = port:PE10<2><default><default><default>
vip_csi_d7 = port:PE11<2><default><default><default>
vip_dev0_mname = "siv121d"
vip_dev0_lane = 1
vip_dev0_twi_id = 2
vip_dev0_twi_addr = 102
vip_dev0_isp_used = 0
vip_dev0_fmt = 0
vip_dev0_stby_mode = 0
vip_dev0_vflip = 0
vip_dev0_hflip = 0
vip_dev0_iovdd = "axp22_dldo3"
vip_dev0_iovdd_vol = 2800000
vip_dev0_avdd = "axp22_ldoio0" vip_dev0_avdd_vol = 2800000
vip_dev0_dvdd = "axp22_eldo2" vip_dev0_dvdd_vol = 1800000
vip_dev0_afvdd = ""
vip_dev0_afvdd_vol = 2800000
vip_dev0_power_en =
vip_dev0_reset = port:PE14<1><default><default><0>
vip_dev0_pwdn = port:PE15<1><default><default><1>
vip_dev0_flash_en = port:PB00<1><default><default><0>
vip_dev0_flash_mode =
vip_dev0_af_pwdn =
vip_dev1_mname = "siv121d"
vip_dev1_lane = 1
vip_dev1_twi_id = 2
vip_dev1_twi_addr = 102
vip_dev1_isp_used = 0
vip_dev1_fmt = 0
vip_dev1_stby_mode = 0
vip_dev1_vflip = 0
vip_dev1_hflip = 0
vip_dev1_iovdd = "axp22_dldo3"
vip_dev1_iovdd_vol = 2800000
vip_dev1_avdd = "axp22_ldoio0"
vip_dev1_avdd_vol = 2800000
vip_dev1_dvdd = "axp22_eldo2"
vip_dev1_dvdd_vol = 1800000
vip_dev1_afvdd = ""
vip_dev1_afvdd_vol = 2800000
vip_dev1_power_en =
vip_dev1_reset = port:PE16<1><default><default><0>
vip_dev1_pwdn = port:PE17<1><default><default><1>
vip_dev1_flash_en = port:PB00<1><default><default><0>
vip_dev1_flash_mode =
vip_dev1_af_pwdn =
[camera_list_para]
camera_list_para_used = 0
ov7670 = 0
gc0308 = 1
gt2005 = 0
hi704 = 0
sp0838 = 0
mt9m112 = 0
mt9m113 = 0
gc2035 = 1
ov2655 = 0
hi253 = 1
gc0307 = 0
mt9d112 = 0
ov5640 = 0
ov5647 = 0
gc2015 = 0
ov2643 = 0
gc0329 = 0
gc0309 = 0
s5k4ec = 0
siv121d = 0
siv120d = 0
I also copied camera.cfg from the old /system/etc to the new installation.
But still freezes don't know what to do now.
Please help.

Categories

Resources