yashsingh1/xdaforums huggingface dataset:
[Lenovo K900] ming0971:
Every time I flashed the 4.3 based rom on my k900, it couldnt detect the sim card. Any suggestion? Thanks
[Lenovo K900] fatsuzie:
Did you mean you flashed the rom linked here or the various variants on kaskus?
[Lenovo K900] alveox:
if you got that problem, use MFT method..

he just put a link to kaskus website..

you can try several rom there. china rom, international rom, and vibe rom.
[Lenovo K900] X0LARIUM:
Is this a Stock 4.3 or a Vibe? I am looking for a Stock (Original, the one K900 came with) ROM and not Vibe..any help?
[Lenovo K900] alveox:
just play to that forum, there are stock rom also..
[Lenovo K900] duo_m:
I just downloaded the AOSP version of 4.3 for the k900 from lenovo's support site. How do I install it? Is it worth the upgrade?
[G2 Q&A, Help & Troubleshooting] jhamer83:
I had a 10 minute phone call at lunch today, hung up and put the phone in my pocket. Pull the phone out maybe 10 minutes later and it is completely unresponsive to input. Double tap, power button, holding power button, holding volume down and power, holding volume up and power. Nothing works. I took the back cover off and popped the battery cable off because it was getting REALLY hot. It gets hot just to the left of the power/volume buttons toward the edge of the device. As soon as I plug the connector back in, the phone gets really hot. I have also tried connecting the phone to my PC but it remains unresponive and gets hot again.

The phone app has been acting weird lately. Like locking up my phone when I make a phone call and stuff but nothing this bad. I rarely use the phone so I didn't really try to figure anything out.

d802 on ATT

rooted with 4.4.2

I have a few rooted apps. Pie control, GMD hide softkeys, apex launcher and better batty stats. The rest just regular apps.
[Galaxy Note GT-N7000 Themes and Apps] rahul thakkkar:
https://app.box.com/s/7vh8g07ygt0j419ta7fv
[Galaxy Note GT-N7000 Themes and Apps] rahul thakkkar:
Install like normal apk
[Galaxy Note GT-N7000 Themes and Apps] rahul thakkkar:
I am not a developer so plz dont ask questions
[Galaxy Note GT-N7000 Themes and Apps] galaxynote2:
FC. Doesnt work.
[Galaxy Note GT-N7000 Themes and Apps] rahul thakkkar:
Sorry for fc but i will share this but iam not a developer
[Galaxy Note GT-N7000 Themes and Apps] nokiamodeln91:
What? Does it work for you?
[Galaxy Note GT-N7000 Themes and Apps] akhil093:
to run this calculator on our note.. maybe we require some lib files,framework jar files and premsissions associated along with this calculator. without them running this calc is impossble .
[Galaxy Note GT-N7000 Themes and Apps] arasgym:
It might only work on Touchwiz... I divorced it so can't test if it works
[Galaxy Note GT-N7000 Themes and Apps] XAB235:
this isn't a good way to post something..no screenshots, no info. Please test it at first..and share it later.
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
I want to change the poll_delay sysfs file from the gesture_sensor, I can read it fine but when I try to write to it nothing happens, I have already read the dmesg and found nothing, the source code for this driver is here:

https://github.com/gokulnatha/GT-I9505/blob/master/drivers/sensorhub/ssp.h#L98

https://github.com/gokulnatha/GT-I9505/blob/master/drivers/sensorhub/ssp_sysfs.c#L45

I am not so experienced in C so maybe someone can help me to understand what happens when I try to write this value

