• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[GUIDE]How to port twrp to qualcomm devices.

Search This thread

AA16

New member
Aug 24, 2017
4
0
Kolkata
I got a device that has similar specifications as you have mentioned. But the RAM, Camera, and a sensor is different. So should I port it for my device?:confused:
 

dorianpb

Member
Jan 23, 2018
22
0
How can i obtain my stock recovery /kernel if my phone isn't rooted?
My device (SM-S727VL) isn't rooted yet so there is no stock recovery/kernel on github.
 
which tool did u use for 2nd method?

Use in boot only
NOTE:THIS GUIDE IS ONLY FOR PORTING TWRP
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://forum.xda-developers.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

which tool did u use for 2nd method?
 

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://forum.xda-developers.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.