yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gh0stslayer:
Some useful Shell Commands

USB FAST CHARGE Enable:

echo 1 > /sys/kernel/fast_charge/force_fast_charge

USB FAST CHARGE Disable:

echo 0 > /sys/kernel/fast_charge/force_fast_charge

SET GPU CLOCK:

echo x > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc

where x is your desired GPU Frequency or frequency step

SET CPU GOVERNER

echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

replace interactive with your desired governer

LOAD A KERNEL MODULE

insmod /system/lib/modules/module_name

TCP CONGESTION ALGORITHM

/system/xbin/sysctl -w net.ipv4.tcp_congestion_control=reno

replace reno with your desired value

SET CPU MIN FREQUENCY

echo 350000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

replace 350000 (350 MHz)with your desired frequency

SET CPU MAX FREQUENCY

echo 1500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

replace 1500000(1.5 Ghz) with your desired frequency

SET READ AHEAD BUFFER

echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb

replace 1024 with your desired value(in KB)

SET I/O SCHEDULER

echo row > /sys/block/mmcblk0/queue/scheduler

replace row with your desired governer
[Android Apps and Games] Lumia997:
Boot Shell has stopped....

My system is 4.0.4

you one picture system UI is beautiful,can you sharing me?

:good:
[Android Apps and Games] gh0stslayer:
[MENTION=5714392]Lumia997[/MENTION] :

Sorry about that, a new version has been uploaded , please try it. Thanks :)

sorry I don't understand, what do you want me to share ?
[Android Apps and Games] Dovidhalevi:
OK, how does this baby work? That is, what executes the commands? When (linux boot, zygote startup, dalvik up and running)??

How does this relate to selinux?

I have scripts in /data/local/userinit.d/ which are supposed to be run by the init.d system. The only one I know that runs is link2sd's script if I move it to there. Others, apparently do not run, even in cm-10.2 with permissive selinux. I have tasker run them, successfully, when it begins its "listening."

The lead question here is critical! If the app must be present at boot (it is an apk, however!), then it needs be on internal storage or better, on system! If the app needs be present only for its UI, it can be on sdcard or linked (link2sd). It is a user app but maybe it needs place something on system or /etc/init.d/ to operate?
[Android Apps and Games] gh0stslayer:
The commands saved on this app are executed in the same way they are executed by a Linux Shell Emulator, or a Terminal on a Native Linux system. The only difference is it save the commands you enter and executes them as soon as the device finishes booting. You can also save commands to a favourite list , which will not be executed at boot, but allows you to manually execute them as you wish.

Edit: - Info: - It uses busybox to execute shell commands

The app works fine when placed on the internal storage of the device, though I am not sure about if it will work if placed on SD Card but in theory it should work, no need to place it on the /system partition.

It cannot run whole shell scripts only single commands, but you can save as many commands as you like

Just make sure you enter a valid command and that you kernel or device supports it.
[Android Apps and Games] Dovidhalevi:
Thanks for the info. In other words, would work as I use tasker now but with a much easier UI for scripts entry. Not really a substitute for /etc/init.d functionality because would get run later but otherwise, quite nice. Note that current cm-11 ROMs (for my old LG P500 at any rate) are quite slow getting startup services going.
[Android Apps and Games] gh0stslayer:
Yup, not really a substitute for complex init.d scripts, and yes quite similar to the way tasker does shell commands at boot.

But it should be more than enough for some simple CPU, I/O and kernel tweaking etc.
[Android Apps and Games] Dovidhalevi:
... and maybe a tasker plugin to execute "favorites" entered to this app?
[Android Apps and Games] gh0stslayer:
Hmmm, I will have to look into it. I have no knowledge about how to develop plugins for tasker :silly: but I can try, no promises though. :o

But can't you already add commands in tasker and schedule their execution ?
[Android Apps and Games] Dovidhalevi:
It is excruciatingly difficult to enter this stuff on the phone's keyboards. So if I have a "favorite"command in this app and later on decide to use it in tasker, I would not be to happy with struggling to enter it a second time :)

BTW, most of what I have entered as script are in bash script files. Can these be run by the app or only single line commands?
[Android Apps and Games] gh0stslayer:
Single line commands only, you can add the next line of bash script as another command .

Edit:

If you wanna use the same command else where , click on the command select edit and copy the command from the textbox. No need to enter it again. :D
[Android Apps and Games] nikwen:
Big thanks for that. :)

