yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] yanivmvp:
'm trying to write app which will get the number of satellites and the HDOP.

my main activity implements GpsStatus.Listener and GpsStatus.NmeaListener.

however, even though there is GPS activity in my device , the methods

onGpsStatusChanged onNmeaReceived

are never getting called.

why?

here is my code:

public class MainActivity extends ActionBarActivity implements

GpsStatus.Listener,GpsStatus.NmeaListener {

[MENTION=439709]override[/MENTION]

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

UpdateLocation();

}

public void UpdateLocation() {

locationManager = (LocationManager) getSystemService(this.LOCATION_SERVICE);

LocationListener locationListener = new LocationListener() {

[MENTION=439709]override[/MENTION]

public void onStatusChanged(String provider, int status,

Bundle extras) {

// TODO Auto-generated method stub

}

[MENTION=439709]override[/MENTION]

public void onProviderEnabled(String provider) {

// TODO Auto-generated method stub

}

[MENTION=439709]override[/MENTION]

public void onProviderDisabled(String provider) {

// TODO Auto-generated method stub

}

[MENTION=439709]override[/MENTION]

public void onLocationChanged(Location location) {

double latitude = location.getLatitude();

double longitude = location.getLongitude();

float speed = location.getSpeed();

float heading=location.getBearing();

float acc= location.getAccuracy();

L.m(""+acc);

//Log.d("YANIV", "latitude : "+latitude);

//Log.d("YANIV","longitude : "+longitude);

//Log.d("YANIV","speed : "+speed);

//Log.d("YANIV","heading : "+heading);

//Log.d("YANIV","GPS LOCKED? :" + locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER));

};

};

//locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 2000,

// 0, locationListener);

}

[MENTION=439709]override[/MENTION]

public void onGpsStatusChanged(int event) {

GpsStatus gpsStatus = locationManager.getGpsStatus(null);

if(gpsStatus != null) {

Iterable<GpsSatellite>satellites = gpsStatus.getSatellites();

Iterator<GpsSatellite>sat = satellites.iterator();

int i=0;

while (sat.hasNext()) {

GpsSatellite satellite = sat.next();

L.m((i++) + ": " + satellite.getPrn() + "," + satellite.usedInFix() + "," + satellite.getSnr() + "," + satellite.getAzimuth() + "," + satellite.getElevation()+ "\n\n");

}

}

}

[MENTION=439709]override[/MENTION]

public void onNmeaReceived(long timestamp, String nmea) {

L.m(nmea);

}
[Droid RAZR M Q&A, Help & Troubleshooting] tahwer:
i need to unlock lte 1800 band (as available in xt905), so i need modded xt905 Aussie NON-HLOS to flash on my xt907 (cm11 kk bootloader)

can any one please share it... existing dropbox and google drive links are not working...
[Droid RAZR M Q&A, Help & Troubleshooting] Dr. Mario:
I wouldn't try this as it will brick the phone. Reason: different Trustzone signatures. There are / were peoples attempting to flash different NON-HLOS modem BIOS for the particular RAZR M (for example, XT907 NON-HLOS onto XT901. The result is pretty obvious: dead as a doornail). I am researching on RAZR M unbricking and I can pretty much tell you mucking around with the BIOS (bootloader) is a big NO-NO.
[Droid RAZR M Q&A, Help & Troubleshooting] lem22:
I guess you can flash the complete XT905 firmware on the XT907. It did work for me and even the modem does work for GSM (no idea about LTE or CDMA though). It's just, that there is still no KitKat available, so a CM jbbl version would be needed.
[Droid RAZR M Q&A, Help & Troubleshooting] Dr. Mario:
I suppose you can - just have to have some confirmation so you can be sure you won't brick the phone you spent the hard-earned money on.
[Droid RAZR M Q&A, Help & Troubleshooting] tahwer:
thanks alot,

is this the version that i should flash? and since im currently running cm 11 on kitkatbootloader does it support downgrade to this stock?

9.8.2Q_SMUIRD-7_SEMEAUnlk_USAXT90501TLSTRAE1019.0R_SMJBLTEAURETAIL_P008_A014_1FF_fb.xml
[Droid RAZR M Q&A, Help & Troubleshooting] lem22:
I don't know about the version number. I was on the first VZW KitKat (*.10) and flashed the latest available Aussie firmware which still is 98.21.7 (Build 9.8.2Q_SMUIRD-7) dated Jan 9, 2013.

As long as you have an unlocked bootloader, you can downgrade to JB. There are just some lines in the XML that have to be removed (GPT, TZ, and maybe something else if it fails - the usual procedure for downgrading).

Here are the official CM11 builds for JB bootloader, most likely there won't be any for CM12.

Edit: I was wrong about CM12 for JBBL. Obviously there will be builds for this older bootloader too. :)
[One (M8) Q&A, Help & Troubleshooting] hassan.yr6:
Hi guys , I recently converted my HTC one m8 to gpe and updated to lollipop , and now I want to convert back to sense. I have searched a lot on the web but I can't find a straightforward method or not easy for me. Please can someone give me a guide on how to do this.

Thank you very much guys!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
The guide is in the General forum, and is linked to in the GPe conversion thread. If you can't follow that then you shouldn't have converted the phone in the first place
[One (M8) Q&A, Help & Troubleshooting] hassan.yr6:
Can you give me the link please
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
No, it's in General and also in the GPe RUU thread you used in the first place. We don't spoon feed around here
[One (M8) Q&A, Help & Troubleshooting] hassan.yr6:
Calm down man , I've just asked kindly for a simple thing
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Yep, and the guide you want is on page 1 of the General forum so I don't need to link to it as it's right there
[One (M8) Q&A, Help & Troubleshooting] hassan.yr6:
Kindly another question if you don't mind

Will it convert to pure stock , like I bought it from the shop thank you
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Yes, so long as you do everything to the letter. And read it all first before starting
[One (M8) Q&A, Help & Troubleshooting] hassan.yr6:
Thanks man for the reply
[Honor 6, 6 Plus Original Android Development] BoRoU:
Hi guys. I'm trying to decompile the framework-res.apk and always gives me error. Well the truth is that the first error gives me trying to assign the framework with:

java -jar apktool.jar if framework-res.apk

I get this error:

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01040308 string/lockscreen_carrier_default, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:193)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:678)
at brut.androlib.Androlib.installFramework(Androlib.java:645)
at brut.apktool.Main.cmdInstallFramework(Main.java:252)
at brut.apktool.Main.main(Main.java:91)

I tried with all apktool I've seen and always the same error.

Any idea how to fix it?

Thanks.
[Samsung Galaxy Alpha] dannygud:
I have moved my entire media library from my old Android device.

In my new Alpha, the pictures have been sorted by date automatically.

The videos haven't (all tagged 2015), I used software that changes the date (CREATED/MODIFIED), I transferred to the device, and unfortunately it is still listed as 2015.

What to do?
[T-Mobile Samsung Galaxy S 4] QA Bot:
Q&A for |ROM|★MD v1★|►UVUFNK2◄|4.4.4 TW|JAN.22.15|★

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for |ROM|★MD v1★|►UVUFNK2◄|4.4.4 TW|JAN.22.15|★. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[T-Mobile Samsung Galaxy S 4] xlife107:
thanks

You are the Best :good:
[T-Mobile Samsung Galaxy S 4] iB4STiD:
my pleasure man!! enjoy :good:
[T-Mobile Samsung Galaxy S 4] dayvidno21:
noob questions

First and foremost Excellent Rom! :good::good: I greatly enjoy it.

I have two questions.

Question 1: I am unable to delete a file from local downloads using ES File Explorer. Am i doing something wrong?

Question 2: I applied Exposed/wanam via Aroma and every time i try to update the frame work i receive this error.

Please excuse my mistakes in posting as this is my very first post in a forum EVER.

View attachment 3129734 View attachment 3129735 View attachment 3129736
[T-Mobile Samsung Galaxy S 4] NYCDianand:
Thumbs up
[T-Mobile Samsung Galaxy S 4] Zycron:
MD ROM issue

stock kernel doesn't work with m919n custom one works fine any way to get stock to work
[T-Mobile Samsung Galaxy S 4] cybernee:
adb issues

Anyone else getting this or have I done something foolish? I obviously have root and it's working, but I can't push via adb and I'm having trouble writing to the extSdCard even though the ROM includes the fix.

$ adb remount

remount failed: Permission denied

$ adb root

adbd cannot run as root in production builds

adb shell

shell@jfltetmo:/ $ su

root@jfltetmo:/ #
[T-Mobile Samsung Galaxy S 4] sharpeyedman:
I really need some help here.

I have I337 GS4 on T-Mobile. I have had tried numerous T-Mobile TW based ROMs from 4.2 upto 4.4.2 and they have worked fine.

Now I have connections issues on 4.4.4 such as this one. I really want my phone to run this ROM but signal is completely lost after reboot and can't establish any connection with T-Mobile at all. I thought it was the T-Mobile 4.4.4 ROM issue so I tried MD v1.1 universal FNJ4 but it was giving me same no connection problem( tried both AT&T and T-Mobile on installation prompt but same lost connection issues).

It just works fine on KANGAPOP 5.0, 4.4 as well as SKYFALL. Connections are secure and smooth and stable on these ROMs right out of the box.

Does anyone know how I can fix the lost signal and have this ROM run on my i337? I have actually waited 14 months hoping iB4 would release T-Mobile based version that has WiFi calling yet I can not run this beautiful ROM on my phone yet due to this problem.
[T-Mobile Samsung Galaxy S 4] joey24z1:
IR Blaster?

First off....Great Rom! I'm a addicted flasher and came back from Lollipop to this one.

Only problem I have is the IR Blaster seems to be not working.

I tried a bunch off apps but no go.....Can anyone tell me if theirs is working and with what app? Thanks!
[T-Mobile Samsung Galaxy S 4] waylo:
Media_rw folder access in Titanium Backup?

Does anyone here use Titanium backup?

Is it all 4.4.4 ROMs, or just this one, where Titanium can no longer read the media_rw folder? It worked before on my last 4.4.2 ROM.

Looking at the media_rw folder access properties, it looks like it is properly set to r/w.

Using folders within this is the only way to get Titanium to 'protect' backups. It doesn't work if you point it to external SD storage any other way.
[T-Mobile Samsung Galaxy S 4] indiffy:
My phone isn't asking for a password on reboot or cold boot.

Settings: Screen lock with pin, lock after 10 minutes, power key instantly locks.
[T-Mobile Samsung Galaxy S 4] jroq8400:
I have i337 on t-mobile and seems to be running fine. I have NC1 bootloader with safestrap 3.75 and rockratt NJ4 modem and NC1 modules. I have been using goldfinger v9 on the stock slot and testing many others on slot1. Just today I tried and posting from MD-NK2-TMO v1.3...was a little worried about the question for kernel but seems to be OK so far...crossing fingers
[T-Mobile Samsung Galaxy S 4] sharpeyedman:
Thanks for the reply. Great info for those who have post-MDL bootloaders. I got a beta-patch from op and the problems gone now with 4.4 modem and MDL bootloader. Only problem that I encountered was with Softcard app or a NFC wallet for T-mobile. this app worked fine on cutom roms based on 4.4.2 or prior versions but I think its the modem related as the softcard worked fine on pre 4.4.4 T-mobile ROMs while on MDL modem. More testing needs to be done I guess.
[T-Mobile Samsung Galaxy S 4] baseballfanz:
I'm having an issue where my sdcard get unmount by itself. Try a few kernels but still the same. Anyone else having save issue?
[T-Mobile Samsung Galaxy S 4] anil1984:
IR is not working

The infrared is not working, please fix the issue, thanks in advance
[T-Mobile Samsung Galaxy S 4] waylo:
Change the kernel to stock or hispAsian. This has been mentioned in previous posts.
[T-Mobile Samsung Galaxy S 4] joey24z1:
Sleep Of Death

First thing. ...great rom.....I've been using it as my daily driver for quite a while now. ...And I'm a flah-o-holic!

However, just recently I've been getting the sleep of death...I can't wake phone after it goes to sleep at times, I have to reboot to wake.

I have no plans on switching roms, so i may just dirty flash 1.3

Also, I am using Hispasian kernel 3.4.1.1

Any ideas for a fix?
[T-Mobile Samsung Galaxy S 4] michaelstreak7:
Help with Rooting my SGS4 SGH-M919 UVUFNK2

Hi all,

yes I'm a nooby, and would like to root my T-Mobile phone to be able to customize it and use more favorable apps.

I have downloaded the MD 1.3 ROM, Odin, S4 drivers, Kies and I'm trying to follow the guide as much as possible

but it says to boot into custom recovery. Doesn't the phone need to be rooted first before I can Flash TWRP or CWM?

Sorry if I sound totally confused here..

If someone could please assist, I would be appreciative.

Thanks,

Michael :p
[T-Mobile Samsung Galaxy S 4] jaila:
Baseband & bootloader ?

where can i find the BASEBAND & BOOTLOADER that go with this rom? i am not getting any service ...thank you
[T-Mobile Samsung Galaxy S 4] ctbale:
modem 2Xs flash

Just wanted to post this to help anyone out. If its been posted feel free to delete. Both times when I oden-ed nb4 to nh7 and then again from nh7 to nk2 it took two oden flashes to get modem to update with fw. Awesome ROM Dev!!!

---------- Post added at 09:38 PM ---------- Previous post was at 09:29 PM ----------

This is how I do it. First I copy supersu. Zip to my phone. Then I flash twrp using oden with auto reboot not checked. When its done I pull the cord then pull the battery. Then manually go to recovery. Install SuperSU. Then reboot to system and start SU and it tries to kill Knox and update binary (normal). At this point you have a rooted phone with stock fw and a custom recovery ready for a costom ROM. But I think this Dev says in one of the latest posts you can just install twrp and install ROM and it will root.
[Galaxy S 4 Q&A, Help & Troubleshooting] Rvl7:
Hello,

Iam using Samsung S4 I9505 TW 4.4.2. GoldFinger v8.0. i like time lepse feature from Cyanogen Camera 2.0.004.

but when instal to device, there is error message "Camera has stoped".

Do we need CM Rom to work?

How Cyanogen Camera 2.0.004. work on TW 4.4.2?

Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] DSA:
You need libs and several other system files, you can't just drop the apk in
[Android Q&A, Help & Troubleshooting] MarkHodgeNZ:
Hi all.

I'm new to Android and have been given a Lenovo phablet that does not have Google Play.

I've been Googling for hours looking for ways to get Google Play on it and have had no luck. I have seen threads of people trying to find firmware for it that includes Google Play.

Is it of any practical use or basically junk? ie., are there other stores that can replace Google Play? The model is Lenovo A3300-T

Cheers,

Mark @ NZ
[Android Q&A, Help & Troubleshooting] abhinavp649:
Can u tell the model of your phablet..

May be then I can help u..
[Android Q&A, Help & Troubleshooting] MarkHodgeNZ:
It says Lenovo A3300-T under Model number in Settings/

Cheers,

Mark
[General Topics] romka:
I love outlook.

One thing I want it to do - is show me a summary of when I called a specific person.

Can I have my JasJam sync that information with it?

Thank you.
[General Topics] romka:
not one person has ever wanted to do this?
[General Topics] churchwa:
Mobile 6 + Exchange 2007 does this i think
[General Topics] romka:
awesome..

can you link me to where that's mentioned?

as that would be finally great :D
[XDA Assist] XDA Visitor:
Can i upgrade to CM12 manually?? Will it affect working of my phone anyhow in India? Any warranty concerns??
[XDA Assist] Darth:
Hi,

You will need to register on XDA and ask for help here,

> OnePlus One > ONE Q&A, Help & Troubleshooting > [Q&A] Help thread. Ask away! (Noob friendly)

Good luck!
[Galaxy S 4 Q&A, Help & Troubleshooting] zorkek:
And probably noob on looking for threads.

I come from a nexus 4 (and a GS1 before that), and flashing stuff where simplier than this so i need some answers :)

I want to install a GPE rom on this bad boy but i can't find a good guide to follow, the only guide i found was on how to flash without tripping knox countrer... well i don't care about knox counter (already out of warranty), how do i do?

