• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ROMs [TOOL][LINUX] Batch Lollipop Deodex (v1.9 - 8/9/15)

My LP tool isn't updating with your github.. Does the gitignore file need changing to allow the check/update? I ask cuz the "version label" is in the gitignore file
You need to do git pull from the working directory. Example:
Code:
cd /home/bcrichster/deodex_lollipop_linux
git pull
The gitignore file is not related. It is there so I can tell git which directories/files inside my working directory should not be pushed to the repo when I commit changes.
 
Upvote 0
What in the world..?!
82ea08ab531a5f8874a6d723743ace62.jpg
 
Upvote 0
Hi, may I know if your tool also works for mediatek devices?
I have an mtk6735 device running 5.1 lollipop (vkworld vk6050s)
Or is it only for qualcomm?
At this point we haven't a clue as it hasn't been brought to his attention, but theoretically: yes. You should try it out and let us know and report back if there's any issues or success.
 
  • Like
Reactions: SuperR
Upvote 0
At this point we haven't a clue as it hasn't been brought to his attention, but theoretically: yes. You should try it out and let us know and report back if there's any issues or success.

I see, well I'll be trying it out first
Thought this is something that's dependant on the phone's chipset

I got bootloops when I flashed the xposed framework for 5.1
So I'm thinking of deodexing the stock rom since it's another requirement for xposed to work.

Also, when my device is connected to the pc
Should it be on fastboot mode or just normal mode?
 
Last edited:
Upvote 0
I see, well I'll be trying it out first
Thought this is something that's dependant on the phone's chipset

I got bootloops when I flashed the xposed framework for 5.1
So I'm thinking of deodexing the stock rom since it's another requirement for xposed to work.

Also, when my device is connected to the pc
Should it be on fastboot mode or just normal mode?
If it does not work, please send a link to the rom so I can see what is going on.
 
  • Like
Reactions: bcrichster
Upvote 0
If it does not work, please send a link to the rom so I can see what is going on.

I'm having some trouble to get adb to detect my mtk device, while my nubia z7 (snapdragon 800) gets detected just fine
I've already followed the guides from these sites but it's still not working for me

http://www.mtkroms.com/2015/03/tool-how-to-setup-adb-and-fastboot.html
http://stackoverflow.com/questions/21117590/why-adb-ubuntu-does-not-recognize-my-device

On windows, I've already installed the necessary drivers, so the mtk device is listed in adb there.
Is it still possible to run the script with cygwin?
 
Upvote 0
I'm having some trouble to get adb to detect my mtk device, while my nubia z7 (snapdragon 800) gets detected just fine
I've already followed the guides from these sites but it's still not working for me

http://www.mtkroms.com/2015/03/tool-how-to-setup-adb-and-fastboot.html
http://stackoverflow.com/questions/21117590/why-adb-ubuntu-does-not-recognize-my-device

On windows, I've already installed the necessary drivers, so the mtk device is listed in adb there.
Is it still possible to run the script with cygwin?
You do not need adb to use the deodex script.
I have no idea about cygwin, but feel free to try it out and let me know how it goes.
 
Upvote 0
You do not need adb to use the deodex script.
I have no idea about cygwin, but feel free to try it out and let me know how it goes.

Oh, so it's not required?
Still new to this, so please bear with me
From what I understand, your script will deodex the framework, app, and priv-app.
Once it's done then I'd have to manually transfer the deodexed files into my phone?
 
Upvote 0
Oh, so it's not required?
Still new to this, so please bear with me
From what I understand, your script will deodex the framework, app, and priv-app.
Once it's done then I'd have to manually transfer the deodexed files into my phone?
Yes. This tool does not extract files from devices or put them back on your device. It only deodexes files that you give it.
 
Upvote 0
Thanks for the explanation
How should I transfer the files back into my device?
Fastboot or simply by MTP? Is there anything that involves changing permission for the deodex files?
Your question is beyond the scope of this tool as it is only intended for deodexing files on a Linux pc. However, I find it easiest to create a flashable zip with the deodexed files so the permissions get set properly. If you have a ROM for your device you can use it as a base to get the odexed files and to add the newly deodexed files back once finished.
 
Upvote 0
Your question is beyond the scope of this tool as it is only intended for deodexing files on a Linux pc. However, I find it easiest to create a flashable zip with the deodexed files so the permissions get set properly. If you have a ROM for your device you can use it as a base to get the odexed files and to add the newly deodexed files back once finished.

I find creating flashable zip to be the easiest option,
So what I need to do is simply archive all the deodexed files into a zip file using 7zip then of which I ended up with 'system.zip'.
Is there anything else that needs to be modified before I start flashing it with TWRP?
 
Upvote 0
I find creating flashable zip to be the easiest option,
So what I need to do is simply archive all the deodexed files into a zip file using 7zip then of which I ended up with 'system.zip'.
Is there anything else that needs to be modified before I start flashing it with TWRP?
Yes. TWRP will not flash normal zip files. The zip must have an updater-script so it knows what to do. That is why I suggested starting with an existing rom zip for your device. I am currently out of town so I can't be much help at the moment.
 
Upvote 0
Yes. TWRP will not flash normal zip files. The zip must have an updater-script so it knows what to do. That is why I suggested starting with an existing rom zip for your device. I am currently out of town so I can't be much help at the moment.

Thanks for the heads up
I'm trying to replace the files in system.img from the rom zip, but I can't seem to open it with 7zip/winrar
Keep getting 'disk image is corrupted' errors.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones