[Q] How to enable fast charging(PROMETHEUS KERNEL) - HTC Desire C

Hello,
I have a problem to enable fast charging.
Using PROMETHEUS KERNEL(Version7- Linaro(on speed 767)) and as I checked "FAQ & SOURCES" in that thread this option is allowed by siple modification:
"echo 1 > /sys/class/power_supply/battery/fast_charge"
But I am not allowed write to "/sys/class/power_supply/battery/", return error is:
"cannot create /sys/class/power_supply/battery/fast_charge: No such file or directory"
Directory "/sys/class/power_supply/battery" exist, but I don't have a permission write.
Any idea why I cannot do this?

Did you type 'su' in the terminal?
Sent from my HTC Desire C using XDA Premium 4 mobile app

smoza said:
Did you type 'su' in the terminal?
Sent from my HTC Desire C using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, this is complete command which using:
[email protected]:/ # su
[email protected]:/ # echo 1 > /sys/class/power_supply/battery/fast_charge
sh: cannot create /sys/class/power_supply/battery/fast_charge: No such file or directory
1|[email protected]:/ #
but of course, directory exists:
130|[email protected]:/ # ll /sys/class/power_supply/battery/
-rw--w---- root root 4096 2013-09-06 13:45 audio_stat
-r--r--r-- root root 4096 2013-09-06 13:45 batt_attr_text
-r--r--r-- root root 4096 2013-09-06 13:45 batt_current
--w--w---- root root 4096 2013-09-06 13:45 batt_debug_flag
-r--r--r-- root root 4096 2013-09-06 13:45 batt_id
.....

I'm sorry but I really don't know how to help you
Sent from my HTC Desire C using XDA Premium 4 mobile app

BlaMa said:
Hello,
I have a problem to enable fast charging.
Using PROMETHEUS KERNEL(Version7- Linaro(on speed 767)) and as I checked "FAQ & SOURCES" in that thread this option is allowed by siple modification:
"echo 1 > /sys/class/power_supply/battery/fast_charge"
But I am not allowed write to "/sys/class/power_supply/battery/", return error is:
"cannot create /sys/class/power_supply/battery/fast_charge: No such file or directory"
Directory "/sys/class/power_supply/battery" exist, but I don't have a permission write.
Any idea why I cannot do this?
Click to expand...
Click to collapse
I talked with nikhil (the maker of Prometheus ) and he told me that he will enable it in the next version then he left it was like a month ago or before so I think you must do something inside the kernel to enable it then you must type what you said above
Edit: I meant cm10 kernel not sense

webhijacker said:
I talked with nikhil (the maker of Prometheus ) and he told me that he will enable it in the next version then he left it was like a month ago or before so I think you must do something inside the kernel to enable it then you must type what you said above
Edit: I meant cm10 kernel not sense
Click to expand...
Click to collapse
Hello, thank you for explanation.
I am using Sense version, but maybe this is a reason why I can not use this feature.
Due my account limitation, I can send my post only in this general forum and not directly in Prometheus kernel thread.
Say my thanks also to developer and thank you one more time.

Related

[GT-P6800][3g]cifs.ko - module

