I would like to deodex the odex system. How Can I do that? Help me pls. - Xperia Z2 Q&A, Help & Troubleshooting

I would like to deodex the Codex system. How Can I do that? 232 Stock-based update. I have the Sony Xperia z2.

This is a very compressed and short guide, but hopefully it'll help you to start (it assumes you already have your phone rooted and have recovery installed) :
1ST OF ALL : MAKE NANDROID BACKUP.
you'll need to have JAVA installed on your machine, download and install that.
- on your device, enable "usb debugging" from developer options
- connect your device to PC, click "allow" on device for usb debugging
- have adb.exe on your pc, navigate to that folder and press shift+right click in empty space in the folder, choose "open command window here"
- in the cmd window that shows up type these commands in order :
adb pull /system/app system/app/
adb pull /system/priv-app system/priv-app/
adb pull /system/framework system/framework/
adb pull /system/vendor/app system/vendor/app
adb pull /system/build.prop system/build.prop
this will get you a folder next to your adb.exe file called "system" with all the files inside
- open system/vendor/app folder and copy "ims" and "chrome customizations" to system/app folder
- open system/framework/ folder and copy "SemcGenericUxpRes" to system/app folder
download deodex tool from here : http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025 (if you're not sure if your system is 32 or 64, get the 32 version)
- extract SVADeodexerForArtx32.zip to your c:/ drive
- open SVADeodexerForArt.exe and browse to where your "system" folder is (same folder as adb.exe)
- check app/framework/priv-app in the program options
- click deodex
- once done, create a flashable zip file from the resulting folders (remember to move files from "app" folder back to "framework" and "vendor" folder in the same order, or you'll get FCs)
- have SuperSU and flashable NUT recovery too on sdcard
- flash deodexed zip, then flash SuperSU and NUT recovery files again
- clear cache/dalvik, reboot
This is a rough guide, basically how I do it. if you need further help, post here and I'll try to respond or someone else will help/correct me if I made a mistake.

thanks
i deodexd with SVADeodexerForArtx64.exe
after that
how to create flashble zip
and which folders will i zip?
pls tellme bro

see attached file for creating flashable zip.
you need to copy the deodexed version from the SVADeodexerForArtx64 folder (you'll find app, framework, priv-app folder there) just open the zip with winrar, drag and drop folder, do a replace (don't change any settings).
Remember to move the "SemcGenericUxpRes", "ims" and "chrome customizations" to their respective folders (framework and vendor/app) to avoid FCs
Once you do that, your deodex file is ready to flash, then after that reflash SuperSU and NUTs recovery.

thanks
thanks bro.:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
it is working bro
thanks thanks
and small Dought can i use this empty zip file for future versions like android 6.0
and how to conform my lolipop5.1.1 is deodexed

One question :what does it mean nut recovery???is clockworkmod recovery right?

rameshkotibani said:
thanks bro.:laugh::laugh::laugh::laugh::laugh::laugh::laugh:
it is working bro
thanks thanks
and small Dought can i use this empty zip file for future versions like android 6.0
and how to conform my lolipop5.1.1 is deodexed
Click to expand...
Click to collapse
I'm not sure if this zip will work for Android 6.0 since it's not available to test atm. Let's wait until it's out and see then
To confirm your rom is deodexed, use a file explorer with root acces (es explorer) and navigate to /system/, then do a search for "odex" and you should not find any files.
Cris95 said:
One question :what does it mean nut recovery???is clockworkmod recovery right?
Click to expand...
Click to collapse
NUTs dual recovery is what is used on locked bootloader Z2 phones, it has both CWM and TWRP for you to choose from, just google "NUTs dual recovery Z2" or search the forums here for more details.

thank bro......

ticktock666 said:
see attached file for creating flashable zip.
you need to copy the deodexed version from the SVADeodexerForArtx64 folder (you'll find app, framework, priv-app folder there) just open the zip with winrar, drag and drop folder, do a replace (don't change any settings).
Remember to move the "SemcGenericUxpRes", "ims" and "chrome customizations" to their respective folders (framework and vendor/app) to avoid FCs
Once you do that, your deodex file is ready to flash, then after that reflash SuperSU and NUTs recovery.
Click to expand...
Click to collapse
i did all you said, but after flashing the deodex.zip with the deodexed apk´s inside i get bootloop.
Tried everything but no chance. Always bootloop - damn

Related

[Q] system folder sk17i ICS

http://http://forum.xda-developers.com/showthread.php?t=1694902
based on this thread, regards about the System folder from XPERIA Mini Pro 4.1.B.0.43,
how can i install??i mean..install the zip file from CWM? or extract the .zip file n copy into sd card??
nazreen said:
http://http://forum.xda-developers.com/showthread.php?t=1694902
based on this thread, regards about the System folder from XPERIA Mini Pro 4.1.B.0.43,
how can i install??i mean..install the zip file from CWM? or extract the .zip file n copy into sd card??
Click to expand...
Click to collapse
if you only need to install, reinstall or repair your some application, then you only have to extract it, copy it to sd card and install it as a normally .apk. but if it a system apk, you have to push it by using an explorer that can access system file, e.g Root Explorer.
I guess it's not a flashable zip. it's a firmware with .ftf extention inside the .rar.
so you can't install it by CWM, you have to flash it by flashtool. CMIIW
erm..i dnt know..but i couldn't find any .tft file inside..lots of folder..bt sure is,thr lots of .apk files too..
so..how??=.=
wait a minute, I'm downloading it to see the file.
nazreen said:
erm..i dnt know..but i couldn't find any .tft file inside..lots of folder..bt sure is,thr lots of .apk files too..
so..how??=.=
Click to expand...
Click to collapse
those were system files from your phone that have been extracted from ICS rom...what you see in the system files is the same as in your phone...those system files is good backup in case you decided to remove/edit any system files (bloatware)....
those system files is not for normal install...you have to use Root Explorer to copy and paste it to your phone system files if you want get back the files you have remove before this....
remember you need to change permission for those files (rw-r-r)....
Pusak Gaoq said:
those were system files from your phone that have been extracted from ICS rom...what you see in the system files is the same as in your phone...those system files is good backup in case you decided to remove/edit any system files (bloatware)....
those system files is not for normal install...you have to use Root Explorer to copy and paste it to your phone system files if you want get back the files you have remove before this....
remember you need to change permission for those files (rw-r-r)....
Click to expand...
Click to collapse
agree with this...
just like I posted above, you have to push it manually to /system/app .

How to build your own rom using stock rom/firmware(noob friendly guide)

HERE IS A GUIDE FOR YOU ALL YOU CAN CREATE YOUR OWN ROM BY THIS METHOD.I AM NOT RESPONSIBLE FOR BRICKED DEVICES.
Click to expand...
Click to collapse
Requirement to make a custom rom
*JAVA JDK installed on your SYSTEM
*WIN XP/ 7/8/8.1.
*package given in download section
Who is this kitchen for ?
Those who are brand new to
creating custom ROMs and
want an easy place to start
learning
Those who just want to modify
shipped ROMs or someone
else's custom ROMs to their
liking
Those who are confused by all
those scripts and complex
commands required for
building and extracting
This is NOT a tool to
automatically turn you into a
full-fledged ROM developer.
ROM development normally
involves work from the ground
up and involves time , research
and patience .
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK..
Kitchen setup
setting up dsixda kitchen
1.download all the three link and unzip kitchen.rar and cywin package.
2.open cywin_package then open folder now, you can see 3 icons, a read-
me,a setup, and a folder. Choose
the setup. Here you will choose
install from local directory. Next,
navigate to the the folder of
extraction of cygwin and choose
the folder cygwin_packages inside
the cygwin extraction folder. Wait
for some time. Then, you will come
across a list of file. Click the 2-
circle-arrows,untill, it displays
“install”
after the procedure is complete,
run the batch file cygwin.bat . Now, minimise
it and copy kitchen folder,
keep it in some location where you have installed your cygwin package open home/ajay-pc(in my case this is administrator name of my pc)kitchen
now, open the batch file window
and type
cd c:\kitchen
wait for some time and then when
the location the changed, type
./menu
Click to expand...
Click to collapse
press thanks if you like my work
GUIDE
now minimize the batch file and extract official rom there you will find system.img then extract it using magic iso or flash
the official stock rom using odin the take a nandroid backup u will get system.rfs.tar in your sd card extract it using magic iso then make a folder in called rom and open it. again create a folder called system and copy all data from system.rfs.tar which u have extracted(do drag and dropping).
Now copy meta-inf of any stock rom and copy and kernel to rom folder.
Now you will get two folder and one file in your rom folder zip the folder content and copy the file where you have installed cygwin/home/ajay/kitchen/original update folder.
now open command shell which you have minimized 1st create working folder then add root permission,deodex your rom.
and at last press 99 to build your rom..
note-if it ask you to change updater script to update script change it but dont forget to change it back to updater script.now you will get your rom in output folder copy it to your sd card flash it if error occur unzip the zip file and delete meta-inf and boot.img and again copy meta-inf of any rom and kernel to it and zip it..again flash the rom..
PRESS THANKS IF YOU LIKE MY WORK
DOWNLOADS
Downloads​
Link for cygwin click here :good:​link for kitchen click here :good:​link for magic iso click here :good:​
Link for official firmware click here :good:​
PRESS THANKS IF YOU LIKE MY WORK
CREDIT
DSIXDA for Android Kitchen
Samsung for this awesome device
ME for this Guide

[Tutorial] LG-P715 kdz to Flashable zip

Here I'm posting how to convert .kdz file into a Flashable zip file, The list of files you needed are
Official kdz file
kdz extractor
LGwinTools
ext2explore
Cygwin (If you are a windows user) from here
dsixda's kitchen This Thread
1. Extract the kdz extractor to the new folder, just drag and drop the kdz file to the unpack_kdz.bat. You will find the .cab file in the same directory where you have kdz.
2. Drag and drop the cab file to unpack_cab.bat. The dz file will be extracted to /dz folder in the same directory.
3. Now extract and open LGwinTools file->open locate the dz file. Items will be displayed in bin files, now click on save to any new folder.
4. We need two files SYSTEM and APPS. Extract and run ext2explore then locate the SYSTEM file, it will load. Now click on save to any new directory(make sure the folder name is system)
5. Now rename the file APPS to "boot.img" (you have extracted from LGwinTools)
6. Make an archive .zip containing \system boot.img \META-INF(attached below)
6 Next process will be installing "Cygwin" read this
7. Installing dsixda's Kitchen read this
8. After you installation you have move the created zip file to \kitchen\original_update (In my case it is "C:\Cygwin\home\Santhoosh\Kitchen\original_update")
9. Run Cygwin
Code:
cd kitchen
./menu
10. Setup working folder and go to Advanced option select "Deodex files in your rom" MAKE SURE YOU SET THE API LEVEL TO 19 and choose both system and framework
11. After this "Rename the app folder in /system to app1" "priv-app to app" in WORKING Directory
12. Now again go for Deodex and deodex the remaining files. after completion rename app to priv-app and app1 to app.
13. Make sure the updator-script is untouched
14. Do zip align(optional) and make any other changes you want.
15. Remove unnecessary app like GooglePlus etc. Remove the Qtranslator and Polarisviewer apk and odex files.
Note: After Deodexing the LG Keyboard will not work, Remove it and add any other keyboard to app folder.
16. Now move to working folder and make a zip file of all. (/system /META-INF boot.img)
17. FLASH IT :laugh::laugh:
18. To Gain root access you have to download this and flash SU
I tried to unpack kdz file, but the programm (unpack_kdz.bat) didn't work. The text in a window is : "Error! LGExtract.exe is not internal or external command, programm or batch file". Why did this error happened? I use windows 7 x64
explains better.. please no root l7 ii p715 kitkat 4.4.2 ....
:
santhoosh said:
Here I'm posting how to convert .kdz file into a Flashable zip file, The list of files you needed are
Official kdz file
kdz extractor
LGwinTools
ext2explore
Cygwin (If you are a windows user) from here
dsixda's kitchen This Thread
1. Extract the kdz extractor to the new folder, just drag and drop the kdz file to the unpack_kdz.bat. You will find the .cab file in the same directory where you have kdz.
2. Drag and drop the cab file to unpack_cab.bat. The dz file will be extracted to /dz folder in the same directory.
3. Now extract and open LGwinTools file->open locate the dz file. Items will be displayed in bin files, now click on save to any new folder.
4. We need two files SYSTEM and APPS. Extract and run ext2explore then locate the SYSTEM file, it will load. Now click on save to any new directory(make sure the folder name is system)
5. Now rename the file APPS to "boot.img" (you have extracted from LGwinTools)
6. Make an archive .zip containing \system boot.img \META-INF(attached below)
6 Next process will be installing "Cygwin" read this
7. Installing dsixda's Kitchen read this
8. After you installation you have move the created zip file to \kitchen\original_update (In my case it is "C:\Cygwin\home\Santhoosh\Kitchen\original_update")
9. Run Cygwin
Code:
cd kitchen
./menu
10. Setup working folder and go to Advanced option select "Deodex files in your rom" MAKE SURE YOU SET THE API LEVEL TO 19 and choose both system and framework
11. After this "Rename the app folder in /system to app1" "priv-app to app" in WORKING Directory
12. Now again go for Deodex and deodex the remaining files. after completion rename app to priv-app and app1 to app.
13. Make sure the updator-script is untouched
14. Do zip align(optional) and make any other changes you want.
15. Remove unnecessary app like GooglePlus etc. Remove the Qtranslator and Polarisviewer apk and odex files.
Note: After Deodexing the LG Keyboard will not work, Remove it and add any other keyboard to app folder.
16. Now move to working folder and make a zip file of all. (/system /META-INF boot.img)
17. FLASH IT :laugh::laugh:
18. To Gain root access you have to download this and flash SU
Click to expand...
Click to collapse
Ilyazzzz said:
I tried to unpack kdz file, but the programm (unpack_kdz.bat) didn't work. The text in a window is : "Error! LGExtract.exe is not internal or external command, programm or batch file". Why did this error happened? I use windows 7 x64
Click to expand...
Click to collapse
use this, i have uploaded wrong file
https://www.dropbox.com/s/ko3s25r0wxf2ext/kdz_extractor.zip?dl=0
rodrigorafaelb said:
:
Click to expand...
Click to collapse
you can root by flashing this file
SuperSU
kdz_extractor modified
download and use this, dont download the kdz_extractor in the main thread.
So.. for the last step is, we don't have to build using kitchen but just archive the working folder instead?
santhoosh said:
you can root by flashing this file
SuperSU
Click to expand...
Click to collapse
how to flash it??
riskey95 said:
how to flash it??
Click to expand...
Click to collapse
In cwm.
sasa g said:
In cwm.
Click to expand...
Click to collapse
my device not rooted yet
riskey95 said:
my device not rooted yet
Click to expand...
Click to collapse
So root it follow author tutorial i already rooted my p715 thanks ts
i managed to make a flashable .zip and rooted with your tutorial ,thanks,but do you know how to make the inverse proccess? make this .zip into a kdz firmware??????
will this work for l5 II? I'm having trouble using lg mobile support tool. this is my only option for now..
It will work
Sent from my LG-P715 using XDA Free mobile app
santhoosh said:
It will work
Sent from my LG-P715 using XDA Free mobile app
Click to expand...
Click to collapse
thanks. by the way, will the custom recovery and root access be removed when I flash the zip?
It won't be removed
Sent from my LG-P715 using XDA Free mobile app
santhoosh said:
It won't be removed
Sent from my LG-P715 using XDA Free mobile app
Click to expand...
Click to collapse
ts i did a flashable zip of my country kitkat firmware its philppine kitkat firmware http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW808706432109876543213/V20A_00.kdz
after i flashed .zip it success is version is 4.2.2 but the software version is v10h? not v20a? did you have any idea for this?
May be you have to wait for the kitkat update or simply download any other country firmware.
Sent from my LG-P715 using XDA Free mobile app
what does the bat file do? nothing happens when I drag and drop the kdz file in the batch file.
Which one you downloaded, i have attached a modified kdz_extractor.zip try that
Sent from my LG-P715 using XDA Free mobile app

[G850F][How to]Deodexing stock ROM 5.0.2

Remember: Backup first! Be rooted! Have busybox installed! (We will create a recovery flashable zip which updater-script uses busybox commands)
To deodex your current device state follow the steps below:
Make sure you have adb and your device drivers installed on your computer (how to: installing and using adb).
Open command line and pull /system/app, /system/priv-app and /system/framework from phone via adb to your computer.
Code:
adb pull /system/app app
adb pull /system/priv-app priv-app
adb pull /system/framework framework
This will generate the folders "app", "priv-app" and "framework" containing the pulled files in the current directory.
Generate a list containing the folders with "arm"-folders which have to be deleted later in the phone (not the "lib/arm"-folders!!). Do this by opening terminal and navigate to the folder containing your previously pulled folders "app", "priv-app" and "framework" and type
Code:
dir /s /a:d /b arm | find /v "\lib\arm" > loglist.txt
There now should be a textfile containing all paths to the "arm"-folders. We'll need it later...but the textfile should look like:
Code:
<Directory you pulled your files to>\priv-app\3DTourViewer_HD_M2\arm
<Directory you pulled your files to>\priv-app\BackupRestoreConfirmation\arm
<Directory you pulled your files to>\priv-app\CloudAgent\arm
<Directory you pulled your files to>\priv-app\CSC\arm
....
Install Java (if you don't already have) and de-odex the pulled files with this tool.
Put the deodexed files into the folders /system/app, /system/priv-app and /system/framework in the attached zip.
Edit the zips' updater-script (META-INF\com\google\android\updater-script) according to the previously generated folder list. Take the textfile generated in 3. and replace
all \ with /
the path <Directory you pulled your files to> (see above example) in the textfile with "/system
It then should look like:
Code:
"/system/priv-app/3DTourViewer_HD_M2/arm
"/system/priv-app/BackupRestoreConfirmation/arm
"/system/priv-app/CloudAgent/arm
"/system/priv-app/CSC/arm
....
Then replace line end characters with ", (remember to remove the very last comma in the line or to insert a very last " in the line in case the last line doesn't contain line end character(s)) to get a comma-separated list of your folders:
Code:
"/system/priv-app/3DTourViewer_HD_M2/arm","...","/system/priv-app/BackupRestoreConfirmation/arm"
Modify the 'delete-recursive' entries in the updater-script according to your list and save it (do neither modify the encoding of the file nor the line end characters! Has to be "LF"! )
Boot into recovery.
Clear cache and dalvik-cache.
Flash zip.
Reboot (in my case it took some minutes).
I recommend using Notepad++ as editor because it's easy to use and much more powerful than standard windows editor.
reserved
SHA_NDY said:
Ok, I finally managed to do it.
If anyone is interested in how it worked I can try to provide my way to success ...
Remember: Backup first! Be rooted! Have busybox installed!
Make sure you have adb and device drivers installed on your computer.
Pull /system/app, /system/priv-app and /system/framework from phone via adb to your computer.
Code:
adb pull /system/app app
adb pull /system/priv-app priv-app
adb pull /system/framework framework
This will generate the folders "app", "priv-app" and "framework" containing the pulled files in the current directory.
Generate a list containing the folders with "arm"-folders which have to be deleted later in the phone. Do this by opening terminal and navigate to the folder containing your previously pulled folders "app", "priv-app" and "framework" and type
Code:
dir /s /a:d /b arm | find /v "\lib\arm" > loglist.txt
There now should be a textfile containing all paths to the "arm"-folders. We'll need it later...but the textfile should look like:
Code:
<Directory you pulled your files to>\priv-app\3DTourViewer_HD_M2\arm
<Directory you pulled your files to>\priv-app\BackupRestoreConfirmation\arm
<Directory you pulled your files to>\priv-app\CloudAgent\arm
<Directory you pulled your files to>\priv-app\CSC\arm
....
Install Java (if you don't already have) and de-odex the pulled files with this tool.
Put the deodexed files into the folders /system/app, /system/priv-app and /system/framework in the attached zip.
Edit the zips' updater-script (META-INF\com\google\android\updater-script) according to the previously generated folder list. Take the textfile generated in 3. and replace
all '\' with '/'
the path '<Directory you pulled your files to>' (see above example) in the textfile with '/system'
'/arm' with '/arm"'
Line end characters with ','
to get a comma-separated list of your folders. Modify the 'delete-recursive' entries according to your list and save the updater-script (do not modify the encoding of the file)
Boot into recovery.
Clear cache and dalvik-cache.
Flash zip.
Reboot.
Attached: the zip-file body which has to be edited as you need it...do not touch the permission settings in the updater-script...
Click to expand...
Click to collapse
One question , have you use twrp 2.8.1.1 ?
Inviato dal mio SM-G850F utilizzando Tapatalk
belthazor86 said:
One question , have you use twrp 2.8.1.1 ?
Click to expand...
Click to collapse
Yes, I used TWRP 2.8.1.1
I'm not sure but perhaps it will also work flashing with Flashify app.
Ok,now I can do it again. In this time i have modified the file updater-script with information of my textfile
Inviato dal mio SM-G850F utilizzando Tapatalk
Nothing,bootloop again..I give up. Nothing Xposed for me
Inviato dal mio SM-G850F utilizzando Tapatalk
The bootloop problem was a LF replaced by CRLF in the edited updater-script...
I followed your guide and everything went well. No bootloop.
But I got some popup notifications that google services and some google related stuff has stopped so I can not finish the initial setup.
Any clue what went wrong?
I assume your downloadable deodexed france 5.0.2 is for galaxy G850F ... Flashed it ... Bootloop ...
zalood said:
I followed your guide and everything went well. No bootloop.
But I got some popup notifications that google services and some google related stuff has stopped so I can not finish the initial setup.
Any clue what went wrong?
Click to expand...
Click to collapse
Hey zalood,
I only moved through all the steps described in the guide after initial setup was done. I'm not sure if there are files/libs/preferences missing before setup is complete.
zalood said:
I assume your downloadable deodexed france 5.0.2 is for galaxy G850F ... Flashed it ... Bootloop ...
Click to expand...
Click to collapse
This zip is for deodexing a stock state france 5.0.2 ROM, not the ROM itself. Same for russian zip...
I hope this was helpful.
SHA_NDY said:
Hey zalood,
I only moved through all the steps described in the guide after initial setup was done. I'm not sure if there are files/libs/preferences missing before setup is complete.
This zip is for deodexing a stock state france 5.0.2 ROM, not the ROM itself. Same for russian zip...
I hope this was helpful.
Click to expand...
Click to collapse
Thanks SHA_NDY.
Perhaps I was also wiping the data instead cache and dalvik only.
Will try again in the morning and revert back ...
Deodexing and flashing successful . . .
Thanks a lot for this Guide . .
first of all thank you, for this guide :good:
when I try to install it TWRP says "E: Error executing updater binary in zip ' /sdcard....", but i don´t touched the updater-binary file.
can someone give me an advice ?
albert-319 said:
first of all thank you, for this guide :good:
when I try to install it TWRP says "E: Error executing updater binary in zip ' /sdcard....", but i don´t touched the updater-binary file.
can someone give me an advice ?
Click to expand...
Click to collapse
Which TWRP version do you use? I use 2.8.1.1 and everything works perfect.
If you don't succeed in flashing with e.g. other TWRP version you can take a zip (something you already flashed) that you know to work with your TWRP version. Delete everything in the zip EXCEPT the updater-binary and place the files you deodexed into the zip (keep the folder structure according to the attached zip in this thread) and place your updater script.
Do you have busybox installed?
Hi, just flashed stock russian firmware, set up google account and etc, flashed twrp 2.8.1.1. then russian zip to deodex but stuck on android logo, do I have to update gapps after setting account and then flash deodex zip?
diego1810 said:
Hi, just flashed stock russian firmware, set up google account and etc, flashed twrp 2.8.1.1. then russian zip to deodex but stuck on android logo, do I have to update gapps after setting account and then flash deodex zip?
Click to expand...
Click to collapse
I'm not sure if I did so to get it working. I think I remove the zip files, everyone should do like described in the tuto, don't know what side-effects do occur...sorry
Dear SHA_NDY,
So I followed all the steps in your tutorial.
So what I did was unzipped the zip file that you had attached, and then updated the directories with the deodexed files and updated the updater script as well. I then zipped the file back up and tried to flash it but it wouldnt flash for me.
What am I doing wrong?
Thank you
harper86 said:
Dear SHA_NDY,
So I followed all the steps in your tutorial.
So what I did was unzipped the zip file that you had attached, and then updated the directories with the deodexed files and updated the updater script as well. I then zipped the file back up and tried to flash it but it wouldnt flash for me.
What am I doing wrong?
Thank you
Click to expand...
Click to collapse
Can you provide your zip for download? Thanks
SHA_NDY said:
Can you provide your zip for download? Thanks
Click to expand...
Click to collapse
Hi Shandy. Fixed it. What I did was just flashed arter97 deodex system image file via ODIN and works pretty well now. Just had to re root after that.
Thank you
Then replace line end characters with ", (remember to remove the very last comma in the line) to get a comma-separated list of your folders:
Code:
"/system/priv-app/3DTourViewer_HD_M2/arm","...","/system/priv-app/BackupRestoreConfirmation/arm"
Modify the 'delete-recursive' entries in the updater-script according to your list and save it (do neither modify the encoding of the file nor the line end characters! Has to be "LF"! )
Click to expand...
Click to collapse
Im trying so much but dont get this part.
At the monent i am here now
"/system/priv-app/3DTourViewer_HD_M2/arm
"/system/priv-app/BackupRestoreConfirmation/arm
"/system/priv-app/CloudAgent/arm
"/system/priv-app/CSC/arm
....
Click to expand...
Click to collapse
@SHA_NDY maybe you can explain it a little more?
maybe in german?
ManuFisch said:
Im trying so much but dont get this part.
At the monent i am here now
@SHA_NDY maybe you can explain it a little more?
maybe in german?
Click to expand...
Click to collapse
I'll give it a try but don't recall any German from childhood .
If you're using notepad++ or notetab pro, then you can do a replace using regular expressions, so put your cursor at the top of the doc and for the "find" field, use this [\r\n]+ and click on 'use regular expressions' if it's there, (which is carriage return line feed, which is at the end (invisible) of each line). In the replace field, put ", (exactly), and then replace-all. If the entire document is now a single line, then it's good. Probably you have to remove the last comma manually.
So now you've edited your .txt file that you created in the OP steps, so now open the updater-script file in the .zip. There are 3 "delete-recursive" sections like delete-recursive("... "), one for apps, one for priv-apps and one for framework, so copy the first batch of modified text from the .txt file that are "apps" (up till the framework one), and paste them over the entire innards of the ("...") clause of the delete-recursive. Same for framework (only one entry), and same for priv-apps.
I'm just writing from memory so maybe I mispelled something. ANyway, when you're completed, make sure to overwrite updater-script in the .zip and you should be ready to either mess up your phone (back it up!) or make it xposed compat.
cheers.

why i cant copy apk file from system folder in a rom to another rom?

I'm using V7 MIUI rom, I downloaded V8 rom from miui.com (both of them are Chinese's rom). I find that I can copy apk files in "Data" folder and install it normally. But apk files in "System"--->"Data" and "Priv-Data" cant do like that. I cant install them like files in "Data" folder does, and I notice that those file have a folder in same directory, inside that folder have a ".odex" file.
So, i wonder that those file must be install in special ways? And How can I install them?
Thank you for my poor english.:good:
Those system apk files usualy need to be flashed. You could copy and paste them in in a ROM.ZIP you are currently using and install them via a recovery (TWRP or CWM).
How it is actually done I am not realy sure (no experience) but in theory it should work this way.

Categories

Resources