Unpacking Kodi APK and repacking with user build - Android Studio

Hi,
I am looking to unpack the Kodi APK and repack it along with my custom build.
I want to avoid the whole file manager > add source > install from zip. etc
I want an apk of kodi so that when it is installed, it is already installed with my build.
please could someone help me get to this position, I have very little knowledge of app building etc but I am a keen learner and quite on the ball - even if someone knows instructions to follow that would be great.
I understand the trademarks surrounding kodi and I know that I need to make my build 'unaffiliated' with kodi
forgive my ignorance if I have broken any forum rules, this being my first post.
thank you - Craig

Related

[ROM] [ICS] [AOKP] DroidNix ~ Native Linux Applications ~ No Chroot

I have build AOKP ICS for the P4-WiFi and have edited the ram-disk in order to include the core Linux files, and I am currently working on installing Lua, Perl, and Hamachi, and making a CWM flash-able zip.
I will not hold your hand! This is not this hard.
This is not perfect, it may need some tinkering with to make it work!
If this bricks your tablet, I am not responsible, but I will attempt to help you fix it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~Installation Instructions~~~~~~~~~~
Download everything in the http://goo.gl/h3aDy folder.
Restore it with a CWM backup.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~Changelog~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0.0.1-Alpha
Initial build with basic Ubuntu-ARMEL files and LSB-Core installed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~WIP~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-CWM Flashable ZIP
-Hamachi (Files.Hamachi.Cc mirror down. LogMeIn notified, awaiting solution.)
-Lua
-Perl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*RESERVED*
Sorry about complicated installation instructions, I am working on simplifying them.
Hi man.
please tell us what is this exactly?is it an Ubuntu OS or sort of?
Question:in the "/downloads/" directory there's a build named "Latest-Build-EXPERIMENTAL.zip ".is it a flashable zip?
The only difference between Ubuntu or any other distribution are the repositories and the name. This was made of Ubuntu Lucid and the zip doesn't work yet.
interesting... keep it up!
Thanks, I want to get Hamachi working but the place they had the working build is gone.
Has anyone gotten it to work yet?
I've a GT-P7500 and will try it...Hate ADSL speed...
I don't n to be needly or pushy or anything, but can the OP, or anyone running the ROM, make a video showing the Native Linux app capability? I know it would have to be compiled for ARM and It's been hard finding ARM apps for Ubuntu, for example, but you can show me something cool then I'll love you all forever.
Does this have any package management included? How is this better than using chroot? In my experience for the things I want to do chroot is not bad other than the fact that I want an external keyboard (to program in emacs), but if this is faster somehow that could be nice. But I'd rather have the package repositories of Ubuntu over speed personally.
Waiting anxiously for a vid or a better explanation of it's use...Keep it man!!!
Perhaps if you compress it I can download...it's sooo big and my internet speed is 0.7mbps
It is better than chroot because it does not require a lot of the core Linux capabilities to run in two instances as in a chroot, so it is approximately twice as fast, and I am working on a package management app, but I cannot just use the Ubuntu repositories because I have to rebuild the applications for the specific hardware, but I am working on a package management app, but I am just learning Java.
GazaIan said:
I don't n to be needly or pushy or anything, but can the OP, or anyone running the ROM, make a video showing the Native Linux app capability? I know it would have to be compiled for ARM and It's been hard finding ARM apps for Ubuntu, for example, but you can show me something cool then I'll love you all forever.
Click to expand...
Click to collapse
I would right now, but I just got back from camp and my tablet is at my mother's house. I will have a video up in a couple of days.

[GUIDE] dsixda's Android Kitchen - Now supports GS3 I9300 (Windows/Linux/Mac)

