[Q] [Solved]Apn not save or not recieve setting from provider - Sony Xperia T, TL, TX, V

Well there are other threats like this all around internet when google it and seems there is no perfect solution at all !!
This problem is really Crazy , Cause with Official ROMs and some Custom roms like LOVINS i can get setting of my APN from SIM Service provider or define whatere i want in APN setting and save it
but on a lot of Custom ROMS the APN not save and blank after hit save ( no matter what information entered as input )
very strange things is in custom roms the APN setting never recieved from Provider by SMS OTA , like there is Some Firewall or blocker for receive sms from these ( there is no error and website send it successfully appear )
if i reinstall Official ROM i can get this setting from Provider
I try some Tips that i found from Google it :
1- add my APN setting to /etc/apns-conf.xml with using solid explorer
2- delete telephony.db , restart phone and regenerate it
3-using third party apps that create and backup APN
none of them useful .
i use CyanogenMod 12.1 now and really love it but i really need to have 3G data
i can`t understand why this problem happened ??
what File or apps removed or edited by Custom Roms Creators can cause this happend ?
CyanogenMod 12.1 is really smooth and fast , i really don't wana back to official 4.3

Damn , i wish to see at least a spam post
seems no hope and must go back to official ROM again

A list of all your installed mods and root apps might be helpful

thanks for replay @WhiteNeo
but i didnt install any new app after Flash
i just follow instructions for flash CM 12.1 :
- Flash boot.img in fastboot mode
- Flash Rom , Gapps and Su after reset factory and full wipe
it seems there is some strange problems or edited file that related to SIM card or Data
In Network Operators after searching when i choose my operator , it`s not register , the error message come
Cant connect to this network right now , please Try later
But phone have no problem , my provider detect i can call , receive and send sms
There must be some way for backup Sim or APN from 4.3 with some app like titanium backup
one thing : i flash Official 9.2.A.2.5 first and then flash CM12 , it`s okay ?

Arioman said:
one thing : i flash Official 9.2.A.2.5 first and then flash CM12 , it`s okay ?
Click to expand...
Click to collapse
This would certainly cause a bootloop..
You could try to do a clean install with modified rom zip (replace apns-conf with the one from Stock 4.3 or modify it accordingly)

WhiteNeo said:
This would certainly cause a bootloop..
You could try to do a clean install with modified rom zip (replace apns-conf with the one from Stock 4.3 or modify it accordingly)
Click to expand...
Click to collapse
i`m sorry but i didn't understand what you mean do a clean install
i don't have any problems or bootloop, but how can i clean install with modified rom zip ?
can you explain more clearly ??
most of Custom roms say flash a official Rom before install Custom Rom and dont install Custom roms on another custom rom
so thats why i install 4.3 official 9.2.A.2.5 and then flash boot.img and go to recovery and flash your CM12.1 Zip file after doing reset factory and full wipe
Is that not Clean Install ?
ohhhh do you mean to extract your Zip and replace apn xml and zip it again ?
replace apns-conf with the one from Stock 4.3 or modify not work and still blank APNS with the user no access ...
seems APN is locked some how !

wow i found out something strange
in official ROM with my APN Setting the apns-conf.xml file is empty :
PHP:
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2006, Google Inc.
** Copyright (C) 2013 Sony Mobile Communications AB.
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
**
** NOTE: This file has been modified by Sony Mobile Communications.
** Modifications are licensed under the License.
*/
-->
<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<apns version="8">
</apns>
my APN is saved on telephony.db
So i backup it from Official rom , replace it with CM12.1 and reboot
The Problem Solved !! now i have my APN

Arioman said:
wow i found out something strange
in official ROM with my APN Setting the apns-conf.xml file is empty :
PHP:
<?xml version="1.0" encoding="utf-8"?><!--/*** Copyright 2006, Google Inc.** Copyright (C) 2013 Sony Mobile Communications AB.**** Licensed under the Apache License, Version 2.0 (the "License");** you may not use this file except in compliance with the License.** You may obtain a copy of the License at**** http://www.apache.org/licenses/LICENSE-2.0**** Unless required by applicable law or agreed to in writing, software** distributed under the License is distributed on an "AS IS" BASIS,** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.** See the License for the specific language governing permissions and** limitations under the License.**** NOTE: This file has been modified by Sony Mobile Communications.** Modifications are licensed under the License.*/--><!-- use empty string to specify no proxy or port --><!-- This version must agree with that in apps/common/res/apns.xml --><apns version="8"></apns>
my APN is saved on telephony.db
So i backup it from Official rom , replace it with CM12.1 and reboot
The Problem Solved !! now i have my APN
Click to expand...
Click to collapse
Sounds great! Glad to hear about that, mate! :good:

Related

[Dec 21][APP]PS3DJB v2.5.1 Supports Eng, Ger, Nor, Esp & Fr

Hello everyone,
Here is my app i have been working on. It will install all files to your sd card needed to jailbreak and downgrade your ps3 with your HD2 Only. Now i have some time think this link is long overdue to be posted. Where this app originated from. Again thank you to all the other devs out there for there hard work that has now become a all in one solution.
What the app does:
This app will allow you to downgrade your firmware to any firmware you want. (PS3 Slim's cannot go as far back as Fat Consoles.) The downgrade only works with FW's up to 3.50. (If you have FW3.55 you are out of luck for now. Unfortunately there is no solution on the market nor in the community for that FW version.) This app will also allow you to patch your android build with all the files needed to jailbreak your ps3.(this will be changed real soon.) It also includes many payloads so u can use the one that best matches your needs.
Other Languages:
German version Located here I have also translated the first post in German as well. Enjoy
Norwegian version Located here I have also translated the first post in Norwegian as well. Enjoy
Spanish version Located here. It is compatible with Esp Rom's storage cards. I have also translated the first post in Spanish as well. Enjoy
French version Located here. It is compatible with Fr Rom's storage cards. I have also translated the first post in French as well. Enjoy
Instructions:
you will need to download both files found below.
DowngradeUpdater(needed)
PS3DJB Updated to 2.5.1 - English Only - Now Includes darkstone hd2froyo v3 in a custom folder just for jailbreaking. Size 103mb
Install:
Make sure you have placed your android build of your choice on the root of your sd card before installing. Your android build must be placed in the Android folder.
1.install downgradeupdater.cab to storage card. (this only contains the downgrade folder)
2. install PS3DJB.cab to storage card. (this contains the main UI and all jailbreak files)(does not include modified 3.41 PUP, lv2diag.self file 1 and lv2diag.self file 2)
Pre Use:
1. run app and select backup original android build (must do this first before you run setup jailbreak if you want to keep your original zImage of your Android build.)
2. select setup jailbreak. This will transfer all the files to your android build. if you replace your android build later on with a newer version just rerun the setup jailbreak.
Use:
1. once you set up jailbreak then proceed to select Launch PS3DJB. Follow the jailbreak instructions on the process. There are tons of tuts on how to do so. It is all they same for the most part. What is different for the HD2 is Once you boot into Android go and launch Gscript and select the payload of your choice. Then wait till it starts to auto countdown then plug the phone into the ps3 and start the jailbreak process.
2. If you want to downgrade your ps3 launch downgrader. This will take you to a mini android build made specifically for downgrading your ps3. This will not affect your other android builds
Questions and Answers:
Q) how do I know when everything backed up, restored or setup for jailbreak?
A) it will complete when the button image snaps back to normal when completed.
Q) im done downgrading and cant turn off the phone with the power button?
A) If you run the downgrade portion of the app you will need to pull the battery out when your done and reboot the phone. this is not due to my app it is part of the downgrade setup.
Q) Where is the Gscript folder located at?
A) gscript folder installs to the root of your SD card. It should install when you install the PS3DJB.CAB if you do not see it. Reboot your phone. Sometimes it caches till a reboot. not sure if its a OS issue or a Rom issue.
Q) I started Gscript and only see a couple of payloads. Isnt there more?
A) if you are missing payloads in gscript listing hit the windows button then select add script. Then finally select load. find a missing script select it and save. it will now populate to your main list in gscript. you will need to add. hermes 3.50 + PSN v4b, CE-X hybrid payload, and 2.76FW payload.
Q) I have multiple android builds will this mess with them?
A) Yes and No. It will only mess the the android build located in the Android Folder. If you want to make sure your stock android build stays stock after jailbreaking run the backup original android build button first to back up a copy of your original zImage. Once your done jailbreaking just run restore original android build to restore the backedup zImage.
Q) Do I need to install the downgradeupdater.Cab if I don’t plan on downgrading?
A) No you do not. It does not affect anything releated jailbreaking. If you hit the launch downgrader button without it installed will cause the app to display a message about it missing.
Q) if i downgrade will i loss my game saves? if so how do i keep them?
A) If you downgrade you may loose your game save. Go to system settings and back up your system. the option is at the bottom of the list almost. you can restore the same way
if you have any suggestion let me know.
enjoy!
PAYLOADS included:
Hermes v4b+355 FW3.41
CE-X FW3.41
Hermes FW3.41
Hermes v4b + psn + 3.50 FW3.41
PL3 FW2.76
PL3 FW3.01
PL3 FW3.10
PL3 FW3.15
PL3 FW3.41
*IMPORTANT*
for downgrading you will need the 3.41 modified pup, lv2diag.self file 1 and lv2diag.self file 2. these are needed once you obtain service mode
Change log:
Version 2.5.1
*added my custom data.img (57mb) to jailbreak rom. Should save a lot more space on the storage card and boot faster. My boot took 1 min 37 sec which was faster than the 1GB data.img created on first boot.
Version 2.5
*Removed setup Jailbreak, backup and restore buttons.
*Jailbreaking now has a dedicated folder that has a pre setup build of android ready to jailbreak
*included a dedicated android launch button for those who have daily use builds of android on there phone located in the android folder
*new start menu icon - thanks to drkfngthdragnlrd
Version 2.0
*removed any backing up or replacing of initrd.gz as it is not really needed for our purposes.
*should work better with new builds of android as i backed off the filestructure some.
version 1.6
*backup original android build now backs up zImage and initrd.gz
*restore original android build now restores zImage and initrd.gz
version 1.5
*added backup original android build button - this will back up your original zImage on your untouched android build.
*added restore original android build button - this will restore your original zImage and delete all files related to jailbreaking in your android folder
*updated functionality of setup Jailbreak button - now will create all jailbreak related directories in the android folder then install all files needed.
Thanks goes out to:
mangahoteles, Darkstone, Dan1j3l for the original builds of psfandroid
The Invisible GoD & KillaHurtz for there payload ports
sorry for noob question... what for this app actually?
Wonderful app! Thank you for your work. Wouldn't this be better suited for the HD2 Apps forum though?
socrated13 said:
Wonderful app! Thank you for your work. Wouldn't this be better suited for the HD2 Apps forum though?
Click to expand...
Click to collapse
i thought it might be but was not sure. if a mod wants to move it feel free.
This app just make things easier/noobier for people who want to jailbreak or downgrade there ps3. i personally got annoyed always having to open file explorer and hit both options to launch. i have a lot of crap on my sd card so this makes it easier for me and i hope others. it will also give you a dedicated folder for the downgrade.
i can always make the jb a dedicated folder but i notice that android runs fine with the jb files integrated. it did not affect my user experience so i did not do that originally.
Thank you! This is an extremely useful app, you have made my life so much easier...
azaini said:
sorry for noob question... what for this app actually?
Click to expand...
Click to collapse
If you don't no for what this app is, probably is not for you!
HackMimic, thanks for the great job!
HackMimic said:
i thought it might be but was not sure. if a mod wants to move it feel free.
This app just make things easier/noobier for people who want to jailbreak or downgrade there ps3. i personally got annoyed always having to open file explorer and hit both options to launch. i have a lot of crap on my sd card so this makes it easier for me and i hope others. it will also give you a dedicated folder for the downgrade.
i can always make the jb a dedicated folder but i notice that android runs fine with the jb files integrated. it did not affect my user experience so i did not do that originally.
Click to expand...
Click to collapse
Very cool good job!!
I am curious to where you get the lv2diag.self file 1 and lv2diag.self file 2 files
youngkwang49 said:
I am curious to where you get the lv2diag.self file 1 and lv2diag.self file 2 files
Click to expand...
Click to collapse
Like here for example...
Doesn't work for german ROMs, cause in german "Storage Card" means "Speicherkarte" and so the path for the setup is wrong ... Installing is no problem.
This is awesome
Thank you HackMimic
the only probem with using ps jailbreak on my hd2 android is that it breaks my camera
had the same problem when I made my multi os launcher app days ago. I have the translation for German and another language. I will make the proper changes for ya. Would you prefer everything visual to read in German.
HackMimic said:
had the same problem when I made my multi os launcher app days ago. I have the translation for German and another language. I will make the proper changes for ya. Would you prefer everything visual to read in German.
Click to expand...
Click to collapse
German is not that important for me, but if it is no big effort it would be fine.
What version firmware does this work on i have .55 firmware, a stupid friend of my sister installed it. I hope it works for this too
supaet said:
the only probem with using ps jailbreak on my hd2 android is that it breaks my camera
Click to expand...
Click to collapse
Same here.
HectiQ said:
What version firmware does this work on i have .55 firmware, a stupid friend of my sister installed it. I hope it works for this too
Click to expand...
Click to collapse
unfortunately if your at 3.55 there is no way to downgrade as they revoked the leaked keys. there where 3 of them i believe. i would not update your ps3 anyfurther down the road and wait till there is a workaround. im always scared my roommate will do the same. thats why i bought two. one jb in the front with a ps3key. thats what my roommate will use since its easy and one in my room with my htc now.
bahoiz said:
Same here.
Click to expand...
Click to collapse
Does it break the camera in WM or android? My camera in WM works fine. if in android it might be the zimage file used. I think i will need to make a backup folder and include a button to backup original zImage of the rom so you can restore it when not jailbreaking.
also doing a pure german rom is no big deal. Let me update the app to do this new stuff first and when i upload it i will upload a translated version as well.
Hi,
I am using an english version wm, still says that the directory can't be opened
Storage Card/blah blah blah..
using android RAM version by darkstone.. maybe that's the cause?
Whenever I click on "Setup Jailbreak", I get an error message saying, " An unexpected error has occurred in SmartDeviceProject1.exe. Select Quit and then restart this program, or select Details or more information." I'm using a dexter wm rom, "TheDarkOne WWE". Radio 2.10.50.26. Any help would be appreciated.

[ ROM ] - Dhollmen LOLLIPOP 5.0.2

.
Highlights:
Android 5 - Lollipop
Integrates the latest Dhollmen Kernel.
Supports NTFS file system.
Supports EXFAT filesystem.
Supports F2FS filesystem.
Available configuration options for Dhollmen Kernel overclock.
Integration of Viper4 Audio FX as an equalizer, amplifier and sound effects manager.
Supports for Joystick and game controllers.
Supports for gestures on the keyboard.
First Installation:
Download the zip file from Rom as tablet model
Download the add-on with pre-settings Viper4 Convolver IRS
Download the add-on with Google applications (Gapps)
Boot the tablet in recovery mode
Make "wipe data / factory reset" at this time
Install the Rom file
Install the Viper4 IRS file
Install The Gapps file
Reboot
Subsequent installations:
Download the updated zip file
Reboot to recovery mode
Do NOT any kind of "wipes"
Install the updated zip file
Reboot
Information:
Frequently asked questions you must read.
Downloads:
Recovery TWRP
WARRANTY: You agree that this product is provided "as is" without any warranty, either expressed or implied, on its operation.
DISCLAIMER: Your assumes at your SOLE RESPONSIBILITY all results produced by the "software" and/or instructions in this thread.
XDA:DevDB Information
Dhollmen, ROM for the Samsung Galaxy Tab 2
Contributors
tuxafgmur
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: No Longer Updated
Current Beta Version: 5.0.2
Beta Release Date: 2015-02-09
Created 2015-02-03
Last Updated 2015-02-15
.
> Rom's Notes.
Who installs this Rom, accept it "as is".
Contains just the apps and options installed.
What you want to add will have to be obtained from Google-Play or any other sources.
Please, don't report bugs if you are not using the installed Dhollmen Kernel.
In case of questions or comments, you must indicate additional apps, tweaks or installed "optimizations".
if you insert images, do it in a 'hide' tag. This hide your image until an user click to show it.
I assume you has installed a suitable Recovery and know how to perform the required steps.
Keep in mind that Antutu and others related apps give you very similar values, regardless of the Rom used.
In such apps, OC influence on speed, but its goal is to evaluate the hardware, not the Rom.
Don't use any kind of overclock before three consecutive stability test in Antutu.
> Rom take a long time to boot after installing.
It is quite normal because ART is used and applications are self-compiled at first boot time, after installing a new Rom.
> Applications are slow to start after installing.
It is quite normal because ART is used and have self-compiled before first use.
Although it may seem at times, the Rom is not hung, just have to wait.
> Get Root access.
In Settings app, entering development option and select Root access.
If you don't see these items, we activate:
Touch repeatedly on About tablet > build number. From now on, initial setting screen show that option, plus Performance.
> Get Performance access.
If you don't see these items, we activate:
Touch repeatedly on About tablet > build number. From now on, initial setting screen show that option, plus Development option.
> Google Apps (Gapps).
All Gapps packages available are virtually identical.
Only differ, from each other, in the amount of installed applications.
Never two different packages must be installed as likely to cause Google applications FC.
The Dhollmen Gapps, being valid for any Rom, are specifically adapted for installation on it.
> Viper4 - Convolver - IRS.
This application controls the System Sound FX.
It also includes a number of advanced pre-equalizer settings (made by others) that are the IRS whose installation files requested.
Access to Convolver (manager of the IRS) is obtained by selecting the option Expert in Experience Settings.
Using another equalizer (provided by external applications) usually interfere with it.
You can only have one active equalizer in the system, but if you want to use another one, kindly Viper4 can be turned off.
> Restoring backups.
It is very common Titanium Backup (or similar) problems in Rom.
If backup /data partition are made and, after a change of Rom, restored, usually side effects will occur.
In this directory and subdirectories it contains, there are many configuration files and internal databases.
When it comes to a specific application should not be a problem as long as it is not part of the Rom.
When sub-directories containing settings are restored, the likelihood of problems increases exponentially.
For example, all Roms have a Settings application, but the content of his configurations differs between them and is not interchangeable.
Under no circumstances you should restore /system partition apps.
> Brick Bug.
Don't worry about.
No problems here
> Recovery.
In the wave of failures of equipment, widely discussed and until the problem is completely cleared
The user is strongly advised not to use another recovery than Dhollmen TWRP-2.8.0.5 or Andi TWRP-2.8.0.1
Seems very nice, will give it a try after i get back to home. Thanks!
AMAZING, i was wondering wich LP rom was the best option when this pops up, thanks again OP you are the best.
Installing right now, will post feedback.
cool, thx
Hassan 4 said:
Seems very nice, will give it a try after i get back to home. Thanks!
Click to expand...
Click to collapse
Everything is working except GPS.
When opening an app for the first time it's really slow, after reopening it's faster. Seems pretty good for initial release.
Keep up the good work.
look promising, shall give a try
btw no keyboard tng this time?
Marcos OC said:
AMAZING, i was wondering wich LP rom was the best option when this pops up, thanks again OP you are the best.
Installing right now, will post feedback.
Click to expand...
Click to collapse
Installed, i cant get the sound to work, checked driver status on equaliser menu and it says "abnormal"
p3110, fresh install, wiped everithing even internal storage.
Confirmed no sound on 3110. Looks like the audio.primary.default.so file in /system/lib/hw was omitted when compiling for 3110. Just for the heck of it, I downloaded the 3100 build and the .so file was present in that rom. So, I just took the audio.primary.default.so from the 3100 build and put it in the 3110 build, sound working fine now.
I archived the file in the 3110 zip, then flashed the rom but you can also push the file with a root file explorer. Just make sure to set proper permissions and then reboot for it to take effect.
Or, you can just wait for the OP to fix the 3110 build.
Mike T
webdroidmt said:
Confirmed no sound on 3110. Looks like the audio.primary.default.so file in /system/lib/hw was omitted when compiling for 3110. Just for the heck of it, I downloaded the 3100 build and the .so file was present in that rom. So, I just took the audio.primary.default.so from the 3100 build and put it in the 3110 build, sound working fine now.
I archived the file in the 3110 zip, then flashed the rom but you can also push the file with a root file explorer. Just make sure to set proper permissions and then reboot for it to take effect.
Or, you can just wait for the OP to fix the 3110 build.
Mike T
Click to expand...
Click to collapse
can you please upload the audio.primary.default.so for us
OP, is the rom running on Dhollmen kernel for LP ..
Thank you Tux for bringing lollipop to Dhollmen.
Everything works fine. Smoother than CM12.
Titanium backup has issues with stock Root. Hence flashed supersu 2.45 to fix it.
How does one switch from the samsung keyboard dock to the on screen keyboard? I went to settings, then to language and input and the choice was grayed out. Is this something where if I have the dock option installed, that I can only use a keyboard dock?
What this rom based on ... ???
Help 3G DATA NO WORK!!
quick setting panel is not working for my p3100. plz fix it
.
For all those who so kindly have tested this first beta: :good:
I've taken note of all comments and I am reviewing each and every one of them.
when I've prepared the corrections I'll upload a new version.
I'll try the beta status as short as possible.
:highfive:
tuxafgmur said:
.
For all those who so kindly have tested this first beta: :good:
I've taken note of all comments and I am reviewing each and every one of them.
when I've prepared the corrections I'll upload a new version.
I'll try the beta status as short as possible.
:highfive:
Click to expand...
Click to collapse
Can the cast screen option be working?
Also tried casting screen through Chromecast app, sound is coming but no video.
This is the audio.primary.default.so from the P3100 build for anyone who needs it.
Do not forget to set permissions to rw-r--r-- / chmod 644
http://www.mediafire.com/download/p63chas4hva17wm/audio.primary.default.so
By any chance is there app to SD card support?
By what I can see, yes. See screenshot.

[TUTORIAL] Manually port T-Mobile Alliance ROM 5.0.1 to Verizon Dev Edition (12/8/15)

** Got Verizon Note 4 Dev Edition to work with Alliance T-Mobile ROM!! Data, calling, sms, mms work ! I smell a daily driver! I am not a developer, but this manual port taught me a lot. This was a personal project of trial and error, and research that turned into a stable ROM. Thought I'd share how I did it. I do not take credit for this ROM or kernel**
DISCLAIMER: Your warranty is now void. Please be careful make a nandroid of your current Verizon ROM. I am not responsible if you break your phone or lose data on your device! Read this whole OP!
**This is using the BETA version of Alliance ROM for T-Mobile Note 4. Download the Alliance BETA and read the thread: http://forum.xda-developers.com/not...-0-1-allianceromn910t-18-themes-huge-t3085560 to get an idea of the features of this ROM. Give lacoursiere18 and hsbadr a thanks and donate to them for making this great ROM and kernel.
Follow these steps one after the other and don't stop**
1. Make sure you are on a OAF Lollipop ROM without xposed installed. I think I used Rick's OAF Lollipop ROM originally. Download the most recent multisystem kernel. I am on BOG modem so I'm pretty sure any Lollipop modem will work with this.
2. On your Verizon Lollipop ROM make copies on your SD card of:
- system/buildprop.xml & cscversion.txt
- system/etc/apns-config.xml
- system/etc/permissions/verizon_net_sip_library.xml & vzwapnlib.xml
- system/lib/libril.so & libsec-ril.so
- system/apps/VzwActivationAgent, vzwapnpermission & **SecSetupWizard2013**
- system/framework/VZWAPNLib.apk
- system/privapp/VZWAPNService & secmms_candy folders
- system/csc folder
4. Reboot into recovery and make a TWRP backup of everything except SD card.
5. While in recovery dirty flash Alliance ROM BETA on top of your lollipop ROM OAF (Wipe everything EXCEPT data, internal storage, and SD). Then flash the most recent multisystem kernel.
6. Once booted up and apps are optimized wait until the screen turns off by itself. Download root browser and delete system/privapp/diagmonagent.apk and system/lib/libdiagmonagent.so because at startup it was sending some kind of diagnostics and thought it was messing with the data drop. Ever since these changes and a reboot data has been stable!
Reboot
7. Using root browser, swap those copied files in the appropriate file location. Change them to the correct permissions (the folders get 0755 and the files 0644, compare with other files and folders that are in place already. Make sure you change the permissions on all folders copied over and their contents. If a permission is incorrect or you leave a file out there can be issues and a restore might be needed.). Let apps optimize. **Longest Step**
Reboot
8. Edit feature.xml in the system/csc folder and add:
<CscFeature_RIL_ForceConnectMMS>true
</CscFeature_RIL_ForceConnectMMS>
Above the two bottom tags:
</FeatureSet>
</SamsungMobileFeature>
This enables auto download mms when data is toggled off !
Reboot
9. Perform a factory reset within the settings. Let phone relax for like 10 mins after it boots. Go through the setup wizard and then reboot.
Reboot into recovery
10. Make an backup in TWRP and you have your own custom ROM
I'm pretty sure this ROM is not compatible with xposed but it is very customizable, smooth, and it comes with a lot of features built in.
**READ ME**
Bugs:
- Silent mode is only available using the toggle. Volume down only goes to vibrate.
**
- Battery section in settings is missing
- No way to remove battery percentage in status bar
(Workaround: Download "Battery Usage Shortcut" from the Playstore to access the battery section and to remove battery percentage)
**
- No way to uninstall 3mint battery mod without messing the systemui up **(see update at the bottom)**
- Now that the mobile network settings are correct the advanced calling option is avaliable but it force closes and messes up your data connection. A reflash of everything will be needed so don't click on it! (I have a feeling a Verizon app is missing)
- My volume titles are not correct (Ringtone, media, notifications, and system.) when I press the volume buttons. (**Workaround download Noyze Volume Panel for free from the developer
http://forum.xda-developers.com/android/apps-games/app-noyze-volume-panel-replacement-t2875501
Give Tombarr a thanks for developing such a slick and customizable app**)
11/18/15:
- Just started using voicemail for the first time in 6 years. Good thing because today I experienced a glitch that it would not let me hang up the phone after listening to voicemails for some reason, but it didn't do that when I was clearing voicemails. (Hangs up automatically after a certain amount of time) Maybe it happens to new voicemails. Also I'm assuming since the verizon voice mail app isn't installed I get a weird unreadable verizon text when I get a new voicemail.
- One hand mode is not in the settings. Not sure why
Any suggestions or thoughts about these current bugs would be helpful.
I cannot guarantee all Alliance settings will work (stay away from performance), but most does work and it's awesome!
This manual port is now stable and buttery smooth! All basic phone functions work. Let me know if you come across any bugs or issues not related to Alliance settings. I will try to help fix it.
Thanks Stedrocklp for taking the time to try and get this working. Jal3223 thanks for sharing that key porting info!!! Wouldn't be possible without your help! Thanks hsbadr for developing Multisystem kernel ! Thanks lacoursiere18 for creating this ROM !
UPDATE:
To update Alliance settings to the most recent version and remove 3mintbattery mod download the newest T-Mobile Alliance ROM v1.1
1. Use ES File Explorer and click on the Alliance ROM you just downloaded to open the archive.
2.
- Extract system/privapp/SystemUI/SYSTEMUI.apk
- In the system/app folder extract AllianceControl folder (towards the top) and all the loose apps without folders at the bottom to a folder on your sd card.
3. Make a system and data backup in TWRP just in case things go wrong. Reboot system
4. Swap all those files and folders in their appropriate file locations and change the folder permissions to 755 and files to 644. Take this step slow and make sure the old files are renamed to .old or overwritten. If a permission is incorrect or you leave a file out there can be issues and a restore might be needed.
5. In system/app folder delete the old loose Alliancecontrol.apk, and delete 3mintbattery.apk
6. Reboot and enjoy!
This is the final release of this ROM so we are all up to date ! :good:
Wondering if this will work for sprint or any rom
dyra502 said:
Wondering if this will work for sprint or any rom
Click to expand...
Click to collapse
I'm pretty sure it would but you need to figure out the sprint specific apps to make the system happy. And flash your sprint kernel after you dirty flash. The dirty flash skips the setup which makes it possible to boot correctly.
Would you mind sharing the Rick's ROM that you used? I looked at his thread, but the download links are no longer available. Thank you in advance for your help!
Romans8vs1 said:
Would you mind sharing the Rick's ROM that you used? I looked at his thread, but the download links are no longer available. Thank you in advance for your help!
Click to expand...
Click to collapse
Damn thats not good. I do not think I am allowed to share the ROM, as it's not mine. But I do not know how to share it anyways. I would just odin back to 4.4.4. and go through the upgrade process to OAF. Or you can try to de-xpose MoRom after a clean flash. I think there are two things you need to remove one being the xposed installer and the other I don't know the exact name but use root browser, search for xposed in the system folder, delete it, and reboot. No sure if it will messed anything up but I don't think it will. Then dirty flash the alliance beta and continue from there. Let me know how it goes!
jcip17 said:
Damn thats not good. I do not think I am allowed to share the ROM, as it's not mine. But I do not know how to share it anyways. I would just odin back to 4.4.4. and go through the upgrade process to OAF. Or you can try to de-xpose MoRom after a clean flash. I think there are two things you need to remove one being the xposed installer and the other I don't know the exact name but use root browser, search for xposed in the system folder, delete it, and reboot. No sure if it will messed anything up but I don't think it will. Then dirty flash the alliance beta and continue from there. Let me know how it goes!
Click to expand...
Click to collapse
Thank you for your response. I ODIN'd back to OAF and went through the steps in your tutorial. My phone booted up and I then proceeded to replace the files/folders and set permissions. I thought I was careful, but once I tried to reboot, the phone would not come back up.
Is there a way to make the changes (file permissions and replacing them in the ROM) on a PC?
Is there a way to share your edited files so that we could simply paste them into the ROM?
Just thought I would ask. Thank you in advance for your assistance!
Romans8vs1 said:
Thank you for your response. I ODIN'd back to OAF and went through the steps in your tutorial. My phone booted up and I then proceeded to replace the files/folders and set permissions. I thought I was careful, but once I tried to reboot, the phone would not come back up.
Is there a way to make the changes (file permissions and replacing them in the ROM) on a PC?
Is there a way to share your edited files so that we could simply paste them into the ROM?
Just thought I would ask. Thank you in advance for your assistance!
Click to expand...
Click to collapse
Damn thats a bummer. Even if I shared the files you would still need to change the permissions. I think it is possible unzip a verizon ROM and unzip Alliance rom and replace the files and then zip it back up on the computer and then dirty flash that but everytime I zip it back up it never flashes. It seems that when I zip it back up it adds an extra folder that makes it unflashable but haven't taken the time to figure out how to make it work. Try starting over and getting the ROM to boot then make a nandroid of that so you have something to restore. This is what I did when I was trying to get everything working. Next time try not adding the camera files and .jar file and add them after a reboot. Let me know how it goes.
Added the setup as one of the files to copy over so a factory reset can be performed to make sure you're starting with a fresh system. This is the first day I did this and I had to pull the battery twice due to freezes after I factory reset. I didn't let the phone sit and let it settle. I would recommend you let it sit and relax for like 10 mins. I have not had any lock ups since this morning. Lemmi know how it goes!
After the factory reset the ROM is flying. As for the battery I cannot say yet but I know I did not have the best battery life on this ROM before. It did get me through the day so I was happy about that. I calibrated the battery but that is about it. If any devs knows any battery optimizations that can be made to the system without xposed please share!
I heard from a user that Xposed works on this ROM. I personally do not use it though. As for battery life I've noticed better results after I disabled automatic check for updates in the settings. Settings > About device > Software Updates and uncheck auto check for updates. This ROM for some reason does not have the audio issues that I experienced on MoROMs ROM. I am happy about that. Now that we finally have the 5.1.1. update I am going to try and port a ROM that looks good. If anybody wants to give this a stab with me that would be great to test multiple ROMs from different carriers and see which one gives us the best results. Thanks
Got something amazing in the works!
Nandroid backup
Can someone send me a nandroid backup of this I'm worried about messing up my phone up
Is there a way to install this rom in the same manner as the kyobi note 5 port? I'm running that now, but would like to try this one out. I've tried a few times but just can't seem to get this one up and running.
Thanks in advance and have a blessed day!
Sent from my SM-N920F using Tapatalk
TheRock40359 said:
Can someone send me a nandroid backup of this I'm worried about messing up my phone up
Click to expand...
Click to collapse
That's a big file idk how I would be able to distribute that lol
Romans8vs1 said:
Is there a way to install this rom in the same manner as the kyobi note 5 port? I'm running that now, but would like to try this one out. I've tried a few times but just can't seem to get this one up and running.
Thanks in advance and have a blessed day!
Sent from my SM-N920F using Tapatalk
Click to expand...
Click to collapse
It's not that simple. A data fix would need to be made and that is out of the scope of my knowledge. But when I have some free time, possibly this weekend, I can attempt to come up with something for you to try.
jcip17 said:
That's a big file idk how I would be able to distribute that lol
Click to expand...
Click to collapse
Could upload it to dropbox
Anyone with a Developer addition phone willing to help us none developers get root/unlocked bootloader? New exploit found but we need an .aboot from a developer phone: http://forum.xda-developers.com/note...ition-t3346422
Since I am currently on BPA1 5.1.1 running the Kyubi ported ROM and this is a 5.0.1 ROM, will I have to do downgrade my device or anything or will I be good to go to dirty flash? Thanks in advance.
stajam said:
Since I am currently on BPA1 5.1.1 running the Kyubi ported ROM and this is a 5.0.1 ROM, will I have to do downgrade my device or anything or will I be good to go to dirty flash? Thanks in advance.
Click to expand...
Click to collapse
I don't recommend dirty flashing from Kyubi. You should try clean flashing MoRom then copying those files from the system. Then dirty flash Alliance, then multisystem kernel:
http://forum.xda-developers.com/not...opment/kernel-multiystem-kernel-v1-0-t3105603
And just follow the OP instructions.
jcip17 said:
I don't recommend dirty flashing from Kyubi. You should try clean flashing MoRom then copying those files from the system. Then dirty flash Alliance, then multisystem kernel:
http://forum.xda-developers.com/not...opment/kernel-multiystem-kernel-v1-0-t3105603
And just follow the OP instructions.
Click to expand...
Click to collapse
Yeah ,I am trying to pull the files I need from my stock ROM backup that I just freshly installed on my device. I stumbled upon a forum here today called Guides There seems to be ALOT of usefull stuff in here about Porting and Building ROM's. I don't know if you have ever come across it or not.

custom Rom or change of 4.4.2.Retail.EU

Hello,
I'm a beginner lost in reading all the useful information on this forum.
I started with the idea to reduce the permissions of applications of my Razr I.
Google pointed to this http://www.xda-developers.com/protecting-your-privacy-app-ops-privacy-guard-and-xprivacy/
And I'm really happy and surprised about all information I can find here, thank you that much for
making this possible to all of you!
As today I feel ready to start playing around with my phone I wanted to ensure I understood the items right.
May be for you it takes only some seconds to verify my guess and can give a short notice
about Step 2 or 3 is easier to become implemented.
Step 1.) I wanted to do a full backup before I start, following this thread:
So I'll install ADB on my PC and run "adb backup -f FullBackup.ab -apk -all"
This works on a Razr I with 990.43.74.xt890.Retail.en.EU - of the shelf and is not risky at all - or?
Could you pls. tell whether it is really true I can switch back to my backup if I'm not happy with my System?
Step 2.) My first intention was to root my device and install Xposed framework
http://forum.xda-developers.com/showthread.php?t=2299428
http://repo.xposed.info/module/de.robv.android.xposed.installer
And to use Permission Master out from google play store
First of all I wanted to ask you whether this is feasible technicaly and esp. for a beginner?
Alternative to Step 2 Step 3?
Step 3.) In general I'm happy with my Razr I Android 4.4.2 (990.43.74.xt890.Retail.en.EU)
But I'm wondering whether it would be easier or has less risk to use a custom ROM instead of implementing Step 2.
By reading in this forum I found out there is a planty of features FM-Radio, enhanced stand-by current ,
to get rid of preinstalled aps and so on.
I'm an embedded developer but do not have the overview about the architecture of Android devices, what I got so far is:
There is a bootloader which needs to be changed from OEM closed to open.
There is a boot partition I flash ROMs in.
I need some tools on my PC combined with SDK and Motorola drivers to allow a USB-Debuging and flashing.
And sure as always once your bootloader is damaged you are lost, so I understand even backup will not help here.
So I'll keep my fingers crossed.
Thanking you in anticipation and pls accept my excuses about my english and stupid beginners questions.
Best Regards
gonso
PS:
As I main entry point I used the
http://forum.xda-developers.com/razr-i/general/index-razr-t2832722
from there I'll try to get ADB, drivers etc.
Hi GonsoXDA,
Step 1: I have never used it. Didn't even know that it existed. On the internet there are numerous people who uses it and it seems to work. Maybe someone else can give some info about this or just try it. U can try it with a non-important app and see if it works. Just backup it, delete it and restore it.
Step 2: This works just fine. But do know 3 things:
1. First root: To get root on stock rom, u need to use kingsdroot methode afaik. And that one sends your IMEI to some rare ip adress. I personnaly don't trust this and stay away from it, but there are many people who use it.
2. Xposed requires a recovery to install the framework. It can be done mannually or by the app i suppose. With only root u don't have a recovery on your device that can perform such action.
3. If something goes wrong only a full restore with RSD-Lite can most of the time help u out. Because u don't have a recovery that works than.
Step 3: We only have 2 full roms. 1 for JB (stock) and a working CM11 rom (kitkat).
Only the Jellybean roms support fm-radio, on every newer rom fm-radio is cut out of the audio firmwares. The risk of going to this is even less as Step 2, because u can do a full backup and restore of ur phone. ( I would chose for this if u want to play a bit with the phone and ur warranty is already out of years)
The gereneral idea about the android architecture is this (it is different for almost every device and the Razr I has many more thing to hold into account, but if u are here only for the roms and xposed, there is no more to know):
Bootloader: Is like an uefi bios for PC, but then for android. It also contains fastboot
Bootimage(boot): Has all the info like kernel and ramdisk to boot the system
Recovery: Is like 'boot', but boots into the recovery partition that lets u change every aspect of the device if u know how. Its mainly used to flash a custom recovery to, backup and restore a nandroid backup and flash/wipe roms, mods, (all/specific) data and packages.
Systempartition: Is the system the boot boots into. It's android.
Datapartition: Where all the user data is stored.
Cachepartition(dalvik): Where all cache is stored and in earlier android versions also dalvik. But not now anymore.
Fastboot: To flash/wipe the above partitions and many more (needs drivers)
Adb: To push, pull, command things in system or recovery (needs drivers)
Sdk: contain the abd and fastboot packages, but aren't needed for adb and fastboot because with the right drivers can work on there own (see the internet)
If u have a custom recovery and only change things on the system, data and cache partition there is almost no way to damage the phone. There is always a backup through recovery. As long as u stick to the things u can do in recovery.
The only thing tha can mesh up your phone beyond repair is doing wrong stuff withint the bootloader and other inner parts in the phone(like i did to get newer kernel working) or u are in bad luck and you internal memory blocks. See 'Super brick samsung phones' (emmc error).
I suggest:
- Unlock your bootloader
- Install custom recovery
- Make a backup with the recovery
- Do what u want, xposed on stock rom, try CM11?
- If things won't boot, restore through recovery
And always, read up before doing anything. There are thousands of articles about android, flashing things, repairing android, using adb and fastboot. AND ALWAYS HAVE A BACKUP PLAN!
Hello,
always having a backup seems not to be that easy.
So I unlocked my boot loader and tried to install twrp2850 and twrp2860 via mfastboot.
The mfastboot with 533.353kB caused the following "(bootloader) Variable not supported!"
I rebooted into bootloader and tried recovery -> horizontal Android man with a red !-rectangle
After reboot to normal power up my phone seems to be in factory reset, all my data is gone :crying:
ok crying dosn't help so I looked around and tried with another mfastboot 186.178kB and recoverycwm6.0.5.1.4.img.zip
http://forum.xda-developers.com/showthread.php?t=2441224
The twrp I tooked from here: http://forum.xda-developers.com/showthread.php?t=2278483 seems not to work.
I did a backup with cwm is there a change to get back my data? I think I know the answer.
In the meanwhile I installed
http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855
And will try to install
http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Thank you for the help, work and excuse the stupid beginner posts.
Regards
gonso
gonsoXDA said:
Hello,
always having a backup seems not to be that easy.
So I unlocked my boot loader and tried to install twrp2850 and twrp2860 via mfastboot.
The mfastboot with 533.353kB caused the following "(bootloader) Variable not supported!"
I rebooted into bootloader and tried recovery -> horizontal Android man with a red !-rectangle
After reboot to normal power up my phone seems to be in factory reset, all my data is gone :crying:
ok crying dosn't help so I looked around and tried with another mfastboot 186.178kB and recoverycwm6.0.5.1.4.img.zip
http://forum.xda-developers.com/showthread.php?t=2441224
The twrp I tooked from here: http://forum.xda-developers.com/showthread.php?t=2278483 seems not to work.
I did a backup with cwm is there a change to get back my data? I think I know the answer.
In the meanwhile I installed
http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855
And will try to install
http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Thank you for the help, work and excuse the stupid beginner posts.
Regards
gonso
Click to expand...
Click to collapse
Than u know the answer, it is no I think.
Both twrp images should work just fine, but always chose the latest. The message "(bootloader) Variable not supported!" doesn't do anything So don't worry about that one. There should be a lot more in you log that the message if twrp didn't install. U did extract it and flash it with the command: mFastboot flash recovery <recovery-image>. Where <recovery-image> could be C:/users/*/Downloads/recovery.img.
Hello,
yes sure "The secret of health for both mind and body is not to mourn for the past, worry about the future"
So I use CM11 now for about 2 days and I'm really impressed, so far everything works :good: THANK YOU!!!
As I asked already I installed XPosed and Permission Manager, but I found XPrivacy might be the better solution and switched to this.
(Today I do not have all the technical background to judge whether it is technically equivalent, but I'll investigate on it)
Esp. one thing I'm wondering, why XPrivacy is reading my Contacts once I check the permissions of an app?
But the more important thing I recognized differences between CM11 and the Stock ROM. One is the Entry
"Privacy" in the settings. It seems to be more or less the XPosed and XPrivacy, or?
But it seems the Restrictions are not shared, so I can restrict in the one and do not see the restriction in the other tool.
So first is there a risk to use both, is it useful or just doing the same twice.
Thank you
Gonso
gonsoXDA said:
Hello,
yes sure "The secret of health for both mind and body is not to mourn for the past, worry about the future"
So I use CM11 now for about 2 days and I'm really impressed, so far everything works :good: THANK YOU!!!
As I asked already I installed XPosed and Permission Manager, but I found XPrivacy might be the better solution and switched to this.
(Today I do not have all the technical background to judge whether it is technically equivalent, but I'll investigate on it)
Esp. one thing I'm wondering, why XPrivacy is reading my Contacts once I check the permissions of an app?
But the more important thing I recognized differences between CM11 and the Stock ROM. One is the Entry
"Privacy" in the settings. It seems to be more or less the XPosed and XPrivacy, or?
But it seems the Restrictions are not shared, so I can restrict in the one and do not see the restriction in the other tool.
So first is there a risk to use both, is it useful or just doing the same twice.
Thank you
Gonso
Click to expand...
Click to collapse
That's a sentence.
Why XPrivacy needs it i don't have a clue. For that sort of things u need to be by the dev of the app.
CM has a lot of features out of the box compared to stock, but stock is most of the time a bit more optimized in terms of proprietary stuff like camera.
So as u noticed, CM had an inbuilt security app. This app (CM) and XPrivacy don't share there settings, so that's the difference u see. But most likely if u disable something in one of the apps it is disabled even tho the other doesn't say it because it doesn't know of it.
I don't think it will be a risk. They both do the same thing, but they don't know about it. To be on the safe side, just use one and restore the other to default. U can always search on the web if they don't get along.
U can now make a full backup, so everything can be reverted and your data should be relative safe.
Hello,
thank you again - I now find the answer by reading in the development part of the forum. For me as a beginner it is sometimes not easy to interpret the discussions there.
If accepted I will use the thread now as a kind of diary, may be some other users will have similar destinations and my learn from my mistakes.
So to answer my question a little more detailed, but with less background know how than Hazou. Pls. do not trust me I'm a beginner, I have not analyzed the code just the behavior - feel free to correct or contradict my words!
The XPosed is in the area of permissions just a framework which allow other modules to put some code between an app requesting permissions and the Android core granting this permissions. The Xposed it self doesn't handle settings or permissions you did in modules like the CM Privacy, Permission Manager or XPrivacy.
As a result I came to the same conclusion it is not a risk, but an overhead to have more than one pice of code between the app requesting permissions and the Android core. -> My proposal: Do not use more than one of this Permission control apps in parallel.
From the privacy perspective the Permission is just a starting point, it allows you to hide your private information from the app. On the other side many apps will need access to the data to work and most of them are able to connect to the internet.
So I realized the next step would be the restriction of internet usage of apps. Here permissions are sword but we need a scalpel, to separate the necessary from the unwanted connections. This scalpel could be AFWall+ and "Netzwerk Log", this is a firewall and a sniffer.
What I can say to day the apps run on CM11 installed on my Razr I.
So it looks like I see my destination raising on the horizon and I will try to formulate it in the following order:
1.) Hide Contacts, Calls and SMS from Apps who do not need this to work -> XPrivacy
2.) Disable some Android features I think I don't need.
(e.g. Captive Portal Check - settings put global captive_portal_detection_enabled 0)
3.) Restrict the internet access of some apps to servers they need to connect. ( e.g. E-Mail client is restricted to connect to the mail server)
4.) Limit the access to my pictures, stored on SD card. [I have not found a solution so far]
If you read this I think 1 is reasonable for most of you, even if you do not have deep Android or Network know how (as I have), you just restrict the permissions - if app crashes or doesn't do the job you expect you may permit access or uninstall the app. (XPrivacy allows you also to fake data)
3 is a usual task of a network administrator, if you are used with iptables it is just work. I'll try to find out whether there is somewhere a source of "Templates". Usually the network admins share there common settings based on services, once I find out I'll post.
To restrict the access to SD Card I only see the change to extend the sandbox of Android to the SD and to hide files which does not belong to the app. As I would store my pictures on SD as I would store my Navi Data, but neither the Navi app should see my pictures nor the Cam and Gallery my Navi Data. ...
I don't know whether there is an app out there but It should be possible the same way like XPrivacy fakes the other data.
Thank you
Gonso
Hello,
Most of the time I used the numbers to just put in the extension, so if I want to call 0049 9876 54 321 I put the numbers 321 the Motorola dialer will show a list of all contacts where the number contains 321.
Some Numbers of contacts are not shown as well, seems if a contact has more numbers only one or two are shown.
The CM11 dialer doesn't show the number, is there a setting to get this feature?
I tried to get my Stock dialer back, so I copied dialer.apk from stock into the /system/sec-app/ directory of the CM11 and restarted the phone -> doesn't change the dialer ....
Any proposals? I'm terrible sorry for my stupid questions, I read several threads and still no idea about a possible solution
Gonso
PS: CM11 file manager shows a secure storage /storage/emulated/0/storage/secure - what is the algorithm used for the encryption.
gonsoXDA said:
Hello,
Most of the time I used the numbers to just put in the extension, so if I want to call 0049 9876 54 321 I put the numbers 321 the Motorola dialer will show a list of all contacts where the number contains 321.
Some Numbers of contacts are not shown as well, seems if a contact has more numbers only one or two are shown.
The CM11 dialer doesn't show the number, is there a setting to get this feature?
I tried to get my Stock dialer back, so I copied dialer.apk from stock into the /system/sec-app/ directory of the CM11 and restarted the phone -> doesn't change the dialer ....
Any proposals? I'm terrible sorry for my stupid questions, I read several threads and still no idea about a possible solution
Gonso
PS: CM11 file manager shows a secure storage /storage/emulated/0/storage/secure - what is the algorithm used for the encryption.
Click to expand...
Click to collapse
Stock CM dialer doesn't have that function afaik. The moto one doesn't work because it needs the Moto framework to work. Just download a dialer U trust from the playstore.
I don't have any clue about the secure storage, sorry.

Investigating Huawei system app - your help needed

Hi guys,
I was recently reverse engineering a package com.huawei.autoinstallapkfrommcc and trying to understand what it is doing.
From what I could see it looks like this service after system boots up, is checking what mobile carrier you are using and then loads a list of packages from file autoInstallAPK.xml and then installs/uninstalls them based on mcc and mnc codes.
I am wondering if this xml file can be used to bypass device security. However I can't find it on my device.
Could you please check if you have a file at
Code:
[ROOT]/System/etc/xml/autoInstallAPK.xml
and share it if it exists there?
Check your
/cust/vendor/country/xml/*.xml
&
/preload/model/vendor/country/xml/*.txt
Look also for :
APKInstallListEMUI5Release.txt
&
DelAPKInstallListEMUI5Release.txt
Share back your tweaks and findings
oslo83 said:
Check your
/cust/vendor/country/xml/*.xml
&
/preload/model/vendor/country/xml/*.txt
Look also for :
APKInstallListEMUI5Release.txt
&
DelAPKInstallListEMUI5Release.txt
Share back your tweaks and findings
Click to expand...
Click to collapse
I don't have such folders, did you mean main partition? I don't have root so I am quite limited.
Maybe this config file is included only in roms which come from mobile carriers like Verizon, T-Mobile etc.
So far what I think this package is reading from that xml is:
* package name
* apk path
* action type (install, uninstall, disable, maybe others)
* card info (probably sim card info/ carrier info)
Then this data is being processed (atm I don't fully understand the process flow but in general it goes through each element (app) described in the xml list and takes defined action depending on the carrier you have). Ofc whole process is not started untill system is booted and sim card present/installed.
I wonder why Huawei have implemented such service. Maybe to make it easier for carriers to install branding apps on EMUI? Maybe this is only used to install carrier config package to. Can't really tell at the moment.
However I see a potential use case where someone uses buffer overflow or other vunerability to alter/overwrite this xml file. This could allow someone to install malicious apps on the device.
I am now analyzing bytecode of the part that is parsing InputStream from xml to see if I have missed something.

Categories

Resources