[GUIDE]How to port twrp to qualcomm devices.

Search This thread

suraj-b

Senior Member
Jun 14, 2016
97
30
NOTE:THIS GUIDE IS ONLY FOR PORTING TWRP
Use in boot only
This method is solely made by me.I didn't copy it from anywhere.
There are guides for mtk devices, but not for Qualcomm. That's the reason I wrote this.
Does this work?
ANS:This is how I made for Knight 2.Micromax crap doesn't release kernel sources:(.
https://xdaforums.com/android/software-hacking/how-to-root-knight-2-t3419338
I AM NOT RESPONSIBLE FOR ANY DAMAGES TO YOUR DEVICE
As I have mentioned please try to use the recovery in boot as the recovery is not compiled. One of them has reported with a bricked device. At the same time many of them have reported it to work. Also I have flashed it on my own device.
Use the second method.

Lets start:-
Method 1:-
1.Pick a device's twrp whose specs are similar to your device.
2.Unpack it using Carliv Image Kitchen or Android Image Kitchen.
3.Unpack your recovery too.
4.Copy etc folder,twres and sbin folder from the unpacked twrp.
5.Repack your recovery.
6.Test it using fastboot boot repacked recovery name.img

Method-2
1.All you have to copy is kernel.IMG and dtb.IMG from stock and edit recovery.fstab, repack the port recovery.
1.png

Copy DT.img and kernel.img from stock recovery to port recovery after unpacking.​
2.png

Now edit recovery.fstab .This most of the time doesn't require editing. But in the above image you can see that there's no external SD card support. So I copy that particular line for SD card from my unpacked stock recovery.img​
3.png

Notice that I have copied all other partitions as well.​

Hit that thanks button if i helped you.
Credits:-
ME(Suraj-B):cool::cowboy:
carliv and osmosis For their kitchen
TWRP
 
Last edited:

ivelramona

Senior Member
Apr 21, 2012
120
14
Indramayu - West Java
NOTE:THIS GUIDE IS ONLY FOR PORTING TWRP
THIS METHOD IS ENTIRELY MADE BY ME.I DIDN'T COPY IT FROM ANYWHERE
I HAVE SEEN GUIDES FOR MTK DEVICES BUT NOT FOR QUALCOMM DEVICES.SO HERE IT IS.
DOES THIS WORK?
ANS:THIS IS HOW I MADE IT FOR MY DEVICE[KNIGHT 2] QUALCOMM SNAPDRAGON 615
I AM NOT RESPONSIBLE FOR ANY DAMAGES TO YOUR DEVICE​

BUT THERE IS A PROBLEM WITH THIS YOU MAY OR MAY NOT BE ABLE TO FLASH.IF THE RECOVERY PARTITION OF YOUR PHONE IS GREATER THAN YOUR PORT TWRP THAN YOU CAN FLASH IT IF NOT USE IT IN BOOT.

Lets start:-
1.Pick a device's twrp whose specs are similar to your device.
2.Unpack it using Carliv Image Kitchen or Android Image Kitchen.
3.Unpack your recovery too.
4.Copy etc folder,twres and sbin folder from the unpacked twrp.
5.Repack your recovery.
6.Test it using fastboot boot repacked recovery name.img

Credits:-
ME(Suraj-B):cool::cowboy:
carliv and osmosis For their kitchen
TWRP
Hi,can you please make twrp for samsung j7008 chn version?
I really need that,but i really really noob for make that by my self..
 
  • Like
Reactions: rootlinux

robcore

Senior Member
Jul 27, 2012
919
739
Samsung Galaxy Note 3
Google Pixel XL
NOTE:THIS GUIDE IS ONLY FOR PORTING TWRP
THIS METHOD IS ENTIRELY MADE BY ME.I DIDN'T COPY IT FROM ANYWHERE
I HAVE SEEN GUIDES FOR MTK DEVICES BUT NOT FOR QUALCOMM DEVICES.SO HERE IT IS.
DOES THIS WORK?
ANS:THIS IS HOW I MADE IT FOR MY DEVICE[KNIGHT 2] QUALCOMM SNAPDRAGON 615
I AM NOT RESPONSIBLE FOR ANY DAMAGES TO YOUR DEVICE

BUT THERE IS A PROBLEM WITH THIS YOU MAY OR MAY NOT BE ABLE TO FLASH.IF THE RECOVERY PARTITION OF YOUR PHONE IS GREATER THAN YOUR PORT TWRP THAN YOU CAN FLASH IT IF NOT USE IT IN BOOT.

Lets start:-
1.Pick a device's twrp whose specs are similar to your device.
2.Unpack it using Carliv Image Kitchen or Android Image Kitchen.
3.Unpack your recovery too.
4.Copy etc folder,twres and sbin folder from the unpacked twrp.
5.Repack your recovery.
6.Test it using fastboot boot repacked recovery name.img

Credits:-
ME(Suraj-B):cool::cowboy:
carliv and osmosis For their kitchen
TWRP

This is a recipe to brick your device quickly and easily.
 

robcore

Senior Member
Jul 27, 2012
919
739
Samsung Galaxy Note 3
Google Pixel XL
Do you really think the device gets bricked by using the boot command?
For many devices, "similiar" specs are not precise enough to ensure that specialty bootloaders, oem-specific quirks, partition layouts and security checks are accounted for when porting something as crucial as a recovery. Yes, it could be argued that fastboot is effective at rejecting major differences between an image and a device, but this method could very well sneak an image into a recovery partition and then load functions that are absolutely incorrect, leading to bugs, recovery bootloops, and the worse-case-scenario:hard bricking. I'm not saying that some might not get lucky, but the success ratio will not be very high on many modern Android devices.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    NOTE:THIS GUIDE IS ONLY FOR PORTING TWRP
    Use in boot only
    This method is solely made by me.I didn't copy it from anywhere.
    There are guides for mtk devices, but not for Qualcomm. That's the reason I wrote this.
    Does this work?
    ANS:This is how I made for Knight 2.Micromax crap doesn't release kernel sources:(.
    https://xdaforums.com/android/software-hacking/how-to-root-knight-2-t3419338
    I AM NOT RESPONSIBLE FOR ANY DAMAGES TO YOUR DEVICE
    As I have mentioned please try to use the recovery in boot as the recovery is not compiled. One of them has reported with a bricked device. At the same time many of them have reported it to work. Also I have flashed it on my own device.
    Use the second method.

    Lets start:-
    Method 1:-
    1.Pick a device's twrp whose specs are similar to your device.
    2.Unpack it using Carliv Image Kitchen or Android Image Kitchen.
    3.Unpack your recovery too.
    4.Copy etc folder,twres and sbin folder from the unpacked twrp.
    5.Repack your recovery.
    6.Test it using fastboot boot repacked recovery name.img

    Method-2
    1.All you have to copy is kernel.IMG and dtb.IMG from stock and edit recovery.fstab, repack the port recovery.
    1.png

    Copy DT.img and kernel.img from stock recovery to port recovery after unpacking.​
    2.png

    Now edit recovery.fstab .This most of the time doesn't require editing. But in the above image you can see that there's no external SD card support. So I copy that particular line for SD card from my unpacked stock recovery.img​
    3.png

    Notice that I have copied all other partitions as well.​

    Hit that thanks button if i helped you.
    Credits:-
    ME(Suraj-B):cool::cowboy:
    carliv and osmosis For their kitchen
    TWRP
    3
    This is a recipe to brick your device quickly and easily.

    Yeah! Actually the best way to permanently brick your device!
    3
    device will brick when the mount point is wrong in bootloader but not recovery it ok to brick recovery and flash original back that's fine
    3
    Do you really think the device gets bricked by using the boot command?
    For many devices, "similiar" specs are not precise enough to ensure that specialty bootloaders, oem-specific quirks, partition layouts and security checks are accounted for when porting something as crucial as a recovery. Yes, it could be argued that fastboot is effective at rejecting major differences between an image and a device, but this method could very well sneak an image into a recovery partition and then load functions that are absolutely incorrect, leading to bugs, recovery bootloops, and the worse-case-scenario:hard bricking. I'm not saying that some might not get lucky, but the success ratio will not be very high on many modern Android devices.
    2
    Hi,can you please make twrp for samsung j7008 chn version?
    I really need that,but i really really noob for make that by my self..

    Sorry i cant help you .It is as easy as i have told above..do it by yourself.