In my opinion it's great that you finished your app. Good job. :good:
[Android Apps and Games] gh0stslayer:
Thank you very much :)
[Android Apps and Games] gh0stslayer:
Hello everyone, Boot Shell is now available on Play Store. Please find it here

https://play.google.com/store/apps/details?id=com.kislay.bootshellcommand

The signature for the app has changed so you will have to uninstall the old version to be able to install the new one. To backup your commands, please backup app data using titanium backup or helium, uninstall, reinstall from play store and restore app data. I am really sorry for this inconvenience.
[Android Apps and Games] gh0stslayer:
New version is up-

Changes -

Fixed up strings

Added feedback options (E-mail and Play Store)

There is an easter egg somewhere too :D
[Android Apps and Games] gh0stslayer:
Version 1.2 is now up-

Changes -

-Fixed a bug with exporting commands to SD Card

-Added a cancel option to command edit dialog

-Minor Code Cleanup

Please feel free to drop your feedback/ comments/ ratings

Email if you need any help, guidance or wanna report a bug.
[Android Apps and Games] gh0stslayer:
New major update -

Changelog-

Version 2.0 -> 21- Mar - 2014

-Major Overhaul

-Ability to Execute Scripts at boot [Pro Version]

-View outputs and errors after command execution [Pro Version]

-Inbuilt Text/Script Editor [Pro Version]

Pro Version Link - Boot Shell Pro
[Android Apps and Games] ardi123:
help

I use that bootshell but need more time for executing ,its that normal because i already w8 for 4 hours
[Android Apps and Games] alexJ567:
Support

Hi OP,

Are you still supporting this app ?

thx

---------- Post added at 08:04 AM ---------- Previous post was at 07:42 AM ----------

Would lit be possible to view & update the device ID , phone ID, camera etc
[Android Apps and Games] GeriLynneDuke:
Gpa4.9,+

2Groot Return​ To bewt true +abuai.
[LG G Flex] gtamgs15:
Ive had this phone for less than 24 hours and ive already got a pixel thats dead. And it appears to be growing in a perfect circle. Anyone else get a dead pixel?
[LG G Flex] copualt3:
Can you post a picture?
[LG G Flex] gtamgs15:
Yeah, when i have access to another camera. Give me a few hours.
[LG G Flex] avetny:
What? dead pixels on g flex? Damn I tough is impossible.

Post a pic
[LG G Flex] vw65bus:
Can a screen shot not show it
[LG G Flex] gtamgs15:
No. It doesnt show up in screenshots.
[LG G Flex] vw65bus:
Well that sucks
[LG G Flex] gtamgs15:
Heres a pic. Its quite obvious. The perfect dot in the middle of the white space.
[LG G Flex] gtamgs15:
https://www.youtube.com/watch?v=BCA6LnWgVlE&feature=youtube_gdata_player

I would recommend turning the sound down. Loud place i was in.
[LG G Flex] vw65bus:
Can you exchange it, that does suck
[LG G Flex] gtamgs15:
I'm at the at&t store right now. They said they'd warranty replace it.
[LG G Flex] Xak:
Lucky if your in warrenty it doesnt matter which obviously you are and its not hacked due to no hacks available for d950 atm. i got mine and switched to AT&T next plan new phone every year :D Previous device in sig.
[Verizon HTC One (M7)] htcone67:
I recently received a Verizon HTC One as part of a trade I made. It came rooted/unlocked/s-off already with Unsense 4.4.2 rom installed already. I gave this phone to my wife and she does not like that you have to unlock the screen on the lockscreen first then hit answer to answer phone calls, so I was thinking of installing either the NuSense rom or wait for the bloatfree stock 4.4.2 rom to be posted and use that. The question I have is can I install everything via TWRP recovery that is already installed on the phone for NUSense or for the stock bloat removed 4.4.2 stock (when it gets posted). I have never used adb/fastboot before so was trying to read up on that, but is there a official HTC one rom flashing guide anywhere here?

Thanks
[Verizon HTC One (M7)] brymaster5000:
Download the Rom.zip. Go into recovery, do a backup. Then wipe cache, dalvik, system, data, and boot under advanced wipe. Do not wipe internal storage.

Back out and install the zip. Reboot and enjoy.

Sent from my Ecliptic One.
[Verizon HTC One (M7)] htcone67:
Thank you
[MDA II, XDA II, 2060 General] Ionutz:
Hello everyone,

