Tuesday, September 4, 2012

Root and Play Store fix for the UG802 android tv dongle

The UG802 is a new dual core android tv hdmi dongle.

It contains the Rockchip rk3066 dual core arm cortex a9 SOC
Specs:
1.2ghz(limited by kernel,  but soc is capable of 1.6ghz)
1gb ram
4gb nand storage
wifi b/g/n
micro-sd
micro-usb for power
hdmi 1.4 male connecter
full size usb host

The first time I ran antutu I scored a 6801,  second time I scored a 6821.
Since then I've installed a ton of apps and my latest score is 6532.  
 The performance of it is incredible.  It's the best dongle on the market so far....

 I've been posting my comments about the device on this site:
http://www.cnx-software.com/2012/08/15/dual-core-rockchip-rk3066-mini-pc-now-available-for-88-88/#comments

I rooted my device using the info from here:
http://www.slatedroid.com/topic/34442-root-window-n90-dual-core-ii-how-to-root/
Superoneclick did complain and say my device was already rooted, but I had previously checked with root checker and it had said it wasn’t.

 
Fixing Google Play Store.



I spent a while searching, but I found others who had this problem. That led me to the instructions from Compu_Guy which is found in the link below.
http://www.androidtablets.net/forum/sylvania-tablets/27080-sytab10st-root-access-google-apps-market-3.html#post164159
Our TelephonyManager.smali files is a bit different so I’ve simply removed 2 steps and changed the number we’re looking to replace.
Keep in mind that this could send you on a boot loop, brick your device, cause you to worship the sun, eat earthworms and I won’t be held responsible.
First off you need to be rooted and your system mounted as R/W. Also if you’re on windows you will have to install JRE 1.6 and add that to path so you can run apktool.(there are instructions in the apktool wiki)

“Here are the steps that I followed.
1) Download apktool from here:
http://code.google.com/p/android-apktool/
I used the Windows version, so there are two files that you need to download. Load both of those into a directory.
2) Grab your framework.jar file from you tablet. This is located in /system/framework
3) Copy this file to the same folder that you put the apktool
4) Open a command prompt and run apktool with this command: apktool d framework.jar
5) This creates a folder called framework.jar.out that contains the smali files. Open this folder and go to smali/android/telephony
6) Open TelephonyManger.smali with a good text editor. On Windows, I use Notepad++.
7) Look for the string of 46002. I just replaced this with 310260. In my case, there are two instances of it. 8)When you are done, save the file.
9) What I then did was renamed the framework.jar file to framework-old.jar
10) Now from your command prompt run apktool b framework.jar.out
This will recompile a new jar file for you. The file will be placed in framework.jar.out/dist.
11) Now open this file with a good zip editor (IZarc, 7zip, etc). There will be a classes.dex file.
12) If you open your original one, you will see there is also a META-INF folder and preloaded-classes file. I copied these out of the original and into the new file.
13) Copy the new framework.jar file on your tablet and replace the existing one.(Make sure to check the permissions on the new framework.jar)
14) Restart!”

You may want to clear Play Store’s cache and data before you load it after doing this.
I’ve uploaded my modified framework.jar here

Firmware 7/13 http://www4.zippyshare.com/v/81293609/file.html

Firmware 9/03 http://www8.zippyshare.com/v/32689528/file.html

I have no idea if it will work in newer firmwares, so when in doubt do the steps above.
Btw the number 46002 is for China Mobile, the number 310260 is for T-Mobile US.




Thursday, August 30, 2012

It's been a long time since I've used my clarion minds.  I noticed that my links all went away when megaupload fell.  If anyone needs these files let me know and I will reupload them.

In other news I am starting a kickstarter for an android based hdmi tv dongle.

Monday, July 19, 2010

update 3..live unionfs usb flash

Here is the 2GB usb dd image of 8.04.
http://www.megaupload.com/?d=3KBRQWIT
http://www.megaupload.com/?d=KEUMYVY0

I will only boot as /dev/sdb1 so don't flash this image onto your ssd. Only onto a usb flash disk.
There is around 750MB of free space on the drive. It will save your changes/installed programs on sdb2.

It's almost the same as the desktop dd image.
I started with 2 partitions the first was about 1gb(sdb1 ro partition). Tthe second was 900mb(sdb2 rw partition) but could of been alot bigger.
Both we're formated to ext3. The boot flag had been set on sdb1.
Since I had the full resquashed dd image installed to my mind, I just copied everything in /boot to sdb1 using "cp -auv /dir/to/copy/* /dest/mount/point/"
Then I installed grub on sdb1.
below done on sdb1
I copied the old initrd.img-2.6.24-22-lpia to initrd.img-2.6.24-22-lpia.bak
I had to decompress the initrd and then edit the script/disk file to remove sda from the list of devices it looks for, and changed it to look for a removable drives instead of non-removable(hard disk).
I then recompressed initrd.img-2.6.24-22-lpia and placed it into the /boot directory.
Then I had to add the kernel option "root=/dev/sdb1" to menu.lst in /boot/grub.
Thats pretty much what went into the usb image. I posted some of the info because it coul be useful to someone else, even though it's a little vague.

8.04.4...update 2

the dd version of the acronis image I posted earlier is posted below for those without acronis
http://www.megaupload.com/?d=PO4P43B8
http://www.megaupload.com/?d=NNRK8VRG
http://www.megaupload.com/?d=1EAYBZIA


Sunday, July 18, 2010

8.04 updated..1


I managed to merge the ro and rw partitions and then resquashed the rootfs.img.
So now all my changes are part of the ro filesystem. That means that now we have 2.3gb free space.
I'll be posting a acronis .tib image file for now because of requests.
It will be followed shortly by a rared up dd image file.

The acronis image is here:

http://www.megaupload.com/?d=9EXXSFQ9

I haven't tested this one yet. Enjoy!


edit:
I tested it. It works as planned. 2.3GB free space afterwards...
a few notes:
-video acceleration is with mplayer, gnome-mplayer, and smplayer. mplayer and gnome-mplayer are set to use the vaapi video output and filter. Smplayer is set to use the x11 video output and the vaapi filter. If your video plays but looks blocky try it in smplayer.

-Totem and Moovida Media Center are installed. They are based on gstreamer 0.10 and are non accelerated. The default folder for media in Moovida is /home/ume/media/ and it's subfolders. I believe fluendo sells hardware codecs for gstreamer 0.10 and the gma500 on LPIA arch.

-Vlc player is installed and not accelerated. It uses the x11 video output and plays decently.

-xvkbd is installed but no link is provided for it. However I did add Run Program icon to the title bar it looks like 3 little gears.

-The green home screen can be activated by pressing the twin horizontal green arrow icon in the titlebar. It can be quit by closing the terminal that opened it. You should note that any programs launched the green home screen will terminate when you exit that terminal.

Saturday, July 17, 2010

ubuntu 8.04 ume lpia netbook-remix

This image is based on a UME 8.04.4 LPIA image built for the Aigo MID device based on the Jax10 platform. I found this on the net a while ago and got around to modifying it to work with the clarion mind and to upgrading the form and function of it.
It's quite possible that this image would work on the Aigo or the Benq s6(may need some utility to turn on wireless).
I offer no support and wish you all luck with this.


Here is the image.

Backup your mind before using this dd image.
As always, if your mind has a breakdown....not my problem.
Use this image at your own risk!

http://www.megaupload.com/?d=N6SGJP76

http://www.megaupload.com/?d=5Q3OMXRL

http://www.megaupload.com/?d=UESVEEH4

It features:
Working sound
Working wireless
Working touchscreen(no crashes!)
Working 2d psb
Working 3d psb
mplayer-vaapi(hardware acceleration)
libva 0.31
Youtube 480p hardware acceleration
Firefox 3.6(greasemonkey, adblock, downthemall, flashget)
Flash 10.1
and much more....


I haven't tested to see if it will boot from usb yet. My flash drive's connector pretty much died.
There is about 700mb free space on the device after the image is flashed.
The dd image uses unionfs so it should be possible to recompress the rw partition into the ro root partition. I just need to figure it out.

Problems:
-Suspend/hibernate doesn't work.
-I haven't checked GPS other than setting gpsd to /dev/ttyS1 and checking for output.(I live in an area with VERY spotty gps reception and no cell reception.)
-shutdown and reboot icons are located on the top bar near ther bluetooth icon.
-The icon with the green arrows launches the green home screen, which can be quit by closing the terminal that launches it.
-Hardware accelerated video only in Gnome-Mplayer and mplayer.(use totem or vlc for everything else)
-no headphone output

teaser pics:

IMG_4339.resized.JPG


IMG_4343.resized.JPG

Wednesday, June 16, 2010

MOD7 full dd disk image.



I've been adding things to the stock clarion os(Midinux).
I have a bunch of scripts that I will be posting, but for now I will just post my most current dd image of the stock os.
It includes:
osso-xterm
stock home screen menu hack
Flash 10.1
Firefox 3.6(adblock, grab + drag, downthemall)
Jdownloader
Gnome-Mplayer/mplayer
XFCE (can switch back to stock home screen with switch-desktop script)
Thunar
WINE(including winrar)
a bunch of gnome-games
Pidgin
Google Earth with or without GPS support.
TangoGPS
CoolGPS
CoolWord
xbkbd(for xfce)
Matchbox-keyboard(with hildon plugin for stock home screen)(works with firefox)
Tuxpaint
and more...


here is the clarionMOD7.dd image file.

I had to rar it into 4 parts to upload it to megaupload.
part1 http://www.megaupload.com/?d=ZPYVLU7X
part2 http://www.megaupload.com/?d=0YOWMAII
part3 http://www.megaupload.com/?d=IUYV3UNA
part4 http://www.megaupload.com/?d=GWA5VYL5

Enjoy! And remember to make a backup before using my image.