Open depau opened 10 years ago
i would be happy to work on this if someone can get me oriented in the codebase.
Androguide wrote a edify to bash parser that could flash zips directly from within android. Might be a good start. @faddat
@faddat and @alp1ne - The edify to bash parser is not really what the author says it is, but it can be fixed (I'm going to fork it if the author shows some interest).
This actually wouldn't be too difficult to accomplish, seeing as how ROMs aren't stored in .img formats like other multiboot solutions. We could also possibly achieve flashing ZIPs to secondary ROMs while booted into primary.
Yeah. You just need to make sure stuff is not flashed to actual block devices (when the update-script flashes an image) and that the developer didn't use a custom update-binary, like in the SuperSU installer, where it has been replaced by a shell script to allow more advanced operations, or like in the Aroma based installers, which are definitely not compatible with Android. In this cases it should say "This zip has to be flashed through recovery. Click "reboot to recovery" to install it now."
Hi guys sorry for my delayed reply. I have been working on some hardware to go with your awesome code. I had actually meant something maybe easier: integrate a BITTORRENT +webseeds download RSS client into the app so that it can download from a library of ROMs., and then the app can be used as normal (twrp script) to do the actual downloading. If a buildbot would be needed, just say the word. Sent using CloudMagic On Fri, Sep 19, 2014 at 10:44 PM, Davide Depau notifications@github.com wrote:Yeah. You just need to make sure stuff is not flashed to actual block devices (when the update-script flashes an image) and that the developer didn't use a custom update-binary, like in the SuperSU installer, where it has been replaced by a shell script to allow more advanced operations, or like in the Aroma based installers, which are definitely not compatible with Android. In this cases it should say "This zip has to be flashed through recovery. Click "reboot to recovery" to install it now."
—Reply to this email directly or view it on GitHub.
Interesting @faddat, I'd be happy to help you on the ROM repository and p2p distribution of it. Is there a more appropriate way than RSS to discover the bittorrent metalinks? I don't know much about RSS feeds to be honest, but I'm thinking the functionality is similar to apt-get. I'm keen on this.
Don't you think this bittorrent thing is a little bit too complicated and not suitable for all user needs? Bittorrent also means upload, and I'm telling you, nobody is going to seed the roms with their phones. Nobody wants an app running all the time and nobody wants their mobile bandwidth gone (when using metered connections). A little server with some mirrors would be much better. TuxFamily offers web hosting for open-source projects, and particularly they offer a file repository for each project with a 1GB quota by default, increasable if needed for free, if they think it's reasonable. Canonical offers the same kind of repository for all certified Ubuntu contributors. Other companies do the same (e.g. up everything to a GitHub repo). You put some sort of CGI script in TuxFamily's web hosting that picks a mirror and uploads the file and you're done. I can take care of that as long as somebody else uploads the big files as I use a metered connection.
The remote CGI script can also be set to help you pick multiple mirrors and download parts of the file from all of them at the same time (like axel does).
I'm going to reveal a little bit, not sure why Dan wanted to conceal "faddat" (I'm Jake, he's dan) but I don't think he'll mind. He and I live in China. If you live in China, half of the mirrors do not work, and half of the trackers dont work either. If you ahve both you have a small chance of getting a DL at a reasonable speed, hence metalinks. I can't tell you how many times I had to restart the ubuntu download before getting it through. Actually I am starting to think that the only way for non-chinese to get an app used in China these days will be to include a china compatiblity layer (read: some sort of obfuscatrion) like Viber does. I am starting to think that think that software like what I described for obfuscation and metalinks is the morally right thing for the world to do. We can't let 1.4 billion be left out of the global Internet party!
Love Multirom! -Jake
Jacob Gadikian E-mail: faddat@gmail.com SKYPE: faddat Phone/SMS: +86 186-2612-6079
On Thu, Sep 25, 2014 at 12:56 AM, Davide Depau notifications@github.com wrote:
Don't you think this bittorrent thing is a little bit too complicated and not suitable for all user needs? Bittorrent also means upload, and I'm telling you, nobody is going to seed the roms with their phones. Nobody wants an app running all the time and nobody wants their mobile bandwidth gone (when using metered connections). A little server with some mirrors would be much better. TuxFamily offers web hosting for open-source projects, and particularly they offer a file repository for each project with a 1GB quota by default, increasable if needed for free, if they think it's reasonable. Canonical offers the same kind of repository for all certified Ubuntu contributors. Other companies do the same (e.g. up everything to a GitHub repo). You put some sort of CGI script in TuxFamily's web hosting that picks a mirror and uploads the file and you're done. I can take care of that as long as somebody else uploads the big files as I use a metered connection.
The remote CGI script can also be set to help you pick multiple mirrors and download parts of the file from all of them at the same time (like axel does).
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-56702183.
Torrents have a bad image because they are widely used for piracy. They are actually quite awesome as a tool for distribution, obviously. It grows in security, distribution, and speed with the amount of seeders.
Here's my questions on free file hosting, never done it before, so tell me what im wrong about:
torrent integration is not too hard. I've already been able to port the libtorrent from popcorntime. and added an RSS feed reader (rss? yes no? no idea).
I googled around for rom repositories and didn't come up with anything that looks good. I think this is due to poor marketting + percieved effort vs reward and so they are empty and grow old.
I am new to the community, but I want to remove barriers that slow down innovation. One huge barrier is the learning curve paired with scattered roms and instructions. ROMs are spread across forums and websites and different file hosting platforms.
If more people get inspired by checking out a few roms, more people are motivated to contribute.
Mind you, torrents have trouble inside of China too...
We do need to mitigate the 'accidentally pwn ur dataplan' factor. Add a (downloading/seeding) status icon and an only use wifi checkbox.
That should more than suffice for paranoid
I wonder if torrent health will be an issue on pure mobile devices...
It's outside the norm for software repos for sure... I guess people don't like uploading. But p2p is the future. For instance, MaidSafe is going to pay people to serve data in a distributed fashion.
Wel, that's the briliance behind metlink-- it lets everyne be hapy while enuring incdible download speeds
Jacob Gadikian E-mail: faddat@gmail.com SKYPE: faddat Phone/SMS: +86 186-2612-6079
On Thu, Sep 25, 2014 at 5:56 PM, Daniel Sont notifications@github.com wrote:
We do need to mitigate the 'accidentally pwn ur dataplan' factor. Add a (downloading/seeding) status icon and an only use wifi checkbox.
That should more than suffice for paranoid
I wonder if torrent health will be an issue on pure mobile devices...
It's outside the norm for software repos for sure... I guess people don't like uploading. But p2p is the future. For instance, MaidSafe is going to pay people to serve data in a distributed fashion.
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-56797540.
Before you start getting too exicited - this won't go into MultiROM Manager. Making a ROM repository is not what the app is for and doing so would require massive amount of work to keep everything up to date. You're not the first one to have the idea and definitely not the last one, but it won't fly - just look at goo.im and how that one worked out.
Of course, you are free to do whatever you want, but I won't merge anything like what you propose into MultiROM Manager.
That's alright man. Is it okay with you that we use your code as a base? Thanks! -Jake Sent using CloudMagic On Thu, Sep 25, 2014 at 8:12 PM, Vojtěch Boček notifications@github.com wrote:Before you start getting too exicited - this won't go into MultiROM Manager. Making a ROM repository is not what the app is for and doing so would require massive amount of work to keep everything up to date. You're not the first one to have the idea and definitely not the last one, but it won't fly - just look at goo.im and how that one worked out.
Of course, you are free to do whatever you want, but I won't merge anything like what you propose into MultiROM Manager.
—Reply to this email directly or view it on GitHub.
Seeing as we are indeed attempting something like that, can you tell me how long it takes to build an android from source these days? Sent using CloudMagic On Thu, Sep 25, 2014 at 10:09 PM, Jacob Gadikian faddat@gmail.com wrote:That's alright man. Is it okay with you that we use your code as a base? Thanks! -Jake Sent using CloudMagic On Thu, Sep 25, 2014 at 8:12 PM, Vojtěch Boček notifications@github.com wrote:Before you start getting too exicited - this won't go into MultiROM Manager. Making a ROM repository is not what the app is for and doing so would require massive amount of work to keep everything up to date. You're not the first one to have the idea and definitely not the last one, but it won't fly - just look at goo.im and how that one worked out.
Of course, you are free to do whatever you want, but I won't merge anything like what you propose into MultiROM Manager.
—Reply to this email directly or view it on GitHub.
@faddat From the AOSP Source? A minute, tops. Using Eclipse on Windows, a few seconds.
Ok I get it now. You can make another app, it shouldn't be hard; it detects the hardware, it downloads the correct rom and it reboots to recovery to install it. I'm not going to help you with this though. All I can do is help you with the server if you need it.
Cool man! We really appreciate your help, no matter what form it takes: we wouldn't have had this idea if it weren't for you! -Jake Sent using CloudMagic On Sat, Sep 27, 2014 at 9:22 PM, Davide Depau notifications@github.com wrote:Ok I get it now. You can make another app, it shouldn't be hard; it detects the hardware, it downloads the correct rom and it reboots to recovery to install it. I'm not going to help you with this though. All I can do is help you with the server if you need it.
—Reply to this email directly or view it on GitHub.
Hi,
I'd like to add you to my professional network on LinkedIn.
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=sPoJpmtHsn5UcSAJrz8VqPoQfmhFpioMqj9vnS99cmZCoCVjsBkJrSJVi4hlsSYVhP0QgARPgk52imlpenhnsD1BujdCdSZod5tNentgrCJxsP8VqQhMiQtDkQt6nSF7ij1aq6pIlQxmqPpgc6lGlkMUiQByu4lcdnBBsj8OhDpLlzdGs5hvdQVeu5lLcnxhkkhchSRSjBYPcjkOck9LcPljd6ZLpn5Mlk51gmtngk8TpBdvdT9RhB51fmhFrSMCt7dBtmtvpnhFtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9DcSbmlDqT5Nu3dFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead= Learn why we included this at the following link: https://www.linkedin.com/blink?simpleRedirect=e3wTd3RAimlIoSBQsC4Ct7dBtmtvpnhFtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9DcSbmlDqT5Nu3dFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead= © 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
Daniel Sont would like to connect on LinkedIn. How would you like to respond?
View Daniel Sont's profile: https://www.linkedin.com/blink?simpleRedirect=ej5vs7xBnTpKqjRHpipOpmhKqmRBsyRQs6lzoS4JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9DpMrzRQ9D0Rbj1Fe7gMcjhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead=
You are receiving Reminder emails for pending invitations. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=rmZzhj8BoDlEt6BDhj8BumNMpn8Md2kRcz0Od34TbjwNczhxcSgNd3sRomgUpm4NpzoRd35Be6kRpmlzcCoOc3sPomcUcSgJdP4Mdj0Mej8Jqk8O9nBIs6lOfmNFomRB9z0Sc30OfmhF9z0Sdj0TdP8Rdj0PcjgQcz8RejkZp6BD9zANnT1UplZSrCAZqSkCoDlPrDkJpyRzoClJnSRJrScJr6RBfmtKqmJzon9Q9CZLpPRQ9D0Rbj1Fe7gMcjhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead=
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=1MdiQMqjxQc34QqiRKczBHdzgZp6BB9Ctlt59ElQ8Re4pnc3dHmjxRmlpVuzx6qARymmBmimUOtRFji4N6nSZIiQ5ckQhhs6dgpOR6bmRxoSxTdAxkkORllkh5onxvhP18d31fi6cRpTETjRhgdCpKcn8ScmhRoRoSgjBkrRlFpSd5s6xqiA9EtT1ijTF7hShnj6x9pSpQejxkomdzs55WsmN4lAJkcD1lgk51gktyoQJhmCVTcQl6kk4Zp6BLr2oVclZMu6lvtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9D0Rbj1Fe7gMcjhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead= Learn why we included this at the following link: https://www.linkedin.com/blink?simpleRedirect=0Ue3sQfmh9pmNzqnhOoioVclZMu6lvtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9D0Rbj1Fe7gMcjhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead= © 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
Daniel Sont would like to connect on LinkedIn. How would you like to respond?
View Daniel Sont's profile: https://www.linkedin.com/blink?simpleRedirect=ej5vs7xBnTpKqjRHpipOpmhKqmRBsyRQs6lzoS4JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9DpMrzRQ9CUPbmtMu6RLoPhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead=
You are receiving Reminder emails for pending invitations. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=rmZzhj8BoDlEt6BDhj8BumNMpn8Md2kRcz0Od34TbjwNczhxcSgNd3sRomgUpm4NpzoRd35Be6kRpmlzcCoOc3sPomcUcSgJdP4Mdj0Mej8Jqk8O9nBIs6lOfmNFomRB9z0Sc30OfmhF9z0Sdj0TdP8Rdj0PcjgQcz8RejkZp6BD9zANnT1UplZSrCAZqSkCoDlPrDkJpyRzoClJnSRJrScJr6RBfmtKqmJzon9Q9CZLpPRQ9CUPbmtMu6RLoPhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead=
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=1KcORDs7xJrScQqiRKczBHdzgZp6BB9ARah4MQkQtMekxVtShcoAsRdQZBcn4MoSFRnRhEjAlnk512sStCt4Bor4VLgRl3pyRjuyR1jmoTgTd8sQ5Ni45DjRxxkzxpk5Bkonh4j7BEcSUTintNj4V4dkB2e4BLklcVmARmjRxmjlZRsDpxdQRil4Vve7x2uld5p4Bdjl9TcABls6NidzdCm3dThRZlpT5lgk51kl9FiQRKnSEMm4Z7kk4Zp6BLr2oVclZMu6lvtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9CUPbmtMu6RLoPhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead= Learn why we included this at the following link: https://www.linkedin.com/blink?simpleRedirect=0Ue3sQfmh9pmNzqnhOoioVclZMu6lvtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9CUPbmtMu6RLoPhFbmUOemISd3RBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5952244155223674882_500&markAsRead= © 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA
Has any progress been made, at all?
Kyle,
I'll be extremely frank, not really. I drastically overestimated the work that 2 people can do. That said, I know that dan has integrated libtorrent. It's not much, but it's a start-- if you'd like to get the code / talk about what you'd like to do, please do get ahold of me:
faddat (skype) faddat@gmail.com (hangouts)
That said, this is a project I very much want to revive from our back burner.
Best,
-Jake
On Thu Jan 01 2015 at 5:20:11 AM Kyle Huggins notifications@github.com wrote:
Has any progress been made, at all?
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-68472404.
We thought through what would be a positive impact on the community, and here is what we thought.
A good parallel problem that has been solved is things like apt-get, yaourt, etc. MultiROM Gateway Objective: Gather the community. Create greater progress through community empowerment
Server to host the ROMs
Minimum Repository Server (node.js API)
Domain: get one.
MultiROM Gateway App
Notes
Future
On Thu, Jan 1, 2015 at 5:23 AM, Jacob Gadikian notifications@github.com wrote:
Kyle,
I'll be extremely frank, not really. I drastically overestimated the work that 2 people can do. That said, I know that dan has integrated libtorrent. It's not much, but it's a start-- if you'd like to get the code / talk about what you'd like to do, please do get ahold of me:
faddat (skype) faddat@gmail.com (hangouts)
That said, this is a project I very much want to revive from our back burner.
Best,
-Jake
On Thu Jan 01 2015 at 5:20:11 AM Kyle Huggins notifications@github.com wrote:
Has any progress been made, at all?
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-68472404.
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-68472530.
Okay, sounds great. Does MultiROM Gateway have a basic, tangible app put together yet?
Just the outline. Do you think think engaging the community should proceed spending time developing it. or is it sortof a chicken and egg problem?
On Fri, Jan 2, 2015 at 6:40 AM, Kyle Huggins notifications@github.com wrote:
Okay, sounds great. Does MultiROM Gateway have a basic, tangible app put together yet?
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-68502464.
Let's put it another way:
Dan and I were (are still)
Working on an open hardware + open software phone, tablet, and mini pc. There have been some fairly painful delays, and we had to make an international move to keep our project alive(we had been living in China but great firewall iteration of September really made that more or less impossible, and we moved to Vietnam). We wanted to make these modifications to Multirom so that we could show off one of the main features of an open device-- user choice in regard to software. We're still committed to the project with regard to open devices, but are going to need to take care of our dwindled to hell money pile before we can get a move on again.
That said, I have some great news out of China: the open mini PC cometh. It may not be a speed demon, but it'll be ours, and that'll rock.
Best, -Jake
(And once we begin to sell that, we will be free to work on things like this)
On Fri, Jan 2, 2015, 9:56 AM Jacob Gadikian faddat@gmail.com wrote:
Let's put it another way:
Dan and I were (are still)
Working on an open hardware + open software phone, tablet, and mini pc. There have been some fairly painful delays, and we had to make an international move to keep our project alive(we had been living in China but great firewall iteration of September really made that more or less impossible, and we moved to Vietnam). We wanted to make these modifications to Multirom so that we could show off one of the main features of an open device-- user choice in regard to software. We're still committed to the project with regard to open devices, but are going to need to take care of our dwindled to hell money pile before we can get a move on again.
That said, I have some great news out of China: the open mini PC cometh. It may not be a speed demon, but it'll be ours, and that'll rock.
Best, -Jake
Awesome concept. Does the code live on GitHub? If the community has interest, by all means we should invite others to contribute. Even a twentieth of XDA making pull requests to ROM Gateway would be faster than just us working on it. Also, I think the app should be usable by anyone and not limit it to MultiROM users, but things should be in place to allow the user to make use of secondary ROM slots and such.
Hey, yes start something
On Tue, Jan 6, 2015, 9:12 AM Kyle Huggins notifications@github.com wrote:
Awesome concept. Does the code live on GitHub? If the community has interest, by all means we should invite others to contribute. Even a tenth of XDA making pull requests to ROM Gateway would be faster than just us working on it. Also, I think the app should be usable by anyone and not limit it to MultiROM users, but things should be in place to allow the user to make use of secondary ROM slots and such.
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-68816237.
whoops, I meant "Let's start something"
Actually, I think multirom, though useful, should not be a part of the ROM repository. ROMs can be flashed straight onto hardware, and are generally used that way. multirom is a tool that helps manage multi-booting on certain devices.
multi-rom being tightly integrated would take away the users who could benifit and contribute, but we can certainly make an integration.
Hey Kyle, we should in a chat somewhere, and chat through it.
I use hangouts, and skype the most gmail: dan.sont@gmail.com skype: dan.sont
On Tue, Jan 6, 2015 at 10:18 AM, Daniel Sont dan.sont@gmail.com wrote:
Hey, yes start something
On Tue, Jan 6, 2015, 9:12 AM Kyle Huggins notifications@github.com wrote:
Awesome concept. Does the code live on GitHub? If the community has interest, by all means we should invite others to contribute. Even a tenth of XDA making pull requests to ROM Gateway would be faster than just us working on it. Also, I think the app should be usable by anyone and not limit it to MultiROM users, but things should be in place to allow the user to make use of secondary ROM slots and such.
— Reply to this email directly or view it on GitHub https://github.com/Tasssadar/multirom/issues/14#issuecomment-68816237.
Android ROMs are simple zip archives with a script that tells what to do. It shouldn't be too hard to implement an interpreter that reads the commands in that file and does appropriate actions, considering the fact that it's not running on recovery. It should also be able to install on USB drives.