yashsingh1/xdaforums huggingface dataset:
[AT&T LG Optimus G] bleached45:
I sadly haven't had the same experience.

I don't usually have mediaserver show up at all, but every now and then it goes rogue.

When it does show up in my list I notice my phone gets hot, even in idle, and battery drains like 5~10% an hour without doing anything on it.

Sometimes a reboot stops it, last time I had to do a bunch of stuff before it settled down, not sure what actually fixed it.

What I remember doing though was:

Freezing media storage.

Rebooting into recovery and clearing cache and dalvik.

booting back up, unfreezing media storage and clearing data on it.

Seems to have worked for now.
[AT&T LG Optimus G] jamesc760:
In my past experiences with media server on other phones, if your sdcard develops bad spots, it will go haywire on you. It is a poorly written software (I am looking at you, Google). I am surprised that google has'nt fixed the problem yet.
[AT&T LG Optimus G] greyhulk:
That actually sounds like a rogue app or issue with your phone. Mine has been perfect since my purchase. The media server is still the #1 drain, but that's still less than 1%/hour idle.

It's definitely not an issue with all of the phones, not in my research. Hope you figure out what it is. That's annoying.
[HTC One X] hassan89:
This mod gives you Aosp style recent apps as you can see from the first screenshot posted below with the recent apps open.

PLEASE READ:

Any of the mods below will most probably work with any sense rom(except viper which has a super modded framework ).If it doesnot work for you just report back and i'll include support for the rom you are using.Happy flashing :)

HOW TO:

Just flash the zip file attached corresponding to the rom you are using :)

AOSP RECENT APPS

ORDROID:

1.Without battery percentage:

https://docs.google.com/file/d/0BxQin5xmUKAoWVdvUE83SWNVdlU/edit

2.With green battery percentage:

https://docs.google.com/file/d/0BxQin5xmUKAoX1N0T2dsRXhyM2s/edit

INSERTCOIN:

1.Without battery percentage:

https://docs.google.com/file/d/0BxQin5xmUKAoOE1MS1lMaUxHa00/edit

2.With green battery percentage:

https://docs.google.com/file/d/0BxQin5xmUKAoYlJfLU5CZEZUOHc/edit

EQS TOGGLES

1.With no battery percentage + Htc style recent apps:

http://d-h.st/TsV

2.With no battery percentage + Aosp style recent apps:

http://d-h.st/JL8

3.With green battery percentage + Htc style recent apps:

http://d-h.st/Nyt

4.With green battery percentage + Aosp Style recent apps:

http://d-h.st/sb5

5.With blue battery percentage + Htc Style recent apps :

http://d-h.st/6z5

6.With blue battery percentage + Aosp style recent apps:

http://d-h.st/yN0

SHARING AND USE POLICY(ONLY FOR MY TOGGLES MOD)

Hello everyone.As some of you might know that i am a member of the skydragon team and that is the only rom that has all my mods.From now on all my new mods will not be posted here but available only on the skydragon rom.The reason for this is simple,as you all know i'm a new guy and have a lot to learn so i find time really short.This time will be well spent studying and making new stuff.So you will find everything i have to contribute in the skydragon thread from now on as i just find supporting all roms difficult.But this thread will not be closed.All the mods that i have already made will stay here and also news and screenshots of new mods will be posted here so do look here every once in a while.
[HTC One X] TToivanen:
Confirmed working on ARHD 18. :thumbup:
[HTC One X] RipperNash:
Wow, this is a really neat mod! I loved the AOSP Recent apps style. This is perfect for me. I find it more gesture friendly.

Thanks a lot! Is it possible to include a ''REMOVE ALL'' button like in AOSP??
[HTC One X] ExoticMe:
i have been waiting for this thank you :D
[HTC One X] MemAllocatoR:
nice one mate...I've been looking for it! thanks a lot!
[HTC One X] popularpp:
Does this mean recent apps will actually work as it's suppose to be on sense roms? eg. goes back to whereever you last left it, instead of reopening the app like in stock roms
[HTC One X] hassan89:
No it doesnot change how multitasking is done in sense.It only changes how it is displayed.
[HTC One X] popularpp:
I see, thanks! Good job still :good:

