yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] taha_e:
Thank you Ramad for your guide, I need some help I have generated the necessary files for packaging and used your guide step by step, then after the files are generated I use odin to check them without connecting the phone and the files are valid. I flashed the rom and it was passed but after restart it will go to recovery (i'm using k13d speedmod by hardcore) I do a wipe cache and reboot but again goes to recovery. do you have any idea? :confused:

for generating the files I used darky guide in this thread :

http://xdaforums.com/showthread.php?t=960946
[Galaxy S I9000 Android Development] g00ndu:
hi taha-e,

just thought of it. Could it be that your rom in the phone is using a customized kernel? maybe you can try this:

Do everything as you have done, but leave out zImage. After finishing the rest of the rfs files, the last step is to get your zImage (stock or others) into your odin files again.

Try out and see if it works.
[Galaxy S I9000 Android Development] taha_e:
I also thought the same I changed the custom kernel to original zImage and flashed it few minutes ago but the same things happen instead of rebooting and running the phone it goes to stock recovery now. it has to do some thing with wiping the cache partition because some times after wipe cache partition and reboot then everything is fine. now my question is why it goes to recovery mode in both custom and stock kernel? and why it needs wipe cache partition?
[Galaxy S I9000 Android Development] g00ndu:
Ok, try this then.

Before packaging your odin files, do a wipe on your cache. It is possible that the cache partition was big. Since you said after wiping cache, it can boot up, I suspect that your cache needs to be wiped before packaging.

Let us know. :)
[Galaxy S I9000 Android Development] taha_e:
Before generating the files I did wipe the cache but the result is same :confused:
[Galaxy S I9000 Android Development] Galaxyer:
Thank you very much.

1- Any one have any idea on how to encapsulate data/app onto an odin packaged firmware ?

2- Is this mechanism still applicable with converted systems (from rfs to ext2,3,4) ?

if no, is there any other way ?

3- How to edit(modify : add, delete , replace ) factoryrfs.rfs content without phone in the loop ?

Thanks again and B.R.
[Galaxy S I9000 Android Development] [Ramad]:
Although this is not what this thread is about, it's about re-packaging original firmwares, but I will try to answer, but you need to post asking only in related threads in the future. :)

@ taha_e

Don't do a cache partition data dump, you don't need it because all cache.rfs files are already included when you dump /system as factoryfs.rfs, you can open the cache.rfs file that you have dumped earlier using MagicIso and you will see that it's empty.

The only partition that you need to dump from a phone is normally only /system as factoryfs.rfs, because it includes all files of both factoryfs.rfs and cache.rfs of the original firmware that you have flashed, beside that, you already have modem.bin and zImage that you want to use.

@ Galaxyer

1. That can't be done because Odin won't allow it.

2. I don't recommend making a data dump of a system-file converted partition, dd makes a data dump of the whole partition not data files only, that includes system-file journals that does not match the new file-system journals (rfs-ext4-rfs), this may lead to corruption, this is not proved this is why I wrote that it may.

3. Some members did write that it can be done by mounting the files using Linux, I did not try it so I cannot tell, If you ask me if this can be done then I will tell that it can be done but Odin will refuse to flash the file as factoryfs.rfs.
[Galaxy S I9000 Android Development] taha_e:
thanks for the last time guide it solved my problem,so I could compile my rom.

I have a question about gingerbread, as you know XWJVB has Sbl.bin and boot.bin is it necessary to dump these 2 and add to the package?

my understanding is if someone flashed gingerbread with boot loader before no need to have sbl in package but if moving from 2.2.1 or 2.2 to gingerbread then need to make the package including the boot.bin and Sbl.bin . Am I corect?

could you also give a brief explanation on dbdata.rfs when dump from the rom its over 100mb but the one which you add is around 1mb only what are the differences? is it possible to take the same file from XWJVB stock rom and use it in our custom rom?

And the last question I found out that some roms which come in 3 packages in CSC file there are 2 files one is dbdata.rfs and the other one is cache.rfs and in PDA file also there is one cache.rfs which the size is different .what are the differences between these 2 cache.rfs.

is it possible to use the CSC file from rom 2.2.1 to compile a 2.3.3 rom?
[Galaxy S I9000 Android Development] cottino:
What changes without dbdata.rfs?

why there isn't in kies package?
[Galaxy S I9000 Android Development] [Ramad]:
Why dump these 2 sectors when you have the original, you don't need to dump them.

You don't need bootloaders from Froyo again, unless if they are needed, some costume firmwares requires them...otherwise no.

The only partition that you need to dump is /system, the dbdata.rfs that you are dumping from your device do contain your device' settings, try always to use the empty dbdata.rfs file, it clears setting on every device it gets flashed on.

The small files(dbdata.rfs and cache.rfs) in PDA are for formatting, those on the CSC file does include data. You know what cache.rfs on the CSC includes, the big dbdata.rfs includes small commercial material from Samsung with some songs...etc.

The interesting files are the small and empty files.

Kies packages are one file firmware which can't be flashed with re-partition, this thread is about re-packaging it to 3-files firmware so repartition, changing CSC files and Modem is possible.

Adding dbdata.rfs make a firmware able to be flashed without errors after the flash.
[Galaxy S I9000 Android Development] cottino:
this is just for my own curiosity, thanks a lot :).

I would like to create 3-files firmware for Galaxy SII :p but there isn't empyt dbdata yet :(
[Galaxy S I9000 Android Development] ENO_qc:
Hello, superbe guide!

In other words, if i'm flashing with Heimdall (i am on Linux), i must ignore those dbdata.rfs and cache.rfs in PDA?

(I ask, because i want to switch to Heimdall, i am tired to shutdown and restart to windows each time i want to use odin)

Thanks
[Galaxy S I9000 Android Development] flypubec:
Is there a way to replace some files in factoryfs.rfs, so we can package a custom ROM for ODIN

I've tried it like that:

mount -o loop factoryfs.rfs ./my_rom
# now replace some files in ./my_rom
umount ./my_rom

But this seems to corrupt factoryfs.rfs, so the flashing hung at factoryfs.rfs

And another thing that makes me wonder:

Is it safe to replace stock zImage with the one from custom kernel ? I am thinking that there might be some things from custom kernel required at the first boot (initramfs scripts) that do the necessary config for the ROM.
[Galaxy S I9000 Android Development] Perka:
Hi great guide thx.

Ive made a 1 liner that I see very useful.

tar -c zImage >> Kernel_Stock_XXJVP_Odin.tar; tar -c boot.bin sbl.bin >> Bootloaders_XXJVP_Odin.tar; tar -c boot.bin sbl.bin param.lfs zImage factoryfs.rfs dbdata.rfs >> PDA.tar; tar -c modem.bin >> PHONE.tar; tar -c cache.rfs >> CSC.tar

If u find it useful press my thx button ;)
[Galaxy S I9000 Android Development] francomile:
Thanks for this great guide.try it and everything goes fine. Started my personal use rom :)

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] corgar:
i got a problem. i've created an odin rom with dbdata.rfs from stock rom, used pit and flashed my own rom with odin. But alla files are still there. Seems like it's a no wipe rom. but if i used dbdata and all other files how it's possible?

edit: used this command to dump factoryfs: dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
[Galaxy S I9000 Android Development] bristolian:
Presume we can use a custom kernal?
[Galaxy S I9000 Android Development] WILMANS2M:
hi,

thanks a lot for this.

but i have some errors at first boot and don't know why. Maybe comes from pit file but not sure.

at first boot, it enter in recovery mode to appply csc and wipe data as always.

But, for me, it says he can't wipe date, dalvik cache and cache because he can't mount to /data, /cache .... E:

can't understand.

if someone knows.....

Thanks.
[Galaxy S I9000 Android Development] Perka:
what would the flashing order be for sgs3??

So I can repack 1 file fw to 3 file.

Thx
[Galaxy S I9000 Android Development] luvamplifier:
This worked like Jelly Bean's butter... Fantastic!!

Loved in detail instructions... Excellent :) :) :):D
[Galaxy S I9000 Android Development] waheem:
Can you please answer me I really appreciate the post is make 3 file firmware to only a single file so thats work well like our original 3 file firmware downloded to officialy site or internal and what is difrens between original 3 file downloaded firmware or created firmware thats you post here but your work Is great really thankful to you
[Galaxy S I9000 Android Development] alexdelara:
This was pretty good :good: to start with, thank you... but could someone post what files goes in each of the CSC, CP, AP and BL for Odin ?

For example, I have all these files from the original image from a Note 4 stock

aboot.mbn

boot.img

cache.img.ext4

modem.bin

NON-HLOS.bin

recovery.img

rpm.mbn

sbl1.mbn

sdi.mbn

system.img.ext4

tz.mbn
[myTouch 3G, Magic General] Punjabi23:
Ok so I updated to 2.2.1 OTA and rooted it with cyaogenmod 5.0.8. How do i unroot it now? I read somewhere you can download the stock 2.2.1 and use ROM manager off the sd card. Where can i download the stock 2.2.1 and also is there another way to unroot?

