[Q] USB OTG in SGS Advance? - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

Hi guys
Like in title. It's possible?
I read a little about USB OTG and in my opinion if SGS have posibility to have USB OTG why SGS Advance have too.
Sorry for my english, but I do my best
Thanks in advance

Not yet.

S Advance does not support USB OTG. And your English is fine.
Sent from my GT-I9070 using xda premium

any ROMs ..?? so that we can make otg compatible..??

ashwithgd said:
any ROMs ..?? so that we can make otg compatible..??
Click to expand...
Click to collapse
no rom can enable it, dont expect it to happen anytime soon and also if it is enabled by our devs the experience wont be like the phones supporting it natively... so if you need it for any important purpose like work etc get a phone which supports it out of the box or chill and wait for surprises

you are wrong sony have some phones with this same hardware as mine and yours sgsa and these devices have usb otg options. im not a dev but i think the sollution is kernel from 1 sony device with this same hardware
Sent from my GT-I9070 using XDA Premium 4 mobile app

I have found some smartphones with:
Chipset: NovaThor U8500
CPU: Dual-core 1 GHz Cortex-A9
GPU: Mali-400
and USB On-the-go support ofc It's possible to port USB On-the-go from kernel in these phones? Here they are:
HTML:
http://www.gsmarena.com/sony_xperia_sola-4408.php
http://www.gsmarena.com/sony_xperia_p-4436.php
http://www.gsmarena.com/sony_xperia_go-4782.php
http://www.gsmarena.com/sony_xperia_u-4437.php

tomaszek94 said:
I have found some smartphones with:
Chipset: NovaThor U8500
CPU: Dual-core 1 GHz Cortex-A9
GPU: Mali-400
and USB On-the-go support ofc It's possible to port USB On-the-go from kernel in these phones? Here they are:
HTML:
http://www.gsmarena.com/sony_xperia_sola-4408.php
http://www.gsmarena.com/sony_xperia_p-4436.php
http://www.gsmarena.com/sony_xperia_go-4782.php
http://www.gsmarena.com/sony_xperia_u-4437.php
Click to expand...
Click to collapse
Watch for CoCore thread, Cocafe have great research capabilities, and I believe that he would find if that was easy like that.

shut_down said:
Watch for CoCore thread, Cocafe have great research capabilities, and I believe that he would find if that was easy like that.
Click to expand...
Click to collapse
I think it was related to usb switch in our phone that is not capable of otg. So it would be hardware related. But I'm not sure about this.
Sent from my GT-I9070 using XDA Free mobile app

OTG
Android 4.4 roms based on cyanogenmod have OTG support right?? Novathor settings has an option to enable voltage to USB port. I dont have OTG cable. So i have not tested it yet. Is it working on roms like CM11 ???

govind.madhu93 said:
Android 4.4 roms based on cyanogenmod have OTG support right?? Novathor settings has an option to enable voltage to USB port. I dont have OTG cable. So i have not tested it yet. Is it working on roms like CM11 ???
Click to expand...
Click to collapse
No, SGSA has no USB OTG support.
Only thing you can do is to enable power output for USB, thus you can charge an other device or power a van in the summer

rog_star said:
No, SGSA has no USB OTG support.
Only thing you can do is to enable power output for USB, thus you can charge an other device or power a van in the summer
Click to expand...
Click to collapse
Thnx. Saved me 50 bucks. I was planning to buy one after confirming..

