yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] icecreampop3:
baksmali 1.3.0 is out, with ICS/honeycomb compatibility

[URL="http://code.google.com/p/smali/"]http://code.google.com/p/smali/
[/URL]

sys.img dump of the UK GNex can be found here:

[URL="http://xdaforums.com/showthread.php?t=1352347"]http://xdaforums.com/showthread.php?t=1352347[/URL]

I'm a complete noob, so forgive me if this is a dumb question.

Given the resources we have now, will it be possible to backport ICS apps to work on lower api levels (gingerbread or lower)? How might one go about doing this?
[Android Q&A, Help & Troubleshooting] blueluck77:
I am absolutely interested in these as well.
[Xperia Arc Q&A, Help & Troubleshooting] rkanwar:
As the topic says who plays hd games? I.e. The gameloft ones? I mean a lot like for a good half hour. I have many apps installed, all apps that can be moved to sd have been moved. Problem is after a while the game starts lagging so much I cant pass the level of the game. I have ~35mb internal memory remaining
[Xperia Arc Q&A, Help & Troubleshooting] electrash:
Try to free up some memory on phone, free some RAM like closing unused apps, and cool down phone.
[Xperia Arc Q&A, Help & Troubleshooting] Flo95:
Once I did that and faced no problems, but I'm not a gamer. Just played 9mm while I was bored back then.
[Xperia Arc Q&A, Help & Troubleshooting] shtreber:
i didnt have any problems with hd games.

for me, they are almost lag free.. have you updated to latest soft?

they even work with move to sd enabler.
[Xperia Arc Q&A, Help & Troubleshooting] rkanwar:
I thought I shouldnt use task killers in gingerbread? But apart from that yes I am on .42 firmware.
[Xperia Arc Q&A, Help & Troubleshooting] squalldua:
i played hd games everyday :P

mostly GLU games...

just make sure you have enough free RAM (~100MB) then you shoud be ok :o
[Xperia Arc Q&A, Help & Troubleshooting] rkanwar:
How can I do that?
[Xperia Arc Q&A, Help & Troubleshooting] electrash:
Menu - settings - application - manage rununig app and kill which you don't use.
[HTC Desire S] cramnij:
Hi there, I currently own an HTC Desire S, the information for it is below:

Android version:

2.3.5

HTC Sense version:

3.0

Software number:

2.10.401.5

Operator name:

KPN nl

I haven a problem with a 16GB sd card. For months it worked fine in my phone and now, after the resent update to 2.3.5., the phone doesn’t recognize the card anymore. In another phone the card is perfectly readable. So the card is fine and isn’t the problem. A different card, 8GB, works for the moment good. But I really prefer my 16GB card.

Anybody a clue what’s happing here and a solution to the problem?

Thanks!

Marc from Holland
[HTC Desire S] Tectas:
Had an similiar situation, put the card inside a cardreader, copy the content to your harddisk (if you want to restore it afterwards) and format it. That solved it for me, but doesn't know where the fault is really related to.
[T-Mobile myTouch 4G Slide] lightsycle:
I have rooted my phone, MT4GS, and discovered the /system/app with all the things that are installed and some that are not installed on the phone. These include all the CRAP that I will never use. (teleNAV, friend feed, Zino reader, etc.) I have copied off the contents VIA SD and removed about 33MB if files. Most were pretty obvious. I will include a list. I have made the assumption that if I remove select apps and reset (to factory) my phone, the removed apps will not be installed thus de-crapifying my phone. I would like to know from those more knowledgeable on Android that myself if I am correct. Here is a list of files I have selected for removal. As far as I can tell there is nothing too important, just all the apps I don't use and don't want.

Any thoughts or suggestions would be greatly appreciated. Thanks.

(can provide the rest of the list if needed, i.e. those to be kept)

Bejeweled2_trust5.apk

com.htc.FriendStream3DWidget.apk

com.htc.FriendStream3DWidget.odex

com.htc.TrendsWidget.apk

com.htc.TrendsWidget.odex

com.htc.Twitter3DWidget.apk

com.htc.Twitter3DWidget.odex

com.mobitv.client.tmobiletvhd.apk

desktopPointer-signed-v6.apk

Flickr.apk

Flickr.odex

FriendStream.apk

FriendStream.odex

HtcTwitter.apk

HtcTwitter.odex

Jazz.apk

MobileBackup.apk

MyAccount.apk

MyReportAgent.apk

MyReportAgent.odex

netflix-17-release-android-marketplace-upgrade.apk

qik.apk

slackerradio.apk

TmobileAndroidDeviceCarbon-c42-n123.apk

TMOUS_Navigator.apk

ZinioReader.v2.03.3312.Regular.apk

ZinioSettingsProvider.v2.03.3198.TMobile.Smartphone.apk
[T-Mobile myTouch 4G Slide] DistrictDigital:
If you factory reset using the pdimg59.zip then they'll all be put back on.

Sent from my MT4GS running Bulletproof
[T-Mobile myTouch 4G Slide] lightsycle:
Where is that file? I did a search and didn't find anything....
[T-Mobile myTouch 4G Slide] siani_8:
There was also an excellent write-up done in the apps section. It's no longer updated and is kind of buried on page 3 but it's still a great place to start.

http://xdaforums.com/showthread.php?t=1222672
[T-Mobile myTouch 4G Slide] lightsycle:
Thanks for the help. I used the bloater apk from the thread. The only thing it would not let me uninstall was Netflix. It's funny also that the MP3 and video trim programs don't show up to be installed, the mysketch, and a few other apk files that are in the app folder.
[T-Mobile myTouch 4G Slide] Blue6IX:
I will be taking over bloater within the next few days.

Expect it to be updated to include a lot more.

I depreciated the thread siani_8 linked to because of the sticky I have in the developers section.

The sticky hasn't been updated in a while because:

1 - what's there is solid, and useful.

2 - no one else has posted app descriptions.

If other people are willing to post descriptions of what the apps actually do in the thread, i'll update that into the actual reference posts.

I figure that i've set the stage for the rest of the info to be put in, and i've done that much so far. If the community is interested in having descriptions posted, then the community at large will provide them.

The app reference is what inspired Romanbb to write that awesome Bloater app, and what we've all learned since then means more to be added. Bloater is very high on my project list, and it will be included in the new version of Bulletproof just like the last.

Also, that thread that got depreciated is from way back when - right after we first got S-OFF and were able to start deleting useless garbage we were all sick of being stuck with.

Definitely read through it if you are working on this from the ground up, because you'll see how we started to learn what we know today. It's a great exercise, and you'll learn a lot about your phone approaching it by playing along instead of just skipping to the end result.

Any questions feel free to ask, we're all here to help.
[T-Mobile myTouch 4G Slide] Droidmoder:
I need to add your thread in the compendium too. Its a good write up blue, I can't believe I missed it.
[T-Mobile myTouch 4G Slide] lightsycle:
I still can't find anything on this pdimg59.zip. Can anyone shed some light on it?
[T-Mobile myTouch 4G Slide] Blue6IX:
I think what you're referring to is the Stock ROM.

Easy answer:

Think of it like a failsafe for your device. If there is a file by that name on the sdcard, the phone will try to flash it on boot.

It's a more in depth answer then that from a technical perspective, but for just a quick "what is this?" that'll suffice. Someone with more time on their hands will probably come through here to expand on that if you're still curious.
[T-Mobile myTouch 4G Slide] blackknightavalon:
To really decrapify your phone, just delete Rosie and HTCSense from /system/app. Just install another launcher app first.
[myTouch 4G Q&A, Help & Troubleshooting] Skipjacks:
How much does the class rating of an SD card make a difference in a phone?

New Egg has a great deal on a 16GB Class 4 card.

I have a class 4 card now, but I've never used a 6 or 10. So I don't know if there's a whole world of performance I'm missing out on.

I run Cyanogen so I do have a considerable amount of APP2SD action going on. But I don't otherwise write to the SD card a considerable amount. Don't take a lot of videos....don't transfer 4 or 5 GB worth of music everyday. Nothing like that.
[myTouch 4G Q&A, Help & Troubleshooting] Spidey01:
Visit Wikipedia or Google for the transfer rates and think about how much I/O you will be doing. The more stuff apps and data you store on your card the more important the performace and compare that to what experience you have.

Being used to sticking a stick in a USB 1.1 slot and groaning at old computers, so I tend to divide by 2 when judging such things. E.g. if it's 480m/b, I make the expectation off reality being closer to 240m/b. Can't complain about MicroSD's much since my current handset has a freebie 2GB >_<. I assume it's class 4 but it is fine for me, and most of my stuff is on it.
[myTouch 4G Q&A, Help & Troubleshooting] Jack_R1:
Take one thing into consideration: class of the SD card means nothing, if the device's own transfer (specifically, write) rate is too slow to utilize it.
[myTouch 4G Q&A, Help & Troubleshooting] Skipjacks:
Well that's a good point.

I have no idea what the write speed of a MT4G is. But I've had a Class 4 card since I bought the phone and it seems to work nicely. I've never said "Man I can't believe it's taking this long to save this file!"

So I went for the $17 special on New Egg for a 16GB Kingston card.

Search micro SD card 16gb on New Egg. It's the cheapest one. Brand name. Free shipping. Can't go wrong there.
[myTouch 4G Q&A, Help & Troubleshooting] Teo032:
No point in getting a class 10 unless you transfer via this usb adapters.. I think the mytouch stops at like class 8. Not worth it unless on sale. You can live with a couple seconds of wait time
[myTouch 4G Q&A, Help & Troubleshooting] aznprodgy:
I agree, I wouldn't go any higher than a class 4 or 6 for a phone. I have a ADATA 16gb class 6 and have never had any problems with transfer/read/write speeds
[myTouch 4G Q&A, Help & Troubleshooting] Snakecharmed:
I have a Class 10 card, but only because I transfer files to and from my computer on a semi-regular basis. I used an 8GB microSDHC Class 4 card in my previous phone and one time I found myself needing to transfer a lot of data off of a computer. All I had left on hand was that Class 4 card with its SD adapter and it was horribly slow in my SanDisk MicroMate adapter that I typically use in conjunction with a 4GB SanDisk Extreme III SDHC card as a flash drive.

I agree that you're not going to get much more out of the phone itself beyond Class 6.
[Epic 4G Q&A, Help & Troubleshooting] seoulseek80:
I just recently flashed compkids rom and switched to go launcher but i like using go contacts and goChat. Only thing is I like his icons but I cant get them to stick on the dock. I mean like placing go chat on the dock but changing the icon to his icon for chat or contacts.

where are the original icon files listed in his rom or does anybody know a way to apply them/
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
Icons are stored in each app. Forget the exact folder name, like drawable-res or something like that.
[Epic 4G Q&A, Help & Troubleshooting] zanderman112:
res/drawable

res/drawable-hdpi

Look in those

Sent from my Samsung Legendary 4G, a Universe UTES phone, running "two.three.five"
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
Yes, that's it. The HDPI one. Is where I always find the icon for the app and change it.
[myTouch 3G Slide General] nellans57:
Main flash screen at startup is fine, so is main bootloader screen, but display when I get to any screen beyond that is all messed up. I can't even unlock the screen. OS seems to be booting okay, from what I can see through the lines. Might the main (flex) cable be the culprit? It was fine before and suddenly wasn't.
[myTouch 3G Slide General] eggydrums:
The same thing has happened to me. I decided to buy my christmas gift early ( an amaze 4g) because I was tired of these glitches!! I'm not sure what it is thought
[myTouch 3G Slide General] Punjabi23:
ya dude it might be time to upgrade.
[Kindle Fire Android Development] xdadevelopers-user:
Has anyone successfully built the kernel or a kernel module against the source released by Amazon? I have tried the following and get a error about a missing arch/arm/mach-omap2/Makefile:

$ export CCOMPILER=/path/to/android/toolchain/bin/arm-linux-androideabi-
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER mrproper
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER omap_4430sdp_defconfig
$ make ARCH=arm CROSS_COMPILE=$CCOMPILER modules

... a lot of stuff builds then ...

... arch/arm/mach-omap2/Makefile: no such file or directory

Any ideas?
[Kindle Fire Android Development] death2all110:
I was just having this discussion last night with a fellow dev. Its definitely missing when it obviously shouldnt be. and I believe the board number is kc1 at least according to the stamp on the board.

Anyway, I'll be contacting them shortly. Their source code is incomplete.
[Kindle Fire Android Development] transfuntioner:
arch/arm/plat-omap is missing as well.

I am trying android_4430_defconfig, the omap one doesnt have CONFIG_ANDROID & too many driver build issues to continue fiddling with
[Kindle Fire Android Development] mashi:
i start the channel in freenode #kf-dev
[Kindle Fire Android Development] transfuntioner:
Here are my makefile replacements, I dont consider these correct, they are a big hack & a work in progress that gets vmlinux linked for me.

driver wise i have laak display off, *hdmi* off, and lgd display on.

