Enable USB Charging on CM10.1/CM10.2 (The easy way) - Galaxy Tab 8.9 General

Hello Xda,
EDIT: THIS WILL ALSO WORK ON CM10.2
Today i will show you how to turn on usb charging on CM10.1 for P5/P5wifi
Step 1)
Navigate to folder sys/class/power_supply/battery and open up 'force_usb_charging.
Step 2)
You will see only a 0 in the file change that to 1 and save it! (You have turned on USB charging enjoy!)

safariking said:
Hello Xda,
{
"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"
}
Today i will show you how to turn on usb charging on CM10.1 for P5/P5wifi
Step 1)
Navigate to folder sys/class/power_supply/battery and open up 'force_usb_charging.
Step 2)
You will see only a 0 in the file change that to 1 and save it! (You have turned on USB charging enjoy!)
Click to expand...
Click to collapse
What about stock ics with stock kernel? How to enable usb charging? Mine is disable.

kulanavhiea said:
What about stock ics with stock kernel? How to enable usb charging? Mine is disable.
Click to expand...
Click to collapse
Flash A1 kernel

safariking said:
Flash A1 kernel
Click to expand...
Click to collapse
Is there another way? Because when I use A1 kernel i have problem when connected my tab to computer via usb, it said "usb not recognized bla bla bla..." something like that. But its ok with stock kernel. So, I hope there is another way to enable usb charging, like modifying script or something like that.

I have no idea sorry
Sent from my YP-GS1 using xda app-developers app

This will also work on CM10.2 and other cyanogenmod versions

hallo safaraking,
Step 2)
You will see only a 0 in the file change that to 1 and save it! (You have turned on USB charging enjoy!)
we have not this file on new version from Com 10.2 (4.3), I've check double time the folder.
Sent from my GT-P7310 using xda app-developers app

bierma32 said:
hallo safaraking,
Step 2)
You will see only a 0 in the file change that to 1 and save it! (You have turned on USB charging enjoy!)
we have not this file on new version from Com 10.2 (4.3), I've check double time the folder.
Sent from my GT-P7310 using xda app-developers app
Click to expand...
Click to collapse
The file i there, check it. I have the CM 10.2 (4.3). I have done it and it works fine.
Hope it can help

pippone121263 said:
The file i there, check it. I have the CM 10.2 (4.3). I have done it and it works fine.
Hope it can help
Click to expand...
Click to collapse
have got the latest one from Com 10.2(4.3), by me is the folder are empty.
Sent from my GT-P7310 using xda app-developers app

Use root explorer
Verstuurd van mijn GT-I9105P

same problem like pierma32, there no file...
Founded with es file explorer....and is charging.......

Related

[MOD] [ARC] Reboot in Power menu (Reboot,Fastboot,Reboot into Recovery)

There 3way for you to Reboot phone: Reboot, Reboot to Fastboot and reboot into Recovery (ClockWorkMod).
Im not a programmer, im a structure engineering so im not sure it has no bug. If u find the bug, please help me correct it.
{
"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"
}
This is the original file, i only put reboot in it, im still not change anythings or themed. So u can change it by yourself or u can link here to my modded post.
Here u r
DOWNLOAD
- Reboot Option
Drop your comment here and I will translate reboot option to your language later
My mistake, i didnot focus so i posted in wrong box, moderator please help me to move it to Themes & App
Fastboot reboot will allow us to change kernel through the phone? No need pc?
Sent from my LT18i using xda premium
maliceomalice said:
Fastboot reboot will allow us to change kernel through the phone? No need pc?
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
no, just means if you have it connected to pc, it will reboot into fastboot
Sent from my LT15i using xda premium
reboot to fastboot: reboot your phone into fasboot mode without press menu button . You still need pc to flash kernel
Get error after installing usless but nice idea........
Sent from my X10 using XDA App
4.0.3
Does this work with Android 4.0.3?
cx-11 said:
Get error after installing usless but nice idea........
Sent from my X10 using XDA App
Click to expand...
Click to collapse
what kind of error u get? if get the error try to factory reset?
Jonster111 said:
Does this work with Android 4.0.3?
Click to expand...
Click to collapse
i dont thik so. I modified this from 2.3.4 StockROM so i think it isnt compatible with Android 4.0
Many pop-up windows appears an say different sys. Errors
Try factory resets but till Sam I am on 62 with doom and my one uotmod installed maby this it's the foul........
Sent from my LT18i using XDA
After installing this mod, my Arc slowed down quite a bit and the custom XPERIA S launcher by Flamemo got broken reverting back to stock Arc lock screen and clock. A quick reinstall of XPERIA S launcher solved the problem though. What might have happened there?
UPDATE: I had to restore my back up as pressing the Off button continuously did some sort of quick reboot rather than bringing up the power menu. Some sort of incompatibility with the theme I guess. Using Arconium 7.2
hx, 400 downloads and have no more comment?
If u get error, may be it's because of your modded themes.
If your device slow down, try to wipe dalvik cache
Fantastic
The one option you get so used to from the likes of CM...
Nice to have it in my stock .62 ROM Thank-you
please orginal power menu to miui

[help]unbricked my p1000!!!

My tab works normally but when I see the sm9 RC version,then I flash it and I get the error in CWM recovery,Then my tab dosen't boots,and when I want to use odin and I get into download mode,I carelessly plug out the USB,then I got this , When I plug-in the USB,My PC said that the phone is unkown device,I am sure I've download all drivers,can someone help me?I 've tried a lot of unbrick guide but dosen't work for me....Can someone help?
{
"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"
}
This is just another download mode.
You can still use Odin to flash stock Rom.
Search for overcome method.
I posted too many replies of the same thing.
Sent from my GT-I9300 using xda app-developers app
No......my computer said that it can't find this phone but I make sure that I install all drivers
Sent from my HTC Desire using xda premium
Odin has no any responses.....
Sent from my HTC Desire using xda premium
Hmm... Try these steps and see... 1. Unplug the tablet. 2. Turn off the tablet. 3. Reboot computer. 4. After full reboot Plug tablet in. 5. Put tablet in downloading mode. 6. Install drivers (make sure they are the correct drivers for Odin!!!) Which can be found here... http://uploading.com/files/a683d2d8/Samsung_P1000_USB_Drivers.rar/ 7. After installation complete, and you have given Windows time to detect and install the drivers, open Odin. If that doesn't work, then try Heimdall. (give windows some time to install the drivers even after the installation program completes)
benem3000 said:
Hmm... Try these steps and see... 1. Unplug the tablet. 2. Turn off the tablet. 3. Reboot computer. 4. After full reboot Plug tablet in. 5. Put tablet in downloading mode. 6. Install drivers (make sure they are the correct drivers for Odin!!!) Which can be found here... http://uploading.com/files/a683d2d8/Samsung_P1000_USB_Drivers.rar/ 7. After installation complete, and you have given Windows time to detect and install the drivers, open Odin. If that doesn't work, then try Heimdall. (give windows some time to install the drivers even after the installation program completes)
Click to expand...
Click to collapse
I've try it but doesn't work......
Sent from my HTC Desire using xda premium
rommanager said:
I've try it but doesn't work......
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Have you tried it on a different computer? And are you sure the cable is good?
benem3000 said:
Have you tried it on a different computer? And are you sure the cable is good?
Click to expand...
Click to collapse
I've tried,all of my computer have driver and I'm sure my cable is good as well
Sent from my HTC Desire using xda premium
try like this guy?
http://forum.xda-developers.com/showthread.php?t=1843415
using one click unbrick
I install all driver and my computer said 'unkown device'Whats wrong?
Did you try the one click unbrick?
Sent from my GT-P1000 using xda app-developers app
priyana said:
Did you try the one click unbrick?
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
I've tried,but my computer said that is unkown device

[Tool] All in 1 Toolbox [Revision]

