[Q] ROM translation - Desire Q&A, Help & Troubleshooting

Hello!
I do not know where to ask this, so maybe I am wrong in this topic, I apologize for this.
I would like to translate an existing ROM to German, the Ultimate Droid 2.5.0 ROM. At the developer's forum nobody responds to my questions, but I really love this ROM and would like to have it in German.
I do not need any translator or translation help as I am a translator for English myself, I only need advice how to unpack the files, espacially which files I need for this, and how I repack and flash the whole thing again.
Thx in advance.

Somewhere in the XDA forums you will find an application called apktool.
Download it and extract it somewhere.
Then copy inside the applications folder the framework-res.apk file.You gonna find it inside the ROM you re trying to translate.In the same folder you should copy all the applications that you want to translate.
So now you need to decompile each and every one of them.
Run CMD.EXE and browse to that folder.Then type:
apktool if framework-res.apk
apktool d framework-res.apk (where framework-res.apk it can be anything..e.g Mms.apk,Settings.apk,Browser.apk...)
You will see a new folder named framework-res.Inside that folder you ll find another one called res and inside it another called values.From the values folder you should translate strings.xml and arrays.xml(if available).
Do this for every application that you want to translate.When you re done with the strings let me know and i ll assist you further.

A little help on where to post threads!
Post What Where:
General - general technical discussion items, news, anything else that does not fit into the other fora categories.
Q&A (Questions and Answers) - all questions, irrespective of type, get posted in here whether they be theme related, accessory related, technical, etc.
Accessories - any items to do with components and/or accessories relating to your device.
Rom Development - only meant for very advanced technical discussion directly related to ROM development activity and the delivery of actual ROMs and ROM components ONLY. Nothing else goes in here.
Themes & Apps - anything to do directly with the development of themes and/or applications. Nothing else goes in here.

Thx rolfd for moving the thread
Thx Ivanovic for your help, everything works fine with apktool. Now I got the folder u mentioned. I got the code:
<string name="cancel">Cancel</string>
<string name="copy">Copy</string>
<string name="copyUrl">Copy URL</string>
<string name="cut">Cut</string>
<string name="defaultVoiceMailAlphaTag">Voicemail</string>
<string name="defaultMsisdnAlphaTag">MSISDN1</string>
<string name="emptyPhoneNumber">(No phone number)</string>
<string name="httpErrorBadUrl">The page could not be opened because the URL is invalid.</string>
<string name="httpErrorUnsupportedScheme">The protocol is not supported.</string>
<string name="no">Cancel</string>
<string name="ok">OK</string>
<string name="paste">Paste</string>
<string name="search_go">Search</string>
<string name="selectAll">Select all</string>
Click to expand...
Click to collapse
Do I need to translate the whole <string ... </string> set or "only" the things between > and </string>, like >Select all</string>?
I also got some folders called values-... in my directory now, do I need to do something there? I attached a screenshot where you can see what I mean.
Thx in advance!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Only the stuff between <string> and </string>.
Only the xmls inside values or values-en.The strings are usually located in the strings.xml,arrays.xml and plurals.xml.Only the first is allways there.
Sent from my HTC Desire using Tapatalk

I am done so far with the framework, I translated both strings and arrays in the values folder, now I tried to open the settings.apk, but I got the following:
How can I solve the problem?

You dont need to do the if settings.apl
This is only for framework installation
Which means:
apktool if framework-res.apk
apktool d framework-res.apk
apktool d Settings.apk
apktool d Mms.apk.....
You install the framework using the if framework-res.apk and you decompile the APKs later using d XXX.apk

It works fine. What do I need to do to rebuild the ROM later?

Did you just decompiled all the APKs and translated the strings inside the values-folder?
If yes then use the following command to rebuild the APK
apktool b ./folder name of the decompiled apk goes here/ newnameoftheapk.apk e.g apktool b ./settings/ SettingsDE.apk
In a while you ll see the new APK.Right click on it and open with 7zip.Do the same for the original APK too(Take it off the zipped rom and place it in the dekstop).Then having both APKs opened with 7zip drag n drop from the new APK to the old the file resources.arsc
Do the same for every APK that you have translated strings.

I am done with the translation of the needed files, I attached the decoded files and the error log I get when I try to repack the whole thing. Something is wrong with the public.xml, but I got no idea what to do. Maybe you can find the problem.
Merry Christmas btw

First of all create a folder named values-de (inside res folder).
Thats where you keep your translated files.Strings.xml,arrays.xml and plurals.xml
Only strings.xml is always there.The other two not always.

Related

[ICONS]How to make folder and shortcut icons! ICONS INCLUDED

You want to customize your Windows Mobile device but don't want to install heavy applications?
Here a simple but effective solution!
Why should I do this?
If you arrange your program shortcuts into folders, than your program menu will open much faster.
And If you make some custom icons for the folders, you can navigate better because of the individual look of every folder.
It looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is what you have to do to set a folder icon:
create a new file (doesnt matter what type) in the folder you want to have an icon, rename it to "icon.lnk" goto properties of this file and type a path to a DLL-file wich contains icons or an EXE-file with a special number behind it, here an example:
to set an icon for a shortcut-file... (*.LNK)
...,add the following right after the shortcutpath: ?[DLL-PATH],
Code:
[/I][/FONT]
Example:
[IMG]http://home.pages.at/koffeinschluck/step3.png[/IMG]
Here are some Icon Codes for some system DLLs:
[B][SIZE="4"]\windows\shelres.192.dll[/SIZE][/B]
[IMG]http://home.pages.at/koffeinschluck/shelres.192.png[/IMG]
[IMG]http://home.pages.at/koffeinschluck/Shellres.192_2.png[/IMG]
[B][SIZE="4"]SKMVicon.dll[/SIZE][/B] (download this DLL at the end of this post)
[IMG]http://home.pages.at/koffeinschluck/SKMVicon.png[/IMG]
[B][SIZE="4"]TomCrossBowIcon.dll[/SIZE][/B] (download this DLL at the end of this post)
[IMG]http://home.pages.at/koffeinschluck/TomCrossBowIcon.png[/IMG]
[SIZE="4"][COLOR="Red"]If you like the icon customize idea you will love this:
Nice looking Realize icon menu with TF3D, last unsolvable (?) step left!!!
[URL="http://forum.xda-developers.com/showthread.php?t=499463"]Bigger icons in the program tab[/URL][/COLOR][/SIZE]
If you like it I will post more...
Good stuff! Especially useful for the new Start menu in the Rhodium manila. Thanks for sharing bro!
Koffein Schluck said:
create a new file in that folder, rename it to "icon.Ink" goto properties of this file and type a path to a DLL-file wich contains icons or an EXE-file with a special number behind it, here an example:
Click to expand...
Click to collapse
Actually I am pretty sure it has to be named icon.lnk (LNK) not ink
xmsnx said:
Actually I am pretty sure it has to be named icon.lnk (LNK) not ink
Click to expand...
Click to collapse
Of course! You are right !!! I will correct it THX !
thank you for this Tutorial
a great easy to follow summery
Pictures Down
All of the pictures appear to be down so I'm having a bit of trouble following the thread. Can we get some new one's up? Thanks.
Edit: Looks good now, thanks for the info!
thanks Koffein Schluck,
do you know how to change size of the fonts in the drop up menus?
ehsanij said:
thanks Koffein Schluck,
do you know how to change size of the fonts in the drop up menus?
Click to expand...
Click to collapse
Sorry mate... no idea... you mean the standart drop down menu? not the new manila pop-up, big-size bull****?
If you want it bigger, than try the new manila pop-up, finger-friendly ****... (I don't like it, look here for screenshots)
Very strange, but unfortunately changing icon groups 8216 and 8217 (settings and programs) in shellres.192.dll does not seem to have any effect in changing icons in drop down start menu. I think some of the icons are hidden in outres.dll (not 192) and tapres.dll (not 192).
If anyone has made it to change these icons and share experience it would be appreciated.
Grtz
is there a way to use an icon from another application for a specific shortcut?
Koffein Schluck said:
Here is what you have to do to set a folder icon:
create a new file in that folder, rename it to "icon.lnk" goto properties of this file and type a path to a DLL-file wich contains icons or an EXE-file with a special number behind it, here an example:
<snip>
Bigger icons in the program tab
If you like it I will post more...
Click to expand...
Click to collapse
Many months later: I just want to thank you for this. I'd never known how to do it... and I am a heavy user of hierarchical folders to group similar types of apps -- This is so helpful!
ICON
TRY .JWMDIconChanger-v1.9
JWMDIconChanger-v1.9
thanks ya vry much
hav been waiting for those dlls
can u upload some ore dllzzzzzzzzzzzzz plzzzzzzzzzzzzzzzzzzzz
ICON
Create a file in that folder? What folder?
love those icons!
and that icon viewer is gr8 too.
what's it called? i have only one showing 1 icon at a time
vrgolin: you look confused in that folder you want to create an icon for.
can u upload some ore dllzzzzzzzzzzzzz plzzzzzzzzzzzzzzzzzzzz
can u upload some ore dllzzzzzzzzzzzzz plzzzzzzzzzzzzzzzzzzzz
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
sakiyo6789 said:
can u upload some ore dllzzzzzzzzzzzzz plzzzzzzzzzzzzzzzzzzzz
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Click to expand...
Click to collapse
You should just go make a DLL and add the icons you want. It's simple:
Download Resource Hacker (just search xda for this - I can't post external links as I'm a "new" users).
Download icons.
Create your DLL (or hijack an already existing one).
Add icons, save it, and drop it into your \windows folder.
One I created is attached. There are only a few icons in there as I only have the custom icons I'm using so far.

[HOW TO] Theme ALL keyboards w/o FCs!! [A guide for beginners]

I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Thank you so much dude. This really helps me out!
Easy for us good tut for new themers. Its really not a hard process guys. You just need an idea of what you want and take time on it. If you get exhausted take a break and come back to it some other time.
The end result will be your own creation. That's what makes android so awesome. Open source!

[HOW TO] Theme ALL keyboards without FCs! [A guide for beginners]

I posted the original thread over in the Sprint section here: http://forum.xda-developers.com/showthread.php?t=1915508 Please try to keep questions in the Sprint thread, but I wanted to share here also. Hopefully this helps someone!!.
Theming a keyboard may be common knowledge to some of the amazing Devs here. But to a noob like me, it took some research and time to get it working without breaking the original signature (That's the trick!). I searched the forum and it doesn't look like anyone has posted a "How To" on theming a keyboard, so I thought I'd share my experience with you all.
**Some of these steps may seem elementary, but I tried to explain everything in layman's terms so even a beginner can theme a keyboard.
// Before you get started:
You must have a working environment setup. Check out QBKing77's awesome video "How to install the android-sdk" to get that going.http://forum.xda-developers.com/showthread.php?t=1614922
Make sure you also have installed:
Notepad++ (for editing xml) // (www.notepad-plus-plus.org)
7zip (for extracting apks) // (www.7-zip.org)
the image editor of your choice. I use Paint.Net(www.getpaint.net), and Gimp(www.gimp.org). Both FREE!
apktool (http://forum.xda-developers.com/showthread.php?t=1755243)
LatinImeDictionaryPack.apk (drop in the 'system\app' folder on your phone. Only for the LatinIME.apk) Grab it here: http://d-h.st/Ebb
// This method has worked with every keyboard that I have encountered so far. I will use 'LatinIME.apk' for reference, as that is the stock ICS keyboard. //
WARNING.. DO NOT POST DISTRIBUTION LINKS TO ANY MODDED 'Swype.apk'. XDA HAS A STANDING ORDER FROM NUANCE (MAKERS OF SWYPE), THAT DOES NOT ALLOW SUCH LINKS TO BE POSTED.
1) To start make sure you have a working copy of your keyboard apk; grab it out of a ROM, download it, or use a file manager with root access (like Root Explorer) to copy it to your SD card then to your computer.
**I would suggest dropping the keyboard apk into a folder on the desktop, seperate from anything else, and making a backup of the original so that you have a spare copy.
2) Using 7zip extract the 'res\drawable-xhdpi' folder into the folder you created. This folder will contain the pngs that control some of the keys, outlined in red on this pic:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Color these pngs to match using your favorite editor and save (bucket fill with Paint.Net is a breeze!)
3) Now that your pngs are themed.. Within the folder that you created containing your apk, hold down shift and right click. Select "Open Command Window Here" to fire up command prompt.
4) Next to decompile the keyboard apk with apktool (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.).
Type this command:
Code:
apktool d LatinIME.apk
When it's done, you will see a folder with the apk name appear, within the folder you created. Click into it and you should see at minimun a 'res' folder and a 'smali' folder.
5) Navigate to 'res\values' folder. Depending on the keyboard you are working on, the xml controlling the remaining key colors will be contained in the 'colors.xml' or 'styles.xml' file. Open with Notepad++, and change the color codes as needed. Save and close.
6) Go back to the root of the folder containing your apk, and fire up command prompt (if it's not still open). Now it's time to build using this command (again using 'LatinIME.apk' for reference, but the apk may be of a different name; SamsungIME.apk, HTC_IME.apk, etc.)
Code:
apktool b LatinIME
7) When it's done building, you should have 4 folders minimum now (res, smali, build, dist) and it's time for the key to success. Navigate into the 'dist' folder and you will see the "Built" apk. Open it with 7zip, and extract the 'resources.arsc' file to your folder. Close 7zip.
8) Now it's time to pull it all together. Navigate back to the ORIGINAL keyboard apk, and open with 7zip.
Copy (you can drag and drop with 7zip) the 'resources.arsc' that you extracted from your "Built" apk, into the "ORIGINAL" apk overwriting the file. Then with 7zip still open and the apk loaded, navigate (within 7zip) into the 'res\drawable-xhdpi' folder where you should see the list of unthemed pngs. Simply drop your edited pngs into this folder. Close 7zip and you're done here!
9) Finally, take your "ORIGINAL" but themed apk, and push it back the 'system\app' folder on your phone.
Fix permissions to 'rw-r--r--' (only check everything under 'read' and Owner under 'write')
Reboot, and bask in the glory of your new themed keyboard!
**Alternatively, grab my empty zip installer here: http://d-h.st/oKG to flash in recovery. You must drop your themed apk into the system\app folder of the zip and save. Also, the zip already contains the 'LatinImeDictionaryPack.apk'
Please hit THANKS if I helped!! And please keep this thread alive!
Reserved

[GUIDE] How to add extra option in settings.apk

EXTRA APPLICATION OPTION IN SETTINGS MENU​
This is my first thread, so please ignore my errors.
We have seen custom ROMs having some extra options in settings. This is a guide of adding these options.
This guide is for Galaxy y, but also can work for devices with similar settings.apk (like Ace, duos etc.)
Prerequisites:-
1) A rooted phone (I can't strech how important this is )
2) Backup your orginal settings.apk
3) Basic knowledge of decompiling and recompiling.
Procedure:-
1)Decompile settings.apk and apk of the app you want to put. (I am decompiling Proximity Actions)
2) Go to decompiled app folder and open AndroidManifest.xml. Note Package and Target Class. (Marked with red circle Attachment # 1)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3) Open decompiled folder of settings. Go to /res/values/strings.xml. Open with Notepad++.
Enter code <string name="prxt_ctrl">Proximity Control</string> in the end before /resources>. You can edit red coloured text to anything which you want to appear in settings. You can also give any string name, but remember it.
4) You need an icon to put in settings(You can get it from that decompiled app). Resize it to 24x24 pixels (FOR GALAXY Y ONLY)
5) Put that icon in settings/res/drawable-Idpi with any name(remember it). I have given name ic_settings_prxt
6) Go to settings/res/xml/settings.xml. Open with Notepad++
7) Add code <com.android.settings.IconPreferenceScreen android:title="@string/prxt_ctrl" settings:icon="@drawable/ic_settings_prxt">
<intent android:targetPackage="novum.inceptum.proximity" android:action="android.intent.action.MAIN" android:targetClass="novum.inceptum.proximity.PA_Activity" />
</com.android.settings.IconPreferenceScreen>
Here string is used from step 3. Use icon from step 4. Package and targetClass from step 2.
8) Save and compile Settings.apk and complete formalities of recompiling.
9) Push Settings.apk to /system/app and set permissions to rw-r--r--.
10) Enjoy
PRESS THANKS IF HELPED. I REALLY NEED IT.
there is a similar thread. plz search before post. mods plz close this thread.
Galaxy Pop Plus'ımdan Tapatalk 2 ile gönderildi.
That guide you are talking about by PinapleOwl is different method. It is just how to add extra ACTIVITY with smali editing. Here you dont have to edit smali. Please note the difference before comment. Also this has detailed screenshots for noobs.
Sent from my GT-S5360 using xda-app
Using CWM........Busybox Commands........No I use my hands
Think the thread being referred to is
http://forum.xda-developers.com/showthread.php?t=2341389
Which has more options such as sub directory
Anyway it's a clear guide for anyone who needs simple directions
marcussmith2626 said:
Think the thread being referred to is
http://forum.xda-developers.com/showthread.php?t=2341389
Which has more options such as sub directory
Anyway it's a clear guide for anyone who needs simple directions
Click to expand...
Click to collapse
No. That guide has different Settings structure. It is for Xperia Arc where menus are classified by category.
In our Galaxy y, we don't have settings_header.xml.
Indeed both guides are similar, but I think a set of simple instructions would be helpful, so I have written this thing.
i cannot find android:targetPackage android:action etc
shadman0 said:
i cannot find android:targetPackage android:action etc
Click to expand...
Click to collapse
its the name of the apk in its manifest - decompile the target apk and look
I have Problem
marcussmith2626 said:
its the name of the apk in its manifest - decompile the target apk and look
Click to expand...
Click to collapse
Marcussmith2626 I have Build The App And Sign App After I have Place System/app and givr it permissions r w r r after reboot The Settings is Not Come in Launcher
shadman0 said:
Marcussmith2626 I have Build The App And Sign App After I have Place System/app and givr it permissions r w r r after reboot The Settings is Not Come in Launcher
Click to expand...
Click to collapse
If you have not edited Manifest of your SETTINGS APP (IMPORTANT), then you don't have to sign that APK. Just open both apks (newly compiled and original) in 7zip 7zip ONLY (Right click on apk ====> 7zip ====> Open archive)
Then drag META-INF of original apk to compiled apk and push to /system/app and change permission to 644 (rw-r--r--)
Same problem
A BIG Thanks for your help
hnkotnis said:
If you have not edited Manifest of your SETTINGS APP (IMPORTANT), then you don't have to sign that APK. Just open both apks (newly compiled and original) in 7zip 7zip ONLY (Right click on apk ====> 7zip ====> Open archive)
Then drag META-INF of original apk to compiled apk and push to /system/app and change permission to 644 (rw-r--r--)
Click to expand...
Click to collapse
OR you can patch service.jar with lucky patcher and see

[Guide][tut] SystemApp remover (from 2.x to 5.x and above )

hello guys
today i gonna present you a new tut
for all the devices running from 2.x to till now versions
Thanks to Cyanogenmod and Resurrection Remix
All you need is settings ( deodexed )
1. Dcompile the settings.apk
2. Open Settings.apk/res/values/array.xml and add these codes below
Code:
<string-array name="slimsizer_profile_array">
<item>Load Profile</item>
<item>Save Profile</item>
</string-array>
3. Open Settings.apk/res/values/strings.xml and add these codes below
Code:
<string name="sizer_message_sdnowrite">Cannot write to SD Card.</string>
<string name="sizer_message_sdnoread">Cannot read SD Card.</string>
<string name="sizer_message_filesuccess">Created profile.</string>
<string name="sizer_message_filefail">Failed to create profile.</string>
<string name="sizer_message_noselect">Nothing selected.</string>
<string name="reboot">All done! Reboot your device now.</string>
<string name="reboot_ok">Reboot now</string>
<string name="reboot_cancel">"Don't reboot"</string>
<string name="listsystem">list</string>
<string name="sizer_title"><b><i>System App Remover</i></b></string>
<string name="caution">Caution!</string>
<string name="sizer_message_startup">This tool allows you to delete system apps. Use with caution and only delete apps you know are safe to be removed.</string>
<string name="cancel">Cancel</string>
<string name="sizer_message_delete">Are you sure you want to delete this app?</string>
<string name="sizer_message_delete_multi_one">Are you sure you want to delete selected app?</string>
<string name="sizer_message_delete_multi">Are you sure you want to delete selected apps?</string>
<string name="btn_delete">Delete selected APPs now!</string>
<string name="delete_progress_title">Deleting</string>
<string name="delete_progress">Selected files are being deleted, please wait.</string>
<string name="delete_success">Deleted</string>
<string name="delete_fail">Unable to delete</string>
4.1 For 4.x and Below devices ( thanks to vanya& maaadr )
Download this View attachment 2.x+_settings.zip and merge the complete code
Then add this below code any part of your settings you need ( example Display_settings.xml)
Code:
<PreferenceScreen android:title="@string/sizer_title" android:key="slimsizer" android:fragment="com.android.settings.cyanogenmod.SlimSizer" />
Now compile and decompile the settings and compare public ids and replace with yours
Now compile and done.....! enjoy
4.2 For 5.x and above devices
Download this View attachment 5.x+_Settings.zip and merge the complete code
Then add this below code any part of your settings you need ( example Display_settings.xml)
Code:
<PreferenceScreen android:id="@+id/system_app_remover" android:title="@string/sizer_title" android:fragment="com.android.settings.rz.SystemappRemover" />
Now compile and decompile the settings and compare public ids and replace with yours
Now compile and done.....! enjoy
Have fun guys
If you used my tuts just tag me
Awesome bro ^^
“Sent From MWE V8.0.0 On My Z3”
Great tutorial bro.. Hope all your tutorials will work with Marshmallow.
Rajeev said:
Great tutorial bro.. Hope all your tutorials will work with Marshmallow.
Click to expand...
Click to collapse
They work bro
No problem with 6.0 tooo Haha
anyone can help me with this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i've try to decompile it but always show log like that? can anyone correct me on where i'm wrong please ?
Nicklas Van Dam said:
anyone can help me with this?
View attachment 3594154
i've try to decompile it but always show log like that? can anyone correct me on where i'm wrong please ?
Click to expand...
Click to collapse
Hmm
Remove cancel string bro
( in your log it show it was already there)
Then for id add it in ids
If you miss drawable you can find in other zip bro (in 4.x zip)
venkat kamesh said:
Hmm
Remove cancel string bro
( in your log it show it was already there)
Then for id add it in ids
If you miss drawable you can find in other zip bro (in 4.x zip)
Click to expand...
Click to collapse
Thanks sir!!! @venkat kamesh :good::good:
yes, i only need to remove cancel string and add btn_delete on ids.xml
it's done recompile it succesfully
system app remover it's show on my developer option, but when i try to open it. settings directly to fc?
and now what i must do with public.xml that you include it on zip?
Thanks your all tutorial
Hi! How to compare public IDS? Can anyone help? Thank you!

Categories

Resources