yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] uunicorn:
works now

Hi guys.

Sorry for necroposting.

Also this post should probably go to development section, but I don't have access to post there (yet?).

First of all, BCM21553 seems to lack ID pin. ID pin from USB connector goes straight to PMU chip instead.

It is used to detect the type of the charger as far as I can tell.

It's not a big deal to extend PMU isr's to support OTG cable as a different type of charger (yes, external +5v source is required).

The real trick (for me) was to find a way to force DWC core into Host mode. Looks like Synopsis is no longer sharing datasheets with public.

Luckily Broadcom is not the only company which uses the same USB IP.

It looks like DWC driver was designed for an older kernel version.

It was partly ported by Samsung, but only as much as required to support the device mode.

It's still very flaky and fragile. For instance, it you try to cat /sys/devices/lm-2/mode, it will panic the stock kernel.

All HC code is non-functional and does not even build out of the box.

It took me almost a week to fix all the bugs and to be able to build standalone dwc_otg.ko with working HC code.

At the moment I managed to successfully mount a memory stick on my phone. Device mode is not there yet, but I don't really need it:

I'm building a telemetry project and I need the cheapest solution.

If anypony is still interested in HC on SGY, please reply and I will follow up with more details.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] -HellRaiser-:
thats pretty awesome news.....this should be moved to development section......

Sent from my Typewriter
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] uunicorn:
Here we go, as promised.

I've decided to test whether SGY is powerful enough to play movies from external USB HDD drive with truecrypted ext4 fs.

It turns out to be good enough.

/mnt/sdcard/mod # busybox cp ../dmsetup /dev
/mnt/sdcard/mod # busybox chmod +x /dev/dmsetup
/mnt/sdcard/mod # insmod usbcore.ko
/mnt/sdcard/mod # insmod lm.ko
/mnt/sdcard/mod # insmod dwc_otg.ko
/mnt/sdcard/mod # insmod scsi_mod.ko
/mnt/sdcard/mod # insmod sd_mod.ko
/mnt/sdcard/mod # insmod usb-libusual.ko
/mnt/sdcard/mod # insmod usb-storage.ko
/mnt/sdcard/mod # busybox ls -l /dev/block/sda
brw------- 1 0 0 8, 0 Jul 20 04:18 /dev/block/sda
/mnt/sdcard/mod # insmod gf128mul.ko
/mnt/sdcard/mod # insmod xts.ko
/mnt/sdcard/mod # /dev/dmsetup create tc0 --table "0 976772656 crypt aes-xts-pla
in64 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 256 8:0 256"
/mnt/sdcard/mod # insmod jbd2.ko
/mnt/sdcard/mod # insmod ext4.ko
/mnt/sdcard/mod # mount -t ext4 -r /dev/mapper/tc0 /sdcard/media
/mnt/sdcard/mod # am start -n com.mxtech.videoplayer.ad/.ActivityScreen -d /mnt/sdcard/media/Videos/cartoon/mlp/My.Little.Pony.Friendship.Is.Magic.S01E26.The.Best.Night.Ever.480p.WEB-DL.DD5.1.h.264-ETP.mkv

Attachment contains kernel update which you can flash using recovery mode.

Basically, it is an ordinary Samsung kernel without any USB code and with some minor hw-related tweaks.

modules.tar.bz2 contains all modules from snippet above plus HID and FTDI support.

It's huge because of ext4.ko. You probably won't need it.

dwc_otg.ko is USB driver itself. At the moment it has host-only functionality.

It means - it is a very bad idea to connect your phone to PC with this module loaded. Be warned.

Also, I'm using Y-cabe with 30k resistor between D+ and D-. This way MUIC thinks that phone is plugged into 1A charger.

At the same time, D+/D- is routed USB PHY. This hack is statically linked into the kernel.

So - don't try to charge your phone with this kernel with chargers with D+/D- shortened.

Oh, yeah. ID pin connection is irrelevant at the moment, so you can hack any micro-usb cable in the middle - no complex soldering required.