dsixda's Android Kitchen - Now for Samsung Galaxy SIII GT-I9300
Compatible with Windows (Cygwin) / Linux / Mac OS X
The following is a guide to assist you with creating your own Samsung Galaxy SIII GT-I9300(T) custom ROMs with the kitchen. This is NOT a guide to help you become Cyanogen or do fancy things with AOSP, but it may be your springboard to bigger things in the future.
Some of you already know about the Android Kitchen. It is a project I started on back in February 2010 to help newbies create their own custom ROMs and learn more about Android. As of the latest versions, you can now create your own Galaxy S3 I9300 ROMs with the kitchen.
NOTE: This guide may also work for other Samsung devices. So if you were told to come here and you have a different device, it was not an error - just make sure you use a base ROM from your own device, not from the I9300! For all other Galaxy S3 variants, this guide might not be exactly the one you're looking for. There may be support for your S3 device in the kitchen, but I'd need to post different instructions. Check the first post of the kitchen thread for any updates for linked instructions.
I'd like to thank klander for testing and providing feedback, which is always appreciated!
[MAIN PAGE] [RELEASE NOTES] [FAQ - page 1] [FAQ - page 2]
​
PROCEDURE FOR MAKING YOUR ROM:
NOTE: If you have a non-I9300 device and were told to follow these instructions, then use a base ROM from that device, NOT a ROM meant for the I9300!! The same steps below, however, (and common sense) should be used.
First, you need a rooted Samsung Galaxy S3 I9300 with a custom recovery menu, which allows flashing of custom ROMs.
Visit the Android Kitchen thread to download the kitchen. Then, follow the link to the FAQ which will show you how to install it on Windows, Linux or Mac OS X. Ensure you read the FAQ carefully.
Put one or more of your base ROM(s) under the original_update folder. For the Samsung Galaxy S3 I9300, there is support for the following formats (that I know of) which can be placed in that folder:
Stock firmware:
system.img, boot.img, cache.img (and optionally: modem.bin)
TAR/ZIP file containing the above. NOTE: If the TAR file name ends with "MD5", remove the MD5 part from the name.
OR Custom ROM:
must be a ZIP file created by the kitchen from the stock firmware (NOTE: The kitchen may NOT support custom ROMs created through other methods such as CyanogenMod, due to potential file structure incompatibility issues)
OR Nandroid backup from custom recovery image:
system.img, cache.img and boot.img
system.ext4.tar, cache.ext4.tar and boot.img
Here are some basic steps to creating your first ROM after you have your base of files under original_update (more options are available in the kitchen):
Start the kitchen with: ./menu
Create a working folder (by choosing your base ROM)
Root your ROM
Add Busybox
Optional: Disable boot sounds
Optional: In the Advanced options menu: De-odex your ROM (your mileage may vary as to whether this works 100%)
Optional: Add or remove the modem.bin from your working folder
Build ROM
The ROM is built into a ZIP file meant for flashing from the custom recovery menu. No Odin. Make a Nandroid backup of your current system before you flash anything!
Some notes:
Just select the defaults whenever you are asked about something in the kitchen and are unsure whether to type 'y' or 'n'.
There are lots of questions answered in the FAQ in Posts 3 and 4 of the main Android Kitchen thread. So please go through that first if you have any issues.
For the benefit of other readers and to prevent confusion, please only discuss the Samsung Galaxy SIII GT-I9300 in this thread!
Most of all, have patience, take your time and enjoy!!
just what i need
I have a de-bloat script if you want a copy to convert to a kitchen script. It's perl calling system values and the kitchen.
Are we still meant to be extracting the img files manually to get them working?
Kangburra said:
I have a de-bloat script if you want a copy to convert to a kitchen script. It's perl calling system values and the kitchen.
Click to expand...
Click to collapse
I'm not doing additional work, but if you'd like you could make a plugin for the kitchen, which would go under the /scripts/plugins folder and can be accessed from the Advanced menu of the kitchen. I can advertise it in the kitchen thread (in the plugins section) as a separate download under your name.
Are we still meant to be extracting the img files manually to get them working?
Click to expand...
Click to collapse
With Cygwin the kitchen will give you instructions on which program to open and how to use it (manually). The programs are found in the kitchen.
With Linux/Mac, it is all automated and very quick.
Just when I thought this kitchen was a goner, you came along and made it work again
I have just put the French zip into the kitchen and it fails to extract the img files.
Available ROMs:
(1) I9300XXDLIH_I9300VFGDLJ1_SFR.zip
Enter selection number (default=1, cancel=0, r=refresh):
Selected I9300XXDLIH_I9300VFGDLJ1_SFR.zip
The new working folder will be named WORKING_101712_171605
Change the name (y/n)? (default: n):
Creating working folder WORKING_101712_171605 ...
Extracting ROM ...
Error: No system folder found!
Press Enter to continue
Click to expand...
Click to collapse
It works after manually extracting so no big deal
Kangburra said:
I have just put the French zip into the kitchen and it fails to extract the img files.
It works after manually extracting so no big deal
Click to expand...
Click to collapse
If the zip contains a tar file then it's not going to work, you need to unzip the tar file.
The best tool for deodex Roms!
THANKS dsixda! :good:
Regards
adesirello (AndyX ROM)
Awesome job mate :good:
tomorrow`s homework !
thanx !
Perfect! Just two days ago i was think at dsixda kitchen! I don`t have enough thanks for this!
Great.
Just what i was looking for.
dsixda said:
dsixda's Android Kitchen - Now for Samsung Galaxy SIII GT-I9300
Compatible with Windows (Cygwin) / Linux / Mac OS X
The following is a guide to assist you with creating your own Samsung Galaxy SIII GT-I9300(T) custom ROMs with the kitchen. This is NOT a guide to help you become Cyanogen or do fancy things with AOSP, but it may be your springboard to bigger things in the future.
Some of you already know about the Android Kitchen. It is a project I started on back in February 2010 to help newbies create their own custom ROMs and learn more about Android. As of the latest versions, you can now create your own Galaxy S3 I9300 ROMs with the kitchen.
IMPORTANT: For all other Galaxy S3 variants, this guide may not be exactly the one you're looking for. There may be support for your S3 device in the kitchen, but I'd need to post different instructions. Check the first post of the kitchen thread for any updates for linked instructions.
Click to expand...
Click to collapse
just wanted to let u know that when cooking my rom with ur kitchen, awesome by the way, i was getting constant hang at logo on boot. i went back to the beginning as it worked and booted and just added bit by bit until i found the issue. the issue was adding busybox install run parts. it took me a day to figure this out. i went through kernel to framework and nothing fixed this issue where booting just to logo then stuck. finally deleted working folder, went back to a basic rom, slowly added root, then busybox, deodex etc. i dont know if this issue is specific to just me and my particular build but just putting it out there for others wanting to use this excellent kitchen on their i9305.
L335K1 said:
just wanted to let u know that when cooking my rom with ur kitchen, awesome by the way, i was getting constant hang at logo on boot. i went back to the beginning as it worked and booted and just added bit by bit until i found the issue. the issue was adding busybox install run parts. it took me a day to figure this out. i went through kernel to framework and nothing fixed this issue where booting just to logo then stuck. finally deleted working folder, went back to a basic rom, slowly added root, then busybox, deodex etc. i dont know if this issue is specific to just me and my particular build but just putting it out there for others wanting to use this excellent kitchen on their i9305.
Click to expand...
Click to collapse
Did you create a /system/etc/init.d folder with your custom scripts after enabling the Busybox Run-parts? That option is quite old but I have not seen anyone try or test it with any of the Galaxies. Maybe when you have time next time, do a logcat while it boots and see what the problem is (assuming you had the init.d folder created already). Thanks
dsixda said:
Did you create a /system/etc/init.d folder with your custom scripts after enabling the Busybox Run-parts? That option is quite old but I have not seen anyone try or test it with any of the Galaxies. Maybe when you have time next time, do a logcat while it boots and see what the problem is (assuming you had the init.d folder created already). Thanks
Click to expand...
Click to collapse
yea i created the init.d folder first, (using v29 so it gives u warning anyways), but it still does this. i have to add init.d support manually through my script. but this is awesome, i just gotta remember not to use that feature.. i did both logcat and recovery logs but couldnt make heads or tails of it. it was easier to go back through ur kitchen, add 1 feature at a time until i found the culprit. thanks heaps
Please link to download the kitchen, thank you very much.
misacek said:
Please link to download the kitchen, thank you very much.
Click to expand...
Click to collapse
First post.
This is great!
Thanks dsixda.
YZ.
Please not see me? can give direct link? thank you very much
misacek said:
Please not see me? can give direct link? thank you very much
Click to expand...
Click to collapse
If you refuse to or are unable to read post #1 then you'll have trouble using - and even installing - the kitchen.

