Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
raz123
Old
(Last edited by raz123; 23rd February 2012 at 08:39 PM.)
#1  
Senior Member - OP
Thanks Meter 25
Posts: 121
Join Date: Oct 2010
Question [Q] Interfacing manually with internal MMC / internal moviNAND issue

Two SGS Captivates. The internal MMC (moviNAND, 16Gb) of one works, while the other doesn't.

On the defective unit, the MMC continuously responds to CMD1 (SEND_OP_COND) with the busy flag -- ie: never finishing internal initialization.

Boot logs between units shows no discernible difference (debugging enabled).

Changing kernel/bootloader/rom shows no difference. MMC never finishes internal initialization.


Questions:

1. Is there a way to manually interface with the MMC and send it commands from user mode, outside of the kernel?
2. What might cause the internal MMC to never finish its internal initialization?
3. What possible causing files/registers survive a kernel/bootloader/rom change, and can they be read/modified from user mode?


Any input is appreciated.

Thanks!


PS: Do not suggest re-partitioning, factory reset, or microwave .
 
AdamOutler
Old
#2  
AdamOutler's Avatar
Elite Recognized Developer
Thanks Meter 8024
Posts: 4,745
Join Date: Feb 2011
Location: Louisiana

 
DONATE TO ME
Captivate uses OneNAND, not eMMC or MoviNAND.

Have you tried my i897 KB2 Heimdall One-Click with bootloader flashing enabled?

http://files.teamkomin.com/files.php?dir=Captivate%2F
I ignore PMs with questions that could be answered by searching. If you PM me, I probly won't respond.
Check out my developer pages. Add me to your circles on Google Plus.
 
raz123
Old
(Last edited by raz123; 23rd February 2012 at 07:30 PM.)
#3  
Senior Member - OP
Thanks Meter 25
Posts: 121
Join Date: Oct 2010
Quote:
Originally Posted by AdamOutler View Post
Captivate uses OneNAND, not eMMC or MoviNAND.

Have you tried my i897 KB2 Heimdall One-Click with bootloader flashing enabled?

http://files.teamkomin.com/files.php?dir=Captivate%2F

Hey there.

Yes, the "dysfunctional" phone is able to boot into the OS (OneNAND is fine), but its MoviNAND (internal eMMC/SD, 16Gb) stays silent/dead.

Yes, countless kernels/partition files/bootloaders/roms were tried.

The issue is that the the eMMC will never finish its internal initialization and always responds to CMD1 with the "busy flag" set, making further data requests impossible.


EDIT: I see that the SBL has something called "mmctest". How can one trigger/launch/interface with it?
 
connexion2005
Old
#4  
Senior Member
Thanks Meter 630
Posts: 927
Join Date: Feb 2009
Location: Texas

 
DONATE TO ME
Although many of the SGS 1 variants used a oneNAND of either 1GB or 512MB to house firmware information, I have found that portions of the internal storage have been segmented for CSC scripts and other various tasks the device will use. I'm working with a few developers for more access the to the EMMC zones via JTAG to determine if all of these "partition bricked" devices are actually gone for good as they have been claimed in the past and up until this point, or possibly resurrectable by overwriting valid EMMC info into the corrupt zones. The team and I already have access to full EMMC chip infrastructure on newer Galaxy S II devices and things like the Galaxy Player 5 but I'm pushing them to develop more for older devices with these problems as well for useful data recovery tactics on devices that may be not boot, but still allow access via JTAG. This would allow me to back up any part of the chip (pictures, music and videos or anything else) for advanced data recovery in scenarios when an onboard USB controller is bad, display module is bad or their is a PMIC issue.

Time will tell if this is a fixable issue but good luck to you if you can figure out a way to run a script to clean up corrupt EMMC zones!
MobileTechVideos
The ORIGINAL (Hard Brick / JTAG Repair EXPERT)
I CAN RECOVER HARD BRICKED PHONES. PM me for any questions about JTAG...
Follow me on TWITTER and/or FACEBOOK...
 
Rebellos
Old
#5  
Elite Recognized Developer
Thanks Meter 2690
Posts: 1,248
Join Date: May 2009
Location: Gdańsk

 
DONATE TO ME
Quote:
Originally Posted by raz123 View Post
Questions:

1. Is there a way to manually interface with the MMC and send it commands from user mode, outside of the kernel?
2. What might cause the internal MMC to never finish its internal initialization?
3. What possible causing files/registers survive a kernel/bootloader/rom change, and can they be read/modified from user mode?
1. SBL commandline accessible through UART. Or modified SDHCI driver inside of kernel (you can find drivers in /drivers/mmc/ /arch/arm/plat-samsung /arch/arm/plat-s5p /arch/arm/s5pv210) AFAIR, you can also build kernel with enhanced MMC debugging (MMC_DEBUG / DEBUG_MMC define in config file, also some additional debug macros inside of drivers).
2. HW damage like broken soldering or damaged moviNAND chip.
3. I'm pretty certain that none.
Feedback on my development is highly appreciated, but first you should read this GUIDE and watch this MOVIE.

If you like my work - you can help me getting various cool stuff by clicking donation link in my profile. It's not required while pressing is, just appreciated.

Pretty owsom Android/Kernel dev tips&tricks: http://omappedia.org/wiki/Android_How-tos

Git HOW-TO by eagleeyetom: http://forum.xda-developers.com/show...php?p=31304826
15-minutes GIT introduction: http://try.github.com
If you want to submit patches to my git projects - use the guides above and make a pull request.
 
vtp
Old
#6  
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Aug 2010
This seems relate to my Tmobile Vibrant problem. In the recovery mode it report moviNand open fail then moviNand checksum confirmation fail
The Vibrant now has 0 internal storage space. The format command or even the *2767*3855# command have no effect. I'm running 2.2 now flash via ODIN with no internal space.
 
Post Reply+
Tags
cmd1, commands, defective, internal, movinand
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more