yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] orangpelupa:
Introduction

Hello,

I've made a simple app to disable USB charging so you can keep plugging your phone to PC without charging to 100%. Personally i use it when I'm connected my phone for development (ADB over USB).

But i need your help. I wan't to make it compatible with more android devices, currently its just some LG, Xperia, and Xiaomi phones.

Right now, I need your help to increase its compatibility to Samsung Galaxy S7.

Images

How you can help me?

If you have file manager access:

Go to /sys/class/power_supply (or something similar sounding).

Look for USB or Battery or similar sounding folder.

Enter those folders, and reply the screenshot of the files to this topic.

If you able to use Terminal:

type ls /sys/class/power_supply/

then, screenshot it (or copy paste it) and reply it here

type ls /sys/class/power_supply/battery (or other similar sounding folder you saw on /power_supply/)

then, screenshot it (or copy paste it) and reply it here

Thank you!

Features

Disable usb charging

Enable usb charging

Downloads

on play store (need root access)

https://play.google.com/store/apps/details?id=org.bramantya.stopcharging&hl=en

XDA:DevDB Information

Disable USB Charging, Tool/Utility for all devices (see above for details)

Contributors

orangpelupa

Version Information

Status: Alpha

Created 2016-06-28

Last Updated 2016-06-28
[Android Apps and Games] cm2003:
Hope this helps you. S7 Edge

Gesendet von meinem SM-G935F mit Tapatalk
[Android Apps and Games] nokian95ita:
Is there a similar way to enable otg and charge at the same time with this mod?
[Android Apps and Games] kill3rshadowz2000:
Wow this is really smart in its own way... very useful if you don't want to drain your computers power (at one point I was stuck using an old dell inspiron 5400 that I found on the side of the road one day and I had to make a split power and data USB cable because the computer would actually lose processing power and overall pcu power when any phones or anything were plugged in because the USB Jacks were practically fried)

---------- Post added at 08:43 AM ---------- Previous post was at 08:39 AM ----------

This is nearly impossible. Chip that enables USB otg allows the phone to power the device therefore it would require the entire phone to be modified not to provide power to the USB OTG cord and you would need to make a cord that would charge the device and whatever is on the USB OTG (recommend two separate charge lines instead of just wiring power lines to both)

Pretty much would have to redesign the charger chip in the phone for this to be allowed...
[Android Apps and Games] -CALIBAN666-:
I swear i have thinked about apps like this,cool work.
[Android Apps and Games] kill3rshadowz2000:
You definitely did a good job figuring out how to get this to work... If I was willing to root my only phone I would install this app first
[Android Apps and Games] Fire_Android:
In BATTERY folder there is a folders named Device, Power and Subsystem.

Do you need this folders?
[Android Apps and Games] zbysogi:
Is this app still available?
[Sony Xperia XA Questions & Answers] leap_ahead:
Where we can find list with system app to know which app to disable ?

Thanks
[Sony Xperia XA Questions & Answers] rrvuhpg:
Hi,

Just ask you "I need it or not?". You can't disable critical apps ;)
[Tilt, TyTN II, MDA Vario III General] leoiden:
Please fellow members do share what the lowest price or best price possible for the kaiser right know!

Thanks in advance for your info!
[Tilt, TyTN II, MDA Vario III General] kyphur:
So as is standard I have to remind to to search the threads.

This has been discussed in a couple of threads:

http://xdaforums.com/showthread.php?t=340179
[X Play Q&A, Help & Troubleshooting] xpectedme094:
Hello am Facing Heating as well as Battery Draining Problem on my Moto X Play on which i flash DU ( Dirty Unicorn ) along with Squid kernel .

i wipe data Clear Cache Do almost everything i read.

Can anyone suggest me Best Kernel Tweaks (settings) to solve this problem .

To improve mobile Performance and Improve Battery life as well .

Suggestions are always welcome.

Thanks In advance.

