yashsingh1/xdaforums huggingface dataset:
[Android] lpasq:
[Question] Including Stk.apk in full_passion_eng make...

When I lunch full_passion_eng, the Stk.apk is not included in my compiled build. How do I add it for inclusion in the build?

My build.sh is as follows:

#!/bin/bash

#clean out prior compiled files
make installclean
make clean

#update AOSP froyo source files
repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo
cd ~
repo sync

#setup compiling environment and build
cd ~
. build/envsetup.sh
lunch

#USB connect N1 and initiate ADB
cd ~
adb devices

#ADB pull needed device files
cd ~
cd device
cd htc
cd passion
./extract-files.sh

#build the Passion *.img's
cd ~
make -j3

#view compiled folder's new boot.img/system.img/userdata.img
cd ~
cd out
cd target
cd product
cd passion
echo 'see flashable files:'
ls *.img

#create update.zip
cd ~
make -j3 otapackage

This is the Android.mk in /packages/apps/Stk. Am I to modify this or am I really off?

# Copyright 2007-2008 The Android Open Source Project

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_PACKAGE_NAME := Stk
LOCAL_CERTIFICATE := platform

include $(BUILD_PACKAGE)

Thank you.
[XPERIA X10 Themes and Apps] h.boushi1987:
hi guys i wonder is there any edition of proluncher that works on x10 and if its please can you upload it for me......thanks a lot

Sent from my X10i using the XDA mobile application powered by Tapatalk
[EVO 4G General] fone_fanatic:
So I've been searching all over to find out how to create different albums in the gallery and came up with a bunch of info but none of it worked till i found out that it is simply creating a folder of what you want the album named as and place that folder on the root of your storage card. Simple as that.
[EVO 4G General] Khaelum:
Having my pictures all unorganized into a single gallery folder is unnerving!

Gonna try this asap, thank you :)
[EVO 4G General] BrianDigital:
i wish there was a setting to remove some folders from the gallery
[EVO 4G General] Khaelum:
What do you mean? Can't you simply remove or delete the media from that folder or delete the entire folder itself on your sdcard?
[EVO 4G General] topdnbass:
Yep, easy as that.

Heres another tip.

If you don't want a folder with images to become an album add a . to the beginning of the folder name.

This is the linux equivalent of "hidden" in windows.
[EVO 4G General] sablesurfer:
AH HA!! Sweet.
[EVO 4G General] Khaelum:
Great tip, thanks!
[EVO 4G General] DanBergundy:
Hide that pr0nz!
[EVO 4G General] Khaelum:
Get out of my head lol!
[EVO 4G General] DanBergundy:
Rofl.......
[myTouch 3G, Magic General] youngalumni:
I have a mytouch 1.2 and was trying to use rom manager to make flashing roms easier. well i flashed the clockwork recovery (htc magic) and now im stuck on my green mytouch screen. and of course to create a frustrating situation I cannot find any info regarding rom manager that is of help to me. i really need help as i cannot guarantee i can afford a new phone right now

so i am thinking there is hope. anyone with experience in this?
[myTouch 3G, Magic General] elmig:
Reflash recovery via fastboot (ra recovery 1.6.2)
[myTouch 3G, Magic General] Jimmy Conley:
This happened to me. It happens when you run out of ram during the flsahing process. I was never able to get clockwork recovery on my phone using rom manager. I was able to to repeatedly flash the Amon Ra recovery by repeatedly flashing it through rom manager to get it back up. Good Luck
[myTouch 3G, Magic General] Binary100100:
You just need to flash the proper recovery image (Ion/MyTouch).

If it doesn't boot take the battery out, hold MENU, put the battery back in and power the device back on while still holding menu.

The device should boot.

Then once it boots try flashing the recovery again. Sometimes the first flash doesn't take. It seems to remove the old recovery but fails to flash the new one. Which is why the phone seems to get stuck at the splash screen.

