I will donate money to anyone who helps me edit TabletSettings.odex app - Fire Q&A, Help & Troubleshooting

thnx

PRInCEI7 said:
Hi .. I will donate money to anyone who helps me
.. I want to edit amazon fire 7 9gen system the TabletSettings.odex and TabletSettings.apk but the problem is
The modification does not accept.. Is there a way .
Click to expand...
Click to collapse
You can use APKTOOL:
https://ibotpeaches.github.io/Apktool/
Before nothing, you need to extract framework-res.apk and SystemUI.apk and then install them as frameworks:
Code:
apktool if framework-res.apk
Code:
apktool if SystemUI.apk
And then extract it:
Code:
apktool d TabletSettings.apk
Now edit whatever you want and when you finish repack it:
Code:
apktool b TabletSettings
Then go to dist and extract the apk.
Now go to original and copy all folders and files to unpacked apk from dist (overwrite all files)
And finally, repack unpacked dist apk with WinRar (extension .zip and then rename to .apk).
Now install the apk to the tablet:
Code:
adb reboot recovery
Code:
adb push TabletSettings.apk /sdcard
Code:
adb shell
Code:
mount system
Code:
mv /sdcard/TabletSettings.apk /system/priv-app/TabletSettings/TabletSettings.apk
Code:
chmod 664 /system/priv-app/TabletSettings/TabletSettings.apk
And reboot to system.
BTW: What modifications you want to do?

Rortiz2 said:
You can use APKTOOL:
https://ibotpeaches.github.io/Apktool/
Before nothing, you need to extract framework-res.apk and SystemUI.apk and then install them as frameworks:
Code:
apktool if framework-res.apk
Code:
apktool if SystemUI.apk
And then extract it:
Code:
apktool d TabletSettings.apk
Now edit whatever you want and when you finish repack it:
Code:
apktool b TabletSettings
Then go to dist and extract the apk.
Now go to original and copy all folders and files to unpacked apk from dist (overwrite all files)
And finally, repack unpacked dist apk with WinRar (extension .zip and then rename to .apk).
Now install the apk to the tablet:
Code:
adb reboot recovery
Code:
adb push TabletSettings.apk /sdcard
Code:
adb shell
Code:
mount system
Code:
mv /sdcard/TabletSettings.apk /system/priv-app/TabletSettings/TabletSettings.apk
Code:
chmod 664 /system/priv-app/TabletSettings/TabletSettings.apk
And reboot to system.
BTW: What modifications you want to do?
Click to expand...
Click to collapse
thanks for replying
Unfortunately this method does not work
I imagine because of a odex file
I want to add the language to the system
All devices accept except this type AMAZON FIRE 7 9gen does not accept

@PRInCEI7
@Rortiz2
You would first need to de-odex the rom, however this as far i know is not possible at the moment.
A few years ago at the time of the HDX devices amazon introduced a customised odex format.

ggow said:
@PRInCEI7
@Rortiz2
You would first need to de-odex the rom, however this as far i know is not possible at the moment.
A few years ago at the time of the HDX devices amazon introduced a customised odex format.
Click to expand...
Click to collapse
I have a tool for deodex the ROM but IDK if it will work. I'll give it a try.
Thanks for the info.

Rortiz2 said:
I have a tool for deodex the ROM but IDK if it will work. I'll give it a try.
Thanks for the info.
Click to expand...
Click to collapse
That's my point it won't work. There is no way to do what you want with any tool.

@Rortiz2 @ggow
I found this
When I root the device
Directly the application com.amazon.kindle.otter.oobe.apk stops working
When I change any file or put any file inside /System/priv-app/
When removing the root or flashing file too boot.img stock
Directly deletes any file or modification from this folder and returns the primary file ...
Why returns the original file when flashing a boot.img file
When I return flash boot.img root file returns my file .

@DragonFire1024
Do you have an idea to solve the problem

ggow said:
@PRInCEI7
@Rortiz2
You would first need to de-odex the rom, however this as far i know is not possible at the moment.
A few years ago at the time of the HDX devices amazon introduced a customised odex format.
Click to expand...
Click to collapse
You can use superr's tool to deodex if you have twrp. It requires rebuilding the firmware.
Sent from my Motorola Droid Razr M using XDA Labs
---------- Post added at 10:29 AM ---------- Previous post was at 10:26 AM ----------
PRInCEI7 said:
@DragonFire1024
Do you have an idea to solve the problem
Click to expand...
Click to collapse
If you are unlocked you can use superr's tool to deodex the firmware .bin package and rebuild it then flash in twrp. Requires Linux https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434
Sent from my Motorola Droid Razr M using XDA Labs

thx

Related

[Q] language files

I'm using a custom rom,and now that stock rom for my region is published,I want to extract language files (system and dictionaries+keyboards and fonts) from stock rom and inject them to the custom rom that I'm using,so any help is appreciated to find which files do I need to extract from stock rom.
Theoretically, however, reminds you that the app I am not alone but also the framework apk etc. .. must pay attention.. Help to get into a rom, and can for example extract the launcher or gps.conf or apk predefinit of the Rom and then copy them to root through esplorer in our folder system / app . -1.extract the file from system.rfs -2 and install magic iso and go to open the rfs .. app folder you will find the system app .. conf files in the etc etc for gps. APKTool is able to reverse engineer the binaries of Android applications. With it you can de-compile and get an apk files that make up the apk.
Beware though that being a compiled language java bytecode, executable in the case of the Android Dalvik machine, do not get the files. Class with the java code readable plaintext file but. Smali containing assembly code of the virtual machine (assembler / disassmbler smali) . Will be easier to understand and modify resource files in the directory / res, usually they are xml files and png images that you can modify and then recompile the apk...download Apk tool here: http://www.androidlab.it/wp-content/plugins/download-monitor/download.php?id=13 .. 1. Unpack the zip file you just downloaded and APKTool.zip command prompt / shell posizioniamoci within the directory APKtool 2. execute the following command:
apktool framework-if res.apk
we get the result back edge
I: Framework installed to: C: \ Users \ username \ apktool \ framework \ 1.apk. 3. Now we copy the apk in the same folder that we want to de-compile and impart the following command
apk apktool d-name-it-de-compilare.apk
upon completion of the directory APKtool find a folder with the same name of the app that we have de-populated.
We can now go take a look at the file and change where we see fit. 4. To translate the application should modify the files in / res / values-en, if the folder is not present we should create and copy into a folder other values-xx files arrays.xml strings.xml and then edit translating the texts into Italian. 5. after making the changes we should rebuild our apk with the following
apktool b-name-from-complete apk
in the directory with the same name of the app that we previously de-compiled find two new folders
dist / build / ..--- 6. in the / dist find our apk, remember that the resulting file has no signature, to sign our package we can use this. sign or unsign” i file Apk download here: http://goo.gl/9aWVM
not so understandable , but thx anyways.which files do I need to extract for samsung keyboard (AxT9IME) to work??
Re ad this guide: http://forum.xda-developers.com/showthread.php?t=1511730
---------- Post added at 07:30 PM ---------- Previous post was at 07:02 PM ----------
Try this method- Make a backup of the applications that you want to move , the phone will put the apk 'in the path sd>backups>apps, from here you take them and bring them in another rom...
amir_s_m said:
not so understandable , but thx anyways.which files do I need to extract for samsung keyboard (AxT9IME) to work??
Click to expand...
Click to collapse
my question exists!!

Deodexed stock Telus/Koodo rom

