Help Installing Latest CyanogenMod 5.0.8DS - myTouch 3G, Magic General

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

Related

deodex file

Hi guys
I'd manage to manually deodex the app and framework file from my stock rom. The problem are I can't push them either thru adb nor update.zip. Been googling around but can't really get a correct adb command for sgs. I need to push these files so that I can install themes. Anybody who can guide please help. Thanks in advance.
You need super user permission to push things into read only memory. So you would need to go through adb shell, mount whatever folder framework is in to readable, etc.
snapper.fishes said:
You need super user permission to push things into read only memory. So you would need to go through adb shell, mount whatever folder framework is in to readable, etc.
Click to expand...
Click to collapse
Hi snapper.fishes
By the way, I got superuser permission. The only problem I don't know the correct command for the adb shell - su - mount etc, etc....
This are the command I got from Droid forum but it does not work for SGS I guest.
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Anybody got any idea?
Try this:
adb shell
su
mount -o rw,remount /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system
reboot
Sent from my GT-I9000 using XDA App
g00ndu said:
Try this:
adb shell
su
mount -o rw,remount /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system
reboot
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Thanks for the tips g00ndu. If I push those deodex file, they will overide and delete all the odex file right? Should I disable the universal lagfix first and is it safe pushing deodex file this way?
angiogram said:
Thanks for the tips g00ndu. If I push those deodex file, they will overide and delete all the odex file right? Should I disable the universal lagfix first and is it safe pushing deodex file this way?
Click to expand...
Click to collapse
I say remove the lagfix first. It's not necessary, but if you do screw up your phone you are going to have to reflash your phone, and the last thing you want to do is to flash your phone with lagfix on.
angiogram said:
Thanks for the tips g00ndu. If I push those deodex file, they will overide and delete all the odex file right? Should I disable the universal lagfix first and is it safe pushing deodex file this way?
Click to expand...
Click to collapse
It's been a long time since I pushed files this way. Right now I'm using update zips and flash it via ulfk. Reason: it is much more simpler and more effective. If I remember correctly, your apk files need to be deleted too before you can push your deodexed apks and jars files to the system folder if you do it via adb.
Besides, I would not advocate this method of pushing through adb, bcos, there is always chances that your /system, /data partitions may result in data corruption.
Try using update zip.
Sent from my GT-I9000 using XDA App
g00ndu said:
It's been a long time since I pushed files this way. Right now I'm using update zips and flash it via ulfk. Reason: it is much more simpler and more effective. If I remember correctly, your apk files need to be deleted too before you can push your deodexed apks and jars files to the system folder if you do it via adb.
Besides, I would not advocate this method of pushing through adb, bcos, there is always chances that your /system, /data partitions may result in data corruption.
Try using update zip.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Thanks for your reply g00ndu. I've already try that. But after the zip file updated nothing happen. Maybe the zip creator that I use is not compatible with sgs. Can you kindly link to the correct source for sgs. Or maybe you can post the file and tutorial here so that we can learn the correct method from you. Thank you so much for that.
Anybody can help?
Deodexing Your Device - Full Step By Step Tutorial
angiogram said:
Hi guys
I'd manage to manually deodex the app and framework file from my stock rom. The problem are I can't push them either thru adb nor update.zip. Been googling around but can't really get a correct adb command for sgs. I need to push these files so that I can install themes. Anybody who can guide please help. Thanks in advance.
Click to expand...
Click to collapse
angiogram said:
Thanks for your reply g00ndu. I've already try that. But after the zip file updated nothing happen. Maybe the zip creator that I use is not compatible with sgs. Can you kindly link to the correct source for sgs. Or maybe you can post the file and tutorial here so that we can learn the correct method from you. Thank you so much for that.
Anybody can help?
Click to expand...
Click to collapse
Hey angiogram... I'm not sure if this thread still has a pulse, but I came across this thread and feel confident I can offer you some great information.
g00udu was on the right track, only one small detail I would add is reverting the permissions back to the system files once returned to the system directory.
See this link http://forum.xda-developers.com/showthread.php?t=990238
for an extremely detailed step by step how to perform this process from beginning to end.
If this issue has been resolved, keep it for future reference or pass it on to someone who you believe it may help.
Peace-
Thanks Liv33vil.
Sent from my GT-I9000 using XDA Premium App

[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

Manually Deodex Any S5830 Rom !!!

After i succesfull deodex my stock rom i've decided to share my experience with ya'll people ...
Here we go :
1. You must be rooted !!!
2. Download -> xUltimate
3. Unzip xUltimate v2.2, and launch "Main.exe"
4. Now xUltimate should recognize the phone and make a connection. You now should see a list of options.
5. Run option 1. After option 1 is done, run option 2.
6. Now these well take a while. Run option 3
7. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
8. Now run option 4, and wait.
9. Exit xUltimate, and put the phone in USB mass storage then copy "done_frame", and "done_app" to the root of the sdcard then put the phone in PC mode.
10. Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
After phone is boot, reboot again in CWM and Wipe Dalvin Cache, reboot and ENJOY !!!
Notice : The boot will take a little bit longer than normal (2-4 seconds +)
P.S. For step 7 ... there is no guava.odex, don't worry about, continue to next step !
Credits :
Rainabba, Mike919, toxman, teenfaces, Xeudoxus !
Fisrt post ! Good work dude!!
You must have adb (by installing android sdk, platform-tools, install usb driver too) and jdk to do this if anyone is wondering.
kevinlekiller said:
You must have adb (by installing android sdk, platform-tools, install usb driver too) and jdk to do this if anyone is wondering.
Click to expand...
Click to collapse
I assumed that those who want to deodex their rom already knew that, anyway, thanx for reply
Nice tutorial!
Sent from my GT-S5830 using xda premium
Thanks y'all, I will also post other tutorials if i discover something interesting !
I know this question is stupid, but what's the difference between odexed and deodexed rom?
Yesterday I was trying to figure out how to deodex and today you make a tutorial, lol
Thanks.
excellent!! could create one of how to add cf-root and menu extended to create custom roms, is the last thing I need to learn to develop roms
tazlooney89 said:
excellent!! could create one of how to add cf-root and menu extended to create custom roms, is the last thing I need to learn to develop roms
Click to expand...
Click to collapse
Cf root xd to easy
Its in th .zip self
Just extract look in folder and place them where they belong
Sent from my GT-S5830 using xda premium
thanks dude!
now i can get pdroid running on stock rom *_*
Great tutorial thanks!
It would be great if you show how to enable CRT animation in any stock rom ang make grouping widgets in menu.
P4qui7o said:
After i succesfull deodex my stock rom i've decided to share my experience with ya'll people ...
Here we go :
1. You must be rooted !!!
2. Download -> xUltimate
3. Unzip xUltimate v2.2, and launch "Main.exe"
4. Now xUltimate should recognize the phone and make a connection. You now should see a list of options.
5. Run option 1. After option 1 is done, run option 2.
6. Now these well take a while. Run option 3
7. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
8. Now run option 4, and wait.
9. Exit xUltimate, and put the phone in USB mass storage then copy "done_frame", and "done_app" to the root of the sdcard then put the phone in PC mode.
10. Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
After phone is boot, reboot again in CWM and Wipe Dalvin Cache, reboot and ENJOY !!!
Notice : The boot will take a little bit longer than normal (2-4 seconds +)
P.S. For step 7 ... there is no guava.odex, don't worry about, continue to next step !
Credits :
Rainabba, Mike919, toxman, teenfaces, Xeudoxus !
Click to expand...
Click to collapse
Superb Tutorial Dude...
I am currently testing @Jusadas latest "Carbon Sunday Beta1" rom... It is fully odexed & so far is bug free (Totally)...... I would like to try & DeOdex the rom so that PDroid & Patch can be implemented...
I Know that PDroid framework has now been ported for Odexed roms, but when I flash the Odexed version I get stuck at Android txt during boot...
Will report back if your technique works...
Stay Breezy n Be Lucky...
Pe"ACE"...
Thanx man what a great work , i actually look for deodexing method coz i want to translate an odexed rom but i has to be deodexed first
I'll give it a shot !
Excellent guide!!!
Will try it tmw
Thanks =)
Sent from my GT-P6800 using xda premium
Well the title says manually deodex. But this uses the tool. To manually do it you need to decompile each app individually and then edit it.
Btw, nice giude..
TeamCooper Developer
TheMyth Developer
www.teamcooper.net
ERROR!
Tried this on my stock ddkq8 gingerbread 2.3.6 rom. But whenever I run this line: busybox cp /sdcard/done_app/* /system/app/
it says cp: No space left on device.
and my phone bricks.
It seems that the command does not overwrite the files in /system/app and thus the error.
BTW what do you mean by pc mode?
PLS reply!
galaxyace152 said:
Tried this on my stock ddkq8 gingerbread 2.3.6 rom. But whenever I run this line: busybox cp /sdcard/done_app/* /system/app/
it says cp: No space left on device.
and my phone bricks.
It seems that the command does not overwrite the files in /system/app and thus the error.
BTW what do you mean by pc mode?
PLS reply!
Click to expand...
Click to collapse
Before "10. Open a command prompt, and do the following:"
Just delete some apps to make 40 mb free in system !
That's how i did and work's
Use Root Explorer or something
shaaan said:
Well the title says manually deodex. But this uses the tool. To manually do it you need to decompile each app individually and then edit it.
Btw, nice giude..
TeamCooper Developer
TheMyth Developer
www.teamcooper.net
Click to expand...
Click to collapse
Developer Talking
---------- Post added at 08:57 PM ---------- Previous post was at 08:56 PM ----------
Stuck on boot loop! :| And yes, I wiped everything. Nice tutorial BTW, appreciate it.
EDIT: Never mind. Sorted it.
C:\android-sdk-windows\platform-tools>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ su
su
# stop
stop
# mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
# busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_app/* /system/app/
cp: can't stat '/sdcard/done_app/*': No such file or directory
# busybox cp /sdcard/done_frame/* /system/framework/
busybox cp /sdcard/done_frame/* /system/framework/
cp: can't stat '/sdcard/done_frame/*': No such file or directory
# rm /system/app/*.odex
rm /system/app/*.odex
# rm /system/framework/*.odex
rm /system/framework/*.odex
# mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
# reboot
reboot
C:\android-sdk-windows\platform-tools>
how come mine is like this...? anyone can help me...? plz
after that my phone cant start...it stuck on the galaxy ace screen...???

[Q] CM10.1 camera app

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

[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.

Categories

Resources