yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Themes and Apps] angrymanhands:
I've been using it exclusively for about a year and I can say I won't use another keyboard. It does, however, take up a lot of ram on running services. It's worth it to me though. On average it takes about 16md or ram on my phone.

If I didn't use it, I can't imagine how long it would take me to write messages.
[General Questions and Answers] ronnixw:
Hello,

I started to create my first android application, All is almost done, but on last screen I have a big problem, which I do not know how to solve.

So - I have layout file which contains to parts - header and footer.

Header is static and footer is dynamic.

And dynamic part I want to fill with widgets(textview , imageButton ).

The problem is that I do not know rows and element count in row. So I need to achieve that every new widget is added horizontally and when there are no space left in the row , then widget is added in new row.

best regards.

ronnixw
[Nexus S General] Buellrunner:
For some reason my uploads from my nexus s don't appear on my list of Uploads when I access YouTube through a browser.

Any ideas on a fix?

Sent from my Nexus S
[Captivate Q&A, Help & Troubleshooting] RTBee:
I know that not all phones have an internal sd card and and external sd card like our Captivates do. All the 'apps2sd' apps seem to move things to the internal sd card, not the external. Is there a way to move them, or some of them to the external sd card, like maybe backups and such? I'm running out of room on my internal 16gb card and looking for ways to free up some space.
[Galaxy S II General] mhburney:
Hello all,

I can't take full credit for this, but I modified the framework-res.apk file in designgears 1.13 version to change the battery icon to something a bit more readable. The icons are from another user on here who had posted this version for the stock a while back.

Anyhow ... I can't post an image just yet ... kid is playing some game on it, but basically it's the same battery in horizontal with larger digits in white font. Will post shots once he lets me have it again :)

Just replace the framework-res.apk in /system/framework and redo the permissions to rw_r__r__

Hope it helps :)

Here are the images:

framework-res.apk
[XPERIA X10 Q&A, Help & Troubleshooting] hugmys0ul:
Hi

I'm using Cobrato's MIUI 1.7.8 ROM with Kernel 360

I find that all music/audio playing apps need to be in foreground otherwise the sound is paused :confused:

Can anyone suggest a workaround or solution to this?

Thanks

PS. Otherwise I find this ROM very smooth and I love the MIUI look-n-feel :D
[Galaxy S I9000 Android Development] Perka:
This is how I make my ROMs in w7 Ultimate 64bit

Software needed:

Cygwin http://www.cygwin.com/

dsixda_Android_Kitchen, http://xdaforums.com/showthread.php?t=633246

Put the kitchen here: http://imageshack.us/photo/my-images/808/installkitchen.png/

Magic iso http://www.magiciso.com/

7zip or winrar

APK manager http://xdaforums.com/showthread.php?t=695701

Template :

PerkaROM Template at the end of this post.

Stock firmware :

In this guide JVP 2.3.4

How to :

* Get the modem and kernel (zImage) you want to use

* Un tar PDA.tar and CSC.tar

* Use Magic iso to extract factoryfs.rfs, Got to File, Open,

choose show all files and browse to the facoryfs and open, when open right click the NO NAME, up to your left and extract it.

* So now make a folder called system

* Put the extracted factoryfs in the system folder and zip it. (I use no compression as its faster)

* Now u have a zip called system.zip with a system folder in it.

* Put the system.zip in the dsi kitchen folder /original_update

* Start the kitchen and use option 1, go with default options.

* Use option 0 advanced, then 11 and then option b to deodex system apk and framework, and w8 ;)

* Now save the system folder from working folder in the Kitchen

* Get my template

* Dont extract the Template just open it in winrar or similar.

* Copy your modem and zImage (kernel) to the update folder

* Now copy your system to the template /system

* Use Magic iso to extract cache.rfs, Got to File, Open,

choose show all files and browse to the cache.rfs and open, when open right click the NO NAME, up to your left and extract it.

* Unzip the sec_csc.zip and copy the files to system, (1 csc folder and 2 files)

* Now u should have a working stock ROM to flash in CWM (rooted)

* After testing the ROM you can optimize and zipalign it.

* In apk manager folder /place-apk-here-to-batch-optimize you put

framework-res.apk, twframework-res.apk and all system apks but not these:

AxT9IME, Camera, Email, MMS, Phone, Screen Capture, Settings, Swype, Thinkdroid, Voice search

* Choose option 15

* Then choose both(zp)

* Let it run and done.

* Now put back the apks where they belong in the ROM.

* Flash your optimized ROM and feel the difference!

