How to Kodi 17 - General Questions and Answers

OK, this may sound like a stupid question, but since I don't know the answer, I am going to ask. So let's say you have a build of Kodi on your PC that you like. You went in and configured the build your custom way. How do you save that as an APK so that it can install onto all the systems you want it on? If not possible, how do you DL a build as an APK since instead of DLing the builds, you just put in a URL, and the machines do the work for ya. I need to put an APK build onto a flash drive, so I can install in several different machines. I would really like to use the build I have changed, but willing to DL the build. I just cannot figure out how to DL the builds, because most just say go to URL, and if you do with your PC, you cannot get the APK. Any help would be appreciated

gatorsneil75 said:
OK, this may sound like a stupid question, but since I don't know the answer, I am going to ask. So let's say you have a build of Kodi on your PC that you like. You went in and configured the build your custom way. How do you save that as an APK so that it can install onto all the systems you want it on? If not possible, how do you DL a build as an APK since instead of DLing the builds, you just put in a URL, and the machines do the work for ya. I need to put an APK build onto a flash drive, so I can install in several different machines. I would really like to use the build I have changed, but willing to DL the build. I just cannot figure out how to DL the builds, because most just say go to URL, and if you do with your PC, you cannot get the APK. Any help would be appreciated
Click to expand...
Click to collapse
You could decompile the standard APK with APKtool then modify it the way you want then recompile the APK and use your customized APK.
Sent from my SM-S903VL using Tapatalk

Related

Building android: noob warning

