[Q] How to create system.img file from a flashable zip?

Discussion about anything related to Android or this forum here.
Moderator: Forum Moderator

[Q] How to create system.img file from a flashable zip?

Postby symbuzzer » Fri Jul 12, 2013 7:30 am

I want to make a experimental native android rom, which is flashable via spl (leoimg.nbh method) like a windows mobile rom with kokotas lastest black lk. I can make recovery.img, boot.img files. But I dont know how to make system.img and userdata.img from a flashable zip. Can anyone help me about this project?
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Advertisement
 

Re: [Q] How to create system.img file from a flashable zip?

Postby Robbie P » Fri Jul 12, 2013 12:58 pm

If you flash the zip to phone, then do a nandroid backup, you should get system.img I think.
Also I just found a windows tool here http://forum.xda-developers.com/showthr ... ?t=1645412 might help
HTC HD2 (EU)
SPL 2.08. HSPL3;
Magldr 1.13 thanks bepe & Cotulla
On NAND - WP7.8 pdaimatejam v8.8 thanks to pdaimatejam, DFT, YukiXDA, xboxmod etc
On SDcards - Numerous Android SD builds & NativeSD ROMs (Thanks boonbing, Xylograph, securecrt & Almighty tytung!)
Radio 2.15.50.14
User avatar
Robbie P
Recognized Contributor
 
Posts: 154
Joined: Tue Jun 25, 2013 12:04 am
Location: London
Country: United Kingdom (uk)
Has thanked: 127 times
Been thanked: 124 times

Re: [Q] How to create system.img file from a flashable zip?

Postby symbuzzer » Fri Jul 12, 2013 1:05 pm

Robbie P wrote:If you flash the zip to phone, then do a nandroid backup, you should get system.img I think.
Also I just found a windows tool here http://forum.xda-developers.com/showthr ... ?t=1645412 might help


I know CWR trick too. But Kokotas said to me it uses "dump_image" binary for boot and recovery partitions, "mkyaffs2image" binary for system and data partitions. So maybe cwr's system.img wont work. I will try 2 methods tomorrow and will write here status. Thanks for your help:D
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: [Q] How to create system.img file from a flashable zip?

Postby symbuzzer » Fri Jul 12, 2013 1:13 pm

Probably yaffey wont work

...
- Can't create symbolic links
- Can't export symbolic links
...

https://code.google.com/p/yaffey/

I must create all sym-links manually with a linux distro:(
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: [Q] How to create system.img file from a flashable zip?

Postby tytung » Fri Jul 12, 2013 7:07 pm

I created a virtual machine and installed Ubuntu using VMware Player on Windows.
The virtual machine is very convenient.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: [Q] How to create system.img file from a flashable zip?

Postby symbuzzer » Fri Jul 12, 2013 7:25 pm

tytung wrote:I created a virtual machine and installed Ubuntu using VMware Player on Windows.
The virtual machine is very convenient.


It is a good idea, thanks tytung. But I aborted this project, because I couldnt compile Kokotos Black LK without any help. Maybe this will be inspire anyone.
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: [Q] How to create system.img file from a flashable zip?

Postby symbuzzer » Fri Jul 19, 2013 9:07 pm

I found a way finally. 4Ext Recovery backups were working with daf installer.
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron