Any diagram for the Android disk layout? - G1 Android Development

Such as where is SPL, where puts the radio, the recovery image etc...
Thanks.

sunwen_chen said:
Such as where is SPL, where puts the radio, the recovery image etc...
Click to expand...
Click to collapse
it would be really nice if you wouldn't post a new thread for every question you want answered

Related

What's the purpose of flashing boot.img?

Hey,
Sorry for the noob question - but I wasn't able to find anything on this. Everyone seems to take this as it is, but I simply want to know why boot.img is flashed in order to get root and how it affects the phone.
I followed this tutorial to get my Rogers Magic rooted.
What did the boot.img do in this case and can I use Amon_RA's RAv1.1.2 ION Recovery or do I need to flash another boot image in order to use a different recovery.img.
Basically, I just want to know why I do the steps that I do.
vladkor said:
Hey,
Sorry for the noob question - but I wasn't able to find anything on this. Everyone seems to take this as it is, but I simply want to know why boot.img is flashed in order to get root and how it affects the phone.
I followed this tutorial to get my Rogers Magic rooted.
What did the boot.img do in this case and can I use Amon_RA's RAv1.1.2 ION Recovery or do I need to flash another boot image in order to use a different recovery.img.
Basically, I just want to know why I do the steps that I do.
Click to expand...
Click to collapse
boot.img contains
the actual linux kernel for the phone
small ramdrive to start the system
system.img contains
android os, libraries,system settings and applications
userdata.img contains apps, and user settings
br
jerpelea said:
boot.img contains
the actual linux kernel for the phone
small ramdrive to start the system
system.img contains
android os, libraries,system settings and applications
userdata.img contains apps, and user settings
br
Click to expand...
Click to collapse
Thanks for the reply! I'm still lost though on the whole 'fastboot flash boot boot.img' part.
Is there a specific/best/newest boot.img that I should be using with the Rogers Magic? Are there different ones out there or is it just one standard one?

[DUMP] Official Singapore Sense 32A

Hi all,
I've downloaded the RUU and have uploaded the RUU, as well as the images within it.
RUU:
http://rapidshare.com/files/3053191...E_3.03.707.5_R_SG_release_signed_NoDriver.exe
boot.img, recovery.img, splash1_HTC_Magic.nb0, system.img, userdata.img (I know some of these are not needed but I'm just posting things as they are, the original name was rom1.zip):
http://rapidshare.com/files/305319407/system_boot_recovery.zip
boot_special.img, hboot_7200A_1.76.0007_090804.nb0, radio.img (originally rom.zip)
http://rapidshare.com/files/305301844/other_imgs.zip
And yes, you can use the RUU directly but your radio will be overwritten. This is more for the devs/cooks!
failed to unyaffs system.img..when unyaffs to "system/libs",it crashed...sobbing..
Hi, would it be possible to update my radio only? How would I do that?
Replace the radio.img into a zip file with the proper xml and directories and name it as update.zip ?
noob question : can i apply the RUU directly on unrooted magic ?
Remobero said:
noob question : can i apply the RUU directly on unrooted magic ?
Click to expand...
Click to collapse
Yes, you can.
You can but you will get the perfect spl as well.
Ayerwin: thats weird i didnt do anything, got them straight from the ruu. Can someone else try? I dont have access to a pc now.
Wysie said:
You can but you will get the perfect spl as well.
Ayerwin: thats weird i didnt do anything, got them straight from the ruu. Can someone else try? I dont have access to a pc now.
Click to expand...
Click to collapse
i have perfect spl anyway on high built (2.56.415.5) so i guess i can't root my magic anyway .. all i am worried about is the Arabic font .. can i inject it later ?
Wysie said:
Hi all,
I've downloaded the RUU and have uploaded the RUU, as well as the images within it.
RUU:
http://rapidshare.com/files/3053191...E_3.03.707.5_R_SG_release_signed_NoDriver.exe
boot.img, recovery.img, splash1_HTC_Magic.nb0, system.img, userdata.img (I know some of these are not needed but I'm just posting things as they are, the original name was rom1.zip):
http://rapidshare.com/files/305319407/system_boot_recovery.zip
boot_special.img, hboot_7200A_1.76.0007_090804.nb0, radio.img (originally rom.zip)
http://rapidshare.com/files/305301844/other_imgs.zip
And yes, you can use the RUU directly but your radio will be overwritten. This is more for the devs/cooks!
Click to expand...
Click to collapse
Thanks man
Wysie said:
You can but you will get the perfect spl as well.
Ayerwin: thats weird i didnt do anything, got them straight from the ruu. Can someone else try? I dont have access to a pc now.
Click to expand...
Click to collapse
Yes. I succefully unyaffs'ed system.img
Download:
http://rapidshare.com/files/305427401/system_unyaffsed.rar.html
4shared system_unyaffsed.rar
p.s. Can anybody compile mkbootfs, mkbootimg for win32 ?
5[Strogino] said:
Yes. I succefully unyaffs'ed system.img
Download:
http://rapidshare.com/files/305427401/system_unyaffsed.rar.html
4shared system_unyaffsed.rar
p.s. Can anybody compile mkbootfs, mkbootimg for win32 ?
Click to expand...
Click to collapse
Thanks for the update!
Is there a way to have this rom but with a NONPERFECT SPL???
Hmm... Cursed or Blessed?
I am an Android app developer. I just tried using RUU to flash the image with out noticing it has perfected SPL etc....
Now, I am not able to go back to 1.6 custom AmonRA's image..
Am I blessed or Cursed?
THanks.
Andfreek!
So sad but me too!
I really want to get out of the perfected SPL but don't know how. let's pray for the one who save us...
andfreek said:
I am an Android app developer. I just tried using RUU to flash the image with out noticing it has perfected SPL etc....
Now, I am not able to go back to 1.6 custom AmonRA's image..
Am I blessed or Cursed?
THanks.
Andfreek!
Click to expand...
Click to collapse
Thanks for the dumps
Wysie,
Thanks for the dumps. I don't use Windows and I had no access to the contents of the RUU without your dumps.
For the life of me, I can't figure out why companies like HTC which use Free/Open Source Software like Linux don't make their update tools to run on Linux.
flash system.img fails
I have RAmon 1.2.3H recovery. I was able to flash the boot.img from the dump. However it fails on
fastboot flash system system.img
hcadiz said:
I have RAmon 1.2.3H recovery. I was able to flash the boot.img from the dump. However it fails on
fastboot flash system system.img
Click to expand...
Click to collapse
mine too failed at system.img, how to fix it using HTC Magic Rogers 32A
paindoo said:
mine too failed at system.img, how to fix it using HTC Magic Rogers 32A
Click to expand...
Click to collapse
the image file is as big as a hero image, wouldn't fit into you system partition. RUU changes partitioning on the phone to make system bigger as in Hero.
We need to find out how to change the size of a partition in Magic by Hand!
shwan_3 said:
the image file is as big as a hero image, wouldn't fit into you system partition. RUU changes partitioning on the phone to make system bigger as in Hero.
We need to find out how to change the size of a partition in Magic by Hand!
Click to expand...
Click to collapse
It seems you are right, I was able to install non-senseui roms quite easily using the method described in 1st post. How to increase the size of system partition Hmmmmmm!!!
I'm hoping that some developer give us this rom with the radio version and everything but with root...
HTC just released the ROM for other Countrys (Indonesia, Malaysia & Vietnam) but i doubt that there are differences to the Singapore ROM.

[Help] Pull radio image from device

Hi all,
I was wondering if there's any way to pull (backup) the radio image from a device to use on another, or for backup purposes.
I would like to pull a radio image from a device that is running a radio much newer than any available through regular channels.
Any help would be great.
Thanks!
use 1 click root to flash recovery and nand backup
charnsingh_online said:
use 1 click root to flash recovery and nand backup
Click to expand...
Click to collapse
Nandroid doesn't backup the radio.
I need to know if anyone has the NAND addresses for the radio?
eugene might know ask on twitter
What version of radio is the one you found???
:No-Frost: said:
What version of radio is the one you found???
Click to expand...
Click to collapse
I've noticed that some phones from South America have 6.35.08.29.
I tried 'fastboot oem save2sd radio radio.img' and ended up with a 128KB file. Radio images should be about 22MB. Something isn't jiving here.
It won't be possible with our tools, as the radio image isn't in the MTD NAND but on a special radio chip I think.
that makes sense but then how can we write to that nand and not read from it?
shael said:
that makes sense but then how can we write to that nand and not read from it?
Click to expand...
Click to collapse
Exactly.
When I run the 'fastboot oem listpartition' it shows the radio partition, and shows its size of about 36000KB, so I know it's there. It just won't back up.
cursordroid said:
Exactly.
When I run the 'fastboot oem listpartition' it shows the radio partition, and shows its size of about 36000KB, so I know it's there. It just won't back up.
Click to expand...
Click to collapse
how about trying to just save those blocks manually?
shael said:
how about trying to just save those blocks manually?
Click to expand...
Click to collapse
I'd like to do that, but I don't know the command... Do you?
no and i cant even play around with anything i dunt have a dev phone... or does root give me the same access?

[Q] How to flash old radio?

Hi everyone, I wanna ask something.
Few weeks ago, I just flashed a new radio 20.4801.30.0822U_3822.10.08.04_M on my device, but after a few weeks later I think my old radio is still better than this one.
the question is, can I just flash my old radio in the same way just like when I flashed the new Radio?
Is it possible to perform a "downgrade" in Radio?
many thanks guys
The radio images are not version dependent. You can change them freely. I recommend you to use Android Flasher for this purpose - just a couple of mouse clicks and you are done
amidabuddha said:
The radio images are not version dependent. You can change them freely. I recommend you to use Android Flasher for this purpose - just a couple of mouse clicks and you are done
Click to expand...
Click to collapse
Wow thanks man, I really appreciate your answer (of course I also clicked thanks )
But, what is Android Flasher?
Akishima said:
But, what is Android Flasher?
Click to expand...
Click to collapse
A nice tool for flashing Radio, hboot, recovery and splashscreen.
Link
amidabuddha said:
The radio images are not version dependent. You can change them freely. I recommend you to use Android Flasher for this purpose - just a couple of mouse clicks and you are done
Click to expand...
Click to collapse
amidabuddha said:
A nice tool for flashing Radio, hboot, recovery and splashscreen.
Link
Click to expand...
Click to collapse
wow,, I'll try it
anyway, do you have any suggestion or precaution before I flash my old radio? like wipe dalvik cache first or something like that?
Akishima said:
wow,, I'll try it
anyway, do you have any suggestion or precaution before I flash my old radio? like wipe dalvik cache first or something like that?
Click to expand...
Click to collapse
Cache wipe. Actually is good to do this before flashing anything on your device, because the cache partition is used as a temporary storage sometimes
Your device must be S-OFF to flash images directly. Otherwise you can flash your old radio the same way you flashed the new one.
dmatik said:
Otherwise you can flash your old radio the same way you flashed the new one.
Click to expand...
Click to collapse
And what is this method??? I do not know other ways to flash radio images but directly via fastboot (which is the Android Flasher dressed in GUI)
amidabuddha said:
Cache wipe. Actually is good to do this before flashing anything on your device, because the cache partition is used as a temporary storage sometimes
Click to expand...
Click to collapse
Okay thanks a bunch man
dmatik said:
Your device must be S-OFF to flash images directly. Otherwise you can flash your old radio the same way you flashed the new one.
Click to expand...
Click to collapse
I don't understand what you mean, coz of course I already S-OFFed my device..

Quick newbiesh question about kernels

Forgive my ignorance, i've tried to do a few searches to answer my question but none have directly addressed it.
I recently rooted 2.20 successfully, installed CleanROM. If I want to flash a kernel, say cleanKERNEL, all I have to do is move the .zip onto the phone, boot into bootloader, and flash it that way? If I flash a kernel, will I loose all the customization I've done on the current ROM?
Any help would be appreciated.
style2burn said:
Forgive my ignorance, i've tried to do a few searches to answer my question but none have directly addressed it.
I recently rooted 2.20 successfully, installed CleanROM. If I want to flash a kernel, say cleanKERNEL, all I have to do is move the .zip onto the phone, boot into bootloader, and flash it that way? If I flash a kernel, will I loose all the customization I've done on the current ROM?
Any help would be appreciated.
Click to expand...
Click to collapse
I'm unclear on whether you can flash kernels with the new hboot in 2.20, but if you can, you flash it like anything else. It shouldn't affect the rom as long as they're compatible.
iElvis said:
I'm unclear on whether you can flash kernels with the new hboot in 2.20, but if you can, you flash it like anything else. It shouldn't affect the rom as long as they're compatible.
Click to expand...
Click to collapse
I was under the impression that you would have to use fastboot, not recovery.
style2burn said:
I was under the impression that you would have to use fastboot, not recovery.
Click to expand...
Click to collapse
Yes, I think that's correct with the new hboot.
iElvis said:
Yes, I think that's correct with the new hboot.
Click to expand...
Click to collapse
Can someone give quick instructions on how to do it through fastboot? Or link me to a resouce that says how? I've searched a bit but can't find something that exactly answers my question. Any help would be appreciated.
style2burn said:
Can someone give quick instructions on how to do it through fastboot? Or link me to a resouce that says how? I've searched a bit but can't find something that exactly answers my question. Any help would be appreciated.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1954060
if you flashed 2.20 at anytime you have to ALWAYS flash boot.img in fastboot
DvineLord said:
if you flashed 2.20 at anytime you have to ALWAYS flash boot.img in fastboot
Click to expand...
Click to collapse
Right, I did do that. But now I'm trying to flash a kernel. I have the new CleanKERNEL zip file, but I'm not seeing a boot.img in the zip.So I keep looking for some sort of .img, flash it, move CleanKERNEL zip to my phone, then flash that?
Any help would be appreciated.
Oh right... It builds the boot.img on the fly when it is installed from recovery. I believe you need to try and flash the kernel zip file from recovery. It will fail since you have to 2.20 hboot, but it will create the boot.img in a temp dir somewhere on your phone, which you can copy to your pc and flash via fastboot.
denversc said:
Oh right... It builds the boot.img on the fly when it is installed from recovery. I believe you need to try and flash the kernel zip file from recovery. It will fail since you have to 2.20 hboot, but it will create the boot.img in a temp dir somewhere on your phone, which you can copy to your pc and flash via fastboot.
Click to expand...
Click to collapse
So I have to copy the kernel to my phone, open up recovery, attempt to flash it, it will fail, open up my phone through windows, find the boot.img, manually flash it from fastboot, then go into recovery and flash the kernel??????
style2burn said:
So I have to copy the kernel to my phone, open up recovery, attempt to flash it, it will fail, open up my phone through windows, find the boot.img, manually flash it from fastboot, then go into recovery and flash the kernel??????
Click to expand...
Click to collapse
Yes, except for the very last step of re-flashing from recovery. I haven't personally tried this since I'm not on AT&T and can flash whatever from recovery, but I've seen this method discussed several times in the Blackout BeastMode custom kernel thread.
denversc said:
Yes, except for the very last step of re-flashing from recovery. I haven't personally tried this since I'm not on AT&T and can flash whatever from recovery, but I've seen this method discussed several times in the Blackout BeastMode custom kernel thread.
Click to expand...
Click to collapse
Hmmm ok thanks alot for the advice. I guess I'll have to dig through the blackout beastmode thread to see the exact directions. Again, thanks for all the advice
style2burn said:
Hmmm ok thanks alot for the advice. I guess I'll have to dig through the blackout beastmode thread to see the exact directions. Again, thanks for all the advice
Click to expand...
Click to collapse
Looks like the people in the blackout beastmode thread already have a boot.img for them to use without looking for the one created in the temp file. Unless I can just use the boot.img from cleanROM which I'm already running? Or the kernel requires its on boot.img??
style2burn said:
Looks like the people in the blackout beastmode thread already have a boot.img for them to use without looking for the one created in the temp file. Unless I can just use the boot.img from cleanROM which I'm already running? Or the kernel requires its on boot.img??
Click to expand...
Click to collapse
Hmmm... I thought Blackout BeastMode created boot.img on the fly. Perhaps not. The next thread I would direct you to is the CleanROM thread. Or you could try the BeastMode kernel haha. Sorry can't be more help. I just don't have any first-hand experience.
Has anyone else flashed CleanKernel on 2.20 AT&T device?

Categories

Resources