PLEASE HELP!!!

THANKS!
[myTouch 3G, Magic General] DonJuan692006:
1. Why do you want to unroot?

2. What's your fastboot info?
[myTouch 3G, Magic General] djtar:
if you need help

you'll have to post your phones info without that we cant help you or will misguide you
[myTouch 3G, Magic General] mumilover:
Rooting = getting SU binaries on your device

Runing CM = running custom rom and is actually misleading to call it rooting.

What you want is to return to stock rom or change to an updated custom rom, and not "unroot" per say...

Just to set the terminology :0)
[Hero, G2 Touch Q&A, Help & Troubleshooting] AdmcPL:
Many Android 2.1 ROMs have flash lite support (known as htc flash player) is there 2.2 or 2.3 ROM with flash lite?
[Hero, G2 Touch Q&A, Help & Troubleshooting] brat.haneq:
In order to have flash lite, You need HTC sense.

So with cyanogen mod - It won't work.

I believe that there was a 2.2 sense ROM developed by RaduG, but it wasn't fully functional.

You can check if flash lite is included ( I believe it is), but camera won't work with that one.

hope it helps.

Cheers!
[Hero, G2 Touch Q&A, Help & Troubleshooting] AdmcPL:
So, isn't there any flash lite app that works without sense?
[Hero, G2 Touch Q&A, Help & Troubleshooting] mattyyey:
The HTC Hero cannot use Flash 10.1 (doesn't need sense) due to hardware limitations, and flash light requires HTC framework. So thats a no. Unless we get a good fully working 2.2 sense for the hero, its just not going to happen
[Captivate Q&A, Help & Troubleshooting] bgf183:
Question... I just flashed Twingerbread today (it's pretty awesome, btw), but I'm noticing one thing that I haven't noticed with other roms which is that when I open gmail it always displays the "What's new in Gmail" banner. Any ideas on how to fix this?

Maps, however, does not repeatedly show me "What's new in Maps"
[Captivate General] upNsmokeAllDay:
I just got this text from att which is good news cause my credit card blocks any foreign dev purchases.

AT&T Free Msg: You can now charge the apps and games you buy in the Android Market directly to your AT&T bill! When shopping from your phone, click on 'Bill my AT&T account' under 'Select Payment Method.'
[Captivate General] insaneturbo13:
Now the kiddoes can charge there apps to their parents lol
[Captivate General] Miami_Son:
I've was doing this since I got the phone in December, but lost this ability when I flashed Andromeda last week.:(
[Captivate General] javi80:
this scares my wallet
[Captivate General] mchimney:
i still don't see the option to do this
[Captivate General] Psychosis5150:
It only seems to work with some apps. I noticed any with a currency exchange such as Titainium Backup will not work..
[Captivate General] tngal22:
I have been able to charge it to my bill since I got my phone in December. However, hubby couldn't...I don't think he has checked lately. I like that option better than using a credit card.
[Captivate General] Miami_Son:
While I was able to do it (before flashing) it wasn't without issue. If I was on wifi and tried to charge to my AT$T account, it wouldn't go through cleanly, sometimes not at all. Only when I was on data network would it go through without issue. Credit card purchases work fine either way.
[Captivate General] tngal22:
Yes, I also noticed it had trouble if I had WiFi on. I tried on Hubby's phone last night and he can now charge to the the bill.
[Captivate General] MattZ71:
It doesn't give me the option to charge paid apps to my bill. On any of the apps? Am I missing something? (I got the email also)
[Captivate General] FroggyStyle:
I am with you :) Just what my bill needs is something else tacked on :eek:
[Captivate General] zelendel:
From what I have seen the option has been put on hold by ATT for now to prevent billing issues.
[Captivate General] MattZ71:
Ok so I got the email also about being able to buy apps and charge to my acount but never could till today when I got my first bill after upgrading to my atrix. So I guess you have to wait one billing cycle before you can buy apps and charge to your acount.but only in US curancy won't let me charge to other money curancy. For the ones that couldn't try it now just make sure you have a google checkout and has your att mobile information. (google checkout then click on dashboard)

Hope this helps.
[Captivate General] nooomoto:
X2...lost the option when I went from Phoenix to andromeda
[myTouch 3G Slide Q&A, Help & Troubleshooting] iDaZzLeFatHoeZz:
I was just wondering if it was possible to make the 3D app drawer for the Gingerbread launcher work correctly for MDPI devices because I really like it as I have seen it on a friends G2. If anybody could make this work with the stock Gingerbread launcher I would be eternally greatful. Edit: (BTW I am on CM7 latest nightly)

Update: This is what it looks like from the stock:
[myTouch 3G Slide Q&A, Help & Troubleshooting] Wagedroid:
quick question

why would you want to use a gingerbread launcher if you are running a gingerbread based rom?? (cm7)
[myTouch 3G Slide Q&A, Help & Troubleshooting] Ace42:
You can use Launcherpro or adw ex and dress them up like Launcher2 and then you get the 3D effect. Or you can google launcher2(android's actual launcher as seen on vanilla) and install that. Make sure the L2 is gingerbread and not the froyo version.
[myTouch 3G Slide Q&A, Help & Troubleshooting] iDaZzLeFatHoeZz:
Well I find ADW to be a terrible launcher so I use a modified stock from Market.
[myTouch 3G Slide Q&A, Help & Troubleshooting] iDaZzLeFatHoeZz:
Yeah could you send me the link to it because I can't seem to find it in the SDK and how would I go about pushing it in ADB?
[myTouch 3G Slide Q&A, Help & Troubleshooting] MusicMan374:
You sir, are an idiot. ADW has more configurable options than any other available launcher. If you are speaking only about the animations, then yes, the free version sucks, but the only $2 ADW Ex launcher fixes all the laggy animations, and adds 8 more screen effects for transitions. Easily the best launcher out there.

You must be high. It's okay, I won't judge.

If you just use the vanilla launcher, you won't have 3D. The vanilla launcher is almost the same as the ones on the market. They are 2D for mdpi, and 3D for hdpi. Google never released drawables for the 3D launcher for mdpi.
[myTouch 3G Slide Q&A, Help & Troubleshooting] iDaZzLeFatHoeZz:
You sir are flaming, and clearly I know EX has more customizations as I bought it and have used it all through my CM6 days I just like the stock launcher jeez.
[myTouch 3G Slide Q&A, Help & Troubleshooting] SefEXE:
Launcher Pro works well enough.

I mean, I haven't used the stock one, but I would think you could get it to be very similar.
[Galaxy Tab  Android Development] Bandage:
**Note - this is the Official SDK release...NOT preview emulator**

http://android-developers.blogspot.com/2011/02/final-android-30-platform-and-updated.html

Let's get things rollin for our Tabs!!
[Galaxy Tab  Android Development] TheGrammarFreak:
How many more threads on this?!

And put it in General!
[Galaxy Tab  Android Development] Bandage:
Only thread in Galaxy Tab forum I've seen (since it was JUST released a short time ago)...and SDK is a Development tool. Apologies if Mods feel otherwise, however, it IS pertinent to 3.0 port attempts at this early stage.

Glad to see at least one troll lurking about.
[Galaxy Tab  Android Development] TheGrammarFreak:
?? How am I trolling?! There are at least 2 thread asking devs to port. Consider the plea heard. You shouldn't really post here unless you're starting the port. If you have, great! Let us know what you tried, and how it went. If not, this thread is redundant.

And if you're not asking for a port for the Tab (based on the emulator image that's in the SDK) then what are you asking for?
[Galaxy Tab  Android Development] ekoandrew:
old news, once its out, its old news...working on a comb for my tab, working nicely just the way i wanted to...what sux is wifi aint working, had to use tether

I know there is a Thanks Button, is there a Booo Button? XP
[Galaxy Tab  Android Development] Bandage:
This isn't a request thread...it's a link to the SDK, and to the fact that

Google has just NOW released

the OFFICIAL SDK for developers. It has

finalized API's

, and is ready for public consumption.

I did not post it with pleas of "please please make this work on our devices!?!?!"

If devs feel the contribution belongs in another forum, so be it...I for one prefer to contribute what I possibly can.

(Please note that there is a huge difference between afore mentioned "Preview SDK" and this release of offical finalized SDK...it's what's going out on devices live....If I'm mistaken, having only briefy compared the files, apologies)
[Galaxy Tab  Android Development] TheGrammarFreak:
In which case, we already know! If we are active on XDA then the chances are we read these blogs, we keep up with the world. Pointless threads in the development section don't help. This should be in general. It's general conversation.

And that looks to me like a request to get it ported. Maybe it's just me.
[Galaxy Tab  Android Development] diversificationied:
You thread is in the wrong place, there is an Android General section where this should be, not device specific.

/troll I guess
[Galaxy Tab  Android Development] Bandage:
LMAO...wow. Just forget it.

Heaven forbid the forums get locked down to such trivial BS (ie. omg unless you are gonna release it yourself shut up and be quiet).

Information is what keeps our community at the forefront. Either be the type of member that does any little thing to give our devices the edge (post a link to new source, post dump files, etc), or yell at everyone who puts in an effort.

More excited about the potential for a post in wrong forum than the potential for what we've been looking for to get 3.0 up and running.

I'm gonna get my hands dirty!
[Galaxy Tab  Android Development] TheGrammarFreak:
So you are asking for a port then?

Good, I look forward to your findings.
[Galaxy Tab  Android Development] elnoxvie:
This is interesting. Now, desire HD and nexus one also have Honey Comb ported. I really would love to see a port for galaxy tab. Although it may not be usable than AOSP but it's somewhat exciting. According to some news on the DESIRE HD XDA forum, Some functionality of the SDK will work with their current kernel. e.q. maybe you can boot the honey comb but others are broken. I am not sure if this is the same as for Galaxy tab but once we get it to display, the rests might be easier.
[Galaxy Tab  Android Development] Bandage:
I don't effin care if the thread gets moved...

I would like to challenge the Mods to put more effort in to filtering out the jerks that troll the forums. Being an individual who prefers to attack any efforts made should be insta-ban.
[Galaxy Tab  Android Development] TheGrammarFreak:
So what, I have committed 1500+ trolling offenses then?

I'm not attacking anyway. If you port Honeycomb I will be genuinely grateful, I want to see it as much as everyone else. What I'm trying to do is keep the forums tidy. By all means post links to news and the like, just do it in the right section.
[Galaxy Tab  Android Development] Bandage:
I appreciate your 1500+ contributions...I dislike your attitude towards an earnest effort, you aren't a forum mod, so it's not your job to "keep the forums tidy". So effin what if it's the wrong forum, let a dev move it. If I misunderstood the placement guidelines for a relevant development tool, I apologize. It seems the most obvious place for it...as it pertains to development. I didn't link to an article about the release, I linked to the release.
[Galaxy Tab  Android Development] Boushh:
Really though, I'm more sick of seeing your replies saying "shoulda posted in general" than I am of people asking about honeycomb. Maybe you should go spend your time begging for a mod in here and less time contributing to the garbage we have to look though, considering every one of your posts politely informing (lol) people where they should post always turns the thread into a busy thread instead of just letting it die and go to page 2....

I honestly don't know if you're trying to troll or help out, but it's seriously more annoying than newbs posting in the wrong area.
[Galaxy Tab  Android Development] diversificationied:
Do people even know what trolling means anymore?

If you're not gonna use it properly....
[Galaxy Tab  Android Development] williams37:
The tab is not the only android device I follow up on. And I rarely look in general because I'm sick of all the "should I root my tab?!?" and "omg I bricked my phone" threads. This is the first instance I have seen the sdk was released. Once I try Boushh's deodex on my sprint tab, I might be able to start making my tab look like it has honeycomb at least. So thanks OP :D
[Galaxy Tab  Android Development] Bandage:
Wikipedia

In Internet slang, a troll is someone who posts inflammatory, extraneous, or off-topic messages in an online community, such as an online discussion forum, chat room, or blog, with the primary intent of provoking other users into a desired emotional response or of otherwise disrupting normal on-topic discussion.
[Galaxy Tab  Android Development] diversificationied:
Just because you're response to an innocuous post results in the same reaction doesn't automatically transpose the intent of the original poster.
[Galaxy Tab  Android Development] shollywood:
Grow up and move on!
[Galaxy Tab  Android Development] shollywood:
Couldnt agree more!
[Galaxy Tab  Android Development] elnoxvie:
i quess this is going nowhere. We won't get honey comb if all we are just arguing. Mod, please close this thread instead.
[Galaxy Tab  Android Development] ayman07:
I'm hungry.

From the Tab.

www.twitter.com/ayman07
[Galaxy Tab  Android Development] GANJDROID:
Dudes/dudettes, chill. Take your handbags to pm's. Yeah, this should be in general more than development. Yeah, there are several SDK threads. But this is the full SDK. Not a preview.

So lets more it to general, have some whiskey and move on.

Sent from my GT-P1000
[Galaxy Tab  Android Development] dragon1022:
Will Sprint get any love from this port?
[Galaxy Tab  Android Development] RevenG:
I believe it should be posted in the Development section considering it is a Software

Development

Kit.

Mods please lock this thread to keep worthless nonsense from being posted.