yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] kosmkosm:
Thank you for the quick reply. I am downloading the files now. How can I save this rom to the root of my phone storage? HTC sync manager doesn't see my phone.. :/

edit: This way?

adb push [source] [destination]

Function: Copy files from your computer to your phone.

The push command allows you to copy files from your computer to your phone without touching your device. This is particularly handy for copying large files from your computer to your phone like movies or ROMs. In order to use this command, you'll need to know the full file path for both your source and destination. If the file you want to copy is already in your tools folder (where ADB lives), you can simply enter the name of the file as the source.
[One (M7) Q&A, Help & Troubleshooting] alray:
Get rid of HTC sync, it can cause issue when using adb and fastboot. Uninstall it (but don't uninstall the drivers).

Then you can use adb push like you said:

adb push name_of_rom.zip /sdcard

Command prompt will be unresponsive for like 5-10 minutes, its normal.

Or if you have twrp 2.8.4.0+ you will see your phone like a storage device on your computer when booted in recovery so you just need to drag and drop the file to your storage.
[One (M7) Q&A, Help & Troubleshooting] kosmkosm:
too bad I don't have a new version of TWRP, checked and it is 2.6.3.0..

got rid of HTC sync, but kept the drivers as is. Also now that the zip is downloaded, I tried to run the command 'adb push', but it gives me error: device not found... is that logical? :/

I am desperate, seems that nothing works for me, what am I doing wrong?
[One (M7) Q&A, Help & Troubleshooting] alray:
Your phone drivers are not installed correctly. When booted in twrp recovery go in windows device manager again. Is the device listed or its a " ! " logo? If yes then install the drivers: http://www.mediafire.com/download/msfud4uem3gew2d/HTC-Mobile-Driver_v4.14.0.001.exe

You might want to update your twrp as well, will be easier to deal with the rom.

you can find twrp 2.8.5.0 here: http://techerrata.com/file/twrp2/m7/openrecovery-twrp-2.8.5.0-m7.img

save it in the same folder where you have adb and fastboot installed. Reboot your phone in bootloader mode / fastboot usb

fastboot flash recovery openrecovery-twrp-2.8.5.0-m7.img
fastboot erase cache
fastboot reboot-bootloader

Then enter in recovery mode, you should see your phone when going to "My computer" --> "One". Copy the rom to "My Computer\One\Internal Storage"

then in twrp select "install" and then choose the rom and swipe to install.
[One (M7) Q&A, Help & Troubleshooting] kosmkosm:
I ran the drivers installer, told me they exist, so did a repair.

Later, I was able to run the command and write the TWRP 2.8.5.0 recovery properly.

I restarted the phone to enter recovery mode, but it gets stuck forever in the first white page, saying Entering recovery..., the HTC logo and the message 'this build is for development purposes...blah blah'. I did all as you said.
[One (M7) Q&A, Help & Troubleshooting] alray:
Try to restore your phone using a RUU then. YOu have s-off, super CID and "super MID". you can use any RUU you want. The latest version is 7.19.401.2 and available here: https://drive.google.com/file/d/0B17smFr95pleSFhvZHd2a0RkTFE/view. Rename the file "ruu" (ruu.zip) and save it in the same folder where you have adb and fastboot

fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot flash zip ruu.zip
fastboot reboot
[One (M7) Q&A, Help & Troubleshooting] kosmkosm:
renamed to ruu, saved in the same folder, 'fastboot oem rebootRUU' finished in 0.047 secs, then tried to 'fastboot flash zip ruu.zip', but the fastboot.exe quits... :(
[One (M7) Q&A, Help & Troubleshooting] alray:
try with this fastboot.http://xdaforums.com/showpost.php?p=59412137&postcount=38

looks like the newer ruu must be flashed with htc_fastboot unlike older ones.
[One (M7) Q&A, Help & Troubleshooting] kosmkosm:
you are right! downloaded the htc_fastboot and it started sending the ruu.zip. Fingers crossed, I will let you know how it goes. Thanks again for the continuous support!
[One (M7) Q&A, Help & Troubleshooting] alray:
Any news? Is your phone booting now?
[Galaxy S III Q&A, Help & Troubleshooting] MrDSM:
Hi everyone,

I really need your help for a problem that i have.

I was on 4.3 stock with Boeffla Kernel, everything is good, i installed after CM11 to test it and after a day, i flashed back on XEF (XXUGNJ2 / ) 4.3 Stock ROM with Philz recovery only, all other things are Stock.

My phone work fine, but after an aleatory time, my phone is on "Emergency calls only", i must enter on Airplane mode and back to network mode.

My phone work normally, but after hours, it went back to "Emergency calls only"....

I reflashed XXUGNJ2 again with Philz WIPE, and the same problem, the phone works and after a time it became on "Emergency calls only"..

I search on the net, and found there is a patch Modem/Kernel which resolve this, i flashed them and WIPE ALL, the same problem, it work a time and went back to "Emergency calls only"...

Do you have an idea to resolve my problem?
[Galaxy S III Q&A, Help & Troubleshooting] josephiskandar:
Try to flash another modem and see how it works.

Be sure you flash a modem compatible with your region and carrier.
[Galaxy S III Q&A, Help & Troubleshooting] MrDSM:
Thanks for your reply.

Being on xxugna8, i already flashed XXEMG4, and the same problem, worked a while and fall on "Emergency calls only".
[Galaxy S III Q&A, Help & Troubleshooting] MrDSM:
Any help please?
[Galaxy S III Q&A, Help & Troubleshooting] josephiskandar:
Have you done a clean install when you switched to CM11? I would be you I would do again a clean install of rom+gapps+kernel+modem and see how it goes.
[Galaxy S III Q&A, Help & Troubleshooting] MrDSM:
I didn't stay along time in CM11 to see if the problem is there in CM11, but i want to stay in Stock ROM.

I always install with a clean install (Wipe with Install a new ROM in Philz Recovery).
[Verizon Samsung Galaxy S III] GeekDrop:
Hey guys,

I've got a problem here. I have saferoot installed, and even with a fresh install, after adding most (not all) of my usual apps + their backed up data, I keep having to wrestle with the "insufficient space" error whenever trying to update apps from Google play, usually clearing a bunch of app caches..

I use slot 1 (the main slot) to keep my untouched original stock Rom, then use slot 2 to install whatever rooted Rom I'm using as a daily driver.

When setting the slots up, I max out all partitions for slot 2, but it doesn't let me go higher than 2gb (I think, going off off memory at the moment) for the system partition.

It appears that even if the other slots aren't setup, they still have space set aside (?). I'd like if possible to just completely delete those extra slots (or whatever markers to them) freeing up any of that set aside space so that I can dedicate it to my slot 2 daily driver. I have ample gb's here but I still have to keep fighting with that error ... Very frustrating.

TIA
[G2 Q&A, Help & Troubleshooting] noorahmad321:
Hi i'm using korean model and i've updated it to official lollipop everything working perfect but i'm facing battery drain issue..i'm using g2 first time i dont know about its normal battery timing may i know what is actual battery time﻿ i totally fed up because battery drain so fast and i charge 3 times in a day﻿
[Verizon HTC One (M8)] KeltischDeutscher:
I was on Digitalhigh GPE with the Elite Kernel and the Verizon firmware offered on their thread (http://xdaforums.com/showthread.php?t=2716306) and my power button wasn't working. Pressing it wouldn't turn the screen on/off and holding it wouldn't access the power menu. Holding it to restart/hboot would work so the power button was obviously not broken and I decided to just reset everything. After a failed ruu, my phone keeps switching between the ruu screen (pic attached) and the htc 4 ! screen. I tried the exe ruu (http://xdaforums.com/verizon-htc-on...zip-ruu-m8vzw-5-0-1-s-off-onlynewest-t3047103) but it didnt work because the phone just keeps rebooting itself into the htc 4 ! screen. I don't have extensive experience with adb/fastboot commands, but tried flashing both the L hboot and RUU offered in that thread and got the "error: cannot load" response. Everything was backed up before I ruu'ed but my google/xda searches havent gotten me anywhere.
[Verizon HTC One (M8)] ironbesterer:
Pay attention to the thread... He makes a statement about this issue there.

To flash, put it into the fastboot folder (which should be the platform-tools folder within the Android SDK) and open a command window there. Use the command 'fastboot flash zip nameoffile.zip. It should work. Until it can successfully flash, you are boned.

If this doesn't work, I have one more method you can try.
[Verizon HTC One (M8)] KeltischDeutscher:
Retried that and it failed again. After doing another oem reboot command (which I did idk how many times during the process), the phone randomly got passed the ruu screens, into the white htc boot screen with red text, started up and seems to be working fine. After work I'm going to retry the ruu via the exe this time

Edit: Now it seems that my motion launch, auto-rotate, and proximity sensors aren't working so the only way I can use it at work is to plug/unplug the usb to turn the screen on.
[Verizon HTC One (M8)] ironbesterer:
Now flash a custom recovery via flashify and try flashing a custom rom.
[Verizon HTC One (M8)] dottat:
From the looks of your screen shot you ended up there because certain partitions failed to flash. That' the protect mode your phone will go into in the case of even a partial failure on flash. You need to reflash the entire RUU again and not "force" it past that screen. INVALID DSP info is NOT A good thing to see.

Personally I would flash the RUU in fastboot RUU mode using the htc_fastboot I have posted.....

https://www.androidfilehost.com/?fid=95784891001612150
[Verizon HTC One (M8)] KeltischDeutscher:
Finally had some time to sit down and try this. Basically not sure what to do because the phone always reboots before the flashing process is done for the 0P6BIMG.zip sd and ruu mode methods. Same with just entering hboot, sits for 7 seconds max then reboots
[Verizon HTC One (M8)] dottat:
See if you are able to get the hboot.zip to flash (you will probably have to be quick on commands).
[Verizon HTC One (M8)] KeltischDeutscher:
Yeah, whenever I try to enter fastboot now (Fastboot oem rebootRUU ), the command window just hangs on < waiting for device > and the phone restarts. Fastboot devices does list my phone
[Verizon HTC One (M8)] dottat:
try renaming the zip to 0P6BIMG.zip and putting on your ext SD. See if bootloader is able to flash that.
[Verizon HTC One (M8)] KeltischDeutscher:
Says it succeeded, gives me the power button to reboot option, and reboots itself before i hit power. Still at the same situation
[Verizon HTC One (M8)] dottat:
Hmm... try now this one in bootloader (renamed and placed on your ext-sd)

https://www.androidfilehost.com/?fid=95916177934540511
[Verizon HTC One (M8)] KeltischDeutscher:
Yeah, right after it begins the process after I hit the volume up button, it restarts while updating splash 1
[Verizon HTC One (M8)] dottat:
Did it immediately restart to bootloader or attempt to boot to os?
[Verizon HTC One (M8)] KeltischDeutscher:
os

Edit: Also - just for an extra description of the situation - when I got to work after trying to reflash this afternoon, I noticed my power button started working again. Data/wifi still work fine, but music (cant play anything), motion launch, auto screen rotation, audio or video (youtube, websites, gallery, etc) are still not functional and occasionally the entire ui will disappear and freeze for a few seconds.
[Verizon HTC One (M8)] KeltischDeutscher:
Haven't been able to flash any fixes. After using my m8 more, I've also seen that the calls and anything voice related are also down and the phone freezes up quite a bit, plenty of FC's.
[Verizon HTC One (M8)] dottat:
Install teamviewer and pm me the id and passcode. Make sure you have stuff backed up off your internal sd card first. We will get this straightened out.
[Verizon HTC One (M8)] KeltischDeutscher:
So I finally had time and installed team viewer today and when I booted to start backing up everything, the phone didnt automatically restart itself in hboot this time (over the past couple days I've been having barely any FC's or hang ups) so I tried the ruu you posted again and it finished. First time, it hung on the Verizon logo after boot, I ruu'd again and it fully booted, when the android app optimizing was finished, it gave me the acore force close, did a factory reset and everything (autorotation, music, power button, etc) is back to Verizon stock and working with no force closes/problems so far. Thanks for your files/help, dottat :good:
[T-Mobile Samsung Galaxy S 5] c627627:
Since towelroot was used to root my Galaxy S5, KNOX is not tripped.

Can you confirm that I can't install any app like TWRP to make a drive image backup without tripping KNOX?

Can adb be used to make an image from a PC and if so, can you link to detailed instructions?
[T-Mobile Samsung Galaxy S 5] androidfine16:
As far as i know, any type of recovery aside from stock will trip knox so if you dont want to trip it dont flash a custom recovery.

try this maybe itll work http://xdaforums.com/showthread.php?t=2450045.

(i personally rooted with cfauto root dont care bout knox or counter trip and flased twrp)
[T-Mobile Samsung Galaxy S 5] c627627:
Thank you. It's good to have that info, complicated as it is.

If you spend a long time setting up everything just like you want it to be, it seems like there is no choice but to trip KNOX in order to make a quick image of your phone. It takes just 3 or 4 minutes minutes to reimage back and fix any problems that ever come up in the future with a single click...

What is the counter count for in Galaxy S5 and after how many times are there any consequences?
[T-Mobile Samsung Galaxy S 5] androidfine16:
The knox counter trip is samsungs security for warranty purposes. Without tripping it it stays at 0x0. after it is triped its at 0x1 and thats where it stays for the rest of time. Currently there is no way to revert the change. If you care not for warranty or dont have intentions on returning the phone to samsung or tmobile like i do. tripping the counter is a breeze compared to the benefits it comes with.
[T-Mobile Samsung Galaxy S 5] c627627:
I thought that there was a counter separate from KNOX that keeps track of how many times you flashed the phone? Is that the case. What is the number like (2) for that follows the KNOX flag for?
[T-Mobile Samsung Galaxy S 5] androidfine16:
I'm not sure about the one that keeps track of how many times you flashed the only one that I know about is the one that trips the counter. But like I said if you have the counter tripped why would you care how many times you flashed a ROM or anything else. why does it matter?
[T-Mobile Samsung Galaxy S 5] c627627:
It matters for educational purposes so we know exactly how many counters there are and what they signify.

To that end, what does (2) stand for in KNOX WARRANTY VOID: 0x1 (2)

Being able to make a quick image of the phone and more importantly, being able to restore that image in a couple of minutes matters more than KNOX to most people. So installing custom recovery to be able to make an image and giving up KNOX is fine.

I stopped short of replacing stock software with CyanogenMod just yet on the Galaxy S5... hoping they will iron out anything buggy in CM12.

But it sure is annoying not be able to synchronize the SD card folders with PC quickly like you can if you can mount the SD Card as a drive letter... which you can't in stock, rooted or not, custom MOD is required for that... So on stock, it's annoying when it's actually quicker to disassemble the phone and physically take the SD Card out and synchronize a folder in it than it is to use sync software which takes for ever (and ever) to sync a folder in Android 4.4 KitKat because the SD Card cannot be mounted as a drive letter in stock :(
[T-Mobile Samsung Galaxy S 5] androidfine16:
I can mount my SD card fine using a USB cable to the computer I don't have a problem with that. I'm not sure why you have to take the Sd card out I know for instance KitKat doesn't allow you to use the SD card as a means of storage but you can fix that easily with the root and many other apps on the store. and aside from that Android 5.0 fix that issue as well Google realize what they did was stupid.

PS: is CyanogenMod 12 stable for the s5 T Mobile
[T-Mobile Samsung Galaxy S 5] c627627:
Would you please post instructions on how to have the SD Card show up as a drive letter when you connect the phone to PC using stock?

When the SD card is mounted as a drive letter, folder synching can be as quick as 'in seconds' - when SD card cannot be mounted as a drive letter, Synching software takes 'for ever' instead of seconds. So can you please clarify if you are talking about mounting the card as a drive letter and if so how did you accomplish that. If not, how can synching be done quick, like it can when synching the sd card if it shows up as a drive letter? What apps can do that on rooted Android 4.4 KitKat phones?

CyanogenMod 12 should be OK for use on T-Mobile S5, but I choose to wait a little before doing it.

Being able to tether and the drive letter mounting would be my reasons for switching away from stock to CyanogenMod...
[T-Mobile Samsung Galaxy S 5] elesbb:
To make a backup without twrp or any custom recovery can be done using the dd command.

There is a method to mount the SD card (external only) as a flash drive but honestly using it as mtp is just as fast. The only benefit to mounting as a flash drive is more devices can recognize it

Knox counter 2 means that the recovery and kernel are not not selinux enforcing.

If you just flash either a kernel or a recovery then it will be one. I believe that's how it works.
[T-Mobile Samsung Galaxy S 5] c627627:
Yes 'using' it as mtp is just as fast but not syncing it.

Mounting the external SD Card as a drive letter on PC would solve all my syncing problems, would you please post what that method is?

What does selinux enforcing mean, what is it used for?

I only rooted the phone without tripping KNOX and then subsequent to that installed TWRP which tripped KNOX and resulted in the (2) counter.
[T-Mobile Samsung Galaxy S 5] muniz_ri:
I just received my G900T and plan to test Safestrap on it (It will likely work on kk but not 5.0). It should allow you to install it and make a nandroid backup just like regular twrp w/out tripping knox. We'll see.

EDIT: A simplified verion of Safestrap (no rom slots) works flawlessly on NK2. It allows for flashing zips, ROM's, making backups....all

without tripping the warranty flag.

It can also work on 5.0 but requires a work around, i.e. Odin flashing between the NK2 and OB1 kernels in order to access Safestrap recovery on 5.0. Not sure if it is worth releasing?
[T-Mobile Samsung Galaxy S 5] androidfine16:
Like I said mounting the SD card for me is not much of an issue really I just plug it in and it shows up I don't know if it's because of your phone or the way you have a set up. but if you want to sync the SD card in the PC without a USB cable you can install eS File Manager from the market and use the FTP server tool. you can just mount SD card that way it will take a few minutes to transfer huge photos but it gets the job done without a USB connection for me at least it did.

Prior to having the last 5 from T Mobile I had a galaxy s4 from AT&T. it sucks because I couldn't install a custom recovery I was limited by the lock bootloader. safestrap was the only means of backing up the room and in some cases even performe wipes and make an image of the SD card like you said but the only problem with that is you're not fully having control of your phone. as a means to keep Knox at a secure 0x0 safestrap is a good way to go but I don't think developers actually would waste of time into making the safestrap for Galaxy s5 already support Twrp and CyanogenMod recovery. but if you can make it work though be a great improvement for people don't want to keep their warranty check but still want to have a recovery to do simple stuff with.
[T-Mobile Samsung Galaxy S 5] c627627:
Just to make sure you are talking about stock, right? It is easy to have the phone's SD card show up as a drive letter on your PC if you are using CyanogenMod or another mod...

But if you managed to have your SD card be displayed as a drive letter on your PC, and you are using stock software on your phone, please post how you managed to do that?

On a different topic of synchronizing using ES File Explorer, yes I use ED File Explorer, I do not see FTP under ES File Explorer > Tools, can you also please post where it is in ES File Explorer options?

Thank you for your time.
[T-Mobile Samsung Galaxy S 5] androidfine16:
Yes I am running on stock Android 4.4.2 kitkat. Rooted and twrp installed. Here's the picture to prove it (attached).

As for the ES File Manager here are the pictures on how to get to Remote Manager which you can use to mount your SD card on the computer via the remote connection server address. just put the address in on the computer and both of your internal storage and SD card should pop up.

[View attachment 3212219ATTACH]3212218[/ATTACH]View attachment 3212217View attachment 3212216
[T-Mobile Samsung Galaxy S 5] c627627:
Thank you very much for the clear FTP instructions. It helped a lot. Thank you.

As for the drive letter question, I understand that when you connect your phone to your PC with a USB cable, SD card shows up as an actual drive letter?

I have spent a lot of time searching for anyone who was able to do that and have never seen anyone do that on stock... Android 4.4 KitKat SD card does not show up as a drive letter on PC, no matter what.

It is a pity that you do not know how you did that.
[T-Mobile Samsung Galaxy S 5] androidfine16:
I made a full backup of my Rom once and I wanted to move it to the PC where I could keep it safe just in case my phone goes beserk. that up to the PC to transfer the backup from the SD card to the PC. and it seemed to work fine I never really thought of it I was having a problem like that. I'll check it out when I get homepage tonight see if it mounts if mounts i will show you a video.
[T-Mobile Samsung Galaxy S 5] c627627:
I ended up tripping my KNOX just to be able to have TWRP image the phone because it took only 2-3 minutes. I seem to remember testing the backup process over PC and it took considerably longer as I recall just to set it up, I know it's not a one click situation as with TWRP.... this was the deciding factor for me to just give up KNOX.

But hey on the other thing, if you can connect your phone to PC and see a drive letter for your SD Card, that would be a big deal because I just finished my testing and:

a 9.5GB folder containing about 47,000 files took 22 (twenty-two) minutes over Wi-Fi just to display what needs to be synchronized, without doing the actual synchronization itself over FTP.

Whereas physically taking out the SD card and doing the same process can be measured in seconds!!

Does this not prove that having the SD Card display as a drive letter when connected to the PC with a USB cable is *crucial* to quick synchronization process of large folders?

There also appears to be an additional flaw in the FTP sync process too, where you have to keep the phone display permanently ON, if it goes off, the sync comparison stops, until you turn the display back ON and awake the phone.

I know the solution is to simply install CyanogenMod or another mod which can display SD Cards as drive letters but it sure would be nice to have a hack that would display the SD Card as a drive letter on PC under stock too.