[MOD] GS3 SecEmail.apk & Exchange.apk with Exchange Security Disabled - Galaxy S III Android Development

This was cross-posted in the US GS3 forum, but I figured you international guys might want this as well.
Below are the Mail and Exchange apks for the S3 with exchange security disabled. This is for those who use exchange support at work, but who hate entering a pin or password every time they want to unlock their phone. Many of us use low-level security corporate exchanges that don't require a pin, so the apk files below remove that security.
DISCLAIMER: If your place of employment's exchange policy requires the use of a pin, please be advised that use of these apks may be punishable up to termination of employment, as well as other possible legal action. Some companies take their exchange security VERY seriously and this mod is only for those whose policy does not require a pin but are unnecessarily prompted to enter one anyway. Please speak with your IT department before using these files as I will not be held responsible for any mis-use of this app or any collateral damage that may ensue. YOU HAVE BEEN WARNED. In the event you need to get back to stock, I have also posted stock apks below which will get you back to stock. Download the 'Return to Stock' link, unzip the downloaded file, and then just push them to /system/app/
1) Delete any exchange email accounts from your phone and remove any shortcuts to the mail app from your device
2) If applicable, remove any exchange administrators from Settings -> Security -> Device administrators
3) Download the 'Hacked Mail apks' file linked below. THIS IS NOT A FLASHBLE ZIP. The apk files were just too big for XDA's upload limit and so I had to zip them up and host them online. Once downloaded, unzip and grab out the 2 apk files inside (SecEmail.apk and Exchange.apk)
4) Mount your phone's system as R/W (either using Root Explorer or 'adb remount')
5) Copy the newly downloaded SecEmail.apk and Exchange.apk files to system/app/ via root explorer and overwrite the older file if/when it asks, or you can just push the files to system/app via adb
6) Set permissions on both apks as rw-r--r--
7) Reboot
8) After reboot, create a shortcut if you want and then open up the Email app and set up your corporate account.
7) You will be prompted to enable security policy midway through... this is normal so hit 'OK' and it will not ask you to enable security any further.
As previously mentioned in the disclaimer, you can use the Stock apks to get back to stock if you run into any issues. Just download the 'Return to Stock' link below, extract the 2 apks out, and follow the same process as above.
Donations always appreciated. Enjoy
LINKS:
Hacked Mail apks: http://d-h.st/8xa
Return to Stock apks: http://d-h.st/aAk
I'd prefer you to use the links directly above, but in the event they aren't working or are blocked in your country, try using these instead:
http://forum.xda-developers.com/showpost.php?p=29011281&postcount=9

Thanks friend
excellent work!

You are the man! I've been waiting for this.
Thank you!
Sent from my GT-I9300 using xda premium

Is there an hacked version of the stock google email floating around?

gkaipale said:
You are the man! I've been waiting for this.
Thank you!
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
You didn't ask for it, it's included on my custom since my first release .

jhericurls said:
Is there an hacked version of the stock google email floating around?
Click to expand...
Click to collapse
Edit: found it
http://forum.xda-developers.com/showthread.php?t=1117452

just what I was looking for only problem is the link dont work :crying:

Same here any chance of posting a link that works :fingers-crossed:

Just tested the links and they are working fine for me. Perhaps they are blocked in your county.
That being said, here are some links secondary links via dropbox. I'd prefer everyone to use the links in the OP as flooding the links below can end up blocking my db account, but they're here for others experiencing download issues
Hacked mail apks: http://db.tt/SXwjYCeK
Return to stock: http://db.tt/cGMIbkVJ

Not working for me
I followed the steps but when I open Email app to add account it gives me a FC error...
I m on stock ROM XXBLFB..pls help

wanam said:
You didn't ask for it, it's included on my custom since my first release .
Click to expand...
Click to collapse
Exactly dear Wanam...
I downloaded your ROM, extracted those 2 apks, all working fine, really very appreciate!

Thanks a lot, this seems to actually work. The strange thing is, i've replaced those 2 apk files on a stock ODEXED rom (!!!), yet it works anyway. I guess none of the other apk/odexes depend on those 2.
Thanks again

InfX said:
Thanks a lot, this seems to actually work. The strange thing is, i've replaced those 2 apk files on a stock ODEXED rom (!!!), yet it works anyway. I guess none of the other apk/odexes depend on those 2.
Thanks again
Click to expand...
Click to collapse
do I need to delete the odex files also after copying these apks? it's not working for me
Sent from my GT-I9300

doesn't quite work like the ones from the HTC forums.
where in you can still choose to do patter lock. after adding an exchange account.
the mod for SIII disables all types of lock aside from Pin and Password after adding an account. although you can add a pattern lock before adding an exchange account and it still works.