the file is located at "/sys/class/input/input7/poll_delay" on GT-I9505
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
I think you need to use an init.d script to write to the file.
[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
is it declared in ueventd.rc in ramdisk?

like

/sys/class/input/input7/poll_delay 0664 system system
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
Yep it's there

View attachment 2675684

I'm on a root shell and permissions are right, I guess the problem is in the format I write to the file or the driver code itself :/

EDIT: is that a typo on Samsung file? lol
[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
lol idd a typo, try fixing it and retry :o
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
doesn't it just set permissions and user/group? it's doble setted, look some lines above that typo, I'm sure I have permissions to write to the file, but I don't know the format I should write to it, Samsung services can do it fine btw
[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
yes thats what it does, the owners that are now given are root and input. you need to add system, and maybe even put that 664 to 666. then apps should have access to it
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
I'm trying to write it on a root shell already, where I can even chown and chmod that file, only samsung sensors service knows how to interact with its sysfs. And looking at the source code maybe some one can figure it out too

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
I just tried it,

echo '200000000' > /sys/class/input/input7/poll_delay

it said

/system/bin/sh: can't create poll_delay: Read-only file system

then i did 'mount -o remount rw /' and it worked just fine.

so its just echoing the value to it, can't be easier
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
if you use "su" in a terminal, it has access to everything. The issue isnt a permissions issue. Usually when i change /sys/class files, i have to do it in an init.d script so the kernel writes to it after others have written to it to prevent my values from being overriden. But init.d does not change it either. i really think the kernel source file holds this value.

Try echoing a value other than whats already set, it won't hold. I think either the kernel is controlling this, and "poll_delay" is only there so we can view the speed, or that value is set and can't be changed due to hardware limitation. I don't think its possible to change on the fly so to speak. But maybe by editing the kernel source and compiling it yourself would change it.
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
Yeah that's what I mean, I want to set poll delay to 10000000 ns and the only who can do that is samsung sensors service because it knows how to write to that file

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
I know this, just wanted to say that it is possible to write to that file, some files are not writable at all or readable, so thats a gain. and yes sysfs gets overwrited by kernel by default

And idd you're right I didn't notice it didn't hold. sorry :)

What you can try is making a c program that regulates it, my experiences with c apps is that they do not require much permissions in order to work correctly
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
You can write apps in c code instead of Java and they will run on android!? :o
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
I think I don't need an app, I just need to understand the driver's source code to find out how to write to its sysfs

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
Well not as an apk, but as a binary, like everything in system/bin and xbin. like this: https://github.com/broodplank/android_external_s4utils/blob/master/s4utils.c please note that that is my first c script ever made without any tutorial, so I know, its really poor! anyways, since sensor service has permission to write to it, why shouldn't a custom binary also have that with the right permissions set.

ok sorry I wont spam your topic anymore, I just dont know how to read the usage from that code. :silly:
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
Thanks for helping btw, I'm sure it isn't related to permissions but format of the data written to that sysfs file, I'm going to find out by reverse engineering samsung service or reading driver's source code again many times lol -.-

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
Well, i finally had the time to look through those source codes thoroughly. And those values are set by the kernel itself. I don't even know if changing them via on the kernel level will work as limited by hardware. But those values in this file are applied in java when registering a new sensor listener. You can read the standard google example here which tells you what the meaning of those set values are used for.
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
Are you sure? Look at set_gesture_delay and change_sensor_delay functions

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
Yes and from what I'm making sense of it, the kernel is calling those methods, they aren't being set by an app so to say. The kernel itself is doing it. That's what I'm getting from it anyhow.
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
look

static struct device_attribute dev_attr_gesture_poll_delay
= __ATTR([COLOR="Red"]poll_delay[/COLOR], S_IRUGO | S_IWUSR | S_IWGRP,
show_gesture_delay, [COLOR="Red"]set_gesture_delay[/COLOR]);

>>

static ssize_t set_gesture_delay(struct device *dev,
struct device_attribute *attr, const char *buf, size_t size)
{
int64_t [COLOR="blue"][B]dNewDelay[/B][/COLOR];
struct ssp_data *data = dev_get_drvdata(dev);

if (kstrtoll(buf, 10, &[COLOR="Blue"][B]dNewDelay[/B][/COLOR]) < 0)
return -1;

[COLOR="Red"]change_sensor_delay[/COLOR](data, GESTURE_SENSOR, [COLOR="Blue"][B]dNewDelay[/B][/COLOR]);

return size;
}

>>

static void change_sensor_delay(struct ssp_data *data,
int iSensorType, int64_t [COLOR="blue"][B]dNewDelay[/B][/COLOR])
{
u8 uBuf[2];
unsigned int uNewEnable = 0;
int64_t dTempDelay = data->adDelayBuf[iSensorType];

if (!(atomic_read(&data->aSensorEnable) & (1 << iSensorType))) {
data->aiCheckStatus[iSensorType] = NO_SENSOR_STATE;
return;
}

data->adDelayBuf[iSensorType] = [COLOR="blue"][B]dNewDelay[/B][/COLOR];

switch (data->aiCheckStatus[iSensorType]) {
case ADD_SENSOR_STATE:
ssp_dbg("[SSP]: %s - add %u, New = %lldns\n",
__func__, 1 << iSensorType, [COLOR="blue"][B]dNewDelay[/B][/COLOR]);

uBuf[1] = (u8)get_msdelay([COLOR="Blue"][B]dNewDelay[/B][/COLOR]);
uBuf[0] = (u8)get_delay_cmd(uBuf[1]);

if (send_instruction(data, ADD_SENSOR, iSensorType, uBuf, 2)
!= SUCCESS) {
uNewEnable =
(unsigned int)atomic_read(&data->aSensorEnable)
& (~(unsigned int)(1 << iSensorType));
atomic_set(&data->aSensorEnable, uNewEnable);

data->aiCheckStatus[iSensorType] = NO_SENSOR_STATE;
data->uMissSensorCnt++;
break;
}

data->aiCheckStatus[iSensorType] = RUNNING_SENSOR_STATE;

if (iSensorType == PROXIMITY_SENSOR) {
proximity_open_lcd_ldi(data);
proximity_open_calibration(data);

input_report_abs(data->prox_input_dev, ABS_DISTANCE, 1);
input_sync(data->prox_input_dev);
}
break;
case RUNNING_SENSOR_STATE:
if (get_msdelay(dTempDelay)
== get_msdelay(data->adDelayBuf[iSensorType]))
break;

ssp_dbg("[SSP]: %s - Change %u, New = %lldns\n",
__func__, 1 << iSensorType, [COLOR="blue"][B]dNewDelay[/B][/COLOR]);

uBuf[1] = (u8)get_msdelay([COLOR="blue"][B]dNewDelay[/B][/COLOR]);
uBuf[0] = (u8)get_delay_cmd(uBuf[1]);
send_instruction(data, CHANGE_DELAY, iSensorType, uBuf, 2);

break;
default:
data->aiCheckStatus[iSensorType] = ADD_SENSOR_STATE;
}
}
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
Yes i saw that code already. And what i am making sense of it is that based off what the app request "SENSOR_DELAY_FASTEST" or "SENSOR_DELAY_DEFAULT" is how it changes the time.
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
what I found so far:

echoing numbers: $? = 0 (normal exit value)

echoing letters: $? = 1 (error exit value)

dmesg while samsung service writes to it:
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
Anything that comes up in a dmesg is the kernel writing to it. So I don't think you'll be able to write to it unless you mod the kernel somehow
[Galaxy S 4 Developer Discussion [Developers-Only]] frapeti:
Of course kernel manage it but that's why sysfs exists, to communicate between userspace and kernel

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 Developer Discussion [Developers-Only]] elesbb:
Your best bet would be to do what Broodplank recommended. Write a c lib file, include it in your assets folder then using root copy it to the system/bin directory then use a Runtime in your app to execute the file. I know sysfs allows you to communicate but sometimes certain files cannot be accessed because they are not really a file but an object.
[HTC Butterfly S] waydhee:
Helo

There is GPE for butterfly s ???

If there is please share it
[HTC Butterfly S] JarlSX:
no, there isn't, i wish there was though, would be nice to get rid of all the bloatware
[HTC Butterfly S] tropical cactus:
http://xdaforums.com/showthread.php?t=2407517

4.2.2 Haven't tried it, though.
[HTC Butterfly S] xXminiWHOOPERxX:
There will be soon ;)
[HTC Butterfly S] seyidaga:
Thank you! Thank you! Thank you! :victory:
[HTC Butterfly S] JarlSX:
[MENTION=5729420]xXminiWHOOPERxX[/MENTION] ported from the M8 GPE rom?
[HTC One X] nono9002:
Hello,

In my car I have built in bluetooth headset that's include a2dp and when I get a call it's take over the playing media and I want it to be the same with the navigation directions and I tried apps like BTmono and SoundAbout and it's activate a call but I hear nothing.

I have HTC One X with CyanogenMod 11 kitkat 4.2.2

Thanks a lot
[HTC One X] nono9002:
Please help
[HTC One X] nono9002:
Help?
[HTC One X] nono9002:
Please someone help
[Verizon HTC One (M8)] sfreemanoh:
I've seen this same thing happen on my GNexus, Nexus 7, and now my M8...after changing the DPI, the Close All button always disappears from the Recents menu. Does anyone know a way to get it back?
[Android Q&A, Help & Troubleshooting] schlubbi:
Hi,

my 5 months old Xiaomi 2S keeps crashing from time to time.

I use the stock battery and the geman miui 4.3.14.

Android Version is 4.1.1 JRO03L

The crashes mostly appear Ehen i carry it in my pocket.

Uts not getting that warm so i dont think its a Temperatur Problem.

I also tried a different battery.

I also made a factory reset and installed just a few apps.

I habe also a log made with catlog. Every single action is saved to the sd-card.

Maybe someone of you knows this kind of problem an can help me.

I attached the logfile.

THX in advance

schlubbi
[Verizon Samsung Galaxy S 4] jpinsl:
I'm on rooted MK2 and have been getting push notifications from Samsung about updated TOS that needs to be read and accepted before it will push some security updates. I'm not keen on letting it update. Anyone know what it does? I've just ignored it.
[Verizon Samsung Galaxy S 4] jpinsl:
So five days, 74 views and 0 replies. Is that no one knows or am I just missing something?
[Verizon Samsung Galaxy S 4] k1mu:
I haven't seen that on my MK2 phone. I'd say that accepting any new security updates is a bad idea if you want to keep rooted.
[Verizon Samsung Galaxy S 4] stajam:
Are you referring to that "security policies update" that pops up in the notification panel? I have seen that myself, a couple of times. I just ignore it as well. Kind of afraid to update any kind of security on this thing.
[Verizon Samsung Galaxy S 4] Mistertac:
If it is that one.. I believe I just searched for it in TiBu and froze it back when I was on TW. Check it out

Sent from my SCH-I545 using Xparent Blue Tapatalk 2
[Verizon Samsung Galaxy S 4] frankmotta:
Annoying security update pop-up that won't go away

I received the 4.4.2 Verizon update and periodically I get a pop-up that wants me to sign up/sign in to the Samsung website and become a member before I can read the privacy policy. Since I do not have access to this policy as I will not sign up/provide marketing and SPAM information to Samsung I have to decline the option each time.

How do I prevent this unreasonably frequent demand for my personal information interfering with my use of my Note 2/Verizon?
[Verizon Samsung Galaxy S 4] someguyatx:
I am stock rooted 4.4.2 and getting these pop ups every few days. I have not accepted yet either afraid to mess up root.
[Verizon Samsung Galaxy S 4] joshm.1219:
Freeze spdclient.apk in tibu
[Verizon Samsung Galaxy S 4] citroja:
I got an update request today as well on my 4.2.2 MDK S4 (root and unlocked bootloader). I opened the update details and it said that it was from "SDM app" (package name=> com.samsung.sdm).

SDM 1.0 has the following APK paths:

/system/app/SDM.apk

/system/app/SDM.odex

So I did the following:

1) opened TiBu

2) Restored SDM 1.0 to recent backup (last sunday) --> update alert stayed

3) Deleted SDM 1.0 App+data --> alert gone, but it didn't actually delete the app (not sure why)

4) Froze SDM 1.0

5) Backed up the "frozen" SDM 1.0

As a safety precaution, I also froze "Samsung Updates" (com.sec.android.app.samsungapps) and "SamsungHubUpdater" (com.sec.everglades.update)

Also, I couldn't find the spdclient.apk file (even did a search with ES File Explorer with no results)...i think i already removed it when I first rooted it back in February

NOTE:

The update i got had the following URL in the text: www[dot]verizonwireless[/url][dot]com/galaxys4update ... redirects to www[dot]verizonwireless[dot]com/support/system_update/6872.html with the following update details:

***************

Benefits of Software Upgrade (*PDF)

Benefits of downloading and installing the new software enhancements.

Software Update Instructions (*PDF)

Download the latest software for your Galaxy S4 by Samsung.

Software Update Assistant (SUA) for your Galaxy S4 by Samsung (PDF*)

Software Repair Assistant (SRA) for your Galaxy S4 by Samsung (PDF*)

SUA - The Software Update Assistant (SUA) verifies whether your device has the most recent software. When a software update is available and your device is connected to a PC or Mac® with a USB cable, the SUA provides an option to install the most recent device software. Additional benefits, instructions and specifications are outlined in the link above.

SRA - When the device is connected to a PC or Mac® with a USB cable, the Software Repair Assistant (SRA) will address device issues caused by unapproved or faulty software on the device. It will automatically attempt to back up your data, install the most recent version of manufacturer-approved software and restore your data on the device. Additional benefits, instructions and specifications are outlined in the link above.

*************************

Hope this helps.

-citroja
[Verizon Samsung Galaxy S 4] joshm.1219:
should be in system/priv-app
[Verizon Samsung Galaxy S 4] frankmotta:
Any option for unrooted users?

This is really REALLY annoying to have to opt out 3-5 times a day.
[Verizon Samsung Galaxy S 4] DeathStalker77:
I was getting the same message - I finally clicked on it and was presented with the ACCEPT/DECLINE for the TOS - I selected DECLINE and was given the option to not be notified of "Security Updates" again (with instructions on how to re-activate them.

I545
[Verizon Samsung Galaxy S 4] joshm.1219:
If you're unrooted why are you opting out? There's no real way to stop it without root because its a system app. Maybe try looking for it in the application manager and see if you can uncheck notifications? Not positive if that's possible because I haven't been on stock tw in a long time
[Verizon Samsung Galaxy S 4] frankmotta:
I do not want to let Samsung gather any/all data from my phone as I have read that the agreement allows.

---------- Post added at 03:32 PM ---------- Previous post was at 03:25 PM ----------

For me I get the information where I can change this in the settings after declining and I still have to decline about 3-5 times a day.
[Verizon Samsung Galaxy S 4] DeathStalker77:
I would expect that there are some items that might be able to be deleted with something like "NoBloat", so as not to be badgered by the notifications.
[Verizon Samsung Galaxy S 4] frankmotta:
Thanks DeathStalker... I am not ready to root this phone yet. So, NoBloat is unlikely to help.
[Verizon Samsung Galaxy S 4] decaturbob:
No option unless you are rooted and install tibu and freeze the apps responsible....

sent via safestrap 3.72 and echo v25.1! !
[Verizon Samsung Galaxy S 4] DeathStalker77:
So if we're rooted (which I am) and we install tibu, what are the apps responsible? I just got the notification again today, so just declining doesn't resolve it :(
[Verizon Samsung Galaxy S 4] decaturbob:
I don't remember offhand but been talked about in many posts.

sent via safestrap 3.72 and echo v25.1! !
[Verizon Samsung Galaxy S 4] k1mu:
SDM is the update manager. The security policy updates app is called, er, "Security policy updates".

I also have ELM Agent and Verizon Support & Protection frozen.
[Lenovo K900] shalabh2009:
Kitkat notification ui download

http://xdaforums.com/attachment.php?attachmentid=2660835&d=1396282071
[Lenovo K900] pjsplayez:
how to install?

i try install....but fail
[Lenovo K900] stevenchew:
Pls post some screen shot
[Lenovo K900] nicholas88:
for newest at here link :) thanks :)

