Friday, October 16, 2015

Ubuntu - ServiioConsole : Unsupported major.minor version 52.0


After reinstall to current Ubuntu release I started to have troubles with starting Serviio, throwing me following error message>
 Exception in thread "main" java.lang.UnsupportedClassVersionError: org/serviio/console/ServiioConsole : Unsupported major.minor version 52.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: org.serviio.console.ServiioConsole. Program will exit.
I got to the conclusion that there is a problem with java, therefore tried to update to most current version by adding java ppa to the repository, according to: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html


...and voilla, Serviio runs like a charm!


Other references:
http://forum.serviio.org/viewtopic.php?f=5&t=18204

Monday, April 6, 2015

Lenovo A936 Note 8 - Golden Warrior - ROM, recovery, user experiences

My next post is dedicated to track my user experiences with newly purchased Lenovo A936 Note 8 - Golden Warrior, 4G LTE.

Purchased: aliexpress, DHL shipping (+ VAT customs :( ), USD 190,-.

Pro's 
+ 6" display, resolution
+ 3300 battery (2-3 days depending on usage)
+ performance and system responsiveness (octa core)
+ camera picture quality
+ fast gps fix

Cons
- Kitkat OS with CN bloatware

Phone specifications
Brand Name:
Lenovo
CPU:
Octa Core MT6752
Cellular:
GSM/WCDMA/LTE
Display Resolution:
1280x720
Display Size:
6.0
SIM Card Quantity:
Dual SIM Cards
RAM:
2G
Band Mode:
2SIM/Dual-Bands
Camera:
13.0MP
Talk Time:
4-6 hours
ROM:
8G
Operating System:
Android 4.4.4 KitKat
Battery Capacity(mAh):
3300mah
Camera Type:
Front & Back Camera
Size:
163.9x83.6x8.7mm
Lenovo Model:
Note 8
Model :
Lenovo A936
4G:
FDD LTE 1800/2100MHz
3G:
WCDMA 900/1900/2100MHz
2G:
GSM 900/1800MHz
Usage
I'm using standard set of applications from Google (gmail, hangouts, photo, keep, blogger, googles, youtube, maps, tracks, fit..), music player, weather forecast apps, public transportation; rarely playing some games.

Recovery
To enter recovery mode, shutdown the device, then press volume up+down + power button simultaneously for ~5secs.
The built-in recovery includes EN language, however limited functionality only (apply update.zip). Thanks to yuweng @ xda I was able to port PhilZ' CWM recovery using the EASY MAGIC PHILZ TOUCH INSTALLER to make backup.

ROM
My device came rooted, with VIBEUI v2.0_1448_5.2.1_ST_A936, some CN bloatware loaded (removed using root uninstaller).

Yuminghung shared updated vibueui build 1450 incl. functional scatter file on this link, but is CN version only (no root and gplay).
Scatter for MT6752 is supported e.g. through Sagitar_FlashTool_v5.

Next: look after vanilla lollipop :).
Update 08/2015: Still no lollipop in sight :( - currently running AOSP custom ROM from Xancin.

Benchmark
Antutu 42144 points

Monday, December 1, 2014

Samsung Galaxy Tab 8.9 GT-P7300 - KitKat > Lollipop > Marshmallow

This is a set of links and instructions that worked out for my Samsung Galaxy Tab 8.9 (GT 7300) to upgrade to Android 4.4.4 Kitkat.

Tool: Odin 1.85
http://www.modaco.com/topic/361399-latest-odin-309-odin-185-odin-183-all-versions-samsung-rom-flashing-tools/


Step1) CWM recovery through Odin: http://forum.xda-developers.com/showpost.php?p=18598991&postcount=1

Step2) CM11 through SD CWM update: http://forum.xda-developers.com/showthread.php?t=2687229

Step3) BaNks Gapps: https://drive.google.com/folderview?id=0B1_VgIbDrK25SUJONUFNSFpGQms&

*Update 03/2015 - successful update to Lollipop
Booting into recovery tip: turn off the tablet, press and hold power + volume down button (the one closer to the power button). After icon appearing, press volume down to select the option next to Download and press volume up button to confirm.

Main source - XDA thread;

