Frequently Asked Questions - Samsung Galaxy Mini

[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.

Related

how can i compilation and decompilation the file ''blur-res.apk''?

how can i compilation and decompilation the file ''blur-res.apk''?? no matter how i compilation the file ''blur-res.apk'',it turned out the APK cannot work properly,why???
mapleshadow said:
how can i compilation and decompilation the file ''blur-res.apk''?? no matter how i compilation the file ''blur-res.apk'',it turned out the APK cannot work properly,why???
Click to expand...
Click to collapse
Moto added signatures to each apk in /system. After you re-compile the apk, you need to open both with an archive manager, and copy the META-INF folder from the old to the new.
hello friend,thank you for your reply.i understand for your answer,i also have tried this way.there are many ways of dealing with system-level APK file,i have tried most of it,every files are normal,including framework-res.apk.but the framework-res.apk didn't work well
more curious,using apktool to compile the blur-res.apk,but Decompilate it again will occur error.apktool says there is lacking some values.can you please tell me how to fix it??
G:\Android\MOTO A4G\tools\apktool132>java -jar apktool.jar d blur-res.apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\1.apk
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d5
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
UP~~~~~~~~

I can't get multitool to work

I've been trying all ****ing day to get it to work and this is as far as I have gotten. The only reason I changed to it from apk manager was that apk manager wouldn't let me recompile a jellybean app. Any ideas? The main thing tripping me up I think is that I'm using the stupid adt bundle but I can't seem to find SDK without out so it's all wonky and I have no idea what I'm doing anymore. It's been 7 hours and a lot of problems.
Code:
--------------------------------------------------------------------------
|Mon 12/17/2012 -- 17:16:35.71|
--------------------------------------------------------------------------
--2012-12-17 17:16:35-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 5.35M=0s
2012-12-17 17:16:35 (5.35 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
'""platform-tools"\adb.exe"' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
The system cannot find the path specified.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Nate\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.<init>(Unknown Source)
at java.awt.image.Raster.createInterleavedRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at brut.androlib.res.decoder.Res9patchStreamDecoder.decode(Res9patchStreamDecoder.java:39)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:68)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)

Q about doing 1% step battery icons.

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

[Q] decompiling error

hey,
im trying to decompile apks using apkmanage 5.0.2. but every time im geting this error.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
Could Not Find C:\Users\agri\Desktop\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedFlashBarService.apk
Could Not Find C:\Users\agri\Desktop\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedFlashBarService.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -7FFE0000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-v13-ERR0
I: Loaded.
I: Loading resource table from file: C:\Users\agri\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000001
I: Loading resource table from file: C:\Users\agri\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x0000000f
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
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.decode(XmlPullStreamDecoder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
im really new to editing apk files. any help would be appreciated. thanks in advance.
what u need is a tuitorial u must be missing something b4 doing decompile n compile
read it http://forum.xda-developers.com/showthread.php?t=1756953
u can try out majdinj OP to get baksmali/smali manager to work it out
http://forum.xda-developers.com/showthread.php?p=42250570#post42250570

Decompile apk of KK stock ROM

Hello all. I need a help with decompile apks especially framework-res.apk I deodexed stock apps successfully but when I tried to decompile it, I wasn't able. I searched for a few hours and tried many method and different apktool with no success. I've found only one way how is possible to do it but I can't verify it because it must be done on Linux. I'm on Windows 7 x64.
Can any of you help me?
Nobody knows?
Lucki_X said:
Nobody knows?
Click to expand...
Click to collapse
I only use linux for android development, but it should be the same. What error do u get? Because i can decompile it just fine on linux.
Hazou said:
I only use linux for android development, but it should be the same. What error do u get? Because i can decompile it just fine on linux.
Click to expand...
Click to collapse
This is a log. FYI i tried it on two different PC with no succes even though I'm able to decompile all other apks except this one from KK stock 4.4.2
|st 18.03.2015 -- 21:02:33,21|
--------------------------------------------------------------------------
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0xFFFF.
W: Invalid config flags detected. Dropping resources: style-v17-ERR0
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000103
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:222)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:182)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
I also have the same problem with framework-res.apk from 4.4.2 stock rom. Decomplie works but recompile brings up a java error ... (on Windows with APK Tools)
Lucki_X said:
This is a log. FYI i tried it on two different PC with no succes even though I'm able to decompile all other apks except this one from KK stock 4.4.2
|st 18.03.2015 -- 21:02:33,21|
--------------------------------------------------------------------------
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0xFFFF.
W: Invalid config flags detected. Dropping resources: style-v17-ERR0
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000103
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:222)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:182)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Click to expand...
Click to collapse
For android-4.4 system apps to decompile u need Java 7 and apktools 2.0. Java 8 is not supported in android and afaik apktools lower than 2.0 don't work.
Hazou said:
For android-4.4 system apps to decompile u need Java 7 and apktools 2.0. Java 8 is not supported in android and afaik apktools lower than 2.0 don't work.
Click to expand...
Click to collapse
Thank you for your advice. I didn't know it. It works for me now.
I was little bit confused because I was able to decompile the framework from your CM11 without problems and framework from stock ROM don't.

Categories

Resources