• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Twrp on optimus f5

skfl

Member
Dec 27, 2019
78
57
Hi guys, I am sk. I still keeping this phone p875. Sorry I might be too late to join as the phone is old. Recently, I ported twrp 3.3 to our device thanks to a porting guide "porting twrp without source" and loki tool from xda. It works fine.
PS: I am not a developer, just want to try something new. I treat this as learning

Here is the guide: https://forum.xda-developers.com/android/general/guide-porting-twrp-source-t3843473

Credits: Playfulgod - 2nd init recovery
Djrbliss - loki tool
TWRP
 
  • Like
Reactions: ocnbrze
Some images of twrp
 

Attachments

  • Screenshot_2020-01-04-13-13-02.png
    Screenshot_2020-01-04-13-13-02.png
    33 KB · Views: 358
Upvote 0
Hi, thanks! Realized that u posted reply me on lucid2 thread. Yes I am planning to if anyone wants to test. Also, I ported and installed cm10 from optimus f7, it is not stable lol

Ps: However, I guess not much ppl using this as a daily driver. I am learning linux and develop android os and use this device to try. I ported cwm and philz before but not works
 
  • Like
Reactions: ocnbrze and MrJavi
Upvote 0
Hi, thanks! Realized that u posted reply me on lucid2 thread. Yes I am planning to if anyone wants to test. Also, I ported and installed cm10 from optimus f7, it is not stable lol

Ps: However, I guess not much ppl using this as a daily driver. I am learning linux and develop android os and use this device to try. I ported cwm and philz before but not works

Congratulations @skfl

If you're rooted, you might find Tipatch of interest. Good luck

https://www.google.com/amp/s/forum....pp-twrp-tipatch-backup-internal-t3831217/amp/
 
  • Like
Reactions: ocnbrze
Upvote 0
I copied my reply to MrJavi from xda:
Hi, thanks for your support! I rooted my device first by old framaroot and used adb shell to install the twrp. There is a flashing guide by djrbliss in github. Fyi, I used mktool that is made by AF member @GameTheory (GT) on Win10 Linux Subsystem. Then I used loki to patch the recovery img. The tool is also available in GT's github: https://github.com/GameTheory-/mktool
 
Last edited:
  • Like
Reactions: MrJavi and ocnbrze
Upvote 0
Thanks! To keep things in place, should I reply at here or in xda thread? Which do you guys prefer?
that's up to you. but i find that xda can be very drama filled. devs over there can be a bit touchy. for me i go there for my info and leave. AF is the best community over all. we are more like family.
 
  • Like
Reactions: skfl and MrJavi
Upvote 0
Thanks! To keep things in place, should I reply at here or in xda thread? Which do you guys prefer?

that's up to you. but i find that xda can be very drama filled. devs over there can be a bit touchy. for me i go there for my info and leave. AF is the best community over all. we are more like family.

Yes, I also agree
 
  • Like
Reactions: ocnbrze
Upvote 0
I copied my reply to MrJavi from xda:
Hi, thanks for your support! I rooted my device first by old framaroot and used adb shell to install the twrp. There is a flashing guide by djrbliss in github. Fyi, I used mktool that is made by AF member @GameTheory (GT) on Win10 Linux Subsystem. Then I used loki to patch the recovery img. The tool is also available in GT's github: https://github.com/GameTheory-/mktool

Your welcome and @GameTheory is very intelligent. His skills are impressive. Hes also a pretty cool dude. I haven't seen him around AF for a couple of months.
 
  • Like
Reactions: skfl and ocnbrze
Upvote 0
And so does Playfulgod too. I discovered my twrp will not wipe my internal storage when pressed wipe data/factory reset. The internal storage is mounted as /data/media. Moreover, our device runs jb 4.1.2 out of the box so tipatch app cannot be used. Anyway, thx for sharing it!
 

Attachments

  • twrp wipe data.png
    twrp wipe data.png
    33 KB · Views: 383
  • Like
Reactions: MrJavi
Upvote 0
Last edited:
  • Like
Reactions: skfl and ocnbrze
Upvote 0
I see why you like Assayyedkitchen but I see its no longer in development. However, Im not familiar with LG's but I couldn't help but notice "kernel does not have support for SeLinux contents". Its not something I have come across when rooting, modding, or porting Samsungs. I certainly don't want to give advice on something I dont know, just hoping to help.
It helps to think outside the box when modding and flash custom recoverys/CMR that were developed for a similar device show your ingenuity. Well done.
Im facing a different, yet somewhat similar issue with a Note 4. The last update on my n910p was a fused 5, binary 4. The aboot prevents downgrading my bootloader and modem. Im still able to flash fused 4, 6.0 MM roms. However, the custom kernel provided with these roms resulted in 4g/LTE data, 3g was the best.
One of the custom kernel was really fast, snappy and would be totally awesome if it had LTE/4g data. The other is much, much better than stock has LTE/4g data and truelly an excellent kernel but not as responsive.
There both permissive, there both 6.0 MM and there both by the same developer. So, my challenge is to port the two together in an attempt combine the best of both into one kernel.
Looking threw the kernels, I discover what I think is Korean in the lib/modules, (DAM !!!#) as if I wasn't already over my head :) I'll keep at it but DAM!! LoL :)

Screenshot_2020-01-23-09-53-35.png
Screenshot_2020-01-23-09-51-39.png
 
Last edited:
  • Like
Reactions: ocnbrze and skfl
Upvote 0
I see why you like Assayyedkitchen but I see its no longer in development. However, Im not familiar with LG's but I couldn't help but notice "kernel does not have support for SeLinux contents". Its not something I have come across when rooting, modding, or porting Samsungs. I certainly don't want to give advice on something I dont know, just hoping to help.
It helps to think outside the box when modding and flash custom recoverys/CMR that were developed for a similar device show your ingenuity. Well done.
Im facing a different, yet somewhat similar issue with a Note 4. The last update on my n910p was a fused 5, binary 4. The aboot prevents downgrading my bootloader and modem. Im still able to flash fused 4, 6.0 MM roms. However, the custom kernel provided with these roms resulted in 4g/LTE data, 3g was the best.
One of the custom kernel was really fast, snappy and would be totally awesome if it had LTE/4g data. The other is much, much better than stock has LTE/4g data and truelly an excellent kernel but not as responsive.
There both permissive, there both 6.0 MM and there both by the same developer. So, my challenge is to port the two together in an attempt combine the best of both into one kernel.
Looking threw the kernels, I discover what I think is Korean in the lib/modules, (DAM !!!#) as if I wasn't already over my head :) I'll keep at it but DAM!! LoL :)

View attachment 147110 View attachment 147111
Hi, the .ko file showed both chinese and korean. I think we need to decompile (or decode) the lib so that we can look at it properly.
 
  • Like
Reactions: MrJavi
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones