[Q] CM10.1 camera app - Nexus 4 Q&A, Help & Troubleshooting

HI,
So I am in CM10.1 (latest nightlies). I love the customization options of it compared to GAPPS camera. Though CM10 camera (or OVERALL CM10 system) lags/framedrops occasionally, I still like it because it has customization unlike stock camera app.
But I also want to install GAPPS on my device. The problem is once I flash GAPPS, the camera app of CM10 is overwritten.
I tried using Titanium back up prior flashing GAPPS. Since I can't find the camera/gallery app, I just backed up all system apps. Then I flashed gapps. After flashing, I used titanium again to restore all system apps. I restarted the phone, but the cm10 camera app isnt restored.
Is there another way to this? Like selective gapps installation(i have the flashable zip)?
Thanks!

wakoko79 said:
HI,
So I am in CM10.1 (latest nightlies). I love the customization options of it compared to GAPPS camera. Though CM10 camera (or OVERALL CM10 system) lags/framedrops occasionally, I still like it because it has customization unlike stock camera app.
But I also want to install GAPPS on my device. The problem is once I flash GAPPS, the camera app of CM10 is overwritten.
I tried using Titanium back up prior flashing GAPPS. Since I can't find the camera/gallery app, I just backed up all system apps. Then I flashed gapps. After flashing, I used titanium again to restore all system apps. I restarted the phone, but the cm10 camera app isnt restored.
Is there another way to this? Like selective gapps installation(i have the flashable zip)?
Thanks!
Click to expand...
Click to collapse
You could use 7-zip to delete the gallery.apk in system/media in your zip.

traybourne said:
You could use 7-zip to delete the gallery.apk in system/media in your zip.
Click to expand...
Click to collapse
It didn't work.
I checked the gapps package, the apk (gallerygoogle.apk) is NOT in the system/app folder.
It is in optional/photosphere/mako/app.
I believe the package is signed. When I removed gallerygoogle.apk from the mako/app folder, then flashed it, no GAPPS were installed. Not just to camera app, but literally no gapps at all.

wakoko79 said:
It didn't work.
I checked the gapps package, the apk (gallerygoogle.apk) is NOT in the system/app folder.
It is in optional/photosphere/mako/app.
I believe the package is signed. When I removed gallerygoogle.apk from the mako/app folder, then flashed it, no GAPPS were installed. Not just to camera app, but literally no gapps at all.
Click to expand...
Click to collapse
Edit the install-optional.sh script in the G-Apps package to remove reference to photosphere, use wordpad++ to edit it.
This is the part you want to delete
Code:
if (grep -qi "mako" /proc/cpuinfo ); then
echo "Installing Mako-specific google bits"
rm -f /system/app/Gallery2.apk
cp -a /tmp/photosphere/mako/* /system/
cp -a /tmp/photosphere/lib/* /system/lib/
chmod 755 /system/addon.d/73-gapps-mako.sh
fi
if (grep -qi "tuna" /proc/cpuinfo ); then
echo "Installing Tuna-specific google bits"
rm -f /system/app/Gallery2.apk
cp -a /tmp/photosphere/tuna/* /system/
cp -a /tmp/photosphere/lib/* /system/lib/
chmod 755 /system/addon.d/74-gapps-tuna.sh
fi
if (grep -qi "manta" /proc/cpuinfo ); then
echo "Installing Manta-specific google bits"
rm -f /system/app/Gallery2.apk
cp -a /tmp/photosphere/manta/* /system/
cp -a /tmp/photosphere/lib/* /system/lib/
chmod 755 /system/addon.d/75-gapps-manta.sh
fi

Related

Help Installing Latest CyanogenMod 5.0.8DS

So I just updated my Amon Ra's recovery to 1.7
I really don't know how to install CyanogenMod...
and Need to backup my apps
Thanks in Advance!
my info below
The Cyanogen Mod thread is here. You just need to flash his build, then (optionally) flash the google apps package. If you're coming from an earlier CM release you should not need to wipe.
As for backing up your apps, fire up the terminal...
mkdir /sdcard/apps
mkdir /sdcard/app-private
cp /data/app/* /sdcard/app
cp /data/app-private/* /sdcard/app-private
Switch /data/... with /system/sd/app and /system/sd/app-private if you're using Apps2SD
AdrianK said:
The Cyanogen Mod thread is here. You just need to flash his build, then (optionally) flash the google apps package. If you're coming from an earlier CM release you should not need to wipe.
As for backing up your apps, fire up the terminal...
mkdir /sdcard/apps
mkdir /sdcard/app-private
cp /data/app/* /sdcard/app
cp /data/app-private/* /sdcard/app-private
Switch /data/... with /system/sd/app and /system/sd/app-private if you're using Apps2SD
Click to expand...
Click to collapse
Sorry but can you re-explain the backing up the apps part..........kinda confused..thnx

[EXPERIMENTAL]-PROJECT JIT-(Just in time)EXPERTS ONLY |Aug 13th|

New as of Saturday August 8th
I will update the files every time I find a problem​
WARNING PLEASE READ:
Project JIT is highly highly experimental! If you are to do this, MAKE A NANDROID BACKUP IN ROM MANAGER OR RECOVERY! There are always chances of something going wrong. I nor anyone else is responsible of what happens.
Experienced users please know the possible risks:
Boot Looping, requiring a restore
Constant FC's
Wiping everything
These are just the risks, please note it is not 100%​
JIT stands for Just in time compiler. It does not like Touchwiz, so download ADW.Launcher or LauncherPro before starting and set it as default.
This whole process is in ADB. If you dont know how, or what it is, DONT DO IT!
Things to do before you start:
-Download a different launcher than TouchWiz
-Make a backup in recovery or Rom Manager
-Did I mention DO A BACKUP!
-If you have an external SD card, pull it out
-Download the vmlibs file
What I expect you to know before you start:
-ADB
-What JIT is
-How this will effect the performance
-The risks
-How its not my fault if you screw your phone over
-How experimental this is
-How to make a nandroid backup
-How to make a nandroid restore
Remember, this is experimental and I cannot guarantee for it to completely work.
Download This- vmlibs.zip
Then follow these steps:
-Make a backup!!!
-Create 2 folders on your internal sdcard: “jit” & “dalbk”
-Extract the vmlibs.zip to the “jit” folder on your sdcard
-Using ADB pull your build.prop
Code:
adb remount
ADB pull /system/build.prop build.prop
-It will place the file in your c:/android/tools folder
-Edit this using notepad, text edit or similiar program.
-Add the following line to the end of the build.prop: dalvik.vm.execution-mode=int:jit
-Edit the following line:dalvik.vm.startheapsize=8m
to: dalvik.vm.startheapsize=12m
-Save the changes
-Push it back to your “jit” folder on the sdcard
Code:
ADB push build.prop /sdcard/jit/build.prop
This will back up your current files. So you can disable jit, but if your phone boot loops, thats why you have A BACKUP!
Code:
ADB shell
su
cp /system/build.prop /sdcard/dalbk/
cp /system/bin/dalvikvm /sdcard/dalbk/
cp /system/lib/libdvm.so /sdcard/dalbk/
cp /system/lib/libnativehelper.so /sdcard/dalbk/
This will enable jit on your phone.
Code:
cd /sdcard/jit/bin
cp -f dalvikvm /system/bin/
busybox chmod 755 /system/bin/dalvikvm
cd /sdcard/jit
cp -f libdvm.so /system/lib/
cp -f libnativehelper.so /system/lib/
cat build.prop >/system/build.prop
chmod 644 /system/lib/libdvm.so
chmod 644 /system/lib/libnativehelper.so
chmod 666 /system/build.prop
sync
reboot recovery
While in recovery, wipe the dalvik cache, this will prevent it from boot looping.
To Disable
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard/dalbk/
cat build.prop >/system/build.prop
cp -f dalvikvm /system/bin
busybox chmod 755 /system/bin/dalvikvm
cp -f libdvm.so /system/lib/
cp -f libnativehelper.so /system/lib/
chmod 644 /system/lib/libdvm.so
chmod 644 /system/lib/libnativehelper.so
chmod 666 /system/build.prop
sync
reboot
If that fails, that is why you have a backup. To restore, go to recovery, click on nandroid, and restore from your backup.
Reserved for future posting
Will this work with the sd card cache hack?
Sent from my SAMSUNG-SGH-I897 using XDA App
LGSilva said:
Will this work with the sd card cache hack?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
It didn't here. Not sure if that is due to other fsckup or the fact that I was running I9k rom with my kernel and sdcard hack...
Restoring to stock to give this a whirl
tommarow I will update the vmlibs file and see if it works better.
Oh, and tell me what your problems are
hansmrtn said:
tommarow I will update the vmlibs file and see if it works better.
Oh, and tell me what your problems are
Click to expand...
Click to collapse
Doesn't boot past the white at&t screen. Again, I was running I9k rom with custom kernel and ext hack, not exactly the cleanest test bed. Flashing stock to test now (can't get into recovery on this thing anyway it seems).
NukaCola said:
Doesn't boot past the white at&t screen. Again, I was running I9k rom with custom kernel and ext hack, not exactly the cleanest test bed. Flashing stock to test now (can't get into recovery on this thing anyway it seems).
Click to expand...
Click to collapse
Hold on. Before you do that, let me up the file.
EDIT:
Here is the updated one, its in the first post too
It should work better. I used it just now, and it works for me
hansmrtn said:
Hold on. Before you do that, let me up the file.
EDIT:
Here is the updated one, its in the first post too
It should work better. I used it just now, and it works for me
Click to expand...
Click to collapse
Too late
Same story with the stock rom and old file, just FYI. Flashing back and trying the new one.
NukaCola said:
Too late
Same story with the stock rom and old file, just FYI. Flashing back and trying the new one.
Click to expand...
Click to collapse
Yeah, thats why I had to fix some stuff lol. I noticed that it wouldnt go past the att screen. Now it should work correctly. The worst that could happen now is it boot loops on the Galaxy S screen
Haha I was just about to post the same problem, downloading new file and trying it again!
Zilch25 said:
Haha I was just about to post the same problem, downloading new file and trying it again!
Click to expand...
Click to collapse
Hey, when you edit the build.prop to add the dalvik vm line, can you look for the vm heap size and change it from 48 to 32? I am about to test doing that, and I would like more feedback
Doh, didn't read this until after applying it all... it's in the process of booting though- it got past the AT&T logo so that's progress!
Zilch25 said:
Doh, didn't read this until after applying it all... it's in the process of booting though- it got past the AT&T logo so that's progress!
Click to expand...
Click to collapse
Dont worry, I will try it
ATM I'm now stuck sitting at the GalaxyS logo, I'm going to give it a little more time, but I suspect it might be stuck.
Zilch25 said:
ATM I'm now stuck sitting at the GalaxyS logo, I'm going to give it a little more time, but I suspect it might be stuck.
Click to expand...
Click to collapse
Do you know how to run a logcat?
Its gonna take a while because its re writing the dalvik cache
That I do not, but I'm willing to try it if you can give me a quick crash course
Zilch25 said:
That I do not, but I'm willing to try it if you can give me a quick crash course
Click to expand...
Click to collapse
Well I am looking at my logcat now, and it is just repeating boot animation.
A logcat is useful, so how you do it is adb logcat.
I changed a couple things to test around with here is what I did-
I added all of this to the build.prop-
#JIT
dalvik.vm.execution-mode=int:jit
and changed:
dalvik.vm.heapsize=48m
to
dalvik.vm.heapsize=32m
Right now I am resorting to try the older vmlibs with the new settings
Ran logcat, it's also trapped at looping animation, and I didn't touch the heapsize
W/BootAnimationSEC< 2194: ms4631 - Repeat Loop Animation
Over and over and over, is there something else in the buffer you'd like me to look for?
Zilch25 said:
Ran logcat, it's also trapped at looping animation, and I didn't touch the heapsize
W/BootAnimationSEC< 2194: ms4631 - Repeat Loop Animation
Over and over and over, is there something else in the buffer you'd like me to look for?
Click to expand...
Click to collapse
No thanks for the feedback. Its only worked for me once, and then when I rebooted it got stuck in a boot loop.
Whats a device thats running android 2.1, and has a jit hack that is extremely similar to the Galaxy S series?

[TOOLS/APP] [CM7/9] dpi/cleaner.zip template & MTP-MassStorage switcher

Hello,
This thread is about two subject. I know, it is odd but considered the enthousism to post about it it would be a waste of anyone's time to have two threads. Besides that, there is not much to say about it anymore, both tools just work.
TOOL 1: CWM flashable tool to clean unwanted apps and sounds and set your desired dpi on the go. You won't even notice you upgraded of you don't look for it!
-sets DPI to 210
-removes a lot of apps and sounds
-wipe cache and dalvic cache
-fix permissions RomManager way​
I understand that nobody has the same preferences I have so the .zip file is setup as simple as possible and can easily be adjusted:
dpi setting:
change the value in the setdpi.sh script​remove apps, sounds, files:
change the cleaner.sh script (done in a sh script because it is very easy to read and almost impossible to **** other things up​tweaks:
adjust the tweaks folder in the zip to your likings.​
To modify the .sh scripts I use Notepad++
To repack the zip i use 7zip. It is not signed anyway so you dont need to bother that
How to use the dpi_cleaner_V1g.zip:
-boot into CWM
-flash the CyanogenMod upgrade (either a nightly, a stable or a snapshot)
-flash dpi_cleaner_Vxx.zip
-flash a kernel (or not, just what you like)
-reboot, done​
Or in RomManager:
-tick "Advanced Mode" in RomManagers Settings
-choose "install Rom from SD card"
-browse to the desired CyanogenMod build and select.
-choose "add zipp"
-browse to dpi_cleaner_V1g.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
Previous versions could be used as a cleaning script like Lippols but I removed it, Lippol is now removing modules as well. I don't know why but he does it. If I would include that feature you couldn't stay at stock kernel but needed a custom kernel.
I commented this out in the cleaner.sh. If you like it you can uncomment it but I don't recommend it. The nightly itself will fix it anyway!
Download it here:
CM7_dpi_cleaner_V1g.zip - mediafire.com
CM9_dpi_cleaner_V2b.zip - mediafire.com
credits for: Chainfire, Muff99, Backhead92, Lippol94, WiwiPouPou and FadeFx (and many more!)
On request: major part of cleaner.sh to see what will be removed.
YOU SHOULD EDIT THIS YOURSELF
cleaner.sh for CM7 - pastebin
cleaner.sh for CM9 - pastebin
TOOL 2: USB mode switch for SGS1 on CM
This miniature app is to change your usb mode from MTP to mass storage and vice versa.
It will only work on the Samsung GalaxyS running ICS by teamhacksung. In time it will be redundant because I think this function will be incorporated by the rom.
FROM NOW ON YOU CAN FIND THE FUNCTION OF THIS APP NATIVELY IN CM9. IT IS UNDER SETTINGS-STORAGE-MENU BUTTON. THANKS FOR USING!
It needs USB-debugging enabled (and a Samsung GalaxyS with rootacces of course)​
Download it on Google Play.
Changes:
V1b
-Upgraded to GAPPS 613, me and others had problems with market and I don't care about the video on talk anymore.
-Removed additional fixing permissions, not needed since they are in CM7 updater-script as well.
-unmount /system and /data when the script is finished flashing
V1c
-Updated cleaning script with modules, logger.co and more init.d scripts (in line with lippols V2)
-Removing also FM.apk, I prefer Spirit FM app nowadays (although the dev of it doesn't anymore)
V1d
-Cleaned the cleaner.sh. Now it is not removing init.d anymore. I removed this because I started thinking about he purpose of my script. It is not needed in here because the nightly will take care of the init.d. Besides that, Lippol is now also deleting the modules. If I did the same you couldn't use the stock kernel with this script.
-Repaired the dalvic-cleaning, before it didn't really clean the part in /data, now it does.
V1e
-new mounting with thanks to Muff99. Before it was more or less accidental that the dalvic-cache in /data was cleaned. Now it is the result of the updater-script. Before it was in the cleaner.sh. Also the logger.ko is now actually removed, before it wasn't.
It is still the gapps 613 because the new market sucks with slower internet connection.
V1f
- added the "stackable mounts" for the time being. I hope this will bring it to the nightlies, it is a good feature. also added the "umsdirtyratio" to speed up USB transfer speeds. And, last but not least, updated the FadeFx tweaks, should improve GPS performance (for us Europeans).
V1g
-removed FadeFx tweaks and changed bootanimation. Stopped adding Gapps, if you want to flash them, do it yourself!
cm101_sX_dpi.zip
- by special request, a version that sets dpi to 210 (SGS1) or 241(sgs3). To be flashed in cwm, both have an addon.d script that will keep the dpi set to 210 on the Samsung Galaxy S GT-i9000 or 241 on the Samsung Galaxy S GT-i9300. And, as a special feature: some output during flashing the nightly, first seen on this addon script (with ofc still a huge thanks to Chainfire).
Thanks Zatta, I'll adjust it to my needs and try it with the next nightly.
It saves some finetuning time after each update.
Sent from my GT-I9000 using XDA Premium App
Do i need to change also the updater-script if i don´t want to remove a specific apk or is it enough to change the cleaner.sh?
CitizenX said:
Do i need to change also the updater-script if i don´t want to remove a specific apk or is it enough to change the cleaner.sh?
Click to expand...
Click to collapse
Just the cleaner. Did you notice that there are also most sounds and ringtones to be cleaned, maybe you like to keep those (or some) as well...
Tapatalked u see
Thanks, yes i saw that, already chnaged the script a little bit.
Zatta said:
Hello,
I am using CM7 for quite a while. Since it got into CM-mainline the flashingrate increased dramaticaly and so did the neccesairy steps to update lately.
So, I created a cwm-flashable zip to do all tasks that I do in one step:
-Flash GAPPS with video for talk: gapps-gb-2011503
-install some tweaks (from FadeFX): Angry GPS with .conf file and nice bootanimation
-sets DPI to 210
-removes a lot of apps, sounds and init.d files (like Lippol94s script and more)
-wipe cache and dalvic cache
-fix permissions RomManager way
-fix additions permissions FadeFx way​
I understand that nobody has the same preferences I have so the .zip file is setup as simple as possible and can easily be adjusted:
dpi setting:
change the value in the setdpi.sh script​remove apps, sounds, files:
change the cleaner.sh script (done in a sh script because it is very easy to read and alost impossible to **** other things up​tweaks:
adjust the tweaks folder in the zip to your likings.​
To modify the .sh scripts I use Notepad++
To repack the zip i use 7zip. It is not signed anyway so you dont need to bother that
How to use the gapps_dpi_cleaner.zip:
-boot into CWM
-format /system
-flash cm_galaxysmtd_full-X.zip
-flash gapps_dpi_cleaner.zip
-flash a kernel (or not, just what you like)
-reboot, done​
Or in RomManager:
-tick advanced in options
-choose "install Rom from SD card"
-browse to the cm_galaxysmtd_full-X.zip and select
-choose "ad zipp"
-browse to gapps_dpi_cleaner.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
It can also be used before flashing a kernel only, the famous Lippol94 script is included.
Where to download?
Download it here: http://dl.dropbox.com/u/33044194/gapps_dpi_cleaner.zip
credits for: Chainfire, Backhead92, Lippol94, WiwiPouPou and FadeFx (and many more!)
Note:
I found out that Derrzredeem has done pretty much te same though I like mine better and more easy to adjust hahaha :
http://forum.xda-developers.com/showthread.php?t=1127758
On request: major part of cleaner.sh to see what will be removed.
YOU SHOULD EDIT THIS YOURSELF
Code:
# --- actual script for removing various things ---
# inspired by Insanity Roms and Backhead92
# cleaning init.d inspired by Lippol94 and others
ui_print " Removing unwanted system apps";
rm /system/app/ADWLauncher.apk
rm /system/app/Androidian.apk
rm /system/app/BooksPhone.apk
rm /system/app/GenieWidget.apk
rm /system/app/Calculator.apk
rm /system/app/Calendar.apk
rm /system/app/CalendarProvider.apk
rm /system/app/CarHomeGoogle.apk
rm /system/app/CMWallpapers.apk
rm /system/app/Cyanbread.apk
rm /system/app/DeskClock.apk
rm /system/app/Development.apk
rm /system/app/DSPManager.apk
rm /system/app/Email.apk
rm /system/app/FileManager.apk
rm /system/app/GoogleQuickSearchBox.apk
rm /system/app/HTMLViewer.apk
rm /system/app/Protips.apk
rm /system/app/SoundRecorder.apk
rm /system/app/SpareParts.apk
rm /system/app/Stk.apk
rm /system/app/VisualizationWallpapers.apk
rm /system/app/VoiceDialer.apk
rm /system/fonts/DroidSansArabic.ttf
rm /system/fonts/DroidSansFallback.ttf
rm /system/fonts/DroidSansHebrew.ttf
rm /system/fonts/DroidSansThai.ttf
ui_print " Removing unwanted sounds";
rm /system/media/audio/alarms/Alarm_Beep_01.ogg
rm /system/media/audio/alarms/Alarm_Beep_02.ogg
rm /system/media/audio/alarms/Alarm_Buzzer.ogg
rm /system/media/audio/alarms/Alarm_Classic.ogg
rm /system/media/audio/alarms/Alarm_Rooster_02.ogg
rm /system/media/audio/notifications/Aldebaran.ogg
rm /system/media/audio/notifications/Altair.ogg
rm /system/media/audio/notifications/Antares.ogg
rm /system/media/audio/notifications/arcturus.ogg
rm /system/media/audio/notifications/Beat_Box_Android.ogg
rm /system/media/audio/notifications/Betelgeuse.ogg
rm /system/media/audio/notifications/CaffeineSnake.ogg
rm /system/media/audio/notifications/Canopus.ogg
rm /system/media/audio/notifications/Capella.ogg
rm /system/media/audio/notifications/Castor.ogg
rm /system/media/audio/notifications/CetiAlpha.ogg
rm /system/media/audio/notifications/Cricket.ogg
rm /system/media/audio/notifications/DearDeer.ogg
rm /system/media/audio/notifications/Drip.ogg
rm /system/media/audio/notifications/F1_MissedCall.ogg
rm /system/media/audio/notifications/F1_New_MMS.ogg
rm /system/media/audio/notifications/F1_New_SMS.ogg
rm /system/media/audio/notifications/Fomalhaut.ogg
rm /system/media/audio/notifications/Heaven.ogg
rm /system/media/audio/notifications/Highwire.ogg
rm /system/media/audio/notifications/KzurbSonar.ogg
rm /system/media/audio/notifications/Merope.ogg
rm /system/media/audio/notifications/moonbeam.ogg
rm /system/media/audio/notifications/pixiedust.ogg
rm /system/media/audio/notifications/pizzicato.ogg
rm /system/media/audio/notifications/Plastic_Pipe.ogg
rm /system/media/audio/notifications/Polaris.ogg
rm /system/media/audio/notifications/Pollux.ogg
rm /system/media/audio/notifications/Procyon.ogg
rm /system/media/audio/notifications/regulus.ogg
rm /system/media/audio/notifications/sirius.ogg
rm /system/media/audio/notifications/Sirrah.ogg
rm /system/media/audio/notifications/SpaceSeed.ogg
rm /system/media/audio/notifications/TaDa.ogg
rm /system/media/audio/notifications/Tinkerbell.ogg
rm /system/media/audio/notifications/tweeters.ogg
rm /system/media/audio/notifications/vega.ogg
rm /system/media/audio/notifications/Voila.ogg
rm /system/media/audio/ringtones/ANDROMEDA.ogg
rm /system/media/audio/ringtones/Aquila.ogg
rm /system/media/audio/ringtones/ArgoNavis.ogg
rm /system/media/audio/ringtones/BeatPlucker.ogg
rm /system/media/audio/ringtones/BentleyDubs.ogg
rm /system/media/audio/ringtones/Big_Easy.ogg
rm /system/media/audio/ringtones/BirdLoop.ogg
rm /system/media/audio/ringtones/Bollywood.ogg
rm /system/media/audio/ringtones/BOOTES.ogg
rm /system/media/audio/ringtones/BussaMove.ogg
rm /system/media/audio/ringtones/Cairo.ogg
rm /system/media/audio/ringtones/Calypso_Steel.ogg
rm /system/media/audio/ringtones/CANISMAJOR.ogg
rm /system/media/audio/ringtones/CaribbeanIce.ogg
rm /system/media/audio/ringtones/Carina.ogg
rm /system/media/audio/ringtones/CASSIOPEIA.ogg
rm /system/media/audio/ringtones/Centaurus.ogg
rm /system/media/audio/ringtones/Champagne_Edition.ogg
rm /system/media/audio/ringtones/Club_Cubano.ogg
rm /system/media/audio/ringtones/CrayonRock.ogg
rm /system/media/audio/ringtones/CrazyDream.ogg
rm /system/media/audio/ringtones/CurveBall.ogg
rm /system/media/audio/ringtones/Cygnus.ogg
rm /system/media/audio/ringtones/DancinFool.ogg
rm /system/media/audio/ringtones/Ding.ogg
rm /system/media/audio/ringtones/DonMessWivIt.ogg
rm /system/media/audio/ringtones/Draco.ogg
rm /system/media/audio/ringtones/DreamTheme.ogg
rm /system/media/audio/ringtones/Eastern_Sky.ogg
rm /system/media/audio/ringtones/Eridani.ogg
rm /system/media/audio/ringtones/EtherShake.ogg
rm /system/media/audio/ringtones/FreeFlight.ogg
rm /system/media/audio/ringtones/FriendlyGhost.ogg
rm /system/media/audio/ringtones/Funk_Yall.ogg
rm /system/media/audio/ringtones/GameOverGuitar.ogg
rm /system/media/audio/ringtones/Gimme_Mo_Town.ogg
rm /system/media/audio/ringtones/Glacial_Groove.ogg
rm /system/media/audio/ringtones/Growl.ogg
rm /system/media/audio/ringtones/HalfwayHome.ogg
rm /system/media/audio/ringtones/hydra.ogg
rm /system/media/audio/ringtones/InsertCoin.ogg
rm /system/media/audio/ringtones/LoopyLounge.ogg
rm /system/media/audio/ringtones/LoveFlute.ogg
rm /system/media/audio/ringtones/Lyra.ogg
rm /system/media/audio/ringtones/Machina.ogg
rm /system/media/audio/ringtones/MidEvilJaunt.ogg
rm /system/media/audio/ringtones/MildlyAlarming.ogg
rm /system/media/audio/ringtones/Nairobi.ogg
rm /system/media/audio/ringtones/Nassau.ogg
rm /system/media/audio/ringtones/NewPlayer.ogg
rm /system/media/audio/ringtones/Noises1.ogg
rm /system/media/audio/ringtones/Noises2.ogg
rm /system/media/audio/ringtones/Noises3.ogg
rm /system/media/audio/ringtones/No_Limits.ogg
rm /system/media/audio/ringtones/OrganDub.ogg
rm /system/media/audio/ringtones/Orion.ogg
rm /system/media/audio/ringtones/Paradise_Island.ogg
rm /system/media/audio/ringtones/Pegasus.ogg
rm /system/media/audio/ringtones/PERSEUS.ogg
rm /system/media/audio/ringtones/Playa.ogg
rm /system/media/audio/ringtones/Pyxis.ogg
rm /system/media/audio/ringtones/Revelation.ogg
rm /system/media/audio/ringtones/Rigel.ogg
rm /system/media/audio/ringtones/Ring_Classic_02.ogg
rm /system/media/audio/ringtones/Ring_Digital_02.ogg
rm /system/media/audio/ringtones/Ring_Synth_02.ogg
rm /system/media/audio/ringtones/Ring_Synth_04.ogg
rm /system/media/audio/ringtones/Road_Trip.ogg
rm /system/media/audio/ringtones/RomancingTheTone.ogg
rm /system/media/audio/ringtones/Safari.ogg
rm /system/media/audio/ringtones/Savannah.ogg
rm /system/media/audio/ringtones/Scarabaeus.ogg
rm /system/media/audio/ringtones/Sceptrum.ogg
rm /system/media/audio/ringtones/Seville.ogg
rm /system/media/audio/ringtones/Shes_All_That.ogg
rm /system/media/audio/ringtones/SilkyWay.ogg
rm /system/media/audio/ringtones/SitarVsSitar.ogg
rm /system/media/audio/ringtones/Solarium.ogg
rm /system/media/audio/ringtones/SpringyJalopy.ogg
rm /system/media/audio/ringtones/Steppin_Out.ogg
rm /system/media/audio/ringtones/Terminated.ogg
rm /system/media/audio/ringtones/Testudo.ogg
rm /system/media/audio/ringtones/Third_Eye.ogg
rm /system/media/audio/ringtones/Thunderfoot.ogg
rm /system/media/audio/ringtones/TwirlAway.ogg
rm /system/media/audio/ringtones/URSAMINOR.ogg
rm /system/media/audio/ringtones/VeryAlarmed.ogg
rm /system/media/audio/ringtones/Vespa.ogg
rm /system/media/audio/ringtones/World.ogg
rm /system/media/audio/ui/camera_click.ogg
rm /system/media/audio/ui/LowBattery.ogg
rm -r /system/tts/
ui_print " Cleaning init.d files";
rm /system/etc/init.d/89system_tweak
rm /system/etc/init.d/S98system_tweak
rm /system/etc/init.d/90screenstate_scaling
rm /system/etc/init.d/S98screenstate_scaling
rm /system/etc/init.d/04modules
rm /system/etc/init.d/70zipalign
rm /system/etc/init.d/S70zipalign
rm /system/etc/init.d/S97ramscript
rm /system/etc/init.d/S98SD
rm /system/etc/init.d/07defaulttheme
rm /system/etc/init.d/00banner
rm /system/etc/init.d/02firstboot
rm /system/etc/init.d/S90scheduler
rm /system/etc/init.d/S_volt_scheduler
ui_print " Fixing permissions";
progress 0.50 5;
sleep 3s;
set_progress 1.00;
fix_permissions
#sleep 3s;
Click to expand...
Click to collapse
The "addzip" in RM hasn't worked on CWM_v.4.0.x. It worked only on CWM_v3.x.
saszseb said:
The "addzip" in RM hasn't worked on CWM_v.4.0.x. It worked only on CWM_v3.x.
Click to expand...
Click to collapse
That is correct, I hoped actually that this issue would get corrected somewhere in the recent past. Now I'll wait for the (near) future.
Edit: also backup from RM does not work on CWM 4, it has issues.. That is not related to my zip.
Tapatalked u see
Wonderful!
I currently manually remove things from CM7 I don't need (flash a 1 nightly per week, but still quite some work). Will adapt your script to suit my needs
on cm nigltly 29 i think wifi worked ~10 min... but that's another problem
thank you for the script
Just flashed it on #36:
-from #34 boot in cwm with "reboot to recovery"
-flashed cm7_galaxysmtd_full-36.zip
-flashed gapps_dpi_cleaner.zip
-rebooted. Got stuck on the bootanimation (or got impatient, but waited a couple of minutes)
-rebooted again by pressing the powerbutton for some time
Now running in stock kernel to test it somewhat. Google acounts are still intact, I did not format /sytem.
Hmm, might not be related, but also could be .
First of all thanks! Saves me 7 minutes after every flash
The issue:
Today I wasnt able to update apps, it was just unsuccessful from the market. (or install)
1. cleaned market data > didnt help
2. uninstalled updates > erased market
3. installed gapps > market still gone
4. run your scritp again (this time with the vending from 613) > works
So anyone else experiencing this? Is the market in your script somehow different? Or something else was wrong on install
Just asking if anyone else from here has it. If not I will search somewhere else (have some other ideas which did something to the market, but this started after I started using the script, might be coincidence or not )
Nice to read that someone is using my script with succes, I do it every time myself offcourse.
Today I had also some problems with market, just wrote about it on the CM7 mainthread. Eventually, after doing everything the script does manually and flashing two earlier builds without using my script, market still didn't work. At the end I did an factory reset, inconvenient enough!
With the vending from 613 you mean the newer gapps, as in gapps-gb-2011613.zip ?
I am using the older, withdrawn gapps-gb-2011503.zip within my script to be able to use ffc in talk (not that I use it but it's nice to have...)
What are your other ideas about the market? Maybe I'll change the whole gapps packet to 0613 if more people are facing this problem. Or maybe just leave the talk thing with .so and update the rest, I don't know where this thing is going anyway
Zatta said:
Nice to read that someone is using my script with succes, I do it every time myself offcourse.
Today I had also some problems with market, just wrote about it on the CM7 mainthread. Eventually, after doing everything the script does manually and flashing two earlier builds without using my script, market still didn't work. At the end I did an factory reset, inconvenient enough!
With the vending from 613 you mean the newer gapps, as in gapps-gb-2011613.zip ?
I am using the older, withdrawn gapps-gb-2011503.zip within my script to be able to use ffc in talk (not that I use it but it's nice to have...)
What are your other ideas about the market? Maybe I'll change the whole gapps packet to 0613 if more people are facing this problem. Or maybe just leave the talk thing with .so and update the rest, I don't know where this thing is going anyway
Click to expand...
Click to collapse
Ah yes I meant the new gapps as you wrote . The others, was using chainfire 3d fix for market but that was long ago. So I guess it was the market from the 5 in our case if you experienced it too. So wouldn't be so bad to change them. Btw from the 5 vs 6 I think only market and talk are different all other apps had the same size I guess.
But the fix was easy enough. As said changed the apps in your script and done
again thx
Sent from my GT-I9000 using Tapatalk
I had some gapps problems the first time I used your script. Since then, I switched back to doing all the work manually (using the latest gapps) and don't have problems with gapps anymore...
Means I will change to 613 gasps, including talk. I don't use video calls myself anyway. Update tonight: done!
Edit: Today, 28th of June, I flashed build#41:
format /system
flash cm_galaxysmtd_full-41.zip
flash G613_dpi_cleaner.zip
Everything perfect!
Zatta said:
Or in RomManager (did not work on builds #30 up to #35, flawless since #36):
-tick advanced in options
-choose "install Rom from SD card"
-browse to the cm_galaxysmtd_full-X.zip and select
-choose "add zipp"
-browse to G613_dpi_cleaner_V1B.zip
-continue as you like, dont need to wipe dalvic, it is in the zip.​
Click to expand...
Click to collapse
where is the "add zipp" option? When I select the ROM-zip I only get the wipe/backup options and that's it?
Edit: never mind, I had to use the advanced options in the settings...
Added that to the "How to use" in the op, thanks. Personally I don't use the RomManager way anymore because as a precaution I do the "format /system" trick, though Antin anounched that the problem that is solved by this trick is not in CM anymore. Will you let me know if it worked for you?
This is a great little tool, it's saved me so much time! Will you continue to update and support it with new versions of gapps etc.? Thanks
What a surprise to see someone actually use it, I already started to think I was the only one
Actually, I am testing/using a different approach with the same goal but this only works with fugumod kernel and has a difficult "howto" so I can't post it here (yet).
To give you an idea: one (flashable) script to find latest nightly on your sd, latest gapps, a modified version of the zip in this thread and latest fugumod and run all that in cwm.
But, progress is slow since I am not a die hard coder and have to spent numerous hours to get it all running without bugs.
If you would like to see how far I got, sent a pm.
Tapatalked u see

[Q] galaxy y s5360 DDMD1 problem

I have flashed ddmd1(latest stock firmware) using odin. After that flashed the DE-ODEX zip file using CWM . After starting the device, when switching on the WIFI, rom stucked, gone into a startup loop . Same happening with the ODEX version . ***Need help***
Also cant flash any custom kernel to DDMD1. If there's any in somebody's knowing please share.
surajbecks said:
I have flashed ddmd1(latest stock firmware) using odin. After that flashed the DE-ODEX zip file using CWM . After starting the device, when switching on the WIFI, rom stucked, gone into a startup loop . Same happening with the ODEX version . ***Need help***
Also cant flash any custom kernel to DDMD1. If there's any in somebody's knowing please share.
Click to expand...
Click to collapse
which deodex zip u used?
also to get wifi working, flash this through cwm. mount everything before flash. credits: @whitexp
SaketJoshi said:
which deodex zip u used?
also to get wifi working, flash this through cwm. mount everything before flash. credits: @whitexp
Click to expand...
Click to collapse
the odex and de-odex specified in the link below
http://forum.xda-developers.com/showthread.php?t=2351623
surajbecks said:
the odex and de-odex specified in the link below
http://forum.xda-developers.com/showthread.php?t=2351623
Click to expand...
Click to collapse
you may follow this guide to deodex your ddmd1. tested and 100% working
u need rooted phone
just in the adb shell codes,
use these codes:
remember to put email.apk and email.odex in done-app
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
busybox cp /sdcard/done_app/*.* /system/app/
rm /system/framework/*.odex
busybox cp /sdcard/done_frame/*.* /system/framework/
mount -o ro,remount /system/ /system/
reboot
SaketJoshi said:
you may follow this guide to deodex your ddmd1. tested and 100% working
u need rooted phone
just in the adb shell codes,
use these codes:
remember to put email.apk and email.odex in done-app
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
busybox cp /sdcard/done_app/*.* /system/app/
rm /system/framework/*.odex
busybox cp /sdcard/done_frame/*.* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Click to expand...
Click to collapse
what will be inside done_frame folder.
why copying email.odex
surajbecks said:
what will be inside done_frame folder.
why copying email.odex
Click to expand...
Click to collapse
done_app will have all the deodexed apps like settings, dialer, phone and others
done_frame will have framework files like framework-res, android.policy.jar
as email cannot be deodexed, we need to copy both email.apk and email.odex, else you'll get a bootloop
SaketJoshi said:
done_app will have all the deodexed apps like settings, dialer, phone and others
done_frame will have framework files like framework-res, android.policy.jar
as email cannot be deodexed, we need to copy both email.apk and email.odex, else you'll get a bootloop
Click to expand...
Click to collapse
so, do i need any framework files............. or just leave it blank
surajbecks said:
so, do i need any framework files............. or just leave it blank
Click to expand...
Click to collapse
just follow the instructions in the link. you cannot leave it blank. also remember to copy email.odex and .apk in done_app and use the code i provided
and everything will be fine
SaketJoshi said:
just follow the instructions in the link. you cannot leave it blank. also remember to copy email.odex and .apk in done_app and use the code i provided
and everything will be fine
Click to expand...
Click to collapse
which link ............... ????????????????????
surajbecks said:
which link ............... ????????????????????
Click to expand...
Click to collapse
you may follow this guide to deodex your ddmd1. tested and 100% working
u need rooted phone
just in the adb shell codes,
use these codes:
remember to put email.apk and email.odex in done-app
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
busybox cp /sdcard/done_app/*.* /system/app/
rm /system/framework/*.odex
busybox cp /sdcard/done_frame/*.* /system/framework/
mount -o ro,remount /system/ /system/
reboot
sorry frnd, its near about 3.30am here and i would like to sleep. press thanks if i helped you.

[MOD] [I8200N] deodexed stock rom apps

DEODEXED APPS​
Here is the stock app and framework files from new firmware I8200NXXUAOA1 for Samsung Galaxy VE (I8200N).It have all apps so and the bloatware.After install you can delete any bloatware you want.Maybe it is safe for all versions!!!
What is Odex and Deodex ROM
What is an ODEX file?
In Android file system, applications come in packages with the extension .apk.
These application packages, or APKs contain certain .odex files whose supposed function is to save space.
These ‘odex’ files are actually collections of parts of an application that are optimized before booting.
Doing so speeds up the boot process, as it preloads part of an application.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
What is an DEODEX file?
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
So, Deodexed ROMs (or APKs) have all their application packages put back together in one place,
allowing for easy modification such as theming. Since no pieces of code are coming from any external location,
custom ROMs or APKs are always deodexed to ensure integrity.
all apps are full working and not yet any bugs
Code:
[COLOR="red"][B][U]* I can give ABSOLUTLEY no gurantee!!
All you do with your phone will be on your own.
I'm not responsible if your phone will brick or whatever...[/U][/B][/COLOR]
Code:
[B][COLOR="Red"]Rrequirements :[/COLOR][/B]
[B]Root [URL="http://forum.xda-developers.com/galaxy-s3-mini/general/s-iii-mini-ve-i8200-n-t2826565"]Hot To Root[/URL]
Adb [URL="http://forum.xda-developers.com/showthread.php?t=2588979"]How to Install[/URL]
Phone drivers[/B]
How To Install :
1. download the zip file
2. extract it
3. connect your phone
4. usb debugging on
3. paste the app and framework file into
GT-I8200N\Card folder which you find it on your computer
4 .install adb drivers
5. open cmd and type
Code:
adb shell
[COLOR="red"][I][SIZE="3"](if you are using adb shell in su for the first time,
keep phone screen on.
After entering "su" code, super user request prompt in phone.
Press allow )[/SIZE][/I][/COLOR]
su
stop
mount -o rw,remount /system/ /system/
cp /storage/extSdCard/app/* /system/app/ (wait...)
rm /system/app/*.odex (wait...)
cp /storage/extSdCard/framework/* /system/framework/ (wait...)
rm /system/framework/*.odex (wait...)
mount -o ro,remount /system/ /system/
reboot
How To check if you done
1. open cmd and type
Code:
adb shell
su
cd /system/app
or
cd /system/framework
ls
2. now you see all your system apps.if doesnt exist .odex file and you dont have any errors or bugs your ok
DOWNLOAD:
the file
credits:
@Snoop05 for adb installer
@j.posarekar70 for deodex guide
This work for the version i8200L?
Nice all ok
Test done
SAMSUNG
GALAXY S3 MINI
GT-I8200N
Willian182 said:
This work for the version i8200L?
Click to expand...
Click to collapse
try it i dont know.take a backup first.maybe you have error with nfc you can delete the apk .try it and tell me please
..................
Como lo descargo soy nuevo en esto.
Sent from my GT-I8200N using XDA Free mobile app
Thanks for this apps pack! It saves my phone. Best regards.
download link
download link is broken
Is it possible to unroot the deodexed stock rom?
I got some Apps which refuse to work if they detect a rooted phone...

Categories

Resources