Cifs.ko module for galaxy tab 7.7 for stock galaxy kernel.
EDIT - pinkowl has updated the cifs module with nls_utf8 support.
Please see use his updated download link from post 12.
cheers
Should allow mounting of windows/samba shares.
from terminal (connectbot, script etc)
$ insmod cifs.ko (where you saved cifs.ko path)
Please could you test. For me it is working. however a few issues:
but video players stutter but so far bs player lite works best me for media network streaming.
edit - is it down to poor wifi performance - however same files play fine over http streaming from nas!
so proper dev required to looked into performance issues.
Using cifs manager to mount share & es explorer free edition allows you to copy to root etc.
Looks good to me ~8mins for 501M (what are you aiming for?):
P6810(wifi), RTN-16 router,Fedora16 samba share
bash-4.2# insmod cifs.ko
bash-4.2# mount -t cifs -o user=XXX,passwd=XXXXXX //192.168.2.113/XXX /data/local/tmp/mnt
bash-4.2# pwd
/data/local/tmp
bash-4.2# cd mnt
bash-4.2# ls
Desktop
Documents
Downloads
Music
Pictures
Public
Templates
Videos
eclipse
workspace
bash-4.2# time cp /data/local/tmp/junk_1 junk_1_back
real 8m20.644s
user 0m0.275s
sys 0m35.175s
bash-4.2# time cp junk_1_back /data/local/tmp/junk_2
real 7m46.706s
user 0m0.240s
sys 0m24.630s
bash-4.2#bash-4.2# md5sum ../junk_2
b6cee9135f8f4fd8ed03bfcc641de7b1 ../junk_2
bash-4.2# md5sum ../junk_1
b6cee9135f8f4fd8ed03bfcc641de7b1 ../junk_1
bash-4.2#
bash-4.2# ls -l ../junk*
-rw-rw-r-- root root 524288000 2012-01-22 03:42 junk_1
-rw-r--r-- root root 524288000 2012-01-22 04:35 junk_2
Awesome - worked perfectly with the root pack from this forum as well.
Now.... do you have tun.ko for this tab as well please?
Ive found a couple of versions - but they have not been compiled for this rom from the looks and do not load correctly.
Is the tun.ko file available at all yet?
Did another run with some optimisations:
Locked router to N mode instead of mixed
Discovered busybox cp poor performer, used /system/bin/cat instead
Tried kernel setting on
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
Which definitely helps my ssh session, but not sure much impact on this test.
#same 501M file as previous post
#copy server to 7.7
time cat junk_1_back > ../junk_1_47
real 6m52.908s
user 0m0.240s
sys 0m24.390s
#copy from 7.7 to server
bash-4.2# time cat ../junk_1 > junk_1_xxx5
real 3m35.079s
user 0m0.040s
sys 0m19.890s
#copy server to /dev/null on 7.7
bash-4.2# time cat junk_1_xxx3 > /dev/null
real 6m45.223s
user 0m0.115s
sys 0m15.695s
All files intact, I think your module is good, I think kernel tcp params or wireless may need tweaks as suspected in wireless problem thread.
---------- Post added at 11:29 AM ---------- Previous post was at 11:17 AM ----------
cbdrift said:
Awesome - worked perfectly with the root pack from this forum as well.
Now.... do you have tun.ko for this tab as well please?
Ive found a couple of versions - but they have not been compiled for this rom from the looks and do not load correctly.
Is the tun.ko file available at all yet?
Click to expand...
Click to collapse
? Its built-in to kernel:
bash-4.2# uname -a
Linux localhost 2.6.36-P6810DTKL5-CL604290 #3 SMP PREEMPT Wed Dec 14 18:05:58 KST 2011 armv7l GNU/Linux
bash-4.2# ls -l /dev/tun
crw-rw---- vpn vpn 10, 200 2012-01-24 08:23 tun
ezynow:
thanks for sharing the cifs.ko module.
willl you be kind enough to teach me how to get my Windows 7 home premium hooked with cifs?
i tried and search the www and the closest solution i had is to view my shared folder using Ghostcommander with SMB plugin.
however, i cannot mount the share drive as a folder using either
cifsmanager or mount manager
i have tried to do regedit in my Win7 home premium since there is not "local security policy" program for this version of Win7.
Sorry for disturb
Plz, can anybody tell me what is this and how to use it?
i got an error when i add the iocharset=utf8 in the option at cifs manager, how can i make it use utf8?
I place this file in root directory of my sd card.
use terminal emulator program and type
insmod /mnt/sdcard/cifs.ko
but I got
insmod: init_module '/mnt/sdcard/cifs.ko' failed (Operation not permitted)
what should i do
Sent from my GT-P6800 using xda premium
theerachai said:
I place this file in root directory of my sd card.
use terminal emulator program and type
insmod /mnt/sdcard/cifs.ko
but I got
insmod: init_module '/mnt/sdcard/cifs.ko' failed (Operation not permitted)
what should i do
Sent from my GT-P6800 using xda premium
Click to expand...
Click to collapse
try from root
su
then insmod /pathtocifs.ko/
solved, thank you very much
Sent from my GT-P6800 using xda premium
The issues with video playback is not really with cifs, but with caching done by the players.
Typically, a player streaming over http expects a long delay and will use a larger buffer. Playing over cifs, the player will think it's locally stored and no buffer is necessary. That lack of buffer is causing the problems.
I have compiled the nls_utf8.ko module as well as recompilied the module cifs.ko for those of you that needs it. Files are attached in this post.
This is for the stock kernel from the LA2 firmware which I am using. If you are using the stock kernel from Samsung, this should work for you.
If this helps you, pls click on the "thanks" link.
Thanks for this module. I've known about cifs but never tried it before. Now I thought I'd give it a go and it's great. Had a few initial noob problems but now all OK. And using Cifs Manager makes mounting my NAS a breeze.
I can watch all my 720p video files stored on my NAS. Using BS player as suggested by ezynow.. Thanks ezynow!
Thank
Tested ,work well .
pinkowl said:
If this helps you, pls click on the "thanks" link.
Click to expand...
Click to collapse
I'm new here.
can you tell me where the "thanks" link is? pls
because your file helps me a lot~
pinkowl said:
I have compiled the nls_utf8.ko module as well as recompilied the module cifs.ko for those of you that needs it. Files are attached in this post.
This is for the stock kernel from the LA2 firmware which I am using. If you are using the stock kernel from Samsung, this should work for you.
If this helps you, pls click on the "thanks" link.
Click to expand...
Click to collapse
Nice one - i will update the main thread & creditation to you for this
Thanks a lot for these modules. I use them to access shares on my home network.
I found only one small problem accessing shares on my Windows 7 x64 host. If I use iocharset=utf8 as a parameter I can see the segmentation fault message when trying to mount a share from this host. Without iocharset parameter it works ok (apparently all unicode filenames are not shown correctly)
Exactly the same setup works fine with shares from my router and unicode filenames are displayed correctly.
@original poster
Can you rebuild this for ICS, please?
m0bster said:
@original poster
Can you rebuild this for ICS, please?
Click to expand...
Click to collapse
You can't rebuild this until Samsung release the ICS source code used to compile the kernel. Hopefully they do so soon but I am not holding my breath.
New kernel released. Can anyone compile cifs.ko and nls_utf8.ko?

Compiling kernel modules...

Hey all. So I was looking at this cpu frequency governor for the razr:
http://forum.xda-developers.com/showthread.php?t=1367255
I was wondering how I could get this working on our devices, so, just for curiosity's sake, I copied it to the phone and ran insmod on it. It did a quick cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors and found the new governor listed, so I opened up SetCPU and set it as the governor. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor told me, however, that I was still on mot_hotplug, so I switched to ondemand and then back to the eprj governor... still told me I'm on ondemand.
I figure that the razr's and droid 3's kernel modules are not binary-compatible, so I'm gonna need to recompile the module. How do I go about doing this?
Thanks.
-Zane Kaminski
I understand what your getting at but we can't flash kernels best you can do is port kernel modules
Sent from my XT862 using XDA
saintlikesniper said:
I understand what your getting at but we can't flash kernels best you can do is port kernel modules
Sent from my XT862 using XDA
Click to expand...
Click to collapse
Yeah... I wanna compile this module for the Droid 3.
ZaneKaminski said:
Yeah... I wanna compile this module for the Droid 3.
Click to expand...
Click to collapse
The source for the current 890 kernel is on Sourceforge.net under the Bionic's GPL software page.
Sent from my DROID3 using XDA
Would it be possible to build a kernel module to add loop device support? Would like to be able to chroot Ubuntu.
Sent from my DROID3 using Tapatalk 2
Q9Nap said:
Would it be possible to build a kernel module to add loop device support? Would like to be able to chroot Ubuntu.
Sent from my DROID3 using Tapatalk 2
Click to expand...
Click to collapse
loop devices are already supported. If your using linux installer from the market just ignore the warinngs. To manully mount a loop device.
Code:
# mount loop.img directory
If for some reason that doesn't work use losetup.
Code:
# losetup /dev/block/loop7 loop.img
# mount -t auto /dev/block/loop7 directory
eww245 said:
loop devices are already supported. If your using linux installer from the market just ignore the warinngs. To manully mount a loop device.
Code:
# mount loop.img directory
If for some reason that doesn't work use losetup.
Code:
# losetup /dev/block/loop7 loop.img
# mount -t auto /dev/block/loop7 directory
Click to expand...
Click to collapse
Still have questions about getting Linux installer working, started a thread here
http://forum.xda-developers.com/showthread.php?p=24855920
To avoid clogging up this thread any further, any help would be appreciated.
Sent from my DROID3 using Tapatalk 2
i'm in the process of setting up a build environment for kernel modules and have the 5.6.890 kernel source. couple of questions:
does anyone have links to any good info on how to build android kernel modules? google isn't being very helpful.
would it be possible to get modules built with the 5.6.890 source working with the 5.7.906 kernel?
thanks in advance