If all else fails then use the Goldcard to get back to your eng spl, flash your recovery (it should be stored in the clockwork directory of your sdcard) then flash the stock spl back.

Keep in mind though that this probably won't work if you have not flashed the clockwork recovery before because you won't be able to restore your nandroid backup.​
[myTouch 3G, Magic General] Philysubsailor:
MODS PLEASE CLOSE DUE TO MY STUPITY!!! Thanks

Fixed..

Hello all...

When I type in CMD window in the androidSDFK/tools folder I type "fastboot flash radio radio.img and I get this...

error: cannot load "radio.img"

the phone serial number is seem by fastboot devices

Ive been reading for a while and I cant find any direction.

I am able to enter fastboot USB on mytouch fender 1.2

Sapphire unknown 32A ENG s-off H

HBOOT 1.33.2010 (Sapp31000)

CPLD-13

RADIO 3.22.20.17

Jun 2 2009 17:27.03

Please help...
[myTouch 3G, Magic General] Binary100100:
closed per request of OP.
[Galaxy S I9000 General] kurtkbee:
I know I am possibly overlooking this, but with my iPhone I was able to assign a ringtone to a specific contact. Is there anyway I can get that setup on the Galaxy S?
[Galaxy S I9000 General] nicoloco:
I must confess I didn't try before and it took me some time to find it ( not so much time actually but I am surprised to have less possibility than the iphone)

On the iphone you had easily the possibility to set one ringtone by person ( it was not that easy to get a ringtone :))

In the samsung you can set a ringtone by group.

So you could create a group per person to get one ringtone per person :)

On my side I will just put my wife in a group and set the ringtone from Jaws movie :D
[Galaxy S I9000 General] KaiF83:
Ok, that is kind of complicated ;-)

another question to ringtones... Maybe I just didn't find it. But how can I set a mp3 as a ringtone. If I try to select a ringtone it only shows me the shipped ones. Or do I have to copy the mp3 to the folder where the shipped ones are stored (and that would be?)?

Thanks, Kai
[Galaxy S I9000 General] Seifer1975:
This is indeed complicated :)

For the first question, SGS allows setting ringtone to both contacts and groups. However, they will only work with ringtones created in the phone. They will not work with ringtones synced over from Google or outlook. In order to assign ringtones to these contacts, you need to

1. Create a contact in your phone and assign the ringtone

2. Link the contact to your synced contact

For assigning MP3 as ringtones, you can try ringdroid. Alternative is to copy to /sdcard/media/audio/ringtones.
[Galaxy S I9000 General] Thooperman:
I have assigned MP3 ringtones individually just by doing a long hold on the contact, choosing Edit, and then touching Ring tone, and choosing sound. I can then choose my MP3 that is stored anywhere on the phone, even on the external SD.

For individual SMS tones, I use SMSPopUp, very customisable.
[Galaxy S I9000 General] ebue:
I have been trying to assign ringtones to a particular contact but cannot achieve this. I know there is an options under Contact - menu - Edit, but nothing. I get some strange message that ' I cannot edit SNS...'. I'm thinking this have something to do with facebook, as my contacts are synced with facebook. Does this have an effect on having to assign different ringtones to contacts?
[Galaxy S I9000 General] faethor88:
I have also a problem with individual ringtones each contact.

If I use the standard app in SGS, i am able to set a ind. ringtone for a contact. But I want to use a app like touchdown or roadsync for do my mail stuff. And I dont like to have contacts in more than one place so I habe all my contact in my outlook. I set the sgs that only the contacts in my business mail client are shown and I cant set a individual ringtone. Is ther no possibility for do that without copying contacts to the phone? No app? Cant belive that this is not? On handcent sms I can set ringtones per contact, no matter where its saved.