I'm looking for a deodexed version of the stock Telus/Koodo (Canada) rom for Galaxy Ace. I have the odexed version, but I'm not sure how to deodex. If anyone knows where I can get the deodexed version, or can help me with deodexing, it would be greatly appreciated.
Quietly, THIS IS DEVELOPMENT SECTION and not Q&A or GENERAL, POST IT THERE, here will be posted roms! READ THE XDA RULES BEFORE POSTING -.-
I only know how to deodex on Windows.
First have/download your SG Ace firmware (Canada)
Extract your firmware contents using MagicISO to: firmware_name\system
Download AutoDEOTool1.0.4 (Just a modified version of the tool, including updated binaries)
Unzip it to a directory without spaces e.g: C:\
Move/Copy your firmware's apps and framework files to: _app & _framework
Run AutoDEOToolMain.bat
Hit 2 to be specific.
To find your bootclasspath, just download Terminal Emulator on your Android phone
Run the command: echo $BOOTCLASSPATH
To save it in your sdcard, run: echo $BOOTCLASSPATH>>/sdcard/bootclasspath.txt​
Open the bootclasspath.txt, remove any "/system/framework/" codes (without the quotes) then save it
Now copy everything in bootclasspath.txt
Then in the AutoDEOToolMain windows, paste your bootclasspath & hit enter
This will deodex all files in _app & _framework
NOTE: If there are still some odexed files left, then use dsixda's kitchen to deodex the remaining files.​
Now copy/move all files in _app to your firmware's /system/app folder
Copy/move all files in _framework to your firmware's /system/framework folder
Now you have a deodexed Canada firmware!
Download these rom_tools and extract it to the root of the extracted firmware (firmware_name)
Now add the boot.img
Zip it and to flash it!
Thanks, I'll try that tonight. What exactly do the rom tools do? I looked at the archive, and I'm pretty sure busybox means root, but what about the rest?
sauron82 said:
Thanks, I'll try that tonight. What exactly do the rom tools do? I looked at the archive, and I'm pretty sure busybox means root, but what about the rest?
Click to expand...
Click to collapse
data folder is optional to include
META-INF folder is to flash the ROM
format.sh formats your Ace/Gio
installbusybox.sh installs busybox
mkfs.ext4 is the tool that format.sh uses

Tweaking rom - begginer question ;)

Hi!
Since xda-univeristy arised i thought it would be nice to learn something about green droid
I am going to learn about tweaking and theming:and here comes dozens of my questions:
1. I have downloaded Official ics repack by N00BY0815
2. I extracted it and i have:
2 folders ( META-INF and System)
2 files boot.ing and system.img
How can i extract this system.img ?
I tried to use 7zip but it says that" it cannot open it as archive"
Thanks in advance and please for leniency
it can be opened with Diskinternals Linux Reader. if not. use "sgs2toext4.jar" to convert it to .img.ext4 and then open it
Nihiliu said:
Hi!
Since xda-univeristy arised i thought it would be nice to learn something about green droid
I am going to learn about tweaking and theming:and here comes dozens of my questions:
1. I have downloaded Official ics repack by N00BY0815
2. I extracted it and i have:
2 folders ( META-INF and System)
2 files boot.ing and system.img
How can i extract this system.img ?
I tried to use 7zip but it says that" it cannot open it as archive"
Thanks in advance and please for leniency
Click to expand...
Click to collapse
Everything for theming is in the System folder. All the APK's(Applications) Boot.img is probably the recovery image it installs. But to theme you would need to decompile the apks in the system folder
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Nihiliu said:
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Click to expand...
Click to collapse
I don't know much about S2 but can't you just use 7zip to make it an archive and flash it through rrecovery?
"Anger and intolerance are the enemies of correct understanding." -Mahatma Gandhi
Nihiliu said:
How can i extract this system.img ?
Click to expand...
Click to collapse
Hi. You can use dsixda's Android Kitchen for that.
Nihiliu said:
Everythink was in system folder in gingerbread, in this system folder i have only app folder with su.apk and bin folder with su file.
So files i need are in system.img
@broodplank1337 thanks for help, program works well, now i can begin
But first only one question, now i can extract files, but can i pack them using same tool ?
Click to expand...
Click to collapse
You can pack them with the android kitchen, install the zip, then you do this in terminal emulator to make the system.img file:
Code:
su
cat proc/mounts
now look up the system partition, in my case it's mmcblk0p14
Code:
dd if=/dev/block/mmcblk0p14 of=/sdcard/system.img BS=4096
This will dump the system partition to system.img (for example when making an odin image)

[GUIDE] APKTool for Newbie & Noobs

