[Advanced users only] TWRP recovery + root for Teracube 2e (1st batch, SN:2020)

Hi @KavusKazian - the lineage posted here works only on the 1st batch of phones (sold in 2021). The OSS team is working on providing an updated Lineage for the new phones.

I just posted some related info here - Difference between the new 2022 batch of Teracube 2e and 2021 units

Thank you so much! Hopefully it doesnā€™t take too long. One of the main reasons I chose Teracube was the ease of replacing the ROM and that the hardware warranty would remain intact.

Hello,

Iā€™m not sure where to post this. Any news for TWRP for T2e 2022?

Thank you for your work and time.

TWRP for the 2e is a total joke, donā€™t bother with it. They had some college kid in India do it (Teracube seems to be pretty much an all-India company) who got it to where you can install it but thatā€™s about it. He wasnā€™t able/couldnā€™t be bothered to get encryption working, so it can see your data partitions but not whatā€™s in them and, if memory serves, canā€™t see an external SD card at all. Completely useless.

I installed the /e/ recovery. Doesnā€™t do any of the cool fancy stuff TWRP does, but it actually works. Itā€™s really too bad the Teracube people canā€™t make and maintain a proper TWRP, especially since that is Team India also. It shows they have no software talent and canā€™t be bothered to hire any.
I think Teracube will last until Fairphone decides to sell in the USA, but no longer. If Fairphone had a USA presence, Iā€™d buy one just for what is almost certainly good software.

Hi @jbray - want to clarify on this. Teracube is headquartered here in Redmond, WA (including myself) with an international team. Our software team is indeed based in India. And the Teracube stock OS is maintained by full time team members (not college interns). However, TWRP is an open source project and is a different story.

Hi Sharad, Donā€™t you think it would be a good idea for your software team, in India, to become official maintainers for a TWRP for 2e build? Judging from the github, the college kid made one build that installs but doesnā€™t work and called it good. If your team took his code, and got encryption working (and ext SD card if itā€™s broken too), youā€™d have a quality build that TWRP would probably accept. I know Indiaā€™s a big country, but maybe someone on your team even knows someone on Team Win.
Youā€™ve already got the encryption code working in your own stock recovery; seems like it would be a big win for moderate investment.
TWRP (when it works) is an essential tool for people installing custom roms and such, far more powerful than any stock recovery: you can pop a shell, thereā€™s a file-manager, you can turn USB file-transfer on.

2 Likes

What I have heard is that TWRP is not as relevant as it used to be. Maybe I misread. Iā€™ll check with the team and get back again.

Hi Sharad,

I hate to say it, but software-wise, you guys seem like amateurs. Youā€™ve got an interesting little device that should really appeal to the xda-dev crowd; if you get them interested in it, youā€™d have a bunch of developers working on it for free, and some of those folks are really good. Of course, then it would be a global project, not just Team India.

Cheers,

Jim

1 Like

I would like to put in here a big UP vote for ā€œyes, pleaseā€ doing TWRP recovery for Teracube 2e. I am using the /e/ recovery with /e/ OS, and while I like many things about /e/, their recovery is extremely minimal. In particular, it lacks the ability to make backups, so lack of TWRP for Teracube means that I have NO ability to backup my phone in any sort of comprehensive way (since the promised SeedVault is not ready yet). I really like being able to take snapshot backups of my phone.
Curious, what reasons were given for the lack of relevance of TWRP? I know that I am probably more weird, atavistic and curmudgeon-y than the average user, but, cā€™mon, who doesnā€™t want local backups?

1 Like

Itā€™s not as relevant since LineageOS has its own recovery for those just wanting to do a ā€œbasicā€ install, but itā€™s definitely still relevant for people who want the additional options TWRP provides (or just prefer it).

The other reason I can see for its waning relevance is the continued lack of Android 12 compatibility. If itā€™s ever officially released, it probably wonā€™t be anytime soon based on the TWRP.me website.

2 Likes

I bought Teracube because Fairphone doesnā€™t have a US presence (yetā€¦?) and I was delighted to see that somebody in the US finally grabbed the money that was just lying there on the table. I love it - itā€™s a great little phone with a removable battery, replaceable parts, and an ā€œitā€™s about timeā€ model and philosophy. HOWEVER - dear lord, when will TWRP for the 2nd batch Teracube come out? Or from what Iā€™m reading, when will it work for the 1st batch in the first place? Iā€™m checking these forums weekly for any news or ray of hope. Iā€™m trying to install microG and other mods, but every instruction I read basically says some variation of ā€œyou have to have TWRP for this to workā€. Iā€™m researching alternate ways of flashing zips, but most of them involve going around your rear end to get to your elbow and are pretty crypticā€¦ any suggestions in the meantime from anybody who feels my pain? I mean, if itā€™s true that ā€œTWRP is not as relevant as it used to beā€, where are all the mods and instructables that should have filled in that supposed void by now? Or am I just not stumbling across any of the right articles or forums? To quote The Dude: ā€œThatā€™s just, like, your opinion, manā€¦ā€
To clarify, I realize Lineage has its own recovery, but I flashed both it and /e/ to my new phone, and they both broke video calling and FM radio, so I decided to go with the solid de-googled stock ROM that came with the phone and install microG, so for what itā€™s worth TWRP is still relevant to me.
Just throwing my hat in the ring as another up-vote and to let the community know that solid working TWRPs for both batches are enthusiastically anticipated and hoped for by some people who will put it to good use.

3 Likes

Hi @regzim - welcome to Teracube forums. TWRP is on our radar but not being actively worked on right now. Iā€™ll check with the team on when we could start work on it.

Welcome! Thanks for posting!

Just curious, did you try confirming this with multiple platforms? I have a 1st batch 2e running /e/ that works fairly well with WhatsApp, Zoom and Element video chat.

Are you including using adb (android debug bridge) over USB here? I have found using their sideload feature to be fairly straightforward. If you post links to the cryptic instructions you have found here, someone may be able to help

As mentioned, I am running /e/ on my 1st batch phone (which I bought from /e/ with /e/ preinstalled), and Iā€™ve found the community/leadership there to be pretty responsive to addressing bugs/fixes. I would definitely raise the ā€œbreaks video chat and FM radioā€ issue over there. Iā€™m assuming theyā€™re planning to sell the 2nd batch phone as well at some point, and theyā€™d want to know about this issue if they havenā€™t identified it yet.

Thanks Sharad & ECS for your replies. :slight_smile:
Some caveats and updates to my post:

ā€œBroke video calling & FM radioā€: Sorry, I should have been more explicit in mentioning it most likely broke my PROVIDERā€™S (T-Mobile) ā€œbuilt-inā€ video phone calling features, or more likely its access to the stock ROMā€™s built-in video callingā€¦ Whenever I used stock ROM to video call my girlfriendā€™s phone (sheā€™s on Mint which is technically T-Mobile), I had no problems (same with stock included FM radio app). However, whenever I installed Lineage and /e/ and tried same (using ā€œvideo callā€ feature in contacts, etc), I could see her but she would just see a blank screen. Just conjecture on my part, but Iā€™m assuming this might be due to any possible proprietary ā€œclosed sourceā€ nature of those services? Or perhaps T-Mobile just didnā€™t like the interface or lack of T-Mobile friendly Google Services or something? If thereā€™s a simple fix to this Iā€™m not aware of, please post it! Iā€™m handy with hacking and some coding, but these questions are a little above my pay grade. Hoowever, if this is just a T-Mobile thing, I get that thereā€™s probably not much anybody can do about it. Everything else I really liked about Lineage and /e/ for this phone, so if I could get both those features on those ROMs, that would be wonderful.

Also, both alternative OSs just didnā€™t even have an FM radio option pre-installed (I tried various 3rd party FM radio apps but no dice).

ā€œFlashing zipsā€: Exploding forehead slapper here, but can you believe that in all the years Iā€™ve been flashing ROMs and rooting my phone I never actually knew that you could use ADB to flash zips just like with TWRP because I never saw it EXPLICITLY mentioned on any forums or instructables as an alternative? I kind of suspected it, but since all instructions Iā€™ve come across mention TWRP explicitly with no alternatives, I was too afraid to brick my phone to experiment around with it on such high-level system hacks without knowing EXACTLY what I was doing. Iā€™m also the kind of guy who can prove you absolutely wrong when youā€™re giving me directions and say ā€œyou canā€™t miss itā€ - :roll_eyes: - I can and do.

Examples

*This article mentions only various paid apps but doesnā€™t mention ADB that I could see (theyā€™re prob really just helpful looking ads):

*This instruction (as a generic example among many Iā€™ve found) on how to install MicroG (scroll to end of article) only mentions TWRP:

says things like
"14. install SuperSu via TWRP

  • or use adb sideload from the Advanced menu in TWRP
  1. install Xposed via TWRP (see 14.)"
    and
    ā€œOnce Google is cleaned up and the FakeGapps module is ready, reboot into recovery (see 12. and 13.) and install the NanoDroid zip via TWRP.ā€

