Related
Hi, I've only tried this on a single HTC Hero from Orange UK. I'm about to order one myself, so I'll report back whether it works on there too.
This file (3mb ish) contains the unmodified boot.img dumped from the phone, as well as boot.img.insecure, which is modified to turn off security (exact details here)
I've been testing this with the following method. Obviously if you try this it is at your own risk. You'll need a copy of "fastboot".
1) Decompress zip
2) Attach phone to USB.
3) Turn phone off.
4) Press and hold the back button, then press "power".
5) You should be in the bootloader, and it should say "FASTBOOT USB".
6) On your PC, run "fastboot boot boot.img.insecure".
The phone should boot normally. However, if you do a normal "adb shell", that shell will be running as root.
Note that this doesn't actually flash the phone; it simply uploads a kernel and tells it to boot it. On reboot, it will return to the original secured rom stored on the phone. Of course if you make changes to the filing systems as root, those will be stored to flash.
I just flashed your boot.img onto my HTC branded hero and it work just fine. Thank you sir.
Edit: Hmm just lost wifi capability. Reverting back to stock boot.img
i'm guessing there isn't much point in rooting until a newer device/os comes out?
Will it Work 4 me
I have ordered a sim free phone from the UK (I'm from Israel)
and i need root access to be able to install more font's .
Will this work for me ?
Thanks
JWallstreet said:
I just flashed your boot.img onto my HTC branded hero and it work just fine. Thank you sir.
Edit: Hmm just lost wifi capability. Reverting back to stock boot.img
Click to expand...
Click to collapse
Jwallstreet, try verifying you use the /system/lib/modules/wlan.ko which matches the kernel version you are booting.
It has to be the same build otherwise linux kernel doesn't load the wifi kernel module and your wifi won't work.
fakeer said:
I have ordered a sim free phone from the UK (I'm from Israel)
and i need root access to be able to install more font's .
Will this work for me ?
Thanks
Click to expand...
Click to collapse
It depends on the firmware you'll get on your hero.
Until now it seems all HERO owners reported an SPL able to fastboot rom images.
My Hero Version
Until now it seems all HERO owners reported an SPL able to fastboot rom images. ?
That is SPL ?
how can i know if i got the "good" version ?
Without actually trying to boot an image, the best method I can think of would be to turn it on holding down the BACK button to enter the bootloader, and see what HBOOT version it says it has. Mine says "HBOOT-1.76.0004 (HERO10000)"
daldroid said:
Jwallstreet, try verifying you use the /system/lib/modules/wlan.ko which matches the kernel version you are booting.
It has to be the same build otherwise linux kernel doesn't load the wifi kernel module and your wifi won't work.
Click to expand...
Click to collapse
Running "lsmod" under an adb shell will tell you whether the wifi module is loaded or not. That works even on an un-rooted phone. Mine says:
Code:
wlan 591348 1 - Live 0xbf000000
and they say we are a bit back on some things...
nice to know there are android pips in Israel...
fakeer said:
I have ordered a sim free phone from the UK (I'm from Israel)
and i need root access to be able to install more font's .
Will this work for me ?
Thanks
Click to expand...
Click to collapse
Hebrew Fonts
I Have the same version as you "HBOOT-1.76.0004 (HERO10000)"
Can i use you'r method and use in this guide ?
http://forum.xda-developers.com/showthread.php?t=480964
if someone can help me it will be excellent (and after i do it i will write a guide).
I really need it.
Thanks for your help
fakeer said:
I Have the same version as you "HBOOT-1.76.0004 (HERO10000)"
Can i use you'r method and use in this guide ?
http://forum.xda-developers.com/showthread.php?t=480964
if someone can help me it will be excellent (and after i do it i will write a guide).
I really need it.
Thanks for your help
Click to expand...
Click to collapse
Hey Fakeer,
A guide would be awesome! I also just bought a UK unlocked Hero and also am from Israel, and my biggest worry is that I wont be able to install hebrew fonts.
I am also very new to android. I have been with winmo for many years and just now decided to try Android.
Please report your success/failure with this issue. It would be greatly appreciated.
hebrew fonts
I will let you know as soon as I will make it work .
Let's hope someone here can help me get root access on the device
I managed to "port" cyanogen's cm-recovery-1.4. The kernel is from my wwe version of hero ( 2.6.27-a5504199 #521 PREEMPT Fri Jul 3 07:56:53 CST 2009 ) . I've also recompiled the recovery binary, setting the right keycode for the trackball "press" event (the keycode is 191 ), and removing the console option from the menu.
i've tried only nandroid backup and it works fine. there's no reason for the other "utilities" not to work. There's also root through adb so you can make changes to the filesystem.
i've not "flashed" this image, no reason for now . I've only used it with "fastboot boot cm-hero-recovery.img", and everything seems to work fine.
link(10 downloads): http://rapidshare.com/files/262328508/cm-hero-recovery.img.zip.html
thanks to cyanogen for his awesome work
elcom said:
Hey Fakeer,
A guide would be awesome! I also just bought a UK unlocked Hero and also am from Israel, and my biggest worry is that I wont be able to install hebrew fonts.
I am also very new to android. I have been with winmo for many years and just now decided to try Android.
Please report your success/failure with this issue. It would be greatly appreciated.
Click to expand...
Click to collapse
elcom,
I'll wait for your guide... nice to know there are more Israelis like me with the Hero.
Please let me know!
enlightener said:
I managed to "port" cyanogen's cm-recovery-1.4. The kernel is from my wwe version of hero ( 2.6.27-a5504199 #521 PREEMPT Fri Jul 3 07:56:53 CST 2009 )
Click to expand...
Click to collapse
Boots on my T-mobile G2.
Tested nandroid backup and root shell.
nice work
enlightener said:
link(10 downloads): http://rapidshare.com/files/262328508/cm-hero-recovery.img.zip.html
Click to expand...
Click to collapse
uploaded to my accout
here you go
http://rapidshare.com/files/262621147/cm-hero-recovery.img.zip
btw if you would like me to do anymore link just say
also i have not used this in anyway i use it when its a bit more tested
Works great !
Booted that recovery img on my hero, used "adb shell" then I typed in :
mount /dev/block/mtdblock3 /system
cat /system/bin/sh > /system/bin/su
chmod 4755 /system/bin/su
/system/bin/reboot
Now my hero is rooted. Nice !
Thanks
Cool! I got it working on my unlocked white Hero. I can use su in adb shell. However, when I try to install Superuser.apk with adb it says INSTALL_FAILED_UPDATE_INCOMPATIBLE and when I try with App Manager it says "Super user permissions could not be installed on this phone". I guess its trying to overwrite /system/bin/su? I tried remounting /system as writeable and chmodding su to be writeable by all but I still get the same problem.
Anybody know how to fix this please?
footboydog said:
Cool! I got it working on my unlocked white Hero. I can use su in adb shell. However, when I try to install Superuser.apk with adb it says INSTALL_FAILED_UPDATE_INCOMPATIBLE and when I try with App Manager it says "Super user permissions could not be installed on this phone". I guess its trying to overwrite /system/bin/su? I tried remounting /system as writeable and chmodding su to be writeable by all but I still get the same problem.
Anybody know how to fix this please?
Click to expand...
Click to collapse
Use Superuser.apk and su in the attachment.
- mount system rw
- adb push su /system/bin/
- adb shell chmod 4755 /system/bin/su
- adb push Superuser.apk /system/app/
Similar to Adrynalyne's post, I would greatly appreciate anyone that could do this. What I am looking for is a dump from a completely stock system, the only requirement is that you be rooted. So, if ANYONE has a completely stock Continuum and would be willing to do this, that would be great. It would also be good to get this from both DJ20 and DL17 if possible, but even getting it from just one of the two would be great. Here are the steps to produce the files.
This is easiest to do via adb.
As root (#)
To backup the .lfs partition
Code:
dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096
To backup the kernel parition:
Code:
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
To backup the recovery partition:
Code:
dd if=/dev/block/bml8 of=/sdcard/recovery.bin bs=4096
To backup the system partition:
Code:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
To backup the dbdata partition:
Code:
dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096
To backup the cache partition:
Code:
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
Once you have the files, zip them together and upload them to a sharing site (Dropbox, MediaFire, Megaupload, personal webhost, etc.) and post a link to them. If you don't want the link in the public, feel free to PM me a link to download the file. Once we have these, it will be much easier to do development work, especially with the voodoo kernel. Thank you to anyone that follows this and sends files.
EDIT: Received stock DJ20, which is a definite plus. Now for DL17
is it possible to grab these from a non-activated continuum?
I still have that phone that won't boot if you end up with something you'd like to try... for now..buddy's leg is broken and he's not moving around too much right now.. plus he's been playing on a droid X...
dottat said:
is it possible to grab these from a non-activated continuum?
I still have that phone that won't boot if you end up with something you'd like to try... for now..buddy's leg is broken and he's not moving around too much right now.. plus he's been playing on a droid X...
Click to expand...
Click to collapse
It is possible as far as I know. The only thing this really requires is root access, the phone being activated shouldn't really do anything to the file dump. If you'd like to try to resurrect the dead phone, I'll be posting up a DJ20 Odin file later tonight or tomorrow morning that should hopefully work to fix it if all that is dead is the file system structure.
Yah,
it if nearly impossible to brick the galaxy s phones (as long as you see the samsung logo even for a second), because we can use odin.. The only problem is getting the files to flash to fix it xP
Dottat: since you are not using this phone, may you please allow us to use this device for our sake? We need a device to send to the devs
Please man, it would be much appreciated and, you would eventually get it back, so no worries <3
Well... this phone is due back to the carrier (surprised they haven't called for it yet).... so at this point i would just like to prove proof of concept on the recovery piece. Download mode is all this phone will do so i'll be curious to see where we get with the odin imnuts is posting tonight..
imnuts said:
Similar to Adrynalyne's post, I would greatly appreciate anyone that could do this. What I am looking for is a dump from a completely stock system, the only requirement is that you be rooted. So, if ANYONE has a completely stock Continuum and would be willing to do this, that would be great. It would also be good to get this from both DJ20 and DL17 if possible, but even getting it from just one of the two would be great. Here are the steps to produce the files.
This is easiest to do via adb.
As root (#)
To backup the .lfs partition
Code:
dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096
To backup the kernel parition:
Code:
dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096
To backup the recovery partition:
Code:
dd if=/dev/block/bml8 of=/sdcard/recovery.bin bs=4096
To backup the system partition:
Code:
dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096
To backup the dbdata partition:
Code:
dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096
To backup the cache partition:
Code:
dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096
Once you have the files, zip them together and upload them to a sharing site (Dropbox, MediaFire, Megaupload, personal webhost, etc.) and post a link to them. If you don't want the link in the public, feel free to PM me a link to download the file. Once we have these, it will be much easier to do development work, especially with the voodoo kernel. Thank you to anyone that follows this and sends files.
EDIT: Received stock DJ20, which is a definite plus. Now for DL17
Click to expand...
Click to collapse
Unable to dump . Keep getting this error with each block.
sdcard
sdcard not sdram
PZ PZ
I have a DL17 I want to root the phone but i dont want to make my phone un-returnable if something were to happen to it. so My question is what does Verizon consider illegal software. Does this mean root and all Available after market roms. is it the same as buying a new car on loan and putting after market parts Rather.?
remotehunger said:
I have a DL17 I want to root the phone but i dont want to make my phone un-returnable if something were to happen to it. so My question is what does Verizon consider illegal software. Does this mean root and all Available after market roms. is it the same as buying a new car on loan and putting after market parts Rather.?
Click to expand...
Click to collapse
rooting does void your carrier warranty...but not your samsung warranty...
however if you unroot/return to stock before returning your phone for whatever reason thats fine, they wouldnt know
*if* you brick your phone (nearly impossible to do with odin files) and try and return after a mod/rom gone bad....thats a big no-no...and the reason carriers/oems are locking down devices.
read up on rooting and the pros/cons before diving in...but for the most part if you are careful...its safe
I know how I know how I'm pretty experienced I have rooted 5 phones including hero cdma a droid erris to touch pro 2 2 different carriers also some minor a developing a bit but the only thing is I don't wanna have to send it samsung is something
Sent from my SCH-I400 using XDA App
if something does go wrong because accidents do happen I just wanna make sure that the phone is
unrootable and that there are available stock odin files but other then that I would be more than happy to dump for you guys and I could possibly help with the dip in developing as well give me your instant messenger or phone number so we can get together
Sent from my SCH-I400 using XDA App
EDIT: i must've been high LOL!
i was wondering if anyone knows where i can get all of these as i sorta repartitioned the phone and lost everything on it. i can get it into download mode just fine just im missing alot of peices. it loads the factory.rfs fine but i think the bootloader is gone. i even managed to get it into clockwork but since the boot partition is kinda messed up it wont boot into anything else. since theres not a factory firmware that i can find im sorta stuck
I'm hoping someone here can help me with a small favor. I want to write an update package for someone that is having a CWM boot loop issue that CWM itself isn't clearing correctly on the Nitro. I've already written the same package for the Spectrum as that is the phone I have. Can someone who can currently boot into android on the Nitro and has root access please do this command and post the corresponding file in adb?
su
dd if=/dev/block/mmcblk0p25 of=/sdcard/misc.img
The file I need (misc.img) should be on the root of the SD card once this is finished.
Thanks in advance.
neph81 said:
I'm hoping someone here can help me with a small favor. I want to write an update package for someone that is having a CWM boot loop issue that CWM itself isn't clearing correctly on the Nitro. I've already written the same package for the Spectrum as that is the phone I have. Can someone who can currently boot into android on the Nitro and has root access please do this command and post the corresponding file in adb?
su
dd if=/dev/block/mmcblk0p25 of=/sdcard/misc.img
The file I need (misc.img) should be on the root of the SD card once this is finished.
Thanks in advance.
Click to expand...
Click to collapse
Doing it now
Sent from my LG-P930 using XDA
https://www.box.com/shared/5ae03c2053bb25c0a840
there you go!
Sent from my LG-P930 using XDA
is the misc.img identical across all the ROMs?
Before I saw this thread, I had already uploaded my misc partition here: http://forum.xda-developers.com/showpost.php?p=28617084&postcount=16
The imgs aren't bytewise identical for whatever reason, so try both I guess.
scott0 said:
is the misc.img identical across all the ROMs?
Click to expand...
Click to collapse
got the answer elsewhere, thx anyhoo!
neph81 said:
I'm hoping someone here can help me with a small favor. I want to write an update package for someone that is having a CWM boot loop issue that CWM itself isn't clearing correctly on the Nitro. I've already written the same package for the Spectrum as that is the phone I have. Can someone who can currently boot into android on the Nitro and has root access please do this command and post the corresponding file in adb?
su
dd if=/dev/block/mmcblk0p25 of=/sdcard/misc.img
The file I need (misc.img) should be on the root of the SD card once this is finished.
Thanks in advance.
Click to expand...
Click to collapse
what is the misc.img for?
First, I'm not a developer... but I have compiled a few roms from scratch in the past following tutorials. I would consider myself an avid android user, not a developer.
I recently got root access for my device with a locked bootloader... thanks to @K1979C20 pointing out that kingroot v4.1 finally works on our kitkat 4.4.2 device. I then removed kingroot and installed supersu using an app called "supersu me". I now have full root access, but no custom recovery due to the locked bootloader.
I was able to use @Chainfire flashfire beta app to do a backup of all my device partitions (I did not do data or cache, but can if needed).
I'm wondering if the backup can be used to create an Odin flash able package for others to use to gain root access on their device, because the kingroot process apparently works for some, but not for others...
If not Odin flashable, what other options could my files be used for to create a rooted rom that can be installed on others sgh-i467 devices.
Would it be helpful to do a full dump of all partitions? If so, any help figuring out the partition structure and process of dumping it would be appreciated.
I'm willing to do the work on this as time permits... just looking for someone with experience to point me in the right direction.
These are the files I saved in my flashfire backup
Ok now I'm not a developer at all but I'll try to help you out! Ok below is the partitions layout for our device. Now we don't need a copy of the bootloader because in the ota-update they gave us the sboot.bin and the tz.img which is the bootloader! But what we do need is the kernel (the boot.img), the recovery.img, the modem.bin, the param.bin and the system.img. But I'm not sure that even if you manage to pull these from the system that we will be able to flash them using odin cause with us having a locked bootloader if the images aren't signed by AT&T it won't allow the device to boot. But you can do it anyways and anyone willing to try can give it a shot! I would but my wife has taken over my Note 8 to use to play her games and she won't let me risk it cuz she will loose all her data! But to do the system pulls the way I know is to download Terminal Emulator for Android from the play store and make sure you have the latest Stericson Busybox installed and open the Terminal Emulator and type su the hit enter and grant it root access. Now use the following commands to pull the files but don't use the ( ) marks ok!
(busybox dd if=/dev/block/mmcblk0p8 of=/sdcard/param.bin)
(busybox dd if=/dev/block/mmcblk0p9 of=/sdcard/boot.img)
(busybox dd if=/dev/block/mmcblk0p10 of=/sdcard/recovery.img)
(busybox dd if=/dev/block/mmcblk0p13 of=/sdcard/modem.bin
(busybox dd if=/dev/block/mmcblk0p20 of=/sdcard/system.img)
If you wanna pull the cache.img, hidden.img, and tombstones.img you can but that's up to you. When you finish if you will put the into a zip file and upload them to like drive or dropbox or whatever you use and send me a link I'll try to talk my wife into letting me test it. I'll put the sboot.bin and tz.img from the ota-update with it.
mmcblk0p1: bota0
mmcblk0p2: bota1
mmcblk0p3: efs
mmcblk0p4: m9kefs1
mmcblk0p5: m9kefs2
mmcblk0p6: m9kefs3
mmcblk0p7: carrier
mmcblk0p8: param
mmcblk0p9: boot
mmcblk0p10: recovery
mmcblk0p11: ota
mmcblk0p12: cdma
mmcblk0p13: modem
mmcblk0p14: tombstones
mmcblk0p15: tdata
mmcblk0p16: hidden
mmcblk0p17: reserved1
mmcblk0p18: reserved2
mmcblk0p19: cache
mmcblk0p20: system
mmcblk0p21: userdata
@RootSuperSU I am working on this now... THANKS will post a link in a while and pm you
EDIT: I have extracted all of the files, but it's gonna be a bit before it is all uploaded. I have 100mbps download speed, but the upload speed is a whole different issue...
EDIT #2: try this link for the files you requested https://onedrive.live.com/redir?resid=7FBDBF9B2D3ACDA5!4928&authkey=!AAiZqsqu3y_s5dk&ithint=file,zip
OR try this one if that doesn't work: https://drive.google.com/file/d/0B3w-dFE5Q3FOUlp3bVhMS2lFYjA/view?usp=sharing
@RootSuperSU
Just so I learn the process... how would I extract the sboot.bin and tz.img? Even if you don't need these from me, I'd like to do it so I can learn the process... it's the old "teach a man to fish" addage. Based on what I have read elsewhere, I taking a guess and wondering if:
Would bota0 be where to extract the sboot.bin?
Would bota1 be where to extract the tz.img?
If these are the correct locations, presumably the same type of code is used to extract them as the other files I did above?
dandroid7 said:
@RootSuperSU
Just so I learn the process... how would I extract the sboot.bin and tz.img? Even if you don't need these from me, I'd like to do it so I can learn the process... it's the old "teach a man to fish" addage. Based on what I have read elsewhere, I taking a guess and wondering if:
Would bota0 be where to extract the sboot.bin?
Would bota1 be where to extract the tz.img?
If these are the correct locations, presumably the same type of code is used to extract them as the other files I did above?
Click to expand...
Click to collapse
I'm not sure about those 2 files! I don't know which files are what that is why I didn't say to pull those mainly! I wish I knew.
Ok developer gurus... i tried using romdump via terminal emulator... i'm getting the following message... I have edited permissions on the romdump file, but cant get it to dump the files... it looks like it is opening the script, but its giving me this error...
Any advice?
I'm trying to do a full romdump vs the partial stuff i have already harvested... wanting to make sure i get everything in the right format.
@dandroid7 I'm not sure if you noticed but boot.img and recovery.img are the exact same size. From what I can tell is that we can't get a real dump of either because of the locked bootloader.
@TMartin
hmmmm, I didn't notice that. but now I see what you are saying. Could be operator error on my part in how I extracted the stuff (see post #3) - or it could be as you say because of the locked bootloader. either way - I don't have the knowledge to say which it is (if either).
I'd really like to learn more about how to properly do this stuff... I have been googling and reading a lot - but not making much progress. It would be awesome to pick the brain of a developer or two who could give me some pointers. I don't mind doing the work - I just need some direction.
I guess we will see if anyone else posts more ideas... meanwhile - I'll keep reading and experimenting.
dandroid7 said:
@TMartin
hmmmm, I didn't notice that. but now I see what you are saying. Could be operator error on my part in how I extracted the stuff (see post #3) - or it could be as you say because of the locked bootloader. either way - I don't have the knowledge to say which it is (if either).
I'd really like to learn more about how to properly do this stuff... I have been googling and reading a lot - but not making much progress. It would be awesome to pick the brain of a developer or two who could give me some pointers. I don't mind doing the work - I just need some direction.
I guess we will see if anyone else posts more ideas... meanwhile - I'll keep reading and experimenting.
Click to expand...
Click to collapse
Hey I don't know what they are talking talking about we can't do rom dumps with locked bootloader because I have unpacked the modem.bin, param.bin, boot.img and recovery.img you sent me successfully with no problems using only my Note 8! I haven't been able to find away to unpack the system.img tho cause I don't have a computer but I am working on trying to find away!
Just trying to learn here... what do you use to unpack the .bin and .img files on the tablet? Not that I know what I'm doing, but I'd like to see what's in the files for the sake of learning.
Additionally... I have a decent computer... so if given a bit of direction, I could unpack the system.img file, put it in a zip file, and post a link to whatever you need for it.
Let me know if you want me to do so.
RootSuperSU said:
Hey I don't know what they are talking talking about we can't do rom dumps with locked bootloader because I have unpacked the modem.bin, param.bin, boot.img and recovery.img you sent me successfully with no problems using only my Note 8! I haven't been able to find away to unpack the system.img tho cause I don't have a computer but I am working on trying to find away!
Click to expand...
Click to collapse
I've tried multiple ways and can't get anything to mount and extract. I'd love to know how you pulled them. Do you have them uploaded anywhere?
TMartin said:
I've tried multiple ways and can't get anything to mount and extract. I'd love to know how you pulled them. Do you have them uploaded anywhere?
Click to expand...
Click to collapse
dandroid7 managed to follow my directions in post #3 on this thread and he managed to do all the pulls. He has them on his ondrive uploaded. Check and read the posts man!
dandroid7 said:
Just trying to learn here... what do you use to unpack the .bin and .img files on the tablet? Not that I know what I'm doing, but I'd like to see what's in the files for the sake of learning.
Additionally... I have a decent computer... so if given a bit of direction, I could unpack the system.img file, put it in a zip file, and post a link to whatever you need for it.
Let me know if you want me to do so.
Click to expand...
Click to collapse
I used the ZArchiver Pro app I bought on the PlayStore to unpack the modem.bin and the param.bin. It's a file manager and has features kinda like 7zip for Windows. Jus open the app and go to the .bin files long press on them and open as archive. Here is a link to the app on my Drive storage.
https://drive.google.com/file/d/0B-Zg_yh4ytvLYkNINVBpZThQQlE/view?usp=docslist_api
For the boot.img and recovery.img I used a app called Unpack Repack Img. You have to make a folder called unpack on the root of your sdcard and place your boot.img on the root of your sdcard also then use the app to unpack. For the recovery.img same app and same way but you will have to rename it to boot.img for the app to do it. But it doesnt work on repacking the images. Here is that app. https://drive.google.com/file/d/0B-Zg_yh4ytvLQ3RLa2I1bWl2OFU/view?usp=docslist_api
Now if you wanna use Android Image Kitchen for Windows/Linux/Mobile to unpack and repack the boot.img and recovery.img then just go check out this thread below for the downloads and information on how to install and use.
http://forum.xda-developers.com/showthread.php?t=2073775&page=1
Now for the system.img since you have a computer I would check out this thread for what seems to be an easy way to unpack it.
http://forum.xda-developers.com/showthread.php?t=2294909&page=1
or
You can look here at this thread for another way to unpack the system.img. Apparently this has Chainfire's Tools he uses to:
* Extract/repacking zip/.tar.md5 ROM files
* Unpacking/mounting/repacking ext4 sparse partition image files
* Unpacking/repacking boot image files
in LINUX OS
http://forum.xda-developers.com/showthread.php?t=2600364&page=1
For a better and more complete guide with step by step and pics on how to get the list of partitions and how to get the dumps using a computer with adb commands or using a Terminal Emulator app on your device go check out this thread!
http://forum.xda-developers.com/showthread.php?t=2450045&page=1
Be sure to go to the OP of each thread. That's the short term for Original Post if you didn't know. I hope this all helps yall out on how to do this stuff! Really all you had to do was Google Search this and just look for the XDA links section. Normally they are some of the 1st links given. But I'm glad to help anybody cause I know how difficult it can be trying to figure out all this stuff. I've only been into this for the past 2 or 3 years. I wish I knew alot more. I hope to be able to get a good computer and maybe compile my own custom roms and kernels and recoveries for my devices!
Well, I'm doing some experiments with my device but right now I messed its boot image and now it's stuck on "Sony Xperia" screen when I turn it on. Unfortunately, I can't simply reflash the firmware because Flashtool doesn't work with Xperia M5 yet. And, since I (temporarily) unlocked my bootloader, Xperia Companion/Update Service also refuses to do a software repair (because of the unlocked bootloader). And to close, Sony Emma Service (which is the official tool for devices with unlocked bootloader) simply say there's no firmware available for my variant (E5643). In other words, all I have at the moment is fastboot, and all I need is a copy of boot.img of a working unit in order to "ressurect" my phone.
I'm trying to simply get the boot image from boot.sin but it's in a different format than from previous Xperia devices I worked on and thus it won't work, so, I kindly ask if someone with a rooted Xperia M5 running stock firmare (the firmware version/device variant doesn't matter, it can be from single SIM devices too) could run the following commands from ADB and then upload the file that will be pulled from the phone here:
Code:
adb shell su -c "dd if=/dev/block/platform/mtk-msdc.0/by-name/boot of=/data/local/tmp/boot.img"
adb shell su -c "chmod 777 /data/local/tmp/boot.img"
adb pull /data/local/tmp/boot.img
Thanks
Here you have.
Hope you can work with it.
Android Version: 5.1 - 30.1.A.1.33
I'm really grateful @crisaegrim, got my phone working again thanks to your upload
No problem @mbc07 , glad it worked.
I desperately need a stock boot image
May anybody please help me and provide me a stock boot.img
Xperia M5 (E5653) 30.2.A.0.100
Kind regards - wgk
doubleugk said:
May anybody please help me and provide me a stock boot.img
Xperia M5 (E5653) 30.2.A.0.100
Kind regards - wgk
Click to expand...
Click to collapse
Next time search a little bit more.
https://forum.xda-developers.com/devdb/project/?id=17663#downloads