Step 1) overwrite CWM recovery with TWRP f2fs
Step 2) Get the Lollipop AOSP android:
http://mirror.lnx.im/android/galaxy-tab/ROMs/Lollipop-AOSP/
Step 3) Shutdown the tablet and boot into recovery, wipe (clear dalvik/cache) and install the AOSP ROM zip above
Step 4) Boot the device (be patient, first boot takes some time...)
Step 5) Shutdown the tablet and boot into recovery, install the gapps

.. and voilla - Lollipop is loaded. Works smooth (faster than CM11 clone). Didn't try bluetooth/3g yet though.

**Update Lollipop AOSP: Whenever tablet goes to power saving mode (ca. 5sec after the display dim), it doesn't wake-up... troubleshooting using logcat

*** Updated to Marshmallow AOSP 6.0.1 release
Avoid "error executing updater binary this package is for p5wifi" through installing p5wifi twrp recovery :
http://forum.xda-developers.com/showpost.php?p=65708385&postcount=847

Monday, June 3, 2013

Zopo ZP980 experiences

This post is dedicated to track my experiences with Zopo 980 dual-sim phone.

Bought: May 2013, zopomobileshop.com for USD 350 + shipment, parcel: DHL express from Italy, EU (no custom fees)

Pro's: 
  • powerful CPU, RAM/ROM capacity
  • 5" FullHD display
  • camera resolution and picture quality
  • support (so far, 1 rom update/month)

Problematic areas, issues:
  • wrong light detection of automatic display brightness (too dark during daylight)
  • low backlight on bottom buttons
  • GPS - long time to fix satellites even with a-gps, epo fixed in cust. rom
  • GPS - sports tracker (Endomondo) invalid distance measurements (~500m reported as ~5km?!)
    Update - fixed when using Runkeeper
  • 2000 mAh battery - drain when GPS, Wifi enabled, appx 1 day to exhaust
  • microphone/loudspeaker volume (requires fine-tuning, forum link
  • Very slow USB charging - requires power adapter to get to reasonable charging timeUpdate - FIXED by 20130610 update
  • Phone encryption will cause dual-sim/boot failure

Favorite apps (CZ region):
  • Nova launcher
  • Oskarek SMS
  • a:Drake
  • ConnectBot
  • Endomondo > Runkeeper
  • ES file/task
  • GPS Status
  • Jizdni rady
  • Kingsoft Office
  • Maps With Me
  • MX player
  • Google translate
  • TouchWhiz
  • Tourist language
  • Wifi analyzer
  • Wikipedie
  • Youtube

ROM backup:
official site: http://www.zopomobileshop.com/content/9-download-zopo-mobile-latest-rom
http://forum.zopomobileshop.com/thread-338-1-1.html
http://androidforum.cz/ovlada-e-pro-mtk65xx-pro-sp-flash-tool-t39804.html
http://forum.xda-developers.com/showthread.php?t=1982587
http://www.4shared.com/web/preview/doc/XUy7ge-M
Mtk Droid tools: http://forum.xda-developers.com/showpost.php?p=44509214&postcount=407

ROM installed: http://www.needrom.com/mobile/miui-v5-zp990/

Flashing:
http://androidforum.cz/viewtopic.php?t=43793&p=612616
SPflash tutorial: http://forum.xda-developers.com/showthread.php?t=1982587

Root:
http://negativo17.org/root-the-zopo-zp980-c2-android-phone-using-adb/


Tuesday, January 8, 2013

Samsung Galaxy Tab 8.9 - MTP filesystem mount on Fedora 17

Steps to mount mtpfs

Device: 
- enable MTP on device in Settings/Storage/(right top corner) USB PC connection
- enable Settings/System/Developer options/USB debugging

Fedora:
> sudo yum install simple-mtpfs.x86_64
> sudo yum install mtpfs.x86_64
> sudo simple-mtpfs /mnt/Samsung

References:
http://www.claudiokuenzler.com/blog/274/how-to-mount-android-mtp-storage-on-suse-linux-mtpfs
http://shkspr.mobi/blog/2012/01/connecting-samsung-ics-to-ubuntu-using-mtp/

Thursday, January 19, 2012

ATI Radeon HD 4250 - Ubuntu & sound over HDMI cable

Putting here for my own reference, thanks for this how-to goes to "lglenn"

1-2: Install Xubuntu, install proprietary drivers for ATI

3. aplay -l lists audio devices:

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0

...from this, you can see that determine that HDMI out will be plughw:1,3 (that is, card 1, device 3). As mentioned above, it has to be plughw, not just hw.

4. Run sudo alsamixer -c 1

5. There's no option to raise/lower volume, but you can un-mute by hitting 'm'. If you see a box at the bottom of the terminal window with 'mm' in it, you're muted. If it contains '00', you're un-muted.

6. Hit esc to quit.

7. Run aplay on a .wav file to test, like so: sudo aplay -D plughw:1,3 <soundfile>. If your device number was different, use that.

8. Assuming that all works, edit /etc/asound.conf (which may not exist yet), put this in it:

pcm.!default {
type hw
card 1
device 3
}

Again, use your device numbers. Now the 3200 HDMI is your default audio out.


Still didn't help, continuing
  • navigate to "/etc/pulse/" and open "default.pa".
  • add a line at the very bottom like this:
    load-module module-alsa-sink device=hw:1,3
where the part "hw:0,1" is hardware card 1, device 3 (output from aplay -l)
  • save and exit this file, type in these commands to reset PulseAudio:
    pulseaudio -kpulseaudio -D
  • verify using pavucontrol (type "sudo apt-get install pavucontrol" to install it, and once installed, just type "pavucontrol" in the terminal. You should be able to look in the next tab and see both your standard analog device, as well as the one we added in. Right click the new one and choose make default (if that is what you desire).

It seems this helps a lot of people, but I needed a few more steps (you may need them as well, so follow these if the above still doesn't work.

  • double click the speaker icon in the notification area (upper right corner near shut down button).
  • make sure that under "file/change device", you see the device that corresponds to the one you found in step two (ex- mine is "SB [HDA ATI SB]"). If it isn't the right one, select the right one.
  • go to "edit/preferences" and with the little menu that pops up, just go ahead and put a check mark next to everything. Now, close the pop up, as well as the volume control menu.
  • reopen the volume control menu by clicking on the speaker in the upper right again.
  • in the tab labeled "switches", make sure to uncheck the headphone option and to have checked iec958 and iec958 capture (important, although I'm not sure why).
  • in the original tab (playback), make sure that master volume is at a good volume (and not muted).

Update for AMD Radeon HD 7660D (ALC887-VD), Ubuntu 12.04:
  • update system with latest fglrx drivers
  • update with latest alsa kernel drivers
  • continue with step 3 described above onwards...

Reference / source links:
http://ubuntuforums.org/showthread.php?t=843012
http://ubuntuforums.org/archive/index.php/t-1033620.html
http://www.alsa-project.org/main/index.php/HDA_Analyzer
https://help.ubuntu.com/community/HdaIntelSoundHowto
https://wiki.ubuntu.com/Audio/AlsaInfo
http://www.alsa-project.org/main/index.php/Main_Page
https://help.ubuntu.com/community/SoundTroubleshootingProcedure
http://askubuntu.com/questions/187587/hdmi-audio-output-problems-with-radeon-card

ZTE Skate od Vodafone - zprovozneni Internetu na T-mobile CZ siti

Projevy: Android Web prohlizec/Youtube atd. jely v poradku, nefungovalo vsak cokoli vyzadujici jine, nez WAP pripojeni k Internetu (USB tethering, Endomondo ...). Kupodivu ani na ZTE supportu netusili, nicmene reseni bylo jednoduche - aplikovat spravny profil.

Spravne nastaveni:

 ==== Nastavení připojení internetu ====
  Name: TMCZ GPRS Internet
  APN: internet.t-mobile.cz
  Proxy:
  Port:  
  Username: gprs
  Password: gprs
  Server:
  MMSC: null (vypsat ručně)
  MMS proxy:
  MMS port:
  MCC: 230
  MNC: 01
  APN type: default (vypsat ručně)

  ==== Nastavení MMS ====
  Name: TMCZ MMS
  APN: mms.t-mobile.cz 
  Proxy:
  Port:
  Username: mms
  Password: mms
  Server:
  MMSC: http://mms
  MMS proxy: 10.0.0.10
  MMS port: 80
  MCC: 230
  MNC: 01
  APN type: mms 

Reference link:
http://wiki.androidforum.cz/index.php/Nastaven%C3%AD_G1