kuberchib said:
do I need to delete the odex files also after copying these apks? it's not working for me
Sent from my GT-I9300
Click to expand...
Click to collapse
You do. Ive renamed the 2 original apk files along with the corresponding odex files, placing the new ones in there instead. Works perfectly ok for me. I am on 4.0.4 XXALF5, stock, odexed. Ill probably switch to deodexed soon, though, but it does work for me right now anyway.

baste07 said:
doesn't quite work like the ones from the HTC forums.
where in you can still choose to do patter lock. after adding an exchange account.
the mod for SIII disables all types of lock aside from Pin and Password after adding an account. although you can add a pattern lock before adding an exchange account and it still works.
Click to expand...
Click to collapse
This mod disables thr EXCHANGE administrating those locks for you, it doed NOT affect your ability to setup a lock on a device on your own, in any possible way. In fact, replacing just the apks mentioned, it technically cannot do anything to affect it.

Thanks a lot for that man. What about jellybean I be seen the exchange.apk became exchange2.apk
Is there a difference?

Working great, just needed to delet odex files

I am running the ATT version, with a CM10 preview.. will these work on my version?

there's a bug or my company admin is just good detecting this. it is able to block it
Sent from my GT-P7510 using Tapatalk 2

Related

[Script] Safe bloat removal script (50+ apps) [UPDATED 9/1/2011]