Hope someone can figure out how to make it so it works as it's suppose to !
[HTC One X] theDroidfanatic:
This is AMAZING hassan! :D Can I include this in my ROM? :)
[HTC One X] hassan89:
Ofcourse you can ;) Everybody is free to use this as they will.
[HTC One X] theDroidfanatic:
Thanks! :D I'll give credits of course ;)
[HTC One X] monchee:
I can confirm that it does work! And it feels a lot better than the Sense one. Thanks!

View attachment 1624930
[HTC One X] vaykossil:
had a question,i already have blue battery percentage installed on orio,does this remove that ?
[HTC One X] hassan89:
It has green battery percentage :) but if you want blue one please upload your SystemUI.apk
[HTC One X] Alex-V:
nice..works good..thx
[HTC One X] mwilky:
Anyone who wants to do this manually:

Decompile SystemUI.

Browse to \SystemUI\smali\com\android\systemui\statusbar and open "StatusBarFlag.smali"

Search for "sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP_FUSION:Z"

Right on top of that line add "const/4 v0, 0x0"

Save and recompile :)
[HTC One X] hassan89:
Yeah thats exactly how its done :D Just wanted to save people the trouble :highfive:
[HTC One X] theDroidfanatic:
Good guy mwilky, knows how to make mod, doesn't, so others get a chance :D
[HTC One X] Lextermina:
Great Job! Work fine! Thanks

---------- Post added at 02:42 AM ---------- Previous post was at 01:50 AM ----------

I have Added this Mod on SystemUI.apk with centered clock and White Battery %

http://d-h.st/FOc

Work on all JB Base 3.14.401.31
[HTC One X] monchee:
Yes! +1 to this. :)
[HTC One X] dragonesdenano:
I guess not. As best and easy mods are to deodexed roms. But not impossible

SKYDRAGON Lead Guitar
[HTC One X] hassan89:
Well to get it to work you will have to use a trick.You would have to delete the SystemUI.apk and its odex file.Then install my mod.After that just use titanium backup or any other program of your choosing to odex the SystemUI back .Hope that doesnot sound too complicated.Your rom would have to be rooted ofcourse
[HTC One X] mwilky:
The two mods don't even use the same file so dunno why your requesting it here

Sent from my RENOVATED HTC One X ..
[HTC One X] Stealthy Hunter:
I Guess deodexing the stock ROM would be better to avoid any further problems....

Thnx :good:
[HTC One X] hassan89:
Well you can if you want to ,but you don't have to.Other people have my mod working on their stock rom just fine.Try this.

1.Reboot into recovery.

2.Use adb to delete SystemUI.apk and SystemUI.odex

3.Install my mod using the zip file.

4.Reboot

I think it should work.You shouldnot have to odex back.
[HTC One X] cphkelvin:
The EQS TOGGLES (With no battery percentage + Htc style recent apps) has minor problem as he battery still contains the percentage battery, wish to have an update with this :) all the way a good mod :silly:
[HTC One X] flame10:
Wonderful toggles, never feels like going into another app, using with Blade 4.6.0..

I still wish though that there was an easier way to customize the ordering of the toggles.
[HTC One X] dragonesdenano:
Base 3.17 skydragon v2.1

Amazing skydragon toogles

Working with no problems

Should try our base.

Faster as never

SKYDRAGON Lead Guitar
[HTC One X] mud_f1:
Hi. I love this mod and i working of sense icons. if you want it hassan89, send me a private : )

Thanks for this awesome post. I will post it in a forum of spain, all credits to you of course

About the quickpanel_quick_settings.xml , im trying to open it, but is not wa, i dont understand the tutorial, excel says "error of redestribution xlm" . Any way to open it easly?
[HTC One X] dragonesdenano:
I guess with vts kitchen then decompile and note+++?

SKYDRAGON Lead Guitar
[HTC One X] mud_f1:
Mmm you are argetinian, me spanish, could you send me the instructions in spanish in a pm? Thanks.
[HTC One X] dragonesdenano:
Seguro jajajaj

