yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] smokku:
<rant>I could behave like Paul @ MoDaCo and just ignore the question. But... :rolleyes:</rant>

Like I mentioned the kernel and initrd start with gzip signature.

So you need to extract:

- header: 0 - 0x49DF

- kernel.gz: 0x49E0 - 0x241FFF

- initrd.cpio.gz: 0x242000 - EOF

Disassembling several working boot.img revealed that the offsets are always the same, and the usually empty header contains something that looks like a bootloader code. So I figured mkbootimg file with zero-filled header won't work.

So, I created new initrd (mkbootfs or straight cpio - both work), padded it with /dev/zero to 4k page size, concatenated header+kernel+newinitrd.

Almost there. You need to update header offsets and sizes. initrd offset stays the same, but size is different. initrd size is 4 bytes from 0x10 byte in header. Just enter the size of initrd (before padding with zeros) there, and you're done. :)

First I did it manually. Now I have a simple bash script to automate the work.

Above method works 100%. Every boot.img I generate works fine.

The key is to start with a working boot.img for your device - you need a kernel suited to your hardware.
[Streak 5 Android Development] JoeJonnyBoy75:
Any chance you'd like to share your script?
[Streak 5 Android Development] JoeJonnyBoy75:
One other quick question. I understood most of your instructions, although this isn't really my field of expertise, except how/where to enter the size of the init. If I'm understanding you correctly it goes at address 0x00000010.

Which would mean that in your red pill the entry you have at that address is DA DD 0C 00?

Also if you have time could you explain the padding part?

I think I'm close to getting this working, and look forward to custom init files.
[Streak 5 Android Development] smokku:
The following information got outdated.

See http://codex.xiaoka.com/wiki/streak:kernel_porting#flashing

(Attachment Removed)
[Streak 5 Android Development] smokku:
0x000CDDDA = 843226 bytes, which is the size of my initrd.

The page size of boot.img is 4k so you need to pad the initrd to fill the whole last page with something - preferably zeros.
[Streak 5 Android Development] fone_fanatic:
I was able to extract boot.img using the command "unpack-bootimg.pl" found in split_bootimg.zip from that link.

$ unpack-bootimg.pl boot.img

kernel written to boot.img-kernel.gz
ramdisk written to boot.img-ramdisk.cpio.gz

gzip: ../boot.img-ramdisk.cpio.gz: decompression OK, trailing garbage ignored
591 blocks

extracted ramdisk contents to directory boot.img-ramdisk/

Or is this not the proper way to do it?
[Streak 5 Android Development] smokku:
IIRC unpack-bootimg.pl extracts initrd correctly, but kernel is broken,

and split_bootimg.pl the other way around - kernel is OK, but initrd is incomplete.

But splitting the image is easy. The reconstruction using standard tools (mkbootimg) does not work though.
[Streak 5 Android Development] fone_fanatic:
Ahh ok, haven't tried to repack yet, just been snooping around in it.
[Streak 5 Android Development] kwaaq:
Apologies, first time I've actually gotten home at a sane hr for the past two weeks.
[Streak 5 Android Development] JoeJonnyBoy75:
Thank you very much smokku. I've finally, successfully, recompiled my boot.img and am able to make changes.

Here are the step I used to get it to work. Note that the kernel for the 2.1 roms starts at a lower address then the 1.6 ones.

1. Unpack-bootimg.pl got me the initrd folder and contents.

2. I ended up extracting the header and kernel via a hex editor. I used the gzip headers to find the start of the initrd and then purged it.

3. This left me with a header/kernel file and the initrd folder. I then made the changes to initrd I wanted. (Still lots of testing to do)

4. I modified the script provided by smokku (awesome) to work with the header/kernel file being one file instead of two.

5. Ran the script and recorded the output size.

6. Opened the new compiled boot file with a hex editor and entered the size at address 0x10 (as per smokku).

7. Installed the new boot.img with fastboot and rebooted.

Now it all works and I'm able to modify to my hearts content. Guess I now have to do it with the 8105 build.

Thanks smokku, couldn't have done it without you.
[Streak 5 Android Development] smokku:
Now the only missing link is the kernel source.
[Streak 5 Android Development] smokku:
No probs.

As you can see I managed to get it working. :)
[Streak 5 Android Development] smokku:
And here's a redpill built on 8105 boot.img.

Have fun.
[Streak 5 Android Development] DJ_Steve:
smoku ay chance you could upload your header also as im trying to build boot.img with new kernel but dont have the required header
[Epic 4G General] vazquezcmp:
Juliana Rancic was trying to conceal what looked like the Epic while interviewing folks. I noticed the destinctive hump on the back, and the silver band.
[Epic 4G General] willquil1:
It is the EPIC YOU ARE CORRECT, THEY ARE SPONSORED BY SPRINT AND SAMSUNG I BELIEVE
[Epic 4G General] radar5:
pics?

10 char
[Epic 4G General] vazquezcmp:
I should've snapped some. Snoozed. I was too busy being ticked that she had it early...lol
[Epic 4G General] willquil1:
Does anyone think that Sprint stores may have a few Epics for next Friday? I believe that is when I will be able to pay for it. Any suggestions??
[Epic 4G General] radar5:
loan shark?
[Epic 4G General] kennethpenn:
http://briefmobile.com/epic-4g-at-the-emmy-awards
[XPERIA X10 Q&A, Help & Troubleshooting] xGary:
NVM I feel this should be in another section
[Vibrant General] hitman21888:
I noticed this earlier today. I was playing with the settings on my vibrant trying to optimize my battery life so I put down my haptic feedback level so when I push the soft keys the phone doesn't vibrate hard. But the next time I got a phone call the notification vibration was at the same level as the haptic feedback intensity and I couldn't feel it ring. Is this supposed to happen or is it a bug? Is there anyway I can leave my call vibration strong and the feedback weak?
[Vibrant General] 1buprofen:
I have also noticed this. not sure if it's normal or not however.
[Vibrant General] down8:
I believe this is a feature. I set it to maximum and turned of haptic feedback all together.

-bZj

_____

-sent from my Samsung Vibrant via XDApp
[Droid X General] jvward:
Hi All,

Does anyone know the name of the blur launcher and where by chance it is located, I have been looking around on the rom and cant seem to find it.

Thanks,

Jeff
[Droid X General] phoenx06:
/system/app/Blurhome.apk
[Droid X General] jvward:
any chance you know the location of the lockscreen apk?
[Droid X General] phoenx06:
The lockscreen is part of the framework-res.apk in /system/framework
[Streak 5 General] Keethos:
Hi peeps,

I have recently changed from a locked to O2 (UK) phone to an unlocked handset direct from Dell, and while I was using the O2 handset, I remember that I could change the smiley face button to a return/enter button when typing messages, however, I can't seem to find the option to change this now in the Dell handset.

Anyone know where the option is or was this added on by O2 and not available on the Dell version? Any alternate way of changing this button besides using a different keyboard as I like the 1.6's keyboard.

Please note that my phone it not rooted and obviously still running Android 1.6, THANKS!
[Touch Pro2, Tilt 2 Windows Mobile General] xheroxkefx:
Hello all,

I have just successfully installed TomTom Software.

But i do not have any GPS signal.. ( Same problem in android, No Signal ! )

How can i fix this Signal? I really need it !

thanks!
[Touch Pro2, Tilt 2 Windows Mobile General] _7_:
See:

http://www.xda-developers.com/forum/showthread.php?t=768798

gl
[EVO 4G Q&A, Help & Troubleshooting] Last-Chance:
I've had cm6 for the past 3-4 days, and not having 4g is just making me sad :(.

I like what cm6 has done, and everything, but I just can't stand not being without 4g. there is HUGE difference in speed comparison when you move from 4g to 3g.

The question is, what kernel/rom should i move to?

All the themes are based on cm6, and been trying to google for the past few minutes/hours, and it seems as though there is barely any themes for non-cm6 phones.

Anyone got any advice to which kernel I should move to? that actually has themes for it?
[EVO 4G Q&A, Help & Troubleshooting] Success100:
in MY opinion, the next best rom is Calkulins Evio Rom, ive tried all others before switching to cm6 today, and Calks is just as good as cm6, except is has sense and 4g and Hdmi works.

As far as kernels go, you would need to use king kernal, or netarchys kernels, both have threads in the development section. ive tried both and have had better luck with kings, but again, read the threads and try them for yourself.

as far as themes go, i couldnt tell you as im not a theme person...but there are alot of themes for sense roms floating around
[XPERIA X10 Themes and Apps] speeee:
Could someone please post for me the original Se messaging App

Handscent SMS has plagued me with force closes the last few hours and i removed my original messaging as i had faith in handscent,

