Is the version now correct?
Here's the new version:
https://drive.google.com/file/d/1eTm5AqKX5vnfLLDrNRB18jf9-6N3Ca-h/view?usp=sharing
--
You received this message because you are subscribed to a topic in the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bananahackers/AStA-oas3Jg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/e2f4c072-dc6f-429b-9ba9-9467546f7affn%40googlegroups.com.
There was an update recently, but there is an even newer version
(with a "Debug" menu!) on the KaiOS staging servers. I have
patched it, but didn't test it yet since I am on stock now:
https://drive.google.com/file/d/1cLJwK8GOG4CiIYrQ-qN43D8DV-Otexgn/view?usp=sharing
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/4c208d06-eb12-486e-a948-7c5845d13ee6n%40googlegroups.com.
A new version has been uploaded, the link is the same.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/e44cf2e1-d851-4ac7-98f7-b9b98f20d9cdn%40googlegroups.com.
I think that's because I forgot to remove META-INF from the
package. You can try it again now, I just uploaded another version
with a completely new zip.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/bc818c9b-40ab-4c80-b94a-69dce015d017n%40googlegroups.com.
Hi people!Here, we're going to post new versions of WhatsApp adapted for usage on GerdaOS and stock v13 firmware, since this WA topic is still popular in this forum. But also, we're going to post (and update) the guides of patching the stock version, so that anyone could do it themselves if needed.Patching guideSo, for the current state of off-the-shelf app, patching process is as follows (you need a stock-flashed phone with WA installed (for 8110 - with v15 and above), a target phone and adb):1. Gain the temporary root on the stock.2. Create a directory and enter it, and then create another directory called application, for instance:mkdir -p ~/wa-patch && cd ~/wa-patch && mkdir application3. Pull the contents of the WA application already installed on the rooted stock:adb pull /data/local/webapps/kaios.whatsapp.net/application.zip application/application.zip4. Unpack the contents and remove the archive itself:cd application && unzip application.zip && rm application.zip5. Remove META-INF directory (this is very important, otherwise signatures will not match): rm -rf META-INF6. Find the line that looks like this in the page.js file (starts with if(!window.Intl)):
if(!window.Intl)throw f(856),new Error("os unsupported (Intl is missing)");7. Replace this line with this:
if(!window.Intl)window.Intl=window.mozIntl;Save the file.7.1. (Optionally) remove the next statement after Intl-related (contains planned app expiration date) from the same page.js that looks like this:
if(Date.now()>=1569023999e3)throw f(414),new Error("expired app");(in this case it's pointing to expire at September 21 2019)Save the file.8. If you want to, you may already deploy the patched version via old Firefox/PaleMoon/NewMoon WebIDE or XPCShell onto the target. If you wish to create the GerdaPkg/OmniSD-compatible package, proceed to the next step.9. Staying within application directory, repack the application.zip:zip -9r --exclude=*.git* --exclude=*.DS_Store* --exclude=README.md ../application.zip .10. Go to the level above and create metadata.json:cd .. && echo {\"version\": 1, \"manifestURL\": \"app://kaios.whatsapp.net/manifest.webapp\"} > metadata.json
11. Staying in the level above, pack the GerdaPkg package:zip -9 whatsapp.gpkg.zip application.zip metadata.jsonNow you can transfer, install and test the ready package (whatsapp.gpkg.zip) on the GerdaOS/v13 target. Don't forget to uninstall the previous version and reboot before installing the new one.
P.S. The steps are shown for Linux/Mac, for Windows you could use Cygwin/MSYS or WSL2 environment to use the same commands, or just replace them with their Win32 counterparts.Ready versionAnd now, starting with ready-made patched versions (please verify on v13 or recent GerdaOS build before posting your own patched builds):Jul 24, 2019: https://cloud.disroot.org/s/dikLbs26m34gba9/downloadHave fun!
Hello everyone,
I've made a script to automatically download WhatsApp from
KaiStore and patch it to work on GerdaOS. I have tested it by
pushing the application.zip to a GerdaOS phone with WhatsApp
already installed, but the login should also work. Here's the
code: https://gitlab.com/affenull2345/waptcher (you can run it in
a Docker container if you aren't on a Linux system)
Once my pending merge request (https://gitlab.com/banana-hackers/store-db/-/merge_requests/275) is accepted, automatically patched versions will be available on the B-Hackers Store. I have set up a patching server for that purpose which currently checks for KaiStore updates every day and publishes new patches if there are any updates.
--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/23701b11-9cbb-4915-ba36-eacf4a7b25ban%40googlegroups.com.