reference doc of 9070's USB switch: http://www.ti.com/lit/ds/symlink/tsu6111.pdf
-> the USB switch manages USB OTG
9070's source code suggests that it shoud support it:
/* USB-OTG API function */
#define BOOT_API_USB_INIT 10
#define BOOT_API_USB_GET_NB_BYTES_RECEIVED 11
#define BOOT_API_USB_SET_CONFIGURATION 12
#define BOOT_API_USB_RECEIVE_DATA 13
#define BOOT_API_USB_TRANSMIT_DATA 14
#define BOOT_API_USB_IS_CONFIG_RECEIVED 15
#define BOOT_API_USB_IS_SESSION_VALID 16
#define BOOT_API_USB_IT_PROCESS 17
#define BOOT_API_USB_GET_STATUS 18
#define BOOT_API_USB_CUST_DISCONNECT 19
#define BOOT_API_USB_INIT_EP 20
#define BOOT_API_USB_CUST_INITIALIZE 21
#define BOOT_API_USB_CUST_CONNECT 22
#define BOOT_API_USB_CUST_CLOSE 23

flentus said:
reference doc of 9070's USB switch: http://www.ti.com/lit/ds/symlink/tsu6111.pdf
-> the USB switch manages USB OTG
9070's source code suggests that it shoud support it:
/* USB-OTG API function */
#define BOOT_API_USB_INIT 10
#define BOOT_API_USB_GET_NB_BYTES_RECEIVED 11
#define BOOT_API_USB_SET_CONFIGURATION 12
#define BOOT_API_USB_RECEIVE_DATA 13
#define BOOT_API_USB_TRANSMIT_DATA 14
#define BOOT_API_USB_IS_CONFIG_RECEIVED 15
#define BOOT_API_USB_IS_SESSION_VALID 16
#define BOOT_API_USB_IT_PROCESS 17
#define BOOT_API_USB_GET_STATUS 18
#define BOOT_API_USB_CUST_DISCONNECT 19
#define BOOT_API_USB_INIT_EP 20
#define BOOT_API_USB_CUST_INITIALIZE 21
#define BOOT_API_USB_CUST_CONNECT 22
#define BOOT_API_USB_CUST_CLOSE 23
Click to expand...
Click to collapse
I am sure that CoCafe did good research about that already...

i try may times with many proggrams and wont work for me ;/

tomaszek94 said:
i try may times with many proggrams and wont work for me ;/
Click to expand...
Click to collapse
Wasted time, OTG in S Advance will never become reality.
Inviato dal mio GT-I9505

AntaresOne said:
Wasted time, OTG in S Advance will never become reality.
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
i don't think so, i learning about kernel porting from other devices. maybe soon i do first try kernel from xperia with this same chipset as our s advance.

tomaszek94 said:
i don't think so, i learning about kernel porting from other devices. maybe soon i do first try kernel from xperia with this same chipset as our s advance.
Click to expand...
Click to collapse
Just do not post kernel until you test it yourself - we do not want noob users to get bricking their phones. :laugh:

tomaszek94 said:
i don't think so, i learning about kernel porting from other devices. maybe soon i do first try kernel from xperia with this same chipset as our s advance.
Click to expand...
Click to collapse
Wasted time. S Advance has a different usb switch/voltage regulator afaik. Missing OTG support is hardware related.
@shut_down totally agree. +1000000000

shut_down said:
Just do not post kernel until you test it yourself - we do not want noob users to get bricking their phones. :laugh:
Click to expand...
Click to collapse
i know that i don't wanna have on conscience many bricked devices actually i'm have 1-2h daily free time to do this so it may take some time ;/ if i have news about it i will write a post with news about it

Related

S5PV210/S5PC110 Development Board

Hey Guys.
Does someone own such a Development Board?
We need uBoot sources from someone who's owning this board.
http://www.armdesigner.com/KIT S5PV210.html
You might want to send miki4242 a PM, it seems he's got a S5PC110 dev board:
- I received my Odroid-T (S5PC110 based) development board, which will hopefully help with testing and debugging kernels.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=8807712&postcount=75
While it's not the exact same dev kit, they might have (some of) the same sources delivered with it. It's worth a shot.
Samsung S5PV210 1.0G Mhz
with flash memory 8G
DDR2 512MB
Support 32GB Micro SD
Wifi 802.11 b/g
8" TFT LCD
Camera
HDMI output
USD 220
email : [email protected]
samsung s5pv210 board
Hello
you can also see Embest Devkit7000 samsung s5pv210 board, the board comes with Android 2.3 source code
_com.odroid.com/sigong/nf_file_board/nfile_board.php?kind=download&kernel=&page=
Here you can download the sources of kernel, android (2.2 - 2.3) and u-boot.
There are also instructions of compiling:
_dev.odroid.com/projects/odroid-t/wiki/KernelPage
_dev.odroid.com/projects/odroid-t/wiki/AndroidPage
OFFTOP: I've successfully builded, but I'm too scary to try it on real device, which seems pretty similar to reference (Dropad A8X).
I'm willing to try if someone has built it? Lemme know
xxxXxFeLiXxXxxx said:
_com.odroid.com/sigong/nf_file_board/nfile_board.php?kind=download&kernel=&page=
Here you can download the sources of kernel, android (2.2 - 2.3) and u-boot.
There are also instructions of compiling:
_dev.odroid.com/projects/odroid-t/wiki/KernelPage
_dev.odroid.com/projects/odroid-t/wiki/AndroidPage
OFFTOP: I've successfully builded, but I'm too scary to try it on real device, which seems pretty similar to reference (Dropad A8X).
Click to expand...
Click to collapse
Sent from my SGH-I897 using XDA App
codeworkx said:
Hey Guys.
Does someone own such a Development Board?
We need uBoot sources from someone who's owning this board.
http://www.armdesigner.com/KIT S5PV210.html
Click to expand...
Click to collapse
Hi,
See attached u-boot which works on this: http://www.wvshare.com/product/x210ii-Package-C.htm
Its basically a S5PV210 development board.
And another one which was on dvd... the previous one came from some chinese website to make it boot from SD (i think, not sure since i have not gotten anything to work yet!)
http://www.mediafire.com/?29bm4y7nzv7uddz
Does anybody got working sources for uboot movinand of x210ii-Package-C board ?
Seller disk contains configs only for nand and sd. There is mkmovi script in the root folder of uboot. But it's seems not working.
Could anybody say which configs I should change to make the board booting from movinand?
So, nobody know...
The solution was found by experiment way.
We should change u-boot configs.
Firstly one should add some strings to Makefile of u-boot.
Code:
x210_inand_config : unconfig
@$(MKCONFIG) $(@:_config=) arm s5pc11x x210 samsung s5pc110
@echo "TEXT_BASE = 0x23e00000" > $(obj)board/samsung/x210/config.mk
Then new file x210_inand.h must be created. Copy content of the x210_sd.h and put it into our x210_inand.h.
And make changes:
Code:
#define MEMORY_BASE_ADDRESS 0x30000000
//#define MEMORY_BASE_ADDRESS 0x20000000
#define MEMORY_BASE_ADDRESS2 0x40000000
Code:
//#define CONFIG_BOOTCOMMAND "movi read kernel 20008000; movi read rootfs 30B00000 300000; bootm 20008000 30B00000"
#define CONFIG_BOOTCOMMAND "movi read kernel 30008000; movi read rootfs 30B00000 300000; bootm 30008000 30B00000"
Terminal commands to build u-boot:
Code:
make x210_inand_config && make
Now the board is boot from inand.

[DEV]kernel 3.0

We have 2 phones with have same chipset and kernel 3.0.x
http://www.gsmarena.com/huawei_u8860_honor-4197.php
Huawei u8860
Chipset Qualcomm MSM8255T Snapdragon
CPU 1.4 GHz Scorpion
GPU Adreno 205
http://www.gsmarena.com/htc_one_v-4575.php
Chipset Qualcomm MSM8255 Snapdragon
CPU 1 GHz
GPU Adreno 205
link for one v sources(3.0.16)
houwei u8860(3.0.8)
:highfive:
Or eaven porting form CAF (3.0.23)
CAF kernel link
Guys ho porting from CAF are using RAY, MINI , LWW , NEO , so no dev form here was join that project
That all from me
[/B]
This howto is working only with 2.6.32.X kernel, when this project will be finished will add HOWTO for 3.0.8
You need linux machine, i don't know it is possible on Windows and if so i don't help you with that!!!
1. Download toolchain.
Download toolchain and extract it to /opt/ directory.
Should looks like:
Code:
/opt/arm-eabi-4.4.3/
2. Set up evn.
Edit your:
Code:
~/.bashrc
file and add at the end of file this two rows:
3. Download kernel - 2.6.32.9.
You can download kernel sources from J repo Doomlord or other repo, and extract to ~/kernel/, this kernels has already needed drivers etc.
4. Compile kernel:
When i'm compiling kernel i'm doing it in this way:
5. Output files.
6. Create boot.img
- Swap kernel and modules and then:
- Creat boot.img
Extract files here /usr/local/bin and set permissions to 755.
are u trying the impossible? lol.. if this is possible it should have happened before during the x10 days. you're just wasting your time bro.
dyepnoodle said:
are u trying the impossible? lol.. if this is possible it should have happened before during the x10 days. you're just wasting your time bro.
Click to expand...
Click to collapse
NO , im now learning C and C++ code
Look here a lot of people think Galaxy S plus will not get 3.0 , same you think for xperia 2011 phone , but look here its link for galaxy s plus 3.0.43kernel. Evertying is posibole only need siklz
It is possible.
3 devs are working on it
they got help from a Sony dev.
They know how to get it booting
1 dev is rewriting the clock for 2011 devices and an other the last board fixes and then it will boot
nickholtus said:
It is possible.
3 devs are working on it
they got help from a Sony dev.
They know how to get it booting
1 dev is rewriting the clock for 2011 devices and an other the last board fixes and then it will boot
Click to expand...
Click to collapse
can you give me link .
ps: how much mony your freind zack have?(for repair phone)
did you fix ril?(for sense 4.0A)
Hi, look at github.com/kamarush
3.0 kernel isn't updated in a few days, but they are still working on it
He has (not 100% sure) $12.00
Ril is still not working, waiting for help from htc devs
I dno why but the thread for donations is gone, without letting me know
Sent from my Xperia P using xda app-developers app
any update on this?
sjondenon said:
any update on this?
Click to expand...
Click to collapse
Here is backport of 3.0.8 form xperia s
https://github.com/tkymgr/KTG_test
Thats all,but we now have nAa on our side...i hope he will done it in future
here is naa sources LINK
N1kolaa, im available for testing/compiling anything, i cant code C, C++, i only know Java, can you set up an IRC channel so we can meet ?
For C let me know if you need help with it. I may not be of great help but can to some extent

USB Host

Hi guys i'm a noob but i've a question...can we get OTG support with this patch for tegra 2?
[U-Boot] [PATCH 0/7] Tegra2: USB Host Support patch series
Thank you
yes we can. but this doesent mean it will work, due to the fact that its tested only on seaboard.
we need to debug after patching it
Sent from my LG-P990 using Tapatalk 2
Oh, I though it was hardware related ^^ but if it could work, that would be cool
With all the good devs O2X still have, i'm sure that can be possible
(By the way, Nicolaschw, your kernel looks amazing, keep (with ?) the good work !)
nicholaschw said:
yes we can. but this doesent mean it will work, due to the fact that its tested only on seaboard.
we need to debug after patching it
Click to expand...
Click to collapse
Thank you Nicolaschw for your reply.So there's a way to debug the kernel to prove if the OTG does work?
Spineshankumb said:
Hi guys i'm a noob but i've a question...can we get OTG support with this patch for tegra 2?
[U-Boot] [PATCH 0/7] Tegra2: USB Host Support patch series
Thank you
Click to expand...
Click to collapse
yes you can
hi guys
I know that the micro USB port in p990 is unpowered, however pengus77 is working for USB otg in your kernel utilizing a otg cable with splitter USB.

