Introduction
Why is UART useful? It's a debugging tool. During the boot sequence on most computers, you see a splash screen. On most computers, you can hit 'ESC' to see the diagnostics in the background and then press a key like 'F2' to jump into the BIOS and make changes. On our devices we don't have that option.
On the Nook we have U-Boot which functions as a BIOS. We press 'Space Bar' to get into the U-Boot options. UART allows you to get into the U-Boot and make changes, as well as view the logs as they are generated. See the following code block for an example output
Code:
Texas Instruments X-Loader 1.41 (Oct 21 2011 - 14:00:05)
Start not on PWRON, skipping power button check.
Starting OS Bootloader from EMMC ...
U-Boot 1.1.4-acclaim1.4_1.4.0.1029^{} (Nov 11 2011 - 12:34:20)
Load address: 0x80e80000
DRAM: 1024 MB
Using default environment
In: serial
Out: serial
Err: serial
hw_status 0x23 vbus_status 0x80
mmc read: Invalid size
mmc read: Invalid size
2 bytes read
MAX17042+UBOOT: battery type=LG
MAX17042+UBOOT: gas gauge detected (0x0000)
MAX17042_STATUS (00h) is 0x0000
MAX17042+UBOOT: BATTERY Detected!
MAX17042+UBOOT:WARM BOOT
mmc read: Invalid size
mmc read: Invalid size
40 bytes read
Valid max17042 init data is loaded into memory
0x1234
0x215b
0x00d6
0x2037
0x0000
0x0100
0x007e
0x3670
0x078f
0x0000
0x0000
0x6435
0x2f2c
0x0140
0x7d5a
0x87a4
0x1400
0x205c
0x205c
0x6046
verify if mem loaded: FullcapNom was saved as 2037
uboot verify: 1d CONFIG is 2210 ; should be 2210 & 0xFDFB
uboot verify: 2a RELAXCFG is 083b ; should be 083b
uboot verify: 29 FILTERCFG is 87a4 ; should be 87a4
uboot verify: 28 LEARNCFG is 2466 ; should be 2406 & 0xFF0F
uboot verify: 18 DesignCap is 205c ; should be 205c
uboot verify: 12 Vempty is 7d5a ; should be 7d5a
uboot verify: 25 TEMPLIM is 2305 ; should be 2305
uboot verify: 2b MiscCFG is 0810 ; should be 0810 & cc1f
uboot verify: 2c TGAIN is e3e1 ; should be e3e1
uboot verify: 2d TOFF is 290e ; should be 290e
uboot verify: 2e CGAIN is 4000 ; should be 4000
uboot verify: 2f COFF is 0000 ; should be 0000
uboot verify: 37 FCTC is 05e0 ; should be 05e0
MAX17042+UBOOT: warm config is okay
SOC 90%, booting.
Board revision PVT
mmc read: Invalid size
mmc read: Invalid size
16 bytes read
ptn 0 name='xloader' start=256 len=131072
ptn 1 name='bootloader' start=512 len=262144
ptn 2 name='recovery' start=1024 len=15728640
ptn 3 name='boot' start=32768 len=16777216
ptn 4 name='rom' start=65536 len=50331648
ptn 5 name='bootdata' start=163840 len=50331648
ptn 6 name='factory' start=262144 len=387973120
ptn 7 name='system' start=1019904 len=641728512
ptn 8 name='cache' start=2273280 len=446693376
ptn 9 name='media' start=3145728 len=1073741824
ptn 10 name='userdata' start=5242880 len=64991232
mmc read: Invalid size
1088 bytes read
BCB found, checking...
** Unable to use mmc 0:1 for fatload **
** Unable to use mmc 0:1 for fatload **
** Unable to use mmc 0:1 for fatload **
Booting into Android
mmc read: Invalid size
mmc read: Invalid size
4 bytes read
BootCnt 2
1 bytes written
Autobooting in 0 seconds, press <SPACE> to stop...
kernel @ 80088120 (2682952)
ramdisk @ 81080000 (157153)
Initrd start : 81080000 , Initrd end : 810a64c1Acclaim Board.
Starting kernel ...
Linux version 2.6.35.7 ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 SMP PREEMPT Fri Nov 11 12:35:42 PST 2011
CPU: ARMv7 Processor [411fc093] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP4430 ACCLAIM
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 245760
free_area_init_node: node 0, pgdat c0587e00, node_mem_map c062a000
Normal zone: 1536 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 178688 pages, LIFO batch:31
HighMem zone: 512 pages used for memmap
HighMem zone: 65024 pages, LIFO batch:15
***********************
OMAP4430 ES2.3 type(HS)
id-code (6b95c02f)
Die-id (5C360006-00000001-09111715-1601D00D)
Prod-id (000DB95C-000600CC)
***********************
SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0x100000
FIXME: omap44xx_sram_init not implemented
Reserving 33554432 bytes SDRAM for VRAM
SMC: Allocated workspace of 3M at (0x9c900000)
PERCPU: Embedded 7 pages/cpu @c0e37000 s5632 r8192 d14848 u65536
pcpu-alloc: s5632 r8192 d14848 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243712
Kernel command line: androidboot.console=ttyO0 console=ttyO0,115200n8 [email protected] [email protected] init=/init rootwait vram=32M,82000000 omapfb.vram=0:[email protected]
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 448MB 256MB 256MB = 960MB total
Memory: 935252k/935252k available, 47788k reserved, 262144K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xf0800000 - 0xf8000000 ( 120 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc003d000 ( 212 kB)
.text : 0xc003d000 - 0xc053f000 (5128 kB)
.data : 0xc0540000 - 0xc05888c0 ( 291 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
You will need
In order to get started you will need some things. Here's what you will need.
Torx T5 screw driver (the star kind)
Soldering iron ( any soldering iron)
Case opener tool ( or guitar pick or something small and plastic)
30-40 AWG wire (small wires)
1.8V UART to USB converter (Like The Bus Priate)
Tweezers (Makes it easier to handle small things)
Most of the tools and parts used can be obtained at Lowes or Radio Shack
For a UART device, I recommend The Bus Pirate. The Bus Pirate is known as "The Hacker's Multi-tool" and it is useful for alot more than just UART. It is an Open-Source, Open-Hardware, community supported tool. You can get it from SeeedStudios.com for $27.15.
Instructions
There are several ways to set up UART. Here is how I set up mine.
Image 1:
{
"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"
}
Disassembly
If you have an SDCard inserted, remove it.
Remove two(2) T5 Torx screws securing the back cover to the unit
Using the Case Opener tool, pry the rear cover off the unit. It is held on by small plastic hooks. They are fairly durable and I have not broken any in several removal and installations.
Remove ten(10) T5 torx screws from the metal case which secure the front cover
Image 2:
disconnect the battery and the volume control swich connections which are accessible through holes in the metal case.
Remove the front cover using a case opener tool or your bare hands, whichever is more comfortable for you
Remove the board and LCD from the metal case
Modification
Image 3:
Locate the UART RX and TX lines on the board shown in Image2.
You can hook your UART device to this directly, RX to TX and TX to RX, or keep reading and I'll show you how I set mine up. so..
Stop here and use UART or continue on for a cleaner method
run 40 awg wire to a piece of perf-board, about 8 holes wide.
Using 20 awg wire, make a loop on the perf-board which joins two holes in two spots on the small piece of perf-board
attach the UART RX
Image 4:
Route the wires along the board and tape them down
Use epoxy to mount the perfboard. It should be mounted at a very slight downward angle. Set something under the board while it dries. This gives room for the case to close.
Reassemble the unit, Assembly is reverse of Disassembly.
Image 5:
Hook up RX, TX to your perf-board hooks and connect ground to the metal case.
Image 6:
You will now be able to talk to your UART device using
Baud: 115200
Bits: 8
Parity: None
Stop Bits: 1
Voltage: 1.8 (open drain)
For the Bus Pirate, get it working in a termianal and use the following settings:
Code:
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
9. DIO
x. exit(without change)
(1)>3
Set serial port speed: (bps)
1. 300
2. 1200
3. 2400
4. 4800
5. 9600
6. 19200
7. 38400
8. 57600
9. 115200
10. BRG raw value
(1)>9
Data bits and parity:
1. 8, NONE *default
2. 8, EVEN
3. 8, ODD
4. 9, NONE
(1)>1
Stop bits:
1. 1 *default
2. 2
(1)>1
Receive polarity:
1. Idle 1 *default
2. Idle 0
(1)>1
Select output type:
1. Open drain (H=Hi-Z, L=GND)
2. Normal (H=3.3V, L=GND)
(1)>1
Ready
UART>(3)
Conclusion
For those of you helping with security bypass methods, this will surely be useful as it will tell you when a secure failure is encountered. For those of you who want to experiment with U-Boot or a cool electronics project, I'd encourage you to try this. There's not alot that can go wrong because the board is well built and fairly heat resistant and the tools/parts used in this mod are available from several sources.
I hope this was informative and/or interesting for you to read.
Thanks to pokey9000 for pointing me to the right area.
A few lines before the kernal starts loading, it has bootcnt 2. What does this mean and what happens if it is modified? Or is any modification break the secure CHAIN?
Also, what would happen if it didn't autoboot in 0 seconds and you could hit the spacebar?
Sent from my BNTV250 using Tapatalk
HMG10 said:
A few lines before the kernal starts loading, it has bootcnt 2. What does this mean and what happens if it is modified? Or is any modification break the secure CHAIN?
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
That's the number of boots since the counter was reset. After 8 failed boots, the device will go into recovery and restore all firmware.
this is great! I have been looking at my arduino and my pandaII (.netMF) dev boards and my tablet for a few days now.
Glad I dont have to pull out the logic analyser and find those pins..
servergod said:
this is great! I have been looking at my arduino and my pandaII (.netMF) dev boards and my tablet for a few days now.
Glad I dont have to pull out the logic analyser and find those pins..
Click to expand...
Click to collapse
that's exactly what I did...
Adafruit's FTDI Friend should also do the trick, $10 less.
I changed up my UART connection. I feel this is much cleaner and runs less wire through the nook. This makes it into a really good development device.
This new setup is made with a piece of perf-board from Radio Shack and it's held onto the nook using double-sided tape. Here are some pictures:
The wires are routed through the crack in the back cover and run to the same points mentioned in the Original Post. The 3rd connection (middle) here is Ground. Ground is the point on the board closest to the edge and furthest from UART TX in the staggered group of pins..
I thought I'd update this... I though I'd update this after a few weeks of working with it. The external connection works very well. It is easy to remove and replace if required with just 3 solder joints if required. The external perf-board is very unobtrusive, and does not interfere with operation.
I also found a case that works well with this modification. it's called "Mini Suit" for Nook Tablet.
If you go with this method and need a case, Mini Suit will suit you.
Adam,
In picture 3 you have a diagram that shows the pinout for uart tx and rx on the nook tablet (appears to be the left two pins of the 4 in the diagram), but if you look closely at picture 4, the top wire appears to be soldered to the top right pin rather than the top left pin as show on the diagram in picture 3. Is this just an optical illusion?
Thanks Again for all you do on these forums.!
acruxksa said:
Adam,
In picture 3 you have a diagram that shows the pinout for uart tx and rx on the nook tablet (appears to be the left two pins of the 4 in the diagram), but if you look closely at picture 4, the top wire appears to be soldered to the top right pin rather than the top left pin as show on the diagram in picture 3. Is this just an optical illusion?
Thanks Again for all you do on these forums.!
Click to expand...
Click to collapse
disregard picture 4. I took alot of pictures while setting things up and I chose the ones that gave the best idea of what was going on. Thanks.
Replacement for Bus Pirate
Hi Adam
Good day to you.
I would like to setup my own Uart devices for Samsung Phone, however, not able to locate the Bus Pirate devices as mention in your thread.
but i found a USB to RS232 converter as per attach PDF file.
would you please help to check on it? is it possible to setup the UART setup use on Samsung phone?
if can kindly help to give a detail guide connection setup from PC USB to Phone.
appreciate you help.
thanks
chongns said:
Hi Adam
Good day to you.
I would like to setup my own Uart devices for Samsung Phone, however, not able to locate the Bus Pirate devices as mention in your thread.
but i found a USB to RS232 converter as per attach PDF file.
would you please help to check on it? is it possible to setup the UART setup use on Samsung phone?
if can kindly help to give a detail guide connection setup from PC USB to Phone.
appreciate you help.
thanks
Click to expand...
Click to collapse
This should really go into the Samsung forum for the phone you're trying to get to, however here is where you can buy a bus pirate.
Related
Hey, one of my buddies got a SGS2. I was able to play with it for a bit. I sterilized the Serial numbers. This was recorded on Linux, then transfered to Windows, so the formatting was off. I had to use some Microsoft Word Regex in order to get it to format right.
here's the full UART Logs
http://pastebin.ubuntu.com/715171/
http://pastebin.ubuntu.com/715182/
Here's a single boot log
Code:
Welcome to Samsung Primitive Bootloader.
build time: Aug 27 2011 04:53:51
current time: f4/f/4 3f:69:11
[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
<display_card_info:1009> ext_csd
<display_card_info:1011>card_size: 15028
Total Card Size: 15029 MByte
mmc_init: card initialization completed!
pbl found bootable sbl in #49152.
jump to sbl 0x4d400000.
Secondary Bootloader v3.1 version.
Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd.
Board: C1 REV 02 / Aug 27 2011 04:53:57
current time: f4/f/4 3f:69:11
booting code=0x0
[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
CID:150100 56594c30 304d1926 b2473a8e
<display_card_info:1040> ext_csd
<display_card_info:1042>card_size: 15028
Total Card Size: 15029 MByte
Total Sector Count: 30777344
MoviNand Initialization Complete!
===== PARTITION INFORMATION =====
ID : GANG (0x0)
DEVICE : MMC
FIRST UNIT : 0
NO. UNITS : 0
=================================
ID : BOOT (0x1)
DEVICE : MMC
FIRST UNIT : 0
NO. UNITS : 0
=================================
ID : EFS (0x4)
DEVICE : MMC
FIRST UNIT : 8192
NO. UNITS : 40960
=================================
ID : SBL1 (0x2)
DEVICE : MMC
FIRST UNIT : 49152
NO. UNITS : 2560
=================================
ID : SBL2 (0x3)
DEVICE : MMC
FIRST UNIT : 53248
NO. UNITS : 2560
=================================
ID : PARAM (0x5)
DEVICE : MMC
FIRST UNIT : 57344
NO. UNITS : 16384
=================================
ID : KERNEL (0x6)
DEVICE : MMC
FIRST UNIT : 73728
NO. UNITS : 16384
=================================
ID : RECOVERY (0x7)
DEVICE : MMC
FIRST UNIT : 90112
NO. UNITS : 16384
=================================
ID : CACHE (0x8)
DEVICE : MMC
FIRST UNIT : 106496
NO. UNITS : 512000
=================================
ID : MODEM (0x9)
DEVICE : MMC
FIRST UNIT : 618496
NO. UNITS : 32768
=================================
ID : FACTORYFS (0xa)
DEVICE : MMC
FIRST UNIT : 651264
NO. UNITS : 1048576
=================================
ID : DATAFS (0xb)
DEVICE : MMC
FIRST UNIT : 1699840
NO. UNITS : 4194304
=================================
ID : UMS (0xc)
DEVICE : MMC
FIRST UNIT : 5894144
NO. UNITS : 23826432
=================================
ID : HIDDEN (0xd)
DEVICE : MMC
FIRST UNIT : 29720576
NO. UNITS : 1048576
=================================
loke_init: j4fs_open..success
<start_checksum:1033>CHECKSUM_HEADER_SECTOR :42
<start_checksum:1035>offset:42, size:1024
Not Need Movinand Checksum
load_lfs_parameters valid magic code and version.
switch_sel_str='6543 '
load_debug_level: read debug level successfully(0x574f4c44)...LOW
init_ddi_data: usable ddi data.
init_fuel_gauge : not por status
fuel_gauge_get_version: [1]=0, [0]=92
init_fuel_gauge: vcell = 3848 mV, vfocv = 3915 mV, soc = 66
init_fuel_gauge : check s/w reset (20000000) : use wide tolerance
microusb_get_attached_device: STATUS1:0x3d, 2:0x40
6308 = (382800 - 337808)*14022/100000
[3] 388426 = (6308 * 100000) / 11164 + 331923
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL1:0x1b
init_microusb_ic: MUIC: CONTROL2:0x3a
init_microusb_ic: MUIC: CONTROL2:0x3a
reading nps status file is successfully!.
nps status=0x504d4f43
PMIC_IRQSRC = 0x2
PMIC_IRQ1 = 0x33
PMIC_IRQ2 = 0x1b
PMIC_IRQ3 = 0x3
PMIC_IRQ4 = 0x11
PMIC_STATUS1 = 0x2
PMIC_STATUS2 = 0x17
PMIC_STATUS3 = 0x3
PMIC_STATUS4 = 0x2
bootloader base address=0x4d400000
LPDDR0 1st. cached=0x40000000, size=0xe400000
LPDDR0 non-cached=0x4e400000, size=0xa00000
LPDDR0 2nd. cached=0x4ee00000, size=0x1200000
RST_STAT = 0x20000000
get_hwrev() = 14
board_process_platform: MAGIC 0 at 40000000!
microusb_get_attached_device: STATUS1:0x3d, 2:0x40
microusb_get_attached_device: STATUS1:0x3d, 2:0x40
microusb_get_attached_device: STATUS1:0x3d, 2:0x40
microusb_get_attached_device: STATUS1:0x3d, 2:0x40
hw_pm_status: jig_status = 1, chg_status = 0
DISPLAY_PATH_SEL[MDNIE 0x1]is on
div:2, FB_SOURCE_CLOCK:667000000, FB_PIXEL_CLOCK:25067520
MDNIE setting Init start!!
vsync interrupt is off
video interrupt is off
[fb0] turn on
MDNIE setting Init end!!
Autoboot (0 seconds) in progress, press any key to stop
boot_kernel: debug level low!
checkbit: find RECOVERY
checkbit (0)
......ATAG_CORE: 5 54410001 0 0 0
MEMCONFIG: 20e01323 20e01323
ATAG_MEM: 4 54410002 10000000 40000000
ATAG_MEM: 4 54410002 10000000 50000000
ATAG_MEM: 4 54410002 10000000 60000000
ATAG_MEM: 4 54410002 10000000 70000000
ATAG_SERIAL:
ATAG_REVISION: 3 54410007 e
ATAG_CMDLINE: 39 54410009 'loglevel=4 console=ttySAC2,115200 sec_debug.enable=0 sec_debug.enable_user=0 c1_watchd ATAG_NONE: 0 0
Starting kernel at 0x40008000...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] s3c_register_clksrc: clock armclk has no registers set
[ 0.000000] mout_audss: bad source 0
[ 0.000000] mem infor: bank0 start-> 0x40000000, bank0 size-> 0x10000000[30;89H[ 0.000000] bank1 start-> 0x50000000, bank1 size-> 0x10000000
[ 0.000000] CMA reserve : pmem, addr is 0x4fc00000, size is 0x400000
[ 0.000000] CMA reserve : pmem_gpu1, addr is 0x4f800000, size is 0x400000
[ 0.000000] CMA reserve : pmem_adsp, addr is 0x4f47c000, size is 0x384000
[ 0.000000] CMA reserve : fimd, addr is 0x4f17c000, size is 0x300000
[ 0.000000] CMA reserve : mfc0, addr is 0x4cd7c000, size is 0x2400000
[ 0.000000] CMA reserve : mfc1, addr is 0x4a97c000, size is 0x2400000
[ 0.000000] CMA reserve : fimc0, addr is 0x4a47c000, size is 0x500000
[ 0.000000] CMA reserve : fimc1, addr is 0x4967c000, size is 0xe00000
[ 0.000000] CMA reserve : fimc2, addr is 0x47e7c000, size is 0x1800000
[ 0.000000] CMA reserve : fimc3, addr is 0x4777c000, size is 0x700000
[ 0.000000] CMA reserve : srp, addr is 0x4767c000, size is 0x100000
[ 0.000000] CMA reserve : jpeg, addr is 0x4627c000, size is 0x1400000
[ 0.000000] CMA reserve : fimg2d, addr is 0x45a7c000, size is 0x800000
[ 0.000000] CMA reserve : (null), addr is 0x45a7c000, size is 0x0
[ 0.000000] (sec_debug_set_upload_magic) 66262564
[ 0.000000] (sec_debug_set_upload_cause) cafebabe
[ 0.121650] s5pv310_subrev: 1
[ 0.166379] ram_console: invalid start 0 or end 0
[ 0.251103] max8997 5-0066: max8997_irq_init: fail to read PMIC ID(-6)
[ 0.648050] [TSP] family = 0x81, variant = 0x1, version = 0x10, build = 170
Partition information
Code:
===== PARTITION INFORMATION =====
ID : GANG (0x0)
DEVICE : MMC
FIRST UNIT : 0
NO. UNITS : 0
=================================
ID : BOOT (0x1)
DEVICE : MMC
FIRST UNIT : 0
NO. UNITS : 0
=================================
ID : EFS (0x4)
DEVICE : MMC
FIRST UNIT : 8192
NO. UNITS : 40960
=================================
ID : SBL1 (0x2)
DEVICE : MMC
FIRST UNIT : 49152
NO. UNITS : 2560
=================================
ID : SBL2 (0x3)
DEVICE : MMC
FIRST UNIT : 53248
NO. UNITS : 2560
=================================
ID : PARAM (0x5)
DEVICE : MMC
FIRST UNIT : 57344
NO. UNITS : 16384
=================================
ID : KERNEL (0x6)
DEVICE : MMC
FIRST UNIT : 73728
NO. UNITS : 16384
=================================
ID : RECOVERY (0x7)
DEVICE : MMC
FIRST UNIT : 90112
NO. UNITS : 16384
=================================
ID : CACHE (0x8)
DEVICE : MMC
FIRST UNIT : 106496
NO. UNITS : 512000
=================================
ID : MODEM (0x9)
DEVICE : MMC
FIRST UNIT : 618496
NO. UNITS : 32768
=================================
ID : FACTORYFS (0xa)
DEVICE : MMC
FIRST UNIT : 651264
NO. UNITS : 1048576
=================================
ID : DATAFS (0xb)
DEVICE : MMC
FIRST UNIT : 1699840
NO. UNITS : 4194304
=================================
ID : UMS (0xc)
DEVICE : MMC
FIRST UNIT : 5894144
NO. UNITS : 23826432
=================================
ID : HIDDEN (0xd)
DEVICE : MMC
FIRST UNIT : 29720576
NO. UNITS : 1048576
=================================
SBL Commands
Code:
Following commands are supported:
* movichk
* setenv
* saveenv
* printenv
* help
* reset
* boot
* kernel
* loadpart
* loadkernel
* erasepart
* format
* open
* close
* eraseall
* showpart
* addpart
* delpart
* savepart
* nkernel
* nandread
* nandwrite
* usb
* crc
* log
* sud
* upload
* emmc
* keyread
* readadc
* mmctest
* usb_read
* usb_write
* fuelgauge
There's some new ones in this 3.1 version of Samsung SBL
* crc
* log
* sud
* upload
* emmc
I think Upload allows a dump of all partitions. Also, Keyread allows testing of button presses, Volume - =0 Volume + = 1, Power = 2
I couldn't get a FULL debug log in the time I had, but I managed to get some kernel output.
Code:
Starting kernel at 0x40008000...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] s3c_register_clksrc: clock armclk has no registers set
[ 0.000000] mout_audss: bad source 0
[ 0.000000] mem infor: bank0 start-> 0x40000000, bank0 size-> 0x10000000[30;89H[ 0.000000] bank1 start-> 0x50000000, bank1 size-> 0x10000000
[ 0.000000] CMA reserve : pmem, addr is 0x4fc00000, size is 0x400000
[ 0.000000] CMA reserve : pmem_gpu1, addr is 0x4f800000, size is 0x400000
[ 0.000000] CMA reserve : pmem_adsp, addr is 0x4f47c000, size is 0x384000
[ 0.000000] CMA reserve : fimd, addr is 0x4f17c000, size is 0x300000
[ 0.000000] CMA reserve : mfc0, addr is 0x4cd7c000, size is 0x2400000
[ 0.000000] CMA reserve : mfc1, addr is 0x4a97c000, size is 0x2400000
[ 0.000000] CMA reserve : fimc0, addr is 0x4a47c000, size is 0x500000
[ 0.000000] CMA reserve : fimc1, addr is 0x4967c000, size is 0xe00000
[ 0.000000] CMA reserve : fimc2, addr is 0x47e7c000, size is 0x1800000
[ 0.000000] CMA reserve : fimc3, addr is 0x4777c000, size is 0x700000
[ 0.000000] CMA reserve : srp, addr is 0x4767c000, size is 0x100000
[ 0.000000] CMA reserve : jpeg, addr is 0x4627c000, size is 0x1400000
[ 0.000000] CMA reserve : fimg2d, addr is 0x45a7c000, size is 0x800000
[ 0.000000] CMA reserve : (null), addr is 0x45a7c000, size is 0x0
[ 0.000000] (sec_debug_set_upload_magic) 66262564
[ 0.000000] (sec_debug_set_upload_cause) cafebabe
[ 0.121650] s5pv310_subrev: 1
[ 0.166379] ram_console: invalid start 0 or end 0
[ 0.251103] max8997 5-0066: max8997_irq_init: fail to read PMIC ID(-6)
[ 0.648050] [TSP] family = 0x81, variant = 0x1, version = 0x10, build = 170
Would be interesting to see the logs from a boot with the flash counter incremented (yellow triangle) to see if it's logged and what it's keying on.
Hi Adam,
Nice to see u here on this forum , hope to see some of your great work here on S II.
This is only possible using UART.
Download Mode without having to accept wipe!
{
"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"
}
Upload Mode
Stock PARAMS.lfs
othermark said:
Would be interesting to see the logs from a boot with the flash counter incremented (yellow triangle) to see if it's logged and what it's keying on.
Click to expand...
Click to collapse
You can reset the counter via UART
What ROM did you dump JH7/KJ1/KJ2 ?
AdamOutler said:
You can reset the counter via UART
Click to expand...
Click to collapse
Jig will reset it too - or will UART reset it even on the J2 bootloaders?
Entropy512 said:
Jig will reset it too - or will UART reset it even on the J2 bootloaders?
Click to expand...
Click to collapse
Can you flash back the J1 bootloader with ODIN? I'm willing to try this.
Another big player from the captivate scene......I feel more comfortable fashing the SGS2 now that AdamOutler is in the house to help clean up the mess lol
Yay, I'm the first dumbass to brick his I777. Kids, don't run the "emmc" command.
FWIW, when USB is connected and battery plugged in, I get this device:
Bus 001 Device 011: ID 04e8:1234 Samsung Electronics Co., Ltd
Which ModeDetect says is Unbrickable Debug mode...
Ah, I thought for a second I miss clicked forum and came to captivate one.
Happy to see you here, hope you will get your own attsgs2.
Thanks for spending time and sharing findings!
Sent from my SAMSUNG-SGH-I777 using xda premium
Entropy512 said:
Jig will reset it too - or will UART reset it even on the J2 bootloaders?
Click to expand...
Click to collapse
pokey9000 said:
Yay, I'm the first dumbass to brick his I777. Kids, don't run the "emmc" command.
FWIW, when USB is connected and battery plugged in, I get this device:
Bus 001 Device 011: ID 04e8:1234 Samsung Electronics Co., Ltd
Which ModeDetect says is Unbrickable Debug mode...
Click to expand...
Click to collapse
Yeah. So, you should try the SMDK Upload Tool.. this is good. this means you've established that UnBrickable Mod is possible on this device.
Now I need one for teardown.
Is it dead bricked? remove the battery and hold power for 10 seconds, then put back in the battery and hold it for 10 seconds. should turn on normally.
emmc usually means external MMC... try making a boot disk using the Fusing Tool. I bet it will work.
AdamOutler said:
emmc usually means external MMC... try making a boot disk using the Fusing Tool. I bet it will work.
Click to expand...
Click to collapse
I'm not sure what I'd put on the card to tell if it worked...
pokey9000 said:
Yeah. Nothing seems to bring it to life. Here's trying to send HIBL. It hangs after this. I didn't expect it to work...
$ ./smdk-usbdl -f HIBL.bin -a d0020000
SMDK42XX,S3C64XX USB Download Tool
Version 0.20 (c) 2004,2005,2006 Ben Dooks <[email protected]>
S3C64XX Detected!
=> found device: bus 001, dev 018
=> loaded 24576 bytes from HIBL.bin
=> Downloading 24586 bytes to 0xd0020000
=> Data checksum 5d9c
Click to expand...
Click to collapse
That's what happens when it tries to upload a larger file then memory can handle.
The HIBL is a Hummingbird Interceptor BootLoader. We could use a Exynos interceptor bootloader.
Let me contact Rebellos and get him in here. That polish Hairy Potter can probly wave his magic wand over a memory dump and have it doing the hokey-pokey. He is busy and recovering from a serious loss while trying to get his device into the mode which your device is in currently... he could probly use some donations.
We will need someone with a working device to do a memory dump...
1a) I need few different bootloader images from I9100 and similiar SGS2 series models (I777 or whatever is it called for eg.), can you guys post these here?
1b) If you notice some weird files in ROM releases, like *.elf - post these too! These are very helpful in reversing stuff. Samsung released these for S8500 and S8530 bootloaders so here is also a chance.
2) If anybody has got rooted Exynos based device and some know-how about using SU functions - I need iROM dump.
The procedure should be 99% the same as in there http://blog.maurus.be/index.php/2011/01/samsung-i9000-irom-dump/
Just grab viewmem ARM binary http://blog.maurus.be/wp-content/uploads/viewmem and use script posted there. With small modification!
Instead of
/tmp/viewmem 0xD0000000 0x10000 > /sdcard/iromdump
Click to expand...
Click to collapse
try
/tmp/viewmem 0x00000000 0x10000 > /sdcard/iromdump
Click to expand...
Click to collapse
if it doesnt work then try this
/tmp/viewmem 0x02000000 0x10000 > /sdcard/iromdump_mirror
Click to expand...
Click to collapse
One/both of these should produce 64KB iROM image.
3) WANTED:
- newer manual than this one: https://dl.dropbox.com/u/36177984/SEC_Exynos4210_pulbic_manual_Ver.0.00.01.pdf (we don't know if it does exist)
- Exynos 4210 Application Notes
- Exynos 4210 Secure Booting Guide
And so on.
Thank you.
Don't fear the reaper.
//edit:
Also SGS2 series seems to be more unbrickable than SGS, I bet PBL has got functionality to boot from SD card. I don't see other reason why PBL would mount it before trying to look for SBL.
Welcome to Samsung Primitive Bootloader.
build time: Aug 27 2011 04:53:51
current time: f4/f/4 3f:69:11
[set_mmc_ocr] Sector Mode
[hsmmc_init] MMC card is detected
Product Name : VYL00M
<display_card_info:1009> ext_csd
<display_card_info:1011>card_size: 15028
Total Card Size: 15029 MByte
mmc_init: card initialization completed!
pbl found bootable sbl in #49152.
jump to sbl 0x4d400000.
Click to expand...
Click to collapse
Disassembly will show.
I'm going to see about getting a replacement tomorrow as this is my daily driver. So I won't have it around to test anything. However, once I'm up and running again I'll try to get iROM dumped.
Meanwhile, tonight I'll see if I can fuse a 9100 PBL and SBL (they're supposed to be mostly compatible) to a microsd and test the external SD boot theory.
edit:
Hmm, looks like the fusing tool needs a monolithic PBL and SBL. My attention span for reading Google translated Korean forums is shot.
That's probably not necessary anyway, because I think the confusion here over "emmc" is due to the SGS2 using eMMC (embedded MMC) for the boot device as opposed to the i9000 which boots off of parallel oneNAND. The SGS2 is always booting off of MMC, it just happens that it's soldered down.
Many people are getting what they are calling a bricked Nook tablet that won't boot or restore an OS. Often when they boot into CWM (from internal or SD) they get errors on screen, or possibly after an attempted install they show in the advanced / log
E:Can't mount / cache/recovery/command/
E:Can't mount / cache/recovery/log/
E:Can't open / cache/recovery/log/
E:Can't mount / cache/recovery/last_log/
E:Can't open / cache/recovery/last_log/
failed to open/sys/class/android_usb/state: No such file or directory
This is actually an extremely common issue it seems. Basically its' quite likely you're partition map has some how been damaged.
Firstly just make sure you can't install an update or restore an old backup from SD, if that still fails and you end up straight back in CWM
All you need to do is download the parted binary HERE extract it from the archive and push it to your device or even just put it on an SD
ADB into your device and run the binary with the following command (you'll need it to be the accesible path or you can just be in the directory where it is)
parted /dev/block/mmcblk0 print
It will most likely show up with an error and ask if you want to fix it. Just say yes and let it do its' thing.
After it completes, reboot your device and see if you still get the same errors, Attempt to install CM7 once more.
If it still doesn't work, run the parted command again then download Adams total wipe and run that. It'll reset your device back to total stock. The parted command will repair the partition table and adamoutlers software will upload all the required software to the correct places for it all to work
Hope that helps!
If you get stuck feel free to give me a shout
This is actually an extremely common issue it seems. Basically its' quite likely you're partition map has some how been damaged.
NT full brick...unable to recover.
My NT is suffering from the CM7-SD format brick problem.
I have hunted high and low for instructions on how to get ADB to work on a bricked NT. My NT is in a state where the only thing that boots on it is an SD-based CWM, but when I plug the NT into a PC, no matter what I do, CWM recovery starts up and the PC detects the unit as disk drives. ADB will NOT find the unit. I have tried on two separate Win7 machines...same problem on both.
I have also tried using Adam's total wipe fix, and while linux boot, the full wipe just hangs forever on the first step (zeroing MLO).
I am not sure I have the right USB drivers...basically, I'm using the ones I had for my long-gone Nook Color.
Can anyone offer me some help?
Thanks.
imacmill said:
My NT is suffering from the CM7-SD format brick problem.
I have hunted high and low for instructions on how to get ADB to work on a bricked NT. My NT is in a state where the only thing that boots on it is an SD-based CWM, but when I plug the NT into a PC, no matter what I do, CWM recovery starts up and the PC detects the unit as disk drives. ADB will NOT find the unit. I have tried on two separate Win7 machines...same problem on both.
I have also tried using Adam's total wipe fix, and while linux boot, the full wipe just hangs forever on the first step (zeroing MLO).
I am not sure I have the right USB drivers...basically, I'm using the ones I had for my long-gone Nook Color.
Can anyone offer me some help?
Thanks.
Click to expand...
Click to collapse
It's not actually caused by formatting SD on CM7 any more. you could happily format your SD all day, although we still recommend not formatting anything at all via the NT.
If you have CWM you should have access to ADB, the probably reason it doesn't work for you is that you need to tell your computer what the id is on the device so that it can recognise it. What operating system are you using?
CelticWebSolutions said:
It's not actually caused by formatting SD on CM7 any more. you could happily format your SD all day, although we still recommend not formatting anything at all via the NT.
If you have CWM you should have access to ADB, the probably reason it doesn't work for you is that you need to tell your computer what the id is on the device so that it can recognise it. What operating system are you using?
Click to expand...
Click to collapse
Thanks, Celtic.
I'm on Win7. I have 'adb_usb.ini' in folder:
C:\Users\<myname>\.android
And the 'ini' contains 0x2080.
More details...
CelticWebSolutions said:
It's not actually caused by formatting SD on CM7 any more. you could happily format your SD all day, although we still recommend not formatting anything at all via the NT.
If you have CWM you should have access to ADB, the probably reason it doesn't work for you is that you need to tell your computer what the id is on the device so that it can recognise it. What operating system are you using?
Click to expand...
Click to collapse
Here's a brief history, as best I can recall, of how I got where I am with my NT.
1. Installed NT CM7 about a week ago. All worked well until I noticed Kindle app misbehaving by not flipping pages on a book. I tried same book on two other android devices, and both worked fine. So...
2. In a complete act of stupidity, I went into 'Storage' on the NT, and noticing that there were 3 sections listed there (whose names escape me, but something like 'Internal SD', 'SD' and 'External SD'), I formatted all 3 (yup, dumb).
3. I shut down the NT (10 second press of power), and from there on in, tablet hung at 'N' screen. I manages to get CWM to start, using a combination of buttons I now don't recall (Power and Volume Up, perhaps?).
4. For reasons I can only describe as lunacy, I used Recovery to format everything it listed as format-able (under Mounts/Storage). From this point on, the tablet would not boot at all, not even back into CWM Recovery.
5. Thru online searching, I found an image for making a bootable CWM Recovery, which I created and used successfully to boot into recovery. I used it unsuccessfully to try to re-install CM7.
6. I then tried getting an ADB connection so I could try the various other fixes offered online, but have been completely unable to get a connection. I followed the instructions found in XDA thread ID 1424563 (sorry, I'm too junior to have link-posting permissions), but the thread assumes I can get to the NT's settings to turn on debug mode, which I can't.
7. As mentioned, I also tried Adam's full wipe/restore, but it hangs on phase one (zeroing MLO).
That's the crux of it, for what it's worth. I think my big issue right now is not being able to get ADB to work with it. If I could, I could try the partition command you gave in the OP.
Thanks for any help or ideas...
imacmill said:
Here's a brief history, as best I can recall, of how I got where I am with my NT.
1. Installed NT CM7 about a week ago. All worked well until I noticed Kindle app misbehaving by not flipping pages on a book. I tried same book on two other android devices, and both worked fine. So...
2. In a complete act of stupidity, I went into 'Storage' on the NT, and noticing that there were 3 sections listed there (whose names escape me, but something like 'Internal SD', 'SD' and 'External SD'), I formatted all 3 (yup, dumb).
3. I shut down the NT (10 second press of power), and from there on in, tablet hung at 'N' screen. I manages to get CWM to start, using a combination of buttons I now don't recall (Power and Volume Up, perhaps?).
4. For reasons I can only describe as lunacy, I used Recovery to format everything it listed as format-able (under Mounts/Storage). From this point on, the tablet would not boot at all, not even back into CWM Recovery.
5. Thru online searching, I found an image for making a bootable CWM Recovery, which I created and used successfully to boot into recovery. I used it unsuccessfully to try to re-install CM7.
6. I then tried getting an ADB connection so I could try the various other fixes offered online, but have been completely unable to get a connection. I followed the instructions found in XDA thread ID 1424563 (sorry, I'm too junior to have link-posting permissions), but the thread assumes I can get to the NT's settings to turn on debug mode, which I can't.
7. As mentioned, I also tried Adam's full wipe/restore, but it hangs on phase one (zeroing MLO).
That's the crux of it, for what it's worth. I think my big issue right now is not being able to get ADB to work with it. If I could, I could try the partition command you gave in the OP.
Thanks for any help or ideas...
Click to expand...
Click to collapse
you should have damaged the partition tables, so please make a CMW card first, and then you can use adb shell to repair the partition table.
you can refer to this thread:http://forum.xda-developers.com/showpost.php?p=22157605&postcount=25
If that older driver you have don't work, you can find a driver in this thread. (I don't know if they are the same as color or not TBH)
Use the USBDeview to rid yourself of anything aldroid related, anything Google related, and any mass storage devices. Restart PC, then plug your NT in. (This is how I had to do it...many times)
ms2003 said:
you should have damaged the partition tables, so please make a CMW card first, and then you can use adb shell to repair the partition table.
you can refer to this thread:http://forum.xda-developers.com/showpost.php?p=22157605&postcount=25
Click to expand...
Click to collapse
Thanks, ms, but as I mentioned, I am completely unable to get ADB to work. It will not find the tablet. When I plug the tablet in to my Win7 box, the installed CMW card boots the tablet into recovery, and the PC detects it as disk drives (as seen in Win7's Device Mangler).
Quick progress update...
Know-Fear said:
If that older driver you have don't work, you can find a driver in this thread. (I don't know if they are the same as color or not TBH)
Use the USBDeview to rid yourself of anything aldroid related, anything Google related, and any mass storage devices. Restart PC, then plug your NT in. (This is how I had to do it...many times)
Click to expand...
Click to collapse
The old drivers and instructions you linked to worked...ADB now finds my NT! Thanks much!
Now...
I did the 'parted' thing, and while 3 or 4 errors were reported thru the process, it stated it completed successfully. I then rebooted with my CWM Recovery SD card and attempted to re-install CM7. The installer completed quite quickly and without errors, but it did not work (as I suspected it wouldn't, given how fast it executed). I then ran 'Brick_fix.zip', and it, too, completed successfully (well, except for the ping at the end), but I was unable to install CM7. So...
I'm now on to Adam's fix (note in the OP) and I'm glad to report it's working now. It got past the first stage (zeroing MLO) and is in the middle of 'flashing factory'. Sweet!
I'll report back in the morning, hopefully with good news. Thanks so much for the help, everyone.
imacmill said:
The old drivers and instructions you linked to worked...ADB now finds my NT! Thanks much!
Now...
I did the 'parted' thing, and while 3 or 4 errors were reported thru the process, it stated it completed successfully. I then rebooted with my CWM Recovery SD card and attempted to re-install CM7. The installer completed quite quickly and without errors, but it did not work (as I suspected it wouldn't, given how fast it executed). I then ran 'Brick_fix.zip', and it, too, completed successfully (well, except for the ping at the end), but I was unable to install CM7. So...
I'm now on to Adam's fix (note in the OP) and I'm glad to report it's working now. It got past the first stage (zeroing MLO) and is in the middle of 'flashing factory'. Sweet!
I'll report back in the morning, hopefully with good news. Thanks so much for the help, everyone.
Click to expand...
Click to collapse
Sorry I didn't get back to you last night, I had already gone to bed, looks like you've already got the help you need though. If the wiping had started to work you'll be fine lesson learnt though, DO NOT FORMAT ANYTHING ON NT
Let us know it's fixed (which I'm sure it will be )
Bad news...
CelticWebSolutions said:
Sorry I didn't get back to you last night, I had already gone to bed, looks like you've already got the help you need though. If the wiping had started to work you'll be fine lesson learnt though, DO NOT FORMAT ANYTHING ON NT
Let us know it's fixed (which I'm sure it will be )
Click to expand...
Click to collapse
Well, the news is bad this morning. As someone mentioned in Adam's post, during the install, the screen went blank, so I left it for about another half an hour, then powered the device off and restarted it. All appeared OK, as the B&N firmware stated that it was clearing data, but that process froze for a long while, then a message popped up stating "Please restart your device and try again. If you encounter the same issue, contact technical support at blah, blah, blah." I restarted...same message. Over and over.
I tried the full wipe no less than 4 more times, preceding each attempt with a 'part' command, but the full wipe, for some unknown reason, stops about 60 seconds in, and pops up what appears to be a windowed 'ls -al'. I tried two different class 4 SDs in the 4 attempts...same for each.
Not feeling hopeful at this point.
---------- Post added at 04:37 PM ---------- Previous post was at 03:46 PM ----------
Here's the results from my 'part' command:
Code:
~ # parted /dev/block/mmcblk0 print
parted /dev/block/mmcblk0 print
Model: MMC SEM16G (sd/mmc)
Disk /dev/block/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 131kB 262kB 131kB xloader
2 262kB 524kB 262kB bootloader
3 524kB 16.3MB 15.7MB recovery
4 16.8MB 33.6MB 16.8MB boot
5 33.6MB 83.9MB 50.3MB rom
6 83.9MB 134MB 50.3MB fat32 bootdata
7 134MB 522MB 388MB factory
8 522MB 1164MB 642MB ext4 system
9 1164MB 1611MB 447MB ext4 cache
10 1611MB 2684MB 1074MB fat32 media
11 2684MB 15.6GB 12.9GB ext4 userdata
Note the fat32 and ext4 file system designations for various directories (is directories the correct word?). On page 6 of Adam's full wipe thread, user 'howcansheslap' shows the output of his/her 'part' command, and the file system in his/her output is all blank. Perhaps not coincidentally, my full wipe process stops on processing 'bootdata', the first item listed as fat32 above, and displays the windowed 'ls' of folder 'bootdata'.
Any thoughts on the relevance of this info?
Thanks all.
---------- Post added at 05:33 PM ---------- Previous post was at 04:37 PM ----------
Turns out the full wipe *was* working. The trouble is, my impatience got the better of me. Adam's wipe process does not provide a whole lot in the way of progress feedback, and in fact, it can be 5 minutes or so before you see anything meaningful on screen. Best advice: give the process a full half hour to complete and don't assume that it's hung/stopped working just because you see virtually no progress reports. Note also that if you touch the screen anywhere during the wipe, any progress bar that may or may not have been present will probably disappear, and you won't see another one displayed for possibly several minutes.
My apologies to all for subjecting you to my own impatience, and a big thank-you for all the help.
I spoke too soon...again.
The full wipe/restore completed successfully, but now when I start the tablet, I get taken thru the B&N setup process and at the stage where it asks me to login to my B&N account, I get:
Error
Sorry we're having trouble setting up your NOOK. Please shutdown the device and try again. If the problem persist, contact Customer Support at...
Well, the problem has persisted all day. I have even done the full restore a couple of extra times. And the tech support line just keeps telling me they're unable to process my call at this time.
I am definitely able to login to my B&N account thru my PC, so I've got the credentials right.
Has anyone encountered this before?
UPDATE: I followed the instructions for bypassing registration, found here:
http://nookdevs.com/NookColor_Factory_Mode/Skip_Oobe
This allowed me to get into settings and 'erase/unregister' the device, but alas, still no joy after a reboot.
back from brick to Nook Tablet
Hi to all, i had the same problem as imacmill onlly i've idiotly erased the "SD card" the 1 gb amount.
After restarting the NT did not boot. I've entered in CWM recovery... and had the same problem (***up my partition table)
E:Can't mount / cache/recovery/command/
E:Can't mount / cache/recovery/log/
E:Can't open / cache/recovery/log/
E:Can't mount / cache/recovery/last_log/
E:Can't open / cache/recovery/last_log/
after agonizing 3hrs we succeeded to repair my NT via parted with ADB.
I've attached the log from adb.
Code:
<6> boxer : boxer_spi_probe called , line 310
<6>boxer: spi setup returned : 0
<6> boxer : boxer_panel_probe called , line 129
<4>omap_smartreflex_disable_reset_volt: omap_sr struct for sr_core not found
<4>omap_smartreflex_enable: omap_sr struct for sr_core not found
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
<6>omap-hsuart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
<6>console [ttyO0] enabled
<6>omap-hsuart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
<6>omap-hsuart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
<6>omap-hsuart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
<6>brd: module loaded
<6>loop: module loaded
<6>android init
<6>android_probe pdata: c0563eb8
<6>android_bind
<7>android_bind_config
<6>android_usb gadget: android_usb ready
<6>f_adb init
<6>android_register_function adb
<6>f_mass_storage init
<6>fsg_probe pdev: c0563c00, pdata: c0563ea8
<6>android_register_function usb_mass_storage
<6>android_usb gadget: Mass Storage Function, version: 2009/09/11
<6>android_usb gadget: Number of LUNs=2
<6> lun0: LUN: removable file: (no medium)
<6> lun1: LUN: removable file: (no medium)
<6>adb_bind_config
<6>input: gpio-keys as /devices/platform/gpio-keys/input/input0
<6>input: omap-keypad as /devices/platform/omap-keypad/input/input1
<6>ft5x06_init() - FT I2C Touchscreen Driver (Built Jan 11 2012 @ 09:02:56)
<6>ft5x06_probe() - FT5x06 found on I2C bus.
<7>ft5x06_reset_panel_via_gpio() - Toggling GPIO 39 to reset the Touch Panel...
<4>omap_smartreflex_disable_reset_volt: omap_sr struct for sr_core not found
<4>omap_smartreflex_enable: omap_sr struct for sr_core not found
<6>android_usb gadget: high speed config #1: android
<6>input: ft5x06-i2c as /devices/platform/i2c_omap.2/i2c-2/2-0038/input/input2
<6>ft5x06_initialize() - sysfs_create_group() succeeded.
<6>kxtf9 1-000f: WHO_AM_I = 0x01
<6>input: kxtf9_accel as /devices/virtual/input/input3
<6>using rtc device, twl_rtc, for alarms
<6>twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
<6>i2c /dev entries driver
<6>Linux video capture interface: v2.00
<4>max17042: max17042_init ...
<4>max17042: max17042_probe ...
<4>max17042: next history save at 4294936947
<4>max17042: max17042_probe > IRQ is 225
<4>max17042 GPIO pin read 1
<4>max17042: max17042_device_power_on ...
<4>max17042: max17042_hw_init ...
<4>max17042: BATTERY Detected!
<4>config = 0x2214
<4>Valert = 0xff9b
<4>Salert = 0xff05
<4>config = 0x2214
<4>config = 0x2214
<4>shdntimer = 0x0002
<4>max17042: max17042_verify ...
<6>max17042 1-0036: Version = 0x0092
<6>max17042 1-0036: support ver. 1.0.0 enabled
<4>MAX8903: Charger registering!
<4>MAX8903: Charger Initializing...
<4>MAX8903: Request CHARGER FLT IRQ successfully!
<4>MAX8903: Charger detected at boot = 1
<4>MAX8903: USB_EVENT_VBUS: Charger=5
<6>OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
<6>cpuidle: using governor ladder
<6>cpuidle: using governor menu
<6>omap_pwm_led omap_pwm_led: OMAP PWM LED (lcd-backlight) at GP timer 11/0
<7>Registered led device: lcd-backlight
<4>[BL set power] 1
<6>logger: created 64K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 64K log 'log_radio'
<6>logger: created 64K log 'log_system'
<6>proc4430_drv_initializeModule
<6>omap-devicehandler omap-devicehandler.0: omap_devh_probe: adding devh Tesla
<6>omap-devh initialized Tesla, major: 241, base-minor: 0
<6>omap-devicehandler omap-devicehandler.1: omap_devh_probe: adding devh SysM3
<6>omap-devh initialized SysM3, major: 241, base-minor: 1
<6>omap-devicehandler omap-devicehandler.2: omap_devh_probe: adding devh AppM3
<6>omap-devh initialized AppM3, major: 241, base-minor: 2
<6>omap3epd-sound: Audio SoC init
<6>Found Board EVT 2.1-ABE support Enabled
<6>asoc: null-codec-dai <-> MultiMedia1 LP mapping ok
<6>asoc: null-codec-dai <-> MultiMedia2 mapping ok
<3>tlv320aic3100_init: Unable get gpio for CODEC POWER 101
<6>mmc0: new high speed DDR MMC card at address 0001
<6>mmcblk0: mmc0:0001 SEM16G 14.8 GiB
<6> mmcblk0: p1
<4>mmc1: host does not support reading read-only switch. assuming write-enable.
<6>mmc1: new high speed SDHC card at address b368
<6>mmcblk1: mmc1:b368 SD04G 3.66 GiB
<6> mmcblk1: p1
<1>##-tlv320aic3100_init
<6>Created the sysfs Files for Audio Driver
<4>Page 4 has 41 Coefficient Values
<4>Page 8 has 61 Coefficient Values
<4>Updated Page 8 DAC Coefficient Control Reg for Adaptive Mode
<6>asoc: tlv320aic3100-dai <-> omap-mcbsp-dai.1 mapping ok
<6>input: OMAP4_ACCLAIM_ABE Headset Jack as /devices/platform/soc-audio/sound/ca
rd0/input4
<6>ALSA device list:
<6> #0: OMAP4 Acclaim AIC3100 ABE
<6>Netfilter messages via NETLINK v0.30.
<6>nf_conntrack version 0.5.0 (14615 buckets, 58460 max)
<4>CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<6>ctnetlink v0.93: registering with nfnetlink.
<6>xt_time: kernel timezone is -0000
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>arp_tables: (C) 2002 David S. Miller
<6>TCP cubic registered
<6>Initializing XFRM netlink socket
<6>NET: Registered protocol family 10
<6>lo: Disabled Privacy Extensions
<6>Mobile IPv6
<6>IPv6 over IPv4 tunneling driver
<6>sit0: Disabled Privacy Extensions
<6>ip6tnl0: Disabled Privacy Extensions
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>ThumbEE CPU extension supported.
<4>omap_hwmod: Initialize debugfs support
<3>Power Management for TI OMAP4.
<6>prcm_clear_statdep_regs: Clearing static depndencies
<3>CPUidle for CPU0 registered
<3>CPUidle for CPU1 registered
<4>sr_init: No PMIC hook to init smartreflex
<6>smartreflex smartreflex.0: omap_smartreflex_probe: SmartReflex driver initial
ized
<6>smartreflex smartreflex.1: omap_smartreflex_probe: SmartReflex driver initial
ized
<6>smartreflex smartreflex.2: omap_smartreflex_probe: SmartReflex driver initial
ized
<7>Disabling unused clock "auxclk4_src_ck"
<7>Disabling unused clock "hdq1w_fck"
<7>Disabling unused clock "gpmc_ick"
<7>Disabling unused clock "gpio4_dbclk"
<7>Disabling unused clock "efuse_ctrl_cust_fck"
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
<6> boxer : boxer_panel_enable called , line 233
<6> boxer : boxer_panel_start called , line 150
<6>regulator_init_complete: disabling VANA
<6>twl_rtc twl_rtc: setting system clock to 2012-03-02 10:59:45 UTC (1330685985)
<6>omap_vout omap_vout: : registered and initialized video device 0
<6>omap_vout omap_vout: : registered and initialized video device 1
<6>omap_vout omap_vout: : registered and initialized video device 2
<6>omap_wb: registered and initialized wb device 4 [v4l2]
<6>Freeing init memory: 212K
<3>init: cannot open '/initlogo.rle'
<3>init: Unable to open persistent property directory /data/property errno: 2
<6>enabling adb
<6> boxer : boxer_panel_suspend called , line 245
<6> boxer : boxer_panel_stop called , line 215
<3><dss_mgr_disable> disabling 2lcd
<6>adb_open
<6> boxer : boxer_panel_resume called , line 255
<6> boxer : boxer_panel_start called , line 150
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6> boxer : spi_send called , line 84
<6>kxtf9 1-000f: IRQ TILT [1]
<6>android_usb gadget: high speed config #1: android
<4>MAX8903: Charging is now enabled!
<4>MAX8903: USB Charging at 500 mA
<6>adb_release
<6>adb_open
<6>android_usb gadget: high speed config #1: android
<6>kxtf9 1-000f: IRQ TAP1 [1]
<6>kxtf9 1-000f: IRQ TAP1 [2]
<6>kxtf9 1-000f: IRQ TAP2 [2]
<6>kxtf9 1-000f: IRQ TAP1 [20]
<6>kxtf9 1-000f: IRQ TILT [10]
<6>kxtf9 1-000f: IRQ TILT [1]
<6>kxtf9 1-000f: IRQ TILT [10]
<6>kxtf9 1-000f: IRQ TILT [1]
<6>kxtf9 1-000f: IRQ TAP1 [1]
<6>kxtf9 1-000f: IRQ TAP1 [1]
<6>kxtf9 1-000f: IRQ TAP1 [2]
<6>adb_release
<6>adb_open
<6>android_usb gadget: high speed config #1: android
<6>adb_release
<6>adb_open
<6>android_usb gadget: high speed config #1: android
<6>kxtf9 1-000f: IRQ TAP1 [1]
<4>
<4> usb unplugged!
<6>adb_release
<4>MAX8903: USB_EVENT_NONE
<6>adb_open
<6>kxtf9 1-000f: IRQ TAP1 [1]
<4>MAX8903: Charging is now disabled!
<4>MAX8903: Charger Unplugged!
<6>kxtf9 1-000f: IRQ TAP1 [1]
<6>PC detected
<4>MAX8903: USB_EVENT_VBUS: Charger=3
<6>android_usb gadget: high speed config #1: android
<4>MAX8903: Charging is now enabled!
<4>MAX8903: USB Charging at 500 mA
<6>kxtf9 1-000f: IRQ TILT [10]
<4>
<4> usb unplugged!
<6>adb_release
<6>adb_open
<4>MAX8903: USB_EVENT_NONE
<6>kxtf9 1-000f: IRQ TAP1 [10]
<6>kxtf9 1-000f: IRQ TILT [1]
<4>MAX8903: Charging is now disabled!
<4>MAX8903: Charger Unplugged!
<6>kxtf9 1-000f: IRQ TILT [10]
<6>kxtf9 1-000f: IRQ TILT [1]
<6>kxtf9 1-000f: IRQ TILT [10]
<6>kxtf9 1-000f: IRQ TAP2 [2]
<6>kxtf9 1-000f: IRQ TILT [1]
<6>kxtf9 1-000f: IRQ TILT [8]
<6>kxtf9 1-000f: IRQ TAP2 [2]
<6>kxtf9 1-000f: IRQ TILT [1]
<6>kxtf9 1-000f: IRQ TILT [8]
<6>kxtf9 1-000f: IRQ TILT [1]
<6>kxtf9 1-000f: IRQ TAP1 [1]
<6>kxtf9 1-000f: IRQ TAP2 [1]
<6>PC detected
<4>MAX8903: USB_EVENT_VBUS: Charger=3
<6>android_usb gadget: high speed config #1: android
<4>MAX8903: Charging is now enabled!
<4>MAX8903: USB Charging at 500 mA
/sdcard # mount
mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mmcblk1p1 on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=000
0,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed
,errors=remount-ro)
/sdcard # parted /dev/block/mmcblk0 print
parted /dev/block/mmcblk0 print
Warning: /dev/block/mmcblk0 contains GPT signatures, indicating that it has a
GPT table. However, it does not have a valid fake msdos partition table, as it
should. Perhaps it was corrupted -- possibly by a program that doesn't
understand GPT partition tables. Or perhaps you deleted the GPT table, and are
now using an msdos partition table. Is this a GPT partition table?
Yes/No? Yes
Yes
Yes
Error: The backup GPT table is not at the end of the disk, as it should be.
This might mean that another operating system believes the disk is smaller.
Fix, by moving the backup to the end (and removing the old backup)?
Fix/Ignore/Cancel? Yes
Yes
Yes
parted: invalid token: Yes
Fix/Ignore/Cancel? Fix
Fix
Fix
Warning: Not all of the space available to /dev/block/mmcblk0 appears to be
used, you can fix the GPT to use all of the space (an extra 569312 blocks) or
continue with the current setting?
Fix/Ignore? Fix
Fix
Fix
Model: MMC SEM16G (sd/mmc)
Disk /dev/block/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 131kB 262kB 131kB xloader
2 262kB 524kB 262kB bootloader
3 524kB 16.3MB 15.7MB recovery
4 16.8MB 33.6MB 16.8MB boot
5 33.6MB 83.9MB 50.3MB fat32 rom
6 83.9MB 134MB 50.3MB fat32 bootdata
7 134MB 522MB 388MB ext4 factory
8 522MB 1164MB 642MB ext4 system
9 1164MB 1611MB 447MB ext4 cache
10 1611MB 2684MB 1074MB fat32 media
11 2684MB 15.6GB 12.9GB ext4 userdata
/sdcard #
/sdcard # reboot
reboot
Also BIG thank you for you guys, especialy to CelticWebSolutions.
Thank you guys.
Cj.
similar problem! help!
I too formatted my 1g partition, and now my nook wont boot, goes to pic of box, hangs. i try cwm from sdcard, same box, hangs. i cant see my device when i plug it in to my win 7 pc. no adb. ive rooted 3 NT's now and i cant understand what i should do next. any help?
DeltreeZero said:
I too formatted my 1g partition, and now my nook wont boot, goes to pic of box, hangs. i try cwm from sdcard, same box, hangs. i cant see my device when i plug it in to my win 7 pc. no adb. ive rooted 3 NT's now and i cant understand what i should do next. any help?
Click to expand...
Click to collapse
Sounds like its not actually booting the SD card. Try powering off completely and the put SD card in. Connect power cable and see if it boots. It could also be your SD isn't written correctly. Could be worth you downloading the latest cm7 SD image from the dev thread. See if that boots.
Sent from my Nook Tablet using Tapatalk
cwm wont run
Thanks for the reply! i have tried all combinations of power,"n", vol up, and vol down, holding not holding all combinations of buttons and also the 8 failed boot buisness, plugging in to wall outlet, plugging in to pc... no changes yet, still "n" symbol on screen, then pic of box, hang. i am downloading the latest cm7 build and downloaded the installer located
here: http://forum.xda-developers.com/showthread.php?t=1000957
per your suggestion. im now making ramen, because the download says 52 min left. I will check back soon. thanks again.
I have followed the instructions and still no boot to cm7. still "n", then pic of box, hang. darn. any ideas?
Can't ADB. PLEASE HELP.
I am having trouble with my nook tablet. It will not boot an OS, and it just hangs at CWM. I am trying the original solution posted by CelticWebSolutions, but I am very new to all of this, and I can't get my computer (windows 7) to recognize the nook as an ADB device. I have no idea what USBDeview is, or where to get it. I have also managed to kill my 2 best micro SD cards. They were 32 gb cards, and when I tried to install CM7. If possible, I would like to just get back to a factory Nook Tablet. If anyone can help me reach a solution, I would be happy to donate.
kodonnell204 said:
I am having trouble with my nook tablet. It will not boot an OS, and it just hangs at CWM. I am trying the original solution posted by CelticWebSolutions, but I am very new to all of this, and I can't get my computer (windows 7) to recognize the nook as an ADB device. I have no idea what USBDeview is, or where to get it. I have also managed to kill my 2 best micro SD cards. They were 32 gb cards, and when I tried to install CM7. If possible, I would like to just get back to a factory Nook Tablet. If anyone can help me reach a solution, I would be happy to donate.
Click to expand...
Click to collapse
Can you get into CWM?, Have you tried Adam's total wipe method?, what OS did you have when you bricked your device? What exactly have you done to it? We need more details in order to help you.
~ Veronica
Sent from XDA premium using my Nook Tablet
I'm looking for some experienced eyes to scan through the partition info of a CyberNav tablet that I've mucked up by being very stupid. The CyberNav is a cheap Chinese GPS/Android tablet. It works great, or rather worked great until I very stupidly left it attached to my computer after downloading a track of my latest dirtbiking exploits. Later that evening I decided to make another Ubuntu USB startup disk... well, you can guess the rest.
At this point, the tablet will not mount the internal "sdcard" memory. It still boots, everything works, not bricked yet. When connected to USB, it will share out this external storage just fine. It just won't mount it within Android. It reports "Preparing memory device, checking for errors." Never gets past that point. I do have a backup of the original internal sdcard contents (made that when I first got the device) and anything that was important to me. Yes, I make backups, been burned too many times. I've also managed to find a factory ROM for it and I've successfully flashed that to the device. It made no difference with the problem. I've also got a root prompt via ADB shell using psneuter.
I have a copy of parted and gdisk, though I've not tried to run them yet. In other words, it's time to start figuring out what to fix in the partition tables.
I think the problem is here:
# busybox fdisk -l /dev/block/mmcblk2p6
... Device Boot Start End Blocks Id System
/dev/block/mmcblk2p6p1 1 1017 3436381 5 Extended <<<<< HERE
/dev/block/mmcblk2p6p5 1 1017 3436379 b Win95 FAT32
Does that seem right? Am I in any danger of bricking this device if I blow away the mmcblk2p6p1 partition and/or the entire mmcblk2p6? How bad do things generally have to get in these partitions before the device bricks?
What is the best/safest way to remove this partition and if I have to blow the whole mmcblk2p6 partition away will I have to manually recreate it before rebooting?
Any advice appreciated,
David...
P.S. Here is all the hopefully relevant information I've so far managed to locate:
Cybernav Mini: CPU: IMAPX200 ARM11 800MHz, also known as YFPi08, now flashed to Android 2.2-104.
# cat /proc/partitions
Code:
major minor #blocks name
179 16 3878912 mmcblk2
179 17 4096 mmcblk2p1
179 18 8192 mmcblk2p2
179 19 153600 mmcblk2p3
179 20 1 mmcblk2p4
179 21 277760 mmcblk2p5
179 22 3435072 mmcblk2p6
# busybox fdisk -l /dev/block/mmcblk2
Code:
Disk /dev/block/mmcblk2: 3972 MB, 3972005888 bytes
1 heads, 16 sectors/track, 484864 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk2p1 9 520 4096 30 Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk2p2 521 1544 8192 31 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk2p3 1545 20744 153600 83 Linux
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk2p4 20745 484864 3712960 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk2p5 20753 55472 277760 83 Linux
/dev/block/mmcblk2p6 55481 484864 3435072 b Win95 FAT32
# busybox fdisk -l /dev/block/mmcblk2p6
Code:
Disk /dev/block/mmcblk2p6: 3517 MB, 3517513728 bytes
109 heads, 62 sectors/track, 1016 cylinders
Units = cylinders of 6758 * 512 = 3460096 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk2p6p1 1 1017 3436381 5 Extended
/dev/block/mmcblk2p6p5 1 1017 3436379 b Win95 FAT32
# cat /proc/kmsg
Code:
...
<3>[ 2.295000] imapx200_iic imapx200_iic.0: iic thread TX_ABORT occur
<3>[ 2.295000] imapx200_iic imapx200_iic.0: source is 1
<3>[ 2.295000] imapx200_iic imapx200_iic.0: slave address is 1a
<4>[ 2.300000] mmc_request bus 2 cmd 5 error -110
<4>[ 2.300000] mmc_request bus 2 cmd 5 error -110
<4>[ 2.300000] set info,open device error -939392608
<4>[ 2.305000] mmc_request bus 2 cmd 5 error -110
<3>[ 2.305000] imapx200_iic imapx200_iic.0: iic thread TX_ABORT occur
<3>[ 2.305000] imapx200_iic imapx200_iic.0: source is 1
<3>[ 2.305000] imapx200_iic imapx200_iic.0: slave address is 1a
<4>[ 2.305000] mmc_request bus 2 cmd 5 error -110
<6>[ 2.330000] mmc2: new high speed SDHC card at address 0002
<6>[ 2.330000] mmcblk2: mmc2:0002 3.69 GiB
<6>[ 2.335000] mmcblk2: p1 p2 p3 p4 < p5 p6 >
<4>[ 2.400000] custom info start sector 8182
<4>[ 2.430000] i2c-imapx200 transfer timeout
...
<6>[ 4.095000] EXT4-fs (mmcblk2p3): mounted filesystem with ordered data mode
<6>[ 4.635000] EXT4-fs (mmcblk2p5): recovery complete
<6>[ 4.645000] EXT4-fs (mmcblk2p5): mounted filesystem with ordered data mode
...
<3>[ 26.285000] FAT: invalid media value (0xa5)
<6>[ 26.285000] VFS: Can't find a valid FAT filesystem on dev mmcblk2p6.
... x3 above spaced to end of log.
dmesg:
Code:
...
<6>[ 0.295000] Imap Framebuffer Driver Initialization OK!
<4>[ 0.340000] set info,open device error -939392608
<4>[ 0.440000] set info,open device error -939392608
<4>[ 0.540000] set info,open device error -939392608
<4>[ 0.640000] set info,open device error -939392608
<4>[ 0.740000] set info,open device error -939392608
<4>[ 0.845000] set info,open device error -939392608
<6>[ 0.925000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
...
<3>[ 96.180000] FAT: invalid media value (0xa5)
<6>[ 96.180000] VFS: Can't find a valid FAT filesystem on dev mmcblk2p6.
... x2 above
adding a little info
# /data/local/tmp/parted /dev/block/mmcblk2
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk2
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
print all
Model: SD (sd/mmc)
Disk /dev/block/mmcblk2: 3972MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 65.5kB 4260kB 4194kB primary
2 4260kB 12.6MB 8389kB primary
3 12.6MB 170MB 157MB primary ext4
4 170MB 3972MB 3802MB extended
5 170MB 454MB 284MB logical ext4
6 454MB 3972MB 3518MB logical
But,
# /data/local/tmp/parted /dev/block/mmcblk2p6
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk2p6
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
print all
Error: Can't have a partition outside the disk!
(parted)
Every command I try just reports: "Error: Can't have a partition outside the disk!"
Okay, Okay, I get it. No how do I get rid of said partition?
Back at: # /data/local/tmp/parted /dev/block/mmcblk2
(parted) check 6
check 6
Error: Could not detect file system.
(parted)
dare I go: rm 6
If I just reboot at that point, what are the odds of the bootloader just recreating this partition for me? Should I recreate the partition via parted first? Something like: mkpart logical fat32 454 3972 and then format it by Windows Computer via USB mode, or (man for parted says this is discouraged) mkpartfs logical fat32 454 3972 to let it format right away?
I guess what I'm really asking is: what are the odds of bricking it if I blow this partition away? Seem low, what with it not working properly now, but I figure I should at least make an attempt at asking before I suck it up and hit the button.
Anyone?
David...
fixed:
rm 6 and mkpartfs logical fat32 454 3972 then a reboot did the trick. I've copied all the data back and set the tablet back to where it was. All done
Only took 2 weeks of head-banging, trying to figure out the Android way. Not an easy thing, what with all the fragmentation, and it pushed my Linux skills to their limit as well. By the hour, this $100 tablet is now worth an order of magnitude more but those skills should be worth it, even if the tablet isn't.
David...
hi all im electronic tech i have brick my tablet when try flash in fastboot adb fastboot mode clockwork recovery 5.8xx first device opened and boot up normal without any problem then i reboot few time i have not seen cwm menu and i wipe data and tablet hardly bricked lol
so i start to find the way how to unbrick it without nvflash wheelie Secure Boot Key (blob.bin) because i not backup it. and still i don't know how to backup it!?
After a long research tegra based schematics and nvidia tegra dev docs, some forum posts, for my prime i got the idea from google nexus 7 schematic there used same pin con. figure
this post nexus7 sch http://forum.xda-developers.com/showpost.php?p=31922480&postcount=86
i find in printed circuit board GMI_OE_N, FORCE_RECOVERY#, and Uart Debug, jtag. connector pinout for comminication but that socket and some resistor used only for development process and test. its unmounted for production.
first i try FORCE_RECOVERY# pin when i power on tablet short it with ground device entered directly APX mode but that is same with vol power button combination tegra Soc still not allowed me to access emmc nand.
I started to research uart debugin i find this post http://forum.xda-developers.com/showthread.php?t=1081743 little information about howto tegra uart debug to understand what has happened to the bootloader
in experiment first i see in terminal garbage ascii characters i change TTL the location of the wire uart TXD, and uart RXD. "UART_DEBUG_TXD <-> UART_DEBUG_RXD" for tf201 showed me the right uart log in terminal meybe jtag pins are different placed i still not sure? but F_Recovery, pin and Hot_reset, pin are in same place VDD1.8v pin where have in right placed! i have edit schematic picture with paint for correction
i use for Uart debugin Usb TTL adapter pl2303 and PuTTY terminal emulator
How to: UART
1. Connect TTL to source device TX
2. Connect TTL RxD to source device RX
3. Connect TTL GND to source device GND! (don't forgot it!)
5. Open a terminal emulator, like PuTTY.
Connection parameters:
115200, 8 n 1, no flow control
Warning! Use this information at your own risk. Will void your warranty!
!don't Unmount nothing in pcb!
edited by me 24pin con. points schematic View attachment 1784738
mb pad connector pic View attachment 1784739
here is the power on boot debug log
Code:
-Mé11AÁé¢ÂZ¡é)9YI8
-MéAUéºZ¡é)9YI8I8 1=
½¹Ñɽ±±ÉéªRre%Õiêjjj¥*áÑɹ
½¹Ñɽ±±ÉéªRş
ADJUSTED CLOCKS:
MC clock is set to 250000 KHz
EMC clock is set to 500000 KHz (DDR clock is at 500000 KHz)
PLLX0 clock is set to 700000 KHz
PLLC0 clock is set to 600000 KHz
CPU clock is set to 700000 KHz
System and AVP clock is set to 102000 KHz
GraphicsHost clock is set to 163200 KHz
3D clock is set to 83333 KHz
2D clock is set to 83333 KHz
Epp clock is set to 83333 KHz
Mpe clock is set to 83333 KHz
Vde clock is set to 272000 KHz
Bootloader Start at:2017 ms
PCB value(0x0)
Initializing Display
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
Inval idate-only cache maint not supported in NvOs
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
LowLowBatteryCheck
LowLowBattery Check pinvalue=0
Battery capacity >low low Battery voltage
PCB value(0x0)Show mdpilogo
show logo at 2814ms
[bootloader] (built on Nov 22 2012, 20:19:53)
Platform Pre Boot configuration...
Verify chip uid
chip uid 1st RSAVerify ok
The Device is UnLocked.
SocCpuMaxKHz = 1000000
SocCpuMinKHz = 32
PLLX0 FreqKHz = 700000
Checking for android ota recovery
PCB value(0x0)
Platform Pre OS Boot configuration...
HDMI CPLD Program - ERROR
HDMI CPLD Program - ERROR
CpldRead8(): Failed: SlaveNotFound slave Add 0xd2
The enabling SDMMC1 Power rail is FAILED.
Actual Size = 0x540800 bytes
Verify chip uid
chip uid 1st RSAVerify ok
The proc BoardInfo: 0x0222:0x8200:0xe0:0x4f:0x44
PCB value(0x0)
!!!ERROR!!! EKS Partition is not available
Jumping to kernel at:3737 ms
"END"
i find jelly bean internal FLASH ROM partition table documentation for lg x4 HD tegra3 based SoC
chinse http://bbs.gfan.com/android-5633570-1-1.html
The EKS hidden partition 2M
The "NVEKSP" logo, followed by a 2048-bit key and guess verify boot.img with the public key. Using RAS (guess) algorithm SOS and LNX partition data do signature verification, signature data block (1024 bytes) in the tail of the SOS and LNX partition data.
[partition]
name=EKS
id=6
type=data
allocation_policy=sequential
filesystem_type=basic
size=81200
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=eks.dat
thanks
fullcontrol said:
hi all in my bricked tablet i find my uart debug pins on pcb in terminal here is the on boot log it have chanse to i unbrick it ?
-Mé11AÁé¢ÂZ¡é)9YI8
-MéAUéºZ¡é)9YI8I8 1=
½¹Ñɽ±±ÉéªRre%Õiêjjj¥*áÑɹ
½¹Ñɽ±±ÉéªRş
ADJUSTED CLOCKS:
MC clock is set to 250000 KHz
EMC clock is set to 500000 KHz (DDR clock is at 500000 KHz)
PLLX0 clock is set to 700000 KHz
PLLC0 clock is set to 600000 KHz
CPU clock is set to 700000 KHz
System and AVP clock is set to 102000 KHz
GraphicsHost clock is set to 163200 KHz
3D clock is set to 83333 KHz
2D clock is set to 83333 KHz
Epp clock is set to 83333 KHz
Mpe clock is set to 83333 KHz
Vde clock is set to 272000 KHz
Bootloader Start at:2017 ms
PCB value(0x0)
Initializing Display
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
Inval idate-only cache maint not supported in NvOs
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
LowLowBatteryCheck
LowLowBattery Check pinvalue=0
Battery capacity >low low Battery voltage
PCB value(0x0)Show mdpilogo
show logo at 2814ms
[bootloader] (built on Nov 22 2012, 20:19:53)
Platform Pre Boot configuration...
Verify chip uid
chip uid 1st RSAVerify ok
The Device is UnLocked.
SocCpuMaxKHz = 1000000
SocCpuMinKHz = 32
PLLX0 FreqKHz = 700000
Checking for android ota recovery
PCB value(0x0)
Platform Pre OS Boot configuration...
HDMI CPLD Program - ERROR
HDMI CPLD Program - ERROR
CpldRead8(): Failed: SlaveNotFound slave Add 0xd2
The enabling SDMMC1 Power rail is FAILED.
Actual Size = 0x540800 bytes
Verify chip uid
chip uid 1st RSAVerify ok
The proc BoardInfo: 0x0222:0x8200:0xe0:0x4f:0x44
PCB value(0x0)
!!!ERROR!!! EKS Partition is not available
Jumping to kernel at:3737 ms
thanks
Click to expand...
Click to collapse
1) where is the uart?
2) is that all there is of the log?
yes its all log frezed on asus logo not continue meybe it is first warmboot sorry i will edit first post for points for uart debuging txd and rxd pins still not redy drawing. meybe i find too jtag pin points too still i not sure
fullcontrol said:
yes its all log frezed on asus logo not continue meybe it is first warmboot sorry i will edit first post for points for uart debuging txd and rxd pins still not redy drawing. meybe i find too jtag pin points too still i not sure
Click to expand...
Click to collapse
How did you brick your Prime? Did you check the unbricking thread?
fullcontrol said:
yes its all log frezed on asus logo not continue meybe it is first warmboot sorry i will edit first post for points for uart debuging txd and rxd pins still not redy drawing. meybe i find too jtag pin points too still i not sure
Click to expand...
Click to collapse
have you tried holding vol-down?
first post have been updated... i hope it will be helpful for you
i brick it when i send clockwork 5x img in fastboot adb mode first i have no problem with boot up after few a reboot enter in fastmode try to active cwm menu and didnt see cwm recovery menu i have do wipe data wipe process gone long time and i power off my tablet then tablet bricked sty in asus logo only. vol power button combination not help i see nothing there is full log what happened on boot
i not underdstand why on debug i see only command end line not all commands meybe UART4_TXD n UART4_RXD not connected? i will check it soon
what mean "Checking for android ota recovery" i have try with microSD put there firmware not work i not have otg for test i will build one later meybe look special file name? or boot look some recovery file in any port!? devs will be know it i think all answers have in oficial kernel im not dev programmer to i find sorry i will try soon
wipe data or cwm kill my "EKS Partition" it is for jelly bean partition table here is link for jelly bean partition table http://forum.xda-developers.com/showthread.php?p=38754475
Looking over your log, and with the new information sadly you have a bricked unit.
JTAG is fused off on production devices, so that is out, and it looks like you have a boot to recovery flag set, but a broken recovery partition.
There is one thing you could try if you are up to it, but it really isn't the most simple exercise, find the mmc data lines, wire that up to an mmc reader, then using your pc find the misc partition and clean it.
lilstevie said:
Looking over your log, and with the new information sadly you have a bricked unit.
JTAG is fused off on production devices, so that is out, and it looks like you have a boot to recovery flag set, but a broken recovery partition.
There is one thing you could try if you are up to it, but it really isn't the most simple exercise, find the mmc data lines, wire that up to an mmc reader, then using your pc find the misc partition and clean it.
Click to expand...
Click to collapse
thanks for your advice yes i have jrag before arm power pc stb processors arm cpu must be enter test mode to allow jtagin! it is rulle
tegra based arm have that pin TEST_MODE_EN R28 i not have t30 bga stenchil to remove cpu to folow that lines i will check it soon
and update first post im just lazy
last other possibility is to i remove nand flash and place different arm device to root or programmer to reflash it easy but i need worked dump file stil emmc nand is new not all devices use that nand.
sorry you mean SDmmc or nand device there have alot memmory controler data lines
fullcontrol said:
thanks for your advice yes i have jrag before arm power pc stb processors arm cpu must be enter test mode to allow jtagin! it is rulle
tegra based arm have that pin TEST_MODE_EN R28 i not have t30 bga stenchil to remove cpu to folow that lines i will check it soon
and update first post im just lazy
last other possibility is to i remove nand flash and place different arm device to root or programmer to reflash it easy but i need worked dump file stil emmc nand is new not all devices use that nand.
sorry you mean SDmmc or nand device there have alot memmory controler data lines
Click to expand...
Click to collapse
the test mode pin is irrelevant, the device has an efuse block that when a specific fuse is blown (ODM_SECURE) JTAG is strictly prohibited by the bootrom, this is inside the SoC and not exposed externally at all.
While the emmc may have many many pins underneath it, there are only a limited number in use as it isn't attached as nand but rather mmc, and connected to the tegras mmc bus, with a little bit of time and probing you would be able to figure out which pins are required for data, there is even a possibility of disabling the emmc as it tries to read the boot flag but timing that would be extremely hard, and it would be easier to figure out the data bus.
Your only other real option is to send it to asus
Can you explain with a little more detail exactly what you did to get uart working? I've looked over the the instructions and they aren't very clear (I do understand that English is not your first language and that does make it harder).
I've tried to follow them myself and I'm not having much success really
first post updated so any idea ?
It was my understanding that both UART and JTAG are efused out on production hardware? If not, I am going to feel compelled to give this a whirl...
Sent from my Transformer Prime TF201 using xda app-developers app
all the answers are in blob.ebt =bootloader.bin file who can extract the strings in the bootloader ?
fullcontrol said:
hi all im electronic tech i have brick my tablet when try flash in fastboot adb fastboot mode clockwork recovery 5.8xx first device opened and boot up normal without any problem then i reboot few time i have not seen cwm menu and i wipe data and tablet hardly bricked lol
so i start to find the way how to unbrick it without nvflash wheelie Secure Boot Key (blob.bin) because i not backup it. and still i don't know how to backup it!?
After a long research tegra based schematics and nvidia tegra dev docs, some forum posts, for my prime i got the idea from google nexus 7 schematic there used same pin con. figure
this post nexus7 sch http://forum.xda-developers.com/showpost.php?p=31922480&postcount=86
i find in printed circuit board GMI_OE_N, FORCE_RECOVERY#, and Uart Debug, jtag. connector pinout for comminication but that socket and some resistor used only for development process and test. its unmounted for production.
first i try FORCE_RECOVERY# pin when i power on tablet short it with ground device entered directly APX mode but that is same with vol power button combination tegra Soc still not allowed me to access emmc nand.
I started to research uart debugin i find this post http://forum.xda-developers.com/showthread.php?t=1081743 little information about howto tegra uart debug to understand what has happened to the bootloader
in experiment first i see in terminal garbage ascii characters i change TTL the location of the wire uart TXD, and uart RXD. "UART_DEBUG_TXD <-> UART_DEBUG_RXD" for tf201 showed me the right uart log in terminal meybe jtag pins are different placed i still not sure? but F_Recovery, pin and Hot_reset, pin are in same place VDD1.8v pin where have in right placed! i have edit schematic picture with paint for correction
i use for Uart debugin Usb TTL adapter pl2303 and PuTTY terminal emulator
How to: UART
1. Connect TTL to source device TX
2. Connect TTL RxD to source device RX
3. Connect TTL GND to source device GND! (don't forgot it!)
5. Open a terminal emulator, like PuTTY.
Connection parameters:
115200, 8 n 1, no flow control
Warning! Use this information at your own risk. Will void your warranty!
!don't Unmount nothing in pcb!
edited by me 24pin con. points schematic View attachment 1784738
mb pad connector pic View attachment 1784739
here is the power on boot debug log
Code:
-Mé11AÁé¢ÂZ¡é)9YI8
-MéAUéºZ¡é)9YI8I8 1=
½¹Ñɽ±±ÉéªRre%Õiêjjj¥*áÑɹ
½¹Ñɽ±±ÉéªRş
ADJUSTED CLOCKS:
MC clock is set to 250000 KHz
EMC clock is set to 500000 KHz (DDR clock is at 500000 KHz)
PLLX0 clock is set to 700000 KHz
PLLC0 clock is set to 600000 KHz
CPU clock is set to 700000 KHz
System and AVP clock is set to 102000 KHz
GraphicsHost clock is set to 163200 KHz
3D clock is set to 83333 KHz
2D clock is set to 83333 KHz
Epp clock is set to 83333 KHz
Mpe clock is set to 83333 KHz
Vde clock is set to 272000 KHz
Bootloader Start at:2017 ms
PCB value(0x0)
Initializing Display
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
Inval idate-only cache maint not supported in NvOs
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
PCB value(0x0)
LowLowBatteryCheck
LowLowBattery Check pinvalue=0
Battery capacity >low low Battery voltage
PCB value(0x0)Show mdpilogo
show logo at 2814ms
[bootloader] (built on Nov 22 2012, 20:19:53)
Platform Pre Boot configuration...
Verify chip uid
chip uid 1st RSAVerify ok
The Device is UnLocked.
SocCpuMaxKHz = 1000000
SocCpuMinKHz = 32
PLLX0 FreqKHz = 700000
Checking for android ota recovery
PCB value(0x0)
Platform Pre OS Boot configuration...
HDMI CPLD Program - ERROR
HDMI CPLD Program - ERROR
CpldRead8(): Failed: SlaveNotFound slave Add 0xd2
The enabling SDMMC1 Power rail is FAILED.
Actual Size = 0x540800 bytes
Verify chip uid
chip uid 1st RSAVerify ok
The proc BoardInfo: 0x0222:0x8200:0xe0:0x4f:0x44
PCB value(0x0)
!!!ERROR!!! EKS Partition is not available
Jumping to kernel at:3737 ms
"END"
i find jelly bean internal FLASH ROM partition table documentation for lg x4 HD tegra3 based SoC
chinse http://bbs.gfan.com/android-5633570-1-1.html
The EKS hidden partition 2M
The "NVEKSP" logo, followed by a 2048-bit key and guess verify boot.img with the public key. Using RAS (guess) algorithm SOS and LNX partition data do signature verification, signature data block (1024 bytes) in the tail of the SOS and LNX partition data.
[partition]
name=EKS
id=6
type=data
allocation_policy=sequential
filesystem_type=basic
size=81200
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=eks.dat
thanks
Click to expand...
Click to collapse
Hi,
I have a bricked tf201.
I'm very interested in the progress you made so far. Any luck sniffing the nand data lines?
I have a hard bricked tf201, does this mean there's a possibility to fix it?
Sent from my LG-P880
axepted said:
I have a hard bricked tf201, does this mean there's a possibility to fix it?
Sent from my LG-P880
Click to expand...
Click to collapse
Well... everything is possible....
I'm waiting for my bus pirate to arrive. After that, It may be possible to reflash the nand thru the jtag interface
Any updates?
I hard bricked my tf201 too and i try to find unbrick
Hello,
Is there a way to hack the encryption in order to create our proper blob.bin manually ( with hex editing another blob.bin)
No ?
Thanks
Hi guys,
Finally , does anyone could retrieve the start of our TF201 using the procedure with JTAG ? or change, does only have the option to change motherboard of the TF201 ?
Hi,
I wanna get shell/console access to a Xiaomi MI Smart Speaker Model: L09G.
I soldering PINs to it an get Serial Access.
Can see the boot process but not get a console/shell.
What can I do ?
Chip: Toshiba LF1630 / TC58NVG1S3HB
TC58NVG1S3HBAI4 E2PROM Datasheet pdf - NAND E2PROM. Equivalent, Catalog
Toshiba TC58NVG1S3HBAI4 | E2PROM. TC58NVG1S3HBAI4 TOSHIBA MOS DIGITAL INTEGRATED CIRCUIT SILICON GATE CMOS 2 GBIT (256M 8 BIT) CMOS.
datasheetspdf.com
Found in the boot log this line:
enable adb debug prop
how to get access with adb to the device ?
Thanks
had a mistake in the wireing....
now I can interrupt the boot process....
got enviorment & usage
axg_s420_v1_gva#get_bootloaderversion
s_version: U-Boot 2015.01-gfe79c6daed-dirty
U-Boot 2015.01-gfe79c6daed-dirty (Aug 27 2020 - 14:13:41)
aarch64-none-elf-gcc (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) 4.9.2 20140904 (prerelease)
GNU ld (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) 2.24.0.20140829 Linaro 2014.09
axg_s420_v1_gva#get_system_as_root_mode
CONFIG_SYSTEM_AS_ROOT: null
axg_s420_v1_gva#nand info
Device 0: A revision NAND 2Gib TC58NVG1S3HBAI4 , sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
size 2097152 b
Device 1: A revision NAND 2Gib TC58NVG1S3HBAI4 , sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
size 268435456 b
axg_s420_v1_gva#