Thanks for replying!
[Galaxy S I9000 General] kraiko68:
To be able to assign a ringtone to a contact, it has to be stored in the phone. It doesn't work for contacts synced from Facebook or Gmail. Just create a duplicate contact on your phone, assign a ringtone to it and link them together.
[Galaxy S I9000 General] faethor88:
Really no alternative? :(

I dont want to see the contacts twice in the phonebook.
[Galaxy S I9000 General] kraiko68:
You can link them together so you'll only see one.
[Galaxy S I9000 General] faethor88:
Ok thanks :)

Now I have to find out how i can copy s contact to the phone :o
[Galaxy S I9000 General] faethor88:
Hi there

I'm running touchdown 2.0 on my sgs and there is a function to copy all contacts from touchdown account to the phone book on the phone. I did that, touchdown is processing all contacts, but if i go contacts an put the settings to see only the contact located in the phone, I dont see any contact. Are they not copied or is my phonebook corrupt? How can I find out where contacts are located, which folder in the system, i.e. with root explorer?

Thanks in advance for helping :)
[EVO 4G Q&A, Help & Troubleshooting] #Winning#:
Hey guys just got my replacement phone from sprint and it has 1.32 on it with the older radio. So that means that I can use the toast method I guess, but what do you guys think? Should I use that or update and use the newest method..? And do any of you know which way to figure out what kind of screen I have as far as Novatek or Epson?(sp)
[EVO 4G Q&A, Help & Troubleshooting] #Winning#:
Just kidding the "replacement" Sprint sent has just as bad of leakage on the left side of the phone if not worse, they are gonna have to deal with sending out another lol
[EVO 4G Q&A, Help & Troubleshooting] MCL1981:
I just rooted mine with the Simple Root for OTA program. It is extremely simple and as long as you do what it says and don't ignore a flash-hack error, you will be golden in all of about 20 minutes.

Then I flashed Fresh 0.5.3 and the Fresh Toast Kernel, and the second to last radio update. All is golden. The entire process took less than an hour including time to download the zip files.
[Droid Incredible General] fetus8:
So over the past day I have been playing with the Cyanogen 6 nightly builds, and today I did a restore back to stock 2.1 I haven't been able to get anything to download from the market. I've tried numerous apps, and all it does is sit at download starting and nothing happens. How can I fix this?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] ramgadnaiel:
Since the first day I bought the HD2 from Tmobile, I havent been able to sign in to Google talk neither messenger.. it says something like: Request could not be completed (code:87), it also appears something like: Msisdn is empty string ( code: 920). i send it to repair but that didnt help... 2 weeks and nothing... can anyone help me.. PS. sorry Im new at this and I have read already 22 pages of threads and I havent found an answer... can anyone help me please :S ?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] hou26guy:
code 920

type in ur phone number then it works
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] presilove:
fantastic. it worked for me
[G1 Themes and Wallpapers] mdneilson:
I take no credit for the animation, originals are from here:

http://infectionist.com/forum/viewtopic.php?t=1988

I just resized and edited for the G1.

Thanks to Six6Sicks for help getting it working (and the demo image).

It loops the scrolling, but comes in from black only once.

Edit: Added red version.
[G1 Themes and Wallpapers] mdneilson:
I added a red version for anyone who wants it.
[G1 Themes and Wallpapers] karmaa420:
im new to xda well as a member that is i like to theme my phone maybe a little to much lol but would you mind making a blue one
[G1 Themes and Wallpapers] Six6Sicks:
Here is blue.
[G1 Themes and Wallpapers] zeyoner:
I can count on Six6Sicks for a blue version. Thanks!
[G1 Themes and Wallpapers] mdneilson:
Sorry, I didn't get the reply email. Thanks six!
[G1 Themes and Wallpapers] mrjulian15:
so you just rename this to update.zip and apply the update? is that it?
[G1 Themes and Wallpapers] Six6Sicks:
1. Download and rename to bootanimation.zip

2. Put it on your sdcard

3. open terminal enter these commands:

su