Mistake...

Thanks in advance

x
[XPERIA X10 Themes and Apps] Mooozer:
which firmware version?
[XPERIA X10 Themes and Apps] speeee:
R2BA026 =)
[XPERIA X10 Themes and Apps] QuentinCosta:
hey spee but that isnt a handcent problem.

iam using it without problems on same firmware
[XPERIA X10 Themes and Apps] speeee:
I have no idea what it is then, i downloaded a new update for handscent today. version 3.2.9, and have been getting the force closes all evening, its not constant, its happened 3 times now, all of which have been solved by re-booting the phone, but still... its more hastle than its worth if you get me,

plus now that i have Dark10 theme im not to fussed about handscent, only wanted it so it was Black along with the rest of my themes

if anyone can figure out why its force closing then i'm more than happy to fix it and keep handscent, because i do like it very much, jsut cant be arsed with rebooting every time i want to read a text
[XPERIA X10 Themes and Apps] Mobzter:
Well I wouldn't put it past the bit where you removed the stock messaging app!

Anyhu here ya go

http://db.tt/HHnGC8X (messaging app)

http://db.tt/OupbOkF (command file to help push it onto your phone)

well hope it works for you..
[Tilt, TyTN II, MDA Vario III General] amitsivak:
I have both tcpmp and coreplayer. I installed coreplayer after issues with sound and video not playing. Kept getting "..not supported by the player" in tcpmp.

I never had this before. I do have wave.dll's x3 and all other codecs offered installed.

I installed coreplayer and also had issues with that. Every video I tried to play with it through double clicking, I kept getting file not found (can't remember exact message, but something like this) . I somehow figured a way to play the files. I can't remember how, but I used to have to do a open files for anything I wanted to open which is a pain. Now I double click and it opens. But I miss tcpmp.

I tell you though I really like tcpmp but have no idea why I can't play avi's, mpegs, wmv or whatever file I choose to. CP plays it fine. I just don't like CP. In fact I hate it. I just like the way TCPMP feels.

Looking in the program files>tcpmp folder I only see the 3 wave dll's in there. So where are all the drivers I installed like ac3/flac/wavpack etc? I have hide files checked off so I see anything on the phone.

Any help appreciated.
[Captivate Q&A, Help & Troubleshooting] oldskooldawgz:
http://www.engadget.com/2010/08/29/t-mobile-g2-build-flashes-to-other-devices-to-great-results-new/

I'm new at android but i saw this post and i am assuming the other phones its been flashed too are htc but i was still wondering if this could be flashed on the captivate? i know it seems dumb but mayb it can be
[Captivate Q&A, Help & Troubleshooting] shadow65781:
i would bet it wont work
[Captivate Q&A, Help & Troubleshooting] oldskooldawgz:
ya i mean i didnt think so but i thought it might have a slim chance
[Captivate Q&A, Help & Troubleshooting] Kaik541:
I feel like engadget misunderstood. I don't believe the ROM has been fully flashed onto any hardware, it may have been tested in the SDK and it's even possible they were able to import several things (like the modem) and several apk's into something like the nexus one (for instance, phandroid has a commenter claiming to be running the G2 launcher and G2 google apps on stock froyo 2.2 FOR THE NEXUS ONE). I doubt there have been any pre-bakes, but I wouldn't be surprised if there is something there for the nexus one (feel free to show me otherwise, I'd be interested in seeing it)
[Captivate Q&A, Help & Troubleshooting] oldskooldawgz:
I feel the same way after checking sources I don't think its been flashed completely either but one can hope anyways that 2.1 vanilla may be hitting soon which spill be a relief
[Vibrant General] minicris:
hi, i am new to here.

Would you mind to tell me how to back up the factory rom for the BELL GALAXY S VIBRANT from Canada?

I am having the one that cannot do the 3 button recovery mode.

Thanks for helps.
[Vibrant General] 98classic:
uhmm root and use rom manager to reboot into recovery? or back up from rom manager?
[Droid Incredible Q&A, Help & Troubleshooting] g00s3y:
I cannot for the life of me get it to sync my contacts, I have one contact that synced correctly, but none of the others do. Any help here please :confused:
[Vibrant General] dsuycott:
greetings...i've read far too many threads on not being able to boot into "recovery" and "download" and haven't found anything to fix me...

i can successfully get into "recovery" but when i try to reinstall the packages it starts to run a recovery with Clockworkmod etc...it stops and reboots into recovery...this will go on and on...

now when i try to boot into "download" i can't, i've tried many methods none work.

any help?

rooted/clockwork recovery/nandroid back up prior to trying the vibrant7
[Vibrant General] The K-Zoo Kid:
same problem here...

http://xdaforums.com/showthread.php?p=7904808#post7904808

:(
[Vibrant General] dsuycott:
sweet...well, not sweet...PM me if you find a fix: i'll do the same, i have a replacement on the way via t-mobile.

for the record, i've successfully gotten in to download mode and used Odin to get back to factory...twice, once for fun and once for resurrection...i don't know what went wrong, except while nandroiding maybe i backed up a bogus recovery rom before i flashed. i can't get past Vibrant, and i don't even see the battery recharge display either when i usb, i'm letting the battery run down to try and get to the green battery icon to try a "download" mode??? i've read of a move while you see the charging screen but i haven't been able to get there... oh well, live and learn. i am also searching for a way to boot from the removable sd card that has a system or recovery rom on it..nothing yet.

also, i've read people discussing newer models being blocked from download...well like i said i've done this with this phone before but i got a new SIM last week and this is the first attempt with the new SIM???? maybe a coincidence...
[Vibrant General] 98classic:
take battery out, plug in usb to pc, hold vol up n down, replace battery, boom download mode.
[Vibrant General] The K-Zoo Kid:
Alright i will doo... and you restored from odin after the problem started...?
[Vibrant General] dsuycott:
thanks for the reply...i've done that a bazillion times...won't go, i even went to the tmobile store in my hood and no go on their end...
[Vibrant General] dsuycott:
not after, i had restored from odin about two weeks ago...
[Vibrant General] The K-Zoo Kid:
Did you read my post about The stock kernal in eugenes original post?
[Vibrant General] dsuycott:
yes(but i'm over saturated right now, i might have missed something) ...i'm dead in the water, i can't get to the point of anything seeing my device...my computer won't see it except as unknown usb device, no partitions show up, adb doesn't recognize it in any way...maybe i'm a dumb@ss, but i don't see anyway to flash it without at least getting in to download mode, or somehow pushing a .zip at the sd for a recovery??? technically figuring out that stuff is beyond my remaining brain cells...this seems like a dicey way for the phone to rely on when restoring to factory.... it would be nice to have the device look at All available partitions, internal/removable, for a recovery system or have an altogether different sd in the phone for a -R dedicated recovery volume....don't know, i'm a noob at this android stuff sooo....
[Vibrant General] AlexSochi8:
I just applied an official T-mobile screen protector for vibrant... Applied it well with no air bubbles... but when I turned my display on.. I saw that it makes the screen look really blurry and kind of pixelated because of poor quality plastic texture...

I also noticed that the plastic film that the vibrant came with was better quality because it was completely see through and it never worsened the quality of phone's display.

Does anyone else see this with T-mobile screen protectors???

Any recommendations on which one to buy?

I feel like T-mobile really failed at making a screen protector for such a brilliant display.
[Vibrant General] MilkPudding:
I always get screen protectors on Amazon. They are so much cheaper.

I really like the T-mo case for Vibrant though.
[Vibrant General] sano614:
Get the realook screen protectors. They cover the whole entire screen and buttons, can't tell there is a screen protector, and feels like there is no screen protector on!

They are $10.99 I believe for 2 of them on eBay and Amazon.
[Vibrant General] 30Glock:
What about not falling for the screen protector scam these company are running, You dont need a screen protector for this phone, and anything you put on this S amoled screen will lower the quality of the screen, Remember you are applying a film of something that will have an impact. Go Naked its gorgeous.
[Vibrant General] AlexSochi8:
How can you say that... There is No mention of Vibrant having a gorilla glass! On Euro Galaxy S model it does say that it has a gorilla glass protecting the screen.

Plus many users on xda said that they got tiny scratches from having the phone in their pocket.. without anything else in it! So there goes to show you still need a screen protector to protect from salt on finger tips and sand in pockets.
[Vibrant General] johnnyh64:
I keep my phone in my pocket with keys, coins and any number of other things and I do it naked (but that's besides the point) :)

I also saw a video on YouTube in Japanese where the guy was trying to scratch it with razor blades, keys, dropping it and various other tortures. I wish I had the link. Anyway, I agree that this phone does not need a screen protector and you will only be degrading the visual impact to some degree. With that said I know that many people just feel better about doing so.
[Vibrant General] AlexSochi8:
Thanx for your comment... I have seen the video you're speaking of... I was just very sceptical since they show the european galaxy s in there and not the vibrant... And since u said u keep it with ur keys and w/o screen protect that is good news! Thanx!!! I guess Im gona take my ugly t-mobile rip off screen protector off
[Vibrant General] chastbi:
+1 on the realook. You can't even tell it's on there (can't say the same for clearfreak and definitely not the t-mo one. I tried them both.)

By the way, there are plenty of reports of people scratching the Vibrant screen w/ normal use.

http://xdaforums.com/showpost.php?p=7825682&postcount=8

http://xdaforums.com/showpost.php?p=7860398&postcount=13

http://xdaforums.com/showpost.php?p=7877536&postcount=14

http://xdaforums.com/showpost.php?p=7840445&postcount=11
[Vibrant General] Monsi:
The T-Mobile screen protector are a real sh**. I bouth it when i bouth the phone and they are a poor quality ones and dont cover the entire screen
[Vibrant General] opiate46:
No gorilla glass?

There were several articles posted in the last week or so (Engadget, Gizmodo, Androidguys) about how it turns out that gorilla glass was indeed used on the Galaxy phones.
[Vibrant General] acjames:
Skinomi....
[Vibrant General] cthach11:
It has already been confirmed that the vibrant has gorilla glass. I'm not saying it won't scratch. Its probably a tad more resistant.

Sent from my messenger rabbit
[Vibrant General] YepMan68:
Second the motion on Realook

I'm with sano614, I bought and have had the Realook protectors from Day 1 and they are crystal clear, so much so that you can't tell you even have it on, but the protection is there. It's also great that for the price you get two of them. Here's a link to some customer reviews on Amazon: http://www.amazon.com/REALOOK-T-Mobile-Samsung-Vibrant-Protector/product-reviews/B003WL4W6M

Whatever you choose, put something on it. You paid good money for the phone.
[Vibrant General] johnnyh64:
I could bet that these people think they scratched it as I thought mine was scratched SEVERAL times but it was just weird smudges or something that looked like a scratch. After thorough wiping the scratch turned out to be an illusion. My glass is perfectly FLAWLESS with no special treatment whatsoever.

Take it for what it's worth. Maybe I've just been extremely lucky.
[Vibrant General] Goog1e Phone:
Went through 3 different screen protectors and by far Realook is the best. I can't even tell it's even on there.
[Vibrant General] CharonIDRONES:
Realook is amazing, I have had quite a few compliments on it after I tell them there is a screen protector because they don't realize one is there. +1 realook
[Vibrant General] VICosPhi:
+1 for Realook ! Like everyone here already mentioned, you can hardly feel its presence after you apply it and you know you are protected.

I've used Tmobile's screen protector. It gives the display a scattered rainbow like look. The only good thing was the matt finish was very less reflective and less prone to finger prints. I replaced it with Realook and I'm loving it.
[Vibrant General] smashpunks:
I also have used screen protectors religiously. This time I had zagg, **** was too sticky feeling so I ripped it off after some friends said they go naked on there evos, n1s and incredible, so, I said hell, I never put it in my pocket with anything anyways.

Well, Its just sooooo much better without one. Ive yet to get a scratch either and even dropped it in between the seats of the car and it hit all the way down. One guy up above mentioned it looking like theres scratches but were wiped away, Ive also had those and thought, "oh crap I got a scratch," but realized it wiped right off and my screen also is flawless still.

Gorilla glass or not this bad boy is tough... Just reserve one pocket for your phone only. My right is only my phone and my left is everything else. Pretty soon it will become second nature and you wont even need to think what pocket to put **** in...

GO naked, screw protectors.
[Vibrant General] Goog1e Phone:
Honestly, if realook wasn't this amazing, then I would have definitely gone naked since all other screen protectors seem to take away from the Super AMOLED screen. But to all honesty, realook is awesome. It seriously doesn't feel like there's anything on the screen once installed.

The vibrant may have gorilla glass, but why not invest $10 bucks to protect a $500 phone anyways?
[Vibrant General] tissimo:
I don't run a screen protector and haven't had any problems with the vibrant or my old G1. I do keep my vibrant in my old G1 pouch case though when its in my pocket.

Sent from my SGS Vibrant