is there a good link you can redirect me to? i read some bugs about the modem module (wifi won't work), how do i avoid that?

i'm actually on stock GNG8 (no brand device) and let's say i want to install [ROM]【5.0.1】Google Play Edition 【JFLTE-GPE】 - 01-12-2015, what do i need to do?

Thanks.
[Samsung Galaxy W I8150] aca1213:
When i flashed the rom it says mount: failed to mount /dev/block/mmcblk0p28 at /data failed; no such volume

i dont know it then i flashed gapps and format /system and /data and reboot

Then it says uncryption unsuccesful
[Samsung Galaxy W I8150] Zorg The Great:
yup, that makes two of us. tried installing lollipop and phone went funky, not sure how to fix it. tried google but nothing helpful, hopefully somebody can help us on this.
[Samsung Galaxy W I8150] ilusi0n_:
Both of you have the right recovery?
[Samsung Galaxy W I8150] ClarkOwen:
Any fix??
[Samsung Galaxy W I8150] aca1213:
Yes
[Samsung Galaxy W I8150] mido_matrix6000:
1-Install stock rom using ODIN and use OPS file , don't forget to wipe data after installation completes

2-Install CWM right version for your phone using ODIN

3-Install any ROM you want

hit thanks if it helped , if not please explain in more details your problem
[Samsung Galaxy W I8150] cddot:
Ok, for the Encryption unsuccessfull problem, this is what I did to get my Galaxy W to work.

In addition to format /system, /data etc, I had to format /storage/sdcard0 as EXT4. This gets past the Encryption unsuccessful problem, and I can flash the ROM CM12 and get it running.

But, I'm running into a weird problem that no one else seems to have come across. I can flash gapps 5.1.x, apparently without any failure messages on the flash window, and boot up.

Once the boot up is completed, I cannot see any of the Google apps icons at all !!?

I followed the same flashing process when installing CM 11 and 4.4 gapps, and this works fine. With CM 12, 5.1 gapps, I don't get any Google apps. :confused:

Anyone else came across this?

PS: After looking in the right place, many (all?) have the gapps problem in the cm-12.1-20150912-UNOFFICIAL-ancora thread. But I've also tried the RR rom with OTA updates. RR works - OTA just sits there with a blank page. :confused:
[Galaxy Note 4 Q&A, Help & Troubleshooting] Nekodemus:
Hey Everyone

I have Samsung Galaxy Note 4, model SM-N910.

I just rooted the phone using CF-Auto-Root. It did trip knox the device.

I haven't installed a new rom, and I'm just running Nova launcher and a couple of modules with exposed installer.

Yesterday there was a Samsung OTA which I wanted to download, but it failed as soon as it was trying to reboot the phone....

My Question is.. Its it possible to update the original software on my device without ruining the root access? :confused:

Kind regard

NIkolaj
[Galaxy Note 4 Q&A, Help & Troubleshooting] RISHI RAJ:
You have to update through odin & cannot update through mobile.Also you have to re-root
[Galaxy Note 4 Q&A, Help & Troubleshooting] maksharma231:
Updating via kies should also work ;)
[Galaxy Note 4 Q&A, Help & Troubleshooting] Nekodemus:
Thank you very much. I will try that
[Galaxy Note 4 Q&A, Help & Troubleshooting] Nekodemus:
Is there by any chance someone who knows how/where I find the samsung updates ??
[Galaxy Note 4 Q&A, Help & Troubleshooting] jdomadia:
Www.sammobile.com
[Galaxy S 4 Q&A, Help & Troubleshooting] CyberSA:
Hi All,

I have a GT-I9500 4.4.2

I9500XXUGNF6

Build KOT49H.I9500XXUGNH2

The issue I have is some games just dont render correctly - Like Bauldurs Gate (cant see the background image) and Knights of the old republic (most of the NPC are white with no skins).

A while back I did break my screen and it was replaced by samsung so do not know if they broke it while replacing the screen or if the gave me a cheap replacement.

So I really just need to know how to check if my GPU is not broken or it has been damaged or is this a software or app issue.

BTW other games like simcity has no issues at all.

Thanks in advance for your advise.
[Android Apps and Games] PerpetuumSoft:
We've just published a new version of our Android database app on the Google Play Store.

MobiDB Database Designer is now much more powerful: now it’s possible to add nested tables, export data to PDF, or print it via Google cloud print.

We also added the ability to share entries to the external apps for further use. With these new features MobiDB is a really high-performance and efficient tool that can handle any personal or business data.

A new version of MobiDB Database Designer is available on the Google Play Store: https://play.google.com/store/apps/details?id=com.perpetuumsoft.mobidb.lite

It would be great to get feedback from the community. Your rating on the Play Store would be cool as well.

Just give it a try!

Cheers,

Ekaterina
[HTC Desire C] yellowplanet:
Hi there,

Can one of you great people write down a step-by-step guide to updating a Desire C please?

I recently updated my son's Samsung Galaxy Y to Cyanocream which was my first ever attempt (took a few attempts actually) to update a mobile from it's stock settings.

So I thought I'd give my Desire C a go but I'm reading lots of different guides which have totally confused me with different terms and settings that I don't know whether should be considered or not or even what they do.

There's S-On & S-Off, fastboot, bootloader, downgrading, temporary root, permanent root etc..... I also see there seems to be a regular problem with wifi working after updating.

When I eventually sussed out how to sort my son's Galaxy Y it took about half an hour from start to finish and it works great. I did think I'd bricked it twice but managed to get it back to factory settings, so ideally I'd also like to know how to do this for the Desire C in case I need to.

Maybe there is already a thorough guide but I haven't found one that doesn't have lots of problem posts after them.

Fingers crossed that one of you lovely people can either create a new concise guide or point me to one that already exists.

:)
[HTC Desire C] Quasar:
Well, basically, the first step here is to unlock the bootloader using the htcdev site. After that, you download the TWRP recovery from the Original Android development section and flash it via fastboot (you'll have to download that) using "fastboot flash recovery 'name of recovery file'.img". Then, you just flash the SuperSU.zip or flash another ROM.