As some of you probably know, the ps3 has recently been hacked, allowing us to run unsigned code. The source code for the exploit leaked and a dev called KaKaRoTo managed to get it to run from a Nokia N900. The other day, KaKaRoTo released his source code and someone already ported it to the Palm Pre. This quick port was possible because the N900 and Palm Pre both share the same USB controller(mUSB) which happens to be the controller used by the Droid/Milestone.
This has already been posted in the droid section, but I figured I would post this in here. Maybe some of you guys can get this working on our milestones!
thanks nicholasbgr for writing this up.
This doesn't look too hard to do either. We shouldn't need to do too many alterations to get it working on the milestone.
Here is what we apparently need to do to port it from the nokia.
Well, first, you need to figure out what controller your device uses, in the case of the N900, it’s ‘musb’.. (Luckily we have he same controller!)
Then go to the driver code for that controller (probably in drivers/usb/gadget) and look for ‘SET_ADDRESS’. In the case of musb, it was in drivers/usb/musb/musb_gadget_ep0.c. In there it was setting the address to the USB device, so just copy that code into the psfreedom_machine.c to allow setting the address, and add a similar function to be able to retreive the address.
Then add a function to return 0 or 1 depending on whether the controller supports HIGH, FULL or LOW speed mode (go to usb_gadget_register_driver for your controller, and in the first lines, it should validate the speed argument, it will tell you which ones are acceptable), set LOW speed mode to return TRUE only if FULL speed isn’t available .
Finally, add a function to return the endpoint names.. it will usually be something like ‘epXin’ and ‘epXout’ (where X is the endpoint number), or “epXin-bulk”, etc.. look at how the driver initializes its endpoints or grep for “->name” in the file to find where it sets it…
That should be enough!
Click to expand...
Click to collapse
And here's a link to the source code over at github:
PSFreedom
Thanks and good luck to anyone who gives this a try!
No devs with a PS3 here?
Just saw this, and I'm actually pretty interested in this, but what I know about programming can't really help you. Really interested in this though, so I will be following this
I have to ask though, is it not possible to have a universal Android implementation? What are the technical reasons?
Lesiroth said:
Just saw this, and I'm actually pretty interested in this, but what I know about programming can't really help you. Really interested in this though, so I will be following this
I have to ask though, is it not possible to have a universal Android implementation? What are the technical reasons?
Click to expand...
Click to collapse
No, we won't be seeing a univeral version, as phones have different types of usb controllers (we have mUSB, the same kind used in the pre and n900, giving us the best chance of a quick and easy port) Most HTC phones have a MSM72K controller, and the guys in the desire forum are pretty close to getting it running.
nicholasbgr said:
No devs with a PS3 here?
Click to expand...
Click to collapse
Even if Devs don't have a PS3, they could still compile it and let us test it
desolateone1 said:
No, we won't be seeing a univeral version, as phones have different types of usb controllers (we have mUSB, the same kind used in the pre and n900, giving us the best chance of a quick and easy port) Most HTC phones have a MSM72K controller, and the guys in the desire forum are pretty close to getting it running.
Even if Devs don't have a PS3, they could still compile it and let us test it
Click to expand...
Click to collapse
Yeah, but they would be more interested in this hahaha. Too bad my C skills suck :|
EDIT: Found out the required info. Thanks though.
MrPadie said:
Sorry if I appear a little "uninformed" (), but I just wanted to check something here quick. If we port this hack correctly, does this enable us to run an unsigned bootloader, essentially relieving the minds of millions of Milestone users?
If so, I'm going to take a spin at porting it over - however, I'm sure someone will get it before I do, no doubt.
MrP.
Click to expand...
Click to collapse
uh this has nothing to do with bootloader whatsoever. it is to run an exploit on the ps3.
Now i am installing Linux an try Compile it. Its a Long Time ago that im use Linux. I Hope that i get it work Today.
Send from my iPad
Desire port is working, hope it can be done with milestone to
Sent from my Milestone using XDA App
-=MoRpH=- said:
Now i am installing Linux an try Compile it. Its a Long Time ago that im use Linux. I Hope that i get it work Today.
Send from my iPad
Click to expand...
Click to collapse
according to zzg in the desire forum, this is what you need to do. no source changes.
Well you don't really need any changes to get it compiled against Droid's kernel, a quick and dirty way by looking at psfreedom's make file:
make -C /path/to/droid/kernel/source M=/path/to/psfreedom/source ARCH=arm CROSS_COMPILE=/path/to/android_ndk/tree/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- EXTRA_CFLAGS=-DENABLE_MUSB_CONTROLLER modules
Click to expand...
Click to collapse
just substitute the droid kernel source for the milestones. You can get it from motorola.
Current Compatibility List
Current Compatibility List
http://psfreedom.com/wiki/index.php?title=Device_compatibility_list
Quick question though, looking at something like this: http://psfreedom.com/wiki/index.php?title=OpenDesire4.0.4
To enable:
reboot to recovery
flash enable psFreedom
reboot back to Open Desire
It seems we would have to flash a different kernel to get this to work via the recovery screen. However I thought due to the locked bootloader on the milestone even after porting it the phone wont boot because of that.
Is the locked bootloader preventing us from booting into Android? or is it booting all together?
dasilva333 said:
Current Compatibility List
http://psfreedom.com/wiki/index.php?title=Device_compatibility_list
Quick question though, looking at something like this: http://psfreedom.com/wiki/index.php?title=OpenDesire4.0.4
To enable:
reboot to recovery
flash enable psFreedom
reboot back to Open Desire
It seems we would have to flash a different kernel to get this to work via the recovery screen. However I thought due to the locked bootloader on the milestone even after porting it the phone wont boot because of that.
Is the locked bootloader preventing us from booting into Android? or is it booting all together?
Click to expand...
Click to collapse
i think the desire is totally different than the milestone because it uses other drivers. with the n900 there wasnt any flashing involved. the milestone uses the same drivers as the n900 so lets hope we can use this
gizmo1908 said:
i think the desire is totally different than the milestone because it uses other drivers. with the n900 there wasnt any flashing involved. the milestone uses the same drivers as the n900 so lets hope we can use this
Click to expand...
Click to collapse
All we need to do is compile it against the milestone kernel (like how i wrote in my previous post). Then it should work no problem.
but there is someone who is trying in this port?
maggots said:
but there is someone who is trying in this port?
Click to expand...
Click to collapse
look at the first page and pray...
I try to Compile it with the Milestone Kernel......
But i have some trouble to get it work. :-/
/me Linux n00b :-D
-=MoRpH=- said:
I try to Compile it with the Milestone Kernel......
But i have some trouble to get it work. :-/
/me Linux n00b :-D
Click to expand...
Click to collapse
maybe someone over at the desire forum can help?
desolateone1 said:
All we need to do is compile it against the milestone kernel (like how i wrote in my previous post). Then it should work no problem.
Click to expand...
Click to collapse
How would it work though? as a command line app via adb shell? a .ko or .so?
For those interested I included the links needed to compile the thing:
Android NDK
http://dl.google.com/android/ndk/android-ndk-r4b-windows.zip
PSFreedom
http://download.github.com/kakaroto-PSFreedom-0ea9511.tar.gz
Motorola Milestone 2.36 Kernel
https://opensource.motorola.com/sf/....milestone/frs.milestone.02_36_0/frs9279?dl=1
dasilva333 said:
How would it work though? as a command line app via adb shell? a .ko or .so?
For those interested I included the links needed to compile the thing:
Android NDK
http://dl.google.com/android/ndk/android-ndk-r4b-windows.zip
PSFreedom
http://download.github.com/kakaroto-PSFreedom-0ea9511.tar.gz
Motorola Milestone 2.36 Kernel
https://opensource.motorola.com/sf/....milestone/frs.milestone.02_36_0/frs9279?dl=1
Click to expand...
Click to collapse
psfreedom link is dead
dasilva333 said:
How would it work though? as a command line app via adb shell? a .ko or .so?
For those interested I included the links needed to compile the thing:
Android NDK
http://dl.google.com/android/ndk/android-ndk-r4b-windows.zip
PSFreedom
http://download.github.com/kakaroto-PSFreedom-0ea9511.tar.gz
Motorola Milestone 2.36 Kernel
https://opensource.motorola.com/sf/....milestone/frs.milestone.02_36_0/frs9279?dl=1
Click to expand...
Click to collapse
yeah, it would be a .ko
Here is the psfreedom source (patched for bdrom as well)
Related
First you have to flash this zimage
http://forum.xda-developers.com/attachment.php?attachmentid=357141&d=1278649181
Do this by rebooting your phone into fastboot
adb reboot-bootloader
then,
fastboot flash zimage zImage
then reboot and follow the instructions on this tutorial and it will work like a charm
http://htcevohacks.com/htc-evo-hacks/how-to-install-ubuntu-on-htc-evo-4g/
Thank vinny75 for compiling the zimage that makes this work for the evo
and thank the guy who wrote the tutorial for everything else..
thank me for nothing because i didnt do anything lol
EDIT: EVERYBODY JUST FOLLOW THE DIRECTIONS ON THIS LINK
http://htcevohacks.com/htc-evo-hacks/how-to-install-ubuntu-on-htc-evo-4g/
Please, wrong section... I am begging you. The Q&A section is two clicks away.
Ubuntu hasn't been ported to the Evo. It is a highly involved process. You can't expect a ROM for the Nexus One to work on the Evo right? There are drivers to port, kernel modifications to be made. Lots of stuff have to happen first.
The website you pointed to mentions that he is working on a port anyhow. Wait for that to come out.
Click to expand...
Click to collapse
I'm going to leave this here, because mistakes shouldn't be hidden under a rug, but acknowledged and learned from. I am following this thread, and I may give it a try when I am done with my Physics studies this weekend.
Jykinturah said:
Please, wrong section... I am begging you. The Q&A section is two clicks away.
Ubuntu hasn't been ported to the Evo. It is a highly involved process. You can't expect a ROM for the Nexus One to work on the Evo right? There are drivers to port, kernel modifications to be made. Lots of stuff have to happen first.
The website you pointed to mentions that he is working on a port anyhow. Wait for that to come out.
Click to expand...
Click to collapse
i messaged toast and he told me to put it in the development section
Seems like a development thread to me
Sent from my PC36100 using XDA App
There is the Linux for android app in the market but it will only work with a loop file system which our kernels don't have or a specially partitioned SD card.
EtherealRemnant said:
There is the Linux for android app in the market but it will only work with a loop file system which our kernels don't have or a specially partitioned SD card.
Click to expand...
Click to collapse
if loop file system is required and loop support isnt compiled into the stock kernel, i haven't checked this, but with the HTC source coded release last week, shouldn't be an issue to compile your own kernel adding in loop support or having a ROM/kernel dev add in loop support.
edit: if i remember right, its a simple option to check under file system in the make kernel config.
Jykinturah said:
Please, wrong section... I am begging you. The Q&A section is two clicks away.
Click to expand...
Click to collapse
Why is it you repeatedly insist on trolling this "wrong section" bull**** on almost all the threads? It's not your job.
Toast will take care of it. bobdude5 isn't a new member and yet you treat him as such? His question obviously belongs in this section and even when you call him out on it... a Mod has already authorized him to post in section? I bet you feel dumb.
It seems to me, you have no idea where most questions belong, it's probably best you keep your mouth shut and let Toast worry about those who are posting in the wrong section -- it's not even that hard for a Mod to move certain questions to a different section.
Add your input, just don't be a troll.
pseudoremora said:
Why is it you repeatedly insist on trolling this "wrong section" bull**** on almost all the threads? It's not your job.
Toast will take care of it. bobdude5 isn't a new member and yet you treat him as such? His question obviously belongs in this section and even when you call him out on it... a Mod has already authorized him to post in section? I bet you feel dumb.
It seems to me, you have no idea where most questions belong, it's probably best you keep your mouth shut and let Toast worry about those who are posting in the wrong section -- it's not even that hard for a Mod to move certain questions to a different section.
Add your input, just don't be a troll.
Click to expand...
Click to collapse
Yes, I feel dumb. And I am also very sorry. I will stop.
Jykinturah said:
Yes, I feel dumb. And I am also very sorry. I will stop.
Click to expand...
Click to collapse
It's appreciated.
I'd be interested in getting Ubuntu working on the EVO 4G. This is definitely a kick-start kind of thread to get that done, too, and could definitely be a start to a larger project that didn't have much visibility before.
Jykinturah said:
Yes, I feel dumb. And I am also very sorry. I will stop.
Click to expand...
Click to collapse
I too apologize for my overbearing tone, it's just there are a tun of new people here and then there are veterans -- most of which know the rules by now and understand the ramifications for there actions; don't take it upon yourself to worry about them; that's what the mods are for. Again, sorry.... and thank you.
|Jason8| said:
It's appreciated.
I'd be interested in getting Ubuntu working on the EVO 4G. This is definitely a kick-start kind of thread to get that done, too, and could definitely be a start to a larger project that didn't have much visibility before.
Click to expand...
Click to collapse
You might want to check the Nexus One thread, someone has gotten Ubuntu to work on it... the setup might be able to work with the EVO.
Jykinturah said:
Yes, I feel dumb. And I am also very sorry. I will stop.
Click to expand...
Click to collapse
Off topic ... but very big man/woman of you to admit your wrongdoings and not act like a kid about it. Greatly appreciated
Ok back on topic please.
Also I wanna add its most likely the kernel also. I can compile one for testing tonight if someone doesn't wanna help out and do it first. I think we also need to setup the evo on decordes Linux for HTC devices wiki. I'm at work so searching and linking isn't possible atm. I know he has a section for us there already. We can also gain from the wikis for similar devices there. Anyhow yeah let's not clutter thus thread with trash and let the development begin.
For anyone wanting to see Ubuntu running on the Nexus One and tutorial on how to do it... here's the video.
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
Click to expand...
Click to collapse
Now, obviously the directions are for the NEXUS ONE... and most likely won't work for the EVO, however this is good starting point to see what steps can be taken from the video and tweaked to make it work with our EVO's.
Good luck.
I am actually working on this
The problem with it is that the Evo 4G kernel needs to be compiled with support for loop devices. All Nexus One ROMs actually support this but Evo 4G doesn't.
The best way would be to ask those guys making the ROMs to compile the support for loop devices for future versions such as OMJ Roms.
Then could just use the same Nexus One script and would work.
In the meanwhile, I am learning to compile the kernel myself but perhaps you guys can ask the others to include support for loop devices on other ROMs.
Just need to enable CONFIG_DEV_BLK_LOOP=y in the kernel config and rebuild.
Seems to be working now, installing LXDE as I type this.
extract the attached zImage then boot into fastboot and "fastboot boot zImage" to test.
EDIT: VNC works.
Why not something more lightweight than ubuntu?
Ubuntu netbook remix might be nice.....
Vinny75 said:
Just need to enable CONFIG_DEV_BLK_LOOP=y in the kernel config and rebuild.
Seems to be working now, installing LXDE as I type this.
extract the attached zImage then boot into fastboot and "fastboot boot zImage" to test.
EDIT: VNC works.
Click to expand...
Click to collapse
yup it works! awsome man great job do you mind if i quote your post onto the first post?
bobdude5 said:
yup it works! awsome man great job do you mind if i quote your post onto the first post?
Click to expand...
Click to collapse
Could you post the kernel that gets this to work with some instructions on how to install it etc? I am running BBv3 and I would love to have this ubuntu install working!!
WHOOHOO!
Vinny75 said:
Just need to enable CONFIG_DEV_BLK_LOOP=y in the kernel config and rebuild.
Seems to be working now, installing LXDE as I type this.
extract the attached zImage then boot into fastboot and "fastboot boot zImage" to test.
EDIT: VNC works.
Click to expand...
Click to collapse
WHOOHOO! Working fine now!
Thinking wild,
like in linux we can have live cd & boot from a live cd is it possible to make the android rom compatible for booting from internal or external sd card without installation?
This way we can test different roms without messing up the installed rom, the latest such implementation was done in 2009 for canon 5D camera & later for many other cameras having magic lantern firmware to boot from CF/SD card without messing up the firmware.
Any developer willing to look into this?
There are already such a thing called boot manager. It support multi-ROM installing. But only for HTC devices, even not Samsung I9000.
Sent from my GT-I9003 using XDA Premium App
Idea is fantastic. It looks like 'preview of rom' just like 'theme preview' in nokia. But practically its impossible. U can use emulator to run rom on computer.
fxzy said:
There are already such a thing called boot manager. It support multi-ROM installing. But only for HTC devices, even not Samsung I9000.
Click to expand...
Click to collapse
Oh I didn't know that that boot manager exist can you give me the link for this please.
Are samsung chips locked in some way hence now allowing the booting?
U can use emulator to run rom on computer.
Click to expand...
Click to collapse
@vishal24387 where can I find such emulator to run rom?
We need first USB OTG.
Like SGS2, but there we have a "hidden" partition, that is the second boot partition!
sgsI9003 said:
Oh I didn't know that that boot manager exist can you give me the link for this please.
Are samsung chips locked in some way hence now allowing the booting?
@vishal24387 where can I find such emulator to run rom?
Click to expand...
Click to collapse
adb emulator with a nandroid backup
dude sgsl9003 is talking about dual boot
Ok found the boot manager in the market & the description says
BootManager will not work with Samsung devices that are not listed because of the way Samsung handles the boot partition (probably hidden).
Click to expand...
Click to collapse
No samsung device is listed only HTC work. Seems samsung purposely locking the devices & crippling the phones even though hardware supports many features?
kkrraazzyy said:
dude sgsl9003 is talking about dual boot
Click to expand...
Click to collapse
Yes kind of dual boot like on my windows machine I still can boot into linux from the live cd, it will be ideal if android roms can be made to work like that but I am no developer & don't even know how this can be done hence inviting all genius rom developers to look into this possibility.
Developers will get a lot more feedback from users since then we could test roms (nightly build) as & when required without installation & messing up the stock rom.
Great idea, but very difficult to achieve. But i'm very positive that with the presence of some great devs we have here one day we can achieve such feat.
This is a good way of eliminating having to flash new ROM on our devices.
i have used dual boot in my motorola rokr e6 around 2 yrs before
kkrraazzyy said:
i have used dual boot in my motorola rokr e6 around 2 yrs before
Click to expand...
Click to collapse
Great so do you think the same can be done for i9003?
hmm it was diffferent cause rokr e6 was an ezx phone based on linux but it is very different from android which is also based on linux
http://forum.xda-developers.com/showthread.php?p=19969004
Can we do this on i9003 as well? We're talking about samsung phones, the method has been ported to a galaxy s2... and dual boot might be useful for debugging alpha mods!
Is it possible? Or i9003 and Samsung Galaxy s2 are completely different phones?
what's the use?? i don't see why apart from novelty that someone would like to do this.
amit864 said:
what's the use?? i don't see why apart from novelty that someone would like to do this.
Click to expand...
Click to collapse
Really? This is important for people who need a working phone but would like to try out (and maybe help) new roms. Here's why.
You have dual boot: you start the phone in the morning with Samsung's stock where everything works just fine. Then when you have time you switch back to a rom, go offline and try whatever you want. When you really need the phone you boot back to stock.
This would be helpful. I was thinking about how to port this, I know about chroot, but we need to start another kernel's image too. Maybe a script run on CWM recovery which changes boot img path and a modified kernel which sees his own as his legitimate partition? If we had grub this would be easy. I know linux tricks but I am not pratical with Android.
Galaxy 3 thread has a kernel called g3mod kernel, it supports multibiot, meaning placing the system.img in the kernel's folder, thus allowing you to multiboot, and keeping your data there.
Edit: if you search ard in the galaxy 3 dev thread, there is also a kernel called dual boot.
Cheers
Sent from my i9003 powered by Cyanogenmod 7
I am not sure it is the correct way to test roms (to help the developers)
ilcorsaronero said:
Really? This is important for people who need a working phone but would like to try out (and maybe help) new roms. Here's why.
You have dual boot: you start the phone in the morning with Samsung's stock where everything works just fine. Then when you have time you switch back to a rom, go offline and try whatever you want. When you really need the phone you boot back to stock.
Click to expand...
Click to collapse
Great, you know chroot. Looking forward for your port!!
ilcorsaronero said:
I was thinking about how to port this, I know about chroot, but we need to start another kernel's image too.
Click to expand...
Click to collapse
BTW, why is this thread in Dev section??
amit864 said:
I am not sure it is the correct way to test roms (to help the developers)
Great, you know chroot. Looking forward for your port!!
BTW, why is this thread in Dev section??
Click to expand...
Click to collapse
If you want to help, you're welcome, otherwise, just get away. As you said: this is the developer's section.
I'm afraid chroot is not enough. What needs to be done is to boot a different kernel. Chrooted OSs rely on your own kernel.
bscraze said:
Galaxy 3 thread has a kernel called g3mod kernel, it supports multibiot, meaning placing the system.img in the kernel's folder, thus allowing you to multiboot, and keeping your data there.
Edit: if you search ard in the galaxy 3 dev thread, there is also a kernel called dual boot.
Cheers
Sent from my i9003 powered by Cyanogenmod 7
Click to expand...
Click to collapse
Thanks. Looking into it. I'll ask how they did it.
http://bcmon.blogspot.com/
Bunch of guys have hacked and reverse engineered an important part of the bcm4329 firmware on the Nexus One. They released the firmware patch, so it could be built for others using the same chipset.
So can anyone actually do it? Build a patched version?
chaostic_2k1 said:
http://bcmon.blogspot.com/
Bunch of guys have hacked and reverse engineered an important part of the bcm4329 firmware on the Nexus One. They released the firmware patch, so it could be built for others using the same chipset.
So can anyone actually do it? Build a patched version?
Click to expand...
Click to collapse
The Sidekick 4G does use the 4329, but I'm certainly not the right person to try adapting it.
chaostic_2k1 said:
http://bcmon.blogspot.com/
Bunch of guys have hacked and reverse engineered an important part of the bcm4329 firmware on the Nexus One. They released the firmware patch, so it could be built for others using the same chipset.
So can anyone actually do it? Build a patched version?
Click to expand...
Click to collapse
The Sidekick 4G does use the 4329
Click to expand...
Click to collapse
Sweet! I just saw this on HackaDay and was hoping we had the right chipset. I still need to install linux and get the build environment set up, but I'm definitely interested in getting this working. USB OTG comes first, though...
Jax184 said:
The Sidekick 4G does use the 4329, but I'm certainly not the right person to try adapting it.
Click to expand...
Click to collapse
Yea, still waiting on a phone...
I think TheLastSidekick just needs $15 dollars to send it to me.
I'll tinker with porting this to sgs4g.
Can someone or has this been ported to the s3 yet? It would be pretty amazing.. http://forum.xda-developers.com/showthread.php?p=27873486
I would, but i haven't the slightest idea how to
Neverendingxsin said:
I would, but i haven't the slightest idea how to
Click to expand...
Click to collapse
From my understanding, you have to swap out the patches and it's specific to your device and ROM. I took a look at one of the patcher tools, but it was just a bunch of confusion to me until I can actually sit down and take a look without having to rush. Think you could take a look as well? Greatly appreciated :victory:
STVERDI said:
From my understanding, you have to swap out the patches and it's specific to your device and ROM. I took a look at one of the patcher tools, but it was just a bunch of confusion to me until I can actually sit down and take a look without having to rush. Think you could take a look as well? Greatly appreciated :victory:
Click to expand...
Click to collapse
Yeah ill take a look my issue is that for weeks now my laptop has been pissy and won't run java correctly >.<
Alright looks like im gonna need to get an extra desktop PC setup and running ubuntu definitely won't be happening tonight. Sadly my laptop just can't handle this stuff anymore.
Neverendingxsin said:
Yeah ill take a look my issue is that for weeks now my laptop has been pissy and won't run java correctly >.<
Alright looks like im gonna need to get an extra desktop PC setup and running ubuntu definitely won't be happening tonight. Sadly my laptop just can't handle this stuff anymore.
Click to expand...
Click to collapse
Well, let me know if you figure anything out when you get everything up and running. I'm definitely going to be sitting down tonight and looking into it, I'll report back if I find anything!
I just found this quote in the post; "For all who keep on asking your answers can be found in this thread just search. To use the patch you need your rom's source code then run the patch command on linux and patch your source add the resources and compile. There is no flash zip morphs or anything flash able because AOSP roms are not the same it will be hard to make a flash able zip for all and this is the development section if you don't know what to do then search, read and read some more instead of these consider requests that wouldn't happen. You have to do see stuff yourself something" ... so my question now is, where is the source code for LS RC5(seeing that you run it as well).
STVERDI said:
Well, let me know if you figure anything out when you get everything up and running. I'm definitely going to be sitting down tonight and looking into it, I'll report back if I find anything!
Click to expand...
Click to collapse
Hopefully i can get one setup this weekend, gotta convince my dad to let me setup everything on one of his desktop computers. I'd rather mess around with it using Ubuntu and not windows, but that's just personal preference
STVERDI said:
I just found this quote in the post; "For all who keep on asking your answers can be found in this thread just search. To use the patch you need your rom's source code then run the patch command on linux and patch your source add the resources and compile. There is no flash zip morphs or anything flash able because AOSP roms are not the same it will be hard to make a flash able zip for all and this is the development section if you don't know what to do then search, read and read some more instead of these consider requests that wouldn't happen. You have to do see stuff yourself something" ... so my question now is, where is the source code for LS RC5(seeing that you run it as well).
Click to expand...
Click to collapse
LS RC5 is based off of CM10, so it would be the cyanogen mod 10 source code, which is android 4.1.2 source
Neverendingxsin said:
Hopefully i can get one setup this weekend, gotta convince my dad to let me setup everything on one of his desktop computers. I'd rather mess around with it using Ubuntu and not windows, but that's just personal preference
LS RC5 is based off of CM10, so it would be the cyanogen mod 10 source code, which is android 4.1.2 source
Click to expand...
Click to collapse
Could you possibly give me a link on where to find that?
STVERDI said:
Could you possibly give me a link on where to find that?
Click to expand...
Click to collapse
This tutorial should help
http://forum.xda-developers.com/showthread.php?t=1762641
Hey guys,
After having nearly lost all my data because android would not recognize my Decryption password I would like to try to compile frost.
I don't know if it will work for the HTC one but I really want to give it a try to help out other people who might have to factory reset due to encrytion problems.
It looks fairly simple to compile it, only I have never compiled any kernel .img before.
Before I actually try to compile it I would like to get advice on how best to do it and what to avoid while compilling.
Again I really want to get this compiled for the HTC one as this had me in a really bad spot.
https://www1.informatik.uni-erlangen.de/frost
I know there are some questions in here but I really do want to get it compiled for you guys in this thread to have a way of possibly recovering encrypted data.
Anyone else up for the challange?
What?
Sent from my HTC One using xda premium
r1tesh said:
What?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
What sort of reply is that?
I can help you compile it
r1tesh said:
What?
You need to be a bit more specific
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
MacHackz said:
What sort of reply is that?
I can help you compile it
Click to expand...
Click to collapse
Thanks MacHackz. I really think alot of people could benefit from having a tool to recover encrypted data.
All I can say is I'm willing to try everything
gazlufc said:
Thanks MacHackz. I really think alot of people could benefit from having a tool to recover encrypted data.
All I can say is I'm willing to try everything
Click to expand...
Click to collapse
Firstly you need linux, and afaik this will only work on 4.1.2 right now
MacHackz said:
Firstly you need linux, and afaik this will only work on 4.1.2 right now
Click to expand...
Click to collapse
Yeah I seen it will only work on 4.1.2 but lucky enough HTC hasn't update all devices to 4.2.2 yet .
I have a Ubuntu virtual machine setup for doing the compiling. Just installing required items now.
Should have everything setup tomorrow to start compilling
gazlufc said:
Yeah I seen it will only work on 4.1.2 but lucky enough HTC hasn't update all devices to 4.2.2 yet .
I have a Ubuntu virtual machine setup for doing the compiling. Just installing required items now.
Should have everything setup tomorrow to start compilling
Click to expand...
Click to collapse
Seems like you already know how
Edit: After further discussion we have decided to re-open this thread.
For now, lets leave it in general, once some development has been done we can talk about moving it back to development
Just wanted to say thank you for XDA for allowing us to start work in FROST.
I'm currently discussing FROST with a few other XDA'ers who are also interested in helping me out and getting this developed.
Once I know more (hopefully this evening) I will post an update.
Again thanks XDA for allowing this to be done
So u got the thread up, Awesome. Shoot me a pm when ya ready...
Welcome to your new home FROST
I'd like to help as well
I've got Eclipse/ADT set up ready to use for a couple of App ideas I've got. If it's just compiling Android code, I''m happy to help.
I've just finished a degree in Computer Security & Forensics (2:1) with a dissertation on Android security & security awareness. Prior to that I'v been a Systems Analyst and developer for a number of years (Mainframe/Unix/Microsoft). so although I'm fairly new to Android, I know my way roind an IDE or terminal editor and I'm not afraid to get my hands dirty woth code.
Nice to hear man, and looking forward to getting started.
Ive had a few issues with my pc and have got most of it sorted now. So of all goes well i will be able to start work after many delays
And I could definitely use you help if you can man
Sent from my HTC One using xda app-developers app
lol, just have seen this.
The link to the University of Erlangen has some pretty neat resources, but I currently have no android phone to try making such a recovery image for.
For the case of (hopefully) your own phone you are trying to get the /data back: This software relies on the device having been unlocked not long ago. If the device was not unlocked for a week or so, you have no real chance of the keys being still in ram.
If you have a weak PIN, its bruteforce feature might work, if you have a strong one it may take very long. I'd recommend you to make a bit level image of the /data partition just in case (type man dd in your commandline in linux, the dd tool should also be in phone recoveries). And possibly try to encrypt it on your desktop that propably gets it done faster. Also you do not need to make a device specific recovery and you dont need to cross compile.
Also this: http://www1.cs.fau.de/filepool/projects/frost/frost.crackpin.tgz
might just work. Read through the README file in the archive, its straightforward.
thx good thing to konw
There's a reason they freeze the phone. If you hope to recover the keys from a phone that is powered off for anything like 5 mins or more forget it :/ . (The time really depends on the memory chips)
Sent from my GT-I9505 using xda app-developers app
darks1der said:
It looks fairly simple to compile it, only I have never compiled any kernel .img before.?
Click to expand...
Click to collapse
Is thia project still being worked on, @darks1der? It looks promising!
Hey the project is being worked on however it is going slower that expected due to alot of personal issue's.
I hope to have everything resolved ASAP so I can devote my self to FROST
darks1der said:
Hey the project is being worked on however it is going slower that expected due to alot of personal issue's.
I hope to have everything resolved ASAP so I can devote my self to FROST
Click to expand...
Click to collapse
Will FROST be able to recover deleted files from the phones internal storage? I'll send strength your way so that you'll get your life to awesomeness again.
FROST only works if your bootloader is unlocked. Since unlocking your bootloader wipes data you're screwed (unless there's some hack to prevent this for your device bootloader). Image the phone or copy the encryption header and try to brute force/dictionary attack your own password key as much as you want without worrying about data being wiped. Download Kali Linux live CD maybe it has some Android forensics tools I think it does. If not google around for 'android brute force encryption' somebody will have tools to do this.