[Q] Best way to install my fresh de-odex framwork and apks? - General Questions and Answers

As the question suggests I have finally de-odexed all my system apps and framwork files, I'm still new to all of this and need some help figuring out the safest way to get them all on my devic, Im new to adb and have no experience with makeinf flashable zips. How can i delete the files on the phone to install all of mine? I am on a sgh-t889.

GOTIT
StrikeBackv2 said:
As the question suggests I have finally de-odexed all my system apps and framwork files, I'm still new to all of this and need some help figuring out the safest way to get them all on my devic, Im new to adb and have no experience with makeinf flashable zips. How can i delete the files on the phone to install all of mine? I am on a sgh-t889.
Click to expand...
Click to collapse
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot

Related

[THEME] UPgrade red overload 2.1

*****THIS IS FOR 2.1 ONLY*****
*****YOU MUST BE ROOTED*****
This will theme well over 90% of everything you see that has to do with the android os and blur if its still there.
Download my files here http://www.megaupload.com/?d=59KOD7MS
By downloading this you agree to take full responsibility for the actions you are about to preform.
Original files if needed http://www.megaupload.com/?d=0RNAMSQ3
If you have kousch's recovery installed, make a back up, if not use root explorer and make a back up of the following file.
/system/framework/blur-res.apk
download the other original system files here
Sorry no MM method only terminal emulator, so you have to suffer through typing about 10 lines of commands....
Unzip the entire contents onto your sdcard
open terminal emulator
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/Services.jar /system/framework
cp /sdcard/framework-res.apk /system/framework
your phone will auto reboot. If you havent already applied a changed services or framework the boot animation will take a long time. If it by chance freezes, or does the boot sound but never shows the screen do a battery pull.
Once your phone reboots you will see a new lock screen and dark status bar with white font, if this is not the case you need to redo the steps above.
If you have root explorer, long press on the /system folder choose permissions. Make note of what permissions are set, grant everything permission for now. Change this back when your done. Failure to do so may cause an apk to not apply.
If you prefer you can reboot after each line command by simply typing reboot and hitting enter, just to make sure it boots clean, but its really not needed.
Put capitol letters when seen!!!! failure will cause duplicate applications!!!
Dont apply anything blur you deleted and dont want on your phone.
In terminal emulator
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/BlurPhone.apk /system/app
cp /sdcard/BlurCalendar.apk /system/app
cp /sdcard/BlurContacts.apk /system/app
cp /sdcard/BlurHome.apk /system/app
cp /sdcard/Browser.apk /system/app
cp /sdcard/Gallery3D.apk /system/app
cp /sdcard/Music.apk /system/app
cp /sdcard/Settings.apk /system/app
this one goes to new directory so pay attention, dont get type happy
cp /sdcard/blur-res.apk /system/framework
now type reboot and hit enter
phone may or may not have an extended boot.
If you use handcent and want it themed, uninstall your old one
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/com.handcent.nextsms.apk /system/app
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Enjoy
Credit to
Me
prodigy
skyraider
tparker76
Teenfaces
stewart1champ
quadjacks
hacku
RinTinTigger
Taypotts
moto
htc
928droid
fabulous
I learned a lot from looking at how everyone else themed to get ideas for mine.
all images came from google searches. Then edited as needed.
reserved for me
please wait... an operator will be with you shortly...
Whens the download going to be up?
Ok. Now that i reverted to stock i can't get my themed google maps to install.... sucks. Also my themed launcher pro keeps my registation code. So if i release that its stealing. I will work on these two tonight and see what i can do.
Either way, a dl will be posted in the morning.
Sorry
Sent via your mom and tapatalk
Maybe try re-signing it then install via adb install command as per the the autosign.bat method in my other post.
ignorant question. Can i install this using Rom manager?
No sir. But you have rom manager and haven't switched to 2.2?
sent by your mom on tapatalk
Yep but I used sbf switched back to 2.1......2.2 had a few bugs that drove me crazy
Sent from my DROIDX using Tapatalk
running this theme
Ok backup made through rom mamnger. So im currently running rooted 2.1. Ive download the files and they are upzip on the root of the SD..can i simply type the codes in termnal emulator app on the phone and this should work?
catalystsupreme2 said:
Ok backup made through rom mamnger. So im currently running rooted 2.1. Ive download the files and they are upzip on the root of the SD..can i simply type the codes in termnal emulator app on the phone and this should work?
Click to expand...
Click to collapse
yup just follow the codes in the OP, you can omit what ever you dont want.
bad4u6669 said:
yup just follow the codes in the OP, you can omit what ever you dont want.
Click to expand...
Click to collapse
Big thanks for the help..everything worked flawlessly..very beautiful theme
catalystsupreme2 said:
Big thanks for the help..everything worked flawlessly..very beautiful theme
Click to expand...
Click to collapse
any time, head over to my 2.2 thread for a few upgrades, they still work for users on 2.1

How to re-install the launcher.apk ??

Hi forum.
A quick question...
How do i re-install the defailt launcher ??
I have tried this way:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb push content/Launcher.apk /sdcard/Launcher.apk
@adb shell dd if=/sdcard/Launcher.apk of=/system/app/Launcher.apk
And even thoug the launcher is on the sd card after (as i not clean after install), and also it all looked like it was installed ok, it don´t work.
When i try to install it from my sdcard with astro, i get a error saying:
"Start could not be installed on this phone"
Pleace, do you know why ??
pshdo said:
Hi forum.
and also it all looked like it was installed ok, it don´t work.
Click to expand...
Click to collapse
What did it say, it should say if it was pushed or failed?
pshdo said:
"Start could not be installed on this phone"
Pleace, do you know why ??
Click to expand...
Click to collapse
Because some system apks have to be pushed and wont install in the usual fashion.
hi
you must set the permissions, sytem apps need it
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
chmod 644 /system/app/Launcher.apk
reboot
or you navigate with rootexplorer to system, mount it rw, navigate to sytem/app/Launcher.apk set the permissions to 644 (User-rw,Group-r,Others-r)
then reboot
sry for bad english, hope it worked
Zocker Tko said:
hi
you must set the permissions, sytem apps need it
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
chmod 644 /system/app/Launcher.apk
reboot
or you navigate with rootexplorer to system, mount it rw, navigate to sytem/app/Launcher.apk set the permissions to 644 (User-rw,Group-r,Others-r)
then reboot
sry for bad english, hope it worked
Click to expand...
Click to collapse
Hi there...
I can´t figure this out...
I can see with "OI file explorer" that have the Launcher.apk inside /system/app.
It looks like it all goes well with mount and chmod above, but i can´t use the launcher?
And inside Titanium Backup it looks like the launcher "start" is not even installed on the phone...
What am i missing here ??
pshdo said:
Hi there...
I can´t figure this out...
I can see with "OI file explorer" that have the Launcher.apk inside /system/app.
It looks like it all goes well with mount and chmod above, but i can´t use the launcher?
And inside Titanium Backup it looks like the launcher "start" is not even installed on the phone...
What am i missing here ??
Click to expand...
Click to collapse
It makes me think that you have also removed Launcher.odex from /system/app . Do you have Launcher.odex in system/app ?
Post a screen shot of the cmd window, it should hint at what your doing, or not doing correctly.
Sent from my X10i using XDA App
Hmm have you set the permission, have you install homeswitcher, with this you can switch the launcher you have installed and set as default.
Sent from my.X10i using XDA App

Deodex ur jb rom {not for at&t}

FINALLY MY WIFI CAME BACK !!!
SO I THINK U SHOULD DEODEX UR ROM FOR MORE SPACE AND FLUIDITY
{I COULD NOT CREATE BATCH FILE AS OUR BOOT IMAGE DOES NOT SUPPORT TRUE ADB ROOT AS ITS DEV EDITION}(ANY IDEAS FROM DEVS IS WELCOME)
AGAIN SAYING NOT FOR ATT
OKAY FIRST THANX TO dsixda/Android-Kitchen FOR HELPING TO DEODEX THE ROM
NOW STEPS ::::::
-1.install a third party launcher (like apex for safety purpose)
0.MAKE A BACKUP OF UR SYSTEM (I HOPE U R USING BMM !!!)
1.DOWNLOAD THE APP AND FRAMEWORK FOLDER FROM LINK GIVEN BELOW
2.PUT BOTH THE FOLDERS ON SDCARD AS WELL AS INTERNAL MEMORY (DONNO WHICH IS USED !!)
3.OPEN THE """4.0.4ROOT BY CRC""" FOLDER U DOWNLOADED WHILE ROOTING OR ANY FOLDER WHICH CONTAINS ADB
3.5}NOW HOLDING SHIFT CLICK OPEN COMMAND WINDOW HERE
4.NOW CONNECT PHONE IN MTP MODE WITH DEBUGGING ON
5.TYPE THE FOLLOWING CODE AND U R DONE (WELL IT WILL SLIGHTLY MAKE U FEEL LIKE A TEMPORARY DEV HAAHAH)
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodexedapp/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodexedframe/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
note ::
1.its o not zero
2.when u enter su the $ sign will change to # it means u gained root access
3.i dont remember but after pressing su look at ur phone if supersu notification for root access comes allow it if it is there
4.i am not sure or the stock launcher it may fc so firs install a third party launcher for safety purpose
*links ::::
apps::
https://app.sugarsync.com/iris/wf/D8443834_63525726_687588
framework::::
https://www.sugarsync.com/pf/D8443834_63525726_688199
pls hit thanx bros it motivates me !!!!!!!
make an acc on sugarsync the next famous storage systemm it will help u as well as me
What is MTP mode?
brianmoyano said:
What is MTP mode?
Click to expand...
Click to collapse
When ya connect the phone to PC, it will show 3 different modes. Like USB mass storage and stuff. One of em is MTP. pull down the notification bar, you will get those options (when connected of course)
Sent from my muffin LIFE! Under maintenance.!
Good. Thanks for sharing this!
I already Deodexed and zipaligined my rom using this tutorial to achieve the same.
brianmoyano said:
What is MTP mode?
Click to expand...
Click to collapse
Media Transfer Protocol. Gives you access to your SD Card and phone storage without unmounting them from phone so your SD Card is also available through phone as well as on PC. If you access any file on your phone, it will first copy it to PC and then open it which makes it slower. But its good enough for transferring pics and music and basically MEDIA TRANSFER as the name says..
answersamir said:
Code:
adb shell
su
stop
mount -o rw, remount /system/ /system/
cp /sdcard/deodexedapp/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodexedframe/* /system/framework/
rm /system/framework/*.odex
mount -o ro, remount /system/ /system/
reboot
Click to expand...
Click to collapse
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
shubham412302 said:
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
Click to expand...
Click to collapse
On extremely close observations I found out that both are same :sly:
Buddy order doesn't matter
Sent from my ME865 using xda app-developers app
can you upload an alternate link for 'apps' ...download is not completing...it is stopping after 140mb....
poorna said:
can you upload an alternate link for 'apps' ...download is not completing...it is stopping after 140mb....
Click to expand...
Click to collapse
Thats the full size of zipped apps...
But it has all apps
Sent from my jb atrix 2
shubham412302 said:
Thats the full size of zipped apps...
But it has all apps
Sent from my jb atrix 2
Click to expand...
Click to collapse
when i try to extract it ,i get a message invalid file ...the actual size is 185mb ...twice i downloaded. in the 1st attempt i was able to download 146mb...in the 2nd attempt i was able to download 140mb....
poorna said:
when i try to extract it ,i get a message invalid file ...the actual size is 185mb ...twice i downloaded. in the 1st attempt i was able to download 146mb...in the 2nd attempt i was able to download 140mb....
Click to expand...
Click to collapse
Match this with your d/l file.
146 MB (153,457,466 bytes)
CRC: 7FC9D73F
shubham412302 said:
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
Click to expand...
Click to collapse
the phone is not booting... after i type stop and press enter ,the screen turns off,then when i type mount -o rw,remount /system/ /system/ and press enter i get the same line and then i get the # symbol again..then when type rm /system/app/*.odex and press enter i get the same line and then i get the # symbol again ,same thing for the next rm line...but when i type cp /sdcard/deodexedapp/* /system/app/ and press enter i get the same line again and there is no # symbol,the same thing happens to the following lines ....when i typed reboot and press enter the same line(reboot) appears and the phone is not rebooting...i removed the battery and tried to boot the phone is not booting...i downloaded both the links (apps and framework) and extracted them and copied both(deodexedapp and deodexedframe) to internal phone storage and sd card ....what might be the problem here?
poorna said:
the phone is not booting... after i type stop and press enter ,the screen turns off,then when i type mount -o rw,remount /system/ /system/ and press enter i get the same line and then i get the # symbol again..then when type rm /system/app/*.odex and press enter i get the same line and then i get the # symbol again ,same thing for the next rm line...but when i type cp /sdcard/deodexedapp/* /system/app/ and press enter i get the same line again and there is no # symbol,the same thing happens to the following lines ....when i typed reboot and press enter the same line(reboot) appears and the phone is not rebooting...i removed the battery and tried to boot the phone is not booting...i downloaded both the links (apps and framework) and extracted them and copied both(deodexedapp and deodexedframe) to internal phone storage and sd card ....what might be the problem here?
Click to expand...
Click to collapse
Wait for a while....
Until you get the [email protected] again you must not do any thing because the previous step is not done.....
Be patient.
The step copy system apps take 5 minutes...
And there is a space here before remount
mount -o rw, remount /system/ /system/
Sent from my jb atrix 2
What are the advantages of deodexing the stock rom?
I came across this thread and it gave me curiosity to find-out the stuff which I wanted to read for long time. Odex and deodex..
The only advantage I came across of deodexing was posibility of theme modifications.
Some thread on XDA and google said that with odex rom (1) boot will be faster.
With deodexing, they said (1) it will take up more data space (2) theoritically deodexing will slow some performance and (3) longer boot times because of big dalvik cache...
Please can you tell me exactly where I am wrong?
Sent from my jb atrix 2
Download unsuccessful
Download is not starting...it says it has started but nothing is getting downloaded have tried a lot.... any alternate link pls:silly:
hello , it´s only for jelly bean?

[Q] Problem after pushing the deodexed apps and framework

Hello everybody, I am trying to deodex my stock ICS v28 rom.
I deodexed the app and framework folder successfully with the use of dsixda kitchen, signed all apks and copied it to "/sdcard/_ExternalSD/deodexed" folder.
Note: at the time of deodexing I also selected the api level to 15
Now I am pushing to the device using this code:
Code:
adb shell
su
stop
mount -o remount,rw /dev/block/mmcblk0p7 /system
rm /system/framework/*.odex
rm /system/app/*.odex
busybox cp /sdcard/_ExternalSD/deodexed/app/* /system/app/
busybox cp /sdcard/_ExternalSD/deodexed/framework/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/mmcblk0p7 /system
sync
reboot
after the phone boots I get a security error
Remember, I dont get any error while executing any code in adb and after pushing I checked through adb that those deodexed apps have been pushed successfully to app and framework folder.
Can anybody tell me what I am doing wrong, any help apreciated.
NOTE: The help I need is in deodexing and pushing it to the device, I have already restored my /system partition but I am experimenting with this stuff.
Also, I already have wkpark bootloader 1.25 installed
You need kernel with support for deodexed roms.
Sent from my LG-P920 using xda premium
krija said:
You need kernel with support for deodexed roms.
Sent from my LG-P920 using xda premium
Click to expand...
Click to collapse
Thanks very much, I flashed the kernel of OptimusRS's new rom and it booted (obviously deodexed). I never knew that the stock kernel doesn't support deodexed apps.
Thanks again.
Edit: Can u suggest me any other good kernel that supports deodexed rom? and do u know the method to make the stock kernel support deodexed rom?
You´re welcome
regarding the method, I only know about this:
http://forum.xda-developers.com/showpost.php?p=40595337&postcount=580
I have tried many kernels, but for now I´m on stock kernel from V28 rom with iodak´s OC modules. I think you have nothing to lose if you try them all apart from PH85.

problem with camera apps

In my z5 in camera 2.0 installed so in apps stopped working but when launch camera apps from app drawer works fine
Also tried to remove update but without update camera (stock apk) shows fc
I have rooted z5 dual
If you rooted, your DRM keys are gone (from unlocking bootloader). Someone reported their camera working after this hack to trick DRM keys being there:
http://forum.xda-developers.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383
Not sure it'll fix your issue, but worth a try since you are already rooted. All else fails, factory reset.
rajdeep312 said:
In my z5 in camera 2.0 installed so in apps stopped working but when launch camera apps from app drawer works fine
Also tried to remove update but without update camera (stock apk) shows fc
I have rooted z5 dual
Click to expand...
Click to collapse
Try push deodexed Camera.apk
by ADB (download attachment and copy it to folder where ADB is :
Code:
adb push CameraCommon.apk /data/local/tmp
adb shell
su
busybox mount -o remount,rw /system
dd if=/data/local/tmp/CameraCommon.apk of=/system/priv-app/CameraCommon/CameraCommon.apk
chmod 644 /system/priv-app/CameraCommon/CameraCommon.apk
rm -rf /system/priv-app/CameraCommon/arm
rm -rf /system/priv-app/CameraCommon/arm64
RootExplorer or any other file manager :
Download CameraCommon.apk, copy-paste it to /system/priv-app/CameraCommon/CameraCommon.apk, change chmod to 644 (read write, read, read) and delete arm and arm64 folder.
Thanks you saved my z5
Siudzix said:
Try push deodexed Camera.apk
by ADB (download attachment and copy it to folder where ADB is :
Code:
adb push CameraCommon.apk /data/local/tmp
adb shell
su
busybox mount -o remount,rw /system
dd if=/data/local/tmp/CameraCommon.apk of=/system/priv-app/CameraCommon/CameraCommon.apk
chmod 644 /system/priv-app/CameraCommon/CameraCommon.apk
rm -rf /system/priv-app/CameraCommon/arm
rm -rf /system/priv-app/CameraCommon/arm64
RootExplorer or any other file manager :
Download CameraCommon.apk, copy-paste it to /system/priv-app/CameraCommon/CameraCommon.apk, change chmod to 644 (read write, read, read) and delete arm and arm64 folder.
Click to expand...
Click to collapse
I also have an issue with my Camera, if I open Camera Apps, for example Style Portrait, AR Mask, Sticker creator, Creative effect, they all force-close.
Will pushing the deodexed Camera.apk also fix my issue? And am I still able to update after pushing this update?
Thanks!
Meneer_A said:
I also have an issue with my Camera, if I open Camera Apps, for example Style Portrait, AR Mask, Sticker creator, Creative effect, they all force-close.
Will pushing the deodexed Camera.apk also fix my issue? And am I still able to update after pushing this update?
Thanks!
Click to expand...
Click to collapse
Yes deodex solve your problem
Siudzix said:
Try push deodexed Camera.apk
by ADB (download attachment and copy it to folder where ADB is :
Code:
adb push CameraCommon.apk /data/local/tmp
adb shell
su
busybox mount -o remount,rw /system
dd if=/data/local/tmp/CameraCommon.apk of=/system/priv-app/CameraCommon/CameraCommon.apk
chmod 644 /system/priv-app/CameraCommon/CameraCommon.apk
rm -rf /system/priv-app/CameraCommon/arm
rm -rf /system/priv-app/CameraCommon/arm64
RootExplorer or any other file manager :
Download CameraCommon.apk, copy-paste it to /system/priv-app/CameraCommon/CameraCommon.apk, change chmod to 644 (read write, read, read) and delete arm and arm64 folder.
Click to expand...
Click to collapse
Thank you for this, it really helped me a lot. now I could get camera and plug-ins run again after root. you just bring lots of fun back.:good:

Categories

Resources