heeeeeeeeeeeeeeeeeeelp

Search This thread

Master-Master

Senior Member
Apr 4, 2017
61
14
its a problem.i ported a rom but im scared to test it! because im worry that the rom doesnt boot and i stuck there or my device brick!how to fix it if it happens?ty
my device is:leeco coolpad cool 1
 
Use adb to backup your stock rom :)
(Make sure to have enabled usb debugging :))
How to:
- Run adb shell and then su and accept the root access dialog
- Then run 'ls -al /dev/block/platform/msm_sdcc.1/by-name' to get the partition table (we need to find the location of boot and system)
- Run 'dd if=/dev/block/mmcblk0px of=/sdcard/boot.img' replace the x in mmcblk0px with the corresponding number of the boot partition, for example, for my device it is 14. Now we have backed up the kernel (boot).
- Run 'dd if=/dev/block/mmcblk0px of=/sdcard/system.img' and replace the x in mmcblk0px with the corresponding number of the system, for example, for my device it is 23. Now we have backed up the system.

How to restore:
- You can use fastboot flash (fastboot flash boot boot.img and fastboot flash system system.img)
- You can use adb (dd if=/sdcard/boot.img of=/dev/block/mmcblk0px and replace x with the corresponding partition bla bla you know :))

Good luck :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    If you keep making threads like this one you will get banned !