This is a simple guide for fellow developers on how to access the UART console on this phone. This is not something people should do on their phones, and this is NOT JTAG or anything along those lines. UART is for debugging purposes only, not for recovering dead phones.
Now note that I'm still learning all about this so it's not working 100%. I have no access to the bootloader at this stage and the kernel kills UART by changing the baud rate once the UART drivers are initialised.
Requirements
A USB cable you can cut up to make the UART cable
A level converter to convert the UART lines to USB (I use my Arduino)
A 523Kohm resistor
Soldering skills
Sharp craft knife
Software for viewing TTY connections (I use PuTTY on Windows)
Steps
You need to remove the plastic from the micro USB connector with a knife so you can access the pins and wires inside it.
Unsolder all the wires from it
Resolder the wires with this configuration:
Vcc (Pin 1) -> Do not connect
D- (Pin 2) -> RXD
D+ (Pin 3) -> TXD
ID (Pin 4) -> Attach one leg of the 523Kohm resistor to this, and the other to GND
GND (Pin 5) -> GND (MUST BE CONNECTED TO PHONE AND LEVEL CONVERTER)
Connect the level converter to the computer
Start the TTY software with this configuration: 115200 baud, 8N1, no flow control and start the connection
Connect to the phone via ADB Shell and enter:
Code:
su
echo PDA > /sys/devices/platform/switch-sio/uart_sel
Turn the phone off completely
Connect the UART cable to the phone
Remove the battery from the phone to ensure it is off completely and reinsert it
You should get at least 'Uncompressing Linux... done, booting the kernel.' show up on the console after a few seconds. If you don't, then you have missed a step. Go back to the top and try again.
Steps to enable kernel support for UART
Samsung disabled early printk on the device, most likely out of laziness. We need to reenable it.
Go to your kernel source code and do make menuconfig
You will need to change the code for CMDLINE to add support for CMDLINE_EXTEND. You can see what needs to be changed by looking at kernel 3.0s sources and looking at arch/arm/kernel/setup.c, and changing the code in there. Just do a search for CMDLINE_FORCE and it will bring you to the function that needs modified. You will also need to modify /arch/arm/Kconfig to add the choice in make menuconfig for enable CMDLINE_EXTEND
Go to "Boot options"
Change default command line to 'console=ttyS2,115200' and enable 'Extend boot options'
Go back to the main menu and go to "Kernel Hacking"
Enable 'Kernel low-level debugging' and 'Enable early printk'
Save your configuration and exit
Make the kernel as always and flash it on your phone
Reboot the phone as above and hopefully you should get output from the UART.
Hopefully this will help developers with their efforts to improve this excellent device.
Thanks i test it.
Can you show the pins???
{
"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"
}
Or a tutorial to conect.
-Thanks for your work.
Enviado desde mi Sensation usando Tapatalk 2
Video tutorial
Superb buddy. But screenshot or video tutorial will clear everyone's small doubts.
Edit : I think now UC team cant complain that they dont know about how to creat UART cable. They can now build UART cable & work on 3.x kernel instead of keep working on older 2.x kernel.
Ya hill
You can make a video or some picture to teach is easier than only text :thumbup:
Sent from my Droid X using xda premium
Well , thanks a lot! I really needed knowledge about this. Sadly I do not have a spare device else would have experimented a lot with my phone!
Thnx anyways, appreciated
vishal24387 said:
Superb buddy. But screenshot or video tutorial will clear everyone's small doubts.
Click to expand...
Click to collapse
loukalok said:
Ya hill
You can make a video or some picture to teach is easier than only text
Click to expand...
Click to collapse
I don't mean to be rude, nor to discourage people who'd like to start developing. But there's A TON of information about this, not only in XDA forums, but also all over the web (even a couple of vids from AdamOutler showing how to use this on a Captivate).
So if you have any doubt while doing this, go look in the Galaxy S forums, and also a couple of posts in the hardware hacking section. Because that's where this little "discovery" was made.
In this thread, for example, you have a couple of interesting links to read.
@Hillbeast ... I posted this on the other thread, but I guess you wont be able to reply as the mods closed that thread. See if you can reply here. It will be very helpful, as you are the only one who has a working UART setup with this phone.
@Hillbeast ... We (me + few other users) are planning to setup an uart as a collaborated effort and have zeroed in to this convertor, which, supposedly, is available in India. Do you think this will work for our device? Just need your thoughts about this. I understand you might not be able to confirm for sure. Just your thoughts.
http://www.rhydolabz.com/index.php?m...oducts_id=1090
@Anyone_except_Hillbeast_wondering_if_you_should_reply Please don't reply to this, unless you have a working UART setup or have a good understanding of this stuff.
@Mods ... There's no OT here so please refrain from being trigger happy.
Hetalk said:
@Mods ... There's no OT here so please refrain from being trigger happy.
Click to expand...
Click to collapse
Trust me when I say that pulling that trigger makes me unhappy.
^ not u buddy. You've been pretty reasonable. I respect your patience here.
Sent from my GT-I9003 using xda premium
Hetalk said:
@Hillbeast ... I posted this on the other thread, but I guess you wont be able to reply as the mods closed that thread. See if you can reply here. It will be very helpful, as you are the only one who has a working UART setup with this phone.
@Hillbeast ... We (me + few other users) are planning to setup an uart as a collaborated effort and have zeroed in to this convertor, which, supposedly, is available in India. Do you think this will work for our device? Just need your thoughts about this. I understand you might not be able to confirm for sure. Just your thoughts.
http://www.rhydolabz.com/index.php?m...oducts_id=1090
@Anyone_except_Hillbeast_wondering_if_you_should_reply Please don't reply to this, unless you have a working UART setup or have a good understanding of this stuff.
@Mods ... There's no OT here so please refrain from being trigger happy.
Click to expand...
Click to collapse
This is more what you're looking for. Those adapters are either ludicrously expensive or not right.
http://www.ebay.com/itm/USB-2-0-To-RS232-UART-TTL-COM-Module-Serial-Converter-6Pin-Buildin-in-CP2102-New-/270920605812?pt=AU_Laptop_Accessories&hash=item3f14206074
hillbeast said:
This is more what you're looking for. Those adapters are either ludicrously expensive or not right.
http://www.ebay.com/itm/USB-2-0-To-RS232-UART-TTL-COM-Module-Serial-Converter-6Pin-Buildin-in-CP2102-New-/270920605812?pt=AU_Laptop_Accessories&hash=item3f14206074
Click to expand...
Click to collapse
Thanks a lot! W
I'll try to setup UART and work on the Kernel.
hillbeast said:
This is more what you're looking for. Those adapters are either ludicrously expensive or not right.
http://www.ebay.com/itm/USB-2-0-To-RS232-UART-TTL-COM-Module-Serial-Converter-6Pin-Buildin-in-CP2102-New-/270920605812?pt=AU_Laptop_Accessories&hash=item3f14206074
Click to expand...
Click to collapse
@Hillbeast
is this the same?
http://www.ebay.com.my/itm/251082091781?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1436.l2649#ht_2305wt_1312
chongns said:
@Hillbeast
is this the same?
http://www.ebay.com.my/itm/251082091781?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1436.l2649#ht_2305wt_1312
Click to expand...
Click to collapse
Pretty much.
hillbeast said:
Pretty much.
Click to expand...
Click to collapse
thanks, HB. will you do a tutorial to show how to use Putty, if that easy, can u please explain abit on this topic?
thanks in advance.
chongns said:
thanks, HB. will you do a tutorial to show how to use Putty, if that easy, can u please explain abit on this topic?
thanks in advance.
Click to expand...
Click to collapse
I think you can also use windows hyperterminal (copy from XP or download, it is not there by default on Windows 7), it is easier to use I think, just use the settings hb mentioned in the OP.
just make sure you use the same baud rate in the COM port on the device manager where the usb cable is connected and the hyperterminal program.
jan3586 said:
I think you can also use windows hyperterminal (copy from XP or download, it is not there by default on Windows 7), it is easier to use I think, just use the settings hb mentioned in the OP.
just make sure you use the same baud rate in the COM port on the device manager where the usb cable is connected and the hyperterminal program.
Click to expand...
Click to collapse
PuTTY is probably easier in the long run as it also supports Force echo on which is needed for setting up the Sbl seeing we can't see it on the SL. I'll make a guide today.
I also recommend PuTTY as it works in Linux too for those out there who use that.
Sent from my Galaxy S2
Hillbeast thank you for your responses and sorry to ask one more question.
Can you please review this link below and advise if this will work? Reason I ask is, this item is local to where I live and I can avoid international shipping.
http://www.emsysedukits.com/interfa...rial-rs232-uart-converter-p-236.html?cPath=67
Hetalk said:
Hillbeast thank you for your responses and sorry to ask one more question.
Can you please review this link below and advise if this will work? Reason I ask is, this item is local to where I live and I can avoid international shipping.
http://www.emsysedukits.com/interfa...rial-rs232-uart-converter-p-236.html?cPath=67
Click to expand...
Click to collapse
Yeah that should be fine.
Just a small update guys. I have got the UART setup with me and everything works fine. I am able to see the PBL, SBL and also the SBL prompt is accessible.
I have used 540K resistor.
http://pastebin.com/DgZmvzET
dhiru1602 said:
Just a small update guys. I have got the UART setup with me and everything works fine. I am able to see the PBL, SBL and also the SBL prompt is accessible.
I have used 540K resistor.
http://pastebin.com/DgZmvzET
Click to expand...
Click to collapse
Good news then! let's get the ball rolling. Goodluck to you guys. Lol i know its a spam sorry.
Related
Since I got my G1 I have been thinking of interesting ways to talk with my arduino prototyping board since there is no USB support yet (my next software/hardware project?.. it would be handy to use a G1 as a serial console)
I ended up using DTMF tones and to see how well it worked, I quickly built a simple robot for testing. You can take a look at a video, pictures, overview of how it works, and the GPL-ed source code/schematics to build your own or improve it here:
http://macpod.net/misc/android_robot/android_robot.php
{
"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"
}
Enjoy!
this is awesome man. fantastic work!
EDIT: Dude I got forknife on engadget!
http://www.engadget.com/2009/01/26/video-t-mobile-g1-powered-forknife-robot-goofs-off-eats-cupcak/
http://www.engadgetmobile.com/2009/...powered-forknife-robot-goofs-off-eats-cupcak/
If I just had your knowledge!
Awsome work !!!!!!!!
Awesome project!
Could someone make a quick program for the Dream to output all of its sensor data (GPS, Compass, accelerometer)?
It would save money from having to buy these parts for the arduino...
Yep, you could do this pretty easily. If you did it via dtmf you could send 1 nibble of data per tone without checksumming it. If you modified the kernel and made you own ttl level cable (I'm waiting on parts to make mine) you might be able to do two way communications up to 115Kbps!
I do not have a dtmf decoder to do this yet, so I am looking into alternate means to send the data.
It looks that I will have it set up opposite of the Forknife robot, with Android sending data over wifi (via a modified Gmote program) through the serial monitor in the Arduino Environment.
I'm also gonna try to grab the sensor data from the Tricorder app on my phone.
Time to see if I can get the Source code for these two.
-Brian
If you have wifi avaliable why would you need to reverse how this is done? I would just setup a server socket on the arduino, connect to it via the arduino and talk.
What wifi module will you use?
Oh, if you have a light sensor you could try sending out the G1's data by blinking the LED (you even have multiple colors so if you had a color sensor you could perform flow control!)
edit: check out bluetooth solutions too.
edit2: I guess it would make sense to reverse the flow.. I was thinking you were suggesting that there would be only one way communications from the arduino --> phone
My arduino doesnt have wifi, Android and my computer do.
At this point the Arduino isn't going anywhere, its plugged in with USB.
Would Android's Bluetooth API's allow for serial communication? as I was considering getting bluetooth modules for the Arduino.
Blinking the tricolor LED would be fun, but i have no experience coding Android, I am still working on setting up Eclipse for it.
Oh! Sorry, I didn't look at how the gmote setup worked.
If computer is in the picture this is really easy. You already have server code on the computer and client network code on the G1. All you would have to do is change what data is sent (and also send to the server as opposed to the server sending data to the client.. that's a trivial change).
On the server side you would need to forward the data you recieve from the G1 to your arduino.. and I'm sure the gmote code already shows how to work with serial ports.
On the client side, you would just need to rewrite the data in the thread to write out values from the sensors.
Edit: I'm not sure about bluetooth setups with the arduino as I have never worked with them. Something tells me that the communication protocols could be proprietary (i.e. both sender and recievers just work as serial ports.. they can't actually connect to other real bluetooth devices)
Hm, I cannot get the souce code for either the gmote.apk nor the server. I found a PICaxe based color sensor on sparkfun.com for $35, could that be used with the ardiuno to read the rgb notification LED on the G1? I would need a program to encode sensor data to the rgb.
I feel it would be easier to make a photo resistor read IO from the g1, and input directly into the RX on the arduino.
Using a photo sensor is a very hackish way to do this.. and would also cost more than just using wifi. It would also require significantly more code. Not to mention it only allows one way communication.
Just use the wifi method! It's the simplest method
I'm sure there is example code for how to read the sensors in android.
On the client side I'm sure there is code that discusses how to read sensor values
and on the computer side, all you need to do is implement code to talk to the serial port the arduino is associated with.. for linux/unix/os x it's just opening up a device in /dev/ for reading/writing!
Okay, i have eclipse set up for android, but still cannot get source code for the gmote.apk, I tried adb pulling it, but it is encrypted, so I cannot edit it's settings.
could i use "ghost" programs to control my input through these programs. I can easily place the cursor in the Serial Monitor for Arduino, but could I use a program to copy the serial data, then Paste the input into the gmote program to be sent to the serial monitor on the computer's side.
How easy would a code like this be? it would have to run on top (or underneath another program).
Now, I heard you say that a kernel patch could enable serial communication through the USB port. A friend of mine is really good in linux and modifying kernels.
Would you have any idea of what part of the kernel I should look for, and what it has to be changed to? I have to have an idea of what to ask him.
Thanks
-Brian
belding said:
Now, I heard you say that a kernel patch could enable serial communication through the USB port. A friend of mine is really good in linux and modifying kernels.
Would you have any idea of what part of the kernel I should look for, and what it has to be changed to? I have to have an idea of what to ask him.
Thanks
-Brian
Click to expand...
Click to collapse
It's actually supported in the kernel already, although I'm not sure if that particular configuration option is turned on in the default built. So at worst you would just have to recompile the kernel with a different configuration.
So I will have to ask my friend to find usb serial communicaton in the kernel, and enable it for program use?
If that is the case, how would I write programs to take advantage of this, wouldn't I need a new API?
Or since the kernel already has it, is there already an API for serial communication?
Thanks
belding said:
So I will have to ask my friend to find usb serial communicaton in the kernel, and enable it for program use?
If that is the case, how would I write programs to take advantage of this, wouldn't I need a new API?
Or since the kernel already has it, is there already an API for serial communication?
Thanks
Click to expand...
Click to collapse
I haven't played with it, but I assume it's just a device in /dev that you can read/write
belding, what is it about the wifi solution you don't like? It is a software only solution to your problem and alot of code is already written for you in the robot project.
Indeed the serial solution over the 11 pin connector would be best, but that requires you to buy hardware, solder tiny pins, and then modify your kernel which you don't seem to be comfortable doing. In addition, it is my understanding the modification requires you to disable adb support!
Perhaps if you told us your knowledge background I could explain it better? I kinda assumed you were computer science oriented, but I suppose if you are cpe or ee oriented I could have lost you. It would also help to know what your computer is runnng.
The wifi solution would work, but i cannot get source code to rewrite the gmote client or server.
I do not currently have the hardware (DTMF decoder) to implement your premade solution.
Okay, For my knowledge background: in Android, most things I can see are update.zip based, and I can change anything in the android system that is contained on the update. Looking through /system/usr I found the kernel config, but most options were enabled, and the two that were not do not seem to be related to Serial. I have basic knowledge of command prompt tools in Windows and the Android terminal.
Knowledge again, I am learning Arduino and processing, and am fairly good with electrical circuits, the ee you mentioned.
My computer is dual booting Windows XP and Windows 7.
PS, I talked to my friend, and we are looking into the Android Kernel, specifically where it is located, and where the terminal is located.
Where is the terminal in android located, inside or outside Dalvik VM?
belding said:
The wifi solution would work, but i cannot get source code to rewrite the gmote client or server.
I do not currently have the hardware (DTMF decoder) to implement your premade solution.
Okay, For my knowledge background: in Android, most things I can see are update.zip based, and I can change anything in the android system that is contained on the update. Looking through /system/usr I found the kernel config, but most options were enabled, and the two that were not do not seem to be related to Serial. I have basic knowledge of command prompt tools in Windows and the Android terminal.
Knowledge again, I am learning Arduino and processing, and am fairly good with electrical circuits, the ee you mentioned.
My computer is dual booting Windows XP and Windows 7.
PS, I talked to my friend, and we are looking into the Android Kernel, specifically where it is located, and where the terminal is located.
Where is the terminal in android located, inside or outside Dalvik VM?
Click to expand...
Click to collapse
Well, you can get to a terminal with the terminal emulator application of course, or through adb shell.
But if you want an actual console on the phone itself, try out the recovery image from JFv1.41. It boots into the normal recovery image, but it provides an alt+x option to exit the recovery program, and go to a console.
Also, the android kernel source is here. Make sure you grab the .25 branch if you want it to work with the current official builds. The .27 branch is only for cupcake.
To download the source, make sure you have git installed, and then:
git clone git://android.git.kernel.org/kernel/msm.git
cd msm
git checkout android-msm-htc-2.6.25
to build the kernel, you can use the pre-compiled gcc cross-compiler that is provided in the android source. make sure that it is in your path, and then invoke make with the arguments ARCH=arm CROSS_COMPILE=arm-eabi-
(or you can set those variables in the Makefile, so you can just do "make").
If you have any questions about getting everything set up to compile the kernel, feel free to ask. It seems a bit daunting the first time you do it, but it's actually fairly straight forward.
Find included a 2.6.27 kernel and corresponding wlan.ko with serial port enabled. This will work with JF, mikhael's build and so on that use the 2.6.27 kernel. Wifi works, bluetooth works, all that stuff works.
Serial port is /dev/ttyMSM2 with default at 9600 baud. I am turning my ADP into the brains of a UAV, so this should let me control servos with it.
Have fun! 2.6.29 (or whatever will be current) coming when I get off my lazy bum and move to it.
Installation is the usual "rename to update.zip, put in sdcard, start the phone in recovery mode" dealie.
BACK UP YOUR BOOT.IMG AND /SYSTEM/LIB/MODULES/WLAN.KO if you want to revert!
Here's a newer version with a terminal program (dterm, recompiled for g1/g2), or just the terminal by itself. If you flash the terminal ends up in /system/sbin and automatically goes to /dev/ttyMSM2 (see source), again it's just dterm with some cleanups.
By the way, does anyone care about this stuff at all?
I couldn't upload the kernel so here it is http://www.spirit-plumber.com/portfolio/robotics/kernel_serial_term.zip
It sounds very promising/interesting but I'm not exactly sure what it does. Does is it enable accessing the baseband via serial or something? This is something that was used on the original iPhone to try to unlock it.
I think if you explain more clearly what it does then more people will seem interested, & remember no contribution here is a bad one, someone will have a use for it.
It gives you a serial port that can be used as a device rather than just for debugging, as shown here
http://www.instructables.com/id/Android_G1_Serial_Cable/ (not by me btw) This software stuff makes it usable for general purpose IO. That allows a G1 and an inexpensive microcontroller, arduino/picaxe/etc to control servos, talk to a second GPS, and so on.
I develop autopilots for RC planes and the G1 would be a great platform for that since it has a gps, compass, accelerometer and camera already integrated in a relatively small/light package.
Also, ROBOTS! http://hackaday.com/2009/01/25/forknife-android-g1-controlled-robot/ This was done using the audio port, but having a serial port on board bypasses all the DTMF stuff and allows for a lot more bandwidth. (Also not by me, if you do want to see stuff by me, search spiritplumber on youtube!)
I'm also very interested in such a kernel as a friend and I are interested in interfacing a phone to a serial robot controller.
However, I am currently running Cyanogen 4.0.4 on a MyTouch and loading this kernel effectively breaks the phone. No radio, GPS, etc. and many apps are missing/broken. The serial port does work and we got it talking with our robot but otherwise it's not much use to me.
So atm it's either a phone or an overly expensive microcontroller but not both.
You could submit the patches to cyanogen to see if he'd be willing to incorporate it in his build.
this is kernel version 2.6.27 and i think the build you use has kernel 2.6.29 which is why everything'd break. i will build 2.6.29 at some point, for now use a build that still use .27? i useJF151 with good results.
Hi, I'm interested in this stuff, I just wonder how can I use this to interface G1 to Arduino? any idea/tips will be helpful. TIA.
You end up with a new device, /dev/ttyMSM2 which is a standard issue serial port that can be used to talk to microcontrollers. The voltage is 2.8V which means it will work with a 5V micro in the phone-->micro direction, but if you want to go the other way you'll need a divider.
(see the other thread i posted in for a schematic)
I should probably get cracking on a donut version
Wow
Interesting stuff. I just wish I had the ability to take advantage of this. I think this would bring it one step closer to being able to use the G1 as an OBD-II car scanner. But I'm afraid that will take way more technical ability than I have.
Not really...
http://www.suntekstore.com/OBD2-16Pin-to-DB9-Serial-Port-Adapter-Cable-.html
http://www.instructables.com/id/Android_G1_Serial_Cable/
+ my kernel
Nice work
spiritplumber said:
...
I develop autopilots for RC planes and the G1 would be a great platform for that since it has a gps, compass, accelerometer and camera already integrated in a relatively small/light package.
Click to expand...
Click to collapse
Genius! Well done for bringing this all together!!!!
I found your thread while trying to investigate the same project you've done already - making an autonomous drone using the G1 !!!
- I'd be very interested to see videos/info/photos of your drone.
I've seen all the bespoke UAV controllers on DIYdrone.com, but was more interested in the challenge of making my G1 with all it's sensors directly control a servo controller board via serial.
I'm a bit worried that the screen must stay on, which will burn through the G1's battery in no time! - is this still necessary?
I'm really impressed and thankful for what you have done, and making it public!!!
I'm currently on Cyanogen 4.0.4. so I guess the first step is to back track to an earlier Kernel version...
Unless you're close to rebuilding 2.6.29 ???
Thanks for the 'instructables' for the cable too, I've ordered the bits and hope to test in the next few days - ironically I found that before this thread!
Hmmm...
I've just studied your cable making instructions and have some questions!
The USB-Serial converter board... is that any use at all other than a PC interface?
I shouldnt actually need this to talk directly to another serial device from my G1?
- I got the impression the USB/Serial board was to convert the G1's USB to Serial...
Could I send a serial TX messages directly from the break-out board to a serial RX pin... (Servo controller) does that sounds correct?
Sorry for the torrent of questions...
If you want to talk to a different device you just need to flip pins 2 and 3 on the serial port and use a male rather than female connector so yes you can definitely do that!
In fact you can do two at the same time: Here's me using the G1 to relay data from a GPS to a servo controller. If you'd like the schematics for that let me know. If you have any sort of work related to this DEFINITELY let me know.
By the way, I'm using a 74HTC14 for doing the level shifting and inverting: it's a very cheap part and also has the advantage of cleaning up the waveform nicely. Or you can use some transistors.
EDIT: Attachment is being stupid so go here for photos: http://spirit-plumber.com/robotseverywhere/gallery/images/other/gphone/
spiritplumber said:
If you want to talk to a different device you just need to flip pins 2 and 3 on the serial port and use a male rather than female connector so yes you can definitely do that!
In fact you can do two at the same time: Here's me using the G1 to relay data from a GPS to a servo controller. If you'd like the schematics for that let me know. If you have any sort of work related to this DEFINITELY let me know.
By the way, I'm using a 74HTC14 for doing the level shifting and inverting: it's a very cheap part and also has the advantage of cleaning up the waveform nicely. Or you can use some transistors.
EDIT: Attachment is being stupid so go here for photos: http://spirit-plumber.com/robotseverywhere/gallery/images/other/gphone/
Click to expand...
Click to collapse
Hi Spiritp,
Thanks for your comments, I'll give that a whirl then!
I'll definitely keep you posted!
My basic plan is:
Use accelerometer for auto-leveling control, use pre-defined GPS routes so I know the take-off / landing site altitude above sea level, and eventually get the G1 to take photo's at GPS waypoints.
Probably ambitious considering my electronics knowledge, but I'll keep you posted with progress.
If you have any pointers of how to send Serial commands from within the Android App layer, I'd really appreciate it.
With so many 'rooted' applications doing kernel based tasks I'm pretty sure it'll be possible... but I'm also fairly green on linux & java, so this will be a challenge for sure. (Time to hack my way through other people's work and understand what's going on!!!)
Thanks for your response,
Andy
spiritplumber said:
By the way, I'm using a 74HTC14 for doing the level shifting and inverting: it's a very cheap part and also has the advantage of cleaning up the waveform nicely. Or you can use some transistors.
Click to expand...
Click to collapse
Question 1:
When you say 'level shifting' is this to bring the TX/RX voltage to the same level? (i.e. 5v --> 5v, rather than 2.8v --> 5v)
Question 2:
If I plugged a 5v serial device into the G1's RX connector, would this damage the G1?
Question 3:
Please help explain how non-printing byte-level data (Servo commands) can be sent from DTerm... I've had a poke around on the internet but with no success...
Question 4:
I have installed your Kernel/DTerm... which runs DTerm ok, but the commands 'ls' return the error 'not found'.
- which worked before adopting your kernel..
Is this normal? How can I fix this?
EDIT:
Ok, I think I'm half way there... I've now bought one of these:
http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=194
//
spiritplumber said:
If you want to talk to a different device you just need to flip pins 2 and 3 on the serial port and use a male rather than female connector so yes you can definitely do that!
Click to expand...
Click to collapse
Reminds me of the HP48 token ring networks. http://www.hpcalc.org/details.php?id=3603 In essence, device 1 would transmit data to device 2. Device 2 would see that the packet was meant for a different device and retransmit the packet to device 3, the intended recipient. If device 2 had been transmitting a packet to device 1, it would have passed through 3 on the way back around. Adding another device to the network was as simple as breaking the chain and adding a new one. Building the cables to do that wouldn't be too difficult.
Level shifting:
Internally the G1 uses 2.8 volts. This is nice if you've a 5V interface because:
On going G1--->other part, 2.8 is high enough to register as "high", you may need a pullup resistor (try 10k).
On going other part--->G1 you just need a voltage divider! That's two resistors of equal value, this makes the other part effectively output at 2.5v which the G1 will happily accept! (If this confuses you, see "voltage divider" on wikipedia..... it's literally just 2 parts). Here's a picture on page 5: http://forum.xda-developers.com/showthread.php?t=496976&page=2
If you need to do stuff in that sense I recommend just having the servo controller take in ascii stuff. Or you can modify dterm. Or I can give you a modified copy of dterm that has that functionality let me know!
If you use a 3.3V microcontroller such as the Parallax Propeller, just slap two 1KOhm resistors on the rx and tx lines and go do stuff: it works.
Controlling servos via G1 is very painless and easy, I already do that, let me know if you want tips.T
spiritplumber said:
Level shifting:
Internally the G1 uses 2.8 volts. This is nice if you've a 5V interface because:
On going G1--->other part, 2.8 is high enough to register as "high", you may need a pullup resistor (try 10k).
On going other part--->G1 you just need a voltage divider! That's two resistors of equal value, this makes the other part effectively output at 2.5v which the G1 will happily accept! (If this confuses you, see "voltage divider" on wikipedia..... it's literally just 2 parts). Here's a picture on page 5: http://forum.xda-developers.com/showthread.php?t=496976&page=2
Click to expand...
Click to collapse
That's excellent, I think I have a solution for the voltage, but thanks a lot for your electronics expertise!!!!!!!
spiritplumber said:
If you need to do stuff in that sense I recommend just having the servo controller take in ascii stuff. Or you can modify dterm. Or I can give you a modified copy of dterm that has that functionality let me know!
Click to expand...
Click to collapse
I'm actually using a Pololu micro serial servo controller (SSC) - I'm fairly sure it doesnt support ASCII characters, the manual only explains how to compile a '3 byte sequence' :
To set the servo position, send a sequence of three bytes. The first byte is a syncronization value that must always be 255. Byte 2 is the servo number, and it can be 0-254. Byte 3 is the position to which you want the servo to move, also 0-254. (sync= 0xFF,servo= 0x00-0xFE,position= 0x00-0xFE)
If you can help / let me know how to modify dterm I would really appreciate it!!
Although I'm still not sure how I'm going to access this from the Android Application layer - making calculations from accelerometer & GPS, then sending the calculated servo movement down to a kernel app?
Any help in this area would be greatly appreciated!
spiritplumber said:
Controlling servos via G1 is very painless and easy, I already do that, let me know if you want tips.T
Click to expand...
Click to collapse
I would find any tips interesting !!!
Thanks again for your comments & help, you're making this project far easier than I could have hoped!!!!! hopefully I will be able offer you help in my areas of expertise some day!
- I'm an application developer by day, using VB.net/Sybase Powerbuilder/Pocketbuilder/SQL/Microsoft-based network admin.
Just a quick final question (for today!!) - my Wlan seems to have been knocked out by your kernel image... the android manager can see AP's but always reports that it was unsuccessful when trying to connect.. and ideas?
- I'm on JF1.51 ADP1, no other mods or changes.
Andy
In the near future once an android tablet comes out that has GPS and dosnt cost me an arm and a leg i will be intergrating it into my bmw.
Since many tablets have usb host and on the web i can purchanse an ibus to usb adapter which people use when they make a car pc would this work with an android tablet? to control volume tracks and maybe even voice control/calls etc.
Does anyone know if anyone is working on the android software which would allow the tablet to recognise the ibus signal? this would be purfect for me.
Can anyone help?
I doubt that you'll get a helping answer soon, because there are not many people knowing about the IBUS.
For people who don't know what the IBUS is: It's a communcation bus used by BMW for controlling most of the cars electronics (light, radio, navigation system, electric window, ...). There are adapters for controlling all these things with a PC, so it should be possible to do this with an Android App.
But I'm affraid that there is none available at present. Also I think the app is not the only trouble: You'll need a working driver for your adapter, too.
So long
kadolf
Galaxy Tab. Since you have a Beamer I'm going to assume that you have some spare cash, the Galaxy Tab should have GPS, and I'm sure someone will make a car mount for it, or you could be the first .
If you havent gone to mp3car.com go there and check it out, ill be doing the same thing in my e36 pretty soon, although i have an external touch screen im going to try and link my g2 to
kadolf said:
I doubt that you'll get a helping answer soon, because there are not many people knowing about the IBUS.
For people who don't know what the IBUS is: It's a communcation bus used by BMW for controlling most of the cars electronics (light, radio, navigation system, electric window, ...). There are adapters for controlling all these things with a PC, so it should be possible to do this with an Android App.
But I'm affraid that there is none available at present. Also I think the app is not the only trouble: You'll need a working driver for your adapter, too.
So long
kadolf
Click to expand...
Click to collapse
Im sure that eventaully someone will create the drive/app for this. If i can use my phone with a bluetooth obd2 connector and rear my cars information on my phone surely what im asking is do-able.
cheers for the reply
mswiss said:
If you havent gone to mp3car.com go there and check it out, ill be doing the same thing in my e36 pretty soon, although i have an external touch screen im going to try and link my g2 to
Click to expand...
Click to collapse
My initial plan was to do that with my htc desire but unfortunatly it dosnt have tv out or usb host (OTG).
318vert said:
In the near future once an android tablet comes out that has GPS and dosnt cost me an arm and a leg i will be intergrating it into my bmw.
Since many tablets have usb host and on the web i can purchanse an ibus to usb adapter which people use when they make a car pc would this work with an android tablet? to control volume tracks and maybe even voice control/calls etc.
Does anyone know if anyone is working on the android software which would allow the tablet to recognise the ibus signal? this would be purfect for me.
Click to expand...
Click to collapse
old post, but i might be on the same wavelength as you, except with some changes.
android tablets will already do most everything you need, so my plan will be to ditch the head unit all together. in the spirit of the carPC and liliput touchscreens, my goal is to come up with a custom docking unity in the space of a double-din (which means i'll be required to use a 7 or 5in tablet). from there, the rest is relatively easy... or complicated.
the problem, so far, is i've yet to see any android tablets with a way to extract audio without using a headphone jack. so creating a docking station will be difficult in the sense of attempting to attach the audio.
so a couple things have been going through my mind;
1. you won't have to worry about power saving as much as a carPC. the tablet will be mostly safe to run off of the USB power (hooked directly to a 12v source) or maybe through a power inverter. removing the battery would eliminate concerns of dead battery, exploding battery from heat, etc., etc.
2. most built in FM tuners require the headphones to be attached to act as an attenna. can't be that hard to engineer the headphone component to work back into the car's radio antenna, it's just a matter if there's any benefit to be gained.
3. speaking of audio, once it's out of the device, it's just a matter of conditioning and amplifying the signal, which is all proven technology.
4. there's a huge probability that i'll skip an "in service" device in favor or a wifi only one, and then use tethering from my phone. still to be decided. i'd hate to add another cell line to my already high bill.
5. most, if not all, of the tablets will have some sort of hdmi out capability. attaching the device to external displays should be easy as pie. unfortunately, everyone will probably see what is on the main display, which may not be a problem. what might be a problem is accessing and using an SD card (of any size) to store movies, mp3s, etc. you're only so limited and it might be a little bit of a pita.
anyway, these were just some of my ideas. i know the interest is out there. the "dock" is going to be a little tricky. the tablet needs to be instantly accessible (easily removed), yet secure. i suppose you could fabricate something to where the audio cable is loose enough that you could attach it before docking.
Isn't Parrot working on single and double din headunits?
Sent from my Zio using XDA App
LiuAnshan said:
Isn't Parrot working on single and double din headunits?
Sent from my Zio using XDA App
Click to expand...
Click to collapse
are you talking about the android-driven HUs about to be released? from my understanding, they're just utilizing it as a core OS and not in the format you're used to on a phone, etc. similar to how Ford/BMW uses MS in their systems. i don't believe it'll have access to the market, which is a negative IMO.
the HUs might be sweet, in relation to what's available, but unless it's a dedicated tablet, i doubt you'll get the functionality you'd want to expect out of Android.
If you had a phone with usb host (OTG) then i would think we could just connect a MIMO Touchscreen monitor to it and use the released drivers for it and then we would all have what we want . here is some of what i have found that might help . Lets make this happen !!!!
http://sven.killig.de/android/N1/2.2/usb_host/
https://github.com/magoroku15/DisplayLink-driver-for-android
http://www.mimomonitors.com/
http://libdlo.freedesktop.org/wiki/
I would be interested in the hardware install aspect.
have anyone tried using the IOIO for android: http://www.sparkfun.com/products/10585
ypsmav said:
have anyone tried using the IOIO for android: http://www.sparkfun.com/products/10585
Click to expand...
Click to collapse
I'll bring this thread back to say that I have. Its an ongoing project but heres what I have so far:
http://www.youtube.com/watch?v=iBdQnFnXtgQ
any updated progress I have a 2007 335i and would be interested in getting a setup like this
Right now I'm working on making sure all of the commands work. Progress is slow since Java really isn't the best language for manipulating individual bytes (although that could also be my lack of experience). Unfortunately if you have a 335i, none of this will help you. I think all of the current generation of BMW's (those with iDrive) and most european cars for that matter use the MOST bus. This is based on a fiber optic physical layer. The supported transfer rates are in the 100's of MHz so you'd need more than a microcontroller to talk to it. That being said, if anyone wants to fund me for a couple weeks and lend me their iDrive equipped BMW, I'd be happy to crank something out
http://www.youtube.com/watch?v=80a-T37amdE
Howabout this... video looks cool... http://www.youtube.com/watch?v=80a-T37amdE
Also...
{
"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"
}
Image stolen from here http://forum.e46fanatics.com/showthread.php?t=839753
TunaCanyon said:
I'll bring this thread back to say that I have. Its an ongoing project but heres what I have so far:
http://www.youtube.com/watch?v=iBdQnFnXtgQ
Click to expand...
Click to collapse
Hi TunaCanyon,
good to hear, that some other people are engaged with this topic.
I built a IBUS Bluetooth gateway half a year ago, last weekend I used to make the circuit look a bit more "professional"
I already built some piece of software based on the Bluetooth SPP example ("Bluetooth Chat") of Android SDK. It features logging ibus data (including simple packet recognition) and sending data to the ibus (with automatic checksum and length calculation). I just added CD changer emulation.
As I'm not experienced with Android programming and also didn't start with Java long ago, building a clean and working app is pretty hard for me, especially when it comes to services and threads... So after the easy datasheet reading and circuit routing part now the hard part follows.
Greetings,
kadolf
Hi All
I recently bricked my Acer A210 and it's running in APX mode. In a effort to bring it back to life i have been researching the jtag setup.
As you can see from this image, on the rigth hand side is JDBUG1, with pin 1 mark at the top.
Now this is a A510 in the image, but the same 10 pin connect is on my A210 and possibly on the A700,
{
"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"
}
Now using many different tegra3 manuals and dev board guides i've reversed the jtag connector, well mostly, I've some more to confirm but i though i would put this out there in case any one has any thing to add, i will also upload as much info as i have and the pdf in case any one want to confirm my research,
Hopefully we can fix without $$$$ hardware.
I have a o'scope (30 years old crt based) ,arduino, buspirate, Open Source logic sniffer.
The latter two from dangerous prototypes, the main one i will use is the bus pirate in jtag mode.
I have already connected the buspirate up but no results i could rely on so i went back to research, here is what i've turned up ,
Code:
1 1.8v Tegra System Voltage
2 TRST (on A210 a 0R resistor is missing or 'un-stuffed' or not 'stuffed', see info about tying to gnd for CPU access )
3 10K to +v 1.8v for TDI
4 10K to +v 1.8v for TMS
5 100K to GND for TCK
6 10K to GND for RTCK (Return clock , see [URL="http://en.wikipedia.org/wiki/Joint_Test_Action_Group"]RTCK wiki[/URL] )
7 TDO (direct into CPU )
8 HOT_RESET (1.8v)
9 ON_KEY# (+5v )
10 GND
Now this information has been gleamed from many sources.
please see attached images for now, on the A210 the tracks are more exposed but I think its safe to assum the debug connector pin outs would be the same for the 3 devices,
EDIT** Ive found the A510 Schematic Online A510 Schematic - See Page 7 for JTAG
darkspr1te
<place holder for additional files>
Various Tegra(3) Files
Tegra Files / Manuals / PDFs ETC
Very interesting stuff, unfortunately my knowledge is not sufficient to contribute. But i'll definitely follow this topic, hope you can fix it.
Always an awesome moment went you succeeded "DIY" without spending big bucks.
herogjan said:
Very interesting stuff, unfortunately my knowledge is not sufficient to contribute. But i'll definitely follow this topic, hope you can fix it.
Always an awesome moment went you succeeded "DIY" without spending big bucks.
Click to expand...
Click to collapse
Yes, when We have that eureka moment and it works it's a great feeling, sadly I am not having that moment yet with the Acer. But I wont give up.
I am taking a break from the actual JTAG hacking part for Xmas and just to give myself a break from IT, I will return to the project in the new year.
Darkspr1te
What can we do with JTAG on our Acer Axxx ?
Envoyé de mon GT-I9505 en utilisant Tapatalk
imtheyoyo said:
What can we do with JTAG on our Acer Axxx ?
Envoyé de mon GT-I9505 en utilisant Tapatalk
Click to expand...
Click to collapse
We will be able to turn it into the most powerful tablet and take over the world *evil laugh*. Or we could recover our bricked tablets that are in apx mode like he said in post 1.
Sent from my A701 using Tapatalk
Hi All,
I've made some progress
Code:
> scan_chain
TapName Enabled IdCode Expected IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 tegra3.arm Y 0x330173d7 0x330173d7 2 0x01 0x01
> jtag init
JTAG tap: tegra3.arm tap/device found: 0x330173d7 (mfg: 0x1eb, part: 0x3017, ver: 0x3)
> halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
Cant get cpu to halt, could be due to many things, am i taking to the right core? it the jtag instructions i am sending the right ones for the arm/corex cores
right now, I dont know, most users dont document building the jtag instruction up so it's going to be new for me.
darkspr1te
Hi All,
I've made some progress
Code:
> scan_chain
TapName Enabled IdCode Expected IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
0 tegra3.arm Y 0x330173d7 0x330173d7 2 0x01 0x01
> jtag init
JTAG tap: tegra3.arm tap/device found: 0x330173d7 (mfg: 0x1eb, part: 0x3017, ver: 0x3)
> halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
Cant get cpu to halt, could be due to many things, am i taking to the right core? it the jtag instructions i am sending the right ones for the arm/corex cores
right now, I dont know, most users dont document building the jtag instruction up so it's going to be new for me.
EDIT** Seems what I am looking at here is the JTAG Route controller (similar to TI's ICEPICK router controller) but as I have not information yet on how to shift the router controller I am lost, Anyone got any input ?
for the ICEPICK it does the following commands to setup the router controller
Code:
# Utilities for TI ICEpick-C ... used in DaVinci, OMAP3, and more.
# jrc == TAP name for the ICEpick
# port == a port number, 0..15
proc icepick_c_tapenable {jrc port} {
# NOTE: it's important not to enter RUN/IDLE state until
# done sending these instructions and data to the ICEpick.
# And never to enter RESET, which will disable the TAPs.
# select router
irscan $jrc 7 -endstate IRPAUSE
drscan $jrc 8 0x89 -endstate DRPAUSE
# set ip control
irscan $jrc 2 -endstate IRPAUSE
drscan $jrc 32 [expr 0xa0002108 + ($port << 24)] -endstate DRPAUSE
irscan $jrc 0x3F -endstate RUN/IDLE
runtest 10
}
Now i dont know if the Tegra3 has it's own route controller an how it's programmed/setup
This is my first time into JTAG so it's a massive learning curve,
I am assuming that once i send the tegra3 the correct IRSCAN/DRSCAN jtag codes it will setup access in to the device further.
EDIT **
Some additional information I am still trying to understand/process, it's from tegra2 but one could assume it's valid for tegra3 as a lot of what i've turned up has been the case. This excludes security
based information
Code:
Note that in the circuit in Figure 24, there is an optional resistor on JTAG_TRST_N. For normal JTAG operation, this resistor
should not be present. The JTAG_TRST_N pin on the Tegra 250 selects whether the JTAG interface is to be used for
communicating with the Tegra 250 CPU complex, or for Test/Scan purposes. When JTAG_TRST_N is pulled low, the JTAG
interface is enabled for access to the CPU complex. When high, it is in Test/Scan mode.
When used in the normal operating mode to access the internal CPUs, in order to reset the Tegra 250 JTAG block, a reset
command is used rather than toggling the JTAG_TRST_N pin.
darkspr1te
imtheyoyo said:
What can we do with JTAG on our Acer Axxx ?
Envoyé de mon GT-I9505 en utilisant Tapatalk
Click to expand...
Click to collapse
Right now, with current public information, Nothing. But Who knows what it may turn up, access to SBK maybe? I dont know, I am not that level of expert, but it may turn up some interesting stuff. it may allow users to debrick devices (hopefully)
Let me start todays post off with a small request,
if anyone knows of a guide to using openocd/buspirate to investigate a jtag connection that is totally unknown then please post a link here,
I have read billions (well maybe dozens) of ducuments talking about boundry scans, config files, jtag route controllers but it seems almost none show you, they all are the same, they talk about in a vague way that your already ment to know what they are on about. Gah.
Anyway, i've ran some irscan/drscan commands and i've really got no where, i am confirming that keeping TRSRT high gives you the IDCODE of 0x330173d7 and if low then it errors out and you get all zeros,
ive found some tegra2 setup files for a jtag system called BDI-x0000 and they include a lot of info on the registers which are similar if not the same as tegra3, but the IDCODE is different and it's a different language to openocd, again plenty of documents hint at it being a simple conversion but i dont see it, maybe a case of 'cant see the wood for the trees' but it's not for noobs, which drives me a little insane,
Has anyone seen any docs of nexus 7 jtag ? i mean it's operation/setup not pin outs, i've got copies of that info but not actual irscan/drscan codes or anything.
Well I hope someone can provide a little input.
darkspr1te
Let me start todays post off with a small request,
if anyone knows of a guide to using openocd/buspirate to investigate a jtag connection that is totally unknown then please post a link here,
I have read billions (well maybe dozens) of ducuments talking about boundry scans, config files, jtag route controllers but it seems almost none show you, they all are the same, they talk about in a vague way that your already ment to know what they are on about. Gah.
Anyway, i've ran some irscan/drscan commands and i've really got no where, i am confirming that keeping TRSRT low gives you the IDCODE of 0x330173d7 and if high then it errors out and you get all zeros,
ive found some tegra2 setup files for a jtag system called BDI-x0000 and they include a lot of info on the registers which are similar if not the same as tegra3, but the IDCODE is different and it's a different language to openocd, again plenty of documents hint at it being a simple conversion but i dont see it, maybe a case of 'cant see the wood for the trees' but it's not for noobs, which drives me a little insane,
Has anyone seen any docs of nexus 7 jtag ? i mean it's operation/setup not pin outs, i've got copies of that info but not actual irscan/drscan codes or anything.
Well I hope someone can provide a little input.
darkspr1te
Click to expand...
Click to collapse
And i am double posting again.
After trying to deal with Acer to resolve the APX issue this is what hapnned
Code:
Sunil: Hi, my name is Sunil. How may I help you?
darkspr1te: hello
Sunil: Hello, darkspr1te.
darkspr1te: Hi Sunil, happy new year
darkspr1te: I have a Acer A210 that stopped booting, windows detects it as a Nvidia APX device
Sunil: Thank you and same to you.
Sunil: I am sorry to know about the issue.
Sunil: Do not worry. I will do my best to resolve the issue.
Sunil: I have the SNID number as 23203532115, is it correct?
darkspr1te: One sec let me double check
darkspr1te: yes that is correct
Sunil: Thank you for the confirmation.
darkspr1te: so what is the way forward ?
Sunil: In order to help you in a better way, please let me know the name of the country you reside now.
Sunil: Sure, I will help you in this regard.
Sunil: In order to help you in a better way, please let me know the name of the country you reside now.
darkspr1te: i am currently in Zambia, Ive tried for the past two weeks to get support from South Africa which is the closest agent to where I am, please dont tell me that i can only deal with them, they dont answer emails or live chat (i have screen shots and email logs to show this)
Sunil: I am sorry for that.
darkspr1te: so what is the way forward ?
Sunil: Your chat has come through to the Acer UK Support; hence, we are unable to assist with your enquiry.
We are able to assist UK customers with technical queries for products covered under warranty.
Sunil: Please click on the link below and select your country. You will then be directed to your local Acer website with the Service and Support section, containing contact details for your local Acer service centre.
Here is the weblink: http://www.acer.com/worldwide/support/
darkspr1te: Suni, ive tried that link, i've got nowhere, please I am begging you to help
Sunil: I completely understand your concern, darkspr1te. We are able to assist UK customers with technical queries for products covered under warranty.
darkspr1te: I am a uk customer, I carry a british passport, I can trace my family back 150 years in uk and I purchased the device in UK. what more do you need?
darkspr1te: I am only out of the country on work.
Sunil: darkspr1te, from our records, I see the unit is purchased in Zambia. We cannot pull any information of the unit.
darkspr1te: Thats impossible, I personally purchased it in Portsmouth , we have NO ACER agent or reseller here in Zambia
Sunil: I am sorry for that.
darkspr1te: Please I am begging you, just give me My Secure Boot key for the device that I purchased and own, i can deal with the rest my self
Sunil: Please be online for 2 minutes while I check the information on your query.
darkspr1te: thansk you
Sunil: Thank you.
Sunil: Thank you for staying online. I appreciate your patience.
Sunil: darkspr1te, please let me know the exact issue with the unit to assist you in a better way.
darkspr1te: The unit does not boot, it is only detectedd in windows as Nvidia APX device
Sunil: Alright.
darkspr1te: prior to that it rebooted while watching a movie and in the top left it said fastboot error
Sunil: Okay.
Sunil: darkspr1te, I have checked my records, We cannot come to a conclusion regarding the fault without the unit being physically diagnosed by the technician. I request you to contact South Africa Acer support for more information.
darkspr1te: Then can you please provide me with my Secure Boot key for the device so I can resolve the issue myself.
Sunil: I am so sorry, We do not have such information available.
Sunil: Is there anything else I may help you with?
darkspr1te: actually thats not true,I have a contact in uk who used to work with acer support and he said you can send a BCT config file which is keyed with my boot key and only usable on my device, sadly he left acer otherwise it would be him i would be talking to
Sunil: darkspr1te, If we had the options, we would have definitely helped you. we hope you can understand the situation.
darkspr1te: using the BCT file and nvidia NVFLASH i can fix my device in seconds
Sunil: We do not have such information available.
Sunil: I request you to contact South Africa Acer support for more information.
darkspr1te: then who does
Sunil: Is there anything else I may help you with?
darkspr1te: south africa HAVE NOT responded at all
Sunil: We are able to assist UK customers who reside in UK with technical queries for products covered under warranty.
darkspr1te: fine
Sunil: I request you to contact South Africa Acer support for more information.
Sunil: Is there anything else I may help you with?
darkspr1te: you're joking right ?
Sunil: darkspr1te, If we had the options, we would have definitely helped you. we hope you can understand the situation.
darkspr1te: No I dont understand, I dont know why I have a device that I cannot use because Acer is withholding the key to my own device
darkspr1te: you i had a nexus 7 with same tegra3 cpu and they gave me the secure key within a day of me reqquesting it
Sunil: darkspr1te, you have contacted Acer UK hardware technical support department and we do not have such information available with us. I request you to contact South Africa Acer support for more information.
Sunil: It was a pleasure working with you. Thank you for contacting Acer live chat. Have a nice day.
I will no longer recomend acer devices, I am pulling my github files for the acer as I dont want to be responsable for bricking someone else's device either. I just hope that someone at acer reads this and knows how useless chat/email support is.
darkspr1te
Another support agent in south africa, who after 3 hours of contant hello's finally answered.
Code:
Jacques: Hi, my name is Jacques. How may I help you?
darkspr1te: hello
darkspr1te: hello, is there anyone there
Jacques: yes can we help you?
darkspr1te: i have a acer A210 and it's not booting , i was watching a video and it rebooted, in the top left it said fastboot error and now windows only detects Nvidia APX device
Jacques: you will have to restore the operating system
darkspr1te: ok,
darkspr1te: how do i do that ?
Jacques: you can send it in for repair so we can reflash the device
darkspr1te: Jacques, I am currently not in a situation where that can be done, please I am begging you to assist me with my secure boot key so i can do it, I've sent two tablets to south africa in the past, first one stolen, second one came back still broken ( at the cost of the tablet), i cant afford the third.
darkspr1te: i know using nvflash and the BCT file thats linked to my secure boot key will fix the device
Jacques: we do not supply the files available for download on any of our sites , so to get assistance you will have to send it for repairs
darkspr1te: but I cant, please, i am begging.
darkspr1te: hello, are you still there
Jacques: I'm here
Jacques: unfortunately nothing more I can assist with as the files you looking for is not available for downbload
darkspr1te: Please Jacques, I am only asking for the key to my own device,
darkspr1te: i can give you the URL for acer Tiawan where acer support perrsonell get the key from
darkspr1te: but as i dont have a acer login account i cant get the key for my device
darkspr1te: if i had the key i can just use NVFLASH to fix in seconds
darkspr1te: all you need is the CPUID
darkspr1te: which is androidboot.serialno=015d256487300205
darkspr1te: ?
darkspr1te: are you still there
darkspr1te: hello
darkspr1te: hello
darkspr1te: hello
darkspr1te: anyone there ?
That was support in south africa
darkspr1te
Hi All,
i recently picked up this project again, I've got some new doc's and info but as yet no solution.
My current thinking is to attack the emmc, to which ive produced some photo doc's to upload.
In the first picture is the underneath of the emmc,
Red is CLK or clock
Yellow is CMD or command
light blue is VSS @ 1.8v
red border shows the outline of the emmc chip on the otherside of the pcb. see the picture called blend for a blended view of the same.
My current thinking is the emmc has failed or locked up, why ? well on the clock and cmd lines i get a nice clear trace on my logic sniffer and scope,
Now looking at the the picture called marked, look in the bottom right of the red box, those resistors more or less lighn up with the DAT0/7 pins but i do not get any signal at all from them with the scope. The system outputs CMD's down the CMD line to the emmc at power on, that and the clock can clearly be seen on the scope.
I have also referred to the a510 schema and emmc pins are ment to be the following on the T30 cpu
Dat0 - B6 (z = floating)
CLK - F8 z
CMD - H10 z
i have hunted around this area with the scope and found nothing.
from the SMARC sAT30 manual, it says the following for the EMMC
Either A:
DAT0 - K1 (pu = pull up)
CMD -N6 pu
CLK - M6 pu
or B:
DAT0 L27
CMD - J29
CLK - G30
both location have not shown either clk/cmd or a response from DAT0. Still more research to do.
last time i buy a tegra i can tell you. damn locked up piece of sh!t.
darkspr1te
Edit: I forgot to add the specs for the EMMC
Samsung KLMAG2GE4A
PDF attached
Futher reading ont this emmc at ps3wiki http://www.psdevwiki.com/ps3/KLMAG2GE4A-A001
More pictures Of EMMC
Final group of pictures
WTF! That eMMC is really blank! Do you have any info on that? Can you do anything to it's surface to see what it says?
Also, on the OP schematics there's a "UART debug" port. What's on that?
I am having a similar issue using JTAG on a Tegra 2 device.
Would it possible for you to post the Tegra 2 documentation you have?
darkspr1te said:
EDIT **
Some additional information I am still trying to understand/process, it's from tegra2 but one could assume it's valid for tegra3 as a lot of what i've turned up has been the case. This excludes security
based information
Code:
Note that in the circuit in Figure 24, there is an optional resistor on JTAG_TRST_N. For normal JTAG operation, this resistor
should not be present. The JTAG_TRST_N pin on the Tegra 250 selects whether the JTAG interface is to be used for
communicating with the Tegra 250 CPU complex, or for Test/Scan purposes. When JTAG_TRST_N is pulled low, the JTAG
interface is enabled for access to the CPU complex. When high, it is in Test/Scan mode.
When used in the normal operating mode to access the internal CPUs, in order to reset the Tegra 250 JTAG block, a reset
command is used rather than toggling the JTAG_TRST_N pin.
darkspr1te
Click to expand...
Click to collapse
Tom_Perman said:
I am having a similar issue using JTAG on a Tegra 2 device.
Would it possible for you to post the Tegra 2 documentation you have?
Click to expand...
Click to collapse
I can tell that you will find the most useful docs via baidu
also search for terga2 and terga3, some docs were misspelled.
I will post any documentation i've created if I can find it, i've recently moved a lot of data to archive that i was not working on, the acer stuff was among it .
How far along are you jtag wise? any comms with the chips ?
darkspr1te
Tom_Perman said:
I am having a similar issue using JTAG on a Tegra 2 device.
Would it possible for you to post the Tegra 2 documentation you have?
Click to expand...
Click to collapse
Do you have a photo with your JTAG connection? which acer is it?
The DeX concept looks great: http://www.samsung.com/global/galaxy/apps/samsung-dex/ (but...)
http://www.gsmarena.com/samsung_galaxy_s8-review-1603p10.php
I already read multiple reviews on DeX and could not find answers to basic interrogations :
-will DeX-use shorten the total number of discharge/charge cycles of the battery, by simultaneous charging/OS powerhouse ?
-is there any wireless connections between s8 and DeX ?
-are they any broken s8' functionalities when plugged ?
-...
(There is no teardown yet.) https://forum.xda-developers.com/album.php?albumid=14179 shows DeX using a Parade
PS176 DisplayPort-> hdmi 2.0b
On software side, I also noticed reviewers warning that Microsoft is a kind of fake on desktop/1080, without additional licenses (Office 365 subscription) : what else ?
The DeX' Virtual Desktop Infrastructure presentation is real appetizing ( even more with the s8 & s8+ 4.4.x kernel/"linux"), hope some owners will discuss and reveal the future-proof "truth" of that puck.
"Hazy specs" :
If you look into s8+ attached defconfig, apparently "regular" vdi config are not set in this (very) NEW 4.4 kernel:
Code:
# CONFIG_USERFAULTFD is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_XEN is not set
# CONFIG_VIRTUALIZATION is not set
Maybe the advertised VDI for "Enterprise Mobility Management" (EMM) will use a different kernel (or the future Note 8 only)?
DeX is a sophisticated cradle/hub only, fully compatible with Knox (fingerprint & iris scan) that relies on Samsung original charger.
For now, DeX is still working after Knox tripped or even twrp/su-"ified".
Following Note7 fiasco and with a non-removable battery , it would be reassuring to know if DeX-use is powered/charged by the puck :
-via the embedded s8' battery while already in (slow) charging (electric "zugzwang"?=> destructive degradation & overheat)
-via an embedded independent s8' circuitry different from the one which is already (cool) charging the battery
I remember you, that (conversely to laptops), with almost all android devices, we are not supposed to use a device when on charge, and to charge before capacity under 50%.
Edit : related critics
http://www.vdcresearch.com/News-events/emob-blog/Samsung-DeX-The-Future-of-Enterprise-Computing.html
https://www.xda-developers.com/sams...m-revolution-but-aimed-at-the-wrong-audience/
[Samsung Galaxy S8+ Accessories > Samsung Dex by @SmilerOnline ]
One thing I think I discovered is that not just any Android app will work, only Dex-compatible ones (which seems like a really good way fro Samsung to screw themselves on the Dex concept right out of the door). I don't want to use Msoft Office - I want to get on Facebook, use a Reddit client and play Hearthstone.
I hope I'm wrong. I bought the phone almost entirely for Dex. I originally intended to get a Remix device when it launched for the desktop-docking experience but figured it'd be smarter to give my money to a bigger company that can really support the concept well. In a worst case scenario maybe I'll have to flash a Remix rom to the device to get the experience that Samsung promised (or hinted at, I guess).
All Android apps will work just not in "dex mode"
My understanding is that all of the apps (on the phone) will work, but ones that don't support "dex" mode will only run in full screen "phone" mode, so you can't tile/resize/etc the windows or anything special.
NicksOnTheWing said:
One thing I think I discovered is that not just any Android app will work, only Dex-compatible ones (which seems like a really good way fro Samsung to screw themselves on the Dex concept right out of the door). I don't want to use Msoft Office - I want to get on Facebook, use a Reddit client and play Hearthstone.
I hope I'm wrong. I bought the phone almost entirely for Dex. I originally intended to get a Remix device when it launched for the desktop-docking experience but figured it'd be smarter to give my money to a bigger company that can really support the concept well. In a worst case scenario maybe I'll have to flash a Remix rom to the device to get the experience that Samsung promised (or hinted at, I guess).
Click to expand...
Click to collapse
Source? From what I understand normal android Apps work they just aren't optimize for resizing like Dex apps.
YellowGTO said:
Source? From what I understand normal android Apps work they just aren't optimize for resizing like Dex apps.
Click to expand...
Click to collapse
From Google's and Samsung's documentation, apps do need to be compiled to support resizable windows in dex (an additional property in the manifest).
However if the app is designed to support Android windowed mode the app should work just with a fixed window size. I've already updated one of the apps I support to be resizable, just waiting for my dex dock to actually see if it works correctly.
Sorry for spreading misinformation - I'm happy to say I was wrong in what I thought earlier! I reached out to a fella on Twitter that had one and he happily showed me:
{
"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"
}
thelestat said:
From Google's and Samsung's documentation, apps do need to be compiled to support resizable windows in dex (an additional property in the manifest).
However if the app is designed to support Android windowed mode the app should work just with a fixed window size. I've already updated one of the apps I support to be resizable, just waiting for my dex dock to actually see if it works correctly.
Click to expand...
Click to collapse
From what I read, SamsungBrowser, Office365 (check attached/'PhoneArena') and Adobe are compatible; Chrome is next app to provide superposable graphics on DeX UI/1080.
Following the end of UbuntuTouch development, and with Microsoft VDI support, via certified corporate collaborators (Citrix Receiver, VMware Horizon Client and Amazon WorkSpaces), it looks like the first winning android move against iPhone' success (since soc64 appearance)...
On geek side, it's unclear if DeX is Knox (un-tripped) dependant: apparently it's just a hollow charging hub that takes advantage of s8[usb3.1DisplayPort +soc64 +4.4kernel] ?
The Knox bonus, in DeX, is largely targeted as the un-hackable final solution for hybrid outdoor/office agents, without the need of shared & unsecured PCs in buildings.
Definitively, there is just zero assertion on gaming (dynamics) or education (durability >2years).
(I will update 1st post when teardown clarify the inside of the cradle.)
[Samsung Galaxy S8+ Accessories > Samsung Dex by @SmilerOnline ]
Could somebody tell me how multiple languages work with Dex?
I have a physical keyboard with English and Russian letters on the keys. Is there a keyboard switching shortcut just like in Windows or is there some other solution?
oF2pks said:
-will DeX-use shorten the total number of discharge/charge cycles of the battery, by simultaneous charging/OS powerhouse ?
Click to expand...
Click to collapse
This is my biggest concern. I play Bleach: Brave souls a lot on my S6, and thus had to charge it quite often, 3-4 times a day leaving it plugged in. After one year I'm lucky to get 1.5 hour SoT and 7 hours standby. I know they said the S8 is supposed to be really good in that department, not losing a lot of it's initial capacity after the first year.
Hi! I'm currently planning to buy S8 mainly because of dex.
If there are anyone who is already used dex, I want to ask whether it is possible to use an usb c extension on dex station to our S8?
I need it because I want to have a good protection on my S8 (planning on buying otterbox defender or love mei), but I also plan to use dex quite intensively.
Also, when using it with a game open, can we still multitask?
I mean like auto-ing a game, when we write on MS word in the same time.
Another question is : Can Dex desktop mode can be ported on the Note 4 and work with the older samsung dock...It has also hdmi output and usb ports so it is similar to Dex stand?
Or Enable Dex mod wirelessly using miracast technology that works generally fine.
I have the dex still unopened as my gear I think I buy way too much stuff I don't use...still haven't found a situation where id say this is where the dex can be useful
Sent from my SM-G950F using Tapatalk
Isn't this sort of thing already possible with DriveDroid and Linux already? Plus, I don't see this anywhere useful as that, and I don't see a use for this. Android is never meant to be the equivalent of a desktop OS in the first place.
Anyone know what I'm not allowed to disable for Dex? Mine is coming this week. I've disabled Touchwiz Launcher as I use nova, that's the only app I can think off if they're in the same app
Anyone else getting can't start Dex error? I've renabled everything and still the same problem
DeX teardown / twrp-su / s8:defconfig
I have updated 1st post with more info : teardown / twrp-su_OK / s8:defconfig attached
Thx to @Sv3nDV (imgur) you can look at teardown :
Sv3nDV said:
From what I gather, there is a realtek 8152 10/100 controller. Next to that is a cy7c656 USB 2.0 hub. A PS176 DP-HDMI converter is by the HDMI port. Near the USB-C port there is a chip I cannot read, I will get a better shot of that. Looks like its by a lot of power converter/regulation stuff. Its odd to me the base of the Dex says it is rated [email protected] amp but the included USB power brick is max 9v.
The other side of the board has 3 Cypress Semi chips. One is a cy 65210 which says USB billboard? Would that be the chip that determines what USB-C features are available during handshake? (again, not an expert at all lol). Then the Ethernet phy chip and some others.
I will open the Dex again when I get home from work and document how to do it, and take better shots on each chip for better ID.
Click to expand...
Click to collapse
DeX is using a Parade PS176 DisplayPort-> hdmi 2.0b
+ https://www.paradetech.com/parades-ps176-displayport-hdmi-2-0-converter-adopted-samsung-dex/
Thx to @zulu99 , for now, DeX ok with twrp/su .
You can follow THE "realtime" DeX guide with app compatibility: @SmilerOnline thread https://forum.xda-developers.com/galaxy-s8+/accessories/samsung-dex-t3593828/page999
Don't forget to vote !
DeX owner question
Has anyone tried attaching a mass storage device to a DeX to see if it will work as a substitute media player?
I have a WD Live and if I can connect my 4tb it might make file transfer easier...
Jca1982 said:
Has anyone tried attaching a mass storage device to a DeX to see if it will work as a substitute media player?
I have a WD Live and if I can connect my 4tb it might make file transfer easier...
Click to expand...
Click to collapse
I had tested a mouse and keyboard Bluetooth in just 1 port, I mean: mouse and keyboard have 1 Bluetooth receiver so in 1 Dec usb port can use keyboard and mouse :silly:
And what about battery? Dex is a battery destructor?
Conito11 said:
I had tested a mouse and keyboard Bluetooth in just 1 port, I mean: mouse and keyboard have 1 Bluetooth receiver so in 1 Dec usb port can use keyboard and mouse :silly:
And what about battery? Dex is a battery destructor?
Click to expand...
Click to collapse
Why use Bluetooth in usb, just start it on phone and connect you bt unit's.. and then you 2 free usb ports..
Skickat från min SM-G950F via Tapatalk