cp /sdcard/bootanimation.zip /data/local/

reboot
[G1 Themes and Wallpapers] mdneilson:
I can make flashable zips if you need. But the easiest way is in the post above.
[G1 Themes and Wallpapers] mrjulian15:
thank you very much for your quick response, however i tried this and it didn't change anything.. im running JF RC30
[G1 Themes and Wallpapers] Six6Sicks:
JF RC30 huh?

Well, when you're ready to join us in 2010 let us know and we'll help you out.
[G1 Themes and Wallpapers] b0ricuaguerrero:
lmao. hes rocking the triple og roms from back in the day
[G1 Themes and Wallpapers] austriker27:
so why is it in what appears to be chinese (mandarin?) characters??

I thought the original matrix was ones and zeros - or maybe thats just how I remember it
[G1 Themes and Wallpapers] mdneilson:
No, many were even more obscure than oriental language characters.

I didn't make the animation anyway, just ported it to the G1/MT3G.
[G1 Themes and Wallpapers] dustrho:
If you wanted to revert back to the original boot animation, how would you go about doing that? This is an outstanding looking boot animation, great job on it!
[G1 Themes and Wallpapers] mdneilson:
Just delete the file from /data/local. The original is located in /system/media, and will default if the one in /data/local is not present.

Thanks, but all I did was resize.
[G1 Themes and Wallpapers] hernandezs28:
i cant get this on my hd2 help please
[G1 Themes and Wallpapers] mdneilson:
This isn't made for the HD2. Follow the source link for one that should be compatible with your device.
[G1 Themes and Wallpapers] badboy68:
can u make a zip to flash in recovery???? please
[G1 Themes and Wallpapers] mdneilson:
http://filefactory.com/file/b354aa6/n/update_ba_matrix_green_signed.zip

http://filefactory.com/file/b354ab4/n/update_ba_matrix_red_signed.zip
[G1 Themes and Wallpapers] badboy68:
thank you sir, for your work, hey bro, when you make another bootanimation like this can u have a zip file, id rather use recovery and flash it, thanx again
[G1 Themes and Wallpapers] mdneilson:
Thanks for the input. Will do. PS. I posted an R2D2 boot animation with a flashable zip.
[G1 Themes and Wallpapers] vermaekansh:
Nice work guys....

really great job..
[G1 Themes and Wallpapers] vermaekansh:
help

I am not able to find the data/local/ please give the full path

thanks in advance
[G1 Themes and Wallpapers] vermaekansh:
Is there any terminal comand from which i can get back to the original CM6 bootanimation.

