1. Download our Official Android App: Forums for Android!

Root Is your Valiant unlock code the same as his?

Discussion in 'Android Devices' started by DeadDude, Jan 21, 2014.

  1. DeadDude

    DeadDude Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    342
    Joined:
    Jan 16, 2014

    Jan 16, 2014
    342
    51
    73
    I can't get dc to find my phone to pull the code.

    I read elsewhere to email Huawei for it.

    So that made me wonder...

    the topic.
     

    Advertisement

  2. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    Good try, but no. The Unlock code for your device is determined by an algorithm containing your serial number, IMEI, and model number. If given enough unlock codes for the same device and a supercomputer for 3-5 days, it would be possible to reverse that algorithm. It would, however, be very, EXTREMELY difficult.
     
  3. DeadDude

    DeadDude Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    342
    Joined:
    Jan 16, 2014

    Jan 16, 2014
    342
    51
    73
    I got a code....

    is there a way to unlock on device through terminal?

    What happens if its the wrong code???? :thinking:
     
  4. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    Assuming you are running Ubuntu (or a derivative thereof), you can do the following. In a terminal type

    Code (Text):
    1. sudo add-apt-repository ppa:phablet-team/tools
    Hit enter, then type
    Code (Text):
    1. sudo apt-get update
    Code (Text):
    1. sudo apt-get install android-tools-fastboot
    Once that installs, you can simply type
    Code (Text):
    1. sudo fastboot oem unlock {CODE}
    And your device is now unlocked.

    On Windows, you need to download the Android SDK from https://developer.android.com/sdk, then open the SDK manager, install platform-tools, navigate to your platform-tools directory, and then enter
    Code (Text):
    1. fastboot oem unlock {CODE}
     
  5. DeadDude

    DeadDude Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    342
    Joined:
    Jan 16, 2014

    Jan 16, 2014
    342
    51
    73
    Thank you! You answer to three other questions I was about to ask with that one response seems like you guys over here making a habit of it. Now any word on what happens if I try the wrong unlock codes? I was able to get a code from India website for free. Without knowing if it can hurt my device by being the wrong number, I'm still a little weary of trying.

    Looks like I'm going to be removing my Vista installation and replacing it with Ubuntu, I guess. This install has been having issues anyways.

    Is there any pitfalls I should be aware of, since as-is I don't have PC access?

    So far it seems like once I'm unlocked and still rooted I can keep going...

    Gotta move SU somewhere, right?
     
  6. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    If you enter the wrong code, it will just say failed to unlock please try again. As for the code, just send an email to mobile@huawei.com with your IMEI and serial number. You should get your code in 1-2 days, and it is also free.
     
  7. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    Su will stay when you unlock. It will however delete all of your apps and data, so make sure to backup first. Also, if it does delete the superSU app, just download it again from Google play. The su is still there, so apps would have unrestricted su access, which is very bad
     
  8. DeadDude

    DeadDude Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    342
    Joined:
    Jan 16, 2014

    Jan 16, 2014
    342
    51
    73
    Think I finally unlocked it. PC said OKAY finished. Then my phone rebooted without my widgets... or hackers keyboard enabled.
     
  9. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    There you go. To double check, put your phone back in fastboot mode and type
    Code (Text):
    1. sudo fastboot OEM status
     
  10. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    It should say something like boot loader status unlocked Sim status locked.
     
  11. DeadDude

    DeadDude Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    342
    Joined:
    Jan 16, 2014

    Jan 16, 2014
    342
    51
    73
    Well, this doesn't work. Using Ubuntu 13.
    Followed to the letter, no OEM option in fastboot.

    Making system image as per your instructions above.

    Away from linux ATM, but think I found typo. think i missed "-fastboot" on apt-get line... but got no error...?
     
  12. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    It may install all of the Android Tools then.
     
  13. EagerestWolf

    EagerestWolf Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    282
    Joined:
    Nov 28, 2012

    Sorry its
    Code (Text):
    1. sudo fastboot oem get-bootinfo
     
  14. acunio5051

    acunio5051 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Dec 11, 2013

    Dec 11, 2013
    2
    0
    5
    It won't work for me! I cannot so a thing....I can get into recovery, and have managed to get fastboot to recognize my device once-and I exited out because I was frustrated. MISTAKE!

    I can't load any .zips from the SD card-It returns with the same message everytime-Installation aborted right after it "attempts" to format cache.

    fastboot oem unlock XXXXXXXX returns with:
    FAILED-Invalid command <error unknown> or something

    I can't seem to do anything...I've searched the internets for days trying to unbrick this device...I can't fastboot anything!
     
  15. DeadDude

    DeadDude Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    342
    Joined:
    Jan 16, 2014

    Jan 16, 2014
    342
    51
    73
    [FONT=&quot]To anyone who thinks emailing Huawei doesn't work, here's my emails between myself and Huawei.[/FONT]

    [FONT=&quot][/FONT]
    [FONT=&quot]It took almost a week for a response, but once the conversation was opened, getting my code was really easy.[/FONT]

    [FONT=&quot][/FONT]
    [FONT=&quot]Once unlocked, you get a screen on your device showing an Android being repaired and yellow text stating the cache and then data partitions are being formatted.
    [/FONT]


    [FONT=&quot][/FONT]
    [FONT=&quot]Then you go through the new device wizard all over again.[/FONT]

    [FONT=&quot][/FONT]
    [FONT=&quot]just fyi
    [/FONT]

    [FONT=&quot]
    [/FONT]

    [FONT=&quot]
    [/FONT]

    [FONT=&quot]Dear Customer,
    Thank you for supporting Huawei device. [/FONT]

    [FONT=&quot]
    Your unlock code : 8##########...2 ,please keeping your unlock code properly. Thank you! [/FONT]

    [FONT=&quot]
    Huawei Terminal Company limited [/FONT]

    [FONT=&quot] [/FONT]
    &#21457;&#20214;&#20154;:.com]
    &#21457;&#36865;&#26102;&#38388;: 2014&#24180;2&#26376;12&#26085; 9:34
    &#25910;&#20214;&#20154;: Mobile
    &#20027;&#39064;: Re: &#31572;&#22797;: unlock code needed


    It isn't an option on that page.
    On Feb 11, 2014 8:26 PM, "Mobile" <mobile@huawei.com> wrote:
    Dear Customer,
    Thank you for contacting Huawei device.
    Please apply the unlock code in our website Unlock Bootloader - Huawei Device Co., Ltd.. .
    Once again thank you for contacting Huawei device.
    Best Regards.
    Huawei Device Customer Care Team.
    [FONT=&quot] [/FONT]
    &#21457;&#20214;&#20154;: .com]
    &#21457;&#36865;&#26102;&#38388;: 2014&#24180;2&#26376;9&#26085; 6:41
    &#25910;&#20214;&#20154;: mobile@huawei.com
    &#20027;&#39064;: unlock code needed


    MODEL
    Y301-A1

    IMEI
    8##########3

    S/N

    D2#########

    Thank you
     

Share This Page

Loading...