[Completed] How to Deodex stock Rom for mtk chipset :) - XDA Assist

Assalam Alikum (may peace be upon You) People!!
This Tutorial was also done by #Superstone
but that Method Doesn't work now
so here i am for new working Tutorial
Today I’ll be Showing you How To deodex your STOCK ROM
there is only one single signed tool Working with MTK 6592 chipset
Which is Known As UnReal-Deoder
Thanks To Super Stone a Junior member of XDA Fourms Community who found this tool Which is Written by UnReal Mitch and Compiled by Noracle
i-mobile Community Thailand 
So Let’s Get Started 
Requirements :-
1:- downloaded Java SDK 8
2:- Winrar or 7zip
3:-The Unreal-Deodexer
4:- Rooted Device with Root Manager
5:- MTK-Driod Tools 
Step:-
1:- Install the Downloaded java SDK
2:- Fetch The frame work and system apps via Root Explorer. To The sd card
3:- Extract Unreal-Deodexer make Sure there is no space in Directory i.e C:/downloads/Un-Realboxing
4:- now after removing Space paste the system framework folder and system apps in sytem folder in UnReal-Deodexer 
5:- and start Unreal-Deodexer and Wait Till its finished 
6:- after it has been Finished change the Name of Folder like
done_apps and done_framework
7:- post them in internat memory of Phone.
8:- Connect the phone with MTK-Droid Tools
9:- run Abd Terminal 
10:- Enter these Commands 
adb remount
adb shell
stop
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
rm /system/app/*.jex
cp /sdcard/done_framework/* /system/framework/
rm /system/framework/*.odex
rm /system/framework/*.jex
echo dalvik.vm.execution-mode=int:fast >> /system/build.prop
reboot recovery
11:-Now phone should be in Recovery mode. Wipe cache + dalvik cache in recovery. (Important to delete both caches! Otherwise phone might be stuck @ reboot...)
12:- reboot the phone (now deodexed rom needs quite a while for the first startup....)
13:- Enjoy Deodexed stock Rom 

Hi there,
There is many threads where is discussed about deodexing ROM's. See bellow:
[Guide] [Tutorial] How to Deodex Stock Rom using Universal Deodexer (Easiest Way)
[GUIDE][UPDATED] How to deodex stock kitkat roms
[GUIDE]【How To DEODEX Stock ROM】[UPDATE 30sept - FIX JELLYBEAN issue]
Ask in one of that thread if you have more querry about that.
Good luck

Related

[GUIDE]【How To DEODEX Stock ROM】[UPDATE 30sept - FIX JELLYBEAN issue]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First Lets know some Basic knowledge about DEODEX/ODEX...
What is Odex and Deodex ROM
What is an ODEX file?
In Android file system, applications come in packages with the extension .apk.
These application packages, or APKs contain certain .odex files whose supposed function is to save space.
These ‘odex’ files are actually collections of parts of an application that are optimized before booting.
Doing so speeds up the boot process, as it preloads part of an application.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
What is an DEODEX file?
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
So, Deodexed ROMs (or APKs) have all their application packages put back together in one place,
allowing for easy modification such as theming. Since no pieces of code are coming from any external location,
custom ROMs or APKs are always deodexed to ensure integrity.
How this works?
For the majority noobs amongst us, Android OS uses a Java-based virtual machine called the Dalvik Virtual Machine.
A deodexed or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK.
An .odex file, on the other hand, is an optimized version of this same .
dex file that is stored next to the APK as opposed to inside it.
Android applies this technique by default to all the system applications.
When an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages.
Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.
Advanteges & Disadvantages
The advantage of deodexing is in modification possibilities.
This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first,
since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times.
However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used.
Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
Note:Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.​
Lets Start...
GUIDE TO DEODEX STOCK ROM
Java Development KIT
(Download & Setup Guide)
ANDROID SDK
xUltimateV2.3.3
(only this version is capable with samsung device)
Official Link to xUltimate : POST #5
7-Zip
(32-Bit & 64-Bit)
1.Download android-sdk & extract it.
2.Copy sdk folder & paste it into
Code:
C:\Program Files\Android
3.Change name from SDK to Android.sdk.
(inside folder look like this)​
4.you need to flash stock firmware first & Root your device.​
5.Connect your phone to computer.(Make sure you have select USB debugging in Settings>Applications>Development)​
6.Download & extract xUltimate zip.
7.Launch Main.exe(Run as administrator)
8.If everything goes well xUltimate should recognize the phone and make a connection.You now should see a list of options.
9.Select option (1) pull /system/app. Wait until it complete.​
10.Select option (2)pull /system/framework. Wait until it complete.​
11..Then select option (3) Deodex /system/app. Wait until it complete.
[If encounter any error. Find out which .odex file is it. Then remove .odex file from folder origi_app in xUltimate folder]
(i found 5 errors so i attached that app's deodex files below you just want to paste in system/app when this process complete)​
12.Then select option (4)Deodex /system/framework. Wait until it complete.​
13.DONE : your rom is now deodex. Now Exit from xUltimate​
​
Now there are 2 ways to install deodex files in device
1. from Android.SDK
From Android.SDK :
1.Put the phone in USB mass storage.
2.Go to xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
3.Now get out from USB storage mode.
4.Go to
Code:
C:\Program Files\Android\android.sdk
& open command promote there.
5.Enter following codes.
(if you are using adb shell in su for the first time, keep phone screen on. After entering "su" code, super user request prompt in phone. Press allow )
Code:
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
6.Now you have deodexed rom.
​
2. from SampleDEODEX.zip file attached below.
From zip file attached
1.open zip given as archive.
(use 7.zip but DO NOT EXTRACT.)
2.go to system/app folder & paste here all your deodexed apk's
3.same for for system/framework to paste framework files.
4.done, paste it in your SD-Card & flash through CWM.
​
STILL IF YOU FACE ANY ERROR
Especially Android 4.1 + (JB) users
Try this method Updating xUltimate tool manually.
asm-xda said:
First of all, thx for the OP. This method for Deoexing works fine, I needed to make a few updates - described below - in order to make it work on my GT-P3113 device, running JB 4.2.2.
OK. So, you have already made sure JDK is properly installed but still can't succeed? Check the following... These are the changes I had to make to deodex my ROM.
1. Get the latest version of xUltimate. It's version 2.4.2: http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip. If you got version 2.3.3 and accepted to download latest version, you were directed to a thread that is not updated with the latest version. Check post #549 on that thread to find the link I've pasted above.
2. If you happen to have Android 4.2.2 on your device, ADB needs to be updated. xUltimate has version 1.0.26 which won't properly connect with your device. NOTE: you can tell which version of adb you are using by running this: adb version
So:
Install the latest version of the Android SDK to get ADB version: 1.0.31 (or later, should be fine).
Locate and copy over these 3 files from the Adnroid SDK install folder into xUltimate-v2.4.2\jar replacing the existing ones:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
3. I don't know this step is a must for everyone, but it was for me. The assembler/deassembler for .dex file format must be upgraded too. The version in the jar folder in xUltimate-v2.4.2 didn't work fine with the .odex files in my stock ROM.
So:
Download smali.jar and baksmali.jar from here: https://code.google.com/p/smali/. I got version 1.4.2 but any above that should work fine too for the latest available ROMs I guess.
The 2 files probably include the version number in the filename ( i.e.: smali-1.4.2.jar and baksmali-1.4.2.jar). Rename them so they are called: smali.jar and baksmali.jar.
Copy (& replace) those 2 files into xUltimate-v2.4.2\jar folder.
So, that's it. After doing all the above, I managed to deodex my ROM. Well... not quite... there's something else.
After doing the steps above, you should go ahead and follow instructions in the first post of the thread. If everything works, then you are done! Say thanks to OP and enjoy your deodexed ROM. :good::victory:
If however, you still encounter errors while running the xUltimate tool, keep reading...
NOTE: The following is probably only true for certain devices (like mine) so disregard if you don't find any error while following OP steps to deodex.
I got into errors deodexing these files: SamsungIME, SecEmail_Tablet, SecSetting and SecExchange.
Since I couldn't find how to make them work, I decided to leave those files odexed. I'm not sure if that was a good idea or not, but it's fine for me because in my case I actually wanted to deodex some specific apks, not really all of them.
If you decide you want to skip some files (as I did), you'll need to proceed as follows:
Take note of the files that couldn't be deodexed and move those files from the orig_app or orig_frame folder into a new folders, let's call them: "no_deo_app" and "no_deo_frame". Ensure you move the .odex file + .jar file (in case it exists). Make really sure you move files into the right folder: "orig_app" into "no_deo_app" and "orig_frame" into "no_deo_frame".
Run the deodexing again until everything works fine. If you find another file that gives you problem, you do step 1 and 2 again until the tool completes all files successfully.
Now you have 4 folders that are relevant: "done_app", "done_frame", "no_deo_app", "no_deo_frame". Copy all of them into the root of your sdcard.
Now, get into adb shell as superuser access as described in OP following the commands below instead of the ones in the OP. Basically the difference will prevent you from deleting the odex file for the apps that couldn't be deodexed.
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
[COLOR="red"][B]cp /sdcard/no_deo_app/* /system/app/[/B][/COLOR]
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
[COLOR="Red"][B]cp /sdcard/no_deo_frame/* /system/framework/[/B][/COLOR]
mount -o ro,remount /system/ /system/
reboot
Well, that was it for me . This is what I've done to doedex my stock JB 4.2.2 ROM my Galaxy Tab 2 7.0 tablet.
Regards!
Click to expand...
Click to collapse
thanks to @asm-xda
4real*leb
Xeudoxus
and
asm-xda
(for finding the way to deodex rom for Jellybean User)
GALAXY Ace Plus User's : GO HERE http://forum.xda-developers.com/showthread.php?p=43835177#post43835177​
Cool
omarilzz said:
Cool
Click to expand...
Click to collapse
:fingers-crossed: Thanks bro
will this work with any phone?
i have an alcatel OT X'pop. will this work? 4.1.1?
aldnnnn said:
i have an alcatel OT X'pop. will this work? 4.1.1?
Click to expand...
Click to collapse
YES it does work on any device...
first give a try on above 2.3.3 xUltimate version if u face any issue download latest version v2.4 from here ;
follow same steps like above :highfive: ​
nice method but it is easier from dsixda's kitchen(cygwin)
cant recognized device
i think ive done everything but still wont recognize my device.
any suggestions?
ManzzaShahi said:
nice method but it is easier from dsixda's kitchen(cygwin)
Click to expand...
Click to collapse
i know...
but that kitchen doesn't deodex our device's apk files as much this xUltimate do
i don't know why
but i tried every step (I have kitchen & several kind software's too) & found easiest way is this only to deodex ur apk files :fingers-crossed:​
aldnnnn said:
i think ive done everything but still wont recognize my device.
any suggestions?
Click to expand...
Click to collapse
Give a try on newer version v2.4 I gave link above in that pic.
coz it has ICS Razor support.
or you have to check whether your java works fine or not.
go through some youtube video's to find how to setup JAVA or follow guide below;​
JAVA Development KIT
< Guide How to Setup JAVA >
Download JAVA Development Kit & install it first.
go to desktop, right click on
computer > properties >:highfive>Advance system setting> in advance tab environment variables
First : In user variable for ***
click new & type
Code:
variable name : CLASSPATH
variable value : C:\Program Files\Java\jdk1.7.0_21\jre\bin (your java installed path varies on your installed location)
Second : In system variables
click new & type
Code:
variable name : PATHTEXT
variable value : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
also check in path is there above java path present or not if not just add it BUT do not remove old codes from line...!!! ​
j.posarekar70 said:
< Guide How to Setup JAVA >
Download JAVA Development Kit & install it first.
go to desktop, right click on
computer > properties >:highfive>Advance system setting> in advance tab environment variables
First : In user variable for ***
click new & type
Code:
variable name : CLASSPATH
variable value : C:\Program Files\Java\jdk1.7.0_21\jre\bin (your java installed path varies on your installed location)
Second : In system variables
click new & type
Code:
variable name : PATHTEXT
variable value : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
also check in path is there above java path present or not if not just add it BUT do not remove old codes from line...!!! ​
Click to expand...
Click to collapse
missed this part of installing java
thanks!
will try again soon because i dont have my phone right now.
also i i have these folders in the same java folder
C:\Program Files\Java\jre6
C:\Program Files\Java\jre7
do i need these files?
aldnnnn said:
missed this part of installing java
thanks!
will try again soon because i dont have my phone right now.
also i i have these folders in the same java folder
C:\Program Files\Java\jre6
C:\Program Files\Java\jre7
do i need these files?
Click to expand...
Click to collapse
You may keep aside coz u wanna download java development kit which is jdk for that jre doesn't matter...
just for suggestion remove older version of jre from ur pc if u have jre7. ​
can u help every system file i try to deodex gives error and when i move to another it again gives error what to do same is with framework
tejasvi1 said:
can u help every system file i try to deodex gives error and when i move to another it again gives error what to do same is with framework
Click to expand...
Click to collapse
It would be great if u tell me which device u using to deodex files...
& also if possible attach error screen image/attach log file.
sent from Tapatalk 4
thks for replying , i am using my laptop for deodex my stock jellybean firmware on xperia ion
tejasvi1 said:
thks for replying , i am using my laptop for deodex my stock jellybean firmware on xperia ion
Click to expand...
Click to collapse
well you just have to skip those apk's which cause these errors...
close this window, go in Orig_app folder & delete related apk + its .odex file & give another try.
if error appear in another apk do the same.
some apk's wont get deodex through this app you just have to delete those & move forward.
.
.
.
if u get error in each system apk then download older version's of xUltimate app from this POST #5​
Awsm buddy by the way i have a xperia mini(stock ics) . Will this work on it ?
sadab said:
Awsm buddy by the way i have a xperia mini(stock ics) . Will this work on it ?
Click to expand...
Click to collapse
Keep backup
give a try
follow each steps ​
Nice guide! I followed it when I created my ROM! Very useful! tnx
Hope it works on my samsung galaxy pocket
I will try on my samsung galaxy pocket coz i want the s3 status bar so hope it works without any issues if i have some problem i will tell u guys
---------- Post added at 02:16 PM ---------- Previous post was at 02:10 PM ----------
Plzz check and tell me that will it work on my Rooted Samsung Galaxy Pocket plzz thnx in advanced
KumailHyderMirza said:
I will try on my samsung galaxy pocket coz i want the s3 status bar so hope it works without any issues if i have some problem i will tell u guys
---------- Post added at 02:16 PM ---------- Previous post was at 02:10 PM ----------
Plzz check and tell me that will it work on my Rooted Samsung Galaxy Pocket plzz thnx in advanced
Click to expand...
Click to collapse
Give a try my friend...
there is no way to brick your device .
you just have to put system & framework files in the pc & let xUltimate do the work.
if everything goes fine you get pair of folders deodex system apps & that of framework files .
put them to make flashable zip & there you go deodex stock rom.
everything will fine if u follow my steps.
if get any wrong (error) then its been in ur pc only not in ur phone ​
loxdegio said:
Nice guide! I followed it when I created my ROM! Very useful! tnx
Click to expand...
Click to collapse
Happy to help you
​

[Guide] How to Deodex Xperia C Stock rom JB 4.2.2 B# 16.0.B.2.6

How to Deodex Xperia C Stock rom JB 4.2.2 B# 16.0.B.2.6 without cwm
This way I was able to get it done & working
I am not responsible if You Brick your devices
Credits to All Dev's who given us good tools & made it Simple to get it done
All XDA users who have give easy tips.
Requried tools to get the job done
Holox Tool To back your Rom
If you like if press thanks
Universal Deodexer V4 to Deodex Apk's/jar's
Android SDK to push search here on xda to install & setup SDK
1. Download Holox Tool here & give credits there
Holox Tool here and follow the steps there how to backup Rom
2.Download Universal Deodexer V4[ALL DEVICES!!] & give credits there
Universal Deodexer and follow the steps there how to Deodex Apk's/jar's
1. Pull Framework files from Phone
2. Deodex all jar's file framework folder
3. make new folder & name "done_frame" copy all Deodex jar's files framework done_frame folder now
4. Now got Holox Tool folder & copy all apps *.apk & *.odex files from HoloxTool\ROM\app
also don't forget to deodex from framework folder SemcGenericUxpRes.apk & SemcGenericUxpRes.odex
5. make new folder & name "done_app" copy all Deodex apk's files framework done_app folder now
6. Connect your Phone to pc done_app & done_frame folders to root of sd card.
Now go here How to Push
Improtant Follow this steps to push files
Follow this steps to Push files & give credits there
Deodex ICS Strictly for Xperia S
Code:
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
Reboot & enjoy
now your Phone is Deodexed
Now if you can edit or help us edit/theming.
proof
Thanks for the guide mate .
But can you tell me whats the difference between odex and deodex rom, and what exactly are the advantages of deoxed rom ?
metalrules321 said:
Thanks for the guide mate .
But can you tell me whats the difference between odex and deodex rom, and what exactly are the advantages of deoxed rom ?
Click to expand...
Click to collapse
please read here
The differences between Odex and Deodex Files
Xenon1978 said:
please read here
The differences between Odex and Deodex Files
Click to expand...
Click to collapse
If we can push files to our Xperia C, can we push rom like the same way? If there will be a rom for Xperia c of course.
TacoNikky said:
If we can push files to our Xperia C, can we push rom like the same way? If there will be a rom for Xperia c of course.
Click to expand...
Click to collapse
Yes I think so We can push. May be I will try it Later.
Xenon1978 said:
Yes I think so We can push. May be I will try it Later.
Click to expand...
Click to collapse
CWM is available for Xperia C. If your deodexed rom is flashable with CWM, can you please share it with us?
TacoNikky said:
CWM is available for Xperia C. If your deodexed rom is flashable with CWM, can you please share it with us?
Click to expand...
Click to collapse
no its not flashable with CWM
Xenon1978 said:
How to Deodex Xperia C Stock rom JB 4.2.2 B# 16.0.B.2.6 without cwm
This way I was able to get it done & working
I am not responsible if You Brick your devices
Credits to All Dev's who given us good tools & made it Simple to get it done
All XDA users who have give easy tips.
Requried tools to get the job done
Holox Tool To back your Rom
If you like if press thanks
Universal Deodexer V4 to Deodex Apk's/jar's
Android SDK to push search here on xda to install & setup SDK
1. Download Holox Tool here & give credits there
Holox Tool here and follow the steps there how to backup Rom
2.Download Universal Deodexer V4[ALL DEVICES!!] & give credits there
Universal Deodexer and follow the steps there how to Deodex Apk's/jar's
1. Pull Framework files from Phone
2. Deodex all jar's file framework folder
3. make new folder & name "done_frame" copy all Deodex jar's files framework done_frame folder now
4. Now got Holox Tool folder & copy all apps *.apk & *.odex files from HoloxTool\ROM\app
also don't forget to deodex from framework folder SemcGenericUxpRes.apk & SemcGenericUxpRes.odex
5. make new folder & name "done_app" copy all Deodex apk's files framework done_app folder now
6. Connect your Phone to pc done_app & done_frame folders to root of sd card.
Now go here How to Push
Improtant Follow this steps to push files
Follow this steps to Push files & give credits there
Deodex ICS Strictly for Xperia S
Code:
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
Reboot & enjoy
now your Phone is Deodexed
Now if you can edit or help us edit/theming.
Click to expand...
Click to collapse
Can you show me exactly what did you do to deodex, because i tried so many times but failed. Plz. Sorry for my bad English
Get from here
Download Deodexed Stock System for Xperia C (16.0.B.2.16)
http://forum.xda-developers.com/son...dexed-stock-folder-xperia-c-16-0-b-2-t2867158
Bootloop
:
Xenon1978 said:
proof
Click to expand...
Click to collapse
can someone help whats Android version and Whats Compression Level on UnivresalDeodexerV5 for xperia c 4.2.2JB
every time i ended up with bootloop...............
Thanx....

[How to] Xperia E-Deodex rom on locked BL

I'll show you how deodex on locked bl
Needed:
- XPERIA E
- ADB
- pack deodex
- Root
- Flash Gordon
1. Download Flash Gordon, and install.
2. Put a pack on the phone, and run Flash Gordon.
3. Select a package and click Flash deodex.
4. Reboot
5. Run CMD, go to adb, and type (will be easiest to do this: Go to the folder with adb, stick shift, and the open the Open dialog recommending here)
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot​6. Ready
Download:​
Code:
http://www27.zippyshare.com/v/32240545/file.html
@Tejo001 Can you confirm you successfully used FlashGordon to flash the complete /system/apps folder before I try this method.. Thx
As I thought.. Bricked due to fc when trying to flash over running apps/system.. Ftf to the rescue!! (on E1 4.4.2 kitkat, with my own flashable deodex patch)
This method only works on E because it is converted from the ROM 2.33
I need comfirmation Have you try this methode ? Because i need a deodex rom for the systemui.apk i will install ^^ Because i have deleted the stock systemui.apk accidentally.. So you can certified this methode
And, you can make screenchot Thank you !
Sry my bad english :3
Yes
Thank you ! ♥
THANK YOU !
You have save me 2 times ! Because i deleted my systemui and with the flash i have it ! And i have now a deoxdex ROM ! Thank you !
There is no problem. Since I'm here
Tejo001 said:
This method only works on E because it is converted from the ROM 2.33
Click to expand...
Click to collapse
thanks, so are you saying FlashGordon does overwrite system/apps successfully or not (forget about what device I am on - I've made a perfectly good flashable deodex patch for my E1, as I did for Z Ultra and other sony devices http://forum.xda-developers.com/showthread.php?t=2798690).
Sorry for bugging you on this - I'm just confused how this could work on a running system (and I have an "unlockable" bootloader hence looking into other methods like this).
thanks again..

[mod][tool][deodex] tool deodex lollipop with android terminal emulator

Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
Lollipop Deodex Tool for Android
I only modify script for work on android
original tools and tread by superR here and here hit thanks of his tools
This tool has successfully deodexed the framework, app, and priv-app of the Samsung galaxy star(not all deodex in framework bcs 512mb of ram but I use grand2 deodex app,priv-app,framework for galaxy star its all deodex) , mito a72. It should work on many others so please let us know your experience.
If you ask a question like "Will this work for the (Android device name here)?" the answer will almost certainly be "I don't know".
There is a readme included in the zip that explains general usage so please have a look there before asking. If there are issues, I will do my best to fix them.
Please do not repost this information or mirror the downloads. Feel free to post a link to this thread anywhere you like.
Download:
deodex_lollipop_Android-v2.5.zip
Required:
Rooted
you have installed apktool 6.0.1 or higer (if you dont have apktool 6.0.1, just try your apktool and report to me)
Busybox
Minimal 1GB of RAM (for deodex all)
credit :
@SuperR. - for his tools
@_riddle - for oat2dex
HOW TO USE :
Extract the zip file that you've downloaded .
Copy folder "TDA" -> /data/local/HERE , and copy 7za -> /system/bin/HERE . set permission arm/arm64/x86 -> 755 or rwxr-xr-x .
Copy app,framework,priv-app,build.prop -> /data/local/TDA/system/"HERE" .
Open Terminal Emulator .
Code:
su (enter)
Code:
cd /data/local/TDA (enter)
FOR ARM DEVICE
Code:
./arm (enter)
For ARM64 DEVICE
Code:
./arm64 (enter)
For X86 Device
Code:
./x86 (enter)
Enjoy ..
HOW TO PUSH YOUR DEODEX FILE :
copy your deodexing from /data/local/TDA/system/HERE to your /system/HERE and dont forget to set permission
you can push manualy use rootex or use aromafm ..
# reserved
Really Great Tool
Permission denied...
Working?? Or not
E5 StockRom...
---------- Post added at 02:39 PM ---------- Previous post was at 02:38 PM ----------
work on Samsung Galaxy E5 5.1.1??
E5 StockRom...
How to fix the issue sir, sm n900s lollipop os
Sent from my SM-N900S using Tapatalk
Yeasir-ya said:
Permission denied...
Click to expand...
Click to collapse
FredCord said:
How to fix the issue sir, sm n900s lollipop os
Sent from my SM-N900S using Tapatalk
Click to expand...
Click to collapse
How to fix permission denied is in op - set permissions on executable file to 755. Then copy your system folders into /data/local/TDA/system.
Just started on my Z1C, AOSP. Not sure if it's going to work, but so far so good...
andii_nr said:
Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
Lollipop Deodex Tool for Android
Click to expand...
Click to collapse
Everything successful and deodexed apps created, but bootloop when pushing new folders. Tried 2 times, and tried with data wipes, cache wipes, reboots, and long waiting. Any ideas? I did get one java exception message when process started, but didn't seem like anything serious.
Error shown in screen shot
...
andii_nr said:
HOW TO USE :
Extract the zip file that you've downloaded .
Copy folder "TDA" -> /data/local/HERE , and copy 7za -> /system/bin/HERE . set permission arm/arm64/x86 -> 755 or rwxr-xr-x .
Copy app,framework,priv-app,build.prop -> /data/local/TDA/system/"HERE" .
Click to expand...
Click to collapse
What's this problem & how to fix this ???
S4 gt i9500..stock lollipop rom :crying:
Nice tool
would you please,share your steps tip more detail for newbie
would you please,share your steps tip more detail for newbie here
:
andii_nr said:
HOW TO USE :
Extract the zip file that you've downloaded .
Copy folder "TDA" -> /data/local/HERE , and copy 7za -> /system/bin/HERE . set permission arm/arm64/x86 -> 755 or rwxr-xr-x .
Copy app,framework,priv-app,build.prop -> /data/local/TDA/system/"HERE" .
Open Terminal Emulator .
Code:
su (enter)
Code:
cd /data/local/TDA (enter)
FOR ARM DEVICE
Code:
./arm (enter)
For ARM64 DEVICE
Code:
./arm64 (enter)
For X86 Device
Code:
./x86 (enter)
Enjoy ..
HOW TO PUSH YOUR DEODEX FILE :
copy your deodexing from /data/local/TDA/system/HERE to your /system/HERE and dont forget to set permission
you can push manualy use rootex or use aromafm ..
Click to expand...
Click to collapse
Yeasir-ya said:
Permission denied...
Click to expand...
Click to collapse
set permition: tda arm/arm64/x86 to 755 iD
Superb job, deodex on SDK 22 x86 (32 bit) oat version 48 device works perfectly, had to use oat2dex v0.87 and another 7za binary in replacement to the ones included in the zip, but device boots everything works fine, thanks alot
Nyimeng

Root+Custom ROM Onda V10 Pro

Hi everybody,
i try to find tutorial to root my onda v10 pro tablet and then install a custom rom on it but i found nothing. Did someone change the official ROM, if yes can i have some help?
Thanks a lot.
locss said:
Hi everybody,
i try to find tutorial to root my onda v10 pro tablet and then install a custom rom on it but i found nothing. Did someone change the official ROM, if yes can i have some help?
Thanks a lot.
Click to expand...
Click to collapse
I also need to root in my v10 pro wave, and find custom rom, have if someone helps us, thanks
impossible to root or unlock
berti hispano said:
I also need to root in my v10 pro wave, and find custom rom, have if someone helps us, thanks
Click to expand...
Click to collapse
Hello, i also need to root this tablet, i want to enable remote control because i will give it to my grand mother. Any help on how to unlock bootloader or root the tablet will be apreciate ! THank you !
I found this thread : 4pda.ru / forum / index.php?showtopic=819301&st=80#entry64752617
They say to do the following command but i have "permission denied on all commands" !
Process:
- Unpack Magisk-v13.6 (1360) .zip
- In the unpacked folder, load the file boot-verified.img from the firmware and rename it to boot.img . And also rename the arm64 folder to magisk_inject
- Once again we make sure that the following folders and files are in the prepared folder: META-INF, boot.img, common, magisk_inject .
- Open the terminal from this folder (for win7 holding the shift, call the context menu and select Open command window here) and enter 5 lines of commands, one at a time (I used to copy-paste):
adb shell "rm -rf / data / local / tmp / *"
adb push META-INF / com / google / android / update-binary common magisk_inject boot.img / data / local / tmp
adb shell "cd / data / local / tmp / magisk_inject; mv ../common/*.; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox "
adb pull / data / local /tmp/magisk_inject/new-boot.img
adb shell "cd / data / local / tmp; rm -rf * .img magisk_inject / *. img update-binary bin common"
THank You !
ekirock said:
Hello, i also need to root this tablet, i want to enable remote control because i will give it to my grand mother. Any help on how to unlock bootloader or root the tablet will be apreciate ! THank you !
I found this thread : 4pda.ru / forum / index.php?showtopic=819301&st=80#entry64752617
They say to do the following command but i have "permission denied on all commands" !
Process:
- Unpack Magisk-v13.6 (1360) .zip
- In the unpacked folder, load the file boot-verified.img from the firmware and rename it to boot.img . And also rename the arm64 folder to magisk_inject
- Once again we make sure that the following folders and files are in the prepared folder: META-INF, boot.img, common, magisk_inject .
- Open the terminal from this folder (for win7 holding the shift, call the context menu and select Open command window here) and enter 5 lines of commands, one at a time (I used to copy-paste):
adb shell "rm -rf / data / local / tmp / *"
adb push META-INF / com / google / android / update-binary common magisk_inject boot.img / data / local / tmp
adb shell "cd / data / local / tmp / magisk_inject; mv ../common/*.; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox "
adb pull / data / local /tmp/magisk_inject/new-boot.img
adb shell "cd / data / local / tmp; rm -rf * .img magisk_inject / *. img update-binary bin common"
THank You !
Click to expand...
Click to collapse
Thank you for your post, but where can we find some custom rom for this tablet?
Thank you.
android 6.0
reddit.com/r/androidtablets/comments/6v4szs/onda_v10_pro_play_store_doesnt_work_out_of_the/
haven't tried yet but attempting tonight
Thanks Gregory, but is it possible to install a custom rom based on android 7?
system.img is corrupt for all . Has anyone successfully been able to flash this firmware to their devices so far??
Edit: my bad, cannot use 7 zip to extract, use ext4 extractor instead
Success!
Hi there
I tried dozen of methods to root this device and always failed.
I was ready to give up when I decided to give a last chance to me.
I have tried the Hovatek's brilliant fastboot way with magisk manager but always stucked on the critical last point.
OK, follow these intructions
#extrack Magisk 13 on a PC folder
# copy the files in common folder on sdcard in your device
#copy the original boot.IMG of your firmware on the sdcard
#open your device install and run Magisk manager app
#under this app install Magisk and chose .img
#go to sdcard and select your boot.img for patching
#look at the terminal if the job is done
#find the patched image in the Magisk folder at the main storage
#flash it with sp flash tool
#enjoy and forgive me for my basic English
PS. I'm looking for twrp or cwm for this device.
Please inform me if you know something about.
cosbrav said:
Hi there
I tried dozen of methods to root this device and always failed.
I was ready to give up when I decided to give a last chance to me.
I have tried the Hovatek's brilliant fastboot way with magisk manager but always stucked on the critical last point.
OK, follow these intructions
#extrack Magisk 13 on a PC folder
# copy the files in common folder on sdcard in your device
#copy the original boot.IMG of your firmware on the sdcard
#open your device install and run Magisk manager app
#under this app install Magisk and chose .img
#go to sdcard and select your boot.img for patching
#look at the terminal if the job is done
#find the patched image in the Magisk folder at the main storage
#flash it with sp flash tool
#enjoy and forgive me for my basic English
PS. I'm looking for twrp or cwm for this device.
Please inform me if you know something about.
Click to expand...
Click to collapse
Just did it. it works, though it was horrible. magisk 13 is too old and I could not find how to patch the boot.img option.
so I managed to do with the common files from 18.1 and the patching complete.
then I re-flashed everything and unfortunately it reset the tablet, but worked and I'm rooted now.
As you, waiting to the confirmation twrp exist, and if so what version.
cheers
cosbrav said:
Success!
Hi there
I tried dozen of methods to root this device and always failed.
I was ready to give up when I decided to give a last chance to me.
I have tried the Hovatek's brilliant fastboot way with magisk manager but always stucked on the critical last point.
OK, follow these intructions
#extrack Magisk 13 on a PC folder
# copy the files in common folder on sdcard in your device
#copy the original boot.IMG of your firmware on the sdcard
#open your device install and run Magisk manager app
#under this app install Magisk and chose .img
#go to sdcard and select your boot.img for patching
#look at the terminal if the job is done
#find the patched image in the Magisk folder at the main storage
#flash it with sp flash tool
#enjoy and forgive me for my basic English
PS. I'm looking for twrp or cwm for this device.
Please inform me if you know something about.
Click to expand...
Click to collapse
Followed the same but with latest Magisk and SP flash tools. It works and now my Onda V10 pro is rooted.
If you guys need latest google play services to be running on Onda V10 Pro. Please use LuckyPatcher after installing Magisk to install latest google play services(arm64-v8a).
Install LuckyPatcher and provide super user access.
1. Uninstall existing google play services using LuckyPatcher.
2. Download arm64-v8a compatible latest google play services and install as a system app using LuckyPatcher. After that it will ask for reboot and after rebooting it will show android apps updating loader for few mins.
3. Then you can use any apps that require latest google play services. For me youtube was not working before but now its working.

Categories

Resources