[Q] How do I build/compile an APK from a Github source? - Android Q&A, Help & Troubleshooting

Hello everyone
First I thought this was a nooby question, but after talking to a few professionals in this section it seems like it isn't a nooby question at all. The question is pretty easy: what is the most simple way to get the latest version of TextSecure installed on my Android Phone?
My solution was creating something using the sourcecode found here: https://github.com/WhisperSystems/TextSecure
But the question is, how can I get it working. I've tried multiple things, but it seems like it isn't as easy as I thought.
Currently I am on Windows 8. My phone is an Xperia S without GAPPS flashed, so no Play Store. Only F-Droid with FOSS.
Thanks in advance

Rakoen said:
Hello everyone
First I thought this was a nooby question, but after talking to a few professionals in this section it seems like it isn't a nooby question at all. The question is pretty easy: what is the most simple way to get the latest version of TextSecure installed on my Android Phone?
My solution was creating something using the sourcecode found here: https://github.com/WhisperSystems/TextSecure
But the question is, how can I get it working. I've tried multiple things, but it seems like it isn't as easy as I thought.
Currently I am on Windows 8. My phone is an Xperia S without GAPPS flashed, so no Play Store. Only F-Droid with FOSS.
Thanks in advance
Click to expand...
Click to collapse
I guess you can download that TextSecure source code and import as a Project in Eclipse and simply run (If no errors are detected), and I think it will build the apk and execute in the emulator (If you have already created one)

Thanks for the advice. So this is what I did: I've installed the latest version of the Android SDK Tools and installed/updated all needed tools. Afterwards I installed Eclipse Classic with the ADT Plugin en latest updates. Now I'm kind of stuck. I can't seem to get the sourcecode imported to Eclipse. Any ideas?

Rakoen said:
Thanks for the advice. So this is what I did: I've installed the latest version of the Android SDK Tools and installed/updated all needed tools. Afterwards I installed Eclipse Classic with the ADT Plugin en latest updates. Now I'm kind of stuck. I can't seem to get the sourcecode imported to Eclipse. Any ideas?
Click to expand...
Click to collapse
How about pasting that source into your workspace folder. Then open Eclipse and check whether it shows up in the Projects List.

coolsandie said:
How about pasting that source into your workspace folder. Then open Eclipse and check whether it shows up in the Projects List.
Click to expand...
Click to collapse
It seems like the project has compilation errors. I managed to import it somehow, but can't run or export it.

Rakoen said:
It seems like the project has compilation errors. I managed to import it somehow, but can't run or export it.
Click to expand...
Click to collapse
Hmm, errors must be eliminated before executing. Try a Project Clean.

It's not mentioned on the repo , which is sneaky , but the app uses ActionBarSherlock library: or it was when I last checked. You clone that and bring it into Eclipse or whatever. On ant anyway you must have a file called project.properties with the following lines: android.library.reference.1=path/to/ActionBarSherlock/library and target=android-17. If you have problems you should always write the error, otherwise we can't help you.

@coolsandie
Excuse me, but what exactly do you mean with "try a Clean Project"? I'm not quite experienced on the side of Eclipse.
@dabl8
Thanks for the advice. I'm not sure however if I imported it well, as it always seem to get imported as a different projecten, not quite integrated in my TextSecure building tryout.
This is my current situation:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
These are the errors:
http://dl.dropbox.com/u/3062101/errors.txt

Rakoen said:
@coolsandie
Excuse me, but what exactly do you mean with "try a Clean Project"? I'm not quite experienced on the side of Eclipse.
Click to expand...
Click to collapse
There is a "Clean Project" item in the Menu List, just check inside the Menu. I may have opened my Eclipse and tell you where exactly, but then my Eclipse is totally damaged after an update and won't open further.
From your screenshot, the errors are in Manifest and the Java source codes (src)
And make sure you are using JDK6, JDK7 won't work. It can be checked by running "javac -version" in command prompt and if its JDK6 you'll get something like 'javac 1.6.xxx'

coolsandie said:
There is a "Clean Project" item in the Menu List, just check inside the Menu. I may have opened my Eclipse and tell you where exactly, but then my Eclipse is totally damaged after an update and won't open further.
From your screenshot, the errors are in Manifest and the Java source codes (src)
And make sure you are using JDK6, JDK7 won't work. It can be checked by running "javac -version" in command prompt and if its JDK6 you'll get something like 'javac 1.6.xxx'
Click to expand...
Click to collapse
So first of all I've checked my Java version and it seems like I indeed had JDK7, so I removed it and installed the latest JDK6. This shoud be alright I presume?
And if it is this you meant with the Project Clean, then it didn't work.
Thanks however. Any other ideas?

Rakoen said:
So first of all I've checked my Java version and it seems like I indeed had JDK7, so I removed it and installed the latest JDK6. This shoud be alright I presume?
And if it is this you meant with the Project Clean, then it didn't work.
Thanks however. Any other ideas?
Click to expand...
Click to collapse
Still, your "java -version" displays as 1.7.xxx which means JRE maybe of version 7. So correct that issue. However Android may/may not support Java 7 but Java 6 is officially recommended (Search on Stackoverflow, you'd get many discussion results based upon java issues). Anyways I'm not sure whether these are the things that's giving you error, but be on safer side.
In the Error log you've posted, it looks like in almost every line its displaying error meaning its not the code issue itself but some other things which is causing the code to malfunction or to get compiled. I maybe wrong about it too.

Yes it must be a java problem: I don't recognize those errors at all. I use ant with OpenJDK 1.6 on GNU. I recommend ant if you are not a coder and just want to build a few apps. I got one error myself but that was fixed by using the support library that comes with android-17 SDK.

coolsandie said:
Still, your "java -version" displays as 1.7.xxx which means JRE maybe of version 7. So correct that issue. However Android may/may not support Java 7 but Java 6 is officially recommended (Search on Stackoverflow, you'd get many discussion results based upon java issues). Anyways I'm not sure whether these are the things that's giving you error, but be on safer side.
In the Error log you've posted, it looks like in almost every line its displaying error meaning its not the code issue itself but some other things which is causing the code to malfunction or to get compiled. I maybe wrong about it too.
Click to expand...
Click to collapse
dabl8 said:
Yes it must be a java problem: I don't recognize those errors at all. I use ant with OpenJDK 1.6 on GNU. I recommend ant if you are not a coder and just want to build a few apps. I got one error myself but that was fixed by using the support library that comes with android-17 SDK.
Click to expand...
Click to collapse
Okay, I've spent some hours on it and got very far, but am stuck now. First of all I've uninstalled all Java versions I had, then installed JDK6 (update 37 final). I rechecked it.
Then I did lots and lots of things that I can't remember all. Things with Eclipse properties, project.property editing, experimenting with environment variables, experimenting with Android SDK and a lot more (like symbolic links in my JDK folder). However, this ended in some very interesting results. I also found that the android-support-v4.jar in the ActionBarSherlock extension was different than the one of TextSecure, so I replaced both files with the TextSecure version (not sure what I did, but it made some progress).
First of all, I am going to show the progress I made with Eclipe (not so interesting that one). Now I only get 688 errors and 157 warnings, which means 236 problems less than yesterdag, awesome!
Log file: http://dl.dropbox.com/u/3062101/upgradedlog.txt
Then I thought, this doesn't work, lets try ANT. After fixing lots of issues and errors, I was finally able to build an APK! It didn't install at first, because it was unsigned, so I used the autosign.bat tool to fix that issue. I finally managed to install the application, but now there is one problem left: it fails to launch.
"Unfortunately, TextSecure has stopped."
Any ideas?
Thanks!
EDIT: Just tried it with the latest android-support-v4.jar from Android SDK and it still doesn't start. So I don't think that's the problem.

With ant , I do git clone textsecure; git clone actionbarsherlock; copy support jar from textsecure/libs to ABS/library/libs; vi textsecure/project.properties; $android update project -p textsecure && android update project -p abs/library ; cd textsecure; ant debug install

dabl8 said:
With ant , I do git clone textsecure; git clone actionbarsherlock; copy support jar from textsecure/libs to ABS/library/libs; vi textsecure/project.properties; $android update project -p textsecure && android update project -p abs/library ; cd textsecure; ant debug install
Click to expand...
Click to collapse
Tried these steps on Windows. The 'android update project -p abs/library' command fails.
Code:
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android.bat update' command.
Also the 'ant debug install' command failed.
Code:
BUILD FAILED
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:647: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:688: null returned: 1
EDIT: Also, when adding android.library.reference.1="../ActionBarSherlock-master/library" to project.properties myself, I get this error with 'ant debug install':
Code:
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:595: Invalid file: C:\Users\PC\Desktop\ActionBarSherlock-master\library\build.xml
EDIT2: Maybe an interesting detail is that it fails here:
Code:
Building Libraries with 'debug'...

It's what it says : you don't have the SDK platform (target) that ActionBarSherlock is looking for. Either download it or change the project.properties to use one that you have.

Link to steps
I'm not sure if you are still looking to build it from source.
This one worked for me: https://github.com/WhisperSystems/TextSecure/wiki/How-to-build-TextSecure-from-the-sources (detailed for newbies)

https://play.google.com/store/apps/details?id=jp.forkhub
Don't forget... getting in the fray of development is the best way to be included!

Related

Need help with a GSB theme

I know what I want but haven't yet figured out how to make it work. I read that you can simply open an existing theme, with 7zip for example, and replace what you want, but when I tried this the entire status bar disappeared.
I am basically looking to add elements of Galaxy Green to the stock GSB system app and also add some different colored notification icons, such as a blue icon for bluetooth on but not connected and a different shade for on and connected.
If someone could point me to some directions that work, some software to create themes, or if someone would be willing to take on the task I would greatly appreciate it.
http://forum.xda-developers.com/showthread.php?t=916814
PieceKeepr said:
I know what I want but haven't yet figured out how to make it work. I read that you can simply open an existing theme, with 7zip for example, and replace what you want, but when I tried this the entire status bar disappeared.
I am basically looking to add elements of Galaxy Green to the stock GSB system app and also add some different colored notification icons, such as a blue icon for bluetooth on but not connected and a different shade for on and connected.
If someone could point me to some directions that work, some software to create themes, or if someone would be willing to take on the task I would greatly appreciate it.
Click to expand...
Click to collapse
Yes.. You can open an apk and replace the png's within 7zip or winrar without extracting anything. Part of the problem I've had with doing that on th CM7 roms was status bar problems like you've said though. Also sometimes getting fc's on some things with the status bar and notification area. If you have the images you want to use I could help you out or if you want to put them in a zip and send them to me and I can throw them into a theme chooser apk for you. That so far has been the best way I've found to avoid issues on CM7.
@playpolo4life Thanks a lot. There is a lot to read there and hopefully I'll make it work in a few days.
CondemnedSoul said:
If you have the images you want to use I could help you out or if you want to put them in a zip and send them to me and I can throw them into a theme chooser apk for you. That so far has been the best way I've found to avoid issues on CM7.
Click to expand...
Click to collapse
I might just do that. I read some of the material linked above tonight while I was at worka dn on my next off days I'm gonna try to theme it myself. If I don't have any success I'll PM or shoot you an email. Thanks much for the offer.
Haha yeah its definitely a lot. I've tried to read it in one sitting and comprehend everything, but just couldn't do it. I don't think I have the patience for most of the theming requirements. I gave up when I got to the xml editing and hex editing parts lol.
Well I tried apk manager and followed the video instructions on how to set up the java path but since it's a WinXP video it gave me an error because I'm on Vista 64. I got apktool installed and working but after more videos and reading I have a headache and I still have no idea what I'm doing.
PieceKeepr said:
Well I tried apk manager and followed the video instructions on how to set up the java path but since it's a WinXP video it gave me an error because I'm on Vista 64. I got apktool installed and working but after more videos and reading I have a headache and I still have no idea what I'm doing.
Click to expand...
Click to collapse
I'm on Win 7 64. I use apk manager. What kind of error are you getting though?
CondemnedSoul said:
I'm on Win 7 64. I use apk manager. What kind of error are you getting though?
Click to expand...
Click to collapse
I could have misunderstood the directions but when I click the script.bat file a window opens with the message that reads, "Java was not found, you will not be able to sign apks or use apktool
Press any key to continue ..."
Hit enter and a lists of tasks pops up. Try any task and it wants to know what project you want to work on (option 22). I type "22" and it says to choose the app to be set as current project and says enter it's number. If this is working correctly then I clearly have absolutely no idea what I doing (always an option) since I don't know how to obtain project numbers, but I thought it might be related to the java not found message.
I do have the latest Java and Java SE DK installed. I'm getting really close to taking you up on the offer but what I want is extensive, at least I think it is.
PieceKeepr said:
I could have misunderstood the directions but when I click the script.bat file a window opens with the message that reads, "Java was not found, you will not be able to sign apks or use apktool
Press any key to continue ..."
Hit enter and a lists of tasks pops up. Try any task and it wants to know what project you want to work on (option 22). I type "22" and it says to choose the app to be set as current project and says enter it's number. If this is working correctly then I clearly have absolutely no idea what I doing (always an option) since I don't know how to obtain project numbers, but I thought it might be related to the java not found message.
I do have the latest Java and Java SE DK installed. I'm getting really close to taking you up on the offer but what I want is extensive, at least I think it is.
Click to expand...
Click to collapse
You have the latest version of Java JDK? you shouldn't get that error. But for your project numbers... When you type option 22 it will bring up a list of all the apk's in the place-apk-here-for-modding folder. Type they number that corresponds to the apk you want to work on. Then hit option 9 to decompile the apk and go to your projects folder and you will see a folder with the name of the apk you just decompiled. everything will be in there
I uninstalled JDK and downloaded it again from the Java site although it was the same version I already had. I reinstalled it and tried apk manager again. This is the same message I was getting before ...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I went ahead and tried it anyway and when I selected a project to work on I got this message ...
Check out this thread and look at post #7... I have a feeling this is your missing piece
http://forum.xda-developers.com/showthread.php?t=988959
Well, I tried that "path" update and it didn't work but I noticed the post right below the one you're talking about said you have to have a 64 bit Java version.
I had installed the 32 bit version because AndroidSDK didn't want to work with the 64 bit version. After installing hte 64 bit Java the first error message went away but then it said ADB was not found. I only see one SDK download for Windows.
I also tried the method of opening the apk with 7-zip, dropping in the new image files and closing 7-zip. I moved the apk to system\apps and rebooted but it wasn't recognized so I deleted the file. I then tried to install my modified/renamed apk from the SD card and it went through the steps but then said app not installed.
PieceKeepr said:
Well, I tried that "path" update and it didn't work but I noticed the post right below the one you're talking about said you have to have a 64 bit Java version.
I had installed the 32 bit version because AndroidSDK didn't want to work with the 64 bit version. After installing hte 64 bit Java the first error message went away but then it said ADB was not found. I only see one SDK download for Windows.
I also tried the method of opening the apk with 7-zip, dropping in the new image files and closing 7-zip. I moved the apk to system\apps and rebooted but it wasn't recognized so I deleted the file. I then tried to install my modified/renamed apk from the SD card and it went through the steps but then said app not installed.
Click to expand...
Click to collapse
Something sounds strange there then... I always get the adb not found when I use apk manager because I don't have it in the sdk with adb. It's ok to get that message you just won't be able to use the adb portion of apk manager is all. the one you modified and renamed... you decompiled it, replaced what you wanted then compiled it and signed it?
Decompiled, replaced files, recompiled ... it asked if it was a system file and I said yes. It created a new folder and told me to remove everything I changed and then press enter. Did that and it created an unsignedSystemUI.apk but when I open it all of the changed files were missing. The stock ones were not present either, they were just gone.
I have a headache again from this crap. I quit for the night.
PieceKeepr said:
Decompiled, replaced files, recompiled ... it asked if it was a system file and I said yes. It created a new folder and told me to remove everything I changed and then press enter. Did that and it created an unsignedSystemUI.apk but when I open it all of the changed files were missing. The stock ones were not present either, they were just gone.
I have a headache again from this crap. I quit for the night.
Click to expand...
Click to collapse
nothing was there? That doesn't make sense Try doing it as a non-system file. It won't tell you to delete everything then. You'll just have to move it to system app because it will install to data app... one other question... Did you say yes to it copying stuff from the original doing it as a system file? If so try saying no when it asks that and it should compile with everything from the project folder instead of telling you to delete the things you changed.
Yes I did say it was a system app and yes I did say I wanted to keep stuff.
Not everything was gone, just all of my changes. I'll try it as a non-system app when I have time on my next off days.
Sent from my Eris ADR6200 using XDA Premium App
This has got to be part of my problem. When I try to decompile the systemui.apk using option 9 I get this ...
I tried using option 10 since it is a system file and I get this ...
I thought framework-res.apk was the dependency but when I try that it tells me that is not the dependee apk. Is there a way to tell what the correct file is?
Have I mentioned lately that this is really aggravating?!
GSB 2.9 Themes won't load
Starting with GSB 2.7, I have't been able to set themes. Still having the problem with 2.9. When I try to load one it goes through the motions but all it does is change the color of notification icons. Anyone know of a fix? Other than that 2.9 is great, very fast and no other issues at the moment.

APK Manager 4.0 for Mac OSX (64-bit)

EDIT: How and why did this post end up in Atrix Q&A? That is entirely unrelated. If a mod sees this, please return this thread to it's original location at Moto Xoom Development.
After waiting for way too long to have apk manager working on OSX, (so i can do my themeing natively instead of GFX in OSX and compiling in windows/linux) I have decided to port it myself. This has only been tested on an intel-based core 2 duo mac running snow leopard 10.6.8.
Credit for original APK Manger (windows) goes to: Daneshm90
Credit for linux port which this is based off goes to: farmatito
Update: This has been superseded by one of the most excellent rewrites of an application which I have had the pleasure to use. You my find s0niqu3's great work here: http://forum.xda-developers.com/showthread.php?t=1285130
---------
And one more thing: Shout out to Team EOS!
Awesome!!!!!!!!!!!!!!!!!!!!!!!! +9999999999
What are the capabilities of this and his can i use it?
Never messed with a apk manager before but would like to
crackmulah said:
What are the capabilities of this and his can i use it?
Never messed with a apk manager before but would like to
Click to expand...
Click to collapse
Apk Manager is an "automated" environment for apktool and a couple other utilities. Together, it allows you to extract/zip/sign/decompile/recompile and otherwise change apk files. It is most widely used to change strings (sections of text) and graphics within popular apks such as framework-res.apk and SystemUI.apk (for theme development) or adobe's flash apk (for hulu support).
Wouldn't run out the box. Had to add my adb to path (might be easier just including adb in the "other" folder, as adb is resource-independent and nothing has to be installed for adb to work on a mac [Just download and run]).
The other is "sox". Seems to be a open-source command line audio converter, right? Not part of the standard OSX install. The apkmanger should either disable any sox related (It already does on reading the script), in which case it should be removed as a hard error, or include it in the other folder.
MAD Industries said:
After waiting for way too long to have apk manager working on OSX, (so i can do my themeing natively instead of GFX in OSX and compiling in windows/linux) I have decided to port it myself. This has only been tested on an intel-based core 2 duo mac running snow leopard 10.6.8.
Click to expand...
Click to collapse
Hey,
First, to the OP, Thanks for this!!!!
I had been casually working on my own port from the windows version, but now there's really no need. I've tested briefly on OSX 10.7.1, mid-2009 c2d macbook pro, 64-bit, and it seems to work great so far.
chaostic_2k1 said:
Wouldn't run out the box. Had to add my adb to path (might be easier just including adb in the "other" folder, as adb is resource-independent and nothing has to be installed for adb to work on a mac [Just download and run]).
The other is "sox". Seems to be a open-source command line audio converter, right? Not part of the standard OSX install. The apkmanger should either disable any sox related (It already does on reading the script), in which case it should be removed as a hard error, or include it in the other folder.
Click to expand...
Click to collapse
For the adb error, uhm, really? Anyone that's going to be using this should have the knowledge/ability to add adb to their path. And yeah, I know, it sounds like you were just trying to give the OP a pointer to make it idiot proof, but this really seems like the bare minimum knowledge requirement that someone should have if they're going to use a tool like this.
For anyone that doesn't know, here's one easy way (on osx there are about a million ways to add to $PATH) to add adb to your $PATH:
edit your bash profile file (create a new file if it doesn't exist yet) here: ~/.bash_profile
Add the following:
Code:
export PATH=/path/to/your/sdk/tools:$PATH
export PATH=/path/to/your/sdk/platform-tools:$PATH
(Technically only the second one is necessary for adb to function, I recommend adding them both for quick ddms access too.)
The sox issue on the other hand I can understand, since its not included with OSX. But it is simple enough to install SOX with all dependencies using macports or homebrew. If you plan on doing anything at all with android development, hacking, modding, etc., on OSX, using one of these tools is absolutely essential. I personally use homebrew, because its immensely faster than macports on my laptop, and homebrew will use OSX's default x11, python, etc. binaries, whereas macports will compile its own second copy of x11, python, etc..
for macports:
Code:
POSIXLY_CORRECT=1 sudo port install sox
for homebrew:
Code:
brew install sox
Anyway, hopefully someone finds this useful, else I'll just come back and delete the post in a few days.
Cheers
chaostic_2k1 said:
Wouldn't run out the box. Had to add my adb to path (might be easier just including adb in the "other" folder, as adb is resource-independent and nothing has to be installed for adb to work on a mac [Just download and run]).
The other is "sox". Seems to be a open-source command line audio converter, right? Not part of the standard OSX install. The apkmanger should either disable any sox related (It already does on reading the script), in which case it should be removed as a hard error, or include it in the other folder.
Click to expand...
Click to collapse
Though it is very easy to install/add adb to path, I agree that it wouldn't hurt to throw it in the other folder just in case.
As far as sox goes, i don't know many who are using apk manager for ogg files. Those who are I figured would speak up when the time came and I would work with them to come to some sort of solution. Are you getting errors from sox missing? If so, you are absolutely right that the errors should be fixed. I did take steps to disable it from the script. If i missed something, feel free to post a log and I will take care of it.
Just went through the whole installation, from installing ADB with it's own path to setting up SOX with homebrew and I gotta say, I'm a noob but I got it all done within a six pack! lol Thanks for the port mang! I can finally put away the PC to modify apk's!
All I did to "fix" it was change
Code:
# Test for needed programs and warn if missing
ERROR="0"
for PROGRAM in "optipng" "7za" "java" "sudo" "aapt" "sox" "adb"
to
Code:
# Test for needed programs and warn if missing
ERROR="0"
for PROGRAM in "optipng" "7za" "java" "sudo" "aapt" [COLOR="Red"]#[/COLOR]"sox" "adb"
Since sox isn't supported in the mac port yet (the options are not in the menu), no need to throw a fatal error, or require someone to install sox. You might just want to comment out "sox" in that line and leave adb uncommented though, since the adb commands are enabled.
As for adding adb to the package, well, it's a convenience thing. APKmanager should be a one stop shop for working with apks like that, and having adb added would help with that. I personally don't like mucking about too much with installing packages on my laptop, so I keep adb in my Applications folder, and just cd to it. And I manually run many things. I wouldn't be using APKmanager to install or pull apks anyway.
Hi again,
For anyone else that's doing their smali hacking on mac, I was seriously annoyed by the lack of syntax highlighting in my two favorite editors, Coda and SubEthaEdit, so I made my own syntax mode for them.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The screenshot is from subethaedit (notice it supports code-folding at the ".method" level, ) and is somewhat outdated, I fixed the mode already to properly hightlight all variables after parameters.
My thread for the mode on XDA is here: http://forum.xda-developers.com/showthread.php?t=1257025
or you can head straight to my blog to download them here: http://wp.me/p1JZM0-O
Cheers,
Hi again,
So I started hacking your APK manager for mac today to hopefully bring it closer in-line with the windows branch.
And first thing was simply verifying that optimize png and ogg work if you install optipng and sox, and yes, they both do. So in addition to my tip above to install sox, also install optipng:
Macports:
Code:
POSIXLY_CORRECT=1 sudo port install optipng
Homebrew:
Code:
brew install optipng
Then go into the script.sh and uncomment the relevant lines that call those functions (menu lines 2, 14, 16 and answers for opt, bopt and ogg) and comment out the removal/error lines instead.
So far I've done the easy steps, added user selectable compression level, max java heap size, batch signing support, and added the z/p/zp options for batch optimizing.
I'll try to get this all finished this weekend so somebody else can test it too, and I'll try to include at least the 64-bit optipng binary I compiled, and possibly 64-bit sox and all its dependencies too.
Cheers,
hi, i've tried this (decompile and compile Browser.apk):
http://forum.xda-developers.com/showpost.php?p=17682521&postcount=19
any ideas?
thx
maile76 said:
hi, i've tried this (decompile and compile Browser.apk):
http://forum.xda-developers.com/showpost.php?p=17682521&postcount=19
any ideas?
thx
Click to expand...
Click to collapse
Hi,
I've spent the past few days greatly improving the Mac version of APK manager. Well, really its almost a complete re-write. I've added 32-bit/64-bit all-in-one support, re-enabled old disabled features, added project support, system apk "keep" folder options, error checking, debug info, etc., etc., etc.
Really, after writing ~600+ lines of code, I can't even remember every change I've made at this point.
Anyway, I'm still testing and tweaking it multiple times a day, so I'm not really ready to release it here to the masses at XDA, but if you visit my blog, you'll find a current download link.
Until further notice though, I ask is that you please, PLEASE, don't link directly to the download, and please don't re-distribute here. If you want someone else to download my version, please just link them to this post.
I'm not trying to drive clicks or anything like that, I just don't want a billion questions about how to use my mod right now when its not finished, and is likely to change every few hours anyway.
Cheers,
Hey again,
So I'm finally happy enough with my version of APK Manager for OS X, that I released it here on XDA: http://forum.xda-developers.com/showthread.php?t=1285130
I've brought it completely up to date with the windows feature set, and exceeded it in many, MANY ways.
Cheers everyone

[2015/03/07] BotBrew: *nix tools for Android

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The remainder of this post contains historical information. Please read the update. Thank you.
__________________
​ BotBrew is
a repository of *nix software (such as bzip2, curl, openssl, python, and ruby) for ARM-based Android
a package manager powered by Opkg, a lightweight program that feels like dpkg+apt
a service manager powered by runit
a build system for anyone looking to build and package his/her own scripts and programs
Thanks: mateorod and xela92 for testing the heck out of this thing; racks11479 for delicious artwork; you for using this project, reporting bugs, and making it better
If I missed anyone, let me know!
Warning: BotBrew has been used successfully on a variety of rooted ARM devices, and is developed using a Nook Color, but you should still make backups before trying, just in case.
Install BotBrew
[ Google Play | BotBrew.apk | BotBrew.debug.apk ]
Read the Quick-Start Guide & Manual
[ botbrew.com/manual.htm ]​
Click to expand...
Click to collapse
Alternative (Command Line) Installation
If the BotBrew app fails to bootstrap, you might be able to bootstrap using the command line:
Code:
wget http://repo.botbrew.com/anise/bootstrap/install.sh -O- | su
Such a setup should be compatible with the app, though it may not work perfectly. The manual has more tips for command line usage.
Enjoy!
Install BotBrew+1
The next release of BotBrew, named basil, will be powered by Debian's Dpkg and Apt. This is a non-trivial update, so the app is being rewritten from scratch. I've posted some usage instructions, in case you are adventurous enough to try. Thanks! This app may be used in parallel with the current-stable BotBrew release, without conflict.
[ Google Play | GitHub ]​
Click to expand...
Click to collapse
Changes
5/20: the next release of BotBrew is in development!
4/20: improve support for long package names; fix list of repairable packages
4/16: new UI for devices with wide-enough screens; experimental support for moving to /sd-ext
4/9: Google Play release of BotBrew "anise"; previous release is now BotBrew.oldstable.apk; lots of updates since oldstable
3/16: lots of installer and filesystem changes for cross-device compatibility, work started on multiuser support
3/10: installers now depend on botbrew-core, which will (in the future) pull in basic packages that everyone should have
3/4: swipe left and right to see all/installed/upgradable packages
3/3: added ability to start installation of *.opk files from file managers
3/2: added ability to start installation from browser after clicking *.opk link
3/1: fixed some BotBrew.apk bugs; updated command line installer
2/27: reworked BotBrew.apk; new packages in stable repo
2/18: testing repository now open; new opkg -- please read before upgrading
2/16: make BotBrew.apk display latest versions in the package list
2/2: bugfix release of BotBrew.apk
Well, I now have python, ncurses, openssl and a couple other packages running on my nook. I have indeed printed 42, and even wrote my own (proprietary) code to advance the project some that printed 43. Advanced scripting.
But seriously, this is sweet. I am all over anything that opens up this device. I don't think I have ever bought a piece of hardware that has so outstripped my expectations.
Thanks for the program. I will report back after I play with it some.
Wow, what a great idea! Looks like my Nook will be used for a bit more than entertaining my family with casual games; nice to have some productivity back I was thinking about installing Ubuntu on my Nook for this sort of thing, but there's no need anymore.
It would be great to get this a bit more recognition, and getting more useful things such as gcc or even the GNU toolchain installable with this package manager. Might put a link in my signature, if you don't mind.
Now to look for an affordable lightweight bluetooth keyboard...
You read my mind I got binutils, gmp, mpfr, and mpc working earlier today... and gcc is in the pipeline. My main reason for wanting a native gcc is that some software (such as python) do not like to be cross-compiled at all. I'm having a bit of trouble with gcc, but I'll keep hacking away at it.
Please, go right ahead and share this thread; this is a young project but I think it could be more useful. On the one hand, there's a whole lot of free software (such as the GNU stuff) just asking to be built and packaged; on the other hand, many people who hang out around here have a few scripts/programs of our own to distribute.
In case you're interested, here's where all the packages live. There are actually two more ways to install (remote and local) stuff using Opkg:
Code:
opkg install http://host/path/to/package.opk
Code:
opkg install path/to/package.opk
Very nice project !!!
I have python 2.7 standalone on android.
One problem, in python commandline i can't import hashlib, i can fix this?
Thanks.
So, I just got a working build of GCC+binutils and pushed the packages to the stable repo. Please keep in mind that for now, stable means I tested it a couple of times and it works, so be careful and use at your own risk.
To install gcc and binutils, make sure you have about 160mb of storage free in /system and run:
Code:
opkg update
opkg install gcc-4.6
That's about 70mb's worth of downloads, and my server's underpowered, so please wait patiently and retry if it fails (failure when receiving data from the peer). When that's done, you might want to compile something:
Code:
cd /cache
wget http://dl.dropbox.com/u/1213413/htdocs/agcc/hello.c
gcc -o hello hello.c
And if that completed successfully, you should have a new executable, which you could run for a classic greeting. I was not able to get the C++ libraries compiled, but C code should compile alright.
@Fritos2: I've been trying to fix this issue, but I'm not confident that I could do it without help. Python (and Perl) are very resistant to cross-compilation, and even after I hammered it into submission, some modules do not work. Another module that I'd really like is readline, which gives you enhanced editing capabilities in the interactive interpreter. I'm a Pythonista, but I've got to say: Ruby does cross-building right. Even sqlite3 supports readline. I suspect that Python might have to be compiled natively, and this is where native gcc comes in.
I'd appreciate any help, of course
I'll follow this project with great interesting.
Hey guys, there have been a few updates:
opkg's lock file has been moved to /cache/opkg/lock so there's no need for a read-write /system just to query packages
gnupg has been packaged, for those who like to sign their stuff
python... well, I'm still working on it >.<
Anyway, I thought I'd do something to make this project more accessible. I don't have any apk's for you yet, but I've attached a screenshot of the work-in-progress
I am very impressed with the progress. I am a super-noob but have enjoyed toying with the packages from your opening post. I haven't had time to do much but explore, but this sure does open up a whole new world for the nook, from an accessability stand point alone. I wouldn't be suorised to see an uptick in interest as some if the more experienced coders are able to turn their attention from cm9.
I will probably install those latest packages sometime this weekend. Just real strong stuff.
Edit. Ok, o I just went ahead and did it now. Obviously, I couldn't get it to work. Have downloaded the FCC and got the hello file fro the dropbox. I ran the gcc -o hello hello.c and was returned a hashtag only. If I ran gcc hello, it outputted the hello program code. I tried several things basically willynilly until I got tired of getting a fatal error and having the build canceled.
If this is too basic and will clog the thread, I would happily accept a pm with a good tutorial. Thanks a bunch.
The problem with python maybe relationed with python-devel package?
Sorry is the question is stupid, i'm so noob.
The Python build process has two steps: first, you get the main Python executable, and then you get the modules. The executable built in the first step is used to test the modules in the second step. So, naively cross-compiling Python would result in most modules not passing the test (because you cannot actually run the Python you just built), and these modules would be removed. As it turns out, you could patch the build scripts to run the tests using a host-native Python, but even then, there are a few modules with particular requirements that still don't pass. This is where we are now, but I think we could do better.
Okay, so more progress: BotBrew.apk is out in the wild! I decided to put it off until I got some basic functionality working. What is this?
a basic GUI for package management
lists all packages
searches for packages by name
shows package information
installs/upgrades/removes packages
manages list of repositories
I've only really tested it with CM7, but it works on the latest CM9 previews as well.
Screenshots
​
mateorod said:
Edit. Ok, o I just went ahead and did it now. Obviously, I couldn't get it to work. Have downloaded the FCC and got the hello file fro the dropbox. I ran the gcc -o hello hello.c and was returned a hashtag only. If I ran gcc hello, it outputted the hello program code. I tried several things basically willynilly until I got tired of getting a fatal error and having the build canceled.
Click to expand...
Click to collapse
No worries. If gcc did not complain and dropped you back in the shell, this means it's done! Just list the directory to find a new file named hello, which you could run:
Code:
# gcc -o hello hello.c
# ls
backup download hello.c opkg
dalvik-cache hello lost+found recovery
# ./hello
hello world
#
I hope this helps!
Sorry if this sounds ignorant but is there any future usage aside from being a very interesting project? Will we be able to distribute open source projects / software specifically made for Android devices like on common Linux distributions?
BobbyBest said:
Sorry if this sounds ignorant but is there any future usage aside from being a very interesting project? Will we be able to distribute open source projects / software specifically made for Android devices like on common Linux distributions?
Click to expand...
Click to collapse
A valid question, I think. BotBrew has the potential of becoming a Cydia of sorts, distributing system extensions, interface customizations, and other useful software for rooted Android devices. Android has a vibrant community of programmers and scripters, but there isn't any standard way to manage software that are not apps. And there's a large body of open source Linux software that might work well on Android. Of course, BotBrew is also able to handle root apps that live in /system/app (i.e. gapps); for user-level apps, the various app stores already work quite well.
In order for this to become a serious platform, we'll need a couple of things: a solid technical foundation, developer support, and a user base. I've been making progress mostly towards the first point; hopefully the rest would follow.
Well I'll be. Yeah it worked. Who knew?
Okay, so that's great! I have printed 43 (my own design) and now the standard greeting has been successfully built and ran as well. I must toodle with it some more. What would you recommend to try? Remember, i am slow-witted and totally inexperienced.
If you say print 44 i will totally understand. : )
How about this, i would like to learn and i would like to help you with your program. I will probably be of most use as a guinea pig, but since i spend a fair amount of time jiggering system files and databases, I have to complete wipe about once a week. failure or risk doesn't bother me.
---------- Post added at 02:27 AM ---------- Previous post was at 01:51 AM ----------
Okay, i just got the apk. I autoremoved all installed packages. I installed opkg, python, gcc (binutils came along as a dependency) and the hello executable. But when i went into a terminal once i cd cache, it only lists opkg out of the five packages. This worked when i did the wget through the terminal. The packages show as installed within the botbrew app (nice icon and UI, btw).
I known I am doing something very simple incorrectly. Do you have enough information to be able to tell me what that is?
Congrats on a successful build! Now that you have a working program, you could package it up for distribution
What's more, you could do it directly on Android. Let's call this package mateorod-hello, prefixing it with the vendor's (your) name to avoid conflicts with other variants. We'll also rename the executable itself.
We'll install the program to /system/bin, where it would feel at home with all the other programs; so we create a staging directory tree that mimics the structure of an Android system, but contains just the one program:
Code:
cd /cache
mkdir -p system/bin
cp hello system/bin/mateorod-hello
Next, we need a control file to describe what's in the package. It might be easier to create the file on a computer and push it over, but we could also create it using the command line:
Code:
echo "Package: mateorod-hello" > control
echo "Version: 1.0" >> control
echo "Architecture: armeabi" >> control
echo "Description: a greeting from mateorod" >> control
And, finally, a magic value to signify what kind of package this is:
Code:
echo -n "2.0" > debian-binary
Okay, now let's pack this up:
Code:
tar zcvf data.tar.gz system
tar zcvf control.tar.gz control
ar -r mateorod-hello.opk debian-binary data.tar.gz control.tar.gz
We now have mateorod-hello.opk, which we could test by installing:
Code:
opkg install mateorod-hello.opk
Now that it's installed, the program within is also available:
Code:
mateorod-hello
This is quite a bit of work for something that could just be pushed over adb, but it could be automated and it works tremendously well for more complex software. The control file helps keep track of versions, and lets you specify dependencies too.
Oh, and to clean up a bit: (the first command makes sure you're in /cache and do not accidentally erase /system)
Code:
cd /cache
rm -r system control data.tar.gz control.tar.gz debian-binary
/edit:
mateorod said:
But when i went into a terminal once i cd cache, it only lists opkg out of the five packages. This worked when i did the wget through the terminal. The packages show as installed within the botbrew app (nice icon and UI, btw).
Click to expand...
Click to collapse
What did you do, cd /cache then ls? If so, you're most likely looking at the /cache/opkg directory, which contains temporary data. If you want to see what's installed using the command line, try opkg list-installed
I uh... picked a random icon I had lying around, and I plan to swap it out when I have time to make one. Thanks, though :3
The amount of help you're offering is just staggering. I will put the above together tonight and will report back.
I have a bug here in the GUI.
Rotation makes the app start looking for updates again.
edit: Reentering does the same...
opkg has then problems with set locks.
(CM7 KANG by MiRaGe)
Currently trying to install gcc to compile and run a small program...
edit2: gcc-4.6 installed. Still trying to compile a small prog. Will continue tomorrow...
Edit3: Well, problem with GUI fixed itself somehow.
Still, maybe you should check out how the GUI behaves during the installation process when rotated.
Yes, I can see how this bug could occur, and it should only happen during the first run. When the package cache is empty, the app tries to update by itself, and it seems that rotation causes something to restart. I've uploaded an update, which hopefully fixes this issue. Thanks for the report.
/edit:
Bug fixed for real. You may now rotate with impunity. Man, why can't Android have sensible defaults?
Okay, took me awhile, but...
$ export PATH=/data/local/bin:$PATH:.
$su
# cd cache/
# wget http://dl.dropbox.com/u/1213413/htdocs/agcc/hello.c
Connecting to dl.dropbox.com (174.129.218.194:80)
hello.c 100% |************************************| 93 0:00:00 ETA
# gcc -o hello hello.c
#ls
dalvik-cache hello lost+found recovery
download hello.c opkg
# ./hello
hello world
#mkdir -p system/bin
# cp hello system/bin/mateo-hello
#echo "Package: mateo-hello" > control
#echo "Version: 1.0" >> control
#echo "Architecture: armeabi" >> control
# echo "Description: a word from Mateo" >> control
#echo -n "2.0" > debian-binary
# tar zcvf data.tar.gz system
system/
system/bin/
system/bin/mateo-hello
# tar zcvf control.tar.gz control
control
# ar -r mateo-hello.opk debian-binary data.tar.gz control.tar.gz
ar: creating mateo-hello.opk
#opkg install mateo-hello.opk
Installing mateo-hello (1.0) to root...
Collected errors:
Two sets of collected errors related to system not being mounted R/W excised
Installing mateo-hello (1.0) to root...
Configuring mateo-hello.
#mateo-hello
hello world
#
So there it is. I just followed your more-then-generous guide, with some phrasing changes to show i didn't just copy/paste.
Some notes from the inexperienced:
-As you can see, I had to use the wget command to work on the hello.c script. I had hello as an installed package through the Botbrew GUI already, but no matter what permutation of hello command I ran, gcc would not recognize it as an input file. Just to say that your guide to the initial build, as written, i don't think will work for anyone who installs the packages through the apk. I don't know the solution, but i bet it's simple.
Edit: I guess the package you get through your apk is a fully built executable? I hadn't gone through the later steps when I first tried to build it, so I never thought to simply enter "hello". Output a much fancier greeting then the one I built. Capital letters and an exclamation mark! Very nice.
- For other newbies- make sure that system is mounted R/W through root explorer or some such. And if you employ a firewall, if you intend to use the wget command, not only do you need to allow your terminal through, you also need to allow applications running as root! I am sure this is news to no one, but it cost me FOREVER!
I feel like this constitutes progress. Thanks for all the work!

[ OS ] Builduntu Install Disc v2 - Android ROM Compiling OS

--- copied with permission from nathanpfry.com ---​
Builduntu is a custom branch of the Ubuntu operating system, based on my guide here for preparing Ubuntu 16.04 to compile Android ROMs from source. It includes everything you need to sync with the repository of your choice (Cyanogenmod, AOKP, AOSP, etc) and start building.
I am not responsible for any damage you may cause to your system/files while trying to install Builduntu. This has been tested and verified working by me, so if you break Windows or your system won't boot, it's your fault.
This thread is not the place to ask how to install Linux or Dual Boot!!! These topics are well documented elsewhere and can be easily found in a few seconds on Google.
Thanks to Canonical, Google and me.
Features:
- Xubuntu 16.04 LTS base system
- Installed all necessary packages for compiling (list available in the guide link above)
- Unnecessary junk removed (media players, games etc.)
All you have to do is download the source!
The only requirement is that your host machine supports a 64 bit OS. 32 bit systems will not work!
Instructions:
1. Use your favorite image burning software to write the builduntu ISO to a blank DVD. Will not fit on a CD
2. Boot the disc. When the graphical installer starts, click "Install Xubuntu"
3. Follow the on-screen instructions to select language, username, etc. * Note * When setting up partitions, I recommend doing it yourself if you know how. If not, that's fine, let Ubuntu decide for you.
4. When the installation finishes, reboot and eject the installation media.
5. Sync the Android source locally:
~ A program called "repo" lets you communicate with git repositories and download source code. The following command will install it:
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
~ Use nano to edit ~/.bashrc
Code:
sudo nano ~/.bashrc
~ At the very bottom (use the Page Down key) paste this code to a new (empty) line:
Code:
export PATH=~/bin:$PATH
~ Save it. In nano that would be Ctrl-O and then Enter. Then Ctrl-X to exit back to a prompt. Restart bash:
Code:
source ~/.bashrc
~ In the terminal, navigate to where you would like to download the Android source code. The command below will make it in your home folder, but if you have limited space you may want to create it somewhere else. Faster is better, i.e. SSD would be best, USB external is basically unusable.
Code:
mkdir ~/android
cd ~/android
~ Now to initialize the repo. Decide the flavor of Android to build, i.e. AOKP, CyanogenMod, AOSP etc.
For the purposes of the tutorial, here's the command for CyanogenMod 13:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b cm-13.0
repo sync
When that is finished downloading, you're ready to start compiling ROMs!
Download Builduntu ISO:
Click here for mirrors!
Let me know how it works for you!
Feel free to buy me a Zico (donate) if you like my work. It would be greatly appreciated!
Please hit the "Thanks" button if this project helps you out!​
Code:
[U][B]Changelog:[/B][/U]
v1.0 - First Release Mar 05 2014
v1.1 - Rebuilt from scratch the hard way
v1.2 - 4/20 Release - Update to 14.04 LTS Official
v2.0 - Update to 16.04 LTS with OpenJDK 8 for Android M builds
This is just awesome +1
This is Xubuntu 13.10...
I burned image on DVD using Brasero (ubuntu program) and run installation process from that DVD.
And before the end of installation I got this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Of course "buildbuntu" doesn't boot, some errors with reading/writing sda partition.
Luckly I installed it on my test drive so my workspace isn't damaged.
lozohcum said:
This is Xubuntu 13.10...
I burned image on DVD using Brasero (ubuntu program) and run installation process from that DVD.
Click to expand...
Click to collapse
I installed it to a fresh system just fine yesterday, not sure what your issue could be from. Could you post an installation log? Did you verify the md5sum of your downloaded file?
It is in fact Xubuntu 14.04. Canonical hasn't bothered changing the initial splash screen yet because it's still in beta. If you run the Live instance and check the version of ubuntu it correctly identifies as Trusty Tahr.
sylentprofet said:
I installed it to a fresh system just fine yesterday, not sure what your issue could be from. Could you post an installation log? Did you verify the md5sum of your downloaded file?
It is in fact Xubuntu 14.04. Canonical hasn't bothered changing the initial splash screen yet because it's still in beta. If you run the Live instance and check the version of ubuntu it correctly identifies as Trusty Tahr.
Click to expand...
Click to collapse
How to take installation log?
lozohcum said:
How to take installation log?
Click to expand...
Click to collapse
After the error appears it should load you into a live desktop session. The install log will be located there, perhaps in /var/log, /var/log/installer or the guest session home directory. Look around for .log files
edit : delete
I was hoping for a ubuntu base same as your virtual os..xubuntu ui is different and difficult
Ccahe error
Im trying to compile tihe ccache and when i set it up i recieve this error
bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
any ideas on how i can fix this would be appreciated
thanks
perfectpitch said:
Im trying to compile tihe ccache and when i set it up i recieve this error
bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
any ideas on how i can fix this would be appreciated
thanks
Click to expand...
Click to collapse
First, make sure ccache is installed (I'm reasonably sure it is out of the box)
Code:
sudo apt-get install ccache
If that's ok, check this link below and scroll down to Step 4a (optional).
http://forum.xda-developers.com/showthread.php?t=2506695
Ccache is not necessary and not ideal for all systems, so you may just want to disable it in your build process. Hope this helps.
Thanks I'll check it out
Sent from my Nexus 4 using XDA Premium 4 mobile app
so i dual booted ubuntu 13.10 on my laptop... but i couldn't build on it due to some stupidity... anyway, if someone could answer me some questions, maybe I'll uninstall ubuntu and switch to this since it's way easier for me.
1) did anyone successfully dual boot it? even with UEFI on?
2) can we transfer the source codes from an OS to another by packaging them and then extracting them in the new xubuntu? will it work that way?
Sent from my Nexus 4
lozohcum said:
This is Xubuntu 13.10...
I burned image on DVD using Brasero (ubuntu program) and run installation process from that DVD.
And before the end of installation I got this error:
Of course "buildbuntu" doesn't boot, some errors with reading/writing sda partition.
Luckly I installed it on my test drive so my workspace isn't damaged.
Click to expand...
Click to collapse
Hello, have you already solved that problem? Because since hours, even days I try to install builduntu on my notebook, but always got that error too!. I have usb legacy enabled, raid disabled and uefi boot enabled. I have a small ssd and a normal hdd. What am I doing wrong. I cannot get it to work, neither with manual editing the moint points, nor with automatically install through the system.
Many thanks!!
rodman01 said:
Hello, have you already solved that problem? Because since hours, even days I try to install builduntu on my notebook, but always got that error too!. I have usb legacy enabled, raid disabled and uefi boot enabled. I have a small ssd and a normal hdd. What am I doing wrong. I cannot get it to work, neither with manual editing the moint points, nor with automatically install through the system.
Many thanks!!
Click to expand...
Click to collapse
I never received an installation log from anyone so I have no way to start to figure out what went wrong.
It seems like many users have installed successfully, but a few are encountering errors like the one mentioned above.
I don't know how to help you without more information about the problem and your system. It could be a million things with how vague the descriptions are.
rodman01 said:
Hello, have you already solved that problem? Because since hours, even days I try to install builduntu on my notebook, but always got that error too!. I have usb legacy enabled, raid disabled and uefi boot enabled. I have a small ssd and a normal hdd. What am I doing wrong. I cannot get it to work, neither with manual editing the moint points, nor with automatically install through the system.
Many thanks!!
Click to expand...
Click to collapse
I haven't fixed it. I installed xubuntu and ocnfigured it on my own.
I wasted two DVDs for that Builduntu :/
i installed xubuntu today, it boots without a CD (just to confirm it's installed)
inside settings there's a button called "Install RELEASE", should i? i mean... it's already installed :S
Sent from my Nexus 4
sylentprofet said:
I never received an installation log from anyone so I have no way to start to figure out what went wrong.
It seems like many users have installed successfully, but a few are encountering errors like the one mentioned above.
I don't know how to help you without more information about the problem and your system. It could be a million things with how vague the descriptions are.
Click to expand...
Click to collapse
Yes sure can be many things....but here attached are some log files one/two from my try a couple of minutes ago. Problem is, that I already tried so many things and absolutely not sure whether it is my fault, my hardware or perhaps a bad download, in short where I have to look for the solution? Perhaps the log files give some useful information to you :fingers-crossed:
lozohcum said:
I haven't fixed it. I installed xubuntu and ocnfigured it on my own.
I wasted two DVDs for that Builduntu :/
Click to expand...
Click to collapse
Thanks for the info...can you pass me the download link? Haven't found it after a first and quick search ...
Edit: found it in the meantime....
update
In the meantime, I have also downloaded the "pure" Xubuntu and got it installed with the very first try. Exact with the same settings as last tries with builduntu. Dev environment is installed and source codes downloaded. At the moment I am building my first rom with this software. Hopefully it finishes without errors :fingers-crossed: .
i downloaded the sources on a VM, but couldn't make it work on my secondary OS after compression, tranfser, and extraction of the sources...
now redownloading from scratch on a 1Mbps (that's 128KB/s max) speed
Sent from my Nexus 4

Interop Tools - A versatile registry app for all devices, now on Github

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IMPORTANT ANNOUNCEMENT (11/25/2017): https://forum.xda-developers.com/showpost.php?p=74628972&postcount=1071
IMPORTANT ANNOUNCEMENT (08/02/2020): https://forum.xda-developers.com/showpost.php?p=83193721&postcount=1236
Source code: https://github.com/gus33000/InteropTools
OP update is still Work in progress
READ BEFORE POSTING ANYTHING
Interop Tools can't be installed, like with a lot of other apps that uses restricted CAPs, if you CAP unlocked your phone using vcREG, vcREG changes 2 registry values that breaks the whole deployment system since one build of the rs1 development, so please reset your phone, use only vcREG to install an older NDTK if needed, and install Interop Tools (h/t @vcfan see your DMs)
Interop Tools doesn't require and will never require any CAP unlock
Please read the installation instructions carefully
Interop Tools versions older than or equal to Beta 1.8.1 are not supported in any way, please update the app
I'm not responsible for any damage made by your device if this ever happens even though I'm really careful each time I'm posting a new version
When submitting a bug report, please specify what apps related to Interop/Cap unlock you have installed, if you did anything, some reproduction steps and the phone model you are using, along with if you cap unlocked your device.
INSTALLATION INSTRUCTIONS
If you have an IT version older or equal to Beta 1.7 already installed, please uninstall it and reboot your device prior to installing/updating Interop Tools
Download the latest Interop Tools appxbundle for your device architecture and its dependencies
Extract both zips, and extract the certificate file if you're installing Interop Tools on a desktop device
If you're on a Desktop device, double click the certificate file, select Local Machine as the installation location, press next, select place the certificate into the following certificate store, and pick trusted peoples, then press ok, and next.
Install Interop Tools dependencies like any regular appx, by opening up the Device portal for your device, going into the application section, click on browser for the app package, select the dependency appx, and then press install, do that for each dependency
The install Interop Tools main appxbundle by pressing browser, pick it, then press install.
ENABLE SYSTEM REGISTRY ACCESS INSTRUCTIONS
For x50+ lumia devices by Microsoft
Download and install vcREG and proceed to install the older NDTK version as instructed in the vcREG thread, for support about this whole process, please see the vcREG thread in the same forum section
Don't do any CAP unlock, otherwise Interop Tools might not install properly
Install Interop Tools if you never installed it like instructed on this post
For other lumia devices by Microsoft
Go to the Interop Unlock section of Interop Tools
If restore NDTK isn't on, turn it on, and reboot your device
For all other OEM devices
Download the NDTK packages and the WPAK utilities from here: http://forum.xda-developers.com/attachment.php?attachmentid=3860782&d=1472659473 http://forum.xda-developers.com/attachment.php?attachmentid=3860780&d=1472659433
Go to the Interop Unlock section of Interop Tools, and tap the button that says "Enable installing NDTK on any device"
Put the two NDTK cabs in one empty folder on your PC
Open a command prompt as administrator and make sure you're in the directory where the iutool executable is located from the WP(AK) zip
run "iutool -V -p "<fulllocationwherethetwondtkpackagesarestored>" with your phone connected into the PC
if iutool throws an error, please unplug your device, go to the control panel, devices and printer, select your phone, should be ghosted, click on uninstall device, and then replug the device and wait for it to reinstall. If you still have issues, run GETDULOGS from the same CMD prompt, and post the cab you get along with a message in this thread
When the installation is finished, open Interop Tools, go to the Interop Unlock section, and tap restore the original manufacturer info button.
You can find a Q&A in the post below the OP.
FEATURES
This app allows you to:
Edit the registry through the registry editor
Browse the registry hives through the registry browser
Find sepecific registry values/keys through the search page
Apply tweaks to your device
Interop and Cap unlock your device
Access device information
Remotely edit the registry through the built-in desktop app
Manage Applications
Manage Certificates
Perform standard registry operations such as deleting, renaming, and copying details
Built-In Command Prompt inside the app (coming in pre-1.9)
Manage SSH accounts and more (coming in pre-1.9)
and more.
This app includes a lot of neat features which makes a better experience while editing the registry such as for example, the key suggestion bar in the registry editor, or the jump to button in the browser.
STATE OF THE APP
The app is still in development and has some rough edges. I would appreciate if you could report bugs about it, but before make sure you read the Q&A.
Currently the app has limited support for the registry for all devices running at least Windows 10 Mobile build 10240 by default.
Some specific devices have extra support out of the box, please read the list inside the spoiler below.
Lumia handsets (including other handsets with the ndtk service installed):
SYSTEM level access for editing and reading the following registry values and hives:
HKLM
HKCU
HKCR
HKU
HKCC
REG_DWORD
REG_QWORD
REG_SZ
REG_MULTI_SZ
REG_EXPAND_SZ
REG_BINARY
SYSTEM level access for LG and Samsung devices (untested, please report some feedback about it):
HKLM
REG_DWORD
REG_SZ
You can however enable more access privileges by following the instructions above, about enabling system registry access.
LINKS
See the second post for current pre-releases
Main Mega folder for download links and older versions: http://bit.ly/InteropTools See the current pre-releases
App Twitter account (for direct communication if I'm not available directly): http://twitter.com/InteropTools
My Personal Twitter account: http://twitter.com/gus33000
SCREENSHOTS
Credits:
Snickler, for the SSH stuff
VCFan for the Lumia RPC library.
Myria-Chan for the Test signing hack.
Microsoft for the other libs and the one coming with v1.9
And a lot more peoples helping me testing the app, reporting tweaks (also thanks for some tweaks to the peoples contributing to the WPTweaker project, especially for the brightness slider).
Current Pre-release:
https://forum.xda-developers.com/showpost.php?p=73608163&postcount=1006
Q&A
Q: What does "versatile" means?
A: It means that the app will work on every phone. But that doesn't mean it will work the same everywhere.
Q: Will this app work on Windows Phone 8.1?
A: No this is a Windows 10 UWP app, please fall back to using vcREG and CustomPFD for Windows Phone 8.1.
Q: I'm getting an error while installing one of all dependencies, what should I do?
A: Install all the dependencies first then install the one that throws an error. One of them depends on another one.
Q: The app doesn't install
A: Make sure you're installing the correct package for your processor architecture (x86_x64 is usually for PC, your phone is probably an ARM device) and that you installed all dependencies one by one prior to installing the app.
Q: I have a lumia which is not part of the x50 device family but I can't seem to be able to write some registry values.
A: Make sure under interop unlock, "Restore NDTK" is on, if not turn it on, reboot and try again.
Q; The app crashes.
A: Please submit a bug report with full detailed reproduction steps as well as your device model, if you tampered with ndtk before and other details that may help troubleshoot the crash such as the current running build and etc.
Q: What does TNSTSIGNING do?
A: It enables Test Signing on builds prior or equal to 10572. Don't be stupid and don't turn that on on later builds, your phone will most probably go into a boot loop.
Q: Can't install the versions above Beta 1.7
A: Re-read the installation instructions.
Q: How to install android with this app?
A: No you can't.
Can install this on win phone 8.1 i would like enable dng photos ?
L_u_k_e said:
Can install this on win phone 8.1 i would like enable dng photos ?
Click to expand...
Click to collapse
No this is a Windows 10 UWP app only, sorry. You can fall back to using vcreg and custompfd on wp8.1, or upgrade to Windows 10 Mobile if you wish to use this app.
I've already install version 1.7.157.0. When I uninstall it and reinstall with version 1.8 nothing happens. I tried reboot my phone.
quyleanh said:
I've already install version 1.7.157.0. When I uninstall it and reinstall with version 1.8 nothing happens. I tried reboot my phone.
Click to expand...
Click to collapse
Did you install all dependencies provided with beta 1.8.1 one by one before installing the main appxbundle? Dependencies changed between 1.7 and 1.8 and you need to reinstall all of them.
gus33000 said:
Credits:
dll coming with v1.9
Click to expand...
Click to collapse
Waiting for it.
Question: can you implement .reg files import?
Nice to see you here, Gus.
gus33000 said:
Did you install all dependencies provided with beta 1.8.1 one by one before installing the main appxbundle? Dependencies changed between 1.7 and 1.8 and you need to reinstall all of them.
Click to expand...
Click to collapse
Except Microsoft.NET.Native.Framework.Debug.1.3, I installed all remained dependencies through default File Explorer.
Hope it will work with version 1.9 tommorow.
Finally a post about Interop tools from @gus33000 himself. btw the app is a hope.thanks for all ur hard work mate..
quyleanh said:
Except Microsoft.NET.Native.Framework.Debug.1.3, I installed all remained dependencies through default File Explorer.
Hope it will work with version 1.9 tommorow.
Click to expand...
Click to collapse
Without Microsoft.NET.Native.Framework.Debug.1.3 it will obviously not work. You need to install that, even for 1.9
Note: you need to install that debug dependency after all the other ones actually.
Reg files import? Can be made?
augustinionut said:
Reg files import? Can be made?
Click to expand...
Click to collapse
That's actually planned since a while.
Awesome..
Thanks for share
Please can upload the file in zip? I cant download
Wanna download the lastest version but only appears 1.8, just for test CMD on my Lumia device.
gus33000 said:
Without Microsoft.NET.Native.Framework.Debug.1.3 it will obviously not work. You need to install that, even for 1.9
Note: you need to install that debug dependency after all the other ones actually.
Click to expand...
Click to collapse
I did follow your note and it worked like charm! Thank you very much!
chinitopex said:
Awesome..
Thanks for share
Please can upload the file in zip? I cant download
Click to expand...
Click to collapse
Wait for 1.9-prerelease which I will release today, that's mainly why I didn't attach any file.
Mafworld said:
Wanna download the lastest version but only appears 1.8, just for test CMD on my Lumia device.
Click to expand...
Click to collapse
Wait for 1.9-prerelease
Hello thank you for this app, I was wondering if this app can work on other phone that Microsoft or Lumia. I have a Blu Win HD LTE runing win 10 (14393.67) ?
Thank you
ck32 said:
Hello thank you for this app, I was wondering if this app can work on other phone that Microsoft or Lumia. I have a Blu Win HD LTE runing win 10 (14393.67) ?
Thank you
Click to expand...
Click to collapse
It will work yes, but some registry values might not be accessible to you. The Interop page, ssh/sftp/cmd, some tweaks will not work for example.

Categories

Resources