Audacity 2.0.2 for WinRT - General Topics

As I've noticed requested a few times, Audacity for WinRT.
It's completely untested (except for starting up) at the moment - it's too loud where I happen to be for me to do much in the way of other testing. It did happily start up, though, once I got past:
Code:
# pragma comment(linker, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df'\"")
There's some potential breakage in a few places because it was using specialized functions for rounding; as well, most of the architecture-specific code was replaced with the generic versions. (Audacity has support for ARM, but it looks like it's only on Linux, and would require gcc to compile the ARM optimizations.)
Chris
EDIT: Added the source diffs. Most of the changes are to the build options (the diffs contain the migrated VS2012 project files as well) - apply with "cat patch | patch -p1" from the respective source directories. There's a patch included for both Audacity and wxWidgets, both working. The base tarballs can be found at the respective project websites.
wxWidgets: Don't let VS2012 build it automatically. As discovered by a few other people on some of the Win8 threads, VS2012 manages to start multiple processes that try to lock the same log file simultaneously and so the build breaks. I worked around this by building just the subprojects that I needed one at a time (right click on the project, build only [project].)
Audacity: Nothing major here except for disabling any and all inline assembler and letting it fall back on generic C/C++ defaults instead. The build doesn't end up copying the Nyquist files into the win\ARM\Unicode Release directory but since this seems like all it's doing is a straight copy operation, it shouldn't be a problem. Help isn't included (I haven't installed Python on any of my Win8 Pro installs yet, which is required to build the Audacity help), nor is it localized. Instructions for both are included in the Audacity source.
EDIT 2: Got a build of lame 3.99.5 for WinRT here:
http://forum.xda-developers.com/showpost.php?p=36968027&postcount=13
Follow the instructions in the post to add MP3 export support to Audacity.
EDIT 3:
Full source code for Audacity and wxWidgets:
https://www.dropbox.com/s/jvttp9em9w3xuon/audacity-winrt.zip
This is the full source used for building Audacity 2.0.2 and wxWidgets 2.8.12 for WinRT. The license is included in the ZIP file (audacity-src-2.0.2\LICENSE.txt - GPLv2; wxWidgets-2.8.12\docs\license.txt, wxWidgets-2.8.12\docs\lgpl.txt - LGPLv2 with additional rights). The Audacity build has been updated as well to include the license of both wxWidgets and Audacity.

Thanks for your work but I think you should post this in the Windows section specifically, threads get lost in this section quickly.

I would be posting it there but the entire Win8 section is blocked off to me until I manage to get in another 4 posts...
eksasol said:
Thanks for your work but I think you should post this in the Windows section specifically, threads get lost in this section quickly.
Click to expand...
Click to collapse

Nice job, thank you! Added to the list.

Anyone know if lame_enc.dll would be possible to also get compiled for ARM? Otherwise it's impossible to export to MP3.

jhoff80 said:
Anyone know if lame_enc.dll would be possible to also get compiled for ARM? Otherwise it's impossible to export to MP3.
Click to expand...
Click to collapse
It should be possible. As far as I'm aware, lame is pretty cross-platform already, so if anything it might be that the generic version of the code has to be built with vc2012 instead of an ARM-optimized port. I might take a look at that tomorrow.

works perfektly !

Thank you very much, this is working perfectly on my Surface!

Anyone come across any usb audio interface that works with Surface?
Also... I get this error when trying to run Audacity.
{
"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"
}

lucas.scott said:
Anyone come across any usb audio interface that works with Surface?
Click to expand...
Click to collapse
The Sound Blaster X-Fi seems to work.

Sebasssss said:
The Sound Blaster X-Fi seems to work.
Click to expand...
Click to collapse
Isnt that PCI not USB?
Edit:
Nevermind, I see there are several. Id be looking for one with XLR jacks.

@lucas.scott: Hm. That import comes from msvcp110.dll - the C++ runtime library.
What's the version of C:\Windows\System32\msvcp110.dll on your system? On my system (which it seems to work fine on), Explorer says it's "11.0.50727.1", with a timestamp of 10/1/2012 9:31pm.
(There is another version of msvcp110.dll on the system, sitting in \Program Files\WindowsApps\Microsoft.VCLibs.*, of various versions; I bet those are there only to support Metro apps, but I could be wrong. In either case, the 11.0.50727.1 version pulled off my RT device has the export mentioned,)
Might be a missing update somewhere?

I've got a build of lame 3.99.5 done for WinRT as well.
In the archive is libmp3lame.dll - Audacity looks for this as lame_enc.dll, so:
Code:
copy libmp3lame.dll \path\to\audacity\lame_enc.dll
and MP3 export should work fine. As well, it's got the command line version of lame in the package as well - I think that depends on the original name.

irony_delerium said:
wxWidgets: Don't let VS2012 build it automatically. As discovered by a few other people on some of the Win8 threads, VS2012 manages to start multiple processes that try to lock the same log file simultaneously and so the build breaks. I worked around this by building just the subprojects that I needed one at a time (right click on the project, build only [project].)
Click to expand...
Click to collapse
I took a swing at Audacity myself and this problem drove me nuts! Wow.
Thanks for your work! Much appreciated!

irony_delerium said:
@lucas.scott: Hm. That import comes from msvcp110.dll - the C++ runtime library.
What's the version of C:\Windows\System32\msvcp110.dll on your system? On my system (which it seems to work fine on), Explorer says it's "11.0.50727.1", with a timestamp of 10/1/2012 9:31pm.
(There is another version of msvcp110.dll on the system, sitting in \Program Files\WindowsApps\Microsoft.VCLibs.*, of various versions; I bet those are there only to support Metro apps, but I could be wrong. In either case, the 11.0.50727.1 version pulled off my RT device has the export mentioned,)
Might be a missing update somewhere?
Click to expand...
Click to collapse
So i took a look at msvcp.dll.
Its ver. 11.00.50531.1
So thats noticeably later than what you are running. Any ideas as to why that is? My system is up to date.

lucas.scott said:
So i took a look at msvcp.dll.
Its ver. 11.00.50531.1
So thats noticeably later than what you are running. Any ideas as to why that is? My system is up to date.
Click to expand...
Click to collapse
Hm. I haven't got a clue. The only thing I can come up with is that I haven't gone through and updated VS2012 to it's latest patch yet, but that doesn't add up as far as the binaries go...
I'd also expect Windows to be telling you that it couldn't find that import in C:\Windows\System32\msvcp110.dll, not ...\Audacity\Audacity.exe, which being a program, has no exports.

What is winrt?
Sent from my Galaxy Nexus using Xparent Blue Tapatalk 2

I'll need to check out this port. I hope I don't get the DLL conflict. I am getting it with Dosbox and I still unsure what it could be.

Same issue
lucas.scott said:
Anyone come across any usb audio interface that works with Surface?
Also... I get this error when trying to run Audacity.
I'm getting the same error when I try to run Audacity. Did you ever get this resolved?
Click to expand...
Click to collapse

Right, since I don't know if this will fix it or not (probably not, if my scanning the list of imports is correct, but it's worth a try):
I just rebuilt Audacity, same version, slightly different options (non-Unicode build).
If this doesn't fix it, about the only other thing I can think of to do is to toss the copy of msvcp110.dll that came from my system, since it seems to be working.
Chris
(Yes, I know, it's named ".zip.zip". That's what I get for quickly renaming the file from "Audacity" to "Audacity-2.0.2.zip". Still need to tweak a few settings on this copy of Windows like "always show the file extension". Oh well.)

Related

[NEW BUILD] - WRCX Vanilla Kitchen (5.2.1437)

Whiterat & cmonex's Base Kitchen (5.2.1437)​
Core: 5.2.1437.17944.301
You will not find a more vanilla kitchen than this, There are NO OEMAPPS (besides DeviceInfo, Backlight,etc)
No Camera, No MMS,etc.
I felt this would be better for a kitchen since you can add EXACTLY what you want.
You must leave OEMDrivers contents as it is, unfortunately due to lack of space in the memorymap
I had to convert all modules to files since many were too large and overlapped important OS files.
As I said before I might take a second look at this soon.
This is also now officially OS: 6.6.6.666 !
My thanks going out to:
cmonex - My partner in crime
Bepe - Thanks for Xipport, Pkgtool and BuildOS
mamaich - Thanks for imgfs_tools
OEM Applications:
NONE!
OS Modifications
Removed:
ceipui.exe
SQM
Replaced:
mxip_notify.vol
Added:
VoIP
Remote Desktop
Screenshots
{
"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"
}
​
Download:
Code:
http://rapidshare.com/files/44575509/WR_CX_1437_Kitchen.rar
Have Fun Guys n Gals!​
Fixes:
Office not loading
Reason: Missing MUI Files
Solution: Download Office_MUI_Fix.zip and extract contents to SYS\Office_Lang_0409 (Or \Windows if you have already flashed a rom)
Bravo, will test this @ night!
This is exactly what i needed.
Damn!
Whiterat said:
Whiterat & cmonex's Base Kitchen (5.2.1437)​
This is also now officially OS: 6.6.6.666 !
Click to expand...
Click to collapse
And the kitchen size is: 66.6 Mb
Nice touch..
Now, if we keep getting these type of releases, we need to get unified packages. Things like stripped down camera and such without all the extra BS. Packages that will work on all kitchens and releases.
Yep I can do that too
But there are many shared HTC dlls used by more than one app, e.g camera and streamer.
I'll see what I can do.
ok bro, maybe you will save our times if you did something for us, if you rebuild that without including 15342 files, let us test many of choices.
we hope to know what did you do exactly to know if it logical or not, please
BTW, downloading now to test. tnx
its right:
I'm not sure you actually understand how/what goes into a ROM and why you can only alter certain parts.
Without 15341/2 components you would have:
No Kernel (The elf kernel is close, but not close enough)
No Drivers
You cannot just swap BSP components between builds without alot of problems.
If you actually look at .318, .968 and .1413 for Wizard, They share EXACTLY the same Drivers (Maybe some have been rebased, but the code is still identical).
I do not see what you are trying to achieve by creating some (even more so) mongrel build.
Thanks whiterat, flashing now with just the os to see where i need to begin on the work. LOL. Hopefully not much. I already went through your Regfix file. Looks pretty complete to me. We will see. LOL. Love ya man!!!
Whiterat said:
its right:
I'm not sure you actually understand how/what goes into a ROM and why you can only alter certain parts.
Without 15341/2 components you would have:
No Kernel (The elf kernel is close, but not close enough)
No Drivers
You cannot just swap BSP components between builds without alot of problems.
If you actually look at .318, .968 and .1413 for Wizard, They share EXACTLY the same Drivers (Maybe some have been rebased, but the code is still identical).
I do not see what you are trying to achieve by creating some (even more so) mongrel build.
Click to expand...
Click to collapse
sorry but i hate an issue which is done by 15342, call somebody if his line is busy, then the device will show connected for 1-2 seconds then call ended, which means there is something wrong with some of 15342 dll's.
i will start working with this one, tnx.
One other thing is that OneNote Mobile is not in the rom. I will try and work on this.
you integrated HTC home on the same base rom, some people don't like that, so please do a really vanilla for this.
issues:
- Office apps. don't working
- If you missed a call when you are calling will counted as answered
ah wow thanks for the heads up on Office, I hadnt noticed.
btw, PLEASE STOP WITH THIS BUSY CALL SH!T! It cant be fixed - THE END.
Whiterat said:
ah wow thanks for the heads up on Office, I hadnt noticed.
btw, PLEASE STOP WITH THIS BUSY CALL SH!T! It cant be fixed - THE END.
Click to expand...
Click to collapse
i will try to fix it, but the problem with the same base rom which you used, if you just rebuild the same things with another base rom will fix many of 15342 issues.
keep it up
its right said:
you integrated HTC home on the same base rom, some people don't like that, so please do a really vanilla for this.
issues:
- Office apps. don't working
- If you missed a call when you are calling will counted as answered
Click to expand...
Click to collapse
The office apps I see, the missed calls, that your phone, not mine. As for htc home, I cant find any ofthe files or reg keys in this VANILLA for it. Please provide more information rather than just trying to post an issue that we have no info as to where to look.
nottoosmart said:
The office apps I see, the missed calls, that your phone, not mine. As for htc home, I cant find any ofthe files or reg keys in this VANILLA for it. Please provide more information rather than just trying to post an issue that we have no info as to where to look.
Click to expand...
Click to collapse
this thing duplicate many times, so i think many know that.
i can't know where is exactly the issue, but if this thing on the same base rom, you will never solve it.
i will try to explain more with my experiments with all base roms
why is there so few program memory if anything is installed???
This (I would imagine) is due to the fact all drivers are loaded into memory instead of into their allocated memory map - This is an ongoing problem that can and will be sorted, it just requires a bit of time.
lets build the future =]
Ok, so i was able to build a few apps into this, the only issue I have now is the Camera 3.00 from the package i used to build my Jaguar2 build gets an error that its not signed, anyone remember how to fix that?
The not signed error is the same as "you are missing files" error.
I updated SecurityOff when I released this to disable ALL requirements for signining,etc so you are simply missing a file

AD2P

Anyone know anything about AD2p and when we might get it? or is it apart of cupcake, and if it is apart of cupcake, can i get it trough the cupcake instalation thread?
There is no more "Cupcake", all that code, has been merged into the "Master" build. A2DP is part of the roadmap, but it hasn't been implemented yet.
It is part of the cupcake branch, no word on when.
I can use it right now just fine using the cupcake 1.5 firmware.
neoobs said:
It is part of the cupcake branch, no word on when.
I can use it right now just fine using the cupcake 1.5 firmware.
Click to expand...
Click to collapse
you are saying you are using AD2P? is there a read on how to get it working?
right now i have the JF Rc30 with the rc33 radio, not sure it that will make a difference.
you need to compile the source yourself or use the cupcake images. (not sure if they are updated frequently)
After that just connect the device like normal and you will be able to do it.
and the only couple of things that are broken are camera/video camera and market apps....cupcake is pretty cool but not a daily driver, but yes A2DP works great
Camera works great (preview is B/W but pic is color) but the video camera and playback is still... buggy
hey on that note neoobs, how long of video can you record until the screen turns white and camera app crashes?
I recorded about a minute then it crashed... but it crashed when I pressed the button to end it.
r2d2 support?
when do we get it?
{
"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 had a program on my Kaiser which allowed me to listen to music through just my jawbone, not just an AD2P headset. It was called Bluetooth Audio. Maybe someone can take a look at that .cab & maybe try to convert it to an .apk? I can attach the cab if someone wants to take a look at it?
Beast84 said:
I had a program on my Kaiser which allowed me to listen to music through just my jawbone, not just an AD2P headset. It was called Bluetooth Audio. Maybe someone can take a look at that .cab & maybe try to convert it to an .apk? I can attach the cab if someone wants to take a look at it?
Click to expand...
Click to collapse
:sigh: where to begin...
Long story short, that's not gonna fly.
jashsu said:
:sigh: where to begin...
Long story short, that's not gonna fly.
Click to expand...
Click to collapse
Worth a shot...
wouldnt it be easier just to compile ad2p into a JF image?
Beast84 said:
Worth a shot...
Click to expand...
Click to collapse
what he means is that, in the cab is an application written in C compiled for windows mobile phones.. where as everything on the g1 runs java
CAB is short for Cabinet, Microsoft's archive format, supporting signing, and some other extras.
It is used as an installer for WinMob applications, as well as part of some desktop installers.
The applications that are installed with it could be written in C, C++ and anything else supported by the Compact .NET Framework (C# for sure).
And the use APIs specific to WinMob.
kash04 said:
what he means is that, in the cab is an application written in C compiled for windows mobile phones.. where as everything on the g1 runs java
Click to expand...
Click to collapse
MoridinBG said:
CAB is short for Cabinet, Microsoft's archive format, supporting signing, and some other extras.
It is used as an installer for WinMob applications, as well as part of some desktop installers.
The applications that are installed with it could be written in C, C++ and anything else supported by the Compact .NET Framework (C# for sure).
And the use APIs specific to WinMob.
Click to expand...
Click to collapse
Yea I know what a cab is & what its used for. I just wasn't sure if someone could take it apart & try to duplicate it in an apk format. I don't know anything about programming, just throwing an idea out there. Figured someone might be able to pick it up & run with it. O well...
wouldnt it be easier to just compile the ad2p into a JF image?
eosrider said:
wouldnt it be easier to just compile the ad2p into a JF image?
Click to expand...
Click to collapse
Is there an echo in here>?
No One answered... so he thought no one heard.
To me, that seems like the way it would have to go... How that's done is way beyond my scope.

[UTIL] ADB Suite

Hi, I am developing a little utility for easy work with ADB. Simple GUI alow many functions and others are incoming in every next relase.
Now is supported: Install single/multi APK, Upload files, Send commands, Restart normal/bootloader/recovery, Wipe system/data/all, Connect Mass Storage for reading and writing on PC and phone simultaneosly, Remount /system as write/read, Taking screenshots and Dialing numbers.
Many functions are accesible from tray icon
There is one little problem, util is developed in my language (CZE) > if interested, i can make multi language UI. Hmmm?
/Edit: Added multi language support in 0.8 ver
Known Bugs: no complete english translation, toolstrip bar is not fully working, file send to the sdcard not working
Code:
26.8.2009 - Changelog ver. 0.8
=> add support for mount /sdcard accesible from pc and phone in one time
=> edited About Box
=> Status Bar with tooltips
=> multi language support - english and czech
20.8.2009 - Changelog ver. 0.7:
=> screenshots from device (Detox DLL, thx)
18.8.09 - Changelog ver. 0.6:
=> remount /system as writeable
=> run at start up with windows
=> install mutli APK (all APK from directory "multiapp" on the sdcard)
=> edited AboutBox
17.8.09 - Changelog ver. 0.5:
=> dialing phone numbers
=> icons in menu
16.8.09 - Changelog ver. 0.4:
=> task bar icons with most useful functions
16.8.09 - Changelog ver. 0.3:
=> wipe support (system, data, all)
15.8.09 - Changelog ver. 0.2:
=> restart support (normal, bootloader, recovery)
15.8.09 - Changelog ver. 0.1:
=> install APK
=> send command directly to the device
{
"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"
}
Just release it and the source
Making an English version would be a necessity, further translations can be done if anyone cares to translate it.
What programming language is it written in? I've started dusting off a similar project I'd been working on since ComplexMind is on hiatus with his "My Android Manager". I think if we can build a consolidated pc interface it would help out the community a lot. Open the source and I'm sure you'll have people beating a path to your door to help out.
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
kissman21 said:
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
Click to expand...
Click to collapse
My Android Manager sucks, it's slow and buggy.
kissman21 said:
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
Click to expand...
Click to collapse
I thought it looked like VB. You can definitely add me to the list of people interested in helping develop this further. My Android Manager hasn't moved for about a month. At least around here, that's quite a while. I've not worked much on localization before but dynamically labeling based on an indexed data file shouldn't be too hard. Do you currently use any sort of db storage or is strictly a command line wrapper at this point?
maxisma said:
My Android Manager sucks, it's slow and buggy.
Click to expand...
Click to collapse
I wouldn't say it sucks, but it is incomplete. Since the source is closed on it though we're at the whim of ComplexMind to fix things.
looking great! nice idea
but MAM have a "little thinks" about which i am thinkink "i must have in own app" such as phone detection and cmd output to gui.
Now I am using strictly defined commads and link library with functions for convert rgb565 to others usable formats. In future, i want make simple db with commands for easy updates and edits... And MUI is easy to implement, but need more time (work, work, work in IT is hard :-D )
kissman21 said:
VB.NET, i am plannig release source bot not yet... Wow, i never hear about My Android Manager but i checked now and I can stop develop this utility
Click to expand...
Click to collapse
so he posted this util and now is saying he is going to stop putting in the time?
just ironically My Android Manager have nice idea
kissman21 said:
but you have a "little thinks" about which i am thinkink "i must have in own app" such as phone detection and cmd output to gui.
Now I am using strictly defined commads and link library with functions for convert rgb565 to others usable formats. In future, i want make simple db with commands for easy updates and edits... And MUI is easy to implement, but need more time (work, work, work in IT is hard :-D )
Click to expand...
Click to collapse
Your time frames are your own, but around here people loose interest fast if things stop happening. My first thought with a back end db is that each control could be indexed and then captioned during a splash screen process for simple localization. Maybe crude, I'm not a professional programmer, but I think it would work. A quick Google search popped up a sample for capturing command line output. It would need a little work to adapt but I can see where it's going.
Code:
Dim CMD As New Process
Dim SW As System.IO.StreamWriter
Dim SR As System.IO.StreamReader
CMD.StartInfo.FileName = "cmd"
CMD.StartInfo.UseShellExecute = False
CMD.StartInfo.RedirectStandardInput = True
CMD.StartInfo.RedirectStandardOutput = True
CMD.StartInfo.CreateNoWindow = True
CMD.Start()
SW = CMD.StandardInput
SR = CMD.StandardOutput
SW.WriteLine("ping www.google.com")
CMD.Dispose()
SW.Dispose()
Do Until SR.EndOfStream = True
TextBox1.Text &= SR.ReadLine
TextBox1.Text &= Environment.NewLine
Loop
SR.Dispose()
i tried write a hundreds lines of code for creating nice shell output... even this but not works good
kissman21 said:
i tried write a hundreds lines of code for creating nice shell output... even this but not works good
Click to expand...
Click to collapse
I'll see if I can find some time to package this up as a class module and test it out. I'm watching the baby today so time is not my own. I think parsing the output would definitely be the tricky part. Then of course making that output useful.
2ben... your code have 2 big minus 1) when start command, application totaly freeze and waiting to command end 2) text output is writed after command ended better is System.Diagnostics.Process.Start
i'm fairly proficient in .net. looking forward to helping out. open up the source. better move on it quick though, these guys move fast.
kissman21 said:
2ben... your code have 2 big minus 1) when start command, application totaly freeze and waiting to command end 2) text output is writed after command ended better is System.Diagnostics.Process.Start
Click to expand...
Click to collapse
I think the "EndOfStream" property is not capturing correctly for some reason. It kept freezing for me when I first tried it. I've just about got it wrapped up in a module so the output is continually cached until the class is released. I'll try to post it soon, once it's working on my end that is.
i like this a lot. Looking good and willing to test. Can we have an English version though?
benmyers2941 said:
I think the "EndOfStream" property is not capturing correctly for some reason. It kept freezing for me when I first tried it. I've just about got it wrapped up in a module so the output is continually cached until the class is released. I'll try to post it soon, once it's working on my end that is.
Click to expand...
Click to collapse
I've successfully isolated the problem to the read stream not having the expected endofstream characters. I've not resolved a workaround though... yet.

PirateBox Mobile | PAW Intergrated

{
"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"
}
Find Jochen's intergrated version here.​
OLD:​
While reading Gizmodo, I stumbled across an article about the PirateBox, an offline network for sharing files. I wanted to do this, but I didn't want to buy all the supplies. Instead, I decided to use an old Android phone, my HTC Hero (Sprint) that got abandoned after upgrading to an EVO 4G. In reality, any phone with Android, root, and WiFi woill work just fine.
Materials
Android Device
root
Wireless Tether App (market)
PAW Server (attached)
SDCard
Pirate Lunchbox (Not necessary)
BatteryPack (Not Necessary)
Instructions
First, get on the internet and download the "Wireless Tether for Root Users" app. This will establish our PirateBox Network.
Set up the name to "PirateBox" or anything you like. Make the network "open"
Download and install the APK below. This version of PAW Server includes PirateBox, and the forwarding stuffz. Credits to joschi70
Make a folder called "piratebox" on the root of the SDCard
Next, Start the Tether app.
Start PAW Server
Finally, test the system out by uploading a file from another device. If all works well, the file will be at the folder called "piratebox" under the "html" folder where the pages are.
EXTRA: For an almost-exact replica of the original PirateBox, place your device in a Pirate lunchbox with a battery pack.
How It Works
This works by the users joining the "PirateBox" network. PAW Server then serves the site. The page uses BeanShell Code because PAW Server does not like PHP and because BeanShell is supported by PAW. In the recent versions, joschi70 has changed PirateBox from a half-working project to a fully-working install-on-the-fly system. He has redesigned PirateBox to an almost-precise replica of the original PirateBox. He is also the one to get forwarding woking, so he deserves all credit for finishing this. I just started it
Other Stuff
NOW MORE PROBLEMS!!!!!11!!1!!!!!!1!!!!1
In order for this to work, you have to use "Wireless Tether for Root Users" and NOT the native tethering in ROMS like CyanogenMOD and MIUI. In fact, DO NOT use a rom with Native Tethering functionality. It screws up the ENTIRE connection to PirateBox. Sense is proven to work, since this was all tested on a Sprint Hero. MotoBlur and TouchWiz are not yet proven.
EDIT: Attached is a "server.txt" without the 2MB limit added by PAW. Rename the "server.txt" to "server.xml". Then, place "server.xml" in "sdcard/paw/conf/server.xml". Also, installation process is alot simpler thanks to Joschi70. He is the developer of PAW and has made an APK with PirateBox built in. His version looks more like the original and works more efficiently.
Original PirateBox: http://wiki.daviddarts.com/PirateBox
Credits to David Darts for inspiring me to roll my own with what I had.
Also, credits to joschi70, the developer of PAW, for the PirateBox bundle AND for fixing forwarding! Now enter any website address and it redirects to PirateBox! YAY and HIGH FIVE to joschi70!
pretty cool
pretty cool, but what it really needs is to also list all of the files in the piratebox folder on the main page so that other people can download them. I haven't actually tried the original piratebox but I thought that was the point, to set up a quick anon local filesharing page so you can swap files between friends at lunch. I've never used BeanShell but it should be easy enough to do.
If you need some help with the scripts let me know.
The PAW setup should not be the problem.
What might be more difficult is to get the HTTP traffic redirect working.
Hi, great work got this working on my HTC Desire (without root) using the normal tether functionality. The only problems so far the files you upload can't be downloaded cause the uploaded files are not visible trough the website. If this functionality can be added this would be awesome.
Where can I download the "official" PirateBox web pages?
Exchanging the PHP scripts should be easy.
If someone can provide a link, I would start making the PAW scripts.
wiki.daviddarts.com/PirateBox_DIY
anything here usefull?
I had a look there, but could only found some files, but not all of them.
Maybe I've overlooked something.
awesome
This is really awesome
Mvdbeld said:
Hi, great work got this working on my HTC Desire (without root) using the normal tether functionality. The only problems so far the files you upload can't be downloaded cause the uploaded files are not visible trough the website. If this functionality can be added this would be awesome.
Click to expand...
Click to collapse
joschi70 said:
I had a look there, but could only found some files, but not all of them.
Maybe I've overlooked something.
Click to expand...
Click to collapse
I'm adding the file browsing functionality and the original uses Python.
Updated with File Browsing and changed location of uploaded files.
This must be a pretty stupid question, but the file upload size limit is 2 megabytes if a file is larger than that, the browser gives the error 'connection has been reinitialized'.
Am I the only one having this problem?
This is not a stupid question
The default upload size of PAW is 2MB. There will be an update soon, with a much higher limit.
You can change this manually by editing the <maxPost /> line in the PAW configuration (/sdcard/paw/conf/server.xml).
janniemannieee said:
This must be a pretty stupid question, but the file upload size limit is 2 megabytes if a file is larger than that, the browser gives the error 'connection has been reinitialized'.
Am I the only one having this problem?
Click to expand...
Click to collapse
I have attached a "server.xml" in the original post. I just added 24 0's after "1". if anyone wants to calculate that, i'll be happy to know how many MB's that is
Awesome!
I was just writing a comment on how I did it
But joschi70 has already created an app
Thanks for your fast reaction
This app wil make my life a lot easier
janniemannieee said:
Awesome!
I was just writing a comment on how I did it
But joschi70 has already created an app
Thanks for your fast reaction
This app wil make my life a lot easier
Click to expand...
Click to collapse
Your welcome! We are still trying rerouting methods. hopefully that gets fixed soon. Should make uploading easier.
<strike>I don't know anything about programming linux, and just a very little html. But I'll be your bugreporter from now on. Because I would love to help the project.
I installed the app from joschi70. But after you upload a file it will be in /sdcard/piratebox
But if you are browsing files it will check /sdcard/paw/html/piratebox
Or is it just my Desire HD that does that kind of stuff</strike>
Edit:
Removed /sdcard/piratebox and created /sdcard/paw/html/piratebox
got it working 100% now
janniemannieee said:
<strike>I don't know anything about programming linux, and just a very little html. But I'll be your bugreporter from now on. Because I would love to help the project.
I installed the app from joschi70. But after you upload a file it will be in /sdcard/piratebox
But if you are browsing files it will check /sdcard/paw/html/piratebox
Or is it just my Desire HD that does that kind of stuff</strike>
Edit:
Removed piratebox from /sdcard/ and created /sdcard/paw/html/piratebox
got it working 100% now
Click to expand...
Click to collapse
I have to look into it because joschi70's apk saves to /sdcard/piratebox/ and browses that same directory, not to /sdcard/paw/html/piratebox.
EDIT: Try to uninstall joschi's PirateBox bundle, delete /paw from your SDCard, and reinstall joschi's PAW/PirateBox APK
I already tried that
Whenever you come to the piratebox homepage and click
2. To view files uploaded to PirateBox, click here.
It says: Got the error: Not Found
while trying to obtain /piratebox
whenever you upload something and click:
3. Browse and download
files here.
It will take you to the files you have previously uploaded
At least this is the problem with mine?
I've deleted /sdcard/paw
and reinstalled the app
Let me look into it...
janniemannieee said:
I already tried that
Whenever you come to the piratebox homepage and click
2. To view files uploaded to PirateBox, click here.
It says: Got the error: Not Found
while trying to obtain /piratebox
whenever you upload something and click:
3. Browse and download
files here.
It will take you to the files you have previously uploaded
At least this is the problem with mine?
I've deleted /sdcard/paw
and reinstalled the app
Click to expand...
Click to collapse
Figure it out, hopefully. Make sure to have the "piratebox" folder premade on the root of the SDCard.

[APP] Raccoon v4.12 - An apk downloader for Google Play

[APP] Raccoon v4.13 - An apk downloader for Google Play
Ever ran into one of these problems?
You want to check out an app, but your device is not officially supported.
After flashing a custom ROM, you no longer have Google Play available on your phone.
You updated an app, but the new version causes nothing but trouble and you want to go back to the previous version.
You are not satisfied with Google's privacy policy and would rather download apps without hooking your phone up to Google.
You want to check out apps without them cluttering up your "My Apps" list and potentially influencing app suggestions.
You don't have unlimited bandwidth at your disposal but want to install an app on multiple devices in your household.
Raccoon is a Google Play desktop client that will enable you to download APK files from Google Play and cache them locally on your desktop computer. You can maintain as many caches as you like (e.g. one per Google Account or one per device you own). Each cache is able to hold apps in multiple versions.
{
"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"
}
Click here to download
Usage instructions:
Install Java (java.com)
racoon.jar should now be executeable, start it like any other program
Enter your loginname and password (prefererably from a throw away account).
type "Onyxbits" into the textfield.
You should now see a list of all my apps (yes, shameless plug, I know).
Maybe download "List My Apps"
you will get an APK file, transfer that to your phone by whatever means suit you (e.g. copy via USB cable).
Enable "Unknown Sources" on your device to install the APK
Been waiting for something like this, great idea. Will test during the day.
Sent from my GT-N7105 using Tapatalk
The brave of heart will find some neat stuff in the development version:
java -jar racoon.jar -u -a <archive>
Will conveniently fetch the latest APKs for all the apps stored in the archive.
java -jar racooon.jar -a <archive> -f de.onyxbits.listmyapps,14,1
Is a way to simply download an app without searching for it (you have to know packagename, versioncode and offertype). Just in case someone wants an older version of something.
There also now is proxy support (but you don't really wanna use that, the -f option does a better job).
Minor request: If you build from source, please DON'T make your build available to the public. I really don't want to deal with support requests for software I don't know the version of.
onyxbits said:
The brave of heart will find some neat stuff in the development version:
java -jar racoon.jar -u -a <archive>
Will conveniently fetch the latest APKs for all the apps stored in the archive.
java -jar racooon.jar -a <archive> -f de.onyxbits.listmyapps,14,1
Is a way to simply download an app without searching for it (you have to know packagename, versioncode and offertype). Just in case someone wants an older version of something.
There also now is proxy support (but you don't really wanna use that, the -f option does a better job).
Minor request: If you build from source, please DON'T make your build available to the public. I really don't want to deal with support requests for software I don't know the version of.
Click to expand...
Click to collapse
Would you make GUI for this app?
edit
Got error:
Jun 07, 2014 7:14:49 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Click to expand...
Click to collapse
exodius48 said:
Would you make GUI for this app?
edit
Got error:
Click to expand...
Click to collapse
The app has a GUI (not a very pretty one atm, I have to admit). Your error is a windows problem. You'll have to use regedit to create the preferences key/allow access to it.
onyxbits said:
The app has a GUI (not a very pretty one atm, I have to admit). Your error is a windows problem. You'll have to use regedit to create the preferences key/allow access to it.
Click to expand...
Click to collapse
OK
How to solve my problem? Step by step please...
exodius48 said:
OK
How to solve my problem? Step by step please...
Click to expand...
Click to collapse
Try this:
http://stackoverflow.com/questions/...warning-could-not-open-create-prefs-root-node
onyxbits said:
Try this:
http://stackoverflow.com/questions/...warning-could-not-open-create-prefs-root-node
Click to expand...
Click to collapse
it works, thanks you.
Btw, what the meaning of <archieve>, should I write on cmd "<archieve>"?
exodius48 said:
it works, thanks you.
Btw, what the meaning of <archieve>, should I write on cmd "<archieve>"?
Click to expand...
Click to collapse
The archive is a directory. Think of it as your downloadfolder. It contains your credentials and subfolders for storing apps in multiple versions.
Teaser of the GUI for the upcoming v2.0 version. Thumbs up, thumbs down?
Issue: can't edit device id from user interface after first configuration.
scandiun said:
Issue: can't edit device id from user interface after first configuration.
Click to expand...
Click to collapse
got to your archive directory (normally Raccoon) and just edit the credentials.cfg file with the updated device ID.
scandiun said:
Issue: can't edit device id from user interface after first configuration.
Click to expand...
Click to collapse
As jdstrydom said: just edit credentials.cfg. There is no UI for it because you are not really meant to change your credentials after setting them up. Your archive represents your phone/tablet. Changing your Android ID is akin to doing a factory reset (at least as far as Google Play is concerned. It has no effect on your downloads).
Unless you really know what you are doing, it's best to use a throwaway account and go with the generated ID. The thing you should probably not do is to use your regular account with a generated ID.
onyxbits said:
As jdstrydom said: just edit credentials.cfg. There is no UI for it because you are not really meant to change your credentials after setting them up. Your archive represents your phone/tablet. Changing your Android ID is akin to doing a factory reset (at least as far as Google Play is concerned. It has no effect on your downloads).
Unless you really know what you are doing, it's best to use a throwaway account and go with the generated ID. The thing you should probably not do is to use your regular account with a generated ID.
Click to expand...
Click to collapse
I guess android id and device id are different things. As far as I am concerned, I can use any device id with my real account. Because some apps are only for phones and other only for tables so I need to switch between them.
scandiun said:
I guess android id and device id are different things. As far as I am concerned, I can use any device id with my real account. Because some apps are only for phones and other only for tables so I need to switch between them.
Click to expand...
Click to collapse
The Android id is what you get from dialing
*#*#8255#*#*
You should not edit credentials.cfg, though. The preferred solution is to use one archive per device.
after setting up when i search an app,it shows me no result.am i doing anything wrong?
Proud to present: Raccoon 2.0. Massive Changelog:
Reworked GUI (tons of tweaks).
Proxy support (you don't want to use this)
Open multiple archives at once
Automatically update whole archives
Commandline interface for scripting
Directly fetch APK files without searching (to get APPs that are excluded by search).
New directory layout
Now keeps a session log of downloads (for scripting)
Developer feature: hold SHIFT when pressing "Google Play" to see the raw search entry.
Mark apps that offer IAP
killoid said:
after setting up when i search an app,it shows me no result.am i doing anything wrong?
Click to expand...
Click to collapse
Try v2.0 and see if the problem persists.
onyxbits said:
Try v2.0 and see if the problem persists.
Click to expand...
Click to collapse
awsome! it worked now!
Edit: can u also include version no. in the application description plz?
I declare the wishlist for v2.1 open!
Currently I'm thinking: Archive browser with build in webserver and quick access via QR codes. Please discuss

Categories

Resources