yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] packetlss:
Here goes, I've tried to get a litte guide together for those not that versed in linux hacking.

Comments/instructions are in blueish text. What you should type is in red bold text. Rest of the text is system output

This guide assumes that you have the adb and fastboot commands and that they can communicate with the phone. Problems related to this should be solved first, search the forum!

How to dump your SPL from the Hero

We are gonna be using Cyanogen's recovery image for Hero. Get it from here:

http://rapidshare.com/files/262621147/cm-hero-recovery.img.zip

To prepare we need to get the Hero into fastboot mode, to do this, power off the device and hold the "back" key while powering it on. When you see a white screen with some text on it and some skating robots you are set.

To get the linux kernel to allow us access to the SPL area we need to pass it some extra parameters that gives us access to the memory area in question through MTD.

On a command line prompt, boot the recovery image with the extra parameters. This should be one long command line (the forum is probably clipping it), I suggest you copy and paste it.

fastboot -c " mtdparts=msm_nand:0x00040000@0x024c0000(misc),0x00500000@0x026c0000(recovery),0x00280000@0x02bc0000(boot),0x0aa00000@0x02e40000(system),0x08200000@0x0d840000(cache),0x0a5c0000@0x15a40000(userdata),0x000080000@0x02400000(spl)" boot cm-hero-recovery.img

Once the image is booted and you see the green text menu, lets drop into a shell on the phone and verify that the command line took.

adb shell

/ # cat /proc/mtd

dev: size erasesize name

mtd0: 00040000 00020000 "misc"

mtd1: 00500000 00020000 "recovery"

mtd2: 00280000 00020000 "boot"

mtd3: 0aa00000 00020000 "system"

mtd4: 08200000 00020000 "cache"

mtd5: 0a5c0000 00020000 "userdata"

mtd6: 00080000 00020000 "spl"

If you dont see the last row with the spl label the command line didn't take and you should restart the guide and double check the command line.

If the row is there, great! We now got access to the SPL memory area. Lets mount the sdcard so we got somewhere to store it.

/ # mount /sdcard

Copy the SPL to hboot.img on the sdcard

/ # cat /dev/mtd/mtd6ro > /sdcard/hboot.img

Verify that we got a file and that it is 512kb (524288 bytes)

/ # ls -al /sdcard/hboot.img

-rwxrwxrwx 1 0 0 524288 Oct 10 07:44 /sdcard/hboot.img

If you have file there with the correct size, we are all set. Reset the phone and copy the hboot.img out after mounting the sdcard. And upload it somewhere for us to have a look at.
[Hero, G2 Touch Android Development] rhedgehog:
PM'd you both.
[Hero, G2 Touch Android Development] oblika:
Nice... looks like its a version prior to the ship SPL that we got on our white Heros...

So is there any way to flash this thingy to our heros (without bricking the device) when it is extracted to the .img format?
[Hero, G2 Touch Android Development] rhedgehog:
i'm not so sure at the moment, as i understand it it is difficult to get around the current SPL's certificate signing.

However, maybe it will help someone figure something out.
[Hero, G2 Touch Android Development] oblika:
Yeah, I thought so... maybe Paul will come up with some idea to do it:) All we need to give him is time;)
[Hero, G2 Touch Android Development] packetlss:
Thanks alot rhedgehog!

Flashed the SPL on my phone, sadly it's still S-ON for me :( There is probably some other area where the security flags are stored. Guess it's time to bring out the disassembler and have a look.

Seems like we are gonna have to use the serial cable trick (http://xdaforums.com/showthread.php?t=559806) to get to S-OFF for now.

Attaching a update.zip to flash it from recovery if anyone wants to fiddle with it. (Warning.. the usual stuff about bricking bla bla bla, not responsible)
[Hero, G2 Touch Android Development] Jesterz:
looks like the spl and radio from th 1.76.405.1_R3 ROM

too bad about the s-off, digging deeper :)
[Hero, G2 Touch Android Development] rhedgehog:
Further attempts have been pm'ed to Packetlss...here's hoping he can get to the bottom of it.
[Hero, G2 Touch Android Development] Jesterz:
I'm curious about the status of this.....any update?

It seems we *MIGHT* be able to hexedit the SPL and at least patch so it thinks the phone has a superCID (like Crios did with the Magic SPL)

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

