FORUMS

[GUIDE]Porting TWRP without source

548 posts
Thanks Meter: 216
 
By Augustoandro, Senior Member on 16th September 2018, 07:32 PM
Post Reply Email Thread
26th June 2020, 04:26 PM |#111  
Senior Member
Thanks Meter: 260
 
More
Quote:
Originally Posted by Reick7

one thing I don’t understand is why he goes back to recovery stock, and fixes it on stutus as "custom" on Odin.

That's normal behavior of stock ROM, stock recovery is restored on each boot (otherwise it would deny boot because of modified recovery).

once in TWRP you should rename /system/recovery-from-boot.p (which is usually be done automatically with TWRP initial setup screen when you swipe to allow modifications of System) and disable dm-verity by flashing modified boot.img (patched with Magisk Manager) or by installing a zip (Magisk.zip, no-verity-opt-encrypt.zip or similar)
The Following 2 Users Say Thank You to aIecxs For This Useful Post: [ View ] Gift aIecxs Ad-Free
27th June 2020, 09:00 AM |#112  
dhaern's Avatar
Senior Member
EGS-zs8-1
Thanks Meter: 43
 
Donate to Me
More
I followed your guide trying port new Mi 9T Pro official TWRP 3.4.0 released 2-3 days ago to K30 Pro/Poco F2 Pro but no luck, stuck in TWRP logo after I did all steps right and resolution is the same for both devices. I hope you can help me because the only K30 Pro TWRP available now is a chinese bugged version and it cant mount partitions. I used:

https://androidfilehost.com/?fid=4349826312261761273 as stock recovery (chinese bugged version).

https://twrp.me/xiaomi/xiaomimi9tpro.html as target recovery and new version to port.
27th June 2020, 04:51 PM |#113  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Augustoandro

Let's try to fix the default.prop issue first.
Try to extract your build.prop file from your stock system.img file.
You can use dsixda's Android Kitchen or SuperR's Android Kitchen for the extraction.
In this file, you will find the following sections:

Code:
# ADDITIONAL_DEFAULT_PROPERTIES

# BUILD_BOOTIMAGE_PROPERTIES
Copy the above mentioned sections from build.prop to a text editor and name the new file default.prop

For the *.fstab files, find out the paths of partitions using DiskInfo and prepare the *.fstab files appropriately in the proper format.
I assume you have understood the format of *.fstab files.

Ask for help if you get stuck somewhere.

HIT THANKS IF FOUND USEFUL

right, not now because of the time, but thank you, I will try as soon as possible, and about the fstab I did not understand well how it works
28th June 2020, 11:57 AM |#114  
Augustoandro's Avatar
OP Senior Member
Flag Pune
Thanks Meter: 216
 
Donate to Me
More
Quote:
Originally Posted by dhaern

I followed your guide trying port new Mi 9T Pro official TWRP 3.4.0 released 2-3 days ago to K30 Pro/Poco F2 Pro but no luck, stuck in TWRP logo after I did all steps right and resolution is the same for both devices. I hope you can help me because the only K30 Pro TWRP available now is a chinese bugged version and it cant mount partitions. I used:

https://androidfilehost.com/?fid=4349826312261761273 as stock recovery (chinese bugged version).

https://twrp.me/xiaomi/xiaomimi9tpro.html as target recovery and new version to port.

Use your own stock recovery instead of the chinese bugged version.
Contact me here if you get stuck on some step.
If even then you get stuck on boot logo, give the recommended TWRPs in the guide a try, whichever is nearest to your resolution.

HIT THANKS IF FOUND USEFUL
The Following User Says Thank You to Augustoandro For This Useful Post: [ View ] Gift Augustoandro Ad-Free
28th June 2020, 08:22 PM |#115  
dhaern's Avatar
Senior Member
EGS-zs8-1
Thanks Meter: 43
 
Donate to Me
More
Quote:
Originally Posted by Augustoandro

Use your own stock recovery instead of the chinese bugged version.
Contact me here if you get stuck on some step.
If even then you get stuck on boot logo, give the recommended TWRPs in the guide a try, whichever is nearest to your resolution.

HIT THANKS IF FOUND USEFUL

Problem is only available version now is the unoficial chinese one. And I would like port the oficial version recently released from k20 Pro to k30 pro, so I only can use the chinese version as base stock to start.

Here is the oficial K30 Pro source code:

https://github.com/MiCode/Xiaomi_Ker...tree/lmi-q-oss
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes