yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] MoHoGalore:
I can honestly tell you that it is now an issue. Until we see things changed with the DCMA, it's now fair game to question all devices again, regardless of age. That's the way it's being handled.

I have sent a subject related question to our FSM's here for them to talk and discuss, while MSL obtaining talk is still OK, you have every reason to be concerned on what tech may look at. We have a few tech's in this forum who can speak better to what the directives are now on their level, but I do know that initial reps and managers have been instructed to pay more attention.

TL;DR - I know this is off topic from your op, but you're right to be concerned.
[Samsung Epic 4G Touch] t4d73:
Wow thanks. I wasn't aware of all that.
[Samsung Epic 4G Touch] patrao_n:
Make sure there is no rom zips or superuser folders on your internal sd card as well. Just to be sure
[Samsung Epic 4G Touch] Mattix724:
If the flash counter is 0 and device status says Official, they won't say anything. They can not deny a claim based on intent from having something on the SD.
[Samsung Epic 4G Touch] patrao_n:
Ok. Wasn't sure.
[Samsung Epic 4G Touch] KennyG123:
Please read forum rules before posting

Questions and help issues go in Q&A

thread moved

Thank you for your cooperation

Friendly Neighborhood Moderator
[Miscellaneous Android Development] themike10452:
Automated Framework Kit

by Themike10452

\\======\_______________/======//

​

​

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Reading is fun . . . reading is helpful . . . reading helps you not to ask silly questions . . . so READ!

This AIO toolkit includes 3 main MS-DOS scripts:

[COLOR="Blue"][U][I]Changelog:[/I][/U][/COLOR]

[COLOR="Green"]-v5.0-[/COLOR][COLOR="Silver"](30-08-2013)[/COLOR]
- Flagship, first AIO complete release.

[COLOR="Green"]-v5.1-[/COLOR][COLOR="Silver"](18-09-2013)[/COLOR]
- Small script fixes and improvements.
- Added 'Compatibility\Requirements Scanner' script.
- Added an option in the installer to copy aapt.exe to C:\Windows (Heavily Recommended)
- Installing Stylist and Workbot scripts are now optional.

[COLOR="Green"]-v5.2-[/COLOR][COLOR="Silver"](1-11-2013)[/COLOR]
- Stylist script fixed and updated to v1.3

Don't forget to hit Thanks :good: and rate the thread as it deserves ;)

Download

Please do not mirror download links.

Automated Framework Kit AIO v5.2 [exe][mediafire]

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[color=green][b]
Credits
=======[/b][/color]

•[MENTION=4954315]Themike10452[/MENTION]
•[MENTION=4696863]besttt[/MENTION]
•[MENTION=4748936]milanjm[/MENTION]
•[MENTION=2968938]raziel23x[/MENTION]
•[MENTION=2539590]atticus182[/MENTION]
•[MENTION=2232731]flip360[/MENTION]
[b]And every XDA member who contributed in the development/debugging of this toolkit.[/b]

Everything is tested a million times before being released, but still, if you face any problem please let me know.

Don't forget to hit THANKS and rate the thread objectively.

Screenshots attached.
[Miscellaneous Android Development] besttt:
when apears that board loading resourche table ...only stay for 1 sec and gone i cant select anythink because disappears that happens if i start the bat normaly if i started with admin rights said Settings.ini missing but does not missing apears at files
[Miscellaneous Android Development] erfandl:
yeah I have this problem
[Miscellaneous Android Development] buzzinkeegs:
have the ini got the correct permissions sometimes windows will drop the ini s in documents folder ;)
[Miscellaneous Android Development] besttt:
still does not work for me
[Miscellaneous Android Development] themike10452:
Admin rights are not needed, and will also make the script loose the files around it like your running the script from another folder.

Try editing settings.ini and change USEMOUSE=1 to USEMOUSE=0, if it still does not work let me know. I never had these problems when testing the script, just remember no shortcuts and no "run as admin"
[Miscellaneous Android Development] themike10452:
Quick fix [hopefully]

Well here's a quick fix for you, I compiled the BATCH file into an executable so it doesn't loose its path when you run the tool as admin, just copy the exe file inside the app folder and run it as admin instead of the old batch file.

I also recommend placing the app in a short path with no spaces; Example: C:\AFK