[Tutorial] Kernel building instructions for Xperia Z & ZL

kernel sources for Xperia Z (SO-02E) {FW: 10.1.D.0.317} & C660x are {FW: 10.1.A.1.350} [these work for Xperia ZL too] available...
link to download sources:
http://dl-developer.sonymobile.com/code/copylefts/10.1.D.0.317.tar.bz2
http://dl-developer.sonymobile.com/code/copylefts/10.1.A.1.350.tar.bz2
i will post build instructions for developers who plan to work on this device....
Building kernel (zImage):
for Xperia Z (C6600x):
import defconfig
Code:
ARCH=arm CROSS_COMPILE=~/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- make fusion3_yuga_defconfig
for Xperia ZL (C6500x):
import defconfig
Code:
ARCH=arm CROSS_COMPILE=~/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- make fusion3_odin_defconfig
build zImage
Code:
ARCH=arm CROSS_COMPILE=~/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- make -j8
incase u get errors like:
Code:
error : /scripts/gcc-wrapper.py
just correct the permissions of that file
Code:
chmod 777 ./scripts/gcc-wrapper.py
regards,
DooMLoRD
Instructions for building kernel.elf
Instructions for building boot.img
first get the kernel built... once kernel is built u will get zImage and copy that zImage to the folder containing the mkbootimg files...
i am attaching a tar file which contains the correct mkbootimg binary and a shell script to build this boot.img
Sony has switched to a standard kernel (boot.img) format...
only issue is that the bootloader does not allow hotbooting of kernels
Code:
[I]fastboot boot boot.img[/I]
does not work
build boot.img
u can directly use the attached files
or
use the following command:
Code:
mkbootimg --kernel zImage --ramdisk ramdisk.img --pagesize 2048 --base 0x80200000 \
--cmdline "androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.emmc=true" \
--offset 0x02000000 --output boot.img
Re: [Kernel-Sources] Xperia Z (SO-02E) {FW: 10.1.D.0.317}
I have made 10.1.A.1.350 ftf
Only need to upload one more part, but I'm not home now. I'll upload it on sunday
Sent from my LT26i using xda app-developers app
Re: [Kernel-Sources] Xperia Z (SO-02E) {FW: 10.1.D.0.317}
hey doom, good to see you around again been a while since the x10
Sent from my Transformer Prime TF201 using xda premium
Hawkysoft said:
hey doom, good to see you around again been a while since the x10
Sent from my Transformer Prime TF201 using xda premium
Click to expand...
Click to collapse
hey Hawkysoft! LONG time no see
@ALL
seems we have a new type of kernel.elf for the Xperia Z/ZL...
it only contains zImage and ramdisk.cpio.gz
i am guessing that the following build command should work:
Code:
python mkelf.py -o kernel.elf [email protected] [email protected],ramdisk
this information might be valid only for the Xperia ZL as the file i received were for that device...
Code:
10.1.A.1.350-C65
ro.semc.version.sw=1266-7597
ro.semc.version.sw_revision=10.1.A.1.350
since i do not have the Xperia Z/ZL i need some testers... please send me kernel.sin which works for your device so that we can do testing...
Re: [Kernel-Sources] Xperia Z (SO-02E) {FW: 10.1.D.0.317}
Good to see you DoomLord, following you since X10..ditched you after Xperia S
Now waiting for my Xperia Z, will be getting on 28th Feb..
sent from Giant Killer Galaxy Note 2
xperiax10.awesome said:
Good to see you DoomLord, following you since X10..ditched you after Xperia S
Now waiting for my Xperia Z, will be getting on 28th Feb..
sent from Giant Killer Galaxy Note 2
Click to expand...
Click to collapse
glad to see u here
u still have the same nick>> X10 awesome
i really like the xperia Z but i dont have the money to buy it... its too costly for me...
@ALL
did a lot of testing today thanks to one user over teamviewer... bootloader unlock is easy, we got full FTF flashed (updated FlashTool)... just the damn kernel is the issue... seems Z is using a standard boot.img format... but i havent been able to get the correct parameters, commands to get the damn boot.img to boot...
DooMLoRD said:
glad to see u here
u still have the same nick>> X10 awesome
i really like the xperia Z but i dont have the money to buy it... its too costly for me...
@ALL
did a lot of testing today thanks to one user over teamviewer... bootloader unlock is easy, we got full FTF flashed (updated FlashTool)... just the damn kernel is the issue... seems Z is using a standard boot.img format... but i havent been able to get the correct parameters, commands to get the damn boot.img to boot...
Click to expand...
Click to collapse
Hi Doomlord, nice to see you here.
Planning to hack some Kernels for the device. I would probably buy it after March.
Can you send me the boot.img? I've downloaded the sources.
Also, if we could get a dump of /proc/partitions , we could probably figure out the size of the boot partition. (Misread your comment)
Cheers.
Re: [Kernel-Sources] Xperia Z (SO-02E) {FW: 10.1.D.0.317}
Offtopic
Hey doom-. I just bought nexus 4 fr 23k.. Believe me its a great phone. If not xz dn plz buy nexus 4...
Sent from my Nexus 4 using xda app-developers app
Re: [Kernel-Sources] Xperia Z (SO-02E) {FW: 10.1.D.0.317}
Adi_Pat said:
Hi Doomlord, nice to see you here.
Planning to hack some Kernels for the device. I would probably buy it after March.
Can you send me the boot.img? I've downloaded the sources.
Also, if we could get a dump of /proc/partitions , we could probably figure out the size of the boot partition. (Misread your comment)
Cheers.
Click to expand...
Click to collapse
I am posting some info which should be useful...
FOR XPERIA Z (C660x)
Code:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (ro,relatime,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/userdata on /data type ext4 (rw,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type ext4 (rw,nosuid,nodev,relatime,discard,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/LTALabel on /lta-label type ext4 (ro,nosuid,nodev,noexec,noatime,nobarrier,data=ordered)
tmpfs on /mnt/qcks type tmpfs (rw,relatime,mode=770,uid=1000,gid=1000)
/dev/block/platform/msm_sdcc.1/by-name/apps_log on /data/idd type ext4 (rw,nosuid,nodev,noexec,noatime,discard,nobarrier,data=ordered)
/dev/fuse on /storage/sdcard0 type fuse (rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/vold/179:33 on /storage/sdcard1 type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 941876 68 941808 0% /dev
tmpfs 941876 0 941876 0% /mnt/asec
tmpfs 941876 0 941876 0% /mnt/obb
/dev/block/platform/msm_sdcc.1/by-name/system
2067560 1026752 1040808 50% /system
/dev/block/platform/msm_sdcc.1/by-name/userdata
12301652 2967792 9333860 24% /data
/dev/block/platform/msm_sdcc.1/by-name/cache
554908 9856 545052 2% /cache
/dev/block/platform/msm_sdcc.1/by-name/LTALabel
16164 4740 11424 29% /lta-label
tmpfs 941876 5432 936444 1% /mnt/qcks
/dev/block/platform/msm_sdcc.1/by-name/apps_log
8100 4292 3808 53% /data/idd
/dev/fuse 12301652 2967792 9333860 24% /storage/sdcard0
/dev/block/vold/179:33
15537664 526752 15010912 3% /storage/sdcard1
lrwxrwxrwx root root 1970-01-11 04:46 FOTAKernel -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-01-11 04:46 LTALabel -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-11 04:46 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-11 04:46 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-11 04:46 alt_aboot -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-11 04:46 alt_rpm -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-11 04:46 alt_s1sbl2 -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-11 04:46 alt_sbl1 -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-11 04:46 alt_sbl2 -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-11 04:46 alt_sbl3 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-01-11 04:46 alt_tz -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-11 04:46 apps_log -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-01-11 04:46 boot -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-01-11 04:46 cache -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-01-11 04:46 m9kefs1 -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-01-11 04:46 m9kefs2 -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-01-11 04:46 m9kefs3 -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-01-11 04:46 ramdump -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-01-11 04:46 rpm -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-11 04:46 s1sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-11 04:46 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-11 04:46 sbl2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-11 04:46 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-11 04:46 system -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-01-11 04:46 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-11 04:46 userdata -> /dev/block/mmcblk0p26
varshil said:
Offtopic
Hey doom-. I just bought nexus 4 fr 23k.. Believe me its a great phone. If not xz dn plz buy nexus 4...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I have played with the Nexus 4... It's good but it's LG...
Sent from my LT30p using xda app-developers app
Re: [Kernel-Sources] Xperia Z (FW: 10.1.D.0.317, 10.1.A.0.350)
10.1.A.0.350 sources out!!!
Sent from my LT30p using xda app-developers app
Re: [Kernel-Sources] Xperia Z & ZL (FW: 10.1.A.0.350)
Dear doomlord,
I m following you (and krabbel from my x10 (to arcs xs xt and now xz in 3 days)
Love your work...
I'm not a developer, just someone who love stock Sony, and even more if it's not totally stock.
I see the development didn't started yet, is it hard for a development noop to start? Just to create a deodext Rom with root (just like krabbels on the xt). Can you please point me in the right way? If I can understand it I will try to start something, (if I don't get it I will wait patiently)
Love your work mate!!
Sent from my LT30p using xda premium
Re: [Kernel-Sources] Xperia Z & ZL (FW: 10.1.A.0.350)
yaabaa1986 said:
Dear doomlord,
I m following you (and krabbel from my x10 (to arcs xs xt and now xz in 3 days)
Love your work...
I'm not a developer, just someone who love stock Sony, and even more if it's not totally stock.
I see the development didn't started yet, is it hard for a development noop to start? Just to create a deodext Rom with root (just like krabbels on the xt). Can you please point me in the right way? If I can understand it I will try to start something, (if I don't get it I will wait patiently)
Love your work mate!!
Sent from my LT30p using xda premium
Click to expand...
Click to collapse
Check xda university.
Sent from my C6603 using xda app-developers app
DooMLoRD said:
glad to see u here
....
i really like the xperia Z but i dont have the money to buy it... its too costly for me...
Click to expand...
Click to collapse
Hi, Doom! I am glad to read your posts again since x10)).
can again repeat that?
yaabaa1986 said:
Dear doomlord,
I m following you (and krabbel from my x10 (to arcs xs xt and now xz in 3 days)
Love your work...
I'm not a developer, just someone who love stock Sony, and even more if it's not totally stock.
I see the development didn't started yet, is it hard for a development noop to start? Just to create a deodext Rom with root (just like krabbels on the xt). Can you please point me in the right way? If I can understand it I will try to start something, (if I don't get it I will wait patiently)
Love your work mate!!
Sent from my LT30p using xda premium
Click to expand...
Click to collapse
well to begin with the device isnt yet globally available... most devs who plan to buy the device havent got it yet...
if u want to create de-odexed ROM you will have to wait for proper recovery to be posted (FYI from what i know recovery is already working just not released yet)...
if u interested please search... lots of threads for that...
TangVLD said:
Hi, Doom! I am glad to read your posts again since x10)).
can again repeat that?
Click to expand...
Click to collapse
thanks! good to see ppl from the X10 days...
about that... well depends on community...
DooMLoRD said:
thanks! good to see ppl from the X10 days...
about that... well depends on community...
Click to expand...
Click to collapse
From paypal:
"Currently PayPal accounts in India are only able to send payments. This recipient is not eligible to receive funds"
TangVLD said:
From paypal:
"Currently PayPal accounts in India are only able to send payments. This recipient is not eligible to receive funds"
Click to expand...
Click to collapse
Please try this
and thanks in advance!
DooMLoRD said:
Please try this
and thanks in advance!
Click to expand...
Click to collapse
I did. Still 20 people would have done the same thing)
TangVLD said:
I did. Still 20 people would have done the same thing)
Click to expand...
Click to collapse
wow! thank you for your generous donation!
damn i should have corrected the donation link before and thanks a lot for pointing that out!
Re: [Kernel-Sources] Xperia Z & ZL (FW: 10.1.A.0.350)
yaabaa1986 said:
Dear doomlord,
I m following you (and krabbel from my x10 (to arcs xs xt and now xz in 3 days)
Love your work...
I'm not a developer, just someone who love stock Sony, and even more if it's not totally stock.
I see the development didn't started yet, is it hard for a development noop to start? Just to create a deodext Rom with root (just like krabbels on the xt). Can you please point me in the right way? If I can understand it I will try to start something, (if I don't get it I will wait patiently)
Love your work mate!!
Sent from my LT30p using xda premium
Click to expand...
Click to collapse
I'll have mine on wednesday probably
Sent from my Xperia S using xda app-developers app

[Q] Button backlight

Hi!
After some researching, I couldn't find a way to disable button backlights (permanently) on CM 10.1.3. How can be this done ?
Put this in a 03bl.sh in system/etc/init.d and let it run on boot as executable with script manager (smanager).
#!/system/bin/sh
sync
busybox mount -o remount,rw /system
echo 0 > /sys/class/leds/button-backlight/max_brightness
echo 0 > /sys/class/leds/button-backlight/brightness
sync
busybox mount -o remount,ro /system
It will disable the lights after boot is finished
And remember to set the right permissions.
Sent from my 4X HD via XDA Premium
just install Bklight app
Sent from LG 4X HD using Tapatalk 2
Aimbot91 said:
just install Bklight app
Sent from LG 4X HD using Tapatalk 2
Click to expand...
Click to collapse
Could you provide a link as I didn't find anything really useful when I tried this.
Sent from my 4X HD via XDA Premium
Further Questions
Omario-242 said:
Sent from my 4X HD via XDA Premium
Click to expand...
Click to collapse
Thanks.:highfive:
I don't want to open an other thread, so I'll just ask it here: Which is the best kernel for battery life? I don't play 3d games, so performance is not my main concern. (but I don't want the UI to lag) Also, my phone seems to be charging real slow. Can this be fixed?
And what about picture quality ? Can it be increased ?
I'm currently on stock CM kernel.
sprite048 said:
Thanks.:highfive:
I don't want to open an other thread, so I'll just ask it here: Which is the best kernel for battery life? I don't play 3d games, so performance is not my main concern. (but I don't want the UI to lag) Also, my phone seems to be charging real slow. Can this be fixed?
And what about picture quality ? Can it be increased ?
I'm currently on stock CM kernel.
Click to expand...
Click to collapse
"Best ..." threads are not allowed on XDA as it is all subjective and depends on the user and on exactly what you are doing. Best bet is just to download and try for yourself.
As for picture quality - there are more than enough threads alreay about this topic for you to read.
SimonTS said:
"Best ..." threads are not allowed on XDA as it is all subjective
Click to expand...
Click to collapse
Then let me rephrase it :
which kernels are regarded as battery friendly kernels ?
sprite048 said:
Then let me rephrase it :
which kernels are regarded as battery friendly kernels ?
Click to expand...
Click to collapse
This is actually the same as before.... and it still is not allowed
I usually would close this thread now, but as this thread is about something else, I'll leave it with this warning.
Now, about the lights, @Omario-242 is more-less right
but this should be enough, too:
Code:
#!/system/bin/sh
echo 0 > /sys/class/leds/button-backlight/max_brightness
echo 0 > /sys/class/leds/button-backlight/brightness
no need to mount system, as these files are not /system related
Also, there is no need for scriptManager, as init.d is getting executed automatically during boot just name it 99disableBBL or something similar, place it inside /system/ect/init.d, set permissions and you should be fine

[MODS] Useful Mods for R

To Do List:
Create stock System.img for restoring to stock in preparation for Lollipop.
Post batch tool to simplify everything
Work on getting busybox working to expand capabilities
Android Wear Lollipop?
MODS:
Increase Vibration Strength:
Code:
adb shell
su
echo 85 > /sys/class/timed_output/vibrator/amp
echo 120 > /sys/class/timed_output/vibrator/driving_ms
Don't set amp over 100, and don't set driving_ms over I would say 200 max. Our dory friends set it around 160ish. The higher the number the stronger the vibration, at a cost of power and perhaps decreased vibration life?
I found the best way to do this was to setup adb over bluetooth so you could feel what the setting feels like by setting a timer or something.
Increase DPI to Make Analog Keyboard Useful
For those who want to mess with it this makes the Microsoft analog watch more useful by increasing the ppi a lot. It messes up text in almost every other spot besides the keyboard area, so now you can actually hit the enter key, barely though. Just gonna post this til I have something better figured out.
Build.prop link
Analog Keyboard Download - Follow install instructions found in zip
Put build.prop where you have adb located. Stock DPI is 240 if you want to edit it back.
Code:
adb push build.prop /sdcard
adb shell
su
mount -o rw,remount /system /system
cp /sdcard/build.prop /system
reboot
tonu42 said:
MODS:
Increase Vibration Strength:
Code:
adb shell
su
echo 85 > /sys/class/timed_output/vibrator/amp
echo 120 > /sys/class/timed_output/vibrator/driving_ms
Don't set amp over 100, and don't set driving_ms over I would say 200 max. Our dory friends set it around 160ish. The higher the number the stronger the vibration, at a cost of power and perhaps decreased vibration life?
Click to expand...
Click to collapse
Can you tell me what the default/stock settings are? I used the settings you posted and it is much better but i am curious what the factory settings were.
jimmydigital00 said:
Can you tell me what the default/stock settings are? I used the settings you posted and it is much better but i am curious what the factory settings were.
Click to expand...
Click to collapse
Amp was at 80 and driving_ms was at a pitiful 20 or 30 I think......
Thinking about it I should have written them down because I don't think a system.img install will revert it.
Can someone do a cat driving_ms for us?
Untouched original:
[email protected]:/ # cat /sys/class/timed_output/vibrator/amp
80
[email protected]:/ # cat /sys/class/timed_output/vibrator/driving_ms
20
zvieratko said:
Untouched original:
[email protected]:/ # cat /sys/class/timed_output/vibrator/amp
80
ro[email protected]:/ # cat /sys/class/timed_output/vibrator/driving_ms
20
Click to expand...
Click to collapse
Thank you good sir. Boosting driving_ms a lot seems to be the best way to increase the strength.
Works
This works great! Thanks!
OP updated with another mod.
Hi all ,
are there any rooting instructions for the LG GWATCH R in order to use the adb commands ?
regards
Achim
Gesendet von meinem SM-N9005 mit Tapatalk
For sake of completeness, all the defaults:
Code:
/sys/class/timed_output/vibrator/amp
80
/sys/class/timed_output/vibrator/braking_gain
100
/sys/class/timed_output/vibrator/braking_ms
0
/sys/class/timed_output/vibrator/driving_ms
20
/sys/class/timed_output/vibrator/enable
0
/sys/class/timed_output/vibrator/n_val
127
/sys/class/timed_output/vibrator/warmup_ms
0
How can I set these parameters?
I'm not expert about this device and I don't know what I have to do.
Can you explane me step by step?
THX
cybermungo said:
Hi all ,
are there any rooting instructions for the LG GWATCH R in order to use the adb commands ?
regards
Achim
Gesendet von meinem SM-N9005 mit Tapatalk
Click to expand...
Click to collapse
The root guide is in another thread.
Sent from my A0001 using XDA Free mobile app
Work the vibration mod on new update 5.01? I think it should or?
coyote_f said:
Work the vibration mod on new update 5.01? I think it should or?
Click to expand...
Click to collapse
Yes, I need to modify this guide, TBH though I might try to create an android wear app to just do a one click and set.
tonu42 said:
Yes, I need to modify this guide, TBH though I might try to create an android wear app to just do a one click and set.
Click to expand...
Click to collapse
I tried last night, and running the commands in the OP didn't do anything. Is that why you're saying you need to modify the guide? Running lollipop btw
nickmilla15 said:
I tried last night, and running the commands in the OP didn't do anything. Is that why you're saying you need to modify the guide? Running lollipop btw
Click to expand...
Click to collapse
Yea that's why I need to change it. I'll change it maybe later tonight. But for some reason the changes don't stick after reboot. I'll look into it.
Sent from my A0001 using XDA Free mobile app
tonu42 said:
Yea that's why I need to change it. I'll change it maybe later tonight. But for some reason the changes don't stick after reboot. I'll look into it.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Wicked. I look forward to it ?
tonu42 said:
Yea that's why I need to change it. I'll change it maybe later tonight. But for some reason the changes don't stick after reboot. I'll look into it.
Click to expand...
Click to collapse
changes to anything in /sys are lost on reboot. sysfs, like procfs (/proc) is not a persistent filesystem.
you would need to add your changes to a boot script so they run on boot everytime
-fg
fg said:
changes to anything in /sys are lost on reboot. sysfs, like procfs (/proc) is not a persistent filesystem.
you would need to add your changes to a boot script so they run on boot everytime
-fg
Click to expand...
Click to collapse
Yep already on it. I'm making a proper rootboot.IMG like the original G watch. Also adding into the kernel a script to edit the files for vibration.
Sent from my A0001 using XDA Free mobile app
tonu42 said:
Yep already on it. I'm making a proper rootboot.IMG like the original G watch. Also adding into the kernel a script to edit the files for vibration.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Awesome!
Remove all LG watchfaces, I'm using facer
adb shell
su
mount -o rw,remount /system /system
cd system
cd priv-app
rm -r Lge*
Or, if you want, you can delete only any of these..
---------- Post added at 11:22 PM ---------- Previous post was at 10:28 PM ----------
Sorry admin... But my suggestion is like a mod...
It's not a question...

Categories

Resources