yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 General] Darnell0216:
Got my phone rooted in 5 minutes! Thanks for the tutorial and I'm glad it's a quick and painless process.
[Sprint Samsung Galaxy S 4 General] thatotherguy..:
how do I unroot mf9?
[Sprint Samsung Galaxy S 4 General] g2435:
Noon questions what's the difference between mdl and Mf9 getting galaxy s4 Saturday and going to root it which will take 5 mins compare rooting a HTC phone
[Sprint Samsung Galaxy S 4 General] Darnell0216:
MF9 is the latest update pushed out to the Sprint version, containing Apps2SD support and several other changes. If you can help it, skip the account setups and have them download the update in-store over Wi-Fi (Best Buy will, not sure about Sprint stores). Once installed, factory reset and then go about adding/creating your info. It'll save you some headaches in a few days.
[Sprint Samsung Galaxy S 4 General] cartertucker:
I am getting a database error when trying to download CF-Auto-Root-jfltespr-jfltespr-sphl720.zip. any other sources?
[Sprint Samsung Galaxy S 4 General] :
Erased by me. Toooooo much coffee. :what::D
[Sprint Samsung Galaxy S 4 General] PhotoMaster:
Hi All, I'm a noobie so please bear with me if my questions sound lame. I just read through the 17 pages in this thread and still a bit confused.

I have had my S4 for about 2 weeks and want to root it. I'm running MF9 totally stock. The video was straight forward and I want to go for it, but some of the later posts about MF9 sound contradictory. One even sounded like I'd have trouble since I am already running for 2 weeks. Any recommendations??

Greg

Edit: Will I need Triangle Away using this method for rooting??
[Sprint Samsung Galaxy S 4 General] someguyatx:
Just follow the instructions in the video and you will be fine. It has been updated.
[Sprint Samsung Galaxy S 4 General] PhotoMaster:
Thanx Someguyatx,

Do you know if the binary counter gets incremented? I don't think they have Triangle Away for MF9 yet.

Also Odin will work with the file CF-Auto-Root-jfltespr-jfltespr-sphl720.tar.md5 but since I am running MF9

should I use KERNEL-SPR-L720VPUAMF9-1372121308.tar ?

Again I am noob at this and I really don't want to misunderstand anything and brick my phone.

My Mrs would kill me!

Greg
[Sprint Samsung Galaxy S 4 General] someguyatx:
Hey Greg I honestly don't remember if I used triangle away but I don't think so. When I got my GS4 I took the OTA update to MF9 then just got right on the next day and followed the directions from qbking77. His videos have always been spot on for my S2 so I didn't think twice. I also used his hacked hotspot method with no problems.
[Sprint Samsung Galaxy S 4 General] PhotoMaster:
Thanks muchly! Definitely want to try it.
[Sprint Samsung Galaxy S 4 General] shifuimam:
I hate to be a downer but videos are INCREDIBLY annoying when you're trying to figure out how to do something. It'd be really nice if you could take the time to make a text-based version of this for people who don't want to sit through a video.
[Sprint Samsung Galaxy S 4 General] PhotoMaster:
Just rooted and so far so good. Just trying my apps to see that it's all good.
[Sprint Samsung Galaxy S 4 General] sjsharksfan420:
Hi shif, since the op hasent posted it yet, would you like to type them up? I'm sure the op will repost your process steps even if you post them as a reply.. :)

Its really not too bad of a process, just download the required files, flash them as required, and bam, you're rooted. :)

Anyhoo, qb has been around for a good while now, he posts video how-to's, that's what he does. :)

sj
[Sprint Samsung Galaxy S 4 General] shifuimam:
Well, I was going to...

Except that this root method just about bricked my phone. It was bricked in the literal sense, but it more or less broke my ROM (stock MF9, which the CF-AutoRoot thread claims works with this method). I ended up having to download stock FW and reflash in Odin3 just to get a phone that would boot.

I ended up just putting CWM on it and installing the latest CM10 nightly.
[Sprint Samsung Galaxy S 4 General] sjsharksfan420:
Hmm, I'm sorry to hear that, I usually root before I have everything installed, this way I can backup immediately and have a totally stock/rooted setup, then I will setup and nandroid at that point.

