yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ErecDeGraal:
I think it's a wonderful idea. Current application is already simple and easy to use. I can hardly imagine a simpler app, but you have done it.

Regards

Sent from my Xperia Neo V
[Miscellaneous Android Development] themike10452:
yes my friend the whole idea is to make the app simpler and faster. This next step will make the app much more time consuming for users, though it will cause me a head ache with the coding if I want to include all these features in one script. I don't mind at all because that's my passion ;) I am the BatchMan
[Miscellaneous Android Development] riotaruna:
thanks dev.

this app very usefull and very easy use for noob like me.

can you add autorotation ?

sorry for my bad english..
[Miscellaneous Android Development] themike10452:
auto-rotation is available in your rom settings. I don't understand why I should add it to this tool. please explain
[Miscellaneous Android Development] riotaruna:
can this tool modified SemcGenericUxpres.apk too ?
[Miscellaneous Android Development] themike10452:
no it doesn't work with other apks.

I guess you want to enable lockscreen rotation am I right? you'll have to look somewhere else bro :)
[Miscellaneous Android Development] riotaruna:
yeah bro. i'll try.

i use xperia arc s, CM10 and use patch [MENTION=4666531]Rizal Lovins[/MENTION] 2013 xperia.

but OSB too big, i resize framework-res.apk but still same not change.

and i assume in SemcGenericUxpres.apk
[Miscellaneous Android Development] themike10452:
ask him for help then, he might have fixed the size or something
[Miscellaneous Android Development] themike10452:
Hey guys the new AFK v4 is ready I still have to add the option the disable screen wake when charger is unplugged.

I have added a new script called WorkBot which I talked about before, it helps saving a lot of time.

Here's a demo of this new script and how it works

I managed to decompile framework-res.apk, enable OSB and MSC and disable OSB in Landscape mode and change osb size to 24 dpi, then compile/sign/zip the new framework in just 23 seconds on my machine.

YouTube
[Miscellaneous Android Development] themike10452:
AFKv4 with WorkBot is done. I passed it to 2 testers. Waiting for feedback . . .
[Miscellaneous Android Development] theelle:
i have just flashed a stock ics rom .587 with flashtool using the ftf file, is there a way to have onscreen button with this tool? i read about a problem with stock rom...
[Miscellaneous Android Development] themike10452:
I used it with stock no problem

just flash a kernel with cwm and flash the zips that's it :)

I will post some screenshots with stock ics tomorrow too, I'm doing some major testing
[Miscellaneous Android Development] theelle:
so no problem with odexed rom?
[Miscellaneous Android Development] themike10452:
edit: deleted
[Miscellaneous Android Development] themike10452:
well my friend after testing I found out that it's necessary to deodex the rom before using a modified framework.

I will post a zip for stock ics users to have osb, just be patient :)
[Miscellaneous Android Development] themike10452:
AFK v4.0 with WorkBot released at Beta Stage. Please test and report any problems.
[Miscellaneous Android Development] mr.abdolian:
Hello and thanks for your work.

I have a problem with APKTool and also with this program. I hope you or anyone can help me.

I have modded my framework-res.apk by this program and at the end there was a file with different size:

My original framework-res.apk: 13.6 MB

Modded framework-res.apk: 8.08 MB

I have the same problem with APKTool too. I have installed "framework-res.apk" and "SemcGenericUxpRes.apk" with "if" command already. Should I do any other thing?

I attached screenshots from recompiling stage.

At the beginning it says "Could not find sources" but at the end it says "Everything is Ok". Is this a problem?
[Miscellaneous Android Development] themike10452:
that is ordinary my friend, the apk will become smaller because it will be compressed

about "can not find sources" that is not an error, when you compile for the first time the sources will be built, then any other compilations will be built on these sources but with modifications, I don't know if it's making sense to you. When you compile for the first time it checks for an old compilation inside [dec\framework-res.apk\build] folder, if it doesn't exist it says "can not find sources" and it starts building the apk from scratch.

And there's no need to install any other APKs using 'if'

Are you facing any problem when you flash the new framework? what ROM are you using?
[Miscellaneous Android Development] mr.abdolian:
Thanks A LOT my friend! I got it. yes I saw that build folder before! but I didn't know that the source alert is about this folder!

-Yes. the flashable zip installs completely but after reboot I stuck at bootloop.

-I use stock ICS rom (build no.: 6.1.1.B.1.54) . more info in my signature...

thanks for your answer bro...

and excuse me if my english is poor!
[Miscellaneous Android Development] themike10452:
is your rom deodexed? check if there are *.odex files inside system/framework/

if yes then you should deodex your ROM.

What's that build number I've never seen it before :what:
[Miscellaneous Android Development] mr.abdolian:
No, my rom isn't deodexed, it's odexed (as I said in my signature picture) . Is it the only way? deodex rom?

I hear that by deodexing rom, the phone speed decreases and ram will be more full. is it true?

That is the latest version of xperia sola firmware. You can find that in HERE(official sonymobile website).

And also I have attached a screenshot of about phone that says this BuildNumber:
[Miscellaneous Android Development] themike10452:
you should deodex your ROM, performance will not decrease at all.
[Miscellaneous Android Development] themike10452:
[MENTION=3246766]theelle[/MENTION]

SONY Ericsson Xperia Arc/Arc S users only:

For stock ICS FW .587 users use this zip to deodex your ROM then use the framework-res.apk from the zip or any other deodexed framework to do any edits. (Enable OSB etc...)

This zip is completely stock with no additional features, just deodexed.

Report if you face a problem, I tested it myself on my lt18i running world generic ICS .587 FW
[Miscellaneous Android Development] ErecDeGraal:
[MENTION=4954315]Themike_10452[/MENTION]

Hi,

Really good script, easy to use. The normal script works really fine. I'm still having problems with WorkBot :(

BTW I solved the problem with landscape OSB
[Miscellaneous Android Development] themike10452:
we'll see about workbot later, it's not a big deal

Is that CM10.1 you're using? what do you mean you fixed it?! :eek: share now! :P
[Miscellaneous Android Development] ErecDeGraal:
Yeah, I'm using DarkRom (CM10.1 based). The way to solve the landscape problem is just a small trick, but you have to add a new button on navigation bar options.

Enter in navigation bar option and enable modifications

Move the "+" button to the left. This moves the "recent app" button to the right.

Add a new button by pressing the button "+". I added "menu button"

Move the new button back to its original position and save

A simple trick that works :D
[Miscellaneous Android Development] flip360:
Hey there,

great tool thanks for sharing it with us!

i was using it on cm10.1 for modifying the navbar dpi but on 4.3 doesnt seem to work quite right.

After i change the dpi and flash the modded zip, only two of the three buttons change dpi (36 in my case), the first one (back button) stays the same dpi. any info on that would be appreciated :)

Thanks
[Miscellaneous Android Development] themike10452:
I didn't get the chance yet to try it out with android 4.3

I don't know how the framework resources look like.

Please send me your 4.3 framework-res so I can check it out.
[Miscellaneous Android Development] themike10452:
I didn't get the chance yet to try it out with android 4.3

I don't know how the framework resources look like.

Please send me your 4.3 framework-res so I can check it out and make the adjustments needed to the script.
[Miscellaneous Android Development] flip360:
here is the framework-res from deodexed stock 4.3 JWR66V for nexus maguro, thanks!

http://www.mediafire.com/download/3b...mework-res.apk

Cheers
[Miscellaneous Android Development] themike10452:
A screenshot would be appreciated. If you can't it's okay I don't really need it.
[Miscellaneous Android Development] flip360:
of course :)

here it is with the leftmost back button still on stock DPI
[Miscellaneous Android Development] themike10452:
As I see that's caused by the PNG file of the back button located inside

SystemUI.apk because there's nothing unusual in the new 4.3 framework. And as you can see the bar size is not stock, it's just the icon that looks big.

Try to relace the back button PNG with another one from an old SystemUI.apk from android 4.1/4.2

I guess it's named: 'ic_sysbar_back...png'
[Miscellaneous Android Development] themike10452:
WorkBot script fixed thanks to [MENTION=4748936]milanjm[/MENTION] for pointing me in the right direction.

AFKv4.1 Uploaded

Changelog Updated

Looking to add ZipAlign to the next version
[Miscellaneous Android Development] HotKillerZzz:
this is really awesome!!

is it possible for you to create a tool that changes color in navigation bar? like the arrows?
[Miscellaneous Android Development] themike10452:
1- Thanks man

2- Yes I suppose it is achievable, someone asked me to do it before, I might make it one day. I have to add editing of SystemUI.apk and include a couple of navigation button styles as a start then it will grow with time...
[Miscellaneous Android Development] HotKillerZzz:
Ok that's really great!! Look forward to it.
[Miscellaneous Android Development] flip360:
Tried, still the same behaviour.

