*** rdr_ is now known as rdr | 09:13 | |
_David_ | It's alive! OK, I need help downgrading an Android app. https://forum.sailfishos.org/t/revolut-fails-loading-since-7-22-version-27-october-2020/3307/21 | 16:10 |
---|---|---|
b100dian[m] | Whats alive? | 16:10 |
_David_ | This IRC! 1st problem is downloading a safe (old) version of the banking app. I've seemingly done this | 16:11 |
_David_ | ... using Aurora Store | 16:11 |
b100dian[m] | Yes, you can specify a version if you know the number beforehand | 16:11 |
b100dian[m] | But you need to uninstall to downgrade I would guess | 16:12 |
_David_ | There may be a way to use adb | 16:12 |
_David_ | So Aurora is now obscuring its download location for security reasons | 16:12 |
_David_ | I think this is one of the files: ./home/.android/data/app/~~QE_b264klFLAYFbD-sSgqQ==/com.revolut.revolut-0qSRFrvwAhWiu3bDrh0Pnw==/split_config.en.apk | 16:13 |
_David_ | Second file: ./home/.android/data/app/~~QE_b264klFLAYFbD-sSgqQ==/com.revolut.revolut-0qSRFrvwAhWiu3bDrh0Pnw==/base.apk | 16:13 |
b100dian[m] | Yeah pm command but with some sort of transactions to add multiple apks, but still I think you need uninstall first | 16:13 |
_David_ | Third: ./home/.android/data/app/~~QE_b264klFLAYFbD-sSgqQ==/com.revolut.revolut-0qSRFrvwAhWiu3bDrh0Pnw==/split_config.arm64_v8a.apk | 16:13 |
_David_ | This is why I'm hoping I don't have to uninstall first: https://www.reddit.com/r/AndroidQuestions/comments/17sgt4w/problem_with_adb_when_installing_older_app/ | 16:14 |
_David_ | It may not be an issue but deleting the data means I have to reverify my identity and they may question why I've downgraded or why I'm on an old version | 16:15 |
_David_ | Another option is to use an unofficial source but that's kinda asking for trouble with a banking app | 16:16 |
_David_ | same directory has an "oat" subdirectory with .odex and .vdex files | 16:19 |
_David_ | They're apparently precompilation files so this may be too difficult | 16:21 |
_David_ | I've found a similar archive on APKmirror. If the apk files are the same, it should be safe right? | 16:32 |
b100dian[m] | Just uninstall and install from aurora store the one downloaded with specific version, it is not worth it to try the pm command by hand | 16:37 |
_David_ | If they question it, I will be homeless | 16:40 |
_David_ | So I'd rather avoid dealing with re-verification | 16:44 |
_David_ | For what it's worth, I moved to France, they're stalling on my residency card and I can't open a new French bank account without one. | 16:47 |
_David_ | The APKmirror files are completely different... Will try copying the official ones over but I don't know if adb needs signed stuff | 16:53 |
b100dian[m] | Hmm, tarball of /data/data files from that app? | 16:58 |
b100dian[m] | But they shouldn't re-verify if you just login | 16:59 |
b100dian[m] | Even if they fail to provide a website they do store through apis on the server your info | 16:59 |
_David_ | there's a website but you need to verify through the app and I never got that to work | 17:00 |
b100dian[m] | Anyway glad I stayed away from this [cr]app:D | 17:00 |
_David_ | :) | 17:01 |
b100dian[m] | No, I mean the app can be installed on another devica and you just login no verification I would hope | 17:01 |
_David_ | "Hmm, tarball of /data/data files from that app?" The installed one that refuses to start cos rooted? | 17:01 |
_David_ | I've done that before and they complain about it | 17:01 |
b100dian[m] | Yea, maybe the older one can use those files..? | 17:01 |
b100dian[m] | Then how is it different if you downgrade w/o uninstall? | 17:02 |
_David_ | OIC, yeah I did think about that -- backup the data files | 17:02 |
_David_ | I don't know, that was my question XD | 17:02 |
_David_ | OK so I have to run ADB on a host/server? I can't run it from Terminal? | 17:06 |
_David_ | OK tarballed. Let's try that | 17:15 |
_David_ | I suppose the worst case scenario is I buy a freaking Android phone | 17:15 |
b100dian[m] | Maybe use numeric owner when creating the tarball (or was it when extracting)? | 17:25 |
_David_ | I have a tarball with around 6 directories in it | 17:30 |
_David_ | like cache/ | 17:31 |
_David_ | so that didn't work with the older version | 17:31 |
_David_ | (not terribly surprisingly) | 17:31 |
_David_ | The base installation cache is empty | 17:38 |
_David_ | File list of the tarball: https://pastebin.com/kpMMxbLL | 17:39 |
_David_ | (didn't work when I emptied cache) | 17:39 |
_David_ | MIGRATION_PREFS.xml had version number in. Got further but still didn't work. Gave it a pretty good shot -- thanks for help | 18:06 |
b100dian[m] | maybe try with clearing the data next if you have the tarball ..? | 18:26 |
b100dian[m] | Next is running apktool to decompile it and modify the test for rooted device in smali | 18:26 |
_David_ | That's possible? | 18:28 |
_David_ | Old version is throwing up an error with default new installation | 18:28 |
b100dian[m] | That is possible, of course, it is software, it cannot make the water not wet ;) But it is not fun if it is obfuscated and not easy. | 18:29 |
b100dian[m] | Hmm, so the version you knew should work doesn't either? :-/ | 18:29 |
_David_ | Not necessarily should work | 18:38 |
_David_ | I'm not sure when they put the root check in | 18:38 |
_David_ | Trying a November version | 18:40 |
_David_ | what I thought was an error message, isn't. | 18:44 |
_David_ | But the 3rd to last version crashes out whilst starting as does the previous version. The 2nd to last and latest versions have the root check | 18:45 |
b100dian[m] | the crash should have info in logcat so you can attempt a fix by decompiling some other day. | 18:47 |
b100dian[m] | How's the current version that you tried? does it start? ask for verification? | 18:47 |
_David_ | Starts the same way then has login button (with no data) then does root check | 18:54 |
_David_ | Magisk has broken the root check https://www.reddit.com/r/Magisk/comments/1h429op/help_revolut_detection_root_december_24/m1id57w/ | 18:54 |
_David_ | They're also saying it's searching for apps like Magisk (and presumably MicroG), and refusing to start if it finds them. So they suggest to install in a different Android user profile. | 18:58 |
b100dian[m] | gosh, that is badly spent energy, to try to be free under the circumstances.. ;) Buy an android phone, move all revolut stash into another account, return the android phone. or use a friends one. There are definitely other "fintech" solutions that have a website instead of an app that locks you out. | 19:14 |
_David_ | If I can't switch to another android account within Sailfish, how does that help? | 19:18 |
_David_ | Definitely want to switch banks but the other issue is France's makes them check residency and the banks are too lazy to check mine (without a residency card) | 19:20 |
b100dian[m] | What i'm saying is that it may be that n26 or wise will treat you better or other alternative not-brick-and-mortar. Get out of this situation somehow, then re-evaluate your options | 19:22 |
_David_ | I tried n26, same issue with residency | 19:23 |
b100dian[m] | sorry to hear that - I mean, that issue is also with revolut, that's why you try not to uninstall it. Just find a way out, and use a system that is accesible instead of one that is lockked out. Whatever that means for you. Buying a very cheap Android could get you out now I would assume, or using a friend's phone, then make sure you're not into this position | 19:25 |
b100dian[m] | Alternatively, study keywords such as "root apktool decompile sign" e.g. https://www.hebunilhanli.com/wonderland/mobile-security/decompile-modify-smali-recompile-and-sign-apk/ and make it wet | 19:28 |
b100dian[m] | I am personally using a bank's app because of the exchange rate and have to put up with this, tried magisk in waydroid but really changing the source code was the solution, after many trials I got it working. Do you have time for this under the circumstances? Why only ever depend on an Android app if they can do this to you? | 19:29 |
_David_ | I have time but I'm not sure about the ability | 19:31 |
_David_ | Like I said, I tried N26 and didn't expect them to block out every non iDroid user without warning | 19:32 |
b100dian[m] | ok, so they also use app-only access? I didn't know that, sorry | 19:34 |
b100dian[m] | I do use wise, but was not going to recommend it just because I use it, I tried to suggest that you do your own search on services available without android app | 19:35 |
b100dian[m] | The only problem with wise is that they need the newer SailfishOS browser, or Angelfish, their site doesn't anymore work in the current 4.6 browser | 19:36 |
_David_ | No, N26 will only give me an account if I have a residency card. | 19:37 |
_David_ | I imagine Wise is the same | 19:37 |
b100dian[m] | Isn't revolut the same? | 19:37 |
_David_ | I think I got my account before that regulation, or the regulation was updated. Brexit was a mess and most didn't have a card for a year | 19:40 |
b100dian[m] | yeah, that's what I read between the lines, the only way revolut is better is because you're already onboarded | 19:41 |
b100dian[m] | anyway, keep trying different versions and if time allows, find that decompile muscle you didn't know you got ;) | 19:41 |
_David_ | Yes, I have a restricted account under Revolut, but I think it only blocks deposits | 19:44 |
_David_ | I do wonder if I'm missing something because there were half a dozen Sailfish users using Revolut and no-one else seems to have a big problem | 19:46 |
_David_ | I posted again on the forum but I don't think people go there much any more | 19:47 |
_David_ | Apparently microG is playing up. God I hope it's that. https://forum.sailfishos.org/t/installing-microg-on-sailfish-os/14375/155 | 19:51 |
_David_ | No fix for it yet | 20:36 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!