DOWNLOAD:View attachment 1870355
[Miscellaneous Android Development] besttt:
all ok now ,,,,the board stay,,, i can choose only from keyboard,,,,and all works ok at cm 10 framework At cm 10.1 framework i get that errors when i say yes to usb mass storage,,,, errorrr... file storage list xml not found..

yes to navigation bar error bools.xml not found

yes to navigation size bar error dimens.xml not found

can you do the same script to works both cm 10 and cm 10.1 frameworks?????? at cm 10 with changes at USEMOUSE=1 to USEMOUSE=0 all perfect but works at cm 10.1?????
[Miscellaneous Android Development] themike10452:
Well to decompile APK from Android 4.2.2 I think I need a newer version of apktool.jar, I'm moving to cm10.1 soon, when I finish my exams I'll start working on it :)
[Miscellaneous Android Development] besttt:
also automatick cant load the framework resolution apk,,,, apears at folder you just choose to load at the file who must go to the framework resolution apk ,,,and does not loaded only manually if you copy the framework at the file
[Miscellaneous Android Development] themike10452:
I didn't understand a word :P bad english :/
[Miscellaneous Android Development] ramsuresh4:
Dear Mr.Themike

Firstly, I thank you for your good work.

'Android 4.x only' means, will it work for 4.0.3 ?

I have Dapeng A9230+, running on Custom ICS 4.0.3.

I successfully made framework flashable files through your great guide. But after flashing through recovery, nothing changes. sorry.... there is no Navigation bar.

:confused: I think, something wrong myside ?

Best regards.
[Miscellaneous Android Development] themike10452:
I tested this tool on ICS 4.0.4 and I think it should work fine on 4.0.3, so here's a tip for you:

Choose Enable Navigation Bar in the app menu, after it's done minimize the app window and go to [dec] folder>[framework-res.apk]>[res]>[values] and look for bools.xml and open it with and XML editor or just wordpad, look for a string that looks like this one:

<bool name="config_showNavigationBar">true</bool>

If it's there than it's okay and everything is good

Now go again to the app menu and set the NavBar dpi to whatever you like ( 0 disables NavBar )

then go again to [dec]>[framework-res.apk]>[res]>[values] and look for dimens.xml and open it and check if the dimensions you set are right.

After that compile the apk and flash it, If all the previous work is done properly and no errors but still the NavBar doesn't exist then it's beyond my capability to analyse :P Wish u luck ;)
[Miscellaneous Android Development] Tenacious:
Error creating CWM zips

Thanks for the tool Themike_10452 but i cant build cwm zips this is the error i get

Filename: framework_CWM_16229.zip

((Themike10452))
The system cannot find the path specified.
TCreated restore zip: framework_CWM_16229_restore
The system cannot find the path specified.
The system cannot find the path specified.
'zip.sfx' is not recognized as an internal or external command,
operable program or batch file.
TPress any key to continue . . .specified.
The system cannot find the file specified.
[Miscellaneous Android Development] themike10452:
NOW AFK v2 is out, with CM10.1 Support

http://www.mediafire.com/?4o4nmst0kt0we7n
[Miscellaneous Android Development] besttt:
perfect my friend very good job i tested now that release suport both cm 10 and cm 10.1 still you have to change the value from ini mouse=1 to mouse=0 that works for me
[Miscellaneous Android Development] themike10452:
USEMOUSE=1 works for me. Thanks a lot my friend :)
[Miscellaneous Android Development] themike10452:
Thanks for reporting this problem. I'll work on it ASAP, meanwhile try using create_zip script, open it and drag the apk inside the Window and hit enter, a restore zip will not be created but it might work for you

++edit ++

I forgot to ask you, after getting the error can you find zip files inside the goodies folder? If yes what do they contain? Thanks
[Miscellaneous Android Development] ramsuresh4:
Dear Mr.Themike,

Thanks for your Reply.

Bools.xml and dimens.xml, everything is perfect as you told. But after decompiling and flashing, there is no navigation bar. I have one doubt. What size we have to give for nav bar ?.(wvga screen).

If I give 37, it takes 37 for both 'height and width'.

Then, If my Rom is in 190 lcd density, the given size will work ? Or I have to be in system standard lcd density (240) for all nav bar sizes ?

Ok. Anyway, for the present Ics Rom, I have no success.... maybe Rom framework not compatible.

I have to try Other Ics and Lewa Roms.(for miui, I have working framework, which has nav bar).

Best Regards. :)

Sent from my Dapeng A9230+ through XDA mobile.
[Miscellaneous Android Development] themike10452:
I have a MDPI device with 240 dpi, I use 24 dpi NavBar, slim and good looking
[Miscellaneous Android Development] optiplus:
Hi,

I try you software but I have an error... using worbot...

##ERROR##

W: Could not find sources

I: Building resources...

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Samora\AppData\Local\Temp\APKTOOL7667990534158216123.tmp, -x, -S, C:\AFKv5.0\dec\bot\res, -M, C:\AFKv5.0\dec\bot\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)

at brut.androlib.Androlib.buildResources(Androlib.java:280)

at brut.androlib.Androlib.build(Androlib.java:203)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:214)

at brut.apktool.Main.main(Main.java:74)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Samora\AppData\Local\Temp\APKTOOL7667990534158216123.tmp, -x, -S, C:\AFKv5.0\dec\bot\res, -M, C:\AFKv5.0\dec\bot\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:335)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Samora\AppData\Local\Temp\APKTOOL7667990534158216123.tmp, -x, -S, C:\AFKv5.0\dec\bot\res, -M, C:\AFKv5.0\dec\bot\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:93)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:333)

... 6 more

Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, O sistema não conseguiu localizar o ficheiro especificado

