I tried several versions of AKPTool, but when compiling, I always get errors.
no problems with 4.0.3 files. any ideas?
AOKP build 29 framework-res.apk
There's a download somewhere that gives you both 1.4.2 and 1.4.3 versions of apktool.jar. You must use 1.4.2 to decompile, and 1.4.3 to recompile. You rename them so you can use the command "java -jar apktool1.4.2.jar d framework-res.apk" and to recompile, switch with the "1.4.3" and the "d" with "b". I have the full instructions on my laptop that I can post later if you want.
Sent from my CM9 ICS i897 Captivate
[*] framework-res folder
recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-320dpi
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res/mipmap-mdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\B\AppData\Local\Temp\APKTOOL6639886469626160604.tmp, -x, -S, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res, -M, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\B\AppData\Local\Temp\APKTOOL6639886469626160604.tmp, -x, -S, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\res, -M, C:\Users\B\Desktop\AutoAPKTool2.0.3d\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
Can't recompile a 4.0.4 framework-res.apk, any ideas ?
korockinout13 said:
There's a download somewhere that gives you both 1.4.2 and 1.4.3 versions of apktool.jar. You must use 1.4.2 to decompile, and 1.4.3 to recompile. You rename them so you can use the command "java -jar apktool1.4.2.jar d framework-res.apk" and to recompile, switch with the "1.4.3" and the "d" with "b". I have the full instructions on my laptop that I can post later if you want.
Sent from my CM9 ICS i897 Captivate
Click to expand...
Click to collapse
can you post here the instructions, please?
Thank you!
Have you tried the latest version of apktool v1.4.10??
http://forum.xda-developers.com/showthread.php?t=1755243
This one has fixed the need for different .jar files to decompile and recompile.
And might wanna be sure your framework-res is installed properly.
robm1911 said:
Have you tried the latest version of apktool v1.4.10??
http://forum.xda-developers.com/showthread.php?t=1755243
This one has fixed the need for different .jar files to decompile and recompile.
And might wanna be sure your framework-res is installed properly.
Click to expand...
Click to collapse
10x, I'll give it a try.
[SIZE="+3"]Frequently Asked Questions[/SIZE]
[SIZE="+2"]SAMSUNG GALAXY MINI[/SIZE]
[SIZE="+1"]This a short list of frequently asked questions in this device forum and the answers often given as a response. It should serve as a starting point for gathering knowledge and finding solutions to many common problems. Please only post in this thread with feedback on how to improve this document. Do not post "Thank you" type responses. If you have additional questions or require more help, try to find an existing thread or create your own. Do not use this as a general help thread.[/SIZE]
[SIZE="+1"]Q1: How do I root my galaxy mini?[/SIZE]to root galaxy mini many option are out there
1. flashing an update package. for this option refer Here
2. using superoneclick and here its XDA link
3. Using a method by me when others don't work, go Here
[SIZE="+1"]Q2: How to flash "X" rom?[/SIZE]flashing rom on galaxy mini is very easy no need to S-OFF no root required nothing you just need to be on gingerbread and have cwm recovery installed
just wipe data then flash rom and wipe data again
you are all set to have your custom android mobile
[SIZE="+1"]Q3: I used rom manager to have cwm on my mobile and now it's not working, what should i do now?[/SIZE]It have been told thousands of times that don't use rom manager on galaxy mini you will brick your phone
now what you can do is try to boot into download mode (vol down+home+power button) and flash a four package firmware through odin
or take your sgm to Samsung care
[SIZE="+1"]Q4: What is the difference between a galaxy mini(gt-s5570) and a galaxy mini plus(gt-s5570i)?[/SIZE]there is a big difference in both
as galaxy mini plus have a cpu with higher frequency and a better gpu
[SIZE="+1"]Q5: can i use galaxy mini plus rom on my galaxy mini or vice-versa?[/SIZE]no you can't as both the mobile have different hardware so without porting roms they cannot be flashed
[SIZE="+1"]Q6: How to flash ClockworkMod Recovery on my sgm?[/SIZE]For flashing clockworkmod recovery on your galaxy mini here is a good Guide
[SIZE="+1"]Q7: odin is not detecting my phone?[/SIZE]* you may have not installed the drivers
* your mobile may not be in download mode
* you may not have exited Kies properly
*you may not be using proper tass. ops file or odin
[SIZE="+1"]Q8: What is touch firmware update and should I do it?[/SIZE]Touch firmware update is an option to upgrade mobile's touch firmware but you should not do it as it can brick the device then flashing roms will not help
[SIZE="+1"]Q9: My galaxy mini is in bootloop please tell how to solve this?[/SIZE]When your mobile is in bootloop the best solution is to wipe data from recovery
if you made some changes to /system and then it goes in bootloop then you will need to flash your rom again
[SIZE="+1"]Q10: How to increase internal memory?[/SIZE]Firstly internal memory is fixed it cannot be increased but there are methods out there which can help you use your sdcard as internal memory
stock rom users go here
custom rom users:- after partitioning sdcard there are many methods like link2sd, s2e, ungaze script, amarullz a2sd, dta2sd
[SIZE="+1"]Q11: How to sim unlock my galaxy mini?[/SIZE]Sim unlocking is very dangerous and DO IT AT YOUR OWN RISK
while trying to unlock you may break your imei so it is better to have a backup of your bml partition before unlocking your mobile
to unlock you can go to This page
[SIZE="+1"]Q12: which is the best custom rom out there?[/SIZE]there is no best best custom rom as liking depends person by person some like stock type custom rom and some likes cm or miui so just try them all and decide by yourself which you like the most
Forum Rules | New Users Guide | XDA Tour | Report Posts
This FAQ is part of a Recognized Contributor Group Initiative. The RC's hope to cover many device forums with the FAQ's. Please look for a similar FAQ thread when visiting another device forum on XDA.
thanks The-Captainfor making this thread a sticky
Frequently Asked Questions
SAMSUNG GALAXY MINI
Do not post "Thank you" type responses. If you have additional questions or require more help, try to find an existing thread or create your own. Do not use this as a general help thread.
Q13 : Help ! Can i install Galaxy Pop ROMs on my Galaxy Next / Mini ?
A : Galaxy Pop is another name of Galaxy Mini. Same just like Galaxy Next
Click to expand...
Click to collapse
Q14 : Can i install Galaxy Mini ROM in my Galaxy Mini Plus ?
A : No, never, and DON'T do it !
Click to expand...
Click to collapse
Q15 : What is the differences between Galaxy Mini 2, and Galaxy Mini ?
A : Galaxy Mini 2 is successor of Galaxy Mini. Galaxy Mini 2 have more RAM and better in hardware sides.
Click to expand...
Click to collapse
Q16 : Hey, this ROM have bla-bla-bla bugs. Fix it !
A : Why report here, report to ROM thread. Also provide logcat to prove it !
Click to expand...
Click to collapse
Q17 : How to upgrade to Android 2.3 / Gingerbread ?
A : Many tutorials in Internet about this. This is one of i prefer.
Click to expand...
Click to collapse
Q18 : How can i take logcat ?
A : If you already have ADB and know how to use it. Then type this in CMD :
Code:
adb logcat
to save log :
adb logcat>example.txt
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Q19 : What is ADB ?
A : Android Debug Bridge, useful for developers / users that debug the device. ADB useful for many users, starting from non-geeky to geekish.
Click to expand...
Click to collapse
Q20 : What is CWM ?
A : ClockworkMod Recovery is custom recovery which brings other features rather than stock recovery.
Click to expand...
Click to collapse
Q21 : Help ! My phone have this sign > PHONE ---!--- COMPUTER
A : It's another form of download mode. Just flash stock firmware and you are good to go !
Click to expand...
Click to collapse
Q22 : My phone is bricked ? How do i fix it ?
A : There's two type of bricks, soft brick and hard brick. Soft brick can be fixed by reflashing original Firmware. Hard brick can only be fixed by replacing motherboard, which can be done in SSC (Samsung Service Center).
Click to expand...
Click to collapse
Q23 : How do i enter Fastboot mode ?
A : There's absolutely no such mode in Mini, Sony (mostly) and some other manufacturers have this mode enabled in their phone.
Click to expand...
Click to collapse
Q24 : Can i unlock Galaxy Mini bootloader ?
A : No, Mini bootloader already unlocked.
Click to expand...
Click to collapse
Q26 : Please, can you port "X" ROM ?
A : No, you are the only one that can port it. We are here to help.
Click to expand...
Click to collapse
Q25 : Can i install CWM with ROM Manager ?
A : No, and don't do it, this will lead your device to hard brick.
Click to expand...
Click to collapse
Q26 : Where's Galaxy Mini 2 Jellybean upgrade ?!
A : It's not yet available, soon maybe.
Click to expand...
Click to collapse
Q27 : Can i install other OS to Mini ? Like Windows Phone, and iOS
A : It's impossible, only Android based OS can be installed.
Click to expand...
Click to collapse
Q28 : Can we have Kernel 3.xx ?
A : AAV6 (Android ARMV6) Team are making it, they need to make an alternatives to closed source FSR Drivers. So, it may possible, but not today.
Click to expand...
Click to collapse
Q29 : Does Galaxy Mini 2 have Kernel 3xx ?
A : Mini 2 is a ARMv7 Powered phone, many ARMv7 phone get Kernel 3xx from both official support and unofficial. Wait until some developers build it, OR wait for Samsung make Jellybean upgrade, most official Jellybean upgrade uses kernel 3.xx
Click to expand...
Click to collapse
Q30 : How to root GT-S5570B ?
A : The "B" on the on of GT-S5570B means Brazillian Phone. GT-S5570B is a regular Galaxy Mini, but produced in Brazil. So the rooting procedure would be same like regular GT-S5570.
Click to expand...
Click to collapse
Q31 : Which recovery is best, TWRP or CWM ?
A : Basically, nothing is perfect. Choose what you desire, TWRP is for curious one, CWM is for regular use.
Click to expand...
Click to collapse
Q32 : Can i change kernel in "X" ROM ?
A : Some ROM have custom kernel(s), like CM10.1. Example of these custom kernel are BadAss Kernel for CM10.1, AOKP JB, AOSP, etc. But i warn you, your ROM must compatible with the kernel you want to flash.
Click to expand...
Click to collapse
Q33 : Can i install Google Chrome in Galaxy Mini ? Mini already have Android version 4xx !
A : No, it can't. Galaxy Mini have ARMv6 Processor, Chrome needs ARMv7 Processor to work.
Click to expand...
Click to collapse
Q34 : Does USB OTG works on Mini ?
A : No, and won't. USB OTG (On-The-Go) needs a hardware support, not only software.
Click to expand...
Click to collapse
Q35 : After i flash new Stock ROM from "X" Country, i don't have any signal !
A : It can be caused by unsupported baseband for your country. Please flash a four packaged firmware for your country to solve this.
Click to expand...
Click to collapse
Q36 : How to revert back to Stock ROM after flashing Custom ROM ?
A: Flash a Stock ROM with Odin. The stock ROM must be mean for your country.
Click to expand...
Click to collapse
Q37 : Does the baseband affect the signal of the phone?
A : No, but in some rare cases, it does.
Click to expand...
Click to collapse
Forum Rules | New User Guide | XDA Tour | Report Post
Click to expand...
Click to collapse
This FAQ is part of a Recognized Contributor Group Initiative. The RC's hope to cover many device forums with the FAQ's. Please look for a similar FAQ thread when visiting another device forum on XDA.
Moving Pkg.Apk
i'm running root explorer, i wanna move file pkg.apk from this /mnt/asec/com...(bla-bla-bla)../pkg.apk To internal memory /data/app/pkg.apk
The Problem is when i hold file pkg.apk and then i'm clik move suddenly i'm see this pop up "Warning, pkg.apk cannot be moved because the file sistem is read-only" like picture from the attcment
can you tell me how to make this file availabe moved ?
Thanks
Rhonyy said:
i'm running root explorer, i wanna move file pkg.apk from this /mnt/asec/com...(bla-bla-bla)../pkg.apk To internal memory /data/app/pkg.apk
The Problem is when i hold file pkg.apk and then i'm clik move suddenly i'm see this pop up "Warning, pkg.apk cannot be moved because the file sistem is read-only" like picture from the attcment
can you tell me how to make this file availabe moved ?
Thanks
Click to expand...
Click to collapse
i think you have to first change the premission of that folder (/mnt/asec/com...(bla-bla-bla)../pkg.apk) to rw--r--r for time being then copy that file to wanted folder and then again set the permission to the first one as it was earlier of the same folder(/mnt/asec/com...(bla-bla-bla)../pkg.apk )
just give it a try. hope it works:good:
Rhonyy said:
i'm running root explorer, i wanna move file pkg.apk from this /mnt/asec/com...(bla-bla-bla)../pkg.apk To internal memory /data/app/pkg.apk
The Problem is when i hold file pkg.apk and then i'm clik move suddenly i'm see this pop up "Warning, pkg.apk cannot be moved because the file sistem is read-only" like picture from the attcment
can you tell me how to make this file availabe moved ?
Thanks
Click to expand...
Click to collapse
you see in upper right corner, theres 'mount r/w' button. click it, and youd able to move the file.
Thanks
Makasih langit biru
I want to tell both of you that
This thread is not for any kind of discussion (read first carefully) please use another thread for discussion
Members are allowed only to write how to improve the faq. Nothing else can be discussed here
@f4uzan
It's A humble request to make your 2nd post's layout according to the 1st post or else remove the content (faq is of specific layout and it cannot be changed sooooorrrrrrry)
help please
Hi i have an Samsung galaxy pop plus S5570I i have intalled the [CUSTOM ROM] [KERNEL] [PORT] [ICS/Jelly Bean mod] [ 04/11/2012] JELLYBLAST V3.0.3 for GALAXY MINI POP PLUS [GT-S5570i] it's great but I need arabic language didn't work i have tried that Arabic V3.Zip but it didn't wont to install please can someone help me pleaseee
I use Mini 2, when I put my device in CWM/Recovery mode to use installation zip with sideload, my adb command say "device is offline". so? how can use sideload if my device always offline in CWM/recovery mode? may be the problem is with my samsung driver? I use win8. Thanks before, and sorry for my bad eng
dheeraj (dhlalit11) said:
@f4uzan
It's A humble request to make your 2nd post's layout according to the 1st post or else remove the content (faq is of specific layout and it cannot be changed sooooorrrrrrry)
Click to expand...
Click to collapse
Done, it's more like 1st post.
Sorry :angel:
Flash Galaxy Mini
Hello , I apologize because probably you have answered this many times but I can not find / understand it , how do I flash CM 10.1 on my Galaxy MIni , I mean through CWM apply zip from SD card or with Odin , Flastool ???
many many thanks for your help
You can flash it from cwm recovery through install from sdcard option
kernel
I understand this is NOT the place to ask,but I'm trying to find answer for hours: please tell me,if I have custom rom (emanon v6) on mini,and want to change it,how do I know what rom goes with what kernel,or do I get matching kernel with any rom? I really dont want to mess with kernels,I dont know that,I just want different custom rom.I'm afraid I will brick my phone if I flash some rom on my curent kernel,and they dont match
Hello
As You can read in the first post this not a general questions thread
You can easily get the answers by googling
Requesting mod to delete all the offtopic post of this thread day after yesterday
dheeraj (dhlalit11) said:
Hello
As You can read in the first post this not a general questions thread
You can easily get the answers by googling
Requesting mod to delete all the offtopic post of this thread day after yesterday
Click to expand...
Click to collapse
following error occured while decompiling system ui.apk in apk manager???
PHP:
mework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, name=
color, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
color, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
color, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
color, value=0x02050002
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050003
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x02050000
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Unknown Source)
... 5 more
The system cannot find the file specified.
--------------------------------------------------------------------------
|Mon 04/15/2013 -- 16:36:26.71|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
Could Not Find D:\apk_manager_4.9\place-apk-here-for-signing\../place-apk-here-f
or-signing/signed.apk
--------------------------------------------------------------------------
|Mon 04/15/2013 -- 16:37:13.67|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
java.io.FileNotFoundException: ..\place-apk-here-for-modding\unsignedJobManager.
apk (The system cannot find the file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:437)
Could Not Find D:\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedJobManager.apk
java.io.FileNotFoundException: ..\place-apk-here-for-modding\unsignedJobManager.
apk (The system cannot find the file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:437)
Could Not Find D:\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedJobManager.apk
--------------------------------------------------------------------------
|Mon 04/15/2013 -- 18:12:51.60|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
Android Debug Bridge version 1.0.31
-d - directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s <specific device> - directs command to the device or emulator with
the given
serial number or qualifier. Overrides ANDROID_S
ERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices [-l] - list all connected devices
('-l' will also list device qualifiers)
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number
is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number
is specified.
Using this command with no additional arguments
will disconnect from all connected TCP/IP devic
es.
device commands:
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
adb sync [ <directory> ] - copy host->device only if changed
(-l means list but don't copy)
(see 'adb help all')
adb shell - run remote shell interactively
adb shell <command> - run remote shell command
adb emu <command> - run emulator console command
adb logcat [ <filter-spec> ] - View device log
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp - list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --
iv <hex-encoded iv>] <file>
- push this package file to the device and instal
l it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data
)
('-s' means install on SD card instead of inter
nal storage)
('--algo', '--key', and '--iv' mean the file is
encrypted already)
adb uninstall [-k] <package> - remove this app package from the device
('-k' means keep the data and cache directories
)
adb bugreport - return all information from the device
that should be included in a bug report.
adb backup [-f <file>] [-apk|-noapk] [-shared|-noshared] [-all] [-system|-nosy
stem] [<packages...>]
- write an archive of the device's data to <file>
.
If no -f option is supplied then the data is wr
itten
to "backup.ab" in the current directory.
(-apk|-noapk enable/disable backup of the .apks
themselves
in the archive; the default is noapk.)
(-shared|-noshared enable/disable backup of the
device's
shared storage / SD card contents; the defau
lt is noshared.)
(-all means to back up all installed applicatio
ns)
(-system|-nosystem toggles whether -all automat
ically includes
system applications; the default is to inclu
de system apps)
(<packages...> is the list of applications to b
e backed up. If
the -all or -shared flags are passed, then t
he package
list is optional. Applications explicitly g
iven on the
command line will be included even if -nosys
tem would
ordinarily cause them to be omitted.)
adb restore <file> - restore device contents from the <file> backup
archive
adb help - show this help message
adb version - show version num
scripting:
adb wait-for-device - block until device is online
adb start-server - ensure that there is a server running
adb kill-server - kill the server if it is running
adb get-state - prints: offline | bootloader | device
adb get-serialno - prints: <serial-number>
adb get-devpath - prints: <device-path>
adb status-window - continuously print device status for a specifie
d device
adb remount - remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader - reboots the device into the bootloader
adb root - restarts the adbd daemon with root permissions
adb usb - restarts the adbd daemon listening on USB
adb tcpip <port> - restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp <tty> [parameters] - Run PPP over USB.
Note: you should not automatically start a PPP connection.
<tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ <directory> ]
<localdir> can be interpreted in several ways:
- If <directory> is not specified, both /system and /data partitions will be u
pdated.
- If it is "system" or "data", only the corresponding partition
is updated.
environmental variables:
ADB_TRACE - Print debug information. A comma separated list
of the following values
1 or all, adb, sockets, packets, rwx, usb, sync
, sysdeps, transport, jdwp
ANDROID_SERIAL - The serial number to connect to. -s takes prior
ity over this if given.
ANDROID_LOG_TAGS - When used with the logcat option, only these de
bug tags are printed.
--------------------------------------------------------------------------
|Mon 04/15/2013 -- 18:14:33.56|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
--------------------------------------------------------------------------
|Mon 04/15/2013 -- 18:15:08.85|
--------------------------------------------------------------------------
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
Could Not Find D:\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-f
or-modding/signedSystemUI.apk
Could Not Find D:\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Documents and Settings\Intel\apktool\fra
mework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a9
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010300a9
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown So
urce)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown
Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown So
urce)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknow
n Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unkno
wn Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown So
urce)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Press any key to continue . . .
hit the spoiler.....
FAQs Part 2 is updated !! It covered more question that commonly asked.
Hmm... Very good.
FAQ Part 2 is UPDATED once more !
Changelogs for Part 2 :
# Fixed layout
# More question(s) added (which cover many question asked on Q&A)
# Fixed typo (typing error)
Back to stock?
F4uzan said:
Frequently Asked Questions
SAMSUNG GALAXY MINI
Do not post "Thank you" type responses. If you have additional questions or require more help, try to find an existing thread or create your own. Do not use this as a general help thread.
Q13 : Help ! Can i install Galaxy Pop ROMs on my Galaxy Next / Mini ?
Q14 : Can i install Galaxy Mini ROM in my Galaxy Mini Plus ?
Q15 : What is the differences between Galaxy Mini 2, and Galaxy Mini ?
Q16 : Hey, this ROM have bla-bla-bla bugs. Fix it !
Q17 : How to upgrade to Android 2.3 / Gingerbread ?
Q18 : How can i take logcat ?
Q19 : What is ADB ?
Q20 : What is CWM ?
Q21 : Help ! My phone have this sign > PHONE ---!--- COMPUTER
Q22 : My phone is bricked ? How do i fix it ?
Q23 : How do i enter Fastboot mode ?
Q24 : Can i unlock Galaxy Mini bootloader ?
Q26 : Please, can you port "X" ROM ?
Q25 : Can i install CWM with ROM Manager ?
Q26 : Where's Galaxy Mini 2 Jellybean upgrade ?!
Q27 : Can i install other OS to Mini ? Like Windows Phone, and iOS
Q28 : Can we have Kernel 3.xx ?
Q29 : Does Galaxy Mini 2 have Kernel 3xx ?
Q30 : How to root GT-S5570B ?
Q31 : Which recovery is best, TWRP or CWM ?
Q32 : Can i change kernel in "X" ROM ?
Q33 : Can i install Google Chrome in Galaxy Mini ? Mini already have Android version 4xx !
Q34 : Does USB OTG works on Mini ?
Q35 : After i flash new Stock ROM from "X" Country, i don't have any signal !
This FAQ is part of a Recognized Contributor Group Initiative. The RC's hope to cover many device forums with the FAQ's. Please look for a similar FAQ thread when visiting another device forum on XDA.
Click to expand...
Click to collapse
How to revert back into stock ROM, after using custom ROM??
I just used google to browse and see the result sorry but i forgot the link.
Ok Sony doesn't have the 1% step in battery icons and charging icons.
I want to personally mod the SystemUI.apk to have that 1% percent icon steps.
So, I already put more than 200 icons in res/drawable-xhdpi named stat_sys_battery_xx and stat_sys_battery_charge_anim_xx both from 0 to 100.
Edited the stat_sys_battery and stat_sys_battery_charge xml files.
I also edited the public.xml to declare the drawable icons there but I still have compiling error that the drawable path is not specified.
Any inputs guys?
Tapatalked from my TX
What exactly have you done?
Here's what i do using apkmanager:
Decompile systemui.apk
Add pngs
Edit stat_sys_battery.xml and stat_sys_battery_charge.xml
Delete public.xml, it will regenerate like Dr Who
Compile choosing system apk and answer yes and yes
Check log for errors
Install
:good:
Edit: BTW i bet if you delete public.xml and try again it works.
@dully79,
1.decompile
2.placed the icons in /drawable-xhdpi, edit stat_sys_battery and stat_sys_battery_charge xml's
3.delete public.xml in /res/values folder
4.compile,
5.answer, yes, and on the "keep" folder i deleted resources.arsc, the stat_sys_battery and stat_sys_battery_charge xml's (just curious why no values folder there
6.enter
--------------------------------
--------------------------------------------------------------------------
|Sat 04/13/2013 -- 11:22:45.26|
--------------------------------------------------------------------------
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
--------------------------------------------------------------------------
|Sat 04/13/2013 -- 11:25:20.95|
--------------------------------------------------------------------------
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
^C--------------------------------------------------------------------------
|Sat 04/13/2013 -- 11:26:43.90|
--------------------------------------------------------------------------
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Ry\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
The system cannot find the file specified.
The directory is not empty.
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
Seems no error but when I tried to decompile it to make sure it is really ok, a lot of errors came out:
...........................................
...........................................
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x7f020135
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x7f020135
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x7f0200fc
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:50)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:61)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:351)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Press any key to continue . . .
Values gets compiled into resources.arsc. And vice versa.
Did the new SystemUI work?
Have you installed SystemUI?
You could use tickle my Android, the main man Timin8r told me about that.
dully79 said:
Values gets compiled into resources.arsc. And vice versa.
Did the new SystemUI work?
Have you installed SystemUI?
You could use tickle my Android, the main man Timin8r told me about that.
Click to expand...
Click to collapse
I haven't.
I'll try when I get home.
Tapatalked from my TX
use these XMLs which i edited today for reference
it works on my odex TX
So, I tried to use UOT kitchen to add battery percentage to my phone. I have StockRom evolution because it's the fastest ROM and it my battery last longer with it but I'd like to be able to modify it with UOT kitchen. I tried to upload framework-res.apk, SystemUI.apk and twframework-res.apk from the phone to the Kitchen but then, when I try to pick up the completed file, it tells me that it failed because of an SHTF error...
Here's the error log:
Decompiling framework-res.apk UOT-10-17-20-12-1
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
at sun.awt.image.ByteInterleavedRaster.setDataElements(ByteInterleavedRaster.java:546)
at java.awt.image.BufferedImage.setRGB(BufferedImage.java:988)
at brut.androlib.res.decoder.Res9patchStreamDecoder.drawHLine(Res9patchStreamDecoder.java:93)
at brut.androlib.res.decoder.Res9patchStreamDecoder.decode(Res9patchStreamDecoder.java:53)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:73)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Decompiling SystemUI.apk UOT-10-17-20-12-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_on.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_off.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-10-17-20-12-1
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Click to expand...
Click to collapse
Nico3d3 said:
So, I tried to use UOT kitchen to add battery percentage to my phone. I have StockRom evolution because it's the fastest ROM and it my battery last longer with it but I'd like to be able to modify it with UOT kitchen. I tried to upload framework-res.apk, SystemUI.apk and twframework-res.apk from the phone to the Kitchen but then, when I try to pick up the completed file, it tells me that it failed because of an SHTF error...
Here's the error log:
Click to expand...
Click to collapse
Looks lie that you have two errors, the first is that in:
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_on.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_off.9.png". Renaming it to *.png.
You have to change the extension to png image and second, you have added java to the Path environment variable.
Toyerd24 said:
You have to change the extension to png image and second, you have added java to the Path environment variable.
Click to expand...
Click to collapse
I solved the 9patch chunk error using xUltimate-9patch, now I just have to solve the Java error. I'm still trying to find out how to add the path environment variable...
How do I restore the original statusbar from a modified ROM?