yashsingh1/xdaforums huggingface dataset:
[Hardware Hacking General] AdamOutler:
The arduino handles 3.3v logic highs just fine. The problem is the phone... however from my testing, it appears to handle 5v highs just fine. If you are concerned, you can make a 2/3 voltage divider out of a 60 and a 30 ohm resistor or something. It just hooks up to our phones. And works though.

Make sure you get a Mega so you get multiple serial ports..

I got to thinking... id have to come up with a 1megohm potentiometer, tight a stepper motor to turn it, and use adbwireless to transfer information. The entire operation would have to be synchronized by the pc and a bash script could do the job of commanding the arduino to step the stepper and request new information from adbwireless....

Let me tell you... I am in a hospital waiting for my son to be born so just about anyone could accomplish this quicker then I could. Even with shipping times to get an arduino mega from sparkfun. I can provide guidance on this for anyone who wants to do it. I wont have time though.
[Hardware Hacking General] js22:
Using viewmem.c as an example, I wrote a little program called om_watch.c

Here is the source :

#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/mman.h>
#include <unistd.h>

#define INFO(fmt, ...) fprintf(stderr, "[INFO] " fmt, ##__VA_ARGS__)
#define ERR(fmt, ...) fprintf(stderr, "[ERR] " fmt, ##__VA_ARGS__)

#define MAX(x, y) ((x) > (y) ? (x) : (y))

int main() {
int	fd;
unsigned long addr = 0, i, newaddr;
void	*buf;
char	temp[4];
int	size =1;
int	count;
char	*om = temp;

addr = 0xE010E100;

count = 0;
while(1) {
fd = open("/dev/mem", O_RDONLY);
if (!fd) {
ERR("Couldn't open /dev/mem! (%s)\n", strerror(errno));
return -1;
}

newaddr = addr & ~(getpagesize()-1);
buf = mmap(NULL, MAX(getpagesize(), size & ~(getpagesize()-1)),
PROT_READ, MAP_SHARED, fd, newaddr);
if (buf == MAP_FAILED) {
ERR("Couldn't map 0x%lx (%d %s)!\n", addr, errno, strerror(errno));
close(fd);
return -1;
}

*(unsigned long*)temp = *(unsigned long*)(buf + (addr-newaddr) + i);
if (*om != 0x09) {
printf("\n\n\n------------------------------------------\n\n\n");
printf("Woohooo !!!! OM = 0x%02X\n", *om);
printf("\n\n\n------------------------------------------\n\n\n");
}
if ((count%1000) == 0) {
printf("0x%02X\n", *om);
}
count++;

munmap(buf, size);
close(fd);
usleep(100);
}
return 0;
}

I will (attempt to) attach a tar file which includes the source and binary files. The program runs on my phone; I hope it will run on yours :)

(on linux host)

# tar xvf om_watch.tar

# adb push om_watch /mnt/sdcard

# adb shell

(on phone)

# mount -o remount,rw /dev/block/stl9 /system

# cp /mnt/sdcard/om_watch /system/bin/om_watch

# om_watch

use Ctrl-C to stop.

The prog watches OM bits, prints them out at a brisk pace (< 1 per sec) and if they ever equal anything other than 0x09, prints pout a very visible message.

NOTE: to compile the program, I used a very handy perl script called agcc which I found on this page : http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html
[Hardware Hacking General] AdamOutler:
Wow!! Awesome. Now any terminology can be a diagnostic device... maybe you can get the USB value as well.. im not sure what that value does, but I have seen it change. That's really great! Now you need a potentiometer to do some testing.

How quick does the system react to changes to the resistor? Watching the dmesg output, it was around 5 seconds.

Edit... im mobile.. terminology should have been terminal
[Hardware Hacking General] js22:
I was looking at the service manual linked to on page 1 of this thread. No huge insights, but I did notice that it gives enough info to locate the FSA9480 chip on a Samsung GT i9000. I'm not up on all the different phone models; I have a Captivate, which is a little different than the photos, but hopefully not drastically so.

Anyway, I will try to attach a photo with the part circled in red. It looks like there are two test points adjacent to the chip. For anyone brave enough to disassemble their phone and apply power (please don't do this unless you know already what precautions to take and are meticulous in applying them !!!!!) it would be interesting to see if either of these test points changes when a 619k resistor is applied to the USB ID pin.

Probing the test point with a voltmeter should be painless and non-destructive, but again I have to stress : DON'T DO IT unless you are accustomed to working with sensitive electronics and are willing to take the risks.

I'm not quite in a position to do it myself, mainly b/c I need to still need to exchange my phone (shuts itself off) and I don't want to void my warranty.

Slightly less safe ... I can't help but wonder if one of those test points is our dear friend OM[5]. If it is, we might be able to move ahead with this project. Since we have no clue whether either of those TPs is a input or output, the safest way to check would be to run om_watch and momentarily apply a weak pull-up. I'm thinking something like 50k ohms to +3.3V
[Hardware Hacking General] js22:
Without specs on the FSA9480 chip, its hard to say for sure, but I imagine it has to be pretty darn fast. It's basically just an ADC.

In order to see a change in the dmesg output, the signal has to snake its way through a lot of software layers. I would imagine the Android logging system (which is different from normal Linux) chooses low power consumption over speed.
[Hardware Hacking General] js22:
Oh, and another thing :

Congrats on that. And I thought I didn't have time to be messing around with this :eek: !!!
[Hardware Hacking General] Fuma:
AdamOutler congrats.I hope the newborn is in good health.

And thank you for all the work and effort you put in this project.
[Hardware Hacking General] androcheck:
Hi Adam,

Congratulations from me too! :) Wish you all the best for your little son or daughter! :)
[Hardware Hacking General] midas5:
In the u301 location diagram, why are there 7 pins going to the usb port? I thought it would be 5!
[Hardware Hacking General] AdamOutler:
A couple of things... For that program js22 wrote.. We now need a 13 turn 1megohm potentiometer hooked to a stepper motor. The stepper can be driven by an Arduino, or any other microprocessor with an output. The arduino has a Stepper library which will assist with driving a radio shack stepper. Just glue the stepper to the motor's output shaft and let the arduino turn the unit. the center and side pins from the potentiometer should be hooked to USB pins 4 and 5. js22's program running in a terminal will do the rest.

I've got another black screen brick showing up on Monday or Tuesday. I will first attempt a 301K resistor to see if the phone has download mode, then log 619's output.....
[Hardware Hacking General] AdamOutler:
There is only 5 pins.

V_BAT = ground Pin5

V_BUS_5V= 5Volt D- Pin3

VBUS5V= 5V D+ Pin 2

VCC_2.8V_PDA= USB + 5V ( I don't understand the 2.8) Pin 1

JIG(e4) = sensing pin on USB Pin 4.
[Hardware Hacking General] midas5:
Adam, i meant the pic of the actual circuit board in js22 post.
[Hardware Hacking General] AdamOutler:
The image shows redundant grounds. More grounding = cleaner signals. Also when you have additional grounding a few can break and things still work. Ground is the 0 reference point and more important in high speed communications then low speed. When frequencies get higher anand circuits physical size gets smaller, capacitance goes up and signals get distorted. Ground makes things sane again.
[Hardware Hacking General] AdamOutler:
i cant id most of the chips on my captivate.....
[Hardware Hacking General] kngthdn:
I've read through all of this thread and the 'Fun with resisters' thread (twice, actually :D ), and you guys have made some awesome discoveries about how the devices respond using USB/UART. Before this, I was under the impression that a RIFF box was pretty much my only real chance at unbricking. (and I would probably spend the $150 to salvage my phone, but I can barely solder at all.)

I was wondering if you had any thoughts about my hard-brick situation, which is a bit different than just a bad flash... Earlier this week I flashed the new i9000 Gingerbread (JVB) on my Captivate, including the new bootloaders. One thing led to another and in a moment of complete idiocy, I tried to flash back to JF6 using the 3-button fix Odin here: http://xdaforums.com/showthread.php?t=818439&page=1

What I didn't realize is, the PDA tar file I used only included sbl.bin, and not boot.bin. Odin finished completely- and I believe successfully- so presumably I now have the new JVB boot.bin (IBL + PBL, or just PBL?) and the old Eclair/Froyo SBL. Apparently this is a non-functional combination though, so once the phone rebooted I got a black screen w/ no backlit keys.

What I'm really wondering is, if I set up the same kind of UART connection with 150K or 619K resistance & an Arduino hooked up to my Linux laptop, maybe there is some chance to coax the phone into download mode using the commands available at the terminal? ...or am I just being too optimistic about making it far enough into the boot process to actually be able to use the commands provided by the SBL?

(Sorry if this is the wrong place for this, it seemed like you'd have the best idea about whether this stands any chance of working.)
[Hardware Hacking General] AdamOutler:
There is a very good chance of recovery. The IBL is never flashed. It's reserved memory. We can't flash it. As far as I can tell, even if we wanted to, we can't mess with the IBL. The programs available for messing with the lowest levels of our phones require that we start past the 32nd block.

I would really like a crack at your phone for logging. I may be able to recover it. Would you like to send it? You simply pay shipping.

Member connexion2005 is looking for some bricked phones to perfect his JTAG technique. If you'd like... You could arrange something with him and myself. If I can't fix it, I can forward it to him. Send him and I a PM, specify both of us as recipients of the PM as it would require cooperation and both of us would be in the loop. I'm already doing this for another member and his phone should be showing up tomorrow.

Have you tried a 301Kohm resistor between Ground and JIG (pins 4 and 5) yet?
[Hardware Hacking General] kngthdn:
Hi Adam,

Well, sure. :) If you're interested in giving it a shot, I'm definitely willing to mail it to you so you can try getting it into download mode with USB/UART. My thinking is that both bootloaders are valid, the JVB PBL just doesn't work with the old JF6 SBL. Maybe there's some useful error messages you can see in the output. I'm sure it would take me quite a while (at least a week or two) to order the parts and get anywhere near the level of progress you've already made anyways.

I'm not so sure about connexion2005 soldering on it just yet, though. I mean, he's awesome, but this has become my backup Captivate now and I'm not in that big of a rush to get it fixed... his thread kind of made it sound like a 50/50 chance right now. I'd rather be one of his first paid customers after he's a Captivate JTAG pro. ;)

(I mean that as no offense to him of course, he's been awesome & I don't question that he's more than capable of fixing it.)

As for the 301k resistor... I actually have one of his jigs, and while it definitely works on my Captivate that's not bricked, it doesn't seem to have any effect at all on the bricked Captivate.

If you're interested, PM me your address & a suggested ship method. I work next to a FedEx and a post office, so I might be able to drop it in the mail tomorrow. (and thanks for replying! :))
[Hardware Hacking General] js22:
hi kngthn,

Sorry to hear about your phone. Despite all the useful advice on this site, I know how hard it can be to keep it all straight.

I don't reallt know anything about the new (GB) bootloaders, so its hard to say why they dont interoperate with the old ones.

The only thing the PBL does is set up the hardware (clocks, memory, etc.) and then load the SBL. Its hard to imagine why the new PBL would have changed drastically from the old one.

All existing recovery modes (except JTAG) rely on a working SBL. So the big question is whether your SBL is working some, or not at all. That, at least, should be easy to diagnose by watching the UART output.

If the SBL makes it to the point where a UART input brings up the "SBL>" prompt, then a recovery shold be possible (although I don't of anyone who has done this.)

p.s. I don't blame you for holding off on the JTAG. I've been hand-soldering surface mount chips for years, and I would never try anything that small.
[Hardware Hacking General] midas5:
Khgthdn,

as you have a 301k jig. Power off the phone and remove the battery. Then, replace the battery and insert the jig for 30 seconds. Remove the jig, insert the usb cable and see if odin sees the phone. It might just be a matter of params being messed up and thus not able to display a graphic. If odin sees it, do not flash any more bootloaders. Only flash params until you get the graphics back. This can be done with heimdall. I now have ordered an arduino so i could maybe recover your phone if you send it to me. I am based in the uk if that helps? I think adam is in some other country. I tend to prefer heimdall because it lets you flash individual partitions and you never need a pit file as it reads it from your phone.
[Hardware Hacking General] midas5:
K,

what the arduino will help with is that it can tell us if the sbl is loading or not even if nothing is seen on the screen.
[Hardware Hacking General] AdamOutler:
make sure you get an arduino MEGA. It has 4 serial ports. All other arduino form factors currently have one serial port and that wont work to route serial around. The mega is important. Not uno, decimelia, or duemillanova. It must be an Arduino mega.
[Hardware Hacking General] renatofontes:
So... I bricked my phone yesterday... I'm gonna go to my mobile company to see if I can get it replaced...

But if I can't I'm willing to experiment with it and see if I can unbrick it =)

What would I need to buy if I want to try this?
[Hardware Hacking General] midas5:
Thank you Adam, I have ordered a mega2560.
[Hardware Hacking General] AdamOutler:
So, I've been working with a bricked Captivate today.... Here's the characteristics for those who are familiar with normal boot.

All resistors in this report are connected between MicroUSB pins 4 and 5 on the phone.

1. unit does not respond to a 301Kohm.

2. unit is not recognized by computer after hooked to a 301k

3. unit produces no uart output on 150Kohm resistor

4. unit produces no uart output on 619Kohm resistor

5. unit will boot primary bootloader when volume up or volume down is held and connected to a 619Kohm resistor with serial connection active!

here is the output:

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

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

Here is a line-by-line breakdown with hex codes

0|A|D| |
| |
2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|2D|A|D|
|- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |- |
20|20|20|53|61|6D|73|75|6E|67|20|50|72|69|6D|69|74|69|76|65|20|42|6F|6F|74|6C|6F|61|64|65|72|20|28|50|42|4C|29|20|76|33|2E|30|A|D| |
| | | |S |a |m |s |u |n |g | |P |r |i |m |i |t |i |v |e | |B |o |o |t |l |o |a |d |e |r | |( |P |B |L |) | |v |3 |. |0 |
20|20|20|43|6F|70|79|72|69|67|68|74|20|28|43|29|20|53|61|6D|73|75|6E|67|20|45|6C|65|63|74|72|6F|6E|69|63|73|20|43|6F|2E|20|36|2D|2D|2D|2D|2D|2D|2D|2B|6E|31|73|74|56|50|4E|20|20|20|20|20|20|20|32|36|38|38|20|A|D|
| | | |C |o |p |y |r |i |g |h |t | |( |C |) | |S |a |m |s |u |n |g | |E |l |e |c |t |r |o |n |i |c |s | |C |o |. | |6 |- |- |- |- |- |- |- |+ |n |1 |s |t |V |P |N | | | | | | | |2 |6 |8 |8 | |
2B|6E|50|67|73|50|65|72|42|6C|6B|20|20|20|20|36|34|20|A|D| |
|+ |n |P |g |s |P |e |r |B |l |k | | | | |6 |4 | |
50|42|4C|20|66|6F|75|6E|64|20|62|6F|6F|74|61|62|6C|65|20|53|42|4C|3A|20|50|61|72|74|69|74|69|6F|6E|28|33|29|2E|A|D|
|P |B |L | |f |o |u |n |d | |b |o |o |t |a |b |l |e | |S |B |L |: | |P |a |r |t |i |t |i |o |n |( |3 |) |. |
0|0|A|D| |

We now know there IS a secret key, the up or down buttons both will trigger this phone to turn on just enough to produce uart output.

A few things to note here:

The unit is not displaying our familiar IBL "10" as a first character

The unit searched for a SBL.

Someone who is familiar with PBL, please see if you can identify a way to trigger booting from UART. I have tried uploading a SBL a couple of times, it didn't seem to respond. Is there a protocol?

Any ideas?
[Hardware Hacking General] kaljr1980:
Adam if this helps at all here is the website for the files I EZRomd(Odined)

After the phone booted i realized something wasn't right i got into download mode the flashed to stock and that was all she wrote.
[Thunderbolt General] Capt.D:
Thunderbolt is behind in the finals.Help it out and vote for it.

http://blog.laptopmag.com/smart-phone-madness-2011-final-hp-pre-3-vs-htc-thunderbolt
[Thunderbolt General] animez:
The 'Bolt is WAY behind the HP Pre 3?! That thing looks horrible! Ug-lee.

Sent from my HTC Thunderbolt
[Thunderbolt General] Darkreignn:
Love the phone but not enough to vote for it. Very upset with the battery issues this phone is having. So for me voting is almost like recommending it to someone. It's actually making me miss my T-Mobile g2 I had. They should of had that phone on the list.
[Thunderbolt General] yareally:
It's kind of lame they're comparing it to a phone that won't come out for another 3-4 months. They must be webOS fanboys (though webOS is nice all around, just needs a platform to run on) but really, comparing a phone you can have now to a phone you can have sometime in the summer when it's barely spring right now?

At least they're not comparing to jesusphone 5 (which wont be out for another 7-8 months if that)
[Thunderbolt General] kierandill:
Yes, I agree, it should only be open to phones that actually exist. I'm sure there will be an HTC out in 2 years that will kick all their asses - lets put it in the bracket, too...

P.S. - It IS ugly. Looks like Salvador Dali painted a Blackberry...
[Thunderbolt General] yareally:
Palm has a physical keyboard fetish they wont get over, but obviously they could design a phone better that has a keyboard too. The first pixie phone (horrible name though) was pretty well designed.
[Thunderbolt General] bmcclure937:
To be honest, that whole "bracket" is bull****.
[Thunderbolt General] justin344:
What battery issue? I get ~1.5-2 days.
[Thunderbolt General] animez:
After looking at it a little closer I have to agree. I mean really, the BB Torch in the final four? Weak.

Sent from my HTC Thunderbolt
[Thunderbolt General] bmcclure937:
Exactly. And although I do not like the iPhone, it should definitely make an appearance in the Final Four... but I guess that is why it is called March Madness.

LOL
[General Questions and Answers] adamretzlaff:
I am wondering if there is a way to connect to wireless tether on my moto droid from my ideos s7. Can I connect the s7 to wireless tether?
[Adam Accessories] Meekos:
Hi.

I have purchased a wireless keyboard from Ace(of Sweeden), the Ace C5 for use with the Adam. It works, I can type, use the trackball etc.

I come from Denmark and the Danish language has three special letters: æ ø å - now the keyboard does support these letters (and other scandinavien letters) and it seems to work on a standard pc.

The issue is that Adam via wireless keyboard does not support these letters. I´ve tried another wireless keyboard and the outcome is the same, no æøå.

Since Adam support these letters via virtual keyboard I suspect it´s a driver issue?

Anyone who can help out with this issue? I would be grateful.
[Adam Accessories] stewarta:
Ace Keyboard and Adam

Yes, I am sure the character issue is software related.

Tell me, what OS are you using, e.g., plain Eden or EdenX? Rooted or not? I have tried everything (nearly) and if all it takes is an Ace keyboard ... what makes it so different to Logitech or Apple Wireless, which do NOT work?

Looks like an Ace C5 ... 267x130x20.
[Adam Accessories] Meekos:
Thank you for your answer.

Regarding OS I have been using the beast rom and vegan rom with this keyboard. I have not used it with Eden nor EdenX. Somehow I think it makes no different to try it with Eden(X)..?

When you mention Logitech and Apple are those bluetooth devices? Ace C5 is not bluetooth.

The size of this keayboard is great, same width as Adam and same color. It's great to write on too, except from the missing letters.
[Xperia Arc Q&A, Help & Troubleshooting] Harboe:
Hey guys

I'm having a strange problem. I can't get Facebook to work in Timescape. It says my account info is wrong, but I know it's not. And I have added Facebook to accounts and the normal Facebook prog works.

Any idears?

Cheers

Flemming
[Xperia Arc Q&A, Help & Troubleshooting] IntMD:
is your phone autocorrecting some of your typing because it thinks youve spelled it incorrectly?
[Xperia Arc Q&A, Help & Troubleshooting] Harboe:
Well only if it tries to correct my password, because I've checked and double checked my account info. Find it very strange.

A thought might be that I have set Facebook to only use https and who knows what Timescape uses!
[Xperia Arc Q&A, Help & Troubleshooting] Vito Andolini Corleone:
Oops sorry. Made a mistake
[Xperia Arc Q&A, Help & Troubleshooting] Harboe:
Just wanted to update and sat I got it working. Had to use the build in keyboard. Quite odd, but whatever works, right! :-)
[Xperia Arc Q&A, Help & Troubleshooting] Soheil_rf:
Q

is your timescape sync picture from facebook to phonebook ?
[Xperia Arc Q&A, Help & Troubleshooting] Harboe:
No that's from the account settings. But it's not to good at finding contacts by itself, so you sometimes need to click and hold on a contact and you'll get the option to join contacts.
[Xperia Arc Q&A, Help & Troubleshooting] Soheil_rf:
You mean xperia arc just can sync picture from facebook app with low-res ?
[Xperia Arc Q&A, Help & Troubleshooting] khakhi:
Hi, all of a sudden i cant post my facebook status on the facebook timescape...i type in my status then wen i click on post there is an error that appears saying "not logged in" where do i log in? for timescape facebook? i only log in via facebook app.

please advice, i like to post my status on facebook via timescape because the update signature is cool
[XPERIA X10 Q&A, Help & Troubleshooting] dantell2003:
Beta 4 hotfix dose is it working with yahoo video calling? For anyone
[XPERIA X10 Q&A, Help & Troubleshooting] Vito Andolini Corleone:
Not working for anyone at the moment
[Vibrant Q&A, Help & Troubleshooting] rmiles28:
im having a problem getting into my vibrant phone.... i tried switching to one of the newest overstock kernel roms i followed each step i think and when i want to reboot my phone the only thing that shows up is the samsung vibrant logo and overstock logo over and over again.... i tried to go back into recovery mode but i cant.... so is my phone bricked or is there any other way i can get into recovery mode to get it running again?:(:confused:
[Vibrant Q&A, Help & Troubleshooting] Abu-7abash:
Did you try to attach one end of the USB cable to your vibrant while holding down both the volume buttons then insert the other end to the PC?

This should get you to download mode.
[Vibrant Q&A, Help & Troubleshooting] nomadrider123:
Use the toolbox it is a great program.

http://xdaforums.com/showthread.php?t=954509
[Vibrant Q&A, Help & Troubleshooting] rmiles28:
I havent tried the usb from the pc yet.... Will it work with macs???