coz i have searched the /data/local/ but not able to find it :( need help
[G1 Themes and Wallpapers] vermaekansh:
I just use the terminal and flashed the original one which is present in the system/media/ useing the same commmand as for the matrix

su

cp /sdcard/bootanimation.zip /data/local/

reboot

but still if i get the data/local/ path i'll be greatfull
[G1 Themes and Wallpapers] boby_mike:
Is there any way to have it also on HD2 with WM ?
[G1 Themes and Wallpapers] karmaa420:
Thanks a ton
[G1 Themes and Wallpapers] kudlinux:
cool stuff

Thanks. I will try with my 32 B G1.
[Galaxy S I9000 Android Development] mimocan:
I have made a custom kernel to mount an ext3/ext4 partition on the sdcard at the boot time.

to be able to use it:

-- you need an external sdcard: partitioned as follows:

- partition 1 (fat32) / for your storage needs

- partition 2 (ext3/ext4) / for program database

This implies that instead of making a symlink to the /dbdata directory, you will make a symlink to the ext3 partition on the sdcard.

Advantages:

-- you have the freedom of creating that partition for your needs ( mine is 1gb)

-- after applying the lag fix posted on the forum I still had that lagging after a while, but now my phone is flying

And here it is:

Prerequisites:

-- an external sd card partitioned in 2

-- the ext3 partition must be the 2nd one, otherwise this won't work, so Partition 1 ishould be fat32, and partition 2 ext3 or ext4

-- use gparted or paragon hard disk manager to make the partitions and format them (just google how to do this)

How to:

-- download the tar file attached to this post, this includes the modified kernel which supports ext3/ext4 and automounts the ext3/ext4 partition when you restart your phone

-- put the phone in download mode, just like updating the firmware

-- fire up Odin and attach the phone to the USB

-- choose only the PDA section and put the downloaded tar into there ( do NOT choose repartition or something else otherwise you will loose settings)

-- it should finish within 5 seconds and wait till the phone is booted

when booted (assuming you already have busybox)

adb shell

su -

busybox cp -rp /data/data /disk/

busybox mv /data/data /data/data.bak

busybox ln -s /disk/data /data/data

to fix market issues:

busybox mv /system/media /disk/

busybox ln -s /disk/media /system/media

reboot

when booted you should see your 2nd partition of your external sdcard is mounted on /disk and your program database in residing in it.

If you do it like this you won't loose any personal data or settings.

Remember this does not depend on any specific firmware, so you are free to try it to on any firmware

If you want to try out the kernel with ext4 support I have attached it below. The same steps should be taken to mount the 2nd partition as ext4, but create the partition as ext4.

My personal experience and benchmark results are showing ext4 is faster than ext3. But ext3 is there for many years and ext4 is stable stated from kernel versions 2.6.3x.

Download v3 (ext3):

http://www.multiupload.com/5QAVQBU6GB

Download v4 (ext4):

http://www.multiupload.com/Z8TGXRRNCS

gr, Mimo from Holland

for the ones who like watching instead of reading Oblivia made some great video tutorials:

Part1: http://www.youtube.com/watch?v=a7fDBJOzQw8

Part2: http://www.youtube.com/watch?v=S26ny2UGBBU
[Galaxy S I9000 Android Development] Jonas.M:
Well first thanks. Will try it when I flash the new firmware :)
[Galaxy S I9000 Android Development] dahool2008:
tested...runs completly smooth now. after opening many apps - also smooth. with the old stalling fix-i get after many apps open little lags. but this is great.

good work done.
[Galaxy S I9000 Android Development] mimocan:
thanks for testing dahool,

next step will be putting apps onto this partition and testing the speed.

am really glad that you see improvements.
[Galaxy S I9000 Android Development] dahool2008:
Question to anybody who did former use app2sd on a other android mobile. did it drain the battery if the sd card is constantly used? like with this fix here.

a big top is-i has only a class2 16gb sd card and it runs completly smooth with this fix. (opened bis apps like copilot and many games-no lag anymore)
[Galaxy S I9000 Android Development] Fredrichc:
Hi Mimo, great job!

I just have a question regarding the SD card. Could you please tell us which card (brand, class) that you are using? I am thinking of buying a new one and would like to be sure that I don't mess it up :)

Regards,

Fredrich
[Galaxy S I9000 Android Development] dahool2008:
@Fredrichc I have a really cheap Toshiba 16gb Class2 and everything is smooth. Don't think you have to pay for a expensive Class 6 card for this fix here.
[Galaxy S I9000 Android Development] Fredrichc:
Awesome, thank you for the quick reply!

Regards,

Fredrich
[Galaxy S I9000 Android Development] NZtechfreak:
I don't think there is any read-speed difference with the higher class card anyway is there? Isn't it the write speed only that the classes reference?
[Galaxy S I9000 Android Development] dahool2008:
Attention: There is a bug in this fix. When i want to install from market i get "there is not enough space for this installation". Can reproduce this on two mobiles.

i think it's a permission error on /disk - compare this to normal permissions on /data/data
[Galaxy S I9000 Android Development] mimocan:
Ok.

I think I know what the problem is. There is not enough room in the /system partition.

we will make some room there, here it goes:

adb shell

su -

