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

Root [ROM][STOCK][ROOTED][DE-ODEXED][ZIP-ALIGNED] Rooted Stock ROM

EagerestWolf

Android Enthusiast
For those of us who actually like having our devices rooted, but we screwed something up and soft-bricked (it happens), this zip will just take you back to a rooted stock state.

Also, I may have slightly stretched the truth on this one, it is also deodexed and zipaligned. Oh well, you know, things happen.

Download
Link: http://goo.gl/w4xLnR
QR Code:
chart


VERY IMPORTANT NOTE: WHEN YOU REBOOT OUT OF CLOCKWORKMOD, IF YOU GET A MESSAGE THAT ROOT MAY BE BROKEN ASKING YOU TO FIX, HIT YES
I am not too sure why, but sometimes root works okay, sometimes it don't, so just know that.

Also, another thing to note. There are still 2 odex files in the framework folder, framework-res.odex and framework-res-hwext.odex. I have opened both of these with a hex editor and they only contain 3 characters after the magic number (which is not accurate, it has FF FF FF FF FF FF). Don't know if these can be deleted, just be aware.
 
It doesn't there is no link. I have been busy, and this weekend is party central cause my birthday is tomorrow.
 
Basically, the first 6 bits (or bytes, can't remember which) of an odex file must begin with a specific set of hexadecimal values in order to be valid (cannot remember the exact value off the top of my head). It would appear that any of the odex files created or modified by Huawei do not contain this value, but instead they start with FF FF FF FF FF FF.
 
Also, if anyone is interested, this is an excellent ROM to start with for creating custom ROMs especially if you are a themed because the framework is deodexed and thus can be modified easily.
 
Hmmm... something is amiss.

Unlocked, put cwm on, factory reset, flashed this.

Reboot, got new user screen. But this one us different. It tried to turn on WiFi. And failed.

Proceeded anyways.

Now I have no WiFi and my data network has new options that can't be selected. Seems WCDMA is locked in... :(

And the notification icons (signal, battery, etc) are over lapping.

Sent from screwy Valiant.
lol

Think I'll try downloading the non-root zip...?
 
More than likely the permissions on root are set incorrectly. I used the ROM kitchen to do this one. As for WiFi, I think that is an issue related to the de-odexed framework. I am going to restore my non de-odexed framework.
 
Well thankfully I did a backup as soon as I got CWM in there...

But upon restore from said backup, none of my apps were there.

My wallpaper was. My launcher wasn't. My contacts were. My frozen apps were unfrozen.

My root stayed. I had to redownload SuperSu.

Weird. I don't know what to expect in the first place, mind you, so if this is 'business as usual', please tell me.

But my restore did fix all the issues I was having.

Is it possible to break down each deodex change as an individual apply/unapply .zip ?
 
Well thankfully I did a backup as soon as I got CWM in there...

But upon restore from said backup, none of my apps were there.

My wallpaper was. My launcher wasn't. My contacts were. My frozen apps were unfrozen.

My root stayed. I had to redownload SuperSu.

Weird. I don't know what to expect in the first place, mind you, so if this is 'business as usual', please tell me.

But my restore did fix all the issues I was having.

Is it possible to break down each deodex change as an individual apply/unapply .zip ?

In theory, yes it is possible mind you it would be kind of difficult and there is a possibility that having a partially deodexed ROM (as we have now) could lead to issues (as we have now).
 
Can you send me a link to the boot animation you used?

Have you ever used a smaller or larger animation than your physical resolution before? Can you tell me what happens?

I think if the anim is small, it centers it... can you confirm?

No idea what happens if it is too big.

Thanks
 
The boot animation I used is the stock. I finally figured out why. The MetroPCS boot animation is stored on the data partition of the phone which is wiped during install. So, it reverts to the default Android one because it cannot find the MetroPCS one. For boot animations, no matter the size, your phone will always center it and show it full size. So, for one that is too big, it will center it and cut the edges off.
 
Even after flashing "[ROM][STOCK][NO-ROOT] Stock ROM without root" I get no working wifi and no 3g/4g data... Can Somebody upload a Stock CWM Backup?

But I am excited to see my device booting after a brick from changing the screen density... :)
 
Screen density tweaking on app by app basis: Download Xposed Framework
Install the module App Settings.


As far as ROM goes, I'm needing my phone lately as a phone, so no fiddling this weekend.

Hang in there, we'll get ya back to normal.
;)
 
Having taken a look at everything, it would appear that the / directory is being wiped out, which is very bad because the RIL is stored here (hence the inability to use WiFi), so I need to figure out which partition that is so I can re-add that. Of course that means I will be modifying a no-no partition, so I may hard brick before I can fix this.
 
If anything when you figure out the partition containing the ril I can flash it since im already recoverying from a brick...
 
That is a very bad idea, you have to flash things in a certain order and make sure you set all the permissions correctly or you will get a hard brick which you cannot recover from.
 
what's the procedure for making a nandroid backup that could help these guys?

Methinks I could simply backup my boot, system, and recovery partitions through nandroid online backup, and that shouldn't have any real personal info... is that correct?

Would that be applyable through CWM?

what partitions would they need *to unbrick?* With nandroid online backup I can select partition by partition for backup, and EagerestWolf's CWM restores them fine for me.

TBH, Ive only tried restoring /data/ and /system/
I'm not saying anything concrete- I am just wondering out loud.
By all means teach me, lol ;)
 
Back
Top Bottom