FORUMS
Remove All Ads from XDA

[GUIDE]How to port twrp to qualcomm devices.

96 posts
Thanks Meter: 28
 
By suraj-b, Member on 17th July 2016, 05:11 AM
Post Reply Email Thread
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/and...ght-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.

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

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

Notice that I have copied all other partitions as well.

Hit that thanks button if i helped you.
Credits:-
ME(Suraj-B)
carliv and osmosis For their kitchen
TWRP
The Following 13 Users Say Thank You to suraj-b For This Useful Post: [ View ] Gift suraj-b Ad-Free
 
 
26th July 2016, 07:12 AM |#2  
ivelramona's Avatar
Senior Member
Flag Indramayu - West Java
Thanks Meter: 14
 
More
Quote:
Originally Posted by suraj-b

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)
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..
The Following User Says Thank You to ivelramona For This Useful Post: [ View ] Gift ivelramona Ad-Free
26th July 2016, 08:56 AM |#3  
OP Member
Thanks Meter: 28
 
More
Quote:

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.
The Following 2 Users Say Thank You to suraj-b For This Useful Post: [ View ] Gift suraj-b Ad-Free
26th July 2016, 09:20 AM |#4  
ivelramona's Avatar
Senior Member
Flag Indramayu - West Java
Thanks Meter: 14
 
More
Quote:
Originally Posted by suraj-b

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

Oh,oke..
But,can you make suggestion,which phone is similiar like i have?
Thanks in advance..
26th July 2016, 09:27 AM |#5  
OP Member
Thanks Meter: 28
 
More
Quote:

Oh,oke..
But,can you make suggestion,which phone is similiar like i have?
Thanks in advance..

go to 91mobiles.com
The Following User Says Thank You to suraj-b For This Useful Post: [ View ] Gift suraj-b Ad-Free
5th November 2016, 12:55 PM |#6  
Member
Flag Patna
Thanks Meter: 5
 
More
hey can you please search a phone similar to LYF wind 6 LS-5009 i have tried 3 times to port but failed at all times.
5th November 2016, 10:21 PM |#7  
robcore's Avatar
Senior Member
Thanks Meter: 740
 
More
Quote:
Originally Posted by suraj-b

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)
carliv and osmosis For their kitchen
TWRP

This is a recipe to brick your device quickly and easily.
The Following 2 Users Say Thank You to robcore For This Useful Post: [ View ] Gift robcore Ad-Free
6th November 2016, 01:30 AM |#8  
OP Member
Thanks Meter: 28
 
More
Quote:

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

Do you really think the device gets bricked by using the boot command?
6th November 2016, 01:53 AM |#9  
robcore's Avatar
Senior Member
Thanks Meter: 740
 
More
Quote:
Originally Posted by suraj-b

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.
The Following 2 Users Say Thank You to robcore For This Useful Post: [ View ] Gift robcore Ad-Free
11th December 2016, 10:36 AM |#10  
Abandoned War Place's Avatar
Senior Member
Flag Phnom Penh
Thanks Meter: 78
 
More
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
The Following 2 Users Say Thank You to Abandoned War Place For This Useful Post: [ View ] Gift Abandoned War Place Ad-Free
26th December 2016, 12:02 AM |#11  
kavatzas7's Avatar
Junior Member
Flag Athens
Thanks Meter: 12
 
More
It worked like a harm to me on Z1 Compact with Multirom support! BIG THANKS!
The Following User Says Thank You to kavatzas7 For This Useful Post: [ View ] Gift kavatzas7 Ad-Free
Post Reply Subscribe to Thread

Tags
how to port twrp, how to port twrp to qualcomm devices, port twrp

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

Advanced Search
Display Modes