[KERNEL DEV ANALYSIS] Does 'Junked' APKs Affects Performance ? - Android Q&A, Help & Troubleshooting

As I lack the necessary knowledge to answer my own questions, I've came to you.
def. 'JUNKED APK'
As Android Theming does not have any quality control guidelines to be followed whatsoever, some windows themers, unaware of what they are doing, are injecting into their mods mainly useless "Thumbs.db" junk files that are being flashed into users devices that for their turn are too unaware of the matter. There are cases where some SystemUI get doubled in size. Just some numbers from a theme package as an example to illustrate:
ZIP size: 220 Mb
Extracted: 251 Mb
Thumbs.db: 165 files accounting for 168 Mb [ 67% ] !!!!!!
Click to expand...
Click to collapse
So, does this junk injection anyhow affects Android's performance?
Would be a pleasure to hear that Android only caches resources that are formally addressed. If were that so, the issue would be restricted to a storage space matter.
EDIT: obviously for my i9505, if I dared flash these junk, probably would not show any impact but, that would be so for low memory devices?
If you as so wish, the discussion thread is being developed in the link below and your advice there would be very appreciated.
[THEMERS][ATTENTION REQUIRED] Minimum Theme Quality Control
Thanks for your time and nice regards.
.

.
May be the below image can speak louder and better for the users (in favor of them) than myself to explain the problem.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nice regards.
.

I agre with you that many devs don't pay attention to this but I always clean all .zip file of those Thumbs.db. I find them really useless to Android systems.
Best regards.

starbucks2010 said:
I agre with you that many devs don't pay attention to this but I always clean all .zip file of those Thumbs.db. I find them really useless to Android systems.
Best regards.
Click to expand...
Click to collapse
We only lack now for some words from a KERNEL DEV to determine the extension of the damage.
Still waiting ...
.

Hope never die...I hope is true. ?
GT-I9505_4.3 with TⓐPⓐTⓐLⓚ4&EchoeRom V.12_ML6

speedyranger said:
Hope never die...I hope is true.
Click to expand...
Click to collapse
Hi speedyranger
Our hopes seem not probable.
The only Kernel Dev I could contact, first replied with an empty content as he didn't understood the matter and further replies got no response.
As time goes, feels like this subject deserves no attention. Users, themers and devs simply ignore it. There is no fame, glory or profit on discussing this so why should they do it? This is just a problem that is easy to forget. Not only the file but the subject has it's attribute set to hidden too.
I've already fulfilled my intentions now that we 4, may be 5, are aware about the problem. Let the acephalous ones have what they deserve.
Thank you VERY much for all the support.
Nice regards.
.

Kdio said:
As I lack the necessary knowledge to answer my own questions, I've came to you.
def. 'JUNKED APK'
As Android Theming does not have any quality control guidelines to be followed whatsoever, some windows themers, unaware of what they are doing, are injecting into their mods mainly useless "Thumbs.db" junk files that are being flashed into users devices that for their turn are too unaware of the matter. There are cases where some SystemUI get doubled in size. Just some numbers from a theme package as an example to illustrate:
So, does this junk injection anyhow affects Android's performance?
Would be a pleasure to hear that Android only caches resources that are formally addressed. If were that so, the issue would be restricted to a storage space matter.
EDIT: obviously for my i9505, if I dared flash these junk, probably would not show any impact but, that would be so for low memory devices?
If you as so wish, the discussion thread is being developed in the link below and your advice there would be very appreciated.
[THEMERS][ATTENTION REQUIRED] Minimum Theme Quality Control
Thanks for your time and nice regards.
.
Click to expand...
Click to collapse
Hey Kdio.
APK is some kind of an archive, which contains precompiled source (classes.dex) and resources (resources.arsc and everything else).
Not-loaded parts of the archive (f.e. thumbs.db) are not affecting ram, neither performance because Android doesn't load them at all.
In the best scenario, apk may load a bit longer, but this "a bit" is less than 0.1 sec. This is ONLY due to uncompressing apk needed for loading classes and resources.
So yeah, mostly we're talking about storage space here.
Hope it helps .

Master JustArchi
Thank you so much for you enlightment
If as so you permit, I would like to mention your words on the research thread
[THEMERS][ATTENTION REQUIRED] Minimum Theme Quality Control
May I ?
Very thankful for your support here.
Nice regards.
.
JustArchi said:
Hey Kdio.
APK is some kind of an archive, which contains precompiled source (classes.dex) and resources (resources.arsc and everything else).
Not-loaded parts of the archive (f.e. thumbs.db) are not affecting ram, neither performance because Android doesn't load them at all.
In the best scenario, apk may load a bit longer, but this "a bit" is less than 0.1 sec. This is ONLY due to uncompressing apk needed for loading classes and resources.
So yeah, mostly we're talking about storage space here.
Hope it helps .
Click to expand...
Click to collapse

Kdio said:
Master JustArchi
Thank you so much for you enlightment
If as so you permit, I would like to mention your words on the research thread
[THEMERS][ATTENTION REQUIRED] Minimum Theme Quality Control
May I ?
Very thankful for your support here.
Nice regards.
.
Click to expand...
Click to collapse
Sure.
I mean, thumbs.db is in fact a junk used only by Windows to preload miniatures of images in current folder. It can be safely deleted and it should be, because it decreases size of the theme and it's not needed anyway.
However there won't be any performance/memory hit, so like I said we're mostly talking about storage space here .
Also, we can get rid of thumbs.db files in a very easy way and one command in bash shell:
for f in $(find . -iname "thumbs.db" -type f); do rm -f $f; done

JustArchi said:
Also, we can get rid of thumbs.db files in a very easy way and one command in bash shell:
for f in $(find . -iname "thumbs.db" -type f); do rm -f $f; done
Click to expand...
Click to collapse
Yeah!
But, as it is originated inside Windows boxes and for by users (themers) that unknowledge "Thumbs.db" existence, I've prepared some .vbs's for them and for the users too:
[THEME][TOOL WIN][DEV & END-USER] The Dethumber™ Pro (as seen on TV)
May be, this way, I we will get rid of these infamous
Nice regards.
.

JustArchi said:
for f in $(find . -iname "thumbs.db" -type f); do rm -f $f; done
Click to expand...
Click to collapse
Dear JustArchi Oracle
Realizing I'm been a little greedy with all your knowledge and previously excusing me.
I could perform the experiment but think that the answer you may already promptly have.
We, at 'Windows Theme Planet' , have a set of batches called APKTOOL that, in association with several jar's, decompile and recompile all the app's needed for our jobs.
Furthermore, we release the work using another tool called Villain Theme Flasher (and forks) to the users. vrTheme does an excellent job but if not used carefully can do some awful things.
Finally (UFA!) my question is: couldn't we 'run' APKTOOL set of jar's from within Android to accomplish the theming assembly? (replacing vrTheme)
We themers would release our work uncompiled (.9.pngs, xml's, smali's and stuff) and submitted to the user's device Android-Apktool. As apktool is as safe as Android memory loading regarding non addressed resources, it would create a fail safe distribution method. Developers/Modders/Themers would still be able to inject new resources when properly editing their coded references but not even one themers png left over from older versions would be committed to the apk's anymore.
After these tons of words, I'm in doubt if I've been understandable.
Thank you anyway for all your time and supportiveness
.

Kdio said:
Dear JustArchi Oracle
Realizing I'm been a little greedy with all your knowledge and previously excusing me.
I could perform the experiment but think that the answer you may already promptly have.
We, at 'Windows Theme Planet' , have a set of batches called APKTOOL that, in association with several jar's, decompile and recompile all the app's needed for our jobs.
Furthermore, we release the work using another tool called Villain Theme Flasher (and forks) to the users. vrTheme does an excellent job but if not used carefully can do some awful things.
Finally (UFA!) my question is: couldn't we 'run' APKTOOL set of jar's from within Android to accomplish the theming assembly? (replacing vrTheme)
We themers would release our work uncompiled (.9.pngs, xml's, smali's and stuff) and submitted to the user's device Android-Apktool. As apktool is as safe as Android memory loading regarding non addressed resources, it would create a fail safe distribution method. Developers/Modders/Themers would still be able to inject new resources when properly editing their coded references but not even one themers png left over from older versions would be committed to the apk's anymore.
After these tons of words, I'm in doubt if I've been understandable.
Thank you anyway for all your time and supportiveness
.
Click to expand...
Click to collapse
Actually, vrtheme is exactly what you're asking for.
Vrtheme is a linux script, which overwrites every specified file from folder of an app.
It doesn't overwrite non-existent files, therefore if you limit your theme to only .pngs .jpgs .gifs or anything, it won't overwrite classes.dex or anything like that, therefore you can be sure that your mod will work with every Samsung release, as long as they won't implement new pictures.

JustArchi said:
Actually, vrtheme is exactly what you're asking for.
Vrtheme is a linux script, which overwrites every specified file from folder of an app.
It doesn't overwrite non-existent files, therefore if you limit your theme to only .pngs .jpgs .gifs or anything, it won't overwrite classes.dex or anything like that, therefore you can be sure that your mod will work with every Samsung release, as long as they won't implement new pictures.
Click to expand...
Click to collapse
My Oracle!
Unfortunately vrtheme does inject anything you give him. Only Universal Theme Flasher (vrtheme fork) if the UFT.config flag CLEAN_MORPHING is set to YES will have the desired behaviour.
What I've could research, vrtheme does not de/re compile ... it just un/zip things and UTF is the same.
Think that only a set of tools aimed to the apktool jar's would be safe enough.
Thank you very much.
.

Kdio said:
My Oracle!
Unfortunately vrtheme does inject anything you give him. Only Universal Theme Flasher (vrtheme fork) if the UFT.config flag CLEAN_MORPHING is set to YES will have the desired behaviour.
What I've could research, vrtheme does not de/re compile ... it just un/zip things and UTF is the same.
Think that only a set of tools aimed to the apktool jar's would be safe enough.
Thank you very much.
.
Click to expand...
Click to collapse
I know what you mean now.
This could be possible with my pocket debian, as I could bundle native java and execute baksmali.

JustArchi said:
I know what you mean now.
This could be possible with my pocket debian, as I could bundle native java and execute baksmali.
Click to expand...
Click to collapse
There is light! There is light! There is light! There is light!
Well ... not really have the knowledge to evaluate the details but seems a YES
Now I can start somewhere !! Some1 pointed the direction of the light !!!
Thank you so much for your synapses lost while helping me here
Nice regards my master.
.

Kdio said:
There is light! There is light! There is light! There is light!
Well ... not really have the knowledge to evaluate the details but seems a YES
Now I can start somewhere !! Some1 pointed the direction of the light !!!
Thank you so much for your synapses lost while helping me here
Nice regards my master.
.
Click to expand...
Click to collapse
Still, without ROM-side support it shouldn't be possible to flash, as pocket debian requires ROM support firstly. As for now it's ArchiDroid-unique feature only in SGS3.

Related

[TUTORIAL] How to create packeges for ROM

Download View attachment package-creator-v27.zip
After downloading the package creator Extract to any folder and run package-creator-v2.7.exe. Select language and select group to insert package. Here The group reffers to Programs. You can add or edit lang.xml to add or delete groups.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then click on Open Cab File and navigate to your cab file and Click Open.
Wait until it shows you done Confirmation window. Then navigate to the cab folder and you will see new folder with OEm package. This tool will generate initflashfiles.txt, option.xml, .dsm and .rgu for the kitchen ROM.
Copy the OEM package to your kitchen and have fun with customizing your Rom
(found this somewhere on internet, correct me if i m wrong)
Great work! Nicely done tut. Here is another method to do so. This one is a bit faster but it doesn't always works.
Cab2OEM is also a free software that can be used to convert cabs to packages. This software is a command-line utility with no GUI but it does its job pretty well.
Cabs are of two types, the older ones with an inf file with extension .000 inside that describes the installation process and the newer ones with a _setup.xml files. Cab2OEM works on XML ones only.
Usage:
Its simple, just fire up a command prompt and run this command:
Code:
Cab2OEM -f <path to cab>
Here, replace path to cab with a real path. In a few seconds, it will convert the cab into a folder in the current directory.
NOTE: Cab2OEM creates an option.xml file inside the package which provides a description to the package that can be seen while running build os. but by default, it doesn't adds the package to the buildos list. I recommend you to delete this file.
This method is not as advance as Package Creator but its a quick and dirty one Package Creator can work with all cab files.
The file is attached with this post.
Great Work
Good going man....
Can you suggest some good and easy Kitchen for old gene..
Can i also include cracked applications...in custom ROM
Ramerson's kitchen is the easiest one i have ever seen. But the whole process of cooking ROM can never be easy, no matter which kitchen you use.
We strictly dont support cracking etc here so no answer for that.
Many thanks Krazy.......
Can ur ROMs be used to delete some packages and include some freewares...
please guide me about the pagepool.....what are disadvantages of increasing or decreasing it...does it help in increasing RAM....
I read about a thread which says RAM can be increased by deleting ExtROM...
Your expert comments please....
Also the Ramerson's kitchen link and "How to gude" if possible........
That would be nice of you....
Heres a quick response:
1. Yes my roms can be dumped and modified as per your needs. The only thing you need is the knowledge of how to dump them properly for recooking. For that refer to ramerson's tut.
2. Pagepool is that reserved part of memory that is never available for the programs to use and iit is used by the OS to maintain its internal state, data structures and so on. More the pagepool memory, more resources the OS will have and more simualtaneous running programs you can have. But this clashes with the fact that programs also need RAM for other purposes other than the OS provided resources. So the contradiction is that you cant run more programs simualtaeously id you have less RAM. So increasing Pagepool decreases RAM but increases OS resources, Decreasing page pool increases free ram and decreases OS resources. Chefs have to keep a balance between that. For gene, 6 MB of Page Pool is recommended, keeping in mind all the specs of the devices. Pagepool has to be changed everytime you recook the ROM as of now.
3. My ROMS use 4 MB of ExtROM and that is optimal, by default you have 10 MB of ExtROM. SO no need to messup with that, device doesnt boots with extroms smaller than that. Ramerson has also confirmed this.
4. Ramerson Kitchen is a seprate thread in this same forum, use your eyes and mind for that. How to Guide is currently not available as step by step, but Ramerson's tut which is a sticky post, will help you greatly.
I hope my answers helped.
o my god my head is spinning
hi guys
i tried reading all this and my god o god my head went for a spin i think for me to do any thing cook rom and all this in this chapter will take me a long long time of reading which im realy not great at
but reading all this give me more repect for Krazy,ankit,ramersnow and all u great techi guys
u guys are great man hats off to all off u and thanks a million
^Thanks Hari. Actually the gene you are having in your hand is not very less complex than any other computer. So apart from some basic differences, most of the elements of computer engineering can be applied to this small buddy as they are applied to computers. Thats why it seems so darned techie, coz it is techie
i meant every word
hi
to all u great contributors to this great forum i thing all these tuts available are a great eye opener to a totally non techi guys like me who uses ur great services which you actually do for free i having read many many tuts have clearly understood the time u are spending for us to enjoy and i really really say from my heart hats off to u guys and thanks for ur great contribution
and in the future when things get better for me i will start donating
and the funny thing is i sell computers for around 10+yrs
but this info in the tuts is a total head spinner for me
getting to next level
Great Krazy....
U r true krazy about technology......
To run emulators like SPB Mobile shell in best performance what should be optimum pagepool....
New version of Package Creator
Please find newer version of package creator, Version 5.4 to be exact
http://wiki.xda-developers.com/index.php?pagename=OEM Package Tutorial
Thanks man! this will really help
imblfmstr said:
Great Krazy....
U r true krazy about technology......
To run emulators like SPB Mobile shell in best performance what should be optimum pagepool....
Click to expand...
Click to collapse
SPB Mobile shell is not an emulator, its a shell replacement which actually runs on the top of the existing shell32.exe shell. There is no extra page pool requirement for it to run. 6 MB would be fine.
Cab Maker
Useful application for Making Windows CE compatible cab can be found here: http://forum.xda-developers.com/showthread.php?t=400221. It can be used by developers as well as cook.... OOPS Chefs
Another alternate is http://www.ocpsoftware.com/downloads/cecabmgr/CeCabMgr_Setup.exe
Could any One tell me how to make my own package and add it to ROM while cooking , or the link that i can found this
I already use the tools that mentioned here but while cooking process going on it give me an ERROR ( I use the cooking way in -[TUTORIAL]How to cook for GENE-)
Thanks in advance
facing one problem in cooking a ROM...
every time i add a custom package ...and then i run "build OS" i get an error
"Error in building in default.hv and user.hv"
and i if remove the content of .rgu files from the custom packages it run fine..no issue...
i am using the "package-creator-v2.7" to create packages..i want to have some registry settings in ROM...
Please advice how to overcome this issue....
orange2784 said:
facing one problem in cooking a ROM...
every time i add a custom package ...and then i run "build OS" i get an error
"Error in building in default.hv and user.hv"
and i if remove the content of .rgu files from the custom packages it run fine..no issue...
i am using the "package-creator-v2.7" to create packages..i want to have some registry settings in ROM...
Please advice how to overcome this issue....
Click to expand...
Click to collapse
I do not have a straight solution for this, But here is what I did, I exported the registry key, saved it as rgu and then used package manager 5.4 to make it into a package.
Registry file is not properly formatted. Keep following points in mind :
1. Registry file (.rgu) must be in unicode format, not ANSI, which is the default saving format of Windows Notepad. You can change it in the save file dialog of notepad.
2. The file must begin with the word REGEDIT4 in the first line saperately.
3. There should be atleast one or two blank lines at the end of the file.
4. Entries in the files should be properly formatted. Following are the general values and their formattings that you will find in rgu files :
a. Path to hives must be covered in square brackets, ex : [HKEY_LOCAL_MACHINE\Software\Microsoft]
b. All string values must be formatted like this : "Name"="Value". If there is a file path inside the string, it should be having \\ instead of \ as separator. Ex: "FilePath"="\\Windows\\AudioManager.exe"
c. All DWORD values should be in this format : "Name"=dword:8 digit number. Ex : "BacklightOff"=dword:00000001
d. All binary values should be formatted as : "Name"=hex:v1,v2,v3,v4...... Ex: "AValue"=hex:00,00,11,01,10
Follow these guidelines and your registry file will compile fine.
Thanks a lot Krazy...thats a valuable information .... i ll check the rgu files ... correct them and give a shot.....
and thank you Addicted2xda for your inputs... i ll try this one also ..
Also please note, inside the dump folder, there is a text file that contains the error log. The last 2-3 lines of this file actually describes in which file the error occured. Actually the Windows Mobile Registry is compiled from rgu files using a program called rgucomp.exe and is stored in files ending with extention .hv. Just for your information
Good luck!

