yashsingh1/xdaforums huggingface dataset:
[Sprint HTC EVO 4G LTE] eXplicit815:
I'm sure I'm missing out on some stuff there, but if they send me something else for Christmas, I'd be a happy camper.
[Sprint HTC EVO 4G LTE] Blackcircle:
Found out it was sent from HTC through the Sprint Rewards Me program. Received a tracking number after the package was here for 3 days...hehe.

Still...it was an unexpected surprise.

via eVo.
[Sprint HTC EVO 4G LTE] hellot1M:
i got an email from "sprint rewards me" saying my HTC "prize" was sent along with a tracking number. its 2 days away from arrival!! i hope its the beats headphones!! that would be awesome! at first i thought it was the contest prize for november because that was the only thing i found on the site about an htc prize. which was $500 for selling 15 evos.

either way ill be happy. hope its nothing stupid like a bag....
[Sprint HTC EVO 4G LTE] o0adam0o:
That's awesome of them!

All I'd want is fixes for all the JB bugs. Although it could also be sprint or Google fault.
[Sprint HTC EVO 4G LTE] sgt. slaughter:
So both of u work for sprint?
[Sprint HTC EVO 4G LTE] eXplicit815:
What is this Sprint Rewards Me program you speak of?
[Sprint HTC EVO 4G LTE] hellot1M:
Extra bonus for selling phones. Its commission on top of commission. Like getting paid commission twice for each phone sold. It varies by month and there are contest. random prizes just for working at sprint and more prizes depending on what we sell and how many of each we sell.
[Sprint HTC EVO 4G LTE] Blackcircle:
I do.

via eVo.
[Sprint HTC EVO 4G LTE] TonyL222:
Hmmmm? I though spring had ended its rewards program. I'll have to go check it out. Haven't been on the site for awhile since my bills are autopay. Heck, they owe me!! I've been with Sprint since the Sprint Spectrum days.
[Sprint HTC EVO 4G LTE] Blackcircle:
They actually have an app now.

via eVo.
[Sprint HTC EVO 4G LTE] hellot1M:
Are you a sprint employee or just customer?

www.sprint.com/rewardsme
[Sprint HTC EVO 4G LTE] hellot1M:
These are it. Thank you HTC for this $100 Christmas present :)

I'll probably use the bag as a stash bag lol
[Sprint HTC EVO 4G LTE] Blackcircle:
Nice! Glad to see someone else enjoying these.

via eVo.
[Sprint HTC EVO 4G LTE] sgt. slaughter:
These sprint employees enjoying Xmas here.... Thank sprint not HTC for those...
[Sprint HTC EVO 4G LTE] hellot1M:
It was shipped through sprint for being an employee but it was HTC that gave 'em out. These are the headphones that come with sensation, sprint doesn't offer these or any form of beats
[Sprint HTC EVO 4G LTE] Blackcircle:
The Rewards Me program was created by manufacturers to give incentives for selling their devices. I believe is only a Sprint thing though.....so I guess you right, thank you Sprint.

via eVo.
[Sprint HTC EVO 4G LTE] yota265:
Well good job you guys.

My job just gives away cash as a bonus.

It always comes at the right time.

Got $220.00 yesterday.
[HTC One X] JL94x4:
Im on a custom rom, just don't want to lose nothing, just want to wipe the SD card as ive used almost all my 25GB but i don't want to manually go through deleting things file by file, would prefer to just format everything without losing the rom, or CWM or my bootloader/hboot.
[HTC One X] tomascus:
there's an option to format SD card in recovery
[HTC One X] JL94x4:
Will that keep all the important information that the phone needs to operate?
[HTC One X] TToivanen:
Your nandroid backups will be gone so better back them up.

Rom, cwm and stuff like that will not be affected since they are not stored on sdcard.

Sent from my HTC One X
[HTC One X] gregneal:
Go to settings > storage > erase SD card

or if you're on a sense version

settings > storage > Erase phone storage
[Sprint LG Optimus G] megamaster2:
How do we backup the phone if we don't have access to an SD card? :/ I'm not sure where it's backing up to.
[Sprint LG Optimus G] engine95:
Root, unlock, and backup with TWRP. It'll save to internal sd. Save a copy on your computer just in case
[Sprint LG Optimus G] megamaster2:
Where can I get TWRP?
[Sprint LG Optimus G] engine95:
Its all in Android development section. Root with AIO, or root with Windows method. If you buy Freegee ,it'll install TWRP. for you.
[Sprint LG Optimus G] megamaster2:
Which is better, clockwork or TWRP?
[Sprint LG Optimus G] engine95:
Personally i prefer CMW. But it doesn't backup/restore properly yet. TWRP is the only, fully functional recovery. So far.
[Sprint LG Optimus G] megamaster2:
So I chose TWRP, does it install as an app? I don't see it :(
[Sprint LG Optimus G] engine95:
Its the recovery. Power off phone, hold volume up+power, wait for LG logo and release. Fastboot should be on the bottom. It'll say unlocked. Then press volume down twice, then power. It'll reboot to TWRP.
[Sprint LG Optimus G] megamaster2:
Got it, backed up! Thanks so much for your help!
[Sprint LG Optimus G] engine95:
Your welcome. Glad i could help.
[Android Q&A, Help & Troubleshooting] Velcis Ribeiro:
Nobody? Neither any developer MTK6573? :(

My phone sctructure is really different from others, i don't know what the phone creator do with this :(

How to create CWM? :S And when i try to enter in recovery with original or with the cwm that i flashedstucks on logo and no button are responsive :/
[Android Q&A, Help & Troubleshooting] Velcis Ribeiro:
Bump, nobody? :(
[Sprint LG Optimus G] autoprime:
*NO PROMPT WHEN YOU HIT ##DIAG#? THIS INFO IS NOT FOR YOU (BUT STILL WORKS)*

*updated thread to add AOSP scripts*

On newer LS970's there is a MSL block on ##DIAG# mode. Normally you can hit ##DIAG# and flip the toggle. On recent phones you are given a "Service Code" prompt before we can toggle anything. Once DIAG mode is achieved we can connect the phone to a Windows computer to write a PRL or flash our phones to other carriers or read our MSL. See the tutorial here for how-to on that. The tutorial I have linked assumes your Optimus G does not have this MSL block... so replace step 2 with the information in this thread. That sums up this entire thread.. this thread is another way for step 2 in that tutorial.

You can get around this block with a simple command in terminal. (You must have root!) It may help to set "charge only" mode first and not MTP. Be sure to have the LG drivers installed before doing any of this.

su

echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable

If your phone was plugged into the computer already.. unplug it and plug it back in. You will now be in DIAG mode.

Your Windows Device Manager should look like this...

If you wanted to script this, I suggest script manager from the play store then using the widgets to add a shortcut to the homescreen. Open app, menu button > new script and write the script from below. Before launching the script.. be sure to toggle the SU button in the app, then hit save. And when making a shortcut you may have to try twice. You'll see what I mean when you get there. You do not have to unplug your phone if using the script. If it does not toggle diag for some reason, try running it again. I've never had to try more than twice.

STOCK ENABLE

#!/system/bin/sh

echo 0 > /sys/class/android_usb/android0/enable
echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable
echo 1 > /sys/class/android_usb/android0/enable

STOCK DISABLE

#!/system/bin/sh

echo 0 > /sys/class/android_usb/android0/enable
echo 0 > /sys/devices/platform/lg_diag_cmd/diag_enable
echo 1 > /sys/class/android_usb/android0/enable

AOSP ENABLE

#!/system/bin/sh

stop adbd
echo 0 > /sys/class/android_usb/android0/enable
echo 1004 > /sys/class/android_usb/android0/idVendor
echo 631B > /sys/class/android_usb/android0/idProduct
echo 239 > /sys/class/android_usb/android0/bDeviceClass
echo 2 > /sys/class/android_usb/android0/bDeviceSubClass
echo 1 > /sys/class/android_usb/android0/bDeviceProtocol
echo tty > /sys/class/android_usb/android0/f_acm/acm_transports
echo diag,diag_mdm > /sys/class/android_usb/android0/f_diag/clients
echo acm,diag,mtp,adb > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
start adbd

Thanks to MikeEx and everyone else in IRC that helped me look at files and test my script. I did not have my MSL and was unable to toggle anything.. making the script blind.. and eventually found something much easier than what I was previously trying.
​
[Sprint LG Optimus G] megamaster2:
Please excuse my noobness, but could someone explain what DIAG mode is and the benefits? Thanks!
[Sprint LG Optimus G] autoprime:
Diag mode allows you to connect to special CDMA apps on your windows pc. These apps let you do things like flash a new prl to your phone, flash your phone to different CDMA carriers, repair your data profile, backup your EFS etc etc. Lets you do fun stuffs. Apps that you might connect to are DFS Tool, CDMA Workshop and QPST(google em).
[Sprint LG Optimus G] megamaster2:
I really need to get a windows laptop again! Thanks for that info :) I might flash a PRL so I can roam since I get really crappy coverage where I go to school :/
[Sprint LG Optimus G] autoprime:
Windows can be installed inside a VM on just about any linux computer... and many macs. I do everything on a macbook pro :)
[Sprint LG Optimus G] megamaster2:
I do have VMWare Fusion and Parallels but much of what I needed would fail to work. But I'm giving my brother my Mac and buying a windows 8. Maybe until then I'll start using those VMs again! :) Thanks!
[Sprint LG Optimus G] elliwigy:
so if im correct.. dialing ##diag# and does NOT promot for MSL/SPC then i dont need spc to flash prl to my phone correct? mine lets me toggle with no issues and no prompts for spc.. so which app wont ask for spc to write prl to phone?
[Sprint LG Optimus G] autoprime:
ZV8 required spc for diag.. but it seems theyve removed it now.

you need spc to write prl. my first post in the thread links to method of obtaining spc.
[Sprint LG Optimus G] wbbjason:
Is there a script similar to this one that can be used with cmd on a Windows PC?
[Sprint LG Optimus G] autoprime:
no, command has to be run on the device itself.
[Sprint LG Optimus G] wbbjason:
OK. One more newb question...I am doing this for multiple phones and do not have accounts on each one in order to download apps. Hence the reason I prefer to use a pc and cmd. Am I able to download what I need to write this script without setting up a play account? Can i install the terminal through a batch file (how i rooted the phone)?
[Sprint LG Optimus G] ksweeley:
Could anyone help me?

I installed Android Terminal Emulator from the Google Play Store and I typed in "su" and pressed the enter key and allowed root access then I typed in "/sys/devices/platform/lg_diag_cmd/diag_enable" and pressed enter and I get "can't execute: Permission denied" can anyone help me?
[Sprint LG Optimus G] autoprime:
in terminal you should see "$" next to where u enter commands.

after entering in su.. you should see the "$" turn into a "#".

# = root

if you still see "$" instead.. then you arent rooted. there are other threads on how to root properly. use them.

if you see "#" but it still wont work.. then something's up with your phone because it should work :good:
[Sprint LG Optimus G] jonahly:
Coolio
[Sprint LG Optimus G] ksweeley:
I entered the command and it gave me a blank line with # and I disconnected my phone from the PC and reconnected it and I don't see

"Ports" under Device Manager. Attached is a screenshot of the command I entered.
[Sprint LG Optimus G] autoprime:
does ##3424# dialer code show DIAG as enabled in the menu? successfully sending the diag command in terminal should change the DIAG display from Disabled to Enabled.

also it seems like you're entering in the wrong commands. you're not using exactly what I listed in the OP.

its..

su

then you hit enter. then it's..

echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable

then enter again

if still fails... try using android terminal emulator.. not running from adb shell. terminal emulator method is what's described in OP.
[Sprint LG Optimus G] MikeDroid:
I'm rooted too. # and everything. Getting permission denied.
[Sprint LG Optimus G] autoprime:
please post a screenshot of terminal emulator with commands used and errors showing.
[Sprint LG Optimus G] MikeDroid:
See below
[Sprint LG Optimus G] autoprime:
ok.. just like the last guy... you arent inputting the proper commands. not sure why you guys are leaving out the "echo > 1" part of the command...

the second command is

"echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable" with no quotes.

"echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable"

NOT

"/sys/devices/platform/lg_diag_cmd/diag_enable"
[Sprint LG Optimus G] MikeDroid:
Boom, got it. Thank you.
[Sprint LG Optimus G] akiravjp:
thank u
[Sprint LG Optimus G] Noob4337:
Ok, I have a dumb question but I see stock enable, stock disable and AOSP enable but no AOSP disable. Should there be a separate script for that also? What change would need to be made to the script?

Thanks!:confused:
[Sprint LG Optimus G] autoprime:
It's called, reboot ;)
[Sprint LG Optimus G] Noob4337:
Thanks man, just making sure. Excuse my nueroticism.
[Sprint LG Optimus G] autoprime:
there is a way to set the script to disable it and reset to MTP mode... but i felt it was just easier to reboot and start fresh. if you have the need for an MTP script don't let me stop you. It's just not needed so I didn't bother.

if you check the settings of every file listed in the diag script.. then you have the settings for MTP mode... apply to script... ??? .... profit.
[Sprint LG Optimus G] Noob4337:
No that's ok. Just making sure a reboot is all I needed.
[Sprint LG Optimus G] Enazsem:
Autoprime you're quickly becoming one of my favorite people on XDA.
[Sprint LG Optimus G] monkeysez:
Why isn't this baked into CM10 automatically under developer tools.

I have desperately been trying to get this to work on my gs3 running cm 10.2 to no avail.
[Sprint LG Optimus G] monkeysez:
Anyway to get this working on Cm 10.2
[Sprint LG Optimus G] FcoEnrique:
How to disable?

I used the commands through the terminal, and it worked as spected, but, how do I disable it? :confused:

a reboot doesn't work, it stays on enable.
[Sprint LG Optimus G] ezeuba:
I've been trying this on the Sprint LG870 and no show. The command works well but no DIAG mode enable when I check. Any other way to get this done?
[Sprint LG Optimus G] LeonTristan:
For those that it does not work the following command:

su

echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable

Just Try:

su

echo 0 > /sys/devices/platform/lg_diag_cmd/diag_enable

I was having problems with a Optimus F3 VM720 from Virgin and this did the trick, hope helps someone else..

---------- Post added at 11:55 AM ---------- Previous post was at 11:19 AM ----------

Well, it looks like it only enables LGE Android Platform USB Serial Port wich doesn't do anything in CDMA Workshop, QPST or cdmaDev.

Anyone has an idea to turn on Diagnostic Port in this model?
[Sprint LG Optimus G] aiwlove:
I have tried with LG Optimus F3 (virgin mobile) but it did not work.

su

echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable

su

echo 0 > /sys/devices/platform/lg_diag_cmd/diag_enable

Any advice?
[Sprint LG Optimus G] Strizay:
I'm trying to do this from CM11 20131217 - Nightly. I enter the info into terminal emulator and I get sh: can't create .... no such file or directory error. any help?
[Sprint LG Optimus G] monkeysez:
Same Herr. Doesnt work on CM
[Sprint LG Optimus G] Strizay:
doh, then how am I supposed to flash this thing to pageplus?
[Sprint LG Optimus G] harishmenace:
Just go back to stock and do it
[Sprint LG Optimus G] Strizay:
that's what I was thinking. restore my stock rom and then flash to PP, and then restore CM11. I just wonder if it will keep the flash. Is there an easy tutorial how to flash to pageplus?
[Sprint LG Optimus G] Strizay:
If I go back to stock and then flash pageplus, and then clear all and clean restore 4.4.2, will I still have pageplus flashed? that's what I'm worried about. going back to stock, flashing pp and then returning to cm11 and losing my PP flash.
[Sprint LG Optimus G] Zanic07:
Thank You!!!