SKYDRAGON Lead Guitar
[HTC One X] mud_f1:
OH thanks (que mal lo estaba pasando con el ingles jaj)
[HTC One X] dragonesdenano:
Pero te veo seguido por aca, nunca me imagine que seas de España.

Cool, o

Pm sent:D

SKYDRAGON Lead Guitar
[HTC One X] hassan89:
I'm hoping dragon resolved your problem mud ;)
[HTC One X] dragonesdenano:
Me too;)

SKYDRAGON Lead Guitar
[HTC One X] mud_f1:
Yes, i finally open the quickpanel_quick_settings.xml with vts, but i have a problem. I want to add the flashlight and the sycn button, but i dont know the code of this,

For example this is te code of rottation

<FrameLayout android:id="@id/rotation_bttn" android:layout_width="74.0dip" android:layout_height="58.0dip" android:layout_weight="1.0" android:layout_toRightOf="@id/brightness_bttn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="11.0dip" android:textStyle="normal" android:textColor="#00000000" android:gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_text" android:paddingTop="54.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_rotation_btn_status_icon" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="8.0dip" android:layout_marginBottom="0.0dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>

Whats is the id of flashlight and sycn? :crying:
[HTC One X] hassan89:
These codes point to the smali files where the actual work is being done e.g the creation of the toggles etc.I donot have compatible smali files for flashlight.I'm trying to port one.Sync is already included.
[HTC One X] dragonesdenano:
Great work hassan

U r great mate :thumbup:

SKYDRAGON Lead Guitar
[HTC One X] mud_f1:
New icons sent to hassan :p
[HTC One X] dragonesdenano:
Cool.. More fun coming :thumbup:

SKYDRAGON Lead Guitar
[HTC One X] theDroidfanatic:
Dude, remember the toothbrush mod? ;)

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

Sent from my One X running Blade v4.6.0. At a mere 240 MB, with tons of AROMA Mods and tweaks, this, is what you want.
[HTC One X] hassan89:
haha yeah i do :D
[HTC One X] dragonesdenano:
How is our secret weapon? :D

SKYDRAGON Lead Guitar
[HTC One X] hassan89:
Hahaha might be ready in a few days :D
[HTC One X] dragonesdenano:
Al rite. Amazing news, and this is just the beginning :thumbup:

Don't tell... Till our rom release, and if u want money, ask me:thumbup:

SKYDRAGON Lead Guitar
[HTC One X] secXces_debaki:
AW: [MOD] Toggles(EQS) + Aosp Recent Apps

i want money too :eek:
[HTC One X] hassan89:
Haha don't we all want money :D
[HTC One X] MaartenXDA:
@OP, could this work with any sense based ROM on another HTC device? I'm developing for the HTC Desire X, and I'd like to include this mod.

Sent from my awesome fridge
[HTC One X] hassan89:
Yes it will work,just follow my tutorial and at end just make sure that the smali files point to the right ids in public.xml.thats all you have to do
[HTC One X] MaartenXDA:
Okay thnx, I already have some smali file editing experience, so that will work just fine. Adding you in the credits if it works :)

Sent from my awesome fridge
[HTC One X] MaartenXDA:
Okay, it didn't work for me.

Most likely 'cause I don't have a stock SystemUI.apk

I'm using a themed one, and the line in status_bar_expanded.xml wasn't there, so I just placed the line other another line.

It shows the statusbar for a sec, but then it FC's.

If anyone could help, I'd appreciate it.
[HTC One X] hassan89:
Send my your framework-res.apk and com.htc.resources.apk.Can't decompile SystemUI without them
[HTC One X] sergeuhtc:
hassan89,

Hello!You can make EQS TOGGLES at One S.
[HTC One X] hassan89:
Yes i might be able to :) Do you want me to ?
[HTC One X] sergeuhtc:
Yes.:) What you need? My framework-res.apk,com.htc.resources.apk and SystemUI.apk all is correct, forgot nothing. Thank you
[HTC One X] hassan89:
Yes send me these files but make sure you send me files that are close to stock .I mean no themed frameworks etc.
[HTC One X] sergeuhtc:
hassan89,