[Tool] AdbMX - Beta v0.15 more roms compatible. help plz!

Hi All.
Sorry for my english, I speak Spanish.
The goal is make that all the good stuff that you make for the X10 mini pro can be easily apply for any person. For stock and mod rom's.
ScreenCap and Remote Droid Control. Only work well in SE stock Rom. Mod Rom's need fix in the port of CM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Script Editor Tool.
Requirements:
Windows OS (Vista and 7 run as admin).
Java 1.5 or up for Screen Caps & control
USB Drivers (of course)
Remember this BETA is only tested in Stock Rom for me, help me with the feedback.
Istructions for Install:
New: SetUp autoinstall
Beta Release:
v0.09 Fisrt Open Beta
v0.10 Notes:
Aded Root Function*(Root/xRecovery) X10 mini pro for this moment.
[shell_line] new variable value [script_path] for add automatic path to the script folder Example:
- [shell_line] push [script_path]build.prop /data/local/tmp/build.prop
[rom_ver] moved to variable value for manage version of file to use, use the position refererence of rom compatible, see example in Multi-touch script.
Screen Cap & Control need java ... I try to port to windows but the final exe go to 20mb lol
v0.13 Beta (more stable)
Many bug fixes
Aded the midas.dll inside of app.
SetUp now install all in right place
(UAC) ask for Admin rights now automatically for Win 7 / Vista.
Others minor changes.
Scripts & Functions
Root (Temporal)
Full Root ( Include: xRecovery, SU app & Root Explorer).
Device Screen video capture & display control in PC.
Script Editor
DualTouch Script (Include: Test-MT app)
OverClock Script (Include: CPU control app)
Build.prop Editor - Script
Hw_config.sh Editor - Script
Super User Permissions Checker - Script
Simple Reboot - Script
Reboot in xRecovery - Script
To Add:
Jit - Script
Increase Volume level - Script
Languaje Key Fix -Script
Tar System & Data Backup - Script
Qwerty Blue Bar Remover - Script
BootAnimation Changer - Script
and more
Last Update:
v0.15 Beta (more mod roms compatible)
Scan device fix (android img for non know rom).
Added Overclock script.
Amost all scripts now work in all x10 mini pro mod roms.
fixed setup installation.
Root function fixed.
Others minor changes.
Updated SETUP DOWNLOAD 0.15B CLICK HERE
I cant update the post attachment so i upload the news in megaupload...
Don't download the old version that attached in the post lol
Plz. if you download the app and test it... report the bugs...
Awesome idea, would help the new ones a lot
What also would be nice is, if the user can check/uncheck stuff he wants. This way also new users could try out which features give them the best perfomance on their devices.
nice idea...
you programming language is?
Chumby_666 said:
nice idea...
you programming language is?
Click to expand...
Click to collapse
Object Pascal-Delphi for preference
that is indeed a great tool. And it is a must have for a safe modding.
bitmovel said:
that is indeed a great tool. And it is a must have for a safe modding.
Click to expand...
Click to collapse
That is the goal.
I hope finish the first beta tomorrow.
Plain awesome!
Sent from my U20i
I can imagine that the new app itself could be the first step for some other automate apps. I suggest to make it open source.
Or, if that is not an option, please allow it to add some kind of plugin that could be added by other developers. Like adding some other function.
I am no big developer, but I think that could be usefull for them
the [add_text] function should be avaiable to select where to add the text, instead of adding it on the end.
alow me to suggest a [search_and_replace] function.
That would be really usefull!
As an exmple, I imagine it to replace the following line in this file usr\keyboard-config\keyprint.xml:
<script name="latin" keylayout="qwertz"/>
to
<script name="latin" keylayout="qwerty-br"/>
Thats something I always need to do in downloaded stock roms. I dont think that specific change could be done with any other function.
Thanks.
EDIT: ooops. just found the [replace_text] function. just make sure it will accept multi-line text search and replace.
maybe a [delete_line] also?
as an example:
[delete_line] {ro.product.multi_touch_enabled=true}
bitmovel said:
I can imagine that the new app itself could be the first step for some other automate apps. I suggest to make it open source.
Or, if that is not an option, please allow it to add some kind of plugin that could be added by other developers. Like adding some other function.
I am no big developer, but I think that could be usefull for them
Click to expand...
Click to collapse
Yes, I'm not one despective guy mate XD, and one goal is that the devs can make your own scripts, the program go to see all sub-folder like one plugin and all the dev's can make they own need stuff. I know that the is the first version, but i can add more commands and functions for have one nice tool for all people.
[delete_line] may be but can use [replace_text] {ro.product.multi_touch_enabled=true}{}
bitmovel said:
the [add_text] function should be avaiable to select where to add the text, instead of adding it on the end.
alow me to suggest a [search_and_replace] function.
That would be really usefull!
As an exmple, I imagine it to replace the following line in this file usr\keyboard-config\keyprint.xml:
<script name="latin" keylayout="qwertz"/>
to
<script name="latin" keylayout="qwerty-br"/>
Thats something I always need to do in downloaded stock roms. I dont think that specific change could be done with any other function.
Thanks.
EDIT: ooops. just found the [replace_text] function. just make sure it will accept multi-line text search and replace.
maybe a [delete_line] also?
as an example:
[delete_line] {ro.product.multi_touch_enabled=true}
Click to expand...
Click to collapse
first sounds like an awesome app.
@ bitmovel you might want to take a look here -> http://forum.xda-developers.com/showthread.php?t=1113863
[local_backup_current_state] << would be usefull to... cd /system; tar system.tar * system.tar
[service_list] << to check are all services ok.
[service_restart] service name << for libs testing.
[find_file] filename << find file on cell..
[test_egl] / [restore_egl] path to egl old / new << opengl testing ...
[test_hw] / [restore_hw] path to old / new << sensors / lights / copybit / gralloc testing...
Chumby_666 said:
[local_backup_current_state] << would be usefull to... cd /system; tar system.tar * system.tar
[service_list] << to check are all services ok.
[service_restart] service name << for libs testing.
[find_file] filename << find file on cell..
[test_egl] / [restore_egl] path to egl old / new << opengl testing ...
[test_hw] / [restore_hw] path to old / new << sensors / lights / copybit / gralloc testing...
Click to expand...
Click to collapse
Well that sounds a nice idea, for developing , also should be useful if you kinda brick your phone
Damn, like all the dev's, Im delayed, sorry guys, the electric power in my house are off, thanks at one drunk person that put off the net with her car.
I hope can put the first beta tomorrow.
cheers XD
P.D.
340 code lines ready lol. I go to dream whit Delphi :S
340 code lines ready lol. I go to dream whit Delphi :S
i wonder... that is hell of compression how did you do it?
lol
My brain hates me. I have an incredible headache, but hey, I upload some pictures so you can see how it will progress.
snikegear said:
lol
My brain hates me. I have an incredible headache, but hey, I upload some pictures so you can see how it will progress.
Click to expand...
Click to collapse
so no sex tonight? :O ok. then throw yourself on programming.. k?
Chumby_666 said:
so no sex tonight? :O ok. then throw yourself on programming.. k?
Click to expand...
Click to collapse
Trying to add more features to the application. Sex will have to wait. good is not true, first things first. lol
I'm adding the function to do not need the root to use another program and I will also add the function to view, video recording, and manage the phone on the PC screen.
PD.
1 screen cap more in first post XD
sorry if I'm delayed, but i like offer one best work done. Until in beta version.
I go need 10 beta tester's for check: scripts, root and screencap, first using SE original rom.
Thanks

APK Manager 4.0 for Mac OSX (64-bit)

EDIT: How and why did this post end up in Atrix Q&A? That is entirely unrelated. If a mod sees this, please return this thread to it's original location at Moto Xoom Development.
After waiting for way too long to have apk manager working on OSX, (so i can do my themeing natively instead of GFX in OSX and compiling in windows/linux) I have decided to port it myself. This has only been tested on an intel-based core 2 duo mac running snow leopard 10.6.8.
Credit for original APK Manger (windows) goes to: Daneshm90
Credit for linux port which this is based off goes to: farmatito
Update: This has been superseded by one of the most excellent rewrites of an application which I have had the pleasure to use. You my find s0niqu3's great work here: http://forum.xda-developers.com/showthread.php?t=1285130
---------
And one more thing: Shout out to Team EOS!
Awesome!!!!!!!!!!!!!!!!!!!!!!!! +9999999999
What are the capabilities of this and his can i use it?
Never messed with a apk manager before but would like to
crackmulah said:
What are the capabilities of this and his can i use it?
Never messed with a apk manager before but would like to
Click to expand...
Click to collapse
Apk Manager is an "automated" environment for apktool and a couple other utilities. Together, it allows you to extract/zip/sign/decompile/recompile and otherwise change apk files. It is most widely used to change strings (sections of text) and graphics within popular apks such as framework-res.apk and SystemUI.apk (for theme development) or adobe's flash apk (for hulu support).
Wouldn't run out the box. Had to add my adb to path (might be easier just including adb in the "other" folder, as adb is resource-independent and nothing has to be installed for adb to work on a mac [Just download and run]).
The other is "sox". Seems to be a open-source command line audio converter, right? Not part of the standard OSX install. The apkmanger should either disable any sox related (It already does on reading the script), in which case it should be removed as a hard error, or include it in the other folder.
MAD Industries said:
After waiting for way too long to have apk manager working on OSX, (so i can do my themeing natively instead of GFX in OSX and compiling in windows/linux) I have decided to port it myself. This has only been tested on an intel-based core 2 duo mac running snow leopard 10.6.8.
Click to expand...
Click to collapse
Hey,
First, to the OP, Thanks for this!!!!
I had been casually working on my own port from the windows version, but now there's really no need. I've tested briefly on OSX 10.7.1, mid-2009 c2d macbook pro, 64-bit, and it seems to work great so far.
chaostic_2k1 said:
Wouldn't run out the box. Had to add my adb to path (might be easier just including adb in the "other" folder, as adb is resource-independent and nothing has to be installed for adb to work on a mac [Just download and run]).
The other is "sox". Seems to be a open-source command line audio converter, right? Not part of the standard OSX install. The apkmanger should either disable any sox related (It already does on reading the script), in which case it should be removed as a hard error, or include it in the other folder.
Click to expand...
Click to collapse
For the adb error, uhm, really? Anyone that's going to be using this should have the knowledge/ability to add adb to their path. And yeah, I know, it sounds like you were just trying to give the OP a pointer to make it idiot proof, but this really seems like the bare minimum knowledge requirement that someone should have if they're going to use a tool like this.
For anyone that doesn't know, here's one easy way (on osx there are about a million ways to add to $PATH) to add adb to your $PATH:
edit your bash profile file (create a new file if it doesn't exist yet) here: ~/.bash_profile
Add the following:
Code:
export PATH=/path/to/your/sdk/tools:$PATH
export PATH=/path/to/your/sdk/platform-tools:$PATH
(Technically only the second one is necessary for adb to function, I recommend adding them both for quick ddms access too.)
The sox issue on the other hand I can understand, since its not included with OSX. But it is simple enough to install SOX with all dependencies using macports or homebrew. If you plan on doing anything at all with android development, hacking, modding, etc., on OSX, using one of these tools is absolutely essential. I personally use homebrew, because its immensely faster than macports on my laptop, and homebrew will use OSX's default x11, python, etc. binaries, whereas macports will compile its own second copy of x11, python, etc..
for macports:
Code:
POSIXLY_CORRECT=1 sudo port install sox
for homebrew:
Code:
brew install sox
Anyway, hopefully someone finds this useful, else I'll just come back and delete the post in a few days.
Cheers
chaostic_2k1 said:
Wouldn't run out the box. Had to add my adb to path (might be easier just including adb in the "other" folder, as adb is resource-independent and nothing has to be installed for adb to work on a mac [Just download and run]).
The other is "sox". Seems to be a open-source command line audio converter, right? Not part of the standard OSX install. The apkmanger should either disable any sox related (It already does on reading the script), in which case it should be removed as a hard error, or include it in the other folder.
Click to expand...
Click to collapse
Though it is very easy to install/add adb to path, I agree that it wouldn't hurt to throw it in the other folder just in case.
As far as sox goes, i don't know many who are using apk manager for ogg files. Those who are I figured would speak up when the time came and I would work with them to come to some sort of solution. Are you getting errors from sox missing? If so, you are absolutely right that the errors should be fixed. I did take steps to disable it from the script. If i missed something, feel free to post a log and I will take care of it.
Just went through the whole installation, from installing ADB with it's own path to setting up SOX with homebrew and I gotta say, I'm a noob but I got it all done within a six pack! lol Thanks for the port mang! I can finally put away the PC to modify apk's!
All I did to "fix" it was change
Code:
# Test for needed programs and warn if missing
ERROR="0"
for PROGRAM in "optipng" "7za" "java" "sudo" "aapt" "sox" "adb"
to
Code:
# Test for needed programs and warn if missing
ERROR="0"
for PROGRAM in "optipng" "7za" "java" "sudo" "aapt" [COLOR="Red"]#[/COLOR]"sox" "adb"
Since sox isn't supported in the mac port yet (the options are not in the menu), no need to throw a fatal error, or require someone to install sox. You might just want to comment out "sox" in that line and leave adb uncommented though, since the adb commands are enabled.
As for adding adb to the package, well, it's a convenience thing. APKmanager should be a one stop shop for working with apks like that, and having adb added would help with that. I personally don't like mucking about too much with installing packages on my laptop, so I keep adb in my Applications folder, and just cd to it. And I manually run many things. I wouldn't be using APKmanager to install or pull apks anyway.
Hi again,
For anyone else that's doing their smali hacking on mac, I was seriously annoyed by the lack of syntax highlighting in my two favorite editors, Coda and SubEthaEdit, so I made my own syntax mode for them.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The screenshot is from subethaedit (notice it supports code-folding at the ".method" level, ) and is somewhat outdated, I fixed the mode already to properly hightlight all variables after parameters.
My thread for the mode on XDA is here: http://forum.xda-developers.com/showthread.php?t=1257025
or you can head straight to my blog to download them here: http://wp.me/p1JZM0-O
Cheers,
Hi again,
So I started hacking your APK manager for mac today to hopefully bring it closer in-line with the windows branch.
And first thing was simply verifying that optimize png and ogg work if you install optipng and sox, and yes, they both do. So in addition to my tip above to install sox, also install optipng:
Macports:
Code:
POSIXLY_CORRECT=1 sudo port install optipng
Homebrew:
Code:
brew install optipng
Then go into the script.sh and uncomment the relevant lines that call those functions (menu lines 2, 14, 16 and answers for opt, bopt and ogg) and comment out the removal/error lines instead.
So far I've done the easy steps, added user selectable compression level, max java heap size, batch signing support, and added the z/p/zp options for batch optimizing.
I'll try to get this all finished this weekend so somebody else can test it too, and I'll try to include at least the 64-bit optipng binary I compiled, and possibly 64-bit sox and all its dependencies too.
Cheers,
hi, i've tried this (decompile and compile Browser.apk):
http://forum.xda-developers.com/showpost.php?p=17682521&postcount=19
any ideas?
thx
maile76 said:
hi, i've tried this (decompile and compile Browser.apk):
http://forum.xda-developers.com/showpost.php?p=17682521&postcount=19
any ideas?
thx
Click to expand...
Click to collapse
Hi,
I've spent the past few days greatly improving the Mac version of APK manager. Well, really its almost a complete re-write. I've added 32-bit/64-bit all-in-one support, re-enabled old disabled features, added project support, system apk "keep" folder options, error checking, debug info, etc., etc., etc.
Really, after writing ~600+ lines of code, I can't even remember every change I've made at this point.
Anyway, I'm still testing and tweaking it multiple times a day, so I'm not really ready to release it here to the masses at XDA, but if you visit my blog, you'll find a current download link.
Until further notice though, I ask is that you please, PLEASE, don't link directly to the download, and please don't re-distribute here. If you want someone else to download my version, please just link them to this post.
I'm not trying to drive clicks or anything like that, I just don't want a billion questions about how to use my mod right now when its not finished, and is likely to change every few hours anyway.
Cheers,
Hey again,
So I'm finally happy enough with my version of APK Manager for OS X, that I released it here on XDA: http://forum.xda-developers.com/showthread.php?t=1285130
I've brought it completely up to date with the windows feature set, and exceeded it in many, MANY ways.
Cheers everyone

[DISTRO] ☆ ★HELLS-KITCHEN | Ubuntu-Based | ROM Developing Distro★ ☆

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ScreenShots
h311s|KITCHEN (Hells Kitchen) is an Ubuntu-based Linux Distro
that is already setup and ready to go for developing:
ROMs (in accordance with dsixda's Android-Kitchen)
Kernels (in accordance with championswimmer's Kernel-Tools)
Built-in tools for modifying and theming APKs (Brut.all's apktool, jesusfreke's smali/baksmali and pxb1988's dex2jar)
A flashing utility for specific devices (Heimdall)
MTP, ADB, and Fastboot (that's right!)
A couple of Java GUIs (Emmanuel Dupuy's JD-GUI and Tomas Varaneckas's JAD)​
--------------------------------------------------------------------------------------------------------------------------------------
(Most words that are in color, are linked FYI)
CHECK POST #2 FOR REVIEWS FROM OUR ADMINS AND MODS
--------------------------------------------------------------------------------------------------------------------------------------
As much as I wanted to include the sun-java-jdk and jre, it was not possible because of the fact I wanted it to be part of Ubuntu. There are work arounds that I am currently looking into.
It has both openjdk 6 and 7. And they are fully functioning and working for ROM building with dsixdas and championswimmers kitchens that are included.
I have built a couple of public roms already from a live USB install.
This will not work on super brand new custom setups that have problems loading Linux already. There are a few graphics cards that hate me and Ubuntu so we will have to find out more by trial and error. Its only a 1.4gb download.
The source is below and is on Github. To use the source code, you will have to download it and unpack some of it. I attempted to upload everything unpacked, but got a notice from Github because the repo became 3.5 GB unpacked and they have a "rule of thumb" which is totally understandable.
--------------------------------------------------------------------------------------------------------------------------------------
I have attempted to include all the licenses within this post, but recieved this message:
"The following errors occurred with your submission:
The text that you have entered is too long (30042 characters). Please shorten it to 30000 characters long."
So I will include links below until a solution is found:
dsixda's Android-Kitchen
championswimmer's Kernel-Tools (Kernel-Kitchen) is licensed under the GNU General Public License HERE (or you can read a full copy of the GNU GPL at the bottom of the page)
Brut.all's apktool is licensed under the Apache License HERE
JesusFreke's smali/baksmali is licensed under the New BSD License HERE
pxb1988's dex2jar is licensed under the Creative Commons License HERE and the Apache License HERE
Benjamin Dobells' Heimdall is licensed under the MIT License HERE
PLEASE: Any licensing issues should be reported by email or private messaging. Please email [email protected] for any issues and please write in the subject field: "LICENSING". You will be replied to immediately.
--------------------------------------------------------------------------------------------------------------------------------------
What the heck is h311s|KITCHEN?
h311s|KITCHEN is:
- a work in progress and in beta stages (please be kind).
- an Ubuntu-based Linux distro with many, BUT NOT, tools for creating your own custom ROMs.
- a distro that can be ran live or with persistence on a USB stick, or installed to your hard drive.
- a distro that can be installed in software like VirtualBox.
- an already ready-to-go kitchen and environment all-in-one
--------------------------------------------------------------------------------------------------------------------------------------
Persistence Mode and Live Mode:
Persistence Mode will allow you to save changes to your USB stick so that after you boot, any files saved from you session, will still be there when you reboot. You can practiaclly carry a full Ubuntu Distro in your pocket.
Live Mode (Great for NOOBS who are afraid that they will mess up the current configurations and that are not comfortable with Linux) will pretty much do the exact opposite of Persistence Mode. Whenever you reboot, no matter what you have done in the previous session and no matter what was saved to the current session, will be reset and erased. So every time you reboot, you have a fresh new installation. This is useful also for anyone who wants a fast setup that they can take with them in there pocket and use on MOST computers. Also, you can run in Live Mode and just save your work to an internal hard drive on the computer you are using.
--------------------------------------------------------------------------------------------------------------------------------------
What the heck isn't h311s|KITCHEN?
h311s|KITCHEN is not:
- a magic tool to click a button and build a ROM
- a step-by-step guide for building ROMs (there are too many tutorials as it is)
- a reason to build your first ROM and start sharing it immediatley
- a magic tool to click a button and build a ROM
- setup for compiling AOSP from source
--------------------------------------------------------------------------------------------------------------------------------------
The User and Root (su/sudo/superuser) password is:
p
A Complete List of All Installed Packages:
here :good:
Some Other Useful Software Included:
--------------------------------------------------------------------------------------------------------------------------------------
Downloads:
PLEASE GO TO:
Android-Kitchen.com
For the latest updates before using the links below.
Anything new will first be uploaded to
Android-Kitchen.com before anywhere else.
I was able to download the 1.5GB ISO in less than 3 seconds when downloading from
Android-Kitchen.com
h311s|KITCHEN Download Directory CLICK HERE
h311s|KITCHEN Beta5 x64 (2013-02-20) CLICK HERE OR HERE (MIRROR)
Size: 1.5 GB
MD5: 58508a37c589f165f934a473439c840b
SHA1: 60c683b681da5ac24866811b60fe32f1474d373f
h311s|KITCHEN Beta4 x64 (2013-02-18) CLICK HERE
Size: 1.4 GB
MD5: 3e43cafa34c847427c0a4e2d3291af13
SHA1: c90a8bcb011dfd346c03b8a5f563bf9622c96b4a
--------------------------------------------------------------------------------------------------------------------------------------
NOTE: I take no credits for dsixda's original "android-kitchen". dsixda has given me permission to include his kitchen under the agreement that I never alter or change it. The "android-kitchen" was git-cloned from dsixda's Github and has not been altered in any way.
You might see others refer to this as a "kitchen", and I do not want anyone to misinterpret the meaning with dsixda's. There is the definition of the word "kitchen" and then there is the name "kitchen" that almost always refers to dsixda's kitchen. dsixda's "android-kitchen" is a "kitchen" by definition, and since it is the best kitchen tool around, people refer to it as "the kitchen". A "kitchen" by definition is an Android Development Environment where developing takes place. So, this is considered a "kitchen" when using it by definition. But, I would appreciate it if nobody ever started referring to this project as "the kitchen". dsixda's kitchen has been around for some time, and has deserved to be known as "the kitchen". So please, this is "Hells-Kitchen" or the "Kitchen-Distro". Thank you.
ALSO: If you are having an issue with anything on this distro (ie: dsixda's kitchen, apktool, etc...), PLEASE do some research to see if others are having an issue in the developer's forum thread (ie: for the kitchen, go to dsixda's kitchen thread, etc...). If there seems to be no issues there, it is almost certainly something having to do with the distro itself, and NOT the tool. A lot of the developers were kind enough to give me permission to include their tools (even if their open-source license already permit it, I like to make sure the devs themselves are okay with what I am doing), and I do not want them receiving confusing posts on their threads about their tools not working (if this ever happens) when in fact it was a problem within the distro. Voice any concerns here first. Please.
--------------------------------------------------------------------------------------------------------------------------------------
OPEN SOURCE @github: https://github.com/h311sdr0id/h311skitchen
--------------------------------------------------------------------------------------------------------------------------------------
GNU General Public License, version 3 (GPL-3.0)
h311s|KITCHEN An Ubuntu-Based Rom Developing Distro
Copyright (C) 2013 h311s|DR0ID
(hellskitchen) (h3llsdr0id) (h311sdr0id)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. Except where permission is needed.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, click below.
--------------------------------------------------------------------------------------------------------------------------------------
2017-07-02 UPDATE: I WILL BE WORKING ON A NEW DISTRO IN MY SPARE TIME. I am going to rebuild from the ground up. I should have some more news soon.
Reviews
REVIEW FROM XDA's WELL-KNOWN MODERATORS/ADMINISTRATORS:​
From The MAN Himself, MikeChannon:​
MikeChannon said:
Hi h311sdr0id
I just wanted to say that Senior Moderator xxxxx (whom you contacted) has endorsed your thread
and indeed was full of praise for your thread / distro. Excellent, well done.
MikeChannon
Click to expand...
Click to collapse
From Our Forum Moderator, NeoS:
NeoS said:
Hi h311sdr0id,
Magnificent work there mate. I have rarely seen such detailed OP's in kitchens posted on XDA.
Hope you are able to keep the OP up to date and I'm sure people will start using your kitchen.
Cheers,
NeoS
Click to expand...
Click to collapse
​
FIRST REVIEW From Christophorus (on next page):​
Christophorus said:
I must say i really enjoy smoothly running through without having to go and grab certain dependencies
to resolve error.
Rom development is hard enough. this takes out the guess work!
Great work, h3llsdr0id!
Christophorus
Click to expand...
Click to collapse
.​
FAQ and Other Info
DONATIONS​
are greatly appreciated .........​
Taking Applications
Someone mentioned to me that this could turn out to be an even better Distro if we had a good team of people together working on it. I would like to get a team/committee together for this project. This is something that every dev should have on his keychain or as an emergency backup. Anyone interested in getting together with me on this, please send me a message. At the moment, I want to get a few other Developers together. There will always be space for newcomers and people learning the process, but for now I want to just get a handful of great and seasoned devs together on this project. Please contact me.​
Sorry if I'm being stupid but is it up for download yet cause I can't see the link ? LLooks good though I'm having trouble setting up my computer for rim dev so this should be a big help
Matyhew
Compiled an iso
But now I'm stuck at the homescreen. what's the password for the user "h3llsdr0id"?
Re: [DISTRO] h311s|KITCHEN Ubuntu-Based Linux Distro for New Developers and Seasoned
The letter p
Sent from my SCH-I605 using Tapatalk 2
matyhew said:
Sorry if I'm being stupid but is it up for download yet cause I can't see the link ? LLooks good though I'm having trouble setting up my computer for rim dev so this should be a big help
Matyhew
Click to expand...
Click to collapse
Your not. But it is up now. Thank you for your concern brother.
nice, i need to pack up a kernel so i'll give it a shot today
THEindian said:
nice, i need to pack up a kernel so i'll give it a shot today
Click to expand...
Click to collapse
Thank you sooo much for giving it a chance. It has been tested by two VERY well-known Developers and they loved it. I have only had one person out of about 15 say that their hardware was not compatible with it.
Install it live and start out clean every time. Or use the persistence if you need to. This thing hauls major a*s even on a USB 2.0. I have actually never even tried it on a 3.0 USB Stick. It is fast enough with the 2.0.
-h311sdr0id
Been testing it out
I must say i really enjoy smoothly running through without having to go and grab certain dependencies to resolve error.
Rom development is hard enough. this takes out the guess work!
Great work, h3llsdr0id!
Re: [DISTRO] ☆ ★HELLS-KITCHEN | Ubuntu-Based | ROM Developing Distro★ ☆
Christophorus said:
I must say i really enjoy smoothly running through without having to go and grab certain dependencies to resolve error.
Rom development is hard enough. this takes out the guess work!
Great work, h3llsdr0id!
Click to expand...
Click to collapse
I am glad you liked it. I can't believe I have this posted in the main Android Chef Forum and you are the only one that has tried it out. I am happy your happy. And its in beta still. So if you have any requests, let me get them. Nobody else is. Lol.
Sent from my SCH-I605 using Tapatalk 2
looking forward to trying this out.
Downloading now
jdeloach said:
looking forward to trying this out.
Downloading now
Click to expand...
Click to collapse
I'm going to take this distro for a testdrive, thank you for releasing this.
Nice too have for working portable! Is u-boot implemented as well by default?
SiNtEnEl said:
I'm going to take this distro for a testdrive, thank you for releasing this.
Nice too have for working portable! Is u-boot implemented as well by default?
Click to expand...
Click to collapse
Hope u don't mind people starting a mirror, or torrents. I'm heaving a hard time downloading the iso.
I'm on 100mbit but running @65kb. Faster mirrors would be great with bigger downloads. :good:
h3llsdr0id said:
I am glad you liked it. I can't believe I have this posted in the main Android Chef Forum and you are the only one that has tried it out. I am happy your happy. And its in beta still. So if you have any requests, let me get them. Nobody else is. Lol.
Sent from my SCH-I605 using Tapatalk 2
Click to expand...
Click to collapse
Because if people are truly interested in learning to develop, they will want to go through the step by step of setting up the environment themselves, it gives the user much stronger understanding of what is going on. For the Linux noobs that this sorta thing is likely to appeal to, now they won't know how to do basic things like install a package or do a dependency trace. Not bashing your work, just answering your question.
Re: [DISTRO] ☆ ★HELLS-KITCHEN | Ubuntu-Based | ROM Developing Distro★ ☆
thewadegeek said:
Because if people are truly interested in learning to develop, they will want to go through the step by step of setting up the environment themselves, it gives the user much stronger understanding of what is going on. For the Linux noobs that this sorta thing is likely to appeal to, now they won't know how to do basic things like install a package or do a dependency trace. Not bashing your work, just answering your question.
Click to expand...
Click to collapse
I intended it to be a "live" Distro. And for educational purposes to newcomers. This way they can go through the source code and see a full environment and how it works as well. There are sooo many AIO, ready to-go, "push-button" tools out there. For Windows mainly. Building with a lot of the tools already provides no knowledge of packaging or installation. As I wrote in the OP, this is not intended for building your first ROM and then sharing it immediately. There is still much to add and change to this. Which when I release the stable version, there will be more information included and more for the newcomer to work with.
There will be a 32-bit distro and a straight Debian-based distro as well coming soon.
I also hope to split the HELLS-KITCHEN into a separate "noob" and a separate "dev" distro.
Thank you for your concern, as I share it with you and I do not want people that have no knowledge of android/linux building ROMs without knowing the process.
This distro was first built for someone in a class I am teaching to build ROMs. I volunteer my time to teach and help out about 15 new developers, and teach a daily class (2 three hour classes a day). I take them through the whole process that I am familiar with. I help them setup a development environment, all the way to building a ROM and using git.
Thank you thewadegeek for your input. I am honored to receive it
Sent from my SCH-I605 using Tapatalk 2
Re: [DISTRO] ☆ ★HELLS-KITCHEN | Ubuntu-Based | ROM Developing Distro★ ☆
SiNtEnEl said:
Hope u don't mind people starting a mirror, or torrents. I'm heaving a hard time downloading the iso.
I'm on 100mbit but running @65kb. Faster mirrors would be great with bigger downloads. :good:
Click to expand...
Click to collapse
I am using caps so other people will read this. Not for you SiNtEnEl.
I DO NOT WANT ANYONE STARTING A MIRROR yet. Just because it is a beta distro. I need to know and be able to keep a record of downloads for stats on the "bug-report" and "pastebin" page I am building.
This is open source, so I cannot demand it, but would appreciate it if nobody did during beta stages.
This will help me and whoever else is involved build a better distro.
I will mirror and torrent this distro tonight. Please take down any mirrors please.
Thank you for bringing this up.
Sent from my SCH-I605 using Tapatalk 2
Re: [DISTRO] ☆ ★HELLS-KITCHEN | Ubuntu-Based | ROM Developing Distro★ ☆
I have just received this report:
Christophorus said:
Error: Unable to zipalign, aborting
If you are using 64-bit Linux, ensure you installed package ia32-libs
Click to expand...
Click to collapse
I am working on it as we speak. Thank you for your reports guys!
Beta5 will be uploaded and synced tonight!
Sent from my SCH-I605 using Tapatalk 2
[email protected]:50:46MDT
EDIT: BETA_5 IS NOW UP ON AFH (changelog under "info" on AFH and will be added to the OP)
Going to try this for Sony ROMS and give you the feedback
This looks awesome It will really help in developing ROMS and ease-out editing apk's ..I will test this out for my Sony ROMS and feedback you

[GUIDE/THEME/MOD] How to switch to Light theme [Maybe for all 4.1+ Android devices]

Hello community!
Intro:
You may not know it, but Samsung(and maybe every popular Android phone manufacturers) has a ready-to-use Light theme "pre-installed" in our devices, not only the Galaxy S Advance of course, this theme probably exists in every latest firmware for Galaxies from Samsung, including Galaxy SIII, Galaxy S2 and many more I guess, the Galaxy S4 is not an exception, which also comes in the Light version already set. I found a way to switch in this light version, and it's VERY easy. Maybe newbie-friendly too. Ok maybe not so easy but it still is as simple as adding a word. Literally, it's only adding a word! Read the "Notes:" sections at the end of the post before doing anything.
Getting to the point:
These themes exist in the framework-res.apk, specifically, in the /res/values/styles.xml
You will find different themes in there including Google's "Holo(.Dark)" and "Holo.Light". These are the basic ones, which will be used by almost every application that does NOT have it's own skin, so these applications will use the either Holo(Dark) or Holo Light.
There are three(I think) more basic themes in there including the stock Android, this one is based on Gingerbread I guess.
The other two are the Device Default and Device Default Light. These two are the ones that a manufacturer, like Samsung, can edit to give it's devices a custom and unique style.
A stock application that comes pre-installed in the software(Like SecSettings.apk, MusicPlayer.apk e.t.c.) will probably use either the Device Default or Device Default Light. This is up to the manufacturer to choose. In our case, Samsung has set most of it's applications to use the Device Default.
A small "What I am talking about":
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to set the Light theme to an application:
Requirements:
The application which you want to change it's theme. (I will use SecSettings.apk as an example)
apk-tool (I use APK Multi-Tool because it's very easy to use)
Notepad++
Know how to decompile/recompile
Instructions:
Decompile the .apk.
Go to "/res/values/" folder and open the file "styles.xml" with Notepad++.
Click "Find" or press "Ctrl+F".
In the "Find What :" box enter "DeviceDefault" and hit next.
Check the first result you get, mine was this:
Now, copy this ".Light" (without the "), this is the magic word!
You will paste this exactly after every "[email protected]*android:style/blabla.DeviceDefault
Like the image below:
Even if there is something after the DeviceDefault like this:
You will still paste the ".Light" exactly after the DeviceDefault like the image below:
Make sure to paste it ONLY in "parent=" lines, and in EVERY "parent=" lines. There are exceptions though, based on the .app. But don't get confused, even if you make a mistake, will be able to find it and fix it later. For now just continue the "paste" process.
Once you have finished the "paste" process, save the file and overwrite the old one.
Recompile the .apk.
That's it! Copy the .apk on your phone, place it where it belongs and set the right permissions.
Reboot, open the application, and take a taste of a light UI that your phone's manufacturer had hidden from you.
Notes:
1. I don't even know if other manufacturers like Sony do this too. If yes, then this tutorial will work for these phones too, probably.
2. Don't try this on framework-res.apk. framework-res.apk can be used too for you to change your theme to Light, but it will probably cause many graphical errors. And it also requires a different way to change the theme. I have tried it and got both good and bad results, check the second post for more information.
3. If you tried and had any errors I could use a hand, just post your compile log and myself and maybe some other people will help you if we can.
4. Modifying the framework-res.apk in a proper way will allow every stock application to be themed without having someone to edit them. Again check the second post.
5. If you find something confusing you can freely ask by posting here.
6. I am not sure about everything that I say in the "Intro:" section. It's just my theory, excuse me if I'm wrong.
7. These themes are the main reason(probably ) for the apps to have both "holo_dark" and "holo_light" variants of .png files and colors. People who have edited SystemUI.apk's and framework-res.apk's "drawable-" folders will understand what I am saying.
Here is a modded framework-res.apk, with this I managed to theme almost every stock Samsung application without editing anything except the framework-res.apk.
I am totally sure that I changed some things without thinking first. The styles.xml is big and I almost got lost. I did everything I could for now, I'm sorry.
You can flash it only on LQB firmwares, maybe only some of them. Check the screenshots to see what I have managed so far. Expect MANY UI bugs.
P.S. It's just for you to see how a Light theme would look. Don't complain about bugs on this, please.
Light Framework
Screenshots:
Great job, Koulis!
Well done!! :good:. Must have taken you quiet some time to find how to do it. :good: :good: :good:
Still people need to understand that this won't magically invert the theme to white... You'll still get loads of UI bugs, which you of course, must fix manually.
panda00 said:
Still people need to understand that this won't magically invert the theme to white... You'll still get loads of UI bugs, which you of course, must fix manually.
Click to expand...
Click to collapse
Maybe not so many bugs, but I guess there will be some.
then change the text color for holo dark to holo light
joehanh88 themed GT-I9070
joehanh88 said:
then change the text color for holo dark to holo light
joehanh88 themed GT-I9070
Click to expand...
Click to collapse
I thought of that. But I'll try another time I'm feeling lazy now.
Sent from my Galaxy S Advance
Nice mod.
If i want the google default holo theme (like nexus) thenbi should write '.holo dark' instead of '.light'??
Sent from my GT-I9070 using xda premium
I just have one note, to make this much much easier...
When pressing Ctrl+F go the replace tab and on the find space type "DeviceDefault" and on the replace space type "DeviceDefault.Light"... Then press replace all... This should replace everything in one click, I guess.
Nice post
Sent from my GT-I9070 using xda app-developers app
panda00 said:
I just have one note, to make this much much easier...
When pressing Ctrl+F go the replace tab and on the find space type "DeviceDefault" and on the replace space type "DeviceDefault.Light"... Then press replace all... This should replace everything in one click, I guess.
Click to expand...
Click to collapse
...but the OP said "Make sure to paste it ONLY in "parent=" lines, and in EVERY "parent=" lines."
and one question: How to change the text color for holo dark to holo light?
No screens in the OP
d14gvn said:
No screens in the OP
Click to expand...
Click to collapse
It's because of Photobucket. I did some mistakes. Sorry. Also, just to let everyone know, I'm back!!! Not that I'm going to do something great but I will try to think of something.
Sent from my Galaxy SIII Mini
Koulis2000 said:
It's because of Photobucket. I did some mistakes. Sorry. Also, just to let everyone know, I'm back!!! Not that I'm going to do something great but I will try to think of something.
Sent from my Galaxy SIII Mini
Click to expand...
Click to collapse
Nice article!
Hope to see the screenshots back!!!
pathuri97 said:
Nice article!
Hope to see the screenshots back!!!
Click to expand...
Click to collapse
Will reupload them later today, maybe.
Thanks!
Sent from my Galaxy SIII Mini
Apk N't Installed???
Koulis2000 said:
It's because of Photobucket. I did some mistakes. Sorry. Also, just to let everyone know, I'm back!!! Not that I'm going to do something great but I will try to think of something.
Sent from my Galaxy SIII Mini
Click to expand...
Click to collapse
Thanks for the SCREENSHOTS.
Really useful.
I followed your steps and compiled & decompiled using VTS software. (http://www.virtuous-ten-studio.com/).
Absolutely NO ERROS before after compilation.
After copying the file to /system/app with ROOT EXPLORER (with proper permissions),
When I click SETTINGS ICON - I get a message saying "Apk N't installed".
What could be the reason - any idea???
pathuri97 said:
Thanks for the SCREENSHOTS.
Really useful.
I followed your steps and compiled & decompiled using VTS software. (http://www.virtuous-ten-studio.com/).
Absolutely NO ERROS before after compilation.
After copying the file to /system/app with ROOT EXPLORER (with proper permissions),
When I click SETTINGS ICON - I get a message saying "Apk N't installed".
What could be the reason - any idea???
Click to expand...
Click to collapse
No ideas why you get a message like this. :/
Sent from my Galaxy SIII Mini
pathuri97 said:
Thanks for the SCREENSHOTS.
Really useful.
I followed your steps and compiled & decompiled using VTS software. (http://www.virtuous-ten-studio.com/).
Absolutely NO ERROS before after compilation.
After copying the file to /system/app with ROOT EXPLORER (with proper permissions),
When I click SETTINGS ICON - I get a message saying "Apk N't installed".
What could be the reason - any idea???
Click to expand...
Click to collapse
Did you copy the META-INF and AndroidManifest.xml from the original apk to the new compiled in dist? AFAIK is it like signing. When you try to install by hand do you get a parsing error?
and2 said:
Did you copy the META-INF and AndroidManifest.xml from the original apk to the new compiled in dist? AFAIK is it like signing. When you try to install by hand do you get a parsing error?
Click to expand...
Click to collapse
Thanks for the reply!
As you can see from the enclosed screenshots - no problem with the compilation and signing.
VTS is taking care of the same.
What I'm trying to do is copy framework-res.apk, systemui.apk and settings.apk from different custom ROM to current ROM.
No problem in copying and overwriting the original files of current ROM.
TAB works fine.
NO FC's.
Only thing is I'm trying to change LIGHT theme of secsettings.apk to DARK theme.
Either I get APK n't installed or FC (SystemUI.apk etc).
Again If I replace secsettings.apk from CUSTOM ROM to current ROM - works fine. NO FC's.
Might be I need to dig deeper....

Categories

Resources