[MOD]Java SDK, How to get it to work - Windows 8 Development and Hacking

Java SDK can be installed on windows 8,
Unfortunately The Java.exe is not automatically added to path's, this is how to do it
How to get it work?!
Go to Control panel --> System and security --> System --> Advanced settings --> Environment Variables --> Path
And add your java to the path
;C:\Program Files\Java\jdk1.7.0\bin
(As Windows 8 DP, does not add java to its path you need to add it manually)
And now that should make you able to use your Java apps to work properly

Related

Certifying cab files for WM6!!!

1. Download the attachments.
2. Extract the 3 files from sign.zip and place them in "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin\"
(People who don't have Visual Studio 2005 installed will not have the folders automatically, so you just need to make the folders yourself)
3. install the software from Setup[1].zip
4. You will have Security Configuration Manager, start it!
5. Click on 'File' --> Sign File --> With Normal Development Certificate or With Privileged Development Certificate.
Have fun!

Windows 7 was a breeze to setup .zip Resign

I recently made the full conversion to Windows 7 from XP and Vista64, and I must say getting setup again for resigning files, adb, and fastboot were a breeze, maybe 10 minutes tops.
I downloaded and installed the Java JDK here: https://cds.sun.com/is-bin/[email protected]_Developer
I went to Environmental Variables through Windows Key + Pause/Break > Advanced System Settings > Environmental Variables.
Under user variables I added CLASSPATH and assigned the variable value to: D:\android\tools\testsign.jar (in my case)
Under system variables I added to the end of Path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\android\tools (in my case)
I then went to my tools folder and double clicked the testsign_apk.reg to add it to registry and now I am able to Re-sign my zip files. It took all of 5 minutes and unlike vista I can keep my default file association and still right click to resign files.
brandenk said:
I recently made the full conversion to Windows 7 from XP and Vista64, and I must say getting setup again for resigning files, adb, and fastboot were a breeze, maybe 10 minutes tops.
I downloaded and installed the Java JDK here: https://cds.sun.com/is-bin/[email protected]_Developer
I went to Environmental Variables through Windows Key + Pause/Break > Advanced System Settings > Environmental Variables.
Under user variables I added CLASSPATH and assigned the variable value to: D:\android\tools\testsign.jar (in my case)
Under system variables I added to the end of Path: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;D:\android\tools (in my case)
I then went to my tools folder and double clicked the testsign_apk.reg to add it to registry and now I am able to Re-sign my zip files. It took all of 5 minutes and unlike vista I can keep my default file association and still right click to resign files.
Click to expand...
Click to collapse
Been using 7 for little over 9 months now, its always been a breeze
Windows 7 is so simple a caveman can do it. I'll have my copy in a few days GG MSDN
I thought this was a Windows 7 theme for the G1 I was bout to say let's go!

How To Set Up an IDE to Develop to the Nook Touch on Windows

Setting up a development environment is really not that hard. I am using Windows 7 with a 64-bit processor, although the procedure is not terribly different across sytems, just make sure you choose the right download for your architecture.
The entire process can be broken down into four major steps. Let's get started.
1) Get Java
You can get the Java Standard Edition Software Development Kit through this link: http://www.oracle.com/technetwork/java/javase/downloads/
At the time of writing this post, the latest version available is 7u3. Click the download button under where it says 'JDK' and you will be taken to a list of installers. Make sure you get an installer from the group who's header is "Java SE Development Kit 7u3"; the other one is just sample code.
Make doubly sure that you choose the right architecture (x86 vs x64) as the wrong one will give you an error message and you will have to go uninstall everything and start over.
After the download has finished, run the installer.
Note: It may give the option to install JavaFX and the Ask Toolbar. While they won't hinder your development in any way, there won't be any need for them within the scope of this guide so you might find it worthwhile to not install them.
2) Get Eclipse
Once you've installed the Java DK, go get a copy of the Eclipse IDE here:
http://www.eclipse.org/downloads/ You can see that the IDE comes in many different flavors. Eclipse Classic will work fine.
Extract the folder and place the 'eclipse' subdirectory in a safe place. Try running eclipse by traversing this directory and running eclipse.exe. If you see the Eclipse splashscreen, everything is OK. If you see an error message then something may have gone wrong when you installed Java. If it complains about missing or corrupted DLLs, you probably have installed the wrong version of Java for your system. If it complains about not being able to find Java (for example, stuff about javaw.exe) you may need to manually add Java's location to your Path environmental variable. There is lots of documentation on how to do throughout the internet and most can probably explain it better than me. (^; Another method to fix the problem is to go find out where all the Java binaries are (Normally something like "C:\Program Files\Java\jdk~~~~~~~\bin"), copy the directory path, and add
Code:
-vm
<FOLDERPATH>\javaw.exe
to the end of the 'eclipse.ini' file that resides alongside 'eclipse.exe'
Note: You may notice that the version of Eclipse you downloaded isn't installed, but instead just runs out of a folder. You may want to consider creating a binaries folder in your home directory to keep all of software of this style in one place.
3) Get Android Plugins for Eclipse
Now that you have Eclipse up an running, you need to set it up for Android development. Start Eclipse up and click the 'Help' menu. Click 'Install New Software...'
In the window that comes up, you should see a combo box labelled 'Work with:' . Paste in:
Code:
https://dl-ssl.google.com/android/eclipse/
then hit enter.
Check 'Developer Tools' and click next. Let Eclipse do it's thing then click 'Finish'.
4) Get the API
Now that you have Eclipse's Android integration plugins, you need to grab an Android API. In Eclipse, under the 'Window' menu, click 'Android SDK Manager.'
The window that opens will automatically go to the internet and grab all the API packages available to download. The Nook Touch currently runs Android 2.1, so find that package set and check it. Click the 'Install <x> Packages' button and let it run.
You are finished! Now to create an Android program. In Eclipse's main menu, navigate File > New > Other... and select 'Android Project' from the 'Android' folder in the window. If you want to modify the source of an existing program, choose the appropriate radio button and browse to the parent directory of the 'src' folder. After you have created your project, you are going to want to make sure it has the right dependencies. On the lefthand pane ('Package Explorer') right click your project folder (The top one) and hit 'Properties.' Under the 'Android' screen, make sure 'Android 2.1' is checked and not another version. Click OK and you should be set.
To generate an APK, under 'File' click 'Export.' In 'Android' click 'Export Android Application.' Choose the right project, click next. If this is the first time you've exported an Android application, you will need to create a keystore. Select the appropriate radio button, navigate to a safe location, and give it your keystore a password. Click 'next' and add all the information you see fit. You will be able to reuse this keystore in future programs. After you've created a keystore, proceed through the export wizard, give your APK a filename, click finish and the file will be generated.
The rest is up to you. (^:
Thanks klausef!
For a non-dev (OK, I used to program short apps in BASIC on my commodore 64 when I was 8 years old), how much can I hope to achieve by setting this up? Do I need to understand a programming language? If so, which? Do you have any suggestions for a noob like me?
Haha I am no Java expert myself but I've been hacking around with the NoRefresh thing and other apps people have coded. You can do more than you think just by rummaging around online documentation.

(PC)Android Commander v0.7.9.10(Windows)

I dont know,if anyone knowing this awesome Prog. so im sharing it,when its a similar Thread to an other so please delete the Post.
[PC] Android Commander v0.7.9.10
Requirements: Android 1.6+, PC
Overview: Android Commander is windows application to keep control on your android apps and files from PC. This is a small, very very fast and intuitive app. If someone want to try it, go a head. But remember, you doing this on your own risk! I'm not professional programmer, this isProgram Requirements
Before you install the program you should read this:
Phone Requirements:
- ADB ROOT Access
- BusyBox
- „Settings->Applications->Development->USB debugging” must be enabled
- USB Cable
Computer Requirements:
- Windows XP/Vista/7
- ADB USB Driver
- Java JDK
- Minimum 800×600 screen resolution
Features
Files Explorer
copy multiple files/dirs between Device and PC
copy multiple files/dirs between Device folders
delete multiple files/dirs from Device
drag&drop multiple files/dirs in to progrm
drag&drop files/dirs between program tabs
files/dirs properties
edit files/dir permissions
bookmarks
new dir and rename options
Applications Manager
batch/single apps install
install as private
install as update
install as system app
batch/single uinstall apps
uninstall system apps
uninstall and keep app data
batch/single apps backup to any dir on Device/PC
app details
search app on Web Android Market/AppBrain/AndroLib/Cyrket
windows integration
Search Bar
search apps in device Android Market
search location on device Google Maps
open URL in device browser
Device Info
device
ROM
partitions
battery
Console
run any shell command
run sh script from PC
Logcat
messages coloring
message type filter
Flashing Tool
flash any zip update/ROM/mod from PC
flash recovery/boot/system/userdata/cache image from PC
Virtual Input
emulate device keys
send text to device text field
Signing Tool
sign any zip file
sign any apk file
program explorer integration
Other
reboot, reboot to recovery, reboot to bootloader, power off device
multi device support
WiFi Mode
No Device Mode
screenshots (beta)
Changelog
Version 0.7.9.10:
- new expire date
- partitions info fixed to work with ICS only my hobby.
More Info on:www.androidcommander.com
I hope it can help any bros!!!
Usefull tools..
What different with qtadb??
doin great
savie said:
Usefull tools..
What different with qtadb??
Click to expand...
Click to collapse
Yeah... seems similar to qtadb... btw sir every time you run qtadb do you have to point it to the folder where the binaries are? It keeps asking me that everytime i run but that wasnt my case before until i got an error where it closed then it started doing that everytime i run it
Sent from my GT-S5360 using xda premium

[Tutorial] Install Windows 10 for ARM32 on your Surface RT

This guide is made based on my experience and based on the other thread: "[Tutorial] Install Windows 10 for ARM32 on your Surface 2".
It is not complete yet. I will be adding files and more clear instructions slowly.
Do this at your own risk. Your device may be bricked. I am still not sure if the SecureBoot fix should be executed on 8.0 or 8.1
# How to Install Windows 10 on the Surface RT #
2020/02/16 kephax
Download complete tools: [will upload]
Download temporary link in attachments
## 0. Restore Windows 8.1
1. Turn the Surface Off
2. Insert this USB stick in the Surface
3. Press Volume Down and Power
4. The Recovery menu will start
5. Troubleshoot > Advanced Options > Command Prompt
6. Type: "restore.cmd" (this will whipe the whole disk, repartition it and install the Windows 8.1 image) (this will take a while)
## 1. Unlock Secure boot ##
1. Run Disable_UAC.reg
2. Start > Regedit > HKEY_LOCAL_MACHINE\BCD00000000" > Select "BCD00000000" > Click on file and select "unload hive"
3. Copy SecureBoot to Desktop > Open it > Run "InstallPolicy.cmd"
4. Restart
5. Start > cmd (as Adminstrator) > PostInstallPolicy.cmd
6. Restart
## 2. Install Windows 10 ##
If you don't have a message "Secure boot" in the bottom right corner then retry step 1
1. Turn the Surface Off
2. Insert this USB stick in the Surface
3. Press Volume Down and Power
4. The Recovery menu will start
5. Troubleshoot > Advanced Options > Command Prompt
6. Type: "script.cmd" (this will whipe the whole disk, repartition it and install the Windows 10 image) (this will take a while)
7. When restarting you will get an error popup: Press SHIFT+F10
8. Type Regedit and go to KEY_Local machine/SYSTEM/Setup/Status/ChildCompletion > setup.exe > Modify the value to "3"
9. Restart
### 2.1. How to activate Windows
1. Powershell
slmgr.vbs /upk
slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
slmgr /skms kms.03k.org
slmgr /ato
slmgr /skms zhang.yt
### 2.2 Install runtime
1. Copy APPX1 from Recovery USB to Desktop
2. Desktop\APPX1\APPX1.ps1 > Right click > Run as Administrator
3. Restart
4. Desktop\APPX1\AppxBundle.ps1 > Right click > Run as Administrator
5. Restart
6. Install:
Microsoft.windowsStore.appxbundle
Microsoft.NET.Native.Framework.1.1.appx
Microsoft.NET.Native.Runtime.1.1.appx
## 3. After installation ##
### How to remove Expired version popup ###
1. Go to C:\Windows\System32
2. Right click on LogonUI.exe > Properties > Security > Advanced
3. Ower > Change
4. Enter your username > Check Names
5. Close all dialog boxes
6. Now rename the file to LogonUIbak.exe
### How to change the language to English (and remove chinese) ###
Start > Settings > Time & Language > Region & Language
Remove chinese and set English as Default
### How to install uBlock Origin on Edge ###
1. Download this:
2. Edge > about:flags
3. Select: "Enable extensions developer features"
4. Select the "..." > Extensions > Load Extension
5. Select the folder with uBlock Origin (this should be on the Surface itself)
### How to install UWP applications ###
1. Find your application here:
https://www.microsoft.com/en-us/store/b/home
2. Copy the URL and copy it here:
https://store.rg-adguard.net/7
3. You will need to find here the .appxbundle ARM and sometimes also the dependencies. Sometimes when you download the file it does not have the extension, so rename the file to .appx in the end.
4. Install first the dependencies then the application on the Surface RT
## 4. Pictures
Dumb question......I been reading the other post in regards to installing Windows 10 on the other surface 2..... Would I have to follow this tutorial or the one for the surface 2 if I have a surface 2 running rt? Also it says I need a keyboard..... Does it mean a USB keyboard or can I use my Microsoft soft keyboard?
This will work on rt 8.1 ??
Hey I see you've got a trick to install ublock on edge but the download link is missing, can you give it to us please, it's one of the last things I really need for my tablet to be totally functionnal
I finally managed to install Windows 10 on my Surface RT, and for now it's great! It's a shame that Microsoft didn't update the tablet officially, and that this version is so old that many newer apps don't work, but it's better than nothing!
Some useful informations I learned through the process:
1) Initially I used the recovery image for my language downloaded from Microsoft, and with this image I wasn't able to enable test mode after installing the secure boot policy. I tried the chinese image provided on Yandex (links are in other threads on this forum) and it worked on first try, so use that!
2) Even after enabling Test Mode, if you run the command Confirm-SecureBootUEFI in powershell, it still gives you True as result. I was worried that Secure Boot wasn't really disabled but I was wrong. To confirm that secure boot is disabled you have to enter the command prompt via recovery image and check the right corner of the screen if it says "secure boot is not configured correctly" or something like that. In that case, you can install W10 safely.
3) Some guides are wrong about the file you have to rename to remove the warning about the expiration of the build. The right file is LicensingUI.exe, not LogonUI.exe! LogonUI.exe is responsible for the login interface, if you rename it you won't be able to login on the next reboot, so pay attention!
4) Office 2013 is not activated for me, I tried to install the provided licences many times, but nothing. It seems to work anyway though. There's something I missed?
To be completely satisfied I need:
- a working version of the Crunchyroll app, the one in the store requires a newer build, anyone know how to find it?
- MSN Weather for W10, the one provided is the old W8 app.
- Ad blocker for Edge, someone wrote about sideloading uBlock but didn't share the files.
Does the office 2013 work? I installed it on my Surface RT with the Windows 10 build but it says that it only works on qualifying versions on windows and editing is disabled...
alexenferman said:
Does the office 2013 work? I installed it on my Surface RT with the Windows 10 build but it says that it only works on qualifying versions on windows and editing is disabled...
Click to expand...
Click to collapse
I was able to install it and getting working 100%...... there's another tread that's for installing windows 10 on surface 2 tablet and there's a link in the OP for a mega folder that contains the office 360 files and in it a file that edits the registry
Hello. I can also confirm that it works. I have installed Win 10RT and very happy with it. It really brings a lot of new experience to our tablet as same as a bit faster response.
If you want to use an adblock for Edge, the only one that works is Adblock, directly from the Store. However, adblock support in this build of Edge is very buggy, it eats a lot of ram (sometimes leading to crashes) and some sites fail to load with adblock enabled. So I suggest to install it and to manually acrivate/deactivate it when needed.
Speaking of the Store, I found a bug, at least for me: the install button works only for the apps you already own. So, if you want to install an app you never downloaded, you have to acquire it first on another PC and then on the Surface RT.
Does someone know how to make the the newer Microsoft store (Provided by @_CNR_)to work?
I installed it but however, it won't install any app because of a licence problem probably...
(The older store worked but it does not include all of the apps for example myTube)
If everything goes wrong can I just download a recovery image for 8.1 and install it again?
Winroque said:
If everything goes wrong can I just download a recovery image for 8.1 and install it again?
Click to expand...
Click to collapse
If everything goes wrong. Just boot from the recovery USB stick and reimage the Windows 8.1 using the same dism apply image method.
Does someone have the uBlock archive? There's no link in the OP
nar001 said:
Does someone have the uBlock archive? There's no link in the OP
Click to expand...
Click to collapse
There you go! https://drive.google.com/open?id=18pyeDlRMpB0jF_36DJqdhF_Ybmy0eeRD
If you want to sideload more apps manually you can check my application I made recently: https://forum.xda-developers.com/windows-8-rt/rt-general/arm-rt-app-store-windows-10-rt-t4067813
Ok so I'm attempting to follow this tutorial and the other one for my original surface rt. Where is the wim for windows 10? Those instructions don't seem clear to me, or am I supposed to use the surface 2 image?
kmccmk9 said:
Ok so I'm attempting to follow this tutorial and the other one for my original surface rt. Where is the wim for windows 10? Those instructions don't seem clear to me, or am I supposed to use the surface 2 image?
Click to expand...
Click to collapse
The wim is in that folder https://yadi.sk/d/mnCUeGKWm1XTXA
nar001 said:
The wim is in that folder https://yadi.sk/d/mnCUeGKWm1XTXA
Click to expand...
Click to collapse
Ok I see. I ran into a different issue. I went to do the Windows 10 install today but to my surprise, I couldn't boot up. Luckily I still had my Windows 8.1 Full Recovery USB. But, for for some reason from the advanced troubleshooter, it tells me my USB device is invalid. Has anyone run into this before?
Can be updated to Windows 10 version 1909?
AmznUser444 Dev said:
Can be updated to Windows 10 version 1909?
Click to expand...
Click to collapse
Of course not, the only build of ARM32 Windows 10 we have is this one, and it's leaked.
Wow, really cool!
I would like to know if the cameras work in windows 10? Thanks so much!

Categories

Resources