cifs.ko for Abominable Snowman

Desperate for proper cifs support, I tried out the STOCK PLUS rom from the forum but unfortunately it doesn't seem to support unicode characters (I assume the dev hasn't included nls_utf8.ko).
So what I'll do is to compile cifs.ko, nls_utf8.ko, md4.ko myself for the newest build of Ouya firmware that I can obtain, and share them here with people.
However since I'm a noob on this I need somebody to first give me a direction on how to compile the kernel modules. I've searched online but there doesn't seem to be a good tutorial anywhere. Apparently for many people it should be a piece-of-cake task though. If someone does respond and teache me the instructions then I'll do all the manual work and compile these things.
Hopefully eventually this post would be helpful for other people as well - I might compile other modules on demand and share here if I learn how in the end.
EDIT:
OK, apparently you'd need to configure the kernel and compile it with utf8 support.
1. clone this repo: https://github.com/ouya/ouya_1_1-kernel
2. follow the step-by-step kernel configuration tutorial at http://forum.xda-developers.com/showthread.php?t=2110842
3. note when you run 'make menuconfig'; remember to tick the utf8 option in the native language support section
I haven't had time to do this but theoretically it should give you the correct result.
Additional note:
Although STOCK PLUS does not support utf8 charset for smb (confirmed); it does support utf8 for nfs so you can instead do a nfs setup.

