1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

Issues rooting Samsung Galaxy On5 on Linux OS


Last Updated:

  1. Quantum88

    Quantum88 New Member This Topic's Starter

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    4
    So some info:
    Phone - Samsung Galaxy On5 (T-Mobile)
    Computer OS: Arch Linux
    SuperSu file used - http://download.chainfire.eu/supersu-stable
    TWRP Image used - https://twrp.me/devices/samsunggalaxyon5tmobile.html
    Flashing Utility used - Heimdall

    So I downloaded both the SuperSu file and the TWRP Image.
    Stored the SS file on my sdcard.
    Enabled usb debugging.
    Used adb to reset my phone into Download Mode.
    Then used 'sudo heimdall -detect' to verify that it is visible.
    Then used 'sudo heimdall flash --RECOVERY twrp-3.0.2-0-on5ltetmo.img'.

    [quantum@quantum Downloads]$ sudo heimdall flash --RECOVERY twrp-3.0.2-0-on5ltetmo.img
    Heimdall v1.4.1

    Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
    http://www.glassechidna.com.au/

    This software is provided free of charge. Copying and redistribution is
    encouraged.

    If you appreciate this software and you would like to support future
    development please consider donating:
    http://www.glassechidna.com.au/donate/

    Initialising connection...
    Detecting device...
    Claiming interface...
    Setting up interface...

    Initialising protocol...
    Protocol initialisation successful.

    Beginning session...

    Some devices may take up to 2 minutes to respond.
    Please be patient!

    Session begun.

    Downloading device's PIT file...
    PIT file download successful.

    Uploading RECOVERY
    100%
    RECOVERY upload successful

    Ending session...
    Rebooting device...
    Releasing device interface...

    [quantum@quantum Downloads]$​

    It seemed to work. I rebooted my phone and held the home button power button and volume up button to boot in recovery mode.
    First I get this 'Insalling system update...'
    [​IMG]

    For about 15 secs

    Next I get this screen 'No command...'
    [​IMG]
    For about 2 secs

    Then I get this screen
    [​IMG]
    I did both "Apply update from ADB" (by sideloading the ss file) and "Apply update from SD card" and I get the same message:

    Finding update package ...
    Opening update package ...
    Verifying update package ...
    E:failed to verify whole-file signature
    E:signature verification failed

    Finding update package ...
    Opening update package ...
    Verifying update package ...
    E:failed to verify whole-file signature
    E:signature verification failed

    Installation aborted.​

    No idea what to do from here.
    Help please.

     

    Advertisement
  2. El Presidente

    El Presidente Beware The Milky Pirate! Moderator

    Joined:
    Jan 3, 2011
    Messages:
    30,940
    Likes Received:
    22,019
    @Bg260 or @Jfalls63 may be able to assist.

    Hopefully one/both will pick up the tag.
     
    Jfalls63 and Bg260 like this.
  3. Bg260

    Bg260 VIP Member VIP Member

    Joined:
    Apr 30, 2016
    Messages:
    3,186
    Likes Received:
    3,054
    Not familiar with the On5. Try holding power and volume up. See if you can power it down. You cannot use the "Apply update from SD card" function with the stock recovery. If you can get back into recovery, try a factory reset. Let me know.
    Also, I'm assuming an internal battery. If not ....pull it.


    Edit: Yes, just found it. Battery pull. Then try to boot into Android.
     
    Jfalls63 and El Presidente like this.
    Last edited: Nov 12, 2016
    #3
  4. Quantum88

    Quantum88 New Member This Topic's Starter

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    4
    I'm not talking about it being frozen or stuck... All I did was try to apply the as file n it tries and failed... not sure what to do from here
     
  5. Bg260

    Bg260 VIP Member VIP Member

    Joined:
    Apr 30, 2016
    Messages:
    3,186
    Likes Received:
    3,054
    The recovery you flashed didn't work. Did you check the OEM Unlock selection in developers options?
    If there is any way for you to get onto a windows machine......Odin is a little more reliable. Then you can follow the real thread.
    http://forum.xda-developers.com/android/general/root-samsung-galaxy-on5-t3435457


    1. On the phone go to Settings->About and tap "Build Number" 10 times to enable Developer Mode.
    2. Go to Settings->Developer Mode and select "Enable OEM Unlock"
    3. Then power off the device.
    4. With the device powered off hold "VOL-DOWN + HOME + PWR" until Download mode appears.
    5. Plug the phone into the computer and start ODIN with Administrator Rights.
    6. Open Odin and place that TWRP TAR file in the [AP] slot, under Options tab disable Auto Reboot, then press [Start]
    7. When ODIN says the flash is complete in the log window, pull the battery and put the battery back in.
    8. Before turning back on hold "VOL-UP + HOME + PWR" to enter recovery.
    9. Once in recovery go to Mount->Enable USB Mass Storage
    10. Copy the SuperSU zip to the phone's storage
    11. Disable USB Mass Storage
    12. Go to Backup->Start Backup to backup the phone IN CASE OF ISSUES!!
    13. Go to Install->Select SuperSU zip file and wait.
    14. Once done, reboot the phone and you should be good!
     
  6. Jfalls63

    Jfalls63 VIP Member VIP Member

    Joined:
    May 15, 2015
    Messages:
    3,096
    Likes Received:
    2,129
    Not familiar with the On5 either and have always used Odin with a Windows PC.
    Usually you install TWRP with Odin then flash SuperSU update zip in TWRP.
    With some newer Samsung devices, you need to make sure FRP and Reactivation Lock is disabled. If you have the option for OEM unlocking, check that it is enabled.
     
    El Presidente likes this.
  7. svim

    svim Well-Known Member

    Joined:
    Dec 19, 2013
    Messages:
    1,925
    Likes Received:
    1,475
    Just an obscure comment but when you're connecting your On5 to your Arch box, are you plugging the USB cable directly into a port or into a USB hub? Can't find the exact reference but a while back I read of an issue Heimdall has with the 'libusb' library where there could be a problem when connecting through a hub.
    http://libusb.org/
    As those error messages appear to be tied to some unverified package, maybe it's just a matter of an initially bad file transfer.
     
    Bg260, bcrichster and Quantum88 like this.
  8. vickersg

    vickersg Member

    Joined:
    Oct 18, 2016
    Messages:
    11
    Likes Received:
    8
    Òdin is built for Samsung by Samsung so always best to use it
     
    Bg260, Quantum88 and AZgl1500 like this.
  9. svim

    svim Well-Known Member

    Joined:
    Dec 19, 2013
    Messages:
    1,925
    Likes Received:
    1,475
    Odin is a Windows executable, the OP is not running Windows.
    Odin itself was presumably leaked software from Samsung and currently maintained independent of Samsung. Heimdall on the other hand, is an Open Source project with no direct ties to Samsung in any way. As for Odin being '...best to use' that's a subjective opinion. Most of us use it as it's free and very easily obtainable but most consumers care nothing about proprietary issues (well, unless we get caught in a software audit). But for any commercial venture Heimdall is a better option as it's unencumbered by any licensing issues, while Odin is a black hole as far as licensing, it's originally proprietary software but that's a legacy as it no longer has any ties to Samsung. It's 'leaked' software, Samsung never Open Sourced its code, nor did it even release it as freeware or shareware.
     
    Quantum88 likes this.
  10. Quantum88

    Quantum88 New Member This Topic's Starter

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    4
    Without buying a new computer i will never have access to a windows machine with superuser privaledges... That being said I really need an option that will work for linux... Is there a way to get this done using wine?
     
  11. bcrichster

    bcrichster Well-Known Member

    Joined:
    Jan 23, 2013
    Messages:
    4,636
    Likes Received:
    3,054
    NO. No Wine. Becomes a drivers issue.. Oh! You could try a VirtualBox and run Windows within..
     
  12. Jfalls63

    Jfalls63 VIP Member VIP Member

    Joined:
    May 15, 2015
    Messages:
    3,096
    Likes Received:
    2,129
  13. Jfalls63

    Jfalls63 VIP Member VIP Member

    Joined:
    May 15, 2015
    Messages:
    3,096
    Likes Received:
    2,129
    Last page has a updated download link
     
    bcrichster likes this.
  14. Jfalls63

    Jfalls63 VIP Member VIP Member

    Joined:
    May 15, 2015
    Messages:
    3,096
    Likes Received:
    2,129
    Best Answer
    Only other suggestion would be as @Bg260 stated earlier. After you flash recovery, disconnect phone and pull the battery for a few seconds. Replace battery then use the button combination to boot into recovery.
    Sometimes the stock recovery will overwrite TWRP on reboot. The battery pull trick prevents this and after you flash SuperSU update zip in TWRP, it should stick.
     
    bcrichster and Quantum88 like this.
  15. Quantum88

    Quantum88 New Member This Topic's Starter

    Joined:
    Nov 12, 2016
    Messages:
    4
    Likes Received:
    4
    @Bg260 I didn't see the battery pull suggestion but yes!!! @Jfalls63 it worked! thanks everyone!!
     
    Guggy, Bg260, Jfalls63 and 1 other person like this.
  16. Guggy

    Guggy Well-Known Member Contributor

    Joined:
    Sep 22, 2012
    Messages:
    366
    Likes Received:
    163
    Oh, I was literally just about to pop in. Darn....
     
    Bg260 and Jfalls63 like this.
  17. Bg260

    Bg260 VIP Member VIP Member

    Joined:
    Apr 30, 2016
    Messages:
    3,186
    Likes Received:
    3,054
    golfballedge.jpg

    :):):)
     
    Guggy, bcrichster and Jfalls63 like this.
  18. vickersg

    vickersg Member

    Joined:
    Oct 18, 2016
    Messages:
    11
    Likes Received:
    8
    There is an Odin version for Linux I have never used it as I have a win pc but it is definitely available
     
  19. svim

    svim Well-Known Member

    Joined:
    Dec 19, 2013
    Messages:
    1,925
    Likes Received:
    1,475
    Any valid links to this? AFAIK the source code has never been released for Odin so if there is a Linux version it wouldn't be compiled from source, it would be a hacked version of the executable. I still recommend Heimdall for non-Windows users.
    http://glassechidna.com.au/heimdall/
     
  20. vickersg

    vickersg Member

    Joined:
    Oct 18, 2016
    Messages:
    11
    Likes Received:
    8
  21. svim

    svim Well-Known Member

    Joined:
    Dec 19, 2013
    Messages:
    1,925
    Likes Received:
    1,475
  22. bcrichster

    bcrichster Well-Known Member

    Joined:
    Jan 23, 2013
    Messages:
    4,636
    Likes Received:
    3,054
    "Heimdall"
    Look in software manager while booted in Linux
     
  23. vickersg

    vickersg Member

    Joined:
    Oct 18, 2016
    Messages:
    11
    Likes Received:
    8

Share This Page

Loading...