i need help to edut settings apk - General Questions and Answers

i have some reason to edit settings app
i want to edit settings-about phone-status
'network' and 'phone number'
i decompiled settings apk
and edit res/xml/device_info_status.xml
i tryed 3 kind
original:
PHP:
<Preference android:title="@string/status_operator" style="?android:attr/preferenceInformationStyle" android:summary="@string/device_info_not_available" android:key="operator_name" android:persistent="false"/>
1
PHP:
edit android:summary="XXXX"
fail
not applyed when i install
2
PHP:
eedit value/string.xml
add XXXX on that and edit @string/device_info_not_avalilable to @string/XXXX
fail
can't compile
3
PHP:
edit summary and key
fail
can't install
if you have any other idea or solutions
please help me
ps. im not good at programing because i did't learn about java
i just learn C for 3 month:silly:

Related

Update_me on XDA

http://forum.xda-developers.com/showthread.php?t=1590170[/
What makes this application?
Check for new rom available (works)
Show list of kernel which can be downloaded, download it and reboot to recovery (works)
Show list of plugin which can be downloaded, download it and reboot to recovery (works)
Show list of themes which can be downloaded, download it and reboot to recovery (works)
Check md5 for download file (works)
Check new rom on startup (works)
check new rom every hours (works)
android version >= 3.0
Create your custom tab with name and icon
Link for download
Android > 3
https://play.google.com/store/apps/d...usoft.UpdateMe
Android > 2
https://play.google.com/store/apps/d...teMeSmartphone
Direct link
http://dl.dropbox.com/u/3681387/UpdateMe.apk
http://dl.dropbox.com/u/3681387/UpdateMeSmartphone.apk
How to configure
The program is easily to configure.
in your rom you need only a file named update_me.xml in the system folder.
The file must be like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<RomConfig>
<RomName>Name rom</RomName>
<RomVersion>0.1.0</RomVersion>
<RomCheckUrl>http://www.me.com/update_me_ckeck.xml</RomCheckUrl>
<RomElemUrl>http://www.me.com/update_me_parts</RomElemUrl>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</RomConfig>
and 2 other file must to be placed online:
- a file with rom info for check new rom availability
- a file with element for rom.
ATTENTION
When the rom is update, the new rom MUST contains a modified update_me.xml with new version,otherwise the app show always the message "new rom available"
an example config is available here
http://dl.dropbox.com/u/3681387/config_example.zip
the pack of available icon for tabs can download here
http://dl.dropbox.com/u/3681387/icons.zip
in the pack icon named icon_0.png is the number 0 of the config ;D
Supported file host
direct download file host
public folder on dropbox, box.net, etc
goo.im
xdafileserver.nl
androidfilehost.com
How check md5 work
if check md5 is enabled for a file, the program check for a file name with the same name of file plus .md5sum like: app.zip and app.zip.md5sum
with contains md5 plus filename.
if the host is goo.im the md5 is read directly from page
Donate
if you like my work, donate me a beer!!!!
i have create a new app on the market for donate 3 €.
https://play.google.com/store/apps/d...pdateMe.donate
for now it don't allow new feature but in the future i'll add some feature only for donate user.
Extra
Also i have create a new site for the project
http://win.acquariusoft.com
for registered user is possible upload your xml file for public access without limitation of time, in the future more stuff ;D
for now registration is now available on the site, so if you want an account send me a pm with username, password and email.
Donator (tnx to all)
krarvind
TamCore
core720
barikke74
pglmro
pcrao.n
jeff
TRothe
jensmeyer1URL]
Yours?
here is the easy how to for those interested
Original post here
http://forum.xda-developers.com/showthread.php?t=1590170
Original post here
http://dl.dropbox.com/u/3681387/UpdateMeSmartphone.apk
for those that like to add this to their Rom its easy all you do is add the update_me.xml file to your system folder.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<RomConfig>
<RomName>Name rom</RomName>
<RomVersion>0.1.0</RomVersion>
<RomCheckUrl>http://www.me.com/update_me_ckeck.xml</RomCheckUrl>
<RomElemUrl>http://www.me.com/common_update_me.xml</RomElemUrl>
<RomElemUrl>http://www.me.com/transformer_update_me_parts.xml</RomElemUrl>
<RebootType>1</RebootType><!-- 0 no install,1 install on cwm, 2 install openrecoveryscript -->
<FilterName>transformer</FilterName> <!-- Filter for element,if you don't need not insert-->
</RomConfig>
then the file
update_me_ckeck.xm you edit and add it to your files location
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Version>
<Code>1.0.0</Code>
<Desc>First version of this rom</Desc>
<Url>http://www.xdafileserver.nl/TF101/CM9%20by%20ricardopvz/Normal/29%20Mar/update-cm-9.0.0-RC0-tf101-KANG-29Mar-signed.zip</Url>
<HomepageUrl>http://www.google.com</HomepageUrl>
<DonateUrl>http://www.donate.com</DonateUrl>
<CheckMD5>1</CheckMD5>
<MD5Url>http://aaa.md5sum</MD5Url> <!-- url where download the md5 of file, delete tag if don't use -->
<MD5>12345678901234567890123456789012</MD5> <!-- the md5 of file, delete tag if don't use -->
<RebootRecovery>1</RebootRecovery>
</Version>
Lastly do the same for update_me_parts.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Elements>
<Tab>
<Name>App mod</Name><!-- name of tag -->
<IconNum>0</IconNum><!-- the icon -->
<Element>
<Name>Big rom 1</Name><!-- element name -->
<Desc>Theme1</Desc><!-- element description -->
<Url>http://aaa.zip</Url> <!-- the direct link -->
<Version>1.0.0</Version> <!-- version ( only in format x.x.x not v x.x.x) -->
<CheckMD5>0</CheckMD5><!-- check for md5 1=true 0=false -->
<MD5Url>http://aaa.md5sum</MD5Url> <!-- url where download the md5 of file, delete tag if don't use -->
<MD5>12345678901234567890123456789012</MD5> <!-- the md5 of file, delete tag if don't use -->
<RebootRecovery>0</RebootRecovery><!-- reboot on recovery after download the file 1=true 0=false -->
<Wipe>0</Wipe><!-- show a message for inform that full wipe is raccomandate, and if auto install on recovery, auto full wipe -->
<Dest>/system/app/</Dest><!-- move on directory leave blank or delete for no move -->
<DestChmod>0755</DestChmod> <!-- Chmod value for dest. Default is 0644 -->
<LaunchApp>0</LaunchApp><!-- launche the application after donwloaded 1=true 0=false -->
<Filter>transformer</Filter> <!--Filter for decide if element is show for this rom,if you don't need not insert this line-->
<ThumbnailUrl>http://www.vikispot.com/z/images/vikispot/android-w.png</ThumbnailUrl> <!-- Url for little image see on the left of element,if you don't need not insert this line -->
<ImageUrl>http://eeepc901.altervista.org/blog/wp-content/uploads/2010/04/android-64.png</ImageUrl> <!-- Image show when click on gallery icon in the element,if you don't need not insert this line -->
<ImageUrl>http://www.androidquery.com/z/images/androidquery/github.png</ImageUrl><!-- More then one image ;D,if you don't need not insert this line -->
</Element>
</Tab>
<Tab>
<Name>App mod2</Name>
<IconNum>2</IconNum>
<Element>
<Name>Applicazione 2</Name>
<Desc>Theme1</Desc>
<Url>http://aaa.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
<LaunchApp>0</LaunchApp>
</Element>
<Element>
<Name>Applicazione 3</Name>
<Desc>Install</Desc>
<Url>http://aaa.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
<LaunchApp>1</LaunchApp>
</Element>
</Tab>
<Kernels>
<Kernel>
<Name>Guevor</Name>
<Desc>Gueveor test 4 kernel no md5 no recovery</Desc>
<Url>http://goo.im/apps/Indirect/Nook_tablet/NookUnrooter.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</Kernel>
<Kernel>
<Name>Stock</Name>
<Desc>Kernel stock della rom a</Desc>
<Url>http://goo.im/apps/longcat/E4GT_Stock_GPSConfig_Signed-Naerok.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Kernel>
<Kernel>
<Name>Test sourceforge</Name>
<Desc>Test</Desc>
<Url>http://sourceforge.net/projects/microzip/files/src.7z/download</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</Kernel>
<Kernel>
<Name>Test sourceforge Big rom</Name>
<Desc>Test</Desc>
<Url>http://sourceforge.net/projects/fastdontlie/files/Sweet%20Child%20of%20Mine%20v3.5.zip/download</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</Kernel>
</Kernels>
<Plugins>
<Plugin>
<Name>Plug1</Name>
<Desc>Plug1</Desc>
<Url>http://goo.im/apps/Indirect/Nook_tablet/NookUnrooter.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Plugin>
<Plugin>
<Name>Plug2</Name>
<Desc>Plug2</Desc>
<Url>http://www.xdafileserver.nl/Home/ASUS/Asus%20Transformer%20(TF101)/ROMS/Megatron/Gapps/gapps-ics-20120317-signed.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Plugin>
</Plugins>
<Themes>
<Theme>
<Name>Theme1</Name>
<Desc>Theme1</Desc>
<Url>http://www.xdafileserver.nl/Home/TF101/CM9%20by%20ricardopvz/Normal/29%20Mar/update-cm-9.0.0-RC0-tf101-KANG-29Mar-signed.zip/Kernel/Guevor/test4/guevor-test4.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Theme>
<Theme>
<Name>Theme2</Name>
<Desc>Theme2</Desc>
<Url>http://www.xdafileserver.nl/Home/TF101/CM9%20by%20ricardopvz/Kernel/Stock/Stock_Kernel.zip</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>1</RebootRecovery>
</Theme>
</Themes>
<Apps>
<App>
<Name>Applicazione 1</Name>
<Desc>Theme1</Desc>
<Url>http://dl.dropbox.com/u/3681387/UpdateMe_1_0_3_beta1.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>0</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</App>
<App>
<Name>App2</Name>
<Desc>Theme2</Desc>
<Url>http://dl.dropbox.com/u/3681387/UpdateMeSmartphone_beta3.apk</Url>
<Version>1.0.0</Version>
<CheckMD5>1</CheckMD5>
<RebootRecovery>0</RebootRecovery>
</App>
</Apps>
</Elements>
no its not i have a modified version with a fullly kitchen app.
myApp called Drive Thru is much different, my program rips rom from phone and intigrates into a gui kitchen then cooks the rom with full modded themed and editing all aspespects of the creation and then flashes it . i call it Drive Thru
It is working on for linux, windows and mac.. still has 23 bugs but so far its almost ready for release...
I will move this to General and lock
Cheers
Is there any way to update an existing XDA user account, such as change user e-mail address, or change or add an im'age? I've made several attempts, but haven't been able to find the method for accomplishing this.