havent debugged further.
[Kindle Fire Android Development] SikYou:
Did you guys pull the configuration from the device? I didn't find it at /proc/config.gz
[Kindle Fire Android Development] death2all110:
We cant get it unless amazon gives it to us...
[Kindle Fire Android Development] SikYou:
Forgive me, I have not not built a kernel in a long time. Why can't the configuration file be pulled from the device? I use to just do something like

adb pull /proc/config.gz

config.gz does not appear to be in /proc on this device but we should be able to pull the configuration from somewhere

Sent from my ADR6400L
[Kindle Fire Android Development] death2all110:
Its not in /proc and i cant find it elsewhere. I agree there SHOULD be another way to do it. The only other way I know is to take the kernel by itself and run the extract-ikconfig script. But that doesn't even work. I've tried it multiple times. And people seem to be avoiding answering my question on here if there is another way. I'm sure there is...
[Kindle Fire Android Development] ECOTOX:
Isn't the processor similar to galaxy nexus? Try using some of those files and as for the config, they may not have it in /proc, galaxy s doesn't from what I know, that makes you dependent in good source release. Start with galaxy nexus source and work from there I think
[Kindle Fire Android Development] Entropy512:
The kernel stores its config only if configured to do so (the IKCONFIG options).

So a kernel with IKCONFIG disabled (most stock kernels of any phone I've ever worked with) won't have the config available anywhere.
[Kindle Fire Android Development] randallu:
Until we can get Amazon to cough up a complete kernel release including config we might start with the omap4430_sdp config with console on ttyUSB0. The KF certainly feels like the BSP was done by the ODM, so hopefully the kernel changes are minimal from the TI reference board...
[Kindle Fire Android Development] damianarnold:
I was looking at the Droid Razr too
[Kindle Fire Android Development] death2all110:
Alright.... Now I cant seem to get the kernel to compile past this

CC kernel/time/timekeeping.o
make[3]: *** No rule to make target `security/smc/omap4/tf_comm_mshield.o', needed by `security/smc/omap4/tf_driver.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
CC security/smc/omap4/scxlnx_device_mshield.o
make[2]: *** [security/smc/omap4] Error 2
make[1]: *** [security/smc] Error 2
make: *** [security] Error 2
make: *** Waiting for unfinished jobs....

Any ideas?

cant disable the smc driver. (won't let you)
[Kindle Fire Android Development] Groundhack:
Is there anything helpful here? I don't know jack about android programming

http://mingfeng6865.blogspot.com/2011/05/build-linux-kernel-android-2635.html
[Kindle Fire Android Development] richardg42:
Is CONFIG_SECURITY_MIDDLEWARE_COMPONENT set to y in your config?
[Kindle Fire Android Development] death2all110:
Yes it is:

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
CONFIG_SECURITYFS=y
CONFIG_TF_MSHIELD=y
CONFIG_SECURITY_MIDDLEWARE_COMPONENT=y
# CONFIG_SMC_KERNEL_CRYPTO is not set
# CONFIG_SECURE_TRACE is not set
# CONFIG_TF_DRIVER_DEBUG_SUPPORT is not set
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y
[Kindle Fire Android Development] randallu:
There's a new drop for 6.2 now:

http://www.amazon.com/gp/help/customer/display.html?nodeId=200203720

Maybe that'll have a working kernel tree?
[Kindle Fire Android Development] ajq:
No .config ... haven't looked much beyond that yet.
[Kindle Fire Android Development] death2all110:
kernel hasn't changed.
[Kindle Fire Android Development] death2all110:
In file included from drivers/media/video/omapgfx/gfx_bc.c:17:
drivers/gpu/pvr/img_defs.h:89:7: error: #error ("define an OS")
In file included from drivers/media/video/omapgfx/gfx_bc.c:18:
drivers/gpu/pvr/servicesext.h:811: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PVRSRVReadRegistryString'
drivers/gpu/pvr/servicesext.h:812: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PVRSRVWriteRegistryString'
In file included from drivers/media/video/omapgfx/gfx_bc.c:19:
drivers/gpu/pvr/kernelbuffer.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IMG_BOOL'
drivers/media/video/omapgfx/gfx_bc.c: In function 'bc_init':
drivers/media/video/omapgfx/gfx_bc.c:381: error: implicit declaration of function 'PVRGetBufferClassJTable'
make[4]: *** [drivers/media/video/omapgfx/gfx_bc.o] Error 1
make[3]: *** [drivers/media/video/omapgfx] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
blake@darkxshadows:~/amazon/kindle_fire/kernel/android-2.6.35$

This happens with PowerVR SGX both, enabled and disabled.

Ideas?

Update: Trying to build it as a module. We'll see how that goes...

also fails

Hmm....

LD drivers/gpu/pvr/built-in.o
CC [M] drivers/gpu/pvr/omaplfb/omaplfb_displayclass.o
CC [M] drivers/gpu/pvr/omaplfb/omaplfb-sysfs.o
CC [M] drivers/gpu/pvr/omaplfb/omaplfb_linux.o
CC [M] drivers/gpu/pvr/osfunc.o
In file included from drivers/gpu/pvr/services_headers.h:37,
from drivers/gpu/pvr/osfunc.c:63:
drivers/gpu/pvr/servicesint.h:35:21: error: sysinfo.h: No such file or directory
In file included from drivers/gpu/pvr/services_headers.h:43,
from drivers/gpu/pvr/osfunc.c:63:
drivers/gpu/pvr/syscommon.h:30:29: error: sysconfig.h: No such file or directory
In file included from drivers/gpu/pvr/services_headers.h:43,
from drivers/gpu/pvr/osfunc.c:63:
drivers/gpu/pvr/syscommon.h:66: error: 'SYS_DEVICE_COUNT' undeclared here (not in a function)
make[3]: *** [drivers/gpu/pvr/osfunc.o] Error 1
make[2]: *** [drivers/gpu/pvr] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
blake@darkxshadows:~/amazon/kindle_fire/kernel/android-2.6.35$

Done for tonight. I'll try again tomorrow. But I'm kind of at a road block right now....
[Kindle Fire Android Development] ajq:
the PowerVR stuff compiled built in fine for me ... I'm having problems with SMC; though different than yours (doesn't look to be Makefile related):

$ make security
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CC security/smc/omap4/scxlnx_conn.o
[B]security/smc/omap4/scxlnx_conn.c: In function 'SCXLNXConnCheckGID':
security/smc/omap4/scxlnx_conn.c:642: error: 'struct task_struct' has no member named 'group_info'
security/smc/omap4/scxlnx_conn.c:643: error: 'struct task_struct' has no member named 'group_info'
security/smc/omap4/scxlnx_conn.c:645: error: 'struct task_struct' has no member named 'group_info'[/B]
make[3]: *** [security/smc/omap4/scxlnx_conn.o] Error 1
make[2]: *** [security/smc/omap4] Error 2
make[1]: *** [security/smc] Error 2
make: *** [security] Error 2

bloody pain in the ass, as it looks like EVERYTHING else built fine.

Also having some other odd issues, but they don't look like deal breakers.
[Kindle Fire Android Development] ajq:
... ok, well, I got THAT to work, but I had to go back and get an old version of the SMC stuff to do it ... I do not know what effect that will have on the things that use it.

Everything builds, all the drivers, etc. but when it's building vmlinux now, I get a ****ton of undefined references and it errors out.

---------- Post added at 10:36 AM ---------- Previous post was at 09:57 AM ----------

got rid of a lot of the reference errors, though there are still a lot more. Most of them (<50%) seem to stem from my Makefile in mach-omap2. I can sort them out playing around with the Makefile a bit.

The other ones are under various drivers ... not quite sure I want to tackle that at the moment.

Anyone any further along here? I don't want to be reinventing the wheel, heh.
[Kindle Fire Android Development] riverzhou:
Can you share Makefile :

arch/arm/mach-omap2/Makefile

and

arch/arm/plat-omap/Makefile

They are lost.
[Kindle Fire Android Development] boomn:
The Nook Tablet is an OAMP4430 as well. Would the makefiles from that be of any help to compare against? diamondlover put the NT source up on his github and here is the mach-omap2 Makefile and here is the one for plat-omap
[Kindle Fire Android Development] ajq:
yeah, there are a few out there, and they all need tweaking - that's where the majority of the reference errors are coming from.

though that one looks closer than what I've got so far, so I may give it a shot after lunch.
[Kindle Fire Android Development] death2all110:
the standard omap4430config doesn't have stuff for android. use android_4430_defconfig as your base
[Kindle Fire Android Development] terracode:
Not sure if it is helpful, but the TI eval board 'Pandaboard' is an OMAP4430 with the same PowerVR SGX540 as the Kindle Fire. On the Pandaboard.org they have successfuly ported Gingerbread and ICS to the Pandaboard. The devs provided source at

http://code.google.com/p/pandroid/

http://www.omappedia.org/wiki/PandaBoard_L27.10.2-P1_Release_Notes#Download_Android_source