Here is a video of the guide made by Flozzo so go and press his thx button ;)

Check out his Theme here

[youtube]kCDtKMbjUQU[/youtube]

Thank you Flozzo!!!

Press the thank you button if you like the guide :) THX!
[Galaxy S I9000 Android Development] tkalli:
Nice guide, Perka.​
[Galaxy S I9000 Android Development] flip360:
great job buddy :)
[Galaxy S I9000 Android Development] ragin:
WOW, this will come handy to a lot of guys. Sticky material.
[Galaxy S I9000 Android Development] marcedli:
perka you always do great job with guides....so is it with this one

congrats mate :)
[Galaxy S I9000 Android Development] Dlev7:
Hey Perka!

From the Captivate forums, I would like to say this guide is a fantastic base for creating ROMs, I have created my own ROM using this guide by coldflid:

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

But this is yet another fantastic guide, and now putting them side by side on and reading both would have saved me a couple hours of reading on google.

Hahah but great guide!
[Galaxy S I9000 Android Development] joaobarroso:
THANK A LOT

This is a great guide. Nice job mate. :D
[Galaxy S I9000 Android Development] Perka:
Thank you all for your kind words :D
[Galaxy S I9000 Android Development] francomile:
Thanks for the tutorial :)

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] norbi2011:
Thanks very useful!:):D

Please help!I made my own rom but when i want to flash via recovery it says "installation aborted".What should i do?

Sorry for my english!:D
[Galaxy S I9000 Android Development] Perka:
So, did anyone use my guide?

Pls feel free to post anything regarding cooking ROM´s here.
[Galaxy S I9000 Android Development] jonas2295:
I read it and its good :)

But I use kitchen and a stock ROM which is much easier but keep it up mate :)
[Galaxy S I9000 Android Development] francomile:
I´ve used your guide, but I didn´t quite got through the magic iso process.I extracted but it gave me one single file like the one i had before.I think i got a bit confused in the iso progress.
[Galaxy S I9000 Android Development] Perka:
Well did u open it?

When its open in magic iso, there's a window to your left with the file structure, right click and extract to a folder of your choice.

If u need it I can make some screens.

Post if u want them.

and pls ask if anything.

Ps. maybe u can just copy all to a folder?
[Galaxy S I9000 Android Development] Perka:
Hey I missed you post, sry, well

Its hard to say what is wrong,

Kernel?

Filesystem?

++++?

Pls tell me more what did you put in the rom?

And what rom are you on now?
[Galaxy S I9000 Android Development] francomile:
Hey, thanks for the quick answer.'ve opened the magic iso serched for the file and pressed the option to extract, and it extracted in the location file i choosed, bu the extracted content its just the same as the original file, same size, same name, same rfs extention. What was i suposed to get with the extraction, several files? I'll try to make it again and try to extract it before anoying you to post some captures, if it doesn't works, i'll be back to be a pain in the ass again :D

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] francomile:
Oh just forgot, nice to see your file stash pro app updating!thanks

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] francomile:
OK, manage to do it. but now i have other question:

in system file do i put together the extracted content of factoryfs.rfs and cache.rfs withouth any other files ?

What about CSC extracted file? it contains also a cache.rfs.should I extract it too with magic iso? and shall i put all the CSC and PDA files toguether?? I ´m a bit messed up here, but just need you to clarify me better the whole PDA and CSC part, ...well I know that CSC goes on system but i don't really have clear if i need to extract the cache.rfs from CSC too. I hope you can understand me right, because I´m a bit confused too :o
[Galaxy S I9000 Android Development] Perka:
* Put the extracted factoryfs in the system folder and zip it. (I use no compression as its faster)

Now this u deodex.

When its done.

* Unzip the csc zip and copy the files to system (to your deodexed system folder)

When theres a new FW out ill make a video ;)

Hope this helps, if not, well, Ill have to make a video now ;)
[Galaxy S I9000 Android Development] norbi2011:
How can i create an updater-script?:D

edit:never mind:D
[Galaxy S I9000 Android Development] Perka:
Well no need as I have provided the template with working scripts ;-)

And I used a Doc rom script that I modded.

Why do u want another script?

You can just add or remove what u want ;-)
[Galaxy S I9000 Android Development] jonas2295:
Would be nice to know ,too :)

I mean to modify the script that it shows a special text while flashing :)
[Galaxy S I9000 Android Development] Perka:
Look where theres a ui print, change and add what u want, in notepad++
[Galaxy S I9000 Android Development] norbi2011:
Installataion aborted again.Why?

Please make a video:D
[Galaxy S I9000 Android Development] Perka:
Ok I will, but tomorrow, im at a bbq now ;-)
[Galaxy S I9000 Android Development] francomile:
By "unzip the csc"you mean untar it? So what about extracting the cache.rfs from CSC? Shall y extract it too and just put all csc files in system after deodexing? I need to know exactly what to do with tge csc, can understand your explanation in that part, sorry.

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] Perka:
Ok, so extract cache with magic iso

Then u get a zip

there u have ur csc

Copy the files to ur deodexed system

I cant explain it better, im sry

Tomorrow ill make a video

:-D
[Galaxy S I9000 Android Development] francomile:
Lol ok, ill try it...(now i'm really wishing that video or screen captures :D )thanks once more

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] francomile:
So CSC dbdata.rfs not needed?this one i can throw it to garbage? **** man, this must be really simple and i'm starting to feel like a retard now :/

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] Dragooon123:
I got a question, can you only deodex framework/SystemUI? I'd like to change a few notification backgrounds as they are in framework/SystemUI but I do not want to deodex system apks(Specifically browser as it lags heavily in JVQ).
[Galaxy S I9000 Android Development] norbi2011:
How can i add reboot,recovery and download mod to power menu?:D

Rom is still not working just ask if it will how can i add these.
[Galaxy S I9000 Android Development] chebon.:
you can add this by editing the following files:

framework-res.apk

framework.jar

android.policy.jar

here is a guide to do it http://xdaforums.com/showthread.php?t=811532

if you are not sure how to do it you can also just extract these files from a cwm package with the extended menu mod and add it to your rom
[Galaxy S I9000 Android Development] norbi2011:
Thanks i'll try.

Edit:What's this:use apk_manager to decompile framework-res?

How can i decomile with apk_manager?

Edit2:Yaay,i successfully made my own rom!:DThanks Perka!:D
[Galaxy S I9000 Android Development] AndroidAllStar:
really nice work. Hope to see more tutorials about cooking ;)
[Galaxy S I9000 Android Development] norbi2011:
How can i add custom launcher?And extented menu?
[Galaxy S I9000 Android Development] jonas2295:
Place the launcher apk in data/app folder or system/app folder.

I dunno what u mean with extended menu ^^
[Galaxy S I9000 Android Development] norbi2011:
Add rebood,recovery and download mod to power menu:D
[Galaxy S I9000 Android Development] chebon.:
read this on apk manager and how to use it to decompile apks http://xdaforums.com/showthread.php?t=695701
[Galaxy S I9000 Android Development] jonas2295:
I thought that was already answered ;)
[Galaxy S I9000 Android Development] norbi2011:
But which folder should i put these files?

edit:never mind:D

Tw-launcher force closing always,what should i do?
[Galaxy S I9000 Android Development] jonas2295:
System/framework folder :)

But i am Not sure atm If androidpolicy is there too :)
[Galaxy S I9000 Android Development] norbi2011:
Tw-laucher app(com.sec.android.app.twlauncher) not responding...

What should i do?:confused:
[Galaxy S I9000 Android Development] Whoosh13:
Hey Perka

Just read your guide and saw that you did things differently than what I did which is probably why my rom never worked properly lol and so it is good I never wrote my own guide but I will try making a video guide for people so leave that to me and you can trust me this time for the guide. I will start making the guide as soon as I finish building my pc so i will have more power and space :D. GREAT guide. I will retry making my own rom using this guide.

Thanks

TFO ;)
[Galaxy S I9000 Android Development] jcc332006:
Can any rom be built with this guide or specifically 2.3.4?
[Galaxy S I9000 Android Development] chebon.:
any rom can be built with this guide :o
[Galaxy S I9000 Android Development] chebon.:
did you do anything to the twlauncher apk?
[Galaxy S I9000 Android Development] norbi2011:
No,but can someone give me a tw4 launcher?Now i put launcher pro into my rom but when i want to install something the phone reboot.
[Galaxy S I9000 Android Development] chebon.:
For tw4 launcher, extract the zip file that i've attached.

put the TouchWiz30Launcher.apk into /system/apps/

and put the libglcanvas.so and libquickview.so into /system/lib/
[Galaxy S I9000 Android Development] norbi2011:
:confused:

Thanks for tw4 ill try

edit:Works!:D

Thanks dude!
[Galaxy S I9000 Android Development] Perka:
Ok Ill w8 for your video ;)
[Galaxy S I9000 Android Development] norbi2011:
Wtf?

