ROM Upgrade using Linux - Upgrading, Modifying and Unlocking

I have a problem I encountered when i recently wanted to upgrade to WM2005. I use linux and XDA2 and it has been enough for me for installing programs synchronizing and almost anything of the sort 8)(using synce and usbserial/ipaq drivers ) .
But when it came to upgrading the ROM I could find instructions only using Activesync :shock: I assume that using linux it must be possible to upgrade and it seems very worng that i have to buy windows just for the upgrade ..
SO I'd like some help in upgrading to WM2005 using linux .. If some of the experienced guys can help me out in this I could try it out and post the results here
cheers
Frino
Hardware PH10B
ROM version 2.06.00.WWE
Radio Version 1.18.00
ExtROM version Sin.Merged.v2.0

Well, which distro/version are you using? Actually, I've been trying many times to get synce to work on Mandrake 10.1, but I really had hard times and got crazy...How is it done?

Howto Sync XDA2 with Linux
I use Gentoo linux ..
Though i have done this on other distros too ,the software u need to use are ipaq usbserial drivers and synce multisync/kitchensync
I've done all of this using XDA2 but i guess it applies to XDA and others too.
all commands are bold and those that begin with # should be executed as root and those that begin with $ should be executed as normal user .
The following is the procedure
First u need to have the usbserial and ipaq built as modules in your kernel.
(please google for details to compile ur kernel)
Then u either need to add a line in ur modules.autoload file or load the module by hand. In gentoo linux the file is located at /etc/modules.autoload.d/kernel-2.* depending on ur kernel version I dunno if mandrake has a similar file but it must be there somewhere
so either
#echo "ipaq vendor=0x0bb4 product=0x0a02" >> /etc/modules.autoload.d/kernel-2.6
(Im using a 2.6 kernel the 0x0bb4 and 0x0a02 are the vendor id and product id which u can find out using usbview these values are the XDA2.This adds it to the autoload file so that u don't have to do this everytime ur system reboots)
or from a command prompt as root issue the following command
hint: do the following anyway or you will need a restart to load the module
#modprobe ipaq vendor=0x0bb4 product=0x0a02
once this is done once u connect ur XDA2 to USB u must be able to see from dmesg that it is connected to some serial port
on my machine its usually
/dev/usb/tts/0
now this is done and next is synce
the synce procedure is as below
$dccm
#synce-serial-config /dev/usb/tts/0
#synce-serial-start
now u have ur xda connected u will be able to see the connection on ur XDA2
now if u use gnome u can just type synce:// in ur nautilus location bar and it will open ur XDA2 and u can copy files to and from it as simple as that there is also a synce-incomputer-install which will install a mobile device in ur computer which will open synce:// for u when clicked .. if u use kde then use the synce-kde plugin which will provide u with all the functionality required and KitchenSync connector will sync your pocket pc with kontact
There is also a synce-install-cab and synce-program-manager that lest u manage the installed programs and also to install new cab files to ur device from your computer and as for the exe's available on the net for installing programs u can use orange to extract the cab files from the executable
Multisync has an Evolution plugin and a synce plugin using which u can create a synchronisation pair to sync ur XDA with Evolution yes it is possible to synchronise most of the stuff im not sure if notes etc can be done but i used to back up all my contacts and appointments using this.
Now it is possible to automate all of this from scripts though i am not that gifted in scripting it could be done. Someone must be working on it as we speak or maybe I will someday (wishing)
:x The only thing i haven't been able to figure out is how to do a ROM upgrade .. I can copy files to and from the device i can connect to it in every possible way and im sure i can connect to it in bootloader mode too (I haven't tried this but it must be pretty straightforward) I just need what steps are to be followed exactly and what happens on the device.
Hope this helps ..
Do get in touch if u get stuck somewhere I can help u out.
cheers
frino

I am still waiting for some help in upgrading Rom from Linux i was hoping there are more linux users out there

Gentoo linux user
I use gentoo (it really rocks) and would also like to know how to install ROMs from linux.

Obvious and probably wrong
I have to be honest I'm only just starting out in the happy world of linux but I'm guessing the easiest way to circumvent this navigation problem is to use the SD card rom upgrade method. if you can browse the magician filesystem from linux using the method described you could also access the sd card. now I'm guessing the problem is whether theres a linux equivelant of ntrw and theres where my total lack of knowledge becomes every so slightly a problem.
just an idea, it seems though that this would be the most likely method

even if there was a work around then i would still
think it much easier and safer to do it from a windows box you have access to