So in other words your tool doesnt work, right?

If i have to modify SystemUI also looking for the right size icon thats not an automated framework kit then imo
[Miscellaneous Android Development] themike10452:
it's not my tool that's causing this behavior, it's the ROM itself my friend, with some ROMs I came across this problem (very few ones) while the others looked well.
[Miscellaneous Android Development] flip360:
Thanks, i managed to get it working by messing around with SystemUI, the issue happens on Stock 4.3 ROM not on CM for instance
[Miscellaneous Android Development] themike10452:
please share the method so others can benefit from your experience
[Miscellaneous Android Development] Rajeev:
Bootloop

[MENTION=4954315]Themike_10452[/MENTION] Bro

I am using Sony Xperia SP. And my device is deodexed already.. I try to edit the framework mod... I need a 42 DPI navigation bar on potrait and 20 DPI on Landscape. I did all the steps correctly... Finally i take both zips ( moded and restore) to ma phone and flashed the modded zip, But bootlooped. Then i flashed the restore zip.. What will b the problem actually... ? I manually tried with apktool... But after flashing the same bootloop... I need to deodex the framework-res.apk separately ? I am already on a deodexed rom... advice needed ...
[Miscellaneous Android Development] flip360:
OfCourse :)

For the back button problem that appears on Stock 4.3 ROM using Themike`s AFK (the back button has different DPI than the rest of the navbar buttons) the culprit lied in SYstemUI, in the navbar xml. One has to decompile SystemUI using apktool, delete the strings related to the problem and recompile the apk. Flashing your modified framework along with the modified SystemUI did the trick and all of the navbar buttons are proper size and alignment.

Cheers
[Miscellaneous Android Development] themike10452:
that's weird, if you a deodexed ROM you shouldn't face any problem while modifying your framework-res.apk :/ Please contact your ROM creator if you use a custom ROM and ask him for help, he might be able to do some testing and debug the problem. Anyway send me your framework-res.apk and I'll try to modify it manually with APK-MultiTool and send it to you.
[Miscellaneous Android Development] Rajeev:
Thanks you for the reply.. My internet is so damn slow. Currently uploading the framework-res.apk

And i am not using any Custom ROMs. Stock Deodexed ROM only... I flash a deodex.zip ( 42 mb ) for my stock rom and its deodexed.. My question is i need to deodex the framework-res.apk separately ?

And i need the following DPI in navigation bar if possible..

42 DPI on Potrait

20 DPI on Landscape ( While Playing games it will useful for me )

Edit: - Here is the framework-res.apk from my deodexed stock rom... ( Android 4.1.2 )

http://www.mediafire.com/download/nini02z9jymbyn8/framework-res.zip

Thank you...

Regards

Rajeev
[Miscellaneous Android Development] themike10452:
deodexing your rom includes deodexing framework-res.apk in the process so there's no need to deodex it separately.

Please make sure you are using the framework from the deodexing" zip with my tool, and not the stock odexed framework. (extract the framework-res from the zip you used to deodex your rom and use it with my tool or just pull your framework-res from system/framework/ using adb or whatever)
[Miscellaneous Android Development] Rajeev:
Thats also weird.... the zip i used to deodex my rom is not included a framework-res.apk!!! i mean there was no framework-res.apk inside the zip that i used to deodex my rom...
[Miscellaneous Android Development] morganmf:
Thank you so much, this is what I was looking for about three weeks. Stock navbar maked me sick. Now its slim and neat.

I knew that there is something which will deal with it. Thanks again.
[Miscellaneous Android Development] themike10452:
Then your framework is not deodexed mate :/ You can't edit an odexed framework-res.apk with my tool.
[Miscellaneous Android Development] themike10452:
I'm glad to help all OSB lovers all around the world :P

Don't forget to rate 5 Stars if you see that it deserves it and subscribe to stay up to date.

I'll be working on a new version which includes some OSB styling magic ;)
[Miscellaneous Android Development] themike10452:
Stylist Scrtipt [ALFA1]

[MENTION=4842966]HotKillerZzz[/MENTION]

[MENTION=4728097]dywerd[/MENTION]

[MENTION=4135557]TAL333[/MENTION]

[MENTION=4910973]koradiavatsal[/MENTION]

[MENTION=4748936]milanjm[/MENTION]

As some of you have requested a script to mod SystemUI and change the looks of the softkeys (on-screen buttons) I have been working for the past 2 days on a script I called Stylist

• It is not completely done yet but I am willing to release alfa1 version for testing now.

• It has just 2 softkey styles, will add more in the stable release.

• This script changes the looks of on-screen buttons

• Softkeys mods created by xda member atticus182

Download link

Just extract the zip and launch Stylist_alfa1.cmd

It works dependently without AFK so just extract it in a new empty folder.

Post feedback please.
[Miscellaneous Android Development] HotKillerZzz:
how come i cannot open the cmd file? it just force closes everytime.
[Miscellaneous Android Development] themike10452:
any error message at all ?
[Miscellaneous Android Development] themike10452:
Here's Stylist Alfa2

I reshaped the script and the looks, I kept it clean and simple.

Now includes 25 different styles with various colors.

You need Java for the style preview to work (Edit: I just made an alternative preview method for users who don't have Java installed on their machine, will be published in next release)

Try and report back!

>> Download Link <<http://www.mediafire.com/download/fzpe4ad9r5z4s3i/Stylist_alfa2.zip

I tested the script and it's working like a charm, win7 Ultimate x64 > Xperia Arc S LT18i Running latest DarkRom CM10.1 by TheDarkDefender
[Miscellaneous Android Development] themike10452:
Stylist Video Demo

This is a quick demo video of Stylist alfa2u

http://youtu.be/4yVMOezlYSQ
[Miscellaneous Android Development] TAL333:
Stylist works perfectly on CM10.1 and CM10.2. Thanks for including the ZTE buttons, my favorites. Great video as well.
[Miscellaneous Android Development] themike10452:
good to hear it ;) more coming soon
[Miscellaneous Android Development] HotKillerZzz:
can you help me? i drag it over just like in your video but the cmd pops out once for a sec and then closes.

---------- Post added at 08:36 AM ---------- Previous post was at 08:34 AM ----------

ok. now my cmd opens shows everything but the moment i click prevview it force closes.
[Miscellaneous Android Development] JovieBrett:
Nav Bar issues

[MENTION=4954315]Themike_10452[/MENTION], I'm trying to resize the nav bar on my Smultron (Xperia Mini) to be smaller cause the default dip is really large. I tred to resize it to 24dip, unfortunately dip size remains the same :( then I retry to resize it to 16dip but still, it does not change :( I did all of the possible fixes like enabling the nav bar again (even if it is already enabled in Build.prop). Please help!
[Miscellaneous Android Development] themike10452:
1- What version of Windows do you have?

2- Do you have Java installed on your machine?

3- Please read the stylist_log file and see if it contains anything helpful (open it with notepad++ only)
[Miscellaneous Android Development] themike10452:
What's the ROM you're using?

Try to contact your ROM dev for support.

edit:

Maybe the update zip is not being flashed properly, try to flash it again or:

go to recovery mode

connect your phone to the pc

open cmd window and type these commands:

adb root
adb shell mount system
adb push your_edited_framework_here /system/framework/
adb reboot

ps: after flashing the zip and rebooting try to pull the framework-res from the system and see if it's exactly similar to the one you got out of my kit.
[Miscellaneous Android Development] JovieBrett:
I'm using Mike's CM10.1

Ok I'll try.

-EDIT- [MENTION=4954315]Themike_10452[/MENTION], I've created a flashable zip by myself and flash it and still nothing happens.

Anyway, can you include "dimming of notification bar when pulling" on your mod? that would be great :)

-AGAIN EDIT-

I reflashed the rom and ok this time I did not modify the build.prop to make sure nothing gonna happen badly. So I enabled nav bar and make a size of portrait=24 and horizontal=18 (I based on the calculations of the default size of nav bar which are 44 (portrait) and 48 (horizontal). Before I flashed, I checked the updater script and all are correct then flashed and I still got the default size of the nav bar :(
[Miscellaneous Android Development] :
Hey hi themike. Remember me ? :p

I bought a new laptop win8 and also installed java bt still getting this error. Can you point me out the problem please?
[Miscellaneous Android Development] themike10452:
why is it called "programme files"?? :P ok I will review this problem
[Miscellaneous Android Development] :
Lol thats because i named the folder that way. :P

Btw i use win8 64bit
[Miscellaneous Android Development] ErecDeGraal:
Try using a folder name without spaces
[Miscellaneous Android Development] themike10452:
thanks man, there's someone here that knows how to read
[Miscellaneous Android Development] themike10452:
it clearly says: "E:\programme" is not recognized as an internal or external command. that's because your app path has spaces and ****!

Move the app to a path with no spaces! ie: "E:\AFK"

edit: when I release afk v5 I will make it unusable if the app path has spaces ↑_↑
[Miscellaneous Android Development] themike10452:
your problem should be fixed with one line of code, it's the same problem I faced while making AFK with mousecmd input, I forgot to include the fix in stylist script, I will in my next release, thanks for shedding the light on this :D

AFKv5 coming in these 2 days with Stylist Final Script all fixed and loaded ;)
[Miscellaneous Android Development] themike10452:
Download now:

Automated Framework Kit AIO v5.0

The package includes:

AFK v5.0

Workbot v1.3 (fixed)

Stylist v1.0 with 56 new softkey styles

OP will be updated later.

Enjoy this bug-free release! Hit thanks and rate 5 stars if you find it worth it ;)

Edit: Sorry the OP got ****ed up thanks to the amazing xda mobile app :@ Will fix it later . . .
[Miscellaneous Android Development] ramsuresh4:
Dear Mr. Themike

I got as 'the source file corrupted' message, after opening a 'exe' file.

or I am wrong ..:confused:
[Miscellaneous Android Development] abbas9.4:
Hi

Automated Framework Kit AIO v5.0 Does not work
[Miscellaneous Android Development] themike10452:
Sorry, corrupted upload :/ re-uploading . . .

edit: fresh link http://www.mediafire.com/?6vx786y0kxdw0ho
[Miscellaneous Android Development] themike10452:
Working well now guys?
[Miscellaneous Android Development] ramsuresh4:
Yes, working well. Thank you Mr.Themike. :thumbup:

Sent from my Dapeng A9230+ through XDA mobile.
[T-Mobile Samsung Galaxy Note II] cajunflavoredbob:
Everyone loves this feature. Let's get it ported over to AOSP based ROMs! I'm willing to chip in $25 for someone to get this working. What is it worth to you?

Conditions:

The following conditions must be met in order to claim the bounty. This is to ensure that it is fair and open to everyone.

1. Make a post in this thread mentioning that you are currently working on this project. We don't need updates every step of the way, though that would be nice, but just let everyone know that you are participating is all.

2. You solution must be open sourced. Now, you do not need to post how-to videos of your step by step process, but your solution cannot be locked to one certain ROM. It needs to be open enough to allow other ROM devs to integrate it into their ROM. Whether I use CM/AOKP/Carbon/Liquid, I should be able to use your mod on any of the Note 2 AOSP-based ROMs.

3. Post proof before collecting the bounty. If you post in this thread saying you've done it, prove it. Post a working AOSP-based ROM with WiFi calling integrated, or get with a chef to post one. Once that is done, get at least one other ROM dev to integrate your solution into their ROM.

Once all three conditions are met, the bounty will be paid in full, and everyone will know that you were first to do it. If you want credit in each thread using your mod, that's your right to do so. Creating a separate thread for just your WiFi Calling mod would be a good idea once this is over in order to do bug tracking and such as well, but that's up to you.

Anyway, I feel that these three conditions are simple and reasonable. They protect everyone involved. Any comments or promises of donations are very welcome.

There is a thread in the Nexus 4 forum that has a similar bounty currently valued at over $1400. Perhaps that solution can be ported over.

Current Bounty: $245

cajunflavoredbob - $25

snwahs -$25

kintwofan - $25

leprophotography - $5

baronsamedi - $25

hatcyl - $25

RonnieRuff - $5

nexicon - $20

beauh82 - $10

OwenW71 - $25

inspron - $10

AcE XBOX - $25

Jerry D - $20

Everyone already knows about other WiFi/VoIP options. If you don't, do a search. Either way, this thread is

NOT

the place to discuss that. This is a push to get T-Mobile's WiFi calling working on AOSP ROM, not a suggestion thread for other options.
[T-Mobile Samsung Galaxy Note II] snwahs:
I'll see your $25 and add my own $25.

<rant>I can understand why the Nexus devices don't have it and honestly after reading and reading and reading don't think it ever will. What I don't understand is why the Note 2 being a Tmobile device can't easily have this ported over. There has so much been said about the Nexus devices not having the "framework" to do it, the Note should be the exact opposite no? I know back on one of my devices, I completely rooted, installed Cyanogen and had a wifi calling apk that added it in. I know there is more to it than this but I'm putting my money where my mouth is so I just wanted to throw my $0.02 in (no pun intended) </rant>