Adding charger over OTG to a kernel - Android Q&A, Help & Troubleshooting

Hi,
As the title suggests, I am looking to add the ability to charge my device at the same time as using USB OTG. The device in question is a Samsung Galaxy Tab 4 7.0 LTE (SM-T235).
Let me start by saying this is my first step into android development, so I'm currently just Googling everything and attempting to follow some guides I found, but I'm still unable to work out which files I need to edit before compiling.
I have downloaded the latest kernel sources from the Samsung development website, extracted them and downloaded toolchain, as per THIS guide.
I have then been attempting to copy the process used HERE to enable the feature, but as that applied to the OPO, I assume the process is slightly different for the Galaxy Tab. I've searched for all the files that contain OTG and there's a lot of them, I can't work out what I need to edit. See screenshot:
{
"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"
}
(For some reason I have tried 3 different image hosts and it isn't showing up so screenshot has been attached as well.
I have uploaded the contents of the drivers/usb folder from the kernel sources at the following like:
https://drive.google.com/open?id=0B9o8Fezf-53KY0dKUlhZc2VmNGc
If anyone has the time and knowledge to have a look at this and help me out, it would be greatly appreciated.
Thanks,

I would like to use my Tab 4 as usb host too. Does OTG without charging work with your SM-T235, @crumble6 ? If yes, maybe this supply would work.

Related

[Solved] SDK issue

First, I wasn't quite sure where I should put this, so if theres a better forum for it, please move it.
I feel like a real idiot right now, but nonetheless I'm having issues getting Eclipse 3.5.2 and the Android SDK to work (on Mac OS X).
I got as far as installing the ADT plugin and then once I got to "showing" Eclipse where the Android SDK was located I failed miserably. Every time I navigate to the folder and hit open and then apply nothing happens, it just stays at the "default" no SDK(s) screen. Bit hard to explain, so I took a screenshot.
{
"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"
}
So if anyone knows how to get that to work, it would be really appreciated. Maybe I screwed up something really obvious, that would be just my luck.
Umm, have you downloaded all the developer tools in the SDK? Launch the android binary in the /tools/ folder and look for available packages and install them all, or the ones you'll be using at least.
GrdLock said:
Umm, have you downloaded all the developer tools in the SDK? Launch the android binary in the /tools/ folder and look for available packages and install them all, or the ones you'll be using at least.
Click to expand...
Click to collapse
Wasn't sure if that would work, I'll give it a try and let you know.
Hooray that worked.
Thanks a ton GrdLock.

Tv friendly launcher?

So i got a MK802 android 4.0 USB stick and have it set up on my bedroom tv.
I can choose and tweak, to use a setup with Android settings as a big phone a regular phone or a tablet. But i was hoping that there was something like a TV launcher. I have found a project on github (see link below) but have no idea if it will work on 4.0 or even if it is what i am looking for.
I was hoping someone knew of a tv friendly launcher.
For example i really like the look of something like this:
http://www.youtube.com/watch?v=ZwpgPP0ncAo&feature
It would be way more useful for my purpose, than the standard android os.
{
"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"
}
I have not seen it yet, but maybe someone could help me by compiling an APK from this:
https://github.com/rharter/Android-TV-Launcher
As far as i can tell from reading,it seems to be somewhat what i am looking for.
Don't take this the wrong way but did you explore the github page you linked to?
There is a compiled version in its bin files section with the word debug in the filename and it does work. At least on gb as I just installed and checked before replying.
It simply shows every app on the device but in one easy to navigate strip across middle of the screen but download it and see if it is what you need
Dave
( http://www.google.com/producer/editions/CAownKXmAQ/bigfatuniverse )
Sent from my LG P920 using Tapatalk 2
Oh my thats embarrasing. But thanks.
I wrote the developer but he sadly gave up on the project. I would love to just to be able to select which apps that shows up in the launcher. Thqt should be a small adition to add an app drawer and a selction of which apps to appear in the launcher. Oh well.. My search continues. I just don't have any idea where to go from here

[Q] Zync Z930 Realtek WiFi Driver and battery help.

After a long wait, I have disassembled my Z930 Tab. I am attaching the pictures.
{
"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"
}
I found that my WiFi chip is from RealTek (8188CTV or 8188CIV, Can't make out the model name, too small) whereas my tab has some HTC port rom which has the driver for Broadcom's chipset. I found the driver, its RTL8188CUS. But I don't know how to compile it for Android. Please help me to uninstall Broadcomm's driver and install RealTek's. My custom ROM is running on JB
Thank You
Any progress with fixing the battery life/ wifi driver ?
There are drivers for 8188CUS in realtek site which are till android 4.0. I am not sure but the same can work for android 4.1 too
http://www.realtek.com.tw/DOWNLOADS...n=4&DownTypeID=3&GetDown=false&Downloads=true
jaydeepkhalpada said:
Any progress with fixing the battery life/ wifi driver ?
There are drivers for 8188CUS in realtek site which are till android 4.0. I am not sure but the same can work for android 4.1 too
http://www.realtek.com.tw/DOWNLOADS...n=4&DownTypeID=3&GetDown=false&Downloads=true
Click to expand...
Click to collapse
Nop ... guess just leave the tab. It was such a waste of money ... RealTek provides the uncompiled version of its driver. Lot of things to configure to compile it. And You need to make a custom ROM to install it too. I wasn;t able to find a method to install / uninstall drivers from Android.

[Q] Basic(?) rom modding? Please do read...

Hello! I'd like to ask the community about something I've been interested doing as a project for a phone I plan on buying, I've looked around and I see lots of tutorials, but they don't quite meet the very specific criteria.
My problem is that I want to buy the "Umi C1" (click click for more info o: ) and the UI on the Stock ROM is awful.
I've looked around and there's apparently a way to modify ROMs using another phone's ROM files.
I was thinking of using the "HDC ONE M8's"(fake HTC one m8) ROM files and transferring them over to the C1's ROM file. (Both phones run the MTK6582 SOC, both have 1GB of RAM, Both have 16GB of storage, both run 1280x720P panels...)
Is this in anyway possible? Both roms are Odexed. (new to this, looked around on how to deodex roms and found a tutorial but I'm not sure how things will go first.)
From This:
{
"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"
}
To this:
-Mike
Hello!
You can't move the whole content of a ROM made for a specific model, to another ROM made specific for a different model.
The reason for this is because the ROM also contains native libraries (drivers) that are specific to the hardware of the phone, and are not specific to the Android base code.
In other words, you would need to port the UI and framework only, not simply move all the files and even this is not very straightforward unfortunately. If you only want some minor (or major) changes of the home screen and application menu, then there are plenty of third party launchers on the market that should do the trick for you.
I hope this helped you.
Regards, Christopher

New Phone - Mysterious Files in Download Folder

Hi everyone, I just got a new XZ1 today (purchased from recommended Sony retailer as new), but I noticed some unknown files in the downloads folder I'm worried about, has anybody else noticed these or know what they are?
File list:
rce_plugin_string_resource_pt_BR.json.min
rce_plugin_string_resource_fr_FR.json.min
rce_plugin_string_resource_de_DE.json.min
rce_plugin_string_resource_en_US.test.json.min
rce_plugin_string_resource_it_IT.json.min
rce_plugin_string_resource_es_ES.json.min
rce_plugin_string_resource_cz_CZ.json.min
rce_plugin_string_resource_ja_JP.json.min
rce_plugin_string_resource_v2_TYPO_TEST.json.min
rce_plugin_string_resource_zh_CN.json.min
rce_plugin_string_resource_nl_NL.json.min
CS_JIT_Animation.mp4
jit_cs_positive_preview.png
Opening one of the files in VSCode, this is what the file looks like:
{
"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"
}
I'm worried about "rce" since that seems eerily close to remote code execution.
Any advice very much appreciated.
I just found the exact same files in the download directory of an old Verizon Ellipsis tablet I just reset and renewed a few days ago. It is running 5.1.1 Lollipop
Did you find any info on this? Thx!
Bump! Found this on a phone that was purchased/reset a few days ago. BB Key2 on android 8.1.0
Files only show up when i insert a USB drive and open the file copy android native UI. Does not show up on ghostcommander unless i move the files to a new directory (but then stupid android UI deletes and recreates the file, losing all original metadata such as permission, owner etc... and the useless android UI where i can see/copy the files, do not show permission/owner)

Categories

Resources