yashsingh1/xdaforums huggingface dataset:
[HTC Wildfire S] thehacka1:
​

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, broken hearts,
* thermonuclear war, you getting fired because the alarm app failed, or
* unfulfilled sexual partners. Please do some research if you have any
* concerns about features included in this ROM before flashing it! YOU are
* choosing to make these modifications, and if you point the finger at me
* for messing up your device, I will point that finger back at you and laugh. */

Based on latest CM

init.d fully tweaked

xbin tweaks

build.prop tweaks

Beats Audio+ for better bass

xLoud for louder sound

AOSP 4.2.2 Camera with HDR tweaks

Google Play Music (functions alongside Beats Audio)

Google Play Edition Features

Awesome icons

Slimmed down rom

Xposed framework

Awesome graphics

KitKat apps

A few tips for battery:

Don't add too many widgets to your homescreen

Don't install too many apps

Uninstall any apps that you don't use

Reduce your brightness whenever you can

Overlocking your CPU will not only drain battery but also may cause random reboots

Turn off Wi-Fi when nt using

Turn off Mobile Data when not using

Installing for the first time:

Download the latest ROM

Rebot into your recovery

Wipe data, cache and dalvik-cache

If you are going to flash INT2EXT then wipe sd-ext too

Now flash the rom

After installation finishes install INT2EXT (optional)

Now you can reboot

First boot may take a long time for the scripts to initialize

Updating from a previous rom;

Wipe cache

Wipe dalvik-cache

Flash the rom

Flash INT2EXT (optional)

Flash GAPPS

Wipe cache again

Wipe dalvik-cache again and reboot

If you have any problems setting up your Google Account then reflash gapps.

Initial Release

27/7/13

-Fixed SU

-Fixed LatinIME

-Added Live Wallpaper Support

-Added SunBeam Live Wallpaper

-Replaced CyanogenMod bootanimation with Google Play Edition one

28/7/13

-Fixed all FCs

-Volume Rocker Wake

-New icons

-Some more tweaks

-Recomressed many apps

-GAPPS removed

-Added AOSP 4.3 Camera

29/7/13

-Added HTC One font (RobotoCondensed)

-Fixed AOSP 4.3 Camera

-Improved touch responsiveness

-Slimmed down the rom by:

-Removed TTS

-Removed Live Wallpapers

-Removed STK

-Removed Offline Google Now

-Removed Voice Dialer

-Removed a few things from media folder

13/8/13

-Back in business

-Zipaligned all apks

-Recompressed all apks

-Optimized all pngs

-New addons section with two patches

16/8/13

-Revert 4.3 camera

-Fixed LatinIME FCs

-Xposed framework

-ES File explorer

19/8/13

-Added data/app functionality

-Fixed ES File Explorer

-4.3 Gallery, Camera, LWP and Fonts

-Pure Graphics Mod

30/12/13

http://xdaforums.com/showthread.php?p=48953715

MaclawStudios

Kevinjoa

EdikNeznanov

benjamingwynn

Cup_Cake

MIcons Project

Cooltext

Jdevs

modpunk

mateorod

Bannersnack

XDA

Please tell me if I missed you...(I have a bad memory)
[HTC Wildfire S] TRuth14:
First , is it Stable for daily use ? , Second , Gapps are included ? Third , AWESOME PORT ! :cool:
[HTC Wildfire S] cyb3r.pr3dat0r:
Awesome Work , Let me test this ;)
[HTC Wildfire S] thehacka1:
Thanks. It says in Features that GAPPS are included. It's very stable and smooth.
[HTC Wildfire S] TRuth14:
You're welcome , by the way , whenever I try to open Root Explorer or any apps that use Root it says "Not obtain root access" something like that . Any Ideas ?
[HTC Wildfire S] Guitarfreak12:
Ewill try asap :)

Sent from my HTC "Marvellous" WFS
[HTC Wildfire S] cyb3r.pr3dat0r:
keyboard does not start and it's lacking volume wake (need to edit android.policy.jar) otherwise rom is smoothest of all 4.2.2 available for our phone ;)

---------- Post added at 09:02 AM ---------- Previous post was at 08:59 AM ----------

flash superuser

http://xdaforums.com/attachment.php?attachmentid=1994849&d=1369649935
[HTC Wildfire S] slavenp:
I tested a lot of things and this is the fastest rom for our phone ,it is great.
[HTC Wildfire S] Dillllz:
So no this rom has no bugs?
[HTC Wildfire S] thehacka1:
Barely any bugs. Same bugs as Jdevs RCv3.0.
[HTC Wildfire S] thehacka1:
Next update:

*Fixing IME

*Adding Volume Rocker Wake

*Fixing root

*Adding Live Wallpapers

*Anything else you guys request...
[HTC Wildfire S] cyb3r.pr3dat0r:
waiting for it eagerly
[HTC Wildfire S] thehacka1:
Extra features to next update:

*Google Play Edition bootanimation (replaces CyanogenMod)

*SunBeam LWP

*Anything else you guys request...
[HTC Wildfire S] Dillllz:
Installed this rom with int2ext and I have to say so for its' one of the smoothest running roms for the wildfire s. There though some minor bugs I found e.g. in settings, then sound when you click volumes settings crashes this also applies for when you go into display and then brightness, settings crashes here as well. Besides that everything seems to be working.
[HTC Wildfire S] TRuth14:
Build.prop tweaks ? :D
[HTC Wildfire S] thehacka1:
They are already there.
[HTC Wildfire S] thehacka1:
https://docs.google.com/file/d/0By-IixC-6PWXZjdpcHNnczdCSk0/edit?usp=sharing

Fixed SU

Fixed LatinIME

Added Live Wallpaper Support

Added SunBeam Live Wallpaper - Credits to Cup_Cake

Replaced CyanogenMod bootanimation with Google Play Edition one - Credits to Cup_Cake
[HTC Wildfire S] adee147:
Great experience

Hey thanks for this great work!

The performance is very good. Haven't seen any bugs yet. Sometimes when you press the power button to wake it up, the screen remains blank but the icons start to glow. Pressing the power button twice makes everything right. Not sure if its a bug, my Xperia U also does that sometimes.

One question:

The live wallpaper, SU, FM radio apps are missing. I suppose you are working on live wallpaper and SU but what abt radio?

Thanks again for your effort..
[HTC Wildfire S] thehacka1:
SU and Live Wallpapers fixed in 27/7/13 update. And you need to get FM radio from Play Store. But thanks for the nice comment.
[HTC Wildfire S] cyb3r.pr3dat0r:
Thanks for update , also note that in previous build when i went to settings -> storage , settings crashed and sd card was't getting detected , i will try to add volume wake.
[Asus  Eee Pad Transformer Prime] dansgon:
This problem probably has shown up a lot and usually I would take my time to look around before asking but I'm feeling lazy so here goes:

I recently put in a new-ish ROM (it's am US stock type ROM that I found on here) and all works well except for one thing - the CWM refuses to load. At first I was getting the dead android with the red triangle sticking out and so I decided to use ROM Manager to flash CWM again. Might have been a bad move since I'm still fairly noob-ish but anyhow it didn't work. Now whenever I try to go in it just freezes. If I try manually it shows the RCK box, android box, etc and just stays there. When I try to do it through ROM Manager it stays at the first ASUS logo. Can someone refer me to a guide I could follow or even give me a solution to fix this? I will be very grateful. Thank you in advance.
[Java for Android App Development] McFads1:
Hi!

My friend talks about this website a lot and said its a great help, and I need some help.

I'm making a app that's grabs images from a couple of websites, and the website updates all the time with new images, and I want my app to dynamically update with it.

I also want my app to precisely filter through the images and put the right images in the right respective folders.

The problem is I don't know how to do this and I can't really find any resources online that can properly explain this (the grabbing data part).

Could someone offer some advice?
[Java for Android App Development] zalez:
google "android parse html" and you will find help. You will need to parse the html for the url of images.

Then you could look over this for an example how to load an image in to an imageview:

http://stackoverflow.com/questions/12172928/android-image-view-from-url
[Java for Android App Development] McFads1:
Thanks

Maybe, I'll look into it when I'm done with my exam.

there are thousands of images I want my app to filter through, its gonna take a while to learn

thanks so much for the suggestion
[Java for Android App Development] Androguide.fr:
If you know the url of the images you want to fetch beforehand, then use a library such as Picasso by Square Inc., it will allow you to asynchronously load images into your views by calling a single line of code most of the time :

Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);

Otherwise, if you don't know the urls and want to fetch the images by grabbing the content of the <img src="XXX"/> tags, then you want to look at regular expressions, you could grab the code of the webpage into an InputStream, use a BufferedReader to loop through it line by line and see if it matches your regex, in which case it returns the "XXX", web-crawler style.
[Java for Android App Development] nikwen:
How to get the html code:

HttpParams params = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(params, 4000);
HttpConnectionParams.setSoTimeout(params, 5000);
HttpClient client = new DefaultHttpClient(params);
HttpGet request = new HttpGet("www.google.com"); //your url goes here
HttpResponse response = client.execute(request);

InputStream is = response.getEntity().getContent();
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
String line = null;
while((line = reader.readLine()) != null) {
//do something with the information
Log.d("line", line);
}
[Java for Android App Development] Androguide.fr:
Well, while we're at it, here's the code to retrieve the url(s) contained in the src attribute of <img> tags on a website^^

There's probably a more elegant regex but this should work

// [MENTION=5101348]nikwen[/MENTION] 's code
// ...
InputStream is = response.getEntity().getContent();
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
String line = null;
ArrayList<String> array = new ArrayList<String>();
while((line = reader.readLine()) != null) {
// If the line matches our regex, extract the url and add it to our ArrayList
String regex = "(*+<img\\s*+src=\")(.+)(\");
if (line.matches(regex)) {
line = line.replaceAll(regex, "$1");
array.add(line);
}

for (int i = 0; i < array.size(); i++) {
Log.d("URL: ", array.get(i));
}
}
[Java for Android App Development] nikwen:
What's more performant? The contains or the matches method? I guess the contains method, right?

(However, I don't know a way to use the contains method here.)
[Java for Android App Development] Androguide.fr:
I really couldn't tell which one is faster, it's a good question though.

EDIT: you made me realize I made a typo, the method is .matches() and not .match(), correcting the previous post.
[Java for Android App Development] Shizznizz:
Can you explain what is happening here in the String regex line as well as the line = line.replaceAll(), please?
[Java for Android App Development] Androguide.fr:
Sure, my regular expression is here divided into 3 groups (each between parenthesis), let's run through them:

*+<img\\s*+src=\"

This basically says "match any character any number of times (*+) followed by <img and a blankspace (\s escaped twice as it's in a string), followed by any character any number of times again (*+, to cover cases where other attributes are placed before src), followed by src="

.+

This corresponds to the actual URL we are looking for, it matches any character any number of times except 0 times (.+)

\"

Self explanatory, the closing quote for our src="X" attribute, escaped as contained within a String

The grouping comes into play in the line.replaceAll(), basically, it says replace the whole line string with group n°2 of our regex, which is our URL.

When grouping a regex, the second parameter of replaceAll() can be set as $X, where X is the target group's 0-based index, in our case the second group so $1

So, to conclude, the schema of the snippet is:

Grab the whole html code of the webpage

Loop through it line by line

If a line contains a <img> tag, retrieve the string contained within the src attribute of its <img> tag and add it to an array

Otherwise, go to next line and repeat previous step
[Java for Android App Development] Shizznizz:
That was very helpful. Thank you!
[Java for Android App Development] nikwen:
Ok, so I did some benchmarking:

import java.util.ArrayList;

public class Benchmark {

public static void main(String[] args) {
ArrayList<String> list = new ArrayList<String>();
ArrayList<String> list2 = new ArrayList<String>();
for (int i = 0; i < 10000000; i++) {
String s = String.valueOf(i);
if ((i % 78) == 0) {
s += "test" + i;
}
list.add(s);
}
list2.addAll(list);

long time = System.currentTimeMillis();
for (String line: list) {
if (line.matches("(.*)test(.*)")) {
System.out.println(line);
}
}
long timeMatches = System.currentTimeMillis();

try {
Thread.sleep(5000);
} catch (InterruptedException e) {
e.printStackTrace();
}

long time2 = System.currentTimeMillis();
for (String line: list2) {
if (line.contains("test")) {
System.out.println(line);
}
}
long timeContains = System.currentTimeMillis();

System.out.println("Time for matches(): " + (timeMatches - time));
System.out.println("Time for contains(): " + (timeContains - time2));
}

}

Some results:

Time for matches(): 7116
Time for contains(): 893

Time for matches(): 6973
Time for contains(): 1027

Time for matches(): 8264
Time for contains(): 858

Time for matches(): 8098
Time for contains(): 1216

Even if it is no perfect benchmark, you can see the (big) difference.

The contains method is about 8 times faster than matches with a regex that does the same.

Remember, I used a very simple regex. So it should be even slower for more complicated ones.

Of course, it just shows what is faster on the desktop computer. However, it should be the same on an Android device. There's such a big difference in performance.

In my opinion the result makes sense.

The contains method just checks whether it can find the char array (which a String is for the computer) in another.

The matches method has to interpret the regex first. Afterwards, it has to do lots of calculation to check whether the String matches the regex.
[Java for Android App Development] Androguide.fr:
Awesome, thanks for taking the time to benchmark it.

Yeah, it does make sense that matches() is slower because of the parsing computation.

But as you said, in this kind of case you can't really use anything else than a regex, and thus you have to use matches()

Either way, the difference shouldn't be noticeable to the human eye I guess, regular expressions can only be so long.
[Java for Android App Development] nikwen:
Yeah, it's not noticeable. It takes about 8 seconds for 10000000 regexes. Thats 0.0000008 seconds per regex.
[General Topics] lolrom:
Anybody know of a good company in China/anywhere that sells custom devices and provides the GSM source (not binaries) for building your own custom android build for the phone? Surely there must be clone companies there and orig phone manufacturers that sell 50 or so phones with their GSM source. Failing that, I guess I could just write my own GSM source for Nexus 4 and use it to replace the proprietary Qualcomm/LG binaries.

I am mainly interested in editing GSM.cc GSM.h
[EVO 4G General] nathantaylor:
Made this, thought I'd share it. Thanks again to all of the devs keeping this device alive, including TSP.
[EVO 4G General] taadow1030:
Yeah, Wambo and TSP are doing HUGE things for the Evo. Between them and Evervolv, whose 4.2.2 ROM is screaming fast, the Evo is actually thriving, provided you like Jelly Bean.
[Nexus 7 (2013) Q&A] eyecon82:
I'd like to know as well
[Nexus 7 (2013) Q&A] wahoofan5:
Hold down the power button and volume down simultaneously for a few seconds
[Nexus 7 (2013) Q&A] engelsione:
Yup, worked Thanks!
[Nexus 7 (2013) Q&A] teh roxxorz:
FYI, that's how its done, vol down + power, on any aosp rom.
[JAM, MDA Compact, S100 Software Upgrading] KT:
hey everyone

need help ...

whenever i install widcomm stack on my o2 mini and try to switch on the bluetooth it says " not enough driver memory "

what does it mean ??

my rom version is 1.03.00 WWE

radio version is 1.01.00

ext rom version is 1.03.166 WWE
[Galaxy S III Q&A, Help & Troubleshooting] puhu:
Hi guys. Im using 4.1.2 XXEMG4 NeatRom with boeffla kernel. I have really strange problem. When i have flash this rom i have getting FC with com.mms and com.contacts and other apps. My apps deleting. BUT before i flash ROM i edited rom and deleted in system/etc/init.d 93zipalign and darky zipalign AND system/xbin zipalign. After i deleted this files problem looking like solved. But i wanna know why zipalign do that what is the problem? Why After i delete those files its looking solved and why those files While in there my apps and System apps deleting? Pls Help Me! And sorry for my bad english.

GT-I9300 cihazımdan Tapatalk 4 Beta ile gönderildi
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
[READ THlS FlRST] POST QUESTIONS IN THE Q&A SECTION AND NOT HERE!!

#Use the report button and ask a mod to move this post .

Question should be asked in the zipalign thread
[Galaxy S II Q&A, Help & Troubleshooting] toast_tcg:
Hi everyone,

I have a Galaxy S II from Bell Canada and it was recently updated via Kies to Android 4.1.2 a couple weeks ago. I've been having all sorts of problems with it since the update, including random freezing, crashing, and so on, so I intended to backup and factory reset this weekend. Before I could do that however, it shutdown and now I can't boot it back up.

Symptoms:

- The phone gets past the Samsung Galaxy S II animation, but then goes immediately to the glowing SAMSUNG logo and stays that way for several minutes before shutting down.

- Battery power is not an issue. Half-full to full battery makes no difference.

- Connecting it to my PC allows Windows 7 to install most of the needed drivers, except it fails on 'MTP USB device failed'. This might simply be because the phone doesn't fully boot.

What I've tried:

- Multiple reboots (shutdown and restart)

- Removing the SD card and multiple reboots

- Wiping the cache partition several times and booting via the stock recovery menu (reached by Volume + Home + Power)

I have backups but from several months ago, so anything I can do to flash the firmware and retain my data would be appreciated. I've looked at other threads but many users seem to have slightly different issues or are with other carriers. I haven't played around with flashing or anything since getting the phone two years ago, so I don't know how much of a difference their steps would be from mine.

The phone is either just inside the warranty period or just outside... I don't have the exact date if that makes a difference here.

Any help tracking down the issue or helping to get it back to functional would be appreciated. :)
[Galaxy S II Q&A, Help & Troubleshooting] vishal11in:
Firstly, from your post it looks your phone is not rooted. If that is the case then i am afraid we are left with not much options to try.

