yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] powerteam:
Hey Guys, I m Tryin to add 4 in 1 reboot function for TB ,

Reference:http://xdaforums.com/showpost.php?p=8674580&postcount=1

when i get the end of step 1 , i have some problem .

apk manager show me an error when i compile apk:

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3635: error: Mu

ltiple entry names declared for public entry identifier 0x101 in type drawable (

btn_media_player_disabled_selected vs download).

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:2863: Originall

y defined here.

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3635: error: Pu

blic symbol drawable/download declared here is not defined.

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3633: error: Mu

ltiple entry names declared for public entry identifier 0xff in type drawable (b

tn_media_player vs reboot).

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:2861: Originall

y defined here.

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3633: error: Pu

blic symbol drawable/reboot declared here is not defined.

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3634: error: Mu

ltiple entry names declared for public entry identifier 0x100 in type drawable (

btn_media_player_disabled vs recovery).

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:2862: Originall

y defined here.

D:\apk\other\..\projects\framework-res.apk\res\values\public.xml:3634: error: Pu

blic symbol drawable/recovery declared here is not defined.

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce

ption: could not exec command: [aapt, p, -F, C:\Users\liem\AppData\Local\Temp\AP

KTOOL4973910132166951427.tmp, -x, -S, D:\apk\other\..\projects\framework-res.apk

\res, -M, D:\apk\other\..\projects\framework-res.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)

at brut.androlib.Androlib.buildResourcesFull(Unknown Source)

at brut.androlib.Androlib.buildResources(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.common.BrutException: could not exec command: [aapt, p, -F, C:\U

sers\liem\AppData\Local\Temp\APKTOOL4973910132166951427.tmp, -x, -S, D:\apk\othe

r\..\projects\framework-res.apk\res, -M, D:\apk\other\..\projects\framework-res.

apk\AndroidManifest.xml]

at brut.util.OS.exec(Unknown Source)

... 7 more

系统找不到指定的文件。

请按任意键继续. . .

D:\apk>

can anybody help ?
[Captivate Q&A, Help & Troubleshooting] BB_THA_NAME:
I got a Samsung Captivate from someone off ebay. I tired running the update through my phone, but of course you can't. It fails at 50%. So I tried to through Kies Mini. Every time i try to, I get Firmware Version: Unregistered Device. It recognizes what phone it is and it recognizes my phone number. I registered the phone on the samsung website, still nothing. Did soft reset, factory restored the phone, and followed the instructions Samsung gave me for Kies Mini. And I don't know if my phone is rooted or not. I'm thinking that may be the possibility. If it is, how can I unroot it?? This is what my phone says in "About Phone":

Model Number: SAMSUNG-SGH-I897

Firmware Version: 2.1-update1

Baseband Version: I897UCJF6

Kernel Version: 2.6.29 jetaek.lee(at)sep-11 #2

Build Number: ECLAIR

I had to put (at) because xda said i can't put outside links in a post because I'm new?? It is the at symbol though.

I don't know if you can tell if the phone is rooted on not through that. But I would really like to get my phone updated soon. I was really looking forward to the Flash Player and the GPS getting fixed since I travel a lot.
[Captivate Q&A, Help & Troubleshooting] nodosx:
Your phone seems already modified. Look at kernel. That is why you got problem when updating via kies. And i bet that phone is rooted already. Or seller unroot when he/she post to sell and kernel it self, it is not a stock kernel, it is a custom kernel.
[Captivate Q&A, Help & Troubleshooting] BB_THA_NAME:
how do i bring it all back to stock?? is there anything i can do to the phone to make it like i just pulled it out of the box??
[Captivate Q&A, Help & Troubleshooting] studacris:
Check and see if you are rooted, I don't think you are, download "busybox installer" from the market and run it. Unless you are rooted it will fail.

Not quite sure if that if a custom kernel actually, I'll look it up.

In the mean time look up how to boot into recovery, if it's blue with 4 options it's stock recovery

If any other color and more options that is clock work mod recovery.

most if not all custom kernels come with clockwork so if you have stock recovery it's most likely a stock kernel.

I'm thinking maybe the original owner used odin one click to restore it to stock and jf6 is the way early version and some newer phones won't even run that so it may no longer be supported by samsung?? Just a theory...
[Captivate Q&A, Help & Troubleshooting] BB_THA_NAME:
it's blue with 4 options. but i talked to a samsung rep and he thought it was odd that my build number only said ECLAIR and didnt have a number. but i guess he was lazy and didnt look into it.
[Captivate Q&A, Help & Troubleshooting] echelonMCRhartgrenade:
Did u ever check your product code?

Enter - *2767*4387264636#

Under PCode its suppose to say: SGH-I897ZKAATT
[Captivate Q&A, Help & Troubleshooting] BB_THA_NAME:
woah no it doesnt. it says SGH-I897ZKATMB. what does this mean??
[Captivate Q&A, Help & Troubleshooting] echelonMCRhartgrenade:
Don't worry it wasn't your fault :). Probably from the previous owner. When u flash some custom roms it can change your product code for some reason. Samsung Mini Kies also checks this before it updates your phone. If one letter is off it won't update your phone :(
[Captivate Q&A, Help & Troubleshooting] BB_THA_NAME:
is there a way i can get it back to normal??
[Captivate Q&A, Help & Troubleshooting] echelonMCRhartgrenade:
Yes!! U can :D. But the bad part is that its kinda tricky :(.

Check out this thread: http://xdaforums.com/showthread.php?t=880223
[Captivate Q&A, Help & Troubleshooting] BB_THA_NAME:
ugh i was looking at that and i was hoping you wouldnt send me that link :/ lol
[Captivate Q&A, Help & Troubleshooting] echelonMCRhartgrenade:
Lol!! ;). There is a video though but its the IMEI number. It still applies to the same folder though :).

http://www.youtube.com/watch?v=JqLK_2I-SBM
[Captivate Q&A, Help & Troubleshooting] studacris:
well my .02 is: STOCK SUCKS

​

learn how to flash a custom rom and you will have a billion times the performance/options/control than you would even think of on stock. and it would be easier than worrying about using kies.
[Captivate Q&A, Help & Troubleshooting] echelonMCRhartgrenade:
^^^^

That is actually true! Trust us! :) A custom rom is wayyy better than stock
[Captivate Q&A, Help & Troubleshooting] bornjamerican:
The phone was unlocked and used on T-Mobile.
[Captivate Q&A, Help & Troubleshooting] ou812bkewl:
That just means somebody had flashed a T-Mobile based rom that edited the product code. Check your IMEI in Settings>About Phone to see if it starts with "000" or if it starts with the number 3. If 000 are the first numbers of your IMEI, then you could have a lemon due to a corrupted EFS. I have had the issue myself.

Just an FYI, make sure NOT to post your full IMEI anywhere ever.

A normal IMEI will start with the number 3. EFS is a special area on your phone which stores encrypted info about how the phone identities itself on the network. It is where the product code and IMEI are stored. If EFS is corrupted, your phone will give incorrect IMEI info to the network and eventually you will see bad stuff happen like loss of data connectivity and stuff like that.
[Captivate Q&A, Help & Troubleshooting] shaheerali:
There is any way to get the original imei without having a copy of original rom ???
[Captivate Q&A, Help & Troubleshooting] jmtheiss:
Look at this. It's the reply I posted in the Q&A version of your issue. Give the link I provided a shot.
[Captivate Q&A, Help & Troubleshooting] bames:
try my thread....will definitely fix your product code...some have mixed results with the IMEI being restored/corrected but anytime my imei was corrupted the generic this always restored both my imei and prod code

http://xdaforums.com/showthread.php?t=881162
[Captivate Q&A, Help & Troubleshooting] bigd383lt1:
Thanks, this worked for me I am now able to update to 2.2 using kies mini
[Captivate Q&A, Help & Troubleshooting] Nerz:
if i have a backup of my efs file can i just use that and replace my efs, thus restoring my product code?
[Captivate Q&A, Help & Troubleshooting] jack man:
Yes. That's how I have done it before. Use Root Explorer, replace the entire folder as long as it is all original files in it. Then reboot and it should be fine.
[Captivate Q&A, Help & Troubleshooting] Nerz:
Yea, that's what I did. Couldn't just delete the folder and paste it for some reason, had to delete efs contents and paste the contents into the folder but it worked. Thanks for the reply. And thank god for taking the time and backing up efs eh?
[Captivate Q&A, Help & Troubleshooting] Dethgodd:
soooo...i just bought my phone a few days ago, brand new out of box and my code says: SGH-I897zkzatt
[Captivate Q&A, Help & Troubleshooting] Dethgodd:
What do i do to fix this?
[Captivate Q&A, Help & Troubleshooting] parkerdjohnson:
Well, unless there HAPPENS to be a folder on your sd card that says "backup" or "efs backup" with efs files in it, you have to go the long route and follow one of the two guides posted. :(:(:(:(:(
[Captivate Q&A, Help & Troubleshooting] erik111111:
Ok when I enter that code i get the following

SMS SELLOUT

NO SUPPORT

What does it mean?

Is it because I have text messaging blocked through ATT?

I am rooted Samsung Infuse, but have not deleted any crapware.

Kies Mini says unregistered device
[Captivate Q&A, Help & Troubleshooting] b-eock:
why are you in the captivate section if you have an infuse?
[Captivate Q&A, Help & Troubleshooting] prbassplayer:
Wrong section.
[Captivate Q&A, Help & Troubleshooting] sola fide:
Even though you're on an Infuse I'll gamble.......... It's most likely 1 of the 2.

You're not running TouchWiz when you connect.

You have a Kernel other than stock

Seems to be that 99% of the problems (talking Captivates here) I've seen on these boards for "unregistered device" from Kies mini come down to one of those two.

And........you'll have better luck if you post your future questions in the Infuse section.
[Captivate Q&A, Help & Troubleshooting] prbassplayer:
Could be loads of things. My 1008 cappy had a wrong I'd. Kies is crap lol
[Captivate Q&A, Help & Troubleshooting] sola fide:
Good point, I was neglecting altered IMEI Numbers. Was hoping for his sake that this wasn't the case because it sounds like a pain in the rear to change the IMEI back to the correct number. Not sure as I've never done it, hope I never have to.

Still seems to me that there are a ton of users who ask this and it ends up being a 3rd party launcher instead of TouchWiz. Just my observation. Just wanted to give two possibilities that can easily be checked quickly before looking at more complicated options.
[Captivate Q&A, Help & Troubleshooting] prbassplayer:
It wasn't the IMEI, that was fine was somethign in the NV_data. I don't remember specifics but something different between ATT captivates ID and other captivates ID. Regardless Fixed that then Had to jump through 100 hoops, its stupid. Only reason i did it was for warranty exchange =/
[Captivate Q&A, Help & Troubleshooting] erik111111:
Thanks, yeah I was running a different launcher. I tried it with touch wiz but same result. I don't believe I have a different kernel. Based on some other research it appears some with stock unrooted phones have same result.

By the way, I posted here because it seemed relevant (although I realize the phones are the same). I couldn't find a relevant post for the infuse, so I posted it here. Thanks for trying to help.
[Captivate Q&A, Help & Troubleshooting] capocaccia:
Cant he just use Odin to one click back to stock? Or does that not restore the product code?
[Captivate Q&A, Help & Troubleshooting] shuyin1102:
Confirmed. I have changed the Pcode to I897ZKAATT and the mini kies worked perfectly
[Captivate Q&A, Help & Troubleshooting] mrhaley30705:
I don't think will flash the efs partition. Heimdall will. I've flashed to stock several times, turns out my product code was wrong. Mini kies kept saying unregistered device, but my imei was correct. Once i busted out ahex editor and repaired my product code mini kies worked.
[Captivate Q&A, Help & Troubleshooting] doctorbva:
Thanks for posting this link. Worked perfectly for me.
[Captivate Q&A, Help & Troubleshooting] capefearless:
+10000 on this. You are going through a lot of work to get back to crappy stock experience. Most of us here do half as much work to get a custom ROM which offers better performance, overall experience and support.

You need support to get to stock and we are still helping you!

Come on over to the dark side, the water is fine.
[Captivate Q&A, Help & Troubleshooting] drfarmkid:
I just bought a new Captivate on eBay and it has the same code. The phone was unlocked, but was supposed to be otherwise in new, factory fresh condition. It looks new, no scratches or dings or anything.

What does this slightly different product code mean? The phone is not rooted and as far as I know it is the stock Froyo (UCJJ4) build. Does this altered product code from being unlocked? If I go through the procedure in the other thread mentioned (http://xdaforums.com/showthread.php?t=880223) to fix that code, will that relock my phone, or will it stay unlocked? I'm using it on T-Mobile, so I need it to stay unlocked.

I'm just looking to upgrade to get the benefits of Gingerbread and (hopefully) get my GPS to work. Once it's out of warranty I'll think about trying custom ROMs.
[Captivate Q&A, Help & Troubleshooting] BWolf56:
It's if your IMEI is different than the one of the box or in the back of your phone (under the battery).

What exactly are you trying to do?
[Captivate Q&A, Help & Troubleshooting] drfarmkid:
It matches.

Sorry, looking back I guess I wasn't too clear on that. I would like to upgrade to Gingerbread, but Kies Mini won't do it. It just tells me the device is unregistered even though I have registered it through Samsung. For now I want to stick with the stock ROM because it's a new phone and I don't want to void my warranty just yet. After reading through this thread and elsewhere it seems my problem is the same as the person whose post I quoted first, that the product code is a little different from what it should be and therefore Kies Mini can't recognize it or something.

I know how to fix it from the other thread linked here, but before starting that I want to know for sure that I won't screw up something else by doing so. I suspect that the altered product code has something to do with the fact that my phone is unlocked and I want to be sure that the process of changing it back and flashing a stock ROM won't re-lock it. Maybe that's a dumb question, but although I have some experience with ROMs and rooting and such, I've never unlocked a phone and haven't delved into that yet and know virtually nothing more than the basics about it.
[Captivate Q&A, Help & Troubleshooting] BWolf56:
Once unlocked, always unlocked. but if you wanna be ultra careful, remove your SIM before flashing anything.
[About XDA developers] Maxamillion:
I am requesting that polls in threads should be made editable just like posts are editable. Right now I posted a thread in which I made poll to see which ROM is the most popular and I guess I forgot some roms so people gave me suggestions to place their rom in the poll, and I can't because I can't edit the poll. I also would like the poll to be editable so that I can add roms that are new or that I forgot. I would just like the poll to be editable in a way that I can add or delete options. Well, thank you for your time and for taking my request into consideration, I hope to hear from u soon.
[About XDA developers] brilldoctor:
Big +1 on that

On a side note why are you using the dream? (nice phone still)
[About XDA developers] DaveShaw:
It's a limitation of vBulletin. Even moderators have limited access to amend polls. If you need a new option, or a poll closing, that's possible, just PM a Senior Mod.

If you want a poll resetting that needs an admin. Either PM a Senior Mod and they'll add it to an Admin's TODO list, or PM mikechannon / egzthunder1 - but the admins do have quite busy workloads :).

Thanks

Dave
[About XDA developers] Maxamillion:
I'm waiting for the htc sensation to come out.

I am also looking for a better phone but I don't really have money.
[About XDA developers] Deeco7:
A big fat '+1' from me, if it's possible. ;)
[About XDA developers] tahahawa:
I'd like to see that as well. +1
[Captivate Q&A, Help & Troubleshooting] iceman198:
Hey guys.

So...I've gotten this error in the browser depending on what Rom I'm using. What I've noticed is if I get this message in the browser then my email doesn't work either.

Now, I only get it when I use the data connection ... If I'm on wifi, I'm good.

The only articles I fine on this say that its something AT&T...but I don't get it with the stock Rom...so I'm not convinced. its obviously something with the Rom I flash.

Well... I just flashed GR-1.2...and I really like it! Gingerbread. And the netflix app!!!

So...any ideas how to resolve this? I won't always have wifi...and I need access to my exchange email for work at all times. unless someone knows of a decent convened (free) email app that supports exchange....but I really like the one that comes with the Rom.

Any help is much appreciated. I can't be the only one with this issue...or can I? :'(
[Captivate Q&A, Help & Troubleshooting] damon20r:
I am having the same problem but only with particular browsers such as Skyfire. Works fine on wifi but won't do anything on wireless connection.
[Captivate Q&A, Help & Troubleshooting] iceman198:
Yeah...like Opera mini will work fine because it uses a proxy. But Dolphin I get the same error...and the built in browser...really...I just want me exchange to work...and I'm sure if I just download another email app iy will work...but I can't find a free one that supports exchange.
[Captivate Q&A, Help & Troubleshooting] iceman198:
No ideas at all?

=(
[Captivate Q&A, Help & Troubleshooting] AdamOutler:
Why don't you post the link so we can all try it?
[Captivate Q&A, Help & Troubleshooting] mrevankyle:
try reflashing or clearing your cache. other than that if your phone is paid for buy your company they often have browsing restrictions
[Captivate Q&A, Help & Troubleshooting] iceman198:
A link to the ROM? Well...the link to GR-12 is http://xdaforums.com/showthread.php?t=1055622.

Firefly (an older version anyways) has the same issue. (http://xdaforums.com/showthread.php?t=914284)

Axura (http://xdaforums.com/showthread.php?t=872784) (like your ROM Adam) did NOT have this issue. All the email and browsers worked mint!

Thanks!
[Captivate Q&A, Help & Troubleshooting] iceman198:
Yeah...I'm not convinced it is a carrier restriction because it seems to be ROM based...it works fine on stock ROM...my post above shows some other ROMs where this has happened to me.
[Captivate Q&A, Help & Troubleshooting] iceman198:
SOLVED!

Ok...I thought for sure I've tried this before but I guess not.

It's the APN settings!!!! I went in and created a new APN with just the title 'AT&T' with the settings found here and it worked! It looks like the URL and Proxy are supposed to be blank and have to set the username and password. Those are the only differences but it works!

Now my email works mint on the data connection along with Dolphin!

Thanks Adam for looking! Sorry I didn't think of this sooner.
[Captivate Q&A, Help & Troubleshooting] varuun:
thank you so much

my problem got solved.
[Captivate Q&A, Help & Troubleshooting] Tsaukpaetra:
WAP settings

Yes, basically on the mobile networks you're going through a proxy server set up by the carrier. That's why the WAP settings matter ;)
[Captivate Q&A, Help & Troubleshooting] martinde:
Thanks, it worked for me. i use a custom rom(BlissDOrid by pvteam) on my inspire 4G.
[Captivate Q&A, Help & Troubleshooting] kytrucker31:
thanks!!!!

thanks. this helped me
[Galaxy S II Q&A, Help & Troubleshooting] shandoli:
And I mean in terms of square inches? I for the life of me can't find height and width of 3.5 inch and 4.3 inch screens.

I suspect, even though diagonally, it is only .8 inch longer, the surface area could be as much as 50% more.

someone pls do the maths. :)
[Galaxy S II Q&A, Help & Troubleshooting] David Horn:
Well, your guess is pretty much spot on. Assuming same aspect ratio between screens, the 4.3 inch has 51% more real estate than the 3.5 inch.

4.3 / 3.5 = 1.23 (scale factor)

1.23 squared gives you the surface area scale factor = 1.51, or as a percentage, 51% larger.
[Galaxy S II Q&A, Help & Troubleshooting] kcaz:
The GS II has a 2.2" x 3.7" screen giving it an area of 8.14 square inches.

A 3.5" diagonal screen could have an area of nearly 8.9 square inches if it were square, or 3.35 square inches if it were 3.35" tall and 1" wide. You can't calculate the area of a theoretical screen with the diagonal measurement alone.
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
Its all theory in practice its just a bit bigger as is the phone compared to SGS 1 side by side or held .

jje
[Galaxy S II Q&A, Help & Troubleshooting] vanvn297:
((4.3 * ((4.3 / 800) * 480)) / 3.5) / ((3.5 / 800) * 480) = 1.50938776

so it's 50,9% larger
[Galaxy S II Q&A, Help & Troubleshooting] Doopliss:
iPhone 4 (3.5 in):

326 ppi

960 height, 2.94 in

640 width, 1.96 in

5.76 square in

Galaxy S II (4.27 in):

218 ppi

800 height, 3.67 in

480 width, 2.20 in

8.07 square in

8.07 / 5.76 x 100 = 140

i.e. The Galaxy S II's screen has 40% more area.
[Galaxy S II Q&A, Help & Troubleshooting] harveydent:
+1 diagonal "length" is a poor predictor for screen area. This gave me a huge headache shopping for monitors, some 24" screens turned out "smaller" than 23" ones.
[Defy Android Development] nov.six@qq.com:
it's fixed in the lastest code of Quarx at github

and the lastest version of CWM is updated to 3.1.0.0--- perfect

the lastest version of bootmenu is 0.8.3

and the version 0.8.0 within CM7 Beta6 has bugs.

and 0.8.3 can install zip of MIUI , but failed to CM7, the auothor of bootmenu

CM7: FAIL → for reasons of CM7 backuptool.sh (unmount command)

i fount how to fix it.

just remove the code "umount $S" of line 151 , it will be fine. see detail like this:

backuptool.sh:

....
S=/system
....
case "$1" in
backup)
mount $S #
check_prereq;
if [ $PROCEED -ne 0 ];
then
rm -rf $C
mkdir -p $C
for file_list in get_files get_custom_files; do
$file_list | while read FILE REPLACEMENT; do
backup_file $S/$FILE
done
done
fi
umount -1 $S # ---------- [COLOR="Red"] just write this code like this (line 151[/COLOR])
;;
....
[Defy Android Development] Perilla_:
Man, why you create a thread? This is a rom problem, so post it in that rom thread.

Anyway thanks for the info, will be useful for quarx.
[Defy Android Development] nov.six@qq.com:
i found the reason
[Defy Android Development] lackyking:
所以另开一帖，为了显示你很牛逼？
[Defy Android Development] nov.six@qq.com:
我跟帖子 怕q大看不到。对不起了！！！
[Defy Android Development] seukumeama:
send thats to quarx , maybe on git hub of issues