anybody with 32bit ARM assembly knowledge ?
[Hero, G2 Touch Android Development] packetlss:
I've fiddled around with the "misc2" area of the NAND and found the CID values there, however if I change it the HBOOT still reports the old value, I'm guessing there is some extra place they store it aswell, probably in the radio section of the NAND which we can't read/write once booted into Android.

I'll have a look at the SPL from Magic, they are probably very similiar to the Hero ones (esp since someone actually managed to get one to boot in some other thread), would be nice if we can get the same version numbers as shipment versions just to compare the engineering ones to.
[Hero, G2 Touch Android Development] Jesterz:
Also have a look at the work adq did here:

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

his hackspl basicly is a softspl trick, maybe we can combine the work

I hope to have some time this weekend to come out of retirement and play around.....
[Hero, G2 Touch Android Development] Z!L0G80:
IMHO if you not erased backup cid system still reported it ,there is another value which has something to do with S-ON S-OFF,i have dissassembled hboot and working on hackspl which enable S-OFF and write Super CiD .(btw my arm assembler knowledge is poor be patient :D) i have already super cid and S-OFF by cable :)
[Hero, G2 Touch Android Development] packetlss:
There was two occurrences of the CID in the misc2 area, I changed them both to no avail. Which probably means the backup CID is stored somewhere else, which we can't read (I've searched through the entire NAND dump that is accessible from Android). There is a quite huge chunk of NAND that is not readable which is probably where the radio is stored.

Would it be possible for you to share that disassembly? Or maybe some findings from it.
[Hero, G2 Touch Android Development] Z!L0G80:
backup cid is on memory addres 8F07F7D8 i can only give you this ida output
[Hero, G2 Touch Android Development] packetlss:
Very interresting, not looked to much it so far, will look more when I get home. Looks like patching the SPL to bypass CID checks etc shouldn't be too hard.

You (or anyone else for that matter) have any info on where the HBOOT is located in RAM and where the ROM (NAND) is mapped in address space?
[Hero, G2 Touch Android Development] Z!L0G80:
look at dissassembly -> 8F000000
[Hero, G2 Touch Android Development] oblika:
Great!! Just be sure you test it on a release device (No prior CID or S-OFF mods by cable) so us mortals (without the debug cable) can install the SPL (When it's ready, of course).
[Hero, G2 Touch Android Development] Lox_Dev:
I had flashed the 2.405 RUU getting the new restricted SPL. That update.zip restored the old SPL (did it about a couple of weeks ago):

http://rapidshare.com/files/292693681/spl-signed.zip
[Hero, G2 Touch Android Development] Chinpokomon:
Meaning that this takes the restriction off the SPL, setting CID and S-OFF?
[Touch HD Themes and Apps] nirpaudyal:
Hi,

Can anyone suggest a simple calculator application for me. I dont like the HTC one because it doesnt look that sweet.

Ta
[Touch HD Themes and Apps] francescrm:
Did you try this one?

I think it was originally designed for Diamond2 and someone fixed it for HD resolution, it must be somewhere in software thread, when you don't find it let me know and i will look for it in my PC and will upload the cab.

Rgds,
[Touch HD Themes and Apps] tomohdi:
HD calculator

Hi where can i get that calculator??
[Touch HD Themes and Apps] nirpaudyal:
Actually, I have this already. It comes with all custom roms now. I am sure you can download a cab from pocketfreeware. Any other calculator apps?
[Touch HD Themes and Apps] ladieslova:
Try "Panoramic Calculator"...

I have it, and use it on daily basis. It's not just a basic calculator, it has more features than the regular WM calculator.

Best regards
[Touch HD Themes and Apps] hungera:
but Panoramic Calculator is not a freeware..:(
[Touch HD Themes and Apps] naa77:
Panoramic calc pro, is my personal fave, it does it all..... followed closely by Hicalc, they're both skinnable, and come packed with features..... though yes, they're not free, but just look around...., I bought mine cause I like to support developers and I'm studying economics, so a good calc is important.:)
[JAMin, XDA Neo, S200 General] Joker137:
hi

i come from germany and my english is bad :mad:

i have for my xda prophet the display+touchscreen exchanged because, it broken. the handy ist old, and my display is new. And therefore to have peoples from german board said, i shall towards display driver to seek, here.
[JAMin, XDA Neo, S200 General] Joker137:
pls help me
[JAMin, XDA Neo, S200 General] sucka:
display driver? didn't they put the same model? and if it is another model, does it have chance to work? i wonder...well can not do nothing, better to go and let them make it work all the way.
[G1 Q&A, Help & Troubleshooting] AMedford:
So I am stuck and not really sure what do to. I was trying to update to another ROM, not really sure what happend but now my g1 is stuck in a boot loop.

I can get to the fast boot menu and also to the recovery menu to load update.zip's. I have tried to reload the root RC but when I rename and load to SDCard Ii get something about not able to verifiy the file.

Could some one Please help to get me back on track.

Side note i was trying to load this:

http://htcpedia.com/forum/showthread.php?p=18084
[G1 Q&A, Help & Troubleshooting] AMedford:
So i have the RC back on my phone, but would still like to install the ROM i posted in the above URL.

In the above post this is what is listed for needs:

SPL 1.33.2005 (Called Haykuro SPL)

Does any one have a link to a Guide that will show how to correctly unstall this SPL? As i under stand it, installing this SPL is very dangeris and will brick your phone easy if done incorrectly.

An ext2/3-partition for the apps

I am pretty sure that i have this set up correctly, I should be able to just go to a prompt and type in print to see the partionts on my SD Card.

Any help or comments would be great!
[G1 Q&A, Help & Troubleshooting] Fingerlickin:
Boot loop after flashing a different rom is usually caused by your ext partition. You should wipe the partition when you change ROMs. You can backup the apps on the ext partition to the fat32 partition, wip ext, then restore the apps.

Use the script in post 3 HERE

As for the DangerSPL... I wouldn't recommend it unless you want to try a hero ROM. If you still want to install it then make sure you flash the proper radio first, even if you already have the radio, flash it again anyways. Both can be found HERE
[MDA, XDA, 1010 Software Upgrading] gabriel.meyerlackamp:
How do I get unlock code for AT&T Wireless SX56:confused:
[MDA, XDA, 1010 Software Upgrading] cerjam:
unlock code for what?

SIM unlock or something else?

sim unlock theres a program for it, check in the wiki. should be one of the first things.
[G1 Q&A, Help & Troubleshooting] paullevack:
was running cyanogenMod 4.1.999, removed my sd card to swap files between two phones. rebooted frozen phone. stuck in boot loop. went into cyanogen 1.4 and wont mount sd.

is my sd card broken? what do i need to do to fix this? is it as simple as formating the sd card on a computer? is there any way to do all of this off my phone?
[G1 Q&A, Help & Troubleshooting] My_Name_Is_Neo:
Try to wipe your nand as well as ext3. and restore your last backup or flash a fresh one. most likely your phone was using some files on ext3 which are corrupt now.

If you know a lil more than that, then you can attach ADB when it boot loops and pull out a logcat and see which app is misbehaving & just clear the cache files for that app.
[G1 Q&A, Help & Troubleshooting] B-man007:
did you try fix ext partitions in cm's recovery?
[Touch Diamond2, Pure General] Overloaded:
How to disable the landscape in the music and pictures tab?? (Manila 2.5 build 1919)

I think there really laggy and anoying. And when i'm listening to music it will auto rotate to landscape in my pocket..

So when i want to change the song i need to wait for 3 seconds too let it rotate to portrait.

I have disabled the 'auto rotate' option and i disabled the g-sensor in WVGA Tweak.. but it doesn't work..

Any solution.?? :confused:

But i don't want to disable the g-sensor completely because i want to play teeter :D
[Touch Diamond2, Pure General] sualc:
With TD2 Tools it is possible to turn off Manila autorotation only, this could help... assuming that you play music with Windows Media Player.
[XPERIA X1 Q&A, Help & Troubleshooting] macheda:
hi guyz.i need help.im trying to hard spl my xperia but i keep gtn error 202.wat am i doing wrong?everyting is properly connected and im running windows xp on my laptop
[Touch Pro CDMA] jbailey49:
Sorry if this has been asked already, i searched and found no results. here is my question: is it possible to get manila 2.6 onto sprint touch pro?:confused:
[Touch Pro CDMA] one80oneday:
they're working on releasing packages and cabs. So far they only have GSM roms with it. More info here:

http://forum.ppcgeeks.com/showthread.php?t=86973
[Touch Pro CDMA] jmy72:
HAHAHAHAHAHA They can't even get 2.5 to properly work on the CDMA Raph, and now you want them to try 2.6???? Come on. I think you'll see a proper Android ROM before 2.6.
[Touch Pro CDMA] jbailey49:
thanx 4 the fast reply
[Touch Pro CDMA] crashelite:
http://eliteteam.htc-hackers.mobi/pub/

i found on there the 2.6 rar dunno if its just a dump for manual install or what
[Touch Pro CDMA] jmy72:
yeah, I downloaded that once, to try to incorporate it into kitchen. It is very buggy. Half of it does not work. It also has the contacts problem like the rom over at everything TD/Pro. I think it may be the same Manila files.
[Touch Pro2, Tilt 2 Windows Mobile General] JediMaster100:
hi all! I've been wondering ever since receiving my TP2, how can I set it so that the device resumes from standby/lock mode to the last screen that was active? Right now, it seems to restores only to the today tab.

For e.g. if I am using Notes and switch the device to standby using the on/off button, turning it back on takes me to today tab...
[Touch Pro2, Tilt 2 Windows Mobile General] kuzibri:
this question has just been asked in another thread called "Restore last tab after standby".

I have checked this issue for you and it does not account for me. When I switch of my TP when in, FI, Coreplayer and switch it on again, it still displays Coreplayer, or whatever app that was open before going into standby.
[Touch Pro2, Tilt 2 Windows Mobile General] JediMaster100:
hhmmm thanks. it seems to be related to the lock function...

http://xdaforums.com/showthread.php?t=532098&highlight=lock
[General Topics] theomni:
I deactivated my Facebook account because I didn't have time to use it and the microsoft facebook on my phone wasn't the best (why leave information up on a site that you don't have time to check/change?).

If HTC develops a Facebook app or a tab for the HD2 in the awesome way they do things, I probably will start facebook again.
[General Topics] lude219:
I agree. I'm not hating or anything, but facebook has a much broader use than Twitter and it would be nice to be able to communicate people who actually matters to you rather than following some celeb or industry giant (be it Paris Hilton or Peter Chou).
[General Topics] agent.m:
if you check the topaz and rhodium threads you'll find htc have a facebook app just not like the twitter tab. its integrated into your contacts if you have a search you'll find out more. also if you go to x.faceboom.com you can access it via opera and it looks like the iphone version :)
[General Topics] why_999:
I dont have either phone (TD2 or Pro2)... TF3D allows you just to check status of that particular contact... am I right so far??? also it will not allow you to comment etc.. on that status.

But what most of us will like is some something similar to the twitter tab, a complete status update of all your friends (most recent) and allows you to comment etc.. without the need to open an app or a browser... wishfull thinking maybe ;)
[General Topics] PretoriaPhil:
HTC shouldn't be doing anything now except getting the WM6.5 rom for the Diamond 2 released.
[General Topics] agent.m:
yep. like i said though. best bet so far is the mobile site atm. the x.facebook.com is better than the m.facebook version.

ps it seems microsoft have updated the facebook app on marketplace. I check the version numbers of both and the new one is 1.1 but they both look the same to me :(
[General Topics] agent.m:
good point lol
[General Topics] obededom:
I just tried it in mini opera 4.2, and it's not recognizing the address. Is the domain still live?
[General Topics] why_999:
I just was on it but I was using Opera Mobile.. give that a go
[General Topics] trentend:
Consider fring. It has a facebook add-in (although I don't use it so can't recommend). I do like fring for voip and integrating social networking functions in one place, though. Try it, you might like it.
[Touch HD Themes and Apps] tom_hungston:
Very simple and very very light application.

Does exactly what it says on the TIN.

The reason I compiled this application is purely to avoid using power button as I don’t want it to worn out. To turn the screen on or off we have to use power button which might stop working if we use the button too much. This application will cut the use of the power button by 50% at least

Rather than using the power button to turn the screen on and off, tap on this application to turn the screen off. Very small application V1.0

I might release another one when I get feedback from the users.

If you want just exe file then copy it in to your phonewindows->start menu-> program folder

Or use cab file which will install it on the above location for you

Enjoy !!!!:)
[Touch HD Themes and Apps] Major_Sarcasm:
Trying to be contructive, the way this application could be more useful (to me) would be if it triggered the standard screen lock at the same time as switching off the screen. This would save me tapping 'start' then 'lock' and then pressing the power button.
[Touch HD Themes and Apps] MAMeingast:
+1

That makes a lot of sense!
[Touch HD Themes and Apps] tom_hungston:
hiya,

much appreciate for your comments. do you mean turning screen off as well as locking the screen..? so that when you touch the screen it won't come back on...?

I'm working on to prepare better version i.e. it would be on the home screen so that no clicking on start menu and then this app.

cheers
[Touch HD Themes and Apps] EgorLev:
I think he means that you program should not only turn off the devise, but also lock it with the standard WM lock at the same time. That would be good for me, at least. ;)
[Touch HD Themes and Apps] infernozeta2:
+1

screen off + lock at same time only pressing Powerbutton.
[Touch HD Themes and Apps] BlackMonkey:
It work perfectly for me so as it is. I changed the left soft-key so that it will start "turn off the light.exe" .When the screen is off S2U2 will lock the screen. So I can turn off and lock the screen with only one click.

To change the soft key do this:

with a registry editor go to HKLM/Software/HTC/manila/ . in HomeLSKPath (left softkey) or HomeRSKPath (right softkey) write the address to "turn off the light.exe". HomeLSKText and HomeRSKText are the text for the softkeys.

That´s it!:)
[Touch HD Themes and Apps] tom_hungston:
update for touch diamond

hi everyone,

massive thanks to all those who provided replies. I have tried on my blackstone (Touch HD) and it does seems to turn off the screen plus all keys as well.

I can confirm that it doesnt lock all the keys i.e. doesnt lock the device on touch diamond model. I'll modify the program and upload the newer version with the feature of locking the keys plus turning off the screen.

once agian special thanks to everyone.
[Touch HD Themes and Apps] Major_Sarcasm:
Certainly reading the comments above, people seemed to understand what I was getting at. With the screen off, the buttons on a HD will indeed be non-responsive, however if an event (SMS or similar) woke the screen, the device would be in an unlocked state. What I would be interested in is a program that turned off the screen and invoked the standard WM lock program (gwes.exe?).

Hope that makes sense.
[Touch HD Themes and Apps] asterix00:
i like this application but i think the icon is really ugly..
[Touch HD Themes and Apps] zzyzx80:
Hi,

is there a possibility to do a screen unlock application which can be activated by voice commander? the situation is this...

I used voice commander to launch google maps while my hand is busy when the screen is lock. however, i will need a program which can be initiated by the voice commander to unlock the screen so that i can navigate the maps. Right now i will have to unlock the screen the normal way which i find voice commander redundant since i'll have to use my finger during lunching anyway.

Can you help me on this? Many thanks in advance. =)
[Touch HD Themes and Apps] alhuang69:
Here is the app that has the feature which you prefer:

LockDevice => http://xdaforums.com/showthread.php?t=542482
[Touch HD Themes and Apps] Major_Sarcasm:
Thanks for the link!
[Touch HD Themes and Apps] carhigh:
Been using this app so i dont have to fumble with the power button to turn the screen off. Seems this app only turns off the screen and doesnt actualy put the phone in sleep. I would like an app like this that acts as the power button does. So when i put the phone to sleep with the icon, i cant accidently slide the keyboard out a touch and have the phone wake up.

The whole deal has to do with tilt 2's keyboard sensor and magnet cases. With this app, the keyboard sensor still activates when sliding into a magnet flap case, while having slie to wake disabled
[Touch HD Themes and Apps] tom_hungston:
Hiya,

I'm working on the program so that you can have configuration option to simulate power button to put phone in sleep mode or jus to turn the screen off. This utility was just for people who want to save power whilst listening to the music, etc.

Please keep any ideas/suggestion coming. Much appreciated guys.

Watch the space guys....
[Touch HD Themes and Apps] henrik.dk:
That is great inítiative. I use the screen off function actually for the purpose to save power when navigation. screen off when there is a long straíght way to drive.

Put device to sleep mode will cause gps signal lost, which is not so nice.

I can image that there will be a lot of person who wnat to have different adds-on on this small application, it might be a solution to provide command argument.

Thank you.

I will try to see whether this one works for my purpose. Actually in my situation, I even don't want any key be locked as these keys are mapped for navigation.
[Touch HD Themes and Apps] henrik.dk:
How about screen toggle thus it is possible to map this application to a key?
[Touch HD Themes and Apps] Tolt:
awesome, i mapped the exe to a hardware key next to standby. now i can easily save power while wardr listening to music. ^_^

it combines very well with s2u2 locking function too.

big thanks! :)
[Touch HD Themes and Apps] jbiton:
Tom, may be it was to late to find your toggle light off switch, but it was very important for me to find it, thank you man, you solved a terrible issue for me, which is that programs stop updating (eg: twitter) when the device is in standby mode.

I heard that you can release another one, so my feedback is:

it takes about 2 seconds to turn off the light, isn't there any faster??? :-)))