|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
| LinkBack | Thread Tools | Display Modes |
09-16-2012, 08:30 | #1 (permalink) |
No Life Poster Join Date: Feb 2002 Location: Russia Age: 44
Posts: 2,681
Member: 9519 Status: Offline Thanks Meter: 2,150 | nokia lumia, why we need 3 wires to eMMC ? as i understand, ATF found testpoints to disable eMMC, bootrom then entering recovery mode, then loader uploaded, which allow us to work with eMMC. ( as nokia for unknown reasons using qualcomm mcu with not enabled security, we can load anything in phone using that way ) judging from schematics, points are : eMMC_SDC2_CLK eMMC_SDC2_DATA0 eMMC_SDC2_DATA1 question: isn't it enough to just put eMMC_SDC2_CLK to GND, then connect USB ? recovery bootloader should awake then ... ps. i have lumia, but i fear that if i disassemble it, it will be end to poor phone |
The Following 7 Users Say Thank You to the_laser For This Useful Post: |
09-16-2012, 09:45 | #3 (permalink) | |
No Life Poster Join Date: Nov 2009 Location: Syberia Age: 34
Posts: 12,508
Member: 1157320 Status: Offline Thanks Meter: 6,192 | Quote:
Was already try a long time ago. Without and with external power. If connect with TP - currency eat always 30 mA, if without it - jump from 50mA, after go to 30mA. | |
The Following User Says Thank You to Dzirt For This Useful Post: |
09-16-2012, 11:20 | #4 (permalink) |
No Life Poster Join Date: Feb 2000 Location: UK
Posts: 3,186
Member: 1024 Status: Offline Thanks Meter: 5,510 | Hi, I have to admit, i was too lazy to read the full eMMC specification and trace all points, but from few minutes testing the solution i understand that this flash chip supports standard MMC serial interface, as well as parallel. So he just configures the FPGA as SD card reader and does the init and raw read/write directly to the chip as it is a SD card in a reader. Am i wrong ? BR |
The Following User Says Thank You to Bph&co For This Useful Post: |
09-16-2012, 11:41 | #5 (permalink) |
No Life Poster Join Date: Feb 2002 Location: Russia Age: 44
Posts: 2,681
Member: 9519 Status: Offline Thanks Meter: 2,150 | @bph&co: i think about that too, but look : they only using data0 and data1 lines, while eMMC have 8 lines of data, eMMC_SDC2_CMD and so on, so that 3 points definitely just to "lockdown" eMMC from MCU. entire idea is to disable eMMC or trash data,received from it so boot hash will be bad and phone switch to qhusb_dload well, that is pretty easy to check, if you have ATF and lumia 800 - if new usb device appears, then i'm correct ( sure 95% ) @dzirt: did you try to apply GND to TP1555 when phone without battery and then insert USB cable ? ( sounds stupid, but maybe we need to apply logical one instead ? ) |
09-16-2012, 11:56 | #7 (permalink) | |
No Life Poster Join Date: Feb 2000 Location: UK
Posts: 3,186
Member: 1024 Status: Offline Thanks Meter: 5,510 | Quote:
but here seems this USB recovery driver in ROM (if exist) is dissabled or at least no one was able to make it work yet. But after successful 'Test Connection' from ATF - there is no USB device in windows, USB is used just for power. To talk to MMC compatible device you need SPI type interface (data in, data out and clock) + CS. The thing that is not clear is if you have two masters on the bus, in this case the ATF FPGA and the Qcom CPU, how do you keep the CPU in reset all the time, it looks like we are one test point short. | |
The Following User Says Thank You to Bph&co For This Useful Post: |
09-16-2012, 12:28 | #8 (permalink) |
No Life Poster Join Date: Feb 2000 Location: UK
Posts: 3,186
Member: 1024 Status: Offline Thanks Meter: 5,510 | So, red/yellow - CLK(TP DETECT) blue - MOSI green - MISO Looks like pretty standard SPI to me, plus the 0xFF clocked on the data bus before power on, spot on MMC communication. |
The Following 4 Users Say Thank You to Bph&co For This Useful Post: |
09-16-2012, 13:19 | #9 (permalink) |
No Life Poster Join Date: Feb 2002 Location: Russia Age: 44
Posts: 2,681
Member: 9519 Status: Offline Thanks Meter: 2,150 | @bph&co: 1. so, it is 5% - there is no any new usb device appear - and they working with eMMC directly. my regards to Xshadow programmers still i wonder, how it is done, maybe need to read eMMC specs. in any way, i assume that in nearest time only cyclone box will have ability to work with lumia on same level and ATF does, cause it requires good programmable box device. ( or wait, maybe genie can do that ? ) 2. there is no way to disable bootrom recovery downloader, it is embedded in bootrom and will always arise, if phone can't find valid boot on eMMC,supported NAND flash, supported NOR flash. sadly, i don't have access to sony lt26 schematics, it have eMMC and testpoint for entering recovery downloader known. ergo: need to find some point to damage data from eMMC. maybe if we ground some of eMMC_SDC2_DATAx lines - that will do job ? Dzirt, try that please ( again, reminding that phone must be without battery and testpoint should be applied without USB cable attached ) |
The Following 2 Users Say Thank You to the_laser For This Useful Post: |
09-16-2012, 13:34 | #10 (permalink) | ||||
No Life Poster Join Date: Feb 2000 Location: UK
Posts: 3,186
Member: 1024 Status: Offline Thanks Meter: 5,510 | Quote:
earlier - the quality implementation of Dejan TP hack in their first box, the SHA bootrom exploit, etc. Quote:
if you had its pretty obvious. Quote:
Quote:
idea would be to play with CS or RESET. Do you have this ROM dumped from non Nokia phone ? | ||||
The Following 2 Users Say Thank You to Bph&co For This Useful Post: |
09-16-2012, 13:43 | #11 (permalink) |
No Life Poster Join Date: Nov 2009 Location: Syberia Age: 34
Posts: 12,508
Member: 1157320 Status: Offline Thanks Meter: 6,192 | @the_laser If we remove eMMC, should be it have chances to be detected as QC? I was format my L710 just for fun, and have 2 other flash ic ( first one fully cleat, second from working L710 ) About tp - was try now, no luck If I ground data0 or data1 lines - nothing happen. |
The Following User Says Thank You to Dzirt For This Useful Post: |
09-16-2012, 14:13 | #12 (permalink) | |
No Life Poster Join Date: Feb 2002 Location: Russia Age: 44
Posts: 2,681
Member: 9519 Status: Offline Thanks Meter: 2,150 | @bph&co: i have bootroms from two different 8x55-based phones, different maker, they are same bit-to-bit. however, both phones were secure-enabled ( valid rsa signature required and so on ) as secure enabled just by programming eFUSE bit, i heavily doubt that qualcomm will make different bootroms for secure and non-secure msm here is exempt from emergency download "document" Quote:
@dzirt: well then, it is dead way and need to think more, how to run recovery dload. Last edited by the_laser; 09-16-2012 at 14:22. | |
The Following User Says Thank You to the_laser For This Useful Post: |
09-16-2012, 14:29 | #14 (permalink) | |
No Life Poster Join Date: Feb 2000 Location: UK
Posts: 3,186
Member: 1024 Status: Offline Thanks Meter: 5,510 | Quote:
to still have valid and responsive eMMC device, with just bad data. So you need maybe to damage data on the line, at specific moments, not entirely remove/disable the chip. This is why i asked for dump, if not ok to share, maybe you can post IDA code of emergency mode testing routine ? | |
09-16-2012, 15:02 | #15 (permalink) |
No Life Poster Join Date: Feb 2002 Location: Russia Age: 44
Posts: 2,681
Member: 9519 Status: Offline Thanks Meter: 2,150 | emergency mode arised in pbl_error procedure, lets call it so. i'll cleanup it and post later, i'm only disassembled and commented good required parts for me, most of bootrom not explored that bootrom still have some value, can't share full version. i'll cut some security parts and post it later. |
Bookmarks |
| |
|