sj
[Sprint Samsung Galaxy S 4 General] elbo450:
So I rooted back when I was on MDL and it worked flawlessly. But for some reason when my phone updated to MF9, I can no longer get into CW. I tried rerooting with no joy. I tried rooting my wife's GS4 just now and it too went without a hitch; or so it seems. I can't get into CW with her phone either. Just that stupid dead droid lying on his back. Any idea what I might be missing?

Thanks,

~G
[Sprint Samsung Galaxy S 4 General] PhotoMaster:
I was wondering if a usb jig would help? They're fairly easy to make and very inexpensive on Amazon.
[Sprint Samsung Galaxy S 4 General] konichwa:
QBKing -- You are a God. Can I get your autograph? ^_^

For those with Macs, you can* use these methods using VMWare Fusion--ie: host a virtual box within your Mac.
[Sprint Samsung Galaxy S 4 General] atlhp:
samsung update

I have a root galaxy s4 sprint and was wondering a message popped samsung account update. Update samsung account yes or no. If i choose yes will it mess up my rooted phone. thanks.
[Sprint Samsung Galaxy S 4 General] daniel4653:
Yes. It does nothing to root.
[Android Q&A, Help & Troubleshooting] lupeplupep:
Good day, after putting on the turbostock V2 in Advance Galaxy s will not let me give superuser permissions, I get to open the SU binaries SuperSU need to be updated, I will continue and below a message telling me "installation failed" to who is this? and try putting on the super us from cwm recovery and nothing still does not work, sorry for my English is the translator ..:(
[Android Q&A, Help & Troubleshooting] Lim Wee Huat:
Try installing Superuser/SU from Google Play. Update binaries from there.
[Android Q&A, Help & Troubleshooting] lupeplupep:
ok, try the super user, then I go to "binary updater" and I checked some Puntoos:

Fixing database ... Right

sutools unpacking ... Right

instalacion.. checking current path. / System / xbin / su

downloading new binary ... Right

obtaining root access ... Error!

Anything else I can do? thanks for replying ..
[Android Q&A, Help & Troubleshooting] Lim Wee Huat:
Download and flash this via recovery..

http://xdaforums.com/showthread.php?t=1538053
[Android Q&A, Help & Troubleshooting] lupeplupep:
ok, and probe the Super YOUR v1.25 and nothing, now I get to open the SuperSU "No binaries for SU installed and SuperSU not be installed. This is a problem!" some other solution? or the only way would be to change to another rom?;/
[Android Q&A, Help & Troubleshooting] Lim Wee Huat:
Wipe and reflash your ROM...:(
[Android Q&A, Help & Troubleshooting] lupeplupep:
already solved another Rom and installing again Give you their wipes, that was apparently the only solution .. greetings and thanks for the help:D
[Android Q&A, Help & Troubleshooting] Lim Wee Huat:
Anytime... Enjoy your new ROM.:)
[Android Q&A, Help & Troubleshooting] gelo20ify:
That one also happen to me when i install SuperSu app then updating its binary... what i did is that i just rebooted the tried updating its binary there it worked "update success"...

:angel:
[Android Q&A, Help & Troubleshooting] brijesh pandar:
While installing aroma file manager, my cwm recovery shows installation aborted.

What is the problem? Sir please help me...
[Java for Android App Development] RED_:
Right so I've created a very basic widget. It does nothing but display some text. The mechanics to setting it up are easy to learn. Now that I've learnt that I have to move on to what I actually want my widget to do. That would be where the database is involved. I want it to pull data from a database and have it show on my widget.

Eventually I will progress it so that the user can tap on it to bring up another bit of data from the database or just have a button do it. Right now though I just need to just get the data to show up. Let's say I have 500 rows, well I want the database to pull 1 row at random.

You don't need to tell me about the basics of a database because I already know that, I've used SQLite and all that, it's just getting it to work with a AppWidgetProvider that I can't get.

In fact I can already pull a random row from a database but I've only done it in an Activity. So how do I do this for a widget? Hopefully somoene here has experience with widgets!

I would really appreciate any help, thanks!
[Java for Android App Development] zalez:
I used RemoteViews to manipulate/access my widget buttons from the provider. I'm not sure what type of view you are working with but look those up. It may be what you are looking for.
[Java for Android App Development] RED_:
Interesting. I'll look into that. I saw some bits of code with RemoteViews but I have no idea about them so I better get learning.
[Java for Android App Development] RED_:
Any chance there are some decent tutorials out there? I get the idea that a RemoteView is what handles the communication for the UI but I still don't get how I can pull data with that involved.

I mean would this work for example: http://stackoverflow.com/questions/5661815/app-with-widget-accesing-to-database?rq=1

I've seen some with tonnes of code and then there's the one above which only has a few lines.
[Java for Android App Development] zalez:
When I went through this, I didn't find any tutorials so I pushed through it myself. Do you have a class to do your database queries?
[Java for Android App Development] crazyfool_1:
Using a remote view to change the text you could use something like this inside your onUpdate:

RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.widget); //set your widget layout
remoteViews.setImageViewResource(R.id.btnToggle, R.drawable.toggle_off); //this changes the image in the imageview btnToggle, remoteViews lets you use setText and a couple of other to manipulate certain widget items
appWidgetManager.updateAppWidget(appWidgetIds, remoteViews);

This is just a quick example pulled from one of my apps, you could put the database function above it to grab the line of text you want and then set the text in the remote view. The updateAppWidget will update all widgets with this view so if you have multitple different widgets then you'll need to pass the specific widgetId rather then the array.

If you want it to update with a button press on the widget, I would advice you set a pending intent which launches a service, does what you need it to do and then the service update the widget using remote views much like the above code.

Hope that helps :)
[Java for Android App Development] RED_:
I am using the AppWidgetProvider to carry on my database query, within the onUpdate method. I have posted my code in the link below, on a question I asked on SO.

Since my last post I have actually done something similar to this, if not the exact same thing. I had to post a question to stack overflow because I was getting a 'process is bad' warning here is the link: http://stackoverflow.com/questions/...base-to-show-on-widget-not-getting-a-response

I chucked the code I've used in the link.

Maybe you could provide some input there? I have been given one answer that I will now look at.

Thanks for helping as well!

Edit: For what it's worth I'm happy to make this project fully opensource once it works for others who want to do the same thing.
[Java for Android App Development] nikwen:
I cannot see the link. :(

EDIT: Thanks.
[Java for Android App Development] crazyfool_1:
Hmm, two things to try is first, uninstall, reboot, install. Sounds obvious but sometimes Eclipse/Android does weird things and a number of Google results suggest this fixes it. Secondly try adding android:label="@string/app_name" to you application tag in the manifest as per here.

If that doesn't work let us know, I think I have an idea of what else it could be but let's see..
[Java for Android App Development] RED_:
Weird, I'm getting a force close after uninstalling rebooting and installing. Here is the logcat:

05-01 18:07:02.480: E/AndroidRuntime(2546): FATAL EXCEPTION: main
05-01 18:07:02.480: E/AndroidRuntime(2546): java.lang.RuntimeException: Unable to start receiver com.test.application.TestWidget: java.lang.NullPointerException
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.app.ActivityThread.handleReceiver(ActivityThread.java:2383)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.app.ActivityThread.access$1500(ActivityThread.java:141)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.os.Handler.dispatchMessage(Handler.java:99)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.os.Looper.loop(Looper.java:137)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.app.ActivityThread.main(ActivityThread.java:5041)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at java.lang.reflect.Method.invokeNative(Native Method)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at java.lang.reflect.Method.invoke(Method.java:511)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at dalvik.system.NativeStart.main(Native Method)
05-01 18:07:02.480: E/AndroidRuntime(2546): Caused by: java.lang.NullPointerException
05-01 18:07:02.480: E/AndroidRuntime(2546):	at com.test.application.TestWidget.updateWidgetContent(TestWidget.java:27)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at com.test.application.TestWidget.onUpdate(TestWidget.java:22)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.appwidget.AppWidgetProvider.onReceive(AppWidgetProvider.java:66)
05-01 18:07:02.480: E/AndroidRuntime(2546):	at android.app.ActivityThread.handleReceiver(ActivityThread.java:2376)
05-01 18:07:02.480: E/AndroidRuntime(2546):	... 10 more

Edit: My manifest already has android:label="@string/app_name" in the application tag and the receiver tag.
[Java for Android App Development] crazyfool_1:
Your dbHelper is null. You have DBHelper dbhelper; but it's never initialized.
[Java for Android App Development] RED_:
You see I thought I fixed that by putting in the last method.

private static DBHelper getDatabaseHelper(Context context) { }

I might revert back to what I had before. I'll see what I can do.
[Java for Android App Development] crazyfool_1:
That might work but you haven't called it correctly.. It should be something like the following (untested):

public static void updateWidgetContent(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {

dbhelper = getDatabaseHelper(context);
dbhelper.openDatabase();

String name = "basestring";
Cursor c = dbHelper.getReadableDatabase().rawQuery("SELECT * FROM websites ORDER BY RANDOM()", null);
name = c.getString(c.getColumnIndex("weburl"));

RemoteViews remoteView = new RemoteViews(context.getPackageName(), R.layout.main);
remoteView.setTextViewText(R.id.TextView1, name);
dbhelper.close();

appWidgetManager.updateAppWidget(appWidgetIds, remoteView);
}
[Java for Android App Development] crazyfool_1:
A new error is always progress ha ha :P

It looks like there's a problem with your openDatabase method, best bet would be to set some breakpoints and see where it falls over..
[Java for Android App Development] RED_:
I guess so! Thing is a copied the openDatabase method from another project of mine where it works just fine.

It's fairly straightforward in that sense.

public void openDatabase() throws SQLException {

String myPath = DB_PATH + DB_NAME;
myData = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY);
}

Edit: The crap thing is that there is not a single open source project out there that helps me with this, that I can find anyway. I'm definitely making this open source if I can get it to work.
[Java for Android App Development] RED_:
Thanks, just got around to finding some time. Do you think I need to implement all of that for what I need? Obviously changing the actual calls to the database. Also DATABASE_NAME = "YourAppName" should be where your database name goes not your app name right? Or have I got that wrong?
[Java for Android App Development] zalez:
You would be the only one to decide if you need all of that class. I reuse it in many apps for database purposes. That class is what I use with my widget provider. DATABASE_NAME is for your app name. Because when your app creates a database in the system/data area, it is stored by appname.
[Java for Android App Development] RED_:
Ok, well it's telling me it can't find a table called "websites" in my database. I know for sure there it's there. This is annoying.

Here's the code I used from yours in my DBAdapter: http://pastebin.com/v0CWcr3t

and how I called it in my widget provider: http://pastebin.com/LDmvASdK

EDIT: I think the error is because I have my database in my assets folder and we are not copying it to the data/data folder.
[Java for Android App Development] RED_:
I did it!

I went back to my old DBHelper class and all I had to do was call my createdatabase() method in my AppWidgetProvider. I guess it wasn't being called on it's own. Hence why it was telling me it could not find the table.

I'll open-source it at some point. Just want to get every bit working. On to the button next and things like refreshing sooner than 30minutes.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] dj_m:
im having a problem with my camera

when i start it is says camera failed i searched other posts almost everywhere on the internet

i tried the main plausible fixes

1-going back to unrooted stock with different versions might fix it but no luck

2-flahing different modded ones didnt work either

3-update the camera firmware with *#34971539# with some files on an other device thread on xda but it crashes saying factory test has stopped

so my only hope to fix my camera is fixing the #3 problem to rewrite my cameras fw
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] xBeerdroiDx:
when did this start?

when you're flashing, are you doing a full wipe?

i've noticed with issues like these that when i perform a complete system wipe in recovery (data, cache, dalvik, system, media), flash the ROM (and gapps if required) and wipe data/factory reset again, the issue is usually resolved entirely.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] dj_m:
It started when flashing a aokp rom update and i always wipe as usual

i even reset my phone full stock and it still dont work

--edit--

Thread closed my friend traded his phone with me
[Android Q&A, Help & Troubleshooting] Rexkh:
Hi

I have a problem with my Android phone. I already select an option to install apps into SD card but each installed apps still consume some free space in internal memory. Example: an app size 20 would take 2-5mb in internal memory. Unfortunately, my internal memory is only 222mb.
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
Im sure i can help since i had the EXACT same problem with my HTC wildfire, its a very easy fix.

Lets start with some info:

Whats your device name?

Whats your service provider?

Are you rooted?

and we'll begin after that has been done :D
[Android Q&A, Help & Troubleshooting] Rexkh:
It's a new brand made in Singapore. It's similar to HTC chip I think.

Model: SGT-X40

CPU hardware: MT6575

CPU model: ARMv7 Processor

CPU frequency: 1024 MHz

Screen Resolution: 480 x 800 (4.0")

GPU vender: Imagination Technologies

GPU version: OpenGL ES 2.0

Memory size: 222.1 MB

RAM size: 475.3 MB

Android version: 2.3.6

Please tell me how you fix this problem.
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
Is it this:

www.handsetdetection.com/properties/vendormodel/Singtech/SGT-X40

Also are you rooted? my method requires root so you can get the app "link 2 sd" so you can move and uninstall boat apps.

Sent from my HTC Wildfire S in Equestria
[Android Q&A, Help & Troubleshooting] Rexkh:
I knew that. I tried to move or install apps in SD card but a few megabyte still increase in Internal Memory for each apps installed. So it will be full since internal memory is too low.

Did you notice that?
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
You need root so you can delete apps that you can't if you're not rooted. Look at the photos, I can delete google maps, but only if you are rooted. And my biggest app is only 10mb because I can move any app I want to my sd, not only some. So you need to be rooted so you can free up some space on your phone.

Sent from my HTC Wildfire S in Equestria
[Android Q&A, Help & Troubleshooting] Rexkh:
Yes, it's rooted. But even so, each time I install an app into sd card. internal memory still cost some space. many 1 mb will make it full. If you try for yourself to install an app in sd card and check free space before and after installing. You'll will see some space will be taken. Do you see that way?
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
Then get "superuser" and then get link2sd and delete apps that you don't use or apps that came with your phone that you can't remove. My phone has 220mb internal and I have plenty apps and I have like 20mb left. That's still a little bit but that's why we both need to upgrade our phones, but this way helps, but doesn't eliminate the low storage stuff.

Sent from my HTC Wildfire S in Equestria
[Android Q&A, Help & Troubleshooting] Rexkh:
OK, I think so. Do you know about create 2nd partition as ext3 for Link2SD? I tried it and I don't know what is the benefit to do that?
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
to tell you the truth, I didn't do that. I don't see the benefit in that but it's meant for moving apps to sd, if "link2sd" asks to create a partition, just tap yes. do ext 3

Sent from my HTC Wildfire S in Equestria
[Android Q&A, Help & Troubleshooting] Rexkh:
We can move apps to SD card. Why border creating a 2nd partition? 1 partition is not enough? Do you know that?
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
I don't know why, but you have to create 2 partitions. Make sure you are careful on what apps you delete.

Sent from my HTC Wildfire S in Equestria
[Android Q&A, Help & Troubleshooting] Rexkh:
We have too? No. At first, I can just install app to SD card. I don't have to create 2nd partition. But I did create it with my PC and insert it back to my phone. But I can't see anything different. It just waste space for 2nd partition. So nothing useful for 2nd partition in you opinion, right? I should delete it to bring space back.
[Android Q&A, Help & Troubleshooting] blackbox92:
U all should make 2nd partition, because some of the app wont work in sd card, plus all the data will link to the 2nd partition, it save a lot of space, but make sure u are rooted
[Android Q&A, Help & Troubleshooting] Rexkh:
Some apps will not work without 2nd partition? I've never seen one. Hmm, it save a lot of space? I think just moving data to sd card save a lot of space too. It's the same thing.
[Android Q&A, Help & Troubleshooting] Official_Rainbow_Dash:
That's what I did. Just simply moved apps and data

Sent from my HTC Wildfire S in Equestria
[Android Q&A, Help & Troubleshooting] blackbox92:
The application i mean is widget and chat like wechat and whatsapp(it work but hardly sync, meaning u need to open the app too view the msg). And email like k9 mail, it will not notify u new mail if u did not open it. And keyboard app u need to choose everytime u boot. And lot of thing wont work as they in internal. App in 2nd will work like they in internal. And u cannot use auto link option in the link2sd.
[AT&T Samsung Galaxy Note II] rayoubi:
So I hear all 4G phones are Unlocked including contracts phones thru ATT, Verizon, and Sprint. Can someone confirm this?

To make things more interesting I hear you can even put a ATT sim on a Verizon phone. I know data wont be 4G LTE, but can you actually be able to get on the internet and make phone calls? This is insane lol

if anyone has any more information please let me know. Thanks