[Unnoficial] TWRP for Razer Forge TV (pearlyn)

Discussion in 'Razer Forge TV' started by gabrielgag, Nov 17, 2016.

Thread Status:
Not open for further replies.
  1. gabrielgag

    gabrielgag Active Member

    - Ported from Nexus 6 (shamu)
    - Custom kernel recompiled by me, based on Lollipop sources
    - Added support for NTFS in kernel (pearlyn)
    - Added support for legacy OTG routines in kernel (pearlyn)
    - Kernel and Initramfs compresses with xz
    - Only English languague (I had to make room and delete some stuff to make the recovery fits in the Forge partition, sorry)

    Download: https://plus.google.com/102509526912041899879/posts/3VnfNPq9yVr?hl

    I am not responsible for bricked devices or dead USB sticks. Please do some research if you have any concerns about features included in this RECOVERY before flashing it! YOU are choosing to make these modifications.


    Enable Adb Debugging


    Unlock your bootloader

    REMINDER: The following steps probably will destroy all data on your Forge. YOU HAVE BEEN WARNED.

    Type "adb reboot bootloader"

    Once in the bootloader (black screen with Razer logo only):

    Type "fastboot oem unlock" and "fastboot reboot bootloader" (or just reboot if you want to back to Android Tv)

    Testing the recovery

    First of all, reboot to bootloader

    Type "adb reboot bootloader"

    Once in the bootloader (black screen with Razer logo only):

    Put the downloaded recovery in the adb/fastboot folder (windows) or open a terminal in the recovery directory (Linux), and type:

    "fastboot boot unnoficial_twrp_3.0.2.0_pearlyn.img"

    Wait a little, and the forge will reboot into TWRP.

    At this point, you can test the recovery, flash, backup or wathever you want.

    PROBABLY THE FIRST THING YOU WANNA DO is disable the screen timeout. Remember this is a recovery ported from a phone, and we not need that option.

    Flashing the recovery

    If you test it, and you like it you can flash it permanently on your device.

    Type "fastboot flash recovery unnoficial_twrp_3.0.2.0_pearlyn.img"

    That's it! You can always back to official recovery, flashing the img included in the system image provided by Razer.


    - Team Win Recovery Proyect Team
    - Razer Forge TV community on G+ https://plus.google.com/communities/111713817103373988313


    If you like this work you can contribute via paypal, let me your email and i'll send it to you the donation button.
    Last edited: Nov 17, 2016
    g|itch, goodhur, xanderten50 and 2 others like this.
  2. Predator5

    Predator5 Well-Known Member

    I really don't know what any of this is.
  3. goodhur

    goodhur Active Member

    Nice, flashed SuperSU yet? This is only the custom recovery?

    Sent from my Nexus 5X using Tapatalk
  4. gabrielgag

    gabrielgag Active Member

    Yes, only custom recovery. Flashed SuperSu with no problem.
  5. goodhur

    goodhur Active Member

    Nice work thanks!
  6. Damac10

    Damac10 Member

    Now give us unified storage ...lol..can't figure out why Independent Devs shunned this capable device for custom roms

    Sent from my GT-I9190 using Tapatalk
  7. gabrielgag

    gabrielgag Active Member

    Actually im running my own custom rom on one of my Forge' s. But still cant activate adoptable storage :slightly_sad:
    Damac10 likes this.
  8. Vaypron

    Vaypron Well-Known Member

    Great work! :)

    I guess there is a reason why Razer hasn't enabled it yet.
    I don't think they are like "Hmm, should we give them adoptable storage?.... Naaaa"
    xanderten50 likes this.
  9. Damac10

    Damac10 Member

    Issue is the piracy they think they preventing by limiting space

    Sent from my GT-I9190 using Tapatalk
  10. xanderten50

    xanderten50 Active Member

    The limited space is not a piracy issue - people who want to pirate stuff will do it regardless of how much space is available to them. And Razer are not limiting it to try and stop people installing pirated stuff... that's just absurd.
    goodhur and Vaypron like this.
  11. Damac10

    Damac10 Member

    It's wasn't a serious comment. The reality is we don't know why the feature was omitted or stripped out of Marshmallow and no answer is forthcoming although many have asked why...

    Sent from my GT-I9190 using Tapatalk
  12. xanderten50

    xanderten50 Active Member

    That's ok then :D
    No, we'll probably never find out the exact reason why... but my money is on a combination of slightly janky hardware, small software team and minimal support. Y'know - boring stuff! :stuck_out_tongue_winking_eye:
    Damac10 likes this.
  13. gabrielgag

    gabrielgag Active Member

    I think we all know that. But, as far i see probably is not kernel related. I'm playing around with mount points right now, with no luck...
    goodhur and xanderten50 like this.
  14. Wienersoup

    Wienersoup Member

    Well, my Samsung phone has all unified storage options or disabled and it is marshmallow. So, its not only razer.

    Yes. We want it. I want it. I hate having to shuffle apps and uninstal to try one new thing.

    But friends, you catch flies with honey. And from my understanding, just the adoptable storage alone has a string on big hurdles that couldve taken razers small forge tv team even much much longer for them to have been certified for. Remember how long it took to get M alone? From my understanding that one feature wouldve basically doubled that. Its kind of obscene. So for now unless its something they are chipping away at slowly on the side, i know that they are working on another much desired feature that had been made accidentally difficult because of clash between hardware archetecture and software.

    In mean time i am happy with the stability my device is showing now since marshmallow. Itd be cool if they could get team ouya to maybe implement the usb storage option from the ouya into the cortex app at least. But thats probably a unlikely possibility.
  15. Damac10

    Damac10 Member

    This awesome man has brought adoptable storage to the Forge. ..Now I need more Devices

    Sent from my GT-I9190 using Tapatalk
  16. lbdroid

    lbdroid Member

    Can you link me to your github repo where you are keeping your code? I'd like to contribute.
  17. gabrielgag

    gabrielgag Active Member

    Sorry, there's not source code. It´s a modified system and boot images.
    There's not source code for Android TV. It´s closed source AFAIK, sadly.
  18. lbdroid

    lbdroid Member

    Actually, there is source code for Android TV. There just happen to be a few components of it that are closed source (as there typically are -- special version of gapps).

    Another of your threads mentions customized kernel source.
  19. lbdroid

    lbdroid Member

    gabrielgag likes this.
  20. gabrielgag

    gabrielgag Active Member

    It´s just the stock Marshmallow kernel, with some features enabled. Nothing else. I used for twrp only, in the custom boot image, i just keep the kernel untouched...

    - Added support for NTFS in kernel (pearlyn)
    - Added support for legacy OTG routines in kernel (pearlyn)

    Great. I was just playing around with 7.0 sources....but, i'll look at this when i have some time.

    Besides of all, i think our intentionst are not the same. I'm just an enthusiat user, not a developer like you :D My main goal right now is just compile nougat and get a functional rom for the Forge...I'll love to help you coding cherry picks for a new rom, but i dont have the knowledge
    Last edited: Dec 2, 2016
Thread Status:
Not open for further replies.