Re: Obvious and probably wrong
herman3101 said:
linux equivelant of ntrw
Click to expand...
Click to collapse
What does this 'ntrw' do ? If you want to make
a raw image copy to the MMC/SD card
then it depends on whether you have an
USB adapter or a notebook MMC/SD cardreader.
dd if=myimage of=/dev/{whatever block device you use}
or even
cat myimage > /dev/{whatever block device you use}
should do the trick.

Rudegar said:
much easier and safer to do it from a windows box
Click to expand...
Click to collapse
I doubt you can do things like that on windows:
Code:
mount -o loop,offset=0x70040 ms_.nba /mnt
cat romimage > /dev/mmcblk0

I thought ntrw was the utility to read and write the image from and to the magician. The problem with writing directly to the SD card is that it needs to be unformatted. ntrw writes raw data to the card which the bootloader can read but windows and presumably linux cant.
I have to be honest this could all be a load of bull as I always use the MAupgrade method over USB. Although i did once use the ntrw method for a radio upgrade

herman3101 said:
ntrw writes raw data to the card which the bootloader can read but windows and presumably linux cant.
Click to expand...
Click to collapse
ntrw.exe is available with complete
source code. It doesn't do any magic. It is only
here to do things on windows, which were
always possible on any unix machine.
/*
* WinSOS NT utility for writing image files to floppy.
*
* Toomas Kiisk <[email protected]>, Mar 27 1999
*
* This program is provided AS IS, with NO WARRANTY, either
* expressed or implied.
*
* This program or parts of it may be used, reused, abused,
* misused and disused for any purpose that is legal in
* your country. Names of the author and contributors may not
* be used to promote products derived from this software.
* Redistribution is not limited.
*
*
* Last modified Apr 1 1999
* some cleanups, 2 (harmless) bugs fixed and new ones
* introduced, of course
*
*
*/

Related

Tech-Ed 2005 and WM2005

I know I have been lurking for quite a while but hold on to your hat.
While reviewing the new PPC devices running WM2005 in Tech-Ed I discovered a BlueAngle device with a WM2005 sign above it. Thinking someone made a mistake I took a closer look... The images are crappy but hey, it's a BlueAngle.
I will make an attempt to get a ROM backup of it but not sure if I can... This at least proves that there is indeed a ROM out there for this device..
Do you know who was presenting on the stand (Microsoft, HTC or a Telecoms Carrier)?
Did you try the device out and was it FULLY functional (Telephone, camera, wifi, bluetooth etc) or was it a basic implementation of WM2005 without drivers for BlueAngel hardware?
I'm sure there will be a lot more interest in this thread if you are able to get hold of the unit for "testing"!
Happy hacking...
Yeah, lets get a hand on it, man! 'd be nice, if a version of magneto would leak out...
Nice! I was getting my hopes down, but now it looks like it's a matter of time until we get our hands in that baby
MrHappy, if you managed to get the Rom off that device you would make ALOT of people VERY happy. If you can do this, you will be the most popular person on Blue Angel forums everywhere .
But, I have the same questions as Bebbo.
1) Whose device is it? Microsoft? HTC? etc
2) Is it fully functional?
I would SO just go up to the device, stick in an SD Card, dump the Rom, and run away .
hey that would be great if you can handle that!
TheLastOne said:
I would SO just go up to the device, stick in an SD Card, dump the Rom, and run away .
Click to expand...
Click to collapse
Ha ha ha, I second that advice
Yeah, it looked like it had all the pieces.
How do i backup a rom? xbackup? Believe me, if I can get a backup of it i will....
pointers on anything that will just backup when I put the sd card in?
did you see htc alpine aka pda 2 aka xda2i with 2005?
if so could you try getting that rom aswell
goodluck
For all I know, this is the only way http://en.pdamobiz.com/en/forum/forum_posts.asp?TID=151
Which will be quite hard for you to do
hell dude there is no way they are going to let me synch this thing up with anything. Isn't there a program I can autorun on my sd card that will do it? As you can imagine, they are hovering over this rack and the phones are clamped down tight.
you dont have to sync it, just close wcecomm in your taskmanager and follow the procedure 2 posts above, should work as usual
Just ROB IT AND RUNAWAY!! :>
But you still need a PC connected???
What we need is an app to put on the SD card -> put card in PDA -> copy application to PDA -> run it -> data written to SD card. (itsme - where are you when we need you????)
Okay i´ve got an easier procedure:
1: download this program: http://www.mcinternet.net/iwan/mtty.zip and place it onto desktop
2: CTRL+ALT+DEL and close wcescomm.exe in your taskmanager (only if you got active sync)
3: at the pocket pc: hold reset (with stylus) + speech record button + Off/On button - hold it for some seconds now it will be shown the Bootloader
4: start the tool mtty.exe just keep \\.\WCEUSBSH001 and right of that the USB , then just click OK
5: open a new blank file in the program and when you see typed: USB>
you have to click d2s
6: wait until the program shows: ************************************************** *******
Store image to SD/MMC card successful.
USB>
7: than just reset the pocket pc
now youve got an backup on you sd card (by the way it should be bigger than 64MB´s)
-----------
to get the backup file onto your desktop computer (you need an Cardreader on you pc):
1: load this program: http://forum.xda-developers.com/viewtopic.php?p=60435 (NTRW.exe) copy it on C:\NTRW\
2: Press START Button -> Run... -> type in "cmd" without the ""
3: now it will be shown: C:\Documents and settings\your user name>
4: type: cd\ntrw
5: after that type: ntrw read windowsmobile.nb1 C:
6: then you have to wait a few minutes (i waited about 10)
7: you find the windowsmobile.nb1 in your c:\ntrw folder
8: upload it
greets and hopefully it works
As previous comment - This requires a PC to complete and MrHappy is at a show with a PDA on a stand - No connected PC.....
We need a simple util on the PDA itself....
dumped, i don´t know any tool using only the pda... like from some other posts grab it and run
There aren't any tools to do it that way... You need to be in bootloader for it to work.. And in bootloader you can't run anything on the pda...
So i think that without the PC connection it will be impossible to do it.
Quoting itsme from the Wiki http://wiki.xda-developers.com/index.php?pagename=XDAtools he has a tool which ...
You can even read and write images to and from bootloader SD-cards through ActiveSync while your device still has its OS running.
Click to expand...
Click to collapse
I guess this works the same way as the developer tools for CE (They link into the PDA directly via ActiveSync)
I have PM'd him and asked if it is possible to do this direct on the PDA itself ... here's hoping.
The problem here is that he has NO PC. I believe we also have a time limit, as Tech-Ed doesn't stay around for ever.
Can you bribe the person at the booth to turn around while you walk out with it? I'm sure we could get enough people here willing to contribute to the bribe fund .
Or alternatively, can you bring a laptop? (ROFL)
But seriously, unless we can find a way to dump the Rom to an SD Card using a Pocket PC program WHILE the OS is running, we are out of luck here.
Well, even though this will likely end up in failure, at least we know that WM2005 for Blue Angel is within our grasp.

Request from a Linux user - Flashing without MS Windows

