How to root only system and boot img files without custom recovery - add supersu - Android Q&A, Help & Troubleshooting

Hello
I have a question to better than me
Android MM or N
Can I add root permissions for rom without custom recovery (TWRP, CWM, ect.) - means only via edit system.img and boot.img files (row files).
Without custom recovery no sense to do zip files to flash so only way is (I think) add manually systemless supersu to the kernel and rom "img" files.
I mean copy all sh, rc, libs, ect. files to specific folders ....
This is for spreadtrum SC7731G and SC8830 chipsets.
..or I think maybe edit xml file for coping and install specifics files in "pac" - install files for this devices.
PAC file has inside : system.img, boot.img, recovery.img, BT, CP, CSC, ect. and xml file.
XML file has script for install those files - and maybe add to PAC file supersu.zip and add to xml file script for install (flash) super su?
Any dev can do it? or give some ideas for it?
example from xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!-- FlashTypeID: 0, means Nor Flash;1, means Nand Flash -->
<!-- File-Flag: 0, means this file need not input file path -->
<!-- 1, means this file need input file path -->
<!-- File-CheckFlag: 0, this file is optional -->
<!-- 1, must select this file -->
<!-- 2, means not check this file in pack -->
<!-- Mode: 0, not uesed; 1, means nand page size and oob care -->
<!-- File-Type: MasterImage,means it will add BOOT_PARAM -->
<!-- and OS_INFO information to file -->
<!-- File-ID: Can not be changed,it is used by tools -->
<!-- File-IDAlias: This is for GUI display can be changed -->
<BMAConfig>
<ProductList>
<Product name="SC77xx">
<SchemeName>SC77xx</SchemeName>
<FlashTypeID>1</FlashTypeID>
<Mode>0</Mode>
<NVBackup backup="1">
<NVItem name="Calibration" backup="1">
<ID>0xFFFFFFFF</ID>
<BackupFlag use="1">
<NVFlag name ="Replace" check ="0"></NVFlag>
<NVFlag name ="Continue" check ="0"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="IMEI" backup="1">
<ID>0xFFFFFFFF</ID>
<BackupFlag use="0"></BackupFlag>
</NVItem>
<NVItem name="W_Calibration" backup="1">
<ID>0x12D</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="0"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="BlueTooth" backup="1">
<ID>0x191</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="0"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="BandSelect" backup="1">
<ID>0xD</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="0"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="WIFI" backup="1">
<ID>0x199</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="1"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="MMITest" backup="1">
<ID>0x19A</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="1"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="WIFICal1" backup="1">
<ID>0x19F</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="1"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="WIFICal2" backup="1">
<ID>0x1A0</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="1"></NVFlag>
</BackupFlag>
</NVItem>
<NVItem name="WIFICal3" backup="1">
<ID>0x1A1</ID>
<BackupFlag use="1">
<NVFlag name ="Continue" check ="1"></NVFlag>
</BackupFlag>
</NVItem>
</NVBackup>
<Partitions>
<!-- size unit is MBytes -->
<!--
<Partition id="splloader" size="0"/>
<Partition id="ubootloader" size="0"/>
-->
<Partition id="prodnv" size="5"/>
<Partition id="miscdata" size="1"/>
<Partition id="wmodem" size="15"/>
<Partition id="wdsp" size="2"/>
<Partition id="wfixnv1" size="1"/>
<Partition id="wfixnv2" size="1"/>
<Partition id="wruntimenv1" size="1"/>
<Partition id="wruntimenv2" size="1"/>
<Partition id="wcnmodem" size="5"/>
<Partition id="wcnfixnv1" size="1"/>
<Partition id="wcnfixnv2" size="1"/>
<Partition id="wcnruntimenv1" size="1"/>
<Partition id="wcnruntimenv2" size="1"/>
<Partition id="logo" size="1"/>
<Partition id="fbootlogo" size="1"/>
<Partition id="boot" size="18"/>
<Partition id="system" size="2550"/>
<Partition id="persist" size="2"/>
<Partition id="sysinfo" size="6"/>
<Partition id="cache" size="150"/>
<Partition id="recovery" size="17"/>
<Partition id="misc" size="1"/>
<Partition id="userdata" size="0xFFFFFFFF"/>
Click to expand...
Click to collapse
Thank You

anyone can help?

Related

[TUTORIAL] How to write/copy/download to the external sd card

First of all, I would like to thank poolmaker who had a tutorial over at the Xperia Z1 forum. So go on over and give him thanks!
First you must be rooted. Second must have a file explorer. I personally use ES File Explorer so the steps below will be covering that file explorer.
Open ES File Explorer.
Open the Tools Menu.
Make sure Root Explorer is turned on and long press over the name "Root Explorer".
A sub-menu pops up, select Mount R/W. (if you don't do this the changes you make will not stick.) The next menu that pops up, you want to make /system RW by selecting the radio button.
You then want to navigate to /system/etc/permissions.
Scroll down and find platform.xml and make a copy of it and save it somewhere.
Open the original file with ES Note Editor and then press the menu (the 3 vertical dots) to edit.
Make the following changes
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Click to expand...
Click to collapse
Save the changes you make.
Before you exit, check the permissions of the edited platform.xml. They should be (rw-/r–/r–).
Reboot your phone and enjoy being able to download/write/copy to your external SD card again.
This is a great tutorial to do it manually.
However you can also just install this app https://play.google.com/store/apps/details?id=nextapp.sdfix
Install, run it and uninstall.
tp2215 said:
This is a great tutorial to do it manually.
However you can also just install this app https://play.google.com/store/apps/details?id=nextapp.sdfix
Install, run it and uninstall.
Click to expand...
Click to collapse
Of course that is always an option, there are actually a few apps on the market that do this. I just thought since it is xda, people might want to do it manually.
https://play.google.com/store/apps/details?id=nextapp.sdfix
Sent from my bad ass Kryon infused Note 3
I went through the whole tutorial, it worked great. Then I scrolled down and noticed there was an app, oh well. Thanks for the write-up!
Please help. Can anyone give me a copy of their original platform.xml? Seems like I messed up mine. Can't find my back up. Help would be greatly appreciated. Thanks in advance.
I followed the steps in the first post and after I rebooted, messages keep popping up saying this and that failed to start and now I can't even use the phone because they pop up every 3 seconds.. I also can't see any files through a file browser or on the computer. I have a copy of my platform file on the phone but no way to get to it because no files show up in the file explorer. Any ideas? My phone is basically useless right now.
MIKE PH said:
Please help. Can anyone give me a copy of their original platform.xml? Seems like I messed up mine. Can't find my back up. Help would be greatly appreciated. Thanks in advance.
Click to expand...
Click to collapse
Here you go http://goo.gl/nlXWRE
I am so sorry for what is most likely a stupid question, but what is advantage of this? Does this address the issue of 4.4.x where we can't store our app data on our micro sd cards? Thanks in the advance for the help
What is the purpose of the mount r/w option?
I think I understand this but when I selected Root on, I was able to copy and overwrite and rename system files like SystemUI.apk. I did not have mount RW for the /system folder. So what exactly does the mounting do?
Bob
The app didn't work for me, but this manual write up did it!
Thanks saved me from having to install a new rom.
Thank you for this tutorial!!!
Sent from my SM-G900T using XDA Free mobile app
bgmikejr said:
Here you go http://goo.gl/nlXWRE
Click to expand...
Click to collapse
This link is not working already ;(
could anybody send me original or "patched" version of platform.xml? I didn't backuped mine and something went wrong. I always did backup and never have need them...
Right click the link and choose save link as it should download as I did this and it worked for me.
bgmikejr said:
Right click the link and choose save link as it should download as I did this and it worked for me.
Click to expand...
Click to collapse
it's a kind of magic
still doesn't work. i will flash another rom
damianssj661 said:
it's a kind of magic
still doesn't work. i will flash another rom
Click to expand...
Click to collapse
That's weird. It's working for me. Hopefully this works for you. Just copy and paste into Notepad++ or equivalent and name it platform.xml I've also attached it, just remove the .txt extension.
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Copyright (C) 2013 Broadcom Corporation
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.
-->
<!-- This file is used to define the mappings between lower-level system
user and group IDs and the higher-level permission names managed
by the platform.
Be VERY careful when editing this file! Mistakes made here can open
big security holes.
-->
<permissions>
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- The following tags are associating low-level group IDs with
permission names. By specifying such a mapping, you are saying
that any application process granted the given permission will
also be running with the given group ID attached to its process,
so it can perform any filesystem (read, write, execute) operations
allowed for that group. -->
<permission name="android.permission.BLUETOOTH_ADMIN" >
<group gid="net_bt_admin" />
</permission>
<permission name="android.permission.BLUETOOTH" >
<group gid="net_bt" />
</permission>
<permission name="android.permission.BLUETOOTH_STACK" >
<group gid="net_bt_stack" />
</permission>
<permission name="android.permission.NET_TUNNELING" >
<group gid="vpn" />
</permission>
<permission name="android.permission.SYSTEM_GROUP_INTERNAL" >
<group gid="system" />
</permission>
<permission name="android.permission.INTERNET" >
<group gid="inet" />
</permission>
<permission name="com.sec.android.permission.CAMERA" >
<group gid="camera" />
</permission>
<permission name="android.permission.READ_LOGS" >
<group gid="log" />
</permission>
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_MTP" >
<group gid="mtp" />
</permission>
<permission name="android.permission.NET_ADMIN" >
<group gid="net_admin" />
</permission>
<!-- The group that /cache belongs to, linked to the permission
set on the applications that can access /cache -->
<permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >
<group gid="cache" />
</permission>
<!-- RW permissions to any system resources owned by group 'diag'.
This is for carrier and manufacture diagnostics tools that must be
installable from the framework. Be careful. -->
<permission name="android.permission.DIAGNOSTIC" >
<group gid="input" />
<group gid="diag" />
</permission>
<!-- Group that can read detailed network usage statistics -->
<permission name="android.permission.READ_NETWORK_USAGE_HISTORY">
<group gid="net_bw_stats" />
</permission>
<!-- Group that can modify how network statistics are accounted -->
<permission name="android.permission.MODIFY_NETWORK_ACCOUNTING">
<group gid="net_bw_acct" />
</permission>
<permission name="android.permission.LOOP_RADIO" >
<group gid="loop_radio" />
</permission>
<!-- The group that releated with VPN -->
<permission name="android.permission.SAMSUNG_MODIFY_ROUTE" >
<group gid="net_admin" />
</permission>
<permission name="android.permission.SAMSUNG_TUNTAP" >
<group gid="vpn" />
</permission>
<permission name="android.permission.SAMSUNG_MODIFY_IPTABLES" >
<group gid="net_raw" />
</permission>
<!-- The group that releated with VPN -->
<permission name="com.sec.android.SAMSUNG_MODIFY_ROUTE" >
<group gid="net_admin" />
</permission>
<permission name="com.sec.android.SAMSUNG_TUNTAP" >
<group gid="vpn" />
</permission>
<permission name="com.sec.android.SAMSUNG_MODIFY_IPTABLES" >
<group gid="net_raw" />
</permission>
<!-- The group that releated with URL -->
<permission name="com.sec.android.SAMSUNG_GET_URL" >
<group gid="secnetfilter" />
</permission>
<!-- Group that can use gscaler -->
<permission name="com.sec.android.permission.USE_GSCALER" >
<group gid="graphics" />
</permission>
<!-- Except for SysScope, DO NOT USE this permission. -->
<permission name="com.sec.android.app.sysscope.permission.ACCESS_SYSTEM_INFO_SYSSCOPE_ONLY" >
<group gid="radio" />
</permission>
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- The following tags are assigning high-level permissions to specific
user IDs. These are used to allow specific core system users to
perform the given operations with the higher-level framework. For
example, we give a wide variety of permissions to the shell user
since that is the user the adb shell runs under and developers and
others should have a fairly open environment in which to
interact with the system. -->
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="media" />
<assign-permission name="android.permission.WAKE_LOCK" uid="media" />
<assign-permission name="android.permission.UPDATE_DEVICE_STATS" uid="media" />
<assign-permission name="android.permission.UPDATE_APP_OPS_STATS" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="graphics" />
<!-- This is a list of all the libraries available for application
code to link against. -->
<library name="android.test.runner"
file="/system/framework/android.test.runner.jar" />
<library name="javax.obex"
file="/system/framework/javax.obex.jar"/>
<!--
<library name="javax.btobex"
file="/system/framework/javax.btobex.jar"/>
-->
</permissions>
_eroz said:
Of course that is always an option, there are actually a few apps on the market that do this. I just thought since it is xda, people might want to do it manually.
Click to expand...
Click to collapse
There's also an Xposed module for this too: http://forum.xda-developers.com/xposed/modules/kitkat-sd-card-access-t2790992 . A "semi-manual" option, if you will. I did both the manual run-through and then tried the Xposed mod to confirm they both made the same edit and both worked.
this did not work me i did this and went into dolphin browser on my galaxy tab 4 8.0 sm-t330nu and tried to download a picture and got that popup saying i cant do it why?
Tx
Hi _eroz
Just to say Thank you.
PLus I discovered the ES Task, and I had to root my phone. I feel that I 'll play with it even more, like changing rom...

Logicom E500 platform.xml

I made a huge mistake. I edited the platform.xml cause i read that after i could use apps on sd card, but i made a mistake and now i cant reach my internal and external card neither, i cant reach google play. I tried to factory reset it, but not helped, just my root gone. After i succeed to root it again, but i cant edit again with ES file explorer cause its need SuperSU pro(before not needed) so i cant restore it. Please help me
Now i finally can change the file, but i havent got the original settings
Anyone can link yours platform.xml file? My settings was a similar kitkat file, but now its looks like this:
name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="media_rw" />
</permission>
The group gid was different there, but i dont know what was them

[DEV][GUIDE][MODDING][SETTINGS] Collection of mods and features [TOUCHWIZ]

Hello buddies..
From the concept SHARING IS CARING, I am going to share some mods specifically on SecSettings.apk that I stumbled across and share it with you in one thread
Keep in mind that most of them are not mine but from the community so actual credits are to be given to the owners. So please let me know if you have any modding that I didn't mention
So let's start!!
Needed tools:
1) Apktool or others that do the job
2) Notepad++ program from here
3) The patience and a willing partner! sorry no link for that
I am not going to teach you how to use these programs because I am assuming that you already know how to use them if not then check their respective documentations!
You must deodex SecSettings.apk before proceeding.
A lot of works are done by various xda members, some are from other sites, some are mine. If you found the guide of your mod here and you haven't been credited, please PM.
Click to expand...
Click to collapse
Adding Custom image + Onclick Functionality
Credits to @iamareebjamal
Decomplie SecSettings.apk using Apktool
Download the SettingsSource.zip
Extract contents of SettingsSource.zip to respective folders in SecSettings.apk
Open res/xml/device_info_settings.xml
Add this just a line above the first Preference tag
Code:
<PreferenceCategory android:layout="@layout/areebisawesome" android:key="blah" android:title="" />
Now go to res/drawable
There, you'll see cosmic.png Change it to any png of size 320x200 You can change this size description in res/layout/areebisawesome.xml
N.B: Also we can use android:layout_width="fill_parent"so that if we add small resolution picture then it will automatically fill whole width
Click to expand...
Click to collapse
Recompile
Onclick Functionality
Credits to @abhi922
Open res/layout/areebisawesome.xml
Add the blue code to the XML
Code:
<?xml version="1.0" encoding="utf-8"?>
<ImageView android:layout_gravity="center" android:paddingBottom="6.0dip" [COLOR="Blue"]android:clickable="true"[/COLOR] android:layout_width="fill_parent" android:layout_height="400.0px" [COLOR="blue"]android:src="@drawable/about"[/COLOR] android:scaleType="fitXY"
xmlns:android="http://schemas.android.com/apk/res/android" />
What I've Done ????
Added android:clickable="true" ------> to make our layout clickable
Added android:src="@drawable/about" ------> it is a xml not a picture/png...[it will replace our images on click ]
Create new file about.xml at drawable folder
Add this code to it
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/about2" />
<item android:state_selected="true" android:drawable="@drawable/about2" />
<item android:drawable="@drawable/about1" />
</selector>
Now add about1.png as first unpressed picture
And about2.png as pressed picture...
Recomplie
Adding About ROM new information
Decompile SecSettings.apk
Open /res/xml/device_info_settings.xml
In device_info_settings.xml, go to the end and add these lines before </PreferenceScreen> line
Code:
<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>
N.B: all referred android:key here are dummy ones they are only there just to prevent code fragmentation
Click to expand...
Click to collapse
Then open res/values/strings.xml & add the following lines
Code:
<string name="rom_info">[COLOR="Sienna"]About Rom[/COLOR]</string>
<string name="rom_name">[COLOR="Sienna"]Rom name[/COLOR]</string>
<string name="rom_name_details">[COLOR="Sienna"][ROM Name][/COLOR]</string>
<string name="rom_ver">[COLOR="Sienna"]Rom version[/COLOR]</string>
<string name="rom_ver_details">[COLOR="Sienna"]vx.x[/COLOR]</string>
<string name="rom_date">[COLOR="Sienna"]Release date[/COLOR]</string>
<string name="rom_date_details">[COLOR="Sienna"]month-year[/COLOR]</string>
<string name="rom_developer">[COLOR="Sienna"]Rom developer[/COLOR]</string>
<string name="rom_developer_name">[COLOR="Sienna"][your name] - xda.developers.com[/COLOR]</string>
<string name="dev_thanks">[COLOR="Sienna"]Thanks to[/COLOR]</string>
<string name="dev_thanks_name">[COLOR="Sienna"]Everyone for the support[/COLOR]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
You can add or remove fields in device_info_settings.xml and strings.xml as you like
Recompile
Integrating application
Decompile SecSettings.apk.
Decompile the program that you want to add to settings menu (in this example will take chainfire's SuperSU app)
Go to res\drawable-xhdpi folder and add icon for your program that you want to add (you can take it from decompiled program in res/mipmap-xhdpi.
Go to res\values folder and open strings.xml by NotePad++ and add these lines just before </resources> for your program
Code:
<string name="romaddons">ROM Addons</string>
<string name="superuser_text">Superuser</string>
Go to \res\xml folder and open settings_headers.xml by NotePad++ and add the blue lines
Code:
<header android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.AccessibilitySettings" />
[COLOR="Blue"] <string name="romaddons">ROM Addons</string>
<header android:icon="@drawable/ic_settings_superuser" android:title="@string/superuser_text">
<intent android:targetPackage="eu.chainfire.supersu" android:action="android.intent.action.MAIN" android:targetClass="eu.chainfire.supersu.MainActivity" />
</header>[/COLOR]
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
Then install the program you want to add on your phone
Extra step is to remove this line in AndroidManifest.xml in your decompiled SuperSU app so to disappear from the launcher
Code:
<category android:name="android.intent.category.LAUNCHER" />
Adding other apps
Sample down here for learning
Code:
<header android:icon="@drawable/ic_settings_xxxx" android:title="@string/xxxx_text">
<intent android:targetPackage="" android:action="" android:targetClass="" />
</header>
"android:icon="@drawable/ic_settings_xxxx"" : name of icon you put in drawable-xhdpi folder if you want it to be empty the add this to drawable and empty_icon as the name of the icon
"android:title="@string/xxxx_text"" : name of string put for added program in strings.xml
"android:targetPackage=""" : package of wanted program inside its own AndroidManifest.xml
"android:action=""" : first action of wanted program inside its own AndroidManifest.xml
"android:targetClass=""" : class of the wanted package inside its own AndroidManifest.xml to start with in this case its .MainActivity
Settings menu extra hidden options
Credits to @tkari4
Baksmali SecSettings.apk
Open com\android\settings\Settings.smali
Look for these lines and delete them:
Code:
invoke-interface {p1, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z
goto/16 :goto_23
Note that some FC so head to the forum or download SettingsSmali.rar to see what works or not
Adding TorchLight Option
Credits to @Stavr0s91i
Decompile SecSettings.apk
Goto res/xml/display_settings.xml
Apply Changes Below (Blue)
Code:
<PreferenceCategory android:title="@string/tts_general_section_title" android:key="general" />
<PreferenceScreen android:title="@string/wallpaper" android:key="wallpaper" android:fragment="com.android.settings.WallpaperSettings" />
<PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
[COLOR="Blue"]<PreferenceScreen android:title="Torchlight" android:key="torchlight" android:fragment="com.android.settings.torchlight.TorchlightSettings" />[/COLOR]
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
<CheckBoxPreference android:title="@string/multi_window_title" android:key="key_multi_window" android:summary="@string/multi_window_summary" android:widgetLayout="@touchwiz:layout/preference_widget_twcheckbox" />
<SwitchPreferenceScreen android:title="@string/page_buddy" android:key="contextualpage_settings" android:summary="@string/page_buddy_summary" android:fragment="com.android.settings.ContextualPageSettings" />
Compile SecSettings.apk!
Setting up a custom settings tab
Credits to @Didact74
Download Smali.zip
Place it in smali/com/android/settings
Navigate to res/xml/settings_headers.xml
Add this line of code anywhere you want it
Code:
<header android:icon="@drawable/ic_settings_romcontrol" android:id="@id/new_tab" android:title="@string/rom_control" android:fragment="com.android.settings.NewTab" />
android:icon="@drawable/ic_settings_romcontrol = The icon you see in the tab and the location that icon is stored
android:id="@id/new_tab" = Android ID thats stored in res/values/ids
android:title="@string/rom_control" = The title the new tab is given located in res/values/strings
android:fragment="com.android.settings.NewTab" = points to the smali that controls this tab
Create your own icon.png (size 50 x 50) and drop it in res/drawable-xhdpi
Navigate to res/values/strings.xml & add this line of code before </resources>
Code:
<string name="rom_control">Rom Control</string>
<string name="rom_addons">Rom Addons</string>
Create an XML file with the name "new_tab.xml"
Navigate to res/values/ids.xml & add this line of code before </resources>
Code:
<item type="id" name="new_tab">false</item>
Example:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/rom_addons"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<!-- Place your settings here -->
</PreferenceScreen>
You will need to add the necessary lines to res/strings found in the XML if would add any others
Do not worry about finding a unique ID for res/public just let the system generate one for you
Click to expand...
Click to collapse
Recompile the decompile to generate ids in public.xml
Find this line in res/values/public.xml
Code:
<public type="xml" name="new_tab" id="0x7fxxxxxx" />
Take your unique id and change it in NewTab.smali from
Code:
const v1, [COLOR="Red"]0x7f070082[/COLOR]
To
Code:
const v1, [COLOR="Blue"]0x7fxxxxxx[/COLOR]
Then change
Code:
invoke-virtual {p0, v1}, Lcom/android/settings/[COLOR="Red"]didact/RomSettings[/COLOR];->addPreferencesFromResource(I)V
To
Code:
invoke-virtual {p0, v1}, Lcom/android/settings/[COLOR="Blue"]NewTab[/COLOR];->addPreferencesFromResource(I)V
Done :good:
Switch to Light theme
Decompile the SecSettings.apk
Go to "res/values/" folder and open the file "styles.xml" with Notepad++
Click "Replace" or press "Ctrl+H"
In the "Find What :" box enter "DeviceDefault" and hit next
In the "Replace with: " box enter "DeviceDefault.Light"
Make sure only "wrap around" box is checked
Then press replace all
Compile SecSettings.apk
Permanent "Official" Device Status
This one is explained very well by @[email protected] in this post. Make sure to hit Thanks button for him
Owner Profile in About Device
Credits to @Deckoz2302, @b16h22 and @nightwalker
Download the zip and extract it Owner_Profile_Mod.zip
Decompile SecSettings.apk
Go to res/values/ids.xml... add these:
Code:
<item type="id" name="image">false</item>
<item type="id" name="owner">false</item>
<item type="id" name="linear_layout">false</item>
<item type="id" name="profile_pic">false</item>
<item type="id" name="layout1">false</item>
<item type="id" name="change_picture_text">false</item>
<item type="id" name="photo_picker">false</item>
<item type="id" name="linear_layout1">false</item>
<item type="id" name="layout2">false</item>
<item type="id" name="name_field">false</item>
<item type="id" name="name_edit">false</item>
<item type="id" name="profile">false</item>
<item type="id" name="profile_name">false</item>
<item type="id" name="ic_qs_default_user">false</item>
Next go to res/values/strings.xml.. add these:
Code:
<string name="change_pic">Change profile picture</string>
<string name="profile_pic">SET PROFILE PICTURE</string>
<string name="profile_name">CHANGE PROFILE NAME</string>
Now find the files you extracted and put the com folder in correct directory..
Code:
SecSetting/smali/com/blac
Now put the files from the res folder in correct directories..
Code:
res/layout/lacourb.xml
res/layout/profile_info.xml
res/drawable-hdpi/ (is where the png files go)
res/drawables/done.xml
res/drawable/pick_profile_picture.xml
Forgot to include it so add ic_qs_default_user to res/drawable/xhdpi
Now go to where you want to have the option of changing the Profile Picture and Name. Maybe display_settings.xml it doesn't matter so put it where you want it.
Code:
<PreferenceScreen android:title="Owner Profile Picture">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.blac.Profile" />
</PreferenceScreen>
XML's will vary too depending on which one you pick so you need adjust the tag in the beginning of the line and the end of line depending on what it is calling. Example: <PreferenceScreen></PreferenceScreen> OR <headers></headers> so visualize the layout of the xml
Now go to res/xml/device_info_settings.xml and add:
Code:
<PreferenceCategory android:title="Device Info" />
<PreferenceScreen android:fragment="[COLOR="Orange"]com.android.settings.deckoz.RomControl.General[/COLOR]" android:focusable="false" android:layout="@layout/lacourb" android:key="profile_pic" />
Pay special attention to the line in ORANGE. This line defines where it takes you when the image is clicked when in About Device. So you would NOT add the same directory as mine because you won't have it. But you DO need to define this because if DO NOT it will FC
So say you want it to be under Users in SecSettings/General/Users.. you would add it like this:
Code:
<PreferenceCategory android:title="Device Info" />
<PreferenceScreen android:fragment="[COLOR="Orange"]com.android.settings.UserSettings[/COLOR]" android:focusable="false" android:layout="@layout/lacourb" android:key="profile_pic" />
So now when you click the picture in About Device it will bring you to this directory in SecSettings. So you'll end up in SecSettings/General/Users
Now open your AndroidManifest.xml. At the bottom add these lines:
Code:
<activity android:label="@string/change_pic" android:name="com.blac.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
Okay now compile your SecSettings..Then grab the newly compiled one and decompile it.. Make sure you keep the AndroidManifest.xml because you changed it..
Now go to the MY public.xml you downloaded and extracted and then open YOUR res/values/public.xml open it and keep it open..You need to have these open to compare ids..
Open your smali folder you added: com/blac/
You need to find all the ids in the smali and change them to match yours.. for example open com/blac/Profile.smali.. Search 0x7f0401ee
Under my public.xml this id: 0x7f0401ee is for "profile_info".. Yours will NOT be the same.. SO you need to search each id in the smali and then in MY public.xml, you downloaded, then search yours and changed the id's...
NOTE: Be free to changed whatever you want..directories, names of xml etc...
Adding 5 icons shortcut on lockscreen
Credits to @Mirko ddd
Decompile SecSettings.apk and navigate to:
smali\com\android\settings\lockscreenshortcut\LockScreenShortcutSettings.smali
Search for the method ".method static constructor <clinit>()V"
Add the blue code in change of the red code
Code:
.method static constructor <clinit>()V
.registers 2
.prologue
const/4 v1, 0x0
.line 79
[COLOR="Blue"] const/4 v0, 0x5[/COLOR]
[COLOR="Red"] const/4 v0, 0x3[/COLOR]
sput v0, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
.line 80
sput v1, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->DEFAULT_CURSOR_WIDTH:I
.line 81
sput v1, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->ICON_5_CURSOR_WIDTH:I
return-void
.end method
Now we need to set the right icon width for the icons, if not the fifth icon won t be showed
Decompile framework-res.apk
Navigate to res\values-hdpi\dimens.xml
Edit these 2 strings with following values
Code:
<dimen name="keyguard_lockscreen_application_shortcut_icon_width">52.0dip</dimen>
<dimen name="keyguard_lockscreen_application_shortcut_icon_height">50.0dip</dimen>
Recompile and push both apks with 0644 permissions
Theming
1. Go to res/drawable-[your device dpi]
2. In here you'll find all kind of images but I'm gonna give you about some of the main images and you figure out the others
ic_settings_* : These where you find all the icons on the settings menu, some of these are unused which are hidden
ic_sync_*_holo : These are sync animations that appear in the "Accounts and sync" menu
ic_wifi_lock_signal_* & ic_wifi_signal_ *: These are wifi signals that appear in the "Wi-Fi" menu
shortcut_ *: These icons in which we make shortcuts from the settings widget
lock_anim_* : These are the tutorial images to teach you how to use pattern (don't bother if its hidden)
motion_ *: Motion tutorial (don't bother if its hidden)
3. Navigate to res/mipmap-[your device dpi]
ic_launcher_settings : Launcher icon
Now im gonna share with you S6 SecSettings resource files mainly png files. Link
CSC Features
Navigate to system/csc/feature.xml or others.xml..
These are some of the features you can add so read the description and choose your preference
Code:
[COLOR="Green"]<!-- Most of them are universal but no guarantees given -->[/COLOR]
[COLOR="green"] <!-- Start Features -->[/COLOR]
[COLOR="green"] <!-- Hide Software Update from Settings -->[/COLOR]
[COLOR="blue"]<CscFeature_Setting_DisableMenuSoftwareUpdate>true</CscFeature_Setting_DisableMenuSoftwareUpdate>[/COLOR]
[COLOR="green"] <!-- Show your hardware revision in Settings->About (same as dialing *#12580*369#) -->[/COLOR]
[COLOR="blue"]<CscFeature_Setting_EnableHwVersionDisplay>true</CscFeature_Setting_EnableHwVersionDisplay>[/COLOR]
[COLOR="green"]<!-- Restore the hidden APN -->[/COLOR]
[COLOR="blue"] <CscFeature_Setting_HideApnList>pcweb.tmobile.com</CscFeature_Setting_HideApnList>[/COLOR]
[COLOR="green"]<!-- Find my mobile/Sim replacement alert -->[/COLOR]
[COLOR="blue"] <CscFeature_Setting_DisableMenuFindMyMobile>false</CscFeature_Setting_DisableMenuFindMyMobile>
<CscFeature_Settings_FindMyMobile>true</CscFeature_Settings_FindMyMobile>[/COLOR]
[COLOR="green"]<!-- Call and message block -->[/COLOR]
[COLOR="blue"]<CscFeature_Setting_EnableMenuBlockCallMsg>true</CscFeature_Setting_EnableMenuBlockCallMsg>[/COLOR]
[COLOR="green"]<!-- Factory data reset password -->[/COLOR]
[COLOR="blue"] <CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>true</CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>[/COLOR]
[COLOR="green"]<!-- Display installed variant -->[/COLOR]
[COLOR="blue"]<CscFeature_Common_EnableRegionalDevice>true</CscFeature_Common_EnableRegionalDevice>[/COLOR]
[COLOR="green"] <!-- End Features -->[/COLOR]
Push the xml & set permissions to 0644
Reserved
Additions:
- Added CSC Features
Awesome guide mate
Straight Outta Wcoast
wcoast said:
Awesome guide mate
Straight Outta Wcoast
Click to expand...
Click to collapse
Thanks its only the beginning
RainbowLaw said:
Thanks its only the beginning[emoji14]
Click to expand...
Click to collapse
Keep up the good work...
Straight Outta Wcoast
Wohoo thanks a lot mate, i am new learner will test your guides on my galaxy note 5 rom. Keep up the good work mate
nice mate
since i never want to search about sec bla bla bla .apk mod tutorial
thx for ur guide
keep it up
Really good guide, hope you continue to add to it. Should be on xda portal
Sent from my SM-N920C using Tapatalk
RainbowLaw said:
Theming
1. Go to res/drawable-[your device dpi]
2. In here you'll find all kind of images but I'm gonna give you about some of the main images and you figure out the others
ic_settings_* : These where you find all the icons on the settings menu, some of these are unused which are hidden
ic_sync_*_holo : These are sync animations that appear in the "Accounts and sync" menu
ic_wifi_lock_signal_* & ic_wifi_signal_ *: These are wifi signals that appear in the "Wi-Fi" menu
shortcut_ *: These icons in which we make shortcuts from the settings widget
lock_anim_* : These are the tutorial images to teach you how to use pattern (don't bother if its hidden)
motion_ *: Motion tutorial (don't bother if its hidden)
3. Navigate to res/mipmap-[your device dpi]
ic_launcher_settings : Launcher icon
Now im gonna share with you S6 SecSettings resource files mainly png files. Link
CSC Features
Navigate to system/csc/feature.xml or others.xml..
These are some of the features you can add so read the description and choose your preference
Code:
[COLOR="Green"]<!-- Most of them are universal but no guarantees given -->[/COLOR]
[COLOR="green"] <!-- Start Features -->[/COLOR]
[COLOR="green"] <!-- Hide Software Update from Settings -->[/COLOR]
[COLOR="blue"]<CscFeature_Setting_DisableMenuSoftwareUpdate>true</CscFeature_Setting_DisableMenuSoftwareUpdate>[/COLOR]
[COLOR="green"] <!-- Show your hardware revision in Settings->About (same as dialing *#12580*369#) -->[/COLOR]
[COLOR="blue"]<CscFeature_Setting_EnableHwVersionDisplay>true</CscFeature_Setting_EnableHwVersionDisplay>[/COLOR]
[COLOR="green"]<!-- Restore the hidden APN -->[/COLOR]
[COLOR="blue"] <CscFeature_Setting_HideApnList>pcweb.tmobile.com</CscFeature_Setting_HideApnList>[/COLOR]
[COLOR="green"]<!-- Find my mobile/Sim replacement alert -->[/COLOR]
[COLOR="blue"] <CscFeature_Setting_DisableMenuFindMyMobile>false</CscFeature_Setting_DisableMenuFindMyMobile>
<CscFeature_Settings_FindMyMobile>true</CscFeature_Settings_FindMyMobile>[/COLOR]
[COLOR="green"]<!-- Call and message block -->[/COLOR]
[COLOR="blue"]<CscFeature_Setting_EnableMenuBlockCallMsg>true</CscFeature_Setting_EnableMenuBlockCallMsg>[/COLOR]
[COLOR="green"]<!-- Factory data reset password -->[/COLOR]
[COLOR="blue"] <CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>true</CscFeature_Setting_EnableFactoryResetPasswordWhenNoSIM>[/COLOR]
[COLOR="green"]<!-- Display installed variant -->[/COLOR]
[COLOR="blue"]<CscFeature_Common_EnableRegionalDevice>true</CscFeature_Common_EnableRegionalDevice>[/COLOR]
[COLOR="green"] <!-- End Features -->[/COLOR]
Push the xml & set permissions to 0644
Click to expand...
Click to collapse
Nice
Super helpful thread
Does anyone want to know how to change the default app on the home screen? I want to basically be able to change it where my app shows default on the home. So even if I factory reset it will still show on the homescreen.
asapmoola310 said:
Does anyone want to know how to change the default app on the home screen? I want to basically be able to change it where my app shows default on the home. So even if I factory reset it will still show on the homescreen.
Click to expand...
Click to collapse
Well its off-topic but you need to decompile your launcher if its samsung launcher then its SecLauncher2.apk or touchwiz30launcher.apk then go to res/xml here you will find the arrangements modify it then compile push it to your device and then clear data for the launcher
@RainbowLaw thanks for mentioning one of my tricks. Great thread, welldone.
Thanks for the guide really helpful
I was wondering if you can help me theming
How to change actionbar blue color ?
And settings text color ?
image hosting free no registration
I couldnt find those colors in color.xml !!!!
Thanks in advance

Changing external card permissions?

I have a phone with android 4.4.2 and want to edit the permissions of the external storage, but not sure what should i change.
Almost all apps seem to exclusively focus on internal storage, to the point they ignore external storage completely, and that's what i want to change.
On platform.xml right now, the READ_EXTERNAL_STORAGE says:
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
Click to expand...
Click to collapse
What would change if if it said this instead? :
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="media_rw" />
<group gid="sdcard_all" />
</permission>
Click to expand...
Click to collapse
Or how can i give apps total permission for the external storage.

Axon 10 Pro (Non-5G) EDL Tool - Flash / Backup / Restore/ Bootloader Unlock

Axon 10 EDL Tool
BAT-program for Flash / Backup / Restore/ Bootloader Unlock
Qualcomm HS-USB QDLoader 9008 (COM ...)​
!!! Whatever you do, you do at your own risk !!!"
!!! If you are not sure of yourself do not use this program !!!​
Special requirements (read first) !!!
1. The program must be unpacked
2. Before using the program, make sure that:
- It is desirable to copy the program to the root of the disc, for example: C:\Axon10_EDL_Tool\ or D:\Axon10_EDL_Tool
- You launched this program as administrator
- You have drivers installed, preferably original for Axon 10
3. Read carefully what the program displays on the screen (I specially wrote the tips, the information is very useful, many questions disappear)
Features of the program:
1. Automatically reboot the phone into EDL mode
2. Unlock the bootloader for supported variants only
3. Finds the connected phone and forces the COM-port speed to 115200
4. Can flash , backup, restore
5. Analyzes folders for missing required files
6. and others ...)))
Structure of program folders:
1. Folder flash - in this folder you need to copy the files you want to flash
Subfolders:
folder full - if you want to flash full firmware (official, adapted for EDL mode), then in this folder you need to put all the files from the firmware for EDL mode:
its name usually looks like this: A2020 _......._ FULL_EDL
folder boot - if you want to flash your kernel file, you need to put a file named: boot.img in this folder (the file name must be exactly that!)
folder modem - if you want to flash your modem file, you need to put a file named: NON-HLOS.bin in this folder (the file name must be exactly that!)
folder splash - if you want to flash your splash file, you need to put a file named: splash.img in this folder (the file name must be exactly that!)
2. Folder backup - the folder contains backup copies of the phone partitions created by the program
Subfolders:
folder all - this folder contains backups of all partitions, except userdata
folder full - this folder contains backup of all partitions included in the FULL EDL firmware
folder boot - this folder contains a backup of the boot partition
folder recovery - this folder contains a backup of the recovery partition
folder modem - this folder contains a backup of the modem partition
folder splash - this folder contains a backup of the splash partition
3. Folder logs - contains all the logs of the program
4. Folder tools - contains all the necessary files for the program (do not touch it!)
Screenshots
View attachment 4422222 View attachment 4422148 View attachment 4422149 View attachment 4422150
View attachment 4422151 View attachment 4422152 View attachment 4422153 View attachment 4422154
View attachment 4422155 View attachment 4422156 View attachment 4422157 View attachment 4422158
View attachment 4422159 View attachment 4422160 View attachment 4422163 View attachment 4422165
View attachment 4422161 View attachment 4422162
For those who still do not understand how to flash (FAQ):
Question: I want to flash the full firmware for EDL mode, how to do this ???
Answer: Download and unzip the full firmware for EDL mode, for example A2017_B17_NOUGAT_FULL_EDL and put all its files in the folder Axon10_EDL_Tool\flash\full\. Run the program Axon10_EDL_Tool.bat and select the Flash -> Flash FULL EDL
Question: I want to flash a patched or original boot, how to do this ???
Answer: Download the boot you need, rename it to boot.img and place it in the folder Axon10_EDL_Tool\flash\boot\. Run the program Axon10_EDL_Tool.bat and select Flash -> Flash Boot
Question: I want to flash the modem, how to do this ???
Answer: Download or take the NON-HLOS.bin file from firmware and put it in the folder Axon10_EDL_Tool\flash\modem\. Run the program Axon10_EDL_Tool.bat and select Flash -> Flash Modem
!!! Download !!!
Axon 10 EDL Tool 3.2.5​
Thanks !!!
[mention]djkuz[/mention] for his Axon7 EDL Tool​
Reserved
Update!! The latest version can now automate unlocking the bootloader
yes cool and mega performance there is the Axon 10 but still cracked before my birthday
Thx :good:
Little Progress, Running Android 10 GSI (ARM64+GMS gsi_gms_arm64-QP1A.190771.020-5800535.zip )
if i want change chinese rom to global rom, i just put eu firmware into flash folder?
undergram said:
if i want change chinese rom to global rom, i just put eu firmware into flash folder?
Click to expand...
Click to collapse
Make sure you keep your modem if that makes a difference for your region.
Sent from my G8142 using Tapatalk
@Unjustified Dev
So this tool will not work on the A2020N2 Chinese 5G phone? If not is there a manual unlock BL process?
Thanks
EMS
@Unjustified Dev
I have the problem that you can make backup all partitions with the edl tool.
but if I select all partitions with the edl tool Restore All partitions I get an error
@Unjustified Dev
I believe in the two files (all.xml and full.xml) are errors in it
in the all.xml
missing z.b at last_parti each of the sectore
(Num_partition_sectors = "0")
and the size
(= Size_in_KB "0")
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti1.bin" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="1" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x3a6000" start_sector="934"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti2.bin" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="2" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x3a6000" start_sector="934"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti3" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="3" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x140000" start_sector="320"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti4.bin" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="4" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x295767000" start_sector="2709351"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti5" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="5" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x6c0000" start_sector="1728"/ -->
I once looked at the all.xml from the a7
(<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti5.bin" label="last_parti" num_partition_sectors="884" partofsingleimage="false" physical_partition_number="5" readbackverify="false" size_in_KB="3536.00" sparse="false" start_byte_hex="0x2487000" start_sector="9351"/>)
Chris axon 7 said:
@Unjustified Dev
I believe in the two files (all.xml and full.xml) are errors in it
in the all.xml
missing z.b at last_parti each of the sectore
(Num_partition_sectors = "0")
and the size
(= Size_in_KB "0")
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti1.bin" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="1" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x3a6000" start_sector="934"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti2.bin" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="2" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x3a6000" start_sector="934"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti3" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="3" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x140000" start_sector="320"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti4.bin" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="4" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x295767000" start_sector="2709351"/ -->
<!--program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti5" label="last_parti" num_partition_sectors="0" partofsingleimage="false" physical_partition_number="5" readbackverify="false" size_in_KB="0" sparse="false" start_byte_hex="0x6c0000" start_sector="1728"/ -->
I once looked at the all.xml from the a7
(<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="last_parti5.bin" label="last_parti" num_partition_sectors="884" partofsingleimage="false" physical_partition_number="5" readbackverify="false" size_in_KB="3536.00" sparse="false" start_byte_hex="0x2487000" start_sector="9351"/>)
Click to expand...
Click to collapse
It's commented out the allow the backup to complete but I don't support flashing all just yet. Just use full that's sufficient enough to fix any brick. If you need all, then you did something horribly wrong to the phone.
@Unjustified Dev
Hi,
Thanks for this tool. I need help with this error however
When I flashing full firmware, the program displaying on the screen:
!!! Not found important files, or detected SPARSE image !!!
The log file shows
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\userdata.img - SPARSE image!!!
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\vendor.img - SPARSE image!!!
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\system.img - SPARSE image!!!
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\system_other.img - SPARSE image!!!
The fireware downloaded here
https://forum.xda-developers.com/axon-10-pro/how-to/firmware-zte-axon-10-pro-ch-eu-edl-sd-t3934664
A2020G / Axon 10 Pro EU 1.3 EDL Software、P855A01V1.0.0B16_DL.zip
Many thanks
@Unjustified Dev
Hi,
Thanks for this tool. I need help with this error however
When I flashing full firmware, the program displaying on the screen:
!!! Not found important files, or detected SPARSE image !!!
The log file shows
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\userdata.img - SPARSE image!!!
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\vendor.img - SPARSE image!!!
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\system.img - SPARSE image!!!
ERROR: D:\Axon10_EDL_TOOL_v3.2.5\flash\full\system_other.img - SPARSE image!!!
The fireware downloaded here
https://forum.xda-developers.com/axon-10-pro/how-to/firmware-zte-axon-10-pro-ch-eu-edl-sd-t3934664
A2020G / Axon 10 Pro EU 1.3 EDL Software、P855A01V1.0.0B16_DL.zip
Many thanks
Did you read post 11?
you may try this version (russia) without any garanty:
https://4pda.ru/forum/index.php?showtopic=965431&view=findpost&p=88768840
@borisku
I have used the russia version 1.0,now my phone brick.What should I do :crying::crying::crying:
peter_0115 said:
@borisku
I have used the russia version 1.0,now my phone brick.What should I do :crying::crying::crying:
Click to expand...
Click to collapse
Download the correct firmware and use miflash
Sent from my G8142 using Tapatalk
Unjustified Dev said:
Download the correct firmware and use miflash
Sent from my G8142 using Tapatalk
Click to expand...
Click to collapse
Could you tell me more? What's the correct fw?Where can I download it? My phone is China version.
Thanks a lot!
peter_0115 said:
Could you tell me more? What's the correct fw?Where can I download it? My phone is China version.
Thanks a lot!
Click to expand...
Click to collapse
China version of Axon10 have another partition table. You need edl firmware for china and edl tool for china.
Try...
https://forum.xda-developers.com/showpost.php?p=80316365&postcount=41
@djkuz
How can I help with translation?
I can help with English / Spanish
DrakenFX said:
@djkuz
How can I help with translation?
I can help with English / Spanish
Click to expand...
Click to collapse
Thank you friend! don’t worry, I already have an almost complete translation. as soon as I do, I’ll upload it here right away!

Categories

Resources