Hello,
I have a zip file which contains boot.img, hboot.nb0, radio.img, recovery.img, splash1.nb0, system.img and userdata.img.
Also there is a text file called android-info with the following content:
modelid:CLIC10000
cidnum:HTC__001
cidnum:HTC__102
cidnum:HTC__203
cidnum:HTC__E11
cidnum:HTC__016
cidnum:HTC__032
cidnum:HTC__Y13
cidnum:HTC__506
cidnum:HTC__304
cidnum:HTC__405
cidnum:HTC__N34
cidnum:11111111
mainver:1.65.405.1
Click to expand...
Click to collapse
It is a tattoo rom.
My question is, if I flash hboot.nb0 to my phone and my phone's cid is not in the above list, will it kill my phone?
Also, how do I get the cid of my tattoo knowing that I dont have root access?
Thank you
Related
boot.img and recovery.img can be extracted, anyone can share/guide how to do this to system.img ?
hdubli said:
boot.img and recovery.img can be extracted, anyone can share/guide how to do this to system.img ?
Click to expand...
Click to collapse
what phone? usually the "dd" command works since its low level copying.
usage is:
#dd if=/system of=/sdcard/system.img
Click to expand...
Click to collapse
it may take a while.
one word.....unyaffs
get ahold of a unyaffs.exe, place the boot.img in the folder, and voila.
Im trying to add some ringtones and apps into one of my favorite roms so things will be a little easier when Im testing out other roms...I think the new zip file I make though needs to be signed. Can anyone point me into the right direction??
Amon_RA said:
You can get any custom ROM working on your Rogers Magic and basically on every HTC branded Magic around. If you like to "port" a custom Google-branded ROM to a HTC-branded ROM follow these steps :
- I assume that you have basic Linux knowledge and that you know how to set up your own environment and tools, unpack gz files and cpio them etc...
- Download these tools. They contain the JesusFreke's SignApp, William Enck's splitboot using my recompiled mkbootimg-H binary (including the HTC branded offsets), and a repack pearl script.
Now the actually work :
1. Get the boot.img and recovery.img from your original HTC branded Magic (fastboot my recovery image and use nandroid for this).
2. unpack the boot.img and recovery.img using unpack-H.pl.
3. move both kernels somewhere save, you'll need them later.
4. Download the google branded custom ROM you want to port, most of the custom ROMs come in the form of a update.zip file.
5. Extract the boot.img and recovery.img (if there is one) from the update.zip.
6. unpack the boot.img and recovery.img (same as step 2).
7. replace both kernels with the ones you saved previously in step 3.
8. repack boot boot.img and recovery.img using repack-H.pl
9. copy both boot.img and recovery.img in the update.zip package making sure you overwrite the existing ones inside with the new ones.
10. Sign the update.zip file with SignApp (see readme inside rar).
11. Copy the update.zip file to your SDcard.
12. fastboot my recovery image and choose data wipe and then update.
13. reboot
Good luck
Click to expand...
Click to collapse
This is where I get confused at. I read this "Usage:
java -jar signapk.jar testkey.x509.pem testkey.pk8 <update.zip> <update_signed.zip>" But I dont know how to do that...Im using OSX right now is there any way to do it or do I need linux?
Can anyone give me some advice??
Here is everything you need to know:
http://forum.xda-developers.com/showthread.php?t=473580
(A search would have found you the answer faster than I did...)
betelgeuse74 said:
Here is everything you need to know:
http://forum.xda-developers.com/showthread.php?t=473580
(A search would have found you the answer faster than I did...)
Click to expand...
Click to collapse
Agreed
But at least he made the effort unlike some!
http://androidspin.com/2010/10/18/rom-leaked-for-the-t-mobile-mytouch-htc-glacier/
think we can use this to extract the wifi-calling and other goodies to our G2s?
Not until write protection is disabled...
Sent from my T-Mobile G2 using XDA App
For anyone that would like to open it up and look at what is inside the ROM, it is a RAR file. Once you have it downloaded change ZIP to RAR and open it.
The contents:
Code:
android-info.txt 73
boot.img 2,994,176
hboot_0.86.0000.nb 1,048,576
radio.img 25,427,968
rcdata.img 114
recovery.img 4,042,752
splash1.nb0 786,432
system.img 585,101,312
72,945 tp_atmel224_20aa.img 72,945
72,289 tp_atmelc12_20aa.img 72,289
userdata.img 1,232,072,704
I do not know what the userdata.img is yet, but it is big. Maybe the Apps already installed to SD? Oh, maybe user data like videos, games, music. That makes sense.
android-info.txt contains:
Code:
modelid: PD1510000
cidnum: T-MOB010
hbootpreupdate:2
mainver: 1.14.531.1
-Unconnected
Edit: maybe I should find some other place to post this data (too?)
That wifi call stuff requires more than just an app. IIRC there's a kernel module and VPN connection to deal with. Extracting these from the MyTouch rom is dubious, but not impossible. The write protection is still the limiting factor at the moment.
userdata is just your user partition.
It's an (almost) empty preformatted ext3 to dd.
You can mount-loop it as ext3 and browse through the contents.
Can anybody post a mirror? I've tried a few times to get it with no luck... :-/
Hello XDA, I'm kind of new to ROMs etc. and would appreciate some help. I am trying to install mikegapinski's 2.3.7 ROM (v5) through fastboot and whereas in the past I have seen a boot.img and a system.img, there is a boot.img and a system folder. Is there a way to make the folder into a system.img file that I could flash onto my GT540?
In short, how do you make a system.img file out of a folder with system files in them?
hey there !
(system.img + boot.img) is for fastboot
fastboot flash boot boot.img
fastboot flash system system.img
and the (system folder + boot.img) is for recovery
use any recovery
select zip from sdcard
select the zip
i dont think you can convert the folder to a .img(or the other way around) . and if the rom you are talking about mike's aosp v5 then i wont recommend it as for now there are problems with the ram and so it becomes very laggy. i would recommend mur4iks swiftdroid asis but the choice is yours
I know you can 'extract' images using 'unyaffs' but I never made an image from a folder (except when dumping partitions). I think there is a way though.
If you have Linux on your PC, then you can use the 'yaffs' tool. Search it on Google.
This is how even AOSP compiles system folder into system.img
Sent from my LG GT540 Swift using XDA App
I list found this. Should work!
http://db.tt/ROQSWTW6
Sent from my LG GT540 Swift using Tapatalk
can someone please help me to make system.img from system extraxted folder.
my phone its dead and i can find right rom for it
allway hang on boot logo
Please
link for download
https://www.dropbox.com/s/c99ashouw0fb4hp/system.rar
PS
will if neeed no problem
I got it. If you use Linux, you can create an iso file of the system folder, and then convert it to .img. Just follow it:
In a terminal(CTRL+ALT+T):
Code:
mkisofs -o /path/to/the/system/folder ~/system.iso
dd if=~/system.iso of=~/system.img
rm ~/system.iso
Your system.img will be on your home directory.
and it work's too ? (when you flash it from fastboot)
y2yu said:
can someone please help me to make system.img from system extraxted folder.
my phone its dead and i can find right rom for it
allway hang on boot logo
Please
link for download
https://www.dropbox.com/s/c99ashouw0fb4hp/system.rar
PS
will if neeed no problem
Click to expand...
Click to collapse
pls if you find a solutuon please pm me. And do you think flashing the system.img will solve booting probz?
suggestion
take a look at this url, and examine the zip file contained.
you could boot into cwm and install the zip (not suggesting, its what i did)
if u make a zip file in the same layout you could install your zip and it will update the system partition.
as you have a desire, heres whats required
on phone: place phone into fastboot mode
on computer: unzip to a folder , place the img file in such folder,
open a command prompt, (navigate to folder using the cd command)
and type: fastboot boot bravo-cwm.img
mount sd card, toggle usb storage, place your zip in root of sdcard.
then untoggle, go back, select option to install zip from sdcard.
choose select zip file.
find your zip.
tap on the file, and it will install...
you SHOULD by this point have an updated phone as you desired (lol)
if it does not work as you expected, have a look for a standard system.img for your phone, and put that into a zip
name the zip (i put it in caps, weather needed i dont know) PM99IMG.zip
place it into root of sdcard, and put phone into the first screen of recovery menu, the white screen.
it will analyze your zip and ask you to install, press up to flash and then the required option to reboot when its done to revert your phone back to normal.
hope this helps there buddy,
ill most likley forget to check back, so if u need any help pm me and ill see what i can do,
Is this working
Edu_Renesto said:
I got it. If you use Linux, you can create an iso file of the system folder, and then convert it to .img. Just follow it:
In a terminal(CTRL+ALT+T):
Code:
mkisofs -o /path/to/the/system/folder ~/system.iso
dd if=~/system.iso of=~/system.img
rm ~/system.iso
Your system.img will be on your home directory.
Click to expand...
Click to collapse
HI Bro,
Is the output file system.img after flash into the rom?
phone stuck in usb logo... i have zenfone 4
Yaffey for Windows Might Help
tejasjadhav said:
If you have Linux on your PC, then you can use the 'yaffs' tool. Search it on Google.
This is how even AOSP compiles system folder into system.img
Sent from my LG GT540 Swift using XDA App
Click to expand...
Click to collapse
And if you have Windows on your PC, try Yaffey! http://www.xda-developers.com/yaffey-for-all-your-yaffs2-needs/
Can anyone please give me a copy of the .33 baseband? im still on the .24 baseband
Im on J0P40D and i would like to be on the .33 baseband.
All I could find was the CWM .33 baseband by efrant but i have TWRP and am not sure if thats flashable.
Thank you
Link me the baseband file you found I will look if it's flash able or if it's meant to be flashed via bootloader mode
Sent from my Nexus 4 using xda premium
zephiK said:
Link me the baseband file you found I will look if it's flash able or if it's meant to be flashed via bootloader mode
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
lol took me so long to find it again but here it is
http://d-h.st/hlR
Well considering the filename (i don't even have to DL it)
Filename: cwm-radio-mako-m9615a-cefwm
implies that its ClockWorkMod ... so yeah it is a flashable zip, works in any recovery
alternatively, you can extract the zip file and fastboot flash the radio by,
fastboot flash radio modem.img (place modem.img) in /platform-tools/ in fastboot.exe folder
zephiK said:
Well considering the filename (i don't even have to DL it)
Filename: cwm-radio-mako-m9615a-cefwm
implies that its ClockWorkMod ... so yeah it is a flashable zip, works in any recovery
alternatively, you can extract the zip file and fastboot flash the radio by,
fastboot flash radio modem.img (place modem.img) in /platform-tools/ in fastboot.exe folder
Click to expand...
Click to collapse
Thank you Master Zephik.
Now my next task is to figure out how to backup my baseband. have a nice day
Postal Psycho said:
Thank you Master Zephik.
Now my next task is to figure out how to backup my baseband. have a nice day
Click to expand...
Click to collapse
Anytime! thanks for the thanks. I had a link on how to back up basebands for Galaxy Nexus, not sure if it works on the N4 though. I'll have to look for it.
dd if=/dev/mtd/mtd5 of=/sdcard/radio.img count=12583040 was the command (type it in terminal emulator or adb shell)
adb shell would be, adb shell....... then type ^^
(Again unsure if this works on N4) alternatively u can just download the stock images somewhere on the internet as google removed them but they're mirrored somewhere and the .img for radio is in there.
what would happen before is when you type that command. it should output a file named radio.img in your /sdcard/ folder which is your radio.
zephiK said:
Anytime! thanks for the thanks. I had a link on how to back up basebands for Galaxy Nexus, not sure if it works on the N4 though. I'll have to look for it.
dd if=/dev/mtd/mtd5 of=/sdcard/radio.img count=12583040 was the command (type it in terminal emulator or adb shell)
adb shell would be, adb shell....... then type ^^
(Again unsure if this works on N4) alternatively u can just download the stock images somewhere on the internet as google removed them but they're mirrored somewhere and the .img for radio is in there.
what would happen before is when you type that command. it should output a file named radio.img in your /sdcard/ folder which is your radio.
Click to expand...
Click to collapse
i have a nandroid of my stock rom, does it contain the radio? because flashing custom roms i dont think they contain radios