http://xdaforums.com/showthread.php?t=2713562
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
It seems like I have been working on this for a very long time. This is the most complicated thing I have ever done yet at the same time easy to use.

http://odeean.veritel.com.au/programming_files/gsmbeam.htm

http://odeean.veritel.com.au/downloads_files/GSMbeam.exe

GSMbeam is what it sounds like. Two people can use it to beam stuff over the phone. No gprs, no special lines needed. Most sims from most networks (here in Australia anyway), prepaid or account will do this no problems.

The idea is that you leave it on all the time. Don't worry about wasted cpu time or battery life because most of the time the threads are in wait states doing nothing. When you push off there is no processing by GSMbeam, the hardware "wakes up" the device when a call comes in, and then it does its thing.

This beta release has an expiration date at the end of September. After that time it will do nothing.

It can send very small or large files. I have been using it to send pictures from my camera, about 150KB. I have not tested it with VERY large files. One reason why it's beta is that I have not tested it in critically low memory environments. So if you run out of memory the theory is that it will just stop doing what its doing.

I do not recommend changing most of the settings, but if you do, remember that the gsm phone network is slow so it will not get you a miraculous speed increase.

If your phone plan has no flag fall then to send 22kb (mms size) is cheaper. To send a GSMbeam long text message is not worth it for small messages because the connection time of the two modems outways the savings. For long messages it can be cheaper. If you pay 15 cents a message then 10 messages is a $1.50, the same amount of characters costs me about 50 cents.

This also has the built in shortcut generator.

The object this creates is more versatile than what I have used it for here. In future versions I am considering opening it up to be accessed from other programs. I have done a couple of tests using a file as a buffer for data then some named events to signal read and write times. Because of this there is file in the config folder that is only getting flushed when the program is turned off and restarted. if you were to go a month without doing so and had received a lot of data in that time it could grow too big.

..Enjoy.

<edit>

this is embaressing but...

I found a bug alredy. If a file comes in the phone is not getting restarted until after the accept/reject dialog is dismissed. This means that if you receive a file but do not notice you can't receive another call until the os restarts the phone. This normally is about 3 minutes. I will fix for next version.
[Windows Mobile Development and Hacking General] oldsap:
wow nice app thanks!

i posted it in my blog.