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

Root [THEME] Stock Triumph Deodex Template

What procedure did you go throught to install? I just flashed it on mine and it worked just fine.
b_randon you dont count FULLY since you are already deodex'd. You need to factory reset then format /system, then you will be a normal user who is flashing this deodex.

~~~
Maybe you need to wipe dalvik cache, then flash to make it work. Maybe mount /system?
 
Upvote 0
Hmm, bootlooped after restoring data for this.....
Edit:Did you reboot between restoring and flashing? Restore whole backup, boot up, power off, go into recovery, do steps over, boot up, reboot, power off, go into recovery, restore backup /data, and boot up. Might work
~~~
Also, to people who use or going to use my ROM, I have to build my ROM off this so wifi can work. I will build my ROM off it, when b_randon add, addons I want with this to have. Building it off it should only take a hour for me.
 
Upvote 0
No i was not already deodexed. My phone was stock besides I had rooted and isntalled busybox, and tweaked the build.prop, and added init.d support with my own tweak script, but none of that affects the deodexed template. It obviously has something to do with something on the data partition, but it worked just fine for me and I have all kinds of apps installed on here. If you look at the updater script you'll see it mounts /system, /data, and /cache by its self.

I don't see why its boot-looping though because the /data/ partition shouldn't effect it, besides the dalvik-cache, and the script clears the dc it's self.
Also do not format system before flashing this because it's not a full ROM it's just the /system/app, /system/framework, and /system/fonts folders, so it will replace any theme and it's all deodexed. If you ahve formatted system prior to flashing this, please restore your nandroid backup and then flash this. Basically you should be able to go from any setup and get back to a stock deodexed theme without loosing any apps, or any mods you have done not residing in the /system/app, /system/framework, or /system/font directories.
 
Upvote 0
No i was not already deodexed. My phone was stock besides I had rooted and isntalled busybox, and tweaked the build.prop, and added init.d support with my own tweak script, but none of that affects the deodexed template. It obviously has something to do with something on the data partition, but it worked just fine for me and I have all kinds of apps installed on here. If you look at the updater script you'll see it mounts /system, /data, and /cache by its self.

I don't see why its boot-looping though because the /data/ partition shouldn't effect it, besides the dalvik-cache, and the script clears the dc it's self.
Also do not format system before flashing this because it's not a full ROM it's just the /system/app, /system/framework, and /system/fonts folders, so it will replace any theme and it's all deodexed. If you ahve formatted system prior to flashing this, please restore your nandroid backup and then flash this. Basically you should be able to go from any setup and get back to a stock deodexed theme without loosing any apps, or any mods you have done not residing in the /system/app, /system/framework, or /system/font directories.

I find it to be a safe bet to clear the cache partition and do a DC clear right after the /data restore on any ROM install because the DC is in the /data folder and has leftover hashes from the last system.

EDIT: also what was the apk/class/jar in question that was breaking WIFI i never managed to find it in testing and swapping out stock files.
 
Upvote 0
i find it to be a safe bet to clear the cache partition and do a dc clear right after the /data restore on any rom install because the dc is in the /data folder and has leftover hashes from the last system.

Edit: Also what was the apk/class/jar in question that was breaking wifi i never managed to find it in testing and swapping out stock files.

all of the apk's are doedexed(including the notorious dbgcfgtool.apk that we could not get to deodex. I got it too finally with errors, and apparently it uses bootclass paths that are not even stored anywhere on the phone so that app probably didn't work right anyways, but the phone still functions exactly as it should.)

Edit: Also, pwn had took out alot of apps, some of them are not bloatware.....they needed to deodex'd RIGHT, so you PROBABLY couldn't just drag and drop from stock.

~~~

I need more users to report if it flashes, dont feel like flashing it myself, my backup is CLOSE to 600MB, I only have a 2GB card, plus ABOUT 950MB of music.....tired of reinstalling apps.
 
Upvote 0
Wiped everything clean and flashed over princely ROM (just to see...); Booted up, no-wifi

Wiped again, restored super stock(unrooted), wiped /cache&/data just to make sure, & flashed doedex .zip; WIFI Works!! I am happy!!!

Data Restore worked fine (i cleared the cache&DC just to make sure after /data restore) all my stuff is in working order in the deodex tempate over the stock /system (got a Gmail FC @ startup so i rooted & swapped it for austrie's themed gmail.apk & rebooted and it worked fine!)
 
Upvote 0
Just wanted you to notice this post B_randon,

Code:
# Remount all partitions with noatime
for k in $(busybox mount | grep relatime | cut -d " " -f3);
do
sync;
busybox mount -o remount,noatime $k;
done;
Found this

Yeah I already have that in my tweak script but i just aint put it into a rom.

And I'm not sure what it was causing the wifi to not work. I just went from a stock nandroid backup and extracted the files out of it. I then deodexed them all(most using a auto deodexer tool i found at xda, and the rest manually deodexing using baksmali and smali) and put it into a zip and everything works.

And about the dalvik-cache, my update script clears that so its not entirely needed, as well as the cache partition, but however you can wipe them after just to be safe. But trust me I know my update scripts and it clears the dc and cache! Notice in the updater-script there is a line delete_recursive("/data/dalvik-cache"); and delete_recursive("/cache");!
 
Upvote 0
Sorry for the noob ? What is Deodex

Normally alot of the preloaded android apps(i.e. browser, gallery, etc) have a .odex file that gets loaded into memory at boot. Normal apps you download have a classes.dex file that is packed inside the apk. Most system apps will have two parts to the app, a .apk file(i.e. Browser.apk) then a .odex file(i.e. Browser.odex). The .odex is the core of the application, much like the .exe on windows, and the classes.dex file that is packed inside of normal apps you download is the same thing as the .odex file basically. To deodex a ROM you take all the apps that have .odex files to them, and convert them to a classes.dex file and pack it inside the app, so all the apps information is there inside the one app. It makes it easier to theme a ROM. There is no real performance advantage to it, but themers need a deodexed ROM to be able to theme it easily!
 
  • Like
Reactions: bigboy7525
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