Gt i9505 mods - Galaxy S 4 Q&A, Help & Troubleshooting

Can anyone help me here, I have a surplus galaxy s4 gt i9505, it's basically a broken lcd phone which I want to use solely as a kodi media device. (Streaming from my my cloud and with whatever addons I choose to install into kodi). With an mhl v2 lead connected to my hdmi TV. I'm currently running lollipop 5.0.1 with a custom kernel (so I can draw more than 300ma of power to stop battery drain). Currently I have a constant supply of 700ma of power going to the phone and it's sufficient in keeping the battery at 100 percent while I use kodi. My question is, is there a rim I can flash that has no fone function whatsoever, I would only need maybe Google playstore and basic functions like WiFi Bluetooth etc. Just wanting a minamalistic Tom that's got no background tasks running so all the performance will be soley used for kodi. Obviously what ever tomorrow suggested must be able to support a custom kernel for fast charge over USB and support mhl. I know I'm asking a lot but any help or pointers in the right direction would expect a massive help. Thanks?

AOSP rom by the JDC team maybe. They have lollipop and marshmallow. Both have alucard kernel as default kernel. They are also minimalistic. The marshmallow version doesn't even have a sms app. Nor do they have file explorers.
Edit: Marshmallow roms might have bluetooth streaming issues at the moment. So that only leaves lollipop aosp.

rom
GDReaper said:
AOSP rom by the JDC team maybe. They have lollipop and marshmallow. Both have alucard kernel as default kernel. They are also minimalistic. The marshmallow version doesn't even have a sms app. Nor do they have file explorers.
Edit: Marshmallow roms might have bluetooth streaming issues at the moment. So that only leaves lollipop aosp.
Click to expand...
Click to collapse
Thanks for the advice,myonly question before i try it is do you know if this has usb debugging enabled by default ? the reason i ask is that with me not having a screen connected to the phone the only way i can get access to it is with vysor (chrome extenstion) so i can set it all up remotely over usb adb. thanks.

sconnyuk said:
Thanks for the advice,myonly question before i try it is do you know if this has usb debugging enabled by default ? the reason i ask is that with me not having a screen connected to the phone the only way i can get access to it is with vysor (chrome extenstion) so i can set it all up remotely over usb adb. thanks.
Click to expand...
Click to collapse
The marshmallow versions seem to have it enabled. Don't know about lollipop. But you could extract the zip and modify the build.prop to add the line to enable adb, then compress everything and hopefully it should work.

Mods
Thanks ks again for the advice will do as you advice, just 1 more question if you wouldn't mind answering. Does it support mhl ? Mhl v2.0 in my case as my TV doesn't support mhl powering so I have to use the charge mod in stweaks to change the USB charge amount to 1000ma, (which I get 700ma) but works fine. Thanks ks again.

This is a bit beyond me, sorry.
I don't have a compatible tv to stream to, so I don't know.

Related

[Q] externally powered wifi adapter via otg for Backtrack

Greetings! I've been lurking on XDA for quite some time, and first I would like to give a big thank you to all the developers. I would never have purchased a Kindle Fire if I didn't have faith in your ability to unlock the hardware's true potential. You guys/gals rock.
Here's my question: I develop and troubleshoot municipal and commercial wired/wireless networks and I would really like to be able to use the KF with backtrack. I understand that OTG support under ICS is very close to being a reality, would it be possible to support an external wifi adapter via OTG?
Drawing power is the first problem that comes to mind, so my thought is to mod a USB OTG adapter to draw from an external DC source instead of the KF.
This could have some awesome potential if it could work. I'm willing to do whatever I can to make this happen, so if one of you veteran developers could set me on the right track to backtrack it would be greatly appreciated.
I'm no wifi/kernel expert but as far as i have understood it:
It should be possible if you get the right wifi modules to work. Android uses a modified wpa_supplicant, so even if you have linux wifi drivers for usb you would need to patch them to get it running. The current kernel does not have mac80211/cfg80211 modules compiled it, but i think that you probably would need them (i think they are in the kernel source, they are just not set yet). The current module for the tiwlan is proprietary and is also uses some strange ibCustomWifi as wrapper around WEXT, not sure if they also did some changes there.
If the 3.0 kernel boots we should anyhow change to a mac80211 wifi driver and also use wpa_supplicant 0.8 instead of 0.6 so your chances should be a lot better with the 3.0 kernel.
So it strongly depends if your external wifi adapter is very well supported for linux (or better for Android ....) und if we get otg running. (There might be some hidden problems to discover).
Sengwall,
There are several threads in the xda forums for similar projects on different devices that might be useful as the steps are basically the same (assuming that somebody gets OTG working). Here's one of them:
http://forum.xda-developers.com/showthread.php?t=1484339
Thanks for the input...ill look and see if there has been success on other devices with the same board.... great suggestion.