I have a Newlink Bluetooth dongle and i have a problem with it:

i have downloaded the driver from his home page and instaled but windows force to put it's own.

Q: how can I put his driver instead of windows one?

thanks and best regards
[MDA II, XDA II, 2060 General] Rudegar:
the drivers have to be of a newer date to work after xp sp2

i got some newer ones from belkin i could use but if all you need is

sync then you can just use the ms ones
[MDA II, XDA II, 2060 General] Ionutz:
Thanks

Could you give a link with a new driver? I have XP with the latest updates and SP installed on my PC. Where can I find that driver?

regards
[Micromax A116] G.Ashwinkumar:
Guys i want to know if our device requires

1) A custom recovery.fstab, such as those containing an /sdcard symlinked to /data/media.

e.g.

/sdcard datamedia /dev/null

# more recovery.fstab entries here

2) A custom graphics.c, such as those which may have non-aosp framebuffer format

3) And if it Performs any device specific initialization using the postrecoveryboot.sh script.

If our device requires or has those can you give me the download links?
[Sprint Samsung Galaxy S 4 Themes and Apps] gonczarkid22:
Want to have mobile hotspot but upgraded your S4 to MK2? Wifi Tether Router works with MK2 after doing the proper configuration as advised on the website the dev provides in the app description. Support the developer (Fabio Grasso) and buy the $1.50 app. It works great.

App does require Root. (Btw im on rooted stock MK2)

https://play.google.com/store/apps/details?id=net.snclab.wifitetherrouter
[Sprint Samsung Galaxy S 4 Themes and Apps] gotablunt:
Mk2 has a update but not posted in the Op's 1st post...no need pay
[Galaxy Tab 3 Q&A, Help & Troubleshooting] tcmixx:
Hello Im having a lot of problems with my device. Its the GT-P5220. I was trying to install a rom. But now I cant get out of the bootloop. I wiped everything and tried installing the rom but it says no os installed and then it keeps on going into a bootloop back to recovery. I can acess adb and push and sideload the rom. But I have no idea what to do now? I also think i wiped the internal storage via twrp if that is the problem. Thanks in Advance.
[Galaxy Tab 3 Q&A, Help & Troubleshooting] chchia:
why dont you use odin in download mode?
[Galaxy Tab 3 Q&A, Help & Troubleshooting] tcmixx:
I can't acess download mode via button press. It only goes into recovery.
[Android Q&A, Help & Troubleshooting] FatCat0:
I have found a couple other people talking about this (can't post links yet, sorry), but it seems that people are largely unaware that Android does this (if you look at that other thread it is mostly people suggesting how the TC probably did enter relevant information into google somehow).

So basically it seems that at least some Android phones are listening and interpreting what is said during phone calls. People have said that they would hear about a restaurant from a friend on the phone, and then cards for that restaurant would show up in google now. Or advertisements would start to show up in google ad services. Or in my case, I got an address over the phone, wrote it down on paper, went to google maps and typed the first two numbers of the address (the street number of the address was four numbers long) before the first suggested address popped up and lo-and-behold it was what I was going to type. This was moderately convenient I suppose, but I am a little uncomfortable with how little I know of the extent to which this is happening.

Has anyone else noticed this behavior? Is it somewhere in some permission that I don't remember accepting, or in the general TOU of the OS?

My main concern isn't really THAT Android does this. Like I said, it can be convenient, and I already ignore pretty much all advertisement without even having to think about it at this point so targeted ads don't bother me so much (though there was one instance where someone suspected they started getting spam emails via this method, which sounds annoying). I am more worried that I don't know where ELSE and how ELSE this information is going/being used.

I'm on a Verizon Note 3, for reference.
[Android Q&A, Help & Troubleshooting] FatCat0:
A bunch of people looked at this but no one responded, so I want to give it a little poke. At this point I am fairly certain that some voice recognition is being done during phone calls. I'm still not certain how I feel about that.
[Android Q&A, Help & Troubleshooting] NotReallyyy:
Hello,

I was erasing some stuff with titanium backup and I delete intentionally the people app, because I didn't want my phone list on the google account; however deleting people app has broken somehow the dialer too and now I can't use it anymore.

I tryed to delete totally the stock dialer and installing a new one downloaded from google play store but it still doesn't work (I couldn't see while calling).

I tryed to download and use the .apk files from kitkat but none of them works.

My phone is a Moto G and it's rooted.