Howdy,
I just built and installed android 1.1 on my dev w/o major problems. But how do you create an update.zip? I tried dumping system.img,userdata.img and root.img into a zip file, but it failed to verify with a signature error.
Thanks for any help!
Might sound like a silly question, but did you sign the update.zip?
Meltus said:
Might sound like a silly question, but did you sign the update.zip?
Click to expand...
Click to collapse
Nope. Is there a tutorial on how to sign? (btw, I'm on either OS X or Linux).
Thanks!
all u had to do is take a look over at the theme subforum and u would have found this:
http://forum.xda-developers.com/showthread.php?t=471586
it has apk signer and .zip signer as well
Thanks! I appreciate it
haitiankid4lyf said:
all u had to do is take a look over at the theme subforum and u would have found this:
http://forum.xda-developers.com/showthread.php?t=471586
it has apk signer and .zip signer as well
Click to expand...
Click to collapse
Ocalap2p said:
Nope. Is there a tutorial on how to sign? (btw, I'm on either OS X or Linux).
Click to expand...
Click to collapse
Never mind. It looks like the sdk has the java tools I'll need
reviving old thread, i searched and this is all i could find related to what i'm asking. I downloaded a system.img and boot.img that are very, very, very bare. They're almost stock android (nothing but the system, phone, camera, settings, calendar, calculator, and alarm). there aren't even any ringtones, notifications, ui sounds, or alarms. nothing. the thing is bare, i think even the drivers are broken because i can't end calls. anyway, this is perfect for me because i want to use it to study android and get more acquainted with it before i start actually building from source. I pretty much want to know what every single file does and what files apks depend on. Anyway, this rom is good for study, but i want to be able to make an update out of it once i start adding things, but how do i go about extracting all files from the system and boot imgs?

Old cooker want to cook something

After many many tweaking and cooking ROMs for WinMo I want to do same with Android. The reason I cooked for WinMo was speed, but since it is not an issue with mine Desire(but it can be better I want to customize ROM a little bit, so remove some stuff and later maybe add few apps. If this want be a problem I will try to tweak too.
However in WinMo I have always have served kitchen, I just tweaked removed and add few things and job done but here there are no kitchens..yet(I hope somebody will sooner or later post it
So is there anybody who can help to set up kitchen so that I can cook few roms for me and this community?
So if I understanded correctly I need following to start cooking
android sdk
java jdk
signing tool
stock ROM
I have downloaded them all, extracted SDK in D:\HTC Desire\Android SDK, installed Java JDK in C:\Program Files (x86)\Java and I don't know what to do next?
Extract ROM, where(?), extract system.img which is in rom.zip if yes how and where?
Thanks for your help
Benko, you can extract the ROM anywhere you want. But, you don't want images. You should look at Pauls rootedupdate.zip as a starting point. Unzip that.
eViL D: said:
Benko, you can extract the ROM anywhere you want. But, you don't want images. You should look at Pauls rootedupdate.zip as a starting point. Unzip that.
Click to expand...
Click to collapse
Ok extracted that rootedupdate.zip and found a lot of apks and obexes so after I delete those files that I dont want how to put that all back together to file that is flashable?
You'll have to resign the zip after removing stuff, otherwise it will give verification errors when trying to flash.
You need to remove the current certificates from the file, there are three files in the META-INF folder - delete those, but keep the update script (the COM folder inside), it's needed for flashing.
I use this little thingy for signatures: http://android-dls.com/wiki/index.php?title=Generating_Keys
Hope this helps!
PS-beware of any dependencies between the various apk's and any framework modding that might be needed, otherwise you'll get more fc's than you can carry; I know I did
PS2- if you want a served kitchen, you'll find one over at Modaco, for a CyanogenMod port (a link is posted in a thread here) - see if that suits you're needs.
PS3- check out the Chef Central sticky here, too - it should be easier to get quicker/more accurate info from the seasoned cooks there
benko286 said:
Ok extracted that rootedupdate.zip and found a lot of apks and obexes so after I delete those files that I dont want how to put that all back together to file that is flashable?
Click to expand...
Click to collapse
Rezip the folders: meta, system & boot.img.
Then resign them. You can then transfer it to sd and try to flash. If it doesn't boot, then you have to troubleshoot.
May I know that how to change layout of the home screen?
e.g. HTC sense has news/mail widget where first installed and booted.
Where can I change these settings?
Also , I want to know if I made my own rom, and updated to my desire.
If it doesn't boot or anything, can I updated the rootedupdate.zip from Paul to get the desire back working?
Thanks
eViL D: said:
Rezip the folders: meta, system & boot.img.
Then resign them. You can then transfer it to sd and try to flash. If it doesn't boot, then you have to troubleshoot.
Click to expand...
Click to collapse
kevin612 said:
May I know that how to change layout of the home screen?
e.g. HTC sense has news/mail widget where first installed and booted.
Where can I change these settings?
Also , I want to know if I made my own rom, and updated to my desire.
If it doesn't boot or anything, can I updated the rootedupdate.zip from Paul to get the desire back working?
Thanks
Click to expand...
Click to collapse
Ok zipped those folders(META-INF, system, boot.img) in rootedupdate.zip, used autosign.bat to manually sign that .zip and now it should be flashable?
@Kevin-yes if it is not bootable you can flash Pauls rom again
benko286 said:
Ok zipped those folders(META-INF, system, boot.img) in rootedupdate.zip, used autosign.bat to manually sign that .zip and now it should be flashable?
@Kevin-yes if it is not bootable you can flash Pauls rom again
Click to expand...
Click to collapse
Hopefully. After a few hundred times you'll get the hang of it. ;P
If it boot loops, it won't boot. Try again. Always remember what you're adding and subtracting. Maybe start out with only a couple things.
eViL D: said:
Hopefully. After a few hundred times you'll get the hang of it. ;P
Click to expand...
Click to collapse
OK Since I returned my device to my store because of warranty can you try that ROM, I will upload it for you ?
benko286 said:
OK Since I returned my device to my store because of warranty can you try that ROM, I will upload it for you ?
Click to expand...
Click to collapse
Sure, why did you return it?
Uploading it now
Some very very bad battery leaking...80% in one night and sync was off!
Thank you so much eViL D: and everybody else for help
Ok I also want to create my own rom but I don't know how to sign it..
Any help would be most appreciated.
ROM Link here
http://www.mediafire.com/?zt4ymz42jzj
I hope it works
So for now I even don't need Android SDK?
I downloaded the rom kitchen from Chef Central...Does the rom need to be sign after I built them out in Linux?
Also there are some folders I not understand yet....
Inside system folder - customize, etc, framework, usr and xbin I dont understand yet.
Cause looking at eVil D:'s rom and paul's rom is very different in those. And even paul's rom doesnt have customize folder.
Would like to understand all and see if I can make a rom out.
Thanks
Anybody tried my ROM ?
benko286 said:
Anybody tried my ROM ?
Click to expand...
Click to collapse
Got corrupted DL. Will have to try again.
kevin612 said:
I downloaded the rom kitchen from Chef Central...Does the rom need to be sign after I built them out in Linux?
Also there are some folders I not understand yet....
Inside system folder - customize, etc, framework, usr and xbin I dont understand yet.
Cause looking at eVil D:'s rom and paul's rom is very different in those. And even paul's rom doesnt have customize folder.
Would like to understand all and see if I can make a rom out.
Thanks
Click to expand...
Click to collapse
the kitchen signs the rom automatically. run the menu from terminal ( using linux) and u will see all the what the kitchen is doing.
do not try to compare custom roms ... they are different. some have extrafiles & folders depending on their customisations.
best thing is to compare with an original rom for the desire. and u see what has been added to get X and Y. involves a lot of trials and errors.
eViL D: said:
Got corrupted DL. Will have to try again.
Click to expand...
Click to collapse
I will try downloading too, if it wont work I will reupload it
I know that this can sound wierd but can anybody of you upload his kitchen?
Thank you all for help!
EDIT: File is corrupted, uploading again!
Reuploaded and tested, RAR file is ok
http://www.mediafire.com/?w5wommomzmk
Please somebody try ROM
Thanks
benko286 said:
Reuploaded and tested, RAR file is ok
http://www.mediafire.com/?w5wommomzmk
Please somebody try ROM
Thanks
Click to expand...
Click to collapse
Anybody tried ROM ?
P.S anybody has link to CyanogenMod port, anybody uses that kitchen?

Create own Rom

It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
blueis300 said:
It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
Click to expand...
Click to collapse
Its way over your head! But even devs had to start somewhere. Guys like JT learned everything he knows thru google fu and he actually got the fascinate recognized cyanogen. So don't give up!
Sent from my Gummy Charged GBE 2.0 using XDA App
I would love to start to learn how to dev.
Any one could point me in the right direction?
Lol Yeah I figured it was above me but will keep reading, ask some questions and see what happens.
blueis300 said:
It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
Click to expand...
Click to collapse
Look up harvard's cs50 course.. Its free and online and will get you started.. Ide post a, link.. But I'm lazy so google it
Sent from my SCH-I510 using XDA App
ty ace
i'll look into it, I've been looking for info for awhile, and was wondering where to start reading up on a "how to"!

PC script to auto remove apk's

Hey everyone!
On the rom I currently use there are about 20 apk's I have no need for. What I do is download the rom, and individually delete the apk's before flashing the rom. The thing is I flash quite often (cheeky, I know ) and this is getting quite frustrating.
Ideally I want a script that does this all for me. I found one but it seems be for running on the phone, after the apk's have been installed. Does anyone know how I can create a script for the PC that does this before I even install the rom?
Thank you for any suggestions.
Oh and here's the thread I found that looked relevant...
http://forum.xda-developers.com/showthread.php?t=674357
edcoppen said:
Hey everyone!
On the rom I currently use there are about 20 apk's I have no need for. What I do is download the rom, and individually delete the apk's before flashing the rom. The thing is I flash quite often (cheeky, I know ) and this is getting quite frustrating.
Ideally I want a script that does this all for me. I found one but it seems be for running on the phone, after the apk's have been installed. Does anyone know how I can create a script for the PC that does this before I even install the rom?
Thank you for any suggestions.
Oh and here's the thread I found that looked relevant...
http://forum.xda-developers.com/showthread.php?t=674357
Click to expand...
Click to collapse
Over what OS?
If in Windows (or any M$ OS, incl. DOS) you can make a batch file.
My file is adjunted as example (modify as you like, put in the root dir -obviously to the unzipped ROM- and run. Rezip and maybe re-sign)
salu2
Thank you. This is exactly the kind of thing I am after. If I had of been born just a few years earlier I would probably know all about batch scripts. Fortunately, I just missed the DOS days!
Anyway, I puzzled out / looked up the commands in the script you posted. Based on that I extracted the rom, then placed the batch file within it, so that the cd (current directory) command runs correctly.
Unfortunately this mucks up the signing on the rom. Do you re-sign your CM7 roms every time you do this or is there an easier way?
Edit: My PC is Win 7, 64bit, soon to be Win 8 Consumer Preview.
Edit: The roms do not need resigning.
I don't re-sign the ROM, simply flash again over Clockworkmod Recovery.. and work.
But, you can:
1) sign using Auto-Sign....
2) Click [Thanks]...
Salu2
__________________________________________________________________
I know, I know.... my english is ****ty... but my spanish is much better... ;-)
Big thank you. That's solved that one nicely for me!
You're welcome.
Updated zip in my first Post.
Salu2
Hey again. I was hoping to build on the script you kindly provided. At the moment I am using various alpha roms where the exact apk's present changes fairly often. It would be great if I could see the outcome of each action. This way I would know if the apk has had it's name changed or been removed. How would I enable this?

need Cyanogenmod v.11. where/how do i get it?

okay, so im flashing my nook with Cyanogenmod v.11....
i found what i thought was it but doesnt appear to be.
i have a zip for NookHDplus-CWM-6046-for-internal-memory-rev0-(07-13-14) but it doesnt have the files that it is suppost to come with because people say that same thing should have more files and different files. some say it's a zip, some say it's a rar. but my question is: how do i find it? all the sources are so old that they refer to the site that shut down.
where can i get the proper version of it?

Categories

Resources