yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Christopher83:
It's not wifi related, the cause should be another (app problem or something new added on stock and custom kernel), I'll investigate and I'll surely pm you, because I need your support...
[Galaxy S Plus I9001 Android Development] jcah73:
Battery drain is fantastic. thanks christopher.
[Galaxy S Plus I9001 Android Development] herath:
I already tried OTG helper. My pen is fat32 but i can not seem to find the dev path for the pen. Seems like they do not get created since the configuration stops abruptly. However, i can remember that devpath or some parameter going by a name with dev in it in sysfs have 189:1 or 189.1 as the value.

The problem is, i get the pop up when i plugin the pen since i have the stickmount too installed. But nothing mounts the pen. Otg helper says that no drives are founf. And stickmount shows nothing.

Sysfs values

dev 189:1

devpath 1
[Galaxy S Plus I9001 Android Development] Christopher83:
I'm sorry... If you can, please try with another pen drive, because Smeroni has tested with two different pen drives and they worked.

I ordered today an OTG cable, so I will be able to better debug this stuff...
[Galaxy S Plus I9001 Android Development] silverTwins:
I have the same problem as klarkkent but I am facing the same with mobile data as well.. please let me know if I can help. this problem was there in beta 1 too.. the only way I can get internet working is to do a reboot again
[Galaxy S Plus I9001 Android Development] smeroni68:
Otg helper mount the pendrive under /storage/UsbOtgDrives/Drive_1... Have you checked there?

The app give error but drive is mounted...

Unfortunately the Unmount do not work...

Inviato dal mio GT-I9001 utilizzando Tapatalk
[Galaxy S Plus I9001 Android Development] klarkent:
Hi I didn't specified that my connection is perfectly working. The only problem are notifications. Never had to reboot to get internet working.
[Galaxy S Plus I9001 Android Development] herath:
Thanks for the reply. I can see the UsbOtgDrives folder but it is empty even after i press mount button several times. I will check again. I was thinking of the possibility of kernel disabling the device if it does not know about the external power applied to the usb device. There are no new drives mounted if i check using the mount command. And the pen is powered using the charger. Tried the usb power too. Pen active power consumption is less than 100mA according to the specs.

Edit

I issued this command as root.

echo 1 > /sys/bus/usb/devices/1-1/bConfigurationValue

Then i was able to mount sd using otg helper. The block device file for the pen is sda1.

Thanks.
[Galaxy S Plus I9001 Android Development] herath:
More about OTG

Using a USB Hub also works. It is a powered hub and reports to the PC as self powered(As I saw on the device manager ). And I do not need to set bConfigurationValue to 1 anymore. But can not read the AVI file I have on the disk on any case. I will try to do ADB over network and see.

When connected android automatically mounts the pen at /mnt/media_rw/usbdisk . However, the fat32 file system shows permission like a linux file system. There is a mp3 file. The permissions are "-r-xr-x---". Can not play the file. I could copy it to the internal memory and then play it. Can not play right off the pen drive.

Thanks.
[Galaxy S Plus I9001 Android Development] Marshian:
On a Linux system, file system permissions are always translated to the Linux equivalent. That's normal, -r-xr-x--- means the owner and group have read and execute permissions. Strange how you can't play it directly from the pen drive though (you do have read access, also acknowledged by the fact you could copy it from the drive). What happens when you try to play it from the pen drive?

Off the top of my head (I'm a Linux guy), maybe the file's name couldn't be handled by the application for some reason (some badly written applications can do that).
[Galaxy S Plus I9001 Android Development] herath:
Every player installed(stock video player, MX player, VLC) only say "Can't play video". In log there is AVException caught. error=-13 . I could open small text files on the pen without any problem. I will see a bit more.

Thanks.
[Galaxy S Plus I9001 Android Development] Marshian:
Assuming the default Linux codes, -13 is an EACCESS (aka: Access Denied).

Either the player's process is not running as a user who has access to that resource or something else caused it to fail. Did you copy the file using your phone (as in, did you use an application on your phone to copy the file from the external drive to your phone)?

If that is the case, I'm guessing it's the second option.

I vividly remember the one time I had an issue like this and an hour of debugging it turned out to be SELinux... Could you take a look at the file /data/misc/audit/audit.log? I'm probably wrong but it's still worth a look :)
[Galaxy S Plus I9001 Android Development] herath:
Hi. Thanks for the explanation. Here is the audit log. I will try to look for a clue.

I copied the files to the pen drive using the PC and tried to play it on phone. I am using solid explorer. Seems like solid explorer is using root permission to copy the file to the internal drive. Then I can play the file.
[Galaxy S Plus I9001 Android Development] Blumdum:
im also facing this problem from time to time
[Galaxy S Plus I9001 Android Development] Marshian:
There are some interesting things in that log, but from what you're saying I doubt SELinux is the cause after all.

If Solid Explorer uses root privileges to copy the file, that probably means your user account does not have access to said file. Therefore your non-root video players don't get access and the video can't be played. You could try to change the permissions of the file (might be you also need to change the permissions for the directories in which it sits) so "anyone" can "read" the file.

That's not really a decent fix, the default permissions should be set differently when you're mounting a volume. I don't really know how to do that though (only on a normal Linux) so maybe somebody else can help you with this. Good luck!
[Galaxy S Plus I9001 Android Development] herath:
OTG Mass Storage working.

It really is a permission issue. I connected the pen while watching the log. Permission gets denied to the /mnt/media_rw/usbdisk by the processes like media scanner etc. There are only permission set for root (drwx------) for the /mnt/media_rw/usbdisk folder (changed it but it did not fix the problem). Even otg helper does not mount it properly. I manually mounted it on a folder that I created in the internal memory. And now i can play the file directly from the pen. I can manipulate files on the pen drive. :laugh:

The strangest thing is that even the android Settings->storage does not show the size of the pen. It is zero ("0.00").
[Galaxy S Plus I9001 Android Development] ze7zez:
usb otg

Mounting my 32GB memory stick to my Chinese tablet with android 4.1.1 is done automatically when plugging in USB OTG socket. Here for i9001 in ION KK + K^Kernel completely for me nothing works. Even pendrive is not getting power as evidenced by the lack of light from the LED.

.

Please, if someone who was able to automatically mount the memory stick, could you describe your hardware configuration and software?

.

Adding a description of the proceedings would also be welcome.

.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Hi

Do you use a Powered USB Hub or a Y-Cable to get power to the usb device? The I9001 has hardware limitations. It is simply not possible to get power to the usb device via its usb connector.

Gz

X

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sir mordred:
maybe there can be no hardware limitation, ariesve has smb328a charger chipset?? if yes look this thread http://xdaforums.com/showthread.php?t=2517011
[Galaxy S Plus I9001 Android Development] JFK1997:
Hey Christopher,

I always used your K^Kernel since i flashed my S+ first time (in the ExUV Version), first with 390MB, after the introducing of ION with 370MB.

Last weekend, i updated my mobile to 4.4 with Erik's carbon Rom. But with the ExUV version, i got the problem that the cpu gets stuck at highest frequency every second or third time i lock the screen. With the UV Version i don't have this problem. What is causing this, i was always able to use the ExUV Version and never got any problems, i would be happy if i could still use it because my device stays cooler :confused:
[Galaxy S Plus I9001 Android Development] Waalban:
With the more optimize drives the phone reach it's hardware limitations, so lower max. frequency or use UV version.
[Galaxy S Plus I9001 Android Development] JFK1997:
This bug also appears when i don't OC the CPU / UC it... :confused:
[Galaxy S Plus I9001 Android Development] ze7zez:
usb otg - for me nothing works

Perhaps I did not make myself clear writing that USB OTG "completely for me nothing works".

.

I simply plug in a memory stick to the USB hub Unitek Y-3171, and then plug the USB cable type A to USB OTG cable outlet.

.

i9001 at all it does not react.

.

I checked the electrical conductivity of the plug and the socket of my cable USB OTG.

This is certainly a cable for USB OTG.

.

Usb slot in my i9001 no problem allows me to exchange data with a PC.

.

Please, if someone who was able to automatically mount the memory stick, could you describe your hardware configuration and software?

.

Adding a description of the proceedings would also be welcome.

.

My configuration of the i9001 is as follows:
[Galaxy S Plus I9001 Android Development] Christopher83:
If the hub provides the power for your usb pen drive, it should be ok.

We tested with a cable like the following with a usb to micro usb adaptor connected to one of the male connectors, the pen drive inserted inside female usb connector and the other male connector used as additional power supply provided by a pc USB port:

With the next release the automount to /usbdisk will be solved (there should be no more need to use external apps to perform mount).

In the meanwhile please check with the following kernel:

K^Kernel_KK-4.4_3.4_20140106_Linaro-4.8.3_OC_EXUV_370MB_Ion_Pmem_Adsp_OTG_Fix
[Galaxy S Plus I9001 Android Development] herath:
Thanks for the kernel. Pen drive is automatically mounted at /storage/usbdisk now. And the files are accessible without anymore work. But still I need to use the powered hub to get around having to set bConfigurationValue to 1
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Do you really think we havent checked if this would work?

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sir mordred:
That was just suggestion mate thats all
[Galaxy S Plus I9001 Android Development] evemir:
did anyone manage do get xperia z walkman app working on this rom/kernel? im getting FC. I did everything like in guide. Deleted dsp, dspsomething.lib, flashed build.prop tweak and than app. At last I wiped cache and dalvik.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
That was not inrended to be rude. Im sorry. Our device has the IC, yes. But for some reason samsung made it impossible to use it for 5V USB Output.

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sv2hqx:
after 4 times freezing phone in viber and in swipe keyboard (didnt get a log catt ,hope will hapen again to get one) got this
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Holy sh*t.

I have never seen that before. How did your phone get into ramdump mode?

Gz

X

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] sv2hqx:
talked (write) with viber

used swipe

while typing phone freezes

if i let phone alone turns of

if i press power to make it faster phone boot in this mode

long hold to boot again

i tried for log but ksmg is empty

may its keyboard bug
[Galaxy S Plus I9001 Android Development] Liiich:
Hi Christopher,

i installed this kernel (v1.1, 370MB exUV) with ADC-Team CM11 beta2 and i've an issue with deep sleep. I notice that sometimes the device doesn't go in deep sleep but works at 245mhz. Infact yesterday the battery was discharged in 12h... I used only 2/3G and wifi.

I resolved with fix permissions but how i can check which process didn't permit at device to go in deep sleep?

thanks in advance
[Galaxy S Plus I9001 Android Development] Christopher83:
You should check with one of the battery diagnostics apps you may find here on xda or on the PlayStore, like BetterBatteryStats or GSam Battery Monitor.
[Galaxy S Plus I9001 Android Development] Liiich:
After 2h without use of device i've got this...

Inviato dal mio GT-I9001 utilizzando Tapatalk
[Galaxy S Plus I9001 Android Development] Christopher83:
Which is the complete name of the entry Combined App...? This is causing a huge wakelock (2hours)
[Galaxy S Plus I9001 Android Development] Liiich:
the complete name is "PowerManagerService".

this is the details of "Kernel (Android OS)" which has 2h 21m 33s of wakelock time:

GSam Labs - Battery Monitor - Esporta Dati

Kernel (Android OS)

10/gen/2014 16:42:40

Dettagli utilizzo

Uso CPU:1m 13s

Uso CPU (in Background):1m 13s

Durata Wakelock:2h 21m 33s

Bytes Inviati:44,88 KB

Bytes Ricevuti:45,62 KB

UID Applicazione:0

Dettagli Wakelock

Pacchetti coinvolti

Processi coinvolti

irq/212-melfas_

acdb_cb_thread

irq/246-proximi

/init

ksoftirqd/0

vold

irq/79-msmdatam

kworker/u:4

kworker/u:3

mmcqd/1

kthreadd

mmcqd/2

netd

kworker/0:0

kworker/u:0

kworker/0:1

kworker/u:2

kworker/0:2

kworker/u:1

kworker/0:3

ksmd

bdi-default

zygote

flush-0:21

debuggerd

flush-179:0

flush-0:20

rcu_kthread

khsclntd

sh

healthd

dhd_sysioc

ueventd

irq/179-keypad_

flush-179:32

jbd2/mmcblk0p16

jbd2/mmcblk0p17

wl_event_handle

dhd_watchdog_th

klightsensorcln

kswapd0

sync_supers

dhd_dpc
[Galaxy S Plus I9001 Android Development] Ringgss:
I had that wakelock too, when I used GPS. Had to reboot before it would end the wakelock. It consumed my battery from 95 - 30 % in 5 hours. I noticed it becouse my phone got really warm in my pocket.
[Galaxy S Plus I9001 Android Development] JFK1997:
Also got the Powermanager Wakelock without using anything?!?

I answered a chat, after an hour i realised i lost battery and tested with cpu spy - stuck at 192 mhz.

Edit: Just googled, found out that powermanager is a "summary" for all wakelocks set by non-system applications, but i already did a reboot, so i just can wait for it to happen again and then i can look for the app which caused the problems...
[Galaxy S Plus I9001 Android Development] sv2hqx:
i have some freezes while typing with swipe

k^kernel 378mb

should i try 370?

any advise
[Galaxy S Plus I9001 Android Development] Christopher83:
Thanks, there's no error messages related to your issue inside the log, it's a keyboard app/rom failure.
[Galaxy S Plus I9001 Android Development] ahmed dzico:
Thanxxx [MENTION=4825437]Christopher83[/MENTION] you are amazing Developer :good:
[Galaxy S Plus I9001 Android Development] JohnKersten:
Christopher I flashed version 1.2 370Mb OCUV, but I can not change Zram settings.
[Galaxy S Plus I9001 Android Development] Ahasvero:
zRam active by default (no more selectable/adjustable in settings -> performance... Only by init.d script)
[Galaxy S Plus I9001 Android Development] Christopher83:
As we wrote inside the rom release post:

This, because CM team removed zRAM settings from Performance Settings menu, now it's natively supported and enabled at boot time, it can be changed via init.d script (more info about this customization will follow in the next days)
[Galaxy S Plus I9001 Android Development] gemtin92:
I have never write here on xda alot but this time I just have to. Since January im a i9305 user and now my i9001 belongs to my girlfrend but I update her phone always to your latest kernel and rom (currently Im downloading for her 4.4.2 beta 3 and your kernel). I never said thanks for your great support but now when I see i9305 community and I can compare it with i9001 community I have to say:

THANK YOU

.

You are the greatest community I have ever seen! Really, Samsung should see this. Big updates every week, latest android and kernels, its just impossible what are you doing here.

:good::good::good::good::good::good:
[Galaxy S Plus I9001 Android Development] smitharro:
I can only agree with you! It's great to have the latest and the greatest on this 'old' phone!
[Galaxy S Plus I9001 Android Development] boombastick:
Hi Chris, is your v1.2 kernel strictly only for beta 3 based roms? can I use v1.2 with beta 2 based (carbon rom)?
[Galaxy S Plus I9001 Android Development] Christopher83:
I think so, maybe before installing it remove the setting for zram, if you have set it.
[Galaxy S Plus I9001 Android Development] klarkent:
Hi I'm using latest kernel with 370mb and exuv without overclok and I'm experiencing some graphical glitches. Could this be related to exuv?
[Galaxy S Plus I9001 Android Development] ktulu84:
what type of glitches? when and where do you experience that?
[Galaxy S Plus I9001 Android Development] klarkent:
The screen is about apex launcher. Uninstalled it and using gel launcher and I had once the apps names rounded in black for few seconds. Then I rebooted and it isn't happening anymore.

With apex I was using overclock but when the glitch happened I downclocked to normal frequency but after it happened again so I uninstalled it as said above...
[Galaxy S Plus I9001 Android Development] okidokiss:
I see that sometimes, also. I don't need to reboot, just wait a while ou start/stop some apps. It's a little anoying :p

I think it's since beta2
[Galaxy S Plus I9001 Android Development] t5s:
With beta2 and Apex launcher I also had some graphics glitches. After switching to Holo launcher everything is fine.
[Galaxy S Plus I9001 Android Development] Liiich:
I've found the cause of wakelock.. Google now.. He asked often my position also if setting of geo localization was off.

I disabled google now and now (ahaha) phone go into deep sleep normally!

Inviato dal mio GT-I9001 utilizzando Tapatalk
[Galaxy S Plus I9001 Android Development] przemekamag:
Few minut ago my phone reboot itself, without touching anything. Log in attached
[Galaxy S Plus I9001 Android Development] JohnKersten:
Camera crashes on K^Kernel 3.4.77 v1.2 378Mb

DELETE
[Galaxy S Plus I9001 Android Development] KorhanKurt:
install 370 mb again and open camera settings video choose 480 p and install 378 mb again :)
[Galaxy S Plus I9001 Android Development] JohnKersten:
thanx that was the trick.
[Galaxy S Plus I9001 Android Development] JFK1997:
Thank you for the information but i don't use google now. But since the two updates (rom + kernel) my problem has gone :D

BTW: Google now needs wakelocks, when i have activated it i get 65 % deepsleep without gnow 95 % (display off).

But the problem i had was that the cpu got completly stuck at 192 mhz, 0% deepsleep
[Galaxy S Plus I9001 Android Development] TwinHeadedEagle:
Video recording won't work with 378exuv kernel. I get camera has stopped message...
[Galaxy S Plus I9001 Android Development] käsebr0t:
Install 370MB version, switch video recording to 480p, install 378MB version, it works ;)

