yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] hedphones:
Hi All,

I'm attempting to write my first app and have hit a snare. I've spent 2 days searching and reading and watching tutorial videos and for the life of me I just cannot figure out how in the H, E, double hockey sticks to code what I want to accomplish... To be honest with you all, I haven't delved into any practical form of programming in years. And when I say years, I mean since BASIC was used lol.

Here is what I would like to do:

There is a feature of the kernel I am using that is enabled/disabled by the contents of a file stored in the /sys/kernel/ folder. A single "1" or "0" is all the file contains. How on earth do I have my app read the contents of this file and set the state of a togglebutton to reflect the current state of this feature as the app launches?

I realize my problem is two-fold: 1) I am new to Java and having a real hard time with the syntax of the language and 2) I've been reading for about 30 out of the last 40 hours :eek:

Any guidance would be so helpful, thanks in advance.

hedphones.

I'm going for a walk now.
[Nexus 4 Q&A, Help & Troubleshooting] malukiz:
Hi,

I'm running on ParanoidAndroid and the default widget to control music over the lockscreen is from google music.

I would like to change this one by the widget provided by Sony, it's look like this http://farm9.staticflickr.com/8193/8083300548_60a34660eb.jpg but with only album arts, no bar navigation and directly on the lockscreen.

How I can get it on my Nexus 4 ? Do I need to install the walkman apk ? If yes, the sound will be changed ?

Maybe this one ? http://xdaforums.com/showpost.php?p=38500108&postcount=121
[Nexus 4 Q&A, Help & Troubleshooting] malukiz:
Nobody ?
[Nexus 4 Q&A, Help & Troubleshooting] starscream92:
Hey buddy. Unfortunately getting what you want is not going to be simple!

You'd need to be good at Android systems programming as well as Java programming to do this. You'll need to modify the ROM/OS so that the default lockscreen widget for music is the Sony one, then modify that widget to work with the ROM, etc. The fact that Sony's music player is probably proprietary makes the situation even worse.

Bottom line, someone with skills will need to do this, and it will take some time. For now I guess you'll have to make do with the Play Music app, or download an alternative music player. There are lots of them on the Play Store and people have been very satisfied with them.

I personally don't mind the Play Music app that much, and use it as a daily driver for music :)
[Nexus 4 Q&A, Help & Troubleshooting] DesignGrits:
I just flash all of these roms today to verify, and I'm sure everyone has noticed but why does PA/PACman missing sooooo many options than Rootbox/Revolt?

-Alternate toggles setup which is missing the "favorite user" option and is not user friendly

-Lacking customization for pie options

-No option for Navbar/status bar transparency

Its really confusing because RootBox and Revolt roms have all the options that every rom on this thread have accept one thing.....PA. Which means there is no options to use hybrid options/colorPAoptions/PAdpi Settings, etc.

Its really confusing why there are two very distinct bases that Devs are using for roms,is there a reason why these differences can't be combined? Does anyone know if there will every be a rom that runs that same base as Rootbox/Revolt but have PA?

Yes, I usually avoid these types of post, but gosh does this not bother anyone else?
[Nexus 4 Q&A, Help & Troubleshooting] molesarecoming:
well theres toggle customization, thanks to cm,

theres customization for pie,

and theres options for bar colors including alpha that naturally go beyond anything else because of hybrid

but still - we're trying to keep things simple and minimal. thats our direction. if rootbox or revolt wants to go another way thats their choice.

i just personally do not enjoy roms that are heavy with options, i dont think thats a good thing and it conflicts with android which is still whats making 99% of the whole.

as for pie, i want something thats quick and easy to navigate. i dont want quick access everywhere i lay my finger on you know? like ... you switch on phone, theres shortcut options, shortcuts in your navbar, shortcuts on your google now circle, shortcuts in your notificationpanel, shortcuts in your togglepanel, shortcuts clenched on poor pie-in the worst case via multirow, shortcuts here shortcuts there. who'd like such a frankenstein of a rom? i sure dont. and if theres roms that truly cater to those needs - well more power to them and by all means, go that route.

most people on xda, and i am very happy about that, still value coherency. and they'd rather see new features getting made piece by piece. its the same with music. i like albums and bands. but there's some people that prefer ready-made collections and top10-samplers or whatever. i dont judge that, its a simple matter of preference.
[Nexus 4 Q&A, Help & Troubleshooting] DesignGrits:
Thank you for the valuable response. I was kind of expecting a lot of bashing from normal users. So I guess I have to how they combine these features.
[Nexus 4 Q&A, Help & Troubleshooting] Ghostman:
Haven't tried Revolt, but I like the Pacman rom and Rootbox is good too :)
[Galaxy S III Themes and Apps] TeraXimoS:
Hi pals :)

my request is hard I think... soo please if it is impossible just tell me and help me to relax and stop searching :)

In MIUI ROMs... when you have a missed call... you can see for example ( XXX-XX-XXXX ) At 12:00am. (( Ring 4 times ))

that means it's a short missed call

and when it sayes (( Ring 10 times )) means a long missed call... I think you know what I meant :)

can I have this feature on 4.2.1 Stock ROM?? App.. mod.... anything... but I don't want MIUI ROM

Plz help :)
[Windows Mobile Software Development] fumaillo:
Hello everybody.

I´m trying to send to the modem an AT command to send an USSD code but I´m having some troubles.

I open port number 2 (I think is the modem port...) and send ATD*121#\r

but using the atdbg program I get:

ERROR: Header error -<0> +<f1>

<Tx:19041D>

ERROR: Header error -<f1> +<ee>

ERROR: Header error -<ee> +<e8>

Tx:AT\r

ERROR: Header error -<e8> +<5b>

...

...

I know that I have to send ATD*121#\r to the modem because using atdbg when I dial directly the ussd command *121# code, I get ATD*121#\r.

What I´m not sure is the way to send it to the modem.

Any idea of how to do it or where to get information??

Thanks in advance and sorry for my english.
[Windows Mobile Software Development] fumaillo:
I´ve just read that I can´t open port 2 without crashing the communication between "celltsp.dll" and the gsm-module, so I guess that´s not the port to open.

How can I send then AT commands to the internal modem ??

Thanks in advance again.
[Windows Mobile Software Development] itsme:
check out the source of xdaunlock. that shows how to do this.
[General Questions and Answers] ProfLonghair:
So I somehow have Angry Birds from both the Play Store, and the Amazon App store. They used to be different so I only had the Amazon one installed, now, somehow, my GS3 thinks it's from both places. When I update it from the Play store, Amazon wants to update it. When I update from amazon, Play Store wants to, and so on.

Anyone know how I can get this dealt with? I tried using the Remove Market Entry from TiBu to no avail.
[Android Q&A, Help & Troubleshooting] Ascyndaeon:
Okay so uh...I'm trying to make my own custom ROM from a stock Galaxy S3 sgh-i747, using dsixda's Kitchen.

My problem is that I am getting a status 7 error when trying to flash it.

Now I know, since I read the FAQ, that it has something to do with the updater-script. The only info I could gather is that you need to go in and change the format/mount code.

I have this:

format("ext4", "EMMC", "/dev/block/mmcblk0p14");
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p15", "/data");

So I suppose my real question is...what am I supposed to change (it to) so I can make it work? (and what else might I need to change?)

Any help greatly appreciated! :)