Disclaimer: You may brick your phone. Do it on your own risk. This post is developer-oriented.

If you do not fully understand what's written above - better don't do it at all.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] -HellRaiser-:
Dude what you are doing is great but the problem is its too much difficult for average member to understand what all this means....you should give a better discription about what you have done with the kernel and what is the advantage of that and how it will work.....uploading kernels like this could lead to someone bricking their phone....

According to me you should team up with someone and make a thread in dev section.....

Sent from my Dishwasher
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] uunicorn:
Yes, I know, but there is nothing user-friendly to show yet.

There is not much profit for an avg phone user until automatic switching between host and device mode is added.

After this feature is implemented in usb driver, it could be incorporated into someones custom kernel distribution and OTG will just work out of the box.

At the moment it is just an ongoing development, which I would like to share with other developers, because I do not think I have enough motivation to finish everything by myself.

Hence all the warnings.

There is a thread about OTG on SGY already in development section, but I can't even bump it - no rights to post there.

Someone could probably post a link to this thread there, I suppose.
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] TrojanHorses:
I bumped it for you :good:

btw, I think you need 10 posts in order to start a thread or post on development section.

anyways, keep up the good work!!!
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] andrman1:
what need to doing ?

flash your kernel

for what is modules and dmsetup ?

I can't understand ?
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] harish2704:
A Biggg Thanks to you Master....

I am the one who tried for the same target before... But not yet successed..

I am very much curious to see the source or the patch for this.

I hope you will move your code to github or somethig...

Again .. You have Done a Great Job..
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] El_Dark:
Sorry for reviving old post first of all guys, I'm a Galaxy Ace-I user (cooperve, not cooper) and I've found out that our phone in particular, just like the SGY has a BCM21552 (physically that's what the chip reads :P not 21553 lol), which also supports OTG as I've stated in this thread, I really think it'd be interesting if S5830i and SGY developers could join forces to make this go through :)
[Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl] thedeadfish59:
Whats the status of last development of OTG support? :D
[General Questions and Answers] TeamLunar:
Hey guys!

Many developers have fixed the bug of the camera for many devices Arm v6. I have compiled the rom for Huawei u8650 CM9 from source but the camera does not work. It has never worked even with other porting always based on 4.0.x CyanogenMod. Where is the mistake? Kernel or libraries Camera? I ask your help in order to fix the source

Thank you so much!! :D
[General Questions and Answers] lothaer:
I would greatly appreciate it if this problem could be resolved
[General Questions and Answers] Linkisaboss77:
I would love this as well!:thumbup:
[HTC EVO 3D] LostRib:
At the moment I am running Mean ICS rom. What do you think is the best ICS ROM for daily use?
[HTC EVO 3D] Jsparta26:
Aosp : 3d Anorexia and Sense: Cool Sense in my opinion of course:o
[HTC EVO 3D] gjRabbit:
I just went from Mean ROM to MIUI and like it a lot. Takes a little getting used to but it's very clean and stable (so far)
[HTC EVO 3D] wisnu78:
Cool sense v11. Everything working fine, fast and stable :)
[HTC EVO 3D] Jsparta26:
Good choice sir. Did you try the new cool sense kernel that was updated a couple days ago?
[HTC EVO 3D] wisnu78:
Yes sir, i had tried v3.6. But now i'm back to v3.5. I think v3.5 has better battery life. What about you sir ? :)
[HTC EVO 3D] Jsparta26:
I do agree with you. 3.5 does have a better battery life but not by much. But I will take a little better than not at all. All in all, this rom is probably one of the best sense roms out there.
[HTC EVO 3D] klect:
Are you s-on or s-off?

If you're s-off, you should give sense 4.1 a go, with that i mean viper3D.

I'm GSM myself but it is a rom for both GSM and CDMA.

Here's the thread: http://forums.infectedrom.com/showt...-presents-Viper3D-(Nightly)-welcome-to-future