There's been a lot of speculation on what can and can't be removed as well as how to remove them without causing force-closes, boot loops, and other headaches. So I wrote this script that will let you disable all of the bloat with none of the hassle.
After a few prompts to find out if there's anything you want to keep that can't be replaced in the market, it will do its magic -- renaming files to a .bak extension so they are no longer recognized by Android. This will cause some system services to fail and force-close loop until you reboot (and the script reboots for you). Also included is a script that will undo all of this.
If you select every option, including the default launcher and text messaging apps (which are confirmed safe to remove without losing SMS or MMS ability or push notifications), then here's the list of apps removed:
AdService.apk, android-syncservice-app.apk, ArcVideoEditorLite.apk, BackupAssistanceClient.apk, Blockbuster.apk, BlurHome2.apk, BlurSNMessagingEngine.apk, BlurTasks.apk, BlurUpdater_VZW.apk, BooksPhone.apk, CitrixReceiver.apk, CityID.apk, Conversations.apk, DLNA.apk, DlnaSystemService.apk, FriendFeed.apk, gotomeeting-stub-1.0.74.apk, GuidedTours.apk, HelpCenter.apk, IMPresence.apk, IndexingService.apk, Kindle.apk, MessagesWidget.apk, Messaging.apk, MOTOPRINT.apk, MSExchangeService.apk, MyVerizon.apk, NewBayVault_4.2.99.36.Market.apk, NFLMobile.apk, OnlineAlbum.apk, PhotoEditor.apk, PortalStandAlone.apk, Preloaded.apk, RichLocationVzW.apk, SkypeBourbon.apk, Slackerradio.apk, SocialMessaging.apk, SocialShare.apk, StatusWidget.apk, SuggestionsProvider.apk, SuggestionsRuleCheckerCore.apk, SuggestionsServiceScheduler.apk, Swype.apk, ToggleWidgets.apk, UniversalInbox.apk, Upgrader.apk, VCAST_TONES_4_5_7.apk, VCASTMusic.apk, VCASTVideo.apk, VSuiteApp.apk, vzw_vnav_DROID3_rel_PROD_signed.apk, VZWIM.apk, VZWInstaller.apk, WeatherWidget.apk, ZumoCast_1.0.17.apk
Make sure you run these scripts using Script Manager or a comparable app and be sure to enable it to run as root or it won't have permission to make changes to /system/app.
This is version 1 of the scripts -- if any of the apps removed wind up causing problems or more are found, I'll add it to the list. I've tested the scripts back and forth myself and have tested it as much as I can without finding any issues. Also, some apps are removed without asking, such as ZumoCast or VCAST or NFL Mobile. You can find these apps in the market, so there's no point keeping them locked down in system.
Enjoy! Comments are welcome.
UPDATE 9/1/2011: fixed a typo in one of the variables (thanks everyone who reported this), added more options to keep (Swype and Car Dock Voice Commands), split into two versions -- one for the stock 5.5.959 build and 5.6.890 update (late August OTA), added a warning about removing the home screen without a launcher and that it removes the Calendar widget.
Great, but maybe it would be nice to make a y/n option for each .apk where it asks you if you want to delete that apk
script
instructions for use?
thanks
DoubleYouPee said:
Great, but maybe it would be nice to make a y/n option for each .apk where it asks you if you want to delete that apk
Click to expand...
Click to collapse
You shouldn't delete them -- we don't have an SPF yet. Someone posted the complete /system/app contents and you could restore, technically, manually, but it's a bad idea. Renaming to a .bak is completely effective.
lodisax said:
instructions for use?
Click to expand...
Click to collapse
Read the post.
You'll want to use Script Manager -- unzip the two scripts to your SD card (internal or external), launch Script Manager (free version is fine), find the script and click it, then tick on 'root' and then run the script. Follow the prompts from there.
script
thanks for the answer
psouza4 said:
You shouldn't delete them -- we don't have an SPF yet. Someone posted the complete /system/app contents and you could restore, technically, manually, but it's a bad idea. Renaming to a .bak is completely effective.
Click to expand...
Click to collapse
Yeh sorry that's what I meant.. Option to y/n rename the apk.
I'd like to use the script once I get my droid 3 but would like to 'keep' some of the apks.
DoubleYouPee said:
Yeh sorry that's what I meant.. Option to y/n rename the apk.
I'd like to use the script once I get my droid 3 but would like to 'keep' some of the apks.
Click to expand...
Click to collapse
There's Y/N for anything you'd want to keep. About 6-7 questions in total. Anything that you can't find in the market that isn't definitely bloat has a prompt.
script
script manager that you use?
I use script manager and asked me if I want to remove each apk or not.
There is a script manager that does everything automatically?
thanks for the answer
lodisax said:
script manager that you use?
I use script manager and asked me if I want to remove each apk or not.
There is a script manager that does everything automatically?
thanks for the answer
Click to expand...
Click to collapse
Please read the thread thoroughly -- I'm going to ignore obvious questions like these.
psouza4 said:
There's Y/N for anything you'd want to keep. About 6-7 questions in total. Anything that you can't find in the market that isn't definitely bloat has a prompt.
Click to expand...
Click to collapse
So what if I wanna keep DLNA, photoeditor and socialmessaging?
DoubleYouPee said:
So what if I wanna keep DLNA, photoeditor and socialmessaging?
Click to expand...
Click to collapse
Then answer 'Y' to the prompts asking if you want to keep 'DLNA' or 'social messaging'. There are plenty of photo editors in the market, so there's no prompt on that (although if you were so inclined, you could just rename the .BAK's back to their original files). I feel you haven't actually looked at the script or read my post.
psouza4 said:
I've tested the scripts back and forth myself and have tested it as much as I can without finding any issues. Also, some apps are removed without asking, such as ZumoCast or VCAST or NFL Mobile.
Click to expand...
Click to collapse
I think the ultimate test is to do factory reset and see how device will go through initialization stage. It can be surprises which are not noticeable during normal use. Without this it is kind of premature to say what is safe to delete and what is not.
serg675 said:
I think the ultimate test is to do factory reset and see how device will go through initialization stage. It can be surprises which are not noticeable during normal use. Without this it is kind of premature to say what is safe to delete and what is not.
Click to expand...
Click to collapse
Ehh I agree with you to a point, because i made the very noobish mistake of uninstalling bloat that i knew would not effect daily use; however, I did a factory reset to test a theory for krazy and learned that something I uninstalled makes the setup process FC and wont let you get to the blur launcher, luckily other launchers work and I was able to batch install via adb.
Thing is though is if the phone reboots when this stuff is renamed then it will survive a factory reset, though it may do the same thing mine has done. If it does its no big deal to load up adb and rename the files back so that you can complete the setup.
You forgot the World Clock widget in your removal script; the only clock that thinks it needs a permanently-resident service, regardless of whether it's running or not.
Xenoproctologist said:
You forgot the World Clock widget in your removal script; the only clock that thinks it needs a permanently-resident service, regardless of whether it's running or not.
Click to expand...
Click to collapse
That messes with the dock though, so I don't consider it bloat.
I know its a lot to ask... but can someone either create a comprehensive list of what each one actually does... or point us in a direction to where there already is one?
Sent from my DROID3 using Tapatalk
Seirÿu said:
I know its a lot to ask... but can someone either create a comprehensive list of what each one actually does... or point us in a direction to where there already is one?
Click to expand...
Click to collapse
Open the script in a text editor and read my comments -- it gives each one a title.
@psouza4 - nice work, it's about time someone took a more organised approach to figuring out what apks are safe to remove.
I tried to get a similar effort going here :-
http://forum.xda-developers.com/showpost.php?p=17004394&postcount=11
but the way people behave on this forum, it's like trying to herd cats.
thingonaspring said:
@psouza4 - nice work, it's about time someone took a more organised approach to figuring out what apks are safe to remove.
I tried to get a similar effort going here :-
http://forum.xda-developers.com/showpost.php?p=17004394&postcount=11
but the way people behave on this forum, it's like trying to herd cats.
Click to expand...
Click to collapse
Thanks!
Couple of notes, too:
It was asked in IRC why I'm removing 'android-syncservice-app.apk'. This service is the extra backup stuff that Verizon added on (as evidenced inside the package in /assets/system.properties you'll find several references to verizon servers for sync, like sm_connection_url=http://syncba.myvzw.com/syncml). This service doesn't do anything beneficial for you unless you really have a hard-on for Verizon's sync stuff. I've had it disabled since we achieved root and it has no affect on account sync services (contacts, gmail, calendar, reader, etc.) nor SMS/MMS push notifications, etc.
Also, a fellow PM'd me saying he got errors that variable names were invalid -- turns out he had edited the script in Windows, saved it, and that broke the UNIX-style line endings. If you're going to modify the script, use Notepad++, UltraEdit, or something that will maintain the correct line endings. Or just use an editor on the phone, such as in Root Explorer.
Thanks a bunch man, works great. About to run a benchmark to see the results!

Enabling Facebook Contact Sync In CM10/AOSP ROMs

Many users are frustrated by 4.0.3+ AOSP ROMs, as from Android ICS & JB AOSP ROMs there is no Facebook Contacts SYNC.
Well after much drooling and browsing I finally found a way to enable this.:victory:
As stated on website --> http://niranjanthilak.com/facebook-sync-for-android-ics-devices/
and on --> http://www.modaco.com/page/news/_/a...sync-in-ice-cream-sandwich-r140#commentsStart
So, go on at these websites and try youself.:good:
Here, I'm Attaching a modded "ContactsProvider.apk" file that i used, in my CM10 ROM (dated:20121014)
FYI :: First rename file "root//system/app/ContactsProvider.apk" to "ContactsProvider.bak", then delete or rename "root//data/data/com.android.provider.contacts/databases/contacts2.db". Now copy provided "ContactsProvider.apk" to "root//system/app" folder, change permission to 644 and restart the device wait some time for data to sync.
P.S. :; I'm not responsible for data loss, do this on your gut.
Thnkx
If one doesnt wanna share their info with third party apps like HaxSync or FBcontactsync.
There is a great app and info about how to make it by Recognized Developer Deadknight.
Here is the link --> http://forum.xda-developers.com/showthread.php?t=1731298
No go for me. How did you modify your apk file? When I baksmali'd mine, I didn't see a res/variables folder at all like was suggested in the original guide on how to do this. Tried adding it, but ended up with the same thing I get from your file - FC's and no contacts
Thanks. I tried both the given file and the steps. No go.
NegativeOne said:
Thanks. I tried both the given file and the steps. No go.
Click to expand...
Click to collapse
Haha I never tried it but yeah ... You should stay here and wait for OP's reply though .
have you changed the permission to 644 thats -rw-r--r--
Sent from my GT-I9100G
Just to be sure .. before doing above step try switching off wifi and data network, and remember to change permission, thn restart
Sent from my GT-I9100G
so:
1) rename original
2) disable all data (airplane mode)
3) delete contacts2.db
4) paste new file in and set permissions.
Sadly, still no good. get FC's in all my apps that use contacts.
You can't just use the modified apk...instead, using the guide and make the necessary changes...the modded apk was not for every ROM...
Ok...to add some details:
For ContactsProvider APK, the file
in question is res/values/arrays.xml
To gain access to this, you must decompile with apktool, not baksmali...
The file provided was for CM10, was it not? I'm running CM10 - the only difference is I'm actually on a Galaxy S3. I've tried with the guide but have met with similar ends.
Only difference is - when I tried manually I did not set my file permissions to 644.
Working like charm mate ...
Thanks a lot ...
I have GT-I9100G
The contacts synchronized smoothly but their pics and birthday aren't synchronized...
ROM : CodeBox 1.6.0 Official
Kernel : Horsepower 3.1.0-Fuss
If you like my post then please hit the button thanks ...
NegativeOne said:
The file provided was for CM10, was it not? I'm running CM10 - the only difference is I'm actually on a Galaxy S3. I've tried with the guide but have met with similar ends.
Only difference is - when I tried manually I did not set my file permissions to 644.
Click to expand...
Click to collapse
Hmm...I'm not sure whether all cm system apps will work on any phone...May have certain dependencies...that's why i asked you too mod yourself...did you modify the database (2nd step) or just merely the first step? And by the way, all system apps must have their permissions set to 644 or rw-r--r--...
I thought this one required you to simply delete your contacts2.db instead of modifying it, no?
NegativeOne said:
I thought this one required you to simply delete your contacts2.db instead of modifying it, no?
Click to expand...
Click to collapse
Nope...the first guide actually taught on how to modify...to me, modifying is better than deleting...
yes thats right
Sent from my GT-I9100G
try doing disassembly through apktool .. and doing whats needed to be done .. wish u luck
http://code.google.com/p/android-apktool/
Sent from my GT-I9100G
for pics .. u can use facebook contact sync app
Sent from my GT-I9100G
s3 system files have different dependencies and so for that u hav to do it yourself.
Sent from my GT-I9100G
well if you .. change the lines in smali codes where columns are first initiated thn thr is no need to modify contacts2.db file
Sent from my GT-I9100G
Thanks guys. I'm going to try this. I've been trying to use the xdaAutoTool wrapper for apktool, and I'm not 100% sure I'm doing it right.
What do I need to do to make sure that it loads the correct framework-res.apk for resource dependencies? I did "install other" and pointed it to the file, but it says "No Framework installed".
If someone could point me to a guide for raw apktool that includes signing the apk (which I understand I must do) and loading a framework dependency, that would work too. Thanks in advance!

MotoEmail.apk Security Exchange

I am not an expert in modifying code or developing apps, but I followed some steps and edited the MotoEmail.apk file to bypass the security requirements for an email account. I am using it now on a rooted Bionic running the official ICS OTA 6.7.246 with no problems.
Modifying the code is not too difficult, but I could not find a premodified .apk file for the Bionic that was up to date. If this post is worthless because there is already an .apk out there that I could not find then no worries, just thought I would put this file out there since I could not find it.
Again, use at your own risk because I am not an expert by any means. It works for me with no issues.
Using ADB, I pushed the .apk to my sd card, then moved it to my system/app directory, then changed the security permissions after it was in my system/app directory. For instructions on how to do the above, I used http://forum.xda-developers.com/showthread.php?t=872128
The MotoEmail.apk file can be downloaded from: http://www36.zippyshare.com/v/70902260/file.html
jayboyyyy said:
I am not an expert in modifying code or developing apps, but I followed some steps and edited the MotoEmail.apk file to bypass the security requirements for an email account. I am using it now on a rooted Bionic running the official ICS OTA 6.7.246 with no problems.
Modifying the code is not too difficult, but when I could not find a premodified .apk file for the Bionic that was up to date. If this post is worthless because there is already an .apk out there that I could not find then no worries, just thought I would put this file out there since I could not find it.
Again, use at your own risk because I am not an expert by any means. It works for me with no issues.
Using ADB, I pushed the .apk to my sd card, then moved it to my system/app directory, then changed the security permissions after it was in my system/app directory. For instructions on how to do the above, I used http://forum.xda-developers.com/showthread.php?t=872128
The MotoEmail.apk file can be downloaded from: http://www36.zippyshare.com/v/70902260/file.html
Click to expand...
Click to collapse
CHEERING!
Just successfully applied this to my Motorola Razr M, running stock 4.0.4.
1) Rooted using this link http://www.droid-life.com/2012/10/16/droid-razr-hd-razr-m-and-atrix-hd-all-rooted/
2) Using ES File Explorer (https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en) I backed up the old /system/app/MotoEmail.apk, copied in your new one, and set the permissions to RWX RX RX
Thanks so much! :good:
Ben.
Doesn't seem to be working for me. Can't click on email to open.
Copied over and running fine with no forced disk encryption - seemed perfect Brought up exchange email. Can see email fine, but can open it to read beyond preview. Stock ICS 6.7.246.XT875.Verizon.en-US.
lundjohnson said:
Doesn't seem to be working for me. Can't click on email to open.
Copied over and running fine with no forced disk encryption - seemed perfect Brought up exchange email. Can see email fine, but can open it to read beyond preview. Stock ICS 6.7.246.XT875.Verizon.en-US.
Click to expand...
Click to collapse
Only thing I can suggest would be removing your accounts and try going through all the steps again. Someone else might be able to help further than I can because I do not know much, but I have been running this with no problems since i posted the link. If reloading it does not work then it could be some enhanced security coming from the exchange you are using. I am bypassing my school email security. I don't think this should affect anything at all, but its the only thing off the top of my head I can think of. If clearing everything and reloading the apk works please give a reply post.
does this support S/MIME? I downloaded a third party app to get my work email but the stock email app is so much better looking! I haven't rooted my bionic or really played with it since i switched from my X2 (which i messed with a little too much). If your apk does what i need it to do, this would push me to start playing with this phone more.
Radnarok said:
does this support S/MIME? I downloaded a third party app to get my work email but the stock email app is so much better looking! I haven't rooted my bionic or really played with it since i switched from my X2 (which i messed with a little too much). If your apk does what i need it to do, this would push me to start playing with this phone more.
Click to expand...
Click to collapse
I am not sure if it covers that because I am not sure what exact security my school uses. You can try it and see if it works and if it doesn't just replace the apk file with the old one. It shouldn't take you that long if you are familiar with the basics of screwing with your phone.
jayboyyyy said:
I am not sure if it covers that because I am not sure what exact security my school uses. You can try it and see if it works and if it doesn't just replace the apk file with the old one. It shouldn't take you that long if you are familiar with the basics of screwing with your phone.
Click to expand...
Click to collapse
FYI and for those like me working in the corporate world... your email app works flawlessly decrypting S/MIME! Thank you... I can now delete that ugly email app i had to download and be happy with my phone!
Any chance you could post the steps you followed to modify the APK? I am trying to find a modified version for a Moto Razr Maxx running JellyBean and not having any luck so I thought I could try moding it myself.
Thanks,