It's working when I typed it manually. But when I tried to make a script, I got an "no such file and directory" error.

I use this command:

#!/system/bin/sh

echo 0 > /sys/class/android_usb/android0/enable
echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable
echo 1 > /sys/class/android_usb/android0/enable

Any advice?
[Sprint LG Optimus G] tonytrucks:
Has anyone figure out how to enable diag mode on these optimus f3? The new handsets from VM are not responding to this method at all.
[Sprint LG Optimus G] chegs_pro:
Is there a way to enable DIAG mode in CM11 Nightlife??? I've done the script but got no such file or directory.
[Sprint LG Optimus G] drancid:
AOSP Script works for me. You need su permission. I'm on CM11 Nigtlies:good:
[Sprint LG Optimus G] tonytrucks:
flashing recovery and cm11 to optimus f3

Someone please post links to how to flash clockwork recovery, and cm11 on to optimus f3 ls720. Thanks.
[Sprint LG Optimus G] Creative9170:
Deleted
[Sprint LG Optimus G] Creative9170:
Hello,

Does it topic works for E975 too? I'm in CM11 official.

I don't have such folder in my device and when run script in Terminal is see attached error!

What can I do?

Thanks in advance.
[Sprint LG Optimus G] Creative9170:
How to enable DIAG mod in E975? Please someone help!! :(
[Sprint LG Optimus G] lifeizshort:
pin bypass

Ok so my ex girlfriend broke up with me in the most worst outcome I've could of thought of. That being said I suspended her phone. She finally gave it back but has a pin to unlock from lock screen. Anyway to bypass or delete files to make it work? Running AT&T LG G Flex. Thanks and hope you can help.
[Sprint LG Optimus G] dopy25:
Recovery, factory reset should do it. But you'll lose everything internal.

Upon rebooting it will be like a new phone and will ask to set up.
[Sprint LG Optimus G] deatheros:
So, people. Could someone help me to understand where is the problem?

There is no lg_diag_cmd directory on my phone. Help please.
[Sprint LG Optimus G] Strizay:
I'm having the same issue. What am I doing wrong?
[Sprint LG Optimus G] Solomonluke14:
Please help

Hello I am new to xda I still know a lot about tech but I would really appreciate your help

I am using a lg g3 I am rooted also and I'm using terminal emulator

When I try su echo 1 > /sys/devices/platform/lg_diag_cmd/diag_enable

It says echo1 not found I even searched though root browser and the files are there

But it doesn't do nothing but say echo1 not found. Thank you for your help

If you can help me
[Sprint LG Optimus G] anand96999:
i tried this in lg volt ls740

it accepts all command in terminal emulator

but diag mode does not enables

is there any more commands for lg volt ls740

pls help
[Sprint LG Optimus G] jason32835:
I'm in the same boat with the LG Volt. Has anyone figured out a way to enable Diag on new Virgin phones or is it impossible? Certainly someone around here is smart enough to figure it out!?:D
[Sprint LG Optimus G] cheripally:
I do have the same problem. pl any body suggest way out.
[Sprint LG Optimus G] jason32835:
I ended up buying the MSL on ebay. Best $6 I've ever spent.
[Sprint LG Optimus G] anand96999:
octopus box for lg is having solution for reading spc/msl codes
[Sprint LG Optimus G] Silent.God:
Can't activate diag mode on my LG G Vista.

I have two LG G Vista VS880 Phone. Phone1, purchased few months ago, has software version VS88010B, in this phone. when, I go to USB PC connection, I get 4 options (1) charge phone (2) MTP (3) Internet connection & (PTP). From Internet connection > modem, I can activate diag mode on my LG G Vista to connect it to CDMA tool.

However, in Phone 2, purhcased few days ago, there is a software version VS88012A. In this phone, when I go to USB PC connection, I ONLY get 2 options (1) MTP & (2) PTP. Other two options are missing.

Is this software version responsible for this ? Any solution for getting my Phone 2 into DIAG mode ? Is it possible to downgrade from VS88012A to VS88010B, if that is the solution ? then how ?
[Sprint LG Optimus G] mistaweeks:
how do you set up octopus box? is there a special way to install the egate drivers? is there a step by step tutorial anywhere showing how to install and configure octopus box? i havent done much searching but i havent been able to figure out how to install a smartcard reader on my toshiba satellite c855-S5350

i have an lg tribute ls660 on boost mobile and i cant figure out how to get it into diag mode . i tried commands from this thread and when i go to sys/class/android_usb/android0/f_diag/clients in root explorer and view clients with text viewer, it does not show the info that the command was suppossed to write ....in clients its suppossed to be diag,diag_mdm or something...it says nothing, but when done in terminal emulator, it acts like it completed it

my lg tribute lg ls660 says "unknown" where it should say prl version/meid/msin etc.....ive determined the efs partition has been corrupted or deleted and i need to write the meid and other info using cdma workshop, and i cant do that unless i can get the phone into diag mode. man there is just no developement on this device and i think people are gonna be sorry for that in the future....

there is no kdz files i can flash with lg flash tool or i would try that and hope it repairs the meid or something, i guess the lg f60 is suppossed to be the same phone, but i am afraid to try and flash one of those roms because i dont know if its gonna flash over the recovery mode as well and if it does, and something goes wrong...im afraid i wont be able to restore my backup

if anyone knows anything about anything im describing here, please help me
[Sprint LG Optimus G] anand96999:
sorry lg tribute diag mode is disabled

u need to purchase the msl code or if it is not activated on boost i can help u to get the msl
[Android General] Alfredmax:
Hello, a week ago I was trying to restore my phone back to the stock rom, it is a Samsung Galaxy i727, and now is dead or HardBrick, I´m from Dominican Republic, searching in the internet I found a local Mobile Repair Center offering the Jtag service in just 24 hour my phone is back, their name is ALUMUN, if you are in Dominican Republic they are the best, you can find them in google as ALUMUN

They fixed hardbrick for Samsung Galaxy and HTC
[Android Q&A, Help & Troubleshooting] tmhoang14:
Hi all,

I just rooted my galaxy tab CDMA and installed CM-10. I do it because i want to use android 4.1 to have USB host and accessory mode. But now everything is the same. Could any one help me please? Thank in advance so much.
[Sony Xperia T, TL, TX, V] xVenator:
I've searched all over the internet, but I can't find a way to root the Xperia V.

It's unlocked with following the sony guide.

Still new to all this stuff

edit:

I know there already is a thread, but the OP is asking for rooting with locked bootloader. (I didn't even know you had to unlock it, but oh well)
[Sony Xperia T, TL, TX, V] lee480:
My method was to flash Xperia VL's kernel and root it. But sadly it didnt worked. It's based on this article on rooting Xperia AX.

http://xperia-freaks.org/tag/xperia-ax-root/
[Sony Xperia T, TL, TX, V] xVenator:
So there is no way of rooting it as of yet?

The easiest way, would be to wait for flashtool to get support for xperia v?
[Sony Xperia T, TL, TX, V] Utacka:
Easiest method is to flash unsecure kernel, adb push su and busybox binarys to /system/xbin/ and set correct permission and then download superuser and busybox app from play market.

Read the thread in V Android Development forum.

Ive done it and worked fine.

Skickat från min LT25i via Tapatalk 2
[Sony Xperia T, TL, TX, V] Harimoto:
Strange, it doesn't work for me no matter how I try, Superuser refuse to update the binary, superSU too.
[Sony Xperia T, TL, TX, V] crazymister:
Did you push the binary files via ADB first? This is a MUST if you try to gain root. Search the Xperia v development section for instructions on how to push and set permissions via ADB.

Oh, and delete all superuser apps before you try this (again).

Did I help? please press thanks button