For me it's the most stable rom yet, though i use the forbidden kernel with it.
[HTC EVO 3D] wisnu78:
Can wifi tether work ? I'm searching rom with sense 4 that wifi tether can work
[HTC EVO 3D] klect:
Everything except 3d camera i believe (and he's working on 3d camera, already have a 3d boot animation). read the thread to be sure, since i don´t use wifi tether.
[HTC EVO 3D] wisnu78:
Ok, i'll try. Thanks for your info about this rom
[HTC EVO 3D] klect:
Thats what the thanks button is for;)
[HTC EVO 3D] coal686:
Also 4g isn't working yet for CDMA users.

Posted with Tapatalk 2
[HTC EVO 3D] klect:
Good one, didnt now that since i dont get 4g on gsm.
[HTC EVO 3D] Jsparta26:
Try common sense v1.7. That's the best bugless, fully functional and fast Rom for sense 3.6 and yes wifi tether does work on this rom;)
[HTC EVO 3D] Jsparta26:
Honestly, I do not know if anybody will ever get 4g working on a sense4.0/4.1 rom. Htc hasn't and probably won't release the source code for working 4g unless they upgrade our evo's to sense 4.1. I don't mean to sound like a wet blanket but that's what it seems like right now. We can still hope though.
[HTC EVO 3D] coal686:
Yeah, as far as I know, there are no wimax phones with sense 4 or higher. They're all lte. So no one can port drivers either. But, it may happen since the devs we have are talented.

Posted with Tapatalk 2
[HTC EVO 3D] ramjet73:
Just out of curiosity, are you looking to change from MeanROM ICS? Some of the ROM's that have been mentioned have more mods and features integrated, but I think Mike (mikeyxda) tends to focus more on fixing problems with the stock ROM than mods and themes, since those can always be added based on user taste.

SOS M uses MeanROM ICS as a base, so if you want a clean base with more mods integrated, a de-Sensed ROM or a different loook you might want to try that.

ramjet73
[HTC EVO 3D] LostRib:
I had just asked to get an idea. Right now I have MeanROM with mods (basically all the ones you suggested in the development thread), so idk how much switching to something like CoolICS would add. I am thinking of changing to the "forbidden" kernel, although it seems a bit complicated
[HTC EVO 3D] mingolianbeef:
I'm running a sorta senseless meanROM right now and I love it :)
[HTC EVO 3D] vick_tar:
in my opinion it's cool ics, or meanrom
[HTC EVO 3D] Papa Smurf151:
These threads are not allowed on xda thread closed

XDA Moderator
[Samsung Galaxy Nexus] coolshan:
i just bought a used Galaxy nexus Gsm. but every time it boots this error comes up "Unfortunately, the process com.android.phone has stopped"

when i press ok it goes away and phone seems to work fine.

i have tried flashing the stock rom thorough ODIN and also tried couple of custom Roms but the error still persists. i'll be grateful if someone could help me out. cheers
[Samsung Galaxy Nexus] Petrovski80:
Flash the factory images available on Google's servers using this guide: http://xdaforums.com/showthread.php?t=1626895. Don't use Odin unless you have to, fastboot is the preferred method for flashing a Nexus.

If that doesn't help, post a logcat (use adb to get it). We can try finding the cause with that.
[Samsung Galaxy Nexus] coolshan:
how to get the logcat ? can you tell me the procedure? i have adb and all the drivers installed already
[Samsung Galaxy Nexus] Petrovski80:
- enable usb debugging via developer options

- reboot phone

- wait for error to display

- connect phone via USB to computer

- open a command prompt where the adb executable is located

- type: abd logcat > c:\MyLogcat\logcat.txt
[Samsung Galaxy Nexus] coolshan:
i have attached the logcat.txt file. have a look at it. i personally dont understand a thing lol
[Samsung Galaxy Nexus] Petrovski80:
Looking through your logcat, I see several exceptions, one of them concerns the RIL (radio interface layer). I'm thinking this causes your error after each boot:

D/CAT ( 584): RilMessageDecoder: decodeMessageParams: caught ResultException e=result=CMD_DATA_NOT_UNDERSTOOD additionalInfo=-1 explantion=length < 0x80 length=0 curIndex=3 endIndex=113

W/dalvikvm( 584): threadid=1: thread exiting with uncaught exception (group=0x41a30300)
E/AndroidRuntime( 584): FATAL EXCEPTION: main
E/AndroidRuntime( 584): java.lang.NullPointerException
E/AndroidRuntime( 584):	at com.android.internal.telephony.cat.CatService.handleRilMsg(CatService.java:172)
E/AndroidRuntime( 584):	at com.android.internal.telephony.cat.CatService.handleMessage(CatService.java:619)
E/AndroidRuntime( 584):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 584):	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 584):	at android.app.ActivityThread.main(ActivityThread.java:4896)
E/AndroidRuntime( 584):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 584):	at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 584):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 584):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime( 584):	at dalvik.system.NativeStart.main(Native Method)

However, I have no idea what causes the exception. I would try flashing the appropriate RIL for you device, look here: http://xdaforums.com/showpost.php?p=27441945

As for the rest of your logcat, the following apps cause exceptions as well:

- geniewidget: file not found exception. Probably nothing to worry about if it's working OK.

- SuperSU: java IO exception when executing /system/.bash/.ssu, -v. Not sure what's going on there, are SuperSU and its su binary up to date? Worth checking out imho.

- Go SMS sinaweibo plugin: illegal argument exception. Again, if this is working OK don't worry about it.

- Plume: arrayindex out of bounds exception. If this is working OK don't worry about it.
[Samsung Galaxy Nexus] coolshan:
its not working... i flashed the RIL with GETRIL app. and it says it a matching one. i even tried an other one for JB but in vain. its really irritating me now.. what is the problem :/
[Samsung Galaxy Nexus] Petrovski80:
Have you tried going completely back to stock using this guide: http://xdaforums.com/showthread.php?t=1626895
[Samsung Galaxy Nexus] coolshan:
i did. i even flashed other radios but nothing seems to work. could you tell me what is the purpose of this process ? "com.android.phone"
[Samsung Galaxy Nexus] Petrovski80:
That's the phone app in /system/app.

I'm beginning to think your problem might be related to hardware. I'm out of suggestions I'm afraid.
[Samsung Galaxy Nexus] coolshan:
yeah me too.. thanks for the help though. but still i dont understand why is they phone functioning properly? what disfunction this process can cause ? it seems to make and receive calls and sms without any probelm
[Samsung Galaxy Nexus] coolshan:
i found the problem !! its neither software nor hardware infact its my sim card thats causing it. changed the sim card and it booted normally my sim card is quite old so may be that could be a reason. but its a relief.. thanks man u really helped me out alot. learned alot from you. :good:
[Samsung Galaxy Nexus] Petrovski80:
Great you fixed it. Thanks for posting the solution here. :)
[Galaxy S III Q&A, Help & Troubleshooting] Password1234:
Hi,

Since I can't post anything in Android development section yet coz I recently joined, does anyone maybe know if there is a way to get the stock jelly bean notification pulldown menu for the SGS3? I feel that the one that comes with the ROM is bit laggy when pulling it down... Thanks :)
[Sony Xperia P, U, Sola, Go] simi318:
Hello guys, this is what happened to me yesterday. I wanted to flash stock ics to my SXS via flashtool. The problem was that flash tool got stuck at 2% so I thought I needs some time and left it there for quite some time, when I came back it was still at 2%. I didn't see any other option to unplug my phone. When I powered it on sony boot logo appeared and a phone with exclamation mark. I tried to repeat flash process and got the same result. Tried with 2 different pc-s, different usb ports/cables and older versions of flash tool. Still the problem is there :S

Any solution to this?

P.S Oh one more thing I can flash kernel successfully and I did, I actually can get into recovery and restore, but unfortunly problems remains.
[Sony Xperia P, U, Sola, Go] bliveinhack:
Try flashing another Rom....!
[Sony Xperia P, U, Sola, Go] simi318:
I did, but for some unknown reason I always get stuck here

30/002/2012 11:02:34 - INFO - <- This level is successfully initialized

30/002/2012 11:02:34 - INFO - Flashtool Version 0.9.7.0 built on 2012-09-27 22:53:38

30/002/2012 11:02:34 - INFO - You can drag and drop ftf files here to start flashing them

30/002/2012 11:02:39 - INFO - Device disconnected

30/002/2012 11:02:54 - INFO - Selected LT26i_4.0.4_R4G-6.1.A.0.453_Customized UK 1257-3921.ftf

30/002/2012 11:02:54 - INFO - Preparing files for flashing

30/003/2012 11:03:12 - INFO - Please connect your device into flashmode.

30/003/2012 11:03:16 - INFO - Device connected in flash mode

30/003/2012 11:03:16 - INFO - Opening device for R/W

30/003/2012 11:03:16 - INFO - Reading device information

30/003/2012 11:03:16 - INFO - Phone ready for flashmode operations.

30/003/2012 11:03:16 - INFO - Start Flashing

30/003/2012 11:03:16 - INFO - Processing loader

30/003/2012 11:03:16 - INFO - Checking header

30/003/2012 11:03:17 - INFO - Flashing data

30/003/2012 11:03:19 - INFO - Loader : S1_Root_de72 - Version : R5C004 / Bootloader status : ROOTED

30/003/2012 11:03:19 - INFO - Disabling final data verification check

30/003/2012 11:03:19 - INFO - Processing partition-image.sin

30/003/2012 11:03:20 - INFO - Checking header

30/003/2012 11:03:20 - INFO - Flashing data

30/003/2012 11:03:22 - WARN - This file is ignored : simlock.ta

30/003/2012 11:03:22 - INFO - Processing kernel.sin

30/003/2012 11:03:22 - INFO - Checking header

30/003/2012 11:03:23 - INFO - Flashing data

30/003/2012 11:03:26 - INFO - Processing fotakernel.sin

30/003/2012 11:03:26 - INFO - Checking header

30/003/2012 11:03:26 - INFO - Flashing data

30/003/2012 11:03:29 - INFO - Processing amss_fs_2.sin

It doesn't go after that last line.
[Sony Xperia P, U, Sola, Go] mharckk:
download the latest flashtool
[Sony Xperia P, U, Sola, Go] HellRoot:
Yeah latest flashtool or custom rom.. Which is better than stock anyways :)
[Sony Xperia P, U, Sola, Go] simi318:
Thanks for all replies, but I found solution myself. I flashed that tft to relock bootloader and voila my phone booted normally and it works like a charm now.

Best regards, Simon
[Sony Xperia P, U, Sola, Go] Chris_Castro:
Problem with Flash Tools 0.9.7

X10Flasher needs to be replaced with older version (0.9.0 or 0.8.5). It's in the flashtool original thread posted by Androxyde:

"Found a bug on 0.9.7 avoiding flashing. Here is a quickfix

http://ul.to/szfl8gh7

Replace x10flasher.jar from 0.9.7 with this one (bug with flashing amss_fs_1)

Flashtool developper.

Last version : 0.9.7.0

Flashtool Homepage"
[Sony Xperia P, U, Sola, Go] leonardmihai30:
What is the problem here ?

Everytime when i try to make downgrade to my Xperia Z1 and i install flashtool this error appear .What i must to do? I try to make downgrade and i can't?Please help me !!!
[Galaxy S II Q&A, Help & Troubleshooting] trackswind:
Hey guys,

The other day I woke up, went to look at a Youtube video on my S2 and the speaker didn't work. Not only does media audio just not play but I can't hear anyone on the phone (calls) unless I opt for the 'speaker' option (in which I can hold a normal conversation).

I found that it was an audio routing issue, as I downloaded a program 'Soundabout' which allows me to ignore headphone plugins (3.5mm jack) and choose to have everything played through speakers. This works and it solves the calling/media audio issues.

However this means that every time I want to connect my headphones or any aux cable, I have to manually change the settings via 'Soundabout'.

Summarised: My Galaxy S2 randomly developed a fault in which it thinks headphones are constantly plugged into the aux connector. This means I have to reroute via a program.

There are numerous 'fixes' for this problem floating around the internet including hard reset (done) and plugging and unplugging 3.5mm jack a few times (done). Other suggestions include faulty connectors inside the phone (hardware).

If anyone knows how to fix this, it would be greatly appreciated.

GT-I9100

4.0.3 (ICS)

Basdeband: I9100TDULP4

Kernel: 3.0.15-I9100XWLP7-CL340913

dpi@DELL134 #3

Build number: IML74K.XWLP7
[Galaxy S II Q&A, Help & Troubleshooting] trackswind:
Update: There is a problem with the actual 3.5mm socket. I know because the audio registers via headphones/speakers when I plug the jack in half way / fiddle around with it in the socket. Here is a video of what I mean: http://youtu.be/FOBLfI0a9zs

Any advice on how to fix something like this?

UPDATE: Had to replace the 3.5mm socket. Replacement comes as a unit with jack, vibrator unit, top mic etc. Can buy on Ebay for cheap.
[T-Mobile, Samsung Galaxy SIII] Ramone360:
Flash cwm using rom manager

1) click flash recovery

2) look for Tmobile Galaxy s3

3) that's it! Now you Have permanent custom recovery
[T-Mobile, Samsung Galaxy SIII] Ramone360:
If you were following instruction on galaxy3root.com website on how to root and recovery having trouble to being going back to stock recovery. This your permanent custom recovery 6.0.1.2!
[T-Mobile, Samsung Galaxy SIII] TarHeelTrigger:
Is this real life?
[T-Mobile, Samsung Galaxy SIII] Ramone360:
Yes!
[T-Mobile, Samsung Galaxy SIII] TarHeelTrigger:
Bro... your obviously new to this whole xda thing and should research before you open new threads. I guarantee that this thread is will be closed by the morning.
[T-Mobile, Samsung Galaxy SIII] djintrigue808:
Lol.

Sent from my SGH-T999 with frosty jellybeans.
[T-Mobile, Samsung Galaxy SIII] Ramone360:
Nope I'm new to the galaxy s3!
[T-Mobile, Samsung Galaxy SIII] Ramone360:
Weren't you a noob at first too? As a matter a fact that every body was
[T-Mobile, Samsung Galaxy SIII] darren.wlsn1:
ya but its simple to read the rules posted...:laugh::silly:
[T-Mobile, Samsung Galaxy SIII] dave2metz:
No big deal...
[T-Mobile, Samsung Galaxy SIII] kurplop:
Lol :beer:

T999+AOKP= ONENESS
[Blade General] venkin304:
Hi...I am using idea Blade(india branded zte Blade),I am not fully aware of andoid..my mobile is always entering into recovering mode even when i reboot my mobile normally....i dont why this is happening...plz help me in this regard....thnks in advance......
[Blade General] feherbalint:
This happened to me too. I didn't think much about it so I just flashed a new rom(it worked) but I heard that you can just flash superuser.zip ..... good luck:)

---------- Post added at 08:34 PM ---------- Previous post was at 08:16 PM ----------

But only format system if u want a new rom, because it deletes the "inside" of your phone and can be dangerous
[Blade General] unmesh.ghodke:
does ur phone rooted,if yes then install clokwork mod

Guys first of all does ur phone rooted,if yes then install clokwork mod, if already installed then open it and click on the first option flash recovery it will download recovery file...... and if that also dosent help then in application setting open clockwork and clear data and repeat that process again..... i was having same problem but it is solved...
[Blade General] venkin304:
dude,I think u didnt get my qstn,I am unable to restart my mobile..its always going into recovery.How can i download a recovery file when the phone is not booting at all??/
[Blade General] feherbalint:
Try to superuser.zip and flash it via cwm. If you accidently formatted your system then try to get a rom.Cheers