https://www.dropbox.com/s/tnu4z1ew4uhunmc/framework.zip

https://www.dropbox.com/s/7j2yhojxu7n3oir/SystemUI.apk
[HTC One X] hassan89:
I have them,check back in 5-6 hours and i will let you know my progress :)
[HTC One X] dragonesdenano:
Hi Hassan

As i Prommissed

Paypal ID # 8YA69219ES085364B

Have fun my Friend!!!!
[HTC One X] MaartenXDA:
Okay sorry it took so long to upload them, but here are my Framework-res.apk and com.htc.resources.apk

XDA wouldn't let me attach files :|

Framework.zip - 20.17 MB
[HTC One X] hassan89:
Thankyou so much yamil ;) Really appreciate it
[HTC One X] dragonesdenano:
You are welcome mate:)

SKYDRAGON Lead Guitar
[HTC One X] hassan89:
To all the guys i promised to make mods for .

Will make them tomorrow i promise you.Sorry for the delay.Hope you guys understand.
[HTC One X] MaartenXDA:
I dontw know if you promised it to me, but no problem mate :)

Would be great if it worked though.

Sent from my awesome fridge
[HTC One X] dragonesdenano:
Hassan, maartenXda is part if skydragon but he will make roms for Desire Hd X, not hox.

:)

SKYDRAGON Lead Guitar
[HTC One X] sergeuhtc:
Thank you very much.
[HTC One X] MaartenXDA:
Hey Hassan,

As you might know, I'm in the SkyDragon team.

It'd be great if you made those mods work with the Desire X so I can add them in the SkyDragon DX.

If you figure out how to, please post or guide or anything like that.
[HTC One X] dragonesdenano:
Check in our base 3.17 jb thread, i ve posted link to our firt toggles and batt icon pack, maybe will be helpful :)

SKYDRAGON Team © No aroma bugs
[HTC One X] MaartenXDA:
Yeah saw them, but the toggles don't work at all. I first need to have them working, after that I'll theme it.

Sent from my awesome fridge
[HTC One X] dragonesdenano:
I guess hassan wil help later, he is the man:)

SKYDRAGON Team © Dont Forget to try Dekky and Ruizit0 Miui Roms
[HTC One X] mud_f1:
Hassan how can i change the size of the icons? I want to add the names down the icons (but without changing the bar "quickpanel_icon_on"
[HTC One X] MaartenXDA:
I guess you could just resize the pictures? Or are they .9 files?

Sent from my awesome fridge

-SkyDragon team member
[HTC One X] mud_f1:
Mmm the icons are 70 x 70 pixels. The last time , when i edit icons, i forgot to resize them to 70, and i put in 90 x 90, and the down bar dont change. I think even editing the icons, the bar will not go down... Maybe i have to edit the .xlm.

The icons are in png : )
[HTC One X] hassan89:
Hello everyone.As some of you might know that i am a member of the skydragon team and that is the only rom that has all my mods.From now on all my new mods will not be posted here but available only on the skydragon rom.The reason for this is simple,as you all know i'm a new guy and have a lot to learn so i find time really short.This time will be well spent studying and making new stuff.So you will find everything i have to contribute in the skydragon thread from now on as i just find supporting all roms difficult.But this thread will not be closed.All the mods that i have already made will stay here and also news and screenshots of new mods will be posted here so do look here every once in a while.
[HTC One X] jeryx:
AW: [MOD] Toggles(EQS) + Aosp Recent Apps

Hey hassan,

you're making a great job here. I like your work very much. Cool to have you on Skydragon mate! ;) Keep it up!

Cheers... We'll see us

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] vua777:
more touch friendly

nice research!
[HTC One X] hassan89:
Insertcoin mod added :)
[HTC One X] sean.trinidade:
Has anyone tried this with Jotha's APM mod for ARHD 18? I'm presuming this would break his mod if installed over it?
[HTC One X] mwilky:
Nothing to do with apm, will only overwrite systemui mods
[HTC One X] slebit:
Nice mod! It looks much better this way.
[HTC One X] webpatrick:
Can someone make one with shnizlon's blue stock look-a-like battery with % (see orDroid thread for resource). I tried, but didn't work.

Btw. which tools do you use for decompiling and recompiling the apk?
[HTC One X] hassan89:
Use smali and backsmali :) Can easily find them on the net or you can easily use apktool to decompile SystemUI,Post the link of the mod here.
[HTC One X] webpatrick:
I tried apktool, autoapktool and apkmanagere but I keep get errors while decompiling, even if I install the framework.
[HTC One X] MaxFTW:
How about adding kill-all button?
[HTC One X] webpatrick:
The problem is the framework file com.htc.resources.apk, gives warnings when installing

The steps I do:

apktool if framework-res.apk
apktool if framework-htc-res.apk
apktool if com.htc.resources.apk

apktool d SystemUI.apk

-- add the "const/4 v0, 0x0" --
const/4 v0, 0x0
sput-boolean v0, Lcom/android/systemui/statusbar/StatusBarFlag;->HTC_RECENT_APP_FUSION:Z

apktool b SystemUI

I can build the SystemUI, but when I look at the contents, the META-INF part is missing.

So a little more tutorial then just the following...

PLEASE!!!
[HTC One X] hassan89:
I'll add a tutorial to the the first post for you and others :)
[HTC One X] webpatrick:
I managed it, by copying the blue battery % images into the SystemUI.apk with green battery %, using 7zip.

I believe I used the orDroid source.
[HTC One X] theDroidfanatic:
You don't need to apktool if framework-htc-res.apk, just the other two :)
[HTC One X] mwilky:
The meta-inf is the signatures. You'll only get this folder once you sign your apk.
[HTC One X] hassan89:
Wilky i'm having a little trouble reading the /res/values/styles.xml file .i have some questions,could you give me a little help?
[HTC One X] mwilky:
Yeah sure, I'm going to sleep now though so I'll reply when I can tomorrow
[HTC One X] ilamaan:
I don't have any knowledge about this. But will it be okey if I extract systemUI from apkmultitool and edit the smali file then repack it and use it?

EDIT: got it working in OP way. I couldn't decompile using apkmultitool. I don't know how to setup that. Anyone could guide me to setup apkmultitool to decompile and recompile files successfully?
[HTC One X] RipperNash:
+1 to that. If you can somehow figure it out and add a kill all button, it will be a complete experience!!! Thanks for this mod as it is anyway :)
[HTC One X] hassan89:
Ok whenever you can,The problem i am facing is this.I want to find what animation file is used for regular app opening in sense.There are only two files referenced in the sytles.xml.Namely fade_in_fast and fade_out_fast.Now i replaced these two files in the anim folder of rosie but it didn't have any impact on the app opening transitions.I started changing all the animation xmls in the anim folder and still no change.Its like rosie isn't using animations from its own anim folder but from somewhere else.Any help would be really appreciated.I'm a complete noob with a little knowledge of c and thats it.I bought a few books on java and will study them but till then i should be able to handle simple xml editing :)

I'm attaching the styles.xm for both rosie and the framework .Please check them out
[HTC One X] :
Can I include this on Blade ROM? with credits of course!
[HTC One X] tomascus:
lol dude Droid asked already on the first page :/
[HTC One X] :
Sorry I did not see Lol. My bad.
[HTC One X] hassan89:
Ofcourse you can :)
[HTC One X] ♀Mivahe:
Thank you hassan89 for your mod, good work! I will include this in my mod, thanks for the how to! :good:

edit: All versions available now with AOSP style recent apps. Thanks again!
[HTC One X] Michxda:
Thank you hassan89, good work!
[HTC One X] ashishchandra:
Lost exteneded settings under notification viper ROM

I liked this MOD the only issue i have is that when i apply this mod i lose those extended setting under notification as am using viper rom and i have to go in to settings every time even if i have to turn on/off the wifi, can you merge those or tell me the way i can do that :crying: !!!

Note: I am aware that i will lose the custom mods, just waana know way of keeping both :cowboy:
[HTC One X] hassan89:
I'll release a viper rom version later today for all you viper fans :)
[HTC One X] ashishchandra:
Thanks man that will be awesome :good: :fingers-crossed:
[HTC One X] hassan89:
Big update for you guys :)
[HTC One X] dragonesdenano:
Amazing!!!

Great work here Hassan :thumbup::D:)

SkyDragon Team© °° JB & ICS Sense, Dsensed, SeMistock & Stock Roms.

Next Target ~~~> AOKP & MIUI °°
[HTC One X] hassan89:
Viper support added for anyone who wants it.Based on latest ota so please donot complain if you donot have the latest ota :)
[HTC One X] hoekzemaar:
I'd love to try this but I can't seem to get it to copy to the correct folder. I am using es file explorer and have granted root acces. I can't rename, move or delete the old file and it won't let me copy the new one as long as the old one is there. Any help?

Verstuurd van mijn HTC One X met Tapatalk
[HTC One X] hassan89:
Goto settings and mount system as writeable in ES.then it will let you copy,however be sure to change it back one you are done :)
[HTC One X] hoekzemaar:
Ok I managed to replace the system UI with the all included one from this thread and I cleared cache and dalvik in recovery. Unfortunately nothing has changed. Using BugX Rom.

Verstuurd van mijn HTC One X met Tapatalk
[HTC One X] hassan89:
You have to tell me which one you used my good man ;) If you want one with everything use the last one .
[HTC One X] hoekzemaar:
SystemUI_withallmods_personaluseonly.apk

And as I said no effect.

Verstuurd van mijn HTC One X met Tapatalk
[HTC One X] hassan89:
Are you sure there is 'no' effect.Can you please repeat the process so i can be sure !
[HTC One X] hoekzemaar:
Ok seems that I hadn't deleted the old file but instead renamed it so it would be easy to restore. After deleting it and repeating the process it is now working.

Thanks

Verstuurd van mijn HTC One X met Tapatalk
[HTC One X] gigis50:
will battery mod work on stock jb?
[HTC One X] theDroidfanatic:
OMG. Quick settings! Wow! :D
[HTC One X] hassan89:
Will make stock jellybean version tomorrow :)
[HTC One X] ThePanama:
Can confirm they are working on bugx, great work!
[HTC One X] mwilky:
Gonna work on changing the landscape values so it fills the whole width and doesn't leave the gap at the end, will keep you informed hassan :)
[HTC One X] hassan89:
Looking forward to it :)
[HTC One X] Fulgore.:
Anybody tried with OrDroid & AOSenseP together?
[HTC One X] matt95:
so cool man! can't wait to try it on OrdroidX! cheers :good:
[HTC One X] ashishchandra:
Thanks man, youre amazingly fast with your stuffs ... cheers mate good luck :highfive:
[HTC One X] dragonesdenano:
Amazing work in skydragon 3.2.3 Hassan

U did a great nob mate:thumbup::)

SkyDragon Team© °° Lead Guitar
[HTC One X] Sebby:
nice work hassan98

keep it up...
[HTC One X] hassan89:
Just a quick question guys .Should i move these toggles to a new thread and only keep Aosp recents apps here?

That would help people understand the OP more corectly :) Do leave feedback
[HTC One X] mwilky:
Hassan i've fixed the scaling issue in landscape, in the quickpanel.xml, i think the default value is:

android:layout_width="74.0dip"

change it to

android:layout_width="80.0dip"

and it fills the bar in landscape mode :)

You need to do this on each button layout.

Ive also removed the "on" highlight underneath the icon and moved the icons down so they are centered properly.

Will post how to do this once I have it how i want it :)
[HTC One X] hassan89:
Thankyou so much mate :) Yes it needs to be perfected.Also more toggles need to be added.The problem is that i can't read smali so i would have to try with smali files made for other phones :P
[HTC One X] adonix:
Nice work :)

Waiting for the instructions to add status bar toggles ;)