Gesendet von meinem GT-I9001 mit Tapatalk
[Galaxy S Plus I9001 Android Development] DreamerTKM:
And I guess you forgot to lower down the recording resolution to 480P?
[Galaxy S Plus I9001 Android Development] TwinHeadedEagle:
Yes, I forgot, and now I cannot change it. I get FC as soon as I open it...
[Galaxy S Plus I9001 Android Development] oiseau:
Look 2 or 6 posts bevore...

Gesendet von meinem GT-I9001 mit Tapatalk
[Galaxy S Plus I9001 Android Development] käsebr0t:
This question has been answered two times within ten posts, so please READ!

Gesendet von meinem GT-I9001 mit Tapatalk
[Galaxy S Plus I9001 Android Development] ktulu84:
flash 370, change it and reboot
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel 3.4 v1.3 for KK 4.4 ION+PMEM ADSP

Hi guys,

I released the new v1.3 kernel builds ready to be used on latest ADC Team CM 11.0 Beta 4:

- Kernel 3.4.77
- Sources synched with cm-11.0_ion_pmem_adsp repo branch of DevCon Team
- Built with my latest custom Linaro 4.8.3-2014.01 toolchain optimized for Cortex-A8
- sensors_ariesve: gp2a_proximity: Fix unbalanced enable for proximity IRQ (credits to Christopher83)
- misc: bln: New implementation and changes for BLNv10 (credits to Christopher83)

About BLN

I implemented new features and applied various changes to better manage existent features and provide additional in-kernel features:

Add in-kernel management of notifications with static lights

Possibility to set separate intervals for blink ON and OFF transitions

Possibility to set or not set static lights after the timeout of blinking lights

Better timeout management for in-kernel blinking lights

Use a dedicated workqueue for scheduled works for blinking and static lights

Turn the lights off after system resume if a notification is ongoing

Remove duplicated calls to wakelock routines

Free up the reserved space when the module is removed

Some code cleanup, comments, copyright updates and other minor changes

You can find more details by looking at the commit on my repo:

misc: bln: New implementation and changes for BLNv10​

If you installed the new CM 11.0 Beta 4, you'll also have an updated AriesParts (Advanced Settings) where you can find the new implementations to control BLNv10 features, so you can avoid to use external apps (eg. BLN Control) and simply set your preferred backlight notification settings inside BLN tab of AriesParts.

You can find more details by looking at the related commit on device repo:

AriesParts: Support for BLN settings​
[Galaxy S Plus I9001 Android Development] DreamerTKM:
A built in BLN...awesome Christopher :good::good:
[Galaxy S Plus I9001 Android Development] JohnKersten:
Super. Just installed this kernel with beta4.BNL is working.

Awesome Christopher.
[Galaxy S Plus I9001 Android Development] okidokiss:
Christopher, ADC as removed PMEM from the ROM tittle, isn't the same for kernel?
[Galaxy S Plus I9001 Android Development] Christopher83:
Both rom stock kernel and this custom kernel have hybrid memory reservations (ION for almost everything and PMEM ADSP for closed sources camera libs). The title is only a bit more detailed...

Sent from my GT-I9001 with Tapatalk 4
[Galaxy S Plus I9001 Android Development] -Vinne2-:
Hi, Christopher83, why don't you provide md5 checksums for your downloads? I don't mean to make you more work but it's just for security & certanity.

E.g. I, few days ago, had a few download problems (not with your kernel) – download done fine, but checksums didn't match and I didn't check it so my phone got soft-bricked. A few downloads later checksums matched and now everything is fine. But everytime I download your kernel I wonder if this will be the bad time or the good time… ;)
[Galaxy S Plus I9001 Android Development] Ahasvero:
Sometimes simply press the "Thanks" is not enough!

Thank you Chris, thanks ADC Team, you have made ​​it more pleasant to use my old S Plus instead of my new S4!

Forgive my English!
[Galaxy S Plus I9001 Android Development] Christopher83:
Thanks for the hint, I added a new file called md5sum_info.txt inside the release folder.
[Galaxy S Plus I9001 Android Development] ahmed dzico:
hi [MENTION=1210925]cristopher[/MENTION]83 is the PMEM affect on camera ??
[Galaxy S Plus I9001 Android Development] Christopher83:
Sorry, what do you mean?

Obviously without that the camera won't work...