[Q] S4 USB ethernet

All,
The last post I saw regarding this topic was back in May and I want to see if there have been any updates.
I want to get USB ethernet working with this device but it appears it is not supported. Is this true? Only on stock kernal? Are there modded kernals with USB ethernet support?
TIA,
AL
I think you have to go back to gingerbread if you want that feature.
No idea how difficult it would be to implement but I imagine it is too much work for little reward.

[Q] Audio over USB with Android 5.0

I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
kerb12 said:
I know there have been threads in the past about the Nexus 4 not being able to support outputting audio over USB, but now that stock Android 5.0 supports it, can the Nexus 4 do it?
I'm using the factory 5.0 images and I have an external DAC/amp that I want to use (Fiio e18) that's made for Android, but nothing seems to happen when I hook it up. I've read posts that the Nexus 4 physically can't output power over it's USB, which is fine because the DAC has it's own battery source... but can it at least output the audio?
I started with the stock kernel, but also tried the latest Franco kernel (r214) with no luck. Also, I verified the DAC itself works by using it with my laptop. I'm hoping there's just some hidden setting or patch I need to apply to get it to work... Has anyone else tried this yet?
Click to expand...
Click to collapse
pls report your findings if you can make it happened!!
i can not help you with your problem but it is something that interest me too. i only can suggest to use a more feature enabled kernel like unleashed or hells core
pls report your findings if you make it work mate!
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
kerb12 said:
That's a good idea... unfortunately no dice with the latest unleashed kernel either (98u). It claims it supports USB OTG, so I was hoping that would be enough, but maybe there's more that needs to be done.
Click to expand...
Click to collapse
one thing that you might not know. nexus 4 does support usb otg BUT cannot provide electricity via usb. you must use a y cable and provide external power so you it might not be possible to use your DAC!
Thanks, I did know that, but I figured that since my DAC is self-powered (it has its own battery) that I wouldn't need to do the y-cable trick.
Worth a try though, I'm going to order one and see if I can at least get regular USB OTG to work. Maybe once that's working it'll be easier to troubleshoot the audio.
Just wanted to update, I got the Y OTG cable so I could have external power at the same time... but still doesn't work. This is with stock 5.0.1 and unleashed 98u kernel. I went into Synapse and enabled the OTG setting as well. DAC doesn't get recognized, and I tried a few free apps that are supposed to do OTG checks, but they all came back that nothing is attached.
Usb otg is one thing and uab audio out is another. USB otg means that you can connect an USB stick or external hdd to your phone ( with or without external power) USB AUDIO OUT need special circuits from your internal Dac to the USB. If those are not implemented you will never have USB audio out. This is something witch depends on the manufacturer ( S4 mini with snapdragon 400 don't work with USB otg or USB audio out, htc mini 2 M8 works perfectly with fiio E18 as a audio surce for external DAC). So if you really need USB audio out please next time do your homework and read before buying a phone. P.S. Htc mini 2 M8 has the best audio ever and really you don't need an external dac. If you need more power just use your fiio as an amplifier with your phone.
Maybe you could find for your phone a apecial kernel modified for better audio experience. Flash that and use your headphones.
Good luck!
Thanks, yeah I don't need usb audio out... I've had the phone for over 2 years and I still really like it, so no plans on getting a new one just for this.
I believe it's physically possible to do audio out on the N4... I've seen random posts about people getting it to work, but they've all been on custom ROM's based on 4.4.x stuff. I'd really rather not try to reproduce that since 5.0 is running so much better on my phone, and I was just hoping with the new native Android support it might work out of the box. But alas, it looks like google locked down 5.0 on the N4 - even USB OTG storage doesn't work unless you put a custom kernel like unleashed on.
In the meantime, I've just been using it as a headphone amp like you suggest and it's a big improvement.

Galaxy S4 Modifications (GT I9505) UK model

Hello guys and girls, im wondering if there is anyone in the know of what i want to try and attempt. Firstly, i have an old Galaxy S4 i9505, it was my old contract mobile which was put in a draw and forgot about as the LCD smashed and i upgraded anyway. I recently went out and purchased an Amazon firestick for the sole use of KODI, and it works fine (i would like to auto boot straight to KODI or even do away with the amazon operating system all together but ill save that for a future post). My questions are..
1. I have currently got the S4 with the smashed screen rooted, on a custom Rom, (OMEGA v21.1) usb debugging enabled and with a nifty program called Vysor i can connect it to my laptop and browse through the phone and add/remove install what i like. I obviously need usb debugging enabled to see the phone through my laptop but cant see how i could install another rom without seeing the custom recovery on my pc (as it only lets me see and use the phone when its fully booted up) Id like to use this phone purely as a media device linked to my TV with an MHL v2.0 adapter (which i have and works fine with an exception).
So first question, is there anyway of installing a Tablet type rom onto this phone without seeing the recovery menu (doing it blind is out of the question as the touch is also broke) but the rom i install (preferably with gaaps with it) as i need no function of a mobile whatsoever, only wifi and bluetooth i guess, but id need it to have usb debugging automatically enabled or enabled in the rom i flash as id have no way to access the phone because of the screen. any help on this would be a great help.
Now onto my second question..
2. While MHL works fine and i can use KODI ok from my S4, there is a massive problem i need to overcome, the battery drains faster than the charge gives, my understanding is that while the S4 is connected to an MHL lead it will only draw 500ma of power as its recognised as an USB device. So my thoughts are: as a fully charged LI ION battery on the S4 is around 4.3 volts with amp drawing what the phone needs (actual phone rated at 3.8v so at a guess a supply of 3.3v-4.3v is perfectly fine, im wondering if a voltage drop device (from 5v to 3.8) soldered straight onto the battery pins on the phone would keep the phone going without any type of drain, as in it would power the phone inevetably while runnin kodi or whatever else i decide to run on it, ive scoured the net for info on my project but cant seem to get any info about it. i really appreciate any help whatsoever as im quite stuck at the moment. Thanks.
help
103 views and not 1 reply ?
someone must have an idea on a little help ?
please ?
sconnyuk said:
Hello guys and girls, im wondering if there is anyone in the know of what i want to try and attempt. Firstly, i have an old Galaxy S4 i9505, it was my old contract mobile which was put in a draw and forgot about as the LCD smashed and i upgraded anyway. I recently went out and purchased an Amazon firestick for the sole use of KODI, and it works fine (i would like to auto boot straight to KODI or even do away with the amazon operating system all together but ill save that for a future post). My questions are..
1. I have currently got the S4 with the smashed screen rooted, on a custom Rom, (OMEGA v21.1) usb debugging enabled and with a nifty program called Vysor i can connect it to my laptop and browse through the phone and add/remove install what i like. I obviously need usb debugging enabled to see the phone through my laptop but cant see how i could install another rom without seeing the custom recovery on my pc (as it only lets me see and use the phone when its fully booted up) Id like to use this phone purely as a media device linked to my TV with an MHL v2.0 adapter (which i have and works fine with an exception).
So first question, is there anyway of installing a Tablet type rom onto this phone without seeing the recovery menu (doing it blind is out of the question as the touch is also broke) but the rom i install (preferably with gaaps with it) as i need no function of a mobile whatsoever, only wifi and bluetooth i guess, but id need it to have usb debugging automatically enabled or enabled in the rom i flash as id have no way to access the phone because of the screen. any help on this would be a great help.
Now onto my second question..
2. While MHL works fine and i can use KODI ok from my S4, there is a massive problem i need to overcome, the battery drains faster than the charge gives, my understanding is that while the S4 is connected to an MHL lead it will only draw 500ma of power as its recognised as an USB device. So my thoughts are: as a fully charged LI ION battery on the S4 is around 4.3 volts with amp drawing what the phone needs (actual phone rated at 3.8v so at a guess a supply of 3.3v-4.3v is perfectly fine, im wondering if a voltage drop device (from 5v to 3.8) soldered straight onto the battery pins on the phone would keep the phone going without any type of drain, as in it would power the phone inevetably while runnin kodi or whatever else i decide to run on it, ive scoured the net for info on my project but cant seem to get any info about it. i really appreciate any help whatsoever as im quite stuck at the moment. Thanks.
Click to expand...
Click to collapse
1. I still don't understand why you want to flash a different rom. What will be the difference? There is to much risk imo. You will need a rom with usb debugging enabled by default and rsa security set off. Why not just find a different launcher that will suite your needs? But if you still want then make sure you have TWRP on your phone and use something to control TWRP from the playstore.
2. You need to find a kernel that supports usb fast charge. That will boost your charging to around 1000ma.
help
First thanks for the reply Lennyz1988, the only reason I wanted another rom flashed was is im in no way going to be using it as a phone, so would rather have a rom that is very light and very light on battery (as in background proceses). As for a custom kernel would that have to be also flashed through recovery ? As I've not flashed custom kernels im not sure on how to go about it, will any custom kernel work ? Sorry for the questions but is there any chance you can point.me in the direction of 1 I'd need ? Thanks.

[Q] Charging in USB-C OTG-host mode

Hi guys,
I am using a pass through-powered USB-C hub through which I am using external USB devices (keyboard and mouse), as well as a larger monitor for screen mirroring. This works reasonably well. However, the USB-C hub, while powering the external devices, does not charge the phone while it is in OTG host mode (which is needs to be in order for the external devices to work). This leads to the problem that the phone is slowly draining when external devices are used to play games, work on spreadsheets, or whatever. So, I was wondering why this is and found that OTG host mode charging seems to be restricted by the kernel. Very annoying!
Looking around I found that there are custom kernels for other phones that tackle this problem (examples here (OnePlus One) or here (for Xperia Z5 compact)). Which leads me tot he question: is there any known solution for this problem for the OnePlus5? Is there a custom kernel supporting charging in OTG host mode? Is there any other work-around that would allow me to power my device while using OTG?
Thanks!
PS: My device is rooted but is otherwise running on stock kernel and ROM.
Froschface said:
Hi guys,
I am using a pass through-powered USB-C hub through which I am using external USB devices (keyboard and mouse), as well as a larger monitor for screen mirroring. This works reasonably well. However, the USB-C hub, while powering the external devices, does not charge the phone while it is in OTG host mode (which is needs to be in order for the external devices to work). This leads to the problem that the phone is slowly draining when external devices are used to play games, work on spreadsheets, or whatever. So, I was wondering why this is and found that OTG host mode charging seems to be restricted by the kernel. Very annoying!
Looking around I found that there are custom kernels for other phones that tackle this problem (examples here (OnePlus One) or here (for Xperia Z5 compact)). Which leads me tot he question: is there any known solution for this problem for the OnePlus5? Is there a custom kernel supporting charging in OTG host mode? Is there any other work-around that would allow me to power my device while using OTG?
Thanks!
PS: My device is rooted but is otherwise running on stock kernel and ROM.
Click to expand...
Click to collapse
Nope and it won't, I have a thread in the themes and apps section about targus display docks as after much research I found that it is the only way to reliably mirror your screen in real time with no latency issues, with that being said there is no charging whilst this is in use, I wish there was but there isn't.
It's possible I suppose that power could flow both ways but after all the time that I've spent looking, I'm yet to find it.
I've tried over 10 docks, splitters, dual output cables. Devices with power input, none have charged the device.
I think the nature of the way display link works it just doesn't allow it.
dladz said:
Nope and it won't, I have a thread in the themes and apps section about targus display docks as after much research I found that it is the only way to reliably mirror your screen in real time with no latency issues, with that being said there is no charging whilst this is in use, I wish there was but there isn't.
Click to expand...
Click to collapse
Yeah, I saw your thread. In fact, I was just about to post in there another - much cheaper - device I'm using for reliable mirroring.
Edit: actually I posted it in the 'usb-c to HDMI adapter'-thread, in which you were also quite active.
dladz said:
It's possible I suppose that power could flow both ways but after all the time that I've spent looking, I'm yet to find it.
I've tried over 10 docks, splitters, dual output cables. Devices with power input, none have charged the device.
I think the nature of the way display link works it just doesn't allow it.
Click to expand...
Click to collapse
Yeah, it is definitely possible (see the threads I've linked). But it depends the kernel allowing it, from what I understand. Anyways, if nobody has come up with a kernel allowing for it, then it won't happen I guess.
Froschface said:
Yeah, I saw your thread. In fact, I was just about to post in there another - much cheaper - device I'm using for reliable mirroring.
Edit: actually I posted it in the 'usb-c to HDMI adapter'-thread, in which you were also quite active.
Yeah, it is definitely possible (see the threads I've linked). But it depends the kernel allowing it, from what I understand. Anyways, if nobody has come up with a kernel allowing for it, then it won't happen I guess.
Click to expand...
Click to collapse
With displaylink technology it's not possible.. with previous hardware ie the HTC 10 it was but only with standard usb to hdmi converters, displaylink doesn't allow it.
In regards to usb OTG cables, I've never tried.
dladz said:
With displaylink technology it's not possible.. with previous hardware ie the HTC 10 it was but only with standard usb to hdmi converters, displaylink doesn't allow it.
In regards to usb OTG cables, I've never tried.
Click to expand...
Click to collapse
Oh.. so then there is a second limitation based on DisplayLink. Aside of the kernel.
Well. Luckily the OP5 has great battery life. A few hours of activity is no problem. Especially since I run everything through a USB-hub with its own power source anyway.
Froschface said:
Oh.. so then there is a second limitation based on DisplayLink. Aside of the kernel.
Well. Luckily the OP5 has great battery life. A few hours of activity is no problem. Especially since I run everything through a USB-hub with its own power source anyway.
Click to expand...
Click to collapse
From my tests I've found the hub being powered makes no difference to the drain of the battery on the phone..
The OnePlus has got amazing battery life, definitely something I need in my life for my next device..
In regards to charging whilst using a displaylink honestly my comment is based on the testing of around 20 different devices and none of them allow charging, if it exists I personally haven't come across it.
A shame but not the end of the world..
Lava - Simulcharge
For what it's worth, I had a difficult time finding a device which supports simultaneous host charging as well. As it turns out, there is a device called the Simulcharge from Lava Computer that works quite well on Samsung tablets. I'm not sure if it will work with other Android devices: (unable to post link - search amazon).
It's a bit expensive but it works great!
Is there a cheap displaylink that works with the OP5 that also has a USB port for peripherals?
Sorry to revive this thread from the dead, but I'm also looking for a way to connect both charger + USB-OTG at the same time. I have a USB C hub that's capable of that, it works perfectly fine on my Oneplus 7. However on the OP5 it's either OTG or charging.
Did you ever found a way?
XlAfbk said:
Sorry to revive this thread from the dead, but I'm also looking for a way to connect both charger + USB-OTG at the same time. I have a USB C hub that's capable of that, it works perfectly fine on my Oneplus 7. However on the OP5 it's either OTG or charging.
Did you ever found a way?
Click to expand...
Click to collapse
Hi ! I have a custom app specifically developped for OP6 and have the issue you have on OP5 : otg OR charching. I have seen Krieg Kernel enables it on OP5. Have you tried it ?
I'm looking for some Kernel for OP6 but nothing seems to answer my need....
romanarteefact said:
Hi ! I have a custom app specifically developped for OP6 and have the issue you have on OP5 : otg OR charching. I have seen Krieg Kernel enables it on OP5. Have you tried it ?
I'm looking for some Kernel for OP6 but nothing seems to answer my need....
Click to expand...
Click to collapse
Hi! I am looking for exactly the same thing for OP6. Hope there's something now
Froschface said:
Hi guys,
I am using a pass through-powered USB-C hub through which I am using external USB devices (keyboard and mouse), as well as a larger monitor for screen mirroring. This works reasonably well. However, the USB-C hub, while powering the external devices, does not charge the phone while it is in OTG host mode (which is needs to be in order for the external devices to work). This leads to the problem that the phone is slowly draining when external devices are used to play games, work on spreadsheets, or whatever. So, I was wondering why this is and found that OTG host mode charging seems to be restricted by the kernel. Very annoying!
Looking around I found that there are custom kernels for other phones that tackle this problem (examples here (OnePlus One) or here (for Xperia Z5 compact)). Which leads me tot he question: is there any known solution for this problem for the OnePlus5? Is there a custom kernel supporting charging in OTG host mode? Is there any other work-around that would allow me to power my device while using OTG?
Thanks!
PS: My device is rooted but is otherwise running on stock kernel and ROM.
Click to expand...
Click to collapse
Did you ever find a solution to OTG plus charge, perhaps via a different ROM? Thanks.

Categories

Resources