[Q] Problem after pushing the deodexed apps and framework - LG Optimus 3D

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.

Related

Busybox for the EVO

Does anyone have a compiled busybox for the EVO yet. Preferably in update.zip format. I'd like to get Debian working on the phone and Busybox is a requirement.
Im confused, I got busybox installed from titanium backup. Is that the same one you need? If so install titanium backup, hit 'problems' and install busybox that way.
I made a custom rom I just posted with BusyBox preinstalled. I will see if I can post an update.zip with busybox in it soon.
ChrisDos said:
Does anyone have a compiled busybox for the EVO yet. Preferably in update.zip format. I'd like to get Debian working on the phone and Busybox is a requirement.
Click to expand...
Click to collapse
here is one of my busybox binaries which should get you going. you'll have to manually install it, adb push to sdcard and then using root, mv to /data and chmod 755. should be good to go. if you're using unrevoked root, you can put it in the shadow directory and it'll appear in /system/bin.
http://forum.sdx-developers.com/android-2-1-development/(source)-sdx-busybox-for-android-2-1/ - where we maintain our latest version of busybox thanks to LouZiffer. I use this binary in all my ROMs. Its our community trade off for features with size..
my personally hosted mirror isnt always as updated as the link above - http://www.joeyconway.com/sdx/busybox/busybox (its the recovery version from link above with more features)
i'm sure somebody will throw up an update.zip which might be easier for most users.
joeykrim said:
here is one of my busybox binaries which should get you going
http://www.joeyconway.com/sdx/busybox/busybox
Click to expand...
Click to collapse
Even better Will installing it out of recovery work since it needs to add symlinks? You will probably need to go into recovery, and then adb shell busybox --install.
chuckhriczko said:
Even better Will installing it out of recovery work since it needs to add symlinks? You will probably need to go into recovery, and then adb shell busybox --install.
Click to expand...
Click to collapse
yea, so depends. if you're as root in normal android mode, unrevoked or one of toast/maejrep's rooted ROMs you can manually install w/o rebooting to recovery. if you dont have root in normal android mode, no custom ROM and no unrevoked root, you'll need to go into the recovery mode with root access.
i think the command to put sym links into /sbin which would be in the default PATH is:
busybox --install -s /sbin
i havent really experimented to see what people are using as their default install locations ... sorry for the rough guide!
I installed busybox entirely from my phone using the directions laid out in the troubleshooting section on the TitaniumBackup webpage (sorry, new user cannot post link, but you can link to it from the app in the market). I have toast's root and radio and flipz's .6 ROM, and I was able to do it all using a terminal on the phone, so, no recovery.
Thank you all. I got busybox installed and working fine. Though I guess I'll have to wait until an official ROM comes out with Ext4 support as it won't let me mount the partition that contains the Debian install. I suppose I could format the partition with yaffs2, but I haven't done any research into that file system. I might just have to be patient until an ASOP based ROM is released or someone includes a kernel with Ext4 support.
Thanks everyone. I appreciate all the hard work put towards this phone.
ChrisDos said:
Thank you all. I got busybox installed and working fine. Though I guess I'll have to wait until an official ROM comes out with Ext4 support as it won't let me mount the partition that contains the Debian install. I suppose I could format the partition with yaffs2, but I haven't done any research into that file system. I might just have to be patient until an ASOP based ROM is released or someone includes a kernel with Ext4 support.
Thanks everyone. I appreciate all the hard work put towards this phone.
Click to expand...
Click to collapse
can you post the files and directions to so i can get it installed? thanks
ChrisDos said:
Thank you all. I got busybox installed and working fine. Though I guess I'll have to wait until an official ROM comes out with Ext4 support as it won't let me mount the partition that contains the Debian install. I suppose I could format the partition with yaffs2, but I haven't done any research into that file system. I might just have to be patient until an ASOP based ROM is released or someone includes a kernel with Ext4 support.
Thanks everyone. I appreciate all the hard work put towards this phone.
Click to expand...
Click to collapse
if you use toast's kernel source released here, you can compile a working kernel with ext4 support ... just throwing out ideas cuz i'd hate to see you stop with your progress!
Busybox Installation Instructions
I use Linux, well, for all my computers, including my phone
So these instructions are biased for Linux...
Boot into torch's recovery.
Download busybox from joeykrim:
http://www.joeyconway.com/sdx/busybox/busybox
Place it in a directory and create this script:
Install_Busybox.sh:
#!/bin/bash
echo "Mounting /system"
adb shell mount -v /system
echo "Mounting /data"
adb shell mount -v /data
sleep 3
adb push busybox /data
adb shell chmod 755 /data/busybox
adb shell /data/busybox --install -s /system/xbin
echo "Waiting for system to stabilize before unmounting"
sleep 3
adb shell umount -v /system
adb shell umount -v /data
chmod 755 Install_Busybox.sh
./Install_Busybox.sh
Windows/Mac users can just manually run the adb commands and it should work fine.
joeykrim said:
if you use toast's kernel source released here, you can compile a working kernel with ext4 support ... just throwing out ideas cuz i'd hate to see you stop with your progress!
Click to expand...
Click to collapse
Well, I compile kernels all the time for my laptop and Myth boxes. Is there a bit of a how-to for compiling the kernel for ARM and install it/replace the current kernel. It's be nice to find out how-to on how to make an update.zip to provide the install for everyone else as well.

[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

Root update.zip

So I was wondering if anybody knew if the root update.zip works on the samsung infuse 4g. if u dont know what it is you can look for it on google.com. I was wondering if it actually worked on my phone?
Thanks, ReEvolution
Or is it only for gingerbread devices
Try and find out and report back
Sent from my SGH-I997 using xda premium
Probably
Reevolution said:
So I was wondering if anybody knew if the root update.zip works on the samsung infuse 4g. if u dont know what it is you can look for it on google.com. I was wondering if it actually worked on my phone?
Thanks, ReEvolution
Click to expand...
Click to collapse
Probably if it is the right one. In order to root Infuse 4G gingerbread (which you probably have), I believe the only or easiest way is to flash a rooted kernel temporarily in order to setup the right files.
This worked for me and it is FYI without warranty. I went the scenic route by:
1) extracting a Rooted Gingerbread Kernel from a ROM found on the Infuse 4G Super Everything Thread
2) flashed it, the Rooted Kernel zImage only with pit file (no reformat), using heimdal in download mode. Note, I am running linux plus "zImage" and "infuse.pit" are the actual names of the files extracted from the rooted kernel rom mentioned earlier with an archiver like 7-zip)
Code:
$ sudo heimdal flash --pit infuse.pit --kernel zImage
3) after normal reboot, I used adb to push busybox, su and Superuser.apk (i got them from a SuperOneClick package) to /data/local/tmp/ on the Infuse 4G
4) connected via adb shell command which starts with root privilages ('#' instead of '$') on the console.
5) remounted /system read+write:
Code:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
6) used busybox to copy itself, Superuser.apk and su to the right place via:
Code:
#cd /data/local/tmp/
# busybox cp busybox /system/bin/busybox
# busybox cp Superuser.apk /system/app/Superuser.apk
# busybox cp su /system/bin/su
7) changed permissions with:
Code:
# chmod 6755 /system/bin/busybox
# chmod 6755 /system/bin/su
8) rebooted to download mode
9) flashed the stock gingerbread kernel back in.
Finally, in flashing a rooted kernel, /system/etc/vold.fstab may have changed with the rooted kernel so the external sd does not get mounted correctly. To fix this, I reversed the process I found on another thread and changed the second to last line from:
Code:
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
...to:
Code:
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
The only difference being the last character is to be a '1' instead of '2'. I read it was a known bug.
I just did this a few hours ago on my Infuse 4G so I, for myself, am sure it works and hope this helps.
I have froyo though thats what im trying to root for to install gb than ics and than jb
mkthundrwd said:
Probably if it is the right one. In order to root Infuse 4G gingerbread (which you probably have), I believe the only or easiest way is to flash a rooted kernel temporarily in order to setup the right files.
This worked for me and it is FYI without warranty. I went the scenic route by:
1) extracting a Rooted Gingerbread Kernel from a ROM found on the Infuse 4G Super Everything Thread
2) flashed it, the Rooted Kernel zImage only with pit file (no reformat), using heimdal in download mode. Note, I am running linux plus "zImage" and "infuse.pit" are the actual names of the files extracted from the rooted kernel rom mentioned earlier with an archiver like 7-zip)
Code:
$ sudo heimdal flash --pit infuse.pit --kernel zImage
3) after normal reboot, I used adb to push busybox, su and Superuser.apk (i got them from a SuperOneClick package) to /data/local/tmp/ on the Infuse 4G
4) connected via adb shell command which starts with root privilages ('#' instead of '$') on the console.
5) remounted /system read+write:
Code:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
6) used busybox to copy itself, Superuser.apk and su to the right place via:
Code:
#cd /data/local/tmp/
# busybox cp busybox /system/bin/busybox
# busybox cp Superuser.apk /system/app/Superuser.apk
# busybox cp su /system/bin/su
7) changed permissions with:
Code:
# chmod 6755 /system/bin/busybox
# chmod 6755 /system/bin/su
8) rebooted to download mode
9) flashed the stock gingerbread kernel back in.
Finally, in flashing a rooted kernel, /system/etc/vold.fstab may have changed with the rooted kernel so the external sd does not get mounted correctly. To fix this, I reversed the process I found on another thread and changed the second to last line from:
Code:
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
...to:
Code:
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
The only difference being the last character is to be a '1' instead of '2'. I read it was a known bug.
I just did this a few hours ago on my Infuse 4G so I, for myself, am sure it works and hope this helps.
Click to expand...
Click to collapse
Easiest way in my opinion is to flash the kernel to get cwm recovery
Boot into recovery
Flash any of the Roms here as they are all rooted (there are complete stock Roms that are rooted...uclb3)
Sent from my SGH-I997 using Tapatalk 2
But I dont have a comp
Reevolution said:
But I dont have a comp
Click to expand...
Click to collapse
dont flash anything if you dont have a comp...
seriously...
Alright ill kep looking any ideas
Reevolution said:
Alright ill kep looking any ideas
Click to expand...
Click to collapse
currently, without a pc, you can't root. you cant get gb or gb bootloader.
when on gb, you cant root.
if you mess up, you've got a soft brick.
no pc=be happy with froyo
here's a old thread:
http://forum.xda-developers.com/showthread.php?t=1815687
old funnies for bigjoe and pony.
mkthundrwd said:
Probably if it is the right one. In order to root Infuse 4G gingerbread (which you probably have), I believe the only or easiest way is to flash a rooted kernel temporarily in order to setup the right files.
This worked for me and it is FYI without warranty. I went the scenic route by:.
Click to expand...
Click to collapse
yeah..this is the hard way.
here the easy way: post #2
http://forum.xda-developers.com/showthread.php?t=1629079
one click heimdall then use the root pack ..easy peasy
qkster said:
here's a old thread:
http://forum.xda-developers.com/showthread.php?t=1815687
old funnies for bigjoe and pony.
Click to expand...
Click to collapse
If someone starts an XDA Infuse Hall of Fame (or museum) thread, that one surely belongs.
And maybe http://forum.xda-developers.com/showthread.php?t=1820792

Deodexed Apps and Framework files,Install using ADB Shell method&Deodexed ur Rom

Hello Friends,
Here with a simple project which will help many users like me READY COMPLETE DEODEXED APPS & FRAMEWORK for your stock firmware
Reason behing making this ....
I have come accross many users asking for how to deodexed ROM.. Note 3 being very new device has very less options available in terms of roms etc to choose from so i decided and learned how to deodexed apps and frameworks and uploaded here so users with the same firmware can just use ADB SHELL Method with Root access and apply this deodexed files and make the complete ROM DEODEXED without any issue
Note : It will just replace the current apks and frameworks files with deodexed files
These files are taken from "INS-N900XXUBMJ1"Change List 01.10.2013 -} 1624790
U can apply these apks / files on N900
You have to install Using ADB Method "How to Setup"
Requirement
N900 firmware N900XXUBMJ1
Rooted Device
USB Debugging Enabled
Download
Here
Use the below command one by one once your device is connected and give access once its asked on the device to start the process
HTML:
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
Credits
@A.S._id (Always helping)
@DjeMBeY (His Inpiring thread for deodexed roms helped me a lot)
@xda
Excellent work my friend thank you!
it only works on the N900 ? not on the N9005 ?
yoga7862 said:
it only works on the N900 ? not on the N9005 ?
Click to expand...
Click to collapse
I have taken the apps from N900 so I guess its works well with that's only
however if u wanna try with i9005 u can @ your Risk I m not sure of result honestly
If it does not work u ll have Boot Loop & u may have to flash stock firmware using Odin
OK, thanks a lot for the answer.

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

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

Categories

Resources