I would advise, if u want to come out of this issue and data is not the concdrn then do a hard reset by getting into the recovery console.

And, if you are rooted than simply reinstall the rom without resetting anything. This will bring back the rom and you will also not loose any data.
[Galaxy S II Q&A, Help & Troubleshooting] toast_tcg:
That's correct, the phone isn't rooted. I'd like to exhaust all other options before attempting something that will wipe the data... is it possible to determine the exact problem some other way?
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
Nope. If it were me I'd be doing a wipe (and this wouldn't faze me because I back my stuff up regularly).
[Galaxy S II Q&A, Help & Troubleshooting] vishal11in:
Looks difficult to save the data. But you may try, i am not sure it will work.

find out a compatible rooted kernel. Get into the download mode and with the help of odin flash this kernel. (ensure its *.tar file ).

Once done try to boot the phone. if no luck, clear the cache and then again try. Still no luck, then i am afraid you have to hard reset.

Best of luck.
[Android Apps and Games] Akieexda:
A new version of the popular messaging application license plate Unified Google: little new but important improvements​

More About New Hangouts : Hangouts.apk

What's New

Hangouts replaces Google Talk. Update now to bring your conversations to life.

1.1

● Added more emoji!

● We added some butter to Hangouts to make it run faster and slicker.

● Fixed a bunch of bug
[Android Apps and Games] JellyBeanAndroid:
Thanks for sharing this here..will save the internet usage on my phone :p
[General Topics] aakash_hellyeah:
Download the latest Play Store apk from here

Install and enjoy.

(This also fixes the battery drain problem in Play Store, for some users.)

Cheers!!!!!!!!
[Nexus 4 Q&A, Help & Troubleshooting] tiru.adi13:
So my phone downloaded the OTA and now there's this constant notification saying touch to upgrade.

I really don't want to upgrade to 4.3 because I'm sorely going to miss nexuslouder, the screen gamma settings and touch control and I'm afraid I might hit the notification and accidentally upgrade to 4.3

How do I banish this?

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] TToivanen:
Touch and hold the notification, tap app info in the pop up menu. In the following window untick 'show notifications'.

This works for regular apps, dunno if it works for the ota notification...

You could also try deleting the update zip from /sdcard/Download/
[Nexus 4 Q&A, Help & Troubleshooting] agtpirrone:
Hello, i was searching for the same thing. Wouldn't this workaround hide other important Android system notifications? I can't think of any, but maybe you know better. Thanks anyway
[Nexus 4 Q&A, Help & Troubleshooting] Ozam:
OTA notifation disappear?

QUOTE=agtpirrone;57022233]Hello, i was searching for the same thing. Wouldn't this workaround hide other important Android system notifications? I can't think of any, but maybe you know better. Thanks anyway[/QUOTE]

I have the same issue. I do not want to go to L and would love to get rid of the persistent notification.
[Nexus 4 Q&A, Help & Troubleshooting] MelquiXDA:
Go to config - apps - google play services (uncheck show notifications)
[LG Optimus G (International)] Nite.Achilles:
Hey guys, I have the Optimus G and while recording videos, I noticed that the videos are very shaky. Do we have video stabilization? I tried searching for the option but to no avail. Is it software or hardware? I heard the Optimus G pro has video stabilization... If the phone does not have video stabilization, is there any apps or mods that I can try to improve the stabilization? Thanks :)
[LG Optimus G (International)] Tim4:
It doesnt have any
[LG Optimus G (International)] Rockguy40:
There are no apps for that , only way is to edit via pc after the video has been taken.
[Nexus 7 (2013) Q&A] The111:
On my PC I have a few USB ports, and I am not sure but some of them may be only USB1.

Using the cable that came with the N7, I can connect to any of my PC's ports in MTP mode.

Using another slightly older micro-USB cable that I have (but quality - it came with the Nexus S 4G), it works fine on one port, but on the other two it causes Windows explorer to lock up every time, and even after it's removed and Windows recovered, my USB keyboard doesn't work until I unplug/replug it.

Any theories on why this is? I tested many times, same results consistently.