Hello,
I just saw the All in 1 Toolbox by OS_Hacking and thought,
it might be easier if it would be a programm instead of a script.
So i worked some time, and here it is:
The revised Version of the All in 1 Toolbox!!
Disclaimer:
I am not responsible for any damage at your device!
You're running this programm on your own risk!
Screenshots:
{
"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"
}
Instructions:
Just copy the folder named "Revised-P880" inside of the .zip to C:\ (Root directory).
After that, just start the "Revised P880 Toolbox.exe" and have fun
Download:
Version 1.0 of the Revised All in 1 Toolbox (Dev-Host)
Version 1.0 of the Revised All in 1 Toolbox (Mediafire)
Rights and Thanks:
All rights are going to OS_Hacking cause i used his Toolbox as base!!!
And i have to thank him too, for his great work!!
Changelog:
[29.04]:
- Initial release
phil1405 said:
The revised Version of the All in 1 Toolbox!!
Click to expand...
Click to collapse
Hey, nice work!
Did you replace old CWM with the new 6.0.3.1?
If not, this could be an option
No i didn't :/
Can you give me a link?
I'll add it tonorrow in next version
Greets
Phil @ DHYMusic
Suggestion: make this application download updated files from some server.
Example:
Client Side
versions.xml
Code:
<toolbox>
<file>
<name>ClockWork Mod Image File</name>
<version>6.0.3.0</version>
</file>
<file>
...
</file>
</toolbox>
On every application start, check all file versions. If new files are available, download and replace them with the new ones.
Server Side
versions.xml
Code:
<toolbox>
<file>
<name>ClockWork Mod Image File</name>
<version>6.0.3.1</version>
<download>LINK_TO_SOME_ONLINE_STORAGE</download>
</file>
<file>
...
</file>
</toolbox>
I can help with coding.
Please write me a PM, cause i don't know implement that :/
Greets
Phil @ DHYMusic
phil1405 said:
Can you give me a link?[/URL]
Click to expand...
Click to collapse
Here we go
http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-6.0.3.1-p880.img
Any other wishes?
If not i'm making the next version
Greets
Phil @ DHYMusic
flash boot.img (kernel)?
Sent from my LG-P880 using xda app-developers app
could anyone upload app to another server because file is unavailable
Dev Host is having problems again -.-
Reuploading to Mediafire right now
...sent from a Nexus 4™...
2nd link added to OP
Thank You Verry Much
No problem
...sent from a Nexus 4™...
phil1405 said:
No problem
...sent from a Nexus 4™...
Click to expand...
Click to collapse
Have you already updated the CWM recovery to 6.0.3.1 or is it still 6.0.3.0?
cant seem to use this it says "unhandled exception..... blah blah blah" when i start to root.. any help please? want to use this
Did you copy the folder in your C:/ directory?
...sent from a Nexus 4™...
So I just plug my phone in what mode?
Or turn it off?
I want to root it!
Thanks! and sorry for my bad English
I have a problem here, on v10e
when i boot into recovery i dun find any option of ADB... anything i miss out?
ADB installed, drver all installed, adb devices shows my device.
areankim said:
I have a problem here, on v10e
when i boot into recovery i dun find any option of ADB... anything i miss out?
ADB installed, drver all installed, adb devices shows my device.
Click to expand...
Click to collapse
Upgrade to jellybean first
Sent from my rooted P880
IceTeaDestroyer said:
So I just plug my phone in what mode?
Or turn it off?
I want to root it!
Thanks! and sorry for my bad English
Click to expand...
Click to collapse
If you want to root your phone, go to recovery mode (turn off --> push volume down button + power button, don't release until recovery mode start), select adb sideload, connect your phone tp your pc, then selec root in AiO.
Sent from my tf101

[ROM][PORT]ChameleonOS For 926 & 925 [updated 20-November-2013]

{
"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"
}
Requirements:
Must be rooted!
Must be unlocked!
Must run a custom recovery!
What works?
Everything that I know of!
Are there bugs?
You flash and tell me!
(Navbar bug should be fixed as of 11/20/13)
Features can be found HERE.
Screenshots can be found in Tim's Original Thread
Thanks (in no particular order):
OSE
Bytecode
timpohladthomas
ChameleonOS
Razrqcom Dev-Team
Download:
ChameleonOS​
Will flash it tomorrow
Enviado desde mi Droid RAZR HD mediante Tapatalk
Will give this a shot tomorrow also.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Flashing right now, will post back in a few hours and let you know how it is running.
Edit: Flashing was smooth, installed the MIUI theme from goo.im and then reboot and am getting constant FC's on com.android.phone. As soon as I hit okay to accept it another one pops up. I am not sure if this is theme related or the ROM itself.
Also, there are no GAPPS included but I found them here: http://goo.im/devs/ChameleonOS/gapps
Edit 2: I tried installing the GAPPS from the above link and got stuck in a bootloop.
lysdexik said:
Also, there are no GAPPS included but I found them here: http://goo.im/devs/ChameleonOS/gapps
Edit 2: I tried installing the GAPPS from the above link and got stuck in a bootloop.
Click to expand...
Click to collapse
I just installed with the gapps from Cyanogen mod, the latest one on 4.3
It works perfectly
Btw, yea it's 4.3 if someone's wonders
I found a bug!
When you go in landscape mode, the navbar is completely bugged, and not possible to use.
I can not install any app that needs root, they say that I don't have root, is anyone else facing something like this?
Dexcellium said:
I found a bug!
When you go in landscape mode, the navbar is completely bugged, and not possible to use.
Click to expand...
Click to collapse
I'll make a new build when I can I'm pretty sure a fix has already been added to chaos' source.
Carcass.br said:
I can not install any app that needs root, they say that I don't have root, is anyone else facing something like this?
Click to expand...
Click to collapse
Check that you actually enable root, its not enabled by default so go into about phone and tap build # until it says you are now a developer to unlock the development settings where root is.
Edit- Links updated to new rom versions old versions are being uploaded to mediafire
@cj360 any way u can build this for the mb886 because the xt925 build works great but auto rotation and data wont work properly
Sent from my MB886 using XDA Premium 4 mobile app
Obviously cause its a different device. But I would rather help someone else build it as xt926,xt925,xt907 have one or two changes between them and when things work on one they'll work on all three and vice versa. As well as I just dont want to build for more than three devices.
Thanks mate, now my only problem is thoso random reboots when I try to listen something with a bluetooth headset

[Q] Clearpad folder

Hi,
I cannot reply to the right thread because of less than 10 comment.
I'm not a newbie and I was trying to mod my z1 to have pen mode enabled.
After the creation of an init.d script, I wasn't able to use the pen, so with root browser I have tried to look what happened at the file pen inside the clearpad folder, but clearpad folder isn't a folder but a link to /sys/devices/virtual/input/input1.
Is it correct?
Why the script doesn't work for me?
I have tried also app (3.1 version), but it doesn't work too.
Thanks
P.S. I have also tried to flash rom again i'm on 14.2.A.1.136 version obviously with root permission.
Best place to place your query in the pen mode mod thread
Sent from my C6903 using XDA Premium 4 mobile app
sofir786 said:
Best place to place your query in the pen mode mod thread
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know, but I cannot reply there beacuse of less than 10 post in thread...
I'm stucked. Theese are some screenshots of what I made and changes to the files to enable penmode:
Script
View attachment 2599896
View attachment 2599897
After reboot the "pen" file:
View attachment 2599894
View attachment 2599908
The clearpad_pen.idc file:
View attachment 2599909
And the app enabled:
View attachment 2599914
With root browser the strange link to the folder that's not recognised as a folder:
View attachment 2599911
After that still not work...
Someone could tell me if /sys/devices/virtual/input/clearpad is a link to a folder and not a real folder? (on es file explorer there's an arrow at the bottom of the folder that indicate that is not a real folder but a link, on root browser is simply indicated as a file)
If you're going to fiddle around in android you better learn some *nix basics.
{
"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"
}
Sent from my C6903 using Tapatalk
Daelyn said:
If you're going to fiddle around in android you better learn some *nix basics.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Thanks for the answer. I know *nix basics, but if you read my previous post nobody answer me, so I have tried to search a solution for the problem. The only thing that I thought was strange was that, and because of nobody had answer me previously I have tried to formulate a question for everyone... Everyone here has a filemanager in his phone, but not a terminal emulator.
So now I have checked and also the thing that I have tought was wrong it's, instead, correct, I have no idea wich is the problem. I have also tried to reflash stock rooted rom and installing only the apk that enable pen, but it won't work with wood.
Anybody have an idea of what else to check?
EDIT: I found the problem. I bought this phone used and I now that sony apply a cover for glass, the first owner had applyed another cover over it and that's why it doesn't recognised "pen".
I'm very sorry with all of you for the loss of time, when the problem was very stupid.
Thanks all.

Categories

Resources