yashsingh1/xdaforums huggingface dataset:
[Zooper Widget General] Mv101:
Glad to help. :)

As for the 01,02,03 count setup, you can do the following

$#SUG#>=0&&#SUG#<=9?0#SUG#$$#SUG#>=10?#SUG#$

as for the icon colour change, you would do something like the following. (assuming you are using an icon font set like themer icons revised font) otherwise this wont work if its a bitmap obviously

keep this in mind; lets say an email icon is assigned to the letter "k"

$#SUG#=0?[c=#fff0000]k[/c]:k$

So to break it down

$ = start and finish your code

#SUG# = Gmail count variable. if you make a rich text module and type #SUG# by itself, it will show you how many UNREAD emails you have, if none, it will count 0 etc

"=0? " = asks the question, is your gmail count (#SUG#) equal to 0? if so do the following.

[c=#ffff0000] = start the colour markup and make the Following text #ffff0000 which is the colour you want the text to be in hex value, in this case #ffff0000 = red

k = the text you want to show and change colour too, in this an email icon.

[/c] = closes the colour markup

: = or else do this, eg

gmail = 0 unread? k : (otherwise) show blah blah blah

this means if the value returned back from #SUG# is 0, k will show in red, otherwise if the value returned back from #SUG# is anything other than 0, like 1/2 etc, show k. (just remember it will show k in the default colour from the colour picker.
[Zooper Widget General] o0adam0o:
I needed this.
[Galaxy Note II Q&A, Help & Troubleshooting] prophet_in:
i am on rooted stock n7100 phone DDMG1 and want to hard reset phone , is is safe ? please help me as my phone has started to lag big time , please help
[Galaxy Note II Q&A, Help & Troubleshooting] optimusPRIME:
Of-course!
[Galaxy Note II Q&A, Help & Troubleshooting] aukhan:
Proceed no issues

some times the touchwiz launcher apk will go missing so would suggest to backup before resetting.
[Galaxy Note II Q&A, Help & Troubleshooting] prophet_in:
so do i reset from factory reset in menu or with hardreset code?
[Galaxy Note II Q&A, Help & Troubleshooting] aukhan:
perform hardreset

make a backup first.
[Galaxy S III Q&A, Help & Troubleshooting] yomama998:
So the power button on my GS3 is fried. (I am pretty sure at least)

Anyways at this point that is not really the problem. So a few hours ago I was able to boot my phone back up without the power button by taking the battery out and putting it back in. However, silly me wanted to boot into recovery to try something, but now my phone won't even boot. When I take the battery out and put it back in, it boots to the screen where it says "booting recovery" on the top left and then stops working. If I try to go into download mode, it shows the screen asking me if I want to go into download mode and regardless of if i press volume up or volume down the phone stops working.

I'm hoping there is some nifty work around for this. Should be fun :D Thank you in advance!

EDIT: In short, I am looking for a way to cancel booting into recovery.
[Galaxy S III Q&A, Help & Troubleshooting] boomboomer:
Sounds like you will have to replace the power button before you get to see if the emmc chip is corrupt. Unplanned shut down can corrupt the partition being written: system, data or recovery.
[Galaxy Note 3 Q&A, Help & Troubleshooting] p.z12791:
Hi

I need base N900XXUDNC1 modem file for update baseband
[Galaxy Note 3 Q&A, Help & Troubleshooting] alom5:
It's not that good. Use the NB5 from Hong Kong.... very good modem
[Galaxy Note 3 Q&A, Help & Troubleshooting] p.z12791:
please link?tnx
[Galaxy Note 3 Q&A, Help & Troubleshooting] alom5:
Page 2 post #11... list of modems there. .

http://xdaforums.com/showthread.php?t=2643109
[Galaxy Note 3 Q&A, Help & Troubleshooting] p.z12791:
my phone is n900:(
[Sony Xperia L] kinetic_soul:
Just a lil' heads up:

#include
/*
* I am not responsible for bricked devices, or any problems
* that you might run into when you do these mods.
* Point your finger at me if you goof up and I'll smack you
* over the internet with my handy tennis racket.
*/

SOURCES

Kernel - Here

GPS Fix - Here

Device Tree - Here

Proprietary vendor files can be found linked in the README.md file in the device tree.

Make sure to have an unlocked boot loader before doing any of this: unlockbootloader.sonymobile.com

I've built KitKat for the Xperia L once again, this time with updated sources and a few much-awaited fixes. Most of the procedures remain the same.

I'm going to keep this thread clean and simple. Just follow the instructions and you shouldn't run into any problems.

The GPS fix may not be "complete", so please don't spam the thread with crazy insults, death threats, etc.

DOWNLOADS

boot.img - Download.

userdata.img - Download.

system.img - Download.

GAPPS - Download.

If you want the CRT lock animation, download this and flash with CWM or TWRP

-

Download.

INSTRUCTIONS

cd to the directory which contains the downloaded files [ex: cd ~/Downloads] and execute the following commands (

assuming you have fastboot and adb set up in your command line

.) -

fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img

COOL STUFF AND NOT-SO-COOL STUFF

What's working?

- Wi-Fi
- GPS {kinda}
- NFC
- Camera
- Deep Sleep
- Other essentials

What's still smoked?

- Bluetooth
- Internal storage shows up as 2GB and not 4GB

CREDITS

-

[MENTION=2430512]raffaele88[/MENTION] - For the CRT Lock Animation Toggle

[MENTION=4984300]Shivam Kuchhal[/MENTION] - For the kernel
[Sony Xperia L] kinetic_soul:
Reserved

Reserved.
[Sony Xperia L] kinetic_soul:
Reserved

Reserved, yet again.
[Sony Xperia L] tosik:
Does this Rom include the latest fix from Brinly? Is GPS fully working or just via WiFi and mobile network?

And some screenshots would be good.
[Sony Xperia L] thefunnyone:
Good to see a new rom! :)
[Sony Xperia L] freakzapster:
what difference is there from other aosp roms ????
[Sony Xperia L] FantasticalX:
It based on latest AOSP maybe (Android 4.4.2_r2)
[Sony Xperia L] Shivam Kuchhal:
Provide proper kernel and device tree sources and not just Sony AOSP ones so that others can see how you fixed GPS.

Also, are you sure GPS works? Brinly's fixes were incomplete, does turn by turn navigation works?
[Sony Xperia L] thefunnyone:
Signal Keeps resetting ???????????

Edit

I found that somethings wrong with my phone
[Sony Xperia L] kinetic_soul:
Brinly's GitHub has the fixes. I am yet to test the turn-by-turn nav. I'll keep updating the OP with the latest info.
[Sony Xperia L] GuestK0058:
Did you use this fix?

It's working but it's using the wifi/data to locate your location
[Sony Xperia L] Shivam Kuchhal:
Do you understand that you're breaking GPL right now? Brinly's github doesn't have "sources", they're just incomplete docs for fixing GPS and if you used those fixes then I guess GPS is still broken and mobile is using WiFi and mobile network to detect location. I advise you to upload proper and latest sources on "your" git before some MOD takes some action against you.
[Sony Xperia L] ArnauGonzalez98:
That's true mate, You shouldn't say that this is a GPS fix because it isn't
[Sony Xperia L] kinetic_soul:
All of you calm down. I've updated the OP with the details required.
[Sony Xperia L] GuestD2041:
Sorry for the off-topic, but I don't think he's breaking something.

Android kernel is under GPL, but software is under Apache —meaning the developer chooses whether he/she makes the sources public.

It is just preferred in the custom ROM world that sources are out so others can modify or reuse them.

Or at least that's what I understand from here, correct me if I'm wrong.
[Sony Xperia L] Shivam Kuchhal:
Yes you're right that kernel is covered under GPL but here at xda, a developer needs to provide both kernel source and device tree and that's how power of open source prevails. You can look into any original ROM thread and you'll obviously find a proper source given there and contradictory to my advice, OP still chose not to provide any kernel source and device tree. Anyways, I am no MOD so better let a authorized person deal with this stuff.
[Sony Xperia L] laufersteppenwolf:
Nope, I need to correct you there. XDA only requires you to publish the kernel sources due to the GPL. The device tree, however, can ofc be closed source. But you also are kinda right, even though we do allow closed source stuff, we sure encourage people to make their stuff open source so other people can help bug fixing, tweaking, but also use it (if allowed).

As I can see kernel sources are provided in the OP, so there's nothing to do for me anymore, except moving it into Android Development, as this doesn't yet qualify as original dev ;)

Cheers
[Sony Xperia L] Raj joshi:
Link for download removed..:/
[Sony Xperia L] kinetic_soul:
Fixed. Sorry about that.
[Sony Xperia L] Hellspawm:
The links for Google drive not work

is a bit mess there , on first link i got boot.img, second link userdata.img say the file has been removed....nothing, the third link say system.img but you download userdata.img...and the Gapps as well say is been removed...is any chance to fix this?

watch here 1 minute to understand what i am talking about

https://www.youtube.com/watch?v=1EyN9qoEikA
[Sony Xperia L] Rparalejas123:
system img link ?? Pls fix
[Sony Xperia L] Raj joshi:
system.img link still not fixed :(
[Sony Xperia L] :
If you really want AOSP 4.4 you can use percy_g2 system.img

They are all the same anyway

Use ThunderZap or Phantom Kernel as boot.img

Make sure to flash the zip included with the kernel too!

Inside the recovery, do a factory reset (wipe data/cache/dalvik)
[Sony Xperia L] Raj joshi:
It's compiled from old sources..kinetic_soul has new sources compiled system.img
[Sony Xperia L] Hellspawm:
What about Gapps link can you provide a link to use please?
[Sony Xperia L] Raj joshi:
Just google it u will find it

System.img link still not working..
[MDA III, XDA III, PDA2k, 9090 General] My_Sx66:
Hi,

Ive got SX66 from Cingular (AT&T varient). its been working great, and one day suddenly the touchscreen stopped working(theres not a even a scratch on my screen, let alone any damage to touchscreen). Ive upgraded, downgraded my PDA god knows how many times. Changed Extended ROM so many times. but the touch screen just wont work. After draining the internal battery. Screen started working again, but GUESS WHAT. Its working working working, all of a sudden the right side of the touch screen stops responding and the same problem crawls over to left side. Again no more touchscreen

This is really freaky. So i drain the Internal battery again. Touch screen up and running SMOOOTH, but guess what, after like an hour, same symptoms, 1st goes the right side which doesnt respond, yet the left side start and other screen buttons respond. Then slooowwwly left stops responding.

I seriusly believe theres something wrong with the Firmwares. Must be a bug somewhere. Any of you good techy folks can tell me, I can TOTOTALLY ERASE as computer terms FDISK and FORMAT, this PDA and install WM2003 and Ext ROM ??? Coz hardware wise, this is just insane. 1 hour it works, next hour half portion doesnt work, next hour whole touch screen doesnt.

HELPPPPPPPPPPP !!!!!!!!!!!

Munasir
[Sprint LG G2] Reactiionz:
So I recently got a g2, my old phone was rooted so I have some idea what i'm doing. I have been out the modding scene so i don't know much about the new phones.

First of all I want to root my phone but I mostly want to keep it stock I just want to remove bloat ware and not sure if I could install an equalizer on 4.2 once rooted to fix the quality on certain eq bands. If equalizers dont work on 4.2 what could I use as I heard 4.4 wastes a lot of battery.

Also what rom and kernals if there are any would you recommend for battery saving and customization options.
[Sprint LG G2] barleysoda:
http://xdaforums.com/showthread.php?t=2522346

http://xdaforums.com/showthread.php?t=2594203
[Moto X Android Development] southern87:
I created this file in 2012 for the EVO3D I had as a alternative to init.d scripts.

This is intended to create real performance. Not performance to create crazy benchmark numbers like done on the 3D forums before. For shiggles....I am getting 22k on AnTuTu Bench. This is a rough post as I just spent 4 hrs creating a biology study guide and I am quite tired.

*DISCLAIMER*

I AM NOT LIABLE FOR YOU JACKING THINGS UP

I have a ATT Moto X(XT1058). Rooted, unlocked, on 4.4.2....Still stock recovery. Though this should work on any Moto X.

Keep in mind this should be considered a beta as I tweak it for the Moto X and add things like I had done before.

Version 1.0

Initial Release for Moto X

Cleaned useless code from orginal that doesn't apply to our phone. Cpu 2 & 3 settings IE.

[Stock uses Interactive as the governor.

Changed settings used for the ramp up of the cpu under load

Changed settings to improve VM performance and battery life(supposedly)

Changed scheduler to noop and read ahead to 3072

Changed network settings to help optimize them

Optimized the EXT4 mounts.

Zip align files on boot - Checks them first

Installing this is quite simple...Just need to click a file in windows. That simple basicly.

Everything you need is there in one folder

No need to reboot into recovery.

Instructions

Download the zip file.

Extract the files to a folder.

Run the file Push.bat

Hit any key to keep going.

Let it reboot.

RESTORING

If you decide this is not for you...hey I got your 6.

Run the File named Restore.bat and it will replace the old postboot for you and reboot.

To Do:

Tweak Current settings and add new

Create a flashable zip

Add user customization
[Moto X Android Development] cartmenicus:
Sweet will test it out tommorw! Could we get some further details at exactly what if changes and tweaks? Or is that in the download
[Moto X Android Development] southern87:
Yeah I will today. Sorry wasn't exactly awake.

The batch file is for those who still have stock recovery but rooted and unlocked or write protection disabled.

If you get a read only error pushing the files to the phone then your kernel isn't insecure. If you get the error just close the command prompt screen.

If you have a stock kernel then you need a app like adbd insecure. Buy or aquire it, lol, and check the option in the settings. It will pop up a window saying patching. Then run the push.bat file.

Custom kernels shouldn't be a problem lol. If so then who made it is stupid.

When I make the flashable zip then you won't need a app and such.
[Moto X Android Development] hryusha:
Hi Southern,

Thanks for your time and effort. I have ran your tool and received an error. I have a Dev Edition Moto X with custom recovery and Eclipse (Blur based 4.4.2) Rom. Please take a look at the attached pic.

thanks
[Moto X Android Development] southern87:
Install this. Your kernel is not unsecure. This will allow you to push and pull system files via adb.

http://xdaforums.com/showthread.php?t=1687590

About to add the flashable zip if you want to flash it instead.
[Moto X Android Development] hryusha:
Thanks! I will just wait for the flashable file, but will still download the above file just in case.

---------- Post added at 12:23 PM ---------- Previous post was at 12:16 PM ----------

Tried the flashable version and it failed. I am using TWRP 2.7 if that helps at all.

I will now try the file you suggested 2 posts above and the usual windows method.
[Moto X Android Development] southern87:
I took it down. I just looked at it and realized I got ahead of myself on the updater-script. I need to flash a recovery anyways, just hadn't had time.

but yeah if you install that app, it will let you run the batch.
[Moto X Android Development] hryusha:
Ok NP, I will try the other method and will get back to you with my findings.

---------- Post added at 12:38 PM ---------- Previous post was at 12:32 PM ----------

Everything went smooth (with the windows cmd process), phone is now restarting. I will monitor how my battery life is today and will report with my findings.
[Moto X Android Development] southern87:
good deal. Maybe 2.7 doesn't play well with the X. I don't think its officially suppported. Everything I try to do gives me the same error while flashing.
[Moto X Android Development] hryusha:
Just FYI, 2.7 works well with all the other flashing I had to do.... Eclipse rom as well as some random additions i had to flash via the recovery, all went without an issue. I did see that 2.6.3 is the only one in the Moto X forum though.
[Moto X Android Development] southern87:
I figured.
[Moto X Android Development] piccit:
No versions of TWRP are "officially" supported.

2.7 works without issue for me -- the dev (I believe its dhacker) just didn't bother making a thread for it
[Moto X Android Development] southern87:
ahh I see. I always had HTC devices so wasn''t really a issue.

From what I read KitKat changed some stuff to do with the updater-scripts. I was starting to get pissed with this lol.

Going to add it to the OP in a second.
[Moto X Android Development] kenosis:
Hi Southern...

What is Moto Z in your signature? :) Which device is it?
[Moto X Android Development] southern87:
It's supposed to be a x. Sorry hahaha
[Moto X Android Development] southern87:
Initial findings.

Ds battery monitor disabled, but I think it still is still running.

Adm check box 1 unchecked, Google now disabled. Used app ops to disable some gps permissions.

Beats music kills the data on high quality haha. Like 600 megs
[Moto X Android Development] kenosis:
how can I know whether installation is successful or not successful?
[Moto X Android Development] southern87:
If you go to system/etc/ and find the post boot it will be like 6 or 7kb in size as the original is 20.

That or use adb to pull it from a phone after you install it.
[Moto X Android Development] kenosis:
failed to move zipalign and int.qcom.post.boot.sh to folders.
[Moto X Android Development] southern87:
I didn't change or screen said failed? Read only? Or did you use the flashable zip?

If it's read only error it'd saying. Your kernel isn't unsecure. There is a link to a app that can fix it. It's temporary unless you set it to start at boot.

It allows you to push and pull system files via adb.

Flashing isn't affected by this
[Moto X Android Development] kenosis:
Thanks, problem solved after installing adbd insecure. :)
[Moto X Android Development] southern87:
Good deal.

Thought I did a overnight drain, and my battery was 75 percent, now it's 20...I am losing my mind I think lol.
[Moto X Android Development] hryusha:
Hey, how do we uninstall this thing?

TIA
[Moto X Android Development] jakereeves31:
Try looking in the OP right above the downloads. It says Restoring.
[Moto X Android Development] scorpion667:
No one has mentioned performance. Is it noticeably snappier? I could care less about benchmarks, just mostly concerned with transition animations, vertical scrolling fluidity and app opening times.
[Google Chromecast] MaverickH93:
Hey Guys, new to the forum.

I purchased the chromecast, looking to stream local files and get rid of my hdmi cable. I can cast a tab fine, but experience a bit of lag when viewing at max bit-rate. (extreme 720p)

My computer is i7 4770k @3.5ghz and card is HD7970. SO i dont think hardware is the issue. My router is a Linksys EA6900 and its about 5m away from the dongle.

Has anyone managed to actually stream full HD to the chrome cast without noticeable lag or reduction if FPS, or is it simply not available at this point of time?

Thanks
[Google Chromecast] bhiga:
720p tab casting even of Flash video works well for me, but I seem to be an exception rather than the norm...

Are there any obstructions between your router and Chromecast, especially the TV itself?

My system is a dual Quad-Core Opteron 2.9 GHz Shanghai, 32 GB RAM, running Win 7 Professional x64. AMD/ATI Radeon HD 7750 graphics.
[Google Chromecast] MaverickH93:
Its pretty much line of sight and the perpendicular to the back of the TV. What kind of router are you using?

Also what file type are the videos you are watching and how big are the files. For example, if i watch a .mp4 blue-ray RIP its size is around 1.8Gb i experience minor FPS decrease on the High setting. Extreme just leads to lagging.

The way i see it there's the potential for 3 issues.

1. The computer hardware

2. The router connection

3. Google chrome's wireless hardware
[Google Chromecast] Budius:
to stream local file (movie) is better to send the file and let Chromecast buffer and decode it than stream a tab.

I've been using this here and works like charm: https://chrome.google.com/webstore/detail/videostream-for-google-ch/cnciopoikihiagdjbjpnocolokfelagl

I don't believe I tried sending a 1080p but 720p is flawless and I can't see why it wouldn't

They also have an Android app for remote control the stream, so I pretty much click play on the PC and sit on the sofa with the phone to control.

If your video is not in a compatible format, I'll go ahead and do a shamelessly self-propaganda: I did this little batch converter specifically for the CC and it seems to be working fine.

http://xdaforums.com/showthread.php?t=2699870
[Google Chromecast] MaverickH93:
Yes i tied to use Videostream, but for some reason it gets stuck on the loading screen. I turned off all my firewalls, changed permissions, ran chrome canary, ran as admin but it still doesn't work.

i think that's the issue. CC needs to buffer video. It sounds like VideoStream is the kind of program i need so will just have to keep working at it.
[Google Chromecast] Budius:
well, those HERE are the media types that Chromecast can natively run. Anything besides that it will not work (unless you're just mirroring the screen, but as you noticed, it's pretty slow, or you have some media server on your computer doing some on-the-fly conversion, which can run pretty slow and heat your PC a lot).

I suggest getting a video that you're sure within the spec to test. Probably if you download a YouTube from those "youtube downloaders" website or just something you recoded with your phone, it will be in spec (mp4 container, h264 codec, AAC or MP3 audio).

So what I've done (check my last post) was to code myself a batch converter (helps being a Java developer) so currently my computer at home is converting my whole video collection to compatible format.
[Google Chromecast] ermacwins:
Can I upload a mp4 video say dropbox and stream it to chromecast? Any online hosts allow this?
[Google Chromecast] nigelhealy:
LoL.

I have a Raspberry Pi running Rasbian and it has 1TB USB drive attached, I'm running Apache2 and point it to my drive so it appears in http. I then use the Android NAS Cast app, settings configure to the http of the directory with the MP4 and it casts perfectly decent quality. So there is no desktop involved, Android in your hand and the small Linux server and Chromecast.

As has been said, Chromecast as very limited codecs. You can explicitly seek out the compatible videos, or recode using ffmpeg. The Raspberry Pi is too weak to do real-time recoding but you can batch up and have recoding those files not compatible, and then if low on disk-space, delete the original non-compatible.

I'm 90% through overnight building my own Rasbian system (been on a Dockstar on older Linux for years) and built ffmpeg overnight.
[Google Chromecast] Budius:
Like I said on the other thread.

I found a FFMPEG for RaspianPi but it was so painfully slow. Like a low-res 20 seconds video would take 30 min to encode. Now imagine a tera-byte drive it would take a few years, not really good. Best option is really to get the best-fastest machine you have available and leave it running for a week or two.
[Google Chromecast] nigelhealy:
Tried running it locally (Ubuntu desktop) lots of error messages saying

Failed to get FFPROBE

I have the ffprobe command though.
[Google Chromecast] Budius:
what does say in the LOG tab?

Try running from the terminal: ffprobe <video_path>.mp4 Does it work or does it say "can't find command ffprobe" ?

at the end of this https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide it shows how to add the ffmpeg to the path

ps.: let's keep debug/conversation regarding the Converter on the converter thread? I guess it's more logical and we don't hijack MaverickH93s thread