Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dwitherell
Old
(Last edited by dwitherell; 18th November 2011 at 02:35 PM.)
#1  
dwitherell's Avatar
Recognized Contributor - OP
Thanks Meter 2753
Posts: 1,897
Join Date: May 2011

 
DONATE TO ME
Default [EP4P][Stock][CWM]EP4P Full and Debloated + Power Menu Mod

I posted this elsewhere, but in the spirit of sharing I figured it might be of some use to folks if I posted it here as well. I decided I would take a crack at doing something more productive than uber-long overly detailed how-to posts (like here for example), so I sat down and attempted to figure out how to make the latest EP4P leak into a CWM-flashable form (thanks to hoppermi for putting the idea in my head).

I AM IN NO WAY RESPONSIBLE FOR ANYTHING THAT HAPPENS (GOOD OR BAD) AS A RESULT OF FLASHING OR ATTEMPTING TO FLASH WHAT IS POSTED HERE! As an additional disclaimer - this is an early attempt at utilizing things I just recently learned. It has worked for me and a few others that were kind enough to try, but as always YMMV.

This is all pulled from either the full factory stock unrooted .tar file or the debloated .tar file, both of which I downloaded from here. I then pulled out the system and kernel stuffs, deodexed and zipaligned (the stock unrooted one, as the debloated one was already deodexed), added in/changed busybox (from here), and added in superuser/su (the latter just for the stock unrooted). I also added back in the Task Manager to the debloated version (a number of folks requested it). Truth be told, all of this was done just to see if I could do it. Now that it's done (and I have successfully used both of these to get to EP4P from stock unrooted EE4), I figured I would share them.

BEFORE flashing, MAKE SURE voodoo lagfix is completely disabled (i.e. /data, /dbdata, /cache, and /system all need to be rfs, NOT ext4). You will also need to have CWM (version 4.0.1.4 can be found here) already on your phone, and I would strongly recommend doing a data wipe/factory reset within CWM before flashing as well (that's what I've been doing at least and I have had no problems).

Installation instructions:
- Download file and place on sdcard
- Boot into CWM recovery
- Wipe data/factory reset (Recommended)
- Install the .zip you put on your sdcard

NOTES:
  • Flashing this should not do anything to the CWM recovery you used to flash (i.e. your recovery won't be overwritten by stock kernel/recovery). That being said, I have encountered an occasional odd issue with CWM after flashing that seems to require adb to resolve. The issue may stem from the stock kernel, or perhaps how one enters into CWM - but I'm just guessing at this point, and it likely is something completely different. Regardless, it happens from time to time...
    • The issue is that after flashing and then booting into recovery, I occasionally get a "can't mount /sdcard" error. Apparently that in itself is a known issue, and it is listed as such in the CWM recovery thread - which incidentally contains the 4.0.1.4 CWM version I have been using.
      The fix requires you to perform the following commands using ADB:

      Code:
      adb shell
      umount /sdcard
      rm -f /sdcard
      mkdir /sdcard
      exit
    • If you do not have ADB installed and you are having the "can't mount /sdcard" error after flashing - I think I have a workaround for you (thanks bL33d for the suggestion). Download the ADBsdcardFix.zip here - then extract the folder (should be fine to extract it to your desktop) and attach your phone to the computer via USB (I did this while the phone was already in CWM). Open the newly-extracted ADB folder, and then double-click on the CWMsdcardFix.bat - something should pop up on the screen for a brief second, which is completely normal. After double-clicking the .bat file, on the phone go to mounts and storage, then select mount /sdcard - and it now should work!
    • Either approach here (adb code or the stuff in ADBsdcardFix.zip) has worked every time I have needed it, although again in my experience I have not been able to cull the rhyme or reason out of when that need will present itself.
  • For those who dabble in ADB, I noticed that adb shell seems to work "differently" on these CWM versions of the EP4P leak. Normally entering adb shell would lead to a # prompt, but with both versions here it stayed as $ - however, if you then enter su it goes to the # prompt. This also means you have to exit twice to leave shell - once for su, and once for shell. Not sure what to make of that, but I figured I would let folks know just in case.
  • These DO NOT include the EP4P modems - you will have to ODIN those separately if you want them. You can get just the modem update from here - its near the bottom of that post.

Please let me know if there are any problems/issues.

---CWM STOCK FILES---

BLOATED EP4P DEODEXED ZIPALIGNED ROOTED CWM .ZIP
md5: ACBBBB43C3499AC7F732756D12878C57

DEBLOATED EP4P DEODEXED ROOTED CWM .ZIP
md5: 1D12D7D269D51F65798C967A9C516B88

---ADD-ON MODS---

POWER MENU MOD
md5: C1F8E3DDD23982F62F0AF313F59A03D6
When you flash this file in CWM, the end result is 2 extra options on your power menu - Recovery and Download.
NOTE: This particular file is meant to be flashed over UNTHEMED DEODEXED STOCK EP4P - while it has worked on themed EP4Ps and Humble, you WILL see some changes in (themed) appearance. ALSO - it would follow that if flashing this over a theme messes with the theme... flashing a theme AFTER flashing this WILL CAUSE PROBLEMS. If a problem does occur, note that flashing this creates a backup (with .bak extension) of the three files it modifies, so you can always go back in and manually change back (or you can just flash this file to revert those three files back to stock). You have been warned...
That being said, there are now options for EP4P themes that include this mod. I highly recommend checking out Black and Blue or Black and Red!

---MISCELLANEOUS---

- READ DESCRIPTION ABOVE FOR HOW AND WHY TO USE THE FILE BELOW -
--- DO NOT FLASH IN CWM!! ---
ADBsdcardFix.zip
md5: 5A362D2AB8BD5D7878AC1835A4AD558E
If you like what I've done... I like sammiches so feel free to buy me one!
The Following 3 Users Say Thank You to dwitherell For This Useful Post: [ Click to Expand ]
 
blueis300
Old
#2  
Senior Member
Thanks Meter 87
Posts: 953
Join Date: Dec 2010
Thanks was looking for some information about this the other day. This is the detail/links I needed.
 
dwitherell
Old
#3  
dwitherell's Avatar
Recognized Contributor - OP
Thanks Meter 2753
Posts: 1,897
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by blueis300 View Post
Thanks was looking for some information about this the other day. This is the detail/links I needed.
Glad to help. And if you end up checking out any of the files - feedback is welcome!
If you like what I've done... I like sammiches so feel free to buy me one!
 
DROID3R
Old
#4  
Senior Member
Thanks Meter 167
Posts: 672
Join Date: Oct 2011
Wow this is great thanks

Sent from DROID CHARGE 4G-LTE
 
dwitherell
Old
#5  
dwitherell's Avatar
Recognized Contributor - OP
Thanks Meter 2753
Posts: 1,897
Join Date: May 2011

 
DONATE TO ME
OP updated - now includes link for power menu mod that adds recovery and download options.
If you like what I've done... I like sammiches so feel free to buy me one!
KingWaffle Old
#6  
Guest
Thanks Meter
Posts: n/a
Working splendid over here. I do have one request (if you didn't already do it)


Make it possible turn off the dumbass "battery full" notification. A patch would be lovely.
 
dwitherell
Old
#7  
dwitherell's Avatar
Recognized Contributor - OP
Thanks Meter 2753
Posts: 1,897
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by KingWaffle View Post
Working splendid over here. I do have one request (if you didn't already do it)


Make it possible turn off the dumbass "battery full" notification. A patch would be lovely.
I'm pretty sure I figured out how to do this (haven't tested it yet though), but this will again have the same issues as the power mod itself in regards to theme stuffs - many themes utilize SystemUI.apk (where I believe the edits need to happen), so if you are on a theme flashing such a battery-full-disabling mod will "untheme" whatever was originally themed in that .apk, and if you theme after flashing it you will lose the disabled "battery full" notification mod (unless whatever you flashed over it has it as well of course). I'll play around with it and post something if it works.
If you like what I've done... I like sammiches so feel free to buy me one!
KingWaffle Old
#8  
Guest
Thanks Meter
Posts: n/a
I prefer stable over pretty, so I typically don't theme. Same reason I switched back from Humble.
 
trigun123478
Old
#9  
trigun123478's Avatar
Member
Thanks Meter 0
Posts: 47
Join Date: Jan 2011
Quote:
Originally Posted by dwitherell View Post
I posted this elsewhere, but in the spirit of sharing I figured it might be of some use to folks if I posted it here as well. I decided I would take a crack at doing something more productive than uber-long overly detailed how-to posts (like here for example), so I sat down and attempted to figure out how to make the latest EP4P leak into a CWM-flashable form (thanks to hoppermi for putting the idea in my head).

I AM IN NO WAY RESPONSIBLE FOR ANYTHING THAT HAPPENS (GOOD OR BAD) AS A RESULT OF FLASHING OR ATTEMPTING TO FLASH WHAT IS POSTED HERE! As an additional disclaimer - this is an early attempt at utilizing things I just recently learned. It has worked for me and a few others that were kind enough to try, but as always YMMV.

This is all pulled from either the full factory stock unrooted .tar file or the debloated .tar file, both of which I downloaded from here. I then pulled out the system and kernel stuffs, deodexed and zipaligned (the stock unrooted one, as the debloated one was already deodexed), added in/changed busybox (from here), and added in superuser/su (the latter just for the stock unrooted). I also added back in the Task Manager to the debloated version (a number of folks requested it). Truth be told, all of this was done just to see if I could do it. Now that it's done (and I have successfully used both of these to get to EP4P from stock unrooted EE4), I figured I would share them.

BEFORE flashing, MAKE SURE voodoo lagfix is completely disabled (i.e. /data, /dbdata, /cache, and /system all need to be rfs, NOT ext4). You will also need to have CWM (version 4.0.1.4 can be found here) already on your phone, and I would strongly recommend doing a data wipe/factory reset within CWM before flashing as well (that's what I've been doing at least and I have had no problems).

Installation instructions:
- Download file and place on sdcard
- Boot into CWM recovery
- Wipe data/factory reset (Recommended)
- Install the .zip you put on your sdcard

NOTES:
  • Flashing this should not do anything to the CWM recovery you used to flash (i.e. your recovery won't be overwritten by stock kernel/recovery). That being said, I have encountered an occasional odd issue with CWM after flashing that seems to require adb to resolve. The issue may stem from the stock kernel, or perhaps how one enters into CWM - but I'm just guessing at this point, and it likely is something completely different. Regardless, it happens from time to time...
    • The issue is that after flashing and then booting into recovery, I occasionally get a "can't mount /sdcard" error. Apparently that in itself is a known issue, and it is listed as such in the CWM recovery thread - which incidentally contains the 4.0.1.4 CWM version I have been using.
      The fix requires you to perform the following commands using ADB:

      Code:
      adb shell
      umount /sdcard
      rm -f /sdcard
      mkdir /sdcard
      exit
    • If you do not have ADB installed and you are having the "can't mount /sdcard" error after flashing - I think I have a workaround for you (thanks bL33d for the suggestion). Download the ADBsdcardFix.zip here - then extract the folder (should be fine to extract it to your desktop) and attach your phone to the computer via USB (I did this while the phone was already in CWM). Open the newly-extracted ADB folder, and then double-click on the CWMsdcardFix.bat - something should pop up on the screen for a brief second, which is completely normal. After double-clicking the .bat file, on the phone go to mounts and storage, then select mount /sdcard - and it now should work!
    • Either approach here (adb code or the stuff in ADBsdcardFix.zip) has worked every time I have needed it, although again in my experience I have not been able to cull the rhyme or reason out of when that need will present itself.
  • For those who dabble in ADB, I noticed that adb shell seems to work "differently" on these CWM versions of the EP4P leak. Normally entering adb shell would lead to a # prompt, but with both versions here it stayed as $ - however, if you then enter su it goes to the # prompt. This also means you have to exit twice to leave shell - once for su, and once for shell. Not sure what to make of that, but I figured I would let folks know just in case.
  • These DO NOT include the EP4P modems - you will have to ODIN those separately if you want them. You can get just the modem update from here - its near the bottom of that post.

Please let me know if there are any problems/issues.

---CWM STOCK FILES---

BLOATED EP4P DEODEXED ZIPALIGNED ROOTED CWM .ZIP
md5: ACBBBB43C3499AC7F732756D12878C57

DEBLOATED EP4P DEODEXED ROOTED CWM .ZIP
md5: 1D12D7D269D51F65798C967A9C516B88

---ADD-ON MODS---

POWER MENU MOD
md5: C1F8E3DDD23982F62F0AF313F59A03D6
When you flash this file in CWM, the end result is 2 extra options on your power menu - Recovery and Download.
NOTE: This particular file is meant to be flashed over UNTHEMED DEODEXED STOCK EP4P - while it has worked on themed EP4Ps and Humble, you WILL see some changes in (themed) appearance. ALSO - it would follow that if flashing this over a theme messes with the theme... flashing a theme AFTER flashing this WILL CAUSE PROBLEMS. If a problem does occur, note that flashing this creates a backup (with .bak extension) of the three files it modifies, so you can always go back in and manually change back (or you can just flash this file to revert those three files back to stock). You have been warned...
That being said, there are now options for EP4P themes that include this mod. I highly recommend checking out Black and Blue or Black and Red!

---MISCELLANEOUS---

- READ DESCRIPTION ABOVE FOR HOW AND WHY TO USE THE FILE BELOW -
--- DO NOT FLASH IN CWM!! ---
ADBsdcardFix.zip
md5: 5A362D2AB8BD5D7878AC1835A4AD558E

I see that you theme. I was looking to depoop this phone on ep4. I was looking for a look closer to stock colors maybe like tw4 on Samsung Galaxy s2. Not necesserly the icons and all that just the colors and the pull down bar and gingerbread green battery icons, but fully depooped like this http://forum.xda-developers.com/show...99&postcount=2

That would be amazing if you could help me out. Me and my friend tried to full around with some things but the phone just boot looped. I'm running stock rooted ep4 is that right or should I get the deodexed one? Thanks in advance.
 
dwitherell
Old
#10  
dwitherell's Avatar
Recognized Contributor - OP
Thanks Meter 2753
Posts: 1,897
Join Date: May 2011

 
DONATE TO ME
Quote:
Originally Posted by KingWaffle View Post
Working splendid over here. I do have one request (if you didn't already do it)


Make it possible turn off the dumbass "battery full" notification. A patch would be lovely.
Ok - I think I have it figured out. I'll post an update to the OP with a link when I've finished testing it. I also figured out how to disable the low battery warnings - if interested.

Quote:
Originally Posted by trigun123478 View Post
I see that you theme. I was looking to depoop this phone on ep4. I was looking for a look closer to stock colors maybe like tw4 on Samsung Galaxy s2. Not necesserly the icons and all that just the colors and the pull down bar and gingerbread green battery icons, but fully depooped like this http://forum.xda-developers.com/show...99&postcount=2

That would be amazing if you could help me out. Me and my friend tried to full around with some things but the phone just boot looped. I'm running stock rooted ep4 is that right or should I get the deodexed one? Thanks in advance.
I actually do not theme (at least not yet), so I am afraid I am of limited use here, at least with my current skill set. I do know that typically you want to use deodexed files when making a theme, so I would likely start there.
If you like what I've done... I like sammiches so feel free to buy me one!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more