yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] Jeff:
Is there any way of integrating your LED program into the data flow from the USB cable as in newer versions of WM5torage?

WM5torage blinks the LEDs and even vibrates the device to reflect Read/Write access to the exported disk which is ingenious. Curious to know if there is someway of doing this programatically for data read in/out of device like some form of a visual bandwidth meter?

Thanks in advance...
[Windows Mobile Development and Hacking General] vijay555:
It could be feasible to control the standard notification led in that way, or it's possible to hack the whole device to say show blue led for device reads, and red lead for device write etc.

V
[Windows Mobile Development and Hacking General] Jeff:
Vijay555, thanks for yor quick reply, I know of your reputation as a wm5 programming God, I use many of your programs so I am sure that this could turn into something! Could this one be called Vlights or VLEDS or something along those lines? Keep us posted! :)

Regards
[Windows Mobile Development and Hacking General] vijay555:
Lol, I'm no God, not even an anagram of the word!

I've written code for control of the leds on some HTC devices (outside and expanded beyond the normal api) - try VJPlumBum for a test. However, for general device compatibility it'd be best to use the normal nled api. However, either way, you'd need access to the WM5torage source code ideally. Why not suggest the idea to the author?

V
[Windows Mobile Development and Hacking General] Treo_newb:
Total LEDs reported by Windows: 2

LEDUp 0 0 - led off

LEDUp 0 1 - led blinks green

LEDUp 0 2 - led blinks green (appears no different than 0 1)

LEDUp 1 0 - vib off

LEDUp 1 1 - repeating vibrate

LEDUp 1 2 - repeating vibrate (appears no different than 1 1)

Question

ledup reports 2 leds on the treo 700 series . Ledup-02 is the same as 01.Can 02 be tweaked to get red led blink?If so how difficult would it be to tweak ledup making red blink a reality for the wm palm owner.

I'm now on mortscript level of building software.Any help would be much appreciated.:)

P.S

vijay555 I give VJPlumBum a try in the treo:) No led blink but the tune was great :D

Phil C
[Windows Mobile Development and Hacking General] _TB_TB_:
Please remember, that "2 leds" means that there are two "signaling devices" available for the standard applications usage. This may be LEDs, Vibes, or anything else.

LEDUp 0 1 = LEDUp 0 2 is true for most of the devices, because the drivers implement both "active" and "blink" in the same way.

To controll the LEDs more extensively one should most propably use the drivers directly...

Source code below:

ledz.h:

# include <nled.h>

extern "C"
{
BOOL NLedGetDeviceInfo(INT nID, PVOID pOutput);
BOOL NLedSetDevice(INT nID, PVOID pOutput);
}

int GetLedCount()
{
NLED_COUNT_INFO nci;
int wCount = 0;

if(NLedGetDeviceInfo(NLED_COUNT_INFO_ID, (PVOID) &nci))
wCount = (int) nci.cLeds;

return wCount;
}

void SetLedStatus(int wLed, int wStatus)
{
NLED_SETTINGS_INFO nsi;

nsi.LedNum = (INT) wLed;
nsi.OffOnBlink = (INT) wStatus;

NLedSetDevice(NLED_SETTINGS_INFO_ID, &nsi);
}

Main cpp file:

// LEDUp.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "ledz.h"

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
if((_tcslen(lpCmdLine) < 1) || (_tcslen(lpCmdLine) > 3)){
TCHAR buf[50];
_stprintf(buf, _T("Total LEDs reported by Windows: %d"), GetLedCount());
MessageBox(GetForegroundWindow(), _T("LEDUp: a simple command - line tool for LED/vibe setup.\nUsage:\n\nLEDUp.exe ledno ledstate\n\nWhere ledstate:\n\t0\toff (normal)\n\t1\ton\n\t2\tblink\n\nledno is a LED number (sometimes vibe engine is reported as LED)."), _T("LEDUp info"), MB_OK|MB_ICONINFORMATION);
MessageBox(GetForegroundWindow(), buf, _T("LEDUp info"), MB_OK|MB_ICONINFORMATION);

if(IDYES == MessageBox(GetForegroundWindow(), _T("Test the LEDs now?"), _T("LEDUp Test"), MB_YESNO|MB_ICONQUESTION)){
for(int i = 0; i < GetLedCount(); i++){
for(int j = 0; j < 3; j++){
_stprintf(buf, _T("Testing LED #%d, state %d\ncmd. line: LEDUp %d %d"), i, j, i, j);
SetLedStatus(i, j);
MessageBox(GetForegroundWindow(), buf, _T("LEDUp LED test"), MB_OK|MB_ICONINFORMATION);
}
SetLedStatus(i, 0);
}
}

return 0;
}

_tcsrev(lpCmdLine);

SetLedStatus(_wtoi(_tcsrev(lpCmdLine) + 2), _wtoi(_tcsrev(lpCmdLine) + 2));
return 0;
}
[Windows Mobile Development and Hacking General] Treo_newb:
Thanks TB for all your help:)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] RustyWedges:
Running stock Android 4.4.2

I have bluetooth headphones. After disconnecting the headphones, everything on the phone looks like there isn't an active bluetooth connection. If I play a song without headphones connected, it plays through the speaker. But when I make phone calls there is no audio and when I hit the volume rocker, the bluetooth logo appears as if its adjusting the volume for a bluetooth connection. It's random but always seems to happen at the worse times.

I've also noticed that occasionally the "connected as media device" notification stays after I've disconnected the USB cable.

What can I do to figure out what the is going on?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] DocHoliday77:
Did you start over clean after updating? If not, it sounds to me like some data from your previous build might be either corrupted somehow or partially incompatible.

Try wiping data for Bluetooth Share, MTP Application, Media Storage and USB Settings. Then reboot. (It may seem to be working a bit extra when rebuilding the Media Storage data. Might be best to leave it alone for 10 minutes after rebooting, and maybe reboot again in an hour.)

If none of that seems to help you might need to factory reset.
[Java for Android App Development] Scott.w:
I am an ms access guy but I started playing with the aide interface for android. I bought the premium key and the next day it doesn't work on the interface. It says "Unlock all features" again. The app is running. The interface just doesn't recognize it. What happened?? Thoughts? (Other than I should stick to access if I can't even get aide to work)
[Java for Android App Development] tschmid:
Clear app cache of aide and premium key, deinstall both and reinstall them both. Maybee this helps

Gesendet von meinem LG-D855 mit Tapatalk
[Java for Android App Development] Scott.w:
That worked, thanks. I uninstalled the premium key and it didn't charge me the second time. It looked like it was going to, but didn't. Now it works great.
[Nexus 4 Q&A, Help & Troubleshooting] danfalcas:
Is there any fix for this?

I am unable to use my front camera.
[Nexus 4 Q&A, Help & Troubleshooting] CCody:
Do a reboot and you are good to go. And disable HDR. That sh*t causes trouble. Miss a lot of good pictures cause of this...
[Nexus 4 Q&A, Help & Troubleshooting] danfalcas:
I am able to use the rear camera, but if I change it to the front one the camera apps, all of them, FCs :/
[Nexus 4 Q&A, Help & Troubleshooting] CalculatedRisk:
Have you tried flashing the stock 4.4.4 image.
[Android Apps and Games] XsMagical:
This is the Team Nocturnal Wallpaper app for any Android device. This app is remotely loaded with thousands of HD wallpapers that will fit any screen, from small cell phones to large tablets.

This explosive app will bring High Definition wallpapers to your Android device, you will have access to have great wallpapers with extreme clarity and no storage hassle! One of the best things about Nocturnal Walls, we host your walls so you only download the ones you just choose, saving you data in the meantime. We add more and more high definition wallpapers daily! This app will also auto populate with the new wallpapers we add to the server so you wont have to worry about downloading an updated version of this app to gain access to the new walls!!!

Thanks to the following people that contributed to this project

Team-Nocturnal.com

-GruesomeWolf

-BillBowers

-Vinman12

-Budone

-Powduh

-mijjah74

-Bigtoysrock

-Billyho7993

-JamieG

-mrjaydee82

-NineInchNails

-ChongoDroid

-XsMagical

-Benbailey84

To Apply wallpapers:

Goto menu or where you would go to change your wallpaper

Select Nocturnal Wallpapers

Choose a wallpaper

Push Apply

Please don't Kang our work.

Download the Nocturnal Wallpaper Below

http://forums.team-nocturnal.com/index.php/topic/872-
[Android Apps and Games] XsMagical:
reserved ......
[Android Apps and Games] XsMagical:
reserved .........
[Android Apps and Games] whostolemynick:
nice app! Keep up the good work!
[Android Apps and Games] mijjah74:
Thanks X
[T-Mobile Samsung Galaxy S 4] SaintCity86:
I've got a new s4 coming from my insurance plan Cuz I broke my screen.

Is there anyway I can get twrp installed without having to sit down at a computer? So I can restore my backup and have it root itself? Help much appreciated.
[T-Mobile Samsung Galaxy S 4] rlichtefeld:
Search for Towelroot. I believe it will root the Tmo S4 without tripping the Knox flag. I don't think it requires a computer.

And, then once rooted you can install TWRP Manager from the Play Store.
[T-Mobile Samsung Galaxy S 4] The Sickness:
TowelRoot will give you root. When you flash a custom recovery it will trip Knox.
[T-Mobile Samsung Galaxy S 4] SaintCity86:
What do you mean it'll trip knox? Ive never had any issues with anything called knox when I rooted and flashed on my original S4 a couple years ago when I first got it.

[MENTION=4921688]The Sickness[/MENTION] , are you saying that I WILL run into knox issues if I use this towelroot?

How do I avoid any knox issues? I don't really have access to a computer so all I'm really trying to do is get it rooted with twrp installed, without using a computer if possible. But if I have to use a computer to avoid knox issues, then let me know.

Thanks
[T-Mobile Samsung Galaxy S 4] The Sickness:
Your new phone will come with 4.3 or 4.4.2. Both have Knox Bootloader.

TowelRoot will give you root. When you flash a custom recovery it will trip Knox. The only way to avoid Knox is to keep the stock recovery. And it will not allow you to flash custom roms.

TowelRoot root is a apk. You just run it and your done.

Haters Made Me Famous

Deviant Team Member
[T-Mobile Samsung Galaxy S 4] SaintCity86:
So your telling me there is no way to flash custom roms on my new s4?

That seems unlikely. How is everybody else flashing custom roms on newer S4s?

I'm seeing things on Google that suggest I can just uninstall knox. If I uninstall it first, then root, will I be ok? Or if I disable it while rooting?
[T-Mobile Samsung Galaxy S 4] rlichtefeld:
The Knox flag is a indicator to Samsung that you've installed a Custom Recovery. They instituted the check and the flag in the boot loader for 4.3. All the new phones come with this and there is no way to downgrade to a bootloader that doesn't have the check. Unless you are using the phone on a secure company network that requires it, Knox doesn't affect you in any way. Some people have claimed that it MAY cause you problem returning your phone for warranty, but at this point NO ONE has shown that they have had any issues returning their phone with the Knox flag tripped.

You can verify your bootloader, and view the flag's status once you get the phone by going into download mode - power off the phone. Then, hold the Vol Down button while powering on the phone. Hold the Vol Down until you get to a screen that has a Warning about Custom OS. Press the Vol Up button, and you will see a screen with a very small font and the first line will say "ODIN MODE" If your bootloader has the Knox check and flag, you will see line that says: KNOX WARRANTY VOID:. Next to that line with be either 0x0 or 0x1. If the flag is tripped, it will say 0x1.

If you don't have that line in your bootloader, then you don't have Knox, and you should be able to do what you want. However, if you want to keep your phone Knox free, you won't be able to do Over The Air (OTA) updates. You'll have to manually install ROMS, and never flash an updated bootloader.

I've tripped my Knox flag by flashing TWRP to my phone and have never worried about it.

Rob
[T-Mobile Samsung Galaxy S 4] SaintCity86:
Ok tripping it just means it's telling Samsung im messing with it?

It's not actually preventing me from installing custom recoveries or roms?

I thought he was saying I wouldn't be able to do it Cuz of knox.

I don't care about tripping any flags, I've got the premium insurance plan. That's actually how I just got the new s4, by filing a claim.

That's the nice thing about insurance on these devices, messing with the bootloader and installing roms Falls under accidental damage, which is covered.

Sure the deductible is 175 dollars.... But just to replace the glass on one of these can cost upwards of 300 dollars. Worth the 11 dollars a month n deductible. I will be canceling it now though. If this one breaks, I'll just upgrade.

Thanks for the help guys.
[T-Mobile Samsung Galaxy S 4] The Sickness:
I said if you keep STOCK RECOVERY you can't flash roms

Haters Made Me Famous

Deviant Team Member
[T-Mobile Samsung Galaxy S 4] SaintCity86:
I can read what u wrote. I thought when you guys said the knox flag would trip, that it meant I wouldn't be allowed to install custom roms.

I don't care about any flags, just so long as I'll be able to flash stuff like normal.
[T-Mobile Samsung Galaxy S 4] bobolinko:
The SIMPLEST SAFEST and EASIEST would be to just install My Backup Pro.

it has a "Migrate" mode which allows you to send all that you wish to transfer to the new device and on that new device all you need to do is add the app and instead of "Sending" the data, just select "Receive". (takes only seconds) That way you won't muck up your warranty on the new device till you're SURE there is nothing wrong with it... (just coz it was "refurbished" does not mean it works flawlessly! :>)

Aloha and Good Luck!
[T-Mobile Samsung Galaxy S 4] SaintCity86:
Thanks for the info. But I disagree. It seems I just root with this towelroot' install twrp' and restore.

However, I'll be installing a clean rom, insane v9, and reinstalling ask my apps from scratch. Just start brand new.

This brand new S4 will last me till the "sapphire glass" S6 is released, for sure.
[Nexus 4 Q&A, Help & Troubleshooting] coolqf:
I was on paranoid android 4.44 and switched to art. The next day the phone restarted while I was taking panorama picture. I had never taken panorama pictures, so I don't know if it is the camera app or art. Eventually the phone would reboot and turn off. I did a wipe of data, dalvik, etc and that did nothing. I then reinstalled paranoid android ROM and reinstalled and the Same problem. I wiped again and this time I installed slimrom, and the exact same thing happens.

Tries to load ROM, for a couple of seconds it shows optimizing apps square and then turns off. If I turn device on again, the same happens. It doesn't matter which ROM I use. Any ideas? Prior to this, my paranoid android ROM ran flawless for about two weeks. Before that I was testing different roms .

Suggestions??? I searched the forum, but couldn't find this specific problem.

I have a nexus 4 and I use twrp 2.7.1
[Nexus 4 Q&A, Help & Troubleshooting] DrFredPhD:
Have you tried flashing factory image?
[Nexus 4 Q&A, Help & Troubleshooting] coolqf:
Yes. I figured what it was. If I connect the phone to the wall, it stays on. It is either the battery or something to do with getting energy from the battery.
[Galaxy S III Themes and Apps] engloda:
How to delete "Set Theme" from menu :confused::confused:

i'm using efeXTREME Lite-ROM - 4.3​
[Nexus 7 (2013) General] WSZR:
Please script to /etc/init.d to set the minfree. I don't want any application, I want the script to autostart.
[Nexus 7 (2013) General] WSZR:
The script will be ok? I'm not asking about the value.

#!/system/bin/sh
#Created by hinxnz
#Set Minfree and Adj values

bb=$(find /system/ -name 'swapon')
if [ -n "$bb" ] && [ -e "$bb" ] ; then
bb=${bb%/*}
cd $bb
./busybox chmod 664 /sys/module/lowmemorykiller/parameters/minfree
./busybox echo "0,1,2,5,7,16" > /sys/module/lowmemorykiller/parameters/adj
./busybox chmod 444 /sys/module/lowmemorykiller/parameters/adj
./busybox chmod 664 /sys/module/lowmemorykiller/parameters/minfree
./busybox echo "9933,10728,14950,17510,20019,31385" > /sys/module/lowmemorykiller/parameters/minfree
./busybox chmod 444 /sys/module/lowmemorykiller/parameters/minfree
fi
[Nexus 7 (2013) General] WSZR:
Tell someone? The above and below are not working:

echo "0,1,2,5,7,15" > /sys/module/lowmemorykiller/parameters/adj
echo "5120,7680,11520,15360,20480,25600" > /sys/module/lowmemorykiller/parameters/minfree
[Nexus 7 (2013) General] mdamaged:
This is the Nexus 7 2013 forum. I think you want this thread.
[Nexus 7 (2013) General] WSZR:
I know that this forum Nexus 7 2013. To him I need a script.
[Nexus 7 (2013) General] mdamaged:
Does the kernel you are using support init.d? What kernel?

If you have a kernel that supports it, is the perms set so it can execute? is it getting executed at all at startup?, maybe have it echo a value into a file to make sure it is getting executed. Does it execute and work if you run it manually?
[Nexus 7 (2013) General] WSZR:
I use ElementalX, supports init.d. BusyBox installed. In the terminal script "echo" works. Changing "minfree" in applications "Kernel Tweaker" works.

I can't verify startup. I tried the script from entering text into a blank file, not be made.

echo test > /data/data/file

In "init.d" is script to configure the kernel and perhaps to perform.

I don't know how to manage permissions in "init.d". File with the script I gave full permissions. A postscript of permissions must be before the script?
[Nexus 7 (2013) General] WSZR:
The script is executed:

#!/system/bin/sh
chmod 664 /data/data/file
echo test > /data/data/file
chmod 444 /data/data/file

I'll try to convert to "minfree".
[Nexus 7 (2013) General] mdamaged:
I use the same kernel.

The script for minfree that you try to run from init.d, did you set the perms to 777 on it? It sounds like you have, but I am just making sure.

Have you tried appending the lines (from your post #2 above), to /etc/init.d/99elementalx to see if they get executed?

Something else to try:

Backup 99elementalx first, then try placing these lines in 99elementalx at the bottom, just above "exit 0". (This assumes you have the binary busybox in /system/xbin (you should, it's the proper place for it for this device), or a path that is in your $PATH environment.)

chmod 664 /sys/module/lowmemorykiller/parameters/minfree
echo "0,1,2,5,7,16" > /sys/module/lowmemorykiller/parameters/adj
chmod 444 /sys/module/lowmemorykiller/parameters/adj
chmod 664 /sys/module/lowmemorykiller/parameters/minfree
echo "9933,10728,14950,17510,20019,31385" > /sys/module/lowmemorykiller/parameters/minfree
chmod 444 /sys/module/lowmemorykiller/parameters/minfree
#test to see if executed
echo test > /sdcard/minfreetest.txt

Reboot, and see if there is the word test in /sdcard/minfreetest.txt.

If so, cat your minfree and adj files and see if they have your desired values.
[Nexus 7 (2013) General] WSZR:
When added to 99elementalx script works.

Strange that in a separate file does not work, even though other scripts are running.

Thanks for your help.
[Nexus 7 (2013) General] mdamaged:
Well try this.

Comment out those lines from 99elementalx and create a new file /etc/init.d/98minfree

Put the contents in it below:

#!/system/bin/sh
chmod 664 /sys/module/lowmemorykiller/parameters/minfree
echo "0,1,2,5,7,16" > /sys/module/lowmemorykiller/parameters/adj
chmod 444 /sys/module/lowmemorykiller/parameters/adj
chmod 664 /sys/module/lowmemorykiller/parameters/minfree
echo "9933,10728,14950,17510,20019,31385" > /sys/module/lowmemorykiller/parameters/minfree
chmod 444 /sys/module/lowmemorykiller/parameters/minfree
#test to see if executed
echo newtest > /sdcard/minfreetest.txt

save it as /etc/init.d/98minfree ...then chmod it 777 (rwxrwxrwx), then reboot, and see if it worked.

If you have to leave it in 99elementalx to make it work, it will get wiped the next time you flash the kernel again. Alternatively, you can just forget init.d, and use tasker to execute the commands.
[One (M7) Q&A, Help & Troubleshooting] DaveNH:
Hi, first post here so please mind my ignorance. I recently rooted my Sprint HTC One m7 and installed the latest TWRP recovery. Since I found out that I have no /system write permissions and I wanted to use apps like the Xposed framework, I decided to flash a custom kernel which disabled the protections, because I didn't feel the need to get a new ROM. So, I am running the stock Sense 6 ROM on 4.4.2 with the stock kernel 3.4.10-gf22c859 and S-On. I tried to flash flar2's ElementalX 14.12 for Sprint. I created a nandroid backup and cleared my cache and dalvik. Then I flashed the kernel, and the install went fine. It said it was successful, and once again I cleared the cache and dalvik. I rebooted my device, and it started up, updating all the apps. and I rebooted the device again like the installer had said to. However, when I tried using the new features like logo2menu nothing happened. I checked what my kernel was in the settings, and it had not changed. The only thing that did change on my phone was the fact that all of my paid apps said they had not been installed, and when I did try to install them, I would get an error saying my SD card did not give them permission to do so (or something similar to that, I don't remember the exact message). I thought that it was a problem with the kernel, so I restored to the nandroid, and flashed the Kangaroo kernel the same way I did with ElementalX. Once again, the set up process went fine. When I booted my device, I was greeted with the same results as before. Apps updated, kernel didn't change, paid apps gone. I am really confused with what is going on. I feel like I am missing something obvious (This is my first time installing a kernel on an Android device). Any help would be greatly appreciated! Thanks is advance.
[One (M7) Q&A, Help & Troubleshooting] alray:
This is the M7 GSM forum, there is a forum for M7 Sprint CDMA phone.

Latest twrp for the M7 Sprint (M7WLS) or for the M7 GSM (M7_UL/M7_U)?

Xposed framework does not require system write permissions, only require super user access (root)

I might be wrong here, but I thought latest ElementalX for sprint was 13.10 and I don't find any 14.12 version for the sprint variant, only for the GSM one.... Can you provide a link to that kernel please?
[One (M7) Q&A, Help & Troubleshooting] DaveNH:
I used TWRP 2.6.3.0 m7wls. Whenever I try installing Xposed it goes fine, but when I restart, it says it hasn't been installed. I looked for similar problems and heard that you need system write permissions for it to stay when you reboot (may be wrong). On the sprint ElementalX thread, there is a post on page 78 with this link for 14.12 M7WLS: http://xdaforums.com/attachment.php?attachmentid=2864690&d=1406021704. Sorry about posting this on the wrong forum, I'm new to this kind of stuff, but thanks for the help!
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
when installing Xposed framework, in the settings/installer, change it from Classic Install to Automatically flash in recovery, then select install, should work then.
[One (M7) Q&A, Help & Troubleshooting] DaveNH:
Thanks! Tried it and it worked perfectly. Now only if I could figure out how to get the kernels working...
[One (M7) Q&A, Help & Troubleshooting] packtt:
I know this is an old thread but did you figure out how to flash the kernel?
[Verizon Samsung Galaxy S 4] judolphin:
Sorry if this is a dumb question. I have searched and was unable to find an answer.

I have rooted my phone, but otherwise running completely stock OS. I am pretty experienced in debloating my phones. My one question is, does anyone know if any of the "bloatware" apps are necessary for HDMI output to function properly?

Thanks in advance.
[8125, K-JAM, P4300, MDA Vario General] johnny13oi:
Hey guys, I was wondering if you could use AIM through wifi on the tmobile MDA because I dont have a text message package. Thank you
[8125, K-JAM, P4300, MDA Vario General] Rjp20:
Great question.. I was wondering the exact same thing...