OMAP4 Bluetooth 4.0 BLE

it seems that is working, tried it on 4.4.2, but no OAD support..
to enable it add the following line to android/system/device/motorola/omap4-common/common.mk
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml
next to
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
and (device specific) system/device/motorola/maserati/bluetooth/bdroid_buildcfg.h
#define BTA_DM_COD {0x1A, 0x01, 0x14}
#define BTIF_HF_SERVICES (BTA_HSP_SERVICE_MASK)
#define BTIF_HF_SERVICE_NAMES { BTIF_HSAG_SERVICE_NAME }
#define PAN_NAP_DISABLED TRUE
#define BLE_INCLUDED TRUE
#define BTA_GATT_INCLUDED TRUE
#define SMP_INCLUDED TRUE
after
#define BTM_DEF_LOCAL_NAME "Motorola Droid 4"
tried with new bluetooth firmware from https://github.com/TI-ECS/bt-firmware, is working but is not stable.
the default firmware is working well with the sensor tags
lucize said:
it seems that is working, tried it on 4.4.2, but no OAD support..
Click to expand...
Click to collapse
Great
I've just pushed your changes to my repositories, so they will be included in tomorrows nightly.
Merry Christmas,
Michael
Merry Christmas to everyone !
All devices that have the TIInit_10.6.15.bts firmware should work so maybe this would be of help for someone else, maybe you can talk with Hashcode or David to enable it on every device. 4.3 should work too !
Regards
lucize said:
All devices that have the TIInit_10.6.15.bts firmware should work so maybe this would be of help for someone else, maybe you can talk with Hashcode or David to enable it on every device. 4.3 should work too !
Click to expand...
Click to collapse
Ok, short gerrit crash-course
Configure your local git to commit with the name and email-address you want to be visible in public repositories
Create an account on http://review.cyanogenmod.org/
Upload an ssh public key there
Clone the repository you want to change with something like:
Code:
git clone ssh://[email protected]:29418/CyanogenMod/android_device_motorola_omap4-common
(This is not necessary if you are working on a direct CM clone and have no other changes in your repository)
Make your changes, commit them
Push your changes to gerrit:
Code:
git push ssh://[email protected]:29418/CyanogenMod/android_device_motorola_omap4-common HEAD:refs/for/cm-11.0
This will tell you an URL where your change is visible.
Go to that URL and add reviewers to your change. For example: Hashcode, David Hacker and probably me (Michael Gernoth)
If your change is acceptable, it will get merged into the CM repository
That's all, no great magic
For more info, have a look at: http://review.cyanogenmod.org/Documentation/user-upload.html
Best regards & thanks for your work,
Michael
lucize said:
Merry Christmas to everyone !
All devices that have the TIInit_10.6.15.bts firmware should work so maybe this would be of help for someone else, maybe you can talk with Hashcode or David to enable it on every device. 4.3 should work too !
Regards
Click to expand...
Click to collapse
Is that firmware part of CM11 or something that I'd have to install manually onto my Droid 4? If so, how does one upgrade the Bluetooth firmware?
bofis said:
Is that firmware part of CM11 or something that I'd have to install manually onto my Droid 4? If so, how does one upgrade the Bluetooth firmware?
Click to expand...
Click to collapse
is part of cm11, you can find it in /etc/firmware/
you can find it here
https://github.com/TI-ECS/bt-firmware/commits/master this is the history page where you can find various versions, but the last version from December won't load and the rest will not work with the headset (no sound)
htc one x has the same bluetooth chip and has a newer version of firmware, but the sound on headset will not work either, everything else seems to work
you can see the version at the beginning of the file, motorola has TI_P6_15.56
to update, turn bluetooth off, simply overwrite the file and the turn it on again.
I noticed that this eventually made it to CM11 for all of Moto OMAP cousins, except for the Bionic (Targa). Any reason that the Targa was left out? A lack of hardware support, or was it just never tested?
guyincog said:
I noticed that this eventually made it to CM11 for all of Moto OMAP cousins, except for the Bionic (Targa). Any reason that the Targa was left out? A lack of hardware support, or was it just never tested?
Click to expand...
Click to collapse
I don't know if it has the proper chip but the firmware is correct so it should be possible. I don't have one to test.
Regards
lucize said:
I don't know if it has the proper chip but the firmware is correct so it should be possible. I don't have one to test.
Regards
Click to expand...
Click to collapse
Thanks for the reply. I've got one, maybe I'll see if I can talk one of the builders for the Bionic will make a test build with the necessary common.mk change.
I apprciate the work on this, and the kernel update you've got in progress. Any extra features we can add to these old devices is a huge bonus.
This might be the wrong place to ask this, but does CM11 or CM11 on our phone support the APTX codec via Bluetooth?
bofis said:
This might be the wrong place to ask this, but does CM11 or CM11 on our phone support the APTX codec via Bluetooth?
Click to expand...
Click to collapse
it has the hardware support
http://www.aptx.com/product/motorola-razr-maxx-smartphone
but don't know about the rest of the things

Android device tree

Hi guys, i found android device tree for our device (anzhen4_mrd7), apparently for cm12:
https://github.com/quanganh2627/android_device_intel_baytrail
Anyone wants to try a build or two?
Kryogen said:
Hi guys, i found android device tree for our device (anzhen4_mrd7), apparently for cm12:
https://github.com/quanganh2627/android_device_intel_baytrail
Anyone wants to try a build or two?
Click to expand...
Click to collapse
OMG!
So all developers could release their own version of Android 5 Lollipop for Teclast x98 Air devices!!!!
This is a great news!
Maxximo88 said:
OMG!
So all developers could release their own version of Android 5 Lollipop for Teclast x98 Air devices!!!!
This is a great news!
Click to expand...
Click to collapse
Actually, that's just a repo i found online
IT could be useful, it could be not - we're missing prebuilt binaries and kernel drivers (Though i don't think the tablet uses private kernel drivers, they should already be in there )
Good news is: lenovo youga tablet 2 has similar hardware to our x98, and its full source code is public
Kryogen said:
Actually, that's just a repo i found online
IT could be useful, it could be not - we're missing prebuilt binaries and kernel drivers (Though i don't think the tablet uses private kernel drivers, they should already be in there )
Good news is: lenovo youga tablet 2 has similar hardware to our x98, and its full source code is public
Click to expand...
Click to collapse
Yep, I saw it has 10,1" FHD IPS, Intel Atom Z3745, 1,3GHz, 2GB RAM!
Nice, I hope to see some devs interested in sources...Maybe to see a CyanogenMOD port!
Is it possible to use the Lenovo source code, add some stuff extracted from the stock boot.img and build a asop rom?
I'm not a dev and I want to know a bit more about this...
Gesendet von meinem X98 Air 3G mit Tapatalk
Best kernel for testing
Hi,
I've made some tests 6 months ago, The best kernel was the kernel of the Dell Venue ( just check dell + opensource on google) , Everything was working but deep sleep and charging. The tests were done with grub on a usb key , kernel on usb key and system image on flash.
Now I've got a x98 plus tablet, I hope to have some time to recompile a kernel.
Cheers
Occip
occip said:
Hi,
I've made some tests 6 months ago, The best kernel was the kernel of the Dell Venue ( just check dell + opensource on google) , Everything was working but deep sleep and charging. The tests were done with grub on a usb key , kernel on usb key and system image on flash.
Now I've got a x98 plus tablet, I hope to have some time to recompile a kernel.
Cheers
Occip
Click to expand...
Click to collapse
Nice, so with that kernel we can just change it when it is power off?

Categories

Resources