Idea to speed up Rosie - G1 Android Development

When developers first started skinning the G1 themes I remember there was something about compressing the images with photoshop, has anyone tried this yet and does anyone think it might have an effect?
Edit:
amphillips822 said:
I have found the below QUITE helpful with regard to Rosie being MUCH MUCH faster......
in terminal
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp /system/sd/app_s/Rosie.apk /data/app
# rm -r /system/sd/app_s/Rosie.apk
Click to expand...
Click to collapse
Then manually reboot system

but the hero rom runs off the rosi.apk
if the apk is the problem i dont think theres anyways of fixing it
and the rosi apk is still in alpha release
its not a legitimate rom yet
wait till htc works on it a little more and i bet itll be blazing fast

Then wouldn't compressing the images in the Rosie APK effect the amount of memory it takes to use the UI?

jusplainmike said:
Then wouldn't compressing the images in the Rosie APK effect the amount of memory it takes to use the UI?
Click to expand...
Click to collapse
the images are really not the huge Space hog it is the little file like the keyboard app uses.. seriously 5 MB for a keyboard? the images alone are only 500k total the rest are DB type files which are 4 megs

I did this, compressed pngs in every drawable folder and only saved around 200kb, didn't really speed up performance, so I didn't worry about it. PNG files were compressed on themes to save some space in /system back when there wasn't a lot of available space.

Thanks for answering my questions =)
That was all I wondered

I have found the below QUITE helpful with regard to Rosie being MUCH MUCH faster......
in terminal
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp system/sd/app_s/Rosie.apk /data/app
# rm -r /system/sd/app_s/Rosie.apk
# reboot

How about using pngcrush? It's a great tool and compresses PNGs much better than Photoshop can.

G1 just wasn't built for something like this imo. I can imagine the HTC Hero (device) having much more ram to work with and perhaps a better CPU in order to work this thing better. I mean, all things considered, the G1 can get sluggish just running Cupcake.

amphillips822 said:
I have found the below QUITE helpful with regard to Rosie being MUCH MUCH faster......
in terminal
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp system/sd/app_s/Rosie.apk /data/app
# rm -r /system/sd/app_s/Rosie.apk
# reboot
Click to expand...
Click to collapse
Has anyone tried this?

