FORUMS

[TOOL] Boot.img tools [unpack, repack, ramdisk]

9,009 posts
Thanks Meter: 14,059
 
By CNexus, Senior Member on 11th June 2013, 03:00 AM
Post Reply Email Thread
21st May 2020, 03:23 PM |#81  
Junior Member
Thanks Meter: 0
 
More
My problem


# boot_info original_boot.img
PAGE SIZE: 4096
BASE ADDRESS: 0x00000000
RAMDISK ADDRESS: 0x01000000
CMDLINE: 'console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 loop.max_part=16 buildvariant=userdebug'

I create new boot and see boot_info



# boot_info new_boot.img
PAGE SIZE: 4096
BASE ADDRESS: 0x00000000
RAMDISK ADDRESS: 0x01300000
CMDLINE: 'console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 loop.max_part=16 buildvariant=userdebug'

RAMDISK ADDRESS is bad
Yesterday, 01:22 AM |#82  
gee one's Avatar
Senior Member
Flag linux command line
Thanks Meter: 872
 
More
Quote:
Originally Posted by pr0_JeR

My problem


# boot_info original_boot.img
PAGE SIZE: 4096
BASE ADDRESS: 0x00000000
RAMDISK ADDRESS: 0x01000000
CMDLINE: 'console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 loop.max_part=16 buildvariant=userdebug'

I create new boot and see boot_info



# boot_info new_boot.img
PAGE SIZE: 4096
BASE ADDRESS: 0x00000000
RAMDISK ADDRESS: 0x01300000
CMDLINE: 'console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 loop.max_part=16 buildvariant=userdebug'

RAMDISK ADDRESS is bad

Are you setting the ramdisk address and it's coming out wrong, or are you not setting it at all?

What command did you use to repack the boot image?
Post Reply Subscribe to Thread

Tags
boot.img, boot.img modify, boot.img splitting, ramdisk, split boot.img

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes