Unofficial EFIDroid for Samsung Galaxy S5 (Qualcomm)

Search This thread

afaneh92

Senior Member
Jul 31, 2012
3,368
4,902
EFIDroid is a easy to use, powerful 2ndstage-bootloader based on EDKII(UEFI).
It can be installed one-click with the EFIDroidManager app. You can add/remove/edit multiboot ROM's.

There's no special support needed by ROM's or RecoveryTools(no kexec etc).

EFIDroid official/generic thread here

Supported devices

Note: Tested on SM-G900V/kltevzw other variant are untested, but should work.

  • samsung/klteuc
  • samsung/kltevl
  • samsung/kltespr
  • samsung/kltetmo
  • samsung/klteusc
  • samsung/kltevzw
  • samsung/klteub
  • samsung/kltedv
  • samsung/kltexx

FAQ
  • this is a UEFI port, can we port Windows?
    no, trust me.
  • Can I still use fastboot after installing this?
    If you flash to the boot/recovery partitions, UEFI will be overwritten.(dd in android/recovery instead). all other partitions work as usual.
  • I FOUND A BUG
    Report it on Github. If there already is an issue for your bug and you don't have anything useful to add, just hit the thumbs-up button. This way I know how many people are affected and can adjust my priority list. I will not keep track of all bugs reported in posts of this thread. If you want a bug to get fixed, report it on github

Installation

  • Just download the attached EFIDroidManager App, the EFIDroid Manager app from the Play Store won't work.
  • Open the menu (at the top left), and click "Install/Update".
  • Click the big orange Install button.

Multibooting

You can use EFIDroid as a multiboot manager. To add a multiboot ROM, do the following:
  • Open the EFIDroid Manager app. Press the plus button at the bottom right side of the screen to start adding a multiboot slot.
  • Under "Location", there should be a couple paths. Select the one containing "/data/media/0".
  • You can give the slot a name/description by using the appropriate fields.
  • Press the checkmark at the top right side of the screen to create the multiboot slot.
  • Reboot. When EFIDroid comes up, select TWRP, then select the newly created slot.
  • Go to the "Wipe > Advanced Wipe" menu. Select "System", then swipe to wipe.
  • Install all the zips you want on that slot.
  • NOTE: To prevent accidentall data loss when booting in recovery the real /sdcard gets mocked so you are not going to find your .zips as usual under TWRP's /sdcard. To acces the "real" /sdcard go to /multiboot/data/media/0
  • Reboot, and when EFIDroid comes up, your new slot should automatically be selected. Press the power button to boot, and enjoy!
  • IMPORTANT:your main ROM should boot without changing any configuration on EFIDroid but secondary ROM's are used to fail because of selinux denials. I strongly reccomend you to enable Force SELinux to permissive under EFIDroid options (the Gear icon in the main screen placed at the top right) - Once you kwon your secondary ROM is working you can try to boot without this option disabled - If you end up in a bootloop logcat and dmesg are welcome.

Source Code

This will be my sources untill the official release
https://github.com/mohammad92/ota
https://github.com/mohammad92/device

All credit goes to @m11kkaa
@abraha2d for multirom guide
 

Attachments

  • EFIDroid_Manager_klte.apk
    3.2 MB · Views: 2,669
Last edited:
G

GuestK00100

Guest
Please add klteaio to the list of supported devices - it's a Snapdragon S5, but it gives me an error that there is "no device value".
 

sunilpaulmathew

Recognized Developer
@mohammad.afaneh
Great work... Thanks a lot.
Can you add Korean devices to the list plz (kltektt, kltelgt & klteskt. kltekor in general). They are all have same snapdragon chipset...presently getting this error message...
 

Attachments

  • Screenshot_20170331-083734.png
    Screenshot_20170331-083734.png
    75.4 KB · Views: 1,212
  • Like
Reactions: culiacanazo

Dudash

Senior Member
Mar 28, 2010
485
235
Cincinnati
Does this use the Qualcomm S5 bootloader vulnerability that is going to be fixed with the Samsung March Security Patch? If so, people may need to revert/prevent updating to avoid problems.
 

afaneh92

Senior Member
Jul 31, 2012
3,368
4,902
Does this use the Qualcomm S5 bootloader vulnerability that is going to be fixed with the Samsung March Security Patch? If so, people may need to revert/prevent updating to avoid problems.
No, you need unlocked bootloader and root only!
Thanks friend :)
This is cm13 build.prop, I meant the stock one, any way if cm13 for klte work for you, EFIDroid works.
 

Mike20017

Senior Member
Aug 30, 2012
615
200
Xanthi
Wow this is some cool stuff. So....Any ROM is compatible? Stock? Aosp? Custom stock based?

---------- Post added at 02:04 PM ---------- Previous post was at 02:04 PM ----------

This is a cool thing to have because it doesn't forbid you from using several ROMs like multi ROM did.

---------- Post added at 02:05 PM ---------- Previous post was at 02:04 PM ----------

Gonna try tonight I'm so eager! ?
 

razr2312

Senior Member
Feb 16, 2013
58
8
San Pedro Sula
Hi bro I installed this apk works wonderfull, and installed Lineage os but how i can delete completely from efidroid? could you tell me please?
 
Last edited:

afaneh92

Senior Member
Jul 31, 2012
3,368
4,902
Hi bro I installed this apk works wonderfull, and installed Lineage os but how i can delete completely from efidroid? could you tell me please?

From the app, press on the slot rom you created for a while then delete it.
Multiboot currently not working on kltevze, dont know about other variants!

Any way I was working on multiboot recovery and got it to work on s5, I will release new build soon.
 

Sithhy™

Senior Member
Jan 15, 2012
674
163
Xiaomi Redmi Note 7
Redmi Note 10 Pro
Well... I'm in a sh*ithole at the moment. I updated my ROM (CosmicOS) or maybe was it because of updating Magisk?)) & now I can't anymore boot to it nor can I go to recovery... When I try to boot the ROM (says Android 7.1.1 (internal)) then it's on the "Booting Android 7.1.1..." phase & then?

Error
can't find tagloader for type 'RAW'(-1)

Is there a way to bring back my ROM to life? Only the fastboot & Download mode work...

EDIT: I managed to get TWRP to work, which is a little success... But it now redirects me to it when I try to boot the ROM
EDIT 2: Well, unfortunately, I had to wipe the OS & install it again but this time it booted normally, which makes me happy & doesn't at the same time... If the dev could answer me on all of that, would be gr8 :)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    EFIDroid is a easy to use, powerful 2ndstage-bootloader based on EDKII(UEFI).
    It can be installed one-click with the EFIDroidManager app. You can add/remove/edit multiboot ROM's.

    There's no special support needed by ROM's or RecoveryTools(no kexec etc).

    EFIDroid official/generic thread here

    Supported devices

    Note: Tested on SM-G900V/kltevzw other variant are untested, but should work.

    • samsung/klteuc
    • samsung/kltevl
    • samsung/kltespr
    • samsung/kltetmo
    • samsung/klteusc
    • samsung/kltevzw
    • samsung/klteub
    • samsung/kltedv
    • samsung/kltexx

    FAQ
    • this is a UEFI port, can we port Windows?
      no, trust me.
    • Can I still use fastboot after installing this?
      If you flash to the boot/recovery partitions, UEFI will be overwritten.(dd in android/recovery instead). all other partitions work as usual.
    • I FOUND A BUG
      Report it on Github. If there already is an issue for your bug and you don't have anything useful to add, just hit the thumbs-up button. This way I know how many people are affected and can adjust my priority list. I will not keep track of all bugs reported in posts of this thread. If you want a bug to get fixed, report it on github

    Installation

    • Just download the attached EFIDroidManager App, the EFIDroid Manager app from the Play Store won't work.
    • Open the menu (at the top left), and click "Install/Update".
    • Click the big orange Install button.

    Multibooting

    You can use EFIDroid as a multiboot manager. To add a multiboot ROM, do the following:
    • Open the EFIDroid Manager app. Press the plus button at the bottom right side of the screen to start adding a multiboot slot.
    • Under "Location", there should be a couple paths. Select the one containing "/data/media/0".
    • You can give the slot a name/description by using the appropriate fields.
    • Press the checkmark at the top right side of the screen to create the multiboot slot.
    • Reboot. When EFIDroid comes up, select TWRP, then select the newly created slot.
    • Go to the "Wipe > Advanced Wipe" menu. Select "System", then swipe to wipe.
    • Install all the zips you want on that slot.
    • NOTE: To prevent accidentall data loss when booting in recovery the real /sdcard gets mocked so you are not going to find your .zips as usual under TWRP's /sdcard. To acces the "real" /sdcard go to /multiboot/data/media/0
    • Reboot, and when EFIDroid comes up, your new slot should automatically be selected. Press the power button to boot, and enjoy!
    • IMPORTANT:your main ROM should boot without changing any configuration on EFIDroid but secondary ROM's are used to fail because of selinux denials. I strongly reccomend you to enable Force SELinux to permissive under EFIDroid options (the Gear icon in the main screen placed at the top right) - Once you kwon your secondary ROM is working you can try to boot without this option disabled - If you end up in a bootloop logcat and dmesg are welcome.

    Source Code

    This will be my sources untill the official release
    https://github.com/mohammad92/ota
    https://github.com/mohammad92/device

    All credit goes to @m11kkaa
    @abraha2d for multirom guide
    1
    Please add klteaio to the list of supported devices - it's a Snapdragon S5, but it gives me an error that there is "no device value".

    Done
    1
    @mohammad.afaneh
    Great work... Thanks a lot.
    Can you add Korean devices to the list plz (kltektt, kltelgt & klteskt. kltekor in general). They are all have same snapdragon chipset...presently getting this error message...
    1
    @mohammad.afaneh
    Great work... Thanks a lot.
    Can you add Korean devices to the list plz (kltektt, kltelgt & klteskt. kltekor in general). They are all have same snapdragon chipset...presently getting this error message...
    Done, report back if its working ok?