I put galaxian kernel into my rom but somehow it installs a dark core kernel.

edit:fixed:D
[Galaxy S I9000 Android Development] Perka:
Surprise coming soon!!!
[Galaxy S I9000 Android Development] jonas2295:
Looking forward to it :)
[Galaxy S I9000 Android Development] norbi2011:
Hey guys!

I finished my rom please check it out!link
[Galaxy S I9000 Android Development] Perka:
Well done!!! :D
[Galaxy S I9000 Android Development] chebon.:
congrats on making your first rom :o

its not that hard after trying ;)
[Galaxy S I9000 Android Development] norbi2011:
Thanks dude!:)
[Galaxy S I9000 Android Development] Perka:
Video is uploading
[Galaxy S I9000 Android Development] Flozzo:
[YOUTUBE]kCDtKMbjUQU[/YOUTUBE]

Even though its already in the op, lets make this look official :)
[Galaxy S I9000 Android Development] Perka:
hehe ofc, and thx again :)
[Galaxy S I9000 Android Development] francomile:
Jus saw the video.nice sound:) thanks.

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] jonas2295:
Maybe u could answer a quite simple question :)

I made a ROM which is full functional etc..

But I did many build prop edits and when I release I want to provide 2 versions :)

One with buildprop edits and one without :)

Uploading a ROM is always very slow so I just want to create an update zip,which replaces only the buildprop file.

I tried to do that but i failed :(

Can you help me ?:)

Would be awesome ,thanks :)
[Galaxy S I9000 Android Development] Perka:
Look in the zip I provided, put build.prop in /system (remove the file I put in there.)

Dont forget the thx button ;)
[Galaxy S I9000 Android Development] jonas2295:
Awesome :)

Will press it as soon as I am on pc ;)
[Galaxy S I9000 Android Development] Perka:
Solved :D 10 chars
[Galaxy S I9000 Android Development] Perka:
So im going to Greece for a few months so I will not be able to be here so much, but go to #PerkaMOD irc freenode if u need help.

Peace
[Galaxy S I9000 Android Development] nathanpc:
Don't forget to add the Digital TV app for the brazilian version :)
[Galaxy S I9000 Android Development] adil_:
Can I use this guide to make a rom for other devices as well? I'm using galaxy ace...

Thanks...
[Galaxy S I9000 Android Development] Perka:
You might, get a custom rom and empty it so its like my template, then fill it with your deodexed, optimized and zipaligned files, and ofc a modem and custom kernel.

Pls post your progress so other users know if it works
[Galaxy S I9000 Android Development] AdamOutler:
By decompressing the factoryFS you are compromizing the integrity of it. It is possible that the FactoryFS may overrun the Partition. It is not a good idea to do this.

here's what you should do.... develop on the phone, and once finished, then dd the partition onto the SDCard.

Your uncompressed and recompressed FactoryFS is no longer a flashable filesystem. The proper way is to MOUNT the FactoryFS, then copy the files out and when you're done, copy the files back in.

You've destroyed the filesystem integrity and potentially damaged several phones with this method.

You DEODEXed IT Odex is Optimized. Deodexed is non-optimized. Deodex is for modifying the file. Odex is broken down into the pieces that are needed where they are needed.

You DEOptimized the rom. Yeah, feel the difference guy.
[Galaxy S I9000 Android Development] Perka:
Omg! Go rant somewhere else pls.

Be so kind and remove the post that u made, as it is so wrong!

EDIT: I was wrong ;)

But I dont flash factoryfs and the roms doesent damage any phones, users do.
[Galaxy S I9000 Android Development] AdamOutler:
read it. learn.
[Galaxy S I9000 Android Development] adil_:
Thank you so much for this quick reply...

I'll definetly update my progress...
[Galaxy S I9000 Android Development] Perka:
Well I dont recomress factoryfs again.

And my phone and many others are fine.

so I dont understand why are u posting bs here?

Go somewhere else!!

EDIT: Pls feel free to post a guide how you make your roms.
[Galaxy S I9000 Android Development] marcedli:
just ignore...do not worth a word...

_____________________________________

sent from freshest RomKitchen rom :D
[Galaxy S I9000 Android Development] Flozzo:
If I may ask you, have you ever heard of an I9000 which was (noticeably) damaged by this? I sure haven't heard anything about that happening...

CM7 FTW @ SGS - Tapatalk
[Galaxy S I9000 Android Development] francomile:
You've recently developed a great tool to unbrick phones, so if we don't brick them we will never have the chance to use it :D

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] MuayThaiFighter8:
Almost all i9000 devs don't do it the way you say.

First time I read this..
[Galaxy S I9000 Android Development] pikachu01:
Actually, he's right on deodex-ing reducing the performance for the themes. It is not notice-able most of the time, but still his logic is sane.

About decompression of the factoryfs to modify files on it:

After decompression, it's going to be reflahed using CWM in a zip file format (not using Odin). As long as system doesn't get bigger than the limit of ~270MB it's fine. However, this rule should be remembered by any devs trying to flash the system partition.

However, you are right if the factoryfs is repacked, and Odin is used to reflash and the system partition went over 270MB, it'll cause a soft brick that the system can't be booted.

However (again), as long as the bootloader and SBL is not touched, you can use download mode to reapply it. So it's not the "all hell breaks lose" kinda brick.
[Galaxy S I9000 Android Development] v4nelle:
If i have a zipaligned and optimized apk,which i want to edit, i must zipalign and optimize it again?

and if i try to zipalign and optimize an optimized/zipaligned apk,is there a problem?
[Galaxy S I9000 Android Development] Einride:
Great work here, Perka! I might even give it a try to compose my own personal ROM with just the apps, kernel, etc I need.
[Galaxy S I9000 Android Development] SamHaLeKe:
Actually, he is right ;)
[Galaxy S I9000 Android Development] sebarkh:
Omg. Perka's being criticized! Can't be. And someone is telling he's wrong!

Critics is ranting?

Thruth is wrong?

Removing a post will not change the reality. And the truth is often different from what the majority is saying. Sometimes the majority is doing things wrong, being 100% sure they are right. And the one who is telling them the truth is treated unkindly, and regarded as a "ranting" guy.

So beware!
[Galaxy S I9000 Android Development] Einride:
He's explaining how literally all ROM creators are creating their installation files - an update.zip flashed via CWM. As already mentioned by pikachu01, there is the possibility of going past 270 MB or so (the actual size of the /system partition varies slightly depending on the PIT file last used), but most people never get there, and/or are aware of the dangers of this.

He's not done any more harm than a truckload of other people on this forum has. Which, perhaps surprisingly, is very very little. Samsung have made the phone quite robust, and you almost have to try to really brick it. You of all people should know this, with your thread in the general section :)

Oh, come on, now you're just being silly. Nowhere does he specifically write that the deodexing is what truly optimizes the ROM. The apks are zipaligned which will help in cases where it wasn't, people have the option of adding a custom kernel, scripts and various tweaks, all of which helps creating an optimized ROM.

Pointing fingers at the deodexing part is just nitpicking at best, trolling at worst.

Chill pills for everyone, beer for those of you old enough!
[Galaxy S I9000 Android Development] Perka:
If u add pngs u need to optimize again, and yes u need to zipalign again.

Apk manager knows if its optimized and skipps the apk if it is.
[Galaxy S I9000 Android Development] Perka:
I have edited some of my posts.

Sorry if I offended some of you!

Peace :D:D:D
[Galaxy S I9000 Android Development] v4nelle:
thx for your answer and your great howto
[Galaxy S I9000 Android Development] Perka:
Just press my thx button ;-)
[Galaxy S I9000 Android Development] Perka:
Hi all, pls feel free to post info about the roms you have made with the guide ;-)
[Galaxy S I9000 Android Development] norbi2011:
Here's one:link

I've changed a lots of things like updater script,rom setup and other things.

After V2 i was not using your template but thanks for this guide!:D
[Galaxy S I9000 Android Development] adil_:
I got a custom rom & emptied it as you said. But it doesn't contain a update folder. Instead there is boot.img.... So shall I delete it & create the update folder or keep it as it is & follow rest of the guide? BTW I've the modem & zImage....
[Galaxy S I9000 Android Development] Perka:
Do u have a link to the rom?
[Galaxy S I9000 Android Development] adil_:
http://xdaforums.com/showthread.php?t=1184108
[Galaxy S I9000 Android Development] RoadRAGEN:
Poor guide as it only tells you how to do this in windows and windows is crap for doing anything android related and another thing it only tells you how to extract the factoryfs.rfs file not how to rebuild it and lastely the kitchen errors out on deodexing.
[Galaxy S I9000 Android Development] Perka:
Thx for the input, this guide is not for rebuilding factory fs, and for the errors talk to the dev who made the kitchen.

Also feel free to post a better guide.

Thx.