[Hardware Hacking General] zianna123:
Log of forcing the modem to go into upload mode

here i got the modem to forcefully go into upload mode....

[ 68.742921] [kernel_sec_dump_set_cp_upload] set cp upload mode, MailboxBA 0xa
bcd00c9
[ 73.742515] - Fail to set CP uploadmode.
[ 73.745485] modem_wait_count : 501
[ 73.749348] (kernel_sec_save_final_context) Final context was saved before th
e system reset.
[ 73.757452] (kernel_sec_set_upload_cause) : upload_cause set 22
[ 73.763650] (kernel_sec_hw_reset) ARIES_BUILD_INFO: HWREV: f Date:May 4 2011
Time:18:15:10
[ 73.771959] (kernel_sec_hw_reset) The forced reset was called. The system wil
l be reset !!
1
-----------------------------------------------------------
Samsung Primitive Bootloader (PBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010
-----------------------------------------------------------

+n1stVPN 2688
+nPgsPerBlk 64
+n1stVPN 3008
+nPgsPerBlk 64
PBL found bootable SBL: Partition(4).

Set cpu clk. from 400MHz to 800MHz.
OM=0x9, device=OnenandMux(Audi)
IROM e-fused - Non Secure Boot Version.

-----------------------------------------------------------
Samsung Secondary Bootloader (SBL) v3.0
Copyright (C) Samsung Electronics Co., Ltd. 2006-2010

Board Name: ARIES REV 03
Build On: May 4 2011 18:15:46
-----------------------------------------------------------

Re_partition: magic code(0x66262564)
[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 = 12
partitions loading success
board partition information update.. source: 0x0
.Done.
read 1 units.
==== PARTITION INFORMATION ====
ID : IBL+PBL (0x0)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 0
NO_UNITS : 1
===============================
ID : PIT (0x1)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1
NO_UNITS : 1
===============================
ID : EFS (0x14)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 2
NO_UNITS : 40
===============================
ID : SBL (0x3)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 42
NO_UNITS : 5
===============================
ID : SBL2 (0x4)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 47
NO_UNITS : 5
===============================
ID : PARAM (0x15)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 52
NO_UNITS : 20
===============================
ID : KERNEL (0x6)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 72
NO_UNITS : 30
===============================
ID : RECOVERY (0x7)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 102
NO_UNITS : 30
===============================
ID : FACTORYFS (0x16)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 132
NO_UNITS : 1146
===============================
ID : DBDATAFS (0x17)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1278
NO_UNITS : 536
===============================
ID : CACHE (0x18)
ATTR : RW STL SLC (0x1101)
FIRST_UNIT : 1814
NO_UNITS : 140
===============================
ID : MODEM (0xb)
ATTR : RO SLC (0x1002)
FIRST_UNIT : 1954
NO_UNITS : 50
===============================
loke_init: j4fs_open success..
load_lfs_parameters valid magic code and version.
load_debug_level reading debug level from file successfully(0x47494844).
quick_start- quick start is executed!
init_fuel_gauge: vcell = 3800mV, soc = 39
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQ1 = 0x0
PMIC_IRQ2 = 0x0
PMIC_IRQ3 = 0x0
PMIC_IRQ4 = 0x0
PMIC_STATUS1 = 0x40
PMIC_STATUS2 = 0x2c
get_debug_level current debug level is 0x47494844.
get_debug_level current debug level is 0x47494844.
get_debug_level current debug level is 0x47494844.
aries_process_platform: Debug Level High
keypad_scan: key value ----------------->= 0x0
CONFIG_ARIES_REV:48 , CONFIG_ARIES_REV03:48
aries_process_platform: final s1 booting mode = 3
AST_UPLOAD..
RST_STAT = 0x4
display_aries_upload_image: upload code = 0x40000022
DISPLAY_PATH_SEL[MDNIE 0x1]is on
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!

Modem Booting retry ...10
DRV_modem_reset!!!!!!!!!!!!!!!!!
..................................................done
Modem read success from modem partition.

[DRV_Get_Boot_Bin] : Modem Base Addr 0x841100000
===================================
Modem Boot first 16 bytes
0x46 0x e 0x 0 0xea 0x6c 0x69 0x48 0x55 0x 1 0xa0 0xfe 0xfd 0x 7 0x 0 0x 1 0x 0
===================================
DRV_Get_Boot_Bin: completed!
1
2
4
DRV_modem_reset: completed!
DRV_Send_ModemBootloader
receive byte from CP
CP send response
AP send PSI binary
CP CRC checking OK
receive byte from CP: 0x1
CP PSI branch OK
DRV_Wait_ModemInit!!!!!!!!!!!!!!!!!

Modem boot in UPLOAD mode..DRV_Setting_ModemUploadMode!!!!!!!!!!!!!!!!!
DRV_Modem_BootingStart
new usb_upload()
usb_power_start()