Firefox OS for Android One (Sprout) Phones

Anyone built already a flashable .zip file or .img files for Android One (Sprout) smartphones? Anyone can upload the latest version here? I'm not of a techy type of person but it seems like a lot of Android One users are looking for an easy installable ROM for their Android phones. Like this for example: http://forum.xda-developers.com/general/xda-assist/flashable-firefox-os-rom-android-one-t3160682
I found this link: https://github.com/b2g-sprout/ however a lot of them are not technically enough and even I don't even know what to do with these files even though I have already tried using Firefox's instructions and some other articles on the Web about Porting FFOS. Full instructions on how to build Firefox OS from the files on the given link would also be appreciated. And also an example on how to update them for the latest version. Thanks for all willing to help...
Technically, the files from b2g-sprout github can be directly built after syncing AOSP source code.
The guide itself is mentioned in the B2G readme file here
https://github.com/b2g-sprout/B2G/blob/master/README.md
Building HELP!!!
F4uzan said:
Technically, the files from b2g-sprout github can be directly built after syncing AOSP source code.
Click to expand...
Click to collapse
Can you give me specific instructions then on what to do with these files then? Please. I tried extracting "B2G" and "B2G-manifest" on my Home Directory then the "device-sprout" to the folder inside B2G: "device/google/sprout/" and I have no idea what to do to the others but when I try "./config.sh", it keeps on telling me that "sprout.xml" doesn't exist which I have no idea why. I am still very confused and hoping that you can solve this thing. I would also want to help and upload builds if ever, posting it on those users asking for a Firefox OS build for their Android One phones. Hope you can help us... :angel: I'll note you on those posts also so don't worry. :good: I will appreciate it also if you are to upload an already built rom for Firefox OS 'coz I have searched every corner of the internet already and there's not yet a version for Sprout. Thank you very much...
Still Searching
I have been searching everywhere for weeks now but still no answers. Anyone can help? Sorry but I'm really a big fan of the Open Web... And would really want to create apps for FFOS. :crying:

[MOD][SOUND] ARISE Sound Systems™

THIS IS NOT MY WORK.
The original developers can be found HERE. All credits to them.
I wanted to share this sound mod with you with a minor adjustment. The only adjustment I have made to the zip file is to modify which packages that should be installed. This can be altered to your own needs, but I wanted to share one that works with AOSP on Nougat. This should work on Oreo as well, both 32 and 64-bit.
What is included in this repacked version:
Magnum Opus Core module
Magisk Module
ViPER4Arise™ 2.3.4.0 module
Dolby Digital Plus™ module
Sony™ Xperia XZ Music Suite module
AOSP MusicFX module
Please give a thumbs up in the original thread if you find it useful.
For further adjustments or questions see the original thread.
Download HERE
Installation instructions:
Download
Install - You will encounter "Error 1" and the installation stops. This is to create the required files for the next step.
Install again.
Done!
Wait, what exactly is the point of this zip file you've created? There's just a tiny modification you've done, which you haven't clearly explained.
You basically just reposted another thread without any proper meaning or modification. Please stop spamming the forums. Everyone knows how to download ARISE, and there's no need for a new thread about it.
thes3usa said:
Wait, what exactly is the point of this zip file you've created? There's just a tiny modification you've done, which you haven't clearly explained.
You basically just reposted another thread without any proper meaning or modification. Please stop spamming the forums. Everyone knows how to download ARISE, and there's no need for a new thread about it.
Click to expand...
Click to collapse
Sorry I didn't know this mod existed until yesterday so I thought it was worth sharing with an even easier way of installing, so more people could enjoy this amazing mod. But that is not the case then this can be removed.

Categories

Resources