Java run problem: "Applet not initialized" - Java for Android App Development

Just Java
Hey everyone,
This has nothing to do with Android really, but anyways:
I have created a Java application in Eclipse, but I can't run this in Eclipse. It gives me this error: Applet not initialized (See screenshot).
I looked everywhere, but I couldn't find the answer on how to fix it. Maybe the coding is wrong or something like that. But my intention is to run it
Could someone take a look at this and let me know what's wrong?
{
"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"
}
*This is actually the first Java application I created in my life, so it could be really bad..

To me it seems like either you didn't install the jdk, or you installed a wrong version of the jdk (you want the jdk6 only, not 7, not 5 : 6), or that your jdk install is borked.
Never seen this error before.
Go here and grab it for your platform : http://www.oracle.com/technetwork/j...ava-ee-sdk-6u3-jdk-6u29-downloads-523388.html
EDIT : after taking a closer look at your screenshot, you installed the jdk7, that's why. (C:\ProgramFiles\java\jre7)
The question was discussed here : http://ubuntuforums.org/showthread.php?t=1436638

Androguide.fr said:
To me it seems like either you didn't install the jdk, or you installed a wrong version of the jdk (you want the jdk6 only, not 7, not 5 : 6), or that your jdk install is borked.
Never seen this error before.
Go here and grab it for your platform : http://www.oracle.com/technetwork/j...ava-ee-sdk-6u3-jdk-6u29-downloads-523388.html
EDIT : after taking a closer look at your screenshot, you installed the jdk7, that's why. (C:\ProgramFiles\java\jre7)
The question was discussed here : http://ubuntuforums.org/showthread.php?t=1436638
Click to expand...
Click to collapse
What do I have to do on windows or Ubuntu? I can't find a proper way to install this?
Sent from my GT-N7000 using xda app-developers app

Thatgrass said:
What do I have to do on windows or Ubuntu? I can't find a proper way to install this?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
On Ubuntu :
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
Can't help you with windows though, but I guess it must be a regular .exe daemon

Androguide.fr said:
On Ubuntu :
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
Can't help you with windows though, but I guess it must be a regular .exe daemon
Click to expand...
Click to collapse
Getting error on Ubuntu:
"E: Package 'sun-java6-jdk' has no installation candidate"
Any solutions?
Sent from my GT-N7000 using xda app-developers app

Thatgrass said:
Getting error on Ubuntu:
"E: Package 'sun-java6-jdk' has no installation candidate"
Any solutions?
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Which version of Ubuntu are you running ?

Androguide.fr said:
Which version of Ubuntu are you running ?
Click to expand...
Click to collapse
12.04
Sent from my GT-N7000 using xda app-developers app

Thatgrass said:
12.04
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Download the latest jdk6 (u45) for Linux x64 (the bin version, not the rpm) from this link : http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html
Then cd to the location of the download and do the following :
Code:
sudo mkdir -p /opt/java/64/
sudo cp jdk-6u45-linux-x64.bin /opt/java/64
sudo su -
cd /opt/java/64
chmod +x jdk-6u45-linux-x64.bin
./jdk-6u45-linux-x64.bin
exit

Androguide.fr said:
Download the latest jdk6 (u45) for Linux x64 (the bin version, not the rpm) from this link : http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html
Then cd to the location of the download and do the following :
Code:
sudo mkdir -p /opt/java/64/
sudo cp jdk-6u45-linux-x64.bin /opt/java/64
sudo su -
cd /opt/java/64
chmod +x jdk-6u45-linux-x64.bin
./jdk-6u45-linux-x64.bin
exit
Click to expand...
Click to collapse
Still getting same error. I think I just have to accept thaqt I can't run my apps..
Thanks for your help!

Thatgrass said:
Still getting same error. I think I just have to accept thaqt I can't run my apps..
Thanks for your help!
Click to expand...
Click to collapse
You're welcome, but I won't let you drop it, would be too bad to stop learning java because of a jdk install problem
Maybe some other jdk came pre-installed with your ubuntu, try to purge it and do the above steps again afterwards :
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*

Androguide.fr said:
You're welcome, but I won't let you drop it, would be too bad to stop learning java because of a jdk install problem
Maybe some other jdk came pre-installed with your ubuntu, try to purge it and do the above steps again afterwards :
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
Click to expand...
Click to collapse
Now I don't have any kind of java installed, even after repeating the previous steps..

Thatgrass said:
Now I don't have any kind of java installed, even after repeating the previous steps..
Click to expand...
Click to collapse
Try this tutorial : http://ubuntuforums.org/showthread.php?t=1113039

Androguide.fr said:
Try this tutorial : http://ubuntuforums.org/showthread.php?t=1113039
Click to expand...
Click to collapse
Damn it. Same "Applet not initialized" error. My desktop definately won't work with my. I'll try it this evening on my Windows 8 tablet I'll let you know how that turns out. If you have any other suggestions, please inform me
Thanks again for being so helpful
EDIT: ON TABLET SAME ERROR! I installed jdk and jre 6 update 45.

Thatgrass said:
Damn it. Same "Applet not initialized" error. My desktop definately won't work with my. I'll try it this evening on my Windows 8 tablet I'll let you know how that turns out. If you have any other suggestions, please inform me
Thanks again for being so helpful
EDIT: ON TABLET SAME ERROR! I installed jdk and jre 6 update 45.
Click to expand...
Click to collapse
That's really weird
Maybe this is an eclipse problem, you maybe need to configure something.
Sorry that I can't be more helpful, I never did java apps outside of android.

Ichigo said:
Can you pm the project?
Click to expand...
Click to collapse
I've just shutted my PC down. And its midnight here.. So first thing in the morning! it'll be in around 11 hours
Thanks for wanting to help me
Sent from my GT-N7000 using xda app-developers app

SOLVED!
I have found the problem. I was getting despered, so I've gone over the whole Java code again and I found out the I putted an "s" behind String line which makes the application runable:
Code:
public static void main(String[B]S[/B][] args){
Deleting this "s" did the job.
I want to thank all of you for your time! You guys are great!

Ichigo said:
Yes, I figured it was just an error in the code. Well, if you ever need any more help, we're always here to help.
Click to expand...
Click to collapse
Looking from the bright side: my application worked!
Sent from my GT-N7000 using xda app-developers app

Related

Root with GingerBreak

Did any tried to root ur Xperia Arc (2.3.2) using GingerBreak??
As per desc:
This App was tested on Gingerbread (2.3.3) but might also run on Froyo and Honeycomb.
http://forum.xda-developers.com/showthread.php?t=1045204
Sent from my R800i using XDA App
NielDK said:
http://forum.xda-developers.com/showthread.php?t=1045204
Sent from my R800i using XDA App
Click to expand...
Click to collapse
thanks but is it working for XPERIA ARC !!!??!!!
xperiax10.awesome said:
thanks but is it working for XPERIA ARC !!!??!!!
Click to expand...
Click to collapse
The title says Play, Arc and Neo
Well, it works for my Arc nice and perfectly
cool, finally I rooted my xperia ARC
these are very simple steps(copied from different threads):
1. Install the attached apk: Gingerbreak-v1.00
after installing most people getting this error - "could not extract assets".
TO OVERCOME THIS, just copy the attached ADB.zip and extract it on your laptop (windows)
say at
E:\mobile_Xperia\ADB
goto above path in your cmd promt and types these lines (your phone should be connected to laptop in debugging mode)
E:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
E:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
NOW JUST INSTALL THE apk file again and click on ROOT
xperiax10.awesome said:
cool, finally I rooted my xperia ARC
these are very simple steps(copied from different threads):
1. Install the attached apk: Gingerbreak-v1.00
after installing most people getting this error - "could not extract assets".
TO OVERCOME THIS, just copy the attached ADB.zip and extract it on your laptop (windows)
say at
E:\mobile_Xperia\ADB
goto above path in your cmd promt and types these lines (your phone should be connected to laptop in debugging mode)
E:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
E:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
NOW JUST INSTALL THE apk file again and click on ROOT
Click to expand...
Click to collapse
Last night I have rooted my device in this way. Now the question - how to integrate it into FlashTool, as well as Busybox and xRecovery ?
xperiax10.awesome said:
cool, finally I rooted my xperia ARC
these are very simple steps(copied from different threads):
1. Install the attached apk: Gingerbreak-v1.00
after installing most people getting this error - "could not extract assets".
TO OVERCOME THIS, just copy the attached ADB.zip and extract it on your laptop (windows)
say at
E:\mobile_Xperia\ADB
goto above path in your cmd promt and types these lines (your phone should be connected to laptop in debugging mode)
E:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
E:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
NOW JUST INSTALL THE apk file again and click on ROOT
Click to expand...
Click to collapse
I only keep getting: No such file or directory....
Cim_XII said:
I only keep getting: No such file or directory....
Click to expand...
Click to collapse
Extract the ADB.zip into any folder, then inside that folder shift + right click and select Open command window here. In the command window enter: adb shell rm -r /data/local/tmp/* and then restart the gingerbreak app.
Chainfire said he will update the app in the next release to fix this issue
mikrokiwi said:
Extract the ADB.zip into any folder, then inside that folder shift + right click and select Open command window here. In the command window enter: adb shell rm /data/local/tmp/* and then restart the gingerbreak app.
Click to expand...
Click to collapse
On a mac, it won't work like that.
Cim_XII said:
On a mac, it won't work like that.
Click to expand...
Click to collapse
Of course not, is it the osx terminal or adb that gives you this error?
mikrokiwi said:
Of course not, is it the osx terminal or adb that gives you this error?
Click to expand...
Click to collapse
Os X terminal, when I run adb I can't type any commands in the command/terminal window. So I have to use Os X terminal.
Cim_XII said:
Os X terminal, when I run adb I can't type any commands in the command/terminal window. So I have to use Os X terminal.
Click to expand...
Click to collapse
Well, the zip wont work for OSX since its a windows executable You should try to get adb to work on your system (Im sure there are lots of guides), or just wait for the next release of the app.
mikrokiwi said:
Well, the zip wont work for OSX since its a windows executable You should try to get adb to work on your system (Im sure there are lots of guides), or just wait for the next release of the app.
Click to expand...
Click to collapse
I know that lol...
I got all the files and tools for Os X, but when I run ADB it goes into Os X terminal anyway, so I have to use it I guess...
It worked for me, got root on my Arc
Im getting this what am i doing wrong
Getting :
{
"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"
}
use rm -r /data/local/tmp
Ok...this not work....and i don't know why
I put adb file in a new folder.
I do Shift+right and open cmd
i write "adb shell rmdir /data/local/tmp" but at this point nothing happen..like cmd was freezed.
what I must do???
Arc must be connected with debug ON but in wich way?
Media transfer? SD card? or nothing???
lollylost100 said:
use rm -r /data/local/tmp
Click to expand...
Click to collapse
Nice one that worked
I tried this it works for me, my ARC rooted.
C:\mobile_Xperia\ADB>adb shell rm /data/local/tmp/*
C:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
C:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
Then run Gingerbreak-v1.00.apk
cheer
James

How to install Flashtool on Ubuntu

I can only get the flashtool to recognize my phone is flash mode, anyone can chime in if they want to
HOW-TO
Open terminal alt+ctrl+T
Copy and paste each line separately
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
Then download the flashtool
http://androxyde.github.com/Flashtool/
Extract the file and save it in your home folder
Now you need to make a udev rule
Go in terminal and hit SHIFT+CTRL+T
2 tabs should be opened
Type
sudo gedit /etc/udev/rules.d/51-flashtool.rules
then go to the other terminal tab and type
lsusb
you should see a line that looks like this
Bus 001 Device 011: ID 0fce:612e Sony Ericsson Mobile Communications AB
copy the bold and italicized print into this line
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="####", MODE="0777"
Save that line into the rules file
Go to the flashtool folder
Click on the flashtool file
And run it but not in terminal
hi,
I got Macbuntu 10.10 here.
Downloaded & extracted flashtool 0.6.7
have java installed
have libusb-1.0 installed
how do I add the rule =>
(terminal?)
/etc/udev :
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="*", MODE="0777"
and then?
any help would be nice..
you will be in terminal, sorry im never on here. the command gedit will open the file where needed to make the rule
I'll redo install and take screenshots as I go
Jedidiah55 said:
you will be in terminal, sorry im never on here. the command gedit will open the file where needed to make the rule
I'll redo install and take screenshots as I go
Click to expand...
Click to collapse
that would be nice
I added this
SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="0fce", SYSFS{idProduct}=="615a", MODE="0777"
Click to expand...
Click to collapse
from lsusb
Bus 001 Device 005: ID 0fce:615a Sony Ericsson Mobile Communications AB
Click to expand...
Click to collapse
but I still get.
libusb couldn't open USB device /dev/bus/usb/001/007: Permission denied.
libusb requires write access to USB device nodes.
Click to expand...
Click to collapse
??
leona said:
I added this
from lsusb
but I still get.
??
Click to expand...
Click to collapse
Use sudo
leona said:
I added this
from lsusb
but I still get.
??
Click to expand...
Click to collapse
Oddly a restart seemed to cure it, even after I did restart a udev service, it needed to restart the PC.
Edit: Hum maybe not, just plugged phone while switched on and it seemed fine.
Went to do a firmware flash and it gave me the
Code:
libusb couldn't open USB device /dev/bus/usb/001/012: Permission denied.
libusb requires write access to USB device nodes.
Again
sorry ive been busy lately, job change, engine swaps, moving, buying new car, buried some family, etc.
ive also update to 12.4 ubuntu so ill see what i can do
Jedidiah55 said:
sorry ive been busy lately, job change, engine swaps, moving, buying new car, buried some family, etc.
ive also update to 12.4 ubuntu so ill see what i can do
Click to expand...
Click to collapse
Gosh you have been busy, I'm still on 10.04 LTS at the moment, as I have not got around to update my machine yet, as I can not stand the new UI.
I did the firmware flash in the end but using sudo as Mister J suggested which worked, but it would be nice to have it work it properly.
leona said:
Oddly a restart seemed to cure it, even after I did restart a udev service, it needed to restart the PC.
Edit: Hum maybe not, just plugged phone while switched on and it seemed fine.
Went to do a firmware flash and it gave me the
Code:
libusb couldn't open USB device /dev/bus/usb/001/012: Permission denied.
libusb requires write access to USB device nodes.
Again
Click to expand...
Click to collapse
Try opening up a terminal and typing:
"sudo nautilus"
Then, go to /dev/usb/001/012 and Right clicking on the file.
Click on the Permissions tab and change the drop down menu to read and write.
Like this
{
"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"
}
help
followed the steps as you mentioned. But when i click on the flashtool script file nothing is happening.
pls help
M4ST3R-V said:
followed the steps as you mentioned. But when i click on the flashtool script file nothing is happening.
pls help
Click to expand...
Click to collapse
Open terminal and run flashtool and you'll see what is wrong
Sent from my Xperia X10 using xda app-developers app
thank you
Tof37 said:
Open terminal and run flashtool and you'll see what is wrong
Sent from my Xperia X10 using xda app-developers app
Click to expand...
Click to collapse
thanks for the tip. Yes i Opened it in terminal with sudo su permission and got the error. lsusb version error was the probem and there was a and additional update to the latestet version searched a lot to find it. this solved most of this :good:
good, but work only in root users.
because flashtool do not recognize, my x10? i can only flash. is a problem of linux version?
can i use with xperia Neo V?
Sorry for stupid question,but i don't know very well Ubuntu!
Thank you! Will come in handy later!
linux mint xfce 17 (ubuntu 14)
Hi, would be this guide work on my system too? I am newbee in linux. Help me please.
Sory, my phone is Elephone P9, MTK6592
help
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
hi when i type this
show me in terminal this message:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
please help me
hi. when i write this:
sudo apt-get update
terminal show me this text!
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
this is true?
I got this error everytime i run FlashTool as root.
I can run FlashTool if i run it as normal user, but the access to phones are denied by system ._.
Please help me

[UTILITY][Linux] APK Suite 0.2.1 Stable

Apk Suite Linux
This is a GUI interface designed to make (de) re-compiling android applications
exceptionally easy. This is the first Alpha so we need feedback on bugs and possible future features.
The reason the file size is so small is because it does not yet actually have the libraries downloaded, to do this simply:
Control Cenrtre => Download Required Files.
It needs to be ran as root for one time only to install aapt into the /bin/ dir. After that, root is no longer required.
You can also manually place aapt in /bin/ dir and chmod to 775 if you do not want to run the application as root.
You can find aapt HERE.
The requirements are:
Python (Version 2 or greater)
IF NEEDED: PyQt
JavaSE or OpenJDK any version.
Place APKs in 'apk' dir, run the program, it will detect them. Once decoded, refresh lists to recompile (editing the smali files, navigate to 'decoded' dir)
Once encoded from a decoded package, the file is then placed in 'encoded' dir.
Please do report any bugs.
{
"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
APKSuite b0.1.1 - Download here
Fixed URLs to Scripthen
Fixed finding aapt as aapta
Brief overview of APK selected
MD-5 calculation, Permissions viewing, APK Signing on encode
Version 0.2.1
Screenshot:
Download:
Download here - APKS 0.2.1
Please report any bugs you encounter. Thanks.
APKS Linux 0.2.1
...
Very good work sir!:good::good: Can I request a feature? It would be even better if we could decompile it to java code over dex2jar and jd-gui.
thanks, i have an issue:
Code:
# ./start.sh
File "APKS", line 1
SyntaxError: Non-ASCII character '\xf3' in file APKS on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
i do have java & python installed, i'm on debian 6 32bits.
[/code]
sevenup30 said:
thanks, i have an issue:
Code:
# ./start.sh
File "APKS", line 1
SyntaxError: Non-ASCII character '\xf3' in file APKS on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
i do have java & python installed, i'm on debian 6 32bits.
[/code]
Click to expand...
Click to collapse
After a little google I found it's the character 'ó', are you running APKS with a directory (includes parent) with 'ó' in the path?
The APKS code contains no such character as 'ó' or any other with accents.
-T
---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------
TearsDontFalls said:
Very good work sir!:good::good: Can I request a feature? It would be even better if we could decompile it to java code over dex2jar and jd-gui.
Click to expand...
Click to collapse
Thanks, TearsDontFallTheyCrashAroundMe, I will be working on that later, right now I am busy with another project. I will take a break from that and get it to decode to Java source.
No, but to be sure i moved to /home/APKS/
still have the same error.
My linux is in french but i dont use this kind of character
i tried in root and non root user and tried to fix permission just to be sure.
Still same issue
sevenup30 said:
No, but to be sure i moved to /home/APKS/
still have the same error.
My linux is in french but i dont use this kind of character
i tried in root and non root user and tried to fix permission just to be sure.
Still same issue
Click to expand...
Click to collapse
The application does check on start-up for permissions, and file installs, that shouldn't be a problem. Allow me to go overt the code and see if this is my mistake in the mean time, could you do the following?
Open terminal, CD to the directory and run:
python APKS
Edit:
Looks over the code and there's is no 'ó'
the first line is "#! /usr/bin/python"
I will remove this as it was only to make it with with source
Thanks,
T
still same error with 'python APKS'
thanks for following my issue
sevenup30 said:
still same error with 'python APKS'
thanks for following my issue
Click to expand...
Click to collapse
No problem at all
I have uploaded an updated version without specifing the "#! /usr/bin/python" this might fix your problem, as this is the only thing on line 1.
Also, ensure you have "python-qt4" - sudo apt-get -f install python-qt4
Same version, just uploaded without the tag,
http://scripthen.net/development/apksuite-linux/Deployed-APK_Suite0.2.1.tar.gz
damned, same error
i'll try at home on my laptop on debian wheezy , that's really weird
sevenup30 said:
damned, same error
i'll try at home on my laptop on debian wheezy , that's really weird
Click to expand...
Click to collapse
I'll get a VM running in French language and see what happens and get it fixed.
This was my first Python project
Cool thanks
Ok back to home on debian wheezy 64 bits, it works
it might be a random issue with debian squeeze 32 bits french .
Thanks for your work i'll try this more.
Slethen you might want to take a look at this http://forum.xda-developers.com/showthread.php?t=1491689
strawmetal said:
Slethen you might want to take a look at this http://forum.xda-developers.com/showthread.php?t=1491689
Click to expand...
Click to collapse
Perhaps we wanted to make our own thing...
strawmetal said:
Slethen you might want to take a look at this http://forum.xda-developers.com/showthread.php?t=1491689
Click to expand...
Click to collapse
That is cool, but I think there are different aims for the two projects as that seems a bit more general purpose as this is a lot more specific to apk decoding, singing ect...
Just downloaded, gonna switch over to my linux partition and try this out, thank you.
dex2jar
TearsDontFalls said:
Very good work sir!:good::good: Can I request a feature? It would be even better if we could decompile it to java code over dex2jar and jd-gui.
Click to expand...
Click to collapse
Implemented dex2jar will release soon first going to do some UI tweaks and maybe build in a java editors
(Buttons at the top are for experimenting there be moved)
Slethen said:
Implemented dex2jar will release soon first going to do some UI tweaks and maybe build in a java editors
(Buttons at the top are for experimenting there be moved)
Click to expand...
Click to collapse
Is that why the links are dead? I get a 404 error on every link. I only use linux so this would be super helpful!

[HOW TO] RockMyMoto Guide for Windows! [*NEWB PROOF*]

So if you were like me and upon first watching JCase's video for RockMyMoto and were confused, this is for you. This guide will cater to Windows users since Mac and Linux users should be able to follow along seamlessly to JCase's steps. The steps here are no different, the commands are the same, just an extra application that works better than the Windows built in Telnet client.
First off I just want to thank JCase for taking so much time to release this for us. All credit goes to him.
Download Cydia Impactor (Thanks Saurik!) from his website HERE.
Download the RockMyMoto.zip attachment from JCase's post HERE.
Next download the PuTTYtel file "puttytel.exe" (You don't need the full application) HERE.
The initial steps are the same regardless of platform. I won't go into details on getting ADB set up, etc. Follow JCase's video and guide for all of that or search around XDA. Chances are someone else has explained this.
***STEP ONE***
So at this point your phone should be connected to ADB and you should have your IP Address. Leave your ADB window open as we will go back to it later. Run the Cydia Impactor application from the above download.
From the drop down menu, select:
Code:
# start telnetd as system on port 2222
Click on start and you should see a series of messages saying testing, installing, waiting to complete (a couple others) and then it goes back to the # start telnetd" message. This is OK.
***STEP TWO***
Run the "puttytel.exe" file downloaded from the link above.
From the initial screen, enter in your IP Address from the ADB terminal in the box where it says "Host Name (or IP Address).
Enter "2222" without quotes in the box listed as Port.
Make sure the connection type has Telnet selected and then click "Open" at the bottom.
{
"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"
}
A PuTTYtel window will open up where we will enter the code JCase provided.
***STEP THREE***
In JCase's video he types in the line:
Code:
telnet {IP Address} 2222
We don't need that step as we already connected it through Step 2.
Proceed to run the exploit:
Code:
dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
After the first run, it will say to "ADB Reboot" your phone.
Open up the ADB window from earlier and run the command:
Code:
adb reboot
This will reboot the phone.
***STEP FOUR***
Because PuTTYtel is connecting to the phone to run the exploit, rebooting the phone closes the connection. We need to redo Steps 1-3, running the Cydia Impactor, opening PuTTYtel and connecting it using the IP, and running the same exploit command. The phone reboots itself after the second exploit command so no need to adb reboot again.
***STEP FIVE***
Checking for root. After the exploit has been ran three times, go back to the ADB window and type the following:
Code:
adb shell su -c "id"
If you get the return message saying:
Code:
uid=0(root) gid=0(root)
You're done and rooted! Go install SuperSu from the Play Store and make sure to throw a couple bucks JCase's way for making this great tool.
Thanks a ton!
Sent from my Nexus 7 using Tapatalk
mcsqwizzys98 said:
Thanks a ton!
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
No problem. Let me know if you can get it to work on your desktop. I'll stick around in IRC for awhile as to not clog up the thread.
awesome it worked thanks man! and thanks @jcase for the help!
Awesome!! I struggled a bit until I read this. Great Job!!
Worked like a charm.
Now just that damn VZ bootloader...
---------- Post added at 11:21 AM ---------- Previous post was at 11:18 AM ----------
Also, for those of you reading on rooting and not really confident enough to use adb I suggest this .exe.
http://forum.xda-developers.com/showthread.php?p=42407269
Its a minimal adb shell. Simple and easy to use, just install the program on a windows machine, open it up, plug in the phone, start your commands.
My issue:
^you adb push'd .zip instead of .jar. Rerun it through adb. Then it'll work. Happened to me as well.
Sent from my XT1060 using Tapatalk
The OP updated his mistake, instead of pushing the .zip, it should be the .jar
When I run impactor it just sits at testing #9950697. I've tried it a few times and each it does that. What can I do??
Try disabling your windows firewall?
Sent from my XT1060 using Tapatalk
mpetruzz said:
When I run impactor it just sits at testing #9950697. I've tried it a few times and each it does that. What can I do??
Click to expand...
Click to collapse
You need to check your phone now there was a pop up box from google warning about unauthorized software just click ok.
in PuTTytell I keep getting this error: "Permission denied". Any ideas?
dsimages said:
Try disabling your windows firewall?
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
Yup, that was it. All set now thanks
Sent from my XT1060 using xda app-developers app
mpetruzz said:
Yup, that was it. All set now thanks
Sent from my XT1060 using xda app-developers app
Click to expand...
Click to collapse
Glad that worked!
Sent from my XT1060 using Tapatalk
after root should i find an icon like the ones that show pwn...?
After root you will need to go to play store and install superSU. Then open it and update binaries.
Sent from my XT1060 using Tapatalk
lowvolt1 said:
After root you will need to go to play store and install superSU. Then open it and update binaries.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
i know but should we find an app like when we root whit pwnmoto that help us to be switching beetwen "recovery" and regular system
juancaperez2000 said:
i know but should we find an app like when we root whit pwnmoto that help us to be switching beetwen "recovery" and regular system
Click to expand...
Click to collapse
I don't believe there is. If you don't want to use xposed framework and get extended power options, then the only options to get to recovery (that I know if) are
1) power off> volume down with power> volume down to recovery> power up to select.
2) Adb reboot recovery
Sent from my XT1058 using XDA Premium 4 mobile app
Thanks for the how to! Worked first time, no issues!!
Sent from my Moto X

[GNU/Linux]Project Halium- Plasma Mobile and Ubuntu touch | Yureka Black

{
"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"
}
Disclaimer : This thread is ONLY for developers/Users who wish to run GNU/Linux on their device and improve the port . PC is required to flash the images. Read from available documentation given .​
ALPHA BUILDS!
Calls work only on ubuntu touch as of now:
Ubuntu touch
For testing images : https://forums.ubports.com/topic/3702/yu-black-garlic scroll to Install section
For fixing recording without much hasssle ,
connect to internet,
Code:
sudo mount -o remount,rw /
, enter root passwd
then,
Code:
sudo apt-get update && sudo umount /lib/udev/rules.d/70-android.rules && sudo umount /usr/share/apparmor/hardware/graphics.d/apparmor-easyprof-ubuntu_android && sudo umount /usr/share/apparmor/hardware/video.d/apparmor-easyprof-ubuntu_android && sudo apt-mark hold qtubuntu-android && sudo ubports-qa install xenial_-_gst-droid
accept ,
reboot
Code:
wget https://static.peat-network.xyz/junk/ubports/com.ubuntu.camera_3.1.1+gstdroid2_armhf.click && pkcon install-local --allow-untrusted com.ubuntu.camera_3.1.1+gstdroid2_armhf.click
Multirom config : noughatmultirom.zip . twrp (not my favorite , works with ubuntu touch only as primary rom,secondaries are noughat)
KDE Plasma Mobile
Haven't built images for it in a while.. Maybe after ubports porting is done in freetime.
Status of the port : https://github.com/Halium/projectmanagement/issues/123
Manifest : https://github.com/Halium/halium-devices/pull/146/commits/75a85c86b8abae5bfba322c907bc431f2a49548b
System and hybris-boot : FOLDER
Pick the latest rootfs from the Plasma mobile website also in docs
Type of Rootfs to use : Plasma-edge-caf rootfs (armhf)
Installation guide: http://docs.halium.org/en/latest/po...sma-mobile.html#install-rootfs-and-system-img
The ubuntu folder isn't working
Xpl0it_U said:
The ubuntu folder isn't working
Click to expand...
Click to collapse
Replaced broken link
Ok, thanks
can't boot it, stuck at bootlogo, can telnet to the phone tho
Xpl0it_U said:
can't boot it, stuck at bootlogo, can telnet to the phone tho
Click to expand...
Click to collapse
Which rootfs one did you use?
The port is past the telnet stage .. seems like rootfs is not properly extracted , has everything run correctly with halium-install?
pbteja said:
Which rootfs one did you use?
Click to expand...
Click to collapse
ubuntu xenial armhf
Xpl0it_U said:
ubuntu xenial armhf
Click to expand...
Click to collapse
And the recovery needs to have insecure adb, use this: https://www.androidfilehost.com/?fid=6006931924117909377 or treble twrp both allow adb debugging in recovery mode
pbteja said:
And the recovery needs to have insecure adb, use this: https://www.androidfilehost.com/?fid=6006931924117909377 or treble twrp both allow adb debugging in recovery mode
Click to expand...
Click to collapse
ok, i'll try it tommorrow
alright, it worked, is there any way to get or port anbox to this phone?
btw needs some optimization, this is slow af sometimes
Xpl0it_U said:
alright, it worked, is there any way to get or port anbox to this phone?
btw needs some optimization, this is slow af sometimes
Click to expand...
Click to collapse
Anbox: https://gist.github.com/Vince1171/69cdcb2e90f2c70e3ee24de93da8caac
Bugginess is due to services crashing in the background and also its not 64bit rootfs primarily media-hub and location that 'might' get fixed when somebody gets apparmor working...
Thanks for the guide, any way to fix those crashes?
Xpl0it_U said:
Thanks for the guide, any way to fix those crashes?
Click to expand...
Click to collapse
Yeah everything should work eventually, its mostly app-armor, the system expects it and its not in kernel ... so things can be fixed in linuxy way ofc through terminal for example gps is a permission issue (idk why) but have to dip into sources and rebuild the system and make our own device adaptation
I think I found something that could help with apparmor:
http://www.mardy.it/blog/2019/07/notes-on-porting-the-samsung-j3-to-halium-+-ubports.html
Scroll where it says "building the kernel", it mentions something about enabling apparmor
Xpl0it_U said:
I think I found something that could help with apparmor:
http://www.mardy.it/blog/2019/07/notes-on-porting-the-samsung-j3-to-halium-+-ubports.html
Scroll where it says "building the kernel", it mentions something about enabling apparmor
Click to expand...
Click to collapse
Hello, apparmor has been fixed... so far
No camera and no mtp usb , no flashlight , rest of hardware works
The build has some bugs like can't change volume during calls and similar small things that matter for daily use case... and then there is an overall slowness of the os ...
I'm doing multiple builds everyday trying to fix camera , if you want to try and use the latest build i can upload it for you
That would be cool, the only thing that changes is the hybris-boot.img, right?
Xpl0it_U said:
That would be cool, the only thing that changes is the hybris-boot.img, right?
Click to expand...
Click to collapse
Yes and system image as well, bunch of vendor libs have been added
pbteja said:
Yes and system image as well, bunch of vendor libs have been added
Click to expand...
Click to collapse
Aight, if there's a tutorial of how to update the device tree and the kernel and build it so you don't have to upload it would be better (if it doesn't take too much to build)
deleted
I have the same specs, so I'll try future builds, as It's faster than downloading

Categories

Resources