yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Play a song from music player and you can get 30 steps of volume..

Update: 1% Batt Mod added. Icon is modified from stock Icon.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] quachhanthanh:
Please add the battery % in the systemUI.apk hansip, I need that anh ur mods :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Yes mate, it's already uploaded :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] KristianKenneth:
Seriously, the flashlight toggle drains battery?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
I don't know actually. Maybe dependant on the Rom used though. Even before the fix is here, no drain on stock beta.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] miedy12:
Hansip we just need to download the battery mod then flash it ryt!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Yes it is.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] [SIC]:
Hey houston, I got a problem to report, well actually just a minor defect.

When toggling data on -> off it stays highlighted like it was still on.

And finally I got my battery % mix :D

Thanks!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
That's not a defect actually. It's how android handles the communication asynchronously. So when you press the button, the channel needs to be cleaned up first sometimes so like the 3g symbol on the status bar will not go away instantly, so does the mobile data button.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] MegaWath:
Can you make a SistemUI like AOSP? :D

(with blue buttons, and battery mode %)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
I hand it over to jjdoctor for such a request ;) Like the stock style more then AOSP ones.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kizsleg:
Thanks for fixing rotation, works well with jj's hybrid ROM.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
No prob. :) Next up, app switcher on status bar so no more home long press ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kizsleg:
That looks cool. You got so many ideas in your head. Keep it up!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Hansip, i can't use that patch since it will cause issues with Reboot menu....

There is a guy who did this on framework-res.apk without effecting lockscreen orientation...

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

I wanted to apply that to prevent any mixes with reboot menu... Any other way out?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Umm no it won't. i have no issue with reboot menu now :confused: May i ask what issue do you have with reboot menu?

If you still use my default reboot button, the patch wont cause any problem. fixing framework-res.apk will only say true or false to Lockscreen orientation and ignore the device setting. The only way to fix the Lockscreen to follow device settings is only by editing the smali code.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Actually that reboot menu is an addon in my ROM...

Will it cause any troubles for those who have or have not flashed reboot menu addon?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well afaik, no issue. Since the reboot menu is defined inside android.policy.jar which handles the Lockscreen orientation too. So the only issue left is the framework.jar. But if the base of framework is from my mod, you'll be fine.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kianchong:
Thanks for you nice work, i like the Mod.

I found one question , the wave lock screen show camera icon and unlock icon as default.

Does It should shown when i touch the lock icon?

Thanks...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well, actually i only applied the XML but not the code that manages them, so it is how AOSP Wave Lock Screen behave as a default.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Mod updated, While not as perfect as i want it to be (Perfect means Complete change of Menu button function, but with stock SEMC still Gingerbread based, it is impossible right now :o ), it works as it should :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jvivanov:
On power button hold the phone is restarting immediately!

Installed: ICS-SystemUI_21Mar_.zip

Android: 4.0.3, KA04 Ice Cream Sony, kernel 2.6.32.9-perf

Phone: Xperia Neo MT15i

Excluding this little problem, this widget is what i've searchin for from long time ago.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
I think KA already added into his Rom after ka07. Try to update it first.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
WP7 style Task Switcher is done. :) But to make it compatible with landscape task switcher, i keep the square nature of the thumbnail. Check back later guys. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
Does this work with KA11 ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well it should. Depends on odex nature of the ROM though. Contact KA to port it to his ROM.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
I don't think it does...I ended up with boot loops when I tried to flash the

10 in 1 MOD onto KA11 and KA09, but it worked fine on KA07. I also tried

flashing Hansip87s ServicesHTK.zip, but it didn't help. As soon as I flash

ICS-FW-Smooth+Rebo the boot loops begin....

I also put a note up on the KA thread....maybe he can figure it out....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Haha... Thanks hansip, works perfectly on Hybrid ROM... Landscape, potrait.. everything...:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Jj you know what to do ;)

http://www.mediafire.com/?bp3tt01hfxsy90d
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kizsleg:
is this a modded one from JJ's hybrid?

EDIT: Oh, i think its not.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Hey hansip, I tried this MIUI Battery bar but its not working...:confused: ... i failed... the bar doesnt appear...Maybe you can get this awesome mod to work....:rolleyes:

http://xdaforums.com/showthread.php?t=1371330#
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well Ok let's see about that mod :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
There is an app in the market called chargebar that does it........
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Damn that's good and exactly what i wanted...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well no mod from me then :p Focus on Reboot menu.. ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Nothing is better than builtin feature
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
Hi Hansip,

would it be possible to get a battery MOD that shows battery drain (%change

per unit time) instead of/in addition to the ones that show remaining charge?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Umm I think it would need another calculation going on (which is hard without source code). And that will cost you some additional drain. It is much easier for systemui to only receive a message from kernel and update the icon as requested by kernel. That's how android systemui works.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sirkay:
there's any screenshot for that WP7 mod?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Why yes, the last photo on op. :) I know its not quite the same but there's some limitation to be taken while designing the dimension.

And jjdoctor already put it as a plugin. Download from his op then :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
Oh, the irony of the battery monitor draining the battery....

In any case it was probably a stupid idea to display the Change in V over time....I think what really needs to be displayed is the current being used by the battery. My old phone didn't support it, but I think that the Ray does....at least chargewidget works on the Ray and it looks in: cat sys/class/power_supply/battery/current_now

Chargewidget only displays the numerical value of the current and I was hoping for something graphical in the status bar. If the System UI can save the old values...a few bars could give you an idea of the current drain of the battery in a set time window. For example, using a really simple set up with a 1 minute update, 5 bars would give you a 5 minute picture of the battery drain.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Adam3Sixty:
This is EXACTLY what I have been looking for, but it wont work when I flash it to my Xperia Play :(

Any chance of getting it working for the Play too??
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
While your idea is great, i don't think i can apply that, just too major changes needed :o Need Source Code and original Android knowledge (which i have no such things) :o

@Adam: Well jjdoctor's hybrid ROM will use this mod. :) we are collaborating for that now. Hope it will be perfect, given that we don't have Play to try our mods on.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Adam3Sixty:
I can test things for u if u like, only thing is my Play is my daily driver, so I have to make sure it is working, lol. I have my good ol' Nandroid Back-Ups tho, so testing stuff isnt such a big deal :)

Let me know :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] justmpm:
Thanks Hansip....I didn't realize that the battery notification is not much more than a look up table of battery states and graphic files......
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Sadly easier said than done :o what I know now, battery icon in stock form it's just an xml code. What you request requires a smali editing.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Hansip, you never tried CRT animations? Saw one rom with it based on 4.0.4
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
what ROM bro? if it's CM well no question asked.. :rolleyes: but with Sony stock ROM, no way to achieve that without editing libsurfaceflinger.so. Do you have the link for that? I may ask the creator though.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
well if that surfaceflinger.so was running on my ray then ofcourse its gonna work... its AOKP Kang team rom...porting that Rom soon. .
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Yes it will work, but i'm not sure if it can be ported to Sony Stock ROM. Well, good luck mate.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
you can give it a go .. tell me which files u need to copy the mod. .
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
/system/lib/libsurfaceflinger.so and /system/lib/libsurfaceflinger_client.so
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Good luck
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Tried it, not booting. flashed the old one and it worked again.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
ICS 562 mod coming right up! :) statusbar widget and battery mod implemented now on the new systemui file and phone.apk. Tomorrow I'll upload. ;-) framework related mod, will be created later.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Complete Migration to 562 Framework Mod is completed :) Please take caution when installing the package. In order to make it easy for me to upload and for you to choose, framework-res.apk is given as 2 choice of download, with SEMC LockScreen or with AOSP LockScreen. You have to use one of them so the PowerMenu from PartA of download won't crash. (due to Reboot Icon is required inside framework-res.apk)

Have fun! :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
So, what about the a and b part ? We flash them using cwm ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Yes you need to flash them both. Btw, Seems like error while uploading. I'll try to reupload again.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] [SIC]:
Does the latest one restores ics "recent apps"? Thougt that was a kinda huge fail by sony
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Yes it will. Not sony's fault though. It's there for legacy compatibility purpose by android.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] funiewski:
hansip, is there any possibility for adding usb and wifi tether to power menu?I before ics it worked in widgetsoid but not now any more
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well there's always possibility but myself is not quite willing to give time for that :o Since i have to learn the smali code of settings.apk to mimic the method (i was doing 2G/3G Widget in the same way but that feature is more important so i'd like to find out how). But if anybody would like to extend this mod then you're welcome. :) Maybe logically more fit as status bar widget button rather than a Power Menu i might say.

PS: Sorry all, seems like i can't upload right now. :( Once i get home i'll upload again guys. Be patient.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
hi hansip, u got a new mod waiting. this is better than wp7 .. wud love it if possible .

http://xdaforums.com/showthread.php?p=24623171
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Wow cool.. :) Well, the only gripe is that the landscape mode thumbnail capturing is not working quite good in android so any portrait layout will be buggy when swapped to landscape. That's why i stay on Android ICS style.

But i'll give it a try though. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] funiewski:
u are right status bar is what I mean,i have no time in my life to learn myself, can only support u

i use usb tether at my work for internet connection, it is quite annoying to need to go to settings all the time
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Mod uploaded.. :) phewww..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rambg2:
Can You Port this on Our Mini Pro Please? I love your work and i want it badly T.T

I Have Stock Rom, and and im on .58
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mathewgx:
Nice job !!

Can you make the battery %indicator in blue background , cause as it is it is hard to read.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Didn't like-p already build you one? :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
When I have time to edit 100 image mate.. :p not going to fallback to aosp style though. Loves to retain Sony theme. ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lzyllp:
I decompile the odex file and mod it on 562.

How to recompile to odex file？

U copy the full jar files to phone system and re-odex it？
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rambg2:
what's like-p?

Man,I Can't understand you. Can you please make your english simple. im not good in english.

I'm Sorry man. I Love your work to port on my Mini Pro. Your Work Rocks!! I want it badly.! =)))
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
http://xdaforums.com/showthread.php?t=1208320
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rambg2:
Please Man, Port this to our Mini Pro, T.T
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
User like-p already port it into mini pro inside theme and apps section. While the theme maybe different, the function is the same or even better than mine. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Additional Download is updated too now :) Next in my future updates (in the same order of priorities):

1. Add a mirror effect on Home Launcher.

2. Add a Wifi and USB Tether button to Statusbar Widget.

3. Add Some improvement to Quick Panel Settings,

4. Try to mod Task Switcher to HTC style.

Hopefully i can add them all ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] KristianKenneth:
What should I install. I dont like the bat percentage on the battery icon.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Unfortunately I did not retain the one without percentage sorry :o because the percentage is not that visible and style is still like default, so I opt to keep percentage with it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lzyllp:
How to recompile 562 framework？

I decompile the framework-res.apk

But can‘t recompile it even I not change everything.

I use apktool 1.4.3
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Compromise. ;) to be honest, a necessary tradeoff is required to compile back framework-res.apk. The trick is that for every plurals.xml mentioned at log, you need to insert another % after the last %. What's the tradeoff? it will ruin the built-in browser search info. (which shows at what point you have searched a word from how many result. Which frankly little number of people use it).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
Hansip, i mistakenly sent you wrong surfaceflinger files from other aokp ROM which didn't have those CRT animations...:p

sorry for that... I have attached the ones that are confirmed to have one...

Do give it a go in your spare time...:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] lzyllp:
Thanks

But when I translate your framework to chinese and recompile it not work show
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Well i think it won't work again jj :o somehow the interface between the file with other ones is incompatible so it will do bootloop i'm 99% sure of that.. :o Why don't you try it yourself? ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
I have the old prob of recompiling.... especially I cudnt manage to odex again...:confused:

send me ur modified Services.jar... I have ur framework file.. will try over that...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Already listed on first page mate.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
I mean the ones that u modified previously for CRT animation...

btw.. hansip.. did u see this..?.. we made it to first page...lol..

http://www.xda-developers.com/tag/sony-ericsson-xperia-ray/
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
:confused: I didn't make any CRT animation, i just share what like-p posted in Mini Pro. No part of mine in that. and no relation with services.jar :rolleyes:

about the news, well, already read sometimes before ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] emannxperia:
jjdoctor,

Can i include it in my rom?:D

sent from my digital typewriter
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Try to use APKTool from here

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

I was having some problem but i don't remember what causes it. Should be ok with the one from that link though.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jjdoctor:
yes yes.... But dont forget to dive credits in Bold Red color....lol...:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] emannxperia:
Sure..:D

sent from my digital typewriter
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] [SIC]:
Hey Hansip, is it possible for you to adjust your mods for the 1252-5332?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Try to use systemui packet only. Don't apply part a and part b for the moment.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ALIRAFAAT:
hi

i have Official Sony ICS 4.1.A.0.562 NCB Generic

download and install this :

1. Download PartA Here

2b. Or download PartB (with Wave LockScreen) Here

3. Download Status Bar Widget (With Darker Text Shadow) Here

but:confused:

-status bar is gone

- wallpaper is gone ( and when new theme or wallpaper -- error -- xperia home has stopped

lock screen is good changed

reboot in power menu is good
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] [SIC]:
Thanks, I already reverted to the leaked one since I can't use the phone without your awsome mods so I'll just wait instead :D

Read the above post :rolleyes:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] albagani:
will wait for your mod...:D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] hansip87:
Can anybody report if the systemui packet is okay or not if installed by itself? I am not at home and haven't upgraded. Please report back.
[Nexus S Q&A, Help & Troubleshooting] lorman:
from this thread, http://xdaforums.com/showthread.php?t=1459304 i want to buy or selfmade a Y cable, do you help me ?!

How ROM implement this drivers !?
[Nexus S Q&A, Help & Troubleshooting] Harbb:
Drivers are in the kernel. Wiring diagram here.
[Nexus S Q&A, Help & Troubleshooting] lorman:
now i have matrix kernel, what is the best kernel with USB host mode!?

accept help, thanks!
[Galaxy S II Q&A, Help & Troubleshooting] salmanghiyas:
my phone Details

Model : SHW-M250K

Firmware ver. : 2.3.6

Baseband ver. : M250K.EI21.0303.KT

Kernel ver. : 2.6.35.7-M250K.EK23.0717-CL755582

Build number : GINGERBREAD.EK23

PDA : M250K.EK23.0715

PHONE : M250K.EI21.0303.KT

MOVINAND : NONE

BUILD INFO : Wed Nov 23 07:22:02 KST 2011

i have this Korean Galaxy S2

few questions to ask the experts ...

1: am i on the latest Stock Korean Firmware ?

2: can i flash any official/stock Firmware of GT-i9100 using Odin ? like using the .pit file then the PDA then the phone and modem ... all together 4 files ?

3: after that ... can i ROOT my phone normally ? i mean like standard procedure ? i mean using Odin or other methods like superoneclick or CWM etc ?

if i flash stock firmware of GT-i9100 via Odin ... and root it ... do i still face that boot loop problem ? and then have to install the original stock korean KERNEL ??

since there is no chance that i would be using my phone in korea .. so is it fine to have a stock firmware of i9100 ??

and after root .. can i install KERNELs of my own choice .. for e.g semaphone , speedmod , galaxian etc etc ???
[Galaxy S II Q&A, Help & Troubleshooting] B3311:
You'll get more help posting here, I should think.
[Galaxy S II Q&A, Help & Troubleshooting] salmanghiyas:
invalid link
[Galaxy S II Q&A, Help & Troubleshooting] B3311:
Sorry - here it is.

But I see you've posted there already.
[Galaxy S II Q&A, Help & Troubleshooting] salmanghiyas:
Yeah mate .. No reply therr so i tried to take help from here
[Windows Phone 7 Q&A, Help & Troubleshooting] ming0971:
How do I flash nbh file to HTC trophy? How to copy any file to HTC trophy internal storage ?

Regards Ming

Sent from my 7 Trophy using Board Express
[Windows Phone 7 Q&A, Help & Troubleshooting] GoodDayToDie:
To flash a ROM (including just the SPL or radio) to an HTC WP7, you use a program called ROM_Update_Utility (abbreviated RUU). Most ROMs, custom or stock, come with this program. If it's a custom ROM, you need to be using HSPL (see the relevant thread on the dev&hacking sub-forum).

As for files to storage, what files do you need to copy and where do you need to put them? There are numerous options for how this could be done.
[Windows Phone 7 Q&A, Help & Troubleshooting] ming0971:
such as office files...but my primary notebook is mac.

Regards

Sent from my 7 Trophy T8686 using Board Express
[Windows Phone 7 Q&A, Help & Troubleshooting] GoodDayToDie:
Office docs can be uploaded to SkyDrive right from the phone, and then downloaded on the new phone. No need for hacks there.

I doubt you'll be able to use RUU from OS X, although I guess you could *try* with Wine (I really doubt it would work, though). Use a VM, a dual-boot, or a friend with Windows.