Hi guys !
Bored to the death today, really. So I decided to make another guide.
So, here's APKTool Guide & SignAPK Guide for Newbies !
1. Download APKTool, you can download it here.
Also, download APKTool depencies for your OS :
Windows
Mac OSX
Linux
2. Extract files you've download to the same folder.
For Linux, extract it to /usr/local/bin. Correct the permission by adding executable permission.
3. Now, open CMD (Command Prompt). Press Windows Key + R, type cmd.exe
For Linux, just open Terminal Emulator -.-
4. Change directory to where APKTool is placed. Type these :
Code:
cd apktool directory
for example : cd C:\apktool
For Linux, just type apktool
5. Now you can freely decompile APKs, BUT ! for System APK (like SystemUI), you have to install the framework.
Extract the framework-res.apk from your ROM, and type these :
Code:
apktool.exe if framework-res.apk
for Linux :
Code:
apktool if framework-res.apk
6. Now, enjoy decompiling APK. If you're done with modifying APK, type these :
Code:
apktool b apk name
for example :
apktool b SystemUI
Happy Modding !
SignAPK Guide for Newbies
1. Download signapk.jar and testkey.zip, you need Java for your OS if you don't have it yet.
2. Place signapk.jar in the same folder as APKTool, so you can instantly sign modded APK after modding it. Also extract testkey.zip in the same folder.
3. Type these :
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 original_apkname.apk signed_apkname.apk
4. Congrats ! You can now install the APK normally or via adb.
Ooh, I think I've seen a lot of your moddings out there (if I'm not wrong). :thumbup::thumbup::thumbup:
Sent from my LG-P705 using Tapatalk
Thanks! It's really friendly! Will give it a shot when you post the signing guide!!
Keep up the good work!!!
Sent from my LG-E610 using Tapatalk
Added SignAPK guide on the second post.
Thanks for reading the tutorial.
Services.jar for Mtk Tecno S5
Please patch it for me and mail it at [email protected]
Sparda15 said:
Please patch it for me and mail it at [email protected]
Click to expand...
Click to collapse
Ha
Sent from above using xparent tapatalk blue
Sparda15 said:
Please patch it for me and mail it at [email protected]
Click to expand...
Click to collapse
its not possible,because youre odexed,we need the device connected via adb to patch it,ive say it to you in my thread,why u dont believe me bro?
Posted here 1st

[GUIDE] Change SuperUser client in ROM.zip [OPTIMA-TEAM]

Hello guys,
Today I will show you a simple method to change Superuser Client - From ChainsDD's/Koush's SuperUser to chainsfire's SuperSU.
I personally prefer the SuperSU over SuperUser.
If you are unsure, you might want to read up on it.
For a basic idea, look here - http://getandroidstuff.com/superuser-vs-supersu-android-root-management-at-its-best/
So, if you're a ROM dev/porter, and would like to replace, this is what you need to do!
What you need
Latest SuperSU and binary - can be found here
The ROM you're working on!
WinRAR (or similiar)
5 minutes of time!
Instructions
Download the SuperSU.zip
Extract it!
From the common-folder copy the superuser.apk
Open your ROM's flashable .zip via WinRAR
Navigate to /system/app
Replace the superuser.apk from the .zip we extracted
Go to our extracted SuperSU folder
From the arm-folder copy su
Navigate through ROM.zip to /system/xbin
Replace the su
WinRAR will update the archive!
Profit!
In case the above doesn't work out for you, then also copy chattr and chattr.pie from arm-folder to /system/xbin of your ROM.zip
(Thanks to @F4uzan and @-CALIBAN666- for the tip!)
Thats it!
Enjoy!!
Nice tutorial.
Seems easy!
Sent from my IdeaTab A2107A-F using xda app-developers app
One suggestion :
On some ROM it's needed to copy chattr and chattr.pie from arm folder
Great guide, btw
F4uzan said:
One suggestion :
On some ROM it's needed to copy chattr and chattr.pie from arm folder
Great guide, btw
Click to expand...
Click to collapse
Thanks, where should the chattr and chattr.pie be copied too?
I shall update OP!
system/xbin

Categories

Resources