( Sorry for Bad English and Sorry if i break any rules)
[Samsung Galaxy S7 Themes, Apps, and Mods] orangpelupa:
Introduction

Hello,

I've made a simple app to disable USB charging so you can keep plugging your phone to PC without charging to 100%. Personally i use it when I'm connected my phone for development (ADB over USB).

I wan't to make it compatible with more android devices, currently its just some LG, Xperia, and Xiaomi phones.

I need your help to increase its compatibility to Samsung Galaxy S7.

Images

How you can help me?

If you have file manager access:

Go to /sys/class/power_supply (or something similar sounding).

Enter that folder, and reply the screenshot of the files/folders to this topic.

Look for USB or Battery or similar sounding folder.

Enter that folder, and reply the screenshot of the files/folders to this topic.

If you able to use Terminal:

type ls /sys/class/power_supply/

then, screenshot it (or copy paste it) and reply it here

type ls /sys/class/power_supply/battery (or other similar sounding folder you saw on /power_supply/)

then, screenshot it (or copy paste it) and reply it here

Thank you!

Features

Disable usb charging

Enable usb charging

Downloads

on play store (need root access)

https://play.google.com/store/apps/details?id=org.bramantya.stopcharging&hl=en

XDA:DevDB Information

[DEV] Disable USB Charging, Tool/Utility for the Samsung Galaxy S7

Contributors

orangpelupa

Version Information

Status: Alpha

Created 2016-06-28

Last Updated 2016-06-28
[Samsung Galaxy S7 Themes, Apps, and Mods] _FreaK_:
Hi. I made some screenshots on galaxy S7 (SM-G930F) :good:
[Samsung Galaxy S7 Themes, Apps, and Mods] orangpelupa:
[MENTION=4949544]_FreaK_[/MENTION]

Awesome! A bit shooting in the dark here, but..

Can you try plugging your phone to charger and change the value of "charge_control_limit" to 1.

It's on sys/class/power_supply/battery

The default should be 0.

After editing it to 1, go to battery on settings menu. Does it still say "charging"?

Thank you!
[Samsung Galaxy S7 Themes, Apps, and Mods] _FreaK_:
I'm at work now. Will try when back home.
[Samsung Galaxy S7 Themes, Apps, and Mods] _FreaK_:
Can't change the value to 1. I tried with Root Explorer, Total Commander and Es file explorer. :rolleyes:
[Samsung Galaxy S7 Themes, Apps, and Mods] orangpelupa:
[MENTION=4949544]_FreaK_[/MENTION] aww bummer.

can ask more help? if you can, please zip the "battery" folder and upload here.

if error, go into "battery" folder, then zip all the files inside it while skipping all the folders.

thank you!

EDIT:

scratch that. /sys/ cannot be copied :(

sorry
[Samsung Galaxy S7 Themes, Apps, and Mods] _FreaK_:
Ok, I made battery.zip with root explorer.
[Samsung Galaxy S7 Themes, Apps, and Mods] orangpelupa:
I cannot open the file:( [MENTION=4949544]_FreaK_[/MENTION]
[Samsung Galaxy S7 Themes, Apps, and Mods] shahram Ali:
what about sm-g900h ?
[Samsung Galaxy S7 Themes, Apps, and Mods] _FreaK_:
Ok I managed to extract the files using droid explorer. I hope this zip will be ok :fingers-crossed:
[Samsung Galaxy S7 Themes, Apps, and Mods] Amalkotey:
Is it normal that in the settings under battery continue the the charging process is displayed?
[Samsung Galaxy S7 Themes, Apps, and Mods] abhiruprockzz:
side effects

dont you think this will cause battery damage over time?
[Samsung Galaxy S7 Themes, Apps, and Mods] PorterKR:
Control Charging on Galaxy S7

Did anyone ever help you out in expanding your app to work with the Galaxy S7?

If so, I am interested in knowing the filename and value that controls the charging on the S7

Thanks

Ken
[Samsung Galaxy S7 Themes, Apps, and Mods] *Detection*:
Why not just use a USB cable with the power pins removed? (Data only Micro USB cable)

Data and Power are separate pins, cut the plastic shielding, find out which wires are for power + and -, cut them and leave data only
[Galaxy S6 Q&A, Help & Troubleshooting] RighteousONE23:
OK so I'm new to all this I actually never done one of these so excuse me if I'm not doing this right. But I've found a simple way of I don't know if you want to call a bypass but a way into the phone from being locked out and stuck on Samsung factory reset protection.

I didn't use any special cords or any hacking of files it took me a about a week to figure out but I don't know weather to post how I did it or if this is even useful.

I managed to log onto Samsung account well basically everything like if it was never locked the only thing afterwards is the it doesn't let me remove the Samsung account that I signed in with and doesn't let me factory reset.

Just keeps loading the password option over and over but I can do everything else, and 1 more thing I did it all without a simple card so I haven't been able to see if the network would work.

So that I may call and receive messages and so fourth but maybe some advice on weather to post the method I came up with its about a 10 or 15 min process all yew need is WiFi a USB cable and PC and that's pretty much it so someone help me out you'll be amazed I think..
[Galaxy S6 Q&A, Help & Troubleshooting] Illogi.xbone:
Posted in wrong section. Also this was hard to read please format it a bit better.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] extremewonder1:
I have the Samsung Galaxy S5 by Verizon.

It is on the 6.0.1 firmware.

I rooted the device when it was one the 4.4 firmware. When I did OTA update, I lost it.

I am trying to flash the 4.4 rom onto the phone through ODIN.

I get this on ODIN

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> ALL_VZW_G900VVRU1ANCG_G900VVZW1ANCG_964333_REV00_user_low_ship_MULTI_CERT.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Set PIT file..

<ID:0/004> DO NOT TURN OFF TARGET!!

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> aboot.mbn

<ID:0/004> NAND Write Start!!

<ID:0/004> FAIL! (Auth)

<OSM> All threads completed. (succeed 0 / failed 1)

On the phone it says

SW REV CHECK FAIL : [aboot]Fused 2 > Binary 1

BTW the volume keys don't work so I used adb to enter download mode.

Please help

Thanks

I am on marshmallow 6.0.1

I can't flash any rom or tar files.

There is a screenshot attachment with more info.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] hauckk:
how to downgrade to kitkat

deleted
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] extremewonder1:
I can't root the phone because it won't let me flash a custom rom.

I also have tried flashing the rom from the micro SD but the phone says signature verification failed.
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] googlebing:
what Ota and baseband version are you on?
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] al50:
Go to this thread http://xdaforums.com/showthread.php?t=2784880

If you took the OTA of anything higher than OD5, you would be unable to ODIN back to NCG(KitKat). It sounds as if your device may have taken the OTA of MM....but I wouldn't be able to answer you that....as you had stated that you were on 4.4 KitKat, did you have at least SafeStrap installed? If so, try to flash the NI2 kernal via Odin to see if you can get back into SafeStrap....

---------- Post added at 03:24 AM ---------- Previous post was at 03:18 AM ----------

Why are you having him install TWRP and a CM ROM? No where did he mentioned that he had an "Unlocked Bootloader". He said that he was "ROOTED" on 4.4 KitKat and happened to lose root via an OTA. Which WE don't exactly know which OTA....so please, before digging him/her deeper in a hole, respectively respond with SAFE and Helpful advice....thank you
[Xiaomi Redmi 2 Questions & Answers] igorinolw:
Hello, today i downloaded the latest stable KK rom, and the China miui8 to do some tests in the new China rom, but couldnt flash because there was a error of "cant find flash_all, flash_except_storage, or even flash_except_data_storage. Bats. So i looked into the zip and there was no bats inside the folder.

I know i can simply try to flash via TWRP, but if i do that can i be able to reflash 4.4 rom via TWRP too if i want to come back? Last time i flashedLP bootloader , it wouldnt let me come back via recovery to KK bootloader. Only via miflash. Please give me some clarification if any of you already tried it! :laugh:
[Xiaomi Redmi 2 Questions & Answers] eyeyousee:
Maybe you are using the wrong rom update package. The recovery rom is different from fastboot rom. If you are trying to flash this "miui_HM2XWC_6.6.23_a0619b1eb0_4.4" package then this is for recovery procedure only. You should download the fastboot (rom) version.
[Xiaomi Redmi 2 Questions & Answers] igorinolw:
I downloaded both ones, LP rom for recovery and about 3 KK rom for fastboot(miflash). But the fastboot ones are missing the bat files, so i cant flash.

If you have any full download link please share xD
[Xiaomi Redmi 2 Questions & Answers] eyeyousee:
We need to know your model #. (Ex. 2014817 in my case) because flashing wrong model # of rom will give you problems with (service provider) radio signals.

I'm only downloading from official MIUI site.
[Moto G 2015 Q&A, Help & Troubleshooting] valkaizer2594:
last night my phone was working perfectly fine but now in the morning it started acting strange . can c touches at 2 points n this is happening in recovery mode too so i'm assuming it to be hardware issue.

does anybody knows what will be the cost to fix it?
[Moto Maxx Themes and Apps] junior_ilha:
I made some LOGOs.bin for our Moto Maxx, I believe this will work on Droid Turbo and X Style, but I can't confirm without the device in my hands. (resolution=1440 x 2560) Try at your own risk.

INSTALL MODE: Install Drivers in your PC, enable USB debugging (or load bootloader), download and run *.exe of your choose .

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

DOWNLOAD

Alternative: ARQUIVOS .BIN

ENJOY!

Equipe Maxximizar
[Moto Maxx Themes and Apps] Nitefire77:
These are awesome. I'm flashing one on my phone this morning. Thanks
[Moto Maxx Themes and Apps] PILLMUZIK3600:
Any chance of u making a flash able zip
[Moto Maxx Themes and Apps] junior_ilha:
Not Any time soon, I'll travel tomorrow. By the way I tryed before to put this logo.bin in another flashable.zip with no luck. Can you try?
[Moto Maxx Themes and Apps] Moondroid:
"Sorry, the file you have requested does not exist." None of the "DOWNLOAD" links I tried are working. And the alternate at the bottom of the OP gives a 404. Two different browsers, same results.
[Moto Maxx Themes and Apps] rayjr13:
do these links work for anyone?
[Moto Maxx Themes and Apps] ChazzMatt:
These do.

ADB flashable:

https://xdaforums.com/showpost.php?p=68538894&postcount=2

TWRP flashable:

https://xdaforums.com/showpost.php?p=68579272&postcount=5
[Moto Maxx Themes and Apps] rayjr13:
That's awesome...but do these links work for anyone?
[Moto Maxx Themes and Apps] ChazzMatt:
IF you are referring to the links in post #1, I just tried the last 2 working from the bottom up and YES the links caused a file to download to my PC from a Google Drive. But using my PC web browser, they seem to be downloading as .exe files, which makes no sense.

You can't run .exe files on an Android, and why would you need Windows .exe files for an Android boot logo on a PC? An EXE file is to INSTALL something on a PC. I scanned with Malwarebytes and there was no threat detected.
[Moto Maxx Themes and Apps] hitokage004:
I took a peak at one using 7-Zip and Resource Hacker. Using 7-Zip, I found it is a compressed file that contains: ADB, mfastboot, AdbWinUsbApi.dll, AdbWinApi.dll, a logo.bin file, a copy of the image in JPG format, an icon file, and a command file to automate the process of flashing from Windows and open the website www.maxximizar.vai.la (redirects to maxximizar.wordpress.com) in your default browser when done. Using Resource Hacker I found it is a self-extracting archive made using WinRAR using a custom icon, so that's why it's an .exe instead of .zip, .rar, etc.
[Moto Maxx Themes and Apps] ChazzMatt:
[MENTION=8477465]hitokage004[/MENTION], you've been very helpful in a lot of threads. Thank you!
[Moto Maxx Themes and Apps] junior_ilha:
I made those EXE files because it's easier to flash logo trough fastboot commands and those EXE ia an automated way to do it on your computer. I linked the .bin files if anyone wants to do it backuping/restoring the right partition from Android terminal or third app..
[Miscellaneous Android Development] 1heffer:
Hey Guys. A buddy asked me to fix his M7 so i cooked up this little "rom" for it. This is the latest firmware from monster that gives you full nand storage for apps and whatnot. None of that seperate partition BS.

I went ahead and debloated this img of most of the preinstalled chinaware apps. There are a few remaining that can be disabled in settings>apps such as facebook, movie studio, skype, and mwidget. I didn't have enough time to find them all.

It has solid explorer, open camera, and nova launcher. Rename the file to update.img and place on external sd card. It will flash from internal but you'll only have about 1 GB total storage, so don't do that.

It definately seems a little snappier than bone stock.

Uploaded to my Drive, Enjoy.

https://drive.google.com/file/d/0B0KjDbYxIBLwcy16WUhqdnM5cDQ/view?usp=drivesdk
[T-Mobile Galaxy Note 4 Q&A, Help & Troubleshooting] padre629:
Hi all.

When I'm listening to music with headphones and I receive a call, ringtone volume is TOO MUCH LOUD, it's annoying.

Has someone a fix?! :confused: I couldn't find a proper solution.

Any help is appreciated.

Thanks ;)
[OnePlus 2 Q&A, Help & Troubleshooting] paascal:
What's the use of this thing?! I use lux and cool tool draw over there app bs functions

.. Everytime I instal a new app I need to turn them off and back on after install... is there a way to allow install or what ever is needed a without having to go in settings to turn then off??

Thanks!
[OnePlus 2 Q&A, Help & Troubleshooting] nuwan32:
if you have supersu then go to settings and uncheck disable tapjacking.
[OnePlus 2 Q&A, Help & Troubleshooting] paascal:
Toooo really ?? thanks!
[OnePlus 2 Q&A, Help & Troubleshooting] DJSetsugekka:
tapjacking
[X Play Q&A, Help & Troubleshooting] pcordon:
Hi everyone,

I'm running [RECOVERY][lux] TWRP 2.8.7.0 by vache and Marshmallow 6.0.1 on my Moto X Play XT1563. I tried rooting with [STABLE][2015.02.13] SuperSU v2.46 by Chainfire as suggested here but the phone went bonkers so I flashed back to stock 5.1.1 using the commands from this guide, but some of them failed. So I'm guessing something went wrong...

For some reason it keeps booting into the bootloader. I can make it boot into the operating system by selecting "START" at the bootloader screen or through TWRP, and the phone works perfectly, but it doesn't boot into the system automatically. Any ideas? Any way to define the boot order or something?

Thank you in advance. Any help would be greatly appreciated!
[X Play Q&A, Help & Troubleshooting] blankingblank:
For starters you flashed the wrong super su. 2.62 beta I think is the version that's been proven stable on our device (6.0 and later). Regarding the failed fastboot commands, if you open flashfile.xml as a text file (it's located within the firmware zip), you can see the commands you need to use listed in order, as it's basically a flash script
[X Play Q&A, Help & Troubleshooting] pcordon:
Thank you tons, [MENTION=5755367]blankingblank[/MENTION]. One question, how does one know exactly which stock firmware will work? The phone is from the carrier CLARO from Guatemala (Latin America).

I'm assuming the FileFactory link in this thread has all the stock firmwares available for the XT1563 but I can't find mine, or maybe it has a codename.
[X Play Q&A, Help & Troubleshooting] hostel666:
can this help you...

https://github.com/motoxplay/stock
[X Play Q&A, Help & Troubleshooting] EnIXmA:
I am having the same problem.. I reverted from tells 6.0.1 firmware to ca stock... everything is working fine other than that, so I just don't want to mess with it
[X Play Q&A, Help & Troubleshooting] pcordon:
Finally, I fixed mine, which also fixed other issues I was having like battery drain and slow CPU. In case it helps you or others, here's what I did:

INSTALL STOCK 6.0.1

Download the stock 6.0.1 firmware for your phone from this page and unzip it.

Download Fastboot from this thread and unzip it.

Copy the Fastboot files into the firmware directory.

Boot your phone into the bootloader and connect it to your computer.

Open a command prompt and change directories to the firmware directory. Or you can hold SHIFT + right-click on the directory and select "Open command prompt here".

Open flashfile.xml with Notepad or any other text/code editor and use Fastboot to execute every command listed inside the <steps> tags.

For example:

<step operation="getvar" var="max-sparse-size"/>
<step operation="oem" var="fb_mode_set"/>
<step MD5="72ff98a4bab4cb3466c3c047545c1054" filename="gpt.bin" operation="flash" partition="partition"/>
<step MD5="2dd596a82800956cc524a5f99de9b551" filename="bootloader.img" operation="flash" partition="bootloader"/>
<step MD5="afa75744dfa9cace4ee8c3c3c9a51758" filename="logo.bin" operation="flash" partition="logo"/>
<step MD5="c5fb7911ce215cd7dc5a7305c72fef10" filename="boot.img" operation="flash" partition="boot"/>
<step MD5="ed258b6daba8406a4986e938e15ad281" filename="recovery.img" operation="flash" partition="recovery"/>
etc.

This code would translate to the following commands:

fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
etc.

It will take a while for some commands, especially the system.img_sparsechunk ones.

Finally, type fastboot reboot and your phone should boot directly into Marshmallow 6.0.1.

INSTALL TWRP RECOVERY

Download [RECOVERY][lux] TWRP 2.8.7.0 and rename it to something like recovery.img. Not sure if other versions work but this one did it for me.

Move the TWRP file into the Fastboot directory.

Open a command prompt in the Fastboot directory.

Boot your phone into the bootloader and connect it to the computer.

Type fastboot flash recovery.img and then fastboot reboot.

ROOT IT

Download SuperSU 2.62-3 directly into your phone or to your computer (and then transfer it to your phone via USB or something).

Boot into recovery mode (TWRP) and allow system modification or whatever it asks at first.

Go to the TWRP console, I think it's something like Settings -> Advanced -> Terminal or Console or something like that. And type the following command:

echo SYSTEMLESS=true>>/data/.supersu

Go back to the main menu and select Install.

Travel to the directory where you saved the SuperSU file and install it.

Reboot and you're now rooted. :)

NOTE! If TWRP asks you to install SuperSU, DON'T do it! I learned this the hard way. :(
[X Play Q&A, Help & Troubleshooting] EnIXmA:
Thx man.. so after flashing 6.0.1 and fixing bootloader, you can flash 5.1 without gpt and bootloader?
[X Play Q&A, Help & Troubleshooting] pcordon:
[MENTION=4497505]EnIXmA[/MENTION] You could flash 5.1 but why would you want to do that if you can be with 6.0.1 + root?
[X Play Q&A, Help & Troubleshooting] EnIXmA:
I don't like 6.0.1
[X Play Q&A, Help & Troubleshooting] filipecoimbra222:
I have the same problem. My phone boot directly into bootloader, not system. If i plug my charger with phone off, instead of showing the battery display, it turns the phone on and bootloader screen appears. If i reboot the phone, it go directly to bootloader instead of a normal reboot. I alredy tried flashing the Stock ROM but the problem persist. Can anyone give me some light on this? I tried everything and nothing...