AGx-07_162 said:
G1 just wasn't built for something like this imo. I can imagine the HTC Hero (device) having much more ram to work with and perhaps a better CPU in order to work this thing better. I mean, all things considered, the G1 can get sluggish just running Cupcake.
Click to expand...
Click to collapse
I doubt it. All their upcoming devices use the same or a similar CPU as the G1. It may have more RAM, though. I think the issue comes from the fact that it's an early preproduction ROM that was leaked and it's not perfect, even on the Hero. Or maybe the Hero has hardware acceleration turned on? Does the G1 have hardware acceleration turned on? (I know it has the ability, but I wonder if it's like Kaiser where HTC never bothered using a driver that had the ability to use its hardware acceleration...) Again, this is pure speculation.

amphillips822 said:
I have found the below QUITE helpful with regard to Rosie being MUCH MUCH faster......
in terminal
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp system/sd/app_s/Rosie.apk /data/app
# rm -r /system/sd/app_s/Rosie.apk
# reboot
Click to expand...
Click to collapse
This will not work for anyone who had /data/app to sd. this does work very well if you just have the normal install tho!

ivanmmj said:
I doubt it. All their upcoming devices use the same or a similar CPU as the G1. It may have more RAM, though. I think the issue comes from the fact that it's an early preproduction ROM that was leaked and it's not perfect, even on the Hero. Or maybe the Hero has hardware acceleration turned on? Does the G1 have hardware acceleration turned on? (I know it has the ability, but I wonder if it's like Kaiser where HTC never bothered using a driver that had the ability to use its hardware acceleration...) Again, this is pure speculation.
Click to expand...
Click to collapse
Im not sure where i read it but i think the Hero had an 800 mhz processor (clocked down i suppose) but more ram does help a lot! if you adb logcat the g1 with hero and rosie on it 90% of the time its looking for more ram and running out of ram (thats why the home screen takes so long to load, and widgets too)

surj08 said:
Im not sure where i read it but i think the Hero had an 800 mhz processor (clocked down i suppose) but more ram does help a lot! if you adb logcat the g1 with hero and rosie on it 90% of the time its looking for more ram and running out of ram (thats why the home screen takes so long to load, and widgets too)
Click to expand...
Click to collapse
hmm... the memory, I can see. A lot of the other HTC phones have 288mb of RAM. This COULD be part of the problem. Maybe this would benefit from a swap file.

surj08 said:
This will not work for anyone who had /data/app to sd. this does work very well if you just have the normal install tho!
Click to expand...
Click to collapse
theses are the instructions for pushing rosie to the internal memory. it does work and make rosie faster.

Works...
amphillips822 said:
I have found the below QUITE helpful with regard to Rosie being MUCH MUCH faster......
in terminal
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp system/sd/app_s/Rosie.apk /data/app
# rm -r /system/sd/app_s/Rosie.apk
# reboot
Click to expand...
Click to collapse
this def seems to work. 2 little things line 3 should be #cp /system....
and the reboot in terminal command doesn't work on the hero rom.
Thanks amphillips822!
suggestion jusplainmike edit those commands into your original post so ppl see it right away...(maybe after a few more people try it.)

amphillips822 said:
I have found the below QUITE helpful with regard to Rosie being MUCH MUCH faster......
in terminal
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp system/sd/app_s/Rosie.apk /data/app
# rm -r /system/sd/app_s/Rosie.apk
# reboot
Click to expand...
Click to collapse
i read about doing that somewhere
and i dont know if it really did help increase speed
it is working off internal memory but EVERYTHING else in app_s is still running from your sd card
but i think it would help a little
im too lazy to install hero and set everythign else up again

kylelipp said:
this def seems to work. 2 little things line 3 should be #cp /system....
and the reboot in terminal command doesn't work on the hero rom.
Thanks amphillips822!
suggestion jusplainmike edit those commands into your original post so ppl see it right away...(maybe after a few more people try it.)
Click to expand...
Click to collapse
how much faster did it become?
do u use an overclocking app also?
any scenarios you could let us know?

actually....
Actually, I think I may have been a bit hasty.
I loaded the browser, switched back to home, market back to home, i tried to have a couple of things running and then see how responsive it was. At first it was damn fast, no lag, straight to the home screen. but... I have the retro clock, tcal and a weather widget on my home screen and I started to notice some hanging and gradual slow down. I have the open overclocker from the market installed I wanna see if it helps speed up noticeably if I put it to 527ish... I'll try and report back.
edit:
Oh, I may also not be the best test case for this, because I'm not sure what class my 2gig micro sd card is...

bigballa said:
how much faster did it become?
do u use an overclocking app also?
any scenarios you could let us know?
Click to expand...
Click to collapse
When I installed the original unoptimized haykuro it was slow as hell (Everything on app_s)after transfering rosie to internal it ran blazing fast. but I have the stock 1gb sd card. I never used appz2sd before so I didnt care about a card. (4gb Class 6 ordered) lol
I use no widgets.
I dont mind rosie crashing every 5 secs, I hate it when the messaging app crashes!!!
I really see no difference if I overclock or not, so I dont even bother.

Related

[ROM] Drizzy's DROID 2.1 for Dream/MT3G alpha [01/01/2010]

This is the initial release of Drizzy's DROID 2.1 for Dream/MT3G
What is it?
-Droid dump from Maxisma
-Full Droid Port
-Alpha stage
-All ODEX
-WIFI should be working
What Doesn't work:
-sd card
-Camera-
-framework issues
-button lights
What Works:
-LED's
-Data
-Menu button disabled when locked screen
You can find the full release thread here!
Wow, did he really ALL ODEX, WOW!!! >_<
If you guys get the vold.conf from a 2.0 Dream build you should get SDCard working.
imafla****
can we get screenshots please n thnx
Graphics are a bit messed up but it works pretty good. Not stable enough for everyday use yet, not imo anyway, but it's getting there!
...lets hope drizzy can redeem himself.
first boot must take like till next year
oh wait ! it is next year ! yay !
Wow looks like this has a lot of potential any hope for live wallpapers on this?
Great rom and going to flash it .
Why is the thread rated so low?
The rom is good do you not like it?
Well, theres no live wallpapers like I was hoping, and the notification bar is a little messed up. The Unlock screen is cool I guess...But I'll be switching back to CM until its more usable, and theres the oh so glorious live wallpapers.
EDIT: Sound appears to be broken as well; it makes no sound when I try the volume rocker, and it says that sound is disabled at the top, despite the fact that the volume is all the way up.
B3astofthe3ast said:
Well, theres no live wallpapers like I was hoping, and the notification bar is a little messed up. The Unlock screen is cool I guess...But I'll be switching back to CM until its more usable, and theres the oh so glorious live wallpapers.
EDIT: Sound appears to be broken as well; it makes no sound when I try the volume rocker, and it says that sound is disabled at the top, despite the fact that the volume is all the way up.
Click to expand...
Click to collapse
This is droid for g1, live wallpapers is on nexus
This rom is far from a daily use build, but its pretty nice...runs really fast, in my phone, almost flawless...not even one FC (i did not tryed ALL the things, but most daily use things...)
Really nice for a first release, keep the good work Drizzy!
Code:
for i in /system/framework/core.jar /system/framework/ext.jar /system/framework/framework.jar /system/framework/android.policy.jar /system/framework/services.jar
do
odex=`echo $i | sed -e 's/.jar/.odex/g'`
dexopt-wrapper $i $odex
done
for j in /system/framework/*.jar
do
odex=`echo $j | sed -e 's/.jar/.odex/g'`
if j != core.jar && j != ext.jar && j != framework.jar && j != android.policy.jar && j != services.jar
dexopt-wrapper $j $odex
done
for k in /system/app/*.apk
do
odex=`echo $k | sed -e 's/.apk/.odex/g'`
dexopt-wrapper $k $odex
done
rm /data/dalvik-cache/*.dex
reboot
just run that script, it should "ALL ODEX" all your build, that's all, really.
---edit---
I wrote the script really hastily, so it won't actually work, I just noticed I screwed up the part where you odex all the framework except for the core, I'm at work, so I don't have the script with me, but anyway, it's easy stuff.
JAguirre1231 said:
This is droid for g1, live wallpapers is on nexus
Click to expand...
Click to collapse
Is the new 3-D app drawer exclusive to the nexus as well? Thats also missing.
Question
What's the difference between 2.01 and 2.1?
This thread is the worst thread i ave ever read
why do you all persist with this infantile behaviour
next person to start with the purile behaviour gets a ban
B3astofthe3ast said:
Is the new 3-D app drawer exclusive to the nexus as well? Thats also missing.
Click to expand...
Click to collapse
You guessed it. This is a Droid, if the Droid has it so do you. This does not have the sexiness that Android 2.1 brings to the table. 2.0.1, was a bug fix for 2.0- 2.1 is the next version of Android
cdw9800 said:
What's the difference between 2.01 and 2.1?
Click to expand...
Click to collapse
I would like to know what has changed and if the boot is the same or not.
JAguirre1231 said:
You guessed it. This is a Droid, if the Droid has it so do you. This does not have the sexiness that Android 2.1 brings to the table. 2.0.1, was a bug fix for 2.0- 2.1 is the next version of Android
Click to expand...
Click to collapse
If your using to you mind telling me whats different from 2.0?
Ace42 said:
I would like to know what has changed and if the boot is the same or not.
If your using to you mind telling me whats different from 2.0?
Click to expand...
Click to collapse
Using 2.1 or this?
JAguirre1231 said:
Using 2.1 or this?
Click to expand...
Click to collapse
Yeah meant to say whats changed in 2.1 since this is Droid.Any new animations or effects?

[APP MOD] Launcher2 (Updated 240110)

Hi all,
No enhancements, this is just a fix for Launcher2 force-closing whenever you long-press on a widget. More info: http://forum.xda-developers.com/showthread.php?t=613835
I have yet to test it very thoroughly, got to go out soon. To install, do the following:
Code:
adb remount
adb shell rm /system/app/Launcher2.odex
adb push Launcher2.apk /system/app/
apk (unzip and push as per above instructions): http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Launcher2_Fix.zip
update.zip (reboot to recovery and flash): http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Launcher2_Fix_Update_Signed.zip
source: http://www.androidspin.com/downloads.php?dir=wysie/APP/&file=Launcher2_Src.zip
Please report if it works or does not work for you.
Special thanks to cyanogen for the tip about PRODUCT_LOCALES and MontAlbert for offering to help!
Update:
240110: Catch some more NullPointerExceptions, as well as added a few more System.gc(). FCs still occur from time to time due to OutOfMemoryError, I doubt I can fix it without spending too much time .
nice work.
Do you have any plans to mod the launcher any more?
Can i put in requests?
1. Folders in Launcher/tab/menu
2. Ability to hide apps
3. Ability to change number of homescreens
basically what rogro and irrenhaus did with advanced launcher.....
thanks mate. If you need help theming it etc let me know....
***edit*** i notice enomther also has a modded launcher in the themes/apps section- not sure if he has a github etc where you can collaborate.... that'd be good...
Wysie said:
Hi all,
FCs are reduced, but not completely gone. The error is no longer NullPointerException but OutOfMemory -_-. will look into it tonight...
Click to expand...
Click to collapse
The out of memory error is half the problem. According to the Android team, "Long pressing a widget just triggers an out of memory error. A solution (unfortunately) is to uninstall a few apps. It's a known issue that will be fixed in a future version of Android." So while I have not tried your fix yet (I will when I get around to pushing it), it "only" solves the NullPointerException problem. For those of us with 200+ apps, or I suppose a very high number of apps, the out of memory error will still occur. I'm still not sure how the number of apps installed has anything to do with it. Shouldn't it have to do with how many apps are running?
My friend is using your fix and says he hasn't had a force close since. However, I think he has less than 100 apps installed on his N1 so will not trigger the out of memory exception. I believe that this is an especial problem for people with a large number of apps. I find the answer given by the Android team member appalling. $575 for a device that, as it is, can't handle that many apps and we are now being told that the limited space is being even further limited.
Thanks for your help. Maybe I will look at the code if I have the time. I'm still working on fixes for my app so it isn't likely.
Actually I doubt it's the number of applications installed, but the number of applications running. I'm currently testing another version (just added more System.gc() actually), and it's able to handle up to 2 4x4 widgets with no FCs. However, when there're 4 of 4x4 widgets, it no longer FCs, but long-press just stops working on them (due the handling the nullpointerexception). In other words, I can safely say that the NPE happens due to OOM (one is a precursor of the other).
In addition, I found out that when viewing a folder, the folder's title and the contents are not aligned -_-. It seems increasingly obvious to me that Nexus One, and in particular, Launcher2, was not tested thoroughly (Polar Clock FCs, etc.). Look at the following screenshot:
I've reported it as an issue: http://code.google.com/p/android/issues/detail?id=6232
i will redo the ninepatch drawables from the apk you have posted in first post mate- cant test it though sorry- my nexus arrives wednesday (Australia day public holiday tuesday)...
Wysie said:
Actually I doubt it's the number of applications installed, but the number of applications running. I'm currently testing another version (just added more System.gc() actually), and it's able to handle up to 2 4x4 widgets with no FCs. However, when there're 4 of 4x4 widgets, it no longer FCs, but long-press just stops working on them (due the handling the nullpointerexception). In other words, I can safely say that the NPE happens due to OOM (one is a precursor of the other).
In addition, I found out that when viewing a folder, the folder's title and the contents are not aligned -_-. It seems increasingly obvious to me that Nexus One, and in particular, Launcher2, was not tested thoroughly (Polar Clock FCs, etc.). Look at the following screenshot:
I've reported it as an issue: http://code.google.com/p/android/issues/detail?id=6232
Click to expand...
Click to collapse
I cannot agree with you more when you say that the new launcher was not tested. It fails at almost everything. I think the Android developer meant to say running apps rather than installed apps.
I am going to keep using Launcher+ for the time being. Thanks for your work on this. It is much appreciated.
here is the Launcher2.apk with the 9patch images hopefully fixed.
try it out and let me know how it goes. i havent tested it as i dont have my nexus yet.
just remove the .zip extension and push the file across.
***edit*** tried to upload here but it kept failing... here is a 4shared link for it...i am sure if it works wysie will upload somewhere else...
Launcher2.apk.zip
MontAlbert: Could you email me the uncompiled images (with the black lines)? thanks!
crap mate- already deleted them- if you want i can redo them....
***edit*** redid them and emailed mate. let me know how they go
MontAlbert: Please do . Thanks!
I've updated it with a version that is more resistant to FCs .
Maybe marginally better
Still getting lots of FCs (some NULL pointer and some Out of Memory)
( ...and I was so excited to see that this most annoying problem might have been solved )
May be slightly less than before the update...
I JUST RESENT YOU THE REPATCHED images (sorry about the caps- work pc has caps on all the time).... if these dont work there must be something in the code that stretches them incorrectly (if i understand ninepatch drawables properly).... i mean, the patch/black lines seem ok when compared with how you do it on G1/Magic, and the patches match up between the top and bottom of launcher (well, they do now) so that means they should be the same.
let me know how this goes. If this doesn't work may be time to hit up the godfather of theming- Stericson.
... no Launcher2.odex found
[[email protected] tools]$ sudo ./adb shell rm /system/app/Launcher2.odex
rm failed for /system/app/Launcher2.odex, No such file or directory
vk2bea said:
[[email protected] tools]$ sudo ./adb shell rm /system/app/Launcher2.odex
rm failed for /system/app/Launcher2.odex, No such file or directory
Click to expand...
Click to collapse
if you have enomther's addon there are no odex files.
MontAlbert said:
if you have enomther's addon there are no odex files.
Click to expand...
Click to collapse
Yes, that's it...

[WIP][MOD]App Switcher Shortcut on Keyboard Dock

Edit - Aug-19-2011 - This works as of Android 3.2, but it brings up the old style (non-honeycomb) recent apps list. This is apparently what Asus has Alt-Tab mapped as now.
Edit - the dev section might not be the appropriate place for this. Feel free to move.
I'm trying to find a way to map a keyboard key to the recent apps multitasking menu, but I'm not having any luck. 'APP_SWITCH' would appear to be the proper keycode (see here) but there is no effect after making the necessary edit in the key layout map (/system/usr/keylayout/asusec.kl). I can successfully change keys to other functions (I tested by remapping GRAVE - aka the accent mark ` - to HOME), but I'm unable to pull up the app switcher. Anybody else have any luck?
I started putting together a write-up based on another thread (thanks shograt) but modified for the TF's mount points, filesystem, and key map file:
- # adb pull /system/usr/keylayout/asusec.kl
-- edit 'asusec.kl' with your text editor of choice. If you're on Windows, I've heard Notepad++ is a good choice.
-- Change the keycode to 'APP_SWITCH' (NOT working) for the key of your choosing. More info on key defintion formats here: http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html#androidKeymapKeyLayoutMapTitle
- # adb shell
-- NOTE - verify mount point using cat /proc/mounts
- # mount -o rw,remount -t ext4 /dev/block/mmcblk0p1 /system
- # exit
- # adb push asusec.kl /system/usr/keylayout
- # adb shell
- # cd /system/usr/keylayout
- # chmod 644 asusec.kl
- # cd /
- # mount -o ro,remount -t ext4 /dev/block/mmcblk0p1 /system
- # exit
- # adb reboot
im surprised this has had no replies....this is something we really need
cmon guys, lets figure this out
this would be great!
i think it would good to see also
I too have found myself needing a window switcher key on the keyboard, it just makes sense, or at least an "alt-tab" function.
I'm another person who would love to have a recent apps key!
I wish asus had dropped that left Fn key for a recent apps key, makes so much more sense.
could the app 'Tasker' be used to acheive this?
Yes excellent idea, and maybe someone can come up with a way to remap the shortcut/keys to allow you have your own browser shortcut used instead on the default one, for one example
I'm not sure that the function is actually available to map to a physical keyboard at the moment. From google's docs:
public static final int KEYCODE_APP_SWITCH
Key code constant: App switch key. Should bring up the application switcher dialog.
Constant Value: 187 (0x000000bb)
Click to expand...
Click to collapse
Notice the 'Should' comment (emphasis added). None of the other keys have ambiguous language like that.
Also, using KeyEvent Scanner (from the market) doesn't return anything when the on-screen app switcher button is pushed. I didn't see anything in logcat either, but I didn't take a very close look. I'm out of ideas for now.
+1 for this, hopefully resurrecting this thread will reignite some dev'in
My plan was to edit the .kl file to map my wireless key (right beside Back/ESC) to Recent Apps...very strange too that Google has placed such an emphasis on 'should' in the docs...maybe 3.2 is more reliable at this??
Cheers
Haven't looked at this in a long time. Alt-Tab works now, so I guess that does the job though.
You're right! It will suffice I guess, but a one button hit would be best no doubt Funny because I thought it wouldn't work for me, but I first tested it while I was in Firefox. It still does not work while using Firefox, but in all other apps, it works.
To be greedy, it'd also be nice if CTRL+left/right arrow key jumped the carat to the beginning of words
Thanks for the ALT-TAB tip too bedoig!
I spent so long looking into keychars and keylayouts with a bluetooth keyboard on a Motorola Xoom. I went through and remapped a whole bunch of things - one of which was indeed APP_SWITCH.
It didn't do anything on 3.0 and 3.1, BUT when I updated to 3.2, it started magically working. I'm assuming that the same thing would happen here, though I haven't tried. Also, you could pull off remapping keys without adb if you buy root explorer. That way you can navigate to the files on your tablet and edit them directly.
I'd love to be able to change the "search" button to an app switch key.... but I don't know enough to do what the above suggests at the moment.
N/M, outdated...
Esoth said:
I spent so long looking into keychars and keylayouts with a bluetooth keyboard on a Motorola Xoom. I went through and remapped a whole bunch of things - one of which was indeed APP_SWITCH.
It didn't do anything on 3.0 and 3.1, BUT when I updated to 3.2, it started magically working. I'm assuming that the same thing would happen here, though I haven't tried. Also, you could pull off remapping keys without adb if you buy root explorer. That way you can navigate to the files on your tablet and edit them directly.
Click to expand...
Click to collapse
What do you know, it works! I was hoping it would activate the recent apps list you get when using the on-screen button rather than the alt-tab Android 2.x style pop-up, but oh well.
I really hope this changes when ICS comes along!
bedoig said:
Edit - Aug-19-2011 - This works as of Android 3.2, but it brings up the old style (non-honeycomb) recent apps list. This is apparently what Asus has Alt-Tab mapped as now.
Click to expand...
Click to collapse
sorry if i could help i would good luck hope you get it figured out.

[Q] Feature Question

Is there a way to add 1X1 widgets to a folder? I don't want to bog down my homescreen with a scriptmanager script to run my vacuum/reindex script because I think it'll look ugly.
Also is there a way to get the ICS style recent apps, I'm using task changer pro right now but whenever I set that as my setting nothing happens so i'm just sticking to the default for now. (don't really use it much but it looks cool)
Thanks
P2K
I don't think so for the first question.
I also don't think so for the second, however I do like fast5 task switcher...it puts the last five icons in a row in your notification bar for quick switching.
p2kmafia said:
I don't want to bog down my homescreen with a scriptmanager script to run my vacuum/reindex script because I think it'll look ugly.
Click to expand...
Click to collapse
Why not just put the vacuum/reindex commands in an init.d script so that it does it on boot and you never have to think of it again? For reference, the code in my init.d script is:
Code:
#db cleanup
for i in `find /data -iname "*.db"; do
sqlite3 $i 'VACUUM;';
sqlite3 $i 'REINDEX;';
done;
I rarely reboot my phone and I set the scheduler in SM and I'm never sure whether or not it has run.

Moto Camera on the Idol 3

The Moto G Camera software seems to work very well. It even puts the lenovo camera I've tried before to shame....I tried both picture taking and HD video recording. Very impressed with the camera.
http://forum.xda-developers.com/android/apps-games/flashable-port-moto-camera-fullfilled-t3172783
Please note this camera requires that SELinux be set to "permissive"...you can do that as simple as installing and running the Selinuxchanger app in the moto thread or creating a small scripts to be ran out of /etc/init.d if you run "universal init.d". The instructions I followed for that are here: http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Permissive mode is required by xposed framework and the moto camera as well as several other packages. To get a rough idea how the camera works you can look here but be aware that currently on the port HDR mode and Slow Motion Video do not work. Panorama, burst mode, normal pictures and HD video recording all work just fine.
Universal Init.d says my kernel doesn't support it.
Can I try then Selinux changer app instead ?
Or I found another solution :
Install SuperSU
2. Type this in terminal or adb shellt:
Code:
su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
Did with selinux changer app, set to permissive.. Now we gonna test the cam..
HATE when dalvik needs to be wiped bruuhh.. Anyway, I'm gonna upload some pic for people to see when optimizing is done
Tried and not impressed.. So no photo upload as I deleted the cam.-
Nikola Jovanovic said:
Universal Init.d says my kernel doesn't support it.
Can I try then Selinux changer app instead ?
Or I found another solution :
Install SuperSU
2. Type this in terminal or adb shellt:
Code:
su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
Did with selinux changer app, set to permissive.. Now we gonna test the cam..
HATE when dalvik needs to be wiped bruuhh.. Anyway, I'm gonna upload some pic for people to see when optimizing is done
Tried and not impressed.. So no photo upload as I deleted the cam.-
Click to expand...
Click to collapse
I'm curious about what you didn't like and what you choose to use instead? I thought the camera was very intuitive and the photo's looked good. Touch screen to take a photo...hold down finger to do burst mode...slide finger up to zoom in...slide finger down to zoom out....slide finger around circle to increase or decrease brightness....the hd video went well also.
All that gimmicky features come in handy, but didn't like the processing method.. Pictures with low light are over processed, with washed pixels in the all corners on the picture. But the dev gets my support for porting the app!!!
Sent from hell
Didn't mention what I use.. The stock cam, best light adaptation, sharpness of the pic is nice, little problems with focus but I can pass that. And manual mod is great for night since you have ability to change shutter speed,and Iso..
Sent from hell
Have anyone experienced stock cam crashing during manual shutter speed and white balance setup?
Sent from hell
Nikola Jovanovic said:
Have anyone experienced stock cam crashing during manual shutter speed and white balance setup?
Sent from hell
Click to expand...
Click to collapse
That would be better asked here since it has nothing to do with the motorola camera software: http://forum.xda-developers.com/idol-3/general/camera-performance-t3120133

Categories

Resources