at java.lang.ProcessBuilder.start(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at brut.util.OS.exec(OS.java:84)

... 7 more

Caused by: java.io.IOException: CreateProcess error=2, O sistema não conseguiu localizar o ficheiro especificado

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(Unknown Source)

at java.lang.ProcessImpl.start(Unknown Source)

... 11 more

##ERROR##

Can you help me with my problem?

Regards

Joao
[Miscellaneous Android Development] themike10452:
Try adding this line to the beginning of Automated Framework Kit batch file and try again

set path=%path%;%~dsp0Tools
[Miscellaneous Android Development] optiplus:
Hi.

but the problem that I reply is in workbot, and the error is in the file name java_b_log.

is the solution that you tell me correct in this case? because you say Automated Framework Kit batch file

Regards

Joao
[Miscellaneous Android Development] themike10452:
add this line to workbot batch file (right in the beginning)

set path=%path%;%~dsp0Tools

if it still doesn't work:

open up Workbot batch file and look for this line

set afk_log=

and add 1 so it becomes

set afk_log=[b]1[/b]

and then run the script again, reproduce the error, and then send me both logs "bot_log.log", "xml.log"

(upload them and don't post them here in a post! it will fill up the page with crap)

did u try to use AFK with the visual menu too? did it give the same error?
[Miscellaneous Android Development] Slimegod:
Get this error when I recompile my apk, any reason why.
[Miscellaneous Android Development] :
Man, your tool works perfectly. Now my Nexus 4 looks awesome. Thanks a lot. What does Enable Mass Storage exactly do? As we know, Nexus 4 does not support mass storage, only MTP. But MTP is slow and its connection to Windows is pretty shaky. Will it work on Nexus 4?
[Miscellaneous Android Development] themike10452:
no my friend, i mainly made it for xperia/others users who use CM10+ because CM10 does not have usb mass storage mode. So this feature works only if your device supports extended storage (SDcard)
[Miscellaneous Android Development] Slimegod:
Reading the OP what is JDK?
[Miscellaneous Android Development] themike10452:
i think this problem is caused by the tool not finding [aapt.exe]

To fix this you either have to add aapt.exe to path variable on your machine or keep it localized in the batch file by adding this line

set path=%path%;%~dsp0Tools

it seems i forgot to implement this fix when i rebuilt the code for AFK v5, please test and report.
[Miscellaneous Android Development] themike10452:
JDK=Java Development Kit, without it you can't use apktool to decompile/compile APK files.

it contains the file Java.exe which is the base of the compile/decompile command.

Apktool.jar is the engine of the process but it needs java to run, so you should install java on your machine.

java -jar apktool.jar d framework-res.apk
[Miscellaneous Android Development] themike10452:
as i see in the screenshot you're using apktool and not my toolkit. this error appears sometimes if you do some errors while editing xml files or if you're trying to compile an apk (other than framework-res) without installing framework-res.apk first using the 'if' command

apktool if framework-res.apk

what are you trying to do?

move your apktool to a directory that has no spaces and dots etc... ie: c:\apktool
[Miscellaneous Android Development] Slimegod:
Yeah it wasn't your toolkit. Gonna try yours later once I'm at a computer, noticed you needed JDK installed. Trying to figure out what it is. Also the apk wasn't in framework-res.apk come to think of it. Was trying to recompile the phone.apk, can remember if it's in framework.res or not. Is there another method for doing that if it isn't in framework-res.
[Miscellaneous Android Development] :
I noticed that my back button in landscape mode is bigger than the two other buttons. Is this a bug or did I do something not correct?
[Miscellaneous Android Development] themike10452:
for the thousand time, it's not related to my tool, it is rom-related. Ask your rom dev about it. you need to tweak SystemUI.apk to fix it.
[Miscellaneous Android Development] themike10452:
you need to do the following:

pull framework-res.apk and phone.apk from your phone

use apktool with the following commands:

apktool if framework-res.apk
[color=red](this should alwayd be done in order to decompile/edit/compile any APK)

[/color]

then

apktool d phone.apk

do the edits then recompile phone.apk using this command

apktool b phone

cheers.
[Miscellaneous Android Development] Slimegod:
Yeah I got all that. But when I go into the file and look for the dist folder for the NEW apk it's not there, that's where I have the issue.
[Miscellaneous Android Development] :
If possible, could you please specifiy the strings and their location? I have decompiled the SystemUI.apk but I don't know what to delete, what to edit. Thanks in advance..
[Miscellaneous Android Development] optiplus:
Hi,

I follow all the steps that you say, but workbot don´t work see attached files, and AFK make the file and I try to flash from recovery or manual with rom tool box, and device don´t strat, stop on cyanonged animation and stay there.

Regards
[Miscellaneous Android Development] themike10452:
Open Tools folder and copy aapt.exe to c:\windows\system32 and try again

i removed aapt.exe from my path sys variable and reproduced the error you had, and i had it fixed with this line of code that I showed you before. I don't know why everything goes wrong for you guys while it all goes clean here.
[Miscellaneous Android Development] optiplus:
Hi,

Now work, you are the best,

About for us everything is wrong believe that is not our fault, sometimes who does the application have everything installed fine and not lacking anything, while we may be certain flaws of some things, and it is difficult for anyone that is a zero in programing to solve certain problems.

Regards

Joao
[Miscellaneous Android Development] flip360:
Inside the navigation_bar.xml file look for the following two lines:

"@drawable/ic_sysbar_back" android:scaleType="center"

"@drawable/ic_sysbar_back_land" android:scaleType="center"

delete the following from both lines:

android:scaleType="center"

Thanks to xda :)

Cheers
[Miscellaneous Android Development] themike10452:
I guess you are right. You're welcome my friend anytime, you are helping me fix my tool's potential problems more and more every time, so thank you guys!

Regards.
[Miscellaneous Android Development] :
Thanks man. I did as instructed, similar to the instructions from here: http://xdaforums.com/showthread.php?t=1844878. However, I still get a big back button in landscape. I think the method does not work with 4.3 Stocked Odexed ROM on Nexus 4.
[Miscellaneous Android Development] flip360:
I dont think it works on odexed roms
[Miscellaneous Android Development] :
Actually, I made it work on Odexed Stock ROM, 4.3 JWRY. All buttons in landscape have similar sizes now. However, one bug remains. When the keyboard is in landscape mode, the back button is very tiny. This is similar to PA 3.99.
[Miscellaneous Android Development] titanium_gld:
How can I select from Stylist, I tried to use mouse/keyboard but nothing is working. Pls help. Thanks
[Miscellaneous Android Development] themike10452:
please explain more
[Miscellaneous Android Development] themike10452:
Will release v5.1, a more sharp and clean version of v5.0 including some silly patches and a compatibility test script.
[Miscellaneous Android Development] themike10452:
AIO v5.1 released, download link in OP updated, changelog in OP.

edit: download link momentarily suspended, must check for a potential bug in the installer.

edit: all good now :D
[Miscellaneous Android Development] superderon:
is it only me who get this message?

i'm on win 7 32-bit by the way. and i have JDK installed.
[Miscellaneous Android Development] themike10452:
don't run the script as administrator.

If that problem still remains, go to start menu and type "UAC", then disable user account control and reboot.

It should work after that. Just make sure the files are extracted correctly in c:\afkv5.1

edit: another tip for you; try adding this line to AFK.cmd after the line that says "echo off" :

cd /d %~dsp0
[Miscellaneous Android Development] CamoGeko:
Nice tool!
[Miscellaneous Android Development] themike10452:
thanks
[Miscellaneous Android Development] themike10452:
Hey guys, any problems with the last release? any comments? I guess this is it, the final release. Or maybe a v6 final release.
[Miscellaneous Android Development] optiplus:
Hi,

My friend themike10452,

I have a problem with the last xperia ultimate hd 5.0.1 I can´t change the layout of the buttons style, I can change the size but not the style.

Can you help me?

Regards

Joao
[Miscellaneous Android Development] themike10452:
what are you doing exactly? are you facing any errors while editing SystemUI.apk with my tool? Maybe the problem is ROM-Related, there might be an app that overlays the skin of the navBar. I'm just thinking out loud.
[Miscellaneous Android Development] optiplus:
Hi,

I don´t have any error, the problem is after install SystemUI.apk nothing change, maybe you are right and something overlay the skin....

Regards

Joao
[Miscellaneous Android Development] themike10452:
try to extract the edited apk from the zip then extract the SystemUI.apk itself and look inside drawable-<whatever_dpi> folder for ic_sysbar......png files, if they're correctly replaced with the skin you've chosen then the toolkit has done its job well.

And make sure you're not installing the restore zip or something :P ;)
[Miscellaneous Android Development] optiplus:
Hi,

I search the folder that you say and nothing is change so the toolkit don´t make the job ;)

I´m a noob but don´t make this mystakes ;)

I send you my SystemUI.apk maybe you looking to the file discover watt´s wrong with it.

Regards

Joao
[Miscellaneous Android Development] themike10452:
Is that the original APK? or is it the edited one? If that's the original APK plz send me the edited one. And tell me what skin u're trying to install. If that's the edited APK then there's absolutely something wrong cz the skin is not applied. It has the stock Xperia look.
[Miscellaneous Android Development] optiplus:
Hi,

The previous file is the original, but I will send the 2 files, the files that the program put in the directory "#collect-your-goods-here" and after check I think that don´t have any modifications.

The skin that I want to install is the xperia blue HDPI.

Regards

Joao
[Miscellaneous Android Development] themike10452:
Alright I've fixed the problem, replace Stylist.cmd with the attached one here and it will work fine ;)

View attachment Stylist.zip
[Miscellaneous Android Development] optiplus:
Hi,

Ok it´s work again.... YOU ARE THE BEST.

Regards

Joao
[Miscellaneous Android Development] themike10452:
:beer:
[Miscellaneous Android Development] themike10452:
New version uploaded [v5.2]

Download now

Changelog:

- Stylist script fixed (thank you [MENTION=246185]optiplus[/MENTION] for pointing out on the problem)

[MENTION=2846002]ehbm[/MENTION] you can download it now
[Miscellaneous Android Development] Slaventuss:
Hi Dude! Great work!

But I can't test it because it doesn't find JDK installed. I have the latest Java and JDK as well (WIN7 with all updates), but it says to install the JDK properly. What can be a problem?

I tried to test your app to change the status bar height. Is it possible there?

Thanks in advance.
[Miscellaneous Android Development] themike10452:
add jdk bin folder to path system variable. [c:\program files\java\jdk_xxxx\bin]

To verify that this is the problem, open up CMD and type

java -version

if it gives an error then adding jdk to path will fix ur problem.

Sent using my nexus⁴ running SuperCharged crDroid JB powered by Hells-Core kernel.
[Miscellaneous Android Development] Slaventuss:
Yes, that code gives an error but JDK is installed to the java path and JDK bin folder exists there.

View attachment 2379452View attachment 2379453
[Miscellaneous Android Development] themike10452:
do you know what Path system environment variable is? google search how to add Java to Path variable.

Sent using my nexus⁴ running SuperCharged crDroid JB powered by Hells-Core kernel.
[Miscellaneous Android Development] nokiagye:
My friends I change the dpi of the screen and now the buttons are on the end of the screen how can I make them to come closer each other
[Miscellaneous Android Development] themike10452:
i don't know about that, and my pc is currently out of reach so I can't investigate. This shouldn't happen though.

Sent using my nexus⁴ running SuperCharged crDroid JB powered by Hells-Core kernel.