Opera Mini BETA 5 (java) installed and running FAST on ANDROID - myTouch 3G, Magic Apps and Games

First i would like to thank the community for being so supportive. I am a noob and was able to gather this info with a few simple searches and wanted to make it easier for others to figure out. so here it is all in one place so its easier. now to the fun stuff.... i was able to figure out how to set up opera mini beta 5 on my android phone:
MT3G (TMO USA)(EDGE)
CYMOD .999 (THANKS CYANOGEN)
DARK DREAM THEME (THANKS BARINA)
FIRST:download the files baggus spoke of here (http://forum.xda-developers.com/showthread.php?t=563964)
"1. Download this:http://www.2shared.com/file/7884694/6f2c5cb0/java.html
2. Install Jbed.apk" ...... the rest of the statement comes at
the end (THIRD)
SECOND:run abd from the command prompt (windows) and mount android system device read/write as korndub spoke of here (http://forum.xda-developers.com/showthread.php?t=473256) if you dont do this the next step will fail
"you need to mount it read write,
mount -oremount,rw /dev/block/mtdblock3 /system
then it will be read/write"
THIRD:continuing what baggus said in the first mentioned step
"...and push libjbedvm.so to /system/lib and reboot your
phone (don't do that point if you already have Java installed in your rom).
3. Launch Java app. Press "menu" button and choose "sdcard". Wait a while
and choose Opera Mini to install.
4. Now if you want to launch Opera mini, open Java app first and choose the
location where Opera Mini is installed.(e.g. sdcard folder at the top)"
LAST BUT NOT LEAST: i hope i have included every thing nessesary and given every one there props for the info i have found. i did mention im a noob at the android stuff but wanted my fellow noobs to experience the raw speed of this browser.... this browser is simply awesome and i cant wait for the android edition to come out. my apologies if this was posted some where else but amongst my searches i havent found it all in one place
adb commands here: (http://forum.xda-developers.com/showthread.php?t=502010)
and here: (http://forum.xda-developers.com/showthread.php?t=517874)
OPERA LINK I USED: (http://www.opera.com/mini/next/download/)

that is opera mini not opera mobile...

lifeflayer said:
that is opera mini not opera mobile...
Click to expand...
Click to collapse
Thanks.... corrected.

Thanks for the info. It is SUPER fast although it's not well suited yet for the Android. Having it ask me if I want to allow it to use the internet every time is annoying, and I find it isn't so responsive to touch. Finally, having to open Java to be able to open it is kind of annoying.
I won't be using this one, but I sure damn will when they come out with one for the Android!

other apps
i have alsofound using opera mini you can visit wap.getjar.com and install other java apps with this setup. games apps ect...

I've got a problem,trying to copy "libjbedvm.so" on device but got the message: failed to copy 'libjbedvm.so' to /system/lib/libjbedvm.so': No space left on device
How can i get more space?

bitle said:
I've got a problem,trying to copy "libjbedvm.so" on device but got the message: failed to copy 'libjbedvm.so' to /system/lib/libjbedvm.so': No space left on device
How can i get more space?
Click to expand...
Click to collapse
uninstall something. maybe clear your browser cache. delete old emails. just suggestions, i do what i can to use my mem card for every thing.
check the links on the other pages i provided to see if others have had the same issue..... search the description of the command and error message. somebody has likely had the same problem with some thing else.

Yes, deleting some files helps.
Here is commands I used:
Code:
adb shell
mount -oremount,rw /dev/block/mtdblock3 /system
cd /system/media/audio
mkdir /sdcard/rings_backup/
cp *.ogg /sdcard/rings_backup
rm *.ogg
exit
adb push libjbedvm.so /system/lib

Related

Root access with Astro?

Is there anyway to start Astro as root so you can use it to edit system directories?
I had wished for the same thing.. but i didnt tell nobody.. soo maybe this will be more effective. prevents having to type in the terminal all the time.. not that its bad.. ive learned so much allready since ive had this phone...
I totally agree! That would be perfect! Maybe there a way of editing the code or smth...
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
d00m said:
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
Click to expand...
Click to collapse
Considering the fact that I'm a Systems Administrator as my profession and work with hundreds of Linux/Unix/Windows servers a day, the whole reason why I bought the G1 was for development and tinkering, the fact that my home PC is running Vista x64 (i haven't gotten around to creating a VM or messing with the drivers), and that I do wipes frequently to test different configurations, I'm pretty sure I'll be ok with root access. I'm just tired of manually doing something on that tiny keyboard that can easily be done with a nice pretty GUI. I stare at consoles all day and thousands of lines of black and white text, when I come home I don't exactly want to be anywhere near a terminal.
Also, why bother doing anything on a phone, other than using it as a phone (or for email, texting, etc.), if you don't do it because it's "kewl". I mess with my phone because it's cool to have a mini-*nix based computer with several fun radios on it. If I do something stupid like type "rm -Rf /*" after logging in as root (never going to happen) then that's my own fault.
I don't care if you're a Unix purist and you write up your office reports, spreadsheets, and diagrams in vi. Good for you, you're wasting time that can be better spent on other things because of your stubborn prejudice against GUI's. I asked a question, because I have a reason for that question. If you don't have any answers to that question, then please don't bother replying.
diabolical28 said:
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
Click to expand...
Click to collapse
I looked into the commands to launch an application from the CLI and found that Astro can be started using the following command:
am start -n com.metago.astro/.FileManagerActivity
However, this doesn't do us any good, since the dalvik VM will take that command and create a process as a sandbox user regardless of what user executes that command. There looks like there's a way to tell the VM to fork the process as a specific uid and gid, but that requires editing the AndroidManifest.xml.
I'm not too good with Java, and I don't know how strict Android's API is, so I don't know if running an apk application as root is even possible.
However, I do know that running commands from inside an application, like su, is possible.
~TM
"Wise men speak because they have something to say; Fools because they have to say something." ~Plato
Solved--Astro with root...(workaround)
kinda late, but in case anyone wants to know this is what I did.
This way technically doesnt allow astro to run with root, but its just as good.
I originally did this a few months back for my G1, and just mod it a little to work on my nexus
- created a script to mount system as rw
- created a script that gives r/w permission to all app directories (/data, /data/app, /data/app-private, /system, /system/app, /system/sd, ...) and all apps inside those directories
-then merged the 2 scripts and named it astro_root_perm
-installed GScript from the market
-created another script that
-first changes all permissions on apps back to what they started as(644, 640...)​-then changes permissions of directories back to what they were​-and finally remounts system back to ro, and named this script to astro_basic_perm​
-used Gscript to create shortcuts of the 2 scripts to my home screen.
-then with bettercut, I changed the scripts' icons to the astro icon. I just colored the astro stock icons "A" green for one script and red for the other
So anytime I want to use astro as root, I just click the shortcut I made with gscript off my home screen, open astro,
Then when Im done with astro, I just run the other script
I know its not the same as running astro AS root, but it works for me.
Im not really a linux guy......I'd really appreciate if someone could help me with this next step
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Estrongs has limited root file browsing on some ROMs and SU File Manager or Root File Manager will let you browse as root for a small price.
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
louieG1 said:
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
I'm not sure exactly how gscript handles things, but with a normal bash (shell) script, the lines are run sequentially. That is, the next line isn't run until the previous line is done. It would seem that you could put all that in one script, and the still-running script wouldn't change the permissions back until astro has ended. But then again, java adds complexity to it and I'm not sure if it works the same.
louieG1 said:
kinda late, but in case anyone wants to know this is what I did.
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
Love this idea! Unfortunatly I'm no coder but would love to see something like this created.
I created a "GodMode" script that does exactly this, email me if you want it, I can edit it to work for the G1.
Totally forgot I started this thread, then happened to find it on Google when looking for the same thing, again.
Went back to Windows Mobile for a little bit, missed Android, and now have a Samsung Vibrant.
Still want a way to use ASTRO with root priviledges, especially since I don't have a tactile keyboard anymore.
phaelox said:
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
Click to expand...
Click to collapse
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
I know i am not answering the question directly. But, i use Linda Manager it gets the job done.
---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------
raddy said:
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
Click to expand...
Click to collapse
Hi raddy,
I'm also from TN as well, i would love to get the Tamil fonts. Can you please guide me?
Not having tamil fonts on the browser is simply annoying
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
raddy said:
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Cool, i got the tamil fonts on my G1, thanks for the help.

2.1 voicekeyboard app on 1.6 or 2.0 android

My wife and I use haret to boot android 1.6 and android 2.0 respectively on her vogue and my touch pro. She is not ready to try the full 2.1 ports notwithstanding how amazing it is to have them available for vogue. Anyone know how to install the 2.1 voice to text keyboard on any haret booted android?
I tried the instructions below but no go with our read only system. I also tried adding the app to the android app folder as well as unsquishing, putting the file into the system and resquishing on ubuntu but my new system.sqsh was not mounted. I am way out of my amateur league. Can anyone install this killer app and let us know how they did it.
http://www.megaupload.com/?d=UQC37DJC
This will install the 2.1 keyboard with voice to text working (on any text input that uses the default keyboard).
The original keyboard will not be affected - you will simply have 2 Android Keyboards to choose from in Settings > Language and keyboard (plus Swype, if you have it or install it)
You need to be rooted (which only requires putting an update.zip file on your Droid and rebooting, basically - follow step 2 in that post to root).
To install the keyboard apk, unpack the file and put the VoiceSearchWithKeyboard.apk on your sdcard. Mount system r/w and put the VoiceSearchWithKeyboard.apk in the /system/app folder. chmod it 644 and mount system as r/o and reboot.
If you don't know how to do that, then follow these steps:
1. Put the VoiceSearchWithKeyboard.apk on your sdcard (if you used usb, unplug it when you're done)
2. Get Root Explorer from the Market.
3. Using Root Explorer, navigate to the sdcard folder and long press on the VoiceSearchWithKeyboard.apk and click "Move"
4. Navigate to the /system/app folder
5. Click the button up top that says "Remount as R/W"
6. Click the button on the bottom that says "Paste"
7. Now you need to set the permissions on that file (chmod 644): Long press on the VoiceSearchWithKeyboard.apk and click Permissions. Check User Read and Write, Group Read, and Others Read. Uncheck everything else and click Ok.
7. Click the button up top that says "Remount as R/O"
8. Reboot, you're done
After rebooting, in Settings > Language and keyboard, you will have Android Keyboard listed twice, and they'll both be checked/enabled.
The first one is the original and the second one is the one with voice search. Uncheck the first one. If you have Swype installed, it will still work if you select it (but you probably won't want to!).
It works great (major understatement). No issues that I know of
if you are running regular sd card you won't be able to do this. you need ext2 or nand to rw the system files. should be able to fix permissions using your new install menu (i think ?!?). i'll give it a try and post back, i've been interested in this for a while.
TaDa!
androidupdate.tar
Fixed (forgot to gunzip).
Doesn't work on 1.6.
Thx
I will give it a try. Thx
jnadke said:
TaDa!
androidupdate.tar
Fixed (forgot to gunzip).
Doesn't work on 1.6.
Click to expand...
Click to collapse
darn, was hoping this would work on 1.6
Still having trouble installing
tatnai,
In over head. If I put an ext3 partition on the card with the android files how do I get haret to boot.
If anyone gets it to work if you have time please write a brief idiots guide.
If too busy no big deal. I should be waiting for 2.1 touch pro and not bugging you guys anyway.
spb37 said:
tatnai,
In over head. If I put an ext3 partition on the card with the android files how do I get haret to boot.
If anyone gets it to work if you have time please write a brief idiots guide.
If too busy no big deal. I should be waiting for 2.1 touch pro and not bugging you guys anyway.
Click to expand...
Click to collapse
did you check out the FAQ in my sig? try the SD card install guide, if that does not help, post back in that thread and we'll go through what's not working. also, I don't know if there is any difference with ext3, but most of us have been using ext2 partitions. use two, both 300mb and you should be fine. they need to be after the fat32 partition (so you should have one fat32 with most of the space, followed by 2 x ext2 at around 300mb each). there are partitioning guides in the FAQs as well.
Thx again.
Will give it a try. Thx for your responses and providing the FAQ. Much appreciated.

Start from scratch, HOW to use Android SDK?

Hi..
I have been through half the internet, but i cudnt find one post or set of instructions on HOW to use SDK properly by noobs...
Let me be very honest about it...
Its really hard to understand if u dont know programming....
To begin with how do you "ADD PATH"
Add what, where, how???
No instructions at all...
Also, every-time i run that damn sdksetup.exe...some two windows are open and just NOTHING HAPPENS...
PS: PLZ don't ask me to "simply" "add" "Location" in the "Path" cause I have no idea what that means...and no, im not happy to make this thread either...
ALL I WANT TO DO IS CONNECT MY COMP to the damn DROID...
What OS do you have?
jwte said:
What OS do you have?
Click to expand...
Click to collapse
I have Windows XP SP 2...
I have posted pix of where I am stuck...
(all this comes pretty much from memory, I don't have any windows handy)
Rename the folder so that it doesn't have any spaces. ie. instead of "Mount SD", call it "Mount_SD" for convenience. it is possible to get it to work with spaces, but I suspect it is beyond your current abilities.
Go to Start->Run (or Win+R)
Enter
cmd.exe
in the resulting dialog.
in the newly opened command line window type:
set PATH=$PATH;D:\Froyo\Mount_SD\android-sdk-windows\tools
now you can refer to adb directly, ie typing:
adb devices
should give you a list of connected android devices and emulators
There is a way to make the addition to PATH permanent, but it involves right-clicking on "My Computer" and after searching in there for something like "Environment Variables" editing the PATH statement there. Unfortunately, I don't quite remember where exactly this is...
Right click 'My computer' , properties, advanced tab, click on the environment variables button, go to the path variable, add a ; at the end, and at the path string there.
but running an SDK to connect the phone, when you don't know how to set the path variable might not be the best solution.
SDK on Windows 7
hello,
did you follow the link developer.android.com/sdk/index.html
But what do you want do with the SDK, just access the file on the Android device or develop an application?
I have had no problem with latest version of the SDK on win7, but the I have to lunch Haret when my X1 was connect to the PC with Winmo and then it's has been recognized as a HTC dream (see attach).
tchatzi said:
(all this comes pretty much from memory, I don't have any windows handy)
Rename the folder so that it doesn't have any spaces. ie. instead of "Mount SD", call it "Mount_SD" for convenience. it is possible to get it to work with spaces, but I suspect it is beyond your current abilities.
Go to Start->Run (or Win+R)
Enter
cmd.exe
in the resulting dialog.
in the newly opened command line window type:
set PATH=$PATH;D:\Froyo\Mount_SD\android-sdk-windows\tools
now you can refer to adb directly, ie typing:
adb devices
should give you a list of connected android devices and emulators
There is a way to make the addition to PATH permanent, but it involves right-clicking on "My Computer" and after searching in there for something like "Environment Variables" editing the PATH statement there. Unfortunately, I don't quite remember where exactly this is...
Click to expand...
Click to collapse
Thanx a lot...and sorry for replying a little late...I was out for a shoot...Yes..i did EXACTLY what u told me...Now what do i do?
Ok i wrote this:
'set PATH=$PATH;D:\Froyo\Mount_SD\android-sdk-windows\tools'
THEN
'adb shell'
So i got this: 'error: No device found'
sentry23 said:
Right click 'My computer' , properties, advanced tab, click on the environment variables button, go to the path variable, add a ; at the end, and at the path string there.
but running an SDK to connect the phone, when you don't know how to set the path variable might not be the best solution.
Click to expand...
Click to collapse
I lose you after clicking on Enviornment variables...
I cant see any Path variables..
There are 2 sections:
'User variables' AND 'System Variables'
circleofomega said:
I lose you after clicking on Enviornment variables...
I cant see any Path variables..
There are 2 sections:
'User variables' AND 'System Variables'
Click to expand...
Click to collapse
What is the problem with using google?
a simple search for "windows path variable" will give you tons of information about what you tried to do...
example: http://www.computerhope.com/issues/ch000549.htm
btw: this thread has nothing to do with "XPERIA X1 Android Development"
cyberdesigner.net said:
What is the problem with using google?
a simple search for "windows path variable" will give you tons of information about what you tried to do...
example: http://www.computerhope.com/issues/ch000549.htm
btw: this thread has nothing to do with "XPERIA X1 Android Development"
Click to expand...
Click to collapse
If I am connecting my "X1" running "Android"...where do u expect me to post questions regarding it??? In the Windows 7 forum???
And secondly I figured out how to run it...but i cant read the mem card thru the SDK...i can just see the screen of the Android phone...
circleofomega said:
If I am connecting my "X1" running "Android"...where do u expect me to post questions regarding it??? In the Windows 7 forum???
Click to expand...
Click to collapse
your question was more in the term:
how do i configure/use my $OPERATING_SYSTEM to use $SOFTWARE?
why do you want to access the storage card from adb?
if you try to install software do it via adb itself:
Installing an Application after your connected
You can use adb to copy an application from your development computer and install it on an emulator/device instance. To do so, use the install command. With the command, you must specify the path to the .apk file that you want to install:
adb install <path_to_apk>For more information about how to create an .apk file that you can install on an emulator/device instance, see Android Asset Packaging Tool (aapt).
Note that, if you are using the Eclipse IDE and have the ADT plugin installed, you do not need to use adb (or aapt) directly to install your application on the emulator/device. Instead, the ADT plugin handles the packaging and installation of the application for you.
Click to expand...
Click to collapse
cyberdesigner.net said:
your question was more in the term:
how do i configure/use my $OPERATING_SYSTEM to use $SOFTWARE?
why do you want to access the storage card from adb?
if you try to install software do it via adb itself:
Click to expand...
Click to collapse
No..i dont want to install anything...I just want to copy things, like apps, ringtones Music etc etc...on the SD card thru android..Thats it....
I just want to read my Mem card thru android + SDK for copying files..i dont install anything from the comp..
No..i dont want to install anything...I just want to copy things, like apps, ringtones Music etc etc...on the SD card thru android..Thats it....
I just want to read my Mem card thru android + SDK for copying files..i dont install anything from the comp..
Click to expand...
Click to collapse
Well, if you're imagining copy/paste files through windows explorer, we're not there yet.
However, ``adb push D:\myfile.mp3'' and ``adb pull /sdcard/media/song.mp3'' work.
In short, get comfortable with the command line or forget about it for now.
If ``adb devices'' reports "No devices found", remember that you need to connect the USB cable in windows mobile, select ActiveSync (there's no need to actually have ActiveSync running on your PC) and then run Haret with the USB cable still plugged in.
[OT]
I am developing android applications on the xperia and can attest that the SDK works as expected/advertised. It is not user-friendly in the sense you want it to be though
[/OT]
circleofomega said:
No..i dont want to install anything...I just want to copy things, like apps, ringtones Music etc etc...on the SD card thru android..Thats it....
I just want to read my Mem card thru android + SDK for copying files..i dont install anything from the comp..
Click to expand...
Click to collapse
You can get Droid Explorer Here
No messing around with the SDK and you can copy/paste, do most stuff
A little buggy, but works for most things
But why do you are loosing so much time on setting the PATH, it's not necessary to do this. if you want use the adb just go in the direcortory where it's installed and that's it. In any case you could not expcet to se the sdcard folder like a windows folder. Once connect correctly, adb devices list a device on line, you can "talk" with the device like this "adb shell" ...

Anolog clock resets o reboot

Hi all,
Was not really sure where to put this apologies if its the wrong place.
I recently created my own analog clock, I'm using CM7 RC0, I simply replaced the clock background .png in the original desktopclock.apk, renamed it, signed it and then installed it through filemanager.
Now, it works fine! I was very happy, until I rebooted my phone today, got back onto the desktop and it had reset to the original anolog clock! Tried it again and sure enough everytime I reboot I have to reinstall the .apk!
Anybody have any idea why on earth this would happen?
Many thanks,
Sean
This was originally brought to my attention with the HTC_IME mod by Jonasl. I installed a themed version over the top of the one already installed by default in /system/app and on reboot the original (quite frankly ugly) keyboard was back...
for some reason I do not know, you have to manually un-install the previous version. Don't know why...
use this http://forum.xda-developers.com/showthread.php?t=644909
to un-install the original apk for the clock, then push your app into /system/app using adb. reboot and it should all be sorted... I hope.
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
wiiija said:
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
Click to expand...
Click to collapse
I'm on linux right now, and I did this to remove my stock messaging app not 3 hours ago...
Just open up your terminal and use adb, assuming you have the androidsdk on your computer...
If you don't it's going to be a little harder, you're going to have to find a root exploring file manager and delete the analog clock app from /system/app and then you're going to have to put the new one there AFTER rebooting.
If you want adb just ask and I'll tell you how to get it.
1. download the android sdk from http://dl.google.com/android/android-sdk_r12-linux_x86.tgz
2. open up the .tgz and extract it to /home/-your_user_name/androidsdk
3. open up terminal and type
su
PATH=$PATH:/home/-your_user_name/androidsdk/tools
adb
adb devices <-------(make sure your device is connected and in debug mode. If that fails just boot into recovery)
qiuness said:
adb shell
su
cd /system/app
mount -o rw,remount /system
rm -r analogclock.apk
Click to expand...
Click to collapse
4. install your new, themed app
abd push /path/to/your/app.apk /system/app
5. reboot.
Brilliant guys thank you very much, its all sorted, easy once you know how

Fix camera permissions in the market

So the Nexus 7 does not have a primary camera, so a ton of apps in the market that use a camera show up as Not Compatible. You can sideload them and they may or may not work. However, there's a fix.
I'm on rooted stock, but if your custom ROM is also having this issue in the market you can tell your ROM Chef what file to add.
Caveat: This IS working for me as of right now, but it did not immediately, so there might be some delay or something else needed to do to make it work immediately. I'll update this post based on feedback if it's working immediately for folks or there's some other way to speed things up.
Caveat: Just because you can install an app won't make it work. If an app crashes, you've been warned. All apps might not work, but at least some apps that can use camera and don't need the camera function can be installed (Grocery King works fine, barcode scanning crashes), some will work fine (Camera Zoom FX).
And just to be clear, you are modifying /system. If you do this wrong, you could cause yourself problems. You have been warned.
Pre-reqs
Rooted
Root file explorer app to copy a file into /system (I use Ghost Commander, use your favorite app)
--OR THE FOLLOWING--
ADB working
Busybox (does not need to be installed, but needs to be available for cp, or you can use cat if you know how to do that method instead)
Busybox might be needed to remount /system as read-write, or you can use some other method to do this
Pick the method you want to use, adb, or a file explorer that can mount /system and write files there. Pick one method or the other, I've hidden the content on both by default so fewer people think you need to do everything..
android.hardware.camera.autofocus.xml is a file inside of the zip attached to this post, all references to copying that file imply you open the zip file and extract or copy it directly over. NOT the zip file itself. And no, this is not "cwm flashable". If this is working for folks and someone wants to make a CWM Flashable ZIP file to use, I'll be happy to add it to the post and update instructions.
Instructions for using your favorite root explorer kind of app
Download the file attached to this post to your device
Launch your favorite root explorer type app and remount /system as read/write
Copy android.hardware.camera.autofocus.xml to /system/etc/permissions/
Remount /system as read-only
Now we have to clear market data, do that in Settings->Apps, All tab, find Google Play Store and Clear Data
Reboot
Check the market for Camera related apps. Profit! If still not compatible, just give it a few days.
Instructions for using ADB/Manually copying it
Download the file attached to this post
Connect to your device over adb (I use wifi adb personally)
Do the following commands to launch adb and inside of adb respectively
adb push android.hardware.camera.autofocus.xml /sdcard
adb shell
su
mount -o rw,remount /system
cp android.hardware.camera.autofocus.xml /system/etc/permissions/
mount -o ro,remount /system
Click to expand...
Click to collapse
Now we have to clear market data, do that in Settings->Apps, All tab, find Google Play Store and Clear Data
Reboot
Check the market for Camera related apps. Profit! If still not compatible, just give it a few days.
Thanks to bonks in #nexus7 for confirming for me that he cannot access a few Camera apps and validating some permissions files for me to verify my changes had worked on my end.
Works for 4.3 as well, but the same caveat... It took three days to show apps as compatible, so not sure what needs to "clear" for the permissions to be updated, but give it a few days and it'll be fine.
Reserving for any followup info, particularly around if the market permission doesn't clear "immediately".
A partial list of apps that work/don't work, but all will install now and previously would not. If anyone tries another app or has more input I'll update this post.
I've also started a list of apps I know of that have altered their permissions in the market so that they should show up natively on the N7 without the fix.
Work Perfectly (maybe mirrored)
Paper Camera - Mirrored
Google Translate - Mirrored, maybe upside down.. Wonky, but does work.
Work With Caveats
Grocery King - Barcode scanning crashes, otherwise completely usable
Don't Work at All
Google Goggles - Blank image, although you can load images you took with other cameras
Retro Camera - Can't find camera
Fixed market permissions
Camera FX Zoom - Use landscape, or things are mirrored and flippped
This worked great for me...thanks a bunch!
Sent from my Nexus 7 using xda premium
Ima give this a go when I get home, thanks
Nexus 7 camera permissions
Hi,
I have an app on the market that uses the front camera and sadly I cant get it working on the Nexus 7. Could someone please assist me in what permissions I need to change exactly to get it running?
From reading the posts above I now see that it's not the name of the camera (which I believe is 0) but it's permissions around that.
As a noob to the Nexus 7 permissions can anyone step me through it?
Thanks
David
DavidTheBourne said:
Hi,
I have an app on the market that uses the front camera and sadly I cant get it working on the Nexus 7. Could someone please assist me in what permissions I need to change exactly to get it running?
From reading the posts above I now see that it's not the name of the camera (which I believe is 0) but it's permissions around that.
As a noob to the Nexus 7 permissions can anyone step me through it?
Thanks
David
Click to expand...
Click to collapse
http://stackoverflow.com/questions/...ort-for-android-application-manifest-assembly
Just wanted to bump this thread and let everyone know this still works for 4.3. However, I'm not sure what one would need to do to make it work faster.
I installed the XML file on my N7 about three days ago, cleared Market data, rebooted etc, specific apps still showed as not compatible.
Finally today I look, and compatible! Perhaps it's on Google's side, it only updates every so often.. I dunno.
Anyway, so it works, but it might take a few days for it to propagate

Categories

Resources