After your post I did a search with the right terms this time and found a Quora article which says:
ā€œDownload adb driver and install
Put the Zip File in one folderā€¦
Open Command Promptā€¦
Type adb devices
Your Device will listed
Then type adb sideload filename.zip
Your zip file will be installedā€¦ā€

Easy peasy. So apparently I had to know the right answer before I searched for the answer I didnā€™t know. Super frustrating. To be fair I have done a LOT of searching and bookmarking and came up with bupkus on the subject - maybe just bad luck on my part. Thatā€™s really all thatā€™s been holding me back - if I never needed TWRP to begin with, Iā€™m okay with it since installing it has always been a bit of a pain in the butt anyway. Either way, your reply sent me down the right path, so thank you!

Iā€™m going to try and install Xposed and MicroG, and if successful, Iā€™ll post a full instructable on all the steps I followed to leave a breadcrumb trail for any other Teracubers interested in same. Iā€™ll also take your advice and post up the video call/FM radio issue on the /e/ forums to put eyeballs on that as well.

Thanks!

Yes, this is a good general description of the process. A few tips:

  1. I have found this process easier to do from a Linux machine than a Windows PC, I think because of the way Windows handles USB. But Iā€™ve used both in the past. I have heard Mac will work, but never used that myself.
  2. Put the zip file in the home directory of your command line terminal, otherwise you will have to type ā€œadb sideload path/to/file/filename.zipā€ and this sometimes complicates things.
  3. You already know the phone has to have developer options enabled and Android Debugging enabled. But also, temporarily disable all screenlock security provisions on your phone before starting. You can re-enable them afterwards, but it can cause complications during the process.
  4. You have to plug in the phone to the computer with USB and authorize the connection with the computer on the phone. Until you do this, you will probably not see your phone when you type ā€œadb devicesā€
  5. You have to boot the phone to recovery (ā€œadb reboot recoveryā€) and ensure that the phone is prepared to sideload in recovery before you run the sideload command on your terminal. The exact path for doing this varies some by your recovery program, but is usually pretty easy to navigate to.

To separate out this topic, does the stock Teracube 2e OS have an operating FM radio app (I mean that receives actual radio signals from the air and not over the internet)? I also like to keep a working FM app on my phone, and have not been able to do that in several years, since my last phone didnā€™t have the hardware capability. Was FM radio working before you installed microG? It wouldnā€™t seem to have anything to do with that, but they donā€™t consult me on these things for some reason.

Yes indeed, stock Teracube 2e (2nd batch 2021) has the radio app preinstalled (true FM, not internet - it wonā€™t work unless you plug in the headphones as an antenna) and it is working fine. I too have not had that handy functionality for years on my old phone (on Lineage OS which also made my GPS act a little wonky), and that plus the problems with video calls are the factors that just made me throw up my hands and give up on alternate OSes for now - with all their wonderful perks, some functionalities just canā€™t be duplicated and some are annoying little dealbreakers that have added up for me over the yearsā€¦

1 Like

So it took me a minute, but I finally found it - the folder where stock OS stores the original stock .apk for the FM Radio. I have an idea that sometimes works that I want to try soon since Iā€™ll be flashing my phone again for experimental purposes, so Iā€™ll update this reply if it works:

*Using a root explorer, find the .apk in stock:
/system_ext/priv-app/FMRadio
*Copy the .apk (ā€œFMRadio.apkā€) to a separate location (desktop, SD card, etc), and any included files while youā€™re at it to be safe
*Backup anything important and Flash Lineage or /e/ or OS of your choice
*Load .apk on new OS, install it as you would any other .apk, and see if that crap still worksā€¦

Wish me luck. If someone beats me to it, so much the better - please share your results!

I unfortunately cannot give an estimate on how and when will TWRP will be supported for both units, but I can cook up a nice article on how to flash builds/mods using alternative AOSP/Lineage recovery.
Also, need to mention this: since A/B partitioning on the new batch, TWRP cannot be consistently supported since the recovery resides in the boot image and that is replaced on every OTA.
For flashing builds, we provide two major flashing methods - both fastboot update and SP Flash packages for LineageOS, and then itā€™s the ROMā€™s job to do OTA.
For the first units, TWRP works, just not decryption. Sideload works though, so flashing pretty much everything works.
Iā€™ll still look into TWRP personally - and please note I cannot give you a concrete date as to when I will be able to release a build.

For your FM radio questions: