yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pirlano:
Already done (everything is in Java at this level so it can be decompiled almost to source code, so it's the first thing i did), framework just contains Google APIs that call *.so lib functions, and just explodes a full string to single values (but full string is sent by libs)

camera apps (or other apps as well) can only set supported parameters by calling Google APIs (that call libs), if i want to set a non standard value, libs check the value and reply with an error (unsupported parameter, changing it to a default one). So values are stored in low level. :)

Maybe values are in the libs, but i don't know how some structs are stored in low level assembly, maybe i cannot find them because of my ignorance :)

In some open source camera HAL libs (for other phones but should be similar) i found some structs like these:

const char *preview_sizes =
"1280x720,800x480,768x432,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144";
const char *video_sizes =
"1280x720,800x480,720x480,640x480,352x288,320x240,176x144";
const char *preferred_size = "640x480";
const char *preview_frame_rates = "30,27,24,15";
const char *preferred_frame_rate = "15";
const char *frame_rate_range = "(15,30)";

or

const char CameraHardware::supportedPictureSizes [] = "640x480,352x288,320x240";
const char CameraHardware::supportedPreviewSizes [] = "640x480,352x288,320x240";
const supported_resolution CameraHardware::supportedPictureRes[] = {{640, 480} , {352, 288} , {320, 240} };
const supported_resolution CameraHardware::supportedPreviewRes[] = {{640, 480} , {352, 288} , {320, 240} };

typedef struct {
size_t width;
size_t height;
} supported_resolution;
[Android Software/Hacking General [Developers Only]] xd.bx:
I see! You could try having a look at the stack to identify the caller hierarchy up to the JNI, and also in IDA Pro check the xref to the function. At some point the values will be generated. It is possible that the string itself is constructed from an array of dwords, so checking for the little-endian hexadecimal dwords in the .so could be useful.

Regarding structs, it might be easier to identify them in IDA Pro, however I'm not sure it is possible to create a struct type in gdb (by default it will use the symbols, but for proprietary libs there are none...).

Note there is support for gdbserver in IDA Pro, which allows you to trace the code you have annotated. It is much nicer than the text interface of gdb, however the gdb client plugin in IDA can be flaky at times. Note that in this case, you'll want to loader mediaserver then load any additional .so in IDA to be able to trace them all. In addition, it would be a good idea to disable ASLR (IDA Pro doesn't handle library randomization too well). Run "echo 0 > /proc/sys/kernel/randomize_va_space"
[Android Software/Hacking General [Developers Only]] pirlano:
Thank you again for all useful info! :)

It seems that strings are built by some "string" functions, so I think you are right, but it's a bit hard with static analysis.

Now I'm trying to connect IDA Pro with gdb, but I'm stuck with a connection error:

Plan B: I can remove lib checks when setting parameters, but it's an hacky solution, I prefer clean solutions...

EDIT: I missed "adb forward tcp:1234 tcp:1234" :/

now i got "irs_recv: Timeout" error

EDIT 2: Attached! :D (switched from arm/android debugger to gdb)

EDIT 3: I don't know how to set breakpoint, if I try to set with F2, process never stops, if I try to set it via console i got an error...
[Android Software/Hacking General [Developers Only]] xd.bx:
Glad to know! I'll write a short tutorial of gdbserver +IDA a bit later using mediaserver as an example, in two different cases: first one with symbols, second out without.
[Android Software/Hacking General [Developers Only]] xd.bx:
Alright, so I'm running into the same issue when trying to trigger a breakpoint and trace stuff. On the other hand gdb works fine. /methink IDA Pro's internal gdb client is not that good. In fact it would be rather nice to have an open-source replacement for this piece of software, one that makes stepping through proprietary code less of a chore.
[Android Software/Hacking General [Developers Only]] DualJoe:
Ida 6.1 also has it's own debug server (android_server). It's much better than gdb. If you use gingerbread copy /system/bin/app_process from a froyo rom to your system. I couldn't get it to work in ics so far.
[Android Software/Hacking General [Developers Only]] omegaRED7:
Hi all,

I've been trying to debug some camera issues on the Samsung Galaxy S+ CM9, currently the camera works but force closes after taking 4 photos (on the 5th photo it FCs due to a SIGFPE).

The camera implementation is through a HAL, which is made originally for HTC devices but obviously works on other devices too.

Now, the thing is that media server does not offer any debug info/symbols, and i can of course recreate the FC/SIGFPE on the 5th photo but i have no idea what next. I can do a backtrace and it gives me 5 entries, basically all pointing to libc (kill, raise, idiv0 etc). What is the next step, how do I find the offending code/function?

I realize this is a very noob question, but I'm learning as I go and any pointers would be very helpful.

Thanks in advance!
[Android Software/Hacking General [Developers Only]] gekkehenkie11:
[MENTION=4096265]xd.bx[/MENTION] Wonderful thread, thank !! First issue I encountered though it that once I hit a breakpoint inside some lib that's loaded by mediaserver, and it freezes mediaserver, it seems mediaserver crashes if it waits to long. Not sure if that's Android sending a terminate signal to the 'frozen' mediaserver or not, just wondering if anybody encountered this and maybe had a solution.
[Kindle Fire General] ctgchaos:
I would like to add Dutch, French and German to my KF. I wouldn't mind being without these languages but the KF sometimes doesn't switch off the automatic word correction e.g. when I'm typing a mail in Gmail,...
[Kindle Fire General] Thelgow:
Last I knew since the KF was designed for the US, there are no options whatsoever to add languages by default.

I did see the swift key install said it could have 3 languages supported at a time.

You might want to give that a try.
[Kindle Fire General] ctgchaos:
I have rooted my KF, so I can change the keyboard, even though I'm quite happy with it. I do wonder though, why only English is offered since in the USA, English is not the only language, no?
[Kindle Fire General] Thelgow:
It's the official language therefore the only mandatory one.

The site is all English from what I've seen, etc etc.

Everything I've read is this product was designed strictly for the US.

Just how the majority of video games are in Japan. I don't get mad that I can't get them in English if I export.
[Kindle Fire General] falcon212:
Root your device, install "Any Cut" from Market and then create shortcut

New Shortcut - Activity - Input Languages

It will then create shortcut onto your home screen, from there you change the language :D hope it helps
[Kindle Fire General] skywalker_67:
Use SUPER MANAGER and change/add the following 2 lines in file /SYSTEM/BUILD.PROP (requires ROOT privileges)

ro.product.locale.language=xx

ro.product.locale.region=XX
[Kindle Fire General] ctgchaos:
Thanks, both of you guys! Is there a different end result with both of these steps? Also (I know this is stretching it a bit), is there a way to change languages on the fly? I do use English half of the time too, so it would be nice to change the language on the fly.

Thanks a bunch!
[Kindle Fire General] SueBeeBH:
hi, It looks interesting, but what about Right to Left languages such as Hebrew and Arabic?

Is there any chance to install Arabic Keyboard? and Browsing Arabic websites?

Thanks a bunch! as ctgchaos said :)
[Thunderbolt General] jsminnis:
I am looking to trade my near mint conditon Samsung Droid Charge for a Thunderbolt. It has a Black Carbon Skinz cover and screen protector on it. The top snap on the back cover broke but really doesn't effect the phone and it comes with a case / holster with built in kickstand. Anyone interested please contact me manigma77@gmail.com .

I'm ready for a change and don't have any money right now.

MODS, if this is in the wrong section, I apologize and feel free to remove.
[Thunderbolt General] mattmartin77:
wrong section. You will get a lot more responses if it is moved to the trade section of the B/S/T sub forum.
[Thunderbolt General] mrkite38:
Yes. Any thread like this needs to be in the marketplace.
[Samsung Galaxy Fit GT 5670] app_addict:
Guys, can you give a link where i can download street view for google maps? I'm from the Philippines and I badly need a street viewer. Thanks :D
[Samsung Galaxy Fit GT 5670] Deshabilitado:
is not in android market? :confused:
[Samsung Galaxy Fit GT 5670] D@rekills4:
It is..... :S

https://market.android.com/details?id=com.google.android.street&hl=en
[Samsung Galaxy Fit GT 5670] Mello^:
It sure is on the Android Market but it cannot be downloaded through Android Market as it is not available for our country to be downloaded yet (That's what Android Market says on my page)
[Samsung Galaxy Fit GT 5670] app_addict:
what i mean is, google maps street view.
[Samsung Galaxy Fit GT 5670] Hakim Rahman:
try to find at http://xdaforums.com/showthread.php?t=975390&page=27
[Galaxy Tab Themes and Apps] Oseloth:
Hello all,

Does anybody of you who use opera mobile have problemd with opera not saving last opened pages. It happens to me. I surf. I have few opened pages (reading in progres) I make a pause leave tab. I only minimize app. After half a hour I open opera and there is nothing. I do have history but all the content and tabs areclosed and reset. Why. Stock browser memorize last opened pages.

Thanks
[Galaxy Tab Themes and Apps] neubauej:
Unless I am mistaken that simply means opera got kicked out of memory is all.

The stock browser seems to stay in memory much better.

Of course i could be wrong..
[T-Mobile Sidekick 4G] KaiDaHawaiianGuy:
So I'm changing plans and I was wondering if I should get the amaze/ my touch 4g or just stick with this one...I like multitasking and usually have about 5-7 text convos always coming in and out while running facebook and browsing the web..any advice?
[T-Mobile Sidekick 4G] tylermaciaszek:
the amaze is your option and the reasons are

the dual core 1.5ghz (multitasking will be smooth and simple and overall enjoyable expierence)

screen size 4.5" (good size for on screen keyboard and good size for browsing web and playing games)

build quality (its a htc device enough said)

Runs on faster tmobile network ( faster speed)
[T-Mobile Sidekick 4G] KaiDaHawaiianGuy:
Yeah I have big thumbs lol...so the keybaord on the amaze would be fine?
[T-Mobile Sidekick 4G] Optimusg2x:
Actually the amaze screen size is only 4.3in.
[T-Mobile Sidekick 4G] Jax184:
If you really do a lot of texting, it's my opinion that nothing can replace a keyboard. I've used 4"screen phones like my friend's Optimus, and while it was nice and fast, my ability to enter text was agonizingly slow.
[T-Mobile Sidekick 4G] tylermaciaszek:
oops my bad, thought it was 4.5 well still 4.3 is big enough for a nice on screen keyboard

although nothing can replace a keyboard nothing can replace the raw power the amaze has
[T-Mobile Sidekick 4G] Shystep:
Go with the amaze it fast and good had that phone before my sidekick and wished I didn't change its got for mutitasking unlike the sidekick it doesn't stutter I had like 12 apps open and it still fast unlike the bsidekick I had like 4 apps open and my phone just crashed
[T-Mobile Sidekick 4G] BlackBoy88:
Shystep, is the sidekick that bad? I'm thinking about getting the sidekick 4g (someone is selling on craigslist). However, I have my reservations with people complaining about text not being revived nor sent and missing calls and text because of random changes in notifications settings....

Also, the htc amaze 4g has a 16:9 ratio, which is very very narrow when holding vertically. I would think one with big hands may this to be small. Essentially, it like a taller iphone...and I hate typing on the iphone....
[T-Mobile Sidekick 4G] yoyowhatup22:
the sidekick aint that bad, i paid 200$ off contract, and it was worth every penny. id proly of payed 250 and still felt good about it.
[T-Mobile Sidekick 4G] ncmacasl:
I was a long time Danger Sidekick user and now have the Sidekick 4G. Seems the Bloatware Skin that Samsung added is slowing it down and causing it to crash way too often. I have NOT rooted my phone but found an App Killer app that seems to be effective in counteracting the bloatware and makes the phone usable: https://market.android.com/details?id=com.mobo.task.killer

I have it set for 70% every 30 minutes and it helps a LOT. you can set which apps to kill and not kill.
[T-Mobile Sidekick 4G] badboi_zero:
I still have my SK4G. But I got a mytouch 4g (not the slide) off craigslist. I got used to typing on-screen as I thought I absolutely needed a hardware keyboard. I want the Amaze because of its specs, basically the camera.

Though outdated, the mytouch 4g still holds its own. It has 768 MB RAM, 1GHZ snapdragon 2 processor. Of all the things I did on the phone it was plenty fast. I even played Gameloft Modern Combat 2 (or 3?) on it, which is similar to Modern Warfare shooters, and it had zero problems!!

I have the SK4g and upgrading to the MT4G was awesome. Unless you have the money or don't mind renewing your contract and want the latest and greatest specs, go with the Amaze 4G. MT4Gs you can find cheap on Craigslist now. I'm keeping my SK4G just for the keyboard if I need to type documents on the go.
[Samsung Galaxy Fit GT 5670] app_addict:
Guys, please help me out on how to convert .jar and .jad to APK format. I'm sick to this. Help me please. Thanks :D
[Samsung Galaxy Fit GT 5670] sedhasukhdeep:
Not that easy I guess..

you have to decompile those files and then covert that coding to the android system and then recompile it
[Samsung Galaxy Fit GT 5670] PuiaAndrei:
I think is very complicated. Better find games/apps like those u want to convert. I mean find a substitute for them
[Samsung Galaxy Fit GT 5670] a.cid:
try this

http://netmite.com/android/srv/2.0/getapk.php

though finding a substitute is really better than this....
[Android Themes] Moribitotech:
Android:

https://market.android.com/details?id=com.andev.mkapps.sillybirdschristmas

Happy Christmas

Silly Birds Christmas Live Wallpaper

Silly Birds are getting ready for Christmas, join to silly bird santa, elf, greench,

angel and more...

TABLETS & PHONES

8 DIFFERENT SILLY BIRD CHRISTMAS

- Silly Bird Christmas

- Silly Bird Christmas With Gift

- Silly Bird Christmas Elf

- Silly Bird Christmas Santa

- Silly Bird Christmas Greench

- Silly Bird Christmas With Bell

- Silly Bird Christmas Angel

- Silly Bird Christmas With Sock

SUPPORTED RESOLUTIONS*

1280x800, 1280x720, 480x854, 480x800, 600x800, 320x480

(Horizontal or vertical orientation, High quality images for each device)

* If you want the app in your phone, and your phone is not support the scrren resolutions for this app

let us know by commenting, we will update for new resolutions.

ONSCREEN CONTROLS

Think your screen as 9 equal buttons, each button creates a different silly bird except center button

(Center button removes the latest created silly bird)

FEATURES & SETTINGS

+ Tap screen to create a silly bird (Not Center Of Screen)

+ Tap center of screen screen to remove a silly bird (Balancing Population)

+ Population Settings (1-100 Birds)

+ Enable or Disable of creation of each silly bird

+ Clever device orientation detection

Happy Christmas You All :)
[Android Themes] sackynuts:
Thx :-):-)
[Android Themes] -Grift-:
something new.... :D
[Barnes & Noble Nook Tablet] e.mote:
https://market.android.com/details?id=com.digitalleisure.dragonslair
[Barnes & Noble Nook Tablet] rmm200:
Sort of a cryptic reference to an Android version of Dragon's Lair (not free), which does seem to have stunning graphics. 25meg download; would love to see someone here review it on the NT. My kind of game...
[Barnes & Noble Nook Tablet] e.mote:
Nostalgia ain't what it used to be.

I kinda regret spending the money, since the game lasted about 20mins from start to finish (yeah, I finished DL way back when). The graphics were 480x320, so not hi-res, and many of the scene animations were truncated.

The data portion is a 180MB+ download, and they're all MV4s which are viewable.
[G2 and Desire Z Q&A, Help & Troubleshooting] jonze5:
Boot loop Boot loop Boot loop.

this is what i see when i take bootloader.

vision pvt SHIP S-ON

HBOOT-0.82.0008

MICDROP-0425

RADIO-26.08.04.30_M3

eMMC-boot

Apr 13 2011, 14:51:54

it has stock recovery.

its not rooted as u can see.

the problem is it wouldnt go past the g2 screen.

any help will be apreciated.
[G2 and Desire Z Q&A, Help & Troubleshooting] hoffmas:
Try power & volume + to enter recovery and wipe cache... If this doesn't help also wipe data
[G2 and Desire Z Q&A, Help & Troubleshooting] jonze5:
that didnt help but thanks
[G2 and Desire Z Q&A, Help & Troubleshooting] jerl92:
Humm...

So your stuck with a stock device

i will recomand to you - shipment rom

like :

http://shipped-roms.com/index.php?category=android&model=Vision

SEARCH the file name before on google to be sure that the file you took will match with your carrer

IF is EXE file plug your devices to pc on HBOOT, execute exe file and WAIT DON'T UNPLUG even if it will take more that a hour
[Xperia Arc General] bradgh:
new frimware for arc and arcs

4.0.2.D.0.4

Arc:

http://www.ptcrb.com/vendor/complete/view_complete_request_guest.cfm?modelid=18648

ARC S:

http://www.ptcrb.com/vendor/complete/view_complete_request_guest.cfm?modelid=20152
[Xperia Arc General] tomatos:
Yes, good news :D
[Xperia Arc General] soldiers33:
is this ice cream? :D
[Xperia Arc General] lukesjeans:
i'd think ice cream, being a huge leap from gingerbread, would be build 5.0 but its possible.
[Xperia Arc General] tiborprogmed:
hi

maybe this is available on WOTAN, and on EMMA :

http://4pda.ru/forum/index.php?showtopic=237280&st=7180

http://www.wotanserver.com/en/sony-ericsson/se/xperia-arc-s-lt18/unlock-tool/debranding-flash

do anybody have these softwares?
[Xperia Arc General] adieeluv:
maybe 2.3.5
[Xperia Arc General] HorvathTheWizard:
Nothing on Wotan.
[Xperia Arc General] realfelix:
no way that this is ice cream sandwich.. knowing SE they will make the buildnumber to something like 5.0.A.0.1 (update 1 like X10 2.1 update1) so this is 2.3.5 i guess, which doesn't contain the AOS bug anymore(battery drain in .42 and .58) major bug fixes :)
[Xperia Arc General] chitose_ndy:
just please someone upload the ftf after its released please :)
[Xperia Arc General] soldiers33:
I dont have any battery drain issue and im on 58
[Xperia Arc General] jason_jiang:
i don't think so

if you have watched the leaked Nozomi demo video you will find it uses 2.3 system but has a version number starting with 6.0

perhaps SE will use a larger number than 6.0 for ICS
[Xperia Arc General] lukesjeans:
whats this leaked video?
[Xperia Arc General] Mr.Krypton:
I don't even hav a battery issue... used 4 days with below

1. 1hour of call

2. 10-20 txtz

3. 15 mins of HSPA

4. 30 mins of Music

:) And my Arc from UK...

doesn't make sense :) because you can't tell with numbers... It's a Old video before ICS... anyway I hope D is ICS :)

---------- Post added at 11:28 AM ---------- Previous post was at 11:22 AM ----------

Siddath sai G is from Sony Ericsson... He said Jan 2012 will be the release of ICS... If they plan to skin it :(

https://twitter.com/#!/ssaig

---------- Post added at 12:16 PM ---------- Previous post was at 11:28 AM ----------

Here we go ! He confirmed It's Android 4.0.1 it's a dev version :cool::cool::cool::cool:
[Xperia Arc General] moolash:
battery issue

I did have a battery issue on .42.

Gotta try this one.
[Xperia Arc General] squalldua:
i'm using .42

no battery issue so far :cool:

i hope this really ICS, that would be a perfect xmas present from sony :D
[Xperia Arc General] kocurmatus:
No Battery issue on .42 or .58
[Xperia Arc General] 0pt1mus arcan0id:
its just 2.3.4 branded

4.0.2.D.0.4 (Sony Ericsson Xperia arc)

AVAILABLE LANGUAGES

Cellcom Israel (2.3.4) (LT15a) as mention on the wotan server

I am also excited about ICS but I think its too early to expect ICS from sony

Maybe they willl roll out ICS with Xperia Nozomi lets hope for the best....
[Xperia Arc General] Ghost_kh_07:
I can not root new version
[Xperia Arc General] mohamedm:
take this karnel [KERNEL][ARC/ARC S] DooMKernel [Rel:v15][Dt:17/Nov][FW:4.0.2.A.0.42] you must install his modules put his modules on sd card and install after installing the karnel
[G2 and Desire Z General] aahmadi:
Hi,

I have a Desire Z which came with 2.2 (1.83) and it's unlock version.

I am going to update the ROM to 2.3 (htc official version) but my phone will not detect any updates. Also i use Farsi language in keyboard...

Is there any 2.3 official ROM with sense 3.0?

Please help me to download rom 2.3 official with farsi support.

Thanks,
[G2 and Desire Z General] mputtr:
There is no official rom for the Desire Z that comes with Sense 3.0

you would need to flash custom roms that has sense 3.0 in it. None of it is official for the DZ.

as to finding the GB version that has farsi support, I have no idea, you would have to find it from your local sites that would have that specific rom.
[Samsung Galaxy Tab Plus] ericmky:
I have the GT-P6200L model of Galaxy Tab Plus.

I have problems of FCs in some apps.

Anyone have a ROM for this model ?

Thanks a lot.

Regards.
[Samsung Galaxy Tab Plus] clubtech:
Where did you get the p6200L from?

download " heck fus" from the market and paste your product code model, your PDA, modem and CSC versions and i'll try to see if we can get a ROME for your model.
[Samsung Galaxy Tab Plus] ericmky:
Check Fus Results

Device: GT-P6200L

Product Code: Not active ??

PDA: P6200LUBKI1

Phone: P6200LUBKI1

CSC: P6200LVNOKI1

I bought this model in Brazil.

Thaks a lot.
[Samsung Galaxy Tab Plus] clubtech:
Must have the product code. it should be on the box somewhere then. Will Show up as GT-P6200LXXXX (where xxx should be replaced by what is showing on the box).
[Samsung Galaxy Tab Plus] Red5:
This is more of a question than anything, so Im moving this to the General forum to help keep our Dev forum clean.
[Samsung Galaxy Tab Plus] ps000000:
mine from Thailand
[Samsung Galaxy Tab Plus] phawuth:
I also looking for mine.

Device : GT-P6200L

Product Code : GT-P6200UWLTHL

PDA : P6200LDCLA2

Phone : P6200LDCKK8

CSC : P6200LTHLKK2
[Xperia Arc General] gitex:
Hello guys.

My xperia arc went dead during update.

I tried unpluging it and leave it for 30 min, and when i press the power button, nothing happens, no light, no vibration, no connection to the PC. Literally DEAD.

I already tried Flashtool as some of the guys suggested, but no luck.

My phone is rooted, bootloader unlocked...

Please help
[Xperia Arc General] soldiers33:
Have you updated using seus or pc companion or ota? If so then thats why. You need to lock your bootloader and reflash using seus pc companion or easier way is to use flashtool.
[Xperia Arc General] gitex:
I updated through my mobile wifi. I tried flashtool, still no use. The PC doesnt detect my device. ANy suggestions???

How can i lock the bootloader if nothing is appearning / happening to my device?
[Xperia Arc General] doomed151:
Refer here: http://xdaforums.com/showthread.php?t=1126358
[Xperia Arc General] Alejandrissimo:
If phone is not detected by pc there is no way to fix it by flashtool

Please check this thread:

http://xdaforums.com/showthread.php?t=1322827

And contact me to check if I can help
[Xperia Arc General] gitex:
Thanks a lot for this.

But i am lost little bit with the steps.

Can you help me with this.
[Optimus One, P500, V General] incredible007:
Ice cream sandwich!!! Soft
[Optimus One, P500, V General] incredible007:
As pics keyboard and launcher have released!!! Any one has pics Calender calculator message app!!!
[Optimus One, P500, V General] Rayman96:
Sorry... But WHAT THE F*CK?!

What do you want silly man? This looks like trolling..