yashsingh1/xdaforums huggingface dataset:
[General Topics] vijay555:
farbird: just a quick response for now, I need to sleep:

VJOKButt does already check every time it's pressed if the window is an "OK" or an "X", and does the necessary (ie it doesn't just close every app, it pressed ok if it needs to). Hopefully. If it doesn't, please detail the app it doesn't do this in. Not all apps respond to my emulated "OK" correctly, so it may not be 100% native.

Currently, pressing VJOkButt will close the app (if it's closable). If it takes you to the today screen, pressing it again will skip to next app. Pressing again, will close it. Continuous pressing will thus close all running apps in a cycle. Ultimately you will end up on the Today screen with no other running apps.

If you want me to, I can then implement a shutdown screen, so that a subsequent press will permit shutdown. But I provide VJEschaton for shutdown related stuff really. I'm not sure it's logical to build this into VJOkButt, but if you want, I'll think about it.

V
[General Topics] farbird:
ya know...

I love your fast response...

great...

I will sit my butt in front of the monitor and refresh F5 this thread every 30mins and wait for your reply..

hehe

dank u
[G2 Q&A, Help & Troubleshooting] _tyler_:
[Q] How can I remove custom recovery? Ran into some problems and want to "start over"

So I recently rooted my VZW G2 thanks to wyrdtrtle on IRC (HUGE thanks, btw). I had lots of issues and he helped me out for about 3ish hours. It ended off with me asking him which recovery I should use (CWM vs TWRP) and he said he uses TWRP for it's touch interface, so I went ahead and installed it via FreeGee. Fast forward to yesterday night, I decide to flash CM 10.2 (I'd prefer starting out on a guaranteed stable build instead of a nightly since I've been on Android since January and know very little). I find and watch a tutorial (can't link since i am a new user) and proceed to download the CM10.2 zip and the gapps. After a few seconds, it fails. I try looking for more tutorials, specifically for G2 and CM and it still fails. I then tried installing CWM (maybe TWRP was the problem?) via FreeGee and again, flashing failed. I thought it might be CM and I was going to try ParanoidAndroid or Mahdi (think that's the name) and see if that works but I now want to remove both recoveries and "restart" as if I had just rooted my phone. Decided to post here before I potentially brick my phone. Sorry for wall of text, but any help is appreciated.
[G2 Q&A, Help & Troubleshooting] MuzakaTheBeast:
how'd you root your phone first? through what?
[G2 Q&A, Help & Troubleshooting] _tyler_:
I followed the IORoot22 instructions along with clarification from wyrdtrtle on IRC
[G2 Q&A, Help & Troubleshooting] spinninbsod:
Try patching cm10.2 with freegee in the menu with three lines and you should see something called update Loki in zip tap that and go to where you placed cm and tap cm and it will take a couple minutes to patch if it fails try to redownload cm but do not skip previous steps it will softbrick your phone.

I DO NOT take responsibility for bricks soft/hard bricks when you root,flash ROMs you risk bricking your device

Happy modding welcome to the world of android
[G2 Q&A, Help & Troubleshooting] _tyler_:
Oh, right, I remember reading that Loki bypasses locked Bootloaders (which somehow led me to think only CWM had Loki support and would work when TWRP didn't). I'm gonna try this now.
[G2 Q&A, Help & Troubleshooting] _tyler_:
Didn't work. Still get an error saying it failed :(
[G2 Q&A, Help & Troubleshooting] spinninbsod:
did you try redownloading cm 10.2 downloads get corrupted sometimes it is very annoying
[G2 Q&A, Help & Troubleshooting] _tyler_:
apparently the 10.2 rom i was trying to flash wasn't compatible with my phone (not too sure on the specifics) but I tried the latest nightly for cm11 and I've been running it since last night.
[Asus  Eee Pad Transformer Prime] Claymorb:
Hello there, everyone. I have a Transformer Prime TF201 and have been trying for the last 5 hours trying to root this dang thing and have had no luck.

When I googled instructions, I get sent to videos, topics and webpages that are over a year old. Most often I get a recommendation to use Motochopper to root with. However, this did not seem to work for me and, after some research, it appears the August update fixed that exploit so that doesn't work for me. I've been trying to re-install drivers or install new ones outright. I tried to use Kingo, which apparently is some kind of virus-ridden program that scans your phone. Thankfully, it didn't even connect to my tablet.

I'm basically at my wit's end here and dont really know where to even start. Can someone please help me?

For what it's worth, all I really want to do is remove all this bloatware off my tablet. If there are more efficient ways of accomplishing this goal, I'm okay with that, too.
[Asus  Eee Pad Transformer Prime] W4UXB:
Search the forum for my username, and find my replies. You should find my post that shows how i achieved root with motochopper.

---------- Post added at 01:27 PM ---------- Previous post was at 01:18 PM ----------

Here is the link to my post, just follow all other instructions. http://xdaforums.com/showthread.php?p=48109237
[Asus  Eee Pad Transformer Prime] Claymorb:
Actually, I DID see your response in my research! XD

Sadly, I don't know how to "fastboot" so I'm assuming im always "full booting." Yet i still haven't been able to get motochopper to complete.
[G2 Q&A, Help & Troubleshooting] manniediego:
Hello. I have a stock AT&T LG G2 that has recently been updated to 4.4 kitkat. Ever since the update i now have problems streaming any local content to my chromecast. The other weird thing is that i can no longer stream from Netflix. I keep getting the error 16001. But for some reason i can still stream Hulu, youtube, and other such apps just fine. I know that these things must be related some how. I'm hoping someone else has experienced these same issues and can offer some sort of assistance. Before the Kitkat update i was able to stream local contenct with apps such as allcast, and realplayer cloud. Now i can't stream ANY local content at all. I've tried pretty much every local content streaming app that is available and nothing seems to work. I've also tried factory resetting my Chromecast but that didn't help at all. I've been able to narrow donw the problem to my phone and the Kitkat update because, my cousin has an HTC ONE, and when she tried to cast local content, it worked just fine. Someone please help.
[G2 Q&A, Help & Troubleshooting] troysyx:
Have you tried going into settings>apps>netflix and clearing the apps data and cache? i've had to do that before and it worked fine for me afterwards.
[G2 Q&A, Help & Troubleshooting] manniediego:
Thanks troysyx. I tried your suggestion, but still having the same issue.
[Android Q&A, Help & Troubleshooting] ManOfPlastic:
Hey,

I've rooted my phone succesfully, but I haven't unlocked the bootloader of it. After setting a new font using the app Font installer which is root-required, I had to reboot my phone to apply the font. But when it was about to boot my phone it got stuck at the Vodafone bootanimation. I don't have any backups installed on it, no clockworkmod, my PC doesn't recognize it through a USB cable. I know pretty much about Android OS but not about rooting, flashing and stuff. I think I have a SD card somewhere, so I could use that maybe.

Things I have tried so far:

- Rebooting into recovery mode ( not cwm recovery, but android recovery mode 3e or something ) and then factory reset/wiping data and wiping cache.

Yeah that's it, I really don't know any options.

Any help please?

Thanks!
[Java for Android App Development] sonidepanshu:
[Q] I want to make a navigation app for my university, what should i do... Don't know much about java... But I have designed my frontend using xml.

Help!!!

Thank you
[Java for Android App Development] Shef_:
Navigation is a really complex thing to code. Pathfinding is the first thing you'll want to understand. After that you'll want to know how to categorize rooms, inside buildings.

So for example you'll have an algorithm that: Looks for the correct building and the closest entrance-> looks for the correct floor in the building -> looks for the correct room in the floor.

Here is a (very) detailed pdf outlining the process: ase.cpsc.ucalgary.ca/uploads/Publications/ThesisV1.0.pdf
[Java for Android App Development] sonidepanshu:
I read that pdf file, it is very complicated... i am new to android development, is there any easy way to do this.

Thanks
[Android Q&A, Help & Troubleshooting] khawajaakram:
hey.

I have Qmobile A7. i partition my device's internal memory.

which i succeeded with MTK data partion.

but now i can not restore my stock Rom from my backup which i restore many times earlier.

when restore complete from TWRP and i reboot.the logo remains on screen and nothing happen until I remove my battery. plz anyone help me. plz

plz

plz
[AT&T Galaxy Note 3 General] kfrierson3:
Recently (3-1-14) I notice some of my apps crashing and that I could not get into Safestrap...then I notice I had a OTA update from ATT that unrooted my Phone...So I began to look for help and found that if you tried to use Kingo (latest version) to re-root your phone it did not work..You have to find an earlier version. For me (1.1.5) worked. Then after you get you root access back just re- install that programs that you may have trouble with and you should be back to normal...

I hope this helps...
[AT&T Galaxy Note 3 General] TechGoon954:
There is already a thread with the answer to this......http://xdaforums.com/showthread.php?p=50734552&highlight=kingo#post50734552
[Android Apps and Games] Eltechs:
Original Heretic is now available for mobile devices via Google Play Market.

After success of Doom by Eltechs we are introducing you good old Heretic! Relive the original Heretic experience and fight against the horde of evil monsters from the worlds beyond - just as you did in the good old days!

As always we do value the original look and feel of good old games. This is why we introduced no alternation and no modifications made to the original game. This is original Heretic taken from PC and run on Android.

More of your favorite desktop games are coming soon!
[Android Apps and Games] Vervolf:
Link on Play Market!
[G2 Q&A, Help & Troubleshooting] cpurick:
I'm kind of stuck between two Verizon phones, not because they're similar, but because they're the two best phones for taking two different paths.

On one hand, I'd like to have the best phone I can get (currently the G2), but on the other hand I want to get the best phone "for me" -- mainly the best quality phone in a smallish package. So, for me it's come down to the G2 and the Moto X -- mainly because the latest SOCs don't come in a 4.3" phone, and I think the X is the best midrange device.

I have a Moto X right now, and another week to swap it out, and I'm still tempted to get the G2. The neat thing about the Moto X (aside from it fitting my hand) is the low power draw. My past phones have all gotten kind of hot during heavy use, but the Moto X seems to run cool very consistently. This is a really good phone with conservative specs and some worthy innovations, though I'm not going to pretend it's a flagship device.

OTOH, the G2 has a very fast SOC and both the battery and the screen are huge. It is beautiful to look at -- and also very, very fast. I would expect it to run hotter -- a lot hotter. Can anyone say whether they've seen their G2 get hot under heavy use?

I realize this is an apples-oranges comparison, which is why I'm asking specific questions. I know the X is not a substitute for a G2, but I'm sure I don't want a G2 if it comes with the heat issues I've experienced with other flagship devices. I don't want to be fast in sprints. I need a phone that can stay on for a long time without feeling like it might catch fire.
[G2 Q&A, Help & Troubleshooting] Zulake:
Mine never gets hot. I have to pull some crazy stunts to even get it moderately warm.
[G2 Q&A, Help & Troubleshooting] El_Assassino:
My G2 is getting hot when I play games like Dead Trigger 2 with best graphics. During normal use it stays at a normal temperature.
[G2 Q&A, Help & Troubleshooting] BreakingVZW:
Mine does. But, to be fair, I put it in the toaster so...
[Samsung Galaxy Mega] Beurtmans:
Hello,

I have a problem with my great mega, every time i need to update a program it says that there is not enough space left.

So i checked and there is about 600 mb left on my phone and 8,5 gb on my sd so that shouldn't be a problem.

Why is this and does anyone have a solution, thanx in advance.
[Samsung Galaxy Mega] azpatterson3:
Use es file Explorer to move media files like pics,videos, music, and downloads to your sd. I would leave app files where they are.

Sent from my SAMSUNG-SGH-I527
[Samsung Galaxy Mega] Beurtmans:
Tried that allready but removed all music but still problem is there.
[Samsung Galaxy Mega] starmaster10:
If your phone is rooted install Lucky Patcher 4.1.9 (newest version) and make sure it is updated after it is installed and whatever app has this insufficient storage not available open the program in lucky patcher add or remove a patch or uninstall a app with lucky patcher and re-install it, just tap on the name of the app in lucky patcher and you will see many options to do with that app..works pretty good as i use this for this problem. :)
[Samsung Galaxy Mega] Beurtmans:
Nice program but when i use it it says to low space :confused: i wonder if it has to do with low space on my rom maybe.
[Samsung Galaxy Mega] azpatterson3:
If you have nandroid or titanium backups. .. That can eat a bunch of memory. Can move those to sd??? Just spit balling for ideas for you. I've had that happen before. Do you know what is taking up so much memory?

Sent from my SAMSUNG-SGH-I527
[Samsung Galaxy Mega] Beurtmans:
no i do not have any backups and the nadroid is on my sd allready.

I do not have a clue what is taking up my space while in storage it says that there is room enough.
[Samsung Galaxy Mega] azpatterson3:
Nevermind. Not sure why it is doing that.

Sent from my SAMSUNG-SGH-I527
[Upgrading, Modifying and Unlocking] papalos_:
Hi Guys. I'm new here. I've a question for all of you. Is there any way to lanch the application sddialer.exe (Cyberon) by pressing my Akono HBH-660 Button? I'm an owner of Mitac Mio A701 and when i press the buttton of handsfree it launch the Mitac's phone program. To make a voice dial now I need to press to buttons. The handsfree button to wake up bluetooth and a mapped button on mio to run sddialer.exe. Sorry for my bad english. I'm greek :D .Thank's for your time :)
[LG Optimus L9 P760, P765, P768, P769] UserXP_:
This is some mods for LG L9-II Stock ROM.

Required ROOT

Advanced Power Menu

Reboot - Hot Boot - Download - Recovery - Shutdown

Got the idea from this thread

Long Press back key -> kill app

Long pressing the Back key will kill the foreground app

Idea from here

Transparent status bar ready

I mean, edits made to android.policy.jar, so a user can change the status bar as will:

1. Open yours LGSystemUI.apk with 7zip and replace (drag & drop) the \res\drawable\xhdpi\stat_sys_indi_bg.png with any png image you want as status bar (rename it first to stat_sys_indi_bg.png).

2. Put back the LGSystemUI.apk to /system/app folder.

How to install

(ONLY for stock ODEX version)

Download file(s) from this post and put to sd card.

Install it with CWM from Varcain (install zip from sdcard)

More edits to come...
[LG Optimus L9 P760, P765, P768, P769] albertwesquer:
Thanks mate, but there's no \res\drawable\xhdpi\stat_sys_indi_bg.png location, just \res\drawable-hdpi\stat_sys_indi_bg.png so i am missing something??
[LG Optimus L9 P760, P765, P768, P769] UserXP_:
Is your phone LG L9-II?
[LG Optimus L9 P760, P765, P768, P769] vinswong:
Very useful mod

thanks
[LG Optimus L9 P760, P765, P768, P769] gabi4175:
hi, what did you modified in the android.policy i am tring for weeks to make a transparent status bar for l5 II without succes. thanks sorry for the english
[LG Optimus L9 P760, P765, P768, P769] UserXP_:
Transparent StatusBar ready (how to)

