Android files system explanation? - Android Q&A, Help & Troubleshooting

Hi,
Do you kwnow any guide or explanation about the files in android, i'm new at coocking roms, and i'm like going arround the rom looking for things but its really hard, it would be helpful a guide with the thing inside each folder(more or less) like frameworks explained, system.apk etc..
if you know something like that it would be helpfull.
Thanks

alnaufra said:
Hi,
Do you kwnow any guide or explanation about the files in android, i'm new at coocking roms, and i'm like going arround the rom looking for things but its really hard, it would be helpful a guide with the thing inside each folder(more or less) like frameworks explained, system.apk etc..
if you know something like that it would be helpfull.
Thanks
Click to expand...
Click to collapse
I think it's quite good:
techblogon.com/android-file-system-structure-architecture-layout-details/#
(I can't post URLs because I've written less than 10 posts).

Related

Raphael ROM Kitchen... Or lack there of?

Hi I'm not that new to cooking ROMS, but I'm by no means an expert when it comes to making one myself.
I have been reading and reading and searching but I can't find a nice clean easy to use kitchen for the GSM Touch Pro anywhere.
My Touch Pro(actually, it's an AT&T Fuze) will be arriving this Thursday(Jan 15th) and I would really love to be able to build my own custom ROM and possibly release it to the community but the community seems to be somewhat lacking in the "Kitchen Department".
I took a good look at NotATreoFan's kitchen. Every OEM is lacking an option.xml file and there are no tools included to actually build the ROM.
I looked at jcespi2005 and JugglerLKR's kitchen and that kitchen seems very non-user friendly.
Coming back to GSM from a CDMA Community, may I ask why there are no complete, user-friendly kitchens here in the GSM world? CDMA has the PPCKitchen, they have tobeychris&Ghettofreeryder's Diamond Kitchen, and they have electronicrice's kitchen for the Touch Pro(CDMA).
I just don't understand why no kitchen like that exists for the GSM Touch Pro. I think it's a really good idea to have a user-friendly kitchen because then anyone can make their own custom ROMs and then you have more variety because everyone has their own style.
Just my 2 cents...
Dan.
i prefer using jcespi's kitchen it is very userfriendly.
On xda you can find the simple steps.
Or do you want a kitchen that does everything on command at it own
just kidding here's a link http://rapidshare.com/files/151114881/Raphael_ROM_Kitchen_v0.62.rar
hmm, the raph kitchens buildos looks almost exactly like ppckitchens buildos, but instead of holding your hand it gives you freedom..
if you prefer the easy to use gui with pre assembled packages, why not use ppckitchen?
Da_G said:
hmm, the raph kitchens buildos looks almost exactly like ppckitchens buildos, but instead of holding your hand it gives you freedom..
if you prefer the easy to use gui with pre assembled packages, why not use ppckitchen?
Click to expand...
Click to collapse
I agree, it's too automatic-- no offense, but I want the chef shaping the ROM and not the kitchen Always nice to have personal touch
pfcsabre said:
I agree, it's too automatic-- no offense, but I want the chef shaping the ROM and not the kitchen Always nice to have personal touch
Click to expand...
Click to collapse
Yeah I gotta agree with that. Ive tried ppckitchen and i couldnt handle the lack of control over my files.
If you comfortable with splitting out the payload give Da_Gs kitchen a look. It is fast and has the newest build OS which i think is more efficient. Its posted in the raphael kitchen thread on one of the last pages.
If it helps ive got a small tool which will make the option.xml files in batch form?
Simple process:
get your packages into a common folder
make sure they all have a dsm inside with a valid guid
drag the common folder onto the program
type in the group name you want
the tool creates the option.xml for each package with its name being the folder name and the group being that which you entered at the start.
it defaults the checked values to "true" aswell.
Am at work at the mo so cant post it but will do when i get home if thats any help to anyone?
mrvanx said:
If it helps ive got a small tool which will make the option.xml files in batch form?
Simple process:
get your packages into a common folder
make sure they all have a dsm inside with a valid guid
drag the common folder onto the program
type in the group name you want
the tool creates the option.xml for each package with its name being the folder name and the group being that which you entered at the start.
it defaults the checked values to "true" aswell.
Am at work at the mo so cant post it but will do when i get home if thats any help to anyone?
Click to expand...
Click to collapse
Hey I like tools I would love to have a look at it.
mrvanx said:
If it helps ive got a small tool which will make the option.xml files in batch form?
Simple process:
get your packages into a common folder
make sure they all have a dsm inside with a valid guid
drag the common folder onto the program
type in the group name you want
the tool creates the option.xml for each package with its name being the folder name and the group being that which you entered at the start.
it defaults the checked values to "true" aswell.
Am at work at the mo so cant post it but will do when i get home if thats any help to anyone?
Click to expand...
Click to collapse
That would be awesome!
Sign me up as interested in your tool, mrvanx
Guys
I'm all about getting into this stuff forehead deep so I grabbed jcespi's kitchen tossed my nbh from the stock cingular rom for the fuze just to get started to see if I could figure this out. Am reading through his docu's but I'm a conceptual techie I can talk it but in the onset rely on advice and coaching that being said none of you are baby sitter. Where would you suggest someone in dilemma start; I'd like to contribute more can pick up stuff pretty quickly just need a good starting place to get the hang of this so I too can where maybe a chef's bandana lol. Any advice is as always much appreciated!
While I'm primarily a conceptual techie; I do get my hands dirty once they are dirty enough I won't ask the redundant and sometimes dumbe questions... I promise ... going to download that other kitchen referenced above as I am more of a visual learner and don't mind microwaving some ROMs before I actually pan fry or bake anything.
Thanks again!
-GG
gravesy56 said:
Guys
I'm all about getting into this stuff forehead deep so I grabbed jcespi's kitchen tossed my nbh from the stock cingular rom for the fuze just to get started to see if I could figure this out. Am reading through his docu's but I'm a conceptual techie I can talk it but in the onset rely on advice and coaching that being said none of you are baby sitter. Where would you suggest someone in dilemma start; I'd like to contribute more can pick up stuff pretty quickly just need a good starting place to get the hang of this so I too can where maybe a chef's bandana lol. Any advice is as always much appreciated!
While I'm primarily a conceptual techie; I do get my hands dirty once they are dirty enough I won't ask the redundant and sometimes dumbe questions... I promise ... going to download that other kitchen referenced above as I am more of a visual learner and don't mind microwaving some ROMs before I actually pan fry or bake anything.
Thanks again!
-GG
Click to expand...
Click to collapse
Ditto. I would love to start contributing back and would appreciate any sources of where to start.
DrzNight said:
Ditto. I would love to start contributing back and would appreciate any sources of where to start.
Click to expand...
Click to collapse
This is exactly why I posted this. I'm not looking for a GUI kitchen or anything like that but I am looking for a base kitchen that doesn't involve extensive modification before it can be used.
I will have my Touch Pro by tomorrow afternoon and I want to be able to contribute to the GSM community just like I did for the CDMA community.
i read this thread so here you go:
http://forum.xda-developers.com/showthread.php?p=3171470#post3171470
have fun
(oem rom sys in my thread will work with this, ill make an easier to use one later)
Obviously you didn't read my idiots guide for rom ccoking & use the easybake kitchen, which makes roms with five easy steps involving only deleting or adding packages & 4 mouse clicks.
GSLEON3 said:
Obviously you didn't read my idiots guide for rom ccoking & use the easybake kitchen, which makes roms with five easy steps involving only deleting or adding packages & 4 mouse clicks.
Click to expand...
Click to collapse
Never seen it is it a sticky somewhere? I'll search for easybake kitchen and take it from but a link would awesome!
GSLEON3 said:
Obviously you didn't read my idiots guide for rom ccoking & use the easybake kitchen, which makes roms with five easy steps involving only deleting or adding packages & 4 mouse clicks.
Click to expand...
Click to collapse
Actually I did read that and I'm not a fan of that method. I prefer a clean base and not a decompiled carrier ROM. Decomped carrier ROMS can become very messy very fast...

[Q] How to start cook /modify ROM

I searched in the forum, but it seems to be no present a tutorial forcooking a custom ROM.
I've got a GalaxyS, i flash many ROM and i've to install apps everytime...boring! So I wonder if is it possible to modify a custom ROM to add/remove apps for instance.
I'm a java developer, but I've got no experience with Linux... Is it a problem?
Could someone post a kind of guide to learn how to moify a ROM?
+1
its because we have touchwiz.
if we had stock android, it would be much easier developing
Well I have an evo and I too am looking for a tutorial to cook roms. I have no developing experience and just want to learn.
count me in too! I already have ubuntu just need some direction to get started on the vibrant.
Here it is a video guide for Samsung GalaxyS (i9000)...thank you Nokia7Vista!
Edit: nevermind, thought I was in a different section
Sent from my HTC Glacier using XDA App
Read read and read.
Go through the entire Android section of the Chef Central (The section you posted this in).
Check all the threads taht look promising and talk about tutorials or info or what not... Just sift through the data here and they'll have tons of links, threads, tutorials for you that you can read and learn how to do everything at...
zat81 said:
I searched in the forum, but it seems to be no present a tutorial forcooking a custom ROM.
I've got a GalaxyS, i flash many ROM and i've to install apps everytime...boring! So I wonder if is it possible to modify a custom ROM to add/remove apps for instance.
I'm a java developer, but I've got no experience with Linux... Is it a problem?
Could someone post a kind of guide to learn how to moify a ROM?
Click to expand...
Click to collapse
You can modify:
framework-res.apk
All the apps, you can unpack the .apk's, located in /system/app/ and replace the icons, or even the whole app.
You can add/remove/replace .apk's, located in /system/app
services.jar
Much, much more.
If you're on Linux, you can unpack the .apk's out of the box. Otherwise, install 7zip.
Once you're done modifying them.

how i can support arabic language in Complete FroYo Bundle** FRX07.1

please, how i can support arabic language in Complete FroYo Bundle** FRX07.1 (rhod100)??
http://ardoid.com/
It's been asked before, this is the answer. However, this is for native Android devices, and I'm not sure anyone figured out how to get it working on our port. I never did figure it out, but I'm far from an expert on this stuff.
Here's how it worked for me: (Originally provided here)
1 - Download the "libskia.rar" attached to this post.
2 - You will need the latest version of a program called "Root Explorer" (tested with 2.17.1). Download and install it on your device, and don't forget to give it superuser permissions when you run it for the first time.
3 - Extract the "libskia.so" file from the package, and copy it to the "system/lib" folder on your device using Root Explorer. Use the "mount r/w" button to give the program permission to overwrite the file.
4 - Android should restart itself automatically when you copy the file. If it doesn't, restart Android manually. Your device now shows Arabic letters correctly.
The only problem with this method is that it doesn't solve the RTL text direction problem, but it is indeed a very acceptable solution that enables you to use Android for daily use.
Try it and tell us what happens. It worked for me using FRX07.1.
Oh, and arrrghhh, thank you for your devotion and efforts to bring Android to the Tilt2. Why don't you mention this method in the FAQ so that it could be found more easily by FRX07 users? And best of luck with the GBX01 effort!
GFX said:
Oh, and arrrghhh, thank you for your devotion and efforts to bring Android to the Tilt2. Why don't you mention this method in the FAQ so that it could be found more easily by FRX07 users? And best of luck with the GBX01 effort!
Click to expand...
Click to collapse
np, and glad someone made an easy guide.
Can you make one change? Can you actually attach the files instead of linking to another site? Thanks.
I will consider adding it to the FAQ, but honestly this question has only been asked maybe 2-3x in the 2 years I've been involved in this project... not a very 'frequently' asked question is my point .
Sorry for reviving a dead thread but I just wanted to know is XDAndroid deodexed or odexed, I have searched and at a guess I would say it is deodexed but I haven't found anything that gives me certainty so if anyone could answer I would be grateful.
Thanks in advanced
Just before anyone says what does this have to do with Arabic I have found this site (http://blog.devasque.com/) that seems to have a method that works across the board so I just wanted to give it a try. I will post my results
Also the method posted above is ok but it seemed to mess up my English documents.
شیرخدا said:
Sorry for reviving a dead thread but I just wanted to know is XDAndroid deodexed or odexed, I have searched and at a guess I would say it is deodexed but I haven't found anything that gives me certainty so if anyone could answer I would be grateful.
Thanks in advanced
Just before anyone says what does this have to do with Arabic I have found this site (http://blog.devasque.com/) that seems to have a method that works across the board so I just wanted to give it a try. I will post my results
Also the method posted above is ok but it seemed to mess up my English documents.
Click to expand...
Click to collapse
It's AOSP... so I guess odexed? I honestly have no clue.
Arrrghhh, as you weren’t sure I thought I’d give it a go any way and after a lot of testing I found that it works so I’m guessing the rom is deodexed.
My findings, the latest patch to work on both the GB0C and FRX07.1 builds is 0.789 anything after that seems to cause either boot loops or freezes.
Also it seems to work very well with both the direction being correct and the letter displaying correctly joined.
So if anyone wants Arabic this seems like a good option, all you have to do is:
Download the 0.789 patch from http://blog.devasque.com/how-to-apply-patch/ and extract it.
Then copy the framework.jar file from the system/framework folder on your phone to the framework folder in the patch folder, after that run command.exe and follow the instructions. After it finishes you will find a new framework.jar in the generated folder just replace your old file with the new one and reboot and hopefully you should see all the Arabic and like fonts displayed correctly.
There are instructions on the site but they are for the newest patches, the instructions I have posted are from what I did with this older version they are very similar just some minor folder name changes and less files to be converted.
Just like to say all the credit goes to Madmack and the people that have worked with him.
Cool, I'm sure that will help some people

[Q] I want to know how to change the system camera apk of the GS3.

Greetings!
Well, is how the title says. I want to start making my own systems apps. For instance, I want to start developing a camera apk for my GS3 but the problem is that I don't know how to do it. I don't know how to open those internals files like xml files(they do not open correctly with a note app), .rsa files, .mf files, .sf files, .dex files, .arsc files and the list continues. How to compile and discompile apks or flashable files...
All of this is because I want to star my own proyect, and through this way, to enter the android developing community of the GS3!
If anyone could help me to accomplish this I would be VERY grateful! If theres a guide (I tried to look for one but my research did not throw any result) that would be better!
Hope you could understand me because English is not my main language, but hey, I'm learning
Thank You SO MUCH for YOUR TIME!
Personally I think you should start to learn the programming and code from your toaster, but hey - if you want to damage your S3 - it is your free will (I hope)
OK, let's go to the matter, first. Assessing your coding skills based on your questions, I decided that you should start your learning from this.
Furthermore, to be more presice against your questions, if you would become literate expert in above linked knowledge, feel free to use
this as a small sample.
If it made you curious, why not try for even more interesting news?
OMG ROTFL:laugh::laugh::laugh::laugh:
Logic says go to the Android Development Hacking / Chef Central and the other similar forum on XDA .
jje
JJEgan said:
Logic says go to the Android Development Hacking / Chef Central and the other similar forum on XDA .
jje
Click to expand...
Click to collapse
I doubt, as he does not know even how to open xml files...
Well, I am now trying to do my best. I think I can manage myself with the info I found...

Custom Tiles to pretty stock ROM

Hi there guys and girls
I have stock Lollipop Rom, rooted with TWRP installed; I would like to add a few tiles to the very few available at the moment, also if possible reorder them..
I searched and searched, here and on Google, but the only things I found were: old old and useless method for JB, xposed module (cannot install Xposed here, it's an x86_64 CPU) and the Custom Quick Settings app, which doesn't work good for me..
So, I unpacked the framework of the ROM, de-compiled SysteUI.apk but now I'm basically lost because I don't know what to edit to achieve my goal! I can't even understand what to look for: I'm pretty sure my stuff should be in qs* xml and smali files, but it's a mess there
Do you please have any tips for me, any how-to, guide, suggestions, whatever? I take everything!!
Thanks a lor, see you!
brainvision said:
So, I unpacked the framework of the ROM, de-compiled SysteUI.apk but now I'm basically lost because I don't know what to edit to achieve my goal! I can't even understand what to look for: I'm pretty sure my stuff should be in qs* xml and smali files, but it's a mess there
Do you please have any tips for me, any how-to, guide, suggestions, whatever? I take everything!!
Thanks a lor, see you!
Click to expand...
Click to collapse
Will this do, I would look in your SystemUI first. - http://forum.xda-developers.com/galaxy-s5/development/mod-t3005222
thanks but I'm already looking at SystemUI but it's plenty of stuff there and it's difficult to change tiles.. Also the thread you linked is only for Samsung Touchwiz, you can see from the attached screenshot that shows the dialog where to pick which tiles/Quick Settings to include.. There the OP just unlock the limited number, but the rest of the stuff is already there..

Categories

Resources