HI everybody
Like other people on this forum, i'm a linux user
I'm working under Ubuntu Hardy Heron. It's impossible to run any RUU under this system using WINE ( Software than give the possibility to run windows apps under linux ) because it need an active sync connection witch also don't work.
So my request is the following: Can we have a ROM Update utility for our cheer Penguin ?
Big thanks to all developers that works so hard for our community
you and me both: i'm on Linux Mint 5, though
i don't think it's a problem of the people on here: i say it's microsoft's refusing to release drivers for activesync...
There have been attempts made, but i don't know if any of them are going to work with these newer devices... Try googling SynCE...
Hello penguin's friend
SynCE is hard to configure...
But the question is not about synchro, but for ROM updating.
Okay Microsoft is radin... But for upgrading we only need an USB connection for data transfer through the hard SPL.
Activesync is only necessary to retrieve informations from the PDA during an update procedure ( Rom version for example ).
But the flashing procedure doesn't require it ! the prove: when we lunch this procedure the active sync connection stops and the SPL appears on the PDA's screen.
Here is my idea to make it possible under Linux : Run manually SPL on the PDA, and start flashing directly (with USB connection only).
In fact, we only need a ROM Update Utility that pass-through device information retrieving step ( is it really important? ). May be it can works.
All of this could run with wine. But I still think that a native linux RUU is the best way to explore.
There still exist a linux RUU update program (I don't remeber where, but if you make a search into this forum you can find it).
The matter is another one...our diamond don't use the common way to establish a connection with the laptoop ( /ttyUSB0) and so, till now, it's impossible to update...we have to find a workaround for this issues...
I don't understand...
It's the SPL that give necessary connection (usb/serial). Is the problem from it ?
Exactly
Take a look: http://forum.xda-developers.com/showthread.php?t=410302
By searching, i found a solution by flashing from a SD card with a special SPL.
Its solution was developed for ARTHEMIS PDA here : http://wiki.xda-developers.com/index.php?pagename=Artemis_SD_Card_Flashing
Do you think this SPL could work on our diamond ( we don't have SD Card but internal storage ).
I'm afraid to try it. My be it can crash my device permanently ...
GriFolle said:
Exactly
Take a look: http://forum.xda-developers.com/showthread.php?t=410302
Click to expand...
Click to collapse
GREAT ! i go take a look
Sers,
for Linux, HTC Flasher from the link in previous post is what you need.
It's working well for much HTC devices but Diamond still got some connection issues. It doesn't get attached to any serial port in SPL Mode, so flashing via Linux seems impossible.
Even flashing throught Virtualbox doesn't work because it's impossible to attach the device to the VM.
Maybe you're gonna find a solution, let's hope.
regards
demacus
dominique2222 said:
By searching, i found a solution by flashing from a SD card with a special SPL.
Its solution was developed for ARTHEMIS PDA here : http://wiki.xda-developers.com/index.php?pagename=Artemis_SD_Card_Flashing
Do you think this SPL could work on our diamond ( we don't have SD Card but internal storage ).
I'm afraid to try it. My be it can crash my device permanently ...
Click to expand...
Click to collapse
There you're wrong.
Take a look here: http://wiki.xda-developers.com/
In this thread a guy manage to flash Diamond via USB.
OK I have the solution !
It's very simple and don't need any computer!
BE CAREFUL BEFORE STARTING TO HAVE GOOD BATTERY !!!
Install Olinex hard SPL
Connect your PDA to linux in USB Disk mode
Simply copy your .nbh file into internal memory in root folder. rename it to DIAMIMG.NBH
Reset your device with pressing volume down and right key.
You will enter in Olinex SPL flash mode. Wait two seconds and it will ask you if you want to flash from DIAMIMG.nbh !!!
Thanks everybody for your help.
I think this solution is the more simple !
Congrats! Nice find!
This will make things much easyer for many ppl!
regards
demacus
it's much faster than trought async... always used this trick, the only thing to REALLY pay attention to have at least 40/50% of battery
All Right !
Is the file still there afterwards?
Nice find.
Possible to choose from more files?
dominique2222 said:
OK I have the solution !
It's very simple and don't need any computer!
BE CAREFUL BEFORE STARTING TO HAVE GOOD BATTERY !!!
Install Olinex hard SPL
Connect your PDA to linux in USB Disk mode
Simply copy your .nbh file into internal memory in root folder. rename it to DIAMIMG.NBH
Reset your device with pressing volume down and right key.
You will enter in Olinex SPL flash mode. Wait two seconds and it will ask you if you want to flash from DIAMIMG.nbh !!!
Thanks everybody for your help.
I think this solution is the more simple !
Click to expand...
Click to collapse
Thumbs up for you mate! super find, and saves us from messing with external USB hubs ....
Riel said:
Is the file still there afterwards?
Nice find.
Possible to choose from more files?
Click to expand...
Click to collapse
Well.....The file need that specific name.
You CAN transfer other files and name them, but you wont get a "menu" for choosing.
Just turn to your friend, and use his computer that runs Windows.
luzok said:
Just turn to your friend, and use his computer that runs Windows.
Click to expand...
Click to collapse
If prefer working under Linux Sorry Mr Bill !
Penguin 4 ever !!! YeaaaH !!!!

I want to made a custom WM2003SE ROM

Hello, everyone, I hope no piss anyone about this old OS, but I have no choice on my iPAQ Rx3115 'cause HP never releases an OS update for this pda, since it has decent features and mine is in perfect shape and it's a shame that a lot of programs cant be installed in this OS.
So, that's why i want to edit the ROM of this PDA, made a custom one with new programs and delete the old ones and the ones that are obsolete (like the MPG player, since tcmp and coreplayer cant play everything).
This forum is big, i was searching for hour about resources and "how to do that", I use EM2003 and when i try to open the rom file it tells me that enter a password to unlock the ROM.
So pleasse guys, help me out, I want to guive a full new life to this PDA and keep using it, and of course I will release the ROM for everyone to use it as I made stable ROMs.
Thanks and regards.
c'mon guys, help me a little, a need something to start with, a tool, program, anything?
thanks
I know this is old but I'd just like to second this, if anyone has any info on how to upgrade this device that would be great as I just sort of "stumbled upon" one of these and would like to put it to good use.
I've done a lot of searching and can't find any roms for rx3115 IPAC. I have one of these too and would love to fiddle with it again!! I even found on forum that said that it would not support WM 5 or 6 so I don't now if there is much hope. But if there was a program or instructions on how to make our own ROM I would sure like to try!!! I believe it has WM 2003 CE on it now...
Me too!!! I too have one of those...
rx3115
I have an rx3115 also. I am following this thread.
This will be quite difficult and complicated, first of all, what do you want to do with stock ROM? If some apps can't be installed on WM2003SE, then adding them to ROM won't change anything. However, I'm willing to help, send me a PM with stock ROM and changes you want, I'll try to develop somethin' good .
Thanks tomcug!!!
I'll also PM you the links from this post.
I too have an rx3115 and have been searching all over for ways to upgrade it: cooked ROMs, Linux, Unix... SOMEthing. LOL
So far you're the only cook who's wanted to take a swing at this. There are no easy answers for rx3115 that I can find anywhere on the net.
Here's the last official rx3115 update of WM2003 (1.01.11) complete with installer
http://www.mediafire.com/file/i6k0935chhkgzlh/iPAQ rx3115 ROM 1_01_11.exe
I'd hate to lose the Nevo (IrDA universal remote control) from it, but would sacrifice that if I could upgrade the OS...
Better yet - maybe you could work with this WM 6.1 Classic ROM that was cooked for the rx1950. It supports the ARMv4T instruction set used by the rx3115. Here is just the .nbf file
http://www.mediafire.com/file/iu9p815w3yjpy6h/CEOS.nbf
At 27.82mb it would just fit on rx3115. Maybe a slimmed down version??? I would leave it to you to decide what to remove. LOL who am I to tell a cook how to season his offering???
And the WM 6.1 install cab for Mobile Office
http://www.mediafire.com/file/nmz3sbyuxan7c4e/office_wpc_WM6.CAB
Of course - any help would be greatly appreciated by many rx3115 owners.
And here's my thread of what I've been trying to accomplish with my rx3115.
http://forum.xda-developers.com/showthread.php?t=981868
Thanks Again,
RumoredNow
All right, then I'll try to do something good . I don't know if this will work and that's why I need to ask you one more thing. Is it possible to flash this phone when it's not booting? I mean windows hangs.
It's a straight Pocket PC with no Phone capability. Full specs are here:
http://www.pdadb.net/index.php?m=specs&id=122&view=1&c=hewlett-packard_ipaq_rx3115
Short answer: yes, the ROM is user flashable up to 28mb of 32mb total.
Long Answer...
The HP update I sent you will flash the ROM under Win XP with ActiveSync installed. The RUU (ROM Update Utility) needs RAPI.dll from ActiveSync in order to run. It won't function under Win 7 for me - it generates a comm error.
Theoretically it is possible to flash any (size appropriate) ROM to the device with this Universal iPAQ Bootloader:
http://sourceforge.net/projects/ubl/files/ubl/Binaries/
My system flagged the UBL as having a Worm in the Vista Drivers though. I can't tell if it is a false positive (I'm not qualified for that) so I didn't use it under Win 7.
Instead, I stripped out the infected(?) bits and tried it on an XP box. Here's that file:
http://www.mediafire.com/file/7anraar1tkc3lz1/BootLoader.rar
It fails to put rx3115 into bootloader mode even though it connects via USB.
There is a manual way to put rx3115 into Bootloader mode: MultiMedia (button 1) + iTask (button 4) + Power + Reset. But every time I put it in Bootloader mode manually, that seems to kill the rx3115's USB port. It becomes invisible to PC... I don't know if there is another step to manually enable USB mode under Bootloader. I haven't been able to find the right button(s) for that so far...
And manually entering Bootloader mode hasn't allowed me to flash from SD card either. I always get a "Wrong Image" error, even with .nbf file from the last official update!!!
I know it's not the device - I can reflash the last update over USB on a Win XP box if I use the official update package.
LOL - an executable which uses HP's RUU would be preferable for technologically deficient users such as myself.
Feel free to PM me or post back here if you have any more questions.
Thanks again.
Well, no progress at the moment and probably there's won't be any progress at all. I don't know how to extract CEOS.nbf, all tools I've tried can't do it.
By extract, do you mean view and edit???
uedit32 (hex editor???) will open it and allow changes to be saved. It even keeps the original version as a backup...
http://www.mediafire.com/file/6r8ffn1fq3bh9mu/uedit32.exe
Making ROM with hex editor ? That would take hundreds of years or even more . What I need is a tool or set of tools that can extract XIP and IMGFS from CEOS.nbf, that's the way you make ROM's. And tools I've tried doesn't work for this phone, however they work for HTC and i-mate phones I own.
EDIT:
I've also tried rx1950 kitchen, but it's a fail too. There are tools there but only for making CEOS.nbf from XIP and IMGFS images, nothing what I need .
Looking for the 802.11g mod for rx3115
I saw an experimental mod somewhere to enable the rx3115 to use 802.11g. If anyone knows where it is, please share. I lost the link. I was looking up the embedded chips at the time I saw it, so I think it was a forum.
All right, making a little update here. After long time of hard work I need to say that it's impossible to make WM 6.5.3 ROM for this device, drives and OEM stuff from WM 2003 SE simply won't work with any newer OS. Sorry for that but there's nothing we can do .

[PROGRAM] Heimdall - Open-Source Cross-Platform Flashing Suite (1.4.0 Now Available)

What is Heimdall?
Heimdall is a cross-platform open-source tool suite used to flash ROMs onto Samsung Galaxy S devices.
How does it work?
Heimdall uses the same protocol as Odin to interact with a device in download mode. USB communication in Heimdall is handled by the popular open-source USB library, libusb-1.0.
Why “Heimdall”?
The flashing software Odin is named after the king of gods in Norse mythology. Loke, the software component on the Galaxy S that provides functionality to flash, may also to be named after an important character in Norse mythology, often translated as Loki. As such I have named my flashing software Heimdall, after the Norse god, and guardian of the Bifrost Bridge.
What platforms does Heimdall run on?
Linux, OS X and Windows (XP, Vista, 7 etc.)
Why use Heimdall when we can use Odin?
Odin is generally unreliable and only runs on Windows systems. Furthermore, Odin is leaked Samsung software that is not freely available or well understood by the community.
Is Heimdall safe?
No matter what method you chose, flashing firmware onto your phone has a lot of potential for disaster. We have tested Heimdall with a variety of phones flashing several different firmware versions resulting in a 100% success rate. As such we believe that Heimdall is generally reliable. However keep in mind, just like any flashing software, Heimdall has the potential to brick your phone if not used correctly.
How do Galaxy S phones get bricked when flashing?
Besides the inherent risks like power outs, accidental removal of the USB cable etc. The Galaxy S appears to be running extremely unreliable USB control software.
A failure to flash does not automatically equate to a bricked phone. However if you're extremely unlucky and the flash fails whilst transferring the primary boot-loader, secondary boot-loader or params.lfs (all quite small) than you've got yourself a paper weight that you're hoping Samsung will replace.
Please be extremely careful mixing files from different firmware releases. Don't do so unless you're certain it will work!
What Galaxy S variants has Heimdall been tested with?
We’ve tested Heimdall with a Galaxy S GT-I9000 (8 GB) from the United Kingdom and Galaxy S GT-I9000 (16 GB) from Australia. We don’t personally have access to any other devices to test with, however users have confirmed Heimdall functions correctly with the AT&T Captivate, Bell Vibrant, Telstra GT-I9000T, Epic 4G and the Galaxy Tab.
Enough talk, where can we get it?
The latest release is available here. Please read the instructions and README files included in the archives.
I love you, man. Will you have my baby?
No, but I will very gladly accept donations. If you appreciate my work and would like to support future development you can make a donation here. If you think you have something else to offer, then feel free to shoot me a PM or contact me via the contact form on the Glass Echidna website.
Sounds interesting.. Certainly something to watch in the future..
for linux? YES! i love u
Kudos for you! wow it looks impressive
A question though....
the instructions seems to be very... Windows oriented.
What about Linux or MAC OS?
Do we need to run it with WINE, or just run it as a DOS executable?
same question for MAC OS, you know people in MAC are so used to plug and play, If i were a MAC user i'll just plug my phone in, and expect to run Heimdall by click on it and have it come up.
However at the moment it seems to require Windows emulation for it to run.
Thanks guys.
Also, I forgot to add in the README that you also need the same PIT file as the one that is installed on your device, probably version 512.
I can see by my website's bandwidth usage that people have been downloading the alpha. Has anyone tested it yet?
AllGamer said:
the instructions seems to be very... Windows oriented.
What about Linux or MAC OS?
Do we need to run it with WINE, or just run it as a DOS executable?
same question for MAC OS, you know people in MAC are so used to plug and play, If i were a MAC user i'll just plug my phone in, and expect to run Heimdall by click on it and have it come up.
However at the moment it seems to require Windows emulation for it to run.
Click to expand...
Click to collapse
The alpha release is just the Windows binaries. Whilst the source code certainly compiles for OS X and Linux I want to make sure that everything is running fine on Windows first, with Odin nearby if need be.
Benjamin Dobell said:
The alpha release is just the Windows binaries. Whilst the source code certainly compiles for OS X and Linux I want to make sure that everything is running fine on Windows first, with Odin nearby if need be.
Click to expand...
Click to collapse
ahh, Good to know, i was worried there for a second
I can't test it yet, my phone hasn't come back from repair.
i'll help test as soon as my phone is back.
go public linux binary too, else ppl will use odin instead your and you wont receive much feeback as much as if you release linux binaries.
husq510 said:
go public linux binary too, else ppl will use odin instead your and you wont receive much feeback as much as if you release linux binaries.
Click to expand...
Click to collapse
I know it's a pain that Linux users have to wait (as usual). As much as I do want feedback, I don't want feedback from Linux users saying that the flash failed for some reason and that they don't have access to Windows/Odin.
I'm not actually sure if I'll ever release Linux binaries as binary compatibility across multiple Linux distributions is problematic. Of course once I've confirmed everything is working on other peoples' devices, what phone models are supported etc. then I will release the source code with instructions to compile for all supported platforms.
EDIT: Has Heimdall really been downloaded ~45 and no-one has bothered to install and run it?
I'm having trouble with the following step:
4. Under Universal Serial Bus Controllers right click on the Samsung composite driver and chose Properties.
I don't have such device in device manager.
Windows 7 x86
very cool stuff, thank you a lot!!!
first of all. i am a linux only user and had to run odin on a virtual box which is a pain in the ass but i fully understand your argument to first only release a windoze version to get it out of alpha state.
now, while i know that it's also possible to brick the device with odin and i have flashed several times now. i am a little afraid to try heimdall (to be honest). did you implement the additional security measures (delay+resend) after you bricked your device or before? you wrote that heimdall supports only full firmware flashes atm. it would be cool if we could also use it to just flash a kernel. any plans to implement this?
thanks!
mike.sw said:
I'm having trouble with the following step:
4. Under Universal Serial Bus Controllers right click on the Samsung composite driver and chose Properties.
I don't have such device in device manager.
Windows 7 x86
Click to expand...
Click to collapse
Is your device plugged in to your PC and in download mode?
I suppose you would also have needed to install Kies at some stage. However, Odin makes use of this driver so if Odin works it should be there.
Oh god, I'm an idiot.
Connected phone to wall charger, and was sure it's my USB cable.... *facepalm*
jodue said:
very cool stuff, thank you a lot!!!
first of all. i am a linux only user and had to run odin on a virtual box which is a pain in the ass but i fully understand your argument to first only release a windoze version to get it out of alpha state.
now, while i know that it's also possible to brick the device with odin and i have flashed several times now. i am a little afraid to try heimdall (to be honest). did you implement the additional security measures (delay+resend) after you bricked your device or before? you wrote that heimdall supports only full firmware flashes atm. it would be cool if we could also use it to just flash a kernel. any plans to implement this?
thanks!
Click to expand...
Click to collapse
I implemented the delay and resend after my phone was bricked.
I think I was ludicrously unlucky in how my phone got bricked. Given that the primary boot loader is only 256 KiBs whilst the factory filesystem is over 250 MiB (plus other files). The chance of failing whilst the primary or secondary boot loader is being sent is quite slim.
When I was debugging Heimdall I would often intentionally stop at other points during the flash. After resetting it would just result in the connect phone to PC image being displayed (instead of booting). Then I could just restore with Odin (after several attempts) and then further restore using ClockworkMod backups.
However, by no means do I want to pressure anyone into running the software, especially whilst it's only an alpha release.
EDIT: I just realised I didn't answer your question about just kernel flashing. Yes, I definitely intend to implement functionality to only flash singular components at a time. I'd also like to implement functionality to dump files if possible. However I won't know if I can do that until I get my phone repaired or get my hands on another Galaxy S device.
Hey again
I'm looking the flash.bat and see it need two files that my firmware (I9000JPJG8) don't have in zip/tar file:
-boot boot.bin -sbl Sbl.bin
How heimdall will handle it? Is it safe to go on?
mike.sw said:
Hey again
I'm looking the flash.bat and see it need two files that my firmware (I9000JPJG8) don't have in zip/tar file:
-boot boot.bin -sbl Sbl.bin
How heimdall will handle it? Is it safe to go on?
Click to expand...
Click to collapse
Heimdall won't let you continue as the first thing it does (before connecting to your phone) is check that the specified files exist. Those two files are the primary boot loader and the secondary boot loader. I'm a bit surprised they're missing from your firmware. They're usually in the Code tar archive.
You'll have to grab them from somewhere. If you don't want to download more firmware then you can retrieve them from your device. Err, I'll update this post in a minute or two with instructions.
This is one little tricky FW.
The last one I tried was I9000XWJM5 and it had 3 tar files as supposed.
This one just have one tar file, and people who installed it with Odin said to use only the PDA section with the single tar file.
I'm not sure, but it seem to work for them.
BTW in your README I think you should remind for the folks to put the pit file in the dir as well
Also here in WIN7 it didn't let me change the driver as simply as stated in README.
What I had to do is to use the Have Disk option, and point it to the dir. Otherwise it says that Windows already have the correct driver installed.
mike.sw said:
This is one little tricky FW.
The last one I tried was I9000XWJM5 and it had 3 tar files as supposed.
This one just have one tar file, and people who installed it with Odin said to use only the PDA section with the single tar file.
Click to expand...
Click to collapse
If you still have I9000XWJM5 laying around you could give that a go, it is the firmware I use.
If not you can get the boot loaders by copying them first to your sdcard using:
Code:
sudo dd if=/dev/block/bml1 of=/sdcard/boot.bin
sudo dd if=/dev/block/bml4 of=/sdcard/Sbl.bin
Clearly your phone needs to be rooted to use sudo.
EDIT: I need to go to bed now (it's actually well and truly morning here). I'll be on in 5-6 hours if you require any more help. Thanks for going to all this effort so far!
Yea, I'll grab JM5 again just in case the **** hits the fan
Benjamin Dobell said:
I implemented the delay and resend after my phone was bricked.
I think I was ludicrously unlucky in how my phone got bricked. Given that the primary boot loader is only 256 KiBs whilst the factory filesystem is over 250 MiB (plus other files). The chance of failing whilst the primary or secondary boot loader is being sent is quite slim.
When I was debugging Heimdall I would often intentionally stop at other points during the flash. After resetting it would just result in the connect phone to PC image being displayed (instead of booting). Then I could just restore with Odin (after several attempts) and then further restore using ClockworkMod backups.
However, by no means do I want to pressure anyone into running the software, especially whilst it's only an alpha release.
EDIT: I just realised I didn't answer your question about just kernel flashing. Yes, I definitely intend to implement functionality to only flash singular components at a time. I'd also like to implement functionality to dump files if possible. However I won't know if I can do that until I get my phone repaired or get my hands on another Galaxy S device.
Click to expand...
Click to collapse
thank you for the additional information on the process. i think i will give it a shot next time i want to flash a new firmware. donation is on the way!

[Q] Really nervous about accidentally bricking, so just some cautionary questions...

So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
JustAk said:
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
Click to expand...
Click to collapse
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
JustAk said:
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
Click to expand...
Click to collapse
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
JustAk said:
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
Click to expand...
Click to collapse
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
JustAk said:
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
Click to expand...
Click to collapse
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
HPTesla said:
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
Click to expand...
Click to collapse
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
This may or may not help, but when I've had issues with Linux hooking up I've had to format my SD. Something gets stuck in there that Linux just didn't like.
Sent from my LG-LS970 using XDA Premium 4 mobile app
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
HPTesla said:
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
Click to expand...
Click to collapse
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
JustAk said:
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
Click to expand...
Click to collapse
You can try searching for other places where go-mptfs is located, other ppas where it still might be. The ubuntu forums also has this as a possible solution. I haven't used androidair but I have moved files over wifi using the sshdroid app and an ssh server on my pc with great success. If you have any experience with ssh that could be a possible solution although it is obviously slower than usb. But ssh in general is a simple and great tool, also pretty secure since you are simply connected to your home wifi - as long as your wifi is secure you should be fine.
On my pc I believe its openssh that I use - plenty of tutorials out there for that - and here is the link to sshdroid in the play store. Hope this helps!
EDIT: I will also be at work until 2p.m. EST so may not be able to reply back until then - don't worry, I will as soon as I get home if you have any other issues.

Categories

Resources