After many attempts with no luck, solution was easy:

At folder smali\com\android\internal\policy\impl open the PhoneWindowManager.smali

There you will find (search for something similar in your system) this method:

.method public getSystemDecorRectLw

.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I
.locals 1
.parameter "systemRect"

.prologue
.line 3549
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemLeft:I

iput v0, p1, Landroid/graphics/Rect;->left:I

.line 3550
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemTop:I

iput v0, p1, Landroid/graphics/Rect;->top:I

.line 3551
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemRight:I

iput v0, p1, Landroid/graphics/Rect;->right:I

.line 3552
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemBottom:I

iput v0, p1, Landroid/graphics/Rect;->bottom:I

.line 3553
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

[COLOR="Red"]goto :cond_1[/COLOR]

if-eqz v0, :cond_0

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

.line 3555
:goto_0
return v0

.line 3554
:cond_0
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_1

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

goto :goto_0

.line 3555
:cond_1
const/4 v0, 0x0

goto :goto_0
.end method

So, inside I just add the

goto :cond_1

to jump the getSurfaceLayer

That's all.

Now, you can change the background by changing the \res\drawable\xhdpi\stat_sys_indi_bg.png

NOTE

for LGHome (if this is your launcher)

In order to change the status bar with LGHome we must edit/change the LGHome.apk also.

for LGHome v. 3.0 can be done with some trick,

but BETTER

use LGHome v 4.0 (edited from LG G2) from here (has 5 columns also)
[LG Optimus L9 P760, P765, P768, P769] gabi4175:
thanks for the help but i cant recompoile the android.policy i get smali error that cond_1 not defined
[LG Optimus L9 P760, P765, P768, P769] UserXP_:
Post the

.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I

here
[LG Optimus L9 P760, P765, P768, P769] gabi4175:
.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I

.registers 3

.parameter "systemRect"

.prologue

.line 3213

iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemLeft:I

iput v0, p1, Landroid/graphics/Rect;->left:I

.line 3214

iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemTop:I

iput v0, p1, Landroid/graphics/Rect;->top:I

.line 3215

iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemRight:I

iput v0, p1, Landroid/graphics/Rect;->right:I

.line 3216

iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemBottom:I

iput v0, p1, Landroid/graphics/Rect;->bottom:I

.line 3217

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_1b

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

.line 3219

:goto_1a

return v0

.line 3218

:cond_1b

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_26

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

goto :goto_1a

.line 3219

:cond_26

const/4 v0, 0x0

goto :goto_1a

.end method

---------- Post added at 08:43 AM ---------- Previous post was at 08:37 AM ----------

and did you used smali and baksmali to modify the odex file?
[LG Optimus L9 P760, P765, P768, P769] UserXP_:
For you the correct command is

goto :cond_26

before the command

if-eqz v0, :cond_1b

If you have an ODEX rom

, you can NOT simply change the odex file at /system/framework.

You must Re-Odex the jar file, using your phone.

I use xdaAutoDEOTool v1.0.3 for De-Odex jar files.

After, I use apktool for decompiling/compiling and Notepad++ for editing.

At end I use a script for Re-Odex the edited jar file, inside phone (required root :D and busybox)

[There are scripts for this (carefull with bootclasspath). I use my own]

In case something goes wrong with Re-Odex, you must have a way to restore system (a .zip file with original .jar and .odex file to install with CWM?)
[LG Optimus L9 P760, P765, P768, P769] gabi4175:
thanks man, it seems that this piece of crap phone doesn't wan't to boot if i modify the android.policy.
[LG Optimus L9 P760, P765, P768, P769] neodanone:
wooooo such a nice look for LG L9 II:cool:
[LG Optimus L9 P760, P765, P768, P769] yashgumaste:
How did you write your name on the status bar?

Thank you.
[General Questions and Answers] rmalik935xda:
This is a small guide for those who are facing problems after performing a factory reset and can't get through the process completely and end up getting error "Unfortunately Setupwizard has been stopped" and stuck with no launcher but only status bar with a limited access to some of the settings.

First of all the things you need to make sure are that:

1. You have a rooted device with superuser installed.

2. You have root explorer installed as a system app.

3. And a little patience to follow all the steps ;)

GUIDE

1. Send yourself a sms message or from any other phone while you are on setup wizard.

2. Open the message and in tap in the reply box.

3.Once you have your cursor in the reply box hit menu soft key and select attach or if u r using galaxy phones you have a paper clip button for the attachments.

4. Choose anything you want to attach for example a picture and a box will appear asking you for the application to select the picture from. It is usually Gallery or file explorer (in your case Root Explorer). Select the root explorer.

5. In root explorer hit Mount R/O button and grant root explorer superuser permission.

6. Find in the folder system/app/setupwizard.apk and delete the apk file.

7. Reboot and Enjoy your phone again!

HIT THANKS IF IT HELPED YOU.
[General Questions and Answers] rashi123:
hi, i am having this same issue , so what should i do if the root explorer is not installed or deleted
[Nexus 5 Q&A, Help & Troubleshooting] zubsz:
Just received my Ringke Fusion and was wondering whether or not to remove the plastic casing? thanks :)
[Nexus 5 Q&A, Help & Troubleshooting] Johmama:
What are you referring to? The thin, clear film that covers the back of the case? I removed it and everything seems all right. I don't think it really matters very much.
[Nexus 5 Q&A, Help & Troubleshooting] zubsz:
Yes, sorry, I was referring to that. I'll take it off then thanks :D
[Xperia SP Q&A, Help & Troubleshooting] Naveen004:
Which is best camera settings for our X sp?
[General Questions and Answers] vallabh1994:
any one know how to root xolo q1100?