mount -o remount,rw rootfs /

mv /system/media /disk

ln -s /disk/media /system/media

this should fix the bug.
[Galaxy S I9000 Android Development] dahool2008:
mv /system/media /disk

failed on '/system/media' - Cross-device link
[Galaxy S I9000 Android Development] mimocan:
strange:

this is from my console:

# mount -o remount,rw rootfs /

mount -o remount,rw rootfs /

# mv /system/media /disk

mv /system/media /disk

# ln -s /disk/media /system/media

ln -s /disk/media /system/media

can you post the output of "df -h"?
[Galaxy S I9000 Android Development] dahool2008:
/dev: 166828K total, 0K used, 166828K available (block size 4096)

/mnt/.lfs: Function not implemented

/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)

/system: 282432K total, 279712K used, 2720K available (block size 4096)

/disk: 2712240K total, 118920K used, 2593320K available (block size 4096)

/data: 1963904K total, 270928K used, 1692976K available (block size 16384)

/dbdata: 129728K total, 8960K used, 120768K available (block size 4096)

/cache: 30784K total, 1516K used, 29268K available (block size 4096)

/efs: 6064K total, 4103K used, 1961K available (block size 1024)

/sdcard: 6060544K total, 2174688K used, 3885856K available (block size 32768)

/sdcard/sd: 12893888K total, 101432K used, 12792456K available (block size 8192)
[Galaxy S I9000 Android Development] Rizlo:
This can't be faster than putting data on the NAND, right? Also, you won't be able to switch SD cards (not that I do it that often).
[Galaxy S I9000 Android Development] dahool2008:
it's definitly faster as move on nand. don't ask me why. but can be tested on benchmark.
[Galaxy S I9000 Android Development] sunwee:
if this fix works, then can it be speculated that the lag is not due to internal sd being slower than nand, but bottlenecks in the i/o?
[Galaxy S I9000 Android Development] dahool2008:
thats what i also think. i think there is in the firmware a i/o problem. because i have a class2 sdcard for testing. and the system runs now really fast with no lags. the only problem is at the moment here the market bug.
[Galaxy S I9000 Android Development] sunwee:
if that's true, then it's not due to hardware problem. perhaps samsung will be able to fix it with a rom upgrade!! :)
[Galaxy S I9000 Android Development] mimocan:
you definetely need to free up some space in /system.

strange that it can't move the media directory. Can you please try to apply the move media fix just after a reboot?
[Galaxy S I9000 Android Development] EarlZ:
Can anyone post the most updated steps/method as ive seen on the thread that others are doing different steps.. a bit confusing on w/c one to follow.
[Galaxy S I9000 Android Development] lenrek:
No, since the 2nd partition of the external SD card is now being used, I would need to turn off my phone in order to test it.
[Galaxy S I9000 Android Development] lenrek:
Steps stated in the 1st post is correct. However, I would suggest, do a "busybox df" to verify the external SD card is correctly mounted before perform the move of /data/data and /system/media to /disk/. Otherwise, you may encountered the same problem as I did. :o

Make sure you would see this (line in bold):

# busybox df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 166704 0 166704 0% /dev
df: /mnt/.lfs: Function not implemented
tmpfs 4096 0 4096 0% /sqlite_stmt_journals
/dev/block/stl9 302336 251704 50632 83% /system
[b]/dev/block/mmcblk1p2 980340 84816 845724 9% /disk[/b]
/dev/block/mmcblk0p2 1963904 136752 1827152 7% /data
/dev/block/stl10 109760 27376 82384 25% /dbdata
/dev/block/stl11 30784 1592 29192 5% /cache
/dev/block/stl3 6064 4103 1961 68% /efs
/dev/block//vold/179:1
14086752 2319808 11766944 16% /sdcard
/dev/block//vold/179:9
14540640 8 14540632 0% /sdcard/sd

Though, I still don't understand why can't I su earlier...