Edit: Oh and um...I'm also wondering.... If I put any new apks in the rom (such as note2 camera, etc.), do I have to put specific code in the script for them? (I'm a bit new to all this--everyone starts somewhere I guess)
[Android Q&A, Help & Troubleshooting] C00l.vishu.ar0ra:
same issue with me also :( .. Any one there to help?
[Android Q&A, Help & Troubleshooting] demkantor:
Figure out your mount points if this is your error, also depending on your update-binary youay need to change the format of the arguments

As for the question about adding .apks, yes you need to modify updater-script to reflect this, and it depends on what folder they are in for ROM.zip and what partition you want them stored in.

Can't answer any further without more info but Google is your friend
[Android Q&A, Help & Troubleshooting] superdragonpt:
Thats why i don't use kitchen, you wont LEARN anything.

and then you have this kind of problems, and you cant fix them.

And the last reply it usefull, check your mount points.
[Android Q&A, Help & Troubleshooting] TroubleShooter™:
may be the updater-binary making the cause, try updater binary of working rom.
[Android Q&A, Help & Troubleshooting] superdragonpt:
Try from the stock rom first (if the stock is running the same Android os version)
[Samsung Epic 4G Touch] xDecapitator:
Back in January, I made a post asking about my SGS2 and why it wouldn't turn on. I didn't figure it out so I bought a SGS2 with a cracked screen and replaced my mainboard with it's. The eBay post said that the ESN was clean. I brought it to a Sprint Store to try and activate it but they said it doesn't show up in their system.

I don't think this phone was ever flashed. When I started it up, it brought me to a locked homescreen with a low-resolution wallpaper set and the ROM was still stock. I went into recovery and wiped the data. When I finally got into the phone, I found pictures of a some teenage girl who looked like she couldn't tell a Galaxy S from a Nokia.

So none of this makes sense to me. Is there any chance that this phone will activate?

Thanks in advance!
[Samsung Epic 4G Touch] Mattix724:
Maybe it was stolen from a shipment? Idk, that's odd that it didn't show up in the system.
[Samsung Epic 4G Touch] xDecapitator:
The last owner had it activated fine. Her number is still in the phone and under Network it says "Sprint". The person working at the Sprint Store put in a ticket. Is it possible that they will just replace it?
[Samsung Epic 4G Touch] Ahish.s:
Doubtful. Let us know what happens.
[Samsung Epic 4G Touch] Mattix724:
Something just doesn't sound right about that situation. If the phone did have a clean ESN then there would be no problem getting it activated. I have a feeling the ESN came back with a red flag and the Sprint representative didn't want to tell you.
[Samsung Epic 4G Touch] xDecapitator:
I tried to activate it over the internet and it said that the ESN couldn't be found.
[Samsung Epic 4G Touch] PanchoPlanet:
You mention in Op that you swapped mainboards, could that carry over Sprint?

Where you on Sprint?

Could phone be a Virgin or T-Mobile variant.? With Sprint flavor?

Pp.:confused:

Transmitted from another Galaxy.
[Samsung Epic 4G Touch] xDecapitator:
Nope, I used a mainboard from an Epic 4G Touch. The DEC and HEX numbers I used were from the replacement mainboard.
[Samsung Epic 4G Touch] PanchoPlanet:
You mean "not" your original mb from your Epic that wouldn't start?

Pp.

Transmitted from another Galaxy.
[Samsung Epic 4G Touch] xDecapitator:
I did not use the info from my original Epic that wouldn't start.
[Samsung Epic 4G Touch] PanchoPlanet:
So the conflict or confusion the phone is having may be caused by this board.

If not mistaken, all the info Sprint looks for as far as there system id'ing should be coming from mainboard.

Pp.:)

Transmitted from another Galaxy.
[Samsung Epic 4G Touch] xDecapitator:
Yup. The conflict is coming from this mainboard. My other mainboard doesn't work so this is my only option.
[Samsung Epic 4G Touch] garwynn:
Means your mainboard - while it says SPH-D710 on the back - may not have been in the Sprint ESN pool.

For example, Boost, Virgin, KDDI, etc. all have separate ESN pools and while they say you can port I have had issues with it.

Does the sticker on the board show SPH-D710 still?

And does the MEID on the sticker match what's on your screen?
[Samsung Epic 4G Touch] gradford11:
PM sent.
[Samsung Epic 4G Touch] xDecapitator:
I'm not sure and I really don't want to disassemble the thing unless I absolutely have to. I really can't afford to accidentally mess it up and, knowing my luck, something will happen. What I can tell you it that the HEX and DEC under Status in the phone's settings match the sticker that's under the battery and that sticker says D710. When I pull down the notification bar, it says that it's connected to Sprint and the old owner's info is still in the phone. Her e-mail was ********@sprintpcs.com.

So basically, if what you're saying is true, Sprint can actually fix this issue?

EDIT: I did pull it apart and check the board. It does say SPH-D710.
[Samsung Epic 4G Touch] graydiggy:
They should be able to activate it then...
[Samsung Epic 4G Touch] Mattix724:
Unless the previous owner owes Sprint money.
[Samsung Epic 4G Touch] PanchoPlanet:
Bingo!

Pp.:beer::D:thumbup:

Transmitted from another Galaxy.
[Samsung Epic 4G Touch] xDecapitator:
Is that it? Well in that case Sprint should have no problems clearing it for me.
[Samsung Epic 4G Touch] Mattix724:
Nope. If the previous owner owes sprint money or the device was reported stolen, the ESN is bad and as far as I know there is no chance of clearing it.
[Samsung Epic 4G Touch] graydiggy:
They should at least give him a reason they can't activate it. I had the same issue with VZW. They told me that the phone was reported stolen. I even showed proof of purchase from the eBay listing. They are able to say why they can't activate.
[Samsung Epic 4G Touch] Mattix724:
The only way to know would be either call them or visit a store. The website isn't going to tell you why.
[Samsung Epic 4G Touch] graydiggy:
OP rook it to the sprint store and they told him it was not in the system.
[Samsung Epic 4G Touch] garwynn:
Okay... Let's assume that the ESN is bad for a min. Do you still have the sticker for the old board? And is that ESN clean?
[Samsung Epic 4G Touch] xDecapitator:
Yes and yes.
[Samsung Epic 4G Touch] garwynn:
Then in a worst case I can get you going on that. Ill send details tomorrow by pm.
[Samsung Epic 4G Touch] xDecapitator:
That would be great. Is there some sort of guide I can follow?

Sorry, out of excitement I didn't fully read your post.
[Samsung Epic 4G Touch] garwynn:
You need 2 guides.

First google chrs41g epic 4g boost to change the MEID. Then there is a thread here from autoprime (?) with the way to change WiMax MAC in GB.

Both are on that sticker so you should be able to change and go.
[Samsung Epic 4G Touch] xDecapitator:
The phone I'm trying to fix is an E4GT.
[Samsung Epic 4G Touch] Mattix724:
The guide covers everything you need. Chris41g had several devices activated on 1 boost account.

Speaking of... Garwynn, do you think I would be able to do something similar to get my E4GT activated on Verizon? I currently have a LG Env3 which I am using for cell service.
[Samsung Epic 4G Touch] xDecapitator:
I successfully changed my MEID and MAC address but the phone now says that it's missing information whenever I try to activate it. I tried a PRL and Profile update and it said "Error:Client Authentication Error".
[Samsung Epic 4G Touch] garwynn:
Try a factory reset and try again. And I mean ##786# reset.
[Samsung Epic 4G Touch] xDecapitator:
I did this and I got it to activate. Now it just keeps giving me an Error 131. It's some kind of sign-in error.
[Samsung Epic 4G Touch] Mattix724:
http://bit.ly/Z0CRt5

First link.
[Samsung Epic 4G Touch] xDecapitator:
Well I was hoping I could get an answer that's aimed toward my situation. I obviously did this before I came to the forums again and I couldn't a find fix that worked for my phone.
[Samsung Epic 4G Touch] garwynn:
Can you clear the logcat, reboot, let error happen, dump and send the logcat?
[Samsung Epic 4G Touch] xDecapitator:
I've never taken a logcat so really hope I did this right. If not, I'm using aLogcat so just let me know what settings to use.

Logcat
[Samsung Epic 4G Touch] garwynn:
Thx for the log. Looks like data is okay... did you go back to GB and set the WiMax MAC? You'll need to to probably get 4G running.

So try backing up your current, flash EL29, patch the WiMax config to edit mac, edit and reboot. Then flash fl24 rooted restore and see if the error pops up again. If not, restore the backup... if error happens again only at this step there is probably data from an app acting up.
[Samsung Epic 4G Touch] xDecapitator:
It just says "Wrong Mac addr" whenever I try to set it. I'm runnng EL29 rooted and I did do the CT patch. I was thinking maybe it had something to do with CT's permissions? I have it set to -rw -r -r.

Nevermind! I didn't add the dashes. Stupid mistake. I'll let you know whether or not it works.
[Samsung Epic 4G Touch] xDecapitator:
After changing the MAC address again, it successfully activated! I seriously cannot thank you enough! Without you, I would just have an overpriced paper weight.
[Samsung Epic 4G Touch] xDecapitator:
Ok, everything was working except for the PRL and Profile updates. I read on a different forum that ##72786# would fix it so I did that. I'm back to Error 131.
[Samsung Epic 4G Touch] garwynn:
Somehow your keys got hosed again after ##786# if everything was working at that point.

So here's what I would suggest.

1) Check the MAC address and make sure it wasn't reset for WiMax.

2) Redo ##786#

3) Make sure it completes the full activation process - activate, profile update, prl update, firmware check.

For #3 try putting it back to FL24 after ##786#. Not sure if you were trying this from EL29.

Once you get it activated, BACK IT UP. You should now have a set of NV data that you can go back to if it borks again later.

Only other option is to follow Chris41g's guide to pull the HA/AAA keys off the old device (if you even can...) and add to your current one. But I thought ##786# will retrieve these for you too? When I reset a phone back to Sprint all I did was reverse the MEID and ##786#.
[Samsung Epic 4G Touch] xDecapitator:
After ##786#, I checked the AAA Password and nothing is typed in. The other S2 that I took the ESN from doesn't turn on at all. Unless there's another way to retrieve the info from the dead phone, I think it's just a lost cause.
[Samsung Epic 4G Touch] garwynn:
You won't be able to see them unless you follow Chris' guide for the donor.
[Samsung Epic 4G Touch] keeepinitgansta:
I was never able to bypass the "Client Authentication Error" by going through system updates update PRL / Profile. I was able to activate OTA though using the wizard presented after the 786 reset
[General Questions and Answers] Nate2:
Some apps give you points for downloading other market apps.

Is there any danger in downloading these other market apps just to get those points, and then deleting the apps after installing it and running it just once? e.g.

Could the Android system on your phone become fragmented like a Windows system can?

Do these apps grab your contacts info, etc. on initial run?
[General Questions and Answers] immortalneo:
Check permissions asked by the app while installing, to see if it accesses any data or uses any permissions that it normally shouldn't.

Sent from my SGS II
[Galaxy Tab 2 General] DroidBabe:
For verizon :):):):)
[Galaxy Tab 2 General] Narciso Neto:
Can you test SmartStay and search for new apps/functions? :)
[Galaxy Tab 2 General] Pezmet:
I will be amazed if smart stay works.. It will give all of us hope for the later builds..
[Galaxy Tab 2 General] trevorcobb:
hell yeah!!!

I saw this today too, and was hoping that a similar update for i705 would be posted. You just confirmed it!

"Samsung and Verizon Wireless is pleased to announce a new software update, SU1 SW Version, I915VRBMA3, for your Samsung Galaxy Tab 2 10.1. This update includes an upgrade to the Android Operating System 4.1.2 (Jelly Bean).

http://samsung.com/us/mobileupdates/vzw/i915

This update will address the following:

OS upgrade to Android 4.1.2 (Jelly Bean)"

***

Here's the PDF announcing the update from VZW: http://support.verizonwireless.com/pdf/system_update/galaxy-tab-2.pdf

And here's the PDF with update instructions: http://support.verizonwireless.com/pdf/system_update/galaxy-tab-2.pdf

How can we get the OTA link to download it manually ourselves?
[Galaxy Tab 2 General] BigBot96:
brilliant! Will start on getting a rooted stock ROM out tonight!
[Galaxy Tab 2 General] trevorcobb:
i just checked for the update on my device and it's not finding it. do i have to be on wifi?
[Galaxy Tab 2 General] BigBot96:
I'm on lte and found it. Downloading it now. Best bet would be wait for a rooted version so we don't have people getting re-locked.
[Galaxy Tab 2 General] BigBot96:
Im having some issues. Gonn bring beanstown in on it
[Galaxy Tab 2 General] BeansTown106:
shouldnt be too hard.. we just need to be purely stock with root and unlocked bootloader.. also need twrp.. if anyone can get me the update.zip it would be fantastic.. and also do we have a pure stock ics tar file.. not the leaked one

if someone on pure stock can wait to take the ota it would help immensely and we wont have all the problems they had the last time.. unless i can get it to work
[Galaxy Tab 2 General] DroidBabe:
I didn't even known it had smart stay lol I'll check it out when I get home
[Galaxy Tab 2 General] DroidBabe:
The battery life is waaaay better since this update :)
[Galaxy Tab 2 General] Pezmet:
Thanks keep us posted.
[Galaxy Tab 2 General] gtuck1002:
Samsung galaxy tab 2 7 update

I have a Tab 2 7.0 stock p3113 wifi put in seach for update found nothing this just maybe for Verizon .......
[Galaxy Tab 2 General] feralicious:
No. I have a wifi P3113 and I have an update notification.

http://xdaforums.com/showthread.php?t=2182731

Will I be able to root if I take it?
[Galaxy Tab 2 General] DroidBabe:
I didnt see smart stay in the settings :confused:
[Galaxy Tab 2 General] Pezmet:
Ah.. did you get 4.1.2 or 4.1.1 update ?
[Galaxy Tab 2 General] DroidBabe:
I got the 4.1.2 update
[Galaxy Tab 2 General] Pezmet:
Then smart stay should be under settings-display.
[Galaxy Tab 2 General] St0n3s:
Hmm, interesting
[Galaxy Tab 2 General] DroidBabe:
Its not :confused::eek::(
[Galaxy Tab 2 General] Pezmet:
Wierd p3110 got it in 4.1.2 but it does not work.
[Galaxy Tab 2 General] kds23:
is there a way to download the ota and install it manually? my tab 2 won't download the ota. another thing is do i have to have it on lte or can i update it using wifi
[Galaxy Tab 2 General] BigBot96:
I think WiFi would work. Are you rooted or anything else?
[Galaxy Tab 2 General] kds23:
No it's not rooted it just keep saying that service is unavailable
[Galaxy Tab 2 General] BigBot96:
Download the following file to your

external

sdcard. It cannot be internal. It's an untouched update.zip that verizon released.

link removed

Then reboot into stock android recovery and select apply update from external storage. Select update.zip and let it finish. Note that you have to be on stock VRALJ1 base.
[Galaxy Tab 2 General] kds23:
sweet
[Galaxy Tab 2 General] kds23:
i install the update but got an error and now its stuck at the splash screen
[Galaxy Tab 2 General] BigBot96:
What was error? If you were 100% stock vralj1 you should not have had any error as it checks your device and just about everything else.
[Galaxy Tab 2 General] kds23:
status 0
[Galaxy Tab 2 General] BigBot96:
Status 0 is incorrect update binary. Which means it didn't do anything to your device.

Are you sure you have the *Verizon sch-i705* galaxy tab 2?
[Galaxy Tab 2 General] Vishesh:
Jelly bean update 4.1.2 rolling out in India as well :)