Could someone please give me a suggestion about what to do?

Thanks in advance!
[Android Q&A, Help & Troubleshooting] NotReallyyy:
taken etsonc

Ok nevermind, I solved flashing the stock rom with a guide
[Android General] daser4ever96:
First Step : Installing ADB Drivers

For windows : download PdaNet from here http://pdanet.co/a/

Second Step : Downloading ADB

For Mac : View attachment 2566782

For Windows : View attachment 2566785

Third Step : Installing ADB :-

For windows : Just extract it in directly in "C" partition

For Mac : Just extract it in any partition you want

Fourth Step :-

Openingthe ADB on Windows : Open start > Type "cmd" > Open the appeared program > Type in it "cd.." > Type "cd.." again

Opening the ADB on Mac :-

1) Open Start

2) Type "Terminal"

3) Open the appeared program

4) Type in it "nano ~/.bash_profile"

5) Type in it "export PATH=${PATH}:@@@@" (Replace the "@@@@" with the folder where you extract the ADB)

6) Save the files

7) press CTRL+X (To exit)

8) press Y (to confirm the save then press enter)

Final Step :-

Using the ADB on Windows/Mac :-

1) Type : "adb shell reboot recovery" (To reboot your phone into recovery)

2) Type "adb shell" (after rebooting Your phone into ClockworkMod Recovery)

3) Type "parted /dev/block/mmcblk0" (To open parted and mounts your SD-Card)

4) Type "print" (displays SD-Card partitions info)

5) Type "rm" (To delete a partition) then write the number of it

6) Type "mkpartfs primary fat32 0 27992" (This is for the Primary SD-Card-Ext) 28GB

7) Type "mkpartfs primary ext2 27992 28492" (This is for the System) 3GB

8) Type "mkpartfs primary ext2 28492 31492" (This is for the SD-Card-Int) 500MG

9) Type "mkpartfs primary ext2 31492 31692" (This is for the SD-Cache)199 MG

10) Type "mkpartfs primary linux-swap 00000 00000" (This is for the Lynux-swap) (If you do not know what it do, Do not try to make it)

You can change the Blue number according to your SD-Card size the provided numbers in this thread is for 32GB SD-Card

Note : You can Creat 4 SD-Partitions including the Primary SD-Card

Useful ADB commands :-

Note: to run all these commands, make sure USB debugging is enabled on your device

adb devices = list all connected devices

adb push = copy file/dir to device

adb pull [] = copy file/dir from device

adb sync [] = copy host->device only if changed

adb reboot = reboot your phone normally

adb reboot recovery = to reboot into recovery

adb reboot fastboot = to reboot fastboot

adb reboot bootloader = to reboot into bootloader

adb install [-l] [-r] [-s] = push this package file to the device and install it

adb uninstall [-k] = remove this app package from the device (‘-k’ means keep the data and cache directories)

adb help = show this help message

adb version = show version num

adb root = restarts the adbd daemon with root permissions

adb shell = run remote shell interactively

adb shell = run remote shell command

Useful Fastboot commands :-

Note: to run all these commands, your android devices must be in fastboot mode.

fastboot devices = to detect devices in fastboot mode

fastboot flash recovery twrp.img = to flash a recovery called twrp.img (put it in your fastboot folder)

fastboot oem unlock = to unlock bootloader of Nexus devices.
[Themer General Discussion] beelbeel:
I enjoy that it is easy to access the themer menu easily, but it triggers very frequently when I am using the dialer widget. Is there any way to disable the menu?
[Themer General Discussion] alldroid:
Have had same issue as have others m8,the developers are looking into it
[Themer General Discussion] Noyamori:
For the moment, you can uncheck "Lock homescreen Widgets" in Advanced Settings > Desktop, I think that's a little bit more slowly to appear. :)
[Themer General Discussion] 2wtraveler:
The problem is that Themer has "double tap" for Themer Menu in the Gestures. When using the Dialer widget you type the first 2 numbers and it thinks you double tapped. Wish I could disable this gesture.
[Themer General Discussion] ThemerSupport:
Hi,

Hold down on the homescreen - Themer Settings - Gestures - Double Tap - select the "X" at the top of the screen. Done :)
[Themer General Discussion] saber9397:
Well I find that it triggers much too easy as only a long press menu as well. In your case, just disable the double tap gesture in the settings.

But yea, that menu is popping up all the time for me when I don't want it to. Would like more settings for this. I have it set to pop up with long press on the home button. That is good enough for me. No need for it on the screen. An option to disable would be great.

Also would like an option to get rid of the red X on long presses when widgets are unlocked.
[Android Q&A, Help & Troubleshooting] dargaud:
Hello all,

I didn't find a Cyanogen specific forum so I'm posting here.

The last stock update to my Galaxy SII somewhat messed it up, it started running boiling hot, drining the battery without showing any CPU or anything. So today I installed the stable CyanogenMod (10.1.3) and so far it doesn't have this problem.

Two important questions:

- how do I get my gmail address book inside the phone ? Under Settings/Accounts I only see CyanogenMod, and trying to add one gives me Corporate (Exchange), CyanogenMod (again) and Email.

- how do I get Swype ? It's not available from the Language&Input settings.

- how do I view the external SD card from the file manager ? It only shows the internal storage.

OK, that was 3. Thanks
[Android Q&A, Help & Troubleshooting] frantisek.nesveda:
Did you also install the gapps package when installing CyanogenMod? The Google Account is only available when you install gapps.

CyanogenMod doesn't come with Google Apps and accound and other Googly stuff preinstalled, due to licencing issues. You have to flash gapps separately in recovery, after installing CyanogenMod. You can read more about gapps and download them here.

Swype is available here on Play Store. There is also a free version, you can find it on Play Store as well.

Note that to be able to install apps from Play Store, you have to install the gapps package first.

Go to File manager - Settings - General Settings, and under Access Mode select Root Access Mode. Press allow on the dialog that pops up, and then go back to the directory listing in File Manager. On the top of the app you will see the path which you are currently viewing. Click on the / and you will get to the root directory of your phone, where you can find a folder called externalSD or something similar. That is your external SD card.

Hope this helps.
[Android Q&A, Help & Troubleshooting] dargaud:
Thanks. I didn't know that. I got it installed and everything is back now, even previous apps. Great.

I had it on the stock phone, so I simply did not think about that. Thanks again.

That solves it, but requiring root just to access sdcard files is a bit dangerous if it can access any system files as well...
[Android Q&A, Help & Troubleshooting] frantisek.nesveda:
Well, root access is not required to access the external storage card, but you have to enable root access to be able to go to other directories than internal SD card in the CyanogenMod File Manager. It is a bad design decision, though.

You may install other file manager apps from the Play Store, lots of them have the option to access external SD card without root. I don't have a phone with internal AND an external storage, so I can't test it, but I believe Clean File Manager will do the job fine, at least based on its Play Store description. You could also try Astro File Manager or ES File Explorer, these are one of the most popular file managers on Android.
[Android Q&A, Help & Troubleshooting] dargaud:
Thank you. I used "OI file manager" and it worked fine.

I have a few other questions as I discover Cyanogen if you don't mind:

- it took me a while to get the FM radio working again, thanks to Spirit UL

- using the default Apollo music player, I don't see how I can 'Play all'. I can queue a song, an album or an artist. But I don't see how I can randomly play everything. The menu button hardly ever seems to do anything.
[Android Q&A, Help & Troubleshooting] frantisek.nesveda:
I'm not using FM radio on my phones, so I can't help you with that much, sorry. But if it is working now, then everything is OK.

This may be because you are using CyanogenMod 10.1. Apollo was just beginning when CM 10.1 was released, so the option to Shuffle All may not be there. I've got CyanogenMod 10.2 on my phone and CyanogenMod 11 on my tablet and I've got the option to Shuffle All present when I press the overflow menu button on the starting screen of Apollo. See the picture:

If you really don't have the option there, you have a few options:

Install a newer version of Apollo from this thread.

Install a newer version of CyanogenMod, which will include the newer Apollo. CM 11 is the latest and greatest, and a lot has improved from CM 10.1. Here is the official thread for your device. Really, you should try it.

Install another music player. I'm using NexMusic and I'm very happy.

By the way, when you reply to someone, then if you quote his post, he can get a notification that you quoted the post and find out about your new reply. Otherwise it's a small probability that he'll notice there is a new post in the thread. I saw your reply by chance, when I was searching for another thread I posted in. You can quote a post by clicking the Reply button under it.

Here's some other XDA Tips you may find helpful.
[Android Q&A, Help & Troubleshooting] dargaud:
Apparently, the latest for the Galaxy SII is 10.1.3, so I'll have to wait a while or use another music player. No biggie. Thanks for the tips.