[MOD] PRL Write Enabler for Sprint Galaxy S4 [MDC][MDL][MJA]

First off this work is based on Digiblur's PRL Write Enabler from the Sprint Galaxy S3 forum. I simply modified it & packaged it for our Sprint Galaxy S4 devices.
Here is the original S3 post that this was found in... http://forum.xda-developers.com/showthread.php?t=2159054
Also, post #8 below provides additional info.
I tested it by flashing with TWRP and it worked on my stock, rooted S4 with the MDC and MDL releases.
If you're on a stock rooted Rom and not using TWRP, you can just copy the HiddenMenu.apk from inside the zip file downloaded into /system/app/ and overwrite the one that's there. (You'll need a root enabled file browser to do this of course).
Thanks to Unknownforce here is a version for MJA...
http://www.androidfilehost.com/?fid=23212708291676468
Enjoy!!
This certainly will save me from having to use CDMA WS to switch like I just did yesterday. 55014 was not working well for me in my market so I switched back to 25014.
What is write enabler?
Keeps aborting for me
THEGAMEPLAY94 said:
Keeps aborting for me
Click to expand...
Click to collapse
You mean the install of the zip?
If so, you can pull the APK out of the zip and replace HiddenMenu.apk in the system folder (make a backup first). You may want to also set the permissions to rw-r-r after replacing the system app. Reboot, then you should be good to go.
@ChadH42,
I know it seems like I'm harping on you but I'm really not..
You need to update the OP on - 1. What is this? 2. What does this do? 3. Why is this in the Development Section.. ?
A good OP leads to less questions.. Development Sections aren't for information. That would be considered a Discussion Thread that belongs in General.
Let's keep the Dev section clean from the start.
My suggestion - Edit the OP on the What's/Why's?/How To's and you won't get posts like mine.
To the OP, updated your title as [WIP], and I suggest you provided additional information so that folks aren't bricking their new devices.
I will check in, if you need anything, let me know.
What this MOD does (in case the OP takes a little while to chime in)
What this MOD does is modifies our ##DATA# (select View) menu to allow for the PRL Write option to appear and function. With this menu option, the user can change their PRL on the fly from the device itself by placing a copy of the desired PRL in the root directory of Internal Storage and name it "test.prl" (no quotes), dial ##DATA# (choose View), tap Write PRL, tap the sub-menu option Write PRL ---wait--- and then the device reboots with the test.prl PRL applied upon reboot. Not every PRL works and sometimes it takes a couple of tries.
A tip for multiple PRL options is to, of course, keep a folder of the PRLs you like and keep them labeled in there. Copy the desired PRL to proper place as needed and just remember to rename the copy to "test.prl". Switch back and forth as you please. I hope this helps clear some confusion and helps some find purpose with the MOD like I have.
For a clear set of instructions that I did not want to just copy verbatim, check the link below. Also, if you are having issues with the zip not installing in CWM, just extract the APK from the ZIP (inside the system/app folder), use Root Explorer or your favorite root-access file explorer to place the APK in the APP folder, apply the proper permissions and reboot.
Ref from the GS3: http://forum.xda-developers.com/showthread.php?t=1748516
So I unzipped the file, replaced the hidden menu original apk with the new one, then set permissions, rebooted, then tried ##3282# and the view and edit options do not appear.. .. It just blanks out the items I just entered
Sent from my SPH-L720 using Tapatalk 2
jayjay7411 said:
So I unzipped the file, replaced the hidden menu original apk with the new one, then set permissions, rebooted, then tried ##3282# and the view and edit options do not appear.. .. It just blanks out the items I just entered
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
Did you clear Cache when you rebooted?
What ROM are you using?
ChadH42 said:
Did you clear Cache when you rebooted?
What ROM are you using?
Click to expand...
Click to collapse
+1...same thing is happenening to me...Im on force rom. when i type in the dialer code it just blanks out.
lilmikeyv said:
+1...same thing is happenening to me...Im on force rom. when i type in the dialer code it just blanks out.
Click to expand...
Click to collapse
I just tried this mod with the Force ROM and it did the same thing (blank options). The only thing I can think of is that it works with the odex version of the stock ROM so maybe its a problem with deodex ROMs of which Force is one.
O okay. Its currently not a necessary thing for me at the moment, just nice for when I travel to Alabama. Hopefully later on someone gets it working on deodex.
Sent from my Nexus 4 using Tapatalk 2
ChadH42 said:
I just tried this mod with the Force ROM and it did the same thing (blank options). The only thing I can think of is that it works with the odex version of the stock ROM so maybe its a problem with deodex ROMs of which Force is one.
Click to expand...
Click to collapse
I am actually running it on the Rooted Stock DeOdexed ROM. So I don't think it is an Odex/DeOdex issue...might be a Force ROM issue.
Also, moot point for Force ROM (1.0+) anyway because the PRL Write mod is already included with that.
I'm also having this problem and I'm pretty sure it was working this morning. I haven't flashed anything since then.
edit-- I tried:
1. wiping both cache's
2. killing background process "OIThiddenmenu"
neither fixed it.
I reinstalled the stock odex ROM and flashed this again and it worked.
Just an FYI, OP, I get Error Status 6 when trying to flash this via recovery, which indicates one of two things. Either the format of the file is incorrect or there is a syntax error. The syntax looks fine, but opening in basic Notepad shouldn't "look pretty" like it currently does. So it's likely it was edited with a non-Unix-compatible text editor like Notepad or MS-Word...
To make modifications to an updater-script (or just about any Android/Linux files like this) you need something like Notepad++ or gVim.
Anyways, I did a quick test with this, and it does in fact not work on my ROM as it is, but I see why it's failing, but I don't know what exactly it's trying to reference yet. (It fails with an id number instead of a name, so I'll have to de-compile some things to find it.)
I'm not sure it's a ROM issue or a MOD issue yet. (meaning it might have to be updated for each custom ROM, depending on how they are configured) But I'll track it down and update when I can.
Unknownforce said:
Just an FYI, OP, I get Error Status 6 when trying to flash this via recovery, which indicates one of two things. Either the format of the file is incorrect or there is a syntax error. The syntax looks fine, but opening in basic Notepad shouldn't "look pretty" like it currently does. So it's likely it was edited with a non-Unix-compatible text editor like Notepad or MS-Word...
To make modifications to an updater-script (or just about any Android/Linux files like this) you need something like Notepad++ or gVim.
Anyways, I did a quick test with this, and it does in fact not work on my ROM as it is, but I see why it's failing, but I don't know what exactly it's trying to reference yet. (It fails with an id number instead of a name, so I'll have to de-compile some things to find it.)
I'm not sure it's a ROM issue or a MOD issue yet. (meaning it might have to be updated for each custom ROM, depending on how they are configured) But I'll track it down and update when I can.
Click to expand...
Click to collapse
Thanks for all your help here..
I had the error status 6 problem in the beginning and thought I fixed it. You are correct that I used MS WordPad to edit the files.
ChadH42 said:
Thanks for all your help here..
I had the error status 6 problem in the beginning and thought I fixed it. You are correct that I used MS WordPad to edit the files.
Click to expand...
Click to collapse
I think TWRP can read the non Unix type characters, which is why it works on a different recovery.
I'm hoping it's a mod issue and I can just modify the mod to work universally regardless of the rom. But we'll see.
Sent from my SPH-L720 using xda app-developers app
fails in recovery for me.
says error executing updater binary in zip
in stock rooted...

[ROM] Debloated BNH5 ported from TMobile, rooted, deodexed, no knox, Download Booster

** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​
This is a de-bloated version of the latest KitKat 4.4.2 Rom from T-mobile, i.e. G900TUVU1BNH5. I ported it to ATT and stripped it down to basics. Here is what you will find in this ROM:
Calculator, Calendar, Camera,Clock, Ctontacts, Email, Gallery, Google search and voice, stock browser, Google maps, Memo, Phone and SMS, Music player, My Files, Play Store,Video, Voice recorder, and Youtube.
Everything else has been removed. The zip file size is just under 700MB.
Other features:
1- Pre-rooted and deodexed.
2- Knox, security apps, and updater disabled (your phone will no longer update itself without your knowledge)
3- Call recording enabled.
4- SDcard write restrictions removed.
5- Tethering restrictions removed.
6- Download Bosoter functional on AT&T network.
Requirements:
1- Safestrap or custom recovery.
2- To begin with, you should be on ATT NCE4 rom or a variant of that. It has been reported that this is incompatible with NG3
Download link:
Mega https://mega.co.nz/#!tlcnwBJb!tqGDImZ-HOVKVi_ykMGzNG20qgEOXfS7cxMLdQCtsp0 (version 3)
Instructions:
This is a flashable zip. Boot to recovery to flash it. I strongly recommend a clean wipe before flashing a new Rom.
After reboot, leave the phone alone for 10 minutes before you use it. After the first reboot the data connection takes a while to be recognized. If it does not connect after 10 min, enable and disable airplane mode and it should be fine after that.
There are a few more megs that can be squeezes out of this still so I will update this to a version 2 in the next few days.
A Word about Debloating
There is a misconception that if the size of a ROM is smaller it leaves more usable space on the phone. That is not true. For example, in Galaxy S5, around 2.5GB is earmarked for the system rom, whether it is filled or not. So if you make a very small ROM the space you save is still earmarked for the system and will not show up as free space on your SDcard or whatnot, unless you repartition your /system (bad idea) or manually open some storage space in /system and use it (poor idea). Therefore, in debloating this ROM I mostly removed the elements that constantly run in the background and make the system slow and left a lot of what is not actively used intact, even if they were big in size.
Credits:
JustArchi for creating ArchiKitchen
Screenshots
Applications that come with the rom.
V1: Initial release
V2: Baby crying detector and Samsung Dictionary removed
V3: Removed: T-mobile boot up and power off insignia, non-essential media files, non-US-English VODB and sipdb files. non-essential libraries. Fixed a potentially fatal typo in the update script.
Okay, kind of confused here... This is V1 and your other NH5 thread is V2. Whats the difference between this and the other? More "debloated"?
joe3681 said:
Okay, kind of confused here... This is V1 and your other NH5 thread is V2. Whats the difference between this and the other? More "debloated"?
Click to expand...
Click to collapse
The rom on the other thread is not de-bloated. The file in that thread has every single file that came with the stock ROM. The knox and updater and security files are all in there and just disabled, in case someone just decides to go back to full stock.
In this thread I have removed a long list of apps and directories and libraries. That is why the file here is half the size of the one on the other thread.
I tested this on ANCE base. No FC or hangup. Smooth as butter.
Loving what you're doing here. No-frills, simple rom.
Keep up the good work. I like that the things that normally run in the background are removed, it's great
Edit: Chrome says the file is Malware when I download from MEGA. You probably didn't upload malware but that's what it's telling me. Just letting you know
skyrocketeer said:
Loving what you're doing here. No-frills, simple rom.
Keep up the good work. I like that the things that normally run in the background are removed, it's great
Edit: Chrome says the file is Malware when I download from MEGA. You probably didn't upload malware but that's what it's telling me. Just letting you know
Click to expand...
Click to collapse
Chrome is trying to be cautious here because it sees an install script and a file marked as executable inside a zip file and freaks out. Or it could be because MEGA has been associated in the past with malware download. Whatever the reason, this conservative approach results in false alarms which is known for Chrome. See for example: https://torrentfreak.com/chrome-blocks-utorrent-as-malicious-and-harmful-software-140716/
I suggest that you either ignore the chrome warning, click on "show all downloads" and locate the file and recover it, or download it with Firefox. In either case, after you are done downloading, scan it with a reputable virus scanner of your choice. I just downloaded it myself, scanned it with McAfee Enterprise Edition and it is clean.
Anybody encounter binary updater error while flashing this? Coming from DK rom
l34rn said:
Anybody encounter binary updater error while flashing this? Coming from DK rom
Click to expand...
Click to collapse
If you are not using safestrap make sure you have the latest TWRP or CWM installed. If you use safestrap please describe what kind of error you get. You can use the log utility to save the output of the install script on the SD card to see later what the error is.
I don't seem to be able to sync my contacts. The contact option is not listed under the google account. Calendar is not there either and the calendar won't sync.
Sent from my SM-G900T using XDA Free mobile app
gregthomas129 said:
I don't seem to be able to sync my contacts. The contact option is not listed under the google account. Calendar is not there either and the calendar won't sync.
Sent from my SM-G900T using XDA Free mobile app
Click to expand...
Click to collapse
That is because the sync functions are removed. Use the not-debloated version if you need this feature.
najoor said:
That is because the sync functions are removed. Use the not-debloated version if you need this feature.
Click to expand...
Click to collapse
Any chance you can give a location to just this apk? I really like the ROM but need Google Contact Sync.
pixeldrew said:
Any chance you can give a location to just this apk? I really like the ROM but need Google Contact Sync.
Click to expand...
Click to collapse
Alright. Download the non-debloated version from here:
http://forum.xda-developers.com/att...-g900tuvu1bnh5-ported-tmobile-rooted-t2900780
Unzip it and and look under system/app and system/priv-app. All the apks are there. Pick and choose whatever you want.

Categories

Resources