yashsingh1/xdaforums huggingface dataset:
[Hardware Hacking General] AdamOutler:
and here's the kernel debugging.... in case the kernel locks up during boot and Android will not function correctly, it provides a shell. Authorize ahead of time so that you can use Super User.

The settings in SBL prompt are

setenv SWITCH_SEL 6543
setenv PHONE_DEBUG_ON 1
saveenv

This can be very useful for kernel devlopers

Starting kernel at 0x32000000...

Uncompressing Linux...................................................................................................................................................................................
[ 0.000000] copy: bad source 0
[ 0.000000] mout_audss: bad source 0
[ 0.090142] KERNEL:kernel_sec_get_debug_level_from_boot=0x574f4c44
[ 0.094877] KERNEL:magic_number=0x0 DEBUG LEVEL low!!
[ 0.099895] (kernel_sec_set_upload_cause) : upload_cause set 0
[ 5.833835] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
sh: can't access tty; job control turned off
$ [ 11.433364] init: no such service 'bootanim'
[ 24.851663] init: sys_prop: permission denied uid:1000 name:wifi.interface
[ 35.227503] init: no such service 'bootanim'
[ 38.484304] init: sys_prop: permission denied uid:1000 name:dpm.allowcamera
su
sh: can't access tty; job control turned off
# dmesg|tail
<4>[ 47.443068] !@beginofMediascannerservice
<4>[ 51.363390] mook - wm8994 TTY Off
<4>[ 51.666438] eth0: SIOCSIWSCAN : ISCAN
<4>[ 51.667822] +++: Set Broadcast ISCAN
<4>[ 53.013468] !@endofMediascannerservice
<4>[ 54.447852] Send Event ISCAN complete
<4>[ 54.448053] eth0 wl_iw_iscan_get_scan buflen_from_user 8192:
<4>[ 54.448067] eth0: SIOCGIWSCAN GET broadcast results
<4>[ 54.448111] wl_iw_iscan_get_scan return to WE 803 bytes APs=3
<4>[ 84.445803] wl_iw_set_ss_cache_timer_flag called
#

Looks like samsung has an autorun to reflash the recovery partition at /system/etc/install-recovery.sh
[Hardware Hacking General] AdamOutler:
No, and I don't plan on it unless I have a problem that requires me to take it apart. Apparently this phone does not have bricking problems with people porting bootloaders from other devices.
[Hardware Hacking General] LinuxBozo:
I can see this being very handy indeed. Running kernels blind, having to get to at least ADB is a real pain. At least we now know this method works for the Infuse.
[Hardware Hacking General] bulletproof1013:
No bricking problems? Really?
[Hardware Hacking General] gtg465x:
No bricking problems b/c we can't flash bootloaders haha. Well actually there is a way, but the only person to try said way bricked.
[Hardware Hacking General] Dxtra:
That's because the bootloaders are lock. well not motorola lock. I've read some where in the Galaxy tab 10.1 forum that Samsung had to lock the bootloaders because of copyright issues with media hub. if thats true Roger infuse don't offer media hub and the bootloaders for that phone are not lock. we got an update for the tab 10.1 that lock the bootloaders and the tab offer media hub could be true since Samsung are not known for locking them. I could be wrong.
[Hardware Hacking General] Aou:
*raises hand* hehe

But I'm wondering if accessing the phone via UART would work with a device that's hardbricked as bad as that was? Too late to test now, it's already in the mail. ... unless I were to try flashing bootloaders like we did before? hehe
[Hardware Hacking General] AdamOutler:
I have JTAG capabilities if you want to test.

You can get into download mode as long as you have SBL.

I've worked on and developed a way to turn Captivate into KIT-S5PC110 (the aeries development platform)... http://xdaforums.com/showthread.php?t=1206216 It may be possible on this device.... I'm still working on my captivate.
[Hardware Hacking General] Aou:
Thanks, but the dead phone is gone and in the mail. I'd rather not void a warranty on this device by using JTAG. That device would not even go to download mode when using a JIG. Even the battery charging screen was gone. It was a hard brick.
[Hardware Hacking General] gtg465x:
Since you have JTAG capabilities there should be no risk of bricking. Maybe you can experiment with bootloader flashing on this phone. I can link you to gb bootloaders and custom bmlwriter flashing program if you're interested.
[Hardware Hacking General] Aou:
Did you ever get a copy of BML5 from a Rogers device?
[Hardware Hacking General] gtg465x:
Yes, but there's a bit of a problem with that. The dump of bml5 was blank. We aren't entirely sure what's going on with our bootloaders, thus the need for someone with a JTAG to test crazy ass shiz.

edit: Although it's not a pressing issue now that we have a kernel workaround for no GB bootloaders.
[Hardware Hacking General] AdamOutler:
I just gave you 1001 thanks! lol.

Just because you have a JTAG writer does not mean it's easy to JTAG a device. I would test with bootloaders if something required it, however it's not a good idea to go flashing random bootloaders ever... Only if required.

The proper way is to rework the kernel like you did.
[Hardware Hacking General] Aou:
Well, thanks to your original post, I was able to get something from the UART on my Infuse. Unfortunately, it's all garbage. Are you using a standard RS-232 connection, or TTL 5v connection? If using TTL 5v, would it be possible to use a TTL 3.3v? This is what I'm getting in putty:

½^ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZÚ¯¿¿¿Y=%#1¿_¿{!!'!=7/¿¯y*¿Y=%#1¿u'59¿y!£§¿g7£¿¥ëå¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥ëåëåj¤t4õ5ý¿¿¿¿¿¿¿ëåj¤Ê_5')¿¿¿¿¿ëåµ--!#¯*£ëåßg

(repeats). I get a whole new set of garbage when I put int he battery. It all looks like your video on youtube with the captivate, but it's just all garbage. I tracked down another forum post where you were getting garbage also, but then never posted the resolution.

Any help would be awesome. Thanks!
[Hardware Hacking General] Entropy512:
I don't think he's got JTAG capabilities on the phone yet, and probably won't until he REALLY needs them.

Getting JTAG capability requires soldering a connector to the board permanently or semi-permanently, or soldering individual wires to the board only for the flash process. No one has been able to figure out any compression-spring/pogo-pin contact approach, the connector pad pitch is just too damn small.

Otherwise I'd probably have JTAG capability too. If not for the connector issue I'd be experimenting with a Bus Blaster v2.
[Hardware Hacking General] AdamOutler:
I can put the connector on.. assuming its 12 pin plus 4 mounting pads? I have them in stock. Its not a problem for me to solder them. I can do it.

Does anyone have some tech porn of this board, or disassembly instructions?
[Hardware Hacking General] Dani897:
6 screws and a lot of prying with a soft tool. just pry around the perimeter of the screen. it is very tight but there is no glue or surprises involved.

after that I can't remember specific locations of important cables and screws. I pulled it apart because I was having issues with my usb connector but didn't document it. maybe ill do it again to document it.
[Hardware Hacking General] Aou:
Okay, I got the same UART output now. I used my trusty ol' CA-42 cable for my wife's old LG C1300. It just happens to be a USB-to-TTL 3.3v cable, and after researching a few pinouts, and AdamOutler's work in http://xdaforums.com/showthread.php?t=1065318 ... I now have shell access to my infuse without ADB and without fully booting. Woot!

... Now what? :D
[Hardware Hacking General] AdamOutler:
I use 5V reliably.... It looks like you weren't grounded, or had the wires reversed.
[Hardware Hacking General] AdamOutler:
PLEASE DO!
[Hardware Hacking General] Aou:
I'm curious to try to get to the JTAG pads on my infuse and/or attempt AdamOutler's unbrickable mod from the Captivate forums. Any of this would require opening the case, of course. But my question is this: Are there any warranty "VOID" indicators that would be triggered if the case is opened and motherboard accessed?

I've seen on most phones that one ore more of the main screws are covered by a "VOID" sticker (thus opening the phone would destroy the sticker). However, on this phone, I don't see any such stickers.

Thanks!
[Hardware Hacking General] AdamOutler:
There are none on the captivate.. there are none on the i9000... I have not opened my phone.

If you do open the phone, please take very closeup pictures of the processor... I'd like to get information about it.. like this: http://xdaforums.com/showthread.php?p=16687904#post16687904
[Hardware Hacking General] Dani897:
none what so ever but the plastic does stretch a bit and the phone may creek after. it is strange samsung has no water indicators that i noticed other than the battery(didnt really look) the screws are standard phillips not proprietary like most phones, no "seal" or void indicators. it is like trhey want you to take it apart. the whole galaxy s line apears to be like this. there is also little chance of damage. ive taken phones and other devices apart and you are sure to break plastic somewhere due to it being too hard or thin, it mostly happens where things snap together and if it doesnt break it may turn white from the stress(unless you are carefull of coarse). the samsung plastice are rigid but not hard, they are super resilient. you really have to monkey it to do damage.
[Hardware Hacking General] Aou:
Infuse Mobo Pics

Here's one of several pictures I took while I had my Infuse apart. I'll upload the rest somewhere later. Originals are being sent to AdamOutler for inspection.

Edit: Here's the numbers from the processor:
[Hardware Hacking General] AdamOutler:
We could use voltage readings on the areas which are not green, or ohm readings to ground.
[Hardware Hacking General] Aou:
Just to confirm, you'd like resistance readings between each of these points to ground (i.e. A-to-ground, B-to-ground, C-to-ground)?
[Hardware Hacking General] AdamOutler:
yes.

Also, a resistance between A to B would be helpful. In that picture I can see more and it looks like A-B may be a single bus, but I can't really tell.

I'm betting that B is low resistance to ground or 0V and C is high resistance to ground or 2.5v-3.2v.

Can you post up the pictures of the entire board (both sides)? It's difficult to get my bearings. I'd like to find the alternate Application Processor UART points as well, but I can't see where the JTAG header is located.

On the Captivate the alternate AP UART RX and TX are located next to each other under coated/joined resistor pads like in the top left of the picture of the entire processor above... As if you could cut the trace, remove the coating, and put a resistor on top if needed.
[Hardware Hacking General] AdamOutler:
As a side note and a bit of a critique... It looks like the guy who did the board layout really had no clue as to what each trace did.. It's not an elegant layout where the similar functions are laid out together... Also, I see a few resistors which are functioning as either voltage dividers, or could have simply been laid out better. Not that it's an issue, just not a beautiful and easy to understand circuit.
[Hardware Hacking General] Aou:
That's what I was thinking as well, but with all that glue-stuff it's hard to tell. When I take the resistances, I'll see if I can determine if that's all on the same bus or not.
[Hardware Hacking General] Aou:
Points A & B both have "0.3" ohms to ground, but I get the same reading between any ground and any other ground (I'm assuming instrument error, or just resistance of the cables, etc.). I get the same reading between A&B.

As for C-to-ground, it behaves strangely. It starts at about ~40k ohms, and then rapidly climbs to 120k ohms, and then very slowly climbs from there. I didn't not measure long enough to see what it peaks at, but it's over 130k.

I powered the board on using my "super-JIG" (selective resistance board similar to your board shown in the pics) in 619K mode, and took a voltage reading of C-to-ground. 2.79v, constant.
[Hardware Hacking General] Entropy512:
Simple, beautiful, and easy to understand were almost surely not their goals.

Most likely, they had one goal:

SMALL
[Hardware Hacking General] AdamOutler:
They didn't do that well either... this board is huge compared to captivate or i9000. I'm just saying that the captivate was laid out better and way more elegantly. Its one of those things that you can take your time with, or throw it together... guess which one they chose.
[Hardware Hacking General] Aou:
Couldn't agree more. Here's a pic showing both sides (a few images spliced together with photoshop). The big open area is obviously where the battery lies. The whole board is about the same thickness as the battery or less.

I equally agree with this. Although the goal appeared to be to make things small, the layout is still very inefficient and very... spaghetti-like.
[Hardware Hacking General] Aou:
Hey AdamOutler, where did you get these PCBs in your post: http://xdaforums.com/showpost.php?p=15633065&postcount=24

It looks like that connector would work with the JTAG connector on the infuse. That would make JTAG'ing the Infuse solderless and painless...

EDIT:

Here's the JTAG connector on the Infuse:
[Hardware Hacking General] Entropy512:
Wait... Are you saying that the connector is already soldered on the Infuse?

(Although yours is a brick replacement/repair, so yours might be a special case.)

JTAG Connectors were normally NOT populated on the Captivate as I understand it.
[Hardware Hacking General] Aou:
Indeed. My Infuse was a different phone from the original, and the original was sent back after receiving this one. I've seen your pictures of the Captivate's JTAG pads, and this definitely has the connector pre-soldered onto the board. :D

I don't think it's just this phone. connexion2005 has a pic here: http://xdaforums.com/showpost.php?p=16256120&postcount=29

From what I can tell, he has soldered on top of the existing connector.
[Hardware Hacking General] AdamOutler:
There's a reason I made the front page with the part numbers for that thing and a physical connection solution for the Captivate. It kinda pissed me off that professionals don't spare the $1 to put the header on and connect bare wires to the board. it's like using a vice grip when you need a 14mm wrench.

That's why when I JTAG I solder the header and I recommend others do the same. Noone believes it when I say they were trying to save a couple of bucks. People thought it was crazy to build a circuit board to connect to that header. People said "just connect wires".... it's a panasonic made header and it's the proper way of JTAGging... It's also much easier to solder a header then bare wires.

This phone would be easy to JTAG if required. I already made the snap-on JTAG connector.

Most Samsung devices have the header on them.
[Hardware Hacking General] shansmi:
I have gone through this thread and did not see any reference to what I am looking for. I have read and been told you can reset the ROM counter via UART. The newer ROMs on the GS II and GS II SR, have a ROM counter such that it is easy to see when in download mode if you have ever used odin to flash a custom ROM or root your device. On earlier ROMs for the GS II you could use a jig to reset the counter but on later ROMs for the GS II and all ROMs for the GS II SR, this does not work.

Where in UART is the flag to reset for this counter?
[Hardware Hacking General] AdamOutler:
The SBL> prompt. Hold the enter key to get there and adjust the parameters.
[Hardware Hacking General] E:V:A:
Thanks for awesome thread!

@AdamOutler:

I'm playing with a SGS-1 (GT-I9000). I can't really see from your terminal logs where the flash counter is. Is it even on there? What environment variables do you need to set or reset?

In addition, I would very much like to know more details for connecting a (opensource) based JTAG to the I9000, other than, and not being a RIFFbox! I like Opens source like OpenOCD and UrJtag.
[Hardware Hacking General] AdamOutler:
This is SBL3.0 on this device. You have SBL3.1 if you have download counters. You will find the option in printenv. you can setenv your download counter.
[Hardware Hacking General] E:V:A:
Right, but WHICH variable is it? SWITCH_SEL ??
[Hardware Hacking General] AdamOutler:
Post your printenv results.
[Hardware Hacking General] shansmi:
this is my next adventure!
[Hardware Hacking General] celular34:
Its incredible! very good man

Hey man very much thanks!

That`s very good info
[Hardware Hacking General] MrKalach:
Did you ever get a copy of BML5 from a Rogers device?
[Hardware Hacking General] PWn3R:
Apologies for necro on an old thread. Is there any newer way of doing this? I am trying to get the kernel source provided for the Xiaomi Mi Mix 3 (perseus) to boot. I get bootloader bootloop while trying start the kernel, and I don't see last_kmsg getting saved anywhere. Anyone got any pro tips?
[Motorola Droid X2] blakestiffler:
Someone running P3droid prerooted gingerbread please post copy of services.jar from /system/framework/services.jar Thanks
[Motorola Droid X2] strifejester:
Http://www.strifejester.com/dx2/services.jar

Here you be.

That is right from the build I haven't got it installed yet personally.
[Motorola Droid X2] blakestiffler:
Thank you very muchh
[HTC Sensation] monkey hung:
I have my Sensation set to 1.5Ghz and it works perfectly. The only thing is that it's getting a little hot (which is expected btw). It's currently fixed at 42C. 1.5Ghz is great but is it really that necessary? Should I just OC it to 1.3Ghz? I'm trying to find a nice temp base.
[HTC Sensation] juzz86:
To answer your question, each device will have a differing operational ceiling depending on the quality of the SoC, soldering, silk-screening etc. They aren't all created equal. If 1.5GHz works fine for you, stick with it :) I see OC kernels pushing to 1.8GHz now.

Naturally the higher you go the hotter your SoC will run, so I'd play around and find the point where you gain some performance, but negligible heat over stock. Heat will kill not only your SoC, but your battery as well.

I'm only going from personal experience, but I've never found an OC to be worth it in terms of an actual, real-life performance increase, on any device. It looks good in benchmarks, but I'd rather have a phone that was smooth as butter in day-to-day operation than a jerky piece of sh*t that gets 10,000 in Quadrant :) YMMV of course!

The heat stress and battery drainage costs, plus stability issues, outweigh the positives for me.
[HTC Sensation] monkey hung:
How can I reset my CPU back to stock then?
[HTC Sensation] juzz86:
Most of the Sensation ROMs feature what's called an OC Daemon.

This is pretty much an automatic overclocker of sorts. It can change your clock ceiling/floor automatically depending on load. Read a bit more about it here.

If you have something like SetCPU installed, the Daemon is redundant, giving you manual control over your clocks. The easiest way to return to 'stock' frequencies would be to simply delete SetCPU and allow the Daemon to do it's thing :)
[HTC Sensation] monkey hung:
Well I uninstalled it and I have LeeDroid. How do I find this "daemon"? Where would it be located? What do I do :( I'm a noob
[HTC Sensation] juzz86:
I couldn't see whether the daemon in included on LeeDroid, or whether LeeDroid has actually just modified the frequency tables (list of supported frequencies) to allow for the ~1730MHz ceiling. If the daemon is there, it'll already be working for you - you don't see it :)

I don't believe it's something you can just download and tack on. I think you'd have to be running a supported ROM. You may need to dig a little deeper into the LeeDroid thread and do some reading, or perhaps retitle this thread to ask 'Does LeeDroid include the OC Daemon' or something similar.

Sorry I can't be more help, I'm a devout Android Revolution HD supporter myself, although I am running the UNITY kernel.

Good luck mate!
[HTC Sensation] stevejau:
personally I can't see the need to over clock, given that all software is probably written for devices currently in use, I do not know of any dual core 1.5 or higher phones, so why oc ?

I agree , I would rather have a fast stable phone, than some jerky fc piece of ****e that gets 10000 jiggawatts in a benchmark, and that can cook my crumpets..................... on second thoughts, I do like my crumpets.:D
[Eee Pad Transformer Themes and Apps] Darkgage:
Hi All, I'm trying to get the Galaxy tab 10.1 ebook apk to work on my rooted TF. It requires that I install "My files" 10.1 apk as a system file as well. I can seem to get it to install. Has anybody tried to get this particular app on their TF. How should I proceed thank you?
[Eee Pad Transformer Themes and Apps] baseballfanz:
Is it even compatible?

You can try adb push it to system/app
[Eee Pad Transformer Themes and Apps] Darkgage:
Yes I am rooted. Thanks. I used root explorer to get my files into the system app...
[Eee Pad Transformer Themes and Apps] baseballfanz:
Lol, didn't noticed you say you' re rooted. What about permission?

Sometimes when you move file root explorer way you have to manually change permission
[Eee Pad Transformer Themes and Apps] aibo:
Yeah I like the galaxy tab 10.1 reader, the same as on my galaxy tab 7. I tried to install it, but no luck, I think it check for samsung system files. Even by copying the apk directly with root explorer, the app doesn't show.

Edit: well, it does show but it's force closing.

Let us know if you'll manage to get it working.
[Eee Pad Transformer Themes and Apps] Darkgage:
Yes I have the appropriate permissions in place and read that in order for the ebook apk to work I needed to install my files. The ebook apk boots for a second, showing the shelf and everything, but force closes...

Will let you know, but someone here is bound to have some knowledge, I know it.
[Eee Pad Transformer Themes and Apps] mothy:
I got the apj installed and showing but force closes when I try to import books
[Eee Pad Transformer Themes and Apps] Darkgage:
Yes we need to have "my files" apk installed in conjunction. However, I can't seem to get it installed. I think the TF may have to be deoxed...not sure why though.
[Eee Pad Transformer Themes and Apps] aibo:
Nope, even on deodex rom it doesn't work, I'm on Prime 1.7.
[Samsung Galaxy S (4G Model)] overthinkingme:
Hi, I'm writing because nor the xda search nor google could pinpoint if a thread for this on our sgs4g existed.

I want to know if anyone has tried resizing the default partition sizes, or if it is even possible. I remember on my memory-starved HTC Hero this would be the only way to install apps comfortably without a2sd.

Maybe putting the /system partition on a diet and getting of nonessential apps would give us a few megabytes on the /data partition.

I'm a little oblivious to the situation, not being a dev, but just a curiosity.

Thanks in advance.
[Samsung Galaxy S (4G Model)] RaverX3X:
me and krylon already researched this actually by lowering the cache size and extending it to the data parttion we had the phone up to 1.3 gb of storage the issue lies in resizing the parttion requires you to modifiy it and flash customized bootloaders as the parttion info is stored in the sbl and boot files. It can be done however if you need to odin back without a changed pitt file you run into a host of issues
[Samsung Galaxy S (4G Model)] overthinkingme:
Ah, this would get a lot of people bricked if ever they would try to odin back to stock..

Might cause more problems than solve right now..

Good to know it isn't impossible, thanks :)
[Samsung Galaxy S (4G Model)] RaverX3X:
Its not impossable just not pratical
[G1 Q&A, Help & Troubleshooting] 8ar679:
i have rooted my g1 and i have notice that the youtube app isn't there. is there any way where i can get the youtube app or watch youtube on my g1? i have tried going on youtube through the browser but it don't work... help please...
[G1 Q&A, Help & Troubleshooting] Maxamillion:
go to the android market and lookup "youtube" make sure u have a gmail account linked to your phone