[GUIDE][MOD] How to add custom banner in Settings "About Device"

1. Download Settings Files.zip
2. Decompile your Settings.apk
3. Extract custombanner.xml of Settings Files.zip and place it in res/layout in decompiled Settings.apk
4. Open /res/xml/device_info_settings.xml
You'll see several <Preference android:title tags
5.Add this just a line above the first Preference tag:
Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
6. Save the file and exit
7. Now make a .png banner for your ROM or find one on the internet. It has to be a .png
Resize your banner to 480x300 and rename it to custombanner.png
8. Place the custombanner.png in res/drawable
9. Recompile Settings.apk and Replace the settings.apk in your ROM
10. Enjoy :good:
Reserved for Screenshots
Screenshots
Hi ...... Can you add theme option in settings ?????
nathanjp said:
1. Download Settings Files.zip
2. Decompile your Settings.apk
3. Extract custombanner.xml of Settings Files.zip and place it in res/layout in decompiled Settings.apk
4. Open /res/xml/device_info_settings.xml
You'll see several <Preference android:title tags
5.Add this just a line above the first Preference tag:
Code:
Code:
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
6. Save the file and exit
7. Now make a .png banner for your ROM or find one on the internet. It has to be a .png
Resize your banner to 480x300 and rename it to custombanner.png
8. Place the custombanner.png in res/drawable
9. Recompile Settings.apk and Replace the settings.apk in your ROM
10. Enjoy :good:
Click to expand...
Click to collapse
Thanks bro... it works on my Samsung Galaxy Mega GT-I9152, but I Think there's only one mistake with your guide bro... in step number 5 :
Code:
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
it should be
Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
Please correct me if I was wrong...Thanks...
sitifire said:
Thanks bro... it works on my Samsung Galaxy Mega GT-I9152, but I Think there's only one mistake with your guide bro... in step number 5 :
Code:
<PreferenceCategory android:layout="@layout/myawesomerom" android:title="" />
it should be
Code:
<PreferenceCategory android:layout="@layout/custombanner" android:title="" />
Please correct me if I was wrong...Thanks...
Click to expand...
Click to collapse
Thanks for pointing that when i war writing the xml file i thought of using myawesomerom but instead i used custombanner. Thats why i made a mistake will correct it immediately. Thanks for letting me know
It works perfect!!!!!
G.M.L._V2_IcSmoothness
http://pasakalis.blogspot.gr
Ended up in error in recompiling Any help?
Works perfect on sprint Galaxy Note 3 running stock deodexed lollipop rom. Thanks for this. It's awesome!!
great..thanks..I just try

[Modding an android app] [easiest way] [noobs friendly]

Here we are not going to make an android app but its just MODDING
Tools REQUIRED
-APKTOOL
-Notepad++
-An Apk to work
first just decompile a apk by Apktool.. Then
Find These files
-> res
->smali
->apktool.yml
->androidmanfiest.xml
Now open apktool.yml and search for these lines
Apk file name- Snigdho.apk
PackageInfo
Cur_package: com.bel.android.snigdho
Orig_Package: com.bel.android.snigdho
For Example change them to:-
Apk file name- mynew.apk
PackageInfo
Cur_package: com.mynew.app
Orig_Package: com.mynew.app
Now save it and open AndroidManfiest.xml
And search for these lines
package="com.bel.android.snigdho "
Change it to for Example
package="com.bel.android.mynew"
Now open smali>com>snigdho
And rename “snigdho” to “mynew
It will look like "com.mynew.app
And save
Your Package Name is Changed
Now to change app name open AndroidManfiest.xml and search for these lines –
<application android:label =”@string/appname” android:name= “.SnigdhoApplication”
Rename It to –
<application android:label=”mynew" android:name= “.SnigdhoApplication”
And save it now!!
Now open res>values>strings.xml
And Search for these lines –
string name="app_name">Snigdho</string>
Rename it to for example
- string name="app_name">mynew</string>
And save it!!
Now if you want to customize it open res>drawable nodpi and there you will see some pngs customize them according to your wish
Now recompile and Sign The apk!!!
WARNING: DO NOT DO APP STEALING!!!
Hit thanks button if I helped you.. It encourages me..

[Completed] How to enable hide features LG L5II/L5X (QSlide, Eco Mode, Silente Mode)

Hello Guys,
I want to learn you how to enable hides features in you LG OPTIMUS L5II / L5X:
- QSlide (Calculator, Calendar, Browser, Note and Video)
- Timer-off button.
- Eco mode
- Silence mode
YOU NEED:
- To know how descompile and compile with apktool.
- BackUp of your device and BackUp of the next files. You never ever must delete original files. Because is posible that you need replace again the process.
IN YOUR PHONE:
- Root
- App: SuperSU
- App: Root Explorer
- App: Build Prop Editor (PlayStore)
- Files from you device:
> framework-res.apk (System/framework/)
> lge-res.apk (System/framework/)
> LGSystemUI.apk (System/app/)
> Build.prop (System/)
IN YOUR PC:
- Notepad++ (Edit XML)
- Java JDK (Driver)
- Apktool (Compile and Descompile)
- 7z938.exe (Sign)
-------The next step is to enable the QSlide ------ We going to active the Buttons hides in apps: Calculator, Calendar, Browser Internet, Note and Video). --------------
1. Open the app BUILD PROP EDITOR and do click in the pencil
2. down to find the lines that begin with: ro.lge.capp.........
3. add or replace the next texts:
ro.lge.capp_themeicon=true
ro.lge.capp_touch_Idi=true
ro.lge.capp_ghost_finger=true
ro.lge.capp_quickclip=true
ro.lge.capp_move_sdcard=true
ro.lge.capp_qwindow=true
ro.lge.capp_quickclip=true
ro.lge.capp_wfd=true
ro.lge.capp_smf=true
ro.lge.capp_qctwfd=true
ro.lge.capp_mdm=true
4. Save and exit. Reboot your phone. Now Open the apps: Calculator, Calendar, Browser Internet, Note and Video and you will find a New button to use Qslide.
---------- IF YOU DON´T KNOW HOW TO COMPILE AND DESCOMPILE APK IS BETTER THAT YOU STOP HERE THE TUTORIAL AND ENJOY THE FEATURE QSLIDE -------------
THE NEXT STEPS ARE TO ENABLE THE QSLIDE BAR
1. Firstly you need have installed the programs Notepad++ y Java JDK in your PC.
2. Next you must extract the folder to the program apktool in C:\ (Example: C:\apktool)
3. Put the files framework-res.apk and lge-res.apk in the folder C:\apktool
4. Install framework-res.apk and lge-res.apk in apktool:
COMANDS TO INSTALL IN APKTOOL
| C:\apktool>apktool if framework-res.apk Click: ENTER and wait
| C:\apktool>apktool if lge.res.apk Click: ENTER. It´s all.
5. Descompile the LGSystemUI.apk.
COMAND TO DESCOMPILE
| C:\apktool>apktool d LGSystemUI.apk Click: ENTER and wait some seconds... Going to appear a folder named: LGSystemUI
6. Open the file: LGSystemUI\res\values\boots.xml
7. Change the lines::: false for true
FLOATING LAUNCHER (QSLIDE BAR)
EXAMPLE
<bool name="config_systemui_feature_floating_launcher">false</bool>
Change false for true:
<bool name="config_systemui_feature_floating_launcher">true</bool>
and do the same with
ECO MODE: find the name "eco_mode"
SILENCE MODE: find the name "silence_mode"
TIME OFF: I don´t remember, I supose that is "display_timeoff"... really I don´t remember.
NOTE: You must not active the funtions: QREMOTE, QVOICE, NFC and MIRACAST beause the device haven´t the apps.
8. Save and exit.
8. Now compile the folder again with apktool.
COMAND TO COMPILE
| C:\apktool>apktool b LGSystemUI LGSystemUI-edited.apk Click ENTER and wait...
9. Next open the new LGSystemUI-edited.apk and LGSystemUI.apk (Original), doing click right in each one files and click on Open with 7z938. Copy the folder META-INF and the file AndroidManifest.xml from LGSystemUI.apk >> to >> LGSystemUI-edited.apk.
Ready, your APK is signed.
:::::::::: if you know how to align the APK teach us!!!! ::::::::::::::
10. Replace the file in your phone and change the permitions, now reboots your device.
It´s all guys, now enjoy you new smartphone with features just enabling in LG G Pro.
Thanks, Excuse me I do not speak English very well. :good:
Hi there,
Thanks for your share but here isn't the right place for that.
Please post your thread here:
Optimus L3 II, L5 II, L7 II, L9 II Themes and Apps
Thread closed

need help to edit settings.apk

i have some reason to edit settings app
i want to edit settings-about phone-status
'network' and 'phone number'
i decompiled settings apk
and edit res/xml/device_info_status.xml
i tryed 3 kind
original:
PHP:
<Preference android:title="@string/status_operator" style="?android:attr/preferenceInformationStyle" android:summary="@string/device_info_not_available" android:key="operator_name" android:persistent="false"/>
1
PHP:
edit android:summary="XXXX"
fail
not applyed when i install
2
PHP:
eedit value/string.xml
add XXXX on that and edit @string/device_info_not_avalilable to @string/XXXX
fail
can't compile
3
PHP:
edit summary and key
fail
can't install
if you have any other idea or solutions
please help me
ps. im not good at programing because i did't learn about java
i just learn C for 3 month:silly:

Categories

Resources