Git Product home page Git Product logo

Comments (9)

zhuowei avatar zhuowei commented on August 17, 2024

Just pull TinySubstrate from an existing BlockLauncher APK, or build it yourself from the latest source from Saurik's Git Repo.

from mcpelauncher.

MCMrARM avatar MCMrARM commented on August 17, 2024

You are talking about this repo: gitweb.saurik.com/substrate.git/tree? I don't see there any android-specific files, but iOS-specific, or build file. Please update README.md, so it would be much easier to build. Also didn't you forget something in jni folder? It says "lmcpelauncher_tinysubstrate" in Android.mk, but it may be just reference to tinysubstrate lib.

And how did you get tinysubstrate lib, I can find CydiaSubstrate, but not TinySubstrate!

from mcpelauncher.

zhuowei avatar zhuowei commented on August 17, 2024

Here's a .zip of my tinysubstrate folder. It's literally CydiaSubstrate with a new makefile.
https://docs.google.com/file/d/0B-fqnmBSesbtdDNYTk43V1dnMmc/edit?usp=sharing
build with ndk-build, then copy the resulting shared library over to the MCPELauncher's libs folder. There is a script - copylibkludge - that might help.

from mcpelauncher.

zhuowei avatar zhuowei commented on August 17, 2024

About the -lmcpelauncher_tinysubstrate: copy the shared library into your NDK installation's platforms/android-14/arch-arm/usr/lib folder so the build process can link against it.

I know the build system sucks - it has made a couple of people ragequit, including me when I tried to set up a fresh build environment. If you have any ideas to improve it, please tell me.

from mcpelauncher.

MCMrARM avatar MCMrARM commented on August 17, 2024

It is still the same, I don't know what I'm doing wrong. I have built tinysubstrate successfully, copied it to NDK and to libs it was in copylibkludge, and it is still crashing, still the same error. It was much easier to build it earlier (even on Windows, and without Android SDK in path, and I have done it multiple times). This is my build script (it is batch file):

android update lib-project -p libsuperuser/libsuperuser -t 1
android update lib-project -p tinysubstrate -t 1
android update project -p MCPELauncher-app -t 1
android update lib-project -p aFileChooser/aFileChooser -t 1
cd tinysubstrate
ndk-build
cd ..
cd MCPELauncher
ndk-build
cd ..
cd MCPELauncher-app
ant clean debug
Pause

I have built 1.2.9 using it (excluding tinysubstrate entries) and it were working fine. But if it would give me a error at least. I hate Logcat, in Eclipse it has very bad filtering, if it won't do it automatically.

EDIT: Building Log: https://gist.github.com/MCMrARM/6258037

EDIT2: I see a new update. Maybe it will build...

from mcpelauncher.

zhuowei avatar zhuowei commented on August 17, 2024

What's the LogCat? Same error? I think you need to copy the tinysubstrate into libs/armeabi-v7a by hand- it doesn't go in automatically.

from mcpelauncher.

MCMrARM avatar MCMrARM commented on August 17, 2024

Yes, I have done this earlier, but looks like I did it: I had to copy it to MCPELauncher-app not MCPELauncher, or maybe the newest update fixed it, as I have done these two things in the same time. Anyway thank you for response, as you have many more important things to do that just responsing to issues (; but it is very hard to do, as README.md instructions are outdated.

PS. adb is so problematic when used outside Eclipse, every time it says "adb server is out of date. killing..." and later I can end up "waiting for device" or "rm failed".

from mcpelauncher.

zhuowei avatar zhuowei commented on August 17, 2024

I'm glad you got it working. If you have the time, can you write an updated build tutorial? I'll appreciate it.
Regarding adb: you have two copies of adb on your computer that don't match. I get waiting for device errors frequently on 4.2.2 but not many in 4.3.

from mcpelauncher.

MCMrARM avatar MCMrARM commented on August 17, 2024

Yes, I will do tutorial (for Windows, but I may try to learn .sh a bit, so it will work also for Linux), if I would be able to do it again.

I have installed sdk: adt-bundle-windows-x86-20130219 with API level 17 (4.2.x), I will look on internet, maybe I will find a fix. But adb it is still best option, as enabling or disabling SD Card on Android is taking years.

from mcpelauncher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.